Here is the code that I want to use in Tex Maker.
\documentclass[12pt]{report}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{decorations}
\begin{document}
\begin{tikzpicture}[
black,
ultra thick,
planet/.style = {draw,fill,circle,inner,inner },
circle label/.style = {
postaction={
decoration={
text along path,
text = {#1},
text align=center,
text color=black,
reverse path,
},
decorate,
}
}
]
\filldraw[white] (-7,-7) rectangle (9,7);
{\path[circle label={Abelian}] (0,-2.1) arc (-90:360-90:1.2);
\draw[circle] (0,0) circle (1);}
{\path[circle label={Nilpotent}] (0,-1.2) arc (-90:360-90:1.2);
\draw[circle] (0,0) circle (2);}
{\path[circle label={O-group}] (0,-0.1) arc (-90:360-90:1.2);
\draw[circle] (0,0) circle (3);}
{\path[circle label={RO-group}] (0,+0.9) arc (-90:360-90:1.2);
\draw[circle] (0,0) circle (4);}
{\path[circle label={u.p.-group}] (0,+1.85) arc (-90:360-90:1.2);
\draw[circle] (0,0) circle (5);}
\end{tikzpicture}
\end{document}
But it shows me errors that
pgfkeys do not know the key decorations.
What else will I need to do?



\usetikzlibrary{decorations.text}? – moospit Jul 20 '15 at 12:42TiKZ.epsfigis obsolete, even more if you loadgraphicx. – Ignasi Jul 20 '15 at 12:45