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

learn more… | top users | synonyms

0
votes
0answers
8 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
43 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
22 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
68 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} & ...
-1
votes
1answer
70 views

Using “align” instead of “array” in an array of equations

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
41 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.
5
votes
3answers
60 views

How to typeset linguistic AVS

How can I typeset attribute value structures (AVS) and rules like the ones seen here?
2
votes
2answers
39 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} ...
0
votes
0answers
27 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
27 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
78 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
39 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
76 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
32 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
19 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
112 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} ...
5
votes
2answers
145 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
58 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
60 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
512 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
35 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
47 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
66 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
64 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
131 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
53 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
56 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
108 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.
4
votes
2answers
97 views

newcommand: passing coordinates as a single argument

Is it possible to pass an array argument to newcommand and then access those individual array elements? For example, if I wanted to multiply the third element of the array (first argument) by the ...
1
vote
0answers
62 views

Extra space before the first row of an array

Why is there so much space before my array's first row? How can I fix it (as I don't believe that this is its default behaviour)? \documentclass[12pt]{article} \usepackage{parskip} ...
4
votes
1answer
65 views

Why is the spacing different after a multiline array environment?

My goal is to get equal line spacing between text and array environments. This mostly works without any modification, except for one case: If the array environment consists of more than one line, the ...
3
votes
1answer
103 views

Long division display

\documentclass[12pt]{article} \pagestyle{empty} \begin{document} $$ \begin{array}{cccccccc} & & & 1 & 0 & 9 & 8 & 9 \\ 13 & ) & 1 & 4 & 2 & 8 & 5 ...
4
votes
1answer
51 views

array and command in column' s definition of table

to develop a specific class, I would like to define columns in a table by a macro definition. Like in this MWE \def\titi{c|c|c} \begin{tabular}{\titi} a& b&c\\ a& b&c\\ a& ...
1
vote
1answer
85 views

Stating linear program

i want to formulate a linear program. But all i found is not what i am looking for. It should look similar to this picture: The main difference is that i want on right sight automatic numbering ...
3
votes
1answer
87 views

How to use booktab or type this Table in REVTex4 / REVTex4-1

I wish to type this table in REVTex, however, the code below does not work for \documentclass{revtex4} but only for \documentclass{article}: \documentclass{revtex4} ...
2
votes
2answers
68 views

How can I format this in lyx?

I'm trying to format a confusion matrix in lyx. I want the data to look like this. a b c d e f g <-- classified as 1 5 10 8 4 2 0 | a = 3 3 ...
4
votes
1answer
71 views

Is there anything like “displaystyle” for “arrays”? [duplicate]

I have this equation and I would like to "get more space" into it, how to do it? \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} ...
1
vote
1answer
44 views

Extending a line in the Table

I wish to have a Table setting like the following graph with an extra line inserted between a and b. Namely, I wish to extend the line separating 1, 4 and 2, 5 to the line separating a and b. The ...
4
votes
1answer
73 views

LaTeX elsarticle \cline for array mode

I am making a matrix like this one: \documentclass[preprint,11pt,3p]{elsarticle} \usepackage{amsmath,epsfig,amsfonts,amssymb,subfig} \usepackage{amsfonts,mathdots} \usepackage[ngerman]{babel} ...
0
votes
1answer
54 views

I want to make an equation, but I can't get what I want on the correct lines

$$\frac{\partial u}{\partial x}(x,y)=f(x,y,u(x,y))$$ $$\frac{\partial u}{\partial y}(x,y)=g(x,y,u(x,y))$$ $$u(x_0,y_0)=u_0$$ I want to write this but as an equation, I have tried \begin{equation} ...
5
votes
1answer
94 views

Package array error: Illegal pream-token (\ifthenelse)

This table environment mymulticolumn has three arguments, the first of which sets an optional \arraystretch, the second of which sets the "apparent" number of columns (either 2 or 3), and the last of ...
2
votes
1answer
43 views

Align an array horizontally to the center of the page

I am trying to make an array align to the center of the page. My search for the answer was fruitless as all of the questions (that I have find) refer to the alignment of the array elements and not ...
1
vote
1answer
48 views

Using array inside alignat to create equation legend

I want to describe the parameters in used in the equation in two columns below the equations. Something like this **** = ******* *** = ********** - - | A: ...
4
votes
3answers
218 views

How to align long array?

I use Mathematica and the command TeXForm to convert Equation. The array is too long. I try to find a way but I can't align this equation. How can I do? \documentclass[12pt,a4paper]{article} ...
3
votes
1answer
44 views

The word 'granulocytes' divides into three categories as 'neutrophils, eosinophils and basophils.' How may I include it in the following set-up?

The subdivision of granulocytes must be in the same figure; just as luekocytes were subdivided with curly brackets, `granulocytes' must be divided, but in the same figure. ...
2
votes
2answers
71 views

tikzpicture and array side by side in subfigure won't align

I am trying to align side by side a tikzpicture (an image of a network) and an array (a matrix) but no matter what I do they wont align properly. Two arrays side by side and two tikzpictures side by ...
5
votes
3answers
61 views

Array environment cell over two rows keeping alignment

I am trying to span braces over two rows while keeping the aligment in the following example correct alignment in this case the alignment is correct. I think I am nearly there, any help would be ...
2
votes
1answer
58 views

Reflect / flip / rotate a table or array without rotating the elements

I have been working on an array environment, but I have realized that it would take up less space if it was reflected across the diagonal (I suppose this is not quite the same as flipped or rotated, ...
3
votes
1answer
35 views

Can I nest an array in a table?

In my code I have this: \begin{equation*} \left. \begin{array}{rcl} 2x\lambda &=& 2 \\ 2y\lambda &=& 3 \\ 2z\lambda &=& 4 \\ x^2+y^2+z^2 &=& 1 \\ ...
2
votes
1answer
479 views

Use of \@array doesn't match its definition

I am doing something wrong here. I get a message saying Use of \@array doesn't match its definition. `\@ifnextchar ... \reserved@d =#1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.108 ...