Debian Codegraph @

texmf-dist/doc/latex/luatikz/example/nodeb.lua

raw
1 tikz.within( '*' )
2
3 local r1 =
4 rect{
5 pc = p{ 0, 0 },
6 size = p{ 3, 3 },
7 }
8
9 draw{ r1 }
10
11 put{
12 node{
13 at = r1.pc,
14 text = [[this is the center of a rect]],
15 text_width = '2cm',
16 rotate = 45,
17 },
18 }