make cues configurable
This commit is contained in:
parent
41bd881014
commit
37ee497f89
@ -219,3 +219,15 @@ dottedExtender = {
|
||||
|
||||
melisOff = \set ignoreMelismata = ##t
|
||||
melisOn = \unset ignoreMelismata
|
||||
|
||||
cue =
|
||||
#(define-music-function (zahlen) (number-list?)
|
||||
#{
|
||||
\tag #'cues {
|
||||
\tweak self-alignment-X #LEFT
|
||||
\mark
|
||||
#(make-on-the-fly-markup
|
||||
(lambda (layout props m) (interpret-markup layout (prepend-alist-chain 'cues zahlen props) (ly:output-def-lookup layout 'cueMarkup)))
|
||||
(make-null-markup))
|
||||
}
|
||||
#})
|
@ -22,3 +22,13 @@ refStringWithNumbers = "Ref. ~a:"
|
||||
% hübsche Wiederholungszeichen für den Liedtext
|
||||
repStart = "𝄆"
|
||||
repStop = "𝄇"
|
||||
|
||||
\paper {
|
||||
cueMarkup = \markup {
|
||||
\italic
|
||||
#(make-on-the-fly-markup (lambda (layout props m)
|
||||
(interpret-markup layout props
|
||||
(string-join (map (lambda (n) (format #f "~@r." n)) (chain-assoc-get 'cues props)) ", ")))
|
||||
(make-null-markup))
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user