[OS X TeX] Linotype Palatino
Bruno Voisin
bvoisin at mac.com
Thu Jun 7 22:50:54 CEST 2007
Le 7 juin 07 à 22:20, Michael Kubovy a écrit :
> When I typeset the following with XeLaTeX, I get gobbledegook in red:
>
> \documentclass[twocolumn,11pt]{article}
> \usepackage{fontspec}
> \fontspec[]{Palatino} % with or w/o the brackets
>
> \title{Brief Article}
> \author{The Author}
> %\date{}
>
> \begin{document}
> \maketitle
>
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam
> sagittis fermentum magna. Suspendisse potenti. Duis sit amet mi.
> Fusce euismod turpis et turpis. Donec egestas molestie massa.
> Vestibulum ante ipsum primis in faucibus orci luctus et ultrices
> posuere cubilia Curae; Proin tempus nulla non odio pharetra
> feugiat. Maecenas eget massa a ante vestibulum bibendum. Aenean
> consectetuer tellus eu dui. Mauris justo. Nulla dignissim, mauris
> vitae faucibus suscipit, ipsum risus semper nulla, et adipiscing
> quam ligula vitae odio. Maecenas est. Nam massa libero, tempor at,
> accumsan vitae, fermentum vitae, elit.
>
> \end{document}
\fontspec{Palatino} is a font switch, similar (to simplify) to
\bfseries for example. It must appear *after* \begin{document}. It's
\setromanfont{Palatino} or \setmainfont{Palatino} you're after.
Try replacing in the above
\usepackage{fontspec}
\fontspec[]{Palatino} % with or w/o the brackets
by
\usepackage[cm-default]{fontspec}
\usepackage{xunicode,xltxtra}
\defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
\setromanfont{Palatino}
Hope this helps,
Bruno Voisin
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list