On Tue 25 Jul 2017 at 16:27:05 (+0200), Karol Majewski wrote:
> Sometimes you want to have two independent bars in one line:
> 
> {
> c'1 ^"example 1"
> d'1 \bar "||"
> \ottava #1 c''1 ^"example 2"
> d''1 \ottava #0 \bar "||"
> \ottava #1 c''1 ^"example 3"
> d''1 \ottava #0 \bar "||"
> 
> }
> 
> And here continuous ottava bracket looks stupid, doesn't it?
> 
> Is there more elegant way to break it? spacer rest does the job, but this
> solution is a bit artificial.

Well, so is the problem. Anyway,

{
c'1 ^"example 1"
d'1 \bar "||"
\ottava #1 c''1 ^"example 2"
d''1*1/2 \ottava #0 \hideNotes d''1*0 s1*1/2 \unHideNotes \bar "||"
\ottava #1 c''1 ^"example 3"
d''1 \ottava #0 \bar "||"

}

and then sort out the exact X placement.

Cheers,
David.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to