lilypond-devel
[Top][All Lists]
Advanced

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

Raising text-spanner ...


From: Heikki Johannes Junes
Subject: Raising text-spanner ...
Date: Fri, 23 Aug 2002 19:07:38 +0300 (EET DST)

Is it possible to raise a text spanner? At least in
"text-spanner-interface" there is not a "raise" -option or similar. I need
to raise the textspanners since the finger numbers of the guitar music are
engraved often under the textspanner.

OTOH, I tried to increase "edge-height". It worked to some extent, but
better would be to raise the spanner itself.

Oh, it is easier to include an example also .. here it comes ..

% Version 1.7.0
% IDEA: put text-spanner above notes and texts
% Bug:  the text-spanner and numbers overlap

\score {
   \notes \relative c'' {
       \voiceOne
       \property Voice.TextSpanner \set #'edge-height = #'(0 . 1.5)
       \property Voice.TextSpanner \set #'edge-text = #'("CII" . "")
       c^2 \spanrequest \start "text" d^3 \spanrequest \stop "text"
   }
   \paper {  }
}

Maybe it is not a bug. It is not just clear to me how to avoid this
overlapping.

      Heikki Junes





reply via email to

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