Quoting Stefan Thomas <[EMAIL PROTECTED]>:

Oh, many thanks!
I don't understand why, but it helped!!

Once you think about it, it's fairly logical that the line-positions
property overrides the line-count property, especially if you look at
some of the examples of line-positions provided in the manual.

   /Mats

2008/5/12 Trevor Daniels <[EMAIL PROTECTED]>:

Stefan

It seems that the #'line-positions setting remains in effect over a
\stopStaff \startStaff, and overrules #'line-count.  Include

 \override Staff.StaffSymbol #'line-positions = #'(0)

in trommel and it should then work.  Actually, if you specify
#'line-positions you don't need to specify #'line-count as well.

(Graham - might be worth getting the author of this section to check this
out (ie overruling line-count) and if this is correct add a note in the NR.)

Trevor

----- Original Message ----- From: "Stefan Thomas" <
[EMAIL PROTECTED]>
To: "lilypond-user" <[email protected]>
Sent: Monday, May 12, 2008 1:58 PM
Subject: switcj of percussion staves



 Dear lilypond-users,
> I have a problem, that's going to  drive me crazy at the moment!!
> Why can't I do a change of staff lines in the below quoted example?
>
> %%%%%% Begin %%%%%%
> trommel = { \override Staff.StaffSymbol #'line-count = 1 \override
> Staff.BarLine #'bar-size  = #3 }
>
> normalsystem = {\override Staff.StaffSymbol #'line-count = 5 \override
> Staff.BarLine #'bar-size  = #4 \override Staff.StaffSymbol
> #'line-positions
> = #'(-4 -2 0 2 4) }
>
> fragA = \relative {  \normalsystem c4\laissezVibrer r2. \break
> \stopStaff }
> fragB =  \relative {  \trommel \startStaff c8 c c c c2 }
>
> \score {
>
>   \new Staff { \clef "treble"   \fragA  \clef percussion \fragB }
>
>   }
> %%%% END %%%%%%%
>
>


--------------------------------------------------------------------------------


 _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>







_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to