In most guitar scores I use a hidden voice for such things as simultaneous text spanners, arpeggio brackets to indicate barring, etc.
The following example shows that the order of the voices in the source file affects whether the accidental appears or not:
\version "2.13.50"
\relative c' {
<< {
\override NoteColumn #'ignore-collision = ##t
\override NoteHead #'transparent = ##t
\override Stem #'transparent = ##t
\override Dots #'transparent = ##t
\override Accidental #'transparent = ##t
\override NoteHead #'no-ledgers = ##t
c4 cis cis cis |
}
\\ { c4 c cis cis }
>>
}
\relative c' {
<< { c4 c cis cis }
\\ {
\override NoteColumn #'ignore-collision = ##t
\override NoteHead #'transparent = ##t
\override Stem #'transparent = ##t
\override Dots #'transparent = ##t
\override Accidental #'transparent = ##t
\override NoteHead #'no-ledgers = ##t
c4 cis cis cis |
}
>>
}
Nick
<<attachment: test.png>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
