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

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to