Cell magic for PGF/TikZ-to-SVG rendering in Jupyter


Keywords
itikz, ipython-magic, ipython-notebook, jupyter, jupyter-notebook, latex, tikz, tikz-figures
License
MIT
Install
pip install itikz==0.1.5

Documentation

itikz

https://travis-ci.org/jbn/itikz.svg?branch=master

Cell magic for PGF/TikZ-to-SVG rendering in Jupyter

  • Free software: MIT license

Basic Usage

Install it:

pip install itikz

Load it:

%load_ext itikz

Use it:

%%itikz --file-prefix implicit-demo- --implicit-pic
\draw[help lines] grid (5, 5);
\draw[fill=magenta!10] (1, 1) rectangle (2, 2);
\draw[fill=magenta!10] (2, 1) rectangle (3, 2);
\draw[fill=magenta!10] (3, 1) rectangle (4, 2);
\draw[fill=magenta!10] (3, 2) rectangle (4, 3);
\draw[fill=magenta!10] (2, 3) rectangle (3, 4);

Getting Started Guide

Getting Started Notebook