Debian Codegraph @

texmf-dist/doc/latex/outliner/outline_test.tex

raw
1 % A test file for Victor Eijkhout's "outliner.sty".
2 \documentclass{article}
3 \usepackage{outliner}
4
5 % Page breaks wanted for levels 0 and 1:
6 \OutlinePageBreaks{1}
7 % level 0
8 \OutlineLevelStart0{\section*{#1}}
9 % level 1
10 \OutlineLevelStart1{\subsection*{#1}}
11 % level 2
12 \OutlineLevelStart2{\begin{itemize}\item#1.}
13 \OutlineLevelCont2{\item#1.}
14 \OutlineLevelEnd2{\end{itemize}}
15 % level 3
16 \OutlineLevelStart3{\par\noindent{\sl#1:}}
17
18 \begin{document}
19 \title{Test file for Victor's outline macros}
20 \author{Victor Eijkhout, {\tt [email protected]}}
21 \maketitle
22
23 \begin{Outline}
24 \Level 0 {Outline test}
25 \Level 1 {First section}
26 This is just an example, remember?
27 \Level 2 {A point}
28 But it should be sufficient.
29 \Level 2 {Another point}
30 Even if you just want to copy from this file.
31 \Level 3 {something} is useful, \Level 3 {another thing} is not.
32 \Level 1 {Another section, another page}
33 \Level 2 {This one has this} \Level 2{And that.}
34
35 %%% for include files:
36 \SetBaseLevel{1}
37 \Level 0 {This could be an included chapter}
38 by another author.
39 \Level 1 {This point is level 1 by the author, 2 by inclusion}
40 Yadah yadah yadah.
41 \Level 1 {Another level 1 point made level 2}
42 Note that this time there is no page break.
43 \Level 0 {Another chapter, by another author}
44 More text.
45 % return to the main show:
46 \SetBaseLevel 0
47 %%%
48
49 \Level 0 {Conclusions}
50 So, do you like it?
51 \end{Outline}
52
53 \end{document}