Questions tagged [arrays]

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

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
97 views

A typography challenge from over a hundred years ago

I am a newbie in LaTeX. I am now typesetting the formal proof from Begriffsschrift by Frege, which look like this: As seen in the picture, I decide to put all the elements of the proof into a 3x3 ...
2
votes
0answers
61 views

The middle row of matrix and cases does not align at baseline

When I wrote a row vector in a matrix or a 3-branch function in a cases, I noticed that the middle row does not align at the baseline of the content outside. As one must be conformed to university ...
2
votes
0answers
45 views

Add vertical space for individual lines in an array in LyX

I know that I can add vertical space for individual lines in an array in LaTeX by including an optional argument after the line break (see example below). Is there way to do this in LyX without using ...
1
vote
0answers
22 views

Vertical space at the bottom of nested tabulars

I'm trying to make a macro which typeset a text "accross a vertical line", and I'm using a tabular for that : \documentclass{article} \begin{document} \makeatletter \newlength\tdv@temp \...
1
vote
0answers
24 views

Adjusting Column Widths in Tables

I'm new to Latex and struggling with adjusting the widths of a few columns in a Table. From the table attached here, I just need columns 2 & 4 to be reduced so that column 5 can be enlarged. Here ...
1
vote
0answers
26 views

array of the package array deletes \hpace at end of cell

Consider the following code: \documentclass{article} \begin{document} $\begin{array}{ll} A\hspace{1cm}&A\\ A \end{array}$ \end{document} We have the following result: Now, if we load the ...
1
vote
0answers
54 views

Array: extend \newcolumntype to \provide etc

Consider the (silly) MWE: \documentclass[]{article} \usepackage{array, ragged2e} % in a package \newcolumntype{R}[1]{>{\raggedright\arraybackslash\hspace{0pt}}p{#1\linewidth}<{}} % here \...
1
vote
0answers
26 views

Fail to typeset an array spanning multiple pages properly using pdfTex

I tried to convert a long list of equations in .tex to .pdf using pdfTex. Those equations were written in the array environment, which spans multiple pages. The pdfTex didn't create a pdf file ...
0
votes
0answers
25 views

Shift Underlining a row in an array

For this code I just want the underline of the elements to shift to the second row when I start calculating the second row of the resulting matrix. Is there a way to do that? (And I also want the ...
0
votes
0answers
14 views

“array” most efficient code for creating step-by-step solution procedures for single variable Alg equations?

Greetings LaTeX Community! I need to create step-by-step procedure solutions to share with my high school students. Is "array" the most efficient method of creating these columnar style ...
0
votes
0answers
16 views

Arrays cutoff in multicol - 2 columns

The Problem Hey, I spent about 3 hours trying to solve this problem with multicol in LaTeX. Hope it would help some people out: arrays cuttoff in LaTeX So as you could see, my arrays in the \align* ...
0
votes
0answers
21 views

csvsimple inside tabular environment, but csv data includes LaTeX arrays/tables/aligned etc

I am trying to import a csv using csvsimple, and I have already overcome the challenge of the csv delimiter (by adding curly braces around every field), but I am now stuck with a admittedly weird ...
0
votes
0answers
36 views

What is causing (and how can I fix) “Misplaced \cr” and “Misplaced alignment tab” errors in an array environment when trying to compile my .dtx?

I created a small package to help me typeset various tidbits in papers for a specific domain of theoretical computer science that I sometimes work in. So far, it has been working well, but I decided ...
0
votes
0answers
37 views

alignment problem in array with display style elements

I am using the following code \[ \begin{array}{rr} \displaystyle{\frac{1}{2}}& 5 \\ \displaystyle{\frac{1}{2}}& \displaystyle{\frac{11}{22}} \\ \hline \displaystyle{\frac{...
0
votes
0answers
21 views

Line-breaking between arrays

I have these lists of values but they're all packed together, how can I add a new line between them? I've tried \ and \newline and all sorts but it would come up with errors. Thanks! \documentclass[...
0
votes
0answers
26 views

Arranging payoffs within sgame - or, how to adapt an array to its parent cell

I am using the sgame package to typeset some game-theoretic bimatrix games. (Unfortunately, sgame in incompatible with array, and any package depending on array, which is why I'm struggling to find ...
0
votes
0answers
122 views

Multivariate polynomial long division in LaTex

How do I typeset polynomial long division with multiple variables using LaTeX? I want to do polynomial long division with two and more divisors. I know there was a similar question already answered ...
0
votes
0answers
24 views

Select one of many groups of array definition

I use variable.tex to definite some Array: Name, color, folder In main.tex: \input{variable.tex} In variable.tex: ( not exist begin/end{document} Each Group includes 3 Array: Name, color, folder %...
0
votes
0answers
150 views

How to control the height of square brackets of matrix

Here is my code for creating a matrix: \begin{equation} \left [ \begin{array}{ccc} 1 & 2 & 3\\ 1 & 2 & 3\\ 1 & 2 & 3\\ ...
0
votes
0answers
91 views

Using \newcolumntype definition together with colortbl package

I just upgraded my Miktex distribution and I am not able to compile my MNWE example (see below) \documentclass{article} \usepackage{array} % tex.stackexchange.com/questions/12703 \...
0
votes
0answers
493 views

Disappearing border lines in table

I am trying to draw a table like below. The preview in overleaf is perfect as shown below. However, after I render in texstudio using pdflatex, the cell border lines are sporadically missing like ...
0
votes
0answers
801 views

Using “array” environment with a specific font size

Can we determine font size of a specific array? I am preparing presentation and I want to use different font sizes for different arrays \begin{array}{l}"FONT SIZE COMMAND" bla bla bla \end{array} \...
0
votes
0answers
424 views

Forcing a long table to place in one page

In the following code, I have 2 small tables and one long table. The long table does not fit in the first page and it breaks into the second page which is not favorable. I want to place it in one page,...
0
votes
0answers
67 views

setting values in an array according to set conditions

I have an array of value from an image of suns magnetic field. I am meant to set all values above 3*sigma and below -3*sigma to 1. the values in between to 0. and i also have nan values in that array ...