]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
More XHTML documentation.
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index ec5dc1250c50c995034e1258a474611a4559345f..dc1d9c7568086a86c1777c8a329cc296b1f83c46 100644 (file)
@@ -1,4 +1,4 @@
-#LyX 1.6.4svn created this file. For more info see http://www.lyx.org/
+#LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
 \lyxformat 345
 \begin_document
 \begin_header
 \pdf_colorlinks true
 \pdf_backref false
 \pdf_pdfusetitle false
-\pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
+\pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
 \papersize default
 \use_geometry false
 \use_amsmath 2
@@ -1262,7 +1262,7 @@ reference "cha:Output-File-Formats"
 , every output document format allows only a few image formats.
  LyX uses therefore the program 
 \family typewriter
-Imagemagick
+ImageMagick
 \family default
  in the background to convert the images to the right format.
  To increase your work flow by avoiding these conversions in the background,
 </cell>
 </row>
 <row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -12308,8 +12308,7 @@ raggedright}
 
 \begin_layout Standard
 create a 3×3 table.
- To get rid of the line above the last cell in the first column, the cell
- is marked as multicolumn and the upper border is unset.
+ Unset the upper border of the last cell in the first column.
  The multirow is now created in the second row of the first column by inserting
  there the command
 \end_layout
@@ -16886,6 +16885,7 @@ reference "tab:Several-table-cell"
 
 \begin_layout Standard
 \begin_inset Float table
+placement h
 wide false
 sideways false
 status open
@@ -17223,7 +17223,7 @@ LaTeX-packages ! dcolumn
 \end_inset
 
  that provides table cell alignments.
- But this unfortunately treats the cell entries as math and doesn't allow
+ But this unfortunately treats the cell entries as math and does not allow
  formulas in table cells: The first column of Table
 \begin_inset space ~
 \end_inset
@@ -17269,6 +17269,13 @@ dcolumn
 .
 \end_layout
 
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \begin_inset Float table
 placement h
@@ -17302,7 +17309,7 @@ Alignments when LaTeX-package dcolumn is used.
 <features>
 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
+<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
 <row>
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
 \begin_inset Text
@@ -17380,7 +17387,7 @@ times
 
 \end_inset
 
-24~
+24+
 \begin_inset Formula $\mbox{bottles}$
 \end_inset
 
@@ -17438,7 +17445,7 @@ times
 
 \end_inset
 
-768~
+768+
 \begin_inset Formula $\mbox{Pixels}$
 \end_inset
 
@@ -17496,7 +17503,7 @@ times
 
 \end_inset
 
-6~
+6+
 \begin_inset Formula $\mbox{cm}$
 \end_inset
 
 \end_inset
 
 
+\end_layout
+
+\begin_layout Section
+Subfloats
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Floats ! Subfloats
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Subfloats are for example used when a figure consists of several images.
+ They are created by inserting a float to an existing float.
+ The placement of the subfloats can be controlled like for paragraphs as
+ shown in table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Two-subtables-side"
+
+\end_inset
+
+ and 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Two-subtables-upon"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Referencing subfloats works as for normal floats: Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:This-is-subtable-a"
+
+\end_inset
+
+ and 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:This-is-subtable-b"
+
+\end_inset
+
+ are subtables of table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Two-subtables-side"
+
+\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:Two-subtables-side"
+
+\end_inset
+
+Two subtables placed side by side.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:This-is-subtable-a"
+
+\end_inset
+
+This is subtable a.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features>
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:This-is-subtable-b"
+
+\end_inset
+
+This is subtable b.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features>
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Two-subtables-upon"
+
+\end_inset
+
+Two subtables placed one upon the other.
+ (a) table with 4 cells, (b) table with 5 cells.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="4">
+<features>
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features>
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -22029,14 +22529,14 @@ tableposition=top
 \series default
  has no effect when a 
 \series bold
-koma-script
+KOMA-script
 \series default
 
 \begin_inset Index
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-script
 \end_layout
 
 \end_inset
@@ -22137,33 +22637,33 @@ thefigure
 
 If you are using a 
 \series bold
-koma-script
+KOMA-script
 \series default
 
 \begin_inset Index
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-script
 \end_layout
 
 \end_inset
 
  document class (
 \family sans
-article (koma-script)
+article (KOMA-script)
 \family default
 , 
 \family sans
-book (koma-script)
+book (KOMA-script)
 \family default
 , 
 \family sans
-letter (koma-script)
+letter (KOMA-script)
 \family default
 , or 
 \family sans
-report (koma-script)
+report (KOMA-script)
 \family default
 
 \begin_inset space \thinspace{}
@@ -22175,7 +22675,7 @@ caption
 \series default
  package use 
 \series bold
-koma-script
+KOMA-script
 \series default
 's built-in command 
 \series bold
@@ -22207,12 +22707,12 @@ setkomafont
 \series default
  we refer to the 
 \series bold
-koma-script
+KOMA-script
 \series default
  documentation 
 \begin_inset CommandInset citation
 LatexCommand cite
-key "koma-script"
+key "KOMA-script"
 
 \end_inset
 
@@ -22509,33 +23009,33 @@ tableposition=top
 \begin_layout Standard
 If you are using a 
 \series bold
-koma-script
+KOMA-script
 \series default
 
 \begin_inset Index
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-script
 \end_layout
 
 \end_inset
 
  document class (
 \family sans
-article (koma-script)
+article (KOMA-script)
 \family default
 , 
 \family sans
-book (koma-script)
+book (KOMA-script)
 \family default
 , 
 \family sans
-letter (koma-script)
+letter (KOMA-script)
 \family default
 , or 
 \family sans
-report (koma-script)
+report (KOMA-script)
 \family default
 
 \begin_inset space \thinspace{}
@@ -24917,7 +25417,7 @@ In some scientific literature it is usual to collect the footnotes and print
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "fig:Endnotes----footnotes"
+reference "fig:Endnotes"
 
 \end_inset
 
@@ -24940,44 +25440,27 @@ Endnotes
 
 \end_inset
 
- To use endnotes instead of footnotes in your document, load the LaTeX-package
+ To use endnotes instead of footnotes in your document, load in the menu
  
-\series bold
-endnotes
-\series default
-
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! endnotes
-\end_layout
-
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules 
+\family default
+the module 
+\family sans
+Foot
+\begin_inset space ~
 \end_inset
 
- with the document preamble lines
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage{endnotes}
-\begin_inset Newline newline
+to
+\begin_inset space ~
 \end_inset
 
-
-\backslash
-let
-\backslash
-footnote
-\backslash
-endnote
-\end_layout
-
-\begin_layout Standard
-To insert the collected footnotes, insert the command
+End
+\family default
+.
+ To insert the collected footnotes, insert the command
 \end_layout
 
 \begin_layout Standard
@@ -25039,7 +25522,7 @@ status collapsed
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "fig:Endnotes----footnotes"
+name "fig:Endnotes"
 
 \end_inset
 
@@ -31011,12 +31494,12 @@ fleqn
 \end_layout
 
 \begin_layout Chapter
-External Stuff
+External Document Parts
 \begin_inset Index
 status collapsed
 
 \begin_layout Plain Layout
-External Stuff
+External Document Parts
 \end_layout
 
 \end_inset
@@ -31091,7 +31574,7 @@ External Material
 status collapsed
 
 \begin_layout Plain Layout
-External Stuff ! External Material
+External Document Parts ! External Material
 \end_layout
 
 \end_inset
@@ -31587,7 +32070,7 @@ name "sec:Child-Documents"
 status collapsed
 
 \begin_layout Plain Layout
-External Stuff ! Child Documents
+External Document Parts ! Child Documents
 \end_layout
 
 \end_inset
@@ -31629,8 +32112,8 @@ Document
 Class
 \family default
 .
- This master file will then be used in the background by LyX when you edit
- the child document.
+ This master document will then be used in the background by LyX when you
edit the child document.
 \end_layout
 
 \begin_layout Standard
@@ -31711,69 +32194,58 @@ reference "sub:External-Subsection-1"
 \begin_layout Standard
 The preamble of the child document is ignored, only the preamble of the
  master document is used.
+ Branches in child documents will be ignored by the master document when
+ the master document does not have a branch with the same name.
  Included documents are inserted starting on a new page and end with a page
  break.
 \end_layout
 
 \begin_layout Standard
-With the LaTeX-command 
-\series bold
+In case you are only working on a certain chapter of a large document and
+ want to save compiling time, you can put each included file into a branch.
+\begin_inset Foot
+status collapsed
 
-\backslash
-includeonly 
-\series default
-you can specify which included child documents are processed when the output
- is generated.
- This is useful when you are perhaps only working on a certain chapter of
- your large document as this saves compiling time.
-\series bold
+\begin_layout Plain Layout
+Branches are described in section 
+\emph on
+Branches
+\emph default
+ of the LyX 
+\emph on
+Userguide
+\emph default
+.
+\end_layout
 
-\backslash
-includeonly
-\series default
- is inserted to the master document preamble.
- It takes a comma-separated list of the filenames as argument, e.
-\begin_inset space \thinspace{}
 \end_inset
 
-g.
+ By enabling/disabling branches you can decide what included files will
+ appear in the output.
 \end_layout
 
 \begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
 
 \series bold
+Note:
+\series default
+ Due to a bug in LyX the LaTeX command 
+\series bold
 
 \backslash
-includeonly{chapter1,chapter5}
+includeonly
+\series default
+ can currently not be used as alternative to decide what files should be
+ included.
 \end_layout
 
-\begin_layout Standard
-will only process the included files named 
-\begin_inset Quotes eld
-\end_inset
-
-chapter1.lyx
-\begin_inset Quotes erd
-\end_inset
-
- (or 
-\begin_inset Quotes eld
 \end_inset
 
-chapter1.tex
-\begin_inset Quotes erd
-\end_inset
-
-) and 
-\begin_inset Quotes eld
-\end_inset
-
-chapter5.lyx
-\begin_inset Quotes erd
-\end_inset
 
- .
 \end_layout
 
 \begin_layout Standard
@@ -34163,7 +34635,7 @@ LaTeX-packages ! hyperref
 \begin_layout Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "koma-script"
+key "KOMA-script"
 
 \end_inset
 
@@ -34172,7 +34644,7 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "koma-script"
+name "KOMA-script"
 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
 
 \end_inset
@@ -34184,7 +34656,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrg
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-script
 \end_layout
 
 \end_inset