Random page comes in between pages
So I have written my report in order. However, some random page that is supposed to be a couple of pages before or after, comes and sits randomly in between other pages that otherwise were perfectly sequenced and flowing. This mostly happens when I switch between landscape and portrait.
I'm not sure if I make sense.
Edit: Here's the preamble if it helps.
documentclass[12pt]{report}
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
usepackage{setspace}
usepackage{amsbsy}
usepackage{fancyhdr}
usepackage{lipsum}
usepackage{graphicx}
usepackage{enumitem}
usepackage{textcomp}
usepackage{lscape}
usepackage{amsmath}
usepackage{calc}
usepackage[rm,tiny]{titlesec} %added this to change the chapter title's font as default regular text font.
usepackage{titlesec}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
newlength{depthofsumsign}
setlength{depthofsumsign}{depthof{$sum$}}
newlength{totalheightofsumsign}
newlength{heightanddepthofargument}
usepackage{pdflscape,booktabs}
usepackage[flushleft]{threeparttable}
renewcommandTPTtagStyle{textit}
usepackage[font=it,skip=0.5baselineskip]{caption} % italic text for captions
usepackage{titletoc}
usepackage{hyperref}
titlecontents{chapter}
[3pt] % left margin
{}%
{contentsmargin{0pt} % numbered entry format
thecontentslabelenspace%
}
{contentsmargin{0pt}large} % unnumbered entry format
{titlerule*[.99pc]{.}contentspage} % filler-page format (e.g dots)
% below code (e.g vertical space)
%to put page numbers as the header
fancyhf{}
fancyhead[C]{thepage}
pagestyle{fancy}
titleformat{chapter}{normalfontcentering}{}{0pt}{}
titlelabel{}
titlespacing*{chapter}{0pt}{-25pt}{4pt}
titleformat{section}{normalfontcentering}{}{0pt}{}
%koleygr: Redefining chapter to include thispagestyle{fancy}
letoldchapterchapter
makeatletter
defchapter{%
@ifstar{@Starred}{@nonStarred}%
}
def@Starred{%
@ifnextchar[%
{GenericWarning{}{Warning: A starred section can not have parameters. I am going to ignore them!}@StarredWith}%
{@StarredWithout}%
}
def@StarredWith[#1]#2{%
oldchapter*{#2}%
thispagestyle{fancy}
}
def@StarredWithout#1{
oldchapter*{#1}%
thispagestyle{fancy}
}
def@nonStarred{%
@ifnextchar[%
{@nonStarredWith}%
{@nonStarredWithout}%
}
def@nonStarredWith[#1]#2{%
oldchapter[#1]{#2}%
thispagestyle{fancy}
}
def@nonStarredWithout#1{%
oldchapter{#1}%
thispagestyle{fancy}
}
makeatother
interfootnotelinepenalty=10000
renewcommand{contentsname}{TABLE OF CONTENTS}
begin{document}
formatting landscape
add a comment |
So I have written my report in order. However, some random page that is supposed to be a couple of pages before or after, comes and sits randomly in between other pages that otherwise were perfectly sequenced and flowing. This mostly happens when I switch between landscape and portrait.
I'm not sure if I make sense.
Edit: Here's the preamble if it helps.
documentclass[12pt]{report}
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
usepackage{setspace}
usepackage{amsbsy}
usepackage{fancyhdr}
usepackage{lipsum}
usepackage{graphicx}
usepackage{enumitem}
usepackage{textcomp}
usepackage{lscape}
usepackage{amsmath}
usepackage{calc}
usepackage[rm,tiny]{titlesec} %added this to change the chapter title's font as default regular text font.
usepackage{titlesec}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
newlength{depthofsumsign}
setlength{depthofsumsign}{depthof{$sum$}}
newlength{totalheightofsumsign}
newlength{heightanddepthofargument}
usepackage{pdflscape,booktabs}
usepackage[flushleft]{threeparttable}
renewcommandTPTtagStyle{textit}
usepackage[font=it,skip=0.5baselineskip]{caption} % italic text for captions
usepackage{titletoc}
usepackage{hyperref}
titlecontents{chapter}
[3pt] % left margin
{}%
{contentsmargin{0pt} % numbered entry format
thecontentslabelenspace%
}
{contentsmargin{0pt}large} % unnumbered entry format
{titlerule*[.99pc]{.}contentspage} % filler-page format (e.g dots)
% below code (e.g vertical space)
%to put page numbers as the header
fancyhf{}
fancyhead[C]{thepage}
pagestyle{fancy}
titleformat{chapter}{normalfontcentering}{}{0pt}{}
titlelabel{}
titlespacing*{chapter}{0pt}{-25pt}{4pt}
titleformat{section}{normalfontcentering}{}{0pt}{}
%koleygr: Redefining chapter to include thispagestyle{fancy}
letoldchapterchapter
makeatletter
defchapter{%
@ifstar{@Starred}{@nonStarred}%
}
def@Starred{%
@ifnextchar[%
{GenericWarning{}{Warning: A starred section can not have parameters. I am going to ignore them!}@StarredWith}%
{@StarredWithout}%
}
def@StarredWith[#1]#2{%
oldchapter*{#2}%
thispagestyle{fancy}
}
def@StarredWithout#1{
oldchapter*{#1}%
thispagestyle{fancy}
}
def@nonStarred{%
@ifnextchar[%
{@nonStarredWith}%
{@nonStarredWithout}%
}
def@nonStarredWith[#1]#2{%
oldchapter[#1]{#2}%
thispagestyle{fancy}
}
def@nonStarredWithout#1{%
oldchapter{#1}%
thispagestyle{fancy}
}
makeatother
interfootnotelinepenalty=10000
renewcommand{contentsname}{TABLE OF CONTENTS}
begin{document}
formatting landscape
1
latex doesn't do anything randomly, it follows the instructions that you put in the document so if you do not show any code it is impossible to help. Is the text that has moved in afigure
ortable
environment ?
– David Carlisle
4 hours ago
Hi David, thanks for your comment. I have added the preamble in my main question. Yes, mostly table, because adding a wide table is the reason I did landscape for.
– Samyam Shrestha
52 mins ago
Also, for command, I used begin{landscape}....end{landscape} code. Is that ok?
– Samyam Shrestha
51 mins ago
1
you have shown no code that would cause any text to come out of order, so the problem is in code you have not shown. note that the only reason to usebegin{table}
orbegin{figure}
is to allow the content to be moved to help with page breaking, so if that is the issue then it is by design. Otherwise impossible to guess unless you show an example.
– David Carlisle
47 mins ago
sectionfont{underlinenormalfontnormalsizecentering}
can that really work? you are applyingunderline
just tonormalfont
– David Carlisle
44 mins ago
add a comment |
So I have written my report in order. However, some random page that is supposed to be a couple of pages before or after, comes and sits randomly in between other pages that otherwise were perfectly sequenced and flowing. This mostly happens when I switch between landscape and portrait.
I'm not sure if I make sense.
Edit: Here's the preamble if it helps.
documentclass[12pt]{report}
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
usepackage{setspace}
usepackage{amsbsy}
usepackage{fancyhdr}
usepackage{lipsum}
usepackage{graphicx}
usepackage{enumitem}
usepackage{textcomp}
usepackage{lscape}
usepackage{amsmath}
usepackage{calc}
usepackage[rm,tiny]{titlesec} %added this to change the chapter title's font as default regular text font.
usepackage{titlesec}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
newlength{depthofsumsign}
setlength{depthofsumsign}{depthof{$sum$}}
newlength{totalheightofsumsign}
newlength{heightanddepthofargument}
usepackage{pdflscape,booktabs}
usepackage[flushleft]{threeparttable}
renewcommandTPTtagStyle{textit}
usepackage[font=it,skip=0.5baselineskip]{caption} % italic text for captions
usepackage{titletoc}
usepackage{hyperref}
titlecontents{chapter}
[3pt] % left margin
{}%
{contentsmargin{0pt} % numbered entry format
thecontentslabelenspace%
}
{contentsmargin{0pt}large} % unnumbered entry format
{titlerule*[.99pc]{.}contentspage} % filler-page format (e.g dots)
% below code (e.g vertical space)
%to put page numbers as the header
fancyhf{}
fancyhead[C]{thepage}
pagestyle{fancy}
titleformat{chapter}{normalfontcentering}{}{0pt}{}
titlelabel{}
titlespacing*{chapter}{0pt}{-25pt}{4pt}
titleformat{section}{normalfontcentering}{}{0pt}{}
%koleygr: Redefining chapter to include thispagestyle{fancy}
letoldchapterchapter
makeatletter
defchapter{%
@ifstar{@Starred}{@nonStarred}%
}
def@Starred{%
@ifnextchar[%
{GenericWarning{}{Warning: A starred section can not have parameters. I am going to ignore them!}@StarredWith}%
{@StarredWithout}%
}
def@StarredWith[#1]#2{%
oldchapter*{#2}%
thispagestyle{fancy}
}
def@StarredWithout#1{
oldchapter*{#1}%
thispagestyle{fancy}
}
def@nonStarred{%
@ifnextchar[%
{@nonStarredWith}%
{@nonStarredWithout}%
}
def@nonStarredWith[#1]#2{%
oldchapter[#1]{#2}%
thispagestyle{fancy}
}
def@nonStarredWithout#1{%
oldchapter{#1}%
thispagestyle{fancy}
}
makeatother
interfootnotelinepenalty=10000
renewcommand{contentsname}{TABLE OF CONTENTS}
begin{document}
formatting landscape
So I have written my report in order. However, some random page that is supposed to be a couple of pages before or after, comes and sits randomly in between other pages that otherwise were perfectly sequenced and flowing. This mostly happens when I switch between landscape and portrait.
I'm not sure if I make sense.
Edit: Here's the preamble if it helps.
documentclass[12pt]{report}
usepackage[left=1.5in, right=1in, top=1in, bottom=1.5in]{geometry}
usepackage{setspace}
usepackage{amsbsy}
usepackage{fancyhdr}
usepackage{lipsum}
usepackage{graphicx}
usepackage{enumitem}
usepackage{textcomp}
usepackage{lscape}
usepackage{amsmath}
usepackage{calc}
usepackage[rm,tiny]{titlesec} %added this to change the chapter title's font as default regular text font.
usepackage{titlesec}
usepackage{sectsty}
sectionfont{underlinenormalfontnormalsizecentering}
newlength{depthofsumsign}
setlength{depthofsumsign}{depthof{$sum$}}
newlength{totalheightofsumsign}
newlength{heightanddepthofargument}
usepackage{pdflscape,booktabs}
usepackage[flushleft]{threeparttable}
renewcommandTPTtagStyle{textit}
usepackage[font=it,skip=0.5baselineskip]{caption} % italic text for captions
usepackage{titletoc}
usepackage{hyperref}
titlecontents{chapter}
[3pt] % left margin
{}%
{contentsmargin{0pt} % numbered entry format
thecontentslabelenspace%
}
{contentsmargin{0pt}large} % unnumbered entry format
{titlerule*[.99pc]{.}contentspage} % filler-page format (e.g dots)
% below code (e.g vertical space)
%to put page numbers as the header
fancyhf{}
fancyhead[C]{thepage}
pagestyle{fancy}
titleformat{chapter}{normalfontcentering}{}{0pt}{}
titlelabel{}
titlespacing*{chapter}{0pt}{-25pt}{4pt}
titleformat{section}{normalfontcentering}{}{0pt}{}
%koleygr: Redefining chapter to include thispagestyle{fancy}
letoldchapterchapter
makeatletter
defchapter{%
@ifstar{@Starred}{@nonStarred}%
}
def@Starred{%
@ifnextchar[%
{GenericWarning{}{Warning: A starred section can not have parameters. I am going to ignore them!}@StarredWith}%
{@StarredWithout}%
}
def@StarredWith[#1]#2{%
oldchapter*{#2}%
thispagestyle{fancy}
}
def@StarredWithout#1{
oldchapter*{#1}%
thispagestyle{fancy}
}
def@nonStarred{%
@ifnextchar[%
{@nonStarredWith}%
{@nonStarredWithout}%
}
def@nonStarredWith[#1]#2{%
oldchapter[#1]{#2}%
thispagestyle{fancy}
}
def@nonStarredWithout#1{%
oldchapter{#1}%
thispagestyle{fancy}
}
makeatother
interfootnotelinepenalty=10000
renewcommand{contentsname}{TABLE OF CONTENTS}
begin{document}
formatting landscape
formatting landscape
edited 48 mins ago
Samyam Shrestha
asked 7 hours ago
Samyam ShresthaSamyam Shrestha
495
495
1
latex doesn't do anything randomly, it follows the instructions that you put in the document so if you do not show any code it is impossible to help. Is the text that has moved in afigure
ortable
environment ?
– David Carlisle
4 hours ago
Hi David, thanks for your comment. I have added the preamble in my main question. Yes, mostly table, because adding a wide table is the reason I did landscape for.
– Samyam Shrestha
52 mins ago
Also, for command, I used begin{landscape}....end{landscape} code. Is that ok?
– Samyam Shrestha
51 mins ago
1
you have shown no code that would cause any text to come out of order, so the problem is in code you have not shown. note that the only reason to usebegin{table}
orbegin{figure}
is to allow the content to be moved to help with page breaking, so if that is the issue then it is by design. Otherwise impossible to guess unless you show an example.
– David Carlisle
47 mins ago
sectionfont{underlinenormalfontnormalsizecentering}
can that really work? you are applyingunderline
just tonormalfont
– David Carlisle
44 mins ago
add a comment |
1
latex doesn't do anything randomly, it follows the instructions that you put in the document so if you do not show any code it is impossible to help. Is the text that has moved in afigure
ortable
environment ?
– David Carlisle
4 hours ago
Hi David, thanks for your comment. I have added the preamble in my main question. Yes, mostly table, because adding a wide table is the reason I did landscape for.
– Samyam Shrestha
52 mins ago
Also, for command, I used begin{landscape}....end{landscape} code. Is that ok?
– Samyam Shrestha
51 mins ago
1
you have shown no code that would cause any text to come out of order, so the problem is in code you have not shown. note that the only reason to usebegin{table}
orbegin{figure}
is to allow the content to be moved to help with page breaking, so if that is the issue then it is by design. Otherwise impossible to guess unless you show an example.
– David Carlisle
47 mins ago
sectionfont{underlinenormalfontnormalsizecentering}
can that really work? you are applyingunderline
just tonormalfont
– David Carlisle
44 mins ago
1
1
latex doesn't do anything randomly, it follows the instructions that you put in the document so if you do not show any code it is impossible to help. Is the text that has moved in a
figure
or table
environment ?– David Carlisle
4 hours ago
latex doesn't do anything randomly, it follows the instructions that you put in the document so if you do not show any code it is impossible to help. Is the text that has moved in a
figure
or table
environment ?– David Carlisle
4 hours ago
Hi David, thanks for your comment. I have added the preamble in my main question. Yes, mostly table, because adding a wide table is the reason I did landscape for.
– Samyam Shrestha
52 mins ago
Hi David, thanks for your comment. I have added the preamble in my main question. Yes, mostly table, because adding a wide table is the reason I did landscape for.
– Samyam Shrestha
52 mins ago
Also, for command, I used begin{landscape}....end{landscape} code. Is that ok?
– Samyam Shrestha
51 mins ago
Also, for command, I used begin{landscape}....end{landscape} code. Is that ok?
– Samyam Shrestha
51 mins ago
1
1
you have shown no code that would cause any text to come out of order, so the problem is in code you have not shown. note that the only reason to use
begin{table}
or begin{figure}
is to allow the content to be moved to help with page breaking, so if that is the issue then it is by design. Otherwise impossible to guess unless you show an example.– David Carlisle
47 mins ago
you have shown no code that would cause any text to come out of order, so the problem is in code you have not shown. note that the only reason to use
begin{table}
or begin{figure}
is to allow the content to be moved to help with page breaking, so if that is the issue then it is by design. Otherwise impossible to guess unless you show an example.– David Carlisle
47 mins ago
sectionfont{underlinenormalfontnormalsizecentering}
can that really work? you are applying underline
just to normalfont
– David Carlisle
44 mins ago
sectionfont{underlinenormalfontnormalsizecentering}
can that really work? you are applying underline
just to normalfont
– David Carlisle
44 mins ago
add a comment |
1 Answer
1
active
oldest
votes
I think a MWE would be useful here, in order to know which packages you use.
However, personal trick with landscape pages, what I do is that I rotate content in a portrait page (using rotatebox{the angle}{the content}
) and after compilation I rotate landscape pages using ox's Preview app.
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins 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%2f483915%2frandom-page-comes-in-between-pages%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
I think a MWE would be useful here, in order to know which packages you use.
However, personal trick with landscape pages, what I do is that I rotate content in a portrait page (using rotatebox{the angle}{the content}
) and after compilation I rotate landscape pages using ox's Preview app.
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins ago
add a comment |
I think a MWE would be useful here, in order to know which packages you use.
However, personal trick with landscape pages, what I do is that I rotate content in a portrait page (using rotatebox{the angle}{the content}
) and after compilation I rotate landscape pages using ox's Preview app.
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins ago
add a comment |
I think a MWE would be useful here, in order to know which packages you use.
However, personal trick with landscape pages, what I do is that I rotate content in a portrait page (using rotatebox{the angle}{the content}
) and after compilation I rotate landscape pages using ox's Preview app.
I think a MWE would be useful here, in order to know which packages you use.
However, personal trick with landscape pages, what I do is that I rotate content in a portrait page (using rotatebox{the angle}{the content}
) and after compilation I rotate landscape pages using ox's Preview app.
answered 7 hours ago
Rémi NazinRémi Nazin
50128
50128
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins ago
add a comment |
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins ago
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
Hi Remi, thanks for your comment. I just used begin{landscape}....end{landscape} code. Is that not the right way to do it?
– Samyam Shrestha
51 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins ago
There is no wrong way. But if I'm correct, that basically changes the page geometry which calls for a page skip that can be problematic with floats. Using a portrait page with rotated content has pretty much the same effect minus geometry changes.
– Rémi Nazin
43 mins 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%2f483915%2frandom-page-comes-in-between-pages%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
1
latex doesn't do anything randomly, it follows the instructions that you put in the document so if you do not show any code it is impossible to help. Is the text that has moved in a
figure
ortable
environment ?– David Carlisle
4 hours ago
Hi David, thanks for your comment. I have added the preamble in my main question. Yes, mostly table, because adding a wide table is the reason I did landscape for.
– Samyam Shrestha
52 mins ago
Also, for command, I used begin{landscape}....end{landscape} code. Is that ok?
– Samyam Shrestha
51 mins ago
1
you have shown no code that would cause any text to come out of order, so the problem is in code you have not shown. note that the only reason to use
begin{table}
orbegin{figure}
is to allow the content to be moved to help with page breaking, so if that is the issue then it is by design. Otherwise impossible to guess unless you show an example.– David Carlisle
47 mins ago
sectionfont{underlinenormalfontnormalsizecentering}
can that really work? you are applyingunderline
just tonormalfont
– David Carlisle
44 mins ago