%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/grid-lines--emphasizing-rhythms-and-notes-synchronization.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Snippet Repository
%% (http://lsr.di.unimi.it).
%%
%% Make any changes in the LSR itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.23.13"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
一定の拍毎に、譜どうしの音符の同期を示す縦線を描画することができます。@c
しかし、モノフォニックな音楽では、このスニペットのように
2 つ目の譜を不可視にして、縦線を@c
より短くすると良い場合があります。
"
  doctitleja = "グリッド線: リズムの強調と音符の同期"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
Des lignes verticales entre les portées peuvent s'ajouter dans le but
d'indiquer la synchronisation entre des notes. Dans le cas de musique
monophonique, on peut toutefois créer une deuxième portée, invisible, et
raccourcir les lignes comme ici.
"

  doctitlefr = "Quadrillage temporel : mise en évidence du rythme et synchronisation des notes"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  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"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
Es poden traçar línies verticals normals entre pentagrames per
mostrar la relació entre notes; malgrat això, en cas de música
monofònica, podem fer invisible el segon pentagrama, i que les
línies siguin més curtes, com en aquest fragment de codi.

"
  doctitleca = "Línies de reixeta: destacar ritmes i la relació temporal entre notes"

  lsrtags = "editorial-annotations"

  texidoc = "
Regular vertical lines can be drawn between staves to show note
synchronization; however, in case of monophonic music, you may want to
make the second stave invisible, and make the lines shorter like in
this snippet.
"

  doctitle = "Grid lines: emphasizing rhythms and notes synchronization"
} % begin verbatim


\score {
  \new ChoirStaff {
    \relative c'' <<
      \new Staff {
        \time 12/8
        \stemUp
        c4. d8 e8 f g4 f8 e8. d16 c8
      }
      \new Staff {
        % hides staff and notes so that only the grid lines are visible
        \hideNotes
        \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
        c8 c c
        \once  \override Score.GridLine.thickness = #3.0
        c8 c c
        \once  \override Score.GridLine.thickness = #4.0
        c8 c c
        \once  \override Score.GridLine.thickness = #3.0
        c8 c c
      }
    >>
  }
  \layout {
    \context {
      \Score
      \consists "Grid_line_span_engraver"
      % center grid lines horizontally below note heads
      \override NoteColumn.X-offset = #-0.5
    }
    \context {
      \Staff
      \consists "Grid_point_engraver"
      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)
    }
    ragged-right = ##t
  }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
