From 347b0da5aae7914f671f1cfd7102b283c91b6e21 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 31 Jan 2020 13:36:07 +0100 Subject: Sommerpsalm: Strophen konfigurierbar --- Sommerpsalm/Sommerpsalm.ly | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/Sommerpsalm/Sommerpsalm.ly b/Sommerpsalm/Sommerpsalm.ly index 16ccf18..40312bf 100644 --- a/Sommerpsalm/Sommerpsalm.ly +++ b/Sommerpsalm/Sommerpsalm.ly @@ -3,8 +3,6 @@ include(artikulation.pre) include(stimmen.pre) include(texte.pre) -%spezifisch% - \pointAndClickOff \header { @@ -30,28 +28,28 @@ include(texte.pre) \new Staff << \new Voice = sopran { \global << \artikulationFrauen \melodieSopran >> } >> - \new Lyrics = textIf { } - \new Lyrics = textIIf { } - \new Lyrics = textIIIf { } + ifdef(`STR_1',\new Lyrics = textIf { }) + ifdef(`STR_2',\new Lyrics = textIIf { }) + ifdef(`STR_3',\new Lyrics = textIIIf { }) \new Staff << \new Voice = alt { \global << \artikulationFrauen \melodieAlt >> } >> \new Staff << \new Voice = tenor { \global \clef "G_8" << \artikulationMaenner \melodieTenor >> } >> - \new Lyrics = textIm { } - \new Lyrics = textIIm { } - \new Lyrics = textIIIm { } + ifdef(`STR_1',\new Lyrics = textIm { }) + ifdef(`STR_2',\new Lyrics = textIIm { }) + ifdef(`STR_3',\new Lyrics = textIIIm { }) \new Staff << \new Voice = bass { \global \clef "bass" << \artikulationMaenner \melodieBass >> } >> - \context Lyrics = textIf \lyricsto sopran { \textI } - \context Lyrics = textIIf \lyricsto sopran { \textII } - \context Lyrics = textIIIf \lyricsto sopran { \textIII } - \context Lyrics = textIm \lyricsto tenor { \textI } - \context Lyrics = textIIm \lyricsto tenor { \textII } - \context Lyrics = textIIIm \lyricsto tenor { \textIII } + ifdef(`STR_1',\context Lyrics = textIf \lyricsto sopran { \textI }) + ifdef(`STR_2',\context Lyrics = textIIf \lyricsto sopran { \textII }) + ifdef(`STR_3',\context Lyrics = textIIIf \lyricsto sopran { \textIII }) + ifdef(`STR_1',\context Lyrics = textIm \lyricsto tenor { \textI }) + ifdef(`STR_2',\context Lyrics = textIIm \lyricsto tenor { \textII }) + ifdef(`STR_3',\context Lyrics = textIIIm \lyricsto tenor { \textIII }) >> \layout { indent = #0 -- cgit v1.2.3-54-g00ecf