5
votes
1answer
73 views

trouble getting Tikz matrix to compile

In advance of a summer class I'm teaching, I decided to try compiling my notes, which I haven't touched in any way, shape or fashion for 4-5 months. However, in that interval, I've updated laTeX ...
6
votes
2answers
90 views

How to align these tqft cobordisms?

I find placement and alignment with the otherwise great tqft package irksome. I'm trying to align several cobordisms in a tikz matrix: \documentclass{article} \usepackage{tikz} \usepackage{tqft} ...
9
votes
1answer
116 views

Spanning a cell across several rows in TikZ-matrix

Using the matrix-library of TikZ I am producing the following image: \documentclass[tikz]{standalone} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture}[auto, node ...
7
votes
1answer
60 views

Cannot use custom styled nodes with matrix using Pgf 3.0.0

I've been doing some diagrams using TikZ with matrix as the layout. While using Pgf version 2.10, everything went well, but now I'm using Pgf version 3.0.0 (TexLive2013) and there's a problem I'm ...
2
votes
1answer
65 views

TikZ libraries 'shapes' and 'graphs' incompatible and compilations fails with “missing \endcsname”

I need to use the TikZ libraries graphs and shapes in the same document. But they seem to be incompatible. Here is a minimal example that makes active use of the graphs library, but does not need the ...
6
votes
1answer
84 views

How to highlight sub-matrix / nodes with tikz? [duplicate]

I'm trying to highlight a box of different cells of a matrix that I'm rendering. Currently, this highlights the entire matrix in green. What I would like to do is within that box highlight another ...
0
votes
1answer
122 views

Compilation problem with tikz diagram

As I said, I'm writing math books for school; one of them is about matrices and I have several problems with it. It's a big code, so I'm trying to summarize it: Problem with TikZ matrix: When I ...
4
votes
1answer
122 views

Position of nodes in TikZ matrix

I would like to be able to put a comment below an element in the last row of a TikZ matrix. I thought that the MWE below would allow me to do that, but it does not. To be specific, I thought the MWE ...
7
votes
3answers
153 views

Maintaining alignment between irregularly vertically spaced TikZ matrix nodes

I'm trying to create a diagram with pairs of rectangles of different sizes, each separated by a fixed interval. Additionally, I want each pair to be left-aligned at the same point. Here's an example ...
8
votes
2answers
339 views

How to overlay tikz matrix in beamer?

Background: I encounter some unexpected situations while overlaying a tikz matrix in Beamer. The latex code is given at the end (note: you can also read and copy it at ShareLatex:TikzMatrixOverlay). ...
7
votes
1answer
198 views

How do I evenly fill the background color of a block of elements inside a TikZ matrix?

When I fill each element separately of the blocks that I want to highlight, the PDF output shows very small white spaces in between the backgrounds of the separate matrix elements inside the ...
4
votes
1answer
374 views

How do I draw horizontal and vertical lines for a TikZ matrix

I want to use a TikZ matrix to draw a table with empty cells. But no matter what I do I run into errors. In particular, LaTeX complains about ! Package pgf Error: No shape named ae-5-4 is known. ...
8
votes
1answer
261 views

Need some help getting started with TikZ, groupplots and color mapping of matrix

I used Python to make the plot shown below (saved as png). It should have a common colorbar and all data is read from a h5 file, but I thought saving it to a txt file or something using a Python ...
5
votes
2answers
120 views

draw and fill options ignored in column style

The draw and fill options are ignored when supplied to column 1/.style in a tikz matrix, but text color and other options aren't: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix} ...
2
votes
1answer
183 views

Adding nodes in a style

I have the following code, which draws a matrix and then uses the nodes inside the matrix to create new nodes: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix} ...
6
votes
3answers
308 views

Countability of the rationals: a pictorial diagram

I am trying to reproduce the diagram below: I'm wondering what I should use to generate this. I can make the matrix, that's simple, but getting the arrows right is what's difficult... It would be ...
4
votes
3answers
183 views

Vertically and horizontally centering a matrix bigger than margins

This question is a follow-up on a previous question: positioning of a matrix bigger than margins That question dealt with positioning a pgf matrix that exceeded the horizontal margins of the page ...
6
votes
2answers
202 views

positioning of a matrix bigger than margins

A document I'm working on has a table that was complicated enough for me to try and make it using a pgf matrix of nodes. However, the resulting matrix ended up being slightly too big for the page. ...
3
votes
1answer
103 views

Matrixcells problem with the y-axis only

I observe a strange behavior with matrixcells.dtx by @AndrewStacey. The cells give me a complete tiling but when some rows are taller than average the tiling is shifted (see pictures and example ...
2
votes
1answer
1k views

Creating table using TikZ matrix

I'm trying to create a table in TikZ with the first column right-aligned, and the texts in each cell on the same line the rest of the columns center-aligned, and each has width of 1cm My attempt ...
6
votes
2answers
495 views

Alignment problem of empty cells when doing multirow/multicolumn cells in TikZ matrices

This is a question which has been discussed here and here. One of the solution discussed is to use fit to cover empty cells. However, while trying it, it displayed an alignment problem between the ...
3
votes
1answer
180 views

Tikz rectangle shaped arrows

I have a problem with the placement of labels on "rectangle shaped" arrows. I would like to place the labels middle and most right or left on the most right and left arrows respectively. Does anyone ...
1
vote
0answers
39 views

Iterate over certain matrix cells [duplicate]

I have a matrix and want to reference several nodes of this matrix. How do I add a line for some of the cells? I came up with this: \documentclass[12pt]{scrbook} \usepackage{tikz} ...
1
vote
0answers
50 views

Tikz Matrix (alignment?) [duplicate]

I have the following example: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \begin{equation} \begin{tikzpicture}[baseline=(current ...
6
votes
1answer
299 views

Drawing multiple iterations of cellular automatons inline, possibly with TikZ

I want to illustrate the iterations of a cellular automaton picture-by-picture in some slides. For those not familiar with the topic, imagine a two-dimensional grid of square cells where each square ...
5
votes
2answers
281 views

tikz matrix align/decorate cellpictures

I have a matrix of cell pictures, and want the first column to be right aligned and the second column to be left aligned. However I have trouble using the "nodes" key. example ...
3
votes
2answers
144 views

Making a specific cell of a dynamically generated tikz matrix BOLD

I want to make specific cells of a dynamically generated tikz matrix bold. I have tried many things: \bfseries, \mathbf, \textbf, \bf, using assume math mode=false in \pgfmathprintnumberto ... Here ...
8
votes
2answers
738 views

tikz matrix: color entire row

Goal: I would like to color entire rows of a tikz matrix. Background: I did some googling, and I got the following. Debugging: I know what is wrong (it's only coloring the individual nodes, rather ...
3
votes
1answer
82 views

How to use a complex expression in matrix anchor?

Please look a next figure: I've done it with: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{matrix,positioning,arrows} \tikzset{ >=stealth', box/.style={% ...
9
votes
2answers
196 views

How do I encircle a partial table in tikz?

I am trying to create a diagram that looks roughly like this picture: Except that I want it to have rounded corners. It seems that the obvious way to do this would be to use tikz, so I have made ...
1
vote
1answer
428 views

How to adjust or move the labels of arrows in tikz matrix of math nodes

I am trying to label crossing arrows in my tikz-matrix diagram. By default, the label is placed half-way of the path. Since the arrows cross half-way too, the labelling becomes ambiguous: How can I ...
4
votes
1answer
289 views

How to insert a linebreak in a TikZ matrix node?

How can I get a linebreak inside a matrix node? The following gives the error: Package tikz Error: Giving up on this path. Did you forget a semicolon?. unless I remove the linebreak. ...
3
votes
1answer
192 views

Autoconnecting tikz-matrix nodes

I have this flowchart: \documentclass[tikz]{standalone} \usetikzlibrary{shapes,arrows,matrix,decorations.markings} \begin{document} \tikzset{ base/.style={draw,minimum width=2cm,minimum ...
3
votes
2answers
1k views

Referencing TikZ matrix nodes and drawing

I'm struggling with a matrix where I want to put drawings into the cells, but would still like to reference the cells as it is possible with (text) nodes, e.g. for annotation. I know that I can ...
4
votes
2answers
120 views

Can't generate a tikz matrix, using expl3

Suppose, I want to generate a matrix of nodes: \documentclass{article} \usepackage{expl3} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \matrix [ row ...
4
votes
1answer
600 views

Matrix of nodes over multiple columns in tikz

I want to create a diagram with tikz in which entries overdraw more than one column. I solved this problem already with the fit package. But now there is a problem with the look of the nodes within ...
6
votes
2answers
479 views

TikZ: Image Matrix - shifting connected paths

I currently use TikZ matrix for arranging images and their nodes for putting some labels on the edges. Take a look at the attached image. For some reason, i am unable to shift connected paths. For ...
4
votes
1answer
461 views

How to fix a certain distance between a TikZ matrix border and its nodes?

I want to draw a TikZ matrix with its border and I would like to define the distance between most external matrix nodes and matrix border. Something like a matrix inner sep. If I change inner sep in ...
6
votes
1answer
296 views

Wrong colum sep between first two columns of a TikZ matrix

I don't know why but next code shows a different column sep between columns 1 and 2 from the other ones. This is what I get: I'm using column sep=-\pgflinewidth so I hopped to see just one thick ...
10
votes
1answer
725 views

Why are empty and non empty TikZ matrix cells not equally placed?

I wanted to draw an almost empty matrix of nodes with TikZ similar to the left most one below. All nodes would have same size (through minimum width and minimum height) and no separation between ...
3
votes
1answer
511 views

Slight vertical mis-alignment of cells when using TikZ matrix of nodes

While laying out a bunch of nodes with a TikZ matrix, I noticed slight vertical mis-alignment of nodes. It seems that words with “tall” letters (p, b, l) shift the box vertically up or down. This does ...
10
votes
2answers
1k views

Using brackets as delimiters for matrix in TikZ-PGF Matrix Library

The TikZ-PGF manual is clear that for the matrix library, the delimiters are parentheses and braces: Delimiters are parentheses or braces to the left and right of a formula or a matrix. I ...