Simulate Math Formulas Using Python In Libreoffice