1 #LyX 1.5.0svn 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
29 \paperpagestyle default
30 \tracking_changes false
38 Une meilleure solution pour l'Alignement Décimal
42 \begin_layout Standard
50 <Adrien.Rebollo@gmx.fr>
58 \begin_inset Note Note
61 \begin_layout Standard
63 Informations de révision :
66 \begin_layout Standard
68 Traduction : Mise à jour Date : 07/07/2003
71 \begin_layout Standard
73 Original : Révision : 1.5, Date : 17/01/2003
81 \begin_layout Standard
83 Une méthode alternative pour obtenir un alignement décimal dans les tableaux
84 est de passer par le paquetage
89 Ajoutez ce qui suit au préambule LaTeX
93 \begin_layout Standard
95 NdT : Si votre séparateur décimal est la virgule.
96 Si c'est le point, remplacez les virgules par des points.
104 \begin_layout LyX-Code
111 \begin_layout LyX-Code
115 newcolumntype{d}[1]{D{,}{,}{#1}}
118 \begin_layout Standard
120 Pour avoir une colonne alignée sur le symbole décimal, entrez ce qui suit
124 spéciale\SpecialChar \menuseparator
131 Tableau\SpecialChar \menuseparator
137 \begin_layout LyX-Code
139 d{nombre de chiffres après la virgule dans les données}
142 \begin_layout Standard
144 Dans le tableau suivant nous avons entré
152 \begin_layout Standard
155 \begin_inset VSpace 0.3cm
161 \begin_layout Standard
165 <lyxtabular version="3" rows="5" columns="2">
167 <column alignment="center" valignment="top" width="0pt">
168 <column alignment="right" valignment="top" leftline="true" width="0pt" special="d{4}">
169 <row bottomline="true">
170 <cell alignment="center" valignment="top" topline="true" usebox="none">
173 \begin_layout Standard
180 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
183 \begin_layout Standard
192 <cell alignment="center" valignment="top" topline="true" usebox="none">
195 \begin_layout Standard
198 \begin_inset Formula $\pi$
206 <cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
209 \begin_layout Standard
218 <cell alignment="center" valignment="top" topline="true" usebox="none">
221 \begin_layout Standard
224 \begin_inset Formula $\pi^{\pi}$
232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
235 \begin_layout Standard
244 <cell alignment="center" valignment="top" topline="true" usebox="none">
247 \begin_layout Standard
250 \begin_inset Formula $(\pi^{\pi})^{\pi}$
258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
261 \begin_layout Standard
270 <cell alignment="center" valignment="top" topline="true" usebox="none">
273 \begin_layout Standard
276 \begin_inset Formula $\pi^{\pi^{\pi}}$
284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
287 \begin_layout Standard
302 \begin_layout Standard
305 \begin_inset VSpace 0.3cm
312 \begin_layout Standard
314 Pour créer de l'espace supplémentaire dans la colonne augmentez juste le
315 nombre de décimales dans
324 pour une case isolée la rend insensible à l'alignement décimal, ce qui
326 Un inconvénient de cette méthode est que le mode mathématique n'est pas
327 autorisé dans une case avec l'alignement décimal sauf si l'attribut
334 \begin_layout Standard
336 Cette méthode offre la même flexibilité que le paquetage
341 On peut, par exemple, changer le séparateur d'alignement, et avoir des
342 séparateurs d'alignement différents pour des colonnes différentes en définissan
343 t plusieurs types de colonnes dans le préambule.
344 La syntaxe est comme suit :
347 \begin_layout LyX-Code
349 D{inputsep}{outputsep}{decimal places}
353 \begin_layout Standard
355 NdT : non traduit car je ne suis pas certain du sens
363 \begin_layout Standard
365 Le lecteur intéressé se référera à la documentation du paquetage
369 pour plus de détails.