]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/fr/user/spacing.itely
Merge master into nested-bookparts
[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.11.61"
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
247 @end itemize
248
249 @seealso
250
251 Exemples : @rlsr{Spacing}.
252
253 Le fichier @file{input/proportional.ly} illustre la notation
254 proportionnelle stricte.
255
256
257
258 @node Fitting music onto fewer pages
259 @section Fitting music onto fewer pages
260
261 @menu
262 * Displaying spacing::
263 * Changing spacing::
264 @end menu
265
266 @node Displaying spacing
267 @subsection Displaying spacing
268
269 @untranslated
270
271
272 @node Changing spacing
273 @subsection Changing spacing
274
275 Parfois, une partition peut se terminer avec seulement 
276 un ou deux systèmes sur la dernière page. Ceci peut être ennuyeux
277 surtout si vous constatez, en regardant les pages précédentes, qu'il
278 reste encore beaucoup de place sur celles-ci.
279
280 Si vous vous intéressez aux problèmes de mise en page,
281 @code{annotate-spacing} peut alors être un outil d'une valeur
282 inestimable.  Cette commande imprime les valeurs 
283 de nombreuses commandes d'espacement concernant la mise en page.  
284 Consultez @ref{Displaying spacing} pour de plus amples informations.  À l'aide 
285 des informations données par @code{annotate-spacing}, on peut 
286 voir quelles marges il est souhaitable de modifier afin de résoudre le
287 problème.
288
289
290 En plus d'agir sur les marges, il existe d'autres possibilités
291 qui permettent de gagner de la place.
292
293 @itemize
294 @item
295 Demander à LilyPond de placer les systèmes aussi 
296 près que possible les uns des autres (pour en disposer autant
297 que possible sur une page), tout en répartissant les systèmes afin
298 de ne pas laisser de blanc en bas de la dernière page.
299
300 @example
301 \paper @{
302   between-system-padding = #0.1
303   between-system-space = #0.1
304   ragged-last-bottom = ##f
305   ragged-bottom = ##f
306 @}
307 @end example
308
309 @item
310 Obliger LilyPond à mettre un certain nombre de systèmes
311 par page.  Par exemple, si LilyPond veut placer onze systèmes dans une page,
312 vous pouvez l'obliger à n'en mettre que dix.
313
314 @example
315 \paper @{
316   system-count = #10
317 @}
318 @end example
319
320 @item
321 Supprimer (ou réduire) les objets qui augmentent la hauteur du
322 système.  C'est le cas en particulier de certaines reprises (avec des 
323 alternatives) qui placent des crochets au dessus des portées. Si ces crochets 
324 de reprise se poursuivent sur deux systèmes, ils prendront plus de
325 place que s'ils sont regroupés sur un même système.
326
327 Un autre exemple : déplacer les nuances qui @qq{débordent} d'un système.
328
329 @lilypond[verbatim,quote,fragment]
330 \relative c' {
331   e4 c g\f c
332   \override DynamicLineSpanner #'padding = #-1.8
333   \override DynamicText #'extra-offset = #'( -2.1 . 0)
334   e4 c g\f c
335 }
336 @end lilypond
337
338 @item
339 Modifier l'espacement vertical avec @code{SpacingSpanner}.  Reportez-vous à
340 @ref{Changing horizontal spacing} pour plus de détails.
341
342 @lilypond[verbatim,quote]
343 \score {
344   \relative c'' {
345     g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 |
346     g4 e e2 | f4 d d2 | c4 e g g | c,1 |
347     d4 d d d | d4 e f2 | e4 e e e | e4 f g2 |
348     g4 e e2 | f4 d d2 | c4 e g g | c,1 |
349   }
350   \layout {
351     \context {
352       \Score
353       \override SpacingSpanner
354                 #'base-shortest-duration = #(ly:make-moment 1 4)
355     }
356   }
357 }
358 @end lilypond
359
360 @end itemize
361