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

Is there a way to redefine the name of a Tikz object in case of name conflict, like the \let command for a TeX macro?

As practical case, I have define a set of path decoration that can simply be used as:

\draw[pneumatic signal] (A) -- (B);

I have named one of these decoration signal for an undefined signal type. But this badly chosen name is conflicting with the signal shape of the shapes.symbols library.

So, do I need to rename my decoration or is there a mean to change a name as needed?

share|improve this question
up vote 3 down vote accepted

It's not wise to redefine the existing styles as other constructions, styles etc. might depend on it. As is for the TeX macros with \let, you are at risk of breaking things. But technically the last definition wins over the prior definitions.

  \node[draw, circle, xshift=2cm](a){A};
  \node[draw, circle, minimum width=2cm, yshift=-2cm](b){B};

enter image description here

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.