]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/fr_AlignementDecimal.lyx
define missing color
[lyx.git] / lib / examples / fr_AlignementDecimal.lyx
index 0463ded22485bbfa190475aa9c79e527cf8d954c..d24aaf4552e17e2b4e14485886b1fae1821d0cfe 100644 (file)
-#LyX 1.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 218
+#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 245
+\begin_document
+\begin_header
 \textclass article
 \begin_preamble
 \usepackage{dcolumn}
-\newcolumntype{d}[1]{D{.}{.}{#1}}
+\newcolumntype{d}[1]{D{,}{,}{#1}}
 \end_preamble
-\language frenchb
+\language french
 \inputencoding latin1
 \fontscheme default
 \graphics default
 \paperfontsize default
-\spacing single 
-\papersize Default
-\paperpackage a4
-\use_geometry 0
+\spacing single
+\papersize default
+\use_geometry false
 \use_amsmath 0
+\cite_engine basic
+\use_bibtopic false
 \paperorientation portrait
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation indent
 \defskip medskip
 \quotes_language french
-\quotes_times 2
 \papercolumns 1
 \papersides 1
 \paperpagestyle default
+\tracking_changes false
+\output_changes true
+\end_header
 
-\layout Title
+\begin_body
+
+\begin_layout Title
 
 Une meilleure solution pour l'Alignement Décimal
-\begin_float footnote 
-\layout Standard
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
 
 Traduction par Adrien 
-\noun on 
+\noun on
 Rebollo
-\noun default 
+\noun default
  
-\family typewriter 
-<Adrien.Rebollo@wanadoo.fr>
-\family default 
+\family typewriter
+<Adrien.Rebollo@gmx.fr>
+\family default
 .
-\end_float 
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Standard
 
-\begin_inset Info
 Informations de révision :
-Traduction : Mise à jour Date: 2001/03/20
-Original : Révision: 1.3, Date: 2000/11/03
-\end_inset 
+\end_layout
+
+\begin_layout Standard
 
+Traduction : Mise à jour Date : 07/07/2003
+\end_layout
 
-\layout Standard
+\begin_layout Standard
+
+Original : Révision : 1.5, Date : 17/01/2003
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 
 Une méthode alternative pour obtenir un alignement décimal dans les tableaux
  est de passer par le paquetage 
-\family typewriter 
+\family typewriter
 dcolumn
-\family default 
+\family default
 .
- Ajoutez ce qui suit au préambule LaTeX :
-\layout LyX-Code
+ Ajoutez ce qui suit au préambule LaTeX
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
+
+NdT : Si votre séparateur décimal est la virgule.
+ Si c'est le point, remplacez les virgules par des points.
+\end_layout
 
+\end_inset
 
-\backslash 
+ :
+\end_layout
+
+\begin_layout LyX-Code
+
+
+\backslash
 usepackage{dcolumn} 
-\layout LyX-Code
+\end_layout
 
+\begin_layout LyX-Code
 
-\backslash 
-newcolumntype{d}[1]{D{.}{.}{#1}}
-\layout Standard
+
+\backslash
+newcolumntype{d}[1]{D{,}{,}{#1}}
+\end_layout
+
+\begin_layout Standard
 
 Pour avoir une colonne alignée sur le symbole décimal, entrez ce qui suit
  dans le champ 
-\family sans 
-Colonne\SpecialChar ~
+\family sans
+Colonne\InsetSpace ~
 spéciale\SpecialChar \menuseparator
 Alignement
-\family default 
+\family default
  de la fenêtre 
-\family sans 
-Style\SpecialChar ~
-du\SpecialChar ~
+\family sans
+Style\InsetSpace ~
+du\InsetSpace ~
 Tableau\SpecialChar \menuseparator
 Colonne/Rangée
-\family default 
+\family default
  :
-\layout LyX-Code
+\end_layout
+
+\begin_layout LyX-Code
 
 d{nombre de chiffres après la virgule dans les données}
-\layout Standard
+\end_layout
+
+\begin_layout Standard
 
 Dans le tableau suivant nous avons entré 
-\family typewriter 
+\family typewriter
 d{4}
-\family default 
+\family default
 :
-\layout Standard
-\added_space_top 0.3cm \added_space_bottom 0.3cm \align center 
+\end_layout
+
+
+\begin_layout Standard
+
+
+\begin_inset VSpace 0.3cm
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
 
 \begin_inset  Tabular
-<lyxtabular version="2" rows="5" columns="2">
-<features rotate="false" islongtable="false" endhead="0" endfirsthead="0" endfoot="0" endlastfoot="0">
-<column alignment="center" valignment="top" leftline="false" rightline="false" width="" special="">
-<column alignment="right" valignment="top" leftline="true" rightline="false" width="" special="d{4}">
-<row topline="false" bottomline="true" newpage="false">
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="false" rightline="false" rotate="false" usebox="none" width="" special="">
+<lyxtabular version="3" rows="5" columns="2">
+<features>
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="right" valignment="top" leftline="true" width="0pt" special="d{4}">
+<row bottomline="true">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 Expression
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="false" bottomline="true" leftline="true" rightline="false" rotate="false" usebox="none" width="" special="">
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 Valeur
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
 </row>
-<row topline="false" bottomline="false" newpage="false">
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="false" rightline="false" rotate="false" usebox="none" width="" special="">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 
-\begin_inset Formula \( \pi  \)
-\end_inset 
+\begin_inset Formula $\pi$
+\end_inset
 
 
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
-<cell multicolumn="1" alignment="right" valignment="top" topline="false" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special="">
+<cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 3,1416
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
 </row>
-<row topline="false" bottomline="false" newpage="false">
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="false" rightline="false" rotate="false" usebox="none" width="" special="">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
+
 
+\begin_inset Formula $\pi^{\pi}$
+\end_inset
 
-\begin_inset Formula \( \pi ^{\pi } \)
-\end_inset 
 
+\end_layout
 
-\end_inset 
+\end_inset
 </cell>
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special="">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 36,462
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
 </row>
-<row topline="false" bottomline="false" newpage="false">
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="false" rightline="false" rotate="false" usebox="none" width="" special="">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
+
 
+\begin_inset Formula $(\pi^{\pi})^{\pi}$
+\end_inset
 
-\begin_inset Formula \( (\pi ^{\pi })^{\pi } \)
-\end_inset 
 
+\end_layout
 
-\end_inset 
+\end_inset
 </cell>
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special="">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 80663,
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
 </row>
-<row topline="false" bottomline="false" newpage="false">
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="false" rightline="false" rotate="false" usebox="none" width="" special="">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
+
 
+\begin_inset Formula $\pi^{\pi^{\pi}}$
+\end_inset
 
-\begin_inset Formula \( \pi ^{\pi ^{\pi }} \)
-\end_inset 
 
+\end_layout
 
-\end_inset 
+\end_inset
 </cell>
-<cell multicolumn="0" alignment="center" valignment="top" topline="true" bottomline="false" leftline="true" rightline="false" rotate="false" usebox="none" width="" special="">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\layout Standard
+\begin_layout Standard
 
 1,3402e18
-\end_inset 
+\end_layout
+
+\end_inset
 </cell>
 </row>
 </lyxtabular>
 
-\end_inset 
+\end_inset
+
+
+\end_layout
 
+\begin_layout Standard
 
-\layout Standard
+
+\begin_inset VSpace 0.3cm
+\end_inset
+
+
+\end_layout
+
+
+\begin_layout Standard
 
 Pour créer de l'espace supplémentaire dans la colonne augmentez juste le
  nombre de décimales dans 
-\family typewriter 
+\family typewriter
 d{}
-\family default 
+\family default
 .
  Cocher l'attribut 
-\family sans 
+\family sans
 Multicolonne
-\family default 
+\family default
  pour une case isolée la rend insensible à l'alignement décimal, ce qui
  est commode.
  Un inconvénient de cette méthode est que le mode mathématique n'est pas
  autorisé dans une case avec l'alignement décimal sauf si l'attribut 
-\family sans 
+\family sans
 Multicolonne
-\family default 
+\family default
  est coché.
-\layout Standard
+\end_layout
+
+\begin_layout Standard
 
 Cette méthode offre la même flexibilité que le paquetage 
-\family typewriter 
+\family typewriter
 dcolumn
-\family default 
+\family default
 .
  On peut, par exemple, changer le séparateur d'alignement, et avoir des
  séparateurs d'alignement différents pour des colonnes différentes en définissan
 t plusieurs types de colonnes dans le préambule.
  La syntaxe est comme suit :
-\layout LyX-Code
+\end_layout
+
+\begin_layout LyX-Code
 
 D{inputsep}{outputsep}{decimal places}
-\begin_float footnote 
-\layout Standard
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
 
 NdT : non traduit car je ne suis pas certain du sens
-\end_float 
-\layout Standard
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 
 Le lecteur intéressé se référera à la documentation du paquetage 
-\family typewriter 
+\family typewriter
 dcolumn
-\family default 
+\family default
  pour plus de détails.
-\the_end
+\end_layout
+
+\end_body
+\end_document