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?
% Lilypond begin \version "2.12.1" tripleNote = { \once \override NoteHead #'stencil = #ly:text-interface::print \once \override NoteHead #'text = #(markup #:combine #:musicglyph "noteheads.s2" #:halign 1 #:musicglyph "noteheads.s2" #:halign -0.1 #:musicglyph "noteheads.s2") } { \clef "G_8" \override Staff.Stem #'transparent = ##t \tripleNote g } \score { { \clef "G_8" \override Staff.Stem #'transparent = ##t \tripleNote g } \layout { #(layout-set-staff-size 15) \context { \Staff fontSize = #-4.7 \override VerticalAxisGroup #'minimum-Y-extent = #'(0 . 0) \override StaffSymbol #'staff-space = #(magstep -8) \override StaffSymbol #'thickness = #(magstep -4.5) } } } % Lilypond end -- View this message in context: http://old.nabble.com/Defining-custom-noteHead-scaling-problem-tp26315301p26315301.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user