Hi Stephan, You can try this way :
\override Score.SectionLabel.stencil = #(make-stencil-boxer 0.1 0.5 ly:text-interface::print) Simon Le sam. 1 avr. 2023 à 21:04, <[email protected]> a écrit : > Send lilypond-user mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/lilypond-user > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lilypond-user digest..." > > > Today's Topics: > > 1. Alternative beginnings (John Burt) > 2. Re: Alternative beginnings (David Kastrup) > 3. Re: Alternative beginnings (Jean Abou Samra) > 4. Re: Alternative beginnings (Jonathan Poulin) > 5. sectionLabel with box - global formatting (Stephan Schöll) > 6. LilyPond 2.25.3 (Jonas Hahnfeld) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 1 Apr 2023 12:05:19 -0400 > From: John Burt <[email protected]> > To: lilypond-user <[email protected]> > Subject: Alternative beginnings > Message-ID: > < > caaetda4ycbnq7_6hcef5w0fp4hdhsltdz6f2uxsuqxj_obn...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > I know how to use \repeat volta to produce alternative endings. I'm trying > to set a song in which the music for verses 2 and 3 is different from the > music for verse 1. Is there something like \repeat volta for alternative > beginnings? > thanks > John > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/lilypond-user/attachments/20230401/ac934b0c/attachment.htm > > > > ------------------------------ > > Message: 2 > Date: Sat, 01 Apr 2023 18:21:04 +0200 > From: David Kastrup <[email protected]> > To: John Burt <[email protected]> > Cc: lilypond-user <[email protected]> > Subject: Re: Alternative beginnings > Message-ID: <[email protected]> > Content-Type: text/plain > > John Burt <[email protected]> writes: > > > I know how to use \repeat volta to produce alternative endings. I'm > trying > > to set a song in which the music for verses 2 and 3 is different from the > > music for verse 1. Is there something like \repeat volta for alternative > > beginnings? > > Would > > { Verse 1 > \repeat volta 3 { chorus > \alternative { { verse 2 } > { verse 3 } > { final bar } } } } > > do the trick for you? > > > -- > David Kastrup > > > > ------------------------------ > > Message: 3 > Date: Sat, 01 Apr 2023 18:22:10 +0200 > From: Jean Abou Samra <[email protected]> > To: John Burt <[email protected]>, lilypond-user > <[email protected]> > Subject: Re: Alternative beginnings > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Le samedi 01 avril 2023 à 12:05 -0400, John Burt a écrit : > > > > I know how to use \repeat volta to produce alternative endings. I'm > trying to set a song in which the music for verses 2 and 3 is different > from the music for verse 1. Is there something like > > > \repeat volta for alternative beginnings? > > > Since version 2.24, `\alternative` is not limited to the end of a repeat. > You can use > > ``` > \version "2.24.1" > > { > \repeat volta 2 { > \alternative { > \volta 1 { > c'1 > } > \volta 2 { > d'1 > } > } > e'1 > } > } > ``` > > Note that the legacy syntax `\repeat volta x { ... } \alternative { ... }` > is not > encouraged anymore, the syntax `\repeat volta x { ... \alternative { ... } > }` is > preferred now. > > Best, > > Jean > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/lilypond-user/attachments/20230401/dfd8efbe/attachment.htm > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 228 bytes > Desc: This is a digitally signed message part > URL: < > https://lists.gnu.org/archive/html/lilypond-user/attachments/20230401/dfd8efbe/attachment.sig > > > > ------------------------------ > > Message: 4 > Date: Sat, 1 Apr 2023 14:03:23 -0400 > From: Jonathan Poulin <[email protected]> > To: John Burt <[email protected]> > Cc: lilypond-user <[email protected]> > Subject: Re: Alternative beginnings > Message-ID: > < > cagmz-a6wgmrrkjnggjszovdwpwc8ecrhqnekjjvamzoqty9...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Maybe, this is what you want to get. > > \version "2.24.1" > > { > a'1 > \repeat volta 3 { > b'1 > \alternative { > \volta 1 { > c'1 > } > \volta 2,3 { > d'1 > } > } > } > e'1 > } > > regards > Jonathan > > Le sam. 1 avr. 2023 à 12:22, Jean Abou Samra <[email protected]> a écrit > : > > > Le samedi 01 avril 2023 à 12:05 -0400, John Burt a écrit : > > > > I know how to use \repeat volta to produce alternative endings. I'm > trying > > to set a song in which the music for verses 2 and 3 is different from the > > music for verse 1. Is there something like > > \repeat volta for alternative beginnings? > > > > Since version 2.24, \alternative is not limited to the end of a repeat. > > You can use > > > > \version "2.24.1" > > > > { > > \repeat volta 2 { > > \alternative { > > \volta 1 { > > c'1 > > } > > \volta 2 { > > d'1 > > } > > } > > e'1 > > } > > } > > > > Note that the legacy syntax \repeat volta x { ... } \alternative { ... } > > is not encouraged anymore, the syntax \repeat volta x { ... \alternative > > { ... } } is preferred now. > > > > Best, > > > > Jean > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/lilypond-user/attachments/20230401/96b144dd/attachment.htm > > > > ------------------------------ > > Message: 5 > Date: Sat, 1 Apr 2023 21:02:10 +0200 > From: Stephan Schöll <[email protected]> > To: lilypond-user <[email protected]> > Subject: sectionLabel with box - global formatting > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Hi Ponders > > In earlier scores of mine I used > > /mark /markup { /box "Mark Label" } > > Now that I'm migrating (some of) those to /sectionLabel (yes, I can > simply replace /mark by /sectionLabel) I wonder how I could add the box > globally. I know that I could accomplish that with a substitution > function like > > sctLbl = > #(define-music-function > (label) > (markup?) > #{ > \sectionLabel \markup {\box #label } > #}) > > \relative c' { \sctLbl "Hello" c d e f } > > But my programmer's gut feeling tells me that a configuration approach > would be the preferred one. I guess the solution looks something like this > > \layout { > > \context { > > \Score > > \set Score.markFormatter = ... > > } > > } > > TIA > > Stephan > > > > > ------------------------------ > > Message: 6 > Date: Sat, 01 Apr 2023 21:03:30 +0200 > From: Jonas Hahnfeld <[email protected]> > To: [email protected], [email protected] > Subject: LilyPond 2.25.3 > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > We are happy to announce the release of LilyPond 2.25.3. This is termed > a development release, but these are usually reliable for testing new > features and recent bug fixes. However, if you require stability, we > recommend using version 2.24.1, the current stable release. > Please refer to the Installing section in the Learning Manual for > instructions how to set up the provided binaries: > https://lilypond.org/doc/v2.25/Documentation/learning/installing > > > P.S.: This is not an April Fool, but just an ordinary and boring > unstable release... > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 488 bytes > Desc: This is a digitally signed message part > URL: < > https://lists.gnu.org/archive/html/lilypond-user/attachments/20230401/b123a099/attachment.sig > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user > > > ------------------------------ > > End of lilypond-user Digest, Vol 245, Issue 2 > ********************************************* >
