Thanks Simon for the idea. I’ve defined the following Scheme function for my needs, with accidental style forced to ‘forget' for the given note:
editorialAccidental = #(define-music-function (note) (ly:music?) #{ \once\accidentalStyle forget \once\set suggestAccidentals = ##t #note #}) { \editorialAccidental cis4 cis4 dis4 \editorialAccidental cis4 } JM > Le 25 juin 2017 à 00:58, Simon Albrecht <simon.albre...@mail.de> a écrit : > > On 24.06.2017 22:09, Menu Jacques wrote: >> What are editorial accidentals actually, and is there a way to produce them >> with Lily? > > I don’t know what musicxml means by an editorial accidental, but generally an > editorial accidental may take lots of forms depending on style/policy: in > round parens, in angled brackets, in smaller font size, in grey colour (which > I personally like a lot, though it’s difficult to get printed well), or above > the staff as Phil already mentioned. > The great thing is that with LilyPond you can use a music function and adapt > this function in a style sheet. Mine is called \ed for typing economy and > offers some abbreviations, like > { \ed Acc cis } > covering all of Accidental, AccidentalSuggestion, AccidentalCautionary. > > Best, Simon > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user