Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3a7b4dfc766af1222d90c7f03a0844e6 > files > 10049

lilypond-doc-2.11.57-1mdv2009.0.i586.rpm

%% Generated by lilypond-book.py
%% Options: [indent=0\mm,verbatim,doctitle,alt=[image of music],texidoc,line-width=160\mm]
\include "lilypond-book-preamble.ly"


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



\paper {
  #(define dump-extents #t)
  
  indent = 0\mm
  line-width = 160\mm
  force-assignment = #""
  line-width = #(- line-width (* mm  3.000000))
}

\layout {
  
}



% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "grid-lines--emphasizing-rhythms-and-notes-synchronization.ly"
\sourcefileline 0
%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
%% This file is in the public domain.
\version "2.11.57"

\header {
  lsrtags = "editorial-annotations"

  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 notes
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
%% sets of grid
\layout {
 \context {
   \Staff
   \consists "Grid_point_engraver"
   gridInterval = #(ly:make-moment 1 8)
%% lines length
   \override GridPoint #'Y-extent = #'(6 . 0)
 }
 \context {
   \StaffGroup
   \remove "System_start_delimiter_engraver"
 }
}

\layout {
 ragged-right = ##t
}
\new Score
\with {
 \consists "Grid_line_span_engraver"
%% centers grid lines  horizontally below noteheads
 \override NoteColumn #'X-offset = #-0.5
}

\new ChoirStaff <<
 \new Staff
 {
   \time 12/8
   \stemUp
   \relative {
   c'4. d8 e8 f g4 f8 e8.[ d16 c8] }
 }
 \new Staff
 {
%% making sure the lines will be placed outside the Staff
   \override Score.GridLine #'extra-offset = #'( 0.0 . -4.0 )

%% hides staff and notes so that only the grid lines are visible
   \override NoteHead #'transparent = ##t
   \override NoteHead #'no-ledgers = ##t
   \override Stem #'transparent = ##t
   \override Beam #'transparent = ##t
   \override Staff.BarLine #'transparent = ##t
   \override Staff.StaffSymbol #'line-count = #0
   \override Staff.TimeSignature #'transparent = ##t
   \override Staff.Clef #'transparent = ##t

% you have to put 'dummy' notes here to force regular grid spacing...
 \once  \override Score.GridLine #'thickness = #4.0
 c8   c8   c8
 \once  \override Score.GridLine #'thickness = #3.0
 c8   c8   c8
 \once  \override Score.GridLine #'thickness = #4.0
 c8   c8   c8
 \once  \override Score.GridLine #'thickness = #3.0
 c8   c8   c8
 }
>>



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