lilypond-user
[Top][All Lists]
Advanced

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

Re: Auto Place text after last beat of a Text Spanner


From: Simon Albrecht
Subject: Re: Auto Place text after last beat of a Text Spanner
Date: Fri, 16 Sep 2016 10:09:50 +0200

On 16.09.2016 07:49, Pierre Perol-Schneider wrote:
Hi Dimitris,

I think it was a typo:

Indeed, or rather I should have tested the codeā€¦
Sorry!


ot =
#(define-music-function (mus) (ly:music?)
  #{
    \ottava #1
    $mus
    \ottava #0
    <>^\markup \italic "loco"
  #})

Cheers,
Pierre


2016-09-16 1:19 GMT+02:00 dtsmarin <address@hidden <mailto:address@hidden>>:

    UPDATE:
    This worked for me. Thanks again!

    ottavaWithLoco =
    #(define-music-function (mus) (ly:music?)
      #{
    \set Staff.ottavation = #"8va"
        $mus
    \unset Staff.ottavation
        <>^\markup \italic "loco"
      #})

    HTH,
    Dimitris



    --
    View this message in context:
    
http://lilypond.1069038.n5.nabble.com/Auto-Place-text-after-last-beat-of-a-Text-Spanner-tp194592p194604.html
    
<http://lilypond.1069038.n5.nabble.com/Auto-Place-text-after-last-beat-of-a-Text-Spanner-tp194592p194604.html>
    Sent from the User mailing list archive at Nabble.com.

    _______________________________________________
    lilypond-user mailing list
    address@hidden <mailto:address@hidden>
    https://lists.gnu.org/mailman/listinfo/lilypond-user
    <https://lists.gnu.org/mailman/listinfo/lilypond-user>




_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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