line numbering in pdf

Herbert Voss Herbert.Voss at fu-berlin.de
Fri Jun 23 10:10:33 UTC 2023



Am 23.06.23 um 10:29 schrieb Wolfgang Engelmann:
> I would like to export a pdf file from lyx in which the lines are 
> numbered for each page. Under User guide B12 is a description, which 
> I, however, do not understand enough.
>
> I wouldn't mind, as an alternative, to do the line numbering in the 
> pdf file directly (which pdf reader? Okular? I use Debian.).
>
> The reason is, that I would like to send the document to a coauthor 
> for question, for which I should tell him where to look at.

Write

\usepackage{lineno}
\linenumbers

into the documents preamble.

I didn't search for a switch inside the LyX menues ...
Maybe that there is one.

Herbert


More information about the lyx-users mailing list