summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/contextfonts.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/contextfonts.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/contextfonts.asy10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/contextfonts.asy b/Master/texmf-dist/doc/asymptote/examples/contextfonts.asy
new file mode 100644
index 00000000000..39177abdba3
--- /dev/null
+++ b/Master/texmf-dist/doc/asymptote/examples/contextfonts.asy
@@ -0,0 +1,10 @@
+settings.tex="context";
+// Work around ConTeXT bug for font sizes less than 12pt:
+texpreamble("\setupbodyfont[8pt]");
+
+usetypescript("iwona");
+usetypescript("antykwa-torunska");
+
+label("$A$",0,N,font("iwona"));
+label("$A$",0,S,font("antykwa",8pt)+red);
+