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 ...
4
votes
2answers
58 views

clean, breakable left-aligned array-like environment

The centered, yet left-aligned aspect of \begin{array}{lll} ... \end{array} is what I usually go with to give a list of conditions. My only problem with it, is that it is not breakable, so I try to ...
3
votes
1answer
64 views

How to numbering each row in an array environment that is used within an align environment

I am trying to typeset a multiple line optimization problem in LaTeX. I have had a lot of difficulty using the align and alignat environments to get things to align properly. I recently managed to ...
2
votes
1answer
70 views

Formatting a table

I am trying to format a table but everything errors since I am trying to put a display environment in an array (I also tried a tabular) environment. \documentclass{article} \usepackage{mathtools} ...
2
votes
1answer
307 views

Multicolumn/multirow inside align

Is there a way to use \multicolumn or \multirow inside an array environment which is inside align environment? For instance, the following piece of code gives me an error. What is the way around this? ...
7
votes
3answers
3k views

aligned environment of amsmath vs array environment

Today I found out the existence of the aligned environment of the amsmath package. However, I can't see the advantage of using it instead of the array environment from the example provided in ...
0
votes
1answer
104 views

Aligning an array in align*

I was trying to make a 3 point list with a brace next to 2 of the items with text next to it and than a brace that covered all three again with text next to it. I had never used an array before but I ...
2
votes
2answers
391 views

array environment with tags/labels

I try to come up with a couple of formulas which should be aligned according to a relation symbol but also to the left. Have a look at the following example: \documentclass{article} ...
3
votes
3answers
4k views

Array alignment within align environment

I am trying to typeset an array within an align environment, aligning to a specific separator in the array. In the following example, I want to align on the ":" separator in the array. ...
11
votes
2answers
652 views

Problems with alignment of sequences

I want to align two sequences: a_1, b_1, c_1, d_1, e_1 etc. a_2, b_2, c_2, d_2, e_2 etc. here's what I wrote \begin{align} \notag &a_1,\ &b_1,\ &c_1,\ &d_1,\ &e_1\ ...
8
votes
3answers
1k views

How to align piecewise functions?

I have two piecewise functions defined like this: \begin{align*} \left\{ \begin{array}{ll} i = x^2 + y^2 \\ j = a^2 + b^2 \\ \end{array} \right. \\ \left\{ ...
7
votes
2answers
252 views

How to stop fractions in display equations from running into each other?

Is there some standard way to create multiple display equations like the following without having to use: \renewcommand*{\arraystretch}{2} (so that the two rows in the second equation don't get ...
2
votes
3answers
8k views

how to insert multi line equation in the tabular environment?

How can insert multi line equation in the tabular environment? For example see the following code that can show my request. \begin{tabular}{rrr} &a &b\\ &u=\begin{cases} 0;& ...
1
vote
2answers
943 views

Right Align Equation Number with hfill in Custom Environment

I have a couple of custom environments that I want to be able to use \hfill to right align the last column (similar to what {align} environment does with equation labels}. I attempted to use \hfill ...