lilypond-user
[Top][All Lists]
Advanced

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

Re: dashed initial barline with SystemStartBar?


From: David Nalesnik
Subject: Re: dashed initial barline with SystemStartBar?
Date: Sat, 2 Jun 2012 08:52:41 -0500

Hi Harm,

On Fri, Jun 1, 2012 at 6:45 PM, Thomas Morley <address@hidden> wrote:
Hi,

2012/6/1 diekunstderfuge <address@hidden>:
>
> Hi all,
>
> I would like the barline printed by System_start_delimiter_engraver using
> SystemStartBar to print as a dashed barline instead of a solid barline.

it seems that the only available style is 'bar-line. But you can
override the stencil.

Some remarks:
(1)
I used an idea of David Nalesnik.
http://lists.gnu.org/archive/html/lilypond-user/2012-05/msg00209.html
Thanks again!!

You're welcome!
 

(2)
In `factors' of `make-dashed-system-start-bar' there is a hardcoded
value, that I figured out manually: 0.983
I wasn't able to express this through a variable.
Any hint?

Hmmm....  I can't follow all the intricacies of the calculations, but it seems to me that there is always one too many dashes, and this is why the dashed line you build up extends beyond the cap you put at the top (nice idea, BTW, to guarantee this way that there will be a segment at top and bottom!)  If you replace

(iota (* 2 num))

in the definition of factors with

(iota (* 2 (1- num)))

does this do what you want?

HTH,
David

reply via email to

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