]> git.lyx.org Git - lyx.git/blob - lib/examples/fr/AlignementDecimal.lyx
UserGuide: Remove bold from hyperref's bibitem and href.
[lyx.git] / lib / examples / fr / AlignementDecimal.lyx
1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
2 \lyxformat 413
3 \begin_document
4 \begin_header
5 \textclass article
6 \begin_preamble
7 \usepackage{dcolumn}
8 \newcolumntype{d}[1]{D{,}{,}{#1}}
9 \end_preamble
10 \use_default_options false
11 \maintain_unincluded_children false
12 \language french
13 \language_package default
14 \inputencoding latin1
15 \fontencoding global
16 \font_roman default
17 \font_sans default
18 \font_typewriter default
19 \font_default_family default
20 \use_non_tex_fonts false
21 \font_sc false
22 \font_osf false
23 \font_sf_scale 100
24 \font_tt_scale 100
25
26 \graphics default
27 \default_output_format default
28 \output_sync 0
29 \bibtex_command default
30 \index_command default
31 \paperfontsize default
32 \spacing single
33 \use_hyperref false
34 \papersize default
35 \use_geometry false
36 \use_amsmath 0
37 \use_esint 0
38 \use_mhchem 1
39 \use_mathdots 1
40 \cite_engine basic
41 \use_bibtopic false
42 \use_indices false
43 \paperorientation portrait
44 \suppress_date false
45 \use_refstyle 0
46 \index Index
47 \shortcut idx
48 \color #008000
49 \end_index
50 \secnumdepth 3
51 \tocdepth 3
52 \paragraph_separation indent
53 \paragraph_indentation default
54 \quotes_language french
55 \papercolumns 1
56 \papersides 1
57 \paperpagestyle default
58 \tracking_changes false
59 \output_changes false
60 \html_math_output 0
61 \html_css_as_file 0
62 \html_be_strict false
63 \end_header
64
65 \begin_body
66
67 \begin_layout Title
68 Une meilleure solution pour l'Alignement Décimal
69 \begin_inset Foot
70 status collapsed
71
72 \begin_layout Plain Layout
73 Traduction par Adrien 
74 \noun on
75 Rebollo
76 \noun default
77  
78 \family typewriter
79 <Adrien.Rebollo@gmx.fr>
80 \family default
81 .
82 \end_layout
83
84 \end_inset
85
86
87 \begin_inset Note Note
88 status collapsed
89
90 \begin_layout Plain Layout
91 Informations de révision :
92 \end_layout
93
94 \begin_layout Plain Layout
95 Traduction : Mise à jour Date : 07/07/2003
96 \end_layout
97
98 \begin_layout Plain Layout
99 Original : Révision : 1.5, Date : 17/01/2003
100 \end_layout
101
102 \end_inset
103
104
105 \end_layout
106
107 \begin_layout Standard
108 Une méthode alternative pour obtenir un alignement décimal dans les tableaux
109  est de passer par le paquetage 
110 \family typewriter
111 dcolumn
112 \family default
113 .
114  Ajoutez ce qui suit au préambule LaTeX
115 \begin_inset Foot
116 status collapsed
117
118 \begin_layout Plain Layout
119 NdT : Si votre séparateur décimal est la virgule.
120  Si c'est le point, remplacez les virgules par des points.
121 \end_layout
122
123 \end_inset
124
125  :
126 \end_layout
127
128 \begin_layout LyX-Code
129
130 \backslash
131 usepackage{dcolumn} 
132 \end_layout
133
134 \begin_layout LyX-Code
135
136 \backslash
137 newcolumntype{d}[1]{D{,}{,}{#1}}
138 \end_layout
139
140 \begin_layout Standard
141 Pour avoir une colonne alignée sur le symbole décimal, entrez ce qui suit
142  dans le champ 
143 \family sans
144 Colonne
145 \begin_inset space ~
146 \end_inset
147
148 spéciale\SpecialChar \menuseparator
149 Alignement
150 \family default
151  de la fenêtre 
152 \family sans
153 Style
154 \begin_inset space ~
155 \end_inset
156
157 du
158 \begin_inset space ~
159 \end_inset
160
161 Tableau\SpecialChar \menuseparator
162 Colonne/Rangée
163 \family default
164  :
165 \end_layout
166
167 \begin_layout LyX-Code
168 d{nombre de chiffres après la virgule dans les données}
169 \end_layout
170
171 \begin_layout Standard
172 Dans le tableau suivant nous avons entré 
173 \family typewriter
174 d{4}
175 \family default
176 :
177 \end_layout
178
179 \begin_layout Standard
180 \begin_inset VSpace 0.3cm
181 \end_inset
182
183
184 \end_layout
185
186 \begin_layout Standard
187 \align center
188 \begin_inset Tabular
189 <lyxtabular version="3" rows="5" columns="2">
190 <features tabularvalignment="middle">
191 <column alignment="center" valignment="top" width="0pt">
192 <column alignment="right" valignment="top" width="0pt" special="d{4}">
193 <row>
194 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
195 \begin_inset Text
196
197 \begin_layout Plain Layout
198 Expression
199 \end_layout
200
201 \end_inset
202 </cell>
203 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
204 \begin_inset Text
205
206 \begin_layout Plain Layout
207 Valeur
208 \end_layout
209
210 \end_inset
211 </cell>
212 </row>
213 <row>
214 <cell alignment="center" valignment="top" usebox="none">
215 \begin_inset Text
216
217 \begin_layout Plain Layout
218 \begin_inset Formula $\pi$
219 \end_inset
220
221
222 \end_layout
223
224 \end_inset
225 </cell>
226 <cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
227 \begin_inset Text
228
229 \begin_layout Plain Layout
230 3,1416
231 \end_layout
232
233 \end_inset
234 </cell>
235 </row>
236 <row>
237 <cell alignment="center" valignment="top" usebox="none">
238 \begin_inset Text
239
240 \begin_layout Plain Layout
241 \begin_inset Formula $\pi^{\pi}$
242 \end_inset
243
244
245 \end_layout
246
247 \end_inset
248 </cell>
249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
250 \begin_inset Text
251
252 \begin_layout Plain Layout
253 36,462
254 \end_layout
255
256 \end_inset
257 </cell>
258 </row>
259 <row>
260 <cell alignment="center" valignment="top" usebox="none">
261 \begin_inset Text
262
263 \begin_layout Plain Layout
264 \begin_inset Formula $(\pi^{\pi})^{\pi}$
265 \end_inset
266
267
268 \end_layout
269
270 \end_inset
271 </cell>
272 <cell alignment="center" valignment="top" leftline="true" usebox="none">
273 \begin_inset Text
274
275 \begin_layout Plain Layout
276 80663,
277 \end_layout
278
279 \end_inset
280 </cell>
281 </row>
282 <row>
283 <cell alignment="center" valignment="top" usebox="none">
284 \begin_inset Text
285
286 \begin_layout Plain Layout
287 \begin_inset Formula $\pi^{\pi^{\pi}}$
288 \end_inset
289
290
291 \end_layout
292
293 \end_inset
294 </cell>
295 <cell alignment="center" valignment="top" leftline="true" usebox="none">
296 \begin_inset Text
297
298 \begin_layout Plain Layout
299 1,3402e18
300 \end_layout
301
302 \end_inset
303 </cell>
304 </row>
305 </lyxtabular>
306
307 \end_inset
308
309
310 \end_layout
311
312 \begin_layout Standard
313 \begin_inset VSpace 0.3cm
314 \end_inset
315
316
317 \end_layout
318
319 \begin_layout Standard
320 Pour créer de l'espace supplémentaire dans la colonne augmentez juste le
321  nombre de décimales dans 
322 \family typewriter
323 d{}
324 \family default
325 .
326  Cocher l'attribut 
327 \family sans
328 Multicolonne
329 \family default
330  pour une case isolée la rend insensible à l'alignement décimal, ce qui
331  est commode.
332  Un inconvénient de cette méthode est que le mode mathématique n'est pas
333  autorisé dans une case avec l'alignement décimal sauf si l'attribut 
334 \family sans
335 Multicolonne
336 \family default
337  est coché.
338 \end_layout
339
340 \begin_layout Standard
341 Cette méthode offre la même flexibilité que le paquetage 
342 \family typewriter
343 dcolumn
344 \family default
345 .
346  On peut, par exemple, changer le séparateur d'alignement, et avoir des
347  séparateurs d'alignement différents pour des colonnes différentes en définissan
348 t plusieurs types de colonnes dans le préambule.
349  La syntaxe est comme suit :
350 \end_layout
351
352 \begin_layout LyX-Code
353 D{inputsep}{outputsep}{decimal places}
354 \begin_inset Foot
355 status collapsed
356
357 \begin_layout Plain Layout
358 NdT : non traduit car je ne suis pas certain du sens
359 \end_layout
360
361 \end_inset
362
363
364 \end_layout
365
366 \begin_layout Standard
367 Le lecteur intéressé se référera à la documentation du paquetage 
368 \family typewriter
369 dcolumn
370 \family default
371  pour plus de détails.
372 \end_layout
373
374 \end_body
375 \end_document