jbn / itikz

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

itikz

image

image

image

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

About

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

License:MIT License


Languages

Language:Jupyter Notebook 93.1%Language:Python 6.3%Language:Makefile 0.7%