[texhax] Re : Underline styles

Reinhard Kotucha reinhard.kotucha at web.de
Thu Feb 2 20:29:35 CET 2012

On 2012-02-02 at 17:08:38 +0000, Philip TAYLOR wrote:

 > > 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 !

  texdoc ulem

It supports line-breaking (but not automatic hyphenation) and works
with LaTeX and plain TeX.


Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the texhax mailing list