]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/UserGuide.lyx
- German UserGuide.lyx: don't use caption
[lyx.git] / lib / doc / UserGuide.lyx
index 11c3ae58d63899d54dc2e474e95fe4c0082ab8b4..cc136dc36f99cfb39b6e2dba33e6bba730297c75 100644 (file)
@@ -1,4 +1,4 @@
-#LyX 1.5.2svn created this file. For more info see http://www.lyx.org/
+#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
 \lyxformat 276
 \begin_document
 \begin_header
 \usepackage{ifpdf} % part of the hyperref bundle
 \ifpdf % if pdflatex is used
 
-  % set fonts for nicer pdf view
-  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%
-  \usepackage[scaled=0.92]{helvet}
-  \usepackage{mathptmx}
-  \usepackage{courier} }
-  % the pages of the TOC are numbered roman
-  % and a pdf-bookmark for the TOC is added
-  \pagenumbering{roman}
-  \let\myTOC\tableofcontents
-  \renewcommand\tableofcontents{%
-    \pdfbookmark[1]{Contents}{}
-    \myTOC
-    \cleardoublepage
-    \pagenumbering{arabic} }
+ % set fonts for nicer pdf view
+ \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%
+ \usepackage[scaled=0.92]{helvet}
+ \usepackage{mathptmx}
+ \usepackage{courier} }
+
  % link all cross references and URLs in pdf output
  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
  % link all cross references and URLs in dvi output
  \usepackage[ps2pdf]{hyperref}
 
+\fi % end if pdflatex is used
+
  % the pages of the TOC are numbered roman
+ % and a pdf-bookmark for the TOC is added
  \pagenumbering{roman}
  \let\myTOC\tableofcontents
  \renewcommand\tableofcontents{%
@@ -52,8 +47,6 @@
    \myTOC
    \cleardoublepage
    \pagenumbering{arabic} }
-   
-\fi 
 
 % redefine the \LyX macro for PDF bookmarks
 \def\LyX{\texorpdfstring{%
@@ -67,7 +60,7 @@
 \renewenvironment{lyxgreyedout}
  {\textcolor{blue}\bgroup}{\egroup}
 \end_preamble
-\options intoc,refpage,idxtotoc,BCOR7mm
+\options intoc,refpage,bibtotoc,idxtotoc,BCOR7mm
 \language english
 \inputencoding auto
 \font_roman default
@@ -135,7 +128,7 @@ lyx-docs@lists.lyx.org
 \newline
 
 \newline
-Version 1.5.2
+Version 1.5.4
 \end_layout
 
 \begin_layout Standard
@@ -782,9 +775,8 @@ Backspace
 Cut
 \family default
  command.
- Also, if you've selected text, be careful.
- If you hit a key, LyX will completely delete the selected text and replace
- it with what you just typed.
+ Also, if you've selected text, be careful: If you hit a key, LyX will completel
+y delete the selected text and replace it with what you just typed.
  You'll have to do an 
 \family sans
 Undo
@@ -793,6 +785,11 @@ Undo
 \end_layout
 
 \begin_layout Standard
+\begin_inset LatexCommand index
+name "Paste"
+
+\end_inset
+
 You can also copy text between LyX and other programs by cut, copy and paste.
  The submenu of 
 \family sans
@@ -830,7 +827,13 @@ Lines
 
 \begin_layout Standard
 \begin_inset LatexCommand index
-name "Dialogs ! Find \\& Replace"
+name "Replace"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Find"
 
 \end_inset
 
@@ -935,6 +938,22 @@ starlet
 .
 \end_layout
 
+\begin_layout Standard
+Things like notes, floats, etc., the so called insets can be dissolved.
+ This means that the inset is deleted and its content is left as normal
+ text.
+ Dissolving an inset is done by setting the cursor to the beginning of an
+ inset and pressing 
+\family sans
+Backspace
+\family default
+ or by setting the cursor to the end and pressing 
+\family sans
+Delete
+\family default
+.
+\end_layout
+
 \begin_layout Section
 Undo and Redo
 \begin_inset LatexCommand index
@@ -9485,7 +9504,7 @@ name "Character Styles"
 
 
 \begin_inset LatexCommand index
-name "Dialogs ! Text Style"
+name "Text Style"
 
 \end_inset
 
@@ -9658,12 +9677,6 @@ name "Text Style"
 \end_inset
 
 
-\begin_inset LatexCommand index
-name "Dialogs ! Text Style"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -11838,7 +11851,7 @@ Destination
 \family sans
 Printer
 \family default
- This is the name of the printer to print to
+ This is the name of the printer to print to.
 \begin_inset Foot
 status collapsed
 
@@ -11865,7 +11878,6 @@ reference "sub:Printer"
 
 \end_inset
 
-.
  The printer should understand PostScript.
 \end_layout
 
@@ -20845,6 +20857,12 @@ name "Math ! Macros"
 \end_inset
 
 
+\begin_inset LatexCommand label
+name "sec:math-macros"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22723,7 +22741,7 @@ name "sub:Bibliography-databases"
 \begin_layout Standard
 Bibliography databases are useful if you use the same bibliography in different
  documents.
- It makes it also very easy to have an uniform layout for all bibliography
+ It makes it also very easy to have a uniform layout for all bibliography
  entries.
  You can collect the bibliography of all relevant books and articles of
  your working field in a database.
@@ -24403,6 +24421,195 @@ Answer: Wilhelm Conrad Röntgen
 
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To use conditional output inside places where you cannot insert branch insets,
+ like inside equations, you can code special LaTeX definitions for each
+ branch.
+ For example you can define for the question branch
+\begin_inset Foot
+status collapsed
+
+\begin_layout Standard
+For an introduction to the LaTeX-syntax, see section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sub:LaTeX-Syntax"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+question}[1]{#1}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+answer}[1]{}
+\end_layout
+
+\begin_layout Standard
+and for the answer branch
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+question}[1]{}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+answer}[1]{#1}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Branch Question
+status open
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
+
+\backslash
+newcommand{
+\backslash
+question}[1]{#1}
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+newcommand{
+\backslash
+answer}[1]{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Branch Answer
+status open
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Standard
+
+
+\backslash
+newcommand{
+\backslash
+question}[1]{}
+\end_layout
+
+\begin_layout Standard
+
+
+\backslash
+newcommand{
+\backslash
+answer}[1]{#1}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Now it is possible to use the commands 
+\series bold
+
+\backslash
+question{\SpecialChar \ldots{}
+}
+\series default
+ and 
+\series bold
+
+\backslash
+answer{\SpecialChar \ldots{}
+}
+\series default
+ to obtain conditional output.
+ Here is an example formula where only the 
+\series bold
+
+\backslash
+question
+\series default
+ part appears:
+\begin_inset Formula \[
+x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.\]
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Inside math, the same effect can be achieved using math macros, see section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sec:math-macros"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Section
 ERT and the LaTeX Syntax
 \begin_inset LatexCommand label
@@ -24857,7 +25064,7 @@ preview
 
 \begin_layout Standard
 LyX will generate previews of math insets.
- It will also generate previews of include insets if you select the 
+ It will also generate previews of included insets if you select the 
 \family sans
 Show\InsetSpace ~
 preview
@@ -24877,7 +25084,8 @@ preview-latex
 preview
 \series default
 ) installed.
- You find it in the TeX Catalogue, 
+ In case it is not already installed, you find it in the TeX Catalogue,
 \begin_inset LatexCommand cite
 key "TeXCatalogue"
 
@@ -30460,7 +30668,7 @@ ISO8859--2
 
 \begin_deeper
 \begin_layout Standard
-ĤĴĥȷ̂ĈĜŜĉĝŝ
+ĤĴĥĵĈĜŜĉĝŝ
 \hfill
 circumflex
 \end_layout
@@ -31010,12 +31218,6 @@ Selects the whole document.
 
 \begin_layout Subsection
 Find & Replace
-\begin_inset LatexCommand index
-name "Dialogs ! Find \\& Replace"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -31040,12 +31242,6 @@ This shifts the paragraph where the cursor is currently in one paragraph
 
 \begin_layout Subsection
 Text Style
-\begin_inset LatexCommand index
-name "Dialogs ! Text Style"
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -32017,11 +32213,9 @@ Date
 \end_layout
 
 \begin_layout Standard
-Inserts the actual date in the following form: month/day/year
-\end_layout
-
-\begin_layout Standard
-The format is independent of the document language.
+Inserts the actual date.
+ The format dependends on the date format of the language that is used for
+ LyX's menus.
  LyX offers another ways to insert a date which is explained in section
  
 \emph on
@@ -33762,7 +33956,7 @@ The extra toolbar as shown above contains from left to right the following
 
 \begin_layout Standard
 \begin_inset Tabular
-<lyxtabular version="3" rows="23" columns="2">
+<lyxtabular version="3" rows="24" columns="2">
 <features islongtable="true">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
@@ -34267,6 +34461,35 @@ Note
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
+\begin_layout Standard
+\begin_inset Graphics
+       filename ../images/box-insert.png
+       BoundingBox 0bp 5bp 20bp 20bp
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family sans
+Insert\SpecialChar \menuseparator
+Box
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row interlinespace="2.5mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
 \begin_layout Standard
 \begin_inset Graphics
        filename ../images/url-insert.png
@@ -34908,7 +35131,11 @@ Item
 \begin_inset Quotes erd
 \end_inset
 
-menu or button name
+menu 
+\series default
+or
+\series bold
+ button name
 \begin_inset Quotes erd
 \end_inset
 
@@ -35003,8 +35230,12 @@ XEmacs
 \end_layout
 
 \begin_layout Description
-mac.bind set of bindings for Mac\InsetSpace \thinspace{}
-OS systems.
+mac.bind set of bindings for 
+\family sans
+Mac\InsetSpace \thinspace{}
+OS
+\family default
+ systems.
 \end_layout
 
 \begin_layout Standard
@@ -35174,6 +35405,25 @@ Cursor follows scrollbar
  scrolling.
 \end_layout
 
+\begin_layout Subsubsection
+Pixmap Cache
+\end_layout
+
+\begin_layout Standard
+With the option 
+\family sans
+Enable Pixmap Cache
+\family default
+ enabled, LyX needs to redraw the screen less often.
+ This results in better performance, especially on slow systems.
+ On the other hand, the characters might look more fuzzy on screen.
+ So whether you enable this or not depends on whether you prefer speed over
+ aesthetics.
+ Note that the Pixmap Cache is only available and useful under Mac\InsetSpace ~
+OS and
+ Windows.
+\end_layout
+
 \begin_layout Subsection
 Screen Fonts
 \begin_inset LatexCommand index
@@ -35361,6 +35611,12 @@ name "Keyboard Map"
 \end_inset
 
 
+\begin_inset LatexCommand index
+name "Settings ! Keyboard Map"
+
+\end_inset
+
+
 \begin_inset LatexCommand label
 name "sub:Keyboard-Map"
 
@@ -35643,6 +35899,17 @@ key "Arabic"
 
 \end_inset
 
+.
+ The default is the 
+\series bold
+babel
+\series default
+ command 
+\family sans
+
+\backslash
+selectlanguage{$$lang}
+\family default
 .
 \end_layout
 
@@ -35659,7 +35926,11 @@ Command start
 
 \begin_layout Description
 Use\InsetSpace ~
-babel Whether babel is used or not.
+babel Whether 
+\series bold
+babel
+\series default
+ is used or not.
 \end_layout
 
 \begin_layout Description
@@ -35675,7 +35946,20 @@ babel
 
 \begin_layout Description
 Auto\InsetSpace ~
-begin ??
+begin When this option is set, the documents starts with the chosen
+ document language.
+ When this option is not set, the 
+\family sans
+Command\InsetSpace ~
+start
+\family default
+ is explicitly set to the beginning of the document in the LaTeX-output.
+ This assures that the correct language is used when you use another 
+\family sans
+Command\InsetSpace ~
+start
+\family default
+ than the default.
 \end_layout
 
 \begin_layout Description
@@ -35686,6 +35970,12 @@ Auto\InsetSpace ~
 begin
 \family default
 .
+ When it is not set, the 
+\family sans
+Command\InsetSpace ~
+end
+\family default
+ is set to the end of the document.
 \end_layout
 
 \begin_layout Description
@@ -36105,7 +36395,12 @@ name "Settings ! Paths"
 \end_layout
 
 \begin_layout Standard
-The option 
+The submenu 
+\family sans
+Paths
+\family default
+ is only available in the Windows version of LyX.
+ The option 
 \family sans
 Use Windows-style paths in LaTeX files
 \family default
@@ -36913,11 +37208,11 @@ key "lyxcredit"
 \begin_layout Standard
 
 \newpage
-Bibliography created with the 
+The bibliography on the following page was created with the 
 \family sans
 Bibliography
 \family default
- environment:
+ environment.
 \end_layout
 
 \begin_layout Bibliography
@@ -36927,49 +37222,6 @@ key "lyxcredit"
 
 \end_inset
 
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-addcontentsline{toc}{chapter}{
-\backslash
-bibname
-\backslash
-; 1}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Standard
-The command 
-\series bold
-
-\backslash
-addcontentsline
-\series default
- is explained in the 
-\emph on
-Extended Features
-\emph default
- manual.
- It creates a TOC entry.
-\end_layout
-
-\begin_layout Standard
-A manual TOC entry for the bibliography is only necessary because we use
- two different ones in one document.
-\end_layout
-
-\end_inset
-
 The LyX Team: 
 \begin_inset ERT
 status collapsed
@@ -37639,7 +37891,7 @@ status collapsed
 
 
 \backslash
-href{http://wiki.lyx.org/LyX/LyxFunctionList1-5-1}{
+href{http://wiki.lyx.org/LyX/LyxFunctionList}{
 \end_layout
 
 \end_inset
@@ -37659,7 +37911,7 @@ status collapsed
 \newline
 
 \begin_inset LatexCommand url
-target "http://wiki.lyx.org/LyX/LyxFunctionList1-5-1"
+target "http://wiki.lyx.org/LyX/LyxFunctionList"
 
 \end_inset
 
@@ -37670,30 +37922,29 @@ target "http://wiki.lyx.org/LyX/LyxFunctionList1-5-1"
 
 \newpage
 
-\begin_inset LatexCommand bibtex
-options "biblio/alphadin"
-bibfiles "biblio/LyXDocs"
+\begin_inset ERT
+status collapsed
 
-\end_inset
+\begin_layout Standard
 
 
+\backslash
+let
+\backslash
+mybibname
+\backslash
+bibname
 \end_layout
 
-\begin_layout Standard
-The above bibliography is created from a BibTeX-database.
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
 \begin_layout Standard
 
 
 \backslash
-addcontentsline{toc}{chapter}{
+renewcommand{
 \backslash
-bibname
+bibname}{
+\backslash
+mybibname
 \backslash
 ; 2}
 \end_layout
@@ -37709,26 +37960,32 @@ The command
 \series bold
 
 \backslash
-addcontentsline
+bibname
 \series default
- is explained in the 
-\emph on
-Extended Features
-\emph default
- manual.
- It creates a TOC entry.
+ is the name of the bibliography in the current document language.
+ It is redefined here with the number 2 at the end to state that the following
+ bibliography is the second one:
 \end_layout
 
-\begin_layout Standard
-A manual TOC entry for the bibliography is only necessary because we use
- two different ones in one document.
+\end_inset
+
+
 \end_layout
 
+\begin_layout Standard
+\begin_inset LatexCommand bibtex
+options "biblio/alphadin"
+bibfiles "biblio/LyXDocs"
+
 \end_inset
 
 
 \end_layout
 
+\begin_layout Standard
+The above bibliography is created from a BibTeX-database.
+\end_layout
+
 \begin_layout Standard
 
 \series bold