[NTG-context] preparing math exams

Fabrice L fabrice.alpha at gmail.com
Tue Apr 23 17:57:34 CEST 2019


Hi,

Le 23 avril 2019 à 11:10:11, Gour (gour at atmarama.com) a écrit:

Hello,

For regular formulas involving e.g. rational numbers, I'm sure that
input language for math is quite sufficient, but wonder about drawing
part?


Metapost (Metafun) is your best friend here. You can insert directly in
context some MetaFun code, like this:

\starttext
Lorem Ipsum…

\startMPcode
draw ( (0,0) — (1,0) — (0,1)) with color red ;
\stopMPcode

\stoptext

Look at this entry in the wiki:
https://wiki.contextgarden.net/MetaPost_in_ConTeXt

Also, you will find a link to the meta fun manual in this page, this a good
place to start !
Fabrice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190423/4d5bb638/attachment.html>


More information about the ntg-context mailing list