X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fgrid-lines--emphasizing-rhythms-and-notes-synchronization.ly;h=f6c1dc359350dcd88ac7f1fd8794326c6b595b4d;hb=f9056caac3bda31437ed004d775fbae14ca61bf3;hp=52e4c45d94e7c77cf5ba7bf52a4f34109ae76d51;hpb=26a079ca2393d053315ef8dbef626c897dc9645a;p=lilypond.git diff --git a/Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly b/Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly index 52e4c45d94..f6c1dc3593 100644 --- a/Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly +++ b/Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly @@ -1,10 +1,10 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% 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.16.0" +\version "2.18.0" \header { lsrtags = "editorial-annotations" @@ -19,7 +19,6 @@ this snippet. doctitle = "Grid lines: emphasizing rhythms and notes synchronization" } % begin verbatim - \score { \new ChoirStaff { \relative c'' << @@ -31,19 +30,19 @@ this snippet. \new Staff { % hides staff and notes so that only the grid lines are visible \hideNotes - \override Staff.BarLine #'transparent = ##t - \override Staff.StaffSymbol #'line-count = #0 - \override Staff.TimeSignature #'transparent = ##t - \override Staff.Clef #'transparent = ##t + \hide Staff.BarLine + \override Staff.StaffSymbol.line-count = #0 + \hide Staff.TimeSignature + \hide Staff.Clef % dummy notes to force regular note spacing - \once \override Score.GridLine #'thickness = #4.0 + \once \override Score.GridLine.thickness = #4.0 c8 c c - \once \override Score.GridLine #'thickness = #3.0 + \once \override Score.GridLine.thickness = #3.0 c8 c c - \once \override Score.GridLine #'thickness = #4.0 + \once \override Score.GridLine.thickness = #4.0 c8 c c - \once \override Score.GridLine #'thickness = #3.0 + \once \override Score.GridLine.thickness = #3.0 c8 c c } >> @@ -53,16 +52,16 @@ this snippet. \Score \consists "Grid_line_span_engraver" % center grid lines horizontally below note heads - \override NoteColumn #'X-offset = #-0.5 + \override NoteColumn.X-offset = #-0.5 } \context { \Staff \consists "Grid_point_engraver" - gridInterval = #(ly:make-moment 1 8) + gridInterval = #(ly:make-moment 1/8) % set line length and positioning: % two staff spaces above center line on hidden staff % to four spaces below center line on visible staff - \override GridPoint #'Y-extent = #'(2 . -4) + \override GridPoint.Y-extent = #'(2 . -4) } ragged-right = ##t }