Fügen Sie das lineno
-Paket zur Kopfzeile hinzu. Hier ist ein Beispiel
Datei .Rmd
---
title: "Line Number Example"
header-includes:
- \usepackage{lineno}
- \linenumbers
output:
pdf_document
---
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
There is a lot of text that goes here. There is a lot of text that goes here.
Und das Ergebnis sieht wie folgt aus: