Janek Warchoł <janek.lilyp...@gmail.com> writes:

> 2014-08-07 14:16 GMT+02:00 David Kastrup <d...@gnu.org>:
>> Richard Shann <rich...@rshann.plus.com> 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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to