lilypond-devel
[Top][All Lists]
Advanced

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

Re: adjusting a system's NonMusicalPaperColumn Y-offset by a relative di


From: Kieren MacMillan
Subject: Re: adjusting a system's NonMusicalPaperColumn Y-offset by a relative distance
Date: Sun, 7 Jun 2009 12:21:59 -0400

Hi Mark,

I'd like to help but I can't get your function to work. I get:
warning: type check for `line-break-system-details' failed;
value `(10 . 10)' must be of type `list'
Can you include a working example?

\version "2.13"

staffAdjust =
        #(define-music-function (parser location adj) (pair?)
                #{
                        \overrideProperty #"Score.NonMusicalPaperColumn"
                                #'line-break-system-details $adj
                #})

shiftedMusic = \relative
{
    c'4 c c c \break
    \staffAdjust #'((Y-offset . 10)) c c c c \break
    c c c c
}

\score { \shiftedMusic }

Thanks!
Kieren.




reply via email to

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