Page Layoutavoid resetting left/right when changing numbering style

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
kyra
Posts: 3
Joined: Thu Aug 15, 2013 7:12 pm

avoid resetting left/right when changing numbering style

Post by kyra »

Hi!

I've already posted this question there http://tex.stackexchange.com/questions/ ... th-twoside
but it didn't get much coverage, so I'll try it here.

In about 16 houres i need to print my bachelor thesis. Everything worked great, but now I discovered a strange problem. I am using scrartcl with the twopage option to get a two sided document. Therefore the document will be formatted in an alternating series of left and right pages (as desired).

If I change the pagenumbering after the first few pages (title page, list of contents, ...) from roman to arabic the pagecounter is resetted (desired as well). However, the orientation of the page (left/right) is resetted as well. This causes problems with the print, since there are now two left pages following each other.

How can i avoid this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

avoid resetting left/right when changing numbering style

Post by Johannes_B »

Open up a book. Odd (1,3,5) pages are always on the right side.
When changing to another page numbering, LaTeX starts from page one again, this must be a page on the right side. If it's not, it simply inserts an empty page. This behaviour is supposed to be and very good. You don't want to have page one at a left side.

Next time, please prepare a minimal example to state your problem.

Best regards

BTW: This is also a crosspost to golatex and tex.stackexchange. Please inform the guys at stackexchange of this post.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
kyra
Posts: 3
Joined: Thu Aug 15, 2013 7:12 pm

avoid resetting left/right when changing numbering style

Post by kyra »

I don't think this is intended. Or I misunderstand it. What is the problem with having page one on the left side? here is the mwe:

Code: Select all

\documentclass[twoside]{scrartcl}
\usepackage{blindtext}

\begin{document}

\pagenumbering{Roman}
\section{right page, as it should be}
\blindtext \blindtext \blindtext 
\newpage

\section{left page, as it should be}
\blindtext \blindtext \blindtext 
\newpage

\section{right page, as it should be}
\blindtext \blindtext \blindtext 
\newpage

\pagenumbering{arabic}

\section{right page again. this should be a left page}
\blindtext \blindtext \blindtext 
\newpage

\end{document}
If I print this, there will be two right pages following each other.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

avoid resetting left/right when changing numbering style

Post by Johannes_B »

Sections in articles don't start new pages by default. The reason is simple, an article is a short document of about 10 to 20 pages, maybe longer, but with just one kind of pagination.

You want to put a \cleardoublepage in front of the pagenumbering-command.

Code: Select all

\documentclass[BCOR=70mm,% added just for better visualisation
twoside]{scrartcl}
\usepackage{blindtext}
\begin{document}
\pagenumbering{Roman}
\section{right page, as it should be}
\blindtext[3]
\newpage

\section{left page, as it should be}
\blindtext[3]
\newpage

\section{right page, as it should be}
\blindtext[3]

\cleardoublepage
%\newpage

\pagenumbering{arabic}
\section{right page again. this should be a left page}
\blindtext[3]
\newpage
\end{document}
You can click on Open in writelatex and test it out.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
kyra
Posts: 3
Joined: Thu Aug 15, 2013 7:12 pm

Re: avoid resetting left/right when changing numbering style

Post by kyra »

hmm ok, thanks. I'll do that. But why is it bad to have page one on the left side?
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

avoid resetting left/right when changing numbering style

Post by Johannes_B »

Think about the following example. You printed your document, and in your hand is a whole bunch of paper. You staple it, so it doesn't fall apart. Where do you staple it? On the left side, so reading is easy. The titlepage you are just looking at, this is the first page (even though there might be no number) and its on the right side (recto). Take a look at the wikipedia article about Recto and verso.

When printing with real types there where two different page numbering systems, it was just easier, if for some reason the author decided to add something to the preface, making it one page longer. Every other page would have to be changed, if it wasn't for roman numerals in the beginning.
And this other block also started with a new bunch of paper, i.e. a recto page.

In times of automatic pagination, there really is no need anymore for this. But somehow, it just sticks.

Best regards
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply