I would like to implement the suggestions in the TUGboat 30:3, 2009 about the upright/italic and bold/normal in scalars, vectors and tensors. All this is about math.

I use this font:


For vectors, I always used \vec, so I just redefined it like so:


Now they are bold and italic, just like I want them. Is that even the correct way to do this?

How can I get characters in bold, italic and sans-serif?

I almost got it with this, they are just upright and not italic:


1 Answer 1


The cleanest way is to define a new math alphabet:


and then


If you want italic bold sans serif, just change the first declaration into


but keep in mind that the OT1 encoded Computer Modern Sans fonts don't have slanted bold face, so also




is required.

You should also consider using \bm of the bm package instead of \boldsymbol, so that \bm{\mathsf{T}} would be equivalent to the \mathbfsf{T} with the first declaration. However there is no predefined sans serif italic math alphabet. So, if you need also sans serif italic, a more economic setting would be





enter image description here

  • There is a brace } missing at the end of the \newcommand-line. I cannot edit it since it is just a single char. Commented Jan 26, 2013 at 21:03
  • The latter works great, even with greek letters. Thank you! Commented Jan 26, 2013 at 21:03
  • No joy with \Gamma: $\tens{\Gamma}$ gives a bold backtick-like something (both solutions, texlive 2021). Commented Aug 25, 2021 at 12:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .