lilypond-user
[Top][All Lists]
Advanced

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

Re: How to restore default-stem-attachment with note-head-stencil-overri


From: Keith OHara
Subject: Re: How to restore default-stem-attachment with note-head-stencil-override?
Date: Wed, 18 Jul 2012 18:32:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Thomas Morley <thomasmorley65 <at> googlemail.com> writes:

> adding sth to a NoteHead-stencil via stencil-override returns a weird
> output with stemmed NoteHeads.
> 
> In the code below I added a box around the default-note-head and the
> stem is moving away.

stem-attachment is expressed as a fraction of the size of the note-head.
That would have been convenient if your NoteHead-stencil were a new
note-head, but in your case with the box you will need to tell LilyPond
what portion of the stencil is actually the notehead.  Probably the ratio
of your note-head width to the width of your box.




reply via email to

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