Problem
- how to include a textfile into latex
- useful with for example source code files that might change later
Solution
- In the head section:
\usepackage{fancyvrb }
- Then
\VerbatimInput[baselinestretch=1,fontsize=\footnotesize,numbers=left]{yourFileInSameDirectory.txt}