lilypond-user
[Top][All Lists]
Advanced

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

Re: note collision when in a chord there is a second above or below an u


From: Davide Bonetti
Subject: Re: note collision when in a chord there is a second above or below an unison
Date: Sun, 13 Jan 2019 18:55:45 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hi Paolo,

your solution works but generates collision between the sharp and the time signature :)

I tried this:

\score {
  {
    <c'
     \tweak Accidental.X-offset #'-3.5
     \tweak extra-offset #'(-1.75 . 0)
    fis'     
    \tweak Accidental.X-offset #'-3.5
    fis'
    g'>1
  }
}

and there is no collision with time signature.

However, if the chord is <c' fis' fis' gis'> my code doesn't work well again.

I think that there is not an easy solution that fits all.

Thank you again, I learned something about \tweak and about extra-offset.

Cheers

Davide


Il 12/01/2019 23:22, Paolo Cantamessa ha scritto:
Hi David,
maybe this solution works but it is not really professional:

\score {
  {
    \once \override Accidental.extra-offset = #'(-1.5 . 0)
      <c' \tweak extra-offset #'(-1.75 . 0) fis' fis' g'>1
  }
}

Good luck.

Paolo

Il sab 12 gen 2019, 22:00 Davide Bonetti <address@hidden> ha scritto:

Thank you Paolo,

it works well for whole note without alteration.

If the note is altered, however, there is a collision with the alteration, as you can see with this code:

\score {
   <c' \tweak extra-offset #'(-1.75 . 0) fis' fis' g'>1
}

Do you (or someone else) know where in the source code is handled the position of the notes in a chord?

Cheers

Davide

Il 09/01/2019 13:18, Paolo Cantamessa ha scritto:

Hi Davide,
try this:
\score {
   <c' \tweak extra-offset #'(-1.75 . 0) e' e' f'>1
}

Bye.

Paolo



Mailtrack Sender notified by
Mailtrack 09/01/19, 13:18:35


Il giorno mer 9 gen 2019 alle ore 12:43 Davide Bonetti <address@hidden> ha scritto:
Hi Malte,

The output could be like in the attached image. I obtained it in
Musescore, manually moving the notes.

Cheers.

Davide

Il 08/01/2019 08:15, Malte Meyn ha scritto:
> Hi Davide,
>
> please tell us what output you expected.
Am 06.01.19 um 18:41 schrieb Malte Meyn:
>> Long answer: You can do almost anything in LilyPond. In your case you
>> could try changing the output (f. e. extra-offset) or the inpult (f.
>> e. use multiple voices). But you have to know what the output should
>> look like. LilyPond cannot guess that ;)
>


---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user

Mail priva di virus. www.avast.com

reply via email to

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