Page LayoutStart Sections on odd Pages in two-sided Article

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Sievers
Posts: 4
Joined: Sun Oct 31, 2010 12:27 pm

Start Sections on odd Pages in two-sided Article

Post by Sievers »

Hi guys!

I'm trying to make my sections start on the right page.

I'm using the document class scrartcl class from KOMA-Script with the twoside option. I added it because I was under the impression it would automatically assign all sections to begin on right pages. It does however not. The only other lines in my preamble that I can see has anything to do with the page layout relating to this issue are:

Code: Select all

\setpapersize{A4}
\setmargins{3.5cm}{1.5cm}{14.7cm}{23.42cm}{14pt}{1cm}{0pt}{2cm}
\defpagestyle{cb}{%
(\textwidth,0pt)% 
{\pagemark\hfill\headmark\hfill}% doublesided, left page
{\hfill\headmark\hfill\pagemark}% doublesided, right page
%{\hfill\headmark\hfill\pagemark}%  onesided
(\textwidth,1pt)}%
Your help is much appreciated!

Thanks

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Start Sections on odd Pages in two-sided Article

Post by localghost »

Forget the code fragment you presented and do not use the obsolete vmargin package. Just let »typearea« from KOMA-Script do the job of page construction. Regardless of that I see two options.
  1. Put each section in a separate file and include them with the \include command.
  2. Insert a \cleardoublepage command after every section as shown below.

    Code: Select all

    \documentclass[twoside,english]{scrartcl}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage{babel}
    \usepackage{blindtext}
    
    \begin{document}
      \blinddocument
      \cleardoublepage
    
      \blinddocument
    \end{document}
    The classes of KOMA Script offer more stuff to control page breaks. See the manual for details.

Best regards and welcome to the board
Thorsten
Sievers
Posts: 4
Joined: Sun Oct 31, 2010 12:27 pm

Start Sections on odd Pages in two-sided Article

Post by Sievers »

Adding a \cleardoublepage was exactly what I needed! Thank you very much! :)

Cheers
Post Reply