1 #LyX 2.0 created this file. For more info see http://www.lyx.org/
9 \use_default_options false
10 \maintain_unincluded_children false
12 \language_package default
13 \inputencoding default
17 \font_typewriter default
18 \font_default_family default
19 \use_non_tex_fonts false
26 \default_output_format default
28 \bibtex_command default
29 \index_command default
30 \paperfontsize default
42 \paperorientation portrait
51 \paragraph_separation indent
52 \paragraph_indentation default
53 \quotes_language english
56 \paperpagestyle default
57 \tracking_changes false
80 \begin_layout Standard
81 The aim for this chapter is to show how the LaTeX package
85 can be used in a LyX document.
86 As LyX doesn't support the
90 package natively yet, we have to use some small hacks.
91 By reading this section it should be obvious how to do this.
94 \begin_layout Subsection
98 \begin_layout Standard
103 package allows switching between one and multicolumn format on the same
105 Footnotes are handled correctly (for the most part), but will be placed
106 at the bottom of the page and not under each column.
107 LaTeX's float mechanism, however, is partly disabled in the current implementat
109 At the moment only page-wide floats can be used within the scope of the
113 \begin_layout Subsection
117 \begin_layout Subsubsection
121 \begin_layout Standard
122 If you want to have two columns in your text, you have use LaTeX mode to
129 at the point where you want the two column layout to start, and then
135 where you want it to end.
139 \begin_layout Standard
140 \begin_inset VSpace -2ex
146 \begin_layout Standard
150 \begin_layout Plain Layout
162 \begin_layout Standard
167 The Adventure of the Empty House
170 \begin_inset Newline newline
175 Sir Arthur Conan Doyle
178 \begin_layout Standard
181 It was in the spring of the year 1894 that all London was interested, and
182 the fashionable world dismayed, by the murder of the Honourable Ronald
183 Adair under most unusual and inexplicable circumstances.
184 The public has already learned those particulars of the crime which came
185 out in the police investigation, but a good deal was suppressed upon that
186 occasion, since the case for the prosecution was so overwhelmingly strong
187 that it was not necessary to bring forward all the facts.
188 Only now, at the end of nearly ten years, am I allowed to supply those
189 missing links which make up the whole of that remarkable chain.
190 The crime was of interest in itself, but that interest was as nothing to
191 me compared to the inconceivable sequel, which afforded me the greatest
192 shock and surprise of any event in my adventurous life.
193 Even now, after this long interval, I find myself thrilling as I think
194 of it, and feeling once more that sudden flood of joy, amazement, and increduli
195 ty which utterly submerged my mind.
196 Let me say to that public, which has shown some interest in those glimpses
197 which I have occasionally given them of the thoughts and actions of a very
198 remarkable man, that they are not to blame me if I have not shared my knowledge
199 with them, for I should have considered it my first duty to do so, had
200 I not been barred by a positive prohibition from his own lips, which was
201 only withdrawn upon the third of last month.
204 \begin_layout Standard
208 \begin_layout Plain Layout
220 \begin_layout Subsubsection
224 \begin_layout Standard
225 The same pattern is used when you want more than two columns.
226 (You can have more than 3 columns if you want , but that might not be very
227 pleasant for the eye.)
230 \begin_layout Standard
231 \begin_inset VSpace -2ex
237 \begin_layout Standard
241 \begin_layout Plain Layout
253 \begin_layout Standard
256 It can be imagined that my close intimacy with Sherlock Holmes had interested
257 me deeply in crime, and that after his disappearance I never failed to
258 read with care the various problems which came before the public.
259 And I even attempted, more than once, for my own private satisfaction,
260 to employ his methods in their solution, though with indifferent success.
261 There was none, however, which appealed to me like this tragedy of Ronald
263 As I read the evidence at the inquest, which led up to a verdict of willful
264 murder against some person or persons unknown, I realized more clearly
265 than I had ever done the loss which the community had sustained by the
266 death of Sherlock Holmes.
267 There were points about this strange business which would, I was sure,
268 have specially appealed to him, and the efforts of the police would have
269 been supplemented, or more probably anticipated, by the trained observation
270 and the alert mind of the first criminal agent in Europe.
271 All day, as I drove upon my round, I turned over the case in my mind and
272 found no explanation which appeared to me to be adequate.
273 At the risk of telling a twice-told tale, I will recapitulate the facts
274 as they were known to the public at the conclusion of the inquest.
277 \begin_layout Standard
281 \begin_layout Plain Layout
293 \begin_layout Subsubsection
294 Columns inside columns
297 \begin_layout Standard
298 You can even have columns inside columns:
301 \begin_layout Standard
302 \begin_inset VSpace -2ex
308 \begin_layout Standard
312 \begin_layout Plain Layout
324 \begin_layout Standard
327 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
328 at that time governor of one of the Australian colonies.
329 Adair's mother had returned from Australia to undergo the operation for
330 cataract, and she, her son Ronald, and her daughter Hilda were living together
334 \begin_layout Standard
335 \begin_inset VSpace -2ex
341 \begin_layout Standard
345 \begin_layout Plain Layout
357 \begin_layout Standard
360 The youth moved in the best society--had, so far as was known, no enemies
361 and no particular vices.
362 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
363 had been broken off by mutual consent some months before, and there was
364 no sign that it had left any very profound feeling behind it.
365 For the rest {sic} the man's life moved in a narrow and conventional circle,
366 for his habits were quiet and his nature unemotional.
367 Yet it was upon this easy-going young aristocrat that death came, in most
368 strange and unexpected form, between the hours of ten and eleven-twenty
369 on the night of March 30, 1894.
372 \begin_layout Standard
376 \begin_layout Plain Layout
388 \begin_layout Standard
391 Ronald Adair was fond of cards--playing continually, but never for such
392 stakes as would hurt him.
393 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
394 It was shown that, after dinner on the day of his death, he had played
395 a rubber of whist at the latter club.
396 He had also played there in the afternoon.
401 The evidence of those who had played with him-- Mr.
402 Murray, Sir John Hardy, and Colonel Moran--showed that the game was whist,
403 and that there was a fairly equal fall of the cards.
404 Adair might have lost five pounds, but not more.
405 His fortune was a considerable one, and such a loss could not in any way
407 He had played nearly every day at one club or other, but he was a cautious
408 player, and usually rose a winner.
409 It came out in evidence that, in partnership with Colonel Moran, he had
410 actually won as much as four hundred and twenty pounds in a sitting, some
411 weeks before, from Godfrey Milner and Lord Balmoral.
412 So much for his recent history as it came out at the inquest.
415 \begin_layout Standard
419 \begin_layout Plain Layout
431 \begin_layout Subsection
435 \begin_layout Standard
440 has several customizing variables.
441 The following examples shows how these can be used from LyX.
444 \begin_layout Subsubsection
448 \begin_layout Standard
449 If there is less than 5cm left on the page, a page break will be inserted
450 before this bit, which has a preface text above the two columns:
453 \begin_layout Standard
457 \begin_layout Plain Layout
466 And the story continues and continues and continues and continues\SpecialChar \ldots{}
471 \begin_layout Plain Layout
481 \begin_layout Standard
484 On the evening of the crime, he returned from the club exactly at ten.
485 His mother and sister were out spending the evening with a relation.
486 The servant deposed that she heard him enter the front room on the second
487 floor, generally used as his sitting-room.
488 She had lit a fire there, and as it smoked she had opened the window.
489 No sound was heard from the room until eleven-twenty, the hour of the return
490 of Lady Maynooth and her daughter.
491 Desiring to say good-night, she attempted to enter her son's room.
492 The door was locked on the inside, and no answer could be got to their
494 Help was obtained, and the door forced.
495 The unfortunate young man was found lying near the table.
496 His head had been horribly mutilated by an expanding revolver bullet, but
497 no weapon of any sort was to be found in the room.
498 On the table lay two bank notes for ten pounds each and seventeen pounds
499 ten in silver and gold, the money arranged in little piles of varying amount.
500 There were some figures also upon a sheet of paper, with the names of some
501 club friends opposite to them, from which it was conjectured that before
502 his death he was endeavouring to make out his losses or winnings at cards.
505 \begin_layout Standard
509 \begin_layout Plain Layout
521 \begin_layout Subsubsection
525 \begin_layout Standard
526 What if you want the preface to be a sectioning command? That can be done,
527 but only through LaTeX commands inside the parameters for the
532 Because of this, the section command cannot be provided by LyX:
535 \begin_layout Standard
539 \begin_layout Plain Layout
550 This is the sectioning command as a preface
554 \begin_layout Plain Layout
564 \begin_layout Standard
567 A minute examination of the circumstances served only to make the case more
569 In the first place, no reason could be given why the young man should have
570 fastened the door upon the inside.
571 There was the possibility that the murderer had done this, and had afterwards
572 escaped by the window.
573 The drop was at least twenty feet, however, and a bed of crocuses in full
575 Neither the flowers nor the earth showed any sign of having been disturbed,
576 nor were there any marks upon the narrow strip of grass which separated
577 the house from the road.
578 Apparently, therefore, it was the young man himself who had fastened the
580 But how did he come by his death? No one could have climbed up to the window
581 without leaving traces.
582 Suppose a man had fired through the window, he would indeed be a remarkable
583 shot who could with a revolver inflict so deadly a wound.
584 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
585 a hundred yards of the house.
586 No one had heard a shot.
587 And yet there was the dead man and there the revolver bullet, which had
588 mushroomed out, as soft-nosed bullets will, and so inflicted a wound which
589 must have caused instantaneous death.
590 Such were the circumstances of the Park Lane Mystery, which were further
591 complicated by entire absence of motive, since, as I have said, young Adair
592 was not known to have any enemy, and no attempt had been made to remove
593 the money or valuables in the room.
596 \begin_layout Standard
600 \begin_layout Plain Layout
612 \begin_layout Subsubsection
616 \begin_layout Standard
621 package demands that a certain amount of space is available before and
622 after a multicolumn section.
627 inserts a given space in front of and after the multicol section.
628 The commands to change the default settings for this must be given just
636 This example puts a space of 3 cm in front of and after the multicolumn
640 \begin_layout Standard
644 \begin_layout Plain Layout
660 \begin_layout Standard
663 All day I turned these facts over in my mind, endeavouring to hit upon some
664 theory which could reconcile them all, and to find that line of least resistanc
665 e which my poor friend had declared to be the starting-point of every investigat
667 I confess that I made little progress.
668 In the evening I strolled across the Park, and found myself about six o'clock
669 at the Oxford Street end of Park Lane.
670 A group of loafers upon the pavements, all staring up at a particular window,
671 directed me to the house which I had come to see.
672 A tall, thin man with coloured glasses, whom I strongly suspected of being
673 a plain-clothes detective, was pointing out some theory of his own, while
674 the others crowded round to listen to what he said.
675 I got as near him as I could, but his observations seemed to me to be absurd,
676 so I withdrew again in some disgust.
677 As I did so I struck against an elderly, deformed man, who had been behind
678 me, and I knocked down several books which he was carrying.
679 I remember that as I picked them up, I observed the title of one of them,
680 THE ORIGIN OF TREE WORSHIP, and it struck me that the fellow must be some
681 poor bibliophile, who, either as a trade or as a hobby, was a collector
683 I endeavoured to apologize for the accident, but it was evident that these
684 books which I had so unfortunately maltreated were very precious objects
685 in the eyes of their owner.
686 With a snarl of contempt he turned upon his heel, and I saw his curved
687 back and white side-whiskers disappear among the throng.
690 \begin_layout Standard
694 \begin_layout Plain Layout
706 \begin_layout Paragraph
710 \begin_layout Standard
711 The values you set with
717 must be reset to default after use, or you will get the modified value
718 in the rest of your document.
721 \begin_layout Standard
725 \begin_layout Plain Layout
739 \begin_layout Subsubsection
740 Column Width and Separation
743 \begin_layout Standard
744 The width of the columns inside the
748 environment is automatically calculated, but you can modify the space between
749 two columns explicitly.
750 The space between the following two columns is 3 cm wide:
753 \begin_layout Standard
757 \begin_layout Plain Layout
773 \begin_layout Standard
776 My observations of No.
777 427 Park Lane did little to clear up the problem in which I was interested.
778 The house was separated from the street by a low wall and railing, the
779 whole not more than five feet high.
780 It was perfectly easy, therefore, for anyone to get into the garden, but
781 the window was entirely inaccessible, since there was no water pipe or
782 anything which could help the most active man to climb it.
783 More puzzled than ever, I retraced my steps to Kensington.
784 I had not been in my study five minutes when the maid entered to say that
785 a person desired to see me.
786 To my astonishment it was none other than my strange old book collector,
787 his sharp, wizened face peering out from a frame of white hair, and his
788 precious volumes, a dozen of them at least, wedged under his right arm.
791 \begin_layout Standard
795 \begin_layout Plain Layout
807 \begin_layout Standard
808 Once again, we have to reset the value after use to avoid using it in the
809 rest of the document.
812 \begin_layout Standard
816 \begin_layout Plain Layout
830 \begin_layout Subsubsection
834 \begin_layout Standard
835 Between every two columns, a rule of width
842 If this rule is set to 0 pt, the rule is suppressed.
843 In the following example, the line separating the two columns is 2 pt wide.
846 \begin_layout Standard
850 \begin_layout Plain Layout
866 \begin_layout Standard
869 \begin_inset Quotes eld
872 You're surprised to see me, sir,
873 \begin_inset Quotes erd
876 said he, in a strange, croaking voice.
879 \begin_layout Standard
882 I acknowledged that I was.
885 \begin_layout Standard
888 \begin_inset Quotes eld
891 Well, I've a conscience, sir, and when I chanced to see you go into this
892 house, as I came hobbling after you, I thought to myself, I'll just step
893 in and see that kind gentleman, and tell him that if I was a bit gruff
894 in my manner there was not any harm meant, and that I am much obliged to
895 him for picking up my books.
896 \begin_inset Quotes erd
902 \begin_layout Standard
905 \begin_inset Quotes eld
908 You make too much of a trifle,
909 \begin_inset Quotes erd
914 \begin_inset Quotes eld
917 May I ask how you knew who I was?
918 \begin_inset Quotes erd
924 \begin_layout Standard
927 \begin_inset Quotes eld
930 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
931 you'll find my little bookshop at the corner of Church Street, and very
932 happy to see you, I am sure.
933 Maybe you collect yourself, sir.
950 --a bargain, every one of them.
951 With five volumes you could just fill that gap on that second shelf.
952 It looks untidy, does it not, sir?
953 \begin_inset Quotes erd
959 \begin_layout Standard
963 \begin_layout Plain Layout
975 \begin_layout Standard
976 As usual, we reset the value after use.
979 \begin_layout Standard
983 \begin_layout Plain Layout
997 \begin_layout Standard
998 You'll have to go to the library to read the rest of the story.
1002 \begin_layout Plain Layout
1003 \SpecialChar \ldots{}
1004 or cheat like we did and find it at the Gutenberg project somewhere on the
1010 Believe it or not, but it's actually a bit of a cliff-hanger at this point
1011 in the story\SpecialChar \ldots{}