LSR: Update.
[lilypond.git] / input / lsr / grid-lines--changing-their-appearance.ly
blobf2a69fc87228d5d5b240700dfb6c5084c6b49770
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.62"
5 \header {
6 lsrtags = "editorial-annotations"
8 texidoces = "
9 Se puede cambiar el aspecto de las líneas de rejilla
10 sobreescribiendo algunas de sus propiedades.
13 doctitlees = "Líneas de rejilla: modificar su aspecto"
15 texidoc = "
16 The appearance of grid lines can be changed by overriding some of their
17 properties.
20 doctitle = "Grid lines: changing their appearance"
21 } % begin verbatim
22 \layout {
23 \context {
24 \Staff
25 % set up grids
26 \consists "Grid_point_engraver"
27 % set the grid interval to one quarter note
28 gridInterval = #(ly:make-moment 1 4)
32 \new Score \with {
33 \consists "Grid_line_span_engraver"
34 % this moves them to the right half a staff space
35 \override NoteColumn #'X-offset = #-0.5
38 \new ChoirStaff <<
39 \new Staff {
40 \relative c'' {
41 \stemUp
42 c'4. d8 e8 f g4
45 \new Staff {
46 \relative c {
47 % this moves them up one staff space from the default position
48 \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
49 \stemDown
50 \clef bass
51 \once \override Score.GridLine #'thickness = #5.0
53 \once \override Score.GridLine #'thickness = #1.0
55 \once \override Score.GridLine #'thickness = #3.0
57 \once \override Score.GridLine #'thickness = #5.0