LyXWrong binding margins with book

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
User avatar
Lucas Malor
Posts: 14
Joined: Fri Feb 03, 2012 4:05 pm

Wrong binding margins with book

Post by Lucas Malor »

I tried to create a book and a Koma-Script book document, and I noticed the binding margins are incorrect. The space for binding is set to left for odd pages and vice versa. I tried also to reset my settings deleting %AppData%\Lyx20 folder, but nothing.

This is my Lyx test file:
wrong_margins.lyx
Lyk test with wrong binding margins
(6.36 KiB) Downloaded 281 times
and this is the result I have:
wrong_margins.pdf
pdf output of the other attachment
(10.54 KiB) Downloaded 286 times
Last edited by Lucas Malor on Fri Feb 03, 2012 5:20 pm, edited 1 time in total.

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

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Wrong binding margins with book

Post by Stefan Kottwitz »

Hi Lucas,

would you please upload the files as attachment here to the forum post?
We don't like to work with externally hosted documents, no dropbox or rapidshare or megaupload etc.

Thanks,

Stefan
LaTeX.org admin
User avatar
Lucas Malor
Posts: 14
Joined: Fri Feb 03, 2012 4:05 pm

Re: Wrong binding margins with book

Post by Lucas Malor »

Done!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Wrong binding margins with book

Post by Stefan Kottwitz »

How did you specify the space for the binding? In the LyX file I don't see any binding correction value. So the margins are default, which means smaller inner and bigger outer margin.

Stefan
LaTeX.org admin
User avatar
Lucas Malor
Posts: 14
Joined: Fri Feb 03, 2012 4:05 pm

Re: Wrong binding margins with book

Post by Lucas Malor »

I didn't specified any BCOR, the settings are the default ones. Did you have the same output as in my previous attached pdf?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: Wrong binding margins with book

Post by Stefan Kottwitz »

I don't use LyX, so I don't have it installed and did not test your output. However, I read the file, and the PDF seems to be as expected.

As you did not specify BCOR, the binding correction is 0pt, the default value. The class does not expect that there would be binding loss by default. So you should specify a BCOR value.

Note, the inner margin (without BCOR) should remain half as big as the outer margin. BCOR would be added to the inner margin.

Stefan
LaTeX.org admin
User avatar
Lucas Malor
Posts: 14
Joined: Fri Feb 03, 2012 4:05 pm

Wrong binding margins with book

Post by Lucas Malor »

Emh. Ok, I misunderstood the image in koma-book manual, page 21. I thought the default margins is for binding, and BCOR is for extra binding. I don't understand why a default binding is not added by default: it is a book. Anyway, now I can proceed further :)
Post Reply