lilypond-user
[Top][All Lists]
Advanced

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

Re: clashing notes


From: Trevor Bača
Subject: Re: clashing notes
Date: Sun, 11 Feb 2007 17:04:53 -0600

On 2/11/07, Stan Sanderson <address@hidden> wrote:

On Feb 11, 2007, at 11:46 AM, Tiago Morin wrote:

> Hi
>
> I'm trying to reduce beamed stem length to avoid stem clash:
> <<{g'2}\\{
> \stemUp
> \override Stem #'details #'beamed-lengths = #'(1.25 )
> g8[ d'] f'[ d']
> }\\{ \stemDown g2}>>
>
> the Stem #'details #'beamed-lengths allows to increase the stem
> but not reduce... :(
>
> any suggestions?
>
> Thank's
>
> Tiago Morin

Tiago-

The solution to my problem proposed by Trevor yesterday seems to work
with your example (using rather extreme values):

\version "2.11.17"
<<{g'2}\\{
\stemUp
\once \override Beam #'positions = #'(-2.9  . -0.8)
g8[ d'] f'[ d']
}\\{ \stemDown g2}>>

Lily does still complain of clashing note columns.


If you're happy with the layout of stems and beams, then there's a
magic switch to insert at the Score-level context and override the
clashing note column warnings.

%%% BEGIN %%%

\version "2.11.16"

\new Score \with {
  \override NoteColumn #'ignore-collision = ##t
} {
  \new Staff <<
     {g'2}\\{
     \stemUp
     \once \override Beam #'positions = #'(-2.9  . -0.8)
     g8[ d'] f'[ d']
     }\\{ \stemDown g2}
  >>
}

%%% END %%




--
Trevor Bača
address@hidden

reply via email to

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