[tex-k] implementation of \scantokens
Heiko Oberdiek
oberdiek at uni-freiburg.de
Wed Nov 30 14:28:32 CET 2005
On Wed, Nov 30, 2005 at 09:00:01AM +0100, Hendri Adriaens wrote:
> Example 2:
> \documentclass{article}
> \begin{document}
> \scantokens{\begin{verbatim}}
> test
> \end{verbatim}
> \end{document}
\documentclass{article}
\begin{document}
\def\beginverbatim{\begin{verbatim}}
\scantokens{\expandafter\beginverbatim\noexpand}
test
\end{verbatim}
\end{document}
Yours sincerely
Heiko <oberdiek at uni-freiburg.de>
--
More information about the tex-k
mailing list