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

Reply via email to