summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/classlist.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/classlist.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/classlist.dtx65
1 files changed, 58 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/classlist.dtx b/Master/texmf-dist/source/latex/oberdiek/classlist.dtx
index a4f7e2cef6c..19cc28c222b 100644
--- a/Master/texmf-dist/source/latex/oberdiek/classlist.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/classlist.dtx
@@ -361,7 +361,7 @@ and the derived files
#1 [\x]%
\ifx\\#3\\%
\else
- \space[#3]%
+ \space[#3]% hash-ok
\fi
}%
}
@@ -437,17 +437,68 @@ and the derived files
% the different directories in your installation TDS tree
% (also known as \xfile{texmf} tree):
% \begin{quote}
-% \sbox0{^^A
-% \begin{tabular}{@{}>{\ttfamily}l@{$\quad\rightarrow\quad$}>{\ttfamily}l@{}}
+% \def\t{^^A
+% \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}}
% classlist.sty & tex/latex/oberdiek/classlist.sty\\
% classlist.pdf & doc/latex/oberdiek/classlist.pdf\\
% classlist.dtx & source/latex/oberdiek/classlist.dtx\\
% \end{tabular}^^A
-% }%
+% }^^A
+% \sbox0{\t}^^A
% \ifdim\wd0>\linewidth
-% \mbox{}\nobreak\hskip0pt minus\leftmargin
-% \usebox0
-% \nobreak\hskip0pt minus\rightmargin
+% \begingroup
+% \advance\linewidth by\leftmargin
+% \advance\linewidth by\rightmargin
+% \edef\x{\endgroup
+% \def\noexpand\lw{\the\linewidth}^^A
+% }\x
+% \def\lwbox{^^A
+% \leavevmode
+% \hbox to \linewidth{^^A
+% \kern-\leftmargin\relax
+% \hss
+% \usebox0
+% \hss
+% \kern-\rightmargin\relax
+% }^^A
+% }^^A
+% \ifdim\wd0>\lw
+% \sbox0{\small\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\footnotesize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\scriptsize\t}^^A
+% \ifdim\wd0>\linewidth
+% \ifdim\wd0>\lw
+% \sbox0{\tiny\t}^^A
+% \ifdim\wd0>\linewidth
+% \lwbox
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
+% \else
+% \usebox0
+% \fi
+% \else
+% \lwbox
+% \fi
% \else
% \usebox0
% \fi