X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fgrid-lines--changing-their-appearance.ly;fp=Documentation%2Fsnippets%2Fgrid-lines--changing-their-appearance.ly;h=254a266304f0467cf319f06072150e209cab3341;hb=0ac07f31e0f95fc18e5916ce756b9c746af7cc58;hp=2b69748857233465575107f61694770db3cc36ab;hpb=2f1263e2ccdddcac2eb9f7d8ce2ed92867d3d160;p=lilypond.git diff --git a/Documentation/snippets/grid-lines--changing-their-appearance.ly b/Documentation/snippets/grid-lines--changing-their-appearance.ly index 2b69748857..254a266304 100644 --- a/Documentation/snippets/grid-lines--changing-their-appearance.ly +++ b/Documentation/snippets/grid-lines--changing-their-appearance.ly @@ -4,7 +4,7 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.16.0" +\version "2.17.11" \header { lsrtags = "editorial-annotations" @@ -29,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 } } @@ -49,13 +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 } } }