Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

2 Answers

up vote 7 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

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:

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

\begin{document}
$a=\mathbfit{a}$
\end{document}
share|improve this answer

Your Answer

 
discard

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.