[texhax] \newcommand that spans \begin \end

E. Krishnan ekmath at asianetindia.com
Mon May 23 09:08:11 CEST 2005


On Sun, 22 May 2005, Joey Coyle wrote:

> So I tried this... but it doesn't work
> 
> \newcommand{\codeStart}{\begin{Verbatim}[baselinestretch=1,fontsize=\sma 
> ll,frame=lines,numbers=left]}
> \newcommand{\codeEnd}{\end{Verbatim}}

Try using the command "\CustomVerbatimEnvironment" available in 
the "fancyvrb" package to define your own verbatim environments.

-- 
Krishnan



More information about the texhax mailing list