3 Commits

Author SHA1 Message Date
tux
5cb2152a87 new engraver for spacing in chordlyrics 2025-08-13 23:26:31 +04:00
f824b23311 fix updown syllable hyphens 2025-08-13 21:25:39 +02:00
5ef4ee78ae Zwischenrufe als stanzas 2025-08-12 00:14:52 +02:00

View File

@@ -198,8 +198,10 @@ updown =
(rest (substring word 1 (string-length word)))) (rest (substring word 1 (string-length word))))
#{ #{
\lyricmode { \lyricmode {
\tag #'up { \markup { #(string-append (string-capitalize first-char) rest) } } \markup {
\tag #'down { \markup { #(string-append (string-downcase first-char) rest) } } \tag #'up #(string-append (string-capitalize first-char) rest)
\tag #'down #(string-append (string-downcase first-char) rest)
}
} }
#})) #}))
@@ -235,3 +237,19 @@ cue =
(make-null-markup)) (make-null-markup))
} }
#}) #})
#(define-markup-command (ruf-style layout props text) (string?)
(interpret-markup layout props
(markup #:italic (string-append "(" text ")"))))
rufWithMarkup =
#(define-music-function (text) (markup?)
#{
\lyricmode {
\once \override StanzaNumber.font-series = #'normal
\once \override StanzaNumber.direction = 1
\set stanza = #text
}
#})
ruf =
#(define-music-function (text) (string?)
(rufWithMarkup (make-ruf-style-markup text)))