Skip to content

Line numbers #1162

Answered by cderv
arnaudgallou asked this question in Q&A
Jun 16, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I think adding linenumbers on text can be done in LaTeX using lineo package

So you can just add the required LaTeX pieces of code in the header of your document
https://quarto.org/docs/output-formats/pdf-basics.html#latex-includes

format: 
  pdf:
    include-in-header:
      text: |
        \usepackage{lineno}
        \linenumbers

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arnaudgallou
Comment options

Answer selected by arnaudgallou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants