lilypond-user
[Top][All Lists]
Advanced

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

Re: Individual stencils in key signature


From: Lukas-Fabian Moser
Subject: Re: Individual stencils in key signature
Date: Tue, 2 Aug 2022 10:50:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

Hi Leo,

Am 02.08.22 um 09:48 schrieb Leo Correia de Verdier:
Is there any way to access the stencils of individual accidentals in a key 
signature?

The KeySignature stencil gets constructed by combining the individual accidental stencils into one stencil, as can be seen here:

\version "2.23.7"

{
  \override Staff.KeySignature.stencil =
  #(grob-transformer
    'stencil
    (lambda (grob stencil)
      (pretty-print (ly:stencil-expr stencil))
      stencil))
  \key as \minor
  as'4
}

But your question seems sounds like an xy problem (https://en.wikipedia.org/wiki/XY_problem): What do you want to achieve exactly?

Lukas




reply via email to

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