From 262abf17c7827e88e3d509100c43920c8e225bec Mon Sep 17 00:00:00 2001 From: Phil Holmes Date: Mon, 28 Jul 2014 14:57:13 +0100 Subject: [PATCH] Phase two of pruning snippets/new --- Documentation/de/notation/rhythms.itely | 2 +- Documentation/es/notation/rhythms.itely | 2 +- Documentation/fr/notation/rhythms.itely | 2 +- Documentation/it/notation/rhythms.itely | 2 +- Documentation/ja/notation/rhythms.itely | 2 +- Documentation/notation/rhythms.itely | 2 +- .../snippets/correction-wanted.snippet-list | 1 - ...l-tuplets-using-only-one--times-command.ly | 36 --- ...-tuplets-using-only-one--tuplet-command.ly | 34 +++ Documentation/snippets/expressive-headword.ly | 26 +- .../extending-glissandi-across-repeats.ly | 32 +-- Documentation/snippets/fretted-headword.ly | 37 +-- .../snippets/generating-custom-flags.ly | 20 +- .../snippets/glissandi-can-skip-grobs.ly | 22 +- Documentation/snippets/guitar-slides.ly | 23 +- .../hammer-on-and-pull-off-using-chords.ly | 18 +- .../hammer-on-and-pull-off-using-voices.ly | 20 +- .../snippets/hammer-on-and-pull-off.ly | 16 +- ...y-customized-polymetric-time-signatures.ly | 16 +- ...ynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly | 36 +-- ...ove-and-below-the-same-barline-method-1.ly | 44 ++- Documentation/snippets/incipit.ly | 64 ++--- ...ore-fragments-above-a-staff,-as-markups.ly | 16 +- Documentation/snippets/jazz-combo-template.ly | 18 +- Documentation/snippets/keyboard-headword.ly | 15 +- .../snippets/making-glissandi-breakable.ly | 22 +- ...ulti-measure-rests-in-a-polyphonic-part.ly | 16 +- ...l-tuplets-using-only-one--times-command.ly | 28 -- .../snippets/new/expressive-headword.ly | 268 ----------------- .../new/extending-glissandi-across-repeats.ly | 62 ---- .../snippets/new/fretted-headword.ly | 142 --------- .../snippets/new/generating-custom-flags.ly | 62 ---- .../snippets/new/glissandi-can-skip-grobs.ly | 13 - Documentation/snippets/new/guitar-slides.ly | 45 --- .../hammer-on-and-pull-off-using-chords.ly | 21 -- .../hammer-on-and-pull-off-using-voices.ly | 20 -- .../snippets/new/hammer-on-and-pull-off.ly | 18 -- ...y-customized-polymetric-time-signatures.ly | 35 --- ...ynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly | 168 ----------- ...ove-and-below-the-same-barline-method-1.ly | 47 --- Documentation/snippets/new/incipit.ly | 267 ----------------- ...ore-fragments-above-a-staff,-as-markups.ly | 39 --- .../snippets/new/jazz-combo-template.ly | 272 ------------------ .../snippets/new/keyboard-headword.ly | 242 ---------------- .../new/making-glissandi-breakable.ly | 31 -- ...ulti-measure-rests-in-a-polyphonic-part.ly | 35 --- .../new/numbering-groups-of-measures.ly | 53 ---- .../new/numbers-as-easy-note-heads.ly | 54 ---- .../snippets/new/pitches-headword.ly | 137 --------- .../new/positioning-multi-measure-rests.ly | 59 ---- .../printing-hairpins-in-various-styles.ly | 30 -- ...uoting-another-voice-with-transposition.ly | 42 --- .../redefining-grace-note-global-defaults.ly | 33 --- .../new/score-for-diatonic-accordion.ly | 240 ---------------- .../snippets/new/strict-beat-beaming.ly | 21 -- .../new/string-number-extender-lines.ly | 34 --- .../using-a-tick-as-the-breath-mark-symbol.ly | 25 -- .../new/using-alternative-flag-styles.ly | 33 --- .../new/using-an-extra-voice-for-breaks.ly | 41 --- ...ng-grace-note-slashes-with-normal-heads.ly | 18 -- ...ically-aligned-dynamics-and-textscripts.ly | 34 --- .../new/woodwind-diagrams-key-lists.ly | 30 -- .../snippets/numbering-groups-of-measures.ly | 40 +-- .../snippets/numbers-as-easy-note-heads.ly | 30 +- Documentation/snippets/pitches-headword.ly | 16 +- .../positioning-multi-measure-rests.ly | 16 +- .../printing-hairpins-in-various-styles.ly | 18 +- ...uoting-another-voice-with-transposition.ly | 21 +- .../redefining-grace-note-global-defaults.ly | 16 +- Documentation/snippets/rhythms.snippet-list | 2 +- .../snippets/score-for-diatonic-accordion.ly | 26 +- Documentation/snippets/strict-beat-beaming.ly | 27 +- .../snippets/string-number-extender-lines.ly | 32 +-- .../syntax-and-expressions.snippet-list | 2 +- .../using-a-tick-as-the-breath-mark-symbol.ly | 26 +- .../snippets/using-alternative-flag-styles.ly | 16 +- .../using-an-extra-voice-for-breaks.ly | 54 ++-- ...ng-grace-note-slashes-with-normal-heads.ly | 16 +- ...ically-aligned-dynamics-and-textscripts.ly | 22 +- .../snippets/woodwind-diagrams-key-lists.ly | 31 +- 80 files changed, 439 insertions(+), 3215 deletions(-) delete mode 100644 Documentation/snippets/correction-wanted.snippet-list delete mode 100644 Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly create mode 100644 Documentation/snippets/entering-several-tuplets-using-only-one--tuplet-command.ly delete mode 100644 Documentation/snippets/new/entering-several-tuplets-using-only-one--times-command.ly delete mode 100644 Documentation/snippets/new/expressive-headword.ly delete mode 100644 Documentation/snippets/new/extending-glissandi-across-repeats.ly delete mode 100644 Documentation/snippets/new/fretted-headword.ly delete mode 100644 Documentation/snippets/new/generating-custom-flags.ly delete mode 100644 Documentation/snippets/new/glissandi-can-skip-grobs.ly delete mode 100644 Documentation/snippets/new/guitar-slides.ly delete mode 100644 Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly delete mode 100644 Documentation/snippets/new/hammer-on-and-pull-off-using-voices.ly delete mode 100644 Documentation/snippets/new/hammer-on-and-pull-off.ly delete mode 100644 Documentation/snippets/new/heavily-customized-polymetric-time-signatures.ly delete mode 100644 Documentation/snippets/new/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly delete mode 100644 Documentation/snippets/new/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly delete mode 100644 Documentation/snippets/new/incipit.ly delete mode 100644 Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly delete mode 100644 Documentation/snippets/new/jazz-combo-template.ly delete mode 100644 Documentation/snippets/new/keyboard-headword.ly delete mode 100644 Documentation/snippets/new/making-glissandi-breakable.ly delete mode 100644 Documentation/snippets/new/merging-multi-measure-rests-in-a-polyphonic-part.ly delete mode 100644 Documentation/snippets/new/numbering-groups-of-measures.ly delete mode 100644 Documentation/snippets/new/numbers-as-easy-note-heads.ly delete mode 100644 Documentation/snippets/new/pitches-headword.ly delete mode 100644 Documentation/snippets/new/positioning-multi-measure-rests.ly delete mode 100644 Documentation/snippets/new/printing-hairpins-in-various-styles.ly delete mode 100644 Documentation/snippets/new/quoting-another-voice-with-transposition.ly delete mode 100644 Documentation/snippets/new/redefining-grace-note-global-defaults.ly delete mode 100644 Documentation/snippets/new/score-for-diatonic-accordion.ly delete mode 100644 Documentation/snippets/new/strict-beat-beaming.ly delete mode 100644 Documentation/snippets/new/string-number-extender-lines.ly delete mode 100644 Documentation/snippets/new/using-a-tick-as-the-breath-mark-symbol.ly delete mode 100644 Documentation/snippets/new/using-alternative-flag-styles.ly delete mode 100644 Documentation/snippets/new/using-an-extra-voice-for-breaks.ly delete mode 100644 Documentation/snippets/new/using-grace-note-slashes-with-normal-heads.ly delete mode 100644 Documentation/snippets/new/vertically-aligned-dynamics-and-textscripts.ly delete mode 100644 Documentation/snippets/new/woodwind-diagrams-key-lists.ly diff --git a/Documentation/de/notation/rhythms.itely b/Documentation/de/notation/rhythms.itely index e1d0ea5e93..b3499a7101 100644 --- a/Documentation/de/notation/rhythms.itely +++ b/Documentation/de/notation/rhythms.itely @@ -268,7 +268,7 @@ zu setzen, siehe @ref{Tondauern skalieren}. @funindex tupletSpannerDuration @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{entering-several-tuplets-using-only-one--times-command.ly} +{entering-several-tuplets-using-only-one--tuplet-command.ly} @cindex Triolennummer, Änderung diff --git a/Documentation/es/notation/rhythms.itely b/Documentation/es/notation/rhythms.itely index 3401297548..a2ccb6670b 100644 --- a/Documentation/es/notation/rhythms.itely +++ b/Documentation/es/notation/rhythms.itely @@ -271,7 +271,7 @@ grupo especial, véase @ref{Escalar las duraciones}. @funindex tupletSpannerDuration @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{entering-several-tuplets-using-only-one--times-command.ly} +{entering-several-tuplets-using-only-one--tuplet-command.ly} @cindex grupos de valoración especial, modificación del número diff --git a/Documentation/fr/notation/rhythms.itely b/Documentation/fr/notation/rhythms.itely index c8e79a3b38..015ac7c308 100644 --- a/Documentation/fr/notation/rhythms.itely +++ b/Documentation/fr/notation/rhythms.itely @@ -285,7 +285,7 @@ comme indiqué au chapitre @ref{Changement d'échelle des durées}. @funindex tupletSpannerDuration @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{entering-several-tuplets-using-only-one--times-command.ly} +{entering-several-tuplets-using-only-one--tuplet-command.ly} @cindex nolet, modification du chiffre diff --git a/Documentation/it/notation/rhythms.itely b/Documentation/it/notation/rhythms.itely index e134f9b733..3336269490 100644 --- a/Documentation/it/notation/rhythms.itely +++ b/Documentation/it/notation/rhythms.itely @@ -270,7 +270,7 @@ irregolare, si veda @ref{Scaling durations}. @funindex tupletSpannerDuration @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{entering-several-tuplets-using-only-one--times-command.ly} +{entering-several-tuplets-using-only-one--tuplet-command.ly} @cindex gruppo irregolare, modifiche del numero del @cindex numero del gruppo irregolare, modifiche del diff --git a/Documentation/ja/notation/rhythms.itely b/Documentation/ja/notation/rhythms.itely index 7317cd0ef6..5bdb2758c0 100644 --- a/Documentation/ja/notation/rhythms.itely +++ b/Documentation/ja/notation/rhythms.itely @@ -258,7 +258,7 @@ c4 \tuplet 5/4 { f8 e f \tuplet 3/2 { e[ f g] } } f4 @funindex tupletSpannerDuration @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{entering-several-tuplets-using-only-one--times-command.ly} +{entering-several-tuplets-using-only-one--tuplet-command.ly} @cindex Tuplet number changes (連符の数の変更) diff --git a/Documentation/notation/rhythms.itely b/Documentation/notation/rhythms.itely index 92ace48df0..77b2d7ecc3 100644 --- a/Documentation/notation/rhythms.itely +++ b/Documentation/notation/rhythms.itely @@ -273,7 +273,7 @@ To modify the duration of notes without printing a tuplet bracket, see @funindex tupletSpannerDuration @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{entering-several-tuplets-using-only-one--times-command.ly} +{entering-several-tuplets-using-only-one--tuplet-command.ly} @cindex Tuplet number changes diff --git a/Documentation/snippets/correction-wanted.snippet-list b/Documentation/snippets/correction-wanted.snippet-list deleted file mode 100644 index ed1279b54c..0000000000 --- a/Documentation/snippets/correction-wanted.snippet-list +++ /dev/null @@ -1 +0,0 @@ -horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly diff --git a/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly b/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly deleted file mode 100644 index 5e67e60d47..0000000000 --- a/Documentation/snippets/entering-several-tuplets-using-only-one--times-command.ly +++ /dev/null @@ -1,36 +0,0 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.11 -\version "2.17.11" - -\header { - lsrtags = "rhythms, syntax-and-expressions" - - texidoc = " -The property @code{tupletSpannerDuration} sets how long each of the -tuplets contained within the brackets after @code{\\tuplet} should last. -Many consecutive tuplets can then be placed within a single -@code{\\tuplet} expression, thus saving typing. - -There are several ways to set @code{tupletSpannerDuration}. The command -@code{\\tupletSpan} sets it to a given duration, and clears it when -instead of a duration @code{\\default} is specified. Another way is -to use an optional argument with @code{\\tuplet}. -" - doctitle = "Entering several tuplets using only one \\tuplet command" -} % begin verbatim - - - -\relative c' { - \time 2/4 - \tupletSpan 4 - \tuplet 3/2 { c8^"\\tupletSpan 4" c c c c c } - \tupletSpan \default - \tuplet 3/2 { c8^"\\tupletSpan \\default" c c c c c } - \tuplet 3/2 4 { c8^"\\tuplet 3/2 4 {...}" c c c c c } -} diff --git a/Documentation/snippets/entering-several-tuplets-using-only-one--tuplet-command.ly b/Documentation/snippets/entering-several-tuplets-using-only-one--tuplet-command.ly new file mode 100644 index 0000000000..80432bea8f --- /dev/null +++ b/Documentation/snippets/entering-several-tuplets-using-only-one--tuplet-command.ly @@ -0,0 +1,34 @@ +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" + +\header { + lsrtags = "rhythms, syntax-and-expressions" + + texidoc = " +The property @code{tupletSpannerDuration} sets how long each of the +tuplets contained within the brackets after @code{\\times} should last. +Many consecutive tuplets can then be placed within a single +@code{\\times} expression, thus saving typing. + +There are several ways to set @code{tupletSpannerDuration}. The +command @code{\\tupletSpan} sets it to a given duration, and clears it +when instead of a duration @code{\\default} is specified. Another way +is to use an optional argument with @code{\\tuplet}. + +" + doctitle = "Entering several tuplets using only one \\tuplet command" +} % begin verbatim + +\relative c' { + \time 2/4 + \tupletSpan 4 + \tuplet 3/2 { c8^"\\tupletSpan 4" c c c c c } + \tupletSpan \default + \tuplet 3/2 { c8^"\\tupletSpan \\default" c c c c c } + \tuplet 3/2 4 { c8^"\\tuplet 3/2 4 {...}" c c c c c } +} diff --git a/Documentation/snippets/expressive-headword.ly b/Documentation/snippets/expressive-headword.ly index b7caf83f1e..2c86cc87f6 100644 --- a/Documentation/snippets/expressive-headword.ly +++ b/Documentation/snippets/expressive-headword.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.27 -\version "2.17.27" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "headword" @@ -17,21 +16,13 @@ Expressive headword doctitle = "Expressive headword" } % begin verbatim -\include "english.ly" - % NR 1.3 Expressive marks % L. v. Beethoven, Op. 49 no. 1 % Piano sonata 19 - "Leichte Sonate" % measures 1 - 12 -%\layout { -% \context { -% \Score -% \override SpacingSpanner.base-shortest-duration = -% #(ly:make-moment 1/20) -% } -%} +\include "english.ly" \new PianoStaff << @@ -272,5 +263,4 @@ Expressive headword 4 \fermata r8 r4 r8 } - >> diff --git a/Documentation/snippets/extending-glissandi-across-repeats.ly b/Documentation/snippets/extending-glissandi-across-repeats.ly index 4656fac443..52ec929781 100644 --- a/Documentation/snippets/extending-glissandi-across-repeats.ly +++ b/Documentation/snippets/extending-glissandi-across-repeats.ly @@ -1,29 +1,29 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "staff-notation, tweaks-and-overrides" + texidoc = " -A glissando which extends into several @code{\\alternative} blocks -can be simulated by adding a hidden grace note with a glissando -at the start of each @code{\\alternative} block. The grace note -should be at the same pitch as the note which starts the initial -glissando. This is implemented here with a music function which -takes the pitch of the grace note as its argument. +A glissando which extends into several @code{\\alternative} blocks can +be simulated by adding a hidden grace note with a glissando at the +start of each @code{\\alternative} block. The grace note should be at +the same pitch as the note which starts the initial glissando. This is +implemented here with a music function which takes the pitch of the +grace note as its argument. Note that in polyphonic music the grace note must be matched with corresponding grace notes in all other voices. + " doctitle = "Extending glissandi across repeats" } % begin verbatim - repeatGliss = #(define-music-function (parser location grace) (ly:pitch?) #{ @@ -67,4 +67,4 @@ music = \relative c' { \context TabVoice { \clef "moderntab" \music } >> >> -} \ No newline at end of file +} diff --git a/Documentation/snippets/fretted-headword.ly b/Documentation/snippets/fretted-headword.ly index 6b8f910d87..8b22956864 100644 --- a/Documentation/snippets/fretted-headword.ly +++ b/Documentation/snippets/fretted-headword.ly @@ -1,31 +1,20 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.30 -% INSPIRATIONAL HEADER FOR LILYPOND DOCUMENTATION fretted-strings % -% Passage from Johann Kaspar Mertz "Opern Revue, Op. 8, no. 17" % -% on melodies from Bellini's "Norma" % -%*****************************************************************% - -\version "2.17.30" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "headword" - texidoc = "" - doctitle = "headword" -} % begin verbatim - + texidoc = " +Fretted headword -\layout { - \context { - \Score - \remove "Bar_number_engraver" - } -} +" + doctitle = "Fretted headword" +} % begin verbatim %%%% shortcuts % fingering orientations @@ -141,10 +130,10 @@ bass = \relative c { \layout { \context { \Score + \remove "Bar_number_engraver" \override Fingering.staff-padding = #'() \omit TupletNumber \override TupletBracket.bracket-visibility = ##f } } - \midi { } } diff --git a/Documentation/snippets/generating-custom-flags.ly b/Documentation/snippets/generating-custom-flags.ly index 99579b27f4..a1121ae24c 100644 --- a/Documentation/snippets/generating-custom-flags.ly +++ b/Documentation/snippets/generating-custom-flags.ly @@ -1,24 +1,22 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "rhythms, tweaks-and-overrides" texidoc = " -The @code{stencil} property of the Flag grob can be set to a custom scheme -function to generate the glyph for the flag. +The @code{stencil} property of the @code{Flag} grob can be set to a +custom scheme function to generate the glyph for the flag. " doctitle = "Generating custom flags" } % begin verbatim - #(define-public (weight-flag grob) (let* ((stem-grob (ly:grob-parent grob X)) (log (- (ly:grob-property stem-grob 'duration-log) 2)) diff --git a/Documentation/snippets/glissandi-can-skip-grobs.ly b/Documentation/snippets/glissandi-can-skip-grobs.ly index 32caca079c..f9e7632cad 100644 --- a/Documentation/snippets/glissandi-can-skip-grobs.ly +++ b/Documentation/snippets/glissandi-can-skip-grobs.ly @@ -1,19 +1,21 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides" + + texidoc = " +@code{NoteColumn} grobs can be skipped over by glissandi. + +" doctitle = "Glissandi can skip grobs" - texidoc = "@code{NoteColumn} grobs can be skipped over by glissandi." } % begin verbatim - \relative c' { a2 \glissando \once \override NoteColumn.glissando-skip = ##t diff --git a/Documentation/snippets/guitar-slides.ly b/Documentation/snippets/guitar-slides.ly index e2e2b802f2..c77388cf87 100644 --- a/Documentation/snippets/guitar-slides.ly +++ b/Documentation/snippets/guitar-slides.ly @@ -1,25 +1,24 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.30 -\version "2.17.30" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "fretted-strings" texidoc = " Unlike glissandos, slides may go from an imprecise point of the -fretboard to a specific fret. A good way to do that is to add a grace -hidden note before the note which is actually played, as demonstrated -in the following example. +fretboard to a specific fret. A good way to do this is to add a hidden +grace note before the note which is actually played, as demonstrated in +the following example. + " doctitle = "Guitar slides" } % begin verbatim - %% Hide fret number: useful to draw slide into/from a casual point of %% the fretboard. hideFretNumber = { diff --git a/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly b/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly index 880a2cf8fd..569e77bded 100644 --- a/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly +++ b/Documentation/snippets/hammer-on-and-pull-off-using-chords.ly @@ -1,25 +1,23 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "editorial-annotations, fretted-strings" texidoc = " When using hammer-on or pull-off with chorded notes, only a single arc -is drawn. However @q{double arcs} are possible by setting the +is drawn. However @qq{double arcs} are possible by setting the @code{doubleSlurs} property to @code{#t}. " doctitle = "Hammer on and pull off using chords" } % begin verbatim - \new TabStaff { \relative c' { % chord hammer-on and pull-off diff --git a/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly b/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly index df84036ae8..e44c81786a 100644 --- a/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly +++ b/Documentation/snippets/hammer-on-and-pull-off-using-voices.ly @@ -1,24 +1,22 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "editorial-annotations, fretted-strings" texidoc = " -The arc of hammer-on and pull-off is upwards in voices one and three and -downwards in voices two and four: +The arc of hammer-on and pull-off is upwards in voices one and three +and downwards in voices two and four: " doctitle = "Hammer on and pull off using voices" } % begin verbatim - \new TabStaff { \relative c' { << { \voiceOne g2( a) } diff --git a/Documentation/snippets/hammer-on-and-pull-off.ly b/Documentation/snippets/hammer-on-and-pull-off.ly index 57c830a2ce..fbc12b9f6b 100644 --- a/Documentation/snippets/hammer-on-and-pull-off.ly +++ b/Documentation/snippets/hammer-on-and-pull-off.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "editorial-annotations, fretted-strings" @@ -17,7 +16,6 @@ Hammer-on and pull-off can be obtained using slurs. doctitle = "Hammer on and pull off" } % begin verbatim - \new TabStaff { \relative c' { d4( e\2) diff --git a/Documentation/snippets/heavily-customized-polymetric-time-signatures.ly b/Documentation/snippets/heavily-customized-polymetric-time-signatures.ly index 8c939d25c1..53d7f2120e 100644 --- a/Documentation/snippets/heavily-customized-polymetric-time-signatures.ly +++ b/Documentation/snippets/heavily-customized-polymetric-time-signatures.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.15 -\version "2.17.15" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "contemporary-notation, percussion, real-music, rhythms" @@ -19,7 +18,6 @@ is the template of a real Balkan song!). doctitle = "Heavily customized polymetric time signatures" } % begin verbatim - melody = \relative c'' { \set Staff.instrumentName = #"Bb Sop." \key g \major diff --git a/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly b/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly index 724062ec24..fb0629e36a 100644 --- a/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly +++ b/Documentation/snippets/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly @@ -1,14 +1,13 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { - lsrtags = "correction-wanted, expressive-marks, tweaks-and-overrides, version-specific" + lsrtags = "expressive-marks, tweaks-and-overrides, version-specific" texidoc = " Some dynamic expressions involve additional text, like @qq{sempre pp}. @@ -23,13 +22,13 @@ before the note with the dynamics to manually shift it to the correct position. Drawback: This has to be done manually each time you use that dynamic markup... -* Add some padding (@code{#:hspace 7.1}) into the -definition of your custom dynamic mark, so that after lilypond -center-aligns it, it is already correctly aligned. Drawback: The -padding really takes up that space and does not allow any other markup -or dynamics to be shown in that position. +* Add some padding (@code{#:hspace 7.1}) into the definition of your +custom dynamic mark, so that after lilypond center-aligns it, it is +already correctly aligned. Drawback: The padding really takes up that +space and does not allow any other markup or dynamics to be shown in +that position. -* Shift the dynamic script @code{\\once\\override ...X-offset = ..}. +* Shift the dynamic script @code{\\once\\override ... .X-offset = ..}. Drawback: @code{\\once\\override} is needed for every invocation! * Set the dimensions of the additional text to 0 (using @@ -44,14 +43,17 @@ dynamic-script. * Set an explicit alignment inside the dynamic-script. By default, this won't have any effect, only if one sets X-offset! Drawback: One needs -to set @code{DynamicText #'X-offset}, which will apply to all dynamic +to set @code{DynamicText.X-offset}, which will apply to all dynamic texts! Also, it is aligned at the right edge of the additional text, not at the center of pp. + + + + " doctitle = "Horizontally aligning custom dynamics (e.g. \"sempre pp\" \"piu f\" \"subito p\")" } % begin verbatim - \header { title = "Horizontally aligning custom dynamics" } \paper { ragged-right = ##f } diff --git a/Documentation/snippets/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly b/Documentation/snippets/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly index 1a84268db6..9993627f73 100644 --- a/Documentation/snippets/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly +++ b/Documentation/snippets/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.24 -\version "2.17.24" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "editorial-annotations, expressive-marks, staff-notation, tweaks-and-overrides" @@ -31,25 +30,22 @@ affecting the other. It may also give some problems with vertical spacing, since using @code{extra-offset} does not change the bounding box of the mark from its original value. - - " doctitle = "How to print two rehearsal marks above and below the same barline (method 1)" } % begin verbatim - \relative c'{ - c d e f | - \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) - \once \override Score.RehearsalMark.baseline-skip = #9 - \mark \markup \center-column { \circle 1 \box A } - g f e d | - \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) - \once \override Score.RehearsalMark.baseline-skip = #9 - \mark \markup \center-column { \flat { \bold \small \italic Fine. } } - g f e d | - \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) - \once \override Score.RehearsalMark.baseline-skip = #9 - \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible - \mark \markup \center-column { \fermata \box z } + c d e f | + \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) + \once \override Score.RehearsalMark.baseline-skip = #9 + \mark \markup \center-column { \circle 1 \box A } + g f e d | + \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) + \once \override Score.RehearsalMark.baseline-skip = #9 + \mark \markup \center-column { \flat { \bold \small \italic Fine. } } + g f e d | + \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) + \once \override Score.RehearsalMark.baseline-skip = #9 + \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible + \mark \markup \center-column { \fermata \box z } } diff --git a/Documentation/snippets/incipit.ly b/Documentation/snippets/incipit.ly index b078cc0f53..4674257d0d 100644 --- a/Documentation/snippets/incipit.ly +++ b/Documentation/snippets/incipit.ly @@ -1,22 +1,22 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.30 -\version "2.17.30" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { - lsrtags = "staff-notation, ancient-notation, really-cool" + lsrtags = "ancient-notation, really-cool, staff-notation" + texidoc = " Incipits can be added using the instrument name grob, but keeping separate the instrument name definition and the incipit definition. + " doctitle = "Incipit" } % begin verbatim - incipit = #(define-music-function (parser location incipit-music) (ly:music?) #{ @@ -25,29 +25,29 @@ incipit = \once \override Staff.InstrumentName.padding = #0.3 \once \override Staff.InstrumentName.stencil = #(lambda (grob) - (let* ((instrument-name (ly:grob-property grob 'long-text))) - (set! (ly:grob-property grob 'long-text) - #{ \markup - \score - { - { \context MensuralStaff \with { - instrumentName = #instrument-name - } $incipit-music - } - \layout { $(ly:grob-layout grob) - line-width = \indent - indent = - % primitive-eval is probably easiest for - % escaping lexical closure and evaluating - % everything respective to (current-module). - #(primitive-eval + (let* ((instrument-name (ly:grob-property grob 'long-text))) + (set! (ly:grob-property grob 'long-text) + #{ \markup + \score + { + { \context MensuralStaff \with { + instrumentName = #instrument-name + } $incipit-music + } + \layout { $(ly:grob-layout grob) + line-width = \indent + indent = + % primitive-eval is probably easiest for + % escaping lexical closure and evaluating + % everything respective to (current-module). + #(primitive-eval '(or (false-if-exception (- indent incipit-width)) - (* 0.5 indent))) - ragged-right = ##f - ragged-last = ##f - system-count = #1 } - } - #}) + (* 0.5 indent))) + ragged-right = ##f + ragged-last = ##f + system-count = #1 } + } + #}) (system-start-text::print grob))) #}) diff --git a/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly b/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly index 388398c02d..a79375f8e4 100644 --- a/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly +++ b/Documentation/snippets/inserting-score-fragments-above-a-staff,-as-markups.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.15 -\version "2.17.15" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "real-music, staff-notation" @@ -18,7 +17,6 @@ contains a @code{\\score} block instead of texts or marks. doctitle = "Inserting score fragments above a staff as markups" } % begin verbatim - tuning = \markup { \score { \new Staff \with { \remove "Time_signature_engraver" } diff --git a/Documentation/snippets/jazz-combo-template.ly b/Documentation/snippets/jazz-combo-template.ly index 4f0570da2c..5034025426 100644 --- a/Documentation/snippets/jazz-combo-template.ly +++ b/Documentation/snippets/jazz-combo-template.ly @@ -1,14 +1,13 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.30 -\version "2.17.30" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { - lsrtags = "keyboards, percussion, fretted-strings, template, real-music" + lsrtags = "fretted-strings, keyboards, percussion, real-music, template" texidoc = " This is quite an advanced template, for a jazz ensemble. Note that all @@ -20,7 +19,6 @@ music is within a @code{\\transpose} section. doctitle = "Jazz combo template" } % begin verbatim - \header { title = "Song" subtitle = "(tune)" diff --git a/Documentation/snippets/keyboard-headword.ly b/Documentation/snippets/keyboard-headword.ly index 177675afc5..07d4f34ea1 100644 --- a/Documentation/snippets/keyboard-headword.ly +++ b/Documentation/snippets/keyboard-headword.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.24 -\version "2.17.24" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "headword" diff --git a/Documentation/snippets/making-glissandi-breakable.ly b/Documentation/snippets/making-glissandi-breakable.ly index 16799a19cf..d469078f5d 100644 --- a/Documentation/snippets/making-glissandi-breakable.ly +++ b/Documentation/snippets/making-glissandi-breakable.ly @@ -1,25 +1,23 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.30 -\version "2.17.30" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "staff-notation, tweaks-and-overrides" texidoc = " Setting the @code{breakable} property to @code{#t} in combination with -@code{after-line-breaking} allows a glissando to break if it occurs -at a line break: -" +@code{after-line-breaking} allows a glissando to break if it occurs at +a line break: +" doctitle = "Making glissandi breakable" } % begin verbatim - glissandoSkipOn = { \override NoteColumn.glissando-skip = ##t \hide NoteHead diff --git a/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly b/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly index 8cacc7ba90..7d4be06b86 100644 --- a/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly +++ b/Documentation/snippets/merging-multi-measure-rests-in-a-polyphonic-part.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.18 -\version "2.17.18" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "really-simple, rhythms, version-specific" @@ -19,7 +18,6 @@ can be printed on the same staff line, using the following setting. doctitle = "Merging multi-measure rests in a polyphonic part" } % begin verbatim - normalPos = \revert MultiMeasureRest.direction { diff --git a/Documentation/snippets/new/entering-several-tuplets-using-only-one--times-command.ly b/Documentation/snippets/new/entering-several-tuplets-using-only-one--times-command.ly deleted file mode 100644 index 0b6af1b368..0000000000 --- a/Documentation/snippets/new/entering-several-tuplets-using-only-one--times-command.ly +++ /dev/null @@ -1,28 +0,0 @@ -\version "2.17.11" - -\header { - lsrtags = "rhythms, syntax-and-expressions" - - texidoc = " -The property @code{tupletSpannerDuration} sets how long each of the -tuplets contained within the brackets after @code{\\tuplet} should last. -Many consecutive tuplets can then be placed within a single -@code{\\tuplet} expression, thus saving typing. - -There are several ways to set @code{tupletSpannerDuration}. The command -@code{\\tupletSpan} sets it to a given duration, and clears it when -instead of a duration @code{\\default} is specified. Another way is -to use an optional argument with @code{\\tuplet}. -" - doctitle = "Entering several tuplets using only one \\tuplet command" -} - - -\relative c' { - \time 2/4 - \tupletSpan 4 - \tuplet 3/2 { c8^"\\tupletSpan 4" c c c c c } - \tupletSpan \default - \tuplet 3/2 { c8^"\\tupletSpan \\default" c c c c c } - \tuplet 3/2 4 { c8^"\\tuplet 3/2 4 {...}" c c c c c } -} diff --git a/Documentation/snippets/new/expressive-headword.ly b/Documentation/snippets/new/expressive-headword.ly deleted file mode 100644 index 1f9cf0f33c..0000000000 --- a/Documentation/snippets/new/expressive-headword.ly +++ /dev/null @@ -1,268 +0,0 @@ -\version "2.17.27" - -\header { - lsrtags = "headword" - - texidoc = " -Expressive headword - -" - doctitle = "Expressive headword" -} -\include "english.ly" - -% NR 1.3 Expressive marks - -% L. v. Beethoven, Op. 49 no. 1 -% Piano sonata 19 - "Leichte Sonate" -% measures 1 - 12 - -%\layout { -% \context { -% \Score -% \override SpacingSpanner.base-shortest-duration = -% #(ly:make-moment 1/20) -% } -%} - -\new PianoStaff << - - % RH Staff - \new Staff { - \clef treble - \key g \major - \time 6/8 - \partial 2 - \once \override TextScript.padding = #2 - d'8 \staccato - ^ \markup { \column { - RONDO - \italic Allegro } } - d'8 \staccato - g'8 \staccato - a'8 \staccato - - | - - b'8 [ ( - g'8 ] ) - e'8 \staccato - e' \staccato - a'8 \staccato - b'8 \staccato - - | - - c''8 [ ( - a'8 ] ) - e''8 \staccato - d''8 \staccato - c''8 \staccato - b'8 \staccato - - | - - a'8 \staccato - g'8 \staccato - a'8 \staccato - \acciaccatura { g'16 [ a'16 ] } - bf'8 - a'8 \staccato - g'8 \staccato - - | - - fs'8 [ ( - d'8 ] ) - d'8 \staccato - d'8 \staccato - g'8 \staccato - a'8 \staccato - - | - - b'8 [ ( - g'8 ] ) - e'8 \staccato - e'8 \staccato - a'8 \staccato - b'8 \staccato - - | - - c''8 [ ( - a'8 ] ) - e''8 \staccato - d''8 \staccato - c''8 \staccato - b'8 \staccato - - | - - a'8 \staccato - g'8 \staccato - a'8 \staccato - << - { - \voiceOne - d'8 - g'8 - fs'8 - \oneVoice - } - \new Voice { - \voiceTwo - d'4 - c'8 - \oneVoice - } - >> - - | - - 4 \tenuto - d'8 \staccato - g'8 \staccato - b'8 \staccato - d''8 \staccato - - | - - d''8 ( - 8 \staccato ) - 8 \staccato - d''8 ( - 8 \staccato ) - 8 \staccato - - | - - d''8 ( - 8 \staccato ) - 8 \staccato - d''8 ( - 8 \staccato ) - 8 \staccato - - | - - d''8 \staccato - 8 \staccato - 8 \staccato - d'' \staccato - 8 \staccato - 8 \staccato - - | - - 4 \fermata - r8 r4 r8 - } - - % LH Staff - \new Staff { - \clef bass - \key g \major - \time 6/8 - \partial 2 - r8 - r8 - 8 \staccato - 8 \staccato - - | - - 4 - r8 - r8 - 8 \staccato - 8 \staccato - - | - - 4 - r8 - r8 - 8 \staccato - 8 \staccato - - | - - 8 \staccato - 8 \staccato - 8 \staccato - 4. ( - - | - - d'4 ) - r8 - r8 - 8 \staccato - 8 \staccato - - | - - 4 - r8 - r8 - 8 \staccato - 8 \staccato - - | - - 4 - r8 - r8 - 8 \staccato - 8 \staccato - - | - - 8 \staccato - 8 \staccato - 8 \staccato - 4 - 8 \staccato - - | - - 4 \tenuto - r8 - r4 - r8 - - | - - r8 - 8 \staccato - 8 \staccato - r8 - 8 \staccato - 8 \staccato - - | - - r8 - 8 \staccato - 8 \staccato - r8 - 8 \staccato - 8 \staccato - - | - - r8 - 8 \staccato - 8 \staccato - r8 - 8 \staccato - 8 \staccato - - | - - 4 \fermata - r8 r4 r8 - } - ->> diff --git a/Documentation/snippets/new/extending-glissandi-across-repeats.ly b/Documentation/snippets/new/extending-glissandi-across-repeats.ly deleted file mode 100644 index 0c7496c0d2..0000000000 --- a/Documentation/snippets/new/extending-glissandi-across-repeats.ly +++ /dev/null @@ -1,62 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "staff-notation, tweaks-and-overrides" - texidoc = " -A glissando which extends into several @code{\alternative} blocks -can be simulated by adding a hidden grace note with a glissando -at the start of each @code{\alternative} block. The grace note -should be at the same pitch as the note which starts the initial -glissando. This is implemented here with a music function which -takes the pitch of the grace note as its argument. - -Note that in polyphonic music the grace note must be matched with -corresponding grace notes in all other voices. -" - doctitle = "Extending glissandi across repeats" -} - -repeatGliss = #(define-music-function (parser location grace) - (ly:pitch?) - #{ - % the next two lines ensure the glissando is long enough - % to be visible - \once \override Glissando.springs-and-rods - = #ly:spanner::set-spacing-rods - \once \override Glissando.minimum-length = #3.5 - \once \hideNotes - \grace $grace \glissando - #}) - -\score { - \relative c'' { - \repeat volta 3 { c4 d e f\glissando } - \alternative { - { g2 d } - { \repeatGliss f g2 e } - { \repeatGliss f e2 d } - } - } -} - -music = \relative c' { - \voiceOne - \repeat volta 2 { - g a b c\glissando - } - \alternative { - { d1 } - { \repeatGliss c e1 } - } -} - -\score { - \new StaffGroup << - \new Staff << - \context Voice { \clef "G_8" \music } - >> - \new TabStaff << - \context TabVoice { \clef "moderntab" \music } - >> - >> -} \ No newline at end of file diff --git a/Documentation/snippets/new/fretted-headword.ly b/Documentation/snippets/new/fretted-headword.ly deleted file mode 100644 index 24fe6e20e4..0000000000 --- a/Documentation/snippets/new/fretted-headword.ly +++ /dev/null @@ -1,142 +0,0 @@ -% INSPIRATIONAL HEADER FOR LILYPOND DOCUMENTATION fretted-strings % -% Passage from Johann Kaspar Mertz "Opern Revue, Op. 8, no. 17" % -% on melodies from Bellini's "Norma" % -%*****************************************************************% - -\version "2.17.30" - -\header { - lsrtags = "headword" - texidoc = "" - doctitle = "headword" -} - - -\layout { - \context { - \Score - \remove "Bar_number_engraver" - } -} - -%%%% shortcuts -% fingering orientations -sfol = \set fingeringOrientations = #'(left) -sfor = \set fingeringOrientations = #'(right) -sfod = \set fingeringOrientations = #'(down) -sfou = \set fingeringOrientations = #'(up) - -% string number orientations -ssnol = \set stringNumberOrientations = #'(left) %(down right up) -ssnou = \set stringNumberOrientations = #'(up) -ssnod = \set stringNumberOrientations = #'(down) -ssnor = \set stringNumberOrientations = #'(right) - -% define fingering offset -FO = #(define-music-function (parser location offsetX offsetY) (number? number?) -#{ - \once \override Voice.Fingering.extra-offset = #(cons offsetX offsetY) -#}) - -% markups -rit = \markup \center-align { \bold { \italic { " rit." } } } -dimin = \markup \center-align { \italic { " dim." } } -andantino = \markup \left-align { \italic { \bold { \fontsize #2.5 { "Andantino" } } } } -benmarcato = \markup { \italic { \bold { "il canto ben marcato" } } } -pdolce = #(make-dynamic-script (markup #:line (#:dynamic "p" #:normal-text #:italic "dol."))) - -%%% THE MUSIC %%% - -melody = \relative c { - \clef "treble_8" - \key d \major - \time 4/4 - \voiceOne - \sfol - e,32 a' c e - e, a c e - e,, a' c e - e, a c e - f4\rest 4-> | % m. 1 - - e,,,32 gis' b e - e, gis b e - e,, gis' b e - e, gis b e - f4\rest \FO #'0.4 #'0.5 4 | % m. 2 - - d4\rest -> d4\rest^\rit 4-> | % m. 3 - 1 | % m. 4 - - \bar "||" - \key a \minor - R1 % m. 5 - - e'4^\benmarcato e8. d16-4 - d4-4 \tuplet 3/2 { \sfou \FO #'-0.3 #'0.6 4 b8 } | % end of m. 6 - - \FO #'-0.3 #'0.3 - 4 \tuplet 3/2 { c4 b8 } a4 e'8. e16 | % m. 7 - - \FO #'-0.3 #'0.3 - 4 \tuplet 3/2 { \sfol \FO #'0.3 #'0.0 4 e8 } e4 % beg of m. 8 - \tuplet 3/2 { \sfou 4 c8 } | % end of m. 8 - - b4 \tuplet 3/2 { d4-4 c8 } \sfou \FO #'-1.7 #'-1.5 4 e | % end of m. 9 - - e4 e8. d16-4 d4 \tuplet 3/2 { c4 b8 } | % m. 10 - - \tuplet 3/2 { a4 a8 b4 c8 } % beg of m. 11 - \sfou \FO #'-0.3 #'0.3 - 4^\< \tuplet 3/2 { e4 8\! } | % end of m. 11 -} - -bass = \relative c { - \key d \major - \time 4/4 - \voiceTwo - - e,8\fp[ e'] e,[ e'] e, \sfol c, | % m. 1 - - e,,8\fp[ e'] e,[ e'] e, \sfod \FO #'0.2 #'-0.2 % beg m. 2 - \sfol \FO #'0.3 #'0.0 b | % end m. 2 - - e,,8 e' gis e e, e' gis_\dimin e | % m. 3 - - e,1 | % m. 4 - - %% new section starts here in A minor - \set Score.beamExceptions = #'() - \once \override TextScript.staff-padding = #1.7 - \tuplet 3/2 { a8\p^\andantino e' a c a e a, e' a c a e } | % m. 5 - - \tuplet 3/2 { a,8\pdolce e' a c a e } % beg m. 6 - \tuplet 3/2 { e,8 \sfou c gis e } | % end m. 6 - - \tuplet 3/2 { a,8 a c e, b' a, e' a c a e } | % m. 7 - - \tuplet 3/2 { f,8 f' a \sfol \FO #'0.3 #'-0.5 a f fis, d' a' d a d, } | % m. 8 - - \tuplet 3/2 { 8 d' g d' g, d % beg m. 9 - \sfod \FO #'0.0 #'-2.0 \sfou b gis e } | % end m. 9 - - \tuplet 3/2 { a,8 e' a c a e e, e' gis c gis e } | % m. 10 - - \tuplet 3/2 { a,8 e' a b a e f, f' a d a f } | % m. 11 -} - -\score { - \new Staff = "guitar" << - \context Voice = "upper" { \melody } - \context Voice = "lower" { \bass } - >> - \layout { - \context { - \Score - \override Fingering.staff-padding = #'() - \omit TupletNumber - \override TupletBracket.bracket-visibility = ##f - } - } - \midi { } -} diff --git a/Documentation/snippets/new/generating-custom-flags.ly b/Documentation/snippets/new/generating-custom-flags.ly deleted file mode 100644 index aa54b59bf4..0000000000 --- a/Documentation/snippets/new/generating-custom-flags.ly +++ /dev/null @@ -1,62 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "rhythms, tweaks-and-overrides" - - texidoc = " -The @code{stencil} property of the Flag grob can be set to a custom scheme -function to generate the glyph for the flag. - -" - doctitle = "Generating custom flags" -} - -#(define-public (weight-flag grob) - (let* ((stem-grob (ly:grob-parent grob X)) - (log (- (ly:grob-property stem-grob 'duration-log) 2)) - (is-up? (eqv? (ly:grob-property stem-grob 'direction) UP)) - (yext (if is-up? (cons (* log -0.8) 0) (cons 0 (* log 0.8)))) - (flag-stencil (make-filled-box-stencil '(-0.4 . 0.4) yext)) - (stroke-style (ly:grob-property grob 'stroke-style)) - (stroke-stencil (if (equal? stroke-style "grace") - (make-line-stencil 0.2 -0.9 -0.4 0.9 -0.4) - empty-stencil))) - (ly:stencil-add flag-stencil stroke-stencil))) - - -% Create a flag stencil by looking up the glyph from the font -#(define (inverted-flag grob) - (let* ((stem-grob (ly:grob-parent grob X)) - (dir (if (eqv? (ly:grob-property stem-grob 'direction) UP) "d" "u")) - (flag (retrieve-glyph-flag "" dir "" grob)) - (line-thickness (ly:staff-symbol-line-thickness grob)) - (stem-thickness (ly:grob-property stem-grob 'thickness)) - (stem-width (* line-thickness stem-thickness)) - (stroke-style (ly:grob-property grob 'stroke-style)) - (stencil (if (null? stroke-style) - flag - (add-stroke-glyph flag stem-grob dir stroke-style ""))) - (rotated-flag (ly:stencil-rotate-absolute stencil 180 0 0))) - (ly:stencil-translate rotated-flag (cons (- (/ stem-width 2)) 0)))) - -snippetexamplenotes = { \autoBeamOff c'8 d'16 c'32 d'64 \acciaccatura {c'8} d'64 } - -{ - \override Score.RehearsalMark.self-alignment-X = #LEFT - \time 1/4 - \mark "Normal flags" - \snippetexamplenotes - - \mark "Custom flag: inverted" - \override Flag.stencil = #inverted-flag - \snippetexamplenotes - - \mark "Custom flag: weight" - \override Flag.stencil = #weight-flag - \snippetexamplenotes - - \mark "Revert to normal" - \revert Flag.stencil - \snippetexamplenotes -} - diff --git a/Documentation/snippets/new/glissandi-can-skip-grobs.ly b/Documentation/snippets/new/glissandi-can-skip-grobs.ly deleted file mode 100644 index 039d5b4310..0000000000 --- a/Documentation/snippets/new/glissandi-can-skip-grobs.ly +++ /dev/null @@ -1,13 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "expressive-marks, staff-notation, tweaks-and-overrides" - doctitle = "Glissandi can skip grobs" - texidoc = "@code{NoteColumn} grobs can be skipped over by glissandi." -} - -\relative c' { - a2 \glissando - \once \override NoteColumn.glissando-skip = ##t - f''4 d, -} diff --git a/Documentation/snippets/new/guitar-slides.ly b/Documentation/snippets/new/guitar-slides.ly deleted file mode 100644 index c65a265cf8..0000000000 --- a/Documentation/snippets/new/guitar-slides.ly +++ /dev/null @@ -1,45 +0,0 @@ -\version "2.17.30" - -\header { - lsrtags = "fretted-strings" - - texidoc = " -Unlike glissandos, slides may go from an imprecise point of the -fretboard to a specific fret. A good way to do that is to add a grace -hidden note before the note which is actually played, as demonstrated -in the following example. -" - doctitle = "Guitar slides" -} - -%% Hide fret number: useful to draw slide into/from a casual point of -%% the fretboard. -hideFretNumber = { - \once \hide TabNoteHead - \once \hide NoteHead - \once \hide Stem - \once \override NoteHead.no-ledgers = ##t - \once \override Glissando.bound-details.left.padding = #0.3 -} - -music= \relative c' { - \grace { \hideFretNumber d8\2 \glissando s2 } g2\2 - \grace { \hideFretNumber g8\2 \glissando s2 } d2 | - - \grace { \hideFretNumber c,8 \glissando s } f4\5^\markup \tiny { Slide into } - \grace { \hideFretNumber f8 \glissando s } a4\4 - \grace { \hideFretNumber e'8\3 \glissando s } b4\3^\markup \tiny { Slide from } - \grace { \hideFretNumber b'8 \glissando s2 } g4 | -} - -\score { - << - \new Staff { - \clef "G_8" - \music - } - \new TabStaff { - \music - } - >> -} diff --git a/Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly b/Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly deleted file mode 100644 index 980707d334..0000000000 --- a/Documentation/snippets/new/hammer-on-and-pull-off-using-chords.ly +++ /dev/null @@ -1,21 +0,0 @@ -\version "2.16.0" - -\header { - lsrtags = "editorial-annotations, fretted-strings" - - texidoc = " -When using hammer-on or pull-off with chorded notes, only a single arc -is drawn. However @q{double arcs} are possible by setting the -@code{doubleSlurs} property to @code{#t}. - -" - doctitle = "Hammer on and pull off using chords" -} - -\new TabStaff { - \relative c' { - % chord hammer-on and pull-off - \set doubleSlurs = ##t - 8( ) - } -} diff --git a/Documentation/snippets/new/hammer-on-and-pull-off-using-voices.ly b/Documentation/snippets/new/hammer-on-and-pull-off-using-voices.ly deleted file mode 100644 index d22a7f922c..0000000000 --- a/Documentation/snippets/new/hammer-on-and-pull-off-using-voices.ly +++ /dev/null @@ -1,20 +0,0 @@ -\version "2.16.0" - -\header { - lsrtags = "editorial-annotations, fretted-strings" - - texidoc = " -The arc of hammer-on and pull-off is upwards in voices one and three and -downwards in voices two and four: - -" - doctitle = "Hammer on and pull off using voices" -} - -\new TabStaff { - \relative c' { - << { \voiceOne g2( a) } - \\ { \voiceTwo a,( b) } - >> \oneVoice - } -} diff --git a/Documentation/snippets/new/hammer-on-and-pull-off.ly b/Documentation/snippets/new/hammer-on-and-pull-off.ly deleted file mode 100644 index c5b283b282..0000000000 --- a/Documentation/snippets/new/hammer-on-and-pull-off.ly +++ /dev/null @@ -1,18 +0,0 @@ -\version "2.16.0" - -\header { - lsrtags = "editorial-annotations, fretted-strings" - - texidoc = " -Hammer-on and pull-off can be obtained using slurs. - -" - doctitle = "Hammer on and pull off" -} - -\new TabStaff { - \relative c' { - d4( e\2) - a( g) - } -} diff --git a/Documentation/snippets/new/heavily-customized-polymetric-time-signatures.ly b/Documentation/snippets/new/heavily-customized-polymetric-time-signatures.ly deleted file mode 100644 index eefaf6ea2c..0000000000 --- a/Documentation/snippets/new/heavily-customized-polymetric-time-signatures.ly +++ /dev/null @@ -1,35 +0,0 @@ -\version "2.17.15" - -\header { - lsrtags = "contemporary-notation, percussion, real-music, rhythms" - - texidoc = " -Though the polymetric time signature shown was not the most essential -item here, it has been included to show the beat of this piece (which -is the template of a real Balkan song!). - -" - doctitle = "Heavily customized polymetric time signatures" -} - -melody = \relative c'' { - \set Staff.instrumentName = #"Bb Sop." - \key g \major - \compoundMeter #'((3 8) (2 8) (2 8) (3 8) (2 8) (2 8) - (2 8) (2 8) (3 8) (2 8) (2 8)) - c8 c c d4 c8 c b c b a4 g fis8 e d c b' c d e4-^ fis8 g \break - c,4. d4 c4 d4. c4 d c2 d4. e4-^ d4 - c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break - c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 - c4. d4 c4 d4. c4 d c2 d4. e4-^ d4 \break -} - -drum = \new DrumStaff \drummode { - \bar ".|:" bd4.^\markup { Drums } sn4 bd \bar ";" sn4. - bd4 sn \bar ";" bd sn bd4. sn4 bd \bar ":|." -} - -{ - \melody - \drum -} diff --git a/Documentation/snippets/new/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly b/Documentation/snippets/new/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly deleted file mode 100644 index 411707896b..0000000000 --- a/Documentation/snippets/new/horizontally-aligning-custom-dynamics-e.g.-sempre-pp,-piu-f,-subito-p.ly +++ /dev/null @@ -1,168 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "correction-wanted, expressive-marks, tweaks-and-overrides, version-specific" - - texidoc = " -Some dynamic expressions involve additional text, like @qq{sempre pp}. -Since dynamics are usually centered under the note, the \\pp would be -displayed way after the note it applies to. - -To correctly align the @qq{sempre pp} horizontally, so that it is -aligned as if it were only the \\pp, there are several approaches: - -* Simply use @code{\\once\\override DynamicText.X-offset = #-9.2} -before the note with the dynamics to manually shift it to the correct -position. Drawback: This has to be done manually each time you use that -dynamic markup... - -* Add some padding (@code{#:hspace 7.1}) into the -definition of your custom dynamic mark, so that after lilypond -center-aligns it, it is already correctly aligned. Drawback: The -padding really takes up that space and does not allow any other markup -or dynamics to be shown in that position. - -* Shift the dynamic script @code{\\once\\override ...X-offset = ..}. -Drawback: @code{\\once\\override} is needed for every invocation! - -* Set the dimensions of the additional text to 0 (using -@code{#:with-dimensions '(0 . 0) '(0 . 0)}). Drawback: To LilyPond -@qq{sempre} has no extent, so it might put other stuff there and create -collisions (which are not detected by the collision detection!). Also, -there seems to be some spacing, so it's not exactly the same alignment -as without the additional text - -* Add an explicit shifting directly inside the scheme function for the -dynamic-script. - -* Set an explicit alignment inside the dynamic-script. By default, this -won't have any effect, only if one sets X-offset! Drawback: One needs -to set @code{DynamicText #'X-offset}, which will apply to all dynamic -texts! Also, it is aligned at the right edge of the additional text, -not at the center of pp. -" - doctitle = "Horizontally aligning custom dynamics (e.g. \"sempre pp\" \"piu f\" \"subito p\")" -} - -\header { title = "Horizontally aligning custom dynamics" } - -\paper { ragged-right = ##f } - -% Solution 1: Using a simple markup with a particular halign value -% Drawback: It's a markup, not a dynamic command, so \dynamicDown -% etc. will have no effect -semppMarkup = \markup { \halign #1.4 \italic "sempre" \dynamic "pp" } - -% Solution 2: Using a dynamic script & shifting with -% \once \override ...X-offset = .. -% Drawback: \once \override needed for every invocation -semppK = -#(make-dynamic-script - (markup #:line - (#:normal-text - #:italic "sempre" - #:dynamic "pp"))) - -% Solution 3: Padding the dynamic script so the center-alignment -% puts it at the correct position -% Drawback: the padding really reserves the space, nothing else can be there -semppT = -#(make-dynamic-script - (markup #:line - (#:normal-text - #:italic "sempre" - #:dynamic "pp" - #:hspace 7.1))) - -% Solution 4: Dynamic, setting the dimensions of the additional text to 0 -% Drawback: To lilypond "sempre" has no extent, so it might put -% other stuff there => collisions -% Drawback: Also, there seems to be some spacing, so it's not exactly the -% same alignment as without the additional text -semppM = -#(make-dynamic-script - (markup #:line - (#:with-dimensions '(0 . 0) '(0 . 0) - #:right-align - #:normal-text - #:italic "sempre" - #:dynamic "pp"))) - -% Solution 5: Dynamic with explicit shifting inside the scheme function -semppG = -#(make-dynamic-script - (markup #:hspace 0 - #:translate '(-18.85 . 0) - #:line (#:normal-text - #:italic "sempre" - #:dynamic "pp"))) - -% Solution 6: Dynamic with explicit alignment. This has only effect -% if one sets X-offset! -% Drawback: One needs to set DynamicText.X-offset! -% Drawback: Aligned at the right edge of the additional text, -% not at the center of pp -semppMII = -#(make-dynamic-script - (markup #:line (#:right-align - #:normal-text - #:italic "sempre" - #:dynamic "pp"))) - -\context StaffGroup << - \context Staff = "s" << - \set Staff.instrumentName = #"Normal" - \relative c'' { - \key es \major - c4\pp c\p c c | c\ff c c\pp c - } - >> - \context Staff = "sMarkup" << - \set Staff.instrumentName = \markup \column { Normal markup } - \relative c'' { - \key es \major - c4-\semppMarkup c\p c c | c\ff c c-\semppMarkup c - } - >> - \context Staff = "sK" << - \set Staff.instrumentName = \markup \column { Explicit shifting } - \relative c'' { - \key es \major - \once \override DynamicText.X-offset = #-9.2 - c4\semppK c\p c c - c4\ff c - \once \override DynamicText.X-offset = #-9.2 - c4\semppK c - } - >> - \context Staff = "sT" << - \set Staff.instrumentName = \markup \column { Right padding } - \relative c'' { - \key es \major - c4\semppT c\p c c | c\ff c c\semppT c - } - >> - \context Staff = "sM" << - \set Staff.instrumentName = \markup \column { Setting dimension "to zero" } - \relative c'' { - \key es \major - c4\semppM c\p c c | c\ff c c\semppM c - } - >> - \context Staff = "sG" << - \set Staff.instrumentName = \markup \column { Shifting inside dynamics } - \relative c'' { - \key es \major - c4\semppG c\p c c | c\ff c c\semppG c - } - >> - \context Staff = "sMII" << - \set Staff.instrumentName = \markup \column { Alignment inside dynamics } - \relative c'' { - \key es \major - % Setting to ##f (false) gives the same result - \override DynamicText.X-offset = #0 - c4\semppMII c\p c c | c\ff c c\semppMII c - } - >> ->> diff --git a/Documentation/snippets/new/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly b/Documentation/snippets/new/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly deleted file mode 100644 index d83c178bcc..0000000000 --- a/Documentation/snippets/new/how-to-print-two-rehearsal-marks-above-and-below-the-same-barline-method-1.ly +++ /dev/null @@ -1,47 +0,0 @@ -\version "2.17.24" - -\header { - lsrtags = "editorial-annotations, expressive-marks, staff-notation, tweaks-and-overrides" - - texidoc = " -This method prints two 'rehearsal marks', one on top of the other. It -shifts the lower rehearsal mark below the staff and then adds padding -above it in order to place the upper rehearsal mark above the staff. - -By adjusting the extra-offset and baseline-skip values you can increase -or decrease the overall space between the rehearsal mark and the staff. - -Because nearly every type of glyph or string can be made to behave like -a rehearsal mark it is possible to centre those above and below a bar -line. - -Adding the appropriate 'break visibility' as shown in snippet 1 will -allow you to position two marks at the end of a line as well. - -Note: Method 1 is less complex than Method 2 but does not really allow -for fine tuning of placement of one of the rehearsal marks without -affecting the other. It may also give some problems with vertical -spacing, since using @code{extra-offset} does not change the bounding -box of the mark from its original value. - - - -" - doctitle = "How to print two rehearsal marks above and below the same barline (method 1)" -} - -\relative c'{ - c d e f | - \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) - \once \override Score.RehearsalMark.baseline-skip = #9 - \mark \markup \center-column { \circle 1 \box A } - g f e d | - \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) - \once \override Score.RehearsalMark.baseline-skip = #9 - \mark \markup \center-column { \flat { \bold \small \italic Fine. } } - g f e d | - \once \override Score.RehearsalMark.extra-offset = #'(0 . -8.5) - \once \override Score.RehearsalMark.baseline-skip = #9 - \override Score.RehearsalMark.break-visibility = #begin-of-line-invisible - \mark \markup \center-column { \fermata \box z } -} diff --git a/Documentation/snippets/new/incipit.ly b/Documentation/snippets/new/incipit.ly deleted file mode 100644 index 3b85ef170c..0000000000 --- a/Documentation/snippets/new/incipit.ly +++ /dev/null @@ -1,267 +0,0 @@ -\version "2.17.30" - -\header { - lsrtags = "staff-notation, ancient-notation, really-cool" - texidoc = " -Incipits can be added using the instrument name grob, but keeping -separate the instrument name definition and the incipit definition. -" - doctitle = "Incipit" -} - -incipit = -#(define-music-function (parser location incipit-music) (ly:music?) - #{ - \once \override Staff.InstrumentName.self-alignment-X = #RIGHT - \once \override Staff.InstrumentName.self-alignment-Y = ##f - \once \override Staff.InstrumentName.padding = #0.3 - \once \override Staff.InstrumentName.stencil = - #(lambda (grob) - (let* ((instrument-name (ly:grob-property grob 'long-text))) - (set! (ly:grob-property grob 'long-text) - #{ \markup - \score - { - { \context MensuralStaff \with { - instrumentName = #instrument-name - } $incipit-music - } - \layout { $(ly:grob-layout grob) - line-width = \indent - indent = - % primitive-eval is probably easiest for - % escaping lexical closure and evaluating - % everything respective to (current-module). - #(primitive-eval - '(or (false-if-exception (- indent incipit-width)) - (* 0.5 indent))) - ragged-right = ##f - ragged-last = ##f - system-count = #1 } - } - #}) - (system-start-text::print grob))) - #}) - -%%%%%%%%%%%%%%%%%%%%%%%%% - -global = { - \set Score.skipBars = ##t - \key g \major - \time 4/4 - - % the actual music - \skip 1*8 - - % let finis bar go through all staves - \override Staff.BarLine.transparent = ##f - - % finis bar - \bar "|." -} - -discantusIncipit = << - \new MensuralVoice = "discantusIncipit" << - \repeat unfold 9 { s1 \noBreak } - { - \clef "neomensural-c1" - \key f \major - \time 2/2 - c''1. - } - >> - \new Lyrics \lyricsto discantusIncipit { IV- } ->> - -discantusNotes = { - \transpose c' c'' { - \clef "treble" - d'2. d'4 | - b e' d'2 | - c'4 e'4.( d'8 c' b | - a4) b a2 | - b4.( c'8 d'4) c'4 | - \once \hide NoteHead - c'1 | - b\breve | - } -} - -discantusLyrics = \lyricmode { - Ju -- bi -- | - la -- te De -- | - o, om -- - nis ter -- | - ra, __ om- | - "..." | - -us. | -} - -altusIncipit = << - \new MensuralVoice = "altusIncipit" << - \repeat unfold 9 { s1 \noBreak } - { - \clef "neomensural-c3" - \key f \major - \time 2/2 - r1 f'1. - } - >> - \new Lyrics \lyricsto altusIncipit { IV- } ->> - -altusNotes = { - \transpose c' c'' { - \clef "treble" - % two measures - r2 g2. e4 fis g | - a2 g4 e | - fis g4.( fis16 e fis4) | - g1 | - \once \hide NoteHead - g1 | - g\breve | - } -} - -altusLyrics = \lyricmode { - % two measures - Ju -- bi -- la -- te | - De -- o, om -- | - nis ter -- ra, | - "..." | - -us. | -} - -tenorIncipit = << - \new MensuralVoice = "tenorIncipit" << - \repeat unfold 9 { s1 \noBreak } - { - \clef "neomensural-c4" - \key f \major - \time 2/2 - r\longa - r\breve - r1 c'1. - } - >> - \new Lyrics \lyricsto tenorIncipit { IV- } ->> - -tenorNotes = { - \transpose c' c' { - \clef "treble_8" - R1 | - R1 | - R1 | - % two measures - r2 d'2. d'4 b e' | - \once \hide NoteHead - e'1 | - d'\breve | - } -} - -tenorLyrics = \lyricmode { - % two measures - Ju -- bi -- la -- te | - "..." | - -us. -} - -bassusIncipit = << - \new MensuralVoice = "bassusIncipit" << - \repeat unfold 9 { s1 \noBreak } - { - \clef "bass" - \key f \major - \time 2/2 - %% incipit - r\maxima - f1. - } - >> - \new Lyrics \lyricsto bassusIncipit { IV- } ->> - -bassusNotes = { - \transpose c' c' { - \clef "bass" - R1 | - R1 | - R1 | - R1 | - g2. e4 | - \once \hide NoteHead - e1 | - g\breve | - } -} - -bassusLyrics = \lyricmode { - Ju -- bi- | - "..." | - -us. -} - -\score { - << - \new StaffGroup = choirStaff << - \new Voice = "discantusNotes" << - \global - \set Staff.instrumentName = #"Discantus" - \incipit \discantusIncipit - \discantusNotes - >> - \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics } - \new Voice = "altusNotes" << - \global - \set Staff.instrumentName = #"Altus" - \incipit \altusIncipit - \altusNotes - >> - \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics } - \new Voice = "tenorNotes" << - \global - \set Staff.instrumentName = #"Tenor" - \incipit \tenorIncipit - \tenorNotes - >> - \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics } - \new Voice = "bassusNotes" << - \global - \set Staff.instrumentName = #"Bassus" - \incipit \bassusIncipit - \bassusNotes - >> - \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics } - >> - >> - \layout { - \context { - \Score - %% no bar lines in staves or lyrics - \hide BarLine - } - %% the next two instructions keep the lyrics between the bar lines - \context { - \Lyrics - \consists "Bar_engraver" - \consists "Separating_line_group_engraver" - } - \context { - \Voice - %% no slurs - \hide Slur - %% Comment in the below "\remove" command to allow line - %% breaking also at those bar lines where a note overlaps - %% into the next measure. The command is commented out in this - %% short example score, but especially for large scores, you - %% will typically yield better line breaking and thus improve - %% overall spacing if you comment in the following command. - %%\remove "Forbid_line_break_engraver" - } - indent = 6\cm - incipit-width = 4\cm - } -} diff --git a/Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly b/Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly deleted file mode 100644 index 09a13cf667..0000000000 --- a/Documentation/snippets/new/inserting-score-fragments-above-a-staff,-as-markups.ly +++ /dev/null @@ -1,39 +0,0 @@ -\version "2.17.15" - -\header { - lsrtags = "real-music, staff-notation" - - texidoc = " -The @code{\\markup} command is quite versatile. In this snippet, it -contains a @code{\\score} block instead of texts or marks. - -" - doctitle = "Inserting score fragments above a staff as markups" -} - -tuning = \markup { - \score { - \new Staff \with { \remove "Time_signature_engraver" } - { - \clef bass - 1 - } - \layout { ragged-right = ##t indent = 0\cm } - } -} - -\header { - title = "Solo Cello Suites" - subtitle = "Suite IV" - subsubtitle = \markup { Originalstimmung: \raise #0.5 \tuning } -} - -\layout { ragged-right = ##f } - -\relative c'' { - \time 4/8 - \tuplet 3/2 { c8 d e } \tuplet 3/2 { c d e } - \tuplet 3/2 { c8 d e } \tuplet 3/2 { c d e } - g8 a g a - g8 a g a -} diff --git a/Documentation/snippets/new/jazz-combo-template.ly b/Documentation/snippets/new/jazz-combo-template.ly deleted file mode 100644 index 41b62e581f..0000000000 --- a/Documentation/snippets/new/jazz-combo-template.ly +++ /dev/null @@ -1,272 +0,0 @@ -\version "2.17.30" - -\header { - lsrtags = "keyboards, percussion, fretted-strings, template, real-music" - - texidoc = " -This is quite an advanced template, for a jazz ensemble. Note that all -instruments are notated in @code{\\key c \\major}. This refers to the -key in concert pitch; the key will be automatically transposed if the -music is within a @code{\\transpose} section. - -" - doctitle = "Jazz combo template" -} - -\header { - title = "Song" - subtitle = "(tune)" - composer = "Me" - meter = "moderato" - piece = "Swing" - tagline = \markup { - \column { - "LilyPond example file by Amelie Zapf," - "Berlin 07/07/2003" - } - } -} - -%#(set-global-staff-size 16) -\include "english.ly" - -%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%% - -sl = { - \override NoteHead.style = #'slash - \hide Stem -} -nsl = { - \revert NoteHead.style - \undo \hide Stem -} -crOn = \override NoteHead.style = #'cross -crOff = \revert NoteHead.style - -%% insert chord name style stuff here. - -jazzChords = { } - -%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%% - -global = { \time 4/4 } - -Key = { \key c \major } - -% ############ Horns ############ - -% ------ Trumpet ------ -trpt = \transpose c d \relative c'' { - \Key - c1 | c | c | -} -trpHarmony = \transpose c' d { - \jazzChords -} -trumpet = { - \global - \set Staff.instrumentName = #"Trumpet" - \clef treble - << - \trpt - >> -} - -% ------ Alto Saxophone ------ -alto = \transpose c a \relative c' { - \Key - c1 | c | c | -} -altoHarmony = \transpose c' a { - \jazzChords -} -altoSax = { - \global - \set Staff.instrumentName = #"Alto Sax" - \clef treble - << - \alto - >> -} - -% ------ Baritone Saxophone ------ -bari = \transpose c a' \relative c { - \Key - c1 - c1 - \sl - d4^"Solo" d d d - \nsl -} -bariHarmony = \transpose c' a \chordmode { - \jazzChords s1 s d2:maj e:m7 -} -bariSax = { - \global - \set Staff.instrumentName = #"Bari Sax" - \clef treble - << - \bari - >> -} - -% ------ Trombone ------ -tbone = \relative c { - \Key - c1 | c | c -} -tboneHarmony = \chordmode { - \jazzChords -} -trombone = { - \global - \set Staff.instrumentName = #"Trombone" - \clef bass - << - \tbone - >> -} - -% ############ Rhythm Section ############# - -% ------ Guitar ------ -gtr = \relative c'' { - \Key - c1 - \sl - b4 b b b - \nsl - c1 -} -gtrHarmony = \chordmode { - \jazzChords - s1 c2:min7+ d2:maj9 -} -guitar = { - \global - \set Staff.instrumentName = #"Guitar" - \clef treble - << - \gtr - >> -} - -%% ------ Piano ------ -rhUpper = \relative c'' { - \voiceOne - \Key - c1 | c | c -} -rhLower = \relative c' { - \voiceTwo - \Key - e1 | e | e -} - -lhUpper = \relative c' { - \voiceOne - \Key - g1 | g | g -} -lhLower = \relative c { - \voiceTwo - \Key - c1 | c | c -} - -PianoRH = { - \clef treble - \global - \set Staff.midiInstrument = #"acoustic grand" - << - \new Voice = "one" \rhUpper - \new Voice = "two" \rhLower - >> -} -PianoLH = { - \clef bass - \global - \set Staff.midiInstrument = #"acoustic grand" - << - \new Voice = "one" \lhUpper - \new Voice = "two" \lhLower - >> -} - -piano = { - << - \set PianoStaff.instrumentName = #"Piano" - \new Staff = "upper" \PianoRH - \new Staff = "lower" \PianoLH - >> -} - -% ------ Bass Guitar ------ -Bass = \relative c { - \Key - c1 | c | c -} -bass = { - \global - \set Staff.instrumentName = #"Bass" - \clef bass - << - \Bass - >> -} - -% ------ Drums ------ -up = \drummode { - \voiceOne - hh4 hh - hh4 hh - hh4 hh -} -down = \drummode { - \voiceTwo - bd4 s bd s - bd4 s bd s - bd4 s bd s -} - -drumContents = { - \global - << - \set DrumStaff.instrumentName = #"Drums" - \new DrumVoice \up - \new DrumVoice \down - >> -} - -%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%% - -\score { - << - \new StaffGroup = "horns" << - \new Staff = "trumpet" \trumpet - \new Staff = "altosax" \altoSax - \new ChordNames = "barichords" \bariHarmony - \new Staff = "barisax" \bariSax - \new Staff = "trombone" \trombone - >> - - \new StaffGroup = "rhythm" << - \new ChordNames = "chords" \gtrHarmony - \new Staff = "guitar" \guitar - \new PianoStaff = "piano" \piano - \new Staff = "bass" \bass - \new DrumStaff \drumContents - >> - >> - \layout { - \context { \Staff \RemoveEmptyStaves } - \context { - \Score - \override BarNumber.padding = #3 - \override RehearsalMark.padding = #2 - skipBars = ##t - } - } - \midi { } -} - diff --git a/Documentation/snippets/new/keyboard-headword.ly b/Documentation/snippets/new/keyboard-headword.ly deleted file mode 100644 index cb2af25e9a..0000000000 --- a/Documentation/snippets/new/keyboard-headword.ly +++ /dev/null @@ -1,242 +0,0 @@ -\version "2.17.24" - -\header { - lsrtags = "headword" - - texidoc = " -Keyboard headword - -" - doctitle = "Keyboard headword" -} -% M. Ravel, Sonatine (1905) -% First movement -\include "english.ly" - -\layout { - \context { - \Score - \remove "Bar_number_engraver" - } -} - -fermataLong = \markup { - \override #'(direction . 1) - \override #'(baseline-skip . 2) { - \dir-column { - \fermata - \text \italic \center-align long - } - } -} - -\new PianoStaff << - \set PianoStaff.connectArpeggios = ##t - \new Staff { - \time 2/4 - \key fs \major - << - \new Voice { - \voiceOne - fs''8 ( ^\markup { - \override #'(baseline-skip . 2.4) \column { - \line \bold { Un peu retenu } - \line \italic { très expressif } - } - } - es''16 - cs''16 - as'4 ) - | - fs''8 ( - es''16 - cs''16 - as'4 ) - | - fs''8 ( - es''16 - cs''16 - as'8 - cs''8 ) - | - } - \new Voice { - \voiceTwo - gs'8\rest \ppp - fs'4 ( - es'8 ) - | - gs'8\rest - fs'4 ( - es'8 ) - | - gs'8\rest - fs'4 ( - es'8 ) - | - } - >> - \clef bass - 4 ( ^ \markup \bold { Rall. } - \override Script.stencil = #(lambda (grob) - (grob-interpret-markup grob fermataLong)) - 8 ) \fermata - \noBeam - \clef treble - \slurUp - \once \override Hairpin.to-barline = ##f - 8 ( \pp \> - | - 4. \! ) ^\markup \bold { a Tempo } - \slurUp - 8 ^\( \> - | - 4. \! \) - << - \new Voice { - \voiceOne - 8 ( - | - cs'8 ^\markup \bold { Rallentando } - b16 - cs'16 - d'8 - e'16 - fs'16 - | - 4. ) - s8 - | - r8 - 4 \arpeggio - e''16 ( ^\markup \bold { Lent } - fs''16 - | - \voiceTwo - 2 ) - | - } - \new Voice { - \voiceTwo - s8 - | - 4 \< - 4 \> - | - s4. \! - \slurUp - \once \override Script.direction = #UP - 8 ( \accent - | - 4. ) - \once \override Hairpin.to-barline = ##f - 8 \ppp \> - | - s8 \! - \stemDown - \once \override Script.direction = #UP - \ottava #1 - \voiceOne - \once \override PianoStaff.Arpeggio.padding = #0.8 - 4. \arpeggio \fermata - \ottava #0 - \bar "|." - } - >> - } - \new Staff << - \set Staff.pedalSustainStyle = #'bracket - \key fs \major - \clef bass - \new Voice { - \voiceOne - ds'4 \tenuto - cs'4 \tenuto - | - ds'4 \tenuto - cs'4 \tenuto - | - ds'4 \tenuto - cs'4 \tenuto - | - s8 - \clef treble - 8 [ - \clef bass - 8 \fermata ] - s8 - | - fs8\rest - \clef treble - 4 \tenuto - s8 - | - fs8\rest - \clef treble - 4 \tenuto - s8 - | - s2 - | - ds8\rest - \clef treble - 4 - \clef bass - s8 - | - s8 - \clef treble - 4 \arpeggio - \clef bass - s8 - | - s8 - \clef treble - 4. \arpeggio \fermata - | - } - \new Voice { - \voiceTwo - ds'8 [ ( - < ds bs >8 - cs'8 - < ds as >8 ] ) - | - ds'8 [ ( - < ds bs >8 - cs'8 - < ds as >8 ] ) - | - ds'8 [ ( - < ds bs >8 - cs'8 - < ds as >8 ] ) - | - \once \override Script.outside-staff-priority = #100 - \once \override TextScript.outside-staff-priority = #500 - 4. \fermata _\markup \italic { ped. } - 8 ( - | - 4. ) \sustainOn - \clef bass - 8 \( \sustainOff - | - 4. \) \sustainOn - \clef bass - 8 ( \sustainOff - | - 4 - 4 - | - 4. ) \sustainOn - 8 ( \sustainOff - | - 4. ) \sustainOn - \slurUp - 8 ( \sustainOff \sustainOn - | - 2 ) \sustainOff \sustainOn - | - } - >> ->> diff --git a/Documentation/snippets/new/making-glissandi-breakable.ly b/Documentation/snippets/new/making-glissandi-breakable.ly deleted file mode 100644 index bf065ac791..0000000000 --- a/Documentation/snippets/new/making-glissandi-breakable.ly +++ /dev/null @@ -1,31 +0,0 @@ -\version "2.17.30" - -\header { - lsrtags = "staff-notation, tweaks-and-overrides" - - texidoc = " -Setting the @code{breakable} property to @code{#t} in combination with -@code{after-line-breaking} allows a glissando to break if it occurs -at a line break: -" - - doctitle = "Making glissandi breakable" -} - -glissandoSkipOn = { - \override NoteColumn.glissando-skip = ##t - \hide NoteHead - \override NoteHead.no-ledgers = ##t -} - -\relative c'' { - \override Glissando.breakable = ##t - \override Glissando.after-line-breaking = ##t - f1\glissando | - \break - a4 r2. | - f1\glissando - \once \glissandoSkipOn - \break - a2 a4 r4 | -} diff --git a/Documentation/snippets/new/merging-multi-measure-rests-in-a-polyphonic-part.ly b/Documentation/snippets/new/merging-multi-measure-rests-in-a-polyphonic-part.ly deleted file mode 100644 index 3330291ff9..0000000000 --- a/Documentation/snippets/new/merging-multi-measure-rests-in-a-polyphonic-part.ly +++ /dev/null @@ -1,35 +0,0 @@ -\version "2.17.18" - -\header { - lsrtags = "really-simple, rhythms, version-specific" - - texidoc = " -When using multi-measure rests in a polyphonic staff, the rests will be -placed differently depending on the voice they belong to. However they -can be printed on the same staff line, using the following setting. - -" - doctitle = "Merging multi-measure rests in a polyphonic part" -} - -normalPos = \revert MultiMeasureRest.direction - -{ - << - { - c''1 - R1 - c''1 - \normalPos - R1 - } - \\ - { - c'1 - R1 - c'1 - \normalPos - R1 - } - >> -} diff --git a/Documentation/snippets/new/numbering-groups-of-measures.ly b/Documentation/snippets/new/numbering-groups-of-measures.ly deleted file mode 100644 index 2722b3d286..0000000000 --- a/Documentation/snippets/new/numbering-groups-of-measures.ly +++ /dev/null @@ -1,53 +0,0 @@ -\version "2.17.7" - -\header { - lsrtags = "contexts-and-engravers, editorial-annotations, repeats, staff-notation" - - texidoc = " -This snippet demonstrates the use of the @code{Measure_counter_engraver} to -number groups of successive measures. Any stretch of measures may be numbered, -whether consisting of repetitions or not. - -The engraver must be added to the appropriate context. Here, a @code{Staff} -context is used; another possibility is a @code{Dynamics} context. - -The counter is begun with @code{\\startMeasureCount} and ended with -@code{\\stopMeasureCount}. Numbering will start by default with @code{1}, but -this behavior may be modified by overriding the @code{count-from} property. - -When a measure extends across a line break, the number will appear twice, the -second time in parentheses. - -" - doctitle = "Numbering groups of measures" -} - -\layout { - \context { - \Staff - \consists #Measure_counter_engraver - } -} - -\new Staff { - \startMeasureCount - \repeat unfold 7 { - c'4 d' e' f' - } - \stopMeasureCount - \bar "||" - g'4 f' e' d' - \override Staff.MeasureCounter.count-from = #2 - \startMeasureCount - \repeat unfold 5 { - g'4 f' e' d' - } - g'4 f' - \bar "" - \break - e'4 d' - \repeat unfold 7 { - g'4 f' e' d' - } - \stopMeasureCount -} diff --git a/Documentation/snippets/new/numbers-as-easy-note-heads.ly b/Documentation/snippets/new/numbers-as-easy-note-heads.ly deleted file mode 100644 index 4b3f02ec8d..0000000000 --- a/Documentation/snippets/new/numbers-as-easy-note-heads.ly +++ /dev/null @@ -1,54 +0,0 @@ -\version "2.16.0" - -\header { - lsrtags = "pitches" - texidoc = " -Easy notation note heads use the @code{note-names} property -of the @code{NoteHead} object to determine what appears inside -the note head. By overriding this property, it is possible -to print numbers representing the scale-degree. - -A simple engraver can be created to do this for every note head -object it sees. -" - doctitle = "Numbers as easy note heads" -} - -#(define Ez_numbers_engraver - (make-engraver - (acknowledgers - ((note-head-interface engraver grob source-engraver) - (let* ((context (ly:translator-context engraver)) - (tonic-pitch (ly:context-property context 'tonic)) - (tonic-name (ly:pitch-notename tonic-pitch)) - (grob-pitch - (ly:event-property (event-cause grob) 'pitch)) - (grob-name (ly:pitch-notename grob-pitch)) - (delta (modulo (- grob-name tonic-name) 7)) - (note-names - (make-vector 7 (number->string (1+ delta))))) - (ly:grob-set-property! grob 'note-names note-names)))))) - -#(set-global-staff-size 26) - -\layout { - ragged-right = ##t - \context { - \Voice - \consists \Ez_numbers_engraver - } -} - -\relative c' { - \easyHeadsOn - c4 d e f - g4 a b c \break - - \key a \major - a,4 b cis d - e4 fis gis a \break - - \key d \dorian - d,4 e f g - a4 b c d -} diff --git a/Documentation/snippets/new/pitches-headword.ly b/Documentation/snippets/new/pitches-headword.ly deleted file mode 100644 index 70246ce579..0000000000 --- a/Documentation/snippets/new/pitches-headword.ly +++ /dev/null @@ -1,137 +0,0 @@ -\version "2.17.27" - -\header { - lsrtags = "headword" - - texidoc = " -Piches headword - -" - doctitle = "Pitches headword" -} -% L. v. Beethoven -% Piano sonata 21 - Dem Grafen von Waldstein Gewidmet -% chorale at measures 34 - 40+ - -\include "english.ly" - -\new PianoStaff << - - % RH Staff - \new Staff << - - % RH Voice 1 - \new Voice { - \set Score.currentBarNumber = #34 - \voiceOne - gs''2 ( ^ \markup \italic { dolce e molto ligato } - fs''4 - e''4 - | - ds''2 - cs''2 ) - | - ds''2 ( - e''4 - fs''4 - | - 2 - 2 ) - | - \oneVoice - \clef bass - 2 ( - 4 - 4 - | - 2 - 2 ) - | - \voiceOne - b2 %( - cs'4 - ds'4 - | - \clef treble - 4 %) - r4 r2 - } - - % RH Voice 2 - \new Voice { - \voiceTwo - \override Staff.DynamicLineSpanner.staff-padding = #3 - 2 \p - 4 - 4 - | - 2 - e'2 - | - 2 -\tweak #'style #'none \cresc - b'4 - 4 - | - b'2. ( \sf \> - a'4 ) - \clef bass - | \break - s1 \p - | - s1 - | - 4 ( - 2. ) - | - s4 - r4 r2 - } - - >> - - % LH Staff - \new Staff { - \override Staff.SustainPedalLineSpanner.staff-padding = #6 - 2 ( \sustainOn - 4 \sustainOff - 4 - | - 2 - 2 ) \sustainOn - | - \clef bass - \slurDown - 2 ( \sustainOff - 4 - 4 \sustainOn - | - \clef treble - \voiceOne - << - { - 2 - 2 ) - } - \new Voice { - \voiceTwo - b1 \sustainOff - } - >> - \oneVoice - | - %\break - \clef bass - 2 ( - 4 - 4 - | - 2 - 2 ) \sustainOn - | - 1 ( \sustainOff - | - 4 ) - r4 r2 - } - ->> diff --git a/Documentation/snippets/new/positioning-multi-measure-rests.ly b/Documentation/snippets/new/positioning-multi-measure-rests.ly deleted file mode 100644 index e908ef14cd..0000000000 --- a/Documentation/snippets/new/positioning-multi-measure-rests.ly +++ /dev/null @@ -1,59 +0,0 @@ -\version "2.17.18" - -\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 - \compressFullBarRests - << - \revert MultiMeasureRest.direction - { R1*3 } - \\ - \revert MultiMeasureRest.direction - { R1*3 } - >> -} diff --git a/Documentation/snippets/new/printing-hairpins-in-various-styles.ly b/Documentation/snippets/new/printing-hairpins-in-various-styles.ly deleted file mode 100644 index b6a18ecc7d..0000000000 --- a/Documentation/snippets/new/printing-hairpins-in-various-styles.ly +++ /dev/null @@ -1,30 +0,0 @@ -\version "2.17.14" - -\header { - lsrtags = "expressive-marks" - - texidoc = " -Hairpin dynamics may be created in a variety of styles - -" - doctitle = "Printing hairpins in various styles" -} - -\relative c'' { - \override Hairpin.stencil = #flared-hairpin - a4\< a a a\f - a4\p\< a a a\ff - a4\sfz\< a a a\! - \override Hairpin.stencil = #constante-hairpin - a4\< a a a\f - a4\p\< a a a\ff - a4\sfz\< a a a\! - \override Hairpin.stencil = #flared-hairpin - a4\> a a a\f - a4\p\> a a a\ff - a4\sfz\> a a a\! - \override Hairpin.stencil = #constante-hairpin - a4\> a a a\f - a4\p\> a a a\ff - a4\sfz\> a a a\! -} diff --git a/Documentation/snippets/new/quoting-another-voice-with-transposition.ly b/Documentation/snippets/new/quoting-another-voice-with-transposition.ly deleted file mode 100644 index a0153d62a2..0000000000 --- a/Documentation/snippets/new/quoting-another-voice-with-transposition.ly +++ /dev/null @@ -1,42 +0,0 @@ -\version "2.17.13" - -\header { - lsrtags = "pitches, staff-notation" - - texidoc = " -Quotations take into account the transposition of both source and -target. In this example, all instruments play sounding middle C; the -target is an instrument in F. The target part may be transposed using -@code{\\transpose}. In this case, the quoted pitches will stay -unchanged. -" - doctitle = "Quoting another voice with transposition" -} - -\addQuote clarinet { - \transposition bes - \repeat unfold 8 { d'16 d' d'8 } -} - -\addQuote sax { - \transposition es' - \repeat unfold 16 { a8 } -} - -quoteTest = { - % french horn - \transposition f - g'4 - << \quoteDuring #"clarinet" { \skip 4 } s4^"clar." >> - << \quoteDuring #"sax" { \skip 4 } s4^"sax." >> - g'4 -} - -{ - \set Staff.instrumentName = - \markup { - \center-column { Horn \line { in F } } - } - \quoteTest - \transpose c' d' << \quoteTest s4_"up a tone" >> -} diff --git a/Documentation/snippets/new/redefining-grace-note-global-defaults.ly b/Documentation/snippets/new/redefining-grace-note-global-defaults.ly deleted file mode 100644 index b4cd68c38c..0000000000 --- a/Documentation/snippets/new/redefining-grace-note-global-defaults.ly +++ /dev/null @@ -1,33 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "rhythms" - - texidoc = " -The global defaults for grace notes are stored in the identifiers -@code{startGraceMusic}, @code{stopGraceMusic}, -@code{startAcciaccaturaMusic}, @code{stopAcciaccaturaMusic}, -@code{startAppoggiaturaMusic} and @code{stopAppoggiaturaMusic}, which -are defined in the file @code{ly/grace-init.ly}. By redefining them -other effects may be obtained. - -" - doctitle = "Redefining grace note global defaults" -} - -startAcciaccaturaMusic = { - <>( - \override Flag.stroke-style = #"grace" - \slurDashed -} - -stopAcciaccaturaMusic = { - \revert Flag.stroke-style - \slurSolid - <>) -} - -\relative c'' { - \acciaccatura d8 c1 -} - diff --git a/Documentation/snippets/new/score-for-diatonic-accordion.ly b/Documentation/snippets/new/score-for-diatonic-accordion.ly deleted file mode 100644 index bca93b5c6a..0000000000 --- a/Documentation/snippets/new/score-for-diatonic-accordion.ly +++ /dev/null @@ -1,240 +0,0 @@ -\version "2.17.30" - -\header { - lsrtags = "template, real-music, specific-notation" - - texidoc = " -A template to write a score for a diatonic accordion. - -- There is a horizontal staff indicating if the accordion must be -pushed (thick line) or pulled (thin line) - -- There is a small rhythmic staff with lyrics that describes the bass -buttons to press. The bar lines are made from gridlines - -- The tabulator staff for diatonic accordions shows the geographic -position of the buttons and not (as for every other instrument) the -pitch of the notes; the keys on the melody-side of the accordion are -placed in three columns and about 12 rows - - -In the tabulator staff notation the outermost column is described with -notes between lines, the innermost column is described with notes -between lines and a cross as accidental, and the middle column is -described with notes on a line, whereby the row in the middle is -represented on the middle line in the staff. - - -Some words to transpose piano notes to the diatonic accordion: - - -1. Every diatonic accordion is built for some keys only (for example, -for the keys of C major and F major), so it is important to transpose a -piano melody to match one of these keys. Transpose the source code, not -only the output because this code is required later on to translate it -once more to the tabulator staff. This can be done with the command -@code{displayLilyMusic}. - - -2. You have to alternate the push- and pull-direction of the accordion -regularly. If the player has a too long part to pull the accordion gets -broken. On the other hand, some harmonies are only available in one -direction. Considering this, decide which parts of the melody are the -push-parts and which the pull-parts. - - -3. For each pull- or push-part translate the piano notes to the -according tabulature representation. - - -This snippet comes with a useful optional macro for the jEdit text -editor. - -" - doctitle = "Score for diatonic accordion" -} - -verse = \lyricmode { Wie gross bist du! Wie gross bist du! } - -harmonies = \new ChordNames \chordmode { - \germanChords - \set chordChanges = ##t - bes8 bes8 bes8 - es2 f - bes1 -} - -NoStem = { \hide Stem } -NoNoteHead = \hide NoteHead -ZeroBeam = \override Beam.positions = #'(0 . 0) - -staffTabLine = \new Staff \with { - \remove "Time_signature_engraver" - \remove "Clef_engraver" -} { - \override Staff.StaffSymbol.line-positions = #'(0) - % Shows one horizontal line. The vertical line (simulating a bar-line) is simulated with a gridline - \set Staff.midiInstrument = #"choir aahs" - \key c \major - \relative c'' - { - % disable the following line to see the the noteheads while writing the song - \NoNoteHead - \override NoteHead.no-ledgers = ##t - - % The beam between 8th-notes is used to draw the push-line - %How to fast write the push-lines: - % 1. write repeatedly 'c c c c c c c c |' for the whole length of the song - % 2. uncomment the line \NoNoteHead - % 3. compile - % 4. Mark the positions on which push/pull changes. - % In the score-picture click on the position the push- or pull-part starts - % (on the noteHead, the cursor will change to a hand-icon). - % The cursor in the source code will jump just at this position. - % a) If a push-part starts there, replace the 'c' by an 'e[' - % b) If a pull-part starts there, replace the 'c' by an 's' - % 5. Switch into 'overwrite-mode' by pressing the 'ins' key. - % 6. For the pull-parts overwrite the 'c' with 's' - % 7. For every push-part replace the last 'c' with 'e]' - % 8. Switch into 'insert-mode' again - % 9. At last it should look lik e.g. (s s e[ c | c c c c c c c c | c c c c c c e] s s) - % 10. re-enable the line \NoNoteHead - \autoBeamOff - \ZeroBeam - s8 s s e[ c c c c c c e] | s s s s s - } -} - -%{ -%} - -% Accordion melody in tabulator score -% 1. Place a copy of the piano melody below -% 2. Separate piano melody into pull- and push-parts according to the staffTabLine you've already made -% 3. For each line: Double the line. Remark the 1st one (Keeps unchanged as reference) and then change the second line using the transformation paper -% or the macros 'conv2diaton push.bsh' and 'conv2diaton pull.bsh' -% Tips: -% - In jEdit Search & Replace mark the Option 'Keep Dialog' - -AccordionTabTwoCBesDur = { - % pull 1 - %8 8 8 | - 8 8 8 | - % push 2 - %4 | - 4 | - % pull 3 - % 2 r8 } - 2 r8 } - -AccordionTab= { \dynamicUp - % 1. Place a copy of the piano melody above - % 2. Separate piano melody into pull- and push-parts according to the staffTabLine you've already made - % 3. For each line: Double the line. Remark the 1st one (Keeps unchanged as reference) and then - % change the second line using the transformation paper - % Tips: - % - In jEdit Search & Replace mark the Option 'Keep Dialog' - % - - \AccordionTabTwoCBesDur -} - - - -\layout { - \context { - \Score - % The vertical line (simulating a bar-line) in - % the staffBassRhytm is a gridline - \consists "Grid_line_span_engraver" - } - \context { - \Staff - \consists "Grid_point_engraver" - gridInterval = #(ly:make-moment 4/4) % 4/4 - tact. How many beats per bar - % The following line has to be adjusted O-F-T-E-N. - \override GridPoint.Y-extent = #'(-2 . -21) - } - \context { - \ChoirStaff - \remove "System_start_delimiter_engraver" - } -} - -staffVoice = \new Staff = astaffvoice { - \time 4/4 - \set Staff.instrumentName = "Voice" - \set Staff.midiInstrument = "voice oohs" - \key bes \major - \partial 8*3 - \clef treble - { - \context Voice = "melodyVoi" - { 8 8 8 | 4 | 2 r8 } - \bar "|." - } -} - -staffAccordionMel = -\new Staff \with { \remove "Clef_engraver" } { - \accidentalStyle forget %Set the accidentals (Vorzeichen) for each note, - %do not remember them for the rest of the measure. - \time 4/4 - \set Staff.instrumentName="Accordion" - \set Staff.midiInstrument="voice oohs" - \key c \major - \clef treble - { \AccordionTab \bar "|." } -} - -AltOn = -#(define-music-function (parser location mag) (number?) - #{ \override Stem.length = #(* 7.0 mag) - \override NoteHead.font-size = -#(inexact->exact (* (/ 6.0 (log 2.0)) (log mag))) #}) - -AltOff = { - \revert Stem.length - \revert NoteHead.font-size -} - -BassRhytm = {s4 s8 | c2 c2 | c2 s8 } -LyricBassRhythmI= \lyricmode { c b | c } - -staffBassRhytm = -\new Staff = staffbass \with { \remove "Clef_engraver" } { - % This is not a RhythmicStaff because it must be possible to append lyrics. - - \override Score.GridLine.extra-offset = #'( 13.0 . 0.0 ) % x.y - \override Staff.StaffSymbol.line-positions = #'( 0 ) - % Shows one horizontal line. The vertical line (simulating a bar-line) is simulated by a grid - % Search for 'grid' in this page to find all related functions - \time 4/4 - { - \context Voice = "VoiceBassRhytm" - \stemDown \AltOn #0.6 - \relative c'' - { - \BassRhytm - } - \AltOff - \bar "|." - } -} - -\score { - \new ChoirStaff << - \harmonies - \staffVoice - \context Lyrics = "lmelodyVoi" - \with { alignBelowContext = astaffvoice } - \lyricsto melodyVoi \verse - \staffAccordionMel - \staffTabLine - \staffBassRhytm - \context Lyrics = "lBassRhytmAboveI" - \with { alignAboveContext = staffbass } - \lyricsto VoiceBassRhytm \LyricBassRhythmI - >> -} -%} - diff --git a/Documentation/snippets/new/strict-beat-beaming.ly b/Documentation/snippets/new/strict-beat-beaming.ly deleted file mode 100644 index e61446912a..0000000000 --- a/Documentation/snippets/new/strict-beat-beaming.ly +++ /dev/null @@ -1,21 +0,0 @@ -\version "2.16.0" - -\header { - texidoc = " -Beamlets can be set to point in the direction of the beat to which they -belong. The first beam avoids sticking out flags (the default); -the second beam strictly follows the beat. -" - - doctitle = "Strict beat beaming" - - lsrtags = "rhythms" -} - - -\relative c'' { - \time 6/8 - a8. a16 a a - \set strictBeatBeaming = ##t - a8. a16 a a -} diff --git a/Documentation/snippets/new/string-number-extender-lines.ly b/Documentation/snippets/new/string-number-extender-lines.ly deleted file mode 100644 index 90ea3fc2f1..0000000000 --- a/Documentation/snippets/new/string-number-extender-lines.ly +++ /dev/null @@ -1,34 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language" - - texidoc = " -Make an extender line for string number indications, showing that a -series of notes is supposed to be played all on the same string. - -" - doctitle = "String number extender lines" -} - -stringNumberSpanner = -#(define-music-function (parser location StringNumber) (string?) - #{ - \override TextSpanner.style = #'solid - \override TextSpanner.font-size = #-5 - \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER - \override TextSpanner.bound-details.left.text = \markup { \circle \number #StringNumber } - #}) - - -\relative c { - \clef "treble_8" - \stringNumberSpanner "5" - \textSpannerDown - a8\startTextSpan - b c d e f\stopTextSpan - \stringNumberSpanner "4" - g\startTextSpan a - bes4 a g2\stopTextSpan -} - diff --git a/Documentation/snippets/new/using-a-tick-as-the-breath-mark-symbol.ly b/Documentation/snippets/new/using-a-tick-as-the-breath-mark-symbol.ly deleted file mode 100644 index ad440c3c96..0000000000 --- a/Documentation/snippets/new/using-a-tick-as-the-breath-mark-symbol.ly +++ /dev/null @@ -1,25 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "expressive-marks" - - texidoc = " -Vocal and wind music frequently uses a tick mark as a breathing sign. This -indicates a breath that subtracts a little time from the previous note rather -than causing a short pause, which is indicated by the comma breath mark. The -mark can be moved up a little to take it away from the stave. -" - doctitle = "Using a tick as the breath mark symbol" -} - -\relative c'' { - c2 - \breathe - d2 - \override BreathingSign.Y-offset = #2.6 - \override BreathingSign.text = - \markup { \musicglyph #"scripts.tickmark" } - c2 - \breathe - d2 -} diff --git a/Documentation/snippets/new/using-alternative-flag-styles.ly b/Documentation/snippets/new/using-alternative-flag-styles.ly deleted file mode 100644 index 5932ba2565..0000000000 --- a/Documentation/snippets/new/using-alternative-flag-styles.ly +++ /dev/null @@ -1,33 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "rhythms, tweaks-and-overrides" - - texidoc = " -Alternative styles of flag on eighth and shorter notes can be displayed -by overriding the @code{stencil} property of @code{Flag}. Valid values -are @code{modern-straight-flag} and @code{old-straight-flag}. - -" - doctitle = "Using alternative flag styles" -} - -testnotes = { - \autoBeamOff - c8 d16 c32 d64 \acciaccatura { c8 } d64 r4 -} - -\relative c' { - \time 2/4 - \testnotes - - \override Flag.stencil = #modern-straight-flag - \testnotes - - \override Flag.stencil = #old-straight-flag - \testnotes - - \revert Flag.stencil - \testnotes -} - diff --git a/Documentation/snippets/new/using-an-extra-voice-for-breaks.ly b/Documentation/snippets/new/using-an-extra-voice-for-breaks.ly deleted file mode 100644 index 418b9d68af..0000000000 --- a/Documentation/snippets/new/using-an-extra-voice-for-breaks.ly +++ /dev/null @@ -1,41 +0,0 @@ -\version "2.18.0" - -\header { - lsrtags = "specific-notation, workaround" - - texidoc = " - -Often it is easier to manage line and page-breaking information by -keeping it separate from the music by introducing an extra voice -containing only skips along with the @code{\break}, -@code{pageBreak} and other layout information. - -This pattern becomes especially helpful when overriding -@code{line-break-system-details} and the other useful but long -properties of @code{NonMusicalPaperColumnGrob}. -" - doctitle = "Using an extra voice for breaks" -} - -music = \relative c'' { c4 c c c } - -\header { tagline = ##f } -\paper { left-margin = 0\mm } -\book { - \score { - \new Staff << - \new Voice { - s1 * 2 \break - s1 * 3 \break - s1 * 6 \break - s1 * 5 \break - } - \new Voice { - \repeat unfold 2 { \music } - \repeat unfold 3 { \music } - \repeat unfold 6 { \music } - \repeat unfold 5 { \music } - } - >> - } -} diff --git a/Documentation/snippets/new/using-grace-note-slashes-with-normal-heads.ly b/Documentation/snippets/new/using-grace-note-slashes-with-normal-heads.ly deleted file mode 100644 index 0a53f3d980..0000000000 --- a/Documentation/snippets/new/using-grace-note-slashes-with-normal-heads.ly +++ /dev/null @@ -1,18 +0,0 @@ -\version "2.17.6" - -\header { - lsrtags = "rhythms" - - texidoc = " -The slash through the stem found in acciaccaturas can be applied in -other situations. - -" - doctitle = "Using grace note slashes with normal heads" -} - -\relative c'' { - \override Flag.stroke-style = #"grace" - c8( d2) e8( f4) -} - diff --git a/Documentation/snippets/new/vertically-aligned-dynamics-and-textscripts.ly b/Documentation/snippets/new/vertically-aligned-dynamics-and-textscripts.ly deleted file mode 100644 index 909f09e62d..0000000000 --- a/Documentation/snippets/new/vertically-aligned-dynamics-and-textscripts.ly +++ /dev/null @@ -1,34 +0,0 @@ -\version "2.17.27" - -\header { - lsrtags = "spacing, tweaks-and-overrides, workaround" - - texidoc = " -All @code{DynamicLineSpanner} objects (hairpins and dynamic texts) are -placed with their reference line at least @code{'staff-padding} from -the staff, unless other notation forces them to be farther. -Setting @code{'staff-padding} to a sufficiently large value aligns the -dynamics. - -The same idea, together with @code{\\textLengthOn}, is used to align -the text scripts along their baseline. - -" - doctitle = "Vertically aligned dynamics and textscripts" -} -\markup \vspace #1 %avoid LSR-bug - -music = \relative c' { - a'2\p b\f - e4\p f\f\> g, b\p - c2^\markup { \huge gorgeous } c^\markup { \huge fantastic } -} - -{ - \music - \break - \override DynamicLineSpanner.staff-padding = #3 - \textLengthOn - \override TextScript.staff-padding = #1 - \music -} diff --git a/Documentation/snippets/new/woodwind-diagrams-key-lists.ly b/Documentation/snippets/new/woodwind-diagrams-key-lists.ly deleted file mode 100644 index b9eaaa8895..0000000000 --- a/Documentation/snippets/new/woodwind-diagrams-key-lists.ly +++ /dev/null @@ -1,30 +0,0 @@ -\version "2.16.0" - -\header { - lsrtags = "winds" - - texidoc=" -The snippet below produces a list of all possible keys and key -settings for woodwind diagrams as defined in -@file{scm/define-woodwind-diagrams.scm}. The list will be displayed -in the log file, but not in the music. If output to the console -is wanted, omit the @code{(current-error-port)} from the commands. -" - doctitle = "Woodwind diagrams key lists" -} - -#(print-keys-verbose 'piccolo (current-error-port)) -#(print-keys-verbose 'flute (current-error-port)) -#(print-keys-verbose 'flute-b-extension (current-error-port)) -#(print-keys-verbose 'tin-whistle (current-error-port)) -#(print-keys-verbose 'oboe (current-error-port)) -#(print-keys-verbose 'clarinet (current-error-port)) -#(print-keys-verbose 'bass-clarinet (current-error-port)) -#(print-keys-verbose 'low-bass-clarinet (current-error-port)) -#(print-keys-verbose 'saxophone (current-error-port)) -#(print-keys-verbose 'soprano-saxophone (current-error-port)) -#(print-keys-verbose 'alto-saxophone (current-error-port)) -#(print-keys-verbose 'tenor-saxophone (current-error-port)) -#(print-keys-verbose 'baritone-saxophone (current-error-port)) -#(print-keys-verbose 'bassoon (current-error-port)) -#(print-keys-verbose 'contrabassoon (current-error-port)) diff --git a/Documentation/snippets/numbering-groups-of-measures.ly b/Documentation/snippets/numbering-groups-of-measures.ly index 7c082bed1b..17d731c7b6 100644 --- a/Documentation/snippets/numbering-groups-of-measures.ly +++ b/Documentation/snippets/numbering-groups-of-measures.ly @@ -1,35 +1,39 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.7 -\version "2.17.7" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "contexts-and-engravers, editorial-annotations, repeats, staff-notation" texidoc = " -This snippet demonstrates the use of the @code{Measure_counter_engraver} to -number groups of successive measures. Any stretch of measures may be numbered, -whether consisting of repetitions or not. +This snippet demonstrates the use of the +@code{Measure_counter_engraver} to number groups of successive +measures. Any stretch of measures may be numbered, whether consisting +of repetitions or not. + + +The engraver must be added to the appropriate context. Here, a +@code{Staff} context is used; another possibility is a @code{Dynamics} +context. -The engraver must be added to the appropriate context. Here, a @code{Staff} -context is used; another possibility is a @code{Dynamics} context. The counter is begun with @code{\\startMeasureCount} and ended with -@code{\\stopMeasureCount}. Numbering will start by default with @code{1}, but -this behavior may be modified by overriding the @code{count-from} property. +@code{\\stopMeasureCount}. Numbering will start by default with +@code{1}, but this behavior may be modified by overriding the +@code{count-from} property. -When a measure extends across a line break, the number will appear twice, the -second time in parentheses. + +When a measure extends across a line break, the number will appear +twice, the second time in parentheses. " doctitle = "Numbering groups of measures" } % begin verbatim - \layout { \context { \Staff diff --git a/Documentation/snippets/numbers-as-easy-note-heads.ly b/Documentation/snippets/numbers-as-easy-note-heads.ly index 70faa4ae4b..b8e9f3421c 100644 --- a/Documentation/snippets/numbers-as-easy-note-heads.ly +++ b/Documentation/snippets/numbers-as-easy-note-heads.ly @@ -1,27 +1,27 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "pitches" + texidoc = " -Easy notation note heads use the @code{note-names} property -of the @code{NoteHead} object to determine what appears inside -the note head. By overriding this property, it is possible -to print numbers representing the scale-degree. +Easy notation note heads use the @code{note-names} property of the +@code{NoteHead} object to determine what appears inside the note head. +By overriding this property, it is possible to print numbers +representing the scale-degree. + +A simple engraver can be created to do this for every note head object +it sees. -A simple engraver can be created to do this for every note head -object it sees. " doctitle = "Numbers as easy note heads" } % begin verbatim - #(define Ez_numbers_engraver (make-engraver (acknowledgers diff --git a/Documentation/snippets/pitches-headword.ly b/Documentation/snippets/pitches-headword.ly index ad09b5755b..b2f27eddc9 100644 --- a/Documentation/snippets/pitches-headword.ly +++ b/Documentation/snippets/pitches-headword.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.27 -\version "2.17.27" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "headword" @@ -141,5 +140,4 @@ Piches headword 4 ) r4 r2 } - >> diff --git a/Documentation/snippets/positioning-multi-measure-rests.ly b/Documentation/snippets/positioning-multi-measure-rests.ly index b32e5b9a51..2f9cd215d7 100644 --- a/Documentation/snippets/positioning-multi-measure-rests.ly +++ b/Documentation/snippets/positioning-multi-measure-rests.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.18 -\version "2.17.18" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "rhythms, tweaks-and-overrides" @@ -22,7 +21,6 @@ follows: doctitle = "Positioning multi-measure rests" } % begin verbatim - \relative c'' { % Multi-measure rests by default are set under the fourth line R1 diff --git a/Documentation/snippets/printing-hairpins-in-various-styles.ly b/Documentation/snippets/printing-hairpins-in-various-styles.ly index 1ce96f79a6..54be1bd351 100644 --- a/Documentation/snippets/printing-hairpins-in-various-styles.ly +++ b/Documentation/snippets/printing-hairpins-in-various-styles.ly @@ -1,23 +1,21 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.14 -\version "2.17.14" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "expressive-marks" texidoc = " -Hairpin dynamics may be created in a variety of styles +Hairpin dynamics may be created in a variety of styles. " doctitle = "Printing hairpins in various styles" } % begin verbatim - \relative c'' { \override Hairpin.stencil = #flared-hairpin a4\< a a a\f diff --git a/Documentation/snippets/quoting-another-voice-with-transposition.ly b/Documentation/snippets/quoting-another-voice-with-transposition.ly index df7517fd79..82f02f0f0d 100644 --- a/Documentation/snippets/quoting-another-voice-with-transposition.ly +++ b/Documentation/snippets/quoting-another-voice-with-transposition.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.13 -\version "2.17.13" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "pitches, staff-notation" @@ -14,13 +13,13 @@ Quotations take into account the transposition of both source and target. In this example, all instruments play sounding middle C; the target is an instrument in F. The target part may be transposed using -@code{\\transpose}. In this case, the quoted pitches will stay -unchanged. +@code{\\transpose}. In this case, all the pitches (including the +quoted ones) are transposed. + " doctitle = "Quoting another voice with transposition" } % begin verbatim - \addQuote clarinet { \transposition bes \repeat unfold 8 { d'16 d' d'8 } diff --git a/Documentation/snippets/redefining-grace-note-global-defaults.ly b/Documentation/snippets/redefining-grace-note-global-defaults.ly index ae51b3c9a7..410fdd0fe2 100644 --- a/Documentation/snippets/redefining-grace-note-global-defaults.ly +++ b/Documentation/snippets/redefining-grace-note-global-defaults.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "rhythms" @@ -22,7 +21,6 @@ other effects may be obtained. doctitle = "Redefining grace note global defaults" } % begin verbatim - startAcciaccaturaMusic = { <>( \override Flag.stroke-style = #"grace" diff --git a/Documentation/snippets/rhythms.snippet-list b/Documentation/snippets/rhythms.snippet-list index 358e8accfb..c837908e72 100644 --- a/Documentation/snippets/rhythms.snippet-list +++ b/Documentation/snippets/rhythms.snippet-list @@ -23,7 +23,7 @@ controlling-tuplet-bracket-visibility.ly creating-metronome-marks-in-markup-mode.ly engraving-ties-manually.ly engraving-tremolos-with-floating-beams.ly -entering-several-tuplets-using-only-one--times-command.ly +entering-several-tuplets-using-only-one--tuplet-command.ly flat-flags-and-beam-nibs.ly forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly generating-custom-flags.ly diff --git a/Documentation/snippets/score-for-diatonic-accordion.ly b/Documentation/snippets/score-for-diatonic-accordion.ly index 46883755e6..f07285c8b7 100644 --- a/Documentation/snippets/score-for-diatonic-accordion.ly +++ b/Documentation/snippets/score-for-diatonic-accordion.ly @@ -1,14 +1,13 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.30 -\version "2.17.30" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { - lsrtags = "template, real-music, specific-notation" + lsrtags = "real-music, specific-notation, template" texidoc = " A template to write a score for a diatonic accordion. @@ -53,15 +52,10 @@ push-parts and which the pull-parts. 3. For each pull- or push-part translate the piano notes to the according tabulature representation. - -This snippet comes with a useful optional macro for the jEdit text -editor. - " doctitle = "Score for diatonic accordion" } % begin verbatim - verse = \lyricmode { Wie gross bist du! Wie gross bist du! } harmonies = \new ChordNames \chordmode { @@ -113,9 +107,6 @@ staffTabLine = \new Staff \with { } } -%{ -%} - % Accordion melody in tabulator score % 1. Place a copy of the piano melody below % 2. Separate piano melody into pull- and push-parts according to the staffTabLine you've already made @@ -244,4 +235,3 @@ staffBassRhytm = \lyricsto VoiceBassRhytm \LyricBassRhythmI >> } -%} diff --git a/Documentation/snippets/strict-beat-beaming.ly b/Documentation/snippets/strict-beat-beaming.ly index 238479a413..2982663604 100644 --- a/Documentation/snippets/strict-beat-beaming.ly +++ b/Documentation/snippets/strict-beat-beaming.ly @@ -1,26 +1,23 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { + lsrtags = "rhythms" + texidoc = " Beamlets can be set to point in the direction of the beat to which they -belong. The first beam avoids sticking out flags (the default); -the second beam strictly follows the beat. -" +belong. The first beam avoids sticking out flags (the default); the +second beam strictly follows the beat. +" doctitle = "Strict beat beaming" - - lsrtags = "rhythms" } % begin verbatim - - \relative c'' { \time 6/8 a8. a16 a a diff --git a/Documentation/snippets/string-number-extender-lines.ly b/Documentation/snippets/string-number-extender-lines.ly index 726e69b778..5409fbaf4f 100644 --- a/Documentation/snippets/string-number-extender-lines.ly +++ b/Documentation/snippets/string-number-extender-lines.ly @@ -1,14 +1,13 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { - lsrtags = "editorial-annotations, text, fretted-strings, tweaks-and-overrides, scheme-language" + lsrtags = "editorial-annotations, fretted-strings, scheme-language, text, tweaks-and-overrides" texidoc = " Make an extender line for string number indications, showing that a @@ -18,15 +17,14 @@ series of notes is supposed to be played all on the same string. doctitle = "String number extender lines" } % begin verbatim - stringNumberSpanner = -#(define-music-function (parser location StringNumber) (string?) - #{ - \override TextSpanner.style = #'solid - \override TextSpanner.font-size = #-5 - \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER - \override TextSpanner.bound-details.left.text = \markup { \circle \number #StringNumber } - #}) + #(define-music-function (parser location StringNumber) (string?) + #{ + \override TextSpanner.style = #'solid + \override TextSpanner.font-size = #-5 + \override TextSpanner.bound-details.left.stencil-align-dir-y = #CENTER + \override TextSpanner.bound-details.left.text = \markup { \circle \number $StringNumber } + #}) \relative c { diff --git a/Documentation/snippets/syntax-and-expressions.snippet-list b/Documentation/snippets/syntax-and-expressions.snippet-list index 6cef9e842f..fe78d91421 100644 --- a/Documentation/snippets/syntax-and-expressions.snippet-list +++ b/Documentation/snippets/syntax-and-expressions.snippet-list @@ -1,4 +1,4 @@ combining-two-parts-on-the-same-staff.ly -entering-several-tuplets-using-only-one--times-command.ly +entering-several-tuplets-using-only-one--tuplet-command.ly extending-a-trillspanner.ly vertical-aligned-staffgroups-without-connecting-systemstartbar.ly diff --git a/Documentation/snippets/using-a-tick-as-the-breath-mark-symbol.ly b/Documentation/snippets/using-a-tick-as-the-breath-mark-symbol.ly index 27c80491e7..bda583ab8c 100644 --- a/Documentation/snippets/using-a-tick-as-the-breath-mark-symbol.ly +++ b/Documentation/snippets/using-a-tick-as-the-breath-mark-symbol.ly @@ -1,25 +1,25 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "expressive-marks" texidoc = " -Vocal and wind music frequently uses a tick mark as a breathing sign. This -indicates a breath that subtracts a little time from the previous note rather -than causing a short pause, which is indicated by the comma breath mark. The -mark can be moved up a little to take it away from the stave. +Vocal and wind music frequently uses a tick mark as a breathing sign. +This indicates a breath that subtracts a little time from the previous +note rather than causing a short pause, which is indicated by the comma +breath mark. The mark can be moved up a little to take it away from +the stave. + " doctitle = "Using a tick as the breath mark symbol" } % begin verbatim - \relative c'' { c2 \breathe diff --git a/Documentation/snippets/using-alternative-flag-styles.ly b/Documentation/snippets/using-alternative-flag-styles.ly index 3338586384..319456cba1 100644 --- a/Documentation/snippets/using-alternative-flag-styles.ly +++ b/Documentation/snippets/using-alternative-flag-styles.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "rhythms, tweaks-and-overrides" @@ -19,7 +18,6 @@ are @code{modern-straight-flag} and @code{old-straight-flag}. doctitle = "Using alternative flag styles" } % begin verbatim - testnotes = { \autoBeamOff c8 d16 c32 d64 \acciaccatura { c8 } d64 r4 diff --git a/Documentation/snippets/using-an-extra-voice-for-breaks.ly b/Documentation/snippets/using-an-extra-voice-for-breaks.ly index b0c952ca65..c355a93f75 100644 --- a/Documentation/snippets/using-an-extra-voice-for-breaks.ly +++ b/Documentation/snippets/using-an-extra-voice-for-breaks.ly @@ -1,49 +1,43 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.18.0 +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "specific-notation, workaround" texidoc = " - Often it is easier to manage line and page-breaking information by keeping it separate from the music by introducing an extra voice -containing only skips along with the @code{\\break}, -@code{pageBreak} and other layout information. +containing only skips along with the @code{\\break}, @code{pageBreak} +and other layout information. This pattern becomes especially helpful when overriding @code{line-break-system-details} and the other useful but long properties of @code{NonMusicalPaperColumnGrob}. + " doctitle = "Using an extra voice for breaks" } % begin verbatim - music = \relative c'' { c4 c c c } -\header { tagline = ##f } -\paper { left-margin = 0\mm } -\book { - \score { - \new Staff << - \new Voice { - s1 * 2 \break - s1 * 3 \break - s1 * 6 \break - s1 * 5 \break - } - \new Voice { - \repeat unfold 2 { \music } - \repeat unfold 3 { \music } - \repeat unfold 6 { \music } - \repeat unfold 5 { \music } - } - >> - } +\score { + \new Staff << + \new Voice { + s1 * 2 \break + s1 * 3 \break + s1 * 6 \break + s1 * 5 \break + } + \new Voice { + \repeat unfold 2 { \music } + \repeat unfold 3 { \music } + \repeat unfold 6 { \music } + \repeat unfold 5 { \music } + } + >> } diff --git a/Documentation/snippets/using-grace-note-slashes-with-normal-heads.ly b/Documentation/snippets/using-grace-note-slashes-with-normal-heads.ly index a348603f9a..4d2898ff32 100644 --- a/Documentation/snippets/using-grace-note-slashes-with-normal-heads.ly +++ b/Documentation/snippets/using-grace-note-slashes-with-normal-heads.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.6 -\version "2.17.6" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "rhythms" @@ -18,7 +17,6 @@ other situations. doctitle = "Using grace note slashes with normal heads" } % begin verbatim - \relative c'' { \override Flag.stroke-style = #"grace" c8( d2) e8( f4) diff --git a/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly b/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly index 82a609c12f..9e631e1c2f 100644 --- a/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly +++ b/Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly @@ -1,11 +1,10 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.17.27 -\version "2.17.27" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "spacing, tweaks-and-overrides, workaround" @@ -13,9 +12,8 @@ texidoc = " All @code{DynamicLineSpanner} objects (hairpins and dynamic texts) are placed with their reference line at least @code{'staff-padding} from -the staff, unless other notation forces them to be farther. -Setting @code{'staff-padding} to a sufficiently large value aligns the -dynamics. +the staff, unless other notation forces them to be farther. Setting +@code{'staff-padding} to a sufficiently large value aligns the dynamics. The same idea, together with @code{\\textLengthOn}, is used to align the text scripts along their baseline. @@ -24,8 +22,6 @@ the text scripts along their baseline. doctitle = "Vertically aligned dynamics and textscripts" } % begin verbatim -\markup \vspace #1 %avoid LSR-bug - music = \relative c' { a'2\p b\f e4\p f\f\> g, b\p diff --git a/Documentation/snippets/woodwind-diagrams-key-lists.ly b/Documentation/snippets/woodwind-diagrams-key-lists.ly index 011aa3dcc6..4fe018c92b 100644 --- a/Documentation/snippets/woodwind-diagrams-key-lists.ly +++ b/Documentation/snippets/woodwind-diagrams-key-lists.ly @@ -1,26 +1,25 @@ -% DO NOT EDIT this file manually; it is automatically -% generated from Documentation/snippets/new -% Make any changes in Documentation/snippets/new/ -% and then run scripts/auxiliar/makelsr.py -% -% This file is in the public domain. -%% Note: this file works from version 2.16.0 -\version "2.16.0" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.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.18.0" \header { lsrtags = "winds" - texidoc=" -The snippet below produces a list of all possible keys and key -settings for woodwind diagrams as defined in -@file{scm/define-woodwind-diagrams.scm}. The list will be displayed -in the log file, but not in the music. If output to the console -is wanted, omit the @code{(current-error-port)} from the commands. + texidoc = " +The snippet below produces a list of all possible keys and key settings +for woodwind diagrams as defined in +@code{scm/define-woodwind-diagrams.scm}. The list will be displayed in +the log file, but not in the music. If output to the console is +wanted, omit the @code{(current-error-port)} from the commands. + " doctitle = "Woodwind diagrams key lists" } % begin verbatim - #(print-keys-verbose 'piccolo (current-error-port)) #(print-keys-verbose 'flute (current-error-port)) #(print-keys-verbose 'flute-b-extension (current-error-port)) @@ -36,3 +35,5 @@ is wanted, omit the @code{(current-error-port)} from the commands. #(print-keys-verbose 'baritone-saxophone (current-error-port)) #(print-keys-verbose 'bassoon (current-error-port)) #(print-keys-verbose 'contrabassoon (current-error-port)) + +\score {c''1} -- 2.39.5