{line-numbering} is about numbering the text lines of documents or parts of them. Popular packages are `lineno` and {ledmac}.

learn more… | top users | synonyms

6
votes
0answers
555 views

How to have inline code and line numbering with minted?

I'm using the code found in this answer to allow minted to provide inline code. But, unfortunately, this breaks line numbering, which is not shown anymore. How can I have both inline code and line ...
4
votes
0answers
151 views

Follow up to underline subsections - incompatibility between lineno, sectsty, and ulem

In answering the question Underline subsections, I provided an answer which relied on the sectsty package (as compared to @GonzaloMedina's answer, which used the titlesec package). Ultimately, ...
3
votes
0answers
37 views

KOMA + bigfoot + lineno seem to produce vertical gaps in some cases

in a lengthy critical edition, I am using KOMA-Script, bigfoot and lineno. In certain cases, all involving footnotes, there are vertical gaps on the page containing the footnotes. This affects roughly ...
3
votes
0answers
177 views

Minted PHP with line numbers

I've added minted and inserted PHP code. The result is that I must put < ?php and ?> tags to get the code colored, then if I want to display line numbers it starts from < ? php line like ...
2
votes
0answers
52 views

Duplicate line numbers

I'm having trouble with duplicate line numbers see below. These are the lines that appear to be the problem. %\authors{Author One\correspondingauthor{Author One, % American Meteorological ...
2
votes
0answers
112 views

line numbering including blank (empty lines)

I have a latex document and I would like to include line numbers in it, the tricky part is that I need to count the blank (empty) lines too (emulating what MSWord does :(. I know I could use the ...
1
vote
0answers
23 views

Continues Line numbers printed all the environments

I am using lineno.sty package. I am using package in two column layout. I am using the lot environments like "Opening page mini page concept, Keybox, figures, tables, lot of user defined environments ...
1
vote
0answers
29 views

Rownumbers on multi-page tables

Im trying to have automatic rownumbers on a multi-page table reset on a page-break. So far I got this, but I dont know, why the counter does not reset: \documentclass{article} ...
1
vote
0answers
44 views

tcolorbox line numbers

I am trying to make a generic environment to use for all my boxes in my document. I want all my boxes to have line numbers. I can only get this to work some of the time. I don't get line numbers when ...
1
vote
0answers
68 views

Internal line numbers end before last unended paragraph

I'm currently working on a project where I want linenumbers to appear for text in a table-environment. Lineo provides the command \internallinenumbers for this task. As far as I understood, the normal ...
1
vote
0answers
136 views

XeTeX: Line numbering in a book with Devanagari and polyglossia

I am typesetting a book in XeLaTeX with both Samskrita in Devanagari script and English. I am trying to include line numbers for proofreading purposes. I want to use the lineno package which works on ...
1
vote
0answers
90 views

How to manually set a line number for end statement in algorithm2e?

I can manually set line numbers in an algorithm2e environment using the \nlset command (together with \LinesNotNumbered). However, I can't figure out how to make the same for lines with the end or ...
1
vote
0answers
60 views

Omitting white lines from line numbering using lineno

I am using the lineno package to number lines modulo 5 in a document that consists of several sections with lots of small paragraphs (typically 2-5 lines) and with white lines between every paragraph. ...
0
votes
0answers
7 views

Eledmac reference lemma with sub-line number

Honestly, I don't understand how to use the subline numbering feature. I would expect to be able to refer to the first of two identical words in the lemma of the apparatus. For example: Tertia ...
0
votes
0answers
19 views

Line numbers are not showing for part of my document?

I am using "lineno" package and a paper Latex template from a journal. {the whole .cls package} the numbering was working fine after using \begin{linenumbers} and then suddenly stopped numbering from ...
0
votes
0answers
12 views

fnlineno footnote line spacing

Does anybody know how to keep footnote line spacing while using fnlineno package?