-#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{%
\myTOC
\cleardoublepage
\pagenumbering{arabic} }
-
-\fi
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
\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
\newline
\newline
-Version 1.5.2
+Version 1.5.4
\end_layout
\begin_layout Standard
.
\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
\end_inset
+\begin_inset LatexCommand label
+name "sec:math-macros"
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\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.
\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
\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
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"
\begin_deeper
\begin_layout Standard
-ĤĴĥȷ̂ĈĜŜĉĝŝ
+ĤĴĥĵĈĜŜĉĝŝ
\hfill
circumflex
\end_layout
\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">
<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
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
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
+ This assures that the correct language is used when you use another
\family sans
Command\InsetSpace ~
start
\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
\backslash
-href{http://wiki.lyx.org/LyX/LyxFunctionList1-5-1}{
+href{http://wiki.lyx.org/LyX/LyxFunctionList}{
\end_layout
\end_inset
\newline
\begin_inset LatexCommand url
-target "http://wiki.lyx.org/LyX/LyxFunctionList1-5-1"
+target "http://wiki.lyx.org/LyX/LyxFunctionList"
\end_inset
\newpage
-\begin_inset LatexCommand bibtex
-options "biblio/alphadin"
-bibfiles "biblio/LyXDocs"
-
-\end_inset
+\begin_inset ERT
+status collapsed
+\begin_layout Standard
-\end_layout
-\begin_layout Standard
-The above bibliography is created from a BibTeX-database.
+\backslash
+let
+\backslash
+mybibname
+\backslash
+bibname
\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
\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