The Arithmetical Hierarchy is an example where one in mathematics uses aligned subscripts and superscripts. When writing in Latex I e.g. write $\Pi^1_1$ to talk about a certain class of formulas. How can I achieve this in Word or LibreOffice?


Yes it's certainly possible with LibreOffice.

In LibreOffice Writer, click Insert > Object > Formula

In the window that opens at the bottom type in the formula as follows


Here's a screen shot Screen shot of inserting Formula

LibreOffice also comes with a separate Math application, which can also be used to create formulas. There's further documentation here on the using formulas in Math in LibreOffice https://wiki.documentfoundation.org/images/3/37/MG40-MathGuide.pdf

  • Many thanks for this! It is unfortunate that the insertion box of Libreoffice Writer makes one control of the surrounding texts so that the hyphen does not olace well well such as in writing $\Pi^1_1$-comprehension in Latex. – Sapiens May 16 '17 at 12:27
  • 1
    You can put the surrounding text in a text box if you want to move it around. – Billy Kerr May 16 '17 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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