lilypond-user
[Top][All Lists]
Advanced

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

Re: Alternative bars in the middle of measure


From: Pierre Perol-Schneider
Subject: Re: Alternative bars in the middle of measure
Date: Tue, 6 Sep 2016 19:02:26 +0200

With a double bar ?

... music
\altBracket "1."
music
\bar "||"
\altBracket "2."
music
\altBracketEnd


2016-09-06 18:36 GMT+02:00 Sven Axelsson <address@hidden>:
On 6 September 2016 at 18:27, Pierre Perol-Schneider <address@hiddencom> wrote:
Hi Sven,

try to put 'number instead of 'text in your code:

altBracket = #(define-music-function (parser location tag) (string?)
  #{ \set Score.repeatCommands = #(list (list 'volta (markup #:number tag))) #})

Cheers,
Pierre

D'oh! I feel stupid now. Yes, that is indeed much better. Maybe there should be a little bit of separation between the two volta brackets? Or not, I don't know what is recommended in this case.

Best,
Sven Axelsson

--
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.


reply via email to

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