After searching the web and finally coming from here (recreating a logo), I couldn't find an answer to what I am looking for. I want to rotate a text inside a circle and have a full control/fine tuning over its rotation, I stuck with the "Unknown" text, I couldn't make it rotate further down to get it centrally aligned with regard to the two yellow and red rectangles, i.e. the "kn" part of "Unknown" should face the white line between the two rectangles as in the figure below
based on the code below:
\documentclass[12pt]{scrreprt}
\usepackage{courier} %courier font
\usepackage{pgf,tikz,xcolor} % for tikz graphs and colors
\usetikzlibrary{decorations.text} % decorations.text for the text along path feature
\pagestyle{empty} % to suppress page numbers
\begin{document}
\begin{figure}[htbp]
\begin{tikzpicture}
\draw[color=black,fill=yellow,fill opacity=1.0] (2.87,-0.98) -- (2.51,-2.05) -- (4.39,-2.66) -- (4.76,-1.6) -- cycle;% yellow rect
\draw[color=black,fill=red,fill opacity=1.0] (3.23,0.19) -- (5.12,-0.43) -- (4.81,-1.5) -- (2.92,-0.88) -- cycle; %red rect
\draw[double distance=10mm,double=gray,opacity=0.3](0,0) circle (4.4cm); % a double circle
\path [postaction={decorate,decoration={raise=-1ex,text along path, reverse path,text align=center, text={|\ttfamily\huge\color{white}|Text label 1}}}] (-36:4.4cm) arc (-36:216:4.4cm); % commands should be between delimiters ||
\path [postaction={decorate,decoration={raise=-1ex,text along path, reverse path,text align=right, text={|\ttfamily\huge\color{white}|Unknown}}}] (-36:4.4cm) arc (-36:144:4.4cm);
\path [postaction={decorate,decoration={raise=-1ex,text along path,text align=right, text={|\ttfamily\huge\color{white}|Text label 2}}}] (-36:4.4cm) arc (-36:288:4.4cm);
\end{tikzpicture}
\end{figure}
\end{document}
Also related to my question:
1. Can I do all of the text in one \path command?
2. Can I do text along a path directly using the circle as my path, I mean without the need to draw an arc?
3. It would be great if this can be done with few lines of code.
4. Is there any specialized packages/tikz (tikz fan!) libraries to get user-friendly control over text along any path anywhere in the cloud?




\documentclassthat sets up the problem. – Peter Grill Mar 23 '13 at 09:16