]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/grid-lines--changing-their-appearance.ly
Merge master into nested-bookparts
[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.62"
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 \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)
29   }
30 }
31
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
36 }
37
38 \new ChoirStaff <<
39   \new Staff {
40     \relative c'' {
41       \stemUp
42       c'4. d8 e8 f g4
43     }
44   }
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
52       c4
53       \once \override Score.GridLine #'thickness = #1.0
54       g'
55       \once \override Score.GridLine #'thickness = #3.0
56       f
57       \once \override Score.GridLine #'thickness = #5.0
58       e
59     }
60   }
61 >>