File:Equilateral-triangle-tikz.svg
Summary
Category:Unchecked SVG validityDescription |
English: An Equilateral triangle
Deutsch: Ein Gleichseitiges Dreieck |
Date | |
Source | Own work |
Author | MartinThoma |
Other versions |
![]() ![]() |
This file was created with LaTeX (tikz):
\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{2mm}
\usepackage{tikz}
\usetikzlibrary{positioning, calc}
\begin{document}
\begin{preview}
\begin{tikzpicture}[scale=0.8]
% draw the background
\draw [line width=1.5pt, fill=gray!2] (0,0) -- (60:4) -- (4,0) -- cycle;
\coordinate[label=left:$A$] (A) at (0,0);
\coordinate[label=right:$B$] (B) at (4,0);
\coordinate[label=above:$C$] (C) at (2,3.464);
\coordinate[label=below:$c$](c) at ($ (A)!.5!(B) $);
\coordinate[label=left:$b$] (b) at ($ (A)!.5!(C) $);
\coordinate[label=right:$a$](a) at ($ (B)!.5!(C) $);
% angle alpha
\draw[fill=green!30] (0,0) -- (0:0.75cm) arc (0:60:.75cm);
\draw (0.35cm,0.25cm) node {$\alpha$};
% angle beta
\begin{scope}[shift={(4cm,0cm)}]
\draw[fill=green!30] (0,0) -- (-180:0.75cm) arc (180:120:0.75cm);
\draw (150:0.5cm) node {$\beta$};
\end{scope}
% angle gamma
\begin{scope}[shift={(60:4)}]
\draw[fill=green!30] (0,0) -- (-120:.75cm) arc (-120:-60:.75cm);
\draw (-90:0.5cm) node {$\gamma$};
\end{scope}
% the triangle
\draw [line width=1.5pt] (A) -- (B) -- (C) -- cycle;
\end{tikzpicture}
\end{preview}
\end{document}
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. |
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
You may select the license of your choice.
![]() |
This image has been assessed using the Quality image guidelines and is considered a Quality image.
|
Category:CC-BY-3.0
Category:Equilateral triangles
Category:GFDL
Category:Green triangles
Category:Images by Martin Thoma/Mathematics/Triangles
Category:Images with LaTeX source code
Category:License migration redundant
Category:Quality images
Category:Quality images - valid vector
Category:Quality images by Martin Thoma
Category:Quality images missing SDC depicts
Category:Self-published work
Category:TikZ graphics
Category:Unchecked SVG validity