]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Win installer: prepare for next release
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index e91914c6334a69c4bc2bb9010cafd4ef226b58d0..dec3ba374ed30730fc8a609e42a35a4f03d825e2 100644 (file)
@@ -1,5 +1,5 @@
 #LyX 2.3 created this file. For more info see http://www.lyx.org/
-\lyxformat 512
+\lyxformat 515
 \begin_document
 \begin_header
 \save_transient_properties true
@@ -234,6 +234,7 @@ graphicboxes
 \html_css_as_file 0
 \html_be_strict false
 \author 227574939 "Kyttj"
+\author 2047637253 "Guillaume Munch"
 \end_header
 
 \begin_body
@@ -333,7 +334,7 @@ The latest PDF-version of this document can be found here:
 
 
 \series bold
-http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
+http://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
 \end_layout
 
 \end_inset
@@ -648,10 +649,6 @@ reference "sec:Image-Formats"
 \end_inset
 
  within a separate, horizontally centered paragraph:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -669,10 +666,6 @@ reference "sec:Image-Formats"
 
 \begin_layout Standard
 This is the same image like the one above but in draft mode:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -1707,10 +1700,6 @@ The default table has lines around any cell and the first row appears separated
  have a line below them and the cells of the second row have a line above
  them.
  Here is an example table:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -3317,10 +3306,6 @@ reference "subsec:Multi-page-Table-Captions"
 \begin_layout Standard
 You can also specify a row where the table is split.
  See the following multi-page table to see how it works:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -7707,10 +7692,6 @@ reference "tab:DiffCaptions"
 
  is an example of a multi-page table with different heading where the second
  caption does not include the table number.
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -9882,10 +9863,6 @@ must be inserted as \SpecialChar TeX
  Code at the beginning of the cell.
  This ensures that the part of the cell that will be displayed on the new
  page appears with the full width.
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -11690,10 +11667,6 @@ Multicolumns have their own cell settings.
  the multicolumn.
  Here is an example table with a multicolumn cell in the first row and one
  in the last row without the upper border:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -12467,10 +12440,6 @@ Multirow
 
 \begin_layout Standard
 Here is an example table with a multirow in the first column:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -12649,10 +12618,6 @@ mm and is in a 3
 \end_inset
 
 cm wide column:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -12830,10 +12795,6 @@ arg   "newline-insert newline"
 \end_inset
 
 ) but this will not respect the cell lines as demonstrated in this table:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -13242,10 +13203,6 @@ Crystal Clear Pro
 \begin_layout Standard
 The 3-argument scheme is for example useful for cross-tables of sports leagues
  or distances:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -13465,10 +13422,6 @@ Falcons
 \begin_layout Standard
 For larger cross-tables one might use split cells in 2 or every corner of
  the table like in this example:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -13956,10 +13909,6 @@ is used.
 The necessary width of split cells is automatically calculated.
  Thus if you set a fixed column width smaller than the calculated one, the
  cell's content will protrude the cell borders:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -14181,10 +14130,6 @@ diagtest]{A}{B}
 
 \begin_layout Standard
 in the first cell:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -14282,10 +14227,6 @@ Perfect Green
 Note that the split cell needs to be the widest one in the column.
  Otherwise the length of the diagonal line cannot be calculated correctly
  like in this table:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -14397,10 +14338,6 @@ tabcolsep because the cell width is now the width of the column.
 \end_inset
 
 cm is used:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -14550,10 +14487,6 @@ Ctrl+Return
 \end_inset
 
 
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -33152,10 +33085,6 @@ Inner
 Box
 \family default
 , you can align the box content horizontally in the box dialog.
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -34171,10 +34100,6 @@ Boxes ! Parboxes
 \begin_layout Standard
 Parboxes are very similar to minipages with the difference that they cannot
  have footnotes.
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -36586,10 +36511,6 @@ reference "sec:Wrap-Floats"
 \end_inset
 
  have these positions in the paragraph:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -37711,10 +37632,6 @@ No optional argument, the initial is the letter 'I' in the math font
 \end_inset
 
 :
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_deeper
 \begin_layout Enumerate
 Only one line is surrounding the initial, which is formed by two letters
  in standard font and no text is printed in small caps:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_deeper
@@ -37921,12 +37834,6 @@ white
 {
 \backslash
 usepackage{color}}{}
-\series default
-
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_deeper
@@ -38620,8 +38527,24 @@ Inkscape
 \begin_inset space ~
 \end_inset
 
-figure This experimental template supports images created with the program
+figure This experimental template supports 
+\change_inserted 2047637253 1475533187
+SVG 
+\change_inserted 227574939 1473131628
+images
+\change_inserted 2047637253 1475533525
+ that contain text written in \SpecialChar LaTeX
+.
+
+\change_inserted 227574939 1473131628
  
+\change_inserted 2047637253 1475533551
+It relies on the PDF/PS+\SpecialChar LaTeX
+ option of 
+\change_deleted 2047637253 1475533556
+created with 
+\change_inserted 227574939 1473131628
+the program 
 \begin_inset CommandInset href
 LatexCommand href
 name "Inkscape"
@@ -38630,14 +38553,90 @@ target "https://en.wikipedia.org/wiki/Inkscape"
 \end_inset
 
 .
- It works very similarly to Xfig support, except that Inkscape is a more
- modern image editor than Xfig, which uses Scalable Vector Graphics (SVG)
- as its native format.
+\change_inserted 2047637253 1475534005
+As described by the CTAN demonstration package 
+\emph on
+svg-inkscape
+\emph default
+,
 \end_layout
 
 \begin_deeper
+\begin_layout Quote
+
+\change_inserted 2047637253 1475534064
+
+\emph on
+using the 
+\begin_inset Quotes eld
+\end_inset
+
+PDF+\SpecialChar LaTeX
+ output
+\begin_inset Quotes erd
+\end_inset
+
+ option of Inkscape, it is possible to include SVG in documents, in which
+ \SpecialChar LaTeX
+ typesets the text.
+ This results in uniform text style throughout the document, including text
+ in images; moreover, \SpecialChar LaTeX
+ commands may be used in the image’s text, providing
+ such things as mathematics and references.
+\end_layout
+
 \begin_layout Standard
 
+\change_inserted 2047637253 1475534692
+With Inkscape, even the size of the font is taken from the surrounding \SpecialChar LaTeX
+
+ document.
+ Of course, you can always embed \SpecialChar LaTeX
+ modifiers like 
+\family typewriter
+
+\backslash
+Large
+\family default
+, 
+\family typewriter
+
+\backslash
+small
+\family default
+, etc.
+ into your figure text strings.
+ Refer to the 
+\emph on
+svg-inkscape
+\emph default
+ documentation package for more information and examples.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted 2047637253 1475534902
+It should be noted that while the image takes into account the surrounding
+ font, its preview in \SpecialChar LyX
+ does not.
+ Wrapping the external inset in a preview inset gives better results in
+ this regard.
+\end_layout
+
+\begin_layout Standard
+
+\change_deleted 2047637253 1475534821
+It
+\change_inserted 2047637253 1475534913
+The template
+\change_inserted 227574939 1473131628
+ works very similarly to Xfig support, except that Inkscape is a more modern
+ image editor than Xfig, which uses Scalable Vector Graphics (SVG) as its
+ native format.
+
+\change_unchanged
 \change_inserted 227574939 1473131628
 LyX will process the image file in much the same way as it does an Xfig
  image, extracting the text into a separate TeX file for the text strings,
@@ -38705,12 +38704,13 @@ Child Document
 \end_inset
 
 .
+\change_deleted 2047637253 1475534230
+
 \end_layout
 
-\begin_deeper
 \begin_layout Standard
 
-\change_inserted 227574939 1473131628
+\change_deleted 2047637253 1475534225
 The reason why we would use this complicated process at all, like in the
  case of Xfig, is that it makes the text strings inside the figure of the
  same font type and attributes as the surrounding text, which looks so much
@@ -38735,9 +38735,10 @@ small
 \family default
 , etc.
  into your figure text strings.
+\change_inserted 227574939 1473131628
+
 \end_layout
 
-\end_deeper
 \end_deeper
 \begin_layout Standard
 \begin_inset Float table
@@ -39137,10 +39138,6 @@ Note:
 \begin_layout Description
 Input This method is very similar to the Include method.
  The differences are:
-\begin_inset Separator latexpar
-\end_inset
-
-
 \end_layout
 
 \begin_deeper