Reputation
12,087
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
2 30 52
Newest
 Nice Answer
Impact
~615k people reached

Feb
10
comment Drawing boxes around words
@MedVall, the #1 takes the value of the optional arguments. In the example I use fill=blue!20, which is superfluous because I already set it in the node command. Anyway, this value for #1 is added in the optional part of the node command. So you can give it a set of comma-separated arguments that the node command understands.
Dec
28
awarded  Nice Answer
Dec
1
comment Drawing boxes around words
Like it says in the answer: "The phantom is added to get the normal spacing for the content of the box". Basically, because the node is placed in 'overlay mode', it has 0 size when being placed. But we don't want the next word to overlap, so we add a phantom to take up the space that the word would normally take up without actually printing the word. Try removing the phantom and see what happens. (It's been a while since I used any of this, just saw your comment. So I'm really hoping this is actually true... Pretty sure it is :))
Oct
4
awarded  Yearling
Jul
20
awarded  Nice Answer
Jan
31
awarded  Good Answer
Nov
19
awarded  Enlightened
Nov
19
awarded  Nice Answer
Oct
15
awarded  Nice Answer
Oct
4
awarded  Yearling
Sep
30
awarded  Explainer
Aug
27
awarded  Enlightened
Aug
27
awarded  Nice Answer
Aug
18
awarded  Enlightened
Aug
18
awarded  Nice Answer
Jul
17
awarded  Generalist
May
27
awarded  Nice Answer
Apr
22
awarded  Necromancer
Mar
27
awarded  Good Answer
Dec
23
awarded  Nice Answer