X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fgrid-lines--changing-their-appearance.ly;h=254a266304f0467cf319f06072150e209cab3341;hb=00e7e96f8393ad1fe86f57cf90f4567142bd4e72;hp=f8db68760ab63a3d5f511b6472925d3f6650d0a4;hpb=6844bdc15fe3592ad5316154c1a6d0252be21e4f;p=lilypond.git diff --git a/Documentation/snippets/grid-lines--changing-their-appearance.ly b/Documentation/snippets/grid-lines--changing-their-appearance.ly index f8db68760a..254a266304 100644 --- a/Documentation/snippets/grid-lines--changing-their-appearance.ly +++ b/Documentation/snippets/grid-lines--changing-their-appearance.ly @@ -1,37 +1,14 @@ -%% 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.31" +\version "2.17.11" \header { lsrtags = "editorial-annotations" -%% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b - 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: 0a868be38a775ecb1ef935b079000cebbc64de40 - texidocde = " -Die Erscheinung der Gitternetzlinien kann durch einige Eigenschaften -geändert werden. - -" - doctitlede = "Gitternetzlinien: Aussehen verändern" - -%% Translation of GIT committish: 9ccf7f0f5e52e074f3b7852416ad5b78718395c8 - 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. @@ -40,6 +17,7 @@ properties. doctitle = "Grid lines: changing their appearance" } % begin verbatim + \score { \new ChoirStaff << \new Staff { @@ -51,16 +29,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 +49,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 } } } -