bug-lilypond
[Top][All Lists]
Advanced

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

Re: staff-container, some problems. Bar at beggining of line


From: José Luis Cruz
Subject: Re: staff-container, some problems. Bar at beggining of line
Date: Sat, 27 Sep 2003 21:41:51 +0200

Oh, i didn't notice another error, that lilypond crashes when i put a
\midi {} line, so i can't get midi output. The error is this:


Interpreting music...warning: can't find or create `StaffContainer' called 
`uniqueContext2'


joseluis


> I looked at the example of staff-container.ly, for making 2 staffs separated 
> horizontally by a blank space.
> 
> I'm using lilypond 2.0 and this is the code for showing the "problems":
> 
> %---------------->8------------begin of ly----
> \paper  {linewidth = 455.244096\pt indent = 0}
> quarterSkip = #(make-nonevent-skip (ly:make-duration 2 0))
> \score  {
>     \notes \relative c'' 
>       \new StaffContainer {
>           <<  \new Staff { c4 d e f g a b c
>               c,1 d e f g a b c \bar "||" }
>           >>
>           \quarterSkip 
>           <<  \new Staff { f,4 e d c 
>               f,1 e d c \bar "|." }
>           >> 
>       }
> \paper {}
> }
> %----------------8<------------end of ly---------
> 
> The main problem using this method is a BAR that appears at the beggining of 
> the line, similar to that bar which joins two or more staffs, but with the 
> difference that there is only one line, and there is no need for that bar. 
> When there are more lines looks not very nice.
> 
> Another problem (maybe easier to solve) is that the measure is broken after 
> the blank space. If measure is 4/4, and fill it, seems to be too much, like 
> if the blank space occupies itself one quarter.
> 
> Another problem ;) is that the double bar is a bit shifted to the right, and 
> the second vertical bar is out off the staff.
> 
> 
> And you can look at the less important problem that i've found, if you 
> comment the line with "\quarterSkip" to remove the blank space. And this 
> maybe is related with the previous one. You notice that the double bar (\bar 
> "||") appears AFTER the new clef, and not BEFORE. :) But, that's not really 
> so important.
> 
> 
> thanks,
> joseluis
> 

Attachment: pgpwuBalZQPgX.pgp
Description: PGP signature


reply via email to

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