I want the overlayed underline like the one shown here, but, since the ulem package only offer {}as enclosing characters, the code \uline{ab\uwave{cd}ef} doesn't work. Does anyone have a simple solution to this? Thanks!!


2 Answers 2


EDITED to try to automate. There are four commands \tuwave, \buwave, \tuline, and \buline. The t signifies "top" and the b signifies "bottom", depending on whether the squiggle or line are on top or bottom level. The wave commands take one argument signifying the characters to be underset with a wave. The line commands take two arguments, the first are the letters to output, and the second is a text string used to determine the length of the underline.

\parskip 1em

enter image description here


The following example defines \uwavelow to get a lowered wave line to avoid clashes with the underline. Also it seems, that \uwavelow (or \uwave) can be put into \uline. But the other way round is more trickier. The example uses a box to hide the \uline inside \uwavelow (or \uwave).








  • where to find the defination of \sixly?
    – lyl
    Apr 16, 2019 at 13:29
  • @lyl It is defined by package ulem: \font\sixly=lasy6 Apr 19, 2019 at 21:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .