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

learn more… | top users | synonyms

1
vote
0answers
41 views

How to write the following matrix requiring both case and block array environment?

I am trying to write the attached equation using block array environment. I am suppose to use both the case and block array environment for achieving the desire output. However, I have completed ...
1
vote
0answers
52 views

Diagonal line in math arrays

I have some arrays in math mode, such as the one below. I would like a diagonal line in a cell, something like diagbox (diagobx package) or diaghead (makecell package). But it seems that diagbox and ...
1
vote
0answers
80 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} \setlength{\...
1
vote
0answers
32 views

table into page width in a double columns page

I am writing a paper with double columns pages and I like to insert a table across the width of the page. This is my attempt but its output is not what I look for : the table and the text are layered !...
1
vote
0answers
99 views

Error when trying to load the array package

I am writing my thesis paper in Math and I really need to use the array package. But when I wrote \usepackage{array} an error occurred. It says "pdflatex> ! Emergency stop." What should be the ...
1
vote
0answers
129 views

array and loop to set frametitle, subsection, and text

In the example below, I store text into three variables (\subTa, \subTb, \subTc), and then use these variables to set the subsection, set the frametitle, and display text on each slide, all using \...
0
votes
0answers
35 views

How to create several plots in latex using a for loop

I have a bunch of arrays like follow: a[l=3]= (1, 8.099681e-01) (2, 8.099681e-01) (3, 7.399681e-01) (4, 0.000000e+00) (1, 9.600000e-01) (2, 9.600000e-01) (3, 8.800000e-01) (4, 0.000000e+00) a[l=4]= (...
0
votes
0answers
33 views

Column color overwrites hline in array

Please help. Why does color column overwrite just the second \hline? How do I rewrite it? \begin{document} $$P=\left[ \begin{array}{>{\columncolor{red}}c>{\columncolor{red}}c>{\columncolor{...
0
votes
0answers
41 views

Row Operations Error

I'm trying to put "arrows operations" in my matrices but I keep getting a Latex error. Could you guys help me out? Thanks! \documentclass[11pt]{article} %size, document type \usepackage{fullpage} \...
0
votes
0answers
23 views

Automatic table width adjustment with the array package

I was searching for a way to vertically and horizontally align my text and found a good way here. However using M I need to set the width for every column, which is what l did automatically for me ...
0
votes
0answers
54 views

design multiple array using tikz

I would like to design multiple array like this using tikz:
0
votes
0answers
33 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.
0
votes
0answers
148 views

Equivalent of Latable for matrix/vectors generation

Does anyone know an equivalent for Latable (which is used to generate latex code for tables) but to do the same thing with matrices and arrays ?