\version "2.16.1"

%% additional definitions required by the score:

#(ly:set-option 'point-and-click #f)

%--------------------
% Maintainer: Sven Kaiser / e-mail: noten(at)oemsel.de
% i_want_jesus_to_walk_with_me_hymnary-org_adapted-dk_s-a-t-b.ly
% 2013-08-31
\header {
    title ="I Want Jesus to Walk with Me"
    poet ="Text & tune: African-American spiritual"
    composer =\markup { \right-column { "Original arrangement by Hymnary.org" \line {\tiny "Adapted with the greatest respect and consideration by Doris M. Kaiser"}}}
    breakbefore = ##f
    tagline = \markup { \center-column {\line {\tiny "Intellectual property rights statement on Hymnary.org original score:"} \tiny  \italic "'This hymn is in the public domain. You may freely use this score for personal and congregational worship. If you reproduce the score, please credit Hymnary.org as the source.'" \line {\tiny "Rev. 1  -  Music engraving by Sven P. Kaiser with http://lilypond.org   -   Download: www.oemsel.de/noten" }}}
}

#(set-global-staff-size 14)
\paper {
    paper-width = 21.0\cm
    paper-height = 29.7\cm
    top-margin = 0.8\cm
    bottom-margin = 1.3\cm
    left-margin = 2\cm
    right-margin = 2\cm
    print-page-number = ##f
}

\layout {
    \context { \Score
        skipBars = ##t
        autoBeaming = ##f
        }
}

PartPOneVoiceOne =  \relative c' {
    % Dicke der Taktlinien
    \override Score.BarLine #'hair-thickness = #1.2
    % Dicke des dicken Striches (End-, Wiederholungstaktlinien
    \override Score.BarLine #'thick-thickness = #3.6
    \clef "treble" \key d \minor \time 4/4
    \overrideProperty #"Score.NonMusicalPaperColumn"
      #'line-break-system-details #'((Y-offset . 11) )
    \partial 2 \tieDashed d8~ d8 \tieSolid f4
    a2 a2 -\tweak #'Y-offset # 0.5 ~
    a4 d,4 f4 e4
    d1~
    d2 \tieDashed f8 -\tweak #'Y-offset # -0.5 ~ f8 \tieSolid a4 \break
    \overrideProperty #"Score.NonMusicalPaperColumn"
      #'line-break-system-details #'((Y-offset . 77.5) )
    c2 c2 -\tweak #'Y-offset # -0.5 ~
    c4 a4 d8([ c8]) a4 
    a1-\tweak #'Y-offset # 0.5 ~
    a4 r4 a4 cis4
    d2 d2 -\tweak #'Y-offset # 0.3 ~
    d4 d4.( c8) a4 \break
    \overrideProperty #"Score.NonMusicalPaperColumn"
      #'line-break-system-details #'((Y-offset . 146) )
    f2 d2~
    d4 d'4. c8 a4
    f2 d2~
    d4 d4 f4 e4
    d1~
    d2 \bar "|."
}

PartPOneVoiceOneLyricsOne =  \lyricmode {  \set stanza = "1."
    I want Je -- sus __ to walk with me, __ 
    I want Je -- sus __ to walk with me, __
    all a -- long my __ pil -- grim jour -- ney, __
    Lord, I want Je -- sus __ to walk with me. __ }
PartPOneVoiceOneLyricsTwo =  \lyricmode { \set stanza = "2."
    In my tri -- als, __ Lord, walk with me, __
    in my tri -- als, __ Lord, walk with me, __
    when my heart is __ al -- most break -- ing, __
    Lord, I want Je -- sus __ to walk with me. __ }
PartPOneVoiceOneLyricsThree =  \lyricmode { \set stanza = "3." 
    When_I'm in trou -- ble, __ Lord, walk with me __
    when_I'm in trou -- ble, __ Lord, walk with me __
    when my head is __ bowed, in sor -- row, __
    Lord, I want Je -- sus __ to walk with me. __ }

PartPTwoVoiceOne =  \relative c' {
    \clef "treble" \key d \minor \time 4/4
    \tieDashed d8~ d8 \tieSolid f4
    d2 cis2(
    d4) d4 cis4 cis4
    d2( c2
    d2) \tieDashed f8 -\tweak #'Y-offset # -0.5 ~ f8 \tieSolid a4
    f2 d4( e4
    f4) f4 f4 f4
    cis2( d2
    e2) a4 g4
    d2 d2
    g2 e2
    d2 d2
    d2 e4 e4
    d2 d2(
    bes4) bes4 cis4 cis4
    a2( bes2
    a2) \bar "|."
}

PartPTwoVoiceOneLyricsOne =  \lyricmode { \set stanza = "1."
    I want Je -- sus __ to walk with me, __
    I want Je -- sus __ to walk with me, __
    all a -- long my pil -- grim jour -- ney,
    Lord, I want Je -- sus __ to walk with me. __ }
PartPTwoVoiceOneLyricsTwo =  \lyricmode { \set stanza = "2."
    In my tri -- als, __ Lord, walk with me, __
    in my tri -- als, __ Lord, walk with me, __
    when my heart is al -- most break -- ing,
    Lord, I want Je -- sus __ to walk with me. __ }
PartPTwoVoiceOneLyricsThree =  \lyricmode { \set stanza = "3."
    When_I'm in trou -- ble, __ Lord, walk with me, __
    when_I'm in trou -- ble, __ Lord, walk with me, __
    when my head is bowed, in sor -- row,
    Lord, I want Je -- sus __ to walk with me. __ }

PartPThreeVoiceOne =  \relative c {
    \clef "treble_8" \key d \minor \time 4/4
    \tieDashed d8~ d8 \tieSolid f4
    f2 g2(
    a4) a4 g4 g4
    f2( e2
    f2) \tieDashed f8-\tweak #'Y-offset # -0.5 ~ f8 \tieSolid a4
    a2 bes2(
    c4) c4 a4 a4
    g2( f2
    g4 bes4) a4 g4
    f2 f2
    bes2 bes2
    a2 a2
    f2 g4 g4
    a2 f2 -\tweak #'Y-offset # -0.5 ~
    f4 f4 f4 g4
    f2( e2
    f2) \bar "|."
}

PartPThreeVoiceOneLyricsOne =  \lyricmode { \set stanza = "1."
    I want Je -- sus __ to walk with me, __
    I want Je -- sus __ to walk with me, __
    all a -- long my pil -- grim jour -- ney,
    Lord, I want Je -- sus __ to walk with me. __ }
PartPThreeVoiceOneLyricsTwo =  \lyricmode { \set stanza = "2."
    In my tri -- als, __ Lord, walk with me, __
    in my tri -- als, __ Lord, walk with me, __
    when my heart is al -- most break -- ing,
    Lord, I want Je -- sus __ to walk with me. __ }
PartPThreeVoiceOneLyricsThree =  \lyricmode { \set stanza = "3."
    When_I'm in trou -- ble, __ Lord, walk with me, __
    when_I'm in trou -- ble, __ Lord, walk with me, __
    when my head is bowed, in sor -- row,
    Lord, I want Je -- sus __ to walk with me. __ }

PartPFourVoiceOne =  \relative c {
    \clef "bass" \key d \minor \time 4/4
    \tieDashed d8~ d8 \tieSolid f4
    d2 e2(
    f4) f4 a,4 a4
    d2( a2
    d2) \tieDashed f8~ f8 \tieSolid a4
    f2 g2(
    a4) a4 f4 f4
    \once \override Slur
    #'control-points = #'((0.6 . 1.6) (2 . 2.5) (13 . 4.5) (18.1 . 0.6))
    e2( d2
    cis2) a4 a4
    d2 d2
    e2 c2
    d2 c2
    bes2 c4 c4
    d4( c4) bes4( a4
    g4) g4 a4 a4
    \once \override Slur
    #'control-points = #'((0.6 . 1.2) (2 . 3.5) (13 . 4.5) (19.6 . -2.0))
    d2( g,2 
    d2) \bar "|."
}

PartPFourVoiceOneLyricsOne =  \lyricmode { \set stanza = "1."
    I want Je -- sus __ to walk with me, __
    I want Je -- sus __ to walk with me, __
    all a -- long my pil -- grim jour -- ney,
    Lord, I want Je -- sus __ to walk with me. __ }
PartPFourVoiceOneLyricsTwo =  \lyricmode { \set stanza = "2."
    In my tri -- als, __ Lord, walk with me, __
    in my tri -- als, __ Lord, walk with me, __
    when my heart is al -- most break -- ing,
    Lord, I want Je -- sus __ to walk with me. __ }
PartPFourVoiceOneLyricsThree =  \lyricmode { \set stanza = "3."
    When_I'm in trou -- ble, __ Lord, walk with me, __
    when_I'm in trou -- ble, __ Lord, walk with me, __
    when my head is bowed, in sor -- row,
    Lord, I want Je -- sus __ to walk with me. __ }


% The score definition
\score {
    <<
        \new ChoirStaff \with { \override SpanBar #'transparent = ##t }
        <<
            \new Staff <<
                \set Staff.instrumentName = "Soprano"
                \context Staff << 
                    \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
                    \new Lyrics \lyricsto "PartPOneVoiceOne" \PartPOneVoiceOneLyricsOne
                    \new Lyrics \lyricsto "PartPOneVoiceOne" \PartPOneVoiceOneLyricsTwo
                    \new Lyrics \lyricsto "PartPOneVoiceOne" \PartPOneVoiceOneLyricsThree
                    >>
                >>
            \new Staff <<
                \set Staff.instrumentName = "Alto"
                \context Staff << 
                    \context Voice = "PartPTwoVoiceOne" { \PartPTwoVoiceOne }
                    \new Lyrics \lyricsto "PartPTwoVoiceOne" \PartPTwoVoiceOneLyricsOne
                    \new Lyrics \lyricsto "PartPTwoVoiceOne" \PartPTwoVoiceOneLyricsTwo
                    \new Lyrics \lyricsto "PartPTwoVoiceOne" \PartPTwoVoiceOneLyricsThree
                    >>
                >>
            \new Staff <<
                \set Staff.instrumentName = "Tenor"
                \context Staff << 
                    \context Voice = "PartPThreeVoiceOne" { \PartPThreeVoiceOne }
                    \new Lyrics \lyricsto "PartPThreeVoiceOne" \PartPThreeVoiceOneLyricsOne
                    \new Lyrics \lyricsto "PartPThreeVoiceOne" \PartPThreeVoiceOneLyricsTwo
                    \new Lyrics \lyricsto "PartPThreeVoiceOne" \PartPThreeVoiceOneLyricsThree
                    >>
                >>
            \new Staff <<
                \set Staff.instrumentName = "Bass"
                \context Staff << 
                    \context Voice = "PartPFourVoiceOne" { \PartPFourVoiceOne }
                    \new Lyrics \lyricsto "PartPFourVoiceOne" \PartPFourVoiceOneLyricsOne
                    \new Lyrics \lyricsto "PartPFourVoiceOne" \PartPFourVoiceOneLyricsTwo
                    \new Lyrics \lyricsto "PartPFourVoiceOne" \PartPFourVoiceOneLyricsThree
                    >>
                >>        
            >>       
      >>

       \layout { 
  	% Steuert die Höhe der Taktnummerierung über dem System        
        \context { \Score \override BarNumber #'padding = #2.0 } 
        % steuert die Einrückung des ersten Systems; Standardwert = automatisch eingerückt
        indent = #20
	% f (Standardwert) = letzte/s Zeile/System wird auf Zeilenlänge gestreckt
	%ragged-last = ##t

	% f (Standardwert) = alle Zeilen/Systeme werden auf Zeilenlänge gestreckt;
	% kann insbes. zur Kontrolle der ungesteckten Zeilenlängen verwendet werden
	%ragged-right = ##t
       }
}

\score {
  <<
    \new Voice = "Sopran" { \autoBeamOff \PartPOneVoiceOne }
    \new Voice = "Alt" { \autoBeamOff \PartPTwoVoiceOne }
    \new Voice = "Tenor" { \autoBeamOff \PartPThreeVoiceOne }
    \new Voice = "Bass" { \autoBeamOff \PartPFourVoiceOne }
  >>
  \midi {\context { \Score tempoWholesPerMinute = #(ly:make-moment 112 4) }}
}