summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xetex/fontspec/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xetex/fontspec/README')
-rw-r--r--Master/texmf-dist/doc/xetex/fontspec/README48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xetex/fontspec/README b/Master/texmf-dist/doc/xetex/fontspec/README
new file mode 100644
index 00000000000..b9f6e1b014b
--- /dev/null
+++ b/Master/texmf-dist/doc/xetex/fontspec/README
@@ -0,0 +1,48 @@
+--------------------------
+THE FONTSPEC PACKAGE v1.10
+
+The fontspec package only works with XeTeX, a unicode capable TeX-variant. It provides an automatic and unified interface for loading fonts in LaTeX. XeTeX allows a direct interface to system-installed fonts, so no manual font installation is required.
+
+This package also provides access to the large number of font features available with AAT and OpenType fonts, including upper and lower case numbers, proportional and monospaced numbers, swash letters, vulgar fractions, ligature control, and many others.
+
+It also provides an interface to set the XeTeX font mappings, font colour, relative font scaling, inter-word space scaling, and more.
+
+------------------------
+SUMMARY OF USER COMMANDS
+
+Font families may be selected individually with the command
+ \fontspec[<font options>]{<font name>}
+
+Commands for selecting fonts efficiently can be created with
+ \newfontinstance\myfont[<font options>]{<font name>}
+
+Default document fonts are selected with
+ \setromanfont[<font options>]{<font name>}
+ \setsansfont[<font options>]{<font name>}
+ \setmonofont[<font options>]{<font name>}
+
+Fonts to be used in maths are defined with
+ \setmathrm[<font options>]{<font name>}
+ \setmathsf[<font options>]{<font name>}
+ \setmathtt[<font options>]{<font name>}
+ \setboldmathrm[<font options>]{<font name>}
+
+Features to be used for every subsequently defined font are specified with
+ \defaultfontfeatures{<default font options>}
+
+Features may be added to the font currently in use with
+ \addfontfeatures{<font options to add>}
+ \addfontfeature{<...>} does the same thing
+
+Features not provided for out of the box may be defined with
+ \newAATfeature{<feature tag>}{<feature code>}{<selector code>}
+ \newICUfeature{<feature tag>}{[+|-]<4 letter feature string>}
+ \newfontfeature{<feature tag>}{<arbitrary XeTeX font options>}
+
+Features can be renamed and feature options can be renamed with
+ \aliasfontfeature{<current feature>}{<new feature>}
+ \aliasfontfeatureoption{<feature>}{<current option>}{<new option>}
+
+--------------
+Will Robertson
+2006 \ No newline at end of file