]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/system-start-delimiter.cc
Fix issue 493
[lilypond.git] / lily / system-start-delimiter.cc
index 0d12490ff931c99e7dc4264c80bb65250474b6a9..1fe945693066d322f697381866644d92624587b8 100644 (file)
@@ -113,9 +113,7 @@ System_start_delimiter::print (SCM smob)
   SCM glyph_sym = me->get_property ("style");
   Real len = ext.length ();
   if (ext.is_empty ()
-      || (robust_scm2double (me->get_property ("collapse-height"), 0.0) >= ext.length ())
-      || (glyph_sym == ly_symbol2scm ("bar-line")
-         && non_empty_count <= 1))
+      || (robust_scm2double (me->get_property ("collapse-height"), 0.0) >= ext.length ()))
     {
       me->suicide ();
       return SCM_UNSPECIFIED;
@@ -175,8 +173,32 @@ System_start_delimiter::staff_brace (Grob *me, Real y)
 }
 
 ADD_INTERFACE (System_start_delimiter,
-              "The brace, bracket or bar in front of the system. "
-              ,
+              "The brace, bracket or bar in front of the system. The following "
+               "values for @code{style} are recognized:\n"
+               "\n"
+               "  @table @samp\n"
+               "    @item @code{bracket}\n"
+               "      A thick bracket, normally used to group similar\n"
+               "      instruments in a score.  Default for StaffGroup.\n"
+               "      SystemStartBracket use this style.\n"
+               "\n"
+               "    @item @code{brace}\n"
+               "      A \"piano style\" brace normally used for an instrument\n"
+               "      that use two staffs.  The default style for GrandStaff.\n"
+               "      SystemStartBrace use this style.\n"
+               "\n"
+               "    @item @code{bar-line}\n"
+               "      A simple line between the staffs in a score.  Default\n"
+               "      for staffs enclosed in << >>.\n"
+               "      SystemStartBar use this style.\n"
+               "\n"
+               "    @item @code{line-bracket}\n"
+               "      A simple square, normally used for subgrouping\n"
+               "      instruments in a score.\n"
+               "      SystemStartSquare use this style.\n"
+               "  @end table\n"
+               "\n"
+               "See also @file{input/regression/system-start-nesting.ly}. ",
 
               /* properties */
               "collapse-height "