Thank you everyone for your help ; I learned three things here : 

a) Not all fonts are equal regarding superscript : Adobe Premier and Minion 
work fine.
b) Adobe Garamond Pro works too when using the starred form of the command.
c) Finally my worries were useless, because Cyril was fully right, French 
typography uses only an "e" (even in Switzerland according to the Guide du 
typographe romand). 

Tom
-------
"How vain is it to sit down to write, if you have not stood up to live." H.D. 
Thoreau






----Message d'origine----
De: [email protected]
Date: 18.08.2010 17:13
À: <[email protected]>, "Unicode-based TeX for Mac OS X and other 
platforms"<[email protected]>
Objet: Re: [XeTeX] textsuperscript and french issue


On Aug 18, 2010, at 10:07 AM, [email protected] 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
[email protected]









--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to