lilypond-user
[Top][All Lists]
Advanced

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

Re: repeat bars in all staves except one


From: Thomas Morley
Subject: Re: repeat bars in all staves except one
Date: Thu, 18 Jun 2015 20:40:29 +0200

2015-06-17 20:07 GMT+02:00 Kieren MacMillan <address@hidden>:
> Hello all,
>
> In the following [minimal] snippet,
>
> \version "2.19"
>
> global = {
>   \time 4/4
>   s1
>   \repeat volta 1 { s1 }
> }
>
> \score {
>   <<
>     \new RhythmicStaff << \global { a1 a } >>
>     \new Staff << \global { c''1 c'' } >>
>   >>
> }
>
> I would like to have the RhythmicStaff *not* have repeat barlines, e.g., 
> maybe just “||” double bars.
> What’s the easiest way? I can’t seem to find the right incantation…
>
> Thanks,
> Kieren.



How about:

\version "2.19"

global = {
  \time 4/4
  s1
  \set RhythmicStaff.whichBar = "||"
  \repeat volta 1 { s1 }
}

\score {
  <<
    \new RhythmicStaff <<  \global { a1 a } >>
    \new Staff << \global { c''1 c'' } >>
  >>
}

At least it seems to work in the minimal example.


Cheers,
  Harm



reply via email to

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