An alternative solution that doesn't require any trial and error to find
the
correct numbers:
sempp = #(make-dynamic-script (markup #:line( #:with-dimensions '(0 . 0)
'(0 . 0) #:right-align #:normal-text #:italic "sempre"
#:dynamic "pp")))
The disadvantage is that the collision avoidance mechanisms in version
2.11.x
will think that the "sempre" doesn't take any space, so you may get
collisions.
/Mats
Trevor Daniels wrote:
An alternative way, which keeps everything contained
in the dynamic script, is to pad the text so it comes
in the right place when centred, like this:
sempp = #(
make-dynamic-script (
markup #:line (
#:normal-text
#:italic "sempre"
#:dynamic "pp"
#:hspace 6
)
)
)
Trevor
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:lilypond-user-bounces+t.daniels=treda.co.u
[EMAIL PROTECTED] Behalf Of
Kieren MacMillan
Sent: 10 February 2008 15:25
To: Reinhold Kainhofer
Cc: LILYPOND Mailinglist
Subject: Re: Aligning "sempre pp" with "p"...
Hi Reinhold,
What I'm looking for is to align the pp of
"sempre pp" with the
note it is attached to.
\once \override DynamicText #'X-offset = #...
Hope this helps!
Kieren.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
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: [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