\setboolean{lettrine}{true}}
{\setboolean{lettrine}{false}}
+% check for diagbox
+\newboolean{diagbox}
+\IfFileExists{diagbox.sty}
+ {\usepackage{diagbox}
+ \setboolean{diagbox}{true}}
+ {\setboolean{diagbox}{false}}
+
% use normal list environments also in French documents
\frenchbsetup{StandardLayout}
\end_preamble
\series default
,
\series bold
-lettrine, marginnote, picinpar
+diagbox, lettrine, marginnote, picinpar
\series default
, et
\series bold
Vous devez donc faire attention avec les saut de lignes forcés.
\end_layout
-\begin_layout Section
-Les tableaux formels
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Tableaux-Formels"
+\begin_layout Subsection
-\end_inset
+\lang english
+Cells with diagonal line(s)
+\end_layout
+
+\begin_layout Standard
+\lang english
+To tell the reader what is meant by column and row headings in a table,
+ it is helpful to split the first cell of the table by one or two diagonal
+ lines.
+ This can be achieved by loading the LaTeX-package
+\series bold
+diagbox
+\series default
+\lang french
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Tableau ! Formel
+Paquetages LaTeX ! diagbox
\end_layout
\end_inset
+
+\lang english
+in the document preamble.
+ The package provides the command
+\series bold
-\end_layout
-
-\begin_layout Standard
-Dans les livres les tableaux sont souvent mis en forme d'une façon semblable
- à celle du tableau
+\backslash
+diagbox
+\series default
+ that is inserted as TeX-Code and that can take 2 or 3
\begin_inset space ~
\end_inset
+arguments:
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Exemple-tableau-booktabs"
+\begin_layout Standard
-\end_inset
+\series bold
+\lang english
-.
- Ce genre de tableau est appelé
-\begin_inset Quotes eld
-\end_inset
+\backslash
+diagbox[options]{lower left}{upper right}
+\end_layout
+\begin_layout Standard
-\emph on
-formel
-\emph default
+\series bold
+\lang english
-\begin_inset Quotes erd
-\end_inset
+\backslash
+diagbox[options]{lower left}{upper left}{upper right}
+\end_layout
-.
- Pour transformer un tableau en tableau formel, utilisez l'option
-\family sans
-Formel
-\family default
- de l'onglet
-\family sans
-Bordures
-\family default
- de la fenêtre de dialogue
-\family sans
-Paramètres
-\begin_inset space ~
-\end_inset
+\begin_layout Standard
-du
+\lang english
+The first scheme divides the cell by a single diagonal line and the arguments
+ are placed below and above this line.
+ The second scheme divides the cell by 2
\begin_inset space ~
\end_inset
-tableau
-\family default
-.
+lines.
\end_layout
\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Exemple-tableau-booktabs"
-\end_inset
-Exemple de tableau formel
+\backslash
+ifdiagbox
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_inset Note Note
+status open
\begin_layout Plain Layout
-Système
+La section suivante ne s'affichera que si vous avez installé le paquetage
+ LaTeX
+\series bold
+diagbox
+\series default
+.
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-1
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Standard
-2
-\end_layout
+\lang english
+Here is an example table where
+\series bold
+\backslash
+diagbox
+\series default
+is used in the 2-argument scheme in the first cell:
+\begin_inset VSpace medskip
\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
-\end_inset
-</cell>
-</row>
+\begin_layout Standard
+\noindent
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+
+\lang english
\begin_inset ERT
status collapsed
\backslash
-cmidrule(r){2-2}
+diagbox{
\end_layout
\end_inset
-
+Name
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}{
+\end_layout
+
+\end_inset
-\backslash
-cmidrule(l){3-4}
+Parameter
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
\end_inset
-Épaisseur du capteur en µm
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+
+\lang english
+Thickness in nm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+
+\lang english
+Transparency in %
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-700
+
+\lang english
+Hardness in MPa
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Angle du biseau en °
+
+\lang english
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3.55
+
+\lang english
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-2.71
+
+\lang english
+80
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-7.99
+
+\lang english
+504
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Résolution spatiale en µm
+
+\lang english
+Dark Multi-P
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-4.26
+
+\lang english
+60
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.17
+
+\lang english
+72
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.56
+
+\lang english
+982
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-MTF à
-\begin_inset Formula $f_{\mathrm{max}}$
-\end_inset
-
+\lang english
+Crystal Clear Pro
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.53
+
+\lang english
+18
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.37
+
+\lang english
+86
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.39
+
+\lang english
+374
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The 3-argument scheme is for example useful for cross-tables of sports leagues
+ or distances:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+
+\lang english
\begin_inset ERT
status collapsed
\backslash
-cmidrule(l{10pt}){1-1}
+diagbox{
\end_layout
\end_inset
-résolution spatiale LSF
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Team away
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+Falcons
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-en µm
+
+\lang english
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-129.7
+
+\lang english
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-52.75
+
+\lang english
+1:3
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-50.78
+
+\lang english
+0:1
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-en % de la taille des pixels
+
+\lang english
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-76.3
+
+\lang english
+3:1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-95.9
+
+\lang english
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-92.3
+
+\lang english
+0:0
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\lang english
+Falcons
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\lang english
+1:0
\end_layout
-\begin_layout Standard
-De l'espace vertical peut être ajouté entre les lignes en utilisant l'onglet
-
-\family sans
-Bordures
-\family default
- de la fenêtre de dialogue
-\family sans
-Paramètres
-\begin_inset space ~
-\end_inset
-
-du
-\begin_inset space ~
-\end_inset
-
-tableau
-\family default
- comme c'est décrit dans la section
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Espacement-lignes"
+\lang english
+0:0
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+
+\lang english
+---
\end_layout
-\begin_layout Standard
-Au contraire des tableaux normaux, les tableaux formels n'ont pas de lignes
- verticales.
- Les lignes horizontales peuvent être mise en place comme pour les tableaux
- normaux mais elles apparaissent avec des épaisseurs différentes dans la
- sortie imprimée :
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+</lyxtabular>
-La première et la dernière ligne ont implicitement une épaisseur de 0.08
-\begin_inset space \thinspace{}
\end_inset
-em alors que les autres lignes ont implicite une épaisseur de 0.05
-\begin_inset space \thinspace{}
-\end_inset
-em.
\end_layout
\begin_layout Standard
-Les épaisseurs prises implicitement peuvent être modifiées en utilisant
- les lignes de préambule suivantes :
+
+\lang english
+For larger cross-tables one might use split cells in 2 or every corner of
+ the table like in this example:
\end_layout
\begin_layout Standard
+\noindent
+\align center
-\series bold
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\backslash
-let
-\backslash
-mytoprule
-\backslash
-toprule
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+
+\lang english
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
\backslash
-renewcommand{
-\backslash
-toprule}{
-\backslash
-mytoprule[width]}
+diagbox{
\end_layout
-\begin_layout Standard
-Cet exemple concerne la première ligne, appelée
-\series bold
-toprule
-\series default
-.
- Si vous voulez changer l'épaisseur de la dernière ligne, remplacez
-\series bold
-toprule
-\series default
- par
-\series bold
-bottomrule
-\series default
-.
- Pour changer l'épaisseur de toutes les lignes intermédiaires, remplacez
-
-\series bold
-toprule
-\series default
- par
-\series bold
-midrule
-\series default
-.
- Vous pouvez utiliser toutes les unités de longueur définies dans l'appendice
-\begin_inset space ~
\end_inset
+Team home
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:Unités-de-longueur"
-
-\end_inset
+\begin_layout Plain Layout
- pour préciser l'épaisseur voulue.
+}{
\end_layout
-\begin_layout Standard
-On peut aussi créer des lignes qui ne font pas toute la largeur du tableau
- en mettant une ligne pour une cellule multi-colonne.
- LyX va utiliser en interne la commande
-\series bold
-
-\backslash
-cmidrule
-\series default
- pour créer cette ligne.
- Sa syntaxe complète est :
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule[largeur](rognage){colDépart-colFin}
-\end_layout
-
-\begin_layout Standard
-Les options de la commande
-\series bold
-
-\backslash
-cmidrule
-\series default
- ne sont pas actuellement gérées par LyX, vous devez donc utiliser du code
- TeX pour pouvoir les utiliser.
- On peut créer manuellement des lignes
-\series bold
-
-\backslash
-mitrales
-\series default
- en insérant la commande en code TeX comme le premier élément de la première
- cellule de la ligne.
- La ligne est alors affichée dans la sortie imprimée au dessus de la ligne
- en question.
-\end_layout
-
-\begin_layout Standard
-La valeur implicite pour l'épaisseur des lignes est de 0.03
-\begin_inset space \thinspace{}
-\end_inset
-
-em.
-
-\series bold
-colDépart
-\series default
- est le numéro de la colonne dans laquelle la ligne commence et
-\series bold
-colFin
-\series default
- est le numéro de la colonne dans laquelle elle se termine.
- La valeur de
-\series bold
-colFin
-\series default
- doit toujours être précisée, même si la ligne ne couvre qu'une seule colonne.
- Le paramètre optionnel
-\series bold
-rognage
-\series default
- peut être soit
-\emph on
-l{largeurRognage}
-\emph default
-, ou
-\emph on
-r{largeurRognage}
-\emph default
- où les valeurs de
-\emph on
- largeurRognage
-\emph default
- sont aussi optionnelles.
- En utilisant par exemple la valeur
-\emph on
-l{2pt}
-\emph default
- pour ce paramètre, la ligne va être rognée de 2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt à son extrémité gauche.
- Si vous ne spécifiez pas de valeur pour
-\emph on
-largeurRognage
-\emph default
- les lignes sont implicitement rognées de 0.5
-\begin_inset space \thinspace{}
-\end_inset
-
-em.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Le tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Exemple-tableau-booktabs"
-
-\end_inset
-
- a été créé en utilisant les commandes
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule(r){2-2}
-\backslash
-cmidrule(l){3-4}
-\end_layout
-
-\begin_layout Standard
-au début de la deuxième ligne et
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule(l{10pt}){1-1}
-\end_layout
-
-\begin_layout Standard
-au début de la sixième ligne.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Vous pouvez vouloir des commandes
-\series bold
-
-\backslash
-cmidrule
-\series default
-s qui se recouvrent comme pour le tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-booktabs-special"
-
-\end_inset
-
-.
- On obtient ce résultat en utilisant la commande suivante en code TeX
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-morecmidrules
-\end_layout
-
-\begin_layout Standard
-La commande qui a été utilisée pour la deuxième ligne du tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-booktabs-special"
-
-\end_inset
-
- est
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule(r){2-2}
-\backslash
-cmidrule(l){3-4}
-\backslash
-morecmidrules
-\backslash
-cmidrule{2-4}
-\end_layout
-
-\begin_layout Standard
-La commande pour la sixième ligne est
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-midrule
-\backslash
-morecmidrules
-\backslash
-cmidrule{3-4}
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Si vous n'êtes toujours pas satisfait avec l'espacement des lignes de séparation
-, vous pouvez utiliser la commande suivante pour produire des lignes qui
- font toute la largeur du tableau :
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-specialrule{largeur}{espace au dessus}{espace en dessous}
-\end_layout
-
-\begin_layout Standard
-Pour plus d'informations sur ces spécialités, nous vous renvoyons au manuel
- du paquetage LaTeX
-\series bold
-booktabs
-\series default
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "booktabs"
-
\end_inset
-.
-\begin_inset Index idx
+Result
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! booktabs
-\end_layout
-
-\end_inset
-
+}{
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Caption
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-booktabs-special"
-
-\end_inset
-Tableau formel spécial
+}
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Système
-\end_layout
-
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-1
+\lang english
+Tigers
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-2
+\lang english
+Panthers
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+Falcons
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+
+\lang english
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-cmidrule(r){2-2}
+diagbox[dir=NE]{
\end_layout
\end_inset
-
+Team home
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule(l){3-4}
+}{
\end_layout
\end_inset
-
+Result
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-morecmidrules
+}{
\end_layout
\end_inset
-
+Team away
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule{2-4}
+}
\end_layout
\end_inset
-Epaisseur du capteur en µm
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+
+\lang english
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+
+\lang english
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-700
+
+\lang english
+1:3
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Angle biseau en °
+
+\lang english
+0:1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3.55
+
+\lang english
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-2.71
+
+\lang english
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-7.99
+
+\lang english
+3:1
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Résolution spatiale en µm
+
+\lang english
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-4.26
+
+\lang english
+0:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.17
+
+\lang english
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.56
+
+\lang english
+Falcons
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-MTF à
-\begin_inset Formula $f_{\mathrm{max}}$
-\end_inset
-
+\lang english
+1:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.53
+
+\lang english
+0:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.37
+
+\lang english
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.39
+
+\lang english
+Falcons
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+
+\lang english
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-morecmidrules
+diagbox[dir=SW]{
\end_layout
\end_inset
-
+Team home
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule{3-4}
+}{
\end_layout
\end_inset
-résolution spatiale LSF
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+Tigers
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-en µm
+
+\lang english
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-129.7
+
+\lang english
+Falcons
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-52.75
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\lang english
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-50.78
+
+
+\backslash
+diagbox[dir=SE]{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+
+Team home
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-en % de la taille des pixels
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+
+Result
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-76.3
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-95.9
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-92.3
+
\end_layout
\end_inset
\end_layout
-\end_inset
-
-
-\end_layout
-
-\begin_layout Section
-Alignement vertical des tableaux
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Tableau ! Alignement
-\end_layout
-
-\end_inset
-
+\begin_layout Standard
+\lang english
+To rotate the diagonal lines, the command option
+\series bold
+dir=direction
+\series default
+ is used.
+
+\emph on
+direction
+\emph default
+ is either
+\series bold
+NE
+\series default
+,
+\series bold
+DE
+\series default
+,
+\series bold
+SW
+\series default
+ or
+\series bold
+NW
+\series default
+ and represent a point of a compass.
+
+\series bold
+SW
+\series default
+ is for example the south-west corner.
+ Thus in the lower left cell of the above table the command
\end_layout
\begin_layout Standard
-Pour pouvoir être aligné verticalement par rapport au texte, un tableau
- doit être à l'intérieur d'une boîte.
- La boîte peut alors être alignée comme c'est décrit dans la
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Boîte-Dialogue"
-\end_inset
+\series bold
+\lang english
-.
+\backslash
+diagbox[dir=SW]{Team home}{Result}{Team away}
\end_layout
\begin_layout Standard
-Dans l'exemple qui suit les tableaux sont à l'intérieur d'une boîte de type
- minipage
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-Les minipages son décrites dans la section
-\begin_inset space ~
-\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
-
-\end_inset
-
-.
+\lang english
+is used.
+ If no direction is given, it will be NW.
\end_layout
-\end_inset
-
- dont la largeur est de 15
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Standard
-col% :
+\lang english
+The necessary width of split cells is automatically calculated.
+ Thus if you set a fixed column width smaller than the calculated one, the
+ cell's content will protrude the cell borders:
\end_layout
-\begin_layout Itemize
-test
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+\noindent
+\align center
-\begin_layout Plain Layout
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\lang english
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+Name
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+Parameter
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+
+\lang english
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-f
+\lang english
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+
+\lang english
+45
\end_layout
\end_inset
\end_layout
-\end_inset
-
- test
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
-\begin_layout Plain Layout
+\lang english
+If you need a certain width for columns with a split cell, use the command
+ option
+\series bold
+width=3cm
+\series default
+ (replace '3cm' by the width you need).
+ In the following table the width of the first column is set to 4
+\begin_inset space \thinspace{}
+\end_inset
+cm.
+ For
+\series bold
\backslash
-raisebox{0.85
-\backslash
-baselineskip}{
-\end_layout
+diagbox
+\series default
+ a width of 4
+\begin_inset space \thinspace{}
+\end_inset
+cm + 2
+\begin_inset space \thinspace{}
\end_inset
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\backslash
+tabcolsep is necessary because the overall width is the width for the text
+ (in this case the 4
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+cm) plus two times the separation of the text and the cell border.
+ The calculation of the width cannot be done in the command option of
+\series bold
-\begin_layout Plain Layout
-a
+\backslash
+diagbox
+\series default
+ so one needs to create a new length which can be used later.
+ This is done with the TeX-Code commands
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-d
-\end_layout
+\series bold
+\backslash
+newlength{
+\backslash
+diagtest}
+\begin_inset Newline newline
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-g
+
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+\backslash
+newlength{
+\backslash
+diagtest}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
\begin_layout Plain Layout
-h
-\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-c
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-f
+
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+
+\lang english
+To enable calculations in LaTeX one needs to load the package
+\series bold
+calc
+\series default
+\lang french
+
+\begin_inset Index idx
+status collapsed
\begin_layout Plain Layout
-i
+Paquetages LaTeX ! calc
\end_layout
\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
+
+\lang english
+in the document preamble.
\end_layout
-\end_inset
+\begin_layout Standard
+\lang english
+In this table you can now use the command
+\end_layout
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
-\begin_layout Plain Layout
+\series bold
-}
+\backslash
+diagbox[width=
+\backslash
+diagtest]{A}{B}
\end_layout
-\end_inset
-
+\begin_layout Standard
+\lang english
+in the first cell:
\end_layout
-\begin_layout Itemize
-test
-\begin_inset Box Frameless
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+\noindent
+\align center
-\begin_layout Plain Layout
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="4cm">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox[width=
+\backslash
+diagtest]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+
+\lang english
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
+\lang english
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+
+\lang english
+45
\end_layout
\end_inset
\end_layout
-\end_inset
-
+\begin_layout Standard
+\lang english
+Note that the split cell needs to be the widest one in the column.
+ Otherwise the length of the diagonal line cannot be calculated correctly
+ like in this table:
\end_layout
-\begin_layout Itemize
-test
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+\noindent
+\align center
-\begin_layout Plain Layout
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+
+\lang english
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-f
+\lang english
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+
+\lang english
+45
\end_layout
\end_inset
\end_layout
-\end_inset
-
- test
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\lang english
+In this case use the
+\series bold
+width
+\series default
+ option of the
+\series bold
\backslash
-raisebox{-0.32
+diagbox
+\series default
+ command.
+ It is then not necessary to add 2
\backslash
-baselineskip}{
-\end_layout
-
+tabcolsep because the cell width is now the width of the column.
+ In this table a width of 3
+\begin_inset space \thinspace{}
\end_inset
+cm is used:
+\end_layout
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+\noindent
+\align center
-\begin_layout Plain Layout
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-d
+
+}{
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-g
+
+\lang english
+Thickness in nm
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+
+\lang english
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+
+\lang english
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For multiple text lines in split cells one needs some extra height to fit
+ the text to the cell.
+ This can be achieved with the
+\series bold
+
+\backslash
+diagbox
+\series default
+ option
+\series bold
+height=3cm
+\series default
+ (replace '3cm' by the height you need).
+ In the following table the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{A
+\backslash
+
+\backslash
+B}{C
+\backslash
+
+\backslash
+D}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+is used in the first cell.
+ The command
+\series bold
+
+\backslash
+
+\backslash
+
+\series default
+ creates hereby the line break.
+\begin_inset Foot
+status collapsed
\begin_layout Plain Layout
-h
+
+\lang english
+Breaking lines with
+\family sans
+Ctrl+Return
+\family default
+ is only possible when the column has a fixed width.
\end_layout
\end_inset
-</cell>
-</row>
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-f
+
+
+\backslash
+
+\backslash
+
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-i
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+C
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+\backslash
\end_layout
\end_inset
-
+D
\begin_inset ERT
status collapsed
\end_layout
-\begin_layout Standard
-Comme vous pouvez le voir, le contenu des premiers tableaux de la première
- et de la dernière ligne, n'est pas correctement aligné avec le texte de
- la ligne dans laquelle le tableau est inséré.
- Pour obtenir cet alignement, vous devez mettre la boîte minipage dans une
- boîte élévatrice (raisebox)
-\begin_inset Foot
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Les boîtes élévatrices (raiseboxes) sont décrites dans la section
-\begin_inset space ~
+
+\lang english
+Thickness in nm
+\end_layout
+
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Alignement-Vertical"
+\lang english
+Perfect Green
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+
+\lang english
+45
\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
-.
- Dans l'exemple précédent, le deuxième tableau de la première ligne est
- aligné en utilisant la commande en code TeX suivante
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-raisebox{0.85
-\backslash
-baselineskip}{
+else
\end_layout
-\begin_layout Standard
-placée juste avant la boîte minipage.
- Après la boîte on insère l'accolade fermante en code TeX.
- Pour le deuxième tableau de la dernière ligne, la commande
-\end_layout
+\end_inset
-\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Ce qui suit sera affiché si le paquetage LaTeX
\series bold
+diagbox
+\series default
+ n'est pas installé :
+\end_layout
+
+\end_inset
+
-\backslash
-raisebox{-0.32
-\backslash
-baselineskip}{
\end_layout
\begin_layout Standard
-est utilisée.
+Vous devez installer le paquetage LaTeX
+\series bold
+diagbox
+\series default
+ pour voir le contenu des cette section dans la sortie imprimée.
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- L'alignement entre le contenu de la ligne du tableau et le texte de la
- ligne qui l'entoure ne peut pas être parfait.
- Le facteur utilisé dans la commande
-\series bold
\backslash
-raisebox
-\series default
- pour obtenir cet alignement dépend de la police de caractères du document,
- de la taille de la police et de l'épaisseur des lignes du tableau.
+fi
\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+
+\lang english
+For more info about the LaTeX-package
+\series bold
+diagbox
+\series default
+, see its documentation
+\lang french
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "diagbox"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Section
-Tableaux colorés
+Les tableaux formels
\begin_inset CommandInset label
LatexCommand label
-name "sec:Tableaux-Colorés"
+name "sec:Tableaux-Formels"
\end_inset
status collapsed
\begin_layout Plain Layout
-Tableau ! Coloré
+Tableau ! Formel
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Cellules colorées
-\begin_inset Index idx
-status collapsed
+\begin_layout Standard
+Dans les livres les tableaux sont souvent mis en forme d'une façon semblable
+ à celle du tableau
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-Couleur des tableaux ! Pour les cellules
-\end_layout
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Exemple-tableau-booktabs"
\end_inset
+.
+ Ce genre de tableau est appelé
+\begin_inset Quotes fld
+\end_inset
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Couleur ! Pour les cellules de tableau
-\end_layout
+\emph on
+formel
+\emph default
+
+\begin_inset Quotes frd
+\end_inset
+.
+ Pour transformer un tableau en tableau formel, utilisez l'option
+\family sans
+Formel
+\family default
+ de l'onglet
+\family sans
+Bordures
+\family default
+ de la fenêtre de dialogue
+\family sans
+Paramètres
+\begin_inset space ~
\end_inset
+du
+\begin_inset space ~
+\end_inset
+tableau
+\family default
+.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Tableau-coloré-sans-colortbl"
-
-\end_inset
-
-Tableau coloré sans utiliser le paquetage
-\series bold
-colortbl
-\series default
-
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-Tableau sans colortbl
-\end_layout
+name "tab:Exemple-tableau-booktabs"
\end_inset
-
+Exemple de tableau formel
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
+<lyxtabular version="3" rows="8" columns="4">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Système
+\end_layout
-\color green
-a
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
-\color red
-b
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-c
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
\begin_layout Plain Layout
-\color green
-d
+
+\backslash
+cmidrule(r){2-2}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule(l){3-4}
+\end_layout
+
+\end_inset
+
+Épaisseur du capteur en µm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-e
+300
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+300
+\end_layout
-\color blue
-f
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+700
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color green
-g
+Angle du biseau en °
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-h
+3.55
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+2.71
+\end_layout
-\color blue
-i
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7.99
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-\end_inset
+\begin_layout Plain Layout
+Résolution spatiale en µm
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+4.26
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+10.17
\end_layout
-\begin_layout Standard
-Si vous voulez seulement avoir du texte en couleur, sélectionnez les cellules
- et choisissez une couleur dans le menu
-\family sans
-Éditer\SpecialChar \menuseparator
-Style
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-de
+\begin_layout Plain Layout
+10.56
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+MTF à
+\begin_inset Formula $f_{\mathrm{max}}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.53
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.37
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.39
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule(l{10pt}){1-1}
+\end_layout
+
+\end_inset
+
+résolution spatiale LSF
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+en µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+129.7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+52.75
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+50.78
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+en % de la taille des pixels
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+76.3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+95.9
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+92.3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+De l'espace vertical peut être ajouté entre les lignes en utilisant l'onglet
+
+\family sans
+Bordures
+\family default
+ de la fenêtre de dialogue
+\family sans
+Paramètres
\begin_inset space ~
\end_inset
-Texte
+du
+\begin_inset space ~
+\end_inset
+
+tableau
\family default
+ comme c'est décrit dans la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Espacement-lignes"
+
+\end_inset
+
.
- C'est ce qui a été utilisé pour créer le tableau
+\end_layout
+
+\begin_layout Standard
+Au contraire des tableaux normaux, les tableaux formels n'ont pas de lignes
+ verticales.
+ Les lignes horizontales peuvent être mise en place comme pour les tableaux
+ normaux mais elles apparaissent avec des épaisseurs différentes dans la
+ sortie imprimée :
+\begin_inset Newline newline
+\end_inset
+
+La première et la dernière ligne ont implicitement une épaisseur de 0.08
+\begin_inset space \thinspace{}
+\end_inset
+
+em alors que les autres lignes ont implicite une épaisseur de 0.05
+\begin_inset space \thinspace{}
+\end_inset
+
+em.
+\end_layout
+
+\begin_layout Standard
+Les épaisseurs prises implicitement peuvent être modifiées en utilisant
+ les lignes de préambule suivantes :
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+mytoprule
+\backslash
+toprule
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+toprule}{
+\backslash
+mytoprule[width]}
+\end_layout
+
+\begin_layout Standard
+Cet exemple concerne la première ligne, appelée
+\series bold
+toprule
+\series default
+.
+ Si vous voulez changer l'épaisseur de la dernière ligne, remplacez
+\series bold
+toprule
+\series default
+ par
+\series bold
+bottomrule
+\series default
+.
+ Pour changer l'épaisseur de toutes les lignes intermédiaires, remplacez
+
+\series bold
+toprule
+\series default
+ par
+\series bold
+midrule
+\series default
+.
+ Vous pouvez utiliser toutes les unités de longueur définies dans l'appendice
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Tableau-coloré-sans-colortbl"
+reference "cha:Unités-de-longueur"
+
+\end_inset
+
+ pour préciser l'épaisseur voulue.
+\end_layout
+
+\begin_layout Standard
+On peut aussi créer des lignes qui ne font pas toute la largeur du tableau
+ en mettant une ligne pour une cellule multi-colonne.
+ LyX va utiliser en interne la commande
+\series bold
+
+\backslash
+cmidrule
+\series default
+ pour créer cette ligne.
+ Sa syntaxe complète est :
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cmidrule[largeur](rognage){colDépart-colFin}
+\end_layout
+
+\begin_layout Standard
+Les options de la commande
+\series bold
+
+\backslash
+cmidrule
+\series default
+ ne sont pas actuellement gérées par LyX, vous devez donc utiliser du code
+ TeX pour pouvoir les utiliser.
+ On peut créer manuellement des lignes
+\series bold
+
+\backslash
+mitrales
+\series default
+ en insérant la commande en code TeX comme le premier élément de la première
+ cellule de la ligne.
+ La ligne est alors affichée dans la sortie imprimée au dessus de la ligne
+ en question.
+\end_layout
+
+\begin_layout Standard
+La valeur implicite pour l'épaisseur des lignes est de 0.03
+\begin_inset space \thinspace{}
+\end_inset
+
+em.
+
+\series bold
+colDépart
+\series default
+ est le numéro de la colonne dans laquelle la ligne commence et
+\series bold
+colFin
+\series default
+ est le numéro de la colonne dans laquelle elle se termine.
+ La valeur de
+\series bold
+colFin
+\series default
+ doit toujours être précisée, même si la ligne ne couvre qu'une seule colonne.
+ Le paramètre optionnel
+\series bold
+rognage
+\series default
+ peut être soit
+\emph on
+l{largeurRognage}
+\emph default
+, ou
+\emph on
+r{largeurRognage}
+\emph default
+ où les valeurs de
+\emph on
+ largeurRognage
+\emph default
+ sont aussi optionnelles.
+ En utilisant par exemple la valeur
+\emph on
+l{2pt}
+\emph default
+ pour ce paramètre, la ligne va être rognée de 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt à son extrémité gauche.
+ Si vous ne spécifiez pas de valeur pour
+\emph on
+largeurRognage
+\emph default
+ les lignes sont implicitement rognées de 0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+em.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Exemple-tableau-booktabs"
+
+\end_inset
+
+ a été créé en utilisant les commandes
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cmidrule(r){2-2}
+\backslash
+cmidrule(l){3-4}
+\end_layout
+
+\begin_layout Standard
+au début de la deuxième ligne et
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cmidrule(l{10pt}){1-1}
+\end_layout
+
+\begin_layout Standard
+au début de la sixième ligne.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Vous pouvez vouloir des commandes
+\series bold
+
+\backslash
+cmidrule
+\series default
+s qui se recouvrent comme pour le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-booktabs-special"
+
+\end_inset
+
+.
+ On obtient ce résultat en utilisant la commande suivante en code TeX
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+morecmidrules
+\end_layout
+
+\begin_layout Standard
+La commande qui a été utilisée pour la deuxième ligne du tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-booktabs-special"
+
+\end_inset
+
+ est
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cmidrule(r){2-2}
+\backslash
+cmidrule(l){3-4}
+\backslash
+morecmidrules
+\backslash
+cmidrule{2-4}
+\end_layout
+
+\begin_layout Standard
+La commande pour la sixième ligne est
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+midrule
+\backslash
+morecmidrules
+\backslash
+cmidrule{3-4}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Si vous n'êtes toujours pas satisfait avec l'espacement des lignes de séparation
+, vous pouvez utiliser la commande suivante pour produire des lignes qui
+ font toute la largeur du tableau :
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+specialrule{largeur}{espace au dessus}{espace en dessous}
+\end_layout
+
+\begin_layout Standard
+Pour plus d'informations sur ces spécialités, nous vous renvoyons au manuel
+ du paquetage LaTeX
+\series bold
+booktabs
+\series default
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "booktabs"
+
+\end_inset
+
+.
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetages LaTeX ! booktabs
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-booktabs-special"
+
+\end_inset
+
+Tableau formel spécial
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="8" columns="4">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Système
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule(r){2-2}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule(l){3-4}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+morecmidrules
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule{2-4}
+\end_layout
+
+\end_inset
+
+Epaisseur du capteur en µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+300
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+300
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+700
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Angle biseau en °
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3.55
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2.71
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7.99
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Résolution spatiale en µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4.26
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.17
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.56
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+MTF à
+\begin_inset Formula $f_{\mathrm{max}}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.53
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.37
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.39
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+morecmidrules
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule{3-4}
+\end_layout
+
+\end_inset
+
+résolution spatiale LSF
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+en µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+129.7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+52.75
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+50.78
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+en % de la taille des pixels
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+76.3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+95.9
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+92.3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Alignement vertical des tableaux
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Tableau ! Alignement
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Pour pouvoir être aligné verticalement par rapport au texte, un tableau
+ doit être à l'intérieur d'une boîte.
+ La boîte peut alors être alignée comme c'est décrit dans la
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Boîte-Dialogue"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Dans l'exemple qui suit les tableaux sont à l'intérieur d'une boîte de type
+ minipage
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Les minipages son décrites dans la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+ dont la largeur est de 15
+\begin_inset space \thinspace{}
+\end_inset
+
+col% :
+\end_layout
+
+\begin_layout Itemize
+test
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{0.85
+\backslash
+baselineskip}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+test
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+test
+\begin_inset Box Frameless
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ test
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{-0.32
+\backslash
+baselineskip}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Frameless
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Comme vous pouvez le voir, le contenu des premiers tableaux de la première
+ et de la dernière ligne, n'est pas correctement aligné avec le texte de
+ la ligne dans laquelle le tableau est inséré.
+ Pour obtenir cet alignement, vous devez mettre la boîte minipage dans une
+ boîte élévatrice (raisebox)
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Les boîtes élévatrices (raiseboxes) sont décrites dans la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Alignement-Vertical"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+.
+ Dans l'exemple précédent, le deuxième tableau de la première ligne est
+ aligné en utilisant la commande en code TeX suivante
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{0.85
+\backslash
+baselineskip}{
+\end_layout
+
+\begin_layout Standard
+placée juste avant la boîte minipage.
+ Après la boîte on insère l'accolade fermante en code TeX.
+ Pour le deuxième tableau de la dernière ligne, la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{-0.32
+\backslash
+baselineskip}{
+\end_layout
+
+\begin_layout Standard
+est utilisée.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ L'alignement entre le contenu de la ligne du tableau et le texte de la
+ ligne qui l'entoure ne peut pas être parfait.
+ Le facteur utilisé dans la commande
+\series bold
+
+\backslash
+raisebox
+\series default
+ pour obtenir cet alignement dépend de la police de caractères du document,
+ de la taille de la police et de l'épaisseur des lignes du tableau.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Tableaux colorés
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Tableaux-Colorés"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Tableau ! Coloré
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Cellules colorées
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Couleur des tableaux ! Pour les cellules
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Couleur ! Pour les cellules de tableau
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-coloré-sans-colortbl"
+
+\end_inset
+
+Tableau coloré sans utiliser le paquetage
+\series bold
+colortbl
+\series default
+
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+Tableau sans colortbl
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color green
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color green
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+f
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color green
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+h
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Si vous voulez seulement avoir du texte en couleur, sélectionnez les cellules
+ et choisissez une couleur dans le menu
+\family sans
+Éditer\SpecialChar \menuseparator
+Style
+\begin_inset space ~
+\end_inset
+
+de
+\begin_inset space ~
+\end_inset
+
+Texte
+\family default
+.
+ C'est ce qui a été utilisé pour créer le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-coloré-sans-colortbl"
+
+\end_inset
+
+.
+ Dans tous les autres cas vous aurez à utiliser le paquetage LaTeX
+\series bold
+colortbl
+\series default
+.
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetages LaTeX ! colortbl
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifcolortbl
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+La section qui suit ne sera affichée que si vous avez installé le paquetage
+ LaTeX
+\series bold
+colortbl
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Pour créer des tableaux colorés, vous devez charger le paquetage
+\series bold
+ colortbl
+\series default
+ dans le préambule avec la ligne
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{colortbl}
+\end_layout
+
+\begin_layout Standard
+On choisit la couleur d'une colonne avec la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+columncolor{nom de couleur}
+\end_layout
+
+\begin_layout Standard
+à l'intérieur d'une commande
+\series bold
+>{ }
+\series default
+.
+ Vous trouverez plus d'information sur la commande
+\series bold
+>{}
+\series default
+ dans la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Calculs-multicolonnes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Les noms de couleurs suivants sont prédéfinis :
+\end_layout
+
+\begin_layout Standard
+
+\family sans
+red
+\family default
+ (rouge),
+\family sans
+green
+\family default
+ (vert),
+\family sans
+yellow
+\family default
+ (jaune),
+\family sans
+blue
+\family default
+ (bleu),
+\family sans
+cyan
+\family default
+,
+\family sans
+magenta
+\family default
+,
+\family sans
+black
+\family default
+(noir) et
+\family sans
+white
+\family default
+(blanc)
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Si vous ajoutez les options
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+usenames,dvipsnames
+\end_layout
+
+\begin_layout Standard
+aux options de la classe de document dans les paramètres du document, vous
+ pouvez utiliser 61
+\begin_inset space ~
+\end_inset
+
+couleurs supplémentaires.
+ Ces couleurs sont listées dans l'appendice
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "chap:Liste-de-noms-de-couleur-dvips"
+
+\end_inset
+
+.
+ Une de ces couleurs,
+\family sans
+Maroon
+\family default
+, est utilisée comme exemple dans le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-coloré-avec-colortbl"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Vous pouvez aussi définir votre propre couleur avec la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+definecolor{nom de la couleur}{modèle de couleur}{valeurs de couleur}
+\end_layout
+
+\begin_layout Standard
+Le modèle de couleur peut être
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+cmyk
+\begin_inset space ~
+\end_inset
+
+: cyan, magenta, jaune (yellow), noir (black)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+rgb
+\begin_inset space ~
+\end_inset
+
+: rouge (red), vert (green), bleu (blue)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+gray
+\begin_inset space ~
+\end_inset
+
+: dégradé de gris (gray)
+\end_layout
+
+\begin_layout Standard
+et les valeurs de couleur sont des nombres compris entre 0 et 1, séparés
+ par des virgules qui décrivent la couleur dans le modèle de couleur choisi.
+\end_layout
+
+\begin_layout Standard
+Vous pouvez par exemple définir la couleur
+\begin_inset Quotes eld
+\end_inset
+
+
+\emph on
+vertfonce
+\begin_inset Quotes erd
+\end_inset
+
+ dans le préambule avec la ligne
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+definecolor{vertfonce}{cmyk}{0.5, 0, 1, 0.5}
+\end_layout
+
+\begin_layout Standard
+et la couleur "
+\emph on
+grisclair
+\emph default
+" avec
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+definecolor{grisclair}{gray}{0.8}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Les lignes sont colorées avec la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolor{nom de la couleur}
+\end_layout
+
+\begin_layout Standard
+et les cellules sont colorées avec la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cellcolor{nom de la couleur}
+\end_layout
+
+\begin_layout Standard
+Les deux commandes sont insérées au début d'une cellule comme du code TeX.
+\end_layout
+
+\begin_layout Standard
+Pour colorer de caractères dans un tableau, sélectionnez les cellules et
+ choisissez une couleur dans le menu
+\family sans
+Éditer\SpecialChar \menuseparator
+Style
+\begin_inset space ~
+\end_inset
+
+de
+\begin_inset space ~
+\end_inset
+
+Texte
+\family default
+.
+ Si une cellule contient du code TeX, faites bien attention à ne colorer
+ que le texte, sinon le code TeX coloré provoquera des erreurs LaTeX.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Tous les visualiseurs DVI ne sont pas capables d'afficher les couleurs
+ définies par l'utilisateur.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Pour créer le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-coloré-avec-colortbl"
+
+\end_inset
+
+ faites ce qui suit : La couleur de la première colonne doit être
+\emph on
+vertfonce
+\emph default
+.
+ On insère donc la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+>{
+\backslash
+columncolor{vertfonce}
+\backslash
+centering}c
+\end_layout
+
+\begin_layout Standard
+en code TeX pour cette colonne.
+ La première ligne doit être bleue clair, d'où la commande en code TeX
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolor{cyan}
+\end_layout
+
+\begin_layout Standard
+qui est insérée dans la première cellule de cette ligne.
+ Notez que cela annule la couleur de colonne pour la première cellule.
+ La dernière cellule de la dernière ligne est colorée en marron
+\series bold
+
+\series default
+en insérant en code TeX la commande
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cellcolor{Maroon}
+\end_layout
+
+\begin_layout Standard
+Les caractères peuvent maintenant être colorés en utilisant le menu
+\family sans
+Éditer\SpecialChar \menuseparator
+Style
+\begin_inset space ~
+\end_inset
+
+de
+\begin_inset space ~
+\end_inset
+
+Texte
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-coloré-avec-colortbl"
+
+\end_inset
+
+Tableau coloré en utilisant le paquetage
+\series bold
+colortbl
+\series default
+
+\begin_inset Argument
+status collapsed
+
+\begin_layout Plain Layout
+Tableau avec colortbl
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolor{cyan}
+\end_layout
+
+\end_inset
+
+
+\color magenta
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color yellow
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+f
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color yellow
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+h
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cellcolor{Maroon}
+\end_layout
+
+\end_inset
+
+
+\color green
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Ce qui suit sera affiché si le paquetage
+\series bold
+colortbl
+\series default
+ n'est pas installé :
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Vous devez installer le paquetage
+\series bold
+colortbl
+\series default
+ pour voir le contenu des cette section dans la sortie imprimée.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Les filets colorées
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Tableau Coloré ! Pour les filets
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Couleur ! Pour les filets des tableaux
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+on parle de filets plutôt que de lignes pour les tableaux
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Comme c'est décrit dans la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Epaisseur-filets"
+
+\end_inset
+
+, l'épaisseur de tous les filets d'un tableau peut être modifiée avec la
+ variable
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+.
+ Elle est mise à 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt pour tous les tableaux de cette section.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Pour colorer les filets verticaux, par exemple en vert, créez le format
+ de colonne suivant dans le préambule du document, en suivant la description
+ de la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Formats-personnalisés"
+
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcolumntype{W}{!{
+\backslash
+color{green}
+\backslash
+vline}}
+\end_layout
+
+\begin_layout Standard
+Pour le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-filets-verticaux-colorés"
+
+\end_inset
+
+ le paramètre LaTeX
+\series bold
+ WcW
+\series default
+ a été utilisé pour la dernière colonne et
+\series bold
+ Wc
+\series default
+ pour les autres colonnes.
+\end_layout
+
+\begin_layout Standard
+Si vous voulez plusieurs couleurs, définissez plusieurs formats de colonne.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-filets-verticaux-colorés"
+
+\end_inset
+
+Tableau avec filets verticaux colorés
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Pour colorer les filets horizontaux en rouge comme pour le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-filet-horizontaux-colorés"
+
+\end_inset
+
+, insérez les commandes suivantes en code TeX juste avant le tableau ou
+ le flottant de tableau :
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myHlineC
+\backslash
+hline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+let
+\backslash
+myHlineC
+\backslash
+hline
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\end_layout
+
+\begin_layout Plain Layout
+
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-filet-horizontaux-colorés"
+
+\end_inset
+
+Tableau avec filets horizontaux colorés
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
-
-.
- Dans tous les autres cas vous aurez à utiliser le paquetage LaTeX
-\series bold
-colortbl
-\series default
-.
-\begin_inset Index idx
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Paquetages LaTeX ! colortbl
+sd
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-ifcolortbl
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset Note Note
-status open
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-La section qui suit ne sera affichée que si vous avez installé le paquetage
- LaTeX
-\series bold
-colortbl
-\series default
-.
+sd
\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\end_layout
-\begin_layout Standard
-Pour créer des tableaux colorés, vous devez charger le paquetage
-\series bold
- colortbl
-\series default
- dans le préambule avec la ligne
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-usepackage{colortbl}
\end_layout
\begin_layout Standard
-On choisit la couleur d'une colonne avec la commande
+Pour revenir à la couleur noire implicite, insérez la commande suivante
+ en code TeX, juste après le tableau ou le flottant de tableau :
\end_layout
\begin_layout Standard
\series bold
\backslash
-columncolor{nom de couleur}
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
\end_layout
\begin_layout Standard
-à l'intérieur d'une commande
-\series bold
->{ }
-\series default
-.
- Vous trouverez plus d'information sur la commande
-\series bold
->{}
-\series default
- dans la section
+Le tableau
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Calculs-multicolonnes"
+reference "tab:Tableau-avec-filets-colorés"
\end_inset
-.
+ est un exemple avec des filets horizontaux et verticaux colorés.
\end_layout
\begin_layout Standard
-Les noms de couleurs suivants sont prédéfinis :
-\end_layout
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
-\begin_layout Standard
+\begin_layout Plain Layout
+\begin_inset Caption
-\family sans
-red
-\family default
- (rouge),
-\family sans
-green
-\family default
- (vert),
-\family sans
-yellow
-\family default
- (jaune),
-\family sans
-blue
-\family default
- (bleu),
-\family sans
-cyan
-\family default
-,
-\family sans
-magenta
-\family default
-,
-\family sans
-black
-\family default
-(noir) et
-\family sans
-white
-\family default
-(blanc)
-\end_layout
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-avec-filets-colorés"
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
-
+Tableau avec filets horizontaux et verticaux colorés
\end_layout
-\begin_layout Standard
-Si vous ajoutez les options
-\end_layout
+\end_inset
-\begin_layout Standard
-\series bold
-usenames,dvipsnames
\end_layout
-\begin_layout Standard
-aux options de la classe de document dans les paramètres du document, vous
- pouvez utiliser 61
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
-couleurs supplémentaires.
- Ces couleurs sont listées dans l'appendice
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "chap:Liste-de-noms-de-couleur-dvips"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
-.
- Une de ces couleurs,
-\family sans
-Maroon
-\family default
-, est utilisée comme exemple dans le tableau
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-coloré-avec-colortbl"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+sd
\end_layout
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-Vous pouvez aussi définir votre propre couleur avec la commande
-\end_layout
-
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-\backslash
-definecolor{nom de la couleur}{modèle de couleur}{valeurs de couleur}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-Le modèle de couleur peut être
\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-cmyk
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-: cyan, magenta, jaune (yellow), noir (black)
\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-rgb
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-: rouge (red), vert (green), bleu (blue)
+\begin_layout Plain Layout
+sd
\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-gray
-\begin_inset space ~
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
\end_inset
-: dégradé de gris (gray)
-\end_layout
-\begin_layout Standard
-et les valeurs de couleur sont des nombres compris entre 0 et 1, séparés
- par des virgules qui décrivent la couleur dans le modèle de couleur choisi.
\end_layout
-\begin_layout Standard
-Vous pouvez par exemple définir la couleur
-\begin_inset Quotes eld
\end_inset
-\emph on
-vertfonce
-\begin_inset Quotes erd
-\end_inset
-
- dans le préambule avec la ligne
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-definecolor{vertfonce}{cmyk}{0.5, 0, 1, 0.5}
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
\end_layout
-\begin_layout Standard
-et la couleur "
-\emph on
-grisclair
-\emph default
-" avec
+\end_inset
+
+
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-definecolor{grisclair}{gray}{0.8}
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
\end_layout
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
\end_layout
-\begin_layout Standard
-Les lignes sont colorées avec la commande
-\end_layout
+\begin_layout Section
-\begin_layout Standard
+\lang english
+Table Width Calculation
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Table-Width-Calculation"
+
+\end_inset
-\series bold
-\backslash
-rowcolor{nom de la couleur}
\end_layout
\begin_layout Standard
-et les cellules sont colorées avec la commande
+
+\lang english
+For wide tables it is sometimes difficult to assure that the table does
+ not protrude over the page margin.
+ Setting a fixed width for every column of the table is the solution, but
+ what amount of space is needed for each column?
\end_layout
\begin_layout Standard
+\lang english
+The table width
+\begin_inset Formula $W_{\mathrm{table}}$
+\end_inset
+
+ can be calculated: Every column has the width of the specified column width
+
+\begin_inset Formula $W_{\mathrm{column}}$
+\end_inset
+
+ (that the content of the column can consume) plus two times the separation
+ between the column content and the column border (LaTeX length
+\series bold
+
+\backslash
+tabcolsep
+\series default
+, default 6
+\begin_inset space \thinspace{}
+\end_inset
+
+pt) plus the width of a border line (LaTeX length
\series bold
\backslash
-cellcolor{nom de la couleur}
-\end_layout
+arrayrulewidth
+\series default
+, default 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt): So if all
+\begin_inset Formula $n$
+\end_inset
-\begin_layout Standard
-Les deux commandes sont insérées au début d'une cellule comme du code TeX.
-\end_layout
-\begin_layout Standard
-Pour colorer de caractères dans un tableau, sélectionnez les cellules et
- choisissez une couleur dans le menu
-\family sans
-Éditer\SpecialChar \menuseparator
-Style
\begin_inset space ~
\end_inset
-de
-\begin_inset space ~
+columns have the same width, the table width is
+\lang french
+
+\begin_inset Formula
+\begin{equation}
+W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
+\end{equation}
+
\end_inset
-Texte
-\family default
-.
- Si une cellule contient du code TeX, faites bien attention à ne colorer
- que le texte, sinon le code TeX coloré provoquera des erreurs LaTeX.
+
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
+\lang english
+The available width for a table is the space between the page margins or
+ the width of a text column (for a two-column document) (LaTeX length
\series bold
-Note:
+
+\backslash
+columnwidth
\series default
- Tous les visualiseurs DVI ne sont pas capables d'afficher les couleurs
- définies par l'utilisateur.
-\end_layout
+).
+ If all table columns should have the same width and
+\begin_inset Formula $W_{\mathrm{table}}$
+\end_inset
+ should be 1
+\begin_inset space \thinspace{}
\end_inset
+\backslash
+columnwidth,
+\begin_inset Formula $W_{\mathrm{column}}$
+\end_inset
+
+ can easily be calculated.
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\lang english
+To be able to perform calculations you need to load the LaTeX-package
+\series bold
+calc
+\series default
+\lang french
+
+\begin_inset Index idx
+status collapsed
+\begin_layout Plain Layout
+Paquetages LaTeX ! calc
\end_layout
-\begin_layout Standard
-Pour créer le tableau
+\end_inset
+
+
+\lang english
+ in the document preamble.
+ To set the width in the table dialog you have to use the field
+\family sans
+LaTeX argument
+\family default
+.
+ The command scheme for this field is the same that is explained in section
\begin_inset space ~
\end_inset
+\lang french
+
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Tableau-coloré-avec-colortbl"
+reference "sub:Calculs-multicolonnes"
\end_inset
- faites ce qui suit : La couleur de la première colonne doit être
-\emph on
-vertfonce
-\emph default
+
+\lang english
.
- On insère donc la commande
+ For a table with 5
+\begin_inset space \thinspace{}
+\end_inset
+
+columns with an uniform width and centered text, enter there for each column
+ the command
\end_layout
\begin_layout Standard
\series bold
>{
\backslash
-columncolor{vertfonce}
-\backslash
-centering}c
-\end_layout
-
-\begin_layout Standard
-en code TeX pour cette colonne.
- La première ligne doit être bleue clair, d'où la commande en code TeX
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
+centering}p{(1
\backslash
-rowcolor{cyan}
-\end_layout
-
-\begin_layout Standard
-qui est insérée dans la première cellule de cette ligne.
- Notez que cela annule la couleur de colonne pour la première cellule.
- La dernière cellule de la dernière ligne est colorée en marron
-\series bold
-
-\series default
-en insérant en code TeX la commande
+columnwidth-62.4pt)/5}
\end_layout
\begin_layout Standard
-\series bold
-
-\backslash
-cellcolor{Maroon}
-\end_layout
-
-\begin_layout Standard
-Les caractères peuvent maintenant être colorés en utilisant le menu
-\family sans
-Éditer\SpecialChar \menuseparator
-Style
-\begin_inset space ~
+\lang english
+For a table with 5
+\begin_inset space \thinspace{}
\end_inset
-de
+columns where 2 should have 0.75
\begin_inset space ~
\end_inset
-Texte
-\family default
-.
+times the width than the 3 others, the calculation is
\end_layout
\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-coloré-avec-colortbl"
+\begin_inset Formula
+\begin{align}
+\backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
+ & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
+ & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
+W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
+\end{align}
\end_inset
-Tableau coloré en utilisant le paquetage
-\series bold
-colortbl
-\series default
-
-\begin_inset Argument
-status collapsed
-\begin_layout Plain Layout
-Tableau avec colortbl
\end_layout
-\end_inset
-
+\begin_layout Standard
+\lang english
+In the table therefore the command
\end_layout
-\end_inset
-
+\begin_layout Standard
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}}
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
-\begin_layout Plain Layout
+\lang english
+is used for the wider columns and
+\end_layout
+\begin_layout Standard
+\series bold
+>{
\backslash
-rowcolor{cyan}
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}*
+\backslash
+real{0.75}}
\end_layout
-\end_inset
-
+\begin_layout Standard
-\color magenta
-a
+\lang english
+for the smaller ones:
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
+\begin_layout Standard
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color red
-b
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color red
-c
+2
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color yellow
-d
+3
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-e
+4
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-f
+5
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color yellow
-g
+111111 1111111 111111 111111111 11111 11111 1111
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color blue
-h
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+2222 22222 222222 222222222 2222222 22 22222
+\end_layout
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\backslash
-cellcolor{Maroon}
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
-\color green
-i
+\begin_layout Plain Layout
+333333 333333 333333 33333 3333333 333
\end_layout
\end_inset
\end_layout
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
+\begin_layout Section
+Personnalisation des tableaux
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-
-
-\backslash
-else
+Tableau ! Personnalisation
\end_layout
\end_inset
-\begin_inset Note Note
-status open
+\begin_inset Index idx
+status collapsed
\begin_layout Plain Layout
-Ce qui suit sera affiché si le paquetage
-\series bold
-colortbl
-\series default
- n'est pas installé :
+Personnalisation des tableaux
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-Vous devez installer le paquetage
-\series bold
-colortbl
-\series default
- pour voir le contenu des cette section dans la sortie imprimée.
-\end_layout
+\begin_layout Subsection
+Espacement des lignes
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Espacement-lignes"
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
-\begin_layout Plain Layout
+\begin_inset Index idx
+status collapsed
-\backslash
-fi
+\begin_layout Plain Layout
+Personnalisation des tableaux ! Espacement des lignes
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Les filets colorées
-\begin_inset Index idx
-status collapsed
+\begin_layout Standard
+Vous pouvez ajouter de l'espace vertical entre les lignes d'un tableau avec
+ l'onglet
+\family sans
+Bordures
+\family default
+ de la fenêtre de dialogue
+\family sans
+Paramètres
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-Tableau Coloré ! Pour les filets
+du
+\begin_inset space ~
+\end_inset
+
+tableau
+\family default
+.
+ Vous y trouverez trois possibilités :
\end_layout
+\begin_layout Description
+Haut
+\begin_inset space ~
\end_inset
+de
+\begin_inset space ~
+\end_inset
-\begin_inset Index idx
+ligne va ajouter de l'espace au-dessus de caractères de la ligne .
+ Si le tableau est un tableau formel
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-Couleur ! Pour les filets des tableaux
-\end_layout
-
+Les tableaux formels sont décrits dans la section
+\begin_inset space ~
\end_inset
-\begin_inset Note Note
-status collapsed
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Tableaux-Formels"
-\begin_layout Plain Layout
-on parle de filets plutôt que de lignes pour les tableaux
+\end_inset
+
+.
\end_layout
\end_inset
+ LyX va insérer implicitement un espace de 0.5
+\begin_inset space \thinspace{}
+\end_inset
-\end_layout
-
-\begin_layout Standard
-Comme c'est décrit dans la section
-\begin_inset space ~
+em.
+ Pour les tableaux normaux, l'espace inséré va malheureusement détruire
+ les filets verticaux comme dans le tableau suivant :
+\begin_inset VSpace medskip
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Epaisseur-filets"
+\begin_inset Newline newline
+\end_inset
+
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-, l'épaisseur de tous les filets d'un tableau peut être modifiée avec la
- variable
-\series bold
-\backslash
-arrayrulewidth
-\series default
-.
- Elle est mise à 1.5
-\begin_inset space \thinspace{}
+\begin_inset space \hfill{}
\end_inset
-pt pour tous les tableaux de cette section.
-\begin_inset ERT
-status collapsed
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="1">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+A
+\end_layout
+\end_inset
+</cell>
+</row>
+<row topspace="3mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{1.5pt}
+\begin_layout Plain Layout
+espace de 3
+\begin_inset space \thinspace{}
+\end_inset
+
+mm en haut de la ligne
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+C
\end_layout
-\begin_layout Standard
-Pour colorer les filets verticaux, par exemple en vert, créez le format
- de colonne suivant dans le préambule du document, en suivant la description
- de la section
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Formats-personnalisés"
+\begin_inset space \hfill{}
\end_inset
-:
-\end_layout
-\begin_layout Standard
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
-\series bold
-\backslash
-newcolumntype{W}{!{
-\backslash
-color{green}
-\backslash
-vline}}
+\begin_inset VSpace medskip
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+L'insertion d'espace en haut de ligne n'a donc d'intérêt que si vous n'avez
+ pas de filets verticaux.
\end_layout
-\begin_layout Standard
-Pour le tableau
+\begin_layout Description
+Bas
\begin_inset space ~
\end_inset
+de
+\begin_inset space ~
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-filets-verticaux-colorés"
+ligne va ajouter de l'espace sous les caractères de la ligne.
+ Si le tableau est un tableau formel LyX va insérer implicitement un espace
+ de 0.5
+\begin_inset space \thinspace{}
+\end_inset
+em, pour les tableaux normaux, l'espace implicite est de 2
+\begin_inset space \thinspace{}
\end_inset
- le paramètre LaTeX
-\series bold
- WcW
-\series default
- a été utilisé pour la dernière colonne et
-\series bold
- Wc
-\series default
- pour les autres colonnes.
+pt.
\end_layout
-\begin_layout Standard
-Si vous voulez plusieurs couleurs, définissez plusieurs formats de colonne.
-\end_layout
+\begin_layout Description
+Entre
+\begin_inset space ~
+\end_inset
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+les
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Caption
+lignes ajoute l'espace entre la ligne courante et la ligne suivante.
+ Si le tableau est un tableau formel LyX va insérer implicitement un espace
+ de 0.5
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-filets-verticaux-colorés"
+em.
+ Pour les tableaux normaux, l'espace inséré va malheureusement détruire
+ les filets verticaux comme dans le tableau suivant :
+\begin_inset VSpace medskip
+\end_inset
+
+\begin_inset Newline newline
\end_inset
-Tableau avec filets verticaux colorés
-\end_layout
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-\end_layout
+\begin_inset space \hfill{}
+\end_inset
+
-\begin_layout Plain Layout
-\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="3" columns="1">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+A
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row interlinespace="3mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $\downarrow$
+\end_inset
-\end_layout
+ espace de 3
+\begin_inset space \thinspace{}
+\end_inset
+mm entre les lignes
+\begin_inset Formula $\downarrow$
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\end_layout
-
+\begin_inset Formula $\uparrow$
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
-\end_layout
+ espace de 3
+\begin_inset space \thinspace{}
+\end_inset
+mm entre les lignes
+\begin_inset Formula $\uparrow$
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
+</lyxtabular>
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-
-\end_layout
+\begin_inset space \hfill{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
-\end_layout
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+\begin_inset VSpace medskip
+\end_inset
-\end_layout
+\begin_inset Newline newline
\end_inset
-
+L'insertion d'espace entre les lignes n'a donc d'intérêt que si vous n'avez
+ pas de filets verticaux.
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
-Pour colorer les filets horizontaux en rouge comme pour le tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-filet-horizontaux-colorés"
-
-\end_inset
-
-, insérez les commandes suivantes en code TeX juste avant le tableau ou
- le flottant de tableau :
+Quand vous voulez ajouter de l'espace à toutes les cases de tous les tableaux
+ de votre document, vous pouvez le faire en ajoutant les lignes suivantes
+ dans le préambule :
\end_layout
\begin_layout Standard
\series bold
\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-renewcommand{
-\backslash
-hline}
+@ifundefined{extrarowheight}
\begin_inset Newline newline
\end_inset
{
\backslash
-arrayrulecolor{red}
+usepackage{array}}{}
+\begin_inset Newline newline
+\end_inset
+
+
\backslash
-myHlineC
+setlength{
\backslash
-arrayrulecolor{black}}
+extrarowheight}{height}
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+Mais ceci présente le défaut que le texte des cellules de tableau n'est
+ plus exactement centré verticalement.
+ (le paquetage
+\series bold
+array
+\series default
+sera chargé automatiquement par LyX quand vous utilisez des formats de tableaux
+ auto-définis.
+ C'est pour éviter qu'il soit chargé deux fois que l'on utilise la commande
+
+\series bold
\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
+@ifundefined
+\series default
+ dans la commande précédente.)
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+Si vous utilisez des polices de taille plus grande que la taille normale,
+ les bordures des tableaux sont souvent trop proches du texte.
+ On peut corriger ce problème en insérant la commande
+\series bold
+
+\begin_inset space \space{}
+\end_inset
\backslash
-renewcommand{
-\backslash
-hline}
-\end_layout
+strut
+\series default
+ en code TeX au debut d'une ligne du tableau.
+ Le tableau
+\lang english
-\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
-\end_layout
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Alignement-vertical"
\end_inset
+\lang french
+ montre l'effet de cette commande.
+\end_layout
+
+\begin_layout Standard
+\noindent
\begin_inset Float table
placement h
wide false
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Tableau-filet-horizontaux-colorés"
+name "tab:Alignement-vertical"
\end_inset
-Tableau avec filets horizontaux colorés
+Alignement vertical d'un texte avec une police de grande taille.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset space \hfill{}
+\end_inset
-\begin_layout Plain Layout
-sd
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
\begin_layout Plain Layout
+\begin_inset Caption
+\begin_layout Plain Layout
+Tableau normal.
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
-\end_inset
-</cell>
-</row>
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="1">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Normal, g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\size large
+Large
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size larger
+Larger
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size largest
+Largest
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size huge
+Huge
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\size huge
+Huger
\end_layout
\end_inset
\end_inset
-\end_layout
-
-\begin_layout Standard
-Pour revenir à la couleur noire implicite, insérez la commande suivante
- en code TeX, juste après le tableau ou le flottant de tableau :
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
-\end_layout
-
-\begin_layout Standard
-Le tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-avec-filets-colorés"
-
+\begin_inset space \hfill{}
\end_inset
- est un exemple avec des filets horizontaux et verticaux colorés.
-\end_layout
-\begin_layout Standard
\begin_inset Float table
-placement h
wide false
sideways false
-status open
+status collapsed
\begin_layout Plain Layout
\begin_inset Caption
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-avec-filets-colorés"
-
-\end_inset
+Tableau utilisant la commande
+\series bold
-Tableau avec filets horizontaux et verticaux colorés
+\backslash
+strut
+\series default
+.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
+\noindent
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="6" columns="1">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<column alignment="left" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+Normal, g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size large
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
+Large
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size larger
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+Larger
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size largest
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+Largest
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size huge
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+Huge
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\size giant
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+
+\size huge
+Huger
\end_layout
\end_inset
\end_inset
+\begin_inset space \hfill{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-\begin_inset ERT
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Alignements de cellules spéciaux
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Alignements-de-cellules"
+
+\end_inset
+
+
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
+Personnalisation des tableaux ! Alignement de cellules spéciaux
+\end_layout
+
+\end_inset
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
\end_layout
+\begin_layout Standard
+On peut parfois améliorer l'aspect d'un tableau en alignant le contenu des
+ cellules sur un caractère donné, par exemple le séparateur décimal comme
+ dans le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-centré-sur-séparateur-1"
+
\end_inset
+.
+ Cet alignement est obtenu en mettant le curseur dans la colonne et ensuite,
+ soit en appuyant sur le bouton
+\begin_inset Graphics
+ filename ../../images/tabular-feature_align-decimal.png
+ scale 85
+ scaleBeforeRotation
+
+\end_inset
+de la barre d'outils ou en modifiant le paramètre
+\family sans
+Alignement horizontal
+\family default
+ à
+\family sans
+Au séparateur décimal
+\family default
+.
+ Le caractère sur lequel se fait l'alignement peut être choisi en le précisant
+ dans les paramètres du tableau.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
\begin_layout Plain Layout
+\begin_inset Caption
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-centré-sur-séparateur-1"
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
+\end_inset
+
+Les cellules d'une colonnes sont centrées sur le séparateur décimal.
\end_layout
\end_inset
\end_layout
-\begin_layout Section
-Personnalisation des tableaux
-\begin_inset Index idx
-status collapsed
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="," valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Tableau ! Personnalisation
+en-tête
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+12,6
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Personnalisation des tableaux
+0,68
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+-123,0
\end_layout
-\begin_layout Subsection
-Espacement des lignes
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Espacement-lignes"
-
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Personnalisation des tableaux ! Espacement des lignes
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Vous pouvez ajouter de l'espace vertical entre les lignes d'un tableau avec
- l'onglet
-\family sans
-Bordures
-\family default
- de la fenêtre de dialogue
-\family sans
-Paramètres
-\begin_inset space ~
-\end_inset
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-centré-sur-séparateur-2"
-du
-\begin_inset space ~
\end_inset
-tableau
-\family default
-.
- Vous y trouverez trois possibilités :
+Les cellules d'une colonnes sont centrées sur les opérateurs.
\end_layout
-\begin_layout Description
-Haut
-\begin_inset space ~
\end_inset
-de
-\begin_inset space ~
-\end_inset
-ligne va ajouter de l'espace au-dessus de caractères de la ligne .
- Si le tableau est un tableau formel
-\begin_inset Foot
-status collapsed
+\end_layout
\begin_layout Plain Layout
-Les tableaux formels sont décrits dans la section
-\begin_inset space ~
-\end_inset
-
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="2">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
+<row>
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Tableaux-Formels"
+\begin_layout Plain Layout
+en-tête
+\end_layout
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-.
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
- LyX va insérer implicitement un espace de 0.5
-\begin_inset space \thinspace{}
+\begin_layout Plain Layout
+\begin_inset Formula $12\,+$
\end_inset
-em.
- Pour les tableaux normaux, l'espace inséré va malheureusement détruire
- les filets verticaux comme dans le tableau suivant :
-\begin_inset VSpace medskip
-\end_inset
+\end_layout
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
-\begin_inset space \hspace*{}
-\length 0pt
+\begin_layout Plain Layout
+\begin_inset Formula $\,6$
\end_inset
-\begin_inset space \hfill{}
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $0\,-$
\end_inset
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="1">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-A
+\begin_inset Formula $\,68$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
</row>
-<row topspace="3mm">
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-espace de 3
-\begin_inset space \thinspace{}
+\begin_inset Formula $-123\,/$
\end_inset
-mm en haut de la ligne
+
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-C
+\begin_inset Formula $\,0$
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
-\begin_inset space \hfill{}
+\end_layout
+
\end_inset
-\begin_inset space \hspace*{}
-\length 0pt
+\end_layout
+
+\begin_layout Standard
+L'alignement sur un caractère ne fonctionne pas avec des formules parce
+ que le champ utilisé pour préciser le caractère voulu n'accepte pas les
+ formules.
+ Dans ce cas on doit utiliser la méthode du tableau
+\begin_inset space ~
\end_inset
-\begin_inset VSpace medskip
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-centré-sur-séparateur-2"
+
\end_inset
+.
+ Ce tableau a été créé comme un tableau 4×2.
+ L'en-tête est une cellule multi-colonne centrée.
+ La première colonne est alignée à droite et contient la première partie
+ et inclue l'opérateur.
+ La seconde colonne contient le reste de la cellule aligné à gauche.
+ Un petit espace a été ajouté au début de toutes les cellules de la deuxième
+ colonne pour obtenir l'espace que l'on a d'habitude autour d'un opérateur.
+ Pour éviter l'espace qui est normalement placé entre deux colonnes d'un
+ tableau, le paramètre LaTeX suivant a été utilisé pour la deuxième colonne
+ :
+\end_layout
-\begin_inset Newline newline
-\end_inset
+\begin_layout Standard
-L'insertion d'espace en haut de ligne n'a donc d'intérêt que si vous n'avez
- pas de filets verticaux.
+\series bold
+@{}l
\end_layout
-\begin_layout Description
-Bas
+\begin_layout Standard
+Le tableau
\begin_inset space ~
\end_inset
-de
-\begin_inset space ~
-\end_inset
-ligne va ajouter de l'espace sous les caractères de la ligne.
- Si le tableau est un tableau formel LyX va insérer implicitement un espace
- de 0.5
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Plusieurs-exemples-alignements"
-em, pour les tableaux normaux, l'espace implicite est de 2
-\begin_inset space \thinspace{}
\end_inset
-pt.
-\end_layout
-
-\begin_layout Description
-Entre
+ montre quelques exemples d'alignements.
+ Pour l'alignement sur l'opérateur de relation, un petit espace a été ajouté
+ comme pour la deuxième colonne du tableau
\begin_inset space ~
\end_inset
-les
-\begin_inset space ~
-\end_inset
-lignes ajoute l'espace entre la ligne courante et la ligne suivante.
- Si le tableau est un tableau formel LyX va insérer implicitement un espace
- de 0.5
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-centré-sur-séparateur-2"
-em.
- Pour les tableaux normaux, l'espace inséré va malheureusement détruire
- les filets verticaux comme dans le tableau suivant :
-\begin_inset VSpace medskip
\end_inset
+.
+\end_layout
-\begin_inset Newline newline
-\end_inset
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Plusieurs-exemples-alignements"
-\begin_inset space \hspace*{}
-\length 0pt
\end_inset
+Plusieurs exemples d'alignement de cellules.
+\end_layout
-\begin_inset space \hfill{}
\end_inset
+\end_layout
+
+\begin_layout Plain Layout
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="1">
+<lyxtabular version="3" rows="4" columns="6">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<column alignment="right" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0" special="@{}l">
+<column alignment="right" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0" special="@{}l">
+<column alignment="right" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0" special="@{}l">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-A
+unités
\end_layout
\end_inset
</cell>
-</row>
-<row interlinespace="3mm">
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\downarrow$
-\end_inset
- espace de 3
-\begin_inset space \thinspace{}
-\end_inset
+\end_layout
-mm entre les lignes
-\begin_inset Formula $\downarrow$
\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+exposants
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\uparrow$
-\end_inset
- espace de 3
-\begin_inset space \thinspace{}
+\end_layout
+
\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+relations
+\end_layout
-mm entre les lignes
-\begin_inset Formula $\uparrow$
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+12×
+\end_layout
-\begin_inset space \hfill{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset space \hspace*{}
-\length 0pt
+\begin_layout Plain Layout
+24
+\begin_inset space \thinspace{}
\end_inset
+bouteilles
+\end_layout
-\begin_inset VSpace medskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
-\begin_inset Newline newline
+\begin_layout Plain Layout
+\begin_inset Formula $10\cdot$
\end_inset
-L'insertion d'espace entre les lignes n'a donc d'intérêt que si vous n'avez
- pas de filets verticaux.
+
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-Quand vous voulez ajouter de l'espace à toutes les cases de tous les tableaux
- de votre document, vous pouvez le faire en ajoutant les lignes suivantes
- dans le préambule :
-\end_layout
+\begin_layout Plain Layout
+\begin_inset Formula $10^{\mbox{-}17}$
+\end_inset
-\begin_layout Standard
-\series bold
+\end_layout
-\backslash
-@ifundefined{extrarowheight}
-\begin_inset Newline newline
\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
+\begin_inset Formula $\Gamma(t)\propto$
\end_inset
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-{
-\backslash
-usepackage{array}}{}
-\begin_inset Newline newline
+\begin_layout Plain Layout
+\begin_inset Formula $\:\Upsilon(t)$
\end_inset
-\backslash
-setlength{
-\backslash
-extrarowheight}{height}
\end_layout
-\begin_layout Standard
-Mais ceci présente le défaut que le texte des cellules de tableau n'est
- plus exactement centré verticalement.
- (le paquetage
-\series bold
-array
-\series default
-sera chargé automatiquement par LyX quand vous utilisez des formats de tableaux
- auto-définis.
- C'est pour éviter qu'il soit chargé deux fois que l'on utilise la commande
-
-\series bold
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-@ifundefined
-\series default
- dans la commande précédente.)
+\begin_layout Plain Layout
+1024×
\end_layout
-\begin_layout Standard
-Si vous utilisez des polices de taille plus grande que la taille normale,
- les bordures des tableaux sont souvent trop proches du texte.
- On peut corriger ce problème en insérant la commande
-\series bold
-
-\begin_inset space \space{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-
-\backslash
-strut
-\series default
- en code TeX au debut d'une ligne du tableau.
- Le tableau
-\lang english
-
-\begin_inset space ~
+\begin_layout Plain Layout
+768
+\begin_inset space \thinspace{}
\end_inset
+Pixels
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Alignement-vertical"
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset Formula $5.78\cdot$
\end_inset
-\lang french
- montre l'effet de cette commande.
\end_layout
-\begin_layout Standard
-\noindent
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Alignement-vertical"
-
+\begin_inset Formula $10^{7}$
\end_inset
-Alignement vertical d'un texte avec une police de grande taille.
+
\end_layout
\end_inset
-
-
-\end_layout
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset space \hfill{}
+\begin_inset Formula $A\ne$
\end_inset
-\begin_inset Float table
-wide false
-sideways false
-status collapsed
+\end_layout
-\begin_layout Plain Layout
-\begin_inset Caption
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Tableau normal.
-\end_layout
-
+\begin_inset Formula $\: B_{\mathrm{red}}$
\end_inset
\end_layout
-\begin_layout Plain Layout
-\noindent
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="1">
-<features tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
+\end_inset
+</cell>
+</row>
<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Normal, g
+32×
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+6
+\begin_inset space \thinspace{}
+\end_inset
-\size large
-Large
+cm
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+-
+\begin_inset Formula $33.5\cdot$
+\end_inset
+
-\size larger
-Larger
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $10^{4}$
+\end_inset
+
-\size largest
-Largest
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $\sin(\alpha)\ge$
+\end_inset
+
-\size huge
-Huge
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset Formula $\:\sin(\beta)$
+\end_inset
+
-\size huge
-Huger
\end_layout
\end_inset
\end_inset
-\begin_inset space \hfill{}
+\end_layout
+
+\begin_layout Subsection
+Formats de cellule et de colonne personnalisés
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Formats-personnalisés"
+
\end_inset
-\begin_inset Float table
-wide false
-sideways false
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+Personnalisation des tableaux ! Format de cellule/colonne
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Calculer la largeur nécessaire pour colonnes normales comme dans la section
+\lang english
+
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Table-Width-Calculation"
+
+\end_inset
+
+
+\lang french
+ et pour des colonnes couvertes par un cellule multi-colonne comme dans
+ la section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Calculs-multicolonnes"
+
+\end_inset
+
+ peut devenir très pénible si vous avez plusieurs tableaux.
+ Pour vous rendre la vie plus facile, vous pouvez définir dans le préambule
+ un format de cellule/colonne, qui puisse être utilisé dans tous les tableaux
+ du document.
+ Le format est défini avec la commande
+\end_layout
+
+\begin_layout Standard
-\begin_layout Plain Layout
-Tableau utilisant la commande
\series bold
\backslash
-strut
-\series default
-.
+newcolumntype{nom du format}[nombre d'arguments]{commandes}
+\end_layout
+
+\begin_layout Standard
+Le nom du format peut n'avoir qu'une lettre.
+ Les lettres
+\emph on
+b
+\emph default
+,
+\emph on
+c
+\emph default
+,
+\emph on
+l
+\emph default
+,
+\emph on
+m
+\emph default
+,
+\emph on
+p
+\emph default
+ et
+\emph on
+r
+\emph default
+ sont prédéfinies et donc ne peuvent être utilisées.
+ Mais toutes les lettres de l'alphabet sont autorisées en majuscules.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
\end_layout
-\begin_layout Plain Layout
-\noindent
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="1">
-<features tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Normal, g
+\begin_layout Standard
+Pour de cellules multi-colonnes centrées verticalement et horizontalement
+ avec une largeur donnée, vous pouvez définir le format de cellule suivant
+ :
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\size large
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\series bold
\backslash
-strut
+newcolumntype{M}[1]{>{
+\backslash
+centering
+\backslash
+hspace{0pt}}m{#1}}
\end_layout
-\end_inset
-
-Large
-\end_layout
+\begin_layout Standard
+Où le
+\series bold
+\backslash
+hspace{0pt}
+\series default
+ évite le problème de césure du premier mot, comme c'est décrit en section
+\begin_inset space ~
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\size larger
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Lignes-multiple-dans-cellule"
+\end_inset
-\backslash
-strut
+.
+ Ensuite, vous pouvez entrer
\end_layout
-\end_inset
+\begin_layout Standard
-Larger
+\series bold
+M{width}
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
+\begin_layout Standard
+comme paramètre LaTeX dans la fenêtre de dialogue de tableau pour créer
+ une multi-colonne.
+\end_layout
-\size largest
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
-\begin_layout Plain Layout
+\end_layout
-\backslash
-strut
+\begin_layout Standard
+Pour les cellules qui sont couvertes par la cellule multi-colonne, vous
+ pouvez définir le format
\end_layout
-\end_inset
+\begin_layout Standard
-Largest
-\end_layout
+\series bold
+\backslash
+newcolumntype{S}[2]{>{
+\backslash
+centering
+\backslash
+hspace{0pt}}
+\begin_inset Newline newline
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\size huge
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
\backslash
-strut
+newcolumntype{S}[2]
\end_layout
\end_inset
-Huge
+m{(#1+(2
+\backslash
+tabcolsep+
+\backslash
+arrayrulewidth)*(1-#2))/#2}}
\end_layout
+\begin_layout Standard
+Ce format utilise l'équation
+\begin_inset space ~
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\size giant
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset ref
+LatexCommand eqref
+reference "eq:Wgn"
-\begin_layout Plain Layout
+\end_inset
+ pour calculer la largeur que doit avoir chacune des cellules couverte par
+ la cellule multi-colonne pour qu'elles aient toutes la même largeur.
+\end_layout
-\backslash
-strut
+\begin_layout Standard
+Ensuite, vous pouvez entrer
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+S{largeur de la cellule multi-colonne}{nombre de colonnes couvertes}
+\end_layout
-\size huge
-Huger
+\begin_layout Standard
+comme paramètre LaTeX de la colonne.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+\end_layout
+\begin_layout Standard
+Pour des colonnes colorées, vous pouvez définir
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
-\begin_inset space \hfill{}
+\backslash
+newcolumntype{K}[1]{>{
+\backslash
+columncolor{#1}
+\backslash
+hspace{0pt}}c}
+\end_layout
+
+\begin_layout Standard
+Le
+\begin_inset Quotes eld
\end_inset
+c
+\begin_inset Quotes erd
+\end_inset
+ à la fin crée une colonne de largeur variable dont le texte est centré
+ horizontalement.
+ Vous pouvez maintenant entrer
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+K{nom de couleur}
+\end_layout
+\begin_layout Standard
+comme paramètre LaTeX.
\end_layout
\begin_layout Standard
-\begin_inset Newpage newpage
+\begin_inset VSpace bigskip
\end_inset
\end_layout
-\begin_layout Subsection
-Alignements de cellules spéciaux
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Alignements-de-cellules"
-
+\begin_layout Standard
+Pour créer le tableau
+\begin_inset space ~
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Personnalisation des tableaux ! Alignement de cellules spéciaux
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-formats-personnalisés"
\end_inset
+ utilisez les paramètres LaTeX
+\end_layout
+
+\begin_layout Standard
+\series bold
+M{2.5cm}
\end_layout
\begin_layout Standard
-On peut parfois améliorer l'aspect d'un tableau en alignant le contenu des
- cellules sur un caractère donné, par exemple le séparateur décimal comme
- dans le tableau
-\begin_inset space ~
-\end_inset
+pour la première colonne et la multi-colonne,
+\end_layout
+\begin_layout Standard
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-centré-sur-séparateur-1"
+\series bold
+K{red}
+\end_layout
-\end_inset
+\begin_layout Standard
+pour la dernière colonne, et
+\end_layout
-.
- Cet alignement est obtenu en mettant le curseur dans la colonne et ensuite,
- soit en appuyant sur le bouton
-\begin_inset Graphics
- filename ../../images/tabular-feature_align-decimal.png
- scale 85
- scaleBeforeRotation
+\begin_layout Standard
-\end_inset
+\series bold
+S{2.5cm}{2}
+\end_layout
-de la barre d'outils ou en modifiant le paramètre
-\family sans
-Alignement horizontal
-\family default
- à
-\family sans
-Au séparateur décimal
-\family default
-.
- Le caractère sur lequel se fait l'alignement peut être choisi en le précisant
- dans les paramètres du tableau.
+\begin_layout Standard
+pour les cellules de la deuxième colonne.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Tableau-centré-sur-séparateur-1"
+name "tab:Tableau-formats-personnalisés"
\end_inset
-Les cellules d'une colonnes sont centrées sur le séparateur décimal.
+Tableau utilisant des formats personnalisés
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="1">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="decimal" decimal_point="," valignment="top" width="0pt">
+<lyxtabular version="3" rows="3" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
+<column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
+<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle" width="0" special="K{red}">
<row>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-en-tête
+motTrèsLongDansUneCellule
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
\begin_inset Text
\begin_layout Plain Layout
-12,6
+multi-colonne avec multi-ligne
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0,68
+
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
--123,0
+c
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
-
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+d
\end_layout
\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-centré-sur-séparateur-2"
-
-\end_inset
-
-Les cellules d'une colonnes sont centrées sur les opérateurs.
+e
\end_layout
\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="2">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0pt">
-<column alignment="left" valignment="top" width="0pt" special="@{}l">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-en-tête
+f
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+g
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $12\,+$
-\end_inset
-
-
+h
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\,6$
-\end_inset
-
-
+i
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $0\,-$
-\end_inset
-
-
+j
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\,68$
-\end_inset
-
-
+k
\end_layout
\end_inset
</cell>
</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+</lyxtabular>
-\begin_layout Plain Layout
-\begin_inset Formula $-123\,/$
\end_inset
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Formula $\,0$
-\end_inset
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
+\begin_layout Subsection
+Épaisseur des filets
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Epaisseur-filets"
\end_inset
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Personnalisation des tableaux ! Épaisseur filets
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-L'alignement sur un caractère ne fonctionne pas avec des formules parce
- que le champ utilisé pour préciser le caractère voulu n'accepte pas les
- formules.
- Dans ce cas on doit utiliser la méthode du tableau
+L'épaisseur de tous les filets d'un tableau peut être modifiée avec la variable
+
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+.
+ Pour mettre, par exemple, une épaisseur de filet de 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt, comme pour le tableau
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Tableau-centré-sur-séparateur-2"
+reference "tab:Tableau-filets-1.5pt"
\end_inset
-.
- Ce tableau a été créé comme un tableau 4×2.
- L'en-tête est une cellule multi-colonne centrée.
- La première colonne est alignée à droite et contient la première partie
- et inclue l'opérateur.
- La seconde colonne contient le reste de la cellule aligné à gauche.
- Un petit espace a été ajouté au début de toutes les cellules de la deuxième
- colonne pour obtenir l'espace que l'on a d'habitude autour d'un opérateur.
- Pour éviter l'espace qui est normalement placé entre deux colonnes d'un
- tableau, le paramètre LaTeX suivant a été utilisé pour la deuxième colonne
- :
+, insérez la commande
\end_layout
\begin_layout Standard
\series bold
-@{}l
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
\end_layout
\begin_layout Standard
-Le tableau
-\begin_inset space ~
-\end_inset
+en code TeX avant le tableau ou le flottant de tableau.
+ La nouvelle épaisseur de filet reste valable pour tous les tableaux qui
+ suivent.
+ pour revenir aux valeurs implicites, mettez
+\series bold
+\backslash
+arrayrulewidth
+\series default
+ à 0.4
+\begin_inset space \thinspace{}
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Plusieurs-exemples-alignements"
+pt en utilisant du code LaTeX après le tableau ou le flottant de tableau.
+\end_layout
-\end_inset
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
- montre quelques exemples d'alignements.
- Pour l'alignement sur l'opérateur de relation, un petit espace a été ajouté
- comme pour la deuxième colonne du tableau
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-centré-sur-séparateur-2"
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
+\end_layout
\end_inset
-.
-\end_layout
-\begin_layout Standard
\begin_inset Float table
wide false
sideways false
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Plusieurs-exemples-alignements"
+name "tab:Tableau-filets-1.5pt"
\end_inset
-Plusieurs exemples d'alignement de cellules.
+Tableau avec des filets de 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="6">
+<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-unités
+sd
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-exposants
+
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-relations
+sd
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-12×
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-24
-\begin_inset space \thinspace{}
-\end_inset
-bouteilles
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $10\cdot$
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
\end_inset
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset Formula $10^{\mbox{-}17}$
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
+
\end_inset
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\begin_inset Formula $\Gamma(t)\propto$
+Pour que seuls les filets horizontaux aient une épaisseur de 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt, comme dans le tableau
+\begin_inset space ~
\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-filets-horizontaux-1.5pt"
+
+\end_inset
+
+, insérez les commandes suivantes en code TeX avant le tableau ou le flottant
+ de tableau :
\end_layout
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myHline
+\backslash
+hline
+\begin_inset Newline newline
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\begin_inset Formula $\:\Upsilon(t)$
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\begin_inset Newline newline
\end_inset
+ {
+\backslash
+noalign{
+\backslash
+global
+\backslash
+arrayrulewidth 1.5pt}
+\begin_inset Newline newline
+\end_inset
+
+\backslash
+myHline
+\backslash
+noalign{
+\backslash
+global
+\backslash
+arrayrulewidth 0.4pt}}
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+Pour revenir à l'épaisseur de filet implicite, insérez les commandes suivantes
+ en code TeX après le tableau ou le flottant de tableau :
+\end_layout
-\begin_layout Plain Layout
-1024×
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHline}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-768
-\begin_inset space \thinspace{}
-\end_inset
-Pixels
+
+\backslash
+let
+\backslash
+myHline
+\backslash
+hline
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\end_layout
\begin_layout Plain Layout
-\begin_inset Formula $5.78\cdot$
-\end_inset
+ {
+\backslash
+noalign{
+\backslash
+global
+\backslash
+arrayrulewidth 1.5pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+\backslash
+myHline
+\backslash
+noalign{
+\backslash
+global
+\backslash
+arrayrulewidth 0.4pt}}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Float table
+wide false
+sideways false
+status open
\begin_layout Plain Layout
-\begin_inset Formula $10^{7}$
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-filets-horizontaux-1.5pt"
+
\end_inset
+Tableau avec des filets horizontaux de 1.5
+\begin_inset space \thinspace{}
+\end_inset
+pt
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\ne$
+sd
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\: B_{\mathrm{red}}$
-\end_inset
-
\end_layout
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-32×
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
+sd
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
--
-\begin_inset Formula $33.5\cdot$
-\end_inset
-
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $10^{4}$
-\end_inset
-
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\sin(\alpha)\ge$
-\end_inset
-
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\:\sin(\beta)$
-\end_inset
-
-
+sd
\end_layout
\end_inset
\end_inset
-\end_layout
-
-\begin_layout Subsection
-Formats de cellule et de colonne personnalisés
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Formats-personnalisés"
-
-\end_inset
-
-
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Personnalisation des tableaux ! Format de cellule/colonne
+
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHline}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Calculer la largeur nécessaire pour des colonnes couvertes par un cellule
- multi-colonne comme dans la section
+\begin_inset VSpace bigskip
+\end_inset
+
+Pour que seuls les filets verticaux aient une épaisseur de 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt, créez le format de colonne suivant dans le préambule, en suivant la
+ description de la section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Calculs-multicolonnes"
+reference "sub:Formats-personnalisés"
\end_inset
- peut devenir très pénible si vous avez plusieurs tableaux avec des cellules
- multi-colonnes.
- Pour vous rendre la vie plus facile, vous pouvez définir dans le préambule
- un format de cellule/colonne, qui puisse être utilisé dans tous les tableaux
- du document.
- Le format est défini avec la commande
+:
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{nom du format}[nombre d'arguments]{commandes}
+newcolumntype{V}{!{
+\backslash
+vrule width 1.5pt}}
\end_layout
\begin_layout Standard
-Le nom du format peut n'avoir qu'une lettre.
- Les lettres
-\emph on
-b
-\emph default
-,
-\emph on
-c
-\emph default
-,
-\emph on
-l
-\emph default
-,
-\emph on
-m
-\emph default
-,
-\emph on
-p
-\emph default
- et
-\emph on
-r
-\emph default
- sont prédéfinies et donc ne peuvent être utilisées.
- Mais toutes les lettres de l'alphabet sont autorisées en majuscules.
-\end_layout
+Pour le tableau
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-filets-verticaux-1.5pt"
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
+ le paramètre LaTeX
+\end_layout
+
+\begin_layout Standard
+\series bold
+VcV
\end_layout
\begin_layout Standard
-Pour de cellules multi-colonnes centrées verticalement et horizontalement
- avec une largeur donnée, vous pouvez définir le format de cellule suivant
- :
+a été utilisé pour la dernière colonne et
\end_layout
\begin_layout Standard
\series bold
+Vc
+\end_layout
-\backslash
-newcolumntype{M}[1]{>{
-\backslash
-centering
-\backslash
-hspace{0pt}}m{#1}}
+\begin_layout Standard
+pour les autres colonnes.
\end_layout
\begin_layout Standard
-Où le
-\series bold
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-filets-verticaux-1.5pt"
-\backslash
-hspace{0pt}
-\series default
- évite le problème de césure du premier mot, comme c'est décrit en section
-\begin_inset space ~
\end_inset
+Tableau avec des filets verticaux de 1.5
+\begin_inset space \thinspace{}
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Lignes-multiple-dans-cellule"
+pt
+\end_layout
\end_inset
-.
- Ensuite, vous pouvez entrer
+
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special="Vc">
+<column alignment="center" valignment="top" width="0" special="Vc">
+<column alignment="center" valignment="top" width="0" special="VcV">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-\series bold
-M{width}
+\begin_layout Plain Layout
+sd
\end_layout
-\begin_layout Standard
-comme paramètre LaTeX dans la fenêtre de dialogue de tableau pour créer
- une multi-colonne.
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-Pour les cellules qui sont couvertes par la cellule multi-colonne, vous
- pouvez définir le format
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+sd
+\end_layout
-\backslash
-newcolumntype{S}[2]{>{
-\backslash
-centering
-\backslash
-hspace{0pt}}
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset Phantom HPhantom
-status open
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
-\series bold
-\backslash
-newcolumntype{S}[2]
\end_layout
\end_inset
-m{(#1+(2
-\backslash
-tabcolsep+
-\backslash
-arrayrulewidth)*(1-#2))/#2}}
-\end_layout
-\begin_layout Standard
-Ce format utilise l'équation
-\begin_inset space ~
-\end_inset
+\end_layout
+\begin_layout Subsection
+Filets à traits interrompus
+\begin_inset Index idx
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand eqref
-reference "eq:Wgn"
+\begin_layout Plain Layout
+Personnalisation des tableaux ! Filets à traits interrompus
+\end_layout
\end_inset
- pour calculer la largeur que doit avoir chacune des cellules couverte par
- la cellule multi-colonne pour qu'elles aient toutes la même largeur.
-\end_layout
-\begin_layout Standard
-Ensuite, vous pouvez entrer
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
-\series bold
-S{largeur de la cellule multi-colonne}{nombre de colonnes couvertes}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-comme paramètre LaTeX de la colonne.
+
+\backslash
+ifarydshln
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-\end_layout
+\begin_inset Note Note
+status open
-\begin_layout Standard
-Pour des colonnes colorées, vous pouvez définir
+\begin_layout Plain Layout
+La section suivante ne s'affichera que si vous avez installé le paquetage
+ LaTeX
+\series bold
+arydshln
+\series default
+.
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-newcolumntype{K}[1]{>{
-\backslash
-columncolor{#1}
-\backslash
-hspace{0pt}}c}
\end_layout
\begin_layout Standard
-Le
-\begin_inset Quotes eld
-\end_inset
+\begin_inset Float table
+placement H
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Tableau-filets-tirets"
-c
-\begin_inset Quotes erd
\end_inset
- à la fin crée une colonne de largeur variable dont le texte est centré
- horizontalement.
- Vous pouvez maintenant entrer
+Tableau avec des filets à traits interrompus
\end_layout
-\begin_layout Standard
+\end_inset
+
-\series bold
-K{nom de couleur}
\end_layout
-\begin_layout Standard
-comme paramètre LaTeX.
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0" special=":c">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+b
\end_layout
-\begin_layout Standard
-Pour créer le tableau
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-formats-personnalisés"
+\begin_layout Plain Layout
+c
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
- utilisez les paramètres LaTeX
+\begin_layout Plain Layout
+d
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\series bold
-M{2.5cm}
+\begin_layout Plain Layout
+e
\end_layout
-\begin_layout Standard
-pour la première colonne et la multi-colonne,
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
-K{red}
+\begin_layout Plain Layout
+g
\end_layout
-\begin_layout Standard
-pour la dernière colonne, et
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
-S{2.5cm}{2}
+\begin_layout Plain Layout
+i
\end_layout
-\begin_layout Standard
-pour les cellules de la deuxième colonne.
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+j
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-formats-personnalisés"
-\end_inset
-Tableau utilisant des formats personnalisés
+\backslash
+hdashline
\end_layout
\end_inset
-
+k
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="4">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
-<column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0" special="K{red}">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-motTrèsLongDansUneCellule
+l
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-multi-colonne avec multi-ligne
+m
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+n
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+o
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-d
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cdashline{4-5}
+\end_layout
+
+\end_inset
+
+p
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-e
+q
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
\begin_inset Text
\begin_layout Plain Layout
-f
+r
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-g
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+t
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+u
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+v
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-j
+w
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-k
+x
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Épaisseur des filets
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Epaisseur-filets"
-
-\end_inset
-
+\begin_layout Standard
+LyX ne gère pas de façon native les filets à lignes interrompues, vous devez
+ donc employer du code TeX.
+ Mais avant il faut charger le paquetage LaTeX
+\series bold
+arydshln
+\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Personnalisation des tableaux ! Épaisseur filets
+Paquetages LaTeX ! arydshln
\end_layout
\end_inset
-
+ dans le préambule du document avec la commande
\end_layout
\begin_layout Standard
-L'épaisseur de tous les filets d'un tableau peut être modifiée avec la variable
-
+
\series bold
\backslash
-arrayrulewidth
-\series default
-.
- Pour mettre, par exemple, une épaisseur de filet de 1.5
-\begin_inset space \thinspace{}
-\end_inset
+usepackage{arydshln}
+\end_layout
-pt, comme pour le tableau
-\begin_inset space ~
+\begin_layout Standard
+Pour faire un filet vertical avec un trait interrompu, mettez deux points
+
+\begin_inset Quotes eld
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-filets-1.5pt"
-
+:
+\begin_inset Quotes erd
\end_inset
-, insérez la commande
+ avec le caractère décrivant l'alignement horizontal comme paramètre LaTeX
+ dans la fenêtre de dialogue de paramètre du tableau.
\end_layout
\begin_layout Standard
-
-\series bold
-
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{1.5pt}
+Pour un trait horizontal interrompu, ajoutez la commande
\end_layout
\begin_layout Standard
-en code TeX avant le tableau ou le flottant de tableau.
- La nouvelle épaisseur de filet reste valable pour tous les tableaux qui
- suivent.
- pour revenir aux valeurs implicites, mettez
+
\series bold
\backslash
-arrayrulewidth
-\series default
- à 0.4
-\begin_inset space \thinspace{}
-\end_inset
+hdashline
+\end_layout
-pt en utilisant du code LaTeX après le tableau ou le flottant de tableau.
+\begin_layout Standard
+en code TeX comme premier élément de la première cellule de la ligne de
+ tableau.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+Pour des filets interrompus avec des cellules multi-colonnes, utilisez la
+ commande
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+\series bold
\backslash
-setlength{
-\backslash
-arrayrulewidth}{1.5pt}
+cdashline{
+\series default
+numéros de colonnes}
\end_layout
-\end_inset
+\begin_layout Standard
+en code TeX comme premier élément de la première cellule de la ligne.
+ Si par exemple, vous avez une cellule multi-colonne qui couvre les colonnes
+ 2 à 4 et que vous voulez un filet interrompu au dessus, ajoutez la commande
+\end_layout
+\begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
+\series bold
-\begin_layout Plain Layout
-\begin_inset Caption
+\backslash
+cdashline{2-4}
+\end_layout
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-filets-1.5pt"
+\begin_layout Standard
+comme premier élément de la première cellule de la ligne contenant la multi-colo
+nne.
+\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-Tableau avec des filets de 1.5
-\begin_inset space \thinspace{}
-\end_inset
-pt
\end_layout
+\begin_layout Standard
+Le tableau
+\begin_inset space ~
\end_inset
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Tableau-filets-tirets"
-\begin_layout Plain Layout
-sd
-\end_layout
+\end_inset
+ a été créé en utilisant
+\begin_inset Quotes eld
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\end_layout
+\series bold
+:c
+\series default
+\begin_inset Quotes erd
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
+ comme paramètre LaTeX pour la troisième colonne.
+ La commande en code TeX
+\series bold
+\backslash
+hdashline
+\series default
+ a été insérée dans la première cellule de la troisième ligne et la commande
+ en code TeX
+\series bold
+
+\backslash
+cdashline{4-5}
+\series default
+ a été insérée dans la première cellule de la quatrième ligne.
\end_layout
+\begin_layout Standard
+
+\lang english
+\begin_inset VSpace bigskip
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-sd
-\end_layout
+\lang english
+Tables with dashed lines can also be colored as shown by Table
+\lang french
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Colored-table-with"
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
+.
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1pt}
\end_layout
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+\lang english
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+\lang english
+thicker lines for better visualization of the line color
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
+dashgapcolor{green}
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Pour que seuls les filets horizontaux aient une épaisseur de 1.5
-\begin_inset space \thinspace{}
-\end_inset
+\lang english
-pt, comme dans le tableau
-\begin_inset space ~
-\end_inset
+\begin_inset Note Note
+status collapsed
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-filets-horizontaux-1.5pt"
+\lang english
+color gaps between dashes green
+\end_layout
\end_inset
-, insérez les commandes suivantes en code TeX avant le tableau ou le flottant
- de tableau :
+
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
let
\backslash
-myHline
+myHdashline
\backslash
-hline
-\begin_inset Newline newline
-\end_inset
+hdashline
+\end_layout
+
+\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
-hline}
-\begin_inset Newline newline
-\end_inset
+hdashline}
+\end_layout
+
+\begin_layout Plain Layout
{
\backslash
-noalign{
+arrayrulecolor{red}
\backslash
-global
+myHdashline
\backslash
-arrayrulewidth 1.5pt}
-\begin_inset Newline newline
+arrayrulecolor{black}}
+\end_layout
+
\end_inset
-
-\backslash
-myHline
-\backslash
-noalign{
-\backslash
-global
-\backslash
-arrayrulewidth 0.4pt}}
-\end_layout
-\begin_layout Standard
-Pour revenir à l'épaisseur de filet implicite, insérez les commandes suivantes
- en code TeX après le tableau ou le flottant de tableau :
+\lang english
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+color horizontal, dashed lines red
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHline}
\end_layout
\begin_layout Standard
\backslash
let
\backslash
-myHline
+myCdashline
\backslash
-hline
+cdashline
\end_layout
\begin_layout Plain Layout
\backslash
renewcommand{
\backslash
-hline}
+cdashline}[1]
\end_layout
\begin_layout Plain Layout
{
\backslash
-noalign{
+arrayrulecolor{yellow}
\backslash
-global
+myCdashline{#1}
\backslash
-arrayrulewidth 1.5pt}
+arrayrulecolor{black}}
\end_layout
+\end_inset
+
+
+\lang english
+
+\begin_inset Note Note
+status collapsed
+
\begin_layout Plain Layout
-
-\backslash
-myHline
-\backslash
-noalign{
-\backslash
-global
-\backslash
-arrayrulewidth 0.4pt}}
+\lang english
+color partial horizontal, dashed lines yellow
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Standard
+
+\lang english
\begin_inset Float table
+placement h
wide false
sideways false
status open
\begin_layout Plain Layout
+
+\lang english
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:Tableau-filets-horizontaux-1.5pt"
-
-\end_inset
+name "tab:Colored-table-with"
-Tableau avec des filets horizontaux de 1.5
-\begin_inset space \thinspace{}
\end_inset
-pt
+Colored table with dashed lines
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="5" columns="5">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt" special=":c">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+a
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+b
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+c
\end_layout
\end_inset
</cell>
-</row>
-<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+d
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+e
\end_layout
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+f
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+h
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+i
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+j
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHline}
-\end_layout
-
-\end_inset
-
-
+hdashline
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Pour que seuls les filets verticaux aient une épaisseur de 1.5
-\begin_inset space \thinspace{}
-\end_inset
-
-pt, créez le format de colonne suivant dans le préambule, en suivant la
- description de la section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Formats-personnalisés"
-
-\end_inset
-
-:
-\end_layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-newcolumntype{V}{!{
-\backslash
-vrule width 1.5pt}}
+rowcolor{Gray}
\end_layout
-\begin_layout Standard
-Pour le tableau
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-filets-verticaux-1.5pt"
-
\end_inset
- le paramètre LaTeX
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-VcV
-\end_layout
-
-\begin_layout Standard
-a été utilisé pour la dernière colonne et
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-Vc
-\end_layout
-
-\begin_layout Standard
-pour les autres colonnes.
+k
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-filets-verticaux-1.5pt"
-
-\end_inset
-
-Tableau avec des filets verticaux de 1.5
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
-pt
+\begin_layout Plain Layout
+l
\end_layout
\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="VcV">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+m
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+n
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+o
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\end_layout
+\begin_layout Plain Layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+\backslash
+cdashline{4-5}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
+p
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+q
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
\begin_inset Text
\begin_layout Plain Layout
-
+r
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+s
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Filets à traits interrompus
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Personnalisation des tableaux ! Filets à traits interrompus
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-ifarydshln
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-La section suivante ne s'affichera que si vous avez installé le paquetage
- LaTeX
-\series bold
-arydshln
-\series default
-.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement H
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Tableau-filets-tirets"
-
-\end_inset
-Tableau avec des filets à traits interrompus
\end_layout
\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="5" columns="5">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0" special=":c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+</cell>
+</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+t
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-b
+u
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
+v
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-d
+w
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-e
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-f
+
+
+\backslash
+cellcolor{Maroon}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-g
+i
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+</row>
+</lyxtabular>
+
+\end_inset
+
-\begin_layout Plain Layout
-h
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-i
+
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-j
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\begin_inset ERT
+
+\lang english
+
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\backslash
-hdashline
+\lang english
+reset to default
\end_layout
\end_inset
-k
+
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-l
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-m
+\backslash
+renewcommand{
+\backslash
+cdashline}{
+\backslash
+myCdashline}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-n
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\lang english
+
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-o
+
+\lang english
+reset to default
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
+
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-cdashline{4-5}
+nodashgapcolor
\end_layout
\end_inset
-p
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-q
-\end_layout
+\lang english
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
-\begin_inset Text
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-r
+
+\lang english
+reset to default
\end_layout
\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
-\begin_inset Text
-\begin_layout Plain Layout
-s
+
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-t
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\lang english
+
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-u
+
+\lang english
+reset to default
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-v
+
\end_layout
+\begin_layout Standard
+
+\lang english
+The coloring of lines, columns and lines works as decribed in section
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-w
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\lang french
-\begin_layout Plain Layout
-x
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Tableaux-Colorés"
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+\lang english
+.
+ Coloring horizontal lines works analogically as described there as well,
+ one only needs to replace in the commands
+\series bold
-\end_layout
+\backslash
+myHlineC
+\series default
+ by
+\series bold
-\end_inset
+\backslash
+myHdashline
+\series default
+ and
+\backslash
+\series bold
+hline
+\series default
+ by
+\series bold
+\backslash
+hdashline
+\series default
+; so one uses the command
\end_layout
\begin_layout Standard
-LyX ne gère pas de façon native les filets à lignes interrompues, vous devez
- donc employer du code TeX.
- Mais avant il faut charger le paquetage LaTeX
+
\series bold
-arydshln
-\series default
-\begin_inset Index idx
-status collapsed
+\backslash
+let
+\backslash
+myHdashline
+\backslash
+hdashline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
-Paquetages LaTeX ! arydshln
+\begin_inset space ~
+\end_inset
+
+
\end_layout
\end_inset
- dans le préambule du document avec la commande
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
+\lang english
+To color
\series bold
\backslash
-usepackage{arydshln}
+cdashline
+\series default
+, the command is
\end_layout
\begin_layout Standard
-Pour faire un filet vertical avec un trait interrompu, mettez deux points
-
-\begin_inset Quotes eld
+
+\series bold
+
+\backslash
+let
+\backslash
+myCdashline
+\backslash
+cdashline
+\begin_inset Newline newline
\end_inset
-:
-\begin_inset Quotes erd
+
+\backslash
+renewcommand{
+\backslash
+cdashline}[1]
+\begin_inset Newline newline
\end_inset
- avec le caractère décrivant l'alignement horizontal comme paramètre LaTeX
- dans la fenêtre de dialogue de paramètre du tableau.
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
-Pour un trait horizontal interrompu, ajoutez la commande
+
+\lang english
+To get back the black line color, one needs to insert the following commands
+ as TeX-Code behind the table:
\end_layout
\begin_layout Standard
+\lang english
+For
\series bold
\backslash
\end_layout
\begin_layout Standard
-en code TeX comme premier élément de la première cellule de la ligne de
- tableau.
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
\end_layout
\begin_layout Standard
-Pour des filets interrompus avec des cellules multi-colonnes, utilisez la
- commande
+
+\lang english
+and for
+\series bold
+
+\backslash
+cdashline
\end_layout
\begin_layout Standard
\series bold
\backslash
-cdashline{
-\series default
-numéros de colonnes}
+renewcommand{
+\backslash
+cdashline}{
+\backslash
+myCdashline}
\end_layout
\begin_layout Standard
-en code TeX comme premier élément de la première cellule de la ligne.
- Si par exemple, vous avez une cellule multi-colonne qui couvre les colonnes
- 2 à 4 et que vous voulez un filet interrompu au dessus, ajoutez la commande
+
+\lang english
+To color the gaps between the dashes the command
\end_layout
\begin_layout Standard
\series bold
+\lang english
\backslash
-cdashline{2-4}
+dashgapcolor{color}
\end_layout
\begin_layout Standard
-comme premier élément de la première cellule de la ligne contenant la multi-colo
-nne.
+
+\lang english
+can be used in front of a table as TeX-Code.
+ color is hereby the name of a defined color.
+ The command
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\series bold
+\backslash
+nodashgapcolor
\end_layout
\begin_layout Standard
-Le tableau
-\begin_inset space ~
-\end_inset
+\lang english
+unsets the changes made by
+\series bold
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Tableau-filets-tirets"
+\backslash
+dashgapcolor
+\series default
+.
+\end_layout
-\end_inset
+\begin_layout Standard
- a été créé en utilisant
-\begin_inset Quotes eld
-\end_inset
+\lang english
+\begin_inset Note Greyedout
+status open
+\begin_layout Plain Layout
\series bold
-:c
+\color none
+\lang english
+Note
\series default
+: If there are multiple commands in a cell, the command of
+\series bold
+arydshln
+\series default
+ needs to be the first one in the cell.
+ Therefore in cell
+\emph on
+k
+\emph default
+ of Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Colored-table-with"
-\begin_inset Quotes erd
\end_inset
- comme paramètre LaTeX pour la troisième colonne.
- La commande en code TeX
+ the command
\series bold
\backslash
hdashline
\series default
- a été insérée dans la première cellule de la troisième ligne et la commande
- en code TeX
+ is before
\series bold
\backslash
-cdashline{4-5}
+rowcolor
\series default
- a été insérée dans la première cellule de la quatrième ligne.
+.
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
+
+\lang english
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
+\color none
+\lang english
Note:
\series default
- Le paquetage LaTeX
+ The LaTeX-package
\series bold
arydshln
\series default
- qui a été utilisé n'est apparemment pas compatible avec le paquetage LaTeX
+ must be loaded in the document preamble before the LaTeX-package
+\lang french
\series bold
colortbl
\series default
+\color inherit
\begin_inset Index idx
status collapsed
\end_inset
- qui est utilisé pour avoir des tableaux colorés dans la section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Tableaux-Colorés"
-
-\end_inset
+\color none
.
- Cela signifie que les tableaux colorés ne peuvent pas avoir de filets à
- traits interrompus.
\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+
+\lang english
+For more information about dashed lines see the documentation of
+\lang french
+
+\series bold
+arydshln
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "arydshln"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Chapter
Flottants
\begin_inset CommandInset label
Addison-Wesley, second edition, 1994
\end_layout
+\begin_layout Bibliography
+\labelwidthstring Bibliographie
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "arydshln"
+
+\end_inset
+
+Documentation du paquetage LaTeX
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "arydshln"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetages LaTeX ! arydshln
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Bibliography
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
\end_inset
+\end_layout
+
+\begin_layout Bibliography
+\labelwidthstring Bibliographie
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "diagbox"
+
+\end_inset
+
+Documentation du paquetage LaTeX
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "diagbox"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetages LaTeX ! diagbox
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Bibliography
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "listings"
+key "lettrine"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "listings"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+name "lettrine"
+target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
\end_inset
\series default
+ et un
+\begin_inset CommandInset href
+LatexCommand href
+name "exemple"
+target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
+
+\end_inset
+
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! listings
+Paquetages LaTeX ! lettrine
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "marginnote"
+key "listings"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "marginnote"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+name "listings"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! marginnote
+Paquetages LaTeX ! listings
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "lettrine"
+key "marginnote"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "lettrine"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+name "marginnote"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
\end_inset
\series default
- et un
-\begin_inset CommandInset href
-LatexCommand href
-name "exemple"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
-
-\end_inset
-
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! lettrine
+Paquetages LaTeX ! marginnote
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "pstricks"
+key "pdfpages"
\end_inset
-Page Web du paquetage LaTeX
+Documentation du paquetage LaTeX
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "PSTricks"
-target "http://tug.org/PSTricks/"
+name "pdfpages"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! PSTricks
+Paquetages LaTeX ! pdfpages
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "sidecap"
+key "prettyref"
\end_inset
-Documentation du paquetage LaTeX
+Documentation du paquetage LaTeX
\series bold
-
+
\begin_inset CommandInset href
LatexCommand href
-name "sidecap"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+name "prettyref"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! sidecap
+Paquetages LaTeX ! prettyref
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "pdfpages"
+key "pstricks"
\end_inset
-Documentation du paquetage LaTeX
+Page Web du paquetage LaTeX
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "pdfpages"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+name "PSTricks"
+target "http://tug.org/PSTricks/"
\end_inset
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! pdfpages
+Paquetages LaTeX ! PSTricks
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "prettyref"
+key "refstyle"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "prettyref"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+name "refstyle"
+target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! prettyref
+Paquetages LaTeX ! refstyle
\end_layout
\end_inset
\labelwidthstring Bibliographie
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "refstyle"
+key "sidecap"
\end_inset
-Documentation du paquetage LaTeX
+Documentation du paquetage LaTeX
\series bold
-
+
\begin_inset CommandInset href
LatexCommand href
-name "refstyle"
-target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
+name "sidecap"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-Paquetages LaTeX ! refstyle
+Paquetages LaTeX ! sidecap
\end_layout
\end_inset