I spent a couple of minutes trying to figure out how to create a nice tilde (~) for writing the name of Max/MSP externals in LaTeX (e.g. dac~), so I figured I could post the solution in case anyone else wonders. First I tried using `\tilde{}`

and `\widetilde{}`

, but they didn’t look nice. However, this little thing does the trick:

`$\sim$`

I guess you need the math environment to get this working. I have the following in my preamble:

`\usepackage{amsmath}`

Hi there

Thanks for this piece of advice – works like a gem. I was going a bit crazy trying to figure this out

Thanks, this works, but it looks a little funny with different fonts.

Thanks again.

Jared

Great ! I couldn’t make it without a letter !

Thanks a lot.

Thanks mate — was looking for how to do this. Every time I added ~ or \tilde in math mode, it always added a tilde accent over the proceeding character. Works great – thanks for posting this so others can benefit.

Thanks – that’s really helpful.

Thanks Alexander! I’ve had use for this post a few times now since it’s easier to go to this post than to dig up old documents.