Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a question concerning this minimal example:

\documentclass{minimal}
  \usepackage{tikz}
  \usetikzlibrary{petri}

\begin{document}
  \begin{tikzpicture} 
    \node[place, tokens=2] (p) {};
  \end{tikzpicture}
\end{document}

This gives me the following two errors:

! Undefined control sequence.
\pgfutil@font@tiny ->\tiny 

l.8     \node[place, tokens=2] (p) {};

? 
! Undefined control sequence.
\pgfutil@font@tiny ->\tiny 

l.8     \node[place, tokens=2] (p) {};

? 

If I set tokens=3 I'll get accordingly the error three times, if I remove the tokens, everthing is fine. Can anyone, please, at lest tell me where to look for the error?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

This happens because the minimal class doesn't define font sizes like \tiny. You should use article or some other "normal" class instead.

Errors like this are the reason why it is generally not recommended to use the minimal class for minimal working examples.

share|improve this answer
    
Great, many thanks! –  Isam Oct 24 '11 at 3:03

Your Answer

 
discard

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.