Hi Urs, yes, I think you can't set the text. But you can redefine the \ottava function and still use the Staff.ottavation to do the work behind the scenes.
Here is my ottava function. It is extended to more than 2 octaves and has a custom text. I always wanted a true dotted line (round dots), but that's not so easy it seems. You asked for the line ending the bracket today. % define new ottava function with bold text and superscripts ottava = #(define-music-function (octave) (integer?) (_i "Set the octavation.") #{ #(make-music 'OttavaMusic 'ottava-number octave) \set Staff.ottavation = #(if (< octave -1) #{ \markup \concat { #(number->string (+ 1 (* -7 octave))) \fontsize #-2 "mb" } #} (if (= octave -1) #{ \markup \concat { "8" \fontsize #-2 "vb" } #} (if (= octave +0) #f (if (= octave +1) #{ \markup \concat { "8" \fontsize #-2 \translate-scaled #'(0 . 0.85) "va" } #} #{ \markup \concat { #(number->string (+ 1 (* 7 octave))) \fontsize #-2 \translate-scaled #'(0 . 0.85) "ma" } #} )))) #}) \layout { \override Score.OttavaBracket.font-series = #'bold } \relative { a \ottava 1 a'' a \ottava -1 a,, a \ottava 3 a'''' a } Cheers, Joram _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user