Re: Colored circle around note

2023-05-13 Thread Luca Rossetto Casel
Dear Michael, Jean, thank you for the help and the suggestions, and for replying so quickly! Now, I'll read accurately Jean's site! :-) Luca Il 13/05/23 15:47, Jean Abou Samra ha scritto: Le samedi 13 mai 2023 à 14:13 +0200, Luca Rossetto Casel a écrit : Hello everyone, I'm working on an e

Re: Colored circle around note

2023-05-13 Thread Jean Abou Samra
Le samedi 13 mai 2023 à 14:13 +0200, Luca Rossetto Casel a écrit : > Hello everyone, > > I'm working on an example for a musicological paper. I was requested to > highlight some notes drawing a colored circle around them. I found the > snippet > > [https://lsr.di.unimi.it/LSR/Item?id=722](http

Re: Colored circle around note

2023-05-13 Thread Michael Werner
Hi Luca, I'm still trying to learn more about Scheme myself, but I managed to come up with an adaptation of that snippet that seems to work. There's probably a better way to do this, but here goes: circleB = \once \override NoteHead.stencil = #(lambda (grob) (let* ((note (ly:note-head::print g

Colored circle around note

2023-05-13 Thread Luca Rossetto Casel
Hello everyone, I'm working on an example for a musicological paper. I was requested to highlight some notes drawing a colored circle around them. I found the snippet https://lsr.di.unimi.it/LSR/Item?id=722 and I tried to adapt it to my needs... but without success (I didn't ever studied Sc