]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/compound-time-signatures.ly
Doc-fr: updates texidocs
[lilypond.git] / Documentation / snippets / new / compound-time-signatures.ly
index 04dc1c2359f91a452081dae5d50b0928e92c768f..693ed0046996bd56acb86f3409fcb6eeae8d5e6d 100644 (file)
@@ -1,30 +1,21 @@
-\version "2.14.0"
+\version "2.17.15"
 
 \header {
   lsrtags = "rhythms"
+
   texidoc = "
-Odd 20th century time signatures (such as \"5/8\") can often be played
-as compound time signatures (e.g. \"3/8 + 2/8\"), which combine two or
-more inequal metrics. LilyPond can make such music quite easy to read
-and play, by explicitly printing the compound time signatures and
-adapting the automatic beaming behavior. (Graphic measure grouping
-indications can also be added; see the appropriate snippet in this
-database.)
+Odd 20th century time signatures (such as \\\"5/8\\\") can often be
+played as compound time signatures (e.g. \\\"3/8 + 2/8\\\"), which
+combine two or more inequal metrics. LilyPond can make such music quite
+easy to read and play, by explicitly printing the compound time
+signatures and adapting the automatic beaming behavior.
+
 "
   doctitle = "Compound time signatures"
 }
 
-#(define ((compound-time one two num) grob)
-   (grob-interpret-markup grob
-                          (markup #:override '(baseline-skip . 0) #:number
-                                  (#:line ((#:column (one num))
-                                           #:vcenter "+"
-                                           (#:column (two num)))))))
-
 \relative c' {
-  \override Staff.TimeSignature #'stencil = #(compound-time "2" "3" "8")
-  \time 5/8
-  \set Staff.beatStructure = #'(2 3)
+  \compoundMeter #'((2 8) (3 8))
   c8 d e fis gis
   c8 fis, gis e d
   c8 d e4 gis8