{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

7
votes
0answers
104 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 ...
5
votes
0answers
256 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, @...
4
votes
0answers
268 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 ...
3
votes
0answers
35 views

Getting line numbers in footnotes with bigfoot / manyfoot

I am using the bigfoot package for footnotes, and trying to use lineno / fnlineno for line numbers. I haven't been able to get them to work together. The documentation for fnlineno obliquely suggests ...
3
votes
0answers
45 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 ...
3
votes
0answers
161 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 ...
3
votes
0answers
87 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
495 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 ...
3
votes
0answers
246 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 ...
2
votes
0answers
70 views

how can I create a tcolorbox with line numbering?

I created the following tcolorbox: \documentclass{article} \usepackage{tcolorbox} \usepackage{lineno} \begin{document} \begin{tcolorbox}[middle=0mm,boxsep=0mm] Headers \tcblower \setlength\...
2
votes
0answers
282 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 ...
2
votes
0answers
125 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. ...
1
vote
0answers
18 views

Disable automatic line numbering for ECCV2014 conference template

I'm writing a study report with ECCV2014 conference template, as the following image shows, this template automatically generates line numbering and I want to disable it so I can write some comments ...
1
vote
0answers
48 views

Count lines of multiple files (Using minted for formatting.)

I am using minted to show source code in my document like this: \section{Image functions} \inputminted{python}{src/imagefuncs.py} \section{Matrix operations} \inputminted{python}{src/matrices.py} \...
1
vote
0answers
23 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
73 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
118 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
122 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
67 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} \usepackage{lipsum,...
1
vote
0answers
167 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 ...
0
votes
0answers
16 views

lineno package skip some lines

I want to add line numbering in my tex file. As you can see sometimes numbering is skipped as follows: I tried many things For example, if I add following lines \usepackage[displaymath, mathlines]...
0
votes
0answers
57 views

Line number in manuscript

I am doing a manuscript submitted to the Elsevier Editorial System. It is suggested the manuscript with line numbers to guide the revision process as below. But, the \usepackage{lineno} skips some ...
0
votes
0answers
118 views

Line numbers in listings (lstlisting) based on actual appearence in PDF file

I'm using the listings package to insert source code into my TeX files. I also set the option \lstset{numbers = left} in order to have the line numbers next to my source code and be able to refer to ...