Box around notes: Difference between revisions
Import snippet from LSR |
Fix cropping problem |
||
| (5 intermediate revisions by 3 users 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> | ||
#(define-event-class 'music-boxer-event 'span-event) | #(define-event-class 'music-boxer-event 'span-event) | ||
| Line 300: | 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 | |||
} | } | ||
| Line 320: | Line 321: | ||
[[Category:Scheme]] | [[Category:Scheme]] | ||
[[Category:Specific notation]] | [[Category:Specific notation]] | ||
[[Category:Snippet]] | |||