Also use context modifications stored in PieceInstrument*Modifications
[orchestrallily.git] / oly_settings_instrument.ily
blob8d49266d903ee86a6e8a75ffee009b30443fc94a
1 % lilypond settings for instrumental scores
2 % changes to the global score settings for single-instrument sheets
3 #(ly:set-option 'relative-includes #t)
4 \include "oly_settings_global.ily"
7 \paper {
8   ragged-bottom = ##f
9   ragged-last-bottom = ##f
10   % Allow line-breaks only at rests!
11   #(define page-breaking ly:page-turn-breaking)
12   % Prevent blank pages inside the score
13   blank-page-force = #100000
14   blank-after-score-page-force = #100000
15   left-margin = 1.5\cm
16   right-margin = 1.5\cm
17   line-width = 18\cm
20 \layout {
21   \context {  \Staff
22     % No instrument names, they are already in the title/header!
23     \remove "Instrument_name_engraver"
24   }
25   \context {  \StaffGroup
26     % No instrument names, they are already in the title/header!
27     \remove "Instrument_name_engraver"
28   }
29   \context {  \ChoirStaff
30     % No instrument names, they are already in the title/header!
31     \remove "Instrument_name_engraver"
32   }
33   \context {  \PianoStaff
34     % No instrument names, they are already in the title/header!
35     \remove "Instrument_name_engraver"
36   }
37   \context {
38     \RemoveEmptyStaffContext
39     % No instrument names, they are already in the title/header! (Removing
40     % the engraver only from the \Staff context is not sufficient!)
41     \remove "Instrument_name_engraver"
42   }
44   \context { \Staff
45     \consists "Page_turn_engraver"
46     minimumPageTurnLength = #(ly:make-moment 9 8)
47   }