TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to display vectors as bold and italic. The command \mathbf sets the letters non-italic. I also googled a bit and stumbled upon \mathbf{\em y} or \mathbfit{y}, which all didn't work.

I hope someone can help me on this.

share|improve this question
I've marked your inline code with backticks `. (You don't have to sign with your name since it automatically appears in the lower right corner of your post.) – Hendrik Vogt Mar 28 '11 at 8:30
up vote 24 down vote accepted

It depends on the math font, but the bm package can handle most of them. The usage is then $\bm{y}$

share|improve this answer
It does! Thanks :) – Alexx Hardt Mar 28 '11 at 8:24
This works. But it is not working within multicolumn environment like the following case, \multicolumn{2}{c}{$\bm{a\:(\si{\angstrom})}$} but it works for \multicolumn{2}{c}{$\bm{\alpha_T\; (K^{-1})}$}. How to solve this? – cosmicraga Sep 12 '13 at 5:30

There is also \boldsymbol{} from the package amsbsy (loaded by amsmath). See \bm package versus \boldsymbol for a discussion of the advantages and disadvantages of each command.

share|improve this answer
Cool answer. In my case no need to load extra packages (like bm), because when working with math stuff, I usually use the amsmath. :) – loved.by.Jesus Jan 8 at 15:15

The answer depends on the math fonts you are actually using. For the standard fonts and as long as you use only letters and numbers this should work:

\DeclareMathAlphabet      {\mathbfit}{OML}{cmm}{b}{it}

share|improve this answer

What I did, is to declare my own command for a vector, well its pretty basic, but you can add other features, like an arrow.


And the usage:

\vect{X} = \left[x_1,x_2,\ldots,x_n \right]^T


enter image description here

share|improve this answer
This is already covered by another answer... – Werner May 8 '14 at 19:22
Yes, I took the idea from kawahara.ca/latex-bold-vector-and-arrow-vectors. Sorry I didn't point that out. – Jose Yovany Luis Garcia May 9 '14 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.