- Bruce
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Simon Bailey
Sent: Wednesday, November 23, 2005 7:52 AM
To: Mats Bengtsson
Cc: lilypond-user@gnu.org
Subject: Re: RehearsalMark hack
hi mats, bruce,
On 11/23/05, Mats Bengtsson <[EMAIL PROTECTED]>
On 11/23/05, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> I can tell you a secret: I didn't look in the documentation at all, I looked
> directly in scm/define-grobs.scm. However, I think it's a plain bug that
> the documentation for this property isn't included properly, and have
> sent a related e
Simon Bailey wrote:
i didn't redefine this function, because i didn't know that
rehearsalmarks were categorically shifted to the right at the
beginning of a line. it is not stated in the documentation that this
property is set to #shift-right-at-line-begin by default.
I can tell you a sec
hi,
On 11/23/05, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> As far as I can see, the result will be exactly the same if you remove
> the \book!
this is true -- i did it out of habit... sorry for the confusion.
regards,
sb
--
Do not meddle in the affairs of trombonists, for they are subtle and
hi mats, bruce,
On 11/23/05, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> For the horizontal position, why did you not directly redefine the
> function that handles the placement av rehearsal marks after line
> breaks? The default function has the following definition (from
> scm/output-lib.scm):
>
This should be added to Tips and Tricks. It also is a useful example
for \book and \repeat
As far as I can see, the result will be exactly the same if you remove
the \book!
/Mats
___
lilypond-user mailing list
lilypond-user@gnu.org
http://l
Title: Message
Simon
-
In Version 2.4.6
the invocation line needs to be:
\override
Score.RehearsalMark #'before-line-breaking-callback =
#mark-callback
Impressive
detective work. Please add commentary about the documentation trail you
followed to discover your result. Maybe include
For the horizontal position, why did you not directly redefine the
function that handles the placement av rehearsal marks after line
breaks? The default function has the following definition (from
scm/output-lib.scm):
(define-public (shift-right-at-line-begin g)
"Shift an item to the right, but
after delving deeply into the lilypond backend documentation
(especially the scheme functions list) i managed to get my hack working
in three lines:
#- SNIP LILY CODE HERE -
#(define (mark-callback grob)
(if (= (ly:item-break-dir grob) 1)
(ly:grob-set-property! grob 'extra-offset '