|
From: | Lukas-Fabian Moser |
Subject: | Re: Modifying Stencil for Clef |
Date: | Fri, 22 Feb 2019 13:04:51 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
Am 22.02.19 um 12:49 schrieb Richard Shann:
I've been following up the idea of using markup as stencils: http://lilypond.org/doc/v2.18/Documentation/notation/modifying-stencils and have got it working for NoteHead and for Dots (which was my use- case). But trying to generalize to more layout objects I ran into trouble. This I expected would replace the change of clef with a "T" but it does not: \version "2.18.2" { c' \once \override ClefModifier.stencil = #ly:text-interface::print \once \override ClefModifier.text = \markup{T} \clef bass c' } Any ideas?
Clef modifiers are the numbers indicating transposition (ottava violin clef etc.).
Try: \version "2.18.2" { c' \once \override Staff.Clef.stencil = #ly:text-interface::print \once \override Staff.Clef.text = \markup{T} \clef bass c' } Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |