Hello Everybody,

I would like to use macros inside "physics" package, which makes easier to 
type some physics formulas with html output. When I use 
"sphinx.exth.pngmath", I just use latex_preamble to include 
'\usepackage{physics}' to use macros inside sphinx document. 

I wonder how I could achieve it by Mathjax. I think Mathjax  can't use 
latex packages directly. For example, 
If I define a new macro:

\newcommand{\ket}[1]{\left|{#1}\right\rangle}

Where should I put this in my files? There are hundres of macro inside physics 
package. Is there an easy way other than including all lines inside that file.
 I am using local mathjax library. 

Thanks,
Özhan



-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to