In the display, I have three angles that have the same measure. (These are the only three angles that are marked. They are centered at points O, P, and Q.) I am using this code to get familiar with the arc syntax and the let-in syntax. To draw the arc at P, I declare the starting point to be ($(P)!0.5cm!(R)$). This part of the command is correct. I am not sure the reason that the arc is not drawn about P, though.
\documentclass{amsart}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{tikz}
\usetikzlibrary{calc,positioning,intersections,quotes}
\begin{document}
\vfill
\pagebreak
\noindent \hspace*{\fill}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\draw[-latex,name path=ray_1] (O) -- (10:7);
\coordinate (label_for_ray_r_1) at ($(10:7) +(10:3mm)$);
\node at (label_for_ray_r_1){$r_{1}$};
\node at ($(O)!-3mm!(10:7)$){$O$};
\draw[-latex,name path=ray_2] (O) -- (135:3.5);
\coordinate (label_for_ray_r_2) at ($(135:3.5) +(135:0.3)$);
\node at (label_for_ray_r_2){$r_{2}$};
\draw[-latex,name path=ray_3] (O) -- (342.5:8);
\coordinate (label_for_ray_r_3) at ($(342.5:8) +(342.5:0.3)$);
\node at (label_for_ray_r_3){$r_{3}$};
%The ray opposite to $r_{2}$ is drawn.
\draw[-latex,dashed,name path=opposite_to_ray_2] (O) -- (-45:8);
\coordinate (Q) at (342.5:6.5);
\draw[fill] (Q) circle (1.5pt);
\coordinate (A) at ($(O)!(Q)!(10:7)$);
\node at ($(A)!-3mm!(Q)$){$A$};
\draw[fill,blue] (A) circle (1.5pt);
\draw[name path=path_AQ] (A) -- (Q);
%The projection of Q onto the ray opposite $r_{2}$ is called $P$.
\coordinate (P) at ($(O)!(Q)!(-45:7)$);
\node at ($(P)!3mm!90:(O)$){$P$};
\node at ($(Q)!-3mm!(P)$){$Q$};
\draw[dashed] (Q) -- (P);
%The projection of P onto $r_{1}$ is called $B$.
\coordinate (B) at ($(O)!(P)!(10:7)$);
\node at ($(B)!3mm!-90:(O)$){$B$};
\draw[dashed] (B) -- (P);
%The intersection of the line through P with the same slope as $r_{1}$ and the line through A and Q
%is labeled $R$.
\coordinate (a_point_R_1_in_the_plane_to_determine_R) at ($(P) +(10:3)$);
\path[name path=P_to_R_1] (P) -- (a_point_R_1_in_the_plane_to_determine_R);
\coordinate (a_point_R_2_in_the_plane_to_determine_R) at ($(Q)!-1!(A)$);
\path[name path=P_to_R_2] (Q) -- (a_point_R_2_in_the_plane_to_determine_R);
\coordinate[name intersections={of=P_to_R_1 and P_to_R_2, by={R}}];
\draw[fill] (R) circle (1.5pt);
\draw[dashed] (P) -- (R);
\draw[dashed] (Q) -- (R);
%The label for R is typeset.
\coordinate (label_R_below) at ($(R)!-7mm!(Q)$);
\coordinate (label_R_right) at ($(R)!-7mm!(P)$);
\coordinate (label_R) at ($(label_R_below)!0.5!(label_R_right)$);
\node[blue] at ($(R)!3mm!(label_R)$){$R$};
%An angle is drawn at O.
\draw[draw=blue] (O) ++(10:5mm) arc (10:-45:5mm);
%An angle at P with measure x is drawn.
\draw[draw=blue] let \p1=($(B)-(P)$), \n1={atan(\y1/\x1)}, \p2=($(Q)-(P)$), \n2={atan(\y2/\x2)} in ($(P)!0.5cm!(B)$) arc (\n1:\n2:0.5);
%An angle at Q with measure x is drawn.
\draw[draw=blue] let \p1=($(Q)-(P)$), \n1={atan(\y1/\x1)}, \p2=($(Q)-(R)$), \n2={atan(\y2/\x2)} in ($(Q)!0.5cm!(P)$) arc (\n1:\n2:0.5);
\end{tikzpicture}
\end{document}



TikZ? Why do you think that I have the wrong starting point? – user74973 Aug 07 '15 at 00:21arc(from your question I understand that not), but their starting point is not where you like to have. In this context, the code hasn't any error showingarcand its problem is in geometry. Sketch produced with your code would help to easy understand, what is the problem. Geometry issues can be solved with selection right function ('atan2' insteadatanas suggested Tarass in his answer) or manually add or subtract 180 degree from calculated angles (depend on quadrant). – Zarko Aug 07 '15 at 06:28PorR? I want to use justatan. – user74973 Aug 07 '15 at 20:21