How about:
\version "2.10.0"
\relative {
\setTextCresc
\once \override DynamicTextSpanner #'stencil = #ly:text-interface::print
c \< d e f \!
}
/Mats
Reinhold Kainhofer wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Dienstag, 11. März 2008 schrieb Neil Puttock:
Hi Reinhold,
Is there any way to achieve a position of the "cresc." directly at the
staff (except for using ordinary markup text, which does not work e.g. in
midi (and also breaks if/when Lilypond one day gets a MusicXML backend)?
Vertical positioning of this is done by the DynamicLineSpanner object,
so all you need to do is override its Y-offset property:
\once \override DynamicLineSpanner #'Y-offset = #0
Thanks for the hint, but the problem is that this would need to be set
manually for every spanner (and I have ~250 in one score and ~300 in the
other!). Besides, these spanners also align a \p that is right at the end of
the spanner and also a possible bar number... (See my second example).
So, basically, I'm looking for a way to force the text crescendo not to create
a spanner object at all (which will have side-effects on the position of
several other items), but just print the text.
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH1crYTqjEwhXvPN0RAmdTAJ4xudeZsYSXjv4GdbKrnQ0E2tP2AQCgya5D
DA+g+/jIHAds+RxyChdVPI0=
=L0P8
-----END PGP SIGNATURE-----
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user