Box around notes: Difference between revisions

mNo edit summary
Fix cropping problem
 
Line 1: Line 1:
This snippet demonstrates how to add boxes around/behind notes. Boxes are automatically sized.
This snippet demonstrates how to add boxes around/behind notes. Boxes are automatically sized.


<lilypond version="2.24">
<lilypond version="2.24" full>
#(define-event-class 'music-boxer-event 'span-event)
#(define-event-class 'music-boxer-event 'span-event)


Line 294: Line 294:
\score {
\score {
   \new Staff \melody
   \new Staff \melody
}
%% The following is only for display purposes only and can be removed
\paper {
  paper-height = 3.5\cm
  tagline = ##f
  indent = #0
}
}