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 <dts_mari...@yahoo.com <mailto:dts_mari...@yahoo.com>>:

    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
    lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
    https://lists.gnu.org/mailman/listinfo/lilypond-user
    <https://lists.gnu.org/mailman/listinfo/lilypond-user>




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


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

Reply via email to