1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
8 \newcolumntype{d}[1]{D{,}{,}{#1}}
10 \use_default_options false
11 \maintain_unincluded_children false
13 \language_package default
14 \inputencoding iso8859-1
18 \font_typewriter default
20 \font_default_family default
21 \use_non_tex_fonts false
27 \default_output_format default
29 \bibtex_command default
30 \index_command default
31 \paperfontsize default
36 \use_package amsmath 0
37 \use_package amssymb 0
40 \use_package mathdots 1
41 \use_package mathtools 0
43 \use_package stackrel 0
44 \use_package stmaryrd 0
45 \use_package undertilde 0
47 \cite_engine_type default
51 \paperorientation portrait
61 \paragraph_separation indent
62 \paragraph_indentation default
63 \quotes_language french
66 \paperpagestyle default
67 \tracking_changes false
77 Une meilleure solution pour l'Alignement Décimal
81 \begin_layout Plain Layout
88 <Adrien.Rebollo@gmx.fr>
96 \begin_inset Note Note
99 \begin_layout Plain Layout
100 Informations de révision :
103 \begin_layout Plain Layout
104 Traduction : Mise à jour Date : 07/07/2003
107 \begin_layout Plain Layout
108 Original : Révision : 1.5, Date : 17/01/2003
116 \begin_layout Standard
117 Une méthode alternative pour obtenir un alignement décimal dans les tableaux
118 est de passer par le paquetage
123 Ajoutez ce qui suit au préambule LaTeX
127 \begin_layout Plain Layout
128 NdT : Si votre séparateur décimal est la virgule.
129 Si c'est le point, remplacez les virgules par des points.
137 \begin_layout LyX-Code
143 \begin_layout LyX-Code
146 newcolumntype{d}[1]{D{,}{,}{#1}}
149 \begin_layout Standard
150 Pour avoir une colonne alignée sur le symbole décimal, entrez ce qui suit
157 spéciale\SpecialChar \menuseparator
170 Tableau\SpecialChar \menuseparator
176 \begin_layout LyX-Code
177 d{nombre de chiffres après la virgule dans les données}
180 \begin_layout Standard
181 Dans le tableau suivant nous avons entré
188 \begin_layout Standard
189 \begin_inset VSpace 0.3cm
195 \begin_layout Standard
198 <lyxtabular version="3" rows="5" columns="2">
199 <features rotate="0" tabularvalignment="middle">
200 <column alignment="center" valignment="top" width="0pt">
201 <column alignment="right" valignment="top" width="0pt" special="d{4}">
203 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
206 \begin_layout Plain Layout
212 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
215 \begin_layout Plain Layout
223 <cell alignment="center" valignment="top" usebox="none">
226 \begin_layout Plain Layout
227 \begin_inset Formula $\pi$
235 <cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
238 \begin_layout Plain Layout
246 <cell alignment="center" valignment="top" usebox="none">
249 \begin_layout Plain Layout
250 \begin_inset Formula $\pi^{\pi}$
258 <cell alignment="center" valignment="top" leftline="true" usebox="none">
261 \begin_layout Plain Layout
269 <cell alignment="center" valignment="top" usebox="none">
272 \begin_layout Plain Layout
273 \begin_inset Formula $(\pi^{\pi})^{\pi}$
281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
284 \begin_layout Plain Layout
292 <cell alignment="center" valignment="top" usebox="none">
295 \begin_layout Plain Layout
296 \begin_inset Formula $\pi^{\pi^{\pi}}$
304 <cell alignment="center" valignment="top" leftline="true" usebox="none">
307 \begin_layout Plain Layout
321 \begin_layout Standard
322 \begin_inset VSpace 0.3cm
328 \begin_layout Standard
329 Pour créer de l'espace supplémentaire dans la colonne augmentez juste le
330 nombre de décimales dans
339 pour une case isolée la rend insensible à l'alignement décimal, ce qui
341 Un inconvénient de cette méthode est que le mode mathématique n'est pas
342 autorisé dans une case avec l'alignement décimal sauf si l'attribut
349 \begin_layout Standard
350 Cette méthode offre la même flexibilité que le paquetage
355 On peut, par exemple, changer le séparateur d'alignement, et avoir des
356 séparateurs d'alignement différents pour des colonnes différentes en définissan
357 t plusieurs types de colonnes dans le préambule.
358 La syntaxe est comme suit :
361 \begin_layout LyX-Code
362 D{inputsep}{outputsep}{decimal places}
366 \begin_layout Plain Layout
367 NdT : non traduit car je ne suis pas certain du sens
375 \begin_layout Standard
376 Le lecteur intéressé se référera à la documentation du paquetage
380 pour plus de détails.