Thanks a lot Harm, it works perfectly !

Cheers,


> Use \fontsize instead of \magnify.
> Also, use either \fontsize #(magnification->font-size 0.5), if you
> really want to keep the numerical value for some reason.
> Though, (magnification->font-size 0.5) evaluates to -6.0. Thus
> \fontsize #-6.0 would do the trick as well.
>
> Btw, no reason to use \override #'(font-encoding . fetaText) here.
> \number is does the same and is shorter.
> For aligning I'd use \center-align in \markup and a tweak for
> parent-alignment-X.
> Furthermore I think the parens are little too tall. I made them smaller.
>
> \version "2.19.82"
>
> doigte =
>   -\tweak parent-alignment-X #CENTER
>   -\markup {
>         \center-align
>         \number
>         \fontsize #-6.0
>         %"(4)"
>         \concat {
>           \fontsize #-2 "("
>           "4"
>           \fontsize #-2 ")"
>         }
>   }
>
>
> \new Staff \with { \magnifyStaff 1 }
> { c''1^1-\doigte  }
>
> \new Staff \with { \magnifyStaff #5/7 }
> { c''1^1-\doigte }
>
> \new Staff \with { \magnifyStaff 2 }
> { c''1^1-\doigte }
>
>
> HTH,
>   Harm
>


-- 
JJ Fleck
Physique et Informatique
PCSI1 Lycée Kléber
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to