source: CPL/oasis3-mct/branches/OASIS3-MCT_2.0_branch/doc/expdlist.sty @ 4775

Last change on this file since 4775 was 4775, checked in by aclsce, 4 years ago
  • Imported oasis3-mct from Cerfacs svn server (not suppotred anymore).

The version has been extracted from https://oasis3mct.cerfacs.fr/svn/branches/OASIS3-MCT_2.0_branch/oasis3-mct@1818

  • Property svn:executable set to *
File size: 4.4 KB
Line 
1%%
2%% This is file `expdlist.sty',
3%% generated with the docstrip utility.
4%%
5%% The original source files were:
6%%
7%% expdlist.dtx  (with options: `style')
8%%
9%% This is a generated file.
10%%
11%% Copyright 1992 1999 R. Huelse, W. Kaspar
12%%
13%% This file is part of the expdlist package.
14%% ------------------------------------------
15%%
16%% It can redistributed and/or modified under the terms
17%% of the LaTeX Project Public License Distributed from CTAN
18%% archives in directory macros/latex/base/lppl.txt; either
19%% version 1 of the License, or (at your option) any later version.
20%%
21\def\filename{EXPDLIST}
22\def\filedate{22.09.1999}
23\def\fileversion{V 2.4}
24\def\docdate {22.09.99}
25%% \CheckSum{214}
26%% \CharacterTable
27%%  {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
28%%   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
29%%   Digits        \0\1\2\3\4\5\6\7\8\9
30%%   Exclamation   \!     Double quote  \"     Hash (number) \#
31%%   Dollar        \$     Percent       \%     Ampersand     \&
32%%   Acute accent  \'     Left paren    \(     Right paren   \)
33%%   Asterisk      \*     Plus          \+     Comma         \,
34%%   Minus         \-     Point         \.     Solidus       \/
35%%   Colon         \:     Semicolon     \;     Less than     \<
36%%   Equals        \=     Greater than  \>     Question mark \?
37%%   Commercial at \@     Left bracket  \[     Backslash     \\
38%%   Right bracket \]     Circumflex    \^     Underscore    \_
39%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
40%%   Right brace   \}     Tilde         \~}
41%%
42
43\typeout{Document Substyle `EXPDLIST'.
44         Released \filedate \space (\fileversion)}
45\typeout{English Documentation \space \docdate}
46\def\compact%
47   {\setlength{\itemsep}{-\parsep}}
48\def\setleftmargin%
49   #1%
50   {\setlength{\leftmargin}{#1}}
51\let\setlabelsize = \setleftmargin
52\def\setlabelphantom%
53   #1%
54   {\def\set@labelphantom%
55     {\setbox\@tempboxa=\hbox spread \labelsep {\@labelstyle #1\hfil}%
56      \setleftmargin{\wd\@tempboxa}%
57     }%
58   }
59\def\set@labelphantom{}
60\def\@labelstyle%
61   {\bfseries}
62\def\setlabelstyle%
63   #1%
64   {\def\@labelstyle{#1}}
65\def\breaklabel%
66   {\def\@breaklabel%
67       {\rule{0mm}{0mm}%
68        \\%
69       }%
70   }%
71\def\@breaklabel%
72   {}
73\let\@orgdlist\description
74\def\description%
75   {\@ifnextchar[%
76       {\@expdlist}%
77       {\@orgdlist}%
78   }
79\let\enddescription\endlist
80\def\@expdlistlabel#1%
81    {\@labelstyle
82     #1%
83     \hfil%
84    }
85\def\@expdlist[#1]%
86    {\list{}%
87      {\def\@breaklabel{}%
88       \def\set@labelphantom{}%
89       \def\@labelstyle{\bfseries}%
90       #1%
91       \set@labelphantom%
92       \setlength{\labelwidth}{\leftmargin}%
93       \addtolength{\labelwidth}{-\labelsep}%
94       \let\makelabel\@expdlistlabel%
95      }%
96    }
97\newlength{\listpartsep}
98\listpartsep = 1ex
99\long\def\listpart%
100   #1%
101   {\vspace{\listpartsep}%
102    \item[]\hspace*{-\leftmargin}%
103    \@tempskipa=\linewidth%
104    \addtolength{\@tempskipa}{\rightmargin}%
105    \addtolength{\@tempskipa}{\leftmargin}%
106    \parbox{\@tempskipa}{#1}%
107    \vspace{\listpartsep}%
108   }
109\def\@item[#1]{%
110  \if@noparitem
111    \@donoparitem
112  \else
113    \if@inlabel
114      \indent \par
115    \fi
116    \ifhmode
117      \unskip\unskip \par
118    \fi
119    \if@newlist
120      \if@nobreak
121        \@nbitem
122      \else
123        \addpenalty\@beginparpenalty
124        \addvspace\@topsep
125        \addvspace{-\parskip}%
126      \fi
127    \else
128      \addpenalty\@itempenalty
129      \addvspace\itemsep
130    \fi
131    \global\@inlabeltrue
132  \fi
133  \everypar{%
134    \@minipagefalse
135    \global\@newlistfalse
136    \if@inlabel
137      \global\@inlabelfalse
138      {\setbox\z@\lastbox
139       \ifvoid\z@
140         \kern-\itemindent
141       \fi}%
142      \box\@labels
143      \penalty\z@
144    \fi
145    \if@nobreak
146      \@nobreakfalse
147      \clubpenalty \@M
148    \else
149      \clubpenalty \@clubpenalty
150      \everypar{}%
151    \fi}%
152  \if@noitemarg
153    \@noitemargfalse
154    \if@nmbrlist
155      \refstepcounter\@listctr
156    \fi
157  \fi
158  \sbox\@tempboxa{\makelabel{#1}}%
159  \global\setbox\@labels\hbox{%
160    \unhbox\@labels
161    \hskip \itemindent
162    \hskip -\labelwidth
163    \hskip -\labelsep
164    \ifdim \wd\@tempboxa >\labelwidth
165      \box\@tempboxa
166      \gdef\set@break{\@breaklabel}     % RUM Change 2.3.90
167    \else
168      \hbox to\labelwidth {\unhbox\@tempboxa}%
169      \gdef\set@break{}%                % RUM Change 2.3.90
170    \fi
171    \hskip \labelsep}%
172    \set@break                          % RUM Change 2.3.90
173  \ignorespaces}
174\endinput
175%%
176%% End of file `expdlist.sty'.
Note: See TracBrowser for help on using the repository browser.