blob: 73cc454661c085b5d5de4d08c2385c2cec8390ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
\documentclass[a4paper]{article}
\usepackage{graphicx}
\usepackage{a4wide}
\usepackage{listings}
\usepackage{forloop}
\begin{document}
\newcounter{suffix}
\newcommand{\DDir}{data_2xRampe_try2_\thesuffix}
\newcommand{\DDirP}{data\_2xRampe\_try2\_\thesuffix}
\section{Inputfile}
\lstinputlisting[breaklines=true]{../data_2xRampe_try2_1/input_2xRampe_try2_1.lpi}
\newcommand{\includegraphicsIfExists}[3]{\IfFileExists{../\DDir/Post/#1}
{
% \begin{figure}
\includegraphics[width=\textwidth]{../\DDir/Post/#1} \\[-#2cm]
\begin{center}
#3
\end{center}
% \end{figure}
}{}}
\newcommand{\inputIfExists}[3]{\IfFileExists{../\DDir/Post/#1}
{
% \begin{figure}
\input{../\DDir/Post/#1} \\[-#2cm]
\begin{center}
#3
\end{center}
% \end{figure}
}{}}
\forloop{suffix}{0}{\value{suffix} < 10000}
{
\IfFileExists{../\DDir/times-1}
{
\newpage
\IfFileExists{../\DDir/Post/titel.tex}
{\input{../\DDir/Post/titel} (\DDirP) \\}
{\section{\DDirP}}
\includegraphicsIfExists{spacetime-de.pdf}{0}{Elektronendichte}
\includegraphicsIfExists{spacetime-de_breit.pdf}{0}{Elektronendichte breiter}
\inputIfExists{Spektrum_log_p_refl.tex}{1}{Spektrum\_log\_p-Pol\_refl}
\inputIfExists{Feld_p_refl.tex}{1}{Feld\_p-Pol\_refl}
\inputIfExists{Spektrum_log_p_trns.tex}{1}{Spektrum\_log\_p-Pol\_trns}
\inputIfExists{Feld_p_trns.tex}{1}{Feld\_p-Pol\_trns}
\inputIfExists{Spektrum_log_s_refl.tex}{1}{Spektrum\_log\_s-Pol\_refl}
\inputIfExists{Feld_s_refl.tex}{1}{Feld\_s-Pol\_refl}
\inputIfExists{Spektrum_log_s_trns.tex}{1}{Spektrum\_log\_s-Pol\_trns}
\inputIfExists{Feld_s_trns.tex}{1}{Feld\_s-Pol\_trns}
% \includegraphicsIfExists{Spektrum_log_p_refl.pdf}{1}{Spektrum\_log\_p-Pol\_refl}
% \includegraphicsIfExists{Feld_p_refl.pdf}{1}{Feld\_p-Pol\_refl}
% \includegraphicsIfExists{Spektrum_log_p_trns.pdf}{1}{Spektrum\_log\_p-Pol\_trns}
% \includegraphicsIfExists{Feld_p_trns.pdf}{1}{Feld\_p-Pol\_trns}
% \includegraphicsIfExists{Spektrum_log_s_refl.pdf}{1}{Spektrum\_log\_s-Pol\_refl}
% \includegraphicsIfExists{Feld_s_refl.pdf}{1}{Feld\_s-Pol\_refl}
% \includegraphicsIfExists{Spektrum_log_s_trns.pdf}{1}{Spektrum\_log\_s-Pol\_trns}
% \includegraphicsIfExists{Feld_s_trns.pdf}{1}{Feld\_s-Pol\_trns}
}{}
}
\end{document}
|