lilypond-user
[Top][All Lists]
Advanced

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

Re: Produce a paper block from Scheme function


From: Simon Albrecht
Subject: Re: Produce a paper block from Scheme function
Date: Fri, 06 Mar 2015 22:41:36 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

PS:

Am 06.03.2015 um 17:32 schrieb Urs Liska:
Hi all,

I don't even know where to start with this, and looking around in the documentation doesn't get me started either.
Considering multiple \paper blocks see <http://lilypond.org/doc/v2.19/Documentation/notation/the-paper-block>.

What would I have to do if I want to write a Scheme function (presumably with define-scheme-function) that produces a \paper block or rather sets the content of a paper block?

What I ultimately need is a wrapper around

\paper {
  #(define fonts
     (set-global-fonts
      #:music "cadence"
      #:brace "cadence"
      #:factor (/ staff-height pt 20)
      ))
}

I don't see whether I will have to somehow _create_ the paper block and produce what I want to have in that or if I have to somehow _find_ an existing paper block where the (define fonts) thing can be applied/executed.

TIA
Urs





reply via email to

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