Re: Square note head style

2016-01-26 Thread Caio Giovaneti de Barros
On 25-01-2016 19:18, Pierre Perol-Schneider wrote: Hi Caio, How about: Thanks Pierre, that's it! ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Square note head style

2016-01-26 Thread Caio Giovaneti de Barros
On 26-01-2016 02:06, Bockett Hunter wrote: Are you trying to set mensural notation? If so, \override Voice.NoteHead #'style = #'neomensural will do what you want. Actually, no. I'm using it in a contemporary piece to indicate to stroke the piano strings with a pick. I need a real square,

Re: Square note head style

2016-01-25 Thread Pierre Perol-Schneider
Hi Caio, How about: \version "2.18.2" #(define (my-note-head grob) (let ((duration (ly:grob-property grob 'duration-log))) (if (>= duration 2) (grob-interpret-markup grob #{ \markup \filled-box #'(-0.5 . 0.5) #'(-0.5 . 0.5) #0 #})

Square note head style

2016-01-25 Thread Caio Giovaneti de Barros
Hi, I'm needing a note head style with square note heads. Ideally it should be filled for black note heads and open for white notes. I'm struggling to understand how to change the note head stencil, let alone change it according to note duration. Con someone, please, help? Thanks! Caio