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

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

Re: déplacement vertical d'un markup


From: F. Moinard
Subject: Re: déplacement vertical d'un markup
Date: Tue, 26 Apr 2022 17:47:56 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

Bonjour Olivier,

Une proposition de solution besogneuse en attendant de vraies explications (et cf. https://lilypond.org/doc/v2.23/Documentation/learning/outside_002dstaff-objects#the-outside_002dstaff_002dpriority-property )

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.23.8"

\score{
  \new Staff = "violon 1" {
    <<
      \new Voice  \relative {
        bes'8  d bes' d, bes d bes' d,
      }
      \new Voice \relative {
        \override Staff.PhrasingSlur.outside-staff-priority= #500
        \override TextScript.avoid-slur = #'inside
        \hideNotes
        \voiceTwo 
        \override TextScript.color = #darkgreen
        \phrasingSlurUp
        bes'8\( ^\markup \center-align "[11" d^\markup \center-align "12]" bes'_\markup \center-align "[11" d,_\markup \center-align "12]" bes^\markup {\center-align \lower #2 "[11"} d^\markup \center-align "12]" bes'_\markup \center-align "[11" d,_\markup \center-align "12]" \) 
      }
    >>
  }
  \layout{}
} 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

hth,
Frédéric

Le 26/04/2022 à 15:07, Olivier Charade a écrit :
Bonjour,
J'avoue que j'ai toujours du mal à comprendre la documentation sur ce sujet où le décalage de la position verticale doit partir d'un "point d'ancrage".
Comme ma partition est assez complexe, je viens de vérifier sous Lilybin que l'extrait suivant reproduisait bien mon problème:
\score{
        \new Staff = "violon 1" {
        <<
          \new Voice  \relative {
              bes'8\( d bes' d, bes d bes' d,\)
          }
          \new Voice {
              \override TextScript.color = #darkgreen
              s8^\markup \center-align "[11" s^\markup \center-align "12]" s_\markup \center-align "[11" s_\markup \center-align "12]" s^\markup {\center-align \lower #2 "[11"} s^\markup \center-align "12]" s_\markup \center-align "[11" s_\markup \center-align "12]"
          }
        >>
    }

    \layout{}
}

Je voudrais faire passer le "[11" du milieu (et quand j'aurai trouvé, le "12]" aussi), sous la grande liaison. Mais le \lower  n'a aucune action.

Merci d'avance.
Olivier



reply via email to

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