Skip to main content

Questions tagged [linenumber]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Linenumber: Start to count with "Number" instead of 1

Doing this: \begin{linenumbers} line line line line line line \end{linenumbers} \resetlinenumber \begin{linenumbers} bla blabla \end{linenumbers} Gives us this 1 line 2 line line 3 line line ...
Bilal Yilmaz's user avatar
0 votes
0 answers
32 views

Failed to remove line numbers in pnas paper overleaf template

I tried every available ways online to remove line numbers but failed. Can someone help? Here is the template: https://www.overleaf.com/latex/templates/template-for-preparing-your-research-report-...
Halil İbrahim Ergül's user avatar
0 votes
0 answers
66 views

manually specifying some line numbers in verse

I'm typesetting a translation of some ancient Greek poetry into English, and want to have the usual verse line numbers that are generated by the verse environment in the memoir article class, but I ...
Sara L. Uckelman's user avatar
0 votes
1 answer
94 views

Built PDF on Elsevier platform has unexpected line numbers, which are not requested in LaTeX source code

I am submitting my manuscript on Elsevier platform (journal: Engineering Structures) using their default template bundle, which includes cas-dc-template.tex, cas-common.sty, and cas-sc.cls. I find ...
Duomo Feng's user avatar
0 votes
1 answer
26 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. ...
Bilal Yilmaz's user avatar
1 vote
2 answers
171 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 ...
Ingmar's user avatar
  • 6,700
1 vote
1 answer
78 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 ...
Ingmar's user avatar
  • 6,700
1 vote
1 answer
66 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 ...
Sia's user avatar
  • 229
0 votes
0 answers
50 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 ...
Michael's user avatar
2 votes
1 answer
673 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 ...
Alby Stalks's user avatar
1 vote
0 answers
3k 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 ...
tommydog35's user avatar
3 votes
1 answer
83 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 ...
Vincent Vega's user avatar
2 votes
1 answer
465 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} ...
Mamun's user avatar
  • 23
1 vote
0 answers
153 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 ...
footnote prob's user avatar
2 votes
1 answer
142 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 ...
footnote prob's user avatar
1 vote
1 answer
128 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, ...
Paul BRINZEI's user avatar
4 votes
1 answer
262 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]{\...
Jenne's user avatar
  • 43
0 votes
1 answer
281 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[...
לאה פּאַסטעך's user avatar
1 vote
1 answer
297 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} \...
Rajesh Kumar's user avatar
3 votes
1 answer
135 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 ...
MadyYuvi's user avatar
  • 13.9k
5 votes
2 answers
2k 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=\...
SH.Madadpour's user avatar
7 votes
1 answer
4k 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, ...
Nick's user avatar
  • 771