]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/fret-diagrams-explained-and-developed.ly
Include `freetype.hh' where appropriate.
[lilypond.git] / Documentation / snippets / fret-diagrams-explained-and-developed.ly
index 8d89f716d2bf41297dc614720909f5f4953bbc4b..7ae4dead641cf49548a3ddc6de5cebed34c8ff6a 100644 (file)
@@ -1,7 +1,10 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
 %% This file is in the public domain.
-\version "2.13.4"
+\version "2.17.6"
 
 \header {
   lsrtags = "fretted-strings, tweaks-and-overrides"
@@ -14,6 +17,7 @@ diagrams.
   doctitle = "Fret diagrams explained and developed"
 } % begin verbatim
 
+
 <<
   \chords {
     a2 a
@@ -25,12 +29,11 @@ diagrams.
   \new Voice = "mel" {
     \textLengthOn
     % Set global properties of fret diagram
-    \override TextScript #'size = #1.2
-    \override TextScript
-      #'fret-diagram-details #'finger-code = #'below-string
-    \override TextScript #'fret-diagram-details #'dot-color = #'black
+    \override TextScript.size = #1.2
+    \override TextScript.fret-diagram-details.finger-code = #'below-string
+    \override TextScript.fret-diagram-details.dot-color = #'black
 
-    %% A chord for ukelele
+    %% A chord for ukulele
     a'2^\markup {
       \override #'(fret-diagram-details . (
                    (string-count . 4)
@@ -40,7 +43,7 @@ diagrams.
       }
     }
 
-    %% A chord for ukelele, with formatting defined in definition string
+    %% A chord for ukulele, with formatting defined in definition string
     %  1.2 * size, 4 strings, 4 frets, fingerings below string
     %  dot radius .35 of fret spacing, dot position 0.55 of fret spacing
     a'2^\markup {
@@ -150,8 +153,7 @@ diagrams.
     }
 
       % These chords will be in landscape orientation
-    \override TextScript
-       #'fret-diagram-details #'orientation = #'landscape
+    \override TextScript.fret-diagram-details.orientation = #'landscape
 
     %% C major for guitar, barred on third fret
     %  verbose style
@@ -249,8 +251,7 @@ diagrams.
     }
 
       % These chords will be in opposing-landscape orientation
-    \override TextScript #'fret-diagram-details
-                           #'orientation = #'opposing-landscape
+    \override TextScript.fret-diagram-details.orientation = #'opposing-landscape
 
     %% C major for guitar, barred on third fret
     %  verbose style