{tikz-matrix} concerns matrix nodes particularly in the tikz-matrix library of tikz-pgf.

learn more… | top users | synonyms

6
votes
2answers
157 views

Programmatically styling tixz matrix nodes

I'm trying to write a macro that given some coordinates colors the corresponding cells in a matrix black. This is related to this question. I fail at adapting one of the answers from that question. ...
2
votes
1answer
64 views

pgfplots legend nested in matrix

I'm using a \matrix to arrange subplots, each created using pgfplots. When I tried to use \legend to add a legend to individual plots, lualatex tells me Package pgf Error: You cannot nest ...
5
votes
1answer
102 views

Creating procedurally generated nodes in TikZ

I am relatively new to TikZ, and have been hacking together figures as I need them for uni assignments from various examples on the internet. Now I am moving into research, I am having to write a lot ...
5
votes
2answers
127 views

Table-like lines in tikz matrix

I am trying to draw a "table" in tikz, and more generally, to work it out so that it is easy to write a lot of them. The matrix library makes it a lot easier to place aligned nodes. The next step ...
4
votes
1answer
40 views

How may I insert horizontal dots in the second row of my vmatrix?

It seems to me that my method is quite inconvenient. Could someone help me in this matter? \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} ...
3
votes
0answers
57 views

How to align Matrix and Tikzpicture on the same horizontal line

I'm using subfloat to try to align my diagram with the matrix array. I want them to be next to each other, and per suggestion, used the subfloats to try to align them. I'm getting error messages. ...
3
votes
1answer
188 views

How to draw a system architecture with databases and shadows?

My goal is to draw a complex system architecture. Some approaches to do it are here How to draw a layered architecture using Latex? This approach http://tex.stackexchange.com/a/102669/44348 seems to ...
7
votes
3answers
129 views

Tikz matrix arrows alignment

I have a problem that I cannot solve for myself. The following code produces the following image, which I do not really like. \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix, ...
5
votes
1answer
129 views

Custom draws in matrix nodes in tikz v3 with referencing

With tikz v3 the matrix behavior has changed slightly. The great example at http://www.texample.net/tikz/examples/BER-measurement/ doesn't seem to compile any longer. The problem is that the default ...
6
votes
2answers
427 views

How to force nodes to have the same size in tikz matrices

Is there some intelligent way to have several tikz nodes have the same height and width? Consider the following example with output below. I'd like every node in each row to have the same height ...
4
votes
1answer
134 views

how do I add delimiters to both sides of a tikz node?

Here is a simple document which does not seem to display properly: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \tikz \node[matrix of nodes] { |[left ...
6
votes
2answers
311 views

Drawing arbitrary shaped grids in TikZ

I would like to reproduce grids like the following (taken from here, p.5): So far, I've come up with the following TikZ code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{matrix} ...
7
votes
2answers
157 views

how can I create keys such as “column … to …” for a TikZ matrix

I have a node style I would like to apply to many (but not all) the cells/columns/rows of a matrix of nodes. Currently, for every column or cell that I want the style to apply to, I declare the style ...
4
votes
2answers
57 views

node style is only taking partial effect in a matrix of nodes

This is probably the first of two closely related questions. I have defined a style: my node style/.style={%% minimum width=\dimexpr0.60in+12pt\relax, minimum ...
0
votes
1answer
45 views

Why am I not able to vertically center my row in either a tabular or tikz matrix environment?

Neither of these two MWE center the content of the rows. Why? Example 1 using a tabular environment` % arara: pdflatex % arara: pdflatex % arara: open \documentclass[border=6pt]{standalone} ...
10
votes
5answers
396 views

drawing a matrix with its minors

I want to create something like this: This should be a matrix and I want to consider its minors which are drawn by __|. I want to draw also a line from one minor to a place outside of the matrix to ...
3
votes
1answer
84 views

tikz and new environment

I would like to creat a new environment in order to draw the following matrix : \begin{tikzpicture}[baseline,every right delimiter/.style={xshift=-8pt},every left delimiter/.style={xshift=8pt}] ...
7
votes
4answers
251 views

TikZ matrix, style for combination or rows and columns

In the TikZ manual we have the example below that shows how to apply an style to an entry of the matrix. It is also easy to apply it for an entire row and an entire column. My question is how can we ...
3
votes
1answer
203 views

TikZ - Tables Highlight and fit text

What would be a way to create a table with the diagonal elements highlighted as such. I used the example found here to get the above figure with this (not great) code \documentclass{article} ...
5
votes
1answer
267 views

How do I make a TikZ matrix match height?

I'm trying to make a table using the matrix TikZlibrary. The problem is that the height does not match. \documentclass[tikz,border=2pt]{standalone} \usetikzlibrary{matrix} ...
5
votes
1answer
231 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
120 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
273 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
147 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
233 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
315 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
351 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
1k 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
296 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
682 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
242 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
518 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
328 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
156 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
214 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
354 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
251 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
249 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
126 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
3k 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
713 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
259 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
42 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
55 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 ...
3
votes
1answer
953 views

Problems with Beamer and diagrams in Tikz

I did a commutative diagram with tikz in the article class and everything works. The next code is the MWE in article class. \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} ...
7
votes
1answer
373 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
349 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
210 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 ...
9
votes
2answers
1k 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
98 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={% ...