bug-lilypond
[Top][All Lists]
Advanced

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

Re: How to override bar line?


From: Erik Sandberg
Subject: Re: How to override bar line?
Date: Wed, 28 Sep 2005 00:49:23 +0200
User-agent: KMail/1.8.1

On Tuesday 27 September 2005 23.21, Fairchild wrote:
> Got it!
>
> Still think it is a bug.

> Here's the workaround.

Though your solution happens to work, it's an unsupported tweak. Don't expect 
it to work with future versions of lily.

I did a quick test, and the following seems to be the "right" way to do it:

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

It would be possible to add functions \leftBar and \rightBar, to abbreviate 
this.

> %%%%%%%%%%%%%%
>
> Here's a longer example of volta implementation for use somewhere in the
> docs.

You can upload it to LSR, if you like.

-- 
Erik




reply via email to

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