Text FormattingInner and outer Page Margins

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
AdeptofVoltron
Posts: 4
Joined: Fri May 10, 2013 1:20 pm

Inner and outer Page Margins

Post by AdeptofVoltron »

Well, I need to have bigger margin on the left, on odd pages. And reverse it on even pages.

So my code for that is this.

Code: Select all

\documentclass[11pt,a4paper,twoside]{article} 
\usepackage[
  a4paper,
  twoside,
  bindingoffset=1cm,
  inner=2.5cm,
  outer=2.5cm,
  top=3.5cm,
  bottom=3.5cm,
  headsep=1.2cm
]{geometry}
And the bindingoffset=1cm is always added on the right side of the page.

How to repair it?



Edit: I put the topic in the wrong place. I would be greatful to push it to the right one.
Last edited by AdeptofVoltron on Wed May 22, 2013 12:31 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Inner and outer Page Margins

Post by tommytex »

hi,

Code: Select all

\setlength{\oddsidemargin}{...}
\setlength{\evensidemargin}{...}
that'll do the trick :mrgreen:


tommytex

see
http://www.howtotex.com/tips-tricks/tw ... e-margins/
for more information
AdeptofVoltron
Posts: 4
Joined: Fri May 10, 2013 1:20 pm

Inner and outer Page Margins

Post by AdeptofVoltron »

ok i tirend few options, but code:

Code: Select all

\setlength{\oddsidemargin}{3cm}
\setlength{\evensidemargin}{2cm}
Always add me 3cm on the right, and 2cm on the left.

I need 3cm at the right margin on even pages, and at the left margin on odd pages.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Inner and outer Page Margins

Post by Stefan Kottwitz »

AdeptofVoltron wrote:And the bindingoffset=1cm is always added on the right side of the page.
This code works correctly for me. On odd pages which are right-hand pages, the offset is added to the left margin, otherwise to the right margin, as intended.

Perhaps post a sample pdf with thise settings showing that it's different on your system. Perhaps there's a small mistake regarding the meaning of odd, even, left and right.

Stefan
LaTeX.org admin
virgo67
Posts: 3
Joined: Fri Jul 24, 2015 1:14 pm

Inner and outer Page Margins

Post by virgo67 »

Hi, I have a problem. I only begin to use LaTeX. I want to have odd pages on the right with bigger inner margins for my thesis. Instead I have bigger inner margins for the even pages. How to correct it? I attach the file. Thank you
ThesisQ.tex
My LaTeX command
(1.36 KiB) Downloaded 980 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Inner and outer Page Margins

Post by Johannes_B »

Hi and welcome,

it is nice that you want to start LaTeX, it is very useful.

You are first setting up the layout of the pages using package geometry, and later loading package typearea, which overwrites everything.

The whole preamble looks a bit odd. I recommend to read LaTeX for complete novices to get a good start. The current setup, will probably lead to more trouble.

If you are interested in page-layout, please have a look at chapter two of the KOMA-documentation (where typearea is coming from) or look at the memoir documentation. Both give a very good overview.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Inner and outer Page Margins

Post by Stefan Kottwitz »

Hi virgo67,

welcome to the forum!

Also I recommend to have a look at KOMA-Script, click: scrguien.

That documentation tells about page layout too, as Johannes said.

Johannes: would a dummy document with such margins be useful?

My first though seeing the preamble was, you loaded hyperref first, it should be the last package in the preamble (with rare exceptions) since it overrides things to get hyperlinks.

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Inner and outer Page Margins

Post by Johannes_B »

Stefan_K wrote:Johannes: would a dummy document with such margins be useful?
What do you mean?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Inner and outer Page Margins

Post by Stefan Kottwitz »

Hi Johannes,

regarding this
I want to have odd pages on the right with bigger inner margins for my thesis. Instead I have bigger inner margins for the even pages.
I just meant a typearea setup with blind text. Was too tired to do myself. Just wanted to tell the hyperref thing and to give the KOMA documentation link.

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Inner and outer Page Margins

Post by Johannes_B »

Following an example using package typearea and geometry. I used extreme values to make changes really apparent.

Code: Select all

\documentclass[twoside]{article}
\usepackage{blindtext}
\usepackage[outer=8cm,bindingoffset=50mm]{geometry}
\usepackage[BCOR=50mm]{typearea}
%\KOMAoption{DIV}{19}
\usepackage{showframe}
\begin{document}
\blinddocument
\end{document}
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