On Tue, Sep 24, 2002 at 08:08:21PM +0200, Lars Gullik Bj?nnes wrote:
>
> what if you put a newcommand in the preamble
>
> \newcommand{mylog}{
> \begin{verbatim}
> $Log$
> \end{verbatim}
> }
>
> and put "\mylog" in ert somewhere in the document?
You can't use verbatim inside an argument to a macro.
But the following should work:
In the preamble:
\usepackage{fancyvrb}
\begin{SaveVerbatim}{foo}
$Log$
\end{SaveVerbatim}
And in the document, use \UseVerbatim{foo}
