Then I write


which yields an error:

! Undefined control sequence.
\vec #1->\mathbm 
l.564 \[\vec{a}

If you're interested in printing boldface mathematics, use \mathbf{...} instead:


Alternatively, you need to use

\usepackage{bm}% http://ctan.org/pkg/bm
\renewcommand{\vec}[1]{\bm{#1}}% Bold math

This shows the difference:

Difference between bm and mathbf

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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