2

Does anyone know why the bibliography appears as in the picture when using Hoefler Text (and how to fix it)?

enter image description here

Here's a minimal working example:

\documentclass[11pt, a4paper]{article}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Hoefler Text}

\begin{document}    
\section{References}
\end{document}

Addendum: Let's ask this differently. Suppose I wanted to specify which font XeLaTeX should use for bold faces. Which command should I use?

8
  • 1
    What class are you using? And how do you produce the bibliography?
    – egreg
    Commented May 23, 2011 at 23:31
  • 5
    This is the Engraved Capitals set. Try removing the Alternates.
    – Emre
    Commented May 23, 2011 at 23:38
  • 2
    A note: you should use 4\textsuperscript{th}, preferably with the xltxtra or realscripts package loaded. Commented May 24, 2011 at 8:03
  • Uh, how do I remove the alternates? Commented May 31, 2011 at 23:45
  • I really need a code answer to this one :-) Commented Jul 2, 2011 at 15:59

1 Answer 1

5
+50

The font setting should be:

\setmainfont[Mapping=tex-text, ItalicFeatures={Alternate=0,
            Contextuals={NoLineFinal,NoLineInitial}}, 
            Ligatures={Common,Historic},Alternate=1,
            BoldFont=Hoefler Text Black]{Hoefler Text}

then I have no problem with xelatex.

the fonts in the pdf:

voss@shania:~/Documents> pdffonts latex6.pdf
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
DUZIVX+HoeflerText-Black             CID TrueType      yes yes yes      5  0
VLJLSS+HoeflerText-Regular           CID TrueType      yes yes yes      7  0
8
  • I updated the minimal working example, and it still uses the engraved fonts :-( Commented Jul 2, 2011 at 16:25
  • For some reason, XeLaTeX uses the first variant it finds for bold. If I disable Engraved in my system, it will use Fleurons, and so on... Commented Jul 2, 2011 at 16:29
  • Also no problem. I've posted the file list
    – user2478
    Commented Jul 2, 2011 at 16:29
  • Suppose I wanted to specify which font XeLaTeX should use for bold faces. Which command should I use? Commented Jul 2, 2011 at 16:29
  • 2
    \setmainfont[Mapping=tex-text, BoldFont=Hoefler Text Black]{Hoefler Text}
    – user2478
    Commented Jul 2, 2011 at 16:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .