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

Starting from a more complex trial to add a new shape, I arrive to this minimal example which does not compile. I use PGF 2.10


\node[minex] {};

The received error message is :

ERROR: Package PGF Math Error: Unknown function `center' (in 'center').

TeX said:

See the PGF Math package documentation for explanation.
Type  H <return>  for immediate help.

l.7 \node[minex] {};
share|improve this question

Define at least a center anchor, then the error goes away:

share|improve this answer

Add some definitions (inherited or not) :


  \inheritanchor[from=rectangle]{north west}
  \inheritanchor[from=rectangle]{south east}
  \inheritanchor[from=rectangle]{south west}
  \inheritanchor[from=rectangle]{north east}
  \inheritanchor[from=rectangle]{base east}
  \inheritanchor[from=rectangle]{base west}
  \inheritanchor[from=rectangle]{mid east}
  \inheritanchor[from=rectangle]{mid west}
\node[shape=minex] {};
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.