lilypond-user
[Top][All Lists]
Advanced

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

SystemStartBar on one-staff systems


From: Risto Vääräniemi
Subject: SystemStartBar on one-staff systems
Date: Mon, 15 Oct 2007 00:58:41 -0700 (PDT)

Dear All,

I'm trying to add a bar line to the beginning of a system with just one
staff. By default the line is missing but sometimes that looks a bit odd –
especially when the system starts with a bracket.
 
I think I found the recipe that should add the bar line. However, it's not
working I expected. In fact it's not working at all. :-)

I tried to modify the SystemStartBracket example provided by Reinhold
Kainhofer and added a new line to change the collapse-height of the
SystemStartBar. I wonder if this object is for creating bar lines or for
something else. Can anyone tell if there's something wrong in my example
code? The bracket appears all right but the bar line is missing.


-Risto


%%%%%% Snip start %%%%%%%%
\version "2.11.32"

sop = \relative c'' {
  c4 c c c 
}

\layout {
  \context {
    \ChoirStaff
    \override SystemStartBracket #'collapse-height = #1
    \override SystemStartBar #'collapse-height = #1
  }
}

\score{
  \context ChoirStaff <<
    \context Staff=soprano <<
      \sop
    >>
  >>
} 
%%%%%%%% End %%%%%%%%%

-- 
View this message in context: 
http://www.nabble.com/Adding---deleting-staves-on-the-fly-tf4194952.html#a13208347
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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