lilypond-user
[Top][All Lists]
Advanced

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

RE: tweaking properties after line break


From: Fairchild
Subject: RE: tweaking properties after line break
Date: Tue, 22 Nov 2005 17:02:00 -0600

Simon -

Maybe this will help:


%###
  \version "2.4.6"
  \score {
  \relative c'' {
  \key aes \major
    \mark \default c2 c c c
    \break
    \mark \default c
    \override Score.RehearsalMark #'extra-offset = #'( 5.0 . 5.0 )
    c \mark \default c c
    \break
    \override Score.RehearsalMark #'extra-offset = #'( -3.0 . 0.0 )
    \mark \default c c c c
  }
}
%###

                                     - Bruce

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Simon Bailey
Sent: Monday, November 21, 2005 7:48 AM
To: address@hidden
Subject: tweaking properties after line break


hi,

i'm trying to shift RehearsalMarks which occur at line breaks further to the
left, so they are more aligned with the key signature rather than with the
first note of the music in that line.

i thought it would work like this, but it sets the extra-offset property for
all RehearsalMarks.

my lily file:

%###
#(define (mark-callback grob)
  (ly:grob-set-property! grob 'extra-offset '(-3 . 0))) \version "2.7.17"
\score {
  \relative c'' {
    \override Score.RehearsalMark #'before-line-breaking = #mark-callback
    \repeat unfold 4 c2 \mark \default
    \break
    c2 c \mark \default 
    c2 c
  }
}
%###

is there a ly:<function> which is the equivalent of \once \override?

thanks,
simon.

p.s: i tried subscribing to this list earlier today, and have received no
email requesting confirmation yet (almost 3 hours later)? are all new
subscriptions first forwarded to the list admin for validation?



_______________________________________________
lilypond-user mailing list
address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user







reply via email to

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