- Type this following latex code in the latex editor:
% !TEX TS-program=pdflatex
% !TEX encoding=UTF-8 unicode
% Description:
% Obtuse Angle = Detuse Angle = Blunt Angle
\documentclass[a4paper]{article}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{bm}
\usepackage[active,tightpage,tikz]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0.25pt}
\begin{document}
%Requires \usetikzlibrary{calc} in the preamble
\boldmath
\begin{tikzpicture}[thick]% draw the vertex point / vertex node
\coordinate (B) at (2,0);
\coordinate (A) at (0,0);
\coordinate (C) at (-2,1.5);
% label the vertex
\draw [solid, thick] (B)--(A)--(C);
\draw (A) node[below] {$A$};
\draw (B) node[below] {$B$};
\draw (C) node[below left] {$C$};
% label the angle subtended at p1 by p2 and p3
\def\angleRadius{30pt}
% draw the arc
% draw in Old Version Tikz/PGF
% \draw[red,->,thick] let \p1=(A), \p2=(B), \p3=(C),
% \n1={atan2(\x2-\x1,\y2-\y1)}, \n2={atan2(\x3-\x1,\y3-\y1)} in
% ($(\p1)!\angleRadius!(\p2)$) arc (\n1:\n2:\angleRadius);
% draw in Current Version Tikz/PGF
\draw[red,->,thick] let \p1=(A), \p2=(B), \p3=(C),
\n1={atan2(\y2-\y1,\x2-\x1)}, \n2={atan2(\y3-\y1,\x3-\x1)} in
($(\p1)!\angleRadius!(\p2)$) arc (\n1:\n2:\angleRadius);
% draw the label
\draw[red] let \p1=(A), \p2=(B), \p3=(C),
\n1={atan2(\x2-\x1,\y2-\y1)}, \n2={atan2(\x3-\x1,\y3-\y1)} in
(\p1)+(\n1/2+\n2/2:\angleRadius) node[above right] {$\alpha$};
\end{tikzpicture}
\end{document} - Save file as triangleEquilateral1.tex
- Then build or typeset the Latex code.
Senin, 18 November 2024
Obtuse Angle In Latex 1a
Langganan:
Posting Komentar (Atom)
Various Other Posts
-
Math Lesson Topics For Pre Kindergarten Numbers Getting To Know Numbers Counting Number Comparing Number: Longer Or Shorter The Equal Symbol...
-
type this following latex code for drawing a number line: \documentclass[tikz,margin=0.25cm]{standalone} \usepackage{tikz} \usepackage{a...
-
type this following latex code for drawing a triangle: \documentclass[12pt, border=5mm]{standalone} \usepackage{tikz} \usepackage{amsmath} \...
-
State (Chart/Machine) Diagram Purpose It is used to model dynamic nature of the system. State diagram is used to describe the life time of a...
-
Pendidikan Jasmani Olahraga Kesehatan Beberapa aktivitas kebugaran jasmani, di antaranya: Push up untuk melatih kekuatan otot lengan. Sit u...
Tidak ada komentar:
Posting Komentar