Le mardi 28 mars 2023 à 18:24 +0000, Werner LEMBERG a écrit : > Thanks, this is good enough. I simply hide the note following the > custos – of course, the ideal solution would be that the custos is > really at the end of the staff line, and the extra note is just there > to indicate at which pitch the custos gets typeset.
This should do:
```
\version "2.25.2"
custos =
#(define-music-function (pos) (integer?)
#{
\new Bottom \with {
\consists
#(lambda (context)
(make-engraver
((process-music engraver)
(let ((custos (ly:engraver-make-grob engraver 'Custos '())))
(ly:grob-set-property! custos 'staff-position pos)))))
}
{ }
#})
\paper {
ragged-right = ##t
}
\new Staff \with {
\override StaffSymbol.break-align-symbols = #'(break-alignment)
}
{
c'1
\custos -5
}
```
signature.asc
Description: This is a digitally signed message part
