summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx')
-rw-r--r--Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx b/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx
index 9a7d94d0922..6289e83ce97 100644
--- a/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx
+++ b/Master/texmf-dist/doc/xelatex/fontspec/fontspec-example.ltx
@@ -5,7 +5,7 @@
\usepackage{xltxtra}
\defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text}
-\setromanfont[Numbers=Lowercase]{FPL Neu}
+\setmainfont[Numbers=Lowercase]{FPL Neu}
\setsansfont{Lucida Sans}
\setmonofont{Lucida Sans Typewriter}
@@ -31,7 +31,7 @@ As an example:
My 1st example of Apple Chancery
\end{center}
-The default roman, sans serif, and typewriter fonts may be set with the \verb|\setromanfont|, \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}\\