See the top of GAsympy.txt. You need to create a math environment with all the newcommands, like:
.. math:: \newcommand{\bfrac}[2]{\displaystyle\frac{#1}{#2}} Note that this is specifically how you do it when using the mathjax extension. If you are using pngmath, you add it to conf.py, in the pngmath_latex_preamble variable. The above might work with pngmath, too; I haven't checked. Aaron Meurer On Mon, Jan 23, 2012 at 9:07 AM, Alan Bromborsky <abro...@verizon.net> wrote: > How do you input a LaTeX "\newcommand{}[]{}" macro into a Sphinx rst doc > file. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.