David Kastrup wrote
> Eluze <

> eluzew@

> > writes:
> 
>> he had to do this because overriding the circle-padding also increases
>> the
>> distance of the following object:
>>
>> \markup  \center-column { 
>>   \override #'(circle-padding . 0) \box  \concat { "xxx" \box \circle 3
>> "xxx" } 
>>   \override #'(circle-padding . 12) \box  \concat { "xxx" \box \circle 3
>> "xxx" } 
>> }
>>
>> hspace.png
>> <http://lilypond.1069038.n5.nabble.com/file/n136649/hspace.png>  
>>
>> is this intended? and why?
> 
> Well, as I explained \hspace special-cases negative distances by setting
> _both_ left and right border of the stencil to a negative value rather
> than just the right one.  So the padding sees the left border and pushes
> out.

now looking at \box with \pad-to-box:

using a negative value in the first of the horizontal pair of numbers draws
a box to the left of the boxed object, thus boxing what is already there,
and putting extra-space to the right - shouldn't the boxed object be treated
as a new object which is considered when calculating further spacing?

it seems all very confusing and not practically unusable!

shall I raise an issue to clarify all this?

Eluze





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/negative-values-for-hspace-don-t-work-anymore-tp136610p136659.html
Sent from the Bugs mailing list archive at Nabble.com.

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to