## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Draw an angle labeled \theta

Information and discussion about graphics, figures & tables in LaTeX documents.
Philosophaie
Posts: 17
Joined: Sat Mar 21, 2015 8:59 pm

### Draw an angle labeled \theta

How do you draw an angle labeled \theta?
I can draw the right angle.

\begin{document} \begin{tikzpicture}[dot/.style={fill,circle,inner sep=1.5pt}]    \coordinate (Q) at (0,0);   \coordinate (A) at ($(Q)+(0:4)$);   \coordinate (P) at ($(Q)+(90:3)$);    \draw (A) -- (Q) -- (P) -- cycle;    \path (A) -- node [midway,sloped,above] {r} (P);   \path (A) -- node [midway,sloped,below] {a} (Q);   \path (P) -- node [midway,sloped,below] {x} (Q);   ***\angle {A} --  ["$\theta$",draw,,angle radius=1cm] {angle = Q--A--P}***    \tkzMarkRightAngle(A,Q,P);\end{tikzpicture} \end{document}

Tags:

Stefan Kottwitz
Posts: 9586
Joined: Mon Mar 10, 2008 9:44 pm
Hm,

• which document class?
• which packages? TikZ for sure, and one of the tkz package it seems
• which additional libraries are required? (at least calc I think)
• what further settings? Activating tkz objects?

It would be much easier to answer such question, if we could test the code and our suggestion. All this questions would be clear, if you would post the example with a working preamble (minimal, but sufficient). That would be good in general.

Untested: you can do this with the pic feature and the angles library.

Stefan