# [OS X TeX] Looking for inline mpost example

Gerben Wierda Gerben.Wierda at rna.nl
Fri Dec 24 14:01:14 EST 2004

I received some example mpost files (thanks) off list but what I was
looking for is the smootest way to have these in my text. I guess I
need to use something like the mfpic package, but what I woul dbe
looking for ideally would be a way to do

\begin{foo}
% metaposty stuff
\end{foo}

and have the result as a picture in my document.

(The sinus example is the curve and a step-function following the curve
e.q. the way a ADC would interpret a sinus and produce a discrete
result).

G

On Dec 23, 2004, at 18:29, Gerben Wierda wrote:

> I am looking foran inline mpost example. I'd like to illustrate a
> piece of text with a picture that shows a graph, say a sin(x) function
> combined with a block-function approach to that sin(x) (rough, it is
> for illustration). I would like to use the example for a template for
> some of my illustrations.
>
> Is there someone  who has such an exampe for me or otherwise is there
> a mpost guru who can provide me one. It is for inclusion in a memoir
> class document in case that matters.
>
> Thanks,
>
> G
>
> --------------------- Info ---------------------
> Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
>           & FAQ: http://latex.yauh.de/faq/
> TeX FAQ: http://www.tex.ac.uk/faq
> List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
>
>
>

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>