Generallineno | Two-sided Layout with Line Numbers in outer Margin

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
toasterdandee
Posts: 1
Joined: Thu Jan 10, 2013 4:41 pm

lineno | Two-sided Layout with Line Numbers in outer Margin

Post by toasterdandee »

Dear all,

I use the package lineno to number the lines in quotations. I chose scrbook to use a two-sided page layout and my problem is that the numbers generated by the package always appear on the left margin and not on the outer margin (left margin on even sides and right margin on odd sides).

As far as I understand the package documentation, the packages simply cannot switch the numbers to the correct margin automatically. Is that true? Is there any workaround? Or does another package exist which can flip the numbers automatically?


Best regards and many thanks,
toasterdandee

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

gyaltenjigdrel
Posts: 2
Joined: Wed May 25, 2016 11:09 am

Re: lineno | Two-sided Layout with Line Numbers in outer Mar

Post by gyaltenjigdrel »

Hi!

You can use the "switch"-option

\usepackage[switch]{lineno}

I hope it helps

Kindly,

Jigdrel
Post Reply