[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accidentals centred above notes
From: |
David Kastrup |
Subject: |
Re: Accidentals centred above notes |
Date: |
Thu, 07 Aug 2014 21:01:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Janek Warchoł <address@hidden> writes:
> 2014-08-07 14:16 GMT+02:00 David Kastrup <address@hidden>:
>> Richard Shann <address@hidden> writes:
>>
>>> the docs (
>>> http://www.lilypond.org/doc/v2.18/Documentation/internals/self_002dalignment_002dinterface
>>> ) say:
>>> "
>>> self-alignment-X (number)
>>>
>>> Specify alignment of an object. The value -1 means left aligned, 0
>>> centered, and 1 right-aligned in X direction. Other numerical values may
>>> also be specified.
>>> "
>>>
>>> which doesn't give much clue as to what the units are... (if I'm looking
>>> at the right thing)
>>
>> The units are pretty well-defined. -1 means left-aligned, 1 means right
>> aligned. So moving the entire width of the object from left edge to
>> right edge implies a difference of 2.
>>
>> So the unit is half the object width.
>
> However (in case you wondered) the unit of self-alignment-X in case of
> LyricTexts is half the difference between object's and notehead's
> witdths.
That sounds like reason enough to have a separate parent-alignment-X.
It makes the explanation for the total effect when parent-alignment-X is
set to follow self-alignment-X somewhat less awkward.
--
David Kastrup
- Accidentals centred above notes, Richard Shann, 2014/08/07
- Re: Accidentals centred above notes, Phil Holmes, 2014/08/07
- Re: Accidentals centred above notes, Janek Warchoł, 2014/08/07
- Re: Accidentals centred above notes, Richard Shann, 2014/08/10
- Re: Accidentals centred above notes, Janek Warchoł, 2014/08/10
- Re: Accidentals centred above notes, Richard Shann, 2014/08/11