summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/expdlist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:55:25 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:55:25 +0000
commitc13c9fba05d6822e236462817e8c1f95f220988b (patch)
tree7a1e57a6b702b80993eeba7ae7846d30a07a8b6b /Master/texmf-dist/tex/latex/expdlist
parent8dd1a7a1fcc7900103a0a0653197402a51d1afb8 (diff)
expdlist
git-svn-id: svn://tug.org/texlive/trunk@896 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/expdlist')
-rw-r--r--Master/texmf-dist/tex/latex/expdlist/expdlist.sty176
1 files changed, 176 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/expdlist/expdlist.sty b/Master/texmf-dist/tex/latex/expdlist/expdlist.sty
new file mode 100644
index 00000000000..82e198ab56e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/expdlist/expdlist.sty
@@ -0,0 +1,176 @@
+%%
+%% This is file `expdlist.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% expdlist.dtx (with options: `style')
+%%
+%% This is a generated file.
+%%
+%% Copyright 1992 1999 R. Huelse, W. Kaspar
+%%
+%% This file is part of the expdlist package.
+%% ------------------------------------------
+%%
+%% It can redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or (at your option) any later version.
+%%
+\def\filename{EXPDLIST}
+\def\filedate{22.09.1999}
+\def\fileversion{V 2.4}
+\def\docdate {22.09.99}
+%% \CheckSum{214}
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+%%
+
+\typeout{Document Substyle `EXPDLIST'.
+ Released \filedate \space (\fileversion)}
+\typeout{English Documentation \space \docdate}
+\def\compact%
+ {\setlength{\itemsep}{-\parsep}}
+\def\setleftmargin%
+ #1%
+ {\setlength{\leftmargin}{#1}}
+\let\setlabelsize = \setleftmargin
+\def\setlabelphantom%
+ #1%
+ {\def\set@labelphantom%
+ {\setbox\@tempboxa=\hbox spread \labelsep {\@labelstyle #1\hfil}%
+ \setleftmargin{\wd\@tempboxa}%
+ }%
+ }
+\def\set@labelphantom{}
+\def\@labelstyle%
+ {\bfseries}
+\def\setlabelstyle%
+ #1%
+ {\def\@labelstyle{#1}}
+\def\breaklabel%
+ {\def\@breaklabel%
+ {\rule{0mm}{0mm}%
+ \\%
+ }%
+ }%
+\def\@breaklabel%
+ {}
+\let\@orgdlist\description
+\def\description%
+ {\@ifnextchar[%
+ {\@expdlist}%
+ {\@orgdlist}%
+ }
+\let\enddescription\endlist
+\def\@expdlistlabel#1%
+ {\@labelstyle
+ #1%
+ \hfil%
+ }
+\def\@expdlist[#1]%
+ {\list{}%
+ {\def\@breaklabel{}%
+ \def\set@labelphantom{}%
+ \def\@labelstyle{\bfseries}%
+ #1%
+ \set@labelphantom%
+ \setlength{\labelwidth}{\leftmargin}%
+ \addtolength{\labelwidth}{-\labelsep}%
+ \let\makelabel\@expdlistlabel%
+ }%
+ }
+\newlength{\listpartsep}
+\listpartsep = 1ex
+\long\def\listpart%
+ #1%
+ {\vspace{\listpartsep}%
+ \item[]\hspace*{-\leftmargin}%
+ \@tempskipa=\linewidth%
+ \addtolength{\@tempskipa}{\rightmargin}%
+ \addtolength{\@tempskipa}{\leftmargin}%
+ \parbox{\@tempskipa}{#1}%
+ \vspace{\listpartsep}%
+ }
+\def\@item[#1]{%
+ \if@noparitem
+ \@donoparitem
+ \else
+ \if@inlabel
+ \indent \par
+ \fi
+ \ifhmode
+ \unskip\unskip \par
+ \fi
+ \if@newlist
+ \if@nobreak
+ \@nbitem
+ \else
+ \addpenalty\@beginparpenalty
+ \addvspace\@topsep
+ \addvspace{-\parskip}%
+ \fi
+ \else
+ \addpenalty\@itempenalty
+ \addvspace\itemsep
+ \fi
+ \global\@inlabeltrue
+ \fi
+ \everypar{%
+ \@minipagefalse
+ \global\@newlistfalse
+ \if@inlabel
+ \global\@inlabelfalse
+ {\setbox\z@\lastbox
+ \ifvoid\z@
+ \kern-\itemindent
+ \fi}%
+ \box\@labels
+ \penalty\z@
+ \fi
+ \if@nobreak
+ \@nobreakfalse
+ \clubpenalty \@M
+ \else
+ \clubpenalty \@clubpenalty
+ \everypar{}%
+ \fi}%
+ \if@noitemarg
+ \@noitemargfalse
+ \if@nmbrlist
+ \refstepcounter\@listctr
+ \fi
+ \fi
+ \sbox\@tempboxa{\makelabel{#1}}%
+ \global\setbox\@labels\hbox{%
+ \unhbox\@labels
+ \hskip \itemindent
+ \hskip -\labelwidth
+ \hskip -\labelsep
+ \ifdim \wd\@tempboxa >\labelwidth
+ \box\@tempboxa
+ \gdef\set@break{\@breaklabel} % RUM Change 2.3.90
+ \else
+ \hbox to\labelwidth {\unhbox\@tempboxa}%
+ \gdef\set@break{}% % RUM Change 2.3.90
+ \fi
+ \hskip \labelsep}%
+ \set@break % RUM Change 2.3.90
+ \ignorespaces}
+\endinput
+%%
+%% End of file `expdlist.sty'.