% “ = U+201C (left formatted quote)
% ” = U+201D (right formatted quote)
% — = U+2014 (em dash)
% – = U+2013 (en dash)
% © = U+00A9 (copyright symbol)
% ® = U+00AE (registered copyright symbol)
% ℗ = U+2117 (published; phonorecord sign)
%<<{\voiceOne } \new Voice {\voiceTwo }>> \oneVoice

\version "2.12.3"
#(ly:set-option 'point-and-click #f)
%#(set-global-staff-size 15)

\paper
{
    indent = 0.0
    line-width = 185 \mm
    %between-system-space = 0.1 \mm
    %between-system-padding = #1
    %ragged-bottom = ##t
    %top-margin = 0.1 \mm
    %bottom-margin = 0.1 \mm
    %foot-separation = 0.1 \mm
    %head-separation = 0.1 \mm
    %before-title-space = 0.1 \mm
    %between-title-space = 0.1 \mm
    %after-title-space = 0.1 \mm
    %paper-height = 32 \cm
    %print-page-number = ##t
    %print-first-page-number = ##t
    %ragged-last-bottom
    %horizontal-shift
    %system-count
    %left-margin
    %paper-width
    %printallheaders
    %systemSeparatorMarkup
}

\header
{
    %dedication = ""
    title = "Fast ringa, arm och svag"
    %subtitle = ""
    %subsubtitle = ""
    % poet = \markup{ \italic Text: }
    % composer = \markup{ \italic Music: }
    %meter = ""
    %opus = ""
    %arranger = ""
    %instrument = ""
    %piece = \markup{\null \null \null \null \null \null \null \null \null \null \null \null \null \italic Slowly \null \null \null \null \null \note #"4" #1.0 = 70-100}
    %breakbefore
    %copyright = ""
    tagline = ""
}


global =
{
    \override Staff.TimeSignature #'style = #'()
    \time 4/4
    \key a \major
    \override Rest #'direction = #'0
    \override MultiMeasureRest #'staff-position = #0
}

sopWords = \lyricmode
{
    \override Score . LyricText #'font-size = #-1
    \override Score . LyricHyphen #'minimum-distance = #1
    \override Score . LyricSpace #'minimum-distance = #0.8
    % \override Score . LyricText #'font-name = #"Gentium"
    % \override Score . LyricText #'self-alignment-X = #-1
    \set stanza = "1. "
    %\set vocalName = "Men/Women/Unison/SATB"
    Fast rin -- ga, arm och svag,
    Så lyck -- lig är dock jag,
    Ty Her -- ren är min del,
    Jag e -- ger ho -- nom hel.
}
sopWordsTwo = \lyricmode
{
    \set stanza = "2. "
    Han är mitt lif, min frid
    I klar och mu -- len tid.
    Jag spi -- sar vid hans bord
    Det dy -- ra nå -- dens ord.
}
sopWordsThree = \lyricmode
{
    \set stanza = "3. "
    För -- loss -- ning i hans blod,
    Den skö -- na hel -- so -- flod,
    Jag e -- ger hvar -- je stund
    På nå -- dens fa -- sta grund.
}
sopWordsFour = \lyricmode
{
    \set stanza = "4. "
    Jag är hans mö -- das lön,
    Hans arf -- ve -- del så skön.
    Kan jag det ej för -- stå,
    Han sjelf dock sä -- ger så.
}
sopWordsFive = \lyricmode
{
    \set stanza = "5. "
}
sopWordsSix = \lyricmode
{
    \set stanza = "6. "
}
sopWordsSeven = \lyricmode
{
    \set stanza = "7. "
}
altoWords = \lyricmode
{

}
tenorWords = \lyricmode
{

}
bassWords = \lyricmode
{

}

\score
{
    %\transpose es' d'
    <<
    \new Staff
    <<
        %\set Score.midiInstrument = "Orchestral Strings"
        %\set Score.midiInstrument = "Choir Aahs"
        \new Voice = "sopranos"
        {
            \voiceOne
            \global
            %\override Score.MetronomeMark #'transparent = ##t
            \override Score.MetronomeMark #'stencil = ##f
            
            %\override HorizontalBracket #'direction = #UP
            %\override HorizontalBracket #'bracket-flare = #'(0 . 0)
            %put \startGroup and \stopGroup after notes to create analysis brackets
            
            %\override TextSpanner #'dash-period = #-1
            %\override TextSpanner #'bound-details #'left #'text = \markup{ \concat{\draw-line #'(0 . -1.0) \draw-line #'(1.0 . 0) }}
            %\override TextSpanner #'bound-details #'right #'text = \markup{ \concat{ \draw-line #'(1.0 . 0) \draw-line #'(0 . -1.0) }}
            %put \stopTextSpan \startTextSpan after notes for hymn-style piano introduction brackets; also consider \mark \markup{} for measure markup
            
            \tempo 4 = 90
            \partial 4
            e'4 cis''4. cis''8 b'4 cis'' a'2 r4 e'4 gis'4. fis'8 e'4 d' cis'2 r4 \bar "" \break
            cis'4 fis'4. gis'8 a'4 b' cis''2 r4 cis''4 a'4. b'8 fis'4 gis' a'2 r4
            \bar "|."
        }

        \new Voice = "altos"
        {
            \voiceTwo
            cis'4 e'4. e'8 d'4 e' cis'2 s4 e'4 e'4. d'8 cis'4 b a2 s4
            cis'4 cis'4. cis'8 cis'4 fis' eis'2 s4 eis'4 fis'4. fis'8 d'4 d' cis'2 s4
        }

        \new Lyrics = sopranos { s1 }
        \new Lyrics = sopranosTwo { s1 }
        \new Lyrics = sopranosThree { s1 }
        \new Lyrics = sopranosFour { s1 }
        %\new Lyrics = sopranosFive { s1 }
        %\new Lyrics = sopranosSix { s1 }
        %\new Lyrics = sopranosSeven { s1 }
        %\new Lyrics = altos { s1 }
        %\new Lyrics = tenors { s1 }
        %\new Lyrics = basses { s1 }
    >>


    \new Staff
    <<
        \clef bass
        \new Voice = "tenors"
        {
            \voiceThree
            \global
            a4 a4. a8 a4 a a2 r4 a4 b4. gis8 a4 e e2 r4
            a4 a4. b8 a4 gis4 gis2 r4 cis'4 cis'4. d'8 b4 e e2 r4
        }

        \new Voice = "basses"
        {
            \voiceFour
            a,4 a,4. a,8 a,4 a, a,2 s4 cis4 e4. e8 e4 e a,2 s4
            a4 fis4. fis8 fis4 d4 cis2 s4 cis4 fis4. d8 e4 e a,2 s4
        }
    >>
    \context Lyrics = sopranos \lyricsto sopranos \sopWords
    \context Lyrics = sopranosTwo \lyricsto sopranos \sopWordsTwo
    \context Lyrics = sopranosThree \lyricsto sopranos \sopWordsThree
    \context Lyrics = sopranosFour \lyricsto sopranos \sopWordsFour
    %\context Lyrics = sopranosFive \lyricsto sopranos \sopWordsFive
    %\context Lyrics = sopranosSix \lyricsto sopranos \sopWordsSix
    %\context Lyrics = sopranosSeven \lyricsto sopranos \sopWordsSeven
    %\context Lyrics = altos \lyricsto altos \altoWords
    %\context Lyrics = tenors \lyricsto tenors \tenorWords
    %\context Lyrics = basses \lyricsto basses \bassWords
    >>
    
    \midi { }
    \layout
    {    
    \context
    {
        \Lyrics
        \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0)
    }
    \context
    {
        \Voice
        \consists "Horizontal_bracket_engraver"
    }
    }
}

\markup
{
    \column
    {
    %\line{\italic Text: }
    %\line{\italic Musik: }
    \line{\italic {Text och Musik:} N. Frykman}
    \line{\italic Källa: \italic Jubelklangen, 1896 (nr 95)}
    \line{\italic {Kla. 3:24}}
    }
}