Tagged Questions
10
votes
1answer
3k views
tikz nodes: centering with small font
I am trying to create tikz nodes with centered text, but changing fontsize. Unfortunately, while normally-sized text is nicely centered inside the nodes, the smaller text is not centered, but shifted ...
4
votes
1answer
1k views
TikZ: Background rectangles with equal width but 'fitting' height
I'm trying to make sort of a flow chart for a series of steps, but these steps are also grouped, and I'd like my diagram to reflect that. So I'm using the pgfonlayer/background environment to draw ...
3
votes
1answer
431 views
Placing a list of nodes in TikZ
I would like to define a macro, which would take a list of node definitions, like this
\mymacro[boxes={{\node[rectangle] {foo};},
{\node[rectangle] {bar};},
...
1
vote
1answer
759 views
Split node padding when using `align` in TikZ
Consider the following code:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes,positioning,fit}
\begin{document}
\begin{tikzpicture}
\node[draw, rectangle split, rectangle split ...
11
votes
3answers
2k views
How can I align two nodes to the left in TikZ?
I have two unaligned nodes
|AAAAAAA|
|B|
and I want to have the node with the B aligned to the left of the node with AAAs and below it
|AAAAAAA|
|B|
How can this be done?