Eluze <[email protected]> writes:

> David Kastrup wrote
>> Eluze &lt;
>
>> eluzew@
>
>> &gt; writes:
>> 
>>> should this be changed to /amount (positive number)/
>> 
>> I don't think so.  Instead LilyPond should be able to deal with
>> backspacing stencils.
>
> that would be even nicer!
>
> now coming back to the original topic where Phil wanted to make a correction
> to the distance of the text after the \circle:
>
> \markup { 
>     \override #'(circle-padding . 0.55) 
>     \fontsize #-2.5 { "tune " \circle 3 \hspace #-2 "to f #" } 
> }
>
> 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.

-- 
David Kastrup


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

Reply via email to