]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Change Shortcuts.lyx from Landscape to Portrait, add svn:eol-stype=native property
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index 87872c6a8866021c84c82c6928260105157f5ec4..2fb398a2764b42013872362eedc0941d81ff5c7f 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 338
+#LyX 1.6.0rc1 created this file. For more info see http://www.lyx.org/
+\lyxformat 340
 \begin_document
 \begin_header
 \textclass scrbook
@@ -415,7 +415,7 @@ Graphics
 \end_layout
 
 \begin_layout Standard
-The graphics dialog can be called at any time by right-clicking on an image.
+The graphics dialog can be called at any time by clicking on an image.
  This dialog has three tabs:
 \end_layout
 
@@ -536,34 +536,26 @@ box
 \begin_layout Description
 
 \family sans
-Extra
+LaTeX
 \begin_inset space ~
 \end_inset
 
-options
-\family default
- In this tab you can modify the appearance of the image within LyX and set
- the image to be a subfigure of a figure float with an own caption.
- Subfigures are explained in section
+and
 \begin_inset space ~
 \end_inset
 
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Figure-Floats"
-
-\end_inset
-
-.
-\begin_inset Newline newline
+LyX
+\begin_inset space ~
 \end_inset
 
- LaTeX experts can also specify on this tab additional LaTeX options.
+options
+\family default
+ In this tab you can modify the appearance of the image within LyX and LaTeX
+ experts can specify additional LaTeX options.
 \begin_inset Newline newline
 \end_inset
 
- The option 
+The option 
 \family sans
 Draft
 \begin_inset space ~
@@ -653,6 +645,38 @@ x.eps.bb
 \end_inset
 
  that is needed by LaTeX for zipped graphics.
+\begin_inset Newline newline
+\end_inset
+
+The field 
+\family sans
+Initialize
+\begin_inset space ~
+\end_inset
+
+Group
+\begin_inset space ~
+\end_inset
+
+Name
+\family default
+ allows you define or join an image settings group.
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Figures ! Settings grouping
+\end_layout
+
+\end_inset
+
+ Images within such a group share their settings, so adjusting one image
+ of the group automatically also adjusts all other images of the group in
+ the same way.
+ So you can for example change the size for a bunch of images without the
+ need to manually change each of them.
+ Joining an existing group can also be done using the context menu of the
+ image by checking the name of the desired group.
 \end_layout
 
 \begin_layout Standard
@@ -716,6 +740,13 @@ This is the same image like the one above but in draft mode:
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -1065,7 +1096,7 @@ status open
 \begin_inset Float figure
 wide false
 sideways false
-status open
+status collapsed
 
 \begin_layout Plain Layout
 \begin_inset Caption
@@ -1090,6 +1121,7 @@ Undefinable structure.
        filename clipart/escher-lsd.eps
        width 45col%
        scaleBeforeRotation
+       groupId distorted
 
 \end_inset
 
@@ -1106,7 +1138,7 @@ Undefinable structure.
 \begin_inset Float figure
 wide false
 sideways false
-status open
+status collapsed
 
 \begin_layout Plain Layout
 \begin_inset Caption
@@ -1129,9 +1161,9 @@ A Platypus.
 \begin_layout Plain Layout
 \begin_inset Graphics
        filename clipart/platypus.eps
-       lyxscale 60
        width 45col%
        scaleBeforeRotation
+       groupId distorted
 
 \end_inset
 
@@ -1158,6 +1190,15 @@ name "fig:Two-distorted-images"
 \end_inset
 
 Two distorted images.
+ Both images are in the image settings group named 
+\begin_inset Quotes eld
+\end_inset
+
+distorted
+\begin_inset Quotes erd
+\end_inset
+
+.
 \end_layout
 
 \end_inset
@@ -1168,6 +1209,13 @@ Two distorted images.
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -2936,7 +2984,7 @@ table
 Longtable
 \family default
  of the table dialog to split the table automatically over more pages.
- Doing this enables some check boxes and you can now define:
+ Doing this enables the following options:
 \end_layout
 
 \begin_layout Description
@@ -3002,6 +3050,28 @@ footer
  defined, are defined to be the footer rows of the last page of the longtable.
 \end_layout
 
+\begin_layout Description
+Caption: The first row is reset as single column.
+ You can now insert there the table caption via the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Caption
+\family default
+.
+ More about longtable captions is explained in sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Longtable-Captions"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Standard
 You can also specify a row where the table is splitted.
  If you set more than one option in the same table row, you should be aware
@@ -5658,69 +5728,20 @@ name "sub:Longtable-Captions"
 A longtable cannot be put into a table float because floats can only be
  on one page but the caption environment of floats can also be used for
  longtables.
-\end_layout
-
-\begin_layout Standard
-As LyX does not yet fully support captions in longtables, a hack is needed
- to create them:
-\end_layout
-
-\begin_layout Enumerate
-Create a longtable
-\family sans
-.
-\end_layout
-
-\begin_layout Enumerate
-Mark the first row and disable its upper line.
-\end_layout
-
-\begin_layout Enumerate
-Insert a caption via the menu 
-\family sans
-Insert\SpecialChar \menuseparator
-Caption
-\family default
- into the first table cell.
-\begin_inset Newline newline
-\end_inset
-
-You can also add a short title for the caption.
-\end_layout
-
-\begin_layout Enumerate
-Insert a 
-\begin_inset Quotes eld
+ Therefore the caption is inserted as first row of the table, as explained
+ in sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
-\series bold
-
-\backslash
-
-\backslash
-%
-\series default
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Longtables"
 
-\begin_inset Quotes erd
 \end_inset
 
- as TeX-Code behind the caption.
-\end_layout
-
-\begin_layout Standard
-A short title that will appear in the LOT instead of the full title.
- The 
-\series bold
-
-\backslash
-
-\backslash
-%
-\series default
- behind the caption omits the vertical lines between the following cells
- in the row.
- The first table row is now only a dummy row for the caption, the actual
+.
+ The first table row is then only a dummy row for the caption, the actual
  table starts with the second row.
 \end_layout
 
@@ -6095,9 +6116,9 @@ status open
 \series bold
 Note:
 \series default
- If you are using the LaTeX-package 
+ If you are using
 \series bold
-hyperref
+ hyperref
 \series default
 
 \begin_inset Index
@@ -6109,8 +6130,16 @@ LaTeX-packages ! hyperref
 
 \end_inset
 
- to link cross-references, the link to a longtable caption will always point
- to the beginning of the document.
+ in the 
+\family sans
+PDF Properties
+\family default
+ of the 
+\family sans
+Document Settings
+\family default
+ dialog to link cross-references, the link to a longtable caption will always
+ point to the beginning of the document.
 \end_layout
 
 \end_inset
@@ -6454,19 +6483,6 @@ asd
 
 \begin_layout Standard
 To reference a longtable, insert a label into the caption.
- Note that you have to add the label prefix 
-\begin_inset Quotes eld
-\end_inset
-
-
-\emph on
-tab:
-\emph default
-
-\begin_inset Quotes eld
-\end_inset
-
- manually in the label field.
 \end_layout
 
 \begin_layout Standard
@@ -6485,7 +6501,7 @@ reference "tab:RefExample"
 \end_layout
 
 \begin_layout Standard
-The caption layout can be set together with all other caption of your document
+The caption layout can be set together with all other captions of your document
  using the LaTeX-package 
 \series bold
 caption
@@ -7383,7 +7399,7 @@ reference "tab:DiffCaptions"
 \begin_layout Standard
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="59" columns="3">
+<lyxtabular version="3" rows="60" columns="3">
 <features islongtable="true">
 <column alignment="left" valignment="top" width="0cm">
 <column alignment="left" valignment="top" width="0pt">
@@ -8089,7 +8105,7 @@ Rizzardi
 \series default
 
 \begin_inset Foot
-status collapsed
+status open
 
 \begin_layout Plain Layout
 Example footnote
@@ -9263,6 +9279,35 @@ Roberto
 555
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 </cell>
 </row>
@@ -9522,7 +9567,7 @@ must be inserted as TeX-Code at the beginning of the cell.
 \begin_layout Standard
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="38" columns="3">
+<lyxtabular version="3" rows="39" columns="3">
 <features islongtable="true">
 <column alignment="left" valignment="top" width="0cm">
 <column alignment="left" valignment="top" width="3cm">
@@ -10772,6 +10817,35 @@ Franz
 111
 \end_layout
 
+\end_inset
+</cell>
+</row>
+<row endlastfoot="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
 \end_inset
 </cell>
 </row>
@@ -10825,7 +10899,7 @@ Table ! Linebreaks
 \end_layout
 
 \begin_layout Standard
-\align center
+\noindent
 \begin_inset Float table
 placement H
 wide false
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsection
@@ -12064,16 +12131,6 @@ Table ! Multirows
 \end_inset
 
 
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! multirow
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -12083,6 +12140,16 @@ In contrary to multicolumns multirows are not yet supported by LyX so a
 \series bold
 multirow
 \series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! multirow
+\end_layout
+
+\end_inset
+
  in your document preamble with the command
 \end_layout
 
@@ -19793,7 +19860,7 @@ Floats ! References
 status collapsed
 
 \begin_layout Plain Layout
-References
+References ! to Floats
 \end_layout
 
 \end_inset
@@ -20108,9 +20175,31 @@ The LaTeX-package
 \series bold
 hyperref
 \series default
- provides a very useful feature that cross-references automatically include
- the name of the referenced floats (or text parts like sections).
- You save to write e.
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! hyperref
+\end_layout
+
+\end_inset
+
+, that is enabled in the 
+\family sans
+PDF Properties
+\family default
+ of the 
+\family sans
+Document Settings
+\family default
+ dialog, provides a very useful feature that cross-references automatically
+ include the name of the referenced floats (or text parts like 
+\emph on
+section
+\emph default
+).
+ So you will save to write e.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -20126,23 +20215,53 @@ Figure
 \begin_inset Quotes erd
 \end_inset
 
- before every reference box.
- To get this automatic reference naming, you have to load the LaTeX-package
+ before every reference to a figure.
+ To use this feature, enable 
 \series bold
 hyperref
 \series default
+ and insert this line to the LaTeX preamble:
+\end_layout
 
-\begin_inset Index
-status collapsed
+\begin_layout Standard
 
-\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\series bold
+
+\backslash
+AtBeginDocument{
+\backslash
+renewcommand{
+\backslash
+ref}[1]{
+\backslash
+mbox{
+\backslash
+autoref{#1}}}}
 \end_layout
 
+\begin_layout Standard
+When you prefer other reference names than the default ones, for example
+ you want instead of 
+\begin_inset Quotes eld
 \end_inset
 
- in the document preamble with
+section
+\begin_inset Quotes erd
+\end_inset
+
+ the name 
+\begin_inset Quotes eld
+\end_inset
+
+sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+, you can redefine the name by inserting this to the preamble:
 \end_layout
 
 \begin_layout Standard
@@ -20150,49 +20269,118 @@ LaTeX-packages ! hyperref
 \series bold
 
 \backslash
-usepackage[pdfborder={0 0 0}]{hyperref}
-\begin_inset Newline newline
-\end_inset
-
-
+addto
 \backslash
-AtBeginDocument{
+extrasenglish{
 \backslash
 renewcommand{
 \backslash
-ref}[1]{
+sectionautorefname}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
 \backslash
-mbox{
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{sec.
 \backslash
-autoref{#1}}}}
+negthinspace}}
 \end_layout
 
 \begin_layout Standard
+When you are using another document language than English, replace
+\begin_inset Newline newline
+\end_inset
+
 
 \series bold
-hyperref
+
+\backslash
+extrasenglish
 \series default
- is used to link cross-references in the DVI- and PDF-output, this means
- that the reader of your document will be able to click on a table of content
- (TOC) entry or on a reference and he will be shown the referenced document
- part.
+ by 
 \series bold
-hyperref
+
+\backslash
+extras***
 \series default
- also creates PDF-bookmarks for every section of your document to make it
- easier for readers to navigate through the document.
- This is also used in this document but when you have a look in the document
- preamble you will find various options in the load command of 
+, where *** is the name of the used language.
+\end_layout
+
+\begin_layout Standard
+To get automatic names, but not for certain reference types, for example
+ not for equations, use this preamble code:
+\end_layout
+
+\begin_layout Standard
+
 \series bold
-hyperref
-\series default
-.
- To learn more about the 
+
+\backslash
+newlength{
+\backslash
+abc}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+settowidth{
+\backslash
+abc}{
+\backslash
+space}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+addto
+\backslash
+extrasenglish{
+\backslash
+renewcommand{
+\backslash
+equationautorefname}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{
+\backslash
+hspace{-
+\backslash
+abc}}
+\end_layout
+
+\begin_layout Standard
+More about this topic can be found in 
 \series bold
 hyperref
 \series default
- package, we refer to its documentation 
+'s documentation 
 \begin_inset CommandInset citation
 LatexCommand cite
 key "hyperref"
@@ -20220,7 +20408,7 @@ Formatted
 
 reference
 \family default
- style, described in section
+ style, as described in section
 \begin_inset space ~
 \end_inset
 
@@ -20239,6 +20427,14 @@ reference "sub:Cross-Reference-Formats"
 
 \end_layout
 
+\begin_layout Standard
+The 
+\emph on
+Math
+\emph default
+ manual is an example where automatic reference naming is used.
+\end_layout
+
 \begin_layout Subsection
 Reference Position
 \begin_inset CommandInset label
@@ -20275,8 +20471,16 @@ LaTeX-packages ! hyperref
 
 \end_inset
 
- to link cross-references in the output, you will see that clicking on an
- image float reference jumps to the image label.
+ in the 
+\family sans
+PDF Properties
+\family default
+ of the 
+\family sans
+Document Settings
+\family default
+ dialog to link cross-references in the output, you will see that clicking
+ on an image float reference jumps to the image label.
  The caption will be the first text part on the screen, so that you cannot
  see the image without scrolling.
  This is because the reference link anchor is placed at the position of
@@ -20330,7 +20534,7 @@ You can also use
 \series bold
 hypcap
 \series default
- for all floats but this isn't recommended for stability reasons.
+ for all float types but this is not recommended for stability reasons.
  For more informations, have a look at 
 \series bold
 hypcap
@@ -20355,31 +20559,6 @@ status open
 Note:
 \series default
  
-\series bold
-hypcap
-\series default
- must be loaded after 
-\series bold
-hyperref
-\series default
- in the document preamble.
-\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
@@ -21336,16 +21515,6 @@ Floats ! Caption Formatting
 \end_inset
 
 
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! caption
-\end_layout
-
-\end_inset
-
-
 \begin_inset CommandInset label
 LatexCommand label
 name "sec:Caption-Formatting"
@@ -25714,7 +25883,7 @@ Box (Minipage)
 
 \end_inset
 
-, will be inserted.
+ will be inserted.
  The box type can be specified by right-clicking on the box.
  The appearing box dialog offers the 
 \family sans
@@ -30656,7 +30825,7 @@ Templates
 
 \begin_layout Description
 ChessDiagram This template supports chess position diagrams made with the
- programas 
+ program 
 \series bold
 
 \begin_inset CommandInset href
@@ -30749,6 +30918,28 @@ target "http://en.wikipedia.org/wiki/LilyPond"
 .
 \end_layout
 
+\begin_layout Description
+PDFPages With this template you can insert PDF documents to your document.
+ To insert certain or all pages of a PDF, use the 
+\emph on
+pages
+\emph default
+ option in the 
+\family sans
+Option
+\family default
+ field in the 
+\family sans
+LaTeX and LyX options
+\family default
+ tab according to the template description in the dialog.
+ When no 
+\emph on
+pages
+\emph default
+ option is given, only the first page of the PDF will be inserted.
+\end_layout
+
 \begin_layout Description
 RasterImage This can be used for bitmap images.
  Nearly all popular image formats are supported.
@@ -31025,19 +31216,15 @@ External material is displayed in LyX either as box like this:
 
 \end_inset
 
- or as image, depending on the setting in the 
+ or as image, depending on the option 
 \family sans
-LyX
-\begin_inset space ~
-\end_inset
-
-View
+Show in LyX
 \family default
tab of the 
in the 
 \family sans
-External Material
+LaTeX and LyX options
 \family default
- dialog.
tab of the dialog.
 \end_layout
 
 \begin_layout Standard