1

The following code is not compiled. I got it out of the manual. Please tell me what is wrong with it. Also, please tell me where in the manual the options in the command node(b)[circle, draw]{A circle}; are explained.

\documentclass{amsart}
\usepackage{tikz}
\usetikzlibrary{calc,angles,positioning,intersections,quotes,decorations.markings}


\usepackage{pgfplots}
\pgfplotsset{compat=1.11}


\begin{document}

\begin{tikzpicture}

\path (0,0) node(a)[ellipse, rotate=10, draw]{An ellipse} (3,-1) node(b)[circle, draw]{A circle};
\draw[thick](node cs:name=a) -- (node cs:name=b);
\end{tikzpicture}


\end{document}
Adelyn
  • 3,373

0 Answers0