lilypond-user
[Top][All Lists]
Advanced

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

Re: switcj of percussion staves


From: Mats Bengtsson
Subject: Re: switcj of percussion staves
Date: Mon, 12 May 2008 16:30:13 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

Quoting Stefan Thomas <address@hidden>:

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 <address@hidden>:

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" <
address@hidden>
To: "lilypond-user" <address@hidden>
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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>









reply via email to

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