diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex209/contrib/misc/deflist.sty |
Initial commit
Diffstat (limited to 'macros/latex209/contrib/misc/deflist.sty')
-rw-r--r-- | macros/latex209/contrib/misc/deflist.sty | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/latex209/contrib/misc/deflist.sty b/macros/latex209/contrib/misc/deflist.sty new file mode 100644 index 0000000000..621e466472 --- /dev/null +++ b/macros/latex209/contrib/misc/deflist.sty @@ -0,0 +1,16 @@ +% *** DEFLIST **** +% +% Aufruf: \begin{deflist}{Label} +% \item[label] TeX +% \end{deflist} +% erzeugt: Liste, bei der das laengste Label die Einrueckungstiefe bestimmt +% +%\def\deflabel#1{\bf #1\hfill} +\def\deflabel#1{#1\hfill} +\def\deflist#1{ +% \list{}{\settowidth{\labelwidth}{\bf #1} + \list{}{\settowidth{\labelwidth}{#1} + \setlength{\leftmargin}{\labelwidth} + \addtolength{\leftmargin}{\labelsep} + \let\makelabel \deflabel}} +\let\enddeflist\endlist |