Sign up ×
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.

What is the correct way of having all operator names be set in, say, sans serif? Saying

An $\operator 1$.

seems to do the trick, but amsopn.sty defines


which seems to do more...

It would be nice if there were a @-free way of doing this, by the way.

share|improve this question
/me sighs... CAPTCHAS are starting to make it obvious that I am not human: I had to try 6 until I finally got it right: they are too difficult :/ – Mariano Suárez-Alvarez Feb 1 '12 at 23:32
You need to redefine \operator@font, which is used in other macros with that name. Either use \makeatletter and \makeatother or rewrite amsopn.sty in order not to use \operator@font. I guess that the choice is easy. :) – egreg Feb 2 '12 at 0:02

1 Answer 1

up vote 9 down vote accepted

You can define a new symbol font, and also redefine \mathsf to use it, otherwise you'd waste a math group and there are only 16 of them:


share|improve this answer
Is there any way to get this to work with unicode-math? – arynhard Feb 17 at 22:54
@arynhard This warrants a new question – egreg Feb 17 at 23:11

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.