blob: e12006120aced97979ea98eb85016f5cf4efd025 (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
% minijour.cls
\LoadClass[a4paper,twoside]{report}
\RequirePackage[dvips]{graphics}
\RequirePackage{german,ifthen,calc}
% interne Platzhalter
\newcommand{\@jahrgang}{\the\year}
\newcommand{\@ausgabe}{}
\newcommand{\ausgabename}{Ausgabe~\@ausgabe}
\newcommand{\@autor}{}
\newcommand{\@impressum}{}
\newcommand{\@maintitle}{Programmieren wie einst}
\newcommand{\@subtitle}{Mitteilungen zu Fragen der EDV}
% Benutzerkommandos
\newcommand{\maintitle}[1]
{\renewcommand{\@maintitle}{#1}}
\newcommand{\subtitle}[1]
{\renewcommand{\@subtitle}{#1}}
\renewcommand{\author}[1]
{\renewcommand{\@autor}{Von #1}}
\newcommand{\ausgabe}[1]
{\renewcommand{\@ausgabe}{#1}}
\newcommand{\impressum}[1]
{\renewcommand{\@impressum}{#1}}
\newcommand{\jahrgang}[1]
{\renewcommand{\@jahrgang}{#1}}
%Titelseite
\renewcommand{\maketitle}
{ \thispagestyle{empty}
\begin{minipage}{\textwidth}
\parbox[c][5cm][s]{\textwidth}
{\vspace{0pt plus.5fil}
\rightline{%
\ausgabename \hspace{2em}
Jahrgang~\@jahrgang}
\vfil
\centerline{%
\Huge\bfseries\@maintitle}
\vspace{0pt plus.5fil}
\centerline{\bfseries\@subtitle}
\vfil
\rule{\textwidth}{3mm}
}
\hbox to \textwidth
{\parbox[c][12cm][t]{7cm}
{\vspace{1em}
{\LARGE Inhalt}\\\@starttoc{loe}
}
\parbox[c][12cm][c]{2em}
{\hfil\rule{0.2mm}{11cm}\hfil}
\parbox[c][12cm][c]{\textwidth-7cm-2em}
{\resizebox*{\textwidth-7cm-2em}{!}
{\includegraphics{rgray.eps}}
}
}
\vspace{1em}\rule{\textwidth}{3mm}\vspace{1em}
\ifthenelse{\equal{\@impressum}{}}
{}{\small\textbf{Impressum}\\\@impressum}
\end{minipage}
\newpage\thispagestyle{empty} \tableofcontents
\par\bigskip
}
\newcommand{\article}
{\@ifstar{\@@articles}{\@@article}}
\newcommand{\@article}
{\@startsection{chapter}{1}{0pt}
{-3.5ex plus -1ex minus -.2ex}
{2.3ex plus .2ex}{\normalfont\Large\bfseries}}
\newcommand{\@@articles}[1]{\@article*{#1}
\centerline{\@autor} }
\newcommand{\@@article}[4]
{\twocolumn[\@article{#1}
\centerline{\@autor}\vspace*{0.5em}
\addcontentsline{loe}{section}
{$\bullet$ #2}
\addtocontents{loe}
{\protect\mjbcom{}\@autor\protect\mjecom}
\addtocontents{loe}
{\protect\mjbcom{}#3\protect\mjecom}
\ifx#4\empty\else\begin{quote} #4 \end{quote}\fi
]
\markright{#2}
}
\newcommand{\mjbcom}{\noindent\bgroup\footnotesize}
\newcommand{\mjecom}{\egroup\par\vspace{1ex}}
|