lilypond-user
[Top][All Lists]
Advanced

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

Re: modern-straight and flat- flags too thick and too spaced apart


From: Thomas Morley
Subject: Re: modern-straight and flat- flags too thick and too spaced apart
Date: Tue, 19 Feb 2019 22:05:20 +0100

Am Di., 19. Feb. 2019 um 15:37 Uhr schrieb edes <address@hidden>:
>
>
> el 2019-02-19 a las 11:30 Thomas Morley escribió:
>
> > Did you already try my suggestion for flat flags?
> >
> > #(define-public (flat-flag grob)
> >   "Flat flag style.  The angles of the flags are both 0 degrees"
> >   ((straight-flag 0.48 0.81 0 1.0 0 1.0) grob))
> >
> > Put it on top of your ly-file, you should see a significant improvement.
>
>
> That's great, thank you! I didn't even know you could modify those
> properties in the lilypond code, I thought you had to edit the sources and
> recompile lilypond.

You could even do:

#(define-public (my-flag grob)
  ((straight-flag 0.4 1 -70 3 -70 3) grob))

{
  \override Flag.stencil = #my-flag
  a'8
  b'
}
%% or
{
  \override Flag.stencil =
    #(lambda (grob) ((straight-flag 0.4 1 -70 3 0 3) grob))
  a'8
  b'
}

>
> Your suggested values are a significant improvement, indeed, although I
> do not use flat flags.
>
> I tried these values for straight-modern, and I find the result
> satisfactory:
>
> #(define-public (modern-straight-flag grob)
>   ((straight-flag 0.52 0.88 -18 1.1 22 1.2) grob))
>
>
> One problem remains, though: the first flag is not aligned with the end of
> the stem (see the attached ly files and their output).

Yep, for this 'straight-flag' from flag-styles needs to be changed.
It will be part of my patch, I hope.

Cheers,
  Harm



reply via email to

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