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

How to minimise the cost of guessing a number in a high/low guess game?

What is the best way for a skeleton to impersonate human without using magic?

When a land becomes a creature, is it untapped?

Would an 8% reduction in drag outweigh the weight addition from this custom CFD-tested winglet?

Proof that the inverse image of a single element is a discrete space

Anatomically Correct Carnivorous Tree

Meaning of「〜てみたいと思います」

What are the components of a legend (in the sense of a tale, not a figure legend)?

Why do Thanos's punches not kill Captain America or at least cause some mortal injuries?

Make all the squares explode

Why is “Ich wusste, dass aus dir mal was wird” grammitally correct?

What stroke width Instagram is using for its icons and how to get same results?

Surely they can fit?

Light Switch Terminals

How to prevent cooked noodles & dumplings from getting soggy

What does "Ich wusste, dass aus dir mal was wird" mean?

Reaction of borax with NaOH

A curve pass via points at TiKz

Two researchers want to work on the same extension to my paper. Who to help?

Was this a power play by Daenerys?

Why was Endgame Thanos so different than Infinity War Thanos?

SSD - Disk is OK, one bad sector

Ex-manager wants to stay in touch, I don't want to

Is taking modulus on both sides of an equation valid?



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













1















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.



This



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!










share|improve this question









New contributor



simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    1















    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.



    This



    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!










    share|improve this question









    New contributor



    simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      1












      1








      1








      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.



      This



      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!










      share|improve this question









      New contributor



      simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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.



      This



      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






      share|improve this question









      New contributor



      simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 1 hour ago









      LianTze Lim

      8,82823069




      8,82823069






      New contributor



      simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 4 hours ago









      simonbragesimonbrage

      62




      62




      New contributor



      simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      simonbrage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          3














          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.






          share|improve this answer























            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.









            draft saved

            draft discarded


















            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









            3














            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.






            share|improve this answer



























              3














              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.






              share|improve this answer

























                3












                3








                3







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 3 hours ago









                David CarlisleDavid Carlisle

                504k4211511902




                504k4211511902




















                    simonbrage is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її