Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. documentclass[12pt,article]{elsarticle}
  2. usepackage{pgfplots}
  3. pgfplotsset{compat=1.11}
  4.  
  5. begin{document}
  6. begin{figure}[!h]
  7. begin{minipage}{0.5textwidth}
  8. centering
  9. begin{tikzpicture}[font=sffamily]
  10. path (0,0) coordinate (A) (60:3) coordinate (B) (3,0) coordinate (C);
  11. draw[thick,path picture={
  12. foreach X in {A,B,C}
  13. {draw[line width=0.4pt] (X);}}]
  14. (A) node[left]{$A$} to[bend right=12]
  15. (B) node[above right]{$B$} to[bend right=15]
  16. (C) node[right]{$C$} to[bend right=20] cycle;
  17. % node at (barycentric cs:A=1,B=1,C=1) {$<180^circ$};
  18. end{tikzpicture}
  19. caption{Triangle in a CAT(0) space}
  20. label{fig:tri1}
  21. end{minipage}hspace{0.05cm}%hfill
  22. hspace{-0.12cm}
  23. begin{minipage}{0.5textwidth}
  24. centering
  25. begin{tikzpicture}[font=sffamily]
  26. path (0,0) coordinate (A) (60:3) coordinate (B) (3,0) coordinate (C);
  27. draw [thick,path picture={
  28. foreach X in {A,B,C}
  29. {draw[line width=0.4pt] (X);}}] (A) node[left]{$A$} (B) node[above right]{$B$} (C) node[right]{$C$} (0,0) -- (60:3) -- (3,0) -- cycle;
  30. end{tikzpicture}
  31. caption{Triangle in an Euclidean space}
  32. label{fig:tri2}
  33. end{minipage}%hspace{0.05cm}%hfill
  34. end{figure}
  35. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement