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

I want use the following TikZ example:

TikZ Example Intersecting arcs

However, the package tkz-2d has been superseeded by tkz-euclide. It produces numerous errors and the ouput is a little dot. Downloading an old version of tkz-2d didn't help either as it produced even more errors.


\usepackage{tikz, tkz-euclide}


  % Initialize tkz-2d and set the range of x and y values

  % Define two points using TikZ. Note TikZ coordinates can be given
  % in polar form.
  \coordinate (A) at (100:8);
  \coordinate (B) at (50:8);

  % Draw a circle. Note star form of \tkzPoint defines points but does
  % not draw them.
  \tkzPoint*(0,0){C} % center of circle
  \tkzPoint*(0,4){R} % radius of circle

  % Define the points that are tangent to the circle where the tangent
  % line passes through either A or B

  % Compute the distance between A and D (the result is stored in
  % \tkzmathLen)

  % Fill and highlight the sector centered at A
  \tkzFillSector*[color=blue!80!black,opacity=0.5](A,\tkzmathLen pt)(D,E)

  % Fill and highlight the sector centered at B
  \tkzFillSector*[color=red!80!black,opacity=0.5](B,\tkzmathLen pt)(F,G)

  % Find the intersection of the two arcs  

  % Draw the intersection
  \tkzDrawPoint[pos=below left](I)


Can someone help to get this working?

share|improve this question
Just look at page 112 in tkz-euclide manual (texdoc tkz-euclide) and will find the code you want. – Ignasi Sep 13 '13 at 7:23
Thanks, but using this: '\documentclass{article} \usepackage{tikz, tkz-euclide} \usepackage[graphics,tightpage,active]{preview} \setlength{\PreviewBorder}{3pt} \PreviewEnvironment{tikzpicture} \begin{document} ...' I get the error Undefined control sequence \tkzDrawSector – FLW Sep 13 '13 at 8:20
Found the solution: \usetkzobj{all} – FLW Sep 13 '13 at 8:39

Ignasi gave the correct answer: Page 112 in the tkz-euclide manual. Be sure to add \usetkzobj{all} to your header!

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.