On Thursday 29 September 2005 09.45, Mats Bengtsson wrote: > 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.
I think left/right is the convention currently used -- the 'direction' parameter to break-glyph-function is -1 after break, and 1 before break. Usually 'after' is notated 1, and 'before' -1; this indicates that -1 here stands for 'left'. > 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. -- Erik _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel