|
|
Welcome to the TeXnik web site Matrix Stuff |
![]() |
||||||||||
|
Boxed Line or Column |
Dotted Line |
Identity Matrix |
|
Boxed Line and/or Column
Dotted Line in a Matrix To get something like this:
write in preamble
\usepackage{amsmath}
\newlength\myL
\settowidth\myL{$a_{11}\ldots a_{1n}$}
% adding the colseps
\addtolength{\myL}{3\arraycolsep}
Write:
\[
A=\begin{pmatrix}
a_{11} & \ldots & a_{1n} \\
\multicolumn{3}{c}{\makebox[\myL]{\dotfill}}
a_{n1} & \ldots & a_{nn}
\end{pmatrix}
\]
Identiy Matrix
The only imortant thing is to enter zero in the right manor: \begin{equation}
\left(
\begin{array}{ccccc}
1 \\
& 1 & & \mbox{\Huge 0}\\
& & 1 \\
& \mbox{\Huge 0} & & 1\\
& & & & 1
\end{array}
\right)
\end{equation}
|
|||||||||||