Figures Test
1 Floats
That’s all, folks.
2 Wraps
Now with wraps.
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.
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.
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
STARTLE-A-THOMPSON’S GAZELLE LTD
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.