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

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
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
up vote 12 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 '15 at 22:54
@arynhard This warrants a new question – egreg Feb 17 '15 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.