diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/overlays/sample.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/overlays/sample.tex | 44 |
1 files changed, 27 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/latex/overlays/sample.tex b/Master/texmf-dist/doc/latex/overlays/sample.tex index 61c8f46ff1d..ebadb405d28 100644 --- a/Master/texmf-dist/doc/latex/overlays/sample.tex +++ b/Master/texmf-dist/doc/latex/overlays/sample.tex @@ -33,8 +33,8 @@ \textit{A sample presentation}} \\[\baselineskip] Andreas Nolda \\ \url{http://andreas.nolda.org}}\vfill -{\small Version 2.4 \\ -24 October 2016} +{\small Version 2.5 \\ +4 March 2017} \clearpage \begin{fragileoverlays}{6} @@ -150,7 +150,7 @@ of the \texttt{alltt} environment of the \end{fragileoverlays} \clearpage -\begin{overlays}{6} +\begin{overlays}{3} \subsubsection*{Caveats} The package expects that the slide content in the \alert{1}{\texttt{overlays}} environment fits on a single page. This can be ensured by means of @@ -159,24 +159,34 @@ environment fits on a single page. This can be ensured by means of \visible{2-}{The \texttt{page} and \texttt{equation} counters are not incremented between overlays. Other counters can be saved between overlays, too, by means of the command -\alert{2}{\texttt{\textbackslash{savebetweenoverlays\{\meta{counter name}\}}}}.} +\alert{2}{\texttt{\textbackslash{savecounterbetweenoverlays\{\meta{counter name}\}}}}.} + +\visible{3-}{Series of first-level lists cloned by means of the +\texttt{\textbackslash{}newlist} command of the \textrm{enumitem} package can be saved between +overlays by means of the command +\alert{3}{\texttt{\textbackslash{saveseriesbetweenoverlays\{\meta{series +name}\}}}}, provided that the series name matches the list name.} +\end{overlays} +\clearpage -\visible{3-}{In the \texttt{tabular} environment, the -\alert{3}{\texttt{\textbackslash{}alert}}, -\alert{4}{\texttt{\textbackslash{}visible}} and -\alert{5}{\texttt{\textbackslash{}only}} commands have to be put into braces: +\begin{overlays}{4} +\subsubsection*{Further caveats} +\visible{1-}{In the \texttt{tabular} environment, the +\alert{1}{\texttt{\textbackslash{}alert}}, +\alert{2}{\texttt{\textbackslash{}visible}} and +\alert{3}{\texttt{\textbackslash{}only}} commands have to be put into braces: \begin{quote} \begin{tabular}[t]{ll} outside \texttt{tabular} & inside \texttt{tabular} \\\hline -{\alert{3}{\texttt{\textbackslash{}alert\{\ldots\}\{\ldots\}}}} & -{\alert{3}{\texttt{\{\textbackslash{}alert\{\ldots\}\{\ldots\}\}}}} \\ -{\visible{4-}{{\alert{4}{\texttt{\textbackslash{}visible\{\ldots\}\{\ldots\}}}}}} & -{\visible{4-}{{\alert{4}{\texttt{\{\textbackslash{}visible\{\ldots\}\{\ldots\}\}}}}}} \\ -{\visible{5-}{{\alert{5}{\texttt{\textbackslash{}only\{\ldots\}\{\ldots\}}}}}} & -{\visible{5-}{{\alert{5}{\texttt{\{\textbackslash{}only\{\ldots\}\{\ldots\}\}}}}}} +{\alert{1}{\texttt{\textbackslash{}alert\{\ldots\}\{\ldots\}}}} & +{\alert{1}{\texttt{\{\textbackslash{}alert\{\ldots\}\{\ldots\}\}}}} \\ +{\visible{2-}{{\alert{2}{\texttt{\textbackslash{}visible\{\ldots\}\{\ldots\}}}}}} & +{\visible{2-}{{\alert{2}{\texttt{\{\textbackslash{}visible\{\ldots\}\{\ldots\}\}}}}}} \\ +{\visible{3-}{{\alert{3}{\texttt{\textbackslash{}only\{\ldots\}\{\ldots\}}}}}} & +{\visible{3-}{{\alert{3}{\texttt{\{\textbackslash{}only\{\ldots\}\{\ldots\}\}}}}}} \end{tabular} \end{quote}} -\visible{6-}{In addition, make sure not to include the cell delimiter +\visible{4}{In addition, make sure not to include the cell delimiter \texttt{\&} or the row delimiter \texttt{\textbackslash{}\textbackslash{}} into the content of these commands.} \end{overlays} @@ -190,8 +200,8 @@ The code of the \textrm{overlays} package is inspired by Matthias Meister's \visible{2-}{In addition, it uses an algorithm by Martin Scharrer for testing numbers in numerical ranges (cf. \url{http://tex.stackexchange.com/q/19000}).} -\visible{3}{The code for saving counters between overlays as well as for -overlays with verbatim content is taken from the +\visible{3}{The code for saving counters between overlays as well as the code +for overlays with verbatim content is taken from the \href{http://www.ctan.org/pkg/texpower}{\textrm{texpower} package}, which in turn is based on Till Tantau's \href{http://www.ctan.org/pkg/beamer}{\textrm{beamer} package}.} |