[texhax] Re : Underline styles

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Thu Feb 2 18:08:38 CET 2012

> Is anyone aware in the regular way (not using any of graphical
> packages) to underline text (or math snippet) by dashed, or dotted, or
> wavy line?

> Victor

If you can be confident that no line-breaking will be required,
you could use any standard technique for determining the width
of the text, then typesetting it \rlapped and overlaid by a
\raised (negatively speaking) box of the same width containing
\leaders of your desired underline style ...

If line-breaking is involved, consider LuaTeX !

Philip Taylor

More information about the texhax mailing list