TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say that I'm writing a decoration where I use the \pgfnode command in it. It works well but if I change the pgfkey TikZ/font to any dimension, it is not passed to the nodes in the decoration. How can I avoid it?

share|improve this question

Searching on tikz.code.tex I found the following line:


so the tikz/font value is stored into \tikz@textfont. To use it into my node in decoration, I write:

\pgftransformshift{\pgfpoint{<x value>}{<y value>}}
\pgfnode{rectangle}{south}{<text>}{<node name>}{\pgfusepath{<use path option>}}

That's all

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.