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

Matrices in the Gummi editor?

  1. Mar 25, 2015 #1

    Stephen Tashi

    User Avatar
    Science Advisor

    What are some examples of writing matrices in the Gummi latex editor? Something about the syntax used on the forum doesn't work for me when used in Gummi.
     
  2. jcsd
  3. Mar 25, 2015 #2

    DrClaude

    User Avatar

    Staff: Mentor

    Can you show what you tried that doesn't work?
     
  4. Mar 25, 2015 #3

    Stephen Tashi

    User Avatar
    Science Advisor

    This example doesn't work when the underlying LaTex is pasted into the Gummi editor:



    \begin{pmatrix} 1 & 0 \\ -1 & 1 \end{pmatrix}
     
  5. Mar 26, 2015 #4

    DrClaude

    User Avatar

    Staff: Mentor

    pmatrix is an extension from amslatex. In the preamble of your tex file, add

    \usepackage{amsmath}

    and it will work. There are many useful extensions in amsmath and I use it in almost all my documents. See the instruction manual.
     
  6. Mar 27, 2015 #5

    Stephen Tashi

    User Avatar
    Science Advisor

    Thank you DrClaude.
    \usepackage{amsmath} in the preamble makes things behave as expected.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Matrices in the Gummi editor?
  1. LaTeX Editor (Replies: 2)

  2. LaTeX editor for Mac? (Replies: 5)

  3. Finding a latex editor (Replies: 6)

  4. LaTeX editor (Replies: 8)

Loading...