bug-lilypond
[Top][All Lists]
Advanced

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

Re: Changing volta number text


From: Kieren MacMillan
Subject: Re: Changing volta number text
Date: Tue, 18 May 2021 09:35:36 -0400

Hi Ralph,

> I think it would be helpful to either have a snippet that shows how to change 
> a "normal" volta number setup (i.e., change the numbers and/or add text), or 
> to add something to the documentation.

The documentation is accurate, if not entirely clear…  =)

This is what I got using 
<https://lilypond.org/doc/v2.21/Documentation/notation/long-repeats#manual-repeat-marks>:

%%%%%%%%%%
\version "2.21.0"
\include "english.ly"

test = {
  \time 3/4
  a'4 b' c' |
  b'4 c' d' |
  {
    {
      \set Score.repeatCommands = #'((volta "1., 3."))
      e'4 f' g' |
    }
    {
      \set Score.repeatCommands = #'(end-repeat (volta "2."))
      d'4 c' b' |
    }
    {
      \set Score.repeatCommands = #'(end-repeat (volta "4."))
      g'4 a' b' |
      \set Score.repeatCommands = #'((volta #f))
    }
  }
  c'1
}

\score {
  \test
}
%%%%%%%%%%%

Note that I deleted the \repeat volta command, but kept the bracketing of your 
\alternative block for readability.

Hope this helps!
Kieren.
________________________________

Kieren MacMillan, composer (he/him/his)
‣ website: www.kierenmacmillan.info
‣ email: kieren@kierenmacmillan.info




reply via email to

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