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: Kieren MacMillan
Subject: Re: repeat bars in all staves except one
Date: Fri, 19 Jun 2015 09:37:47 -0400

Hi Harm,

> 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.

Indeed! This is the kind of elegant solution I thought might exist — thanks!

Unfortunately, it doesn’t work on my real-life score… though I’m sure that’s 
more to do with a failure in my code than in your solution. If there’s time 
after this engraving is out the door, I’ll debug and try to diagnose why your 
lovely solution doesn’t work on my real-life score.

All the best,
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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