TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
superscripts with xelatex? (footnotes, natbib)

i want to use \supercite with biblatex. It works fine, unless I switch to LinuxLibertine. The font messes up the 'superscripted' comma and - line.

Btw: I use XeLaTeX.

Picture: enter image description here

Minimal Example:




\setmainfont[Mapping=tex-text]{Linux Libertine O}
\setsansfont[Mapping=tex-text]{Linux Biolinum O}


      author = {Author, A.},
               year = {2001},
                      title = {Alpha},
      author = {Buthor, B.},
               year = {2002},
                      title = {Bravo},
         author = {Cuthor, C.},
                  year = {2003},
                         title = {Charlie},



Note the comma \cite{augustine,companion} and the underline \cite{augustine,companion,kastenholz}.

share|improve this question

marked as duplicate by Guido, Kurt, Martin Schröder, Werner, Thorsten Dec 24 '12 at 17:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This is the same problem as in superscripts with xelatex? (footnotes, natbib) and it is due to xltxtra's redefinition of \textsuperscript – clemens Nov 23 '12 at 17:31
Don't use xltxtra. Or at least read its document to understand the source of the problem (2.1 \textsuperscript and \textsubscript). – Ulrike Fischer Nov 23 '12 at 17:33
Ah, thanks that solves it. I still had it loaded as it was included in some xetex tutorial. I guess i just skip it then. – bioslime Nov 23 '12 at 17:50
Compiling your MWE, I don't get the wrong superscript symbols: i.stack.imgur.com/aE8aP.png. Do you have all the latest updates for libertine? I just updated mine (MiKTeX 2.9) today. – doncherry Nov 23 '12 at 18:08
@doncherry that's curious... I have version 5.3.0 of the fonts installed (which I believe to be the current release) and don't see a superior comma or endash when I compile the code... – clemens Nov 23 '12 at 18:27

As others have commented: this is an issue with the redefinition of \textsuperscript. For a complete explanation see this answer.

In short: xltxtra redefines \textsuperscript to make use of superscript provided by the OpenType font. This can lead to undesired behaviour.

The easiest solution is not to load the xltxtra package. But if you really need xltxtra you can use the following:

\let\textsuperscriptoriginal\textsuperscript % Save original command
\usepackage{xltxtra}                         % Load package
\let\textsuperscript\textsuperscriptoriginal % Restore original command
share|improve this answer
BTW: I asked the Libertine developers if they could add a superior comma and they responded positively. – clemens Dec 24 '12 at 15:01

I cannot see it with:

\setmainfont[Mapping=tex-text]{Linux Libertine O}
\setsansfont[Mapping=tex-text]{Linux Biolinum O}

all other packages are installed by fontspecitself.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.