1
vote
0answers
20 views

Last element in each row of a matrix getting pushed to next line [duplicate]

The following matrix is not displaying all elements in each row on the same line, the last element in each row is getting pushed to the next line. If I delete the last element then the matrix displays ...
3
votes
1answer
82 views

Highlighting in tabular environment

I am trying highlight a row of matrices in a tabular environment. However, the left brackets of the matrices are gone. And I don't know how to fix this. In addition, how can I highlight 2 elements ...
2
votes
1answer
119 views

How to change the width of a column individually in tikz matrix

I want to individually change the width of the different columns in the following matrix: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[font=\small] ...
0
votes
0answers
43 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 ?
5
votes
3answers
222 views

Tikz matrix: Align node to center of multirow

I am having an issue with TIKZ, or matrices ... I don't know which :) All I want to do is to move/align my Blackbox in the center of this one (multi-)row while having the arrows spread evenly on the ...
8
votes
1answer
219 views

Formatting an array of complex numbers with pgfplotstable

Say I have two csv files representing the real and imaginary part of a complex matrix. I would like to nicely display this matrix in LaTeX. The difficulty is to correctly round numbers and not ...
7
votes
2answers
202 views

Put names on top of matrix

I am trying to produce 3 matrices on the same line. And on top of the each matrix, there is a name. I tried using tabular for the names and then I use align for the matrices. However, this creates ...
4
votes
1answer
102 views

how to create columns of array

I use the following code to generate this: \begin{center} 2 IteraciĆ³n\\ Fila $S_{1}$ \end{center} \small \[\begin{array}{crl} \kbordermatrix{\mbox{ }& & & & & & & \\ ...
3
votes
1answer
149 views

TikZ Matrix 'draw' alignment

Apologies if this has already been asked - I could not find it. The following is an example of what goes wrong: In this example I would like it to look just like a regular 2x3 table, but I think ...
5
votes
1answer
108 views

Table of Values

How can something like this be done in MacTex:
4
votes
1answer
64 views

fitting arrays on

How can I get two matrices to fit side by side, centred on the page? Is there a way of automatically printing to 2 decimal places? \documentclass{article} \usepackage{graphicx,amsmath} ...
7
votes
2answers
310 views

How to improve the looks of a table?

I want to display measurement outcomes in a table that lets the viewer read off the measurement value of N and $\Theta$. The picture below shows my first attempt. While this is ok, I would like to ...
2
votes
1answer
268 views

Underline multicolumns in tikz matrix

In a TikZ matrix, how can I underline multicolumns automatically as follows (esp. when height of one header cell is larger than others): MWE from this question: \documentclass{standalone} ...
2
votes
2answers
2k views

A matrix inside a table [duplicate]

Possible Duplicate: Column padding in tables I am trying to insert a matrix inside a table, and I am looking for a good way to do this. Usually when I write matrices in equations, I use ...
8
votes
1answer
315 views

bracket covering only a part of a matrix

How can I write a matrix, with brackets that cover only rows/columns in a certain range, but still has the right indentation? What I would like: My current solution: \[ \overset{ ...
4
votes
3answers
765 views

Is it possible to draw an n by n grid with text in each cell, with a different background shade/colour in each? (confusion matrix)

I am making a confusion matrix for a document, and I was wondering if LaTeX has the capabilities to handle this. It is essentially a table, but with background shading corresponding to the value in ...
13
votes
4answers
844 views

Drawing Young tabloids

I would like LaTeX to produce output like the following (without the 2 a so called Young tabloid), ideally by writing \ytabloidshort{123,56} (using one character per cell, ideally allowing ...
10
votes
3answers
2k views

Border matrix with multiple indices on top and bottom

How can I write a matrix where there is an index at the top and also at the bottom? \bordermatrix doesn't seem to have an option for multiple indices.
12
votes
3answers
2k views

Horizontal row separation line in tikz matrix (like \hline in tabular)

In this question tikz-matrix-as-a-replacement-for-tabular a nice solution was given to let the matrix in tikz behave like tabular. In this solution cell/.style={rectangle} was used to draw lines ...
9
votes
3answers
4k views

How to construct a confusion matrix in LaTeX?

A confusion matrix looks like: Is there an easy way to do the same using LaTeX? Otherwise I could just create a diagram with any software.
15
votes
5answers
8k views

bordermatrix with blocks

I need to write a complicated matrix, that has a structure as in the attached picture.
6
votes
2answers
2k views

Putting a tabular in a node within a matrix

I have a picture in which each of the nodes looks something like this: \node (species1) [shape=rectangle,draw] { \begin{tabular}{c c c} \multicolumn{3}{c}{{Species 1}} \\ \colorbox{red}{G1a} ...