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

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

Re: Texte entre deux portées : Refrain / Couplets


From: Jean Abou Samra
Subject: Re: Texte entre deux portées : Refrain / Couplets
Date: Mon, 9 May 2022 16:10:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1

Le 09/05/2022 à 16:02, me@papilip.me a écrit :
Bonjours à tous,

Je ne retrouve pas la bonne méthode pour ajouter :
\markup { \rounded-box { Refrain } } ou ^\markup { \rounded-box { Couplets } }
entre deux portées.


Voici mon code simplifié
————————
\version "2.22.2"

refrain_chord = \chordmode { c2 }
refrain_music = \relative c '{ c2 }
refrain_chant = \lyricmode { refrain }

couplets_chord = \chordmode { c2 }
couplets_music = \relative c '{ c2 }
couplets_chant = \lyricmode { couplets }

\bookpart {
   \score {
     \new ChoirStaff <<
       \new ChordNames { \refrain_chord }
       \new Staff = "refrain" { \new Voice = "refrain" { \refrain_music } }
       \new Lyrics \lyricsto "refrain" { \refrain_chant }
     >>
   }
   \score {
     \new ChoirStaff <<
       \new ChordNames { \couplets_chord }
       \new Staff = "refrain" { \new Voice = "couplets" { \couplets_music } }
       \new Lyrics \lyricsto "couplets" { \couplets_chant }
     >>
   }
}
-----------------

La question : où ajouter le fameux markup ?
Si je l’ajoute sur la première note, les accords se trouvent décalés vers le 
haut et c’est laid.



Justement, il faut le mettre « entre les deux portées » :

\version "2.22.2"

refrain_chord = \chordmode { c2 }
refrain_music = \relative c '{ c2 }
refrain_chant = \lyricmode { refrain }

couplets_chord = \chordmode { c2 }
couplets_music = \relative c '{ c2 }
couplets_chant = \lyricmode { couplets }

\bookpart {
  \markup \rounded-box Refrain
  \score {
    \new ChoirStaff <<
      \new ChordNames { \refrain_chord }
      \new Staff = "refrain" { \new Voice = "refrain" { \refrain_music } }
      \new Lyrics \lyricsto "refrain" { \refrain_chant }
    >>
  }
  \markup \rounded-box Couplets
  \score {
    \new ChoirStaff <<
      \new ChordNames { \couplets_chord }
      \new Staff = "refrain" { \new Voice = "couplets" { \couplets_music } }
      \new Lyrics \lyricsto "couplets" { \couplets_chant }
    >>
  }
}


Ce n'est pas ce que tu cherches ?

Cordialement,
Jean




reply via email to

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