[XeTeX] latex and superiors

Bruce D'Arcus bdarcus at fastmail.fm
Thu May 27 20:13:34 CEST 2004


On May 27, 2004, at 2:08 PM, Jonathan Kew wrote:

> In terms of the basic XeTeX \font command, something like this works 
> fine:

Great!  So the following works.  Yo Hans, where's my xecontext?  ;-)

\DeclareFontShape{U}{hoefl}{m}{fn}%
      {<-> "Hoefler\space Text:Vertical\space Position=Superiors"}{}
\DeclareFontFamily{U}{hoefl}{}
\DeclareFontShape{U}{hoefl}{m}{n}%
      {<-> "Hoefler\space Text"}{}
\DeclareFontShape{U}{hoefl}{m}{it}%
      {<-> "Hoefler\space Text\space Italic"}{}
\DeclareFontShape{U}{hoefl}{bx}{n}%
      {<-> "Hoefler\space Text\space Black"}{}
\DeclareFontShape{U}{hoefl}{b}{n}%
      {<-> ssub * hoefl/bx/n}{}
\DeclareFontShape{U}{hoefl}{bx}{it}%
      {<-> "Hoefler\space Text\space Black\space Italic"}{}
\DeclareFontShape{U}{hoefl}{b}{it}%
      {<-> ssub * hoefl/bx/it}{}
\DeclareFontShape{U}{hoefl}{m}{sc}%
      {<-> "Hoefler\space Text:Letter\space Case=Small\space Caps"}{}
\renewcommand{\encodingdefault}{U}
\renewcommand{\rmdefault}{hoefl}

\makeatletter
\def\@makefnmark{\hbox{\fontshape{fn}\selectfont\@thefnmark}}
\makeatother



More information about the XeTeX mailing list