[XeTeX] beginners trouble
Herbert Schulz
herbs at wideopenwest.com
Sat Nov 12 00:13:26 CET 2005
On Nov 11, 2005, at 1:33 PM, Martin Henning wrote:
>
> %&program=xelatex
> %&encoding=UTF-8 Unicode
>
Howdy,
If you're using TeXShop 1.41 or 2.03 use
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
instead.
> ...
> \DeclareFontFamily{U}{lucida}{}
> \DeclareFontShape{U}{lucida}{m}{n}
> {<-> "Lucida\space Grande:mapping=tex-text"}{}
> \DeclareFontShape{U}{lucida}{b}{n}
> {<-> "Lucida\space Grande\space Bold:mapping=tex-text"}{}
> \DeclareFontShape{U}{lucida}{bx}{n}
> {<-> ssub * lucida/b/n}{}
> \renewcommand{\sfdefault}{lucida}
> \renewcommand{\familydefault}{\sfdefault}
> \renewcommand{\encodingdefault}{U}
> ...
Try
\usepackage{euler} % for maths
\usepackage{fontspec}
\usepackage{xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Numbers=Lining,Scale=1.05]{Hoefler Text}
\setsansfont[Scale=1.01]{Gill Sans}
\setmonofont[Scale=0.84]{Verdana}
Hope that works for you.
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
More information about the XeTeX
mailing list