]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/grid-lines--changing-their-appearance.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / grid-lines--changing-their-appearance.ly
index ba16d166f29805d898f009716acbad8eba58bbaf..561a346a3f6d2b5ec6f1800a7a7f9e4dac4c4a06 100644 (file)
@@ -1,37 +1,14 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% 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.13.16"
+\version "2.18.0"
 
 \header {
   lsrtags = "editorial-annotations"
 
-%% Translation of GIT committish: 00ef2ac3dd16e21c9ffdffaa4d6d043a3f1a76e6
-  texidoces = "
-Se puede cambiar el aspecto de las líneas de rejilla
-sobreescribiendo algunas de sus propiedades.
-
-"
-  doctitlees = "Líneas de rejilla: modificar su aspecto"
-
-
-%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
-  texidocde = "
-Die Erscheinung der Gitternetzlinien kann durch einige Eigenschaften
-geändert werden.
-
-"
-  doctitlede = "Gitternetzlinien: Aussehen verändern"
-
-%% Translation of GIT committish: ca543ea73189a1e53af94973dad0b8a5042c130c
-  texidocfr = "
-Modifier certaines des propriétés du cadrillage temporel aura pour effet
-d'en changer l'apparence.
-
-"
-  doctitlefr = "Apparence du cadrillage temporel"
-
-
   texidoc = "
 The appearance of grid lines can be changed by overriding some of their
 properties.
@@ -51,16 +28,16 @@ properties.
     \new Staff {
       \relative c {
         % this moves them up one staff space from the default position
-        \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
+        \override Score.GridLine.extra-offset = #'(0.0 . 1.0)
         \stemDown
         \clef bass
-        \once \override Score.GridLine #'thickness = #5.0
+        \once \override Score.GridLine.thickness = #5.0
         c4
-        \once \override Score.GridLine #'thickness = #1.0
+        \once \override Score.GridLine.thickness = #1.0
         g'4
-        \once \override Score.GridLine #'thickness = #3.0
+        \once \override Score.GridLine.thickness = #3.0
         f4
-        \once \override Score.GridLine #'thickness = #5.0
+        \once \override Score.GridLine.thickness = #5.0
         e4
       }
     }
@@ -71,14 +48,13 @@ properties.
       % set up grids
       \consists "Grid_point_engraver"
       % set the grid interval to one quarter note
-      gridInterval = #(ly:make-moment 1 4)
+      gridInterval = #(ly:make-moment 1/4)
     }
     \context {
       \Score
       \consists "Grid_line_span_engraver"
       % this moves them to the right half a staff space
-      \override NoteColumn #'X-offset = #-0.5
+      \override NoteColumn.X-offset = #-0.5
     }
   }
 }
-