summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/outline/outline.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:01:25 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:01:25 +0000
commitc235f4f73f07c7b86eb791fd790320000b533701 (patch)
treec9ab74a1b074d28601ca0c1730bd636f11e9c680 /Master/texmf-dist/tex/latex/outline/outline.sty
parent0d285fd0a36b7b2f94f5b85efc086e569fdadcb0 (diff)
outline
git-svn-id: svn://tug.org/texlive/trunk@1160 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/outline/outline.sty')
-rw-r--r--Master/texmf-dist/tex/latex/outline/outline.sty56
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/outline/outline.sty b/Master/texmf-dist/tex/latex/outline/outline.sty
new file mode 100644
index 00000000000..cb6a7882712
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/outline/outline.sty
@@ -0,0 +1,56 @@
+% Save file as: outline.sty Original Source: FILESERV@SHSU.BITNET
+% outline.sty by Peter Halvorson, Georgia Institute of Technology,
+% Nuclear Engineering, (404) 894-8710 peter@fission.gatech.edu
+% ne201ph@prism.gatech.edu
+% As of January 10, 1991
+% Create six-level list environment {outline} for making outlines; mark
+% each outline topic with \item. Use of label/ref sequences provided.
+% A direct hack of the enumerate code from latex.tex ( added more depth and
+% outline style numbering). Use as you would use the enumerate environment.
+%
+% As of August 23, 2002
+% modified by Seth Flaxman (seth@abisoft.com) for use with LaTeX 2e
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{outline}[2002/08/23 Simple Outline Package]
+
+\@definecounter{@outlndepth}
+\newcount\@outlndepth \@outlndepth = 0
+
+\@definecounter{outlni}
+\@definecounter{outlnii}
+\@definecounter{outlniii}
+\@definecounter{outlniv}
+\@definecounter{outlnv}
+\@definecounter{outlnvi}
+
+\def\outline{\ifnum \@outlndepth >5 \@toodeep\else
+ \advance\@outlndepth \@ne
+ \edef\@outlnctr{outln\romannumeral\the\@outlndepth}\list
+ {\csname label\@outlnctr\endcsname}{\usecounter
+ {\@outlnctr}\def\makelabel##1{\hss\llap{##1}}}\fi}
+
+\let\endoutline =\endlist
+
+\def\labeloutlni{\theoutlni.}
+\def\theoutlni{\Roman{outlni}}
+
+\def\labeloutlnii{\theoutlnii.}
+\def\theoutlnii{\Alph{outlnii}}
+\def\p@outlnii{\theoutlni}
+
+\def\labeloutlniii{\theoutlniii.}
+\def\theoutlniii{\arabic{outlniii}}
+\def\p@outlniii{\p@outlnii\theoutlnii}
+
+\def\labeloutlniv{\theoutlniv.}
+\def\theoutlniv{\alph{outlniv}}
+\def\p@outlniv{\p@outlniii\theoutlniii}
+
+\def\labeloutlnv{(\theoutlnv)}
+\def\theoutlnv{\arabic{outlnv}}
+\def\p@outlnv{\p@outlniv\theoutlniv}
+
+\def\labeloutlnvi{(\theoutlnvi)}
+\def\theoutlnvi{\alph{outlnvi}}
+\def\p@outlnvi{\p@outlnv\theoutlnv}