1 #LyX 1.6.0 created this file. For more info see http://www.lyx.org/
5 \use_default_options false
11 \inputencoding default
14 \font_typewriter default
15 \font_default_family default
21 \paperfontsize default
30 \paperorientation portrait
33 \paragraph_separation indent
35 \quotes_language english
38 \paperpagestyle default
39 \tracking_changes false
60 \begin_layout Standard
61 The aim for this chapter is to show how the LaTeX package
65 can be used in a LyX document.
66 As LyX doesn't support the
70 package natively yet, we have to use some small hacks.
71 By reading this section it should be obvious how to do this.
74 \begin_layout Subsection
78 \begin_layout Standard
83 package allows switching between one and multicolumn format on the same
85 Footnotes are handled correctly (for the most part), but will be placed
86 at the bottom of the page and not under each column.
87 LaTeX's float mechanism, however, is partly disabled in the current implementat
89 At the moment only page-wide floats can be used within the scope of the
93 \begin_layout Subsection
97 \begin_layout Subsubsection
101 \begin_layout Standard
102 If you want to have two columns in your text, you have use LaTeX mode to
109 at the point where you want the two column layout to start, and then
115 where you want it to end.
119 \begin_layout Standard
120 \begin_inset VSpace -2ex
126 \begin_layout Standard
130 \begin_layout Plain Layout
142 \begin_layout Standard
147 The Adventure of the Empty House
150 \begin_inset Newline newline
155 Sir Arthur Conan Doyle
158 \begin_layout Standard
161 It was in the spring of the year 1894 that all London was interested, and
162 the fashionable world dismayed, by the murder of the Honourable Ronald
163 Adair under most unusual and inexplicable circumstances.
164 The public has already learned those particulars of the crime which came
165 out in the police investigation, but a good deal was suppressed upon that
166 occasion, since the case for the prosecution was so overwhelmingly strong
167 that it was not necessary to bring forward all the facts.
168 Only now, at the end of nearly ten years, am I allowed to supply those
169 missing links which make up the whole of that remarkable chain.
170 The crime was of interest in itself, but that interest was as nothing to
171 me compared to the inconceivable sequel, which afforded me the greatest
172 shock and surprise of any event in my adventurous life.
173 Even now, after this long interval, I find myself thrilling as I think
174 of it, and feeling once more that sudden flood of joy, amazement, and increduli
175 ty which utterly submerged my mind.
176 Let me say to that public, which has shown some interest in those glimpses
177 which I have occasionally given them of the thoughts and actions of a very
178 remarkable man, that they are not to blame me if I have not shared my knowledge
179 with them, for I should have considered it my first duty to do so, had
180 I not been barred by a positive prohibition from his own lips, which was
181 only withdrawn upon the third of last month.
184 \begin_layout Standard
188 \begin_layout Plain Layout
200 \begin_layout Subsubsection
204 \begin_layout Standard
205 The same pattern is used when you want more than two columns.
206 (You can have more than 3 columns if you want , but that might not be very
207 pleasant for the eye.)
210 \begin_layout Standard
211 \begin_inset VSpace -2ex
217 \begin_layout Standard
221 \begin_layout Plain Layout
233 \begin_layout Standard
236 It can be imagined that my close intimacy with Sherlock Holmes had interested
237 me deeply in crime, and that after his disappearance I never failed to
238 read with care the various problems which came before the public.
239 And I even attempted, more than once, for my own private satisfaction,
240 to employ his methods in their solution, though with indifferent success.
241 There was none, however, which appealed to me like this tragedy of Ronald
243 As I read the evidence at the inquest, which led up to a verdict of willful
244 murder against some person or persons unknown, I realized more clearly
245 than I had ever done the loss which the community had sustained by the
246 death of Sherlock Holmes.
247 There were points about this strange business which would, I was sure,
248 have specially appealed to him, and the efforts of the police would have
249 been supplemented, or more probably anticipated, by the trained observation
250 and the alert mind of the first criminal agent in Europe.
251 All day, as I drove upon my round, I turned over the case in my mind and
252 found no explanation which appeared to me to be adequate.
253 At the risk of telling a twice-told tale, I will recapitulate the facts
254 as they were known to the public at the conclusion of the inquest.
257 \begin_layout Standard
261 \begin_layout Plain Layout
273 \begin_layout Subsubsection
274 Columns inside columns
277 \begin_layout Standard
278 You can even have columns inside columns:
281 \begin_layout Standard
282 \begin_inset VSpace -2ex
288 \begin_layout Standard
292 \begin_layout Plain Layout
304 \begin_layout Standard
307 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
308 at that time governor of one of the Australian colonies.
309 Adair's mother had returned from Australia to undergo the operation for
310 cataract, and she, her son Ronald, and her daughter Hilda were living together
314 \begin_layout Standard
315 \begin_inset VSpace -2ex
321 \begin_layout Standard
325 \begin_layout Plain Layout
337 \begin_layout Standard
340 The youth moved in the best society--had, so far as was known, no enemies
341 and no particular vices.
342 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
343 had been broken off by mutual consent some months before, and there was
344 no sign that it had left any very profound feeling behind it.
345 For the rest {sic} the man's life moved in a narrow and conventional circle,
346 for his habits were quiet and his nature unemotional.
347 Yet it was upon this easy-going young aristocrat that death came, in most
348 strange and unexpected form, between the hours of ten and eleven-twenty
349 on the night of March 30, 1894.
352 \begin_layout Standard
356 \begin_layout Plain Layout
368 \begin_layout Standard
371 Ronald Adair was fond of cards--playing continually, but never for such
372 stakes as would hurt him.
373 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
374 It was shown that, after dinner on the day of his death, he had played
375 a rubber of whist at the latter club.
376 He had also played there in the afternoon.
381 The evidence of those who had played with him-- Mr.
382 Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
383 and that there was a fairly equal fall of the cards.
384 Adair might have lost five pounds, but not more.
385 His fortune was a considerable one, and such a loss could not in any way
387 He had played nearly every day at one club or other, but he was a cautious
388 player, and usually rose a winner.
389 It came out in evidence that, in partnership with Colonel Moran, he had
390 actually won as much as four hundred and twenty pounds in a sitting, some
391 weeks before, from Godfrey Milner and Lord Balmoral.
392 So much for his recent history as it came out at the inquest.
395 \begin_layout Standard
399 \begin_layout Plain Layout
411 \begin_layout Subsection
415 \begin_layout Standard
420 has several customizing variables.
421 The following examples shows how these can be used from LyX.
424 \begin_layout Subsubsection
428 \begin_layout Standard
429 If there is less than 5cm left on the page, a page break will be inserted
430 before this bit, which has a preface text above the two columns:
433 \begin_layout Standard
437 \begin_layout Plain Layout
446 And the story continues and continues and continues and continues\SpecialChar \ldots{}
451 \begin_layout Plain Layout
461 \begin_layout Standard
464 On the evening of the crime, he returned from the club exactly at ten.
465 His mother and sister were out spending the evening with a relation.
466 The servant deposed that she heard him enter the front room on the second
467 floor, generally used as his sitting-room.
468 She had lit a fire there, and as it smoked she had opened the window.
469 No sound was heard from the room until eleven-twenty, the hour of the return
470 of Lady Maynooth and her daughter.
471 Desiring to say good-night, she attempted to enter her son's room.
472 The door was locked on the inside, and no answer could be got to their
474 Help was obtained, and the door forced.
475 The unfortunate young man was found lying near the table.
476 His head had been horribly mutilated by an expanding revolver bullet, but
477 no weapon of any sort was to be found in the room.
478 On the table lay two bank notes for ten pounds each and seventeen pounds
479 ten in silver and gold, the money arranged in little piles of varying amount.
480 There were some figures also upon a sheet of paper, with the names of some
481 club friends opposite to them, from which it was conjectured that before
482 his death he was endeavouring to make out his losses or winnings at cards.
485 \begin_layout Standard
489 \begin_layout Plain Layout
501 \begin_layout Subsubsection
505 \begin_layout Standard
506 What if you want the preface to be a sectioning command? That can be done,
507 but only through LaTeX commands inside the parameters for the
512 Because of this, the section command cannot be provided by LyX:
515 \begin_layout Standard
519 \begin_layout Plain Layout
530 This is the sectioning command as a preface
534 \begin_layout Plain Layout
544 \begin_layout Standard
547 A minute examination of the circumstances served only to make the case more
549 In the first place, no reason could be given why the young man should have
550 fastened the door upon the inside.
551 There was the possibility that the murderer had done this, and had afterwards
552 escaped by the window.
553 The drop was at least twenty feet, however, and a bed of crocuses in full
555 Neither the flowers nor the earth showed any sign of having been disturbed,
556 nor were there any marks upon the narrow strip of grass which separated
557 the house from the road.
558 Apparently, therefore, it was the young man himself who had fastened the
560 But how did he come by his death? No one could have climbed up to the window
561 without leaving traces.
562 Suppose a man had fired through the window, he would indeed be a remarkable
563 shot who could with a revolver inflict so deadly a wound.
564 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
565 a hundred yards of the house.
566 No one had heard a shot.
567 And yet there was the dead man and there the revolver bullet, which had
568 mushroomed out, as soft-nosed bullets will, and so inflicted a wound which
569 must have caused instantaneous death.
570 Such were the circumstances of the Park Lane Mystery, which were further
571 complicated by entire absence of motive, since, as I have said, young Adair
572 was not known to have any enemy, and no attempt had been made to remove
573 the money or valuables in the room.
576 \begin_layout Standard
580 \begin_layout Plain Layout
592 \begin_layout Subsubsection
596 \begin_layout Standard
601 package demands that a certain amount of space is available before and
602 after a multicolumn section.
607 inserts a given space in front of and after the multicol section.
608 The commands to change the default settings for this must be given just
616 This example puts a space of 3 cm in front of and after the multicolumn
620 \begin_layout Standard
624 \begin_layout Plain Layout
640 \begin_layout Standard
643 All day I turned these facts over in my mind, endeavouring to hit upon some
644 theory which could reconcile them all, and to find that line of least resistanc
645 e which my poor friend had declared to be the starting-point of every investigat
647 I confess that I made little progress.
648 In the evening I strolled across the Park, and found myself about six o'clock
649 at the Oxford Street end of Park Lane.
650 A group of loafers upon the pavements, all staring up at a particular window,
651 directed me to the house which I had come to see.
652 A tall, thin man with coloured glasses, whom I strongly suspected of being
653 a plain-clothes detective, was pointing out some theory of his own, while
654 the others crowded round to listen to what he said.
655 I got as near him as I could, but his observations seemed to me to be absurd,
656 so I withdrew again in some disgust.
657 As I did so I struck against an elderly, deformed man, who had been behind
658 me, and I knocked down several books which he was carrying.
659 I remember that as I picked them up, I observed the title of one of them,
660 THE ORIGIN OF TREE WORSHIP, and it struck me that the fellow must be some
661 poor bibliophile, who, either as a trade or as a hobby, was a collector
663 I endeavoured to apologize for the accident, but it was evident that these
664 books which I had so unfortunately maltreated were very precious objects
665 in the eyes of their owner.
666 With a snarl of contempt he turned upon his heel, and I saw his curved
667 back and white side-whiskers disappear among the throng.
670 \begin_layout Standard
674 \begin_layout Plain Layout
686 \begin_layout Paragraph
690 \begin_layout Standard
691 The values you set with
697 must be reset to default after use, or you will get the modified value
698 in the rest of your document.
701 \begin_layout Standard
705 \begin_layout Plain Layout
719 \begin_layout Subsubsection
720 Column Width and Separation
723 \begin_layout Standard
724 The width of the columns inside the
728 environment is automatically calculated, but you can modify the space between
729 two columns explicitly.
730 The space between the following two columns is 3 cm wide:
733 \begin_layout Standard
737 \begin_layout Plain Layout
753 \begin_layout Standard
756 My observations of No.
757 427 Park Lane did little to clear up the problem in which I was interested.
758 The house was separated from the street by a low wall and railing, the
759 whole not more than five feet high.
760 It was perfectly easy, therefore, for anyone to get into the garden, but
761 the window was entirely inaccessible, since there was no water pipe or
762 anything which could help the most active man to climb it.
763 More puzzled than ever, I retraced my steps to Kensington.
764 I had not been in my study five minutes when the maid entered to say that
765 a person desired to see me.
766 To my astonishment it was none other than my strange old book collector,
767 his sharp, wizened face peering out from a frame of white hair, and his
768 precious volumes, a dozen of them at least, wedged under his right arm.
771 \begin_layout Standard
775 \begin_layout Plain Layout
787 \begin_layout Standard
788 Once again, we have to reset the value after use to avoid using it in the
789 rest of the document.
792 \begin_layout Standard
796 \begin_layout Plain Layout
810 \begin_layout Subsubsection
814 \begin_layout Standard
815 Between every two columns, a rule of width
822 If this rule is set to 0 pt, the rule is suppressed.
823 In the following example, the line separating the two columns is 2 pt wide.
826 \begin_layout Standard
830 \begin_layout Plain Layout
846 \begin_layout Standard
849 \begin_inset Quotes eld
852 You're surprised to see me, sir,
853 \begin_inset Quotes erd
856 said he, in a strange, croaking voice.
859 \begin_layout Standard
862 I acknowledged that I was.
865 \begin_layout Standard
868 \begin_inset Quotes eld
871 Well, I've a conscience, sir, and when I chanced to see you go into this
872 house, as I came hobbling after you, I thought to myself, I'll just step
873 in and see that kind gentleman, and tell him that if I was a bit gruff
874 in my manner there was not any harm meant, and that I am much obliged to
875 him for picking up my books.
876 \begin_inset Quotes erd
882 \begin_layout Standard
885 \begin_inset Quotes eld
888 You make too much of a trifle,
889 \begin_inset Quotes erd
894 \begin_inset Quotes eld
897 May I ask how you knew who I was?
898 \begin_inset Quotes erd
904 \begin_layout Standard
907 \begin_inset Quotes eld
910 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
911 you'll find my little bookshop at the corner of Church Street, and very
912 happy to see you, I am sure.
913 Maybe you collect yourself, sir.
930 --a bargain, every one of them.
931 With five volumes you could just fill that gap on that second shelf.
932 It looks untidy, does it not, sir?
933 \begin_inset Quotes erd
939 \begin_layout Standard
943 \begin_layout Plain Layout
955 \begin_layout Standard
956 As usual, we reset the value after use.
959 \begin_layout Standard
963 \begin_layout Plain Layout
977 \begin_layout Standard
978 You'll have to go to the library to read the rest of the story.
982 \begin_layout Plain Layout
983 \SpecialChar \ldots{}
984 or cheat like we did and find it at the Gutenberg project somewhere on the
990 Believe it or not, but it's actually a bit of a cliff-hanger at this point
991 in the story\SpecialChar \ldots{}