]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/display-bracket-with-only-one-staff-in-a-system.ly
Merge branch 'master' into nested-bookparts
[lilypond.git] / input / lsr / display-bracket-with-only-one-staff-in-a-system.ly
index ce632161a6b5b87ae87d90f5596f65d070bbace6..4d488cd26c3ea831ddc596a010e155ae0432bea1 100644 (file)
@@ -1,44 +1,41 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.38"
-
+\version "2.11.57"
 \header {
-  lsrtags = "staff-notation, tweaks-and-overrides"
-
-  texidoc = "
-If there is only one staff in one of the staff types @code{ChoirStaff},
-@code{InnerChoirStaff}, @code{InnerStaffGroup} or @code{StaffGroup},
-the bracket and the starting bar line will not be displayed as standard
-behavior.  This can be changed by overriding the relevant properties,
-as demonstrated in this example.
-
-Note that in some contexts such as @code{PianoStaff} where the systems
-begin with a brace instead of a bracket, another property has to be
-set, as shown on the second system in the example. 
+  lsrtags = "staff-notation,tweaks-and-overrides"
+  texidoc = "If there is only one staff in one of the staff types
+@code{ChoirStaff}, @code{InnerChoirStaff}, @code{InnerStaffGroup}
+or @code{StaffGroup}, the bracket and the starting bar line will not
+be displayed as standard behavior.  This can be changed by overriding
+the relevant properties, as demonstrated in this example.
 
+Note that in contexts such as @code{PianoStaff} and @code{GrandStaff}
+where the systems begin with a brace instead of a bracket, another
+property has to be set, as shown on the second system in the example.
 "
   doctitle = "Display bracket with only one staff in a system"
 } % begin verbatim
+
 \markup \column {
   \score {
     \new StaffGroup <<
-    % Must be lower than your actual amount of staff lines
-    \override StaffGroup.SystemStartBracket #'collapse-height = #1
-    \override Score.SystemStartBar #'collapse-height = #1
-    \new Staff {
-      c'1
-    }
+      % Must be lower than the actual number of staff lines
+      \override StaffGroup.SystemStartBracket #'collapse-height = #1
+      \override Score.SystemStartBar #'collapse-height = #1
+      \new Staff {
+        c'1
+      }
     >>
-    \layout {ragged-right = ##t}
+    \layout { }
   }
   \score {
     \new PianoStaff <<
-    \override PianoStaff.SystemStartBrace #'collapse-height = #1
-    \override Score.SystemStartBar #'collapse-height = #1
-    \new Staff {
-      c'
-    }
-    >> 
-    \layout {ragged-right = ##t}
+      \override PianoStaff.SystemStartBrace #'collapse-height = #1
+      \override Score.SystemStartBar #'collapse-height = #1
+      \new Staff {
+        c'1
+      }
+    >>
+    \layout { }
   }
-} 
+}