Dear Wilbert,
many thanks!
It works also on version 2.11.34!
Wilbert Berendsen schrieb am 29.12.2007:
> wrote this, which works well in 2.11.36:
>
>changeInstrument =
>#(define-music-function (parser location string) (string?)
> (make-music
> 'TextScriptEvent
> 'direction UP
> 'text (markup #:bold (#:box string))))
>
>inst = #changeInstrument % a more convenient name
>
>{ c \inst "Horn" d e f }
>
>Write \inst "Name" (or \changeInstrument "Name") before the note the
>markup
>should be attached to.
>
>Of course you could also do:
>englishHorn = \markup \box \bold "English Horn"
>etc.
>
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user