[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Vertical edges on TextSpanners?
From: |
Mats Bengtsson |
Subject: |
Re: Vertical edges on TextSpanners? |
Date: |
Wed, 21 Mar 2007 22:33:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20061113 Debian/1.7.8-1sarge8 |
Please always tell what LilyPond version you use to
be sure to get a relevant answer.
If you use version 2.11.14 or earlier, you can do
\override TextSpanner #'edge-height = #'(0 . 1.2)
if you have a more recent 2.11 version, the solution is
a bit more complicate. The easiest way to figure out is
to specify a lower version number and use convert-ly
to update the syntax.
/Mats
Daniel Johnson wrote:
I was recently typesetting a Gershwin song with a very short (2-note) ottava
bracket, which needed the octavation text "8va bassa ad lib." This text is too
long for the bracket, so I considered reducing text size and using column
markup; but the Staff.octavation property takes text, not markup, and it doesn't
support font-size. Then I tried using a TextSpanner, but was unsuccessful in
getting the vertical edge at the end of the spanner. It seems that these
vertical edges are only supported for grobs that support the
horizontal-bracket-interface.
This is probably a stupid question, but is there any way of forcing the
TextSpanner to implement the horizontal-bracket-interface? I'm sure this would
involve overriding the stencil, which would be a daunting (if even possible)
task. Anyone have any ideas?
--Daniel
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================