lilypond-user
[Top][All Lists]
Advanced

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

Re: Text crescendi with hidden line and their position


From: Mats Bengtsson
Subject: Re: Text crescendi with hidden line and their position
Date: Tue, 11 Mar 2008 12:41:52 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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: address@hidden, 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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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