summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-17 22:24:48 +0000
committerKarl Berry <karl@freefriends.org>2009-06-17 22:24:48 +0000
commitf6c7a2fb301ff5f5080cafe2e2aebf262cbe66a3 (patch)
tree6e0f9ee8d8acbd2d3d0ad39b00c6c134e89d7b9d /Master/texmf-dist/source/context
parent9e135e13f27b412c53fd5b3199a48c5e8f411123 (diff)
new context package context-simplefonts (16jun09)
git-svn-id: svn://tug.org/texlive/trunk@13790 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/context')
-rw-r--r--Master/texmf-dist/source/context/third/simplefonts/doc/simplefonts.tex37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/context/third/simplefonts/doc/simplefonts.tex b/Master/texmf-dist/source/context/third/simplefonts/doc/simplefonts.tex
new file mode 100644
index 00000000000..63e535a8747
--- /dev/null
+++ b/Master/texmf-dist/source/context/third/simplefonts/doc/simplefonts.tex
@@ -0,0 +1,37 @@
+\usemodule[simplefonts][size=11pt]
+
+\setmainfont[Luxi Serif]
+\setmonofont[Luxi Mono]
+
+\starttext
+
+\starttyping
+\definefontcommand[<command>][<typeface>][..,..=..,..]
+\stoptyping
+
+\starttyping
+\definesubfontcommand[<command>][<fontgroup>][..,..=..,..]
+\stoptyping
+
+\starttyping
+\definefontfamily[<command>[<font>][..,..=..,..]
+\stoptyping
+
+\starttyping
+\simplefont[<font>][..,..=..,..]
+\stoptyping
+
+\starttyping
+\definefontcommand[\v!mainfont][\v!simplefonts][\c!style=\v!serif]
+\definefontcommand[\v!sansfont][\v!simplefonts][\c!style=\v!sans ]
+\definefontcommand[\v!monofont][\v!simplefonts][\c!style=\v!mono ]
+\definefontcommand[\v!mathfont][\v!simplefonts][\c!style=\v!math ]
+\stoptyping
+
+\starttyping
+\definesubfontcommand[\v!cjk\v!mainfont][\v!mainfont][\c!range={0x00400-0x2FA1F}]
+\definesubfontcommand[\v!cjk\v!sansfont][\v!sansfont][\c!range={0x00400-0x2FA1F}]
+\definesubfontcommand[\v!cjk\v!monofont][\v!monofont][\c!range={0x00400-0x2FA1F}]
+\stoptyping
+
+\stoptext