LSR: Update.
[lilypond/mpolesky.git] / Documentation / snippets / grid-lines--changing-their-appearance.ly
blobe95ce6cf24a3f777d86353b7b50551b2ce3b23c6
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.29"
6 \header {
7 lsrtags = "editorial-annotations"
9 %% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
10 texidoces = "
11 Se puede cambiar el aspecto de las líneas de rejilla
12 sobreescribiendo algunas de sus propiedades.
15 doctitlees = "Líneas de rejilla: modificar su aspecto"
17 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
18 texidocde = "
19 Die Erscheinung der Gitternetzlinien kann durch einige Eigenschaften
20 geändert werden.
23 doctitlede = "Gitternetzlinien: Aussehen verändern"
24 %% Translation of GIT committish: 9ccf7f0f5e52e074f3b7852416ad5b78718395c8
25 texidocfr = "
26 Modifier certaines des propriétés du cadrillage temporel aura pour effet
27 d'en changer l'apparence.
30 doctitlefr = "Apparence du cadrillage temporel"
33 texidoc = "
34 The appearance of grid lines can be changed by overriding some of their
35 properties.
38 doctitle = "Grid lines: changing their appearance"
39 } % begin verbatim
41 \score {
42 \new ChoirStaff <<
43 \new Staff {
44 \relative c'' {
45 \stemUp
46 c'4. d8 e8 f g4
49 \new Staff {
50 \relative c {
51 % this moves them up one staff space from the default position
52 \override Score.GridLine #'extra-offset = #'(0.0 . 1.0)
53 \stemDown
54 \clef bass
55 \once \override Score.GridLine #'thickness = #5.0
57 \once \override Score.GridLine #'thickness = #1.0
58 g'4
59 \once \override Score.GridLine #'thickness = #3.0
61 \once \override Score.GridLine #'thickness = #5.0
66 \layout {
67 \context {
68 \Staff
69 % set up grids
70 \consists "Grid_point_engraver"
71 % set the grid interval to one quarter note
72 gridInterval = #(ly:make-moment 1 4)
74 \context {
75 \Score
76 \consists "Grid_line_span_engraver"
77 % this moves them to the right half a staff space
78 \override NoteColumn #'X-offset = #-0.5