]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/fr/user/spacing.itely
23a85a5e8a47b3e62721add0ad27c038adb6960b
[lilypond.git] / Documentation / fr / user / spacing.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*-
2 @c This file is part of lilypond.tely
3 @ignore
4     Translation of GIT committish: 964d024dd4f022ba7cd66adc13c0169035d4c4e5
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  See TRANSLATION for details.
8 @end ignore
9
10 @c \version "2.12.0"
11
12 @c Translators: Frédéric Chiasson, Jean-Charles Malahieude
13
14 @node Spacing issues
15 @chapter Spacing issues
16
17
18 @menu
19 * Paper and pages::
20 * Music layout::
21 * Breaks::
22 * Vertical spacing::
23 * Horizontal spacing::
24 * Fitting music onto fewer pages::
25 @end menu
26
27 @node Paper and pages
28 @section Paper and pages
29
30 @untranslated
31
32
33 @menu
34 * Paper size::
35 * Page formatting::
36 @end menu
37
38 @node Paper size
39 @subsection Paper size
40
41 @untranslated
42
43
44 @node Page formatting
45 @subsection Page formatting
46
47 @untranslated
48
49
50 @node Music layout
51 @section Music layout
52
53 @untranslated
54
55
56 @menu
57 * Setting the staff size::
58 * Score layout::
59 @end menu
60
61 @node Setting the staff size
62 @subsection Setting the staff size
63
64 @untranslated
65
66
67 @node Score layout
68 @subsection Score layout
69
70 @untranslated
71
72
73 @node Breaks
74 @section Breaks
75
76 @untranslated
77
78
79 @menu
80 * Line breaking::
81 * Page breaking::
82 * Optimal page breaking::
83 * Optimal page turning::
84 * Minimal page breaking::
85 * Explicit breaks::
86 * Using an extra voice for breaks::
87 @end menu
88
89 @node Line breaking
90 @subsection Line breaking
91
92 @untranslated
93
94
95 @node Page breaking
96 @subsection Page breaking
97
98 @untranslated
99
100
101 @node Optimal page breaking
102 @subsection Optimal page breaking
103
104 @untranslated
105
106
107 @node Optimal page turning
108 @subsection Optimal page turning
109
110 @untranslated
111
112
113 @node Minimal page breaking
114 @subsection Minimal page breaking
115
116 @untranslated
117
118
119 @node Explicit breaks
120 @subsection Explicit breaks
121
122 @untranslated
123
124
125 @node Using an extra voice for breaks
126 @subsection Using an extra voice for breaks
127
128 @untranslated
129
130
131 @node Vertical spacing
132 @section Vertical spacing
133
134 @untranslated
135
136
137 @menu
138 * Vertical spacing inside a system::
139 * Vertical spacing between systems::
140 * Explicit staff and system positioning::
141 * Two-pass vertical spacing::
142 * Vertical collision avoidance::
143 @end menu
144
145 @node Vertical spacing inside a system
146 @subsection Vertical spacing inside a system
147
148 @untranslated
149
150
151 @node Vertical spacing between systems
152 @subsection Vertical spacing between systems
153
154 @untranslated
155
156
157 @node Explicit staff and system positioning
158 @subsection Explicit staff and system positioning
159
160 @untranslated
161
162
163 @node Two-pass vertical spacing
164 @subsection Two-pass vertical spacing
165
166 @untranslated
167
168
169 @node Vertical collision avoidance
170 @subsection Vertical collision avoidance
171
172 @untranslated
173
174
175 @node Horizontal spacing
176 @section Horizontal Spacing
177
178 @untranslated
179
180
181 @menu
182 * Horizontal spacing overview::
183 * New spacing area::
184 * Changing horizontal spacing::
185 * Line length::
186 * Proportional notation::
187 @end menu
188
189 @node Horizontal spacing overview
190 @subsection Horizontal spacing overview
191
192 @untranslated
193
194
195 @node New spacing area
196 @subsection New spacing area
197
198 @untranslated
199
200
201 @node Changing horizontal spacing
202 @subsection Changing horizontal spacing
203
204 @untranslated
205
206
207 @node Line length
208 @subsection Line length
209
210 @untranslated
211
212
213 @node Proportional notation
214 @subsection Proportional notation
215
216 Les notes peuvent s'espacer proportionnellement en assignant une durée
217 à @code{proportionalNotationDuration}
218
219 @lilypond[quote,ragged-right,verbatim,relative=2,fragment]
220 <<
221   \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
222   \new Staff { c8[ c c c c c]  c4 c2 r2 }
223   \new Staff { c2  \times 2/3 { c8 c c } c4 c1 }
224 >>
225 @end lilypond
226
227 Manipuler cette propriété affectera l'espacement idéal uniquement pour
228 des notes consécutives.  Pour obtenir une véritable notation
229 proportionnelle, vous devrez tenir compte des réglages suivants :
230
231 @itemize @bullet
232
233 @item La véritable notation proportionnelle exige que des symboles
234 puissent en écraser d'autres.  Pour y parvenir, il faut retirer le
235 @rinternals{Separating_line_group_engraver} du contexte
236 @rinternals{Staff}. 
237
238 @item L'influence en matière d'espacement induite par le formatage
239 (clés, barres de mesure, etc) s'annule en assignant
240 @emph{vrai}@tie{}(#t) à la propriété @code{strict-note-spacing} de
241 l'objet @rinternals{SpacingSpanner}.
242
243 @item Les affinages optiques se règlent en assignant @emph{vrai} à la
244 propriété @code{uniform-stretching} du @rinternals{SpacingSpanner}. 
245
246 @end itemize
247
248
249 @seealso
250 Exemples : @rlsr{Spacing}.
251
252 Le fichier @file{input/proportional.ly} illustre la notation
253 proportionnelle stricte.
254
255
256 @node Fitting music onto fewer pages
257 @section Fitting music onto fewer pages
258
259 @menu
260 * Displaying spacing::
261 * Changing spacing::
262 @end menu
263
264 @node Displaying spacing
265 @subsection Displaying spacing
266
267 @untranslated
268
269
270 @node Changing spacing
271 @subsection Changing spacing
272
273 Parfois, une partition peut se terminer avec seulement 
274 un ou deux systèmes sur la dernière page. Ceci peut être ennuyeux
275 surtout si vous constatez, en regardant les pages précédentes, qu'il
276 reste encore beaucoup de place sur celles-ci.
277
278 Si vous vous intéressez aux problèmes de mise en page,
279 @code{annotate-spacing} peut alors être un outil d'une valeur
280 inestimable.  Cette commande imprime les valeurs 
281 de nombreuses commandes d'espacement concernant la mise en page.  
282 Consultez @ref{Displaying spacing} pour de plus amples informations.  À l'aide 
283 des informations données par @code{annotate-spacing}, on peut 
284 voir quelles marges il est souhaitable de modifier afin de résoudre le
285 problème.
286
287
288 En plus d'agir sur les marges, il existe d'autres possibilités
289 qui permettent de gagner de la place.
290
291 @itemize
292 @item
293 Demander à LilyPond de placer les systèmes aussi 
294 près que possible les uns des autres (pour en disposer autant
295 que possible sur une page), tout en répartissant les systèmes afin
296 de ne pas laisser de blanc en bas de la dernière page.
297
298 @example
299 \paper @{
300   between-system-padding = #0.1
301   between-system-space = #0.1
302   ragged-last-bottom = ##f
303   ragged-bottom = ##f
304 @}
305 @end example
306
307 @item
308 Obliger LilyPond à mettre un certain nombre de systèmes
309 par page.  Par exemple, si LilyPond veut placer onze systèmes dans une page,
310 vous pouvez l'obliger à n'en mettre que dix.
311
312 @example
313 \paper @{
314   system-count = #10
315 @}
316 @end example
317
318 @item
319 Supprimer (ou réduire) les objets qui augmentent la hauteur du
320 système.  C'est le cas en particulier de certaines reprises (avec des 
321 alternatives) qui placent des crochets au dessus des portées. Si ces crochets 
322 de reprise se poursuivent sur deux systèmes, ils prendront plus de
323 place que s'ils sont regroupés sur un même système.
324
325 Un autre exemple : déplacer les nuances qui @qq{débordent} d'un système.
326
327 @lilypond[verbatim,quote,fragment]
328 \relative c' {
329   e4 c g\f c
330   \override DynamicLineSpanner #'padding = #-1.8
331   \override DynamicText #'extra-offset = #'( -2.1 . 0)
332   e4 c g\f c
333 }
334 @end lilypond
335
336 @item
337 Modifier l'espacement vertical avec @code{SpacingSpanner}.  Reportez-vous à
338 @ref{Changing horizontal spacing} pour plus de détails.
339
340 @lilypond[verbatim,quote]
341 \score {
342   \relative c'' {
343     g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 |
344     g4 e e2 | f4 d d2 | c4 e g g | c,1 |
345     d4 d d d | d4 e f2 | e4 e e e | e4 f g2 |
346     g4 e e2 | f4 d d2 | c4 e g g | c,1 |
347   }
348   \layout {
349     \context {
350       \Score
351       \override SpacingSpanner
352                 #'base-shortest-duration = #(ly:make-moment 1 4)
353     }
354   }
355 }
356 @end lilypond
357
358 @end itemize
359