what is an ams matrix?
could you provide a minimal example?
/daleif
You're kidding, right?
By "ams matrix" I mean any of the amsmath package matrix
extensions to LaTeX, such as pmatrix, bmatrix, etc. For
example,
\documentclass[10pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
\begin{bmatrix}
1 & 0 & 0 \\
0 & 1 & 0 \\
0 & 0 & 1
\end{bmatrix}
\end{align}
\end{document}
By a partition, I mean a way of adding a dashed line between
matrix rows or columns - either a dashed horizontal line between
rows, or a dashed vertical line between columns.
--
% Randy Yates % "Bird, on the wing,
%% Fuquay-Varina, NC % goes floating by
%%% 919-577-9882 % but there's a teardrop in his eye..."
%%%% <ya...@ieee.org> % 'One Summer Dream', *Face The Music*, ELO
http://home.earthlink.net/~yatescr
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\begin{bmatrix}
a_{11} & a_{12} & \dots & a_{1n}\\
a_{21} & a_{22} & \dots & a_{2n}\\
\hdotsfor[2.0]{4}\\
a_{m1} & a_{m2} & \dots & a_{mn}
\end{bmatrix}
\]
\end{document}
Danie Els (dnjels at sun dot ac dot za)
blkarray package?
David Carlisle say that blkarray is "A LaTeX style option extending
array and tabular HIGGHLY VOLATILE, use at your own risk!!!!!!!!". Well,
I have used it at my own risk and I'm still alive :-)
Jean-Côme Charpentier
I misunderstod your question
> By "ams matrix" I mean any of the amsmath package matrix
> extensions to LaTeX, such as pmatrix, bmatrix, etc. For
> example,
>
> \documentclass[10pt]{article}
> \usepackage{amsmath}
>
> \begin{document}
>
> \begin{align}
> \begin{bmatrix}
> 1 & 0 & 0 \\
> 0 & 1 & 0 \\
> 0 & 0 & 1
> \end{bmatrix}
> \end{align}
>
> \end{document}
>
> By a partition, I mean a way of adding a dashed line between
> matrix rows or columns - either a dashed horizontal line between
> rows, or a dashed vertical line between columns.
between columns might not be possible, but basically bmatrix is just
\left[
\begin{array}{@{} ccc's {}@} % it does autodetection
\end{array}
\right]
so if lines between cols are needed then the above could be used
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal working examples.