summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty42
1 files changed, 35 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
index c89139bd40d..bd89310b269 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-ulem.sty
@@ -18,31 +18,59 @@
\LetLtxMacro\LWR@ulemorigemph\emph
\LetLtxMacro\LWR@ulemorigtextbf\textbf
\NewDocumentCommand{\uline}{+m}{%
-\InlineClass{uline}{#1}%
+\LWR@HTMLtextstyle%
+ {text-decoration:underline;text-decoration-skip}%
+ {uline}{#1}%
}
\NewDocumentCommand{\uuline}{+m}{%
-\InlineClass{uuline}{#1}%
+\LWR@HTMLtextstyle%
+ {%
+ text-decoration:underline;text-decoration-skip;%
+ text-decoration-style:double%
+ }%
+ {uuline}{#1}%
}
\NewDocumentCommand{\uwave}{+m}{%
-\InlineClass{uwave}{#1}%
+\LWR@HTMLtextstyle%
+ {%
+ text-decoration:underline;text-decoration-skip;%
+ text-decoration-style:wavy%
+ }%
+ {uwave}{#1}%
}
\NewDocumentCommand{\sout}{+m}{%
-\InlineClass{sout}{#1}%
+\LWR@HTMLtextstyle%
+ {text-decoration:line-through}%
+ {sout}{#1}%
}
\NewDocumentCommand{\xout}{+m}{%
-\InlineClass{xout}{#1}%
+\LWR@HTMLtextstyle%
+ {text-decoration:line-through}%
+ {xout}{#1}%
}
\NewDocumentCommand{\dashuline}{+m}{%
-\InlineClass{dashuline}{#1}%
+\LWR@HTMLtextstyle%
+ {%
+ text-decoration:underline;%
+ text-decoration-skip;%
+ text-decoration-style:dashed%
+ }%
+ {dashuline}{#1}%
}
\NewDocumentCommand{\dotuline}{+m}{%
-\InlineClass{dotuline}{#1}%
+\LWR@HTMLtextstyle%
+ {%
+ text-decoration:underline;%
+ text-decoration-skip;%
+ text-decoration-style:dotted%
+ }%
+ {dotuline}{#1}%
}
\NewDocumentCommand{\ULthickness}{}{}
\newlength{\ULdepth}