Cell magic for PGF/TikZ-to-SVG rendering in Jupyter
Project description
itikz
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
History
0.0.1 (2018-10-12)
First release on PyPI.
0.0.2 (2018-10-13)
Emit error messages.
0.0.3 (2018-10-16)
Add line magic usage
Change to load_ext pattern
0.0.4 (2018-10-16)
Add argparse parsing for line and cell magic
Add –temp-dir option to reduce clutter
Add –file_prefix for organization
0.0.5 (2018-10-16)
Add Quickstart notebook as a demo
Remove print statements introduced during debugging
0.0.6 (2018-10-17)
Add ITIKZ_TEMP_DIR environmental variable usage
Add –implicit-pic
0.0.7 (2018-10-17)
Add –scale arg
Add –tikz-libraries
Add –tex-packages
Add –implicit-standalone
0.0.8 (2018-10-17)
Add jinja2 templating
Add jinja2 interpolated code debug printing
0.1.0 (2018-10-21)
Add unit tests
Fix cleanup bug
0.1.1 (2018-10-24)
Add –rasterize option
0.1.2 (2018-10-25)
Change default to only show the training 10 lines of an error
Add –full-error option for full emitted error
0.1.3 (2018-10-29)
Change default to only show the training 20 lines of an error
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for itikz-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7498fdabbc90201c92476fd8790a62c8975d61862424c7b5b9f672684e272363 |
|
MD5 | e4036c0a4219bb2f73e07b3f8f23965e |
|
BLAKE2b-256 | 73572d8b40217a15799fc73bbb113fb1a7bb16463e02ee4aa0692463f05a65dc |