How would I produce a triangle (with each side a different length) with labeled edges and angles? I'be managed to produce a triangle using pstricks
, the code it
\begin{pspicture}(0,-1.34)(6.8,1.34)
\psline[linewidth=0.04](6.78,0.88)(0.0,1.32)(0.58,-1.32)(6.74,0.86)(6.74,0.86)(6.76,0.84)
\end{pspicture}
and the output is
How would I label the lines and the angles?
I've looked around at answers to similar questions and they all use tiks. I'm happy to start learning that if it makes the drawing easier.
Best Answer
What you are looking for is the
tkz-euclide
package. Look at the following example:Which gives this triangle:
If you were to use
PSTricks
, you can do the same example like this:Run in the sequence: LaTeX-DVI-PS-PDF to get the output: