TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

Matrix Stuff
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


Boxed Line or Column |  Dotted Line  |  Identity Matrix  |   | 


Boxed Line and/or Column

boxedColLine.png


Another possibilty is to use package easymat.


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}

local time: Sun Aug 25 02:12:58 CEST 2019 ; file is: 57.4453356481481 days old
contact webmaster _at_ TeXnik.de