my question is an extension of this one, and what i want is Doxygen to output the math formulas and text that are in the same comment line of my python source code. Let's take the following example:
# Create homogeneous probability matrix from the colors matrix
def create_probability_map(colors_map):
"""!\f$(x_1,y_1)\f$"""
pass
When I run the above code, Doxygen outputs the correct math formula, as expected. However, if I add some text before the math formula:
# Create homogeneous probability matrix from the colors matrix
def create_probability_map(colors_map):
"""Formula is: !\f$(x_1,y_1)\f$"""
pass
The output is not as expected. Does anyone know how to fix this?
While trying other several combinations, I found out that Doxygen outputs the correct comment if the text is after the math formula, as follows:
# Create homogeneous probability matrix from the colors matrix
def create_probability_map(colors_map):
"""!\f$(x_1,y_1)\f$ is the formula"""
pass
P.S: I also found it strange that supposedly Doxygen can't process math formulas on Python, as stated on the documentation (specifically in here). Is the documentation out of date?