[XeTeX] Combined sub- and superscript - solved

Sebastian Gerecke sgerecke at l3s.de
Sat Aug 7 22:44:52 CEST 2010

For anyone who is interested and might have the same problem

The solution looks like this:

\begin{document}
\font\up="Linux Libertine O:+sups,script=latn,language=DEU"
\font\down="Linux Libertine O:+sinf,script=latn,language=DEU"

\ce{^{\down 14}_{\up 6}C}
\end{document}

That produces the desired output.

BUT: This just has to be an utter hack and I can not believe it is the way it
is supposed to be done.
I'm putting the scientific inferior numbers in the upper position, and the
scientific superiors in the lower position. Does that make sense to anyone?

Cheers
Sebastian