1 #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
8 \newcolumntype{d}[1]{D{,}{,}{#1}}
14 \paperfontsize default
21 \paperorientation portrait
24 \paragraph_separation indent
26 \quotes_language french
30 \paperpagestyle default
31 \tracking_changes false
39 Une meilleure solution pour l'Alignement Décimal
43 \begin_layout Standard
51 <Adrien.Rebollo@gmx.fr>
59 \begin_inset Note Note
62 \begin_layout Standard
64 Informations de révision :
67 \begin_layout Standard
69 Traduction : Mise à jour Date : 07/07/2003
72 \begin_layout Standard
74 Original : Révision : 1.5, Date : 17/01/2003
82 \begin_layout Standard
84 Une méthode alternative pour obtenir un alignement décimal dans les tableaux
85 est de passer par le paquetage
90 Ajoutez ce qui suit au préambule LaTeX
94 \begin_layout Standard
96 NdT : Si votre séparateur décimal est la virgule.
97 Si c'est le point, remplacez les virgules par des points.
105 \begin_layout LyX-Code
112 \begin_layout LyX-Code
116 newcolumntype{d}[1]{D{,}{,}{#1}}
119 \begin_layout Standard
121 Pour avoir une colonne alignée sur le symbole décimal, entrez ce qui suit
125 spéciale\SpecialChar \menuseparator
132 Tableau\SpecialChar \menuseparator
138 \begin_layout LyX-Code
140 d{nombre de chiffres après la virgule dans les données}
143 \begin_layout Standard
145 Dans le tableau suivant nous avons entré
153 \begin_layout Standard
156 \begin_inset VSpace 0.3cm
162 \begin_layout Standard
166 <lyxtabular version="3" rows="5" columns="2">
168 <column alignment="center" valignment="top" width="0pt">
169 <column alignment="right" valignment="top" leftline="true" width="0pt" special="d{4}">
170 <row bottomline="true">
171 <cell alignment="center" valignment="top" topline="true" usebox="none">
174 \begin_layout Standard
181 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
184 \begin_layout Standard
193 <cell alignment="center" valignment="top" topline="true" usebox="none">
196 \begin_layout Standard
199 \begin_inset Formula $\pi$
207 <cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
210 \begin_layout Standard
219 <cell alignment="center" valignment="top" topline="true" usebox="none">
222 \begin_layout Standard
225 \begin_inset Formula $\pi^{\pi}$
233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
236 \begin_layout Standard
245 <cell alignment="center" valignment="top" topline="true" usebox="none">
248 \begin_layout Standard
251 \begin_inset Formula $(\pi^{\pi})^{\pi}$
259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
262 \begin_layout Standard
271 <cell alignment="center" valignment="top" topline="true" usebox="none">
274 \begin_layout Standard
277 \begin_inset Formula $\pi^{\pi^{\pi}}$
285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
288 \begin_layout Standard
303 \begin_layout Standard
306 \begin_inset VSpace 0.3cm
313 \begin_layout Standard
315 Pour créer de l'espace supplémentaire dans la colonne augmentez juste le
316 nombre de décimales dans
325 pour une case isolée la rend insensible à l'alignement décimal, ce qui
327 Un inconvénient de cette méthode est que le mode mathématique n'est pas
328 autorisé dans une case avec l'alignement décimal sauf si l'attribut
335 \begin_layout Standard
337 Cette méthode offre la même flexibilité que le paquetage
342 On peut, par exemple, changer le séparateur d'alignement, et avoir des
343 séparateurs d'alignement différents pour des colonnes différentes en définissan
344 t plusieurs types de colonnes dans le préambule.
345 La syntaxe est comme suit :
348 \begin_layout LyX-Code
350 D{inputsep}{outputsep}{decimal places}
354 \begin_layout Standard
356 NdT : non traduit car je ne suis pas certain du sens
364 \begin_layout Standard
366 Le lecteur intéressé se référera à la documentation du paquetage
370 pour plus de détails.