X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fnumbering-groups-of-measures.ly;h=17d731c7b697293cb2157a2c6e2f55e3fcfd6f73;hb=48c0f8c8843785c20f84bd113c6dea1a0c95a70c;hp=7c082bed1b5ec7dfbdbd4dbfae296e7b5fc28df5;hpb=5bb39c99a009d065d767b17bf32ef4494c9da147;p=lilypond.git diff --git a/Documentation/snippets/numbering-groups-of-measures.ly b/Documentation/snippets/numbering-groups-of-measures.ly index 7c082bed1b..17d731c7b6 100644 --- a/Documentation/snippets/numbering-groups-of-measures.ly +++ b/Documentation/snippets/numbering-groups-of-measures.ly @@ -1,35 +1,39 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.7 -\version "2.17.7" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.18.0" \header { lsrtags = "contexts-and-engravers, editorial-annotations, repeats, staff-notation" texidoc = " -This snippet demonstrates the use of the @code{Measure_counter_engraver} to -number groups of successive measures. Any stretch of measures may be numbered, -whether consisting of repetitions or not. +This snippet demonstrates the use of the +@code{Measure_counter_engraver} to number groups of successive +measures. Any stretch of measures may be numbered, whether consisting +of repetitions or not. + + +The engraver must be added to the appropriate context. Here, a +@code{Staff} context is used; another possibility is a @code{Dynamics} +context. -The engraver must be added to the appropriate context. Here, a @code{Staff} -context is used; another possibility is a @code{Dynamics} context. The counter is begun with @code{\\startMeasureCount} and ended with -@code{\\stopMeasureCount}. Numbering will start by default with @code{1}, but -this behavior may be modified by overriding the @code{count-from} property. +@code{\\stopMeasureCount}. Numbering will start by default with +@code{1}, but this behavior may be modified by overriding the +@code{count-from} property. -When a measure extends across a line break, the number will appear twice, the -second time in parentheses. + +When a measure extends across a line break, the number will appear +twice, the second time in parentheses. " doctitle = "Numbering groups of measures" } % begin verbatim - \layout { \context { \Staff