[XeTeX] Code review

Will Robertson wspr81 at gmail.com
Sun Jan 10 05:15:55 CET 2010


Hi Clinton,

I also know about the fontspec side of things...

On 2010-01-09 01:16:23 +1030, Clinton Gormley 
<clint at traveljury.com> said:

> \newcommand{\IAtitlefont}{
>     \fontspec[Mapping=tex-text]{Frutiger Linotype Bold}\fontsize{16}{16}
> }
(etc.)

These can be shortened a little with

\defaultfontfeatures{Mapping=tex-text}
\newfontfamily\titlefont{Frutiger Linotype Bold}
\newfontfamily\mainfont{Frutiger Linotype}

\newcommand{\IAtitlefont}{%
    \titlefont\fontsize{16}{16}
}
\newcommand{\IAsubtitlefont}{
    \titlefont\fontsize{12}{14}
}
...etc....

But the gist of what you've got is correct.

Will




More information about the XeTeX mailing list