Am 12.08.2017 um 17:05 schrieb Hauke Rehr:
Still, the output doesn’t match at least /my/ expectations:
notes should either not be merged at all, or there should be
stacked accidentals indicating which one applies to which Voice.
How should this be a default behaviour? IMO none of those two options
looks good and unambiguous. But here are three possible solutions to
your problem (I like the third most):
\version "2.19.63"
\relative {
<<
{
c''4
\tweak NoteColumn.X-offset 2.5
\tweak Accidental.X-offset 1.6
g
\tweak NoteColumn.X-offset 1.5
\tweak Accidental.extra-offset #'(1.65 . 0)
g!
ais
} \\ {
gis
gis
\tweak NoteHead.extra-offset #'(-1 . 0)
\tweak Stem.extra-offset #'(-1 . 0)
gis
gis
}
>>
}
\relative {
<<
{
c''4
\tweak Accidental.stencil #ly:text-interface::print
\tweak Accidental.text
\markup \fontsize #-5 \override #'(baseline-skip . 2) \vcenter
\center-column {
\musicglyph #"accidentals.natural"
\musicglyph #"accidentals.sharp"
}
g
g
ais
} \\ {
gis
gis
\tweak Accidental.stencil #ly:text-interface::print
\tweak Accidental.text
\markup \fontsize #-5 \override #'(baseline-skip . 2) \vcenter
\center-column {
\musicglyph #"accidentals.natural"
\musicglyph #"accidentals.sharp"
}
gis
gis
}
>>
}
\new StaffGroup \new Staff = "orig" \relative {
<<
{
c''4 c c c
\new Staff \with {
alignAboveContext = "orig"
} \relative {
\omit Staff.TimeSignature
\omit Staff.Clef
c'' g! g a
}
c c c c
} \\ {
gis gis gis gis
gis gis gis gis
gis gis gis gis
}
>>
}
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond