Latex Execution on this Site: No Bold Fonts?

  • Context: LaTeX 
  • Thread starter Thread starter ehrenfest
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

This discussion focuses on executing LaTeX on a specific website, addressing issues with bold Greek letters. Users recommend using the \mathbf command in math mode for bold formatting, while noting that it does not italicize characters. The \boldsymbol command, available through the AMS math package (\usepackage{amssymb,amsmath}), is suggested for bold italics. Additionally, the \bm package is recommended for more complex formatting, particularly for Greek letters.

PREREQUISITES
  • Familiarity with LaTeX syntax and commands
  • Understanding of math environments in LaTeX
  • Knowledge of the AMS math package (\usepackage{amssymb,amsmath})
  • Experience with the \bm package for bold symbols
NEXT STEPS
  • Learn how to implement the AMS math package in LaTeX documents
  • Research the differences between \mathbf, \boldsymbol, and \bm commands
  • Explore creating custom macros for vector and matrix formatting in LaTeX
  • Investigate additional LaTeX packages for enhanced mathematical typesetting
USEFUL FOR

LaTeX users, mathematicians, and anyone involved in typesetting mathematical documents who require precise formatting of Greek letters and symbols.

ehrenfest
Messages
2,001
Reaction score
1
\mathbf{\mu}

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.
 
Physics news on Phys.org
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.
 
Use \mathbf in math mode.

\mu versus \mathbf\mu \mu\;\mathbf\muOne drawback of mathbf: Its not in italics.

a versus \mathbf a a\;\mathbf aIf you have the AMS math package (\usepackage{amssymb,amsmath}), \boldsymbol puts things in bold italics.

\mu versus \mathbf\mu versus \boldsymbol\mu \mu\;\mathbf\mu\;\boldsymbol\mu
a versus \mathbf a versus \boldsymbol a a\;\mathbf a\;\boldsymbol a
 
Last edited:
D H said:
Use \mathbf in math mode.

\mu versus \mathbf\mu \mu\;\mathbf\mu
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 \mu\;\mathbf\mu\;\boldsymbol\mu
a versus \mathbf a versus \boldsymbol a a\;\boldsymbol a\;\boldsymbol a
 
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.
 
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} $
 
thanks...DH post was very useful!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K