]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/fretted-headword.ly
Merge remote branch 'origin/master' into release/unstable
[lilypond.git] / Documentation / snippets / fretted-headword.ly
index 73d4a7ee29d8226439fba09ed2b5678ba6fe2a07..43f92c152f3fbe5788d0fd89fef5850828e9d01f 100644 (file)
@@ -1,22 +1,19 @@
-% Do not edit this file; it is automatically
+% 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.12.0
+%% Note: this file works from version 2.17.11
 % 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.13.18"
-
-#(set-global-staff-size 15)
-\paper {
-  line-width = 17\cm
-  indent = 0\cm
-}
+\version "2.17.30"
 
 \header {
-  lsrtags = "headwords"
+  lsrtags = "headword"
   texidoc = ""
   doctitle = "headword"
 } % begin verbatim
@@ -27,8 +24,6 @@
   \context {
     \Score
     \remove "Bar_number_engraver"
-    \override PaperColumn #'keep-inside-line = ##t
-    \override NonMusicalPaperColumn #'keep-inside-line = ##t
   }
 }
 
@@ -48,12 +43,12 @@ 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)
+  \once \override Voice.Fingering.extra-offset = #(cons offsetX offsetY)
 #})
 
 % markups
 rit = \markup \center-align { \bold { \italic { " rit." } } }
-dim = \markup \center-align { \italic { " dim." } }
+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.")))
@@ -86,22 +81,22 @@ melody = \relative c {
   R1 % m. 5
 
   e'4^\benmarcato e8. d16-4
-  d4-4 \times 2/3 { \sfou \FO #'-0.3 #'0.6 <c-2>4 b8 } | % end of m. 6
+  d4-4 \tuplet 3/2 { \sfou \FO #'-0.3 #'0.6 <c-2>4 b8 } | % end of m. 6
 
   \FO #'-0.3 #'0.3
-  <a-3>4 \times 2/3 { c4 b8 } a4 e'8. e16 | % m. 7
+  <a-3>4 \tuplet 3/2 { c4 b8 } a4 e'8. e16 | % m. 7
 
   \FO #'-0.3 #'0.3
-  <g-4>4 \times 2/3 { \sfol \FO #'0.3 #'0.0 <f-1>4 e8 } e4  % beg of m. 8
-  \times 2/3 { \sfou <d-4>4 c8 } | % end of m. 8
+  <g-4>4 \tuplet 3/2 { \sfol \FO #'0.3 #'0.0 <f-1>4 e8 } e4  % beg of m. 8
+  \tuplet 3/2 { \sfou <d-4>4 c8 } | % end of m. 8
 
-  b4 \times 2/3 { d4-4 c8 } \sfou \FO #'-1.7 #'-1.5 <b-0>4 e | % end of m. 9
+  b4 \tuplet 3/2 { d4-4 c8 } \sfou \FO #'-1.7 #'-1.5 <b-0>4 e | % end of m. 9
 
-  e4 e8. d16-4 d4 \times 2/3 { c4 b8 } | % m. 10
+  e4 e8. d16-4 d4 \tuplet 3/2 { c4 b8 } | % m. 10
 
-  \times 2/3 { a4 a8 b4 c8 } % beg of m. 11
+  \tuplet 3/2 { a4 a8 b4 c8 } % beg of m. 11
   \sfou \FO #'-0.3 #'0.3
-  <d-4>4^\< \times 2/3 { e4 <d f>8\! } | % end of m. 11
+  <d-4>4^\< \tuplet 3/2 { e4 <d f>8\! } | % end of m. 11
 }
 
 bass = \relative c {
@@ -114,30 +109,28 @@ bass = \relative c {
   e,,8\fp[ e'] e,[ e'] e, \sfod \FO #'0.2 #'-0.2 <b''-1>  % beg m. 2
   \sfol \FO #'0.3 #'0.0 <e-1> b | % end m. 2
 
-  e,,8 e' gis e e, e' gis_\dim e | % m. 3
+  e,,8 e' gis e e, e' gis_\dimin e | % m. 3
 
   e,1 | % m. 4
 
   %% new section starts here in A minor
-  \overrideBeamSettings #'Score #'(4 . 4) #'end
-    #'((* . (1 1 1 1))
-       ((1 . 12)  . (3 3 3 3)))
-  \once \override TextScript #'staff-padding = #1.7
-  \times 2/3 { a8\p^\andantino e' a c a e a, e' a c a e } | % m. 5
+  \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
 
-  \times 2/3 { a,8\pdolce e' a c a e } % beg m. 6
-  \times 2/3 { e,8 \sfou <e'-3> <gis-1> c gis e } | % end m. 6
+  \tuplet 3/2 { a,8\pdolce e' a c a e } % beg m. 6
+  \tuplet 3/2 { e,8 \sfou <e'-3> <gis-1> c gis e } | % end m. 6
 
-  \times 2/3 { a,8 <e'-2> a c e, b' a, e' a c a e } | % m. 7
+  \tuplet 3/2 { a,8 <e'-2> a c e, b' a, e' a c a e } | % m. 7
 
-  \times 2/3 { f,8 f' a \sfol \FO #'0.3 #'-0.5 <d-4> a f fis, d' a' d a d, } | % m. 8
+  \tuplet 3/2 { f,8 f' a \sfol \FO #'0.3 #'-0.5 <d-4> a f fis, d' a' d a d, } | % m. 8
 
-  \times 2/3 { <g,-3>8 d' g d' g, d % beg m. 9
+  \tuplet 3/2 { <g,-3>8 d' g d' g, d % beg m. 9
     \sfod \FO #'0.0 #'-2.0 <gis,-4> \sfou <e'-2> <gis-1> b gis e } | % end m. 9
 
-  \times 2/3 { a,8 e' a c a e e, e' gis c gis e } | % m. 10
+  \tuplet 3/2 { a,8 e' a c a e e, e' gis c gis e } | % m. 10
 
-  \times 2/3 { a,8 e' a b a e f, f' a d a f } | % m. 11
+  \tuplet 3/2 { a,8 e' a b a e f, f' a d a f } | % m. 11
 }
 
 \score {
@@ -148,9 +141,9 @@ bass = \relative c {
   \layout {
     \context {
       \Score
-      \override Fingering #'staff-padding = #'()
-      \override TupletNumber #'stencil = ##f
-      \override TupletBracket #'bracket-visibility = ##f
+      \override Fingering.staff-padding = #'()
+      \omit TupletNumber
+      \override TupletBracket.bracket-visibility = ##f
     }
   }
   \midi { }