{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

3
votes
1answer
58 views

Incompatibility between lineno and equation*

In addition to a lot of others incompatibilities, also there is one between lineno and equation*. Is there any chance to have the lineno package updated to solve this problem? Does anybody here knows ...
1
vote
1answer
33 views

To linenumber at start of sentences without altering data?

I have data which I do not want to change or duplicate it. I would like to have a line number after each empty line. It would be great if this can be done by some presentation only. Data This is a ...
6
votes
0answers
658 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
70 views

line numbering in article class

I want to make numbering line even though they are blank lines in the article class, how can I do with package of lineno? You can wonder why I must numbering the blank line because that is ...
4
votes
0answers
88 views

\inputminted: distinct file parts in one listing (equivalent to linerange in listings)

I want to include code from a file into my document. However, several distinct line ranges should appear in the same listing. Also, I want to use gobbling, and it would be nice to include some blank ...
4
votes
0answers
80 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 ...
4
votes
0answers
183 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
62 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 ...
3
votes
0answers
315 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
178 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
20 views

Linenumbering problem

When I am using line numbering I am getting to this problem: Basically the command for line numbering is perfectly working until page 8 from 11 of my document. It seems that from this point the ...
1
vote
0answers
46 views

How to number lines (per page and on the inner margin) without lineno?

I have been experimenting a lot lately to find a cure to the question I asked in December but as of yet I have been unsuccessful. Now, while this is entirely due to the fact that I do not have enough ...
1
vote
0answers
22 views

How to get listings package line number behavior of v1.3 in v1.5?

In the listings package v1.3, when including lines from a file, the numbering is that from the file, even if lines are omitted (absolute numbers). But in v1.5, the numbering ignores the location in ...
1
vote
0answers
50 views

Changes sides of lstlisting line numbering when switching pages

I am currently writing some tesxt for my masters thesis. I have a coste listing which expands on two pages. I would like the listing to change sides of line numbering when switching the page. Is there ...
1
vote
0answers
89 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
50 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
86 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
206 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
125 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
91 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
27 views

fnlineno footnote line spacing

Does anybody know how to keep footnote line spacing while using fnlineno package? \documentclass[10pt]{article} \usepackage{fontspec} \setmainfont{Linux Libertine} \usepackage{polyglossia} ...