Thanks, that works.

Knute Snortum
(via Gmail)

On Fri, May 15, 2015 at 11:29 AM, Kieren MacMillan <
[email protected]> wrote:

> Hi Knute,
>
> > In this snippet, there are "pieces" of the bar line left between the
> staves.  Is this a bug?
>
> No. You’ve only hidden the BarLine (which lives within the Staff), not the
> SpanBar (which lives between connected Staff contexts of a PianoStaff).
>
> Instead, use:
>
> notes = { c8 d e d e f | e f g f g a | }
> rh = \relative c'' \notes
> lh = \relative c \notes
>
> global = {
>   \key c \major
>   \time 6/8
> }
>
> \score {
>   \new PianoStaff <<
>     \new Staff {
>       \global
>       \clef treble
>       \rh
>     }
>     \new Staff {
>       \global
>       \clef bass
>       \lh
>     }
>   >>
>   \layout {
>     \context {
>       \Score
>       \hide BarLine
>       \hide SpanBar
>     }
>   }
> }
>
> Note also that I use the shortcut \hide, for convenience.  =)
>
> Hope this helps!
> Kieren.
> ________________________________
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: [email protected]
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to