bug-lilypond
[Top][All Lists]
Advanced

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

Re: Wrong custos direction handling in tied notes


From: Werner LEMBERG
Subject: Re: Wrong custos direction handling in tied notes
Date: Wed, 31 Jul 2024 07:58:05 +0000 (UTC)

> %%% A custos shows where the next note will be and is placed at the
> %%% end of a staff.  It usually works fine.
> %%% 
> %%% But, the custos should point up when the second note on the next
> %%% staff is higher than the first.  This doesn't happen if the last
> %%% note is tied to the first note on the next staff.

Your code shows the opposite, right?  The custos points up because of
the tie, but the second note on the second staff is lower.

> Suggested fix: a command like \custosUp to manually set or adjust
> the direction of the custos.

You can define this by yourself, see attached example.  Do you have to
one or more real-world scores where custodes are combined with ties?


    Werner
\version "2.24.3" 

custosDown = \override Staff.Custos.neutral-position = -100
custosUp = \override Staff.Custos.neutral-position = 100

{
  \custosUp
  a'1 ~ \break
  a'
  g
}

{
  \custosDown
  a'1 ~ \break
  a'
  g
}

\layout { 
  \context { 
    \Staff 
    \consists Custos_engraver 
    \override Custos.style = #'mensural 
  } 
} 

\paper {
  line-width = 50\mm
}

PNG image


reply via email to

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