I am able to produce a standard length \sim with a tiny S above it, but I would like the \sim tilde to be longer (maybe one and half times as wide as a capital letter). Any tips on how to change the width/length of \sim?


$A \widesim{S} B$

$A \widesim[2]{SS} B$

If the scaling is not excessive, the symbol should render well. The optional argument, that tells LaTeX how much to scale horizontally, should not be more than 2.5, otherwise some artifacts will appear. The default value is, as you requested, 1.5.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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