LyXTwo-sided document: odd pages indentation

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
Azergoth
Posts: 17
Joined: Thu Apr 16, 2015 10:12 am

Two-sided document: odd pages indentation

Post by Azergoth »

Hi everyone.

I'm trying to get my document (thesis) formatted correctly: get the odd pages "right" and the even pages "left" (seen as a book).

My document class is "Article (standard Class with extra font sizes)" and I choose "Two-sided Document" in Page Layout.
When I compile the document, I see that the the odd pages are indented left, and the even pages are indented right. I would like to have it the other way...

I've commented out everything at the beginning of my document (page numbering, abstract, ...) to start directly with "paragraph 1" and the problem stays...
I've also tried to delete the latex preamble, but nothing...

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

Two-sided document: odd pages indentation

Post by Johannes_B »

Use showframe to inspect the page layout. Everything is fine, the outer margins are about twice as wide as the inner, because the inner is there two times. So leftOuter = 2 times inner = rightOuter.

You can read more about this in chapter two of the KOMA-script manual.


If you need to set page margins, use package geometry. It also provides a showframe option.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Azergoth
Posts: 17
Joined: Thu Apr 16, 2015 10:12 am

Re: Two-sided document: odd pages indentation

Post by Azergoth »

So this behavior is normal?
Attachments
FirstPages.pdf
(56.47 KiB) Downloaded 359 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Two-sided document: odd pages indentation

Post by Johannes_B »

Yes.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Azergoth
Posts: 17
Joined: Thu Apr 16, 2015 10:12 am

Re: Two-sided document: odd pages indentation

Post by Azergoth »

Ok, thanks! sorry, I feel really stupid...
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Two-sided document: odd pages indentation

Post by Johannes_B »

No need to feel that. Many people are confusing this.

As long as you know how to resolve the issue, everything will be fine ;-)
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: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Two-sided document: odd pages indentation

Post by Stefan Kottwitz »

If you thought it should be the other way round, perhaps you mean the space you would loose because of the binding. There are options BCOR (Koma-Script) and bindingoffset (geometry) for this. If the binding is corrected this way, it should be like Johannes said.

Stefan
LaTeX.org admin
Azergoth
Posts: 17
Joined: Thu Apr 16, 2015 10:12 am

Two-sided document: odd pages indentation

Post by Azergoth »

Stefan_K wrote:If you thought it should be the other way round, perhaps you mean the space you would loose because of the binding. There are options BCOR (Koma-Script) and bindingoffset (geometry) for this. If the binding is corrected this way, it should be like Johannes said.

Stefan
Yes, that's what I thought... I used \layout to check it, and the "space" I saw is the room for notes, I think. ;)
Post Reply