]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Japanese Tutorial.lyx: update by Koji
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index e95461f77efbe68efa0dbda8e4aee20b64ccb82c..8f5220c4ad5c53b68d92cbc39ba1906190183e09 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.0rc5 created this file. For more info see http://www.lyx.org/
-\lyxformat 344
+#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
 \begin_document
 \begin_header
 \textclass scrbook
 % redefine the \LyX macro for PDF bookmarks
 \def\LyX{\texorpdfstring{%
   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
-  {LyX }}
+  {LyX}}
 \end_preamble
 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
 \use_default_options false
@@ -265,7 +265,7 @@ author: Uwe Stöhr
 
 
 \family sans
-Version 1.6svn
+Version 1.6.x
 \end_layout
 
 \begin_layout Standard
@@ -2974,13 +2974,8 @@ Longtable
 \end_layout
 
 \begin_layout Description
-
-\family sans
-Header
-\family default
-: The current row and all rows above, that don't have any special options
- defined, are defined to be the header rows of all pages of the longtable;
- except for the first page, if 
+Header: The current row is defined to be a header row that appears on all
+ pages of the longtable; except for the first page, if 
 \family sans
 First
 \begin_inset space ~
@@ -2993,26 +2988,17 @@ header
 \end_layout
 
 \begin_layout Description
-
-\family sans
 First
 \begin_inset space ~
 \end_inset
 
-header
-\family default
-: The current row and all rows above, that don't have any special options
- defined, are defined to be the header rows of the first page of the longtable.
+header: The current row is defined to be a header row that appears on the
+ first page of the longtable.
 \end_layout
 
 \begin_layout Description
-
-\family sans
-Footer
-\family default
-: The current row and all rows below, that don't have any special options
- defined, are defined to be the footer rows of all pages of the longtable;
- except for the last page, if 
+Footer: The current row is defined to be a footer row that appears on all
+ pages of the longtable; except for the last page, if 
 \family sans
 Last
 \begin_inset space ~
@@ -3024,26 +3010,17 @@ footer
 \end_layout
 
 \begin_layout Description
-
-\family sans
 Last
 \begin_inset space ~
 \end_inset
 
-footer
-\family default
-: The current row and all rows below, that don't have any special options
- defined, are defined to be the footer rows of the last page of the longtable.
+footer: The current row is defined to be a footer row that appear on 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
-.
+Caption: The current row contains the table caption.
+ The row is reset as single column and a caption is inserted.
  More about longtable captions is explained in sec.
 \begin_inset space \thinspace{}
 \end_inset
@@ -3059,31 +3036,7 @@ reference "sub:Longtable-Captions"
 \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
- of the fact that only the first one is used in the given table row.
- The others will then be defined as 
-\emph on
-empty
-\emph default
-.
- In this context, first means first in this order: 
-\family sans
-Header,
-\family default
-\family sans
-First
-\begin_inset space ~
-\end_inset
-
-header, Footer, Last
-\begin_inset space ~
-\end_inset
-
-footer.
-
-\family default
+You can also specify a row where the table is split.
  See the following longtable to see how it works:
 \end_layout
 
@@ -3224,7 +3177,7 @@ TEL.
 </cell>
 </row>
 <row endfoot="true">
-<cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
+<cell multicolumn="1" alignment="right" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -5254,7 +5207,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
 
@@ -5687,6 +5640,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
@@ -5712,10 +5699,13 @@ name "sub:Longtable-Captions"
 
 \begin_layout Standard
 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.
- Therefore the caption is inserted as first row of the table, as explained
- in sec.
+ on one page.
+ But the caption environment of floats can also be used for longtables when
+ you use for a table row the longtable option 
+\family sans
+Caption
+\family default
+ as described in sec.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -5727,8 +5717,7 @@ reference "sec:Longtables"
 \end_inset
 
 .
- The first table row is then only a dummy row for the caption, the actual
- table starts with the second row.
+ Only one table row can contain the caption.
 \end_layout
 
 \begin_layout Standard
@@ -6062,7 +6051,11 @@ 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.
@@ -6095,6 +6088,35 @@ Table
 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
 
 
@@ -6107,7 +6129,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
@@ -6138,13 +6164,6 @@ Document Settings
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
 \end_layout
 
 \begin_layout Subsubsection
@@ -7361,12 +7380,8 @@ Longtables ! Different Captions for Pages
 \end_layout
 
 \begin_layout Standard
-When the other captions should differ from the one of the first table page,
- insert a caption with a non-empty short title in a dummy caption row marked
- as first header.
- The caption used for the other table pages is inserted as caption without
- a short title in a dummy caption row that is marked as main header.
- When this caption shouldn't include the table number, use the command
+When the table captions for the following pages should differ from the one
+ of the first table page, insert a caption with the TeX code command
 \end_layout
 
 \begin_layout Standard
@@ -7375,12 +7390,14 @@ When the other captions should differ from the one of the first table page,
 
 \backslash
 caption*{caption text}
+\backslash
+
+\backslash
+%
 \end_layout
 
 \begin_layout Standard
-instead of LyX's caption box.
- The label to reference the table is inserted into the caption of the first
- header.
+in a dummy caption row that is marked as header.
  Table
 \begin_inset space ~
 \end_inset
@@ -7399,13 +7416,13 @@ reference "tab:DiffCaptions"
 \begin_layout Standard
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="60" columns="3">
-<features islongtable="true">
+<lyxtabular version="3" rows="59" columns="3">
+<features islongtable="true" lastFootEmpty="true">
 <column alignment="left" valignment="top" width="0cm">
 <column alignment="left" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
-<row endfirsthead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7439,7 +7456,7 @@ Example Phone List
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7448,7 +7465,7 @@ Example Phone List
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7470,7 +7487,7 @@ Example Phone List (ignore the names)
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7479,7 +7496,7 @@ Example Phone List (ignore the names)
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7522,8 +7539,8 @@ TEL.
 \end_inset
 </cell>
 </row>
-<row endhead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row endhead="true">
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7548,7 +7565,7 @@ caption*{Continued Example Phone List}
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7557,7 +7574,7 @@ caption*{Continued Example Phone List}
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7599,7 +7616,7 @@ Example Phone List
 </cell>
 </row>
 <row endhead="true">
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -7619,7 +7636,7 @@ NAME
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9279,35 +9296,6 @@ 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>
@@ -9421,7 +9409,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 +9494,9 @@ Castelchiodato,
 \backslash
 
 \backslash
-
+\backslash
+newpage
 \begin_inset Newline newline
 \end_inset
 
@@ -9523,6 +9513,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:
@@ -9567,13 +9565,13 @@ must be inserted as TeX-Code at the beginning of the cell.
 \begin_layout Standard
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="39" columns="3">
-<features islongtable="true">
+<lyxtabular version="3" rows="38" columns="3">
+<features islongtable="true" lastFootEmpty="true">
 <column alignment="left" valignment="top" width="0cm">
 <column alignment="left" valignment="top" width="3cm">
 <column alignment="center" valignment="top" width="0pt">
-<row endfirsthead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9607,7 +9605,7 @@ Table with forced page break in table cell
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9616,7 +9614,7 @@ Table with forced page break in table cell
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9638,7 +9636,7 @@ Example Phone List (ignore the names)
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9647,7 +9645,7 @@ Example Phone List (ignore the names)
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9690,8 +9688,8 @@ TEL.
 \end_inset
 </cell>
 </row>
-<row endhead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row endhead="true">
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9702,7 +9700,7 @@ status collapsed
 
 
 \backslash
-caption*{Continued table with forced page break in table cell}
+caption*{Continued Example Phone List}
 \backslash
 
 \backslash
@@ -9716,7 +9714,7 @@ caption*{Continued table with forced page break in table cell}
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9725,7 +9723,7 @@ caption*{Continued table with forced page break in table cell}
 
 \end_inset
 </cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -9736,11 +9734,11 @@ caption*{Continued table with forced page break in table cell}
 </cell>
 </row>
 <row endhead="true">
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+
 \series bold
 Example Phone List
 \end_layout
@@ -10542,7 +10540,9 @@ status open
 \backslash
 
 \backslash
-
+\backslash
+newpage
 \end_layout
 
 \begin_layout Plain Layout
@@ -10817,35 +10817,6 @@ 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>
@@ -10854,13 +10825,6 @@ Franz
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
 \end_layout
 
 \begin_layout Section
@@ -16096,229 +16060,588 @@ em space.
 \end_inset
 
 
-\begin_inset space \hfill{}
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="1">
+<features>
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+A
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="3mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\begin_inset space \thinspace{}
+\end_inset
+
+mm space top of row
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+C
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
+
+
+\begin_inset VSpace medskip
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+So inserting space to the top of row for normal tables is only useful when
+ you don't have vertical lines.
+\end_layout
+
+\begin_layout Description
+Bottom
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+row will add space below the characters of the table row.
+ If the table is a formal table LyX will insert as default 0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+em space, for normal tables the default size is 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Description
+Between
+\begin_inset space ~
+\end_inset
+
+rows adds space between the current and the following row.
+ If the table is a formal table LyX will insert as default 0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+em space.
+ For normal tables the inserted space will unfortunately destroy the vertical
+ table lines as in the following table:
+\begin_inset VSpace medskip
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="1">
+<features>
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+A
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="3mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\downarrow$
+\end_inset
+
+ 3
+\begin_inset space \thinspace{}
+\end_inset
+
+mm space between row 
+\begin_inset Formula $\downarrow$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\uparrow$
+\end_inset
+
+ 3
+\begin_inset space \thinspace{}
+\end_inset
+
+mm space between row 
+\begin_inset Formula $\uparrow$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
+
+
+\begin_inset VSpace medskip
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+So inserting space between rows for normal tables is only useful when you
+ don't have vertical lines.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you want to add extra height to all cells of all tables, you can do
+ this with the following preamble lines:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@ifundefined{extrarowheight}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{
+\backslash
+usepackage{array}}{}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+setlength{
+\backslash
+extrarowheight}{height}
+\end_layout
+
+\begin_layout Standard
+But this has the disadvantage that the cell texts are no longer exactly
+ vertically centered.
+ (The package 
+\series bold
+array
+\series default
+ will be loaded automatically by LyX when you use self defined table formats.
+ To avoid that it is loaded twice the command 
+\series bold
+
+\backslash
+@ifundefined
+\series default
+ 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="3" columns="1">
+<lyxtabular version="3" rows="6" columns="1">
 <features>
-<column alignment="center" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0">
 <row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-A
+Normal, g
 \end_layout
 
 \end_inset
 </cell>
 </row>
-<row topspace="3mm">
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-3
-\begin_inset space \thinspace{}
-\end_inset
 
-mm space top of row
+\size large
+Large
 \end_layout
 
 \end_inset
 </cell>
 </row>
 <row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-C
+
+\size larger
+Larger
 \end_layout
 
 \end_inset
 </cell>
 </row>
-</lyxtabular>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-\end_inset
+\begin_layout Plain Layout
 
+\size largest
+Largest
+\end_layout
 
-\begin_inset space \hfill{}
 \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
 
-\begin_inset space \hspace*{}
-\length 0pt
-\end_inset
-
+\size huge
+Huge
+\end_layout
 
-\begin_inset VSpace medskip
 \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
 
-\begin_inset Newline newline
-\end_inset
-
-So inserting space to the top of row for normal tables is only useful when
- you don't have vertical lines.
+\size huge
+Huger
 \end_layout
 
-\begin_layout Description
-Bottom
-\begin_inset space ~
-\end_inset
-
-of
-\begin_inset space ~
 \end_inset
+</cell>
+</row>
+</lyxtabular>
 
-row will add space below the characters of the table row.
- If the table is a formal table LyX will insert as default 0.5
-\begin_inset space \thinspace{}
 \end_inset
 
-em space, for normal tables the default size is 2
-\begin_inset space \thinspace{}
-\end_inset
 
-pt.
 \end_layout
 
-\begin_layout Description
-Between
-\begin_inset space ~
 \end_inset
 
-rows adds space between the current and the following row.
- If the table is a formal table LyX will insert as default 0.5
-\begin_inset space \thinspace{}
-\end_inset
 
-em space.
- For normal tables the inserted space will unfortunately destroy the vertical
- table lines as in the following table:
-\begin_inset VSpace medskip
+\begin_inset space \hfill{}
 \end_inset
 
 
-\begin_inset Newline newline
-\end_inset
+\begin_inset Float table
+wide false
+sideways false
+status collapsed
 
+\begin_layout Plain Layout
+\begin_inset Caption
 
-\begin_inset space \hspace*{}
-\length 0pt
-\end_inset
+\begin_layout Plain Layout
+Table using the command 
+\series bold
 
+\backslash
+strut
+\series default
+.
+\end_layout
 
-\begin_inset space \hfill{}
 \end_inset
 
 
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="1">
+<lyxtabular version="3" rows="6" columns="1">
 <features>
-<column alignment="center" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0">
 <row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-A
+Normal, g
 \end_layout
 
 \end_inset
 </cell>
 </row>
-<row interlinespace="3mm">
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\downarrow$
-\end_inset
 
- 3
-\begin_inset space \thinspace{}
-\end_inset
+\size large
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
-mm space between row 
-\begin_inset Formula $\downarrow$
-\end_inset
 
+\backslash
+strut 
+\end_layout
+
+\end_inset
 
+Large
 \end_layout
 
 \end_inset
 </cell>
 </row>
 <row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-\begin_inset Formula $\uparrow$
-\end_inset
 
- 3
-\begin_inset space \thinspace{}
-\end_inset
+\size larger
+\begin_inset ERT
+status collapsed
 
-mm space between row 
-\begin_inset Formula $\uparrow$
-\end_inset
+\begin_layout Plain Layout
 
 
+\backslash
+strut 
+\end_layout
+
+\end_inset
+
+Larger
 \end_layout
 
 \end_inset
 </cell>
 </row>
-</lyxtabular>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
-\end_inset
+\begin_layout Plain Layout
 
+\size largest
+\begin_inset ERT
+status collapsed
 
-\begin_inset space \hfill{}
-\end_inset
+\begin_layout Plain Layout
 
 
-\begin_inset space \hspace*{}
-\length 0pt
+\backslash
+strut 
+\end_layout
+
 \end_inset
 
+Largest
+\end_layout
 
-\begin_inset VSpace medskip
 \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
 
-\begin_inset Newline newline
-\end_inset
+\size huge
+\begin_inset ERT
+status collapsed
 
-So inserting space between rows for normal tables is only useful when you
- don't have vertical lines.
-\end_layout
+\begin_layout Plain Layout
 
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
 
-When you want to add extra height to all cells of all tables, you can do
- this with the following preamble lines:
+\backslash
+strut 
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-\series bold
+Huge
+\end_layout
 
-\backslash
-@ifundefined{extrarowheight}
-\begin_inset Newline newline
 \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
 
@@ -16326,39 +16649,38 @@ status collapsed
 
 
 \backslash
-hphantom{ }
+strut 
 \end_layout
 
 \end_inset
 
-{
-\backslash
-usepackage{array}}{}
-\begin_inset Newline newline
+
+\size huge
+Huger
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
 \end_inset
 
 
-\backslash
-setlength{
-\backslash
-extrarowheight}{height}
 \end_layout
 
-\begin_layout Standard
-But this has the disadvantage that the cell texts are no longer exactly
- vertically centered.
- (The package 
-\series bold
-array
-\series default
- will be loaded automatically by LyX when you use self defined table formats.
- To avoid that it is loaded twice the command 
-\series bold
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
 
-\backslash
-@ifundefined
-\series default
- is used in the above command.)
 \end_layout
 
 \begin_layout Subsection
@@ -19104,7 +19426,7 @@ reference "sec:Caption-Placement"
 
 \end_inset
 
-- a gray button with a red label.
 a gray button with a red label.
 \end_layout
 
 \begin_layout Standard
@@ -22246,7 +22568,7 @@ usepackage[option]{sidecap}
 
 \begin_layout Standard
 If you set no option, the caption is placed on the side of the outer page
- margin -- to the right on odd pages, to the left on even pages.
+ margin  to the right on odd pages, to the left on even pages.
  You can change the placement to inner margin with the option 
 \series bold
 innercaption
@@ -24705,8 +25027,8 @@ name "fig:Endnotes----footnotes"
 
 \end_inset
 
-Endnotes -- footnotes are printed in a separate paragraph at the end of
sections or chapters.
+Endnotes – footnotes are printed in a separate paragraph at the end of sections
+ or chapters.
 \end_layout
 
 \end_inset
@@ -24953,10 +25275,10 @@ This is a margin note.
 
 \begin_layout Standard
 Margin notes appear at the right side in single-sided documents.
- In double-sided documents they appear in the outer margin -- left on even
+ In double-sided documents they appear in the outer margin  left on even
  pages, right on odd pages.
- The text of margin notes is aligned opposite to the outer margin -- right-align
-ed when the note appears in the left margin.
+ The text of margin notes is aligned opposite to the outer margin – right-aligne
+d when the note appears in the left margin.
  The first line of the margin note is placed at the position of the text
  line where it is inserted in the document.
 \end_layout
@@ -30767,6 +31089,20 @@ 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.
+ When you have enabled Instant Preview in LyX's preferences under 
+\family sans
+Look
+\begin_inset space ~
+\end_inset
+
+and
+\begin_inset space ~
+\end_inset
+
+feel\SpecialChar \menuseparator
+Graphics
+\family default
+, the external material types Dia and Xfig is directly shown in LyX.
 \end_layout
 
 \begin_layout Standard
@@ -30867,6 +31203,22 @@ reference "tab:Comparison-of-the"
 .
 \end_layout
 
+\begin_layout Description
+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
+.
+\end_layout
+
 \begin_layout Description
 LilyPond This template is used for music notation typeset with the program
 \begin_inset Newline linebreak