I'm writing a paper for college. In this paper, we're discussing geometric shapes: both polygons and polyhedra. In my build up for a general formula for the area of a polygon, I'm using the triangle as a starting point. I'd like a line segment, bisector, of the triangle labeled at "h" for the all-to-familiar A=1/2bh of a triangle's area. Here's my minimal working example:
\documentclass[letterpaper,11pt]{article}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\usepackage{tkz-euclide}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\node[minimum size=3cm,regular polygon,regular polygon sides=3] (a) {};
\draw (a.corner 1) -- (a.corner 2) -- node[below] {b} (a.corner 3) -- cycle;
\draw (a.corner 1) -- node[right]{$h$} (0,-0.75);
\end{tikzpicture}
\end{figure}
\end{document}
Which yeilds
. You'll notice that the top bisector isn't "quite right." Although, perhaps workable, I'd like it to look better. Help is much appreciated because I'm quite new to this.
I've learned, through this site, using the geometry subpackage/library/whatever of tikz for the polygons. I'm struggling though whole bisector thing though. I found tkz-euclide at this post but it seems a bit heavyweight for what I'm trying to accomplish. I'm really just looking for a line from the top of the triangle to the midpoint of the vertices of the base with a nice "h" label next to it. Whatever help can be given is great.
Thanks,
Andy

