%%% listings+fancyvrb_tst.tex --- % %% Author: address@hidden %% Version: $Id: listings+fancyvrb_tst.tex 0 2009/03/01 17:17:28 ax006ho Exp$ \documentclass[12pt,a4paper,english]{article} \usepackage{listings} \usepackage{fancyvrb} \begin{document} \begin{itemize} \item \item First we show the automatic indentation of listings: \begin{lstlisting}[language=C] /* a little bit of comment */ \end{lstlisting} \item Now the automatic indentation of verbatim text: \begin{Verbatim} A little bit of text \end{Verbatim} \item The inclusion of the previous generated text: \begin{VerbatimOut}{a.txt} Some text! \end{VerbatimOut} \VerbatimInput{a.txt} \end{itemize} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% mode: flyspell %%% ispell-local-dictionary: "english" %%% End: