I'm trying to draw an arc between two points, centered at a third. I thought the following example should work
\documentclass{article}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetikzlibrary{calc}
\begin{document}
\begin{tikzpicture}[scale=1.5]
\tkzDefPoint(0,0){O}
\tkzDefPoint(2,-1){A}
\tkzDefPoint(1,1){B}
\tkzDrawArc[color=blue](O,A)(B)
\tkzDrawArc[color=Maroon](O,B)(A)
\tkzDrawArc(O,B)(A)
\tkzDrawLines[add = 0 and .5](O,A O,B)
\tkzDrawPoints(O,A,B)
\tkzLabelPoints[below](O,A,B)
\end{tikzpicture}
\end{document}
instead I get an error message that \tkzDrawArc
is an undefined control sequence.
Best Answer
You need to add the line
to your preamble straight after
\usepackage{tkz-euclide}
. From the README in the CTAN entry fortkz-euclide
:You’ll get a second error from the
Maroon
colour which isn’t defined yet; add the linebefore you load
tkz-euclide
to get that colour.