From f269f21f04db0465d37e9e7bf5d1644dc0e11d3e Mon Sep 17 00:00:00 2001
From: Adrian Kummerlaender
Date: Thu, 1 Sep 2016 15:40:17 +0200
Subject: Read actual contents to be compiled via `jobname` paramater

i.e. generate the Analysis reference sheet via `pdflatex
-jobname=analysis zusammenfassung.tex`
---
 zusammenfassung.tex | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

(limited to 'zusammenfassung.tex')

diff --git a/zusammenfassung.tex b/zusammenfassung.tex
index d13d992..57f5408 100644
--- a/zusammenfassung.tex
+++ b/zusammenfassung.tex
@@ -1,23 +1,25 @@
 \documentclass[10pt,landscape,a4paper]{article}
+
 \usepackage[utf8]{inputenc}
 \usepackage[ngerman]{babel}
 \usepackage[nosf]{kpfonts}
 \usepackage[t1]{sourcesanspro}
+\usepackage[top=5mm,bottom=5mm,left=5mm,right=5mm]{geometry}
+\usepackage[small,compact]{titlesec}
+
 \usepackage{multicol}
 \usepackage{wrapfig}
 \usepackage{enumitem}
 \usepackage{pgfplots}
-\usepackage[top=5mm,bottom=5mm,left=5mm,right=5mm]{geometry}
-\usepackage[small,compact]{titlesec}
 
 \pagestyle{empty}
 
 \setlength{\parindent}{0mm}
 
 \begin{document}
-
-\small
-\begin{multicols*}{4}
-\input{analysis}
-\end{multicols*}
+	\small{
+		\begin{multicols*}{4}
+			\input{\jobname.tex}
+		\end{multicols*}
+	}
 \end{document}
-- 
cgit v1.2.3

