%%% %%% File: skip-pix.tex %%% %%% mfpic 0.2.10.4 alfa Mon 26 February 1996 %%% \magnification=\magstep1 \leftskip=20mm \input mfpic \opengraphsfile{spics} \headshape{1}{1}{true} Here is some introductory text, to show how the first paragraph in a document is typeset. I need to make this long enough to show at least two consecutive lines in a single paragraph. That should suffice, or so I think. \mftitle{Commutative Diagram example.} % A-----D % |\ /| % | C-F | % |/ \| % B- - -E \noindent \mfpic[12]{0}{10}{0}{10} \tcaption[2.0,1.0]{{\it Figure 1:} Commutative diagram example.} \tlabel[cc](1,9){\vbox{A is a label, let's see what happens when we use a whole paragraph for a label: will TeX's leftskip primitive have an effect on its typesetting? I hope not, but let's see!}} \tlabel[cc](1,1){B} \tlabel[cc](3,5){C} \tlabel[cc](9,9){D} \tlabel[cc](9,1){E} \tlabel[cc](7,5){F} \arrow\lines{(1,8.5), (1,1.5)} % A -> B. \arrow\lines{(1.5,8.5), (2.5,5.5)} % A -> C. \arrow\lines{(2.5,4.5), (1.5,1.5)} % C -> B. \arrow\lines{(1.5,9), (8.5,9)} % A -> D. \arrow\lines{(9,8.5), (9,1.5)} % D -> E. \arrow\lines{(8.5,8.5), (7.5,5.5)} % D -> F. \arrow\lines{(7.5,4.5), (8.5,1.5)} % F -> E. \arrow\lines{(3.5,5), (6.5,5)} % C -> F. % B- - ->E : \dotted\arrow[r90][b-12pt]\arrow[b15pt]\reverse\arrow\lines{(1.5,1), (8.5,1)} \endmfpic \mftitle{Function Plot with Cartesian Axes.} \noindent \mfpic[20]{-3}{3}{-3}{3} \axes \function{-2,2,0.1}{((x**3)-x)/3} \tcaption{{\it Figure 2:} Function Plot with Cartesian Axes.} \endmfpic \mftitle{Parametric Function Plot, and Filled Circle.} \noindent \mfpic[30]{-1}{1}{-1}{1} % Note: In Metafont, `5/3t' means `(5/3) * t'. % See _The METAFONTbook_ for details. \plrfcn{0,540,5}{cosd(5/3t)} \gfill\circle{(0,0),0.25} \tcaption{{\it Figure 3:} Parametric Function Plot, and Filled Circle.} \endmfpic \mftitle{Bar Graph.} \noindent \mfpic[20]{-0.5}{4}{-0.5}{4} \axes \shade\draw\rect{(0,0),(1,0.5)} \darkershade \shade\draw\rect{(1,0),(2,1)} \hatch\draw\rect{(2,0),(3,2)} \tcaption{{\it Figure 4:} Bar Graph.} \endmfpic \mftitle{Pie Chart.} \noindent \mfpic[30]{-1}{1.4}{-1}{1.1} \gfill\sector{(0.3,0.2), 1, 0,60} \shade\sector{(0,0), 1, 60,105} \turtle{(0,0), \plr{(1,105)}} \sector{(0,0), 1, 60,360} \tcaption{{\it Figure 5:} Pie Chart.} \endmfpic \noindent Unindented text here. \mftitle{Circle with Arrow.} \noindent \mfpic[20]{-1}{1}{-1}{1} \arrow\circle{(0,0),1} \tcaption{{\it Figure 6:} Circle with Arrow.} \endmfpic \mftitle{Use of hatch, draw, lclosed, connect, curve, point, lines, dotted, reverse.} \noindent \mfpic[20]{-2}{2}{-2}{2} \hatch\draw\lclosed\connect \curve{(1,0), (1,0.5), (1,1), (0,1.5)} \point{(0,0)} \endconnect \lines{(-1,1), (-1,-1), (1,-1.5)} \point{(0,0)} \dotted\reverse\lines{(-2,2), (-2,-2), (2,-3)} \tcaption{{\it Figure 7:} Use of hatch, draw, lclosed, connect, curve, point, lines, dotted, reverse.} \endmfpic \mftitle{Simpler variant of the previous figure.} \noindent \mfpic[40]{-1}{1}{-1}{1} % Was `[20]'. \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{{\it Figure 8:} Simpler variant of the previous figure.} \endmfpic \closegraphsfile \end %%% %%% EOF pictures.tex %%%