Rabu, 11 Desember 2024

Straight Angle In Latex 1c

1. Type this following latex code in the latex editor:

% !TEX TS-program=pdflatex

% !TEX encoding=UTF-8 Unicode

%

% File name: straightAngle1c.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 bottom side

%---------------------------

\begin{tikzpicture}[scale=3.5,thick]

% Label the nodes and position

 \coordinate[label=above:$\textbf{A}$] (A) at (0,0);

 \coordinate[label=below left:$\textbf{C}$] (B) at (-1.5,0);

 \coordinate[label=below right:$\textbf{B}$] (C) at (1.5,0);


 % Draw the Angle Leg / Angle Ray

 \draw (B) -- (A) node [circle,fill=black,radius=0.01,scale=0.1] {vertex};

 \draw (C) -- (B) ; 

 

 % Label the sides

 \node[above] at (-0.75,0) {$\textbf{right ray}$};

 \node[below] at (-0.75,0) {\textbf{b}};

 \node[below] at (0.75,0) {\textbf{a}};

 \node[above] at (0.75,0) {$\textbf{left ray}$};


 % Draw the straight angle mark

 \draw [thick] (-0.2,0) arc(180:360:0.2);

\end{tikzpicture}

\end{document}

2. Save file as straightAngle1c.tex
3. Then build or typeset the Latex code.

Output








<< go to Types Of Angles


Tidak ada komentar:

Posting Komentar

Various Other Posts