Hi Simon

Thanks for your reply.

Jean had answered me way earlier already - fortunately with the same
solution ;-) Seems that you suffered from the delay that happens on the
list (server) from time to time (or: quite often).

Stephan

Am 02.04.2023 um 02:38 schrieb Simon Martineau:
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, <lilypond-user-requ...@gnu.org> a écrit :

    Send lilypond-user mailing list submissions to
    lilypond-user@gnu.org

    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
    lilypond-user-requ...@gnu.org

    You can reach the person managing the list at
    lilypond-user-ow...@gnu.org

    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 <b...@brandeis.edu>
    To: lilypond-user <lilypond-user@gnu.org>
    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 <d...@gnu.org>
    To: John Burt <b...@brandeis.edu>
    Cc: lilypond-user <lilypond-user@gnu.org>
    Subject: Re: Alternative beginnings
    Message-ID: <87bkk7d15b....@fencepost.gnu.org>
    Content-Type: text/plain

    John Burt <b...@brandeis.edu> 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 <j...@abou-samra.fr>
    To: John Burt <b...@brandeis.edu>, lilypond-user
            <lilypond-user@gnu.org>
    Subject: Re: Alternative beginnings
    Message-ID:
            <e4a13d5e432bbd62498d60fdc377dc5196e09b57.ca...@abou-samra.fr>
    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 <jopou...@gmail.com>
    To: John Burt <b...@brandeis.edu>
    Cc: lilypond-user <lilypond-user@gnu.org>
    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 <j...@abou-samra.fr>
    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 <mu...@gmx.ch>
    To: lilypond-user <lilypond-user@gnu.org>
    Subject: sectionLabel with box - global formatting
    Message-ID: <7e8b718d-8989-bfae-66ff-3c45ab29a...@gmx.ch>
    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 <hah...@hahnjo.de>
    To: lilypond-de...@gnu.org, lilypond-user@gnu.org
    Subject: LilyPond 2.25.3
    Message-ID: <11fcbca099f7345c0e3c3bbc2588daa050ed6cb6.ca...@hahnjo.de>
    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
    lilypond-user@gnu.org
    https://lists.gnu.org/mailman/listinfo/lilypond-user


    ------------------------------

    End of lilypond-user Digest, Vol 245, Issue 2
    *********************************************

Reply via email to