bug-lilypond
[Top][All Lists]
Advanced

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

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


From: José Luis Cruz
Subject: staff-container, some problems. Bar at beggining of line
Date: Sat, 27 Sep 2003 18:58:00 +0200

Hi, first of all, i'm not sure if this is a bug, or a 
feature-request/improvement.

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: test_probs.png
Description: PNG image

Attachment: pgpjEjcE9QxxH.pgp
Description: PGP signature


reply via email to

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