]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/grid-lines--changing-their-appearance.ly
Merge branch 'master' of ssh://jneem@git.sv.gnu.org/srv/git/lilypond into tmp
[lilypond.git] / input / lsr / grid-lines--changing-their-appearance.ly
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.64"
4
5 \header {
6   lsrtags = "editorial-annotations"
7
8   texidoces = "
9 Se puede cambiar el aspecto de las líneas de rejilla
10 sobreescribiendo algunas de sus propiedades.
11
12 "
13   doctitlees = "Líneas de rejilla: modificar su aspecto"
14
15   texidoc = "
16 The appearance of grid lines can be changed by overriding some of their
17 properties.
18
19 "
20   doctitle = "Grid lines: changing their appearance"
21 } % begin verbatim
22
23 \score {
24   \new ChoirStaff <<
25     \new Staff {
26       \relative c'' {
27         \stemUp
28         c'4. d8 e8 f g4
29       }
30     }
31     \new Staff {
32       \relative c {
33         % this moves them up one staff space from the default position
34         \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
35         \stemDown
36         \clef bass
37         \once \override Score.GridLine #'thickness = #5.0
38         c4
39         \once \override Score.GridLine #'thickness = #1.0
40         g'4
41         \once \override Score.GridLine #'thickness = #3.0
42         f4
43         \once \override Score.GridLine #'thickness = #5.0
44         e4
45       }
46     }
47   >>
48   \layout {
49     \context {
50       \Staff
51       % set up grids
52       \consists "Grid_point_engraver"
53       % set the grid interval to one quarter note
54       gridInterval = #(ly:make-moment 1 4)
55     }
56     \context {
57       \Score
58       \consists "Grid_line_span_engraver"
59       % this moves them to the right half a staff space
60       \override NoteColumn #'X-offset = #-0.5
61     }
62   }
63 }