New answers tagged tikz-node
1
vote
Accepted
Connect a triangular child node with its north corner
Complete solution working and beautiful-looking solution, thanks @Qrrbrbirlbel
\documentclass{standalone}
\usepackage{tikz}
\usepackage{calc}
\usetikzlibrary{trees}
\usetikzlibrary{shapes}
\...
2
votes
How to align image size with node size
As can be seen from this code:
\documentclass[tikz, border=1cm]{standalone}
\begin{document}
\begin{tikzpicture}
\node {\includegraphics[width=10cm, keepaspectratio]{example-image}};
\node[
line width=...
2
votes
Referencing an other tikzpicture without overlay
This aligns the top picture to the bottom picture. The savebox is used to create the named node, which is stored globally. The origin location is saved (remember picture) at shipout.
\documentclass{...
5
votes
Accepted
Referencing an other tikzpicture without overlay
The \path (0,0) part only worked because the diagram in the linked Q&A doesn't protrude into the left margin. By specifying any coordinate with an x value that is not dependent on another picture, ...
3
votes
Referencing an other tikzpicture without overlay
What happens when PGF uses remember picture, overlay, TeX will see a box of 0pt width and height. It is pretty much similar to what happens when you do an rlap or llap or makebox[0pt]{}. So if you ...
0
votes
Central alignment of text node in a rectangle in Tikz drawing
Thanks to the answer by @cabohah
Now I can do this.
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[every node/.style={draw=...
3
votes
Accepted
Central alignment of text node in a rectangle in Tikz drawing
You can draw the rectangle as part of the node using option rectangle and the size options:
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\...
0
votes
Central alignment of text node in a rectangle in Tikz drawing
For this simple output, \fbox is enough, and the MWE is
\documentclass{book}
\usepackage{graphicx}
\begin{document}
\setlength{\fboxrule}{1pt}\setlength{\fboxsep}{0pt}
\fbox{\vbox to 5pc{\vfill%
\...
Top 50 recent answers are included
Related Tags
tikz-node × 496tikz-pgf × 381
nodes × 49
tikz-arrows × 47
tikz-styles × 41
tikz-trees × 24
positioning × 23
tikz-path × 20
diagrams × 19
beamer × 16
tikz-matrix × 14
node-connections × 13
tikz-pic × 12
pgfplots × 11
graphs × 10
tikz-shape × 10
pdftex × 9
color × 9
coordinates × 9
vertical-alignment × 8
anchor × 8
macros × 7
graphics × 7
horizontal-alignment × 7
tikz-positioning × 7