mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-21 05:00:59 +00:00
1602415b98
Also MacOSX ReadMe files. Note that a few lib/doc files are
also "updated" because trailing spaces are removed, but their file
formats are the same because they were recently updated at 83672113
.
I did "git checkout LFUNs.lyx" because this file is generated
automatically and has a special header.
386 lines
6.9 KiB
Plaintext
386 lines
6.9 KiB
Plaintext
#LyX 2.2 created this file. For more info see http://www.lyx.org/
|
|
\lyxformat 501
|
|
\begin_document
|
|
\begin_header
|
|
\origin /systemlyxdir/examples/fr/
|
|
\textclass article
|
|
\begin_preamble
|
|
\usepackage{dcolumn}
|
|
\newcolumntype{d}[1]{D{,}{,}{#1}}
|
|
\end_preamble
|
|
\use_default_options false
|
|
\maintain_unincluded_children false
|
|
\language french
|
|
\language_package default
|
|
\inputencoding iso8859-1
|
|
\fontencoding global
|
|
\font_roman "default" "default"
|
|
\font_sans "default" "default"
|
|
\font_typewriter "default" "default"
|
|
\font_math "auto" "auto"
|
|
\font_default_family default
|
|
\use_non_tex_fonts false
|
|
\font_sc false
|
|
\font_osf false
|
|
\font_sf_scale 100 100
|
|
\font_tt_scale 100 100
|
|
\graphics default
|
|
\default_output_format default
|
|
\output_sync 0
|
|
\bibtex_command default
|
|
\index_command default
|
|
\paperfontsize default
|
|
\spacing single
|
|
\use_hyperref false
|
|
\papersize default
|
|
\use_geometry false
|
|
\use_package amsmath 0
|
|
\use_package amssymb 0
|
|
\use_package cancel 0
|
|
\use_package esint 0
|
|
\use_package mathdots 1
|
|
\use_package mathtools 0
|
|
\use_package mhchem 1
|
|
\use_package stackrel 0
|
|
\use_package stmaryrd 0
|
|
\use_package undertilde 0
|
|
\cite_engine basic
|
|
\cite_engine_type default
|
|
\biblio_style plain
|
|
\use_bibtopic false
|
|
\use_indices false
|
|
\paperorientation portrait
|
|
\suppress_date false
|
|
\justification true
|
|
\use_refstyle 0
|
|
\index Index
|
|
\shortcut idx
|
|
\color #008000
|
|
\end_index
|
|
\secnumdepth 3
|
|
\tocdepth 3
|
|
\paragraph_separation indent
|
|
\paragraph_indentation default
|
|
\quotes_language french
|
|
\papercolumns 1
|
|
\papersides 1
|
|
\paperpagestyle default
|
|
\tracking_changes false
|
|
\output_changes false
|
|
\html_math_output 0
|
|
\html_css_as_file 0
|
|
\html_be_strict false
|
|
\end_header
|
|
|
|
\begin_body
|
|
|
|
\begin_layout Title
|
|
Une meilleure solution pour l'Alignement Décimal
|
|
\begin_inset Foot
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
Traduction par Adrien
|
|
\noun on
|
|
Rebollo
|
|
\noun default
|
|
|
|
\family typewriter
|
|
<Adrien.Rebollo@gmx.fr>
|
|
\family default
|
|
.
|
|
\end_layout
|
|
|
|
\end_inset
|
|
|
|
|
|
\begin_inset Note Note
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
Informations de révision :
|
|
\end_layout
|
|
|
|
\begin_layout Plain Layout
|
|
Traduction : Mise à jour Date : 07/07/2003
|
|
\end_layout
|
|
|
|
\begin_layout Plain Layout
|
|
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
|
|
dcolumn
|
|
\family default
|
|
.
|
|
Ajoutez ce qui suit au préambule \SpecialCharNoPassThru LaTeX
|
|
\begin_inset Foot
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
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
|
|
|
|
:
|
|
\end_layout
|
|
|
|
\begin_layout LyX-Code
|
|
|
|
\backslash
|
|
usepackage{dcolumn}
|
|
\end_layout
|
|
|
|
\begin_layout LyX-Code
|
|
|
|
\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
|
|
\begin_inset space ~
|
|
\end_inset
|
|
|
|
spéciale\SpecialChar menuseparator
|
|
Alignement
|
|
\family default
|
|
de la fenêtre
|
|
\family sans
|
|
Style
|
|
\begin_inset space ~
|
|
\end_inset
|
|
|
|
du
|
|
\begin_inset space ~
|
|
\end_inset
|
|
|
|
Tableau\SpecialChar menuseparator
|
|
Colonne/Rangée
|
|
\family default
|
|
:
|
|
\end_layout
|
|
|
|
\begin_layout LyX-Code
|
|
d{nombre de chiffres après la virgule dans les données}
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Dans le tableau suivant nous avons entré
|
|
\family typewriter
|
|
d{4}
|
|
\family default
|
|
:
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
\begin_inset VSpace 0.3cm
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
\align center
|
|
\begin_inset Tabular
|
|
<lyxtabular version="3" rows="5" columns="2">
|
|
<features rotate="0" tabularvalignment="middle">
|
|
<column alignment="center" valignment="top" width="0pt">
|
|
<column alignment="right" valignment="top" width="0pt" special="d{4}">
|
|
<row>
|
|
<cell alignment="center" valignment="top" bottomline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
Expression
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
Valeur
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
\begin_inset Formula $\pi$
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="right" valignment="top" leftline="true" usebox="none" special="d{4}">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
3,1416
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
\begin_inset Formula $\pi^{\pi}$
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="center" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
36,462
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
\begin_inset Formula $(\pi^{\pi})^{\pi}$
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="center" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
80663,
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
<row>
|
|
<cell alignment="center" valignment="top" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
\begin_inset Formula $\pi^{\pi^{\pi}}$
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
<cell alignment="center" valignment="top" leftline="true" usebox="none">
|
|
\begin_inset Text
|
|
|
|
\begin_layout Plain Layout
|
|
1,3402e18
|
|
\end_layout
|
|
|
|
\end_inset
|
|
</cell>
|
|
</row>
|
|
</lyxtabular>
|
|
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_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
|
|
d{}
|
|
\family default
|
|
.
|
|
Cocher l'attribut
|
|
\family sans
|
|
Multicolonne
|
|
\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
|
|
Multicolonne
|
|
\family default
|
|
est coché.
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Cette méthode offre la même flexibilité que le paquetage
|
|
\family typewriter
|
|
dcolumn
|
|
\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 :
|
|
\end_layout
|
|
|
|
\begin_layout LyX-Code
|
|
D{inputsep}{outputsep}{decimal places}
|
|
\begin_inset Foot
|
|
status collapsed
|
|
|
|
\begin_layout Plain Layout
|
|
NdT : non traduit car je ne suis pas certain du sens
|
|
\end_layout
|
|
|
|
\end_inset
|
|
|
|
|
|
\end_layout
|
|
|
|
\begin_layout Standard
|
|
Le lecteur intéressé se référera à la documentation du paquetage
|
|
\family typewriter
|
|
dcolumn
|
|
\family default
|
|
pour plus de détails.
|
|
\end_layout
|
|
|
|
\end_body
|
|
\end_document
|