summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/success/table2.tex
blob: cc0c12cc763fad44c30a43ae390dd093dffd64e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% arara: indent: {overwrite: true, silent: yes}
\documentclass{article}
\usepackage{array} % Thanks to Heiko for catching the redundant package loading
\newcolumntype{M}{>{$}c<{$}}

\begin{document}

\begin{table}%
	\centering
	\begin{tabular}{M|MMMMMMMMM}
		    & A_1 & A_2 & A_3 & A_4 & A_5 & A_6 & A_7 & A_8 & A_9 \\\hline
		A_1 & 0   &     &     &     &     &     &     &     &     \\
		A_2 &     & 0   &     &     &     &     &     &     &     \\
		A_3 &     &     & 0   &     &     &     &     &     &     \\
		A_4 &     &     &     & 0   &     &     &     &     &     \\
		A_5 &     &     &     &     & 0   &     &     &     &     \\
		A_6 &     &     &     &     &     & 0   &     &     &     \\
		A_7 &     &     &     &     &     &     & 0   &     &     \\
		A_8 &     &     &     &     &     &     &     & 0   &     \\
		A_9 &     &     &     &     &     &     &     &     & 0   \\
	\end{tabular}
	\caption{Some caption}
	\label{table:mytable}
\end{table}
\end{document}