[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to color a repeat bar line?
From: |
James Lowe |
Subject: |
RE: how to color a repeat bar line? |
Date: |
Tue, 2 Aug 2011 23:55:18 +0000 |
Hello,
________________________________________
From: address@hidden address@hidden on behalf of Patrick Karl address@hidden
Sent: 03 August 2011 00:29
To: address@hidden
Subject: how to color a repeat bar line?
I would like to color the initial repeat bar line of a volta. I tried the
following:
\version "2.14.1"
\relative g' {
\repeat volta 2 { a b c d }
\break
\once \override Staff.BarLine #'color = #red
\repeat volta 2 { d c b a }
}
but this colors not only the initial bar line of the 2nd repeat, but also the
final bar line of the 1st repeat (which is an interesting interpretation of
"\once"). Is there a way to only color the initial bar line of the 2nd repeat?
---
Manual repeats?
\bar "|:"
I am guessing that the \once in the context of a volta 2 is correct. The volta
is a single 'entity' comprising of *both* repeat bars. So \once refers to the
volta 'set' not just the single bar instance. I could be wrong though :)
James