]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/grid-lines--changing-their-appearance.ly
Merge branch '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
23 \layout {
24  \context {
25    \Staff
26    % set up grids
27    \consists "Grid_point_engraver"
28    % set the grid interval to one quarter note
29    gridInterval = #(ly:make-moment 1 4)
30   }
31 }
32
33 \new Score \with {
34  \consists "Grid_line_span_engraver"
35  % this moves them to the right half a staff space
36  \override NoteColumn #'X-offset = #-0.5
37 }
38
39 \new ChoirStaff <<
40   \new Staff {
41     \relative c'' {
42       \stemUp
43       c'4. d8 e8 f g4
44     }
45   }
46   \new Staff {
47     \relative c {
48       % this moves them up one staff space from the default position
49       \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
50       \stemDown
51       \clef bass
52       \once \override Score.GridLine #'thickness = #5.0
53       c4
54       \once \override Score.GridLine #'thickness = #1.0
55       g'
56       \once \override Score.GridLine #'thickness = #3.0
57       f
58       \once \override Score.GridLine #'thickness = #5.0
59       e
60     }
61   }
62 >>