Yes!!!
Thank you - I couldn't even figure out if I was supposed to poke around in the 'color' or 'fancyvrb' package.
But this is excellent - I can script some text processing to combine the two successive verbatim environments and invoke the renewcommand for each section with the appropriate number ...
Search found 2 matches
- Thu Jul 31, 2008 4:44 pm
- Forum: General
- Topic: add color to verbatim environments
- Replies: 7
- Views: 22547
- Wed Jul 30, 2008 9:20 am
- Forum: General
- Topic: add color to verbatim environments
- Replies: 7
- Views: 22547
add color to verbatim environments
Hi list,
I was wondering if anyone knew of a way to add colors to two successive verbatim text blocks without adding an extra blank line in between. For instance, the spacing I desire is the output of:
\begin{verbatim}
line 1
line 2
\end{verbatim}
\begin{verbatim}
line 3
line 4
\end{verbatim ...
I was wondering if anyone knew of a way to add colors to two successive verbatim text blocks without adding an extra blank line in between. For instance, the spacing I desire is the output of:
\begin{verbatim}
line 1
line 2
\end{verbatim}
\begin{verbatim}
line 3
line 4
\end{verbatim ...