lilypond-user
[Top][All Lists]
Advanced

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

Re: Crossstaff position tolerance


From: Thomas Morley
Subject: Re: Crossstaff position tolerance
Date: Sat, 26 Oct 2019 18:31:07 +0200

Am Fr., 25. Okt. 2019 um 12:27 Uhr schrieb Andrew Bernard
<address@hidden>:
>
> What is the position tolerance distance for cross staff stems to work? Zero? 
> Or is there some wriggle room?
>
> I ask because I have a complex (as always) bit of free form music with 
> different overlapping tuplet ratios in different voices that is just more or 
> less 'thrown on the page' by the composer for this small section of a dozen 
> bars, but there are cross staff stems tying staff objects together from time 
> to time. Perhaps If I could manually offset the stems by some amount I could 
> get various stems to line up.
>
> Andrew
>
Hi Andrew,

in music-functions.scm you'll find

(define (close-enough? x y)
  "Values are close enough to ignore the difference"
  (< (abs (- x y)) 0.0001))

as the distance-tolerance.

To push stuff around to get connectable Stems you may use my `pushNC´
posted several times on this list.

HTH,
  Harm



reply via email to

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