29 questions linked to/from Where is the \matrix command?
235 views

An array that includes a matrix [duplicate]

BAC GM IBM TRW JOHN 200 300 100 200 A = PAUL 100 200 400 0 I would like to create an array that looks like what appears above, except that square brackets should enclose (...
544k views

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...
324k views

How to add a matrix to a LaTeX document

How do we add a matrix to a LaTeX document?
74k views

Label rows of a matrix by characters

How to add label to index the rows and columns of the matrix ? because I want to number the line outside the matrix \[ \begin{array}{lc} \ Mat_{\varPhi to M} & \left(\begin{array}{@...
4k views

What to put into the intersection of the row/column labels of a table?

I have a grid/table/matrix with separate labels for the rows and the columns. However, I also want to label these labels themselves (by indicating the "type" of the labels, such as SI units, etc.) ...
25k views

\bordermatrix with brackets [ ] instead of parentheses ( )

I have the following code: \documentclass{article} \begin{document} $M = \bordermatrix{~ & x & y \cr A & 1 & 0 \cr B & 0 & 1 \cr}$ \end{document} ...
38k views

Misplaced alignment tab character when building a matrix

I'm still new to latex. I've been having a problem with building a matrix and I have no idea what I'm doing (or what I'm doing wrong), so be gentle please :) \begin{matrix} 5 & 6 & 7 \\ 4 &...
8k views

Array with labeling columns

Is there an intelligent way to label (or name) columns in a matrix? I would like to have something like \[M=\left[\begin{array}{c|cc} 1 & 2 & 3\\ 4 & 5 & 6 \end{array}\right],N=\left[\...
13k views

Matrix with rows and columns labeled

It is trivial to make matrices like so: \begin {pmatrix} s & t & a \\ c & k & x \\ cha & n & ge \end {pmatrix} It is not so trivial to impose labels on the rows and columns ...
3k views

Why “p” in pmatrix?

I am using the command \begin{pmatrix} [...] \end{pmatrix}. I wonder why this command is not just called \begin{matrix} [...] \end{matrix} and why a "p" before "matrix".
8k views

How to create a matrix with rows and columns labeled (at the right side)?

I would like to create a matrix with rows and columns being labeled. I would like the matrix elements to be right aligned, the row labels being displayed to the right of the matrix, and the column ...
6k views

Write elements above and right outside the matrix

I found writing matrix's code is a boring work. There is one, you can see in pic below. Can anybody help?
3k views

Change font color of a column in a matrix

I have this code: \documentclass[a4paper,11pt]{article} \usepackage{amsmath} \begin{document} \$ A = \begin{bmatrix} a & b & c & d \\ a & b & c & d \\ a & b & c &...