How to stack subscript and superscript in xsl-fo (without MathML)
<p>Is there a way using xsl-fo to stack a subscript and a superscript attached to the same character (but without using MathML), e.g. x-square with index i:</p>

<pre><code>x&lt;sup&gt;2&lt;/sup&gt;&lt;sub&gt;i&lt;/sub&gt;
</code></pre>

<p>I tried this: </p>

<pre><code>&lt;fo:block&gt;... x&lt;fo:inline-container writing-mode="tb-rl" font-size="smaller"&gt;
        &lt;fo:block-container glyph-orientation-vertical="0deg" &gt;
           &lt;fo:block&gt;2i&lt;/fo:block&gt;
        &lt;/fo:block-container&gt;
    &lt;/fo:inline-container&gt;
&lt;/fo:block&gt;
</code></pre>

<p>But the result is not satisfactory in terms of spacing etc. I guess there is no good solution for this kind of stuff besides MathML - right?</p>