4
votes
2answers
39 views

Array within Align*

LaTeX fresh beginner here. Using TexStudio. In the second row of an equation array (using align*), I am trying to multiply a row vector by a column vector, using the array command. Apparently the ...
9
votes
2answers
153 views

How to add equations on top of arrows?

I have the following matrix: $$ \left[ \begin{array}{ccc|c} -4&2&-2&10 \\ 1&0&1&-3 \\ 3&-1&1&-8 \end{array} \right] \sim $$ I want to have something like this: ...
8
votes
3answers
166 views

Align matrices problem

I have an equation of matrices and I want to align the dimensions of the matrices below the equation of matrices. However, I produce something very ugly. Can someone advise how to make it look better ...
4
votes
2answers
116 views

equations inside matrix/array — aligning on charater

Suppose I have a system of equations I'd like to present as a vector. Using amsmath, something like \begin{equation} \begin{pmatrix} (2)(2)+(-1)(-3) \\ (4)(2)+(3)(-3) \end{pmatrix} \end{equation} ...
6
votes
2answers
131 views

Subequation aligning using matrix

When I use multiple matrix equations in subequation, I am doing it as in the code snippet. However, when I want to align the equations with respect to equal sign, = (commented in the code), I am ...
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 ...
3
votes
3answers
153 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} ...
4
votes
2answers
201 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
168 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^{*}) ...
1
vote
1answer
348 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 & ...
6
votes
1answer
195 views

Breaking equation in align enviroment to put textwidth matrix in separate line

I have to put a textwidth pmatrix into an align environment. When using split, it destroys the centered alignment of the other equation. Pseudocode: \begin{align} \vec{a} &= \vec{b} + \vec{c} ...
7
votes
2answers
206 views

Passing an argument with the alignment operator (&) to a macro within another aligned environment

I am trying to write macros for quickly formatting matrices in math mode. Here is a simple, working example: \documentclass{article} \usepackage{amsmath} ...
1
vote
1answer
190 views

Latex matrix not displaying right numbers

I've just started writing in latex to expose math problems to a forum. I am trying to display a matrix: \[ \begin{align*} \begin{matrix} 1 & -9 & 3 \\ 1 & 2 & -2 \\ -2 & ...
6
votes
3answers
1k views

alignat makes 3 good alignments and 1 bad

I'm having a problem with the alignat environment. This code: \begin{alignat*}{9} &X_{12}&+X_{13}& & & & & & & &=1 ...
7
votes
2answers
324 views

Align the length of two nodes inside a matrix

I wanted to create a node with vertical and horizontal parts. So after some searching I found that I can achieve this by using a matrix. I tried the code below: \documentclass{article} ...
2
votes
1answer
484 views

Adding text over matrix in LaTeX

I am trying to accomplish this in LaTeX. j ⎡a b c⎤ |d e f| ⎣h i j⎦ so that the "j" is aligned with the center of the matrix. It seems like I can't use the \begin{align} ...
3
votes
1answer
219 views

How to position “=” mid-line inside a '\raisebox' and then `align` using `&=` with expression below?

In order to get a full stop at the bottom, rather than mid-line, after an aligned matrix expression, I have raised the expression using a raisebox, and adjusted space using `vspace'. This is now ...
6
votes
3answers
542 views

Optional argument to an environment inside align

I have lots of matrices so I want to define a mat environment. I sometimes need the matrix to have right-aligned columns so I am using mathtools and I want to have an optional argument that is ...