Table Placement IssueSideways table placement gets deferred more than expectedSetting placement of a table in...
How do ISS astronauts "get their stripes"?
Is there a frame of reference in which I was born before I was conceived?
Using std::set container for range items
Hacker Rank: Array left rotation
Pure Functions: Does "No Side Effects" Imply "Always Same Output, Given Same Input"?
How to deny access to SQL Server to certain login over SSMS, but allow over .Net SqlClient Data Provider
Giving a talk in my old university, how prominently should I tell students my salary?
Canadian citizen, on US no-fly list. What can I do in order to be allowed on flights which go through US airspace?
How can I handle a player who pre-plans arguments about my rulings on RAW?
Perpetuum Mobile: Where did I think wrong?
Non-Italian European mafias in USA?
Magento2 : How to add custom link in footer inside newsletter block?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
What happened to QGIS 2.x
How can atoms be electrically neutral when there is a difference in the positions of the charges?
Six real numbers so that product of any five is the sixth one
Skis versus snow shoes - when to choose which for travelling the backcountry?
Is divide-by-zero a security vulnerability?
Sometimes a banana is just a banana
Inverse of the covariance matrix of a multivariate normal distribution
Are paired adjectives bad style?
What am I? I am in theaters and computer programs
Make me a metasequence
How to lift/raise/repair a segment of concrete slab?
Table Placement Issue
Sideways table placement gets deferred more than expectedSetting placement of a table in inchescontrol figure & table placement - specific caseissue with subsubheading with nested syntaxWrong table placementApostrophe placement issueIssue with placement of figure using wrapfig environmentTable width issueList of Tables counter and placement issuePlacement of contents within table
I am using a template I found and it usually gives me no problems, but I am having an issue with table placement. I am trying to print four tables on the last page of my document, but the fourth one keeps moving to another page even though there is plenty of room for it on the page prior. How can I fix this?
(A few comments- apologies in advance for the formatting- couldn't figure out how to block paste text so the indentations are messed up. Also, I know there are a lot of extras that I don't need for what is included here, but there is nothing I would like to remove from the code at this time.)
Thanks in advance!
documentclass[11pt, a4paper]{article}
usepackage[inner=2cm,outer=2cm,top=2.5cm,bottom=2.5cm]{geometry}
pagestyle{empty}
usepackage{graphicx}
usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
usepackage[usenames,dvipsnames]{color}
definecolor{darkblue}{rgb}{0,0,.6}
definecolor{darkred}{rgb}{.7,0,0}
definecolor{darkgreen}{rgb}{0,.6,0}
definecolor{red}{rgb}{.98,0,0}
usepackage[colorlinks,pagebackref,pdfusetitle,urlcolor=darkblue,citecolor=darkblue,linkcolor=darkred,bookmarksnumbered,plainpages=false]{hyperref}
renewcommand{thefootnote}{fnsymbol{footnote}}
pagestyle{fancyplain}
fancyhf{}
lhead{ fancyplain{}{MAT 135} }
rhead{ fancyplain{}{March 5, 2019} }
thispagestyle{plain}
usepackage{listings}
usepackage{caption}
DeclareCaptionFont{white}{color{white}}
DeclareCaptionFormat{listing}{colorbox{gray}{parbox{textwidth}{#1#2#3}}}
captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
usepackage{verbatim}
usepackage{fancyvrb}
usepackage{acronym}
usepackage{hyperref}
usepackage{amsthm}
usepackage{amsfonts}
usepackage{array}
usepackage{multicol}
VerbatimFootnotes
definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
definecolor{lightlightgray}{gray}{0.93}
lstset{
basicstyle=ttfamily,
keywordstyle=color{OliveGreen},
commentstyle=color{gray},
numbers=left,
numberstyle=tiny,
stepnumber=1,
numbersep=5pt,
backgroundcolor=color{lightlightgray},
frame=none,
tabsize=2,
captionpos=t,
breaklines=true,
breakatwhitespace=false,
showspaces=false,
showtabs=false,
columns=flexible,
morekeywords={__global__, __device__},
}
begin{document}
begin{center}
{Large{Sections 4.2 and 4.3 Questions}}
end{center}
begin{center}
March 5, 2019
end{center}
vspace{5mm}
noindent 1. Consider the functions $f(x)=x^2$ and $g(x)=sqrt{x}$ on the interval $(0,infty)$. Compare their slopes.
vspace{5mm}
noindent 2. Define concave upward and concave downward.
vspace{5mm}
newpage
begin{table}[h]
begin{center
begin{tabular}{|c|c|c|c|}
hline
textbf{f''(x)} & - & 0 & +\
hline
textbf{f'(x)} & decreasing & horizontal tangent & increasing\
hline
textbf{f(x)} & concave down & inflection point & concave up\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
begin{tabular}{|c|c|c|c|}
hline
textbf{f'(x)} & - & 0 & +\
hline
textbf{f(x)} & decreasing & horizontal tangent & increasing\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Identifying Inflection Points of $f$ Based on The Sign of $f''$}
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & inflection point\
hline
- & & - & not an inflection point\
hline
+ & & - & inflection point\
hline
+ & & + & not an inflection point\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & local minimum\
hline
- & & - & not local extremum\
hline
+ & & - & local maximum\
hline
+ & & + & not local extremum\
hline
end{tabular}
end{center}
end{table}
end{document}
tables positioning article
add a comment |
I am using a template I found and it usually gives me no problems, but I am having an issue with table placement. I am trying to print four tables on the last page of my document, but the fourth one keeps moving to another page even though there is plenty of room for it on the page prior. How can I fix this?
(A few comments- apologies in advance for the formatting- couldn't figure out how to block paste text so the indentations are messed up. Also, I know there are a lot of extras that I don't need for what is included here, but there is nothing I would like to remove from the code at this time.)
Thanks in advance!
documentclass[11pt, a4paper]{article}
usepackage[inner=2cm,outer=2cm,top=2.5cm,bottom=2.5cm]{geometry}
pagestyle{empty}
usepackage{graphicx}
usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
usepackage[usenames,dvipsnames]{color}
definecolor{darkblue}{rgb}{0,0,.6}
definecolor{darkred}{rgb}{.7,0,0}
definecolor{darkgreen}{rgb}{0,.6,0}
definecolor{red}{rgb}{.98,0,0}
usepackage[colorlinks,pagebackref,pdfusetitle,urlcolor=darkblue,citecolor=darkblue,linkcolor=darkred,bookmarksnumbered,plainpages=false]{hyperref}
renewcommand{thefootnote}{fnsymbol{footnote}}
pagestyle{fancyplain}
fancyhf{}
lhead{ fancyplain{}{MAT 135} }
rhead{ fancyplain{}{March 5, 2019} }
thispagestyle{plain}
usepackage{listings}
usepackage{caption}
DeclareCaptionFont{white}{color{white}}
DeclareCaptionFormat{listing}{colorbox{gray}{parbox{textwidth}{#1#2#3}}}
captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
usepackage{verbatim}
usepackage{fancyvrb}
usepackage{acronym}
usepackage{hyperref}
usepackage{amsthm}
usepackage{amsfonts}
usepackage{array}
usepackage{multicol}
VerbatimFootnotes
definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
definecolor{lightlightgray}{gray}{0.93}
lstset{
basicstyle=ttfamily,
keywordstyle=color{OliveGreen},
commentstyle=color{gray},
numbers=left,
numberstyle=tiny,
stepnumber=1,
numbersep=5pt,
backgroundcolor=color{lightlightgray},
frame=none,
tabsize=2,
captionpos=t,
breaklines=true,
breakatwhitespace=false,
showspaces=false,
showtabs=false,
columns=flexible,
morekeywords={__global__, __device__},
}
begin{document}
begin{center}
{Large{Sections 4.2 and 4.3 Questions}}
end{center}
begin{center}
March 5, 2019
end{center}
vspace{5mm}
noindent 1. Consider the functions $f(x)=x^2$ and $g(x)=sqrt{x}$ on the interval $(0,infty)$. Compare their slopes.
vspace{5mm}
noindent 2. Define concave upward and concave downward.
vspace{5mm}
newpage
begin{table}[h]
begin{center
begin{tabular}{|c|c|c|c|}
hline
textbf{f''(x)} & - & 0 & +\
hline
textbf{f'(x)} & decreasing & horizontal tangent & increasing\
hline
textbf{f(x)} & concave down & inflection point & concave up\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
begin{tabular}{|c|c|c|c|}
hline
textbf{f'(x)} & - & 0 & +\
hline
textbf{f(x)} & decreasing & horizontal tangent & increasing\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Identifying Inflection Points of $f$ Based on The Sign of $f''$}
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & inflection point\
hline
- & & - & not an inflection point\
hline
+ & & - & inflection point\
hline
+ & & + & not an inflection point\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & local minimum\
hline
- & & - & not local extremum\
hline
+ & & - & local maximum\
hline
+ & & + & not local extremum\
hline
end{tabular}
end{center}
end{table}
end{document}
tables positioning article
add a comment |
I am using a template I found and it usually gives me no problems, but I am having an issue with table placement. I am trying to print four tables on the last page of my document, but the fourth one keeps moving to another page even though there is plenty of room for it on the page prior. How can I fix this?
(A few comments- apologies in advance for the formatting- couldn't figure out how to block paste text so the indentations are messed up. Also, I know there are a lot of extras that I don't need for what is included here, but there is nothing I would like to remove from the code at this time.)
Thanks in advance!
documentclass[11pt, a4paper]{article}
usepackage[inner=2cm,outer=2cm,top=2.5cm,bottom=2.5cm]{geometry}
pagestyle{empty}
usepackage{graphicx}
usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
usepackage[usenames,dvipsnames]{color}
definecolor{darkblue}{rgb}{0,0,.6}
definecolor{darkred}{rgb}{.7,0,0}
definecolor{darkgreen}{rgb}{0,.6,0}
definecolor{red}{rgb}{.98,0,0}
usepackage[colorlinks,pagebackref,pdfusetitle,urlcolor=darkblue,citecolor=darkblue,linkcolor=darkred,bookmarksnumbered,plainpages=false]{hyperref}
renewcommand{thefootnote}{fnsymbol{footnote}}
pagestyle{fancyplain}
fancyhf{}
lhead{ fancyplain{}{MAT 135} }
rhead{ fancyplain{}{March 5, 2019} }
thispagestyle{plain}
usepackage{listings}
usepackage{caption}
DeclareCaptionFont{white}{color{white}}
DeclareCaptionFormat{listing}{colorbox{gray}{parbox{textwidth}{#1#2#3}}}
captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
usepackage{verbatim}
usepackage{fancyvrb}
usepackage{acronym}
usepackage{hyperref}
usepackage{amsthm}
usepackage{amsfonts}
usepackage{array}
usepackage{multicol}
VerbatimFootnotes
definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
definecolor{lightlightgray}{gray}{0.93}
lstset{
basicstyle=ttfamily,
keywordstyle=color{OliveGreen},
commentstyle=color{gray},
numbers=left,
numberstyle=tiny,
stepnumber=1,
numbersep=5pt,
backgroundcolor=color{lightlightgray},
frame=none,
tabsize=2,
captionpos=t,
breaklines=true,
breakatwhitespace=false,
showspaces=false,
showtabs=false,
columns=flexible,
morekeywords={__global__, __device__},
}
begin{document}
begin{center}
{Large{Sections 4.2 and 4.3 Questions}}
end{center}
begin{center}
March 5, 2019
end{center}
vspace{5mm}
noindent 1. Consider the functions $f(x)=x^2$ and $g(x)=sqrt{x}$ on the interval $(0,infty)$. Compare their slopes.
vspace{5mm}
noindent 2. Define concave upward and concave downward.
vspace{5mm}
newpage
begin{table}[h]
begin{center
begin{tabular}{|c|c|c|c|}
hline
textbf{f''(x)} & - & 0 & +\
hline
textbf{f'(x)} & decreasing & horizontal tangent & increasing\
hline
textbf{f(x)} & concave down & inflection point & concave up\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
begin{tabular}{|c|c|c|c|}
hline
textbf{f'(x)} & - & 0 & +\
hline
textbf{f(x)} & decreasing & horizontal tangent & increasing\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Identifying Inflection Points of $f$ Based on The Sign of $f''$}
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & inflection point\
hline
- & & - & not an inflection point\
hline
+ & & - & inflection point\
hline
+ & & + & not an inflection point\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & local minimum\
hline
- & & - & not local extremum\
hline
+ & & - & local maximum\
hline
+ & & + & not local extremum\
hline
end{tabular}
end{center}
end{table}
end{document}
tables positioning article
I am using a template I found and it usually gives me no problems, but I am having an issue with table placement. I am trying to print four tables on the last page of my document, but the fourth one keeps moving to another page even though there is plenty of room for it on the page prior. How can I fix this?
(A few comments- apologies in advance for the formatting- couldn't figure out how to block paste text so the indentations are messed up. Also, I know there are a lot of extras that I don't need for what is included here, but there is nothing I would like to remove from the code at this time.)
Thanks in advance!
documentclass[11pt, a4paper]{article}
usepackage[inner=2cm,outer=2cm,top=2.5cm,bottom=2.5cm]{geometry}
pagestyle{empty}
usepackage{graphicx}
usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
usepackage[usenames,dvipsnames]{color}
definecolor{darkblue}{rgb}{0,0,.6}
definecolor{darkred}{rgb}{.7,0,0}
definecolor{darkgreen}{rgb}{0,.6,0}
definecolor{red}{rgb}{.98,0,0}
usepackage[colorlinks,pagebackref,pdfusetitle,urlcolor=darkblue,citecolor=darkblue,linkcolor=darkred,bookmarksnumbered,plainpages=false]{hyperref}
renewcommand{thefootnote}{fnsymbol{footnote}}
pagestyle{fancyplain}
fancyhf{}
lhead{ fancyplain{}{MAT 135} }
rhead{ fancyplain{}{March 5, 2019} }
thispagestyle{plain}
usepackage{listings}
usepackage{caption}
DeclareCaptionFont{white}{color{white}}
DeclareCaptionFormat{listing}{colorbox{gray}{parbox{textwidth}{#1#2#3}}}
captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
usepackage{verbatim}
usepackage{fancyvrb}
usepackage{acronym}
usepackage{hyperref}
usepackage{amsthm}
usepackage{amsfonts}
usepackage{array}
usepackage{multicol}
VerbatimFootnotes
definecolor{OliveGreen}{cmyk}{0.64,0,0.95,0.40}
definecolor{CadetBlue}{cmyk}{0.62,0.57,0.23,0}
definecolor{lightlightgray}{gray}{0.93}
lstset{
basicstyle=ttfamily,
keywordstyle=color{OliveGreen},
commentstyle=color{gray},
numbers=left,
numberstyle=tiny,
stepnumber=1,
numbersep=5pt,
backgroundcolor=color{lightlightgray},
frame=none,
tabsize=2,
captionpos=t,
breaklines=true,
breakatwhitespace=false,
showspaces=false,
showtabs=false,
columns=flexible,
morekeywords={__global__, __device__},
}
begin{document}
begin{center}
{Large{Sections 4.2 and 4.3 Questions}}
end{center}
begin{center}
March 5, 2019
end{center}
vspace{5mm}
noindent 1. Consider the functions $f(x)=x^2$ and $g(x)=sqrt{x}$ on the interval $(0,infty)$. Compare their slopes.
vspace{5mm}
noindent 2. Define concave upward and concave downward.
vspace{5mm}
newpage
begin{table}[h]
begin{center
begin{tabular}{|c|c|c|c|}
hline
textbf{f''(x)} & - & 0 & +\
hline
textbf{f'(x)} & decreasing & horizontal tangent & increasing\
hline
textbf{f(x)} & concave down & inflection point & concave up\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
begin{tabular}{|c|c|c|c|}
hline
textbf{f'(x)} & - & 0 & +\
hline
textbf{f(x)} & decreasing & horizontal tangent & increasing\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Identifying Inflection Points of $f$ Based on The Sign of $f''$}
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & inflection point\
hline
- & & - & not an inflection point\
hline
+ & & - & inflection point\
hline
+ & & + & not an inflection point\
hline
end{tabular}
end{center}
end{table}
begin{table}[h]
begin{center}
caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$
begin{tabular}{|c|c|c|c|}
hline
& c & & \
hline
- & & + & local minimum\
hline
- & & - & not local extremum\
hline
+ & & - & local maximum\
hline
+ & & + & not local extremum\
hline
end{tabular}
end{center}
end{table}
end{document}
tables positioning article
tables positioning article
edited 22 hours ago
Bernard
172k776204
172k776204
asked 22 hours ago
MathStudent1324MathStudent1324
1183
1183
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The immediate cause of the issue you describe is that you have four table environments, while the article document class by default only allows up to three such environments to be placed on a single page. That's why the fourth table gets pushed to the next page.
One way to solve this issue is to issue the instructions
setcounter{totalnumber}{4}
setcounter{topnumber}{4}
setcounter{bottomnumber}{4}
in the preamble. Of course, if you find yourself needing to place 7 (presumably very small, right?) table environments on a single page, you should change the above to
setcounter{totalnumber}{7}
setcounter{topnumber}{7}
setcounter{bottomnumber}{7}
Incidentally, I can't help but remark that the overall quality of your LaTeX is far from perfect. For sure, the code contains two syntax errors -- begin{center and caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$; can you spot the missing curly braces? -- which must be fixed before the document can be compiled. And writing textbf{f''(x)}, textbf{f''(x)}, andtextbf{f''(x)} is bound to raise more than a few eyebrows, and it might even cause some readers' eyes to bleed profusely. Do please consider writing $mathbf{f}''(mathbf{x})}$, $mathbf{f}'(mathbf{x})}$, and $mathbf{f}(mathbf{x})}$ instead.
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
@MathStudent1324 - Setting thetotalnumbercounter to3is not limited to thearticledocument class. Many other document classes also feature this setting.
– Mico
21 hours ago
Also, usecenteringinside the table environment. Thecenterenvironment adds unwanted vertical spacing.
– Bernard
21 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477745%2ftable-placement-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The immediate cause of the issue you describe is that you have four table environments, while the article document class by default only allows up to three such environments to be placed on a single page. That's why the fourth table gets pushed to the next page.
One way to solve this issue is to issue the instructions
setcounter{totalnumber}{4}
setcounter{topnumber}{4}
setcounter{bottomnumber}{4}
in the preamble. Of course, if you find yourself needing to place 7 (presumably very small, right?) table environments on a single page, you should change the above to
setcounter{totalnumber}{7}
setcounter{topnumber}{7}
setcounter{bottomnumber}{7}
Incidentally, I can't help but remark that the overall quality of your LaTeX is far from perfect. For sure, the code contains two syntax errors -- begin{center and caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$; can you spot the missing curly braces? -- which must be fixed before the document can be compiled. And writing textbf{f''(x)}, textbf{f''(x)}, andtextbf{f''(x)} is bound to raise more than a few eyebrows, and it might even cause some readers' eyes to bleed profusely. Do please consider writing $mathbf{f}''(mathbf{x})}$, $mathbf{f}'(mathbf{x})}$, and $mathbf{f}(mathbf{x})}$ instead.
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
@MathStudent1324 - Setting thetotalnumbercounter to3is not limited to thearticledocument class. Many other document classes also feature this setting.
– Mico
21 hours ago
Also, usecenteringinside the table environment. Thecenterenvironment adds unwanted vertical spacing.
– Bernard
21 hours ago
add a comment |
The immediate cause of the issue you describe is that you have four table environments, while the article document class by default only allows up to three such environments to be placed on a single page. That's why the fourth table gets pushed to the next page.
One way to solve this issue is to issue the instructions
setcounter{totalnumber}{4}
setcounter{topnumber}{4}
setcounter{bottomnumber}{4}
in the preamble. Of course, if you find yourself needing to place 7 (presumably very small, right?) table environments on a single page, you should change the above to
setcounter{totalnumber}{7}
setcounter{topnumber}{7}
setcounter{bottomnumber}{7}
Incidentally, I can't help but remark that the overall quality of your LaTeX is far from perfect. For sure, the code contains two syntax errors -- begin{center and caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$; can you spot the missing curly braces? -- which must be fixed before the document can be compiled. And writing textbf{f''(x)}, textbf{f''(x)}, andtextbf{f''(x)} is bound to raise more than a few eyebrows, and it might even cause some readers' eyes to bleed profusely. Do please consider writing $mathbf{f}''(mathbf{x})}$, $mathbf{f}'(mathbf{x})}$, and $mathbf{f}(mathbf{x})}$ instead.
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
@MathStudent1324 - Setting thetotalnumbercounter to3is not limited to thearticledocument class. Many other document classes also feature this setting.
– Mico
21 hours ago
Also, usecenteringinside the table environment. Thecenterenvironment adds unwanted vertical spacing.
– Bernard
21 hours ago
add a comment |
The immediate cause of the issue you describe is that you have four table environments, while the article document class by default only allows up to three such environments to be placed on a single page. That's why the fourth table gets pushed to the next page.
One way to solve this issue is to issue the instructions
setcounter{totalnumber}{4}
setcounter{topnumber}{4}
setcounter{bottomnumber}{4}
in the preamble. Of course, if you find yourself needing to place 7 (presumably very small, right?) table environments on a single page, you should change the above to
setcounter{totalnumber}{7}
setcounter{topnumber}{7}
setcounter{bottomnumber}{7}
Incidentally, I can't help but remark that the overall quality of your LaTeX is far from perfect. For sure, the code contains two syntax errors -- begin{center and caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$; can you spot the missing curly braces? -- which must be fixed before the document can be compiled. And writing textbf{f''(x)}, textbf{f''(x)}, andtextbf{f''(x)} is bound to raise more than a few eyebrows, and it might even cause some readers' eyes to bleed profusely. Do please consider writing $mathbf{f}''(mathbf{x})}$, $mathbf{f}'(mathbf{x})}$, and $mathbf{f}(mathbf{x})}$ instead.
The immediate cause of the issue you describe is that you have four table environments, while the article document class by default only allows up to three such environments to be placed on a single page. That's why the fourth table gets pushed to the next page.
One way to solve this issue is to issue the instructions
setcounter{totalnumber}{4}
setcounter{topnumber}{4}
setcounter{bottomnumber}{4}
in the preamble. Of course, if you find yourself needing to place 7 (presumably very small, right?) table environments on a single page, you should change the above to
setcounter{totalnumber}{7}
setcounter{topnumber}{7}
setcounter{bottomnumber}{7}
Incidentally, I can't help but remark that the overall quality of your LaTeX is far from perfect. For sure, the code contains two syntax errors -- begin{center and caption{Classifying Local Extrema of $f$ Based on the Sign of $f'$; can you spot the missing curly braces? -- which must be fixed before the document can be compiled. And writing textbf{f''(x)}, textbf{f''(x)}, andtextbf{f''(x)} is bound to raise more than a few eyebrows, and it might even cause some readers' eyes to bleed profusely. Do please consider writing $mathbf{f}''(mathbf{x})}$, $mathbf{f}'(mathbf{x})}$, and $mathbf{f}(mathbf{x})}$ instead.
edited 21 hours ago
answered 21 hours ago
MicoMico
281k31385774
281k31385774
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
@MathStudent1324 - Setting thetotalnumbercounter to3is not limited to thearticledocument class. Many other document classes also feature this setting.
– Mico
21 hours ago
Also, usecenteringinside the table environment. Thecenterenvironment adds unwanted vertical spacing.
– Bernard
21 hours ago
add a comment |
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
@MathStudent1324 - Setting thetotalnumbercounter to3is not limited to thearticledocument class. Many other document classes also feature this setting.
– Mico
21 hours ago
Also, usecenteringinside the table environment. Thecenterenvironment adds unwanted vertical spacing.
– Bernard
21 hours ago
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
Thanks- I did not know this about the article document class! These errors your noticed only occurred when I inputted my code here- they are not present in my document.
– MathStudent1324
21 hours ago
@MathStudent1324 - Setting the
totalnumber counter to 3 is not limited to the article document class. Many other document classes also feature this setting.– Mico
21 hours ago
@MathStudent1324 - Setting the
totalnumber counter to 3 is not limited to the article document class. Many other document classes also feature this setting.– Mico
21 hours ago
Also, use
centering inside the table environment. The center environment adds unwanted vertical spacing.– Bernard
21 hours ago
Also, use
centering inside the table environment. The center environment adds unwanted vertical spacing.– Bernard
21 hours ago
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f477745%2ftable-placement-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown