diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-22 03:01:16 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-22 03:01:16 +0000 |
commit | 26bfc07f2b7829213356de43cf5b81c3ba99e338 (patch) | |
tree | efb3037df2c42c45c904ad131334e8fc626cea19 /macros/latex/contrib/beamer/doc/beamerug-overlays.tex | |
parent | 5d5f239204f5c0d1f7573c9ebc64b5ad1ae75b49 (diff) |
CTAN sync 202201220301
Diffstat (limited to 'macros/latex/contrib/beamer/doc/beamerug-overlays.tex')
-rw-r--r-- | macros/latex/contrib/beamer/doc/beamerug-overlays.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macros/latex/contrib/beamer/doc/beamerug-overlays.tex b/macros/latex/contrib/beamer/doc/beamerug-overlays.tex index 57a8546f9b..c3d770701c 100644 --- a/macros/latex/contrib/beamer/doc/beamerug-overlays.tex +++ b/macros/latex/contrib/beamer/doc/beamerug-overlays.tex @@ -545,6 +545,13 @@ This section explains how to define new commands that are overlay specification- \end{verbatim} \end{command} +In a similar way |\NewDocumentCommand|, |\NewDocumentEnvironment| etc. can be used to define overlay aware commands and environments. The overlay argument can be specified via |d<>| (without default value) or |D<>{}| (with default value) type arguments. + +\example +\begin{verbatim} +\NewDocumentCommand{\makeblue}{D<>{.-} m}{{\color<#1>{blue}#2}} +\end{verbatim} + The following two commands can be used to ensure that a certain counter is automatically reset on subsequent slides of a frame. This is necessary for example for the equation count. You might want this count to be increased from frame to frame, but certainly not from overlay slide to overlay slide. For equation counters and footnote counters (you should not use footnotes), these commands have already been invoked. \begin{command}{\resetcounteronoverlays\marg{counter name}} |