I'd like to write a macro for typesetting slanted letters in bold for highlighting vectors. I've used this implemenation:
\newcommand\vect[1]{\text{\bfseries\sffamily\slshape#1\/}}
But I've run into problems with kerning -- when I want subscripted vector (like \vect{F}_g
), the italic correction (\/
) causes there's to wide space but when I omit \/
, the space between vector and |
is too narrow.
It's the same when I tried it with \mathit
macro. So I wonder whether there is any possibility how to handle this in general (not to have \/
written after each vector without subscript.