From c08423a7cdd7776deda1dd8c891e1caeb0fd0e96 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 20:09:45 +0000 Subject: [PATCH] lilypond-0.1.56 --- init/engraver.ly | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/init/engraver.ly b/init/engraver.ly index a1b51de4cb..427fb4c410 100644 --- a/init/engraver.ly +++ b/init/engraver.ly @@ -14,7 +14,25 @@ Staff = \translator { \consists "Staff_sym_engraver"; \consists "Collision_engraver"; \consists "Rest_collision_engraver"; - \consists "Separating_line_group_engraver"; + +%{ + Uncomment to get bar numbers on single staff systems: + + The Bar_number_engraver puts a number over a staff created + at the same level of hierarchy. This why you have to add it + here separately if you want to have numbers on single staff + systems: The Bar_number_engraver in Score_engraver will only + put numbers on bars that are Score ("system") wide. Such + bars are only created when the toplevel system has multiple + children-staffs. + +%} + %{ + + \consists "Bar_column_engraver"; + \consists "Bar_number_engraver"; +%} + \consists "Separating_line_group_engraver"; \consists "Line_group_engraver"; \accepts "Voice"; @@ -99,9 +117,11 @@ Score = \translator { \type Score_engraver; \consists "Timing_engraver"; - %\consists "Bar_column_engraver"; - %\consists "Bar_number_engraver"; - + % uncomment to bar numbers on a whoole system. +%{ + \consists "Bar_column_engraver"; + \consists "Bar_number_engraver"; +%} \consists "Span_score_bar_engraver"; \consists "Score_priority_engraver"; \consists "Priority_horizontal_align_engraver"; -- 2.39.2