Whenever I write a hyphenated word inside
\mathbf or whatever ...
... I always intend for the hyphens to be hyphens, not minus signs. There is a webpage giving several workarounds for this (http://www.logic.at/staff/salzer/etc/mhyphen/), but I would like a proper solution where I don't have to write monstrosities like
My vision is to redefine the
\mathit command (and its cousins) so that when
- appears in its argument, it is automatically replaced with whatever command is necessary to produce a hyphen.
Is this possible?
Might doing so cause problems? I mean, do people ever put a whole formula inside
\mathit? ('Cause then you would want the
-to produce a minus.)