% !TEX TS-program=pdflatex
% !TEX encoding=UTF-8 Unicode
%
% File name: straightAngle1d.tex
% Description:
% The Straight Angle
%
% Composer: private course and tutor course
\documentclass[12pt,a4paper]{report}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage{bm}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0.25pt}
\begin{document}
% horizontal straight angle with angle in the left side
%---------------------------
\begin{tikzpicture}[scale=3.5,thick]
% Label the nodes and position
\coordinate[label=right:$\textbf{A}$] (A) at (0,0);
\coordinate[label=below left:$\textbf{C}$] (B) at (0,1.5);
\coordinate[label=below left:$\textbf{B}$] (C) at (0,-1.5);
% Draw the Angle Leg / Angle Ray
\draw (B) -- (A) node [circle,fill=black,radius=0.01,scale=0.1] {vertex} -- (C);
% Label the sides
\node[above] at (-0.15,0.75) {$\textbf{b}$};
\node[above, rotate=270] at (0.03,0.75) {\textbf{right ray}};
\node[above, rotate=270] at (0.03,-0.75) {\textbf{left ray}};
\node[above] at (-0.15,-0.75) {$\textbf{a}$};
% Draw the straight angle mark
\draw [thick] (0,-0.2) arc(270:90:0.2);
\end{tikzpicture}
\end{document}
2. Save file as straightAngle1d.tex3. Then build or typeset the Latex code.
Tidak ada komentar:
Posting Komentar