[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Markup spacing issue
From: |
David Kastrup |
Subject: |
Re: Markup spacing issue |
Date: |
Mon, 16 Sep 2013 11:29:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Noeck <address@hidden> writes:
> Hi,
>
> is this a bug or intended: The following code worked nicely in 2.16 but
> with the latest version, the two columns do not fill the whole page
> width (what I would expect from fill-line). The 2.17 docs have a similar
> example - I found no syntax change.
>
> \version "2.17.26" %"2.16.0"
>
> \markup \fill-line {
> \hspace #0.1 % shows no visible effect
> \column {
> "Trägt die schönsten bunten Schleifen,"
> }
> \hspace #0.1 % does not push the next column to the right
> \column {
> "Hat das Jahr genug vom Tanzen,"
> }
> \hspace #0.1
> }
>
> Is this a bug?
Well, partly it's a documentation problem, partly new behavior, partly
it may also be a bug. The problem is that previously, \hspace was
implemented as going forward by the stated amount minus a space width.
In combination with the following interword space (_iff_ there was an
interword space following, otherwise \hspace would go wrong), this
resulted in 0.1 amounts of space.
\fill-line stretches the interword space.
Now \hspace has been changed to only actually take the required space
and it is _not_ getting surrounded by word space. So there is less
opportunity for stretching. Now \fill-line is not yet doing everything
right anyway, and that's
<URL:http://code.google.com/p/lilypond/issues/detail?id=3504>. So there
will still be changes how the above works out. But it's not clear that
it will, or that it indeed should work exactly as before.
--
David Kastrup
Re: Markup spacing issue,
David Kastrup <=