1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/fr/
10 \newcolumntype{d}[1]{D{,}{,}{#1}}
12 \use_default_options false
13 \maintain_unincluded_children false
15 \language_package default
16 \inputencoding iso8859-1
18 \font_roman "default" "default"
19 \font_sans "default" "default"
20 \font_typewriter "default" "default"
21 \font_math "auto" "auto"
22 \font_default_family default
23 \use_non_tex_fonts false
26 \font_sf_scale 100 100
27 \font_tt_scale 100 100
29 \use_dash_ligatures false
31 \default_output_format default
33 \bibtex_command default
34 \index_command default
35 \paperfontsize default
40 \use_package amsmath 0
41 \use_package amssymb 0
44 \use_package mathdots 1
45 \use_package mathtools 0
47 \use_package stackrel 0
48 \use_package stmaryrd 0
49 \use_package undertilde 0
51 \cite_engine_type default
55 \paperorientation portrait
65 \paragraph_separation indent
66 \paragraph_indentation default
71 \paperpagestyle default
72 \tracking_changes false
82 Une meilleure solution pour l'Alignement Décimal
86 \begin_layout Plain Layout
93 <Adrien.Rebollo@gmx.fr>
101 \begin_inset Note Note
104 \begin_layout Plain Layout
105 Informations de révision :
108 \begin_layout Plain Layout
109 Traduction : Mise à jour Date : 07/07/2003
112 \begin_layout Plain Layout
113 Original : Révision : 1.5, Date : 17/01/2003
121 \begin_layout Standard
122 Une méthode alternative pour obtenir un alignement décimal dans les tableaux
123 est de passer par le paquetage
128 Ajoutez ce qui suit au préambule \SpecialChar LaTeX
133 \begin_layout Plain Layout
134 NdT : Si votre séparateur décimal est la virgule.
135 Si c'est le point, remplacez les virgules par des points.
143 \begin_layout LyX-Code
149 \begin_layout LyX-Code
152 newcolumntype{d}[1]{D{,}{,}{#1}}
155 \begin_layout Standard
156 Pour avoir une colonne alignée sur le symbole décimal, entrez ce qui suit
163 spéciale\SpecialChar menuseparator
176 Tableau\SpecialChar menuseparator
182 \begin_layout LyX-Code
183 d{nombre de chiffres après la virgule dans les données}
186 \begin_layout Standard
187 Dans le tableau suivant nous avons entré
194 \begin_layout Standard
195 \begin_inset VSpace 0.3cm
201 \begin_layout Standard
204 <lyxtabular version="3" rows="5" columns="2">
205 <features tabularvalignment="middle">
206 <column alignment="center" valignment="top" width="0pt">
207 <column alignment="right" valignment="top" width="0pt" special="d{4}">
209 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
212 \begin_layout Plain Layout
218 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
221 \begin_layout Plain Layout
229 <cell alignment="center" valignment="top" usebox="none">
232 \begin_layout Plain Layout
233 \begin_inset Formula $\pi$
241 <cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
244 \begin_layout Plain Layout
252 <cell alignment="center" valignment="top" usebox="none">
255 \begin_layout Plain Layout
256 \begin_inset Formula $\pi^{\pi}$
264 <cell alignment="center" valignment="top" leftline="true" usebox="none">
267 \begin_layout Plain Layout
275 <cell alignment="center" valignment="top" usebox="none">
278 \begin_layout Plain Layout
279 \begin_inset Formula $(\pi^{\pi})^{\pi}$
287 <cell alignment="center" valignment="top" leftline="true" usebox="none">
290 \begin_layout Plain Layout
298 <cell alignment="center" valignment="top" usebox="none">
301 \begin_layout Plain Layout
302 \begin_inset Formula $\pi^{\pi^{\pi}}$
310 <cell alignment="center" valignment="top" leftline="true" usebox="none">
313 \begin_layout Plain Layout
327 \begin_layout Standard
328 \begin_inset VSpace 0.3cm
334 \begin_layout Standard
335 Pour créer de l'espace supplémentaire dans la colonne augmentez juste le
336 nombre de décimales dans
345 pour une case isolée la rend insensible à l'alignement décimal, ce qui
347 Un inconvénient de cette méthode est que le mode mathématique n'est pas
348 autorisé dans une case avec l'alignement décimal sauf si l'attribut
355 \begin_layout Standard
356 Cette méthode offre la même flexibilité que le paquetage
361 On peut, par exemple, changer le séparateur d'alignement, et avoir des
362 séparateurs d'alignement différents pour des colonnes différentes en définissan
363 t plusieurs types de colonnes dans le préambule.
364 La syntaxe est comme suit :
367 \begin_layout LyX-Code
368 D{inputsep}{outputsep}{decimal places}
372 \begin_layout Plain Layout
373 NdT : non traduit car je ne suis pas certain du sens
381 \begin_layout Standard
382 Le lecteur intéressé se référera à la documentation du paquetage
386 pour plus de détails.