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

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

Re: Ajouter du texte précédent une portée en milleu de partition


From: Larix
Subject: Re: Ajouter du texte précédent une portée en milleu de partition
Date: Wed, 12 Jul 2017 00:02:00 -0700 (MST)

Bonjour Pierre,

Un grand merci pour ton exemple de code et de ton conseil d'y ajouter un
exemple de code. 

Sur ton conseil,  j'ai intégré ton code. Pour une raison que j'ignore, le
coda se met au début et non après la coupure de portée. Il doit certainement
manquer une indication, laquelle et ou la placer?

Voici mon code minimal:

\version "2.18.2"

global = {
  \key g \major
  \time 4/4
}

thoseChords = \chordmode {
  \global
  c2 g2
  d2 e4:m7 s4
  c2 g2
  d2 s4 e4:m7
  c2 g2
  d2 g2
  e2:m7  c2:2
  d2 g2
  g2 c2
  d2 e2:m
  c2 g2

}


melody = \relative c' {
  \global

  r2 r4 a'8 b8 %30
  c8 c8 b8 b8~b8 a8 g8 c8~ %31
  c8 b4 a8~a4 b8 b8 % 32
  \bar ".|:"
  b8 b8 b8 g8~g4 g8 g8 %33
  f8 f8 f4 g4 r8 g8 %34
  b8 d8 d8 d8~d8 c8 b4 %35
  a8 b8 c4 b4 r8 d8 %36
  d8 e8 f8 g8~g8 f8 e4 %37
  d8 e8 d4 b4 r8 g8 %38
  g8 g8 g8 g8~g8 g8~g8 c8 %39
  (c8) b4 a8~a4 b8  b8   \bar ":|."  %40
  \stopStaff s1

  % transition pour changer le rythme
  r2 r4 b8 d8 e4. d4. c4~c4 r4 d8 d8 d4 e1
}

\score{
  \new StaffGroup
  <<

    \new ChordNames {
      \thoseChords
    }
    \new Staff {
      \new Voice = "one" {
        \global
        \melody
      }
    }

  >>


  \layout {

    \context {
      \Staff
      \remove System_start_delimiter_engraver
      instrumentName = \markup\center-column { \large\musicglyph
#"scripts.coda" \vspace #.3 C O D A }
    }

    \context {
      \TabStaff
      \omit Clef
    }

  }

}




Stéphane







--
View this message in context: 
http://lilypond-french-users.1298960.n2.nabble.com/Ajouter-du-texte-precedent-une-portee-en-milleu-de-partition-tp7585067p7585070.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.



reply via email to

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