Search In This Website

Jumat, 15 November 2024

Draw Equilateral Triangle In Latex

  1. Type this following latex code in the latex editor:
    % !TEX TS-program=pdflatex
    % !TEX unicode=UTF-8 Unicode
    \documentclass[border=5mm]{standalone}
    \usepackage{tgbonum}
    \usepackage{tikz}
    \usetikzlibrary{shapes.geometric}

    \tikzset{
    equilateralTriangle/.style={
    draw,
    shape border rotate=0,
    regular polygon,
    regular polygon sides=3,
    fill=white!20,
    node distance=2cm,
    minimum height=4em,
    thick
    }
    }

    \begin{document}
    \begin{tikzpicture}
    \node[equilateralTriangle]{\textbf{Equilateral Triangle}};
    \end{tikzpicture}
    \end{document}
  2. Save file as triangleEquilateral1.tex
  3. Then build or typeset the Latex code.

Output

equilateral triangle in latex

Related Post

Java Exception Hierarchy

These are Java Class Exception Hierarchy:

  • Throwable
    • Error.
      • AssertionError.
      • IOError.
      • VirtualMachineError.
        • InternalError.
        • OutOfMemoryError
        • StackOverflowError
        • UnknownError
    • Exception
      • IOException.
        • EOFException.
        • FileNotFoundException.
        • MalFormedURLException.
        • ObjectStreamException.
        • UnknownHostException.
      • ReflectiveOperationException.
        • ClassNotFoundException.
      • CloneNotSupportedException.
      • RunTimeException.
        • ArithmeticException.
        • ClassCastException.
        • IllegalArgumentException.
        • IllegalStateException.
        • IndexOutOfBoundsException.
        • NoSuchElementException.
        • NullPointerException.

<< back to Study About Java 1

Related Post

The Pythagorean Theorem

Pythagoras Theorem Formula:





AB is base side / adjacent side
BC is perpendicular side / opposite side
CB is hypotenuse side ( the longest side ).

Hypotenuse2 = Base2 + Perpendicular2
b2  = a + c2 
= 82  + 62 
= 64  + 36
= 100

to learn about angles, click Types Of Angles >

<< back to learn the other two dimensional shape, click Two Dimensional Shape 3

Draw Acute Angle In Latex

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

    % !TEX TS-program=pdflatex

    % !TEX encoding=UTF-8 Unicode


    \documentclass[tikz]{standalone}

    \usepackage{tgbonum}

    \usepackage{arevmath}

    \usepackage{tikz}

    \usetikzlibrary{quotes,angles}

    \begin{document}

    \begin{tikzpicture}[thick]

    \draw (3,0) coordinate (a) node[right] {\textbf{a}}

    -- (0,0) coordinate (b) node[left] {\textbf{b}}

    -- (2,2) coordinate (c) node[above right] {\textbf{c}}

    pic["$\beta$",draw=blue,<->,angle eccentricity=1.3,angle radius=1cm] {angle=a--b--c};

    \end{tikzpicture}


    \end{document}

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

Output




<< go to Types Of Angles


< previous Angle In Latex


Related Post

The Pythagorean Theorem In Latex

  1. Type this following latex code in the latex editor:
    % !TEX TS-program=pdflatex
    % !TEX encoding=UTF-8 Unicode
    %
    % File name: triangleTheorem1.tex
    % Description:
    % The Pythagorean Theorem
    %
    % 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}
    \begin{tikzpicture}[scale=3.5,thick]
    % Label the nodes and position
     \coordinate[label=below left:$\textbf{A}$] (A) at (0,0);
     \coordinate[label=below right:$\textbf{B}$] (B) at (1.5,0);
     \coordinate[label=above:$\textbf{C}$] (C) at (1.5,1);
     % Draw the triangle
     \draw (B) -- (A) -- (C) -- cycle;
     % Label the sides
     \node[above] at (0.75,0) {$\textbf{c}$};
     \node[below] at (0.75,0) {\textbf{Adjacent}};
     \node[right] at (1.5,0.5) {\textbf{Opposite}};
     \node[left] at (1.5,0.5) {$\textbf{a}$};
     % Label the angle
     \draw (0.4,0) arc (0:33.69:0.4) node[right,midway] {$\boldsymbol{\theta}$};
     \node[above left] at (0.75,0.5) {\textbf{Hypotenuse}};
     \node[below right] at (0.75,0.5) {$\textbf{b}$};
     % Draw the right angle mark
     \draw (1.30,0) -- (1.30,.2) -- (1.50,0.2);
    \end{tikzpicture}
    \end{document}

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

Output



<< to learn other two dimensional shape, click Two Dimensional Shape 3

to learn Pythagorean Theorem, click The Pythagorean Theorem >

Related Post

Kamis, 14 November 2024

Pentingnya Kebersihan Lingkungan (IPS) 2

Kegiatan pembersihan lingkungan:

Pembersihan Sampah

Pembersihan Jalan

Pembersihan Taman

Pembersihan Drainase

Pembersihan Trotoar dan Median Jalan

Pembersihan Pasar

Pembersihan dan Pemeliharaan Sarana dan Prasarana lain.

Pengolahan Sampah

Bibliography

https://bandarharjo.semarangkota.go.id/
https://dpu.makassarkota.go.id/
https://infopublik.id/
https://pta-pekanbaru.go.id/
https://sdnungaran1.sch.id/
https://www.antarafoto.com/
https://www.bukitbarisannews.com/
https://www.rri.co.id/

How To Get Active File Path In Notepad 2 Method 1

How To Get Active File Path In Notepad 2 / How To Get Current File Path In Notepad 2 Method 1

  1. click File > Save As menu
    Notepad 2 File Save As
  2. After the Open dialogue box window has opened, then you can get the current file path from "location bar" or "address bar".
    Notepad 2 Open Dialogue Box

Notes

  • "Location bar" or "Address bar" is under "Save As" title bar and in the right side you can see "Search hospital-database" box.
  • In this example "Location bar" is "<< database > hospital-database".


Related Post