summaryrefslogtreecommitdiff
path: root/pygments/formatters/latex.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/formatters/latex.py')
-rw-r--r--pygments/formatters/latex.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/pygments/formatters/latex.py b/pygments/formatters/latex.py
index bc40cf1b..a851997e 100644
--- a/pygments/formatters/latex.py
+++ b/pygments/formatters/latex.py
@@ -73,6 +73,19 @@ class LatexFormatter(Formatter):
Additional options accepted:
+
+ `style`
+ The style to use, can be a string or a Style subclass (default:
+ ``'default'``).
+
+ `full`
+ Tells the formatter to output a "full" document, i.e. a complete
+ self-contained document (default: ``False``).
+
+ `title`
+ If `full` is true, the title that should be used to caption the
+ document (default: ``''``).
+
`docclass`
If the `full` option is enabled, this is the document class to use
(default: ``'article'``).
@@ -81,6 +94,15 @@ class LatexFormatter(Formatter):
If the `full` option is enabled, this can be further preamble commands,
e.g. ``\usepackage`` (default: ``''``).
+ `linenos`
+ If set to ``True``, output line numbers (default: ``False``).
+
+ `linenostart`
+ The line number for the first line (default: ``1``).
+
+ `linenostep`
+ If set to a number n > 1, only every nth line number is printed.
+
`verboptions`
Additional options given to the Verbatim environment (see the *fancyvrb*
docs for possible values) (default: ``''``).