]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: NR 1.2 Rhythms: Clear more TODOs
authorTrevor Daniels <t.daniels@treda.co.uk>
Sun, 2 Nov 2008 10:31:53 +0000 (10:31 +0000)
committerTrevor Daniels <t.daniels@treda.co.uk>
Sun, 2 Nov 2008 10:32:31 +0000 (10:32 +0000)
 - Change inline to snippets
 - Minor text changes

Documentation/user/rhythms.itely
input/new/specifying-context-with-beatgrouping.ly [new file with mode: 0644]

index 44932fcb617e75e0a5228ae4a1b0b78a7dabca7d..6f55f8f960be94e61d0bf689a735d0230422e2a5 100644 (file)
@@ -892,24 +892,25 @@ Mensural time signatures are covered in
 
 @snippets
 
-@c TODO Send as snippet called "Changing the time signature without affecting the beat length"
+@c TODO Replace by snippet called "Changing the time signature without affecting the beaming"
+@c      Submitted to LSR 2 Nov 08
 
 The @code{\time} command sets the properties
-@code{timeSignatureFraction}, @code{beatLength}, and
-@code{measureLength} in the @code{Timing} context, which is
+@code{timeSignatureFraction}, @code{beatLength}, @code{beatGrouping}
+and @code{measureLength} in the @code{Timing} context, which is
 normally aliased to @code{Score}.  Changing the value of
 @code{timeSignatureFraction} causes the new time signature symbol
-to be printed without changing the other properties:
+to be printed without changing any of the other properties:
 
 @lilypond[quote,verbatim,relative=2]
 \time 3/4
 a16 a a a a a a a a a a a
-% Change time signature but keep 3/4 beaming
-% due to unchanged beatLength
+% Change time signature symbol but keep 3/4 beaming
+% due to unchanged underlying time signature
 \set Score.timeSignatureFraction = #'(12 . 16)
 a16 a a a a a a a a a a a
 \time 12/16
-% Lose 3/4 beaming now beatLength has changed to 16
+% Lose 3/4 beaming now \time has been changed
 a16 a a a a a a a a a a a
 @end lilypond
 
@@ -1505,32 +1506,8 @@ beats in each group.
 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
 {grouping-beats.ly}
 
-@c TODO Convert to snippet called "Specifying context with beatGrouping"
-
-By specifying the context, the effect of @code{beatGrouping} can be
-limited to the context specified, and the values set in higher-level
-contexts overridden:
-
-@lilypond[quote,verbatim]
-\score {
-  \new Staff <<
-    \time 7/8
-    \new Voice {
-      \relative c'' {
-        \set Staff.beatGrouping = #'(2 3 2)
-        a8 a a a a a a
-      }
-    }
-    \new Voice {
-      \relative c' {
-        \voiceTwo
-        \set Voice.beatGrouping = #'(1 3 3)
-        f8 f f f f f f
-      }
-    }
-  >>
-}
-@end lilypond
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+{specifying-context-with-beatgrouping.ly}
 
 
 @c TODO Send as snippet?
@@ -1839,8 +1816,8 @@ g a]
 
 @snippets
 
-@c TODO Add snippet "Flat flags and beam nibs" when available
-@c Added to LSR 27 Oct 08
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+{flat-flags-and-beam-nibs.ly}
 
 @node Feathered beams
 @unnumberedsubsubsec Feathered beams
diff --git a/input/new/specifying-context-with-beatgrouping.ly b/input/new/specifying-context-with-beatgrouping.ly
new file mode 100644 (file)
index 0000000..e3ee512
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.11.61"
+
+\header {
+  lsrtags = "rhythms"
+  texidoc = "
+By specifying the context, the effect of @code{beatGrouping} can be
+limited to the context specified, and the values which may have
+been set in higher-level contexts can be overridden:
+"
+  doctitle = "Specifying context with beatGrouping"
+}
+
+\score {
+  \new Staff <<
+    \time 7/8
+    \new Voice {
+      \relative c'' {
+        \set Staff.beatGrouping = #'(2 3 2)
+        a8 a a a a a a
+      }
+    }
+    \new Voice {
+      \relative c' {
+        \voiceTwo
+        \set Voice.beatGrouping = #'(1 3 3)
+        f8 f f f f f f
+      }
+    }
+  >>
+}