{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

1
vote
1answer
21 views

How do I get selective bold in Verbatim?

I previously wrote a computer professional book in which I showed what the user typed on the console and the computer's resultant output. The way I liked to do this was with everything in courier and ...
4
votes
0answers
253 views

How to format an email conversation?

I am currently writing my thesis and need to include a bunch of email conversions. I am using classicthesis. I wonder, how you would format stacked conversions. Moreover, how would you deal with the ...
4
votes
0answers
124 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
111 views

Animate swaps of elements in beamer

I need a nice way to show sequential swaps of two elements in verbatim. By swaps I mean two elements changing their positions with each other. Is there any specific command in beamer to animate this? ...
1
vote
0answers
35 views

code-block directive causing error Empty verbatim environment

When I use directive .. code-block:: c in rst on Ubuntu 12.04 version and compile using latexpdf Error: (/usr/share/texmf-texlive/tex/latex/psnfss/t1pcr.fd) ! FancyVerb Error: Empty verbatim ...
1
vote
0answers
30 views

How to get bengali font script as output written within verbatim package?

\documentclass{article} \usepackage{verbatim} \begin{document} \begin{verbatim} $\alpha=\beta$ Here is my text. এখানে আমার টেক্সট । \end{verbatim} \end{document} This gives the following output ...
1
vote
0answers
56 views

Help with verbatim-like environments

I am writing a script for LaTeX shallow parsing (assuming that there are no complicated definitions in the preamble). First of all I decided to check the document for in-line verbatims and comments, ...
0
votes
0answers
158 views

Verbatim and alltt goes off page

My verbatim environment allows text to go way beyond margins and off the page, I am using the \begin{alltt} version though. Below is my entire preamble: \documentclass{llncs} \usepackage{graphicx} ...