Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have found \uwave in the ulem package, and its definition in ulem.sty:

% Now define various special underlines.  All the definitions go like
% \def \command {\bgroup \markoverwith{something} \ULon}

% For drawing a wavey underline instead of a straight one the command
% is \uwave (under-wave) which uses the wiggle from 6-pt lasy font:

\def\uwave{\bgroup \markoverwith{\lower3.5\p@\hbox{\sixly \char58}}\ULon}
\font\sixly=lasy6 % does not re-load if already loaded, so no memory problem.

I would like to keep the underline wave, but much thicker, does anyone know how to do it?

share|improve this question
add comment

1 Answer

There is a bold variant of the lasy fonts: lasyb10. Some scaling is needed to fit the width of the character of font lasy6 (e.g., because of different design size).

The example is plain TeX syntax, therefore I keep it.

% plain TeX    
\input ulem.sty\relax
\catcode`\@=11 %

\font\uwavefontold=lasy6
\font\uwavefont=lasyb10 scaled 652

\def\uwaveold{%
  \bgroup
    \markoverwith{%
      \lower3.5\p@\hbox{\uwavefontold\char58}%
    }%
  \ULon
}
\def\uwave{%
  \bgroup
    \markoverwith{%
      \lower3.5\p@\hbox{\uwavefont\char58}%
    }%
  \ULon
}

\uwaveold{Hello World}

\uwave{Hello World}

\bye

Compare the result:

uwave with lasy6 and lasyb10

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.