From: Graham Percival Date: Tue, 3 Jul 2007 06:31:45 +0000 (-0700) Subject: LSR: update. X-Git-Tag: release/2.11.28-1~46 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7372d74c3671b433a30efbf7eea34e31cde41377;p=lilypond.git LSR: update. --- diff --git a/input/lsr/ancient/ancient-accidentals.ly b/input/lsr/ancient/ancient-accidentals.ly new file mode 100644 index 0000000000..6e6cd7a26d --- /dev/null +++ b/input/lsr/ancient/ancient-accidentals.ly @@ -0,0 +1,24 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Accidentals are available in different ancient styles, which all are +collected here. + + +" } + +\relative c'' { + \time 5/4 + \override Staff.Accidental #'glyph-name-alist = #alteration-default-glyph-name-alist + cisis^\markup { \typewriter default } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-hufnagel-glyph-name-alist + cisis^\markup { \typewriter hufnagel } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-medicaea-glyph-name-alist + cisis^\markup { \typewriter medicaea } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-vaticana-glyph-name-alist + cisis^\markup { \typewriter vaticana } cis c ces ceses + \override Staff.Accidental #'glyph-name-alist = #alteration-mensural-glyph-name-alist + cisis^\markup { \typewriter mensural } cis c ces ceses +} + diff --git a/input/lsr/engravers/engravers-one-by-one.ly b/input/lsr/engravers/engravers-one-by-one.ly new file mode 100644 index 0000000000..c950efe0ac --- /dev/null +++ b/input/lsr/engravers/engravers-one-by-one.ly @@ -0,0 +1,278 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +The notation problem, creating a certain symbol, is handled by plugins. +Each plugin is called an Engraver. In this example, engravers are +switched on one by one, in the following order: + +- note heads + + +- staff symbol, + + +- clef, + + +- stem, + + +- beams, slurs, accents, + + +- accidentals, bar lines, time signature, and key signature. + + + +Engravers are grouped. For example, note heads, slurs, beams etc. form +a Voice context. Engravers for key, accidental, bar, etc. form a Staff +context. + + +You may only see the first example in this document; please download +this snippet and run it from your own computer. +" } + +%% sample music +topVoice = \relative c' { + \key d\major + es8([ g] a[ fis]) + b4 + b16[-. b-. b-. cis-.] + d4-> +} + +botVoice = \relative c' { + \key d\major + c8[( f] b[ a)] + es4 + es16[-. es-. es-. fis-.] + b4-> +} + +hoom = \relative c { + \key d \major + \clef bass + g8-. r + r4 + fis8-. + r8 + r4 + b'4-> +} + +pah = \relative c' { + r8 b-. + r4 + r8 g8-. + r16 g-. r8 + \clef treble + fis'4-> +} + +% +% setup for Request->Element conversion. Guru-only +% + +MyStaff =\context { + \type "Engraver_group" + \name Staff + + \description "Handles clefs, bar lines, keys, accidentals. It can contain +@code{Voice} contexts." + + + \consists "Output_property_engraver" + + \consists "Font_size_engraver" + + \consists "Volta_engraver" + \consists "Separating_line_group_engraver" + \consists "Dot_column_engraver" + + \consists "Ottava_spanner_engraver" + \consists "Rest_collision_engraver" + \consists "Piano_pedal_engraver" + \consists "Piano_pedal_align_engraver" + \consists "Instrument_name_engraver" + \consists "Grob_pq_engraver" + \consists "Forbid_line_break_engraver" + \consists "Axis_group_engraver" + + \consists "Pitch_squash_engraver" + + \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6) + extraVerticalExtent = ##f + verticalExtent = ##f + localKeySignature = #'() + + % explicitly set instrument, so we don't get + % weird effects when doing instrument names for + % piano staves + + instrumentName = #'() + shortInstrumentName = #'() + + \accepts "Voice" +} + + +MyVoice = \context { + \type "Engraver_group" + \name Voice + + \description " + Corresponds to a voice on a staff. This context handles the + conversion of dynamic signs, stems, beams, super- and subscripts, + slurs, ties, and rests. + + You have to instantiate this explicitly if you want to have + multiple voices on the same staff." + + localKeySignature = #'() + \consists "Font_size_engraver" + + % must come before all + \consists "Output_property_engraver" + \consists "Arpeggio_engraver" + \consists "Multi_measure_rest_engraver" + \consists "Text_spanner_engraver" + \consists "Grob_pq_engraver" + \consists "Note_head_line_engraver" + \consists "Glissando_engraver" + \consists "Ligature_bracket_engraver" + \consists "Breathing_sign_engraver" + % \consists "Rest_engraver" + \consists "Grace_beam_engraver" + \consists "New_fingering_engraver" + \consists "Chord_tremolo_engraver" + \consists "Percent_repeat_engraver" + \consists "Slash_repeat_engraver" + +%{ + Must come before text_engraver, but after note_column engraver. + +%} + \consists "Text_engraver" + \consists "Dynamic_engraver" + \consists "Fingering_engraver" + + \consists "Script_column_engraver" + \consists "Rhythmic_column_engraver" + \consists "Cluster_spanner_engraver" + \consists "Tie_engraver" + \consists "Tie_engraver" + \consists "Tuplet_engraver" + \consists "Note_heads_engraver" + \consists "Rest_engraver" + + \consists "Skip_event_swallow_translator" +} + + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + + +MyStaff = \context { + \MyStaff + \consists "Staff_symbol_engraver" +} + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + +MyStaff = \context { + \MyStaff + \consists "Clef_engraver" + \remove "Pitch_squash_engraver" +} + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + +MyVoice = \context { + \MyVoice + \consists "Stem_engraver" +} + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + +MyVoice = \context { + \MyVoice + \consists "Beam_engraver" +} + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + +MyVoice= \context { + \MyVoice + \consists "Phrasing_slur_engraver" + \consists "Slur_engraver" + \consists "Script_engraver" +} + + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + +MyStaff = \context { + \MyStaff + \consists "Bar_engraver" + \consists "Time_signature_engraver" +} + +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + +MyStaff = \context { + \MyStaff + \consists "Accidental_engraver" + \consists "Key_engraver" +} +\score { + \topVoice + \layout { + \context { \MyStaff } + \context { \MyVoice } + } +} + diff --git a/input/lsr/engravers/removing-time-signature-and-bar-lines.ly b/input/lsr/engravers/removing-time-signature-and-bar-lines.ly new file mode 100644 index 0000000000..9d73b4012d --- /dev/null +++ b/input/lsr/engravers/removing-time-signature-and-bar-lines.ly @@ -0,0 +1,27 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Engravers can be removed one by one. Here, the time signature and bar +lines have been removed. + + +" } + +\score { + \relative c'' { + a b c d + d c b a + } + \layout { + raggedright = ##t + \context { + \Staff + whichBar = #"" + \remove "Time_signature_engraver" + } + } +} + + + diff --git a/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly b/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly new file mode 100644 index 0000000000..0ad69b7e51 --- /dev/null +++ b/input/lsr/expressive/attaching-an-arpeggio-to-different-voices-inside-a-same-staff.ly @@ -0,0 +1,32 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +If you've read the manual, you already know that an arpeggio can be +drawn across to staves in PianoStaff context, if you set the +connectArpeggios property. + +However, printing an arpeggio between two simultaneous chords inside a +same staff (with more than one voice), is a bit more tricky. As the +Span_arpeggio_engraver, which is in charge when arpeggios have to be +connected, is not included by default in the Staff context, you have to +add it by yourself using the \consists command. +" } + +\layout { + \context { + \Staff + \consists Span_arpeggio_engraver + } +} + +\new Staff + { + \set Staff.connectArpeggios = ##t + << + {4\arpeggio 4 2 } + \\ + {2\arpeggio 2 } + >> + +} diff --git a/input/lsr/instrument/adding-drum-parts.ly b/input/lsr/instrument/adding-drum-parts.ly new file mode 100644 index 0000000000..5bf80e3e3b --- /dev/null +++ b/input/lsr/instrument/adding-drum-parts.ly @@ -0,0 +1,45 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +LilyPond makes drums input quite easy, with powerful pre-configured +tools such as the \drummode function and the DrumStaff context: drums +are placed to their own staff positions (with a special clef symbol) +and have note heads according to the drum. You can easily attach an +extra symbol to the drum, and restrict the number of lines. +" } + +drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 } +drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh } +timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb} } + +\score { + \repeat "volta" 2 { + << + \new DrumStaff \with { + drumStyleTable = #timbales-style + \override StaffSymbol #'line-count = #2 + \override BarLine #'bar-size = #2 + } << + \set Staff.instrumentName = "timbales" + \timb + >> + \new DrumStaff << + \set Staff.instrumentName = "drums" + \new DrumVoice {\stemUp \drh } + \new DrumVoice {\stemDown \drl } + >> + >> + } + \layout {} + + \midi { + \context { + \Score + tempoWholesPerMinute = #(ly:make-moment 120 4) + } + } + + +} + diff --git a/input/lsr/nonmusic/all-headers.ly b/input/lsr/nonmusic/all-headers.ly new file mode 100644 index 0000000000..abfeee42c3 --- /dev/null +++ b/input/lsr/nonmusic/all-headers.ly @@ -0,0 +1,48 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +A demonstration of all headers. +" } + +\header { +copyright = "copyright" +title = "title" +subtitle = "subtitle" +composer = "composer" +arranger = "arranger" +instrument = "instrument" +metre = "metre" +opus = "opus" +piece = "piece" +poet = "poet" +texidoc = "All header fields with special meanings." + copyright = "public domain" + enteredby = "jcn" + source = "urtext" + +} + + +\score { + \relative c'' { c1 c1 c1 c1 } +} + +\score { + \relative c'' { c1 c1 c1 c1 } + + \header { + + title = "localtitle" + subtitle = "localsubtitle" + composer = "localcomposer" + arranger = "localarranger" + instrument = "localinstrument" + metre = "localmetre" + opus = "localopus" + piece = "localpiece" + poet = "localpoet" + copyright = "localcopyright" + } +} + diff --git a/input/lsr/other/adding-drum-parts.ly b/input/lsr/other/adding-drum-parts.ly deleted file mode 100644 index 5bf80e3e3b..0000000000 --- a/input/lsr/other/adding-drum-parts.ly +++ /dev/null @@ -1,45 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -LilyPond makes drums input quite easy, with powerful pre-configured -tools such as the \drummode function and the DrumStaff context: drums -are placed to their own staff positions (with a special clef symbol) -and have note heads according to the drum. You can easily attach an -extra symbol to the drum, and restrict the number of lines. -" } - -drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 } -drl = \drummode {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh } -timb = \drummode { \repeat "unfold" 2 {timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb} } - -\score { - \repeat "volta" 2 { - << - \new DrumStaff \with { - drumStyleTable = #timbales-style - \override StaffSymbol #'line-count = #2 - \override BarLine #'bar-size = #2 - } << - \set Staff.instrumentName = "timbales" - \timb - >> - \new DrumStaff << - \set Staff.instrumentName = "drums" - \new DrumVoice {\stemUp \drh } - \new DrumVoice {\stemDown \drl } - >> - >> - } - \layout {} - - \midi { - \context { - \Score - tempoWholesPerMinute = #(ly:make-moment 120 4) - } - } - - -} - diff --git a/input/lsr/other/all-headers.ly b/input/lsr/other/all-headers.ly deleted file mode 100644 index abfeee42c3..0000000000 --- a/input/lsr/other/all-headers.ly +++ /dev/null @@ -1,48 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -A demonstration of all headers. -" } - -\header { -copyright = "copyright" -title = "title" -subtitle = "subtitle" -composer = "composer" -arranger = "arranger" -instrument = "instrument" -metre = "metre" -opus = "opus" -piece = "piece" -poet = "poet" -texidoc = "All header fields with special meanings." - copyright = "public domain" - enteredby = "jcn" - source = "urtext" - -} - - -\score { - \relative c'' { c1 c1 c1 c1 } -} - -\score { - \relative c'' { c1 c1 c1 c1 } - - \header { - - title = "localtitle" - subtitle = "localsubtitle" - composer = "localcomposer" - arranger = "localarranger" - instrument = "localinstrument" - metre = "localmetre" - opus = "localopus" - piece = "localpiece" - poet = "localpoet" - copyright = "localcopyright" - } -} - diff --git a/input/lsr/other/engravers-one-by-one.ly b/input/lsr/other/engravers-one-by-one.ly deleted file mode 100644 index c950efe0ac..0000000000 --- a/input/lsr/other/engravers-one-by-one.ly +++ /dev/null @@ -1,278 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -The notation problem, creating a certain symbol, is handled by plugins. -Each plugin is called an Engraver. In this example, engravers are -switched on one by one, in the following order: - -- note heads - - -- staff symbol, - - -- clef, - - -- stem, - - -- beams, slurs, accents, - - -- accidentals, bar lines, time signature, and key signature. - - - -Engravers are grouped. For example, note heads, slurs, beams etc. form -a Voice context. Engravers for key, accidental, bar, etc. form a Staff -context. - - -You may only see the first example in this document; please download -this snippet and run it from your own computer. -" } - -%% sample music -topVoice = \relative c' { - \key d\major - es8([ g] a[ fis]) - b4 - b16[-. b-. b-. cis-.] - d4-> -} - -botVoice = \relative c' { - \key d\major - c8[( f] b[ a)] - es4 - es16[-. es-. es-. fis-.] - b4-> -} - -hoom = \relative c { - \key d \major - \clef bass - g8-. r - r4 - fis8-. - r8 - r4 - b'4-> -} - -pah = \relative c' { - r8 b-. - r4 - r8 g8-. - r16 g-. r8 - \clef treble - fis'4-> -} - -% -% setup for Request->Element conversion. Guru-only -% - -MyStaff =\context { - \type "Engraver_group" - \name Staff - - \description "Handles clefs, bar lines, keys, accidentals. It can contain -@code{Voice} contexts." - - - \consists "Output_property_engraver" - - \consists "Font_size_engraver" - - \consists "Volta_engraver" - \consists "Separating_line_group_engraver" - \consists "Dot_column_engraver" - - \consists "Ottava_spanner_engraver" - \consists "Rest_collision_engraver" - \consists "Piano_pedal_engraver" - \consists "Piano_pedal_align_engraver" - \consists "Instrument_name_engraver" - \consists "Grob_pq_engraver" - \consists "Forbid_line_break_engraver" - \consists "Axis_group_engraver" - - \consists "Pitch_squash_engraver" - - \override VerticalAxisGroup #'minimum-Y-extent = #'(-6 . 6) - extraVerticalExtent = ##f - verticalExtent = ##f - localKeySignature = #'() - - % explicitly set instrument, so we don't get - % weird effects when doing instrument names for - % piano staves - - instrumentName = #'() - shortInstrumentName = #'() - - \accepts "Voice" -} - - -MyVoice = \context { - \type "Engraver_group" - \name Voice - - \description " - Corresponds to a voice on a staff. This context handles the - conversion of dynamic signs, stems, beams, super- and subscripts, - slurs, ties, and rests. - - You have to instantiate this explicitly if you want to have - multiple voices on the same staff." - - localKeySignature = #'() - \consists "Font_size_engraver" - - % must come before all - \consists "Output_property_engraver" - \consists "Arpeggio_engraver" - \consists "Multi_measure_rest_engraver" - \consists "Text_spanner_engraver" - \consists "Grob_pq_engraver" - \consists "Note_head_line_engraver" - \consists "Glissando_engraver" - \consists "Ligature_bracket_engraver" - \consists "Breathing_sign_engraver" - % \consists "Rest_engraver" - \consists "Grace_beam_engraver" - \consists "New_fingering_engraver" - \consists "Chord_tremolo_engraver" - \consists "Percent_repeat_engraver" - \consists "Slash_repeat_engraver" - -%{ - Must come before text_engraver, but after note_column engraver. - -%} - \consists "Text_engraver" - \consists "Dynamic_engraver" - \consists "Fingering_engraver" - - \consists "Script_column_engraver" - \consists "Rhythmic_column_engraver" - \consists "Cluster_spanner_engraver" - \consists "Tie_engraver" - \consists "Tie_engraver" - \consists "Tuplet_engraver" - \consists "Note_heads_engraver" - \consists "Rest_engraver" - - \consists "Skip_event_swallow_translator" -} - - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - - -MyStaff = \context { - \MyStaff - \consists "Staff_symbol_engraver" -} - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - -MyStaff = \context { - \MyStaff - \consists "Clef_engraver" - \remove "Pitch_squash_engraver" -} - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - -MyVoice = \context { - \MyVoice - \consists "Stem_engraver" -} - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - -MyVoice = \context { - \MyVoice - \consists "Beam_engraver" -} - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - -MyVoice= \context { - \MyVoice - \consists "Phrasing_slur_engraver" - \consists "Slur_engraver" - \consists "Script_engraver" -} - - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - -MyStaff = \context { - \MyStaff - \consists "Bar_engraver" - \consists "Time_signature_engraver" -} - -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - -MyStaff = \context { - \MyStaff - \consists "Accidental_engraver" - \consists "Key_engraver" -} -\score { - \topVoice - \layout { - \context { \MyStaff } - \context { \MyVoice } - } -} - diff --git a/input/lsr/other/removing-time-signature-and-bar-lines.ly b/input/lsr/other/removing-time-signature-and-bar-lines.ly deleted file mode 100644 index 9d73b4012d..0000000000 --- a/input/lsr/other/removing-time-signature-and-bar-lines.ly +++ /dev/null @@ -1,27 +0,0 @@ -%% Do not edit this file; it is auto-generated from LSR! -\version "2.11.23" - -\header { texidoc = " -Engravers can be removed one by one. Here, the time signature and bar -lines have been removed. - - -" } - -\score { - \relative c'' { - a b c d - d c b a - } - \layout { - raggedright = ##t - \context { - \Staff - whichBar = #"" - \remove "Time_signature_engraver" - } - } -} - - - diff --git a/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly b/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly new file mode 100644 index 0000000000..3569f3f5a5 --- /dev/null +++ b/input/lsr/pitch/combining-two-parts-on-the-same-staff.ly @@ -0,0 +1,74 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +The part combiner tool ( \partcombine command ) allows you to combine +different parts on a same Staff. You can choose whether you want or +don't want to add texts such as \"solo\" or \"a2\", by defining the +printPartCombineTexts property. + +For vocal scores (hymns), there is no need to add solo/a2 texts, so +they should be switched off. However, you'd better not use it if there +are any solos, as they won't be indicated. In such cases, you may +simply wan't to use standard LilyPond polyphony. + +This snippet presents the three ways two parts can be printed on a same +staff : standard polyphony, \partcombine whitout texts, and +\partcombine with texts. + + +" } + +musicUp = { \time 4/4 + \relative c'' { + a4 c4.(g8) a4 | + g4 e' g,( a8 b) | + c b a2. + } +} + +musicDown = { + \relative c'' { + g4 e4.(d8) c4 | + r2 g'4( f8 e) | + d2 a + } +} +\score{ + \new Staff { + \set Staff.instrumentName = "Standard polyphony " + << \musicUp \\ \musicDown >> + } + \layout{ + indent = 6.0\cm + } +} + +\score{ + \context Staff { + \set Staff.instrumentName = "PartCombine without texts " + \partcombine \musicUp \musicDown + } + \layout{ + indent = 6.0\cm + \context { + \Voice + printPartCombineTexts = ##f + } + } +} + +\score{ + \context Staff { + \set Staff.instrumentName = "PartCombine with texts " + \partcombine \musicUp \musicDown + } + \layout{ + indent = 6.0\cm + \context { + \Voice + printPartCombineTexts = ##t + } + } +} + diff --git a/input/lsr/pitch/forced-and-cautionary-accidentals.ly b/input/lsr/pitch/forced-and-cautionary-accidentals.ly new file mode 100644 index 0000000000..1a29e94ae3 --- /dev/null +++ b/input/lsr/pitch/forced-and-cautionary-accidentals.ly @@ -0,0 +1,26 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " + Normally accidentals are printed automatically, but you may also print +them manually. A reminder accidental can be forced by adding an +exclamation mark ! after the pitch. A cautionary accidental (i.e., an +accidental within parentheses) can be obtained by adding the question +mark `?' after the pitch. + + + +Cautionary accidentals may be made smaller, or placed inside +parentheses +" } + +{ +cis' cis' cis'! cis'? + + c''4 + cis''?4 + \once \override Staff.AccidentalCautionary #'font-size = #-2 + cis''?4 + \once \override Staff.AccidentalCautionary #'parenthesized = ##t + cis''?4 +} diff --git a/input/lsr/pitch/preventing-stem-extension.ly b/input/lsr/pitch/preventing-stem-extension.ly new file mode 100644 index 0000000000..731a76e0de --- /dev/null +++ b/input/lsr/pitch/preventing-stem-extension.ly @@ -0,0 +1,30 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Extending stems to the center line may be prevented using +@code{no-stem-extend}. + + +" } + +\score { + \context Voice \relative c { + \context Staff << + \new Voice { + f2 f8 g a b + \override Stem #'no-stem-extend = ##t + f2 f8 g a b + } + \new Voice { + c''2 c8 b a g + \override Stem #'no-stem-extend = ##t + c2 c8 b a g + } + >> + + } + +} + + diff --git a/input/lsr/pitch/rest-styles.ly b/input/lsr/pitch/rest-styles.ly new file mode 100644 index 0000000000..c14c92710f --- /dev/null +++ b/input/lsr/pitch/rest-styles.ly @@ -0,0 +1,39 @@ +%% Do not edit this file; it is auto-generated from LSR! +\version "2.11.23" + +\header { texidoc = " +Rests may be used in various styles. + + + +" } + +\layout { + indent = 0.0 + raggedright = ##t +} + +\context Staff \relative c { + \set Score.timing = ##f + \override Staff.Rest #'style = #'mensural + r\maxima^\markup \typewriter { mensural } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + \bar "" + + \override Staff.Rest #'style = #'neomensural + r\maxima^\markup \typewriter { neomensural } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + \bar "" + + \override Staff.Rest #'style = #'classical + r\maxima^\markup \typewriter { classical } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + \bar "" + + \override Staff.Rest #'style = #'default + r\maxima^\markup \typewriter { default } + r\longa r\breve r1 r2 r4 r8 r16 r32 r64 r128 r128 + +} + +