lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

note point dans un cercle


From: Martial R
Subject: note point dans un cercle
Date: Tue, 14 Feb 2023 16:14:21 +0100

bonjour
j'abuse...
il me faudrait à la place d'une croix dans un cercle ( #'xcircle)
un point dans un cercle . 
Ceci marche mais ce n'est pas très propre
comment me débarrasser de (string?) qui oblige de mettre un string pour appeler ma fonction.
%--------
cx =#(define-music-function
  (null) (string?)
  #{
    \once\override NoteHead.stencil =
    #(lambda (grob)
       (grob-interpret-markup grob
                              #{
                                % \markup \raise #-.8 { \combine "Ͼ"  "Ͽ" }
                                \markup{
                                  \combine
                                  \translate #(cons 0.3 0.1) \draw-circle #0.5 #0.1 ##f
                                  "."
                                }
                              #}))
    #})
\relative {
  \cx"" g''4 \cx"" c, e, \cx"" e
}
%--------

Merci
--
Martial Rameaux


reply via email to

[Prev in Thread] Current Thread [Next in Thread]