KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당

추석 선물입니다.^^

\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles,quotes}

\begin{document}

\begin{tikzpicture}[->,>=stealth]
%\draw [help lines,-] (-1,-1) grid (5,9);
\draw [->] (0,0) -- (3.5,0) coordinate (X);
\path 
  (0,0) coordinate (A) -- 
  (0,2) coordinate (B) -- 
  ([turn]-45:2cm) coordinate (C) -- 
  ([turn]15:3cm) coordinate (D) -- 
  ([turn]90:3.37cm) coordinate (E) -- 
  ([turn]-150:3.5cm) coordinate (F) -- 
  ([turn]-90:2cm) coordinate (G)
;

\begin{scope}[angle eccentricity=1.8]
\draw  (A) -- (B) pic ["90\textdegree",draw,<->] {angle=X--A--B};
\draw  (B) -- (C) pic ["135\textdegree",draw,<->] {angle=A--B--C};
\draw  (C) -- (D) pic ["165\textdegree",draw,<->] {angle=D--C--B};
\draw  (D) -- (E) pic ["90\textdegree",draw,<->] {angle=E--D--C};
\draw  (E) -- (F) pic ["30\textdegree",draw,<->] {angle=D--E--F};
\draw  (F) -- (G) pic ["90\textdegree",draw,<->] {angle=E--F--G};
\end{scope}
\end{tikzpicture}

\end{document}
 

 

KTUG 한국 텍 사용자 그룹