Page Layoutlineno with multicol

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
gtilma
Posts: 3
Joined: Mon Apr 19, 2010 7:49 pm

lineno with multicol

Post by gtilma »

I'm using the lineno package together with multicol and have run into the following problem: whenever I insert a \columnbreak, lineno doesn't count the next line, but skips one and continues counting. So, if line 15 ends a column, then \columnbreak is inserted, the first line of the next column has no number but the second one is 16. I've checked the user manual (ulineno.pdf) and this forum, but can't find a solution/workaround. Any ideas?

Recommended reading 2024:

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

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

gtilma
Posts: 3
Joined: Mon Apr 19, 2010 7:49 pm

lineno with multicol

Post by gtilma »

Never mind -- fixed. Here's what I had before:

Code: Select all

...mytext\columnbreak
\\mytext...\\
And here's the correct syntax:

Code: Select all

...mytext\\
\columnbreak
\\mytext...\\
I was trying to transcribe a poetic text with line numbers. Evidently, \columnbreak needs line breaks before and after it. Sorry if this was obvious to others. Hope it helps someone with the same problem.
Post Reply