Selasa, 02 Juli 2024

Angle In Latex

type this following latex code for drawing an angle:

\documentclass[border=3]{standalone}
\usepackage{tikz}
\usetikzlibrary{angles, arrows.meta, quotes}

\begin{document}
\begin{tikzpicture} [> = {Straight Barb}, arr/.style = {-Stealth, semithick}] % configure the arrow
        % draw three nodes
\coordinate (A) at (0, 0);
\coordinate (B) at (2, 0);
\coordinate (C) at (2, 2);
% length between B and C
\draw[arr,very thick] (A) to ["$a$"] (C);
\draw[arr,very thick] (A) to ["$b$" '] (B);
        % draw an angle
\pic[draw, <->, angle radius = 11mm, "$\alpha$"] {angle = B--A--C};
\end{tikzpicture}
\end{document}

Output:

If you want to draw a triangle in LaTeX, click this Triangle In Latex hyperlink.


Bibliography

latex, latex math, latex equation, latex mathematics, latex draw, geometry, euclidean

Related Post

Tidak ada komentar:

Posting Komentar

Various Other Posts