Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. documentclass{amsart}
  2. usepackage{amsmath}
  3. usepackage{amsfonts}
  4.  
  5. usepackage{tikz}
  6. usetikzlibrary{calc,angles,positioning,intersections}
  7.  
  8.  
  9. begin{document}
  10.  
  11. begin{tikzpicture}
  12.  
  13. coordinate (O) at (0,0);
  14. draw[fill] (O) circle (1.5pt);
  15. coordinate (label_for_O) at ($(O)!-3mm!90:(15:4)$);
  16. node at (label_for_O){$O$};
  17.  
  18. %Line $ell$ is drawn.
  19. coordinate (left_endpoint_of_ell) at (195:4);
  20. coordinate (right_endpoint_of_ell) at (15:4);
  21. draw[latex-latex] (left_endpoint_of_ell) -- (right_endpoint_of_ell);
  22. coordinate (label_for_ell) at ($(right_endpoint_of_ell)!-3mm!(left_endpoint_of_ell)$);
  23. node at (label_for_ell){$ell$};
  24.  
  25. %A point P off $ell$ is plotted.
  26. coordinate (P) at (170:1.75);
  27. draw[fill] (P) circle (1.5pt);
  28. coordinate (P) at ($(170:1.75)!-3mm!(O)$);
  29. node at (P){$P$};
  30.  
  31. %Some rays in the closed half
  32. draw[-latex, line width=0.8pt] (O) -- (195:2.75);
  33. coordinate (label_for_ray_r) at ($(195:2.75)!-3mm!-90:(O)$);
  34. node at (label_for_ray_r){$ray{r}$};
  35.  
  36. draw[-latex] (O) -- (135:2.75);
  37. coordinate (label_for_ray_a) at ($(135:2.75)!-3mm!(O)$);
  38. node at (label_for_ray_a){$ray{a}$};
  39.  
  40. draw[-latex] (O) -- (90:2.5);
  41. coordinate (label_for_ray_b) at ($(90:2.5)!-3mm!(O)$);
  42. node at (label_for_ray_b){$ray{b}$};
  43.  
  44. draw[-latex] (O) -- (50:3.75);
  45. coordinate (label_for_ray_c) at ($(50:3.75)!-3mm!(O)$);
  46. node at (label_for_ray_c){$ray{c}$};
  47.  
  48.  
  49. %Title for ${mathrm{HR}}(ray{r}, , P)$ is typeset.
  50. coordinate (a_point_on_left_edge) at (left_endpoint_of_ell |- O);
  51. coordinate (a_horizontal_midpoint) at ($(a_point_on_left_edge)!0.5!(label_for_ell)$);
  52. coordinate (another_horizontal_midpoint_along_bottom_edge) at (a_horizontal_midpoint |- left_endpoint_of_ell);
  53. coordinate (title_for_a_set_of_rays) at ($(another_horizontal_midpoint_along_bottom_edge)!-3mm!(a_horizontal_midpoint)$);
  54. node[font=bfseries,anchor=north,inner sep=0] at (title_for_a_set_of_rays){${mathrm{HR}}(ray{r}, , P)$};%unboldmath
  55.  
  56. end{tikzpicture}
  57.  
  58. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement