mkrphys / ipython-tikzmagic

IPython magics for generating figures with TikZ
BSD 3-Clause "New" or "Revised" License
159 stars 43 forks source link

Add -p option to import LaTeX package #12

Closed joelkim closed 7 years ago

joelkim commented 7 years ago

I added an option for importing addtional LaTeX packages. Like the -l option, just list the latex package names after -p or --package. I made this to use pgfplots package. A simple example is appended in tikzmagic_test.ipynb.

Thanks!

mkrphys commented 7 years ago

Thanks a lot. This is very useful. Although for the case of pgfplots, I wonder if it shouldn't just be added to the TeX template so it is loaded by default.