lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

remove the 1.0 basic-dist white space above and below a score


From: Knut Petersen
Subject: remove the 1.0 basic-dist white space above and below a score
Date: Fri, 28 Nov 2014 10:06:52 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

To get a score of exactly height h it is necessary to define paperheight to be 
h + 0.5 global-staff-size as there is always
1.00 basic-dist above and 1.00 "space left" below the score unused by lilypond. 
Then pdfcrop can be used to get
the desired result. At least this is true for a source file starting like this:


\version "2.18.2"

#(set! paper-alist (cons '("mySize" . (cons (* 11.85 cm) (* 18.2635 cm))) 
paper-alist))

\paper {
  #(set-paper-size "mySize")
  left-margin = 0\cm
  top-margin = 0\cm
  bottom-margin = 0\cm
  line-width = \paper-width
  indent = 0
  page-count = #1
  ragged-bottom = ##f
  ragged-last-bottom = ##f
  annotate-spacing=##f
}

\header { tagline = ##f}

#(set-global-staff-size 15)


Is there a way to tell lilypond to omit any white space above and below the 
score?

cu,
 Knut



reply via email to

[Prev in Thread] Current Thread [Next in Thread]