]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/UserGuide.lyx
Japanese Tutorial.lyx: update by Koji
[lyx.git] / lib / doc / UserGuide.lyx
index 53c82992194e0e27989144af957dc6c49a785249..51c96f678c59c159f4e6fcf8e683c1a770f89c89 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 1.6.1svn created this file. For more info see http://www.lyx.org/
-\lyxformat 345
+#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 348
 \begin_document
 \begin_header
 \textclass scrbook
@@ -36,7 +36,7 @@
 % redefine the \LyX macro for PDF bookmarks
 \def\LyX{\texorpdfstring{%
   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
-  {LyX }}
+  {LyX}}
 
 % define a short command for \textvisiblespace
 \newcommand{\spce}{\textvisiblespace}
@@ -143,7 +143,7 @@ type "mailto:"
 \begin_inset Newline newline
 \end_inset
 
-Version 1.6.1
+Version 2.0.x
 \begin_inset Note Note
 status open
 
@@ -758,7 +758,7 @@ scratch.
 \end_inset
 
  Unless you tell LyX to open a file or create a new one, that big, blank
- space is just that --- a big, blank space.
+ space is just that  a big, blank space.
 \end_layout
 
 \begin_layout Standard
@@ -1383,7 +1383,6 @@ Insets (Footnotes, Notes, Floats, etc.)
 \begin_deeper
 \begin_layout Standard
 Right-click on them to set their properties.
- Right-click on them to set its properties.
  Also check the appropriate section of this manual for more details.
 \end_layout
 
@@ -1455,8 +1454,8 @@ Outline
 
 \begin_layout Standard
 The outline window shows you the content of the document's table of contents
- (TOC) that is described in sec.
-\begin_inset space \thinspace{}
+ (TOC) that is described in section
+\begin_inset space ~
 \end_inset
 
 
@@ -1471,7 +1470,11 @@ reference "sub:Table-of-Contents"
  In the pull-down box at the top of the outline window, you can choose between
  different lists of document objects, like the list of footnotes.
  Some of them, the list of tables, figures, and algorithms can also be added
- to the document, see 
+ to the document, see section
+\begin_inset space ~
+\end_inset
+
+
 \begin_inset CommandInset ref
 LatexCommand ref
 reference "sub:List-of-Figures"
@@ -2168,19 +2171,15 @@ File
 \end_layout
 
 \begin_layout Standard
-There are also other things bound to the 
-\family sans
-Alt+
-\family default
- key, but you'll have to check in the 
-\emph on
-Reference
-\emph default
+The 
 \emph on
-manual
+Shortcuts
 \emph default
- for more info.
+ manual lists all other things bound to the 
+\family sans
+Alt
+\family default
+ key.
 \end_layout
 
 \end_deeper
@@ -2238,12 +2237,6 @@ reference "sub:Editing-Shortcuts"
 \end_inset
 
 .
-\begin_inset Formula \[
-\]
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Chapter
@@ -2598,7 +2591,7 @@ Modules load additional features to a document that are not by default available
  This is of course not available in any document class, so you have to load
  the corresponding module in the 
 \family sans
-Document Class
+Modules
 \family default
  section of the 
 \family sans
@@ -2675,7 +2668,7 @@ Each class has a default set of options.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="5" columns="5">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
@@ -3649,8 +3642,8 @@ not
 
 \begin_layout Standard
 The space between paragraphs, like the line spacing, the space between headings
- and text --- in fact, all of the spacings for just about everything are
pre-coded into LyX.
+ and text — in fact, all of the spacings for just about everything are pre-coded
+ into LyX.
  As we said, you don't worry about how much space to add between what.
  LyX takes care of that.
  In fact, these pre-coded vertical spacings aren't a single number but a
@@ -4853,7 +4846,7 @@ Quote
  environment.
  I can keep writing, extending this line out further and further until it
  wraps.
- See -- no indentation!
+ See  no indentation!
 \end_layout
 
 \begin_layout Quote
@@ -5679,7 +5672,32 @@ The
 List
 \family default
  environment is a LyX extension to LaTeX.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ When you are using a KOMA-Script document class, like in this document,
+ the 
+\family sans
+List
+\family default
+ environment is named 
+\family sans
+Labeling
+\family default
+.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -5920,6 +5938,10 @@ reference "sub:Horizontal-Space"
 
 .
  Here are some examples:
+\begin_inset Newpage pagebreak
+\end_inset
+
+
 \end_layout
 
 \begin_layout Labeling
@@ -6586,7 +6608,7 @@ arg   "newline-insert newline"
 \end_inset
 
 g.
-\begin_inset space ~
+\begin_inset space \space{}
 \end_inset
 
 you can't follow 
@@ -7279,7 +7301,7 @@ This is (a) and it's nested.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -7408,7 +7430,7 @@ This is (a) and it's nested.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -7546,7 +7568,7 @@ This is (a) and it's nested.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -8496,7 +8518,7 @@ Here comes a table:
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -9289,7 +9311,7 @@ Width of the different horizontal spaces.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="8" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -13227,7 +13249,7 @@ In LyX, the
 \begin_inset Quotes eld
 \end_inset
 
- character comes in three lengths, often called the 
+ character comes in four lengths: the 
 \emph on
 hyphen
 \emph default
@@ -13235,23 +13257,48 @@ hyphen
 \emph on
 en dash
 \emph default
-, and the 
+, the 
 \emph on
 em dash
 \emph default
-:
+, and the minus sign:
+\begin_inset VSpace defskip
+\end_inset
+
+
 \end_layout
 
-\begin_layout Enumerate
+\begin_layout Standard
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0">
+<row interlinespace="3mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
 hyphen
-\begin_inset space \hfill{}
+\end_layout
+
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
 -
-\begin_inset space \hfill{}
+\end_layout
+
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-made with 
+\begin_layout Plain Layout
+a 
 \begin_inset Quotes eld
 \end_inset
 
@@ -13266,107 +13313,140 @@ made with
 
 \end_layout
 
-\begin_layout Enumerate
-en dash
-\begin_inset space \hfill{}
 \end_inset
+</cell>
+</row>
+<row interlinespace="3mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
---
-\begin_inset space \hfill{}
-\end_inset
+\begin_layout Plain Layout
+en dash
+\end_layout
 
-made with 
-\begin_inset Quotes eld
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+–
+\end_layout
 
-\family typewriter
--
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
+inserted via 
+\family sans
+Insert\SpecialChar \menuseparator
+Special
+\begin_inset space ~
+\end_inset
 
-
-\backslash
-/
+Character\SpecialChar \menuseparator
+Symbols
 \end_layout
 
 \end_inset
+</cell>
+</row>
+<row interlinespace="3mm">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
--
-\family default
+\begin_layout Plain Layout
+em dash
+\end_layout
 
-\begin_inset Quotes eld
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-
+\begin_layout Plain Layout
+—
 \end_layout
 
-\begin_layout Enumerate
-em dash
-\begin_inset space \hfill{}
-\end_inset
-
----
-\begin_inset space \hfill{}
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-made with 
-\begin_inset Quotes eld
+\begin_layout Plain Layout
+inserted via 
+\family sans
+Insert\SpecialChar \menuseparator
+Special
+\begin_inset space ~
 \end_inset
 
+Character\SpecialChar \menuseparator
+Symbols
+\end_layout
 
-\family typewriter
--
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
-
-
-\backslash
-/
+minus sign
 \end_layout
 
 \end_inset
-
--
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
+\begin_inset Formula $-$
+\end_inset
 
 
-\backslash
-/
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+a 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family typewriter
 -
 \family default
 
 \begin_inset Quotes eld
 \end_inset
 
-
+ in math mode
 \end_layout
 
-\begin_layout Enumerate
-minus sign
-\begin_inset space \hfill{}
 \end_inset
+</cell>
+</row>
+</lyxtabular>
 
-
-\begin_inset Formula $-$
 \end_inset
 
 
-\begin_inset space \hfill{}
+\begin_inset VSpace defskip
 \end_inset
 
-a 
+
+\end_layout
+
+\begin_layout Standard
+You can alternatively generate the en and em dash by inserting the 
 \begin_inset Quotes eld
 \end_inset
 
 \begin_inset Quotes eld
 \end_inset
 
- in math mode
-\end_layout
-
-\begin_layout Standard
-You generate them by inserting the 
+ character multiple times in a row.
+ They will automatically be converted to the appropriate length dash in
+ the final output, but not in LyX.
 \begin_inset Quotes eld
 \end_inset
 
+-
+\begin_inset space \thinspace{}
+\end_inset
 
-\family typewriter
 -
-\family default
+\begin_inset Quotes erd
+\end_inset
 
+ gives a en dash, 
 \begin_inset Quotes eld
 \end_inset
 
- character multiple times in a row.
- They are automatically converted to the appropriate length dash in the
- final output, but not in LyX.
+-
+\begin_inset space \thinspace{}
+\end_inset
+
+-
+\begin_inset space \thinspace{}
+\end_inset
+
+-
+\begin_inset Quotes erd
+\end_inset
+
+ a em dash.
 \end_layout
 
 \begin_layout Standard
@@ -13430,7 +13523,7 @@ hyphen
 \end_layout
 
 \begin_layout Enumerate
-From A--Z
+From AZ
 \begin_inset space \hfill{}
 \end_inset
 
@@ -13442,7 +13535,7 @@ en dash
 \end_layout
 
 \begin_layout Enumerate
-Oh --- there's a dash.
+Oh  there's a dash.
 \begin_inset space \hfill{}
 \end_inset
 
@@ -14645,7 +14738,7 @@ Here's an example to show the differences:
 \begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row>
@@ -15187,7 +15280,7 @@ This is a marginal note.
 
 \begin_layout Standard
 Marginal 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.
 \end_layout
 
@@ -15822,10 +15915,6 @@ Each image can define a new group of image settings or join an existing
 \begin_layout Standard
 A new group can be set by entering a name in the 
 \family sans
-Initialize
-\begin_inset space ~
-\end_inset
-
 Group
 \begin_inset space ~
 \end_inset
@@ -15885,7 +15974,7 @@ Table
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="4">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0in">
@@ -16104,7 +16193,7 @@ You can alter a table by clicking on it with the right mouse button, which
 \end_layout
 
 \begin_layout Standard
-Additionally to the table dialog the 
+Additionally to the table dialog, the 
 \family sans
 table
 \begin_inset space ~
@@ -16112,17 +16201,8 @@ table
 
 toolbar
 \family default
-, that appears when the cursor is inside a table, helps you in setting table
- properties.
- It is for example currently only possible to add
-\begin_inset space \thinspace{}
-\end_inset
-
-/
-\begin_inset space \thinspace{}
-\end_inset
-
-delete lines via the table toolbar.
+ helps you in setting table properties.
+ It appears when the cursor is inside a table.
 \end_layout
 
 \begin_layout Standard
@@ -16176,7 +16256,7 @@ one
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="4">
-<features firstHeadTopDL="true" firstHeadBottomDL="true">
+<features tabularvalignment="middle" firstHeadTopDL="true" firstHeadBottomDL="true">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="middle" width="0">
 <column alignment="center" valignment="top" width="0in">
@@ -16529,7 +16609,7 @@ header.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="69" columns="3">
-<features islongtable="true">
+<features islongtable="true" tabularvalignment="middle">
 <column alignment="block" valignment="top" width="5cm">
 <column alignment="left" valignment="top" width="0pt">
 <column alignment="right" valignment="top" width="0pt">
@@ -18726,7 +18806,7 @@ To have multi-line entries in table cells, you have to declare a fixed width
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="3">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="block" valignment="top" width="3cm">
 <column alignment="center" valignment="top" width="0pt">
@@ -19106,7 +19186,7 @@ Floats ! Captions
 
 \end_inset
 
-- a gray button with a red label.
 a gray button with a red label.
 \end_layout
 
 \begin_layout Standard
@@ -19571,7 +19651,7 @@ A table float.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
@@ -20182,7 +20262,7 @@ name "cap:Rotated-table"
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="1" columns="5">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
@@ -21849,7 +21929,7 @@ Accent names and the corresponding commands.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="11" columns="3">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
@@ -23174,369 +23254,24 @@ Math ! Macros
 \end_inset
 
 
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:math-macros"
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-LyX allows you to define macros for formulas.
- For example we assume that solutions of the quadratic equation often occur
- in our document in various forms and we want to create a macro to print
- them.
-\begin_inset Newline newline
-\end_inset
-
-The general form of a quadratic equation is:
-\begin_inset Formula \[
-0=\lambda^{2}+p\lambda+q\]
-
-\end_inset
-
-The general form of its solution is:
-\begin_inset Formula \[
-\lambda_{1,2}=-\frac{p}{2}\pm\sqrt{\frac{p^{2}}{4}-q}\]
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The macro should print the parameters 
-\begin_inset Formula $\lambda$
-\end_inset
-
-, 
-\begin_inset Formula $p$
-\end_inset
-
- and 
-\begin_inset Formula $q$
-\end_inset
-
- like in the equation above.
-\end_layout
-
-\begin_layout Standard
-A macro is created by executing the command
 \end_layout
 
 \begin_layout Standard
-
-\series bold
-math-macro
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce 
-\end_layout
-
-\end_inset
-
-Name
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce 
-\end_layout
-
-\end_inset
-
-Number
-\begin_inset space ~
-\end_inset
-
-of
+LyX allows you to define macros for formulas what is very useful when you
+ have in a document several times the same form of equations.
+ Math macros are explained in section 
+\emph on
+Math
 \begin_inset space ~
 \end_inset
 
-Arguments
-\end_layout
-
-\begin_layout Standard
-in the minibuffer at the bottom of the LyX screen.
- Name is the name of the new macro which mustn't contain numbers.
- The number of arguments can be a number in the range 1-9.
- If you want to define a macro without arguments, don't declare the number
- of arguments.
-\end_layout
-
-\begin_layout Standard
-We have three arguments and name the macro 
-\begin_inset Quotes eld
-\end_inset
-
-qE
-\begin_inset Quotes erd
-\end_inset
-
-, so that the command is:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-math-macro
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce 
-\end_layout
-
-\end_inset
-
-qE
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-spce 
-\end_layout
-
-\end_inset
-
-3
-\end_layout
-
-\begin_layout Standard
-This results in the following macro definition box: 
-\begin_inset Graphics
-       filename clipart/macrobox.png
-
-\end_inset
-
-\begin_inset FormulaMacro
-\newcommand{\qE}[3]{#1_{1,\,2}=-\frac{#2}{2}\pm\sqrt{\frac{#2^{2}}{4}-#3}}
-{\textrm{qE: }#1\textrm{ , }#2\textrm{ , }#3}
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-The first box is an image to show the behavior in the output.
- The second one is the definition box, that doesn't appear in the output.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The first blue box is for the definition, where you insert the formula via
- the math panel or commands.
- The placeholder for the arguments are inserted as a backslash and sharp
- followed by the argument number, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-
-\begin_inset Quotes eld
-\end_inset
-
-
-\backslash
-#1
-\begin_inset Quotes erd
-\end_inset
-
- for the first argument.
- Placeholders will be displayed in red.
- The second blue box is for the appearance in LyX.
- This is useful when you have a large structure that shouldn't be displayed
- in LyX with its full size.
- If you want to see the macro as it is defined, leave the box blank.
- In our example we insert the sequence
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-qE: 
-\backslash
-#1
-\series default
-\series bold
-,
-\series default
-\series bold
-
-\backslash
-#2
-\series default
-\series bold
-,
-\series default
-\series bold
-
-\backslash
-#3
-\begin_inset Newline newline
-\end_inset
-
-
-\series default
-The macro will then be shown as the macro name followed by the three arguments.
-\end_layout
-
-\begin_layout Standard
-To use the macro in a formula, type its name as command, in our case 
-\begin_inset Quotes eld
-\end_inset
-
-
-\series bold
-
-\backslash
-qE
-\series default
-
-\begin_inset Quotes erd
-\end_inset
-
-.
- The macro is inserted with boxes for the arguments looking similar to this:
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Graphics
-       filename clipart/macrouse.png
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The arguments are inserted in the blue boxes.
- If the cursor is outside the macro, the arguments are put in the macro.
- To change the arguments, put the cursor in the formula before or after
- the macro and press the right or left arrow key respectively.
- The arguments appear now again below the macro definition.
-\end_layout
-
-\begin_layout Standard
-If you change the macro definition all macros are changed automatically
- to the new definition.
- Here an example of our macro with the arguments 
-\begin_inset Formula $x$
-\end_inset
-
-, 
-\begin_inset Formula $\ln(x)$
-\end_inset
-
-, and 
-\begin_inset Formula $B$
-\end_inset
-
-:
-\begin_inset Formula \[
-\qE x{\ln(y)}B\]
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-When the document is exported to LaTeX, the macro definition will be inserted
- as the command:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-newcommand{
-\backslash
-qE}[3]{#1_{1,
-\backslash
-,2}=-
-\backslash
-frac{#2}{2}
-\backslash
-pm
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hphantom{
-\end_layout
-
-\end_inset
-
-
-\backslash
-newcommand
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\backslash
-sqrt{
-\backslash
-frac{#2^{2}}{4}-#3}}
-\end_layout
-
-\begin_layout Standard
-The command is not inserted in the document preamble.
- That means you can only use macros in formulas that are below the macro
- definition box in your document.
- There are also some other restrictions: The command 
-\backslash
-newcommand supports optional arguments, which are not available in LyX's
- macros.
- You can also not change subsequently the name of the macro and the number
- of arguments.
+Macros
+\emph default
+ of the 
+\emph on
+Math
+\emph default
+ manual.
 \end_layout
 
 \begin_layout Section
@@ -23615,7 +23350,7 @@ Typefaces and the corresponding commands.
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="9" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <row>
@@ -24061,11 +23796,11 @@ Panel
 
  (shortcut 
 \family sans
-Alt+m
+Alt+M
 \begin_inset space ~
 \end_inset
 
-m
+M
 \family default
 ).
  Math text appears in LyX in black instead of blue.
@@ -24537,11 +24272,30 @@ enu:Second-item
 .
  At the position of the cross-reference box the item number will appear
  in the output.
- Here is our cross-reference:
 \end_layout
 
 \begin_layout Standard
-Item
+Alternatively to 
+\family sans
+Insert\SpecialChar \menuseparator
+Cross-Reference
+\family default
+, you can right-click on a label and use in the appearing context menu 
+\family sans
+Copy as Reference
+\family default
+.
+ The cross-reference to this label is now in the clipboard and can be copied
+ to the actual cursor position via the menu 
+\family sans
+Edit\SpecialChar \menuseparator
+Paste
+\family default
+ (shortcut Ctrl+V).
+\end_layout
+
+\begin_layout Standard
+Here is our cross-reference: Item
 \begin_inset space ~
 \end_inset
 
@@ -26648,7 +26402,7 @@ name "sec:Nomenclature"
 
 \begin_layout Standard
 Sometimes you need to compile a list of symbols that are mentioned in your
- document with a brief explanation of them -- a so called nomenclature or
+ document with a brief explanation of them  a so called nomenclature or
  glossary.
 \end_layout
 
@@ -26985,7 +26739,7 @@ sigma$
 \begin_inset Quotes erd
 \end_inset
 
-- the 
 the 
 \begin_inset Formula $\sigma$
 \end_inset
 
@@ -27186,15 +26940,11 @@ Document\SpecialChar \menuseparator
 Settings
 \family default
  dialog.
- In this document the options 
+ In this document the option 
 \series bold
 intoc
 \series default
- and 
-\series bold
-refpage
-\series default
- are used.
+ is used.
 \end_layout
 
 \begin_layout Standard
@@ -27531,7 +27281,7 @@ Question: Who was the first physics Nobel prize winner?
 
 \begin_layout Standard
 \begin_inset Branch Answer
-status open
+status collapsed
 
 \begin_layout Standard
 Answer: Wilhelm Conrad Röntgen
@@ -27725,18 +27475,12 @@ x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer
 \end_layout
 
 \begin_layout Standard
-Inside math, the same effect can be achieved using math macros, see section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:math-macros"
-
-\end_inset
-
-.
+Inside math, the same effect can be achieved using math macros, see the
+\emph on
+Math
+\emph default
+ manual.
 \end_layout
 
 \begin_layout Section
@@ -28465,7 +28209,7 @@ ispell
 hspell
 \family default
 , or 
-\family sans
+\family typewriter
 pspell
 \family default
  as backend.
@@ -28481,7 +28225,7 @@ ispell
 \family default
 , so that it is recommended to use aspell.
  
-\family sans
+\family typewriter
 hspell
 \family default
  is a Hebrew spell-checker.
@@ -28496,7 +28240,7 @@ Language Settings
 \begin_layout Standard
 For LyX on Windows, the selection box for the spell checking program is
  greyed out in the preferences dialog because only 
-\family sans
+\family typewriter
 aspell
 \family default
  can be used.
@@ -28508,6 +28252,13 @@ The menu
  Tools\SpecialChar \menuseparator
 Spellchecker
 \family default
+ or the toolbar button 
+\begin_inset Graphics
+       filename ../images/dialog-show_spellchecker.png
+       BoundingBox 0bp 5bp 20bp 20bp
+
+\end_inset
+
  starts the spell checking beginning from the current cursor position.
  A dialog window will appear showing any incorrect (or unknown) word found,
  allowing you to edit and replace it in a second line.
@@ -28711,12 +28462,166 @@ name "sec:Thesaurus"
 \end_layout
 
 \begin_layout Standard
-Thesaurus currently only works when you use the document language English.
+LyX provides support for two different thesaurus frameworks:
+\end_layout
+
+\begin_layout Enumerate
+The 
+\emph on
+AikSaurus
+\emph default
+ library,
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+target "http://aiksaurus.sourceforge.net"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ which is also used by Abiword, but which is English only.
+\end_layout
+
+\begin_layout Enumerate
+The 
+\emph on
+MyThes
+\emph default
+ library,
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+target "http://lingucomponent.openoffice.org/thesaurus.html"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ which is also used by OpenOffice, and which supports many languages.
+\end_layout
+
+\begin_layout Standard
+You need to have one of these libraries installed in order to use the thesaurus
+ (if both are installed, 
+\emph on
+MyThes
+\emph default
+ will be chosen automatically).
+\end_layout
+
+\begin_layout Subsection
+Setting up the thesaurus
+\end_layout
+
+\begin_layout Standard
+The 
+\emph on
+MyThes
+\emph default
+ library can directly access the OpenOffice thesauri, which consist of two
+ files per language: A file with the ending 
+\emph on
+*.dat
+\emph default
+ containing the data and an index file with the ending 
+\emph on
+*.idx
+\emph default
+.
+ The file names include the language code for the given language, so the
+ English files are named:
+\end_layout
+
+\begin_layout Itemize
+th_en_EN_v2.idx
+\end_layout
+
+\begin_layout Itemize
+th_en_EN_v2.dat
+\end_layout
+
+\begin_layout Standard
+If you have OpenOffice installed including its thesaurus, these files should
+ be already on your system.
+ If not, you can get dictionaries either from the site
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.openthesaurus.org"
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+FIXME: Link is dead
+\end_layout
+
+\end_inset
+
+ or from 
+\begin_inset CommandInset href
+LatexCommand href
+target "http://extensions.services.openoffice.org"
+
+\end_inset
+
+.
+ Note that, as of OpenOffice 3.0, these files are usually packed in extension
+ archives (
+\emph on
+*.oxt
+\emph default
+) that contain other files such as spellchecker dictionaries besides the
+ thesauri.
+ These archives are simple zip files, so you can unpack them as you would
+ unpack a zip archive.
+\end_layout
+
+\begin_layout Standard
+Put the 
+\emph on
+*.idx
+\emph default
+ and 
+\emph on
+*.dat
+\emph default
+ files of all languages you want to use into one directory (do not use subfolder
+s), and the specify the path to this directory in 
+\family sans
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Paths
+\family default
+.
+ Now the thesaurus should be ready to use.
+\end_layout
+
+\begin_layout Subsection
+Using the thesaurus
 \end_layout
 
 \begin_layout Standard
-To start the thesaurus, highlight one word or set the cursor behind it,
- and use the menu 
+To start the thesaurus, use the menu 
 \family sans
 Tools\SpecialChar \menuseparator
 Thesaurus
@@ -28729,54 +28634,83 @@ Thesaurus
 
 \end_inset
 
-.
+ while the cursor is at the word you want to look up or while a word is
+ selected.
  A dialog pops up showing you probably related words that you can use as
  replacement.
+ The proposals are grouped into categories.
+ Note that the thesaurus does not only show synonyms, but also hyperonyms
+ and hyponyms (such as 
+\emph on
+plant
+\emph default
+ for 
+\emph on
+tree
+\emph default
+), compounds (such as 
+\emph on
+tree diagram
+\emph default
+) and antonyms (such as 
+\emph on
+women
+\emph default
+ for 
+\emph on
+men
+\emph default
+), which are marked as such.
 \end_layout
 
 \begin_layout Standard
-The shown related words are in many cases not really related to the word
- you are currently checking, scrolling in the shown list might help in some
cases to find related words.
+The language is automatically chosen from the language at the cursor, but
+ you can also switch it in the dialog, as you can enter new words to look
up directly there.
 \end_layout
 
 \begin_layout Standard
-The thesaurus only works for single words, and also only when it is in the
- singular form.
- For example starting the thesaurus with the word 
-\begin_inset Quotes eld
+Note that the thesaurus cannot handle phrases (only compounds that are in
+ the dictionary, such as the above 
+\emph on
+tree diagram
+\emph default
+), and you have to use the so called lemma form, i.
+\begin_inset space \thinspace{}
 \end_inset
 
+e.
+ the form that is used in the dictionaries (for many languages: first person
+ singular indicative active for nouns, infinitive for verbs).
+ For example looking up the word forms 
+\emph on
 reports
-\begin_inset Quotes erd
-\end_inset
-
- leads to no results, while results are shown for the word 
-\begin_inset Quotes eld
-\end_inset
-
+\emph default
+ or 
+\emph on
+reporting
+\emph default
+ yields no results, while results are shown for the word form 
+\emph on
 report
-\begin_inset Quotes erd
-\end_inset
-
+\emph default
 .
- To avoid this, you can highlight only the part 
-\begin_inset Quotes eld
+ Your best bet is to highlight only the relevant parts of such word (e.
+\begin_inset space \thinspace{}
 \end_inset
 
+g.
+\emph on
 report
-\begin_inset Quotes erd
-\end_inset
-
- of the word 
-\begin_inset Quotes eld
-\end_inset
-
-reports
-\begin_inset Quotes erd
-\end_inset
-
- to get results.
+\emph default
+ in 
+\emph on
+report
+\emph default
+s), then you get proposals without adjusting the query in the dialog, and
+ also the replacement will probably be correct (as only the highlighted
+ part will be replaced, thus the ending remains).
 \end_layout
 
 \begin_layout Section
@@ -28922,7 +28856,7 @@ The review toolbar as shown above contains from left to right the following
 \begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="10" columns="2">
-<features islongtable="true">
+<features islongtable="true" tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row interlinespace="2.5mm">
@@ -29325,7 +29259,7 @@ Note
 \end_layout
 
 \begin_layout Standard
-The review toolbar helps you to accept, reject, or merge changes -- highlight
+The review toolbar helps you to accept, reject, or merge changes  highlight
  the change and press one of the desired toolbar buttons.
  When you merge changes, a window pops up showing you informations about
  the next change behind the current cursor position.
@@ -29468,15 +29402,14 @@ English
 \end_layout
 
 \begin_layout Standard
-The 
+Under 
 \family sans
 Encoding
 \family default
- box lets you choose the character encoding map you want to use for LaTeX
- export.
+ you can choose the character encoding map you want to use for LaTeX export.
  The option 
 \family sans
-use language's default encoding
+Language Default
 \family default
  is the preferred choice and works well in most cases.
  For details about the different encoding options see section
@@ -29594,7 +29527,7 @@ T1
 T1
 \family default
 -fonts but aren't using them] will still miss a few characters: D0, F0,
- DE, FE, AB, and BB -- the uppercase and lowercase eth and thorn, and the
+ DE, FE, AB, and BB  the uppercase and lowercase eth and thorn, and the
  french quotes won't show up.
 \end_layout
 
@@ -29630,7 +29563,7 @@ latin1
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="17" columns="17">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
 <column alignment="center" valignment="top" width="0pt">
@@ -34066,7 +33999,7 @@ The following is a full list of all of the accented characters LyX can display
  It includes not only the accented characters from the previous table, but
  also the characters from 
 \family typewriter
-ISO8859--2
+ISO88592
 \family default
  through 
 \family typewriter
@@ -34079,7 +34012,7 @@ ISO8859--2
 \begin_layout Itemize
 From 
 \family typewriter
-ISO8859--1
+ISO88591
 \family default
 :
 \end_layout
@@ -34145,7 +34078,7 @@ macron
 \begin_layout Itemize
 From 
 \family typewriter
-ISO8859--2
+ISO88592
 \family default
  through 
 \family typewriter
@@ -35058,11 +34991,11 @@ Unfolds/folds the current math macro.
 \end_layout
 
 \begin_layout Standard
-More about math macros will be described in the 
+Math macros are described in the 
 \emph on
 Math
 \emph default
- manual.??
+ manual.
 \end_layout
 
 \begin_layout Subsection
@@ -36894,7 +36827,7 @@ Embedded Objects
 \begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="1" columns="2">
-<features islongtable="true">
+<features islongtable="true" tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -36941,7 +36874,7 @@ pull-down box for the paragraph environments
 \align left
 \begin_inset Tabular
 <lyxtabular version="3" rows="20" columns="2">
-<features islongtable="true">
+<features islongtable="true" tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row interlinespace="2.5mm">
@@ -37610,7 +37543,7 @@ The extra toolbar as shown above contains from left to right the following
 \begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="25" columns="2">
-<features islongtable="true">
+<features islongtable="true" tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row interlinespace="2.5mm">
@@ -38450,7 +38383,7 @@ The view / update toolbar as shown above contains from left to right the
 \begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features islongtable="true">
+<features islongtable="true" tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row interlinespace="2.5mm">
@@ -38673,7 +38606,17 @@ Toolbar ! Table
 \emph on
 Embedded Objects
 \emph default
- manual, the math macro toolbar in the 
+ manual, the math macro toolbar
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Toolbar ! Macro
+\end_layout
+
+\end_inset
+
+ in the 
 \emph on
 Math
 \emph default
@@ -38735,8 +38678,8 @@ Document Class
 \end_layout
 
 \begin_layout Standard
-Here you set the document class, class options, a Postscript driver, and
master document.
+Here you set the document class, class options, a graphics driver, and a
+ master document.
  Document classes are described in section
 \begin_inset space ~
 \end_inset
@@ -38757,13 +38700,14 @@ Predefined
  and you can decide to use them or not.
  If you don't exactly know what the default class options are for, it is
  recommended not to touch them.
- The Postscript driver is used for LaTeX's color and graphics packages.
+ The graphics driver is used for LaTeX's graphics, color and page layout
+ packages.
  When using 
 \family sans
 Default
 \family default
 , the default driver for the LaTeX-packages are used.
- It is recommended to use the default unless your know what you are doing.
+ It is recommended to use the default unless you know what you are doing.
 \begin_inset Foot
 status collapsed
 
@@ -41920,7 +41864,7 @@ xdvi
  is used as DVI-viewer.
 \end_layout
 
-\begin_layout Description
+\begin_layout Standard
 There are additionally the following options:
 \end_layout
 
@@ -42259,7 +42203,7 @@ Units
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="20" columns="2">
-<features>
+<features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>