Math & Sciencebold greek character and letter in equation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
itb1000
Posts: 25
Joined: Mon Sep 29, 2008 4:19 pm

bold greek character and letter in equation

Post by itb1000 »

Hi,
I would like to get I, \sigma and B_0 in bold in this equation:

Code: Select all

\begin{equation}
H_\mathrm{CS} = -\gamma I \sigma B_0
\end{equation}
If I use \boldmath in this way:

Code: Select all

\begin{equation}
H_\mathrm{CS} = -\gamma \boldmath{I \sigma B_0}
\end{equation}
everything is in bold (also H_\mathrm{CS} = -\gamma).

When I use \mathbf:

Code: Select all

\begin{equation}
H_\mathrm{CS} = -\gamma \mathbf{I \sigma B_0}
\end{equation}
I and B_0 are bold but not \sigma.

You can I selectively get I, \sigma and B_0 in bold?
Please help me!!!

Thierry

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

bold greek character and letter in equation

Post by Stefan Kottwitz »

Hi Thierry,

use \boldsymbol of amsmath:

Code: Select all

H_\mathrm{CS} = -\gamma \boldsymbol{I \sigma B_0}
Stefan
LaTeX.org admin
itb1000
Posts: 25
Joined: Mon Sep 29, 2008 4:19 pm

Re: bold greek character and letter in equation

Post by itb1000 »

Hi Stefan,
thanks for your help.
\boldsymbol is working well.
Thierry
Post Reply