Tagged Questions
3
votes
1answer
112 views
Include one TeX file into another
I have main.tex file with:
\documentclass[]{report}
\begin{document}
\input{filename.tex}
\end{document}
Let say filename.tex have the following content:
\begin{abstract}
text
\end{abstract}
...
1
vote
2answers
199 views
lstinputlistings syntax highlighting
I am using package listings to import my Python source code into my LaTeX document. I use the command \lstinputlistings. I have a Python source like
class MyClass(Yourclass):
def __init__(self, ...
