Compare commits
2 Commits
e17c544763
...
c4bfc17b89
Author | SHA1 | Date | |
---|---|---|---|
c4bfc17b89 | |||
e388559f23 |
@ -72,6 +72,7 @@ textp = \lyricmode { \markup { \raise #1 \musicglyph #"rests.3" } }
|
|||||||
% zweite Stimme alles grau
|
% zweite Stimme alles grau
|
||||||
secondVoiceStyle = {
|
secondVoiceStyle = {
|
||||||
\override NoteHead.color = #grey
|
\override NoteHead.color = #grey
|
||||||
|
\override Dots.color = #grey
|
||||||
\override Stem.color = #grey
|
\override Stem.color = #grey
|
||||||
\override Flag.color = #grey
|
\override Flag.color = #grey
|
||||||
\override Beam.color = #grey
|
\override Beam.color = #grey
|
||||||
@ -79,6 +80,7 @@ secondVoiceStyle = {
|
|||||||
|
|
||||||
firstVoiceStyle = {
|
firstVoiceStyle = {
|
||||||
\override NoteHead.color = #black
|
\override NoteHead.color = #black
|
||||||
|
\override Dots.color = #black
|
||||||
\override Stem.color = #black
|
\override Stem.color = #black
|
||||||
\override Flag.color = #black
|
\override Flag.color = #black
|
||||||
\override Beam.color = #black
|
\override Beam.color = #black
|
||||||
@ -93,8 +95,16 @@ schwarzkopf =
|
|||||||
\override NoteHead.color = #grey
|
\override NoteHead.color = #grey
|
||||||
#})
|
#})
|
||||||
|
|
||||||
|
romanStanza =
|
||||||
|
#(define-music-function (parser location) ()
|
||||||
|
#{ \override StanzaNumber.style = #'roman #})
|
||||||
|
|
||||||
stanza =
|
stanza =
|
||||||
#(define-music-function (parser location stanzanumber) (number?)
|
#(define-music-function (parser location stanzanumber) (number?)
|
||||||
#{ \set stanza = #(ly:format stanzaFormat stanzanumber) #})
|
(make-apply-context
|
||||||
|
(lambda (context)
|
||||||
|
(let* ((stanzastyle (ly:assoc-get 'style (ly:context-grob-definition context 'StanzaNumber)))
|
||||||
|
(formattedStanzaNumber (format #f (if (eq? stanzastyle 'roman) romanStanzaFormat stanzaFormat) stanzanumber)))
|
||||||
|
(ly:context-set-property! context 'stanza formattedStanzaNumber)))))
|
||||||
|
|
||||||
ref = { \set stanza = \refString }
|
ref = { \set stanza = \refString }
|
||||||
|
@ -15,6 +15,7 @@ songTocColumns = 3
|
|||||||
globalSize = 15
|
globalSize = 15
|
||||||
lyricSize = 1.6
|
lyricSize = 1.6
|
||||||
stanzaFormat = "~a."
|
stanzaFormat = "~a."
|
||||||
|
romanStanzaFormat = "~@r."
|
||||||
refString = "Ref.:"
|
refString = "Ref.:"
|
||||||
% hübsche Wiederholungszeichen für den Liedtext
|
% hübsche Wiederholungszeichen für den Liedtext
|
||||||
repStart = "𝄆"
|
repStart = "𝄆"
|
||||||
|
Loading…
Reference in New Issue
Block a user