From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- graphics/mathspic/dos/mpicm01.m | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 graphics/mathspic/dos/mpicm01.m (limited to 'graphics/mathspic/dos/mpicm01.m') diff --git a/graphics/mathspic/dos/mpicm01.m b/graphics/mathspic/dos/mpicm01.m new file mode 100644 index 0000000000..5cc6990e10 --- /dev/null +++ b/graphics/mathspic/dos/mpicm01.m @@ -0,0 +1,24 @@ +%% mPICm01.m (figure 1) +%% mathsPIC (smallTriangle with incircle) +%%------------------- +\documentclass[a4paper]{article} +\usepackage{pictexwd} +\begin{document} +%%--------------------- +pictex{\beginpicture} +paper{units(cm) xrange(0,5), yrange(0,2.5)} +point(A){0,0} +point(B){A, polar(5, 10 deg)} +point(C){A, polar(3, 50 deg)} +drawpoint(ABC) +drawTriangle(ABC) +drawIncircle(ABC) +variable(d){0.5} +text($A$){A, shift(-d,0)} +text($B$){B, shift(d,0)} +text($C$){C, shift(-d,0)} +pictex{\endpicture} +%%----------------- +\end{document} + + -- cgit v1.2.3