Drawing geometry pictures
Geometry is a traditional field in mathematics that’s familiar from school days, involving compass and ruler constructions. Using LaTeX for drawing geometric constructions and explanations can particularly interest math teachers. These underlying constructions can also aid in general drawings requiring line intersections and circle tangents, even if they don’t seem strictly geometric. Therefore, in this recipe, we’ll revisit the drawings from school geometry.
How to do it...
We’re going to utilize the tkz-euclide package, an extension of TikZ. Our initial objective is to create an equilateral triangle. Afterward, we’ll include additional details. Follow these instructions:
- Start with a document class. It could be any one; here, we can use the standalone class to focus on a single image:
\documentclass[border=10pt]{standalone}
- Load the tkz-euclide package:
\usepackage{tkz-euclide}
- Begin the document and...