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
}
41 \setlength{\columnsep}{20pt
}
46 \fontsize{20pt
}{25pt
}\selectfont
47 \input "orchestrallily/oly_defs.tex"
51 \newcommand{\composer}[1]{\gdef\@composer
{#1}}
52 \let\@composerdate\@empty
53 \newcommand{\composerdate}[1]{\gdef\@composerdate
{#1}}
55 \newcommand{\poet}[1]{\gdef\@poet
{#1}}
57 \newcommand{\poetdate}[1]{\gdef\@poetdate
{#1}}
59 \newcommand{\subtitle}[1]{\gdef\@subtitle
{#1}}
60 \let\@description\@empty
61 \renewcommand{\description}[1]{\gdef\@description
{#1}}
62 \let\@instrumentation\@empty
63 \newcommand{\instrumentation}[1]{\gdef\@instrumentation
{#1}}
64 \let\@scoretype\@empty
65 \newcommand{\scoretype}[1]{\gdef\@scoretype
{#1}}
66 \let\@scoreinfo\@empty
67 \newcommand{\scoreinfo}[1]{\gdef\@scoreinfo
{#1}}
69 \newcommand{\editor}[1]{\gdef\@editor
{#1}}
70 \let\@publisher\@empty
71 \newcommand{\publisher}[1]{\gdef\@publisher
{#1}}
72 \let\@scorenumber\@empty
73 \newcommand{\scorenumber}[1]{\gdef\@scorenumber
{#1}}
75 \renewcommand{\year}[1]{\gdef\@year
{#1}}
78 \newcommand{\basename}[1]{\gdef\oly@basename
{#1}}
82 %% End of file `makeidx.sty'.
84 \newcommand\makefrontpage{\pagenumbering{alph
}\begin{titlepage
}%
85 \pagecolor{cover
}\color{white
}
88 \let\footnotesize\small
89 \let\footnoterule\relax
90 \let \footnote \thanks
93 \fontsize{20pt
}{25pt
}\selectfont
98 \ifx\@composer\@empty
%
100 {\fontsize{35pt
}{35pt
}\selectfont\textbf{\@composer
}}\\
[0.3em
]%
105 {%\fontsize{20pt}{20pt}\selectfont
106 \textbf{\@poet
}}\\
[0.3em
]%
112 \fontsize{40pt
}{50pt
}\selectfont%
121 \ifx\@scoreinfo\@empty
%
131 {\fontsize{13pt
}{13pt
}\selectfont
132 \@publisher
\ifx\@scorenumber\@empty
%
133 \else, \@scorenumber
\fi
140 \thispagestyle{empty
}\null
143 \setcounter{footnote
}{0}%
146 \newcommand{\makebackpage}{
148 \thispagestyle{empty
}\null
150 \thispagestyle{empty
}\pagecolor{cover
}
156 \renewcommand\maketitle{\thispagestyle{empty
}{\begin{titlepage
}%
157 % \pagecolor{cover}\color{white}
158 \fontfamily{pbk
}\selectfont
159 % \fontseries{b}\selectfont
160 % \fontshape{n}\selectfont
163 \let\footnotesize\small
164 \let\footnoterule\relax
165 \let \footnote \thanks
167 \fontsize{16pt
}{18pt
}\selectfont
172 \ifx\@composer\@empty
%
174 {\fontsize{22pt
}{25pt
}\selectfont\textbf{\@composer
}\ifx\@composerdate
\empty\else{} \relax \@composerdate
\fi}\\
[0.3em
]
179 {\fontsize{16pt
}{20pt
}\selectfont\textbf{\@poet
}\ifx\@poetdate
\empty\else{} \relax \@poetdate
\fi}%
185 \fontsize{40pt
}{45pt
}\selectfont
198 \ifx\@instrumentation
\empty%
202 \fontsize{12pt
}{14pt
}\selectfont
203 {\begin{minipage
}{0.2\textwidth}\hspace{0.15\textwidth}\end{minipage
}}\begin{minipage
}{0.6\textwidth}\@instrumentation
\end{minipage
}%
209 \fontsize{16pt
}{18pt
}\selectfont
213 \fontsize{12pt
}{14pt
}\selectfont
216 Herausgegeben von: / Edited by:\\
[0.3em
]%
222 \@publisher
\ifx\@year\@empty
%
232 \setcounter{footnote
}{0}%
233 \global\let\maketitle\relax
235 % \global\let\@thanks\@empty
236 % \global\let\@author\@empty
237 % \global\let\@date\@empty
238 % \global\let\@title\@empty
239 % \global\let\title\relax
240 % \global\let\author\relax
241 % \global\let\date\relax
242 % \global\let\and\relax
249 \newcommand{\q}[1]{\glqq{}#1\grqq{}}
250 \newcommand{\piece}[2]{
251 \setcounter{page
}{#2}
253 \addcontentsline{toc
}{chapter
}{#1}
256 % \addtocontents{toc}{\contentsline {section}{#1}{2}{#2}}
258 \newenvironment{vergleich
}{
259 \setlength{\parindent}{-
3em
}
260 \setlength{\leftskip}{3em
}
265 \setlength{\parindent}{0em
}
266 \setlength{\leftskip}{0em
}
269 \newcommand{\copyrightbox}[1]{
271 \begin{minipage
}{0.95\textwidth}#1\end{minipage
}
274 \newcommand{\scorelistbox}[1]{
275 \fbox{\begin{minipage
}{0.8\textwidth}
281 \newcommand\frontmatter{%
283 \pagenumbering{roman
}}
284 \newcommand\mainmatter{%
286 \pagenumbering{arabic
}}
287 \newcommand\backmatter{%
296 % \newenvironment{lyricstable}{\begin{supertabular}{p{0.33\textwidth}p{0.33\textwidth}p{0.33\textwidth}}}{\end{supertabular}}
297 \newenvironment{lyricstable
}{\begin{tabular
}{p
{0.33\textwidth}p
{0.33\textwidth}p
{0.33\textwidth}}}{\end{tabular
}}
302 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
303 % \includescore{PossibleExtension}
304 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
306 % Read in the TOC entries for a PDF file from the corresponding .toc file.
307 % This requires some heave latex tweaking, since reading in things from a file
308 % and inserting it into the arguments of a macro is not (easily) possible
310 % Solution by Patrick Fimml on #latex on April 18, 2009:
311 % \readfile{filename}{\variable}
312 % reads in the contents of the file into \variable (undefined if file doesn't exist)
314 \def\readfile@line
#1{%
315 {\catcode`\^^M=
10\global\read\readfile@f to
\readfile@tmp
}%
316 \edef\do{\noexpand\g@addto@macro
{\noexpand#1}{\readfile@tmp
}}\do%
317 \ifeof\readfile@f
\else%
322 \openin\readfile@f=
#1 %
324 \typeout{No TOC file
#1 available!
}%
333 \newcommand{\includescore}[1]{
334 \def\oly@fname
{\oly@basename\@ifmtarg
{#1}{}{_
#1}}
335 \let\oly@addtotoc
\undefined
336 \readfile{\oly@fname.toc
}{\oly@addtotoc
}
337 \ifx\oly@addtotoc
\undefined
338 \includepdf[pages=-
]{\oly@fname
}
340 \edef\includeit{\noexpand\includepdf[pages=-,addtotoc=
{\oly@addtotoc
}]{\oly@fname
}}\includeit
344 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
345 % Bibliography, TOC formatting
346 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
348 % \renewcommand*{\l@chapter}{\@dottedtocline{1}{1.5em}{2.3em}}
349 % \renewcommand*{\l@chapter}{\@dottedtocline{0}{0em}{0em}}
350 \renewcommand*
{\l@section
}{\@dottedtocline
{1}{0em
}{2.3em
}}
351 \renewcommand{\numberline}[1]{}
354 \renewenvironment{thebibliography
}[1]
355 {%\chapter*{\bibname}%
356 \@mkboth
{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
357 \list{\@biblabel
{\@arabic
\c@enumiv
}}%
358 {\settowidth\labelwidth{\@biblabel
{#1}}%
359 \leftmargin\labelwidth
360 \advance\leftmargin\labelsep
364 \renewcommand\theenumiv{\@arabic
\c@enumiv
}}%
367 \@clubpenalty
\clubpenalty
371 {\@latex@warning
{Empty `thebibliography' environment
}}%
377 \newcommand{\wavyline}{$
\sim\sim\sim\sim\sim$
}
378 \newcommand{\longwavyline}{$
\sim\sim\sim\sim\sim\sim\sim\sim\sim\sim$
}
379 % figures for figured bass:
380 \newcommand{\bfig}[1]{\q{#1}}