% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
%% This file is in the public domain.
\version "2.17.6"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
(par-y (ly:grob-parent grob Y))
(dir (ly:grob-property par-y 'direction))
(new-stencil (ly:stencil-aligned-to
- (ly:stencil-combine-at-edge
- (ly:stencil-aligned-to stencil X CENTER)
- Y dir
- (ly:stencil-aligned-to (grob-interpret-markup grob text) X CENTER))
- X LEFT))
+ (ly:stencil-combine-at-edge
+ (ly:stencil-aligned-to stencil X CENTER)
+ Y dir
+ (ly:stencil-aligned-to (grob-interpret-markup grob text) X CENTER))
+ X LEFT))
(staff-space (ly:output-def-lookup (ly:grob-layout grob) 'staff-space))
(staff-line-thickness (ly:output-def-lookup (ly:grob-layout grob) 'line-thickness))
(grob-name (lambda (x) (assq-ref (ly:grob-property x 'meta) 'name)))
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "contexts-and-engravers, midi, real-music"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
creating-blank-staves.ly
cross-staff-stems.ly
defining-an-engraver-in-scheme--ambitus-engraver.ly
+displaying-a-whole-grandstaff-system-if-only-one-of-its-staves-is-alive.ly
engravers-one-by-one.ly
mensurstriche-layout-bar-lines-between-the-staves.ly
nesting-staves.ly
--- /dev/null
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.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.16.0"
+
+\header {
+ lsrtags = "contexts-and-engravers"
+
+ texidoc = "
+In orchestral scores sometimes single or groups of instruments are
+silent for a while and their staves can be removed for that time (with
+@code{\\removeEmptStaves}).
+
+
+When they play again it is often preferred to show the staves of all
+instruments of such a group. this can be done adding the
+@code{Keep_alive_together_engraver} in the grouper (e.g. a GrandStaff
+or a StaffGroup)
+
+
+In the example the violins are silent in the 2nd system and in the 3rd
+system. Only the first violin plays the last measure but the staff of
+the second violin is also displayed.
+
+"
+ doctitle = "Displaying a whole GrandStaff system if only one of its staves is alive"
+} % begin verbatim
+
+\score {
+ <<
+ \new StaffGroup = "StaffGroup_woodwinds" <<
+ \new Staff = "Staff_flute" \with {
+ instrumentName = "Flute"
+ shortInstrumentName = "Fl"}
+ \relative { \repeat unfold 3 { c'4 c c c | c c c c | c c c c | \break } }
+ >>
+ \new StaffGroup = "StaffGroup_Strings" <<
+ \new GrandStaff = "GrandStaff_violins" <<
+ \new Staff = "StaffViolinI" \with {
+ instrumentName = "Violin I"
+ shortInstrumentName = "Vi I"}
+ \relative c'' { a1 \repeat unfold 7 { s1 } \repeat unfold 12 a16 a4}
+ \new Staff = "StaffViolinII" \with {
+ instrumentName = "Violin II"
+ shortInstrumentName = "Vi II"}
+ \relative { e1 \repeat unfold 8 { s1 } }
+ >>
+ \new Staff = "Staff_cello" \with {
+ instrumentName = "Cello"
+ shortInstrumentName = "Ce"}
+ \relative c { \clef bass \repeat unfold 9 { c1 }}
+ >>
+ >>
+}
+\layout {
+ \context {
+ \GrandStaff
+ \consists Keep_alive_together_engraver
+ }
+ \context {
+ \Staff
+ \RemoveEmptyStaves
+ }
+}
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
% INSPIRATIONAL HEADER FOR LILYPOND DOCUMENTATION fretted-strings %
% Passage from Johann Kaspar Mertz "Opern Revue, Op. 8, no. 17" %
% on melodies from Bellini's "Norma" %
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "pitches, really-cool, scheme-language"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "text"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.17.5
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.5"
+\version "2.17.6"
\header {
lsrtags = "headword"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.5"
+\version "2.17.6"
\header {
lsrtags = "repeats"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\include "catalan.ly"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "paper-and-layout"
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.17.0"
+\version "2.17.6"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.17.4
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {
% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.16.0
+%% Note: this file works from version 2.17.6
\version "2.17.6"
\header {