[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fixed vertical space
From: |
Werner LEMBERG |
Subject: |
Re: fixed vertical space |
Date: |
Fri, 20 Sep 2013 12:41:38 +0200 (CEST) |
>> However, I want a fixed space between \markup and \score that
>> doesn't get stretched.
>
> How about mm-feed?
> http://lists.gnu.org/archive/html/lilypond-user/2010-04/msg00057.html
Nope:
#(define-markup-command (mm-feed layout props amount) (number?)
(let ((o-s (ly:output-def-lookup layout 'output-scale)))
(ly:make-stencil "" '(0 . 0) (cons 0 (abs (/ amount o-s))))))
\paper { ragged-last-bottom = ##f }
\markup { markup1 }
\markup { markup2 }
\markup \mm-feed #10 % <-- here I want a fixed space of, say, 10mm
\score { c'' }
\markup { markup3 }
\score { c'' }
\markup { markup4 }
But maybe I'm using your command incorrectly...
Werner