lilypond-user
[Top][All Lists]
Advanced

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

Percent repeats and parallel voices


From: Menu Jacques
Subject: Percent repeats and parallel voices
Date: Mon, 22 May 2017 10:27:04 +0200

Hello folks,

How exactly does \repeat percent interact with voices? 

It seems that the percent displayed is a staff feature, so I tried to have more that one voice.

But in the example below, the color is not applied to the percent.

Thanks for your help!

JM



%%%%%%%%%%%%%%%%
\version "2.19.55"

\new Staff {

  \override PercentRepeat.color = #red
  \override DoublePercentRepeat.color = #yellow
  \override RepeatSlash.color = #cyan
  \override DoubleRepeatSlash.color = #green

  <>^"PercentRepeat, red"
  \repeat percent 2 {
    <c' e'>1
  }

  \break

  <<
    \new Voice {
      \voiceOne
      <>^"PercentRepeat, red"
      \repeat percent 2 {
        <c' e'>1
      }
    }

    \new Voice {
      \voiceTwo
      <>^"PercentRepeat, red"
      \repeat percent 2 {
        <d' f'>1
      }
    }
  >>

}
%%%%%%%%%%%%%%%%


reply via email to

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