Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Bold font in latex

  1. Apr 15, 2008 #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.
     
  2. jcsd
  3. Apr 16, 2008 #2

    cristo

    User Avatar
    Staff Emeritus
    Science Advisor

    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.
     
  4. Apr 16, 2008 #3

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    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: Sep 8, 2011
  5. Apr 16, 2008 #4

    cristo

    User Avatar
    Staff Emeritus
    Science Advisor

    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!

     
  6. Apr 16, 2008 #5

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    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.
     
  7. Jun 12, 2011 #6
    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} $
     
  8. Sep 8, 2011 #7
    thanks...DH post was very useful!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Bold font in latex
  1. How to bold in latex (Replies: 4)

Loading...