From e639086105f7fc68e013e2b856f4557d6cc9c6f1 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 9 Oct 2010 19:04:29 +0100 Subject: [PATCH] Doc: remove a few more \new Score constructs. --- Documentation/included/percussion-chart.ly | 12 +++++++++--- Documentation/web/ly-examples/cary.ly | 6 ++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Documentation/included/percussion-chart.ly b/Documentation/included/percussion-chart.ly index cdbc6d7883..647c55914d 100644 --- a/Documentation/included/percussion-chart.ly +++ b/Documentation/included/percussion-chart.ly @@ -13,9 +13,8 @@ This chart shows all percussion and drum notes." myBreak = { \bar " " \break } -\new Score \with { - \remove "Bar_number_engraver" -} \new DrumStaff \with { +\score { + \new DrumStaff \with { \remove "Time_signature_engraver" } \context DrumVoice { @@ -64,5 +63,12 @@ trim ^"mutetriangle: trim" tri ^"triangle: tri" trio ^"opentriangle: trio" \ ua ^"oneup: ua" ub ^"twoup: ub" uc ^"threeup: uc" ud ^"fourup: ud" ue ^"fiveup: ue" \myBreak da ^"onedown: da" db ^"twodown: db" dc ^"threedown: dc" dd ^"fourdown: dd" de ^"fivedown: de" \myBreak } +} + \layout { + \context { + \Score + \remove "Bar_number_engraver" + } + } } diff --git a/Documentation/web/ly-examples/cary.ly b/Documentation/web/ly-examples/cary.ly index b7e0e4eed4..9de0de0e4e 100644 --- a/Documentation/web/ly-examples/cary.ly +++ b/Documentation/web/ly-examples/cary.ly @@ -28,7 +28,8 @@ \include "english.ly" \include "cary-layout.ily" -\new Score << +\score { + << \new StaffGroup << @@ -392,4 +393,5 @@ } >> >> ->> + >> +} -- 2.39.5