| 1 |
\levelstay{Prerequisite: \fixedwidth{coseoul}} |
| 2 |
This package builds on the \fixedwidth{coseoul} package and works in concert with the macros defined in \fixedwidth{coseoul}. |
| 3 |
We recommend reading the \fixedwidth{coseoul} documentation to at least get an idea of how it works before reading further here, but we also give a brief review. |
| 4 |
|
| 5 |
Commands like \fixedwidth{section} are absolute, i.e. the level depth is determined entirely by the command itself. |
| 6 |
The \fixedwidth{coseoul} package introduces \fixedwidth{levelstay}, \fixedwidth{leveldown}, \fixedwidth{levelup}, and \fixedwidth{levelmultiup} commands. |
| 7 |
These do exactly what they sound like, e.g. \fixedwidth{levelstay} makes a new heading at the same level you're at when you call the command. |
| 8 |
Here's a simple example: |
| 9 |
\begin{lstlisting} |
| 10 |
\documentclass{article} |
| 11 |
\begin{document} |
| 12 |
\usepackage{coseoul} |
| 13 |
\levelstay{This is a section} |
| 14 |
\leveldown{This is a subsection} |
| 15 |
\leveldown{This is a subsubsection} |
| 16 |
\levelmultiup{2}{This is another section} |
| 17 |
\end{document} |
| 18 |
\end{lstlisting} |
| 19 |
See the \fixedwidth{coseoul} documentation for details, but that's all there really is to \fixedwidth{coseoul}. |
| 20 |
|