[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alternate endings without repeats
From: |
Thomas Morley |
Subject: |
Re: alternate endings without repeats |
Date: |
Tue, 13 Oct 2015 00:17:57 +0200 |
2015-10-12 23:45 GMT+02:00 Juraj <address@hidden>:
> http://thread.gmane.org/gmane.comp.gnu.lilypond.general/24012
>
> (8 years old) helped. But if there are news about, I'm interested in!
>
> Greetings
>
> Juro
Well, there is no convincing user-interface for it.
You can do:
voltaAdLib = \markup \normal-text { \fontsize #-1 what \italic ever }
\allowVoltaHook "|"
\relative {
c''1
\once \override Score.VoltaBracket.shorten-pair = #'(0 . 0.2)
%\set Score.repeatCommands = #(list(list 'volta voltaAdLib) 'start-repeat)
%\set Score.repeatCommands = #`(,`(volta ,voltaAdLib))
%\set Score.repeatCommands = #`(,`(volta ,#{ \markup \normal-text {
\fontsize #-1 what \italic ever } #}))
\set Score.repeatCommands = #`(,`(volta ,(markup #:normal-text
#:line (#:fontsize -1 "what" #:italic "ever"))))
c4 b d e
\once \override Score.VoltaBracket.shorten-pair = #'(0.2 . 0)
\set Score.repeatCommands = #'((volta #f) (volta ""))
f1
\set Score.repeatCommands = #'((volta #f))
}
I've wrote the command several times with different syntax ...
Also I added some other commands you may want to use.
HTH,
Harm