{verbatim} is about macros and environments like “\verb” and “verbatim” which implement some form of verbatim mode, i.e. change the {catcodes}. A popular package is {fancyvrb}. For questions about the {listings} or the {minted} package, use the respective tag instead.

learn more… | top users | synonyms

4
votes
0answers
193 views

Is it possible to use the `verbatim` environment in a dot2tex node?

Is it possible to use the verbatim environment (i.e. \begin{verbatim}...\end{verbatim}) in a dot2tex node? If so, please could you provide a MWE? Update: this is the closest I've got so far: ...
3
votes
0answers
58 views

ConTeXt: Double or Triple Hyphen are Interpreted inside Verbatim Blocks

For example: \definetyping [code] [numbering=line, bodyfont=small, before={\startframedtext[width=\textwidth]}, after={\stopframedtext}] \startcode <-- \stopcode will produce < ...
2
votes
0answers
30 views

How can I mark a verbatim-part that is gets on it's own page with exact the proper size?

At the moment, I do some documentation for an old database (lucky me). To help people (including myself) understand what it does, I list 5 entries of every table inside of verbatim. But some of these ...
1
vote
0answers
70 views

Using braces in verbatim environment

I want to put some code in a verbatim environment: \begin{verbatim} data _≥_ : Nat → Nat → Set where ge0 : {y : Nat} → y ≥ zero geS : {x : Nat} {y : Nat} → x ≥ y → suc x ≥ ...
1
vote
0answers
105 views

How can I insert verbatim text to beamer notes?

I would like to inset Verbatim text to beamer notes. When using Verbatim in beamer notes, I got errors. For your information, below is what I would like to do. \begin{frame}[containsverbatim] ...
1
vote
0answers
67 views

To modify Verbatim generated by sphinx-python

I would like to define \renewenvironment (later will put it in preamble in conf.py) so that tcolorbox appears around Verbatim code. Here is a sample of Verbatim: ...