{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
287 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
131 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
117 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? ...
2
votes
0answers
54 views

How to combine framed and listings packages in new environment

I always use this LaTeX code to display a source code in my article. \begin{listingbox}{VB style} \begin{singlespace} \begin{lstlisting}[style=BASIC] Private Sub Form_Load() Dim tex As String ...
2
votes
0answers
37 views

Beamercolortheme: How to set default color for all verbatim?

I want to change the color of all verbatim text in an existing beamer presentation. How do I do this easily? I know how to use colored verbatim text in general, and I found a lot of suggestions here ...
1
vote
0answers
46 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
38 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
64 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
23 views

How can I put \cbstart…\cnbend inside \begin{Verbatim}…\end{Verbatim} in LaTeX

I am trying to place a changebar outside a block of Verbatim text in LaTeX and it barfs at me every time. \cbstart \begin{Verbatim} blah blah ...blah blah... \end{Verbatim} \cbend Results in: ! ...
0
votes
0answers
164 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} ...