diff options
Diffstat (limited to 'Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/note.mp')
-rw-r--r-- | Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/note.mp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/note.mp b/Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/note.mp index 52b5a1541bb..f04a5b5e4fe 100644 --- a/Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/note.mp +++ b/Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/note.mp @@ -16,6 +16,7 @@ % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. input metauml; +input TEX; beginfig(1); Note.A("This note", "has two lines."); @@ -53,4 +54,21 @@ beginfig(3); clink(dashedLink)(C.methodStack.pict[1], nC); endfig; +beginfig(4); + save A; + Note.A("This class implements the formula:", + TEX("$\sum_1^n f(x)\cdot dx$")); + drawObjects(A); +endfig; + +beginfig(5); + save A; + Note.A("Can you do it?", + TEX("$\sum_1^n f(x) \cdot dx " & + "\over \sum_1^m g(y) \cdot dy$")); + A.stack.info.spacing := 30; + A.stack.pict[1].info.ignoreNegativeBase := 0; + drawObjects(A); +endfig; + end |