\version "2.12"

\include "deutsch.ly"

%#(set-global-staff-size 15.87)
%#(set-global-staff-size 17.82)
#(set-global-staff-size 20)

Komponist = "Komponist"
Lebensdaten = "*1967"
Titel = "~ LesArt-Miniaturen ~"
Untertitel = "nach 14 literarischen Vorlagen"
Opus = "Op. 60"
Instrument = "Gitarre solo"
Copyright = "© 2009"

\paper {
	left-margin = 20\mm
	line-width = 170\mm
	first-page-number = #-1
	print-page-number = ##f
        
        ragged-last-bottom = ##t 
        ragged-bottom = ##f
	
	%annotate-spacing = ##t
	
	evenFooterMarkup = \markup \abs-fontsize #12 \fill-line {
		\fromproperty #'page:page-number-string
	}
	oddFooterMarkup = \markup \abs-fontsize #12 \fill-line {
		\on-the-fly #not-first-page \fromproperty #'page:page-number-string
	}
	
	%{
	myStaffSize = #17.82
	% Wert muss mit dem in "set-global-staff-size" übereinstimmen
	% Schriften unter http://www.gust.org.pl/projects/e-foundry/tex-gyre
	#(define fonts
	 (make-pango-font-tree "TeX Gyre Pagella" ;; serif
	                       "TeX Gyre Heros"   ;; sans-serif
	                       "TeX Gyre Cursor"  ;; monospace
	 (/ myStaffSize 20)))
	%}
}

\bookpart { % Titelseite (oder "U1")
	
	\markup \fill-line \abs-fontsize #10 {
		\center-column {
			\null \null \null \null \null \null \null \null \null
			\abs-fontsize #24 \Komponist
			\null
			\abs-fontsize #14 \Lebensdaten
			\null \null \null \null \null
			\draw-line #'(80 . 0) % wird skaliert
			\null \null \null \null
			\abs-fontsize #28 \bold \Titel
			\null \null
			\abs-fontsize #20 \Untertitel
			\null \null \null \null \null
			\abs-fontsize #20 \Opus
			\null \null \null
			\draw-line #'(80 . 0) % wird skaliert
			\null \null \null \null \null \null \null
			\null \null \null \null \null \null \null
			\abs-fontsize #20 \Instrument
		}
	}
}

\bookpart { % Titelrückseite (oder "U2")
	\markup { \null }
	
	\paper {
		evenFooterMarkup = \markup \fill-line \abs-fontsize #12 { \Copyright }
	}
}

rit = \markup{\smaller\italic"ritard."}
atempo = \markup {\smaller\italic"a tempo"}


\bookpart { % vorher 1. Stück, jetzt 1. + 2. Stück
	\score {
		{
			<<
\clef "treble_8"
#(define RH rightHandFinger)
\set strokeFingerOrientations = #'(up)
\set fingeringOrientations = #'(left)
\set stringNumberOrientations = #'(up)
\override Staff.TimeSignature #'style = #'()

\relative c'{
             \set Staff.instrumentName=\markup{ \center-column 
               {\smaller\bold \line { \concat {6 \super a =}D }} }
             %1
             s2 r16 h ( c h) c8 d \time 3/4
             <f-1>4~ f16 e( f e) f8 g
             <c,-2>4~ c16 h( c h) c8 d
             <a-1>4~ a16 g( a g) a8 h \time 2/4
             %5
             s2 \time 3/4
             f'4~ f16 e f e f8 g
             <c,-1>4~ c16 h c h c8 d
             <a-1>4~ a16 g a g a8 h \time 2/4
             s2
             %10 %%%%%%%%%Platz zwischen den Stücken schaffen mit
             \once\override TextScript #'padding = #10
             s2 _\markup { ""} s2 s2 \bar "|."
             }               
\\
\set strokeFingerOrientations = #'(up)
\set fingeringOrientations = #'(left)
\set stringNumberOrientations = #'(up)
\override Script #'padding = #1.5 %Fermaten höher setzen
\relative e, { 
             %1          
             < d cis' fis g h d>2 ^\fermata \arpeggio d'4 \rest  r
             < d, a' d a'-2 h>2.
             < d a' es'-1 g>
             < f-\tweak #'Y-offset #-0.5 -2 a-0 d-0>
             %5
             < e h' fis'-3 h-4 >2
             < d a' d a'-2 c>2.
             < d a' e'-2 g>2.
             < f-2 c'-3 d-\tweak #'Y-offset #1 -0 >2.
             < d a' fis'-3 h-4 h-\tweak #'padding #-6 -0 e>2
             %10
             < d cis' fis g h e>4 < d~ a'~ fis'^~ h h^~ e^~>
             < d a' fis' h h e> < d cis' fis g h e>
             < d a' fis' h h e>2 ^\fermata 
                          
                             }
             
\\
\relative c' { \hideNotes s4 s2. s2. s2. s2. 
               \once \override Arpeggio #'padding = #0 
               \arpeggioBracket <e,, h'>2 \arpeggio
               \once \override Arpeggio #'padding = #2            
               \arpeggioBracket <c'' f> \arpeggio 
               }                  
>>
		}
	% } hier war vorher der \score-Block zu Ende
	
	\header { % steht jetzt innerhalb des \score-Blocks
		dedication = \Titel
		title = \markup \abs-fontsize #18 \medium {
			"1. Lena "
		}
                %subtitle = \markup \abs-fontsize #14 \medium \Untertitel
		%{
		composer = \markup \abs-fontsize #12 \right-column {
			\Komponist \Lebensdaten
		}
		%}
		opus = \markup \abs-fontsize #12 {
			\concat { \Opus "/1" }
		}
		piece = \markup \abs-fontsize #12 {
			"mäßig"
		}
	}
} % hier hört der \score-Block für das 1. Stück auf

%\bookpart { % 2. Stück	hier begann vorher der nächste \bookpart
	\score { % hier beginnt jetzt der 2. \score-Block
		<<
\set fingeringOrientations = #'(left)
\override Staff.TimeSignature #'style = #'()
\override Script #'padding = #1.5 %Fermaten höher setzen
\clef "treble_8"
\time 4/4
\relative c'{ 
            %1
            a4 a8 h c4 a
            <a c> 4. d8 e4 <c a>
            g'4. g8 f4 e
            d4. s8 s2
            %5
            a4 a8 h c4 a
            c4. d8 e4 <c g>
            <h g'>4. g'8 <f-1>4 e
            <f a,>4 g e2 \time 2/4
            s2 \time 4/4
            %10
            <g,-0 dis'-4>4. dis'8 d cis h4
            <d-4 g,-0>4. d8 <c-2> h a g
            a4 s4 e'2
            a,4-\rit s4 fis'2
            a,4 s4 g'2 \fermata \bar "|."
            }
                               
\\
\set fingeringOrientations = #'(left)
\relative c {
             %1          
             a8 e'~ e4 a,8 e'~ e4
             a,8 e' a4 a,8 e'~ e4
             c8 g' c4 c,8 g'~ g4
             g,8 d' g d' g,2
             %5
             a,8 e'~ e4 a,8 e'~ e4
             f,8 f' a4 c,8 e~ e4
             g,8 d' g4 g,8 d' g d
             f,8 f' a f e, e' g h
             e8 h g <d-0>
             %10
             gis,8 d' g4 <e,-0>4. d'8
             <fis,-1>8 d' g4 <f,-1> d'
             a8 e' a <h-0>~ h2
             a,8 e' a h~ h2
             a,8 e' a h~ 
                             }
                               
>>
	% } hier war vorher der 2. \score-Block zu Ende
	\header { % jetzt innerhalb des 2. \score-Blocks
		dedication = ##f % verhindert erneuten Werktitel
		title = \markup \abs-fontsize #18 \medium {
			"2. Sommergarten"
		}
                %subtitle = \markup \abs-fontsize #14 \medium \Untertitel
		%{
		composer = \markup \abs-fontsize #12 \right-column {
			\Komponist \Lebensdaten
		}
		%}
		opus = \markup \abs-fontsize #12 {
			\concat { \Opus "/2" }
		}
		piece = \markup \abs-fontsize #12 {
			"bewegt - ängstlich"
		}
	}
} % hier hört jetzt der 2. \score-Block auf
	
	\paper { % veranlasst die Ausgabe aller Titel
		print-all-headers = ##t
		before-title-space = 40\mm
	}
} % hier hört jetzt der gesamte \bookpart auf

\bookpart { % 3. Stück	
	\score {
		<<

#(define RH rightHandFinger)
\set strokeFingerOrientations = #'(up)
\set fingeringOrientations = #'(left)
\set stringNumberOrientations = #'(up)
\override Staff.TimeSignature #'style = #'()
\override Script #'padding = #1.5 %Fermaten höher setzen
\mergeDifferentlyHeadedOn
\mergeDifferentlyDottedOn
\relative c'{
             \clef "treble_8"
             \partial 2 r8 d16 cis c4
             r8 g' fis f h,16( c) h8 a4
             g8 a ais g~~ g4 ais8 a
             g16 a ais8 ais g g a gis4
             r4 r8 f e d h16( c) d8
             %5
             e8 fis e16 f g8 <a d,> h~~ h4 \bar "||" \time 2/4
             ais2->
             e,16 h'' ais cis, h' ais e gis' ^\accent \laissezVibrer 
             e,,16 h'' ais cis, h' ais e fis' ^\accent \laissezVibrer 
             e,,16 cis'' ais cis, cis' ais e e' ^\accent \laissezVibrer 
             %10
             e,,16 h'' ais cis, h' ais e e' ^\accent \laissezVibrer 
             e,,16 h'' ais cis, h' ais e h' ^\accent \laissezVibrer 
             fis,16 h' ais cis, h' ais <d,-0> gis' ^\accent \laissezVibrer 
             fis,,16 cis'' ais cis, cis' ais <e-1> fis' ^\accent \laissezVibrer 
             fis,,16 cis'' ais cis, cis' ais <fis-4> e' ^\accent \laissezVibrer 
             %15
             fis,,16 cis'' ais cis, cis' ais <fis-4> e' ^\accent \laissezVibrer 
             \set tieWaitForNote = ##t
             fis,,16_~ cis''-\rit  ais cis,_~ cis' ais~ fis_~ e'~ ^\accent  
             <e cis ais fis cis fis,>4. \fermata e16 \mark \markup { \italic \small "a tempo"} dis
             d8 c s4
             <h gis>2 \fermata \bar "|."
             
           }
                               
\\
\set fingeringOrientations = #'(left)
\relative c'{
             r4 r8 a
             %1
             gis4 a ais f8 e
             dis4 d f8 d cis4
             h4 ais a r8 \breathe c16 h
             a8 g f4 fis gis
             %5
             fis4 f g~ g
             e16 <cis'-\tweak #'Y-offset #1 -3> <ais'-2> <e-1> h' ais e e'^\accent ^\laissezVibrer
             e,,8. cis'8. e8
             e,8. cis'8. e8
             e,8. cis'8. e8
             %10
             e,8. cis'8. e8
             e,8. cis'8. e8
             fis,8. cis'8. d8
             fis,8. cis'8. e8
             fis,8. cis'8. fis8
             %15
             fis,8. cis'8. fis8
             fis,8. cis'8. fis8
             s4. r8
             r8 <d c'> <cis h'> \once \override Script #'padding = #3.5 <h \fermata h'>
             e,2 \fermata
             }
>>
		
		\layout {
                  %indent = 0
                  
		}
	}
	
	\header {
                dedication = \Titel
                title = \markup \abs-fontsize #18 \medium {
                        "3. Nummer 31"
                }
                %subtitle = \markup \abs-fontsize #14 \medium \Untertitel
                %{
                composer = \markup \abs-fontsize #12 \right-column {
                        \Komponist \Lebensdaten
                }
                %}
                opus = \markup \abs-fontsize #12 {
                        \concat { \Opus "/2" }
                }
                piece = \markup \abs-fontsize #12 {
                        "silbrig zerklimpert"
                }
	}
}