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

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

Re: Signes spéciaux


From: Martial R
Subject: Re: Signes spéciaux
Date: Fri, 11 Oct 2019 08:42:02 +0200

Bonjour,
je ne sais pas faire une éclipse
voici un encadrement

%------------------------------

#(define-markup-command (myBox layout props myWidth myHeight) (number? number?)
  (interpret-markup layout props
    (markup #:line (#:with-dimensions (cons 0 0)(cons 0 0)
      (#:path 0.4 ;épaisseur du trait
        (list (list (quote moveto) -0.7 1.5)
        (list (quote lineto) myWidth 1.5)
        (list (quote lineto) myWidth (* myHeight -1))
        (list (quote lineto) -0.7 (* myHeight -1))
        (list (quote closepath))))))))

\score {
  \relative c' <<
    \new Staff
    {
      \time 3/4  <e a c>
      <d a' c>
      ^\markup\myBox #2.5 #15 %% #largeur #hauteur
      <d g b>
    }
    \new Staff
    {
      \autoBeamOff
      f'4 d e
    }
>>
\layout {  }
}
%------------------------------

http://lilybin.com/cwgfwy/1

original ici
http://lsr.di.unimi.it/LSR/Item?id=953
en cherchant on trouve pas mal d'astuces.
http://lsr.di.unimi.it/LSR/Browse

Cordialement
--
Martial

Le jeu. 10 oct. 2019 à 23:10, julien via lilypond-user-fr
<address@hidden> a écrit :
> Auriez-vous un moyen simple d'entourer une cellule musicale de cette façon :
> https://i.goopics.net/WLZZr.jpg <https://i.goopics.net/WLZZr.jpg>    ?
> Ou par un encadrement ?



reply via email to

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