File: README

package info (click to toggle)
context-modules 20120611-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 14,060 kB
  • sloc: xml: 608; makefile: 49; sh: 36
file content (40 lines) | stat: -rw-r--r-- 984 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Modulename : t-simplefonts
Author     : Wolfgang Schuster
License    : GNU General Public License

Description
-----------

The 'simplefonts' module provides a interface to use fonts in ConTeXt MkIV
in similar way as you can do with the 'fontspec' package for XeLaTeX.

Usage
-----

The module is loaded in the document with:

    \usemodule[simplefonts]

The global fonts can be set with the following three commands:

    \setmainfont[...][..,..=..,..]
    \setsansfont[...][..,..=..,..]
    \setmonofont[...][..,..=..,..]

A single typeface can bet set with the command:

    \definesimplefonttypeface[...][...][..,..=..,..]

For each a complete typeface switch like \switchtobodyfont but you can use

  \simplefonttypeface[...][..,..=..,..]

With the command

    \definesimplefont[...][..,..=..,..]

you can define a single font for the use in header or other style elements and the last commmand

    \simplefont[...][..,..=..,..]

is for inline use and acts like \definedfont.