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

LaTeX and Mac OS X's Grapher (advice)

  1. Dec 17, 2008 #1
    LaTeX and Mac OS X's "Grapher" (advice)

    Hello everyone.
    I recently stumbled upon something that I consider incredibly useful (and poor practice, I realize). I figured I'd post it here in the hopes of helping someone to discover this themselves.

    Using Grapher to create LaTeX expressions for PF:
    Go into Mac's Grapher and type up an equation. Grapher has a fairly intuitive expression editor in it. After you've created your equation right-click on the equation. An option should pop up saying "copy LaTeX expression". After that, when posting it to the forums, simply surround what's on your clipboard with [ tex] [ /tex] (minus the extra spaces) and you're done.

    Here's some useful keyboard shortcuts for things such as sqrt, sigma, and the integral thingy.
    To type these symbols in grapher, hold down "alt" then press the corresponding key
    = - [tex]\neq [/tex]

    p - [tex]\pi[/tex]

    w - [tex]\sum_{a}^{b}{f\left( x \right)}[/tex] (notated for ease of reading)

    d - [tex]\partial [/tex]

    / - [tex]\div [/tex]

    b - [tex]\int_{a}^{b}{f\left( x \right)}[/tex]

    v - [tex]\sqrt{a}[/tex]

    V (capitol V) - [tex]\sqrt[a]{b}[/tex]

    alt + capitol P makes a symbol which looks familiar and apparently can be used by Grapher but there seems to be some sort of issue with the LaTeX.

    You can make ∆ via alt+j but there's no latex expression for it. Same goes for ≈ with alt+x.
    î can be produce via alt+i then i again, but this seems pointless as it seems you can't make j-hat or k-hat.

    Anyway, I hope I've been of help.

    edit: mutton pointed out that there is a way to write delta and approximation via LaTeX (see below). Mac just doesn't do this for you. Sorry if the above comment was misleading. Thanks mutton.
    Last edited: Dec 17, 2008
  2. jcsd
  3. Dec 17, 2008 #2
    Re: LaTeX and Mac OS X's "Grapher" (advice)

    For manual conversion:

    \Delta - [tex]\Delta[/tex]
    \approx - [tex]\approx[/tex]
  4. Dec 17, 2008 #3
    Re: LaTeX and Mac OS X's "Grapher" (advice)

    \hat i - [tex]\hat i[/tex]

    \hat j - [tex]\hat j[/tex]

    \hat k - [tex]\hat k[/tex]

    The dots on the i and j don't look nice with the hat, so:

    \hat \imath - [tex]\hat \imath[/itex]

    \hat \jmath - [tex]\hat \jmath[/itex]

    I find that it really is fastest to just type the LaTeX directly when posting. (Then again, I've never made LaTeX code any other way.)
  5. Dec 17, 2008 #4
    Re: LaTeX and Mac OS X's "Grapher" (advice)

    yea, but I've got an easy way out so I guess I'll never learn. haha. thanks for the tips on [tex]\hat \imath [/tex] and such, though.
    edit: \imath isn't working for me... my latex for that symbol is \hat \imath... not sure why
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: LaTeX and Mac OS X's Grapher (advice)
  1. Mac with bloc cipher (Replies: 9)

  2. LatEX help (Replies: 4)

  3. Latex problems (Replies: 1)