I would like to typeset almost all of a formula in bold sans-serif font using
\mathsf. For example:
However, I would like to be able to do it more simply, by enclosing that parts that should be typeset normally in some sort of command. Like this:
Is there a way to do that?