]> git.donarmstrong.com Git - lilypond.git/commitdiff
Run scripts/auxiliar/makelsr.py
authorDavid Kastrup <dak@gnu.org>
Mon, 8 Jul 2013 10:12:49 +0000 (12:12 +0200)
committerDavid Kastrup <dak@gnu.org>
Fri, 12 Jul 2013 07:44:00 +0000 (09:44 +0200)
Documentation/snippets/accordion-discant-symbols.ly

index c7b4da7a679ae30632b3598a68278c44ed048a0c..ee4a326b2f88d81c3efcf0cf6fb29b98d612de2f 100644 (file)
@@ -1,9 +1,10 @@
-%% 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.
+% 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"
 
 \header {
 
   texidoc = "
 Accordion discant-specific symbols are added using @code{\\markup}. The
-vertical placement of the symbols can be tweaked by changing the
-@code{\\raise} arguments.
-
-
-
+placement of the symbols can be tweaked by changing the
+@code{\\translate-scaled} arguments.  @code{\\translate-scaled} is
+used here rather than @code{\\translate} in order to let the
+positioning of the symbol parts adapt to changes of @code{font-size}.
 "
   doctitle = "Accordion-discant symbols"
 } % begin verbatim
@@ -34,7 +34,7 @@ dot = \markup {
 accBasson = ^\markup {
   \combine
   \discant
-  \raise #0.5 \dot
+  \translate-scaled #'(0 . 0.5) \dot
 }
 
 % een korig 8 en 16 voets register
@@ -42,18 +42,18 @@ accBandon = ^\markup {
   \combine
     \discant
     \combine
-      \raise #0.5 \dot
-      \raise #1.5 \dot
+      \translate-scaled #'(0 . 0.5) \dot
+      \translate-scaled #'(0 . 1.5) \dot
 }
 
 accVCello = ^\markup {
   \combine
     \discant
     \combine
-      \raise #0.5 \dot
+      \translate-scaled #'(0 . 0.5) \dot
       \combine
-        \raise #1.5 \dot
-        \translate #'(1 . 0) \raise #1.5 \dot
+        \translate-scaled #'(0 . 1.5) \dot
+        \translate-scaled #'(1 . 1.5) \dot
 }
 
 % 4-8-16 voets register
@@ -61,22 +61,22 @@ accHarmon = ^\markup {
   \combine
     \discant
     \combine
-      \raise #0.5 \dot
+      \translate-scaled #'(0 . 0.5) \dot
       \combine
-        \raise #1.5 \dot
-        \raise #2.5 \dot
+        \translate-scaled #'(0 . 1.5) \dot
+        \translate-scaled #'(0 . 2.5) \dot
 }
 
 accTrombon = ^\markup {
   \combine
     \discant
     \combine
-      \raise #0.5 \dot
+      \translate-scaled #'(0 . 0.5) \dot
       \combine
-        \raise #1.5 \dot
+        \translate-scaled #'(0 . 1.5) \dot
         \combine
-          \translate #'(1 . 0) \raise #1.5 \dot
-          \translate #'(-1 . 0) \raise #1.5 \dot
+          \translate-scaled #'(1 . 1.5) \dot
+          \translate-scaled #'(-1 . 1.5) \dot
 }
 
 % eenkorig 4 en 16 voets register
@@ -84,82 +84,82 @@ accOrgan = ^\markup {
   \combine
     \discant
     \combine
-      \raise #0.5 \dot
-      \raise #2.5 \dot
+      \translate-scaled #'(0 . 0.5) \dot
+      \translate-scaled #'(0 . 2.5) \dot
 }
 
 accMaster = ^\markup {
   \combine
     \discant
     \combine
-      \raise #0.5 \dot
+      \translate-scaled #'(0 . 0.5) \dot
       \combine
-        \raise #1.5 \dot
+        \translate-scaled #'(0 . 1.5) \dot
         \combine
-          \translate #'(1 . 0) \raise #1.5 \dot
+          \translate-scaled #'(1 . 1.5) \dot
           \combine
-            \translate #'(-1 . 0) \raise #1.5 \dot
-            \raise #2.5 \dot
+            \translate-scaled #'(-1 . 1.5) \dot
+            \translate-scaled #'(0 . 2.5) \dot
 }
 
 accAccord = ^\markup {
   \combine
     \discant
     \combine
-      \raise #1.5 \dot
+      \translate-scaled #'(0 . 1.5) \dot
       \combine
-        \translate #'(1 . 0) \raise #1.5 \dot
+        \translate-scaled #'(1 . 1.5) \dot
         \combine
-          \translate #'(-1 . 0) \raise #1.5 \dot
-          \raise #2.5 \dot
+          \translate-scaled #'(-1 . 1.5) \dot
+          \translate-scaled #'(0 . 2.5) \dot
 }
 
 accMusette = ^\markup {
   \combine
     \discant
     \combine
-      \raise #1.5 \dot
+      \translate-scaled #'(0 . 1.5) \dot
       \combine
-        \translate #'(1 . 0) \raise #1.5 \dot
-        \translate #'(-1 . 0) \raise #1.5 \dot
+        \translate-scaled #'(1 . 1.5) \dot
+        \translate-scaled #'(-1 . 1.5) \dot
 }
 
 accCeleste = ^\markup {
   \combine
     \discant
     \combine
-      \raise #1.5 \dot
-      \translate #'(-1 . 0) \raise #1.5 \dot
+      \translate-scaled #'(0 . 1.5) \dot
+      \translate-scaled #'(-1 . 1.5) \dot
 }
 
 accOboe = ^\markup {
   \combine
     \discant
     \combine
-      \raise #1.5 \dot
-      \raise #2.5 \dot
+      \translate-scaled #'(0 . 1.5) \dot
+      \translate-scaled #'(0 . 2.5) \dot
 }
 
 accClarin = ^\markup {
   \combine
     \discant
-    \raise #1.5 \dot
+    \translate-scaled #'(0 . 1.5) \dot
 }
 
 accPiccolo = ^\markup {
     \combine
        \discant
-       \raise #2.5 \dot
+       \translate-scaled #'(0 . 2.5) \dot
 }
 
 accViolin = ^\markup {
   \combine
     \discant
     \combine
-      \raise #1.5 \dot
+      \translate-scaled #'(0 . 1.5) \dot
       \combine
-        \translate #'(1 . 0) \raise #1.5 \dot
-        \raise #2.5 \dot
+        \translate-scaled #'(1 . 1.5) \dot
+        \translate-scaled #'(0 . 2.5) \dot
 }
 
 \relative c'' {