| 1 |
This provides the following combinations for \cmd{\skbslide} |
| 2 |
\begin{skbnotelist} |
| 3 |
\item Slide only: argument 1 has the name for the \skbacft{ISO:PDF}, argument 2 is empty |
| 4 |
\item Annotation only: argument 1 is empty, argument 2 has the name for the \TeX~file, option \skbem[code]{annotate} used |
| 5 |
\item Slide with Annotation 1: argument 1 has the name for the \skbacft{ISO:PDF}, argument 2 has the name for the \TeX~file, option \skbem[code]{annotate} used |
| 6 |
\item Slide with Annotation 2: argument 1 has the name for the \skbacft{ISO:PDF}, argument is empty, option \skbem[code]{annotate} used |
| 7 |
\item do nothing: leave both arguments empty |
| 8 |
\end{skbnotelist} |
| 9 |
|
| 10 |
\opt{not}{This slide show a few examples.}% |
| 11 |
\opt{text}{\noindent Some examples on how to use \cmd{\skbslide:} \lstinputlisting[style=genericLN,language=TeX]{\skbfileroot{examples/skbslide}}}% |
| 12 |
In line 1 and 2 we load \skbem[code]{myslides/slide1.pdf} and \skbem[code]{myslides/slide2.pdf} |
| 13 |
from the default directory without any annotations and clear the page after that. In line 3 we load \skbem[code]{myslides/slide2.pdf} and request this slide to |
| 14 |
be annotated without giving a specific file name, thus loading \skbem[code]{myslides/slide3.tex}, both files from the default slides directory. |
| 15 |
In lines 4\&5 we change the directory for the notes and request a particular file to be loaded, resulting in the slide loaded as \skbem[code]{myslides/theme1.pdf} from the |
| 16 |
slides directory and the annotations loaded as \skbem[code]{text/theme1.tex} from the repository. Finally, in lines 6\&7 we change both folders to the repository, this loading |
| 17 |
\skbem[code]{text/theme2.pdf} and \skbem[code]{text/theme2.tex} from the repository. |
| 18 |
|
| 19 |
|
| 20 |
\opt{note}{\skbheading{Slides and Citations}} |
| 21 |
|
| 22 |
\DescribeMacro{\skbslidecite} |
| 23 |
The macro \cmd{\skbslidecite} provides some simple means to add citations to annotated slides. |
| 24 |
It takes two arguments, the first one for the type of citation and the second one for the actual citation. |
| 25 |
\opt{text}{Here a simple example:}\opt{note}{This second block on this slide shows a simple example.} |
| 26 |
\opt{text}{\lstinputlisting[style=genericLN,language=TeX]{\skbfileroot{examples/skbslidecite}}}% |
| 27 |
The first line states that the slide contains material from a book of Tannenbaum and the second line |
| 28 |
states that the annotation contains material from an \skbacft{organisation:IETF} \skbacft{IETF:RFC} |
| 29 |
standard documents (\cite{standard:IETF:RFC:1155}). Since this |
| 30 |
macro is very simple, any content can be given for the two arguments. |