diff options
Diffstat (limited to 'Master/texmf-dist/source/context')
-rw-r--r-- | Master/texmf-dist/source/context/third/simplefonts/doc/simplefonts.tex | 37 |
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 |