diff options
Diffstat (limited to 'layouts.ly')
-rw-r--r-- | layouts.ly | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/layouts.ly b/layouts.ly new file mode 100644 index 0000000..b382da2 --- /dev/null +++ b/layouts.ly @@ -0,0 +1,32 @@ +%% Two scores are needed to separately control MIDI and notation +%% output. +\score { + \unfoldRepeats { + << + \AllMusic + \new DrumStaff { \click } + >> + } + \midi {} +} + +\score { + %% Always unfold repeats in the big score. The individual parts can + %% have repeats as they wish. + \unfoldRepeats { \AllMusic } + \layout { + \context { + %% add the RemoveEmptyStaffContext that erases rest-only staves + \Staff \RemoveEmptyStaves + } + \context { + \Score + \numericTimeSignature + markFormatter = #format-mark-box-alphabet + %% Remove all-rest staves also in the first system + \override VerticalAxisGroup.remove-first = ##t + %% If only one non-empty staff in a system exists, still print the starting bar + \override SystemStartBar.collapse-height = #1 + } + } +} |