In doxygen if you want your formulas to be formatted correctly you must do:
\f$ x=2 \f$
I have lots of md files with math formulas. These files are part of an internal wiki and must abide by the algorithmic rules of that wiki. Which means latex is formatted normally, i.e $x=2$.
However I would also like to complement the documentation with doxygen. But then the generated math sections are not formatted and appear as plain latex code.
Is there anyway I can disable that \f?
The only alternative I can think of is having a script that copies the md files to a temp directory, replace $ with \f$ then instruct doxygen to use those files instead. This is a possibility but an ugly one. Is there anything you can do to avoid \f ?