Embedding Python in LaTeX
With this style file for LaTeX it is possible to write Python code inside a LaTeX document. It can be extremely useful for generating figures and similar things.Notice that you need to compile your LaTeX files with -shell-escape.
You can download the latest version here.
- Version 0.21
- The style file now does not create a new write stream for each call
to
\begin{python}...\end{python}, since at most 15 are allowed. - Version 0.2
- The style file now generates a LaTeX module where certain LaTeX variables values can be read from within Python.
Currently the only exported variable is\jobname. - Version 0.1
- Initial release