{tikz-chains} concerns the TikZ-pgf library chains

learn more… | top users | synonyms

2
votes
1answer
37 views

Undefined control sequence \pgfmath@ in \node with text height or text depth

The below file gives this error when compiled with pdflatex (from TeX Live 2015). How do I fix it, and what have I done wrong? Error \pgfmath@dimen@ ...men@@ #1=0.0pt\relax \pgfmath@ l.27 ...
0
votes
2answers
90 views

Combining Tikz concepts/librarys to draw a complex picture with relative alignment/distances

I think all of the problems has been asked by me or others in the past. But my over all problem is that I am not able to combine all this solutions to the real picture I want to draw. Normally it is ...
3
votes
2answers
114 views

Horizontal fixing of Tikz nodes

(Please feel free to offer a better and more precise subject title.) I have two vertical chains with different count of nodes in it. But I want to visualize that some nodes of the right belong to one ...
1
vote
1answer
92 views

Join multiple tikz-chains (with different lengths) into one last node at their end

I have multiple vertical chains of different lengths (node count). I want all these chains at the end coming together into one last node. How could I do that? \documentclass{article} ...
4
votes
1answer
96 views

Adjust horizontal space between vertical TiKz-chains the elegant way

The example below work and looks ok. But I think about if there is a more elegant/generic/tikz way to manipulate the space between different chains. Elegant here means, that it would be nice to ...
1
vote
0answers
48 views

Tikz: Alligning paths in its entirety

How can I align paths? I have two mindmaps: \documentclass[tikz,border=5]{standalone} \usetikzlibrary{trees,mindmap,chains} \tikzset{grow cyclic list/.code={% \def\tikzgrowthpositions{{#1}}% ...
1
vote
1answer
60 views

Tikz - Overlaping border on adjoining nodes

I am having trouble obtaining a single border between two adjoining node shapes with tikz. When I use a thick border, it leads to an overlapping double border at the connection of two nodes. How ...
2
votes
1answer
56 views

typesetting chains of maps

Can anyone help me of how to construct this chain in Latex?
3
votes
1answer
171 views

Problem Causal Chain

I have been trying to make a causal chain, but I have two problems: 1) arrow should be a standard arrow without any curve "->". 2) There is a gap between the arrow and the boxes. My code look like ...
3
votes
3answers
259 views

Using loops with chains?

Is there a smarter way to achieve the same result as the one from the following MWE: 1) by using some kind of loop instead of hand typing every node, 2) by drawing the arrows with tikz instead of ...
3
votes
1answer
65 views

Horizontal tikz chain with labeled nodes is not aligned.

The chain seems to be properly aligned without the labels; adding labels seems to break it: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{chains} \begin{document} ...
3
votes
1answer
243 views

Simplify TiKz chain diagram

TiKz chain is amazing tool,I am reading Chains with labeled edges example. This example use matrix to place nodes, then use chain to connect it together. it's fine of course but I am thinking about ...
2
votes
1answer
139 views

drawing line pushes a chain below

I am trying to make a line that intersects a chain I already drew. However the drawing of the line pushes the chain below and they do not intersect. Can anybody help? I would like that the line ...
6
votes
4answers
325 views

TikZ chain nominate node location

I want to nominate node C4 at right of C1. so I have to define C1 before create C4. Below code seems has one extra line from C0 to C3. \documentclass{standalone} \usepackage{tikz} ...
3
votes
1answer
268 views

Make a Sequence of Pictures with TikZ

Recently, I often want to illustrate graph algorithms through a sequence of pictures as in My current method to do this is to create a chain, and then place a nested tikzpicture in each node. As ...
4
votes
1answer
166 views

How can I increase the size of integral inside tikz and the length of the arrow

Code: \documentclass[a4paper,10pt]{article} \usepackage{tikz} \usepackage{amsmath} \usetikzlibrary{arrows,chains,positioning,scopes} % \makeatletter \tikzset{join/.code=\tikzset{after node path={% ...
0
votes
1answer
280 views

Problems labeling an arrow

Having this in the preamble: \usepackage{tikz} \usetikzlibrary{chains,shapes.multipart} \usetikzlibrary{scopes} \usetikzlibrary{decorations.markings} \usetikzlibrary{shapes,calc} ...
3
votes
2answers
344 views

how to put a node below another in a chain

I have the following chain: \begin{tikzpicture}[start chain=going right,>=latex,node distance=0pt] \node[draw,rectangle,on chain,minimum size=1cm] (rr) {$I$}; \node[draw,rectangle,on ...
5
votes
1answer
630 views

Multi server queuing system using tikz

I need to have the server of this system \usepackage{graphicx} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amsmath} \usepackage{amsthm} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ...
4
votes
1answer
281 views

How to have label displayed on top of arrows in tikz

I have this tikz figure: \begin{figure} \centering \begin{tikzpicture}[start chain=going right,>=latex,node distance=0pt] \node[draw,rectangle,on chain,minimum size=1cm] (rr) {$I$}; ...
5
votes
0answers
428 views

Chains in nested tikz pictures

I am trying to draw a complex item (consisting of multiple \nodes) as a cohesive whole using a nested \tikzpicture. My outermost picture uses a chain, onto which every \node is put. My inner picture ...
2
votes
1answer
61 views

PGF’s \foreach can’t replace in [start chain=\here]?

Here in TikZ/PGF, I need two lines of dots to connect them later. – I make those dots with chains in a \foreach loop. But I can’t get the naming to work in the loop. The code below works, but ...
1
vote
1answer
108 views

tikzchainprevious undefined

I am using the following code for drawing a TikZ chain diagram: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage{tikz} \usetikzlibrary { arrows, chains, ...
3
votes
1answer
127 views

How to eliminate the gap in a chain?

In the following code, I used node distance=0 and outer sep=0 to position the nodes besides each other seamlessly. \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{chains} ...
6
votes
1answer
678 views

Trying to get Tikz chains example working

I found a lovely example of chains diagramming here and have been trying to get it to work. I opened a fresh document on WriteLaTeX, here, and put in the minimal preamble for the chains drawing, ...
9
votes
3answers
3k views

Overlapping nodes in tikz

I used to make a chain diagram in tikz, like described in the manual p. 59 ff, but in contrast to the manual, my nodes are overlapping. I tried to use the "node distance" option but i doesn't seem to ...
1
vote
1answer
1k views

Broken tikz chains

I tried to use the tikz chains feature today, and all was good for a few hours, but now I get an error every time I try to use chains ./test.tex:7: Package pgfkeys Error: I do not know the key ...
1
vote
1answer
567 views

Using Tikz Fit to draw a node covering a Tikz chains

A chain of nodes is drawn using tikz chains. I would like to draw a rectangle node covering the chain nodes (or, multiple rectangle nodes covering subsets of them). I am using tikz fit. ...
4
votes
1answer
104 views

Some questions about chains

I'm trying to make the following diagram: \begin{tikzpicture}[ start chain=1 going right,node distance=-0.15mm] \node [on chain=1] at (-1.5,-.4) {f(}; \node [draw,on chain=1] {*}; \node ...
0
votes
0answers
64 views

Table headers and chain aligment [duplicate]

I have 2 questions. 1- How to use a diagonal seperator for the table hearders n and k in a good way. 2- How to align the back of the arrow to the rightand the head to the left of the numbers? ...
4
votes
1answer
562 views

TikZ Chains - Merging after branching

I'm new to the LaTeX chains package and try to join(=merge) together 2 (or maybe even more) branches in a single node again. I only know about a very inflexible way which is shown in the code snippet ...
1
vote
0answers
247 views

How to make nodes on branchy TikZ chain lay on regular grid (trangular or square) automatically? [closed]

How to ensure that nodes on chain with branches (generated using chains library) are laid out on regular grid, regardless of node shape? I am interested in automatic placement on triangular or ...
7
votes
2answers
414 views

How to connect nodes with TikZ?

I hope you help me. I want to connect these nodes as in the attached image. I tried it using chains, but I could'n get it. I'd like to use the best way to connect nodes. \documentclass{article} ...
23
votes
1answer
808 views

Span a tikz chain over multiple pages

I wanna create a flowchart as a chain. What I want to achieve is a chain spanned over multiple pages on top of every page (see picture): For the example picture I created it manually (copied the ...
10
votes
1answer
1k views

Compiling tikzmanual example with chains and branches

Does someone know how I must compile the example of the tikz/pgf user manual (v2.10) in section 28.5: \usetikzlibrary{chains} \begin{tikzpicture}[every on chain/.style=join,every join/.style=->, ...
4
votes
1answer
472 views

Adding a reverse arrow on a chain

For the MWE below: \documentclass[a4paper,11pt,twoside]{report} \usepackage[left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[T1]{fontenc} \usepackage{pgfplots,tikz} ...
11
votes
1answer
4k views

Aligning a Tikz Picture in line with the surrounding Text

I'd like to align a Tikz Picture in line with the surrounding Text. Here is a MWE Example: \documentclass[a4paper,10pt]{article} \usepackage{tikz} ...
5
votes
1answer
612 views

Nest branches in chains in tikz

I am trying to make a picture illustrating Cocke-Younger-Kasami. I am using tikz for this and already found out how to have arrows between table cells. Now I'm having the following problem: I need to ...
2
votes
1answer
820 views

using foreach to draw a chain with a branch

This is an extension to How to draw the border of a node using late options I'm drawing a chain of nodes with different colors using foreach from tikz. Now I want to add a branch, also using foreach. ...
7
votes
2answers
2k views

How to draw the border of a node using late options

I want to create a series of rectangles, each with a different shade. The shade varies from white to black. I want to make the white (first) rectangle visible by drawing its border. My first step is ...
9
votes
1answer
2k views

TikZ chains etc: modify automatic node placement

I’m trying to draw a chain, roughly like: The catch: I want to manually specify the vertical placement of node C, but I still want to use TikZ’s default horizontal placement. Currently, I can only ...
7
votes
2answers
1k views

Tikz: labels above the arrows using chains library?

I'm using chains library from TikZ. I would like to have a label(node?) above arrows. Is it possible? I found this, but it is quite hackish. Is there a standardized way?