|
From: | Federico Bruni |
Subject: | RE: counter for voltas with no alternative endings? |
Date: | Tue, 19 Feb 2019 06:28:32 +0100 |
Il giorno lun 18 feb 2019 alle 20:06, Stig Brautaset <address@hidden> ha scritto:
Hi Federico, Well, I won't try to explain I understand how it works, but I was able to adapt it to something that gives me the result I want: \version "2.19.80" eight = \markup {8.} \repeat volta 8 { %% This numbers the repeat block. \set Score.repeatCommands = #(list(list 'volta eight) 'start-repeat) c1 | d | e | f | \set Score.repeatCommands = #'((volta #f)) } Regards, Stig Federico Bruni <address@hidden> writes:Are you sure it applies to your case? You said you did not have alternatives... See the simple workaround suggested in this issue: https://sourceforge.net/p/testlilyissues/issues/1409/ Il giorno dom 17 feb 2019 alle 0:41, Stig Brautaset <address@hidden> ha scritto:Thanks! I actually found that example earlier, but didn't realise thatit applied to my case... Thinking a bit about it I got it to work, however. Regards, Stig "Mark Stephen Mrotek" <address@hidden> writes:Stig Brautaset: Something like this fromhttp://lilypond.org/doc/v2.19/Documentation/notation/long-repeats?voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } } \relative { c''1 \set Score.repeatCommands = #(list(list 'volta voltaAdLib) 'start-repeat) c4 b d e\set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)f1 \set Score.repeatCommands = #'((volta #f)) } Mark -----Original Message----- From: lilypond-user [mailto:address@hidden On Behalf Of Stig Brautaset Sent: Saturday, February 16, 2019 1:52 PM To: address@hidden Subject: counter for voltas with no alternative endings? Hi,I'm trying to engrave some music that has 4 bars repeated 8 times.I can usea volta, but since there is no alternative ending it doesn't printthe number of repeats. Is there any way to force that to print?Here's a minimal example. The first volta doesn't print the numberofrepeats, the second does. Should I perhaps be using percent repeatsinstead...? ----8<----[ q2.ly ]----8<--------8<---- \version "2.19.80" \relative c' { \repeat volta 8 { c d } \repeat volta 8 { c } \alternative { d e } } ----8<--------8<--------8<--------8<---- The generated PDF is here:_______________________________________________ lilypond-user mailing list address@hidden https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |