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

LaTeX Vertical line in matrix

  1. Feb 23, 2017 #1

    BvU

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Anyone know how to get a vertical line between two columns ? Like here in AMSTeX
     
  2. jcsd
  3. Feb 23, 2017 #2

    BvU

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Never mind, found an alternative:
    Code (LaTeX):

    \left[
    \begin{array}{cccc|c}
    1 & 0 & 3 & -1 & 0 \\
    0 & 1 & 1 & -1 & 0 \\
    0 & 0 & 0 & 0 & 0 \\
    \end{array
    }
    \right
    ]
     
    $$
    \left[
    \begin{array}{cccc|c}
    1 & 0 & 3 & -1 & 0 \\
    0 & 1 & 1 & -1 & 0 \\
    0 & 0 & 0 & 0 & 0 \\
    \end{array}
    \right]
    $$
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Vertical line in matrix
  1. Matrix .* vector? (Replies: 3)

Loading...