From fe98061250a3f14181bcdc119ce0d66ddfdbd444 Mon Sep 17 00:00:00 2001 From: Phil Holmes Date: Sun, 27 Dec 2015 16:13:15 +0000 Subject: [PATCH] Minor change to correct snippet --- ...printing-bar-numbers-with-changing-regular-intervals.ly | 6 +++--- ...printing-bar-numbers-with-changing-regular-intervals.ly | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly b/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly index e15ba70f11..5d2fbf5605 100644 --- a/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly +++ b/Documentation/snippets/new/printing-bar-numbers-with-changing-regular-intervals.ly @@ -9,13 +9,13 @@ The bar number interval can be changed by changing the context function " doctitle = "Printing bar numbers with changing, regular intervals" -} % begin verbatim +} \relative c' { \override Score.BarNumber.break-visibility = #end-of-line-invisible \context Score \applyContext #(set-bar-number-visibility 4) - \repeat unfold 10 c''1 + \repeat unfold 10 c'1 \context Score \applyContext #(set-bar-number-visibility 2) - \repeat unfold 10 c'' + \repeat unfold 10 c } diff --git a/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly b/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly index 62c65c418c..106db138a8 100644 --- a/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly +++ b/Documentation/snippets/printing-bar-numbers-with-changing-regular-intervals.ly @@ -19,10 +19,11 @@ The bar number interval can be changed by changing the context function } % begin verbatim + \relative c' { \override Score.BarNumber.break-visibility = #end-of-line-invisible \context Score \applyContext #(set-bar-number-visibility 4) - \repeat unfold 10 c''1 + \repeat unfold 10 c'1 \context Score \applyContext #(set-bar-number-visibility 2) - \repeat unfold 10 c'' -} % begin verbatim + \repeat unfold 10 c +} -- 2.39.2