bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Divided parts


From: Mats Bengtsson
Subject: Re: Divided parts
Date: Wed, 28 Sep 2005 13:58:00 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

You have actually answered your own question (thanks, I wasn't aware of
the collapse-height property before). However, I don't know what the
default setting of this property is intended to do.  Since an ordinary stave
is 4 units high, you have to set this property larger than so, for example:

LilyPond hackers: Shouldn't the default value be 5, or did I miss the point
of the current default value?
(The default value for SystemStartBrace #'|collapse-height is 5)|

\score {
  \new StaffGroup {
      <<
          \partI
          \partII
      >>
  }

  \layout {
      indent = 0\cm
      \context {
          \RemoveEmptyStaffContext
          \override RemoveEmptyVerticalGroup #'remove-first = ##t
      }
     \context{
       \StaffGroup
       \override SystemStartBracket #'collapse-height = #5
     }
  }
}


  /Mats

Panteck wrote:

I'm writing a piece that has divided parts. My problem is that Lilypond is putting brackets around every line, not just the lines where the divisi occurs. I though that the SystemStartBracket.collapse-height property would take care of this for me automatically, but even when I try overriding the value, I still get the brackets. Does anyone have any suggestions on how I can get rid of the brackets on the single lines, but keep the brackets on the divisi line? I'm using Lilypond 2.7.10 on Windows native.

Thanks!

--Steven

partI = \new Voice {
   \clef bass
   a,4 b, c d e f g2 \break
   g4 ^\markup { "divis." } f e d c b, a,2 \break
   a,4 ^\markup { "tutti" } b, c d e f g2
}

partII = \new Voice {
   \clef bass
   R1*2/4*4
   a,4 b, c d e f g2
   R1*2/4*4
}

\score {
   \new StaffGroup {
       <<
           \partI
           \partII
       >>
   }

   \layout {
       indent = 0\cm
       \context {
           \RemoveEmptyStaffContext
           \override RemoveEmptyVerticalGroup #'remove-first = ##t
       }
   }
}

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]