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