lilypond-user
[Top][All Lists]
Advanced

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

Re: Warning about beam slope configuration


From: David Sumbler
Subject: Re: Warning about beam slope configuration
Date: Sun, 22 Jan 2017 11:09:16 +0000

On Sat, 2017-01-21 at 23:47 +0100, Simon Albrecht wrote:
> On 21.01.2017 21:46, David Sumbler wrote:
> > 
> > could somebody explain to me what the warning
> > actually means, and what I would need to do to stop it appearing?
> It signifies problem in the calculation of beam slope. I get it all
> the 
> time with kneed beams, even when the printed result is perfectly 
> satisfactory.
> If it isn’t, something like
> { 8-\offset positions #'(10 . -10) [ 8] }
> might help.
> And in case the warning is the only problem: insert this at top level
> #(ly:expect-warning "no viable")
> The warning will be suppressed, and you’ll get a warning if there is
> no 
> warning anymore to be suppressed.
> 
> Best, Simon

Thank you for that.  As I don't want a kneed beam I have now added

\once \override Beam.auto-knee-gap = #10
\once \override Beam.positions = #'(-4 . 0)

which solves the immediate problem.  I need the auto-knee-gap override,
otherwise Lilypond tries to create a kneed beam and then complains
about negative stem lengths.

Your suggestion is clearly a tweak to Beam.positions, but I can't find
the documentation for the use of \offset.  Assuming that there is such
documentation, could you point me to it, please?

David



reply via email to

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