Bold font in latex

  • LaTeX
  • Thread starter ehrenfest
  • Start date
  • #1
2,012
1
[tex] \mathbf{\mu}[/tex]

What is used to execute latex on this website? When I type that into TeXnic center and compile it without MikTex, it is not bold on my computer.
 

Answers and Replies

  • #2
cristo
Staff Emeritus
Science Advisor
8,107
73
For some reason, latex doesn't really like making greek letters bold. A workaround I found (which is a little annoying, but at least it works) is to use something like \mbox{\boldmath${\pi}$} if in a math environment.

I don't know what is used on the website.
 
  • #3
D H
Staff Emeritus
Science Advisor
Insights Author
15,393
685
Use \mathbf in math mode.

\mu versus \mathbf\mu [tex]\mu\;\mathbf\mu[/tex]


One drawback of mathbf: Its not in italics.

a versus \mathbf a [tex]a\;\mathbf a[/tex]


If you have the AMS math package (\usepackage{amssymb,amsmath}), \boldsymbol puts things in bold italics.

\mu versus \mathbf\mu versus \boldsymbol\mu [tex]\mu\;\mathbf\mu\;\boldsymbol\mu[/tex]
a versus \mathbf a versus \boldsymbol a [tex]a\;\mathbf a\;\boldsymbol a[/tex]
 
Last edited:
  • #4
cristo
Staff Emeritus
Science Advisor
8,107
73
Use \mathbf in math mode.

\mu versus \mathbf\mu [tex]\mu\;\mathbf\mu[/tex]
Whilst that seems to work on the forum, it doesn't work for me (or, it seems, for the OP) hence why I had to find a workaround. The method you list below works fine!

If you have the AMS math package (\usepackage{amssymb,amsmath}), \boldsymbol puts things in bold italics.

\mu versus \mathbf\mu versus \boldsymbol\mu [tex]\mu\;\mathbf\mu\;\boldsymbol\mu[/tex]
a versus \mathbf a versus \boldsymbol a [tex]a\;\boldsymbol a\;\boldsymbol a[/tex]
 
  • #5
D H
Staff Emeritus
Science Advisor
Insights Author
15,393
685
I generally use \boldsymbol. Hmm, actually, I don't, at least not directly. I generally use macros for matrices and vectors, and those in turn use \boldsymbol. That way if someone tells me to use arrows for vectors I just have to change my vector macro.
 
  • #6
1
0
you have to use the package{bm}. Then inside math environment type Greek letters as {\bm \alpha}, {\bm \beta}, etc...

usepackege{bm}

then,

$ {\bm beta} = {\bm \ alpha} {\bf \gamma} $
 
  • #7
thanks...DH post was very useful!
 

Related Threads on Bold font in latex

  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
6
Views
911
  • Last Post
Replies
2
Views
25K
Replies
2
Views
4K
Replies
1
Views
3K
  • Last Post
Replies
1
Views
12K
  • Last Post
Replies
16
Views
24K
Replies
4
Views
3K
Replies
3
Views
3K
Replies
0
Views
2K
Top