Selasa, 05 November 2024

Angles In Parallel Lines Using Latex

  1. Type this following latex code for drawing Angles In Parallel Lines using Latex:

    % !TEX TS-program=pdflatex 

    % pdflatex parallelLines1so.tex

    \documentclass[multi=page,border=2,preview,tikz]{standalone}

    \usepackage{tgbonum}
    \usepackage{tikz}

    \begin{document}

    \begin{page}

    \begin{center}

    \huge{\textbf{Angles \\ In \\ Parallel Lines}} \\

    \large{Private Course \\And \\Tutor Course}

    \end{center}

    \end{page}

    \begin{page}
    \begin{tikzpicture}
    % bottom level----------
    \begin{scope}[shift={(60:0cm)},ultra thick] 
    % bottom left
    \draw(30:-.5cm) node {$\mathbf{4}$};

    % bottom right
    \draw (-60:0.4cm) node {$\mathbf{3}$};
    \end{scope}

    % middle bottom level----------
    \begin{scope}[thick]
    % middle bottom left
    \draw(120:0.4cm) node {$\mathbf{1}$};

    % middle bottom right
    \draw(30:0.5cm) node {$\mathbf{2}$};
    \end{scope}

    % middle top level----------
    \begin{scope}[shift={(60:2cm)},thick]
    % middle top left
    \draw (30:-0.5cm) node {$\mathbf{4}$};

    % middle top right
    \draw (-60:0.4cm) node {$\mathbf{3}$};
    \end{scope}

    % top level----------
    \begin{scope}[shift={(60:2cm)},thick]
    % top left
    \draw(120:0.4cm) node {$\mathbf{1}$};

    % top right
    \draw(30:0.5cm) node {$\mathbf{2}$};
    \end{scope}

    % draw the parallel lines
    \begin{scope}[ultra thick]
    % draw vertical skew parallel lines
    \draw (60:-2cm) node[fill=white] {$\mathbf{Q}$} -- (60:4cm) node[fill=white] {$\mathbf{P}$};
    % draw horizontal parallel lines
    \draw[black] (-2,0) node[left] {} -- (3,0) node[right]{$\mathbf{N}$};
    \draw[black,shift={(60:2cm)}] (-3,0) node[left] {} -- (2,0) node[right]{$\mathbf{M}$};
    \end{scope}
    \end{tikzpicture}
    \end{page}
    \end{document}
  2. save file as parallelLines1so.tex
  3. then build or typeset the Latex code.

Output

Notes

  1. This source code may not running well in several latex software tools or several version of software. You can learn how to check Latex version in this following links:
  2. Requirements: has been tested using TexWorks, TexLive, pdflatex. You may use another tools to compile or build this Latex document.
  3. To see the more clear picture, click on the picture.



to see the other output, click Angles In Parallel Lines >

Related Post:

Tidak ada komentar:

Posting Komentar