2 %% This is file edition_kainhofer.sty',
3 \ProvidesPackage{editionkainhofer
}[2009/
04/
07]
6 \usepackage[pdftex
]{hyperref
}
8 \usepackage[naustrian
]{babel
}
10 \usepackage[utf8
]{inputenc}
14 \usepackage{supertabular
}
17 \usepackage[usenames
]{color}
18 % \geometry{bottom=2cm,top=1cm}
25 \definecolor{cover
}{rgb
}{0.27,
0.25,
0.72} % {69,40,234}
27 \newcommand{\setfullscore}{
28 \definecolor{cover
}{rgb
}{0,
0.25,
0} % {0,64,0}
30 \newcommand{\setvocalscore}{
31 \definecolor{cover
}{rgb
}{0.27,
0.25,
0.72} % {69,40,234}
33 \newcommand{\setinstrumentalscore}{
34 \definecolor{cover
}{rgb
}{0.5,
0,
0} % {128, 0, 0, }
38 \setlength{\parindent}{0em
}
43 \fontsize{20pt
}{25pt
}\selectfont
44 \input "editionkainhofer/oly_defs.tex"
48 \newcommand{\composer}[1]{\gdef\@composer
{#1}}
49 \let\@composerdate\@empty
50 \newcommand{\composerdate}[1]{\gdef\@composerdate
{#1}}
52 \newcommand{\poet}[1]{\gdef\@poet
{#1}}
54 \newcommand{\poetdate}[1]{\gdef\@poetdate
{#1}}
56 \newcommand{\subtitle}[1]{\gdef\@subtitle
{#1}}
57 \let\@description\@empty
58 \renewcommand{\description}[1]{\gdef\@description
{#1}}
59 \let\@instrumentation\@empty
60 \newcommand{\instrumentation}[1]{\gdef\@instrumentation
{#1}}
61 \let\@scoretype\@empty
62 \newcommand{\scoretype}[1]{\gdef\@scoretype
{#1}}
64 \newcommand{\editor}[1]{\gdef\@editor
{#1}}
65 \let\@publisher\@empty
66 \newcommand{\publisher}[1]{\gdef\@publisher
{#1}}
67 \let\@scorenumber\@empty
68 \newcommand{\scorenumber}[1]{\gdef\@scorenumber
{#1}}
70 \renewcommand{\year}[1]{\gdef\@year
{#1}}
73 \newcommand{\basename}[1]{\gdef\oly@basename
{#1}}
77 %% End of file `makeidx.sty'.
79 \newcommand\makefrontpage{\pagenumbering{alph
}\begin{titlepage
}%
80 \pagecolor{cover
}\color{white
}
83 \let\footnotesize\small
84 \let\footnoterule\relax
85 \let \footnote \thanks
88 \fontsize{20pt
}{25pt
}\selectfont
93 \ifx\@composer\@empty
%
95 {\fontsize{35pt
}{35pt
}\selectfont\textbf{\@composer
}}\\
[0.3em
]%
100 {%\fontsize{20pt}{20pt}\selectfont
101 \textbf{\@poet
}}\\
[0.3em
]%
107 \fontsize{40pt
}{50pt
}\selectfont%
122 {\fontsize{13pt
}{13pt
}\selectfont
123 \@publisher
\ifx\@scorenumber\@empty
%
124 \else, \@scorenumber
\fi
131 \thispagestyle{empty
}\null
134 \setcounter{footnote
}{0}%
137 \newcommand{\makebackpage}{
139 \thispagestyle{empty
}\null
141 \thispagestyle{empty
}\pagecolor{cover
}
147 \renewcommand\maketitle{\thispagestyle{empty
}{\begin{titlepage
}%
148 % \pagecolor{cover}\color{white}
149 \fontfamily{pbk
}\selectfont
150 % \fontseries{b}\selectfont
151 % \fontshape{n}\selectfont
154 \let\footnotesize\small
155 \let\footnoterule\relax
156 \let \footnote \thanks
158 \fontsize{16pt
}{18pt
}\selectfont
163 \ifx\@composer\@empty
%
165 {\fontsize{22pt
}{25pt
}\selectfont\textbf{\@composer
}\ifx\@composerdate
\empty\else{} \relax \@composerdate
\fi}\\
[0.3em
]
170 {\fontsize{16pt
}{20pt
}\selectfont\textbf{\@poet
}\ifx\@poetdate
\empty\else{} \relax \@poetdate
\fi}%
176 \fontsize{40pt
}{45pt
}\selectfont
189 \ifx\@instrumentation
\empty%
193 \fontsize{12pt
}{14pt
}\selectfont
194 {\begin{minipage
}{0.2\textwidth}\hspace{0.15\textwidth}\end{minipage
}}\begin{minipage
}{0.6\textwidth}\@instrumentation
\end{minipage
}%
200 \fontsize{16pt
}{18pt
}\selectfont
204 \fontsize{12pt
}{14pt
}\selectfont
207 Herausgegeben von: / Edited by:\\
[0.3em
]%
213 \@publisher
\ifx\@year\@empty
%
223 \setcounter{footnote
}{0}%
224 \global\let\maketitle\relax
226 % \global\let\@thanks\@empty
227 % \global\let\@author\@empty
228 % \global\let\@date\@empty
229 % \global\let\@title\@empty
230 % \global\let\title\relax
231 % \global\let\author\relax
232 % \global\let\date\relax
233 % \global\let\and\relax
240 \newcommand{\q}[1]{\glqq{}#1\grqq{}}
241 \newcommand{\piece}[2]{
242 \setcounter{page
}{#2}
244 \addcontentsline{toc
}{chapter
}{#1}
247 % \addtocontents{toc}{\contentsline {section}{#1}{2}{#2}}
249 \newenvironment{vergleich
}{
250 \setlength{\parindent}{-
3em
}
251 \setlength{\leftskip}{3em
}
256 \setlength{\parindent}{0em
}
257 \setlength{\leftskip}{0em
}
260 \newcommand{\copyrightbox}[1]{
262 \begin{minipage
}{0.95\textwidth}#1\end{minipage
}
265 \newcommand{\scorelistbox}[1]{
266 \fbox{\begin{minipage
}{0.8\textwidth}
272 \newcommand\frontmatter{%
274 \pagenumbering{roman
}}
275 \newcommand\mainmatter{%
277 \pagenumbering{arabic
}}
278 \newcommand\backmatter{%
290 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
291 % \includescore{PossibleExtension}
292 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
294 % Read in the TOC entries for a PDF file from the corresponding .toc file.
295 % This requires some heave latex tweaking, since reading in things from a file
296 % and inserting it into the arguments of a macro is not (easily) possible
298 % Solution by Patrick Fimml on #latex on April 18, 2009:
299 % \readfile{filename}{\variable}
300 % reads in the contents of the file into \variable (undefined if file doesn't exist)
302 \def\readfile@line
#1{%
303 {\catcode`\^^M=
10\global\read\readfile@f to
\readfile@tmp
}%
304 \edef\do{\noexpand\g@addto@macro
{\noexpand#1}{\readfile@tmp
}}\do%
305 \ifeof\readfile@f
\else%
310 \openin\readfile@f=
#1 %
312 \typeout{No TOC file
#1 available!
}%
321 \newcommand{\includescore}[1]{
322 \def\oly@fname
{\oly@basename\@ifmtarg
{#1}{}{_
#1}}
323 \let\oly@addtotoc
\undefined
324 \readfile{\oly@fname.toc
}{\oly@addtotoc
}
325 \ifx\oly@addtotoc
\undefined
326 \includepdf[pages=-
]{\oly@fname
}
328 \edef\includeit{\noexpand\includepdf[pages=-,addtotoc=
{\oly@addtotoc
}]{\oly@fname
}}\includeit
332 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
333 % Bibliography, TOC formatting
334 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
336 % \renewcommand*{\l@chapter}{\@dottedtocline{1}{1.5em}{2.3em}}
337 % \renewcommand*{\l@chapter}{\@dottedtocline{0}{0em}{0em}}
338 \renewcommand*
{\l@section
}{\@dottedtocline
{1}{0em
}{2.3em
}}
339 \renewcommand{\numberline}[1]{}
342 \renewenvironment{thebibliography
}[1]
343 {%\chapter*{\bibname}%
344 \@mkboth
{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
345 \list{\@biblabel
{\@arabic
\c@enumiv
}}%
346 {\settowidth\labelwidth{\@biblabel
{#1}}%
347 \leftmargin\labelwidth
348 \advance\leftmargin\labelsep
352 \renewcommand\theenumiv{\@arabic
\c@enumiv
}}%
355 \@clubpenalty
\clubpenalty
359 {\@latex@warning
{Empty `thebibliography' environment
}}%