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

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

Re: double notation accord


From: Philippe Neyrat
Subject: Re: double notation accord
Date: Wed, 3 Feb 2016 13:09:27 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0

... Et ça fonctionne en 2.18.2

Philippe


Le 28/01/2016 17:16, Pierre Perol-Schneider a écrit :
> Bonjour Christian,
> 
> La solution se trouve sur la LSR: http://lsr.di.unimi.it/LSR/Item?id=902
> 
> \version "2.19.35"
> 
> startParenthesis = {
>   \once \override ParenthesesItem.stencils = #(lambda (grob)
>         (let ((par-list (parentheses-item::calc-parenthesis-stencils grob)))
>           (list (car par-list) point-stencil )))
> }
> 
> endParenthesis = {
>   \once \override ParenthesesItem.stencils = #(lambda (grob)
>         (let ((par-list (parentheses-item::calc-parenthesis-stencils grob)))
>           (list point-stencil (cadr par-list))))
> }
> 
> LesAccordOssia = \new ChordNames {
>   %\mark \markup{(} e2 a g d\mark \markup{)}
>   \startParenthesis\parenthesize e2  a   g
>   \endParenthesis\parenthesize d
> }
> 
> LesAccords= \new ChordNames { c1 f a b }
> 
> LeChant = \relative c' { c4 g' d a' f a c e }
> 
> \score
> {
>   <<
>     \LesAccordOssia
>     \LesAccords
>     \LeChant
>   >>
>   \layout {}
> }
> 
> Cordialement,
> Pierre
> 
> 
> Le 28 janvier 2016 à 17:06, Christian LE BARS <address@hidden
> <mailto:address@hidden>> a écrit :
> 
>     bonjour,
>     voila je voudrais pouvoir noter sur une partition une variante d'accord
>     sur une portée . le PB c'est que les parenthèses se "promènent" un
>     peu.je <http://peu.je> ne veux pas me servir d'ossia
>     quelqu' un a t'il une solution ci joint mon code:\version "2.19.35"
> 
>     LesAccordOssia =
>     {
>       \new ChordNames
>      {
>        \mark \markup{(} e2 a g d\mark \markup{)}
>      }
>     }
>     LesAccords=
>     {
>       \new ChordNames
>      {
>       c1 f a b
>      }
>     }
>      LeChant =
>      \relative c'
>       { c4 g' d a' f a c e
>       }
>     \score
>     {
>       <<
>         \LesAccordOssia
>         \LesAccords
>         \LeChant
>       >>
>       \layout {}
>     }
> 
>     Par avance merci
> 
>     _______________________________________________
>     liste de diffusion lilypond-user-fr
>     address@hidden <mailto:address@hidden>
>     https://lists.gnu.org/mailman/listinfo/lilypond-user-fr
> 
> 
> 
> 
> _______________________________________________
> liste de diffusion lilypond-user-fr
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user-fr
> 


-- 
Propulsé par l'Association Sud-Ouest.org
Plateforme Libre d'hébergement mail à prix libre
    https://www.sud-ouest.org



reply via email to

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