lilypond-user
[Top][All Lists]
Advanced

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

Re: Modifying Stencil for Clef


From: Richard Shann
Subject: Re: Modifying Stencil for Clef
Date: Fri, 22 Feb 2019 11:59:27 +0000

On Fri, 2019-02-22 at 11:49 +0000, Richard Shann wrote:
> I've been following up the idea of using markup as stencils:
> 
> http://lilypond.org/doc/v2.18/Documentation/notation/modifying-stenci
> ls
> 
> 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
                    ^^^^^^^^^^^^

Sorry, this was my second attempt, my first used the Clef layout
object. But the result it the same

\version "2.18.2"
{ 
  c'
  \once \override Clef.stencil = #ly:text-interface::print 
  \once \override Clef.text = \markup{T}
  \clef bass 
  c'
}

Richard




reply via email to

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