summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/mfpic/lapictures.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/mfpic/lapictures.tex')
-rw-r--r--Master/texmf-dist/doc/generic/mfpic/lapictures.tex41
1 files changed, 24 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/generic/mfpic/lapictures.tex b/Master/texmf-dist/doc/generic/mfpic/lapictures.tex
index 52a9f060d9e..ec637dccaeb 100644
--- a/Master/texmf-dist/doc/generic/mfpic/lapictures.tex
+++ b/Master/texmf-dist/doc/generic/mfpic/lapictures.tex
@@ -1,5 +1,5 @@
%%% File: lapictures.tex
-%%% A part of mfpic 0.7a beta 2004/04/16
+%%% A part of mfpic 0.9 2006/05/26
%%%
% Magnify to same scale as pictures.tex :
% (Use of \mag is against the law of LaTeX, but Bugs Bunny set a precedent.)
@@ -22,8 +22,8 @@
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\footskip}{\baselineskip}
-% Add the metapost option if you prefer.
-\usepackage{mfpic}
+% Use the metafont option if you prefer.
+\usepackage[metapost,raggedcaptions]{mfpic}
\ifx\pdfoutput\UndEfInEd
\else
@@ -36,7 +36,7 @@
\setlength{\mfpframesep}{0pt}
\headshape{1}{1}{true}
\newcommand{\vs}{\bigskip\filbreak}
-\renewcommand\raggedright{\rightskip 0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax}
+%\renewcommand\raggedright{\rightskip 0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax}
\begin{document}
\mftitle{Commutative Diagram example.}
@@ -44,15 +44,20 @@
% |\ /|
% | C-F |
% |/ \|
-% B- - -E
+% B.....E
\noindent
\begin{mfpframe}
\begin{mfpic}[12]{0}{10}{0}{10}
\tlabeljustify{cc}
-\tcaption[2.0,1.0]{\raggedright{\it Figure 1:} Commutative diagram example.}
-\tlabels{(1,9){A} (1,1){B} (3,5){C} (9,9){D} (9,1){E} (7,5){F}}
-\setrender{\draw\arrow\trimpath{6pt}}
+\tcaption[2.0,1.0]{{\it Figure 1:} Commutative diagram example.}
+\tlabels{(1,9){A}
+ (1,1){B}
+ (3,5){C}
+ (9,9){D}
+ (9,1){E}
+ (7,5){F}}
+\setrender{\arrow\draw\trimpath{6pt}}
\lines{(1,9), (1,1)} % A -> B.
\lines{(1,9), (3,5)} % A -> C.
\lines{(3,5), (1,1)} % C -> B.
@@ -63,7 +68,7 @@
\lines{(3,5), (7,5)} % C -> F.
% B- - ->E :
%\dotted\arrow[r90][b-12pt]\arrow[b15pt]\reverse\arrow\lines{(1.5,1), (8.5,1)}
-\dotted\arrow\arrow[b10pt]\reverse\arrow\trimpath{6pt}\lines{(1,1), (9,1)}
+\arrow\arrow[b10pt]\reverse\arrow\dotted\trimpath{6pt}\lines{(1,1), (9,1)}
\end{mfpic}
\end{mfpframe}
@@ -76,7 +81,7 @@
\begin{mfpic}[20]{-3}{3}{-3}{3}
\axes
\function{-2,2,0.1}{((x**3)-x)/3}
-\tcaption{\raggedright{\it Figure 2:} Function Plot with Cartesian Axes.}
+\tcaption{{\it Figure 2:} Function Plot with Cartesian Axes.}
\end{mfpic}
\end{mfpframe}
@@ -89,7 +94,7 @@
\begin{mfpic}[30]{-1.5}{1.5}{-1}{1}
\parafcn{0,6,0.1}{cosd(150t)*dir(90t)}
\gfill\circle{(0,0),0.25}
-\tcaption{\raggedright{\it Figure 3:} Parametric Function Plot, and Filled Circle.}
+\tcaption{{\it Figure 3:} Parametric Function Plot, and Filled Circle.}
\end{mfpic}
\end{mfpframe}
@@ -105,7 +110,7 @@
\darkershade
\shade\draw\rect{(1,0),(2,1)}
\hatch\draw\rect{(2,0),(3,2)}
-\tcaption{\raggedright{\it Figure 4:} Bar Graph.}
+\tcaption{{\it Figure 4:} Bar Graph.}
\end{mfpic}
\end{mfpframe}
@@ -120,7 +125,7 @@
\shade\sector{(0,0), 1, 60,105}
\turtle{(0,0), \plr{(1,105)}}
\sector{(0,0), 1, 60,360}
-\tcaption{\raggedright{\it Figure 5:} Pie Chart.}
+\tcaption{{\it Figure 5:} Pie Chart.}
\end{mfpic}
\end{mfpframe}
@@ -134,7 +139,7 @@
\begin{mfpframe}
\begin{mfpic}[20]{-2}{2}{-1}{1}
\arrow\circle{(0,0),1}
-\tcaption{\raggedright{\it Figure 6:} Circle with Arrow.}
+\tcaption{{\it Figure 6:} Circle with Arrow.}
\end{mfpic}
\end{mfpframe}
@@ -153,7 +158,7 @@
\lines{(-1,1), (-1,-1), (1,-1.5)}
\point{(0,0)}
\dotted\reverse\lines{(-2,2), (-2,-2), (2,-3)}
-\tcaption{\rightskip= 0pt plus 3em {\it Figure 7:} Use of hatch, draw, lclosed, connect,
+\tcaption{{\it Figure 7:} Use of hatch, draw, lclosed, connect,
curve, point, lines, dotted, reverse.}
\end{mfpic}
\end{mfpframe}
@@ -165,13 +170,13 @@
\noindent
\begin{mfpframe}
\begin{mfpic}[40]{-1}{1}{-1}{1} % Was `[20]'.
-\tcaption{\raggedright{\it Figure 8:} Simpler variant of the previous figure.}
+\tcaption{{\it Figure 8:} Simpler variant of the previous figure.}
\hatch\draw\lclosed\connect
\curve{(1,0), (0.5,0.25), (0.5,0.5), (0,0.75)}
\point{(0,0)}
\endconnect
\reverse\lines{(-0.5,0.5), (-0.5,-0.5), (0.5,-0.75)}
-\tcaption{\raggedright{\it Figure 8:} Simpler variant of the previous figure.}
+\tcaption{{\it Figure 8:} Simpler variant of the previous figure.}
\end{mfpic}
\end{mfpframe}
@@ -179,6 +184,7 @@
\mftitle{Graph of data from file.}
+\noindent
\begin{mfpframe}
\begin{mfpic}[6]{-10}{10}{-2}{12}
\makepercentother
@@ -187,6 +193,7 @@
\mfpdatacomment\#
\fcncurve\datafile{data.dat}
\axes
+\tcaption{{\it Figure 9:} Example of a graph drawn from data in a file}
\end{mfpic}
\end{mfpframe}