Questions tagged [linenumber]
The linenumber tag has no usage guidance.
18
questions
0
votes
1
answer
25
views
Deleting page from PDF - while using LINENUMBERS for counting the number of lines in a text
Using linenumbers environment helps me to count the number of lines as shown. With "\lastlinenumber" it is possible to save the number of lines which i need to operate with on the NEXT PAGE.
...
1
vote
2
answers
105
views
line numbers (lineno) with non-standard paragraphs
I am using the article class with the lineno package, to provide line numbers, and would like to highlight certain paragraphs with a vertical bar, as in the example below. How can I keep the line ...
1
vote
1
answer
61
views
Counting lines within tabulary
I am trying to add line numbers to an article that I am writing, using the lineno package. For the most part this works well, except for tables (using tabulary): Counting the whole table as a single ...
1
vote
1
answer
57
views
Proper line numbering of algorithm2e when tabular environment is inside an algorithm environment
I use tabular inside algorithm environment of algorithm2e package (see figure below) in order to align two columns of comment lines. Without using a table, achieving this task is difficult with some ...
0
votes
0
answers
49
views
lstlisting: numbering of longlines automatic broken by breaklines=true
I try to get linenumbers on longlines that breaklines=true break up:
So i added to my head the counter defintion:
\newcounter{lstbreaklinesnumber}[lstnumber] % breaklines-counter
so it should reset on ...
2
votes
1
answer
549
views
Figure caption line numbers with achemso package
I have written an article for a journal of the American Chemical Society using the package achemso (Texlive 2020). After the submission I have been asked to supply also the pdf file with the line ...
1
vote
0
answers
1k
views
How to add line numbers to an existing PDF file?
I am trying to add line numbers to a PDF of a thousand pages. I only have the PDF and don't have the source text that was used to generate the PDF. As part of my research, I have reviewed the ...
3
votes
1
answer
69
views
Empty line number when removing date
I have line numbers displayed and no date after the title. However, if I remove the date with
\date{}
there is a line number left in the empty line after the title. How can I remove it?
Here is the ...
2
votes
1
answer
386
views
Custom text instead of line numbers with algpseudocode package
Instead of printing 1:, 2:,.. I want to print Step 1:, Step 2:,.. at the beginning of each line.
Here is my code:
\usepackage{algorithm}
\usepackage{algpseudocode}
\begin{document}
\begin{algorithm}
...
1
vote
0
answers
124
views
line number footnotes
I managed to create unnumbered footnotes by line number with:
\linelabel{label1}\blfootnote{\textbf{\lineref{label1}} textline1}, however a new label1,2,3... is needed for each reference. Can this ...
2
votes
1
answer
117
views
footnote referencing of line number
I started working with XeLaTeX yesterday and almost have footnotes displaying correctly. My problem is that the references to line number with \linelabel and \lineref doesn't work correctly such that ...
1
vote
1
answer
106
views
Reledmac spaces on footnotes linenumbers and lemma
Is there a way to make the line numbers of a footnote as a single block?
Please see image below, I would like to print the two line numbers in the same line something like
18~\textendash{}~21
And, ...
4
votes
1
answer
236
views
How to avoid linenumbers in paragraph headers
I want to include line numbers(lineno) in an enumeration of paragraphs. How do I avoid line numbers in front of each paragraph header? What I need is something like
\newcommand{\myParagraph}[1]{\...
0
votes
1
answer
264
views
reledmac linenumbers inside of the print space
Using the reledmac package I have trouble with putting the linenumbers inside of the print space (cf. picture).
The code in the preamble is now simply:
\usepackage[parfill]{parskip}
\usepackage[...
1
vote
1
answer
294
views
Line numering with multicolumn mode
Here I faced challenge for fixing line number style as like the attached image could any one help how to fix this.
Note:
Required style as indicated in green color
MWE
\documentclass{book}
\...
3
votes
1
answer
131
views
Help on listings packages
My code are follows:
\documentclass[11pt]{book}
\usepackage{makeidx}
\usepackage{emptypage}%amd for no page number on empty page
\usepackage{etoc}%amd for multiple tocs
\usepackage{upquote}%amd for ...
5
votes
2
answers
1k
views
How can I justify text with line number in Verbatim environment?
My minimal file is:
\documentclass{article}
\usepackage{fancyvrb}
\usepackage{ragged2e}
\usepackage{lipsum}
\usepackage{pbox}
\begin{document}
\begin{Verbatim}[numbers=left,fontsize=\bf,commandchars=\...
7
votes
1
answer
3k
views
line numbers do not show on for the text of a paragraph in which an equation is defined
The line numbers for the text of a paragraph with an equation defined by \begin{align} command do not show as expected. How to fix this?
The LaTeX codes are attached here.
\documentclass[a4paper, ...