You could do it by changing the accidental style in your spacer voice.

\version "2.18.2"

Uppernotes = { \repeat "unfold" 8 { cis'8 } }

accidentals = {
    s2
    \accidentalStyle Staff.dodecaphonic
    s8
    \accidentalStyle Staff.default
    s4.
} % doesn't work


LowerMusic = { r2 c'!8 r r4 }

UpperMusic = { \context Voice << { \Uppernotes } {\accidentals } >> }


\score {

\new PianoStaff

<<

\new Staff \UpperMusic

\new Staff \LowerMusic

>>

}



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/how-to-force-extra-accidental-in-this-case-tp166605p166611.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to