On 2010-09-06 15:45, Christopher Meredith wrote:
I have been using latest stable (2.12.3) because that's what comes
with Ubuntu. Everything's fine, except it doesn't appear to recognize
vspace (I get compile errors). I installed 2.13.31 which does
recognize vspace, but now I am having problems with placement of all
my other objects (everything seems more cramped). I'd like to try the
earliest version that supports vspace to see if it solves both
problems at once.

Hi, Christopher,

vspace has been introduced in the 2.13.x series. This features the new vertical layout algorithm, which seems to cause you the problems. But the definition of vspace works with 2.12.x (and probably even earlier) - just include the following in your file to "backport" it (taken from scm/define-markup-commands.scm):

#(define-markup-command (vspace layout props amount)
 (number?)
  (let ((amount (* amount 3.0)))
    (if (> amount 0)
        (ly:make-stencil "" (cons 0 0) (cons 0 amount))
        (ly:make-stencil "" (cons 0 0) (cons amount amount)))))


HTH,
Alexander

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

Reply via email to