[IPython-dev] More complicated LaTeX output in IPython notebook cells.

Thomas Kluyver takowl at gmail.com
Tue Jun 18 12:58:07 EDT 2013


On 18 June 2013 17:48, Rick Muller <rpmuller at gmail.com> wrote:

> which doesn't display, I think because the xyqcirc.tex stuff isn't
> supported by mathjax.
> Does anyone know of a workaround for this, or should I start honing my SVG
> skills to generate a more native option?
>

You're probably right about Mathjax - it's designed to handle a subset of
TeX, and I doubt quantum circuit diagrams are in that subset ;-).

If you need a workaround, you could write a wrapper that will do the LaTeX
rendering in the kernel, and display it as a png.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130618/a4ac0297/attachment.html>


More information about the IPython-dev mailing list