lilypond-user
[Top][All Lists]
Advanced

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

position of text


From: Stefan Thomas
Subject: position of text
Date: Sat, 29 Mar 2008 12:03:45 +0100

Dear lilypond-users,
in the below quoted example, I would like to have the epression "grosse Trommel" above the "weicher schlaegel". I tried it with changing the #'outside-staff-priority, but without success. How can I manage it?
Thanks for your help.
Stefan

%%%%% Begin %%%%%%
\version "2.11.42"
changeInstrument =
#(define-music-function (parser location string) (string?)
        (make-music
                'TextScriptEvent
                'direction UP
                'text (markup #:bold (#:box string))))
       
inst = #changeInstrument
trommel = { \override Staff.StaffSymbol #'line-count = 1 \override Staff.BarLine #'bar-size  = #3 }
grossetrommel = { \stopStaff \trommel \startStaff  \inst "große Trommel" }

\relative {  \clef percussion \grossetrommel \once \override TextScript #'outside-staff-priority = #0  c1   ^\markup {\italic {weicher schlägel}}
\grossetrommel \once \override TextScript #'outside-staff-priority = #200  c1   ^\markup {\italic {weicher schlägel}} }

%%%%%%%%% END%%%%%%%%%%%%%%

reply via email to

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