]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3860: Add command \justify-line
authorDavid Nalesnik <david.nalesnik@gmail.com>
Fri, 21 Feb 2014 00:15:47 +0000 (18:15 -0600)
committerDavid Nalesnik <david.nalesnik@gmail.com>
Wed, 26 Feb 2014 14:59:59 +0000 (08:59 -0600)
commitd3e856b31301bc6e67a13118ad432d22897d9f8b
treeaa31bafade0276f532dd7b9880a0afddd4416fa9
parentaa89d7b8d687e42cdbf11b14dc8e0b4827a8aa9e
Issue 3860: Add command \justify-line

The command \fill-line spaces words taking word length into account
such that the following distances are equal: outside edge of outside
markup to center of adjoining markup; center to center of
neighboring interior markups.  As a consequence, the space between
words is unequal when the lengths of the markups vary and/or there
are more than three markups in the line.

The following patch creates the command \justify-line, which spaces
markups to fill a line such that the space in between each pair is
constant.  Collisions are prevented by ensuring that this distance
does not fall below the current setting of word-space.
scm/define-markup-commands.scm