Changing colors of all formulas

I “inherited” a .docx file with a lot of math formula objects in it. For some reason, LibreOffice is setting the default color scheme for math formula objects to white on white. Is there a way to change them all at once? There are about 400 of them in this file, and I have a few dozen other files with (likely) the same problem.

For better suggestions/solutions, always mention OS name (presumably W$ but which version) and exact LO release (with full 4 numbers).

Since this is a .docx, i.e. a non-native format for Writer, the document will first go through a conversion which is not guaranteed to deliver an exact representation of the original. Notably, the encoding of formulas radically differs between both formats.

Formula editing is not handled by Writer, but by its companion component Math. Unfortunately, Math has no “global” formatting styles (which anyway are not forwarded to Writer). Consequently, you can’t fix the issue in a single step.

As far as I know, you must handle every formula individually.

There may also be a “glitch”. Have you chosen a dark theme in your OS? Dark themes have some adverse effects on default formatting in Writer. If you did, try to change for a light theme to see if problem persists.