MathMLをLibreOfficeで使えるではないか
LibreOffice Mathが使える
MathMLでの表示には、LibreOffice Mathが使えそうだな。
コード
<?xml version="1.0" encoding="UTF-8"?>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
<mfrac>
<mrow>
<mi>a</mi>
</mrow>
<mrow>
<mi>b</mi>
</mrow>
</mfrac>
</mrow>
<annotation encoding="StarMath 5.0">{a} over {b} </annotation>
</semantics>
</math>
結果
簡単だし、これでいいや。