Figures Test

List of Figures
List of Algorithms

1 Floats

First, figure 1↓.
figure random.png
Figure 1 A random image
Next, figure 2↓.
figure lyx credits.png
(a) Random image A
figure lyx credits.png
(b) Random image B
Figure 2 Two random images
And last, 3↓.
figure random.png
(a) Random image A
figure random.png
(b) Random image B
figure random.png
(c) Random image C
Figure 3 Three random images
That’s all, folks.

2 Wraps

Now with wraps.
figure random.png
Figure 4 A wrapped image.
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.
figure random.png
Figure 5 Exterior wrapped image.
The next wrapping image should be smaller, and has default (outer) placement. Again, a lot of text would be required so the image fits around the text; the wrapped image will probably fall on some other page in the PDF, anyway.

3 Algorithms and Listings

We can also add a listing.
This listing appears here courtesy of the fine Ministry of Silly Walks.
And appear here it does alright.
And also a listing inside a float.
This listing appears here courtesy of the fine Ministry of Silly Walks.
And appear here it does alright.
Algorithm 1 An algorithm.
Another algorithm for the sake of it.
\my_first_tex_command
it does not work at all!
\end_command
Algorithm 2 Another algorithm, embedded.
Now the same text outside the algorithm.
\my_first_tex_command
it does not work at all!
\end_command
And an algorithm without caption.
\my_first_tex_command
it should work this time!
\end_command
Now a numbered listing.
1This listing has been numbered.
2Each line has its own number.
A numbered listing with a caption.
1This listing has a caption.
First caption which should not be numbered.
2It should not be numbered.
3These lines, on the other hand, should.
This second caption should not be numbered either.
As soon as we can get to it: a LyX-Code.
This is LyX-Code.
Code-LyX it’s not.
My heart will explode,
My tongue’s in a knot.
Another algorithm, this time without styling.
Who shall declare this good, that ill
When good and ill so intertwine
But to fulfil the vast design of an omniscient will.
When seeming again but turns to loss
When earthly treasure proves but dross
And what seems lost but turns again
To high eternal gain.
Algorithm 4 A poem by Dame Irene Stoat.
And many other things.

4 Boxes (Minipages)

We can insert a box here:
Well I, I think that, er, nobody who has gone abroad should be allowed back in the country. I mean, er, blimey, blimey if they’re not keen enough to stay here when they’re ’ere, why should we allow them back, er, at the tax-payers’ expense? I mean, be fair, I mean, I don’t eat squirrels do I? I mean well perhaps I do one or two but there’s no law against that, is there? It’s a free country. I mean if I want to eat a squirrel now and again, that’s me own business, innit? I mean, I’m no racialist. I, oh, oh...
A decorated centered box:
CONFUSE-A-CAT LIMITED
INCORPORATING
AMAZE-A-VOLE LTD
STUN-A-STOAT LTD
PUZZLE-A-PUMA LTD
STARTLE-A-THOMPSON’S GAZELLE LTD
BEWILDEREBEEST INC
DISTRACT-A-BEE
And a double-decorated box with a certain width:
Goodnight. Ding-ding-ding-ding-ding, five, four, three, two, one… Goodnight. Ding-ding-ding-ding-ding, five, four, three, two, one…
Five, four, three, two, one, zero!
It was fine doing that.