diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/ulem.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/ulem.4ht | 83 |
1 files changed, 50 insertions, 33 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/ulem.4ht b/Master/texmf-dist/tex/generic/tex4ht/ulem.4ht index c8e55280dba..c483c3ae412 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/ulem.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/ulem.4ht @@ -1,44 +1,61 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% ulem.4ht 2009-05-21-09:32 % -% Copyright (C) 2001--2009 Eitan M. Gurari % -% % -% This work may be distributed and/or modified under the % -% conditions of the LaTeX Project Public License, either % -% version 1.3c of this license or (at your option) any % -% later version. The latest version of this license is % -% in % -% http://www.latex-project.org/lppl.txt % -% and version 1.3c or later is part of all distributions % -% of LaTeX version 2005/12/01 or later. % -% % -% This work has the LPPL maintenance status "maintained".% -% % -% This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% If you modify this program your changing its signature % -% with a directive of the following form will be % -% appreciated. % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2009-05-21-09:32} +% ulem.4ht 2022-04-26-14:00 % +% Copyright (C) 2001-2009 Eitan M. Gurari % +% Copyright 2009-2022 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. +\def\:ulemchoose#1#2{\relax\ifmmode\csname a:#1-math\endcsname#2\csname b:#1-math\endcsname\else\csname a:#1\endcsname#2\csname b:#1\endcsname\fi} -\expandafter\def\csname uline \endcsname{\relax - \ifmmode\expandafter\underline - \else \a:uline \bgroup \aftergroup\b:uline \expandafter\ULset\fi} \NewConfigure{uline}{2} -\def\uuline#1{\relax \a:uuline {#1}\b:uuline} +\NewConfigure{uline-math}{2} +\def\:tempa#1{\:ulemchoose{uline}{#1}} +\HLet\uline\:tempa + \NewConfigure{uuline}{2} -\def\sout#1{\relax \a:sout {#1}\b:sout} +\NewConfigure{uuline-math}{2} +\def\:tempa#1{\:ulemchoose{uuline}{#1}} +\HLet\uuline\:tempa + \NewConfigure{sout}{2} -\def\xout#1{\relax \a:xout {#1}\b:xout} +\NewConfigure{sout-math}{2} +\def\:tempa#1{\:ulemchoose{sout}{#1}} +\HLet\sout\:tempa + \NewConfigure{xout}{2} -\def\uwave#1{\relax \a:uwave {#1}\b:uwave} +\NewConfigure{xout-math}{2} +\def\:tempa#1{\:ulemchoose{xout}{#1}} +\HLet\xout\:tempa + \NewConfigure{uwave}{2} +\NewConfigure{uwave-math}{2} +\def\:tempa#1{\:ulemchoose{uwave}{#1}} +\HLet\uwave\:tempa + +\NewConfigure{dashuline}{2} +\NewConfigure{dashuline-math}{2} +\def\:tempa#1{\:ulemchoose{dashuline}{#1}} +\HLet\dashuline\:tempa + +\NewConfigure{dotuline}{2} +\NewConfigure{dotuline-math}{2} +\def\:tempa#1{\:ulemchoose{dotuline}{#1}} +\HLet\dotuline\:tempa + \def\:temp{\z@} \HLet\ULthickness\:temp |