pygacity.pythontex.monkeypatches.reaction module¶
Monkeypatches for the Reaction class to add LaTeX output functionality.
- pygacity.pythontex.monkeypatches.reaction.as_tex(self)[source]¶
Returns a LaTeX-formatted string of the reaction using the mhchem package’s ce{} command.
- Returns:
LaTeX-formatted reaction string
- Return type: