Sounds like a useful idea. Just one comment - maybe "left" and "right"
are not the best names since it's rather related to before and after the
line break. I don't have any better idea of a concise naming, though.

  /Mats

Erik Sandberg wrote:

On Wednesday 28 September 2005 15.38, Fairchild wrote:
Erik -

Is this documented somewhere?

\once \override Score.BarLine #'break-glyph-function = #(lambda (glyph dir)
(if (> 0 dir) "|." "|:"))

Nope, it's something I created using my limited guru skills.

I just looked quickly, and I think \leftBar and \rightBar would be pretty clumsy to implement without changing the scheme code for \bar slightly.

Han-Wen, would you accept well-written patches to introduce \leftBar and \rightBar commands? Suggestion for semantics: - \bar sets the barline style for barlines not at line breaks, plus defaults for barlines at breaks
- \rightBar and \leftBar override the defaults set by \bar.

So, essentially, there would be a 'left-break-glyph and 'right-break-glyph which the default break-glyph-function will look for, and use to override the default values.


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        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
=============================================



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

Reply via email to