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
65 views

Center array headers but right justify numbers in columns

I'd like to center my headers but right-justify the numbers in the columns. \begin{array}{c|c|c|c|c|c} x & y & (x-\overline{x}) & (y-\overline{y}) & (x-\overline{x})(y-\overline{y}) ...
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 ...
6
votes
2answers
141 views

How to match left alignment of equations in math mode outside and inside an array?

My code is shown below, every equation is left aligned, my problem is that the equations inside the array enviroment seem to be indented. How can I align all the equations to the same vertical line? ...
10
votes
2answers
275 views

Selective alignment tabs in tabular/array?

For a while now I've been thinking about an array/tabular feature that would be quite nice to have. It doesn't seem to exist yet, as far as I can discover. And unfortunately, I can't spare the time ...
2
votes
1answer
419 views

Brace spanning multiple rows in a table and horizontal alignment

I'm a beginner trying to do an brace inside a table, that is spanning multiple rows. I assume the best way to achieve this is to do a two-row tabular environment, with an array environment for the ...
3
votes
1answer
54 views

Does align environment (or an alternative) have an option to choose left, center or right alignment?

I have quite a long set of equations, written in an array environment, but I can't seem to get it to split so that it is spread over multiple pages. I could use the align environment, but I can't seem ...
8
votes
1answer
243 views

Replacing Leading Minus Signs in Environment

In this question concerning negative signs and the alignment of entries in matrix environments, Heiko Oberdiek gave a great answer in which he uses a user-defined command called \matminus instead of ...
4
votes
2answers
67 views

Labelling three-column array

I got this code: $$\begin{array}{lcr} a_{11}\cdot x_1+a_{12}\cdot x_2 &+ … + &a_{1n}\cdot x_n=\alpha_1 \\ a_{21}\cdot x_1+a_{22}\cdot x_2 &+…+&a_{2n}\cdot x_n=\alpha_2 \\ &\vdots ...
9
votes
1answer
2k views

Negative Sign and Matrix Alignment

I am having trouble centering the elements of a matrix such that the negative sign is not taken into account during alignment. Additionally, I would also like the space between the left parenthesis ...
4
votes
2answers
1k views

left aligning the conditional statement inside an array

I have equations of the form a = b + d for i <= 4, j < 3 = c for i = 5 = d - e + u for i > 5 I am writing them using the following code in latex: \begin{equation} a = ...
11
votes
2answers
651 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\ ...
7
votes
4answers
3k views

How to align a system of multiline equations?

I've got a system of equations, each of them doesn't fit the page width, so I'm searching the way to align them so that: the brace should appear to the left with no indentation the first line of ...
2
votes
1answer
98 views

How to create an array with the last column align on the right at the end of the page (using array environment))

I would like if possible using array environment, to align the last column of my array to the right and at the end of the page. Something like that: \begin{array}{\textwidth}{l r} first column ...
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\{ ...
3
votes
3answers
5k views

Clean-Looking Piecewise-Defined Functions

I want to write a clean-looking piecewise defined function. There's a similar post here: How to write a function (piecewise) with bracket outside?, but I have follow-up questions. The two options I ...
4
votes
3answers
875 views

\underbrace at a strange place, spanning array columns

Take a look at the following code: $$\begin{array}{rr|r|c|l} vd_2:&\raisebox{0pt}[0pt]{\makebox[0pt][l]{$\overbrace{\phantom{b_1\dots b_{n-l_{k-1}-2k}\hspace{2\arraycolsep}b_{n-l_{k-1}-2k+1}\dots ...
12
votes
2answers
2k 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 ...
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 ...
3
votes
1answer
3k views

Right-aligned columns using the tabularx environment

I'm trying to typeset a matrix which has entries of differing widths. However, for aesthetic reasons, I would like each of the columns of the matrix to be the same width, and I'd furthermore like ...