{matrices} is about matrices in {equations} and {diagrams}.

learn more… | top users | synonyms (1)

2
votes
1answer
183 views

How to shift yticklabels vertically?

When plotting data matrices as done here and here, the tick labels get drawn at the border of fields. They should be drawn in the center. I've tried shifting them using hspace and vspace. This works ...
2
votes
2answers
91 views

Problem with a matrix

I have to write a matrix, my code is \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \begin{document} \begin{itemize} \item ...
7
votes
2answers
206 views

Put names on top of matrix

I am trying to produce 3 matrices on the same line. And on top of the each matrix, there is a name. I tried using tabular for the names and then I use align for the matrices. However, this creates ...
4
votes
1answer
105 views

how to create columns of array

I use the following code to generate this: \begin{center} 2 Iteración\\ Fila $S_{1}$ \end{center} \small \[\begin{array}{crl} \kbordermatrix{\mbox{ }& & & & & & & \\ ...
1
vote
1answer
110 views

Resizing and line breaking for individual matrix entries

To make things easy, I have put up a pic here, I do not understand how I can reduce the size of the long entries in the matrix (the diagonal entries primarily) and also introduce line breaks so as ...
5
votes
1answer
329 views

Language support for Icelandic does not exist?

I have been trying for a few days now to get Icelandic characters. I've installed the cm-super font package and I'm using MiKTeX 2.9 on a Windows 8 Lenovo yoga btw. Anyways I've made sure that ...
6
votes
2answers
371 views

braces over matrix

I want to make an overbrace and a side brace on my matrix in order to indicate its size. How can I achieve that. \begin{pmatrix} 1 & 1 & 0 & .& . & . & 0 & 1 \\ 0 ...
4
votes
1answer
111 views

ConTeXt: Wrong mathmatrix spacing between rows in startalign-environment

When using a mathmatrix (e.g. for vectors) in between \startalign and \stopalign, the spacing between rows becomes too large. I'm running Mark IV and the problem exists on live.contextgarden.net as ...
6
votes
1answer
219 views

Change how to enter a matrix in Latex

In Matlab I can create a matrix by typing A = [1 2 3; 4 5 6; 7 8 9], for this the space is a delimiter between the entries of the matrix. I am wondering if there is a package which makes it possible ...
7
votes
2answers
107 views

How can I get the explanation borders with pmatrix?

I have asked this question in chat. How can I add the explanation borders to the below matrix? \begin{align*} C_{D_{1\succ 2}, \mathrm{increasing}} &= \underbrace{\begin{pmatrix} 1 & ...
0
votes
0answers
36 views

What is space in a math environment? [duplicate]

I want to get a space to the phrase "1\times 8 \mathrm{ matrix}", how can I get it inside the math environment? \begin{align*} C_{D_{1\succ 2}, \mathrm{increasing}} &= ...
9
votes
2answers
507 views

How to typeset this in LaTeX

I would like to typeset the following matrix: However, I don't know how to achieve the braces and the dots leading to the matrix entry.
3
votes
3answers
154 views

aligning vector column

I have the next latex code: $$\begin{align*}\pi(X)f(x) = \frac{d}{dt}\Pi(e^{tX})\vert_{t=0} f(x) &= \frac{d}{dt} (\Pi(e^{tX})f(x))\vert_{t=0})= \\ &=\frac{d}{dt}(f(e^{-tX}x))\vert_{t=0} ...
6
votes
3answers
309 views

Countability of the rationals: a pictorial diagram

I am trying to reproduce the diagram below: I'm wondering what I should use to generate this. I can make the matrix, that's simple, but getting the arrows right is what's difficult... It would be ...
2
votes
0answers
62 views

Is there a way to paste a matrix cell-by-cell in Lyx? [closed]

I would like to paste a matrix in Lyx, just like it was a table (edit->paste special, etc), except into a display math matrix. Any ideas? I can't get it to work, though pasting into tables works ...
4
votes
1answer
204 views

Problem with \cdashline and package arydshln

I have a problem with \cdashline. I use the \cdashline in a matrix but I have an error with \usepackage{arydshln} I think: ! Use of \x doesn't match its definition. \LT@array ->\adl@arrayinit ...
4
votes
2answers
204 views

How can I typeset determinants of Cramer's rule? [closed]

I want to typeset the determinants of the system $\begin{cases} a_1x+ b_1y = c_1,\\ a_2x+ b_2y = c_2. \end{cases}$ I tried $D=\left| \begin{matrix} {{a}_{1}} & {{b}_{1}} \\ {{a}_{2}} ...
6
votes
2answers
169 views

How to best typeset this long matrix multiplication?

I have a quite large matrix multiplication: \begin{align*} \mathrm{Var}(\alpha)&\approx \begin{pmatrix}\sqrt{1+\pi^{2}}\exp(-\delta^{*}+\zeta^{*}) ...
2
votes
1answer
76 views

Required package for 'starred version' of matrix environment

Whenever I am trying to compile the following code : \documentclass[11pt,twoside,a4paper]{book} \begin{document} \begin{matrix*}[r] -1 & 3 \\ 2 & -4 \end{matrix*} \end{document} shows ...
7
votes
3answers
215 views

Help implementing this matrix

I'm trying to implement the matrix and vector below, the number of columns in the matrix is equal to the number of rows in the vector but it's not showing properly. The matrix is composed of three ...
3
votes
1answer
155 views

TikZ Matrix 'draw' alignment

Apologies if this has already been asked - I could not find it. The following is an example of what goes wrong: In this example I would like it to look just like a regular 2x3 table, but I think ...
12
votes
1answer
229 views

Are there specialized libraries or packages to draw blocked/partitioned/splitting matrices in Tikz?

I need to write matrix splitting and factorization operations (for my linear algebra course). It is hard to do these is direct Latex. I can use Visio to draw these easily, but I'd prefer to use Tikz ...
5
votes
1answer
110 views

Table of Values

How can something like this be done in MacTex:
8
votes
3answers
402 views

TikZ Matrix - How can I align content horizontally which is spanning over multiple cells/rows?

I'd like to finetune the big rectangle in the last column and its content, i.e. that it's all aligned to the third column's center. It is currently too far on the right: So far I have been unable ...
6
votes
1answer
95 views

Using multirow with smallmatrix

I'd like to typeset a bunch of small 3x3 matrices to describe generators of certain ideals, as in this paper, p7. Using smallmatrix works beautifully as long as I only want circles and bullets, ...
5
votes
1answer
103 views

How to key this equation with three braces on right side,

Can anyone help me to key this equation, I've been struggling here for long hours:
4
votes
1answer
65 views

fitting arrays on

How can I get two matrices to fit side by side, centred on the page? Is there a way of automatically printing to 2 decimal places? \documentclass{article} \usepackage{graphicx,amsmath} ...
3
votes
1answer
260 views

Array as subscript

While $\begin{matrix} 2 & 4 & 6 & 5 & 4 & 3 & 2 \\ && 3 \end{matrix}$ looks great for the highest root of $\mathsf E_8$, $s_{\begin{matrix} 2 & 4 & 6 & 5 ...
5
votes
3answers
168 views

Handling a too big matrix equation

I was wondering if I could rotate the equation below to fit it on a page without compromising the font size. I tried landscape and rotating packages to rotate the equation. In both cases I received ...
13
votes
5answers
735 views

Drawing a large binary matrix as colored grid in TikZ

I have a pretty big binary matrix of maybe 70 rows and 64 columns. For ease of viewing, I would like to draw this matrix in TikZ where e.g. a 1 is represtented by a red square and a 0 is a white ...
2
votes
1answer
44 views

\cline going out of matrix

I am trying to reproduce the following matrix I tried with this: \begin{equation*} \begin{bmatrix}[ccc:c] a_{11} & \cdots & a_{1n} & b_1 \\ \vdots & & \vdots & \vdots \\ ...
3
votes
2answers
2k views

How to write a permutation ?

How to write a permutation like this ?
5
votes
1answer
148 views

Array Alignment using TikZ Matrices; cell over a complete row

I want to align subplots in a pgfplot. with \matrix it is easy to align pictures. My problem is, that I need several rows with two columns/pictures and a last row with a picture over both columns. ...
20
votes
5answers
2k views

Huge matrix in my document. Possible ways to make it look better?

The following is the source for a matrix I'm using in my document: \documentclass{scrartcl} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage{amsmath} ...
5
votes
1answer
122 views

Strech the text to the borders of a node by using \hfill

The text inside the nodes is not streched to the right side of the node by using \hfill. Could it be the reason that it doesn't work with font=\tiny? But I need the text that small and I would like ...
4
votes
3answers
99 views

Alignment problem between multiple line “bmatrices”

I'm having problems trying to align single and multiple line bmatrices: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align*} x = &\begin{bmatrix} ...
3
votes
2answers
141 views

Can't reproduce sequence alignment using TikZ?

I'm new using the TikZ package. Can someone help-me to reproduce this matrix 1 using Tikz? More precisely the step in figure 2. I tried to do it with matrix but I can't put the number 1 [above ...
2
votes
1answer
120 views

Shorter way to color indices of a matrix?

I've made a bordermatrix with brackets [] instead of (), now there are these indices on the top and left side. In my case on the top they are u_1,v_1,u_2,v_2 and so on. On the left side they are ...
1
vote
1answer
380 views

Align values in bmatrix

Is it possible to renew the bmatrix environment to have alignment? I would like the following vectors to show aligned: \begin{bmatrix} -0.505 & \\ -0.141 & \\ 0.144 & \\ 0.839 & ...
4
votes
1answer
243 views

Right curly bracket around text

The following code will produce some text enclosed by a right curly bracket and to the right of it some other text saying that is the same meaning. Now, I would like to have the text aligned to the ...
3
votes
1answer
227 views

easybmat matrices dotted lines

I use the easybmat package to typeset some block matrices as follows, where the rows are separated by dotted lines. For some reason, the dotted lines don't always come out right. For example the ...
7
votes
2answers
335 views

Update matrix entries in beamer

I'm trying to show row reducing a matrix in a beamer presentation. I'd like to show successive steps of the row reduction using overlays. The following is close to what I want to do. The problem is ...
4
votes
1answer
575 views

Tikzpicture and matrix

I want use tikzpicture for draw my matrix, U=[matrix], using this code \begin{align*} U&= \begin{tikzpicture}[decoration=brace] \matrix (m)[matrix of math nodes,left delimiter=[,right ...
3
votes
1answer
173 views

bmatrix - buggy? Alternating Color and not completely drawn

As you can see, my bmatrix is a little bit bugged and I don't know why... This is the sourcecode: \begin{equation} \begin{bmatrix} \mathbf{d}_x \\ \mathbf{d}_y \\ \mathbf{d}_z \\ ...
5
votes
2answers
577 views

Vertical dashed line of a custom height

I need a vertically dashed line in my matrix, but my current solution looks like the dashes are going out of the array environment (and they are - i checked in photoshop). Can I manually shorten it by ...
2
votes
1answer
167 views

How can I \Aboxed a Matrix?

I am trying to use \Aboxed around a function containing a pmatrix, but anything other than a column vector seems to break \Aboxed. I think it has something to do with the &'s in the matrix, but I ...
12
votes
2answers
1k views

vertical dotted line in column vector / amsmath matrix

I would like to typeset the following set of equations: ... but with contiguous, vertical dotted lines in the column vectors, such that the top and bottom rows of the matrix and of the vectors are ...
5
votes
1answer
187 views

pmatrix and superscript

I would like to place a superscript to a pmatrix, but the superscript is not correctly positioned. \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}^{T} Any ...
7
votes
2answers
310 views

How to improve the looks of a table?

I want to display measurement outcomes in a table that lets the viewer read off the measurement value of N and $\Theta$. The picture below shows my first attempt. While this is ok, I would like to ...
2
votes
1answer
270 views

Underline multicolumns in tikz matrix

In a TikZ matrix, how can I underline multicolumns automatically as follows (esp. when height of one header cell is larger than others): MWE from this question: \documentclass{standalone} ...