Tikz Cheat Sheet Page 2

ADVERTISEMENT

Path Decorations
straight zigzag
decorations.pathmorphing
random steps
decorations.pathmorphing
saw
decorations.pathmorphing
zigzag
decorations.pathmorphing
bent
decorations.pathmorphing
bumps
decorations.pathmorphing
coil
decorations.pathmorphing
snake
decorations.pathmorphing
Let-operations
\path . . . let \p1 = ($ (B)-(A) $) in . . .
save a point’s coordinates
. . . \x1
x-coordinate of point \p1
. . . \y1
y-coordinate of point \p1
. . . \p1
string containing coordinates of \p1
. . . {veclen(\x1,\y1)}
length of vector (x, y)
\path . . . let \n1 = {sin(60)} in . . .
save a number
Layers
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\begin{pgfonlayer}{background}
\node {This node will appear on the background layer.};
\end{pgfonlayer}

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education
Go
Page of 3