From: James Lowe Date: Mon, 28 Jun 2010 18:09:12 +0000 (+0100) Subject: Doc: 989 - dot-count-override.ly to NR X-Git-Tag: release/2.13.27-1~60 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=eb714df300ee38e4307d30fb66af2ef1ebadbd81;p=lilypond.git Doc: 989 - dot-count-override.ly to NR amended dot-count-override.ly in ../snippets/new/.. Added to NR 1.2.1. Writing Rhythms as @snippet --- diff --git a/Documentation/notation/rhythms.itely b/Documentation/notation/rhythms.itely index beddde0261..4a2f0ef030 100644 --- a/Documentation/notation/rhythms.itely +++ b/Documentation/notation/rhythms.itely @@ -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 index 0000000000..7d4e7dd538 --- /dev/null +++ b/Documentation/snippets/dot-count-override.ly @@ -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 index 0000000000..8e183fd986 --- /dev/null +++ b/Documentation/snippets/new/dot-count-override.ly @@ -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 | +}