]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/fr/EmbeddedObjects.lyx
Set default output for "complex" manuals to PDF (pdflatex).
[lyx.git] / lib / doc / fr / EmbeddedObjects.lyx
index 1bbc3ab6fbf6ae23a0d7540fcde1274de3d3cad2..c0078d2b24f0052f6ede1393ed3e797a15c4d606 100644 (file)
@@ -1,20 +1,10 @@
 #LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 499
+\lyxformat 503
 \begin_document
 \begin_header
 \origin unavailable
 \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
@@ -176,18 +166,18 @@ graphicboxes
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
 \graphics default
-\default_output_format default
+\default_output_format pdf2
 \output_sync 0
 \bibtex_command default
 \index_command default
@@ -27417,6 +27407,36 @@ Flottant du côté droit.
 
 \end_layout
 
+\begin_layout Standard
+
+\lang english
+An alternative and simpler solution is to use the module 
+\family sans
+Variable-width Minipages
+\family default
+, see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.
+ Variable-width minipages adapt automatically to the width of the figures
+ and tables.
+ They do not require an explicit width to be given, and they improve the
+ horizontal alignment of the figures.
+ The LyX example file 
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of how to do this.
+\end_layout
+
 \begin_layout Section
 Mise en forme de la légende
 \begin_inset Index idx
@@ -34725,6 +34745,32 @@ Note:
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\SpecialChar LyX
+ has also basic support for minipages whose size is automatically determined
+ by the width of their contents, via the module 
+\family sans
+Variable-width Minipages
+\family default
+.
+ The \SpecialChar LyX
+ example file 
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of variable-width minipages used for placing two floats
+ side-by-side.
+\end_layout
+
 \begin_layout Section
 Les parboxes
 \begin_inset CommandInset label
@@ -35709,16 +35755,16 @@ Les boîtes pivotées et redimensionnées
 \end_layout
 
 \begin_layout Standard
-Pour pouvoir utiliser
+Pour pouvoir utiliser les boîtes
 \lang english
the boxes described in this section, the module 
+ described in this section, the module 
 \family sans
 GraphicBoxes
 \family default
  must be loaded in the document settings.
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
 \begin_inset Note Greyedout
 status open
 
@@ -35782,9 +35828,12 @@ Pivoter des objets
 \end_layout
 
 \begin_layout Standard
-Pour faire tourner des objets, vous pouvez les mettre dans une
+Pour faire tourner des objets, vous pouvez les mettre dans une 
+\family sans
 \lang english
- rotated box.
+Rotatebox
+\family default
+.
  Such a box is inserted via the menu 
 \family sans
 Insert\SpecialChar menuseparator
@@ -36145,6 +36194,32 @@ Tableau ! Pivoter
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ If the 
+\family sans
+Angle
+\family default
+ inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
+
+ errors when viewing/exporting the document.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
@@ -36172,107 +36247,135 @@ Redimensionner des objets
 \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 \SpecialChar TeX
+Pour redimensionner des objets on
+\lang english
+ put it into a 
+\family sans
+Scalebox
+\family default
+.
+ Such a box is inserted via the menu 
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Scalebox
+\family default
 .
 \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}
+\lang english
+The 
+\family sans
+Scalebox
+\family default
+ inset has the mandatory inset 
+\family sans
+H-Factor
+\family default
+ and the optional inset 
+\family sans
+V-Factor
+\family default
+ (inserted via the menu 
+\family sans
+Insert\SpecialChar menuseparator
+V-Factor)
+\family default
+.
+ Input there there horizontal and vertical scale factor, respectively.
+ If no 
+\family sans
+V-Factor
+\family default
+ inset is used
+\lang french
+, le facteur horizontal sera aussi utilisé comme facteur vertical.
 \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 
+\lang english
+To get for example the double text size, compared to the document text size,
+ insert 
 \series bold
-
-\backslash
-scalebox{2}{Bonjour}
+2
 \series default
- crée un 
-\begin_inset ERT
-status collapsed
+ into the 
+\family sans
+H-Factor
+\family default
+ inset.
+ An example
+\lang french
+: 
+\begin_inset Flex Scalebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-scalebox{2}{
+\begin_layout Plain Layout
+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}
+\lang english
+2
 \series default
- au contraire va déformer le 
-\begin_inset ERT
-status collapsed
+ as 
+\family sans
+H-Factor
+\family default
+ and 
+\series bold
+1
+\series default
+ as 
+\family sans
+V-Factor
+\family default
+ distorts the
+\lang french
+\begin_inset Flex Scalebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-scalebox{2}[1]{
+\begin_layout Plain Layout
+2
 \end_layout
 
 \end_inset
 
-Bonjour
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
 
 \begin_layout Plain Layout
+1
+\end_layout
 
-}
+\end_inset
+
+Bonjour
 \end_layout
 
 \end_inset
@@ -36281,33 +36384,52 @@ status collapsed
 \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}
+\lang english
+If the scaling factor is negative, the box content will be mirrored.
+ Therefore 
+\series bold
+-1
 \series default
- peut donc être utilisée pour créer du texte en miroir : 
-\begin_inset ERT
-status collapsed
+ as 
+\family sans
+H-Factor
+\family default
+ and 
+\series bold
+1
+\series default
+ as 
+\family sans
+V-Factor
+\family default
+ can be used to create mirror writing
+\lang french
+: 
+\begin_inset Flex Scalebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-scalebox{-1}[1]{
+\begin_layout Plain Layout
+-1
 \end_layout
 
 \end_inset
 
-Bonjour
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
 
 \begin_layout Plain Layout
+1
+\end_layout
 
-}
+\end_inset
+
+Bonjour
 \end_layout
 
 \end_inset
@@ -36318,116 +36440,234 @@ status collapsed
 \begin_layout Standard
 
 \series bold
-
-\backslash
-scalebox{1}[-1]{Bonjour}
+\lang english
+-1
 \series default
- effectue une réflexion du 
-\begin_inset ERT
-status collapsed
+ as 
+\family sans
+H-Factor
+\family default
+ and 
+\series bold
+1
+\series default
+ as 
+\family sans
+V-Factor
+\family default
+ reflects the
+\lang french
+\begin_inset Flex Scalebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-scalebox{1}[-1]{
+\begin_layout Plain Layout
+1
 \end_layout
 
 \end_inset
 
-Bonjour
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
 
 \begin_layout Plain Layout
+-1
+\end_layout
 
-}
+\end_inset
+
+Bonjour
 \end_layout
 
 \end_inset
 
- par rapport à la ligne de base.
+\lang english
+at the base line.
 \end_layout
 
 \begin_layout Standard
-La commande 
-\series bold
 
-\backslash
-reflectbox{contenu de la boîte} 
+\lang english
+The 
+\family sans
+Reflectbox
+\family default
+ (menu 
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Reflectbox
+\family default
+) is equivalent to 
+\series bold
+-1
 \series default
-existe aussi et est équivalente à
+ as 
+\family sans
+H-Factor
+\family default
+ and 
 \series bold
-\backslash
-scalebox{-1}[1]{contenu de la boîte}.
-
+1
 \series default
-\begin_inset Newline newline
-\end_inset
-
-
+ as 
+\family sans
+V-Factor 
+\family default
+for a 
+\family sans
+Scalebox
+\family default
+.
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
 
-La commande 
-\series bold
+\lang english
+\begin_inset Note Greyedout
+status open
 
-\backslash
-resizebox
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
 \series default
- est utilisée pour redimensionner une boîte à une largeur et une hauteur
- données.
- La syntaxe de la commande est :
+ If the 
+\family sans
+H-Factor
+\family default
+ inset is empty or contains other characters than numbers you will get LaTeX
+ errors when viewing/exporting the document.
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-\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 
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\lang english
+The 
+\family sans
+Resizebox
+\family default
+ (menu 
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Resizebox
+\family default
+) is used to scale the content to a defined width and height.
+ The 
+\family sans
+Resizebox
+\family default
+ inset has the mandatory inset 
+\family sans
+Width
+\family default
+ and the optional inset 
+\family sans
+Height
+\family default
+ (inserted via the menu 
+\family sans
+Insert\SpecialChar menuseparator
+Height)
+\family default
+.
+ Input there there width and height, respectively, as value with a unit
+\lang french
+.
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Unités"
+
+\end_inset
+
+\lang english
+lists the possible units.
+ If there is 
+\lang french
+un point d'exclamation 
 \series bold
 !
 \series default
+\lang english
+ in of of the two insets
+\lang french
 , la taille est ajustée pour conserver le rapport d'aspect de la boîte.
+
+\lang english
+ If no 
+\family sans
+Height
+\family default
+ inset is used 
+\lang french
+un point d'exclamation
+\lang english
+ will internally be used for the height.
 \end_layout
 
 \begin_layout Standard
-La commande 
-\series bold
 
-\backslash
-resizebox{2cm}{1cm}{Bonjour}
+\series bold
+\lang english
+2cm
 \series default
- produit : 
-\begin_inset ERT
-status collapsed
+ as 
+\family sans
+Width
+\family default
+ and 
+\series bold
+1cm
+\series default
+ as 
+\family sans
+Height
+\family default
+ produces:
+\lang french
+\begin_inset Flex Resizebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-resizebox{2cm}{1cm}{
+\begin_layout Plain Layout
+2cm
 \end_layout
 
 \end_inset
 
-Bonjour
-\begin_inset ERT
-status collapsed
+
+\begin_inset Argument 2
+status open
 
 \begin_layout Plain Layout
+1cm
+\end_layout
 
-}
+\end_inset
+
+Bonjour
 \end_layout
 
 \end_inset
@@ -36436,70 +36676,79 @@ status collapsed
 \begin_inset Newline newline
 \end_inset
 
-La commande 
-\series bold
 
-\backslash
-resizebox{2cm}{!}{Bonjour}
+\series bold
+\lang english
+2cm
 \series default
- produit : 
-\begin_inset ERT
-status collapsed
+ as 
+\family sans
+Width
+\family default
+ and 
+\series bold
+!
+\series default
+ as 
+\family sans
+Height
+\family default
+ (or no 
+\family sans
+Height
+\family default
+) produces
+\lang french
+: 
+\begin_inset Flex Resizebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-resizebox{2cm}{!}{
+\begin_layout Plain Layout
+2cm
 \end_layout
 
 \end_inset
 
-Bonjour
-\begin_inset ERT
-status collapsed
 
-\begin_layout Plain Layout
+\begin_inset Argument 2
+status open
 
-}
+\begin_layout Plain Layout
+!
 \end_layout
 
 \end_inset
 
-
+Bonjour
 \end_layout
 
-\begin_layout Standard
-\begin_inset VSpace bigskip
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
+
+\lang english
 \begin_inset Note Greyedout
 status open
 
 \begin_layout Plain Layout
 
 \series bold
+\lang english
 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 \SpecialChar LaTeX
- quand on exporte le document,
- mais le document exporté peut ne pas s'afficher ou s'afficher partiellement.
+ If the 
+\family sans
+Width
+\family default
+ inset is empty or contains an invalid unit you will get LaTeX errors when
+ viewing/exporting the document.
 \end_layout
 
 \end_inset
@@ -36516,56 +36765,79 @@ resizebox
 
 \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
 
+\lang english
+ As example a 
+\family sans
+Reflectbox
+\family default
+ inside a 
+\family sans
+Resizebox
+\family default
+ which is in turn inside a 
+\family sans
+Rotatebox
+\family default
+:
+\end_layout
 
-\series bold
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Flex Rotatebox
+status open
 
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{Bonjour}}}
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
+\begin_layout Plain Layout
+origin=c
+\end_layout
 
-\series default
-produit :
-\begin_inset Separator parbreak
 \end_inset
 
 
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-45
 \end_layout
 
-\begin_layout Standard
-\align center
-\begin_inset ERT
-status collapsed
+\end_inset
 
-\begin_layout Plain Layout
 
+\begin_inset Flex Resizebox
+status open
 
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2cm
 \end_layout
 
 \end_inset
 
-Bonjour
-\begin_inset ERT
-status collapsed
+
+\begin_inset Flex Reflectbox
+status open
 
 \begin_layout Plain Layout
+Bonjour
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
 
-}}}
 \end_layout
 
 \end_inset
@@ -36577,31 +36849,29 @@ status collapsed
 \noindent
 Les images, les tableaux et les formules sont autorisées comme contenu de
  boîte :
-\begin_inset Separator parbreak
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
+\noindent
 \align center
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Resizebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-rotatebox[origin=c]{-30}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+2cm
 \end_layout
 
 \end_inset
 
 
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
 \begin_inset Graphics
        filename ../clipart/platypus.eps
        lyxscale 50
@@ -36610,34 +36880,34 @@ reflectbox{
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
 
-\begin_layout Plain Layout
 
-}}}
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Resizebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+2cm
 \end_layout
 
 \end_inset
 
 
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
 \begin_inset Tabular
 <lyxtabular version="3" rows="2" columns="2">
 <features tabularvalignment="middle">
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
 
-\begin_layout Plain Layout
 
-}}}
 \end_layout
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Resizebox
+status open
 
 \begin_layout Plain Layout
+\begin_inset Argument 1
+status open
 
-
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+\begin_layout Plain Layout
+3cm
 \end_layout
 
 \end_inset
 
 
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
 \begin_inset Formula $\int A\,\mathrm{d}x=B$
 \end_inset
 
 
-\begin_inset ERT
-status collapsed
+\end_layout
+
+\end_inset
 
-\begin_layout Plain Layout
 
-}}}
 \end_layout
 
 \end_inset