|
From: | Simon Albrecht |
Subject: | Re: Once only custos |
Date: | Tue, 01 Apr 2014 16:11:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
Am 01.04.2014 09:43, schrieb Jacques Menu:
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 youHello 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.
\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
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.JM Le 31 mars 2014 à 23:06, Simon Albrecht <address@hidden> 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 address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-userYou 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
[Prev in Thread] | Current Thread | [Next in Thread] |