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

LaTeX: Tabular Environment?

  1. Feb 16, 2012 #1
    Can seem to make it work? Am I missing something?

    [tex]
    \begin{tablular}{c c c}
    P & Q & R \\
    S & T & V
    \end{tablular}
    [/tex]
     
  2. jcsd
  3. Feb 16, 2012 #2
    The tabular environment is currently not supported by mathjax. So you'll have to use another environment for this.

    See http://www.mathjax.org/docs/1.1/tex.html#supported-latex-commands [Broken] for all currently supported commands and environment.

    See https://www.physicsforums.com/showthread.php?t=546968 for alternatives to the tabular environment.
     
    Last edited by a moderator: May 5, 2017
  4. Feb 16, 2012 #3
    fyi, we don't use LaTeX anymore. We use MathJax which supports LaTeX markup. Sometimes you can create a table structure using array.
     
  5. Feb 16, 2012 #4
    Thanks folks! I just used an array. I miss being able to add an \hline though :frown:
     
  6. Feb 16, 2012 #5
    \hline works in array. For example:

    Code (Text):

    [tex]\begin{array}{c|cc}
    \hline
    A & B & C\\
    \hline
    D & E & F\\
    \hline
    \end{array}
    [/tex]
     
    gives

    [tex]\begin{array}{c|cc}
    \hline
    A & B & C\\
    \hline
    D & E & F\\
    \hline
    \end{array}
    [/tex]
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: LaTeX: Tabular Environment?
  1. Problem with latex (Replies: 2)

  2. Latex test (Replies: 2)

  3. Facebook and Latex (Replies: 3)

  4. LaTeX incomplete (Replies: 2)

  5. Latex broken? (Replies: 2)

Loading...