lilypond-user
[Top][All Lists]
Advanced

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

Re: init.ly, what does it do?


From: Simon Albrecht
Subject: Re: init.ly, what does it do?
Date: Mon, 9 Jan 2017 00:04:24 +0100

On 08.01.2017 23:38, Br. Samuel Springuel wrote:
Is there a way to set a top level `\paper` block entirely within Scheme?

I imagine there is, however there is practically no documentation to be found even in the source code (or did I look at the wrong places/the wrong way?). Here is an essay, which does create an output definition with the two variables set, however it doesn’t get applied as a \paper{} block would be… no clue about that.

%%%%%%%%%%%%%%%
\version "2.19.53"
#(let ((paper (ly:make-output-def)))
   (ly:output-def-set-variable! paper 'line-width 50)
   (ly:output-def-set-variable! paper 'indent 0)
   (display paper)
   paper)
\score { { 4 } }
%%%%%%%%%%%%%%%

Best, Simon



reply via email to

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