]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc: 989 - dot-count-override.ly to NR
authorJames Lowe <james.lowe@datacore.com>
Mon, 28 Jun 2010 18:09:12 +0000 (19:09 +0100)
committerGraham Percival <graham@percival-music.ca>
Tue, 29 Jun 2010 15:46:01 +0000 (16:46 +0100)
amended dot-count-override.ly in ../snippets/new/..
Added to NR 1.2.1. Writing Rhythms as @snippet

Documentation/notation/rhythms.itely
Documentation/snippets/dot-count-override.ly [new file with mode: 0644]
Documentation/snippets/new/dot-count-override.ly [new file with mode: 0644]

index beddde02611ef3f3a80b77f44cea28497438f62f..4a2f0ef030bc46dd1a07a2e8c6f8521923ba8362 100644 (file)
@@ -112,6 +112,11 @@ Some durations cannot be represented with just binary durations
 and dots; they can be represented only by tying two or more
 notes together.  For details, see @ref{Ties}.
 
+@snippets
+
+@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+{dot-count-override.ly}
+
 For ways of specifying durations for the syllables of lyrics and
 ways of aligning lyrics to notes, see @ref{Vocal music}.
 
diff --git a/Documentation/snippets/dot-count-override.ly b/Documentation/snippets/dot-count-override.ly
new file mode 100644 (file)
index 0000000..7d4e7dd
--- /dev/null
@@ -0,0 +1,22 @@
+% Do not edit this file; it is automatically
+% generated from Documentation/snippets/new
+% This file is in the public domain.
+%% Note: this file works from version 2.13.26
+\version "2.13.26"
+\header {
+  lsrtags = "rhythms,expressive-marks"
+  texidoc = "This code demonstrates how to change the number of
+augmentation dots on a single note."
+  doctitle = "Changing the number of augmentation dots per note"
+} % begin verbatim
+
+
+\relative c' {
+  c4.. a16 r2 |
+  \override Dots #'dot-count = #4
+  c4.. a16 r2 |
+  \override Dots #'dot-count = #0
+  c4.. a16 r2 |
+  \revert Dots #'dot-count
+  c4.. a16 r2 |
+}
diff --git a/Documentation/snippets/new/dot-count-override.ly b/Documentation/snippets/new/dot-count-override.ly
new file mode 100644 (file)
index 0000000..8e183fd
--- /dev/null
@@ -0,0 +1,17 @@
+\version "2.13.26"
+\header {
+  lsrtags = "rhythms,expressive-marks"
+  texidoc = "This code demonstrates how to change the number of
+augmentation dots on a single note."
+  doctitle = "Changing the number of augmentation dots per note"
+}
+
+\relative c' {
+  c4.. a16 r2 |
+  \override Dots #'dot-count = #4
+  c4.. a16 r2 |
+  \override Dots #'dot-count = #0
+  c4.. a16 r2 |
+  \revert Dots #'dot-count
+  c4.. a16 r2 |
+}