Page Layoutarticle with twosites - right site is left and left is right

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dagna
Posts: 16
Joined: Wed Mar 03, 2010 7:28 pm

article with twosites - right site is left and left is right

Post by dagna »

Hi!

I have problem with sites. I have document with following settings:

Code: Select all

\documentclass[12pt, twoside]{article}

\usepackage[a4paper,left=4.0cm,right=2.5cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage{parskip}
\input{ustawienia.tex}
\setlength{\parskip}{6pt}           
\linespread{1.5}

\pagenumbering{roman} 
\setcounter{page}{2}

\input{strona_tytulowa.tex}
...
\end{document}
On first page there is left margin in size 2.5 cm and right margin in size 4 cm. Why?

Regards.

Recommended reading 2024:

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

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

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: article with twosites - right site is left and left is r

Post by frabjous »

Two side mode is basically set up to things are arranged like a book, so the inside and outside margins reverse on even numbered pages. Geometry options left= means inside, and right= means outside. This is covered on page 3 of the geometry manual.

If you want all the pages to be the same, just remove twoside from the options to the article class.

(At least that should work -- you didn't provide the inputted tex files, so nobody can test your sample code, or see whether there's anything in there to conflict with such a setting, which makes it kind of pointless.)
dagna
Posts: 16
Joined: Wed Mar 03, 2010 7:28 pm

Re: article with twosites - right site is left and left is r

Post by dagna »

I can't have all the same pages, I need to have 2.5 cm outside and 4 cm inside. I could change it and give left=2.5 and right=40, but I have one more problem.

I need have all section have on new card. So I'm using \cleardoublepage. But it give me blank pages in even and I need odd. Is it not any trick here?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

article with twosites - right site is left and left is right

Post by localghost »

Code: Select all

\documentclass[12pt,a4paper,english,twoside]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8{inputenc}
\usepackage{babel}
\usepackage[bindingoffset=1.5cm,includeheadfoot,margin=2.5cm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage{blindtext}

\begin{document}
  \blinddocument
\end{document}

Best regards and welcome to the board
Thorsten
dagna
Posts: 16
Joined: Wed Mar 03, 2010 7:28 pm

Re: article with twosites - right site is left and left is r

Post by dagna »

Thanks a lot!
Post Reply