Is it possible to have some kind of condition where, if you type an operator in math mode and it doesn't exist, it types it as text in a certain font?
In particular, when I write complexity papers I often want to use the
\mathsf font for the myriad of abbreviations in the field. The
complexity package does OK, but is missing a lot of stuff which I then manually declare with
\DeclareMathOperator. If this "else" statement existed for operators, that would be incredibly useful.