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

Homework Help: Tilted dots in matrix(LaTeX) - help please!

  1. Nov 21, 2007 #1
    First off, don't know if this is the right section.

    I've been given some homework where I should define operations of matrixes in LaTeX.

    My problem is that I don't know how to do vertical dots (nor tilted to 45degrees) in the matrix.

    A= \begin{pmatrix}
    a_{11} & a_{12} & ... & a_{1n} \\
    a_{21} & a_{22} & ... & a_{2n} \\
    ... & ... & & ... \\
    a_{m1} & a_{m2} & ... & a_{mn}
    \end{pmatrix}

    the red dots must be tilted like this:
    95d86d25f324076227a08a1de8ffebbb.png
     
  2. jcsd
  3. Nov 21, 2007 #2

    Avodyne

    User Avatar
    Science Advisor

    [tex]\cdots \vdots \ddots[/tex]
     
  4. Nov 21, 2007 #3
    Thank you!
     
  5. Nov 27, 2008 #4
    use \cdots for horizontal dots, \vdots for vertical dots and \ddots for diagonal dots.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook