X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fgrid-lines--emphasizing-rhythms-and-notes-synchronization.ly;h=5c99a078fe623532e739b5e26b8e25aa773a6e09;hb=8ff18a6c95a828912fd742684d8e414f18fc3665;hp=c2c70643a58121d84c251eef70ec74c959f6fe97;hpb=f3a35eaef2b78440cdb150d36d8ff6d93e9c8d46;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 c2c70643a5..5c99a078fe 100644 --- a/Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly +++ b/Documentation/snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly @@ -4,21 +4,11 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.12.2" +\version "2.17.15" \header { lsrtags = "editorial-annotations" -%% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d - texidoces = " -Se pueden trazar líneas verticales normales entre pentagramas para -mostrar la relación entre notas; sin embargo, en caso de música -monofónica, podemos hacer invisible el segundo pentagrama, y que -las líneas sean más cortas, como en este fragmento de código. - -" - doctitlees = "Líneas de rejilla: destacar ritmos y la relación temporal entre notas" - texidoc = " Regular vertical lines can be drawn between staves to show note synchronization; however, in case of monophonic music, you may want to @@ -29,6 +19,7 @@ this snippet. doctitle = "Grid lines: emphasizing rhythms and notes synchronization" } % begin verbatim + \score { \new ChoirStaff { \relative c'' << @@ -40,19 +31,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 + \override Staff.BarLine.transparent = ##t + \override Staff.StaffSymbol.line-count = #0 + \override Staff.TimeSignature.transparent = ##t + \override Staff.Clef.transparent = ##t % 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 } >> @@ -62,18 +53,17 @@ 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 } } -