| 1 |
\opt{text}{\skbheading{Environments for lists and enumerates}} |
| 2 |
|
| 3 |
\DescribeMacro{\skbnotelist} |
| 4 |
\DescribeMacro{\skbnoteenum} |
| 5 |
These two environments mimic the macro \cmd{\tightlists} from the memoir package. It might be |
| 6 |
usefull when not using memoir to minimise the margin between items in lists (iemize) and enumerations |
| 7 |
(enumerate). |
| 8 |
|
| 9 |
Both environments do the following: |
| 10 |
\begin{skbnotelist} |
| 11 |
\item Store current value of \cmd{\parskip} and \cmd{\itemsep}. |
| 12 |
\item Set \cmd{\parskip} and \cmd{\itemsep} to \skbem[code]{0cm}. |
| 13 |
\item Use the original environments (itemize for skbnotelist and enumerate for skbnoteenum) |
| 14 |
\item Set \cmd{\parskip} and \cmd{\itemsep} back to thir original value. |
| 15 |
\end{skbnotelist} |
| 16 |
|
| 17 |
Here is an example using first the classic list environment (itemize) and then the \skbacft{A3DS:SKB} macro |
| 18 |
\cmd{skbnotelist} |
| 19 |
\footnote{For those who are interested, the `Lorem Ipsum' is the standard phrase commonly used since the 1500s.} |
| 20 |
\footnote{The following examples might have no effect on annotated slides...} |
| 21 |
: |
| 22 |
\setlength{\parskip}{4.5pt} |
| 23 |
\setlength{\itemsep}{4.5pt} |
| 24 |
\begin{itemize} |
| 25 |
\item Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
| 26 |
\item Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
| 27 |
\item Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. |
| 28 |
\item Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
| 29 |
\end{itemize} |
| 30 |
|
| 31 |
\noindent Now list with \cmd{\skbnotelist}: |
| 32 |
\begin{skbnotelist} |
| 33 |
\item Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
| 34 |
\item Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. |
| 35 |
\item Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. |
| 36 |
\item Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
| 37 |
\end{skbnotelist} |
| 38 |
|
| 39 |
Note: both macros will only change the margins of the memoir package is not loaded! |