#LyX 2.2 created this file. For more info see http://www.lyx.org/ \lyxformat 508 \begin_document \begin_header \save_transient_properties true \origin /systemlyxdir/doc/fr/ \textclass scrbook \begin_preamble % that links to image floats jumps % to the beginning of the float and % not to its caption \usepackage[figure]{hypcap} % the pages of the TOC are numbered roman % and a PDF-bookmark for the TOC is added \let\myTOC\tableofcontents \renewcommand\tableofcontents{% \frontmatter \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } % provides caption formatting \usepackage[labelfont={bf,sf}]{caption}[2004/07/16] % provides commands to set caption % beside tables/images \newcommand{\TabBesBeg}[1][1.0]{% \let\MyTable\table \let\MyEndtable\endtable \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}} \newcommand{\TabBesEnd}{% \let\table\MyTable \let\endtable\MyEndtable} \newcommand{\FigBesBeg}[1][1.0]{% \let\MyFigure\figure \let\MyEndfigure\endfigure \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}} \newcommand{\FigBesEnd}{% \let\figure\MyFigure \let\endfigure\MyEndfigure} % enables calculation of values, \usepackage{calc} % increase the bottom float placement fraction \renewcommand{\bottomfraction}{0.5} % avoids that floats are placed before their % corresponding section starts \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection} % speed up the longtable calculation \setcounter{LTchunksize}{100} % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} \definecolor{vertfonce}{cmyk}{0.5, 0, 1, 0.5} \definecolor{lightgrey}{gray}{0.8} % check for package colortbl % used for colored table cells \newboolean{colortbl} \IfFileExists{colortbl.sty} {\usepackage{colortbl} \setboolean{colortbl}{true}} {\setboolean{colortbl}{false}} % used to have extra space in table cells \@ifundefined{extrarowheight} {\usepackage{array}}{} \setlength{\extrarowheight}{2pt} % used for customized tables % --- \newcolumntype{M}[1] {>{\centering\hspace{0pt}}m{#1}} \newcolumntype{S}[2] {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}} \newcolumntype{K}[1] {>{\columncolor{#1}\hspace{0pt}}c} \newcolumntype{V}{!{\vrule width 1.5pt}} \newcolumntype{W}{!{\color{green}\vline}} % --- % insert additional vertical space of % 1.5 mm between footnotes \let\myFoot\footnote \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}} % number algorithm floats within chapters \numberwithin{algorithm}{chapter} % ------------------------------------ % used to check for needed LaTeX packages \usepackage{ifthen} % check for package arydshln % used for tables with dashed lines \newboolean{arydshln} \IfFileExists{arydshln.sty} {\usepackage{arydshln} \setboolean{arydshln}{true}} {\setboolean{arydshln}{false}} % check for package marginnote % used for margin notes \newboolean{marginnote} \IfFileExists{marginnote.sty} {\usepackage{marginnote} \let\marginpar\marginnote \setboolean{marginnote}{true}} {\setboolean{marginnote}{false}} % check for package sidecap % used for captions on the side \newboolean{sidecap} \IfFileExists{sidecap.sty} {\usepackage{sidecap} \setboolean{sidecap}{true}} {\setboolean{sidecap}{false}} % check for picinpar % used for surrounded fixed objects \newboolean{picinpar} \IfFileExists{picinpar.sty} {\usepackage{picinpar} \setboolean{picinpar}{true}} {\setboolean{picinpar}{false}} % check for lettrine \newboolean{lettrine} \IfFileExists{lettrine.sty} {\usepackage{lettrine} \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 \@ifpackageloaded{babel}{% \frenchbsetup{StandardLayout} }{} \end_preamble \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table \use_default_options false \begin_modules initials graphicboxes \end_modules \maintain_unincluded_children false \language french \language_package default \inputencoding auto \fontencoding global \font_roman "lmodern" "default" \font_sans "lmss" "default" \font_typewriter "lmtt" "default" \font_math "auto" "auto" \font_default_family default \use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \graphics default \default_output_format pdf2 \output_sync 0 \bibtex_command default \index_command default \paperfontsize 12 \spacing single \use_hyperref true \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual" \pdf_author "L'équipe LyX, Uwe Stöhr, traduction: Adrien Rebollo et Siegfried Meunier-Guttin-Cluzel" \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes" \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes" \pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 1 \pdf_breaklinks false \pdf_pdfborder false \pdf_colorlinks true \pdf_backref false \pdf_pdfusetitle false \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false" \papersize default \use_geometry false \use_package amsmath 2 \use_package amssymb 2 \use_package cancel 0 \use_package esint 0 \use_package mathdots 1 \use_package mathtools 0 \use_package mhchem 1 \use_package stackrel 0 \use_package stmaryrd 0 \use_package undertilde 0 \cite_engine basic \cite_engine_type default \biblio_style plain \use_bibtopic false \use_indices false \paperorientation portrait \suppress_date false \justification true \use_refstyle 0 \notefontcolor #0000ff \index Index \shortcut idx \color #008000 \end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \papercolumns 1 \papersides 2 \paperpagestyle default \tracking_changes false \output_changes false \html_math_output 0 \html_css_as_file 0 \html_be_strict false \end_header \begin_body \begin_layout Title Manuel détaillé pour les figures, les tableaux, les flottants, les notes, les boîtes et les objets externes de \SpecialChar LyX \end_layout \begin_layout Author par l'Équipe \SpecialChar LyX \begin_inset Foot status collapsed \begin_layout Plain Layout \noindent Merci d'envoyer vos commentaires et corrections à la liste de diffusion de la documentation de \SpecialChar LyX : \begin_inset CommandInset href LatexCommand href name "lyx-docs@lists.lyx.org" target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual" type "mailto:" \end_inset \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout auteur original : Uwe Stöhr \end_layout \begin_layout Plain Layout Traduction française : Siegfried Meunier-Guttin-Cluzel \end_layout \begin_layout Plain Layout remplacement de Éditer/Visionner/Insérer/Naviguer par Édition/Affichage/Insertio n/Navigation, 31/10/2012, JPChrétien \end_layout \begin_layout Plain Layout version initiale 2.1.x avril 2014, mise à jour J.P. Chrétien \end_layout \begin_layout Plain Layout Remplacement de « appendice » par « annexe », 31/12/2014 (JPC) \end_layout \begin_layout Plain Layout Mise à jour pour 2.2, 26 janvier 2016 (JPC) \end_layout \begin_layout Plain Layout Mise à jour pour 2.2.3, section 2.11.3, 7 janvier 2017 (JPC) \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \family sans Version 2.2.x \end_layout \begin_layout Standard \begin_inset CommandInset toc LatexCommand tableofcontents \end_inset \end_layout \begin_layout Standard \begin_inset Note Note status open \begin_layout Plain Layout Pour pouvoir exporter ce document en PDF, PS ou DVI, les paquetages \SpecialChar LaTeX \series bold arydshln \series default , \series bold colortbl \series default , \series bold diagbox, lettrine, marginnote, picinpar \series default , et \series bold sidecap \series default doivent être installés. Si ce n'est pas le cas, vous pouvez quand même exporter le document mais les sections qui nécessitent les paquetages en question n'apparaîtront pas sur la sortie. \end_layout \begin_layout Plain Layout Vous pouvez trouver la dernière version au format PDF de ce manuel ici : \begin_inset Newline newline \end_inset \series bold http://wiki.lyx.org/\SpecialChar LyX /Manuals#EmbeddedObjects \end_layout \end_inset \end_layout \begin_layout Chapter Figures \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Graphiques|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Figures \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section La fenêtre de dialogue graphique \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Fenêtre de dialogue Graphique \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Graphics-Dialog" \end_inset \end_layout \begin_layout Standard Pour placer une figure dans votre document, cliquez sur le bouton \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset dans la barre d'outils, ou faites \family sans Insertion\SpecialChar menuseparator Graphique \family default . Une fenêtre de dialogue va s'ouvrir où vous pourrez choisir le fichier à charger. L'image apparaîtra dans la sortie finale à la position exacte qu'elle a dans le texte. \end_layout \begin_layout Standard La fenêtre de dialogue Graphique peut être rappelée à tout moment en cliquant sur une image \begin_inset Note Note status collapsed \begin_layout Plain Layout Ça marche aussi avec le bouton gauche ! (NdT) \end_layout \end_inset . Cette fenêtre de dialogue possède trois onglets: \end_layout \begin_layout Description Graphique Cet onglet vous permet de choisir le fichier contenant votre image et d'ajuster l'apparence qu'elle aura sur la sortie imprimée. Les unités de longueurs utilisées sont décrites dans l'annexe \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unités-de-longueur" \end_inset . \begin_inset Newline newline \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Pivotées \end_layout \end_inset Vous pouvez faire pivoter vos images dans le sens inverse des aiguilles d'une montre, en donnant l'angle de rotation et la position du pivot. L'image apparaîtra pivotée dans \SpecialChar LyX . \begin_inset Newline newline \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Redimensionnées \end_layout \end_inset La taille de l'image peut être modifiée, soit en donnant un facteur d'échelle sous forme d'un pourcentage, soit en donnant directement sa hauteur et sa largeur. Si vous ne fixez que la largeur ou que la hauteur, l'autre dimension sera déterminée automatiquement. Si vous fixez les deux, l'image sera transformée à la taille voulue, avec éventuellement une distorsion. Pour éviter une telle distorsion de l'image, vous pouvez utiliser l'option \family sans Conserver \begin_inset space ~ \end_inset les \begin_inset space ~ \end_inset proportions \family default . L'image sera mise à l'échelle de façon à ce que ses dimensions ne dépassent pas les valeurs fixées. \begin_inset Newline newline \end_inset Les images peuvent être modifiée en utilisant le programme de votre choix en faisant un clic droit dessus et en choisissant \family sans Éditer le fichier ailleurs \family default dans le menu contextuel qui apparaît. Ce programme peut être sélectionné pour chaque format d'image dans la rubrique \family sans Formats \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset fichiers \family default dans la fenêtre de dialogue de \family sans Préférences \family default de \SpecialChar LyX . \end_layout \begin_layout Description Rogner Une autre façon d'ajuster la hauteur et la largeur de l'image dans la sortie finale est de modifier les coordonnées de la zone de l'image qui est affichée. Cette zone peut être calculée automatiquement à partir des données présentes dans le fichier en appuyant sur le bouton \family sans Valeurs \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset Fichier \family default . Avec l'option \family sans Couper \begin_inset space ~ \end_inset à \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset boîte \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset délimitation, \family default seule la portion de l'image qui est dans la zone définie sera imprimée. En principe vous n'avez pas à vous occuper des coordonnées de l'image et donc vous pouvez ignorer l'onglet \family sans Rogner \family default . \end_layout \begin_layout Description \family sans Options \begin_inset space ~ \end_inset \SpecialChar LaTeX \begin_inset space ~ \end_inset et \begin_inset space ~ \end_inset \SpecialChar LyX \family default Avec cet onglet, vous pouvez modifier l'apparence de l'image dans \SpecialChar LyX et les experts ès-\SpecialChar LaTeX pourront fournir des options supplémentaires pour \SpecialChar LaTeX \begin_inset Newline newline \end_inset L'option \family sans Mode brouillon \family default fait que l'image apparaîtra sur la sortie sous la forme d'un cadre vide avec la taille de l'image. \begin_inset Newline newline \end_inset Dans la section \family sans Groupe \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset graphiques \family default vous pouvez définir ou de choisir un groupe de paramètres d'image \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Groupes de paramétrisation \end_layout \end_inset . Les images qui sont rassemblées dans un tel groupe partagent leurs paramètres, ce qui fait qu'il suffit de modifier une image du groupe pour que toutes les autres soient automatiquement modifiées de la même manière. Vous pouvez par exemple modifier la taille de tout un lot d'images sans avoir à modifier leur taille manuellement une par une. On peut rattacher une image à un groupe existant en utilisant le menu contextue l de l'image et en cochant le nom du groupe dans la liste \begin_inset Foot status collapsed \begin_layout Plain Layout La liste des groupes n'apparaît que si au moins un groupe a été défini (N.d.T.) \end_layout \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Voici un exemple d'image au format EPS \begin_inset Foot status collapsed \begin_layout Plain Layout Les format d'images sont décrits dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Image-Formats" \end_inset . \end_layout \end_inset qui se trouve dans son propre paragraphe, ce dernier étant centré horizontaleme nt: \end_layout \begin_layout Standard \align center \begin_inset Graphics filename ../clipart/mobius.eps scale 70 scaleBeforeRotation rotateOrigin center \end_inset \end_layout \begin_layout Standard Et voici la même image mais en mode brouillon: \end_layout \begin_layout Standard \align center \begin_inset Graphics filename ../clipart/mobius.eps scale 70 draft scaleBeforeRotation rotateOrigin center \end_inset \end_layout \begin_layout Section Figures flottantes \begin_inset CommandInset label LatexCommand label name "sec:Figure-Floats" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Figures \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Flottants \end_layout \end_inset \end_layout \begin_layout Standard Pour des explications d'ordre général concernant les flottants, jetez un coup d'œil à la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Flottants-Introduction" \end_inset . \end_layout \begin_layout Standard Le bouton \begin_inset Info type "icon" arg "float-insert figure" \end_inset de la barre d'outils et le menu \family sans Insertion\SpecialChar menuseparator Flottant\SpecialChar menuseparator Figure \family default insèrent un flottant avec l'étiquette \begin_inset Quotes fld \end_inset \series bold Figure \begin_inset space ~ \end_inset #: \series default \begin_inset Quotes frd \end_inset (# est le numéro réel de l'image). Vous pouvez insérer l'image au dessus de la légende comme pour la figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:kill-plat" \end_inset ou en dessous de la légende comme pour la Figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:escher" \end_inset . Vous trouverez plus d'information sur le positionnement des légendes dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Placement-légende" \end_inset . \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/platypus.eps width 50col% scaleBeforeRotation rotateOrigin center \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:kill-plat" \end_inset Un ornithorynque sévèrement déformé dans un flottant de figure. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:escher" \end_inset M.C. Escher sous LSD. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/escher-lsd.eps scale 80 scaleBeforeRotation rotateOrigin center \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Index idx status collapsed \begin_layout Plain Layout References@Références ! à des Figures \end_layout \end_inset Les figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:kill-plat" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "fig:escher" \end_inset sont des exemples de figures référencées. Dans le texte, on fait référence à une figure en faisant référence à sa légende. On insère donc une étiquette dans la légende en utilisant le menu \family sans Insertion \family default \SpecialChar menuseparator \family sans Étiquette \family default ou le bouton \begin_inset Info type "icon" arg "label-insert" \end_inset de la barre d'outils. On peut alors faire référence à cette étiquette en utilisant le menu \family sans Insertion\SpecialChar menuseparator Référence \begin_inset space ~ \end_inset croisée \family default ou le bouton \begin_inset Info type "icon" arg "dialog-show-new-inset ref" \end_inset de la barre d'outils. Il est important d'utiliser des références pour les flottants de figures plutôt que des locutions vagues du genre \begin_inset Quotes fld \end_inset la figure ci-dessous \begin_inset Quotes frd \end_inset , puisque \SpecialChar LaTeX va repositionner la figure dans le document final. Votre figure risque de ne plus être ci-dessous du tout ! \begin_inset Newline newline \end_inset Le référencement est expliqué plus en détail dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencer-les-Flottants" \end_inset . \end_layout \begin_layout Standard En principe on met une seule figure dans un flottant, mais parfois vous pouvez vouloir deux figures avec chacune sa sous-légende. C'est possible en insérant des flottants d'image dans des flottants d'image existants. Notez que seule la légende principale des flottants est reprise dans la liste des figures. La figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Deux-images-déformées" \end_inset est un exemple de flottant de figure avec deux images mises l'une à côté de l'autre. Vous pouvez aussi mettre les images les unes sous les autres. Les figures \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Structure-indéfinissable" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "fig:Un-ornithorynque" \end_inset sont des sous-figures. \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset space \hfill{} \end_inset \begin_inset Float figure wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Structure-indéfinissable" \end_inset Structure indéfinissable \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps width 45col% scaleBeforeRotation groupId Déformés \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Float figure wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Un-ornithorynque" \end_inset Un ornithorynque \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/platypus.eps width 45col% scaleBeforeRotation groupId Déformés \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Deux-images-déformées" \end_inset Deux images déformées. Les deux images font partie du groupe de paramétrisation \begin_inset Quotes fld \end_inset déformés \begin_inset Quotes frd \end_inset . \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Les formats d'images \begin_inset CommandInset label LatexCommand label name "sec:Image-Formats" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Formats d' images \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Formats d'images \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez insérer des images dans n'importe quel format connu. Mais, comme nous l'avons expliqué dans l'annexe \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Formats-fichiers-graphiques" \end_inset , chaque format pour la sortie du document ne va accepter qu'un petit nombre de formats d'images. Pour s'en sortir \SpecialChar LyX utilise le programme \family typewriter ImageMagick \family default en arrière plan pour convertir les formats que vous utilisez dans un des formats acceptés par le format de sortie. Ces conversions prenant forcément du temps, vous pouvez accélérer vos exportati ons en n'utilisant que les formats listés dans les sous sections de l'annexe \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Formats-fichiers-graphiques" \end_inset . \end_layout \begin_layout Standard Comme pour les polices de caractères, il y a deux grands types de formats d'images: \end_layout \begin_layout Description Les \begin_inset space ~ \end_inset images \begin_inset space ~ \end_inset Matricielles \begin_inset space ~ \end_inset (ou \begin_inset space ~ \end_inset bitmap) l'image est décomposée en une mosaïque de points (ou pixels), souvent enregistrés sous un format compressé. Elles ne sont pas facilement redimensionnables et on voit apparaître des petits carrés quand on utilise des agrandissements trop importants (aspect \begin_inset Quotes fld \end_inset pixellisé \begin_inset Quotes frd \end_inset ). Les formats matriciels les plus connus sont le GIF ( \begin_inset Quotes fld \end_inset Graphics Interchange Format \begin_inset Quotes frd \end_inset , avec comme suffixe de fichier \begin_inset Quotes fld \end_inset \family typewriter .gif \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout GIF|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Format d'image \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , le PNG ( \begin_inset Quotes fld \end_inset Portable Network Graphics \begin_inset Quotes frd \end_inset , suffixe \begin_inset Quotes fld \end_inset \family typewriter .png \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout PNG|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formats d'image \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset et le JPG ( \begin_inset Quotes fld \end_inset Joint Photographic Expert Group \begin_inset Quotes frd \end_inset , suffixe \begin_inset Quotes fld \end_inset \family typewriter .jpg \family default \begin_inset Quotes frd \end_inset ou \begin_inset Quotes fld \end_inset \family typewriter .jpeg \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout JPG|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formats d'image \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset . \end_layout \begin_layout Description Les \begin_inset space ~ \end_inset images \begin_inset space ~ \end_inset Vectorielles \begin_inset space ~ \end_inset (ou \begin_inset space ~ \end_inset redimensionnables) l'image est décrite sous forme d'objets, ou vecteurs (lignes, courbes, formes géométriques, caractères...) et peut donc être redimensio nnée comme on le veut sans perte de précision. La possibilité de redimensionner les images est très utilisé pour les présentat ions, vu que le passage par un vidéo-projecteur entraîne forcément un redimensio nnement. Le redimensionnement permet aussi de présenter des documents en ligne où le lecteur pourra agrandir les diagrammes comme il le souhaite pour en étudier les détails. \begin_inset Newline newline \end_inset Les principaux formats vectoriels sont le SVG ( \begin_inset Quotes fld \end_inset Scalable Vector Graphics \begin_inset Quotes frd \end_inset , suffixe \begin_inset Quotes fld \end_inset \family typewriter .svg \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout SVG|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Format d'image \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , l'EPS ( \begin_inset Quotes fld \end_inset encapsulated PostScript \begin_inset Quotes frd \end_inset , suffixe \begin_inset Quotes fld \end_inset \family typewriter .eps \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout EPS|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Format d'image \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , le PDF ( \begin_inset Quotes fld \end_inset Portable Document Format \begin_inset Quotes frd \end_inset , suffixe \begin_inset Quotes fld \end_inset \family typewriter .pdf \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout PDF|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Format d'image \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset et le WMF ( \begin_inset Quotes fld \end_inset Windows Metafile \begin_inset Quotes frd \end_inset , suffixe \begin_inset Quotes fld \end_inset \family typewriter .wfm \family default \begin_inset Quotes frd \end_inset ou \begin_inset Quotes fld \end_inset \family typewriter .emf \family default \begin_inset Quotes frd \end_inset ) \begin_inset Index idx status collapsed \begin_layout Plain Layout WMF|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formats d'images \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset . En fait vous pouvez convertir n'importe quel format matriciel en PDF ou en EPS, mais le résultat ne sera pas redimensionnable. Dans ce cas seul une en-tête est réellement ajoutée à l'image initiale. \begin_inset Foot status collapsed \begin_layout Plain Layout Dans le cas du PDF l'image initiale est aussi compressée. \end_layout \end_inset \end_layout \begin_layout Standard Les fichiers PDF générés par \family typewriter Adobe Photoshop \family default , par exemple, sont des images matricielles. \end_layout \begin_layout Standard En principe il est quasiment impossible de convertir une image matricielle en graphique vectoriel, seul le contraire est possible. Seuls les formats d'image PDF et EPS peuvent être directement incorporés dans respectivement un fichier de sortie PDF ou PostScript. Les images en SVG ou en WMF sont recalculées sous forme de bitmaps quand la sortie est générée puisqu'il n'existe pas actuellement de convertisseurs WMF/SVG \begin_inset Formula $\to$ \end_inset PDF/EPS convenables. \end_layout \begin_layout Chapter Tableaux \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau \end_layout \end_inset \end_layout \begin_layout Section Introduction \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Introduction \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez insérer un tableau en utilisant soit le bouton de la barre d'outils \begin_inset Info type "icon" arg "tabular-insert" \end_inset soit \family sans Insertion\SpecialChar menuseparator Tableau \family default . Le bouton vous offre un moyen graphique pour choisir la taille du tableau : Vous déplacez le curseur de la souris pour indiquer le nombre de lignes et de colonnes que doit avoir le tableau qui va être créé et vous appuyez sur un bouton de la souris pour valider votre choix. Quand vous utilisez le menu pour créer un tableau, une fenêtre apparaît, vous demandant le nombre de lignes et de colonnes. \begin_inset Newline newline \end_inset Le tableau a implicitement une bordure au dessus et à gauche de chaque case, une à droite de la colonne la plus à droite et une en bas de la rangée du bas, qui forment une boîte autour du tableau. En plus, la rangée supérieure a aussi une bordure en bas, ce qui fait qu'elle apparaît séparée du reste du tableau. Voici un exemple : \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout B \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout C \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \begin_layout Section La fenêtre \family sans tableau \family default \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Fenêtre de dialogue \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez modifier un tableau en cliquant dedans avec la touche droite de la souris, qui ouvre le menu contextuel. A l'aide du choix de menu \family sans Plus... \family default vous pouvez modifier les réglages concernant la cellule, la colonne et la ligne dans laquelle le curseur se trouve. Le menu contextuel \family sans Plus...\SpecialChar menuseparator Paramètres... \family default ouvre la fenêtre de dialogue de tableau dans laquelle d'autres réglages sont possibles. La plupart des options peuvent s'appliquer à des sélections. Ce qui signifie que si vous avez sélectionné plus d'une cellule, plus d'une ligne ou plus d'une colonne, l'action demandée prendra en compte toute votre sélection. Notez qu'il y a une différence entre sélectionner le \emph on contenu \emph default d'une cellule et sélectionner la cellule elle-même. \begin_inset Newline newline \end_inset En cochant l'option \family sans Application \begin_inset space ~ \end_inset immédiate \family default de la fenêtre de dialogue, chaque modification d'un champ de la fenêtre est appliquée directement. Si vous déplacez le curseur vers une autre celule du tableau, la fenêtre s'adapte avec les valeurs des paramètres de la nouvelle cellule. Si vous modifiez les valeurs des longueurs qui se trouvent dans la fenêtre de dialogue, vous devez appuyer sur \family sans Entrée \family default pour que la modification soit appliquée. \begin_inset Newline newline \end_inset Vous pouvez utiliser les onglets suivants de la fenêtre de dialogue de tableaux : \end_layout \begin_layout Description Paramètres \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset tableau Avec cet onglet, vous pouvez choisir l'alignement horizontal et la largeur de la colonne courante. L'alignement horizontal \family sans Au \begin_inset space ~ \end_inset séparateur \begin_inset space ~ \end_inset décimal \family default est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Alignements-de-cellules" \end_inset . Quand vous avez fixé une largeur, vous pouvez aussi modifier l'alignement vertical de la ligne courante. Une largeur fixée va permettre aux cellules d'avoir des sauts de lignes et donc, plusieurs paragraphes de texte, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Lignes-multiple-dans-cellule" \end_inset . Si vous ne fixez pas la largeur, la colonne sera aussi large qu'il le faudra pour accommoder le contenu de cellule le plus large. \begin_inset Newline newline \end_inset Vous pouvez aussi marquer une ou plusieurs cellules d'une ligne comme étant un multi-colonnes, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Multicolonnes" \end_inset ou une cellule d'une colonne comme cellule multi-lignes, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Multi-lignes" \end_inset . \begin_inset Newline newline \end_inset L'option \family sans Tourner \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset case \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset 90° \family default fait pivoter la case courante ou une sélection de 90° dans le sens anti-horaire. L'option \family sans Tourner \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset tableau \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset 90° \family default fait pivoter tout le tableau. Ces rotations ne sont pas visibles dans \SpecialChar LyX , mais devraient l'être dans la sortie finale. Pour plus d'information voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Pivotement-des-cellules" \end_inset . \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default La plupart des visualiseurs DVI ne sont \emph on pas \emph default capables d'afficher ces rotations. \end_layout \end_inset \begin_inset Newline newline \end_inset Le paramètre global d'alignement vertical dans la ligne sert pour les tableaux qui sont incorporés dans une ligne de texte : \begin_inset Newline newline \end_inset Une ligne avec des tableaux alignés de différentes manières: \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset Newline newline \end_inset On peut aussi entrer des paramètres \SpecialChar LaTeX pour obtenir des mise en formes spéciales pour le tableau, voir les sections \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Calculs-multicolonnes" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . \end_layout \begin_layout Description Bordures Cet onglet vous permet d'ajouter ou de supprimer les bordures pour la ligne ou la colonne courante. \begin_inset Newline newline \end_inset En utilisant le style \family sans Formel \family default à la place du style par \family sans Défaut \family default , on va convertir le tableau en tableau formel comme on le décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Formels" \end_inset . \begin_inset Newline newline \end_inset Vous pouvez aussi utiliser cet onglet pour ajouter un espacement vertical dans les lignes du tableau comme c'est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Espacement-lignes" \end_inset . \end_layout \begin_layout Description Tableau \begin_inset space ~ \end_inset multi-pages Cet onglet est utilisé pour transformer un tableau en ce que l'on nomme un \begin_inset Quotes fld \end_inset \emph on tableau multi-pages \emph default \begin_inset Quotes frd \end_inset qui peut continuer sur plusieurs pages. Les sections \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-multi-pages" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "sec:Questions-sur-tableaux-multi-pages" \end_inset décrivent ces tableaux multi-pages plus en détail. \end_layout \begin_layout Section La barre d'outils tableau \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Barre d'outils \end_layout \end_inset \end_layout \begin_layout Standard La barre d'outils tableau est une alternative à la fenêtre de dialogue qui permet de modifier plus rapidement les tableaux. Elle apparaît normalement en bas de la fenêtre principale de \SpecialChar LyX quand le curseur se trouve à l'intérieur d'un tableau. Vous pouvez aussi choisir de la faire apparaître de façon permanente grâce au menu \family sans Visualiser\SpecialChar menuseparator Barres \begin_inset space ~ \end_inset d'outils\SpecialChar menuseparator Tableau \family default . \end_layout \begin_layout Standard La barre d'outils contient les icônes suivantes : \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature append-row" \end_inset ajoute une ligne sous la cellule ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature append-column" \end_inset ajoute une colonne à la droite de la cellule ou de la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature delete-row" \end_inset supprime la ligne ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature delete-column" \end_inset supprime la colonne ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature move-row-up" \end_inset déplace la ligne vers le haut \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature move-column-left" \end_inset déplace la colonne vers la gauche \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature move-row-down" \end_inset déplace la ligne vers le bas \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature move-column-right" \end_inset déplace la colonne vers la droite \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature toggle-line-top" \end_inset ajoute une ligne en haut de la cellule, de la ligne ou de la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature toggle-line-bottom" \end_inset ajoute une ligne en bas de la cellule, de la ligne ou de la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature toggle-line-left" \end_inset ajoute une ligne sur le côté gauche de la cellule, de la ligne \begin_inset Note Note status collapsed \begin_layout Plain Layout ou colonne ? \end_layout \end_inset ou de la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature toggle-line-right" \end_inset ajoute une ligne sur le côté droit de la cellule, de la ligne \begin_inset Note Note status collapsed \begin_layout Plain Layout ou colonne ? \end_layout \end_inset ou de la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature set-all-lines" \end_inset ajoute des lignes autour de la cellule ou de la sélection de cellules courante - si la cellule courante n'est pas multi-colonnes cela affecte aussi la colonne et la ligne courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature unset-all-lines" \end_inset supprime toutes les lignes autour de la cellule ou de la sélection de cellules courante - si la cellule courante n'est pas multi-colonnes cela affecte aussi la colonne et la ligne courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature m-align-left" \end_inset aligne à gauche le contenu de la cellule ou de la colonne courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature m-align-center" \end_inset centre horizontalement le contenu de la cellule ou de la colonne courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature m-align-right" \end_inset aligne à droite le contenu de la cellule ou de la colonne courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature align-decimal" \end_inset aligne le contenu de la colonne courante sur un caractère \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature m-valign-top" \end_inset aligne le contenu de la cellule courante verticalement vers le haut \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature m-valign-middle" \end_inset centre verticalement le contenu de la cellule courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature m-valign-bottom" \end_inset aligne le contenu de la cellule courante verticalement vers le bas \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature set-rotate-cell" \end_inset fait pivoter la cellule ou la sélection courante de 90° dans le sens anti-horai re \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature set-rotate-tabular" \end_inset fait pivoter tout le tableau de 90° dans le sens anti-horaire \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature multicolumn" \end_inset transforme en multi-colonnes la cellule ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Info type "icon" arg "tabular-feature multirow" \end_inset transforme en multi-lignes la cellule ou la sélection courante \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note : \series default Pour la sortie, l'alignement vertical de la première cellule d'une ligne est utilisé pour toutes les autres cellules de la ligne. \end_layout \end_inset \end_layout \begin_layout Section Le menu Édition tableau \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Menu Édition \end_layout \end_inset \end_layout \begin_layout Standard En plus de la fenêtre de dialogue et de la barre d'outils tableau, le menu \family sans Édition\SpecialChar menuseparator Tableau \family default vous permet d'ajouter ou de supprimer les lignes de bordure de la colonne ou de la ligne courante et aussi de transformer la sélection courante en multi-colonnes. Ce menu n'est accessible que si le curseur se trouve dans un tableau. \end_layout \begin_layout Section Flottant de tableau \begin_inset CommandInset label LatexCommand label name "sec:Table-Floats" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Tableaux \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Flottants \end_layout \end_inset \end_layout \begin_layout Standard Pour des explications générales sur les flottants, jetez un œil à la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Flottants-Introduction" \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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Flottant-de-tableau" \end_inset Un flottant de tableau. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jules \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Marie \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jean \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\int x^{2}dx$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\left[\begin{array}{cc} a & b\\ c & d \end{array}\right]$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $1+1=2$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Les flottants de tableau sont insérés en utilisant le menu \family sans Insertion\SpecialChar menuseparator Flottant\SpecialChar menuseparator Tableau \family default ou le bouton \begin_inset Info type "icon" arg "float-insert table" \end_inset de la barre d'outils. \end_layout \begin_layout Standard Le flottant apparaît à l'écran comme une boîte repliable avec une légende qui a comme étiquette \begin_inset Quotes fld \end_inset Tableau \begin_inset space ~ \end_inset #: \begin_inset Quotes frd \end_inset (où # est le numéro du tableau). Vous pouvez insérer le tableau au dessus ou en dessous de la légende. \end_layout \begin_layout Standard Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Flottant-de-tableau" \end_inset est un exemple de tableau dans un flottant de tableau. \end_layout \begin_layout Standard On met habituellement la légende au dessus des tableaux, mais cette règle n'est malheureusement pas respectée par certaines classes standard de \SpecialChar LaTeX . Cela signifie que si vous utilisez un document appartenant aux classes \family sans article \family default , \family sans book \family default , \family sans letter \family default , ou \family sans report \family default il n'y aura pas d'espace entre la légende et le tableau. Pour insérer l'espace nécessaire vous devez ajouter l'option suivante à la commande de chargement du paquetage \SpecialChar LaTeX \series bold caption \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! caption \end_layout \end_inset dans le préambule de votre document. \begin_inset Foot status collapsed \begin_layout Plain Layout Pour plus d'information voyez la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Placement-légende" \end_inset . \end_layout \end_inset : \end_layout \begin_layout Standard \series bold tableposition=top \end_layout \begin_layout Standard Le paquetage \series bold caption \series default , qui est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formatage-légende" \end_inset , est utilisé pour ajuster le format des légendes. \end_layout \begin_layout Standard Dans le texte, on fait référence à un tableau \begin_inset Index idx status collapsed \begin_layout Plain Layout References@Références ! à des Tableaux \end_layout \end_inset en faisant référence à sa légende. On insère donc une étiquette dans la légende en utilisant le menu \family sans Insertion \family default \SpecialChar menuseparator \family sans Étiquette \family default ou le bouton \begin_inset Info type "icon" arg "label-insert" \end_inset de la barre d'outils. On peut alors faire référence à cette étiquette en utilisant le menu \family sans Insertion\SpecialChar menuseparator Référence \begin_inset space ~ \end_inset croisée \family default ou le bouton \begin_inset Info type "icon" arg "dialog-show-new-inset ref" \end_inset de la barre d'outils. \begin_inset Newline newline \end_inset Les références croisées sont expliquées en détail dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencer-les-Flottants" \end_inset . \end_layout \begin_layout Section Tableaux multi-pages \begin_inset CommandInset label LatexCommand label name "sec:Tableaux-multi-pages" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau multi-pages \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages \end_layout \end_inset \end_layout \begin_layout Standard Si un tableau est trop haut pour tenir sur un page, vous pouvez utiliser l'option \family sans Utiliser \begin_inset space ~ \end_inset les \begin_inset space ~ \end_inset tableaux \begin_inset space ~ \end_inset multi-pages \family default de l'onglet \family sans Tableau \begin_inset space ~ \end_inset multi-pages \family default de la fenêtre \family sans Paramètres \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset tableau \family default pour le répartir automatiquement sur plusieurs pages. En cochant cette option, vous activez les options suivantes: \end_layout \begin_layout Description En-tête: La ligne courante et toutes celles situées au-dessus et qui n'ont pas d'attributs particuliers, sont définies comme faisant partie des lignes d'en-tête utilisées pour toutes les pages du tableau multi-pages; sauf pour la première page, si \family sans Premier \begin_inset space ~ \end_inset en-tête \family default est défini. Ces lignes forment l'en-tête principal. \end_layout \begin_layout Description Premier \begin_inset space ~ \end_inset En-tête: La ligne courante et toutes celles situées au-dessus et qui n'ont pas d'attributs particuliers, sont définies comme faisant partie des lignes d'en-tête utilisées pour la première page du tableau multi-pages. \end_layout \begin_layout Description Pied: La ligne courante et toutes celles situées au-dessous et qui n'ont pas d'attributs particuliers, sont définies comme faisant partie des lignes constituant les pieds de toutes les pages du tableau multi-pages; sauf de la dernière page si \family sans Dernier \begin_inset space ~ \end_inset pied \family default est défini. \end_layout \begin_layout Description Dernier \begin_inset space ~ \end_inset pied: La ligne courante et toutes celles situées au-dessous et qui n'ont pas d'attributs particuliers, sont définies comme faisant partie des lignes constituant le pied de la dernière page du tableau multi-pages. \end_layout \begin_layout Description Légende La ligne courante contient la légende du tableau. La première ligne est transformée en une colonne unique et une légende est insérée. Vous trouverez d'autres explications sur les légendes pour les tableaux multi-pages dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Tableaux-multi-pages-légende" \end_inset . \end_layout \begin_layout Standard Vous pouvez aussi préciser une ligne où le tableau devra être coupé. Voyez le tableau multi-pages qui suit pour voir comment ça marche : \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \series bold Exemple d'annuaire téléphonique (ignorez les noms) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOM \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Exemple d'annuaire téléphonique \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOM \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout continue page suivante \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 999 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Fin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash addtocounter{table}{-1} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Voyez la première note grisée de la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Tableaux-multi-pages-légende" \end_inset pour une explication de cette commande. \end_layout \end_inset \end_layout \begin_layout Subsection Notes de bas de page dans les tableaux multi-pages \begin_inset CommandInset label LatexCommand label name "subsec:Notes-dans-tableau-multi-pages" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Notes de bas de page \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez insérer des notes de bas de page dans chaque cellule d'un tableau multi-pages. Elles apparaissent en bas de la page dans laquelle se trouve la cellule contenant la note. Par exemple le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Légendes-tableau-différentes" \end_inset a une note de bas de page. \end_layout \begin_layout Subsection Alignement des tableaux multi-pages \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Alignement \end_layout \end_inset \end_layout \begin_layout Standard L'alignement horizontal des tableaux multi-pages peut être modifié dans la fenêtre de dialogue des paramètres de tableau. Pour les alignements à droite et à gauche, le tableau sera directement au bord de la page. Pour ajouter de l'espace entre le tableau et la marge, on doit choisir l'alignement centré et modifier les valeurs des longueurs \series bold \backslash LTleft \series default et \series bold \backslash LTright \series default en insérant la ligne suivante sous forme de code \SpecialChar TeX avant le tableau multi-pages concerné : \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash LTleft}{valeur} \end_layout \begin_layout Standard Où \series bold valeur \series default peut avoir n'importe laquelle des unités listées dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unités-de-longueur" \end_inset . \series bold \backslash LTleft \series default contrôle la distance horizontale entre le bord gauche de la page et le tableau, et \series bold \backslash LTright \series default la distance au bord droit. La valeur implicite des ces deux distances est \series bold \backslash fill \series default , ce qui dans ce cas correspond à un ressort horizontal dans \SpecialChar LyX . \end_layout \begin_layout Standard Le tableau multi-pages suivant a été centrée en mettant \series bold \backslash LTleft \series default à \family sans 0.1 \backslash columnwidth \family default : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTleft}{0.1 \backslash columnwidth} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTleft}{ \backslash fill} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash addtocounter{table}{-1} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Voyez la première note grisée de la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Tableaux-multi-pages-légende" \end_inset pour une explication de cette commande. \end_layout \end_inset \end_layout \begin_layout Subsection Légendes et tableaux multi-pages \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Legendes@Légendes \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "subsec:Tableaux-multi-pages-légende" \end_inset \end_layout \begin_layout Standard Vous ne pouvez pas placer un tableau multi-pages dans un flottant de tableau puisque les flottants ne peuvent pas être sur plusieurs pages, mais l'environne ment de légende des flottants de tableau peut aussi être utilisé pour les tableaux multi-pages quand on utilise pour une ligne l'option de tableau multi-pages \family sans Légende \family default , comme c'est expliqué dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-multi-pages" \end_inset . \end_layout \begin_layout Standard Voici un petit Tableau multi-pages pour voir comment ça marche : \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Tableau multi-pages avec une légende \begin_inset Argument 1 status open \begin_layout Plain Layout Tableau multi-pages \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note \begin_inset space ~ \end_inset 1: \series default Le numéro de tableau est incrémenté à chaque tableau multi-pages, même si vous n'avez pas prévu de légende. De ce fait, vous pouvez avoir le cas où par exemple le tableau \begin_inset space ~ \end_inset 2.4 suit le tableau \begin_inset space ~ \end_inset 2.1 dans la liste des tableaux, si entre les deux il y a deux tableaux multi-page s sans légende. Pour éviter ce problème, vous pouvez ajouter cette commande en code \SpecialChar TeX après chaque tableau multi-pages sans légende : \end_layout \begin_layout Plain Layout \series bold \backslash addtocounter{table}{-1} \end_layout \begin_layout Plain Layout Ce n'est pas nécessaire quand aucun de vos tableaux multi-pages n'a de légende et que vous ajoutez le code suivant dans le préambule du document : \end_layout \begin_layout Plain Layout \series bold \backslash let \backslash myEnd \backslash endlongtable \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash endlongtable}{ \backslash myEnd \backslash addtocounter{table}{-1}} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note \begin_inset space ~ \end_inset 2: \series default Si vous utilisez \series bold hyperref \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! hyperref \end_layout \end_inset dans les \family sans Paramètres du document \family default rubrique \family sans Propriétés \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset PDF \family default , pour transformer vos références croisées en liens cliquables, le lien vers un tableau multi-pages pointera toujours sur le début du document. \end_layout \end_inset \end_layout \begin_layout Subsubsection Références à des tableaux multi-pages \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Références \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Tableau multi-pages référencé \begin_inset CommandInset label LatexCommand label name "tab:RefExemple" \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Pour pouvoir faire référence à un tableau multi-pages, il faut insérer une étiquette dans sa légende. \end_layout \begin_layout Standard Ceci est une référence au tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:RefExemple" \end_inset . \end_layout \begin_layout Standard La mise en forme de la légende peut être ajustée avec celle de toutes les autres légendes de votre document en utilisant le paquetage \SpecialChar LaTeX \series bold caption \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! caption \end_layout \end_inset , voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formatage-légende" \end_inset . \end_layout \begin_layout Subsubsection Largeur de la légende \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Largeur de la légende \end_layout \end_inset \end_layout \begin_layout Standard La largeur maximale des lignes de légende est définie par la longueur \series bold \backslash LTcapwidth \series default . Sa valeur implicite est 4 \begin_inset space \thinspace{} \end_inset in. Pour la changer, vous pouvez ajouter la commande suivante dans le préambule de votre document ou en tant que code \SpecialChar TeX directement dans votre document avant le tableau qui doit être affectée. \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash LTcapwidth}{largeur} \end_layout \begin_layout Standard où la largeur peur être exprimée avec les unités qui sont listées dans l'annexe \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unités-de-longueur" \end_inset . \end_layout \begin_layout Standard Les tableaux suivants montrent la différence : \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout long titre complet avec la largeur implicite long titre complet avec la largeur implicite long titre complet avec la largeur implicite \begin_inset Argument 1 status open \begin_layout Plain Layout Légende avec largeur implicite \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTcapwidth}{5cm} \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout long titre complet avec la largeur réglée à 5 \begin_inset space \thinspace{} \end_inset cm long titre complet avec la largeur réglée à 5 \begin_inset space \thinspace{} \end_inset cm long titre complet avec la largeur réglée à 5 \begin_inset space \thinspace{} \end_inset cm \begin_inset Argument 1 status open \begin_layout Plain Layout Légende avec largeur à \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 5 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTcapwidth}{4in} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Quand on utilise la paquetage \SpecialChar LaTeX \series bold caption \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! caption \end_layout \end_inset , comme c'est les cas dans ce document, la légende prend toute la largeur de la page quand on utilise la largeur implicite de 4 \begin_inset space \thinspace{} \end_inset in pour \series bold \backslash LTcapwidth \series default . Pour avoir dans ce cas une légende qui fasse exactement 4 \begin_inset space \thinspace{} \end_inset in de large, vous pouvez soit prendre une valeur très légèrement différente, comme par exemple 3.99 \begin_inset space \thinspace{} \end_inset in, soit utiliser la commande \SpecialChar LaTeX \series bold \backslash captionsetup{width=valeur} \series default qui est disponible dans le paquetage \series bold caption \series default . \end_layout \end_inset \end_layout \begin_layout Subsubsection Des légendes différentes sur chaque page d'un tableau \begin_inset Argument 1 status collapsed \begin_layout Plain Layout Légendes différentes \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Legendes@Légendes différentes par page \end_layout \end_inset \end_layout \begin_layout Standard Quand la légende du tableau pour les pages suivantes doit être différente de celle de la première page, marquer une ligne vide en tant qu'en-tête contenant une légende, puis effectuer un clic droit sur la légende et cocher dans le menu contextuel \family sans Légende \begin_inset space ~ \end_inset (NonNuméroté) \family default . Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Légendes-tableau-différentes" \end_inset est un exemple de tableau long avec des légendes différentes et où la seconde légende ne contient pas le numéro du tableau. \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Exemple d'annuaire téléphonique \begin_inset CommandInset label LatexCommand label name "tab:Légendes-tableau-différentes" \end_inset \begin_inset Argument 1 status collapsed \begin_layout Plain Layout Exemple Annuaire \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Exemple d'annuaire téléphonique (ne pas faire attention aux noms) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOM \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TÉL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Unnumbered \begin_layout Plain Layout Suite de l'exemple d'annuaire téléphonique \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Exemple d'annuaire téléphonique \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOM \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TÉL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout suite page suivante\SpecialChar ldots \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \series default \begin_inset Foot status open \begin_layout Plain Layout Exemple de note de bas de page \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \end_inset \end_layout \begin_layout Section Questions particulières concernant les tableaux multi-pages \begin_inset Argument 1 status collapsed \begin_layout Plain Layout Questions sur les tableaux multi-pages \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Questions-sur-tableaux-multi-pages" \end_inset \end_layout \begin_layout Subsection Calculs des pages des tableaux multi-pages \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Calculs \end_layout \end_inset \end_layout \begin_layout Standard \SpecialChar LaTeX calcule la hauteur de chaque page de tableau et leurs sauts de page en utilisant des blocs (chunks). Ces blocs sont des portions de tableau qui tiennent en une fois dans la mémoire de \SpecialChar LaTeX . La valeur implicite est fixée pour des raisons historiques à seulement 20 \begin_inset space ~ \end_inset lignes de tableau. Si vous utilisez des tableaux multi-pages couvrant de nombreuses pages, ceci peut ralentir la création de votre document. Vous pouvez sans risque augmenter la taille des blocs pour atteindre des valeurs de 100 ou de 1000 en ajoutant une ligne comme celle-ci dans le préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash setcounter{LTchunksize}{100} \end_layout \begin_layout Subsection Les flottants et les tableaux multi-pages \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Flottants \end_layout \end_inset \end_layout \begin_layout Standard Il peut y avoir des problèmes quand un flottant apparaît sur la page où commence un tableau multi-pages. Pour éviter une telle situation, insérez un saut de page (menu \family sans Insertion\SpecialChar menuseparator Typographie \begin_inset space ~ \end_inset spéciale\SpecialChar menuseparator Saut de page (vide le tampon) \family default \begin_inset space \thinspace{} \end_inset ) juste avant votre tableau multi-pages. \end_layout \begin_layout Subsection Sauts de pages forcés \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-pages ! Sauts de pages forcés \end_layout \end_inset \end_layout \begin_layout Standard Implicitement les tableaux ne peuvent être coupés qu'entre deux lignes. Si vous avez une cellule avec plusieurs lignes et que vous voulez avoir un saut de page à l'intérieur de cette cellule, insérez la commande \SpecialChar LaTeX de saut de ligne \begin_inset Quotes fld \end_inset \backslash \backslash \begin_inset Quotes frd \end_inset en code \SpecialChar TeX à l'endroit de la cellule où vous voulez qu'elle soit coupée. Avant la commande \begin_inset Quotes fld \end_inset \backslash \backslash \begin_inset Quotes frd \end_inset , vous devez insérer en code \SpecialChar TeX , autant de caractères \begin_inset Quotes fld \end_inset & \begin_inset Quotes frd \end_inset qu'il y a de colonnes après la cellule concernée. Le caractère \begin_inset Quotes fld \end_inset & \begin_inset Quotes frd \end_inset sert à séparer les colonnes d'un tableau. Écrivez en code-\SpecialChar TeX , après chaque \begin_inset Quotes fld \end_inset & \begin_inset Quotes frd \end_inset le contenu des cellules correspondantes et en même temps supprimez le contenu de ces cellules dans le texte normal. \begin_inset Newline newline \end_inset Après la commande \backslash \backslash , insérez autant de caractères \begin_inset Quotes fld \end_inset & \begin_inset Quotes frd \end_inset qu'il y a de colonnes avant la colonne traitée. Dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-saut-de-page" \end_inset la cellule qui doit être coupée est dans la deuxième colonne et elle est suivie par une autre colonne. La commande suivante a donc été insérée en code \SpecialChar TeX dans la cellule après le mot \begin_inset Quotes fld \end_inset \emph on Castelchiodato, \emph default \begin_inset Quotes frd \end_inset : \end_layout \begin_layout Standard \series bold & 111 \backslash \backslash \backslash newpage \begin_inset Newline newline \end_inset & \end_layout \begin_layout Standard Le \begin_inset Quotes fld \end_inset 111 \begin_inset Quotes frd \end_inset dans la troisième colonne de la ligne a été supprimé. \series bold \backslash newpage \series default est nécessaire seulement quand un saut de page doit impérativement avoir lieu à cet endroit, sinon on n'a qu'une possibilité de saut. Si votre ligne de pied de tableau n'a pas de bordure supérieure pour une raison ou une autre mais que vous voulez une ligne à l'endroit où la cellule est coupée, utilisez cette commande à la place de la précédente : \end_layout \begin_layout Standard \series bold & 111 \backslash \backslash \begin_inset Newline newline \end_inset \backslash hline & \end_layout \begin_layout Standard Quand la cellule qui doit être coupée est dans la dernière colonne, on doit insérer la commande \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash parfillskip}{0pt} \end_layout \begin_layout Standard au début de la cellule. Cela assure que la portion de la cellule qui va se trouver affichée sur la page suivante le sera avec toute la largeur de la cellule. \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Tableau avec un saut de page forcé dans une cellule \begin_inset CommandInset label LatexCommand label name "tab:Tableau-saut-de-page" \end_inset \begin_inset Argument 1 status collapsed \begin_layout Plain Layout Tableau avec un saut de page forcé dans une cellule \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Exemple d'annuaire téléphonique (ne faites pas attention aux noms) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOM \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TÉL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Caption Unnumbered \begin_layout Plain Layout Tableau sur deux pages avec un saut de page dans une cellule \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Exemple d'annuaire téléphonique \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOM \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TÉL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout suite page suivante\SpecialChar ldots \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo, 11. Fürst von Montecompatri, 11. Fürst von Sulmona und Vivaro, 10. Fürst von Rossano, 5. Herzog von Canemorte, 11. Herzog von Palombara, 5. Herzog von Castelchiodato, \begin_inset ERT status open \begin_layout Plain Layout & 111 \backslash \backslash \backslash newpage \end_layout \begin_layout Plain Layout & \end_layout \end_inset 11. Herzog von Poggionativo, 11. Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11. Graf von Valinfreda, 11. Baron von Cropalati, 11. Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \end_inset \end_layout \begin_layout Section Colonnes et lignes à lignes multiples \end_layout \begin_layout Subsection Lignes multiples dans une cellule de tableau \begin_inset CommandInset label LatexCommand label name "subsec:Lignes-multiple-dans-cellule" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Plusieurs lignes dans une case de tableau \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Saut de ligne \end_layout \end_inset \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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-avec-plusieurs-lignes" \end_inset Tableau avec des lignes multiples dans une cellule \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Lignes \begin_inset Newline linebreak \end_inset multiples \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard En fixant la largeur d'une colonne, on permet d'entrer du texte sous forme d'un paragraphe avec des sauts de lignes et des césures. \end_layout \begin_layout Standard Pour obtenir le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-avec-plusieurs-lignes" \end_inset , créez un tableau 3×3, sélectionnez la première cellule et faites un clic droit dessus. Dans la fenêtre de dialogue qui s'ouvre fixez une largeur de cellule de 2.5 \begin_inset space \thinspace{} \end_inset cm et choisissez les alignements vertical et horizontal centrés. L'alignement vertical va s'appliquer à toutes les cellules de la ligne. Comme notre texte est plus petit que 2.5 \begin_inset space \thinspace{} \end_inset cm, une seule ligne va apparaître. Pour avoir deux lignes, un saut de ligne justifié a été ajouté (raccourci \family sans Ctrl-Shift-Entrée \family default ). Si le texte est plus large que la taille de cellule choisie, il sera automatiqu ement découpé en plusieurs lignes. \end_layout \begin_layout Standard Si vous avez un mot long dans une cellule de largeur fixée, \SpecialChar LaTeX ne peut pas effectuer de césure si c'est le premier élément de la cellule. Vous devez donc insérer quelque chose avant pour qu'il ne soit plus le premier élément : Ajoutez un espace horizontal de 0 \begin_inset space \thinspace{} \end_inset pt juste avant votre mot. Comme l'espace est égal à zéro, la sortie ne sera pas modifiée. Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-césure" \end_inset montre l'effet de cette insertion. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-césure" \end_inset Tableau avec et sans césure. \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout mottrèslongdansunecellule \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset space \hspace{} \length 0pt \end_inset mottrèslongdansunecellule \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Multi-colonnes \begin_inset CommandInset label LatexCommand label name "subsec:Multicolonnes" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Multi-colonnes \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Multi-colonnes \end_layout \end_inset \end_layout \begin_layout Subsubsection Les bases des multi-colonnes \end_layout \begin_layout Standard Pour faire qu'une cellule couvre plusieurs colonnes, marquez les cellules qu'elle doit couvrir et utilisez soit le bouton \begin_inset Info type "icon" arg "tabular-feature multicolumn" \end_inset de la barre d'outils tableau, ou le menu \family sans Édition\SpecialChar menuseparator Tableau\SpecialChar menuseparator Multi-colonnes \family default , ou encore faites un clic droit sur les cellules sélectionnées et choisissez \family sans Multi-colonnes \family default . \end_layout \begin_layout Standard Les multi-colonnes ont leurs propres paramètres de cellule. Ce qui veut dire que si on change les bordures, l'alignement ou la largeur de la cellule, cela n'affecte que la cellule multi-colonnes. Voici un exemple de tableau avec une cellule multi-colonnes dans la première ligne et une cellule sans bordure supérieure dans la dernière ligne : \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout abc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout def ghi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout jkl \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout B \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout C \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout D \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \end_inset \end_layout \begin_layout Subsubsection Calculs avec les multi-colonnes \begin_inset CommandInset label LatexCommand label name "subsec:Calculs-multicolonnes" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Multi-colonnes ! Calculs \end_layout \end_inset \end_layout \begin_layout Standard \SpecialChar LyX gère directement les multi-colonnes, mais nous devons faire attention à la largeur des cellules couvertes par la cellule multi-colonnes. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-multicolonne-parfaite" \end_inset Tableau avec un texte centré dans une case multi-colonnes au-dessus de deux colonnes qui ont exactement la moitié de la largeur de la case multi-colonnes. \begin_inset Argument 1 status open \begin_layout Plain Layout Tableau avec multi-colonnes parfaite \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout multi-colonnes sur plusieurs lignes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Par exemple, pour créer le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-multicolonne-parfaite" \end_inset , sélectionnez les deux premières cellules de la première ligne d'un tableau 3×3 et faites un clic droit dessus. Ensuite choisissez pour cette cellule \emph on , \emph default dans la fenêtre de dialogue de tableau, \emph on multi-colonnes \emph default , \emph on alignement \begin_inset space ~ \end_inset horizontal \begin_inset space ~ \end_inset centré \emph default et une largeur de 2.5 \begin_inset space \thinspace{} \end_inset cm. Les colonnes couvertes doivent avoir exactement la moitié de la largeur de la cellule multi-colonnes, vous devez donc donner une largeur de 1.25 \begin_inset space \thinspace{} \end_inset cm pour la première colonne. La deuxième colonne aura alors automatiquement une largeur de 1.25 \begin_inset space \thinspace{} \end_inset cm (la largeur de la multi-colonnes moins la largeur de la première colonne). C'est ce qui a été fait pour le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-multicolonne-imparfait" \end_inset . \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-multicolonne-imparfait" \end_inset Tableau où la largeur de colonnes couvertes n'est pas exactement la moitié de la largeur de la cellule multi-colonnes. \begin_inset Argument 1 status open \begin_layout Plain Layout Tableau avec multi-colonnes pas parfaite \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout multi-colonnes sur plusieurs lignes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez voir que la première colonne n'a pas la moitié de la largeur de la cellule multi-colonnes, elle est un peu plus large. La raison est que la taille que l'on donne à une cellule, \begin_inset Formula $W_{g}$ \end_inset n'est pas sa taille totale, \begin_inset Formula $W_{\mathrm{tot}}$ \end_inset parce qu'une cellule est toujours un peu plus large que la taille qu'on lui donne. L'annexe \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Explication-de-l'Equation" \end_inset explique pourquoi en détail. \end_layout \begin_layout Standard La largeur nécessaire \begin_inset Formula $W_{g\,n}$ \end_inset quand \emph on n \emph default colonnes sont couvertes peut être calculée de façon à ce que chaque colonne ait une largeur totale de \begin_inset Formula $W_{\mathrm{tot\,multicolonne}}/n$ \end_inset : \begin_inset Formula \begin{equation} W_{g\,n}=(W_{g\,\mathrm{multicolonne}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn} \end{equation} \end_inset \end_layout \begin_layout Standard Dans notre cas nous avons \begin_inset Formula $n=2$ \end_inset , \begin_inset Formula $W_{g\,\mathrm{multicolonnen}}=2.5\,$ \end_inset cm et les valeurs implicites pour les autres longueurs, l'équation \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "eq:Wgn" \end_inset devient \begin_inset Formula \begin{equation} W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt} \end{equation} \end_inset \end_layout \begin_layout Standard Pour permettre des calculs avec \SpecialChar LaTeX , vous devez charger le paquetage \SpecialChar LaTeX \series bold calc \series default avec la ligne suivante dans le préambule du document \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! calc \end_layout \end_inset \end_layout \begin_layout Standard \series bold \backslash usepackage{calc} \end_layout \begin_layout Standard \SpecialChar LyX ne permet pas d'effectuer des calculs dans le champ largeur de la fenêtre de dialogue. Vous devez donc for mater la colonne en insérant un paramètre \SpecialChar LaTeX dans la fenêtre de dialogue. Voici un aperçu de ces paramètres : \end_layout \begin_layout Itemize \series bold p{largeur} \series default crée une cellule de taille donnée, le texte est aligné verticalement en haut. \end_layout \begin_layout Itemize \series bold m{largeur} \series default crée une cellule de taille donnée, le texte est aligné verticalement au centre \end_layout \begin_layout Itemize \series bold b{largeur} \series default crée une cellule de taille donnée, le texte est aligné verticalement en bas \end_layout \begin_layout Standard En entrant un paramètre \SpecialChar LaTeX , tous les réglages de cellule donnés dans la fenêtre de dialogue sont ignorés. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default À cause d'un bug, \SpecialChar LyX affiche quand même les réglages qui ne sont pas pris en compte. \end_layout \end_inset \end_layout \begin_layout Standard Comme le texte doit être centré horizontalement, on ajoute la commande \series bold \backslash centering \series default . Vous pouvez maintenant ajouter le paramètre \SpecialChar LaTeX suivant pour la première des colonnes recouvertes : \end_layout \begin_layout Standard \series bold >{ \backslash centering}m{1.25cm-6.2pt} \end_layout \begin_layout Standard La commande \series bold >{ } \series default signifie que les commandes qui se trouvent entre les accolades doivent être appliquées avant que la cellule ne soit créée. \end_layout \begin_layout Standard Bien que nous ayons choisi un alignement centré pour le texte de la cellule multi-colonnes, il est toujours aligné à gauche. Cela vient du fait que \SpecialChar LyX applique l'alignement seulement à des colonnes isolées. Nous devons donc utiliser le paramètre \SpecialChar LaTeX suivant pour la multi-colonnes \end_layout \begin_layout Standard \series bold >{ \backslash centering}m{2.5cm} \end_layout \begin_layout Subsection Multi-lignes \begin_inset CommandInset label LatexCommand label name "subsec:Multi-lignes" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Multi-lignes \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! multi-lignes \end_layout \end_inset \end_layout \begin_layout Standard Pour faire qu'une cellule couvre plusieurs lignes, marquez les cellules qu'elle doit couvrir et utilisez soit le bouton \begin_inset Info type "icon" arg "tabular-feature multirow" \end_inset de la barre d'outils tableau, ou le menu \family sans Édition\SpecialChar menuseparator Tableau\SpecialChar menuseparator Multi-lignes \family default , ou encore faites un clic droit sur les cellules sélectionnées et choisissez \family sans Multi-lignes \family default . \end_layout \begin_layout Standard Voici un exemple de tableau avec une cellule multi-lignes en première colonne: \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout un contenu long \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout multi-lignes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \begin_layout Standard La largeur de la cellule multi-lignes est déterminée par la largeur de toute la colonne. L' \family sans Espacement \begin_inset space ~ \end_inset vertical \family default décale le contenu de la cellule vers le haut ou le bas selon que sa valeur est positive ou négative. \end_layout \begin_layout Standard Si la colonne dans laquelle se trouve la multi-lignes n'a pas de largeur fixée explicitement, la cellule hérite de l'alignement de la colonne. Sinon, elle est alignée par défaut à gauche.Pour passer outre le comportement implicite, vous devez redéfinir la commande \series bold \backslash multirowsetup \series default avec la commande \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash multirowsetup}{ \backslash centering} \end_layout \begin_layout Standard dans le préambule du document. Après ça, tous les contenus de cellules multi-lignes du document seront centrés. Si vous ne souhaitez utiliser des contenus centrés que pour quelques tableaux, vous pouvez redéfinir la commande en l'insérant sous forme de code \SpecialChar TeX juste avant le tableau concerné, plutôt que dans le préambule. Si le texte doit être aligné à droite, remplacez \series bold \backslash centering \series default par \series bold \backslash raggedleft \series default . Pour revenir à l'alignement à gauche utilisez \series bold \backslash raggedright \series default . \end_layout \begin_layout Standard Voici un exemple de tableau avec une cellule multi-lignes alignée à droite avec un décalage vertical de -4 \begin_inset space \thinspace{} \end_inset mm dans une colonne de 3 \begin_inset space \thinspace{} \end_inset cm de large \begin_inset space ~ \end_inset : \end_layout \begin_layout Standard \noindent \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash multirowsetup}{ \backslash raggedleft} \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout un contenu long \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout t \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout n \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout m \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout multi-lignes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash multirowsetup}{ \backslash raggedright} \end_layout \end_inset \end_layout \begin_layout Standard Pour commencer une nouvelle ligne dans une cellule multi-lignes vous pouvez utiliser un saut de ligne forcé ( \begin_inset space ~ \end_inset raccourci \family sans Ctrl+Entrée \family default \begin_inset space ~ \end_inset ) mais dans ce cas les limites de cellules ne seront pas respectées comme on le voit dans ce tableau : \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout aaa \begin_inset Newline newline \end_inset aaa \begin_inset Newline newline \end_inset mauvaise cellule \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ccc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ddd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout bbb \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout eee \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Vous devez donc faire attention avec les saut de lignes forcés. \end_layout \begin_layout Subsection Cellules avec ligne(s) diagonale(s) \end_layout \begin_layout Standard Pour instruire le lecteur de la signification ds titres de lignes et de colonnes dans un tableau, il est pratique de partager le première cellule du tableau à l'aide d'une ou deux lignes diagonales. Ceci peut être obtenu ne chargeant dans le préambule du document les paquetage \SpecialChar LaTeX \series bold \lang english diagbox \series default \lang french \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! diagbox \end_layout \end_inset . Ce paquetage inclut la commande \series bold \lang english \backslash diagbox \series default \lang french que l'on peut insérer en mode \SpecialChar TeX et qui peut avoir 2 ou 3 arguments: \end_layout \begin_layout Standard \series bold \lang english \backslash diagbox[options] \lang french {inférieur gauche}{supérieur droit} \end_layout \begin_layout Standard \series bold \lang english \backslash diagbox[options] \lang french {inférieur gauche}{supérieur gauche}{supérieur droit} \end_layout \begin_layout Standard Dans le premier cas, la cellule est partagée par une seule ligne diagonale et les arguments sont placés au-dessus et en-dessous de cette ligne. Dans le second cas, la cellule est partagée par deux lignes. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifdiagbox \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 \SpecialChar LaTeX \series bold diagbox \series default . \end_layout \end_inset \end_layout \begin_layout Standard Voici un exemple de tableau où \series bold \lang english \backslash diagbox \lang french \series default est utilisé avec 2 arguments \begin_inset space ~ \end_inset dans la première cellule: \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard \noindent \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash diagbox{ \end_layout \end_inset Nom \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Paramètre \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Épaisseur en nm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Transparence en % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Dureté en MPa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Vert parfait \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 80 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 504 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Multi-P foncé \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 60 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 72 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 982 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Pro transparent \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 18 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 86 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 374 \end_layout \end_inset \end_inset \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard La forme à 3 arguments est utile par exemple pour les tableaux croisés de sport ou les distances: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash diagbox{ \end_layout \end_inset À domicile \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Résultat \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset À l'extérieur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Tigres \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Panthères \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Faucons \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Tigres \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout — \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1:3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0:1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Panthères \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3:1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout — \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0:0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Faucons \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1:0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0:0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout — \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Pour des tableaux croisés plus grands on peut utiliser des diagonales dans 2 coins ou plus du tableau comme ici: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox{ \end_layout \end_inset À domicile}{Résultat \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset À l'extérieur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Tigres \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Panthères \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Faucons \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox[dir=NE]{ \end_layout \end_inset À domicile \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Résultat \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset À l'extérieur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Tigres \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout — \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1:3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0:1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Tigres \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Panthères \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3:1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout — \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0:0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Panthères \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Faucons \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1:0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0:0 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout — \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Faucons \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox[dir=SW]{ \end_layout \end_inset À domicile \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Résultat \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset À l'extérieur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Tigres \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Panthères \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Faucons \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox[dir=SE]{ \end_layout \end_inset À domicile \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Résultat \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset À l'extérieur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Pour faire pivoter les diagonales, il faut utiliser l'option de commande \series bold dir=direction \series default : \emph on direction \emph default est à choisir parmi \series bold NE \series default , \series bold SE \series default , \series bold SW \series default et \series bold NW \series default comme sur une rose des vents. \series bold SW \series default est par exemple le coin sud-ouest, c'est à-dire le coin inférieur gauche du tableau ci-dessus, désigné via la commande: \end_layout \begin_layout Standard \series bold \lang english \backslash diagbox[dir=SW]{ \series default \lang french À domicile \series bold \lang english }{ \series default \lang french Résultat \series bold \lang english }{ \series default \lang french À l'extérieur \series bold \lang english } \series default \lang french . \end_layout \begin_layout Standard Si aucune direction n'est spécifiée, elle est implicitement NW. \end_layout \begin_layout Standard La largeur nécessaire pour le partage des cellules est calculée automatiquement. De ce fait, si vous fixez une largeur de colonne plus petite que nécessaire, le contenu de la cellule va déborder: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash diagbox{ \end_layout \end_inset Nom \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Paramètre \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Épaisseur en nm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Vert parfait \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Si vous avez besoin d'une certaine largeur pour des colonnes incluant une cellule partagée, utilisez l'option de commande \series bold \lang english width=3cm \series default \lang french (remplacez \begin_inset Quotes fld \end_inset 3cm \begin_inset Quotes frd \end_inset par la largeur désirée). Dans le tableau qui suit, la largeur de la première colonne est réglée à 4cm. Pour \series bold \lang english \backslash diagbox \series default \lang french une largeur de 4 \begin_inset space \thinspace{} \end_inset cm + 2 \begin_inset space \thinspace{} \end_inset \backslash tabcolsep est nécessaire puisque la largeur globale est celle du texte (dans ce cas, les 4cm) plus deux lignes de séparation entre le texte et le bord de la cellule. Le calcul de la largeur ne peut pas être fait directement dans l'option de la commande \series bold \lang english \backslash diagbox \series default \lang french , il faut donc créer une nouvelle longueur qui pourra être utilisée dans la suite. Ceci se fait via les commandes en code \SpecialChar TeX : \end_layout \begin_layout Standard \series bold \backslash newlength{ \backslash diagtest} \begin_inset Newline newline \end_inset \backslash setlength{ \backslash diagtest}{4cm+2 \backslash tabcolsep} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash newlength{ \backslash diagtest} \end_layout \begin_layout Plain Layout \backslash setlength{ \backslash diagtest}{4cm+2 \backslash tabcolsep} \end_layout \end_inset \end_layout \begin_layout Standard Pour permettre les calculs en \SpecialChar LaTeX , il faut charger dans le préambule du document le paquetage \series bold calc \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! calc \end_layout \end_inset . \end_layout \begin_layout Standard Dans le tableau vous pouvez maintenant utiliser la commande \end_layout \begin_layout Standard \series bold \backslash diagbox[width= \backslash diagtest]{A}{B} \end_layout \begin_layout Standard dans la première cellule: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox[width= \backslash diagtest]{ \end_layout \end_inset A \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \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 Épaisseur en nm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Vert parfait \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Noter que la cellule partagée doit être la plus large de la colonne, sinon la longueur de la diagonale ne peut pas être calculée correctement comme dans ce tableau: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash diagbox{ \end_layout \end_inset A \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \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 Épaisseur en nm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Vert parfait \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Dans ce cas, vous pouvez utiliser directement \series bold \lang english width \series default \lang french dans l'option de \series bold \lang english \backslash diagbox \series default \lang french , il n'est plus nécessaire d’ajouter 2 \backslash tabcolsep puisque la largeur de cellule est maintenant la largeur de la colonne. Ici une largeur de 3cm est utilisée: \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox[width=3cm]{ \end_layout \end_inset A \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \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 Épaisseur en nm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Vert parfait \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Pour les lignes multiples dans une cellule partagée, il faut une hauteur supplémentaire pour placer le texte dans la cellule. Ceci peut être obtenu avec l'option \series bold \lang english height \lang french =3cm \series default de la commande \series bold \lang english \backslash diagbox \series default \lang french (remplacer « 3cm » par la hauteur désirée). Dans le tableau qui suit, la commande \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 est utilisée dans la première cellule. La commande \backslash \backslash crée le saut de ligne \begin_inset Foot status open \begin_layout Plain Layout Couper les lignes via Ctrl+Entrée n'est possible que pour des colonnes de largeur fixée. \end_layout \end_inset . \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash diagbox[width=3cm,height=1.4cm]{ \end_layout \end_inset A \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \backslash \end_layout \end_inset B \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset C \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \backslash \end_layout \end_inset D \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Épaisseur en nm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Vert parfait \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \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 \SpecialChar LaTeX \series bold diagbox \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage \SpecialChar LaTeX \series bold diagbox \series default pour voir le contenu de 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 Standard Pour en savoir plus sur le paquetage \SpecialChar LaTeX \series bold \lang english diagbox \series default \lang french , voir sa documentation, \begin_inset CommandInset citation LatexCommand cite key "diagbox" \end_inset . \end_layout \begin_layout Section Les tableaux formels \begin_inset CommandInset label LatexCommand label name "sec:Tableaux-Formels" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Formel \end_layout \end_inset \end_layout \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_inset CommandInset ref LatexCommand ref reference "tab:Exemple-tableau-booktabs" \end_inset . Ce genre de tableau est appelé \begin_inset Quotes fld \end_inset \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_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Exemple-tableau-booktabs" \end_inset Exemple de tableau formel \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Système \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Chip \begin_inset space \thinspace{} \end_inset 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Chip \begin_inset space \thinspace{} \end_inset 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \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 Épaisseur du capteur en µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 700 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Angle du biseau en ° \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3.55 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2.71 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 7.99 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Résolution spatiale en µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4.26 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.17 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.56 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout MTF à \begin_inset Formula $f_{\mathrm{max}}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.53 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.37 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.39 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule[2pt](l{10pt}){1-1} \end_layout \end_inset résolution spatiale LSF \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout en µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 129.7 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 52.75 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 50.78 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout en % de la taille des pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 76.3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 95.9 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 92.3 \end_layout \end_inset \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 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 "subsec:Espacement-lignes" \end_inset . \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'annexe \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref 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-colonnes. \SpecialChar 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 \SpecialChar LyX , vous devez donc utiliser du code \SpecialChar 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 \SpecialChar 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 \series bold largeur \series default 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[2pt](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 \SpecialChar 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 \SpecialChar 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 \SpecialChar 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 Standard \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 \begin_inset Text \begin_layout Plain Layout Système \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Chip \begin_inset space \thinspace{} \end_inset 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Chip \begin_inset space \thinspace{} \end_inset 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \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 \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 700 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Angle biseau en ° \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3.55 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2.71 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 7.99 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Résolution spatiale en µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4.26 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.17 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.56 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout MTF à \begin_inset Formula $f_{\mathrm{max}}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.53 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.37 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.39 \end_layout \end_inset \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 \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout en µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 129.7 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 52.75 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 50.78 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout en % de la taille des pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 76.3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 95.9 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 92.3 \end_layout \end_inset \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" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \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" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \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" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \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" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \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" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \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 "subsec: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 \SpecialChar 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 \SpecialChar 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 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 1 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 \begin_inset Text \begin_layout Plain Layout \color green a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color green d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color green g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue i \end_layout \end_inset \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 Édition\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 \SpecialChar LaTeX \series bold colortbl \series default . \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar 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 \SpecialChar 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 "subsec: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 l'option \end_layout \begin_layout Standard \series bold dvipsname \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'annexe \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 fld \end_inset \emph on vertfonce \begin_inset Quotes frd \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 \begin_inset Quotes fld \end_inset grisclair \emph default \begin_inset Quotes frd \end_inset 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 \SpecialChar 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 Édition\SpecialChar menuseparator Style \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Texte \family default . Si une cellule contient du code \SpecialChar TeX , faites bien attention à ne colorer que le texte, sinon le code \SpecialChar TeX coloré provoquera des erreurs \SpecialChar 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 \SpecialChar TeX pour cette colonne. La première ligne doit être bleu clair, d'où la commande en code \SpecialChar 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 \SpecialChar 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 Édition\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 Standard \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 1 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 \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 \begin_inset Text \begin_layout Plain Layout \color red b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color yellow d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color yellow g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue h \end_layout \end_inset \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 \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 Lignes colorées \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau Coloré ! Pour les lignes \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Couleur ! Pour les lignes de tableau \end_layout \end_inset \end_layout \begin_layout Standard Dans le cas où on désire qu'une ligne sur deux soit colorée, il existe une alternative à la méthode décrite dans le paragraphe précédent: il faut charger le paquetage \series bold xcolor \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! xcolor \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash vspace{4mm} \end_layout \end_inset \end_layout \end_inset dans le préambule du document avec la commande \end_layout \begin_layout Standard \series bold \backslash usepackage[table]{xcolor} \end_layout \begin_layout Standard \series bold xcolor \series default charge automatiquement le paquetage \series bold colortbl \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! colortbl \end_layout \end_inset , il faut donc que \series bold colortbl \series default existe dans votre distribution \SpecialChar LaTeX , sinon vous aurez des erreurs. \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 \SpecialChar LaTeX \series bold colortbl \series default . \end_layout \end_inset \end_layout \begin_layout Standard Les lignes de tableau sont colorées par la commande \end_layout \begin_layout Standard \series bold \backslash rowcolors[commandes]{numéro de ligne}{couleur ligne impaire}{couleur ligne paire} \end_layout \begin_layout Standard insérée soit dans le préambule du document, soit en code \SpecialChar TeX avant le premier tableau nécessitant la coloration alternative des lignes. \series bold numéro de ligne \series default est le numéro de la première ligne à colorer avec la couleur de ligne impaire. \series bold commandes \series default \emph on \emph default désigne des commandes additionnelles exécutées avant chaque ligne du tableau. Par exemple la commande \end_layout \begin_layout Standard \series bold \backslash rowcolors{1}{white}{lightgray} \end_layout \begin_layout Standard donne le schéma de couleurs du tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Table-rowcolors" \end_inset . La commande \end_layout \begin_layout Standard \series bold \backslash rowcolors[ \backslash hline]{1}{lightgray}{cyan} \end_layout \begin_layout Standard donne le schéma de couleurs du tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Table-rowcolors-2" \end_inset . Si \series bold couleur ligne impaire \series default ou \series bold couleur ligne paire \series default est vide, aucune couleur n'est utilisée, donc la commande \end_layout \begin_layout Standard \series bold \backslash rowcolors{1}{}{} \end_layout \begin_layout Standard supprime toutes les couleurs. \series bold \backslash rowcolors \series default s'applique aux tableaux qui suivent cette commande. \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash rowcolors{1}{white}{lightgray} \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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Table-rowcolors" \end_inset Tableau avec une colonne sur deux en gris clair. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout X \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Y \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Z \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 6 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 7 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 8 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 9 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash rowcolors[ \backslash hline]{1}{lightgray}{cyan} \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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Table-rowcolors-2" \end_inset Tableau avec une colonne sur deux en cyan et avec un filet entre chaque ligne \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout X \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Y \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Z \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 6 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 7 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 8 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 9 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rowcolors{1}{}{} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout \lang english turns off the row coloring \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és \begin_inset Index idx status open \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 "subsec: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 "subsec: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 \SpecialChar 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 Standard \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 \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \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 \SpecialChar 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 Standard \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 \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Pour revenir à la couleur noire implicite, insérez la commande suivante en code \SpecialChar 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" \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 \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-avec-filets-colorés" \end_inset Tableau avec filets horizontaux et verticaux colorés \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash hline}{ \backslash myHlineC} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{1.2pt} \end_layout \end_inset \end_layout \begin_layout Standard Pour mettre en couleur une partie des lignes seulement, une autre stratégie est nécessaire. Pour mettre en couleur toutes les lignes horizontales qui suivent une ligne donnée, insérer cette commande en mode \SpecialChar TeX en tant que dernière saisie dans la ligne qui doit précéder la première ligne colorée: \end_layout \begin_layout Standard \series bold \backslash \backslash \backslash arrayrulecolor{blue}% \end_layout \begin_layout Standard Pour revenir aux lignes noires, ajouter cette commande en tant que première saisie dans la ligne située au-dessus des lignes noires: \end_layout \begin_layout Standard \series bold \backslash arrayrulecolor{black} \end_layout \begin_layout Standard Avec ces commandes, il est possible d'obtenir des lignes colorées comme dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Table-with-different-hor" \end_inset . Cependant, cette méthode ne permet pas de colorer la ligne située au-dessus de la première ligne du tableau. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Table-with-different-hor" \end_inset Tableau avec des lignes de couleurs différentes \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash \backslash \backslash arrayrulecolor{blue}% \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Y \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Y \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash arrayrulecolor{black} \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \backslash \backslash arrayrulecolor{green}% \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash arrayrulecolor{black} \end_layout \end_inset B \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \backslash \backslash arrayrulecolor{blue}% \end_layout \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Pour modifier la couleur des lignes verticales dans une ligne donnée, comme dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Table-with-different-ver" \end_inset , il faut utiliser les multi-colonnes. D'abord, supprimer toutes les lignes verticales qui ne couvrent pas toute la colonne. Ensuite, colorer toutes les lignes via la commande: \end_layout \begin_layout Standard \series bold \backslash \backslash \backslash arrayrulecolor{blue}% \end_layout \begin_layout Standard comme vu plus haut. Enfin insérer la commande suivante en mode \SpecialChar TeX pour chaque cellule de la ligne qui nécessite une ligne verticale avec une couleur différente: \end_layout \begin_layout Standard \series bold \backslash multicolumn{1}{!{ \backslash color{green} \backslash vline}c!{ \backslash color{red} \backslash vline}}{ \end_layout \begin_layout Standard Ceci ajoute une ligne verticale des deux côtés de la cellule: à gauche, une ligne verte, à droite, une ligne rouge. S'il n'est pas nécessaire de changer la couleur, il est possible d'éviter le mettre la commande \series bold \backslash color \series default . Pour obtenir par exemple une ligne noire à gauche et une ligne bleue à droite, on peut saisir: \end_layout \begin_layout Standard \series bold \backslash multicolumn{1}{!{ \backslash color{black} \backslash vline}c|}{ \end_layout \begin_layout Standard du fait que la couleur bleue était déjà choisie pour toutes les lignes. Le caractère | crée donc la ligne verticale tandis que \series bold \backslash vline \series default le fait quand \series bold \backslash color \series default est utilisée. Pour mettre des lignes verticales sans changer aucune couleur, utiliser la commande: \end_layout \begin_layout Standard \series bold \backslash multicolumn{1}{|c|}{ \end_layout \begin_layout Standard Après cette commande saisir le contenu de la cellule comme d'habitude en ajoutant une accolade fermante \series bold } \series default en code \SpecialChar TeX . \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Table-with-different-ver" \end_inset Tableau avec différentes couleurs pour les lignes verticales dans une ligne. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash \backslash \backslash arrayrulecolor{red}% \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash multicolumn{1}{!{ \backslash color{black} \backslash vline}c|}{ \end_layout \end_inset Y \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash multicolumn{1}{c|}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash multicolumn{1}{c!{ \backslash color{black} \backslash vline}}{ \end_layout \end_inset Y \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash arrayrulecolor{black} \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \backslash \backslash arrayrulecolor{magenta}% \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{|c!{ \backslash color{red} \backslash vline}}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{c!{ \backslash color{green} \backslash vline}}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{c!{ \backslash color{yellow} \backslash vline}}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{c!{ \backslash color{blue} \backslash vline}}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{c!{ \backslash color{cyan} \backslash vline}}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{c!{ \backslash color{black} \backslash vline}}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multicolumn{1}{c|}{ \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash arrayrulecolor{black} \end_layout \end_inset B \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{0.4pt} \end_layout \end_inset \end_layout \begin_layout Section Pivotement des cellules \begin_inset CommandInset label LatexCommand label name "sec:Pivotement-des-cellules" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Pivotement des cellules \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Pivoter des objets \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default toutes les visionneuses DVI n'affichent pas les rotations. \end_layout \end_inset \end_layout \begin_layout Standard Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-incluant-des" \end_inset est un exemple dans lequel 3 cellules pivotent de 45 \begin_inset space \thinspace{} \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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-incluant-des" \end_inset Tableau incluant des cellules pivotées dans la première ligne. \end_layout \end_inset \end_layout \begin_layout Plain Layout \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout soucoupes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout assiettes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout plats \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 45 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 33 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 21 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default les ruptures de ligne (raccourci \begin_inset Info type "shortcut" arg "newline-insert newline" \end_inset ) ne sont pas autorisées dans les cellules pivotées \end_layout \end_inset \end_layout \begin_layout Standard Si vous voulez faire pivoter des cellules avec des ruptures de ligne, il faut encapsuler le contenu de la cellule dans une minipage ou une parbox. \begin_inset Foot status collapsed \begin_layout Plain Layout Pour en savoir plus sur ces boîtes, voir les sections \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipages" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "sec:Parboxes" \end_inset . \end_layout \end_inset Si vous faites pivoter cette cellule de 90°, la largeur de la boîte est la hauteur de la cellule. Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-incluant-une" \end_inset donne un exemple d'une cellule multi-lignes où la largeur de boîte a été réglée à 3 \begin_inset space \thinspace{} \end_inset cm. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-incluant-une" \end_inset Tableau incluant une cellule multi-lignes pivotée. \end_layout \end_inset \end_layout \begin_layout Plain Layout \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 0 width "3cm" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout cellule pivotée \begin_inset Newline newline \end_inset avec saut de ligne \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Section Calcul de la largeur du tableau \begin_inset CommandInset label LatexCommand label name "sec:Table-Width-Calculation" \end_inset \end_layout \begin_layout Standard Pour les tableaux un peu larges il est parfois difficile de garantir que le tableau ne déborde pas dans la marge. Fixer une largeur pour chaque colonne est une solution, mais quelle est la valeur à donner à chacune? \end_layout \begin_layout Standard La largeur du tableau \begin_inset Formula $L_{\mathrm{tableau}}$ \end_inset peut se calculer précisément: chaque colonne contribue pour sa largeur propre \begin_inset Formula $L_{\mathrm{colonne}}$ \end_inset (que le contenu est autorisé à occuper), plus deux fois la largeur de la séparation entre le contenu de la colonne et sa bordure (la longueur \SpecialChar LaTeX \series bold \backslash tabcolsep \series default , implicitement 6 \begin_inset space \thinspace{} \end_inset pt), plus la largeur du filet de bordure (la longueur \SpecialChar LaTeX \series bold \backslash arrayrulewidth \series default , implicitement 0.4 \begin_inset space \thinspace{} \end_inset pt). Donc si les \begin_inset Formula $n$ \end_inset \begin_inset space ~ \end_inset colonnes ont la même largeur, la largeur du tableau est \begin_inset Formula \begin{equation} L_{\mathrm{tableau}}=n\left(L_{\mathrm{colonne}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth} \end{equation} \end_inset \end_layout \begin_layout Standard La largeur disponible pour placer un tableau est la distance entre les marges de la page ou la largeur de la colonne de texte (pour un document présenté sur 2 colonnes), c'est-à-dire la longueur \SpecialChar LaTeX \series bold \backslash columnwidth \series default . Si toutes le colonnes ont la même largeur et que \begin_inset Formula $L_{\mathrm{tableau}}$ \end_inset doit valoir 1 \begin_inset space \thinspace{} \end_inset \backslash columnwidth, \begin_inset Formula $L_{\mathrm{colonne}}$ \end_inset se calcule facilement. \end_layout \begin_layout Standard Pour pouvoir faire des calculs, il faut charger le paquetage \SpecialChar LaTeX \series bold calc \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! calc \end_layout \end_inset dans le préambule du document. Pour fixer la largeur d'une colonne dans la fenêtre de dialogue du tableau, il faut utiliser le champ \family sans Argument \SpecialChar LaTeX \family default . Le principe des commandes qui peuvent être saisies dans ce champ est celui qui est expliqué dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Calculs-multicolonnes" \end_inset . Pour un tableau avec 5 colonnes de largeur identique et un texte centré, saisir pour chaque colonne la commande \end_layout \begin_layout Standard \series bold >{ \backslash centering}p{(1 \backslash columnwidth-62.4pt)/5} \end_layout \begin_layout Standard Pour un tableau avec 5 colonnes dont deux de largeur 0.75 \begin_inset space ~ \end_inset fois celle des 3 autres, le calcul est le suivant: \end_layout \begin_layout Standard \begin_inset Formula \begin{align} \backslash\mbox{columnwidth} & =3\,L_{\mathrm{colonne}}+2\cdot0.75\,L_{\mathrm{colonne}}+\backslash\mbox{arrayrulewidth}\nonumber \\ & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\ & =4.5\,L_{\mathrm{colonne}}+62.4\,\mathrm{pt}\nonumber \\ L_{\mathrm{colonne}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5} \end{align} \end_inset \end_layout \begin_layout Standard Par conséquent, dans le tableau, la commande \end_layout \begin_layout Standard \series bold >{ \backslash centering}p{(1 \backslash columnwidth-62.4pt)/ \backslash real{4.5}} \end_layout \begin_layout Standard est utilisée pour les colonnes les plus larges, et la commande \end_layout \begin_layout Standard \series bold >{ \backslash centering}p{(1 \backslash columnwidth-62.4pt)/ \backslash real{4.5}* \backslash real{0.75}} \end_layout \begin_layout Standard est utilisée pour les plus étroites: \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111111 1111111 111111 111111111 11111 11111 1111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2222 22222 222222 222222222 2222222 22 22222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 333333 333333 333333 33333 3333333 333 \end_layout \end_inset \end_inset \end_layout \begin_layout Section Personnalisation des tableaux \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Personnalisation \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Personnalisation des tableaux \end_layout \end_inset \end_layout \begin_layout Subsection Espacement des lignes \begin_inset CommandInset label LatexCommand label name "subsec:Espacement-lignes" \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 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 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 Les tableaux formels sont décrits dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Formels" \end_inset . \end_layout \end_inset \SpecialChar LyX va insérer implicitement un espace de 0.5 \begin_inset space \thinspace{} \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 \begin_inset Newline newline \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout espace de 3 \begin_inset space \thinspace{} \end_inset mm en haut de la ligne \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout C \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \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 Description Bas \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 \SpecialChar 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 pt. \end_layout \begin_layout Description Entre \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 \SpecialChar LyX va insérer implicitement un espace de 0.5 \begin_inset space \thinspace{} \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 \begin_inset Newline newline \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\downarrow$ \end_inset espace de 3 \begin_inset space \thinspace{} \end_inset mm entre les lignes \begin_inset Formula $\downarrow$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\uparrow$ \end_inset espace de 3 \begin_inset space \thinspace{} \end_inset mm entre les lignes \begin_inset Formula $\uparrow$ \end_inset \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset VSpace medskip \end_inset \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 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 @ifundefined{extrarowheight} \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 usepackage{array}}{} \begin_inset Newline newline \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 \SpecialChar 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 @ifundefined \series default dans la commande précédente.) \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 \backslash strut \series default en code \SpecialChar TeX au debut d'une ligne du tableau. Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Alignement-vertical" \end_inset 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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Alignement-vertical" \end_inset Alignement vertical d'un texte avec une police de grande taille. \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset space \hfill{} \end_inset \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Tableau normal. \end_layout \end_inset \end_layout \begin_layout Plain Layout \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Normal, g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size large Large \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size larger Larger \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size largest Largest \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size huge Huge \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size huge Huger \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Tableau utilisant la commande \series bold \backslash strut \series default . \end_layout \end_inset \end_layout \begin_layout Plain Layout \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Normal, g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size large \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash strut \end_layout \end_inset Large \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size larger \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash strut \end_layout \end_inset Larger \end_layout \end_inset \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 \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 \begin_inset Text \begin_layout Plain Layout \size giant \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash strut \end_layout \end_inset \size huge Huger \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Subsection Alignements de cellules spéciaux \begin_inset CommandInset label LatexCommand label name "subsec: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 \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 Info type "icon" arg "tabular-feature align-decimal" \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 Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-centré-sur-séparateur-1" \end_inset Les cellules d'une colonnes sont centrées sur le séparateur décimal. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout en-tête \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12,6 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0,68 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout -123,0 \end_layout \end_inset \end_inset \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 Standard \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. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout en-tête \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $12\,+$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\,6$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $0\,-$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\,68$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $-123\,/$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\,0$ \end_inset \end_layout \end_inset \end_inset \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 \begin_inset space ~ \end_inset \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-colonnes 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 \SpecialChar LaTeX suivant a été utilisé pour la deuxième colonne : \end_layout \begin_layout Standard \series bold @{}l \end_layout \begin_layout Standard Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Plusieurs-exemples-alignements" \end_inset 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_inset CommandInset ref LatexCommand ref reference "tab:Tableau-centré-sur-séparateur-2" \end_inset . \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Plusieurs-exemples-alignements" \end_inset Plusieurs exemples d'alignement de cellules. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout unités \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout exposants \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout relations \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12× \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 24 \begin_inset space \thinspace{} \end_inset bouteilles \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10\cdot$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10^{\mbox{-}17}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\Gamma(t)\propto$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\:\Upsilon(t)$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024× \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 768 \begin_inset space \thinspace{} \end_inset Pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $5.78\cdot$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10^{7}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $A\ne$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\:B_{\mathrm{red}}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32× \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 6 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \begin_inset Formula $33.5\cdot$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10^{4}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\sin(\alpha)\ge$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\:\sin(\beta)$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Formats de cellule et de colonne personnalisés \begin_inset CommandInset label LatexCommand label name "subsec:Formats-personnalisés" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout 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 \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Table-Width-Calculation" \end_inset et pour des colonnes couvertes par un cellule multi-colonnes comme dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec: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 \series bold \backslash 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 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 \begin_layout Standard \series bold \backslash newcolumntype{M}[1]{>{ \backslash centering \backslash hspace{0pt}}m{#1}} \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 \begin_inset CommandInset ref LatexCommand ref reference "subsec:Lignes-multiple-dans-cellule" \end_inset . Ensuite, vous pouvez entrer \end_layout \begin_layout Standard \series bold M{width} \end_layout \begin_layout Standard comme paramètre \SpecialChar LaTeX dans la fenêtre de dialogue de tableau pour créer une multi-col onnes. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Pour les cellules qui sont couvertes par la cellule multi-colonnes, vous pouvez définir le format \end_layout \begin_layout Standard \series bold \backslash newcolumntype{S}[2]{>{ \backslash centering \backslash hspace{0pt}} \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \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 \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wgn" \end_inset pour calculer la largeur que doit avoir chacune des cellules couverte par la cellule multi-colonnes pour qu'elles aient toutes la même largeur. \end_layout \begin_layout Standard Ensuite, vous pouvez entrer \end_layout \begin_layout Standard \series bold S{largeur de la cellule multi-colonnes}{nombre de colonnes couvertes} \end_layout \begin_layout Standard comme paramètre \SpecialChar LaTeX de la colonne. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Pour des colonnes colorées, vous pouvez définir \end_layout \begin_layout Standard \series bold \backslash newcolumntype{K}[1]{>{ \backslash columncolor{#1} \backslash hspace{0pt}}c} \end_layout \begin_layout Standard Le \begin_inset Quotes fld \end_inset c \begin_inset Quotes frd \end_inset à la fin crée une colonne de largeur variable dont le texte est centré horizontalement. Vous pouvez maintenant entrer \end_layout \begin_layout Standard \series bold K{nom de couleur} \end_layout \begin_layout Standard comme paramètre \SpecialChar LaTeX . \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-formats-personnalisés" \end_inset utilisez les paramètres \SpecialChar LaTeX \end_layout \begin_layout Standard \series bold M{2.5cm} \end_layout \begin_layout Standard pour la première colonne et la multi-colonnes, \end_layout \begin_layout Standard \series bold K{red} \end_layout \begin_layout Standard pour la dernière colonne, et \end_layout \begin_layout Standard \series bold S{2.5cm}{2} \end_layout \begin_layout Standard pour les cellules de la deuxième 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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-formats-personnalisés" \end_inset Tableau utilisant des formats personnalisés \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout motTrèsLongDansUneCellule \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout multi-colonnes avec multi-lignes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout k \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Épaisseur des filets \begin_inset CommandInset label LatexCommand label name "subsec: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'é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-filets-1.5pt" \end_inset , insérez la commande \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash arrayrulewidth}{1.5pt} \end_layout \begin_layout Standard en code \SpecialChar 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 pt en utilisant du code \SpecialChar LaTeX après le tableau ou le flottant de tableau. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{1.5pt} \end_layout \end_inset \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-filets-1.5pt" \end_inset Tableau avec des filets de 1.5 \begin_inset space \thinspace{} \end_inset pt \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{0.4pt} \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 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 \SpecialChar 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 \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 \begin_layout Standard Pour revenir à l'épaisseur de filet implicite, insérez les commandes suivantes en code \SpecialChar TeX après le tableau ou le flottant de tableau : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash hline}{ \backslash myHline} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myHline \backslash hline \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash hline} \end_layout \begin_layout Plain Layout { \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 \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \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 \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash hline}{ \backslash myHline} \end_layout \end_inset \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 "subsec:Formats-personnalisés" \end_inset : \end_layout \begin_layout Standard \series bold \backslash newcolumntype{V}{!{ \backslash vrule width 1.5pt}} \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 \SpecialChar 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. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \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 pt \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \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 \SpecialChar 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 Standard \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 \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hdashline \end_layout \end_inset k \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout l \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout m \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout n \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout o \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \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 q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout t \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout u \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout v \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout x \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \SpecialChar LyX ne gère pas de façon native les filets à lignes interrompues, vous devez donc employer du code \SpecialChar TeX . Mais avant il faut charger le paquetage \SpecialChar LaTeX \series bold arydshln \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! arydshln \end_layout \end_inset dans le préambule du document avec la commande \end_layout \begin_layout Standard \series bold \backslash usepackage{arydshln} \end_layout \begin_layout Standard Pour faire un filet vertical avec un trait interrompu, mettez deux points \begin_inset Quotes fld \end_inset : \begin_inset Quotes frd \end_inset avec le caractère décrivant l'alignement horizontal comme paramètre \SpecialChar LaTeX dans la fenêtre de dialogue de paramètre du tableau. \end_layout \begin_layout Standard Pour un trait horizontal interrompu, ajoutez la commande \end_layout \begin_layout Standard \series bold \backslash hdashline \end_layout \begin_layout Standard en code \SpecialChar TeX comme premier élément de la première cellule de la ligne de tableau. \end_layout \begin_layout Standard Pour des filets interrompus avec des cellules multi-colonnes, utilisez la commande \end_layout \begin_layout Standard \series bold \backslash cdashline{ \series default numéros de colonnes} \end_layout \begin_layout Standard en code \SpecialChar TeX comme premier élément de la première cellule de la ligne. Si par exemple, vous avez une cellule multi-colonnes qui couvre les colonnes 2 à 4 et que vous voulez un filet interrompu au dessus, ajoutez la commande \end_layout \begin_layout Standard \series bold \backslash cdashline{2-4} \end_layout \begin_layout Standard comme premier élément de la première cellule de la ligne contenant la multi-colo nnes. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-filets-tirets" \end_inset a été créé en utilisant \begin_inset Quotes fld \end_inset \series bold :c \series default \begin_inset Quotes frd \end_inset comme paramètre \SpecialChar LaTeX pour la troisième colonne. La commande en code \SpecialChar 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 \SpecialChar 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 \begin_inset VSpace bigskip \end_inset Les filets interrompus peuvent également colorés comme indiqué tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Colored-table-with" \end_inset . \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{1pt} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout filets épaissis pour un meilleur affichage de la couleur du file \lang english t \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash dashgapcolor{green} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout espaces entre les tirets en vert \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myHdashline \backslash hdashline \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash hdashline} \end_layout \begin_layout Plain Layout { \backslash arrayrulecolor{red} \backslash myHdashline \backslash arrayrulecolor{black}} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout filets interrompus horizontaux en rouge \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myCdashline \backslash cdashline \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash cdashline}[1] \end_layout \begin_layout Plain Layout { \backslash arrayrulecolor{yellow} \backslash myCdashline{#1} \backslash arrayrulecolor{black}} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout filets interrompus horizontaux en jaune, partiellement \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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Colored-table-with" \end_inset Tableau coloré avec filets interropus \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hdashline \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rowcolor{Gray} \end_layout \end_inset k \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout l \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout m \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout n \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout o \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \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 q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout t \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout u \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout v \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cellcolor{Maroon} \end_layout \end_inset i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash hdashline}{ \backslash myHdashline} \end_layout \end_inset \lang english \begin_inset Note Note status collapsed \begin_layout Plain Layout retour à la valeur implicite \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash cdashline}{ \backslash myCdashline} \end_layout \end_inset \lang english \begin_inset Note Note status collapsed \begin_layout Plain Layout retour à la valeur implicite \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash nodashgapcolor \end_layout \end_inset \lang english \begin_inset Note Note status collapsed \begin_layout Plain Layout retour à la valeur implicite \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{0.4pt} \end_layout \end_inset \lang english \begin_inset Note Note status collapsed \begin_layout Plain Layout retour à la valeur implicite \end_layout \end_inset \end_layout \begin_layout Standard La coloration des lignes, des colonnes et des filets fonctionne comme il est décrit section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . Coloret les filets horizontaux fonctionne de manière analogue comme il est décrit ici, il suffit de remplacer la commande \series bold \backslash myHlineC \series default par \series bold \backslash myHdashline \series default et la commande \backslash \series bold hlinepar \series default \series bold \backslash hdashline \series default . On utilise donc les commandes: \end_layout \begin_layout Standard \series bold \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 \begin_inset space ~ \end_inset \end_layout \end_inset { \backslash arrayrulecolor{red} \backslash myHdashline \backslash arrayrulecolor{black}} \end_layout \begin_layout Standard Pour colorer \series bold \backslash cdashline \series default , la commande est: \end_layout \begin_layout Standard \series bold \backslash let \backslash myCdashline \backslash cdashline \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash cdashline}[1] \begin_inset Newline newline \end_inset \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 revenir à un filet noir, il faut insérer les commandes suivantes en code \SpecialChar TeX après le tableau, \end_layout \begin_layout Standard pour \series bold \backslash hdashline: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash hdashline}{ \backslash myHdashline} \end_layout \begin_layout Standard et pour \series bold \backslash cdashline \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash cdashline}{ \backslash myCdashline} \end_layout \begin_layout Standard Pour colorer les espaces entre les tirets la commande \end_layout \begin_layout Standard \series bold \backslash dashgapcolor{couleur} \end_layout \begin_layout Standard peut être insérée en code \SpecialChar TeX avant un tableau. \series bold couleur \series default est ici le nom d'une couleur définie précédemment. La commande \end_layout \begin_layout Standard \series bold \backslash nodashgapcolor \end_layout \begin_layout Standard annule les changements induits par \series bold \backslash dashgapcolor \series default . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Not \series default a: s'il y a plusieurs commandes dans une cellule, Il faut placer la commande de \series bold arydshln \series default en premier. Donc dans la cellule \emph on k \emph default du tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Colored-table-with" \end_inset , la commande \series bold \backslash hdashline \series default est placée avant \series bold \backslash rowcolor \series default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default le paquetage \SpecialChar LaTeX \series bold arydshln \series default doit être chargé dans le préambule \emph on avant \emph default le paquetage \series bold colortbl \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! colortbl \end_layout \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 \SpecialChar LaTeX \series bold arydshln \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage \SpecialChar LaTeX \series bold arydshln \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 Standard Pour les détails concernant les filets colorés, voir la documentation du paquetage \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 LatexCommand label name "chap:Flottants" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants \end_layout \end_inset \end_layout \begin_layout Section Introduction \begin_inset CommandInset label LatexCommand label name "sec:Flottants-Introduction" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Introduction \end_layout \end_inset \end_layout \begin_layout Standard Un flottant est une portion de document, qui peut être associé à une étiquette et dont la position n'est pas fixée. Il peut \begin_inset Quotes fld \end_inset flotter \begin_inset Quotes frd \end_inset d'une page ou deux en avant ou en arrière, pour trouver l'emplacement le plus approprié. Les \family sans Notes \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset Bas \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Page \family default et le \family sans Notes \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset Marge \family default sont par exemple aussi des flottants, puisqu'elles peuvent se retrouver sur la page suivante quand il y a trop de notes sur la page courante. \end_layout \begin_layout Standard Grâce aux flottants, on peut obtenir automatiquement une mise en page de très grande qualité. Les images et les tableaux peuvent être répartis sur plusieurs pages pour éviter des lignes blanches ou des pages sans texte. Comme le fait d'utiliser un flottant supprime la liaison entre le texte et le tableau ou l'image, on va pouvoir faire référence au flottant dans le texte. Les flottants sont donc numérotés. Les références croisées sont décrites dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencer-les-Flottants" \end_inset . \end_layout \begin_layout Standard Pour insérer un flottant, on utilise un des sous menus du menu \family sans Insertion\SpecialChar menuseparator Flottant \family default (barre d'outils \begin_inset Info type "icon" arg "float-insert figure" \end_inset ou \begin_inset Info type "icon" arg "float-insert table" \end_inset ). Une boîte va être insérée dans votre document avec par exemple une étiquette du genre \begin_inset Quotes fld \end_inset Figure \begin_inset space ~ \end_inset #: \begin_inset Quotes frd \end_inset (où # est un numéro). L'étiquette est automatiquement traduite dans la langue du document dans la sortie finale. Après l'étiquette vous pouvez insérer du texte comme légende. L'image ou le tableau est inséré avant ou après la légende dans un paragraphe séparé, à l'intérieur du flottant. Vous trouverez plus de détails sur le positionnement des légendes dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Placement-légende" \end_inset . Pour améliorer la lisibilité de votre document dans \SpecialChar LyX , vous pouvez fermer ou ouvrir la boîte de votre flottant en cliquant avec le bouton de gauche sur la boîte grise qui se trouve en haut à gauche de celui-ci. Une boîte de flottant fermée ressemble à ceci : \begin_inset Graphics filename clipart/float.png scale 95 \end_inset – une case grise avec un texte rouge. \end_layout \begin_layout Standard Il est recommandé d'insérer les flottants comme des paragraphes séparés pour éviter des erreurs avec \SpecialChar LaTeX , quand le texte qui entoure le flottant est formaté de façon particulière. \end_layout \begin_layout Section Les types de flottants \end_layout \begin_layout Standard En plus des flottants de figures et de tableau qui sont décrits respectivement dans les sections \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Figure-Floats" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "sec:Table-Floats" \end_inset , \SpecialChar LyX offre aussi les types \family sans Algorithme \family default et \family sans Enrobage \family default . Ces derniers sont expliques dans la section \begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Flottant-d'enrobage" \end_inset . \end_layout \begin_layout Subsection Flottant d'algorithme \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Algorithmes \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float algorithm placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "alg:Exemple-Flottant-Algorithme" \end_inset Exemple de flottant d'algorithme \end_layout \end_inset \end_layout \begin_layout LyX-Code for I in 1..N loop \begin_inset Newline newline \end_inset Sum:= Sum + A(I); /*comment*/ \begin_inset Newline newline \end_inset end loop \begin_inset VSpace -4mm \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Ce type de flottant est inséré à l'aide du menu \family sans Insertion\SpecialChar menuseparator Flottant\SpecialChar menuseparator Algorithme \family default . Il peut être utilisé pour des morceaux de code source ou des descriptions d'algorithmes et peut être utilisé comme une alternative au listing de code source qui est décrit au chapitre \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Program-Code-Listings" \end_inset . Vous pouvez par exemple utiliser l'environnement Code \begin_inset space ~ \end_inset \SpecialChar LyX qui est décrit dans le \emph on Guide \emph default \begin_inset space ~ \end_inset \emph on de \begin_inset space ~ \end_inset l'Utilisateur \emph default de \SpecialChar LyX . l'algorithme \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "alg:Exemple-Flottant-Algorithme" \end_inset est un exemple de flottant d'algorithme où un espace vertical de -4 \begin_inset space \thinspace{} \end_inset mm a été ajouté à la fin du flottant pour que la ligne du bas du flottant soit placée exactement sous le texte de la dernière ligne. \end_layout \begin_layout Standard L'étiquette de ce flottant n'est pas automatiquement traduite dans la langue du document. Si votre document n'est pas en anglais, vous devez le faire vous-même manuellem ent en ajoutant la ligne suivante dans le préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash floatname{algorithm}{votre \begin_inset space ~ \end_inset nom} \end_layout \begin_layout Standard où \family sans votre \begin_inset space ~ \end_inset nom \family default est le mot \begin_inset Quotes fld \end_inset \emph on algorithme \emph default \begin_inset Quotes frd \end_inset dans votre langue. \end_layout \begin_layout Standard Pour insérer la liste des algorithmes, vous pouvez utiliser le menu \family sans Insertion\SpecialChar menuseparator Listes \begin_inset space ~ \end_inset & \begin_inset space ~ \end_inset TdM\SpecialChar menuseparator Liste \begin_inset space ~ \end_inset des \begin_inset space ~ \end_inset algorithmes \family default si votre document est en la même langue que les menus de \SpecialChar LyX . Pour les documents qui ne sont pas en anglais, utilisez la commande suivante en code \SpecialChar TeX à la place: \end_layout \begin_layout Standard \series bold \backslash listof{algorithm}{votre \begin_inset space ~ \end_inset nom} \end_layout \begin_layout Standard où \family sans votre \begin_inset space ~ \end_inset nom \family default est la traduction de \begin_inset Quotes fld \end_inset \emph on List of Algorithm \emph default s \begin_inset Quotes frd \end_inset dans votre langue. \end_layout \begin_layout Standard Les flottants d'algorithme ne sont pas numérotés implicitement en suivant le schéma \begin_inset Quotes fld \end_inset chapitre.algorithme \begin_inset Quotes frd \end_inset comme c'est le cas pour les tableaux dans plusieurs classes de documents. Pour numéroter les flottants d'algorithme dans ce schéma, ajoutez cette commande dans le préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash numberwithin{algorithm}{chapter} \end_layout \begin_layout Standard Pour pouvoir utiliser la commande \series bold \backslash numberwithin \series default , activez l'option \family sans Utiliser \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset paquetage \begin_inset space ~ \end_inset AMS \begin_inset space ~ \end_inset math \family default dans la rubrique \family sans Options \begin_inset space ~ \end_inset des \begin_inset space ~ \end_inset Maths \family default de la fenêtre de dialogue \family sans Paramètres \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset Document \family default . \end_layout \begin_layout Section Numérotation des flottants \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Numérotation \end_layout \end_inset \end_layout \begin_layout Standard Les flottant sont soit numérotés indépendamment des sections dans lesquelles ils se trouvent, soit en utilisant un format du genre \begin_inset Quotes fld \end_inset chapitre.numéro \begin_inset Quotes frd \end_inset ou \begin_inset Quotes fld \end_inset section.numéro \begin_inset Quotes frd \end_inset . Cela dépend de la classe de document utilisée. \end_layout \begin_layout Standard Pour changer le format de la numérotation qui ne dépend pas de la section dans laquelle on se trouve, on peut utiliser la commande suivante dans le préambule du document : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash thetable}{ \backslash roman{table}} \end_layout \begin_layout Standard \series bold \backslash thetable \series default est la commande qui imprime le numéro du tableau, pour les figures, la commande serait \series bold \backslash thefigure \series default . La commande \series bold \backslash roman \series default utilisée dans la commande précédente, imprime le numéro du tableau sous forme de petits chiffres romains. \end_layout \begin_layout Standard Pour changer le type de numérotation pour par exemple \begin_inset Quotes fld \end_inset sous-section.numéro \begin_inset Quotes frd \end_inset , utilisez la commande suivante dans le préambule du document : \end_layout \begin_layout Standard \series bold \backslash numberwithin{table}{subsection} \end_layout \begin_layout Standard Pour pouvoir utiliser la commande \series bold \backslash numberwithin \series default , vous devez activer l'option \family sans Utiliser \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset paquetage \begin_inset space ~ \end_inset maths \begin_inset space ~ \end_inset AMS \family default dans la rubrique \family sans Options \begin_inset space ~ \end_inset des \begin_inset space ~ \end_inset Maths \family default de la fenêtre de dialogue \family sans Paramètres \family default du document. \end_layout \begin_layout Standard Veuillez aussi jeter un coup d'œil à la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Numerotation-notes-bas-de-page" \end_inset pour plus de détails et des notes importantes sur les commandes de numérotation. \end_layout \begin_layout Section Faire référence à des flottants \begin_inset CommandInset label LatexCommand label name "sec:Referencer-les-Flottants" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Références \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout References@Références ! à des Flottants \end_layout \end_inset \end_layout \begin_layout Standard Pour faire référence à un flottant, insérez une étiquette dans sa légende en utilisant le menu \family sans Insertion\SpecialChar menuseparator Étiquette \family default ou le bouton \begin_inset Info type "icon" arg "label-insert" \end_inset de la barre d'outils. Une boîte grise de ce genre : \begin_inset Graphics filename clipart/label.png scaleBeforeRotation \end_inset sera insérée et la fenêtre de l'étiquette s'ouvrira pour vous permettre de saisir le texte de l'étiquette. \SpecialChar LyX propose comme texte pour l'étiquette les premiers mots de la légendes précédés d'un préfixe. Ce préfixe dépend du type de flottant, par exemple, pour une figure le préfixe sera \begin_inset Quotes fld \end_inset \family sans fig: \family default \begin_inset Quotes frd \end_inset . \end_layout \begin_layout Standard L'étiquette sert à la fois de point d'ancrage et de nom pour la référence. Vous pouvez faire référence à cette étiquette en utilisant le menu \family sans Insertion\SpecialChar menuseparator Référence \begin_inset space ~ \end_inset Croisée \family default ou le bouton \begin_inset Info type "icon" arg "dialog-show-new-inset ref" \end_inset de la barre d'outils. La fenêtre de référence croisée va s'ouvrir et montrer toutes les étiquettes définies dans votre document. Si vous avez plusieurs documents \SpecialChar LyX ouverts, vous pouvez choisir celui que vous voulez utiliser avec la liste déroulante qui se trouve en haut de la fenêtre de dialogue. Vous pouvez trier les étiquettes par ordre alphabétique et ensuite en choisir une. Une boîte grise de référence croisée comme celle-ci : \begin_inset Graphics filename clipart/reference.png scaleBeforeRotation \end_inset va être insérée. Dans la sortie imprimée, le numéro du flottant apparaîtra à la position de la référence croisée. \end_layout \begin_layout Standard Il est recommandé d'utiliser une espace insécable entre le nom d'une référence croisée et son numéro pour éviter un saut de ligne peu esthétique entre les deux. Si une référence croisées fait référence à une étiquette qui n'existe pas, vous verrez deux points d'interrogation dans la sortie imprimée à la place du numéro de la référence. \end_layout \begin_layout Standard Vous pouvez modifier une étiquette à tout moment en cliquant sur sa boîte. Les références vers l'étiquette modifiée seront mise à jour automatiquement pour tenir compte du nouveau texte de l'étiquette, de sorte que vous n'avez pas à vous en préoccuper. \end_layout \begin_layout Standard Le bouton \family sans Aller \begin_inset space ~ \end_inset à \begin_inset space ~ \end_inset l'étiquette \family default dans la fenêtre de référence croisée va positionner le curseur juste devant l'étiquette à laquelle on fait référence. Le nom du bouton bouton \family sans Revenir \family default et vous pouvez l'utiliser pour remettre le curseur sur la référence croisée. \end_layout \begin_layout Subsection Formats de références croisées \begin_inset CommandInset label LatexCommand label name "subsec:Formats-Références-Croisées" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout References@Références ! Formats \end_layout \end_inset \end_layout \begin_layout Standard Il y a six types de références croisées : \end_layout \begin_layout Description \begin_inset space ~ \end_inset : affiche le numéro de l'élément, c'est le choix implicite : \begin_inset CommandInset ref LatexCommand ref reference "fig:Deux-images-déformées" \end_inset \end_layout \begin_layout Description () \begin_inset space ~ \end_inset : affiche le numéro de l'élément entre parenthèses, c'est le style utilisé normalement pour faire référence à des formules mathématiques, en particulier quand le mot \begin_inset Quotes fld \end_inset Équation \begin_inset Quotes frd \end_inset est omis : \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wgn" \end_inset \end_layout \begin_layout Description \begin_inset space ~ \end_inset : affiche le numéro de la page sur laquelle se trouve l'élément: Page \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand pageref reference "fig:Deux-images-déformées" \end_inset \end_layout \begin_layout Description Sur \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset page \begin_inset space ~ \end_inset \begin_inset space ~ \end_inset : affiche le mot \begin_inset Quotes fld \end_inset page \begin_inset Quotes frd \end_inset suivi du numéro de la page sur laquelle se trouve l'élément : \begin_inset CommandInset ref LatexCommand vpageref reference "fig:Deux-images-déformées" \end_inset \end_layout \begin_layout Description \begin_inset space ~ \end_inset page \begin_inset space ~ \end_inset \begin_inset space ~ \end_inset : affiche le numéro de l'élément, le mot \begin_inset Quotes fld \end_inset page \begin_inset Quotes frd \end_inset et le numéro de la page : \begin_inset CommandInset ref LatexCommand vref reference "fig:Deux-images-déformées" \end_inset \end_layout \begin_layout Description Référence \begin_inset space ~ \end_inset mise \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset forme \begin_inset space ~ \end_inset : affiche une référence croisée qui définit son propre format. \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Ce type de référence croisée n'est disponible que si vous avez installé le paquetage \SpecialChar LaTeX \series bold prettyref \series default ou \series bold refstyle \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! prettyref \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! refstyle \end_layout \end_inset . \end_layout \end_inset \begin_inset Newline newline \end_inset Vous pouvez choisir le paquetage \SpecialChar LaTeX qui doit être utilisé pour cette fonction en utilisant l'option \family sans Utiliser refstyle (à la place de prettyref) pour les références croisées \family default dans le menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Classe de document \family default . Le format est précisé en ajoutant la commande \series bold \backslash newrefformat \series default (prettyref) ou \series bold \backslash newref \series default (refstyle) au préambule du document. Par exemple, pour redéfinir toutes les référence à des figures (qui ont l'étiquette abrégée 'fig') on peut utiliser la commande suivante \begin_inset space ~ \end_inset : \begin_inset Newline newline \end_inset \series bold \backslash newref{fig}{refcmd={Image sur la page \backslash pageref{#1}}} \series default \begin_inset Newline newline \end_inset Pour plus d'information sur le format, jetez un œil sur la documentation du paquetage, \begin_inset CommandInset citation LatexCommand cite key "prettyref,refstyle" \end_inset . \end_layout \begin_layout Description Référence \begin_inset space ~ \end_inset textuelle: affiche la légende de la référence \begin_inset space ~ \end_inset : \begin_inset CommandInset ref LatexCommand nameref reference "fig:Deux-images-déformées" \end_inset \end_layout \begin_layout Standard \family sans \family default n'imprimera pas le numéro de la page si l'étiquette se trouve sur la page précédente, la même page ou la page suivante. Vous verrez par exemple un texte du genre \begin_inset Quotes fld \end_inset \family sans sur cette page \family default \begin_inset Quotes frd \end_inset à la place. Le style \family sans \begin_inset space ~ \end_inset page \begin_inset space ~ \end_inset \family default n'affichera rien au sujet de la page si l'étiquette se trouve sur la même page. \end_layout \begin_layout Standard Le numéro affecté à une étiquette et le numéro de la page sur laquelle elle se trouve sont calculés automatiquement par \SpecialChar LaTeX . Vous choisissez une des six variétés de références dans le champ Format de la fenêtre de référence croisée qui s'ouvre quand vous cliquez sur la boîte de la référence croisée. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default L'utilisation du paquetage \SpecialChar LaTeX \series bold refstyle \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! refstyle \end_layout \end_inset est recommandée parce que \series bold prettyref \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! prettyref \end_layout \end_inset ne connaît pas tous les raccourcis possibles pour les étiquettes \begin_inset Foot status collapsed \begin_layout Plain Layout \begin_inset Quotes fld \end_inset fig: \begin_inset Quotes frd \end_inset est par exemple le raccourci \SpecialChar LyX pour les étiquettes dans les légendes de figures,. \end_layout \end_inset et n'est pas internationalisé. \end_layout \end_inset \end_layout \begin_layout Subsection Nommage automatique des références croisées \begin_inset Index idx status collapsed \begin_layout Plain Layout References@Références ! Nommage automatique \end_layout \end_inset \end_layout \begin_layout Standard Le paquetage \SpecialChar LaTeX \series bold hyperref \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! hyperref \end_layout \end_inset \series bold , \series default qui est activé dans la rubrique \family sans Propriétés du PDF \family default de la fenêtre de dialogue \family sans Paramètres du document \family default fournit une fonction très utile pour automatiser la création des références croisées, en incluant le nom du flottant référencé (ou d'une partie comme une section). Par exemple pour vous éviter de devoir écrire le mot \begin_inset Quotes fld \end_inset Figure \begin_inset Quotes frd \end_inset devant chaque référence à une figure. Pour profiter de ce nommage automatique des références croisées, vous devez activer \series bold hyperref \series default et insérer la ligne suivante dans le préambule du document : \end_layout \begin_layout Standard \series bold \backslash AtBeginDocument{ \backslash renewcommand{ \backslash ref}[1]{ \backslash mbox{ \backslash autoref{#1}}}} \end_layout \begin_layout Standard Si vous préférez d'autres noms de référence que ceux qui sont proposés par défaut, par exemple vous préférez le nom \begin_inset Quotes fld \end_inset sec. \begin_inset Quotes frd \end_inset plutôt que \begin_inset Quotes fld \end_inset section \begin_inset Quotes frd \end_inset , vous pouvez redéfinir ce nom en insérant ceci dans le préambule: \end_layout \begin_layout Standard \series bold \backslash addto \backslash extrasfrench{ \backslash renewcommand{ \backslash sectionautorefname} \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 {sec. \backslash negthinspace}} \end_layout \begin_layout Standard Si vous utilisez une autre langue que le français, remplacez \series bold \backslash extrasfrench \series default par \series bold \backslash extras*** \series default , où *** est le nom de la langue que vous utilisez. \series bold \end_layout \begin_layout Standard Pour avoir des noms automatiques, mais pas pour certains types de références, par exemple pas pour les équations, utilisez le code suivant dans le préambule: \end_layout \begin_layout Standard \series bold \backslash addto \backslash extrasfrench{ \backslash renewcommand*{ \backslash equationautorefname}[1]{}} \end_layout \begin_layout Standard Vous pouvez trouver plus d'information sur ce sujet dans la documentation de \series bold hyperref \series default \begin_inset CommandInset citation LatexCommand cite key "hyperref" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Le nommage automatique de références ne peut être utilisé si vous avez choisi le style de référence \family sans Référence \begin_inset space ~ \end_inset mise \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset forme \family default décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Formats-Références-Croisées" \end_inset . \end_layout \end_inset \end_layout \begin_layout Standard Le manuel \emph on Math \emph default est un exemple dans lequel on a utilisé le référencement automatique. \end_layout \begin_layout Subsection Positionnement des références \begin_inset CommandInset label LatexCommand label name "subsec:Reference-Position" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout References@Références ! Positionnement \end_layout \end_inset \end_layout \begin_layout Standard Si vous utilisez le paquetage \series bold hyperref, \series default qui est activé dans la rubrique \family sans Propriétés du PDF \family default de la fenêtre de dialogue \family sans Paramètres du document, \family default pour lier vos références croisées dans la sortie finale, vous verrez que cliquer sur la référence à un flottant d'image saute vers l'étiquette de l'image. La légende sera dans la partie haute de l'écran, ce qui fait que vous ne pourrez voir l'image sans faire défiler le texte. Ce problème vient du fait que le point d'ancrage de la référence se situe à l'endroit de l'étiquette. En utilisant le paquetage \SpecialChar LaTeX \series bold hypcap \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! hypcap \end_layout \end_inset , qui fait partie du paquetage \SpecialChar LaTeX \series bold oberdiek \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! oberdiek \end_layout \end_inset , le point d'ancrage d'un lien est place en haut du flottant. Pour utiliser cette fonction avec les flottants de figure, chargez \series bold hypcap \series default dans l'entête du document avec la ligne \end_layout \begin_layout Standard \series bold \backslash usepackage[figure]{hypcap} \end_layout \begin_layout Standard Vous pouvez aussi utiliser \series bold hypcap \series default pour tous les types de flottants, mais ce n'est pas recommandé pour des raisons de stabilité. Pour plus d'information, jetez un coup d'œil au manuel d' \series bold hypcap \series default \begin_inset CommandInset citation LatexCommand cite key "hypcap" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default \series bold hypcap \series default n'a aucun effet pour les références à des sous-figures. \end_layout \end_inset \end_layout \begin_layout Section Placement des flottants \begin_inset CommandInset label LatexCommand label name "sec:Placement-flottants" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Placement \end_layout \end_inset \end_layout \begin_layout Standard En faisant un clic droit sur la boîte d'un flottant et \lang english clicking on \family sans Settings \family default \lang french on ouvre une fenêtre de dialogue dans laquelle vous pouvez modifier le paramètres de placement que \SpecialChar LaTeX utilise pour déterminer où placer le flottant. \begin_inset Newline newline \end_inset L'option \family sans Plusieurs \begin_inset space ~ \end_inset colonnes \family default n'est utilisée que dans le cas d'un document à plusieurs colonnes: si vous l'activez, le flottant va couvrir l'ensemble des colonnes au lieu d'être confiné sur une seule colonne. \begin_inset Newline newline \end_inset L'option \family sans Rotation \begin_inset space ~ \end_inset 90° \family default est utilisée pour faire tourner les flottants, voyez la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Flottants-renversés" \end_inset . \end_layout \begin_layout Standard En désactivant l'option \family sans Utilise \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset placement \begin_inset space ~ \end_inset par \begin_inset space ~ \end_inset défaut \family default vous pouvez utiliser une ou plusieurs des options suivantes pour modifier le placement du flottant: \end_layout \begin_layout Description Ici, \begin_inset space ~ \end_inset si \begin_inset space ~ \end_inset possible: essaie de placer le flottant à la position où il a été inséré dans \SpecialChar LyX \end_layout \begin_layout Description Haut \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset page: essaie de placer le flottant en haut de la page courante \end_layout \begin_layout Description Bas \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset page: essaie de placer le flottant en bas de la page courante \end_layout \begin_layout Description Page \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset flottants: essaie de placer le flottant sur une page à part, éventuellement avec d'autres flottants \end_layout \begin_layout Standard \SpecialChar LaTeX utilise \emph on toujours \emph default les options dans l'ordre donné ci-dessus. Ce qui veut dire que si vous utilisez le placement implicite, \SpecialChar LaTeX va d'abord essayer \family sans Ici \begin_inset space ~ \end_inset si \begin_inset space ~ \end_inset possible \family default , ensuite \family sans Haut \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset page \family default , et ainsi de suite. Si vous n'utilisez pas le placement implicite, \SpecialChar LaTeX va essayer les options que vous avez cochées, mais dans l'ordre donné ci-dessus. Si aucune des quatre options de placement n'est possible, la procédure est répétée avec la possibilité de mettre les flottant sur la page suivante. \end_layout \begin_layout Standard Implicitement, chaque option a ses propres règles d'application: \end_layout \begin_layout Standard \family sans Haut \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset page \family default : seuls les flottants occupant moins de 70% de la page peuvent être placés en haut de page ( \series bold \backslash topfraction \series default ). \end_layout \begin_layout Standard \family sans Bas \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset page \family default : seuls les flottants occupant moins de 30% de la page peuvent être placés en bas de page ( \series bold \backslash bottomfraction \series default ). \end_layout \begin_layout Standard \family sans Page \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset flottants \family default : plusieurs flottants peuvent être placés ensembles sur une page seulement si ils occupent plus de 50% de celle-ci ( \series bold \backslash floatpagefraction \series default ). \end_layout \begin_layout Standard Si vous n'aimez pas ces règles, vous pouvez les ignorer en utilisant l'option supplémentaire \family sans Ignorer \begin_inset space ~ \end_inset les \begin_inset space ~ \end_inset règles \begin_inset space ~ \end_inset \SpecialChar LaTeX \family default \lang english . \begin_inset Newline newline \end_inset \lang french Vous pouvez aussi redéfinir les règles avec les commandes \SpecialChar LaTeX qui sont données entre parenthèses après les descriptions des règles données ci-dessus. Par exemple, pour augmenter à 50 \begin_inset space \thinspace{} \end_inset % la valeur de la règle de bas de page dont la valeur implicite est souvent trop petite, ajoutez cette ligne au préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash bottomfraction}{0.5} \end_layout \begin_layout Standard Parfois, vous avez besoin que dans tous les cas, le flottant soit placé exactement à l'endroit où vous l'avez inséré. dans ce cas utilisez l'option \family sans Ici \begin_inset space ~ \end_inset à \begin_inset space ~ \end_inset tout \begin_inset space ~ \end_inset Prix \family default . Utilisez cette option le moins souvent possible et seulement quand le document est presque prêt à être imprimé. En effet, le flottant n'est plus capable de \begin_inset Quotes fld \end_inset flotter \begin_inset Quotes frd \end_inset , ce qui peut perturber toutes les mises en page. \end_layout \begin_layout Standard Il n'y a pas d'option de placement pour les flottants d'enrobage, puisqu'ils sont toujours entourés par le texte d'un paragraphe donné. \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard On peut parfois se trouver dans la situation où un flottant est placé en haut d'une page alors que la section concernée ne commence qu'au milieu de la page, ce qui fait que le lecteur peut penser qu'il fait partie de la section précédente. On peut utiliser la commande \SpecialChar LaTeX \series bold \backslash suppressfloats \series default pour éviter ce cas. Elle empêche le placement d'un flottant donné dans la page dans laquelle il est inséré et donc elle peut être utilisée pour éviter qu'un flottant soit placé avant que la section commence. Pour obtenir ce comportement, ajoutez ces commandes dans le préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash let \backslash mySection \backslash section \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash section}{ \backslash suppressfloats[t] \backslash mySection} \end_layout \begin_layout Standard Vous pouvez définir la même chose pour tous les types d'en-têtes de section, comme les chapitres et les sous-sections. Il n'est pas recommandé d'utiliser cette définition avec des portions de texte trop petites comme les sous-sous-sections parce que \SpecialChar LaTeX pourrait ensuite avoir du mal à trouver un positionnement correct. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Dans certains cas il est demandé de placer toutes les figures et tous les tableaux à la fin du document. C'est pour de telles situations que le paquetage \SpecialChar LaTeX \series bold endfloat \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! endfloat \end_layout \end_inset a été développé. Il met en effet tous les flottants de figures et de tableaux à la fin du document dans leurs propres sections. À la position d'origine du flottant, une indication textuelle du genre \begin_inset Quotes fld \end_inset \family sans [Figure \begin_inset space ~ \end_inset 3.2 \lang english about here. \lang french ] \family default \begin_inset Quotes frd \end_inset est insérée. Le paquetage \series bold endfloat \series default est chargé dans le préambule avec la ligne suivante \end_layout \begin_layout Standard \series bold \backslash usepackage[options]{endfloat} \end_layout \begin_layout Standard Il y a aussi de nombreuses options de paquetage pour modifier le format des sections de figures ou de tableau qui sont créées. Pour plus d'information, nous vous renvoyons à la documentation du paquetage \series bold endfloa \series default t \begin_inset CommandInset citation LatexCommand cite key "endfloat" \end_inset . \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: endfloat \series default ne fournit pas de traduction automatique de l'indication textuelle, vous devez donc le faire manuellement, voyez la section \begin_inset space ~ \end_inset 4 de \begin_inset CommandInset citation LatexCommand cite key "endfloat" \end_inset . \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Il y a actuellement un bug dans le paquetage \series bold endfloat \series default quand la légende contient un \begin_inset Quotes fld \end_inset ß \begin_inset Quotes frd \end_inset allemand. Utilisez dans ce cas la commande \begin_inset Quotes fld \end_inset \series bold \backslash ss \series default \begin_inset Quotes frd \end_inset en code \SpecialChar TeX à la place du \begin_inset Quotes fld \end_inset ß \begin_inset Quotes frd \end_inset . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Pour plus d'information sur les manières de placer les flottants, jetez un coup d'œil aux livres sur \SpecialChar LaTeX , \begin_inset CommandInset citation LatexCommand cite key "latexcompanion,latexguide,latexbook" \end_inset . \end_layout \begin_layout Section Rotation des flottants \begin_inset CommandInset label LatexCommand label name "sec:Flottants-renversés" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Renversés \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez vouloir faire pivoter vos flottants, surtout dans le cas de tableaux très larges. Pour faire pivoter l'ensemble d'un flottant, y compris sa légende, faites un clic droit sur la boîte du flottant et utilisez l'option \family sans Rotation \begin_inset space ~ \end_inset 90° \family default . \end_layout \begin_layout Standard Les flottants pivotés sont systématiquement placés sur leur propre page (ou colonne, si vous avez un document sur deux colonnes). Vous pouvez les laisser couvrir plusieurs colonnes en utilisant l'option \family sans Plusieurs \begin_inset space ~ \end_inset colonnes \family default dans les paramètres du flottant. Le flottants sont pivotés de sorte que vous puissiez les lire en vous plaçant du côté de la marge externe. Pour forcer un sens de rotation donné pour toutes les pages, vous pouvez ajouter soit l'option \series bold figuresleft \series default soit l'option \series bold figuresright \series default aux options de la classe de document. \end_layout \begin_layout Standard Faire référence à un flottant pivoté se fait de la même manière que pour un flottant normal, la mise en forme de la légende est aussi identique : Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-pivoté" \end_inset est un exemple de flottant de tableau pivoté. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Les flottants pivotés ne sont pas affichables par tous les visualiseurs DVI. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways true status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-pivoté" \end_inset Tableau pivoté \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Section Sous-flottants \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Sous-flottants \end_layout \end_inset \end_layout \begin_layout Standard Un exemple de sous-flottant : une figure composée de plusieurs images. On les crée en insérant un flottant dans un flottant existant. Le positionnement des sous-flottants peut être contrôlé comme pour les paragraphes comme on le voit avec les tableaux \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Deux-sous-tableaux-cote-a-cote" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "tab:Deux-sous-tableaux-l-un-sur-l-autre" \end_inset . \end_layout \begin_layout Standard On fait référence à des sous-flottants comme on le ferait avec des flottants normaux : Les tableaux \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Le-sous-tableau-a" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "tab:Le-sous-tableau-b" \end_inset sont des sous-tableaux du tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Deux-sous-tableaux-cote-a-cote" \end_inset . \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Deux-sous-tableaux-cote-a-cote" \end_inset Deux sous-tableaux placés côte-à-côte. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset space \hfill{} \end_inset \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Le-sous-tableau-a" \end_inset Le sous-tableau a \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Le-sous-tableau-b" \end_inset Le sous-tableau b. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Deux-sous-tableaux-l-un-sur-l-autre" \end_inset Deux sous-tableaux placés l'un sur l'autre. (a) un tableau avec 4 cellules, (b) un tableau avec 5 cellules. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Float table wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Flottants côte-à-côte \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! côte-à-côte \end_layout \end_inset \end_layout \begin_layout Standard Pour placer des flottants côte-à-côte, comme pour la figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Flottant-gauche" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "fig:Flottant-droit" \end_inset , on n'utilise \emph on qu'un seul \emph default flottant. On y insère deux boîtes de minipages. \begin_inset Foot status collapsed \begin_layout Plain Layout Les minipages sont 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 La largeur est mise à 45 \begin_inset space \thinspace{} \end_inset -50 \begin_inset space \thinspace{} \end_inset column% et l'alignement de la boîte à \family sans Bas \family default pour chaque minipage. Les boîtes minipages contiennent l'image et la légende exactement comme avec un flottant. La seule différence est que l'unité de longueur \family sans Largeur \begin_inset space ~ \end_inset colonne \begin_inset space ~ \end_inset % \family default utilisée pour l'image est maintenant définie par rapport à la largeur des boîtes minipages. \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Box Frameless position "b" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 0 width "45col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/mobius.eps lyxscale 50 width 100col% scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Flottant-gauche" \end_inset Flottant du côté gauche. \end_layout \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Box Frameless position "b" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 0 width "45col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 100col% scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Flottant-droit" \end_inset Flottant du côté droit. \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Une solution alternative plus simple consiste à utiliser le module \family sans Minipages à largeur variable \family default , voir la section \begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipages" \end_inset . Les minipages à largeur variable s’adaptent automatiquement à la largeur des figures et des tableaux. Il n'est pas nécessaire de spécifier explicitement une largeur, et elles améliorent l'alignement horizontal des figures. Le fichier du répertoire des exemples \emph on varwidth-floats-side-by-side \emph default donnes des exemples d'utilisation du module. \end_layout \begin_layout Section Mise en forme de la légende \begin_inset Index idx status collapsed \begin_layout Plain Layout Légende ! Mise en forme \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Mise en forme de la Légende \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Formatage-légende" \end_inset \end_layout \begin_layout Standard L'environnement \family sans Légende \family default est l'environnement de paragraphe implicite pour les \family sans flottants \family default . Dans la fenêtre de \SpecialChar LyX les légendes apparaissent comme une étiquette comme par exemple \begin_inset Quotes fld \end_inset \family sans Figure #: \family default \begin_inset Quotes frd \end_inset suivi par le texte de la légende. Le \begin_inset Quotes fld \end_inset # \begin_inset Quotes frd \end_inset étant remplacé par le numéro de référence réel. implicitement l'étiquette et le numéro sont dans la même police de caractères que le texte de la légende et deux points suivent le numéro pour séparer l'étiquette du texte. Ce format de légende n'est pas forcément adapté à tous les types de documents. \end_layout \begin_layout Standard Pour modifier le format implicite des légendes, il faut charger le paquetage \SpecialChar LaTeX \series bold caption \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! caption \end_layout \end_inset dans le préambule de votre document avec la ligne suivante : \end_layout \begin_layout Standard \series bold \backslash usepackage[format definition]{caption} \end_layout \begin_layout Standard Pour avoir par exemple l'étiquette et le numéro dans une police sans empattement grasse et les légendes de tableau toujours au dessus des tableaux, comme dans ce document, utilisez les commandes suivantes : \end_layout \begin_layout Standard \series bold \backslash usepackage[labelfont={bf,sf}, tableposition=top]{caption} \end_layout \begin_layout Standard Vous pouvez aussi définir des formats de légendes différents pour les différents types de flottants. Dans ce cas chargez le paquetage \series bold caption \series default sans option de format spécifique et définissez les différents formats à l'aide de la commande \end_layout \begin_layout Standard \series bold \backslash captionsetup[type de flottant]{définition du format} \end_layout \begin_layout Standard dans le préambule du document. Par exemple les formats de légende de la Figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Legende-de-fig" \end_inset et du Tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Légende-de-tab" \end_inset peuvent être créés en utilisant les commandes suivantes dans le préambule : \end_layout \begin_layout Standard \series bold \backslash usepackage[tableposition=top]{caption} \series default \begin_inset Newline newline \end_inset \series bold \backslash captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,% \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \series bold \backslash captionsetup[figure]{ \end_layout \end_inset labelsep=period} \begin_inset Newline newline \end_inset \backslash captionsetup[table]{labelfont={bf,sf}} \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default L'option \series bold tableposition=top \series default n'a pas d'effet quand on utilise un document de classe \series bold KOMA-Script \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! KOMA-Script \end_layout \end_inset . Dans ce cas on doit utiliser l'option \series bold captions=tableheading \series default de la classe de document. \end_layout \end_inset \end_layout \begin_layout Standard Pour plus d'information sur le paquetage \series bold caption \series default nous vous renvoyons à sa documentation \begin_inset CommandInset citation LatexCommand cite key "caption" \end_inset . \end_layout \begin_layout Standard Pour changer le nom de l'étiquette, par exemple de \begin_inset Quotes fld \end_inset Figure \begin_inset Quotes frd \end_inset à \begin_inset Quotes fld \end_inset Image \begin_inset Quotes frd \end_inset , utilisez la commande suivante dans le préambule : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash fnum@figure}{Image~ \backslash thefigure} \end_layout \begin_layout Standard où \series bold \backslash thefigure \series default insère le numéro de la figure et \series bold \begin_inset Quotes fld \end_inset ~ \series default \begin_inset Quotes frd \end_inset ajoute une espace insécable. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Si vous utilisez un document de classe \series bold KOMA-Script \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! KOMA-Script \end_layout \end_inset ( \family sans article (KOMA-Script) \family default , \family sans book (KOMA-Script) \family default , \family sans letter (KOMA-Script) \family default , ou \family sans report (KOMA-Script) \family default \begin_inset space \thinspace{} \end_inset ), Vous pouvez utiliser la commande incorporée \series bold \backslash setkomafont \series default du paquetage \series bold KOMA-Script \series default à la place du paquetage \series bold caption. \series default Par exemple, pour avoir une étiquette de légende en gras, ajoutez la commande suivante au préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash setkomafont{captionlabel}{ \backslash bfseries} \end_layout \begin_layout Standard Pour plus d'information au sujet de \series bold \backslash setkomafont \series default nous vous renvoyons à la documentation du paquetage \series bold KOMA-Script \series default \begin_inset CommandInset citation LatexCommand cite key "KOMA-Script" \end_inset . \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period } \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Le format de la légende n'est modifié que pour cet exemple. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement !p wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/mobius.eps lyxscale 50 scale 50 scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Legende-de-fig" \end_inset Ceci est un exemple de légende de figure qui est plus longue qu'une ligne pour montrer les différents types de formats de légendes. Ici on a utilisé un format de légende personnalisé. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col on} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement !p wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Légende-de-tab" \end_inset Ceci est un exemple de légende de tableau qui est plus longue qu'une ligne pour montrer les différents types de formats de légendes. Ici on a utilisé le format de légende implicite. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Section Positionnement de la Légende \begin_inset Index idx status collapsed \begin_layout Plain Layout Légende ! Placement \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Placement de la légende \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Placement-légende" \end_inset \end_layout \begin_layout Standard La règle habituelle pour placer la légende est : \end_layout \begin_layout Description Figure \begin_inset space ~ \end_inset : La légende est placée en dessous de la figure \end_layout \begin_layout Description Tableau \begin_inset space ~ \end_inset : La légende est placée au dessus du tableau \end_layout \begin_layout Standard Malheureusement les classes standard de \SpecialChar LaTeX ne gèrent pas les légendes au dessus des tableaux. Ce qui fait que si vous utilisez une des classes de document \family sans article \family default , \family sans book \family default , \family sans letter \family default , ou \family sans report \family default il n'y aura pas d'espace libre entre la légende et le tableau. Pour insérer l'espace nécessaire, \lang english load \lang french le paquetage \SpecialChar LaTeX \series bold caption \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! caption \end_layout \end_inset dans le préambule de votre document avec l'option \begin_inset Foot status collapsed \begin_layout Plain Layout Voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formatage-légende" \end_inset pour plus d'information sur le paquetage \series bold caption \series default . \end_layout \end_inset \end_layout \begin_layout Standard \series bold tableposition=top \end_layout \begin_layout Standard Si vous utilisez une classe de document \series bold KOMA-Script \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! KOMA-Script \end_layout \end_inset ( \family sans article (KOMA-Script) \family default , \family sans book (KOMA-Script) \family default , \family sans letter (KOMA-Script) \family default , ou \family sans report (KOMA-Script) \family default \begin_inset space \thinspace{} \end_inset ), vous pouvez utiliser à la place du paquetage \series bold caption \series default l'option \end_layout \begin_layout Standard \series bold captions=tableheading \end_layout \begin_layout Standard de la classe de document. \begin_inset Foot status open \begin_layout Plain Layout Cette option est utilisée dans le document \end_layout \end_inset \end_layout \begin_layout Standard Dans les documents utilisant la classe KOMA-Script, vous pouvez aussi ouvrir le menu contextuel dans une légende avec un clic droit et indiquer si la légende doit être au-dessus ou au-dessous du tableau ou de la figure. Vous pouvez de cette façon écraser le réglage global de placement des légendes pour certaines d'entre elles. Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:A-caption-marked" \end_inset donne un exemple dans lequel la légende est positionnée au-dessous du tableau alors qu'elle est insérée au-dessus. Par comparaison, la légende du tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:A-standard-table" \end_inset n'est pas repositionnée. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Below \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:A-caption-marked" \end_inset Une légende positionnée sous le tableau par le menu contextuel \lang english . \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jean \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Marie \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Pierre \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\int x^{2}dx$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\left[\begin{array}{cc} a & b\\ c & d \end{array}\right]$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $1+1=2$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:A-standard-table" \end_inset Une légende de tableau standard \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jean \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Marie \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Pierre \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\int x^{2}dx$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\left[\begin{array}{cc} a & b\\ c & d \end{array}\right]$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $1+1=2$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset On peut aussi mettre la légende à côté d'une figure ou d'un tableau. Pour cela, vous devez charger le paquetage \SpecialChar LaTeX \series bold sidecap \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! sidecap \end_layout \end_inset dans le préambule de votre document avec la ligne de commande suivante \end_layout \begin_layout Standard \series bold \backslash usepackage[option]{sidecap} \end_layout \begin_layout Standard Si vous ne mettez aucune option, la légende sera placée du côté de la marge extérieure – à droite sur les pages impaires et à gauche sur les pages paires. Vous pouvez mettre la légende dans la marge interne en utilisant l'option \series bold innercaption \series default . Pour forcer le placement toujours à droite ou à gauche, utilisez les options \series bold rightcaption \series default ou \series bold leftcaption \series default . \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifsidecap \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La section suivante ne sera affichée que si le paquetage \SpecialChar LaTeX \series bold sidecap \series default a été installé. \end_layout \end_inset \end_layout \begin_layout Standard Pour pouvoir placer la légende d'un flottant à côté de celui-ci, vous devez ajouter ces commandes dans le préambule de votre document : \end_layout \begin_layout Standard \noindent \begin_inset CommandInset line LatexCommand rule offset "0.5ex" width "100line%" height "1pt" \end_inset \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash TabBesBeg}[1][1.0]{% \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash MyTable \backslash table \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \series medium \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash MyEndtable \backslash endtable \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \series medium \begin_inset space ~ \end_inset \end_layout \end_inset \backslash renewenvironment{table}[1]{ \backslash begin{SCtable}[#1]##1}{ \backslash end{SCtable}}} \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash TabBesEnd}{% \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash table \backslash MyTable \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash endtable \backslash MyEndtable \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash FigBesBeg}[1][1.0]{% \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash MyFigure \backslash figure \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash MyEndfigure \backslash endfigure \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash renewenvironment{figure}[1]{ \backslash begin{SCfigure}[#1]##1}{ \backslash end{SCfigure}}} \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash FigBesEnd}{% \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash figure \backslash MyFigure \begin_inset Newline newline \end_inset \begin_inset Phantom HPhantom status open \begin_layout Plain Layout \begin_inset space ~ \end_inset \end_layout \end_inset \backslash let \backslash endfigure \backslash MyEndfigure} \end_layout \begin_layout Standard \noindent \begin_inset CommandInset line LatexCommand rule offset "0.5ex" width "100line%" height "1pt" \end_inset \end_layout \begin_layout Standard Ces commandes vous permettent de redéfinir les flottants de façon à ce que la légende se place sur le côté. Pour les flottants de figure, utilisez la commande \end_layout \begin_layout Standard \series bold \backslash FigBesBeg \end_layout \begin_layout Standard en code \SpecialChar TeX avant le flottant. Et insérez la commande \end_layout \begin_layout Standard \series bold \backslash FigBesEnd \end_layout \begin_layout Standard en code \SpecialChar TeX à l'endroit où vous voulez revenir à la définition originale du flottant. \end_layout \begin_layout Standard Pour les flottants de tableau, utilisez les commandes correspondantes \end_layout \begin_layout Standard \series bold \backslash TabBesBeg \series default et \series bold \backslash TabBesEnd \end_layout \begin_layout Standard La figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:legende-a-coté-fig" \end_inset et le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:legende-à-coté-tableau" \end_inset sont des exemples où la légende a été mises sur le coté. \end_layout \begin_layout Standard Vous pouvez voir dans ces exemples que la légende est en haut du flottant pour les flottants de tableau et vers le bas pour les flottants de figure. Pour changer ce comportement, vous pouvez utiliser les commandes \end_layout \begin_layout Standard \series bold \backslash sidecaptionvpos{type flottant}{placement} \end_layout \begin_layout Standard dans le préambule du document ou en code \SpecialChar TeX juste avant le flottant visé. Le type du flottant est soit \family sans figure \family default soit \family sans table \family default , le placement peut être \begin_inset Quotes fld \end_inset \family sans t \family default \begin_inset Quotes frd \end_inset pour haut (top), \begin_inset Quotes fld \end_inset \family sans c \family default \begin_inset Quotes frd \end_inset \begin_inset Quotes erd \end_inset pour centre (center), ou \begin_inset Quotes fld \end_inset \family sans b \family default \begin_inset Quotes frd \end_inset pour bas (bottom). Pour que, par exemple, les légendes des flottants de figure soient centrés verticalement, utilisez la commande \end_layout \begin_layout Standard \series bold \backslash sidecaptionvpos{figure}{c} \end_layout \begin_layout Standard C'est ce qui a été utilisé pour la figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:legende-à-coté-fig-2" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard La largeur de légende par défaut est celle de l'image ou du tableau. Pour des images ou des tableaux étroits, comme le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:legende-à-coté-tableau" \end_inset , cela donne des légendes trop étroites. Vous pouvez augmenter la largeur en précisant un facteur qui sera multiplié à la largeur de l'image ou du tableau pour obtenir la largeur de la légende. La largeur de la légende sera automatiquement recalculée dans le cas où cette dernière déborderait dans la marge de la page ou de la colonne à cause de la largeur indiquée. Le \emph on facteur \emph default peut soit être donné comme argument pour \series bold \backslash FigBesBeg \series default : \end_layout \begin_layout Standard \series bold \backslash FigBesBeg[facteur] \end_layout \begin_layout Standard ou dans la définition de \series bold \backslash FigBesBeg \series default en remplaçant le \series bold 1.0 \series default par une autre valeur. Si vous utilisez cette dernière méthode, votre facteur sera utilisé de façon implicite quand \series bold \backslash FigBesBeg \series default est utilisé sans argument. Pour le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:cap-beside-tab-wider" \end_inset on a utilisé 5 comme facteur. \end_layout \begin_layout Standard \lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Pour les flottants qui ont leur légende sur le côté, vous ne pouvez pas utiliser l'option de placement, \family sans Ici \begin_inset space ~ \end_inset à \begin_inset space ~ \end_inset tout \begin_inset space ~ \end_inset prix \family default parce qu'elle n'est pas gérée par \series bold sidecap \series default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Pour plus d'information sur le paquetage \series bold sidecap \series default nous vous renvoyons à sa documentation \begin_inset CommandInset citation LatexCommand cite key "sidecap" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Le paquetage \SpecialChar LaTeX \series bold hypcap \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! hypcap \end_layout \end_inset , qui est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Reference-Position" \end_inset , n'a pas d'effet sur les flottants avec une légende placée à côté. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FigBesBeg \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps scale 75 scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:legende-a-coté-fig" \end_inset Une légende à côté d'une figure. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FigBesEnd \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash TabBesBeg \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:legende-à-coté-tableau" \end_inset Une légende à côté d'un tableau. \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash TabBesEnd \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FigBesBeg \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash sidecaptionvpos{figure}{c} \end_layout \end_inset \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps scale 75 scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:legende-à-coté-fig-2" \end_inset Une légende centrée verticalement à côté d'une figure. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FigBesEnd \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash TabBesBeg[5] \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \lang english \begin_inset CommandInset label LatexCommand label name "tab:cap-beside-tab-wider" \end_inset This is a caption is wider than the one in \lang french tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:legende-à-coté-tableau" \end_inset . \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash TabBesEnd \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 \SpecialChar LaTeX \series bold sidecap \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage \SpecialChar LaTeX \series bold sidecap \series default pour voir la suite de 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 Section Les listes de flottants \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Listes de Flottants \end_layout \end_inset \end_layout \begin_layout Standard De la même façon que la table des matières fait la liste des sections du document, il y a des listes pour tous les types de flottants, comme par exemple pour les figures du document. Vous pouvez les insérer en utilisant le menu \family sans Insertion\SpecialChar menuseparator Listes \begin_inset space ~ \end_inset & \begin_inset space ~ \end_inset TdM \family default . \end_layout \begin_layout Standard Les entrées de la liste sont la légende du flottant ou éventuellement le titre court, le numéro du flottant, et le numéro de la page où le flottant apparaît dans le document. \end_layout \begin_layout Standard Vous trouverez à la fin de ce document une liste des figures et une liste des tableaux. \end_layout \begin_layout Chapter Notes \end_layout \begin_layout Section Les notes de \SpecialChar LyX \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes ! Notes \SpecialChar LyX \end_layout \end_inset \end_layout \begin_layout Standard On peut insérer une note en utilisant le bouton \begin_inset Info type "icon" arg "note-insert" \end_inset de la barre d'outils ou avec le menu \family sans Insertion\SpecialChar menuseparator Note \family default . Il y a trois types de notes : \end_layout \begin_layout Description Note \begin_inset space ~ \end_inset \SpecialChar LyX Ce type de note est à usage interne et n'apparaîtra pas sur la sortie finale. La boîte de cette note ressemble à ceci : \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/LyXNoteImage.png display false scale 90 scaleBeforeRotation \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Le texte de cette note n'apparaîtra pas à l'impression. \end_layout \end_inset \end_layout \begin_layout Description Commentaire Ce type de note n'apparaît pas non plus à l'impression, mais il est inséré comme un commentaire \SpecialChar LaTeX quand vous exportez votre document vers un fichier au format \SpecialChar LaTeX avec le menu \family sans Fichier\SpecialChar menuseparator Exporter\SpecialChar menuseparator LaTeX \begin_inset space ~ \end_inset (pdflatex) / (plain) \family default . La boîte de cette note ressemble à ceci : \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/CommentNoteImage.png display false scale 90 scaleBeforeRotation \end_inset \begin_inset Note Comment status open \begin_layout Plain Layout Le texte de cette note n'apparaîtra que comme commentaire dans un fichier \SpecialChar LaTeX . \end_layout \end_inset \end_layout \begin_layout Description Grisée Ce type de note apparaît à l'impression sous forme de texte grisé. La boîte de cette note ressemble à ceci : \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/GreyedOutNoteImage.png lyxscale 80 display false scale 90 scaleBeforeRotation \end_inset \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewenvironment{lyxgreyedout} \end_layout \begin_layout Plain Layout { \backslash textcolor[gray]{0.8} \backslash bgroup}{ \backslash egroup} \end_layout \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout Le texte de ce commentaire apparaîtra à l'impression sous forme de texte grisé. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewenvironment{lyxgreyedout} \end_layout \begin_layout Plain Layout { \backslash textcolor{blue} \backslash bgroup}{ \backslash egroup} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Ici, on a redéfini la note grisée pour qu'elle apparaisse avec la définition originale qu'elle a dans \SpecialChar LyX . En effet, dans ce document les notes grisées sont redéfinies dans le préambule, comme c'est décrit plus loin, pour apparaître avec le texte en bleu. \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset Comme vous pouvez le voir dans l'exemple, la première ligne des notes grisées est un peu décalée et ce type de notes peut avoir des notes de bas de page. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Quand vous utilisez le bouton \begin_inset Info type "icon" arg "note-insert" \end_inset de la barre d'outils, vous insérez une \family sans Note \begin_inset space ~ \end_inset \SpecialChar LyX \family default . Vous pouvez commuter entre les trois types de note avec un clic droit sur la boîte. Si vous voulez transformer une portion de texte existant en note, sélectionnez- la et cliquez sur le bouton d'insertion de note. Pour retransformer une note en texte, appuyez sur la touche \family sans backspace \family default quand le curseur est au tout début de la note ou appuyez sur la touche \family sans Suppr. \family default quand le curseur se trouve à la fin de la note. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Vous pouvez changer la couleur des notes grisées dans le menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Couleurs \family default . \end_layout \begin_layout Section Notes en bas de page \begin_inset CommandInset label LatexCommand label name "sec:Notes-bas-de-page" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes ! Notes de bas de page \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes de bas de page \end_layout \end_inset \end_layout \begin_layout Standard Les notes en bas de page peuvent être insérées soit en utilisant le bouton \begin_inset Info type "icon" arg "footnote-insert" \end_inset de la barre d'outils, soit en utilisant le menu \family sans Insertion\SpecialChar menuseparator Note \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset Bas \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Page \family default . Vous voyez alors apparaître dans votre texte une boîte grise avec une étiquette rouge \begin_inset Quotes fld \end_inset bas \begin_inset Quotes frd \end_inset qui ressemble à ceci : \begin_inset Graphics filename clipart/footnote.png scale 95 scaleBeforeRotation \end_inset Vous pouvez y entrer votre texte. Si vous voulez transformer du texte déjà existant en note en bas de page, sélectionnez-le et cliquez sur le bouton \family sans Note \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset Bas \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Page \family default de la barre d'outils. Pour retransformer une note de bas de page en texte, appuyez sur la touche \family sans Backspace \family default quand le curseur est au tout début de la note ou appuyez sur la touche \family sans Suppr. \family default quand le curseur se trouve à la fin de la note. \end_layout \begin_layout Standard Voici un exemple de note en bas de page: \begin_inset Foot status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fn:Note-en-bas" \end_inset Ceci est un exemple de note en bas de page. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash newcounter{MyRepeatFoot} \end_layout \begin_layout Plain Layout \backslash setcounter{MyRepeatFoot}{ \backslash thefootnote} \end_layout \end_inset \end_layout \begin_layout Standard La note de bas de page apparaîtra dans la sortie imprimée sous la forme d'un numéro en exposant à la position qu'occupe dans le texte la boîte de note. Le texte de la note est placé en bas de la page courante. Le numéro de note est calculé par \SpecialChar LaTeX , et les numéros se suivent. Selon votre classe de document les numéros de notes pourront être réinitialisés à chaque nouveau chapitre. \end_layout \begin_layout Standard On peut faire référence à une note en bas de page comme on le fait avec les flottants : Insérez une étiquette dans la note et faites une référence croisée vers cette étiquette comme c'est décrit dans la \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencer-les-Flottants" \end_inset . \begin_inset Newline newline \end_inset Voici une référence à une note de bas de page : \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fn:Note-en-bas" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset \lang english Footnotes in title environments are usually not numbered with symbols and they cannot contain several paragraphs. See for example the footnote in the titling of this document. \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard Le notes de bas de page se trouvant dans des tableaux ne sont pas imprimées par \SpecialChar LaTeX pour des raisons techniques. Il existe pourtant une autre méthode pour les imprimer : on insère la commande \series bold \backslash footnotemark{} \series default en code \SpecialChar TeX à la place de la note de bas de page. Le texte de la note est mis en argument de la commande \SpecialChar TeX \series bold \backslash footnotetext \series default après le tableau. \begin_inset Newline newline \end_inset C'est ce qui a été fait pour le tableau qui suit avec la commande \end_layout \begin_layout Standard \series bold \backslash footnotetext{ \series default Note de bas de page de tableau imprimée. \series bold } \end_layout \begin_layout Standard \lang english \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Un exemple de texte \begin_inset Foot status open \begin_layout Plain Layout Cette note ne sera pas imprimée \begin_inset space ~ \end_inset ! \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Un autre exemple de texte \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark{} \end_layout \end_inset \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotetext{ \end_layout \end_inset \lang french Note de bas de page de tableau imprimée. \lang english \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard Les notes de bas de page dans des tableaux multi-pages sont décrites dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Notes-dans-tableau-multi-pages" \end_inset . \end_layout \begin_layout Standard Les notes de bas de page qui se trouvent à l'intérieur d'une minipage sont imprimées, mais à l'intérieur de la minipage et avec une numérotation différent e, vu que la minipage est considérée comme une page se trouvant dans une autre page. Pour plus d'information sur les minipages, voyez la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipages" \end_inset . Pour avoir une note de bas de page à l'intérieur d'une minipage et qui s'imprime en bas de page comme une note normale, on doit aussi utiliser la méthode utilisant les commandes \series bold \backslash footnotemark{} \series default et \series bold \backslash footnotetext \series default . \end_layout \begin_layout Standard \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 0 width "100col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout Un exemple de texte dans une minipage. \begin_inset Foot status open \begin_layout Plain Layout Note de bas de page dans la minipage. \end_layout \end_inset \end_layout \begin_layout Plain Layout Un autre exemple de texte dans une minipage. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark{} \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotetext{ \end_layout \end_inset Note de bas de page en dehors de la minipage. \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard Pour faire référence plusieurs fois à la même note sans avoir à la dupliquer, utilisez la commande \series bold \backslash footnotemark[number] \series default en code \SpecialChar TeX . \begin_inset Newline newline \end_inset Comme vous ne connaissez pas le numéro de la note au moment où vous écrivez votre texte, vous devez enregistrer son numéro. Dans l'exemple de marque de note de bas de page suivant, ces commandes ont été insérées en code \SpecialChar TeX après la note \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fn:Note-en-bas" \end_inset pour enregistrer son numéro \begin_inset space ~ \end_inset : \end_layout \begin_layout Standard \series bold \backslash newcounter{MaNoteDupliquee} \begin_inset Newline newline \end_inset \backslash setcounter{MaNoteDupliquee}{ \backslash thefootnote} \end_layout \begin_layout Standard La note de bas de page a été créée avec la commande \begin_inset space ~ \end_inset : \end_layout \begin_layout Standard \series bold \backslash footnotemark[ \backslash MaNoteDupliquee] \end_layout \begin_layout Standard Voici une note de bas de page dupliquée \begin_inset space ~ \end_inset : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark[ \backslash theMyRepeatFoot] \end_layout \end_inset \end_layout \begin_layout Standard Si vous voulez dupliquer la note précédente, vous pouvez omettre l'enregistremen t du numéro de note et juste utiliser la commande suivante \end_layout \begin_layout Standard \series bold \backslash footnotemark[ \backslash thefootnote] \end_layout \begin_layout Standard Voici une autre note de bas de page dupliquée \begin_inset space ~ \end_inset : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark[ \backslash thefootnote] \end_layout \end_inset \end_layout \begin_layout Subsection Numérotation de notes de bas de page \begin_inset CommandInset label LatexCommand label name "subsec:Numerotation-notes-bas-de-page" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes de bas de page ! Numérotation \end_layout \end_inset \end_layout \begin_layout Standard Pour remettre les numéros de notes de bas de page à zéro après chaque section, ajoutez cette commande dans le préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash @addtoreset{footnote}{section} \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset La commande de préambule suivante change le style de numérotation des notes en petits chiffres romains : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash thefootnote}{ \backslash roman{footnote}} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash roman{footnote}} \end_layout \end_inset Cette note de bas de page utilise une numérotation en chiffres romains : \begin_inset Foot status open \begin_layout Plain Layout Ceci est un exemple de note de bas de page numérotée avec de petits chiffres romains. \end_layout \end_inset \end_layout \begin_layout Standard Pour mettre la numérotation en chiffres romains majuscules, remplacez dans la commande précédente \series bold \backslash roman \series default par \series bold \backslash Roman \series default . Pour numéroter les notes avec des lettres latines minuscules ou majuscules, utilisez respectivement soit \series bold \backslash Alph \series default soit \series bold \backslash alph \series default . Pour les \begin_inset Quotes fld \end_inset numéroter \begin_inset Quotes frd \end_inset avec des symboles, utilisez \series bold \backslash fnsymbol \series default . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Vous ne pouvez numéroter que 26 notes de bas de page avec des lettres latines, puisque cette numérotation est limitée à des lettres seules. \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Vous ne pouvez numéroter que 9 notes de bas de page avec des symboles. \end_layout \end_inset \end_layout \begin_layout Standard Pour revenir au style de numérotation implicite quand vous en avez changé, utilisez \series bold \backslash arabic \series default à la place de \series bold \backslash roman \series default dans la commande précédente. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash arabic{footnote}} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Si vous voulez que vos notes de bas de pages soient numérotées en suivant le schéma \begin_inset Quotes fld \end_inset chapitre.note \begin_inset Quotes frd \end_inset , ajoutez la commande suivante au préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash numberwithin{footnote}{chapter} \end_layout \begin_layout Standard Pour pouvoir utiliser la commande \series bold \backslash numberwithin \series default , activez dans la rubrique \family sans Options \begin_inset space ~ \end_inset des \begin_inset space ~ \end_inset Maths \family default dans les paramètres du document, l'option \family sans Utiliser \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset paquetage \begin_inset space ~ \end_inset maths \begin_inset space ~ \end_inset AMS \family default . \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash numberwithin{footnote}{chapter} \end_layout \end_inset Ceci est un autre exemple de note de bas de page: \series bold \begin_inset Foot status open \begin_layout Plain Layout Cette note est numérotée en suivant le schéma \begin_inset Quotes fld \end_inset chapitre.note \begin_inset Quotes frd \end_inset . \end_layout \end_inset \series default \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash arabic{footnote}} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default \series bold \backslash numberwithin \series default imprime toujours les numéros de notes en nombres arabes ; les redéfinitions précédentes ayant pour but d'avoir des numéros non arabes ne sont plus prises en compte. \end_layout \end_inset \end_layout \begin_layout Standard Donc pour avoir par exemple le schéma \begin_inset Quotes fld \end_inset chapitre. \backslash Roman{note} \begin_inset Quotes frd \end_inset , utilisez la commande suivante plutôt que \series bold \backslash numberwithin \series default : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash thefootnote}{ \backslash thechapter. \backslash Roman{footnote}} \end_layout \begin_layout Subsection Positionnement de notes de bas de page \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes de bas de page ! Positionnement \end_layout \end_inset \end_layout \begin_layout Standard Si vous avez plusieurs notes sur une même page, elle apparaissent sans espace vertical entre elles en bas de la page. Pour les rendre plus lisibles vous pouvez par exemple ajouter un espace de 1.5 \begin_inset space \thinspace{} \end_inset mm avec la commande suivante dans le préambule : \end_layout \begin_layout Standard \series bold \backslash let \backslash myFoot \backslash footnote \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash footnote}[1]{ \backslash myFoot{#1 \backslash vspace{1.5mm}}} \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Dans un document à deux colonnes les notes de bas de page apparaissent en bas de chaque colonne, comme sur la Figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Position-standard-note-bas-de-page" \end_inset . Si les notes ne doivent apparaître qu'en bas de la colonne de droite, comme sur la Figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Position-note-avec-ftnright" \end_inset , utilisez le paquetage \SpecialChar LaTeX \series bold ftnright \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! ftnright \end_layout \end_inset avec cette commande dans le préambule du document: \end_layout \begin_layout Standard \series bold \backslash usepackage{ftnright} \end_layout \begin_layout Standard \begin_inset Float figure placement !h wide false sideways false status open \begin_layout Plain Layout \noindent \align center \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/without_fntright.pdf width 100col% scaleBeforeRotation \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Position-standard-note-bas-de-page" \end_inset Positionnement standard des notes de bas de page dans un document à deux colonnes. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement !h wide false sideways false status open \begin_layout Plain Layout \noindent \align center \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/with_fntright.pdf width 100col% scaleBeforeRotation \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Position-note-avec-ftnright" \end_inset Positionnement de notes de bas de page dans un document à deux colonnes en utilisant le paquetage \SpecialChar LaTeX \series bold ftnright \series default . \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Dans certaines publications scientifiques, il est courant de rassembler les notes de bas de page et de les imprimer dans un paragraphe particulier à la fin de la section, comme sur la Figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Notes-de-fin" \end_inset . On les appelle \begin_inset Quotes fld \end_inset notes de fin \begin_inset Quotes frd \end_inset . \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes de fin \end_layout \end_inset Pour utiliser des notes de fin à la place des notes de bas de page dans votre document, charger le module \family sans Note de bas de page en fin de document \family default à partir de \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Modules \family default . Pour insérer les notes qui ont ainsi été rassemblées, mettez la commande \end_layout \begin_layout Standard \series bold \backslash theendnotes \end_layout \begin_layout Standard en code \SpecialChar TeX à la fin d'une section ou d'un chapitre. \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/endnotes.pdf width 100col% scaleBeforeRotation \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Notes-de-fin" \end_inset Les notes de fin – notes de bas de page sont imprimées dans un paragraphe séparé à la fin des sections ou des chapitres. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset L'entête de paragraphe pour les notes de fin n'est pas traduit automatiquement dans la langue du document, cela doit être fait manuellement. Les lignes de préambule suivantes traduisent implicitement le nom en anglais \begin_inset Quotes fld \end_inset Notes \begin_inset Quotes frd \end_inset en sa traduction Allemande \begin_inset Foot status collapsed \begin_layout Plain Layout En français, \begin_inset Quotes fld \end_inset Notes \begin_inset Quotes frd \end_inset peut être conservé. \end_layout \end_inset \begin_inset Quotes fld \end_inset Anmerkungen \begin_inset Quotes frd \end_inset : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash notesname}{Anmerkungen} \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset La numérotation des notes de fin peut être modifiée comme celle des notes de bas de page comme c'est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Numerotation-notes-bas-de-page" \end_inset ; remplacez juste la commande \series bold \backslash thefootnote \series default par \series bold \backslash theendnote \series default . Pour réinitialiser le numéro de note de fin, utilisez la commande \series bold \backslash @addtoreset \series default comme c'est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Numerotation-notes-bas-de-page" \end_inset et remplacez le paramètre de commande \series bold footnote \series default par \series bold endnote \series default . \end_layout \begin_layout Standard Pour les notes de fin, il y a la commande \series bold \backslash endnotemark[numéro] \series default qui est semblable à \series bold \backslash footnotemark \series default , décrite dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Notes-bas-de-page" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Les notes de bas de page peuvent être mise dans la marge de la page et l'alignement du texte des notes peut être modifié, voyez le paquetage \SpecialChar LaTeX \series bold footmisc \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! footmisc \end_layout \end_inset , \begin_inset CommandInset citation LatexCommand cite key "footmisc" \end_inset pour plus d'information à ce sujet. \end_layout \begin_layout Standard Pour plein d'autres problèmes de mises en formes des notes de bas de page, voyez les livres sur \SpecialChar LaTeX , \begin_inset CommandInset citation LatexCommand cite key "latexcompanion,latexguide,latexbook" \end_inset . Si vous utilisez une classe de document \series bold KOMA-Script \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! KOMA-Script \end_layout \end_inset , vous pouvez modifier tous les paramètres des notes de bas de page en utilisant des commandes spécifiques à la classe de document utilisée, voyez \begin_inset CommandInset citation LatexCommand cite key "KOMA-Script" \end_inset . \end_layout \begin_layout Section Notes en marge \begin_inset Index idx status collapsed \begin_layout Plain Layout Notes ! Notes en Marge \end_layout \end_inset \end_layout \begin_layout Standard Les notes en marge dans \SpecialChar LyX ressemblent aux notes en bas de page et se comportent de la même façon. Quand vous insérez une note en marge avec \family sans Insertion\SpecialChar menuseparator Note \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset Marge \family default ou avec le bouton \begin_inset Info type "icon" arg "marginalnote-insert" \end_inset de la barre d'outils, vous voyez apparaître dans votre texte une boîte grise avec une étiquette rouge \begin_inset Quotes fld \end_inset marge \begin_inset Quotes frd \end_inset . \begin_inset Marginal status collapsed \begin_layout Plain Layout C'est une note en marge. \end_layout \end_inset Cette boîte est la représentation de votre note dans \SpecialChar LyX . Vous pouvez y entrer votre texte. \end_layout \begin_layout Standard Les notes en marge apparaissent dans la marge de droite dans les documents imprimées sur une seule face. Dans les documents imprimés recto-verso, elles apparaissent dans la marge \begin_inset Quotes fld \end_inset extérieure \begin_inset Quotes frd \end_inset – la gauche sur les pages paires et la droite sur les pages impaires. Le texte de la note en marge est aligné à l'opposé de la marge externe – aligné à droite quand la note apparaît dans la marge de gauche. La première ligne de la note apparaît à la hauteur de la ligne de texte où la note a été insérée dans le document. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Pour placer une note dans la marge interne, ajoutez la commande suivante : \end_layout \begin_layout Standard \series bold \backslash reversemarginpar \end_layout \begin_layout Standard sous forme de code \SpecialChar TeX avant votre note de marge. Le nouveau positionnement est pris en compte pour toutes les notes en marge qui suivent \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash reversemarginpar \end_layout \end_inset \begin_inset Marginal status open \begin_layout Plain Layout Cette note en marge est dans la marge interne. \end_layout \end_inset \series bold \begin_inset Newline newline \end_inset \series default \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Il y a souvent pas assez d'espace dans la marge interne, ce qui fait que les notes sont souvent mal mises en formes dans la sortie imprimée. \end_layout \end_inset \end_layout \begin_layout Standard Pour revenir au positionnement implicite, ajoutez la commande : \end_layout \begin_layout Standard \series bold \backslash normalmarginpar \end_layout \begin_layout Standard sous forme de code \SpecialChar TeX . \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash normalmarginpar \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Cette commande est ignorée quand elle est dans un paragraphe ou la commande \series bold \backslash reversemarginpar \series default est aussi utilisée. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \begin_inset Marginal status open \begin_layout Plain Layout UnTrèsLongMotEnMarge sans césure. \end_layout \end_inset Comme dans le cas décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Lignes-multiple-dans-cellule" \end_inset , les mots trop longs ne peuvent pas subir de césure s'ils sont le premier mot d'une note en marge. Pour éviter ce problème, insérez un espacement horizontal de 0 \begin_inset space \thinspace{} \end_inset pt avant le mot en question: \begin_inset Marginal status open \begin_layout Plain Layout \begin_inset space \hspace{} \length 0pt \end_inset UnMotTrèsLongEnMarge avec une césure. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Normalement, les notes en marge ne peuvent pas être utilisées dans des tableaux, des flottants et des notes de bas de page. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifmarginnote \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La section suivante ne sera affichée que si le paquetage \SpecialChar LaTeX \series bold marginnote \series default a été installé. \end_layout \end_inset \end_layout \begin_layout Standard Cette restriction peut être évitée en utilisant le paquetage \SpecialChar LaTeX \series bold marginnote \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! marginnote \end_layout \end_inset . En ajoutant les deux lignes suivantes au préambule de votre document, la commande que \SpecialChar LyX utilise pour les notes de marge est redéfinie pour utiliser la commande fournie par le paquetage \series bold marginnote \series default : \end_layout \begin_layout Standard \series bold \backslash usepackage{marginnote} \begin_inset Newline newline \end_inset \backslash let \backslash marginpar \backslash marginnote \end_layout \begin_layout Standard Ce paquetage est aussi utilisé dans ce document parce que \series bold marginnote \series default a une autre fonction très utile : Vous pouvez définir un décalage (offset) vertical pour une note. C'est souvent nécessaire quand vous avez trop de notes en marge et qu'elles sont trop proches les unes des autres ou que vous voulez améliorer la mise en page. Le décalage est inséré dans \SpecialChar LyX sous forme de code \SpecialChar TeX directement après la note sous la forme \end_layout \begin_layout Standard \series bold [offset] \end_layout \begin_layout Standard où l'offset utilise l'une des unités listées dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unités-de-longueur" \end_inset . Une valeur négative déplace la note vers le haut, une valeur positive la déplace vers le bas. Par exemple la note qui se trouve à côté de cette ligne de texte est décalée vers le haut de 1.5 \begin_inset space \thinspace{} \end_inset cm avec la commande en code \SpecialChar TeX \begin_inset Quotes fld \end_inset \series bold [-1.5cm] \series default \begin_inset Quotes frd \end_inset \begin_inset Marginal status collapsed \begin_layout Plain Layout Cette note en marge est décalée vers le haut de 1.5 \begin_inset space \thinspace{} \end_inset cm par rapport à sa position d'origine. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout [-1.5cm] \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Avec le paquetage \series bold marginnote \series default vous pouvez aussi modifier l'alignement du texte dans la note de marge. Par exemple les commandes \end_layout \begin_layout Standard \series bold \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash centering} \begin_inset Newline newline \end_inset \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash centering} \end_layout \begin_layout Standard donnent un alignement centré. \series bold \backslash raggedleftmarginnote \series default indique une note qui apparaît dans la marge de gauche. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash centering} \end_layout \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash centering} \end_layout \end_inset \begin_inset Marginal status collapsed \begin_layout Plain Layout Le texte de cette note en marge est centré. \end_layout \end_inset . Le comportement implicite est donné par \end_layout \begin_layout Standard \series bold \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash raggedleft} \begin_inset Newline newline \end_inset \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash raggedright} \series default \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash raggedleft} \end_layout \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash raggedright} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Pour les autre fonctions du paquetage \series bold marginnote \series default nous vous renvoyons à sa documentation \begin_inset CommandInset citation LatexCommand cite key "marginnote" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Vous pouvez changer la mise en forme d'une note en marge en changeant sa définition. Pour créer par exemple une entête pour toutes les notes en marge avec le texte \begin_inset Quotes fld \end_inset \family sans \series bold \bar under Attention! \family default \series default \bar default \begin_inset Quotes frd \end_inset écrit en souligné, sans-sérif et en gras, ajoutez ce qui suit dans le préambule de votre document : \end_layout \begin_layout Standard \series bold \backslash let \backslash myMarginpar \backslash marginpar \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash marginpar}[1]{ \backslash myMarginpar{% \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 hspace{0pt} \backslash textsf{ \backslash textbf{ \backslash underbar{Attention!}}}% \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 vspace{1.5mm} \backslash \backslash #1}} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myMarginpar \backslash marginpar \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash marginpar}[1]{ \backslash myMarginpar{% \end_layout \begin_layout Plain Layout \backslash textsf{ \backslash textbf{ \backslash underbar{Attention!}}}% \end_layout \begin_layout Plain Layout \backslash vspace{1.5mm} \backslash \backslash #1}} \end_layout \end_inset \begin_inset Marginal status open \begin_layout Plain Layout Ceci est une note en marge avec une en-tête prédéfinie. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout [-1.5cm] \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash marginpar}[1]{ \backslash myMarginpar{#1}} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout \lang english The margin note format is changed only for this example. \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 \SpecialChar LaTeX \series bold marginnote \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage \SpecialChar LaTeX \series bold marginnote \series default pour voir la suite de 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 Chapter Boîtes \end_layout \begin_layout Section Introduction \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Introduction \end_layout \end_inset \end_layout \begin_layout Standard Les boîtes sont utilisées pour mettre en forme un bloc de texte. Elles peuvent être utilisées pour écrire un document en plusieurs langues, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipages" \end_inset , pour encadrer des portions de texte, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Décorations" \end_inset , pour empêcher que des mots subissent une césure, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Empêcher-césure" \end_inset , pour aligner du texte, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Alignement-Vertical" \end_inset , ou pour modifier la couleur de fond d'une portion de texte, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Boîtes-colorées" \end_inset . \end_layout \begin_layout Standard On peut insérer une boîte en utilisant le menu \family sans Insertion\SpecialChar menuseparator Boîte \family default ou avec le bouton \begin_inset Info type "icon" arg "box-insert Frameless" \end_inset de la barre d'outils. Une boîte grise avec une étiquette \family sans Boîte \begin_inset space ~ \end_inset (Minipage) \family default : \begin_inset Graphics filename clipart/BoxInsetDefault.png scale 95 scaleBeforeRotation \end_inset est alors insérée. Le type de la boîte peut être précisé en faisant un clic droit sur la boîte et en choisissant \family sans Paramètres \family default . La fenêtre de dialogue qui apparaît donne accès aux types de \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default \family sans Makebox, Parbox \family default et \family sans Minipage \family default . Le type \family sans Minipage \family default est le type implicite pour les boîtes nouvellement créées et il est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipages" \end_inset ; le type \family sans Parbox \family default est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Parboxes" \end_inset et le type \family sans Makebox \family default est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Empêcher-césure" \end_inset . \end_layout \begin_layout Standard Les boîtes ne sont pas numérotées et donc ne peuvent pas être référencées comme les flottants ou les notes de bas de page. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Vous ne pouvez pas employer une boîte comme élément dans un environnement de type \family sans Liste \family default ou \family sans Description \family default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Pour une raison inconnue, vous ne pouvez mettre le type de la \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default à \family sans Aucune \family default que quand vous utilisez une boîte encadrée. Les boîtes sans \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default et sans cadre sont expliquées dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Empêcher-césure" \end_inset . \end_layout \end_inset \end_layout \begin_layout Section La fenêtre de dialogue Boîte \begin_inset CommandInset label LatexCommand label name "sec:Boîte-Dialogue" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Fenêtre de dialogue Boîte \end_layout \end_inset \end_layout \begin_layout Subsection Taille \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Taille \end_layout \end_inset \end_layout \begin_layout Standard Dans la fenêtre de dialogue \family sans Paramètres \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Boîte \family default vous pouvez modifier la géométrie de la boîte avec les champs \family sans Largeur \family default et \family sans Hauteur \family default . Les unités de longueur qui sont utilisables dans ces champs sont décrites dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unités" \end_inset . Le champ \family sans Hauteur \family default offre en plus les spécifications de taille suivantes : \end_layout \begin_layout Description Profondeur C'est simplement la \begin_inset Quotes fld \end_inset hauteur \begin_inset Quotes frd \end_inset du texte. On ne tient pas compte de hauteur réelle du texte quand il y a plusieurs lignes de texte dans la boîte. \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1in" height_special "depth" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte dont la hauteur est égale à 1 \begin_inset space \thinspace{} \end_inset Profondeur \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Description Hauteur C'est la hauteur totale du texte qui se trouve dans la boîte. Par exemple, une valeur de 2 pour cette taille va donner une boîte qui est deux fois plus haute que le texte : \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "2in" height_special "height" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte dont la hauteur est 2 \begin_inset space \thinspace{} \end_inset Hauteur \end_layout \end_inset \end_layout \begin_layout Description Hauteur \begin_inset space ~ \end_inset Totale C'est égal à Hauteur \begin_inset space \thinspace{} \end_inset + \begin_inset space \thinspace{} \end_inset Profondeur : \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte dont la hauteur est 1 \begin_inset space \thinspace{} \end_inset Hauteur \begin_inset space ~ \end_inset Totale \end_layout \end_inset \end_layout \begin_layout Description Largeur On prend la largeur de la boîte comme hauteur : \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1in" height_special "width" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte dont la hauteur est 1 \begin_inset space \thinspace{} \end_inset Largeur \end_layout \end_inset \end_layout \begin_layout Subsection Alignement \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Alignement \end_layout \end_inset \end_layout \begin_layout Standard Quand vous avez choisi une \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default , l'alignement vertical de la boîte peut être : \end_layout \begin_layout Description Haut Ceci est un exemple de texte. \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Cette boîte est alignée sur le haut. \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Description Milieu Ceci est un exemple de texte. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Cette boîte est alignée au centre. \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Description Bas Ceci est un exemple de texte. \begin_inset Box Boxed position "b" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Cette boîte est alignée sur le bas. \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default L'alignement vertical peut être perturbé dans la sortie finale quand vous avez par exemple deux boîtes sur une même ligne, une avec une ombre et l'autre non. \end_layout \end_inset \end_layout \begin_layout Standard L'alignement horizontal de la boîte peut être modifié quand elle a son propre paragraphe grâce à la fenêtre de dialogue \family sans Paramètres \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Boîte \family default . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Quand vous avez choisi une \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default , l'alignement vertical du contenu de la boîte peut être : \end_layout \begin_layout Description haut Ceci est un exemple de texte. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Le texte de cette boîte est aligné sur le haut. \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Description milieu Ceci est un exemple de texte. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Le texte de cette boîte est aligné au centre \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Description bas Ceci est un exemple de texte. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "b" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Le texte de cette boîte est aligné en bas. \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Description élongation Ceci est un exemple de texte. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "s" use_parbox 0 use_makebox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout \align center Le texte \end_layout \begin_layout Plain Layout \align center de cette \end_layout \begin_layout Plain Layout \align center boîte est \end_layout \begin_layout Plain Layout \align center allongé. \end_layout \end_inset Ceci est un exemple de texte. \end_layout \begin_layout Standard Pour allonger le contenu d'une boîte, il doit être constitué de plus d'un paragraphe. Dans l'exemple ci-dessus, chaque ligne de texte a son propre paragraphe. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Pour aligner horizontalement le contenu d'une boîte vous pouvez utiliser la fenêtre de dialogue \family sans Paramètres \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset paragraphe \family default quand vous avez choisi une \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default . \end_layout \begin_layout Standard \align center \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "s" use_parbox 0 use_makebox 0 width "15col%" special "none" height "1.25in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align left Le texte de \end_layout \begin_layout Plain Layout \align left cette boîte \end_layout \begin_layout Plain Layout \align right est allongé. \end_layout \end_inset \end_layout \begin_layout Standard Si vous n'avez pas choisi une \family sans Boîte \begin_inset space ~ \end_inset Intérieure \family default , vous pouvez allonger le contenu de la boîte horizontalement avec la fenêtre de dialogue de boîte. \end_layout \begin_layout Standard \align center \begin_inset Box Boxed position "c" hor_pos "s" has_inner_box 0 inner_pos "s" use_parbox 0 use_makebox 0 width "90col%" special "none" height "1.25in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout Le texte de cette boîte est allongé horizontalement. \end_layout \end_inset \end_layout \begin_layout Subsection Décorations \begin_inset CommandInset label LatexCommand label name "sec:Décorations" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Décorations \end_layout \end_inset \end_layout \begin_layout Standard On peut spécifier le style de la boîte en utilisant la liste déroulante \family sans Décoration \family default . Les possibilités sont les suivantes : \end_layout \begin_layout Description Aucun \begin_inset space ~ \end_inset cadre \begin_inset space ~ \end_inset tracé Rien n'est tracé \end_layout \begin_layout Description Cadre \begin_inset space ~ \end_inset rectangulaire \begin_inset space ~ \end_inset simple Ceci dessine un cadre rectangulaire autour de la boîte. L'épaisseur du trait de ce cadre peut être précisé. \begin_inset Newline newline \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte rectangulaire \end_layout \end_inset \end_layout \begin_layout Description Cadre \begin_inset space ~ \end_inset oval, \begin_inset space ~ \end_inset fin Ceci dessine un cadre ovalisée autour de la boîte. L'épaisseur du trait de ce cadre est de 0.4 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box ovalbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte ovalisée, fine \end_layout \end_inset \end_layout \begin_layout Description Cadre \begin_inset space ~ \end_inset oval, \begin_inset space ~ \end_inset épais Ceci dessine un cadre ovalisée autour de la boîte. L'épaisseur du trait de ce cadre est de 0.8 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box Ovalbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte ovalisée, épaisse \end_layout \end_inset \end_layout \begin_layout Description Ombre \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset relief Ceci dessine un cadre rectangulaire avec une ombre autour de la boîte. L'épaisseur du trait de ce cadre et l'ombre peut être précisé. \begin_inset Box Shadowbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte ombrée \end_layout \end_inset \end_layout \begin_layout Description Fond \begin_inset space ~ \end_inset ombré Ceci dessine une boîte avec un arrière plan rouge. Contrairement aux boîtes coloriées \begin_inset Foot status collapsed \begin_layout Plain Layout Voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Boîtes-colorées" \end_inset . \end_layout \end_inset , elle utilise toujours toute la largeur de la colonne et la boîte constitue son propre paragraphe. \begin_inset Box Shaded position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "50col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout Boîte avec fond ombré \end_layout \end_inset \end_layout \begin_layout Description Cadre \begin_inset space ~ \end_inset rectangulaire \begin_inset space ~ \end_inset dédoublé Ceci dessine un cadre rectangulaire à deux traits autour de la boîte. L'épaisseur du trait du cadre interne est de 0.75 \begin_inset space \thinspace{} \end_inset épaisseur \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset trait, l'épaisseur du trait du cadre externe est de 1.5 \begin_inset space \thinspace{} \end_inset épaisseur \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset trait. La distance entre les deux cadres est de 1.5 \begin_inset space \thinspace{} \end_inset épaisseur \begin_inset space ~ \end_inset du \begin_inset space ~ \end_inset trait \begin_inset space \thinspace{} \end_inset + \begin_inset space \thinspace{} \end_inset 0.5 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box Doublebox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "20col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte double \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset L'étiquette qui se trouve sur la boîte dans \SpecialChar LyX s'adapte pour montrer le style de boîte utilisé. Pour pouvoir utiliser ces différents types de cadres, vous devez installer le paquetage \SpecialChar LaTeX \series bold fancybox \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! fancybox \end_layout \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Quand vous utilisez le style de décoration \family sans cadre rectangulaire simple \family default sans boîte intérieure, vous pouvez autoriser les sauts de page à l'intérieur de la boîte. Notez que dans ce cas, contrairement aux autres boîtes avec cadre, le cadre prendra toute la largeur de la colonne et la boîte sera considérée comme son propre paragraphe: \begin_inset Box Framed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "100col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout Boîte avec cadre simple et sauts de page \end_layout \end_inset \end_layout \begin_layout Section Personnalisation des boîtes \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes! Personnalisation \end_layout \end_inset \end_layout \begin_layout Standard Le diamètre des coins arrondis des boîtes ovalisées peut être modifié par la commande \series bold \backslash cornersize \series default . Par exemple, la commande \end_layout \begin_layout Standard \series bold \backslash cornersize*{1cm} \end_layout \begin_layout Standard donne un diamètre de 1 \begin_inset space \thinspace{} \end_inset cm. La commande \end_layout \begin_layout Standard \series bold \backslash cornersize{num} \end_layout \begin_layout Standard fixe le diamètre à \family sans num \begin_inset space \thinspace{} \end_inset × \begin_inset space \thinspace{} \end_inset minimum(largeur et hauteur de la boîte) \family default . La valeur implicite est \series bold \backslash cornersize{0.5} \series default . \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cornersize*{1.5cm} \end_layout \end_inset \begin_inset Box Ovalbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "25col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \align center Boîte ovale avec \series bold \backslash cornersize \series default \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 1.5 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cornersize{0.5} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard La couleur rouge utilisée implicitement pour les boîtes à \family sans Fond \begin_inset space ~ \end_inset ombré \family default peut soit être modifiée localement avec la commande \series bold \backslash definecolor{shadecolor} \series default , soit globalement avec le menu \family sans Outils\SpecialChar menuseparator Préférences \family default \SpecialChar menuseparator \family sans Couleurs\SpecialChar menuseparator boîte \begin_inset space ~ \end_inset ombrée \family default . La syntaxe de la commande \series bold \backslash definecolor \series default est expliquée dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . \begin_inset Foot status collapsed \begin_layout Plain Layout Notez que l'utilisation de \series bold \backslash definecolor \series default ne peut se faire sans le paquetage \SpecialChar LaTeX \series bold color \series default dans le préambule, voir la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Boîtes-colorées" \end_inset . \end_layout \end_inset \end_layout \begin_layout Standard Par exemple l'apparence de la note à fond ombré suivante a été modifié avec le commande en code \SpecialChar TeX suivantes \end_layout \begin_layout Standard \series bold \backslash definecolor{shadecolor}{cmyk}{0.5,0,1,0.5} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash definecolor{shadecolor}{cmyk}{0.5,0,1,0.5} \end_layout \end_inset \begin_inset Box Shaded position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "100col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \color yellow Ceci est un texte jaune dans une boîte à \family sans Fond \begin_inset space ~ \end_inset ombré \family default \color inherit \color yellow avec un fond vert foncé. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash definecolor{shadecolor}{rgb}{1,0,0} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Les largeurs et culeurs ainsi modifiées restent valables pour toutes les boîtes qui suivent la commandes qui les a changées. \end_layout \begin_layout Section Minipages \begin_inset CommandInset label LatexCommand label name "sec:Minipages" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Minipages \end_layout \end_inset \end_layout \begin_layout Standard \SpecialChar LaTeX fournit un mécanisme qui, en fait, permet de produire une page à l'intérieur d'une page. On parle alors d'une minipage, et à l'intérieur de celle-ci, toutes les règles d'indentation, de saut de ligne, etc. s'appliquent. \end_layout \begin_layout Standard Les minipages sont par exemple utiles quand on écrit un document avec plusieurs langues. \end_layout \begin_layout Standard Ci-dessous, vous avez deux exemples de minipages côte-à-côte. Leur largeur est fixée à 45 \begin_inset space \thinspace{} \end_inset col% et elles sont séparées par un ressort horizontal, qui a été inséré via le menu \family sans Insertion\SpecialChar menuseparator Typographie \begin_inset space ~ \end_inset spéciale\SpecialChar menuseparator Ressort \begin_inset space ~ \end_inset Horizontal \family default . \end_layout \begin_layout Standard \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 use_makebox 0 width "45col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français.Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français. Ceci est un texte en français \begin_inset Foot status collapsed \begin_layout Plain Layout Ceci est une note de bas de page en français. \end_layout \end_inset .Ceci est un texte en français \end_layout \end_inset \begin_inset space \hfill{} \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 "45col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \lang english This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. \begin_inset Foot status collapsed \begin_layout Plain Layout \lang english This is an English footnote. \end_layout \end_inset This is an English Text. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Les paramètres globaux du document sont ignorés au sein d'une minipage. Cela signifie qu'il n'y aura pas d'espace entre les paragraphes dans les minipages, même si vous les avez mis par exemple à \family sans Moyen \family default dans les paramètres du document. \end_layout \begin_layout Standard Les minipages peuvent être utilisées pour changer la couleur de fond d'une portion de texte, voyez la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Boîtes-colorées" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Vous ne pouvez avoir des flottants ou des notes en marge dans un minipage, mais les minipages peuvent être utilisées dans un tableau, un flottant ou une autre boîte. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \SpecialChar LyX propose également une fonctionnalité de base pour des minipages dont la taille est automatiquement déterminée par la largeur de leur contenu, via le module \family sans Minipages de largeur variable \family default . Le fichier du répertoire des exemples \SpecialChar LyX \emph on varwidth-floats-side-by-side \emph default illustre l'utilisation de minipages de largeur variable pour placer deux flottants côte à côte. \end_layout \begin_layout Section Les parboxes \begin_inset CommandInset label LatexCommand label name "sec:Parboxes" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Parboxes \end_layout \end_inset \end_layout \begin_layout Standard Les parboxes ressemblent beaucoup aux minipages à la différence qu'elles ne peuvent avoir de note de bas de page. \end_layout \begin_layout Standard \align center \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 1 use_makebox 0 width "33col%" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout Ceci est un texte à l'intérieur d'une parbox. Ceci est un texte à l'intérieur d'une parbox. \end_layout \begin_layout Plain Layout Cette note de bas de page ne devrait pas apparaître : \begin_inset Foot status open \begin_layout Plain Layout Cette note de bas de page est à l'intérieur d'une parbox et donc n'apparaîtra pas. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Des boîtes pour les mots et les caractères \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Pour les caractères \end_layout \end_inset \end_layout \begin_layout Subsection Empêcher la césure \begin_inset CommandInset label LatexCommand label name "sec:Empêcher-césure" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Pour empêcher la césure \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez utiliser une boîte de type \family sans Makebox \family default pour empêcher qu'un mot ou un texte ne soit coupé par une césure. \begin_inset Newline newline \end_inset Voici un exemple de texte : \end_layout \begin_layout Standard Cette ligne est un exemple comment vous pouvez empêcher une césure \begin_inset space ~ \end_inset : \begin_inset Quotes fld \end_inset motTrèsTrèsLong \begin_inset Quotes frd \end_inset \end_layout \begin_layout Standard Pour empêcher que le mot \begin_inset Quotes fld \end_inset motTrèsTrèsLong \begin_inset Quotes frd \end_inset soit coupé, mettez le mot dans une boîte, mettez \family sans Boîte \begin_inset space ~ \end_inset intérieure \family default à \family sans Makebox \family default sans spécifier de largeur. \end_layout \begin_layout Standard Voici le résultat : \end_layout \begin_layout Standard Cette ligne est un exemple montrant comment vous pouvez empêcher une césure: \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 1 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \begin_inset Quotes fld \end_inset motTrèsTrèsLong \begin_inset Quotes frd \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Une autre méthode consiste à mettre la commande \series bold \begin_inset Quotes fld \end_inset \backslash - \series default \begin_inset Quotes frd \end_inset en code \SpecialChar TeX , juste avant le mot : \end_layout \begin_layout Standard Cette ligne est un exemple montrant comment vous pouvez empêcher une césure: \begin_inset Quotes fld \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash - \end_layout \end_inset motTrèsTrèsLong \begin_inset Quotes frd \end_inset \end_layout \begin_layout Standard Bien sûr, maintenant le mot dépasse dans la marge latérale. Pour éviter cela, ajoutez un saut de ligne avant le mot avec le menu \family sans Insertion\SpecialChar menuseparator Typographie \begin_inset space ~ \end_inset spéciale\SpecialChar menuseparator Passage \begin_inset space ~ \end_inset à \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset Ligne \family default (raccourci \family sans Ctrl-Entrée \family default ) : \end_layout \begin_layout Standard Cette ligne est un exemple montrant comment vous pouvez empêcher une césure: \begin_inset Newline newline \end_inset \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 1 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status open \begin_layout Plain Layout \begin_inset Quotes fld \end_inset motTrèsTrèsLong \begin_inset Quotes frd \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Alignement vertical \begin_inset CommandInset label LatexCommand label name "subsec:Alignement-Vertical" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Pour l'alignement vertical \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Boîtes élévatrices \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Raisebox|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Boîtes élévatrices \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Avec la commande \series bold \backslash raisebox \series default vous pouvez aligner des mots, des caractères ou d'autres boîtes, verticalement par rapport au texte qui l'entoure. La commande \series bold \backslash raisebox \series default s'utilise en suivant la syntaxe suivante : \end_layout \begin_layout Standard \series bold \backslash raisebox{déplacement}[hauteur][profondeur]{contenu de la boîte} \end_layout \begin_layout Standard Le déplacement peut être une valeur positive pour élever la boîte ou négative pour l'abaisser. \end_layout \begin_layout Standard Pour aligner le mot \begin_inset Quotes fld \end_inset empêcher \begin_inset Quotes frd \end_inset de façon à ce que le point le plus bas du caractère le plus \begin_inset Quotes fld \end_inset profond \begin_inset Quotes frd \end_inset , le \begin_inset Quotes fld \end_inset p \begin_inset Quotes frd \end_inset , soit au niveau de la ligne de base, insérez la commande \end_layout \begin_layout Standard \series bold \backslash raisebox{ \backslash depth}{ \end_layout \begin_layout Standard en code \SpecialChar TeX avant le mot. Insérez après le mot l'accolade fermante \begin_inset Quotes fld \end_inset \series bold } \series default \begin_inset Quotes frd \end_inset en code \SpecialChar TeX . \begin_inset Newline newline \end_inset Voici le résultat : \end_layout \begin_layout Standard Cette ligne de texte contient le mot \begin_inset ERT status open \begin_layout Plain Layout \backslash raisebox{ \backslash depth}{ \end_layout \end_inset \begin_inset Quotes fld \end_inset empêcher \begin_inset Quotes frd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset comme mot élevé. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Quand vous élevez ou vous abaissez des caractères dans une ligne, la distance entre les lignes va être agrandie : \end_layout \begin_layout Standard Cette ligne de texte contient le mot \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{- \backslash depth}{ \end_layout \end_inset \begin_inset Quotes fld \end_inset empêcher \begin_inset Quotes frd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset comme mot abaissé. \begin_inset Newline newline \end_inset Cette ligne de texte contient le mot \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{0.5cm}{ \end_layout \end_inset \begin_inset Quotes fld \end_inset tester \begin_inset Quotes frd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset comme mot élevé. \end_layout \begin_layout Standard Si, pour une raison ou une autre, vous voulez empêcher que cela se produise, mettez la hauteur de la boîte à zéro. Par exemple utilisez \end_layout \begin_layout Standard \series bold \backslash raisebox{- \backslash depth}[0pt]{ \end_layout \begin_layout Standard Cette ligne de texte contient le mot \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{- \backslash depth}[0pt]{ \end_layout \end_inset \begin_inset Quotes fld \end_inset empêcher \begin_inset Quotes frd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset comme mot abaissé. \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset Cette ligne de texte contient le mot \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{0.5cm}[0pt]{ \end_layout \end_inset \begin_inset Quotes fld \end_inset tester \begin_inset Quotes frd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset comme mot élevé. \end_layout \begin_layout Section Boîtes colorées \begin_inset CommandInset label LatexCommand label name "sec:Boîtes-colorées" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Couleur \end_layout \end_inset \end_layout \begin_layout Standard Pour mettre le fond d'une boîte en couleurs, il suffit de sélectionner la couleur désirée dans la fenêtre de dialogue de la boîte. Voici par exemple une boîte avec un fond orangé: \lang english \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 use_makebox 1 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "orange" status open \begin_layout Plain Layout Boîte avec un fond orangé \end_layout \end_inset \end_layout \begin_layout Standard Si vous utilisez la décoration \family sans Cadre \begin_inset space ~ \end_inset rectangulaire \begin_inset space ~ \end_inset simple \family default , vous pouvez colorer le cadre. Dans ce cas vous devez colorer également le fond (\SpecialChar LyX le met implicitement en blanc). voici un exemple: \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "teal" backgroundcolor "yellow" status open \begin_layout Plain Layout Box with teal frame color and yellow background color \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Vous pouvez bien sûr obtenir du texte coloré dans une boîte dont le fond est en couleurs: \begin_inset Newline newline \end_inset \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 use_makebox 0 width "" special "none" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "cyan" backgroundcolor "magenta" status open \begin_layout Plain Layout \color yellow Ce texte est coloré dans une boîte colorée et encadrée. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard S'il vous faut une couleur autre que celles qui sont prédéfinies, vous pouvez définir vos propres couleurs comme c'est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . Pour cela vous devez saisir la boîte ne code TeX. \end_layout \begin_layout Standard Les boîtes à fond coloré sont créées par la commande \series bold \backslash colorbox \series default . Elle est utilisée avec la syntaxe suivante : \end_layout \begin_layout Standard \series bold \backslash colorbox{couleur}{contenu de la boîte} \end_layout \begin_layout Standard Le contenu de la boîte peut aussi être une boîte et les boîtes colorées peuvent être placées à l'intérieur d'autres boîtes.Par exemple, pour avoir un mot sur fond \emph on vertfonce \emph default , insérez la commande \end_layout \begin_layout Standard \series bold \backslash colorbox{vertfonce}{ \end_layout \begin_layout Standard avant le mot en code \SpecialChar TeX . Insérez l'accolade fermante \begin_inset Quotes fld \end_inset } \begin_inset Quotes frd \end_inset après le mot, en code \SpecialChar TeX . \begin_inset Newline newline \end_inset Voici le résultat : \end_layout \begin_layout Standard Cette ligne de texte contient le mot \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash colorbox{vertfonce}{ \end_layout \end_inset \begin_inset Quotes fld \end_inset Attention! \begin_inset Quotes frd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset sur fond vertfonce. \end_layout \begin_layout Standard Les boîtes avec fond et cadre colorés sont créées via la commande \series bold \backslash fcolorbox \series default avec la syntaxe suivante : \end_layout \begin_layout Standard \series bold \backslash fcolorbox{couleur du cadre}{couleur de la boîte}{contenu de la boîte} \end_layout \begin_layout Section Boîtes pivotées et redimensionnées \end_layout \begin_layout Standard Pour pouvoir utiliser les boîtes décrites ci-après, le module \family sans BoîtesGraphiques \family default oit être vchargé via les paramètres du document. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default La plupart des visualiseurs DVI ne sont \emph on pas \emph default capables d'afficher des rotations ou des redimensionnements. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default On ne doit pas mettre de flottants à l'intérieur d'une boîte pivotée ou redimensionnée. \end_layout \end_inset \end_layout \begin_layout Subsection Boîtes pivotées \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! pivotées \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Pivoter des objets \end_layout \end_inset \end_layout \begin_layout Standard Pour faire tourner des objets, vous pouvez les mettre dans une \family sans BoîtePivotée \family default . Une telle boîte est insérée via le menu \family sans Insertion\SpecialChar menuseparator Inserts personnalisables\SpecialChar menuseparator BoîtePivotée \family default . \end_layout \begin_layout Standard La position du pivot peut être précisée via l'insert \family sans Origine \family default (menu \family sans Insertion\SpecialChar menuseparator Origine \family default ) sous la forme \series bold origin=position \series default . Les valeurs suivantes sont possibles pour la position: \emph on c \emph default (centre), \emph on l \emph default (gauche/ \lang english left \lang french ), \emph on r \emph default (droite/ \lang english right \lang french ), \emph on b \emph default (bas/ \lang english bottom \lang french ), \emph on t \emph default (haut/ \lang english top \lang french ), et aussi des combinaisons des quatre positions de base. Par exemple \emph on lt \emph default signifie que le pivot est situé dans le coin en haut à gauche de la boîte. Quand on ne donne pas d'origine, la position \emph on l \emph default est utilisée. L'angle de rotation est un nombre, exprimé en degrés et qui peut être positif ou négatif. Le sens positif de rotation est anti-horaire. \end_layout \begin_layout Standard Dans l'exemple qui suit, \series bold origin=c \series default a été saisi dans l'insert \family sans Origin \family default et \series bold 60 \series default a été saisi dans l'insert \family sans Angle \family default . \end_layout \begin_layout Standard Voici une ligne avec du \begin_inset Flex Rotatebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout origin=c \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout 60 \end_layout \end_inset texte pivoté \end_layout \end_inset . \end_layout \begin_layout Standard La boîte peut contenir une autre boîte ou une formule en ligne : \end_layout \begin_layout Standard Voici une ligne avec du \begin_inset Flex Rotatebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout origin=r \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout -60 \end_layout \end_inset \begin_inset Box Doublebox position "c" hor_pos "c" has_inner_box 0 inner_pos "c" use_parbox 0 use_makebox 0 width "1in" special "width" height "1in" height_special "totalheight" thickness "0.4pt" separation "3pt" shadowsize "4pt" framecolor "black" backgroundcolor "none" status collapsed \begin_layout Plain Layout texte pivoté \end_layout \end_inset \end_layout \end_inset et encadré \begin_inset Flex Rotatebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout origin=lb \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout 60 \end_layout \end_inset \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset \end_layout \end_inset et une formule. \end_layout \begin_layout Standard ou encore une figure ou un tableau : \end_layout \begin_layout Standard Voici une ligne \begin_inset Flex Rotatebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout origin=lb \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout 90 \end_layout \end_inset \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 25col% \end_inset \end_layout \end_inset avec une image pivotée de 90° \begin_inset Flex Rotatebox status open \begin_layout Plain Layout \begin_inset Argument 2 status open \begin_layout Plain Layout -90 \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \end_inset \end_layout \end_inset et un tableau. \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Pivotées \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Pivoter \end_layout \end_inset \end_layout \begin_layout Standard \lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default si l'insert \family sans Angle \family default est vide ou contient autre chose que des nombres, vous aurez des erreurs \SpecialChar LaTeX à l'affichage ou l'exportation du document. \end_layout \end_inset \end_layout \begin_layout Subsection Les boîtes redimensionnées \begin_inset Index idx status collapsed \begin_layout Plain Layout Boîtes ! Redimensionnées \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Redimensionner des objets \end_layout \end_inset \end_layout \begin_layout Standard Pour redimensionner des objets, il faut les insérer dans une \family sans BoîteÉchelle \family default , et pour cela utiliser le menu \family sans Insertion\SpecialChar menuseparator Inserts personnalisables\SpecialChar menuseparator BoîteÉchelle \family default . \end_layout \begin_layout Standard L'insert \family sans BoîteÉchelle \family default comporte un insert obligatoire \family sans Facteur-H \family default et un insert facultatif \family sans Facteur-V \family default (ouvert via le menu \family sans Insertion\SpecialChar menuseparator Facteur-V) \family default . Saisir dans ceux-ci les facteurs d'échelle respectivement horizontal et vertical. Si aucun facteur vertical n'est spécifié, le facteur horizontal sera utilisé comme facteur vertical. \end_layout \begin_layout Standard Pour doubler la taille du texte par rapport à la taille de texte du document, saisir \series bold 2 \series default dans l'insert \family sans Facteur-H: \family default \begin_inset Flex Scalebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2 \end_layout \end_inset Bonjour \end_layout \end_inset \end_layout \begin_layout Standard \series bold 2 \series default comme \family sans Facteur-H \family default et \series bold 1 \series default comme \family sans Facteur-V \family default déforme le texte: \begin_inset Flex Scalebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout 1 \end_layout \end_inset Bonjour \end_layout \end_inset . \end_layout \begin_layout Standard Si le facteur d'échelle est négatif, le contenu de la boîte sera en miroir. par conséquent \series bold -1 \series default comme \family sans Facteur-H \family default et \series bold 1 \series default comme \family sans Facteur-V \family default permet de créer de l'écriture en miroir: \begin_inset Flex Scalebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout -1 \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout 1 \end_layout \end_inset Bonjour \end_layout \end_inset \end_layout \begin_layout Standard \series bold 1 \series default comme \family sans Facteur-H \family default et \series bold -1 \series default comme \family sans Facteur-V \family default réfléchit le texte \begin_inset Flex Scalebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout -1 \end_layout \end_inset Bonjour \end_layout \end_inset sous la ligne de base. \end_layout \begin_layout Standard La \family sans BoîteMiroir \family default (menu \family sans Insertion\SpecialChar menuseparator Inserts personnalisables\SpecialChar menuseparator BoîteMiroir) \family default est équivalente à \series bold -1 \series default comme \family sans Facteur-H \family default et \series bold 1 \series default comme \family sans Facteur-V \family default pour une \family sans BoîteÉchelle \family default . \end_layout \begin_layout Standard \lang english \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default si l'insert \family sans Facteur-H \family default est vide ou contient autre chose que des nombres, vous aurez des erreurs \SpecialChar LaTeX à l'affichage ou l'exportation du document. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset La \family sans BoîteRetaillée \family default (menu \family sans Insertion\SpecialChar menuseparator Inserts personnalisables\SpecialChar menuseparator BoîteRetaillée \family default ) est utilisée pour redimensionner le contenu à une hauteur et largeur définie. L'insert \family sans BoîteRetaillée \family default comporte un insert obligatoire \family sans Largeur \family default et un insert facultatif \family sans Hauteur \family default (obtenu via \family sans Insertion\SpecialChar menuseparator Hauteur) \family default . Saisir respectivement la largeur et la hauteur comme un nombre doté d'une unité. Le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unités" \end_inset énumère les unités possibles. S'il y a un point d'exclamation \series bold ! \series default dans un des deux inserts, la taille est ajustée pour conserver le rapport d'aspect de la boîte. S'il n'y a pas d'insert \family sans Hauteur \family default , un point d'exclamation sera introduit de manière interne en tant que hauteur. \end_layout \begin_layout Standard \series bold 2cm \series default comme \family sans Largeur \family default et \series bold 1cm \series default comme \family sans Hauteur \family default produit: \begin_inset Flex Resizebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2cm \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout 1cm \end_layout \end_inset Bonjour \end_layout \end_inset \begin_inset Newline newline \end_inset \series bold 2cm \series default comme \family sans Largeur \family default et \series bold ! \series default comme \family sans Hauteur \family default (ou aucune \family sans Hauteur \family default ) produit: \begin_inset Flex Resizebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2cm \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout ! \end_layout \end_inset Bonjour \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default si l'insert \family sans Largeur \family default est vide ou contient autre chose que des nombres, vous aurez des erreurs \SpecialChar LaTeX à l'affichage ou l'exportation du document. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Les boîtes peuvent être combinée dans n'importe quel ordre. Par exemple voici une \family sans BoîteMiroir \family default \family sans dans une BoîteRetaillée \family default qui est à son tour dans une \family sans BoîtePivotée \family default : \end_layout \begin_layout Standard \noindent \align center \begin_inset Flex Rotatebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout origin=c \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout -45 \end_layout \end_inset \begin_inset Flex Resizebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2cm \end_layout \end_inset \begin_inset Flex Reflectbox status open \begin_layout Plain Layout Bonjour \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \noindent Les images, les tableaux et les formules sont autorisées comme contenu de boîte : \end_layout \begin_layout Standard \noindent \align center \begin_inset Flex Resizebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2cm \end_layout \end_inset \begin_inset Flex Reflectbox status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 25col% \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Flex Resizebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 2cm \end_layout \end_inset \begin_inset Flex Reflectbox status open \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Flex Resizebox status open \begin_layout Plain Layout \begin_inset Argument 1 status open \begin_layout Plain Layout 3cm \end_layout \end_inset \begin_inset Flex Reflectbox status open \begin_layout Plain Layout \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Figures ! Redimensionnées \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Tableau ! Redimensionner \end_layout \end_inset \end_layout \begin_layout Standard Quand on utilise le style global de formule \series bold fleqn \series default dans le document \begin_inset Foot status collapsed \begin_layout Plain Layout Quand \begin_inset Quotes fld \end_inset fleqn \begin_inset Quotes frd \end_inset est ajouté aux options de la classe de document. \end_layout \end_inset , les formules hors texte peuvent aussi être redimensionnées. \end_layout \begin_layout Chapter Objets entourés par du texte \begin_inset Index idx status collapsed \begin_layout Plain Layout Entourés par du texte \end_layout \end_inset \end_layout \begin_layout Section Flottant d'enrobage \begin_inset CommandInset label LatexCommand label name "sec:Flottant-d'enrobage" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Flottants d'enrobage \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Entourés par du texte ! Flottants d'enrobage \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Wrap figure lines 0 placement l overhang 1cm width "40col%" status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/mobius.eps width 40col% scaleBeforeRotation rotateOrigin center \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Figure-enrobée" \end_inset Ceci est une figure habillée. \end_layout \end_inset \end_layout \end_inset Ce type de flottant est utilisé quand on veut que le texte habille la figure de sorte qu'elle n'occupe plus qu'une partie de la largeur de la colonne. Vous pouvez en insérer un en utilisant le menu \family sans Insertion\SpecialChar menuseparator Flottant\SpecialChar menuseparator Flottant \begin_inset space ~ \end_inset d'enrobage \family default à la condition que le paquetage \SpecialChar LaTeX \series bold wrapfig \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! wrapfig \end_layout \end_inset soit installé. \begin_inset Foot status collapsed \begin_layout Plain Layout Voyez dans la manuel \emph on Configuration \begin_inset space ~ \end_inset \SpecialChar LaTeX \emph default comment installer des paquetages \SpecialChar LaTeX . \end_layout \end_inset Les paramètres du flottant peuvent être modifiés en faisant un clic droit sur la boîte du flottant. Les paramètres obligatoires sont l' \family sans Emplacement \family default et la \family sans Largeur \family default . Les paramètres facultatifs sont le \family sans Débordement \family default qui précise de combien le flottant déborde sur la marge du paragraphe ou de la page et la \family sans Porté de la ligne \family default qui précise le nombre approximatif de lignes dont le flottant va avoir besoin. Cette dernière valeur est parfois difficile à évaluer, il vaut mieux ne l'utiliser que si on rencontre des problème avec le positionnement du flottant. Vous pouvez aussi décider si vous autorisez \SpecialChar LaTeX à faire flotter le flottant à l'intérieur du paragraphe ou vers les autres paragraphes. La figure \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Figure-enrobée" \end_inset est un exemple de flottant d'enrobage avec une largeur de 40 \begin_inset space \thinspace{} \end_inset col%, un débordement de 1 \begin_inset space \thinspace{} \end_inset cm et placé à gauche. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Les flottants d'enrobage peuvent être fragiles! Par exemple, avoir une figure trop près du bas de page peut tout chambouler et faire que le flottant n'apparaît pas à l'impression ou qu'il se retrouve par dessus une portion de texte. \end_layout \end_inset \end_layout \begin_layout Standard En général: \end_layout \begin_layout Itemize Les flottants d'enrobage ne doivent pas être placés dans des paragraphes qui risquent de passer à la page suivante. Ce qui veut dire que les flottants d'enrobages doivent de préférence être positionnés à l'endroit exact où on veut qu'ils apparaissent dans la sortie, et ce quand le document est presque prêt pour pouvoir anticiper les sauts de page. \end_layout \begin_layout Itemize Les flottants d'enrobage devraient être placés soit dans leur propre paragraphe, juste avant le paragraphe qui doit les habiller ou à l'intérieur d'un paragraph e. \end_layout \begin_layout Itemize Des flottants d'enrobages dans deux paragraphes consécutifs peuvent poser des problèmes, il vaut donc mieux s'assurer qu'il y a un paragraphe de texte entre les deux, comme séparateur. \end_layout \begin_layout Itemize Les flottants d'enrobage ne sont pas autorisés dans les en-têtes de sections ou les tableaux. \end_layout \begin_layout Itemize Leur numérotation et leur référencement fonctionnent comme décrit dans le chapitre \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "chap:Flottants" \end_inset . \end_layout \begin_layout Section Objets fixes entourés par du texte \begin_inset Index idx status collapsed \begin_layout Plain Layout Entouré par du texte ! Objets fixes \end_layout \end_inset \end_layout \begin_layout Standard Les flottants d'enrobage décrits dans la section \begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Flottant-d'enrobage" \end_inset prennent les positions suivantes dans le paragraphe : \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset ou \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Pour avoir un objet exactement à la position à laquelle il a été inséré, par exemple pour avoir une de ces positions : \begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \noindent \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Info type "icon" arg "dialog-show-new-inset graphics" \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout texte \end_layout \end_inset \end_inset \end_layout \begin_layout Standard vous pouvez utiliser la paquetage \SpecialChar LaTeX \end_layout \begin_layout Standard \noindent \series bold picinpar \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! picinpar \end_layout \end_inset . Voici un exemple : \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifpicinpar \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La section suivante ne sera affichée que si le paquetage \SpecialChar LaTeX \series bold picinpar \series default a été installé. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash begin{window}[2,c,{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/mobius.eps lyxscale 60 width 40col% scaleBeforeRotation rotateOrigin center \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout },] \end_layout \begin_layout Plain Layout {} \end_layout \end_inset \size small \lang english It was in the spring of the year 1894 that all London was interested, and the fashionable world dismayed, by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances. The public has already learned those particulars of the crime which \size default \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark{} \end_layout \end_inset \size small came out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. Only now, at the end of nearly ten years, am I allowed to supply those missing links which make up the whole of that remarkable chain \lang french . \size default \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash end{window} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotetext{ \end_layout \end_inset Note de pied de page du paragraphe avec objet fixe. \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard Les objets fixes enrobés sont utilisés pour laisser le texte s'écouler autour d'eux et leur position est déterminée par le nombre de lignes de texte situées audessus d'eux. Contrairement aux flottants d'enrobage, on ne peut pas avoir de légende numérotée. \end_layout \begin_layout Standard Un objet fixe enrobé est inséré en ajoutant la commande \end_layout \begin_layout Standard \series bold \backslash begin{window}[2,c,{ \end_layout \begin_layout Standard en code \SpecialChar TeX au debut du paragraphe. Le premier paramètre du crochet, ici '2', définit le nombre de lignes au dessus de l'objet, le second, ici 'c', la position de l'objet. Les positions 'l', 'c' et 'r' ( respectivement pour gauche, centré et droite ) sont possibles. Après la commande, vous insérez votre objet. Dans cet exemple, c'est une image avec une largeur de 40 \begin_inset space \thinspace{} \end_inset % de la colonne de texte qui a été insérée. L'objet peut aussi être un tableau, une boîte ou une équation. Après l'objet, on insère la commande \end_layout \begin_layout Standard \series bold },texte de description ] \begin_inset Newline newline \end_inset {} \end_layout \begin_layout Standard Notez que le \begin_inset Quotes fld \end_inset \series bold {} \series default \begin_inset Quotes frd \end_inset est sur la deuxième ligne. Le texte de description est facultatif. Le texte entourant l'objet doit être dans le même paragraphe que celui-ci, il doit donc commence juste après le \series bold {} \series default . A la fin du paragraphe on insère la commande : \end_layout \begin_layout Standard \series bold \backslash end{window} \end_layout \begin_layout Standard A l'intérieur d'un paragraphe contenant un objet fixe, vous ne pouvez pas ajouter des notes de pied de page de la façon habituelle. Vous devez utiliser la commande \series bold \backslash footnotemark \series default à l'intérieur du paragraphe et la commande \series bold \backslash footnotetext \series default à l'extérieur, comme décrit dans la section \begin_inset space \thinspace{} \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Notes-bas-de-page" \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 \SpecialChar LaTeX \series bold picinpar \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage \SpecialChar LaTeX \series bold picinpar \series default pour voir la suite de 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 Section Lettrines \begin_inset Index idx status collapsed \begin_layout Plain Layout Lettrines \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Entouré par du texte ! Lettrines \end_layout \end_inset \end_layout \begin_layout Standard Pour utiliser des lettrines, le paquetage \SpecialChar LaTeX \series bold lettrine \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! lettrine \end_layout \end_inset doit être installé et vous devez utiliser le module Initiales ( \begin_inset space ~ \end_inset menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Modules \family default \begin_inset space ~ \end_inset ). Pour insérer une lettrine, utilisez le style \family sans Initial \family default . Les paramètres sont insérés avec le menu \family sans Insertion \family default . Le paramètre obligatoire \family sans \lang english Initial \family default \lang french contient la/les lettre(s) qui sert d'initiale, le paramètre \family sans \lang english Rest \begin_inset space ~ \end_inset of \begin_inset space ~ \end_inset Initial \family default \lang french contient \lang english the rest of the word or text of the initial letter(s) \lang french . Le paramètre \family sans \lang english Options \family default \lang french contient paramètres pour modifier la lettrine. Pour plus d'informations sur les paramètres possibles, voyez la documentation du paquetage \series bold lettrine \series default , \begin_inset CommandInset citation LatexCommand cite key "lettrine" \end_inset . Le style lui-même contient le texte qui doit entourer la lettrine. Le style habituel est par conséquent que le mot dont la première lettre est l'initiale soit en \shape smallcaps petites capitales \shape default . \end_layout \begin_layout Standard \begin_inset Newpage pagebreak \end_inset \end_layout \begin_layout Standard Voici quelques exemples \begin_inset space ~ \end_inset : \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash iflettrine \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La section suivante ne sera affichée que si le paquetage \SpecialChar LaTeX \series bold lettrine \series default a été installé. \end_layout \end_inset \end_layout \begin_layout Enumerate Pas de paramètre optionnel, la lettre initiale est un 'I' dans la police mathématique \begin_inset Formula $\mathfrak{Fraktur}$ \end_inset : \end_layout \begin_deeper \begin_layout Initial \begin_inset Argument 2 status open \begin_layout Plain Layout \begin_inset Formula $\mathfrak{I}$ \end_inset \end_layout \end_inset \begin_inset Argument 3 status open \begin_layout Plain Layout t \end_layout \end_inset \lang english was in the spring of the year 1894 that all London was interested, and the fashionable world dismayed, by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances. The public has already learned those particulars of the crime which came out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. \end_layout \end_deeper \begin_layout Enumerate L'initiale est entourée par une seule ligne et est formée de deux lettres dans la police standard ; aucun texte n'est écrit en petites capitales \begin_inset space ~ \end_inset : \end_layout \begin_deeper \begin_layout Initial \begin_inset Argument 1 status open \begin_layout Plain Layout lines=1 \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout It \end_layout \end_inset \lang english was in the spring of the year 1894 that all London was interested, and the fashionable world dismayed, by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances. The public has already learned those particulars of the crime which came out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. \end_layout \end_deeper \begin_layout Enumerate Initiale descendante sur 3 \begin_inset space ~ \end_inset lignes en magenta en police mathématique \begin_inset Newline newline \end_inset \begin_inset Formula $\mathcal{CALLIGRAPHIC}$ \end_inset , le texte \begin_inset Quotes fld \end_inset \lang english t was in the spring \lang french \begin_inset Quotes frd \end_inset est en \shape smallcaps petites capitales \shape default ; pour colorer la lettrine, il faut insérer la commande suivante juste avant l'initiale \begin_inset space ~ \end_inset : \begin_inset Newline newline \end_inset \series bold \backslash renewcommand{ \backslash LettrineFontHook}{ \backslash color{couleur}} \series default \begin_inset Newline newline \end_inset où la \emph on couleur \emph default peut être \begin_inset Quotes fld \end_inset red \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset blue \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset green \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset yellow \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset cyan \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset magenta \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset black \begin_inset Quotes frd \end_inset ou \begin_inset Quotes fld \end_inset white \begin_inset Quotes frd \end_inset . On doit aussi ajouter la commande suivante au préambule du document \begin_inset space ~ \end_inset : \begin_inset Newline newline \end_inset \series bold \backslash @ifundefined{textcolor} \begin_inset Newline newline \end_inset \begin_inset space ~ \end_inset { \backslash usepackage{color}}{} \end_layout \begin_deeper \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash LettrineFontHook}{ \backslash color{magenta}} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout colore la lettrine en magenta \end_layout \end_inset \end_layout \begin_layout Initial \begin_inset Argument 1 status open \begin_layout Plain Layout lines=3, lhang=0.33, loversize=0.25 \end_layout \end_inset \begin_inset Argument 2 status open \begin_layout Plain Layout \begin_inset Formula $\mathcal{I}$ \end_inset \end_layout \end_inset \begin_inset Argument 3 status open \begin_layout Plain Layout \lang english t was in the spring \end_layout \end_inset \lang english of the year 1894 that all London was interested, and the fashionable world dismayed, by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances. The public has already learned those particulars of the crime which came out in the police investigation, but a good deal was suppressed upon that occasion, since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts. \end_layout \end_deeper \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 \SpecialChar LaTeX \series bold lettrine \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage \SpecialChar LaTeX \series bold lettrine \series default pour voir la suite de 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 Chapter Trucs externes \begin_inset Index idx status collapsed \begin_layout Plain Layout Trucs externes \end_layout \end_inset \end_layout \begin_layout Standard Avec le menu \family sans Insertion\SpecialChar menuseparator Fichier \family default vous pouvez insérer un contenu externe à votre document. Ce contenu peut être : \end_layout \begin_layout Description Document \begin_inset space ~ \end_inset \SpecialChar LyX Un autre document \SpecialChar LyX ; son contenu est directement inséré dans votre document. \end_layout \begin_layout Description Texte \begin_inset space ~ \end_inset Brut Un document textuel ; chacune des ses lignes est insérée comme un paragraph e. \end_layout \begin_layout Description Texte \begin_inset space ~ \end_inset Brut \begin_inset space ~ \end_inset par \begin_inset space ~ \end_inset Ligne Un document textuel ; ses lignes sont insérées telle qu'elles. Les lignes vides créent un nouveau paragraphe dans votre document. \end_layout \begin_layout Description Objet \begin_inset space ~ \end_inset Externe Fichiers de formats variés. \end_layout \begin_layout Description Sous-document Documents \SpecialChar LyX ou \SpecialChar LaTeX . \end_layout \begin_layout Section Objets externes \begin_inset Index idx status collapsed \begin_layout Plain Layout Trucs externes ! Objets Externes \end_layout \end_inset \end_layout \begin_layout Standard La fonction d'insertion d'objets externes vous permet d'insérer le contenu de fichiers dans votre document sans avoir à convertir ces derniers en un format qui soit compatible avec le format de sortie, puisque c'est \SpecialChar LyX qui va s'occuper des conversions. Ce mécanisme est semblable à celui qui permet d'insérer dans un document \SpecialChar LyX des images dans des formats divers. Quand vous avez activé \family sans Aperçu \begin_inset space ~ \end_inset sur \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset vif \family default dans le menu des préférences de \SpecialChar LyX , dans la rubrique \family sans Apparence\SpecialChar menuseparator Graphiques \family default , les objets externes de type Dia et Xfig sont affichés directement dans \SpecialChar LyX . \end_layout \begin_layout Standard On insère des objets externes en utilisant la fenêtre de dialogue \family sans Objet \begin_inset space ~ \end_inset Externe \family default qui est accessible via le menu \family sans Insertion\SpecialChar menuseparator Fichiers\SpecialChar menuseparator Objet \begin_inset space ~ \end_inset Externe \family default . Actuellement les types de fichiers ( \family sans Modèles \family default ) suivants sont autorisés : \end_layout \begin_layout Description Échiquier Ce modèle accepte les diagrammes de positions d'échec produits par le programme \series bold \begin_inset CommandInset href LatexCommand href name "XBoard" target "http://fr.wikipedia.org/wiki/XBoard" \end_inset \series default . \end_layout \begin_layout Description Date Ce modèle insère la date sous la forme \emph on Jour-Mois-Année \emph default . Voici un exemple de date insérée comme objet externe : \begin_inset External template Date filename . \end_inset \begin_inset space ~ \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Retirer l'espace protégé quand le bug 4398 sera résolu ! \end_layout \end_inset \begin_inset Newline newline \end_inset La date n'apparaîtra pas dans \SpecialChar LyX , mais seulement dans la sortie imprimée. Il y a deux autre méthodes pour insérer une date : Avec le menu \family sans Insertion\SpecialChar menuseparator Date \family default et avec la commande \SpecialChar LaTeX \series bold \backslash today \series default entrée comme code \SpecialChar TeX . Ces différentes méthodes sont comparée dans le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Comparaison-des-dates" \end_inset . \end_layout \begin_layout Description Diagramme \begin_inset space ~ \end_inset Dia Ce modèle accepte les diagrammes créés avec le programme \series bold \begin_inset CommandInset href LatexCommand href name "Dia" target "http://fr.wikipedia.org/wiki/Dia_(logiciel)" \end_inset \series default . \end_layout \begin_layout Description Tableur Avec ce modèle vous pouvez insérer des feuilles de calcul ou des tableaux dans le format de \series bold \begin_inset CommandInset href LatexCommand href name "Gnumeric" target "http://fr.wikipedia.org/wiki/Gnumeric" \end_inset \series default , \begin_inset CommandInset href LatexCommand href name "OpenDocument" target "http://fr.wikipedia.org/wiki/OpenDocument" \end_inset , \begin_inset CommandInset href LatexCommand href name "Microsoft Office XML" target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats" \end_inset et \begin_inset CommandInset href LatexCommand href name "Office Open XML" target "http://fr.wikipedia.org/wiki/Office_Open_XML" \end_inset . Pour cette fonction, \SpecialChar LyX doit pouvoir trouver le programme \family typewriter ssconvert \family default au cours de sa configuration. Ce programme fait partie de gnumeric, vous devez donc aussi installer gnumeric, même si vous n'avez pas de tableaux au format gnumeric. Pour des exemples et les limitations possibles, jetez un œil au fichier \SpecialChar LyX d'exemple, \emph on spreadsheet.lyx \emph default . \end_layout \begin_layout Description Musique \begin_inset space ~ \end_inset mise \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset forme \begin_inset space ~ \end_inset avec \begin_inset space ~ \end_inset Lilypond Ce modèle est utilisé avec des partitions musicales mises en forme par le programme \series bold \begin_inset CommandInset href LatexCommand href name "LilyPond" target "http://fr.wikipedia.org/wiki/GNU_LilyPond" \end_inset \series default . Pour plus d'information sur la gestion étendue de LilyPond, jetez un oeil au fichier \SpecialChar LyX d'exemple \emph on lilypond.lyx \emph default . \end_layout \begin_layout Description Pages \begin_inset space ~ \end_inset PDF Ce modèle permet d'insérer des documents en PDF dans votre document. Pour insérer certaines pages ou toutes les pages d'un PDF, utilisez l'option \emph on pages \emph default dans le champ \family sans Option \family default dans l'onglet \family sans Options \SpecialChar LaTeX et \SpecialChar LyX \family default . L'argument de cette option est une liste d'éléments séparés par des virgules, contenant des numéros de pages ( \begin_inset space ~ \end_inset insérez comme option \series bold pages={3,5,6,8} \series default \begin_inset space ~ \end_inset ), des plages de numéros de pages ( \series bold \begin_inset space ~ \end_inset pages={4-9} \series default \begin_inset space ~ \end_inset ) ou n'importe quelle combinaison des deux. Pour insérer des pages vides, utilisez \series bold {} \series default . Par exemple \begin_inset space ~ \end_inset \series bold pages={3,{},8-11,15} \series default va insérer la page 3, puis une page vide, puis les pages 8, 9, 10, 11 et 15. Les plages de pages sont décrites avec la syntaxe \emph on début-fin \emph default qui sélectionne toutes les pages de \emph on début \emph default jusqu'à \emph on fin \emph default . Si on omet \emph on début \emph default , on commence implicitement à la première page ; de même, omettre \emph on fin \emph default termine implicitement à la dernière page du document. La dernière page du document peut aussi être désignée par le mot-clé \series bold last \series default ( \begin_inset space ~ \end_inset ce dernier n'est accepté que pour une plage de pages \begin_inset space ~ \end_inset ). Donc \series bold pages=- \series default va insérer toutes les pages du document et \series bold pages=last-1 \series default va insérer toutes les pages dans l'ordre inverse. Si on ne donne pas d'option pages, seule la première page du PDF sera insérée. \begin_inset Newline newline \end_inset L'option \series bold noautoscale \series default insère les pages avec leur taille d'origine, si cette option n'est pas donnée, les pages seront redimensionnées \begin_inset space \space{} \end_inset pour tenir dans la largeur de page de votre document. Dans l'onglet \family sans Taille \begin_inset space ~ \end_inset et \begin_inset space ~ \end_inset rotation \family default vous pouvez préciser la largeur et la hauteur des pages incorporées ainsi qu'une éventuelle rotation. Si vous utilisez une autre largeur que 100 \begin_inset space \thinspace{} \end_inset Échelle%, l'option \series bold noautoscale \series default sera neutralisée. Pour plus d'information sur les options possibles, jetez un œil sur la documentation du paquetage \SpecialChar LaTeX \series bold pdfpages \series default \begin_inset CommandInset citation LatexCommand cite key "pdfpages" \end_inset . \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! pdfpages \end_layout \end_inset \begin_inset Newline newline \end_inset Pour utiliser ce modèle dans une présentation \family sans Beamer \family default vous devez d'abord insérer un environnement \family sans FinCadre \family default et dans la suite, dans un paragraphe, une boîte de code \SpecialChar TeX contenant la commande \series bold \backslash setbeamertemplate{background canvas}{} \series default . Ensuite vous pouvez insérer autant de paragraphes contenant le modèle PDFPages que vous voulez. Après les pages PDF incorporées, vous pouvez reprendre la présentation Beamer en commençant une nouvelle diapositive ou en commençant une nouvelle section. Pour éviter des pages blanches indésirables avant les pages PDF, n'oubliez pas d'utiliser un alignement Implicite pour le paragraphe qui contient le modèle. \begin_inset Newline newline \end_inset Voici un PDF incorporé basculé de -5° \begin_inset space ~ \end_inset °: \begin_inset External template PDFPages filename ../clipart/Abstract.pdf extra LaTeX "noautoscale, pages=-" rotateAngle -5 rotateOrigin bottomleft \end_inset \end_layout \begin_layout Description Image \begin_inset space ~ \end_inset tramée Ce modèle peut être utilisé pour les images matricielles (bitmap). Les images peuvent être traitées dans la fenêtre de dialogue \family sans Objet \begin_inset space ~ \end_inset Externe \family default comme les images qui sont habituellement incorporées en utilisant le menu \family sans Insertion\SpecialChar menuseparator Graphique \family default , comme c'est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Graphics-Dialog" \end_inset . Voici un exemple d'insertion d'image matricielle \begin_inset space ~ \end_inset \begin_inset External template RasterImage filename ../clipart/ToolbarEnvBox.png \end_inset \end_layout \begin_layout Description Graphiques \begin_inset space ~ \end_inset vectoriels Ce modèle peut être utilisé pour les graphiques \begin_inset space ~ \end_inset vectoriels. Les graphiques peuvent être traitées dans la fenêtre de dialogue \family sans Objet \begin_inset space ~ \end_inset Externe \family default comme les images qui sont habituellement incorporées en utilisant le menu \family sans Insertion\SpecialChar menuseparator Graphique \family default , comme c'est décrit dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Graphics-Dialog" \end_inset . Voici un graphique vectoriel inséré en tant qu'objet externe: \begin_inset External template VectorGraphics filename ../clipart/SVG-Drawing.svg lyxscale 50 scale 33 \end_inset \end_layout \begin_layout Description Figure \begin_inset space ~ \end_inset Xfig Ce modèle accepte les images créées avec le programme \series bold \begin_inset CommandInset href LatexCommand href name "Xfig" target "http://fr.wikipedia.org/wiki/Xfig" \end_inset \series 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 Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Comparaison-des-dates" \end_inset Comparaison des méthodes d'insertion de la date. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Format du document \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family sans Objet \begin_inset space ~ \end_inset Externe\SpecialChar menuseparator Date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family sans Insertion\SpecialChar menuseparator Date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout commande \series bold \backslash today \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \SpecialChar LyX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme boîte d'insert \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme boîte de code \SpecialChar TeX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \SpecialChar LaTeX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme commande \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout DVI, PDF, PS \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme date \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comme date date \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Quand vous activez l'option \family sans Brouillon \family default de l'onglet \family sans Fichier \family default de la fenêtre de dialogue \family sans Objet \begin_inset space ~ \end_inset Externe \family default , seul le chemin vers le fichier inséré est affiché dans la sortie imprimée. \begin_inset Newline newline \end_inset Les objets externes apparaissent dans \SpecialChar LyX , soit comme une boîte comme celle-ci : \begin_inset Graphics filename ../clipart/ExternalMaterial.png scale 95 scaleBeforeRotation \end_inset soit comme une image, selon que vous avez ou non activé l'option \family sans Afficher \begin_inset space ~ \end_inset dans \begin_inset space ~ \end_inset \SpecialChar LyX \family default de l'onglet \family sans Options LaTeX et LyX \family default de la fenêtre de dialogue. \end_layout \begin_layout Standard Le manuel \family sans \emph on Personnalisation \family default \emph default explique comment vous pouvez créer vos propres modèles. \end_layout \begin_layout Section Sous-documents \begin_inset CommandInset label LatexCommand label name "sec:Sous-documents" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Trucs externes ! Sous-documents \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Fichiers ! Insertion \end_layout \end_inset \end_layout \begin_layout Standard Les sous-documents sont utilisés quand on a un document très long qui peut être décomposé en plusieurs parties ou sections plus petites. Pour des raisons de maintenance il est souvent utile et parfois obligatoire de découper le document en plusieurs fichiers qui peuvent être relus séparément. Les différents documents sont ce que l'on appelle les sous-documents et un document maître les relie pour imprimer le document complet ou seulement une partie de celui-ci. Un sous-document hérite du contenu de son maître, par exemple le préambule \SpecialChar LaTeX , la bibliographie, et les étiquettes pour les références croisées. \end_layout \begin_layout Standard Pour pouvoir travailler sur un sous-document sans avoir à ouvrir le document maître, précisez dans le sous-document le document maître dans le menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Classe de document \family default . Ce document maître sera par la suite utilisé de façon cachée par \SpecialChar LyX à chaque fois que vous modifierez le sous-document. \end_layout \begin_layout Standard Les documents inclus sont visualisés dans \SpecialChar LyX sous la forme d'une boîte comme celle-ci : \begin_inset Graphics filename clipart/SousDocument.png scale 95 scaleBeforeRotation \end_inset Pour inclure des sous-documents dans un document maître , on utilise le menu \family sans Insertion\SpecialChar menuseparator Fichier\SpecialChar menuseparator Sous-document \family default . Une fenêtre de dialogue s'ouvre pour que vous puissiez choisir entre l'une des quatre méthodes d'inclusion : \end_layout \begin_layout Description Inclus \begin_inset space ~ \end_inset (include) Vous pouvez inclure des documents \SpecialChar LyX et \SpecialChar LaTeX . Quand vous cliquez sur le bouton \family sans Modifier \family default dans la fenêtre de dialogue \family sans Sous-document \family default , le document inclus est ouvert dans \SpecialChar LyX dans un nouvel onglet pour que vous puissiez le modifier. \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard Voici un sous-document inséré avec la méthode \family sans Inclus \family default : \begin_inset CommandInset include LatexCommand include filename "DocumentBidon1.lyx" \end_inset \end_layout \begin_layout Standard La numérotation des sections va prendre en compte les sections des fichiers incorporés dans l'ordre où ils sont insérés dans le document maître. Le document qui est inclus comme exemple possède une sous-section qui sera numérotée comme sous-section de la section actuelle. Les étiquettes présentes dans le fichier inclus peuvent être référencées : la sous-section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "subsec:Sous-section-externe-1" \end_inset est dans le fichier inclus. \end_layout \begin_layout Standard Le préambule du sous-document est tout simplement ignoré, seul le préambule du document maître est utilisé. Les branches présentes dans le sous-document seront ignorées par le document maître si celui-ci ne possède pas une branche avec le même nom. Les documents inclus sont insérés en commençant une nouvelle page et sont suivis par un saut de page. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Quand vous avez inclus un fichier \SpecialChar LyX ou \SpecialChar LaTeX , et que ce dernier utilise une classe de document différente de celle du document maître, vous recevez un avertisseme nt quand vous tentez de le visionner ou de l'exporter, vu que cela peut produire des résultats inattendus sur la sortie imprimée. \end_layout \end_inset \end_layout \begin_layout Description Incorporé \begin_inset space ~ \end_inset (input) Cette méthode est très semblable à la méthode Inclus, les différences sont : \end_layout \begin_deeper \begin_layout Itemize Les fichiers incorporés ne commencent pas une nouvelle page ni ne sont suivis par un saut de page. \end_layout \begin_layout Itemize Les fichiers incorporés peuvent être prévisualisés dans \SpecialChar LyX quand l'option \family sans Aperçu \begin_inset space ~ \end_inset sur \begin_inset space ~ \end_inset le \begin_inset space ~ \end_inset vif \family default est activée dans les préférences dans la rubrique \family sans Apparence\SpecialChar menuseparator Graphique \family default . \end_layout \begin_layout Itemize Vous ne pouvez pas exclure des fichiers incorporés via le menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Sous-documents \family default . \end_layout \end_deeper \begin_layout Standard Voici un sous document inséré en utilisant la méthode \family sans Incorporé \family default : \begin_inset CommandInset include LatexCommand input preview true filename "DocumentBidon2.lyx" \end_inset \end_layout \begin_layout Standard Voici un sous-document \emph on input \emph default comme \SpecialChar LaTeX source: \end_layout \begin_layout Quote \begin_inset CommandInset include LatexCommand input filename "DocumentTexteBidon.txt" \end_inset \end_layout \begin_layout Description Verbatim Avec cette méthode tous les fichiers textes peuvent être inclus. Si c'est un fichier \SpecialChar LyX ou \SpecialChar LaTeX , le contenu sera affiché dans la sortie sous forme de code source et aucune des commandes éventuellement présentes ne sera exécutée. Vous pouvez utiliser l'option \family sans Marquer \begin_inset space ~ \end_inset les \begin_inset space ~ \end_inset espaces \family default qui matérialise chaque espace présente dans le code source par un caractère \begin_inset Quotes fld \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash textvisiblespace \end_layout \end_inset \begin_inset Quotes frd \end_inset . La différence avec la méthode qui consiste à utiliser le menu \family sans Insertion\SpecialChar menuseparator Fichier\SpecialChar menuseparator Texte \begin_inset space ~ \end_inset brut \family default est que le contenu du document n'apparaît pas dans \SpecialChar LyX . \end_layout \begin_layout Standard Voici un sous-document inclus en utilisant la méthode \family sans verbatim \family default : \begin_inset CommandInset include LatexCommand verbatiminput filename "DocumentTexteBidon.txt" \end_inset \begin_inset VSpace bigskip \end_inset Voici un autre sous-document incorporé par la méthode verbatim en utilisant l'option \family sans Marquer \begin_inset space ~ \end_inset les \begin_inset space ~ \end_inset espaces : \family default \begin_inset CommandInset include LatexCommand verbatiminput* filename "DocumentTexteBidon.txt" \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Comme vous pouvez le voir avec les exemples ci-dessus, le texte des documents inclus avec la méthode verbatim n'est pas découpé à la fin des lignes. \end_layout \end_inset \end_layout \begin_layout Description Listings Ce type d'inclusion est décrit dans le chapitre \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Program-Code-Listings" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Inclure le même document deux fois dans un même document peut poser des problèmes avec \SpecialChar LaTeX . \end_layout \end_inset \end_layout \begin_layout Standard Si vous ne voulez visualiser ou exporter que certains des sous-documents de votre document maître, que ce soit pour diminuer les temps de compilation ou parceque vous voulez distribuer des chapitres isolés d'un livre que vous êtes en train d'écrire, vous pouvez exclure des sous-documents de la sortie en utilisant le menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Sous-documents \family default . Vous pouvez exclure ou inclure un sous-document donné en double-cliquant sur la ligne correspondant dans la colonne \family sans Inclus dans le résultat \family default de la liste ( \begin_inset space ~ \end_inset notez que cela ne fonctionne que pour les documents inclus avec la méthode \begin_inset Quotes fld \end_inset inclus \begin_inset Quotes frd \end_inset et pas la méthode \begin_inset Quotes fld \end_inset incorporé \begin_inset Quotes frd \end_inset \begin_inset space ~ \end_inset ). Si on active l'option \family sans Assurer la cohérence des compteurs et des références \family default , \SpecialChar LyX va s'assurer que tous les numéros de pages, références etc... sont corrects comme si tous le document avait été traité. C'est utile si vous voulez que les sous-documents choisis aient exactement le même aspect que s'il étaient dans le document complet. Pour réaliser cette condition, il faut que \SpecialChar LyX traite de façon silencieuse la totalité du document. Ce qui fait que si vous voulez diminuer les temps de compilation, et que les compteurs et autres références n'ont pas à être à tout prix valides, vous devez impérativement désactiver cette option. \end_layout \begin_layout Standard Une autre solution consiste à inclure chaque fichier dans une branche \begin_inset Foot status collapsed \begin_layout Plain Layout Les branches sont décrites dans la section \emph on Branches \emph default du \emph on Guide de l'utilisateur \emph default de \SpecialChar LyX . \end_layout \end_inset . En activant ou désactivant une branche, vous pouvez décider les fichiers inclus qui doivent apparaître dans la sortie imprimée. Cette méthode à l'avantage qu'elle peut aussi s’appliquer aux sous documents \begin_inset Quotes fld \end_inset incorporés \begin_inset Quotes frd \end_inset . Le défaut est que les compteurs et autres références ne sont pas conservés avec cette approche. \end_layout \begin_layout Chapter Listings de code source \begin_inset CommandInset label LatexCommand label name "cha:Program-Code-Listings" \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Listings \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Code Source \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Flottants ! Listings \end_layout \end_inset \end_layout \begin_layout Standard Pour inclure et mettre en forme un listing de code source, vous pouvez utiliser un insert \family sans Listings \family default qui peut être créé grâce au menu \family sans Insertion \family default \SpecialChar menuseparator \family sans Listing \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Code \begin_inset space ~ \end_inset Source \family default . Le paquetage \SpecialChar LaTeX \series bold listings \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! listings \end_layout \end_inset fournit un moyen puissant et flexible d'insérer des listings de code source dans votre document. \end_layout \begin_layout Standard Quand vous cliquez avec le bouton droit sur un insert de listings, un menu contextuel s'ouvre pour vous permettre de modifier le format du listing. \end_layout \begin_layout Standard Implicitement, un listing commence un nouveau paragraphe dans la sortie imprimée. L'option d'emplacement \family sans Listing \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset Ligne \family default imprime le listing dans la ligne comme ceci : \begin_inset listings lstparams "language={C++}" inline true status open \begin_layout Plain Layout int a=5; \end_layout \end_inset \begin_inset Newline newline \end_inset L'option \family sans Flottant \family default crée un flottant de listing pour lequel vous pouvez préciser les options classiques d'emplacement : \begin_inset Quotes fld \end_inset \family sans h \family default \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset \family sans t \family default \begin_inset Quotes frd \end_inset , \begin_inset Quotes fld \end_inset \family sans b \family default \begin_inset Quotes frd \end_inset , et \begin_inset Quotes fld \end_inset \family sans p \family default \begin_inset Quotes frd \end_inset correspondant aux emplacement décrits dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Placement-flottants" \end_inset . Les options de positionnement peuvent être mélangées et doivent être saisies sans séparation, par exemple, on peut taper \begin_inset Quotes fld \end_inset \family sans htbp \family default \begin_inset Quotes frd \end_inset . L'option \begin_inset Quotes fld \end_inset h \begin_inset Quotes frd \end_inset a parfois aucun effet, mais vous n'avez pas besoin d'utiliser l'option \family sans Flottant \family default dans ce cas, vu que les listings non flottants peuvent aussi avoir une légende et être référencés. \end_layout \begin_layout Standard Vous pouvez ajouter une légende à un listing avec le menu \family sans Insertion\SpecialChar menuseparator Légende \family default . On peut référencer les listings de la même façon que les flottants :Voir le listing \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "lst:Listing-exemple" \end_inset . Une liste des listings qui contient tous les listings légendés peut être créée par le menu \family sans Insertion\SpecialChar menuseparator Listes \begin_inset space ~ \end_inset & \begin_inset space ~ \end_inset TdM\SpecialChar menuseparator Liste des listings \family default . Les éléments de la liste sont les légendes et le numéro de listing. \end_layout \begin_layout Standard \begin_inset listings lstparams "language=Python" inline false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "lst:Listing-exemple" \end_inset Exemple de listing flottant \end_layout \end_inset # Exemple de listing flottant \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'ceci est une fonction python' \end_layout \begin_layout Plain Layout pass \end_layout \end_inset \end_layout \begin_layout Standard Quand vous avez choisi un langage de programmation dans la fenêtre de dialogue de listing, les mots-clés de ce langage seront reconnus et mis en forme de manière particulière dans la sortie imprimée. Dans l'exemple de listing, le mot clé Python \begin_inset Quotes fld \end_inset def \begin_inset Quotes frd \end_inset est reconnu et imprimé en caractères gras dans la sortie. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Si vous n'obtenez pas des mots-clés en caractères gras quand vous utilisez une police de caractères à \family typewriter chasse fixe \family default , c'est que votre police ne contient probablement pas de série grasse. Dans ce cas choisissez une police différente dans le menu \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Polices \family default . (Les polices \emph on LuxiMono, BeraMono \emph default et \emph on Courier \emph default contiennent une série grasse.) \end_layout \end_inset \end_layout \begin_layout Standard Dans la rubrique \family sans Numérotation \begin_inset space ~ \end_inset des \begin_inset space ~ \end_inset Lignes \family default de la fenêtre de dialogue listings, vous pouvez choisir le style de numérotatio n des lignes. Vous pouvez mettre un nombre dans le champ \family sans Pas \family default pour désigner les lignes qui seront numérotées. Par exemple, si vous mettez \begin_inset Quotes fld \end_inset 3 \begin_inset Quotes frd \end_inset , seule une ligne sur trois sera numérotée. \end_layout \begin_layout Standard En plus vous pouvez préciser un intervalle de lignes et seules ces lignes apparaîtront dans la sortie. Vous devez utiliser l'option \family sans Table \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset Caractères \begin_inset space ~ \end_inset Étendue \family default quand vous employez des caractères spécifiques à une langue donnée comme les umlauts Allemands dans votre listing. \begin_inset Newline newline \end_inset Voici un exemple de listing avec la numérotation des lignes à gauche par pas de 3, en langage Python, avec les options \begin_inset Quotes fld \end_inset Table \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset caractères \begin_inset space ~ \end_inset étendue \begin_inset Quotes frd \end_inset et \begin_inset Quotes fld \end_inset Espace \begin_inset space ~ \end_inset représenté \begin_inset space ~ \end_inset par \begin_inset space ~ \end_inset un \begin_inset space ~ \end_inset symbole \begin_inset Quotes frd \end_inset , l'intervalle de ligne étant 3 \begin_inset space \thinspace{} \end_inset - \begin_inset space \thinspace{} \end_inset 8: \end_layout \begin_layout Standard \begin_inset listings lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3" inline false status open \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'ceci est une fonction Python' \end_layout \begin_layout Plain Layout pass \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'Ça, c'est un mot Allemand : Tschüß' \end_layout \begin_layout Plain Layout pass \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'ceci est une fonction Python' \end_layout \begin_layout Plain Layout pass \end_layout \end_inset \end_layout \begin_layout Standard Si vous avez des tabulations dans votre listing, vous pouvez préciser le nombre de caractères que doit représenter une tabulation dans le champ \family sans Taille du tabulateur \family default . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default À cause d'un bug dans le paquetage \series bold listings \series default la numérotation des lignes se trouve décalée d'une ligne à chaque nouveau listing. C'est la raison pour laquelle les lignes 2 et 5 sont numérotées et pas les lignes 3 et 6. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Il est aussi possible d'imprimer les lignes d'un fichier sous la forme d'un listing. Pour le faire, il suffit d'utiliser le menu \family sans Insertion\SpecialChar menuseparator Fichier\SpecialChar menuseparator Sous-document \family default et de choisir le type \family sans Listing \family default \begin_inset space ~ \end_inset \family sans de \begin_inset space ~ \end_inset Code \begin_inset space ~ \end_inset source \family default . \begin_inset Foot status collapsed \begin_layout Plain Layout Les autres types de sous-documents sont décrits dans la section \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Sous-documents" \end_inset . \end_layout \end_inset Dans la fenêtre de dialogue du sous-document vous pouvez donner les paramètres à utiliser pour le listing dans une zone de texte. Pour avoir une liste des paramètres disponibles, tapez un point d'interrogation \begin_inset Quotes fld \end_inset ? \begin_inset Quotes frd \end_inset dans la zone de texte. \end_layout \begin_layout Standard Pour faire référence à un sous-document de type listing, tapez une étiquette dans le champ correspondant de la fenêtre de dialogue. On peut alors faire référence à cette étiquette en utilisant le menu \family sans Insertion\SpecialChar menuseparator Référence \begin_inset space ~ \end_inset Croisée \family default . \end_layout \begin_layout Standard Le listing \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "lst:listing-fichier" \end_inset est un exemple de listing issu d'un fichier ; ici les lignes 10 \begin_inset space \thinspace{} \end_inset - \begin_inset space \thinspace{} \end_inset 15 de ce fichier \SpecialChar LyX sont listées. \end_layout \begin_layout Standard \begin_inset Newpage pagebreak \end_inset \end_layout \begin_layout Standard \begin_inset CommandInset include LatexCommand lstinputlisting filename "EmbeddedObjects.lyx" lstparams "breaklines=true,caption={Lignes 10 - 15 de ce fichier LyX},extendedchars=true,firstline=10,label={lst:listing-fichier},language={[LaTeX]TeX},lastline=15" \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard L'insertion d'une formule dans un listing peut se faire de la façon suivante \begin_inset space ~ \end_inset : \end_layout \begin_layout Enumerate Ouvrez la fenêtre de dialogue listings et ajoutez \begin_inset Newline newline \end_inset \family sans mathescape=true \family default \begin_inset Newline newline \end_inset dans le champ de l'onglet \family sans Avancé \family default . \end_layout \begin_layout Enumerate Créez la formule en dehors du listing. \end_layout \begin_layout Enumerate Copiez le contenu de la formule (pas l'insert de formule) vers le presse-papier (raccourci \begin_inset Info type "shortcut" arg "copy" \end_inset ) \end_layout \begin_layout Enumerate Dans le listing écrivez \begin_inset Quotes fld \end_inset \family sans $$ \family default \begin_inset Quotes frd \end_inset et copiez le contenu du presse-papier entre les deux signes dollar (raccourci \begin_inset Info type "shortcut" arg "paste" \end_inset ) \end_layout \begin_layout Standard \begin_inset listings lstparams "language=Python,mathescape=true" inline false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout Exemple de listing flottant contenant une formule \end_layout \end_inset # Exemple de listing flottant \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout # $ \backslash prod_{n=1}^{ \backslash infty} \backslash , \backslash frac{1}{x^{2}}$ \end_layout \begin_layout Plain Layout pass \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Les paramètres globaux pour les listings peuvent être modifiés avec la fenêtre de dialogue \family sans Document\SpecialChar menuseparator Paramètres\SpecialChar menuseparator Listings \family default . Pour avoir la liste des options disponibles, tapez un point d'interrogation \begin_inset Quotes fld \end_inset ? \begin_inset Quotes frd \end_inset dans le champ. \end_layout \begin_layout Standard Pour plus d'information sur le paquetage \series bold listings \series default , nous vous renvoyons à sa documentation \begin_inset CommandInset citation LatexCommand cite key "listings" \end_inset . \end_layout \begin_layout Standard \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Chapter \start_of_appendix Unités de longueur utilisables avec \SpecialChar LyX \begin_inset Argument 1 status collapsed \begin_layout Plain Layout Unités de longueur \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout Unités \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "cha:Unités-de-longueur" \end_inset \end_layout \begin_layout Standard Pour comprendre les unités de longueur utilisées dans cette documentation, le tableau \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unités" \end_inset décrit les unités utilisées par \SpecialChar LyX . \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption Standard \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Unités" \end_inset Unités de longueur \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout unité \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nom/description \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout commande \SpecialChar LaTeX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout mm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout millimètre \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout centimètre \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout in \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pouce (inch) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pt \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout point (72.27 \begin_inset space \thinspace{} \end_inset pt = 1 \begin_inset space \thinspace{} \end_inset in) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pica (1 \begin_inset space \thinspace{} \end_inset pc = 12 \begin_inset space \thinspace{} \end_inset pt) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sp \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout scaled point (65536 \begin_inset space \thinspace{} \end_inset sp = 1 \begin_inset space \thinspace{} \end_inset pt) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout bp \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout gros point (72 \begin_inset space \thinspace{} \end_inset bp = 1 \begin_inset space \thinspace{} \end_inset in) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout dd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout didot (72 \begin_inset space \thinspace{} \end_inset dd \begin_inset Formula $\approx$ \end_inset 37.6 \begin_inset space \thinspace{} \end_inset mm) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cicero (1 \begin_inset space \thinspace{} \end_inset cc = 12 \begin_inset space \thinspace{} \end_inset dd) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Échelle graphique % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de largeur originale de l'image \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Largeur texte % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de largeur du texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \backslash textwidth \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Largeur colonne % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de largeur de la colonne \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \backslash columnwidth \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Largeur page % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de largeur du papier \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \backslash paperwidth \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Largeur ligne % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de largeur de la ligne \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \backslash linewidth \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hauteur texte % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de hauteur du texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \backslash textheight \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hauteur page % \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de hauteur du papier \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \backslash paperheight \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ex \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout hauteur de lettre \emph on x \emph default dans police courante \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout em \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout largeur de lettre \emph on M \emph default dans police courante \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout mu \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout unité mathématique (1 \begin_inset space \thinspace{} \end_inset mu = 1/18 \begin_inset space \thinspace{} \end_inset em) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Chapter Formats des fichiers de sortie graphiques \begin_inset CommandInset label LatexCommand label name "cha:Formats-fichiers-graphiques" \end_inset \end_layout \begin_layout Section DVI \begin_inset Index idx status collapsed \begin_layout Plain Layout Formats de Fichiers! DVI \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout DVI|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formats de Fichiers \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Ce type de fichiers a l'extension \begin_inset Quotes fld \end_inset \family typewriter .dvi \family default \begin_inset Quotes frd \end_inset . Il est appelé \emph on indépendant de l'appareil \emph default ou \begin_inset Quotes fld \end_inset device independent (DVI) \begin_inset Quotes frd \end_inset , car il est complètement portable ; vous pouvez les recopier d'une machine à l'autre sans avoir à faire de conversion. À l'époque où ce format a été développé, c'était loin d'être évident. Les fichiers DVI sont utilisés pour un visionnement rapide et comme une étape préliminaire avant la conversion vers un autre format comme le PostScript. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Les fichiers DVI ne contiennent pas d'images, elles sont seulement liées au fichier. \end_layout \end_inset N'oubliez donc pas de fournir vos images en même temps que vos fichiers \family typewriter .dvi \family default . Cette caractéristique peut aussi ralentir votre ordinateur quand vous visualise z le DVI puisque la visionneuse doit convertir les images en tâche de fond pour les rendre visibles quand vous faites défiler votre document. C'est pourquoi nous recommandons d'utiliser des fichiers PDF pour les documents avec de nombreuses images. \end_layout \begin_layout Standard Vous pouvez exporter votre document comme un fichier DVI en utilisant le menu \family sans Fichier\SpecialChar menuseparator Exporter\SpecialChar menuseparator DVI. \family default Vous pouvez visionner votre document sous forme de DVI grâce au menu \family sans Visualiser \family default . \end_layout \begin_layout Section PostScript \begin_inset Index idx status collapsed \begin_layout Plain Layout Formats de Fichiers ! PostScript \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout PostScript|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formats de Fichiers \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Ce type de fichiers a l'extension \begin_inset Quotes fld \end_inset \family typewriter .ps \family default \begin_inset Quotes frd \end_inset . PostScript a été développé par la société \series bold Adobe \series default comme un langage pour les imprimantes. De ce fait le fichier contient toutes les commandes utilisées par l'imprimante pour imprimer le document. PostScript peut être considéré comme un \begin_inset Quotes fld \end_inset langage de programmation \begin_inset Quotes frd \end_inset ; vous pouvez en effet faire des calculs ou tracer des diagrammes ou des images. \begin_inset Foot status collapsed \begin_layout Plain Layout Si vous souhaitez en apprendre plus à ce sujet, jetez un coup d'œil au paquetage \SpecialChar LaTeX \series bold pstricks \series default \begin_inset CommandInset citation LatexCommand cite key "pstricks" \end_inset . \end_layout \end_inset En partie à cause de toutes ces possibilités un fichier PostScript est souvent plus gros qu'un PDF. \end_layout \begin_layout Standard En partie à cause de toutes ces possibilités un fichier PostScript est souvent plus gros qu'un PDF. \end_layout \begin_layout Standard PostScript ne peut contenir que des images au format \begin_inset Quotes fld \end_inset PostScript Encapsulé \begin_inset Quotes frd \end_inset (encapsulated PostScript ou EPS, d'extension \family typewriter .eps \family default ). Comme \SpecialChar LyX vous permet n'importe quel format d'image connu dans votre document, il doit les convertir en interne en EPS. Si vous avez par exemple 50 images dans votre document, \SpecialChar LyX doit faire 50 conversions à chaque fois que vous visualisez ou que vous exportez votre document. Cela risque de ralentir de façon importante votre rythme de travail. En conclusion, si vous prévoyez d'utiliser PostScript, vous pouvez insérer vos images directement en EPS pour éviter ce problème. \end_layout \begin_layout Standard Vous pouvez exporter votre document comme un fichier PostScript en utilisant le menu \family sans Fichier\SpecialChar menuseparator Exporter\SpecialChar menuseparator PostScript. \family default Vous pouvez visionner votre document sous forme PostScript grâce au menu \family sans Visualiser \family default . \end_layout \begin_layout Section PDF \begin_inset Index idx status collapsed \begin_layout Plain Layout Formats de Fichiers ! PDF \end_layout \end_inset \begin_inset Index idx status collapsed \begin_layout Plain Layout PDF \end_layout \end_inset \end_layout \begin_layout Standard Ce type de fichiers a l'extension \begin_inset Quotes fld \end_inset \family typewriter .pdf \family default \begin_inset Quotes frd \end_inset . Ce \begin_inset Quotes fld \end_inset format de document portable \begin_inset Quotes frd \end_inset (portable document format ou PDF) est développé par \family typewriter Adobe \family default comme une évolution de PostScript. Il est plus comprimé et utilise moins de commandes que PostScript. Comme son nom l'indique, il est \begin_inset Quotes fld \end_inset portable \begin_inset Quotes frd \end_inset et peut donc être traité par n'importe quel ordinateur et la sortie imprimée aura exactement le même aspect. \end_layout \begin_layout Standard PDF peut contenir des images dans son propre format PDF et dans les formats JPG (format du \begin_inset Quotes fld \end_inset Joint Photographic Expert Group \begin_inset Quotes frd \end_inset avec comme extension \family typewriter .jpg \family default ou \family typewriter .jpeg \family default ) et PNG ( \begin_inset Quotes fld \end_inset Portable Network Graphics \begin_inset Quotes frd \end_inset avec l'extension \family typewriter .png \family default ). Vous pouvez quand même utiliser d'autres formats puisque \SpecialChar LyX les convertit dans un de ces formats. Mais comme il est dit dans la section sur PostScript, les conversions d'images vont ralentir votre travail. Nous recommandons donc l'utilisation de l'un des trois formats cités. \end_layout \begin_layout Standard Vous pouvez exporter votre document comme un fichier PDF en utilisant le menu \family sans Fichier\SpecialChar menuseparator Exporter \family default de trois façons différentes: \end_layout \begin_layout Description PDF \begin_inset space ~ \end_inset (ps2pdf) Ceci utilise le programme \family typewriter ps2pdf \family default qui créé un PDF à partir de la version PostScript de votre fichier. Cette dernière est produite par le programme \family typewriter dvips \family default qui utilise une version DVI comme étape intermédiaire. Cette variante consiste donc en trois conversions. \end_layout \begin_layout Description PDF \begin_inset space ~ \end_inset (dvipdfm) Ceci utilise le programme \family typewriter dvipdfm \family default qui convertit votre fichier en DVI avant de le convertir en PDF. \end_layout \begin_layout Description PDF \begin_inset space ~ \end_inset (pdflatex) Ceci utilise le programme \family typewriter pdftex \family default qui convertit directement votre fichier en PDF. \end_layout \begin_layout Standard Nous recommandons d'utiliser l'option \family sans PDF \begin_inset space ~ \end_inset (pdflatex) \family default car \family typewriter pdftex \family default accepte toutes les fonctionnalités des versions actuelles de PDF. Il est en plus rapide et stable. Le programme \family typewriter dvipdfm \family default n'est plus développé est est donc un peu dépassé. \end_layout \begin_layout Standard Vous pouvez visionner votre document sous forme PDF grâce au menu \family sans Visualiser \family default ou en utilisant un bouton de la barre d'outils. \end_layout \begin_layout Chapter Liste de noms de couleur pour dvips \begin_inset CommandInset label LatexCommand label name "chap:Liste-de-noms-de-couleur-dvips" \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset white \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Couleur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Nom \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset white \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Couleur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Nom \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset white \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Couleur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Nom \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset white \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset Couleur \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Nom \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Apricot \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Apricot \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Aquamarine \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Aquamarine \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Bittersweet \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Bittersweet \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset BlueGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset BlueGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset BlueViolet \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset BlueViolet \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset BrickRed \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset BrickRed \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Brown \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Brown \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset BurntOrange \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset BurntOrange \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset CadetBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset CadetBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset CarnationPink \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset CarnationPink \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Cerulean \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Cerulean \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset CornflowerBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset CornflowerBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Dandelion \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Dandelion \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset DarkOrchid \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset DarkOrchid \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Emerald \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Emerald \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset ForestGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset ForestGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Fuchsia \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Fuchsia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Goldenrod \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Goldenrod \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Gray \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Gray \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset GreenYellow \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset GreenYellow \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset JungleGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset JungleGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Lavender \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Lavender \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset LimeGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset LimeGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Mahogany \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Mahogany \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Mahogany \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Mahogany \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Maroon \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Maroon \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Melon \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Melon \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset MidnightBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset MidnightBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Mulberry \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Mulberry \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset NavyBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset NavyBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset OliveGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset OliveGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Orange \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Orange \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset OrangeRed \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset OrangeRed \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Orchid \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Orchid \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Peach \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Peach \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Periwinkle \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Periwinkle \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset PineGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset PineGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Plum \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Plum \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset ProcessBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset ProcessBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Purple \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Purple \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset RawSienna \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset RawSienna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset RedOrange \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset RedOrange \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset RedViolet \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset RedViolet \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Rhodamine \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Rhodamine \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset RoyalBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset RoyalBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset RoyalPurple \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset RoyalPurple \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset RubineRed \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset RubineRed \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Salmon \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Salmon \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset SeaGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset SeaGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Sepia \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Sepia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset SkyBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset SkyBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset SpringGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset SpringGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Tan \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Tan \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset TealBlue \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset TealBlue \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Thistle \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Thistle \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Turquoise \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Turquoise \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset Violet \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset Violet \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset VioletRed \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset VioletRed \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset WildStrawberry \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset WildStrawberry \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset YellowGreen \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset YellowGreen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{black}{ \end_layout \end_inset YellowOrange \begin_inset ERT status collapsed \begin_layout Plain Layout }{ \end_layout \end_inset \begin_inset Phantom Phantom status open \begin_layout Plain Layout W \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset YellowOrange \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \begin_layout Chapter Explication de l' équation \begin_inset space ~ \end_inset ( \begin_inset CommandInset ref LatexCommand ref reference "eq:Wgn" \end_inset ) \begin_inset CommandInset label LatexCommand label name "cha:Explication-de-l'Equation" \end_inset \end_layout \begin_layout Standard La largeur totale de \emph on n \emph default cellules de tableau \begin_inset Formula $L_{\mathrm{tot\,n}}$ \end_inset peut être calculée avec \begin_inset Formula \begin{equation} L_{\mathrm{tot}\,n}=n\cdot(L_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n} \end{equation} \end_inset \end_layout \begin_layout Standard où \begin_inset Formula $L_{g\,n}$ \end_inset est la largeur fixe de toutes les cellules. \series bold \backslash tabcolsep \series default est la largeur utilisée par \SpecialChar LaTeX entre le texte de la cellule et la bordure, sa valeur implicite est 6 \begin_inset space \thinspace{} \end_inset pt. \series bold \backslash arrayrulewidth \series default est l'épaisseur de la bordure de la cellule, qui est implicitement de 0.4 \begin_inset space \thinspace{} \end_inset pt. \end_layout \begin_layout Standard D'après l'équation \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wtot_n" \end_inset , la largeur totale d'une multi-colonnes, \begin_inset Formula $L_{\mathrm{tot\,mult}}$ \end_inset est \begin_inset Formula \begin{equation} L_{\mathrm{tot\,mult}}=L_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult} \end{equation} \end_inset \end_layout \begin_layout Standard En posant que les équations \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wtot_n" \end_inset et \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wtot_mult" \end_inset sont égales, on peut calculer la largeur nécessaire \begin_inset Formula $L_{g\,n}$ \end_inset quand \emph on n \emph default colonnes sont couvertes, de façon à ce que chaque colonne ait une largeur de \begin_inset Formula $L_{\mathrm{tot\,mult}}/n$ \end_inset : \begin_inset Formula \begin{equation} L_{g\,n}=\frac{L_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n} \end{equation} \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexcompanion" \end_inset Frank Mittelbach and Michel Goossens: \emph on The \SpecialChar LaTeX Companion Second Edition. \emph default Addison-Wesley, 2004 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexguide" \end_inset Helmut Kopka and Patrick W. Daly: \emph on A Guide to \SpecialChar LaTeX Fourth Edition. \emph default Addison-Wesley, 2003 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexbook" \end_inset Leslie Lamport: \emph on \SpecialChar LaTeX : A Document Preparation System. \emph default Addison-Wesley, second edition, 1994 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "arydshln" \end_inset Documentation du paquetage \SpecialChar 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 \SpecialChar LaTeX ! arydshln \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "booktabs" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "booktabs" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! booktabs \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "caption" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "caption" target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! caption \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "diagbox" \end_inset Documentation du paquetage \SpecialChar 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 \SpecialChar LaTeX ! diagbox \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "endfloat" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "endfloat" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! endfloat \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "footmisc" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "footmisc" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! footmisc \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "hypcap" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "hypcap" target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! hyperref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "hyperref" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "hyperref" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! hyperref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "KOMA-Script" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "KOMA-Script" target "http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! KOMA-Script \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "lettrine" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href 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 \SpecialChar LaTeX ! lettrine \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "listings" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "listings" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! listings \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "marginnote" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "marginnote" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! marginnote \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "pdfpages" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "pdfpages" target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! pdfpages \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "prettyref" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "prettyref" target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! prettyref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "pstricks" \end_inset Page Web du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "PSTricks" target "http://tug.org/PSTricks/" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! PSTricks \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "refstyle" \end_inset Documentation du paquetage \SpecialChar LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "refstyle" target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! refstyle \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "sidecap" \end_inset Documentation du paquetage \SpecialChar 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" \end_inset \series default \begin_inset Index idx status collapsed \begin_layout Plain Layout Paquetages \SpecialChar LaTeX ! sidecap \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "NewInLyX20" \end_inset \begin_inset CommandInset href LatexCommand href name "Page Wiki" target "http://wiki.lyx.org/LyX/NewInLyX20" \end_inset au sujet des nouveautés de \family sans \SpecialChar LyX 2.0 \family default . \end_layout \begin_layout Standard \begin_inset CommandInset index_print LatexCommand printindex type "idx" \end_inset \end_layout \end_body \end_document