# Figures Test

List of Figures
List of Algorithms

# 1Floats

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

# 2Wraps

Now with wraps.
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.

# 3Algorithms 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.

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.