LaTeX forum ⇒ Page LayoutLayout for odd and even Pages

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
latexinthesky
Posts: 7
Joined: Mon Feb 04, 2013 10:28 am

Layout for odd and even Pages

Postby latexinthesky » Fri May 03, 2013 5:43 pm

In a document I have three page and than start a new page count. page 4 of the document become page 1. Because I print it double sided i like the margin shift over add and even. page 4 is even but after the new count is 1 and that is odd. This page (and the next) has the wrong margin. How to fix it? I added an empty page it works but isn't the nice way to do it.
  1. \usepackage[
  2. inner=3.5cm,
  3. outer=1.5cm,
  4. bottom=3.5cm,
  5. top=3cm
  6. ]{geometry}
  7.  
  8. \begin{document}
  9. \pagenumbering{Roman}
  10.  
  11. \begin{figure} % bedrijfs logo
  12. \centering
  13. \makebox[0pt][c]{\includegraphics[width=\paperwidth]{Image/LOGO}}
  14. \end{figure}
  15.  
  16. \maketitle
  17. \newpage
  18. \mbox{}
  19. \newpage
  20. \tableofcontents
  21. \newpage
  22. \include{010-abstract}
  23. \pagestyle{plain}
  24. \pagenumbering{arabic}
  25. \include{020-report}

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Fri May 03, 2013 6:01 pm

latexinthesky wrote:[…] I added an empty page it works but isn't the nice way to do it. […]

But that's the natural way (usually by \clearpage) instead of this dubious new page dimensions. Nevertheless you can try the \newgeometry command from geometry.

And perhaps next time you could be gracious enough to prepare a self-contained and minimal example in order to give an adequate problem description.


Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

latexinthesky
Posts: 7
Joined: Mon Feb 04, 2013 10:28 am

Postby latexinthesky » Mon May 06, 2013 9:49 am

TY for your response

however \clearpage is not working. Clearpage just ends the current page. And isn't still a solid way to work. If the document is growing also the table of contents is growing (bigger then one page). I now solved this by putting \cleardoublepage before \pagestyle{plain}\pagenumbering{arabic} this way the new numbering starts always at an odd page (left)
Last edited by cgnieder on Mon May 06, 2013 9:55 am, edited 1 time in total.
Reason: added inline code markup


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 3 guests