]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/grid-lines--changing-their-appearance.ly
Doc-fr: editorial - oops
[lilypond.git] / Documentation / snippets / grid-lines--changing-their-appearance.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.4"
5
6 \header {
7 %% Translation of GIT committish: ca543ea73189a1e53af94973dad0b8a5042c130c
8   texidocfr = "
9 Modifier certaines des propriétés du cadrillage temporel aura pour effet
10 d'en changer l'apparence.
11
12 "
13   doctitlefr = "Apparence du cadrillage temporel"
14
15
16   lsrtags = "editorial-annotations"
17
18 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
19   texidoces = "
20 Se puede cambiar el aspecto de las líneas de rejilla
21 sobreescribiendo algunas de sus propiedades.
22
23 "
24   doctitlees = "Líneas de rejilla: modificar su aspecto"
25
26 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
27   texidocde = "
28 Die Erscheinung der Gitternetzlinien kann durch einige Eigenschaften
29 geändert werden.
30
31 "
32   doctitlede = "Gitternetzlinien: Aussehen verändern"
33
34   texidoc = "
35 The appearance of grid lines can be changed by overriding some of their
36 properties.
37
38 "
39   doctitle = "Grid lines: changing their appearance"
40 } % begin verbatim
41
42 \score {
43   \new ChoirStaff <<
44     \new Staff {
45       \relative c'' {
46         \stemUp
47         c'4. d8 e8 f g4
48       }
49     }
50     \new Staff {
51       \relative c {
52         % this moves them up one staff space from the default position
53         \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
54         \stemDown
55         \clef bass
56         \once \override Score.GridLine #'thickness = #5.0
57         c4
58         \once \override Score.GridLine #'thickness = #1.0
59         g'4
60         \once \override Score.GridLine #'thickness = #3.0
61         f4
62         \once \override Score.GridLine #'thickness = #5.0
63         e4
64       }
65     }
66   >>
67   \layout {
68     \context {
69       \Staff
70       % set up grids
71       \consists "Grid_point_engraver"
72       % set the grid interval to one quarter note
73       gridInterval = #(ly:make-moment 1 4)
74     }
75     \context {
76       \Score
77       \consists "Grid_line_span_engraver"
78       % this moves them to the right half a staff space
79       \override NoteColumn #'X-offset = #-0.5
80     }
81   }
82 }
83