Drawing geometry pictures
A well-known classic field of mathematics is geometry. You may know Euclidean geometry from school, with constructions involving compass and ruler. Math teachers may be very interested in drawing geometric constructions and explanations. Underlying constructions can help us with general drawings where we would need intersections and tangents of lines and circles, even if it does not look like geometry.
So, in this recipe we will remember school geometry drawings.
How to do it...
We will use the tkz-euclide
package, which works on top of TikZ. As our first goal, we will construct an equilateral triangle. Then we will add some information. Follow these steps:
- 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}
- Specify which geometric objects shall be supported. Let's take all available:
\usetkzobj{all}
- Start the...