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 was trying to draw arcs in tikz, and I was using code from this site

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\draw (0,0) arc (0:270:8mm);
\draw (0,0) arc (0:315:1.75cm and 1cm);
\filldraw[fill=cyan, draw=blue] (0,0) -- (12mm,0mm) arc (0:30:12mm) -- (0,0);
\end{tikzpicture}
\end{document}

But this does not work

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathreplacing}
\begin{document}
\begin{tikzpicture}
\draw (0,0)  arc[radius = 8mm, start angle= 0, end angle= 270]
\draw (0,0)  arc[x radius = 1.75cm, y radius = 1cm, start angle= 0, end angle= 315]
\end{tikzpicture}
\end{document}

He just keeps compiling, absorbing 100% CPU according to my Activity Monitor. Is this normal? Is it possible something hasn't been installed properly?

share|improve this question

closed as too localized by percusse, lockstep, Thorsten, Stefan Kottwitz Mar 30 '13 at 12:39

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2  
Your second example should gives errors: you are missing ; at the end of the two \draw lines. If I add them in all is well: what version of pgf do you have installed? –  Joseph Wright Feb 13 '13 at 9:40
    
Thanks, I used ; but it still doesn't work. I checked the log-file, it says: Package: pgf 2008/01/15 v2.00 (rcs-revision 1.12) –  fred Feb 13 '13 at 10:56
2  
It may well be that the key-value syntax for arcs came after that version of PGF. Take a look at your version of the manual (texdoc pgf) to see if that is a valid syntax for specifying arcs. If not, you either have to update TikZ/PGF (recommended) or use the old syntax. –  Loop Space Feb 13 '13 at 11:24
    
Thanks, that changes my problem into the one discussed <a href="tex.stackexchange.com/questions/11148/… site</a> installing tikz (or updating it) According to my Tex Live Utility there is nothing new to be installed, and simply downloading a new version and dropping the new pgf folder in Users/myname/Library/texmf/tex/generic doesn't do the job either. –  fred Feb 13 '13 at 12:25

Browse other questions tagged or ask your own question.