Skip to content

A Jupyter extension for compiling and displaying images described by the TikZ language.

License

Notifications You must be signed in to change notification settings

laurentperrinet/tikzmagic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tikzmagic

A Jupyter extension for compiling and displaying images described by the TikZ language.

Requirements

  • IPython/Jupyter
  • LaTeX (xelatex)
  • ImageMagick

Installation

pip install git+git://github.com/robjstan/tikzmagic.git

Usage

In an iPython notebook cell: import tikzmagic or %load_ext tikzmagic.

Optional arguments

  • -p or --latex_packages
  • -x or --latex_preamble
  • -l or --tikz_libraries
  • -s or --scale, default=1 (corresponding to 300dpi)
  • -b or --border, default=4

Example

Example iPython notebook

About

A Jupyter extension for compiling and displaying images described by the TikZ language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published