#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ \lyxformat 331 \begin_document \begin_header \textclass scrbook \begin_preamble % if pdflatex is used \usepackage{ifpdf} \ifpdf % set fonts for nicer pdf view \IfFileExists{lmodern.sty} {\usepackage{lmodern}}{} \fi % end if pdflatex is used % 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 \pagenumbering{roman} \let\myTOC\tableofcontents \renewcommand{\tableofcontents}{% \pdfbookmark[1]{Contents}{} \myTOC \cleardoublepage \pagenumbering{arabic}} % provides caption formatting \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16] % provides commands to set caption % beside tables/images \usepackage{sidecap} \newcommand{\TabBesBeg}{% \let\MyTable\table \let\MyEndtable\endtable \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}} \newcommand{\TabBesEnd}{% \let\table\MyTable \let\endtable\MyEndtable} \newcommand{\FigBesBeg}{% \let\MyFigure\figure \let\MyEndfigure\endfigure \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}} \newcommand{\FigBesEnd}{% \let\figure\MyFigure \let\endfigure\MyEndfigure} % enables calculation of values, \usepackage{calc} % provides special table cell alignments \usepackage{dcolumn} % 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 scaled and rotated boxes \@ifundefined{rotatebox}{\usepackage{graphicx}}{} % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} \definecolor{darkgreen}{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 for multirows \usepackage{multirow} %\renewcommand{\multirowsetup}{\centering} % used for book-style tables \usepackage{booktabs} % 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} % redefine the greyed out note \renewenvironment{lyxgreyedout} {\textcolor{blue}\bgroup}{\egroup} % ------------------------------------ % 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} \let\marginpar\marginnote \setboolean{sidecap}{true}} {\setboolean{sidecap}{false}} % redefine the \LyX macro for PDF bookmarks \def\LyX{\texorpdfstring{% L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} {LyX }} \end_preamble \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \language french \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics 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_pagebackref false \pdf_pdfusetitle false \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabel" \papersize default \use_geometry false \use_amsmath 2 \use_esint 0 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \papercolumns 1 \papersides 2 \paperpagestyle default \bullet 1 1 34 -1 \bullet 2 2 35 -1 \bullet 3 2 7 -1 \tracking_changes false \output_changes false \author "" \author "" \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 LyX \end_layout \begin_layout Author par l'Équipe 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 LyX: \family typewriter \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{mailto:lyx-docs@lists.lyx.org?subject=LyX's EmbeddedObjects.lyx manual}{ \end_layout \end_inset lyx-docs@lists.lyx.org \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \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 version 1.5.2 - novembre 2007 \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \family sans Version 1.6svn \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 LaTeX \series bold arydshln \series default , \series bold colortbl \series default , \series bold marginnote \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/LyX/DocumentationDevelopment#EmbeddedObjects \begin_inset Newline newline \end_inset \series default (version anglaise) \end_layout \end_inset \end_layout \begin_layout Chapter Figures \begin_inset CommandInset label LatexCommand label name "cha:Figures" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figures \end_layout \end_inset \begin_inset Index 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 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 Graphics filename ../../images/dialog-show-new-inset_graphics.png scale 85 scaleBeforeRotation \end_inset dans la barre d'outils, ou faites \family sans Insérer\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 avec le bouton droit 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'appendice \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 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 LyX. \begin_inset Newline newline \end_inset \begin_inset Index 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 cliquant sur le bouton Éditer. 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 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 LaTeX \begin_inset Space ~ \end_inset et \begin_inset Space ~ \end_inset LyX \family default Avec cet onglet, vous pouvez modifier l'apparence de l'image dans LyX et en faire une sous-figure avec sa propre légende si elle incorporée dans un flottant de figure. Les sous-figures sont décrites dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Figure-Floats" \end_inset . \begin_inset Newline newline \end_inset Les experts ès-LaTeX pourront fournir dans cet onglet des options supplémentaire s pour LaTeX \begin_inset Newline newline \end_inset L'option Mode brouillon 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 L'option \family sans ne \begin_inset Space ~ \end_inset pas \begin_inset Space ~ \end_inset décompresser \begin_inset Space ~ \end_inset à \begin_inset Space ~ \end_inset l'exportation \family default n'affectera que les graphiques EPS zippés, par exemple \family typewriter x.eps.gz \family default . Quand cette option est activée, les images ne sont pas décompressées à l'exportation, vu que LaTeX peut les traiter telles-quelles \begin_inset Newline newline \end_inset Les graphiques EPS zippés sont utiles pour économiser de la place sur les disques quand on utilise PostScript comme format de sortie, voir l'appendice \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:PostScript" \end_inset . Pour zipper un graphique EPS, utilisez les commandes suivantes dans un terminal UNIX ou une console Windows: \begin_inset Newline newline \end_inset \series bold gzip x.eps \series default \begin_inset Newline newline \end_inset \series bold zgrep %%Bounding x.eps.gz > x.eps.bb \series default \begin_inset Newline newline \end_inset La seconde commande va créer le fichier contenant la description de la boîte de délimitation \begin_inset Quotes eld \end_inset \family typewriter x.eps.bb \family default \begin_inset Quotes erd \end_inset qui est indispensable pour que LaTeX puisse traiter un fichier compressé. \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 display color 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 display color 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 status collapsed \begin_layout Plain Layout Flottants ! Figures \end_layout \end_inset \begin_inset Index 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 Graphics filename ../../images/float-insert_figure.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils et le menu \family sans Insérer\SpecialChar \menuseparator Flottant\SpecialChar \menuseparator Figure \family default insèrent un flottant avec l'étiquette \begin_inset Quotes eld \end_inset \series bold Figure \begin_inset Space ~ \end_inset #: \series default \begin_inset Quotes erd \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 display color width 50col% scaleBeforeRotation rotateOrigin center \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \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 \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 display color scale 80 scaleBeforeRotation rotateOrigin center \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Index status collapsed \begin_layout Plain Layout 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 Insérer \family default \SpecialChar \menuseparator \family sans Étiquette \family default ou le bouton \begin_inset Graphics filename ../../images/label-insert.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils. On peut alors faire référence à cette étiquette en utilisant le menu \family sans Insérer\SpecialChar \menuseparator Référence \begin_inset Space ~ \end_inset croisée \family default ou le bouton \begin_inset Graphics filename ../../images/dialog-show-new-inset_ref.png scale 85 scaleBeforeRotation \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 eld \end_inset la figure ci-dessous \begin_inset Quotes erd \end_inset , puisque 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 figure dans un flottant, mais parfois vous pouvez vouloir deux figures avec chacune sa sous-légende. C'est possible en utilisant la fenêtre de dialogue: faites un clic droit sur l'image et allez sur l'onglet \family sans Options \begin_inset Space ~ \end_inset LaTeX \begin_inset Space ~ \end_inset et \begin_inset Space ~ \end_inset LyX \family default , cochez l'option \family sans Sous \begin_inset Space ~ \end_inset figure \family default et tapez la légende dans le champ qui vient d'être activé. Notez que seule la légende principale des flottants est reprise dans la Liste des Figures. \begin_inset Newline newline \end_inset Le référencement des sous-figures est expliqué dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Référencer-Sousfigures" \end_inset . \end_layout \begin_layout Standard 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. \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 open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Undefinable structure \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps width 45col% scaleBeforeRotation \end_inset \end_layout \end_inset \begin_inset Space \hfill{} \end_inset \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 60 width 45col% scaleBeforeRotation \end_inset \end_layout \end_inset \begin_inset Space \hfill{} \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Deux-images-déformées" \end_inset Deux images déformées. \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 status collapsed \begin_layout Plain Layout Formats d' images \end_layout \end_inset \begin_inset Index 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'appendice \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Formats-fichiers-graphiques" \end_inset , \lang english \lang french chaque format pour la sortie du document ne va accepter qu'un petit nombre de formats d'images. Pour s'en sortir 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 \lang english \lang french l'appendice \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 des 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 eld \end_inset pixellisé \begin_inset Quotes erd \end_inset ). Les formats matriciels les plus connus sont le GIF ( \begin_inset Quotes eld \end_inset Graphics Interchange Format \begin_inset Quotes erd \end_inset , avec comme extension de fichier \begin_inset Quotes eld \end_inset \family typewriter .gif \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 eld \end_inset Portable Network Graphics, extension \begin_inset Quotes eld \end_inset \family typewriter .gif \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 eld \end_inset Joint Photographic Expert Group, extension \begin_inset Quotes eld \end_inset \family typewriter .jpg \family default \begin_inset Quotes erd \end_inset ou \begin_inset Quotes eld \end_inset \family typewriter .jpeg \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 eld \end_inset Scalable Vector Graphics \begin_inset Quotes erd \end_inset , extension \begin_inset Quotes eld \end_inset \family typewriter .svg \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 eld \end_inset encapsulated PostScript \begin_inset Quotes erd \end_inset , extension \begin_inset Quotes eld \end_inset \family typewriter .eps \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 eld \end_inset Portable Document Format \begin_inset Quotes erd \end_inset , extension \begin_inset Quotes eld \end_inset \family typewriter .pdf \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 eld \end_inset Windows Metafile \begin_inset Quotes erd \end_inset , extension \begin_inset Quotes eld \end_inset \family typewriter .wfm \family default \begin_inset Quotes erd \end_inset ou \begin_inset Quotes eld \end_inset \family typewriter .emf \family default \begin_inset Quotes erd \end_inset ) \begin_inset Index 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 open \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. \lang english \lang french 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 CommandInset label LatexCommand label name "cha:Tableaux" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau \end_layout \end_inset \end_layout \begin_layout Section Introduction \begin_inset Index 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 Graphics filename ../../images/tabular-insert.png scale 85 scaleBeforeRotation \end_inset soit \family sans Insérer\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 par défaut a 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 status collapsed \begin_layout Plain Layout Tableau ! Fenêtre de dialogue \end_layout \end_inset \end_layout \begin_layout Standard Vous pouvez agir sur un tableau en cliquant dessus avec le bouton droit de la souris, ce qui fait apparaître une fenêtre avec des options. Dans cette fenêtre vous pouvez modifier les réglages concernant la cellule, la colonne et la ligne dans laquelle le curseur se trouve. 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. Vous pouvez utiliser les onglets suivants de la fenêtre de dialogue de tableaux : \end_layout \begin_layout Description Tableau Avec cet onglet, vous pouvez choisir l'alignement horizontal et la largeur de la colonne courante. 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 "sub: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 multicolonne, voir la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Multicolonnes" \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 LyX, mais devraient l'être dans la sortie finale. \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 \lang english \begin_inset Newline newline \end_inset \lang french On peut aussi entrer des paramètres 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 "sub:Calculs-multicolonnes" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . \end_layout \begin_layout Description \family sans Bordures \family default 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 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 "sub:Espacement-lignes" \end_inset . \end_layout \begin_layout Description Tableau \begin_inset Space ~ \end_inset long Cet onglet est utilisé pour transformer un tableau en ce que l'on nomme un \begin_inset Quotes eld \end_inset \emph on tableau long \emph default \begin_inset Quotes erd \end_inset qui peut continuer sur plusieurs pages. Les sections \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-longs" \end_inset et \begin_inset CommandInset ref LatexCommand ref reference "sec:Questions-sur-tableaux-longs" \end_inset décrivent ces tableaux longs plus en détail. \end_layout \begin_layout Standard Quand la barre d'outils tableau est activée \begin_inset Note Note status open \begin_layout Plain Layout ou la fenêtre ? \end_layout \end_inset , vous pouvez déplacer le curseur de cellule en cellule avec les touches de déplacement et voir s'afficher les propriétés de la cellule courante dans la fenêtre de dialogue. \end_layout \begin_layout Section La barre d'outils tableau \begin_inset Index 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 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 Graphics filename ../../images/tabular-feature_append-row.png scaleBeforeRotation \end_inset ajoute une ligne sous la cellule ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_append-column.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_delete-row.png scaleBeforeRotation \end_inset supprime la ligne ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_delete-column.png scaleBeforeRotation \end_inset supprime la colonne ou la sélection courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_toggle-line-top.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_toggle-line-bottom.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_toggle-line-left.png scaleBeforeRotation \end_inset ajoute une ligne sur le côté gauche de la cellule, de 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 Graphics filename ../../images/tabular-feature_toggle-line-right.png scaleBeforeRotation \end_inset ajoute une ligne sur le côté droit de la cellule, de 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 Graphics filename ../../images/tabular-feature_set-all-lines.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_unset-all-lines.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_align-left.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_align-center.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_align-right.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_valign-top.png scaleBeforeRotation \end_inset aligne le contenu de la cellule courante verticalement vers le haut \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_valign-middle.png scaleBeforeRotation \end_inset centre verticalement le contenu de la cellule courante \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_valign-bottom.png scaleBeforeRotation \end_inset aligne le contenu de la cellule courante verticalement vers le bas \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_set-rotate-cell.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_set-rotate-tabular.png scaleBeforeRotation \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 Graphics filename ../../images/tabular-feature_multicolumn.png scaleBeforeRotation \end_inset transforme en multi-colonne 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 Éditer Tableau \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Menu Éditer \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 Éditer\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-colonne. 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 status collapsed \begin_layout Plain Layout Flottants ! Tableaux \end_layout \end_inset \begin_inset Index 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 \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 Insérer\SpecialChar \menuseparator Flottant\SpecialChar \menuseparator Tableau \family default ou le bouton \begin_inset Graphics filename ../../images/float-insert_table.png scale 85 scaleBeforeRotation \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 eld \end_inset Tableau \begin_inset Space ~ \end_inset #: \begin_inset Quotes erd \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 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 LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! caption \end_layout \end_inset dans le préambule de votre document. \begin_inset Foot status open \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 status collapsed \begin_layout Plain Layout Références ! à un Tableau \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 Insérer \family default \SpecialChar \menuseparator \family sans Étiquette \family default ou le bouton \begin_inset Graphics filename ../../images/label-insert.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils. On peut alors faire référence à cette étiquette en utilisant le menu \family sans Insérer\SpecialChar \menuseparator Référence \begin_inset Space ~ \end_inset croisée \family default ou le bouton \begin_inset Graphics filename ../../images/dialog-show-new-inset_ref.png scale 85 scaleBeforeRotation \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 Longs \begin_inset CommandInset label LatexCommand label name "sec:Tableaux-longs" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Tableaux longs \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 longs \family default de l'onglet \family sans Tableau \begin_inset Space ~ \end_inset long \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 un certain nombre de cases d'option et vous pouvez alors définir: \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 long; 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 long. \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 long ; 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 long \end_layout \begin_layout Standard Vous pouvez aussi préciser une ligne où la table devra être coupée. Si vous activez plusieurs options pour une même ligne, vous devez être conscients que seule la première sera prise en compte. \begin_inset Note Note status collapsed \begin_layout Plain Layout Il y a quelque chose que je n'ai pas compris : la deuxième option serait mise automatiquement à \begin_inset Quotes eld \end_inset est vide \begin_inset Quotes erd \end_inset ...(NdT) \end_layout \end_inset Dans ce contexte, première veut dire première en suivant l'ordre \family sans Pied, Dernier \begin_inset Space ~ \end_inset Pied, \family default et \family sans En-tête, Premier \begin_inset Space ~ \end_inset En-tête \family default . Voyez le tableau long 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 open \begin_layout Plain Layout \backslash addtocounter{table}{-1} \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Voyez la note grisée de la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Tableaux-longs-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 Longs \begin_inset CommandInset label LatexCommand label name "sub:Notes-dans-tableau-long" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! 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 long. 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 Longs \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! Alignement \end_layout \end_inset \end_layout \begin_layout Standard Par défaut les Tableaux Longs sont centrés. Contrairement à l'alignement dans les colonnes et les lignes, l'alignement du tableau ne peut actuellement pas être modifié à partir de la fenêtre de dialogue. Pour modifier l'alignement d'un tableau long, vous devez 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 TeX avant le tableau long 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 par défaut des ces deux distances est \series bold \backslash fill \series default , ce qui dans ce cas correspond à un ressort horizontal dans LyX. \end_layout \begin_layout Standard Le tableau long suivant a été aligné à gauche en mettant \series bold \backslash LTleft \series default à 0 \begin_inset Space \thinspace{} \end_inset pt. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTleft}{0pt} \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 \end_layout \begin_layout Subsection Légendes et Tableaux longs \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! Légendes \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sub:Tableaux-longs-légende" \end_inset \end_layout \begin_layout Standard Vous ne pouvez pas placer un tableau long dans un flottant de tableau puisque les flottants ne peuvent pas être sur plusieurs pages, mais l'environnement de légende des flottants de tableau peut aussi être utilisé pour les Tableaux Longs. \end_layout \begin_layout Standard Comme LyX ne gère pas complètement les légendes dans les Tableaux Longs, on doit bricoler un peu pour les créer : \end_layout \begin_layout Enumerate Créez \family sans \family default un Tableau Long. \end_layout \begin_layout Enumerate Sélectionnez sa première ligne et désactivez sa ligne de bordure du haut. \end_layout \begin_layout Enumerate Insérez la légende dans la première cellule du tableau en utilisant le menu \family sans Insérer\SpecialChar \menuseparator Légende \family default . \begin_inset Newline newline \end_inset Vous pouvez aussi ajouter un titre court pour la légende qui apparaîtra dans la Liste des Figures à la place de la légende complète. \end_layout \begin_layout Enumerate Insérez \begin_inset Quotes eld \end_inset \series bold \backslash \backslash % \series default \begin_inset Quotes erd \end_inset en tant que code LaTeX après la légende. \end_layout \begin_layout Standard Le \series bold \backslash \backslash % \series default placé après le texte de la légende supprime les lignes verticales entre les cellules suivantes de cette ligne. La première ligne de notre tableau est une fausse ligne qui sert à mettre la légende, le tableau commence réellement à la deuxième ligne. \end_layout \begin_layout Standard Voici un petit Tableau Long pour voir comment ça marche : \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Tableau Long avec une légende \begin_inset OptArg status open \begin_layout Plain Layout Tableau long \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: \series default Le numéro de tableau est incrémenté à chaque tableau long, même si vous n'avez pas prévu de légende. À cause de ça, 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 longs sans légende. Pour éviter ce problème, vous pouvez ajouter cette commande en code TeX après chaque tableau long sans légende : \end_layout \begin_layout Plain Layout \series bold \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: \series default Si vous utilisez le paquetage LaTeX \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! hyperref \end_layout \end_inset pour transformer vos références croisées en liens, le lien vers un tableau long pointera toujours sur le début du document. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Subsubsection Références à des tableaux longs \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! 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 \begin_layout Plain Layout Tableau long 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 long, il faut insérer une étiquette dans sa légende. Notez qu'il faut ajouter le préfixe \begin_inset Quotes eld \end_inset \emph on tab: \emph default \begin_inset Quotes erd \end_inset manuellement dans le champ de l'étiquette. \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 LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 status collapsed \begin_layout Plain Layout Tableaux longs ! 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 par défaut 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 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'appendi ce \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 \begin_layout Plain Layout long titre complet avec la largeur par défaut long titre complet avec la largeur par défaut long titre complet avec la largeur par défaut \begin_inset OptArg status open \begin_layout Plain Layout Légende avec largeur par défaut \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 \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 OptArg 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 LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 par défaut 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 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 OptArg status collapsed \begin_layout Plain Layout Légendes différentes \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! Légendes différentes par page \end_layout \end_inset \end_layout \begin_layout Standard Quand les légendes qui se trouvent sur les autres pages doivent être différentes de celle de la première page, insérez une légende avec un titre court non vide dans une fausse première ligne qui sera marquée comme étant le premier en-tête. La légende utilisée pour les autres pages est insérée comme une légende sans titre court dans une fausse ligne qui sera marquée comme étant l'entête principal. Si cet entête ne doit pas contenir le numéro du tableau, utilisez la commandes suivante à la place de la boîte de légende de LyX : \end_layout \begin_layout Standard \series bold \backslash caption*{caption text} \end_layout \begin_layout Standard L'étiquette utilisée pour faire référence à ce tableau est insérée dans la légende du premier en-tête. 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 \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 OptArg status open \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 ERT status open \begin_layout Plain Layout \backslash caption*{Suite de l'exemple d'annuaire téléphonique} \backslash \backslash % \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 \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 Questions particulières concernant les tableaux longs \begin_inset OptArg status collapsed \begin_layout Plain Layout Questions sur les tableaux longs \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Questions-sur-tableaux-longs" \end_inset \end_layout \begin_layout Subsection Calculs des pages des tableaux longs \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! Calculs \end_layout \end_inset \end_layout \begin_layout Standard 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 LaTeX. La valeur par défaut est fixée pour des raisons historiques à seulement 20 lignes de tableau. Si vous utilisez des tableaux longs 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 Longs \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! 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 long. Pour éviter une telle situation, ajoutez la commande \series bold \backslash clearpage \series default en tant que code TeX juste avant votre tableau long. \end_layout \begin_layout Subsection Sauts de pages forcés \begin_inset Index status collapsed \begin_layout Plain Layout Tableaux longs ! Sauts de pages forcés \end_layout \end_inset \end_layout \begin_layout Standard Par défaut 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 LaTeX de saut de ligne \begin_inset Quotes eld \end_inset \backslash \backslash \begin_inset Quotes erd \end_inset en code TeX à l'endroit de la cellule où vous voulez qu'elle soit coupée. Avant la commande \begin_inset Quotes eld \end_inset \backslash \backslash \begin_inset Quotes erd \end_inset , vous devez insérer en code TeX, autant de caractères \begin_inset Quotes eld \end_inset & \begin_inset Quotes erd \end_inset qu'il y a de colonnes après la cellule concernée. Le caractère \begin_inset Quotes eld \end_inset & \begin_inset Quotes erd \end_inset sert à séparer les colonnes d'un tableau. Écrivez en code-TeX, après chaque \begin_inset Quotes eld \end_inset & \begin_inset Quotes erd \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 eld \end_inset & \begin_inset Quotes erd \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 TeX dans la cellule après le mot \begin_inset Quotes eld \end_inset \emph on Castelchiodato, \emph default \begin_inset Quotes erd \end_inset : \end_layout \begin_layout Standard \series bold & 111 \backslash \backslash \begin_inset Newline newline \end_inset & \end_layout \begin_layout Standard Le \begin_inset Quotes eld \end_inset 111 \begin_inset Quotes erd \end_inset dans la troisième colonne de la ligne a été supprimé. 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 \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 OptArg 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 ERT status collapsed \begin_layout Plain Layout \backslash caption*{Tableau sur deux pages avec un saut de page dans une cellule} \backslash \backslash % \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 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 \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 \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 Standard \begin_inset Note Note status open \begin_layout Plain Layout il semble qu'il y ait un problème avec cet exemple ... le saut de page ne se fait pas à l'endroit voulu ! \end_layout \begin_layout Plain Layout en fait j'ai dû enlever quelques noms pour que le saut se fasse au bon endroit ! (NdT) \end_layout \end_inset \begin_inset Newpage newpage \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 "sub:Lignes-multiple-dans-cellule" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Plusieurs lignes dans une case de tableau \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Saut de ligne \end_layout \end_inset \end_layout \begin_layout Standard \align center \begin_inset Float table placement H wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-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 ERT status collapsed \begin_layout Plain Layout \backslash linebreak \end_layout \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, nous avons ajouté un saut de ligne avec la commande \end_layout \begin_layout Standard \series bold \backslash linebreak \end_layout \begin_layout Standard en code TeX. 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, 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 la commande \end_layout \begin_layout Standard \series bold \backslash hspace{0pt} \end_layout \begin_layout Standard en code TeX 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 \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 ERT status collapsed \begin_layout Plain Layout \backslash hspace{0pt} \end_layout \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 Standard \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Subsection Multi-colonnes \begin_inset CommandInset label LatexCommand label name "sub:Multicolonnes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Multi-colonnes \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Multi-colonnes \end_layout \end_inset \end_layout \begin_layout Subsubsection Les Bases des Multicolonnes \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 Graphics filename ../../images/tabular-feature_multicolumn.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils tableau, ou le menu \family sans Éditer\SpecialChar \menuseparator Tableau\SpecialChar \menuseparator Multi-colonnes \family default , ou encore faites un clic droit sur les cellules sélectionnées et choisissez multicolonne dans la fenêtre de dialogue de tableau qui apparaît dans l'onglet \family sans Tableau \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-colonne. Voici un exemple de tableau avec une cellule multi-colonne 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 "sub:Calculs-multicolonnes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Multi-colonnes ! Calculs \end_layout \end_inset \end_layout \begin_layout Standard LyX gère directement les multi-colonnes, mais nous devons faire attention à la largeur des cellules couvertes par la cellule multicolonne. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-multicolonne-parfaite" \end_inset Tableau avec un texte centré dans une case multicolonne au-dessus de deux colonnes qui ont exactement la moitié de la largeur de la case multicolonne. \begin_inset OptArg status open \begin_layout Plain Layout Tableau avec multicolonne 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 multicolonne 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 multicolonne \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 multicolonne, 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 multicolonne 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 \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 multicolonne. \begin_inset OptArg status open \begin_layout Plain Layout Tableau avec multicolonne 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 multicolonne 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 multicolonne, 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'appendice \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref 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 par défaut 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 LaTeX, vous devez charger le paquetage LaTeX \series bold calc \series default avec la ligne suivante dans le préambule du document \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! calc \end_layout \end_inset \end_layout \begin_layout Standard \series bold \backslash usepackage{calc} \end_layout \begin_layout Standard 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 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 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, 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 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 multicolonne, il est toujours aligné à gauche. Cela vient du fait que LyX applique l'alignement seulement à des colonnes isolées. Nous devons donc utiliser le paramètre LaTeX suivant pour la multicolonne \end_layout \begin_layout Standard \series bold >{ \backslash centering}m{2.5cm} \end_layout \begin_layout Subsection Multi-lignes \begin_inset Index status collapsed \begin_layout Plain Layout Multi-lignes \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Multi-ligne \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! multirow \end_layout \end_inset \end_layout \begin_layout Standard Au contraire des multi-colonnes, les multi-lignes ne sont pas encore gérés par LyX, il faut donc utiliser un peu de code TeX. Pour utiliser les multi-lignes, vous devez charger le paquetage LaTeX \series bold multirow \series default dans le préambule de votre document avec la commande \end_layout \begin_layout Standard \series bold \backslash usepackage{multirow} \end_layout \begin_layout Standard Les cellules multilignes sont créées avec la commande \end_layout \begin_layout Standard \series bold \backslash multirow{number of rows}{cell width}{cell entry} \end_layout \begin_layout Standard Pour créer le tableau suivant : \end_layout \begin_layout Standard \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash multirowsetup}{ \backslash centering} \end_layout \end_inset \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 \begin_inset ERT status open \begin_layout Plain Layout \backslash multirow{2}{2.5cm}{ \end_layout \end_inset cellule multi-lignes \begin_inset ERT status collapsed \begin_layout Plain Layout } \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 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 créez un tableau 3×3. Pour se débarrasser de la bordure au dessus de la dernière cellule de la première colonne, la cellule est marquée comme étant une multicolonne et la bordure supérieure est désactivée. La cellule multi-ligne est ensuite créée dans la deuxième cellule de la première colonne en y insérant la commande \end_layout \begin_layout Standard \series bold \backslash multirow{2}{2.5cm}{ \end_layout \begin_layout Standard comme du code TeX. Les paramètres de la commande indiquent que la cellule multi-ligne couvre deux lignes et a une largeur de 2.5 \begin_inset Space \thinspace{} \end_inset cm. Le contenu de la cellule suit le code TeX et on termine la commande en ajoutant l'accolade fermante \series bold } \series default dans une nouvelle boîte de code TeX, juste après le texte. \end_layout \begin_layout Standard \series bold \backslash multirow \series default aligne par défaut son contenu à gauche. Pour passer outre le comportement par défaut, 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 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 Section Les Tableaux Formels \begin_inset CommandInset label LatexCommand label name "sec:Tableaux-Formels" \end_inset \begin_inset Index 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 eld \end_inset \emph on formel \emph default \begin_inset Quotes erd \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 \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 Medipix \begin_inset Formula $\,$ \end_inset 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \begin_inset Formula $\,$ \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 [µ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 [°] \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 [µ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(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 "sub: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 par défaut une épaisseur de 0.08 \begin_inset Space \thinspace{} \end_inset em alors que les autres lignes ont par défaut une épaisseur de 0.05 \begin_inset Space \thinspace{} \end_inset em. \end_layout \begin_layout Standard Les épaisseurs prises par défaut peuvent être modifiées en utilisant les lignes de préambule suivantes : \end_layout \begin_layout Standard \series bold \backslash let \backslash mytoprule \backslash toprule \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash toprule}{ \backslash mytoprule[width]} \end_layout \begin_layout Standard Cet exemple concerne la première ligne, appelée \series bold toprule \series default . Si vous voulez changer l'épaisseur de la dernière ligne, remplacez \series bold toprule \series default par \series bold bottomrule \series default . Pour changer l'épaisseur de toutes les lignes intermédiaires, remplacez \series bold toprule \series default par \series bold midrule \series default . Vous pouvez utiliser toutes les unités de longueur définies dans l'appendice \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unités-de-longueur" \end_inset pour préciser l'épaisseur voulue. \end_layout \begin_layout Standard On peut aussi créer des lignes qui ne font pas toute la largeur du tableau en mettant une ligne pour une cellule multi colonne. LyX va utiliser en interne la commande \series bold \backslash cmidrule \series default pour créer cette ligne. Sa syntaxe complète est : \end_layout \begin_layout Standard \series bold \backslash cmidrule[largeur](rognage){colDépart-colFin} \end_layout \begin_layout Standard Les options de la commande \series bold \backslash cmidrule \series default ne sont pas actuellement gérées par LyX, vous devez donc utiliser du code TeX pour pouvoir les utiliser. On peut créer manuellement des lignes \series bold \backslash mitrales \series default en insérant la commande en code TeX comme le premier élément de la première cellule de la ligne. La ligne est alors affichée dans la sortie imprimée au dessus de la ligne en question. \end_layout \begin_layout Standard La valeur par défaut 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 par défaut rognées de 0.5 \begin_inset Space \thinspace{} \end_inset em. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Le tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Exemple-tableau-booktabs" \end_inset a été créé en utilisant les commandes \end_layout \begin_layout Standard \series bold \backslash cmidrule(r){2-2} \backslash cmidrule(l){3-4} \end_layout \begin_layout Standard au début de la deuxième ligne et \end_layout \begin_layout Standard \series bold \backslash cmidrule(l{10pt}){1-1} \end_layout \begin_layout Standard au début de la sixième ligne. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Vous pouvez vouloir des commandes \series bold \backslash cmidrule \series default s qui se recouvrent comme pour le tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-booktabs-special" \end_inset . On obtient ce résultat en utilisant la commande suivante en code TeX \end_layout \begin_layout Standard \series bold \backslash morecmidrules \end_layout \begin_layout Standard La commande qui a été utilisée pour la deuxième ligne du tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-booktabs-special" \end_inset est \end_layout \begin_layout Standard \series bold \backslash cmidrule(r){2-2} \backslash cmidrule(l){3-4} \backslash morecmidrules \backslash cmidrule{2-4} \end_layout \begin_layout Standard La commande pour la sixième ligne est \end_layout \begin_layout Standard \series bold \backslash midrule \backslash morecmidrules \backslash cmidrule{3-4} \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Si vous n'êtes toujours pas satisfait avec l'espacement des lignes de séparation , vous pouvez utiliser la commande suivante pour produire des lignes qui font toute la largeur du tableau : \end_layout \begin_layout Standard \series bold \backslash specialrule{largeur}{espace au dessus}{espace en dessous} \end_layout \begin_layout Standard Pour plus d'informations sur ces spécialités, nous vous renvoyons au manuel du paquetage LaTeX \series bold booktabs \series default \begin_inset CommandInset citation LatexCommand cite key "booktabs" \end_inset . \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! booktabs \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-booktabs-special" \end_inset Tableau formel spécial \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Système \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \begin_inset Space \thinspace{} \end_inset 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \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 [µ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 [°] \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 [µ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 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 width "15col%" special "none" height "1in" height_special "totalheight" 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 width "15col%" special "none" height "1in" height_special "totalheight" 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 width "15col%" special "none" height "1in" height_special "totalheight" 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 width "15col%" special "none" height "1in" height_special "totalheight" 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 width "15col%" special "none" height "1in" height_special "totalheight" 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 "sub:Alignement-Vertical" \end_inset . \end_layout \end_inset . Dans l'exemple précédent, le deuxième tableau de la première ligne est aligné en utilisant la commande en code TeX suivante \end_layout \begin_layout Standard \series bold \backslash raisebox{0.85 \backslash baselineskip}{ \end_layout \begin_layout Standard placée juste avant la boîte minipage. Après la boîte on insère l'accolade fermante en code TeX. Pour le deuxième tableau de la dernière ligne, la commande \end_layout \begin_layout Standard \series bold \backslash raisebox{-0.32 \backslash baselineskip}{ \end_layout \begin_layout Standard est utilisée. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default L'alignement entre le contenu de la ligne du tableau et le texte de la ligne qui l'entoure ne peut pas être parfait. Le facteur utilisé dans la commande \series bold \backslash raisebox \series default pour obtenir cet alignement dépend de la police de caractères du document, de la taille de la police et de l'épaisseur des lignes du tableau. \end_layout \end_inset \end_layout \begin_layout Section Tableaux Colorés \begin_inset CommandInset label LatexCommand label name "sec:Tableaux-Colorés" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Coloré \end_layout \end_inset \end_layout \begin_layout Subsection Cellules Colorées \begin_inset Index status collapsed \begin_layout Plain Layout Couleur des tableaux ! Pour les cellules \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Couleur ! Pour les cellules de tableau \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-coloré-sans-colortbl" \end_inset Tableau coloré sans utiliser le paquetage \series bold colortbl \series default \begin_inset OptArg 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 Éditer\SpecialChar \menuseparator Style \begin_inset Space ~ \end_inset de \begin_inset Space ~ \end_inset Texte \family default . C'est ce qui a été utilisé pour créer le tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-coloré-sans-colortbl" \end_inset . Dans tous les autres cas vous aurez à utiliser le paquetage LaTeX \series bold colortbl \series default . \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! colortbl \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifcolortbl \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La section qui suit ne sera affichée que si vous avez installé le paquetage LaTeX \series bold colortbl \series default . \end_layout \end_inset \end_layout \begin_layout Standard Pour créer des tableaux colorés, vous devez charger le paquetage \series bold colortbl \series default dans le préambule avec la ligne \end_layout \begin_layout Standard \series bold \backslash usepackage{colortbl} \end_layout \begin_layout Standard On choisit la couleur d'une colonne avec la commande \end_layout \begin_layout Standard \series bold \backslash columncolor{nom de couleur} \end_layout \begin_layout Standard à l'intérieur d'une commande \series bold >{ } \series default . Vous trouverez plus d'information sur la commande \series bold >{} \series default dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Calculs-multicolonnes" \end_inset . \end_layout \begin_layout Standard Les noms de couleurs suivants sont prédéfinis : \end_layout \begin_layout Standard \family sans red \family default (rouge), \family sans green \family default (vert), \family sans yellow \family default (jaune), \family sans blue \family default (bleu), \family sans cyan \family default , \family sans magenta \family default , \family sans black \family default (noir) et \family sans white \family default (blanc). \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard Vous pouvez aussi définir votre propre couleur avec la commande \end_layout \begin_layout Standard \series bold \backslash def\SpecialChar \textcompwordmark{} inecolor{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: cyan, magenta, jaune (yellow), noir (black) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 rgb: red, vert (green), bleu (blue) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 gray dégradé de gris (gray) \end_layout \begin_layout Standard et les valeurs de couleur sont des nombres compris entre 0 et 1, séparés par des virgules qui décrivent la couleur dans le modèle de couleur choisi. \end_layout \begin_layout Standard Vous pouvez par exemple définir la couleur \begin_inset Quotes eld \end_inset \emph on vertfonce \begin_inset Quotes erd \end_inset dans le préambule avec la ligne \end_layout \begin_layout Standard \series bold \backslash def\SpecialChar \textcompwordmark{} inecolor{vertfonce}{cmyk}{0.5, 0, 1, 0.5} \end_layout \begin_layout Standard et la couleur " \emph on grisclair \emph default " avec \end_layout \begin_layout Standard \series bold \backslash def\SpecialChar \textcompwordmark{} inecolor{grisclair}{gray}{0.8} \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard Les lignes sont colorées avec la commande \end_layout \begin_layout Standard \series bold \backslash rowcolor{nom de la couleur} \end_layout \begin_layout Standard et les cellules sont colorées avec la commande \end_layout \begin_layout Standard \series bold \backslash cellcolor{nom de la couleur} \end_layout \begin_layout Standard Les deux commandes sont insérées au début d'une cellule comme du code TeX. \end_layout \begin_layout Standard Pour colorer de caractères dans un tableau, sélectionnez les cellules et choisissez une couleur dans le menu \family sans Éditer\SpecialChar \menuseparator Style \begin_inset Space ~ \end_inset de \begin_inset Space ~ \end_inset Texte \family default . Si une cellule contient du code TeX, faites bien attention à ne colorer que le texte, sinon le code TeX coloré provoquera des erreurs LaTeX. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Tous les visualiseurs DVI ne sont pas capables d'afficher les couleurs définies par l'utilisateur. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Pour créer le tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-coloré-avec-colortbl" \end_inset faites ce qui suit : La couleur de la première colonne doit être \emph on vertfonce \emph default . On insère donc la commande \end_layout \begin_layout Standard \series bold >{ \backslash columncolor{vertfonce} \backslash centering}c \end_layout \begin_layout Standard en code TeX pour cette colonne. La première ligne doit être bleue \begin_inset Note Note status open \begin_layout Plain Layout cyan ? (NdT) \end_layout \end_inset , d'où la commande en code TeX \end_layout \begin_layout Standard \series bold \backslash rowcolow{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 magenta en insérant en code TeX la commande \end_layout \begin_layout Standard \series bold \backslash cellcolor{magenta} \end_layout \begin_layout Standard Les caractères peuvent maintenant être colorés en utilisant le menu \family sans Éditer\SpecialChar \menuseparator Style \begin_inset Space ~ \end_inset de \begin_inset Space ~ \end_inset Texte \family default . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-coloré-avec-colortbl" \end_inset Tableau coloré en utilisant le paquetage \series bold colortbl \series default \begin_inset OptArg status open \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{magenta} \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 Les filets colorées \begin_inset Index status collapsed \begin_layout Plain Layout Tableau Coloré ! Pour les filets \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Couleur ! Pour les filets des tableaux \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout on parle de filets plutôt que de lignes pour les tableaux \end_layout \end_inset \end_layout \begin_layout Standard Comme c'est décrit dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Epaisseur-filets" \end_inset , l'épaisseur de tous les filets d'un tableau peut être modifiée avec la variable \series bold \backslash arrayrulewidth \series default . Elle est mise à 1.5 \begin_inset Space \thinspace{} \end_inset pt pour tous les tableaux de cette section. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{1.5pt} \end_layout \end_inset \end_layout \begin_layout Standard Pour colorer les filets verticaux, par exemple en vert, créez le format de colonne suivant dans le préambule du document, en suivant la description de la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Formats-personnalisés" \end_inset : \end_layout \begin_layout Standard \series bold \backslash newcolumntype{W}{!{ \backslash color{green} \backslash vline}} \end_layout \begin_layout Standard Pour le tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-filets-verticaux-colorés" \end_inset le paramètre LaTeX \series bold WcW \series default a été utilisé pour la dernière colonne et \series bold Wc \series default pour les autres colonnes. \end_layout \begin_layout Standard Si vous voulez plusieurs couleurs, définissez plusieurs formats de colonne. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-filets-verticaux-colorés" \end_inset Tableau avec filets verticaux colorés \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \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 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 ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \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 wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-filet-horizontaux-colorés" \end_inset Tableau avec filets horizontaux colorés \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \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 pagebreak \end_layout \end_inset \end_layout \begin_layout Standard Pour revenir à la couleur noire par défaut, insérez la commande suivante en code TeX, juste après le tableau ou le flottant de tableau : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash hline}{ \backslash myHlineC} \end_layout \begin_layout Standard Le tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tableau-avec-filets-colorés" \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 \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}{0.4pt} \end_layout \end_inset \end_layout \begin_layout Section Personnalisation des Tableaux \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Personnalisation \end_layout \end_inset \begin_inset Index 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 "sub:Espacement-lignes" \end_inset \begin_inset Index 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 LyX va insérer par défaut 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 ERT status collapsed \begin_layout Plain Layout \backslash hspace*{0pt} \end_layout \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 ERT status collapsed \begin_layout Plain Layout \backslash hspace*{0pt} \end_layout \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 LyX va insérer par défaut un espace de 0.5 \begin_inset Space \thinspace{} \end_inset em, pour les tableaux normaux, l'espace par défaut 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 LyX va insérer par défaut 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 ERT status collapsed \begin_layout Plain Layout \backslash hspace*{0pt} \end_layout \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 ERT status collapsed \begin_layout Plain Layout \backslash hspace*{0pt} \end_layout \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 @ifundef\SpecialChar \textcompwordmark{} ined{extrarowheight} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \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 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 @ifundef\SpecialChar \textcompwordmark{} ined \series default dans la commande précédente.) \end_layout \begin_layout Subsection Alignements de cellules spéciaux \begin_inset Index 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" \end_inset . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tableau-centré-sur-séparateur" \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 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12, \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 6 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0, \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 68 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout -123, \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Ce tableau a été créé comme un tableau 4×2. L'en-tête est une cellule multicolonne centrée. La première colonne est alignée à droite et contient les chiffres qui se trouvent avant la virgule ainsi que la virgule elle-même. La deuxième colonne est alignée à gauche et contient les chiffres situés après la virgule. Pour éviter l'espace qui est normalement placé entre deux colonnes d'un tableau, utilisez le paramètre LaTeX suivant 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, vous devez ajouter le deuxième plus petit espace mathématique au début de la dernière colonne pour obtenir l'espacement correct autour du signe de relation. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Plusieurs-exemples-alignements" \end_inset Plusieurs exemples d'alignement de cellules \lang english . \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 Standard \begin_inset VSpace bigskip \end_inset Il y a aussi le paquetage LaTeX \series bold dcolumn \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! dcolumn \end_layout \end_inset qui fournit des alignements pour les cellules de tableaux. Mais malheureusement, il traite le contenu des cellules comme des mathématiques et ne permet pas de formules dans les cellules du tableau : Avec \series bold dcolumn \series default la première colonne du tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Plusieurs-exemples-alignements" \end_inset ressemblera à la première colonne du tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Alignements-avec-dcolumn" \end_inset \lang english and only with some tricks like the expected. \lang french On ne peut pas aligner la deuxième et la troisième colonne du tableau \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Plusieurs-exemples-alignements" \end_inset avec \series bold dcolumn \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 \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Alignements-avec-dcolumn" \end_inset Alignements quand on utilise le paquetage LaTeX dcolumn. Pour toutes les colonnes des astuces d'alignement ont du être utilisée pour obtenir la sortie. \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 unités \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout unités \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12x24 \begin_inset Space \thinspace{} \end_inset bouteilles \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12x24 \begin_inset Space \thinspace{} \end_inset \begin_inset Formula $\mbox{bouteilles}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash times \end_layout \end_inset 24~ \begin_inset Formula $\mbox{bouteilles}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024x768 \begin_inset Space \thinspace{} \end_inset Pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024x768 \begin_inset Space \thinspace{} \end_inset \begin_inset Formula $\mbox{Pixels}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash times \end_layout \end_inset 768~ \begin_inset Formula $\mbox{Pixels}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32x6 \begin_inset Space \thinspace{} \end_inset cm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32x6 \begin_inset Space \thinspace{} \end_inset \begin_inset Formula $\mbox{cm}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash times \end_layout \end_inset 6~ \begin_inset Formula $\mbox{cm}$ \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 "sub:Formats-personnalisés" \end_inset \begin_inset Index 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 des colonnes couvertes par un cellule multicolonne comme dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Calculs-multicolonnes" \end_inset peut devenir très pénible si vous avez plusieurs tableaux avec des cellules multicolonnes. 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 multicolonnes 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 "sub: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 LaTeX dans la fenêtre de dialogue de tableau pour créer une multicolonne. \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 multicolonne, 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 ERT status collapsed \begin_layout Plain Layout \backslash phantom{ \end_layout \end_inset \backslash newcolumntype{S}[2] \begin_inset ERT status collapsed \begin_layout Plain Layout } \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 multicolonne 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 multicolonne}{nombre de colonnes couvertes} \end_layout \begin_layout Standard comme paramètre 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 eld \end_inset c \begin_inset Quotes erd \end_inset à la fin crée une colonne de largeur variable dont le texte est centré horizontalement. Vous pouvez maintenant entrer \end_layout \begin_layout Standard \series bold K{nom de couleur} \end_layout \begin_layout Standard comme paramètre LaTeX. \end_layout \begin_layout Standard \begin_inset 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 LaTeX \end_layout \begin_layout Standard \series bold M{2.5cm} \end_layout \begin_layout Standard pour la première colonne et la multicolonne, \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 \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 multicolonne avec multiligne \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 "sub:Epaisseur-filets" \end_inset \begin_inset Index 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 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 par défaut, mettez \series bold \backslash arrayrulewidth \series default à 0.4 \begin_inset Space \thinspace{} \end_inset pt en utilisant du code 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 \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 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 par défaut, insérez les commandes suivantes en code 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 \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 "sub: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 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 \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 status collapsed \begin_layout Plain Layout Personnalisation des tableaux ! Filets à traits interrompus \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifarydshln \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La section suivante ne s'affichera que si vous avez installé le paquetage LaTeX \series bold arydshln \series default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement H wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \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 LyX ne gère pas de façon native les filets à lignes interrompues, vous devez donc employer du code TeX. Mais avant il faut charger le paquetage LaTeX \series bold arydshln \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 eld \end_inset : \begin_inset Quotes erd \end_inset avec le caractère décrivant l'alignement horizontal comme paramètre LaTeX dans la fenêtre de dialogue de paramètre du tableau. \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 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 multicolonnes, 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 TeX comme premier élément de la première cellule de la ligne. Si par exemple, vous avez une cellule multicolonne 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 multicolon ne. \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 eld \end_inset \series bold :c \series default \begin_inset Quotes erd \end_inset comme paramètre LaTeX pour la troisième colonne. La commande en code TeX \series bold \backslash hdashline \series default a été insérée dans la première cellule de la troisième ligne et la commande en code TeX \series bold \backslash cdashline{4-5} \series default a été insérée dans la première cellule de la quatrième ligne. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Le paquetage LaTeX \series bold arydshln \series default qui a été utilisé n'est apparemment pas compatible avec le paquetage LaTeX \series bold colortbl \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! colortbl \end_layout \end_inset qui est utilisé pour avoir des tableaux colorés dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . Cela signifie que les tableaux colorés ne peuvent pas avoir de filets à traits interrompus. \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 LaTeX \series bold arydshln \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage 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 Chapter Flottants \begin_inset Index status collapsed \begin_layout Plain Layout Flottants \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "cha:Flottants" \end_inset \end_layout \begin_layout Section Introduction \begin_inset CommandInset label LatexCommand label name "sec:Flottants-Introduction" \end_inset \begin_inset Index 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 eld \end_inset flotter \begin_inset Quotes erd \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 Insérer\SpecialChar \menuseparator Flottant. \family default Une boîte va être insérée dans votre document avec par exemple une étiquette du genre \begin_inset Quotes eld \end_inset Figure \begin_inset Space ~ \end_inset #: \begin_inset Quotes erd \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 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/floatQt4.png scale 60 \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 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 , LyX offre aussi les types \series bold Algorithme \series default et \series bold Flottant \begin_inset Space ~ \end_inset d'enrobage \begin_inset Note Note status collapsed \begin_layout Plain Layout \series bold \lang english je préfèrerai \begin_inset Quotes eld \end_inset d'habillage \begin_inset Quotes erd \end_inset (NdT) \end_layout \end_inset \series default . \end_layout \begin_layout Subsection Flottant d'algorithme \begin_inset Index status collapsed \begin_layout Plain Layout Flottants ! Algorithmes \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sub:Flottant-d'Algorithme" \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 \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 Insérer\SpecialChar \menuseparator Flottant\SpecialChar \menuseparator Algorithme \family default . Il peut être utilisé pour des morceaux de code source ou des descriptions d'algorithmes. Vous pouvez par exemple utiliser l'environnement Code \begin_inset Space ~ \end_inset 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 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 \lang english where \family sans \lang french votre \begin_inset Space ~ \end_inset nom \family default est le mot \begin_inset Quotes eld \end_inset \emph on algorithme \emph default \begin_inset Quotes erd \end_inset dans votre langue. \end_layout \begin_layout Standard \lang english To insert the list of algorithms you can in this case not use the menu \family sans Insert\SpecialChar \menuseparator List \begin_inset Space \thinspace{} \end_inset / \begin_inset Space \thinspace{} \end_inset TOC\SpecialChar \menuseparator List of Algorithms \family default when your document is an English one. For non-English documents, use this command in TeX-Code instead: \end_layout \begin_layout Standard \series bold \lang english \backslash listof{algorithm}{your \begin_inset Space ~ \end_inset name} \end_layout \begin_layout Standard \lang english where \family sans your \begin_inset Space ~ \end_inset name \family default is the word \begin_inset Quotes eld \end_inset \emph on List of Algorithm \emph default s \begin_inset Quotes erd \end_inset in your language. \end_layout \begin_layout Standard Les flottants d'algorithme ne sont pas numérotés par défaut en suivant le schéma \begin_inset Quotes eld \end_inset chapitre.algorithme \begin_inset Quotes erd \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 Subsection Flottant d'enrobage \begin_inset Index status collapsed \begin_layout Plain Layout Flottants ! Flottants d'enrobage \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sub:flottants-d'enrobage" \end_inset \end_layout \begin_layout Standard \begin_inset Wrap figure lines 0 placement l overhang 0col% width "40col%" status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/mobius.eps display color width 40col% scaleBeforeRotation rotateOrigin center \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Figure-enrobée" \end_inset Ceci est une figure habillée et vous lisez la superbe légende qui la décrit. \begin_inset VSpace medskip \end_inset \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 Insérer\SpecialChar \menuseparator Flottant\SpecialChar \menuseparator Flottant \begin_inset Space ~ \end_inset d'enrobage \family default \lang english \lang french à la condition que le paquetage LaTeX \series bold wrapfig \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! wrapfig \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset vspace \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset 4mm \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \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 LaTeX \emph default comment installer des paquetages LaTeX. \end_layout \end_inset La largeur et la position du flottant peut être modifiée en faisant un clic droit sur la boîte du flottant. 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%. \begin_inset Foot status collapsed \begin_layout Plain Layout Les unités disponibles sont expliquées dans l'appendice \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unités-de-longueur" \end_inset . \end_layout \end_inset Un peu d'espace a été ajouté sous la légende pour mieux la séparer du texte qui l'entoure. \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 Section Numérotation des flottants \begin_inset CommandInset label LatexCommand label name "sec:Numérotatio-Flottants" \end_inset \begin_inset Index 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épendemment des sections dans lesquelles ils se trouvent, soit en utilisant un format du genre \begin_inset Quotes eld \end_inset chapitre.numéro \begin_inset Quotes erd \end_inset ou \begin_inset Quotes eld \end_inset section.numéro \begin_inset Quotes erd \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 eld \end_inset sous-section.numéro \begin_inset Quotes erd \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 "sub: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 status collapsed \begin_layout Plain Layout Flottants ! Références \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Références \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 Insérer\SpecialChar \menuseparator Étiquette \family default ou le bouton \begin_inset Graphics filename ../../images/label-insert.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils. Une boîte grise de ce genre : \begin_inset Graphics filename clipart/labelQt4.png scale 85 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. 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 " \family sans fig: \family default ". \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 Insérer\SpecialChar \menuseparator Référence \begin_inset Space ~ \end_inset Croisée \family default ou le bouton \begin_inset Graphics filename ../../images/dialog-show-new-inset_ref.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils. Une boîte grise de référence croisée comme celle-ci : \begin_inset Graphics filename ../clipart/referenceQt4.png scale 85 scaleBeforeRotation \end_inset va être insérée et 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 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. 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. Si vous faites un clic droit sur la boîte d'une référence croisée, le curseur est aussi placé devant l'étiquette concernée, mais vous ne pouvez pas revenir à votre point de départ. \end_layout \begin_layout Subsection Formats de Références Croisées \begin_inset CommandInset label LatexCommand label name "sub:Formats-Références-Croisées" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout 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 par défaut : \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 eld \end_inset Équation \begin_inset Quotes erd \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 page \begin_inset Space ~ \end_inset \begin_inset Space ~ \end_inset : affiche le mot \begin_inset Quotes eld \end_inset page \begin_inset Quotes erd \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 eld \end_inset page \begin_inset Quotes erd \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. \lang english \lang french \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 LaTeX \series bold prettyref. \end_layout \end_inset \end_layout \begin_layout Standard Notez que le style 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 eld \end_inset sur cette page \begin_inset Quotes erd \end_inset à la place. \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 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 Subsection Faire référence à des sous-figures \begin_inset CommandInset label LatexCommand label name "sub:Référencer-Sousfigures" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Références ! à des sous-figures \end_layout \end_inset \end_layout \begin_layout Standard Actuellement les références croisées vers des sous-figures ne sont pas gérées par LyX, vous devez donc utiliser des commandes LaTeX. L'étiquette est crée avec la commande \end_layout \begin_layout Standard \series bold \backslash label{fig:YourLabelName} \end_layout \begin_layout Standard qui est mise directement dans le champ de la légende de la sous-figure. Pour faire référence à cette étiquette, ajoutez la commande suivante en code TeX \end_layout \begin_layout Standard \series bold \backslash ref{fig:YourLabelName} \end_layout \begin_layout Standard à la position où la référence doit se trouver dans votre document. Voici une référence vers une sous-figure : la sous-figure \begin_inset Space ~ \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ref{fig:Platypus} \end_layout \end_inset . \end_layout \begin_layout Subsection Nommage automatique des références croisées \begin_inset Index status collapsed \begin_layout Plain Layout Références ! Nommage automatique \end_layout \end_inset \end_layout \begin_layout Standard Le paquetage LaTeX \series bold hyperref \series 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 eld \end_inset Figure \begin_inset Quotes erd \end_inset devant chaque boîte de référence. Pour profiter de ce nommage automatique des références croisées, vous devez charger le paquetage LaTeX \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! hyperref \end_layout \end_inset dans le préambule du document avec \end_layout \begin_layout Standard \series bold \backslash usepackage[pdfborder={0 0 0}]{hyperref} \begin_inset Newline newline \end_inset \backslash AtBeginDocument{ \backslash renewcommand{ \backslash ref}[1]{ \backslash mbox{ \backslash autoref{#1}}}} \end_layout \begin_layout Standard \series bold hyperref \series default est utilisé pour lier les références croisées dans les sorties DVI et PDF, ce qui signifie que le lecteur de votre document pourra cliquer sur un élément de la table de matières (TdM) ou sur une référence et qu'il sera transporté sur la portion de document référencée. \series bold hyperref \series default peut aussi créer des signets PDF pour chaque section pour rendre plus facile la navigation à l'intérieur du document. C'est aussi utilisé dans ce document, mais vous devrez jeter un coup d'œil dans le préambule de ce document pour voir toutes les options qui ont été utilisées dans la commande de chargement d' \series bold hyperref \series default . Pour en apprendre plus au sujet du paquetage \series bold hyperref \series default , nous vous renvoyons à sa documentation \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 "sub:Formats-Références-Croisées" \end_inset . \end_layout \end_inset \end_layout \begin_layout Subsection Positionnement des Références \begin_inset CommandInset label LatexCommand label name "sub:Reference-Position" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Références ! Positionnement \end_layout \end_inset \end_layout \begin_layout Standard Si vous utilisez le paquetage \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! hyperref \end_layout \end_inset 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 LaTeX \series bold hypcap \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! hypcap \end_layout \end_inset , qui fait partie du paquetage LaTeX \series bold oberdiek \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 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 doit être chargé après \series bold hyperref \series default dans le préambule du document. \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 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 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, on ouvre la fenêtre de dialogue \family sans Paramètre \begin_inset Space ~ \end_inset de \begin_inset Space ~ \end_inset Flottant \family default dans laquelle vous pouvez modifier le paramètres de placement que 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 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 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 par défaut, 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 par défaut, 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 Par défaut, 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 LaTeX \family default \lang english . \begin_inset Newline newline \end_inset \lang french Vous pouvez aussi redéfinir les règles avec les commandes 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 par défaut 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 eld \end_inset flotter \begin_inset Quotes erd \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 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 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 LaTeX \series bold endfloat \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 eld \end_inset \family sans [Figure \begin_inset Space ~ \end_inset 3.2 \lang english about here. \lang french ] \family default \begin_inset Quotes erd \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 eld \end_inset ß \begin_inset Quotes erd \end_inset allemand. Utilisez dans ce cas la commande \begin_inset Quotes eld \end_inset \series bold \backslash ss \series default \begin_inset Quotes erd \end_inset en code TeX à la place du \begin_inset Quotes eld \end_inset ß \begin_inset Quotes erd \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 LaTeX, \begin_inset CommandInset citation LatexCommand cite key "latexcompanion,latexguide,latexbook" \end_inset . \end_layout \begin_layout Section Flottants Renversés \begin_inset CommandInset label LatexCommand label name "sec:Flottants-renversés" \end_inset \begin_inset Index 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 renversés sont systématiquement placés sur leur propre page ( ou colonne, si vous avez un document sur deux colonnes ). Il 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 renversé 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 renversé. \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 \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 Flottants côte-à-côte \begin_inset Index 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 width "45col%" special "none" height "1in" height_special "totalheight" 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 \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 width "45col%" special "none" height "1in" height_special "totalheight" 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 \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 Section Mise en Forme de la Légende \begin_inset Index status collapsed \begin_layout Plain Layout Légende ! Mise en forme \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flottants ! Mise en forme de la Légende \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! caption \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 par défaut pour les \family sans flottants \family default . Dans la fenêtre de LyX les légendes apparaissent comme une étiquette comme par exemple \begin_inset Quotes eld \end_inset \family sans Figure #: \family default \begin_inset Quotes erd \end_inset suivi par le texte de la légende. Le \begin_inset Quotes eld \end_inset # \begin_inset Quotes erd \end_inset étant remplacé par le numéro de référence réel. Par défaut 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 par défaut des légendes, il faut charger le paquetage LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ \backslash \backslash captionsetup[figure] \backslash {} \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 status collapsed \begin_layout Plain Layout Paquetages LaTeX ! koma-script \end_layout \end_inset . Dans ce cas on doit utiliser l'option \series bold tablecaptionabove \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 eld \end_inset Figure \begin_inset Quotes erd \end_inset à \begin_inset Quotes eld \end_inset Image \begin_inset Quotes erd \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 eld \end_inset ~ \series default \begin_inset Quotes erd \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 status collapsed \begin_layout Plain Layout Paquetages 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 \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 \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 par défaut. \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 status collapsed \begin_layout Plain Layout Légende ! Placement \end_layout \end_inset \begin_inset Index 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 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, ajoutez l'option suivante à la commande de chargement du paquetage LaTeX \series bold caption \series default dans le préambule de votre document \begin_inset Foot status open \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 status collapsed \begin_layout Plain Layout Paquetages 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 \series bold tablecaptionabove \series default de la classe de document. \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 LaTeX \series bold sidecap \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 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 \lyxline \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash TabBesBeg}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyTable \backslash table \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyEndtable \backslash endtable \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash renewenvironment{table}{ \backslash begin{SCtable}}{ \backslash end{SCtable}}} \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash TabBesEnd}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash table \backslash MyTable \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash endtable \backslash MyEndtable \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash FigBesBeg}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyFigure \backslash figure \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyEndfigure \backslash endfigure \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash renewenvironment{figure}{ \backslash begin{SCfigure}}{ \backslash end{SCfigure}}} \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash FigBesEnd}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash figure \backslash MyFigure \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash endfigure \backslash MyEndfigure} \end_layout \begin_layout Standard \lyxline \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 TeX avant le flottant. Après le flottant, insérez la commande \end_layout \begin_layout Standard \series bold \backslash FigBesEnd \end_layout \begin_layout Standard en code TeX pour 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 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 eld \end_inset \family sans t \family default \begin_inset Quotes erd \end_inset pour haut (top), \begin_inset Quotes eld \end_inset \family sans c \family default \begin_inset Quotes erd \end_inset pour centre (center), ou \begin_inset Quotes eld \end_inset \family sans b \family default \begin_inset Quotes erd \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 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 LaTeX \series bold hypcap \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 "sub: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 \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 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 \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 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 \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 else \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Ce qui suit sera affiché si le paquetage LaTeX \series bold sidecap \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage 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 CommandInset label LatexCommand label name "sec:Listes-de-flottants" \end_inset \begin_inset Index 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 Insérer\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 LyX \begin_inset CommandInset label LatexCommand label name "sec:LyX-Notes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Notes ! Notes LyX \end_layout \end_inset \end_layout \begin_layout Standard On peut insérer une note en utilisant le bouton \begin_inset Graphics filename ../../images/note-insert.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils ou avec le menu \family sans Insérer\SpecialChar \menuseparator Note \family default . Il y a cinq types de notes : \end_layout \begin_layout Description Note \begin_inset Space ~ \end_inset 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/LyXNoteImageQt4.png scale 65 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 LaTeX quand vous exportez votre document vers un fichier au format LaTeX avec le menu \family sans Fichier\SpecialChar \menuseparator Exporter\SpecialChar \menuseparator LaTeX (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/CommentNoteImageQt4.png scale 55 scaleBeforeRotation \end_inset \lang english \lang french \begin_inset Note Comment status open \begin_layout Plain Layout Le texte de cette note n'apparaîtra que comme commentaire dans un fichier 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 : \lang english \begin_inset Newline newline \end_inset \lang french \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/GreyedOutNoteImageQt4.png scale 55 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 \begin_inset Foot status open \begin_layout Plain Layout Ceci est un exemple de note de bas de page à l'intérieur d'une note en texte grisé. \end_layout \end_inset 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 open \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 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 Description Encadrée Ce type de note apparaîtra sur la sortie finale sous la forme d'un texte encadré. 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/FramedNoteImageQt4.png scale 65 scaleBeforeRotation \end_inset \lang english \lang french \begin_inset Box Framed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout Le texte de cette note apparaîtra encadré à l'impression. \end_layout \end_inset Contrairement aux boîtes encadrées \begin_inset Foot status collapsed \begin_layout Plain Layout Les boîtes encadrées sont traitées dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Boîtes-encadrées" \end_inset . \end_layout \end_inset , le cadre de la note utilise toute la largeur du texte et constitue un paragraphe à lui tout seul. \end_layout \begin_layout Description Colorée Ce type de note apparaîtra sur la sortie finale avec un arrière-plan coloré en rouge. 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/ShadedNoteImageQt4.png scale 65 scaleBeforeRotation \end_inset \begin_inset Box Shaded position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout Le texte de cette note apparaîtra sur fond rouge à l'impression. \end_layout \end_inset Contrairement aux boîtes colorées \begin_inset Foot status collapsed \begin_layout Plain Layout Les boîtes colorées sont traitées dans 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 , la note utilise toute la largeur du texte et constitue un paragraphe à elle toute seule. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Quand vous utilisez le bouton \begin_inset Graphics filename ../../images/note-insert.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils, vous insérez une \family sans Note \begin_inset Space ~ \end_inset LyX \family default . 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 Vous pouvez changer la couleur du texte des notes grisées en mettant les commandes suivantes dans le préambule : \end_layout \begin_layout Standard \series bold \backslash renewenvironment{lyxgreyedout} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash textcolor{color} \backslash bgroup}{ \backslash egroup} \end_layout \begin_layout Standard Les couleurs disponibles et la méthode pour définir vos propres couleurs sont expliqués dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tableaux-Colorés" \end_inset . \end_layout \begin_layout Standard Les notes qui apparaissent en bleu dans ce texte sont en fait des notes grisées avec leur texte en bleu. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Le style du texte des notes \family sans Encadrées \family default et \family sans Grisées \family default peut être modifié avec la fenêtre de dialogue \family sans Style \begin_inset Space ~ \end_inset du \begin_inset Space ~ \end_inset texte \family default . \family sans \end_layout \begin_layout Standard L'épaisseur du trait de bordure pour les notes \family sans Encadrées \family default est par défaut de 0.4 \begin_inset Space \thinspace{} \end_inset pt ; elle peut être modifiée en changeant la valeur de \series bold \backslash FrameRule \series default . L'espace entre le contenu de la note et le cadre est par défaut de 9 \begin_inset Space \thinspace{} \end_inset pt ; cette valeur peut aussi être modifiée en changeant la valeur de \series bold \backslash FrameSep \series default . Par exemple l'aspect de cette note \family sans Encadrée \family default est obtenue avec les commandes en code TeX suivantes : \end_layout \begin_layout Standard \series bold \backslash FrameRule 5pt \backslash FrameSep 0.5cm \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FrameRule 5pt \backslash FrameSep 0.5cm \end_layout \end_inset \begin_inset Box Framed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout Ce texte est dans une note \family sans Encadrée \family default . \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FrameRule 0.4pt \backslash FrameSep 9pt \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Pour les notes \family sans Grisées \family default , l'espace par défaut entre le texte de la note et le cadre est de 3 \begin_inset Space \thinspace{} \end_inset pt ; ce qui peut être modifié en changeant la valeur de \series bold \backslash fboxsep \series default . \begin_inset Newline newline \end_inset La couleur par défaut pour le fond est le rouge, ce qui peut être modifié en utilisant la commande \series bold \backslash definecolor{shadebox} \series default . Le fonctionnement de la commande \series bold \backslash definecolor \series default est expliqué 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 open \begin_layout Plain Layout Notez qu'il faut charger le paquetage LaTeX \series bold color \series default dans le préambule pour pouvoir utiliser la commande \series bold \backslash definecolor, \series default 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'aspect de cette note \family sans Grisée \family default est obtenue avec les commandes en code TeX suivantes : \end_layout \begin_layout Standard \series bold \backslash fboxsep 0.5cm \series default \begin_inset Newline newline \end_inset \series bold \backslash def\SpecialChar \textcompwordmark{} inecolor{shadecolor}{cmyk}{0.5,0,1,0.5} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxsep 0.5cm \end_layout \end_inset \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 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \color yellow Ceci est un texte jaune dans une boîte grisée avec un fond vert foncé. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxsep 3pt \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 Section Notes en Bas de Page \begin_inset CommandInset label LatexCommand label name "sec:Notes-bas-de-page" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Notes ! Notes de bas de page \end_layout \end_inset \begin_inset Index 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 Graphics filename ../../images/footnote-insert.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils, soit en utilisant le menu \family sans Insérer\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/footnoteQt4.png scale 80 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 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 Pour utiliser des notes de bas de page dans les tableaux, vous devez utiliser des minipages, voyez la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipages" \end_inset . Les notes de bas de page dans des tableaux longs sont traitées dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Notes-dans-tableau-long" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset Pour créer seulement la marque de note, utilisez la commande \series bold \backslash footnotemark[nombre] \series default en code TeX. On utilise cette possibilité quand on a plusieurs fois la même annotation dans le texte, mais que l'on ne veut pas répéter le texte de la note de bas de page à chaque fois. \begin_inset Newline newline \end_inset Comme vous ne connaissez pas le numéro de la note que vous voulez répéter au moment où vous tapez votre texte, vous devez enregistrer ce nombre quelque part. Pour la marque de note qui suit, ces commandes ont été insérées en code 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 le numéro de note de bas de page : \end_layout \begin_layout Standard \series bold \backslash newcounter{MyRepeatFoot} \begin_inset Newline newline \end_inset \backslash setcounter{MyRepeatFoot}{ \backslash thefootnote} \end_layout \begin_layout Standard La marque de note a été créée avec la commande suivante : \end_layout \begin_layout Standard \series bold \backslash footnotemark[ \backslash theMyRepeatFoot] \end_layout \begin_layout Standard Voici un exemple de marque de note de bas de page : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark[ \backslash theMyRepeatFoot] \end_layout \end_inset \end_layout \begin_layout Subsection Numérotation de Notes de Bas de Page \begin_inset CommandInset label LatexCommand label name "sub:Numerotation-notes-bas-de-page" \end_inset \begin_inset Index 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 eld \end_inset numéroter \begin_inset Quotes erd \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 par défaut 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 eld \end_inset chapitre.note \begin_inset Quotes erd \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 eld \end_inset chapitre.note \begin_inset Quotes erd \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 eld \end_inset chapitre. \backslash Roman{note} \begin_inset Quotes erd \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 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 LaTeX \series bold ftnright \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash framebox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/without_fntright.pdf width 100col% scaleBeforeRotation \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \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 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash framebox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/with_fntright.pdf width 100col% scaleBeforeRotation \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \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 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---notes-de-bas-de-page" \end_inset . On les appelle \begin_inset Quotes eld \end_inset notes de fin \begin_inset Quotes erd \end_inset . \begin_inset Note Note status collapsed \begin_layout Plain Layout J'ai pas trouvé mieux pour endnotes (NdT) \end_layout \end_inset \begin_inset Index 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, chargez le paquetage LaTeX \series bold endnotes \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! endnotes \end_layout \end_inset avec ces lignes dans le préambule du document \end_layout \begin_layout Standard \series bold \backslash usepackage{endnotes} \begin_inset Newline newline \end_inset \backslash let \backslash footnote \backslash endnote \end_layout \begin_layout Standard 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 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 ERT status collapsed \begin_layout Plain Layout \backslash framebox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/endnotes.pdf scaleBeforeRotation \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Notes-de-fin---notes-de-bas-de-page" \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 le nom en anglais par défaut \begin_inset Quotes eld \end_inset Notes \begin_inset Quotes erd \end_inset en sa traduction Allemande \begin_inset Foot status collapsed \begin_layout Plain Layout En français, \begin_inset Quotes eld \end_inset Notes \begin_inset Quotes erd \end_inset peut être conservé. \end_layout \end_inset \begin_inset Quotes eld \end_inset Anmerkungen \begin_inset Quotes erd \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 "sub: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 "sub: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 seulement créer une marque de note de fin, utilisez 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'alignem ent du texte des notes peut être modifié, voyez le paquetage LaTeX \series bold footmisc \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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 LaTeX, \begin_inset CommandInset citation LatexCommand cite key "latexcompanion,latexguide,latexbook" \end_inset . \end_layout \begin_layout Section Notes en Marge \begin_inset Index status collapsed \begin_layout Plain Layout Notes ! Notes en Marge \end_layout \end_inset \end_layout \begin_layout Standard Les notes en marge dans LyX ressemblent aux notes en bas de page et se comporten t de la même façon. Quand vous insérez une note en marge avec \family sans Insérer\SpecialChar \menuseparator Note \begin_inset Space ~ \end_inset en \begin_inset Space ~ \end_inset Marge \family default ou avec le bouton \begin_inset Graphics filename ../../images/marginalnote-insert.png scale 85 scaleBeforeRotation \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 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 eld \end_inset extérieure \begin_inset Quotes erd \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 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 par défaut, ajoutez la commande : \end_layout \begin_layout Standard \series bold \backslash normalmarginpar \end_layout \begin_layout Standard sous forme de code TeX. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash normalmarginpar \end_layout \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 "sub: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 la commande suivante sous forme de code TeX, avant le mot en question \begin_inset Marginal status open \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hspace{0pt} \end_layout \end_inset UnMotTrèsLongEnMarge avec une césure. \end_layout \end_inset : \end_layout \begin_layout Standard \series bold \backslash hspace{0pt} \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 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 LaTeX \series bold marginnote \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! marginnote \end_layout \end_inset . En ajoutant les deux lignes suivantes au préambule de votre document, la commande que 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 LyX sous forme de code 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 TeX \begin_inset Quotes eld \end_inset \series bold [-1.5cm] \series default \begin_inset Quotes erd \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 par défaut 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 eld \end_inset \family sans \series bold \bar under Attention! \family default \series default \bar default \begin_inset Quotes erd \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 ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash hspace{0pt} \backslash textsf{ \backslash textbf{ \backslash underbar{Attention!}}}% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \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 LaTeX \series bold marginnote \series default n'est pas installé : \end_layout \end_inset \end_layout \begin_layout Standard Vous devez installer le paquetage 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 Les Boîtes \end_layout \begin_layout Section Introduction \begin_inset Index 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:Boîtes-encadrées" \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 "sub: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 Insérer\SpecialChar \menuseparator Boîte \family default ou avec le bouton \begin_inset Graphics filename ../../images/box-insert.png scale 85 scaleBeforeRotation \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/BoxInsetDefaultQt4.png scale 65 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. 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 Parbox \begin_inset Note Note status collapsed \begin_layout Plain Layout En attendant un traduction plus correcte NdT \end_layout \end_inset \family default et \family sans Minipage \family default . Le type \family sans Minipage \family default est le type par défaut 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 . \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 status collapsed \begin_layout Plain Layout Boîtes ! Fenêtre de dialogue Boîte \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! Alignement \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 eld \end_inset hauteur \begin_inset Quotes erd \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 width "12col%" special "none" height "1in" height_special "depth" 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 width "20col%" special "none" height "2in" height_special "height" 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 width "20col%" special "none" height "1in" height_special "totalheight" 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 width "12col%" special "none" height "1in" height_special "width" 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 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 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 width "12col%" special "none" height "1in" height_special "totalheight" 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 width "12col%" special "none" height "1in" height_special "totalheight" 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 width "12col%" special "none" height "1in" height_special "totalheight" 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 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 width "12col%" special "none" height "1.5in" height_special "totalheight" 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 width "12col%" special "none" height "1.5in" height_special "totalheight" 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 width "12col%" special "none" height "1.5in" height_special "totalheight" 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 width "12col%" special "none" height "1.5in" height_special "totalheight" 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 width "15col%" special "none" height "1.25in" height_special "totalheight" 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 width "90col%" special "none" height "1.25in" height_special "totalheight" status open \begin_layout Plain Layout \align left Le texte de cette boîte est allongé horizontalement. \end_layout \end_inset \end_layout \begin_layout Section Les Boîtes Encadrées \begin_inset CommandInset label LatexCommand label name "sec:Boîtes-encadrées" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! Cadres \end_layout \end_inset \end_layout \begin_layout Standard On peut spécifier le style du cadre de la boîte en utilisant la liste déroulante \family sans Décoration \family default dans la boîte de dialogue \family sans Paramètres \begin_inset Space ~ \end_inset de \begin_inset Space ~ \end_inset Boîte \family default . Les possibilités sont les suivantes : \end_layout \begin_layout Description Boîte \begin_inset Space ~ \end_inset rectangulaire Ceci dessine un cadre rectangulaire autour de la boîte. L'épaisseur du trait de ce cadre est donnée par la variable \series bold \backslash fboxrule \series default . \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte rectangulaire \end_layout \end_inset \end_layout \begin_layout Description Boîte \begin_inset Space ~ \end_inset ovale, \begin_inset Space ~ \end_inset fine 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 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte ovalisée, fine \end_layout \end_inset \end_layout \begin_layout Description Boîte \begin_inset Space ~ \end_inset ovale, \begin_inset Space ~ \end_inset épaisse 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 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte ovalisée, épaisse \end_layout \end_inset \end_layout \begin_layout Description Boîte \begin_inset Space ~ \end_inset ombrée Ceci dessine un cadre rectangulaire avec une ombre autour de la boîte. L'épaisseur du trait de ce cadre est donnée par la variable \series bold \backslash fboxrule \series default , l'ombre a une épaisseur de 4 \begin_inset Space \thinspace{} \end_inset pt. \begin_inset Box Shadowbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte ombrée \end_layout \end_inset \end_layout \begin_layout Description Boîte \begin_inset Space ~ \end_inset double 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 \series bold \backslash fboxrule \series default , l'épaisseur du trait du cadre externe est de 1.5 \begin_inset Space \thinspace{} \end_inset \series bold \backslash fboxrule \series default . La distance entre les deux cadres est de 1.5 \begin_inset Space \thinspace{} \end_inset \series bold \backslash fboxrule \series default \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 width "20col%" special "none" height "1in" height_special "totalheight" 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 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 LaTeX \series bold fancybox \series default . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset La valeur par défaut pour la variable \series bold \backslash fboxrule \series default est 0.4 \begin_inset Space \thinspace{} \end_inset pt. Elle peut être modifiée avec la commande suivante en code TeX, par exemple pour avoir 2 \begin_inset Space \thinspace{} \end_inset pt : \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash fboxrule}{2pt} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxrule}{2pt} \end_layout \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte rectangulaire avec \series bold \backslash fboxrule \series default \begin_inset Space \thinspace{} \end_inset = \begin_inset Space \thinspace{} \end_inset 2 \begin_inset Space \thinspace{} \end_inset pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxrule}{0.4pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset L'espace entre le cadre et le contenu de la boîte est le même pour tous les types de cadres, par défaut il est de 3 \begin_inset Space \thinspace{} \end_inset pt. Vous pouvez le modifier en donnant une autre valeur à la variable \series bold \backslash fboxsep \series default . Par exemple la commande \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash fboxsep}{10pt} \end_layout \begin_layout Standard met une valeur de 10 \begin_inset Space \thinspace{} \end_inset pt, comme celle utilisée pour cette boîte : \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxsep}{10pt} \end_layout \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte rectangulaire avec \series bold \backslash fboxsep \series default \begin_inset Space \thinspace{} \end_inset = \begin_inset Space \thinspace{} \end_inset 10 \begin_inset Space \thinspace{} \end_inset pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxsep}{3pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset 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 par défaut 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 width "25col%" special "none" height "1in" height_special "totalheight" 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 La taille de l'ombre peut être ajustée en changeant la valeur de la variable \series bold \backslash shadowsize \series default . Elle est fixée à 2 \begin_inset Space \thinspace{} \end_inset pt pour la boîte suivante par la commande : \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash shadowsize}{2pt} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash shadowsize}{2pt} \end_layout \end_inset \begin_inset Box Shadowbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Boîte ombrée avec \series bold \backslash shadowsize \series default \begin_inset Space \thinspace{} \end_inset = \begin_inset Space \thinspace{} \end_inset 2 \begin_inset Space \thinspace{} \end_inset pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash shadowsize}{4pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Les longueurs et les largeurs 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 status collapsed \begin_layout Plain Layout Boîtes ! Minipages \end_layout \end_inset \end_layout \begin_layout Standard LaTeX fournit un mécanisme qui, en fait, permet de produire une page à l'intérie ur 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 Insérer\SpecialChar \menuseparator Formats\SpecialChar \menuseparator Ressort \begin_inset Space ~ \end_inset Horizontal \family default . \end_layout \begin_layout Standard \lang english \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "45col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \lang german Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text \begin_inset Foot status collapsed \begin_layout Plain Layout \lang german Dies ist eine deutsche Fußnote. \end_layout \end_inset . Dies ist ein deutscher Text. Dies ist ein deutscher Text. \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 width "45col%" special "none" height "1in" height_special "totalheight" 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 Une autre application des minipages est l'ajout de notes de bas de page à l'intérieur d'un tableau. À cause d'une restriction due à LaTeX, les notes de bas de pages insérées dans un tableau n'apparaissent pas en bas de la page courante. Mais si vous mettez votre tableau dans une minipage, la note de bas de page apparaîtra en bas de celle-ci, numérotée avec des lettres latines. Le numéro de note est remis à 1 à chaque nouvelle minipage, mais pas en dehors des minipages. \end_layout \begin_layout Standard Les notes de bas de page de ce tableau n'apparaissent pas : \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 \begin_inset Foot status open \begin_layout Plain Layout Ceci est une note de bas de page à l'intérieur d'un tableau. \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \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 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 \end_inset \end_layout \begin_layout Standard \align center \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "30col%" special "none" height "1in" height_special "totalheight" status open \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 \begin_inset Foot status open \begin_layout Plain Layout Ceci est une note de bas de page à l'intérieur d'un tableau. \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \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 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 \end_inset \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 "sub:Couleur-pour-les-Paragraphes" \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 Section Les Parboxes \begin_inset CommandInset label LatexCommand label name "sec:Parboxes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! Parboxes \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Note status collapsed \begin_layout Plain Layout \lang english En attendant une traduction de parbox (NdT) \end_layout \end_inset Les parboxes ressemblent beaucoup aux minipages à la différence qu'elles ne peuvent avoir de note de bas de page. La principale différence avec les minipages, c'est que les minipages au contraire des parboxes, ne sont pas de vraies boîtes, mais des environnements LaTeX. \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 width "33col%" special "none" height "1in" height_special "totalheight" status collapsed \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 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 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 un type spécial de boîte 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 pour montrer comment vous pouvez empêcher une césure dans un \begin_inset Quotes eld \end_inset motTrèsTrèsLong \begin_inset Quotes erd \end_inset \end_layout \begin_layout Standard Pour empêcher que le mot \begin_inset Quotes eld \end_inset motTrèsTrèsLong \begin_inset Quotes erd \end_inset soit coupé, ajoutez la commande \end_layout \begin_layout Standard \series bold \backslash mbox{ \end_layout \begin_layout Standard en code TeX avant le mot. Après le mot, insérez l'accolade fermante \begin_inset Quotes eld \end_inset \series bold } \series default \begin_inset Quotes erd \end_inset en code TeX. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash pagebreak \end_layout \end_inset \end_layout \begin_layout Standard Voici le résultat : \end_layout \begin_layout Standard Cette ligne est un exemple pour montrer comment vous pouvez empêcher une césure dans un \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash mbox{ \end_layout \end_inset \begin_inset Quotes eld \end_inset motTrèsTrèsLong \begin_inset Quotes erd \end_inset . \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard Une autre méthode consiste à mettre la commande \begin_inset Quotes eld \end_inset \series bold \backslash - \series default \begin_inset Quotes grd \end_inset en code TeX, juste avant le mot : \end_layout \begin_layout Standard Cette ligne est un exemple pour montrer comment vous pouvez empêcher une césure dans un \begin_inset Quotes eld \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash - \end_layout \end_inset motTrèsTrèsLong \begin_inset Quotes erd \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 Insérer\SpecialChar \menuseparator Formats\SpecialChar \menuseparator Passage \begin_inset Space ~ \end_inset à \begin_inset Space ~ \end_inset la \begin_inset Space ~ \end_inset Ligne \family default (raccourci \series bold Ctrl-Entrée \series default ) : \end_layout \begin_layout Standard Cette ligne est un exemple pour montrer comment vous pouvez empêcher une césure dans un \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash mbox{ \end_layout \end_inset \begin_inset Quotes eld \end_inset motTrèsTrèsLong \begin_inset Quotes erd \end_inset . \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Subsection Alignement Vertical \begin_inset CommandInset label LatexCommand label name "sub:Alignement-Vertical" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! Pour l'alignement vertical \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! Boîtes élévatrices \end_layout \end_inset \begin_inset Index 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 eld \end_inset empêcher \begin_inset Quotes erd \end_inset de façon à ce que le point le plus bas du caractère le plus \begin_inset Quotes eld \end_inset profond \begin_inset Quotes erd \end_inset , le \begin_inset Quotes eld \end_inset p \begin_inset Quotes erd \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 TeX avant le mot. Insérez après le mot l'accolade fermante \begin_inset Quotes eld \end_inset \series bold } \series default \begin_inset Quotes erd \end_inset en code 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 raisebox{ \backslash depth}{ \end_layout \end_inset \begin_inset Quotes eld \end_inset empêcher \begin_inset Quotes erd \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 eld \end_inset empêcher \begin_inset Quotes erd \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 eld \end_inset tester \begin_inset Quotes erd \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 eld \end_inset empêcher \begin_inset Quotes erd \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}[0pt]{ \end_layout \end_inset \begin_inset Quotes eld \end_inset tester \begin_inset Quotes erd \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 status collapsed \begin_layout Plain Layout Boîtes ! Couleur \end_layout \end_inset \end_layout \begin_layout Subsection De la couleur pour le texte \begin_inset Index status collapsed \begin_layout Plain Layout Couleur ! Pour le texte \end_layout \end_inset \end_layout \begin_layout Standard Pour pouvoir colorer la couleur de fond d'un texte, il faut le mettre dans une boîte appelée \begin_inset Quotes eld \end_inset colorbox \begin_inset Quotes erd \end_inset . Cela demande que le paquetage LaTeX \series bold color \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! color \end_layout \end_inset soit chargé dans le préambule du document avec la commande \end_layout \begin_layout Standard \series bold \backslash @ifundef\SpecialChar \textcompwordmark{} ined{textcolor} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash usepackage{color}}{} \end_layout \begin_layout Standard Le paquetage \series bold color \series default sera chargé automatiquement par LyX dès que vous colorez du texte \begin_inset Foot status open \begin_layout Plain Layout C'est pour éviter qu'il soit chargé deux fois que l'on utilise la commande \series bold \backslash @ifundef\SpecialChar \textcompwordmark{} ined \series default . \end_layout \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Les boîtes colorées 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. \end_layout \begin_layout Standard Les couleurs suivantes sont prédéfinies :: \begin_inset Newline newline \end_inset \family sans black \family default (noir), \family sans blue \family default (bleu), \family sans cyan \family default \series bold , \series default \family sans green \family default (vert), \family sans magenta \family default , \family sans red \family default (rouge), \family sans white \family default (blanc), and \family sans yellow \family default (jaune). \begin_inset Newline newline \end_inset Vous pouvez aussi 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 . \end_layout \begin_layout Standard Par exemple, pour avoir un mot sur fond rouge, insérez la commande \end_layout \begin_layout Standard \series bold \backslash colorbox{red}{ \end_layout \begin_layout Standard avant le mot en code TeX. Insérez l'accolade fermante \begin_inset Quotes eld \end_inset } \begin_inset Quotes erd \end_inset après le mot, en code 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{red}{ \end_layout \end_inset \begin_inset Quotes eld \end_inset Attention! \begin_inset Quotes erd \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset sur fond rouge. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Si vous voulez que la boîte soit entourée d'une bordure dans une autre couleur, vous pouvez utiliser 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 Standard \series bold \backslash fcolorbox \series default est une extension de \series bold \backslash colorbox \series default . L'épaisseur du cadre et l'espace entre le cadre et le contenu de la boîte peuvent être modifiés avec les variables \series bold \backslash fboxrule \series default et \series bold \backslash fboxsep \series default , comme c'est décrit dans la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Boîtes-encadrées" \end_inset . \end_layout \begin_layout Standard Pour l'exemple suivant, on a utilisé la commande \end_layout \begin_layout Standard \series bold \backslash fcolorbox{cyan}{magenta}{ \end_layout \begin_layout Standard Voici un exemple où l'épaisseur de la ligne du cadre a été mise à 1 \begin_inset Space \thinspace{} \end_inset mm: \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxrule 1mm \backslash fboxsep 1mm \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{cyan}{magenta}{ \end_layout \end_inset Ce texte est dans une boîte encadrée et colorée. \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Bien sûr, vous pouvez avoir du texte coloré dans une boîte colorée (attention, les yeux ! - NdT) : \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{cyan}{magenta}{ \end_layout \end_inset \color yellow Ce texte est coloré dans une boîte colorée et encadrée. \color inherit \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxrule 0.4pt \backslash fboxsep 3pt \end_layout \end_inset \end_layout \begin_layout Standard \series bold \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Le texte qui se trouve dans une boîte colorée ne peut pas avoir de sauts de ligne. Pour colorer plusieurs lignes de texte ou un paragraphe, utilisez une boîte à l'intérieur d'une boîte colorée comme c'est décrit dans ce qui suit. \end_layout \end_inset \end_layout \begin_layout Subsection De la couleur pour les paragraphes \begin_inset CommandInset label LatexCommand label name "sub:Couleur-pour-les-Paragraphes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Couleur ! Pour les paragraphes \end_layout \end_inset \end_layout \begin_layout Standard Pour modifier la couleur de fond de plus d'une ligne de texte, mettez le texte dans une minipage. Avant la minipage, insérez la commande \series bold \backslash colorbox \series default \end_layout \begin_layout Standard \series bold \backslash colorbox{color}{ \end_layout \begin_layout Standard en code TeX. Après la minipage, insérez l'accolade fermante \begin_inset Quotes eld \end_inset } \begin_inset Quotes erd \end_inset en code TeX. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash colorbox{lightgrey}{ \end_layout \end_inset \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout Ce texte a un fond coloré. Ce texte a un fond coloré. \end_layout \begin_layout Plain Layout \begin_inset VSpace defskip \end_inset Le texte peut avoir des notes de bas de page \begin_inset Foot status collapsed \begin_layout Plain Layout Un autre exemple de note de bas de page \end_layout \end_inset et contenir des figures et des tableaux. \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 ! \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout < \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b2 \begin_inset Quotes erd \end_inset | \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 § \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \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 Section Les boîtes pivotées et redimensionnées \end_layout \begin_layout Standard Pour pouvoir utiliser les commandes décrites dans cette section, vous devez charger le paquetage LaTeX \series bold graphicx \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! graphicx \end_layout \end_inset dans le préambule de votre document avec la commande \end_layout \begin_layout Standard \series bold \backslash @ifundefined{rotatebox} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash usepackage{graphicx}}{} \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Note: \series default Certain visualiseurs DVI ne peuvent pas afficher des objets pivotés ou redimensionnés. \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 Les Boîtes pivotées \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! pivotées \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Pivoter des objets \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figures ! Pivotées \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Pivoter \end_layout \end_inset \end_layout \begin_layout Standard Pour faire tourner des objets, vous pouvez les mettre dans une boîte pivotante (rotated). Une telle boîte est créée avec la commande \series bold \backslash rotatebox \series default en code TeX avec la syntaxe \end_layout \begin_layout Standard \series bold \backslash rotatebox[origine rotation]{angle rotation}{contenu de la boîte} \end_layout \begin_layout Standard La position du pivot est donnée par l'origine de rotation spécifiée 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, la commande \series bold \backslash rotatebox[origin=c]{60}{ \series default a été insérée en code TeX juste avant le texte \begin_inset Quotes eld \end_inset pivoté de 90° \begin_inset Quotes erd \end_inset ; la boîte est refermée juste après le texte par une accolade fermante \begin_inset Quotes eld \end_inset } \begin_inset Quotes erd \end_inset en code TeX. \end_layout \begin_layout Standard Voici une ligne avec du texte \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{60}{ \end_layout \end_inset pivoté de 60° \begin_inset ERT status collapsed \begin_layout Plain Layout } \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 texte \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=r]{-60}{ \end_layout \end_inset \begin_inset Box Doublebox position "c" hor_pos "c" has_inner_box 0 inner_pos "c" use_parbox 0 width "1in" special "width" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout pivoté de -60° \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset et encadré \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=lb]{60}{ \end_layout \end_inset \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \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 ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=lb]{90}{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 25col% \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset avec une image pivotée de 90° \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=l]{-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 \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset et un tableau. \end_layout \begin_layout Subsection Les boîtes redimensionnées \begin_inset Index status collapsed \begin_layout Plain Layout Boîtes ! Redimensionnées \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Redimensionner des objets \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figures ! Redimensionnées \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tableau ! Redimensionner \end_layout \end_inset \end_layout \begin_layout Standard Pour redimensionner des objets on peut utiliser les commandes \series bold \backslash scalebox \series default et \series bold \backslash resizebox \series default insérées sous forme de code TeX. \end_layout \begin_layout Standard \series bold \backslash scalebox \series default est utilisée avec la syntaxe suivante : \end_layout \begin_layout Standard \series bold \backslash scalebox{horizontal}[vertical]{contenu de la boîte} \end_layout \begin_layout Standard Horizontal et vertical sont les facteurs d'échelle correspondants. Si on ne donne pas de facteur vertical, le facteur horizontal sera aussi utilisé comme facteur vertical. \end_layout \begin_layout Standard Par exemple, la commande \series bold \backslash scalebox{2}{Bonjour} \series default crée un \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{2}{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset de taille double par rapport à la taille du texte du document. \end_layout \begin_layout Standard \series bold \backslash scalebox{2}[1]{Hello} \series default au contraire va déformer le \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{2}[1]{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \end_layout \begin_layout Standard Si le facteur d'échelle est négatif, le contenu sera retourné en miroir. La commande \series bold \backslash scalebox{-1}[1]{Hello} \series default peut donc être utilisée pour créer du texte en miroir : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{-1}[1]{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard \series bold \backslash scalebox{1}[-1]{Bonjour} \series default effectue une réflexion du \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{1}[-1]{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset par rapport à la ligne de base. \end_layout \begin_layout Standard La commande \series bold \backslash reflectbox{contenu de la boîte} \series default existe aussi et est équivalente à \series bold \backslash scalebox{-1}[1]{contenu de la boîte}. \series default \begin_inset Newline newline \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset La commande \series bold \backslash resizebox \series default est utilisée pour redimensionner une boîte à une largeur et une hauteur données. La syntaxe de la commande est : \end_layout \begin_layout Standard \series bold \backslash resizebox{largeur}{hauteur}{contenu de la boîte} \end_layout \begin_layout Standard Si un des deux paramètres est remplacé par un point d'exclamation \series bold ! \series default , la taille est ajustée pour conserver le rapport d'aspect de la boîte. \end_layout \begin_layout Standard La commande \series bold \backslash resizebox{2cm}{1cm}{Bonjour} \series default produit : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash resizebox{2cm}{1cm}{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \begin_inset Newline newline \end_inset La commande \series bold \backslash resizebox{2cm}{!}{Bonjour} \series default produit : \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash resizebox{2cm}{!}{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout } \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 Quand les paramètres des commandes \series bold \backslash scalebox \series default ou \series bold \backslash resizebox \series default sont mis à zéro, il ne se produit pas d'erreur LaTeX quand on exporte le document, mais le document exporté peut ne pas s'afficher ou s'afficher partiellement. \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, la commande \begin_inset Newline newline \end_inset \series bold \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{Bonjour}}} \begin_inset Newline newline \end_inset \series default produit : \end_layout \begin_layout Standard \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset Bonjour \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \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 \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-30}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 25col% \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \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 \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \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 eld \end_inset fleqn \begin_inset Quotes erd \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 Trucs Externes \begin_inset Index status collapsed \begin_layout Plain Layout Trucs externes \end_layout \end_inset \end_layout \begin_layout Standard Avec le menu \family sans Insérer\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 LyX Un autre document 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 LyX ou LaTeX. \end_layout \begin_layout Section Objets Externes \begin_inset Index 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 LyX qui va s'occuper des conversions. Ce mécanisme est semblable à celui qui permet d'insérer dans un document LyX des images dans des formats divers. \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 Insérer\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 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{http://en.wikipedia.org/wiki/XBoard}{ \end_layout \end_inset \series bold XBoard \series default \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \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 Newline newline \end_inset La date n'apparaîtra pas dans 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 Insérer\SpecialChar \menuseparator Date \family default et avec la commande LaTeX \series bold \backslash today \series default entrée comme code 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 LilyPond Ce modèle est utilisé avec des partitions musicales mises en forme par le programme \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash linebreak \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{http://en.wikipedia.org/wiki/LilyPond}{ \end_layout \end_inset \series bold LilyPond \series default \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \begin_inset Note Note status open \begin_layout Plain Layout La commande \series bold \backslash linebreak \series default produit un saut de ligne en même temps que le texte est étiré jusqu'à la marge de la page. \end_layout \end_inset \end_layout \begin_layout Description RasterImage Ce modèle peut être utilisé pour les images matricielles (bitmap). À peu près tous les formats d'images populaires sont acceptés. 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 Insérer\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 . La différence est que seules les images matricielles sont autorisées, ce qui veut dire que les images PDF et EPS ne sont pas acceptées \begin_inset Note Note status open \begin_layout Plain Layout SVG non plus, je suppose ? (NdT) \end_layout \end_inset . \end_layout \begin_layout Description XFig Ce modèle accepte les images créées avec le programme \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{http://en.wikipedia.org/wiki/Xfig}{ \end_layout \end_inset \series bold Xfig \series default \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab: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 Insérer\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 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 TeX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 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 LyX, soit comme une boîte comme celle-ci : \begin_inset Graphics filename ../clipart/ExternalMaterialQt4.png scale 85 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 LyX \family default de l'onglet \family sans Vue \begin_inset Space ~ \end_inset LyX \family default de la fenêtre de dialogue \family sans Objet \begin_inset Space ~ \end_inset Externe \family default . \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 status collapsed \begin_layout Plain Layout Trucs externes ! Sous-Documents \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Fichiers ! Insérer \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. \end_layout \begin_layout Standard Les documents inclus sont visualisés dans LyX sous la forme d'une boîte comme celle-ci : \begin_inset Graphics filename clipart/ChildDocumentQt4.png scale 60 scaleBeforeRotation \end_inset Pour inclure des sous-documents dans un document maître , on utilise le menu \family sans Insérer\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 LyX et LaTeX. Quand vous cliquez sur le bouton \family sans Charger \family default dans la fenêtre de dialogue \family sans Sous-Document \family default , le document inclus est ouvert dans 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 "sub: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 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 Avec la commande LaTeX \series bold \backslash includeonly \series default vous pouvez préciser quels sous-documents seront traités pour générer la sortie imprimée. C'est utile quand vous ne travaillez que sur quelques chapitres d'un document important puisque cela vous fait économiser du temps de compilation. La commande \series bold \backslash includeonly \series default est insérée dans le préambule du document maître. Elle prend comme arguments une liste de noms de fichiers séparés par des virgules, par exemple : \end_layout \begin_layout Standard \series bold \backslash includeonly{chapitre1,chapitre5} \end_layout \begin_layout Standard fera que seuls les fichiers nommés \begin_inset Quotes eld \end_inset chapitre1.lyx \begin_inset Quotes erd \end_inset (ou \begin_inset Quotes eld \end_inset chapitre1.tex \begin_inset Quotes erd \end_inset ) et \begin_inset Quotes eld \end_inset chapitre5.lyx \begin_inset Quotes erd \end_inset seront traités lors de la compilation. \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 LyX ou LaTeX, et que ce dernier utilise une classe de document différente de celle du document maître, vous recevez un avertissement quand vous tentez une visualisation ou une exportation, 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 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 La commande LaTeX \series bold \backslash includeonly \series default ne peut pas être utilisée. \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 Description Verbatim Avec cette méthodes tous les fichiers textes peuvent être inclus. Si c'est un fichier LyX ou 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 eld \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash textvisiblespace \end_layout \end_inset \begin_inset Quotes erd \end_inset . La différence avec la méthode qui consiste à utiliser le menu \family sans Insérer\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 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 LaTeX. \end_layout \end_inset \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 status collapsed \begin_layout Plain Layout Listings \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Code Source \end_layout \end_inset \begin_inset Index 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 Insérer \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 LaTeX \series bold listings \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages 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, une fenêtre de dialogue s'ouvre pour vous permettre de modifier le format du listing. \end_layout \begin_layout Standard Par défaut, 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 \lang english 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 eld \end_inset \family sans h \family default \begin_inset Quotes erd \end_inset , \begin_inset Quotes eld \end_inset \family sans t \family default \begin_inset Quotes erd \end_inset , \begin_inset Quotes eld \end_inset \family sans b \family default \begin_inset Quotes erd \end_inset , et \begin_inset Quotes eld \end_inset \family sans p \family default \begin_inset Quotes erd \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 eld \end_inset \family sans htbp \family default \begin_inset Quotes erd \end_inset . L' option \begin_inset Quotes eld \end_inset h \begin_inset Quotes erd \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 Insérer\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 \end_layout \begin_layout Standard \begin_inset listings lstparams "language=Python" inline false status open \begin_layout Plain Layout \lang english \begin_inset Caption \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 \lang english def func(param): \end_layout \begin_layout Plain Layout \lang english 'ceci est une fonction python' \end_layout \begin_layout Plain Layout \lang english 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 eld \end_inset def \begin_inset Quotes erd \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 à chasse fixe, 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 eld \end_inset 3 \begin_inset Quotes erd \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 eld \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 erd \end_inset et \begin_inset Quotes eld \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 erd \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 \lang english def func(param): \end_layout \begin_layout Plain Layout \lang english 'ceci est une fonction Python' \end_layout \begin_layout Plain Layout \lang english pass \end_layout \begin_layout Plain Layout \lang english def func(param): \end_layout \begin_layout Plain Layout \lang english 'Ça, c'est un mot Allemand : Tschüß' \end_layout \begin_layout Plain Layout \lang english pass \end_layout \begin_layout Plain Layout \lang english def func(param): \end_layout \begin_layout Plain Layout \lang english 'ceci est une fonction Python' \end_layout \begin_layout Plain Layout \lang english pass \end_layout \end_inset \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 Insérer\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 eld \end_inset ? \begin_inset Quotes erd \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 Insérer\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 une 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 LyX sont listées. \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},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 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 Format \begin_inset Space ~ \end_inset du \begin_inset Space ~ \end_inset Texte \family default . Pour avoir la liste des options disponibles, tapez un point d'interrogation \begin_inset Quotes eld \end_inset ? \begin_inset Quotes erd \end_inset dans le champ \family sans Paramètres \begin_inset Space ~ \end_inset du \begin_inset Space ~ \end_inset Listing \family default . \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 LyX \begin_inset OptArg status collapsed \begin_layout Plain Layout Unités de longueur \end_layout \end_inset \begin_inset Index 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 LyX. \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab: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 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 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 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 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 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 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 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 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 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 Scale% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de la largeur originale de l'image \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout text% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de la largeur du texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout col% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de la largeur de la colonne \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout page% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de la largeur du papier \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout line% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de la largeur de la ligne \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout theight% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % la hauteur du texte \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pheight% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % hauteur du papier \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 la lettre \emph on x \emph default dans la police courante \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 la lettre \emph on M \emph default dans la police courante \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 \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 status collapsed \begin_layout Plain Layout Formats de Fichiers! DVI \end_layout \end_inset \begin_inset Index 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 une visualisation 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 le programme de visualisation 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 visualiser votre document sous forme de DVI grâce au menu \family sans Visualiser \family default ou en utilisant le bouton \begin_inset Graphics filename ../../images/buffer-view_dvi.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils. \end_layout \begin_layout Section PostScript \begin_inset CommandInset label LatexCommand label name "sec:PostScript" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Formats de Fichiers ! PostScript \end_layout \end_inset \begin_inset Index 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 open \begin_layout Plain Layout Si vous souhaitez en apprendre plus à ce sujet, jetez un coup d'œil au paquetage 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 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, 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 visualiser votre document sous forme PostScript grâce au menu \family sans Visualiser \family default ou en utilisant le bouton \begin_inset Graphics filename ../../images/buffer-view_ps.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils. \end_layout \begin_layout Section PDF \begin_inset CommandInset label LatexCommand label name "sec:PDF" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Formats de Fichiers ! PDF \end_layout \end_inset \begin_inset Index 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 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 \end_layout \begin_layout Standard Vous pouvez visualiser votre document sous forme PDF grâce au menu \family sans Visualiser \family default ou en utilisant le bouton \begin_inset Graphics filename ../../images/buffer-view_pdf2.png scale 85 scaleBeforeRotation \end_inset de la barre d'outils \family sans ( \family default qui utilise \family sans PDF \begin_inset Space ~ \end_inset (pdflatex) \family default ). \end_layout \begin_layout Chapter Explication de l' Équation \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref 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 $W_{\mathrm{tot\, n}}$ \end_inset peut être calculée avec \end_layout \begin_layout Standard \begin_inset Formula \begin{equation} W_{\mathrm{tot}\, n}=n\cdot(W_{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 $W_{g\, n}$ \end_inset est la largeur fixe de toutes les cellules. \series bold \backslash tabcolsep \series default est la largeur utilisée par LaTeX entre le texte de la cellule et la bordure, sa valeur par défaut 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 par défaut 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 multicolonne, \begin_inset Formula $W_{\mathrm{tot\, mult}}$ \end_inset est \end_layout \begin_layout Standard \begin_inset Formula \begin{equation} W_{\mathrm{tot\, mult}}=W_{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 $W_{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 $W_{\mathrm{tot\, mult}}/n$ \end_inset : \end_layout \begin_layout Standard \begin_inset Formula \begin{equation} W_{g\, n}=(W_{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 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 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 LaTeX: A Document Preparation System. \emph default Addison-Wesley, second edition, 1994 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "booktabs" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf} { \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold booktabs \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! booktabs \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "caption" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{ \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! caption \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "endfloat" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf} { \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold endfloat \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! endfloat \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "wrapfig" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty}{ \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold wrapfig \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! wrapfig \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset vspace \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset 4mm \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "footmisc" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf} { \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold footmisc \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! footmisc \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "hypcap" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{ \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold hypcap \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! hyperref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "hyperref" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf} { \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! hyperref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "koma-script" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p df}{ \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold koma-script \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! koma-script \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "listings" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf} { \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold listings \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! listings \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "marginnote" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote. pdf}{ \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold marginnote \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! marginnote \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "pstricks" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{http://tug.org/PSTricks/main.cgi/}{ \end_layout \end_inset Web page \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold PSTricks \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! PSTricks \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "sidecap" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{ \end_layout \end_inset Documentation \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset du paquetage LaTeX \series bold sidecap \series default \begin_inset Index status collapsed \begin_layout Plain Layout Paquetages LaTeX ! sidecap \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "NewInLyX15" \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash href{http://wiki.lyx.org/LyX/NewInLyX15}{ \end_layout \end_inset Page Wiki \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset au sujet des nouveautés de \family sans LyX 1.5.0 \family default . \end_layout \begin_layout Standard \begin_inset CommandInset index_print LatexCommand printindex \end_inset \end_layout \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Standard \begin_inset FloatList table \end_inset \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash listof{algorithm}{Liste des Algorithmes} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout voir la section \begin_inset Space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Flottant-d'Algorithme" \end_inset pour une description \end_layout \end_inset \end_layout \end_body \end_document