Hi Harm,

On Fri, Jun 1, 2012 at 6:45 PM, Thomas Morley <thomasmorle...@googlemail.com
> wrote:

> Hi,
>
> 2012/6/1 diekunstderfuge <dolcevitafinea...@gmail.com>:
> >
> > 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
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to