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 want to change the equation font to mathbf in a single equation environment, equation or align.

How do I do that? I tried

equation1 \\


equation1 \\

with no luck. It seems as if \\ breaks the \mathbf environment..?

share|improve this question
up vote 5 down vote accepted

For making a complete environment bold, you could use the switch \boldmath. \unboldmath switches back.

  ax + by + c &= 0 \\
  ax - by &= xy

If \bf is available (base classes still define it), \everymath{\bf} before the align environment switches to the \mathbf font for the complete environment. Of course it could be done without \bf, but it would be the quickest way.

share|improve this answer
Thanks for your input! It's definitely an option, but it's not quite the same as mathbf. Your solution sets the equation in bold AND italic, which mathbf doesn't. – 0sh Jan 8 '11 at 18:28
@mewoshh: Ok, I focussed on bold - but mathbf is possible, I'lledit. – Stefan Kottwitz Jan 8 '11 at 18:56
@Stefan: \everymath{\bf} also effects footnotes – Herbert Jan 8 '11 at 19:18
@Stefan: btw - what if instead of mathbf I want to use any other of the math fonts, for instance mathtt? Can't use mathbold or bf here - there must be a way to use math* in the environment..? – 0sh Jan 8 '11 at 20:03
@Herbert: I know, but footnotes should not be used within a math environment, and after it I would disable this setting. I didn't mean to use \everymath simply globally because of such side effects. – Stefan Kottwitz Jan 8 '11 at 21:08

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.