On 17 déc. 2012, at 20:58, Dominique Faure <dominique.fa...@gmail.com> wrote:

> Hi,
> 
> Using the following code, I'd like to move accidentals above or below notes.
> 
> ----------8<- - - - - - - - - -
> \version "2.16"
> 
> accidentalBelow = {
> \once \override Score.Accidental #'extra-offset = #'(1.5 . -2.5)
> }
> 
> accidentalAbove = {
> \once \override Score.Accidental #'extra-offset = #'(1.5 . 2.5)
> }
> 
> \relative c'' {
> a16 b \accidentalAbove cis \accidentalAbove bes
> g a \accidentalBelow b \accidentalBelow c
> }
> 
> \relative c'' {
> a b c b
> g a b c
> }
> ----------8<- - - - - - - - - -
> 
> 

This seems rather complicated - what is your end goal? If it is just to have an 
accidental printed over or below the note, consider making a \markup with a 
\musicglyph. To get the accidental in midi playback, you can use tags and a 
separate midi score.

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

Reply via email to