{array} is an environment used in {math-mode}. It can be useful when aligning terms.

learn more… | top users | synonyms

0
votes
1answer
32 views

Alignment of multiple align-blocks

I try to align multiple blocks of equations in such a way that the same alignment is used for the different blocks. I am currently using align with an array-environment for each line. By specifying ...
1
vote
1answer
16 views

Separate a long equation in an array environment

I wanna to separate a long equation in an array environment, as it shows in the following graph: Place the right part of || to the below of =. CODE: \[ \Delta P_k^{ij} \; \text{is} \; \left\{ ...
1
vote
2answers
59 views

Tikz - parametrically set node text

I want to have a circle of nodes in tikz, and the text in each node needs to come from an array. How do I achieve this? The following does not work. \documentclass{article} \usepackage{tikz} ...
5
votes
3answers
93 views

Arranging equations neatly in rows and columns with a single numeration for all

Say I want to write a set of equations in a systematic way, more like the ones in a matrix but without the matrix parenthesis on the left and right-hand sides. More like: A=1 A=2.5 C=8 B=9 B=0 A=2 ...
12
votes
3answers
363 views

Matrices in latex

Trying to create a matrix using the below markup: \begin{figure} \centering \[ \begin{blockarray}{cccccccc} I & like & nlp & mlpr & enjoy & reading & books \\ ...
2
votes
2answers
33 views

Adjust Array Column Width to Fill Page

I am trying to make use of the array environment (anything that operates similarly would suffice) that will automatically stretch the columns to be even-width and spread across the entire page. One ...
6
votes
2answers
449 views

Using arrays to align parallel equations: Why isn't $|z|$ centered?

There was an earlier question about aligning different parts of two parallel equations in a multiple line environment, and I'm trying to adapt Werner's answer that used an array for my own use. ...
4
votes
2answers
45 views

Odd spacing due to diagonal dots in pmatrix environment

I'm trying to typeset this matrix, but it seems the spacing between the fourth and fifth lines is off, perhaps due to the diagonal dots : Here is my Latex code : \[ \mathrm{Mat}_{\mathcal B}D = ...
0
votes
3answers
34 views

Table rows | single line | double line | of text not lining up

I have a table with two columns, the width of each column is set. There are cases where the left hand text is one line and the right hand text is two lines. As a result the left hand text is aligned ...
0
votes
0answers
11 views

how to draw shift operations and rotation of digital electronics in latex

how to draw the arrows as shown in the picture .Please Guide.
4
votes
3answers
54 views

Multicolumn in array . How do I place the dividend in right place?

Edit: The original question before being re-edited too much: \newcommand\divspace{\,} \[ \arraycolsep=0em \begin{array}{r@{\divspace}c@{\divspace}lllll} & & ...
4
votes
2answers
49 views

Is there a way to decrease the row separation in arrays?

I would like all the arrays I generate in a document, using the normal array environment, to have slightly smaller distance between rows, but the same column separation. Is there a simple way to do ...
5
votes
4answers
132 views

How can I align the < signs in my array (piecewise function) in TeX?

I don't know how to use align with an array, any suggestions? I'd like the first < sign in each line to match up while retaining the alignment that I currently have. Here is my code: \be ...
2
votes
2answers
41 views

Bolding the first column of a table in math mode

What I want to do: Create a table in math mode without $...$ everywhere Bolding the first column What I have done: Using >{$}c<{$} to put table in math mode; see this answer. Following ...
1
vote
2answers
23 views

Left align the array conditional

The conditional appears in the center of the line, I would like to left align the conditional. I have tried quite a few things and ultimately settled on the following. Is there a way to left align ...
4
votes
1answer
79 views

Redefining \bordermatrix

Greetings to all of the community! Could anyone help on redefining the \bordermatrix to get results as shown? The initial question was about changing form of braces (and there is a thread about it) ...
6
votes
3answers
145 views

Display math gets typeset as inline math

When typesetting the below annotated equation my summations are being typeset as inline maths rather than display maths. If I wrap the sum and subscript with \smashoperator{} then they are typeset ...
1
vote
1answer
71 views

How to create LaTeX example codes using verbatim and large braces?

I read this question it's useful but isn't exactly what I need. My problem consists in create an array, table or something like that with two columns. In the left one I need to put LaTeX code with ...
1
vote
1answer
97 views

Creating a Payoff Matrix Using LaTeX Tabular Environment

I'm trying to use my limited knowledge of LaTeX to create a payoff matrix by hand. Here's my first try: \begin{tabular}{cc|c|c|} & & Player $Y$ & \\ ...
1
vote
2answers
30 views

How to put several diagrams in one row?

Here are my codes for four arrays. Is there a way to put four diagrams together in the same row instead of put one of them above the other without exporting them as images? (a)\begin{displaymath} ...
0
votes
3answers
39 views

Spacing in Multicols and Array

The following shows my work in LaTeX recently: I made this with the following code: \documentclass[12pt,lettersize]{article} \usepackage[top=1.25in, bottom=1.05in, left=0.5in, ...
2
votes
1answer
67 views

Matrix: hline is cut by cmidrule

I want to emphasize a block structure in a matrix by both, vertical and horizontal lines. Since I am using bmatrix as matrix environment I had the issues as in How to shorten \hline in a matrix. I ...
0
votes
0answers
13 views

Array search using arrayjobx

I'm using the arrayjobx to store data in arrays, and I want to search through those arrays. For example, I might have a list of names and places and I want to search through those names to find the ...
1
vote
1answer
50 views

Special alignment

Can anyone tell me how you can I do such alignment in an efficient way? I tried several things within the array but I didn't find the way.
0
votes
0answers
23 views

How to translate an array of equations with the use of align to the use of array? [duplicate]

Translation between eqnarray and align is known: How to write an array of equations without using eqnarray? How about the translation between: align and array? Although the use of ...
5
votes
2answers
88 views

Split within a matrix environment

I have an array that looks like this: I'm not sure how I can add the curly brackets and text there. I formatted the array like this: \begin{equation*} \begin{array}{r*{10}{l}} \trom{1} & ...
0
votes
1answer
97 views

Using “align” instead of “array” in an array of equations [duplicate]

I want to produce big parenthesis like this: Left brace including several lines in eqnarray How do I do this with align instead of array? I do not want to use eqnarray though. Thanks.
2
votes
1answer
60 views

How to write an array of equations without using eqnarray?

I heard that it is recommended to use align or array. But how should I do so to replace the use of eqnarray? Thank you very much.
6
votes
3answers
81 views

How to typeset linguistic AVS

How can I typeset attribute value structures (AVS) and rules like the ones seen here?
2
votes
2answers
58 views

Text centers in the cells and leaning text

Please I would like to make a table as this one but I have some problem to make leaning a text and centered in the cells. \documentclass[11pt]{book} \usepackage{geometry} ...
2
votes
1answer
77 views

How can I use multicolumn or multirow in a tabular using the array package global formatting technique?

Awhile ago, @robintw asked a practical question: Make first row of table all bold It uses the array package to cleverly inject formatting code to the header row columns. Clever Table Row Formatting ...
3
votes
1answer
37 views

Can split and array work together?

I have the following problem. I need an equation which contains arrays and which should be on different lines because too long for one line. This is the code: \begin{equation} \begin{split} ...
2
votes
3answers
81 views

What's wrong with my table?

I am trying to write the following entries in a table \begin{table}[h] \centering $\begin{array} \toprule k & \lbrace c_{kj} : j=1, \cdots , 8 \rbrace \\[1ex] 1 & \lbrace 0 , 190 , 359 , ...
3
votes
1answer
52 views

Align-like environment in a column of array

I have an array in which one of the columns is a polynomial, and I would like to align the terms of the polynomial for each row of the array. My hack is to use \phantoms all over the place, but is ...
3
votes
1answer
117 views

How to put a box around just one equation inside eqnarray?

I would like to put a box around \dot{\mathcal{N}}_0+ik\mathcal{N}_1=-\dot{\Phi} inside the eqnarray below. I used \boxed{}, but did not work. \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
59 views

Beamer : display the lines of an array pause by pause ( is there an alternative to \hline ?)

I would like to display the different lines of an array, using overlays. However I have trouble with the \hline command which seems to include an carriage return. Here is a minimal example, I guess ...
0
votes
0answers
22 views

different modes to typest systems of equations [duplicate]

Would it be bad style to use in displaymode an array with three colums that are right-center-left ("rcl") oriented instead of eqnarray, to typeset systems of differential of equations ? The spacing ...
2
votes
1answer
235 views

Decreasing size of confusion matrix

I used proposed code in How to construct a confusion matrix in LaTeX? to create a confusion matrix: \documentclass{article} \usepackage{array} \usepackage{graphicx} \usepackage{multirow} ...
6
votes
2answers
202 views

Matrix inside matrix

How I can make a matrix inside a matrix as shown in this picture? Indeed, I want to treat every block as a separate matrix. For example, I want to add braces over and under the second matrix by ...
2
votes
1answer
90 views

Strikethrough rows and columns in matrices

I've found this code from How to cross a row in matrix with a line? \documentclass{article} \usepackage{tikz} \newcommand{\pmark}[1]{\begin{tikzpicture}[overlay,remember picture]\node(#1)at ...
5
votes
1answer
81 views

Illustrating a matrix assembly within the array enviroment

I'm having trouble aligning the parentheses of a matrix assembly (parentheses within the same matrix). Essentially, what I want to do is this (excuse the terrible paint-job): Where the submatrix ...
7
votes
4answers
537 views

How would you reproduce the Leibniz binary table

I would like to reproduce the original Leibniz binary table (as seen here). The most precise the better...
2
votes
2answers
53 views

tabular array error in the width

I would like to create a matrix with index (left and top position) and a sum columns and rows (bottom and rigth position). I have tried that : \documentclass{article} \usepackage{amsmath} ...
5
votes
1answer
51 views

Arrays in the text

In my example below, I need to write it "nicely", i.e., to have the array with ones smaller, less space around,...Anyone knows how to do it? \documentclass[a4paper,12pt]{article} ...
0
votes
1answer
83 views

Blockarray errors

After inserting a second blockarray-environment in front of a first one I get a dozen error messages for lines where none appeared before. It seems to have to do with the inserted ...
1
vote
1answer
75 views

Numbering an array of equations

I want to do this thing in an equation array mode. Exactly same in the figure.
7
votes
2answers
157 views

Is the blkarray package compatible with Xetex and amsmath?

Running xelatex on the file \documentclass{article} \usepackage{amsmath} \usepackage{blkarray} \begin{document} \begin{blockarray}{c} 1 \end{blockarray} \end{document} gives the error ...
2
votes
2answers
60 views

Alignment in function definitions

I have the following code for the definition of a function \begin{align*} \varphi_{\sigma}\colon &E \longrightarrow E \\ &(x_{1},x_{2},...,x_{n}) \longmapsto ...
2
votes
1answer
64 views

A specific problem with alignment of arrays with brackets

In the example below I would like to have the "on" exactely below each other, i.e. to put it in one table - that is of course without any problem, BUT the bracket and the numbering! How to get it in ...
0
votes
1answer
175 views

How to draw adjacency array with TikZ?

I will draw a graph representation as adjacency array, also something like that: How to make it? I didn't found any examples like the picture above.