lilypond-user
[Top][All Lists]
Advanced

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

Re: Percent-sign repeats for non-whole-measure patterns


From: Thomas Morley
Subject: Re: Percent-sign repeats for non-whole-measure patterns
Date: Sun, 7 May 2017 15:47:05 +0200



2017-05-05 19:20 GMT+02:00 Lukas-Fabian Moser <address@hidden>:
Is it possible to force Lilypond to use % as a repeat sign if the repeated section does not fill a whole measure?

\relative c' {
  \repeat percent 2 { c4 d }
  \repeat percent 2 { c4 d e f }
}

Here, the first repeat is a slash /, the second a percent sign %. I'd like to have a % sign in both instances (because the manuscript I'm preparing in a scientific context uses it that way).

Best
Lukas


Hi Lukas,

attached you'll find a customized rewrite of the RepeatSlash.stencil and a png of it.
It's further tweakable as you like, several comments inline.

If you always want _one_ slash, it's possible as well, search for the relevant comment.
Colors are done in layout only to distuingish between 'RepeatSlash' and 'PercentRepeat'


Ralph already pointed you to the NR, an example is included as well.

HTH,
  Harm

Attachment: percent-repeat-stencil.png
Description: PNG image

Attachment: percent-repeat-stencil.ly
Description: Text Data


reply via email to

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