> From: Fr. Michael Gilmary <[email protected]>
> To: Unicode-based TeX for Mac OS X and other platforms <[email protected]>
> Sent: Saturday, December 18, 2010 16:11:53
> Subject: Re: [XeTeX] Footnote refs
>
> Well, I've got this much working ---
>
> if I add in the preamble:
>
> \setmainfont[Numbers={OldStyle,Proportional}]{Latin Modern Roman}
> \newfontfamily\fnmarkfont{Latin Modern Roman}
>
> \makeatletter
> \renewcommand...@makefnmark}{{\fnmarkfont\textsuperscript{\@thefnmark}}}
> \makeatother
>
>
> then the footnote superscript numbers /in the text/ are correct AFAICT. But
> the
>footnote superscript numbers /in the footer/ are *not* correct, i.e., > they
>are
>still OldStyle rather than Lining. See attached image.
>
> Does anyone know how to control this?
>
> This never happened in the past ... I only noticed this the other day, but
> with
>docs I've prepared before TL10, I can see that /something/ has changed.
>
> Any ideas?
Hi, Michael.
This worked for me (notice that \fontspec doesn't work, but \setmainfont does):
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Numbers={OldStyle,Proportional}]{Adobe Garamond Pro}
\makeatletter
\renewcomma...@makefntext[1]{%
\setlength\parindent{1em}%
\noindent
\makebox[1.8em][r]{%
\setmainfont[Scale=0.9]{Adobe Garamond Pro}%
\...@makefnmark}#1}
\makeatother
\begin{document}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
Test\footnote{Some text.}
\end{document}
usoPreviewPopup
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex