[OS X TeX] Looking for inline mpost example
maarten.sneep at xs4all.nl
Fri Dec 24 14:08:05 EST 2004
On 24 dec 2004, at 20:01, Gerben Wierda wrote:
> 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
> % metaposty stuff
> and have the result as a picture in my document.
This is the way Context works, but you weren't looking for that. The
Metafun manual (from the pragma-ade website) has some pointers to
packages that do this as well. Be aware though that your document now
becomes a multi-stage rocket: Compile latex, write out metapost
sources, call metapost, call latex once more to include the compiled
metapost (and write out any changes in the metapost code). There are
constructs conceivable that would require several more stages.
> (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).
I think your best bet is the mpgraph package, I may come up with
something for you.
--------------------- 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>
More information about the MacOSX-TeX