summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/auxhook.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/auxhook.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/auxhook.dtx63
1 files changed, 57 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/auxhook.dtx b/Master/texmf-dist/source/latex/oberdiek/auxhook.dtx
index 41d58d7698f..71f378c66ca 100644
--- a/Master/texmf-dist/source/latex/oberdiek/auxhook.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/auxhook.dtx
@@ -413,17 +413,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@{}}
% auxhook.sty & tex/latex/oberdiek/auxhook.sty\\
% auxhook.pdf & doc/latex/oberdiek/auxhook.pdf\\
% auxhook.dtx & source/latex/oberdiek/auxhook.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