Take the 2-minute tour ×
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 want all my equations to be in italics and the vectors to be bold as well. When I write the following LaTeX code it gives italic equations:

\begin{equation}
F = kx
\end{equation}

But when I re-write to make the vectors bold, the vectors become bold but don't stay italic anymore:

\begin{equation}
\mathbf{F} = k\mathbf{x}
\end{equation}

How can I keep the whole equation in italics with vectors appearing as bold?

share|improve this question
    
How about this? –  I am who I say I am Oct 27 '13 at 0:14
add comment

3 Answers

You can also use the \bm command, from the bm package, which seems preferable in a number of cases. See: \bm package versus \boldsymbol

share|improve this answer
add comment

You could use the bm package and its command \bm. One of the very nice things about this package is that \bm works equally well on letters and symbols; thus, one doesn't have to remember to use \mathbf on letters and \boldsymbol on symbols. Another nice aspect -- especially useful for your setup -- is that you get bold-italic rather than bold-upright output.

enter image description here

\documentclass{article}
\usepackage{bm}
\begin{document}
\begin{equation}
\bm{F} = k\bm{x}
\end{equation}
\end{document}
share|improve this answer
add comment
\documentclass[preview,border=12pt]{standalone}
\usepackage{amsmath}
\begin{document}
\abovedisplayskip=0pt\relax%don't use this line in your production
\begin{equation}
\boldsymbol{F} = k\, \boldsymbol{x}
\end{equation}
\end{document}

enter image description here

share|improve this answer
    
Who cancelled the upvote? –  I am who I say I am Oct 27 '13 at 0:54
add comment

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.