[XeTeX] Footnotes

Adam Lindsay atl at comp.lancs.ac.uk
Fri Mar 25 01:18:42 CET 2005


Jonathan Kew said this at Thu, 24 Mar 2005 22:17:37 +0000:

>> If I switch to Gentium font (say at 8pt) within the footnote 
>> braces I get the footnote set in Gentium. This is a chore if every 
>> footnote has to have the font switch. Am I doing something very silly? 
>> Any advice would be appreciated. The more I use your programme the 
>> more I enjoy it.
>
>This, I think, is really a ConTeXt question rather than a XeTeX 
>question; it must have separate font specification for footnotes from 
>that used for the main text.

Hi, Charlie.

Hmm. How are you using your font switch? How are you defining your font?

Not knowing further details, I would guess you're doing a low-level
XeTeX/plain-style font definition, rather than using a typescript. 

When I try using the "Wildcard" typescript as a way of defining fonts,
for example, I do just fine:

\definetypeface[myface][rm][Xserif][Gentium]
\setupbodyfont[myface]
\starttext
text\footnote{text}
\stoptext

Gentium up top and down below.

Take a look here for a brief description of how to use this class of
typescript -- consider it a poor man's version of Will's work:
<http://contextgarden.net/Fonts_in_XeTeX#Wildcard_typescripts>
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the XeTeX mailing list