lilypond-user
[Top][All Lists]
Advanced

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

Re: "header", "layout" and "paper" blocks as variables...


From: Mats Bengtsson
Subject: Re: "header", "layout" and "paper" blocks as variables...
Date: Fri, 23 May 2008 11:18:40 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Valentin Villenave wrote:
2008/5/23 Mats Bengtsson <address@hidden>:
As far as I can see in the source code, there is no support to assign a
\header block to a variable.
However, for \paper and \layout it should work fine.

If I remember correctly, it only works for simple definition (e.g. not
\context \consists stuff etc).
I don't think you remember correctly:

\version "2.11"
mylayout = \layout {
 \context{ \Voice fontSize = #-3 }
}

\layout{\mylayout}
\relative c'{ c  d e f }

   /Mats

Cheers,
Valentin

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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