summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/featpost/typesetinspace/example.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/metapost/featpost/typesetinspace/example.mp')
-rw-r--r--Master/texmf-dist/doc/metapost/featpost/typesetinspace/example.mp17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/metapost/featpost/typesetinspace/example.mp b/Master/texmf-dist/doc/metapost/featpost/typesetinspace/example.mp
new file mode 100644
index 00000000000..befdb336304
--- /dev/null
+++ b/Master/texmf-dist/doc/metapost/featpost/typesetinspace/example.mp
@@ -0,0 +1,17 @@
+input mp-grph ;
+
+% graphictextformat := "context" ;
+% graphictextformat := "plain" ;
+graphictextformat := "latex" ;
+graphictextdirective "\documentclass[]{article}\usepackage{mathpazo}" ;
+
+beginfig(1);
+ graphictext
+ "\vbox{\hsize10cm $E=mc^2$, bl\'{a}-bl\'{a}.}"
+ scaled 8
+ withdrawcolor blue
+ withfillcolor red
+ withpen pencircle scaled 2pt ;
+endfig;
+
+end