Yes, you can make mathematical formulas in OpenOffice like that. If you want to use a formula in a document then the best way is to go to Insert | Object | Formula._________________Arch Linux
OOo 3.2.0