+Address
+\family default
+ add extra space between themselves and the next paragraph.
+ If you hit
+\family sans
+Return
+\family default
+ in either of these environments, LyX resets the nesting depth and sets
+ the environment to
+\family sans
+Standard
+\family default
+.
+ This makes sense, since
+\family sans
+Return
+\family default
+ is the
+\family typewriter
+break-paragraph
+\family default
+ function, and the individual lines of an address are not paragraphs.
+ Thus, you have to use
+\family typewriter
+break-line
+\family default
+ (
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+ or
+\family sans
+Formatting
+\begin_inset space ~
+\end_inset
+
+Character\SpecialChar \menuseparator
+Line
+\begin_inset space ~
+\end_inset
+
+Break
+\family default
+ from the
+\family sans
+Insert
+\family default
+ menu) to start a new line in an
+\family sans
+Address
+\family default
+ or
+\family sans
+Right
+\begin_inset space ~
+\end_inset
+
+Address
+\family default
+ environment.
+\end_layout
+
+\begin_layout Subsection
+Academic Writing
+\end_layout
+
+\begin_layout Standard
+Most academic writing begins with an abstract and ends with a bibliography
+ or list of references.
+ LyX contains paragraph environments for both of these.
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Abstract
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Abstracts
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+Abstract
+\family default
+ environment is used for the abstract of an article.
+ Technically, you could use this environment anywhere, but you really should
+ only use it at the beginning of the document, after the title.
+ Also, don't bother trying to nest
+\family sans
+Abstract
+\family default
+ in anything else or vice versa.
+ It won't work.
+ The
+\family sans
+Abstract
+\family default
+ environment is only useful in the article and report document classes.
+ The book document classes ignores the
+\family sans
+Abstract
+\family default
+ completely, and it's utterly silly to use
+\family sans
+Abstract
+\family default
+ in a letter document class.
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+Abstract
+\family default
+ environment does several things for you.
+ First, it puts the centered label
+\begin_inset Quotes eld
+\end_inset
+
+Abstract
+\begin_inset Quotes erd
+\end_inset
+
+ above the text.
+ The label and the text of the abstract are separated by some extra vertical
+ space.
+ Second, it typesets everything in a smaller font, just as you'd expect.
+ Lastly, it adds a bit of extra vertical space between the abstract and
+ the subsequent text.
+ Well, that's how it will appear on the LyX screen.
+ The appearance in the output depends on the used article or report class.
+\end_layout
+
+\begin_layout Standard
+Starting a new paragraph by hitting
+\family sans
+Return
+\family default
+ does not reset the paragraph environment.
+ The new paragraph will still be in the
+\family sans
+Abstract
+\family default
+ environment.
+ So, you will have to change the paragraph environment yourself when you
+ finish entering the abstract of your document.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Graphics
+ filename clipart/Abstract.pdf
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "cap:Paragraph-in-the"
+
+\end_inset
+
+Paragraph in the
+\family sans
+Abstract
+\family default
+ environment
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+We'd love to give you directly an example of the
+\family sans
+Abstract
+\family default
+ environment, but since this document is in the
+\begin_inset Quotes eld
+\end_inset
+
+book
+\begin_inset Quotes erd
+\end_inset
+
+ class, we can't do this.
+ We inserted it therefore as figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cap:Paragraph-in-the"
+
+\end_inset
+
+.
+ If you've never heard of an
+\begin_inset Quotes eld
+\end_inset
+
+abstract
+\begin_inset Quotes erd
+\end_inset
+
+ before, you can safely ignore this environment.
+\end_layout
+
+\begin_layout Subsubsection
+
+\family sans
+Bibliography
+\family default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Bibliography
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Biblio_environment"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+Bibliography
+\family default
+ environment is used to list references.
+ Technically, you could use this environment anywhere, but you really should
+ only use it at the end of the document.
+ Nesting
+\family sans
+Bibliography
+\family default
+ in anything else or vice versa won't work.
+\end_layout
+
+\begin_layout Standard
+When you first open a
+\family sans
+Bibliography
+\family default
+ environment, LyX adds a large vertical space, followed by the heading
+\begin_inset Quotes eld
+\end_inset
+
+Bibliography
+\begin_inset Quotes erd
+\end_inset
+
+ or
+\begin_inset Quotes eld
+\end_inset
+
+References,
+\begin_inset Quotes erd
+\end_inset
+
+ depending on the document class.
+ The heading is in a large boldface font.
+ Each paragraph of the
+\family sans
+Bibliography
+\family default
+ environment is a bibliography entry.
+ Thus, hitting
+\family sans
+Return
+\family default
+ does not reset the paragraph environment.
+ Each new paragraph is still in the
+\family sans
+Bibliography
+\family default
+ environment.
+\end_layout
+
+\begin_layout Standard
+There is another, usually better way to include references in your document
+ by using a BibTeX database.
+ For more information on that, and for a detailed description of LyX's bibliogra
+phy handling, have a look at in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Bibliography"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+LyX
+\family sans
+-Code
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paragraph ! LyX code
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:LyX-Code"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+LyX-Code
+\family default
+ environment is another LyX extension.
+ It type-sets text in a typewriter-style font.
+ It also treats the
+\family sans
+Space
+\family default
+ key as a fixed whitespace;
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+In the
+\family sans
+LyX-Code
+\family default
+ environment, the
+\family sans
+Space
+\family default
+ key is treated as a
+\family sans
+Protected
+\begin_inset space ~
+\end_inset
+
+Blank
+\family default
+ instead of an end-of-word marker.
+\end_layout
+
+\end_inset
+
+ this is the only case in which you can type multiple whitespaces in LyX.
+ If you need to insert blank lines, you'll still need to use
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+ (the
+\family typewriter
+break-line
+\family default
+ function).
+
+\family sans
+Return
+\family default
+ breaks paragraphs.
+ Note, however, that
+\family sans
+Return
+\family default
+ does not reset the paragraph environment.
+ So, when you finish using the
+\family sans
+LyX-Code
+\family default
+ environment, you'll need to change the paragraph environment yourself.
+ Also, you can nest the
+\family sans
+LyX-Code
+\family default
+ environment inside of others.
+\end_layout
+
+\begin_layout Standard
+There are a few quirks with this environment:
+\end_layout
+
+\begin_layout Itemize
+You cannot use
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+ at the beginning of a new paragraph (i.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+you can't follow
+\family sans
+Return
+\family default
+ with a
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+).
+\end_layout
+
+\begin_layout Itemize
+You can't follow a
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+ with a
+\family sans
+Space
+\family default
+.
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+Use a
+\family sans
+Return
+\family default
+ to begin a new paragraph, then you can use a
+\family sans
+Space
+\family default
+.
+\end_layout
+
+\begin_layout Itemize
+Or: use
+\begin_inset Info
+type "shortcut"
+arg "space-insert protected"
+\end_inset
+
+ instead.
+\end_layout
+
+\end_deeper
+\begin_layout Itemize
+You can't have an empty paragraph or an empty line.
+ You must put at least one
+\family sans
+Space
+\family default
+ in any line you want blank.
+ Otherwise, LaTeX generates errors.
+\end_layout
+
+\begin_layout Itemize
+You cannot get the typewriter double quotes by typing
+\family sans
+"
+\family default
+ since that will insert
+\emph on
+real
+\emph default
+ quotes.
+ You get the typewriter double quotes with
+\begin_inset Info
+type "shortcut"
+arg "self-insert \""
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Here is an example:
+\end_layout
+
+\begin_layout LyX-Code
+#include <stdio.h>
+\end_layout
+
+\begin_layout LyX-Code
+
+\end_layout
+
+\begin_layout LyX-Code
+int main(void)
+\end_layout
+
+\begin_layout LyX-Code
+{
+\end_layout
+
+\begin_layout LyX-Code
+ printf("Hello World!
+\backslash
+n");
+\end_layout
+
+\begin_layout LyX-Code
+ return 0;
+\end_layout
+
+\begin_layout LyX-Code
+}
+\end_layout
+
+\begin_layout Standard
+This is just the standard
+\begin_inset Quotes eld
+\end_inset
+
+Hello world!
+\begin_inset Quotes erd
+\end_inset
+
+ program.
+
+\end_layout
+
+\begin_layout Standard
+
+\family sans
+LyX-Code
+\family default
+ has one purpose: to typeset code, such as program source, shell scripts,
+ rc-files, and so on.
+ Use it only in those very special cases where you need to generate text
+ as if you used a typewriter.
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paragraph environments|)
+\end_layout
+
+\end_inset
+
+ For longer parts of programming code, use the listings inset that is described
+ in the chapter
+\emph on
+Program Code Listings
+\emph default
+ of the
+\emph on
+Embedded
+\begin_inset space ~
+\end_inset
+
+Objects
+\emph default
+ manual.
+\end_layout
+
+\begin_layout Section
+Nesting Environments
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Nesting ! Environments
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Nesting"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Introduction
+\end_layout
+
+\begin_layout Standard
+LyX treats text as a unified block with a particular context and specific
+ properties.
+ This allows you to create blocks that inherit some of the properties of
+ another block.
+ For example you have three main points in an outline, but point #2 also
+ has two subpoints.
+ In other words, you have a list inside of another list, with the inner
+ list
+\begin_inset Quotes eld
+\end_inset
+
+attached
+\begin_inset Quotes erd
+\end_inset
+
+ to item #2:
+\end_layout
+
+\begin_layout Enumerate
+one
+\end_layout
+
+\begin_layout Enumerate
+two
+\end_layout
+
+\begin_deeper
+\begin_layout Enumerate
+sublist – item #1
+\end_layout
+
+\begin_layout Enumerate
+sublist – item #2
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+three
+\end_layout
+
+\begin_layout Standard
+You put a list inside a list by nesting one list inside the other.
+ Nesting an environment is quite simple: Select
+\family sans
+Increase
+\begin_inset space ~
+\end_inset
+
+List
+\begin_inset space ~
+\end_inset
+
+Depth
+\family default
+ or
+\family sans
+Decrease
+\begin_inset space ~
+\end_inset
+
+List
+\begin_inset space ~
+\end_inset
+
+Depth
+\family default
+ from the
+\family sans
+Edit
+\family default
+ menu to change the nesting depth of the current paragraph (the status bar
+ will tell you how far you are nested).
+ Instead of the menu, you can also use the toolbar buttons
+\begin_inset Info
+type "icon"
+arg "depth-increment"
+\end_inset
+
+ and
+\begin_inset Info
+type "icon"
+arg "depth-decrement"
+\end_inset
+
+ or the convenient key bindings
+\family sans
+Tab
+\family default
+ and
+\family sans
+Shift-Tab
+\family default
+ or
+\begin_inset Info
+type "shortcut"
+arg "depth-increment"
+\end_inset
+
+ and
+\begin_inset Info
+type "shortcut"
+arg "depth-decrement"
+\end_inset
+
+ to change the nesting level.
+ The change will work on the current selection if you have made one (allowing
+ you to change the nesting of several paragraphs at once), or the current
+ paragraph.
+\end_layout
+
+\begin_layout Standard
+Note that LyX only changes the nesting depth if it can.
+ If it's invalid to do so, nothing happens if you try to change the depth.
+ Additionally, if you change the depth of one paragraph, it affects the
+ depth of every paragraph nested inside of it.
+\end_layout
+
+\begin_layout Standard
+Nesting isn't limited to lists.
+ In LyX, you can nest just about anything inside anything else, as you're
+ about to find out.
+ This is the real power of nesting paragraph environments.
+\end_layout
+
+\begin_layout Subsection
+What You Can and Can't Nest
+\end_layout
+
+\begin_layout Standard
+Before we fire a list of paragraph environments at you, we need to tell
+ you a little bit more about how nesting works.
+\end_layout
+
+\begin_layout Standard
+The question if nesting a paragraph environment is possible, is a bit more
+ complicated than a simple yes or no.
+ There are three types of paragraph environments:
+\end_layout
+
+\begin_layout Itemize
+Completely unnestable
+\end_layout
+
+\begin_layout Itemize
+Fully nestable, you can nest them inside things and you can also nest other
+ things inside them.
+\end_layout
+
+\begin_layout Itemize
+A third type, you can nest them into other environments, but you can't nest
+ anything into them.
+\end_layout
+
+\begin_layout Standard
+Here's a list of the three types of nesting behavior, and which paragraph
+ environments have them:
+\end_layout
+
+\begin_layout Description
+Unnestable Can't nest them.
+ Can't nest into them.
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+
+\family sans
+Bibliography
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Abstract
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Title
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Author
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Date
+\end_layout
+
+\end_deeper
+\begin_layout Description
+Fully
+\begin_inset space ~
+\end_inset
+
+Nestable You can nest them.
+ You can nest other things into them.
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+
+\family sans
+Verse
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Quote
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Quotation
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Itemize
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Enumerate
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Description
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+List
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+LyX-Code
+\end_layout
+
+\end_deeper
+\begin_layout Description
+Nestable-Inside You can nest them inside other things.
+ You can't nest anything into them.
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+
+\family sans
+Standard
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Part
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Chapter
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Section
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Subsection
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Subsubsection
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Paragraph
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Subparagraph
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Part*
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Chapter*
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Section*
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Subsection*
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Subsubsection*
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Right
+\begin_inset space ~
+\end_inset
+
+Address
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Address
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Although it is possible to nest numbered section headings like
+\family sans
+Chapter
+\family default
+,
+\family sans
+Section
+\family default
+, etc.
+\begin_inset space ~
+\end_inset
+
+to e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+lists, it is highly recommended not to do this because the aim is to create
+ well structured documents following typesetting guidelines whereas nested
+ section headings violate this.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Nesting Other Things: Tables, Math, Floats, etc.
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Nesting ! Tables etc.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+There are several things that aren't paragraph environments, but which are
+ affected by nesting anyhow.
+ They are:
+\end_layout
+
+\begin_layout Itemize
+equations
+\end_layout
+
+\begin_layout Itemize
+tables
+\end_layout
+
+\begin_layout Itemize
+figures
+\end_layout
+
+\begin_layout Standard
+(
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Figures and tables in
+\family sans
+Floats
+\family default
+ are not affected by this.
+\end_layout
+
+\end_inset
+
+ Have a look at section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Floats"
+
+\end_inset
+
+ for more information about
+\family sans
+Floats
+\family default
+.)
+\end_layout
+
+\begin_layout Standard