Page contents aligning weirdly in LaTeX/OverleafLeft-aligning LaTeX Bibliography DisplayAligning problemText aligning like numbers aligningLeft aligning cell contents in a tableAligning the rightarrows in latexAligning objectsAligning formulae in LaTeXJustifying text in overleaf templatebeamer: Centering title page contentsAligning the title page
When a land becomes a creature, is it untapped?
Why does the Earth follow an elliptical trajectory rather than a parabolic one?
How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?
On studying Computer Science vs. Software Engineering to become a proficient coder
Was this character’s old age look CGI or make-up?
Bishop Berkeley's ideas put to the test
What is Plautus’s pun about frustum and frustrum?
Can 'sudo apt-get remove [write]' destroy my Ubuntu?
Make all the squares explode
What does "Ich wusste, dass aus dir mal was wird" mean?
Run script for 10 times until meets the condition, but break the loop if it meets the condition during iteration
How does noise-cancellation work in Mac laptops?
What are the implications of the new alleged key recovery attack preprint on SIMON?
Why does my circuit work on a breadboard, but not on a perfboard? I am new to soldering
How many are the non-negative integer solutions of 𝑥 + 𝑦 + 𝑤 + 𝑧 = 16 where x < y?
How are one-time password generators like Google Authenticator different from having two passwords?
Meaning of「〜てみたいと思います」
Does Lawful Interception of 4G / the proposed 5G provide a back door for hackers as well?
Who was this character from the Tomb of Annihilation adventure before they became a monster?
Setting the major mode of a new buffer interactively
Why doesn't Rocket Lab use a solid stage?
Surely they can fit?
Extracting sublists that contain similar elements
How are Core iX names like Core i5, i7 related to Haswell, Ivy Bridge?
Page contents aligning weirdly in LaTeX/Overleaf
Left-aligning LaTeX Bibliography DisplayAligning problemText aligning like numbers aligningLeft aligning cell contents in a tableAligning the rightarrows in latexAligning objectsAligning formulae in LaTeXJustifying text in overleaf templatebeamer: Centering title page contentsAligning the title page
I'm writing a report in LaTeX using the Overleaf online editor. For some reason - when translating to pdf - it arranges all contents far-left and doesn't fill out to the right. Does someone know how to fix this?
Below is an example of what it looks like. First page of my ToC is aligned as should be, but the second page f*cks up and then the rest of the pages in my pdf stay left-aligned as well.
I've styled my Overleaf project with several .tex files. My main.tex looks like this:
documentclass[11pt]article
usepackageoutline
usepackagepmgraph
usepackage[utf8]inputenc
usepackage[normalem]ulem
usepackageappendix
usepackagehyperref
usepackagexcolor
usepackagegraphicx
usepackagefloat
usepackageenumitem
usepackagegraphicx
usepackagesubfig
usepackagesetspace
usepackagepdfpages
begindocument
titletextbfxxx
authorxxx
maketitle
newpage
setlengthparskip0.4em
renewcommandcontentsnameIndholdsfortegnelse
tableofcontents
%--------------------Make usable space all of page
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
%--------------------Indention
setlengthparindent0cm
setlengthparskip1em
%.TEX LOADING HERE
enddocument
Please, if anyone has any suggestions as to how I can fix this, it will be greatly appreciated!
horizontal-alignment
New contributor
add a comment |
I'm writing a report in LaTeX using the Overleaf online editor. For some reason - when translating to pdf - it arranges all contents far-left and doesn't fill out to the right. Does someone know how to fix this?
Below is an example of what it looks like. First page of my ToC is aligned as should be, but the second page f*cks up and then the rest of the pages in my pdf stay left-aligned as well.
I've styled my Overleaf project with several .tex files. My main.tex looks like this:
documentclass[11pt]article
usepackageoutline
usepackagepmgraph
usepackage[utf8]inputenc
usepackage[normalem]ulem
usepackageappendix
usepackagehyperref
usepackagexcolor
usepackagegraphicx
usepackagefloat
usepackageenumitem
usepackagegraphicx
usepackagesubfig
usepackagesetspace
usepackagepdfpages
begindocument
titletextbfxxx
authorxxx
maketitle
newpage
setlengthparskip0.4em
renewcommandcontentsnameIndholdsfortegnelse
tableofcontents
%--------------------Make usable space all of page
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
%--------------------Indention
setlengthparindent0cm
setlengthparskip1em
%.TEX LOADING HERE
enddocument
Please, if anyone has any suggestions as to how I can fix this, it will be greatly appreciated!
horizontal-alignment
New contributor
add a comment |
I'm writing a report in LaTeX using the Overleaf online editor. For some reason - when translating to pdf - it arranges all contents far-left and doesn't fill out to the right. Does someone know how to fix this?
Below is an example of what it looks like. First page of my ToC is aligned as should be, but the second page f*cks up and then the rest of the pages in my pdf stay left-aligned as well.
I've styled my Overleaf project with several .tex files. My main.tex looks like this:
documentclass[11pt]article
usepackageoutline
usepackagepmgraph
usepackage[utf8]inputenc
usepackage[normalem]ulem
usepackageappendix
usepackagehyperref
usepackagexcolor
usepackagegraphicx
usepackagefloat
usepackageenumitem
usepackagegraphicx
usepackagesubfig
usepackagesetspace
usepackagepdfpages
begindocument
titletextbfxxx
authorxxx
maketitle
newpage
setlengthparskip0.4em
renewcommandcontentsnameIndholdsfortegnelse
tableofcontents
%--------------------Make usable space all of page
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
%--------------------Indention
setlengthparindent0cm
setlengthparskip1em
%.TEX LOADING HERE
enddocument
Please, if anyone has any suggestions as to how I can fix this, it will be greatly appreciated!
horizontal-alignment
New contributor
I'm writing a report in LaTeX using the Overleaf online editor. For some reason - when translating to pdf - it arranges all contents far-left and doesn't fill out to the right. Does someone know how to fix this?
Below is an example of what it looks like. First page of my ToC is aligned as should be, but the second page f*cks up and then the rest of the pages in my pdf stay left-aligned as well.
I've styled my Overleaf project with several .tex files. My main.tex looks like this:
documentclass[11pt]article
usepackageoutline
usepackagepmgraph
usepackage[utf8]inputenc
usepackage[normalem]ulem
usepackageappendix
usepackagehyperref
usepackagexcolor
usepackagegraphicx
usepackagefloat
usepackageenumitem
usepackagegraphicx
usepackagesubfig
usepackagesetspace
usepackagepdfpages
begindocument
titletextbfxxx
authorxxx
maketitle
newpage
setlengthparskip0.4em
renewcommandcontentsnameIndholdsfortegnelse
tableofcontents
%--------------------Make usable space all of page
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
%--------------------Indention
setlengthparindent0cm
setlengthparskip1em
%.TEX LOADING HERE
enddocument
Please, if anyone has any suggestions as to how I can fix this, it will be greatly appreciated!
horizontal-alignment
horizontal-alignment
New contributor
New contributor
edited 55 mins ago
LianTze Lim
8,82823069
8,82823069
New contributor
asked 4 hours ago
simonbragesimonbrage
62
62
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have not posted a testable fragment but the cause is clearly
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
You can not change these settings mid page. Changing them after begindocument
is not really supported, latex has to set up various page parameters and it does this at begindocument
.
Move that block to the preamble (or better use the geometry
package rather than low level assignments to set the page size.
If you really want to change the page size mid-document, you need to reset the internal parameters to match, and do it after a clearpage
forced page break, or more simply use the geometry
package interface to changing the page size for specific pages.
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
);
);
simonbrage is a new contributor. Be nice, and check out our Code of Conduct.
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%2f490393%2fpage-contents-aligning-weirdly-in-latex-overleaf%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
You have not posted a testable fragment but the cause is clearly
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
You can not change these settings mid page. Changing them after begindocument
is not really supported, latex has to set up various page parameters and it does this at begindocument
.
Move that block to the preamble (or better use the geometry
package rather than low level assignments to set the page size.
If you really want to change the page size mid-document, you need to reset the internal parameters to match, and do it after a clearpage
forced page break, or more simply use the geometry
package interface to changing the page size for specific pages.
add a comment |
You have not posted a testable fragment but the cause is clearly
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
You can not change these settings mid page. Changing them after begindocument
is not really supported, latex has to set up various page parameters and it does this at begindocument
.
Move that block to the preamble (or better use the geometry
package rather than low level assignments to set the page size.
If you really want to change the page size mid-document, you need to reset the internal parameters to match, and do it after a clearpage
forced page break, or more simply use the geometry
package interface to changing the page size for specific pages.
add a comment |
You have not posted a testable fragment but the cause is clearly
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
You can not change these settings mid page. Changing them after begindocument
is not really supported, latex has to set up various page parameters and it does this at begindocument
.
Move that block to the preamble (or better use the geometry
package rather than low level assignments to set the page size.
If you really want to change the page size mid-document, you need to reset the internal parameters to match, and do it after a clearpage
forced page break, or more simply use the geometry
package interface to changing the page size for specific pages.
You have not posted a testable fragment but the cause is clearly
setlengthoddsidemargin0in
setlengthevensidemargin0in
setlengthtopmargin0in
setlengthheadsep-.25in
setlengthtextwidth6.5in
setlengthtextheight8.5in
You can not change these settings mid page. Changing them after begindocument
is not really supported, latex has to set up various page parameters and it does this at begindocument
.
Move that block to the preamble (or better use the geometry
package rather than low level assignments to set the page size.
If you really want to change the page size mid-document, you need to reset the internal parameters to match, and do it after a clearpage
forced page break, or more simply use the geometry
package interface to changing the page size for specific pages.
answered 2 hours ago
David CarlisleDavid Carlisle
504k4211511902
504k4211511902
add a comment |
add a comment |
simonbrage is a new contributor. Be nice, and check out our Code of Conduct.
simonbrage is a new contributor. Be nice, and check out our Code of Conduct.
simonbrage is a new contributor. Be nice, and check out our Code of Conduct.
simonbrage is a new contributor. Be nice, and check out our Code of Conduct.
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%2f490393%2fpage-contents-aligning-weirdly-in-latex-overleaf%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