﻿% ŵ (UTF-8 test character: double-u circumflex)
% “ = 0147 (left formatted quote)
% ” = 0148 (right formatted quote)
% — = 0151 (dash)
% – = 0150 (shorter dash)
% © = 0169 (copyright symbol)
% ® = 0174 (registered copyright symbol)

\version "2.12.2"
#(ly:set-option 'point-and-click #f)

\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 = "Beneath This Sacred Roof"
    %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 3/4
    \key aes \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"
    Be -- neath this sa -- cred roof we meet
    To sing to Thee and pray,
    Our hearts at -- tuned to ho -- ly thoughts
    We wor -- ship here to -- day.
    The rich out -- poor -- ing of Thy love
    In spread -- ing waves be -- stow,
    That we may ear -- ly learn Thy word,
    And serve Thee here be -- low.
}
sopWordsTwo = \lyricmode
{
    \set stanza = "2. "
    Re -- move from us all world -- ly care,
    And fix our thoughts on Thee;
    De -- liv -- er us from sin -- ful hearts,
    From e -- vil set us free.
    Our fee -- ble lamps re -- new with oil
    And charge our souls a -- new
    With quick -- 'ning grac -- es from Thy throne,
    With light di -- vine -- ly true.
}
sopWordsThree = \lyricmode
{
    \set stanza = "3. "
}
sopWordsFour = \lyricmode
{
    \set stanza = "4. "
}
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 = 120
		\partial 4
		es'4 c''8 des'' c''4 bes'4 aes'8 g' aes'4 bes' c''8 des'' f'4 g' aes'2 \bar "" \break
		c''4 bes'8 c'' bes'4 aes' g'8 c'' bes'4 g' aes'8 g' f'4 g' es'2 \bar "" \break
		es'4 es'8 f' g'4 es'4 aes'8 bes' c''4 c'' es''8 c'' bes'4 aes' bes'2 \bar "" \break
		bes'4 es''8 c'' bes'4 aes' c''8 aes' f'4 es' f'8 bes' aes'4 g' aes'2
		\bar "|."
	    }

	    \new Voice = "altos"
	    {
		\voiceTwo
		es'4 es'8 f' es'4 des' c'8 c' c'4 des' es'8 f' des'4 des' c'2
		es'4 es'8 d'8 es'4 f' es'8 es' es'4 es' es'8 es' es'4 d' es'2
		es'4 es'8 d' des'4 des' c'8 des' es'4 es' es'8 es' f'4 f' es'2
		es'4 es'8 es' d'4 d' es'8 c' des'4 des' des'8 f' es'4 des' c'2
	    }

	    \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
		es4 aes8 aes aes4 g f8 e f4 g aes8 aes aes4 bes aes2
		aes4 bes8 aes g4 bes bes8 aes g4 bes aes8 bes aes4 aes g2
		g4 g8 bes bes4 g aes8 g aes4 aes aes8 aes aes4 aes g2
		g4 aes8 aes aes4 bes aes8 aes aes4 g aes8 des' c'4 bes aes2
	    }

	    \new Voice = "basses"
	    {
		\voiceFour
		es4 aes,8 des es4 es f8 c f4 es aes,8 des es4 es aes,2
		aes4 g8 f es4 d es8 es es4 es c8 bes, b,4 bes,4 es2
		es4 es8 bes, es4 es f8 es aes,4 aes, c8 c des4 d es2
		des4 c8 es f4 f es8 es es4 es des8 des es4 es aes,2
	    }
	>>
	\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: Susa Young Gates (1856–1933), 1919}
	\line{\italic Music: Brigham Cecil Gates (1887–1941), 1919}
	%\line{\italic Arrangement: }
	%\line{\italic {Words and Music:} }
	%\line{\italic {Tune Name:} }
	%\line{\italic {Poetic Meter:} }
	\line{\italic {Source: Relief Society Song Book,} 1919—no. 4}
    }
}