[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: custos at end of piece!
From: |
Mark Polesky |
Subject: |
Re: custos at end of piece! |
Date: |
Wed, 21 May 2014 13:50:20 -0700 (PDT) |
Andreas Stenberg wrote:
> Is there any easy way in version 2.18.2 to get a custos at
> the end of the (visible) notation in mensural or petrucci
> voice context?
I haven't checked 2.18.2, but this works in 2.19.5. It's a
total hack, but play around with it; it might ease your
situation.
Hope it helps.
- Mark
____________________________________________________________
makeCustos =
#(define-music-function
(parser location X-offset mus)
(number? ly:music?)
#{
\once \override NoteHead.X-extent = #'(0 . 0)
\once \override NoteHead.extra-offset = #(cons X-offset 0)
\once \override NoteHead.stencil = #ly:text-interface::print
\once \override NoteHead.text = \markup { \musicglyph
#"custodes.mensural.u1" }
#mus
#})
\score {
<<
\new MensuralVoice = "discantus" \relative c'' {
\hide Score.BarNumber {
c1\melisma bes a g\melismaEnd f\breve
\makeCustos 1.25 f1
}
}
\new Lyrics \lyricsto "discantus" {
San -- ctus
}
>>
\layout {
line-width = #80
}
}