pdflatex -shell-escape test.latex
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev/Debian) (preloaded format=pdflatex)
\write18 enabled.
entering extended mode
(./test.latex
LaTeX2e <2014/05/01>
Babel <3.9l> and hyphenation patterns for 2 languages loaded.
(/usr/share/texlive/texmf ...
Search found 3 matches
- Wed Aug 23, 2017 10:36 am
- Forum: General
- Topic: How to embed python in latex?
- Replies: 3
- Views: 7408
- Wed Aug 23, 2017 8:45 am
- Forum: General
- Topic: How to embed python in latex?
- Replies: 3
- Views: 7408
How to embed python in latex?
For the article here http://www.texample.net/weblog/2008/oct/24/embedding-python-latex/.
Let’s start with a basic “hello world” example:
%& -shell-escape
\documentclass{article}
\usepackage{python}
\begin{document}
Say hello Python:
\begin{python}%
print r"Hello \LaTeX!"
\end{python}%
\end ...
Let’s start with a basic “hello world” example:
%& -shell-escape
\documentclass{article}
\usepackage{python}
\begin{document}
Say hello Python:
\begin{python}%
print r"Hello \LaTeX!"
\end{python}%
\end ...
- Wed Aug 23, 2017 8:40 am
- Forum: New Members
- Topic: new here
- Replies: 2
- Views: 4714
new here
i am new to latex, want to write something with latex.