diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/outliner | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/outliner')
-rw-r--r-- | Master/texmf-dist/doc/latex/outliner/outline_test.tex | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/outliner/outline_test.tex b/Master/texmf-dist/doc/latex/outliner/outline_test.tex new file mode 100644 index 00000000000..a47159e587f --- /dev/null +++ b/Master/texmf-dist/doc/latex/outliner/outline_test.tex @@ -0,0 +1,53 @@ +% A test file for Victor Eijkhout's "outliner.sty". +\documentclass{article} +\usepackage{outliner} + +% Page breaks wanted for levels 0 and 1: +\OutlinePageBreaks{1} +% level 0 +\OutlineLevelStart0{\section*{#1}} +% level 1 +\OutlineLevelStart1{\subsection*{#1}} +% level 2 +\OutlineLevelStart2{\begin{itemize}\item#1.} +\OutlineLevelCont2{\item#1.} +\OutlineLevelEnd2{\end{itemize}} +% level 3 +\OutlineLevelStart3{\par\noindent{\sl#1:}} + +\begin{document} +\title{Test file for Victor's outline macros} +\author{Victor Eijkhout, {\tt victor@eijkhout.net}} +\maketitle + +\begin{Outline} +\Level 0 {Outline test} +\Level 1 {First section} +This is just an example, remember? +\Level 2 {A point} +But it should be sufficient. +\Level 2 {Another point} +Even if you just want to copy from this file. +\Level 3 {something} is useful, \Level 3 {another thing} is not. +\Level 1 {Another section, another page} +\Level 2 {This one has this} \Level 2{And that.} + +%%% for include files: +\SetBaseLevel{1} +\Level 0 {This could be an included chapter} +by another author. +\Level 1 {This point is level 1 by the author, 2 by inclusion} +Yadah yadah yadah. +\Level 1 {Another level 1 point made level 2} +Note that this time there is no page break. +\Level 0 {Another chapter, by another author} +More text. +% return to the main show: +\SetBaseLevel 0 +%%% + +\Level 0 {Conclusions} +So, do you like it? +\end{Outline} + +\end{document}
\ No newline at end of file |