[XeTeX] \textsuperscript and polyglossia
Gildas Hamel
gweltaz at ucsc.edu
Thu Sep 17 16:21:42 CEST 2009
* kilian at nihilnovi.de (kilian at nihilnovi.de) wrote:
|> Hello,
|>
|> the failure comes when I do a \usepackage{xltxtra} in the header.
|> Afterwards \textsuperscript{} is broken in greek mode. So the following is
|> broken:
|>
|> \documentclass[12pt,a4paper]{article}
|> \usepackage{bidi}
|> \usepackage{polyglossia}
|> \usepackage{fontspec}
|> \usepackage{xltxtra,xunicode}
|> \setdefaultlanguage{english}
|> \setotherlanguage[variant=ancient,attic=true]{greek}
|> \newfontfamily\greekfont{SBL Greek}
|> \begin{document}
|>
|> \begin{greek}
|> 123\textsuperscript{1}
|> \end{greek}
|> Text here...
|> \end{document}
I confirm your results with SBL Greek which I just downloaded, but get the proper superscript with Gentium or GraecaUBSU, etc.
--Gildas (using texlive 2009)
More information about the XeTeX
mailing list