Albert Puig
2015-08-13 18:43:19 UTC
Hi!
I'm trying to use beamer's renewcommand, and for understanding this I just
tried to copy the example in the "9.6.1 Making Commands and Environments
Overlay Specification-Aware" section:
\renewenvironment<>{verse}
{\begin{actionenv}#1\begin{originalverse}}
{\end{originalverse}\end{actionenv}}
My MWE is
\documentclass[]{beamer}
\renewenvironment<>{verse}
{\begin{actionenv}#1\begin{originalverse}}
{\end{originalverse}\end{actionenv}}
\begin{document}
\begin{frame}{Test}
First line
\end{frame}
\end{document}
And the error is
! LaTeX Error: Command \beamerx@\verse already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 {\end{originalverse}\end{actionenv}}
Am I doing something stupid? I am just copying the example. Beamer version
is 3.36 and latex is
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded
format=pdflatex)
Thanks,
Albert
I'm trying to use beamer's renewcommand, and for understanding this I just
tried to copy the example in the "9.6.1 Making Commands and Environments
Overlay Specification-Aware" section:
\renewenvironment<>{verse}
{\begin{actionenv}#1\begin{originalverse}}
{\end{originalverse}\end{actionenv}}
My MWE is
\documentclass[]{beamer}
\renewenvironment<>{verse}
{\begin{actionenv}#1\begin{originalverse}}
{\end{originalverse}\end{actionenv}}
\begin{document}
\begin{frame}{Test}
First line
\end{frame}
\end{document}
And the error is
! LaTeX Error: Command \beamerx@\verse already defined.
Or name \end... illegal, see p.192 of the manual.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 {\end{originalverse}\end{actionenv}}
Am I doing something stupid? I am just copying the example. Beamer version
is 3.36 and latex is
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded
format=pdflatex)
Thanks,
Albert
--
You received this message because you are subscribed to the Google Groups "LaTeX Beamer class" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beamer-class+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "LaTeX Beamer class" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beamer-class+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.