[XeTeX] textsuperscript and french issue
Alan Munn
amunn at gmx.com
Wed Aug 18 17:13:44 CEST 2010
On Aug 18, 2010, at 10:07 AM, teginch at bluewin.ch wrote:
> Hello,
>
> Can someone tell my why the \textsuperscript commands in the code
> below do not generate the expected result. The french "è" in "3ème"
> or "2ème" is set in standard size and not in superscript as it
> appears in the attached pdf file. I have no idea if this is a
> standard LaTex issue or if it is related to XeLaTex. Do i do
> something wrong or is this a bug ?
> Thanks of any help you can provide.
Adobe Garamond Pro doesn't have a è in its list of superiors, but
since the font does have superiors, xltxtra uses that font feature to
superscript the text, yielding the result you get. If you change
the font to e.g. Garamond Premier Pro or Minion Pro (if you have them)
the è will be properly superscripted.
(This is what Ulrike alluded to by pointing to the xltxtra
documentation (which also suggests solutions)).
Alan
>
> Tom
> -------
> "How vain is it to sit down to write, if you have not stood up to
> live." H.D. Thoreau
>
>
> % !TEX TS-program = xelatex
> % !TEX encoding = UTF-8 Unicode
> \documentclass[11pt]{article}
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \usepackage{polyglossia}
> \setmainlanguage{french}
> \setmainfont{Adobe Garamond Pro}
> \begin{document}
> \ldots début du 2\textsuperscript{ème} siècle), Tradition
> apostolique d'Hippolyte (début du 3\textsuperscript{ème} siècle).
> \end{document}
> <test.pdf>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
--
Alan Munn
amunn at gmx.com
More information about the XeTeX
mailing list