[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user-fr
Subject:    =?utf-8?Q?Re=3A_Texte_entre_deux_port=C3=A9es_=3A_Refrain_/_Coupl?= =?utf-8?Q?ets?=
From:       "me () papilip ! me" <me () papilip ! me>
Date:       2022-05-09 14:13:39
Message-ID: 58F412C4-1881-4849-A55C-3E38849EA6E0 () papilip ! me
[Download RAW message or body]

Mille mercis,
Je l'avais mis dans le score et lilypond râlait !
Philippe 

> Le 9 mai 2022 à 16:10, Jean Abou Samra <jean@abou-samra.fr> a écrit :
> 
> Le 09/05/2022 à 16:02, me@papilip.me <mailto: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


[Attachment #3 (unknown)]

<html><head><meta http-equiv="Content-Type" content="text/html; \
charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
line-break: after-white-space;" class="">Mille mercis,<div class="">Je l'avais mis \
dans le score et lilypond râlait !</div><div class="">Philippe&nbsp;<br \
class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 9 mai \
2022 Ã  16:10, Jean Abou Samra &lt;<a href="mailto:jean@abou-samra.fr" \
class="">jean@abou-samra.fr</a>&gt; a écrit :</div><br \
class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">Le 09/05/2022 Ã  16:02,<span \
class="Apple-converted-space">&nbsp;</span></span><a href="mailto:me@papilip.me" \
style="font-family: Menlo-Regular; font-size: 13px; font-style: normal; \
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; \
text-align: start; text-indent: 0px; text-transform: none; white-space: normal; \
widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px;" class="">me@papilip.me</a><span style="caret-color: \
rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; \
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: \
inline !important;" class=""><span class="Apple-converted-space">&nbsp;</span>a \
écrit&nbsp;:</span><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; \
font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><blockquote type="cite" style="font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; \
text-indent: 0px; text-transform: none; white-space: normal; widows: auto; \
word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class="">Bonjours à tous,<br class=""><br class="">Je ne \
retrouve pas la bonne méthode pour ajouter :<br class="">\markup { \rounded-box { \
Refrain } } ou ^\markup { \rounded-box { Couplets } }<br class="">entre deux \
portées.<br class=""><br class=""><br class="">Voici mon code simplifié<br \
class="">————————<br class="">\version "2.22.2"<br class=""><br \
class="">refrain_chord = \chordmode { c2 }<br class="">refrain_music = \relative c '{ \
c2 }<br class="">refrain_chant = \lyricmode { refrain }<br class=""><br \
class="">couplets_chord = \chordmode { c2 }<br class="">couplets_music = \relative c \
'{ c2 }<br class="">couplets_chant = \lyricmode { couplets }<br class=""><br \
class="">\bookpart {<br class="">\score {<br class="">\new ChoirStaff &lt;&lt;<br \
class="">\new ChordNames { \refrain_chord }<br class="">\new Staff = "refrain" { \new \
Voice = "refrain" { \refrain_music } }<br class="">\new Lyrics \lyricsto "refrain" { \
\refrain_chant }<br class="">&gt;&gt;<br class="">}<br class="">\score {<br \
class="">\new ChoirStaff &lt;&lt;<br class="">\new ChordNames { \couplets_chord }<br \
class="">\new Staff = "refrain" { \new Voice = "couplets" { \couplets_music } }<br \
class="">\new Lyrics \lyricsto "couplets" { \couplets_chant }<br class="">&gt;&gt;<br \
class="">}<br class="">}<br class="">-----------------<br class=""><br class="">La \
question : où ajouter le fameux markup ?<br class="">Si je l'ajoute sur la première \
note, les accords se trouvent décalés vers le haut et c'est laid.<br \
class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: \
13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">Justement, il faut le mettre  « entre les deux portées  » \
:</span><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: \
13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">\version "2.22.2"</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: \
13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">refrain_chord = \chordmode { c2 }</span><br style="caret-color: \
rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; \
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">refrain_music = \relative c '{ c2 \
}</span><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: \
13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">refrain_chant = \lyricmode { refrain }</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: \
13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">couplets_chord = \chordmode { c2 }</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; \
font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" \
class="">couplets_music = \relative c '{ c2 }</span><br style="caret-color: rgb(0, 0, \
0); font-family: Menlo-Regular; font-size: 13px; font-style: normal; \
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">couplets_chant = \lyricmode { \
couplets }</span><br style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; \
font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">\bookpart {</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; \
font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" class="">\markup \
\rounded-box Refrain</span><br style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \
float: none; display: inline !important;" class="">\score {</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; \
font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: 400; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" class="">\new \
ChoirStaff &lt;&lt;</span><br style="caret-color: rgb(0, 0, 0); font-family: \
Menlo-Regular; font-size: 13px; font-style: normal; font-variant-caps: normal; \
font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span \
style="caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; font-size: 13px; \
font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; \



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic