A “pic” is a “short picture” that can be inserted anywhere in TikZ picture where you could also insert a node.

learn more… | top users | synonyms

5
votes
1answer
52 views

Problems combining clip, layer and pic when multiple instances are included in the same tikzpicture

I'm having trouble figuring out how I am supposed to combine (or if I am supposed not to combine) pics, clipping and layering when more than one instance of a pic is included in a single tikzpicture ...
3
votes
0answers
32 views

Using node after pic results in error in TikZ [duplicate]

Consider the following code: \documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture}[corner/.pic = { \path[pic actions] (0,0) -- (1,0) -- (0,1) --cycle; }] \pic[draw] ...
1
vote
0answers
35 views

Strange behaviour involving nested TikZ pics an the to path [duplicate]

I have become quite fond of using TikZ pics, but sometimes I run into some unexpected behaviour. As far as I know, if you define coordinates like (-A), (-B),... inside a pic and draw the pic later as ...
1
vote
2answers
135 views

Nested pics in TikZ 3.0

TiKz 3.0 introduce pics and I like them, but it seems that they are not as powerfull as I wish. For example I'm not able to use nested pics like this : \tikzset{ one/.pic = {\draw[pic actions] ...
3
votes
1answer
70 views

drawing directed graph

How can I draw an edge from (ab) to ($a^3$$b$)? I tried using \Edge(ab)($a^3$$b$) like I did for drawing an edge from (b) to (e) but the same method didn't work. I think it has something to do with ...
-1
votes
1answer
115 views

drawing a 2D-plane

i need to draw this plane, but i don't know how can anyone help me? its important i need it in my master report. i try to use this from an old example to start with but it didn't work ...
4
votes
1answer
151 views

A nice example with `name prefix ..`

TiKZ pics include a new key called name prefix ... TiKZ documentation defines it with /tikz/name prefix .. This key is available only inside the code of a pic. There, it (locally) ...
11
votes
1answer
249 views

Anchoring TiKZ pics

Is it possible to anchor a TiKZ-pic on an internal anchor? I know (more or less) how to use TiKZ pics and know that they are draw arround their origin. What I would like to be sure is that it's not ...