]> 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 eaf97d2c031c523c4e7bebb04871f83b6147f26d..2fb398a2764b42013872362eedc0941d81ff5c7f 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 339
+#LyX 1.6.0rc1 created this file. For more info see http://www.lyx.org/
+\lyxformat 340
 \begin_document
 \begin_header
 \textclass scrbook
@@ -2984,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
@@ -3050,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
@@ -5706,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
 
@@ -6143,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
@@ -6157,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
@@ -6502,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
@@ -6533,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
@@ -7431,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">
@@ -8137,7 +8105,7 @@ Rizzardi
 \series default
 
 \begin_inset Foot
-status collapsed
+status open
 
 \begin_layout Plain Layout
 Example footnote
@@ -9311,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>
@@ -9570,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">
@@ -10820,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>
@@ -10873,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
@@ -12112,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
@@ -12131,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
 
@@ -19841,7 +19860,7 @@ Floats ! References
 status collapsed
 
 \begin_layout Plain Layout
-References
+References ! to Floats
 \end_layout
 
 \end_inset
@@ -20156,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
 
@@ -20174,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
+
+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
 
- in the document preamble with
+, you can redefine the name by inserting this to the preamble:
 \end_layout
 
 \begin_layout Standard
@@ -20198,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"
@@ -20268,7 +20408,7 @@ Formatted
 
 reference
 \family default
- style, described in section
+ style, as described in section
 \begin_inset space ~
 \end_inset
 
@@ -20287,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
@@ -20323,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
@@ -20378,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
@@ -20403,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
@@ -21384,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"