-#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
-\lyxformat 276
+#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
+\lyxformat 338
\begin_document
\begin_header
\textclass book
% set fonts for nicer pdf view
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
- % link all cross references and URLs in pdf output
- \usepackage[colorlinks=true, bookmarks, bookmarksnumbered,
- bookmarksopen, bookmarksopenlevel=2,
- linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
- pdfpagelayout=OneColumn, pdfnewwindow=true,
- pdfstartview=XYZ, plainpages=false, pdfpagelabels,
- pdfauthor={LyX Team}, pdftex,
- pdftitle={The LyX Tutorial},pdfsubject={LyX-documentation Tutorial},
- pdfkeywords={LyX, documentation}]{hyperref}
-
-\else % if dvi or ps is produced
-
- % 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{%
- \pdfbookmark[1]{Contents}{}
- \myTOC
- \cleardoublepage
- \pagenumbering{arabic} }
+% the pages of the TOC is numbered roman
+% and a pdf-bookmark for the TOC is added
+\let\myTOC\tableofcontents
+\renewcommand\tableofcontents{%
+ \frontmatter
+ \pdfbookmark[1]{\contentsname}{}
+ \myTOC
+ \mainmatter }
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
+
\graphics default
\paperfontsize 12
\spacing single
+\use_hyperref true
+\pdf_title "The LyX Tutorial"
+\pdf_author "LyX Team"
+\pdf_subject "LyX-documentation Tutorial"
+\pdf_keywords "LyX, documentation"
+\pdf_bookmarks true
+\pdf_bookmarksnumbered true
+\pdf_bookmarksopen true
+\pdf_bookmarksopenlevel 2
+\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
\use_geometry false
\use_amsmath 0
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
If you have comments or error corrections, please send them to the LyX Documenta
tion mailing list,
\family typewriter
-lyx-docs@lists.lyx.org
-\family default
-.
-\end_layout
+
+\begin_inset CommandInset href
+LatexCommand href
+target "lyx-docs@lists.lyx.org"
+type "mailto:"
\end_inset
+\family default
+.
\end_layout
-\begin_layout Standard
-\begin_inset LatexCommand tableofcontents
-
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Note Note
-status open
-
-\begin_layout Standard
-The latest PDF-version of this document can be found here:
-\newline
-
-\series bold
-http://wiki.lyx.org/LyX/DocumentationDevelopment#Tutorial
-\end_layout
+\begin_inset CommandInset toc
+LatexCommand tableofcontents
\end_inset
\emph on
Tutorial
\emph default
-, you should definitely check out Section\InsetSpace ~
+, you should definitely check out Section
+\begin_inset space ~
+\end_inset
+
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
reference "sec:latexusers"
\end_inset
If you want to learn some of the neat tricks you can do with LaTeX in LyX,
you can have a look at the
\emph on
-Embedded\InsetSpace ~
+Embedded
+\begin_inset space ~
+\end_inset
+
Objects
\emph default
manual.
\begin_layout Section
Your first LyX document
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:Your-first-LyX"
\end_inset
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
They can also serve as good examples of how to use the many features of
LyX.
\end_layout
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
The hints are located in yellow
\begin_inset Quotes eld
\end_inset
Open the raw document, and use
\family sans
File\SpecialChar \menuseparator
-Save\InsetSpace ~
+Save
+\begin_inset space ~
+\end_inset
+
As
\family default
to save a copy in your own directory for you to work on.
Save your document with
\family sans
File\SpecialChar \menuseparator
-Save\InsetSpace ~
+Save
+\begin_inset space ~
+\end_inset
+
As\SpecialChar \@.
\end_layout
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
You can save time by leaving the DVI-viewer running in the background.
Then, you can use
\family sans
Find/Replace Use
\family sans
Edit\SpecialChar \menuseparator
-Find\InsetSpace ~
-&\InsetSpace ~
+Find
+\begin_inset space ~
+\end_inset
+
+&
+\begin_inset space ~
+\end_inset
+
Replace
\family default
(toolbar button
) to search.
In the dialog, search with the
\family sans
-Find\InsetSpace ~
+Find
+\begin_inset space ~
+\end_inset
+
Next
\family default
button, and use the
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
Close the window when you're done or leave it open if you find it more convenien
t.
Most dialog boxes in LyX can operate like this.
\end_layout
\begin_layout Description
-Character\InsetSpace ~
+Character
+\begin_inset space ~
+\end_inset
+
Formatting You can
\emph on
emphasize
the
\family sans
Edit\SpecialChar \menuseparator
-Text\InsetSpace ~
+Text
+\begin_inset space ~
+\end_inset
+
Style
\family default
dialog (toolbar button
\begin_layout Subsection
WYSIWYM: Whitespace in LyX
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:whitespace"
\end_inset
\end_layout
\begin_layout Standard
-Many commercial word processors are based on the WYSIWYG principle:
+Many word processors are based on the WYSIWYG principle:
\begin_inset Quotes eld
\end_inset
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
You don't have to
\emph on
select
\family typewriter
-More\InsetSpace ~
+More
+\begin_inset space ~
+\end_inset
+
Stuff
\family default
\begin_layout Standard
It gets better.
- Go to the end of Section\InsetSpace ~
+ Go to the end of Section
+\begin_inset space ~
+\end_inset
+
1 again (after
\begin_inset Quotes eld
\end_inset
About This Document
\family default
.
- Section\InsetSpace ~
+ Section
+\begin_inset space ~
+\end_inset
+
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
-, which used to be Section\InsetSpace ~
-2, has been automatically renumbered to Section\InsetSpace ~
-3!
- In true WYSIWYM fashion, you just need to identify the text that makes
+, which used to be Section
+\begin_inset space ~
+\end_inset
+
+2, has been automatically renumbered to Section
+\begin_inset space ~
+\end_inset
+
+3! In true WYSIWYM fashion, you just need to identify the text that makes
up the section titles, and LyX takes care of numbering the sections and
typesetting them.
\end_layout
\end_inset
.
- If you put yet another section before Section\InsetSpace ~
-2, Section\InsetSpace ~
-2 will be renumbered
- as Section 3, and the subsections will be renumbered to
+ If you put yet another section before Section
+\begin_inset space ~
+\end_inset
+
+2, Section
+\begin_inset space ~
+\end_inset
+
+2 will be renumbered as Section 3, and the subsections will be renumbered
+ to
\begin_inset Quotes eld
\end_inset
Section
\family default
s, but you're only allowed to use them in certain types (text classes) of
- LyX documents (see Section\InsetSpace ~
+ LyX documents (see Section
+\begin_inset space ~
+\end_inset
-\begin_inset LatexCommand ref
+
+\begin_inset CommandInset ref
+LatexCommand ref
reference "sec:Document-Classes"
\end_inset
\emph default
, one way is to use the
\family sans
-Protected\InsetSpace ~
+Protected
+\begin_inset space ~
+\end_inset
+
Break
\family default
, which you get by typing
\family default
environment (or just use the keybinding,
\family sans
-M-p\InsetSpace ~
+M-p
+\begin_inset space ~
+\end_inset
+
s
\family default
).
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
LyX won't let you select the first bullet unless you also select the paragraph
\emph on
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
But a typesetter's tab, which will change to fit the size of the largest
term, not a pathetic, rigid, unchangeable typewriter
\family sans
If you want to have more than one word in the definition, then separate
the words with
\family sans
-Protected\InsetSpace ~
+Protected
+\begin_inset space ~
+\end_inset
+
Blank
\family default
s.
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
used in this Tutorial for the long typing examples
\end_layout
Verse
\family default
in
-\newline
+\begin_inset Newline newline
+\end_inset
+
\family typewriter
example_raw.lyx
\begin_layout Section
Document Classes
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:Document-Classes"
\end_inset
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
for LaTeX users: this is equivalent to the LaTeX document class
\end_layout
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
That's usually the default document class
\end_layout
For example, LyX supports typesetting (and extra environments) for the
American Mathematics Society journals using the
\family sans
-Article\InsetSpace ~
+Article
+\begin_inset space ~
+\end_inset
+
(AMS)
\family default
document class.
\begin_inset Tabular
<lyxtabular version="3" rows="7" columns="2">
<features>
-<column alignment="center" valignment="top" leftline="true" width="0pt">
-<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
-<row topline="true" bottomline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
Name
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
Notes
\end_layout
\end_inset
</cell>
</row>
-<row topline="true">
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
article
\end_layout
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
one-sided, no chapters
\end_layout
\end_inset
</cell>
</row>
-<row topline="true">
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
article (AMS)
\end_layout
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
layout & environments for American Math Society
\end_layout
\end_inset
</cell>
</row>
-<row topline="true">
+<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
report
\end_layout
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
longer than article, two-sided
\end_layout
\end_inset
</cell>
</row>
-<row topline="true" bottomline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
book
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
report + front and back matter
\end_layout
\end_inset
</cell>
</row>
-<row bottomline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
presentation
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
transparencies
\end_layout
\end_inset
</cell>
</row>
-<row bottomline="true">
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
letter
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
lots of extra environments for address, signature\SpecialChar \ldots{}
\end_layout
Open a new file with
\family sans
File\SpecialChar \menuseparator
-New\InsetSpace ~
-from\InsetSpace ~
+New
+\begin_inset space ~
+\end_inset
+
+from
+\begin_inset space ~
+\end_inset
+
Template
\family default
.
\family default
box, you'll see several environments, like the
\family sans
-My\InsetSpace ~
+My
+\begin_inset space ~
+\end_inset
+
Address
\family default
environment, which don't even exist in most other document classes.
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\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
\family sans
-My\InsetSpace ~
+My
+\begin_inset space ~
+\end_inset
+
Address
\family default
field so that you can replace it with your own --- and then you move the
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
You should not be using the letter any more, since the
\family sans
Letter
\begin_layout Section
Labels and Cross-References
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:labels"
\end_inset
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
Floats are explained in the
\emph on
User's Guide
\end_layout
\begin_layout Standard
-Place the cursor somewhere in Section\InsetSpace ~
+Place the cursor somewhere in Section
+\begin_inset space ~
+\end_inset
+
2 of your document.
Type
\end_layout
\begin_layout LyX-Code
If you want to know more about this document, then see
-\newline
-Section , which can
- be found on page .
+\begin_inset Newline newline
+\end_inset
+
+Section , which can be found on page .
\end_layout
\begin_layout Standard
--- choose
\family sans
Insert\SpecialChar \menuseparator
-Cross\InsetSpace ~
+Cross
+\begin_inset space ~
+\end_inset
+
Reference
\family default
or the toolbar button
.
(To be really correct, you should put a
\family sans
-Protected\InsetSpace ~
+Protected
+\begin_inset space ~
+\end_inset
+
Blank
\family default
in between the word
\begin_inset Quotes eld
\end_inset
-Section\InsetSpace ~
+Section
+\begin_inset space ~
+\end_inset
+
2
\begin_inset Quotes erd
\end_inset
\begin_inset Quotes eld
\end_inset
-Page\InsetSpace ~
+Page
+\begin_inset space ~
+\end_inset
+
1
\begin_inset Quotes erd
\end_inset
- (or whatever page Section\InsetSpace ~
+ (or whatever page Section
+\begin_inset space ~
+\end_inset
+
2's title is on).
\end_layout
\family default
dialog, clicking
\family sans
-Go\InsetSpace ~
-to\InsetSpace ~
+Go
+\begin_inset space ~
+\end_inset
+
+to
+\begin_inset space ~
+\end_inset
+
Label
\family default
will move the cursor to the referenced label.
\begin_layout Standard
We told you that LyX takes care about numbering cross-references; now you
can test that.
- Add a new section before Section\InsetSpace ~
+ Add a new section before Section
+\begin_inset space ~
+\end_inset
+
2.
Update the DVI view, and --- voilĂ ! --- the section cross reference changed
to
\begin_inset Quotes erd
\end_inset
- to a subsection, and the cross-reference will reference Subsection\InsetSpace ~
-2.1 instead
- of Section\InsetSpace ~
+ to a subsection, and the cross-reference will reference Subsection
+\begin_inset space ~
+\end_inset
+
+2.1 instead of Section
+\begin_inset space ~
+\end_inset
+
3.
The page reference won't change unless you add a whole page of text before
the label, of course.
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
By the way, copying a chapter title may cause an error, because chapters
- aren't allowed in the article class, see section\InsetSpace ~
+ aren't allowed in the article class, see section
+\begin_inset space ~
+\end_inset
+
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
reference "sec:Document-Classes"
\end_inset
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
It may be easier to select it using the keyboard.
You might accidentally open the footnote if you're trying to select the
marker itself with the mouse.
Margin notes can be added using the menu
\family sans
Insert\SpecialChar \menuseparator
-Marginal\InsetSpace ~
+Marginal
+\begin_inset space ~
+\end_inset
+
Note
\family default
or the toolbar button
\begin_layout Section
Bibliographies
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:bibliographies"
\end_inset
Note that LyX automatically puts a number in a box before each reference.
Click on the boxed reference number, and the
\family sans
-Bibliography\InsetSpace ~
+Bibliography
+\begin_inset space ~
+\end_inset
+
item
\family default
dialog box appears.
\begin_layout Standard
The
\family sans
-Text\InsetSpace ~
+Text
+\begin_inset space ~
+\end_inset
+
after
\family default
field in the
\family default
field in the
\family sans
-Bibliography\InsetSpace ~
+Bibliography
+\begin_inset space ~
+\end_inset
+
item
\family default
dialog.
\family sans
Insert\SpecialChar \menuseparator
-List\InsetSpace ~
-/\InsetSpace ~
+List
+\begin_inset space ~
+\end_inset
+
+/
+\begin_inset space ~
+\end_inset
+
TOC\SpecialChar \menuseparator
-Table\InsetSpace ~
-of\InsetSpace ~
+Table
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
Contents
\family default
.
commands can be typed in normally, but they will show up in a WYSIWYM fashion.
If, on the other hand, you've never written in LaTeX, then the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Panel
\family default
will allow you to write professional-looking math quickly and easily.
\family sans
Insert\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
-Inline\InsetSpace ~
+Inline
+\begin_inset space ~
+\end_inset
+
Formula
\family default
.
sqrt
\family default
; this can be frustrating, because you can't see what an expression looks
- like until you LaTeX the file, and may have to spend time to find e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-missing
- brackets.
+ like until you LaTeX the file, and may have to spend time to find e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+missing brackets.
LyX doesn't attempt to get the expression to look perfect (WYSIWYG), but
it gives you an extremely good idea of what the expression will look like.
LaTeX then takes care of the professional typesetting.
\begin_layout Standard
An exponent can be entered from the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
(see below), but it's actually simpler just to type the caret key,
\begin_layout Standard
The
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
is a convenient way to enter symbols or to perform complicated formula
menus.
However, we're going to concentrate on using the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbars
\family default
, just to let you know what's out there; you can learn keyboard shortcuts
\begin_inset Quotes eld
\end_inset
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
(auto)
\begin_inset Quotes erd
\end_inset
\begin_layout Standard
The
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
which allow you to choose from a large array of symbols used in math: various
However, those parentheses will be the same size as regular text, which
will look bad if you have a big fraction or matrix inside the parentheses.
So better use in this case one of the three delimiter buttons that insert
- directly e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-a (\InsetSpace \thinspace{}
+ directly e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+a (
+\begin_inset space \thinspace{}
+\end_inset
+
) pair.
\end_layout
Select the portion of the formula that you want to adjust, and then click
on the button you want from the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
.
in the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
.
\begin_layout Standard
Click on the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
button
\begin_layout Subsection
Matrices
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:matrices"
\end_inset
in the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
.
\family sans
Edit\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
-Rows\InsetSpace \thinspace{}
-&\InsetSpace \thinspace{}
+Rows
+\begin_inset space \thinspace{}
+\end_inset
+
+&
+\begin_inset space \thinspace{}
+\end_inset
+
Columns
\family default
or the math toolbar buttons
in the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
, which represents a couple lines of text before and after a centered blue
\begin_inset Foot
status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
After you've done it the hard way, give
\family sans
Insert\SpecialChar \menuseparator
Math\SpecialChar \menuseparator
-Cases\InsetSpace ~
+Cases
+\begin_inset space ~
+\end_inset
+
Environment
\family default
a try.
\emph default
and the
\emph on
-Embedded\InsetSpace ~
+Embedded
+\begin_inset space ~
+\end_inset
+
Objects
\emph default
manual for more information.
\emph default
to get a
\family sans
-Table\InsetSpace ~
+Table
+\begin_inset space ~
+\end_inset
+
Settings
\family default
dialog box which allows extensive table editing.
\begin_layout Itemize
LyX can read LaTeX documents.
- See section\InsetSpace ~
+ See section
+\begin_inset space ~
+\end_inset
+
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
reference "sec:tex2lyx"
\end_inset
\begin_layout Section
LyX for LaTeX Users
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:latexusers"
\end_inset
information here.
The the
\emph on
-Extended\InsetSpace ~
+Extended
+\begin_inset space ~
+\end_inset
+
Features
\emph default
and the
\emph on
-Embedded\InsetSpace ~
+Embedded
+\begin_inset space ~
+\end_inset
+
Objects
\emph default
manual have a great deal of information on differences between LyX and
You can use TeX commands in LyX by choosing
\family sans
Insert\SpecialChar \menuseparator
-TeX\InsetSpace ~
+TeX
+\begin_inset space ~
+\end_inset
+
Code
\family default
(toolbar button
This will work for almost all, non-complicated math macros.
This may be faster than using the
\family sans
-Math\InsetSpace ~
+Math
+\begin_inset space ~
+\end_inset
+
Toolbar
\family default
, and will be especially convenient for experienced LaTeX users.
\backslash
usepackage{foo}
\family default
- in the preamble (see section\InsetSpace ~
+ in the preamble (see section
+\begin_inset space ~
+\end_inset
+
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
reference "sec:preamble"
\end_inset
tex2lyx
\family default
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:tex2lyx"
\end_inset
\family sans
File\SpecialChar \menuseparator
Import\SpecialChar \menuseparator
-LaTeX\InsetSpace ~
+LaTeX
+\begin_inset space ~
+\end_inset
+
(plain)
\family default
menu in LyX.
\bar under
x
\bar default
-tra\InsetSpace ~
+tra
+\begin_inset space ~
+\end_inset
+
Options
\family default
area.
\begin_layout Subsubsection
Other Preamble Matter
-\begin_inset LatexCommand label
+\begin_inset CommandInset label
+LatexCommand label
name "sec:preamble"
\end_inset
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
-LaTeX\InsetSpace ~
+LaTeX
+\begin_inset space ~
+\end_inset
+
Preamble
\family default
and type in the dialog window (or from the document settings dialog, depending
I
\bar default
nsert\SpecialChar \menuseparator
-List\InsetSpace ~
-/\InsetSpace ~
+List
+\begin_inset space ~
+\end_inset
+
+/
+\begin_inset space ~
+\end_inset
+
T
\bar under
O
\bar under
B
\bar default
-ibTeX\InsetSpace ~
+ibTeX
+\begin_inset space ~
+\end_inset
+
Bibliography
\family default
to include a
Insert\SpecialChar \menuseparator
Citation
\family default
- (see section\InsetSpace ~
+ (see section
+\begin_inset space ~
+\end_inset
+
-\begin_inset LatexCommand ref
+\begin_inset CommandInset ref
+LatexCommand ref
reference "sec:bibliographies"
\end_inset
or LaTeX can't understand.
When this happens, LyX will open a
\family sans
-LaTeX\InsetSpace ~
+LaTeX
+\begin_inset space ~
+\end_inset
+
Errors
\family default
dialog.