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

A steel cutting sword?

Should one buy new hardware after a system compromise?

How to cut a climbing rope?

Could a 19.25mm revolver actually exist?

Why would Ryanair allow me to book this journey through a third party, but not through their own website?

Count Even Digits In Number

Is Jon Snow the last of his House?

Specific alignment within beginalign environment

Find the three digit Prime number P from the given unusual relationships

Is "cool" appropriate or offensive to use in IMs?

Which European Languages are not Indo-European?

Is it rude to call a professor by their last name with no prefix in a non-academic setting?

Where's this lookout in Nova Scotia?

Construct a word ladder

Alternatives to achieve certain output format

Is the field of q-series 'dead'?

Is there an online tool which supports shared writing?

Defining the standard model of PA so that a space alien could understand

Why most published works in medical imaging try reducing false positives?

Is it legal to meet with potential future employers in the UK, whilst visiting from the USA

Do photons bend spacetime or not?

Pirate democracy at its finest

What is a fully qualified name?

Can I tell a prospective employee that everyone in the team is leaving?



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













2















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




























    2















    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


























      2












      2








      2








      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
















      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















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 12 at 2:11









      LianTze Lim

      8,93323071




      8,93323071










      asked May 11 at 22:58









      simonbragesimonbrage

      133




      133




















          1 Answer
          1






          active

          oldest

          votes


















          4














          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
            );



            );













            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









            4














            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



























              4














              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

























                4












                4








                4







                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 May 12 at 0:11









                David CarlisleDavid Carlisle

                506k4211531905




                506k4211531905



























                    draft saved

                    draft discarded
















































                    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

                    Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

                    Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

                    What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company