Jump to content

Latex: Difference between revisions

142 bytes added ,  29 January 2021
Line 285: Line 285:


==Verbatim==
==Verbatim==
There are two packages for verbatim:
* <code>\usepackage{verbatim}</code>
* <code>\usepackage{fancyvrb}</code>
The <code>verbatim</code> package gives you the environment <code>verbatim</code>.
The <code>verbatim</code> package gives you the environment <code>verbatim</code>.
You can use <code>\verbatiminput</code> to embed text files.


The <code>fancyvrb</code> package gives you the environment <code>Verbatim</code> which has more options.
===<code>fancyvrb</code>===
The <code>fancyvrb</code> package gives you the environment <code>Verbatim</code> which has more options
To embed in a figure, you can use <code>BVerbatim</code>. 
There is also <code>\VerbatimInput</code>, <code>\BVerbatimInput</code>, <code>\LVerbatimInput</code>.


==Document Class==
==Document Class==