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[normalem
]{ulem
}
19 \usepackage[usenames
]{color}
20 % \geometry{bottom=2cm,top=1cm}
27 \definecolor{cover
}{rgb
}{0.27,
0.25,
0.72} % {69,40,234}
29 \newcommand{\setfullscore}{
30 \definecolor{cover
}{rgb
}{0,
0.25,
0} % {0,64,0}
32 \newcommand{\setvocalscore}{
33 \definecolor{cover
}{rgb
}{0.27,
0.25,
0.72} % {69,40,234}
35 \newcommand{\setinstrumentalscore}{
36 \definecolor{cover
}{rgb
}{0.5,
0,
0} % {128, 0, 0, }
40 \setlength{\parindent}{0em
}
45 \fontsize{20pt
}{25pt
}\selectfont
46 \input "orchestrallily/oly_defs.tex"
50 \newcommand{\composer}[1]{\gdef\@composer
{#1}}
51 \let\@composerdate\@empty
52 \newcommand{\composerdate}[1]{\gdef\@composerdate
{#1}}
54 \newcommand{\poet}[1]{\gdef\@poet
{#1}}
56 \newcommand{\poetdate}[1]{\gdef\@poetdate
{#1}}
58 \newcommand{\subtitle}[1]{\gdef\@subtitle
{#1}}
59 \let\@description\@empty
60 \renewcommand{\description}[1]{\gdef\@description
{#1}}
61 \let\@instrumentation\@empty
62 \newcommand{\instrumentation}[1]{\gdef\@instrumentation
{#1}}
63 \let\@scoretype\@empty
64 \newcommand{\scoretype}[1]{\gdef\@scoretype
{#1}}
65 \let\@scoreinfo\@empty
66 \newcommand{\scoreinfo}[1]{\gdef\@scoreinfo
{#1}}
68 \newcommand{\editor}[1]{\gdef\@editor
{#1}}
69 \let\@publisher\@empty
70 \newcommand{\publisher}[1]{\gdef\@publisher
{#1}}
71 \let\@scorenumber\@empty
72 \newcommand{\scorenumber}[1]{\gdef\@scorenumber
{#1}}
74 \renewcommand{\year}[1]{\gdef\@year
{#1}}
77 \newcommand{\basename}[1]{\gdef\oly@basename
{#1}}
81 %% End of file `makeidx.sty'.
83 \newcommand\makefrontpage{\pagenumbering{alph
}\begin{titlepage
}%
84 \pagecolor{cover
}\color{white
}
87 \let\footnotesize\small
88 \let\footnoterule\relax
89 \let \footnote \thanks
92 \fontsize{20pt
}{25pt
}\selectfont
97 \ifx\@composer\@empty
%
99 {\fontsize{35pt
}{35pt
}\selectfont\textbf{\@composer
}}\\
[0.3em
]%
104 {%\fontsize{20pt}{20pt}\selectfont
105 \textbf{\@poet
}}\\
[0.3em
]%
111 \fontsize{40pt
}{50pt
}\selectfont%
120 \ifx\@scoreinfo\@empty
%
130 {\fontsize{13pt
}{13pt
}\selectfont
131 \@publisher
\ifx\@scorenumber\@empty
%
132 \else, \@scorenumber
\fi
139 \thispagestyle{empty
}\null
142 \setcounter{footnote
}{0}%
145 \newcommand{\makebackpage}{
147 \thispagestyle{empty
}\null
149 \thispagestyle{empty
}\pagecolor{cover
}
155 \renewcommand\maketitle{\thispagestyle{empty
}{\begin{titlepage
}%
156 % \pagecolor{cover}\color{white}
157 \fontfamily{pbk
}\selectfont
158 % \fontseries{b}\selectfont
159 % \fontshape{n}\selectfont
162 \let\footnotesize\small
163 \let\footnoterule\relax
164 \let \footnote \thanks
166 \fontsize{16pt
}{18pt
}\selectfont
171 \ifx\@composer\@empty
%
173 {\fontsize{22pt
}{25pt
}\selectfont\textbf{\@composer
}\ifx\@composerdate
\empty\else{} \relax \@composerdate
\fi}\\
[0.3em
]
178 {\fontsize{16pt
}{20pt
}\selectfont\textbf{\@poet
}\ifx\@poetdate
\empty\else{} \relax \@poetdate
\fi}%
184 \fontsize{40pt
}{45pt
}\selectfont
197 \ifx\@instrumentation
\empty%
201 \fontsize{12pt
}{14pt
}\selectfont
202 {\begin{minipage
}{0.2\textwidth}\hspace{0.15\textwidth}\end{minipage
}}\begin{minipage
}{0.6\textwidth}\@instrumentation
\end{minipage
}%
208 \fontsize{16pt
}{18pt
}\selectfont
212 \fontsize{12pt
}{14pt
}\selectfont
215 Herausgegeben von: / Edited by:\\
[0.3em
]%
221 \@publisher
\ifx\@year\@empty
%
231 \setcounter{footnote
}{0}%
232 \global\let\maketitle\relax
234 % \global\let\@thanks\@empty
235 % \global\let\@author\@empty
236 % \global\let\@date\@empty
237 % \global\let\@title\@empty
238 % \global\let\title\relax
239 % \global\let\author\relax
240 % \global\let\date\relax
241 % \global\let\and\relax
248 \newcommand{\q}[1]{\glqq{}#1\grqq{}}
249 \newcommand{\piece}[2]{
250 \setcounter{page
}{#2}
252 \addcontentsline{toc
}{chapter
}{#1}
255 % \addtocontents{toc}{\contentsline {section}{#1}{2}{#2}}
257 \newenvironment{vergleich
}{
258 \setlength{\parindent}{-
3em
}
259 \setlength{\leftskip}{3em
}
264 \setlength{\parindent}{0em
}
265 \setlength{\leftskip}{0em
}
268 \newcommand{\copyrightbox}[1]{
270 \begin{minipage
}{0.95\textwidth}#1\end{minipage
}
273 \newcommand{\scorelistbox}[1]{
274 \fbox{\begin{minipage
}{0.8\textwidth}
280 \newcommand\frontmatter{%
282 \pagenumbering{roman
}}
283 \newcommand\mainmatter{%
285 \pagenumbering{arabic
}}
286 \newcommand\backmatter{%
295 % \newenvironment{lyricstable}{\begin{supertabular}{p{0.33\textwidth}p{0.33\textwidth}p{0.33\textwidth}}}{\end{supertabular}}
296 \newenvironment{lyricstable
}{\begin{tabular
}{p
{0.33\textwidth}p
{0.33\textwidth}p
{0.33\textwidth}}}{\end{tabular
}}
301 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
302 % \includescore{PossibleExtension}
303 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
305 % Read in the TOC entries for a PDF file from the corresponding .toc file.
306 % This requires some heave latex tweaking, since reading in things from a file
307 % and inserting it into the arguments of a macro is not (easily) possible
309 % Solution by Patrick Fimml on #latex on April 18, 2009:
310 % \readfile{filename}{\variable}
311 % reads in the contents of the file into \variable (undefined if file doesn't exist)
313 \def\readfile@line
#1{%
314 {\catcode`\^^M=
10\global\read\readfile@f to
\readfile@tmp
}%
315 \edef\do{\noexpand\g@addto@macro
{\noexpand#1}{\readfile@tmp
}}\do%
316 \ifeof\readfile@f
\else%
321 \openin\readfile@f=
#1 %
323 \typeout{No TOC file
#1 available!
}%
332 \newcommand{\includescore}[1]{
333 \def\oly@fname
{\oly@basename\@ifmtarg
{#1}{}{_
#1}}
334 \let\oly@addtotoc
\undefined
335 \readfile{\oly@fname.toc
}{\oly@addtotoc
}
336 \ifx\oly@addtotoc
\undefined
337 \includepdf[pages=-
]{\oly@fname
}
339 \edef\includeit{\noexpand\includepdf[pages=-,addtotoc=
{\oly@addtotoc
}]{\oly@fname
}}\includeit
343 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
344 % Bibliography, TOC formatting
345 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
347 % \renewcommand*{\l@chapter}{\@dottedtocline{1}{1.5em}{2.3em}}
348 % \renewcommand*{\l@chapter}{\@dottedtocline{0}{0em}{0em}}
349 \renewcommand*
{\l@section
}{\@dottedtocline
{1}{0em
}{2.3em
}}
350 \renewcommand{\numberline}[1]{}
353 \renewenvironment{thebibliography
}[1]
354 {%\chapter*{\bibname}%
355 \@mkboth
{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
356 \list{\@biblabel
{\@arabic
\c@enumiv
}}%
357 {\settowidth\labelwidth{\@biblabel
{#1}}%
358 \leftmargin\labelwidth
359 \advance\leftmargin\labelsep
363 \renewcommand\theenumiv{\@arabic
\c@enumiv
}}%
366 \@clubpenalty
\clubpenalty
370 {\@latex@warning
{Empty `thebibliography' environment
}}%
376 \newcommand{\wavyline}{$
\sim\sim\sim\sim\sim$
}
377 \newcommand{\longwavyline}{$
\sim\sim\sim\sim\sim\sim\sim\sim\sim\sim$
}
378 % figures for figured bass:
379 \newcommand{\bfig}[1]{\q{#1}}