lilypond-user
[Top][All Lists]
Advanced

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

Re: how offsets and alignment works: an explanation


From: Nick Payne
Subject: Re: how offsets and alignment works: an explanation
Date: Sun, 24 Mar 2013 09:36:37 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4

On 24/03/13 03:56, Trevor Daniels wrote:
Hi Janek

This is explained very concisely and without examples in the NR, see
http://www.lilypond.org/doc/v2.17/Documentation/notation/aligning-objects

BTW, the text in that section ("an accidental can be repositioned vertically by setting Y-offset but any changes to X-offset have no effect.") reminds me that there is something odd with accidentals and setting Y-offset. A while ago I was having to nudge an acccidental vertically to avoid a collision with a note in another voice in single staff polyphony, and when I accidentally set a large value for Y-offset, I found that the accidental also moved in the X direction. Have a look at the output from the following. As the Y-offset gets larger, the change in positioning in the X direction gets larger as well. There's also something strange happening with the ledger lines, which are getting shorter as well.

\version "2.17.14"

\relative f'' {
  ais2 s
  \override Accidental.Y-offset = #0.5 ais s
  \override Accidental.Y-offset = #1.5 ais s
  \override Accidental.Y-offset = #2.5 ais s
}



reply via email to

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