\version "2.18.2"


#(ly:set-option 'point-and-click #f)

%--------------------
% Maintainer: Sven Kaiser / e-mail: noten(at)oemsel.de
% schau_hin_dort_in_gethsemane_naegeli_sa-tb.ly
% 2017-01-08


\header {
    poet = "Text: Christoph Christian Sturm (1740 - 1786)"
    composer = \markup {"Melodie: Hans Georg Nägeli (1773 - 1836)"}
    title = "Schau hin, dort in Gethsemane"
%    subtitle = ""
  tagline = \markup { \tiny \italic"Diese Noten sind gemeinfrei  -  Rev. 1  -  Notensatzprogrammierung S. Kaiser mit http://lilypond.org   -   Notendownload: www.oemsel.de/noten" }
}

#(set-global-staff-size 16)


\paper {
    paper-width = 21.0\cm
    paper-height = 29.7\cm
    top-margin = 0.5\cm
    bottom-margin = 1.3\cm
    left-margin = 1.7\cm
    right-margin = 1.1\cm
    print-page-number = ##f
    ragged-bottom = ##t
    markup-system-spacing = #'((basic-distance . 16) (padding . 1) (stretchability . 0))
    system-system-spacing #'basic-distance = #25
    ragged-right = ##f
    ragged-last = ##f
    annotate-spacing = ##f
}

SopranVoice =  \relative as' {
    \clef "treble" \key as \major \time 4/2
    \override Rest.extra-offset = #'(0.0 . -2.0)
    \partial 2 as2 | % 2
    es'1 r2 as,2 | % 3
    c2 es2 des2 des2 | % 4
    c1 r2 des2 | % 5
    c2 g2 as2 es2 | % 6
    f2 des2 c2 es2 | % 7
    f2 f2 bes2 as2 | % 8
    g1 r2 f2 | % 9
    g2 f2 as2 g2 | 
    c2 bes2 g1 | % 11
    as1 as2 as2 | % 12
    as2 bes2 as2 es2 | % 13
    es1 \bar "|."
    }

AltoVoice =  \relative as' {
    \clef "treble" \key as \major \time 4/2
    \override Rest.extra-offset = #'(0.0 . -2.0)
    \partial 2 as2 | % 2
    g1 r2 es2 | % 3
    as2 ges2 f2 f2 | % 4
    es1 r2 es2 | % 5
    es2 des2 c2 es2 | % 6
    des2 as2 as2 c2 | % 7
    des2 des2 des2 c2 | % 8
    bes1 r2 d2 | % 9
    es2 d2 f2 es2 | 
    as2 -\markup{ \italic {,} } f2 es1 | % 11
    c1 c2 f2 | % 12
    es2 des2 c2 bes2 | % 13
    c1 \bar "|."
    }

TenorVoice =  \relative c' {
    \clef "treble_8" \key as \major \time 4/2
    \override Rest.extra-offset = #'(0.0 . -2.0)
    \partial 2 c2 | % 2
    bes1 r2 c2 | % 3
    es2 c2 des2 as2 | % 4
    as1 r2 g2 | % 5
    as2 bes2 as2 as2 | % 6
    as2 f2 es2 as2 | % 7
    as2 bes2 es,2 es2 | % 8
    es1 r2 bes'2 | % 9
    bes2 bes2 c2 c2 | 
    es2 d2 bes1 | % 11
    as1 as2 as2 | % 12
    as2 f2 es2 g2 | % 13
    as1 \bar "|."
    }
BassVoice =  \relative as {
    \clef "bass" \key as \major \time 4/2
    \override Rest.extra-offset = #'(0.0 . 2.0)
    \partial 2 as2     | % 2
    es1 r2 as2 | % 3
    as2 as,2 des2 des2 | % 4
    as1 r2 es'2 | % 5
    as2 es2 f2 c2 | % 6
    des2 des2 as2 as2 | % 7
    des2 bes2 g2 as2 | % 8
    es'1 r2 bes2 | % 9
    es2 bes2 f'2 c2 | 
    as2 bes2 es1 | % 11
    f1 es2 des2 | % 12
    c2 des2 es2 es2 | % 13
    as,1 \bar "|."
    }

LyricsOne =  \lyricmode {  \set stanza = "1."
    Schau hin, dort in Geth -- se -- ma -- ne, ringt 
    in der See -- le tiefs -- tem Weh der Herr in To -- des -- qual. O 
    sieh ihn wei -- nen, be -- ten, knien! Herb ist der Kelch, doch trinkt er ihn.}
LyricsTwo =  \lyricmode { \set stanza = "2."
    Schau hin, wie er -- den -- wärts ge -- bückt so
    hart und schwer den Heil -- gen drückt der Lei -- den Ü -- ber -- maß! Er -- 
    ge -- bungs -- voll doch hör ihn flehn: Nicht mein, dein Wil -- le soll ge -- schehn!}
LyricsThree =  \lyricmode { \set stanza = "3."
    Schau hin, wenn bei des Lei -- dens Schmerz dein
    mat -- tes, jam -- mer -- vol -- les
    Herz in Trä -- nen sich er -- gießt; Lern auch in bäng -- ster
    Näch -- te Graun, ihm, dei -- nem Herrn und Gott, ver -- traun!}


% The score definition
\score {
    <<
        \new ChoirStaff <<
            \new Staff \with { \consists "Ambitus_engraver"}
            <<
                \set Staff.instrumentName = "S"
                \context Staff << 
                    \context Voice = "SopranVoice" { \voiceOne \SopranVoice }
                    \new Lyrics \lyricsto "SopranVoice" \LyricsOne
                    \new Lyrics \lyricsto "SopranVoice" \LyricsTwo
                    \new Lyrics \lyricsto "SopranVoice" \LyricsThree
                    >>
                >>
            \new Staff \with { \consists "Ambitus_engraver"} 
            <<
                \set Staff.instrumentName = "A"
                \context Staff << 
                    \context Voice = "AltoVoice" { \voiceOne \AltoVoice }
                    \new Lyrics \lyricsto "AltoVoice" \LyricsOne
                    \new Lyrics \lyricsto "AltoVoice" \LyricsTwo
                    \new Lyrics \lyricsto "AltoVoice" \LyricsThree
                    >>
                >>
            \new Staff \with { \consists "Ambitus_engraver"}
            <<
                \set Staff.instrumentName = "T"
                \context Staff << 
                    \context Voice = "TenorVoice" { \voiceOne \TenorVoice }
                    \new Lyrics \lyricsto "TenorVoice" \LyricsOne
                    \new Lyrics \lyricsto "TenorVoice" \LyricsTwo
                    \new Lyrics \lyricsto "TenorVoice" \LyricsThree

                >>
                >>
            \new Staff \with { \consists "Ambitus_engraver"}
            <<
                \set Staff.instrumentName = "B"
                \context Staff << 
                    \context Voice = "BassVoice" { \voiceTwo \BassVoice }
                    \new Lyrics \lyricsto "BassVoice" \LyricsOne
                    \new Lyrics \lyricsto "BassVoice" \LyricsTwo
                    \new Lyrics \lyricsto "BassVoice" \LyricsThree

                >>
                >>
            >>
         >>
        \layout { 
            \context { \Score \override BarNumber.padding = #2.0 } 
            indent = #5
            \context { \Lyrics
                   \override VerticalAxisGroup.nonstaff-relatedstaff-spacing =
                    #'((basic-distance . 0)
                      (minimum-distance . 7)
                      (padding . 0)
                      (stretchability . 0))}
                }
        }       

\score {
<<
\new Voice = "Sopran" { \autoBeamOff \SopranVoice }
\new Voice = "Alto" { \autoBeamOff \AltoVoice }
\new Voice = "Tenor" { \autoBeamOff \TenorVoice }
\new Voice = "Bass" { \autoBeamOff \BassVoice }
>>
\midi { }
}