Questions tagged [line-numbering]

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

397 questions
53
votes
2 answers

Number every line of pages

When editing documents it is convenient to have all the lines on a page numbered (on the left margin) so that the reviewer can refer to them in his report. How can I achieve this with LaTeX?
yannisl
  • 117,160
22
votes
1 answer

Show the number of lines in margin

How to show the number of lines in a short passage like that: (EVEN PAGE STYLE) margin on …
Tau spit
  • 917
20
votes
5 answers

How to create a lined page with line numbers?

I'd like to create a page in my LaTeX document that just consists of lines. It should look like this: Additionally, I want the lines numbered. I have no idea where to start. Are there any hints?
18
votes
1 answer

How to number all lines in a draft?

I want to have a draft of a document I am writing, with the line numbers aside. I looked at some options like lineno, but this way it skips some lines. Is there a simple workaround or another package to do this?
endir
  • 181
16
votes
3 answers

line numbers displayed in latex (both-sided)

Is there a possibility to get (in an onecolumn article) line numbers on both sides (left and right) displayed? I used the lineno-package for a one-sided numeration, but I fail to use it for left and right…
phymics
  • 163
  • 1
  • 1
  • 5
9
votes
2 answers

Problem with package lineno

I'm using package lineno for proofreading of my documents. So I usually have something like the following MWE: \documentclass{article} \usepackage{blindtext} \usepackage{ifthen} % to use if then else \newboolean{korrektur} % for…
Mensch
  • 65,388
7
votes
2 answers

Adding line numbers to an IEEE Latex document

I would like to add line numbers to an IEEE paper style. I have tried using different approaches, however non was successful. For example, when using \usepackage[switch,columnwise]{lineno} there will be line numbers missing when I have equations. I…
sky-light
  • 241
  • 2
  • 6
  • 13
7
votes
2 answers

Disabling line numbers in section headers

I'm using the lineno package to number lines in a document. By default, lineno attempts to number everything, including section headers. I would like disable line numbering on section headers, preferably in an automated way so I don't need to…
7
votes
1 answer

Lineno splitting the document into hundreds of pages

I was trying to get all the lines numbered in my document, as explained in this question: Show the number of lines in margin However, when I added the lines: \usepackage{lineno} \linenumbers to the top of my document, the document got split into…
Grzenio
  • 9,465
6
votes
1 answer

Numbering not every line with lineno

How it is possible to number not every line with lineno? For example only every fifth line. There are no hints in the manual.
5
votes
2 answers

package lineno not working well. skips line. TexLive 2016

I've looked at questions about numbering each line in Latex document, and using package lineno and tried all the tricks shown in the questions and answers, but nothing is working for me. The package still do not number each line. I want each line…
Nasser
  • 20,220
5
votes
3 answers

Problem with line numbering in BMC Journal template

I am re-formatting a manuscript submitted to the BMC Medical Informatics and Decision Making Journal. To format the manuscript I used the bmcart.cls template provided by the BMC journal. It is suggested the manuscript with line numbers to guide…
Eleazar Gil
  • 65
  • 1
  • 8
5
votes
1 answer

Line Numbering from .tex file lines

Is it possible to have a feature similar to the lineno package that outputs the .tex file line number that the pdf line came from? \documentclass[11pt]{article} \usepackage[english]{babel} \usepackage{lineno, blindtext} \begin{document} …
Tele
  • 53
4
votes
1 answer

Headline-ignoring, pagewise line numbers

Despite the easy-sounding task, it appears to be hard to find a suitable package to print line numbers that ignore the automatically generated section/subsection etc. headlines in their counter. The currently preferred, non-deprecated choice of…
Big-Blue
  • 1,000
4
votes
1 answer

SLatex and line numbering?

I'm using SLaTeX to typeset some Racket source code. I would like to have line numbers along the left edge, so that I can refer to them in my document. However, I haven't yet discovered the option for turning line numbers on. I suspect I should…
dyoo
  • 143
1
2 3