[OS X TeX] Non-strictly OS X related. Expanding in TeX/LaTeX

Roberto Avanzi roberto.avanzi at gmail.com
Sun Jul 13 09:39:43 EDT 2008


On 06.07.2008, at 21:02, Peter Dyballa wrote:

>
> Am 06.07.2008 um 15:35 schrieb Roberto Avanzi:
>
>> Is there a solution/workaround?
>
> \newcommand ?

\newcommand does not expand its argument.
hence

\documentclass[12pt,a4paper,german]{book}

\begin{document}

\necsommand\prova{{
\begin{equation}
1
\end{equation}}}

\prova

\prova

\end{document}


generates


1  (1)

1  (2)


  Roberto



More information about the MacOSX-TeX mailing list