Line numbers #1162
Answered
by
cderv
arnaudgallou
asked this question in
Q&A
Line numbers
#1162
-
Is there any ways to show line numbers in the margin when knitting as |
Beta Was this translation helpful? Give feedback.
Answered by
cderv
Jun 16, 2022
Replies: 1 comment 1 reply
-
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 format:
pdf:
include-in-header:
text: |
\usepackage{lineno}
\linenumbers |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
arnaudgallou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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