Skip to content

Instantly share code, notes, and snippets.

@z-m-k
z-m-k / py2tex.py
Created November 11, 2013 09:18 — forked from BekeJ/py2tex.py
"""
Module for IPython to display code with TeX representation.
This makes for example the following workflow possible:
.. sourcecode:: ipython
In [1]: %load_ext py2tex
In [2]: from math import *
@z-m-k
z-m-k / py2tex.py
Created July 24, 2013 11:36 — forked from BekeJ/py2tex.py
"""
Module for IPython to display code with TeX representation.
This makes for example the following workflow possible:
.. sourcecode:: ipython
In [1]: %load_ext py2tex
In [2]: from math import *