When working with complicated expressions I would like to easily export specific expressions to LaTex.
The ideal solution for me is the TeXForm command, but many times when using it I would like to customize the output.
- removing \text around the variables
- changing \bar to \overline when needed.
- removing \left and \right
- changing \varepsilon to \epsilon
My question is
Is there a general way that I can parse the output of TeXForm (or any LaTex output method) so that it is format it to my preferences?