]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
* EmbeddedObjects.lyx
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index 2fb398a2764b42013872362eedc0941d81ff5c7f..03eb2790b8321c7f0154420d2e44e444ee170666 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0rc1 created this file. For more info see http://www.lyx.org/
-\lyxformat 340
+#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 345
 \begin_document
 \begin_header
 \textclass scrbook
   {LyX }}
 \end_preamble
 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\use_default_options false
 \language english
 \inputencoding auto
 \font_roman default
 \pdf_pdfborder false
 \pdf_colorlinks true
 \pdf_backref false
-\pdf_pagebackref false
 \pdf_pdfusetitle false
 \pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,  pdfpagelayout=OneColumn, pdfnewwindow=true,  pdfstartview=XYZ, plainpages=false, pdfpagelabels"
 \papersize default
 \bullet 1 1 34 -1
 \bullet 2 2 35 -1
 \bullet 3 2 7 -1
-\tracking_changes false
+\tracking_changes true
 \output_changes false
-\author "" 
+\author "pavel" 
+\author "pavel" 
 \author "" 
 \end_header
 
@@ -265,7 +266,7 @@ author: Uwe Stöhr
 
 
 \family sans
-Version 1.6svn
+Version 1.6.1
 \end_layout
 
 \begin_layout Standard
@@ -321,13 +322,6 @@ http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
 
 \begin_layout Chapter
 Figures
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Figures"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -589,7 +583,7 @@ export
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 
@@ -1711,13 +1705,6 @@ PDF/EPS converter available.
 
 \begin_layout Chapter
 Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Tables"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -5268,7 +5255,7 @@ addtocounter{table}{-1}
 status collapsed
 
 \begin_layout Plain Layout
-See greyed-out note in section
+See the first greyed-out note in section
 \begin_inset space ~
 \end_inset
 
@@ -5701,6 +5688,40 @@ fill}
 \end_inset
 
 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+addtocounter{table}{-1}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+See the first greyed-out note in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Longtable-Captions"
+
+\end_inset
+
+ for an explanation of this command.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Subsection
@@ -6076,12 +6097,23 @@ status open
 \begin_layout Plain Layout
 
 \series bold
-Note:
+Note
+\begin_inset space ~
+\end_inset
+
+1:
 \series default
  The table number is increased for every longtable, also if you didn't set
  a caption for it.
- For this reason you could have the case that e.g.
- Table
+ For this reason you could have the case that e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+Table
 \begin_inset space ~
 \end_inset
 
@@ -6102,6 +6134,35 @@ Note:
 addtocounter{table}{-1}
 \end_layout
 
+\begin_layout Plain Layout
+This is not needed when none of your longtables have a caption and you add
+ the following code to the document preamble:
+\end_layout
+
+\begin_layout Plain Layout
+
+\series bold
+
+\backslash
+let
+\backslash
+myEnd
+\backslash
+endlongtable
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+endlongtable}{
+\backslash
+myEnd
+\backslash
+addtocounter{table}{-1}}
+\end_layout
+
 \end_inset
 
 
@@ -6114,7 +6175,11 @@ status open
 \begin_layout Plain Layout
 
 \series bold
-Note:
+Note
+\begin_inset space ~
+\end_inset
+
+2:
 \series default
  If you are using
 \series bold
@@ -7323,8 +7388,15 @@ in wide caption, you can either use a value slightly different from 4.0
 \begin_inset space \thinspace{}
 \end_inset
 
-in, e.g.
- 3.99
+in, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+3.99
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -9421,7 +9493,7 @@ By default tables are only broken between rows.
 \begin_inset Quotes erd
 \end_inset
 
- as TeX-Code at this point of the cell where it should be broken.
+ as TeX-Code at this point of the cell where it can be broken.
  Before the 
 \series bold
 
@@ -9506,7 +9578,9 @@ Castelchiodato,
 \backslash
 
 \backslash
-
+\backslash
+newpage
 \begin_inset Newline newline
 \end_inset
 
@@ -9523,6 +9597,14 @@ The
 \end_inset
 
  in the third columns of the row was deleted.
+\series bold
+
+\backslash
+newpage
+\series default
+ is only needed when a page break should definitively occur at this position,
+ otherwise it is only a possibility to break.
  If your footer row of the longtable has for a certain reason no upper line
  but you would have a horizontal line where the cell is broken, use this
  command instead:
@@ -10542,7 +10624,9 @@ status open
 \backslash
 
 \backslash
-
+\backslash
+newpage
 \end_layout
 
 \begin_layout Plain Layout
@@ -10854,13 +10938,6 @@ Franz
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
 \end_layout
 
 \begin_layout Section
@@ -11065,9 +11142,11 @@ cm and choose centered for the vertical and horizontal alignment.
 
 cm, only one line will appear.
  To get two lines, a justified line break (shortcut 
-\family sans
-Ctrl-Shift-Return
-\family default
+\begin_inset Info
+type  "shortcut"
+arg   "newline-insert linebreak"
+\end_inset
+
 ) was added.
  If the text is wider than the set cell width, it will automatically be
  broken to several lines.
@@ -12531,7 +12610,7 @@ System
 
 \begin_layout Plain Layout
 Medipix
-\begin_inset Formula $\,$
+\begin_inset space \thinspace{}
 \end_inset
 
 1
@@ -12544,7 +12623,7 @@ Medipix
 
 \begin_layout Plain Layout
 Medipix
-\begin_inset Formula $\,$
+\begin_inset space \thinspace{}
 \end_inset
 
 2
@@ -14883,7 +14962,7 @@ You can e.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 define the color "
@@ -16359,6 +16438,364 @@ array
  is used in the above command.)
 \end_layout
 
+\begin_layout Standard
+In case you are using font sizes larger than the normal size, the table
+ borders are often too close to the letters.
+ This can be corrected by inserting the command 
+\series bold
+
+\backslash
+strut
+\series default
+ in TeX code at the beginning of a table row.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Vertical-alignment-of"
+
+\end_inset
+
+ visualizes the effect.
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset Float table
+placement h
+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:Vertical-alignment-of"
+
+\end_inset
+
+Vertical alignment of text with large font sizes.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\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
+Normal table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="1">
+<features>
+<column alignment="left" valignment="top" width="0">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Normal, g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size large
+Large
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size larger
+Larger
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size largest
+Largest
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size huge
+Huge
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size huge
+Huger
+\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
+Table using the command 
+\series bold
+
+\backslash
+strut
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="1">
+<features>
+<column alignment="left" valignment="top" width="0">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Normal, g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size large
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut 
+\end_layout
+
+\end_inset
+
+Large
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size larger
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut 
+\end_layout
+
+\end_inset
+
+Larger
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size largest
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut 
+\end_layout
+
+\end_inset
+
+Largest
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size huge
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut 
+\end_layout
+
+\end_inset
+
+Huge
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size giant
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut 
+\end_layout
+
+\end_inset
+
+
+\size huge
+Huger
+\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 Subsection
 Special Cell Alignment
 \begin_inset Index
@@ -16380,7 +16817,7 @@ Sometimes it looks better when the cell entries of a column are aligned
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 with the decimal separator as in Table
@@ -18991,13 +19428,6 @@ Floats
 \end_inset
 
 
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Floats"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Section
@@ -19168,13 +19598,6 @@ Floats ! Algorithms
 \end_inset
 
 
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Algorithm-Floats"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -19427,13 +19850,6 @@ Floats ! Wrap Floats
 \end_inset
 
 
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:wrap-floats"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -19646,7 +20062,7 @@ wrap float floats are fragile! E.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 having a figure too close to the bottom of the page can mess things up in
@@ -19686,13 +20102,6 @@ Wrap floats are not allowed in section headings or tables.
 
 \begin_layout Section
 Float Numbering
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Float-Numbering"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -19898,7 +20307,7 @@ Label
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 for figure floats the prefix will be "
@@ -20127,7 +20536,7 @@ Note that the style <page> won't print the page number if the label is on
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 see the text 
@@ -20204,7 +20613,7 @@ section
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 the name 
@@ -21539,7 +21948,7 @@ Floats
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 
@@ -21758,8 +22167,15 @@ key "caption"
 \end_layout
 
 \begin_layout Standard
-To change the label name from e.g.
+To change the label name from e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
 \begin_inset Quotes eld
 \end_inset
 
 
 \begin_layout Section
 Listings of Floats
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Listings-of-Floats"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -23322,13 +23731,6 @@ Notes
 
 \begin_layout Section
 LyX Notes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:LyX-Notes"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed
 
@@ -24378,7 +24780,7 @@ If you have several footnotes in one page, they appear without vertical
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 add 1.5
@@ -26142,7 +26544,7 @@ Height This is the heigth of the text that is inside the box.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 2 for this size will set the box heigth to 2 times the text height: 
@@ -26360,7 +26762,7 @@ Note:
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 a shadow and the other one not.
@@ -27016,7 +27418,7 @@ pt.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 2
@@ -28254,7 +28656,7 @@ The document-wide paragraph settings are ignored within minipages.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 
@@ -28556,9 +28958,11 @@ Line
 Break
 \family default
  (shortcut 
-\series bold
-Ctrl-Return
-\series default
+\begin_inset Info
+type  "shortcut"
+arg   "newline-insert newline"
+\end_inset
+
 ) a line break before the word:
 \end_layout
 
@@ -29137,7 +29541,7 @@ To have e.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 a red background for a word, insert the command
@@ -30466,7 +30870,7 @@ The boxes can be combined in any order.
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 the command
@@ -30798,6 +31202,13 @@ The external material feature allows you to insert files to your document
  document output format because LyX takes care of needed conversions.
  This is similar to images that can be inserted in various image formats
  to LyX documents.
+
+\change_inserted 0 1229737274
+ Note that when Instant Preview enables you to see some of the external
+ material directly in LyX window (e.g.
+ Xfig or Dia).
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -30983,6 +31394,26 @@ target "http://en.wikipedia.org/wiki/Xfig"
 .
 \end_layout
 
+\begin_layout Description
+
+\change_inserted 1 1229526672
+Dia This template supports diagrams created with the program 
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Dia"
+target "http://en.wikipedia.org/wiki/Dia_(software)"
+
+\end_inset
+
+
+\series default
+.
+\change_unchanged
+
+\end_layout
+
 \begin_layout Standard
 \begin_inset Float table
 placement h
@@ -31275,6 +31706,25 @@ Child documents are used when you have a long document consisting of several
  the document in several files that can be revised separately.
  The different documents are then the so called child documents and a master
  document connects them to print the full document or parts of it.
+ A child documents inherits contents of its master, for example the bibliography
+ and the labels for cross-references.
+\end_layout
+
+\begin_layout Standard
+To be able to work on child documents without the need to open its master,
+ specify in the child document the master in the menu
+\family sans
+ Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
+
+Class
+\family default
+.
+ This master file will then be used in the background by LyX when you edit
+ the child document.
 \end_layout
 
 \begin_layout Standard
@@ -31377,7 +31827,11 @@ you can specify which included child documents are processed when the output
 includeonly
 \series default
  is inserted to the master document preamble.
- It takes a comma-separated list of the filenames as argument, e.g.
+ It takes a comma-separated list of the filenames as argument, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
 \end_layout
 
 \begin_layout Standard
@@ -31698,8 +32152,8 @@ LaTeX-packages ! listings
 \end_layout
 
 \begin_layout Standard
-When right-clicking on a listings inset a dialog pops up where you can set
- the listings format.
+Right-clicking on a listings inset opens the context menu containing where
you can set the listings format.
 \end_layout
 
 \begin_layout Standard
@@ -31799,7 +32253,7 @@ reference "sec:Float-Placement"
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 
@@ -31920,7 +32374,10 @@ status open
 \series bold
 Note:
 \series default
- If you don't get bold keywords when using typewriter fonts, your typewriter
+ If you don't get bold keywords when using typewriter fonts, your 
+\family typewriter
+typewriter
+\family default
  font probably doesn't provide a bold shape.
  In this case select a different one in the menu 
 \family sans
@@ -31961,8 +32418,15 @@ numbering
 Step
 \family default
 .
- When you insert e.g.
+ When you insert e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
 \begin_inset Quotes eld
 \end_inset
 
@@ -31978,11 +32442,7 @@ You can furthermore specify a range of lines, only these will then appear
  in the output.
  The option 
 \family sans
-Extended
-\begin_inset space ~
-\end_inset
-
-chars
+Extended character table
 \family default
  should be used when you use national characters like the German umlauts
  in the listing.
@@ -32009,11 +32469,7 @@ Python
 \begin_inset Quotes eld
 \end_inset
 
-Extended
-\begin_inset space ~
-\end_inset
-
-chars
+Extended character table
 \begin_inset Quotes erd
 \end_inset
 
@@ -32029,7 +32485,7 @@ as
 \begin_inset space ~
 \end_inset
 
-Symbol
+symbol
 \begin_inset Quotes erd
 \end_inset
 
@@ -32100,6 +32556,19 @@ pass
 
 \end_layout
 
+\begin_layout Standard
+When you have tabulators in your listing, you can specify the number of
+ characters that are spanned by a tabulator in the field 
+\family sans
+Tabulator
+\begin_inset space ~
+\end_inset
+
+size
+\family default
+.
+\end_layout
+
 \begin_layout Standard
 \begin_inset Note Greyedout
 status open
@@ -32214,7 +32683,7 @@ reference "lst:file-listing"
 \begin_inset CommandInset include
 LatexCommand lstinputlisting
 filename "EmbeddedObjects.lyx"
-lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
+lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
 
 \end_inset
 
@@ -33132,13 +33601,6 @@ View
 
 \begin_layout Section
 PDF
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:PDF"
-
-\end_inset
-
-
 \begin_inset Index
 status collapsed