Macros/Math/001

Description
When you want to modify an attribute in all the formulas you are going to write, just follow the procedure described in Faq/Math/008. If you want to change "after the fact", you have to reopen all the formulas and make the modifications. If the number of formulas is large, this can quickly become tedious.

This script selects embedded formula objects in the document, and updates intended formula properties. This macro solves the issue.

Code
With LibreOffice Basic:

With Python:

ODT files to test macro
Pick up any LibreOffice published Math guide for testing purpose.