-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 337
+#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
\textclass book
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
- {LyX }}
+ {LyX}}
\end_preamble
+\use_default_options false
\language english
\inputencoding auto
\font_roman default
\pdf_bookmarks true
\pdf_bookmarksnumbered true
\pdf_bookmarksopen true
-\pdf_bookmarksopenlevel 2
+\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
-\pdf_pagebackref false
\pdf_pdfusetitle false
\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true,pdfstartview=XYZ, plainpages=false, pdfpagelabels"
\papersize default
\begin_layout Section
Your first LyX document
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Your-first-LyX"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\begin_inset Quotes erd
\end_inset
- hints about how to fix things
+ hints about how to fix things.
\begin_inset Foot
status collapsed
\end_inset
-.
If you want to cheat, or check what you've done, there's also a file called
\family typewriter
\family sans
Replace
\family default
- button to replace a word you've found
+ button to replace a word you've found.
\begin_inset Foot
status collapsed
\end_inset
-.
If you like, you can specify whether to make the search case-sensitive,
or to search for only complete words; you can also search backwards through
the document.
\begin_layout Subsection
WYSIWYM: Whitespace in LyX
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:whitespace"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\family sans
HFill
\family default
-s and vertical space --- which are more powerful and versatile than multiple
- spaces or blank lines --- and ways to change font sizes, character styles,
+s and vertical space — which are more powerful and versatile than multiple
+ spaces or blank lines — and ways to change font sizes, character styles,
and paragraph alignments by hand.
The idea, though, is that you can write your whole document, focusing on
content, and just worry about that fine-tuning at the end.
\family sans
List
\family default
- environment --- not found in LaTeX --- is a slightly different form of
- the
+ environment is a slightly different form of the
\family sans
Description
\family default
For example, books are generally printed double-sided, while articles are
single-sided.
In addition, many documents contain special environments: letters contain
- some environments --- such as the sender's address and the signature ---
- which do not make sense in a book or article.
+ some environments — such as the sender's address and the signature — which
+ do not make sense in a book or article.
The LyX
\emph on
document class
\emph default
section of the
\emph on
-Extended Features
+Additional Features
\emph default
manual for many more details.
\end_layout
\begin_layout Plain Layout
One warning, if you're writing from a template.
- If you erase all of the text in an environment --- for example, if you
- erase the whole
+ If you erase all of the text in an environment — for example, if you erase
+ the whole
\family sans
My
\begin_inset space ~
Address
\family default
- field so that you can replace it with your own --- and then you move the
+ field so that you can replace it with your own — and then you move the
cursor without writing any text, the environment may disappear.
This is because most environments cannot exist without any text in them.
Just reselect the environment from the
\end_layout
\begin_layout Standard
-LyX (like LaTeX) considers the title --- which may contain the actual title,
- the author, the date, and even an abstract of a paper --- to be a separate
+LyX (like LaTeX) considers the title — which may contain the actual title,
+ the author, the date, and even an abstract of a paper — to be a separate
part of the document.
\end_layout
\begin_layout Section
Labels and Cross-References
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:labels"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
LyX (and LaTeX) over conventional word processors.
\end_layout
-\begin_layout Subsection*
+\begin_layout Subsection
Your first label
\end_layout
\end_layout
\begin_layout Standard
-So far you haven't done anything --- the DVI output will look exactly the
+So far you haven't done anything — the DVI output will look exactly the
same, since labels don't show up in the printed document.
However, now that you have added a label, you can refer to that label with
cross-references.
We'll do that next.
\end_layout
-\begin_layout Subsection*
+\begin_layout Subsection
Your first cross-reference
\end_layout
\begin_layout Standard
-Place the cursor somewhere in Section
+Place the cursor somewhere in section
\begin_inset space ~
\end_inset
\begin_inset Newline newline
\end_inset
-Section , which can be found on page .
+section, which can be found on page.
\end_layout
\begin_layout Standard
-Now --- with the cursor after the word
+Now set the cursor after the word
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- --- choose
+ and choose
\family sans
Insert\SpecialChar \menuseparator
Cross
Same for the page reference.)
\end_layout
+\begin_layout Standard
+Alternatively to that method, 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
LyX puts the references in a box right where the cursor was.
In the printed document, this reference marker will be replaced with either
will move the cursor to the referenced label.
\end_layout
-\begin_layout Subsection*
+\begin_layout Subsection
More fun with labels
\end_layout
\end_inset
2.
- Update the DVI view, and --- voilà! --- the section cross reference changed
+ Update the DVI view, and — voilà! — the section cross reference changed
to
\begin_inset Quotes eld
\end_inset
\end_inset
the footnote.
- You can unfold the footnote at any time --- and re-edit its text, if you
- want --- by clicking again on the
+ You can unfold the footnote at any time and re-edit its text by clicking
+ again on the
\begin_inset Quotes eld
\end_inset
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
missing brackets.
\end_layout
\begin_layout Standard
-Writing a subscript (index) is just as easy --- start one by typing the
- underscore key,
+Writing a subscript (index) is just as easy — start one by typing the underscore
+ key,
\begin_inset Quotes eld
\end_inset
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
a (
\begin_layout Subsection
Matrices
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:matrices"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Itemize
-Change typefaces, e.g., to write bold-face text in an expression.
+Change typefaces, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+to write bold-face text in an expression.
\end_layout
\begin_layout Itemize
new LyX users will most likely be interested in.
In the interests of keeping the Tutorial short, we will give only minimal
information here.
- The the
+ The
\emph on
Extended
\begin_inset space ~
\end_inset
-), you can use any package you want --- although you won't have WYSIWYM
- support for that package's features.
+), you can use any package you want — although you won't have WYSIWYM support
+ for that package's features.
\end_layout
\begin_layout Subsection
-Importing LaTeX Documents ---
+Importing LaTeX Documents —
\family typewriter
tex2lyx
\family default
al references to be used in multiple documents.
Select
\family sans
-\bar under
-I
-\bar default
-nsert\SpecialChar \menuseparator
+Insert\SpecialChar \menuseparator
List
\begin_inset space ~
\end_inset
\begin_inset space ~
\end_inset
-T
-\bar under
-O
-\bar default
-C\SpecialChar \menuseparator
-
-\bar under
-B
-\bar default
-ibTeX
+TOC\SpecialChar \menuseparator
+BibTeX
\begin_inset space ~
\end_inset