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 <d...@davidebonetti.it
<mailto:d...@davidebonetti.it>> 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
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
09/01/19, 13:18:35
Il giorno mer 9 gen 2019 alle ore 12:43 Davide Bonetti
<d...@davidebonetti.it <mailto:d...@davidebonetti.it>> 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
lilypond-user@gnu.org <mailto:lilypond-user@gnu.org>
https://lists.gnu.org/mailman/listinfo/lilypond-user
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
Mail priva di virus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
<#m_3208058608710158921_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
---
Questa e-mail è stata controllata per individuare virus con Avast antivirus.
https://www.avast.com/antivirus
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user