Am 01.04.2014 09:43, schrieb Jacques Menu:
Hello Simon,
With:
\layout { ragged-right = ##t }
\new Staff
\with {
\consists "Custos_engraver"
\override Custos.stencil = ##f
}
\relative c' {
g'1 \override Staff.Custos.style = #'mensural
\break
<d a' f'>1
b1
\once\override Staff.Custos.stencil = ##t
\break
<d a' f'>1
}
the custo doesn’t show up unfortunately.
Sorry, I should have tried it myself. If you read the log output Lily
generates, you see that ##t isn’t allowed as a value for Custos.stencil.
So, you can look it up in the Internals reference, section 3.1.32, and
look up the default value for the Custos stencil, which gives you
\once\override Staff.Custos.style = #ly:custos::print
and the output then is as desired.
(\once\revert was another idea I had, but \once and \revert don’t seem
to go together.)
Happy Lilyponding,
Simon
JM
Le 31 mars 2014 à 23:06, Simon Albrecht <simon.albre...@mail.de> a écrit :
Am 31.03.2014 16:15, schrieb Jacques Menu:
Hello,
I’d like to display a custo at the end of one line only to help, but not for
the whole score.
Couldn’t find an equivalent of:
\once\override Staff.Custos.style = #’mensural
though.
Thanks for the help!
Jacques Menu
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
You might try
\layout {
\context { \Staff
\consists "Custos_engraver"
\override Custos.stencil = ##f
}
}
and then turn the stencil on again by \once\override Staff.Custos.stencil = ##t
only in the particular place where you want it.
HTH,
Simon
PS. Please do remember to always cc the list again unless you want to
make a private remark; the info is then available to all.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user