lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Once only custos


From: Simon Albrecht
Subject: Re: Once only custos
Date: Tue, 06 May 2014 19:27:15 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Bonsoir Jacques,

I don’t know why you altered the suggestion I sent you:
Am 06.05.2014 17:06, schrieb Jacques Menu:
Hello Simon,

Thanks for your answer.


With:

%%%%%%%%%%%%%
\version "2.18.1"

\layout {
ragged-right = ##t
\context { \Staff
\consists "Custos_engraver"
uncomment the following line
% \override Staff.Custos.stencil = ##f
}
}

\relative c' {
d1
b1
and replace style by stencil in the following line.
\once\override Staff.Custos.style = #ly:custos::print
\break
a1
\break
f1
}
%%%%%%%%%%%%%
Unfortunately, I just noticed that this doesn’t work as expected – the \once doesn’t seem to come into effect (Does anybody know why?).
But thus you simply write


\relative c' {

d1

b1

\revert Staff.Custos.stencil

\break

a1

\override Staff.Custos.stencil = ##f

\break

f1

}


and it works like expected.

HTH,
Simon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]