How to Create Tilted Dots in a LaTeX Matrix?

  • Context: LaTeX 
  • Thread starter Thread starter morpheus89
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 39K views
morpheus89
Messages
2
Reaction score
0
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
 
Physics news on Phys.org
morpheus89 said:
Thank you!

use \cdots for horizontal dots, \vdots for vertical dots and \ddots for diagonal dots.