diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-28 15:52:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-28 15:52:45 +0000 |
commit | 2da77d0cc0ada0dede0a76ef2823d3ad34db2fa7 (patch) | |
tree | 9a93a2bddbc18388c99cdab50c88e17ae82048de /Master/texmf-dist/doc/xelatex | |
parent | 881ee118259a2f9961f7cef4e1b26bcf65488346 (diff) |
fontspec beta 1 (27may10)
git-svn-id: svn://tug.org/texlive/trunk@18558 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex')
-rw-r--r-- | Master/texmf-dist/doc/xelatex/fontspec/README | 61 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx | 98 | ||||
-rw-r--r-- | Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf | bin | 1163578 -> 0 bytes |
3 files changed, 0 insertions, 159 deletions
diff --git a/Master/texmf-dist/doc/xelatex/fontspec/README b/Master/texmf-dist/doc/xelatex/fontspec/README deleted file mode 100644 index 9daf206c175..00000000000 --- a/Master/texmf-dist/doc/xelatex/fontspec/README +++ /dev/null @@ -1,61 +0,0 @@ --------------------------- -THE FONTSPEC PACKAGE v1.18 - -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 - \newfontfamily\myfamily[<font options>]{<font name>} - \newfontface\myfont[<font options>]{<font name>} - -Default document fonts are selected with - \setmainfont[<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 -2004--2008 diff --git a/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx b/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx deleted file mode 100644 index 28b9907a7d9..00000000000 --- a/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx +++ /dev/null @@ -1,98 +0,0 @@ -%% -%% This is file `fontspec-example.ltx', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% fontspec.dtx (with options: `example') -%% -%% ________________________________ -%% The fontspec package for XeLaTeX -%% (C) 2004--2008 Will Robertson -%% -%% License information appended. -%% -\documentclass{article} - -\usepackage{euler} -\usepackage[cm-default]{fontspec} -\usepackage{xltxtra} - -\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text} -\setmainfont[Numbers=Lowercase]{FPL Neu} -\setsansfont{Lucida Sans} -\setmonofont{Lucida Sans Typewriter} - -\frenchspacing % TeX's default is a little old-fashioned... - -\begin{document} -\pagestyle{empty} - -\section*{The basics of the \textsf{fontspec} package} - -The \textsf{fontspec} package enables automatic font selection -for \LaTeX{} documents typeset with \XeTeX{}. The basic command is\\ -\indent \verb|\fontspec[font features]{font display name}|.\\ -As an example: - -\begin{center} - \Large - \fontspec[ - Colour = 0000CC, - Numbers = OldStyle, - VerticalPosition = Ordinal, - Variant = 2 - ]{Apple Chancery} - My 1st example of Apple Chancery -\end{center} - -The default, sans serif, and typewriter fonts may be set with the -\verb|\setmainfont|, \verb|\setsansfont| and \verb|\setmonofont| -commands, respectively, as shown in the preamble. They take the -same syntax as the \verb|\fontspec| package. All expected font -shapes are available: - -\begin{center} - {\itshape Italics and \scshape small caps\dots}\\ - {\sffamily\bfseries Bold sans serif and \itshape bold italic sans serif\dots} -\end{center} - -With the roman and sans serif fonts set in the preamble, text fonts -in math mode are also changed: $\cos(n\pi)=\pm 1$. The maths -typeface `Euler' has been used in this document (with the \textsf{euler} -package---or the \textsf{eulervm} package if the |xpdfdvimx| driver -is being used), since the default Computer Modern maths font is rather light. -\[ - \mathcal F(s) = \int^\infty_0 f(t) \exp(-st)\,\mathrm{d}t -\] - -You'll also notice the \verb|\defaultfontfeatures| command in the preamble. -This command takes a single argument of font features that are then -applied to every subsequent instance of font selection. The first argument -in this case, \verb|Mapping=tex-text|, enables regular \TeX{} ligatures -like \verb|``---''| for ``---''. The second automatically scales the fonts -to the same x-height. - -Please see the documentation for font feature explanation and further -package niceties. - -\end{document} -%% -%% Copyright 2004--2008 by Will Robertson <wspr81@gmail.com> -%% -%% Distributable under the LaTeX Project Public License, -%% version 1.3c or higher (your choice). The latest version of -%% this license is at: http://www.latex-project.org/lppl.txt -%% -%% This work is "maintained" (as per LPPL maintenance status) -%% by Will Robertson. -%% -%% This work consists of this file fontspec.dtx -%% and the derived files fontspec.sty, -%% fontspec.cfg, -%% fontspec.ins, -%% fontspec-example.ltx, -%% and fontspec.pdf. -%% -%% -%% End of file `fontspec-example.ltx'. diff --git a/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf b/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf Binary files differdeleted file mode 100644 index 7910c2f9e55..00000000000 --- a/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf +++ /dev/null |