bug-lilypond
[Top][All Lists]
Advanced

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

Re: Issue 617 in lilypond: X-offset should take the specified alignment


From: Mats Bengtsson
Subject: Re: Issue 617 in lilypond: X-offset should take the specified alignment method into account
Date: Mon, 05 May 2008 13:39:09 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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

address@hidden 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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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