If you want to add a fixed offset to the default layout, you can redefine X-offset, for example to
\override RehearsalMark #'X-offset = #(ly:make-simple-closure
                     `(,+
                        1.0
                       ,(ly:make-simple-closure
(list ly:break-alignable-interface::self-align-callback))
                       ,(ly:make-simple-closure
(list ly:self-alignment-interface::x-aligned-on-self))))

Which differs from the default setting only in the extra 1.0 that's added (this works since
(+ ...) in Scheme can take any number of arguments, not only two).

Exactly what kind of enhancement are you looking for that cannot be solved in this way?

   /Mats

[EMAIL PROTECTED] wrote:
Issue 617: X-offset should take the specified alignment method into account
http://code.google.com/p/lilypond/issues/detail?id=617

Comment #2 by v.villenave:
Thanks Neil and Mats. I'm keeping this as an Enhancement though, if no one objects.


Issue attribute updates:
Summary: X-offset should take the specified alignment method into account
    Labels: -Type-Defect -Priority-Medium Type-Enhancement Priority-Low


--
=============================================
        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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to