#LyX 1.6.6 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass scrartcl
\begin_preamble
%   eLyXer -- convert LyX source files to HTML output.
%
%   Copyright (C) 2009-2010 Alex Fernández
%
%   This program is free software: you can redistribute it and/or modify
%   it under the terms of the GNU General Public License as published by
%   the Free Software Foundation, either version 3 of the License, or
%   (at your option) any later version.
%
%   This program is distributed in the hope that it will be useful,
%   but WITHOUT ANY WARRANTY; without even the implied warranty of
%   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%   GNU General Public License for more details.
%
%   You should have received a copy of the GNU General Public License
%   along with this program.  If not, see <http://www.gnu.org/licenses/>.
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Title
Figures Test
\end_layout

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\end_layout

\begin_layout Standard
\begin_inset FloatList algorithm

\end_inset


\end_layout

\begin_layout Section
Floats
\end_layout

\begin_layout Standard
First, figure 
\begin_inset CommandInset ref
LatexCommand ref
reference "fig:A-random-image"

\end_inset

.
\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 random.png
	width 50col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "fig:A-random-image"

\end_inset

A random image
\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout

\end_layout

\end_inset


\end_layout

\begin_layout Standard
Next, figure 
\begin_inset CommandInset ref
LatexCommand ref
reference "fig:Two-random-images."

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
	filename lyx credits.png
	width 50col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Random image A
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
	filename lyx credits.png
	width 50col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Random image B
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Caption

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "fig:Two-random-images."

\end_inset

Two random images
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
And last, 
\begin_inset CommandInset ref
LatexCommand ref
reference "fig:Three-random-images"

\end_inset

.
\end_layout

\begin_layout Standard
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
	filename random.png
	width 30col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Random image A
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
	filename random.png
	width 30col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Random image B
\end_layout

\end_inset


\end_layout

\end_inset


\begin_inset Float figure
wide false
sideways false
status open

\begin_layout Plain Layout
\align center
\begin_inset Graphics
	filename random.png
	width 30col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Random image C
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
name "fig:Three-random-images"

\end_inset

Three random images
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
That's all, folks.
\end_layout

\begin_layout Section
Wraps
\end_layout

\begin_layout Standard
Now with wraps.
\end_layout

\begin_layout Standard
\begin_inset Wrap figure
lines 0
placement l
overhang 0in
width "50col%"
status open

\begin_layout Plain Layout

\end_layout

\begin_layout Plain Layout
\align center
\begin_inset Graphics
	filename random.png
	width 50col%

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
A wrapped image.
\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout

\end_layout

\end_inset


\end_layout

\begin_layout Standard
This image should wrap around the text.
 The text should be fairly complete and cover several paragraphs, but we
 might not get so much text.
 After all typing just because tends to bore the readers, who bear the grunt
 of the gruntwork of reading the resulting text.
\end_layout

\begin_layout Section
Algorithms and Listings
\end_layout

\begin_layout Standard
We can also add a listing.
\end_layout

\begin_layout Standard
\begin_inset listings
inline false
status open

\begin_layout Plain Layout

This listing appears here courtesy of the fine Ministry of Silly Walks.
\end_layout

\begin_layout Plain Layout

And appear here it does alright.
\end_layout

\end_inset


\end_layout

\begin_layout Standard
And also a listing inside a float.
\end_layout

\begin_layout Standard
\begin_inset Float algorithm
wide false
sideways false
status open

\begin_layout Plain Layout
\begin_inset listings
inline false
status open

\begin_layout Plain Layout

This listing appears here courtesy of the fine Ministry of Silly Walks.
\end_layout

\begin_layout Plain Layout

And appear here it does alright.
\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
An algorithm.
\end_layout

\end_inset


\end_layout

\begin_layout Plain Layout

\end_layout

\end_inset


\end_layout

\begin_layout Standard
Another algorithm for the sake of it.
\end_layout

\begin_layout Standard
\begin_inset Float algorithm
wide false
sideways false
status open

\begin_layout Quotation

\family typewriter

\backslash
my_first_tex_command
\end_layout

\begin_layout Quotation

\family typewriter
it does not work at all!
\end_layout

\begin_layout Quotation

\family typewriter

\backslash
end_command
\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
Another algorithm, embedded.
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
Now the same text outside the algorithm.
\end_layout

\begin_layout Quotation

\family typewriter

\backslash
my_first_tex_command
\end_layout

\begin_layout Quotation

\family typewriter
it does not work at all!
\end_layout

\begin_layout Quotation

\family typewriter

\backslash
end_command
\end_layout

\begin_layout Standard
And an algorithm without caption.
\end_layout

\begin_layout Standard
\begin_inset Float algorithm
wide false
sideways false
status open

\begin_layout Quotation

\family typewriter

\backslash
my_first_tex_command
\end_layout

\begin_layout Quotation

\family typewriter
it should work this time!
\end_layout

\begin_layout Quotation

\family typewriter

\backslash
end_command
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Now a numbered listing.
\end_layout

\begin_layout Standard
\begin_inset listings
lstparams "numbers=left,stepnumber=1"
inline false
status open

\begin_layout Plain Layout

This listing has been numbered.
\end_layout

\begin_layout Plain Layout

Each line has its own number.
\end_layout

\end_inset


\end_layout

\begin_layout Standard
As soon as we can get to it: a LyX-Code.
\end_layout

\begin_layout LyX-Code
This is LyX-Code.
\end_layout

\begin_layout LyX-Code
Code-LyX it's not.
\end_layout

\begin_layout LyX-Code
My heart will explode,
\end_layout

\begin_layout LyX-Code
My tongue's in a knot.
\end_layout

\begin_layout Standard
Another algorithm, this time without styling.
\end_layout

\begin_layout Quote
\begin_inset Float algorithm
wide false
sideways false
status open

\begin_layout Plain Layout
Who shall declare this good, that ill
\end_layout

\begin_layout Plain Layout
When good and ill so intertwine
\end_layout

\begin_layout Plain Layout
But to fulfil the vast design of an omniscient will.
\end_layout

\begin_layout Plain Layout
When seeming again but turns to loss
\end_layout

\begin_layout Plain Layout
When earthly treasure proves but dross
\end_layout

\begin_layout Plain Layout
And what seems lost but turns again
\end_layout

\begin_layout Plain Layout
To high eternal gain.
\end_layout

\begin_layout Plain Layout
\begin_inset Caption

\begin_layout Plain Layout
A poem by Dame Irene Stoat.
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
And many other things.
\end_layout

\end_body
\end_document
