There are perhaps two questions in your post.
General behaviour of Math objects in Writer
Every formula inserted in a Writer document is independent from each other and also independent from Math once inserted.
This means that you can’t control formula aspects with Writer styles. Look of formulas does not depend on Writer styles, you need to edit formulas inside Math to change their formatting.
Math “styles” are not forwarded as styles to Writer. So, once again, there is no unique location to change globally the appearance.
As mentioned above, every formula is added as a “foreign” object into Writer documents and loses any link to Math. Changing the “styles” in Math has no effect on existing formulas in Writer.
To change the look of existing formulas, you have no other way than reloading them one after the other in Math and make there appropriate changes. Not user-friendly.
Failure of formatting on new factors
When a formula is reloaded in Math, its “style” configuration is reloaded as well and replaces what you may have changed in Format
>Fonts
is overridden.
Regarding the %-symbols, I experience a strange thing: AFAIK the Greek letters are taken from font OpenSymbol which comes as a “straight” (Roman) variant. The letters are converted to italic by the font renderer. Despite all my efforts, I can’t get %-symbols not italic.
So, I can’t tell what’s happening in your document. There needs a deeper analysis which can be done only when you provide a sample file with one correctly-behaving formula and a faulty formula. Don’t forget to mention your OS name and LO version (the latter is of utmost importance).
EDIT after analysis
I saved your sample file as .fodt and opened it with a text editor.
In your “old” formulas, Greek letters are tagged as <mi mathvariant="normal">α</mi>
while the attribute mathvariant="normal"
is not present in “new” formulas. Removing this attributes canonises the Greek variables.
If you’re not weak on the heart, you can try the following:
- save your origninal file as .fodt (choose Flat XML ODF Text Document from the Filter: drop-down menu)
- open the .fodt in a text editor (not LO!)
Text editors may complain about line length in the .fodt. Increase the line buffer size (procedure varies with text edditor) so that no truncation occurs otherwise you won’t be able to fix the problem.
- replace all ==
mathvariant="normal"
== (== are her only to delimit the target string, don’t insert them in the search box) by nothing, effectively removing it
Note I have put a prefix space at head of the search string (that’s why I used == to mark the effective start and end of the string)
- save the modified file
- open the modified .fodt in Writer
- if result is satisfactory, save again as .odt (perhaps under a different name so that you keep an unaltered copy of the original file)