%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.20"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
} % begin verbatim
\relative c'' {
- \compressFullBarRests
- R1*2 | R1*5 | R1*9
- \override MultiMeasureRest.expand-limit = #3
- R1*2 | R1*5 | R1*9
+ \compressMMRests {
+ R1*2 | R1*5 | R1*9
+ \override MultiMeasureRest.expand-limit = #3
+ R1*2 | R1*5 | R1*9
+ }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.20"
\header {
lsrtags = "staff-notation, workaround"
}
{
- \compressFullBarRests
- \example
- R1
- R1
- \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0)
- \example
+ \compressMMRests {
+ \example
+ R1
+ R1
+ \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0)
+ \example
+ }
}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.20"
\header {
lsrtags = "rhythms, text"
} % begin verbatim
\relative c' {
- \compressFullBarRests
- \textLengthOn
- <>^\markup { [MAJOR GENERAL] }
- R1*19
- <>_\markup { \italic { Cue: ... it is yours } }
- <>^\markup { A }
- R1*30^\markup { [MABEL] }
- \textLengthOff
- c4^\markup { CHORUS } d f c
+ \compressMMRests {
+ \textLengthOn
+ <>^\markup { [MAJOR GENERAL] }
+ R1*19
+ <>_\markup { \italic { Cue: ... it is yours } }
+ <>^\markup { A }
+ R1*30^\markup { [MABEL] }
+ \textLengthOff
+ c4^\markup { CHORUS } d f c
+ }
}
--- /dev/null
+
+\version "2.19.20"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ texidoc = "
+If there are ten or fewer measures of rests, a series of longa and
+breve rests (called in German @qq{Kirchenpausen} - church rests) is
+printed within the staff; otherwise a simple line is shown. This
+default number of ten may be changed by overriding the
+@code{expand-limit} property.
+
+"
+ doctitle = "Changing form of multi-measure rests"
+}
+
+\relative c'' {
+ \compressMMRests {
+ R1*2 | R1*5 | R1*9
+ \override MultiMeasureRest.expand-limit = #3
+ R1*2 | R1*5 | R1*9
+ }
+}
--- /dev/null
+
+\version "2.19.20"
+
+\header {
+ lsrtags = "staff-notation, workaround"
+
+ texidoc = "
+By default, metronome marks do not influence horizontal spacing. This
+can be solved through a simple override, as shown in the second half of
+the example.
+
+"
+ doctitle = "Forcing measure width to adapt to MetronomeMark's width"
+}
+
+example = {
+ \tempo "Allegro"
+ R1*6
+ \tempo "Rall."
+ R1*2
+ \tempo "A tempo"
+ R1*8
+}
+
+{
+ \compressMMRests {
+ \example
+ R1
+ R1
+ \override Score.MetronomeMark.extra-spacing-width = #'(-3 . 0)
+ \example
+ }
+}
--- /dev/null
+
+\version "2.19.20"
+
+\header {
+ lsrtags = "rhythms, text"
+
+ texidoc = "
+Markups attached to a multi-measure rest will be centered above or
+below it. Long markups attached to multi-measure rests do not cause
+the measure to expand. To expand a multi-measure rest to fit the
+markup, use an empty chord with an attached markup before the
+multi-measure rest.
+
+Text attached to a spacer rest in this way is left-aligned to the
+position where the note would be placed in the measure, but if the
+measure length is determined by the length of the text, the text will
+appear to be centered.
+
+"
+ doctitle = "Multi-measure rest markup"
+}
+
+\relative c' {
+ \compressMMRests {
+ \textLengthOn
+ <>^\markup { [MAJOR GENERAL] }
+ R1*19
+ <>_\markup { \italic { Cue: ... it is yours } }
+ <>^\markup { A }
+ R1*30^\markup { [MABEL] }
+ \textLengthOff
+ c4^\markup { CHORUS } d f c
+ }
+}
--- /dev/null
+
+\version "2.19.20"
+
+\header {
+ lsrtags = "rhythms, tweaks-and-overrides"
+
+ texidoc = "
+Unlike ordinary rests, there is no predefined command to change the
+staff position of a multi-measure rest symbol of either form by
+attaching it to a note. However, in polyphonic music multi-measure
+rests in odd-numbered and even-numbered voices are vertically
+separated. The positioning of multi-measure rests can be controlled as
+follows:
+
+"
+ doctitle = "Positioning multi-measure rests"
+}
+
+\relative c'' {
+ % Multi-measure rests by default are set under the fourth line
+ R1
+ % They can be moved using an override
+ \override MultiMeasureRest.staff-position = #-2
+ R1
+ \override MultiMeasureRest.staff-position = #0
+ R1
+ \override MultiMeasureRest.staff-position = #2
+ R1
+ \override MultiMeasureRest.staff-position = #3
+ R1
+ \override MultiMeasureRest.staff-position = #6
+ R1
+ \revert MultiMeasureRest.staff-position
+ \break
+
+ % In two Voices, odd-numbered voices are under the top line
+ << { R1 } \\ { a1 } >>
+ % Even-numbered voices are under the bottom line
+ << { a1 } \\ { R1 } >>
+ % Multi-measure rests in both voices remain separate
+ << { R1 } \\ { R1 } >>
+
+ % Separating multi-measure rests in more than two voices
+ % requires an override
+ << { R1 } \\ { R1 } \\
+ \once \override MultiMeasureRest.staff-position = #0
+ { R1 }
+ >>
+
+ % Using compressed bars in multiple voices requires another override
+ % in all voices to avoid multiple instances being printed
+ \compressMMRests
+ <<
+ \revert MultiMeasureRest.direction
+ { R1*3 }
+ \\
+ \revert MultiMeasureRest.direction
+ { R1*3 }
+ >>
+}
--- /dev/null
+
+\version "2.19.20"
+
+\header {
+ lsrtags = "headword"
+
+ texidoc = "
+Vocal headword
+
+"
+ doctitle = "Vocal headword"
+}
+
+%% http://lsr.di.unimi.it/LSR/Item?id=832
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/vocal-music
+
+% L. van Beethoven. Symphony No. 9 in D minor, op.125; Finale
+% mm. 216 -- 236
+% Text: F. von Schiller
+
+\score {
+ \new Staff \relative c' {
+ \set Score.currentBarNumber = 216
+ \bar "" % make first bar number be shown
+ \clef bass \key d \minor \time 3/4
+ % \tempo "Presto"
+ % \compressMMRests R2.*8
+ \tempo "Recitativo"
+ \autoBeamOff
+ r4^\markup { \small Baritono } r a
+ \appoggiatura a8 e'2. ~
+ e4 d8[ cis d e]
+ e4 g, r8 g
+ bes2 a8 e
+ g4 f r
+ R2.*2
+ gis2 gis4
+ r4 d'4. b8
+ b4 gis8([ a b cis]
+ e8[ d cis d)] b([ gis)]
+ e8 d d4 fis8([ e)]
+ d4 cis r
+ \key d \major
+ r4 r a'
+ d4.( e8[ fis e)]
+ e([ d)] d([ cis d a)]
+ g8([ fis)] fis([ e d c)]
+ c8([ b)] g'2~
+ \once \override Script.outside-staff-priority = #1 % put fermata closer to staff
+ g4.\fermata ^\markup { \small \italic "ad libitum" } e8[ cis!] d
+ d8 a a4 r \bar "||"
+
+ % \time 4/4 \tempo "Allegro assai"
+ % R1
+ % e''4^\f d r2
+ % R1
+ % e4( ^\f d2) a8([ g)]
+ }
+ \addlyrics {
+ O Freun -- _ _ de, nicht die -- _ se Tö -- ne!
+ Son -- dern laßt uns an -- _ ge -- neh -- me -- re an -- stim -- men,
+ und freu -- _ _ _ _ _ _ _ den -- vol -- le -- re!
+ % Freu -- de, Freu -- de,__
+ }
+}
--- /dev/null
+
+\version "2.19.20"
+
+\header {
+ lsrtags = "headword"
+
+ texidoc = "
+Wind headword
+
+"
+ doctitle = "Wind headword"
+}
+
+%% http://lsr.di.unimi.it/LSR/Item?id=833
+%% see also http://lilypond.org/doc/v2.18/Documentation/notation/wind-instruments
+
+% NR 2.whatever Wind
+% Tchaikovsky
+% Nutcracker Suite, VII Dance of the Merlitons
+\score {
+ \new StaffGroup <<
+ \new Staff \relative c'' {
+ \set Staff.instrumentName = "Flauto I,II"
+ \once \override Score.RehearsalMark.self-alignment-X = #-1
+ \once \override Score.RehearsalMark.break-align-symbols = #'(time-signature)
+ \once \override Score.TimeSignature.break-align-anchor-alignment = #LEFT
+ \once \override Score.RehearsalMark.padding = #4
+ \mark \markup \large \bold {Moderato assai}
+ \key d \major
+ \time 2/4
+ \compressMMRests R2*2
+ <d a>16-.\p <cis g>-. <d a>-. <cis g>-. <d a>8-. <cis g>-.
+ <e a,>-.\< <d a>32( <fis d> <a fis> <d a> <fis d>4--)\mf
+ <g d>16-. <fis cis>-. <g d>-. <fis cis>-.
+ <e b>(\> <d a>) <a fis>-. <fis d>-.\!
+ <d bes>4--\sf \acciaccatura {<d' bes>8} <cis a>4--\mf
+ }
+ \new Staff \relative c' {
+ \set Staff.instrumentName = "Flauto III"
+ \key d \major
+ \time 2/4
+ \compressMMRests R2*2_\markup{Gr.Fl.}
+ fis16-.\p e-. fis-. e-. fis8-. e-.
+ g8-.\< fis32( a d fis a4--)\mf
+ b16-. a-. b-. a-. g(\> fis) d-. a-.\!
+ g4--\sf \acciaccatura fis'8 g4--\mf
+ }
+ >>
+}
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.20"
\header {
lsrtags = "rhythms, tweaks-and-overrides"
% Using compressed bars in multiple voices requires another override
% in all voices to avoid multiple instances being printed
- \compressFullBarRests
+ \compressMMRests
<<
\revert MultiMeasureRest.direction
{ R1*3 }
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.20"
\header {
lsrtags = "headword"
\bar "" % make first bar number be shown
\clef bass \key d \minor \time 3/4
% \tempo "Presto"
- % \compressFullBarRests R2.*8
+ % \compressMMRests R2.*8
\tempo "Recitativo"
\autoBeamOff
r4^\markup { \small Baritono } r a
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.20"
\header {
lsrtags = "headword"
\mark \markup \large \bold {Moderato assai}
\key d \major
\time 2/4
- \compressFullBarRests
- R2*2
+ \compressMMRests R2*2
<d a>16-.\p <cis g>-. <d a>-. <cis g>-. <d a>8-. <cis g>-.
<e a,>-.\< <d a>32( <fis d> <a fis> <d a> <fis d>4--)\mf
<g d>16-. <fis cis>-. <g d>-. <fis cis>-.
\set Staff.instrumentName = "Flauto III"
\key d \major
\time 2/4
- \compressFullBarRests
- R2*2_\markup{Gr.Fl.}
+ \compressMMRests R2*2_\markup{Gr.Fl.}
fis16-.\p e-. fis-. e-. fis8-. e-.
g8-.\< fis32( a d fis a4--)\mf
b16-. a-. b-. a-. g(\> fis) d-. a-.\!