A Jupyter extension for compiling and displaying images described by the TikZ language. Fork of github.com/robjstan/tikzmagic.
- IPython/Jupyter
- LaTeX distribution in your path
- ImageMagick
- Wand library
pip install git+git://github.com/xblahoud/tikzmagic.git
You might require to change priviliges to convert PDF for ImageMagick
In an iPython notebook cell: import tikzmagic
or %load_ext tikzmagic
.
You can also call function tikmagic.tikz()
-p
or--latex_packages
-x
or--latex_preamble
-l
or--tikz_libraries
-i
or--input_file
-s
or--scale
, default=1 (corresponding to 300dpi)-b
or--border
, default=4--engine
, path to LaTeX engine to run, defaultxelatex
--log
prints engines log on latex error