[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: 2.23.81 blank bar of new line between D.S. and coda
From: Paul Scott <waterhorse () ultrasw ! com>
Date: 2022-11-28 5:27:06
Message-ID: c42833c2-987e-fde8-2a84-907091512d43 () ultrasw ! com
[Download RAW message or body]
On 11/27/22 5:38 PM, Jean Abou Samra wrote:
>
>
> Le 25/11/2022 à 04:08, Paul Scott a écrit :
>> How do I add a totally blank bar (something like \stopStaff s1
>> \startStaff) between the D.S. and the Coda in the following example?
>>
>> Or a new line?
>>
>> \version "2.23.81"
>>
>> music = {
>> \repeat segno 2 {
>> c'1 1 1
>> \alternative{
>> \volta 2 \volta #'() {
>> \section
>> \sectionLabel "Coda"
>> }
>> }
>> c'1
>> \once \set Score.dalSegnoTextFormatter =
>> #(lambda (context repeat-count markups)
>> #{ \markup \column { "D.S." "Al Coda" "with Repeats" } #})
>> }
>> d'1 \bar "|."
>> }
>
>
> For me, this works:
>
> \version "2.23.81"
>
> {
> \repeat segno 2 {
> c'1 1 1
> \once \set Score.dalSegnoTextFormatter =
> #(lambda (context repeat-count markups)
> #{ \markup \column { "D.S." "Al Coda" "with Repeats" } #})
> }
> \stopStaff
> s1*4
> \startStaff
> \section
> \sectionLabel "Coda"
> d'1 \bar "|."
> }
>
>
Of course your code works fine. My real code has a repeat volta 2
\alternative ... before the D.S, which I hope to figure out myself.
> Note that this doesn't have your "c'1" before \once \set ...
> Was that one intended?
That was an incorrect attempt to get the rest of the structure that I need.
> The way you wrote it, the first
> note in the section marked "Coda" is actually already
> played the first time, and "D.S. Al Coda with Repeats"
> appears one measure after "Coda" (as is clear if you
> change \column { ... } to \column \right-align { ... } ).
Yes, I do know how to change stuff in the \markup { ... } to get what I
want.
Thank you very much,
Paul
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic