2009/11/12 Jiri Zurek (Prague) <[email protected]>:
>
> Cheating from
> http://old.nabble.com/defining-custom-note-heads-td17430564.html#a17626150
> the older post I was able to define my own special noteHead, combining
> three glyphs together, calling it a tripleNote. It works perfectly in the
> default score size. However, when I resize the score to smaller one, the
> tripleNote is not scaled well - the third noteHead appears too far from the
> other noteHeads. I suspect this is because the offset values are hard coded
> into the tripleNote definition. Is there a way how to code these values
> proportionally to the score size instead?
If you use \concat, there's no need to mess around with \hspace:
tripleNote = {
\once \override NoteHead #'stencil =
#(lambda (grob)
(grob-interpret-markup grob
(markup #:concat (#:musicglyph "noteheads.s2"
#:musicglyph "noteheads.s2"
#:musicglyph "noteheads.s2"))))
}
Regards,
Neil
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user