Hi,

I have a particular two-voice passage where both voices play the
same notes, and both would have an accidental, but they are merged
into one. However, the order in which the accidentals are printed
is not really ideal.

I've come up with two workarounds, but neither seem really optimal.
Is there a better way to change the order that the accidentals are
printed? I'd like the naturals printed first, followed by the
sharp.

Many thanks,
Tyler
\version "2.19.84"

\markup "Default accidental combining:"
\score {
  \new Staff <<
    \clef bass \key ges \major \omit Staff.TimeSignature
    \new Voice { \voiceOne <b e' fis'>4 }
    \new Voice { \voiceTwo b2 }
  >>
}

\markup "Desired output (by changing notes):"
\score {
  \new Staff <<
    \clef bass \key ges \major \omit Staff.TimeSignature
    \new Voice { \voiceOne <b e' fis'>4 }
    \new Voice { \voiceTwo bes2 }
  >>
}

\markup "Desired output (by applying tweaks):"
\score {
  \new Staff <<
    \clef bass \key ges \major \omit Staff.TimeSignature
    \new Voice { \voiceOne <
      \tweak Accidental.extra-offset #'(-1.3 . 0) b
      e'
      \tweak Accidental.extra-offset #'(0.7 . 0) fis'
      >4 }
    \new Voice { \voiceTwo \once\omit Accidental b2 }
  >>
}

Reply via email to