Debian Codegraph @

texmf-dist/doc/latex/skb/user-guide/repository/manual/optional-text.tex

raw
1 \opt{text}{\skbheading{Optional Text -- Versions and Optional}}
2
3 The \skbacft{A3DS:SKB} provides two means to include text and other \LaTeX~commands on an otional
4 basis. They are pre-configured and will be automatically set/unset according to the
5 three main document types the \skbacft{A3DS:SKB} supports:
6 \begin{skbnotelist}
7 \item text -- is equivalent to any classic text document, for instance an article or a book.
8 \item slide -- is used to idenify slides, for instance beamer frames.
9 \item note -- is used to identify lecture notes or handouts, in essence annotated slides (frames).
10 \item anim -- for beamer frames, used for text with animation activated.
11 \item noanim -- for beamer frames, used for text with animation deactivated.
12 \item memoir -- used for documents that include the memoir package.
13 \end{skbnotelist}
14
15 We use the packages versions and optional and support both. The main difference is that with versions
16 one has to use \cmd{\beging} and \cmd{\end} while with optional one can use more than one of the above
17 introduced types. The macros for provided for optional text are:
18 \begin{skbnotelist}
19 \item \cmd{\skbmodetext} and options using \skbem[code]{text} -- will be valid if neither beamer nor beamerarticle is loaded (normal text).
20 \item \cmd{\skbmodeslide} and options using \skbem[code]{slide} -- will be valid if the beamer package is loaded (slides).
21 \item \cmd{\skbmodenote} and options using \skbem[code]{note} -- will be valid if the beamerarticle package is loaded (annotated slides).
22 \item \cmd{\skbmodeanim} and options using \skbem[code]{anim} -- will be valid if the beamer package is loaded and the \skbacft{A3DS:SKB} is loaded with the argument \skbem[code]{beameranim}
23 \item \cmd{\skbmodenoanim} and options using \skbem[code]{noanim} -- will be valid if the beamer package is loaded and the \skbacft{A3DS:SKB} is loaded with the argument \skbem[code]{beamernoanim}
24 \item \cmd{\skbmodememoir} and options using \skbem[code]{memoir} -- will be valid if the memoir package is loaded
25 \end{skbnotelist}
26
27 \opt{text}{The following code}\opt{note}{This slide} shows a few examples on how to use the optional text.