From 5196ed70978794db0d2ec7d73af662c3392f5127 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 8 Mar 2008 19:36:42 -0800 Subject: [PATCH] LSR: update. --- ...ing-an-individual-notes-size-in-a-chord.ly | 2 +- input/lsr/changing-the-staff-size.ly | 12 ++++---- input/lsr/contexts-and-engravers.snippet-list | 1 + input/lsr/nesting-staves.ly | 30 +++++++++++++++++++ input/lsr/staff-notation.snippet-list | 1 + input/lsr/tweaks-and-overrides.snippet-list | 3 +- 6 files changed, 41 insertions(+), 8 deletions(-) create mode 100644 input/lsr/nesting-staves.ly diff --git a/input/lsr/changing-an-individual-notes-size-in-a-chord.ly b/input/lsr/changing-an-individual-notes-size-in-a-chord.ly index afcfe680e0..f2a6558215 100644 --- a/input/lsr/changing-an-individual-notes-size-in-a-chord.ly +++ b/input/lsr/changing-an-individual-notes-size-in-a-chord.ly @@ -19,7 +19,7 @@ The code for the chord example shown: @code{} " } % begin verbatim \header{ - title = "Modify an individual notehead's size in a chord" + title = "Modifying an individual notehead's size in a chord" } Notes = \relative { diff --git a/input/lsr/changing-the-staff-size.ly b/input/lsr/changing-the-staff-size.ly index 2c54e420a8..a272ce4b35 100644 --- a/input/lsr/changing-the-staff-size.ly +++ b/input/lsr/changing-the-staff-size.ly @@ -6,14 +6,14 @@ lsrtags = "staff-notation, tweaks-and-overrides, paper-and-layout" texidoc = " In order to change staff sizes, both @code{staff-space} and -@code{fontSize} must be scaled. +@code{fontSize} must be scaled. + +If you do not want to resize staves individually, the simplest way is +to use @code{#(set-global-staff-size xx)}. " } % begin verbatim -{ +<< \new Staff \relative c'' { \dynamicDown c8 \ff c c c c c c c } -} - -{ \new Staff \with { fontSize = #-3 \override StaffSymbol #'staff-space = #(magstep -3) @@ -22,5 +22,5 @@ In order to change staff sizes, both @code{staff-space} and \clef bass c8 c c c c c c c } -} +>> diff --git a/input/lsr/contexts-and-engravers.snippet-list b/input/lsr/contexts-and-engravers.snippet-list index 7c14c06ec7..0205e5c88f 100644 --- a/input/lsr/contexts-and-engravers.snippet-list +++ b/input/lsr/contexts-and-engravers.snippet-list @@ -6,3 +6,4 @@ vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly changing-time-signatures-inside-a-polymetric-section-using--compressmusic.ly engravers-one-by-one.ly adding-a-figured-bass-above-or-below-the-notes.ly +nesting-staves.ly diff --git a/input/lsr/nesting-staves.ly b/input/lsr/nesting-staves.ly new file mode 100644 index 0000000000..225fa3f85b --- /dev/null +++ b/input/lsr/nesting-staves.ly @@ -0,0 +1,30 @@ +%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it +%% This file is in the public domain. +\version "2.11.38" + +\header { + lsrtags = "staff-notation, contexts-and-engravers, tweaks-and-overrides" + texidoc = " +The property @code{systemStartDelimiterHierarchy} can be used to make +more complex nested staff groups. The command @code{\\set +StaffGroup.systemStartDelimiterHierarchy} takes an alphabetical list of +the number of staves produced. Before each staff a system start +delimiter can be given. It has to be enclosed in brackets and takes as +much staves as the brackets enclose. Elements in the list can be +omitted, but the first bracket takes always the complete number of +staves. The possibilities are @code{SystemStartBar}, +@code{SystemStartBracket}, @code{SystemStartBrace}, and +@code{SystemStartSquare}. +" } +% begin verbatim +\new StaffGroup +\relative c'' << + \set StaffGroup.systemStartDelimiterHierarchy + = #'(SystemStartSquare (SystemStartBrace (SystemStartBracket a + (SystemStartSquare b) ) c ) d) + \new Staff { c1 } + \new Staff { c1 } + \new Staff { c1 } + \new Staff { c1 } + \new Staff { c1 } +>> diff --git a/input/lsr/staff-notation.snippet-list b/input/lsr/staff-notation.snippet-list index b2e781a407..72f0b3a74e 100644 --- a/input/lsr/staff-notation.snippet-list +++ b/input/lsr/staff-notation.snippet-list @@ -12,3 +12,4 @@ clefs-commonly-tweaked-properties.ly quoting-another-voice.ly volta-multi-staff.ly non-traditional-key-signatures.ly +nesting-staves.ly diff --git a/input/lsr/tweaks-and-overrides.snippet-list b/input/lsr/tweaks-and-overrides.snippet-list index f1322ee7d8..e8959b7e1e 100644 --- a/input/lsr/tweaks-and-overrides.snippet-list +++ b/input/lsr/tweaks-and-overrides.snippet-list @@ -21,5 +21,6 @@ changing-the-staff-size.ly coloring-objects.ly clefs-commonly-tweaked-properties.ly vertically-aligning-ossias-and-lyrics.ly -changing-an-individual-notes-size-in-a-chord.ly changing-properties-for-individual-grobs.ly +changing-an-individual-notes-size-in-a-chord.ly +nesting-staves.ly -- 2.39.5