I use the
fancyvrb package and I'd like that my
Verbatim code is always written with 2pt indention. How can I do that?
I use the
closed as unclear what you're asking by Bobyandbob, TeXnician, Troy, siracusa, Zarko Sep 20 '18 at 21:47
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Let's look at the manual for
Several verbatim environments are available, each with a lot of parameters to customize them. In the following examples we use the
Verbatimenvironment, which is the equivalent of the standard
verbatim. The parameters can be set globally using the
\fvsetmacro or in an optional argument after the start of the environment.
xleftmargin(dimension): indentation to add at the start of each line (Default: 0pt — no left margin).
Add, in your document preamble,