Linked Questions

57
votes
1answer
8k views

Difference between “right of=” and “right=of” in PGF/TikZ

In the PGF/TikZ manual, sometimes I see the option right of=somenode instead of right=of somenode. They look very similar, but the effects are different. The distance between nodes positioned with ...
10
votes
1answer
4k views

Size of TikZ ellipse node

When I set the minimum size of an ellipse in a tikzpicture environment, it expands into a circle if the inner content does not grow as large as the ellipse shape itself. Is there any way around it? ...
7
votes
2answers
573 views

How to decrease the counter in tikz foreach loop

I have the following code: \documentclass[11pt]{article} \usepackage[a4paper]{geometry} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{tikz} \usetikzlibrary{positioning} ...
7
votes
1answer
3k views

Tikz: Text along top and bottom of arrow path

How can I add text to both the top and bottom of a path? My commutative diagram below is 90% complete. I would, however, like text={${gKer({\varphi}){\mapsto}{\varphi(G)}}$} following the path below ...
6
votes
2answers
740 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 ...
4
votes
1answer
2k views

Understanding TikZ node placement

I'm having a hard time understanding how TikZ uses space \documentclass{article} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \tikzset{red/.style={fill=red,circle,inner sep=0pt}} ...
4
votes
2answers
665 views

How to place a symbol under an arrow in Latex when using tikz package

I'm using the tikz package in LaTeX to construct a feedback loop for a control system as a part of a paper on control systems. The problem I'm running into is that I would like to place symbols under ...
7
votes
1answer
377 views

Automatically setting one node after the other in Tikz

I've changed a timeline of mine to look like the one asked in this question: timeline and tikz Everything went smoothly but I have a problem. I don't know how to automatically set the nodes' ...
3
votes
1answer
724 views

Alignment of tikz nodes in a chain

How can the north anchors of the nodes in a going to the right chain be aligned in a tikz picture? As can be demonstrated by the following example, by default they seem to be aligned by the center ...
6
votes
1answer
318 views

Create a Frequency Allocation Diagram

I need to reproduce a frequency allocation diagram in TeX. I prefer TikZ but open to PSTricks. I can create a simple bar allocation char using \node but unsure how to create layered blocks like the ...
5
votes
1answer
470 views

How to draw a graph along with probabilty tables using TikZ package

I need help to draw a Directed Acyclic Graph of Bayesian Network along with probability of each node using TikZ package. Here is an example: Table grid can be a full or partial as in above example. ...
5
votes
1answer
233 views

An overview of node positioning?

I've been making tikz pictures for a while now, and there seem to be a number of different ways to position nodes within a diagram. Absolute coordinates, east/west, left/right, the $ $ things, minimum ...
3
votes
1answer
195 views

Calculating the minimum height for a node based on the size of other nodes

Consider the following example: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \usepackage{xcolor} \begin{document} \def\mydist{1mm} \begin{tikzpicture}[ mystyle/.style={ ...
2
votes
1answer
226 views

TikZ and tabular/multicol

I've just finished my first TikZ flowchart, and I have a couple of wished to improve it, but I can't seem to search my way to a solution. I would like do this in 2 colomns, with dashed a line between ...