Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{amsart}
- usepackage{amsmath}
- usepackage{amsfonts}
- usepackage{tikz}
- usetikzlibrary{calc,angles,positioning,intersections}
- begin{document}
- begin{tikzpicture}
- coordinate (O) at (0,0);
- draw[fill] (O) circle (1.5pt);
- coordinate (label_for_O) at ($(O)!-3mm!90:(15:4)$);
- node at (label_for_O){$O$};
- %Line $ell$ is drawn.
- coordinate (left_endpoint_of_ell) at (195:4);
- coordinate (right_endpoint_of_ell) at (15:4);
- draw[latex-latex] (left_endpoint_of_ell) -- (right_endpoint_of_ell);
- coordinate (label_for_ell) at ($(right_endpoint_of_ell)!-3mm!(left_endpoint_of_ell)$);
- node at (label_for_ell){$ell$};
- %A point P off $ell$ is plotted.
- coordinate (P) at (170:1.75);
- draw[fill] (P) circle (1.5pt);
- coordinate (P) at ($(170:1.75)!-3mm!(O)$);
- node at (P){$P$};
- %Some rays in the closed half
- draw[-latex, line width=0.8pt] (O) -- (195:2.75);
- coordinate (label_for_ray_r) at ($(195:2.75)!-3mm!-90:(O)$);
- node at (label_for_ray_r){$ray{r}$};
- draw[-latex] (O) -- (135:2.75);
- coordinate (label_for_ray_a) at ($(135:2.75)!-3mm!(O)$);
- node at (label_for_ray_a){$ray{a}$};
- draw[-latex] (O) -- (90:2.5);
- coordinate (label_for_ray_b) at ($(90:2.5)!-3mm!(O)$);
- node at (label_for_ray_b){$ray{b}$};
- draw[-latex] (O) -- (50:3.75);
- coordinate (label_for_ray_c) at ($(50:3.75)!-3mm!(O)$);
- node at (label_for_ray_c){$ray{c}$};
- %Title for ${mathrm{HR}}(ray{r}, , P)$ is typeset.
- coordinate (a_point_on_left_edge) at (left_endpoint_of_ell |- O);
- coordinate (a_horizontal_midpoint) at ($(a_point_on_left_edge)!0.5!(label_for_ell)$);
- coordinate (another_horizontal_midpoint_along_bottom_edge) at (a_horizontal_midpoint |- left_endpoint_of_ell);
- coordinate (title_for_a_set_of_rays) at ($(another_horizontal_midpoint_along_bottom_edge)!-3mm!(a_horizontal_midpoint)$);
- node[font=bfseries,anchor=north,inner sep=0] at (title_for_a_set_of_rays){${mathrm{HR}}(ray{r}, , P)$};%unboldmath
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement