TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to draw wavy line in Latex simply in the sentence line of an article paragraph.

I know there is a underline \uwave comment, but I like to have just wavy line itself, without anything above.

I am looking for something such that \uwave{...} without ....

Adam below provides an answer, but I would like to have a way to shift the underwaveline to the normal position like --- or - - -?

Please help!

share|improve this question
up vote 6 down vote accepted

You can just use \hspace inside of \uwave with the length that you want.






enter image description here

(Note that normalem retains the normal treatment of \emphasized text. See p. 1 of the ulem documentation.)


If you want the wavy line in the middle of the text, you can do:


Which produces:

enter image description here

You could wrap it in a macro:


And then you can do:


Edit 2

If you want to use this inside of \caption, you will need to \protect it. (See What is the difference between Fragile and Robust commands?) Here's a complete MWE:


\usepackage{mwe} % for a complete Minimal Working Example





enter image description here

share|improve this answer
Thanks, is there a way to shift the underwaveline to the normal position like --- or - - -? – Idear Mar 9 '14 at 3:35
You could use \raisebox{1ex}{\uwave{\hspace{1cm}}} – corporal Mar 9 '14 at 3:46
Looks like we had the same idea, @corporal. :) – Adam Liter Mar 9 '14 at 3:47
@Idear see my edit. – Adam Liter Mar 9 '14 at 3:48
@Idear see my update. – Adam Liter Mar 9 '14 at 4:07

Your Answer


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.