From c716108342c029fe2d598d64235378b7656d3989 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 9 Aug 2008 23:31:44 +0000 Subject: fontspec update (10aug08) git-svn-id: svn://tug.org/texlive/trunk@10220 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/xelatex/fontspec/README | 4 +-- .../doc/xelatex/fontspec/fontspec-example.ltx | 29 ++++++++++++++++----- .../texmf-dist/doc/xelatex/fontspec/fontspec.pdf | Bin 1195347 -> 1163578 bytes 3 files changed, 24 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/fontspec/README b/Master/texmf-dist/doc/xelatex/fontspec/README index b43b1cff1c8..9daf206c175 100644 --- a/Master/texmf-dist/doc/xelatex/fontspec/README +++ b/Master/texmf-dist/doc/xelatex/fontspec/README @@ -1,5 +1,5 @@ -------------------------- -THE FONTSPEC PACKAGE v1.17 +THE FONTSPEC PACKAGE v1.18 The fontspec package only works with XeTeX, a unicode capable TeX-variant. It provides @@ -58,4 +58,4 @@ Features can be renamed and feature options can be renamed with -------------- Will Robertson -2004--2007 +2004--2008 diff --git a/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx b/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx index 371fcba4274..28b9907a7d9 100644 --- a/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx +++ b/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx @@ -8,7 +8,7 @@ %% %% ________________________________ %% The fontspec package for XeLaTeX -%% (C) 2004--2007 Will Robertson +%% (C) 2004--2008 Will Robertson %% %% License information appended. %% @@ -30,7 +30,8 @@ \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\\ +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: @@ -45,25 +46,39 @@ As an example: 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: +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. +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. +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. +Please see the documentation for font feature explanation and further +package niceties. \end{document} %% -%% Copyright 2004--2007 by Will Robertson +%% Copyright 2004--2008 by Will Robertson %% %% Distributable under the LaTeX Project Public License, %% version 1.3c or higher (your choice). The latest version of diff --git a/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf b/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf index e547103511e..7910c2f9e55 100644 Binary files a/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf and b/Master/texmf-dist/doc/xelatex/fontspec/fontspec.pdf differ -- cgit v1.2.3