Box around notes: Difference between revisions

m I deleted the full keyword because, as far as I can tell, this snippet does not need to demonstrate page layout features.
Fix cropping problem
 
(One intermediate revision by one other user not shown)
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>
\version "2.19.15"
 
#(define-event-class 'music-boxer-event 'span-event)
#(define-event-class 'music-boxer-event 'span-event)


Line 296: 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
}
}