summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/success/table2.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent/success/table2.tex')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/success/table2.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/success/table2.tex b/Master/texmf-dist/doc/support/latexindent/success/table2.tex
new file mode 100644
index 00000000000..cc0c12cc763
--- /dev/null
+++ b/Master/texmf-dist/doc/support/latexindent/success/table2.tex
@@ -0,0 +1,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}
+