]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/letter-tablature-formatting.ly
Local updates to LSR July 2012
[lilypond.git] / Documentation / snippets / letter-tablature-formatting.ly
index c4e2df48f19b2e7dd47ea99a22d48290bab3c71d..963f093a28e04b9050d74e450b395d2914d4ddd3 100644 (file)
@@ -1,11 +1,29 @@
-%% 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.14.2"
 
 \header {
   lsrtags = "staff-notation, fretted-strings"
 
+%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
+  texidoces = "
+La tablatura se puede formatear utilizando letras en lugar de nĂºmeros.
+
+"
+
+  doctitlees = "Formateado de tablaturas con letras"
+
+%% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
+  texidocfr = "
+Une tablature peut comporter des lettres en lieu et place des chiffres.
+
+"
+  doctitlefr = "Tablature en lettres"
+
   texidoc = "
 Tablature can be formatted using letters instead of numbers.
 
@@ -13,15 +31,6 @@ Tablature can be formatted using letters instead of numbers.
   doctitle = "Letter tablature formatting"
 } % begin verbatim
 
-#(define (letter-tablature-format str context event)
-  (let ((tuning (ly:context-property context 'stringTunings))
-        (pitch (ly:event-property event 'pitch)))
-    (make-whiteout-markup
-     (make-vcenter-markup
-      (string (integer->char
-         (+ (char->integer #\a)
-            (- (ly:pitch-semitones pitch)
-            (list-ref tuning (- str 1))))))))))
 
 music = \relative c {
   c4 d e f
@@ -35,7 +44,7 @@ music = \relative c {
     \music
   }
   \new TabStaff \with {
-    tablatureFormat = #letter-tablature-format
+    tablatureFormat = #fret-letter-tablature-format
   }
   {
     \music