lilypond-user
[Top][All Lists]
Advanced

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

Re: help with moving dynamic marks needed


From: Vicente Solsona
Subject: Re: help with moving dynamic marks needed
Date: Mon, 18 Oct 2010 20:53:02 +0200
User-agent: Opera Mail/10.63 (Linux)

On Mon, 18 Oct 2010 12:43:18 +0200, James <address@hidden> wrote:
On 18/10/2010 06:21, Xavier Scheuer wrote:
2010/10/18 Janek Warchoł<address@hidden>:
I've tried doing some things described here, but i don't understand them
well enough and it didn't work like i wanted :(

The reason is that while the previous example in the documentation *does* move the symbol around, it doesn't actually change the spacing algorithm, and the spacing is still calculated 'as if' the symbol was where it originally was before you tried to move it.

The '\tweak' does cause the symbol to be moved as well but the spacing is calculated based on the final location of where the symbol ends up not where it was to start with.

This was why (as Janek pointed out) the example has been changed in a later 2.13.x version of the documentation and will also be in the forthcoming 2.14.

James

exactly. and this is precisely the usefulness of extra-offset IMO, just that it was used in the wrong example :).

What is the most elegant solution for moving the dynamic marks in such a way
that LilyPond could calculate vertical system spacing with knowledge that
dynamics are moved?

Janek, note that this line in your code raises an error:

fis4 d4 d'4-> \tweak #'extra-offset #'( 2 . 4) ^\f d4->

extra-offset does not affect spacing and can't be "tweaked" afaik (you'd have to \override it to work); in your case, you have to tweak X-offset and Y-offset, which actually do affect spacing:

fis4 d4 d'4->-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 ^\f d4-> |

HTH.

greetings,

Vicente




reply via email to

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