Use proper score/book handler so scores inside a book work automatically
[orchestrallily.git] / oly_settings_instrument.ily
blobe2960cd2f0236daa40f1183b1c3c10903bf484f0
1 % lilypond settings for instrumental scores
2 % changes to the global score settings for single-instrument sheets
3 \include "orchestrallily/oly_settings_global.ily"
6 \paper {
7   ragged-bottom = ##f
8   ragged-last-bottom = ##f
9   % Allow line-breaks only at rests!
10   #(define page-breaking ly:page-turn-breaking)
11   % Prevent blank pages inside the score
12   blank-page-force = #100000
13   blank-after-score-page-force = #100000
15 \layout {
16   \context {  \Staff
17     % No instrument names, they are already in the title/header!
18     \remove "Instrument_name_engraver"
19   }
20   \context {
21     \RemoveEmptyStaffContext 
22     % No instrument names, they are already in the title/header! (Removing 
23     % the engraver only from the \Staff context is not sufficient!)
24     \remove "Instrument_name_engraver"
25   }
28 \layout {
29   \context { \Staff
30     \consists "Page_turn_engraver"
31     minimumPageTurnLength = #(ly:make-moment 9 8)
32   }