lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving dynamics (with \dynamicsUp) to the left of the note


From: Trevor Daniels
Subject: Re: Moving dynamics (with \dynamicsUp) to the left of the note
Date: Tue, 27 May 2008 12:10:02 +0100

Yes, I thought of this soon after my last reply. One way is to set the Y-extent to 0, like this:

 \once \override DynamicText #'Y-extent = #'(0 . 0)

It then appears to have zero height and the staves move closer together.

Trevor

----- Original Message ----- From: "Reinhold Kainhofer" <address@hidden>
To: "Trevor Daniels" <address@hidden>
Cc: "LILYPOND Mailinglist" <address@hidden>
Sent: Tuesday, May 27, 2008 11:53 AM
Subject: Re: Moving dynamics (with \dynamicsUp) to the left of the note


Am Montag, 26. Mai 2008 schrieb Trevor Daniels:
Hi Reinhold

The only way to generate overlapping layout objects is with extra-offset,
AFAIK.  So for dynamics this will fix the positioning:

\once \override DynamicText #'extra-offset = #'(dx . dy)

Yes, that's what I was using initially anyway.
The problem with this is that the dynamic is only shifted after positioning
and staff spacing is done, so even if you shift the dynamics inside the
staff, the staff spacing will remain the same large spacing.

For an example, see the third line of the attached file (where I cut down the lyrics padding to a minimum as the first line shows), where there is really a
lot of unused space, which I really need to recover. In particular notice
that the second (with the dynamic above the staff) and the rhird line (with
the dynamic moved inside the staff so the staves could be moved closer
together without collisions) show exactly the same spacing, which is clear
from the documentation, because extra-offset is applied after layouting.

However, I want the staff spacing to take place after I have moved the
dynamics. Otherwise the lyrics staves are spaced much more than all the other staves and the page layout of my full score looks really ugly and runs afoul any layouting practice, which says that different groups of staves should be
spaced more than the staves inside a group, see e.g. Heussenstamm or Read.


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/






reply via email to

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