From 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 9 Jan 2006 00:49:07 +0000 Subject: doc/latex git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/latex/outliner/outline_test.tex | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/outliner/outline_test.tex (limited to 'Master/texmf-dist/doc/latex/outliner') 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 -- cgit v1.2.3