|
From: | Matevz Jekovec |
Subject: | Re: Rectangle around note head works |
Date: | Sat, 03 Apr 2004 09:43:02 +0200 |
User-agent: | Mozilla Thunderbird 0.5 (X11/20040321) |
Sure, it looks like this.address@hidden writes:Just to let you know, I used boxed-molecule.ly example and changed Stem to NoteHead and Stem::Print to Note_head::Print function. The rectangle was drawn around the note head then. Maybe someone could change or at least mention note head boxed-molecule in documentation (tips and tricks) as well (anyway, the rectangle around note head is used a bit more frequently than around the stem, don't you think).can you show an example? The stems are offset over here.
% Generated by lilypond-book % Options: [printfilename,texidoc,linewidth] \paper { linewidth = 160 \mm } \renameinput "boxed-molecule.ly" \version "2.1.34" \header { texidoc = "@cindex Boxed Stencil The @code{print-function} can be overridden to draw a box around an arbitrary grob. " } \score { \notes { \override NoteHead #'print-function = #(make-stencil-boxer 0.05 0.25 0.25 Note_head::print) c'1 c'2 c'4 c'8 \revert NoteHead #'print-function } \paper{raggedright = ##t} }
[Prev in Thread] | Current Thread | [Next in Thread] |