]> git.lyx.org Git - lyx.git/blob - lib/doc/Additional.lyx
Adapt documentation of Japanese classes
[lyx.git] / lib / doc / Additional.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 615
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of the manual may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC are numbered roman
19 % and a PDF-bookmark for the TOC is added
20 \pagenumbering{roman}
21 \let\myTOC\tableofcontents
22 \renewcommand{\tableofcontents}{%
23  \pdfbookmark[1]{\contentsname}{}
24  \myTOC
25  \cleardoublepage
26  \pagenumbering{arabic}}
27
28 % extra space for tables
29 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 theorems-ams
36 theorems-ams-extended
37 multicol
38 shapepar
39 graphicboxes
40 enumitem
41 hanging
42 initials
43 \end_modules
44 \maintain_unincluded_children no
45 \language english
46 \language_package default
47 \inputencoding utf8
48 \fontencoding auto
49 \font_roman "lmodern" "default"
50 \font_sans "lmss" "default"
51 \font_typewriter "lmtt" "default"
52 \font_math "auto" "auto"
53 \font_default_family default
54 \use_non_tex_fonts false
55 \font_sc false
56 \font_roman_osf false
57 \font_sans_osf false
58 \font_typewriter_osf false
59 \font_sf_scale 100 100
60 \font_tt_scale 100 100
61 \use_microtype false
62 \use_dash_ligatures true
63 \graphics default
64 \default_output_format pdf2
65 \output_sync 0
66 \bibtex_command default
67 \index_command default
68 \float_placement class
69 \float_alignment class
70 \paperfontsize 12
71 \spacing single
72 \use_hyperref true
73 \pdf_title "LyX's Additional Features manual"
74 \pdf_author "LyX Team"
75 \pdf_subject "LyX's additional features documentation"
76 \pdf_keywords "LyX, Documentation, Additional"
77 \pdf_bookmarks true
78 \pdf_bookmarksnumbered true
79 \pdf_bookmarksopen false
80 \pdf_bookmarksopenlevel 1
81 \pdf_breaklinks false
82 \pdf_pdfborder false
83 \pdf_colorlinks true
84 \pdf_backref false
85 \pdf_pdfusetitle false
86 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
87 \papersize a4
88 \use_geometry false
89 \use_package amsmath 1
90 \use_package amssymb 1
91 \use_package cancel 1
92 \use_package esint 1
93 \use_package mathdots 1
94 \use_package mathtools 1
95 \use_package mhchem 1
96 \use_package stackrel 1
97 \use_package stmaryrd 1
98 \use_package undertilde 1
99 \cite_engine basic
100 \cite_engine_type default
101 \biblio_style plain
102 \use_bibtopic false
103 \use_indices false
104 \paperorientation portrait
105 \suppress_date false
106 \justification true
107 \use_refstyle 0
108 \use_minted 0
109 \use_lineno 0
110 \notefontcolor #0000ff
111 \index Index
112 \shortcut idx
113 \color #008000
114 \end_index
115 \secnumdepth 3
116 \tocdepth 3
117 \paragraph_separation indent
118 \paragraph_indentation default
119 \is_math_indent 1
120 \math_indentation default
121 \math_numbering_side default
122 \quotes_style english
123 \dynamic_quotes 0
124 \papercolumns 1
125 \papersides 2
126 \paperpagestyle headings
127 \tablestyle default
128 \tracking_changes true
129 \output_changes false
130 \change_bars false
131 \postpone_fragile_content false
132 \html_math_output 0
133 \html_css_as_file 0
134 \html_be_strict true
135 \docbook_table_output 0
136 \docbook_mathml_prefix 1
137 \author -712698321 "Jürgen Spitzmüller"
138 \author 177693 "x"
139 \author 5863208 "ab"
140 \author 244031559 "Yuriy"
141 \author 274215730 "scott"
142 \author 564990737 "John Lyx"
143 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
144 \author 1075283030 "Thibaut"
145 \author 1119979965 "Joel A. Kulesza"
146 \end_header
147
148 \begin_body
149
150 \begin_layout Title
151 Additional \SpecialChar LyX
152  Features
153 \end_layout
154
155 \begin_layout Subtitle
156 Version 2.
157 \change_deleted 630872221 1622909155
158 3
159 \change_inserted 630872221 1622909155
160 4
161 \change_unchanged
162 .x
163 \end_layout
164
165 \begin_layout Author
166 by the \SpecialChar LyX
167  Team
168 \begin_inset Foot
169 status collapsed
170
171 \begin_layout Plain Layout
172 \noindent
173 Principal maintainer of this file is
174 \noun on
175  Richard Kimberly Heck
176 \noun default
177 .
178  If you have comments or error corrections,
179  please send them to the \SpecialChar LyX
180  Documentation mailing list,
181  
182 \begin_inset Flex Code
183 status collapsed
184
185 \begin_layout Plain Layout
186 <lyx-docs@lists.lyx.org>
187 \end_layout
188
189 \end_inset
190
191 .
192 \end_layout
193
194 \end_inset
195
196
197 \end_layout
198
199 \begin_layout Standard
200 \begin_inset CommandInset toc
201 LatexCommand tableofcontents
202
203 \end_inset
204
205
206 \end_layout
207
208 \begin_layout Standard
209
210 \change_inserted 5863208 1672865652
211 \begin_inset Note Note
212 status open
213
214 \begin_layout Plain Layout
215
216 \change_inserted 5863208 1672865674
217 Note to all translators:
218 \end_layout
219
220 \begin_layout Plain Layout
221
222 \change_inserted 5863208 1672865817
223 This manual was restructured for LyX 2.4.
224  Attached are notes for translators to help them to find their way round the new structure of Additional.lyx.
225  This note itself will be deleted in the final 2.4 release.
226 \begin_inset Newline newline
227 \end_inset
228
229
230 \end_layout
231
232 \begin_layout Plain Layout
233
234 \change_inserted 5863208 1672865801
235
236 \series bold
237 Additional.lyx 2.4 Changes
238 \end_layout
239
240 \begin_layout Itemize
241
242 \change_inserted 5863208 1672865801
243 Chapter 1:
244  none
245 \end_layout
246
247 \begin_layout Itemize
248
249 \change_inserted 5863208 1672865801
250 Chapter 2:
251  none
252 \end_layout
253
254 \begin_layout Itemize
255
256 \change_inserted 5863208 1672865801
257 Chapter 3:
258  Document classes:
259  new chapter
260 \end_layout
261
262 \begin_deeper
263 \begin_layout Itemize
264
265 \change_inserted 5863208 1672865801
266 AMS LaTeX:
267  moved and minor edits
268 \end_layout
269
270 \begin_layout Itemize
271
272 \change_inserted 5863208 1672865801
273 Extra font styles:
274  new
275 \end_layout
276
277 \begin_layout Itemize
278
279 \change_inserted 5863208 1672865801
280 Hebrew:
281  new
282 \end_layout
283
284 \begin_layout Itemize
285
286 \change_inserted 5863208 1672865801
287 Japanese:
288  new
289 \end_layout
290
291 \begin_layout Itemize
292
293 \change_inserted 5863208 1672865801
294 KOMA-Script:
295  moved and significant edits
296 \end_layout
297
298 \begin_layout Itemize
299
300 \change_inserted 5863208 1672865801
301 Polish:
302  moved and minor edit
303 \end_layout
304
305 \begin_layout Itemize
306
307 \change_inserted 5863208 1672865801
308 Tufte:
309  new
310 \end_layout
311
312 \begin_layout Itemize
313
314 \change_inserted 5863208 1672865801
315 A&A Paper:
316  moved and minor edits
317 \end_layout
318
319 \begin_layout Itemize
320
321 \change_inserted 5863208 1672865801
322 AASTeX:
323  moved
324 \end_layout
325
326 \begin_layout Itemize
327
328 \change_inserted 5863208 1672865801
329 Chess:
330  new
331 \end_layout
332
333 \begin_layout Itemize
334
335 \change_inserted 5863208 1672865801
336 Elsevier:
337  new
338 \end_layout
339
340 \begin_layout Itemize
341
342 \change_inserted 5863208 1672865801
343 Paper:
344  new
345 \end_layout
346
347 \begin_layout Itemize
348
349 \change_inserted 5863208 1672865824
350 RevTeX:
351  moved
352 \end_layout
353
354 \begin_layout Itemize
355
356 \change_inserted 5863208 1672865831
357 Springer:
358  new
359 \end_layout
360
361 \begin_layout Itemize
362
363 \change_inserted 5863208 1672865831
364 Memoir:
365  moved
366 \end_layout
367
368 \begin_layout Itemize
369
370 \change_inserted 5863208 1672865831
371 Recipe Book:
372  new
373 \end_layout
374
375 \begin_layout Itemize
376
377 \change_inserted 5863208 1672865831
378 Curricula vitae:
379  all new
380 \end_layout
381
382 \begin_layout Itemize
383
384 \change_inserted 5863208 1672865831
385 Letters:
386  all new
387 \end_layout
388
389 \begin_layout Itemize
390
391 \change_inserted 5863208 1672865831
392 Beamer:
393  new
394 \end_layout
395
396 \begin_layout Itemize
397
398 \change_inserted 5863208 1672865831
399 Foils:
400  moved with minor edits
401 \end_layout
402
403 \begin_layout Itemize
404
405 \change_inserted 5863208 1672865831
406 Powerdot:
407  new
408 \end_layout
409
410 \begin_layout Itemize
411
412 \change_inserted 5863208 1672865831
413 Seminar:
414  new
415 \end_layout
416
417 \begin_layout Itemize
418
419 \change_inserted 5863208 1672865831
420 Slides:
421  moved with minor edits
422 \end_layout
423
424 \begin_layout Itemize
425
426 \change_inserted 5863208 1672865831
427 Reports:
428  new
429 \end_layout
430
431 \begin_layout Itemize
432
433 \change_inserted 5863208 1672865831
434 Broadway:
435  moved
436 \end_layout
437
438 \begin_layout Itemize
439
440 \change_inserted 5863208 1672865831
441 Hollywood:
442  moved
443 \end_layout
444
445 \begin_layout Itemize
446
447 \change_inserted 5863208 1672865831
448 (Note that document classes which appeared in 2.3 but do not appear in 2.4 were either removed previously or have been removed during this revision because they are no longer available anywhere.)
449 \end_layout
450
451 \end_deeper
452 \begin_layout Itemize
453
454 \change_inserted 5863208 1672865831
455 Chapter 4:
456  Modules:
457  new chapter
458 \end_layout
459
460 \begin_deeper
461 \begin_layout Itemize
462
463 \change_inserted 5863208 1672865831
464 All module descriptions new except:
465 \end_layout
466
467 \begin_layout Itemize
468
469 \change_inserted 5863208 1672865831
470 Customizable lists:
471  moved with minor edits
472 \end_layout
473
474 \begin_layout Itemize
475
476 \change_inserted 5863208 1672865831
477 Custom header/footer text:
478  moved with minor edits
479 \end_layout
480
481 \begin_layout Itemize
482
483 \change_inserted 5863208 1672865831
484 Multiple columns:
485  moved with minor edits
486 \end_layout
487
488 \begin_layout Itemize
489
490 \change_inserted 5863208 1672865831
491 Custom paragraph shapes:
492  moved with minor edits
493 \end_layout
494
495 \begin_layout Itemize
496
497 \change_inserted 5863208 1672865831
498 Initials:
499  moved with minor edits
500 \end_layout
501
502 \end_deeper
503 \begin_layout Itemize
504
505 \change_inserted 5863208 1672865831
506 Chapter 5:
507  Bibliography:
508  new chapter
509 \end_layout
510
511 \begin_deeper
512 \begin_layout Itemize
513
514 \change_inserted 5863208 1672865831
515 Content moved but unchanged
516 \end_layout
517
518 \end_deeper
519 \begin_layout Itemize
520
521 \change_inserted 5863208 1672865831
522 Chapter 6:
523  Bullets:
524  new chapter
525 \end_layout
526
527 \begin_deeper
528 \begin_layout Itemize
529
530 \change_inserted 5863208 1672865845
531 Content moved but unchanged
532 \end_layout
533
534 \end_deeper
535 \begin_layout Itemize
536
537 \change_inserted 5863208 1672865845
538 Chapter 9:
539  DocBook output:
540  new chapter and content
541 \end_layout
542
543 \begin_layout Itemize
544
545 \change_inserted 5863208 1672865845
546 All other chapters unchanged but renumbered except:
547 \end_layout
548
549 \begin_layout Itemize
550
551 \change_inserted 5863208 1672865845
552 section 11.3 Literate programming:
553  minor edits
554 \change_unchanged
555
556 \end_layout
557
558 \end_inset
559
560
561 \end_layout
562
563 \begin_layout Chapter
564 Introduction
565 \end_layout
566
567 \begin_layout Standard
568 This manual is essentially Part II of the 
569 \emph on
570 User's Guide\SpecialChar endofsentence
571
572 \emph default
573  The reason for separating the two documents is simple:
574  the 
575 \emph on
576 User's Guide
577 \emph default
578  is already quite lengthy,
579  and it contains information on all of the basic features one needs to know in order to prepare most documents.
580  However,
581  the \SpecialChar LyX
582  Team has worked to make \SpecialChar LyX
583  extensible through various configuration files and external packages.
584  That means that if you want to support the Fizzwizzle \SpecialChar LaTeX
585  package,
586  you can create a layout file (or module) for it without having to alter \SpecialChar LyX
587  itself.
588  We've already had contributions of several new features this way,
589  and some of them are documented here.
590  There are also some more `advanced' features,
591  such as how to control the presentation of bibliographies and how to work with multi-part documents,
592  that are not covered in the 
593 \emph on
594 User's Guide
595 \emph default
596  and are discussed here.
597 \end_layout
598
599 \begin_layout Standard
600 This manual also documents some special features,
601  like fax support
602 \change_deleted 244031559 1603802929
603 ,
604
605 \change_inserted 244031559 1603802931
606  and
607 \change_unchanged
608  version control
609 \change_deleted 244031559 1603802954
610 ,
611  and SGML support
612 \change_unchanged
613 ,
614  which require additional software to work properly.
615  There is also a chapter on \SpecialChar LyX
616 's support for HTML.
617  And lastly,
618  there's a chapter of \SpecialChar LaTeX
619  tools and tips,
620  things you can use to spruce up your documents by directly using the powerful features of \SpecialChar LaTeX
621 .
622  After all,
623  \SpecialChar LyX
624  
625 \emph on
626 is
627 \emph default
628  only WYSIWYM and will only ever interface to some,
629  not all,
630  \SpecialChar LaTeX
631  features.
632 \end_layout
633
634 \begin_layout Standard
635 If you haven't read the 
636 \emph on
637 Introduction
638 \emph default
639  yet,
640  you are definitely in the wrong manual.
641  The 
642 \emph on
643 Introduction
644 \emph default
645  is the first place to go,
646  since it describes the notation and format of all of the manuals.
647  You should also be thoroughly familiar with the 
648 \emph on
649 User's Guide
650 \emph default
651  and all of the basic features of \SpecialChar LyX
652  before attempting to read this one.
653 \end_layout
654
655 \begin_layout Standard
656 Since many of the topics in this manual depend heavily on \SpecialChar LyX
657 's interaction with \SpecialChar LaTeX
658 ,
659  this first chapter covers the inner workings of \SpecialChar LyX
660  and how to direct \SpecialChar LyX
661  to generate exactly the \SpecialChar LaTeX
662  code you want.
663  It is obviously for more seasoned \SpecialChar LyX
664  users.
665 \end_layout
666
667 \begin_layout Chapter
668 \SpecialChar LyX
669  and \SpecialChar LaTeX
670
671 \end_layout
672
673 \begin_layout Section
674 How \SpecialChar LyX
675  Uses \SpecialChar LaTeX
676
677 \end_layout
678
679 \begin_layout Standard
680 This chapter is for both \SpecialChar TeX
681 -nicians and the \SpecialChar LaTeX
682 -curious.
683  In it,
684  we'll explain how \SpecialChar LyX
685  and \SpecialChar LaTeX
686  work together to produce printable output.
687  This is the only place in any of the manuals where we assume you know something about \SpecialChar LaTeX
688 .
689 \end_layout
690
691 \begin_layout Standard
692 At one time,
693  \SpecialChar LyX
694  was called a 
695 \begin_inset Quotes eld
696 \end_inset
697
698 WYSIWYM frontend to \SpecialChar LaTeX
699 ,
700 \begin_inset Quotes erd
701 \end_inset
702
703  but that's no longer true.
704  There are frontends to \SpecialChar LaTeX
705  out there.
706 \begin_inset Foot
707 status collapsed
708
709 \begin_layout Plain Layout
710 Some familar ones are \SpecialChar TeX
711 maker and kile,
712  on Linux,
713  and \SpecialChar TeX
714 shop,
715  OSX.
716  There are also the \SpecialChar LaTeX
717  modes for vi and emacs,
718  of course.
719 \end_layout
720
721 \end_inset
722
723  These are basically text editors with the ability to run \SpecialChar LaTeX
724  and mark any errors in the file you're editing.
725  Although \SpecialChar LyX
726  
727 \emph on
728 is
729 \emph default
730  an editor,
731  and it 
732 \emph on
733 does
734 \emph default
735  run \SpecialChar LaTeX
736 ,
737  and it also indicates errors in the file,
738  it also does much,
739  much more.
740  For one thing,
741  you don't need to know \SpecialChar LaTeX
742  to use \SpecialChar LyX
743  effectively.
744  And \SpecialChar LyX
745  has added its own extensions to \SpecialChar LaTeX
746 .
747  Try the following sometime:
748  select 
749 \change_deleted -712698321 1674917358
750
751 \family sans
752
753 \begin_inset Flex Noun
754 status collapsed
755
756 \begin_layout Plain Layout
757
758 \noun off
759 Export\SpecialChar menuseparator
760 LaTeX
761 \end_layout
762
763 \end_inset
764
765
766 \change_inserted -712698321 1674917358
767 Export\SpecialChar menuseparator
768 LaTeX
769 \change_unchanged
770
771 \family default
772  from the 
773 \change_deleted -712698321 1674917366
774
775 \begin_inset Flex Noun
776 status collapsed
777
778 \begin_layout Plain Layout
779 File
780 \end_layout
781
782 \end_inset
783
784
785 \change_inserted -712698321 1674917366
786
787 \family sans
788 File
789 \change_unchanged
790
791 \family default
792  menu (or 
793 \change_deleted -712698321 1674917371
794
795 \begin_inset Flex Noun
796 status collapsed
797
798 \begin_layout Plain Layout
799 View\SpecialChar menuseparator
800 Source
801 \begin_inset space ~
802 \end_inset
803
804 Pane
805 \end_layout
806
807 \end_inset
808
809
810 \change_inserted -712698321 1674917371
811
812 \family sans
813 View\SpecialChar menuseparator
814 Source
815 \begin_inset space ~
816 \end_inset
817
818 Pane
819 \change_unchanged
820
821 \family default
822 ),
823  then look at the preamble of the resulting 
824 \begin_inset Flex Code
825 status collapsed
826
827 \begin_layout Plain Layout
828 .tex
829 \end_layout
830
831 \end_inset
832
833  file.
834  You'll notice a variety of new macros defined specifically by \SpecialChar LyX
835 .
836  These macros are defined automatically,
837  according to the features you use in the document.
838 \end_layout
839
840 \begin_layout Standard
841 There are several commands that automatically invoke \SpecialChar LaTeX
842 .
843  They are:
844 \end_layout
845
846 \begin_layout Itemize
847
848 \change_deleted -712698321 1674917379
849 \begin_inset Flex Noun
850 status collapsed
851
852 \begin_layout Plain Layout
853 Document\SpecialChar menuseparator
854 View
855 \end_layout
856
857 \end_inset
858
859
860 \change_inserted -712698321 1674917379
861
862 \family sans
863 Document\SpecialChar menuseparator
864 View
865 \change_unchanged
866
867 \end_layout
868
869 \begin_layout Itemize
870
871 \change_deleted -712698321 1674917381
872 \begin_inset Flex Noun
873 status collapsed
874
875 \begin_layout Plain Layout
876 Document\SpecialChar menuseparator
877 Update
878 \end_layout
879
880 \end_inset
881
882
883 \change_inserted -712698321 1674917381
884
885 \family sans
886 Document\SpecialChar menuseparator
887 Update
888 \change_unchanged
889
890 \end_layout
891
892 \begin_layout Standard
893 They will only invoke \SpecialChar LaTeX
894  if the file has changed since the last time \SpecialChar LaTeX
895  was run.
896  
897 \end_layout
898
899 \begin_layout Standard
900 When \SpecialChar LyX
901  runs \SpecialChar LaTeX
902  on the file you're editing,
903  it performs these steps:
904 \end_layout
905
906 \begin_layout Enumerate
907 Convert the document to \SpecialChar LaTeX
908  and save to a file with the extension 
909 \begin_inset Flex Code
910 status collapsed
911
912 \begin_layout Plain Layout
913 .tex
914 \end_layout
915
916 \end_inset
917
918  in place of 
919 \begin_inset Flex Code
920 status collapsed
921
922 \begin_layout Plain Layout
923 .lyx
924 \end_layout
925
926 \end_inset
927
928 .
929 \end_layout
930
931 \begin_layout Enumerate
932 Run \SpecialChar LaTeX
933  on the 
934 \begin_inset Flex Code
935 status collapsed
936
937 \begin_layout Plain Layout
938 .tex
939 \end_layout
940
941 \end_inset
942
943  file (maybe several times),
944  and run any other commands (such as 
945 \begin_inset Flex Code
946 status collapsed
947
948 \begin_layout Plain Layout
949 bibtex
950 \end_layout
951
952 \end_inset
953
954  or 
955 \begin_inset Flex Code
956 status collapsed
957
958 \begin_layout Plain Layout
959 makeindex
960 \end_layout
961
962 \end_inset
963
964 ) needed to compile the \SpecialChar LaTeX
965  file.
966 \end_layout
967
968 \begin_layout Enumerate
969 If there are any errors,
970  show the error log.
971 \end_layout
972
973 \begin_layout Standard
974 If you have run \SpecialChar LaTeX
975  using 
976 \change_deleted -712698321 1674917394
977
978 \begin_inset Flex Noun
979 status collapsed
980
981 \begin_layout Plain Layout
982 View\SpecialChar menuseparator
983 DVI
984 \end_layout
985
986 \end_inset
987
988
989 \change_inserted -712698321 1674917394
990
991 \family sans
992 View\SpecialChar menuseparator
993 DVI
994 \change_unchanged
995
996 \family default
997 ,
998  \SpecialChar LyX
999  then runs a DVI viewer to display the DVI-file.
1000  If you have used 
1001 \change_deleted -712698321 1674917400
1002
1003 \begin_inset Flex Noun
1004 status collapsed
1005
1006 \begin_layout Plain Layout
1007 View\SpecialChar menuseparator
1008 PostScript
1009 \end_layout
1010
1011 \end_inset
1012
1013
1014 \change_inserted -712698321 1674917400
1015
1016 \family sans
1017 View\SpecialChar menuseparator
1018 PostScript
1019 \change_unchanged
1020
1021 \family default
1022 ,
1023  \SpecialChar LyX
1024  performs further steps:
1025 \end_layout
1026
1027 \begin_layout Enumerate
1028 Run 
1029 \begin_inset Flex Code
1030 status collapsed
1031
1032 \begin_layout Plain Layout
1033 dvips
1034 \end_layout
1035
1036 \end_inset
1037
1038  to convert the DVI file to PostScript.
1039 \end_layout
1040
1041 \begin_layout Enumerate
1042 Run a PostScript viewer,
1043  such as 
1044 \begin_inset Flex Code
1045 status collapsed
1046
1047 \begin_layout Plain Layout
1048 ghostview
1049 \end_layout
1050
1051 \end_inset
1052
1053 ,
1054  to display the PostScript file.
1055 \end_layout
1056
1057 \begin_layout Standard
1058 \SpecialChar LyX
1059  does similar things when viewing,
1060  or exporting,
1061  other formats.
1062 \end_layout
1063
1064 \begin_layout Section
1065 Translating \SpecialChar LaTeX
1066  files into \SpecialChar LyX
1067
1068 \end_layout
1069
1070 \begin_layout Standard
1071 You can import a \SpecialChar LaTeX
1072  file into \SpecialChar LyX
1073  by using the 
1074 \change_deleted -712698321 1674917408
1075
1076 \begin_inset Flex Noun
1077 status collapsed
1078
1079 \begin_layout Plain Layout
1080 File\SpecialChar menuseparator
1081 Import\SpecialChar menuseparator
1082 LaTeX
1083 \end_layout
1084
1085 \end_inset
1086
1087
1088 \change_inserted -712698321 1674917408
1089
1090 \family sans
1091 File\SpecialChar menuseparator
1092 Import\SpecialChar menuseparator
1093 LaTeX
1094 \change_unchanged
1095
1096 \family default
1097  command in \SpecialChar LyX
1098 .
1099  This will call a program named 
1100 \begin_inset Flex Code
1101 status collapsed
1102
1103 \begin_layout Plain Layout
1104 tex2lyx
1105 \end_layout
1106
1107 \end_inset
1108
1109  which will create a file 
1110 \begin_inset Flex Code
1111 status collapsed
1112
1113 \begin_layout Plain Layout
1114 foo.lyx
1115 \end_layout
1116
1117 \end_inset
1118
1119  from the file 
1120 \begin_inset Flex Code
1121 status collapsed
1122
1123 \begin_layout Plain Layout
1124 foo.tex
1125 \end_layout
1126
1127 \end_inset
1128
1129 .
1130  \SpecialChar LyX
1131  will then open that file.
1132 \begin_inset Foot
1133 status collapsed
1134
1135 \begin_layout Plain Layout
1136 \begin_inset Flex Code
1137 status collapsed
1138
1139 \begin_layout Plain Layout
1140 tex2lyx
1141 \end_layout
1142
1143 \end_inset
1144
1145  can also be run from the command line,
1146  of course.
1147 \end_layout
1148
1149 \end_inset
1150
1151
1152 \end_layout
1153
1154 \begin_layout Standard
1155 \begin_inset Flex Code
1156 status collapsed
1157
1158 \begin_layout Plain Layout
1159 tex2lyx
1160 \end_layout
1161
1162 \end_inset
1163
1164  will translate most legal \SpecialChar LaTeX
1165 ,
1166  but not everything.
1167  It will put things it doesn't understand into \SpecialChar TeX
1168  code,
1169  so after translating a file with 
1170 \begin_inset Flex Code
1171 status collapsed
1172
1173 \begin_layout Plain Layout
1174 tex2lyx
1175 \end_layout
1176
1177 \end_inset
1178
1179 ,
1180  you can look for \SpecialChar TeX
1181  code and hand-edit it until it looks right.
1182 \end_layout
1183
1184 \begin_layout Standard
1185 If you don't know what \SpecialChar TeX
1186  code is,
1187  read the next section.
1188 \end_layout
1189
1190 \begin_layout Section
1191 \begin_inset CommandInset label
1192 LatexCommand label
1193 name "sec:Inserting-TeX-Code"
1194
1195 \end_inset
1196
1197 Inserting \SpecialChar TeX
1198  Code into \SpecialChar LyX
1199  Documents 
1200 \end_layout
1201
1202 \begin_layout Standard
1203 Anything you can do in \SpecialChar LaTeX
1204  you can do in \SpecialChar LyX
1205 ,
1206  for a very simple reason:
1207  You can always insert \SpecialChar TeX
1208  code into any \SpecialChar LyX
1209  document.
1210  \SpecialChar LyX
1211  cannot,
1212  and will never be able to,
1213  display every possible \SpecialChar LaTeX
1214  construct.
1215  If ever you need to insert \SpecialChar LaTeX
1216  commands into your \SpecialChar LyX
1217  document,
1218  you can use the 
1219 \begin_inset Flex Code
1220 status collapsed
1221
1222 \begin_layout Plain Layout
1223 \SpecialChar TeX
1224  Code
1225 \end_layout
1226
1227 \end_inset
1228
1229  box,
1230  which you can insert into your document with 
1231 \change_deleted -712698321 1674917417
1232
1233 \begin_inset Flex Noun
1234 status collapsed
1235
1236 \begin_layout Plain Layout
1237 Insert\SpecialChar menuseparator
1238
1239 \family sans
1240 TeX
1241 \family default
1242  Code
1243 \end_layout
1244
1245 \end_inset
1246
1247
1248 \change_inserted -712698321 1674917417
1249
1250 \family sans
1251 Insert\SpecialChar menuseparator
1252 TeX Code
1253 \change_unchanged
1254
1255 \family default
1256  or the keyboard shortcut 
1257 \begin_inset Info
1258 type  "shortcut"
1259 arg   "ert-insert"
1260 \end_inset
1261
1262 .
1263 \end_layout
1264
1265 \begin_layout Standard
1266 Here's an example of inserting \SpecialChar LaTeX
1267  commands in a \SpecialChar LyX
1268  document.
1269  The code looks like this:
1270 \end_layout
1271
1272 \begin_layout LyX-Code
1273
1274 \backslash
1275 begin{tabular}{ll}
1276 \begin_inset Newline newline
1277 \end_inset
1278
1279
1280 \backslash
1281 begin{minipage}{5cm}
1282 \begin_inset Newline newline
1283 \end_inset
1284
1285 This is an example of a minipage environment.
1286  You 
1287 \begin_inset Newline newline
1288 \end_inset
1289
1290 can put nearly everything in it,
1291  even (non-floating) 
1292 \begin_inset Newline newline
1293 \end_inset
1294
1295 figures and tables.
1296  
1297 \begin_inset Newline newline
1298 \end_inset
1299
1300
1301 \backslash
1302 end{minipage}
1303 \begin_inset Newline newline
1304 \end_inset
1305
1306 &
1307 \begin_inset Newline newline
1308 \end_inset
1309
1310
1311 \backslash
1312 begin{minipage}{5cm}
1313 \begin_inset Newline newline
1314 \end_inset
1315
1316
1317 \backslash
1318 begin{verbatim}
1319 \begin_inset Newline newline
1320 \end_inset
1321
1322
1323 \backslash
1324 begin{minipage}{5cm}
1325 \begin_inset Newline newline
1326 \end_inset
1327
1328 This ...
1329  
1330 \begin_inset Newline newline
1331 \end_inset
1332
1333
1334 \backslash
1335 end{minipage}
1336 \begin_inset Newline newline
1337 \end_inset
1338
1339
1340 \backslash
1341 end{verbatim}
1342 \begin_inset Newline newline
1343 \end_inset
1344
1345
1346 \backslash
1347 end{minipage}
1348 \begin_inset Newline newline
1349 \end_inset
1350
1351
1352 \backslash
1353 end{tabular}
1354 \end_layout
1355
1356 \begin_layout LyX-Code
1357
1358 \end_layout
1359
1360 \begin_layout Standard
1361 The 
1362 \begin_inset Flex Code
1363 status collapsed
1364
1365 \begin_layout Plain Layout
1366 \SpecialChar TeX
1367  Code
1368 \end_layout
1369
1370 \end_inset
1371
1372  box containing this text is directly after this paragraph.
1373  Those of you reading the manual in \SpecialChar LyX
1374  will only see the \SpecialChar TeX
1375  code inset.
1376  Those reading a printed version of the manuals will see the actual results:
1377 \begin_inset VSpace bigskip
1378 \end_inset
1379
1380
1381 \end_layout
1382
1383 \begin_layout Standard
1384 \begin_inset ERT
1385 status open
1386
1387 \begin_layout Plain Layout
1388
1389
1390 \backslash
1391 begin{tabular}{ll}
1392 \end_layout
1393
1394 \begin_layout Plain Layout
1395
1396
1397 \backslash
1398 begin{minipage}{5cm}
1399 \end_layout
1400
1401 \begin_layout Plain Layout
1402
1403 This is an example of a minipage environment.
1404  You can put nearly everything in it,
1405  even (non-floating) figures and tables.
1406  
1407 \end_layout
1408
1409 \begin_layout Plain Layout
1410
1411
1412 \backslash
1413 end{minipage}
1414 \end_layout
1415
1416 \begin_layout Plain Layout
1417
1418 &
1419 \end_layout
1420
1421 \begin_layout Plain Layout
1422
1423
1424 \backslash
1425 begin{minipage}{5cm}
1426 \end_layout
1427
1428 \begin_layout Plain Layout
1429
1430
1431 \backslash
1432 begin{verbatim}
1433 \end_layout
1434
1435 \begin_layout Plain Layout
1436
1437
1438 \backslash
1439 begin{minipage}{5cm}
1440 \end_layout
1441
1442 \begin_layout Plain Layout
1443
1444 This ...
1445  
1446 \end_layout
1447
1448 \begin_layout Plain Layout
1449
1450
1451 \backslash
1452 end{minipage}
1453 \end_layout
1454
1455 \begin_layout Plain Layout
1456
1457
1458 \backslash
1459 end{verbatim}
1460 \end_layout
1461
1462 \begin_layout Plain Layout
1463
1464
1465 \backslash
1466 end{minipage}
1467 \end_layout
1468
1469 \begin_layout Plain Layout
1470
1471
1472 \backslash
1473 end{tabular}
1474 \end_layout
1475
1476 \end_inset
1477
1478
1479 \begin_inset VSpace bigskip
1480 \end_inset
1481
1482
1483 \end_layout
1484
1485 \begin_layout Standard
1486 In addition to using \SpecialChar TeX
1487  code,
1488  you can also create a separate file containing some complex \SpecialChar LaTeX
1489  structure and then use 
1490 \change_deleted -712698321 1674917427
1491
1492 \begin_inset Flex Noun
1493 status collapsed
1494
1495 \begin_layout Plain Layout
1496 Insert\SpecialChar menuseparator
1497 Child
1498 \begin_inset space ~
1499 \end_inset
1500
1501 Document
1502 \end_layout
1503
1504 \end_inset
1505
1506
1507 \change_inserted -712698321 1674917427
1508
1509 \family sans
1510 Insert\SpecialChar menuseparator
1511 Child
1512 \begin_inset space ~
1513 \end_inset
1514
1515 Document
1516 \change_unchanged
1517  
1518 \family default
1519 to include your file (you should select the type 
1520 \begin_inset Flex Code
1521 status collapsed
1522
1523 \begin_layout Plain Layout
1524 Input
1525 \end_layout
1526
1527 \end_inset
1528
1529 ).
1530  We recommend that you only do this if you have a 
1531 \begin_inset Flex Code
1532 status collapsed
1533
1534 \begin_layout Plain Layout
1535 .tex
1536 \end_layout
1537
1538 \end_inset
1539
1540  file which you 
1541 \emph on
1542 know
1543 \emph default
1544  works already.
1545  Otherwise,
1546  you'll have a big job tracking down \SpecialChar LaTeX
1547  errors.
1548 \end_layout
1549
1550 \begin_layout Standard
1551 There are a few last points to emphasize:
1552 \end_layout
1553
1554 \begin_layout Itemize
1555 \SpecialChar LyX
1556  
1557 \emph on
1558 does not
1559 \emph default
1560  check if your \SpecialChar LaTeX
1561  code is correct.
1562 \end_layout
1563
1564 \begin_layout Itemize
1565 Beware of reinventing the wheel.
1566 \end_layout
1567
1568 \begin_layout Standard
1569 On that last point,
1570  \SpecialChar LyX
1571  does have quite a few features tucked into it,
1572  and more are coming.
1573  Be sure to check the manuals to make sure that \SpecialChar LyX
1574  doesn't have such-and-such feature before you decide you have to do it by hand.
1575  Moreover,
1576  there are numerous \SpecialChar LaTeX
1577  packages out there to do all sorts of things,
1578  from labels to envelopes to fancy multipage tables.
1579  Check out 
1580 \change_inserted 244031559 1603815732
1581
1582 \begin_inset CommandInset href
1583 LatexCommand href
1584 name "CTAN"
1585 target "https://www.ctan.org/"
1586 literal "false"
1587
1588 \end_inset
1589
1590
1591 \change_deleted 244031559 1603815732
1592
1593 \begin_inset CommandInset href
1594 LatexCommand href
1595 name "CTAN"
1596 target "http://www.ctan.org/"
1597 literal "false"
1598
1599 \end_inset
1600
1601
1602 \change_unchanged
1603  for details.
1604 \end_layout
1605
1606 \begin_layout Standard
1607 If you do need to do some wild and fancy things within your document,
1608  be sure to check out a good \SpecialChar LaTeX
1609  book for assistance.
1610  There are a number of them listed in the bibliography of the 
1611 \emph on
1612 User's Guide
1613 \emph default
1614 .
1615 \end_layout
1616
1617 \begin_layout Section
1618 \SpecialChar LyX
1619  and the \SpecialChar LaTeX
1620  Preamble
1621 \end_layout
1622
1623 \begin_layout Subsection
1624 About the \SpecialChar LaTeX
1625  Preamble
1626 \end_layout
1627
1628 \begin_layout Standard
1629 If you already know \SpecialChar LaTeX
1630 ,
1631  there is no need to explain here what the preamble is good for.
1632  If you don't,
1633  the following will give you some ideas—
1634 we recommend again that you consult a \SpecialChar LaTeX
1635  book for further information.
1636  In any case,
1637  you should read the points below,
1638  because they explain what you can do and what you don't need to do in the \SpecialChar LaTeX
1639  preamble of a \SpecialChar LyX
1640  document.
1641 \end_layout
1642
1643 \begin_layout Standard
1644 The \SpecialChar LaTeX
1645  preamble comes at the very beginning of a document,
1646  
1647 \emph on
1648 before
1649 \emph default
1650  the text.
1651  It serves to:
1652 \end_layout
1653
1654 \begin_layout Itemize
1655 Declare the document class.
1656  
1657 \begin_inset Newline newline
1658 \end_inset
1659
1660 \SpecialChar LyX
1661  already does this for you.
1662  If you're a seasoned \SpecialChar LaTeX
1663 -nician,
1664  and you have a custom document class you want to use,
1665  check out the 
1666 \emph on
1667 Customization Manual
1668 \emph default
1669  for information on how to make \SpecialChar LyX
1670  interface to it.
1671 \end_layout
1672
1673 \begin_layout Itemize
1674 Declare the usage of packages.
1675  
1676 \begin_inset Newline newline
1677 \end_inset
1678
1679 \SpecialChar LaTeX
1680  packages provide special commands,
1681  which are only available within a document when the package has been declared in the preamble.
1682  In addition to providing special commands,
1683  the inclusion of a package can change the document.
1684  For example,
1685  the package 
1686 \begin_inset Flex Code
1687 status collapsed
1688
1689 \begin_layout Plain Layout
1690 indentfirst
1691 \end_layout
1692
1693 \end_inset
1694
1695  forces all paragraphs to be indented.
1696  There are other packages for labels,
1697  envelopes,
1698  margins,
1699  etc.
1700  
1701 \end_layout
1702
1703 \begin_layout Itemize
1704 Set counters,
1705  variables,
1706  lengths and widths.
1707  
1708 \begin_inset Newline newline
1709 \end_inset
1710
1711 There are several \SpecialChar LaTeX
1712  counters and variables that 
1713 \emph on
1714 must
1715 \emph default
1716  be set globally from within the preamble in order to have the desired effect.
1717  (There are variables that you can set and reset inside the document,
1718  too.) Margins are a good example of something that must be set in the preamble.
1719  Another example is the label format for lists.
1720  You can actually set these just about anywhere,
1721  but it's best to do it just once,
1722  inside the preamble.
1723 \end_layout
1724
1725 \begin_layout Itemize
1726 Declare user defined commands (with 
1727 \begin_inset Flex Code
1728 status collapsed
1729
1730 \begin_layout Plain Layout
1731
1732 \backslash
1733 newcommand
1734 \end_layout
1735
1736 \end_inset
1737
1738  or 
1739 \begin_inset Flex Code
1740 status collapsed
1741
1742 \begin_layout Plain Layout
1743
1744 \backslash
1745 renewcommand
1746 \end_layout
1747
1748 \end_inset
1749
1750 ).
1751 \begin_inset Newline newline
1752 \end_inset
1753
1754 These are abbreviations for \SpecialChar LaTeX
1755  commands which appear very often inside a document.
1756  Although the preamble is a good place to declare such commands,
1757  they 
1758 \emph on
1759 can
1760 \emph default
1761  be declared anywhere (before they are used for the first time,
1762  of course).
1763  This can be useful if there is a lot of raw \SpecialChar LaTeX
1764  code in your document,
1765  which normally should not be the case.
1766 \end_layout
1767
1768 \begin_layout Standard
1769 \SpecialChar LyX
1770  adds its own set of definitions to the preamble of the 
1771 \begin_inset Flex Code
1772 status collapsed
1773
1774 \begin_layout Plain Layout
1775 .tex
1776 \end_layout
1777
1778 \end_inset
1779
1780  file it produces.
1781  This makes \SpecialChar LaTeX
1782  files generated by \SpecialChar LyX
1783  portable.
1784 \end_layout
1785
1786 \begin_layout Subsection
1787 Changing the Preamble
1788 \end_layout
1789
1790 \begin_layout Standard
1791 The commands which \SpecialChar LyX
1792  adds to the preamble of a \SpecialChar LaTeX
1793  file are fixed;
1794  you can't change them without patching \SpecialChar LyX
1795  itself.
1796  You can,
1797  however,
1798  add your own stuff to the preamble by selecting 
1799 \begin_inset Flex Noun
1800 status collapsed
1801
1802 \begin_layout Plain Layout
1803 \SpecialChar LaTeX
1804
1805 \begin_inset space ~
1806 \end_inset
1807
1808 Preamble
1809 \end_layout
1810
1811 \end_inset
1812
1813  in the 
1814 \change_deleted -712698321 1674917437
1815
1816 \begin_inset Flex Noun
1817 status collapsed
1818
1819 \begin_layout Plain Layout
1820 Document\SpecialChar menuseparator
1821 Settings
1822 \end_layout
1823
1824 \end_inset
1825
1826
1827 \change_inserted -712698321 1674917437
1828
1829 \family sans
1830 Document\SpecialChar menuseparator
1831 Settings
1832 \change_unchanged
1833
1834 \family default
1835  dialog.
1836  \SpecialChar LyX
1837  adds anything in the 
1838 \begin_inset Flex Noun
1839 status collapsed
1840
1841 \begin_layout Plain Layout
1842 Preamble
1843 \end_layout
1844
1845 \end_inset
1846
1847  dialog to its own built-in preamble.
1848  Before adding your own declarations in the preamble,
1849  you should make sure that \SpecialChar LyX
1850  doesn't already support what you want to do.
1851  (Remember what we said about reinventing the wheel?) Also,
1852  
1853 \emph on
1854 make sure your preamble code is correct
1855 \emph default
1856 .
1857  \SpecialChar LyX
1858  doesn't check it for you.
1859  If there is an error,
1860  you're likely to get an error like 
1861 \begin_inset Quotes eld
1862 \end_inset
1863
1864
1865 \begin_inset Flex Code
1866 status collapsed
1867
1868 \begin_layout Plain Layout
1869 Missing 
1870 \backslash
1871 begin{document}
1872 \end_layout
1873
1874 \end_inset
1875
1876
1877 \begin_inset Quotes erd
1878 \end_inset
1879
1880 .
1881  If you see this error,
1882  check your preamble.
1883 \end_layout
1884
1885 \begin_layout Subsection
1886 Examples
1887 \end_layout
1888
1889 \begin_layout Standard
1890 Here are some examples of what you can add to a preamble,
1891  and what they do.
1892 \end_layout
1893
1894 \begin_layout Subsubsection
1895 Example #1:
1896  Offsets
1897 \end_layout
1898
1899 \begin_layout Standard
1900 There are two variables under \SpecialChar LaTeX
1901  that control page position:
1902  
1903 \begin_inset Flex Code
1904 status collapsed
1905
1906 \begin_layout Plain Layout
1907
1908 \backslash
1909 hoffset
1910 \end_layout
1911
1912 \end_inset
1913
1914  and 
1915 \begin_inset Flex Code
1916 status collapsed
1917
1918 \begin_layout Plain Layout
1919
1920 \backslash
1921 voffset
1922 \end_layout
1923
1924 \end_inset
1925
1926 .
1927  Their names should be self-explanatory.
1928  These variables are useful if you think for a moment about computer labels.
1929  Sometimes,
1930  the size of a print medium and the area of the medium that you can actually print on aren't the same.
1931  This is where 
1932 \begin_inset Flex Code
1933 status collapsed
1934
1935 \begin_layout Plain Layout
1936
1937 \backslash
1938 hoffset
1939 \end_layout
1940
1941 \end_inset
1942
1943  and 
1944 \begin_inset Flex Code
1945 status collapsed
1946
1947 \begin_layout Plain Layout
1948
1949 \backslash
1950 voffset
1951 \end_layout
1952
1953 \end_inset
1954
1955  come in.
1956 \end_layout
1957
1958 \begin_layout Standard
1959 The default values for 
1960 \begin_inset Flex Code
1961 status collapsed
1962
1963 \begin_layout Plain Layout
1964
1965 \backslash
1966 hoffset
1967 \end_layout
1968
1969 \end_inset
1970
1971  and 
1972 \begin_inset Flex Code
1973 status collapsed
1974
1975 \begin_layout Plain Layout
1976
1977 \backslash
1978 voffset
1979 \end_layout
1980
1981 \end_inset
1982
1983  are both 0
1984 \begin_inset space \thinspace{}
1985 \end_inset
1986
1987 points,
1988  i.
1989 \begin_inset space \thinspace{}
1990 \end_inset
1991
1992 e.
1993 \begin_inset space \space{}
1994 \end_inset
1995
1996 the page isn't shifted.
1997  Unfortunately,
1998  some DVI drivers always seem to shift the page.
1999  We have no idea why,
2000  or why the sysadmin hasn't fixed such behavior.
2001  If you're using \SpecialChar LyX
2002  on a system that you don't personally maintain,
2003  and your sysadmin is a doofus,
2004  
2005 \begin_inset Flex Code
2006 status collapsed
2007
2008 \begin_layout Plain Layout
2009
2010 \backslash
2011 hoffset
2012 \end_layout
2013
2014 \end_inset
2015
2016  and 
2017 \begin_inset Flex Code
2018 status collapsed
2019
2020 \begin_layout Plain Layout
2021
2022 \backslash
2023 voffset
2024 \end_layout
2025
2026 \end_inset
2027
2028  can save the day.
2029  Suppose your left and top margins are always 0.5
2030 \begin_inset space \thinspace{}
2031 \end_inset
2032
2033 inches too big.
2034  You can add this to the preamble:
2035 \end_layout
2036
2037 \begin_layout LyX-Code
2038
2039 \backslash
2040 setlength{
2041 \backslash
2042 hoffset}{-0.5 in}
2043 \end_layout
2044
2045 \begin_layout LyX-Code
2046
2047 \backslash
2048 setlength{
2049 \backslash
2050 voffset}{-0.5 in}
2051 \end_layout
2052
2053 \begin_layout Standard
2054 and your margins should now be correct.
2055 \end_layout
2056
2057 \begin_layout Subsubsection
2058 Example #2:
2059  Labels
2060 \end_layout
2061
2062 \begin_layout Standard
2063 Speaking of labels,
2064  suppose you wanted to print out a bunch of address labels.
2065  There's a rather nice package,
2066  available at your nearest CTAN archive,
2067  for printing sheets of labels:
2068  
2069 \begin_inset Flex Code
2070 status collapsed
2071
2072 \begin_layout Plain Layout
2073 labels.sty
2074 \end_layout
2075
2076 \end_inset
2077
2078 .
2079  Now,
2080  your system may not have this package installed by default.
2081  We leave that up to you to check.
2082  You'll also want to read the documentation for it;
2083  we're not going to do that for you.
2084  Since this is an example,
2085  however,
2086  we'll give you an example of how you use this package.
2087 \end_layout
2088
2089 \begin_layout Standard
2090 First,
2091  make sure you're using the 
2092 \begin_inset Flex Code
2093 status collapsed
2094
2095 \begin_layout Plain Layout
2096 article
2097 \end_layout
2098
2099 \end_inset
2100
2101  document class.
2102  Next,
2103  you need to put the following in your preamble:
2104 \end_layout
2105
2106 \begin_layout LyX-Code
2107
2108 \backslash
2109 usepackage{labels}
2110 \end_layout
2111
2112 \begin_layout LyX-Code
2113
2114 \backslash
2115 LabelCols=3
2116 \end_layout
2117
2118 \begin_layout LyX-Code
2119
2120 \backslash
2121 LabelRows=7
2122 \end_layout
2123
2124 \begin_layout LyX-Code
2125
2126 \backslash
2127 LeftBorder=8mm
2128 \end_layout
2129
2130 \begin_layout LyX-Code
2131
2132 \backslash
2133 RightBorder=8mm
2134 \end_layout
2135
2136 \begin_layout LyX-Code
2137
2138 \backslash
2139 TopBorder=9mm
2140 \end_layout
2141
2142 \begin_layout LyX-Code
2143
2144 \backslash
2145 BottomBorder=2mm
2146 \end_layout
2147
2148 \begin_layout Standard
2149 This sets things up for Avery label sheets,
2150  stock #5360.
2151  You're now ready to print labels,
2152  but you'll need to insert \SpecialChar LaTeX
2153  code,
2154  placing the commands 
2155 \begin_inset Flex Code
2156 status collapsed
2157
2158 \begin_layout Plain Layout
2159
2160 \backslash
2161 begin{labels}
2162 \end_layout
2163
2164 \end_inset
2165
2166  and 
2167 \begin_inset Flex Code
2168 status collapsed
2169
2170 \begin_layout Plain Layout
2171
2172 \backslash
2173 end{labels}
2174 \end_layout
2175
2176 \end_inset
2177
2178  around each label text.
2179  This and other special features of 
2180 \begin_inset Flex Code
2181 status collapsed
2182
2183 \begin_layout Plain Layout
2184 labels.sty
2185 \end_layout
2186
2187 \end_inset
2188
2189  are explained in its documentation.
2190 \end_layout
2191
2192 \begin_layout Standard
2193 Someday,
2194  someone may write a \SpecialChar LyX
2195  layout file to support this package directly.
2196  Maybe that someone is you.
2197 \end_layout
2198
2199 \begin_layout Subsubsection
2200 Example #3:
2201  Paragraph Indentation
2202 \end_layout
2203
2204 \begin_layout Standard
2205 Americans are trained to indent the first line of 
2206 \emph on
2207 every
2208 \emph default
2209  paragraph.
2210  As with all of their other weird quirks,
2211  most Americans will whine and moan until they can have their way and indent the first line of all paragraphs.
2212  (Yes,
2213  we're joking.
2214  (We are?) 
2215 \emph on
2216 Yeah
2217 \emph default
2218 ,
2219  we are.)
2220 \end_layout
2221
2222 \begin_layout Standard
2223 Of course,
2224  this behavior isn't standard typography.
2225  In books,
2226  you typically only indent the first line of a paragraph 
2227 \emph on
2228 if
2229 \emph default
2230  it follows another one.
2231  The idea behind indenting the first line of a paragraph is to distinguish neighboring paragraphs from one another.
2232  If there is no previous paragraph—
2233 for example,
2234  if it follows a figure or is the first paragraph in a section—
2235 then there is no need for indentation.
2236  
2237 \end_layout
2238
2239 \begin_layout Standard
2240 If you're a typical American (we're still joking!),
2241  though,
2242  you don't care about such esoteric things;
2243  you want your indentation!
2244  Add this to the preamble:
2245 \end_layout
2246
2247 \begin_layout LyX-Code
2248
2249 \backslash
2250 usepackage{indentfirst}
2251 \end_layout
2252
2253 \begin_layout Standard
2254 If your \SpecialChar TeX
2255  distribution isn't braindead,
2256  you'll have this package,
2257  and all of your paragraphs will get the indentation the Founding Fathers intended they should have.
2258 \end_layout
2259
2260 \begin_layout Subsubsection
2261 Example #4:
2262  This Document
2263 \end_layout
2264
2265 \begin_layout Standard
2266 You can also check out the preamble of this document to get an idea of some of the advanced things you can do.
2267 \end_layout
2268
2269 \begin_layout Section
2270 \SpecialChar LyX
2271  and \SpecialChar LaTeX
2272  Errors
2273 \end_layout
2274
2275 \begin_layout Standard
2276 When \SpecialChar LyX
2277  calls \SpecialChar LaTeX
2278 ,
2279  it tells \SpecialChar LaTeX
2280  to blithely ignore any errors and keep going.
2281  It then uses the logfile from the \SpecialChar LaTeX
2282  run to do a post-mortem.
2283  After analyzing the logfile,
2284  \SpecialChar LyX
2285  displays a dialog listing the errors.
2286  Clicking on any one of them will take you to the position in your \SpecialChar LyX
2287  file where the error occurred.
2288 \begin_inset Foot
2289 status collapsed
2290
2291 \begin_layout Plain Layout
2292 Well,
2293  usually.
2294  Analyzing the logfile is a tough job,
2295  and \SpecialChar LyX
2296  doesn't always go to the right line.
2297  There are also cases where \SpecialChar LaTeX
2298  reports the error on one line,
2299  but the actual error is earlier.
2300  This is not unlike forgetting a closing brace in a program:
2301  You'll get an error,
2302  but only later.
2303 \end_layout
2304
2305 \end_inset
2306
2307
2308 \end_layout
2309
2310 \begin_layout Standard
2311 Some folks also like to look at the log file directly:
2312  It is available from 
2313 \change_deleted -712698321 1674917444
2314
2315 \begin_inset Flex Noun
2316 status collapsed
2317
2318 \begin_layout Plain Layout
2319 Document\SpecialChar menuseparator
2320 LaTeX
2321 \begin_inset space ~
2322 \end_inset
2323
2324 Log
2325 \end_layout
2326
2327 \end_inset
2328
2329
2330 \change_inserted -712698321 1674917444
2331
2332 \family sans
2333 Document\SpecialChar menuseparator
2334 LaTeX
2335 \begin_inset space ~
2336 \end_inset
2337
2338 Log
2339 \change_unchanged
2340
2341 \family default
2342 .
2343  There are some fairly common error messages and warnings.
2344  We'll cover those here.
2345  You should look at a good \SpecialChar LaTeX
2346  book for a complete listing.
2347 \end_layout
2348
2349 \begin_layout Itemize
2350 \begin_inset Flex Code
2351 status collapsed
2352
2353 \begin_layout Plain Layout
2354 LaTeX Warning
2355 \end_layout
2356
2357 \end_inset
2358
2359
2360 \begin_inset Newline newline
2361 \end_inset
2362
2363 Anything beginning with these words is a warning message for the purpose of 
2364 \begin_inset Quotes eld
2365 \end_inset
2366
2367 debugging
2368 \begin_inset Quotes erd
2369 \end_inset
2370
2371  the \SpecialChar LaTeX
2372  code itself.
2373  You'll get messages like this if you added or changed cross-references or bibliography entries,
2374  in which case,
2375  \SpecialChar LaTeX
2376  is trying to tell you that you need to make another run.
2377  You can by-and-large ignore these.
2378 \end_layout
2379
2380 \begin_layout Itemize
2381 \begin_inset Flex Code
2382 status collapsed
2383
2384 \begin_layout Plain Layout
2385 LaTeX Font Warning
2386 \end_layout
2387
2388 \end_inset
2389
2390
2391 \begin_inset Newline newline
2392 \end_inset
2393
2394 Another warning message,
2395  this time about fonts which \SpecialChar LaTeX
2396  couldn't find.
2397  The rest of the message will often say something about a replacement font that \SpecialChar LaTeX
2398  used.
2399  You can safely ignore these,
2400  too.
2401 \end_layout
2402
2403 \begin_layout Itemize
2404 \begin_inset Flex Code
2405 status collapsed
2406
2407 \begin_layout Plain Layout
2408 Overfull 
2409 \backslash
2410 hbox
2411 \end_layout
2412
2413 \end_inset
2414
2415
2416 \begin_inset Newline newline
2417 \end_inset
2418
2419 \SpecialChar LaTeX
2420  absolutely 
2421 \emph on
2422 loves
2423 \emph default
2424  to spew these out.
2425  It seems to generate at least one of these messages for just about any document you write.
2426  They are warnings about lines that were too long and run past the right margin.
2427  This happens if \SpecialChar LaTeX
2428  does not find a reasonable way to break the lines (notoriously often with typewriter font,
2429  since this does not allow for automatic break points).
2430  In many cases,
2431  this is unnoticeable in the final output.
2432  (It can be just a point or two.) Sometimes,
2433  however,
2434  the lines run rather visibly into the margin;
2435  something you will not want to have in your final print.
2436  
2437 \begin_inset Newline newline
2438 \end_inset
2439
2440 There are several global ways to try to minimize the overfull lines.
2441  Clicking 
2442 \family sans
2443 Enable micro-typographic extensions
2444 \family default
2445  in 
2446 \family sans
2447 Document\SpecialChar menuseparator
2448 Settings\SpecialChar menuseparator
2449 Fonts
2450 \family default
2451  might already improve things a lot.
2452  Furthermore,
2453  \SpecialChar LaTeX
2454  code such as the following in 
2455 \family sans
2456 Document\SpecialChar menuseparator
2457 Settings\SpecialChar menuseparator
2458 Preamble
2459 \family default
2460  usually reduces the overfull lines drastically (we use this in the preamble of this document):
2461 \end_layout
2462
2463 \begin_deeper
2464 \begin_layout LyX-Code
2465
2466 \backslash
2467 tolerance 1414
2468 \begin_inset Newline newline
2469 \end_inset
2470
2471
2472 \backslash
2473 hbadness 1414
2474 \begin_inset Newline newline
2475 \end_inset
2476
2477
2478 \backslash
2479 emergencystretch 1.5em
2480 \begin_inset Newline newline
2481 \end_inset
2482
2483
2484 \backslash
2485 hfuzz 0.3pt
2486 \end_layout
2487
2488 \begin_layout Standard
2489 In some cases,
2490  however,
2491  you eventually have to rewrite the text to get the line breaking right.
2492 \begin_inset Foot
2493 status collapsed
2494
2495 \begin_layout Plain Layout
2496 For more information,
2497  see 
2498 \begin_inset Flex URL
2499 status open
2500
2501 \begin_layout Plain Layout
2502
2503 http://www.tex.ac.uk/FAQ-overfull.html
2504 \end_layout
2505
2506 \end_inset
2507
2508
2509 \end_layout
2510
2511 \end_inset
2512
2513
2514 \end_layout
2515
2516 \begin_layout Standard
2517 In any case,
2518  you should check the respective lines,
2519  at least for the final version of your document.
2520  Your eyes will tell you if there's a problem with something that's too wide.
2521 \begin_inset Foot
2522 status collapsed
2523
2524 \begin_layout Plain Layout
2525 You can also enable the `draft' option in 
2526 \change_deleted -712698321 1674917458
2527
2528 \begin_inset Flex Noun
2529 status collapsed
2530
2531 \begin_layout Plain Layout
2532 Document\SpecialChar menuseparator
2533 Settings
2534 \end_layout
2535
2536 \end_inset
2537
2538
2539 \change_inserted -712698321 1674917458
2540
2541 \family sans
2542 Document\SpecialChar menuseparator
2543 Settings
2544 \change_unchanged
2545
2546 \family default
2547 ,
2548  and then \SpecialChar LaTeX
2549  will draw a black box in the margin of lines that are overfull.
2550 \end_layout
2551
2552 \end_inset
2553
2554  
2555 \end_layout
2556
2557 \end_deeper
2558 \begin_layout Itemize
2559 \begin_inset Flex Code
2560 status collapsed
2561
2562 \begin_layout Plain Layout
2563 Underfull 
2564 \backslash
2565 hbox
2566 \end_layout
2567
2568 \end_inset
2569
2570
2571 \begin_inset Newline newline
2572 \end_inset
2573
2574 Not quite as common as its cousin.
2575  This happens again if \SpecialChar LaTeX
2576  does not find a reasonable break point and consequently generates too loose lines.
2577  As with the overfull lines,
2578  you should check if this is a visible problem.
2579 \end_layout
2580
2581 \begin_layout Itemize
2582 \begin_inset Flex Code
2583 status collapsed
2584
2585 \begin_layout Plain Layout
2586 Overfull 
2587 \backslash
2588 vbox
2589 \end_layout
2590
2591 \end_inset
2592
2593  and 
2594 \begin_inset Flex Code
2595 status collapsed
2596
2597 \begin_layout Plain Layout
2598 Underfull 
2599 \backslash
2600 vbox
2601 \end_layout
2602
2603 \end_inset
2604
2605
2606 \begin_inset Newline newline
2607 \end_inset
2608
2609 Warnings about troubles breaking the page.
2610  Once again,
2611  just look at the output.
2612  Your eyes will tell you where something has gone wrong.
2613 \end_layout
2614
2615 \begin_layout Itemize
2616 \begin_inset Flex Code
2617 status collapsed
2618
2619 \begin_layout Plain Layout
2620 LaTeX Error:
2621  File 
2622 \begin_inset Quotes els
2623 \end_inset
2624
2625 Xxxx
2626 \begin_inset Quotes ers
2627 \end_inset
2628
2629  not found
2630 \end_layout
2631
2632 \end_inset
2633
2634
2635 \begin_inset Newline newline
2636 \end_inset
2637
2638 The file 
2639 \begin_inset Quotes eld
2640 \end_inset
2641
2642 Xxxx
2643 \begin_inset Quotes erd
2644 \end_inset
2645
2646  isn't installed on this system.
2647  This usually appears because some package your document needs isn't installed.
2648  If you didn't touch the preamble or didn't use the 
2649 \begin_inset Flex Code
2650 status collapsed
2651
2652 \begin_layout Plain Layout
2653
2654 \backslash
2655 usepackage{}
2656 \end_layout
2657
2658 \end_inset
2659
2660  command,
2661  then one of the packages \SpecialChar LyX
2662  tried to load is missing.
2663  Use 
2664 \change_deleted -712698321 1674917468
2665
2666 \begin_inset Flex Noun
2667 status collapsed
2668
2669 \begin_layout Plain Layout
2670 Help\SpecialChar menuseparator
2671 \SpecialChar LaTeX
2672  Configuration
2673 \end_layout
2674
2675 \end_inset
2676
2677
2678 \change_inserted -712698321 1674917478
2679
2680 \family sans
2681 Help\SpecialChar menuseparator
2682 LaTeX Configuration
2683 \change_unchanged
2684
2685 \family default
2686  to get a list of packages that \SpecialChar LyX
2687  knows about.
2688  This file is updated whenever you reconfigure \SpecialChar LyX
2689  (using 
2690 \change_deleted -712698321 1674917484
2691
2692 \begin_inset Flex Noun
2693 status collapsed
2694
2695 \begin_layout Plain Layout
2696 Tools\SpecialChar menuseparator
2697 Reconfigure
2698 \end_layout
2699
2700 \end_inset
2701
2702
2703 \change_inserted -712698321 1674917484
2704
2705 \family sans
2706 Tools\SpecialChar menuseparator
2707 Reconfigure
2708 \change_unchanged
2709
2710 \family default
2711 ) and tells you which packages have been detected and what they do.
2712 \begin_inset Newline newline
2713 \end_inset
2714
2715 If you did use the 
2716 \begin_inset Flex Code
2717 status collapsed
2718
2719 \begin_layout Plain Layout
2720
2721 \backslash
2722 usepackage{}
2723 \end_layout
2724
2725 \end_inset
2726
2727  command and the package in question isn't installed,
2728  then you'll need to install it yourself.
2729 \end_layout
2730
2731 \begin_layout Itemize
2732 \begin_inset Flex Code
2733 status collapsed
2734
2735 \begin_layout Plain Layout
2736 LaTeX Error:
2737  Unknown option
2738 \end_layout
2739
2740 \end_inset
2741
2742
2743 \begin_inset Newline newline
2744 \end_inset
2745
2746 Error messages beginning with this are trying to tell you that you specified a bad or undefined option to a package.
2747  Check the package's documentation.
2748 \end_layout
2749
2750 \begin_layout Itemize
2751 \begin_inset Flex Code
2752 status collapsed
2753
2754 \begin_layout Plain Layout
2755 Undefined control sequence
2756 \end_layout
2757
2758 \end_inset
2759
2760
2761 \begin_inset Newline newline
2762 \end_inset
2763
2764 If you've inserted \SpecialChar LaTeX
2765  code into your document,
2766  but made a typo,
2767  you'll get one of these.
2768  You may have forgotten to load a package.
2769  In any case,
2770  this error message usually means that you used an undefined command.
2771  
2772 \end_layout
2773
2774 \begin_layout Standard
2775 There are other error and warning messages.
2776  Some are self-explanatory.
2777  These are usually \SpecialChar LaTeX
2778  messages.
2779  Others are downright cryptic.
2780  These are usually \SpecialChar TeX
2781  error messages,
2782  and we really have 
2783 \emph on
2784 no clue
2785 \emph default
2786  what they mean or how to decipher them.
2787  No-one does.
2788 \end_layout
2789
2790 \begin_layout Standard
2791 There's a general sequence you should follow if you get error messages:
2792 \end_layout
2793
2794 \begin_layout Enumerate
2795 Look at the \SpecialChar LaTeX
2796  code you inserted for typos.
2797 \end_layout
2798
2799 \begin_layout Enumerate
2800 If there are no typos,
2801  check that you used the command(s) correctly.
2802 \end_layout
2803
2804 \begin_layout Enumerate
2805 If you get a bunch of error boxes piled up at the very top of the document—
2806 and especially if you see a 
2807 \begin_inset Quotes eld
2808 \end_inset
2809
2810
2811 \begin_inset Flex Code
2812 status collapsed
2813
2814 \begin_layout Plain Layout
2815 Missing 
2816 \backslash
2817 begin{document}
2818 \end_layout
2819
2820 \end_inset
2821
2822
2823 \begin_inset Quotes erd
2824 \end_inset
2825
2826  error—
2827 it means that there are errors in the preamble.
2828  Start debugging your preamble.
2829 \end_layout
2830
2831 \begin_layout Enumerate
2832 If you didn't add anything to the preamble and didn't add any \SpecialChar LaTeX
2833  code to the document,
2834  the first suspect is your \SpecialChar LaTeX
2835  distribution itself.
2836  Check for missing packages and install them.
2837 \end_layout
2838
2839 \begin_layout Enumerate
2840 Okay,
2841  so there are no missing packages.
2842  Did you use any of the fine-tuning options in \SpecialChar LyX
2843 ?
2844  Specifically,
2845  did you 
2846 \emph on
2847 misuse
2848 \emph default
2849  any of them,
2850  like trying to manually insert lots of 
2851 \begin_inset Flex Code
2852 status collapsed
2853
2854 \begin_layout Plain Layout
2855
2856 \change_deleted 177693 1654669036
2857 Protected
2858 \change_inserted 177693 1654669038
2859 Non-Breaking
2860 \change_unchanged
2861
2862 \begin_inset space ~
2863 \end_inset
2864
2865
2866 \change_deleted 177693 1654669040
2867 Blanks
2868 \change_inserted 177693 1654669041
2869 Spaces
2870 \change_unchanged
2871
2872 \end_layout
2873
2874 \end_inset
2875
2876 ,
2877  
2878 \begin_inset Flex Code
2879 status collapsed
2880
2881 \begin_layout Plain Layout
2882 Linebreaks
2883 \end_layout
2884
2885 \end_inset
2886
2887 ,
2888  or 
2889 \begin_inset Flex Code
2890 status collapsed
2891
2892 \begin_layout Plain Layout
2893 Pagebreaks
2894 \end_layout
2895
2896 \end_inset
2897
2898 ?
2899  Did you try to kludge something together with these instead of using the appropriate paragraph environment?
2900 \end_layout
2901
2902 \begin_layout Enumerate
2903 All right,
2904  you didn't use any of the fine-tuning options,
2905  you played by the rules.
2906  Did you try to pull a fancy maneuver?
2907  Did you do something funky inside a table or an equation,
2908  like inserting a graphic into a table cell?
2909 \end_layout
2910
2911 \begin_layout Enumerate
2912 Do you have long sections of text where \SpecialChar LaTeX
2913  cannot find a place to break a line?
2914  By default,
2915  \SpecialChar LaTeX
2916  is rather strict about how much extra inter-word spacing it will add in order to break a line.
2917  Preferably,
2918  you should rework the paragraph to avoid the problem.
2919 \end_layout
2920
2921 \begin_layout Enumerate
2922 Did you go overboard with the nesting?
2923  \SpecialChar LyX
2924  (currently) doesn't check to make sure you're in the limits for nesting environments.
2925  If you nested a bunch of environments to the 
2926 \begin_inset Formula $17^{\mathrm{th}}$
2927 \end_inset
2928
2929  level,
2930  that's the problem.
2931  (The limit in \SpecialChar LaTeX
2932  is five.)
2933 \end_layout
2934
2935 \begin_layout Enumerate
2936 Okay,
2937  you didn't get any error messages,
2938  but your output looks awful.
2939  If you have a table or figure that's too wide or long for the page,
2940  you need to:
2941 \end_layout
2942
2943 \begin_deeper
2944 \begin_layout Enumerate
2945 rescale the figure so it fits.
2946 \end_layout
2947
2948 \begin_layout Enumerate
2949 trim down the table so it fits.
2950 \end_layout
2951
2952 \end_deeper
2953 \begin_layout Enumerate
2954 If something else is wrong with the output,
2955  and you didn't try to pull anything fancy or kludge the fine-tuning options,
2956  we're not sure what's wrong.
2957 \end_layout
2958
2959 \begin_layout Standard
2960 If all this doesn't help—
2961 well,
2962  then 
2963 \emph on
2964 perhaps
2965 \emph default
2966  you might have found a bug in \SpecialChar LyX
2967 \SpecialChar ldots
2968 .
2969 \end_layout
2970
2971 \begin_layout Chapter
2972
2973 \change_inserted 564990737 1672345271
2974 Document classes
2975 \end_layout
2976
2977 \begin_layout Standard
2978
2979 \change_inserted 564990737 1672345272
2980 As explained in the 
2981 \emph on
2982 User's Guide
2983 \emph default
2984 ,
2985  \SpecialChar LaTeX
2986  originally offered four standard document classes,
2987  article,
2988  report,
2989  book and letter,
2990  but individuals and organizations,
2991  most notably the American Mathematical Society in the early days,
2992  have made many contributions to extending the range of document classes.
2993  In this chapter we summarize the main externally maintained classes,
2994  some of which are marked “Unavailable:” in the pull-down 
2995 \family sans
2996 Document
2997 \begin_inset space ~
2998 \end_inset
2999
3000
3001 \bar under
3002 c
3003 \bar default
3004 lass
3005 \family default
3006  list in the 
3007 \family sans
3008 \bar under
3009 D
3010 \bar default
3011 ocument\SpecialChar menuseparator
3012
3013 \bar under
3014 S
3015 \bar default
3016 ettings\SpecialChar menuseparator
3017 Document
3018 \begin_inset space ~
3019 \end_inset
3020
3021 class
3022 \family default
3023  dialog and which you will need to install as described in the 
3024 \emph on
3025 Installing New Document Classes
3026 \emph default
3027  chapter of the 
3028 \emph on
3029 Customization
3030 \emph default
3031  manual if you want to use them.
3032  
3033 \end_layout
3034
3035 \begin_layout Section
3036
3037 \change_inserted 564990737 1670439533
3038 \begin_inset CommandInset label
3039 LatexCommand label
3040 name "sec:Collections"
3041
3042 \end_inset
3043
3044 Collections
3045 \end_layout
3046
3047 \begin_layout Subsection
3048
3049 \change_inserted 564990737 1672345298
3050 \begin_inset CommandInset label
3051 LatexCommand label
3052 name "subsec:AMS-LaTeX-(American-Mathematical"
3053
3054 \end_inset
3055
3056 AMS-\SpecialChar LaTeX
3057  (American Mathematical Society)
3058 \end_layout
3059
3060 \begin_layout Standard
3061
3062 \change_inserted 564990737 1672345298
3063 The \SpecialChar LyX
3064  supported document classes 
3065 \family sans
3066 article (AMS)
3067 \family default
3068  and 
3069 \family sans
3070 book (AMS)
3071 \family default
3072  are maintained by the Society;
3073  use of their features is described in the Math manual and on their website 
3074 \begin_inset Flex URL
3075 status collapsed
3076
3077 \begin_layout Plain Layout
3078
3079 \change_inserted 564990737 1672345298
3080
3081 http://www.ams.org/publications/authors/tex/amslatex
3082 \change_unchanged
3083
3084 \end_layout
3085
3086 \end_inset
3087
3088 .
3089  The following summary was originally provided by 
3090 \noun on
3091 David Johnson
3092 \noun default
3093  and updated by 
3094 \noun on
3095 Richard 
3096 \change_inserted -712698321 1673082716
3097 Kimberly 
3098 \change_inserted 564990737 1672345298
3099 Heck
3100 \noun default
3101  and the \SpecialChar LyX
3102  Team
3103 \noun on
3104 .
3105 \change_deleted 564990737 1672345297
3106
3107 \noun default
3108 AMS \SpecialChar LaTeX
3109
3110 \end_layout
3111
3112 \begin_layout Standard
3113
3114 \change_deleted 564990737 1672345297
3115 by 
3116 \noun on
3117 David Johnson
3118 \noun default
3119 ;
3120  updated by 
3121 \noun on
3122 Richard Kimberly Heck
3123 \change_unchanged
3124
3125 \end_layout
3126
3127 \begin_layout Standard
3128 \begin_inset VSpace bigskip
3129 \end_inset
3130
3131
3132 \end_layout
3133
3134 \begin_layout Standard
3135 \noindent
3136 The AMS \SpecialChar LaTeX
3137  layouts are set up to conform to suggested styles for mathematical papers to be submitted to American Mathematical Society publications.
3138  The layouts are not tailored to a specific journal,
3139  but easily can be.
3140  You should refer to the AMS documentation for specific instructions for each journal (usually it will entail only changing a single line in the \SpecialChar TeX
3141  output).
3142  That documentation is available on the Web at 
3143 \begin_inset Flex URL
3144 status open
3145
3146 \begin_layout Plain Layout
3147
3148 http://www.ams.org
3149 \end_layout
3150
3151 \end_inset
3152
3153  or by ftp at 
3154 \begin_inset Flex URL
3155 status open
3156
3157 \begin_layout Plain Layout
3158
3159 ftp://ftp.ams.org/pub/tex/amslatex/
3160 \end_layout
3161
3162 \end_inset
3163
3164 .
3165  These layouts are appropriate,
3166  and useful,
3167  for any mathematical writing.
3168  
3169 \end_layout
3170
3171 \begin_layout Standard
3172 There are 
3173 \change_deleted -712698321 1673083001
3174 two
3175 \change_inserted -712698321 1673083002
3176 three
3177 \change_unchanged
3178  basic AMS \SpecialChar LaTeX
3179  layouts:
3180  
3181 \end_layout
3182
3183 \begin_layout Itemize
3184 amsart:
3185  The standard AMS article format
3186 \change_inserted 564990737 1672345333
3187 ;
3188  see 
3189 \family sans
3190 File\SpecialChar menuseparator
3191 Open Example\SpecialChar menuseparator
3192 Articles\SpecialChar menuseparator
3193 American Mathematical Society (AMS)
3194 \change_unchanged
3195
3196 \family default
3197 .
3198 \end_layout
3199
3200 \begin_layout Itemize
3201 amsbook:
3202  the standard AMS book (really,
3203  monograph) format
3204 \change_inserted 564990737 1672345366
3205 ;
3206  see 
3207 \family sans
3208 File\SpecialChar menuseparator
3209 Open Example\SpecialChar menuseparator
3210 Books\SpecialChar menuseparator
3211 American Mathematical Society (AMS)
3212 \change_unchanged
3213
3214 \family default
3215 .
3216 \change_inserted 564990737 1672345369
3217
3218 \end_layout
3219
3220 \begin_layout Itemize
3221
3222 \change_inserted 564990737 1672345383
3223 amsproc:
3224  the standard AMS proceedings format.
3225 \end_layout
3226
3227 \begin_layout Standard
3228
3229 \change_inserted 564990737 1672345383
3230 \SpecialChar LyX
3231  only supports the first two natively;
3232  see the 
3233 \emph on
3234 Installing New Document Classes
3235 \emph default
3236  chapter of the 
3237 \emph on
3238 Customization
3239 \emph default
3240  manual if you want to use 
3241 \family sans
3242 amsproc
3243 \family default
3244 .
3245 \end_layout
3246
3247 \begin_layout Standard
3248 The layouts themselves contain only the minimum necessary to use the AMS classes.
3249  They do not,
3250  in particular,
3251  contain any of the `theorem' environments used for setting theorems,
3252  lemmas,
3253  and the like.
3254  These are contained,
3255  instead,
3256  in the 
3257 \change_deleted 564990737 1672345416
3258
3259 \begin_inset Flex Code
3260 status collapsed
3261
3262 \begin_layout Plain Layout
3263 Theorems (AMS)
3264 \end_layout
3265
3266 \end_inset
3267
3268
3269 \change_inserted 564990737 1672345416
3270
3271 \family sans
3272 AMS Theorems
3273 \change_unchanged
3274
3275 \family default
3276  module,
3277  which is loaded by default when you select one of the AMS classes.
3278  (It can also be used with other classes and can be removed,
3279  if you would rather use something else.) Less commonly used environments are in the 
3280 \change_deleted 564990737 1672345436
3281
3282 \begin_inset Flex Code
3283 status collapsed
3284
3285 \begin_layout Plain Layout
3286 Theorems (AMS-Extended)
3287 \end_layout
3288
3289 \end_inset
3290
3291
3292 \change_inserted 564990737 1672345436
3293  
3294 \family sans
3295 AMS Theorems (Extended)
3296 \change_unchanged
3297
3298 \family default
3299  module,
3300  which must be loaded manually.
3301 \end_layout
3302
3303 \begin_layout Standard
3304 By default,
3305  theorems and the like are numbered consecutively throughout the document,
3306  but this may be modified by loading the module 
3307 \change_deleted 564990737 1672345461
3308
3309 \begin_inset Flex Code
3310 status collapsed
3311
3312 \begin_layout Plain Layout
3313 Theorems (Order by Section)
3314 \end_layout
3315
3316 \end_inset
3317
3318
3319 \change_inserted 564990737 1672345461
3320
3321 \family sans
3322 Standard Theorems (Numbered by Section)
3323 \change_unchanged
3324
3325 \family default
3326  or,
3327  if you are using 
3328 \begin_inset Flex Code
3329 status collapsed
3330
3331 \begin_layout Plain Layout
3332 book (AMS)
3333 \end_layout
3334
3335 \end_inset
3336
3337 ,
3338  the module 
3339 \change_deleted 564990737 1672345479
3340
3341 \begin_inset Flex Code
3342 status collapsed
3343
3344 \begin_layout Plain Layout
3345 Theorems (Order by Chapter)
3346 \end_layout
3347
3348 \end_inset
3349
3350
3351 \change_inserted 564990737 1672345480
3352
3353 \family sans
3354 Standard Theorems (Numbered by Chapter)
3355 \change_unchanged
3356
3357 \family default
3358 .
3359  These will number the results as 
3360 \begin_inset Formula $n.m$
3361 \end_inset
3362
3363 ,
3364  where the first number refers to the section (or chapter) and the second refers to the total number of results so far in that section (or chapter).
3365  Many environments are also available unnumbered.
3366  These are indicated by an asterisk at the end.
3367  If you happen to want 
3368 \emph on
3369 only
3370 \emph default
3371  unnumbered results,
3372  the module 
3373 \change_deleted 564990737 1672345498
3374
3375 \begin_inset Flex Code
3376 status collapsed
3377
3378 \begin_layout Plain Layout
3379 Theorems (Starred)
3380 \end_layout
3381
3382 \end_inset
3383
3384
3385 \change_inserted 564990737 1672345498
3386
3387 \family sans
3388 Standard Theorems (Unnumbered)
3389 \change_unchanged
3390
3391 \family default
3392  provides that option.
3393 \end_layout
3394
3395 \begin_layout Standard
3396 Note that these modules do not 
3397 \emph on
3398 have
3399 \emph default
3400  to be used with the AMS classes.
3401  It is perfectly possible to use the 
3402 \change_deleted 564990737 1672345520
3403
3404 \begin_inset Flex Code
3405 status collapsed
3406
3407 \begin_layout Plain Layout
3408 Theorems (AMS)
3409 \end_layout
3410
3411 \end_inset
3412
3413
3414 \change_inserted 564990737 1672345520
3415
3416 \family sans
3417 AMS Theorems
3418 \change_unchanged
3419
3420 \family default
3421  module,
3422  and the others mentioned,
3423  with other classes,
3424  such as 
3425 \begin_inset Flex Code
3426 status collapsed
3427
3428 \begin_layout Plain Layout
3429
3430 \change_deleted -712698321 1673083855
3431 article
3432 \change_inserted -712698321 1673083855
3433 Article (Standard Class)
3434 \change_unchanged
3435
3436 \end_layout
3437
3438 \end_inset
3439
3440 ,
3441  
3442 \begin_inset Flex Code
3443 status collapsed
3444
3445 \begin_layout Plain Layout
3446
3447 \change_deleted -712698321 1673083858
3448 report
3449 \change_inserted -712698321 1673083862
3450 Report (Standard Class)
3451 \change_unchanged
3452
3453 \end_layout
3454
3455 \end_inset
3456
3457 ,
3458  
3459 \begin_inset Flex Code
3460 status collapsed
3461
3462 \begin_layout Plain Layout
3463
3464 \change_deleted -712698321 1673083819
3465 book (KOMA-script)
3466 \change_inserted -712698321 1673083822
3467 KOMA-Script Book
3468 \change_unchanged
3469
3470 \end_layout
3471
3472 \end_inset
3473
3474 ,
3475  and so forth.
3476 \end_layout
3477
3478 \begin_layout Subsubsection
3479 What these layouts provide
3480 \end_layout
3481
3482 \begin_layout Standard
3483 There is a long list of included environments provided by these layouts.
3484  In AMS-\SpecialChar LaTeX
3485 ,
3486  there is,
3487  in fact,
3488  an opportunity to define an unlimited variety of `theorem' environments.
3489  However,
3490  the AMS recommends the environments that are available in \SpecialChar LyX
3491 .
3492  
3493 \end_layout
3494
3495 \begin_layout Standard
3496 The following environments—
3497 as well as the standard environments,
3498  such as 
3499 \begin_inset Flex Noun
3500 status collapsed
3501
3502 \begin_layout Plain Layout
3503 section
3504 \end_layout
3505
3506 \end_inset
3507
3508 ,
3509  
3510 \begin_inset Flex Noun
3511 status collapsed
3512
3513 \begin_layout Plain Layout
3514 bibliography
3515 \end_layout
3516
3517 \end_inset
3518
3519 ,
3520  
3521 \begin_inset Flex Noun
3522 status collapsed
3523
3524 \begin_layout Plain Layout
3525 title
3526 \end_layout
3527
3528 \end_inset
3529
3530 ,
3531  
3532 \begin_inset Flex Noun
3533 status collapsed
3534
3535 \begin_layout Plain Layout
3536 author
3537 \end_layout
3538
3539 \end_inset
3540
3541 ,
3542  and 
3543 \begin_inset Flex Noun
3544 status collapsed
3545
3546 \begin_layout Plain Layout
3547 date
3548 \end_layout
3549
3550 \end_inset
3551
3552
3553 are provided by 
3554 \begin_inset Flex Code
3555 status collapsed
3556
3557 \begin_layout Plain Layout
3558 article (AMS)
3559 \end_layout
3560
3561 \end_inset
3562
3563  and 
3564 \begin_inset Flex Code
3565 status collapsed
3566
3567 \begin_layout Plain Layout
3568 book (AMS)
3569 \end_layout
3570
3571 \end_inset
3572
3573 :
3574 \end_layout
3575
3576 \begin_layout Description
3577 Address This should be the author's permanent address.
3578 \end_layout
3579
3580 \begin_layout Description
3581 Current
3582 \begin_inset space ~
3583 \end_inset
3584
3585 Address This should be the author's temporary address at the time of submission,
3586  if different from the Address.
3587 \end_layout
3588
3589 \begin_layout Description
3590 Email Author's e-mail address
3591 \end_layout
3592
3593 \begin_layout Description
3594 URL Author's Web address,
3595  if desired.
3596 \end_layout
3597
3598 \begin_layout Description
3599 Keywords Key words or phrases used to identify specific topics discussed in the paper.
3600 \end_layout
3601
3602 \begin_layout Description
3603 Subjectclass These refer to the AMS Subject Classifications,
3604  published and described in 
3605 \emph on
3606 Mathematical Reviews
3607 \emph default
3608 .
3609  These are also available online at the AMS cites listed above.
3610 \end_layout
3611
3612 \begin_layout Description
3613 Thanks
3614 \end_layout
3615
3616 \begin_layout Description
3617 Dedicatory
3618 \end_layout
3619
3620 \begin_layout Description
3621 Translator
3622 \end_layout
3623
3624 \begin_layout Standard
3625 The following environments are provided by both the 
3626 \change_deleted 564990737 1672345566
3627
3628 \begin_inset Flex Code
3629 status collapsed
3630
3631 \begin_layout Plain Layout
3632 Theorems
3633 \end_layout
3634
3635 \end_inset
3636
3637
3638 \change_inserted 564990737 1672345566
3639
3640 \family sans
3641 Standard Theorems
3642 \change_unchanged
3643
3644 \family default
3645  and 
3646 \change_deleted 564990737 1672345580
3647
3648 \begin_inset Flex Code
3649 status collapsed
3650
3651 \begin_layout Plain Layout
3652 Theorems (AMS)
3653 \end_layout
3654
3655 \end_inset
3656
3657
3658 \change_inserted 564990737 1672345580
3659
3660 \family sans
3661 AMS Theorems
3662 \change_unchanged
3663
3664 \family default
3665  modules,
3666  in the latter case in both 
3667 \change_deleted -712698321 1673084072
3668 starred (
3669 \change_unchanged
3670 unnumbered
3671 \change_deleted -712698321 1673084073
3672 )
3673 \change_unchanged
3674  and 
3675 \change_deleted -712698321 1673084075
3676 unstarred (
3677 \change_unchanged
3678 numbered
3679 \change_deleted -712698321 1673084077
3680 )
3681 \change_unchanged
3682  versions.
3683  These same environments are provided only in the starred versions by the 
3684 \change_deleted 564990737 1672345596
3685
3686 \begin_inset Flex Code
3687 status collapsed
3688
3689 \begin_layout Plain Layout
3690 Theorems (Starred)
3691 \end_layout
3692
3693 \end_inset
3694
3695
3696 \change_inserted 564990737 1672345596
3697
3698 \family sans
3699 Standard Theorems
3700 \change_inserted -712698321 1673084060
3701  (Unnumbered)
3702 \change_unchanged
3703
3704 \family default
3705  module:
3706 \end_layout
3707
3708 \begin_layout Theorem
3709 This is typically used for the statements of major results.
3710  
3711 \end_layout
3712
3713 \begin_layout Corollary*
3714 This is used for statements which follow fairly directly from previous statements.
3715  Again,
3716  these can be major results.
3717  
3718 \end_layout
3719
3720 \begin_layout Lemma
3721 These are smaller results needed to prove other statements.
3722 \end_layout
3723
3724 \begin_layout Proposition
3725 These are less major results which (hopefully) add to the general theory being discussed.
3726 \end_layout
3727
3728 \begin_layout Conjecture
3729 These are statements provided without justification,
3730  which the author does not know how to prove,
3731  but which seem to be true (to the author,
3732  at least).
3733 \end_layout
3734
3735 \begin_layout Definition*
3736 Guess what this is for.
3737  The font is different for this environment than for the previous ones.
3738  
3739 \end_layout
3740
3741 \begin_layout Example*
3742 Used for examples illustrating proven results.
3743 \end_layout
3744
3745 \begin_layout Problem
3746 It's not really known what this is for.
3747  You should figure it out.
3748 \end_layout
3749
3750 \begin_layout Exercise*
3751 Write a description for this one.
3752 \end_layout
3753
3754 \begin_layout Remark
3755 This environment is also a type of theorem,
3756  usually a lesser sort of observation.
3757 \end_layout
3758
3759 \begin_layout Claim*
3760 Often used in the course of giving a proof of a larger result.
3761 \end_layout
3762
3763 \begin_layout Case
3764 Generally,
3765  these are used to break up long arguments,
3766  using specific instances of some condition.
3767  
3768 \end_layout
3769
3770 \begin_layout Case
3771 The numbering scheme for cases is on its own,
3772  not together with other numbered statements.
3773  
3774 \end_layout
3775
3776 \begin_layout Proof
3777 At the end of this environment,
3778  a QED symbol (usually a square,
3779  but it can vary with different styles) is placed.
3780  If you want to have other environments within this one—
3781 for example,
3782  Case environments—
3783 and have the QED symbol appear only after them,
3784  then the other environments need to be nested within the proof environment.
3785  See the section 
3786 \emph on
3787 Nesting Environments
3788 \emph default
3789  of the 
3790 \emph on
3791 User's Guide
3792 \emph default
3793  for information on nesting.
3794 \end_layout
3795
3796 \begin_layout Fact
3797
3798 \change_inserted 564990737 1672345651
3799 Used in a way similar to Proposition,
3800  though perhaps lower on the scale.
3801 \end_layout
3802
3803 \begin_layout Standard
3804 And these environments are provided by 
3805 \change_deleted 564990737 1672345684
3806
3807 \begin_inset Flex Code
3808 status collapsed
3809
3810 \begin_layout Plain Layout
3811 Theorems (AMS-Extended)
3812 \end_layout
3813
3814 \end_inset
3815
3816
3817 \change_inserted 564990737 1672345689
3818
3819 \family sans
3820 AMS Theorems (Extended
3821 \family default
3822 )
3823 \change_unchanged
3824 :
3825 \end_layout
3826
3827 \begin_layout Criterion*
3828 A required condition.
3829 \end_layout
3830
3831 \begin_layout Algorithm*
3832 A general procedure to be used.
3833 \end_layout
3834
3835 \begin_layout Axiom*
3836 This is a property or statement taken as true within the system being discussed.
3837 \end_layout
3838
3839 \begin_layout Condition*
3840 Sometimes used to state a condition assumed within the present context of discussion.
3841 \end_layout
3842
3843 \begin_layout Note*
3844 Similar to a Remark.
3845 \end_layout
3846
3847 \begin_layout Notation*
3848 Used for the explanation of,
3849  yes,
3850  notation.
3851 \end_layout
3852
3853 \begin_layout Summary
3854 Do we really need to tell you?
3855  
3856 \end_layout
3857
3858 \begin_layout Standard
3859
3860 \change_deleted -712698321 1675595089
3861 Acknowledgement.
3862 \change_unchanged
3863
3864 \end_layout
3865
3866 \begin_layout Conclusion*
3867 Sometimes used at the end of a long train of argument.
3868 \change_deleted 564990737 1672345729
3869
3870 \end_layout
3871
3872 \begin_layout Fact
3873
3874 \change_deleted 564990737 1672345638
3875 Used in a way similar to Proposition,
3876  though perhaps lower on the scale.
3877 \change_inserted 564990737 1672345720
3878
3879 \end_layout
3880
3881 \begin_layout Assumption*
3882
3883 \change_inserted 564990737 1672345721
3884 Assumption
3885 \end_layout
3886
3887 \begin_layout Question*
3888
3889 \change_inserted 564990737 1672345721
3890 Question
3891 \end_layout
3892
3893 \begin_layout Standard
3894
3895 \change_inserted 564990737 1672345721
3896 There are ten more Maths modules available including several offering options ordered on 
3897 \family sans
3898 (Numbered by Type \SpecialChar ldots
3899 )
3900 \family default
3901 .
3902 \change_unchanged
3903
3904 \end_layout
3905
3906 \begin_layout Standard
3907 In addition,
3908  the AMS classes automatically provide the AMS \SpecialChar LaTeX
3909  and AMS fonts packages.
3910  They need to be available on your system in order to use these environments.
3911 \end_layout
3912
3913 \begin_layout Subsection
3914
3915 \change_inserted 564990737 1671383236
3916 \begin_inset CommandInset label
3917 LatexCommand label
3918 name "subsec:Extra-font-sizes"
3919
3920 \end_inset
3921
3922 Extra font sizes
3923 \end_layout
3924
3925 \begin_layout Standard
3926
3927 \change_inserted 564990737 1671383236
3928 The “Extra font sizes” collection provides the document classes 
3929 \family sans
3930 article
3931 \begin_inset space \thinspace{}
3932 \end_inset
3933
3934 (with extra font sizes)
3935 \family default
3936 ,
3937  
3938 \family sans
3939 book
3940 \begin_inset space \thinspace{}
3941 \end_inset
3942
3943 (with extra font sizes)
3944 \family default
3945 ,
3946  
3947 \family sans
3948 letter
3949 \begin_inset space \thinspace{}
3950 \end_inset
3951
3952 (with extra font sizes)
3953 \family default
3954  and 
3955 \family sans
3956 report
3957 \begin_inset space \thinspace{}
3958 \end_inset
3959
3960 (with extra font sizes)
3961 \family default
3962  which use the 
3963 \family typewriter
3964 article.cls
3965 \family default
3966 ,
3967  
3968 \family typewriter
3969 book.cls
3970 \family default
3971 ,
3972  
3973 \family typewriter
3974 letter.cls
3975 \family default
3976  and 
3977 \family typewriter
3978 report.cls
3979 \family default
3980  document classes respectively but offer the additional 
3981 \family sans
3982 \bar under
3983 B
3984 \bar default
3985 ase
3986 \begin_inset space ~
3987 \end_inset
3988
3989 Size
3990 \family default
3991  options 8,
3992  9,
3993  14,
3994  17 and 20 in the 
3995 \family sans
3996 \bar under
3997 D
3998 \bar default
3999 ocument\SpecialChar menuseparator
4000
4001 \bar under
4002 S
4003 \bar default
4004 ettings\SpecialChar menuseparator
4005 Fonts
4006 \family default
4007  dialog.
4008 \end_layout
4009
4010 \begin_layout Subsection
4011
4012 \change_inserted 564990737 1671383236
4013 Hebrew
4014 \end_layout
4015
4016 \begin_layout Standard
4017
4018 \change_inserted 564990737 1671383236
4019 The document classes 
4020 \family sans
4021 article
4022 \begin_inset space \thinspace{}
4023 \end_inset
4024
4025 (Hebrew)
4026 \family default
4027  and 
4028 \family sans
4029 letter
4030 \begin_inset space \thinspace{}
4031 \end_inset
4032
4033 (Hebrew)
4034 \family default
4035  use the 
4036 \family typewriter
4037 article.cl
4038 \family sans
4039 s
4040 \family default
4041  and 
4042 \family typewriter
4043 letter.cls
4044 \family default
4045  document classes to facilitate the use of Hebrew in \SpecialChar LyX
4046 .
4047 \end_layout
4048
4049 \begin_layout Subsection
4050
4051 \change_inserted 564990737 1671383236
4052 \begin_inset CommandInset label
4053 LatexCommand label
4054 name "subsec:Japanese"
4055
4056 \end_inset
4057
4058 Japanese
4059 \change_inserted -712698321 1675848645
4060  (Standard Classes)
4061 \change_inserted 564990737 1671383236
4062
4063 \end_layout
4064
4065 \begin_layout Standard
4066
4067 \change_inserted -712698321 1675848905
4068 \SpecialChar LyX
4069  included a collection of several bundles that aim to facilitate typesetting Japanese documents.
4070  The bundles have been developed at different times,
4071  they thus support different typesetting engines and features.
4072  This collection is the oldest one.
4073  It adjusts the \SpecialChar LaTeX
4074  standard classes to requirements of Japanese typesetting,
4075  for horizontal and vertical writing.
4076  The collection includes 
4077 \family sans
4078 Japanese Article (Standard Class)
4079 \family default
4080 ,
4081  
4082 \family sans
4083 Japanese Article
4084 \begin_inset space \thinspace{}
4085 \end_inset
4086
4087 (Standard Class Vertical Writing)
4088 \family default
4089 ,
4090  
4091 \family sans
4092 Japanese Book
4093 \begin_inset space \thinspace{}
4094 \end_inset
4095
4096 (Standard Class)
4097 \family default
4098 ,
4099  
4100 \family sans
4101 Japanese Book
4102 \begin_inset space \thinspace{}
4103 \end_inset
4104
4105 (Standard Class Vertical Writing)
4106 \family default
4107 ,
4108  
4109 \family sans
4110 Japanese Report
4111 \begin_inset space \thinspace{}
4112 \end_inset
4113
4114 (Japanese Standard Class)
4115 \family default
4116 ,
4117  and
4118 \family sans
4119  Japanese Report
4120 \begin_inset space \thinspace{}
4121 \end_inset
4122
4123 (Standard Class Vertical Writing).
4124 \end_layout
4125
4126 \begin_layout Subsection
4127
4128 \change_inserted -712698321 1675848929
4129 \begin_inset CommandInset label
4130 LatexCommand label
4131 name "subsec:Japanese-JS"
4132
4133 \end_inset
4134
4135 Japanese (JS Bundle)
4136 \change_unchanged
4137
4138 \end_layout
4139
4140 \begin_layout Standard
4141
4142 \change_inserted -712698321 1675849034
4143 This collection includes improved versions of the classes included in 
4144 \family sans
4145 Japanese (Standard Classes)
4146 \family default
4147  (see
4148 \begin_inset space ~
4149 \end_inset
4150
4151
4152 \begin_inset CommandInset ref
4153 LatexCommand ref
4154 reference "subsec:Japanese"
4155
4156 \end_inset
4157
4158 ).
4159  It includes 
4160 \change_deleted -712698321 1675849038
4161 The document classes 
4162 \change_inserted -712698321 1673089024
4163
4164 \family sans
4165 Japanese 
4166 \change_deleted -712698321 1673089025
4167 a
4168 \change_inserted -712698321 1673089025
4169 A
4170 \change_inserted 564990737 1671383236
4171 rticle
4172 \begin_inset space \thinspace{}
4173 \end_inset
4174
4175 (
4176 \change_deleted -712698321 1673089027
4177 Japanese 
4178 \change_inserted 564990737 1671383236
4179 JS 
4180 \change_deleted -712698321 1675848222
4181 Class
4182 \change_inserted -712698321 1675848223
4183 Bundle
4184 \change_inserted 564990737 1671383236
4185 )
4186 \change_deleted -712698321 1675849103
4187
4188 \family default
4189 ,
4190
4191 \change_inserted 564990737 1671383236
4192
4193 \family sans
4194  
4195 \change_deleted -712698321 1675849055
4196 article
4197 \begin_inset space \thinspace{}
4198 \end_inset
4199
4200 (Japanese Standard Class Vertical Writing)
4201 \family default
4202 ,
4203  
4204 \family sans
4205 article
4206 \begin_inset space \thinspace{}
4207 \end_inset
4208
4209 (Japanese Standard Class)
4210 \family default
4211 ,
4212  
4213 \change_inserted -712698321 1675849107
4214 and 
4215 \family sans
4216 Japanese 
4217 \change_deleted -712698321 1673089053
4218 b
4219 \change_inserted -712698321 1673089064
4220 B
4221 \change_inserted 564990737 1671383236
4222 ook
4223 \begin_inset space \thinspace{}
4224 \end_inset
4225
4226 (
4227 \change_deleted -712698321 1673089067
4228 Japanese 
4229 \change_inserted 564990737 1671383236
4230 JS 
4231 \change_deleted -712698321 1675849059
4232 Class
4233 \change_inserted -712698321 1675849059
4234 Bundle
4235 \change_inserted 564990737 1671383236
4236 )
4237 \change_deleted -712698321 1675849095
4238
4239 \family default
4240 ,
4241
4242 \family sans
4243  book
4244 \begin_inset space \thinspace{}
4245 \end_inset
4246
4247 (Japanese Standard Class Vertical Writing)
4248 \family default
4249 ,
4250  
4251 \family sans
4252 book
4253 \begin_inset space \thinspace{}
4254 \end_inset
4255
4256 (Japanese Standard Class)
4257 \family default
4258 ,
4259  
4260 \family sans
4261 report
4262 \begin_inset space \thinspace{}
4263 \end_inset
4264
4265 (Japanese Vertical Writing)
4266 \family default
4267  and 
4268 \family sans
4269 report
4270 \begin_inset space \thinspace{}
4271 \end_inset
4272
4273 (Japanese Standard Class)
4274 \family default
4275  provide document classes for the Japanese language
4276 \change_inserted 564990737 1671383236
4277 .
4278
4279 \change_inserted -712698321 1675849238
4280  A report class can be obtained by using 
4281 \family sans
4282 Japanese Book
4283 \begin_inset space \thinspace{}
4284 \end_inset
4285
4286 (JS Bundle)
4287 \family default
4288  with option 
4289 \family sans
4290 report
4291 \family default
4292  in 
4293 \family sans
4294 Document\SpecialChar menuseparator
4295 Settings\SpecialChar menuseparator
4296 Document Class\SpecialChar menuseparator
4297 Class Options\SpecialChar menuseparator
4298 Custom
4299 \family default
4300 .
4301 \change_unchanged
4302
4303 \end_layout
4304
4305 \begin_layout Subsection
4306
4307 \change_inserted -712698321 1675848572
4308 \begin_inset CommandInset label
4309 LatexCommand label
4310 name "subsec:Japanese-BX"
4311
4312 \end_inset
4313
4314 Japanese (BX Bundle)
4315 \end_layout
4316
4317 \begin_layout Standard
4318
4319 \change_inserted -712698321 1675851891
4320 This bundle contains the document classes 
4321 \family sans
4322 Japanese Article
4323 \begin_inset space \thinspace{}
4324 \end_inset
4325
4326 (BX Bundle)
4327 \family default
4328 ,
4329
4330 \family sans
4331  Japanese Book
4332 \begin_inset space \thinspace{}
4333 \end_inset
4334
4335 (BX Bundle)
4336 \family default
4337 ,
4338  and 
4339 \family sans
4340 Japanese Report
4341 \begin_inset space \thinspace{}
4342 \end_inset
4343
4344 (BX Bundle)
4345 \family default
4346  which provide alternative document classes for Japanese documents.
4347  Furthermore,
4348  a class 
4349 \family sans
4350 Japanese Slides (BX Bundle)
4351 \family default
4352  for presentation slides,
4353  is included.
4354  As opposed to the classes of the 
4355 \family sans
4356 Standard Classes
4357 \family default
4358  and 
4359 \family sans
4360 JS 
4361 \family default
4362 bundles (sec.
4363  
4364 \begin_inset CommandInset ref
4365 LatexCommand ref
4366 reference "subsec:Japanese"
4367
4368 \end_inset
4369
4370  and 
4371 \begin_inset CommandInset ref
4372 LatexCommand ref
4373 reference "subsec:Japanese-JS"
4374
4375 \end_inset
4376
4377 ),
4378  which support only p\SpecialChar LaTeX
4379  and up\SpecialChar LaTeX
4380 ,
4381  the classes of this bundle also support pdf\SpecialChar LaTeX
4382 ,
4383  Xe\SpecialChar LaTeX
4384  and Lua\SpecialChar LaTeX
4385 ,
4386  with the aid of suitable packages that provide capability of Japanese typesetting.
4387 \end_layout
4388
4389 \begin_layout Subsection
4390
4391 \change_inserted -712698321 1675850366
4392 \begin_inset CommandInset label
4393 LatexCommand label
4394 name "subsec:Japanese-JLReq"
4395
4396 \end_inset
4397
4398 Japanese (JLReq Class)
4399 \end_layout
4400
4401 \begin_layout Standard
4402
4403 \change_inserted -712698321 1675850768
4404 This bundle draws on the 
4405 \family sans
4406 jlreq
4407 \family default
4408  class which faithfully traces the standard of 
4409 \emph on
4410 Requirements for Japanese Text Layout
4411 \emph default
4412  set by the World Wide Web Consortium (W3C,
4413  see 
4414 \begin_inset Flex URL
4415 status collapsed
4416
4417 \begin_layout Plain Layout
4418
4419 \change_inserted -712698321 1675850769
4420
4421 https://www.w3.org/TR/jlreq/?lang=en
4422 \change_unchanged
4423
4424 \end_layout
4425
4426 \end_inset
4427
4428 ).
4429  It can be used with Lua\SpecialChar LaTeX
4430  as well as p\SpecialChar LaTeX
4431  and up\SpecialChar LaTeX
4432 .
4433 \end_layout
4434
4435 \begin_layout Standard
4436
4437 \change_inserted -712698321 1675850585
4438 LyX provides layouts for 
4439 \family sans
4440 Japanese Article
4441 \begin_inset space \thinspace{}
4442 \end_inset
4443
4444 (JLReq Class)
4445 \family default
4446 ,
4447
4448 \family sans
4449  Japanese Book
4450 \begin_inset space \thinspace{}
4451 \end_inset
4452
4453 (JLReq Class)
4454 \family default
4455 ,
4456  and 
4457 \family sans
4458 Japanese Report
4459 \begin_inset space \thinspace{}
4460 \end_inset
4461
4462 (JLReq Class)
4463 \family default
4464  which are all derived from the 
4465 \family sans
4466 jlreq
4467 \family default
4468  \SpecialChar LaTeX
4469  class via specific class options.
4470 \end_layout
4471
4472 \begin_layout Standard
4473
4474 \change_inserted -712698321 1675850701
4475 An example article document is available at 
4476 \family sans
4477 File\SpecialChar menuseparator
4478 Open Example\SpecialChar menuseparator
4479 Articles\SpecialChar menuseparator
4480 Japanese Article (JLReq Class)
4481 \family default
4482 .
4483  English documentation is available at 
4484 \begin_inset Flex URL
4485 status collapsed
4486
4487 \begin_layout Plain Layout
4488
4489 \change_inserted -712698321 1675850350
4490
4491 http://mirrors.ctan.org/macros/jptex/latex/jlreq/jlreq.pdf
4492 \change_unchanged
4493
4494 \end_layout
4495
4496 \end_inset
4497
4498 .
4499 \change_inserted 564990737 1671383236
4500
4501 \end_layout
4502
4503 \begin_layout Subsection
4504
4505 \change_inserted 564990737 1672429136
4506 \begin_inset CommandInset label
4507 LatexCommand label
4508 name "subsec:KOMA-Script"
4509
4510 \end_inset
4511
4512 KOMA-Script
4513 \end_layout
4514
4515 \begin_layout Standard
4516
4517 \change_inserted 564990737 1672429136
4518 Original by 
4519 \noun on
4520 Bernd Rellermeyer
4521 \noun default
4522 ;
4523  updated by 
4524 \noun on
4525 Jürgen Spitzmüller
4526 \noun default
4527  and the \SpecialChar LyX
4528  Team
4529 \change_deleted 564990737 1672429136
4530 Koma-Script
4531 \end_layout
4532
4533 \begin_layout Standard
4534
4535 \change_deleted 564990737 1672429136
4536 by 
4537 \noun on
4538 Bernd Rellermeyer
4539 \change_unchanged
4540
4541 \end_layout
4542
4543 \begin_layout Subsubsection
4544 Overview
4545 \change_inserted 564990737 1672429161
4546
4547 \end_layout
4548
4549 \begin_layout Standard
4550
4551 \change_inserted 564990737 1672429162
4552 The KOMA-Script collection of document classes is a development of the Script classes created by Frank Neukam in the early 1990s;
4553  it was formally launched with the addition of a letter class in 1994.
4554  Since then,
4555  a second letter class has been added.
4556  Frank Neukam's classes were inspired by the principles of typography and this has been fully integrated into the design of the KOMA-Script classes.
4557  
4558 \change_unchanged
4559
4560 \end_layout
4561
4562 \begin_layout Standard
4563 The \SpecialChar LyX
4564  document classes 
4565 \change_deleted -712698321 1673089779
4566
4567 \emph on
4568 article (koma-script)
4569 \change_inserted -712698321 1673089784
4570 KOMA-Script Article
4571 \change_unchanged
4572
4573 \emph default
4574 ,
4575  
4576 \change_deleted -712698321 1673089790
4577
4578 \emph on
4579 report (koma-script)
4580 \change_inserted -712698321 1673089794
4581 KOMA-Script Report
4582 \change_unchanged
4583
4584 \emph default
4585 ,
4586  
4587 \change_deleted -712698321 1673089790
4588
4589 \emph on
4590 book
4591 \emph default
4592  
4593 \emph on
4594 (koma-script)
4595 \change_inserted -712698321 1673089771
4596 KOMA-Script Book
4597 \change_unchanged
4598
4599 \emph default
4600 ,
4601  and 
4602 \change_inserted -712698321 1673089799
4603
4604 \emph on
4605 KOMA-Script 
4606 \change_deleted -712698321 1673089802
4607 l
4608 \change_inserted -712698321 1673089802
4609 L
4610 \change_unchanged
4611 etter
4612 \change_deleted -712698321 1673089811
4613
4614 \emph default
4615  
4616 \emph on
4617 (koma-script)
4618 \change_unchanged
4619
4620 \emph default
4621  correspond to the \SpecialChar LaTeX
4622  document classes 
4623 \family typewriter
4624 scrartcl.cls
4625 \family default
4626 ,
4627  
4628 \family typewriter
4629 scrreprt.cls
4630 \family default
4631 ,
4632  
4633 \family typewriter
4634 scrbook.cls
4635 \family default
4636 ,
4637  and 
4638 \family typewriter
4639 scrlettr.cls
4640 \family default
4641 ,
4642  resp.
4643 \begin_inset space ~
4644 \end_inset
4645
4646 of the Koma-Script family.
4647  They are replacements for the standard document classes 
4648 \family typewriter
4649 article.cls
4650 \family default
4651 ,
4652  
4653 \family typewriter
4654 report.cls
4655 \family default
4656 ,
4657  
4658 \family typewriter
4659 book.cls
4660 \family default
4661  and 
4662 \family typewriter
4663 letter.cls
4664 \family default
4665 ,
4666  resp.,
4667  and fit better to European typography conventions in a number of points.
4668 \end_layout
4669
4670 \begin_layout Itemize
4671
4672 \change_deleted 564990737 1672429262
4673 Standard character size is
4674 \change_inserted 564990737 1672429263
4675 The base character sizes when you select a KOMA-Script class are
4676 \change_unchanged
4677  11pt in 
4678 \change_deleted -712698321 1673089877
4679
4680 \emph on
4681 article (koma-script)
4682 \change_inserted -712698321 1673089877
4683 KOMA-Script Article
4684 \change_unchanged
4685
4686 \emph default
4687 ,
4688  
4689 \change_deleted -712698321 1673089886
4690
4691 \emph on
4692 report (koma-script)
4693 \change_inserted -712698321 1673089886
4694 KOMA-Script Report
4695 \change_unchanged
4696
4697 \emph default
4698 ,
4699  and 
4700 \change_deleted -712698321 1673089893
4701
4702 \emph on
4703 book (koma-script)
4704 \change_inserted -712698321 1673089893
4705 KOMA-Script Book
4706 \change_deleted 564990737 1672429267
4707
4708 \emph default
4709 ,
4710
4711 \change_unchanged
4712  and 12pt in 
4713 \change_deleted -712698321 1673089903
4714
4715 \emph on
4716 letter (koma-script)
4717 \change_inserted -712698321 1673089903
4718 KOMA-Script Letter
4719 \change_unchanged
4720
4721 \emph default
4722 .
4723 \end_layout
4724
4725 \begin_layout Itemize
4726 Headings,
4727  labels of the description environment,
4728  and a number of elements of the 
4729 \change_deleted -712698321 1673089925
4730
4731 \emph on
4732 letter (koma-script)
4733 \change_inserted -712698321 1673089925
4734 KOMA-Script Letter
4735 \change_unchanged
4736
4737 \emph default
4738  document class are set in a bold sans serif font.
4739 \begin_inset Foot
4740 status collapsed
4741
4742 \begin_layout Plain Layout
4743 There is a big difference between the bold sans serif old cm fonts and new ec fonts,
4744  especially in the appearance of headings.
4745  In comparison,
4746  the ec bold sans serif fonts look a bit thin.
4747  Here the \SpecialChar LaTeX
4748  package 
4749 \family typewriter
4750 cmsd.sty by
4751 \family default
4752  
4753 \shape smallcaps
4754 Walter Schmidt
4755 \shape default
4756  helps to produce the 
4757 \begin_inset Quotes eld
4758 \end_inset
4759
4760 usual
4761 \begin_inset Quotes erd
4762 \end_inset
4763
4764  appearance when using the ec fonts.
4765 \end_layout
4766
4767 \end_inset
4768
4769  The numbering of chapter headings is made in the same way as the numbering of section headings,
4770  that is without the extra line 
4771 \begin_inset Quotes eld
4772 \end_inset
4773
4774 Chapter\SpecialChar ldots
4775
4776 \begin_inset Quotes erd
4777 \end_inset
4778
4779 .
4780  In addition,
4781  the appearance of the headings can be modified by using a number of options (in \SpecialChar LyX
4782  to be entered in the field 
4783 \family sans
4784 Extra
4785 \begin_inset space ~
4786 \end_inset
4787
4788 Options
4789 \family default
4790  of the dialog 
4791 \family sans
4792 Layout\SpecialChar menuseparator
4793 Document
4794 \family default
4795 ).
4796  
4797 \end_layout
4798
4799 \begin_layout Itemize
4800
4801 \change_deleted 564990737 1672429310
4802 The main means in the Koma-Script document classes to design the type area are the options 
4803 \family sans
4804 BCOR
4805 \family default
4806  and 
4807 \family sans
4808 DIV
4809 \family default
4810  (in \SpecialChar LyX
4811  to be entered in the extra class options field in the dialog 
4812 \family sans
4813 Document\SpecialChar menuseparator
4814 Settings
4815 \family default
4816 ).
4817  They make a clearer modification of page margins possible as do the options of the dialog 
4818 \family sans
4819 Document\SpecialChar menuseparator
4820 Settings
4821 \family default
4822 .
4823  
4824 \change_inserted 564990737 1672429310
4825 The layout of a KOMA-Script page follows one of two traditional typesetting conventions based on dividing the page into strips or drawing a circle.
4826  The default is to imagine that a page is divided horizontally and vertically into strips and allocate strips to the margins leaving the unused strips for the text area.
4827  You can change the sizes of the margins by changing the factor by which the page is divided into strips;
4828  the default for an A4 page is 9 and increasing this factor will produce increasingly narrower strips and therefore narrower margins.
4829  
4830 \end_layout
4831
4832 \begin_deeper
4833 \begin_layout Standard
4834
4835 \change_inserted 564990737 1672429310
4836 Whatever the factor,
4837  two strips are allocated to the outer and bottom margins of a two-sided document and one strip to the inner and top margins,
4838  leaving a text area occupying around half the page.
4839  Since most two-sided documents have a binding,
4840  this can make the inner margins appear too narrow;
4841  so you can apply a binding correction to the page which is deducted before the size of the strips is calculated.
4842  
4843 \end_layout
4844
4845 \begin_layout Standard
4846
4847 \change_inserted 564990737 1672429310
4848 The main means in the Koma-Script document classes to design the type area are the options 
4849 \family sans
4850 BCOR
4851 \family default
4852  and 
4853 \family sans
4854 DIV
4855 \family default
4856  entered in 
4857 \family sans
4858 Document\SpecialChar menuseparator
4859 Settings\SpecialChar menuseparator
4860 Document Class\SpecialChar menuseparator
4861 Class Options\SpecialChar menuseparator
4862 Custom
4863 \family default
4864 .
4865  
4866 \end_layout
4867
4868 \begin_layout Standard
4869
4870 \change_inserted 564990737 1672429310
4871 In this document,
4872  the binding correction is 7.5mm which is added in the form 
4873 \family typewriter
4874 BCOR7.5mm
4875 \family default
4876  to 
4877 \family sans
4878 Class
4879 \begin_inset space ~
4880 \end_inset
4881
4882 options\SpecialChar menuseparator
4883 Cus
4884 \bar under
4885 t
4886 \bar default
4887 om
4888 \family default
4889  dialog.
4890  To change the factor to 11,
4891  for example,
4892  add the entry 
4893 \family typewriter
4894 DIV=11
4895 \family default
4896  to the comma separated list of entries in the 
4897 \family sans
4898 Cus
4899 \bar under
4900 t
4901 \bar default
4902 om
4903 \family default
4904  
4905 \family sans
4906 Class
4907 \begin_inset space ~
4908 \end_inset
4909
4910 options
4911 \family default
4912 .
4913  If you want the default value of this factor for a page size other than A4,
4914  add the entry 
4915 \family typewriter
4916 DIV=calc
4917 \family default
4918 .
4919 \end_layout
4920
4921 \begin_layout Standard
4922
4923 \change_inserted 564990737 1672429310
4924 To use the circle method of calculating the page layout,
4925  use 
4926 \family typewriter
4927 DIV=classic
4928 \family default
4929  instead.
4930 \change_unchanged
4931
4932 \end_layout
4933
4934 \end_deeper
4935 \begin_layout Itemize
4936 The \SpecialChar LaTeX
4937  document classes of the Koma-Script family define a number of additional commands.
4938  Those part of it which makes sense in \SpecialChar LyX
4939  is implemented in corresponding paragraph types.
4940 \end_layout
4941
4942 \begin_layout Standard
4943 Detailed descriptions of the \SpecialChar LaTeX
4944  document classes of the Koma-Script family can be found in the Koma-Script documentation 
4945 \emph on
4946 scrguide
4947 \emph default
4948  (German) and 
4949 \emph on
4950 scrguien
4951 \emph default
4952  (English).
4953 \end_layout
4954
4955 \begin_layout Subsubsection
4956
4957 \change_inserted 564990737 1672429358
4958
4959 \series bold
4960 \begin_inset CommandInset label
4961 LatexCommand label
4962 name "subsec:article-(KOMA-Script),-report"
4963
4964 \end_inset
4965
4966
4967 \change_deleted -712698321 1673090826
4968
4969 \series default
4970 article (KOMA-Script)
4971 \change_inserted -712698321 1673090826
4972
4973 \emph on
4974 KOMA-Script Article
4975 \change_inserted 564990737 1672429358
4976
4977 \emph default
4978 ,
4979  
4980 \change_deleted -712698321 1673090830
4981 report (KOMA-Script)
4982 \change_inserted -712698321 1673090840
4983
4984 \emph on
4985 KOMA-Script Report
4986 \change_inserted 564990737 1672429358
4987
4988 \emph default
4989 ,
4990  and 
4991 \change_deleted -712698321 1673090835
4992 book (KOMA-Script)
4993 \change_inserted -712698321 1673090844
4994
4995 \emph on
4996 KOMA-Script Book
4997 \change_deleted 564990737 1672429367
4998
4999 \emph default
5000 article (koma-script),
5001  report (koma-script),
5002  and book (koma-script)
5003 \change_unchanged
5004
5005 \end_layout
5006
5007 \begin_layout Standard
5008 The document classes 
5009 \change_deleted -712698321 1673090858
5010
5011 \emph on
5012 article (koma-script)
5013 \change_inserted -712698321 1673090858
5014 KOMA-Script Article
5015 \change_unchanged
5016
5017 \emph default
5018 ,
5019  
5020 \change_deleted -712698321 1673090862
5021
5022 \emph on
5023 report (koma-script)
5024 \change_inserted -712698321 1673090869
5025 KOMA-Script Report
5026 \change_unchanged
5027
5028 \emph default
5029 ,
5030  and 
5031 \change_deleted -712698321 1673090866
5032
5033 \emph on
5034 book
5035 \emph default
5036  
5037 \emph on
5038 (koma-script)
5039 \change_inserted -712698321 1673090874
5040 KOMA-Script Book
5041 \change_unchanged
5042
5043 \emph default
5044  are implemented in the layout files 
5045 \family typewriter
5046 scrartcl.layout
5047 \family default
5048 ,
5049  
5050 \family typewriter
5051 scrreprt.layout
5052 \family default
5053 ,
5054  and 
5055 \family typewriter
5056 scrbook.layout
5057 \family default
5058 ,
5059  resp.
5060  They contain all the paragraph types of the corresponding standard document classes 
5061 \emph on
5062 article
5063 \emph default
5064 ,
5065  
5066 \emph on
5067 report
5068 \emph default
5069 ,
5070  and 
5071 \emph on
5072 book
5073 \emph default
5074 ,
5075  resp.,
5076  partly modified,
5077  with the exception of the \SpecialChar LyX
5078  specific 
5079 \family sans
5080 List
5081 \family default
5082 -type,
5083  which is replaced by the new 
5084 \family sans
5085 Labeling
5086 \family default
5087 -type having the same functionality.
5088  Beside the 
5089 \family sans
5090 Labeling
5091 \family default
5092 -Type there is a number of new paragraph types added.
5093  They are 
5094 \emph on
5095 not
5096 \emph default
5097  part of 
5098 \emph on
5099 letter (koma-script)
5100 \emph default
5101 .
5102 \end_layout
5103
5104 \begin_layout Itemize
5105
5106 \family sans
5107 Addpart,
5108  Addchap
5109 \family default
5110 ,
5111  
5112 \family sans
5113 Addsec
5114 \family default
5115 :
5116  are equivalents to 
5117 \family sans
5118 Part*,
5119  Chapter*
5120 \family default
5121  and 
5122 \family sans
5123 Section*
5124 \family default
5125 ,
5126  resp.,
5127  additionally inserting an entry in the table of contents.
5128  
5129 \family sans
5130 Addpart
5131 \family default
5132  and 
5133 \family sans
5134 Addchap
5135 \family default
5136  are not contained in 
5137 \emph on
5138 article (koma-script)
5139 \emph default
5140 .
5141 \end_layout
5142
5143 \begin_layout Itemize
5144
5145 \family sans
5146 Addchap*
5147 \family default
5148 ,
5149  
5150 \family sans
5151 Addsec*
5152 \family default
5153 :
5154  behave exactly as 
5155 \family sans
5156 Addchap
5157 \family default
5158  and 
5159 \family sans
5160 Addsec
5161 \family default
5162 ,
5163  resp.,
5164  additionally clearing running heads.
5165  
5166 \family sans
5167 Addchap*
5168 \family default
5169  is not contained in 
5170 \emph on
5171 article (koma-script)
5172 \emph default
5173 .
5174 \begin_inset Foot
5175 status collapsed
5176
5177 \begin_layout Plain Layout
5178 There is also an 
5179 \family typewriter
5180
5181 \backslash
5182 addpart*
5183 \family default
5184  command in 
5185 \emph on
5186 book (koma-script)
5187 \emph default
5188  and in 
5189 \emph on
5190 report (koma-script)
5191 \emph default
5192 ,
5193  but since this is identical to 
5194 \family sans
5195 Part*
5196 \family default
5197 ,
5198  is has not been implemented in \SpecialChar LyX
5199 .
5200 \end_layout
5201
5202 \end_inset
5203
5204
5205 \end_layout
5206
5207 \begin_layout Itemize
5208
5209 \family sans
5210 Minisec
5211 \family default
5212 :
5213  generates a heading directly above the following paragraph in the standard character size without affecting the structure of the document.
5214 \end_layout
5215
5216 \begin_layout Itemize
5217
5218 \family sans
5219 Captionabove
5220 \family default
5221  and 
5222 \family sans
5223 Captionbelow
5224 \family default
5225  are special captions which respect the different space settings needed for captions placed above or below an element (if you follow strict typographic rules,
5226  you might want to place table captions always above the table).
5227  You can also use the class option 
5228 \family typewriter
5229 tablecaptionsabove
5230 \family default
5231 ,
5232  which will switch 
5233 \family sans
5234 caption
5235 \family default
5236  to 
5237 \family sans
5238 captionabove
5239 \family default
5240  for tables and 
5241 \family sans
5242 captionbelow
5243 \family default
5244  for figures.
5245  You need at least Koma-Script version 2.8q to use this.
5246 \end_layout
5247
5248 \begin_layout Itemize
5249
5250 \family sans
5251 Dictum
5252 \family default
5253 :
5254  can be used to set a bonmot,
5255  e.
5256 \begin_inset space \thinspace{}
5257 \end_inset
5258
5259 g.
5260 \begin_inset space \space{}
5261 \end_inset
5262
5263 at the beginning of a chapter.
5264  If you use the optional argument (
5265 \family sans
5266 Insert\SpecialChar menuseparator
5267 Dictum
5268 \begin_inset space ~
5269 \end_inset
5270
5271 Author
5272 \family default
5273 ),
5274  you can insert the dictum's author there.
5275  Dictum and author are separated by a line.
5276  You need at least Koma-Script version 2.8q to use this.
5277  
5278 \family sans
5279 Dictum
5280 \family default
5281  is not contained in 
5282 \emph on
5283 article (koma-script)
5284 \emph default
5285 .
5286 \end_layout
5287
5288 \begin_layout Standard
5289 The following types,
5290  together with the standard types 
5291 \family sans
5292 Title
5293 \family default
5294 ,
5295  
5296 \family sans
5297 Author
5298 \family default
5299 ,
5300  and 
5301 \family sans
5302 Date
5303 \family default
5304 ,
5305  form the title area of the document.
5306  They must be entered ahead of the first 
5307 \begin_inset Quotes eld
5308 \end_inset
5309
5310 ordinary
5311 \begin_inset Quotes erd
5312 \end_inset
5313
5314  paragraph.
5315 \begin_inset Foot
5316 status collapsed
5317
5318 \begin_layout Plain Layout
5319 The corresponding \SpecialChar LaTeX
5320  commands must appear before the 
5321 \family typewriter
5322
5323 \backslash
5324 maketitle
5325 \family default
5326  command.
5327 \end_layout
5328
5329 \end_inset
5330
5331  When such a type is used more than once,
5332  the latter usage overwrites the former one,
5333  that means,
5334  for every type only the latest usage is valid.
5335  The order of the different types however has,
5336  like 
5337 \family sans
5338 Title
5339 \family default
5340 ,
5341  
5342 \family sans
5343 Author
5344 \family default
5345 ,
5346  and 
5347 \family sans
5348 Date
5349 \family default
5350 ,
5351  no effect on the appearance of the produced document.
5352 \end_layout
5353
5354 \begin_layout Itemize
5355
5356 \family sans
5357 Subject
5358 \family default
5359 :
5360  produces a centered paragraph above the ordinary title (
5361 \family sans
5362 Title
5363 \family default
5364 ,
5365  
5366 \family sans
5367 Author
5368 \family default
5369 ,
5370  
5371 \family sans
5372 Date
5373 \family default
5374 ) for the subject of the document.
5375 \end_layout
5376
5377 \begin_layout Itemize
5378
5379 \family sans
5380 Publishers
5381 \family default
5382 :
5383  produces a centered paragraph below the ordinary title (
5384 \family sans
5385 Title
5386 \family default
5387 ,
5388  
5389 \family sans
5390 Author
5391 \family default
5392 ,
5393  
5394 \family sans
5395 Date
5396 \family default
5397 ) for the publishers' name.
5398 \end_layout
5399
5400 \begin_layout Itemize
5401
5402 \family sans
5403 Dedication
5404 \family default
5405 :
5406  in 
5407 \emph on
5408 report (koma-script)
5409 \emph default
5410  and 
5411 \emph on
5412 book (koma-script)
5413 \emph default
5414  produces a centered paragraph on its own page behind the title page,
5415  or in 
5416 \emph on
5417 article (koma-script)
5418 \emph default
5419  produces a centered paragraph below the ordinary title (
5420 \family sans
5421 Title
5422 \family default
5423 ,
5424  
5425 \family sans
5426 Author
5427 \family default
5428 ,
5429  
5430 \family sans
5431 Date
5432 \family default
5433 ,
5434  
5435 \family sans
5436 Publishers
5437 \family default
5438 ) for a dedication.
5439 \end_layout
5440
5441 \begin_layout Itemize
5442
5443 \family sans
5444 Titlehead
5445 \family default
5446 :
5447  produces a left aligned paragraph above the ordinary title (
5448 \family sans
5449 Title
5450 \family default
5451 ,
5452  
5453 \family sans
5454 Author
5455 \family default
5456 ,
5457  
5458 \family sans
5459 Date
5460 \family default
5461 ,
5462  
5463 \family sans
5464 Subject
5465 \family default
5466 ) for a document`s head.
5467 \end_layout
5468
5469 \begin_layout Itemize
5470
5471 \family sans
5472 Uppertitleback
5473 \family default
5474 :
5475  produces in a double-sided print in 
5476 \emph on
5477 report (koma-script)
5478 \emph default
5479  and 
5480 \emph on
5481 book (koma-script)
5482 \emph default
5483  a left-aligned paragraph at the top of the title page`s back or has no effect in a single-sided print or in 
5484 \emph on
5485 article (koma-script)
5486 \emph default
5487 .
5488 \end_layout
5489
5490 \begin_layout Itemize
5491
5492 \family sans
5493 Lowertitleback
5494 \family default
5495 :
5496  produces in a double-sided print in 
5497 \emph on
5498 report (koma-script)
5499 \emph default
5500  and 
5501 \emph on
5502 book (koma-script)
5503 \emph default
5504  a left-aligned paragraph at the bottom of the title page`s back or has no effect in a single-sided print or in 
5505 \emph on
5506 article (koma-script)
5507 \emph default
5508 .
5509 \end_layout
5510
5511 \begin_layout Itemize
5512
5513 \family sans
5514 Extratitle
5515 \family default
5516 :
5517  produces a special 
5518 \begin_inset Quotes eld
5519 \end_inset
5520
5521 dirty
5522 \begin_inset Quotes erd
5523 \end_inset
5524
5525  page ahead of the actual document containing a paragraph without special formatting.
5526 \end_layout
5527
5528 \begin_layout Standard
5529
5530 \change_inserted 564990737 1672429680
5531 KOMA-Script offers a wide range of 
5532 \family sans
5533 Cus
5534 \bar under
5535 t
5536 \bar default
5537 om Class
5538 \begin_inset space ~
5539 \end_inset
5540
5541 options
5542 \family default
5543  for the 
5544 \family sans
5545 \bar under
5546 D
5547 \bar default
5548 ocument\SpecialChar menuseparator
5549
5550 \bar under
5551 S
5552 \bar default
5553 ettings\SpecialChar menuseparator
5554 Document
5555 \begin_inset space ~
5556 \end_inset
5557
5558 class
5559 \family default
5560  dialog which you can apply to the whole document,
5561  among them
5562 \end_layout
5563
5564 \begin_layout Description
5565
5566 \change_inserted 564990737 1672429680
5567
5568 \family typewriter
5569 \series medium
5570 draft=true
5571 \family default
5572 \series default
5573  which produces a PDF with a small black box at the end any line in which a formatting error occurs;
5574  the default setting is 
5575 \family typewriter
5576 false
5577 \end_layout
5578
5579 \begin_layout Description
5580
5581 \change_inserted 564990737 1672429680
5582
5583 \family typewriter
5584 \series medium
5585 headings=
5586 \family default
5587 \series default
5588  which may take the values 
5589 \family typewriter
5590 big
5591 \family default
5592 ,
5593  
5594 \family typewriter
5595 normal
5596 \family default
5597  or 
5598 \family typewriter
5599 small
5600 \family default
5601 ;
5602  the first and last adjust the sizes of the headings to take account of page sizes where the default values may not be suitable
5603 \end_layout
5604
5605 \begin_layout Description
5606
5607 \change_inserted 564990737 1672429680
5608
5609 \family typewriter
5610 \series medium
5611 numbers=
5612 \family default
5613 \series default
5614  which may take the values 
5615 \family typewriter
5616 auto
5617 \family default
5618  (the default),
5619  
5620 \family typewriter
5621 enddot
5622 \family default
5623  or 
5624 \family typewriter
5625 noenddot
5626 \family default
5627 ;
5628  the first leaves it up to KOMA-Script to add periods after chapter,
5629  section numbers,
5630  etc.;
5631  the second forces the addition of periods and third suppresses them
5632 \end_layout
5633
5634 \begin_layout Standard
5635
5636 \change_inserted 564990737 1672429680
5637 and the math options:
5638 \end_layout
5639
5640 \begin_layout Description
5641
5642 \change_inserted 564990737 1672429680
5643
5644 \family typewriter
5645 \series medium
5646 leqno
5647 \family default
5648 \series default
5649  which causes equations to be numbered on the left rather than on the right,
5650  and
5651 \end_layout
5652
5653 \begin_layout Description
5654
5655 \change_inserted 564990737 1672429680
5656
5657 \family typewriter
5658 \series medium
5659 fleqn
5660 \family default
5661 \series default
5662  which causes equations to be left justified rather than centered.
5663 \end_layout
5664
5665 \begin_layout Standard
5666
5667 \change_inserted 564990737 1672429680
5668 It also provides commands to affect the output of the document independently of the standard \SpecialChar LaTeX
5669  commands and packages;
5670  for example,
5671  if you want your captions in bold add
5672 \end_layout
5673
5674 \begin_layout Standard
5675
5676 \change_inserted 564990737 1672429680
5677
5678 \family typewriter
5679
5680 \backslash
5681 setkomafont{captionlabel}{
5682 \backslash
5683 bfseries}
5684 \end_layout
5685
5686 \begin_layout Standard
5687
5688 \change_inserted 564990737 1672429680
5689 to 
5690 \family sans
5691 \bar under
5692 D
5693 \bar default
5694 ocument\SpecialChar menuseparator
5695
5696 \bar under
5697 S
5698 \bar default
5699 ettings
5700 \family default
5701 \SpecialChar menuseparator
5702
5703 \family sans
5704 \SpecialChar LaTeX
5705
5706 \begin_inset space ~
5707 \end_inset
5708
5709 Preamble
5710 \family default
5711 ) and the problem is solved.
5712 \end_layout
5713
5714 \begin_layout Standard
5715
5716 \change_inserted 564990737 1672429680
5717 If you are writing a book,
5718  it is normal to have the preliminary pages numbered in Roman numerals and the Chapters in this part unnumbered.
5719  If you use the Chapter* environment,
5720  your Foreword and Preface will not appear in the Table of Contents;
5721  to make them to appear in the Table of contents,
5722  you need to use Chapter environments and add the \SpecialChar TeX
5723  code
5724 \end_layout
5725
5726 \begin_layout Standard
5727
5728 \change_inserted 564990737 1672429680
5729
5730 \family typewriter
5731
5732 \backslash
5733 frontmatter
5734 \end_layout
5735
5736 \begin_layout Standard
5737
5738 \change_inserted 564990737 1672429680
5739 at the very start of the book (not in the \SpecialChar LaTeX
5740  Preamble) and
5741 \end_layout
5742
5743 \begin_layout Standard
5744
5745 \change_inserted 564990737 1672429680
5746
5747 \family typewriter
5748
5749 \backslash
5750 mainmatter
5751 \end_layout
5752
5753 \begin_layout Standard
5754
5755 \change_inserted 564990737 1672429680
5756 before the first chapter of the body of the text.
5757  
5758 \change_inserted -712698321 1673092640
5759 Alternatively,
5760  you might also use 
5761 \family sans
5762 Chapter* (TOC)
5763 \family default
5764 .
5765 \end_layout
5766
5767 \begin_layout Standard
5768
5769 \change_inserted 564990737 1672429680
5770 You may also want to have some unnumbered Chapter environments at the end of the book after the Appendices,
5771  if any.
5772 \begin_inset Foot
5773 status open
5774
5775 \begin_layout Plain Layout
5776
5777 \change_inserted 564990737 1672429680
5778 Appendices are normally “numbered” with letters.
5779 \end_layout
5780
5781 \end_inset
5782
5783  If you use the Chapter* environment,
5784  they will not appear in the Table of Contents;
5785  so add the \SpecialChar TeX
5786  code
5787 \end_layout
5788
5789 \begin_layout Standard
5790
5791 \change_inserted 564990737 1672429680
5792
5793 \family typewriter
5794
5795 \backslash
5796 backmatter
5797 \end_layout
5798
5799 \begin_layout Standard
5800
5801 \change_inserted 564990737 1672429682
5802 before the first of these headings and use the Chapter environment.
5803  These commands will have no effect on the numbering in \SpecialChar LyX
5804 ,
5805  only on the PDF output where the headings will be unnumbered and appear in the Table of Contents.
5806 \end_layout
5807
5808 \begin_layout Standard
5809 The layout files for the document classes 
5810 \emph on
5811 article (koma-script)
5812 \emph default
5813 ,
5814  
5815 \emph on
5816 report (koma-script)
5817 \emph default
5818 ,
5819  and 
5820 \emph on
5821 book (koma-script)
5822 \emph default
5823  do include the file 
5824 \family typewriter
5825 scrmacros.inc
5826 \family default
5827 .
5828  This is thought of as a place to define your own types.
5829  Copy scrmacros
5830 \family typewriter
5831 .inc
5832 \family default
5833  in your personal layout directory and edit the file!
5834 \change_deleted 564990737 1672430255
5835
5836 \end_layout
5837
5838 \begin_layout Standard
5839
5840 \change_deleted 564990737 1672430255
5841 letter (koma-script)
5842 \end_layout
5843
5844 \begin_layout Description
5845
5846 \change_deleted 564990737 1672429749
5847 Note:
5848  This section discusses the obsolete 
5849 \family sans
5850 KOMA-Script-Letter (v.
5851 \begin_inset space ~
5852 \end_inset
5853
5854 1)
5855 \family default
5856 ,
5857  which is not even included anymore in recent KOMA releases.
5858  Please refer to the next section for the current KOMA-Script-Letter class (v.
5859 \begin_inset space ~
5860 \end_inset
5861
5862 2)!
5863 \end_layout
5864
5865 \begin_layout Standard
5866 \noindent
5867
5868 \change_deleted 564990737 1672429749
5869 The document class 
5870 \emph on
5871 letter (koma-script)
5872 \emph default
5873  is implemented in the layout file 
5874 \family typewriter
5875 scrlettr.layout
5876 \family default
5877 .
5878  It contains all the paragraph types of the corresponding standard document class 
5879 \emph on
5880 letter
5881 \emph default
5882 ,
5883  partly modified,
5884  with the exception of the \SpecialChar LyX
5885  specific types 
5886 \family sans
5887 \SpecialChar LyX
5888 -Code
5889 \family default
5890  and 
5891 \family sans
5892 Comment
5893 \family default
5894  and the 
5895 \family sans
5896 List
5897 \family default
5898  type,
5899  which is replaced by the new 
5900 \family sans
5901 Labeling
5902 \family default
5903  type.
5904  In addition,
5905  it contains,
5906  in contrast to the standard document class,
5907  the standard types 
5908 \family sans
5909 \SpecialChar LaTeX
5910
5911 \family default
5912 ,
5913  
5914 \family sans
5915 Quotation
5916 \family default
5917 ,
5918  
5919 \family sans
5920 Quote
5921 \family default
5922 ,
5923  and 
5924 \family sans
5925 Verse
5926 \family default
5927 .
5928  Furthermore,
5929  there are a number of new letter specific types.
5930 \end_layout
5931
5932 \begin_layout Standard
5933
5934 \change_deleted 564990737 1672429749
5935 The appearance of the letter produced by this document class can be controlled by a number of \SpecialChar LaTeX
5936  commands,
5937  which you can put in the \SpecialChar LaTeX
5938  preamble.
5939 \begin_inset Foot
5940 status collapsed
5941
5942 \begin_layout Plain Layout
5943 For example,
5944  the standard appearance of the letter`s heading,
5945  consisting of name and address,
5946  is quite self-willed.
5947  An 
5948 \begin_inset Quotes eld
5949 \end_inset
5950
5951 ordinary
5952 \begin_inset Quotes erd
5953 \end_inset
5954
5955  heading is produced by the following \SpecialChar LaTeX
5956  commands in the preamble:
5957 \end_layout
5958
5959 \begin_layout LyX-Code
5960
5961 \backslash
5962 firsthead{
5963 \backslash
5964 parbox[b]{
5965 \backslash
5966 textwidth}
5967 \end_layout
5968
5969 \begin_layout LyX-Code
5970   {
5971 \backslash
5972 ignorespaces 
5973 \backslash
5974 fromname
5975 \backslash
5976
5977 \backslash
5978  
5979 \backslash
5980 ignorespaces 
5981 \backslash
5982 fromaddress}} 
5983 \end_layout
5984
5985 \begin_layout LyX-Code
5986
5987 \backslash
5988 nexthead{
5989 \backslash
5990 parbox[b]{
5991 \backslash
5992 textwidth}
5993 \end_layout
5994
5995 \begin_layout LyX-Code
5996   {
5997 \backslash
5998 ignorespaces 
5999 \backslash
6000 fromname 
6001 \backslash
6002 hfill 
6003 \backslash
6004 ignorespaces 
6005 \backslash
6006 pagename
6007 \backslash
6008  
6009 \backslash
6010 thepage}}
6011 \end_layout
6012
6013 \end_inset
6014
6015  A detailed German description of such \SpecialChar LaTeX
6016  commands can be found in the Koma-Script documentation 
6017 \emph on
6018 scrguide
6019 \emph default
6020 .
6021  With it,
6022  the letter's author can produce his personal letter layout.
6023 \end_layout
6024
6025 \begin_layout Standard
6026
6027 \change_deleted 564990737 1672429749
6028 The types 
6029 \family sans
6030 Letter
6031 \family default
6032  and 
6033 \family sans
6034 Opening
6035 \family default
6036  define the beginning of the letter and must be used in every letter.
6037  To emphasize them in the \SpecialChar LyX
6038  document class,
6039  they are marked with the letter 
6040 \shape italic
6041 L
6042 \shape default
6043  or 
6044 \shape italic
6045 O
6046 \shape default
6047 ,
6048  resp.
6049 \begin_inset space ~
6050 \end_inset
6051
6052 in the left margin.
6053  It is possible to write any number of letters in one file.
6054  An 
6055 \family sans
6056 Opening
6057 \family default
6058  type produces a new letter using the same addressee and a 
6059 \family sans
6060 Letter
6061 \family default
6062  type produces a new addressee.
6063  The types 
6064 \family sans
6065 Closing
6066 \family default
6067 ,
6068  
6069 \family sans
6070 PS
6071 \family default
6072 ,
6073  
6074 \family sans
6075 CC
6076 \family default
6077 ,
6078  and 
6079 \family sans
6080 Encl
6081 \family default
6082  are ordinary paragraph types and can also be used several times in one and the same letter.
6083 \end_layout
6084
6085 \begin_layout Itemize
6086
6087 \change_deleted 564990737 1672429749
6088
6089 \family sans
6090 Letter
6091 \family default
6092 :
6093  produces a paragraph for the addressee and implicitly defines the beginning of the letter.
6094 \end_layout
6095
6096 \begin_layout Itemize
6097
6098 \change_deleted 564990737 1672429749
6099
6100 \family sans
6101 Opening
6102 \family default
6103 :
6104  produces a paragraph for the form of address and implicitly produces a new letter.
6105 \end_layout
6106
6107 \begin_layout Itemize
6108
6109 \change_deleted 564990737 1672429749
6110
6111 \family sans
6112 Closing
6113 \family default
6114 :
6115  produces a paragraph for a close.
6116 \end_layout
6117
6118 \begin_layout Itemize
6119
6120 \change_deleted 564990737 1672429749
6121
6122 \family sans
6123 PS
6124 \family default
6125 :
6126  produces a paragraph for a postscript.
6127 \end_layout
6128
6129 \begin_layout Itemize
6130
6131 \change_deleted 564990737 1672429749
6132
6133 \family sans
6134 CC
6135 \family default
6136 :
6137  produces a paragraph for a distribution list.
6138 \end_layout
6139
6140 \begin_layout Itemize
6141
6142 \change_deleted 564990737 1672429749
6143
6144 \family sans
6145 Encl
6146 \family default
6147 :
6148  produces a paragraph for enclosures.
6149 \end_layout
6150
6151 \begin_layout Standard
6152
6153 \change_deleted 564990737 1672429749
6154 The types 
6155 \family sans
6156 Name
6157 \family default
6158 ,
6159  
6160 \family sans
6161 Signature
6162 \family default
6163 ,
6164  
6165 \family sans
6166 Address
6167 \family default
6168 ,
6169  
6170 \family sans
6171 Telephone
6172 \family default
6173 ,
6174  
6175 \family sans
6176 Place
6177 \family default
6178 ,
6179  
6180 \family sans
6181 Backaddress
6182 \family default
6183 ,
6184  
6185 \family sans
6186 Specialmail
6187 \family default
6188 ,
6189  
6190 \family sans
6191 Location
6192 \family default
6193 ,
6194  
6195 \family sans
6196 Title
6197 \family default
6198 ,
6199  and 
6200 \family sans
6201 Subject
6202 \family default
6203  are input types provided with a label to enter information,
6204  which will be processed by the document class.
6205 \begin_inset Foot
6206 status collapsed
6207
6208 \begin_layout Plain Layout
6209 It could be seen as a matter of inconsequence,
6210  that the types 
6211 \family sans
6212 Letter
6213 \family default
6214  and 
6215 \family sans
6216 Opening
6217 \family default
6218  described above are not such input types as well.
6219  Because of the special meaning of those types,
6220  however,
6221  I have implemented them as ordinary paragraph types with a one letter mark in the left margin.
6222  Moreover,
6223  it would affect my feeling of symmetry,
6224  if the 
6225 \family sans
6226 Opening
6227 \family default
6228  type and the 
6229 \family sans
6230 Closing
6231 \family default
6232  type had such a serious different appearance.
6233 \end_layout
6234
6235 \end_inset
6236
6237  The types must be used ahead of the corresponding 
6238 \family sans
6239 Opening
6240 \family default
6241  type.
6242 \end_layout
6243
6244 \begin_layout Standard
6245
6246 \change_deleted 564990737 1672429749
6247 An implementation of these types in a WYSIWYG fashion does not seem to make sense,
6248  because the real appearance of the produced letter does not only depend on the usage of the particular type,
6249  but also on other factors.
6250  For example,
6251  a signature entered in the 
6252 \family sans
6253 Signature
6254 \family default
6255  type will in the standard behavior appear in the produced letter only,
6256  when in the same letter also a 
6257 \family sans
6258 Closing
6259 \family default
6260  type is used.
6261  The entered value of the 
6262 \family sans
6263 Telephone
6264 \family default
6265  type will in the standard behavior not appear in the produced letter at all.
6266  The possibility to design the letter`s heading freely is already indicated in a footnote above.
6267 \end_layout
6268
6269 \begin_layout Standard
6270
6271 \change_deleted 564990737 1672429749
6272 The input types can also be used as empty paragraphs.
6273  This makes sense e.
6274 \begin_inset space \thinspace{}
6275 \end_inset
6276
6277 g.
6278 \begin_inset space \space{}
6279 \end_inset
6280
6281 for the 
6282 \family sans
6283 Signature
6284 \family default
6285  type.
6286  If the 
6287 \family sans
6288 Signature
6289 \family default
6290  type is not used at all,
6291  in the standard behavior the value of the 
6292 \family sans
6293 Name
6294 \family default
6295  type is used as signature,
6296  whereas if an empty 
6297 \family sans
6298 Signature
6299 \family default
6300  type is used,
6301  no signature value is defined.
6302 \end_layout
6303
6304 \begin_layout Standard
6305
6306 \change_deleted 564990737 1672429749
6307 By using the input types it is possible to write a letter template,
6308  containing filled input types with your personal dates (name,
6309  address,
6310  etc.) and empty input types for other dates you want to enter.
6311 \end_layout
6312
6313 \begin_layout Itemize
6314
6315 \change_deleted 564990737 1672429749
6316
6317 \family sans
6318 Name
6319 \family default
6320 :
6321  sender's name,
6322  in the standard behavior appears as a centered paragraph in small caps in the letter`s heading.
6323 \end_layout
6324
6325 \begin_layout Itemize
6326
6327 \change_deleted 564990737 1672429749
6328
6329 \family sans
6330 Signature
6331 \family default
6332 :
6333  sender's signature,
6334  in the standard behavior appears below the 
6335 \family sans
6336 Closing
6337 \family default
6338  type.
6339  If no 
6340 \family sans
6341 Signature
6342 \family default
6343  type is used,
6344  the value of the 
6345 \family sans
6346 Name
6347 \family default
6348  type appears instead.
6349 \end_layout
6350
6351 \begin_layout Itemize
6352
6353 \change_deleted 564990737 1672429749
6354
6355 \family sans
6356 Address
6357 \family default
6358 :
6359  sender's address,
6360  in the standard behavior appears in a centered paragraph in the letter`s heading below the sender's name.
6361 \end_layout
6362
6363 \begin_layout Itemize
6364
6365 \change_deleted 564990737 1672429749
6366
6367 \family sans
6368 Telephone
6369 \family default
6370 :
6371  sender's telephone number,
6372  in the standard behavior only sets the \SpecialChar LaTeX
6373  variable 
6374 \family typewriter
6375
6376 \backslash
6377 telephonenum
6378 \family default
6379 .
6380 \end_layout
6381
6382 \begin_layout Itemize
6383
6384 \change_deleted 564990737 1672429749
6385
6386 \family sans
6387 Place
6388 \family default
6389 :
6390  place of the letter`s making.
6391 \end_layout
6392
6393 \begin_layout Itemize
6394
6395 \change_deleted 564990737 1672429749
6396
6397 \family sans
6398 Date
6399 \family default
6400 :
6401  date of the letter`s making.
6402  
6403 \family sans
6404 Place
6405 \family default
6406  and 
6407 \family sans
6408 Date
6409 \family default
6410 ,
6411  in the standard behavior,
6412  produce the place and the date in a right-aligned line below the addressee's field.
6413  If an empty 
6414 \family sans
6415 Date
6416 \family default
6417  type is used,
6418  neither place nor date appear,
6419  independent of the value of the 
6420 \family sans
6421 Place
6422 \family default
6423  type.
6424  If no 
6425 \family sans
6426 Date
6427 \family default
6428  type is used,
6429  the date of the letter `s production is used.
6430 \end_layout
6431
6432 \begin_layout Itemize
6433
6434 \change_deleted 564990737 1672429749
6435
6436 \family sans
6437 Backaddress
6438 \family default
6439 :
6440  sender`s back address,
6441  in the standard behavior appears above the addressee's field in a small sans serif font.
6442 \end_layout
6443
6444 \begin_layout Itemize
6445
6446 \change_deleted 564990737 1672429749
6447
6448 \family sans
6449 Specialmail
6450 \family default
6451 :
6452  special mail information,
6453  in the standard behavior appears underlined above the addressee's field below the back address.
6454 \end_layout
6455
6456 \begin_layout Itemize
6457
6458 \change_deleted 564990737 1672429749
6459
6460 \family sans
6461 Location
6462 \family default
6463 :
6464  additional information,
6465  in the standard behavior appears on right side below the addressee`s field.
6466 \end_layout
6467
6468 \begin_layout Itemize
6469
6470 \change_deleted 564990737 1672429749
6471
6472 \family sans
6473 Title
6474 \family default
6475 :
6476  the letter's title,
6477  in the standard behavior appears in a big,
6478  bold,
6479  sans serif font above the subject.
6480 \end_layout
6481
6482 \begin_layout Itemize
6483
6484 \change_deleted 564990737 1672429749
6485
6486 \family sans
6487 Subject
6488 \family default
6489 :
6490  the letter's subject,
6491  in the standard behavior appears in a bold font above the 
6492 \family sans
6493 Opening
6494 \family default
6495  paragraph.
6496 \end_layout
6497
6498 \begin_layout Standard
6499
6500 \change_deleted 564990737 1672429749
6501 The types 
6502 \family sans
6503 Yourref
6504 \family default
6505 ,
6506  
6507 \family sans
6508 Yourmail
6509 \family default
6510 ,
6511  
6512 \family sans
6513 Myref
6514 \family default
6515 ,
6516  
6517 \family sans
6518 Customer
6519 \family default
6520 ,
6521  and 
6522 \family sans
6523 Invoice
6524 \family default
6525  produce a business letter like line above the 
6526 \family sans
6527 Title
6528 \family default
6529  line containing the fields 
6530 \begin_inset Quotes eld
6531 \end_inset
6532
6533 Your ref.
6534 \begin_inset Quotes erd
6535 \end_inset
6536
6537 ,
6538  
6539 \begin_inset Quotes eld
6540 \end_inset
6541
6542 Your letter of
6543 \begin_inset Quotes erd
6544 \end_inset
6545
6546 ,
6547  
6548 \begin_inset Quotes eld
6549 \end_inset
6550
6551 Our ref.
6552 \begin_inset Quotes erd
6553 \end_inset
6554
6555 ,
6556  
6557 \begin_inset Quotes eld
6558 \end_inset
6559
6560 Customer no.
6561 \begin_inset Quotes erd
6562 \end_inset
6563
6564 ,
6565  
6566 \begin_inset Quotes eld
6567 \end_inset
6568
6569 Invoice no.
6570 \begin_inset Quotes erd
6571 \end_inset
6572
6573 ,
6574  and 
6575 \begin_inset Quotes eld
6576 \end_inset
6577
6578 Date
6579 \begin_inset Quotes erd
6580 \end_inset
6581
6582 .
6583  For the date field,
6584  the value of the 
6585 \family sans
6586 Date
6587 \family default
6588  type is used.
6589  If one of these 
6590 \begin_inset Quotes eld
6591 \end_inset
6592
6593 business letter types
6594 \begin_inset Quotes erd
6595 \end_inset
6596
6597  is used,
6598  the value of the 
6599 \family sans
6600 Place
6601 \family default
6602  type however does not appear,
6603  but only the \SpecialChar LaTeX
6604  variable 
6605 \family typewriter
6606
6607 \backslash
6608 fromplace
6609 \family default
6610  is set.
6611  The ordinary output of place and date in a right-aligned line below the addressee`s field is suppressed.
6612  The types are implemented as input types provided with a label and must be used ahead of the corresponding 
6613 \family sans
6614 Opening
6615 \family default
6616  type.
6617 \end_layout
6618
6619 \begin_layout Itemize
6620
6621 \change_deleted 564990737 1672429749
6622
6623 \family sans
6624 Yourref
6625 \family default
6626 :
6627  Your ref.
6628 \end_layout
6629
6630 \begin_layout Itemize
6631
6632 \change_deleted 564990737 1672429749
6633
6634 \family sans
6635 Yourmail
6636 \family default
6637 :
6638  Your letter of.
6639 \end_layout
6640
6641 \begin_layout Itemize
6642
6643 \change_deleted 564990737 1672429749
6644
6645 \family sans
6646 Myref
6647 \family default
6648 :
6649  Our ref.
6650 \end_layout
6651
6652 \begin_layout Itemize
6653
6654 \change_deleted 564990737 1672429749
6655
6656 \family sans
6657 Customer
6658 \family default
6659 :
6660  Customer no.
6661 \end_layout
6662
6663 \begin_layout Itemize
6664
6665 \change_deleted 564990737 1672429749
6666
6667 \family sans
6668 Invoice
6669 \family default
6670 :
6671  Invoice no.
6672 \change_unchanged
6673
6674 \end_layout
6675
6676 \begin_layout Subsubsection
6677
6678 \change_deleted 564990737 1672429773
6679 The new letter class:
6680  letter (koma-script v.2)
6681 \change_inserted 564990737 1672429774
6682
6683 \begin_inset CommandInset label
6684 LatexCommand label
6685 name "subsec:The-new-letter"
6686
6687 \end_inset
6688
6689 The new letter class:
6690  
6691 \change_inserted -712698321 1673092709
6692 KOMA-Script 
6693 \change_deleted -712698321 1673092710
6694 l
6695 \change_inserted -712698321 1673092710
6696 L
6697 \change_inserted 564990737 1672429774
6698 etter (
6699 \change_deleted -712698321 1673092713
6700 KOMA-Script v
6701 \change_inserted -712698321 1673092714
6702 V
6703 \change_inserted 564990737 1672429774
6704 .
6705
6706 \change_inserted -712698321 1673092715
6707  
6708 \change_inserted 564990737 1672429774
6709 2)
6710 \change_unchanged
6711
6712 \end_layout
6713
6714 \begin_layout Standard
6715 by 
6716 \noun on
6717 Jürgen Spitzmüller
6718 \end_layout
6719
6720 \begin_layout Standard
6721 \begin_inset VSpace medskip
6722 \end_inset
6723
6724
6725 \end_layout
6726
6727 \begin_layout Standard
6728 \noindent
6729 Koma-Script version 2.8 has introduced a new letter class 
6730 \family typewriter
6731 scrlttr2
6732 \family default
6733  which supersedes the now unsupported 
6734 \family typewriter
6735 scrlettr
6736 \family default
6737 .
6738  It has —
6739  on the \SpecialChar LaTeX
6740  side —
6741  a completely new interface and is not compatible with the old class.
6742  Therefore,
6743  \SpecialChar LyX
6744  supports both,
6745  though it is recommended you use the new class.
6746 \end_layout
6747
6748 \begin_layout Standard
6749 This class covers the same functionality as 
6750 \emph on
6751 letter (koma-script),
6752
6753 \emph default
6754  and a few more.
6755  The basic items are 
6756 \family sans
6757 Address
6758 \family default
6759  (receiver's address,
6760  same as 
6761 \family sans
6762 Letter
6763 \family default
6764  in the old layout),
6765  
6766 \family sans
6767 Opening
6768 \family default
6769 ,
6770  and 
6771 \family sans
6772 Closing
6773 \family default
6774 .
6775  
6776 \family sans
6777 NextAddress
6778 \family default
6779  will start a new letter (i.
6780 \begin_inset space \thinspace{}
6781 \end_inset
6782
6783 e.
6784 \begin_inset space \space{}
6785 \end_inset
6786
6787 you can write several letters per document).
6788  New elements are sender's 
6789 \family sans
6790 E-Mail
6791 \family default
6792 ,
6793  
6794 \family sans
6795 URL
6796 \family default
6797 ,
6798  
6799 \family sans
6800 Fax
6801 \family default
6802 ,
6803  
6804 \family sans
6805 Bank
6806 \family default
6807  and the possibility to use a 
6808 \family sans
6809 Logo
6810 \family default
6811  (via 
6812 \family sans
6813 Insert\SpecialChar menuseparator
6814 Graphics
6815 \family default
6816 ) in the header.
6817 \end_layout
6818
6819 \begin_layout Standard
6820 The biggest improvement is,
6821  though,
6822  that the letter's layout is configurable to meet almost any needs.
6823  This can be done via the preamble or with a special style file (Letter Class Option,
6824  extension 
6825 \family typewriter
6826 *.lco
6827 \family default
6828 ),
6829  that will be read in as a class option.
6830 \begin_inset Foot
6831 status collapsed
6832
6833 \begin_layout Plain Layout
6834 The KOMA package comes with some default 
6835 \family typewriter
6836 *.lco
6837 \family default
6838  files.
6839  There is,
6840  for instance,
6841  a 
6842 \family typewriter
6843 DIN.lco
6844 \family default
6845  file that follows german typesetting rules,
6846  or a 
6847 \family typewriter
6848 KOMAold.lco
6849 \family default
6850  that provides the default layout of the old 
6851 \family typewriter
6852 scrlettr
6853 \family default
6854  class.
6855  The latter can be loaded with the class option 
6856 \family typewriter
6857 KOMAold
6858 \family default
6859 ,
6860  inserted via the 
6861 \family sans
6862 Layout\SpecialChar menuseparator
6863 Document\SpecialChar menuseparator
6864 Extra Options
6865 \family default
6866  field.
6867 \end_layout
6868
6869 \end_inset
6870
6871  Have a look at the
6872 \change_deleted 564990737 1671617922
6873  
6874 \emph on
6875 koma-letter2
6876 \change_unchanged
6877
6878 \emph default
6879  template 
6880 \change_deleted 564990737 1671617938
6881 that is included in \SpecialChar LyX
6882  for examples
6883 \change_inserted 564990737 1671617997
6884  in 
6885 \family sans
6886 \bar under
6887 F
6888 \bar default
6889 ile\SpecialChar menuseparator
6890 New
6891 \begin_inset space ~
6892 \end_inset
6893
6894 fro
6895 \bar under
6896 m
6897 \bar default
6898
6899 \begin_inset space ~
6900 \end_inset
6901
6902 Template\SpecialChar menuseparator
6903 Letters\SpecialChar menuseparator
6904 KOMA-Script Letter (V.2)
6905 \change_unchanged
6906
6907 \family default
6908 .
6909  A detailed description is to be found in the Koma-Script documentation (
6910 \emph on
6911 scrguide
6912 \emph default
6913 ).
6914 \end_layout
6915
6916 \begin_layout Subsubsection
6917 Problems
6918 \end_layout
6919
6920 \begin_layout Standard
6921 Visualizing the Koma-Script document classes in \SpecialChar LyX
6922 ,
6923  the \SpecialChar LyX
6924  internals cause some problems.
6925 \end_layout
6926
6927 \begin_layout Itemize
6928 The chapter number of a 
6929 \family sans
6930 Chapter
6931 \family default
6932  type appears on a line of its own above the chapter heading instead of appearing in the same line ahead of it.
6933  The cause for that is the \SpecialChar LyX
6934  internal behavior for the labeltype 
6935 \family sans
6936 Counter_Chapter
6937 \family default
6938  in the layout file.
6939 \end_layout
6940
6941 \begin_layout Itemize
6942 The headings of the types 
6943 \family sans
6944 Addchap
6945 \family default
6946  and 
6947 \family sans
6948 Addsec
6949 \family default
6950  are only put in the 
6951 \begin_inset Quotes eld
6952 \end_inset
6953
6954 true
6955 \begin_inset Quotes erd
6956 \end_inset
6957
6958  \SpecialChar LaTeX
6959  table of contents,
6960  but not in the \SpecialChar LyX
6961  table of contents (
6962 \family sans
6963 Document\SpecialChar menuseparator
6964 Table
6965 \begin_inset space ~
6966 \end_inset
6967
6968 of
6969 \begin_inset space ~
6970 \end_inset
6971
6972 Contents
6973 \family default
6974 ).
6975 \end_layout
6976
6977 \begin_layout Itemize
6978 The paragraphs in a 
6979 \emph on
6980 letter
6981 \emph default
6982  document class appear in a skip separation mode,
6983  not indented.
6984  This is the standard behavior,
6985  no special \SpecialChar LaTeX
6986  commands are needed for that.
6987  But in the 
6988 \family sans
6989 Document\SpecialChar menuseparator
6990 Settings
6991 \family default
6992  dialog the corresponding radio button indicates 
6993 \family sans
6994 Indent
6995 \family default
6996 .
6997  A 
6998 \family sans
6999 Skip
7000 \family default
7001  value always has the effect that extra \SpecialChar LaTeX
7002  commands are inserted in the document to produce the gap,
7003  which is not what is wanted in this case.
7004 \end_layout
7005
7006 \begin_layout Subsection
7007
7008 \change_inserted 564990737 1672743555
7009 \begin_inset CommandInset label
7010 LatexCommand label
7011 name "subsec:Polish-M.W.collection"
7012
7013 \end_inset
7014
7015 Polish M.
7016 \begin_inset space \thinspace{}
7017 \end_inset
7018
7019 W.
7020 \begin_inset space \space{}
7021 \end_inset
7022
7023 collection
7024 \change_deleted 564990737 1670924933
7025 Article (mwart),
7026  book (mwbk) and report (mwrep)
7027 \begin_inset Argument status
7028 status collapsed
7029
7030 \begin_layout Plain Layout
7031 The 
7032 \family typewriter
7033 mw
7034 \family default
7035  Classes
7036 \end_layout
7037
7038 \end_inset
7039
7040
7041 \change_unchanged
7042
7043 \end_layout
7044
7045 \begin_layout Standard
7046 by 
7047 \noun on
7048 Tomasz Luczak
7049 \end_layout
7050
7051 \begin_layout Standard
7052 The \SpecialChar LyX
7053  document classes 
7054 \change_deleted -712698321 1673094342
7055
7056 \emph on
7057 article (mwart)
7058 \change_inserted -712698321 1673094343
7059 Polish Article (MW Bundle)
7060 \change_unchanged
7061
7062 \emph default
7063 ,
7064  
7065 \change_deleted -712698321 1673094349
7066
7067 \emph on
7068 report (mwrep)
7069 \change_inserted -712698321 1673094356
7070 Polish Report (MW Bundle)
7071 \change_unchanged
7072
7073 \emph default
7074  and 
7075 \change_deleted -712698321 1673094352
7076
7077 \emph on
7078 book
7079 \emph default
7080  
7081 \emph on
7082 (mwbk)
7083 \change_inserted -712698321 1673094359
7084 Polish Book (MW Bundle)
7085 \change_unchanged
7086
7087 \emph default
7088  correspond to the \SpecialChar LaTeX
7089  document classes 
7090 \family typewriter
7091 mwart.cls
7092 \family default
7093 ,
7094  
7095 \family typewriter
7096 mwrep.cls
7097 \family default
7098  and 
7099 \family typewriter
7100 mwbk.cls
7101 \family default
7102 ,
7103  resp.
7104  They are replacements for the standard document classes 
7105 \family typewriter
7106 article.cls
7107 \family default
7108 ,
7109  
7110 \family typewriter
7111 report.cls
7112 \family default
7113  and 
7114 \family typewriter
7115 book.cls
7116 \family default
7117 ,
7118  resp.,
7119  and fit better to Polish typography conventions in a number of points.
7120  
7121 \end_layout
7122
7123 \begin_layout Standard
7124 Basic differences:
7125 \end_layout
7126
7127 \begin_layout Itemize
7128 Unnumbered titles (with star,
7129  e.
7130 \begin_inset space \thinspace{}
7131 \end_inset
7132
7133 g.
7134 \begin_inset space \space{}
7135 \end_inset
7136
7137
7138 \family sans
7139 Section*
7140 \family default
7141 ) are added into table of contents,
7142 \end_layout
7143
7144 \begin_layout Itemize
7145 Additional page styles:
7146 \end_layout
7147
7148 \begin_deeper
7149 \begin_layout Description
7150 uheadings header with separated lines,
7151 \end_layout
7152
7153 \begin_layout Description
7154 myheadings custom header,
7155  contents headers via commands:
7156  
7157 \family typewriter
7158
7159 \backslash
7160 markright
7161 \family default
7162  and 
7163 \family typewriter
7164
7165 \backslash
7166 markboth
7167 \family default
7168 ,
7169 \end_layout
7170
7171 \begin_layout Description
7172 myuheadings custom header with separated lines,
7173 \end_layout
7174
7175 \begin_layout Description
7176 outer page number is placed on outer side of page
7177 \end_layout
7178
7179 \end_deeper
7180 \begin_layout Itemize
7181 Options 
7182 \end_layout
7183
7184 \begin_deeper
7185 \begin_layout Description
7186 rmheadings serif titles —
7187  default,
7188 \end_layout
7189
7190 \begin_layout Description
7191 sfheadings sansserif titles,
7192 \end_layout
7193
7194 \begin_layout Description
7195 authortitle on title page first placed is author next title —
7196  default,
7197 \end_layout
7198
7199 \begin_layout Description
7200 titleauthor on title page first placed is title next author,
7201 \end_layout
7202
7203 \begin_layout Description
7204 withmarginpar reserve place on page for margins.
7205 \end_layout
7206
7207 \end_deeper
7208 \begin_layout Subsection
7209
7210 \change_inserted 564990737 1672652245
7211 Tufte Collection
7212 \end_layout
7213
7214 \begin_layout Standard
7215
7216 \change_inserted 564990737 1672652245
7217 The document classes 
7218 \change_deleted -712698321 1673094404
7219
7220 \family sans
7221 book
7222 \begin_inset space \thinspace{}
7223 \end_inset
7224
7225 (Tufte)
7226 \change_inserted -712698321 1673094404
7227 Tufte Book
7228 \change_inserted 564990737 1672652245
7229
7230 \family default
7231  and 
7232 \change_deleted -712698321 1673094408
7233
7234 \family sans
7235 handout
7236 \begin_inset space \thinspace{}
7237 \end_inset
7238
7239 (Tufte)
7240 \change_inserted -712698321 1673094411
7241 Tufte Handout
7242 \change_inserted 564990737 1672652245
7243
7244 \family default
7245  use the 
7246 \family typewriter
7247 tufte-book.cls
7248 \family default
7249  and 
7250 \family typewriter
7251 tufte-handout.cls
7252 \family default
7253  document classes.
7254  Detailed information about these document classes can be found in 
7255 \family sans
7256 File\SpecialChar menuseparator
7257 Open Example\SpecialChar menuseparator
7258 Books\SpecialChar menuseparator
7259 Tufte Book
7260 \family default
7261  and 
7262 \family sans
7263 File\SpecialChar menuseparator
7264 Open Example\SpecialChar menuseparator
7265 Handouts\SpecialChar menuseparator
7266 Tufte Handout
7267 \family default
7268 .
7269 \end_layout
7270
7271 \begin_layout Section
7272
7273 \change_inserted 564990737 1670439534
7274 Articles
7275 \end_layout
7276
7277 \begin_layout Standard
7278
7279 \change_inserted 564990737 1670794710
7280 See also the document classes in the Collections (section
7281 \begin_inset space ~
7282 \end_inset
7283
7284
7285 \begin_inset CommandInset ref
7286 LatexCommand ref
7287 reference "sec:Collections"
7288 nolink "false"
7289
7290 \end_inset
7291
7292 ).
7293 \end_layout
7294
7295 \begin_layout Subsection
7296
7297 \change_deleted -712698321 1673095198
7298 A&A Paper
7299 \change_inserted -712698321 1673095198
7300 Astronomy & Astrophysics
7301 \change_inserted 564990737 1670794716
7302
7303 \end_layout
7304
7305 \begin_layout Standard
7306
7307 \change_inserted 564990737 1670794716
7308 Original by 
7309 \noun on
7310 Peter Sütterlin
7311 \noun default
7312 ;
7313  updated by the \SpecialChar LyX
7314  Team
7315 \end_layout
7316
7317 \begin_layout Subsubsection
7318
7319 \change_inserted 564990737 1670794716
7320 Introduction
7321 \end_layout
7322
7323 \begin_layout Standard
7324
7325 \change_inserted 564990737 1670794716
7326 This section describes how \SpecialChar LyX
7327  can be used to write articles for submission to the scientific journal 
7328 \emph on
7329 Astronomy 
7330 \change_deleted -712698321 1673095254
7331 and
7332 \change_inserted -712698321 1673095254
7333 &
7334 \change_inserted 564990737 1670794716
7335  Astrophysics
7336 \emph default
7337  (
7338 \begin_inset CommandInset href
7339 LatexCommand href
7340 name "aa-package"
7341 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
7342 literal "false"
7343
7344 \end_inset
7345
7346 ) using Version 9.1 of the document class 
7347 \family typewriter
7348 aa.cls
7349 \family default
7350 ;
7351  information about it is available at 
7352 \begin_inset Flex URL
7353 status collapsed
7354
7355 \begin_layout Plain Layout
7356
7357 \change_inserted 564990737 1670794716
7358
7359 https://www.aanda.org/for-authors/latex-issues/texnical-background-information
7360 \change_unchanged
7361
7362 \end_layout
7363
7364 \end_inset
7365
7366 .
7367 \end_layout
7368
7369 \begin_layout Standard
7370
7371 \change_inserted 564990737 1670794716
7372 A manual comes together with the package and should be consulted before installing this document class as described in the 
7373 \emph on
7374 Installing New Document Classe
7375 \emph default
7376 s section of the 
7377 \emph on
7378 Customization
7379 \emph default
7380  manual.
7381  
7382 \end_layout
7383
7384 \begin_layout Standard
7385
7386 \change_inserted 564990737 1670794716
7387 \begin_inset Note Greyedout
7388 status open
7389
7390 \begin_layout Plain Layout
7391
7392 \change_inserted 564990737 1670794716
7393 Please note that the publisher of the journal was changed from Springer to EDP Sciences starting January 1,
7394  2001.
7395  That change also involved some slight changes to the style files,
7396  namely the removal of the thesaurus command.
7397  If you have an older version installed,
7398  please upgrade.
7399  For information about compatibility with the old (version 4) layout,
7400  please refer to the comments in 
7401 \family typewriter
7402 \SpecialChar LyX
7403 Dir/layouts/aapaper.layout
7404 \family default
7405 .
7406 \end_layout
7407
7408 \end_inset
7409
7410
7411 \end_layout
7412
7413 \begin_layout Subsubsection
7414
7415 \change_inserted 564990737 1670794716
7416 Getting started
7417 \end_layout
7418
7419 \begin_layout Standard
7420
7421 \change_inserted 564990737 1671617129
7422 It is recommended you start from the template in the menu 
7423 \family sans
7424 \bar under
7425 F
7426 \bar default
7427 ile\SpecialChar menuseparator
7428 New
7429 \begin_inset space ~
7430 \end_inset
7431
7432 fro
7433 \bar under
7434 m
7435 \bar default
7436
7437 \begin_inset space ~
7438 \end_inset
7439
7440 Template\SpecialChar menuseparator
7441 Articles\SpecialChar menuseparator
7442 Astronomy & Astrophysics
7443 \family default
7444 .
7445  If you are not using the template,
7446  note the following settings:
7447 \end_layout
7448
7449 \begin_layout Itemize
7450
7451 \change_inserted 564990737 1670794716
7452 Select 
7453 \change_deleted -712698321 1673095619
7454
7455 \family sans
7456 article (A&A)
7457 \change_inserted -712698321 1673095619
7458 Astronomy & Astrophysics
7459 \change_inserted 564990737 1670794716
7460
7461 \family default
7462  in the 
7463 \family sans
7464 \bar under
7465 D
7466 \bar default
7467 ocument\SpecialChar menuseparator
7468
7469 \bar under
7470 S
7471 \bar default
7472 ettings\SpecialChar menuseparator
7473 Document
7474 \begin_inset space ~
7475 \end_inset
7476
7477 Class
7478 \family default
7479  dialog (OK,
7480  that one was obvious).
7481 \end_layout
7482
7483 \begin_layout Itemize
7484
7485 \change_inserted 564990737 1670794716
7486 Don't change the 
7487 \family sans
7488 Headings
7489 \begin_inset space ~
7490 \end_inset
7491
7492
7493 \bar under
7494 s
7495 \bar default
7496 tyle
7497 \family default
7498  in the 
7499 \family sans
7500 Page
7501 \begin_inset space ~
7502 \end_inset
7503
7504 Layout
7505 \family default
7506  dialog:
7507  leave it set to 
7508 \family sans
7509 Default
7510 \family default
7511 .
7512  The whole layout is done by the macros,
7513  you shouldn't change anything.
7514 \end_layout
7515
7516 \begin_layout Subsubsection
7517
7518 \change_inserted 564990737 1670794716
7519 The header block
7520 \end_layout
7521
7522 \begin_layout Standard
7523
7524 \change_inserted 564990737 1670794716
7525 First thing to enter is the header information.
7526  It consists of 
7527 \change_deleted -712698321 1673167006
7528 five
7529 \change_inserted -712698321 1673167007
7530 seven
7531 \change_inserted 564990737 1670794716
7532  entries,
7533  of which one is optional.
7534  They are
7535 \end_layout
7536
7537 \begin_layout Itemize
7538
7539 \change_inserted 564990737 1670794716
7540
7541 \family sans
7542 Title
7543 \family default
7544 :
7545  [required] 
7546 \end_layout
7547
7548 \begin_layout Itemize
7549
7550 \change_inserted 564990737 1670794716
7551
7552 \family sans
7553 Subtitle
7554 \family default
7555 :
7556  [optional] 
7557 \end_layout
7558
7559 \begin_layout Itemize
7560
7561 \change_inserted 564990737 1670794716
7562
7563 \family sans
7564 Author
7565 \family default
7566 :
7567  [required]
7568 \end_layout
7569
7570 \begin_layout Itemize
7571
7572 \change_deleted -712698321 1673167065
7573
7574 \family sans
7575 Institute
7576 \change_inserted -712698321 1673167065
7577 Address
7578 \change_inserted 564990737 1670794716
7579
7580 \family default
7581 :
7582  [required]
7583 \change_inserted -712698321 1673167087
7584
7585 \end_layout
7586
7587 \begin_layout Itemize
7588
7589 \change_inserted -712698321 1673168577
7590
7591 \family sans
7592 Offprints
7593 \family default
7594  [optional].
7595  Determines to whom correspondence and reprints are to be sent.
7596 \end_layout
7597
7598 \begin_layout Itemize
7599
7600 \change_inserted -712698321 1673168590
7601
7602 \family sans
7603 Mail
7604 \family default
7605  [optional] Snail mail address for contacts.
7606 \change_inserted 564990737 1670794716
7607
7608 \end_layout
7609
7610 \begin_layout Itemize
7611
7612 \change_inserted 564990737 1670794716
7613
7614 \family sans
7615 Date
7616 \family default
7617 :
7618  [required].
7619  Suggested format is 
7620 \family typewriter
7621 Received:
7622  <date>;
7623  Accepted <date> 
7624 \end_layout
7625
7626 \begin_layout Standard
7627
7628 \change_inserted -712698321 1673168612
7629 There is no need to issue the 
7630 \family typewriter
7631
7632 \backslash
7633 maketitle
7634 \family default
7635  command,
7636  this is done automatically by \SpecialChar LyX
7637  when the header is finished.
7638  
7639 \change_inserted 564990737 1670794716
7640 Although the order of the single header entries doesn't matter it is advised to keep the above sequence,
7641  just to get the best optics and meets the layout of the real document.
7642 \end_layout
7643
7644 \begin_layout Standard
7645
7646 \change_inserted 564990737 1670794716
7647 If you want to place footnotes in the header block,
7648  e.
7649 \begin_inset space \thinspace{}
7650 \end_inset
7651
7652 g.
7653 \begin_inset space \space{}
7654 \end_inset
7655
7656 to state your present address,
7657  just use the standard footnote via the menu 
7658 \family sans
7659 \bar under
7660 I
7661 \bar default
7662 nsert\SpecialChar menuseparator
7663
7664 \bar under
7665 F
7666 \bar default
7667 ootnote.
7668
7669 \family default
7670  \SpecialChar LyX
7671  will automagically use the term 
7672 \family typewriter
7673
7674 \backslash
7675 thanks{}
7676 \family default
7677  in that case.
7678 \change_inserted -712698321 1673168649
7679
7680 \end_layout
7681
7682 \begin_layout Standard
7683
7684 \change_inserted -712698321 1673168649
7685 Under 
7686 \family sans
7687 Edit\SpecialChar menuseparator
7688 Text Style
7689 \family default
7690 ,
7691  you'll find two insets which are relevant for the titling:
7692 \end_layout
7693
7694 \begin_layout Itemize
7695
7696 \change_inserted -712698321 1673168649
7697
7698 \family sans
7699 Institute
7700 \family typewriter
7701  
7702 \family default
7703 to mark corresponding author\SpecialChar breakableslash
7704 institute pairs.
7705  The institutes are numbered sequentially as they appear in the 
7706 \family sans
7707 Address
7708 \family default
7709  field,
7710  so you have to put a marker to each author.
7711 \end_layout
7712
7713 \begin_layout Itemize
7714
7715 \change_inserted -712698321 1673168649
7716
7717 \family sans
7718 Email
7719 \family default
7720  to supply an email address for fast contact.
7721 \change_inserted 564990737 1670794716
7722
7723 \end_layout
7724
7725 \begin_layout Standard
7726
7727 \change_inserted 564990737 1670794716
7728 In addition to these topics,
7729  the macros use three additional \SpecialChar LaTeX
7730  commands that have no counterpart in \SpecialChar LyX
7731 :
7732 \end_layout
7733
7734 \begin_layout Itemize
7735
7736 \change_inserted 564990737 1670794716
7737
7738 \family typewriter
7739
7740 \backslash
7741 and
7742 \family default
7743  to separate different names for more than one author and institute,
7744  respectively.
7745 \end_layout
7746
7747 \begin_layout Itemize
7748
7749 \change_deleted -712698321 1673168671
7750
7751 \family typewriter
7752
7753 \backslash
7754 inst{<nr>}
7755 \family default
7756  to mark corresponding author/institute pairs.
7757  The institutes are numbered sequentially as they appear in the 
7758 \family sans
7759 Institute
7760 \family default
7761  field,
7762  so you have to put a marker to each author.
7763 \end_layout
7764
7765 \begin_layout Itemize
7766
7767 \change_deleted -712698321 1673168671
7768
7769 \family typewriter
7770
7771 \backslash
7772 email{address}
7773 \family default
7774  to supply an email address for fast contact.
7775 \change_inserted 564990737 1670794716
7776
7777 \end_layout
7778
7779 \begin_layout Standard
7780
7781 \change_deleted -712698321 1673168684
7782 In all cases,
7783  t
7784 \change_inserted -712698321 1673168684
7785 T
7786 \change_inserted 564990737 1671642374
7787 he appropriate command has to be entered as \SpecialChar TeX
7788  code in \SpecialChar LyX
7789 .
7790  See the examples in the template and in 
7791 \family sans
7792 File\SpecialChar menuseparator
7793 Open Example\SpecialChar menuseparator
7794 Articles\SpecialChar menuseparator
7795 Astronomy & Astrophysics
7796 \family default
7797 .
7798 \change_unchanged
7799
7800 \end_layout
7801
7802 \begin_layout Subsubsection
7803
7804 \change_inserted 564990737 1670794716
7805 The abstract
7806 \end_layout
7807
7808 \begin_layout Standard
7809
7810 \change_inserted -712698321 1673168754
7811 The abstract should immediately follow the header block.
7812  With version 5 the abstract environment was changed to a command,
7813  and there is now a restriction to only one paragraph.
7814  In addition,
7815  it should contain an entry with the keywords.
7816  This is done via the paragraph style 
7817 \family sans
7818 Keywords
7819 \family default
7820 .
7821  Refer to the example paper.
7822 \change_deleted -712698321 1673168754
7823 The abstract should immediately follow the header block and must contain five tokens:
7824  
7825 \family typewriter
7826
7827 \backslash
7828 abstract{}{}{}{}{}
7829 \family default
7830  
7831 \end_layout
7832
7833 \begin_layout Enumerate
7834
7835 \change_deleted -712698321 1673168754
7836
7837 \family typewriter
7838 context heading
7839 \family default
7840  (optional) {} leave it empty if necessary 
7841 \end_layout
7842
7843 \begin_layout Enumerate
7844
7845 \change_deleted -712698321 1673168754
7846
7847 \family typewriter
7848 aims heading
7849 \family default
7850  (mandatory) {} 
7851 \end_layout
7852
7853 \begin_layout Enumerate
7854
7855 \change_deleted -712698321 1673168754
7856
7857 \family typewriter
7858 methods heading
7859 \family default
7860  (mandatory) {} 
7861 \end_layout
7862
7863 \begin_layout Enumerate
7864
7865 \change_deleted -712698321 1673168754
7866
7867 \family typewriter
7868 results heading
7869 \family default
7870  (mandatory) {} 
7871 \end_layout
7872
7873 \begin_layout Enumerate
7874
7875 \change_deleted -712698321 1673168754
7876
7877 \family typewriter
7878 conclusions heading
7879 \family default
7880  (optional) {} leave it empty if necessary 
7881 \end_layout
7882
7883 \begin_layout Standard
7884
7885 \change_deleted -712698321 1673168754
7886 (NB.
7887  This structure not shown in 
7888 \emph on
7889 aa_sample.lyx.
7890 \emph default
7891 )
7892 \change_inserted 564990737 1670794716
7893
7894 \end_layout
7895
7896 \begin_layout Subsubsection
7897
7898 \change_inserted 564990737 1670794716
7899 Supported environments
7900 \end_layout
7901
7902 \begin_layout Standard
7903
7904 \change_inserted 564990737 1670794716
7905 The A&A paper layout supports the following environments for structuring your text:
7906 \end_layout
7907
7908 \begin_layout Standard
7909
7910 \change_inserted -712698321 1673169058
7911
7912 \family sans
7913 \begin_inset Flex Multiple Columns
7914 status open
7915
7916 \begin_layout Itemize
7917
7918 \change_inserted -712698321 1673169058
7919
7920 \family sans
7921 Standard
7922 \end_layout
7923
7924 \begin_layout Itemize
7925
7926 \change_inserted -712698321 1673169058
7927
7928 \family sans
7929 Section
7930 \end_layout
7931
7932 \begin_layout Itemize
7933
7934 \change_inserted -712698321 1673169058
7935
7936 \family sans
7937 Subsection
7938 \end_layout
7939
7940 \begin_layout Itemize
7941
7942 \change_inserted -712698321 1673169058
7943
7944 \family sans
7945 Subsubsection
7946 \end_layout
7947
7948 \begin_layout Itemize
7949
7950 \change_inserted -712698321 1673169058
7951
7952 \family sans
7953 Itemize
7954 \end_layout
7955
7956 \begin_layout Itemize
7957
7958 \change_inserted -712698321 1673169058
7959
7960 \family sans
7961 Enumerate
7962 \end_layout
7963
7964 \begin_layout Itemize
7965
7966 \change_inserted -712698321 1673169058
7967
7968 \family sans
7969 Description
7970 \end_layout
7971
7972 \begin_layout Itemize
7973
7974 \change_inserted -712698321 1673169058
7975
7976 \family sans
7977 Caption
7978 \end_layout
7979
7980 \begin_layout Itemize
7981
7982 \change_inserted -712698321 1673169058
7983
7984 \family sans
7985 Abstract
7986 \end_layout
7987
7988 \begin_layout Itemize
7989
7990 \change_inserted -712698321 1673169058
7991
7992 \family sans
7993 Acknowledgment
7994 \end_layout
7995
7996 \begin_layout Itemize
7997
7998 \change_inserted -712698321 1673169058
7999
8000 \family sans
8001 Bibliography
8002 \end_layout
8003
8004 \begin_layout Itemize
8005
8006 \change_inserted -712698321 1673169078
8007 LaTeX
8008 \change_unchanged
8009
8010 \end_layout
8011
8012 \end_inset
8013
8014
8015 \change_deleted -712698321 1673169058
8016 Standard
8017 \end_layout
8018
8019 \begin_layout Itemize
8020
8021 \change_deleted -712698321 1673169058
8022
8023 \family sans
8024 Section
8025 \end_layout
8026
8027 \begin_layout Itemize
8028
8029 \change_deleted -712698321 1673169058
8030
8031 \family sans
8032 Subsection
8033 \end_layout
8034
8035 \begin_layout Itemize
8036
8037 \change_deleted -712698321 1673169058
8038
8039 \family sans
8040 Subsubsection
8041 \end_layout
8042
8043 \begin_layout Itemize
8044
8045 \change_deleted -712698321 1673169058
8046
8047 \family sans
8048 Itemize
8049 \end_layout
8050
8051 \begin_layout Itemize
8052
8053 \change_deleted -712698321 1673169058
8054
8055 \family sans
8056 Enumerate
8057 \end_layout
8058
8059 \begin_layout Itemize
8060
8061 \change_deleted -712698321 1673169058
8062
8063 \family sans
8064 Description
8065 \end_layout
8066
8067 \begin_layout Itemize
8068
8069 \change_deleted -712698321 1673169058
8070
8071 \family sans
8072 Caption
8073 \end_layout
8074
8075 \begin_layout Itemize
8076
8077 \change_deleted -712698321 1673169058
8078
8079 \family sans
8080 Abstract
8081 \end_layout
8082
8083 \begin_layout Itemize
8084
8085 \change_deleted -712698321 1673169058
8086
8087 \family sans
8088 Acknowledgment
8089 \end_layout
8090
8091 \begin_layout Itemize
8092
8093 \change_deleted -712698321 1673169058
8094
8095 \family sans
8096 Bibliography
8097 \end_layout
8098
8099 \begin_layout Itemize
8100
8101 \change_deleted -712698321 1673169058
8102
8103 \family sans
8104 \SpecialChar LaTeX
8105
8106 \change_inserted 564990737 1670794716
8107
8108 \end_layout
8109
8110 \begin_layout Subsubsection
8111
8112 \change_inserted 564990737 1670794716
8113 Commands not supported by \SpecialChar LyX
8114
8115 \end_layout
8116
8117 \begin_layout Standard
8118
8119 \change_inserted 564990737 1670794716
8120 Some commands are not yet supported by the 
8121 \change_deleted -712698321 1673169117
8122
8123 \family sans
8124 paper (A&A)
8125 \change_inserted -712698321 1673169117
8126 Astronomy & Astrophysics
8127 \change_inserted 564990737 1670794716
8128
8129 \family default
8130  layout for \SpecialChar LyX
8131 .
8132  Some have already been mentioned.
8133  For the sake of completeness,
8134  they are listed all together here:
8135 \end_layout
8136
8137 \begin_layout Itemize
8138
8139 \change_inserted 564990737 1670794716
8140
8141 \family typewriter
8142
8143 \backslash
8144 and
8145 \end_layout
8146
8147 \begin_layout Itemize
8148
8149 \change_inserted -712698321 1673168793
8150
8151 \family typewriter
8152
8153 \backslash
8154 authorrunning
8155 \end_layout
8156
8157 \begin_layout Itemize
8158
8159 \change_inserted -712698321 1673168793
8160
8161 \family typewriter
8162
8163 \backslash
8164 object{}
8165 \end_layout
8166
8167 \begin_layout Itemize
8168
8169 \change_inserted -712698321 1673168793
8170
8171 \family typewriter
8172
8173 \backslash
8174 titlerunning{}
8175 \change_deleted -712698321 1673168793
8176
8177 \backslash
8178 email
8179 \end_layout
8180
8181 \begin_layout Itemize
8182
8183 \change_deleted -712698321 1673168793
8184
8185 \family typewriter
8186
8187 \backslash
8188 inst{}
8189 \end_layout
8190
8191 \begin_layout Itemize
8192
8193 \change_deleted -712698321 1673168793
8194
8195 \family typewriter
8196
8197 \backslash
8198 keywords{}
8199 \end_layout
8200
8201 \begin_layout Itemize
8202
8203 \change_deleted -712698321 1673168793
8204
8205 \family typewriter
8206
8207 \backslash
8208 object{}
8209 \change_inserted 564990737 1670794716
8210
8211 \end_layout
8212
8213 \begin_layout Standard
8214
8215 \change_inserted 564990737 1670794716
8216 If you want to use any of these commands,
8217  you have to enter them yourself.
8218  Do not forget to use
8219 \family sans
8220  
8221 \bar under
8222 I
8223 \bar default
8224 nsert\SpecialChar menuseparator
8225 \SpecialChar TeX
8226
8227 \begin_inset space ~
8228 \end_inset
8229
8230 Code
8231 \family default
8232 !
8233 \end_layout
8234
8235 \begin_layout Subsubsection
8236
8237 \change_inserted 564990737 1670794716
8238 Figure and Table Floats
8239 \end_layout
8240
8241 \begin_layout Standard
8242
8243 \change_inserted 564990737 1670794716
8244 \SpecialChar LyX
8245  provides support for the necessary float environments 
8246 \family sans
8247 figure,
8248  figure*,
8249  table
8250 \family default
8251  and 
8252 \family sans
8253 table*
8254 \family default
8255 ,
8256  therefore we won't tell much about it here.
8257  Refer to the 
8258 \emph on
8259 User's
8260 \begin_inset space ~
8261 \end_inset
8262
8263 Guide
8264 \emph default
8265 .
8266  Just remember that tables should be left-aligned.
8267  For that,
8268  select the table and change the alignment in 
8269 \family sans
8270 \bar under
8271 E
8272 \bar default
8273 dit\SpecialChar menuseparator
8274
8275 \bar under
8276 P
8277 \bar default
8278 aragraph
8279 \begin_inset space ~
8280 \end_inset
8281
8282 Settings
8283 \change_inserted -712698321 1673169201
8284
8285 \family default
8286  (
8287 \begin_inset Info
8288 type  "icon"
8289 arg   "layout-paragraph"
8290 \end_inset
8291
8292 )
8293 \change_inserted 564990737 1670794716
8294
8295 \family sans
8296 .
8297 \end_layout
8298
8299 \begin_layout Standard
8300
8301 \change_inserted 564990737 1670794716
8302 There is only one special thing:
8303  the figures with a caption beside the figure.
8304  To create such a figure,
8305  you have to do the following:
8306 \end_layout
8307
8308 \begin_layout Enumerate
8309
8310 \change_inserted 564990737 1670794716
8311 Create a wide figure float:
8312  
8313 \family sans
8314 \bar under
8315 I
8316 \bar default
8317 nsert\SpecialChar menuseparator
8318 Flo
8319 \bar under
8320 a
8321 \bar default
8322 t\SpecialChar menuseparator
8323 Figure
8324 \family default
8325 ,
8326  then,
8327  from within the float,
8328  use the menu 
8329 \family sans
8330 \bar under
8331 E
8332 \bar default
8333 dit\SpecialChar menuseparator
8334 Flo
8335 \bar under
8336 a
8337 \bar default
8338 t
8339 \begin_inset space ~
8340 \end_inset
8341
8342 Settings
8343 \family default
8344  and check 
8345 \family sans
8346 \bar under
8347 S
8348 \bar default
8349 pan
8350 \begin_inset space ~
8351 \end_inset
8352
8353 columns
8354 \family default
8355  in the 
8356 \family sans
8357 float
8358 \family default
8359  dialog.
8360 \end_layout
8361
8362 \begin_layout Enumerate
8363
8364 \change_inserted 564990737 1670794716
8365 Enter your caption text.
8366 \end_layout
8367
8368 \begin_layout Enumerate
8369
8370 \change_inserted 564990737 1670794716
8371 Press 
8372 \family sans
8373 Return
8374 \family default
8375  to move the cursor above the caption.
8376 \end_layout
8377
8378 \begin_layout Enumerate
8379
8380 \change_inserted 564990737 1670794716
8381 Insert your figure
8382 \end_layout
8383
8384 \begin_layout Enumerate
8385
8386 \change_inserted 564990737 1670794716
8387 Position the cursor after the figure and insert a horizontal fill by using the menu:
8388  
8389 \family sans
8390 \bar under
8391 I
8392 \bar default
8393 nsert\SpecialChar menuseparator
8394 F
8395 \bar under
8396 o
8397 \bar default
8398 rmatting\SpecialChar menuseparator
8399 H
8400 \bar under
8401 o
8402 \bar default
8403 rizontal
8404 \begin_inset space ~
8405 \end_inset
8406
8407 Space
8408 \family default
8409  to open the 
8410 \family sans
8411 space
8412 \family default
8413  dialog and select the 
8414 \family sans
8415 Horizontal fill
8416 \family default
8417  option from the 
8418 \family sans
8419 \bar under
8420 S
8421 \bar default
8422 pacing
8423 \family default
8424  
8425 \change_deleted -712698321 1673169720
8426 pull-down
8427 \change_inserted -712698321 1673169724
8428 context
8429 \change_inserted 564990737 1670794716
8430  menu.
8431 \end_layout
8432
8433 \begin_layout Enumerate
8434
8435 \change_inserted 564990737 1670794716
8436 Switch to \SpecialChar LaTeX
8437  mode:
8438  
8439 \family sans
8440 M-c
8441 \begin_inset space ~
8442 \end_inset
8443
8444 t
8445 \family default
8446 .
8447 \end_layout
8448
8449 \begin_layout Enumerate
8450
8451 \change_inserted 564990737 1670794716
8452 Enter 
8453 \family typewriter
8454
8455 \backslash
8456 parbox[b]{55mm}{
8457 \family default
8458  
8459 \emph on
8460 Do not close the brace!
8461 \end_layout
8462
8463 \begin_layout Enumerate
8464
8465 \change_inserted 564990737 1670794716
8466 Position the cursor behind the caption text,
8467  switch to \SpecialChar LaTeX
8468  mode and insert the closing brace:
8469  
8470 \family sans
8471 M-c
8472 \begin_inset space ~
8473 \end_inset
8474
8475 t
8476 \family default
8477  
8478 \family typewriter
8479 }
8480 \family default
8481 .
8482 \end_layout
8483
8484 \begin_layout Standard
8485
8486 \change_inserted 564990737 1671642458
8487 Also,
8488  refer to the figures in the file in 
8489 \family sans
8490 File\SpecialChar menuseparator
8491 Open Example\SpecialChar menuseparator
8492 Articles\SpecialChar menuseparator
8493 Astronomy & Astrophysics
8494 \family default
8495 .
8496 \end_layout
8497
8498 \begin_layout Subsubsection
8499
8500 \change_inserted 564990737 1670794716
8501 Referee layout
8502 \end_layout
8503
8504 \begin_layout Standard
8505
8506 \change_inserted 564990737 1670794716
8507 For submission,
8508  the paper has to be formatted in a special double-spacing layout.
8509  For this purpose,
8510  you have to add the option 
8511 \family typewriter
8512 referee
8513 \family default
8514  to the 
8515 \family sans
8516 Cus
8517 \bar under
8518 t
8519 \bar default
8520 om Class
8521 \begin_inset space ~
8522 \end_inset
8523
8524 options
8525 \family default
8526  in the 
8527 \family sans
8528 \bar under
8529 D
8530 \bar default
8531 ocument\SpecialChar menuseparator
8532
8533 \bar under
8534 S
8535 \bar default
8536 ettings\SpecialChar menuseparator
8537 Document
8538 \begin_inset space ~
8539 \end_inset
8540
8541 Class
8542 \family default
8543  dialog.
8544  
8545 \end_layout
8546
8547 \begin_layout Subsubsection
8548
8549 \change_inserted 564990737 1670794716
8550 The example paper
8551 \end_layout
8552
8553 \begin_layout Standard
8554
8555 \change_inserted 564990737 1671642520
8556 The example in 
8557 \family sans
8558 File\SpecialChar menuseparator
8559 Open Example\SpecialChar menuseparator
8560 Articles\SpecialChar menuseparator
8561 Astronomy & Astrophysics
8562 \family default
8563  was written with \SpecialChar LyX
8564 .
8565  It is the example paper from the original macro package,
8566  
8567 \family typewriter
8568 aa.dem
8569 \family default
8570  in the 
8571 \begin_inset CommandInset href
8572 LatexCommand href
8573 name "aa-package"
8574 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
8575 literal "false"
8576
8577 \end_inset
8578
8579 ,
8580  but translated to \SpecialChar LyX
8581  using the older unstructured abstract type.
8582  Use it for inspiration,
8583  and compare the \SpecialChar LaTeX
8584  code in 
8585 \family typewriter
8586 aa.dem
8587 \family default
8588  with the \SpecialChar LyX
8589  way of writing.
8590 \end_layout
8591
8592 \begin_layout Subsection
8593 AAS\SpecialChar TeX
8594
8595 \end_layout
8596
8597 \begin_layout Standard
8598 by 
8599 \noun on
8600 Mike Ressler
8601 \end_layout
8602
8603 \begin_layout Subsubsection
8604 Introduction
8605 \end_layout
8606
8607 \begin_layout Standard
8608 AAS\SpecialChar TeX
8609  is a set of macros produced by the American Astronomical Society to facilitate electronic manuscript submission to the three journals they publish:
8610  the Astrophysical Journal (including the Letters and Supplement),
8611  the Astronomical Journal,
8612  and the Publications of the Astronomical Society of the Pacific.
8613  \SpecialChar LyX
8614  has proven to be an excellent tool for generating these documents,
8615  especially given its equation,
8616  citation,
8617  and figure handling capabilities.
8618  \SpecialChar LyX
8619  requires version 5.0 (or higher) of these macros;
8620  preferably 6.0,
8621  which is the version described here,
8622  or higher.
8623  Versions prior to 5.0 are intended for use with \SpecialChar LaTeX
8624 2.09 and are fundamentally incompatible with \SpecialChar LyX
8625 .
8626  The AAS\SpecialChar TeX
8627  package may be downloaded from the AAS\SpecialChar TeX
8628  Web site
8629 \end_layout
8630
8631 \begin_layout Standard
8632 \begin_inset VSpace medskip
8633 \end_inset
8634
8635
8636 \end_layout
8637
8638 \begin_layout Standard
8639 \align center
8640 \begin_inset Flex URL
8641 status collapsed
8642
8643 \begin_layout Plain Layout
8644
8645 https://aas.org/aastex/aastex-downloads
8646 \end_layout
8647
8648 \end_inset
8649
8650
8651 \end_layout
8652
8653 \begin_layout Standard
8654 \begin_inset VSpace medskip
8655 \end_inset
8656
8657
8658 \end_layout
8659
8660 \begin_layout Standard
8661 A complete user guide is contained in that package and you should familiarize yourself with it thoroughly before embarking on writing a paper in \SpecialChar LyX
8662 .
8663  \SpecialChar LyX
8664  will not reduce the need to figure out all the AAS\SpecialChar TeX
8665  commands,
8666  it will only reduce the drudgery of typing everything in.
8667  It is your responsibility to ensure that the final exported \SpecialChar LaTeX
8668  document conforms completely to the requirements of the journal to which you are submitting your paper.
8669 \end_layout
8670
8671 \begin_layout Subsubsection
8672 Starting a New Paper
8673 \end_layout
8674
8675 \begin_layout Standard
8676 I strongly suggest that you start with the AAS\SpecialChar TeX
8677  template file.
8678  Click on 
8679 \family sans
8680 File\SpecialChar menuseparator
8681 New from
8682 \family default
8683  
8684 \family sans
8685 Template
8686 \change_inserted 564990737 1671617265
8687 \SpecialChar menuseparator
8688 Articles\SpecialChar menuseparator
8689 American Astronomical Society
8690 \change_deleted 564990737 1671617310
8691
8692 \family default
8693 ,
8694  enter the new file name,
8695  then choose the 
8696 \family typewriter
8697 aastex6.lyx
8698 \family default
8699  template
8700 \change_unchanged
8701 .
8702  This will show the most common fields found in a manuscript.
8703  Simply overwrite the existing text (including the brackets,
8704  
8705 \family typewriter
8706 <>
8707 \family default
8708 ) with the correct information.
8709  Many of the AAS\SpecialChar TeX
8710  commands and environments can be implemented directly in \SpecialChar LyX
8711 ,
8712  but some cannot.
8713  For commands such as these,
8714  the \SpecialChar LaTeX
8715  code must be entered directly and marked as such.
8716  Such commands are referred to as \SpecialChar TeX
8717  code,
8718  or Evil Red Text.
8719  I tried to minimize the amount of \SpecialChar TeX
8720  code needed in an AAS\SpecialChar TeX
8721  document.
8722 \end_layout
8723
8724 \begin_layout Subsubsection
8725 Finishing Your Paper
8726 \end_layout
8727
8728 \begin_layout Standard
8729 When the paper is finished to your satisfaction and previews/prints correctly,
8730  there are a few 
8731 \begin_inset Quotes eld
8732 \end_inset
8733
8734 postprocessing
8735 \begin_inset Quotes erd
8736 \end_inset
8737
8738  actions which need to be done before you submit it to the journals.
8739  
8740 \end_layout
8741
8742 \begin_layout Enumerate
8743 Export your paper as a \SpecialChar LaTeX
8744  file (
8745 \family sans
8746 File\SpecialChar menuseparator
8747 Export\SpecialChar menuseparator
8748 \SpecialChar LaTeX
8749
8750 \family default
8751 ).
8752  
8753 \end_layout
8754
8755 \begin_layout Enumerate
8756 Edit the resulting 
8757 \family typewriter
8758 .tex
8759 \family default
8760  file with your favorite text editor
8761 \end_layout
8762
8763 \begin_deeper
8764 \begin_layout Enumerate
8765 remove the comment lines before the 
8766 \family typewriter
8767
8768 \backslash
8769 documentclass
8770 \family default
8771  command
8772 \end_layout
8773
8774 \begin_layout Enumerate
8775 remove the 
8776 \family typewriter
8777
8778 \backslash
8779 usepackage...{fontenc}
8780 \family default
8781  line if it appears (usually just after 
8782 \family typewriter
8783
8784 \backslash
8785 documentclass
8786 \family default
8787 };
8788  also remove the 
8789 \family typewriter
8790
8791 \backslash
8792 secnumdepth
8793 \family default
8794  line if it appears.
8795 \end_layout
8796
8797 \begin_layout Enumerate
8798 remove everything between (and including) the 
8799 \family typewriter
8800
8801 \backslash
8802 makeatletter
8803 \family default
8804  and 
8805 \family typewriter
8806
8807 \backslash
8808 makeatother
8809 \family default
8810  commands,
8811  except for any commands you specifically put into the \SpecialChar LaTeX
8812  preamble (which should appear immediately after the 
8813 \begin_inset Quotes eld
8814 \end_inset
8815
8816 User specified \SpecialChar LaTeX
8817  commands
8818 \begin_inset Quotes erd
8819 \end_inset
8820
8821  comment in the 
8822 \family typewriter
8823 .tex
8824 \family default
8825  file).
8826 \end_layout
8827
8828 \end_deeper
8829 \begin_layout Enumerate
8830 Run the resulting file through \SpecialChar LaTeX
8831  to make sure it still processes correctly.
8832 \end_layout
8833
8834 \begin_layout Enumerate
8835 Reread the journal requirements to make sure your filenames and formats are correct.
8836 \end_layout
8837
8838 \begin_layout Enumerate
8839 Submit it.
8840 \end_layout
8841
8842 \begin_layout Subsubsection
8843 Comments On Specific Commands
8844 \end_layout
8845
8846 \begin_layout Standard
8847 I will not describe the detailed usage of the individual AAS\SpecialChar TeX
8848  commands:
8849  the AAS\SpecialChar TeX
8850  User Guide (
8851 \family typewriter
8852 aasguide.tex
8853 \family default
8854 ) gives a good description of each.
8855  Thus it's probably easiest for me to go down the list as found in the guide and offer comments where necessary.
8856  So let's begin \SpecialChar ldots
8857
8858 \end_layout
8859
8860 \begin_layout Paragraph
8861 Things that work as expected
8862 \end_layout
8863
8864 \begin_layout Standard
8865 Because they work as you might expect,
8866  I simply list them and the section they are found in:
8867  
8868 \family typewriter
8869
8870 \backslash
8871 documentclass
8872 \family default
8873  (2.1.1),
8874  
8875 \family typewriter
8876
8877 \backslash
8878 begin{document}
8879 \family default
8880  (2.2),
8881  
8882 \family typewriter
8883
8884 \backslash
8885 title
8886 \family default
8887  (2.3),
8888  
8889 \family typewriter
8890
8891 \backslash
8892 author
8893 \family default
8894  (2.3),
8895  
8896 \family typewriter
8897
8898 \backslash
8899 affil
8900 \family default
8901  (2.3),
8902  
8903 \family typewriter
8904
8905 \backslash
8906 abstract
8907 \family default
8908  (2.4),
8909  
8910 \family typewriter
8911
8912 \backslash
8913 keywords
8914 \family default
8915  (2.5),
8916  
8917 \family typewriter
8918
8919 \backslash
8920 section
8921 \family default
8922  (2.7),
8923  
8924 \family typewriter
8925
8926 \backslash
8927 subsection
8928 \family default
8929  (2.7),
8930  
8931 \family typewriter
8932
8933 \backslash
8934 subsubsection
8935 \family default
8936  (2.7),
8937  
8938 \family typewriter
8939
8940 \backslash
8941 paragraph
8942 \family default
8943  (2.7),
8944  
8945 \family typewriter
8946
8947 \backslash
8948 facility
8949 \family default
8950  (2.10),
8951  
8952 \family typewriter
8953
8954 \backslash
8955 begin{displaymath}
8956 \family default
8957  (2.12),
8958  
8959 \family typewriter
8960
8961 \backslash
8962 begin{equation}
8963 \family default
8964  (2.12),
8965  
8966 \family typewriter
8967
8968 \backslash
8969 begin{eqnarray}
8970 \family default
8971  (2.12),
8972  
8973 \family typewriter
8974
8975 \backslash
8976 begin{mathletters}
8977 \family default
8978  (2.12),
8979  
8980 \family typewriter
8981
8982 \backslash
8983 begin{thebibliography}
8984 \family default
8985  (2.13.1),
8986  
8987 \family typewriter
8988
8989 \backslash
8990 bibitem
8991 \family default
8992  (2.13.2),
8993  all the cite commands and their variations (2.13.2),
8994  the generic graphicx figure commands (2.14.1),
8995  
8996 \family typewriter
8997
8998 \backslash
8999 begin{table}
9000 \family default
9001  (2.15.4),
9002  
9003 \family typewriter
9004
9005 \backslash
9006 begin{tabular}
9007 \family default
9008  (2.15.4),
9009  
9010 \family typewriter
9011
9012 \backslash
9013 caption
9014 \family default
9015  (2.15.4),
9016  
9017 \family typewriter
9018
9019 \backslash
9020 label
9021 \family default
9022  (2.15.4,
9023  amongst other places),
9024  
9025 \family typewriter
9026
9027 \backslash
9028 tablerefs
9029 \family default
9030  (2.15.5),
9031  
9032 \family typewriter
9033
9034 \backslash
9035 tablecomments
9036 \family default
9037  (2.15.5),
9038  
9039 \family typewriter
9040
9041 \backslash
9042 url
9043 \family default
9044  (2.17.4),
9045  
9046 \family typewriter
9047
9048 \backslash
9049 end{document}
9050 \family default
9051  (2.18).
9052 \end_layout
9053
9054 \begin_layout Standard
9055 The following style options also work correctly:
9056  
9057 \family typewriter
9058 longabstract
9059 \family default
9060  (2.4),
9061  
9062 \family typewriter
9063 preprint
9064 \family default
9065  (3.2.1),
9066  
9067 \family typewriter
9068 preprint2
9069 \family default
9070  (3.2.2),
9071  
9072 \family typewriter
9073 eqsecnum
9074 \family default
9075  (3.3),
9076  
9077 \family typewriter
9078 flushrt
9079 \family default
9080  (3.4).
9081  Simply put them in the 
9082 \family sans
9083 Options
9084 \family default
9085  box in 
9086 \family sans
9087 Layout\SpecialChar menuseparator
9088 Document
9089 \family default
9090 .
9091 \end_layout
9092
9093 \begin_layout Paragraph
9094 Things that work,
9095  but require more comment
9096 \end_layout
9097
9098 \begin_layout Standard
9099 The following items work,
9100  but require a little more discussion:
9101 \end_layout
9102
9103 \begin_layout Itemize
9104 These items are reserved for use by the journal editors,
9105  but you can put them into the \SpecialChar LaTeX
9106  preamble if you feel compelled to do so:
9107  
9108 \family typewriter
9109
9110 \backslash
9111 received
9112 \family default
9113 ,
9114  
9115 \family typewriter
9116
9117 \backslash
9118 revised
9119 \family default
9120 ,
9121  
9122 \family typewriter
9123
9124 \backslash
9125 accepted
9126 \family default
9127 ,
9128  
9129 \family typewriter
9130
9131 \backslash
9132 ccc
9133 \family default
9134 ,
9135  
9136 \family typewriter
9137
9138 \backslash
9139 cpright
9140 \family default
9141  (all from 2.1.3)
9142 \end_layout
9143
9144 \begin_layout Itemize
9145 These items may be placed in the \SpecialChar LaTeX
9146  preamble,
9147  and are included as blanks in the template file:
9148  
9149 \family typewriter
9150
9151 \backslash
9152 slugcomment
9153 \family default
9154  (2.1.4),
9155  
9156 \family typewriter
9157
9158 \backslash
9159 shorttitle
9160 \family default
9161  (2.1.5),
9162  
9163 \family typewriter
9164
9165 \backslash
9166 shortauthors
9167 \family default
9168  (2.1.5)
9169 \end_layout
9170
9171 \begin_layout Itemize
9172
9173 \family typewriter
9174
9175 \backslash
9176 email
9177 \family default
9178  (2.3) – can only be used 
9179 \begin_inset Quotes eld
9180 \end_inset
9181
9182 standalone
9183 \begin_inset Quotes erd
9184 \end_inset
9185
9186 ,
9187  not in the middle of a paragraph.
9188  Use \SpecialChar TeX
9189  code if you need to embed it.
9190 \end_layout
9191
9192 \begin_layout Itemize
9193
9194 \family typewriter
9195
9196 \backslash
9197 and
9198 \family default
9199  (2.3) – will have extra {} after it.
9200  This should not cause an error.
9201 \end_layout
9202
9203 \begin_layout Itemize
9204
9205 \family typewriter
9206
9207 \backslash
9208 notetoeditor
9209 \family default
9210  (2.6) – can only be used 
9211 \begin_inset Quotes eld
9212 \end_inset
9213
9214 standalone
9215 \begin_inset Quotes erd
9216 \end_inset
9217
9218 ,
9219  not in the middle of a paragraph.
9220  Use \SpecialChar TeX
9221  code if you need to embed it.
9222 \end_layout
9223
9224 \begin_layout Itemize
9225
9226 \family typewriter
9227
9228 \backslash
9229 placetable
9230 \family default
9231  (2.8) – can't insert a cross-reference tag,
9232  you must type the tag name by hand
9233 \end_layout
9234
9235 \begin_layout Itemize
9236
9237 \family typewriter
9238
9239 \backslash
9240 placefigure
9241 \family default
9242  (2.8) – same as for 
9243 \family typewriter
9244
9245 \backslash
9246 placetable
9247 \end_layout
9248
9249 \begin_layout Itemize
9250
9251 \family typewriter
9252
9253 \backslash
9254 acknowledgements
9255 \family default
9256  (2.9) – will have extra {} after it.
9257  This should not cause an error.
9258 \end_layout
9259
9260 \begin_layout Itemize
9261
9262 \family typewriter
9263
9264 \backslash
9265 appendix
9266 \family default
9267  (2.11) – will have extra {} after it.
9268  This should not cause an error.
9269 \end_layout
9270
9271 \begin_layout Itemize
9272
9273 \family typewriter
9274
9275 \backslash
9276 figcaption
9277 \family default
9278  (2.14.2) – you can insert an optional filename argument by placing the cursor at the beginning of the text and selecting 
9279 \family sans
9280 Insert\SpecialChar menuseparator
9281 Short Title
9282 \family default
9283 .
9284  
9285 \begin_inset Quotes eld
9286 \end_inset
9287
9288 Short Title
9289 \begin_inset Quotes erd
9290 \end_inset
9291
9292  inserts an optional argument of the type needed by 
9293 \family typewriter
9294
9295 \backslash
9296 figcaption
9297 \family default
9298 .
9299  Hopefully it will be renamed someday.
9300 \end_layout
9301
9302 \begin_layout Itemize
9303
9304 \family typewriter
9305
9306 \backslash
9307 objectname
9308 \family default
9309  (2.17.1) – same as 
9310 \family typewriter
9311
9312 \backslash
9313 figcaption
9314 \family default
9315  for the catalog ID optional parameter
9316 \end_layout
9317
9318 \begin_layout Itemize
9319
9320 \family typewriter
9321
9322 \backslash
9323 dataset
9324 \family default
9325  (2.17.1) – same as 
9326 \family typewriter
9327
9328 \backslash
9329 figcaption
9330 \family default
9331  for the catalog ID optional parameter
9332 \end_layout
9333
9334 \begin_layout Paragraph
9335 Things not implemented,
9336  use \SpecialChar TeX
9337  code
9338 \end_layout
9339
9340 \begin_layout Standard
9341
9342 \family typewriter
9343
9344 \backslash
9345 eqnum
9346 \family default
9347  (2.12),
9348  
9349 \family typewriter
9350
9351 \backslash
9352 setcounter{equation}
9353 \family default
9354  (2.12),
9355  Journal name abbreviations (2.13.4),
9356  
9357 \family typewriter
9358
9359 \backslash
9360 figurenum
9361 \family default
9362  (2.14.1),
9363  
9364 \family typewriter
9365
9366 \backslash
9367 epsscale
9368 \family default
9369  (2.14.1),
9370  
9371 \family typewriter
9372
9373 \backslash
9374 plotone
9375 \family default
9376  (2.14.1),
9377  
9378 \family typewriter
9379
9380 \backslash
9381 plottwo
9382 \family default
9383  (2.14.1),
9384  
9385 \family typewriter
9386
9387 \backslash
9388 tablenum
9389 \family default
9390  (2.15.4),
9391  
9392 \family typewriter
9393
9394 \backslash
9395 tableline
9396 \family default
9397  (2.15.4,
9398  insert it as the first element in the lefthand cell after where you want it.
9399  Don't use any of \SpecialChar LyX
9400 's rules in the table),
9401  
9402 \family typewriter
9403
9404 \backslash
9405 tablenotemark
9406 \family default
9407  (2.15.5),
9408  
9409 \family typewriter
9410
9411 \backslash
9412 tablenotetext
9413 \family default
9414  (2.15.5),
9415  much of Misc (2.17,
9416  except 
9417 \family typewriter
9418
9419 \backslash
9420 objectname
9421 \family default
9422 ,
9423  
9424 \family typewriter
9425
9426 \backslash
9427 dataset
9428 \family default
9429 ,
9430  
9431 \family typewriter
9432
9433 \backslash
9434 url
9435 \family default
9436 ,
9437  and 
9438 \family typewriter
9439
9440 \backslash
9441 email
9442 \family default
9443 ;
9444  see above),
9445  
9446 \family typewriter
9447
9448 \backslash
9449 singlespace
9450 \family default
9451  (3.1),
9452  
9453 \family typewriter
9454
9455 \backslash
9456 doublespace
9457 \family default
9458  (3.1),
9459  
9460 \family typewriter
9461
9462 \backslash
9463 onecolumn
9464 \family default
9465  (3.2),
9466  
9467 \family typewriter
9468
9469 \backslash
9470 twocolumn
9471 \family default
9472  (3.2)
9473 \end_layout
9474
9475 \begin_layout Paragraph
9476 Things that cannot be implemented
9477 \end_layout
9478
9479 \begin_layout Standard
9480 \SpecialChar ldots
9481  at least in any meaningful sort of way,
9482  so I suggest ignoring them.
9483  They are the references environment (2.13.3),
9484  and the deluxetable environment (2.15).
9485  If you really,
9486  really need to use deluxetable,
9487  I suggest editing it in a separate file with a text editor,
9488  then using 
9489 \family sans
9490 Insert\SpecialChar menuseparator
9491 Child
9492 \begin_inset space ~
9493 \end_inset
9494
9495 Document
9496 \family default
9497  to include it in your \SpecialChar LyX
9498  document.
9499  See 
9500 \change_deleted 564990737 1671642564
9501 the 
9502 \family typewriter
9503 aas_sample.lyx
9504 \family default
9505  file to see
9506 \change_inserted 564990737 1671642618
9507
9508 \family sans
9509 File\SpecialChar menuseparator
9510 Open Example\SpecialChar menuseparator
9511 Articles\SpecialChar menuseparator
9512 American Astronomical Society
9513 \change_unchanged
9514
9515 \family default
9516  
9517 \change_inserted 564990737 1671642621
9518 for 
9519 \change_unchanged
9520 an example of this.
9521 \end_layout
9522
9523 \begin_layout Subsubsection
9524 FAQs,
9525  Tips,
9526  Tricks,
9527  and Other Ruminations
9528 \end_layout
9529
9530 \begin_layout Paragraph
9531 Getting \SpecialChar LyX
9532  and AAS\SpecialChar TeX
9533  to cooperate
9534 \end_layout
9535
9536 \begin_layout Standard
9537 It can be a bit tricky to get \SpecialChar LyX
9538  to recognize a new layout and document class.
9539  When all else fails,
9540  do this:
9541 \end_layout
9542
9543 \begin_layout Enumerate
9544 Make certain that \SpecialChar LaTeX
9545  can find AAS\SpecialChar TeX
9546 .
9547  Copy sample.tex (and perhaps table.tex) from the AAS\SpecialChar TeX
9548  distribution into a directory completely unrelated to \SpecialChar LaTeX
9549  or AAS\SpecialChar TeX
9550  and run \SpecialChar LaTeX
9551  on 
9552 \family typewriter
9553 sample.tex
9554 \family default
9555 .
9556 \end_layout
9557
9558 \begin_layout Enumerate
9559 Make certain that 
9560 \family typewriter
9561 aastex.layout
9562 \family default
9563  appears in \SpecialChar LyX
9564 's 
9565 \family typewriter
9566 layouts
9567 \family default
9568  folder
9569 \end_layout
9570
9571 \begin_layout Enumerate
9572 Rerun 
9573 \family sans
9574 Tools\SpecialChar menuseparator
9575 Reconfigure
9576 \family default
9577  in \SpecialChar LyX
9578 ,
9579  then restart \SpecialChar LyX
9580 .
9581 \end_layout
9582
9583 \begin_layout Enumerate
9584 Open a regular new file,
9585  not from a template.
9586  Does 
9587 \change_deleted -712698321 1673170671
9588 AAS\SpecialChar TeX
9589
9590 \change_inserted -712698321 1673170671
9591
9592 \family sans
9593 American Astronomical Society (AASTeX V.
9594 \begin_inset space \thinspace{}
9595 \end_inset
9596
9597 6)
9598 \change_unchanged
9599
9600 \family default
9601  appear in the class list in 
9602 \family sans
9603 Document\SpecialChar menuseparator
9604 Settings
9605 \family default
9606 ?
9607 \end_layout
9608
9609 \begin_layout Standard
9610 If you get a warning from an existing AAS\SpecialChar TeX
9611  document about not being able to find the AAS\SpecialChar TeX
9612  layout or a message about 
9613 \begin_inset Quotes eld
9614 \end_inset
9615
9616 You should not mix title layouts with normal ones
9617 \begin_inset Quotes erd
9618 \end_inset
9619
9620 ,
9621  things haven't been installed correctly.
9622 \end_layout
9623
9624 \begin_layout Paragraph
9625 \SpecialChar LaTeX
9626  error processing a table 
9627 \end_layout
9628
9629 \begin_layout Standard
9630 \SpecialChar LyX
9631 ,
9632  by default,
9633  attempts to center the table caption/title.
9634  This seems to produce a bad interaction in AAS\SpecialChar TeX
9635  so you should click somewhere in the caption/title,
9636  then select 
9637 \family sans
9638 Edit\SpecialChar menuseparator
9639 Paragraph
9640 \begin_inset space ~
9641 \end_inset
9642
9643 Settings
9644 \family default
9645 ,
9646  then set the 
9647 \family sans
9648 Alignment
9649 \family default
9650  to 
9651 \family sans
9652 Block
9653 \family default
9654 .
9655  This took care of it for me.
9656 \end_layout
9657
9658 \begin_layout Paragraph
9659 References
9660 \end_layout
9661
9662 \begin_layout Standard
9663 A couple of things:
9664  
9665 \change_inserted -712698321 1673170733
9666
9667 \end_layout
9668
9669 \begin_layout Enumerate
9670
9671 \change_deleted -712698321 1673170736
9672 1) 
9673 \change_unchanged
9674 I have noticed some funny spacing in the reference entries in the text.
9675  When you enter the bibliography item data,
9676  make sure their is 
9677 \emph on
9678 no
9679 \emph default
9680  space between the last author and the parenthesis setting off the year;
9681  
9682 \emph on
9683 e.
9684 \begin_inset space \thinspace{}
9685 \end_inset
9686
9687 g.
9688 \begin_inset space \space{}
9689 \end_inset
9690
9691
9692 \emph default
9693 type 
9694 \family typewriter
9695 Ressler(1992)
9696 \family default
9697 ,
9698  not 
9699 \family typewriter
9700 Ressler (1992)
9701 \family default
9702 .
9703  
9704 \change_deleted -712698321 1673170741
9705 2) 
9706 \change_inserted -712698321 1673170741
9707
9708 \end_layout
9709
9710 \begin_layout Enumerate
9711 Entering the references at all is not obvious.
9712  The easiest thing is to start typing your first reference at the end of the document,
9713  then mark it as type 
9714 \family sans
9715 References
9716 \family default
9717 .
9718  That will put a small gray box in front of what you just typed.
9719  Click on the box to fill in the rest of the information.
9720  For new references,
9721  go to the end of an existing reference and press return.
9722  That will create a new line with its own box,
9723  etc.
9724 \end_layout
9725
9726 \begin_layout Paragraph
9727 Including EPS files
9728 \end_layout
9729
9730 \begin_layout Standard
9731 Even though AAS\SpecialChar TeX
9732  provides its own figure commands (
9733 \family typewriter
9734
9735 \backslash
9736 plotone
9737 \family default
9738 ,
9739  for example),
9740  I much prefer \SpecialChar LaTeX
9741 's standard figure commands (with the default graphicx).
9742  You can insert the 
9743 \family typewriter
9744
9745 \backslash
9746 plotone
9747 \family default
9748 ,
9749  etc.
9750 \begin_inset space ~
9751 \end_inset
9752
9753 commands as \SpecialChar TeX
9754  code into a Figure Float box if you desire,
9755  but I never have much luck getting the layout right.
9756  With the standard graphics,
9757  \SpecialChar LyX
9758  will insert a 
9759 \family typewriter
9760
9761 \backslash
9762 usepackage{graphicx}
9763 \family default
9764  command into the \SpecialChar LaTeX
9765  preamble and handle the figures in the standard \SpecialChar LaTeX2e
9766  way,
9767  interspersing the figures in the text.
9768  I believe ApJ accepts figures exactly this way now;
9769  AJ might still use the 
9770 \begin_inset Quotes eld
9771 \end_inset
9772
9773 stack everything at the end
9774 \begin_inset Quotes erd
9775 \end_inset
9776
9777  technique.
9778 \end_layout
9779
9780 \begin_layout Paragraph
9781 Things I could have done,
9782  but didn't
9783 \end_layout
9784
9785 \begin_layout Standard
9786 There are a few 
9787 \begin_inset Quotes eld
9788 \end_inset
9789
9790 pretty
9791 \begin_inset Quotes erd
9792 \end_inset
9793
9794  things I could have implemented,
9795  but chose not to.
9796  For instance,
9797  I saw no point in double-spacing the text in the \SpecialChar LyX
9798  window,
9799  even though it is double-spaced in the paper manuscript.
9800  Also,
9801  I chose not to make separate layouts for the preprint and preprint2 styles.
9802  Since I assume you will spend most of your time in the plain manuscript mode anyway,
9803  I decided not to chew up more disk space with this.
9804  
9805 \end_layout
9806
9807 \begin_layout Subsubsection
9808 Final Caveat
9809 \end_layout
9810
9811 \begin_layout Standard
9812 Your mileage may vary.
9813  I've now had papers published by both ApJ and AJ that have had 98% of the effort done in \SpecialChar LyX
9814 ;
9815  the last 2% was the \SpecialChar LaTeX
9816  post-processing and a few cleanups.
9817  I have had no trouble with the submission process,
9818  and I'm sure the journals were never aware that there might be a difference.
9819  So,
9820  go forth and publish!
9821 \end_layout
9822
9823 \begin_layout Subsection
9824
9825 \change_inserted 564990737 1671442131
9826 Chess
9827 \end_layout
9828
9829 \begin_layout Standard
9830
9831 \change_inserted 564990737 1671642768
9832 The document class 
9833 \change_deleted -712698321 1673171415
9834
9835 \family sans
9836 article
9837 \begin_inset space \thinspace{}
9838 \end_inset
9839
9840 (
9841 \change_inserted 564990737 1671642768
9842 Chess
9843 \change_deleted -712698321 1673171417
9844 )
9845 \change_inserted 564990737 1671642768
9846
9847 \family default
9848  uses the 
9849 \change_deleted -712698321 1673171421
9850
9851 \family typewriter
9852 article.cls
9853 \family default
9854  
9855 \change_inserted -712698321 1673171424
9856 standard article 
9857 \change_inserted 564990737 1671642768
9858 document class together with the 
9859 \change_deleted -712698321 1673171428
9860 style
9861 \change_inserted -712698321 1673171429
9862 package
9863 \change_inserted 564990737 1671642768
9864  
9865 \family sans
9866 lyxskak
9867 \change_deleted -712698321 1673171431
9868 .sty
9869 \change_inserted 564990737 1671642768
9870
9871 \family default
9872  to facilitate the description of chess games.
9873  See 
9874 \family sans
9875 File\SpecialChar menuseparator
9876 Open Example\SpecialChar menuseparator
9877 Articles\SpecialChar menuseparator
9878 Chess
9879 \family default
9880  where you will find 
9881 \family sans
9882 Game 1
9883 \family default
9884  and 
9885 \family sans
9886 Game 2
9887 \family default
9888 .
9889 \end_layout
9890
9891 \begin_layout Subsection
9892
9893 \change_inserted 564990737 1671042028
9894 Elsevier
9895 \end_layout
9896
9897 \begin_layout Standard
9898
9899 \change_inserted 564990737 1671617396
9900 The document class 
9901 \change_deleted -712698321 1673171640
9902
9903 \family sans
9904 article
9905 \begin_inset space \thinspace{}
9906 \end_inset
9907
9908 (
9909 \change_inserted 564990737 1671617396
9910 Elsevier
9911 \change_deleted -712698321 1673171643
9912 )
9913 \change_inserted 564990737 1671617396
9914
9915 \family default
9916  provides 
9917 \change_inserted -712698321 1673171717
9918 support for 
9919 \change_inserted 564990737 1671617396
9920 the 
9921 \family typewriter
9922 elsarticle
9923 \change_deleted -712698321 1673171720
9924 .cls
9925 \change_inserted 564990737 1671617396
9926
9927 \family default
9928  
9929 \change_deleted -712698321 1673171728
9930 document
9931 \change_inserted -712698321 1673171728
9932 \SpecialChar LaTeX
9933
9934 \change_inserted 564990737 1671617396
9935  class
9936 \change_inserted -712698321 1673171744
9937  for journals in the Elsevier publishing house
9938 \change_inserted 564990737 1671617396
9939 .
9940  This provides the following additional environments:
9941  
9942 \family sans
9943 Title
9944 \begin_inset space ~
9945 \end_inset
9946
9947 footnote
9948 \family default
9949 ,
9950  
9951 \family sans
9952 Author
9953 \begin_inset space ~
9954 \end_inset
9955
9956 footnote
9957 \family default
9958 ,
9959  
9960 \family sans
9961 Corresponding
9962 \begin_inset space ~
9963 \end_inset
9964
9965 author
9966 \family default
9967 ,
9968  
9969 \family sans
9970 Address
9971 \family default
9972 ,
9973  
9974 \family sans
9975 Email
9976 \family default
9977  and 
9978 \family sans
9979 Keywords
9980 \family default
9981 .
9982  
9983 \change_inserted -712698321 1673172045
9984
9985 \end_layout
9986
9987 \begin_layout Standard
9988
9989 \change_inserted 564990737 1671617396
9990 A template is available in the menu 
9991 \family sans
9992 \bar under
9993 F
9994 \bar default
9995 ile\SpecialChar menuseparator
9996 New
9997 \begin_inset space ~
9998 \end_inset
9999
10000 fro
10001 \bar under
10002 m
10003 \bar default
10004
10005 \begin_inset space ~
10006 \end_inset
10007
10008 Template\SpecialChar menuseparator
10009 Articles\SpecialChar menuseparator
10010 Elsevier
10011 \family default
10012 .
10013  It has been customized with further environments and contains all the information you may need.
10014  However,
10015  the documentation is also available from 
10016 \begin_inset CommandInset href
10017 LatexCommand href
10018 name "CTAN"
10019 target "http://mirrors.ctan.org/macros/latex/contrib/elsarticle/doc/elsdoc.pdf"
10020 literal "false"
10021
10022 \end_inset
10023
10024 .
10025 \end_layout
10026
10027 \begin_layout Subsection
10028
10029 \change_inserted 564990737 1671042046
10030 Paper
10031 \end_layout
10032
10033 \begin_layout Standard
10034
10035 \change_inserted 564990737 1671042046
10036 The document class 
10037 \change_deleted -712698321 1673172423
10038
10039 \family sans
10040 article
10041 \begin_inset space \thinspace{}
10042 \end_inset
10043
10044 (paper
10045 \change_inserted -712698321 1673172423
10046 Paper (Standard Class)
10047 \change_deleted -712698321 1673172423
10048 )
10049 \change_inserted 564990737 1671042046
10050
10051 \family default
10052  provides an alternative to the 
10053 \change_deleted -712698321 1673172092
10054
10055 \family typewriter
10056 article.cls
10057 \change_inserted -712698321 1673172435
10058
10059 \family sans
10060 Article (Standard Class)
10061 \change_inserted 564990737 1671042046
10062
10063 \family default
10064  document class.
10065  It provides similar functionality,
10066  but you might prefer this layout with sans serif sections,
10067  headings,
10068  and more.
10069 \end_layout
10070
10071 \begin_layout Subsection
10072 Rev\SpecialChar TeX
10073 4
10074 \end_layout
10075
10076 \begin_layout Standard
10077 by 
10078 \noun on
10079 Amir Karger
10080 \end_layout
10081
10082 \begin_layout Standard
10083 \begin_inset VSpace bigskip
10084 \end_inset
10085
10086
10087 \end_layout
10088
10089 \begin_layout Standard
10090 \noindent
10091 The 
10092 \family sans
10093 Rev
10094 \change_deleted -712698321 1673172482
10095 tex
10096 \begin_inset space ~
10097 \end_inset
10098
10099 4
10100 \change_inserted -712698321 1673172487
10101 TeX (V.
10102 \begin_inset space \thinspace{}
10103 \end_inset
10104
10105 4)
10106 \change_unchanged
10107
10108 \family default
10109  textclass works with the American Physical Sociey's Rev\SpecialChar TeX
10110  4.0 (the 
10111 \begin_inset Formula $\beta$
10112 \end_inset
10113
10114  release of May,
10115  1999) class.
10116 \end_layout
10117
10118 \begin_layout Standard
10119 \SpecialChar LyX
10120  has a 
10121 \family sans
10122 R
10123 \change_deleted -712698321 1673172511
10124 evtex
10125 \change_inserted -712698321 1673172517
10126 EVTeX (obsolete)
10127 \change_unchanged
10128
10129 \family default
10130  textclass,
10131  which works with Rev\SpecialChar TeX
10132  3.1.
10133  However,
10134  v3.1 is basically obsolete,
10135  as it works with \SpecialChar LaTeX
10136  2.09.
10137  That means that it doesn't interact very well with \SpecialChar LyX
10138 ,
10139  which requires \SpecialChar LaTeX2e
10140 ,
10141  although it has been kludged to work.
10142  Since Rev\SpecialChar TeX
10143  4.0 has been designed to work much more cleanly with \SpecialChar LaTeX2e
10144 ,
10145  \SpecialChar LyX
10146  with the 
10147 \change_deleted -712698321 1673172538
10148
10149 \family sans
10150 Rev\SpecialChar TeX
10151
10152 \begin_inset space ~
10153 \end_inset
10154
10155 4
10156 \change_inserted -712698321 1673172538
10157 Revtex
10158 \begin_inset space ~
10159 \end_inset
10160
10161 4TeX (V.
10162 \begin_inset space \thinspace{}
10163 \end_inset
10164
10165 4)
10166 \change_unchanged
10167
10168 \family default
10169  textclass should also be pretty easy to use.
10170 \end_layout
10171
10172 \begin_layout Standard
10173 These documents are supposed to be used in 
10174 \emph on
10175 addition
10176 \emph default
10177  to the Rev\SpecialChar TeX
10178  4.0 documents,
10179  so we don't describe any of the special Rev\SpecialChar TeX
10180  macros,
10181  and assume you'll know what to put in the preamble if necessary.
10182 \end_layout
10183
10184 \begin_layout Subsubsection
10185 Installation
10186 \end_layout
10187
10188 \begin_layout Standard
10189 All you need to do is install Rev\SpecialChar TeX
10190  4,
10191  as described in the package's README file.
10192  The package can be found at The Rev\SpecialChar TeX
10193  4 Web Site 
10194 \begin_inset Flex URL
10195 status collapsed
10196
10197 \begin_layout Plain Layout
10198
10199 http://publish.aps.org/revtex4/
10200 \end_layout
10201
10202 \end_inset
10203
10204 .
10205  Install it somewhere that \SpecialChar LaTeX
10206  can see it.
10207  Test it by trying to \SpecialChar LaTeX
10208  a short Rev\SpecialChar TeX
10209  4 document in some random directory (i.
10210 \begin_inset space \thinspace{}
10211 \end_inset
10212
10213 e.
10214 \begin_inset space \space{}
10215 \end_inset
10216
10217 not the directory where you installed the class file.) Then,
10218  if you reconfigure \SpecialChar LyX
10219 ,
10220  it will find the class file and let you use the Rev\SpecialChar TeX
10221 4 textclass.
10222 \end_layout
10223
10224 \begin_layout Standard
10225 Probably the easiest way to get started is either to import a Rev\SpecialChar TeX
10226  4 document using 
10227 \family typewriter
10228 tex2lyx
10229 \family default
10230 ,
10231  or to use the 
10232 \family sans
10233 Revtex
10234 \begin_inset space ~
10235 \end_inset
10236
10237 4
10238 \family default
10239  template,
10240  found in 
10241 \change_deleted -712698321 1673172641
10242 the templates directory
10243 \change_inserted -712698321 1673172687
10244
10245 \family sans
10246 File\SpecialChar menuseparator
10247 New From Templates\SpecialChar menuseparator
10248 Articles
10249 \change_unchanged
10250
10251 \family default
10252 .
10253 \end_layout
10254
10255 \begin_layout Subsubsection
10256 Preamble Matter
10257 \end_layout
10258
10259 \begin_layout Standard
10260 Optional arguments to 
10261 \family typewriter
10262
10263 \backslash
10264 documentclass
10265 \family default
10266 ,
10267  like 
10268 \begin_inset Quotes eld
10269 \end_inset
10270
10271 preprint
10272 \begin_inset Quotes erd
10273 \end_inset
10274
10275  and 
10276 \begin_inset Quotes eld
10277 \end_inset
10278
10279 aps
10280 \begin_inset Quotes erd
10281 \end_inset
10282
10283 ,
10284  go in the 
10285 \family sans
10286 Extra
10287 \begin_inset space ~
10288 \end_inset
10289
10290 Options
10291 \family default
10292  field in the 
10293 \family sans
10294 Document
10295 \begin_inset space ~
10296 \end_inset
10297
10298 Layout
10299 \family default
10300  dialog,
10301  as usual.
10302  Remember that in Rev\SpecialChar TeX
10303 ,
10304  at least one optional argument is required!
10305  
10306 \end_layout
10307
10308 \begin_layout Standard
10309 Other preamble matter,
10310  like 
10311 \family typewriter
10312
10313 \backslash
10314 draft
10315 \family default
10316  etc.
10317 \begin_inset space ~
10318 \end_inset
10319
10320 goes in the 
10321 \family sans
10322 \SpecialChar LaTeX
10323
10324 \begin_inset space ~
10325 \end_inset
10326
10327 Preamble
10328 \family default
10329  dialog,
10330  also as usual.
10331 \end_layout
10332
10333 \begin_layout Subsubsection
10334 Layouts
10335 \end_layout
10336
10337 \begin_layout Standard
10338 The layouts basically correspond to the commands in Rev\SpecialChar TeX
10339 4.0.
10340  For example,
10341  the Email layout corresponds to 
10342 \family typewriter
10343
10344 \backslash
10345 email{}
10346 \family default
10347 .
10348  Note that (at least as of Rev\SpecialChar TeX
10349  4.0 Beta),
10350  the 
10351 \family sans
10352 Address
10353 \family default
10354  and 
10355 \family sans
10356 Affiliation
10357 \family default
10358  layouts are exactly equivalent,
10359  so you shouldn't need to use both.
10360 \begin_inset Foot
10361 status collapsed
10362
10363 \begin_layout Plain Layout
10364 In case you're curious,
10365  both were included so that 
10366 \family typewriter
10367 tex2lyx
10368 \family default
10369  would be able to translate both 
10370 \family typewriter
10371
10372 \backslash
10373 address
10374 \family default
10375  and 
10376 \family typewriter
10377
10378 \backslash
10379 affiliation
10380 \family default
10381 .
10382 \end_layout
10383
10384 \end_inset
10385
10386
10387 \end_layout
10388
10389 \begin_layout Subsubsection
10390 Important Notes
10391 \end_layout
10392
10393 \begin_layout Standard
10394 There are a couple of important unique aspects of Rev\SpecialChar TeX
10395  4 which might cause bugs that will be even more confusing in \SpecialChar LyX
10396 .
10397 \end_layout
10398
10399 \begin_layout Standard
10400 In Rev\SpecialChar TeX
10401 ,
10402  the 
10403 \family typewriter
10404
10405 \backslash
10406 thanks
10407 \family default
10408  command goes 
10409 \emph on
10410 outside
10411 \emph default
10412  the 
10413 \family typewriter
10414
10415 \backslash
10416 author
10417 \family default
10418  command.
10419  The \SpecialChar LyX
10420  equivalent is that there is a separate Thanks layout.
10421  Do 
10422 \emph on
10423 not
10424 \emph default
10425  write footnotes in the 
10426 \family sans
10427 Author
10428 \family default
10429  layout,
10430  or weird things may happen.
10431  See the Rev\SpecialChar TeX
10432  4 documentation for more details.
10433 \end_layout
10434
10435 \begin_layout Standard
10436 Also,
10437  the 
10438 \family sans
10439 Author
10440 \begin_inset space ~
10441 \end_inset
10442
10443 Email
10444 \family default
10445 ,
10446  
10447 \family sans
10448 Author
10449 \begin_inset space ~
10450 \end_inset
10451
10452 URL
10453 \family default
10454 ,
10455  and 
10456 \family sans
10457 Thanks
10458 \family default
10459  layouts must be placed 
10460 \emph on
10461 in between
10462 \emph default
10463  the 
10464 \family sans
10465 Author
10466 \family default
10467  layout and the corresponding 
10468 \family sans
10469 Address
10470 \family default
10471  (or equivalent 
10472 \family sans
10473 Affiliation
10474 \family default
10475 ) layout.
10476  If you put the 
10477 \family sans
10478 Thanks
10479 \family default
10480  after the 
10481 \family sans
10482 Address
10483 \family default
10484 ,
10485  the \SpecialChar LaTeX
10486  won't compile.
10487 \end_layout
10488
10489 \begin_layout Subsection
10490
10491 \change_inserted 564990737 1671042072
10492 Springer Journals
10493 \end_layout
10494
10495 \begin_layout Standard
10496
10497 \change_inserted 564990737 1671042072
10498 All the 
10499 \family sans
10500 svj*
10501 \family default
10502  classes were replaced 
10503 \change_deleted -712698321 1673176131
10504 in 2013 
10505 \change_inserted 564990737 1671042072
10506 with a completely new 
10507 \change_deleted -712698321 1673175919
10508
10509 \family sans
10510 sr-vorl.cls
10511 \family default
10512 .
10513  This package provides a \SpecialChar LaTeX
10514  class and templates for books to be published at Springer Gabler Research,
10515  Springer Vieweg Research,
10516  Springer Spektrum Research,
10517  Springer VS Research,
10518  or Springer VS Forschung.
10519  The documentation is available in German from 
10520 \begin_inset CommandInset href
10521 LatexCommand href
10522 name "CTAN"
10523 target "http://mirrors.ctan.org/macros/latex/contrib/springer/sr-vorl/sr-vorl.pdf"
10524 literal "false"
10525
10526 \end_inset
10527
10528 .
10529
10530 \change_inserted -712698321 1673176125
10531  class,
10532  
10533 \family sans
10534 sn-jnl.cls
10535 \family default
10536 .
10537  Please find information at 
10538 \begin_inset Flex URL
10539 status collapsed
10540
10541 \begin_layout Plain Layout
10542
10543 \change_inserted -712698321 1673176047
10544
10545 https://www.springernature.com/gp/authors/campaigns/latex-author-support
10546 \change_unchanged
10547
10548 \end_layout
10549
10550 \end_inset
10551
10552 .
10553  Native \SpecialChar LyX
10554  support is not available yet.
10555 \change_inserted 564990737 1671042072
10556
10557 \end_layout
10558
10559 \begin_layout Section
10560
10561 \change_inserted 564990737 1670439560
10562 Books
10563 \end_layout
10564
10565 \begin_layout Standard
10566
10567 \change_inserted 564990737 1670439581
10568 See also the document classes in the Collections (section
10569 \begin_inset space ~
10570 \end_inset
10571
10572
10573 \begin_inset CommandInset ref
10574 LatexCommand ref
10575 reference "sec:Collections"
10576 nolink "false"
10577
10578 \end_inset
10579
10580 ).
10581 \end_layout
10582
10583 \begin_layout Subsection
10584 Memoir
10585 \end_layout
10586
10587 \begin_layout Standard
10588 By 
10589 \noun on
10590 Jürgen Spitzmüller
10591 \end_layout
10592
10593 \begin_layout Subsubsection
10594 Overview
10595 \end_layout
10596
10597 \begin_layout Standard
10598 Memoir is a very powerful and constantly evolving class.
10599  It has been designed with regard to fictional and non-fictional literature.
10600  Its aim is to let the user have maximum control over the typesetting of his document.
10601  Memoir is based on the standard book class,
10602  but it can also emulate the article class (see below).
10603 \end_layout
10604
10605 \begin_layout Standard
10606 Peter Wilson,
10607  the developer of Memoir,
10608  is known as the author of lots of useful packages in the \SpecialChar LaTeX
10609  world.
10610  Most of them have been merged with Memoir.
10611  Therefore,
10612  it is much easier to layout the table of contents,
10613  appendices,
10614  chapter designs and such.
10615  \SpecialChar LyX
10616 ,
10617  though,
10618  does not support all of these goodies natively.
10619  Some of them might be added to forthcoming releases
10620 \begin_inset Foot
10621 status collapsed
10622
10623 \begin_layout Plain Layout
10624 You are invited to send suggestions to 
10625 \begin_inset Flex URL
10626 status collapsed
10627
10628 \begin_layout Plain Layout
10629
10630 lyx-devel@lists.lyx.org
10631 \end_layout
10632
10633 \end_inset
10634
10635 .
10636 \end_layout
10637
10638 \end_inset
10639
10640 ,
10641  lots will probably never be supported,
10642  due to the limitations of \SpecialChar LyX
10643 's framework.
10644  Of course you can still use all features with the help of some native \SpecialChar LaTeX
10645  commands (\SpecialChar TeX
10646  code
10647 \begin_inset Foot
10648 status collapsed
10649
10650 \begin_layout Plain Layout
10651 Cf.
10652 \begin_inset ERT
10653 status collapsed
10654
10655 \begin_layout Plain Layout
10656
10657
10658 \backslash
10659  
10660 \end_layout
10661
10662 \end_inset
10663
10664 section
10665 \begin_inset space ~
10666 \end_inset
10667
10668
10669 \begin_inset CommandInset ref
10670 LatexCommand ref
10671 reference "sec:Inserting-TeX-Code"
10672 nolink "false"
10673
10674 \end_inset
10675
10676  for details.
10677 \end_layout
10678
10679 \end_inset
10680
10681 ).
10682  In this section,
10683  we can only list those features that are natively supported by \SpecialChar LyX
10684 .
10685  For detailed descriptions (and for the rest of features) we recommend you have a look at the detailed manual of the Memoir class
10686 \begin_inset Foot
10687 status collapsed
10688
10689 \begin_layout Plain Layout
10690 Cf.
10691 \begin_inset ERT
10692 status collapsed
10693
10694 \begin_layout Plain Layout
10695
10696
10697 \backslash
10698  
10699 \end_layout
10700
10701 \end_inset
10702
10703
10704 \begin_inset Flex URL
10705 status collapsed
10706
10707 \begin_layout Plain Layout
10708
10709 CTAN:/macros/latex/memoir/memman.pdf
10710 \end_layout
10711
10712 \end_inset
10713
10714 .
10715 \end_layout
10716
10717 \end_inset
10718
10719 ,
10720  which is not only a user guide for the class,
10721  but also both a comprehensive description on good typesetting and a superb example for good typesetting itself.
10722 \end_layout
10723
10724 \begin_layout Subsubsection
10725 Basic features and restrictions
10726 \end_layout
10727
10728 \begin_layout Standard
10729 Memoir supports basically all features of the standard book classes.
10730  There are,
10731  however,
10732  some differences,
10733  as follows:
10734 \end_layout
10735
10736 \begin_layout Description
10737 Font
10738 \begin_inset space ~
10739 \end_inset
10740
10741 sizes:
10742  Memoir has a broader range of font sizes:
10743  9,
10744  10,
10745  11,
10746  12,
10747  14,
10748  17
10749 \end_layout
10750
10751 \begin_layout Description
10752 Page
10753 \begin_inset space ~
10754 \end_inset
10755
10756 style:
10757  The fancy page style is not supported,
10758  due to a command clash between Memoir and the fancyhdr package (they both define a command with the same name,
10759  which confuses \SpecialChar LaTeX
10760 ).
10761  Instead,
10762  Memoir comes with a number of its own page styles (see 
10763 \family sans
10764 Document\SpecialChar menuseparator
10765 Settings\SpecialChar menuseparator
10766 Page
10767 \begin_inset space ~
10768 \end_inset
10769
10770 Style
10771 \family default
10772 ).
10773  If you want to use these for the chapter pages,
10774  you have to use the command 
10775 \family typewriter
10776
10777 \backslash
10778 chapterstyle
10779 \family default
10780  in the main text or in preamble (e.
10781 \begin_inset space \thinspace{}
10782 \end_inset
10783
10784 g.
10785 \begin_inset space \space{}
10786 \end_inset
10787
10788
10789 \family typewriter
10790
10791 \backslash
10792 chapterstyle{companion}
10793 \family default
10794 ).
10795 \end_layout
10796
10797 \begin_layout Description
10798 Sectioning:
10799  Sectionings (chapter,
10800  section,
10801  subsection etc.) come with an optional argument in the standard classes.
10802  With this,
10803  you can specify an alternative version of the title for the table of contents and the headers (for instance,
10804  if the title is too long).
10805  In \SpecialChar LyX
10806 ,
10807  you can do this via 
10808 \family sans
10809 Insert\SpecialChar menuseparator
10810 Short
10811 \begin_inset space ~
10812 \end_inset
10813
10814 Title
10815 \family default
10816  at the beginning of a chapter/section.
10817  Memoir features a second optional argument and thus separates the table of contents from the header.
10818  You can define three variants of a title with this:
10819  one for the main text,
10820  one for the table of contents,
10821  and one for the headers.
10822  \SpecialChar LyX
10823  makes these available in form of specific 
10824 \family sans
10825 Short Title
10826 \family default
10827  variants in the 
10828 \family sans
10829 Insert
10830 \family default
10831  menu.
10832 \end_layout
10833
10834 \begin_layout Description
10835 TOC/LOT/LOF:
10836  In the standard classes (and in many other classes),
10837  the table of contents,
10838  the list of figures and the list of table start a new page automatically.
10839  Memoir does not follow this route.
10840  You have to insert a page break yourself,
10841  if you want to have one.
10842 \end_layout
10843
10844 \begin_layout Description
10845 Titlepage:
10846  For some unknown reason,
10847  Memoir uses pagination on the title page (in the standard classes,
10848  title pages are 
10849 \begin_inset Quotes eld
10850 \end_inset
10851
10852 empty
10853 \begin_inset Quotes erd
10854 \end_inset
10855
10856 ).
10857  If you want an empty title page,
10858  type 
10859 \family typewriter
10860
10861 \backslash
10862 aliaspagestyle{title}{empty}
10863 \family default
10864  in the preamble.
10865 \end_layout
10866
10867 \begin_layout Description
10868 Article:
10869  With the class option 
10870 \emph on
10871 article
10872 \emph default
10873  (to be inserted in 
10874 \family sans
10875 Document\SpecialChar menuseparator
10876 Settings\SpecialChar menuseparator
10877 Class Settings\SpecialChar menuseparator
10878 Custom
10879 \begin_inset space ~
10880 \end_inset
10881
10882 Options
10883 \family default
10884 ),
10885  you can emulate article style.
10886  That is,
10887  counters (footnotes,
10888  figures,
10889  tables etc.) will not be reset on new chapters,
10890  chapters don't start a new page (but are—
10891 in contrary to 
10892 \begin_inset Quotes eld
10893 \end_inset
10894
10895 real
10896 \begin_inset Quotes erd
10897 \end_inset
10898
10899  article classes—
10900 still allowed),
10901  parts,
10902  though,
10903  use their own page,
10904  as in book.
10905 \end_layout
10906
10907 \begin_layout Description
10908 Oldfontcommands:
10909  By default,
10910  Memoir does not allow the use of the deprecated font commands,
10911  which have been used in the old \SpecialChar LaTeX
10912  version 2.09 (e.
10913 \begin_inset space \thinspace{}
10914 \end_inset
10915
10916 g.
10917 \begin_inset space \space{}
10918 \end_inset
10919
10920
10921 \family typewriter
10922
10923 \backslash
10924 rm
10925 \family default
10926 ,
10927  
10928 \family typewriter
10929
10930 \backslash
10931 it
10932 \family default
10933 ).
10934  It produces an error and stops \SpecialChar LaTeX
10935  whenever such a command appears.
10936  The class option 
10937 \emph on
10938 oldfontcommands
10939 \emph default
10940  reallows the commands and spits out warnings instead (which does at least not stop \SpecialChar LaTeX
10941 ).
10942  Since a lot of packages and particularly Bib\SpecialChar TeX
10943  style files are still using those commands,
10944  we have decided to use this option by default.
10945 \end_layout
10946
10947 \begin_layout Subsubsection
10948 Extra features
10949 \end_layout
10950
10951 \begin_layout Standard
10952 We will only describe the features supported by \SpecialChar LyX
10953  (which is not much currently).
10954  Please consult the Memoir manual
10955 \begin_inset Foot
10956 status collapsed
10957
10958 \begin_layout Plain Layout
10959 Cf.
10960 \begin_inset ERT
10961 status collapsed
10962
10963 \begin_layout Plain Layout
10964
10965
10966 \backslash
10967  
10968 \end_layout
10969
10970 \end_inset
10971
10972
10973 \begin_inset Flex URL
10974 status collapsed
10975
10976 \begin_layout Plain Layout
10977
10978 CTAN:/macros/latex/memoir/memman.pdf
10979 \end_layout
10980
10981 \end_inset
10982
10983 .
10984 \end_layout
10985
10986 \end_inset
10987
10988  for details.
10989 \end_layout
10990
10991 \begin_layout Description
10992 Abstract:
10993  You may wonder why an abstract is an extra feature.
10994  Well,
10995  it is in book class.
10996  Usually books don't have abstracts.
10997  Memoir,
10998  however,
10999  has.
11000  You can use it wherever and how often you like.
11001 \end_layout
11002
11003 \begin_layout Description
11004 Chapterprecis:
11005  You may know this older typesetting style:
11006  The contents of a chapter are summarized below the title and also in the table of contents (e.
11007 \begin_inset space \thinspace{}
11008 \end_inset
11009
11010 g.
11011 \begin_inset space \space{}
11012 \end_inset
11013
11014
11015 \emph on
11016 Our hero arrives in Troia;
11017  he loses some friends;
11018  he finds others
11019 \emph default
11020 ).
11021  Chapterprecis does exactly this.
11022  It is therefore only sensible below a chapter.
11023 \end_layout
11024
11025 \begin_layout Description
11026 Epigraph:
11027  An epigraph is a smart slogan or motto at the beginning of a chapter.
11028  The epigraph environment provides an elegant way of typesetting such a motto.
11029  The motto itself (text) and its (optional) author (source) are divided by a short line.
11030  The author (source) can be inserted via 
11031 \family sans
11032 Insert\SpecialChar menuseparator
11033 Epigraph Source
11034 \family default
11035 \emph on
11036 .
11037 \end_layout
11038
11039 \begin_layout Description
11040 Poemtitle:
11041  Memoir has lots of possibilities to typeset poetry (up to very complex figurative poems).
11042  \SpecialChar LyX
11043  can only support a few of them.
11044  One is poemtitle,
11045  which is a centered title for poems,
11046  which will also be added to the table of contents (verse is the standard environment for poems.
11047  Memoir has some enhanced versions of verse,
11048  but you need to use \SpecialChar TeX
11049  code,
11050  because they have to be nested inside regular verse environments,
11051  which is not possible with \SpecialChar LyX
11052 ).
11053 \end_layout
11054
11055 \begin_layout Description
11056 Poemtitle*:
11057  Same as poemtitle,
11058  but it adds no entry to the table of contents.
11059 \end_layout
11060
11061 \begin_layout Subsection
11062
11063 \change_inserted 564990737 1671442175
11064 Recipe Book
11065 \end_layout
11066
11067 \begin_layout Standard
11068
11069 \change_inserted 564990737 1671442175
11070 The document class 
11071 \family sans
11072 Recipe
11073 \change_inserted -712698321 1673182264
11074  
11075 \change_inserted 564990737 1671442175
11076 Book
11077 \change_deleted -712698321 1673182266
11078
11079 \family typewriter
11080 .cls
11081 \change_inserted 564990737 1671442175
11082
11083 \family default
11084  uses the 
11085 \change_deleted -712698321 1673182282
11086
11087 \family sans
11088 book
11089 \begin_inset space \thinspace{}
11090 \end_inset
11091
11092 (
11093 \change_inserted 564990737 1671442175
11094 KOMA-Script
11095 \change_inserted -712698321 1673182287
11096  Book
11097 \change_deleted -712698321 1673182290
11098 )
11099 \change_inserted 564990737 1671442175
11100
11101 \family default
11102  document class but adds two environments:
11103 \end_layout
11104
11105 \begin_layout Description
11106
11107 \change_inserted 564990737 1671442175
11108 Recipe a numbered section environment at the 
11109 \family typewriter
11110 Subsubsection
11111 \family default
11112  level which generates a bold centered heading above a double horizontal rule
11113 \end_layout
11114
11115 \begin_layout Description
11116
11117 \change_inserted 564990737 1671442175
11118 Ingredients a 
11119 \family typewriter
11120 Description
11121 \family default
11122  environment where 
11123 \series bold
11124 \emph on
11125 Ingredients
11126 \series default
11127 \emph default
11128  are what are being described and the environment ends with a horizontal rule.
11129 \end_layout
11130
11131 \begin_layout Standard
11132
11133 \change_inserted 564990737 1671642866
11134
11135 \family sans
11136 File\SpecialChar menuseparator
11137 Open Example\SpecialChar menuseparator
11138 Books\SpecialChar menuseparator
11139 Recipe Book
11140 \family default
11141  illustrates its use.
11142 \end_layout
11143
11144 \begin_layout Standard
11145
11146 \change_deleted -712698321 1673186391
11147 It
11148 \change_inserted -712698321 1673186393
11149 The class
11150 \change_inserted 564990737 1671442175
11151  is designed for typesetting one or two recipes per page
11152 \change_deleted -712698321 1673199172
11153 ,
11154  with dimensions of 5.5
11155 \begin_inset Quotes qrd
11156 \end_inset
11157
11158  x 8.5
11159 \begin_inset Quotes qrd
11160 \end_inset
11161
11162
11163 \change_inserted 564990737 1671442175
11164 .
11165  The hyperlinked table of contents (ToC) and page numbers make browsing recipes convenient
11166 \change_inserted -712698321 1673186486
11167 .
11168 \change_deleted -712698321 1673186487
11169 ,
11170
11171 \change_inserted 564990737 1671442175
11172  
11173 \change_deleted -712698321 1673199346
11174 and the pages can be joined together or printed 2 per page to normal letterpaper easily.
11175  The size was chosen to work in half-page 3-ring binder cover sheets,
11176  because un-laminated paper just doesn't last in the kitchen.
11177 \end_layout
11178
11179 \begin_layout Standard
11180
11181 \change_deleted -712698321 1673199346
11182 The half-letter pages can be printed two per page using your printer driver,
11183  or bound together using 
11184 \family typewriter
11185 pdfjam --nup 2x1 --papersize '{11in,8.5in}'
11186 \family default
11187  
11188 \family typewriter
11189 Recipes.pdf
11190 \family default
11191  where 
11192 \family typewriter
11193 Recipes.pdf
11194 \family default
11195  is the compiled version of your recipes.
11196 \change_inserted -712698321 1673175424
11197
11198 \end_layout
11199
11200 \begin_layout Section
11201
11202 \change_inserted 564990737 1671442207
11203 Curricula vita
11204 \change_deleted -712698321 1673186818
11205 rum
11206 \change_inserted -712698321 1673186818
11207 e
11208 \change_inserted 564990737 1671442207
11209
11210 \end_layout
11211
11212 \begin_layout Subsection
11213
11214 \change_inserted 564990737 1671442208
11215 Europass
11216 \change_inserted -712698321 1673187876
11217  (2013)
11218 \change_inserted 564990737 1671442208
11219
11220 \end_layout
11221
11222 \begin_layout Standard
11223
11224 \change_inserted 564990737 1671642942
11225 The document class 
11226 \change_deleted -712698321 1673187623
11227
11228 \family sans
11229 curriculum
11230 \begin_inset space \space{}
11231 \end_inset
11232
11233 vitae
11234 \begin_inset space \thinspace{}
11235 \end_inset
11236
11237 (
11238 \change_inserted 564990737 1671642942
11239 Europass
11240 \change_inserted -712698321 1673187655
11241  (2013)
11242 \change_deleted -712698321 1673187624
11243 )
11244 \change_inserted 564990737 1671642942
11245
11246 \family default
11247  provides the 
11248 \family typewriter
11249 europasscv.cls
11250 \family default
11251  document class,
11252  an unofficial implementation of the ‘Europass CV’ recommended by the European Commission in 2013.
11253  
11254 \family sans
11255 File\SpecialChar menuseparator
11256 Open Example\SpecialChar menuseparator
11257 Curricula Vitae\SpecialChar menuseparator
11258 Europass 
11259 \change_deleted -712698321 1673187728
11260 CV 
11261 \change_inserted 564990737 1671642942
11262 (2013)
11263 \family default
11264  offers guidance on its use.
11265  Its documentation is available from 
11266 \begin_inset CommandInset href
11267 LatexCommand href
11268 name "CTAN"
11269 target "http://mirrors.ctan.org/macros/latex/contrib/europasscv/europasscv.pdf"
11270 literal "false"
11271
11272 \end_inset
11273
11274 .
11275 \end_layout
11276
11277 \begin_layout Subsection
11278
11279 \change_inserted 564990737 1671442208
11280 Europe
11281 \change_deleted -712698321 1673187829
11282 an
11283 \change_inserted -712698321 1673187829
11284  CV
11285 \change_inserted 564990737 1671442208
11286
11287 \end_layout
11288
11289 \begin_layout Standard
11290
11291 \change_inserted 564990737 1671642984
11292 The document class 
11293 \change_deleted -712698321 1673187820
11294
11295 \family sans
11296 curriculum
11297 \begin_inset space \space{}
11298 \end_inset
11299
11300 vitae
11301 \begin_inset space \thinspace{}
11302 \end_inset
11303
11304 (
11305 \change_inserted 564990737 1671642984
11306 Europe
11307 \change_inserted -712698321 1673187823
11308  CV
11309 \change_deleted -712698321 1673187824
11310 )
11311 \change_inserted 564990737 1671642984
11312
11313 \family default
11314  provides the 
11315 \family typewriter
11316 europecv.cls
11317 \family default
11318  document class,
11319  an unofficial implementation of the “Europass CV” recommended by the European Commission in 2002.
11320  
11321 \family sans
11322 File\SpecialChar menuseparator
11323 Open Example\SpecialChar menuseparator
11324 Curricula Vitae\SpecialChar menuseparator
11325 Europe CV
11326 \family default
11327  offers guidance on its use.
11328  Its documentation is available from 
11329 \begin_inset CommandInset href
11330 LatexCommand href
11331 name "CTAN"
11332 target "http://mirrors.ctan.org/macros/latex/contrib/europecv/europecv.pdf"
11333 literal "false"
11334
11335 \end_inset
11336
11337 .
11338 \end_layout
11339
11340 \begin_layout Subsection
11341
11342 \change_inserted 564990737 1671442208
11343 Modern
11344 \change_inserted -712698321 1673187869
11345  CV
11346 \change_inserted 564990737 1671442208
11347
11348 \end_layout
11349
11350 \begin_layout Standard
11351
11352 \change_inserted 564990737 1671643003
11353 The document class 
11354 \change_deleted -712698321 1673187880
11355
11356 \family sans
11357 curriculum
11358 \begin_inset space \space{}
11359 \end_inset
11360
11361 vitae
11362 \begin_inset space \thinspace{}
11363 \end_inset
11364
11365 (m
11366 \change_inserted -712698321 1673187880
11367 M
11368 \change_inserted 564990737 1671643003
11369 odern
11370 \change_inserted -712698321 1673187884
11371  CV
11372 \change_deleted -712698321 1673187884
11373 )
11374 \change_inserted 564990737 1671643003
11375
11376 \family default
11377  provides the 
11378 \family typewriter
11379 moderncv.cls
11380 \family default
11381  document class.
11382  This allows the creation of customizable CVs.
11383  
11384 \family sans
11385 File\SpecialChar menuseparator
11386 Open Example\SpecialChar menuseparator
11387 Curricula Vitae\SpecialChar menuseparator
11388 Modern CV
11389 \family default
11390  offers guidance on its use.
11391  Its documentation is available from 
11392 \begin_inset CommandInset href
11393 LatexCommand href
11394 name "CTAN"
11395 target "http://mirrors.ctan.org/macros/latex/contrib/moderncv/manual/moderncv_userguide.pdf"
11396 literal "false"
11397
11398 \end_inset
11399
11400 .
11401 \end_layout
11402
11403 \begin_layout Subsection
11404
11405 \change_inserted 564990737 1671442208
11406 Simple
11407 \change_inserted -712698321 1673187900
11408  CV
11409 \change_inserted 564990737 1671442208
11410
11411 \end_layout
11412
11413 \begin_layout Standard
11414
11415 \change_inserted 564990737 1671643024
11416 The document class 
11417 \change_deleted -712698321 1673187895
11418
11419 \family sans
11420 curriculum
11421 \begin_inset space \space{}
11422 \end_inset
11423
11424 vitae
11425 \begin_inset space \thinspace{}
11426 \end_inset
11427
11428 (s
11429 \change_inserted -712698321 1673187895
11430 S
11431 \change_inserted 564990737 1671643024
11432 imple
11433 \change_inserted -712698321 1673187897
11434  CV
11435 \change_deleted -712698321 1673187898
11436 )
11437 \change_inserted 564990737 1671643024
11438
11439 \family default
11440  provides the 
11441 \family typewriter
11442 simplecv.cls
11443 \family default
11444  document class,
11445  originally developed for use with \SpecialChar LyX
11446 .
11447  
11448 \family sans
11449 File\SpecialChar menuseparator
11450 Open Example\SpecialChar menuseparator
11451 Curricula Vitae\SpecialChar menuseparator
11452 Simple CV
11453 \family default
11454  offers guidance on its use.
11455  Its documentation is available from 
11456 \begin_inset CommandInset href
11457 LatexCommand href
11458 name "CTAN"
11459 target "http://mirrors.ctan.org/macros/latex/contrib/simplecv/simplecv.pdf"
11460 literal "false"
11461
11462 \end_inset
11463
11464
11465 \end_layout
11466
11467 \begin_layout Section
11468
11469 \change_inserted 564990737 1672652454
11470 Letters
11471 \end_layout
11472
11473 \begin_layout Standard
11474
11475 \change_inserted 564990737 1672652455
11476 See also the 
11477 \change_deleted -712698321 1673245882
11478
11479 \family typewriter
11480 letter
11481 \begin_inset space \space{}
11482 \end_inset
11483
11484 (KOMA-Script v.2)
11485 \change_inserted -712698321 1673245882
11486
11487 \family sans
11488 KOMA-Script Letter (V.
11489  2)
11490 \change_inserted 564990737 1672652455
11491
11492 \family default
11493  (section
11494 \begin_inset space ~
11495 \end_inset
11496
11497
11498 \begin_inset CommandInset ref
11499 LatexCommand ref
11500 reference "subsec:The-new-letter"
11501 nolink "false"
11502
11503 \end_inset
11504
11505 ) and 
11506 \change_deleted -712698321 1673245908
11507
11508 \family typewriter
11509 letter
11510 \begin_inset space \space{}
11511 \end_inset
11512
11513 (with extra font sizes)
11514 \change_inserted -712698321 1673245908
11515
11516 \family sans
11517 Letter (Standard Class with Extra Font Sizes)
11518 \change_inserted 564990737 1672652455
11519
11520 \family default
11521  (section
11522 \begin_inset space ~
11523 \end_inset
11524
11525
11526 \begin_inset CommandInset ref
11527 LatexCommand ref
11528 reference "subsec:Extra-font-sizes"
11529 nolink "false"
11530
11531 \end_inset
11532
11533 ) document classes .
11534 \end_layout
11535
11536 \begin_layout Subsection
11537
11538 \change_inserted 564990737 1671041970
11539 D
11540 \change_deleted -712698321 1673246109
11541 in
11542 \change_inserted -712698321 1673246110
11543 IN
11544 \change_inserted 564990737 1671041970
11545 -Brief
11546 \end_layout
11547
11548 \begin_layout Standard
11549
11550 \change_inserted 564990737 1671617528
11551 The document class 
11552 \family sans
11553 D
11554 \change_deleted -712698321 1673246116
11555 in
11556 \change_inserted -712698321 1673246116
11557 IN
11558 \change_inserted 564990737 1671617528
11559 -Brief
11560 \family default
11561  provides 
11562 \change_inserted -712698321 1673246192
11563 support for 
11564 \change_inserted 564990737 1671617528
11565 the 
11566 \family typewriter
11567 dinbrief.cls
11568 \family default
11569  
11570 \change_deleted -712698321 1673246242
11571 document
11572 \change_inserted -712698321 1673246242
11573 \SpecialChar LaTeX
11574
11575 \change_inserted 564990737 1671617528
11576  class for writing letters according to the
11577 \change_inserted -712698321 1673246140
11578  standards of the German Standards Institute (
11579 \change_deleted -712698321 1673246141
11580  
11581 \change_inserted 564990737 1671617528
11582
11583 \emph on
11584 Deutsches Institut für Normung
11585 \change_inserted -712698321 1673246324
11586 ,
11587  DIN)
11588 \change_deleted -712698321 1673246131
11589
11590 \emph default
11591  conventions
11592 \change_inserted 564990737 1671617528
11593 .
11594  The file in the menu 
11595 \family sans
11596 \bar under
11597 F
11598 \bar default
11599 ile\SpecialChar menuseparator
11600 New
11601 \begin_inset space ~
11602 \end_inset
11603
11604 fro
11605 \bar under
11606 m
11607 \bar default
11608
11609 \begin_inset space ~
11610 \end_inset
11611
11612 Template\SpecialChar menuseparator
11613 Letters\SpecialChar menuseparator
11614 DIN-Brief
11615 \family default
11616  offers guidance on its use.
11617  The documentation is available from 
11618 \begin_inset CommandInset href
11619 LatexCommand href
11620 name "CTAN"
11621 target "http://mirrors.ctan.org/macros/latex/contrib/dinbrief/liesmich"
11622 literal "false"
11623
11624 \end_inset
11625
11626 .
11627 \end_layout
11628
11629 \begin_layout Subsection
11630
11631 \change_deleted -712698321 1673246778
11632 frletter
11633 \change_inserted -712698321 1673246778
11634 French letter
11635 \begin_inset space \space{}
11636 \end_inset
11637
11638 (frletter)
11639 \change_unchanged
11640
11641 \end_layout
11642
11643 \begin_layout Standard
11644
11645 \change_inserted 564990737 1672652499
11646 The document class 
11647 \family sans
11648 French letter
11649 \begin_inset space \space{}
11650 \end_inset
11651
11652 (frletter)
11653 \family default
11654  provides 
11655 \change_inserted -712698321 1673246198
11656 support for 
11657 \change_inserted 564990737 1672652499
11658 the 
11659 \family typewriter
11660 frletter.cls
11661 \family default
11662  
11663 \change_deleted -712698321 1673246247
11664 document
11665 \change_inserted -712698321 1673246247
11666 \SpecialChar LaTeX
11667
11668 \change_inserted 564990737 1672652499
11669  class for writing letters according to French conventions.
11670  The file in the menu 
11671 \family sans
11672 \bar under
11673 F
11674 \bar default
11675 ile\SpecialChar menuseparator
11676 New
11677 \begin_inset space ~
11678 \end_inset
11679
11680 fro
11681 \bar under
11682 m
11683 \bar default
11684
11685 \begin_inset space ~
11686 \end_inset
11687
11688 Template\SpecialChar menuseparator
11689 Letters\SpecialChar menuseparator
11690 French letter
11691 \begin_inset space \space{}
11692 \end_inset
11693
11694 (frletter)
11695 \family default
11696  offers guidance on its use.
11697 \change_inserted -712698321 1673246876
11698
11699 \end_layout
11700
11701 \begin_layout Subsection
11702
11703 \change_inserted -712698321 1673246876
11704 French letter
11705 \begin_inset space \space{}
11706 \end_inset
11707
11708 (lettre)
11709 \end_layout
11710
11711 \begin_layout Standard
11712
11713 \change_inserted -712698321 1673246917
11714 The document class 
11715 \family sans
11716 French letter
11717 \begin_inset space \space{}
11718 \end_inset
11719
11720 (lettre)
11721 \family default
11722  provides support for 
11723 \family typewriter
11724 lettre.cls
11725 \family default
11726 ,
11727  another \SpecialChar LaTeX
11728  class for writing letters,
11729  but also faxes and envelopes,
11730  in French.
11731  The file in the menu 
11732 \family sans
11733 \bar under
11734 F
11735 \bar default
11736 ile\SpecialChar menuseparator
11737 New
11738 \begin_inset space ~
11739 \end_inset
11740
11741 fro
11742 \bar under
11743 m
11744 \bar default
11745
11746 \begin_inset space ~
11747 \end_inset
11748
11749 Template\SpecialChar menuseparator
11750 Letters\SpecialChar menuseparator
11751 French letter
11752 \begin_inset space \space{}
11753 \end_inset
11754
11755 (lettre)
11756 \family default
11757  offers guidance on its use.
11758  The documentation is available from 
11759 \begin_inset CommandInset href
11760 LatexCommand href
11761 name "CTAN"
11762 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
11763 literal "false"
11764
11765 \end_inset
11766
11767 .
11768 \change_inserted 564990737 1672652499
11769
11770 \end_layout
11771
11772 \begin_layout Subsection
11773
11774 \change_inserted 564990737 1672652499
11775 G-Brief
11776 \change_inserted -712698321 1673246804
11777  (V.
11778 \begin_inset space \thinspace{}
11779 \end_inset
11780
11781 2)
11782 \change_inserted 564990737 1672652499
11783
11784 \end_layout
11785
11786 \begin_layout Standard
11787
11788 \change_inserted 564990737 1672652499
11789 The document class 
11790 \family sans
11791 G-Brief (V.
11792 \begin_inset space \thinspace{}
11793 \end_inset
11794
11795 2)
11796 \family default
11797  provides 
11798 \change_inserted -712698321 1673246202
11799 support for 
11800 \change_inserted 564990737 1672652499
11801 the 
11802 \change_deleted -712698321 1673246498
11803 newer 
11804 \change_inserted 564990737 1672652499
11805
11806 \family typewriter
11807 g-brief2.cls
11808 \family default
11809  
11810 \change_deleted -712698321 1673246249
11811 document
11812 \change_inserted -712698321 1673246249
11813 \SpecialChar LaTeX
11814
11815 \change_inserted 564990737 1672652499
11816  class for writing letters in German.
11817  The file in the menu 
11818 \family sans
11819 \bar under
11820 F
11821 \bar default
11822 ile\SpecialChar menuseparator
11823 New
11824 \begin_inset space ~
11825 \end_inset
11826
11827 fro
11828 \bar under
11829 m
11830 \bar default
11831
11832 \begin_inset space ~
11833 \end_inset
11834
11835 Template\SpecialChar menuseparator
11836 Letters\SpecialChar menuseparator
11837 G-Brief (V.
11838 \begin_inset space \thinspace{}
11839 \end_inset
11840
11841 2)
11842 \family default
11843  offers guidance on its use.
11844  The documentation is available from 
11845 \begin_inset CommandInset href
11846 LatexCommand href
11847 name "CTAN"
11848 target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
11849 literal "false"
11850
11851 \end_inset
11852
11853 .
11854 \end_layout
11855
11856 \begin_layout Subsection
11857
11858 \change_deleted -712698321 1673246462
11859 letter
11860 \end_layout
11861
11862 \begin_layout Standard
11863
11864 \change_deleted -712698321 1673246462
11865 The document class 
11866 \family sans
11867 letter
11868 \family default
11869  provides the 
11870 \family sans
11871 letter.cls
11872 \family default
11873  document class for English letters and to create mailing labels.
11874  The file in the menu 
11875 \family sans
11876 \bar under
11877 F
11878 \bar default
11879 ile\SpecialChar menuseparator
11880 New
11881 \begin_inset space ~
11882 \end_inset
11883
11884 fro
11885 \bar under
11886 m
11887 \bar default
11888
11889 \begin_inset space ~
11890 \end_inset
11891
11892 Template\SpecialChar menuseparator
11893 Letters\SpecialChar menuseparator
11894 Letter (Standard Class)
11895 \family default
11896  offers guidance on its use.
11897 \change_inserted 564990737 1671617591
11898
11899 \end_layout
11900
11901 \begin_layout Subsection
11902
11903 \change_deleted -712698321 1673246872
11904 lettre
11905 \end_layout
11906
11907 \begin_layout Standard
11908
11909 \change_deleted -712698321 1673246872
11910 The document class 
11911 \family sans
11912 French letter
11913 \begin_inset space \space{}
11914 \end_inset
11915
11916 (lettre)
11917 \family default
11918  provides the 
11919 \family typewriter
11920 lettre.cls
11921 \family default
11922  document class for writing letters,
11923  faxes and envelopes in French.
11924  The file in the menu 
11925 \family sans
11926 \bar under
11927 F
11928 \bar default
11929 ile\SpecialChar menuseparator
11930 New
11931 \begin_inset space ~
11932 \end_inset
11933
11934 fro
11935 \bar under
11936 m
11937 \bar default
11938
11939 \begin_inset space ~
11940 \end_inset
11941
11942 Template\SpecialChar menuseparator
11943 Letters\SpecialChar menuseparator
11944 French letter
11945 \begin_inset space \space{}
11946 \end_inset
11947
11948 (lettre)
11949 \family default
11950  offers guidance on its use.
11951  The documentation is available from 
11952 \begin_inset CommandInset href
11953 LatexCommand href
11954 name "CTAN"
11955 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
11956 literal "false"
11957
11958 \end_inset
11959
11960 .
11961 \change_inserted 564990737 1672652527
11962
11963 \end_layout
11964
11965 \begin_layout Section
11966
11967 \change_inserted 564990737 1670439660
11968 Presentations
11969 \end_layout
11970
11971 \begin_layout Subsection
11972
11973 \change_inserted 564990737 1671458922
11974 Beamer
11975 \end_layout
11976
11977 \begin_layout Standard
11978
11979 \change_inserted 564990737 1671617655
11980 The document class 
11981 \change_deleted -712698321 1673255475
11982
11983 \family sans
11984 presentation
11985 \begin_inset space \thinspace{}
11986 \end_inset
11987
11988 (b
11989 \change_inserted -712698321 1673255475
11990 B
11991 \change_inserted 564990737 1671617655
11992 eamer
11993 \change_deleted -712698321 1673255477
11994 )
11995 \change_inserted 564990737 1671617655
11996
11997 \family default
11998  uses the 
11999 \family typewriter
12000 beamer.cls
12001 \family default
12002  
12003 \change_deleted -712698321 1673255496
12004 document
12005 \change_inserted -712698321 1673255496
12006 \SpecialChar LaTeX
12007
12008 \change_inserted 564990737 1671617655
12009  class for creating presentations.
12010  The file in the menu 
12011 \family sans
12012 \bar under
12013 F
12014 \bar default
12015 ile\SpecialChar menuseparator
12016 New
12017 \begin_inset space ~
12018 \end_inset
12019
12020 fro
12021 \bar under
12022 m
12023 \bar default
12024
12025 \begin_inset space ~
12026 \end_inset
12027
12028 Template\SpecialChar menuseparator
12029 Presentations\SpecialChar menuseparator
12030 Beamer
12031 \family default
12032  
12033 \change_inserted -712698321 1673257500
12034 or 
12035 \family sans
12036 Help\SpecialChar menuseparator
12037 Specific Manuals\SpecialChar menuseparator
12038 Beamer Presentations
12039 \family default
12040  
12041 \change_inserted 564990737 1671617655
12042 offers guidance on its use.
12043  The documentation is available from 
12044 \begin_inset CommandInset href
12045 LatexCommand href
12046 name "CTAN"
12047 target "http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf"
12048 literal "false"
12049
12050 \end_inset
12051
12052 .
12053 \end_layout
12054
12055 \begin_layout Subsection
12056
12057 \change_deleted -712698321 1673255766
12058 Foils [aka 
12059 \change_unchanged
12060
12061 \family sans
12062 Foil\SpecialChar TeX
12063
12064 \change_deleted -712698321 1673255767
12065
12066 \family default
12067 ]
12068 \change_unchanged
12069
12070 \begin_inset CommandInset label
12071 LatexCommand label
12072 name "sec:foiltex"
12073
12074 \end_inset
12075
12076
12077 \end_layout
12078
12079 \begin_layout Standard
12080
12081 \change_inserted 564990737 1672743383
12082 Original by 
12083 \noun on
12084 Allan Rae
12085 \noun default
12086 ;
12087  updated by the \SpecialChar LyX
12088  Team
12089 \end_layout
12090
12091 \begin_layout Subsubsection
12092
12093 \change_inserted 564990737 1672743383
12094 Introduction
12095 \end_layout
12096
12097 \begin_layout Standard
12098
12099 \change_inserted 564990737 1672743396
12100 The document class 
12101 \change_deleted -712698321 1673255761
12102
12103 \family sans
12104 presentation
12105 \begin_inset space \thinspace{}
12106 \end_inset
12107
12108 (
12109 \change_inserted 564990737 1672743396
12110 Foil\SpecialChar TeX
12111
12112 \change_deleted -712698321 1673255763
12113 )
12114 \change_inserted 564990737 1672743396
12115
12116 \family default
12117  uses the 
12118 \family typewriter
12119 foils.cls
12120 \family default
12121  document class to make slides for overhead projectors.
12122  There are two document classes that can do this:
12123  the 
12124 \change_deleted -712698321 1673256124
12125
12126 \family sans
12127 presentations
12128 \begin_inset space \thinspace{}
12129 \end_inset
12130
12131 (s
12132 \change_inserted -712698321 1673256124
12133 S
12134 \change_inserted 564990737 1672743396
12135 lides
12136 \change_deleted -712698321 1673256130
12137 )
12138 \change_inserted 564990737 1672743396
12139
12140 \family default
12141  document class (section
12142 \begin_inset space ~
12143 \end_inset
12144
12145
12146 \begin_inset CommandInset ref
12147 LatexCommand ref
12148 reference "sec:slitex"
12149 plural "false"
12150 caps "false"
12151 noprefix "false"
12152 nolink "false"
12153
12154 \end_inset
12155
12156 ) and the 
12157 \family sans
12158 Foil\SpecialChar TeX
12159
12160 \family default
12161  slides class.
12162  As of 2023 the former has continued to be maintained whereas 
12163 \family sans
12164 Foil\SpecialChar TeX
12165
12166 \family default
12167  has not been maintained since 2008.
12168  This section documents the latter.
12169  If your machine doesn’t have the 
12170 \change_deleted -712698321 1673256264
12171
12172 \family sans
12173 presentation
12174 \begin_inset space \thinspace{}
12175 \end_inset
12176
12177 (
12178 \change_inserted 564990737 1672743396
12179 Foil\SpecialChar TeX
12180
12181 \change_deleted -712698321 1673256265
12182 )
12183 \change_inserted 564990737 1672743396
12184
12185 \family default
12186  document class installed,
12187  you’ll probably have to use the 
12188 \change_deleted -712698321 1673256271
12189
12190 \family sans
12191 presentations
12192 \begin_inset space \thinspace{}
12193 \end_inset
12194
12195 (s
12196 \change_inserted -712698321 1673256271
12197 S
12198 \change_inserted 564990737 1672743396
12199 lides
12200 \change_deleted -712698321 1673256273
12201 )
12202 \change_inserted 564990737 1672743396
12203
12204 \family default
12205  document class.
12206  If you want to install the 
12207 \family typewriter
12208 foils.cls
12209 \family default
12210  document class,
12211  it is available from 
12212 \begin_inset CommandInset href
12213 LatexCommand href
12214 name "CTAN"
12215 target "https://www.ctan.org/pkg/foiltex"
12216 literal "false"
12217
12218 \end_inset
12219
12220 .
12221  You should also read the 
12222 \emph on
12223 Installing New Document Classes
12224 \emph default
12225  chapter of the 
12226 \emph on
12227 Customization
12228 \emph default
12229  manual.
12230 \change_deleted 564990737 1672743436
12231 by 
12232 \noun on
12233 Allan Rae
12234 \end_layout
12235
12236 \begin_layout Standard
12237
12238 \change_deleted 564990737 1672743383
12239 Introduction
12240 \end_layout
12241
12242 \begin_layout Standard
12243
12244 \change_deleted 564990737 1672743383
12245 This section describes how to use \SpecialChar LyX
12246  to make slides for overhead projectors.
12247  There are two document classes that can do this:
12248  the default slides class and the 
12249 \family sans
12250 Foil\SpecialChar TeX
12251
12252 \family default
12253  slides class.
12254  This section documents the latter.
12255 \end_layout
12256
12257 \begin_layout Standard
12258
12259 \change_deleted 564990737 1672743383
12260 I'm going to say this again,
12261  nice and clear,
12262  so that there's no misunderstanding:
12263 \end_layout
12264
12265 \begin_layout Standard
12266
12267 \change_deleted 564990737 1672743383
12268 \begin_inset VSpace bigskip
12269 \end_inset
12270
12271
12272 \end_layout
12273
12274 \begin_layout Standard
12275 \align center
12276
12277 \change_deleted 564990737 1672743383
12278
12279 \size large
12280 This section documents the class 
12281 \begin_inset Quotes eld
12282 \end_inset
12283
12284
12285 \family sans
12286 FoilTeX
12287 \family default
12288
12289 \begin_inset Quotes erd
12290 \end_inset
12291
12292  
12293 \emph on
12294 only.
12295 \end_layout
12296
12297 \begin_layout Standard
12298
12299 \change_deleted 564990737 1672743383
12300 \begin_inset VSpace bigskip
12301 \end_inset
12302
12303
12304 \end_layout
12305
12306 \begin_layout Standard
12307
12308 \change_deleted 564990737 1672743383
12309 If you're looking for the documentation for 
12310 \begin_inset Quotes eld
12311 \end_inset
12312
12313
12314 \family sans
12315 slides (default)
12316 \family default
12317
12318 \begin_inset Quotes erd
12319 \end_inset
12320
12321 ,
12322  check out section
12323 \begin_inset space ~
12324 \end_inset
12325
12326
12327 \begin_inset CommandInset ref
12328 LatexCommand ref
12329 reference "sec:slitex"
12330 nolink "false"
12331
12332 \end_inset
12333
12334 .
12335  If your machine doesn't have the 
12336 \family sans
12337 foils
12338 \family default
12339  class 
12340 \family sans
12341 FoilTeX
12342 \family default
12343  installed,
12344  you'll probably have to use the default 
12345 \family sans
12346 slides
12347 \family default
12348  class,
12349  which isn't quite as good as 
12350 \family sans
12351 foils.
12352 \end_layout
12353
12354 \begin_layout Standard
12355
12356 \change_deleted 564990737 1672743383
12357 The 
12358 \family sans
12359 foils
12360 \family default
12361  class is designed for use with version
12362 \begin_inset space ~
12363 \end_inset
12364
12365 2.1 of the 
12366 \family sans
12367 foils.cls
12368 \family default
12369  \SpecialChar LaTeX
12370  class file which is now an integral part of \SpecialChar LaTeX2e
12371 .
12372 \change_unchanged
12373
12374 \end_layout
12375
12376 \begin_layout Subsubsection
12377 Getting Started
12378 \end_layout
12379
12380 \begin_layout Standard
12381 Obviously,
12382  to use this document class,
12383  you need to select 
12384 \family sans
12385 FoilTeX
12386 \family default
12387  from the 
12388 \family sans
12389 Class
12390 \family default
12391  entry in the 
12392 \family sans
12393 Document
12394 \begin_inset space ~
12395 \end_inset
12396
12397 Layout
12398 \family default
12399  dialog.
12400  There are some settings in the 
12401 \family sans
12402 Document
12403 \begin_inset space ~
12404 \end_inset
12405
12406 Layout
12407 \family default
12408  dialog that you should know about that are specific to this class:
12409 \end_layout
12410
12411 \begin_layout Itemize
12412 Don't change the options 
12413 \family sans
12414 Sides
12415 \family default
12416  and 
12417 \family sans
12418 Columns
12419 \family default
12420  on the 
12421 \family sans
12422 Document
12423 \begin_inset space ~
12424 \end_inset
12425
12426 Layout
12427 \family default
12428  dialog.
12429  They're ignored by the 
12430 \family sans
12431 foils
12432 \family default
12433  class.
12434 \end_layout
12435
12436 \begin_layout Itemize
12437 The default font size is 20
12438 \begin_inset space \thinspace{}
12439 \end_inset
12440
12441 pt with the other options being 17
12442 \begin_inset space \thinspace{}
12443 \end_inset
12444
12445 pt,
12446  25
12447 \begin_inset space \thinspace{}
12448 \end_inset
12449
12450 pt and 30
12451 \begin_inset space \thinspace{}
12452 \end_inset
12453
12454 pt.
12455 \end_layout
12456
12457 \begin_layout Itemize
12458 The default font is 
12459 \family sans
12460 sans
12461 \family default
12462  
12463 \family sans
12464 serif
12465 \family default
12466  but all math equations are still typeset in the usual roman font.
12467 \end_layout
12468
12469 \begin_layout Itemize
12470
12471 \family sans
12472 Foil\SpecialChar TeX
12473
12474 \family default
12475  supports A4 and Letter paper sizes as well as a special size for working with 35
12476 \begin_inset space \thinspace{}
12477 \end_inset
12478
12479 mm slides.
12480  It doesn't support A5,
12481  B5,
12482  legal or executive paper sizes.
12483 \end_layout
12484
12485 \begin_layout Itemize
12486 Don't bother changing the 
12487 \family sans
12488 Float Placement
12489 \family default
12490  settings because they are ignored anyway.
12491  All floats appear where they are defined in the text.
12492 \end_layout
12493
12494 \begin_layout Itemize
12495 The 
12496 \family sans
12497 Pagestyle
12498 \family default
12499  setting behaves a bit differently for this class.
12500  
12501 \family sans
12502 Foil\SpecialChar TeX
12503
12504 \family default
12505  provides extensive footer and header capabilities including a user-defined logo.
12506  See section
12507 \begin_inset space ~
12508 \end_inset
12509
12510
12511 \begin_inset CommandInset ref
12512 LatexCommand ref
12513 reference "sec:foilfoot"
12514 nolink "false"
12515
12516 \end_inset
12517
12518  for more details.
12519  The title page is treated differently to all other pages in the document and is 
12520 \emph on
12521 always
12522 \emph default
12523  unnumbered and 
12524 \emph on
12525 always
12526 \emph default
12527  has the logo centered at the bottom of the page (if one is defined).
12528  The possible page style choices and what they do are as follows:
12529 \end_layout
12530
12531 \begin_deeper
12532 \begin_layout Labeling
12533 \labelwidthstring MMMMMMM
12534
12535 \family sans
12536 \series bold
12537 empty
12538 \family default
12539 \series default
12540  The final output contains no page numbers,
12541  or other headers or footers (except footnotes of course).
12542  
12543 \end_layout
12544
12545 \begin_layout Labeling
12546 \labelwidthstring MMMMMMM
12547
12548 \family sans
12549 \series bold
12550 plain
12551 \family default
12552 \series default
12553  The final output contains page numbers centered at the bottom of the page.
12554  No other headings or footers (other than footnotes).
12555 \end_layout
12556
12557 \begin_layout Labeling
12558 \labelwidthstring MMMMMMM
12559
12560 \series bold
12561 foilheadings
12562 \series default
12563  Page numbers in lower right corner.
12564  Additional headers and footers are also shown.
12565  This is also the default.
12566 \end_layout
12567
12568 \begin_layout Labeling
12569 \labelwidthstring MMMMMMM
12570
12571 \series bold
12572 fancy
12573 \series default
12574  Gives you access to the 
12575 \family sans
12576 fancyheadings
12577 \family default
12578  package although its use with 
12579 \family sans
12580 Foil\SpecialChar TeX
12581
12582 \family default
12583  is discouraged by the writer of the 
12584 \family sans
12585 Foil\SpecialChar TeX
12586
12587 \family default
12588  package because of some potential page layout clashes.
12589 \end_layout
12590
12591 \end_deeper
12592 \begin_layout Paragraph
12593 Extra Options
12594 \end_layout
12595
12596 \begin_layout Standard
12597 The following options may be used in the extra class options in the 
12598 \family sans
12599 Document\SpecialChar menuseparator
12600 Settings
12601 \family default
12602  dialog.
12603 \end_layout
12604
12605 \begin_layout Labeling
12606 \labelwidthstring MMMMMMx
12607
12608 \series bold
12609 35mmSlide
12610 \series default
12611  This sets up the page layout for 7.33
12612 \begin_inset space \thinspace{}
12613 \end_inset
12614
12615 in by 11
12616 \begin_inset space \thinspace{}
12617 \end_inset
12618
12619 in paper,
12620  which is about the same aspect ratio as a 35
12621 \begin_inset space \thinspace{}
12622 \end_inset
12623
12624 mm slide,
12625  making it a bit easier to work with this medium.
12626 \end_layout
12627
12628 \begin_layout Labeling
12629 \labelwidthstring MMMMMMx
12630
12631 \series bold
12632 headrule
12633 \series default
12634  Places a rule across the page below the header on every page except the title page.
12635 \end_layout
12636
12637 \begin_layout Labeling
12638 \labelwidthstring MMMMMMx
12639
12640 \series bold
12641 footrule
12642 \series default
12643  Places a rule across the page above the footer on every page except the title page.
12644 \end_layout
12645
12646 \begin_layout Labeling
12647 \labelwidthstring MMMMMMx
12648
12649 \series bold
12650 dvips
12651 \series default
12652  This is automatically set each time you create a new 
12653 \family sans
12654 foils
12655 \family default
12656  document.
12657  This option tells 
12658 \family sans
12659 Foil\SpecialChar TeX
12660
12661 \family default
12662  to use the dvips driver to rotate those pages that are set as landscape foils.
12663 \end_layout
12664
12665 \begin_layout Labeling
12666 \labelwidthstring MMMMMMx
12667
12668 \series bold
12669 landscape
12670 \series default
12671  Simply changes the page dimensions to those of a landscape page but doesn't do any rotation.
12672  Thus if you use this option you need to use an external program to rotate each page or feed your paper through your printer as landscape.
12673  Note that this option effectively reverses the roles of the 
12674 \family sans
12675 Foilhead
12676 \family default
12677  and 
12678 \family sans
12679 Rotatefoilhead
12680 \family default
12681  environments (don't worry these are described in the next section).
12682 \end_layout
12683
12684 \begin_layout Labeling
12685 \labelwidthstring MMMMMMx
12686
12687 \series bold
12688 leqno
12689 \series default
12690  Equation numbers on the left.
12691 \end_layout
12692
12693 \begin_layout Labeling
12694 \labelwidthstring MMMMMMx
12695
12696 \series bold
12697 fleqn
12698 \series default
12699  Flush-left equations.
12700 \end_layout
12701
12702 \begin_layout Subsubsection
12703 Supported Environments
12704 \end_layout
12705
12706 \begin_layout Standard
12707 Most of the environments commonly supported in other classes are also supported by the 
12708 \change_deleted -712698321 1673256683
12709
12710 \family sans
12711 foils
12712 \change_inserted -712698321 1673256683
12713 Foil\SpecialChar TeX
12714
12715 \change_unchanged
12716
12717 \family default
12718  class.
12719  There are several additional environments provided by 
12720 \family sans
12721 Foil\SpecialChar TeX
12722
12723 \family default
12724  as well as a couple added by \SpecialChar LyX
12725 .
12726  The following environments are shared with other classes:
12727 \end_layout
12728
12729 \begin_layout Standard
12730 \begin_inset Flex Multiple Columns
12731 status open
12732
12733 \begin_layout Itemize
12734
12735 \family sans
12736 Standard
12737 \end_layout
12738
12739 \begin_layout Itemize
12740
12741 \family sans
12742 Itemize
12743 \end_layout
12744
12745 \begin_layout Itemize
12746
12747 \family sans
12748 Enumerate
12749 \end_layout
12750
12751 \begin_layout Itemize
12752
12753 \family sans
12754 Description
12755 \end_layout
12756
12757 \begin_layout Itemize
12758
12759 \family sans
12760 List
12761 \end_layout
12762
12763 \begin_layout Itemize
12764
12765 \family sans
12766 \SpecialChar LyX
12767 -Code
12768 \end_layout
12769
12770 \begin_layout Itemize
12771
12772 \family sans
12773 Verse
12774 \end_layout
12775
12776 \begin_layout Itemize
12777
12778 \family sans
12779 Quote
12780 \end_layout
12781
12782 \begin_layout Itemize
12783
12784 \family sans
12785 Quotation
12786 \end_layout
12787
12788 \begin_layout Itemize
12789
12790 \family sans
12791 Title
12792 \change_inserted -712698321 1673256734
12793
12794 \end_layout
12795
12796 \begin_layout Itemize
12797
12798 \family sans
12799 Author
12800 \end_layout
12801
12802 \begin_layout Itemize
12803
12804 \family sans
12805 Date
12806 \end_layout
12807
12808 \begin_layout Itemize
12809
12810 \family sans
12811 Abstract
12812 \end_layout
12813
12814 \begin_layout Itemize
12815
12816 \family sans
12817 Bibliography
12818 \end_layout
12819
12820 \begin_layout Itemize
12821
12822 \family sans
12823 Address
12824 \end_layout
12825
12826 \begin_layout Itemize
12827
12828 \family sans
12829 RightAddress
12830 \end_layout
12831
12832 \end_inset
12833
12834
12835 \end_layout
12836
12837 \begin_layout Standard
12838 That is,
12839  all the major environments apart from the sectioning environments.
12840  Since foils are essentially self-contained sections,
12841  with a title and body,
12842  
12843 \family sans
12844 Foil\SpecialChar TeX
12845
12846 \family default
12847  provides specific commands for starting new foils and these are:
12848 \end_layout
12849
12850 \begin_layout Itemize
12851
12852 \family sans
12853 Foilhead
12854 \end_layout
12855
12856 \begin_layout Itemize
12857
12858 \family sans
12859 Rotatefoilhead
12860 \end_layout
12861
12862 \begin_layout Standard
12863 \SpecialChar LyX
12864  also provides slightly modified versions of these two environments called:
12865 \end_layout
12866
12867 \begin_layout Itemize
12868
12869 \family sans
12870 ShortFoilhead
12871 \end_layout
12872
12873 \begin_layout Itemize
12874
12875 \family sans
12876 ShortRotatefoilhead
12877 \end_layout
12878
12879 \begin_layout Standard
12880 and the differences will be explained in the next section.
12881 \end_layout
12882
12883 \begin_layout Standard
12884 Since foils are often used in presenting ideas or new theorems and such 
12885 \family sans
12886 Foil\SpecialChar TeX
12887
12888 \family default
12889  also provides a comprehensive box of goodies for presenting them:
12890 \end_layout
12891
12892 \begin_layout Standard
12893 \begin_inset Flex Multiple Columns
12894 status open
12895
12896 \begin_layout Itemize
12897
12898 \family sans
12899 Theorem
12900 \end_layout
12901
12902 \begin_layout Itemize
12903
12904 \family sans
12905 Lemma
12906 \end_layout
12907
12908 \begin_layout Itemize
12909
12910 \family sans
12911 Corollary
12912 \end_layout
12913
12914 \begin_layout Itemize
12915
12916 \family sans
12917 Proposition
12918 \end_layout
12919
12920 \begin_layout Itemize
12921
12922 \family sans
12923 Definition
12924 \end_layout
12925
12926 \begin_layout Itemize
12927
12928 \family sans
12929 Proof
12930 \end_layout
12931
12932 \begin_layout Itemize
12933
12934 \family sans
12935 Theorem*
12936 \end_layout
12937
12938 \begin_layout Itemize
12939
12940 \family sans
12941 Lemma*
12942 \end_layout
12943
12944 \begin_layout Itemize
12945
12946 \family sans
12947 Corollary*
12948 \end_layout
12949
12950 \begin_layout Itemize
12951
12952 \family sans
12953 Proposition*
12954 \end_layout
12955
12956 \begin_layout Itemize
12957
12958 \family sans
12959 Definition*
12960 \end_layout
12961
12962 \end_inset
12963
12964
12965 \end_layout
12966
12967 \begin_layout Standard
12968 The starred versions are unnumbered while the unstarred versions are numbered.
12969  There are also two list environments added by \SpecialChar LyX
12970  and these are:
12971 \end_layout
12972
12973 \begin_layout Itemize
12974
12975 \family sans
12976 TickList
12977 \end_layout
12978
12979 \begin_layout Itemize
12980
12981 \family sans
12982 CrossList
12983 \end_layout
12984
12985 \begin_layout Standard
12986
12987 \family sans
12988 Foil\SpecialChar TeX
12989
12990 \family default
12991  provides some powerful header and footer capabilities that are best set in the preamble although they may be set at any point in a document.
12992  If you want to change these settings in your document the best place to do so is at the very top of a foil,
12993  i.
12994 \begin_inset space \thinspace{}
12995 \end_inset
12996
12997 e.
12998 \emph on
12999
13000 \begin_inset space \space{}
13001 \end_inset
13002
13003
13004 \emph default
13005 straight after the foilhead.
13006 \end_layout
13007
13008 \begin_layout Standard
13009 For this purpose,
13010  the following command styles are provided [
13011 \shape smallcaps
13012 Martin Vermeer
13013 \shape default
13014 ]:
13015 \end_layout
13016
13017 \begin_layout Standard
13018 \begin_inset Flex Multiple Columns
13019 status open
13020
13021 \begin_layout Itemize
13022
13023 \family sans
13024 My
13025 \begin_inset space ~
13026 \end_inset
13027
13028 Logo
13029 \end_layout
13030
13031 \begin_layout Itemize
13032
13033 \family sans
13034 Restriction
13035 \end_layout
13036
13037 \begin_layout Itemize
13038
13039 \family sans
13040 Right
13041 \begin_inset space ~
13042 \end_inset
13043
13044 Footer
13045 \end_layout
13046
13047 \begin_layout Itemize
13048
13049 \family sans
13050 Right
13051 \begin_inset space ~
13052 \end_inset
13053
13054 Header
13055 \end_layout
13056
13057 \begin_layout Itemize
13058
13059 \family sans
13060 Left
13061 \begin_inset space ~
13062 \end_inset
13063
13064 Header
13065 \end_layout
13066
13067 \begin_deeper
13068 \begin_layout Plain Layout
13069 \begin_inset space ~
13070 \end_inset
13071
13072
13073 \end_layout
13074
13075 \end_deeper
13076 \end_inset
13077
13078
13079 \end_layout
13080
13081 \begin_layout Standard
13082 There are also a few commands provided by 
13083 \family sans
13084 Foil\SpecialChar TeX
13085
13086 \family default
13087  that aren't directly supported by \SpecialChar LyX
13088  but I'll tell you what they do and how to use them in section
13089 \begin_inset space ~
13090 \end_inset
13091
13092
13093 \begin_inset CommandInset ref
13094 LatexCommand ref
13095 reference "sec:unsuppfoils"
13096 nolink "false"
13097
13098 \end_inset
13099
13100 .
13101 \end_layout
13102
13103 \begin_layout Subsubsection
13104 Building a Set of Foils
13105 \end_layout
13106
13107 \begin_layout Standard
13108 This section will give a simple introduction to using the different environments to build a set of foils.
13109  If you want to see an example set of foils,
13110  take a look at 
13111 \change_deleted 564990737 1671643085
13112 the 
13113 \family typewriter
13114 Foils.lyx
13115 \family default
13116  file you find in \SpecialChar LyX
13117 's 
13118 \family typewriter
13119 examples
13120 \family default
13121  folder
13122 \change_inserted 564990737 1671643099
13123
13124 \family sans
13125 File\SpecialChar menuseparator
13126 Open Example\SpecialChar menuseparator
13127 Presentations\SpecialChar menuseparator
13128 Foils
13129 \change_unchanged
13130
13131 \family default
13132 .
13133 \end_layout
13134
13135 \begin_layout Paragraph
13136 Give It a Title Page
13137 \end_layout
13138
13139 \begin_layout Standard
13140 Unlike other classes that provide 
13141 \family sans
13142 Title
13143 \family default
13144 ,
13145  
13146 \family sans
13147 Author
13148 \family default
13149 ,
13150  
13151 \family sans
13152 Date
13153 \family default
13154  and 
13155 \family sans
13156 Abstract
13157 \family default
13158  environments,
13159  
13160 \change_deleted -712698321 1673256940
13161
13162 \family sans
13163 foils
13164 \change_inserted -712698321 1673256940
13165
13166 \lang ngerman
13167 FoilTeX
13168 \change_unchanged
13169
13170 \family default
13171 \lang english
13172  creates the title on a page of its own.
13173  If you leave out the 
13174 \family sans
13175 Date
13176 \family default
13177  environment \SpecialChar LaTeX
13178  will substitute the current date (every time you regenerate the output).
13179 \end_layout
13180
13181 \begin_layout Paragraph
13182 Start a New Foil
13183 \end_layout
13184
13185 \begin_layout Standard
13186 As I mentioned earlier,
13187  there are four ways of starting a new foil.
13188  For portrait foils you should use 
13189 \family sans
13190 Foilhead
13191 \family default
13192  or 
13193 \family sans
13194 ShortFoilhead.
13195
13196 \family default
13197  The difference between these two environments is the amount of space between the title of the foil (the foilhead) and the body of the foil.
13198 \end_layout
13199
13200 \begin_layout Standard
13201 Landscape foils are generated using the 
13202 \family sans
13203 Rotatefoilhead
13204 \family default
13205  and 
13206 \family sans
13207 ShortRotatefoilhead
13208 \family default
13209  environments.
13210  Again the only difference is the spacing between foilhead and body.
13211  Both of the short versions have 0.5
13212 \begin_inset space ~
13213 \end_inset
13214
13215 inches less separation between the foilhead and the body.
13216  
13217 \end_layout
13218
13219 \begin_layout Standard
13220 One problem with the support for landscape foils is the requirement that you have to use the 
13221 \family typewriter
13222 dvips
13223 \family default
13224  driver to generate the PostScript output otherwise the foils won't be rotated.
13225  It is possible to get landscape foils even if you haven't got the 
13226 \family typewriter
13227 dvips
13228 \family default
13229  driver provided you can feed your foils sideways through your printer ;-)
13230 \end_layout
13231
13232 \begin_layout Paragraph
13233 Theorems,
13234  Lemmas,
13235  Proofs and more
13236 \end_layout
13237
13238 \begin_layout Standard
13239 You can't have two of the same type of these environments directly following each other.
13240  If you use a normal paragraph break,
13241  ,
13242  you will just be extending the previous environment as if you had merged the two environments together.
13243  Rather than that,
13244  you need to insert a so-called separator.
13245  Please refer to the section entitled 
13246 \emph on
13247 Separate Nestings
13248 \emph default
13249  in the 
13250 \emph on
13251 User's Guide
13252 \emph default
13253 .
13254 \end_layout
13255
13256 \begin_layout Paragraph
13257 Lists
13258 \end_layout
13259
13260 \begin_layout Standard
13261 You get all the commonly supported list styles found in other classes as well as two new ones.
13262  I'll only describe the new ones here.
13263  If you want to find out more about the other list environments check out the 
13264 \emph on
13265 User's Guide.
13266
13267 \emph default
13268  If you intend to use itemized lists you might also want to read about the 
13269 \family sans
13270 Itemize
13271 \begin_inset space ~
13272 \end_inset
13273
13274 Bullet
13275 \begin_inset space ~
13276 \end_inset
13277
13278 Selection
13279 \family default
13280  dialog described above in section
13281 \begin_inset space ~
13282 \end_inset
13283
13284
13285 \change_inserted 564990737 1671355684
13286
13287 \begin_inset CommandInset ref
13288 LatexCommand ref
13289 reference "chap:bullets"
13290 nolink "false"
13291
13292 \end_inset
13293
13294
13295 \change_deleted 564990737 1671355684
13296
13297 \begin_inset CommandInset ref
13298 LatexCommand ref
13299 reference "sec:bullet"
13300 nolink "false"
13301
13302 \end_inset
13303
13304
13305 \change_unchanged
13306 .
13307 \end_layout
13308
13309 \begin_layout Standard
13310 The two new list styles,
13311  
13312 \family sans
13313 TickList
13314 \family default
13315  and 
13316 \family sans
13317 CrossList
13318 \family default
13319 ,
13320  are designed to make it easier for you to create lists of do's and don'ts or right and wrong by providing dedicated environments that use a tick or a cross as the label of the list.
13321  These lists are in fact dedicated variants of the 
13322 \family sans
13323 Itemize
13324 \family default
13325  environment.
13326  They do however require that you have the 
13327 \family typewriter
13328 psnfss
13329 \family default
13330  packages installed.
13331 \end_layout
13332
13333 \begin_layout Paragraph
13334 Figures and Tables
13335 \end_layout
13336
13337 \begin_layout Standard
13338
13339 \family sans
13340 Foil\SpecialChar TeX
13341
13342 \family default
13343  redefines the floating tables and figures so that they appear exactly where they are in the text rather than pushing them to the top of the page or to some user specified location.
13344  In fact if you change the float placement settings they are simply ignored.
13345 \end_layout
13346
13347 \begin_layout Paragraph
13348 Page Headers and Footers
13349 \begin_inset CommandInset label
13350 LatexCommand label
13351 name "sec:foilfoot"
13352
13353 \end_inset
13354
13355
13356 \end_layout
13357
13358 \begin_layout Standard
13359
13360 \family sans
13361 My
13362 \begin_inset space ~
13363 \end_inset
13364
13365 Logo
13366 \family default
13367  and 
13368 \family sans
13369 Restriction
13370 \family default
13371  are two commands used to control the left-footer text string.
13372  The first is meant to allow you to include a graphic logo on your foils and defaults to 
13373 \begin_inset Quotes eld
13374 \end_inset
13375
13376 -Typeset by 
13377 \family sans
13378 Foil\SpecialChar TeX
13379
13380 \family default
13381 -
13382 \begin_inset Quotes erd
13383 \end_inset
13384
13385 .
13386  While the second is meant to provide a classification for the audience,
13387  
13388 \emph on
13389 e.
13390 \begin_inset space \thinspace{}
13391 \end_inset
13392
13393 g.
13394 \emph default
13395
13396 \begin_inset space \space{}
13397 \end_inset
13398
13399 Confidential.
13400  It is empty by default.
13401 \end_layout
13402
13403 \begin_layout Standard
13404 The remaining page corners can be filled by 
13405 \family sans
13406 Right
13407 \begin_inset space ~
13408 \end_inset
13409
13410 Footer
13411 \family default
13412  (which defaults to page numbers),
13413  
13414 \family sans
13415 Right
13416 \begin_inset space ~
13417 \end_inset
13418
13419 Header
13420 \family default
13421  (top right) and 
13422 \family sans
13423 Left
13424 \begin_inset space ~
13425 \end_inset
13426
13427 Header
13428 \family default
13429  (top left).
13430 \end_layout
13431
13432 \begin_layout Subsubsection
13433 Unsupported 
13434 \family sans
13435 Foil\SpecialChar TeX
13436
13437 \family default
13438  Goodies
13439 \begin_inset CommandInset label
13440 LatexCommand label
13441 name "sec:unsuppfoils"
13442
13443 \end_inset
13444
13445
13446 \end_layout
13447
13448 \begin_layout Standard
13449 All the commands mentioned below need to be set in a 
13450 \family sans
13451 \SpecialChar LaTeX
13452
13453 \family default
13454  environment or as 
13455 \family sans
13456 \SpecialChar TeX
13457
13458 \family default
13459  within another environment.
13460 \end_layout
13461
13462 \begin_layout Paragraph
13463 Lengths
13464 \end_layout
13465
13466 \begin_layout Standard
13467 All lengths are adjusted using the 
13468 \family typewriter
13469
13470 \backslash
13471 setlength{
13472 \family default
13473 \emph on
13474 lengthname
13475 \family typewriter
13476 \emph default
13477 }{
13478 \family default
13479 \emph on
13480 newlength
13481 \family typewriter
13482 \emph default
13483 }
13484 \family default
13485  command.
13486  Where 
13487 \emph on
13488 lengthname
13489 \emph default
13490  should be replaced by the name given to the length you want to change and 
13491 \emph on
13492 newlength
13493 \emph default
13494  is the length value.
13495  All lengths should be specified in units of length such as inches (
13496 \family typewriter
13497 in
13498 \family default
13499 ),
13500  millimeters (
13501 \family typewriter
13502 mm
13503 \family default
13504 ) or points (
13505 \family typewriter
13506 pt
13507 \family default
13508 ) or relative to some document or font-based length such as 
13509 \family typewriter
13510
13511 \backslash
13512 textwidth
13513 \family default
13514 .
13515  
13516 \end_layout
13517
13518 \begin_layout Standard
13519 It's possible to change the spacing between a foilhead and the body of the foil by adjusting the length specified by 
13520 \family typewriter
13521
13522 \backslash
13523 foilheadskip
13524 \family default
13525 .
13526  For example,
13527  to make 
13528 \emph on
13529 all
13530 \emph default
13531  foilheads 0.5
13532 \begin_inset space \space{}
13533 \end_inset
13534
13535 in closer to their bodies put the following in the preamble:
13536  
13537 \family typewriter
13538
13539 \backslash
13540 setlength{
13541 \backslash
13542 foilheadskip}{-0.5in}
13543 \end_layout
13544
13545 \begin_layout Standard
13546 The spacings around floats can be adjusted by setting these lengths:
13547 \end_layout
13548
13549 \begin_layout Labeling
13550 \labelwidthstring MMMMMMMMMMM
13551
13552 \family typewriter
13553
13554 \backslash
13555 abovefloatskip
13556 \family default
13557  Separation between the text and the top of the float
13558 \end_layout
13559
13560 \begin_layout Labeling
13561 \labelwidthstring MMMMMMMMMMM
13562
13563 \family typewriter
13564
13565 \backslash
13566 abovecaptionskip
13567 \family default
13568  Separation between the float and the caption
13569 \end_layout
13570
13571 \begin_layout Labeling
13572 \labelwidthstring MMMMMMMMMMM
13573
13574 \family typewriter
13575
13576 \backslash
13577 belowcaptionskip
13578 \family default
13579  Separation between the caption and the following text
13580 \end_layout
13581
13582 \begin_layout Labeling
13583 \labelwidthstring MMMMMMMMMMM
13584
13585 \family typewriter
13586
13587 \backslash
13588 captionwidth
13589 \family default
13590  You can make the captions narrower than the surrounding text by adjusting this length.
13591  Best done relative to 
13592 \family typewriter
13593
13594 \backslash
13595 textwidth
13596 \family default
13597 .
13598 \end_layout
13599
13600 \begin_layout Standard
13601 There are also several title page related lengths that you may find useful if you have a long title or several authors:
13602 \end_layout
13603
13604 \begin_layout Labeling
13605 \labelwidthstring MMMMMMMMMMM
13606
13607 \family typewriter
13608
13609 \backslash
13610 abovetitleskip
13611 \family default
13612  Separation from headers to 
13613 \family sans
13614 Title
13615 \end_layout
13616
13617 \begin_layout Labeling
13618 \labelwidthstring MMMMMMMMMMM
13619
13620 \family typewriter
13621
13622 \backslash
13623 titleauthorskip
13624 \family default
13625  between 
13626 \family sans
13627 Title
13628 \family default
13629  and 
13630 \family sans
13631 Author
13632 \family default
13633  environments
13634 \end_layout
13635
13636 \begin_layout Labeling
13637 \labelwidthstring MMMMMMMMMMM
13638
13639 \family typewriter
13640
13641 \backslash
13642 authorauthorskip
13643 \family default
13644  between multiple 
13645 \family sans
13646 Author
13647 \family default
13648  lines
13649 \end_layout
13650
13651 \begin_layout Labeling
13652 \labelwidthstring MMMMMMMMMMM
13653
13654 \family typewriter
13655
13656 \backslash
13657 authordateskip
13658 \family default
13659  between the 
13660 \family sans
13661 Author
13662 \family default
13663  and the 
13664 \family sans
13665 Date
13666 \end_layout
13667
13668 \begin_layout Labeling
13669 \labelwidthstring MMMMMMMMMMM
13670
13671 \family typewriter
13672
13673 \backslash
13674 dateabstractskip
13675 \family default
13676  between the 
13677 \family sans
13678 Date
13679 \family default
13680  and the 
13681 \family sans
13682 Abstract
13683 \end_layout
13684
13685 \begin_layout Standard
13686 The last length related command affects all the list environments.
13687  If you place 
13688 \family typewriter
13689
13690 \backslash
13691 zerolistvertdimens
13692 \family default
13693  
13694 \emph on
13695 inside
13696 \emph default
13697  a list environment then all the vertical spacing between the list items is removed.
13698  Note that this is a command not a length so it doesn't require 
13699 \family typewriter
13700
13701 \backslash
13702 setlength
13703 \family default
13704  like the stuff mentioned above.
13705 \end_layout
13706
13707 \begin_layout Paragraph
13708 Headers and Footers
13709 \end_layout
13710
13711 \begin_layout Standard
13712 The 
13713 \family typewriter
13714
13715 \backslash
13716 LogoOn
13717 \family default
13718  and 
13719 \family typewriter
13720
13721 \backslash
13722 LogoOff
13723 \family default
13724  commands control whether the logo in the 
13725 \family sans
13726 MyLogo
13727 \family default
13728  definition appear on a given page.
13729  If you put 
13730 \family typewriter
13731
13732 \backslash
13733 LogoOff
13734 \family default
13735  in the preamble then none of the foils will have the logo on them.
13736  If you don't want the logo on a particular page place the 
13737 \family typewriter
13738
13739 \backslash
13740 LogoOff
13741 \family default
13742  directly after the foilhead of that page and the 
13743 \family typewriter
13744
13745 \backslash
13746 LogoOn
13747 \family default
13748  directly after the next foilhead.
13749 \end_layout
13750
13751 \begin_layout Standard
13752 If you decide to use the 
13753 \family sans
13754 fancy
13755 \family default
13756  page style setting in the 
13757 \family sans
13758 Document
13759 \begin_inset space ~
13760 \end_inset
13761
13762 Layout
13763 \family default
13764  dialog you should probably add 
13765 \family typewriter
13766
13767 \backslash
13768 let
13769 \backslash
13770 headwidth
13771 \backslash
13772 textwidth
13773 \family default
13774  to your preamble so headers and footers on landscape pages are correctly placed when rotated.
13775  This is due to some clashes between the page layouts provided by the 
13776 \family sans
13777 fancyheadings
13778 \family default
13779  package and the 
13780 \change_deleted -712698321 1673257120
13781
13782 \family sans
13783 foils
13784 \change_inserted -712698321 1673257120
13785
13786 \lang ngerman
13787 FoilTeX
13788 \change_unchanged
13789
13790 \family default
13791 \lang english
13792  class.
13793 \end_layout
13794
13795 \begin_layout Subsection
13796
13797 \change_inserted 564990737 1671459032
13798 Powerdot
13799 \end_layout
13800
13801 \begin_layout Standard
13802
13803 \change_inserted 564990737 1671643165
13804 The document class 
13805 \change_deleted -712698321 1673257152
13806
13807 \family sans
13808 presentation
13809 \begin_inset space \thinspace{}
13810 \end_inset
13811
13812 (p
13813 \change_inserted -712698321 1673257152
13814 P
13815 \change_inserted 564990737 1671643165
13816 owerdot
13817 \change_deleted -712698321 1673257154
13818 )
13819 \change_inserted 564990737 1671643165
13820
13821 \family default
13822  uses the 
13823 \family typewriter
13824 powerdot.cls
13825 \family default
13826  
13827 \change_deleted -712698321 1673257280
13828 document
13829 \change_inserted -712698321 1673257280
13830 \SpecialChar LaTeX
13831
13832 \change_inserted 564990737 1671643165
13833  class for creating presentations.
13834  
13835 \family sans
13836 File\SpecialChar menuseparator
13837 Open Example\SpecialChar menuseparator
13838 Presentations\SpecialChar menuseparator
13839 Powerdot
13840 \family default
13841  offers guidance on its use.
13842  The documentation is available from 
13843 \begin_inset CommandInset href
13844 LatexCommand href
13845 name "CTAN"
13846 target "http://mirrors.ctan.org/macros/latex/contrib/powerdot/doc/powerdot.pdf"
13847 literal "false"
13848
13849 \end_inset
13850
13851 .
13852 \end_layout
13853
13854 \begin_layout Subsection
13855
13856 \change_inserted 564990737 1671459032
13857 \begin_inset CommandInset label
13858 LatexCommand label
13859 name "subsec:Seminar"
13860
13861 \end_inset
13862
13863
13864 \family sans
13865 Seminar
13866 \end_layout
13867
13868 \begin_layout Standard
13869
13870 \change_inserted 564990737 1671643194
13871 The document class 
13872 \change_deleted -712698321 1673257295
13873
13874 \family sans
13875 presentations
13876 \begin_inset space \thinspace{}
13877 \end_inset
13878
13879 (s
13880 \change_inserted -712698321 1673257295
13881 S
13882 \change_inserted 564990737 1671643194
13883 eminar
13884 \change_deleted -712698321 1673257296
13885 )
13886 \change_inserted 564990737 1671643194
13887
13888 \family default
13889  uses the 
13890 \family typewriter
13891 seminar.cls
13892 \family default
13893  document class for creating presentations.
13894  
13895 \family sans
13896 File\SpecialChar menuseparator
13897 Open Example\SpecialChar menuseparator
13898 Presentations\SpecialChar menuseparator
13899 Seminar
13900 \family default
13901  offers guidance on its use.
13902  The documentation is available from 
13903 \begin_inset CommandInset href
13904 LatexCommand href
13905 name "CTAN"
13906 target "http://mirrors.ctan.org/macros/latex/contrib/seminar/doc/seminar-doc.pdf"
13907 literal "false"
13908
13909 \end_inset
13910
13911 .
13912 \end_layout
13913
13914 \begin_layout Subsection
13915 Slides [aka 
13916 \noun on
13917 Sli\SpecialChar TeX
13918
13919 \noun default
13920 ]
13921 \begin_inset CommandInset label
13922 LatexCommand label
13923 name "sec:slitex"
13924
13925 \end_inset
13926
13927
13928 \end_layout
13929
13930 \begin_layout Standard
13931
13932 \change_inserted 564990737 1672743492
13933 Original by 
13934 \noun on
13935 John Weiss
13936 \noun default
13937 ;
13938  updated by the \SpecialChar LyX
13939  Team
13940 \end_layout
13941
13942 \begin_layout Subsubsection
13943
13944 \change_inserted 564990737 1672743492
13945 Introduction
13946 \end_layout
13947
13948 \begin_layout Standard
13949
13950 \change_inserted 564990737 1672743492
13951 This section describes how to use \SpecialChar LyX
13952  to make slides for overhead projectors.
13953  There are two document classes that can do this:
13954  the 
13955 \change_deleted -712698321 1673257697
13956
13957 \family typewriter
13958 presentations
13959 \begin_inset space \thinspace{}
13960 \end_inset
13961
13962 (s
13963 \change_inserted -712698321 1673257697
13964
13965 \family sans
13966 S
13967 \change_inserted 564990737 1672743492
13968 lides
13969 \change_deleted -712698321 1673257698
13970
13971 \family typewriter
13972 )
13973 \change_inserted 564990737 1672743492
13974
13975 \family default
13976  document class and the 
13977 \change_deleted -712698321 1673257705
13978
13979 \family sans
13980 presentation
13981 \begin_inset space \thinspace{}
13982 \end_inset
13983
13984 (
13985 \change_inserted 564990737 1672743492
13986 Foil\SpecialChar TeX
13987
13988 \change_deleted -712698321 1673257707
13989 )
13990 \change_inserted 564990737 1672743492
13991
13992 \family default
13993  document class.
13994  This section documents the former.
13995  If you’re looking for the documentation for 
13996 \change_deleted -712698321 1673257759
13997
13998 \family sans
13999 presentation
14000 \begin_inset space \thinspace{}
14001 \end_inset
14002
14003 (
14004 \change_inserted 564990737 1672743492
14005 Foil\SpecialChar TeX
14006
14007 \change_deleted -712698321 1673257760
14008 )
14009 \change_inserted 564990737 1672743492
14010
14011 \family default
14012 ,
14013  check out section
14014 \begin_inset space ~
14015 \end_inset
14016
14017
14018 \change_inserted -712698321 1673257749
14019
14020 \begin_inset CommandInset ref
14021 LatexCommand ref
14022 reference "sec:foiltex"
14023 plural "false"
14024 caps "false"
14025 noprefix "false"
14026 nolink "false"
14027
14028 \end_inset
14029
14030
14031 \change_deleted -712698321 1673257749
14032
14033 \begin_inset CommandInset ref
14034 LatexCommand ref
14035 reference "sec:Foiltex"
14036 nolink "false"
14037
14038 \end_inset
14039
14040
14041 \change_inserted 564990737 1672743492
14042 .
14043  As of 2023 
14044 \change_deleted -712698321 1673257899
14045 the former
14046 \change_inserted -712698321 1673257899
14047
14048 \family sans
14049 Slides
14050 \change_inserted 564990737 1672743492
14051
14052 \family default
14053  has continued to be maintained whereas 
14054 \family sans
14055 Foil\SpecialChar TeX
14056
14057 \family default
14058  has not been maintained since 2008.
14059  
14060 \change_deleted 564990737 1672743492
14061 by 
14062 \noun on
14063 John Weiss
14064 \noun default
14065  
14066 \end_layout
14067
14068 \begin_layout Standard
14069
14070 \change_deleted 564990737 1672743492
14071 Introduction
14072 \end_layout
14073
14074 \begin_layout Standard
14075
14076 \change_deleted 564990737 1672743492
14077 This section describes how to use \SpecialChar LyX
14078  to make slides for overhead projectors.
14079  There are two document classes that can do this:
14080  the default slides class and the 
14081 \family sans
14082 Foil\SpecialChar TeX
14083
14084 \family default
14085  slides class.
14086  This section documents the former.
14087 \end_layout
14088
14089 \begin_layout Standard
14090
14091 \change_deleted 564990737 1672743492
14092 I'm going to say this again,
14093  nice and clear,
14094  so that there's no misunderstanding:
14095 \end_layout
14096
14097 \begin_layout Standard
14098
14099 \change_deleted 564990737 1672743492
14100 \begin_inset VSpace bigskip
14101 \end_inset
14102
14103
14104 \end_layout
14105
14106 \begin_layout Standard
14107 \align center
14108
14109 \change_deleted 564990737 1672743492
14110
14111 \size large
14112 This section documents the class 
14113 \begin_inset Quotes eld
14114 \end_inset
14115
14116
14117 \family sans
14118 slides (default)
14119 \family default
14120
14121 \begin_inset Quotes erd
14122 \end_inset
14123
14124  
14125 \emph on
14126 only.
14127 \end_layout
14128
14129 \begin_layout Standard
14130
14131 \change_deleted 564990737 1672743492
14132 \begin_inset VSpace bigskip
14133 \end_inset
14134
14135
14136 \end_layout
14137
14138 \begin_layout Standard
14139
14140 \change_deleted 564990737 1672743492
14141 If you're looking for the documentation for 
14142 \begin_inset Quotes eld
14143 \end_inset
14144
14145
14146 \family sans
14147 slides (Foil\SpecialChar TeX
14148 )
14149 \family default
14150
14151 \begin_inset Quotes erd
14152 \end_inset
14153
14154 ,
14155  check out section
14156 \begin_inset space ~
14157 \end_inset
14158
14159
14160 \begin_inset CommandInset ref
14161 LatexCommand ref
14162 reference "sec:foiltex"
14163 nolink "false"
14164
14165 \end_inset
14166
14167 .
14168  The 
14169 \family sans
14170 foils
14171 \family default
14172  class [
14173 \begin_inset Quotes eld
14174 \end_inset
14175
14176
14177 \family sans
14178 slides (Foil\SpecialChar TeX
14179 )
14180 \family default
14181
14182 \begin_inset Quotes erd
14183 \end_inset
14184
14185 ] is actually somewhat better than the default 
14186 \family sans
14187 slides
14188 \family default
14189  class,
14190 \begin_inset Foot
14191 status collapsed
14192
14193 \begin_layout Plain Layout
14194 \SpecialChar ldots
14195 or so I've been told repeatedly by its advocates.
14196  Having never used it,
14197  I have no idea if this claim is true or not.
14198 \end_layout
14199
14200 \end_inset
14201
14202  which this section documents.
14203 \end_layout
14204
14205 \begin_layout Standard
14206
14207 \change_deleted 564990737 1672743492
14208 This class is the \SpecialChar LaTeX2e
14209  improvement of the old 
14210 \noun on
14211 Sli\SpecialChar TeX
14212
14213 \noun default
14214  package.
14215  Every \SpecialChar LaTeX2e
14216  distribution includes this class [which I'll just refer to as 
14217 \begin_inset Quotes eld
14218 \end_inset
14219
14220
14221 \family sans
14222 slides
14223 \family default
14224
14225 \begin_inset Quotes erd
14226 \end_inset
14227
14228  from now on],
14229  so you're bound to have it.
14230  As I noted earlier,
14231  there are other classes,
14232  such as 
14233 \family sans
14234 foils
14235 \family default
14236 ,
14237  which also produce slides for overhead projectors and do a better job at it.
14238  However,
14239  there are some things which 
14240 \family sans
14241 slides
14242 \family default
14243  can do which the others can't,
14244  such as generate overlays.
14245  Read on to learn more!
14246 \change_unchanged
14247
14248 \end_layout
14249
14250 \begin_layout Subsubsection
14251 Getting Started
14252 \begin_inset CommandInset label
14253 LatexCommand label
14254 name "sec:slidesetup"
14255
14256 \end_inset
14257
14258
14259 \end_layout
14260
14261 \begin_layout Standard
14262 Obviously,
14263  to use this document class,
14264  you need to select 
14265 \begin_inset Quotes eld
14266 \end_inset
14267
14268
14269 \change_deleted -712698321 1673257922
14270
14271 \family sans
14272 s
14273 \change_inserted -712698321 1673257922
14274 S
14275 \change_unchanged
14276 lides
14277 \change_deleted -712698321 1673257925
14278  (default)
14279 \change_unchanged
14280
14281 \family default
14282
14283 \begin_inset Quotes erd
14284 \end_inset
14285
14286  from the class list in the 
14287 \family sans
14288 Document\SpecialChar menuseparator
14289 Settings
14290 \family default
14291  dialog.
14292  There are some other special things you should know about this class:
14293 \end_layout
14294
14295 \begin_layout Itemize
14296 Don't bother changing the options 
14297 \family sans
14298 Sides and Columns
14299 \family default
14300 .
14301  They're not supported by the 
14302 \change_deleted -712698321 1673257960
14303
14304 \family sans
14305 s
14306 \change_inserted -712698321 1673257960
14307 S
14308 \change_unchanged
14309 lides
14310 \family default
14311  class,
14312  anyways.
14313 \end_layout
14314
14315 \begin_layout Itemize
14316 The option 
14317 \family sans
14318 Page
14319 \begin_inset space ~
14320 \end_inset
14321
14322 style
14323 \family default
14324  behaves a bit differently for this class.
14325  The possible choices and what they do are as follows:
14326 \end_layout
14327
14328 \begin_deeper
14329 \begin_layout Description
14330
14331 \family sans
14332 plain
14333 \family default
14334  The final output contains page numbers in the lower right corner.
14335 \end_layout
14336
14337 \begin_layout Description
14338
14339 \family sans
14340 headings
14341 \family default
14342  Like 
14343 \family sans
14344 plain
14345 \family default
14346 ,
14347  but also prints out any time markers you've put in.
14348  This is the default.
14349 \end_layout
14350
14351 \begin_layout Description
14352
14353 \family sans
14354 empty
14355 \family default
14356  The final output contains no page numbers,
14357  time markers,
14358  or alignment markers.
14359 \end_layout
14360
14361 \end_deeper
14362 \begin_layout Itemize
14363 The 
14364 \change_deleted -712698321 1673257971
14365
14366 \family sans
14367 s
14368 \change_inserted -712698321 1673257971
14369 S
14370 \change_unchanged
14371 lides
14372 \family default
14373  class has an extra option:
14374  
14375 \family typewriter
14376 clock
14377 \family default
14378 .
14379  To use it,
14380  put 
14381 \begin_inset Quotes eld
14382 \end_inset
14383
14384
14385 \family typewriter
14386 clock
14387 \family default
14388
14389 \begin_inset Quotes erd
14390 \end_inset
14391
14392  in the extra class options.
14393 \end_layout
14394
14395 \begin_deeper
14396 \begin_layout Standard
14397 Using this options allows you to add time markers to 
14398 \family sans
14399 Note
14400 \family default
14401 s.
14402  See section
14403 \begin_inset space ~
14404 \end_inset
14405
14406
14407 \begin_inset CommandInset ref
14408 LatexCommand ref
14409 reference "sec:slideNote"
14410 nolink "false"
14411
14412 \end_inset
14413
14414  for more details.
14415 \end_layout
14416
14417 \end_deeper
14418 \begin_layout Standard
14419 You can also use the template file
14420 \change_deleted 564990737 1671617694
14421  
14422 \begin_inset Quotes eld
14423 \end_inset
14424
14425
14426 \family typewriter
14427 slides.lyx
14428 \family default
14429
14430 \begin_inset Quotes erd
14431 \end_inset
14432
14433
14434 \change_unchanged
14435  to automatically set up a document to use the 
14436 \family sans
14437 slides
14438 \family default
14439  class 
14440 \change_deleted 564990737 1671617699
14441 [
14442 \change_unchanged
14443 using 
14444 \family sans
14445 File\SpecialChar menuseparator
14446 New
14447 \begin_inset space ~
14448 \end_inset
14449
14450 from
14451 \begin_inset space ~
14452 \end_inset
14453
14454 Template
14455 \change_inserted 564990737 1671617723
14456 \SpecialChar menuseparator
14457 Presentations\SpecialChar menuseparator
14458 Slides
14459 \change_unchanged
14460
14461 \family default
14462  to open your new document
14463 \change_deleted 564990737 1671617728
14464 ]
14465 \change_unchanged
14466 .
14467  The template file also contains some examples of the special paragraph environments used by this class.
14468  I'll describe those next.
14469 \end_layout
14470
14471 \begin_layout Subsubsection
14472 Paragraph Environments
14473 \end_layout
14474
14475 \begin_layout Paragraph
14476 Supported Environments
14477 \end_layout
14478
14479 \begin_layout Standard
14480 The first thing you'll notice when you start up a new 
14481 \change_deleted -712698321 1673258063
14482
14483 \family sans
14484 s
14485 \change_inserted -712698321 1673258063
14486 S
14487 \change_unchanged
14488 lides
14489 \family default
14490  document is the font size and type:
14491  it's the equivalent of the size 
14492 \begin_inset Quotes eld
14493 \end_inset
14494
14495
14496 \family sans
14497 Largest
14498 \family default
14499
14500 \begin_inset Quotes erd
14501 \end_inset
14502
14503  in the 
14504 \family sans
14505 Sans
14506 \begin_inset space ~
14507 \end_inset
14508
14509 Serif
14510 \family default
14511  font.
14512  This is also what's used in the output.
14513  Think of this as a 
14514 \begin_inset Quotes eld
14515 \end_inset
14516
14517 visual cue
14518 \begin_inset Quotes erd
14519 \end_inset
14520
14521  to remind you that this is a slide.
14522  Your final slides will use a larger font;
14523  ergo,
14524  you'll have less space.
14525  Of course,
14526  the larger default screen font isn't WYSIWYG,
14527  only a reminder.
14528 \end_layout
14529
14530 \begin_layout Standard
14531 The next thing that becomes obvious is the changes to the paragraph environment pull-down box [at the far-left end of the toolbar].
14532  Most of the paragraph environments you're used to seeing are missing.
14533  There are also five new ones.
14534  That's because the 
14535 \change_deleted -712698321 1673258093
14536
14537 \family sans
14538 s
14539 \change_inserted -712698321 1673258093
14540 S
14541 \change_unchanged
14542 lides
14543 \family default
14544  class itself only supports certain paragraph environments:
14545 \end_layout
14546
14547 \begin_layout Standard
14548
14549 \change_inserted -712698321 1673258082
14550
14551 \family sans
14552 \begin_inset Flex Multiple Columns
14553 status open
14554
14555 \begin_layout Itemize
14556
14557 \change_inserted -712698321 1673258082
14558
14559 \family sans
14560 Standard
14561 \end_layout
14562
14563 \begin_layout Itemize
14564
14565 \change_inserted -712698321 1673258082
14566
14567 \family sans
14568 Itemize
14569 \end_layout
14570
14571 \begin_layout Itemize
14572
14573 \change_inserted -712698321 1673258082
14574
14575 \family sans
14576 Enumerate
14577 \end_layout
14578
14579 \begin_layout Itemize
14580
14581 \change_inserted -712698321 1673258082
14582
14583 \family sans
14584 Description
14585 \end_layout
14586
14587 \begin_layout Itemize
14588
14589 \change_inserted -712698321 1673258082
14590
14591 \family sans
14592 List
14593 \end_layout
14594
14595 \begin_layout Itemize
14596
14597 \change_inserted -712698321 1673258082
14598
14599 \family sans
14600 Quotation
14601 \end_layout
14602
14603 \begin_layout Itemize
14604
14605 \change_inserted -712698321 1673258082
14606
14607 \family sans
14608 Quote
14609 \end_layout
14610
14611 \begin_layout Itemize
14612
14613 \change_inserted -712698321 1673258082
14614
14615 \family sans
14616 Verse
14617 \end_layout
14618
14619 \begin_layout Itemize
14620
14621 \change_inserted -712698321 1673258082
14622
14623 \family sans
14624 Caption
14625 \end_layout
14626
14627 \begin_layout Itemize
14628
14629 \change_inserted -712698321 1673258082
14630
14631 \family sans
14632 \SpecialChar LyX
14633 -Code
14634 \change_unchanged
14635
14636 \end_layout
14637
14638 \end_inset
14639
14640
14641 \change_deleted -712698321 1673258082
14642 Standard
14643 \end_layout
14644
14645 \begin_layout Itemize
14646
14647 \change_deleted -712698321 1673258082
14648
14649 \family sans
14650 Itemize
14651 \end_layout
14652
14653 \begin_layout Itemize
14654
14655 \change_deleted -712698321 1673258082
14656
14657 \family sans
14658 Enumerate
14659 \end_layout
14660
14661 \begin_layout Itemize
14662
14663 \change_deleted -712698321 1673258082
14664
14665 \family sans
14666 Description
14667 \end_layout
14668
14669 \begin_layout Itemize
14670
14671 \change_deleted -712698321 1673258082
14672
14673 \family sans
14674 List
14675 \end_layout
14676
14677 \begin_layout Itemize
14678
14679 \change_deleted -712698321 1673258082
14680
14681 \family sans
14682 Quotation
14683 \end_layout
14684
14685 \begin_layout Itemize
14686
14687 \change_deleted -712698321 1673258082
14688
14689 \family sans
14690 Quote
14691 \end_layout
14692
14693 \begin_layout Itemize
14694
14695 \change_deleted -712698321 1673258082
14696
14697 \family sans
14698 Verse
14699 \end_layout
14700
14701 \begin_layout Itemize
14702
14703 \change_deleted -712698321 1673258082
14704
14705 \family sans
14706 Caption
14707 \end_layout
14708
14709 \begin_layout Itemize
14710
14711 \change_deleted -712698321 1673258082
14712
14713 \family sans
14714 \SpecialChar LyX
14715 -Code
14716 \change_unchanged
14717
14718 \end_layout
14719
14720 \begin_layout Standard
14721 All of the other standard environments,
14722  including the section-heading environments,
14723  aren't used in the 
14724 \change_deleted -712698321 1673258102
14725
14726 \family sans
14727 s
14728 \change_inserted -712698321 1673258102
14729 S
14730 \change_unchanged
14731 lides
14732 \family default
14733  class.
14734 \end_layout
14735
14736 \begin_layout Standard
14737 On the other hand,
14738  you'll notice the following new environments:
14739 \end_layout
14740
14741 \begin_layout Standard
14742
14743 \change_inserted -712698321 1673258111
14744
14745 \family sans
14746 \begin_inset Flex Multiple Columns
14747 status open
14748
14749 \begin_layout Itemize
14750
14751 \change_inserted -712698321 1673258111
14752
14753 \family sans
14754 Slide
14755 \end_layout
14756
14757 \begin_layout Itemize
14758
14759 \change_inserted -712698321 1673258111
14760
14761 \family sans
14762 Overlay
14763 \end_layout
14764
14765 \begin_layout Itemize
14766
14767 \change_inserted -712698321 1673258111
14768
14769 \family sans
14770 Note
14771 \end_layout
14772
14773 \begin_layout Itemize
14774
14775 \change_inserted -712698321 1673258111
14776
14777 \family sans
14778 InvisibleText
14779 \end_layout
14780
14781 \begin_layout Itemize
14782
14783 \change_inserted -712698321 1673258119
14784
14785 \family sans
14786 VisibleText
14787 \end_layout
14788
14789 \begin_deeper
14790 \begin_layout Plain Layout
14791
14792 \change_inserted -712698321 1673258133
14793 \begin_inset space ~
14794 \end_inset
14795
14796
14797 \change_unchanged
14798
14799 \end_layout
14800
14801 \end_deeper
14802 \end_inset
14803
14804
14805 \change_deleted -712698321 1673258111
14806 Slide
14807 \end_layout
14808
14809 \begin_layout Itemize
14810
14811 \change_deleted -712698321 1673258111
14812
14813 \family sans
14814 Overlay
14815 \end_layout
14816
14817 \begin_layout Itemize
14818
14819 \change_deleted -712698321 1673258111
14820
14821 \family sans
14822 Note
14823 \end_layout
14824
14825 \begin_layout Itemize
14826
14827 \change_deleted -712698321 1673258111
14828
14829 \family sans
14830 InvisibleText
14831 \end_layout
14832
14833 \begin_layout Itemize
14834
14835 \change_deleted -712698321 1673258111
14836
14837 \family sans
14838 VisibleText
14839 \change_unchanged
14840
14841 \end_layout
14842
14843 \begin_layout Standard
14844 These five are kind of quirky,
14845  due to a 
14846 \begin_inset Quotes eld
14847 \end_inset
14848
14849 feature
14850 \begin_inset Quotes erd
14851 \end_inset
14852
14853  in \SpecialChar LyX
14854 .
14855  You see,
14856  \SpecialChar LyX
14857  doesn't permit you to nest any other paragraph environment into an empty environment.
14858  Now,
14859  that's fine and dandy,
14860  but it means that you wouldn't be able to start a slide with anything except plain text.
14861  To deal with this,
14862  I've performed a little 
14863 \begin_inset Quotes eld
14864 \end_inset
14865
14866 \SpecialChar LaTeX
14867  magic.
14868 \begin_inset Quotes erd
14869 \end_inset
14870
14871  
14872 \end_layout
14873
14874 \begin_layout Paragraph
14875 Quirks of the New Environments
14876 \begin_inset CommandInset label
14877 LatexCommand label
14878 name "sec:slideQuirk"
14879
14880 \end_inset
14881
14882
14883 \end_layout
14884
14885 \begin_layout Standard
14886 All five of the new paragraph environments are somewhat quirky due to inherent limitiations in the current version of \SpecialChar LyX
14887 .
14888  As I just mentioned,
14889  \SpecialChar LyX
14890  forbids environments that begin with another environment.
14891  To get around this,
14892  the 
14893 \family sans
14894 Slide
14895 \family default
14896  environment isn't a paragraph environment as described in the 
14897 \emph on
14898 User's Guide
14899 \emph default
14900 .
14901  
14902 \end_layout
14903
14904 \begin_layout Standard
14905 You should consider 
14906 \family sans
14907 Slide
14908 \family default
14909 ,
14910  
14911 \family sans
14912 Overlay
14913 \family default
14914 ,
14915  and 
14916 \family sans
14917 Note
14918 \family default
14919  to be 
14920 \begin_inset Quotes eld
14921 \end_inset
14922
14923 pseudo-environments.
14924 \begin_inset Quotes erd
14925 \end_inset
14926
14927  They look like a section heading or a 
14928 \begin_inset Quotes eld
14929 \end_inset
14930
14931
14932 \family sans
14933 Caption
14934 \family default
14935 ,
14936 \begin_inset Quotes erd
14937 \end_inset
14938
14939  but really begin a [and,
14940  if necessary,
14941  end the previous] paragraph environment.
14942  Likewise,
14943  treat 
14944 \family sans
14945 InvisibleText
14946 \family default
14947  and 
14948 \family sans
14949 VisibleText
14950 \family default
14951  as 
14952 \begin_inset Quotes eld
14953 \end_inset
14954
14955 pseudo-commands.
14956 \begin_inset Quotes erd
14957 \end_inset
14958
14959  These two perform some action.
14960 \end_layout
14961
14962 \begin_layout Standard
14963 A common feature of all five environments,
14964  
14965 \family sans
14966 Slide
14967 \family default
14968 ,
14969  
14970 \family sans
14971 Overlay
14972 \family default
14973 ,
14974  
14975 \family sans
14976 Note
14977 \family default
14978 ,
14979  
14980 \family sans
14981 InvisibleText
14982 \family default
14983  and 
14984 \family sans
14985 VisibleText
14986 \family default
14987 ,
14988  is a rather long-ish label.
14989  The text following this label —
14990  ordinarily the contents of the paragraph environment —
14991  is utterly irrelevant for 
14992 \family sans
14993 Slide
14994 \family default
14995 ,
14996  
14997 \family sans
14998 Overlay
14999 \family default
15000 ,
15001  
15002 \family sans
15003 Note
15004 \family default
15005 ,
15006  
15007 \family sans
15008 InvisibleText
15009 \family default
15010  and 
15011 \family sans
15012 VisibleText
15013 \family default
15014 .
15015  \SpecialChar LyX
15016  completely ignores it.
15017  In fact,
15018  you can leave these five environments completely empty.
15019  
15020 \end_layout
15021
15022 \begin_layout Standard
15023 While you don't 
15024 \emph on
15025 have
15026 \emph default
15027  to put any text after the rather long-ish label,
15028  you might want to.
15029  This could be a short description of the contents of the 
15030 \family sans
15031 Slide
15032 \family default
15033 ,
15034  for example.
15035  In that case,
15036  enter your descriptive comment and hit 
15037 \family sans
15038 Return
15039 \family default
15040  as you normally would.
15041 \end_layout
15042
15043 \begin_layout Standard
15044
15045 \change_deleted -712698321 1673258321
15046 If,
15047  on the other hand,
15048  you don't want to enter any descriptive text,
15049  you'll hit another \SpecialChar LyX
15050  quirk.
15051  \SpecialChar LyX
15052 ,
15053  like nature,
15054  abhors a vacuum,
15055  and will not let you start a new paragraph environment until you put something in the old one.
15056  So,
15057  do this:
15058 \end_layout
15059
15060 \begin_layout Itemize
15061
15062 \change_deleted -712698321 1673258321
15063 Start entering the text that will 
15064 \emph on
15065 follow
15066 \emph default
15067  the new 
15068 \family sans
15069 Slide
15070 \family default
15071 ,
15072  
15073 \family sans
15074 Overlay
15075 \family default
15076 ,
15077  
15078 \family sans
15079 Note
15080 \family default
15081 ,
15082  
15083 \family sans
15084 InvisibleText
15085 \family default
15086  or 
15087 \family sans
15088 VisibleText
15089 \family default
15090 .
15091  
15092 \end_layout
15093
15094 \begin_layout Itemize
15095
15096 \change_deleted -712698321 1673258321
15097 Now move to the beginning of that paragraph.
15098  
15099 \end_layout
15100
15101 \begin_layout Itemize
15102
15103 \change_deleted -712698321 1673258321
15104 Next,
15105  hit 
15106 \family sans
15107 Return
15108 \family default
15109 .
15110  
15111 \end_layout
15112
15113 \begin_layout Itemize
15114
15115 \change_deleted -712698321 1673258321
15116 Finally,
15117  change this new,
15118  empty paragraph to a 
15119 \family sans
15120 Slide
15121 \family default
15122 ,
15123  
15124 \family sans
15125 Overlay
15126 \family default
15127 ,
15128  
15129 \family sans
15130 Note
15131 \family default
15132 ,
15133  
15134 \family sans
15135 InvisibleText
15136 \family default
15137  or 
15138 \family sans
15139 VisibleText
15140 \family default
15141 .
15142  
15143 \end_layout
15144
15145 \begin_layout Standard
15146
15147 \change_deleted -712698321 1673258321
15148 Some future version of \SpecialChar LyX
15149  will,
15150  hopefully,
15151  resolve this quirkiness\SpecialChar ldots
15152
15153 \change_unchanged
15154
15155 \end_layout
15156
15157 \begin_layout Subsubsection
15158 Making a Presentation with 
15159 \family sans
15160 Slide
15161 \family default
15162 ,
15163  
15164 \family sans
15165 Overlay
15166 \family default
15167  and 
15168 \family sans
15169 Note
15170 \end_layout
15171
15172 \begin_layout Paragraph
15173 Using the 
15174 \family sans
15175 Slide
15176 \family default
15177  Environment
15178 \end_layout
15179
15180 \begin_layout Standard
15181 If you're expecting this section to teach you how to actually make a presentation,
15182  you'll be sorely disappointed.
15183  Naturally,
15184  I'll describe all of the ways the 
15185 \change_deleted -712698321 1673258368
15186
15187 \family sans
15188 s
15189 \change_inserted -712698321 1673258368
15190 S
15191 \change_unchanged
15192 lides
15193 \family default
15194  class can assist you in preparing the materials for a presentation.
15195  Filling in the contents,
15196  however,
15197  is up to you.
15198  [Then again,
15199  that 
15200 \emph on
15201 is
15202 \emph default
15203  the \SpecialChar LyX
15204  philosophy.]
15205 \end_layout
15206
15207 \begin_layout Standard
15208 Choosing the 
15209 \family sans
15210 Slide
15211 \family default
15212  environment [in the manner described in section
15213 \begin_inset space ~
15214 \end_inset
15215
15216
15217 \begin_inset CommandInset ref
15218 LatexCommand ref
15219 reference "sec:slideQuirk"
15220 nolink "false"
15221
15222 \end_inset
15223
15224 ] tells \SpecialChar LyX
15225  to begin a new slide [duh].
15226  The label for this environment/
15227 \change_inserted -712698321 1673258390
15228
15229 \begin_inset Quotes eld
15230 \end_inset
15231
15232
15233 \change_deleted -712698321 1673258391
15234
15235 \begin_inset Quotes erd
15236 \end_inset
15237
15238
15239 \change_unchanged
15240 pseudo-command
15241 \begin_inset Quotes erd
15242 \end_inset
15243
15244  is an 
15245 \begin_inset Quotes eld
15246 \end_inset
15247
15248 ASCII line,
15249 \begin_inset Quotes erd
15250 \end_inset
15251
15252  in cool blue,
15253  followed by the label,
15254  
15255 \begin_inset Quotes eld
15256 \end_inset
15257
15258 NewSlide:
15259 \begin_inset Quotes erd
15260 \end_inset
15261
15262 .
15263  Any text or paragraph environments that follow this one go on the new slide.
15264  It's that simple.
15265 \end_layout
15266
15267 \begin_layout Standard
15268 Slides are probably the only time you'll need to forcibly end pages in \SpecialChar LyX
15269  (this can be specified in the 
15270 \family sans
15271 Paragraph Layout
15272 \family default
15273  dialog).
15274  In fact,
15275  you'll want to,
15276  once you finish entering the contents of one slide.
15277  If you've entered more text than can physically fit on a slide,
15278  the extra overflows onto a new slide.
15279  I don't recommend doing this,
15280  however,
15281  since the overflow slide won't have any page number on it.
15282  Furthermore,
15283  it may interfere with any 
15284 \family sans
15285 Overlay
15286 \family default
15287  you've made to accompany the oversized 
15288 \family sans
15289 Slide
15290 \family default
15291 .
15292 \end_layout
15293
15294 \begin_layout Standard
15295 The 
15296 \family sans
15297 Overlay
15298 \family default
15299  and 
15300 \family sans
15301 Note
15302 \family default
15303  environments work the same way as the 
15304 \family sans
15305 Slide
15306 \family default
15307  environment.
15308  They both create an 
15309 \begin_inset Quotes eld
15310 \end_inset
15311
15312 ASCII line
15313 \begin_inset Quotes erd
15314 \end_inset
15315
15316  followed by a label [
15317 \begin_inset Quotes eld
15318 \end_inset
15319
15320 NewOverlay:
15321 \begin_inset Quotes erd
15322 \end_inset
15323
15324  and 
15325 \begin_inset Quotes eld
15326 \end_inset
15327
15328 NewNote:
15329 \begin_inset Quotes erd
15330 \end_inset
15331
15332 ,
15333  respectively].
15334  The color is a stunning magenta instead of blue,
15335  and the 
15336 \begin_inset Quotes eld
15337 \end_inset
15338
15339 ASCII line
15340 \begin_inset Quotes erd
15341 \end_inset
15342
15343  will look different,
15344  in style and in length.
15345  The label fonts of all three also differ from one another.
15346 \end_layout
15347
15348 \begin_layout Standard
15349 As with a 
15350 \family sans
15351 Slide
15352 \family default
15353 ,
15354  if the contents of a 
15355 \family sans
15356 Note
15357 \family default
15358  or 
15359 \family sans
15360 Overlay
15361 \family default
15362  exceed the physical size of a slide or sheet of paper,
15363  the extra will overflow onto a new sheet.
15364  Again,
15365  you should avoid this.
15366  It defeats the whole purpose of 
15367 \family sans
15368 Note
15369 \family default
15370 s and 
15371 \family sans
15372 Overlay
15373 \family default
15374 s.
15375 \end_layout
15376
15377 \begin_layout Paragraph
15378 Using 
15379 \family sans
15380 Overlay
15381 \family default
15382  with 
15383 \family sans
15384 Slide
15385 \end_layout
15386
15387 \begin_layout Standard
15388 The idea behind an 
15389 \family sans
15390 Overlay
15391 \family default
15392  is a slide that sits atop another slide.
15393  Perhaps you wish to discuss a figure on the main 
15394 \family sans
15395 Slide
15396 \family default
15397  before displaying the text associated with it.
15398  One way to accomplish this is tape a flap of dark paper over the part of the 
15399 \family sans
15400 Slide
15401 \family default
15402  you want to display later.
15403  This method fails,
15404  however,
15405  if you wish to overlap one graph with another,
15406  for example.
15407  You would then have to fumble while speaking to align the two separate,
15408  overlapping 
15409 \family sans
15410 Slide
15411 \family default
15412 s to align the two graphs.
15413  The use of an 
15414 \family sans
15415 Overlay
15416 \family default
15417  environment in both cases makes life much easier.
15418 \end_layout
15419
15420 \begin_layout Standard
15421 Each 
15422 \family sans
15423 Overlay
15424 \family default
15425  receives the page number of its 
15426 \begin_inset Quotes eld
15427 \end_inset
15428
15429 parent
15430 \begin_inset Quotes erd
15431 \end_inset
15432
15433  
15434 \family sans
15435 Slide
15436 \family default
15437 ,
15438  appended by 
15439 \begin_inset Quotes eld
15440 \end_inset
15441
15442
15443 \family typewriter
15444 -a
15445 \family default
15446
15447 \begin_inset Quotes erd
15448 \end_inset
15449
15450 .
15451 \begin_inset Foot
15452 status collapsed
15453
15454 \begin_layout Plain Layout
15455 Presumably,
15456  mutliple 
15457 \family sans
15458 Overlay
15459 \family default
15460 s would have 
15461 \begin_inset Quotes eld
15462 \end_inset
15463
15464
15465 \family typewriter
15466 -a
15467 \family default
15468
15469 \begin_inset Quotes erd
15470 \end_inset
15471
15472 ,
15473  
15474 \begin_inset Quotes eld
15475 \end_inset
15476
15477
15478 \family typewriter
15479 -b
15480 \family default
15481
15482 \begin_inset Quotes erd
15483 \end_inset
15484
15485 ,
15486  
15487 \begin_inset Quotes eld
15488 \end_inset
15489
15490
15491 \family typewriter
15492 -c
15493 \family default
15494
15495 \begin_inset Quotes erd
15496 \end_inset
15497
15498 ,
15499  etc.
15500 \begin_inset space ~
15501 \end_inset
15502
15503 appended to the page number of the parent 
15504 \family sans
15505 Slide
15506 \family default
15507 .
15508  
15509 \end_layout
15510
15511 \end_inset
15512
15513  Clearly,
15514  you want the contents of both the 
15515 \family sans
15516 Slide
15517 \family default
15518  and the 
15519 \family sans
15520 Overlay
15521 \family default
15522  to each fit on a single physical slide!
15523  You should probably consider an 
15524 \family sans
15525 Overlay
15526 \family default
15527  as 
15528 \begin_inset Quotes eld
15529 \end_inset
15530
15531 part of
15532 \begin_inset Quotes erd
15533 \end_inset
15534
15535  a 
15536 \family sans
15537 Slide
15538 \family default
15539 .
15540  Indeed,
15541  the \SpecialChar LyX
15542  
15543 \family sans
15544 slides
15545 \family default
15546  class provides a visual cue for this:
15547  the label at the start of an 
15548 \family sans
15549 Overlay
15550 \family default
15551  is shorter than that at the start of a 
15552 \family sans
15553 Slide
15554 \family default
15555 .
15556  Lastly,
15557  when you generate printable output,
15558  you'll find alignment markers in all four corners of both the 
15559 \family sans
15560 Overlay
15561 \family default
15562  page and its parent 
15563 \family sans
15564 Slide
15565 \family default
15566 .
15567  These will assist you in lining up the two physical slides.
15568 \end_layout
15569
15570 \begin_layout Standard
15571 The major problem in overlaying two slides is aligning the contents of the two transparencies.
15572  How much space should you leave for that graph on the second slide?
15573  Worse still,
15574  what if you want a graph and a sentence on second slide,
15575  but there is text on the main transparency that goes in between them?
15576  You could try and insert vertical space of the right size.
15577  The better way is to use 
15578 \family sans
15579 InvisibleText
15580 \family default
15581  and 
15582 \family sans
15583 VisibleText
15584 \family default
15585 .
15586 \end_layout
15587
15588 \begin_layout Standard
15589 As their names imply,
15590  
15591 \family sans
15592 InvisibleText
15593 \family default
15594  and 
15595 \family sans
15596 VisibleText
15597 \family default
15598  are two command-like paragraph environments that make all subsequent text invisible and visible,
15599  respectively.
15600  Note from section
15601 \begin_inset space ~
15602 \end_inset
15603
15604
15605 \begin_inset CommandInset ref
15606 LatexCommand ref
15607 reference "sec:slideQuirk"
15608 nolink "false"
15609
15610 \end_inset
15611
15612  that you don't place anything 
15613 \emph on
15614 into
15615 \emph default
15616  these two environments,
15617  however.
15618  When you create an 
15619 \family sans
15620 InvisibleText
15621 \family default
15622 ,
15623  it inserts a centered,
15624  sky-blue label into the page reading 
15625 \begin_inset Quotes eld
15626 \end_inset
15627
15628 <Invisible Text Follows>
15629 \begin_inset Quotes erd
15630 \end_inset
15631
15632 .
15633  For paragraphs following this label,
15634  the parts of the 
15635 \family sans
15636 Slide
15637 \family default
15638  [or 
15639 \family sans
15640 Overlay
15641 \family default
15642 ;
15643  it doesn't matter which] where they would be contain instead blank space.
15644  
15645 \end_layout
15646
15647 \begin_layout Standard
15648 For 
15649 \family sans
15650 VisibleText
15651 \family default
15652 ,
15653  the corresponding centered label is 
15654 \begin_inset Quotes eld
15655 \end_inset
15656
15657 <Visible Text Follows>
15658 \begin_inset Quotes erd
15659 \end_inset
15660
15661  in blazing green.
15662  Paragraphs following this label behave normally.
15663  Note that the beginning of a new 
15664 \family sans
15665 Slide
15666 \family default
15667 ,
15668  
15669 \family sans
15670 Overlay
15671 \family default
15672 ,
15673  or 
15674 \family sans
15675 Note
15676 \family default
15677  automatically shuts off an 
15678 \family sans
15679 InvisibleText
15680 \family default
15681 .
15682  It's therefore not necessary to use 
15683 \family sans
15684 VisibleText
15685 \family default
15686  at the end of a 
15687 \family sans
15688 Slide
15689 \family default
15690 .
15691 \end_layout
15692
15693 \begin_layout Standard
15694 By now,
15695  it should be obvious how to create overlay transparencies using the proper combination of 
15696 \family sans
15697 InvisibleText
15698 \family default
15699  and 
15700 \family sans
15701 VisibleText
15702 \family default
15703  on a 
15704 \family sans
15705 Slide
15706 \family default
15707  and 
15708 \family sans
15709 Overlay
15710 \family default
15711 :
15712 \end_layout
15713
15714 \begin_layout Enumerate
15715 Create a 
15716 \family sans
15717 Slide
15718 \family default
15719 ,
15720  including everything that will appear on it,
15721  whether on the main slide or on the 
15722 \family sans
15723 Overlay
15724 \family default
15725 .
15726 \end_layout
15727
15728 \begin_layout Enumerate
15729 Before each figure or paragraph that will appear only on the 
15730 \family sans
15731 Overlay
15732 \family default
15733 ,
15734  insert an 
15735 \family sans
15736 InvisibleText
15737 \family default
15738  environment.
15739  If necessary,
15740  insert a 
15741 \family sans
15742 VisibleText
15743 \family default
15744  environment after the 
15745 \family sans
15746 Overlay
15747 \family default
15748 -only text.
15749 \end_layout
15750
15751 \begin_layout Enumerate
15752 Start an 
15753 \family sans
15754 Overlay
15755 \family default
15756  immediately following the 
15757 \family sans
15758 Slide
15759 \family default
15760 .
15761 \end_layout
15762
15763 \begin_layout Enumerate
15764 Copy the contents of this 
15765 \family sans
15766 Slide
15767 \family default
15768  into the 
15769 \family sans
15770 Overlay
15771 \family default
15772 .
15773 \end_layout
15774
15775 \begin_layout Enumerate
15776 Within the 
15777 \family sans
15778 Overlay
15779 \family default
15780 ,
15781  change all of the 
15782 \family sans
15783 InvisibleText
15784 \family default
15785  lines to 
15786 \family sans
15787 VisibleText
15788 \family default
15789  and vice-versa.
15790 \end_layout
15791
15792 \begin_layout Standard
15793 That's it.
15794  You've just made an 
15795 \family sans
15796 Overlay
15797 \family default
15798 .
15799 \end_layout
15800
15801 \begin_layout Standard
15802 There's one problem with the way I've designed the \SpecialChar LyX
15803  
15804 \family sans
15805 slides
15806 \family default
15807  class:
15808  you can't make text in the middle of a paragraph invisible,
15809  nor make text in the middle of an invisible paragraph visible again.
15810  To accomplish this feat,
15811  you'll need to use some inlined \SpecialChar LaTeX
15812  codes.
15813 \begin_inset Foot
15814 status collapsed
15815
15816 \begin_layout Plain Layout
15817 The commands of interest are:
15818  
15819 \end_layout
15820
15821 \begin_layout Itemize
15822
15823 \family typewriter
15824 {
15825 \backslash
15826 invisible \SpecialChar ldots
15827  }
15828 \end_layout
15829
15830 \begin_layout Itemize
15831
15832 \family typewriter
15833 {
15834 \backslash
15835 visible \SpecialChar ldots
15836  }
15837 \end_layout
15838
15839 \begin_layout Plain Layout
15840 \SpecialChar ldots
15841 and need to be marked as \SpecialChar TeX
15842 .
15843  The text whose 
15844 \begin_inset Quotes eld
15845 \end_inset
15846
15847 visibility
15848 \begin_inset Quotes erd
15849 \end_inset
15850
15851  you wish to change goes in between the brackets [and after the 
15852 \family typewriter
15853
15854 \backslash
15855 invisible
15856 \family default
15857  or 
15858 \family typewriter
15859
15860 \backslash
15861 visible
15862 \family default
15863  command].
15864  If you don't know how to mark text as \SpecialChar TeX
15865 ,
15866  see the appropriate section of the 
15867 \emph on
15868 User's Guide
15869 \emph default
15870 .
15871 \end_layout
15872
15873 \end_inset
15874
15875
15876 \end_layout
15877
15878 \begin_layout Paragraph
15879 Using 
15880 \family sans
15881 Note
15882 \family default
15883  with 
15884 \family sans
15885 Slide
15886 \family default
15887
15888 \begin_inset CommandInset label
15889 LatexCommand label
15890 name "sec:slideNote"
15891
15892 \end_inset
15893
15894
15895 \end_layout
15896
15897 \begin_layout Standard
15898 Like an 
15899 \family sans
15900 Overlay
15901 \family default
15902 ,
15903  a 
15904 \family sans
15905 Note
15906 \family default
15907  is associated with a 
15908 \begin_inset Quotes eld
15909 \end_inset
15910
15911 parent
15912 \begin_inset Quotes erd
15913 \end_inset
15914
15915  
15916 \family sans
15917 Slide
15918 \family default
15919 .
15920  Here,
15921  too,
15922  the \SpecialChar LyX
15923  
15924 \family sans
15925 slides
15926 \family default
15927  class provides visual cues.
15928  The label for a 
15929 \family sans
15930 Note
15931 \family default
15932  is shorter than that of a 
15933 \family sans
15934 Slide
15935 \family default
15936  [yet longer than that of an 
15937 \family sans
15938 Overlay
15939 \family default
15940 ] and,
15941  like the label of an 
15942 \family sans
15943 Overlay
15944 \family default
15945  is shockingly magenta.
15946  Additionally,
15947  the printed 
15948 \family sans
15949 Note
15950 \family default
15951  has the page number of its 
15952 \begin_inset Quotes eld
15953 \end_inset
15954
15955 parent
15956 \begin_inset Quotes erd
15957 \end_inset
15958
15959  
15960 \family sans
15961 Slide
15962 \family default
15963 ,
15964  appended by 
15965 \begin_inset Quotes eld
15966 \end_inset
15967
15968
15969 \family typewriter
15970 -
15971 \family default
15972 1
15973 \begin_inset Quotes erd
15974 \end_inset
15975
15976 ,
15977  
15978 \begin_inset Quotes eld
15979 \end_inset
15980
15981
15982 \family typewriter
15983 -
15984 \family default
15985 2
15986 \begin_inset Quotes erd
15987 \end_inset
15988
15989 ,
15990  
15991 \begin_inset Quotes eld
15992 \end_inset
15993
15994
15995 \family typewriter
15996 -
15997 \family default
15998 3
15999 \begin_inset Quotes erd
16000 \end_inset
16001
16002 ,
16003  etc.
16004  You can have multiple 
16005 \family sans
16006 Note
16007 \family default
16008 s associated with a single 
16009 \family sans
16010 Slide
16011 \family default
16012 ,
16013  and,
16014  as with 
16015 \family sans
16016 Slide
16017 \family default
16018  and 
16019 \family sans
16020 Overlay
16021 \family default
16022 ,
16023  you'll probably want to break up long 
16024 \family sans
16025 Note
16026 \family default
16027 s so that they fit on a single sheet of paper.
16028 \end_layout
16029
16030 \begin_layout Standard
16031 The purpose of a 
16032 \family sans
16033 Note
16034 \family default
16035  is obvious:
16036  it contains anything additional you might want to say about a 
16037 \family sans
16038 Slide
16039 \family default
16040 .
16041  It could also be used as a sheet of reminders for a particular 
16042 \family sans
16043 Slide
16044 \family default
16045 .
16046  In the case of the latter,
16047  you might want to make use of time markers.
16048  Currently,
16049  the \SpecialChar LyX
16050  
16051 \family sans
16052 slides
16053 \family default
16054  class has no 
16055 \begin_inset Quotes eld
16056 \end_inset
16057
16058 native
16059 \begin_inset Quotes erd
16060 \end_inset
16061
16062  support for time markers,
16063  a 
16064 \noun on
16065 Sli\SpecialChar TeX
16066
16067 \noun default
16068  feature.
16069  So,
16070  you'll have to resort to using the \SpecialChar LaTeX
16071  codes.
16072 \end_layout
16073
16074 \begin_layout Standard
16075 To use time markers,
16076  you'll need to specify the extra class option 
16077 \begin_inset Quotes eld
16078 \end_inset
16079
16080
16081 \family typewriter
16082 clock
16083 \family default
16084
16085 \begin_inset Quotes erd
16086 \end_inset
16087
16088  [see section
16089 \begin_inset space ~
16090 \end_inset
16091
16092
16093 \begin_inset CommandInset ref
16094 LatexCommand ref
16095 reference "sec:slidesetup"
16096 nolink "false"
16097
16098 \end_inset
16099
16100 ].
16101  This option turns on timing marks,
16102  which will appear in the lower-left-hand corner of every 
16103 \family sans
16104 Note
16105 \family default
16106  you generate.
16107  To set what appears in the time marker,
16108  you use the \SpecialChar LaTeX
16109  commands 
16110 \begin_inset Quotes eld
16111 \end_inset
16112
16113
16114 \family typewriter
16115
16116 \backslash
16117 settime{}
16118 \family default
16119
16120 \begin_inset Quotes erd
16121 \end_inset
16122
16123  and 
16124 \begin_inset Quotes eld
16125 \end_inset
16126
16127
16128 \family typewriter
16129
16130 \backslash
16131 addtime{}
16132 \family default
16133
16134 \begin_inset Quotes erd
16135 \end_inset
16136
16137 .
16138  The arguments of both commands are time measured in seconds.
16139  
16140 \begin_inset Quotes eld
16141 \end_inset
16142
16143
16144 \family typewriter
16145
16146 \backslash
16147 settime{}
16148 \family default
16149
16150 \begin_inset Quotes erd
16151 \end_inset
16152
16153  sets the time marker to a given time.
16154  
16155 \begin_inset Quotes eld
16156 \end_inset
16157
16158
16159 \family typewriter
16160
16161 \backslash
16162 addtime{}
16163 \family default
16164
16165 \begin_inset Quotes erd
16166 \end_inset
16167
16168  increments the time marker by the specified amount.
16169  Using time markers and 
16170 \family sans
16171 Note
16172 \family default
16173 s in this fashion,
16174  you can remind yourself how much time to spend on a particular 
16175 \family sans
16176 Slide
16177 \family default
16178 .
16179 \end_layout
16180
16181 \begin_layout Standard
16182 There's one last feature to describe.
16183  Clearly,
16184  you'd like to print out all of your 
16185 \family sans
16186 Slide
16187 \family default
16188 s and 
16189 \family sans
16190 Overlay
16191 \family default
16192 s on transparencies while printing all of your 
16193 \family sans
16194 Note
16195 \family default
16196 s on plain paper.
16197  However,
16198  a 
16199 \family sans
16200 Note
16201 \family default
16202  
16203 \emph on
16204 must
16205 \emph default
16206  follow the 
16207 \family sans
16208 Slide
16209 \family default
16210  with which it is associated.
16211  What's a person to do?
16212 \end_layout
16213
16214 \begin_layout Standard
16215 Luckily,
16216  there are two \SpecialChar LaTeX
16217  commands that allow you to select what to print out.
16218  Both must be placed into the preamble of your document.
16219  The command 
16220 \begin_inset Quotes eld
16221 \end_inset
16222
16223
16224 \family typewriter
16225
16226 \backslash
16227 onlyslides{
16228 \backslash
16229 slides}
16230 \family default
16231
16232 \begin_inset Quotes erd
16233 \end_inset
16234
16235  will cause the output to contain only the 
16236 \family sans
16237 Slide
16238 \family default
16239 s and 
16240 \family sans
16241 Overlay
16242 \family default
16243 s.
16244  Correspondingly,
16245  the command 
16246 \begin_inset Quotes eld
16247 \end_inset
16248
16249
16250 \family typewriter
16251
16252 \backslash
16253 onlynotes{
16254 \backslash
16255 notes}
16256 \family default
16257
16258 \begin_inset Quotes erd
16259 \end_inset
16260
16261  prevents the output of anything but 
16262 \family sans
16263 Note
16264 \family default
16265 s.
16266  I'd advise placing both commands in the preamble and initially comment both out.
16267  You can then preview your entire presentation as you write.
16268  When you're done writing,
16269  you can then uncomment one of the two to select what you want to print.
16270  I like to uncomment 
16271 \begin_inset Quotes eld
16272 \end_inset
16273
16274
16275 \family typewriter
16276
16277 \backslash
16278 onlyslides{
16279 \backslash
16280 slides}
16281 \family default
16282
16283 \begin_inset Quotes erd
16284 \end_inset
16285
16286  ,
16287  print to a file with 
16288 \begin_inset Quotes eld
16289 \end_inset
16290
16291
16292 \family typewriter
16293 -slides
16294 \family default
16295
16296 \begin_inset Quotes erd
16297 \end_inset
16298
16299  in its name,
16300  comment it back out,
16301  then uncomment 
16302 \begin_inset Quotes eld
16303 \end_inset
16304
16305
16306 \family typewriter
16307
16308 \backslash
16309 onlynotes{
16310 \backslash
16311 notes}
16312 \family default
16313
16314 \begin_inset Quotes erd
16315 \end_inset
16316
16317  and print to a 
16318 \begin_inset Quotes eld
16319 \end_inset
16320
16321
16322 \family typewriter
16323 *-notes.ps
16324 \family default
16325
16326 \begin_inset Quotes erd
16327 \end_inset
16328
16329  file.
16330  I can then send either file to a printer,
16331  loading transparencies or plain paper as appropriate.
16332 \end_layout
16333
16334 \begin_layout Standard
16335 You can also provide other arguments to the 
16336 \begin_inset Quotes eld
16337 \end_inset
16338
16339
16340 \family typewriter
16341
16342 \backslash
16343 onlyslides{}
16344 \family default
16345
16346 \begin_inset Quotes erd
16347 \end_inset
16348
16349  and 
16350 \begin_inset Quotes eld
16351 \end_inset
16352
16353
16354 \family typewriter
16355
16356 \backslash
16357 onlynotes{}
16358 \family default
16359
16360 \begin_inset Quotes erd
16361 \end_inset
16362
16363  commands.
16364  See a good \SpecialChar LaTeX
16365  book for details.
16366 \end_layout
16367
16368 \begin_layout Subsubsection
16369 The 
16370 \family sans
16371 slides
16372 \family default
16373  Class Template File
16374 \end_layout
16375
16376 \begin_layout Standard
16377 I have also provided a template file
16378 \change_deleted 564990737 1671617750
16379 ,
16380  
16381 \begin_inset Quotes eld
16382 \end_inset
16383
16384
16385 \family typewriter
16386 slides.lyx
16387 \family default
16388
16389 \begin_inset Quotes erd
16390 \end_inset
16391
16392 ,
16393
16394 \change_unchanged
16395  with the 
16396 \family sans
16397 slides
16398 \family default
16399  class.
16400  To use it,
16401  begin your new presentation with 
16402 \family sans
16403 File\SpecialChar menuseparator
16404 New
16405 \begin_inset space ~
16406 \end_inset
16407
16408 from
16409 \begin_inset space ~
16410 \end_inset
16411
16412 Template
16413 \change_inserted 564990737 1671616988
16414 \SpecialChar menuseparator
16415 Presentations\SpecialChar menuseparator
16416 Slides
16417 \change_unchanged
16418
16419 \family default
16420 .
16421  Your new \SpecialChar LyX
16422  presentation file will contain an example 
16423 \family sans
16424 Slide
16425 \family default
16426  – 
16427 \family sans
16428 Overlay
16429 \family default
16430  – 
16431 \family sans
16432 Note
16433 \family default
16434  triplet.
16435  The 
16436 \family sans
16437 Slide
16438 \family default
16439  and 
16440 \family sans
16441 Overlay
16442 \family default
16443  additionally contain an example of the use of 
16444 \family sans
16445 InvisibleText
16446 \family default
16447  and 
16448 \family sans
16449 VisibleText
16450 \family default
16451 .
16452  Lastly,
16453  the preamble will contain:
16454 \end_layout
16455
16456 \begin_layout LyX-Code
16457 % Uncomment to print out only slides and overlays
16458 \end_layout
16459
16460 \begin_layout LyX-Code
16461 %
16462 \end_layout
16463
16464 \begin_layout LyX-Code
16465 %
16466 \backslash
16467 onlyslides{
16468 \backslash
16469 slides}
16470 \begin_inset Newline newline
16471 \end_inset
16472
16473  
16474 \end_layout
16475
16476 \begin_layout LyX-Code
16477 % Uncomment to print out only notes
16478 \end_layout
16479
16480 \begin_layout LyX-Code
16481 %
16482 \end_layout
16483
16484 \begin_layout LyX-Code
16485 %
16486 \backslash
16487 onlynotes{
16488 \backslash
16489 notes}
16490 \end_layout
16491
16492 \begin_layout Standard
16493 One final thing:
16494  I created this class to support the \SpecialChar LaTeX2e
16495  
16496 \begin_inset Quotes eld
16497 \end_inset
16498
16499
16500 \noun on
16501 Sli\SpecialChar TeX
16502
16503 \noun default
16504  emulation
16505 \begin_inset Quotes erd
16506 \end_inset
16507
16508  class,
16509  one of the built-in \SpecialChar LaTeX2e
16510  classes.
16511  Neither I nor the rest of the \SpecialChar LyX
16512  Team endorse or oppose the use of this built-in slide class.
16513  It's here if you want it or need it.
16514  There exist other \SpecialChar LaTeX2e
16515  classes for creating presentations,
16516  such 
16517 \change_deleted -712698321 1673258708
16518 as the 
16519 \change_unchanged
16520
16521 \family sans
16522 Foils
16523 \family default
16524  
16525 \change_deleted -712698321 1673258709
16526 class 
16527 \change_inserted -712698321 1673258699
16528 (
16529 \change_deleted -712698321 1673258700
16530 [
16531 \change_unchanged
16532 see section
16533 \begin_inset space ~
16534 \end_inset
16535
16536
16537 \begin_inset CommandInset ref
16538 LatexCommand ref
16539 reference "sec:foiltex"
16540 nolink "false"
16541
16542 \end_inset
16543
16544
16545 \change_deleted -712698321 1673258703
16546 ]
16547 \change_inserted -712698321 1673258705
16548 )
16549 \change_unchanged
16550  or 
16551 \change_deleted -712698321 1673258714
16552 the 
16553 \begin_inset Quotes eld
16554 \end_inset
16555
16556
16557 \family typewriter
16558 seminar
16559 \family default
16560
16561 \begin_inset Quotes erd
16562 \end_inset
16563
16564  package [present on some \SpecialChar TeX
16565  distributions].
16566  The latter is not yet supported under \SpecialChar LyX
16567 .
16568 \begin_inset Foot
16569 status collapsed
16570
16571 \begin_layout Plain Layout
16572 Perhaps you can take on the task\SpecialChar ldots
16573
16574 \end_layout
16575
16576 \end_inset
16577
16578
16579 \change_inserted -712698321 1673258738
16580
16581 \family sans
16582 Seminar
16583 \family default
16584  (see section
16585 \begin_inset space ~
16586 \end_inset
16587
16588
16589 \begin_inset CommandInset ref
16590 LatexCommand ref
16591 reference "subsec:Seminar"
16592 plural "false"
16593 caps "false"
16594 noprefix "false"
16595 nolink "false"
16596
16597 \end_inset
16598
16599 ).
16600
16601 \change_unchanged
16602  
16603 \change_deleted -712698321 1673258749
16604 I know nothing about these other classes.
16605  
16606 \change_unchanged
16607 Try them out to see what sort of alternative they provide.
16608 \end_layout
16609
16610 \begin_layout Section
16611
16612 \change_inserted 564990737 1670439661
16613 Reports
16614 \end_layout
16615
16616 \begin_layout Subsection
16617
16618 \change_inserted 564990737 1670439661
16619 report
16620 \end_layout
16621
16622 \begin_layout Standard
16623
16624 \change_inserted -712698321 1673689969
16625 Report classes are sort of a hybrid between book and article classes:
16626  like book classes,
16627  they
16628 \change_deleted -712698321 1673689899
16629 The document class 
16630 \family sans
16631 report
16632 \family default
16633  provides the 
16634 \family sans
16635 report.cls
16636 \family default
16637  document class for preparing reports.
16638  Like the 
16639 \family sans
16640 book
16641 \family default
16642  document class,
16643  this
16644 \change_inserted 564990737 1670439661
16645  provide
16646 \change_deleted -712698321 1673689904
16647 s
16648 \change_inserted 564990737 1670439661
16649  parts,
16650  chapters and sections but does not provide 
16651 \change_deleted -712698321 1673690062
16652 the paragraph styles needed for a book
16653 \change_inserted -712698321 1673690073
16654 frontmatter,
16655  mainmatter,
16656  and backmatter
16657 \change_inserted 564990737 1670439661
16658 ;
16659  like 
16660 \change_deleted -712698321 1673690088
16661 the 
16662 \family sans
16663 article
16664 \family default
16665  document
16666 \change_inserted -712698321 1673690083
16667 article
16668 \change_inserted 564990737 1670439661
16669  class
16670 \change_inserted -712698321 1673690085
16671 es
16672 \change_inserted 564990737 1670439661
16673 ,
16674  
16675 \change_deleted -712698321 1673690094
16676 it
16677 \change_inserted -712698321 1673690094
16678 they
16679 \change_inserted 564990737 1670439661
16680  provide
16681 \change_deleted -712698321 1673690097
16682 s
16683 \change_inserted 564990737 1670439661
16684  
16685 \change_deleted -712698321 1673690101
16686 the 
16687 \change_inserted 564990737 1670439661
16688 abstract paragraph style
16689 \change_inserted -712698321 1673690514
16690 s and are one-sided by default.
16691  
16692 \change_deleted -712698321 1673690134
16693 .
16694  In two-sided mode,
16695  it does
16696 \change_inserted -712698321 1673690520
16697 Also,
16698  they do
16699 \change_inserted 564990737 1670439661
16700  not start a new chapter on the right hand page
16701 \change_inserted -712698321 1673690150
16702  (even in two-side mode)
16703 \change_inserted 564990737 1670439661
16704 .
16705 \end_layout
16706
16707 \begin_layout Standard
16708
16709 \change_deleted -712698321 1673690173
16710 The remaining
16711 \change_inserted -712698321 1673690287
16712 All externally maintained
16713 \change_inserted 564990737 1672743528
16714  
16715 \family sans
16716 report
16717 \family default
16718  document classes 
16719 \change_inserted -712698321 1673690678
16720 that are officially supported by \SpecialChar LyX
16721  
16722 \change_inserted 564990737 1672743528
16723 are described in the Collections (section
16724 \begin_inset space ~
16725 \end_inset
16726
16727
16728 \begin_inset CommandInset ref
16729 LatexCommand ref
16730 reference "sec:Collections"
16731 nolink "false"
16732
16733 \end_inset
16734
16735 )
16736 \change_inserted -712698321 1673690301
16737 :
16738 \change_deleted -712698321 1673690300
16739 .
16740 \change_inserted 564990737 1672743528
16741
16742 \end_layout
16743
16744 \begin_layout Itemize
16745
16746 \change_inserted 564990737 1672743530
16747 For 
16748 \change_deleted -712698321 1673690794
16749
16750 \family sans
16751 report
16752 \begin_inset space \thinspace{}
16753 \end_inset
16754
16755 (Japanese in vertical writing)
16756 \change_inserted -712698321 1675851188
16757 Japanese Report (Standard Class,
16758  vertical Writing)
16759 \change_inserted 564990737 1672743530
16760
16761 \family default
16762  and 
16763 \change_deleted -712698321 1673690762
16764
16765 \family sans
16766 report
16767 \begin_inset space \thinspace{}
16768 \end_inset
16769
16770 (Japanese)
16771 \change_inserted -712698321 1673690762
16772 Japanese Report (Standard Class)
16773 \change_inserted 564990737 1672743530
16774
16775 \family default
16776 ,
16777  see section
16778 \begin_inset space ~
16779 \end_inset
16780
16781
16782 \begin_inset CommandInset ref
16783 LatexCommand ref
16784 reference "subsec:Japanese"
16785 nolink "false"
16786
16787 \end_inset
16788
16789 .
16790 \end_layout
16791
16792 \begin_layout Itemize
16793
16794 \change_inserted 564990737 1672743530
16795 For 
16796 \change_deleted -712698321 1673690718
16797
16798 \family sans
16799 report
16800 \begin_inset space \thinspace{}
16801 \end_inset
16802
16803 (KOMA-Script)
16804 \change_inserted -712698321 1673690718
16805 KOMA-Script Report
16806 \change_inserted 564990737 1672743530
16807
16808 \family default
16809 ,
16810  see section
16811 \begin_inset space ~
16812 \end_inset
16813
16814
16815 \begin_inset CommandInset ref
16816 LatexCommand ref
16817 reference "subsec:KOMA-Script"
16818 nolink "false"
16819
16820 \end_inset
16821
16822 .
16823 \end_layout
16824
16825 \begin_layout Itemize
16826
16827 \change_inserted 564990737 1672743530
16828 For 
16829 \change_deleted -712698321 1673690815
16830
16831 \family sans
16832 report
16833 \begin_inset space \thinspace{}
16834 \end_inset
16835
16836 (with extra font sizes)
16837 \change_inserted -712698321 1673690815
16838 Report (Standard Class with Extra Font Sizes)
16839 \change_inserted 564990737 1672743530
16840
16841 \family default
16842 ,
16843  see section
16844 \begin_inset space ~
16845 \end_inset
16846
16847
16848 \begin_inset CommandInset ref
16849 LatexCommand ref
16850 reference "subsec:Extra-font-sizes"
16851 nolink "false"
16852
16853 \end_inset
16854
16855 .
16856 \end_layout
16857
16858 \begin_layout Itemize
16859
16860 \change_inserted 564990737 1672743569
16861 For 
16862 \change_deleted -712698321 1673690833
16863
16864 \family sans
16865 report
16866 \begin_inset space \thinspace{}
16867 \end_inset
16868
16869 (Polish version by M.
16870 \begin_inset space \thinspace{}
16871 \end_inset
16872
16873 W.)
16874 \change_inserted -712698321 1673690833
16875 Polish Report (MW Bundle)
16876 \change_inserted 564990737 1672743569
16877
16878 \family default
16879 ,
16880  see section
16881 \begin_inset space ~
16882 \end_inset
16883
16884
16885 \begin_inset CommandInset ref
16886 LatexCommand ref
16887 reference "subsec:Polish-M.W.collection"
16888 plural "false"
16889 caps "false"
16890 noprefix "false"
16891 nolink "false"
16892
16893 \end_inset
16894
16895 .
16896 \end_layout
16897
16898 \begin_layout Section
16899
16900 \change_inserted 564990737 1670439674
16901 Scripts
16902 \change_deleted -712698321 1673691106
16903  (drama)
16904 \change_inserted -712698321 1673691108
16905
16906 \end_layout
16907
16908 \begin_layout Standard
16909
16910 \change_inserted -712698321 1673691276
16911 In the 
16912 \family sans
16913 Scripts
16914 \family default
16915  category,
16916  we assemble document classes that help to write drama or movie scripts.
16917  The category is also open for other scripts,
16918  such as lecture scripts,
16919  for which no classes are officially supported yet by \SpecialChar LyX
16920  though.
16921 \change_inserted 564990737 1670439674
16922
16923 \end_layout
16924
16925 \begin_layout Subsection
16926 Broadway
16927 \end_layout
16928
16929 \begin_layout Standard
16930 by 
16931 \shape smallcaps
16932 Garst Reese
16933 \end_layout
16934
16935 \begin_layout Subsubsection
16936 Introduction
16937 \end_layout
16938
16939 \begin_layout Standard
16940
16941 \family sans
16942 Broadway
16943 \family default
16944  is for writing plays.
16945  The format is more decorative than 
16946 \family sans
16947 Hollywood
16948 \change_inserted -712698321 1673691568
16949
16950 \family default
16951  (see sec.
16952 \begin_inset space ~
16953 \end_inset
16954
16955
16956 \begin_inset CommandInset ref
16957 LatexCommand ref
16958 reference "subsec:Hollywood"
16959
16960 \end_inset
16961
16962 )
16963 \change_unchanged
16964 ,
16965  and much less standardized.
16966  This format should be suitable for workshops.
16967 \end_layout
16968
16969 \begin_layout Subsubsection
16970 Special problems
16971 \end_layout
16972
16973 \begin_layout Standard
16974 The same as in 
16975 \family sans
16976 Hollywood
16977 \change_inserted -712698321 1673691609
16978
16979 \family default
16980  (see section
16981 \begin_inset space ~
16982 \end_inset
16983
16984
16985 \begin_inset CommandInset ref
16986 LatexCommand ref
16987 reference "subsec:Special-problems-Hollywood"
16988
16989 \end_inset
16990
16991 )
16992 \change_unchanged
16993 .
16994 \end_layout
16995
16996 \begin_layout Subsubsection
16997 Special features
16998 \end_layout
16999
17000 \begin_layout Standard
17001 Insert the 
17002 \family sans
17003 Speaker
17004 \family default
17005  names as labels then cross-reference the label to insert the name.
17006  The cross-reference dialog will show the current cast of characters.
17007 \end_layout
17008
17009 \begin_layout Subsubsection
17010 Paper size and Margins
17011 \end_layout
17012
17013 \begin_layout Standard
17014 USLetter,
17015  left 1.6in,
17016  right 0.75in,
17017  top 0.5in,
17018  bottom 0.75in
17019 \end_layout
17020
17021 \begin_layout Subsubsection
17022 Environments
17023 \end_layout
17024
17025 \begin_layout Standard
17026 The following environments are available.
17027  You can use 
17028 \family typewriter
17029 broadway.bind
17030 \family default
17031  to get the bind keys shown at the right.
17032 \end_layout
17033
17034 \begin_layout Itemize
17035
17036 \family sans
17037 Standard
17038 \begin_inset Newline newline
17039 \end_inset
17040
17041
17042 \family default
17043 You should not have to use this,
17044  but it is here for anything that does not fit otherwise.
17045 \end_layout
17046
17047 \begin_layout Itemize
17048
17049 \family sans
17050 Narrative
17051 \begin_inset space \hfill{}
17052 \end_inset
17053
17054 M-z n
17055 \begin_inset Newline newline
17056 \end_inset
17057
17058
17059 \family default
17060 Used to describe stage setting and the action.
17061  First use of speaker names in all CAPs.
17062 \end_layout
17063
17064 \begin_layout Itemize
17065
17066 \family sans
17067 ACT
17068 \begin_inset space \hfill{}
17069 \end_inset
17070
17071 M-z a
17072 \begin_inset Newline newline
17073 \end_inset
17074
17075
17076 \family default
17077 Automatically numbered.
17078  On screen it will be arabic,
17079  but will print as Roman.
17080 \end_layout
17081
17082 \begin_layout Itemize
17083
17084 \family sans
17085 ACT*
17086 \begin_inset space \hfill{}
17087 \end_inset
17088
17089 M-z S at
17090 \begin_inset Newline newline
17091 \end_inset
17092
17093
17094 \family default
17095 Subtitle for 
17096 \family sans
17097 ACT.
17098
17099 \family default
17100  It is just centered text.
17101 \end_layout
17102
17103 \begin_layout Itemize
17104
17105 \family sans
17106 SCENE
17107 \begin_inset space \hfill{}
17108 \end_inset
17109
17110 M-z S-S
17111 \begin_inset Newline newline
17112 \end_inset
17113
17114
17115 \family default
17116 Not automatically numbered.
17117  You supply the number.
17118  This is because I couldn't figure out how.
17119 \end_layout
17120
17121 \begin_layout Itemize
17122
17123 \family sans
17124 AT_RISE:
17125 \begin_inset space \hfill{}
17126 \end_inset
17127
17128 M-z S-R
17129 \begin_inset Newline newline
17130 \end_inset
17131
17132
17133 \family default
17134 A special case of Narrative to describe the setting and action as the curtain rises.
17135 \end_layout
17136
17137 \begin_layout Itemize
17138
17139 \family sans
17140 Speaker
17141 \begin_inset space \hfill{}
17142 \end_inset
17143
17144 M-z s
17145 \begin_inset Newline newline
17146 \end_inset
17147
17148
17149 \family default
17150 The speaker's (actor's) title,
17151  centered in all CAPS.
17152 \end_layout
17153
17154 \begin_layout Itemize
17155
17156 \family sans
17157 Parenthetical
17158 \begin_inset space \hfill{}
17159 \end_inset
17160
17161 M-z p
17162 \begin_inset Newline newline
17163 \end_inset
17164
17165
17166 \family default
17167 Instructions to the speaker.
17168  The parentheses are automatically inserted.
17169  The ( will appear on screen,
17170  but both will be in the printed play.
17171  This environment is only used within 
17172 \family sans
17173 Dialogue
17174 \family default
17175 .
17176 \end_layout
17177
17178 \begin_layout Itemize
17179
17180 \family sans
17181 Dialogue
17182 \begin_inset space \hfill{}
17183 \end_inset
17184
17185 M-z d
17186 \begin_inset Newline newline
17187 \end_inset
17188
17189
17190 \family default
17191 What the Speaker says.
17192 \end_layout
17193
17194 \begin_layout Itemize
17195
17196 \family sans
17197 CURTAIN
17198 \begin_inset space \hfill{}
17199 \end_inset
17200
17201 M-z S-C
17202 \begin_inset Newline newline
17203 \end_inset
17204
17205
17206 \family default
17207 The curtain comes down.
17208 \end_layout
17209
17210 \begin_layout Itemize
17211
17212 \family sans
17213 Title
17214 \begin_inset space \hfill{}
17215 \end_inset
17216
17217 M-z S-T
17218 \end_layout
17219
17220 \begin_layout Itemize
17221
17222 \family sans
17223 Author
17224 \begin_inset space \hfill{}
17225 \end_inset
17226
17227 M-z S-A
17228 \end_layout
17229
17230 \begin_layout Itemize
17231
17232 \family sans
17233 Right_Address
17234 \begin_inset space \hfill{}
17235 \end_inset
17236
17237 M-z r
17238 \end_layout
17239
17240 \begin_layout Standard
17241 Hello there.
17242 \end_layout
17243
17244 \begin_layout Subsection
17245
17246 \change_inserted -712698321 1673691551
17247 \begin_inset CommandInset label
17248 LatexCommand label
17249 name "subsec:Hollywood"
17250
17251 \end_inset
17252
17253
17254 \change_unchanged
17255 Hollywood (Hollywood spec scripts)
17256 \end_layout
17257
17258 \begin_layout Standard
17259 by 
17260 \shape smallcaps
17261 Garst Reese
17262 \end_layout
17263
17264 \begin_layout Subsubsection
17265 Introduction
17266 \end_layout
17267
17268 \begin_layout Standard
17269 Getting the format of a Hollywood script right is a 
17270 \begin_inset Quotes eld
17271 \end_inset
17272
17273 rite of passage.
17274 \begin_inset Quotes erd
17275 \end_inset
17276
17277  It is designed to make the readers focus on content and to be easy and familiar for the actors to read.
17278  Each page of a script should be one minute of film.
17279  Nothing goes in a script that you cannot see or hear on screen.
17280  The courier 12 pt font should be used throughout.
17281  No italics.
17282 \end_layout
17283
17284 \begin_layout Subsubsection
17285
17286 \change_inserted -712698321 1673691597
17287 \begin_inset CommandInset label
17288 LatexCommand label
17289 name "subsec:Special-problems-Hollywood"
17290
17291 \end_inset
17292
17293
17294 \change_unchanged
17295 Special problems
17296 \end_layout
17297
17298 \begin_layout Standard
17299 Speakers' lines should 
17300 \change_deleted -712698321 1673691805
17301
17302 \emph on
17303 NEVER
17304 \change_inserted -712698321 1673691805
17305 never
17306 \change_unchanged
17307
17308 \emph default
17309  break in mid-sentence.
17310  If a speaker's lines continue over a page break,
17311  repeat the 
17312 \family sans
17313 Speaker
17314 \family default
17315  title followed by (Cont'd).
17316 \end_layout
17317
17318 \begin_layout Subsubsection
17319 Special features
17320 \end_layout
17321
17322 \begin_layout Standard
17323 Insert the 
17324 \family sans
17325 Speaker
17326 \family default
17327  names as labels then cross-reference the label to insert the name.
17328  The cross-reference dialog will show the current cast of characters.
17329  You can use this to insert the speaker name in narratives also.
17330 \end_layout
17331
17332 \begin_layout Subsubsection
17333 Paper size and Margins
17334 \end_layout
17335
17336 \begin_layout Standard
17337 USLetter,
17338  left 1.6in,
17339  right 0.75in,
17340  top 0.5in,
17341  bottom 0.75in
17342 \end_layout
17343
17344 \begin_layout Subsubsection
17345 Environments
17346 \end_layout
17347
17348 \begin_layout Standard
17349 The following environments are available.
17350  You can use 
17351 \family typewriter
17352 hollywood.bind
17353 \family default
17354  to get the bind keys shown at the right.
17355 \end_layout
17356
17357 \begin_layout Itemize
17358
17359 \family sans
17360 Standard
17361 \begin_inset Newline newline
17362 \end_inset
17363
17364
17365 \family default
17366 Used where nothing else works.
17367  Try to avoid it.
17368 \end_layout
17369
17370 \begin_layout Itemize
17371
17372 \family sans
17373 FADE_IN
17374 \family default
17375 :
17376 \begin_inset space \hfill{}
17377 \end_inset
17378
17379
17380 \family sans
17381 M-z S-I
17382 \family default
17383
17384 \begin_inset Newline newline
17385 \end_inset
17386
17387 Usually followed by something like 
17388 \begin_inset Quotes eld
17389 \end_inset
17390
17391 on Sally waking up.
17392 \begin_inset Quotes erd
17393 \end_inset
17394
17395
17396 \end_layout
17397
17398 \begin_layout Itemize
17399
17400 \family sans
17401 INT:
17402 \begin_inset space \hfill{}
17403 \end_inset
17404
17405 M-z i
17406 \begin_inset Newline newline
17407 \end_inset
17408
17409
17410 \family default
17411 Introduces a new INTERIOR camera set-up.
17412  Always followed by DAY or NIGHT,
17413  or something similar to define the lighting required.
17414  Everthing on this line in CAPS.
17415 \end_layout
17416
17417 \begin_layout Itemize
17418
17419 \family sans
17420 EXT:
17421 \begin_inset space \hfill{}
17422 \end_inset
17423
17424 M-z e
17425 \begin_inset Newline newline
17426 \end_inset
17427
17428
17429 \family default
17430 Introduces a new EXTERIOR camera set-up.
17431  Everthing on this line in CAPS.
17432 \end_layout
17433
17434 \begin_layout Itemize
17435
17436 \family sans
17437 Speaker
17438 \begin_inset space \hfill{}
17439 \end_inset
17440
17441 M-z s
17442 \begin_inset Newline newline
17443 \end_inset
17444
17445
17446 \family default
17447 The character speaking.
17448 \end_layout
17449
17450 \begin_layout Itemize
17451
17452 \family sans
17453 Parenthetical
17454 \begin_inset space \hfill{}
17455 \end_inset
17456
17457 M-z p
17458 \begin_inset Newline newline
17459 \end_inset
17460
17461
17462 \family default
17463 Instructions to the speaker.
17464  The () are automatically inserted.
17465 \end_layout
17466
17467 \begin_layout Itemize
17468
17469 \family sans
17470 Dialogue
17471 \begin_inset space \hfill{}
17472 \end_inset
17473
17474 M-z d
17475 \begin_inset Newline newline
17476 \end_inset
17477
17478
17479 \family default
17480 What the 
17481 \family sans
17482 Speaker
17483 \family default
17484  says.
17485 \end_layout
17486
17487 \begin_layout Itemize
17488
17489 \family sans
17490 Transition
17491 \begin_inset space \hfill{}
17492 \end_inset
17493
17494 M-z t
17495 \begin_inset Newline newline
17496 \end_inset
17497
17498
17499 \family default
17500 Camera movement instruction.
17501  e.
17502 \begin_inset space \thinspace{}
17503 \end_inset
17504
17505 g.
17506 \begin_inset space \space{}
17507 \end_inset
17508
17509 CUT TO:
17510 \end_layout
17511
17512 \begin_layout Itemize
17513
17514 \family sans
17515 FADE OUT:
17516 \begin_inset space \hfill{}
17517 \end_inset
17518
17519 M-z S-I
17520 \end_layout
17521
17522 \begin_layout Itemize
17523
17524 \family sans
17525 Author
17526 \begin_inset space \hfill{}
17527 \end_inset
17528
17529 M-z S-A
17530 \end_layout
17531
17532 \begin_layout Itemize
17533
17534 \family sans
17535 Title
17536 \begin_inset space \hfill{}
17537 \end_inset
17538
17539 M-z S-T
17540 \end_layout
17541
17542 \begin_layout Itemize
17543
17544 \family sans
17545 Right_Address
17546 \begin_inset space \hfill{}
17547 \end_inset
17548
17549 M-z r
17550 \end_layout
17551
17552 \begin_layout Subsubsection
17553 Script jargon
17554 \end_layout
17555
17556 \begin_layout Itemize
17557 (O.S) —
17558  off screen
17559 \end_layout
17560
17561 \begin_layout Itemize
17562 (V.0) —
17563  voice over
17564 \end_layout
17565
17566 \begin_layout Itemize
17567 b.
17568 \begin_inset space \thinspace{}
17569 \end_inset
17570
17571 g.
17572  —
17573  background
17574 \end_layout
17575
17576 \begin_layout Itemize
17577 C.U.
17578  —
17579  close-up
17580 \end_layout
17581
17582 \begin_layout Itemize
17583 PAN —
17584  camera movement
17585 \end_layout
17586
17587 \begin_layout Itemize
17588 INSERT —
17589  cut to close-up of
17590 \end_layout
17591
17592 \begin_layout Chapter
17593
17594 \change_inserted 564990737 1671185876
17595 Modules
17596 \end_layout
17597
17598 \begin_layout Section
17599
17600 \change_inserted 564990737 1671716212
17601 Academic Field Specifics
17602 \end_layout
17603
17604 \begin_layout Subsection
17605
17606 \change_inserted 564990737 1671716212
17607 Chemistry:
17608  Hazard and Precautionary Statements 
17609 \end_layout
17610
17611 \begin_layout Standard
17612
17613 \change_inserted 564990737 1671716212
17614 This module provides two insets 
17615 \change_inserted -712698321 1673779038
17616 and a paragraph style 
17617 \change_inserted 564990737 1671716212
17618 to typeset numbers and phrases of chemical hazard and precautionary statements.
17619  For a description see 
17620 \family sans
17621 File\SpecialChar menuseparator
17622 Open Example\SpecialChar menuseparator
17623 Modules\SpecialChar menuseparator
17624 Hazard and Precautionary Statements
17625 \family default
17626  and 
17627 \family sans
17628 Help\SpecialChar menuseparator
17629 Specific Manuals\SpecialChar menuseparator
17630 Hazard and Precautionary Statements
17631 \family default
17632 .
17633 \end_layout
17634
17635 \begin_layout Subsection
17636
17637 \change_inserted 564990737 1671716212
17638
17639 \series bold
17640 Chemistry:
17641  Risk and Safety Statements
17642 \end_layout
17643
17644 \begin_layout Standard
17645
17646 \change_inserted 564990737 1671716212
17647 This module provides two insets,
17648  
17649 \family sans
17650 R-S number
17651 \family default
17652  and 
17653 \family sans
17654 R-S phrase
17655 \family default
17656 ,
17657  accessible via the menu 
17658 \family sans
17659 \bar under
17660 I
17661 \bar default
17662 nsert\SpecialChar menuseparator
17663 Custom
17664 \begin_inset space ~
17665 \end_inset
17666
17667 Insets
17668 \family default
17669  and an environment to typeset numbers and phrases of chemical risk and safety statements.
17670 \end_layout
17671
17672 \begin_layout Subsection
17673
17674 \change_inserted 564990737 1671716212
17675 Linguistics
17676 \end_layout
17677
17678 \begin_layout Standard
17679
17680 \change_inserted 564990737 1671716212
17681 This module 
17682 \change_deleted -712698321 1673779847
17683 uses the 
17684 \family sans
17685 covington.sty
17686 \family default
17687  package to add
17688 \change_inserted -712698321 1673779869
17689 provides specific
17690 \change_inserted 564990737 1671716212
17691  environments useful for linguistics (numbered examples,
17692  glosses,
17693  semantic markup,
17694  
17695 \change_inserted -712698321 1673779891
17696 OT 
17697 \change_inserted 564990737 1671716212
17698 tableau floats).
17699  You can obtain information about this module in 
17700 \family sans
17701 \bar under
17702 H
17703 \bar default
17704 elp\SpecialChar menuseparator
17705 S
17706 \bar under
17707 p
17708 \bar default
17709 ecific
17710 \begin_inset space ~
17711 \end_inset
17712
17713 Manuals\SpecialChar menuseparator
17714
17715 \bar under
17716 L
17717 \bar default
17718 inguistics
17719 \family default
17720  and 
17721 \family sans
17722 File\SpecialChar menuseparator
17723 Open Example\SpecialChar menuseparator
17724 Modules\SpecialChar menuseparator
17725 Linguistics
17726 \family default
17727 .
17728 \end_layout
17729
17730 \begin_layout Section
17731
17732 \change_inserted 564990737 1671788778
17733 Accessibility
17734 \end_layout
17735
17736 \begin_layout Subsection
17737
17738 \change_inserted 564990737 1671788778
17739 Braille
17740 \end_layout
17741
17742 \begin_layout Standard
17743
17744 \change_inserted 564990737 1671788778
17745 This module supports the Braille 
17746 \change_deleted -712698321 1673779995
17747 writing system
17748 \change_inserted -712698321 1673779996
17749 script
17750 \change_inserted 564990737 1671788778
17751 .
17752  It requires the \SpecialChar LaTeX
17753  package 
17754 \family typewriter
17755 braille.sty
17756 \family default
17757 .
17758  This and its documentation can be obtained from 
17759 \begin_inset CommandInset href
17760 LatexCommand href
17761 name "CTAN"
17762 target "https://www.ctan.org/pkg/braille"
17763 literal "false"
17764
17765 \end_inset
17766
17767 .
17768  
17769 \change_deleted -712698321 1673780105
17770 You do not have to reconfigure your system after installing it.
17771  
17772 \change_inserted 564990737 1671788778
17773 See 
17774 \family sans
17775 \bar under
17776 H
17777 \bar default
17778 elp\SpecialChar menuseparator
17779 S
17780 \bar under
17781 p
17782 \bar default
17783 ecific
17784 \begin_inset space ~
17785 \end_inset
17786
17787 Manuals\SpecialChar menuseparator
17788
17789 \bar under
17790 B
17791 \bar default
17792 raille
17793 \family default
17794  and 
17795 \family sans
17796 File\SpecialChar menuseparator
17797 Open Example\SpecialChar menuseparator
17798 Modules\SpecialChar menuseparator
17799 Braille
17800 \family default
17801 .
17802 \end_layout
17803
17804 \begin_layout Section
17805
17806 \change_inserted 564990737 1671788778
17807 Annotation & Revision
17808 \end_layout
17809
17810 \begin_layout Subsection
17811
17812 \change_inserted 564990737 1671788778
17813 FiXme Notes
17814 \end_layout
17815
17816 \begin_layout Standard
17817
17818 \change_inserted 564990737 1671788778
17819 This module provides “FiXme” (marginal) annotations for document revision purposes.
17820  A list of annotations can be produced by using the “List of FIXMEs” paragraph style.
17821  The annotations are customizable via the LaTeX preamble.
17822  See the 
17823 \change_inserted -712698321 1673780478
17824
17825 \family typewriter
17826 fix
17827 \change_deleted -712698321 1673780479
17828 FiX
17829 \change_inserted 564990737 1671788778
17830 me
17831 \family default
17832  documentation which can be obtained from 
17833 \begin_inset CommandInset href
17834 LatexCommand href
17835 name "CTAN"
17836 target "http://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf"
17837 literal "false"
17838
17839 \end_inset
17840
17841 .
17842  
17843 \end_layout
17844
17845 \begin_layout Paragraph
17846
17847 \change_inserted 564990737 1671788778
17848 Note:
17849 \end_layout
17850
17851 \begin_layout Standard
17852
17853 \change_inserted 564990737 1671788778
17854 by default,
17855  the notes are only displayed in “draft” mode (if the option “draft” has been inserted in 
17856 \family sans
17857 Document\SpecialChar menuseparator
17858 Settings\SpecialChar menuseparator
17859 Document Class\SpecialChar menuseparator
17860 Class Options\SpecialChar menuseparator
17861 Custom
17862 \family default
17863 ).
17864  To display them always,
17865  insert 
17866 \family typewriter
17867
17868 \backslash
17869 fxsetup{draft}
17870 \family default
17871  in 
17872 \family sans
17873 Document\SpecialChar menuseparator
17874 Settings\SpecialChar menuseparator
17875 \SpecialChar LaTeX
17876  Preamble
17877 \family default
17878 .
17879  
17880 \end_layout
17881
17882 \begin_layout Subsection
17883
17884 \change_inserted 564990737 1671788778
17885 PDF Comments
17886 \end_layout
17887
17888 \begin_layout Standard
17889
17890 \change_inserted 564990737 1671788778
17891 This module provides various kinds of annotations for PDF output.
17892  See 
17893 \family sans
17894 Help\SpecialChar menuseparator
17895 Specific Manuals\SpecialChar menuseparator
17896 PDF comments 
17897 \family default
17898 and
17899 \family sans
17900  File\SpecialChar menuseparator
17901 Open Example\SpecialChar menuseparator
17902 Modules\SpecialChar menuseparator
17903 PDF Comments
17904 \family default
17905 .
17906 \end_layout
17907
17908 \begin_layout Subsection
17909
17910 \change_inserted 564990737 1671788778
17911
17912 \series bold
17913 PDF Form
17914 \end_layout
17915
17916 \begin_layout Standard
17917
17918 \change_inserted 564990737 1671788778
17919 This module provides fields and buttons for PDF forms.
17920  See the 
17921 \begin_inset CommandInset href
17922 LatexCommand href
17923 name "hyperref documentation"
17924 target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
17925 literal "false"
17926
17927 \end_inset
17928
17929 ,
17930  
17931 \family sans
17932 Help\SpecialChar menuseparator
17933 Specific Manuals\SpecialChar menuseparator
17934 PDF forms 
17935 \family default
17936 and
17937 \family sans
17938  File\SpecialChar menuseparator
17939 Open Example\SpecialChar menuseparator
17940 Modules\SpecialChar menuseparator
17941 PDF Form
17942 \family default
17943 .
17944 \end_layout
17945
17946 \begin_layout Subsection
17947
17948 \change_inserted 564990737 1671788778
17949
17950 \series bold
17951 Ruby (Furigana)
17952 \end_layout
17953
17954 \begin_layout Standard
17955
17956 \change_inserted 564990737 1671788778
17957 This module defines an inset to typeset reading aids (ruby,
17958  furigana) to Chinese characters.
17959  It uses the 
17960 \change_deleted -712698321 1673781076
17961
17962 \change_inserted 564990737 1671788778
17963
17964 \family typewriter
17965 okumakro
17966 \family default
17967 ,
17968 \change_deleted -712698321 1673781078
17969
17970 \change_inserted 564990737 1671788778
17971  
17972 \change_deleted -712698321 1673781079
17973
17974 \change_inserted 564990737 1671788778
17975
17976 \family typewriter
17977 luatexja-ruby
17978 \change_deleted -712698321 1673781080
17979
17980 \family default
17981
17982 \change_inserted 564990737 1671788778
17983  or 
17984 \change_deleted -712698321 1673781082
17985
17986 \change_inserted 564990737 1671788778
17987
17988 \family typewriter
17989 ruby
17990 \change_deleted -712698321 1673781083
17991
17992 \family default
17993
17994 \change_inserted 564990737 1671788778
17995  package (depending on the TeX engine) or a fallback definition.
17996  
17997 \end_layout
17998
17999 \begin_layout Subsection
18000
18001 \change_inserted 564990737 1671788778
18002
18003 \series bold
18004 TODO notes
18005 \end_layout
18006
18007 \begin_layout Standard
18008
18009 \change_inserted 564990737 1671788778
18010 This module provides custom insets to insert TODO items in your document.
18011  In order to generate a “List of TODOs,” the module provides a paragraph style.
18012  Inserting 
18013 \change_deleted -712698321 1673781223
18014
18015 \change_inserted 564990737 1671788778
18016
18017 \family typewriter
18018 final
18019 \change_deleted -712698321 1673781224
18020
18021 \family default
18022
18023 \change_inserted 564990737 1671788778
18024  in 
18025 \family sans
18026 Document\SpecialChar menuseparator
18027 Settings\SpecialChar menuseparator
18028 Document Class\SpecialChar menuseparator
18029 Class Options\SpecialChar menuseparator
18030 Custom
18031 \family default
18032 ) suppresses the output of TODO notes.
18033  See the 
18034 \begin_inset CommandInset href
18035 LatexCommand href
18036 name "todonotes documentation"
18037 target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
18038 literal "false"
18039
18040 \end_inset
18041
18042 .
18043 \end_layout
18044
18045 \begin_layout Section
18046
18047 \change_inserted 564990737 1671829045
18048 Bibliography 
18049 \end_layout
18050
18051 \begin_layout Subsection
18052
18053 \change_inserted 564990737 1671829045
18054 APA Style with Nat
18055 \change_deleted -712698321 1673781454
18056 B
18057 \change_inserted -712698321 1673781454
18058 b
18059 \change_inserted 564990737 1671829045
18060 ib
18061 \end_layout
18062
18063 \begin_layout Standard
18064
18065 \change_inserted 564990737 1671829045
18066 This module adds support for using natbib together with apacite (the bibliography style need not be 
18067 \family typewriter
18068 apacite
18069 \family default
18070  —
18071  it could be 
18072 \family typewriter
18073 apacite
18074 \family default
18075 ,
18076  
18077 \family typewriter
18078 apacitex
18079 \family default
18080 ,
18081  or any bibliography that works with both the natbib and apacite packages.) 
18082 \end_layout
18083
18084 \begin_layout Section
18085
18086 \change_inserted 564990737 1671829045
18087 Boxes
18088 \end_layout
18089
18090 \begin_layout Subsection
18091
18092 \change_inserted 564990737 1671829045
18093 Fancy Colored Boxes
18094 \end_layout
18095
18096 \begin_layout Standard
18097
18098 \change_inserted 564990737 1671829045
18099 This module adds ten custom insets that support colored boxes via the 
18100 \family typewriter
18101 tcolorbox
18102 \family default
18103  package.
18104  See 
18105 \family sans
18106 Help\SpecialChar menuseparator
18107 Specific Manuals\SpecialChar menuseparator
18108 Colored boxes
18109 \family default
18110 ,
18111  
18112 \family sans
18113 File\SpecialChar menuseparator
18114 Open Example\SpecialChar menuseparator
18115 Modules\SpecialChar menuseparator
18116 Fancy Color Boxes
18117 \family default
18118  
18119 \change_inserted -712698321 1673854244
18120 and 
18121 \change_inserted 564990737 1671829045
18122 the 
18123 \begin_inset CommandInset href
18124 LatexCommand href
18125 name "tcolorbox documentation"
18126 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
18127 literal "false"
18128
18129 \end_inset
18130
18131  for details.
18132  
18133 \end_layout
18134
18135 \begin_layout Subsection
18136
18137 \change_inserted 564990737 1671829045
18138 Graphic boxes
18139 \end_layout
18140
18141 \begin_layout Standard
18142
18143 \change_inserted 564990737 1671829045
18144 This provides the custom insets 
18145 \family sans
18146 Reflectbox
18147 \family default
18148 ,
18149  
18150 \family sans
18151 Resizebox
18152 \family default
18153 ,
18154  
18155 \family sans
18156 Rotatebox
18157 \family default
18158  and 
18159 \family sans
18160 Scalebox
18161 \family default
18162  to scale and rotate its content.
18163 \end_layout
18164
18165 \begin_layout Standard
18166
18167 \change_inserted 564990737 1671829045
18168
18169 \family sans
18170 Reflectbox
18171 \family default
18172  is a simple way of reversing text without any other enhancement:
18173 \end_layout
18174
18175 \begin_layout Standard
18176
18177 \change_inserted 564990737 1671829045
18178 \begin_inset Flex Reflectbox
18179 status open
18180
18181 \begin_layout Plain Layout
18182
18183 \change_inserted 564990737 1671829045
18184 Great Western Railway
18185 \change_unchanged
18186
18187 \end_layout
18188
18189 \end_inset
18190
18191
18192 \end_layout
18193
18194 \begin_layout Standard
18195
18196 \change_inserted 564990737 1671829045
18197 (You will need to use Ctrl-R to see any of these examples.)
18198 \end_layout
18199
18200 \begin_layout Standard
18201
18202 \change_inserted 564990737 1671829045
18203
18204 \family sans
18205 Resizebox
18206 \family default
18207  allows you to specify the dimensions of the text or image;
18208  permissible units are em,
18209  ex,
18210  in,
18211  pt,
18212  pc,
18213  cm,
18214  mm,
18215  dd,
18216  cc,
18217  nd,
18218  nc,
18219  bp,
18220  or sp;
18221  if you enter 
18222 \family typewriter
18223 !
18224
18225 \family default
18226  for 
18227 \family typewriter
18228 Height
18229 \family default
18230  it scales by the width factor:
18231 \end_layout
18232
18233 \begin_layout Standard
18234
18235 \change_inserted 564990737 1671829045
18236 \begin_inset Flex Resizebox
18237 status open
18238
18239 \begin_layout Plain Layout
18240
18241 \change_inserted 564990737 1671829045
18242 \begin_inset Argument 1
18243 status open
18244
18245 \begin_layout Plain Layout
18246
18247 \change_inserted 564990737 1671829045
18248 48mm
18249 \change_unchanged
18250
18251 \end_layout
18252
18253 \end_inset
18254
18255
18256 \begin_inset Argument 2
18257 status open
18258
18259 \begin_layout Plain Layout
18260
18261 \change_inserted 564990737 1671829045
18262 !
18263 \change_unchanged
18264
18265 \end_layout
18266
18267 \end_inset
18268
18269 Great Western Railway
18270 \change_unchanged
18271
18272 \end_layout
18273
18274 \end_inset
18275
18276
18277 \end_layout
18278
18279 \begin_layout Standard
18280
18281 \change_inserted 564990737 1671829045
18282
18283 \family sans
18284 Rotatebox
18285 \family default
18286  allows you to rotate 
18287 \change_deleted -712698321 1673856297
18288 text
18289 \change_inserted -712698321 1673856302
18290 its contents
18291 \change_inserted 564990737 1671829045
18292  around the reference point of the box.
18293  If you wish to rotate the box around a different origin,
18294  place the cursor inside the box and select Insert\SpecialChar menuseparator
18295 Origin;
18296  o
18297 \family typewriter
18298 rigin
18299 \family default
18300  is specified as 
18301 \family typewriter
18302 c
18303 \family default
18304 ,
18305
18306 \family typewriter
18307  l
18308 \family default
18309 ,
18310
18311 \family typewriter
18312  r
18313 \family default
18314 ,
18315
18316 \family typewriter
18317  b
18318 \family default
18319 ,
18320
18321 \family typewriter
18322  t
18323 \family default
18324  or meaningful combinations of these and the counterclockwise rotation angle is expressed in degrees.
18325  For example:
18326 \end_layout
18327
18328 \begin_layout Standard
18329
18330 \change_inserted 564990737 1671829045
18331 \begin_inset Flex Rotatebox
18332 status open
18333
18334 \begin_layout Plain Layout
18335
18336 \change_inserted 564990737 1671829045
18337 \begin_inset Argument 1
18338 status open
18339
18340 \begin_layout Plain Layout
18341
18342 \change_inserted 274215730 1672888693
18343 origin
18344 \change_inserted 564990737 1671829045
18345 =c
18346 \change_unchanged
18347
18348 \end_layout
18349
18350 \end_inset
18351
18352
18353 \begin_inset Argument 2
18354 status open
18355
18356 \begin_layout Plain Layout
18357
18358 \change_inserted 564990737 1671829045
18359 30
18360 \change_unchanged
18361
18362 \end_layout
18363
18364 \end_inset
18365
18366 Great Western Railway
18367 \change_unchanged
18368
18369 \end_layout
18370
18371 \end_inset
18372
18373
18374 \end_layout
18375
18376 \begin_layout Standard
18377
18378 \change_inserted 564990737 1671829045
18379 You can combine boxes as in:
18380 \end_layout
18381
18382 \begin_layout Standard
18383
18384 \change_inserted 564990737 1671829045
18385 \begin_inset Flex Rotatebox
18386 status open
18387
18388 \begin_layout Plain Layout
18389
18390 \change_inserted 564990737 1671829045
18391 \begin_inset Argument 1
18392 status open
18393
18394 \begin_layout Plain Layout
18395
18396 \change_inserted 274215730 1672888702
18397 origin
18398 \change_inserted 564990737 1671829045
18399 =c
18400 \change_unchanged
18401
18402 \end_layout
18403
18404 \end_inset
18405
18406
18407 \begin_inset Argument 2
18408 status open
18409
18410 \begin_layout Plain Layout
18411
18412 \change_inserted 564990737 1671829045
18413 -15
18414 \change_unchanged
18415
18416 \end_layout
18417
18418 \end_inset
18419
18420
18421 \begin_inset Flex Resizebox
18422 status open
18423
18424 \begin_layout Plain Layout
18425
18426 \change_inserted 564990737 1671829045
18427 \begin_inset Argument 1
18428 status open
18429
18430 \begin_layout Plain Layout
18431
18432 \change_inserted 564990737 1671829045
18433 48mm
18434 \change_unchanged
18435
18436 \end_layout
18437
18438 \end_inset
18439
18440
18441 \begin_inset Argument 2
18442 status open
18443
18444 \begin_layout Plain Layout
18445
18446 \change_inserted 564990737 1671829045
18447 !
18448 \change_unchanged
18449
18450 \end_layout
18451
18452 \end_inset
18453
18454
18455 \begin_inset Flex Reflectbox
18456 status open
18457
18458 \begin_layout Plain Layout
18459
18460 \change_inserted 564990737 1671829045
18461 Great Western Railway
18462 \change_unchanged
18463
18464 \end_layout
18465
18466 \end_inset
18467
18468
18469 \change_unchanged
18470
18471 \end_layout
18472
18473 \end_inset
18474
18475
18476 \change_unchanged
18477
18478 \end_layout
18479
18480 \end_inset
18481
18482
18483 \end_layout
18484
18485 \begin_layout Standard
18486
18487 \change_inserted 564990737 1671829045
18488
18489 \family sans
18490 Scalebox
18491 \family default
18492  scales 
18493 \change_deleted -712698321 1673856306
18494 text
18495 \change_inserted -712698321 1673856308
18496 its contents
18497 \change_inserted 564990737 1671829045
18498 ;
18499  select Insert\SpecialChar menuseparator
18500 V-Factor to add a vertical factor.
18501  If the vertical factor is omitted,
18502  the horizontal is used.
18503  Adding different horizontal and vertical values creates distortion as in 
18504 \end_layout
18505
18506 \begin_layout Standard
18507
18508 \change_inserted 564990737 1671829045
18509
18510 \family typewriter
18511 \begin_inset Flex Scalebox
18512 status open
18513
18514 \begin_layout Plain Layout
18515
18516 \change_inserted 564990737 1671829045
18517 \begin_inset Argument 1
18518 status open
18519
18520 \begin_layout Plain Layout
18521
18522 \change_inserted 564990737 1671829045
18523 2
18524 \change_unchanged
18525
18526 \end_layout
18527
18528 \end_inset
18529
18530
18531 \begin_inset Argument 2
18532 status open
18533
18534 \begin_layout Plain Layout
18535
18536 \change_inserted 564990737 1671829045
18537 1.5
18538 \change_unchanged
18539
18540 \end_layout
18541
18542 \end_inset
18543
18544
18545 \family roman
18546 Great Western Railway
18547 \change_unchanged
18548
18549 \end_layout
18550
18551 \end_inset
18552
18553 .
18554 \end_layout
18555
18556 \begin_layout Standard
18557
18558 \change_inserted 564990737 1671829045
18559 A negative horizontal value reverses the text 
18560 \change_inserted -712698321 1673856686
18561 on the horizontal axis,
18562  
18563 \change_deleted -712698321 1673856688
18564 and 
18565 \change_inserted 564990737 1671829045
18566 a negative vertical value 
18567 \change_deleted -712698321 1673856694
18568 inverts
18569 \change_inserted -712698321 1673856702
18570  on the vertical axis,
18571
18572 \change_inserted 564990737 1671829045
18573  
18574 \change_deleted -712698321 1673856704
18575 it 
18576 \change_inserted 564990737 1671829045
18577 so that you get 
18578 \end_layout
18579
18580 \begin_layout Standard
18581
18582 \change_inserted 564990737 1671829045
18583 \begin_inset Flex Scalebox
18584 status open
18585
18586 \begin_layout Plain Layout
18587
18588 \change_inserted 564990737 1671829045
18589 \begin_inset Argument 1
18590 status open
18591
18592 \begin_layout Plain Layout
18593
18594 \change_inserted 564990737 1671829045
18595 -1
18596 \change_unchanged
18597
18598 \end_layout
18599
18600 \end_inset
18601
18602
18603 \begin_inset Argument 2
18604 status open
18605
18606 \begin_layout Plain Layout
18607
18608 \change_inserted 564990737 1671829045
18609 1
18610 \change_unchanged
18611
18612 \end_layout
18613
18614 \end_inset
18615
18616 Great Western Railway
18617 \change_unchanged
18618
18619 \end_layout
18620
18621 \end_inset
18622
18623  and 
18624 \begin_inset Flex Scalebox
18625 status open
18626
18627 \begin_layout Plain Layout
18628
18629 \change_inserted 564990737 1671829045
18630 \begin_inset Argument 1
18631 status open
18632
18633 \begin_layout Plain Layout
18634
18635 \change_inserted 564990737 1671829045
18636 1
18637 \change_unchanged
18638
18639 \end_layout
18640
18641 \end_inset
18642
18643
18644 \begin_inset Argument 2
18645 status open
18646
18647 \begin_layout Plain Layout
18648
18649 \change_inserted 564990737 1671829045
18650 -1
18651 \change_unchanged
18652
18653 \end_layout
18654
18655 \end_inset
18656
18657 Great Western Railway
18658 \change_unchanged
18659
18660 \end_layout
18661
18662 \end_inset
18663
18664 .
18665 \end_layout
18666
18667 \begin_layout Subsection
18668
18669 \change_inserted 564990737 1671884699
18670 Section Boxes
18671 \end_layout
18672
18673 \begin_layout Standard
18674
18675 \change_inserted 564990737 1671884699
18676 This module defines Boxes with section header.
18677  It is mainly intended for the SciPoster Document class.
18678  
18679 \end_layout
18680
18681 \begin_layout Subsection
18682
18683 \change_inserted 564990737 1671884699
18684 Variable-width Minipages
18685 \end_layout
18686
18687 \begin_layout Standard
18688
18689 \change_inserted 564990737 1671884699
18690 This module adds a 
18691 \family sans
18692 Minipage (Var.
18693 \begin_inset space \thinspace{}
18694 \end_inset
18695
18696 Width)
18697 \family default
18698  inset to 
18699 \family sans
18700 Insert\SpecialChar menuseparator
18701 Custom Inset
18702 \family default
18703  using the 
18704 \family typewriter
18705 varwidth
18706 \family default
18707  LaTeX package.
18708  The 
18709 \family typewriter
18710 varwidth
18711 \family default
18712  package provides a variable-width minipage,
18713  whose resulting width is the width of its contents (if this does not exceed the specified maximum width).
18714  The inset has two optional arguments which can be added by placing the cursor inside the minipage and entering 
18715 \family sans
18716 Insert\SpecialChar menuseparator
18717 Vert.
18718 \begin_inset space \thinspace{}
18719 \end_inset
18720
18721 Adjustment
18722 \family default
18723  (
18724 \family typewriter
18725 c|t|b
18726 \family default
18727 ) or 
18728 \family sans
18729 Insert\SpecialChar menuseparator
18730 Max.
18731 \begin_inset space \thinspace{}
18732 \end_inset
18733
18734 Width
18735 \family default
18736  (defaults to 
18737 \family typewriter
18738
18739 \backslash
18740 linewidth
18741 \family default
18742 ).
18743  See 
18744 \family sans
18745 File\SpecialChar menuseparator
18746 Open Example\SpecialChar menuseparator
18747 Variable-width Minipages
18748 \family default
18749 .
18750  
18751 \end_layout
18752
18753 \begin_layout Section
18754
18755 \change_inserted 564990737 1671884699
18756 Fixes & Hacks
18757 \end_layout
18758
18759 \begin_layout Subsection
18760
18761 \change_inserted 564990737 1671884699
18762 Fix Computer Modern Fonts
18763 \end_layout
18764
18765 \begin_layout Standard
18766
18767 \change_inserted 564990737 1671884699
18768 This module uses the 
18769 \family sans
18770 fix-cm
18771 \family default
18772  package to improve the appearance of Computer Modern fonts and make them available with arbitrary sizes.
18773  See the 
18774 \begin_inset CommandInset href
18775 LatexCommand href
18776 name "fix-cm documentation"
18777 target "http://mirrors.ctan.org/macros/latex/base/fix-cm.pdf"
18778 literal "false"
18779
18780 \end_inset
18781
18782 .
18783  
18784 \end_layout
18785
18786 \begin_layout Subsection
18787
18788 \change_inserted 564990737 1671884699
18789 \SpecialChar LaTeX
18790  Kernel Fixes (Obsolete)
18791 \end_layout
18792
18793 \begin_layout Standard
18794
18795 \change_inserted 564990737 1671884699
18796 This module loads the \SpecialChar LaTeX
18797  package 
18798 \family sans
18799 fixltx2e
18800 \family default
18801  which contains some bug fixes for \SpecialChar LaTeX
18802 .
18803  If you use this module your typeset document may look different when you process it,
18804  depending on the respective version of 
18805 \family sans
18806 fixltx2e
18807 \family default
18808 .
18809  
18810 \end_layout
18811
18812 \begin_layout Paragraph
18813
18814 \change_inserted 564990737 1671884699
18815 Note:
18816 \end_layout
18817
18818 \begin_layout Standard
18819
18820 \change_inserted 564990737 1671884699
18821 recent \SpecialChar LaTeX
18822  kernels (as of 2015/01/01) include the functionality of 
18823 \family sans
18824 fixltx2e
18825 \family default
18826 ,
18827  so the 
18828 \family sans
18829 fixltx2e
18830 \family default
18831  module is obsolete with newer \SpecialChar LaTeX
18832  distributions.
18833
18834 \change_deleted -712698321 1673857809
18835  
18836 \change_inserted 564990737 1671884699
18837
18838 \end_layout
18839
18840 \begin_layout Subsection
18841
18842 \change_inserted 564990737 1671884699
18843 Minimalistic Insets
18844 \end_layout
18845
18846 \begin_layout Standard
18847
18848 \change_inserted 564990737 1671884699
18849 This module redefines several insets (Index,
18850  Branch,
18851  URL) as being Minimalistic.
18852 \end_layout
18853
18854 \begin_layout Subsection
18855
18856 \change_inserted 564990737 1671884699
18857 Title and Preamble Hacks
18858 \end_layout
18859
18860 \begin_layout Standard
18861
18862 \change_inserted 564990737 1671884699
18863 This module provides two new paragraph styles:
18864  
18865 \end_layout
18866
18867 \begin_layout Enumerate
18868
18869 \change_inserted 564990737 1671884699
18870
18871 \family sans
18872 In Preamble
18873 \family default
18874  which puts whatever is entered into it into the preamble.
18875  This can be used,
18876  if one wishes,
18877  to include preamble code in the body of a LyX document.
18878  
18879 \end_layout
18880
18881 \begin_layout Enumerate
18882
18883 \change_inserted 564990737 1671884699
18884
18885 \family sans
18886 In Title
18887 \family default
18888  which that will put its contents into the body of the LaTeX document,
18889  but before 
18890 \family typewriter
18891
18892 \backslash
18893 maketitle
18894 \family default
18895  is issued.
18896  This is useful for making branches and notes in title-related material.
18897  (However,
18898  if you put these in a 
18899 \family sans
18900 Standard
18901 \family default
18902  layout,
18903  this signals to LyX to output 
18904 \family typewriter
18905
18906 \backslash
18907 maketitle
18908 \family default
18909 ,
18910  which may then come too early.)
18911 \end_layout
18912
18913 \begin_layout Section
18914
18915 \change_inserted 564990737 1672081439
18916 Floats & captions
18917 \end_layout
18918
18919 \begin_layout Subsection
18920
18921 \change_inserted 564990737 1672081439
18922 Algorithm2e Float
18923 \end_layout
18924
18925 \begin_layout Standard
18926
18927 \change_inserted 564990737 1672081439
18928 This module uses the 
18929 \family sans
18930 algorithm2e
18931 \family default
18932  package for algorithm floats rather than LyX’s home-brewed algorithm floats.
18933  Use the Algorithm paragraph style to enter and indent the algorithm.
18934  See the 
18935 \begin_inset CommandInset href
18936 LatexCommand href
18937 name "algorithm2e documentation"
18938 target "http://mirrors.ctan.org/macros/latex/contrib/algorithm2e/doc/algorithm2e.pdf"
18939 literal "false"
18940
18941 \end_inset
18942
18943 .
18944 \end_layout
18945
18946 \begin_layout Subsection
18947
18948 \change_inserted 564990737 1672081439
18949 Bilingual Captions AKA Multilingual Captions
18950 \end_layout
18951
18952 \begin_layout Standard
18953
18954 \change_inserted 564990737 1672081439
18955 This module provides the paragraph style 
18956 \family sans
18957 Caption
18958 \begin_inset space ~
18959 \end_inset
18960
18961 setup
18962 \family default
18963  with which to typeset 
18964 \change_deleted -712698321 1673859156
18965 mult
18966 \change_inserted -712698321 1673859156
18967 b
18968 \change_inserted 564990737 1672081439
18969 ilingual captions.
18970  Within this paragraph style 
18971 \family sans
18972 Insert\SpecialChar menuseparator
18973 Language
18974 \family default
18975  allows you to enter the desired 
18976 \change_inserted -712698321 1673859387
18977 second 
18978 \change_inserted 564990737 1672081439
18979 language using one of the babel names.
18980  See 
18981 \family sans
18982 File\SpecialChar menuseparator
18983 Open Example\SpecialChar menuseparator
18984
18985 \change_inserted -712698321 1673859558
18986 Modules\SpecialChar menuseparator
18987
18988 \change_inserted 564990737 1672081439
18989 Multilingual Captions
18990 \family default
18991  and 
18992 \family sans
18993 Help\SpecialChar menuseparator
18994 Specific Manuals\SpecialChar menuseparator
18995 Multilingual Captions
18996 \family default
18997  further information on its use.
18998 \end_layout
18999
19000 \begin_layout Subsection
19001
19002 \change_inserted 564990737 1672081439
19003 Number Figures by Section
19004 \end_layout
19005
19006 \begin_layout Standard
19007
19008 \change_inserted 564990737 1672081439
19009 This module resets the figure number at section start and prepends the section number to the figure number,
19010  as in “Figure 2.1.” (By default book and report document classes number by Chapter and article document classes have a single sequence.) 
19011 \end_layout
19012
19013 \begin_layout Subsection
19014
19015 \change_inserted 564990737 1672081439
19016 Number Tables by Section
19017 \end_layout
19018
19019 \begin_layout Standard
19020
19021 \change_inserted 564990737 1672081439
19022 This module resets the table number at section start and prepends the section number to the table number,
19023  as in “Table 2.1.” (By default book and report document classes number by Chapter and article document classes have a single sequence.) 
19024 \end_layout
19025
19026 \begin_layout Section
19027
19028 \change_inserted 564990737 1672081439
19029 Foot- and Endnotes
19030 \end_layout
19031
19032 \begin_layout Subsection
19033
19034 \change_inserted 564990737 1672081439
19035 Endnotes (Basic)
19036 \end_layout
19037
19038 \begin_layout Standard
19039
19040 \change_inserted 564990737 1672081439
19041 This module adds an endnote inset,
19042  in addition to footnotes.
19043  This uses the 
19044 \family sans
19045 endnotes
19046 \family default
19047  package,
19048  which has some limitations but works with older 
19049 \change_deleted -712698321 1673861636
19050 LaTeX
19051 \change_inserted -712698321 1673861636
19052 \SpecialChar LaTeX
19053
19054 \change_inserted 564990737 1672081439
19055  distributions as well.
19056  Use 
19057 \family sans
19058 Insert\SpecialChar menuseparator
19059 Custom Inset\SpecialChar menuseparator
19060 Endnote
19061 \family default
19062  to insert an endnote and 
19063 \family sans
19064 Insert\SpecialChar menuseparator
19065 List/Contents/References\SpecialChar menuseparator
19066 Endnotes
19067 \family default
19068  to insert the endnotes list where you want the endnotes to appear.
19069  See also 
19070 \family sans
19071 Help\SpecialChar menuseparator
19072 Embedded
19073 \change_deleted -712698321 1673861792
19074 \SpecialChar menuseparator
19075
19076 \change_inserted 564990737 1672081439
19077  Objects
19078 \change_deleted -712698321 1673861963
19079 \SpecialChar menuseparator
19080 Notes\SpecialChar menuseparator
19081 Footnotes
19082 \change_inserted -712698321 1673861963
19083
19084 \family default
19085 ,
19086  section 
19087 \emph on
19088 4.2 Footnotes
19089 \change_inserted 564990737 1672081439
19090
19091 \emph default
19092 .
19093 \end_layout
19094
19095 \begin_layout Subsection
19096
19097 \change_inserted 564990737 1672081439
19098 Endnotes (Extended)
19099 \end_layout
19100
19101 \begin_layout Standard
19102
19103 \change_inserted 564990737 1672081439
19104 This module adds an endnote inset,
19105  in addition to footnotes.
19106  This uses the 
19107 \family sans
19108 enotez
19109 \family default
19110  package which is more powerful and customizable than the 
19111 \family sans
19112 endnotes
19113 \family default
19114  package,
19115  but requires a fairly modern 
19116 \change_deleted -712698321 1673861643
19117 LaTeX
19118 \change_inserted -712698321 1673861643
19119 \SpecialChar LaTeX
19120
19121 \change_inserted 564990737 1672081439
19122  distribution (with 
19123 \change_deleted -712698321 1673861645
19124 LaTeX
19125 \change_inserted -712698321 1673861645
19126 \SpecialChar LaTeX
19127
19128 \change_inserted 564990737 1672081439
19129 3).
19130  Use 
19131 \family sans
19132 Insert\SpecialChar menuseparator
19133 Custom Inset\SpecialChar menuseparator
19134 Endnote
19135 \family default
19136  to insert an endnote and 
19137 \family sans
19138 Insert\SpecialChar menuseparator
19139 List/Contents/References\SpecialChar menuseparator
19140 Endnotes
19141 \family default
19142  to insert the endnotes list where you want the endnotes to appear.
19143  See also 
19144 \family sans
19145 Help\SpecialChar menuseparator
19146 Embedded
19147 \change_deleted -712698321 1673861798
19148 \SpecialChar menuseparator
19149
19150 \change_inserted 564990737 1672081439
19151  Objects
19152 \change_inserted -712698321 1673861924
19153
19154 \family default
19155 ,
19156  section 
19157 \emph on
19158 4.2 Footnotes
19159 \emph default
19160 .
19161 \change_deleted -712698321 1673861927
19162
19163 \family sans
19164 \SpecialChar menuseparator
19165 Notes\SpecialChar menuseparator
19166 Footnotes
19167 \change_inserted 564990737 1672081439
19168
19169 \family default
19170 .
19171 \end_layout
19172
19173 \begin_layout Subsection
19174
19175 \change_inserted 564990737 1672081439
19176 Footnotes as Endnotes (Basic)
19177 \end_layout
19178
19179 \begin_layout Standard
19180
19181 \change_inserted 564990737 1672081439
19182 This module sets all footnotes as endnotes.
19183  This uses the 
19184 \family sans
19185 endnotes
19186 \family default
19187  package,
19188  which has some limitations but works with older 
19189 \change_deleted -712698321 1673861650
19190 LaTeX
19191 \change_inserted -712698321 1673861650
19192 \SpecialChar LaTeX
19193
19194 \change_inserted 564990737 1672081439
19195  distributions as well.
19196  Use 
19197 \family sans
19198 Insert\SpecialChar menuseparator
19199 List/Contents/References\SpecialChar menuseparator
19200 Endnotes
19201 \family default
19202  to insert the endnotes list where you want the endnotes to appear.
19203  See also 
19204 \family sans
19205 Help\SpecialChar menuseparator
19206 Embedded
19207 \change_deleted -712698321 1673861805
19208 \SpecialChar menuseparator
19209
19210 \change_inserted 564990737 1672081439
19211  Objects
19212 \change_deleted -712698321 1673861947
19213 \SpecialChar menuseparator
19214 Notes\SpecialChar menuseparator
19215 Footnotes
19216 \change_inserted -712698321 1673861947
19217
19218 \family default
19219 ,
19220  section 
19221 \emph on
19222 4.2 Footnotes
19223 \change_inserted 564990737 1672081439
19224
19225 \emph default
19226 .
19227 \end_layout
19228
19229 \begin_layout Subsection
19230
19231 \change_inserted 564990737 1672081439
19232 Footnotes as Endnotes (Extended)
19233 \end_layout
19234
19235 \begin_layout Standard
19236
19237 \change_inserted 564990737 1672081439
19238 This module sets all footnotes as endnotes.
19239  This uses the 
19240 \family sans
19241 enotez
19242 \family default
19243  package which is more powerful and customizable than then 
19244 \family sans
19245 endnotes
19246 \family default
19247  package,
19248  but requires a fairly modern 
19249 \change_deleted -712698321 1673861654
19250 LaTeX
19251 \change_inserted -712698321 1673861654
19252 \SpecialChar LaTeX
19253
19254 \change_inserted 564990737 1672081439
19255  distribution (with 
19256 \change_deleted -712698321 1673861656
19257 LaTeX
19258 \change_inserted -712698321 1673861656
19259 \SpecialChar LaTeX
19260
19261 \change_inserted 564990737 1672081439
19262 3).
19263  Use 
19264 \family sans
19265 Insert\SpecialChar menuseparator
19266 List/Contents/References\SpecialChar menuseparator
19267 Endnotes
19268 \family default
19269  to insert the endnotes list where you want the endnotes to appear.
19270  See also 
19271 \family sans
19272 Help\SpecialChar menuseparator
19273 Embedded
19274 \change_deleted -712698321 1673861808
19275 \SpecialChar menuseparator
19276
19277 \change_inserted 564990737 1672081439
19278  Objects
19279 \change_deleted -712698321 1673861955
19280 \SpecialChar menuseparator
19281 Notes\SpecialChar menuseparator
19282 Footnotes
19283 \change_inserted -712698321 1673861989
19284
19285 \family default
19286 ,
19287  section 
19288 \emph on
19289 4.2 Footnotes
19290 \emph default
19291 .
19292 \change_deleted -712698321 1673861956
19293 .
19294 \change_inserted 564990737 1672081439
19295
19296 \end_layout
19297
19298 \begin_layout Section
19299
19300 \change_inserted 564990737 1672081439
19301 Leisure,
19302  Sports and Music
19303 \end_layout
19304
19305 \begin_layout Subsection
19306
19307 \change_inserted 564990737 1672081439
19308 Chess Board
19309 \end_layout
19310
19311 \begin_layout Standard
19312
19313 \change_inserted 564990737 1672081439
19314 This module provides support for the 
19315 \family sans
19316 chessboard
19317 \family default
19318  package to print chess games.
19319  See 
19320 \family sans
19321 File\SpecialChar menuseparator
19322 Open Example\SpecialChar menuseparator
19323 Articles\SpecialChar menuseparator
19324 Chess
19325 \family default
19326  where you will find 
19327 \family sans
19328 Game 1
19329 \family default
19330  and 
19331 \family sans
19332 Game 2
19333 \family default
19334  and the 
19335 \begin_inset CommandInset href
19336 LatexCommand href
19337 name "chessboard documentation"
19338 target "http://mirrors.ctan.org/macros/latex/contrib/chessboard/chessboard.pdf"
19339 literal "false"
19340
19341 \end_inset
19342
19343 .
19344 \end_layout
19345
19346 \begin_layout Subsection
19347
19348 \change_inserted 564990737 1672081439
19349 Lilypond Music Notation
19350 \end_layout
19351
19352 \begin_layout Standard
19353
19354 \change_inserted 564990737 1672081439
19355 This module provides an inset via 
19356 \family sans
19357 \bar under
19358 I
19359 \bar default
19360 nsert\SpecialChar menuseparator
19361 Custom Inset\SpecialChar menuseparator
19362 Lilypond
19363 \family default
19364  in which to enter code for the LilyPond music editor.
19365  It will then be processed in the output.
19366  See 
19367 \family sans
19368 Help\SpecialChar menuseparator
19369 Specific Manuals\SpecialChar menuseparator
19370 Lilypond
19371 \family default
19372  and 
19373 \family sans
19374 File\SpecialChar menuseparator
19375 Open Example\SpecialChar menuseparator
19376 Modules\SpecialChar menuseparator
19377 Lilypond Book
19378 \family default
19379 .
19380  It cannot be used if the modules 
19381 \family sans
19382 Rnw
19383 \begin_inset space \thinspace{}
19384 \end_inset
19385
19386 (knitr) 
19387 \family default
19388 or
19389 \family sans
19390  Sweave
19391 \family default
19392  have been loaded.
19393 \end_layout
19394
19395 \begin_layout Section
19396
19397 \change_inserted 564990737 1672138150
19398 List enhancements
19399 \end_layout
19400
19401 \begin_layout Subsection
19402
19403 \change_inserted 564990737 1672138150
19404 Customizable Lists
19405 \begin_inset CommandInset label
19406 LatexCommand label
19407 name "subsec:Customizable-Lists"
19408
19409 \end_inset
19410
19411
19412 \end_layout
19413
19414 \begin_layout Standard
19415
19416 \change_inserted 564990737 1672138150
19417 This module uses the
19418 \family sans
19419  enumitem
19420 \family default
19421  package to enable the customization of various list environments.
19422 \end_layout
19423
19424 \begin_layout Subsubsection
19425
19426 \change_inserted 564990737 1672138150
19427 Custom Enumerate Lists
19428 \end_layout
19429
19430 \begin_layout Standard
19431 \noindent
19432
19433 \change_inserted 564990737 1672138150
19434 The default numbering of numbered lists can be changed by adding an optional argument (menu 
19435 \family sans
19436 \bar under
19437 I
19438 \bar default
19439 nsert\SpecialChar menuseparator
19440
19441 \bar under
19442 S
19443 \bar default
19444 hort Title
19445 \family default
19446 ) to the first item of each level in the list.
19447  There you add the command
19448 \end_layout
19449
19450 \begin_layout Standard
19451
19452 \change_inserted 564990737 1672138150
19453
19454 \family sans
19455 label=
19456 \backslash
19457 roman{enumi}
19458 \end_layout
19459
19460 \begin_layout Standard
19461
19462 \change_inserted 564990737 1672138150
19463 in \SpecialChar TeX
19464  Code (shortcut 
19465 \begin_inset Info
19466 type  "shortcut"
19467 arg   "ert-insert"
19468 \end_inset
19469
19470 ).
19471 \end_layout
19472
19473 \begin_layout Standard
19474
19475 \change_inserted 564990737 1672138150
19476
19477 \family sans
19478 enumi
19479 \family default
19480  is the first level counter of the enumeration.
19481  To change the numbering for the list sublevels,
19482  replace the “
19483 \family sans
19484 i
19485 \family default
19486 ” in the command by the small Roman numeral of the level (
19487 \family sans
19488 enumi
19489 \family default
19490 ,
19491  
19492 \family sans
19493 enumii
19494 \family default
19495 ,
19496  
19497 \family sans
19498 enumiii
19499 \family default
19500 ,
19501  
19502 \family sans
19503 enumiv
19504 \family default
19505 ).
19506 \end_layout
19507
19508 \begin_layout Standard
19509
19510 \change_inserted 564990737 1672138150
19511 The command 
19512 \family sans
19513
19514 \backslash
19515 roman
19516 \family default
19517  outputs the counter as a small Roman numeral.
19518  For capital Roman numerals replace 
19519 \family sans
19520
19521 \backslash
19522 roman
19523 \family default
19524  with 
19525 \family sans
19526
19527 \backslash
19528 Roman
19529 \family default
19530  in the command above.
19531  For Arabic numerals use 
19532 \family sans
19533
19534 \backslash
19535 arabic
19536 \family default
19537 .
19538  To 
19539 \begin_inset Quotes eld
19540 \end_inset
19541
19542 number
19543 \begin_inset Quotes erd
19544 \end_inset
19545
19546  items with capital or small Latin letters use 
19547 \family sans
19548
19549 \backslash
19550 Alph
19551 \family default
19552  or 
19553 \family sans
19554
19555 \backslash
19556 alph
19557 \family default
19558 ,
19559  respectively.
19560 \end_layout
19561
19562 \begin_layout Standard
19563 \noindent
19564
19565 \change_inserted 564990737 1672138150
19566 \begin_inset Note Greyedout
19567 status open
19568
19569 \begin_layout Plain Layout
19570
19571 \change_inserted 564990737 1672138150
19572
19573 \series bold
19574 Note:
19575
19576 \series default
19577  You can only number 26
19578 \begin_inset space ~
19579 \end_inset
19580
19581 items with Latin letters,
19582  because this numbering is limited to single letters.
19583 \end_layout
19584
19585 \end_inset
19586
19587
19588 \end_layout
19589
19590 \begin_layout Standard
19591
19592 \change_inserted 564990737 1672138150
19593 Here is a list with custom numbering:
19594 \end_layout
19595
19596 \begin_layout Enumerate
19597
19598 \change_inserted 564990737 1672138150
19599 \begin_inset Argument 1
19600 status collapsed
19601
19602 \begin_layout Plain Layout
19603
19604 \change_inserted 564990737 1672138150
19605 \begin_inset ERT
19606 status collapsed
19607
19608 \begin_layout Plain Layout
19609
19610 \change_inserted 564990737 1672138150
19611
19612 label=
19613 \backslash
19614 #
19615 \backslash
19616 Alph{enumi}
19617 \backslash
19618 #
19619 \end_layout
19620
19621 \end_inset
19622
19623
19624 \change_unchanged
19625
19626 \end_layout
19627
19628 \end_inset
19629
19630 Level 1
19631 \begin_inset Separator latexpar
19632 \end_inset
19633
19634
19635 \end_layout
19636
19637 \begin_deeper
19638 \begin_layout Enumerate
19639
19640 \change_inserted 564990737 1672138150
19641 \begin_inset Argument 1
19642 status collapsed
19643
19644 \begin_layout Plain Layout
19645
19646 \change_inserted 564990737 1672138150
19647 \begin_inset ERT
19648 status collapsed
19649
19650 \begin_layout Plain Layout
19651
19652 \change_inserted 564990737 1672138150
19653
19654 label=
19655 \backslash
19656 Alph{enumi}.
19657 \backslash
19658 arabic{enumii}
19659 \end_layout
19660
19661 \end_inset
19662
19663
19664 \change_unchanged
19665
19666 \end_layout
19667
19668 \end_inset
19669
19670 Level 2
19671 \end_layout
19672
19673 \begin_layout Enumerate
19674
19675 \change_inserted 564990737 1672138150
19676 Level 2
19677 \begin_inset Separator latexpar
19678 \end_inset
19679
19680
19681 \end_layout
19682
19683 \begin_deeper
19684 \begin_layout Enumerate
19685
19686 \change_inserted 564990737 1672138150
19687 \begin_inset Argument 1
19688 status collapsed
19689
19690 \begin_layout Plain Layout
19691
19692 \change_inserted 564990737 1672138150
19693 \begin_inset ERT
19694 status collapsed
19695
19696 \begin_layout Plain Layout
19697
19698 \change_inserted 564990737 1672138150
19699
19700 label=
19701 \change_deleted 274215730 1672889016
19702
19703 \backslash
19704 bf
19705 \change_inserted 274215730 1672889016
19706
19707 \backslash
19708 bfseries
19709 \change_inserted 564990737 1672138150
19710 {
19711 \backslash
19712 arabic{enumiii}}
19713 \end_layout
19714
19715 \end_inset
19716
19717
19718 \change_unchanged
19719
19720 \end_layout
19721
19722 \end_inset
19723
19724 Level 3
19725 \begin_inset Separator latexpar
19726 \end_inset
19727
19728
19729 \end_layout
19730
19731 \begin_deeper
19732 \begin_layout Enumerate
19733
19734 \change_inserted 564990737 1672138150
19735 \begin_inset Argument 1
19736 status collapsed
19737
19738 \begin_layout Plain Layout
19739
19740 \change_inserted 564990737 1672138150
19741 \begin_inset ERT
19742 status collapsed
19743
19744 \begin_layout Plain Layout
19745
19746 \change_inserted 564990737 1672138150
19747
19748 label=
19749 \backslash
19750 emph{
19751 \backslash
19752 roman{enumiv})}
19753 \end_layout
19754
19755 \end_inset
19756
19757
19758 \change_unchanged
19759
19760 \end_layout
19761
19762 \end_inset
19763
19764 Level 4
19765 \end_layout
19766
19767 \end_deeper
19768 \end_deeper
19769 \end_deeper
19770 \begin_layout Standard
19771
19772 \change_inserted 564990737 1672138150
19773 For this list these commands were used:
19774 \end_layout
19775
19776 \begin_layout Standard
19777 \noindent
19778
19779 \change_inserted 564990737 1672138150
19780
19781 \family sans
19782 label=
19783 \backslash
19784 #
19785 \backslash
19786 Alph{enumi}
19787 \backslash
19788 #
19789 \begin_inset Newline newline
19790 \end_inset
19791
19792 label=
19793 \backslash
19794 Alph{enumi}.
19795 \backslash
19796 arabic{enumii}
19797 \begin_inset Newline newline
19798 \end_inset
19799
19800 label=
19801 \change_deleted 274215730 1672889037
19802
19803 \backslash
19804 bf
19805 \change_inserted 274215730 1672889037
19806
19807 \backslash
19808 bfseries
19809 \change_inserted 564990737 1672138150
19810 {
19811 \backslash
19812 arabic{enumiii}}
19813 \begin_inset Newline newline
19814 \end_inset
19815
19816 label=
19817 \backslash
19818 emph{
19819 \backslash
19820 roman{enumiv})}
19821 \end_layout
19822
19823 \begin_layout Standard
19824
19825 \change_inserted 564990737 1672138150
19826 where the command 
19827 \family sans
19828
19829 \backslash
19830 emph{}
19831 \family default
19832  makes the label emphasized and 
19833 \change_deleted 274215730 1672889045
19834
19835 \family sans
19836
19837 \backslash
19838 bf{}
19839 \change_inserted 274215730 1672889046
19840
19841 \backslash
19842 bfseries{}
19843 \change_inserted 564990737 1672138150
19844
19845 \family default
19846  makes it bold.
19847 \end_layout
19848
19849 \begin_layout Standard
19850
19851 \change_inserted 564990737 1672138150
19852 \begin_inset Note Greyedout
19853 status collapsed
19854
19855 \begin_layout Plain Layout
19856
19857 \change_inserted 564990737 1672138150
19858
19859 \series bold
19860 Note:
19861
19862 \series default
19863  When you change the label of a list level,
19864  it will be used for all following lists until you change the definition.
19865 \end_layout
19866
19867 \end_inset
19868
19869
19870 \end_layout
19871
19872 \begin_layout Standard
19873
19874 \change_inserted 564990737 1672138150
19875 \begin_inset ERT
19876 status open
19877
19878 \begin_layout Plain Layout
19879
19880 \change_inserted 564990737 1672138150
19881
19882
19883 \backslash
19884 renewcommand{
19885 \backslash
19886 labelenumi}{
19887 \backslash
19888 thesection.
19889 \backslash
19890 arabic{enumi}}
19891 \end_layout
19892
19893 \end_inset
19894
19895
19896 \end_layout
19897
19898 \begin_layout Subsubsection
19899
19900 \change_inserted 564990737 1672138150
19901 Numbered Paragraphs in Reports
19902 \end_layout
19903
19904 \begin_layout Enumerate
19905
19906 \change_inserted 564990737 1672138213
19907 Official reports often include numbered paragraphs;
19908  you can achieve this with a variation on the approach outlined in 
19909 \change_deleted -712698321 1674916429
19910 the
19911 \change_inserted 564990737 1672138213
19912  
19913 \change_deleted -712698321 1674916431
19914 footnote
19915 \change_inserted -712698321 1674916432
19916 section
19917 \change_inserted 564990737 1672138213
19918
19919 \begin_inset space ~
19920 \end_inset
19921
19922
19923 \change_inserted -712698321 1674916425
19924
19925 \begin_inset CommandInset ref
19926 LatexCommand ref
19927 reference "sec:How-to-use"
19928
19929 \end_inset
19930
19931
19932 \change_deleted -712698321 1674916426
19933
19934 \begin_inset CommandInset ref
19935 LatexCommand ref
19936 reference "fn:If-you-really"
19937 plural "false"
19938 caps "false"
19939 noprefix "false"
19940 nolink "false"
19941
19942 \end_inset
19943
19944
19945 \change_inserted 564990737 1672138213
19946 .
19947  Replace 
19948 \family sans
19949 item
19950 \family default
19951  in each command with 
19952 \family sans
19953 enum
19954 \family default
19955 .
19956 \end_layout
19957
19958 \begin_layout Enumerate
19959
19960 \change_inserted 564990737 1672138150
19961 These numbered paragraphs were generated by inserting the \SpecialChar TeX
19962  Code
19963 \begin_inset Separator latexpar
19964 \end_inset
19965
19966
19967 \end_layout
19968
19969 \begin_deeper
19970 \begin_layout Standard
19971
19972 \change_inserted 564990737 1672138150
19973
19974 \family sans
19975
19976 \backslash
19977 renewcommand{
19978 \backslash
19979 labelenumi}{
19980 \backslash
19981 thesection.
19982 \backslash
19983 arabic{enumi}}
19984 \end_layout
19985
19986 \begin_layout Standard
19987
19988 \change_inserted 564990737 1672138150
19989 before the start of the section;
19990  
19991 \family sans
19992
19993 \backslash
19994 thesection
19995 \family default
19996  uses the \SpecialChar LaTeX
19997  section counter to generate the first part of the number.
19998 \end_layout
19999
20000 \end_deeper
20001 \begin_layout Enumerate
20002
20003 \change_inserted 564990737 1672138150
20004 I have ignored the subsection heading in this example because,
20005  with paragraphs numbered in this way,
20006  subsections are less likely to be used.
20007 \end_layout
20008
20009 \begin_layout Subsubsection
20010
20011 \change_inserted 564990737 1672138150
20012 Resumed Enumeration
20013 \end_layout
20014
20015 \begin_layout Standard
20016
20017 \change_inserted 564990737 1672138150
20018 \begin_inset ERT
20019 status open
20020
20021 \begin_layout Plain Layout
20022
20023 \change_inserted 564990737 1672138150
20024
20025
20026 \backslash
20027 renewcommand{
20028 \backslash
20029 labelenumi}{
20030 \backslash
20031 arabic{enumi}}
20032 \end_layout
20033
20034 \end_inset
20035
20036
20037 \end_layout
20038
20039 \begin_layout Standard
20040
20041 \change_inserted 564990737 1672138150
20042 Enumerations can be resumed after intermediate paragraphs:
20043 \end_layout
20044
20045 \begin_layout Enumerate
20046
20047 \change_inserted 564990737 1672138150
20048 \begin_inset Argument 1
20049 status collapsed
20050
20051 \begin_layout Plain Layout
20052
20053 \change_inserted 564990737 1672138150
20054 \begin_inset ERT
20055 status collapsed
20056
20057 \begin_layout Plain Layout
20058
20059 \change_inserted 564990737 1672138150
20060
20061 label=
20062 \backslash
20063 arabic{enumi}.
20064 \end_layout
20065
20066 \end_inset
20067
20068
20069 \change_unchanged
20070
20071 \end_layout
20072
20073 \end_inset
20074
20075 first
20076 \begin_inset Note Note
20077 status collapsed
20078
20079 \begin_layout Plain Layout
20080
20081 \change_inserted 564990737 1672138150
20082 goes back to default numbering
20083 \end_layout
20084
20085 \end_inset
20086
20087
20088 \end_layout
20089
20090 \begin_layout Enumerate
20091
20092 \change_inserted 564990737 1672138150
20093 second
20094 \end_layout
20095
20096 \begin_layout Standard
20097
20098 \change_inserted 564990737 1672138150
20099 regular text
20100 \end_layout
20101
20102 \begin_layout Enumerate-Resume
20103
20104 \change_inserted 564990737 1672138150
20105 resumed
20106 \end_layout
20107
20108 \begin_layout Standard
20109
20110 \change_inserted 564990737 1672138150
20111 To resume an enumeration,
20112  use the style 
20113 \family sans
20114 Enumerate-Resume
20115 \family default
20116 .
20117
20118 \change_deleted -712698321 1673882803
20119  Its numbering appears in blue within \SpecialChar LyX
20120  to indicate that it is a resumed list and that the numbering will not be correct in \SpecialChar LyX
20121 ,
20122  but in the output.
20123 \change_inserted 564990737 1672138150
20124
20125 \end_layout
20126
20127 \begin_layout Standard
20128
20129 \change_inserted 564990737 1672138150
20130 \begin_inset Note Greyedout
20131 status open
20132
20133 \begin_layout Plain Layout
20134
20135 \change_inserted 564990737 1672138150
20136
20137 \series bold
20138 Note:
20139
20140 \series default
20141  If there is no previous enumeration to resume,
20142  you will get a \SpecialChar LaTeX
20143  error.
20144 \end_layout
20145
20146 \end_inset
20147
20148
20149 \end_layout
20150
20151 \begin_layout Standard
20152
20153 \change_inserted 564990737 1672138150
20154 Perhaps you might want to resume the list with a different number from the next one.
20155  Or you want to start a new enumeration with a defined number.
20156  This is possible by adding an optional argument to the first list item of a normal enumeration.
20157  There,
20158  insert the command
20159 \end_layout
20160
20161 \begin_layout Standard
20162
20163 \change_inserted 564990737 1672138150
20164
20165 \family sans
20166 start=number
20167 \end_layout
20168
20169 \begin_layout Standard
20170
20171 \change_inserted 564990737 1672138150
20172 where 
20173 \family sans
20174 number
20175 \family default
20176  is the number with which you want to resume the list.
20177  An example:
20178 \end_layout
20179
20180 \begin_layout Enumerate
20181
20182 \change_inserted 564990737 1672138150
20183 first item
20184 \end_layout
20185
20186 \begin_layout Enumerate
20187
20188 \change_inserted 564990737 1672138150
20189 second item
20190 \end_layout
20191
20192 \begin_layout Standard
20193
20194 \change_inserted 564990737 1672138150
20195 Enumeration starting at a given value:
20196 \end_layout
20197
20198 \begin_layout Enumerate
20199
20200 \change_inserted 564990737 1672138150
20201 \begin_inset Argument 1
20202 status open
20203
20204 \begin_layout Plain Layout
20205
20206 \change_inserted 564990737 1672138150
20207 \begin_inset ERT
20208 status collapsed
20209
20210 \begin_layout Plain Layout
20211
20212 \change_inserted 564990737 1672138150
20213
20214 start=4
20215 \end_layout
20216
20217 \end_inset
20218
20219
20220 \change_unchanged
20221
20222 \end_layout
20223
20224 \end_inset
20225
20226 This enumeration starts at 4
20227 \end_layout
20228
20229 \begin_layout Subsubsection
20230
20231 \change_inserted 564990737 1672138150
20232 List Spacing
20233 \begin_inset Index idx
20234 range none
20235 pageformat default
20236 status collapsed
20237
20238 \begin_layout Plain Layout
20239
20240 \change_inserted 564990737 1672138150
20241 Lists !
20242  Spacing
20243 \change_unchanged
20244
20245 \end_layout
20246
20247 \end_inset
20248
20249
20250 \end_layout
20251
20252 \begin_layout Standard
20253
20254 \change_inserted 564990737 1672138150
20255 In some cases you might want less or more vertical space between the items of a list.
20256  For example if the default space is too much in your opinion in this case:
20257 \end_layout
20258
20259 \begin_layout Itemize
20260
20261 \change_inserted 564990737 1672138150
20262 A bullet list
20263 \end_layout
20264
20265 \begin_layout Itemize
20266
20267 \change_inserted 564990737 1672138150
20268 with standard spacing 
20269 \end_layout
20270
20271 \begin_layout Standard
20272
20273 \change_inserted 564990737 1672138150
20274 You can decrease the space by adding an optional argument to the first item of the list.
20275  Add there the command 
20276 \family sans
20277 nolistsep
20278 \family default
20279  to get no additional list space like in this example:
20280 \end_layout
20281
20282 \begin_layout Itemize
20283
20284 \change_inserted 564990737 1672138150
20285 \begin_inset Argument 1
20286 status open
20287
20288 \begin_layout Plain Layout
20289
20290 \change_inserted 564990737 1672138150
20291 \begin_inset ERT
20292 status collapsed
20293
20294 \begin_layout Plain Layout
20295
20296 \change_inserted 564990737 1672138150
20297
20298 nolistsep
20299 \end_layout
20300
20301 \end_inset
20302
20303
20304 \change_unchanged
20305
20306 \end_layout
20307
20308 \end_inset
20309
20310 A bullet list
20311 \end_layout
20312
20313 \begin_layout Itemize
20314
20315 \change_inserted 564990737 1672138150
20316 without additional
20317 \end_layout
20318
20319 \begin_layout Itemize
20320
20321 \change_inserted 564990737 1672138150
20322 vertical space
20323 \end_layout
20324
20325 \begin_layout Standard
20326
20327 \change_inserted 564990737 1672138150
20328 To add space you can use several other commands provided by the 
20329 \family sans
20330 enumitem
20331 \family default
20332
20333 \begin_inset Index idx
20334 range none
20335 pageformat default
20336 status collapsed
20337
20338 \begin_layout Plain Layout
20339
20340 \change_inserted 564990737 1672138150
20341 \SpecialChar LaTeX
20342 -packages !
20343  enumitem
20344 \change_unchanged
20345
20346 \end_layout
20347
20348 \end_inset
20349
20350  package.
20351  For more information see the 
20352 \begin_inset CommandInset href
20353 LatexCommand href
20354 name "enumitem documentation"
20355 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
20356 literal "false"
20357
20358 \end_inset
20359
20360 .
20361 \end_layout
20362
20363 \begin_layout Standard
20364
20365 \change_inserted 564990737 1672138150
20366 There are also many commands available to change the horizontal spacing and indentation.
20367  Here is an example where the indentation was changed to that of the paragraphs in the document and the label separation was set to 2
20368 \begin_inset space \thinspace{}
20369 \end_inset
20370
20371 cm so that the number is in the page margin:
20372 \end_layout
20373
20374 \begin_layout Enumerate
20375
20376 \change_inserted 564990737 1672138150
20377 \begin_inset Argument 1
20378 status open
20379
20380 \begin_layout Plain Layout
20381
20382 \change_inserted 564990737 1672138150
20383 \begin_inset ERT
20384 status collapsed
20385
20386 \begin_layout Plain Layout
20387
20388 \change_inserted 564990737 1672138150
20389
20390 labelindent=
20391 \backslash
20392 parindent,
20393  labelsep=2cm
20394 \end_layout
20395
20396 \end_inset
20397
20398
20399 \change_unchanged
20400
20401 \end_layout
20402
20403 \end_inset
20404
20405 An enumeration
20406 \end_layout
20407
20408 \begin_layout Enumerate
20409
20410 \change_inserted 564990737 1672138150
20411 with negative indentation
20412 \end_layout
20413
20414 \begin_layout Subsubsection
20415
20416 \change_inserted 564990737 1672138150
20417 Further Customization
20418 \begin_inset Index idx
20419 range none
20420 pageformat default
20421 status collapsed
20422
20423 \begin_layout Plain Layout
20424
20425 \change_inserted 564990737 1672138150
20426 Lists !
20427  Customization
20428 \change_unchanged
20429
20430 \end_layout
20431
20432 \end_inset
20433
20434
20435 \end_layout
20436
20437 \begin_layout Standard
20438
20439 \change_inserted 564990737 1672138150
20440 You can also change the style of description lists.
20441  The command
20442 \end_layout
20443
20444 \begin_layout Standard
20445
20446 \change_inserted 564990737 1672138150
20447
20448 \family sans
20449 font=definition
20450 \end_layout
20451
20452 \begin_layout Standard
20453
20454 \change_inserted 564990737 1672138150
20455 changes the description label font,
20456  the command
20457 \end_layout
20458
20459 \begin_layout Standard
20460
20461 \change_inserted 564990737 1672138150
20462
20463 \family sans
20464 style=definitio
20465 \family default
20466 \series bold
20467 n
20468 \end_layout
20469
20470 \begin_layout Standard
20471
20472 \change_inserted 564990737 1672138150
20473 sets the list style.
20474 \end_layout
20475
20476 \begin_layout Standard
20477
20478 \change_inserted 564990737 1672138150
20479 An example where the command
20480 \end_layout
20481
20482 \begin_layout Standard
20483
20484 \change_inserted 564990737 1672138150
20485
20486 \family sans
20487 font=
20488 \backslash
20489 itshape,
20490  style=nextline
20491 \end_layout
20492
20493 \begin_layout Standard
20494
20495 \change_inserted 564990737 1672138150
20496 is used:
20497 \end_layout
20498
20499 \begin_layout Description
20500
20501 \change_inserted 564990737 1672138150
20502 Ionizing
20503 \begin_inset space ~
20504 \end_inset
20505
20506 radiation:
20507  
20508 \begin_inset Argument 1
20509 status collapsed
20510
20511 \begin_layout Plain Layout
20512
20513 \change_inserted 564990737 1672138150
20514 \begin_inset ERT
20515 status collapsed
20516
20517 \begin_layout Plain Layout
20518
20519 \change_inserted 564990737 1672138150
20520
20521 labelindent=0pt,
20522  labelsep=1cm,
20523  font=
20524 \backslash
20525 itshape,
20526  style=nextline
20527 \end_layout
20528
20529 \end_inset
20530
20531
20532 \change_unchanged
20533
20534 \end_layout
20535
20536 \end_inset
20537
20538 Ionizing radiation consists of particles or electromagnetic waves that are energetic enough to detach electrons from atoms or molecules,
20539  therefore ionizing them.
20540 \end_layout
20541
20542 \begin_layout Description
20543
20544 \change_inserted 564990737 1672138150
20545 Reference
20546 \begin_inset space ~
20547 \end_inset
20548
20549 counting:
20550  In computer science,
20551  reference counting is a technique of storing the number of references,
20552  pointers,
20553  or handles to a resource such as an object,
20554  block of memory,
20555  disk space or other resource.
20556 \end_layout
20557
20558 \begin_layout Standard
20559
20560 \change_inserted 564990737 1672138150
20561 There are many more commands and features provided by the 
20562 \family sans
20563 enumitem
20564 \family default
20565
20566 \begin_inset Index idx
20567 range none
20568 pageformat default
20569 status collapsed
20570
20571 \begin_layout Plain Layout
20572
20573 \change_inserted 564990737 1672138150
20574 \SpecialChar LaTeX
20575 -packages !
20576  enumitem
20577 \change_unchanged
20578
20579 \end_layout
20580
20581 \end_inset
20582
20583  package.
20584  For more information see the 
20585 \begin_inset CommandInset href
20586 LatexCommand href
20587 name "enumitem documentation"
20588 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
20589 literal "false"
20590
20591 \end_inset
20592
20593 .
20594 \end_layout
20595
20596 \begin_layout Subsection
20597
20598 \change_inserted 564990737 1672138150
20599
20600 \series bold
20601 Paragraph Lists
20602 \end_layout
20603
20604 \begin_layout Standard
20605
20606 \change_inserted 564990737 1672138150
20607 This module uses the package 
20608 \family sans
20609 paralist
20610 \family default
20611  to provide nine new list environments.
20612  Itemized and enumerated lists can be typeset within paragraphs,
20613  as paragraphs and in a compact version.
20614  Most environments have optional arguments to format the labels.
20615  Additionally,
20616  the \SpecialChar LaTeX
20617  list environments itemize and enumerate are extended to use a similar optional argument.
20618  For further details see 
20619 \family sans
20620 File\SpecialChar menuseparator
20621 Open Example\SpecialChar menuseparator
20622 Modules\SpecialChar menuseparator
20623 Paragraph Lists (paralist)
20624 \family default
20625 ,
20626  
20627 \family sans
20628 Help\SpecialChar menuseparator
20629 Specific Manuals\SpecialChar menuseparator
20630 Paralist
20631 \family default
20632  and the 
20633 \begin_inset CommandInset href
20634 LatexCommand href
20635 name "paralist documentation"
20636 target "http://mirrors.ctan.org/macros/latex/contrib/paralist/paralist.pdf"
20637 literal "false"
20638
20639 \end_inset
20640
20641 .
20642 \end_layout
20643
20644 \begin_layout Section
20645
20646 \change_inserted 564990737 1672161542
20647 Literate Programming
20648 \change_deleted -712698321 1673885680
20649  
20650 \change_inserted 564990737 1672161542
20651
20652 \end_layout
20653
20654 \begin_layout Subsection
20655
20656 \change_inserted 564990737 1672161542
20657 Noweb
20658 \end_layout
20659
20660 \begin_layout Standard
20661
20662 \change_inserted 564990737 1672161542
20663 This module allows the use of Noweb as a literate programming tool.
20664  The files and the documentation for Noweb can be obtained from 
20665 \begin_inset CommandInset href
20666 LatexCommand href
20667 name "CTAN"
20668 target "https://www.ctan.org/pkg/noweb"
20669 literal "false"
20670
20671 \end_inset
20672
20673 .
20674  Literate programming is described in section
20675 \begin_inset space ~
20676 \end_inset
20677
20678
20679 \begin_inset CommandInset ref
20680 LatexCommand ref
20681 reference "sec:Literate-Programming"
20682 nolink "false"
20683
20684 \end_inset
20685
20686  and there are three example files:
20687  
20688 \family sans
20689 File\SpecialChar menuseparator
20690 Open Example\SpecialChar menuseparator
20691 Modules\SpecialChar menuseparator
20692 Noweb
20693 \family default
20694 ,
20695  
20696 \family sans
20697 File\SpecialChar menuseparator
20698 Open Example\SpecialChar menuseparator
20699 Modules\SpecialChar menuseparator
20700 Noweb Listerrors
20701 \family default
20702  and 
20703 \family sans
20704 File\SpecialChar menuseparator
20705 Open Example\SpecialChar menuseparator
20706 Modules\SpecialChar menuseparator
20707 Noweb2\SpecialChar LyX
20708
20709 \family default
20710 .
20711 \end_layout
20712
20713 \begin_layout Subsection
20714
20715 \change_inserted 564990737 1672161542
20716 Rnw (knitr)
20717 \end_layout
20718
20719 \begin_layout Standard
20720
20721 \change_inserted 564990737 1672161542
20722 This module uses the 
20723 \family typewriter
20724 knitr
20725 \family default
20726  and 
20727 \family sans
20728 includernw
20729 \family default
20730  packages.
20731  The
20732 \begin_inset Flex Code
20733 status collapsed
20734
20735 \begin_layout Plain Layout
20736
20737 \change_inserted 564990737 1672161542
20738 knitr
20739 \change_unchanged
20740
20741 \end_layout
20742
20743 \end_inset
20744
20745  package in R for dynamic report generation has to be installed for this module to work:
20746  
20747 \begin_inset Flex Code
20748 status collapsed
20749
20750 \begin_layout Plain Layout
20751
20752 \change_inserted 564990737 1672161542
20753 install.packages(“knitr”)
20754 \change_unchanged
20755
20756 \end_layout
20757
20758 \end_inset
20759
20760 .
20761  
20762 \end_layout
20763
20764 \begin_layout Paragraph
20765
20766 \change_inserted 564990737 1672161542
20767 Note 
20768 \end_layout
20769
20770 \begin_layout Itemize
20771
20772 \change_inserted 564990737 1672161542
20773 it depends on R >= 2.14.1.
20774  For more info see 
20775 \begin_inset Flex URL
20776 status collapsed
20777
20778 \begin_layout Plain Layout
20779
20780 \change_inserted 564990737 1672161542
20781
20782 http://yihui.name/knitr
20783 \change_unchanged
20784
20785 \end_layout
20786
20787 \end_inset
20788
20789 .
20790
20791 \change_deleted -712698321 1673886383
20792  
20793 \change_inserted 564990737 1672161542
20794
20795 \end_layout
20796
20797 \begin_layout Itemize
20798
20799 \change_inserted 564990737 1672161542
20800 The package 
20801 \family sans
20802 includernw
20803 \family default
20804  also has to be installed.
20805  
20806 \change_inserted -712698321 1673886396
20807
20808 \end_layout
20809
20810 \begin_layout Itemize
20811
20812 \change_inserted 564990737 1672161542
20813 It cannot be used if the modules 
20814 \family sans
20815 LilyPond
20816 \begin_inset space ~
20817 \end_inset
20818
20819 Book
20820 \family default
20821  or 
20822 \family sans
20823 Sweave
20824 \family default
20825  are loaded.
20826
20827 \change_deleted -712698321 1673886383
20828  
20829 \change_inserted -712698321 1673886376
20830
20831 \end_layout
20832
20833 \begin_layout Standard
20834
20835 \change_inserted 564990737 1672161542
20836 See 
20837 \family sans
20838 Help\SpecialChar menuseparator
20839 Specific Manuals\SpecialChar menuseparator
20840 Knitr
20841 \family default
20842 ,
20843  
20844 \family sans
20845 File\SpecialChar menuseparator
20846 Open Example\SpecialChar menuseparator
20847 Modules\SpecialChar menuseparator
20848 Rnw (knitr)
20849 \family default
20850  and section
20851 \begin_inset space ~
20852 \end_inset
20853
20854
20855 \begin_inset CommandInset ref
20856 LatexCommand ref
20857 reference "sec:Literate-Programming"
20858 nolink "false"
20859
20860 \end_inset
20861
20862  for information about literate programming.
20863 \end_layout
20864
20865 \begin_layout Subsection
20866
20867 \change_inserted 564990737 1672161542
20868 Sweave
20869 \end_layout
20870
20871 \begin_layout Standard
20872
20873 \change_inserted 564990737 1672161542
20874 This module allows the use of the statistical language S/R as a literate programming tool.
20875  It requires the 
20876 \family sans
20877 includernw
20878 \family default
20879  and 
20880 \family sans
20881 fancyvrb
20882 \family default
20883  packages.
20884  Both 
20885 \begin_inset CommandInset href
20886 LatexCommand href
20887 name "includernw"
20888 target "https://www.ctan.org/pkg/includernw"
20889 literal "false"
20890
20891 \end_inset
20892
20893  and 
20894 \begin_inset CommandInset href
20895 LatexCommand href
20896 name "fancyvrb"
20897 target "https://www.ctan.org/pkg/fancyvrb"
20898 literal "false"
20899
20900 \end_inset
20901
20902  are available from CTAN.
20903  It cannot be used if the module 
20904 \family sans
20905 LilyPond
20906 \begin_inset space ~
20907 \end_inset
20908
20909 Book
20910 \family default
20911  has been loaded.
20912  See 
20913 \family sans
20914 Help\SpecialChar menuseparator
20915 Specific Manuals\SpecialChar menuseparator
20916 Sweave,
20917
20918 \family default
20919  
20920 \family sans
20921 File\SpecialChar menuseparator
20922 Open Example\SpecialChar menuseparator
20923 Modules\SpecialChar menuseparator
20924 Sweave
20925 \family default
20926  and section
20927 \begin_inset space ~
20928 \end_inset
20929
20930
20931 \begin_inset CommandInset ref
20932 LatexCommand ref
20933 reference "sec:Literate-Programming"
20934 nolink "false"
20935
20936 \end_inset
20937
20938  for information about literate programming.
20939 \end_layout
20940
20941 \begin_layout Section
20942
20943 \change_inserted 564990737 1672224959
20944 Maths
20945 \end_layout
20946
20947 \begin_layout Subsection
20948
20949 \change_inserted 564990737 1672224959
20950 AMS Theorems
20951 \end_layout
20952
20953 \begin_layout Standard
20954
20955 \change_inserted 564990737 1672224959
20956 This modules defines theorem environments and the proof environment using the extended AMS machinery.
20957  Both numbered and unnumbered types are provided.
20958  By default,
20959  the theorems are numbered consecutively throughout the document.
20960  This can be changed by loading one of the 
20961 \family sans
20962 AMS Theorems (Numbered by \SpecialChar ldots
20963 )
20964 \family default
20965  modules.
20966  It cannot be used if the modules 
20967 \family sans
20968 Standard Theorems
20969 \family default
20970  or 
20971 \family sans
20972 Standard Theorems (Unnumbered)
20973 \family default
20974  have been loaded.
20975 \end_layout
20976
20977 \begin_layout Subsection
20978
20979 \change_inserted 564990737 1672224959
20980 AMS Theorems (Extended)
20981 \end_layout
20982
20983 \begin_layout Standard
20984
20985 \change_inserted 564990737 1672224959
20986 This module defines some additional theorem environments for use with the 
20987 \family sans
20988 AMS Theorems
20989 \family default
20990  package (which must be loaded).
20991  It includes 
20992 \family sans
20993 Criterion
20994 \family default
20995 ,
20996  
20997 \family sans
20998 Algorithm
20999 \family default
21000 ,
21001  
21002 \family sans
21003 Axiom
21004 \family default
21005 ,
21006  
21007 \family sans
21008 Condition
21009 \family default
21010 ,
21011  
21012 \family sans
21013 Note
21014 \family default
21015 ,
21016  
21017 \family sans
21018 Notation
21019 \family default
21020 ,
21021  
21022 \family sans
21023 Summary
21024 \family default
21025 ,
21026  
21027 \change_deleted -712698321 1675594790
21028
21029 \family sans
21030 Acknowledgement
21031 \family default
21032 ,
21033  
21034 \change_inserted 564990737 1672224959
21035
21036 \family sans
21037 Conclusion
21038 \family default
21039 ,
21040  
21041 \family sans
21042 Fact
21043 \family default
21044 ,
21045  
21046 \family sans
21047 Assumption
21048 \family default
21049 ,
21050  
21051 \family sans
21052 Case
21053 \family default
21054  and 
21055 \family sans
21056 Question
21057 \family default
21058  in both numbered and unnumbered forms.
21059 \end_layout
21060
21061 \begin_layout Subsection
21062
21063 \change_inserted 564990737 1672224959
21064 AMS Theorems (Extended,
21065  Numbered by Type within Chapters)
21066 \end_layout
21067
21068 \begin_layout Standard
21069
21070 \change_inserted 564990737 1672224959
21071 This module defines some additional theorem environments for use with the 
21072 \family sans
21073 AMS Theorems (Numbered by Type within Chapters)
21074 \family default
21075  
21076 \change_deleted -712698321 1674898102
21077 package
21078 \change_inserted -712698321 1674898103
21079 module
21080 \change_inserted 564990737 1672224959
21081  (which must be loaded).
21082  It includes 
21083 \family sans
21084 Criterion
21085 \family default
21086 ,
21087  
21088 \family sans
21089 Algorithm
21090 \family default
21091 ,
21092  
21093 \family sans
21094 Axiom
21095 \family default
21096 ,
21097  
21098 \family sans
21099 Condition
21100 \family default
21101 ,
21102  
21103 \family sans
21104 Note
21105 \family default
21106 ,
21107  
21108 \family sans
21109 Notation
21110 \family default
21111 ,
21112  
21113 \family sans
21114 Summary
21115 \family default
21116 ,
21117  
21118 \change_deleted -712698321 1675594800
21119
21120 \family sans
21121 Acknowledgement
21122 \family default
21123 ,
21124  
21125 \change_inserted 564990737 1672224959
21126
21127 \family sans
21128 Conclusion
21129 \family default
21130 ,
21131  
21132 \family sans
21133 Assumption
21134 \family default
21135  and 
21136 \family sans
21137 Case
21138 \family default
21139  in both numbered and unnumbered forms.
21140  
21141 \change_inserted -712698321 1674898226
21142
21143 \end_layout
21144
21145 \begin_layout Standard
21146
21147 \change_inserted 564990737 1672224959
21148 Unlike the 
21149 \family sans
21150 AMS Theorems (Extended)
21151 \family default
21152  module,
21153  the different theorem types provided here each have a separate counter,
21154  restarted with each new chapter (e.g.,
21155  
21156 \change_deleted -712698321 1674898319
21157
21158 \emph on
21159 c
21160 \change_inserted -712698321 1674898319
21161 C
21162 \change_inserted 564990737 1672224959
21163 riterion 1.1
21164 \emph default
21165 ,
21166  
21167 \change_deleted -712698321 1674898320
21168
21169 \emph on
21170 c
21171 \change_inserted -712698321 1674898321
21172 C
21173 \change_inserted 564990737 1672224959
21174 riterion 1.2
21175 \emph default
21176 ,
21177  
21178 \change_deleted -712698321 1674898322
21179
21180 \emph on
21181 a
21182 \change_inserted -712698321 1674898322
21183 A
21184 \change_inserted 564990737 1672224959
21185 xiom 1.1
21186 \emph default
21187 ,
21188  
21189 \change_deleted -712698321 1674898325
21190
21191 \emph on
21192 a
21193 \change_inserted -712698321 1674898325
21194 A
21195 \change_inserted 564990737 1672224959
21196 ssumption 1.1
21197 \emph default
21198 ,
21199  
21200 \change_deleted -712698321 1674898327
21201
21202 \emph on
21203 c
21204 \change_inserted -712698321 1674898327
21205 C
21206 \change_inserted 564990737 1672224959
21207 riterion 2.1
21208 \emph default
21209 ,
21210  
21211 \change_deleted -712698321 1674898329
21212
21213 \emph on
21214 c
21215 \change_inserted -712698321 1674898329
21216 C
21217 \change_inserted 564990737 1672224959
21218 riterion 2.2
21219 \emph default
21220 ,
21221
21222 \emph on
21223  
21224 \change_deleted -712698321 1674898339
21225 a
21226 \change_inserted -712698321 1674898339
21227 A
21228 \change_inserted 564990737 1672224959
21229 xiom 2.1
21230 \change_inserted -712698321 1674898336
21231
21232 \emph default
21233 ,
21234  
21235 \change_inserted 564990737 1672224959
21236 \SpecialChar ldots
21237 ,
21238  as opposed to 
21239 \change_deleted -712698321 1674898342
21240 c
21241 \change_inserted -712698321 1674898342
21242
21243 \emph on
21244 C
21245 \change_inserted 564990737 1672224959
21246 riterion 1
21247 \emph default
21248 ,
21249  
21250 \change_deleted -712698321 1674898344
21251 c
21252 \change_inserted -712698321 1674898344
21253
21254 \emph on
21255 C
21256 \change_inserted 564990737 1672224959
21257 riterion 2
21258 \emph default
21259 ,
21260  
21261 \change_deleted -712698321 1674898346
21262 a
21263 \change_inserted -712698321 1674898347
21264
21265 \emph on
21266 A
21267 \change_inserted 564990737 1672224959
21268 xiom 3
21269 \emph default
21270 ,
21271  
21272 \change_deleted -712698321 1674898348
21273 a
21274 \change_inserted -712698321 1674898348
21275
21276 \emph on
21277 A
21278 \change_inserted 564990737 1672224959
21279 ssumption 4
21280 \change_inserted -712698321 1674898350
21281
21282 \emph default
21283 ,
21284  
21285 \change_deleted -712698321 1674898352
21286 ...
21287 \change_inserted -712698321 1674898353
21288 \SpecialChar ldots
21289
21290 \change_inserted 564990737 1672224959
21291 ).
21292 \end_layout
21293
21294 \begin_layout Subsection
21295
21296 \change_inserted 564990737 1672224959
21297 AMS Theorems (Extended,
21298  Numbered by Type)
21299 \end_layout
21300
21301 \begin_layout Standard
21302
21303 \change_inserted 564990737 1672224959
21304 This module defines some additional theorem environments for use with the 
21305 \family sans
21306 AMS Theorems (Numbered by Type)
21307 \family default
21308  package (which must be loaded).
21309  It includes 
21310 \family sans
21311 Criterion
21312 \family default
21313 ,
21314  
21315 \family sans
21316 Algorithm
21317 \family default
21318 ,
21319  
21320 \family sans
21321 Axiom
21322 \family default
21323 ,
21324  
21325 \family sans
21326 Condition
21327 \family default
21328 ,
21329  
21330 \family sans
21331 Note
21332 \family default
21333 ,
21334  
21335 \family sans
21336 Notation
21337 \family default
21338 ,
21339  
21340 \family sans
21341 Summary
21342 \family default
21343 ,
21344  
21345 \change_deleted -712698321 1675594806
21346
21347 \family sans
21348 Acknowledgement
21349 \family default
21350 ,
21351
21352 \change_inserted 564990737 1672224959
21353  
21354 \family sans
21355 Conclusion
21356 \family default
21357 ,
21358  
21359 \family sans
21360 Assumption
21361 \family default
21362  and 
21363 \family sans
21364 Case
21365 \family default
21366  in both numbered and unnumbered forms.
21367  
21368 \change_inserted -712698321 1674898455
21369
21370 \end_layout
21371
21372 \begin_layout Standard
21373
21374 \change_inserted 564990737 1672224959
21375 Unlike the 
21376 \family sans
21377 AMS Theorems (Extended)
21378 \family default
21379  module,
21380  the different theorem types provided here each have a separate counter (e.g.,
21381  
21382 \change_deleted -712698321 1674898821
21383 c
21384 \change_inserted -712698321 1674898821
21385
21386 \emph on
21387 C
21388 \change_inserted 564990737 1672224959
21389 riterion 1
21390 \emph default
21391 ,
21392  
21393 \change_deleted -712698321 1674898823
21394 c
21395 \change_inserted -712698321 1674898823
21396
21397 \emph on
21398 C
21399 \change_inserted 564990737 1672224959
21400 riterion 2
21401 \emph default
21402 ,
21403  
21404 \change_deleted -712698321 1674898825
21405 a
21406 \change_inserted -712698321 1674898825
21407
21408 \emph on
21409 A
21410 \change_inserted 564990737 1672224959
21411 xiom 1
21412 \emph default
21413 ,
21414  
21415 \change_deleted -712698321 1674898827
21416 a
21417 \change_inserted -712698321 1674898827
21418
21419 \emph on
21420 A
21421 \change_inserted 564990737 1672224959
21422 ssumption 1
21423 \emph default
21424 ,
21425  
21426 \change_deleted -712698321 1674898830
21427 c
21428 \change_inserted -712698321 1674898830
21429
21430 \emph on
21431 C
21432 \change_inserted 564990737 1672224959
21433 riterion 3
21434 \emph default
21435 ,
21436  \SpecialChar ldots
21437 ,
21438  as opposed to 
21439 \change_deleted -712698321 1674898832
21440 c
21441 \change_inserted -712698321 1674898832
21442
21443 \emph on
21444 C
21445 \change_inserted 564990737 1672224959
21446 riterion 1
21447 \emph default
21448 ,
21449  
21450 \change_deleted -712698321 1674898834
21451 c
21452 \change_inserted -712698321 1674898834
21453
21454 \emph on
21455 C
21456 \change_inserted 564990737 1672224959
21457 riterion 2
21458 \emph default
21459 ,
21460  
21461 \change_deleted -712698321 1674898836
21462 a
21463 \change_inserted -712698321 1674898836
21464
21465 \emph on
21466 A
21467 \change_inserted 564990737 1672224959
21468 xiom 3
21469 \emph default
21470 ,
21471  
21472 \change_deleted -712698321 1674898838
21473 a
21474 \change_inserted -712698321 1674898838
21475
21476 \emph on
21477 A
21478 \change_inserted 564990737 1672224959
21479 ssumption 4
21480 \emph default
21481 ,
21482  \SpecialChar ldots
21483 ).
21484 \end_layout
21485
21486 \begin_layout Subsection
21487
21488 \change_inserted 564990737 1672224959
21489 AMS Theorems (Numbered by Type within Chapters) 
21490 \end_layout
21491
21492 \begin_layout Standard
21493
21494 \change_inserted 564990737 1672224959
21495 This module defines theorem environments and the proof environment using the extended AMS machinery.
21496  Both numbered and unnumbered types are provided.
21497  
21498 \change_inserted -712698321 1674901718
21499
21500 \end_layout
21501
21502 \begin_layout Standard
21503
21504 \change_inserted 564990737 1672224959
21505 Unlike the 
21506 \family sans
21507 AMS Theorems
21508 \family default
21509  module,
21510  the different theorem types provided here each have a separate counter (e.g.,
21511  
21512 \change_deleted -712698321 1674901843
21513 t
21514 \change_inserted -712698321 1674901843
21515
21516 \emph on
21517 T
21518 \change_inserted 564990737 1672224959
21519 heorem 1.1
21520 \emph default
21521 ,
21522  
21523 \change_deleted -712698321 1674901845
21524 t
21525 \change_inserted -712698321 1674901845
21526
21527 \emph on
21528 T
21529 \change_inserted 564990737 1672224959
21530 heorem 1.2
21531 \emph default
21532 ,
21533  
21534 \change_deleted -712698321 1674901847
21535
21536 \emph on
21537 l
21538 \change_inserted -712698321 1674901847
21539 L
21540 \change_inserted 564990737 1672224959
21541 emma 1.1
21542 \emph default
21543 ,
21544  
21545 \change_inserted -712698321 1674901849
21546
21547 \emph on
21548 P
21549 \change_deleted -712698321 1674901849
21550 p
21551 \change_inserted 564990737 1672224959
21552 roposition 1.1
21553 \emph default
21554 ,
21555  
21556 \change_inserted -712698321 1674901852
21557
21558 \emph on
21559 T
21560 \change_deleted -712698321 1674901852
21561 t
21562 \change_inserted 564990737 1672224959
21563 heorem 1.3
21564 \emph default
21565 ,
21566  
21567 \change_inserted -712698321 1674901854
21568
21569 \emph on
21570 L
21571 \change_deleted -712698321 1674901854
21572 l
21573 \change_inserted 564990737 1672224959
21574 emma 1.2
21575 \emph default
21576 ,
21577  \SpecialChar ldots
21578 ,
21579  as opposed to 
21580 \change_deleted -712698321 1674901859
21581 t
21582 \change_inserted -712698321 1674901859
21583
21584 \emph on
21585 T
21586 \change_inserted 564990737 1672224959
21587 heorem 1
21588 \emph default
21589 ,
21590  
21591 \change_deleted -712698321 1674901861
21592 t
21593 \change_inserted -712698321 1674901861
21594
21595 \emph on
21596 T
21597 \change_inserted 564990737 1672224959
21598 heorem 2
21599 \emph default
21600 ,
21601  
21602 \change_deleted -712698321 1674901863
21603 l
21604 \change_inserted -712698321 1674901863
21605
21606 \emph on
21607 L
21608 \change_inserted 564990737 1672224959
21609 emma 3
21610 \emph default
21611 ,
21612  
21613 \change_deleted -712698321 1674901868
21614 p
21615 \change_inserted -712698321 1674901868
21616
21617 \emph on
21618 P
21619 \change_inserted 564990737 1672224959
21620 roposition 4
21621 \emph default
21622 ,
21623  \SpecialChar ldots
21624 ).
21625  The numbering restarts for each chapter:
21626  
21627 \change_deleted -712698321 1674901871
21628 t
21629 \change_inserted -712698321 1674901871
21630
21631 \emph on
21632 T
21633 \change_inserted 564990737 1672224959
21634 heorem 1.1
21635 \emph default
21636 ,
21637  
21638 \change_deleted -712698321 1674901873
21639 t
21640 \change_inserted -712698321 1674901873
21641
21642 \emph on
21643 T
21644 \change_inserted 564990737 1672224959
21645 heorem 2.1
21646 \emph default
21647 ,
21648  \SpecialChar ldots
21649  
21650 \change_inserted -712698321 1674901725
21651
21652 \end_layout
21653
21654 \begin_layout Standard
21655
21656 \change_inserted 564990737 1672224959
21657 It cannot be used if the modules 
21658 \family sans
21659 AMS Theorems
21660 \family default
21661 ,
21662  
21663 \family sans
21664 Standard Theorems
21665 \family default
21666 ,
21667
21668 \family sans
21669  Standard Theorems (Numbered by Type)
21670 \family default
21671  or
21672 \family sans
21673  Standard Theorems (Unnumbered)
21674 \family default
21675  have been loaded.
21676 \end_layout
21677
21678 \begin_layout Subsection
21679
21680 \change_inserted 564990737 1672224959
21681 AMS Theorems (Numbered by Type)
21682 \end_layout
21683
21684 \begin_layout Standard
21685
21686 \change_inserted 564990737 1672224959
21687 This module defines theorem environments and the proof environment using the extended AMS machinery.
21688  Both numbered and unnumbered types are provided.
21689  Unlike the 
21690 \family sans
21691 AMS Theorems
21692 \family default
21693  module,
21694  the different theorem types provided here each have a separate counter (e.g.,
21695  
21696 \change_deleted -712698321 1674902051
21697 t
21698 \change_inserted -712698321 1674902051
21699
21700 \emph on
21701 T
21702 \change_inserted 564990737 1672224959
21703 heorem 1
21704 \emph default
21705 ,
21706  
21707 \change_deleted -712698321 1674902053
21708 t
21709 \change_inserted -712698321 1674902053
21710
21711 \emph on
21712 T
21713 \change_inserted 564990737 1672224959
21714 heorem 2
21715 \emph default
21716 ,
21717  
21718 \change_deleted -712698321 1674902055
21719 l
21720 \change_inserted -712698321 1674902055
21721
21722 \emph on
21723 L
21724 \change_inserted 564990737 1672224959
21725 emma 1
21726 \emph default
21727 ,
21728  
21729 \change_inserted -712698321 1674902058
21730
21731 \emph on
21732 P
21733 \change_deleted -712698321 1674902058
21734 p
21735 \change_inserted 564990737 1672224959
21736 roposition 1
21737 \emph default
21738 ,
21739  
21740 \change_inserted -712698321 1674902061
21741
21742 \emph on
21743 T
21744 \change_deleted -712698321 1674902060
21745 t
21746 \change_inserted 564990737 1672224959
21747 heorem 3
21748 \emph default
21749 ,
21750  
21751 \change_deleted -712698321 1674902063
21752 l
21753 \change_inserted -712698321 1674902063
21754
21755 \emph on
21756 L
21757 \change_inserted 564990737 1672224959
21758 emma 2
21759 \emph default
21760 ,
21761  \SpecialChar ldots
21762 ,
21763  as opposed to 
21764 \change_deleted -712698321 1674902066
21765 t
21766 \change_inserted -712698321 1674902067
21767
21768 \emph on
21769 T
21770 \change_inserted 564990737 1672224959
21771 heorem 1
21772 \emph default
21773 ,
21774  
21775 \change_deleted -712698321 1674902069
21776 t
21777 \change_inserted -712698321 1674902069
21778
21779 \emph on
21780 T
21781 \change_inserted 564990737 1672224959
21782 heorem 2
21783 \emph default
21784 ,
21785  
21786 \change_deleted -712698321 1674902071
21787 l
21788 \change_inserted -712698321 1674902071
21789
21790 \emph on
21791 L
21792 \change_inserted 564990737 1672224959
21793 emma 3
21794 \emph default
21795 ,
21796  
21797 \change_deleted -712698321 1674902075
21798 p
21799 \change_inserted -712698321 1674902075
21800
21801 \emph on
21802 P
21803 \change_inserted 564990737 1672224959
21804 roposition 4
21805 \emph default
21806 ,
21807  \SpecialChar ldots
21808 ).
21809  The numbering’s scope is the whole document.
21810  For chapter- and section-wide numbering,
21811  use one of the ‘within Sections’/‘within Chapters’ modules,
21812  respectively.
21813  
21814 \change_inserted -712698321 1674902047
21815
21816 \end_layout
21817
21818 \begin_layout Standard
21819
21820 \change_inserted 564990737 1672224959
21821 It cannot be used if the modules 
21822 \family sans
21823 AMS Theorems
21824 \family default
21825 ,
21826  
21827 \family sans
21828 Standard Theorems
21829 \family default
21830 ,
21831
21832 \family sans
21833  Standard Theorems (Numbered by Type)
21834 \family default
21835  or
21836 \family sans
21837  Standard Theorems (Unnumbered)
21838 \family default
21839  have been loaded.
21840 \end_layout
21841
21842 \begin_layout Subsection
21843
21844 \change_inserted 564990737 1672224959
21845 Number Equations by Section
21846 \end_layout
21847
21848 \begin_layout Standard
21849
21850 \change_inserted 564990737 1672224959
21851 This module resets the equation number at section start and prepends the section number to the equation number,
21852  as in 
21853 \change_deleted -712698321 1674902160
21854
21855 \change_inserted 564990737 1672224959
21856
21857 \emph on
21858 (2.1)
21859 \emph default
21860 .
21861 \change_deleted -712698321 1674902162
21862
21863 \change_inserted 564990737 1672224959
21864  
21865 \end_layout
21866
21867 \begin_layout Subsection
21868
21869 \change_inserted 564990737 1672224959
21870 Standard Theorems
21871 \end_layout
21872
21873 \begin_layout Standard
21874
21875 \change_inserted 564990737 1672224959
21876 This module defines some theorem environments for use with non-AMS classes.
21877  By default,
21878  the theorems are numbered consecutively throughout the document.
21879  This can be changed by loading one of the 
21880 \family sans
21881 Standard Theorems (Numbered by \SpecialChar ldots
21882 )
21883 \family default
21884  modules.
21885  
21886 \change_inserted -712698321 1674902414
21887
21888 \end_layout
21889
21890 \begin_layout Standard
21891
21892 \change_inserted 564990737 1672224959
21893 It cannot be used if the modules 
21894 \family sans
21895 AMS Theorems
21896 \family default
21897  or
21898 \family sans
21899  Standard Theorems (Unnumbered)
21900 \family default
21901  have been loaded.
21902  
21903 \end_layout
21904
21905 \begin_layout Subsection
21906
21907 \change_inserted 564990737 1672224959
21908 Standard Theorems (Nameable)
21909 \end_layout
21910
21911 \begin_layout Standard
21912
21913 \change_inserted 564990737 1672224959
21914 This module facilitates the use of named theorems.
21915  The name of the theorem 
21916 \change_deleted -712698321 1674902805
21917 goes into the
21918 \change_inserted -712698321 1674902825
21919 can be inserted via 
21920 \family sans
21921 Insert\SpecialChar menuseparator
21922
21923 \change_deleted -712698321 1674902827
21924  “
21925 \change_inserted 564990737 1672224959
21926 Additional Theorem Text
21927 \change_deleted -712698321 1674902831
21928
21929 \family default
21930 ” argument
21931 \change_inserted 564990737 1672224959
21932 .
21933  
21934 \end_layout
21935
21936 \begin_layout Subsection
21937
21938 \change_inserted 564990737 1672224959
21939 Standard Theorems (Numbered by Chapter)
21940 \end_layout
21941
21942 \begin_layout Standard
21943
21944 \change_inserted 564990737 1672224959
21945 This module numbers theorems and the like by chapter (i.e.,
21946  the counter is reset at each chapter start).
21947  Use this module only with document classes that provide a chapter environment.
21948  
21949 \change_inserted -712698321 1674903079
21950
21951 \end_layout
21952
21953 \begin_layout Standard
21954
21955 \change_inserted 564990737 1672224959
21956 One of the modules 
21957 \family sans
21958 AMS Theorems
21959 \family default
21960  or 
21961 \family sans
21962 Standard Theorems
21963 \family default
21964  must be loaded.
21965  
21966 \change_inserted -712698321 1674903082
21967
21968 \end_layout
21969
21970 \begin_layout Standard
21971
21972 \change_inserted 564990737 1672224959
21973 It cannot be used if the module
21974 \family sans
21975  Standard Theorems (Numbered by Section)
21976 \family default
21977  has been loaded.
21978 \end_layout
21979
21980 \begin_layout Subsection
21981
21982 \change_inserted 564990737 1672224959
21983 Standard Theorems (Numbered by Section)
21984 \end_layout
21985
21986 \begin_layout Standard
21987
21988 \change_inserted 564990737 1672224959
21989 This module numbers theorems and the like by section (i.e.,
21990  the counter is reset at each section start).
21991  One of the modules 
21992 \family sans
21993 AMS Theorems
21994 \family default
21995  or 
21996 \family sans
21997 Standard Theorems
21998 \family default
21999  must be loaded.
22000  It cannot be used if the module
22001 \family sans
22002  Standard Theorems (Numbered by Chapter)
22003 \family default
22004  has been loaded.
22005 \end_layout
22006
22007 \begin_layout Subsection
22008
22009 \change_inserted 564990737 1672224959
22010 Standard Theorems (Numbered by Type within Chapters) 
22011 \end_layout
22012
22013 \begin_layout Standard
22014
22015 \change_inserted 564990737 1672224959
22016 This module defines some theorem environments for use with non-AMS classes.
22017  Unlike the
22018 \family sans
22019  AMS Theorems
22020 \family default
22021  and 
22022 \family sans
22023 Standard Theorems
22024 \family default
22025  modules,
22026  the different theorem types provided here each have a separate counter (e.g.,
22027  
22028 \change_deleted -712698321 1674903338
22029 t
22030 \change_inserted -712698321 1674903338
22031
22032 \emph on
22033 T
22034 \change_inserted 564990737 1672224959
22035 heorem 1
22036 \emph default
22037 ,
22038  
22039 \change_deleted -712698321 1674903340
22040 t
22041 \change_inserted -712698321 1674903340
22042
22043 \emph on
22044 T
22045 \change_inserted 564990737 1672224959
22046 heorem 2
22047 \emph default
22048 ,
22049  
22050 \change_deleted -712698321 1674903343
22051 l
22052 \change_inserted -712698321 1674903343
22053
22054 \emph on
22055 L
22056 \change_inserted 564990737 1672224959
22057 emma 1
22058 \emph default
22059 ,
22060  
22061 \change_deleted -712698321 1674903346
22062 p
22063 \change_inserted -712698321 1674903346
22064
22065 \emph on
22066 P
22067 \change_inserted 564990737 1672224959
22068 roposition 1
22069 \emph default
22070 ,
22071  
22072 \change_deleted -712698321 1674903348
22073 t
22074 \change_inserted -712698321 1674903348
22075
22076 \emph on
22077 T
22078 \change_inserted 564990737 1672224959
22079 heorem 3
22080 \emph default
22081 ,
22082  
22083 \change_deleted -712698321 1674903351
22084 l
22085 \change_inserted -712698321 1674903351
22086
22087 \emph on
22088 L
22089 \change_inserted 564990737 1672224959
22090 emma 2
22091 \emph default
22092 ,
22093  \SpecialChar ldots
22094 ,
22095  as opposed to 
22096 \change_deleted -712698321 1674903354
22097 t
22098 \change_inserted -712698321 1674903354
22099
22100 \emph on
22101 T
22102 \change_inserted 564990737 1672224959
22103 heorem 1
22104 \emph default
22105 ,
22106  
22107 \change_deleted -712698321 1674903356
22108 t
22109 \change_inserted -712698321 1674903356
22110
22111 \emph on
22112 T
22113 \change_inserted 564990737 1672224959
22114 heorem 2
22115 \emph default
22116 ,
22117  
22118 \change_deleted -712698321 1674903359
22119 l
22120 \change_inserted -712698321 1674903359
22121
22122 \emph on
22123 L
22124 \change_inserted 564990737 1672224959
22125 emma 3
22126 \emph default
22127 ,
22128  
22129 \change_deleted -712698321 1674903361
22130 p
22131 \change_inserted -712698321 1674903361
22132
22133 \emph on
22134 P
22135 \change_inserted 564990737 1672224959
22136 roposition 4
22137 \emph default
22138 ,
22139  \SpecialChar ldots
22140 ).
22141  The numbering is reset at each chapter start.
22142  
22143 \change_inserted -712698321 1674902715
22144
22145 \end_layout
22146
22147 \begin_layout Standard
22148
22149 \change_inserted 564990737 1672224959
22150 One of the modules 
22151 \family sans
22152 AMS Theorems (Numbered by Type)
22153 \family default
22154  or 
22155 \family sans
22156 Standard Theorems (Numbered by Type)
22157 \family default
22158  must be loaded.
22159  
22160 \change_inserted -712698321 1674902717
22161
22162 \end_layout
22163
22164 \begin_layout Standard
22165
22166 \change_inserted 564990737 1672224959
22167 It cannot be used if any of the modules
22168 \family sans
22169  AMS Theorems
22170 \family default
22171 ,
22172  
22173 \family sans
22174 Standard Theorems
22175 \family default
22176 ,
22177  
22178 \family sans
22179 Standard Theorems (Unnumbered)
22180 \family default
22181 ,
22182
22183 \family sans
22184  Standard Theorems (Numbered by Sections)
22185 \family default
22186  or 
22187 \family sans
22188 Standard Theorems (Numbered by Type within Sections)
22189 \family default
22190  have been loaded.
22191 \end_layout
22192
22193 \begin_layout Subsection
22194
22195 \change_inserted 564990737 1672224959
22196 Standard Theorems (Numbered by Type within Sections) 
22197 \end_layout
22198
22199 \begin_layout Standard
22200
22201 \change_inserted 564990737 1672224959
22202 This module defines some theorem environments for use with non-AMS classes.
22203  Unlike the
22204 \family sans
22205  AMS Theorems
22206 \family default
22207  and 
22208 \family sans
22209 Standard Theorems
22210 \family default
22211  modules,
22212  the different theorem types provided here each have a separate counter (e.g.,
22213  
22214 \change_deleted -712698321 1674902520
22215 t
22216 \change_inserted -712698321 1674902520
22217
22218 \emph on
22219 T
22220 \change_inserted 564990737 1672224959
22221 heorem 1
22222 \emph default
22223 ,
22224  
22225 \change_deleted -712698321 1674902522
22226 t
22227 \change_inserted -712698321 1674902522
22228
22229 \emph on
22230 T
22231 \change_inserted 564990737 1672224959
22232 heorem 2
22233 \emph default
22234 ,
22235  
22236 \change_deleted -712698321 1674902527
22237 l
22238 \change_inserted -712698321 1674902527
22239
22240 \emph on
22241 L
22242 \change_inserted 564990737 1672224959
22243 emma 1
22244 \emph default
22245 ,
22246  
22247 \change_inserted -712698321 1674902529
22248
22249 \emph on
22250 P
22251 \change_deleted -712698321 1674902529
22252 p
22253 \change_inserted 564990737 1672224959
22254 roposition 1
22255 \emph default
22256 ,
22257  
22258 \change_deleted -712698321 1674902532
22259 t
22260 \change_inserted -712698321 1674902532
22261
22262 \emph on
22263 T
22264 \change_inserted 564990737 1672224959
22265 heorem 3
22266 \emph default
22267 ,
22268  
22269 \change_inserted -712698321 1674902535
22270
22271 \emph on
22272 L
22273 \change_deleted -712698321 1674902534
22274 l
22275 \change_inserted 564990737 1672224959
22276 emma 2
22277 \emph default
22278 ,
22279  \SpecialChar ldots
22280 ,
22281  as opposed to 
22282 \change_deleted -712698321 1674902538
22283 t
22284 \change_inserted -712698321 1674902538
22285
22286 \emph on
22287 T
22288 \change_inserted 564990737 1672224959
22289 heorem 1
22290 \emph default
22291 ,
22292  
22293 \change_deleted -712698321 1674902540
22294 t
22295 \change_inserted -712698321 1674902540
22296
22297 \emph on
22298 T
22299 \change_inserted 564990737 1672224959
22300 heorem 2
22301 \emph default
22302 ,
22303  
22304 \change_deleted -712698321 1674902543
22305 l
22306 \change_inserted -712698321 1674902543
22307
22308 \emph on
22309 L
22310 \change_inserted 564990737 1672224959
22311 emma 3
22312 \emph default
22313 ,
22314  
22315 \change_inserted -712698321 1674902545
22316
22317 \emph on
22318 P
22319 \change_deleted -712698321 1674902545
22320 p
22321 \change_inserted 564990737 1672224959
22322 roposition 4
22323 \emph default
22324 ,
22325  \SpecialChar ldots
22326 ).
22327  The numbering is reset at each section start.
22328  
22329 \change_inserted -712698321 1674902574
22330
22331 \end_layout
22332
22333 \begin_layout Standard
22334
22335 \change_inserted 564990737 1672224959
22336 One of the modules 
22337 \family sans
22338 AMS Theorems (Numbered by Type)
22339 \family default
22340  or 
22341 \family sans
22342 Standard Theorems (Numbered by Type)
22343 \family default
22344  must be loaded.
22345  
22346 \change_inserted -712698321 1674902609
22347
22348 \end_layout
22349
22350 \begin_layout Standard
22351
22352 \change_inserted 564990737 1672224959
22353 It cannot be used if any of the modules
22354 \family sans
22355  AMS Theorems
22356 \family default
22357 ,
22358  
22359 \family sans
22360 Standard Theorems
22361 \family default
22362 ,
22363  
22364 \family sans
22365 Standard Theorems (Unnumbered)
22366 \family default
22367 ,
22368
22369 \family sans
22370  Standard Theorems (Numbered by Chapters)
22371 \family default
22372  or 
22373 \family sans
22374 Standard Theorems (Numbered by Type within Chapters)
22375 \family default
22376  have been loaded.
22377 \end_layout
22378
22379 \begin_layout Subsection
22380
22381 \change_inserted 564990737 1672224959
22382 Standard Theorems (Numbered by Type)
22383 \end_layout
22384
22385 \begin_layout Standard
22386
22387 \change_inserted 564990737 1672224959
22388 This module defines some theorem environments for use with non-AMS classes.
22389  Unlike the 
22390 \family sans
22391 AMS Theorems
22392 \family default
22393  and 
22394 \family sans
22395 Standard Theorems
22396 \family default
22397  modules,
22398  the different theorem types provided here each have a separate counter (e.g.,
22399  
22400 \change_deleted -712698321 1674903220
22401 t
22402 \change_inserted -712698321 1674903220
22403
22404 \emph on
22405 T
22406 \change_inserted 564990737 1672224959
22407 heorem 1
22408 \emph default
22409 ,
22410  
22411 \change_deleted -712698321 1674903221
22412 t
22413 \change_inserted -712698321 1674903221
22414
22415 \emph on
22416 T
22417 \change_inserted 564990737 1672224959
22418 heorem 2
22419 \emph default
22420 ,
22421  
22422 \change_deleted -712698321 1674903225
22423 l
22424 \change_inserted -712698321 1674903226
22425
22426 \emph on
22427 L
22428 \change_inserted 564990737 1672224959
22429 emma 1
22430 \emph default
22431 ,
22432  
22433 \change_inserted -712698321 1674903228
22434
22435 \emph on
22436 P
22437 \change_deleted -712698321 1674903228
22438 p
22439 \change_inserted 564990737 1672224959
22440 roposition 1
22441 \emph default
22442 ,
22443  
22444 \change_deleted -712698321 1674903231
22445 t
22446 \change_inserted -712698321 1674903232
22447
22448 \emph on
22449 T
22450 \change_inserted 564990737 1672224959
22451 heorem 3
22452 \emph default
22453 ,
22454  
22455 \change_inserted -712698321 1674903261
22456
22457 \emph on
22458 L
22459 \change_deleted -712698321 1674903233
22460 l
22461 \change_inserted 564990737 1672224959
22462 emma 2
22463 \emph default
22464 ,
22465  \SpecialChar ldots
22466 ,
22467  as opposed to 
22468 \change_deleted -712698321 1674903237
22469 t
22470 \change_inserted -712698321 1674903237
22471
22472 \emph on
22473 T
22474 \change_inserted 564990737 1672224959
22475 heorem 1
22476 \emph default
22477 ,
22478  
22479 \change_deleted -712698321 1674903240
22480 t
22481 \change_inserted -712698321 1674903240
22482
22483 \emph on
22484 T
22485 \change_inserted 564990737 1672224959
22486 heorem 2
22487 \emph default
22488 ,
22489  
22490 \change_deleted -712698321 1674903242
22491 l
22492 \change_inserted -712698321 1674903242
22493
22494 \emph on
22495 L
22496 \change_inserted 564990737 1672224959
22497 emma 3
22498 \emph default
22499 ,
22500  
22501 \change_deleted -712698321 1674903246
22502 p
22503 \change_inserted -712698321 1674903246
22504
22505 \emph on
22506 P
22507 \change_inserted 564990737 1672224959
22508 roposition 4
22509 \emph default
22510 ,
22511  \SpecialChar ldots
22512 ).
22513  The numbering’s scope is the whole document.
22514  For chapter- and section-wide numbering,
22515  use one of the “within Chapters”/“within Sections” modules,
22516  respectively.
22517  
22518 \change_inserted -712698321 1674903280
22519
22520 \end_layout
22521
22522 \begin_layout Standard
22523
22524 \change_inserted 564990737 1672224959
22525 It cannot be used if any of the modules
22526 \family sans
22527  AMS Theorems
22528 \family default
22529 ,
22530  
22531 \family sans
22532 Standard Theorems
22533 \family default
22534 ,
22535  
22536 \family sans
22537 Standard Theorems (Unnumbered)
22538 \family default
22539  or
22540 \family sans
22541  AMS Theorems (Numbered by Type)
22542 \family default
22543  have been loaded.
22544 \end_layout
22545
22546 \begin_layout Subsection
22547
22548 \change_inserted 564990737 1672224959
22549 Standard Theorems (Unnumbered)
22550 \end_layout
22551
22552 \begin_layout Standard
22553
22554 \change_inserted 564990737 1672224959
22555 This module defines only unnumbered theorem environments and the proof environment,
22556  using the extended AMS machinery.
22557  It cannot be used if either of the modules
22558 \family sans
22559  AMS Theorems
22560 \family default
22561  or
22562 \family sans
22563  Standard Theorems
22564 \family default
22565  have been loaded.
22566 \end_layout
22567
22568 \begin_layout Subsection
22569
22570 \change_inserted 564990737 1672224959
22571 Subequations
22572 \end_layout
22573
22574 \begin_layout Standard
22575
22576 \change_inserted 564990737 1672224959
22577 This module provides a straightforward way to segregate subequations in LyX.
22578  See 
22579 \family sans
22580 Help\SpecialChar menuseparator
22581 Math\SpecialChar menuseparator
22582 Subnumbering
22583 \family default
22584 .
22585  
22586 \end_layout
22587
22588 \begin_layout Section
22589
22590 \change_inserted 564990737 1672236008
22591 Page Layout
22592 \end_layout
22593
22594 \begin_layout Subsection
22595
22596 \change_inserted 564990737 1672236008
22597 Custom Header/Footer Text
22598 \end_layout
22599
22600 \begin_layout Standard
22601
22602 \change_inserted 564990737 1672236008
22603 This module requires the 
22604 \family sans
22605 Page
22606 \begin_inset space ~
22607 \end_inset
22608
22609
22610 \bar under
22611 s
22612 \bar default
22613 tyle
22614 \family default
22615  option in the 
22616 \family sans
22617 \bar under
22618 D
22619 \bar default
22620 ocument\SpecialChar menuseparator
22621
22622 \bar under
22623 S
22624 \bar default
22625 ettings\SpecialChar menuseparator
22626 Page
22627 \begin_inset space ~
22628 \end_inset
22629
22630 Layout
22631 \family default
22632  dialog to be set to 
22633 \family typewriter
22634 fancy
22635 \family default
22636 .
22637  It adds six environments to document classes which support the 
22638 \family typewriter
22639 fancyhdr
22640 \family default
22641  package:
22642 \end_layout
22643
22644 \begin_layout Itemize
22645
22646 \change_inserted 564990737 1672236008
22647
22648 \family sans
22649 Left Header
22650 \end_layout
22651
22652 \begin_layout Itemize
22653
22654 \change_inserted 564990737 1672236008
22655
22656 \family sans
22657 Center Header
22658 \end_layout
22659
22660 \begin_layout Itemize
22661
22662 \change_inserted 564990737 1672236008
22663
22664 \family sans
22665 Right Header
22666 \end_layout
22667
22668 \begin_layout Itemize
22669
22670 \change_inserted 564990737 1672236008
22671
22672 \family sans
22673 Left Footer
22674 \end_layout
22675
22676 \begin_layout Itemize
22677
22678 \change_inserted 564990737 1672236008
22679
22680 \family sans
22681 Center Footer
22682 \end_layout
22683
22684 \begin_layout Itemize
22685
22686 \change_inserted 564990737 1672236008
22687
22688 \family sans
22689 Right Footer
22690 \end_layout
22691
22692 \begin_layout Subsubsection
22693
22694 \change_inserted 564990737 1672236008
22695 Fancy Headers and Footers
22696 \end_layout
22697
22698 \begin_layout Standard
22699
22700 \change_inserted 564990737 1672236008
22701 The default page layout is rather plain;
22702  for an
22703 \change_deleted -712698321 1674910295
22704  
22705 \begin_inset Flex Code
22706 status collapsed
22707
22708 \begin_layout Plain Layout
22709
22710 \change_inserted 564990737 1672236008
22711 article
22712 \change_unchanged
22713
22714 \end_layout
22715
22716 \end_inset
22717
22718
22719 \change_inserted 564990737 1672236008
22720  
22721 \change_inserted -712698321 1674910328
22722
22723 \family sans
22724 Article (Standard Class)
22725 \family default
22726  
22727 \change_inserted 564990737 1672236008
22728 document class,
22729  all you get is a centered page number at the bottom of the page.
22730  This document uses
22731 \change_inserted -712698321 1674910381
22732  the
22733 \change_inserted 564990737 1672236008
22734  
22735 \change_deleted -712698321 1674910376
22736 KOMA-script’s book
22737 \change_inserted -712698321 1674910376
22738
22739 \family sans
22740 KOMA-Script Book
22741 \change_inserted 564990737 1672236008
22742
22743 \family default
22744  class;
22745  so it appears to be a bit fancier.
22746  
22747 \change_inserted -712698321 1674910455
22748
22749 \end_layout
22750
22751 \begin_layout Standard
22752
22753 \change_inserted 564990737 1672236008
22754 Once the 
22755 \family sans
22756 Page
22757 \begin_inset space ~
22758 \end_inset
22759
22760
22761 \bar under
22762 s
22763 \bar default
22764 tyle
22765 \family default
22766  in 
22767 \family sans
22768 \bar under
22769 D
22770 \bar default
22771 ocument\SpecialChar menuseparator
22772
22773 \bar under
22774 S
22775 \bar default
22776 ettings\SpecialChar menuseparator
22777 Page Layout
22778 \family default
22779  is set to 
22780 \begin_inset Quotes eld
22781 \end_inset
22782
22783 fancy
22784 \begin_inset Quotes erd
22785 \end_inset
22786
22787 ,
22788  you will find that the page header is divided into three fields,
22789  not surprisingly labeled 
22790 \begin_inset Quotes eld
22791 \end_inset
22792
22793 left
22794 \begin_inset Quotes erd
22795 \end_inset
22796
22797 ,
22798  
22799 \begin_inset Quotes eld
22800 \end_inset
22801
22802 center
22803 \begin_inset Quotes erd
22804 \end_inset
22805
22806 ,
22807  and 
22808 \begin_inset Quotes eld
22809 \end_inset
22810
22811 right
22812 \begin_inset Quotes erd
22813 \end_inset
22814
22815 .
22816  The footer is also divided into these three fields.
22817  The \SpecialChar LaTeX
22818  commands to set these fields in the simplest manner are 
22819 \family typewriter
22820
22821 \backslash
22822 lhead
22823 \family default
22824 ,
22825  
22826 \family typewriter
22827
22828 \backslash
22829 chead
22830 \family default
22831 ,
22832  
22833 \family typewriter
22834
22835 \backslash
22836 rhead
22837 \family default
22838 ,
22839  
22840 \family typewriter
22841
22842 \backslash
22843 lfoot
22844 \family default
22845 ,
22846  etc.
22847  Suppose you wish to put your name in the upper left hand corner of each page.
22848  Simply insert the following command in the preamble:
22849  
22850 \end_layout
22851
22852 \begin_layout LyX-Code
22853
22854 \change_inserted 564990737 1672236008
22855
22856 \backslash
22857 lhead{John Q.
22858  DocWriter}
22859 \end_layout
22860
22861 \begin_layout Standard
22862
22863 \change_inserted 564990737 1672236008
22864 You will now see your name in the upper left.
22865  If a field has a default entry that you would like to get rid of (often the page number appears in the central footer) simply include a command with a blank argument,
22866  e.
22867 \begin_inset space \thinspace{}
22868 \end_inset
22869
22870 g.:
22871 \end_layout
22872
22873 \begin_layout LyX-Code
22874
22875 \change_inserted 564990737 1672236008
22876
22877 \backslash
22878 cfoot{}
22879 \end_layout
22880
22881 \begin_layout Standard
22882
22883 \change_inserted 564990737 1672236008
22884 There is,
22885  however,
22886  an easier way to make simple changes.
22887  If you load the 
22888 \family sans
22889 \bar under
22890 D
22891 \bar default
22892 ocument\SpecialChar menuseparator
22893
22894 \bar under
22895 S
22896 \bar default
22897 ettings\SpecialChar menuseparator
22898 Modules\SpecialChar menuseparator
22899 Page Layout\SpecialChar menuseparator
22900 Custom Header/Footer Text
22901 \family default
22902  module,
22903  you will find you have six new environments corresponding to the six fields described above.
22904 \end_layout
22905
22906 \begin_layout Standard
22907
22908 \change_inserted 564990737 1672236008
22909 Let's get really fancy:
22910  lets put the section number with the word 
22911 \begin_inset Quotes eld
22912 \end_inset
22913
22914 Section
22915 \begin_inset Quotes erd
22916 \end_inset
22917
22918  (e.
22919 \begin_inset space \thinspace{}
22920 \end_inset
22921
22922 g.
22923 \begin_inset space \space{}
22924 \end_inset
22925
22926 Section 3) in the upper left,
22927  the page number (e.
22928 \begin_inset space \thinspace{}
22929 \end_inset
22930
22931 g.
22932 \begin_inset space \space{}
22933 \end_inset
22934
22935 Page 4) in the upper right,
22936  your name in the lower left,
22937  and the date in the lower right.
22938  Use your newly enabled environments to add these entries:
22939 \end_layout
22940
22941 \begin_layout Standard
22942
22943 \change_deleted -712698321 1674910975
22944 \begin_inset VSpace defskip
22945 \end_inset
22946
22947
22948 \change_inserted 564990737 1672236008
22949
22950 \end_layout
22951
22952 \begin_layout LyX-Code
22953
22954 \change_inserted 564990737 1672236008
22955
22956 \family sans
22957 Left
22958 \begin_inset space ~
22959 \end_inset
22960
22961 header:
22962
22963 \family default
22964 \series bold
22965  
22966 \family roman
22967 \series default
22968 Section
22969 \family typewriter
22970  
22971 \family default
22972
22973 \backslash
22974 thesection
22975 \end_layout
22976
22977 \begin_layout LyX-Code
22978
22979 \change_inserted 564990737 1672236008
22980
22981 \family sans
22982 Center header:
22983 \end_layout
22984
22985 \begin_layout LyX-Code
22986
22987 \change_inserted 564990737 1672236008
22988
22989 \family sans
22990 Right header:
22991
22992 \family default
22993  
22994 \family roman
22995 Page
22996 \family typewriter
22997  
22998 \family default
22999
23000 \backslash
23001 thepage
23002 \end_layout
23003
23004 \begin_layout LyX-Code
23005
23006 \change_inserted 564990737 1672236008
23007
23008 \family sans
23009 Left footer:
23010
23011 \family default
23012  
23013 \family roman
23014 John Q.
23015  DocWriter
23016 \end_layout
23017
23018 \begin_layout LyX-Code
23019
23020 \change_inserted 564990737 1672236008
23021
23022 \family sans
23023 Center footer:
23024 \end_layout
23025
23026 \begin_layout LyX-Code
23027
23028 \change_inserted 564990737 1672236008
23029
23030 \family sans
23031 Right footer:
23032
23033 \family default
23034 \series bold
23035  
23036 \series default
23037
23038 \backslash
23039 today
23040 \end_layout
23041
23042 \begin_layout Standard
23043
23044 \change_deleted -712698321 1674910976
23045 \begin_inset VSpace defskip
23046 \end_inset
23047
23048
23049 \change_inserted 564990737 1672236008
23050
23051 \end_layout
23052
23053 \begin_layout Standard
23054
23055 \change_inserted 564990737 1672236008
23056 Make sure you enter the commands 
23057 \family typewriter
23058
23059 \backslash
23060 thesection
23061 \family default
23062 ,
23063  
23064 \family typewriter
23065
23066 \backslash
23067 thepage
23068 \family default
23069  and 
23070 \family typewriter
23071
23072 \backslash
23073 today
23074 \family default
23075  as \SpecialChar TeX
23076  Code commands
23077 \series bold
23078 .
23079
23080 \series default
23081  The commands 
23082 \family typewriter
23083
23084 \backslash
23085 thesection
23086 \family default
23087  and
23088 \family typewriter
23089  
23090 \backslash
23091 thepage
23092 \family default
23093  access \SpecialChar LaTeX
23094 ’s section and page counters,
23095  and so print out the current section and page numbers.
23096  
23097 \family typewriter
23098
23099 \backslash
23100 today
23101 \family default
23102  simply prints out today’s date.
23103 \end_layout
23104
23105 \begin_layout Standard
23106
23107 \change_inserted 564990737 1672236008
23108 The thicknesses of the horizontal rules drawn beneath the header and above the footer can also be modified.
23109  If you don't want one of the rules,
23110  set its thickness to 0.
23111  The header rule has a default thickness of 0.4pt,
23112  the footer rule is 0pt.
23113  For this you will need to use \SpecialChar TeX
23114  Code commands like 
23115 \end_layout
23116
23117 \begin_layout Standard
23118
23119 \change_inserted 564990737 1672236008
23120
23121 \family typewriter
23122
23123 \backslash
23124 renewcommand{
23125 \backslash
23126 headrulewidth}{0.4pt}
23127 \family default
23128  and 
23129 \end_layout
23130
23131 \begin_layout Standard
23132
23133 \change_inserted 564990737 1672236008
23134
23135 \family typewriter
23136
23137 \backslash
23138 renewcommand{
23139 \backslash
23140 footrulewidth}{0.4pt}
23141 \family default
23142  to set the thicknesses.
23143 \end_layout
23144
23145 \begin_layout Standard
23146
23147 \change_inserted 564990737 1672236008
23148 You can switch the header/footer settings on and off for individual pages using \SpecialChar TeX
23149  Code commands like 
23150 \family typewriter
23151
23152 \backslash
23153 thispagestyle{empty}
23154 \family default
23155 ,
23156  
23157 \family typewriter
23158
23159 \backslash
23160 thispagestyle{plain}
23161 \family default
23162 ,
23163  and 
23164 \family typewriter
23165
23166 \backslash
23167 thispagestyle{fancy}
23168 \family default
23169 .
23170  Simply insert them in the text on the page you want changed and mark them as \SpecialChar TeX
23171  code.
23172  In fact,
23173  title pages are marked as plain by default,
23174  while following pages are marked fancy when using the global fancy setting.
23175  
23176 \end_layout
23177
23178 \begin_layout Standard
23179
23180 \change_inserted 564990737 1672236008
23181 If you want a header or footer to be on the outer side of a two sided document,
23182  you need to use something like:
23183 \end_layout
23184
23185 \begin_layout LyX-Code
23186
23187 \change_deleted -712698321 1674911361
23188
23189 \family sans
23190 \begin_inset Flex Strong
23191 status collapsed
23192
23193 \begin_layout Plain Layout
23194
23195 \change_inserted 564990737 1672236008
23196
23197 \family sans
23198 \series medium
23199
23200 \backslash
23201 fancyfoot{}
23202 \change_unchanged
23203
23204 \end_layout
23205
23206 \end_inset
23207
23208
23209 \change_inserted -712698321 1674911361
23210
23211 \family default
23212
23213 \backslash
23214 fancyfoot{}
23215 \change_unchanged
23216
23217 \end_layout
23218
23219 \begin_layout LyX-Code
23220
23221 \change_deleted -712698321 1674911364
23222
23223 \family sans
23224 \begin_inset Flex Strong
23225 status collapsed
23226
23227 \begin_layout Plain Layout
23228
23229 \change_inserted 564990737 1672236008
23230
23231 \family sans
23232 \series medium
23233
23234 \backslash
23235 fancyfoot[LE,RO]{
23236 \backslash
23237 thepage}
23238 \change_unchanged
23239
23240 \end_layout
23241
23242 \end_inset
23243
23244
23245 \change_inserted -712698321 1674911364
23246
23247 \family default
23248
23249 \backslash
23250 fancyfoot[LE,RO]{
23251 \backslash
23252 thepage}
23253 \change_unchanged
23254
23255 \end_layout
23256
23257 \begin_layout Standard
23258
23259 \change_inserted 564990737 1672236008
23260 The first command clears all existing footers avoiding any conflicts with your new command.
23261 \end_layout
23262
23263 \begin_layout Standard
23264
23265 \change_inserted 564990737 1672236008
23266 You can enter any of these commands,
23267  the simpler ones in any of your new environments,
23268  the more complex ones as \SpecialChar TeX
23269  Code commands,
23270  at any point in your document and they will take effect on the next page.
23271 \end_layout
23272
23273 \begin_layout Standard
23274
23275 \change_inserted 564990737 1672236008
23276 As a final example,
23277  it is possible to include an image in the header or footer.
23278  Suppose you want to put a company logo in the upper left hand corner.
23279  You might try something like
23280 \change_inserted -712698321 1674911745
23281  this in 
23282 \family sans
23283 Document\SpecialChar menuseparator
23284 Settings\SpecialChar menuseparator
23285 LaTeX Preamble
23286 \family default
23287 :
23288 \change_inserted 564990737 1672236008
23289
23290 \end_layout
23291
23292 \begin_layout LyX-Code
23293
23294 \change_inserted 564990737 1672236008
23295
23296 \backslash
23297 lhead{
23298 \backslash
23299 resizebox{1in}{!}{
23300 \backslash
23301 includegraphics{logo.
23302 \change_deleted -712698321 1674911807
23303 eps
23304 \change_inserted -712698321 1674911807
23305 png
23306 \change_inserted 564990737 1672236008
23307 }}}
23308 \end_layout
23309
23310 \begin_layout Standard
23311 \noindent
23312
23313 \change_deleted -712698321 1674911836
23314 (y
23315 \change_inserted -712698321 1674911837
23316 Y
23317 \change_inserted 564990737 1672236008
23318 ou may need to preface this with 
23319 \family typewriter
23320
23321 \backslash
23322 usepackage{graphics}
23323 \family default
23324  if you don't include graphics elsewhere in your document
23325 \change_deleted -712698321 1674911839
23326 )
23327 \change_inserted 564990737 1672236008
23328 .
23329 \end_layout
23330
23331 \begin_layout Standard
23332
23333 \change_inserted 564990737 1672236008
23334 For more information on fancy headers,
23335  you can get the 
23336 \begin_inset Flex Code
23337 status collapsed
23338
23339 \begin_layout Plain Layout
23340
23341 \change_inserted 564990737 1672236008
23342 fancyhdr
23343 \change_unchanged
23344
23345 \end_layout
23346
23347 \end_inset
23348
23349  documentation from 
23350 \begin_inset CommandInset href
23351 LatexCommand href
23352 name "CTAN"
23353 target "http://www.ctan.org/pkg/fancyhdr"
23354 literal "false"
23355
23356 \end_inset
23357
23358 .
23359  
23360 \end_layout
23361
23362 \begin_layout Subsection
23363
23364 \change_inserted 564990737 1672236008
23365 Landscape Document Parts
23366 \end_layout
23367
23368 \begin_layout Standard
23369
23370 \change_inserted 564990737 1672236008
23371 This module outputs parts of the document in landscape mode using 
23372 \family sans
23373 Insert\SpecialChar menuseparator
23374 Custom Insets\SpecialChar menuseparator
23375 Landscape
23376 \family default
23377  or 
23378 \family sans
23379 Insert\SpecialChar menuseparator
23380 Custom Insets\SpecialChar menuseparator
23381 Landscape (Floating)
23382 \family default
23383 .
23384 \end_layout
23385
23386 \begin_layout Subsection
23387
23388 \change_inserted 564990737 1672236008
23389 \begin_inset CommandInset label
23390 LatexCommand label
23391 name "sec:Multiple-Columns"
23392
23393 \end_inset
23394
23395 Multiple Columns
23396 \end_layout
23397
23398 \begin_layout Standard
23399
23400 \change_inserted 564990737 1672236008
23401 This module uses the 
23402 \family sans
23403 multicol
23404 \family default
23405
23406 \begin_inset Index idx
23407 range none
23408 pageformat default
23409 status collapsed
23410
23411 \begin_layout Plain Layout
23412
23413 \change_inserted 564990737 1672236008
23414 \SpecialChar LaTeX
23415 -packages !
23416  multicol
23417 \change_unchanged
23418
23419 \end_layout
23420
23421 \end_inset
23422
23423  package and is independent of the option 
23424 \family sans
23425 Two-
23426 \bar under
23427 c
23428 \bar default
23429 olumn document
23430 \family default
23431  in the 
23432 \family sans
23433 \bar under
23434 D
23435 \bar default
23436 ocument\SpecialChar menuseparator
23437
23438 \bar under
23439 S
23440 \bar default
23441 ettings\SpecialChar menuseparator
23442 Text
23443 \begin_inset space ~
23444 \end_inset
23445
23446 Layout
23447 \family default
23448  dialog.
23449  If you want to have two columns for the whole document,
23450  you are recommended to use the 
23451 \family sans
23452 Two-
23453 \bar under
23454 c
23455 \bar default
23456 olumn document
23457 \family default
23458  option.
23459  For all other cases use this module.
23460 \change_deleted 564990737 1672236008
23461 Multiple Text Columns
23462 \end_layout
23463
23464 \begin_layout Standard
23465
23466 \change_deleted 564990737 1672236008
23467 This feature is independent of the option 
23468 \family sans
23469 Two-column document
23470 \family default
23471  in the document settings under 
23472 \family sans
23473 Text Layout
23474 \family default
23475 .
23476  If you want to have 2
23477 \begin_inset space ~
23478 \end_inset
23479
23480 columns for the whole document,
23481  it is recommended to use the 
23482 \family sans
23483 Two-column document
23484 \family default
23485  option.
23486  For all other cases use this feature.
23487 \end_layout
23488
23489 \begin_layout Standard
23490
23491 \change_deleted 564990737 1672236008
23492 To use multiple text columns in your document,
23493  you have to load the module 
23494 \family sans
23495 Multiple Columns
23496 \family default
23497  (menu 
23498 \family sans
23499 Document\SpecialChar menuseparator
23500 Settings\SpecialChar menuseparator
23501 Modules
23502 \family default
23503 ) and must have the \SpecialChar LaTeX
23504 -package 
23505 \begin_inset Flex Code
23506 status collapsed
23507
23508 \begin_layout Plain Layout
23509 multicol
23510 \end_layout
23511
23512 \end_inset
23513
23514  installed.
23515 \change_unchanged
23516
23517 \end_layout
23518
23519 \begin_layout Standard
23520 Footnotes within multiple columns will be placed at the bottom of the page and not under each column.
23521  Within the different columns you can use everything,
23522  with the limitation that for floats you need to 
23523 \change_deleted 564990737 1672236179
23524 use the float option 
23525 \family sans
23526 Span columns
23527 \change_inserted 564990737 1672236179
23528
23529 \family default
23530 check the option 
23531 \family sans
23532 \bar under
23533 S
23534 \bar default
23535 pan
23536 \begin_inset space ~
23537 \end_inset
23538
23539 columns
23540 \family default
23541  in 
23542 \family sans
23543 \bar under
23544 E
23545 \bar default
23546 dit\SpecialChar menuseparator
23547 Flo
23548 \bar under
23549 a
23550 \bar default
23551 t
23552 \begin_inset space ~
23553 \end_inset
23554
23555 Settings
23556 \change_unchanged
23557
23558 \family default
23559 .
23560 \end_layout
23561
23562 \begin_layout Subsubsection
23563 Basics
23564 \end_layout
23565
23566 \begin_layout Standard
23567 If you want to have 
23568 \change_deleted -712698321 1674912320
23569 2
23570 \change_inserted -712698321 1674912321
23571 two
23572 \change_deleted -712698321 1674912322
23573
23574 \begin_inset space ~
23575 \end_inset
23576
23577
23578 \change_inserted -712698321 1674912322
23579  
23580 \change_unchanged
23581 columns in your text,
23582  insert a multicolumn inset via the menu 
23583 \family sans
23584 Insert\SpecialChar menuseparator
23585 Custom
23586 \begin_inset space ~
23587 \end_inset
23588
23589 Insets\SpecialChar menuseparator
23590 Multiple
23591 \begin_inset space ~
23592 \end_inset
23593
23594 Columns
23595 \family default
23596  where the columns should start.
23597  Write all text that should be printed in 2
23598 \begin_inset space ~
23599 \end_inset
23600
23601 columns into this inset.
23602 \end_layout
23603
23604 \begin_layout Standard
23605 Here is an example:
23606 \end_layout
23607
23608 \begin_layout Standard
23609 \noindent
23610 \begin_inset Flex Multiple Columns
23611 status open
23612
23613 \begin_layout Plain Layout
23614 \noindent
23615
23616 \series bold
23617 \size small
23618 The Adventure of the Empty House
23619 \series default
23620
23621 \begin_inset Newline newline
23622 \end_inset
23623
23624 by 
23625 \noun on
23626 Sir Arthur Conan Doyle
23627 \end_layout
23628
23629 \begin_layout Plain Layout
23630
23631 \size small
23632 It was in the spring of the year 1894 that all London was interested,
23633  and the fashionable world dismayed,
23634  by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
23635  The public has already learned those particulars of the crime which came out in the police investigation,
23636  but a good deal was suppressed upon that occasion,
23637  since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
23638  Only now,
23639  at the end of nearly ten years,
23640  am I allowed to supply those missing links which make up the whole of that remarkable chain.
23641  The crime was of interest in itself,
23642  but that interest was as nothing to me compared to the inconceivable sequel,
23643  which afforded me the greatest shock and surprise of any event in my adventurous life.
23644  Even now,
23645  after this long interval,
23646  I find myself thrilling as I think of it,
23647  and feeling once more that sudden flood of joy,
23648  amazement,
23649  and incredulity which utterly submerged my mind.
23650  Let me say to that public,
23651  which has shown some interest in those glimpses which I have occasionally given them of the thoughts and actions of a very remarkable man,
23652  that they are not to blame me if I have not shared my knowledge with them,
23653  for I should have considered it my first duty to do so,
23654  had I not been barred by a positive prohibition from his own lips,
23655  which was only withdrawn upon the third of last month.
23656 \end_layout
23657
23658 \end_inset
23659
23660
23661 \end_layout
23662
23663 \begin_layout Standard
23664 To get 3 or more columns,
23665  set the cursor into the multicolumn inset and use the menu 
23666 \family sans
23667 Insert\SpecialChar menuseparator
23668 Number
23669 \begin_inset space ~
23670 \end_inset
23671
23672 of
23673 \begin_inset space ~
23674 \end_inset
23675
23676 Columns
23677 \family default
23678 .
23679  The number of the desired columns is written into that inset (for 3
23680 \begin_inset space ~
23681 \end_inset
23682
23683 columns write 
23684 \begin_inset Quotes eld
23685 \end_inset
23686
23687 3
23688 \begin_inset Quotes erd
23689 \end_inset
23690
23691 ).
23692 \begin_inset Newline newline
23693 \end_inset
23694
23695 Here is an example with 3
23696 \begin_inset space ~
23697 \end_inset
23698
23699 columns:
23700 \end_layout
23701
23702 \begin_layout Standard
23703 \begin_inset Flex Multiple Columns
23704 status open
23705
23706 \begin_layout Plain Layout
23707
23708 \size footnotesize
23709 \begin_inset Argument 1
23710 status open
23711
23712 \begin_layout Plain Layout
23713
23714 3
23715 \end_layout
23716
23717 \end_inset
23718
23719 It can be imagined that my close intimacy with Sherlock Holmes had interested me deeply in crime,
23720  and that after his disappearance I never failed to read with care the various problems which came before the public.
23721  And I even attempted,
23722  more than once,
23723  for my own private satisfaction,
23724  to employ his methods in their solution,
23725  though with indifferent success.
23726  There was none,
23727  however,
23728  which appealed to me like this tragedy of Ronald Adair.
23729  As I read the evidence at the inquest,
23730  which led up to a verdict of willful murder against some person or persons unknown,
23731  I realized more clearly than I had ever done the loss which the community had sustained by the death of Sherlock Holmes.
23732  There were points about this strange business which would,
23733  I was sure,
23734  have specially appealed to him,
23735  and the efforts of the police would have been supplemented,
23736  or more probably anticipated,
23737  by the trained observation and the alert mind of the first criminal agent in Europe.
23738  All day,
23739  as I drove upon my round,
23740  I turned over the case in my mind and found no explanation which appeared to me to be adequate.
23741  At the risk of telling a twice-told tale,
23742  I will recapitulate the facts as they were known to the public at the conclusion of the inquest.
23743 \end_layout
23744
23745 \end_inset
23746
23747
23748 \end_layout
23749
23750 \begin_layout Standard
23751 You can have up to 10
23752 \begin_inset space ~
23753 \end_inset
23754
23755 columns if you want to,
23756  but that might not be very pleasant for the readers of your document.
23757 \end_layout
23758
23759 \begin_layout Standard
23760
23761 \change_deleted 564990737 1672236245
23762 \begin_inset Newpage newpage
23763 \end_inset
23764
23765
23766 \change_unchanged
23767
23768 \end_layout
23769
23770 \begin_layout Subsubsection
23771 Columns inside Columns
23772 \end_layout
23773
23774 \begin_layout Standard
23775 You can also have columns inside columns:
23776 \end_layout
23777
23778 \begin_layout Standard
23779 \begin_inset Flex Multiple Columns
23780 status open
23781
23782 \begin_layout Plain Layout
23783
23784 \size footnotesize
23785 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
23786  at that time governor of one of the Australian colonies.
23787  Adair's mother had returned from Australia to undergo the operation for cataract,
23788  and she,
23789  her son Ronald,
23790  and her daughter Hilda were living together at 427 Park Lane.
23791 \end_layout
23792
23793 \begin_layout Plain Layout
23794 \begin_inset Flex Multiple Columns
23795 status open
23796
23797 \begin_layout Plain Layout
23798
23799 \size footnotesize
23800 The youth moved in the best society
23801 \begin_inset space ~
23802 \end_inset
23803
23804 – had,
23805  so far as was known,
23806  no enemies and no particular vices.
23807  He had been engaged to Miss Edith Woodley,
23808  of Carstairs,
23809  but the engagement had been broken off by mutual consent some months before,
23810  and there was no sign that it had left any very profound feeling behind it.
23811  For the rest {sic} the man's life moved in a narrow and conventional circle,
23812  for his habits were quiet and his nature unemotional.
23813  Yet it was upon this easy-going young aristocrat that death came,
23814  in most strange and unexpected form,
23815  between the hours of ten and eleven-twenty on the night of March 30,
23816  1894.
23817 \end_layout
23818
23819 \end_inset
23820
23821
23822 \end_layout
23823
23824 \begin_layout Plain Layout
23825
23826 \size footnotesize
23827 Ronald Adair was fond of cards
23828 \begin_inset space ~
23829 \end_inset
23830
23831 – playing continually,
23832  but never for such stakes as would hurt him.
23833  He was a member of the Baldwin,
23834  the Cavendish,
23835  and the Bagatelle card clubs.
23836  It was shown that,
23837  after dinner on the day of his death,
23838  he had played a rubber of whist at the latter club.
23839  He had also played there in the afternoon.
23840
23841 \size default
23842  
23843 \size footnotesize
23844 The evidence of those who had played with him
23845 \begin_inset space ~
23846 \end_inset
23847
23848 – Mr.
23849  Murray,
23850  Sir John Hardy,
23851  and Colonel Moran
23852 \begin_inset space ~
23853 \end_inset
23854
23855 – showed that the game was whist,
23856  and that there was a fairly equal fall of the cards.
23857  Adair might have lost five pounds,
23858  but not more.
23859  His fortune was a considerable one,
23860  and such a loss could not in any way affect him.
23861  He had played nearly every day at one club or other,
23862  but he was a cautious player,
23863  and usually rose a winner.
23864  It came out in evidence that,
23865  in partnership with Colonel Moran,
23866  he had actually won as much as four hundred and twenty pounds in a sitting,
23867  some weeks before,
23868  from Godfrey Milner and Lord Balmoral.
23869  So much for his recent history as it came out at the inquest.
23870 \end_layout
23871
23872 \end_inset
23873
23874
23875 \end_layout
23876
23877 \begin_layout Subsubsection
23878 Advanced Examples
23879 \end_layout
23880
23881 \begin_layout Standard
23882 The examples in this section show some more special features of multiple columns.
23883 \end_layout
23884
23885 \begin_layout Standard
23886 For more features of multiple columns,
23887  have a look at the 
23888 \begin_inset CommandInset href
23889 LatexCommand href
23890 name "documentation"
23891 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
23892 literal "false"
23893
23894 \end_inset
23895
23896  of the \SpecialChar LaTeX
23897 -package 
23898 \begin_inset Flex Code
23899 status collapsed
23900
23901 \begin_layout Plain Layout
23902 multicol
23903 \end_layout
23904
23905 \end_inset
23906
23907 .
23908 \end_layout
23909
23910 \begin_layout Paragraph
23911 Preface
23912 \end_layout
23913
23914 \begin_layout Standard
23915 To add a preface text for multiple columns,
23916  set the cursor into the multicolumn inset and use the menu 
23917 \family sans
23918 Insert\SpecialChar menuseparator
23919 Preface
23920 \family default
23921 .
23922  Write your preface text into that inset.
23923 \begin_inset Newline newline
23924 \end_inset
23925
23926 This is an example with some preface text:
23927 \end_layout
23928
23929 \begin_layout Standard
23930 \begin_inset VSpace bigskip
23931 \end_inset
23932
23933
23934 \end_layout
23935
23936 \begin_layout Standard
23937 \begin_inset Flex Multiple Columns
23938 status open
23939
23940 \begin_layout Plain Layout
23941 \begin_inset Argument 2
23942 status open
23943
23944 \begin_layout Plain Layout
23945 And the story continues and continues and continues and continues\SpecialChar ldots
23946
23947 \end_layout
23948
23949 \end_inset
23950
23951
23952 \size small
23953 On the evening of the crime,
23954  he returned from the club exactly at ten.
23955  His mother and sister were out spending the evening with a relation.
23956  The servant deposed that she heard him enter the front room on the second floor,
23957  generally used as his sitting-room.
23958  She had lit a fire there,
23959  and as it smoked she had opened the window.
23960  No sound was heard from the room until eleven-twenty,
23961  the hour of the return of Lady Maynooth and her daughter.
23962  Desiring to say good-night,
23963  she attempted to enter her son's room.
23964  The door was locked on the inside,
23965  and no answer could be got to their cries and knocking.
23966  Help was obtained,
23967  and the door forced.
23968  The unfortunate young man was found lying near the table.
23969  His head had been horribly mutilated by an expanding revolver bullet,
23970  but no weapon of any sort was to be found in the room.
23971 \end_layout
23972
23973 \end_inset
23974
23975
23976 \end_layout
23977
23978 \begin_layout Standard
23979 You can also use a section heading as the preface if you use a section command as \SpecialChar TeX
23980  Code.
23981  For example the command
23982 \end_layout
23983
23984 \begin_layout LyX-Code
23985
23986 \backslash
23987 subsection{subsection title}
23988 \end_layout
23989
23990 \begin_layout Standard
23991 creates a subsection.
23992  In this example the preface is a subsubsection:
23993 \end_layout
23994
23995 \begin_layout Standard
23996 \begin_inset Flex Multiple Columns
23997 status open
23998
23999 \begin_layout Plain Layout
24000 \begin_inset Argument 2
24001 status open
24002
24003 \begin_layout Plain Layout
24004 \begin_inset ERT
24005 status collapsed
24006
24007 \begin_layout Plain Layout
24008
24009
24010 \backslash
24011 subsubsection{
24012 \end_layout
24013
24014 \end_inset
24015
24016 This is a subsubsection heading as a preface
24017 \begin_inset ERT
24018 status collapsed
24019
24020 \begin_layout Plain Layout
24021
24022 }
24023 \end_layout
24024
24025 \end_inset
24026
24027
24028 \end_layout
24029
24030 \end_inset
24031
24032
24033 \size small
24034 A minute examination of the circumstances served only to make the case more complex.
24035  In the first place,
24036  no reason could be given why the young man should have fastened the door upon the inside.
24037  There was the possibility that the murderer had done this,
24038  and had afterwards escaped by the window.
24039  The drop was at least twenty feet,
24040  however,
24041  and a bed of crocuses in full bloom lay beneath.
24042  Neither the flowers nor the earth showed any sign of having been disturbed,
24043  nor were there any marks upon the narrow strip of grass which separated the house from the road.
24044  Apparently,
24045  therefore,
24046  it was the young man himself who had fastened the door.
24047  But how did he come by his death?
24048  No one could have climbed up to the window without leaving traces.
24049  Suppose a man had fired through the window,
24050  he would indeed be a remarkable shot who could with a revolver inflict so deadly a wound.
24051  Again,
24052  Park Lane is a frequented thoroughfare;
24053  there is a cab stand within a hundred yards of the house.
24054  No one had heard a shot.
24055 \end_layout
24056
24057 \end_inset
24058
24059
24060 \end_layout
24061
24062 \begin_layout Standard
24063 If there is less vertical space than 
24064 \change_deleted -712698321 1674913194
24065 6
24066 \begin_inset space ~
24067 \end_inset
24068
24069
24070 \change_inserted -712698321 1674913195
24071 six 
24072 \change_unchanged
24073 text lines is left on the page at the beginning of the multiple columns,
24074  a page break will be inserted before the multiple columns.
24075  Depending on the number of lines of the preface text,
24076  you might want to change this space.
24077  This is done by setting the cursor into the mulitcolumn inset behind the preface (if there is any) and using the menu 
24078 \family sans
24079 Insert\SpecialChar menuseparator
24080 Space
24081 \begin_inset space ~
24082 \end_inset
24083
24084 Before
24085 \begin_inset space ~
24086 \end_inset
24087
24088 Page
24089 \begin_inset space ~
24090 \end_inset
24091
24092 Break
24093 \family default
24094 .
24095  Insert into that inset the amount of space like e.
24096 \begin_inset space \thinspace{}
24097 \end_inset
24098
24099 g.
24100 \begin_inset space \space{}
24101 \end_inset
24102
24103
24104 \begin_inset Quotes eld
24105 \end_inset
24106
24107 5cm
24108 \begin_inset Quotes erd
24109 \end_inset
24110
24111 .
24112 \begin_inset Newline newline
24113 \end_inset
24114
24115 In this example the space is set to 7
24116 \begin_inset space ~
24117 \end_inset
24118
24119 text lines by using 
24120 \begin_inset Flex Code
24121 status collapsed
24122
24123 \begin_layout Plain Layout
24124 7
24125 \backslash
24126 baselineskip
24127 \end_layout
24128
24129 \end_inset
24130
24131  (where the command 
24132 \begin_inset Flex Code
24133 status collapsed
24134
24135 \begin_layout Plain Layout
24136
24137 \backslash
24138 baselineskip
24139 \end_layout
24140
24141 \end_inset
24142
24143  needs to be inserted as \SpecialChar TeX
24144  code):
24145 \end_layout
24146
24147 \begin_layout Standard
24148 \begin_inset Flex Multiple Columns
24149 status open
24150
24151 \begin_layout Plain Layout
24152 \begin_inset Argument 3
24153 status open
24154
24155 \begin_layout Plain Layout
24156 7
24157 \begin_inset ERT
24158 status collapsed
24159
24160 \begin_layout Plain Layout
24161
24162
24163 \backslash
24164 baselineskip
24165 \end_layout
24166
24167 \end_inset
24168
24169
24170 \end_layout
24171
24172 \end_inset
24173
24174
24175 \size small
24176 On the evening of the crime,
24177  he returned from the club exactly at ten.
24178  His mother and sister were out spending the evening with a relation.
24179  The servant deposed that she heard him enter the front room on the second floor,
24180  generally used as his sitting-room.
24181  She had lit a fire there,
24182  and as it smoked she had opened the window.
24183  No sound was heard from the room until eleven-twenty,
24184  the hour of the return of Lady Maynooth and her daughter.
24185  Desiring to say good-night,
24186  she attempted to enter her son's room.
24187  The door was locked on the inside,
24188  and no answer could be got to their cries and knocking.
24189  Help was obtained,
24190  and the door forced.
24191  The unfortunate young man was found lying near the table.
24192  His head had been horribly mutilated by an expanding revolver bullet,
24193  but no weapon of any sort was to be found in the room.
24194 \end_layout
24195
24196 \end_inset
24197
24198
24199 \end_layout
24200
24201 \begin_layout Paragraph
24202 Surrounding Space
24203 \end_layout
24204
24205 \begin_layout Standard
24206 The amount of space before and after multiple columns can be changed by changing the length 
24207 \begin_inset Flex Code
24208 status collapsed
24209
24210 \begin_layout Plain Layout
24211
24212 \backslash
24213 multicolsep
24214 \end_layout
24215
24216 \end_inset
24217
24218 .
24219  For example the command
24220 \end_layout
24221
24222 \begin_layout LyX-Code
24223
24224 \backslash
24225 setlength{
24226 \backslash
24227 multicolsep}{3cm}
24228 \end_layout
24229
24230 \begin_layout Standard
24231 in \SpecialChar TeX
24232  Code changes its value to 3
24233 \begin_inset space \thinspace{}
24234 \end_inset
24235
24236 cm.
24237  The change must be made before the multiple columns' start.
24238  The predefined value is 13
24239 \begin_inset space \thinspace{}
24240 \end_inset
24241
24242 pt.
24243 \end_layout
24244
24245 \begin_layout Standard
24246 For this example 
24247 \begin_inset Flex Code
24248 status collapsed
24249
24250 \begin_layout Plain Layout
24251
24252 \backslash
24253 multicolsep
24254 \end_layout
24255
24256 \end_inset
24257
24258  was set to 2.5
24259 \begin_inset space \thinspace{}
24260 \end_inset
24261
24262 cm:
24263 \end_layout
24264
24265 \begin_layout Standard
24266 \begin_inset ERT
24267 status open
24268
24269 \begin_layout Plain Layout
24270
24271
24272 \backslash
24273 setlength{
24274 \backslash
24275 multicolsep}{2.5cm}
24276 \end_layout
24277
24278 \end_inset
24279
24280
24281 \end_layout
24282
24283 \begin_layout Standard
24284 \begin_inset Flex Multiple Columns
24285 status open
24286
24287 \begin_layout Plain Layout
24288
24289 \size small
24290 All day I turned these facts over in my mind,
24291  endeavouring to hit upon some theory which could reconcile them all,
24292  and to find that line of least resistance which my poor friend had declared to be the starting-point of every investigation.
24293  I confess that I made little progress.
24294  In the evening I strolled across the Park,
24295  and found myself about six o'clock at the Oxford Street end of Park Lane.
24296  A group of loafers upon the pavements,
24297  all staring up at a particular window,
24298  directed me to the house which I had come to see.
24299  A tall,
24300  thin man with coloured glasses,
24301  whom I strongly suspected of being a plain-clothes detective,
24302  was pointing out some theory of his own,
24303  while the others crowded round to listen to what he said.
24304  I got as near him as I could,
24305  but his observations seemed to me to be absurd,
24306  so I withdrew again in some disgust.
24307  As I did so I struck against an elderly,
24308  deformed man,
24309  who had been behind me,
24310  and I knocked down several books which he was carrying.
24311 \end_layout
24312
24313 \end_inset
24314
24315
24316 \end_layout
24317
24318 \begin_layout Standard
24319 \begin_inset Note Greyedout
24320 status open
24321
24322 \begin_layout Plain Layout
24323
24324 \series bold
24325 Note:
24326
24327 \series default
24328  The values you set with 
24329 \begin_inset Flex Code
24330 status collapsed
24331
24332 \begin_layout Plain Layout
24333
24334 \backslash
24335 setlength
24336 \end_layout
24337
24338 \end_inset
24339
24340  will be used for all following multiple columns until you change them again.
24341 \end_layout
24342
24343 \end_inset
24344
24345
24346 \end_layout
24347
24348 \begin_layout Standard
24349 \begin_inset ERT
24350 status collapsed
24351
24352 \begin_layout Plain Layout
24353
24354
24355 \backslash
24356 setlength{
24357 \backslash
24358 multicolsep}{13pt}
24359 \end_layout
24360
24361 \end_inset
24362
24363
24364 \begin_inset Note Note
24365 status collapsed
24366
24367 \begin_layout Plain Layout
24368 go back to the default
24369 \end_layout
24370
24371 \end_inset
24372
24373
24374 \end_layout
24375
24376 \begin_layout Standard
24377
24378 \change_deleted 564990737 1672236355
24379 \begin_inset Newpage newpage
24380 \end_inset
24381
24382
24383 \change_unchanged
24384
24385 \end_layout
24386
24387 \begin_layout Paragraph
24388 Column Breaks
24389 \end_layout
24390
24391 \begin_layout Standard
24392 A column break can be forced by inserting the command 
24393 \begin_inset Flex Code
24394 status collapsed
24395
24396 \begin_layout Plain Layout
24397
24398 \backslash
24399 columnbreak{}
24400 \end_layout
24401
24402 \end_inset
24403
24404  as \SpecialChar TeX
24405  Code to that position in the text where the column should be broken.
24406  Note that this leads in most cases to whitespace in the text.
24407 \begin_inset Newline newline
24408 \end_inset
24409
24410 Here is an example:
24411 \end_layout
24412
24413 \begin_layout Standard
24414 \begin_inset Flex Multiple Columns
24415 status open
24416
24417 \begin_layout Plain Layout
24418
24419 \size small
24420 \begin_inset Quotes eld
24421 \end_inset
24422
24423 You're surprised to see me,
24424  sir,
24425 \begin_inset Quotes erd
24426 \end_inset
24427
24428  said he,
24429  in a strange,
24430  croaking voice.
24431 \end_layout
24432
24433 \begin_layout Plain Layout
24434
24435 \size small
24436 I acknowledged that I was.
24437 \end_layout
24438
24439 \begin_layout Plain Layout
24440
24441 \size small
24442 \begin_inset Quotes eld
24443 \end_inset
24444
24445 Well,
24446  I've a conscience,
24447  sir,
24448  and when I chanced to see you go into this house,
24449  as I came hobbling after you,
24450  I thought to myself,
24451  I'll just step in and see that kind gentleman,
24452  and tell him that if I was a bit gruff in my manner there was not any harm meant,
24453  and that I am much obliged to him for picking up my books.
24454 \begin_inset Quotes erd
24455 \end_inset
24456
24457
24458 \end_layout
24459
24460 \begin_layout Plain Layout
24461
24462 \size small
24463 \begin_inset Quotes eld
24464 \end_inset
24465
24466 You make too much of a trifle,
24467 \begin_inset Quotes erd
24468 \end_inset
24469
24470  said I.
24471  
24472 \begin_inset Quotes eld
24473 \end_inset
24474
24475 May I ask how you knew who I was?
24476 \begin_inset Quotes erd
24477 \end_inset
24478
24479  AFTER THIS SENTENCE THE COLUMN BREAK IS FORCED.
24480 \begin_inset ERT
24481 status collapsed
24482
24483 \begin_layout Plain Layout
24484
24485
24486 \backslash
24487 columnbreak{}
24488 \end_layout
24489
24490 \end_inset
24491
24492
24493 \end_layout
24494
24495 \begin_layout Plain Layout
24496
24497 \size small
24498 \begin_inset Quotes eld
24499 \end_inset
24500
24501 Well,
24502  sir,
24503  if it isn't too great a liberty,
24504  I am a neighbour of yours,
24505  for you'll find my little bookshop at the corner of Church Street,
24506  and very happy to see you,
24507  I am sure.
24508  Maybe you collect yourself,
24509  sir.
24510  Here's 
24511 \noun on
24512 British
24513 \begin_inset space ~
24514 \end_inset
24515
24516 Birds
24517 \noun default
24518 ,
24519  and 
24520 \noun on
24521 Catullus
24522 \noun default
24523 ,
24524  and 
24525 \noun on
24526 The Holy War
24527 \noun default
24528
24529 \begin_inset space ~
24530 \end_inset
24531
24532 – a bargain,
24533  every one of them.
24534  With five volumes you could just fill that gap on that second shelf.
24535  It looks untidy,
24536  does it not,
24537  sir?
24538 \begin_inset Quotes erd
24539 \end_inset
24540
24541
24542 \end_layout
24543
24544 \end_inset
24545
24546
24547 \end_layout
24548
24549 \begin_layout Paragraph
24550 Column Separation
24551 \end_layout
24552
24553 \begin_layout Standard
24554 The width of the columns is automatically calculated,
24555  but you can modify the space between the columns.
24556  This is done by changing the length 
24557 \begin_inset Flex Code
24558 status collapsed
24559
24560 \begin_layout Plain Layout
24561
24562 \backslash
24563 columnsep
24564 \end_layout
24565
24566 \end_inset
24567
24568 .
24569  Its predefined value is 10
24570 \begin_inset space \thinspace{}
24571 \end_inset
24572
24573 pt.
24574  Here is an example where 
24575 \begin_inset Flex Code
24576 status collapsed
24577
24578 \begin_layout Plain Layout
24579
24580 \backslash
24581 columnsep
24582 \end_layout
24583
24584 \end_inset
24585
24586  is set to 3
24587 \begin_inset space \thinspace{}
24588 \end_inset
24589
24590 cm:
24591 \end_layout
24592
24593 \begin_layout Standard
24594 \begin_inset ERT
24595 status open
24596
24597 \begin_layout Plain Layout
24598
24599
24600 \backslash
24601 setlength{
24602 \backslash
24603 columnsep}{3cm}
24604 \end_layout
24605
24606 \end_inset
24607
24608
24609 \end_layout
24610
24611 \begin_layout Standard
24612 \begin_inset Flex Multiple Columns
24613 status open
24614
24615 \begin_layout Plain Layout
24616
24617 \size small
24618 My observations of No.
24619 \begin_inset space \space{}
24620 \end_inset
24621
24622 427 Park Lane did little to clear up the problem in which I was interested.
24623  The house was separated from the street by a low wall and railing,
24624  the whole not more than five feet high.
24625  It was perfectly easy,
24626  therefore,
24627  for anyone to get into the garden,
24628  but the window was entirely inaccessible,
24629  since there was no water pipe or anything which could help the most active man to climb it.
24630  More puzzled than ever,
24631  I retraced my steps to Kensington.
24632  I had not been in my study five minutes when the maid entered to say that a person desired to see me.
24633  To my astonishment it was none other than my strange old book collector,
24634  his sharp,
24635  wizened face peering out from a frame of white hair,
24636  and his precious volumes,
24637  a dozen of them at least,
24638  wedged under his right arm.
24639 \end_layout
24640
24641 \end_inset
24642
24643
24644 \end_layout
24645
24646 \begin_layout Standard
24647 \begin_inset ERT
24648 status collapsed
24649
24650 \begin_layout Plain Layout
24651
24652
24653 \backslash
24654 setlength{
24655 \backslash
24656 columnsep}{10pt}
24657 \end_layout
24658
24659 \end_inset
24660
24661
24662 \begin_inset Note Note
24663 status collapsed
24664
24665 \begin_layout Plain Layout
24666 go back to the default
24667 \end_layout
24668
24669 \end_inset
24670
24671
24672 \end_layout
24673
24674 \begin_layout Paragraph
24675 Vertical Lines
24676 \end_layout
24677
24678 \begin_layout Standard
24679 Between the columns a rule with a width of the length 
24680 \begin_inset Flex Code
24681 status collapsed
24682
24683 \begin_layout Plain Layout
24684
24685 \backslash
24686 columnseprule
24687 \end_layout
24688
24689 \end_inset
24690
24691  is placed.
24692  If this rule width is set to 0
24693 \begin_inset space \thinspace{}
24694 \end_inset
24695
24696 pt (this is the default),
24697  the rule is suppressed.
24698  In the following example the rule is 2
24699 \begin_inset space \thinspace{}
24700 \end_inset
24701
24702 pt wide:
24703 \end_layout
24704
24705 \begin_layout Standard
24706 \begin_inset ERT
24707 status open
24708
24709 \begin_layout Plain Layout
24710
24711
24712 \backslash
24713 setlength{
24714 \backslash
24715 columnseprule}{2pt}
24716 \end_layout
24717
24718 \end_inset
24719
24720
24721 \end_layout
24722
24723 \begin_layout Standard
24724 \begin_inset Flex Multiple Columns
24725 status open
24726
24727 \begin_layout Plain Layout
24728
24729 \size small
24730 \begin_inset Quotes eld
24731 \end_inset
24732
24733 You're surprised to see me,
24734  sir,
24735 \begin_inset Quotes erd
24736 \end_inset
24737
24738  said he,
24739  in a strange,
24740  croaking voice.
24741 \end_layout
24742
24743 \begin_layout Plain Layout
24744
24745 \size small
24746 I acknowledged that I was.
24747 \end_layout
24748
24749 \begin_layout Plain Layout
24750
24751 \size small
24752 \begin_inset Quotes eld
24753 \end_inset
24754
24755 Well,
24756  I've a conscience,
24757  sir,
24758  and when I chanced to see you go into this house,
24759  as I came hobbling after you,
24760  I thought to myself,
24761  I'll just step in and see that kind gentleman,
24762  and tell him that if I was a bit gruff in my manner there was not any harm meant,
24763  and that I am much obliged to him for picking up my books.
24764 \begin_inset Quotes erd
24765 \end_inset
24766
24767
24768 \end_layout
24769
24770 \begin_layout Plain Layout
24771
24772 \size small
24773 \begin_inset Quotes eld
24774 \end_inset
24775
24776 You make too much of a trifle,
24777 \begin_inset Quotes erd
24778 \end_inset
24779
24780  said I.
24781  
24782 \begin_inset Quotes eld
24783 \end_inset
24784
24785 May I ask how you knew who I was?
24786 \begin_inset Quotes erd
24787 \end_inset
24788
24789
24790 \end_layout
24791
24792 \begin_layout Plain Layout
24793
24794 \size small
24795 \begin_inset Quotes eld
24796 \end_inset
24797
24798 Well,
24799  sir,
24800  if it isn't too great a liberty,
24801  I am a neighbour of yours,
24802  for you'll find my little bookshop at the corner of Church Street,
24803  and very happy to see you,
24804  I am sure.
24805  Maybe you collect yourself,
24806  sir.
24807  Here's 
24808 \noun on
24809 British
24810 \begin_inset space ~
24811 \end_inset
24812
24813 Birds
24814 \noun default
24815 ,
24816  and 
24817 \noun on
24818 Catullus
24819 \noun default
24820 ,
24821  and 
24822 \noun on
24823 The Holy War
24824 \noun default
24825
24826 \begin_inset space ~
24827 \end_inset
24828
24829 – a bargain,
24830  every one of them.
24831  With five volumes you could just fill that gap on that second shelf.
24832  It looks untidy,
24833  does it not,
24834  sir?
24835 \begin_inset Quotes erd
24836 \end_inset
24837
24838
24839 \end_layout
24840
24841 \end_inset
24842
24843
24844 \end_layout
24845
24846 \begin_layout Standard
24847 \begin_inset VSpace defskip
24848 \end_inset
24849
24850
24851 \end_layout
24852
24853 \begin_layout Standard
24854 The rule can be colored by redefining the command 
24855 \begin_inset Flex Code
24856 status collapsed
24857
24858 \begin_layout Plain Layout
24859
24860 \backslash
24861 columnseprulecolor
24862 \end_layout
24863
24864 \end_inset
24865
24866 .
24867  This is done by inserting the command
24868 \end_layout
24869
24870 \begin_layout LyX-Code
24871
24872 \backslash
24873 renewcommand{
24874 \backslash
24875 columnseprulecolor}{
24876 \backslash
24877 color{red}}
24878 \end_layout
24879
24880 \begin_layout Standard
24881 as \SpecialChar TeX
24882  Code before the multicolumn inset.
24883  Replace 
24884 \begin_inset Flex Code
24885 status collapsed
24886
24887 \begin_layout Plain Layout
24888 red
24889 \end_layout
24890
24891 \end_inset
24892
24893  in this command by a color of your choice.
24894  You can use all pre- and self-defined colors.
24895  See the 
24896 \emph on
24897 EmbeddedObjects
24898 \emph default
24899  manual,
24900  section 
24901 \emph on
24902 Colored
24903 \begin_inset space ~
24904 \end_inset
24905
24906 Tables
24907 \emph default
24908  for more information about pre- and self-defined colors.
24909  To go back to the default color insert the command
24910 \end_layout
24911
24912 \begin_layout LyX-Code
24913
24914 \backslash
24915 renewcommand{
24916 \backslash
24917 columnseprulecolor}{
24918 \backslash
24919 normalcolor}
24920 \end_layout
24921
24922 \begin_layout Standard
24923 Here is the example with a cyan rule and 1
24924 \begin_inset space \thinspace{}
24925 \end_inset
24926
24927 cm column separation:
24928 \end_layout
24929
24930 \begin_layout Standard
24931 \begin_inset ERT
24932 status open
24933
24934 \begin_layout Plain Layout
24935
24936
24937 \backslash
24938 setlength{
24939 \backslash
24940 columnsep}{1cm}
24941 \end_layout
24942
24943 \begin_layout Plain Layout
24944
24945
24946 \backslash
24947 renewcommand{
24948 \backslash
24949 columnseprulecolor}{
24950 \backslash
24951 color{cyan}}
24952 \end_layout
24953
24954 \end_inset
24955
24956
24957 \end_layout
24958
24959 \begin_layout Standard
24960 \begin_inset Flex Multiple Columns
24961 status open
24962
24963 \begin_layout Plain Layout
24964
24965 \size small
24966 \begin_inset Quotes eld
24967 \end_inset
24968
24969 You're surprised to see me,
24970  sir,
24971 \begin_inset Quotes erd
24972 \end_inset
24973
24974  said he,
24975  in a strange,
24976  croaking voice.
24977 \end_layout
24978
24979 \begin_layout Plain Layout
24980
24981 \size small
24982 I acknowledged that I was.
24983 \end_layout
24984
24985 \begin_layout Plain Layout
24986
24987 \size small
24988 \begin_inset Quotes eld
24989 \end_inset
24990
24991 Well,
24992  I've a conscience,
24993  sir,
24994  and when I chanced to see you go into this house,
24995  as I came hobbling after you,
24996  I thought to myself,
24997  I'll just step in and see that kind gentleman,
24998  and tell him that if I was a bit gruff in my manner there was not any harm meant,
24999  and that I am much obliged to him for picking up my books.
25000 \begin_inset Quotes erd
25001 \end_inset
25002
25003
25004 \end_layout
25005
25006 \begin_layout Plain Layout
25007
25008 \size small
25009 \begin_inset Quotes eld
25010 \end_inset
25011
25012 You make too much of a trifle,
25013 \begin_inset Quotes erd
25014 \end_inset
25015
25016  said I.
25017  
25018 \begin_inset Quotes eld
25019 \end_inset
25020
25021 May I ask how you knew who I was?
25022 \begin_inset Quotes erd
25023 \end_inset
25024
25025
25026 \end_layout
25027
25028 \begin_layout Plain Layout
25029
25030 \size small
25031 \begin_inset Quotes eld
25032 \end_inset
25033
25034 Well,
25035  sir,
25036  if it isn't too great a liberty,
25037  I am a neighbour of yours,
25038  for you'll find my little bookshop at the corner of Church Street,
25039  and very happy to see you,
25040  I am sure.
25041  Maybe you collect yourself,
25042  sir.
25043  Here's 
25044 \noun on
25045 British
25046 \begin_inset space ~
25047 \end_inset
25048
25049 Birds
25050 \noun default
25051 ,
25052  and 
25053 \noun on
25054 Catullus
25055 \noun default
25056 ,
25057  and 
25058 \noun on
25059 The Holy War
25060 \noun default
25061
25062 \begin_inset space ~
25063 \end_inset
25064
25065 – a bargain,
25066  every one of them.
25067  With five volumes you could just fill that gap on that second shelf.
25068  It looks untidy,
25069  does it not,
25070  sir?
25071 \begin_inset Quotes erd
25072 \end_inset
25073
25074
25075 \end_layout
25076
25077 \end_inset
25078
25079
25080 \end_layout
25081
25082 \begin_layout Standard
25083 \begin_inset ERT
25084 status collapsed
25085
25086 \begin_layout Plain Layout
25087
25088
25089 \backslash
25090 setlength{
25091 \backslash
25092 columnseprule}{0pt}
25093 \end_layout
25094
25095 \begin_layout Plain Layout
25096
25097
25098 \backslash
25099 renewcommand{
25100 \backslash
25101 columnseprulecolor}{
25102 \backslash
25103 normalcolor}
25104 \end_layout
25105
25106 \end_inset
25107
25108
25109 \begin_inset Note Note
25110 status collapsed
25111
25112 \begin_layout Plain Layout
25113 go back to the default
25114 \end_layout
25115
25116 \end_inset
25117
25118
25119 \end_layout
25120
25121 \begin_layout Section
25122
25123 \change_inserted 564990737 1671270380
25124 Paragraph Styles
25125 \end_layout
25126
25127 \begin_layout Subsection
25128
25129 \change_inserted 564990737 1671270398
25130 Custom
25131 \change_deleted 564990737 1671270396
25132 Non-standard
25133 \change_unchanged
25134  Paragraph Shapes
25135 \end_layout
25136
25137 \begin_layout Standard
25138 \noindent
25139 \SpecialChar LaTeX
25140  as well as any other text processor uses by default rectangular paragraphs.
25141  For special cases like for example posters,
25142  invitation cards or poems you can modify the paragraph shape to one of your choice.
25143  
25144 \change_deleted 564990737 1672311802
25145 This can be done by using the \SpecialChar LaTeX
25146 -package 
25147 \begin_inset Flex Code
25148 status collapsed
25149
25150 \begin_layout Plain Layout
25151 shapepar
25152 \end_layout
25153
25154 \end_inset
25155
25156  which is loaded by using in the document settings the module 
25157 \family sans
25158 Custom paragraph shapes
25159 \family default
25160 .
25161 \change_inserted 564990737 1672311802
25162 This module uses the 
25163 \family sans
25164 shapepar
25165 \family default
25166  package to provide over a dozen paragraph shapes as well as commands to define custom shapes.
25167  
25168 \change_unchanged
25169
25170 \end_layout
25171
25172 \begin_layout Subsubsection
25173 Predefined shapes
25174 \end_layout
25175
25176 \begin_layout Standard
25177
25178 \change_inserted -712698321 1674913874
25179
25180 \series bold
25181 The 
25182 \change_unchanged
25183
25184 \family sans
25185 \series default
25186 shapepar
25187 \family default
25188  
25189 \change_inserted -712698321 1674913877
25190 package 
25191 \change_unchanged
25192 provides the following shapes:
25193 \end_layout
25194
25195 \begin_layout Standard
25196 \begin_inset Tabular
25197 <lyxtabular version="3" rows="13" columns="3">
25198 <features booktabs="true" islongtable="true" longtabularalignment="center">
25199 <column alignment="left" valignment="middle" width="16col%">
25200 <column alignment="left" valignment="middle" width="40col%">
25201 <column alignment="left" valignment="middle" width="35col%">
25202 <row endhead="true">
25203 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25204 \begin_inset Text
25205
25206 \begin_layout Plain Layout
25207
25208 \series bold
25209 \size small
25210 Name
25211 \end_layout
25212
25213 \end_inset
25214 </cell>
25215 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25216 \begin_inset Text
25217
25218 \begin_layout Plain Layout
25219
25220 \series bold
25221 \size small
25222 Description
25223 \end_layout
25224
25225 \end_inset
25226 </cell>
25227 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25228 \begin_inset Text
25229
25230 \begin_layout Plain Layout
25231
25232 \series bold
25233 \size small
25234 Annotation
25235 \end_layout
25236
25237 \end_inset
25238 </cell>
25239 </row>
25240 <row interlinespace="default">
25241 <cell alignment="left" valignment="top" usebox="none">
25242 \begin_inset Text
25243
25244 \begin_layout Plain Layout
25245
25246 \size small
25247 CDlabel
25248 \end_layout
25249
25250 \end_inset
25251 </cell>
25252 <cell alignment="left" valignment="top" usebox="none">
25253 \begin_inset Text
25254
25255 \begin_layout Plain Layout
25256
25257 \size small
25258 Circle with circular hole (in the size of a CD/DVD)
25259 \end_layout
25260
25261 \end_inset
25262 </cell>
25263 <cell alignment="left" valignment="top" usebox="none">
25264 \begin_inset Text
25265
25266 \begin_layout Plain Layout
25267
25268 \size small
25269 Cannot be scaled,
25270  take care there is not too much text
25271 \end_layout
25272
25273 \end_inset
25274 </cell>
25275 </row>
25276 <row interlinespace="default">
25277 <cell alignment="left" valignment="top" usebox="none">
25278 \begin_inset Text
25279
25280 \begin_layout Plain Layout
25281
25282 \size small
25283 Circle
25284 \end_layout
25285
25286 \end_inset
25287 </cell>
25288 <cell alignment="left" valignment="top" usebox="none">
25289 \begin_inset Text
25290
25291 \begin_layout Plain Layout
25292
25293 \size small
25294 Circle
25295 \end_layout
25296
25297 \end_inset
25298 </cell>
25299 <cell alignment="left" valignment="top" usebox="none">
25300 \begin_inset Text
25301
25302 \begin_layout Plain Layout
25303
25304 \size small
25305 Fragile,
25306  calculation might fail
25307 \end_layout
25308
25309 \end_inset
25310 </cell>
25311 </row>
25312 <row interlinespace="default">
25313 <cell alignment="left" valignment="top" usebox="none">
25314 \begin_inset Text
25315
25316 \begin_layout Plain Layout
25317
25318 \size small
25319 Diamond
25320 \end_layout
25321
25322 \end_inset
25323 </cell>
25324 <cell alignment="left" valignment="top" usebox="none">
25325 \begin_inset Text
25326
25327 \begin_layout Plain Layout
25328
25329 \size small
25330 Rhomboid (symbolizing a 
25331 \begin_inset Quotes eld
25332 \end_inset
25333
25334 diamond
25335 \begin_inset Quotes erd
25336 \end_inset
25337
25338 )
25339 \end_layout
25340
25341 \end_inset
25342 </cell>
25343 <cell alignment="left" valignment="top" usebox="none">
25344 \begin_inset Text
25345
25346 \begin_layout Plain Layout
25347
25348 \size small
25349 -
25350 \end_layout
25351
25352 \end_inset
25353 </cell>
25354 </row>
25355 <row interlinespace="default">
25356 <cell alignment="left" valignment="top" usebox="none">
25357 \begin_inset Text
25358
25359 \begin_layout Plain Layout
25360
25361 \size small
25362 Heart
25363 \end_layout
25364
25365 \end_inset
25366 </cell>
25367 <cell alignment="left" valignment="top" usebox="none">
25368 \begin_inset Text
25369
25370 \begin_layout Plain Layout
25371
25372 \size small
25373 Heart-like shape
25374 \end_layout
25375
25376 \end_inset
25377 </cell>
25378 <cell alignment="left" valignment="top" usebox="none">
25379 \begin_inset Text
25380
25381 \begin_layout Plain Layout
25382
25383 \size small
25384 -
25385 \end_layout
25386
25387 \end_inset
25388 </cell>
25389 </row>
25390 <row interlinespace="default">
25391 <cell alignment="left" valignment="top" usebox="none">
25392 \begin_inset Text
25393
25394 \begin_layout Plain Layout
25395
25396 \size small
25397 Hexagon
25398 \end_layout
25399
25400 \end_inset
25401 </cell>
25402 <cell alignment="left" valignment="top" usebox="none">
25403 \begin_inset Text
25404
25405 \begin_layout Plain Layout
25406
25407 \size small
25408 Hexagon
25409 \end_layout
25410
25411 \end_inset
25412 </cell>
25413 <cell alignment="left" valignment="top" usebox="none">
25414 \begin_inset Text
25415
25416 \begin_layout Plain Layout
25417
25418 \size small
25419 -
25420 \end_layout
25421
25422 \end_inset
25423 </cell>
25424 </row>
25425 <row interlinespace="default">
25426 <cell alignment="left" valignment="top" usebox="none">
25427 \begin_inset Text
25428
25429 \begin_layout Plain Layout
25430
25431 \size small
25432 Nut
25433 \end_layout
25434
25435 \end_inset
25436 </cell>
25437 <cell alignment="left" valignment="top" usebox="none">
25438 \begin_inset Text
25439
25440 \begin_layout Plain Layout
25441
25442 \size small
25443 Nut for bolt (hexagon with circular hole)
25444 \end_layout
25445
25446 \end_inset
25447 </cell>
25448 <cell alignment="left" valignment="top" usebox="none">
25449 \begin_inset Text
25450
25451 \begin_layout Plain Layout
25452
25453 \size small
25454 -
25455 \end_layout
25456
25457 \end_inset
25458 </cell>
25459 </row>
25460 <row interlinespace="default">
25461 <cell alignment="left" valignment="top" usebox="none">
25462 \begin_inset Text
25463
25464 \begin_layout Plain Layout
25465
25466 \size small
25467 Square
25468 \end_layout
25469
25470 \end_inset
25471 </cell>
25472 <cell alignment="left" valignment="top" usebox="none">
25473 \begin_inset Text
25474
25475 \begin_layout Plain Layout
25476
25477 \size small
25478 Square
25479 \end_layout
25480
25481 \end_inset
25482 </cell>
25483 <cell alignment="left" valignment="top" usebox="none">
25484 \begin_inset Text
25485
25486 \begin_layout Plain Layout
25487
25488 \size small
25489 -
25490 \end_layout
25491
25492 \end_inset
25493 </cell>
25494 </row>
25495 <row interlinespace="default">
25496 <cell alignment="left" valignment="top" usebox="none">
25497 \begin_inset Text
25498
25499 \begin_layout Plain Layout
25500
25501 \size small
25502 Star
25503 \end_layout
25504
25505 \end_inset
25506 </cell>
25507 <cell alignment="left" valignment="top" usebox="none">
25508 \begin_inset Text
25509
25510 \begin_layout Plain Layout
25511
25512 \size small
25513 Five-point star
25514 \end_layout
25515
25516 \end_inset
25517 </cell>
25518 <cell alignment="left" valignment="top" usebox="none">
25519 \begin_inset Text
25520
25521 \begin_layout Plain Layout
25522
25523 \size small
25524 -
25525 \end_layout
25526
25527 \end_inset
25528 </cell>
25529 </row>
25530 <row interlinespace="default">
25531 <cell alignment="left" valignment="top" usebox="none">
25532 \begin_inset Text
25533
25534 \begin_layout Plain Layout
25535
25536 \size small
25537 Candle
25538 \end_layout
25539
25540 \end_inset
25541 </cell>
25542 <cell alignment="left" valignment="top" usebox="none">
25543 \begin_inset Text
25544
25545 \begin_layout Plain Layout
25546
25547 \size small
25548 Burning candle
25549 \end_layout
25550
25551 \end_inset
25552 </cell>
25553 <cell alignment="left" valignment="top" usebox="none">
25554 \begin_inset Text
25555
25556 \begin_layout Plain Layout
25557
25558 \size small
25559 -
25560 \end_layout
25561
25562 \end_inset
25563 </cell>
25564 </row>
25565 <row interlinespace="default">
25566 <cell alignment="left" valignment="top" usebox="none">
25567 \begin_inset Text
25568
25569 \begin_layout Plain Layout
25570
25571 \size small
25572 Drop down/up
25573 \end_layout
25574
25575 \end_inset
25576 </cell>
25577 <cell alignment="left" valignment="top" usebox="none">
25578 \begin_inset Text
25579
25580 \begin_layout Plain Layout
25581
25582 \size small
25583 Normal/reversed rain drop
25584 \end_layout
25585
25586 \end_inset
25587 </cell>
25588 <cell alignment="left" valignment="top" usebox="none">
25589 \begin_inset Text
25590
25591 \begin_layout Plain Layout
25592
25593 \size small
25594 Fragile,
25595  calculation might fail
25596 \end_layout
25597
25598 \end_inset
25599 </cell>
25600 </row>
25601 <row interlinespace="default">
25602 <cell alignment="left" valignment="top" usebox="none">
25603 \begin_inset Text
25604
25605 \begin_layout Plain Layout
25606
25607 \size small
25608 \SpecialChar TeX
25609
25610 \end_layout
25611
25612 \end_inset
25613 </cell>
25614 <cell alignment="left" valignment="top" usebox="none">
25615 \begin_inset Text
25616
25617 \begin_layout Plain Layout
25618
25619 \size small
25620 The \SpecialChar TeX
25621  logo
25622 \end_layout
25623
25624 \end_inset
25625 </cell>
25626 <cell alignment="left" valignment="top" usebox="none">
25627 \begin_inset Text
25628
25629 \begin_layout Plain Layout
25630
25631 \size small
25632 -
25633 \end_layout
25634
25635 \end_inset
25636 </cell>
25637 </row>
25638 <row interlinespace="default">
25639 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25640 \begin_inset Text
25641
25642 \begin_layout Plain Layout
25643
25644 \size small
25645 Triangle up/down/
25646 \begin_inset Newline newline
25647 \end_inset
25648
25649 left/right
25650 \end_layout
25651
25652 \end_inset
25653 </cell>
25654 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25655 \begin_inset Text
25656
25657 \begin_layout Plain Layout
25658
25659 \size small
25660 Triangles in different orientations
25661 \end_layout
25662
25663 \end_inset
25664 </cell>
25665 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25666 \begin_inset Text
25667
25668 \begin_layout Plain Layout
25669
25670 \size small
25671 -
25672 \end_layout
25673
25674 \end_inset
25675 </cell>
25676 </row>
25677 </lyxtabular>
25678
25679 \end_inset
25680
25681
25682 \end_layout
25683
25684 \begin_layout Standard
25685 To use a shape for your paragraph,
25686  simply select it in \SpecialChar LyX
25687 's pull-down box for environments in the toolbar.
25688 \end_layout
25689
25690 \begin_layout Standard
25691 \begin_inset Newpage newpage
25692 \end_inset
25693
25694
25695 \end_layout
25696
25697 \begin_layout Standard
25698 Here is an example paragraph in the shape of a nut:
25699 \end_layout
25700
25701 \begin_layout Standard
25702 \begin_inset VSpace bigskip
25703 \end_inset
25704
25705
25706 \end_layout
25707
25708 \begin_layout Nut
25709
25710 \lang latin
25711 Lorem ipsum dolor sit amet,
25712  consetetur sadipscing elitr,
25713  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25714  sed diam voluptua.
25715  At vero eos et accusam et justo duo dolores et ea rebum.
25716  Stet clita kasd gubergren,
25717  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25718  Lorem ipsum dolor sit amet,
25719  consetetur sadipscing elitr,
25720  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25721  sed diam voluptua.
25722 \end_layout
25723
25724 \begin_layout Standard
25725 \begin_inset VSpace bigskip
25726 \end_inset
25727
25728
25729 \end_layout
25730
25731 \begin_layout Standard
25732 \begin_inset Note Greyedout
25733 status open
25734
25735 \begin_layout Plain Layout
25736
25737 \series bold
25738 Note
25739 \series default
25740 :
25741  
25742 \family sans
25743 shapepar
25744 \family default
25745  paragraphs cannot run over a page break.
25746 \end_layout
25747
25748 \end_inset
25749
25750
25751 \end_layout
25752
25753 \begin_layout Standard
25754 \begin_inset VSpace bigskip
25755 \end_inset
25756
25757
25758 \end_layout
25759
25760 \begin_layout Standard
25761 The package 
25762 \begin_inset Flex Code
25763 status collapsed
25764
25765 \begin_layout Plain Layout
25766 shapepar
25767 \end_layout
25768
25769 \end_inset
25770
25771  takes care that the shape will always be preserved,
25772  no matter how much text is in the paragraph.
25773  Therefore the paragraph size changes with the amount of contained text.
25774  This can lead to paragraph sizes exceeding the page margins.
25775  To demonstrate the size scaling,
25776  here is the same example paragraph but with twice as much text:
25777 \end_layout
25778
25779 \begin_layout Standard
25780 \begin_inset Newpage newpage
25781 \end_inset
25782
25783
25784 \end_layout
25785
25786 \begin_layout Nut
25787
25788 \lang latin
25789 Lorem ipsum dolor sit amet,
25790  consetetur sadipscing elitr,
25791  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25792  sed diam voluptua.
25793  At vero eos et accusam et justo duo dolores et ea rebum.
25794  Stet clita kasd gubergren,
25795  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25796  Lorem ipsum dolor sit amet,
25797  consetetur sadipscing elitr,
25798  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25799  sed diam voluptua.
25800  Lorem ipsum dolor sit amet,
25801  consetetur sadipscing elitr,
25802  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25803  sed diam voluptua.
25804  At vero eos et accusam et justo duo dolores et ea rebum.
25805  Stet clita kasd gubergren,
25806  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25807  Lorem ipsum dolor sit amet,
25808  consetetur sadipscing elitr,
25809  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25810  sed diam voluptua.
25811 \end_layout
25812
25813 \begin_layout Standard
25814 \begin_inset VSpace bigskip
25815 \end_inset
25816
25817
25818 \end_layout
25819
25820 \begin_layout Standard
25821 An exception is the shape 
25822 \family sans
25823 CDlabel
25824 \family default
25825 .
25826  It cannot be scaled because it must fit the size of a CD/DVD.
25827  Therefore the amount of text that fits into the shape is limited.
25828 \change_deleted -712698321 1674914001
25829
25830 \begin_inset Newline newline
25831 \end_inset
25832
25833
25834 \change_inserted -712698321 1674914001
25835
25836 \end_layout
25837
25838 \begin_layout Standard
25839 The 
25840 \family sans
25841 drop
25842 \family default
25843  shapes and the 
25844 \family sans
25845 circle
25846 \family default
25847  shape are fragile,
25848  meaning that the calculation of their size can fail,
25849  depending on the amount of text.
25850  You will then get the \SpecialChar LaTeX
25851  error 
25852 \begin_inset Quotes eld
25853 \end_inset
25854
25855 Arithmetic overflow
25856 \begin_inset Quotes erd
25857 \end_inset
25858
25859 .
25860  In this case one can try to remove or add some text;
25861  if nothing works one has to use another shape.
25862 \end_layout
25863
25864 \begin_layout Standard
25865
25866 \change_deleted -712698321 1674914021
25867 \begin_inset VSpace bigskip
25868 \end_inset
25869
25870
25871 \change_unchanged
25872
25873 \end_layout
25874
25875 \begin_layout Standard
25876 For shapes with tips you will maybe see that \SpecialChar LaTeX
25877 's hyphenation routine fails for text in the tips.
25878  Therefore it is often necessary to add hyphenation points 
25879 \family sans
25880 (
25881 \begin_inset Info
25882 type  "shortcut"
25883 arg   "specialchar-insert hyphenation"
25884 \end_inset
25885
25886
25887 \family default
25888 ) to the corresponding text parts.
25889 \end_layout
25890
25891 \begin_layout Standard
25892
25893 \change_deleted -712698321 1674914022
25894 \begin_inset VSpace bigskip
25895 \end_inset
25896
25897
25898 \change_unchanged
25899
25900 \end_layout
25901
25902 \begin_layout Standard
25903 Shapepar paragraphs are either always centered or placed on the page so that their left border touches the left page margin.
25904  You can therefore not use the paragraph dialog to align such paragraphs.
25905  A solution is to put the paragraph into a minipage or parbox and align the box.
25906  The problem is hereby to find the right width for the box.
25907  Because if it is too wide and you center the box,
25908  the paragraph is not centered too because it sticks at the left side of the box.
25909  So you might have to play a bit with the width until it fits.
25910  Here are two heart-shaped paragraphs,
25911  the first one is not aligned,
25912  the second one is right-aligned:
25913 \end_layout
25914
25915 \begin_layout Standard
25916 \begin_inset Newpage newpage
25917 \end_inset
25918
25919
25920 \end_layout
25921
25922 \begin_layout Heart
25923 \noindent
25924
25925 \lang latin
25926 Lo\SpecialChar softhyphen
25927 rem ipsum dolor sit amet,
25928  consetetur sadipscing elitr,
25929  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25930  sed diam voluptua.
25931  At vero eos et accusam et justo duo dolores et ea rebum.
25932  Stet clita kasd gubergren,
25933  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25934 \end_layout
25935
25936 \begin_layout Standard
25937 \begin_inset VSpace bigskip
25938 \end_inset
25939
25940
25941 \end_layout
25942
25943 \begin_layout Standard
25944 \noindent
25945 \align right
25946 \begin_inset Box Frameless
25947 position "t"
25948 hor_pos "c"
25949 has_inner_box 1
25950 inner_pos "t"
25951 use_parbox 1
25952 use_makebox 0
25953 width "42col%"
25954 special "none"
25955 height "1in"
25956 height_special "totalheight"
25957 thickness "0.4pt"
25958 separation "3pt"
25959 shadowsize "4pt"
25960 framecolor "black"
25961 backgroundcolor "none"
25962 status open
25963
25964 \begin_layout Heart
25965 \noindent
25966
25967 \lang latin
25968 Lo\SpecialChar softhyphen
25969 rem ipsum dolor sit amet,
25970  consetetur sadipscing elitr,
25971  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25972  sed diam voluptua.
25973  At vero eos et accusam et justo duo dolores et ea rebum.
25974  Stet clita kasd gubergren,
25975  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25976 \end_layout
25977
25978 \end_inset
25979
25980
25981 \end_layout
25982
25983 \begin_layout Subsubsection
25984 Custom shapes
25985 \end_layout
25986
25987 \begin_layout Standard
25988 You can define any shape you want.
25989  Doing this manually is a lot of work because every coordinate must be specified.
25990  But there is a way to let the computer calculate the coordinates:
25991 \end_layout
25992
25993 \begin_layout Enumerate
25994 Install the program 
25995 \begin_inset CommandInset href
25996 LatexCommand href
25997 name "Jpgfdraw"
25998 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
25999 literal "false"
26000
26001 \end_inset
26002
26003 .
26004 \end_layout
26005
26006 \begin_layout Enumerate
26007 In 
26008 \family sans
26009 Jpgfdraw
26010 \family default
26011  go to the menu 
26012 \family sans
26013 TeX/LaTeX\SpecialChar menuseparator
26014 Settings\SpecialChar menuseparator
26015 Set Normal Size
26016 \family default
26017  and select the font size you are using in your document.
26018  For example this document uses the size 12
26019 \begin_inset space \thinspace{}
26020 \end_inset
26021
26022 pt.
26023 \end_layout
26024
26025 \begin_layout Enumerate
26026 Draw a shape.
26027 \end_layout
26028
26029 \begin_layout Enumerate
26030 Use the menu 
26031 \family sans
26032 TeX/LaTeX\SpecialChar menuseparator
26033 Shapepar
26034 \family default
26035  to export the shape to coordinates.
26036  In the appearing dialog use either the outline of your shape for the coordinates or the path itself.
26037 \begin_inset Foot
26038 status collapsed
26039
26040 \begin_layout Plain Layout
26041 For more information see 
26042 \begin_inset CommandInset href
26043 LatexCommand href
26044 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
26045 literal "false"
26046
26047 \end_inset
26048
26049
26050 \end_layout
26051
26052 \end_inset
26053
26054
26055 \end_layout
26056
26057 \begin_layout Standard
26058 The coordinates are written into a \SpecialChar TeX
26059  file.
26060  To use it for your \SpecialChar LyX
26061  document
26062 \end_layout
26063
26064 \begin_layout Enumerate
26065 Place the cursor before the first character of your paragraph (or into a new empty one).
26066 \end_layout
26067
26068 \begin_layout Enumerate
26069 Open in \SpecialChar LyX
26070  the menu 
26071 \family sans
26072 Insert\SpecialChar menuseparator
26073 File\SpecialChar menuseparator
26074 Child
26075 \begin_inset space ~
26076 \end_inset
26077
26078 Document
26079 \family default
26080 ,
26081  select the file and use 
26082 \family sans
26083 Input
26084 \family default
26085  as 
26086 \family sans
26087 Include Type.
26088 \end_layout
26089
26090 \begin_layout Standard
26091 \begin_inset VSpace defskip
26092 \end_inset
26093
26094
26095 \end_layout
26096
26097 \begin_layout Standard
26098 \begin_inset Note Greyedout
26099 status open
26100
26101 \begin_layout Plain Layout
26102
26103 \series bold
26104 Note
26105 \series default
26106 :
26107  The changed shape only applies to the current paragraph;
26108  everything is reset to normal for the next paragraph.
26109  Therefore the shape definition file must be input into every paragraph with the desired shape.
26110 \end_layout
26111
26112 \end_inset
26113
26114
26115 \end_layout
26116
26117 \begin_layout Standard
26118 \begin_inset VSpace bigskip
26119 \end_inset
26120
26121
26122 \end_layout
26123
26124 \begin_layout Standard
26125 Here is an example:
26126 \end_layout
26127
26128 \begin_layout Standard
26129 \begin_inset VSpace bigskip
26130 \end_inset
26131
26132
26133 \end_layout
26134
26135 \begin_layout Standard
26136 \begin_inset CommandInset include
26137 LatexCommand input
26138 filename "SpecialParagraphShape.tex"
26139 literal "true"
26140
26141 \end_inset
26142
26143
26144 \lang latin
26145 Lorem ipsum dolor sit amet,
26146  consetetur sadipscing elitr,
26147  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26148  sed diam voluptua.
26149  At vero eos et accusam et justo duo dolores et ea rebum.
26150  Stet clita kasd gubergren,
26151  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26152  Lorem ipsum dolor sit amet,
26153  consetetur sadipscing elitr,
26154  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26155  sed diam voluptua.
26156 \end_layout
26157
26158 \begin_layout Standard
26159 \begin_inset VSpace bigskip
26160 \end_inset
26161
26162
26163 \end_layout
26164
26165 \begin_layout Standard
26166
26167 \series bold
26168 A tip:
26169
26170 \series default
26171  to draw complexer shapes in 
26172 \family sans
26173 Jpgfdraw
26174 \family default
26175  you can draw the shape in a program of your choice and import the resulting image to 
26176 \family sans
26177 Jpgfdraw
26178 \family default
26179 .
26180  Then you only need to draw a line or spline along the outline of the image.
26181 \end_layout
26182
26183 \begin_layout Standard
26184
26185 \change_deleted -712698321 1674914114
26186 \begin_inset VSpace bigskip
26187 \end_inset
26188
26189
26190 \change_unchanged
26191
26192 \end_layout
26193
26194 \begin_layout Standard
26195 The module 
26196 \family sans
26197 Custom paragraph shapes
26198 \family default
26199  also provides the two commands 
26200 \family sans
26201 shapepar
26202 \family default
26203  and 
26204 \family sans
26205 Shapepar
26206 \family default
26207  which can be used to define custom shapes coordinate by coordinate.
26208 \begin_inset Foot
26209 status collapsed
26210
26211 \begin_layout Plain Layout
26212 These commands are internally used for all shapes described here.
26213 \end_layout
26214
26215 \end_inset
26216
26217  For information how these styles are used and about further customization possibilities,
26218  have a look at the 
26219 \begin_inset CommandInset href
26220 LatexCommand href
26221 name "documentation"
26222 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
26223 literal "false"
26224
26225 \end_inset
26226
26227  of the package 
26228 \begin_inset Flex Code
26229 status collapsed
26230
26231 \begin_layout Plain Layout
26232 shapepar
26233 \end_layout
26234
26235 \end_inset
26236
26237 .
26238 \end_layout
26239
26240 \begin_layout Subsection
26241
26242 \change_inserted 564990737 1672311925
26243 Hanging Paragraphs
26244 \end_layout
26245
26246 \begin_layout Hanging
26247
26248 \change_inserted 564990737 1672311925
26249 This module adds the 
26250 \family sans
26251 Hanging
26252 \family default
26253  paragraph style,
26254  that is,
26255  one where all but the first line of the paragraph is indented.
26256  This may not appear in your \SpecialChar LyX
26257  document but will appear in the final output.
26258 \end_layout
26259
26260 \begin_layout Subsection
26261
26262 \change_inserted 564990737 1672311925
26263 \begin_inset CommandInset label
26264 LatexCommand label
26265 name "subsec:Initials"
26266
26267 \end_inset
26268
26269 Initials (Drop Caps)
26270 \end_layout
26271
26272 \begin_layout Initial
26273
26274 \change_inserted 564990737 1672311925
26275 \begin_inset Argument 2
26276 status open
26277
26278 \begin_layout Plain Layout
26279
26280 \change_inserted 564990737 1672311925
26281 T
26282 \change_unchanged
26283
26284 \end_layout
26285
26286 \end_inset
26287
26288
26289 \begin_inset Argument 3
26290 status open
26291
26292 \begin_layout Plain Layout
26293
26294 \change_inserted 564990737 1672311925
26295 his
26296 \change_unchanged
26297
26298 \end_layout
26299
26300 \end_inset
26301
26302  module adds a drop capitals paragraph style 
26303 \family sans
26304 Initials
26305 \family default
26306  for paragraph environments which you can use wherever you want to have drop capitals.
26307  You then have three more items in the 
26308 \family sans
26309 Insert
26310 \family default
26311  menu:
26312 \end_layout
26313
26314 \begin_layout Itemize
26315
26316 \change_inserted 564990737 1672311925
26317
26318 \family sans
26319 Initial
26320 \family default
26321  which creates an inset for the drop capital
26322 \end_layout
26323
26324 \begin_layout Itemize
26325
26326 \change_inserted 564990737 1672311925
26327
26328 \family sans
26329 Rest of initial
26330 \family default
26331  which creates an inset for the rest of the word
26332 \end_layout
26333
26334 \begin_layout Itemize
26335
26336 \change_inserted 564990737 1672311925
26337
26338 \family sans
26339 Options
26340 \family default
26341  which allow you configure the formatting of the drop capital.
26342 \end_layout
26343
26344 \begin_layout Standard
26345
26346 \change_inserted 564990737 1672311925
26347 To customize the appearance of the style,
26348  see 
26349 \family sans
26350 Help\SpecialChar menuseparator
26351 Embedded Objects\SpecialChar menuseparator
26352 Objects Surrounded by Text\SpecialChar menuseparator
26353 Initials
26354 \family default
26355 .
26356 \end_layout
26357
26358 \begin_layout Section
26359
26360 \change_inserted 564990737 1672312011
26361 Text Markup
26362 \end_layout
26363
26364 \begin_layout Subsection
26365
26366 \change_inserted 564990737 1672312011
26367 Hyphenatable Text Markup
26368 \change_inserted -712698321 1674915075
26369  (Soul)
26370 \change_inserted 564990737 1672312011
26371
26372 \end_layout
26373
26374 \begin_layout Standard
26375
26376 \change_inserted 564990737 1672312011
26377 This 
26378 \change_deleted -712698321 1674915086
26379 package
26380 \change_inserted -712698321 1674915087
26381 modul
26382 \change_inserted 564990737 1672312011
26383  defines text styles to highlight,
26384  space-out,
26385  strike-through,
26386  underline and capitalize/small-cap text by means of the 
26387 \family sans
26388 soul
26389 \family default
26390  package.
26391  
26392 \change_inserted -712698321 1674915141
26393
26394 \end_layout
26395
26396 \begin_layout Standard
26397
26398 \change_inserted 564990737 1672312011
26399 As opposed to the markup provided by the Text Properties dialog,
26400  words marked-up with 
26401 \family sans
26402 soul
26403 \family default
26404  are hyphenated.
26405  See the 
26406 \begin_inset CommandInset href
26407 LatexCommand href
26408 name "soul documentation"
26409 target "http://mirrors.ctan.org/macros/generic/soul/soul.pdf"
26410 literal "false"
26411
26412 \end_inset
26413
26414 .
26415 \end_layout
26416
26417 \begin_layout Subsection
26418
26419 \change_inserted 564990737 1672312011
26420 Logical Markup
26421 \end_layout
26422
26423 \begin_layout Standard
26424
26425 \change_inserted 564990737 1672312011
26426 This module defines some character styles for logical markup:
26427  
26428 \noun on
26429
26430 \begin_inset Flex Noun
26431 status collapsed
26432
26433 \begin_layout Plain Layout
26434
26435 \change_inserted 564990737 1672312011
26436
26437 \noun on
26438 noun
26439 \change_unchanged
26440
26441 \end_layout
26442
26443 \end_inset
26444
26445
26446 \noun default
26447 ,
26448  
26449 \emph on
26450
26451 \begin_inset Flex Emph
26452 status collapsed
26453
26454 \begin_layout Plain Layout
26455
26456 \change_inserted 564990737 1672312011
26457
26458 \emph on
26459 emph
26460 \change_unchanged
26461
26462 \end_layout
26463
26464 \end_inset
26465
26466
26467 \emph default
26468 ,
26469  
26470 \begin_inset Flex Strong
26471 status collapsed
26472
26473 \begin_layout Plain Layout
26474
26475 \change_inserted 564990737 1672312011
26476 strong
26477 \change_unchanged
26478
26479 \end_layout
26480
26481 \end_inset
26482
26483 ,
26484  and 
26485 \begin_inset Flex Code
26486 status collapsed
26487
26488 \begin_layout Plain Layout
26489
26490 \change_inserted 564990737 1672312011
26491 code
26492 \change_unchanged
26493
26494 \end_layout
26495
26496 \end_inset
26497
26498  which are accessed via the 
26499 \family sans
26500 \bar under
26501 E
26502 \bar default
26503 dit\SpecialChar menuseparator
26504 Custom
26505 \begin_inset space ~
26506 \end_inset
26507
26508 Text
26509 \begin_inset space ~
26510 \end_inset
26511
26512
26513 \bar under
26514 S
26515 \bar default
26516 tyles
26517 \family default
26518  menu.
26519 \end_layout
26520
26521 \begin_layout Chapter
26522
26523 \change_deleted 564990737 1671304317
26524 Customizing 
26525 \change_unchanged
26526 Bibliograph
26527 \change_inserted 564990737 1671304322
26528 y
26529 \change_deleted 564990737 1671304331
26530 ies with Bib\SpecialChar TeX
26531  or Biblatex
26532 \change_unchanged
26533
26534 \end_layout
26535
26536 \begin_layout Standard
26537 The most basic information about how to use Bib\SpecialChar TeX
26538  or 
26539 \family sans
26540 Biblatex
26541 \family default
26542  with \SpecialChar LyX
26543  is contained in the section 
26544 \emph on
26545 Bibliography databases
26546 \emph default
26547  of the 
26548 \emph on
26549 User's Guide
26550 \emph default
26551 .
26552  The following subsections explain special bibliography features supported by \SpecialChar LyX
26553 .
26554 \end_layout
26555
26556 \begin_layout Section
26557 Alternative Citation Styles
26558 \end_layout
26559
26560 \begin_layout Standard
26561 Standard Bib\SpecialChar TeX
26562  uses numbers (e.
26563 \begin_inset space \thinspace{}
26564 \end_inset
26565
26566 g.
26567 \begin_inset space \space{}
26568 \end_inset
26569
26570
26571 \begin_inset Quotes eld
26572 \end_inset
26573
26574 [12]
26575 \begin_inset Quotes erd
26576 \end_inset
26577
26578 ) to refer to a cited work.
26579  However,
26580  in many scientific disciplines,
26581  other citation styles are in use.
26582  The most common one is the author-year style (e.
26583 \begin_inset space \thinspace{}
26584 \end_inset
26585
26586 g.
26587 \begin_inset space \space{}
26588 \end_inset
26589
26590
26591 \begin_inset Quotes eld
26592 \end_inset
26593
26594 Knuth 1984a
26595 \begin_inset Quotes erd
26596 \end_inset
26597
26598 ).
26599  \SpecialChar LyX
26600  supports three packages that provide this style,
26601  
26602 \begin_inset Flex Code
26603 status collapsed
26604
26605 \begin_layout Plain Layout
26606 biblatex
26607 \end_layout
26608
26609 \end_inset
26610
26611 ,
26612  
26613 \begin_inset Flex Code
26614 status collapsed
26615
26616 \begin_layout Plain Layout
26617 natbib
26618 \end_layout
26619
26620 \end_inset
26621
26622 ,
26623  and 
26624 \begin_inset Flex Code
26625 status collapsed
26626
26627 \begin_layout Plain Layout
26628 jurabib
26629 \end_layout
26630
26631 \end_inset
26632
26633 .
26634  Each of these packages has their pros and cons,
26635  which cannot be listed in detail.
26636  If you only want to have simple author-year (or author-numerical) style,
26637  or if you want to use one of the countless style files for 
26638 \begin_inset Flex Code
26639 status collapsed
26640
26641 \begin_layout Plain Layout
26642 natbib
26643 \end_layout
26644
26645 \end_inset
26646
26647 ,
26648  then the established 
26649 \begin_inset Flex Code
26650 status collapsed
26651
26652 \begin_layout Plain Layout
26653 natbib
26654 \end_layout
26655
26656 \end_inset
26657
26658  package is probably your choice.
26659  If you look for specific citation styles common in law studies,
26660  you might consider the 
26661 \begin_inset Flex Code
26662 status collapsed
26663
26664 \begin_layout Plain Layout
26665 jurabib
26666 \end_layout
26667
26668 \end_inset
26669
26670  package.
26671  If you want to have full control over the formatting or look for advanced features such as ibidem,
26672  footnote citations,
26673  full title citations,
26674  advanced date formats (such as 400 BC) or full localization to other languages than English,
26675  you should definitely consider 
26676 \begin_inset Flex Code
26677 status collapsed
26678
26679 \begin_layout Plain Layout
26680 biblatex
26681 \end_layout
26682
26683 \end_inset
26684
26685 ,
26686  which exceeds all other packages in terms of features,
26687  but is also quite heavy and more resource-hungry.
26688 \end_layout
26689
26690 \begin_layout Standard
26691 The handling of these packages in \SpecialChar LyX
26692  is basically the same.
26693  Go to 
26694 \change_deleted -712698321 1674917685
26695
26696 \begin_inset Flex Noun
26697 status collapsed
26698
26699 \begin_layout Plain Layout
26700 Document\SpecialChar menuseparator
26701 Settings
26702 \end_layout
26703
26704 \end_inset
26705
26706
26707 \change_inserted -712698321 1674917685
26708
26709 \family sans
26710 Document\SpecialChar menuseparator
26711 Settings
26712 \change_unchanged
26713
26714 \family default
26715  and select under 
26716 \change_deleted -712698321 1674917692
26717
26718 \begin_inset Flex Noun
26719 status collapsed
26720
26721 \begin_layout Plain Layout
26722 Bibliography
26723 \end_layout
26724
26725 \end_inset
26726
26727
26728 \change_inserted -712698321 1674917692
26729
26730 \family sans
26731 Bibliography
26732 \change_unchanged
26733
26734 \family default
26735  the 
26736 \change_deleted -712698321 1674917696
26737
26738 \begin_inset Flex Noun
26739 status collapsed
26740
26741 \begin_layout Plain Layout
26742 Style Format
26743 \end_layout
26744
26745 \end_inset
26746
26747
26748 \change_inserted -712698321 1674917696
26749
26750 \family sans
26751 Style Format
26752 \change_unchanged
26753
26754 \family default
26755  
26756 \change_deleted -712698321 1674917703
26757
26758 \begin_inset Flex Noun
26759 status collapsed
26760
26761 \begin_layout Plain Layout
26762 Basic (BibTeX)
26763 \end_layout
26764
26765 \end_inset
26766
26767
26768 \change_inserted -712698321 1674917703
26769
26770 \family sans
26771 Basic (BibTeX)
26772 \change_unchanged
26773
26774 \family default
26775 ,
26776  
26777 \change_deleted -712698321 1674917708
26778
26779 \begin_inset Flex Noun
26780 status collapsed
26781
26782 \begin_layout Plain Layout
26783 Biblatex
26784 \end_layout
26785
26786 \end_inset
26787
26788
26789 \change_inserted -712698321 1674917708
26790
26791 \family sans
26792 Biblatex
26793 \change_unchanged
26794
26795 \family default
26796 ,
26797  
26798 \change_deleted -712698321 1674917712
26799
26800 \begin_inset Flex Noun
26801 status collapsed
26802
26803 \begin_layout Plain Layout
26804 Biblatex (Natbib mode)
26805 \end_layout
26806
26807 \end_inset
26808
26809
26810 \change_inserted -712698321 1674917712
26811
26812 \family sans
26813 Biblatex (Natbib mode)
26814 \change_unchanged
26815
26816 \family default
26817 ,
26818  
26819 \change_deleted -712698321 1674917718
26820
26821 \begin_inset Flex Noun
26822 status collapsed
26823
26824 \begin_layout Plain Layout
26825 Natbib (BibTeX)
26826 \end_layout
26827
26828 \end_inset
26829
26830
26831 \change_inserted -712698321 1674917718
26832
26833 \family sans
26834 Natbib (BibTeX)
26835 \change_unchanged
26836
26837 \family default
26838  or 
26839 \change_deleted -712698321 1674917724
26840
26841 \begin_inset Flex Noun
26842 status collapsed
26843
26844 \begin_layout Plain Layout
26845 Jurabib (BibTeX)
26846 \end_layout
26847
26848 \end_inset
26849
26850
26851 \change_inserted -712698321 1674917724
26852
26853 \family sans
26854 Jurabib (BibTeX)
26855 \change_unchanged
26856
26857 \family default
26858  (see sec.
26859 \begin_inset space ~
26860 \end_inset
26861
26862 6.5.3 in the User's Guide for more information on these choices).
26863  With all these packages,
26864  you will get some extra features in the citation dialog and you can select the style of the reference (
26865 \begin_inset Quotes eld
26866 \end_inset
26867
26868 Knuth 1984
26869 \begin_inset Quotes erd
26870 \end_inset
26871
26872 ,
26873  
26874 \begin_inset Quotes eld
26875 \end_inset
26876
26877 Knuth (1984)
26878 \begin_inset Quotes erd
26879 \end_inset
26880
26881 ,
26882  
26883 \begin_inset Quotes eld
26884 \end_inset
26885
26886 Knuth,
26887  1984
26888 \begin_inset Quotes erd
26889 \end_inset
26890
26891 ,
26892  
26893 \begin_inset Quotes eld
26894 \end_inset
26895
26896 1984
26897 \begin_inset Quotes erd
26898 \end_inset
26899
26900  etc.).
26901  Note that either package needs specifically designed style files.
26902  They all ship their own,
26903  but there are lots of additional style files,
26904  and there is even an interactive style file builder
26905 \begin_inset Foot
26906 status collapsed
26907
26908 \begin_layout Plain Layout
26909 See 
26910 \begin_inset Flex URL
26911 status open
26912
26913 \begin_layout Plain Layout
26914
26915 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
26916 \end_layout
26917
26918 \end_inset
26919
26920
26921 \end_layout
26922
26923 \end_inset
26924
26925  for 
26926 \begin_inset Flex Code
26927 status collapsed
26928
26929 \begin_layout Plain Layout
26930 natbib
26931 \end_layout
26932
26933 \end_inset
26934
26935 .
26936 \end_layout
26937
26938 \begin_layout Section
26939 Subdivided Bibliographies
26940 \end_layout
26941
26942 \begin_layout Standard
26943 Sometimes you might need to divide your bibliography into several sections.
26944  If you are for instance a historian,
26945  the possibility to separate sources and scientific works is most likely a 
26946 \begin_inset Quotes eld
26947 \end_inset
26948
26949 must have
26950 \begin_inset Quotes erd
26951 \end_inset
26952
26953 .
26954  Unfortunately,
26955  Bib\SpecialChar TeX
26956  itself does not allow you to do this.
26957  But with the help of some \SpecialChar LaTeX
26958  packages,
26959  Bib\SpecialChar TeX
26960  can be extended to fit your needs.
26961 \end_layout
26962
26963 \begin_layout Standard
26964 \SpecialChar LyX
26965  provides native support for one of these packages,
26966  
26967 \family typewriter
26968 bibtopic
26969 \family default
26970 .
26971 \begin_inset Foot
26972 status collapsed
26973
26974 \begin_layout Plain Layout
26975 Available from 
26976 \begin_inset Flex URL
26977 status open
26978
26979 \begin_layout Plain Layout
26980
26981 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
26982 \end_layout
26983
26984 \end_inset
26985
26986
26987 \end_layout
26988
26989 \end_inset
26990
26991  The advantage of this package (compared to other packages such as 
26992 \family typewriter
26993 multibib
26994 \family default
26995 ) is that you don't need to define new citation commands.
26996  Instead,
26997  you need to prepare different bibliographic databases which include the entries for the different sections of the bibliography.
26998  For example:
26999  If you want to divide your bibliography into the sections 
27000 \begin_inset Quotes eld
27001 \end_inset
27002
27003 Sources
27004 \begin_inset Quotes erd
27005 \end_inset
27006
27007  and 
27008 \begin_inset Quotes eld
27009 \end_inset
27010
27011 Scientific works
27012 \begin_inset Quotes erd
27013 \end_inset
27014
27015 ,
27016  you first need to create two bibliographic databases,
27017  e.
27018 \begin_inset space \thinspace{}
27019 \end_inset
27020
27021 g.
27022 \begin_inset space \space{}
27023 \end_inset
27024
27025
27026 \begin_inset Flex Code
27027 status collapsed
27028
27029 \begin_layout Plain Layout
27030 sources.bib
27031 \end_layout
27032
27033 \end_inset
27034
27035  and 
27036 \begin_inset Flex Code
27037 status collapsed
27038
27039 \begin_layout Plain Layout
27040 scientific.bib
27041 \end_layout
27042
27043 \end_inset
27044
27045 .
27046  
27047 \end_layout
27048
27049 \begin_layout Standard
27050 Go to 
27051 \change_deleted -712698321 1674917736
27052
27053 \begin_inset Flex Noun
27054 status collapsed
27055
27056 \begin_layout Plain Layout
27057 Document\SpecialChar menuseparator
27058 Settings
27059 \end_layout
27060
27061 \end_inset
27062
27063
27064 \change_inserted -712698321 1674917736
27065
27066 \family sans
27067 Document\SpecialChar menuseparator
27068 Settings
27069 \change_unchanged
27070
27071 \family default
27072  and check under 
27073 \change_deleted -712698321 1674917752
27074
27075 \begin_inset Flex Noun
27076 status collapsed
27077
27078 \begin_layout Plain Layout
27079 Bibliography
27080 \end_layout
27081
27082 \end_inset
27083
27084
27085 \change_inserted -712698321 1674917752
27086
27087 \family sans
27088 Bibliography
27089 \change_unchanged
27090
27091 \family default
27092  the option 
27093 \change_deleted -712698321 1674917741
27094
27095 \family sans
27096
27097 \begin_inset Flex Noun
27098 status collapsed
27099
27100 \begin_layout Plain Layout
27101
27102 \family sans
27103 Subdivided bibliography
27104 \end_layout
27105
27106 \end_inset
27107
27108
27109 \change_inserted -712698321 1674917741
27110 Subdivided bibliography
27111 \change_unchanged
27112
27113 \family default
27114 .
27115  Now you can insert multiple Bib\SpecialChar TeX
27116  bibliographies,
27117  one for each section of your bibliography.
27118  Returning to our example:
27119  Insert the Bib\SpecialChar TeX
27120  bibliography 
27121 \begin_inset Flex Code
27122 status collapsed
27123
27124 \begin_layout Plain Layout
27125 sources.bib
27126 \end_layout
27127
27128 \end_inset
27129
27130  and a second one for the database 
27131 \begin_inset Flex Code
27132 status collapsed
27133
27134 \begin_layout Plain Layout
27135 scientific.bib
27136 \end_layout
27137
27138 \end_inset
27139
27140 .
27141  You are free to use the same or different styles for each section.
27142  Additionally,
27143  you can choose if the bibliography section should contain 
27144 \begin_inset Quotes eld
27145 \end_inset
27146
27147 all cited references
27148 \begin_inset Quotes erd
27149 \end_inset
27150
27151  of the specified database(s) (which is the default),
27152  
27153 \begin_inset Quotes eld
27154 \end_inset
27155
27156 all uncited references
27157 \begin_inset Quotes erd
27158 \end_inset
27159
27160  or even 
27161 \begin_inset Quotes eld
27162 \end_inset
27163
27164 all references
27165 \begin_inset Quotes erd
27166 \end_inset
27167
27168 .
27169  This might be useful if you would like to separate your bibliography into three sections:
27170  
27171 \begin_inset Quotes eld
27172 \end_inset
27173
27174 Cited sources
27175 \begin_inset Quotes erd
27176 \end_inset
27177
27178 ,
27179  
27180 \begin_inset Quotes eld
27181 \end_inset
27182
27183 Uncited sources
27184 \begin_inset Quotes erd
27185 \end_inset
27186
27187 ,
27188  and 
27189 \begin_inset Quotes eld
27190 \end_inset
27191
27192 Scientific works
27193 \begin_inset Quotes erd
27194 \end_inset
27195
27196 .
27197  The titles for the sections can be added as ordinary sections or subsections.
27198  Since 
27199 \begin_inset Flex Code
27200 status collapsed
27201
27202 \begin_layout Plain Layout
27203 bibtopic
27204 \end_layout
27205
27206 \end_inset
27207
27208  removes the bibliography title,
27209  you have to manually re-add that,
27210  too (as a chapter* or section*,
27211  for instance).
27212 \end_layout
27213
27214 \begin_layout Standard
27215 With 
27216 \family sans
27217 Biblatex
27218 \family default
27219 ,
27220  the procedure is a bit different.
27221  Since 
27222 \family typewriter
27223 bibtopic
27224 \family default
27225  does not work with 
27226 \family sans
27227 Biblatex
27228 \family default
27229 ,
27230  the aforementioned 
27231 \begin_inset Flex Noun
27232 status collapsed
27233
27234 \begin_layout Plain Layout
27235 Subdivided bibliography
27236 \end_layout
27237
27238 \end_inset
27239
27240  option is disabled if you use 
27241 \family sans
27242 Biblatex
27243 \family default
27244 .
27245  However,
27246  
27247 \family sans
27248 Biblatex
27249 \family default
27250  provides its own means to generate subdivided bibliographies.
27251  You can either add keywords to bibliography entries via the 
27252 \begin_inset Flex Code
27253 status collapsed
27254
27255 \begin_layout Plain Layout
27256 keywords
27257 \end_layout
27258
27259 \end_inset
27260
27261  entry option and then filter bibliography sections by keyword (by adding 
27262 \begin_inset Flex Code
27263 status collapsed
27264
27265 \begin_layout Plain Layout
27266 keyword=mykeyword
27267 \end_layout
27268
27269 \end_inset
27270
27271  to the 
27272 \begin_inset Flex Noun
27273 status collapsed
27274
27275 \begin_layout Plain Layout
27276 Options
27277 \end_layout
27278
27279 \end_inset
27280
27281  field of the dialog that opens if you left-click on the 
27282 \begin_inset Flex Noun
27283 status collapsed
27284
27285 \begin_layout Plain Layout
27286 Biblatex Generated Bibliography
27287 \end_layout
27288
27289 \end_inset
27290
27291  button),
27292  or you can filter by entry types (such as 
27293 \emph on
27294 book
27295 \emph default
27296  or 
27297 \emph on
27298 article
27299 \emph default
27300 ) by entering e.
27301 \begin_inset space \thinspace{}
27302 \end_inset
27303
27304 g.
27305  
27306 \begin_inset Flex Code
27307 status collapsed
27308
27309 \begin_layout Plain Layout
27310 type=book
27311 \end_layout
27312
27313 \end_inset
27314
27315  or 
27316 \begin_inset Flex Code
27317 status collapsed
27318
27319 \begin_layout Plain Layout
27320 nottype=collection
27321 \end_layout
27322
27323 \end_inset
27324
27325  to the mentioned 
27326 \begin_inset Flex Noun
27327 status collapsed
27328
27329 \begin_layout Plain Layout
27330 Options
27331 \end_layout
27332
27333 \end_inset
27334
27335  field,
27336  or you can create so-called 
27337 \begin_inset Quotes eld
27338 \end_inset
27339
27340 Bibliography Categories
27341 \begin_inset Quotes erd
27342 \end_inset
27343
27344  to which you can assign individual entries.
27345  Please refer to the Biblatex manual,
27346  section 
27347 \emph on
27348 Subdivided Bibliographies
27349 \emph default
27350 ,
27351  for details.
27352 \end_layout
27353
27354 \begin_layout Section
27355 Multiple Bibliographies
27356 \begin_inset CommandInset label
27357 LatexCommand label
27358 name "subsec:Multiple-Bibliographies"
27359
27360 \end_inset
27361
27362
27363 \end_layout
27364
27365 \begin_layout Standard
27366 Multiple bibliographies,
27367  e.
27368 \begin_inset space \thinspace{}
27369 \end_inset
27370
27371 g.
27372 \begin_inset space \space{}
27373 \end_inset
27374
27375 a bibliography for each part,
27376  chapter,
27377  section,
27378  subsection or child (sub-document) of the document,
27379  are also supported by \SpecialChar LyX
27380 .
27381  In order to enable it,
27382  go to 
27383 \change_deleted -712698321 1674917759
27384
27385 \begin_inset Flex Noun
27386 status collapsed
27387
27388 \begin_layout Plain Layout
27389 Document\SpecialChar menuseparator
27390 Settings\SpecialChar menuseparator
27391 Bibliography
27392 \end_layout
27393
27394 \end_inset
27395
27396
27397 \change_inserted -712698321 1674917759
27398
27399 \family sans
27400 Document\SpecialChar menuseparator
27401 Settings\SpecialChar menuseparator
27402 Bibliography
27403 \change_unchanged
27404
27405 \family default
27406  and select the relevant unit (e.
27407 \begin_inset space \thinspace{}
27408 \end_inset
27409
27410 g.,
27411  
27412 \begin_inset Quotes eld
27413 \end_inset
27414
27415 per section
27416 \begin_inset Quotes erd
27417 \end_inset
27418
27419 ) in the 
27420 \begin_inset Flex Noun
27421 status collapsed
27422
27423 \begin_layout Plain Layout
27424 Multiple Bibliographies
27425 \end_layout
27426
27427 \end_inset
27428
27429  combo box.
27430  Then add a Bib(la)\SpecialChar TeX
27431  bibliography to each unit (e.
27432 \begin_inset space \thinspace{}
27433 \end_inset
27434
27435 g.,
27436  section) of your document.
27437  In the output,
27438  a separate bibliography,
27439  containing only the references done in the current unit is generated.
27440 \end_layout
27441
27442 \begin_layout Standard
27443 If you use Bib\SpecialChar TeX
27444 ,
27445  either the 
27446 \begin_inset Flex Code
27447 status collapsed
27448
27449 \begin_layout Plain Layout
27450 chapterbib
27451 \end_layout
27452
27453 \end_inset
27454
27455  or the 
27456 \begin_inset Flex Code
27457 status collapsed
27458
27459 \begin_layout Plain Layout
27460 bibtopic
27461 \end_layout
27462
27463 \end_inset
27464
27465  package is used to create multiple bibliographies.
27466  The former package is used if you select 
27467 \begin_inset Quotes eld
27468 \end_inset
27469
27470 per child document
27471 \begin_inset Quotes erd
27472 \end_inset
27473
27474  and do 
27475 \emph on
27476 not
27477 \emph default
27478  check 
27479 \begin_inset Flex Noun
27480 status collapsed
27481
27482 \begin_layout Plain Layout
27483 Sectioned Bibliography
27484 \end_layout
27485
27486 \end_inset
27487
27488 .
27489  In all other cases,
27490  
27491 \begin_inset Flex Code
27492 status collapsed
27493
27494 \begin_layout Plain Layout
27495 bibtopic
27496 \end_layout
27497
27498 \end_inset
27499
27500  is used.
27501 \begin_inset Foot
27502 status collapsed
27503
27504 \begin_layout Plain Layout
27505 An alternative approach,
27506  if you are willing to use some 
27507 \begin_inset Flex Noun
27508 status collapsed
27509
27510 \begin_layout Plain Layout
27511 \SpecialChar TeX
27512  Code
27513 \end_layout
27514
27515 \end_inset
27516
27517  (see section
27518 \begin_inset space ~
27519 \end_inset
27520
27521
27522 \begin_inset CommandInset ref
27523 LatexCommand ref
27524 reference "sec:Inserting-TeX-Code"
27525 nolink "false"
27526
27527 \end_inset
27528
27529 ),
27530  is to use the 
27531 \begin_inset Flex Code
27532 status collapsed
27533
27534 \begin_layout Plain Layout
27535 bibunits
27536 \end_layout
27537
27538 \end_inset
27539
27540  package.
27541 \end_layout
27542
27543 \end_inset
27544
27545  If 
27546 \begin_inset Flex Code
27547 status collapsed
27548
27549 \begin_layout Plain Layout
27550 bibtopic
27551 \end_layout
27552
27553 \end_inset
27554
27555  is used,
27556  \SpecialChar LyX
27557  encloses the specified units in 
27558 \begin_inset Flex Code
27559 status collapsed
27560
27561 \begin_layout Plain Layout
27562 bibtopic
27563 \end_layout
27564
27565 \end_inset
27566
27567 's 
27568 \begin_inset Flex Code
27569 status collapsed
27570
27571 \begin_layout Plain Layout
27572
27573 \backslash
27574 begin{btUnit}
27575 \end_layout
27576
27577 \end_inset
27578
27579  and 
27580 \begin_inset Flex Code
27581 status collapsed
27582
27583 \begin_layout Plain Layout
27584
27585 \backslash
27586 end{btUnit}
27587 \end_layout
27588
27589 \end_inset
27590
27591  in order to create the units.
27592  Note that this approach has some limitations.
27593  First,
27594  every citation reference has to be inside some 
27595 \begin_inset Flex Code
27596 status collapsed
27597
27598 \begin_layout Plain Layout
27599 btUnit
27600 \end_layout
27601
27602 \end_inset
27603
27604 .
27605  So citations outside a defined unit (e.
27606 \begin_inset space \thinspace{}
27607 \end_inset
27608
27609 g.,
27610  before the first section if you use 
27611 \begin_inset Quotes eld
27612 \end_inset
27613
27614 by section
27615 \begin_inset Quotes erd
27616 \end_inset
27617
27618 ) will appear as 
27619 \begin_inset Quotes eld
27620 \end_inset
27621
27622 ???
27623 \begin_inset Quotes erd
27624 \end_inset
27625
27626 .
27627  You can also create your own units by entering 
27628 \begin_inset Flex Code
27629 status collapsed
27630
27631 \begin_layout Plain Layout
27632
27633 \backslash
27634 begin{btUnit}
27635 \end_layout
27636
27637 \end_inset
27638
27639  and 
27640 \begin_inset Flex Code
27641 status collapsed
27642
27643 \begin_layout Plain Layout
27644
27645 \backslash
27646 end{btUnit}
27647 \end_layout
27648
27649 \end_inset
27650
27651  as \SpecialChar TeX
27652  code (for instance to work around the mentioned limitation).
27653  Note,
27654  though,
27655  that 
27656 \begin_inset Flex Code
27657 status collapsed
27658
27659 \begin_layout Plain Layout
27660 btUnit
27661 \end_layout
27662
27663 \end_inset
27664
27665 s cannot be nested.
27666  A second limitation is that 
27667 \begin_inset Flex Code
27668 status collapsed
27669
27670 \begin_layout Plain Layout
27671 bibtopic
27672 \end_layout
27673
27674 \end_inset
27675
27676  always processes all references of a bibliography database,
27677  even if they are not cited.
27678  This can result in odd labels (e.
27679 \begin_inset space \thinspace{}
27680 \end_inset
27681
27682 g.
27683  
27684 \begin_inset Quotes eld
27685 \end_inset
27686
27687 Miller 2014b
27688 \begin_inset Quotes erd
27689 \end_inset
27690
27691  if two works of this author from 2014 are in the database,
27692  even if only one is cited).
27693 \end_layout
27694
27695 \begin_layout Standard
27696 If you use 
27697 \family sans
27698 Biblatex
27699 \family default
27700 ,
27701  the 
27702 \begin_inset Flex Code
27703 status collapsed
27704
27705 \begin_layout Plain Layout
27706 refsection
27707 \end_layout
27708
27709 \end_inset
27710
27711  option is used instead.
27712  If you need specific units,
27713  you can start them with the \SpecialChar TeX
27714  code 
27715 \begin_inset Flex Code
27716 status collapsed
27717
27718 \begin_layout Plain Layout
27719
27720 \backslash
27721 newrefsection
27722 \end_layout
27723
27724 \end_inset
27725
27726  or 
27727 \begin_inset Flex Code
27728 status collapsed
27729
27730 \begin_layout Plain Layout
27731
27732 \backslash
27733 newrefsegment
27734 \end_layout
27735
27736 \end_inset
27737
27738 ,
27739  respectively.
27740  If you also want to control the end of the unit,
27741  use the environment 
27742 \begin_inset Flex Code
27743 status collapsed
27744
27745 \begin_layout Plain Layout
27746
27747 \backslash
27748 begin{refsection}
27749 \end_layout
27750
27751 \end_inset
27752
27753  \SpecialChar ldots
27754  
27755 \begin_inset Flex Code
27756 status collapsed
27757
27758 \begin_layout Plain Layout
27759
27760 \backslash
27761 end{refsection}
27762 \end_layout
27763
27764 \end_inset
27765
27766  instead.
27767  Note,
27768  though,
27769  that 
27770 \begin_inset Flex Code
27771 status collapsed
27772
27773 \begin_layout Plain Layout
27774 refsection
27775 \end_layout
27776
27777 \end_inset
27778
27779 s cannot be nested.
27780  In addition to the individual bibliography of the current unit,
27781  
27782 \family sans
27783 Biblatex
27784 \family default
27785  also provides an easy way to output all bibliographies,
27786  subsequently,
27787  at one place (e.
27788 \begin_inset space \thinspace{}
27789 \end_inset
27790
27791 g.,
27792  at the end of the document).
27793  Select 
27794 \begin_inset Quotes eld
27795 \end_inset
27796
27797 all reference units
27798 \begin_inset Quotes erd
27799 \end_inset
27800
27801  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve this.
27802  Please refer to the 
27803 \family sans
27804 Biblatex
27805 \family default
27806  manual for more information on this topic.
27807 \end_layout
27808
27809 \begin_layout Chapter
27810
27811 \change_deleted 564990737 1671355654
27812 Itemize 
27813 \change_unchanged
27814 Bullet
27815 \change_inserted 564990737 1671355667
27816 s
27817 \change_deleted 564990737 1671355661
27818  Selection
27819 \change_inserted 564990737 1671355684
27820
27821 \begin_inset CommandInset label
27822 LatexCommand label
27823 name "chap:bullets"
27824
27825 \end_inset
27826
27827
27828 \change_deleted 564990737 1671355684
27829
27830 \begin_inset CommandInset label
27831 LatexCommand label
27832 name "sec:bullet"
27833
27834 \end_inset
27835
27836
27837 \change_unchanged
27838
27839 \end_layout
27840
27841 \begin_layout Standard
27842 by
27843 \noun on
27844  Allan Rae
27845 \end_layout
27846
27847 \begin_layout Section
27848 Introduction
27849 \end_layout
27850
27851 \begin_layout Standard
27852 \SpecialChar LyX
27853  provides 216 bullet shapes that can be accessed from a simple dialog.
27854  Using this dialog you can easily specify what bullet shape to use at each level of an itemized list.
27855  These settings are document-wide so you won't be able to specify different sets of bullets for different paragraphs.
27856 \begin_inset Foot
27857 status collapsed
27858
27859 \begin_layout Plain Layout
27860 Well,
27861  actually you can but you'll have to do it by hand.
27862 \end_layout
27863
27864 \end_inset
27865
27866
27867 \end_layout
27868
27869 \begin_layout Section
27870 How it looks
27871 \end_layout
27872
27873 \begin_layout Standard
27874 Open the dialog by selecting the 
27875 \change_deleted -712698321 1674916009
27876
27877 \begin_inset Flex Noun
27878 status collapsed
27879
27880 \begin_layout Plain Layout
27881 Document\SpecialChar menuseparator
27882 Settings
27883 \end_layout
27884
27885 \end_inset
27886
27887
27888 \change_inserted -712698321 1674916009
27889
27890 \family sans
27891 Document\SpecialChar menuseparator
27892 Settings
27893 \change_unchanged
27894
27895 \family default
27896  menu item and then select the 
27897 \begin_inset Flex Noun
27898 status collapsed
27899
27900 \begin_layout Plain Layout
27901 Bullets
27902 \end_layout
27903
27904 \end_inset
27905
27906  tab.
27907 \end_layout
27908
27909 \begin_layout Standard
27910 The dialog provides you with a table of bullet shapes.
27911  A column of buttons on the left of the table provides access to the six different panels of bullet shapes.
27912  The row of buttons across the top is used to select which bullet depth you are changing.
27913 \change_inserted -712698321 1674916033
27914
27915 \end_layout
27916
27917 \begin_layout Standard
27918
27919 \change_inserted -712698321 1674916177
27920 If you select 
27921 \family sans
27922 Custom bullet
27923 \family default
27924 ,
27925  
27926 \change_deleted -712698321 1674916065
27927  A
27928 \change_inserted -712698321 1674916067
27929 a
27930 \change_unchanged
27931  text entry under the table 
27932 \change_inserted -712698321 1674916074
27933 will be activated 
27934 \change_deleted -712698321 1674916096
27935 shows the currently selected
27936 \change_inserted -712698321 1674916101
27937 in which you can enter a
27938 \change_unchanged
27939  bullet shape's \SpecialChar LaTeX
27940  equivalent
27941 \change_deleted -712698321 1674916109
27942  and this can be edited if desired
27943 \change_unchanged
27944 .
27945  If you do modify the text you will also need to specify any needed packages in the \SpecialChar LaTeX
27946  preamble.
27947 \end_layout
27948
27949 \begin_layout Standard
27950 The six panels are divided up by the packages they require.
27951  The following table shows the mappings from button name to \SpecialChar LaTeX
27952  package.
27953 \end_layout
27954
27955 \begin_layout Standard
27956 \align center
27957 \begin_inset Tabular
27958 <lyxtabular version="3" rows="7" columns="2">
27959 <features tabularvalignment="middle">
27960 <column alignment="center" valignment="top" width="0pt">
27961 <column alignment="center" valignment="top" width="0pt">
27962 <row>
27963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27964 \begin_inset Text
27965
27966 \begin_layout Plain Layout
27967
27968 \family roman
27969 \series medium
27970 \shape up
27971 \size normal
27972 \emph off
27973 \bar no
27974 \noun off
27975 \color none
27976 Button
27977 \end_layout
27978
27979 \end_inset
27980 </cell>
27981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27982 \begin_inset Text
27983
27984 \begin_layout Plain Layout
27985
27986 \family roman
27987 \series medium
27988 \shape up
27989 \size normal
27990 \emph off
27991 \bar no
27992 \noun off
27993 \color none
27994 Packages Required
27995 \end_layout
27996
27997 \end_inset
27998 </cell>
27999 </row>
28000 <row>
28001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28002 \begin_inset Text
28003
28004 \begin_layout Plain Layout
28005
28006 \family sans
28007 \series medium
28008 \shape up
28009 \size normal
28010 \emph off
28011 \bar no
28012 \noun off
28013 \color none
28014 Standard
28015 \end_layout
28016
28017 \end_inset
28018 </cell>
28019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28020 \begin_inset Text
28021
28022 \begin_layout Plain Layout
28023
28024 \series medium
28025 \shape up
28026 \size normal
28027 \emph off
28028 \bar no
28029 \noun off
28030 \color none
28031 base \SpecialChar LaTeX
28032
28033 \end_layout
28034
28035 \end_inset
28036 </cell>
28037 </row>
28038 <row>
28039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28040 \begin_inset Text
28041
28042 \begin_layout Plain Layout
28043
28044 \family sans
28045 \series medium
28046 \shape up
28047 \size normal
28048 \emph off
28049 \bar no
28050 \noun off
28051 \color none
28052 Maths
28053 \end_layout
28054
28055 \end_inset
28056 </cell>
28057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28058 \begin_inset Text
28059
28060 \begin_layout Plain Layout
28061
28062 \family typewriter
28063 \series medium
28064 \shape up
28065 \size normal
28066 \emph off
28067 \bar no
28068 \noun off
28069 \color none
28070 amssymb.sty
28071 \end_layout
28072
28073 \end_inset
28074 </cell>
28075 </row>
28076 <row>
28077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28078 \begin_inset Text
28079
28080 \begin_layout Plain Layout
28081
28082 \family sans
28083 \series medium
28084 \shape up
28085 \size normal
28086 \emph off
28087 \bar no
28088 \noun off
28089 \color none
28090 Ding1
28091 \end_layout
28092
28093 \end_inset
28094 </cell>
28095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28096 \begin_inset Text
28097
28098 \begin_layout Plain Layout
28099
28100 \family typewriter
28101 \series medium
28102 \shape up
28103 \size normal
28104 \emph off
28105 \bar no
28106 \noun off
28107 \color none
28108 pifont.sty
28109 \end_layout
28110
28111 \end_inset
28112 </cell>
28113 </row>
28114 <row>
28115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28116 \begin_inset Text
28117
28118 \begin_layout Plain Layout
28119
28120 \family sans
28121 \series medium
28122 \shape up
28123 \size normal
28124 \emph off
28125 \bar no
28126 \noun off
28127 \color none
28128 Ding2
28129 \end_layout
28130
28131 \end_inset
28132 </cell>
28133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28134 \begin_inset Text
28135
28136 \begin_layout Plain Layout
28137
28138 \family typewriter
28139 \series medium
28140 \shape up
28141 \size normal
28142 \emph off
28143 \bar no
28144 \noun off
28145 \color none
28146 pifont.sty
28147 \end_layout
28148
28149 \end_inset
28150 </cell>
28151 </row>
28152 <row>
28153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28154 \begin_inset Text
28155
28156 \begin_layout Plain Layout
28157
28158 \family sans
28159 \series medium
28160 \shape up
28161 \size normal
28162 \emph off
28163 \bar no
28164 \noun off
28165 \color none
28166 Ding3
28167 \end_layout
28168
28169 \end_inset
28170 </cell>
28171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28172 \begin_inset Text
28173
28174 \begin_layout Plain Layout
28175
28176 \family typewriter
28177 \series medium
28178 \shape up
28179 \size normal
28180 \emph off
28181 \bar no
28182 \noun off
28183 \color none
28184 pifont.sty
28185 \end_layout
28186
28187 \end_inset
28188 </cell>
28189 </row>
28190 <row>
28191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28192 \begin_inset Text
28193
28194 \begin_layout Plain Layout
28195
28196 \family sans
28197 \series medium
28198 \shape up
28199 \size normal
28200 \emph off
28201 \bar no
28202 \noun off
28203 \color none
28204 Ding4
28205 \end_layout
28206
28207 \end_inset
28208 </cell>
28209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28210 \begin_inset Text
28211
28212 \begin_layout Plain Layout
28213
28214 \family typewriter
28215 \series medium
28216 \shape up
28217 \size normal
28218 \emph off
28219 \bar no
28220 \noun off
28221 \color none
28222 pifont.sty
28223 \end_layout
28224
28225 \end_inset
28226 </cell>
28227 </row>
28228 </lyxtabular>
28229
28230 \end_inset
28231
28232
28233 \end_layout
28234
28235 \begin_layout Standard
28236 \SpecialChar LyX
28237  doesn't stop you using bullets from packages you don't have.
28238  If you get errors from \SpecialChar LaTeX
28239  when you try to view or print the file,
28240  then it is likely you are missing a package.
28241 \begin_inset Foot
28242 status collapsed
28243
28244 \begin_layout Plain Layout
28245 \SpecialChar LyX
28246  doesn't restrict your use since you may be editing locally and exporting elsewhere.
28247 \end_layout
28248
28249 \end_inset
28250
28251
28252 \end_layout
28253
28254 \begin_layout Section
28255
28256 \change_inserted -712698321 1674916414
28257 \begin_inset CommandInset label
28258 LatexCommand label
28259 name "sec:How-to-use"
28260
28261 \end_inset
28262
28263
28264 \change_unchanged
28265 How to use it
28266 \end_layout
28267
28268 \begin_layout Standard
28269 Select which bullet depth you want to change then select the bullet shape and size.
28270  Any changes will not be visible in \SpecialChar LyX
28271 ,
28272  but are visible when viewing the document.
28273 \end_layout
28274
28275 \begin_layout Standard
28276 You can reset a bullet shape to the default simply by clicking your right mouse button on the appropriate bullet depth button.
28277 \change_deleted -712698321 1674916288
28278
28279 \begin_inset Foot
28280 status collapsed
28281
28282 \begin_layout Plain Layout
28283
28284 \change_deleted -712698321 1674916287
28285 \begin_inset CommandInset label
28286 LatexCommand label
28287 name "fn:If-you-really"
28288
28289 \end_inset
28290
28291
28292 \change_unchanged
28293 If you 
28294 \emph on
28295 really
28296 \emph default
28297  want to have multiple sets of paragraphs with different sets of bullets in each,
28298  then you're going to have to get your hands dirty with \SpecialChar TeX
28299  code.
28300  The bullet selection dialog can help though because it provides you with the \SpecialChar LaTeX
28301  code for a wide range of bullet shapes.
28302  To make your own custom paragraphs you have the following options:
28303 \end_layout
28304
28305 \begin_layout Plain Layout
28306 \begin_inset ERT
28307 status open
28308
28309 \begin_layout Plain Layout
28310
28311
28312 \backslash
28313 let
28314 \backslash
28315 savelabelitemi=
28316 \backslash
28317 labelitemi
28318 \end_layout
28319
28320 \end_inset
28321
28322
28323 \end_layout
28324
28325 \begin_layout Plain Layout
28326 \begin_inset ERT
28327 status open
28328
28329 \begin_layout Plain Layout
28330
28331
28332 \backslash
28333 renewcommand
28334 \backslash
28335 labelitemi[0]{
28336 \backslash
28337 small
28338 \backslash
28339 (
28340 \backslash
28341 sharp
28342 \backslash
28343 )}
28344 \end_layout
28345
28346 \end_inset
28347
28348
28349 \end_layout
28350
28351 \begin_layout Itemize
28352 Use the \SpecialChar LaTeX
28353  command 
28354 \begin_inset Flex Code
28355 status collapsed
28356
28357 \begin_layout Plain Layout
28358
28359 \backslash
28360 renewcommand{}{}
28361 \end_layout
28362
28363 \end_inset
28364
28365  to specify a new bullet shape for a given depth.
28366  You'll also need to save the current bullet shape so you can restore it again afterwards.
28367  In this itemized list the following \SpecialChar LaTeX
28368  code was used to change the bullet used for the first depth.
28369 \end_layout
28370
28371 \begin_deeper
28372 \begin_layout LyX-Code
28373
28374 \backslash
28375 let
28376 \backslash
28377 savelabelitemi=
28378 \backslash
28379 labelitemi 
28380 \end_layout
28381
28382 \begin_layout LyX-Code
28383
28384 \backslash
28385 renewcommand
28386 \backslash
28387 labelitemi[0]{
28388 \backslash
28389 small
28390 \backslash
28391 (
28392 \backslash
28393 sharp
28394 \backslash
28395 )}
28396 \end_layout
28397
28398 \end_deeper
28399 \begin_layout Itemize
28400 Note that the itemize depth is specified in Roman numerals as part of the 
28401 \family typewriter
28402
28403 \backslash
28404 labelitem
28405 \family default
28406  command.
28407 \end_layout
28408
28409 \begin_layout Itemize
28410 \begin_inset Argument item:1
28411 status open
28412
28413 \begin_layout Plain Layout
28414 \begin_inset ERT
28415 status open
28416
28417 \begin_layout Plain Layout
28418
28419
28420 \backslash
28421 (
28422 \backslash
28423 star
28424 \backslash
28425 )
28426 \end_layout
28427
28428 \end_inset
28429
28430
28431 \end_layout
28432
28433 \end_inset
28434
28435  Specify each individual entry by starting each item with the bullet shape enclosed in a 
28436 \begin_inset Quotes eld
28437 \end_inset
28438
28439 Custom Item
28440 \begin_inset Quotes erd
28441 \end_inset
28442
28443  inset (available at 
28444 \family sans
28445 Insert\SpecialChar menuseparator
28446 Custom Item
28447 \family default
28448 ) and set as 
28449 \begin_inset Flex Noun
28450 status collapsed
28451
28452 \begin_layout Plain Layout
28453 \SpecialChar TeX
28454  Code
28455 \end_layout
28456
28457 \end_inset
28458
28459 .
28460  For example,
28461  this item was started with 
28462 \begin_inset Flex Code
28463 status collapsed
28464
28465 \begin_layout Plain Layout
28466
28467 \backslash
28468 (
28469 \backslash
28470 star
28471 \backslash
28472 )
28473 \end_layout
28474
28475 \end_inset
28476
28477 .
28478 \end_layout
28479
28480 \begin_layout Plain Layout
28481 \begin_inset ERT
28482 status open
28483
28484 \begin_layout Plain Layout
28485
28486
28487 \backslash
28488 renewcommand
28489 \backslash
28490 labelitemi[0]{
28491 \backslash
28492 savelabelitemi}
28493 \end_layout
28494
28495 \end_inset
28496
28497
28498 \end_layout
28499
28500 \begin_layout Plain Layout
28501 You'll also need to revert the labelitem back to its previous setting for the global bullet shape settings to remain in effect.
28502  The way used here was:
28503 \end_layout
28504
28505 \begin_layout LyX-Code
28506
28507 \backslash
28508 renewcommand
28509 \backslash
28510 labelitemi[0]{
28511 \backslash
28512 savelabelitemi}
28513 \end_layout
28514
28515 \end_inset
28516
28517
28518 \change_inserted -712698321 1674916331
28519
28520 \begin_inset CommandInset label
28521 LatexCommand label
28522 name "fn:If-you-really"
28523
28524 \end_inset
28525
28526
28527 \end_layout
28528
28529 \begin_layout Standard
28530
28531 \change_inserted -712698321 1674916288
28532 If you 
28533 \emph on
28534 really
28535 \emph default
28536  want to have multiple sets of paragraphs with different sets of bullets in each,
28537  then you're going to have to get your hands dirty with \SpecialChar TeX
28538  code.
28539  The bullet selection dialog can help though because it provides you with the \SpecialChar LaTeX
28540  code for a wide range of bullet shapes.
28541  To make your own custom paragraphs you have the following options:
28542 \end_layout
28543
28544 \begin_layout Standard
28545
28546 \change_inserted -712698321 1674916288
28547 \begin_inset ERT
28548 status open
28549
28550 \begin_layout Plain Layout
28551
28552 \change_inserted -712698321 1674916288
28553
28554
28555 \backslash
28556 let
28557 \backslash
28558 savelabelitemi=
28559 \backslash
28560 labelitemi
28561 \end_layout
28562
28563 \end_inset
28564
28565
28566 \end_layout
28567
28568 \begin_layout Standard
28569
28570 \change_inserted -712698321 1674916288
28571 \begin_inset ERT
28572 status open
28573
28574 \begin_layout Plain Layout
28575
28576 \change_inserted -712698321 1674916288
28577
28578
28579 \backslash
28580 renewcommand
28581 \backslash
28582 labelitemi[0]{
28583 \backslash
28584 small
28585 \backslash
28586 (
28587 \backslash
28588 sharp
28589 \backslash
28590 )}
28591 \end_layout
28592
28593 \end_inset
28594
28595
28596 \end_layout
28597
28598 \begin_layout Itemize
28599
28600 \change_inserted -712698321 1674916288
28601 Use the \SpecialChar LaTeX
28602  command 
28603 \begin_inset Flex Code
28604 status collapsed
28605
28606 \begin_layout Plain Layout
28607
28608 \change_inserted -712698321 1674916288
28609
28610 \backslash
28611 renewcommand
28612 \change_unchanged
28613
28614 \end_layout
28615
28616 \end_inset
28617
28618  to specify a new bullet shape for a given depth.
28619  You'll also need to save the current bullet shape so you can restore it again afterwards.
28620  In this itemized list the following \SpecialChar LaTeX
28621  code was used to change the bullet used for the first depth.
28622 \end_layout
28623
28624 \begin_deeper
28625 \begin_layout LyX-Code
28626
28627 \change_inserted -712698321 1674916288
28628
28629 \backslash
28630 let
28631 \backslash
28632 savelabelitemi=
28633 \backslash
28634 labelitemi 
28635 \end_layout
28636
28637 \begin_layout LyX-Code
28638
28639 \change_inserted -712698321 1674916288
28640
28641 \backslash
28642 renewcommand
28643 \backslash
28644 labelitemi[0]{
28645 \backslash
28646 small
28647 \backslash
28648 (
28649 \backslash
28650 sharp
28651 \backslash
28652 )}
28653 \end_layout
28654
28655 \end_deeper
28656 \begin_layout Itemize
28657
28658 \change_inserted -712698321 1674916288
28659 Note that the itemize depth is specified in Roman numerals as part of the 
28660 \family typewriter
28661
28662 \backslash
28663 labelitem
28664 \family default
28665  command.
28666 \end_layout
28667
28668 \begin_layout Itemize
28669
28670 \change_inserted -712698321 1674916288
28671 \begin_inset Argument item:1
28672 status open
28673
28674 \begin_layout Plain Layout
28675
28676 \change_inserted -712698321 1674916288
28677 \begin_inset ERT
28678 status open
28679
28680 \begin_layout Plain Layout
28681
28682 \change_inserted -712698321 1674916288
28683
28684
28685 \backslash
28686 (
28687 \backslash
28688 star
28689 \backslash
28690 )
28691 \end_layout
28692
28693 \end_inset
28694
28695
28696 \change_unchanged
28697
28698 \end_layout
28699
28700 \end_inset
28701
28702  Specify each individual entry by starting each item with the bullet shape enclosed in a 
28703 \begin_inset Quotes eld
28704 \end_inset
28705
28706 Custom Item
28707 \begin_inset Quotes erd
28708 \end_inset
28709
28710  inset (available at 
28711 \family sans
28712 Insert\SpecialChar menuseparator
28713 Custom Item
28714 \family default
28715 ) and set as 
28716 \begin_inset Flex Noun
28717 status collapsed
28718
28719 \begin_layout Plain Layout
28720
28721 \change_inserted -712698321 1674916288
28722 \SpecialChar TeX
28723  Code
28724 \change_unchanged
28725
28726 \end_layout
28727
28728 \end_inset
28729
28730 .
28731  For example,
28732  this item was started with 
28733 \begin_inset Flex Code
28734 status collapsed
28735
28736 \begin_layout Plain Layout
28737
28738 \change_inserted -712698321 1674916288
28739
28740 \backslash
28741 (
28742 \backslash
28743 star
28744 \backslash
28745 )
28746 \change_unchanged
28747
28748 \end_layout
28749
28750 \end_inset
28751
28752 .
28753 \end_layout
28754
28755 \begin_layout Standard
28756
28757 \change_inserted -712698321 1674916288
28758 \begin_inset ERT
28759 status open
28760
28761 \begin_layout Plain Layout
28762
28763 \change_inserted -712698321 1674916288
28764
28765
28766 \backslash
28767 renewcommand
28768 \backslash
28769 labelitemi[0]{
28770 \backslash
28771 savelabelitemi}
28772 \end_layout
28773
28774 \end_inset
28775
28776
28777 \end_layout
28778
28779 \begin_layout Standard
28780
28781 \change_inserted -712698321 1674916288
28782 You'll also need to revert the labelitem back to its previous setting for the global bullet shape settings to remain in effect.
28783  The way used here was:
28784 \end_layout
28785
28786 \begin_layout LyX-Code
28787
28788 \change_inserted -712698321 1674916288
28789
28790 \backslash
28791 renewcommand
28792 \backslash
28793 labelitemi[0]{
28794 \backslash
28795 savelabelitemi}
28796 \change_unchanged
28797
28798 \end_layout
28799
28800 \begin_layout Chapter
28801 Supplemental Tools
28802 \end_layout
28803
28804 \begin_layout Section
28805 Multipart Documents
28806 \end_layout
28807
28808 \begin_layout Subsection
28809 General Operation
28810 \end_layout
28811
28812 \begin_layout Standard
28813 When you are working on a large file with many sections,
28814  it is often convenient to break up the document into several files,
28815  or perhaps you have something where a table may change from time to time,
28816  but the preceding text does not.
28817  In these cases,
28818  you should seriously consider using multipart documents.
28819  For example,
28820  scientific papers often have five major sections:
28821  the introduction,
28822  observations,
28823  results,
28824  discussion,
28825  and conclusion.
28826  Each of these could be its own separate \SpecialChar LyX
28827  file,
28828  with one 
28829 \begin_inset Quotes eld
28830 \end_inset
28831
28832 master
28833 \begin_inset Quotes erd
28834 \end_inset
28835
28836  file which contains the title,
28837  authors,
28838  abstract,
28839  references,
28840  etc.,
28841  plus the five included files.
28842  It is important to note that each of these files is a full \SpecialChar LyX
28843  file which can be formatted and printed on its own,
28844  as well as included in a master file.
28845  Each of these files must have the same document class,
28846  however—
28847 don't attempt to mix book classes with article classes.
28848  You may also include \SpecialChar LaTeX
28849  files;
28850  however,
28851  these files must not have their own preamble (i.
28852 \begin_inset space \thinspace{}
28853 \end_inset
28854
28855 e.
28856 \begin_inset space \space{}
28857 \end_inset
28858
28859 everything up to and including the 
28860 \begin_inset Flex Code
28861 status collapsed
28862
28863 \begin_layout Plain Layout
28864
28865 \backslash
28866 begin{document}
28867 \end_layout
28868
28869 \end_inset
28870
28871  line as well as the 
28872 \begin_inset Flex Code
28873 status collapsed
28874
28875 \begin_layout Plain Layout
28876
28877 \backslash
28878 end{document}
28879 \end_layout
28880
28881 \end_inset
28882
28883  line must be deleted) or else errors will be generated when you try to make a DVI file.
28884 \end_layout
28885
28886 \begin_layout Standard
28887 \SpecialChar LyX
28888  allows you to include files quite easily with 
28889 \change_deleted -712698321 1674917774
28890
28891 \begin_inset Flex Noun
28892 status collapsed
28893
28894 \begin_layout Plain Layout
28895 Insert\SpecialChar menuseparator
28896 Child
28897 \begin_inset space ~
28898 \end_inset
28899
28900 Document
28901 \end_layout
28902
28903 \end_inset
28904
28905
28906 \change_inserted -712698321 1674917774
28907
28908 \family sans
28909 Insert\SpecialChar menuseparator
28910 Child
28911 \begin_inset space ~
28912 \end_inset
28913
28914 Document
28915 \change_unchanged
28916
28917 \family default
28918 .
28919  When you click on this selection a small box is inserted into the file at the current cursor location.
28920  Clicking on the box raises a dialog which allows you to select the file to be included,
28921  and the method of its inclusion.
28922  
28923 \end_layout
28924
28925 \begin_layout Standard
28926 The file selection box should by now be obvious.
28927  The three inclusion methods are 
28928 \begin_inset Quotes eld
28929 \end_inset
28930
28931 include
28932 \begin_inset Quotes erd
28933 \end_inset
28934
28935 ,
28936  
28937 \begin_inset Quotes eld
28938 \end_inset
28939
28940 input
28941 \begin_inset Quotes erd
28942 \end_inset
28943
28944 ,
28945  and 
28946 \begin_inset Quotes eld
28947 \end_inset
28948
28949 verbatim
28950 \begin_inset Quotes erd
28951 \end_inset
28952
28953 .
28954  The methods 
28955 \begin_inset Quotes eld
28956 \end_inset
28957
28958 include
28959 \begin_inset Quotes erd
28960 \end_inset
28961
28962  and 
28963 \begin_inset Quotes eld
28964 \end_inset
28965
28966 input
28967 \begin_inset Quotes erd
28968 \end_inset
28969
28970  are similar in many ways,
28971  but there are also some notable differences:
28972 \end_layout
28973
28974 \begin_layout Enumerate
28975 Files that are 
28976 \begin_inset Quotes eld
28977 \end_inset
28978
28979 included
28980 \begin_inset Quotes erd
28981 \end_inset
28982
28983  are typeset beginning on a new page,
28984  while files that are 
28985 \begin_inset Quotes eld
28986 \end_inset
28987
28988 inputted
28989 \begin_inset Quotes erd
28990 \end_inset
28991
28992  are typeset starting on the current page.
28993 \end_layout
28994
28995 \begin_layout Enumerate
28996 \begin_inset Quotes eld
28997 \end_inset
28998
28999 Included
29000 \begin_inset Quotes erd
29001 \end_inset
29002
29003  files cannot themselves 
29004 \begin_inset Quotes eld
29005 \end_inset
29006
29007 include
29008 \begin_inset Quotes erd
29009 \end_inset
29010
29011  further files (
29012 \begin_inset Quotes eld
29013 \end_inset
29014
29015 grandchilds
29016 \begin_inset Quotes erd
29017 \end_inset
29018
29019 ).
29020  With 
29021 \begin_inset Quotes eld
29022 \end_inset
29023
29024 input
29025 \begin_inset Quotes erd
29026 \end_inset
29027
29028 ,
29029  on the other hand,
29030  infinite sub-inputting is possible.
29031 \end_layout
29032
29033 \begin_layout Enumerate
29034 \begin_inset Quotes eld
29035 \end_inset
29036
29037 Include
29038 \begin_inset Quotes erd
29039 \end_inset
29040
29041  allow for the output of only selected 
29042 \begin_inset Quotes eld
29043 \end_inset
29044
29045 included
29046 \begin_inset Quotes erd
29047 \end_inset
29048
29049  files,
29050  while maintaining the actual counters (pagination etc.) and references (please refer to the section 
29051 \emph on
29052 Child
29053 \begin_inset space ~
29054 \end_inset
29055
29056 Documents
29057 \emph default
29058  of the 
29059 \emph on
29060 Embedded
29061 \begin_inset space ~
29062 \end_inset
29063
29064 Objects
29065 \emph default
29066  manual for details).
29067 \end_layout
29068
29069 \begin_layout Standard
29070 Hence,
29071  
29072 \begin_inset Quotes eld
29073 \end_inset
29074
29075 include
29076 \begin_inset Quotes erd
29077 \end_inset
29078
29079  is the preferred method for chapters that are outsourced to child documents,
29080  while 
29081 \begin_inset Quotes eld
29082 \end_inset
29083
29084 input
29085 \begin_inset Quotes erd
29086 \end_inset
29087
29088  is more suitable for arbitrary file inheritance.
29089 \end_layout
29090
29091 \begin_layout Standard
29092
29093 \begin_inset Quotes eld
29094 \end_inset
29095
29096 verbatim
29097 \begin_inset Quotes erd
29098 \end_inset
29099
29100  included file allows you to include a file typeset exactly as it appears in the file,
29101  i.
29102 \begin_inset space \thinspace{}
29103 \end_inset
29104
29105 e.
29106 \begin_inset space \space{}
29107 \end_inset
29108
29109 in 
29110 \begin_inset Flex Code
29111 status collapsed
29112
29113 \begin_layout Plain Layout
29114 verbatim
29115 \end_layout
29116
29117 \end_inset
29118
29119  mode,
29120  with the characters set in a fixed-width typewriter font.
29121  Normally,
29122  spaces in this file are invisible,
29123  though two consecutive spaces are conserved,
29124  unlike \SpecialChar LyX
29125 's normal treatment of spaces.
29126  However,
29127  setting the 
29128 \begin_inset Flex Noun
29129 status collapsed
29130
29131 \begin_layout Plain Layout
29132 Mark
29133 \begin_inset space ~
29134 \end_inset
29135
29136 spaces
29137 \begin_inset space ~
29138 \end_inset
29139
29140 in
29141 \begin_inset space ~
29142 \end_inset
29143
29144 output
29145 \end_layout
29146
29147 \end_inset
29148
29149  checkbox typesets a mark to unambiguously define the presence of a space.
29150  
29151 \end_layout
29152
29153 \begin_layout Standard
29154 Generally,
29155  the master file is converted into a full \SpecialChar LaTeX
29156  file before typesetting,
29157  while the included files are converted to \SpecialChar LaTeX
29158  files that do not have all the preamble information.
29159 \end_layout
29160
29161 \begin_layout Subsection
29162 Cross-References Between Files
29163 \end_layout
29164
29165 \begin_layout Standard
29166 \begin_inset Box Shadowbox
29167 position "t"
29168 hor_pos "c"
29169 has_inner_box 1
29170 inner_pos "t"
29171 use_parbox 0
29172 use_makebox 0
29173 width "100col%"
29174 special "none"
29175 height "1in"
29176 height_special "totalheight"
29177 thickness "0.4pt"
29178 separation "3pt"
29179 shadowsize "4pt"
29180 framecolor "black"
29181 backgroundcolor "none"
29182 status open
29183
29184 \begin_layout Plain Layout
29185 This section is somewhat out of date.
29186  Need to describe default master documents and how children are opened when the master is.
29187  [[FIXME]]
29188 \end_layout
29189
29190 \end_inset
29191
29192
29193 \end_layout
29194
29195 \begin_layout Standard
29196 It is possible to set up cross-references between the different files.
29197  First,
29198  open all the files in question:
29199  let's call them A and B in a two file example,
29200  where B is included in A.
29201  Let's say you insert a label in A,
29202  then want to reference it in B.
29203  Open the cross-reference dialog whilst in document B,
29204  and you can select the 
29205 \begin_inset Quotes eld
29206 \end_inset
29207
29208 buffer
29209 \begin_inset Quotes erd
29210 \end_inset
29211
29212  to use.
29213 \end_layout
29214
29215 \begin_layout Subsection
29216 Bibliography Lists in all Subdocuments
29217 \end_layout
29218
29219 \begin_layout Standard
29220 If you work with child documents,
29221  you might want to have only one main bibliography at the end,
29222  but still be able to have a selected bibliography for the child if you output it on its own.
29223  Here is how to achieve this.
29224 \end_layout
29225
29226 \begin_layout Standard
29227 For the main document,
29228  you just insert a bibliography inset at the place where the main bibliography has to appear (within the master file or within a child).
29229  If the bibliography inset is in the master file,
29230  the references will be inherited by all children,
29231  so they are available in the citation dialog within each child.
29232 \end_layout
29233
29234 \begin_layout Standard
29235 For child-specific bibliographies,
29236  insert bibliography insets within the child documents,
29237  at the place where the bibliography should appear when the child is compiled separately.
29238  However,
29239  the trick is to insert them into a branch (
29240 \family sans
29241 Insert\SpecialChar menuseparator
29242 Branch\SpecialChar menuseparator
29243 Insert New Branch...
29244 \family default
29245 ),
29246  e.
29247 \begin_inset space \thinspace{}
29248 \end_inset
29249
29250 g.
29251  called 
29252 \begin_inset Quotes eld
29253 \end_inset
29254
29255 Childonly
29256 \begin_inset Quotes erd
29257 \end_inset
29258
29259 .
29260  Within the children,
29261  activate the branch (
29262 \family sans
29263 Document\SpecialChar menuseparator
29264 Settings...\SpecialChar menuseparator
29265 Branches
29266 \family default
29267 ).
29268  Within the master,
29269  deactivate the branch (
29270 \family sans
29271 Document\SpecialChar menuseparator
29272 Settings...\SpecialChar menuseparator
29273 Branches
29274 \family default
29275 ).
29276  Now the child's bibliography will be ignored by the master,
29277  but considered by the child.
29278 \end_layout
29279
29280 \begin_layout Standard
29281 If you need multiple bibliographies (e.
29282 \begin_inset space \thinspace{}
29283 \end_inset
29284
29285 g.,
29286  one per child in the 
29287 \emph on
29288 main document
29289 \emph default
29290 ),
29291  please refer to sec.
29292 \begin_inset space ~
29293 \end_inset
29294
29295
29296 \begin_inset CommandInset ref
29297 LatexCommand ref
29298 reference "subsec:Multiple-Bibliographies"
29299 nolink "false"
29300
29301 \end_inset
29302
29303 .
29304 \end_layout
29305
29306 \begin_layout Section
29307 \SpecialChar LyX
29308  Archives
29309 \end_layout
29310
29311 \begin_layout Standard
29312 Users sometimes need to be able to 
29313 \begin_inset Quotes eld
29314 \end_inset
29315
29316 bundle
29317 \begin_inset Quotes erd
29318 \end_inset
29319
29320  a \SpecialChar LyX
29321  file together with all the images (and other files) on which it depends,
29322  either for sending to a publisher or for sharing with a co-author.
29323  \SpecialChar LyX
29324  includes a Python script (
29325 \begin_inset Flex Code
29326 status collapsed
29327
29328 \begin_layout Plain Layout
29329 lyxpak.py
29330 \end_layout
29331
29332 \end_inset
29333
29334 ) that automates this process.
29335  To use it,
29336  you must have either the 
29337 \begin_inset Flex Code
29338 status collapsed
29339
29340 \begin_layout Plain Layout
29341 zipfile
29342 \end_layout
29343
29344 \end_inset
29345
29346  or 
29347 \begin_inset Flex Code
29348 status collapsed
29349
29350 \begin_layout Plain Layout
29351 tarfile
29352 \end_layout
29353
29354 \end_inset
29355
29356  python modules installed on your system.
29357  By default,
29358  the script prefers the 
29359 \begin_inset Flex Code
29360 status collapsed
29361
29362 \begin_layout Plain Layout
29363 gzip
29364 \end_layout
29365
29366 \end_inset
29367
29368 -compressed 
29369 \begin_inset Flex Code
29370 status collapsed
29371
29372 \begin_layout Plain Layout
29373 tar
29374 \end_layout
29375
29376 \end_inset
29377
29378  format on Unix-like systems and the 
29379 \begin_inset Flex Code
29380 status collapsed
29381
29382 \begin_layout Plain Layout
29383 zip
29384 \end_layout
29385
29386 \end_inset
29387
29388  format on Windows.
29389 \end_layout
29390
29391 \begin_layout Standard
29392 \SpecialChar LyX
29393 's configuration process will set the script up to export a `\SpecialChar LyX
29394  Archive',
29395  and this format will then be available under 
29396 \change_deleted -712698321 1674917789
29397
29398 \begin_inset Flex Code
29399 status collapsed
29400
29401 \begin_layout Plain Layout
29402 File\SpecialChar menuseparator
29403 Export
29404 \end_layout
29405
29406 \end_inset
29407
29408
29409 \change_inserted -712698321 1674917789
29410
29411 \family sans
29412 File\SpecialChar menuseparator
29413 Export
29414 \change_unchanged
29415
29416 \family default
29417 .
29418 \end_layout
29419
29420 \begin_layout Standard
29421 Independently of the platform,
29422  the generation of a particular archive format can be forced by adding either the 
29423 \begin_inset Flex Code
29424 status collapsed
29425
29426 \begin_layout Plain Layout
29427 -t
29428 \end_layout
29429
29430 \end_inset
29431
29432  (for the 
29433 \begin_inset Flex Code
29434 status collapsed
29435
29436 \begin_layout Plain Layout
29437 tar
29438 \end_layout
29439
29440 \end_inset
29441
29442  format) or 
29443 \begin_inset Flex Code
29444 status collapsed
29445
29446 \begin_layout Plain Layout
29447 -z
29448 \end_layout
29449
29450 \end_inset
29451
29452  (for the 
29453 \begin_inset Flex Code
29454 status collapsed
29455
29456 \begin_layout Plain Layout
29457 zip
29458 \end_layout
29459
29460 \end_inset
29461
29462  format) switch to the 
29463 \begin_inset Flex Code
29464 status collapsed
29465
29466 \begin_layout Plain Layout
29467 \SpecialChar LyX
29468
29469 \change_deleted -712698321 1674918890
29470 \SpecialChar menuseparator
29471
29472 \change_inserted -712698321 1674918890
29473 ->
29474 \change_unchanged
29475 \SpecialChar LyX
29476  Archive
29477 \end_layout
29478
29479 \end_inset
29480
29481  converter in 
29482 \change_deleted -712698321 1674917814
29483
29484 \begin_inset Flex Code
29485 status collapsed
29486
29487 \begin_layout Plain Layout
29488 Tools\SpecialChar menuseparator
29489 Preferences\SpecialChar menuseparator
29490 File Handling\SpecialChar menuseparator
29491 Converters
29492 \end_layout
29493
29494 \end_inset
29495
29496
29497 \change_inserted -712698321 1674917814
29498
29499 \family sans
29500 Tools\SpecialChar menuseparator
29501 Preferences\SpecialChar menuseparator
29502 File Handling\SpecialChar menuseparator
29503 Converters
29504 \change_unchanged
29505
29506 \family default
29507 .
29508  (Make sure you add the switch after the script name,
29509  not before it.)
29510 \end_layout
29511
29512 \begin_layout Section
29513
29514 \change_deleted -712698321 1674910251
29515 Fancy Headers and Footers
29516 \end_layout
29517
29518 \begin_layout Standard
29519
29520 \change_deleted -712698321 1674910251
29521 The default page layout is rather plain;
29522  for an 
29523 \begin_inset Flex Code
29524 status collapsed
29525
29526 \begin_layout Plain Layout
29527 article
29528 \end_layout
29529
29530 \end_inset
29531
29532  document class,
29533  all you get is a centered page number at the bottom of the page.
29534  This document uses KOMA-script's book class,
29535  so it appears to be a bit fancier.
29536  But to really put on a show,
29537  you need to set the document page style to 
29538 \begin_inset Quotes eld
29539 \end_inset
29540
29541 fancy
29542 \begin_inset Quotes erd
29543 \end_inset
29544
29545 ,
29546  as mentioned in the 
29547 \emph on
29548 User Guide
29549 \emph default
29550 .
29551  This section describes the \SpecialChar LaTeX
29552  code you need to insert in your \SpecialChar LaTeX
29553  preamble in order to get the desired effects.
29554 \end_layout
29555
29556 \begin_layout Standard
29557
29558 \change_deleted -712698321 1674910251
29559 For more information on fancy headers,
29560  see the 
29561 \begin_inset Flex Code
29562 status collapsed
29563
29564 \begin_layout Plain Layout
29565 fancyhdr
29566 \end_layout
29567
29568 \end_inset
29569
29570  package documentation.
29571  (
29572 \begin_inset Flex URL
29573 status collapsed
29574
29575 \begin_layout Plain Layout
29576
29577 https://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html
29578 \end_layout
29579
29580 \end_inset
29581
29582 )
29583 \end_layout
29584
29585 \begin_layout Standard
29586
29587 \change_deleted -712698321 1674910251
29588 The page header is divided into three fields,
29589  not surprisingly labeled 
29590 \begin_inset Quotes eld
29591 \end_inset
29592
29593 left
29594 \begin_inset Quotes erd
29595 \end_inset
29596
29597 ,
29598  
29599 \begin_inset Quotes eld
29600 \end_inset
29601
29602 center
29603 \begin_inset Quotes erd
29604 \end_inset
29605
29606 ,
29607  and 
29608 \begin_inset Quotes eld
29609 \end_inset
29610
29611 right
29612 \begin_inset Quotes erd
29613 \end_inset
29614
29615 .
29616  The footer is also divided into these three fields.
29617  The \SpecialChar LaTeX
29618  commands to set these fields in the simplest manner are 
29619 \begin_inset Flex Code
29620 status collapsed
29621
29622 \begin_layout Plain Layout
29623
29624 \backslash
29625 lhead
29626 \end_layout
29627
29628 \end_inset
29629
29630 ,
29631  
29632 \begin_inset Flex Code
29633 status collapsed
29634
29635 \begin_layout Plain Layout
29636
29637 \backslash
29638 chead
29639 \end_layout
29640
29641 \end_inset
29642
29643 ,
29644  
29645 \begin_inset Flex Code
29646 status collapsed
29647
29648 \begin_layout Plain Layout
29649
29650 \backslash
29651 rhead
29652 \end_layout
29653
29654 \end_inset
29655
29656 ,
29657  
29658 \begin_inset Flex Code
29659 status collapsed
29660
29661 \begin_layout Plain Layout
29662
29663 \backslash
29664 lfoot
29665 \end_layout
29666
29667 \end_inset
29668
29669 ,
29670  etc.
29671  Suppose you wish to put your name in the upper left hand corner of each page.
29672  Simply insert the following command in the preamble:
29673  
29674 \end_layout
29675
29676 \begin_layout Standard
29677
29678 \change_deleted -712698321 1674910251
29679
29680 \family typewriter
29681
29682 \backslash
29683 lhead{John Q.
29684  DocWriter}
29685 \end_layout
29686
29687 \begin_layout Standard
29688
29689 \change_deleted -712698321 1674910251
29690 You will now see your name in the upper left.
29691  If a field has a default entry that you would like to get rid of (often the page number appears in the central footer) simply include a command with a blank argument,
29692  e.
29693 \begin_inset space \thinspace{}
29694 \end_inset
29695
29696 g.:
29697 \end_layout
29698
29699 \begin_layout Standard
29700
29701 \change_deleted -712698321 1674910251
29702
29703 \family typewriter
29704
29705 \backslash
29706 cfoot{}
29707 \end_layout
29708
29709 \begin_layout Standard
29710
29711 \change_deleted -712698321 1674910251
29712 Let's get really fancy:
29713  lets put the section number with the word 
29714 \begin_inset Quotes eld
29715 \end_inset
29716
29717 Section
29718 \begin_inset Quotes erd
29719 \end_inset
29720
29721  (e.
29722 \begin_inset space \thinspace{}
29723 \end_inset
29724
29725 g.
29726 \begin_inset space \space{}
29727 \end_inset
29728
29729 Section 3) in the upper left,
29730  the page number (e.
29731 \begin_inset space \thinspace{}
29732 \end_inset
29733
29734 g.
29735 \begin_inset space \space{}
29736 \end_inset
29737
29738 Page 4) in the upper right,
29739  your name in the lower left,
29740  and the date in the lower right.
29741  The following commands should now appear in the preamble:
29742 \end_layout
29743
29744 \begin_layout Standard
29745
29746 \change_deleted -712698321 1674910251
29747
29748 \family typewriter
29749
29750 \backslash
29751 lhead{Section 
29752 \backslash
29753 thesection}
29754 \end_layout
29755
29756 \begin_layout Standard
29757
29758 \change_deleted -712698321 1674910251
29759
29760 \family typewriter
29761
29762 \backslash
29763 chead{}
29764 \end_layout
29765
29766 \begin_layout Standard
29767
29768 \change_deleted -712698321 1674910251
29769
29770 \family typewriter
29771
29772 \backslash
29773 rhead{Page 
29774 \backslash
29775 thepage}
29776 \end_layout
29777
29778 \begin_layout Standard
29779
29780 \change_deleted -712698321 1674910251
29781
29782 \family typewriter
29783
29784 \backslash
29785 lfoot{John Q.
29786  DocWriter}
29787 \end_layout
29788
29789 \begin_layout Standard
29790
29791 \change_deleted -712698321 1674910251
29792
29793 \family typewriter
29794
29795 \backslash
29796 cfoot{}
29797 \end_layout
29798
29799 \begin_layout Standard
29800
29801 \change_deleted -712698321 1674910251
29802
29803 \family typewriter
29804
29805 \backslash
29806 rfoot{
29807 \backslash
29808 today}
29809 \end_layout
29810
29811 \begin_layout Standard
29812
29813 \change_deleted -712698321 1674910251
29814 The commands 
29815 \begin_inset Flex Code
29816 status collapsed
29817
29818 \begin_layout Plain Layout
29819
29820 \backslash
29821 thesection
29822 \end_layout
29823
29824 \end_inset
29825
29826  and 
29827 \begin_inset Flex Code
29828 status collapsed
29829
29830 \begin_layout Plain Layout
29831
29832 \backslash
29833 thepage
29834 \end_layout
29835
29836 \end_inset
29837
29838  access \SpecialChar LaTeX
29839 's section and page counters,
29840  and so print out the current section and page number.
29841  
29842 \begin_inset Flex Code
29843 status collapsed
29844
29845 \begin_layout Plain Layout
29846
29847 \backslash
29848 today
29849 \end_layout
29850
29851 \end_inset
29852
29853  simply prints out today's date.
29854 \end_layout
29855
29856 \begin_layout Standard
29857
29858 \change_deleted -712698321 1674910251
29859 The thicknesses of the horizontal rules drawn beneath the header and above the footer can also be modified.
29860  If you don't want one of the rules,
29861  set its thickness to 0.
29862  The header rule has a default thickness of 0.4pt,
29863  the footer rule is 0pt.
29864  Use commands
29865 \family typewriter
29866  
29867 \family default
29868 like 
29869 \begin_inset Flex Code
29870 status collapsed
29871
29872 \begin_layout Plain Layout
29873
29874 \backslash
29875 renewcommand{
29876 \backslash
29877 headrulewidth}{0.4pt}
29878 \end_layout
29879
29880 \end_inset
29881
29882  and 
29883 \begin_inset Flex Code
29884 status collapsed
29885
29886 \begin_layout Plain Layout
29887
29888 \backslash
29889 renewcommand{
29890 \backslash
29891 footrulewidth}{0.4pt}
29892 \end_layout
29893
29894 \end_inset
29895
29896  to set the thicknesses.
29897 \end_layout
29898
29899 \begin_layout Standard
29900
29901 \change_deleted -712698321 1674910251
29902 You can switch the header/footer settings on and off for individual pages using commands like 
29903 \begin_inset Flex Code
29904 status collapsed
29905
29906 \begin_layout Plain Layout
29907
29908 \backslash
29909 thispagestyle{empty}
29910 \end_layout
29911
29912 \end_inset
29913
29914 ,
29915  
29916 \begin_inset Flex Code
29917 status collapsed
29918
29919 \begin_layout Plain Layout
29920
29921 \backslash
29922 thispagestyle{plain}
29923 \end_layout
29924
29925 \end_inset
29926
29927 ,
29928  and 
29929 \begin_inset Flex Code
29930 status collapsed
29931
29932 \begin_layout Plain Layout
29933
29934 \backslash
29935 thispagestyle{fancy}
29936 \end_layout
29937
29938 \end_inset
29939
29940 .
29941  Simply insert them in the text on the page you want changed and mark them as \SpecialChar TeX
29942  code.
29943  In fact,
29944  title pages are marked as plain by default,
29945  while following pages are marked fancy when using the global fancy setting.
29946 \end_layout
29947
29948 \begin_layout Standard
29949
29950 \change_deleted -712698321 1674910251
29951 As a final example,
29952  it is possible to include an image in the header or footer.
29953  Suppose you want to put a company logo in the upper lefthand corner.
29954  You might try something like
29955 \end_layout
29956
29957 \begin_layout Standard
29958
29959 \change_deleted -712698321 1674910251
29960
29961 \family typewriter
29962
29963 \backslash
29964 lhead{
29965 \backslash
29966 resizebox{1in}{!}{
29967 \backslash
29968 includegraphics{logo.eps}}}
29969 \end_layout
29970
29971 \begin_layout Standard
29972 \noindent
29973
29974 \change_deleted -712698321 1674910251
29975 (you may need to preface this with 
29976 \begin_inset Flex Code
29977 status collapsed
29978
29979 \begin_layout Plain Layout
29980
29981 \backslash
29982 usepackage{graphics}
29983 \end_layout
29984
29985 \end_inset
29986
29987  if you don't include graphics elsewhere in your document).
29988 \change_unchanged
29989
29990 \end_layout
29991
29992 \begin_layout Chapter
29993 \SpecialChar LyX
29994  and the World Wide Web
29995 \end_layout
29996
29997 \begin_layout Standard
29998 \SpecialChar LyX
29999  has long supported the export of documents to various web-friendly formats,
30000  such as HTML.
30001  Before version 2.0,
30002  however,
30003  HTML export was always accomplished by the use of external converters.
30004 \begin_inset Foot
30005 status collapsed
30006
30007 \begin_layout Plain Layout
30008 For details on the use of external converters with \SpecialChar LyX
30009 ,
30010  see the 
30011 \emph on
30012 Converters
30013 \emph default
30014  section of the Customization manual.
30015 \end_layout
30016
30017 \end_inset
30018
30019  These fall into two large groups:
30020  there are converters that use \SpecialChar LaTeX
30021  as an intermediate format,
30022  such as 
30023 \begin_inset Flex Code
30024 status collapsed
30025
30026 \begin_layout Plain Layout
30027 htlatex
30028 \end_layout
30029
30030 \end_inset
30031
30032 ,
30033  
30034 \begin_inset Flex Code
30035 status collapsed
30036
30037 \begin_layout Plain Layout
30038 html2latex
30039 \end_layout
30040
30041 \end_inset
30042
30043 ,
30044  and 
30045 \begin_inset Flex Code
30046 status collapsed
30047
30048 \begin_layout Plain Layout
30049 plastex
30050 \end_layout
30051
30052 \end_inset
30053
30054 ,
30055  relying upon \SpecialChar LyX
30056  to produce the \SpecialChar LaTeX
30057 ;
30058  and there is a converter that works directly on \SpecialChar LyX
30059  files,
30060  
30061 \begin_inset Flex Code
30062 status collapsed
30063
30064 \begin_layout Plain Layout
30065 e\SpecialChar LyX
30066 er
30067 \end_layout
30068
30069 \end_inset
30070
30071 .
30072  All of these have different advantages and disadvantages.
30073  
30074 \end_layout
30075
30076 \begin_layout Standard
30077 The \SpecialChar LaTeX
30078 -based converters have the advantage that,
30079  in principle,
30080  they know everything about the exported document that \SpecialChar LaTeX
30081  does.
30082  Such converters do not care,
30083  for example,
30084  if a certain block of code was produced by \SpecialChar LyX
30085  or was Evil Red Text.
30086  These converters know about 
30087 \begin_inset Flex Code
30088 status collapsed
30089
30090 \begin_layout Plain Layout
30091 aux
30092 \end_layout
30093
30094 \end_inset
30095
30096  files,
30097  counters,
30098  and references,
30099  and can often make use of the 
30100 \begin_inset Flex Code
30101 status collapsed
30102
30103 \begin_layout Plain Layout
30104 bbl
30105 \end_layout
30106
30107 \end_inset
30108
30109  files generated by Bib\SpecialChar TeX
30110 .
30111  On the other hand,
30112  \SpecialChar LaTeX
30113  is a very hard language to parse—
30114 it is sometimes said that only \SpecialChar TeX
30115  itself understands \SpecialChar TeX
30116
30117 and \SpecialChar LaTeX
30118 -based converters will often choke on what seem to be quite simple constructs;
30119  complex ones can throw them completely,
30120  and as of this writing,
30121  for example,
30122  the 
30123 \emph on
30124 Embedded Objects
30125 \emph default
30126  manual will not export with 
30127 \begin_inset Flex Code
30128 status collapsed
30129
30130 \begin_layout Plain Layout
30131 htlatex
30132 \end_layout
30133
30134 \end_inset
30135
30136 ,
30137  though the others will.
30138  The other issue concerns how math is handled.
30139  These converters typically convert the formulae into little pictures that are then linked from the HTML document.
30140  Since these are actually generated by \SpecialChar LaTeX
30141 ,
30142  they are accurate.
30143  But they do not scale well,
30144  and just getting them to look as if they are actually meant to be in your document—
30145 so that the font sizes seem to be roughly the same—
30146 can be a challenge.
30147 \end_layout
30148
30149 \begin_layout Standard
30150 Alex Fernandez's 
30151 \begin_inset Flex Code
30152 status collapsed
30153
30154 \begin_layout Plain Layout
30155 e\SpecialChar LyX
30156 er
30157 \end_layout
30158
30159 \end_inset
30160
30161  (
30162 \begin_inset CommandInset href
30163 LatexCommand href
30164 name "http://pinchito.es/elyxer/"
30165 target "http://pinchito.es/elyxer/"
30166 literal "false"
30167
30168 \end_inset
30169
30170 ) solves some of these problems.
30171  In particular,
30172  the formulae it produces scale perfectly,
30173  since it renders math using a combination of HTML and CSS rather than converting the formulae to images.
30174  But even moderately complex formula are rendered less well than with 
30175 \begin_inset Flex Code
30176 status collapsed
30177
30178 \begin_layout Plain Layout
30179 htlatex
30180 \end_layout
30181
30182 \end_inset
30183
30184 ;
30185  this reflects the limitations of HTML.
30186 \begin_inset Foot
30187 status collapsed
30188
30189 \begin_layout Plain Layout
30190 That said,
30191  
30192 \begin_inset Flex Code
30193 status collapsed
30194
30195 \begin_layout Plain Layout
30196 e\SpecialChar LyX
30197 er
30198 \end_layout
30199
30200 \end_inset
30201
30202  can also use jsMath and MathJax for equations,
30203  but this setting is only available globally and requires one to have access to a server that runs the backend.
30204 \end_layout
30205
30206 \end_inset
30207
30208  More importantly (as of version 1.1.1,
30209  at least),
30210  
30211 \begin_inset Flex Code
30212 status collapsed
30213
30214 \begin_layout Plain Layout
30215 e\SpecialChar LyX
30216 er
30217 \end_layout
30218
30219 \end_inset
30220
30221  has limited support for math macros and no support for user-defined paragraph or character styles.
30222  These limitations make 
30223 \begin_inset Flex Code
30224 status collapsed
30225
30226 \begin_layout Plain Layout
30227 e\SpecialChar LyX
30228 er
30229 \end_layout
30230
30231 \end_inset
30232
30233  unsuitable for many of the documents \SpecialChar LyX
30234  users produce.
30235  In principle,
30236  of course,
30237  these problems could be solved,
30238  but the \SpecialChar LyX
30239  developers have decided to follow a different path and have made \SpecialChar LyX
30240  itself capable of writing XHTML,
30241  just as it is capable of writing \SpecialChar LaTeX
30242 ,
30243  DocBook,
30244  and plaintext.
30245 \end_layout
30246
30247 \begin_layout Standard
30248 As of this writing,
30249  XHTML output remains under development and should probably be regarded as 
30250 \begin_inset Quotes eld
30251 \end_inset
30252
30253 experimental
30254 \begin_inset Quotes erd
30255 \end_inset
30256
30257 .
30258 \begin_inset Foot
30259 status collapsed
30260
30261 \begin_layout Plain Layout
30262 The file 
30263 \begin_inset Flex Code
30264 status collapsed
30265
30266 \begin_layout Plain Layout
30267 development/HTML/HTML.notes
30268 \end_layout
30269
30270 \end_inset
30271
30272 ,
30273  which can be found in the \SpecialChar LyX
30274  source tree or 
30275 \begin_inset CommandInset href
30276 LatexCommand href
30277 name "accessed online"
30278 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
30279 literal "false"
30280
30281 \end_inset
30282
30283 ,
30284  usually contains up-to-date information about the state of XHTML output.
30285  See also the list of XHTML bugs on 
30286 \begin_inset CommandInset href
30287 LatexCommand href
30288 name "the bug tracker"
30289 target "https://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
30290 literal "false"
30291
30292 \end_inset
30293
30294 .
30295 \end_layout
30296
30297 \end_inset
30298
30299  Still,
30300  the developers have chosen this approach because it has several potential advantages over the other two.
30301 \end_layout
30302
30303 \begin_layout Standard
30304 These advantages are primarily due to the fact that the XHTML output routines,
30305  since they are part of \SpecialChar LyX
30306 ,
30307  know everything \SpecialChar LyX
30308  knows about the document being exported.
30309 \begin_inset Foot
30310 status collapsed
30311
30312 \begin_layout Plain Layout
30313 Another advantage is that,
30314  since these routines are internal to \SpecialChar LyX
30315 ,
30316  they are immune to changes in \SpecialChar LyX
30317 's file format,
30318  or to changes in the semantics of existing insets.
30319 \end_layout
30320
30321 \end_inset
30322
30323  So they know about the table of contents (as displayed in the outline),
30324  about the counters associated with different paragraph styles,
30325  and about user-defined styles.
30326  The XHTML output routines know what \SpecialChar LyX
30327  knows about internationalization,
30328  too,
30329  so they will output 
30330 \begin_inset Quotes eld
30331 \end_inset
30332
30333 Chapter 1
30334 \begin_inset Quotes erd
30335 \end_inset
30336
30337  or 
30338 \begin_inset Quotes eld
30339 \end_inset
30340
30341
30342 \lang ngerman
30343 Kapitel
30344 \lang english
30345  1
30346 \begin_inset Quotes erd
30347 \end_inset
30348
30349 ,
30350  depending upon the language in effect at the time.
30351  
30352 \end_layout
30353
30354 \begin_layout Standard
30355 Quite generally,
30356  the output routines know what \SpecialChar LyX
30357  knows about document layout,
30358  that is,
30359  about how the document is to be rendered on screen.
30360  We use this information when we output the document as XHTML.
30361  In particular,
30362  \SpecialChar LyX
30363  
30364 \emph on
30365 automatically
30366 \emph default
30367  generates CSS style information corresponding to the layout information it uses to render the document on screen:
30368  if section headings are supposed to be sans-serif and bold as seen in \SpecialChar LyX
30369 ,
30370  then (by default) they will be sans-serif and bold when viewed in a web browser,
30371  too.
30372  And this is true not just for pre-defined styles,
30373  like Section,
30374  but for any style,
30375  including user-defined styles.
30376  Indeed,
30377  the XHTML output routines make no distinction between user-defined paragraph and 
30378 \change_deleted 244031559 1603876931
30379 character
30380 \change_inserted 244031559 1603876940
30381 text
30382 \change_unchanged
30383  styles and \SpecialChar LyX
30384 's own pre-defined styles:
30385  in each case,
30386  everything \SpecialChar LyX
30387  knows about the styles is contained in the layout files.
30388  And much the same is true as regards pre-defined textual insets,
30389  such as footnotes,
30390  and various custom insets.
30391  
30392 \end_layout
30393
30394 \begin_layout Standard
30395 The result is that XHTML output can be customized and extended in exactly the same way \SpecialChar LaTeX
30396  output can be customized and extended:
30397  through layout files and modules.
30398  See chapter five of the 
30399 \emph on
30400 Customization 
30401 \emph default
30402 manual for the details.
30403 \end_layout
30404
30405 \begin_layout Standard
30406 The remainder of this chapter contains more detailed information on XHTML output,
30407  its limitations,
30408  and ways to work around those limitations.
30409 \end_layout
30410
30411 \begin_layout Section
30412 Math Output in XHTML
30413 \end_layout
30414
30415 \begin_layout Standard
30416 \SpecialChar LyX
30417  offers four choices for how math is rendered.
30418  These have various advantages and disadvantages:
30419 \end_layout
30420
30421 \begin_layout Itemize
30422 MathML
30423 \begin_inset Newline newline
30424 \end_inset
30425
30426 MathML is a dialect of XML designed specifically for mathematics on the web,
30427  and it typically renders very well in browsers that support it.
30428  The disadvantage is that not all browsers support MathML,
30429  and support is not complete even in the Gecko-based browsers,
30430  such as Firefox.
30431 \begin_inset Newline newline
30432 \end_inset
30433
30434 If \SpecialChar LyX
30435  is unable to render a formula as MathML—
30436 for example,
30437  if the formula uses the 
30438 \begin_inset Flex Code
30439 status collapsed
30440
30441 \begin_layout Plain Layout
30442 xymatrix
30443 \end_layout
30444
30445 \end_inset
30446
30447  package or ERT—
30448 then it will instead output the formula as an image.
30449  
30450 \end_layout
30451
30452 \begin_layout Itemize
30453 HTML
30454 \begin_inset Newline newline
30455 \end_inset
30456
30457 As mentioned above,
30458  
30459 \begin_inset Flex Code
30460 status collapsed
30461
30462 \begin_layout Plain Layout
30463 elyxer
30464 \end_layout
30465
30466 \end_inset
30467
30468  outputs math as HTML,
30469  styled by CSS.
30470 \begin_inset Foot
30471 status collapsed
30472
30473 \begin_layout Plain Layout
30474 \SpecialChar LyX
30475  has borrowed some of the CSS for its HTML output from 
30476 \begin_inset Flex Code
30477 status collapsed
30478
30479 \begin_layout Plain Layout
30480 elyxer
30481 \end_layout
30482
30483 \end_inset
30484
30485 .
30486 \end_layout
30487
30488 \end_inset
30489
30490  For simple formulae,
30491  this can work quite well,
30492  though with more complicated formulae it tends to break down.
30493  Still,
30494  this method has the advantage that it is very widely supported and so it may be appropriate for documents that contain only a little,
30495  fairly simple math.
30496 \begin_inset Newline newline
30497 \end_inset
30498
30499 If Lyx is unable to render a formula as HTML—
30500 for example,
30501  if the formula uses the 
30502 \begin_inset Flex Code
30503 status collapsed
30504
30505 \begin_layout Plain Layout
30506 xymatrix
30507 \end_layout
30508
30509 \end_inset
30510
30511  package or ERT—
30512 then it will instead output the formula as an image.
30513  
30514 \end_layout
30515
30516 \begin_layout Itemize
30517 Images
30518 \begin_inset Newline newline
30519 \end_inset
30520
30521 Like 
30522 \begin_inset Flex Code
30523 status collapsed
30524
30525 \begin_layout Plain Layout
30526 htlatex
30527 \end_layout
30528
30529 \end_inset
30530
30531 ,
30532  \SpecialChar LyX
30533  will output formulae as images,
30534  the very same images,
30535  in fact,
30536  that are used for instant preview.
30537 \begin_inset Foot
30538 status collapsed
30539
30540 \begin_layout Plain Layout
30541 Instant preview does 
30542 \emph on
30543 not 
30544 \emph default
30545 have to be on for images to be output,
30546  however.
30547 \end_layout
30548
30549 \end_inset
30550
30551  The advantage to this method is that the images are simply generated by \SpecialChar LaTeX
30552 ,
30553  so they are very accurate.
30554  The disadvantage,
30555  as mentioned earlier,
30556  is that these are bitmapped images,
30557  so they do not scale terribly well,
30558  and one cannot copy them,
30559  etc.
30560 \begin_inset Newline newline
30561 \end_inset
30562
30563 The size of the images can be controlled by setting the 
30564 \begin_inset Quotes eld
30565 \end_inset
30566
30567 Math Images Scaling
30568 \begin_inset Quotes erd
30569 \end_inset
30570
30571  parameter under 
30572 \change_deleted -712698321 1674917822
30573
30574 \begin_inset Flex Noun
30575 status collapsed
30576
30577 \begin_layout Plain Layout
30578 Document\SpecialChar menuseparator
30579 Settings\SpecialChar menuseparator
30580 Formats
30581 \end_layout
30582
30583 \end_inset
30584
30585
30586 \change_inserted -712698321 1674917822
30587
30588 \family sans
30589 Document\SpecialChar menuseparator
30590 Settings\SpecialChar menuseparator
30591 Formats
30592 \change_unchanged
30593
30594 \family default
30595 .
30596 \begin_inset Foot
30597 status collapsed
30598
30599 \begin_layout Plain Layout
30600 For those who want to know,
30601  this controls the resolution of the image in dots per inch and is based upon a default of 75 dpi.
30602 \end_layout
30603
30604 \end_inset
30605
30606
30607 \begin_inset Newline newline
30608 \end_inset
30609
30610 If \SpecialChar LyX
30611  for some reason fails to create an image for a formula (e.g.,
30612  if a required \SpecialChar LaTeX
30613  package is not installed),
30614  then it will fall back to outputing the raw \SpecialChar LaTeX
30615 .
30616 \end_layout
30617
30618 \begin_layout Itemize
30619 \SpecialChar LaTeX
30620
30621 \begin_inset Newline newline
30622 \end_inset
30623
30624 Finally,
30625  \SpecialChar LyX
30626  will happily output math as \SpecialChar LaTeX
30627 .
30628  As well as being the output of last resort,
30629  this method can be used with such tools as 
30630 \begin_inset CommandInset href
30631 LatexCommand href
30632 name "jsMath"
30633 target "http://www.math.union.edu/~dpvc/jsMath/"
30634 literal "false"
30635
30636 \end_inset
30637
30638 ,
30639  which uses JavaScript to render \SpecialChar LaTeX
30640  embedded in HTML documents.
30641  \SpecialChar LyX
30642  wraps the \SpecialChar LaTeX
30643  in either a 
30644 \begin_inset Flex Code
30645 status collapsed
30646
30647 \begin_layout Plain Layout
30648 span
30649 \end_layout
30650
30651 \end_inset
30652
30653  (for inline formulas) or 
30654 \begin_inset Flex Code
30655 status collapsed
30656
30657 \begin_layout Plain Layout
30658 div
30659 \end_layout
30660
30661 \end_inset
30662
30663  (for displayed formulas) with 
30664 \begin_inset Flex Code
30665 status collapsed
30666
30667 \begin_layout Plain Layout
30668 class='math'
30669 \end_layout
30670
30671 \end_inset
30672
30673 ,
30674  as is required for jsMath.
30675 \end_layout
30676
30677 \begin_layout Standard
30678 One of these output methods must be selected under 
30679 \change_deleted -712698321 1674917830
30680
30681 \begin_inset Flex Noun
30682 status collapsed
30683
30684 \begin_layout Plain Layout
30685 Document\SpecialChar menuseparator
30686 Settings\SpecialChar menuseparator
30687 Formats
30688 \end_layout
30689
30690 \end_inset
30691
30692
30693 \change_inserted -712698321 1674917830
30694
30695 \family sans
30696 Document\SpecialChar menuseparator
30697 Settings\SpecialChar menuseparator
30698 Formats
30699 \change_unchanged
30700
30701 \family default
30702 .
30703  By default,
30704  \SpecialChar LyX
30705  outputs MathML.
30706  This is a document-wide setting,
30707  therefore.
30708 \end_layout
30709
30710 \begin_layout Standard
30711 Eventually,
30712  \SpecialChar LyX
30713  will offer the user the option to select an alternate output method for a particular inset,
30714  say,
30715  one that isn't being rendered very well by MathML.
30716 \begin_inset Foot
30717 status collapsed
30718
30719 \begin_layout Plain Layout
30720 That said,
30721  since \SpecialChar LyX
30722  falls back to images if the inset contains ERT,
30723  then one can force output as an image by putting some harmless ERT into the math,
30724  for example:
30725  
30726 \begin_inset Formula $a=b\relax$
30727 \end_inset
30728
30729 .
30730 \end_layout
30731
30732 \end_inset
30733
30734
30735 \end_layout
30736
30737 \begin_layout Section
30738 Bibliography and Citations
30739 \end_layout
30740
30741 \begin_layout Standard
30742 XHTML output fully supports bibliographies and citations.
30743  
30744 \end_layout
30745
30746 \begin_layout Standard
30747 Citation labels are generated by the same machinery that generates \SpecialChar LyX
30748 's on-screen labels,
30749  so the labels will look in the output much as they do in \SpecialChar LyX
30750 ,
30751  though better.
30752  If you are using numerical citations,
30753  then \SpecialChar LyX
30754  will output numerical labels,
30755  such as [1] or [17],
30756  rather than simply showing the citation key in square brackets,
30757  as it does on-screen.
30758  If you are using author-year citations,
30759  then \SpecialChar LyX
30760  will add lowercase letters to the years,
30761  just as Bib\SpecialChar TeX
30762  does,
30763  if it finds more than one citation for a given author-year combination.
30764  The labels will be printed with the bibliography entries.
30765  Note that there is,
30766  at present,
30767  no way to customize the appearance of the labels,
30768  for example,
30769  to choose between square brackets and parentheses.
30770 \end_layout
30771
30772 \begin_layout Standard
30773 Bibliography output is handled by the same machinery that handles the presentation of reference information in the citation dialog,
30774  so you will see in the XHTML output pretty much what you would see if you were to look at a given entry in the citation dialog.
30775  The formatting can be customized in your layout file or,
30776  preferably,
30777  in a module.
30778  See the 
30779 \emph on
30780 Customization
30781 \emph default
30782  manual for the details.
30783 \end_layout
30784
30785 \begin_layout Standard
30786 The main defect at present is that cross-referenced information is printed with every entry with which it is associated.
30787  So you can see things like this:
30788 \end_layout
30789
30790 \begin_layout Quote
30791 Jason Stanley,
30792  
30793 \begin_inset Quotes eld
30794 \end_inset
30795
30796 Context and Logical Form
30797 \begin_inset Quotes erd
30798 \end_inset
30799
30800 ,
30801  in 
30802 \emph on
30803 Language in Context:
30804  Selected Essays
30805 \emph default
30806  (Oxford:
30807  Oxford University Press,
30808  2007),
30809  pp.
30810  30–68.
30811 \end_layout
30812
30813 \begin_layout Quote
30814 Jason Stanley,
30815  
30816 \begin_inset Quotes eld
30817 \end_inset
30818
30819 Semantics in Context
30820 \begin_inset Quotes erd
30821 \end_inset
30822
30823 ,
30824  in 
30825 \emph on
30826 Language in Context:
30827  Selected Essays
30828 \emph default
30829  (Oxford:
30830  Oxford University Press,
30831  2007),
30832  pp.
30833  201–30.
30834 \end_layout
30835
30836 \begin_layout Standard
30837 This should be fixed before long.
30838 \end_layout
30839
30840 \begin_layout Standard
30841 There is no support at present for sectioned bibliographies.
30842  If you have multiple bibliographies,
30843  then \SpecialChar LyX
30844  will print the same bibliography over and over.
30845 \end_layout
30846
30847 \begin_layout Section
30848 Indexes
30849 \end_layout
30850
30851 \begin_layout Standard
30852 \SpecialChar LyX
30853  will happily export indexes as XHTML,
30854  but with certain limitations at the moment.
30855 \end_layout
30856
30857 \begin_layout Standard
30858 Index export will be most reliable when you do not attempt to use the fancy constructs that are described in the section on indexes in the 
30859 \emph on
30860 User's Guide
30861 \emph default
30862 .
30863 \begin_inset Foot
30864 status collapsed
30865
30866 \begin_layout Plain Layout
30867 The main issue here is that \SpecialChar LyX
30868  itself does not really handle these.
30869  It just lets you enter what you would have to enter in raw \SpecialChar LaTeX
30870 .
30871 \end_layout
30872
30873 \end_inset
30874
30875  We'll describe how they are handled using the subsection headings from that section.
30876 \end_layout
30877
30878 \begin_layout Itemize
30879 Grouping Index Entries (aka,
30880  sub-entries):
30881  \SpecialChar LyX
30882  makes an effort to support these,
30883  but the entries must be separated by 
30884 \begin_inset Quotes eld
30885 \end_inset
30886
30887  !
30888  
30889 \begin_inset Quotes erd
30890 \end_inset
30891
30892 ,
30893  that is,
30894  there must be spaces around the exclamation point.
30895  This is because it is otherwise too difficult to check for escaped exclamation points,
30896  ones in math,
30897  and so forth.
30898 \end_layout
30899
30900 \begin_layout Itemize
30901 Page Ranges:
30902  There is no support at all for page ranges,
30903  since these make no sense with XHMTL.
30904  Instead,
30905  you will just get two index entries,
30906  one at either end.
30907 \end_layout
30908
30909 \begin_layout Itemize
30910 Cross-referencing:
30911  There is no support for cross-referencing.
30912  If \SpecialChar LyX
30913  finds an entry containing the 
30914 \begin_inset Quotes eld
30915 \end_inset
30916
30917 |see\SpecialChar ldots
30918
30919 \begin_inset Quotes erd
30920 \end_inset
30921
30922  construct,
30923  it is just dropped,
30924  and the rest is treated as an ordinary index entry.
30925 \end_layout
30926
30927 \begin_layout Itemize
30928 Index Entry Order:
30929  \SpecialChar LyX
30930  does support attempts to fix the sorting order.
30931  It will take what is before the first `@' it finds and use that for sorting,
30932  taking what follows the first `@' to be the actual entry.
30933  At present,
30934  \SpecialChar LyX
30935  does not check for escaped `@',
30936  so do not try to index email addresses.
30937 \end_layout
30938
30939 \begin_layout Itemize
30940 Index Entry Layout:
30941  You can format entries by using the text style dialog,
30942  or by using any other method available within \SpecialChar LyX
30943  itself.
30944  There is no support for constructs like:
30945  
30946 \begin_inset Quotes eld
30947 \end_inset
30948
30949 entry|textbf
30950 \begin_inset Quotes erd
30951 \end_inset
30952
30953 .
30954  Indeed,
30955  if \SpecialChar LyX
30956  finds a pipe symbol,
30957  `|',
30958  in an entry,
30959  it will delete it and everything that follows it.
30960 \end_layout
30961
30962 \begin_layout Itemize
30963 Multiple Indexes:
30964  There is no support for multiple indexes.
30965  Rather,
30966  all index entries will be printed as one large index.
30967  To avoid our printing several versions of the index,
30968  we print only the main index,
30969  so make sure you have one.
30970 \end_layout
30971
30972 \begin_layout Section
30973 Nomenclature and Glossary
30974 \end_layout
30975
30976 \begin_layout Standard
30977 There is at present no support for glossaries.
30978  Adding it would be fairly trivial,
30979  and welcome.
30980 \end_layout
30981
30982 \begin_layout Chapter
30983
30984 \change_inserted 1075283030 1616534180
30985 DocBook Output
30986 \end_layout
30987
30988 \begin_layout Standard
30989
30990 \change_inserted 1075283030 1616534386
30991 Apart from HTML,
30992  \SpecialChar LyX
30993  can generate documents in the DocBook XML vocabulary.
30994  With versions 2.3 and before,
30995  only select templates could be used to generate DocBook documents (only version 4).
30996  Starting with \SpecialChar LyX
30997  2.4,
30998  most \SpecialChar LyX
30999  layouts can generate valid DocBook documents (only version 5).
31000  This feature is built into \SpecialChar LyX
31001  and does not require the use of external tools.
31002 \end_layout
31003
31004 \begin_layout Standard
31005
31006 \change_inserted 1075283030 1616534437
31007 The result is that the DocBook output can be customized and extended in exactly the same way \SpecialChar LaTeX
31008  output can be customized and extended:
31009  through layout files and modules.
31010  See chapter five of the 
31011 \emph on
31012 Customization 
31013 \emph default
31014 manual for the details.
31015 \end_layout
31016
31017 \begin_layout Standard
31018
31019 \change_inserted 1075283030 1616534475
31020 Most \SpecialChar LyX
31021  features are supported with DocBook,
31022  like math output.
31023 \end_layout
31024
31025 \begin_layout Itemize
31026
31027 \change_inserted 1075283030 1616534741
31028 Math output is performed mostly in MathML (the major exception being constructions not supported by \SpecialChar LyX
31029 ,
31030  i.e.
31031  ERTs).
31032  All formulae are also available in raw \SpecialChar TeX
31033  in the DocBook output for further processing.
31034 \end_layout
31035
31036 \begin_layout Itemize
31037
31038 \change_inserted 1075283030 1616534852
31039 Bibliographies and citations are implemented,
31040  including with an external BibTeX file.
31041  Bibliography entries are not prerendered when the detailed information are available,
31042  but rather output with the standard DocBook constructs.
31043  The external DocBook processor is expected to handle the rendering of entries.
31044 \end_layout
31045
31046 \begin_layout Itemize
31047
31048 \change_inserted 1075283030 1616534863
31049 Indexes are supported,
31050  including multiple indices.
31051  Grouping (with 
31052 \family typewriter
31053 !
31054 \family default
31055 ),
31056  page ranges,
31057  and cross-references (
31058 \family typewriter
31059 |see
31060 \family default
31061 ) are supported,
31062  with the exception of the same symbols escaped.
31063  Entry order (
31064 \family typewriter
31065 @
31066 \family default
31067 ) and layout (
31068 \family typewriter
31069 |mathbf
31070 \family default
31071 ) are not supported.
31072  There is no support for escaping of index entries.
31073 \end_layout
31074
31075 \begin_layout Itemize
31076
31077 \change_inserted 1075283030 1616534884
31078 Glossaries are implemented.
31079 \end_layout
31080
31081 \begin_layout Standard
31082
31083 \change_inserted 1075283030 1616534894
31084 Two major parameters can be set at the document level.
31085 \end_layout
31086
31087 \begin_layout Itemize
31088
31089 \change_inserted 1075283030 1616534948
31090 Format for tables:
31091  \SpecialChar LyX
31092  can generate tables either as HTML (default value) or CALS,
31093  depending on the user's requirements.
31094  Most DocBook processors accept both formats.
31095 \end_layout
31096
31097 \begin_layout Itemize
31098
31099 \change_inserted 1075283030 1616535006
31100 MathML prefix:
31101  in DocBook,
31102  MathML is included within its own name space,
31103  unlike HTML.
31104  The implication is that there must be an indication of the tags belonging to the MathML standard.
31105  Three choices are offered:
31106  
31107 \end_layout
31108
31109 \begin_deeper
31110 \begin_layout Itemize
31111
31112 \change_inserted 1075283030 1616535044
31113 Inline:
31114  the MathML name space is defined for each formula (using the 
31115 \family typewriter
31116 xmlns
31117 \family default
31118  attribute on each formula)
31119 \end_layout
31120
31121 \begin_layout Itemize
31122
31123 \change_inserted 1075283030 1616535090
31124 With the 
31125 \family typewriter
31126 m
31127 \family default
31128  prefix (default):
31129  the MathML name space is defined at the document level (using the 
31130 \family typewriter
31131 xmlns:m
31132 \family default
31133  attribute on the root element).
31134  Each MathML is prefixed with 
31135 \family typewriter
31136 m
31137 \family default
31138 :
31139  for instance,
31140  
31141 \family typewriter
31142 m:math
31143 \end_layout
31144
31145 \begin_layout Itemize
31146
31147 \change_inserted 1075283030 1616620405
31148 With the 
31149 \family typewriter
31150 mml
31151 \family default
31152  prefix:
31153  similar to the 
31154 \family typewriter
31155 m
31156 \family default
31157  option,
31158  but with 
31159 \family typewriter
31160 mml
31161 \end_layout
31162
31163 \begin_layout Standard
31164
31165 \change_inserted 1075283030 1616620470
31166 This option is especially useful if you want \SpecialChar LyX
31167  to match your personal style or to work with buggy software that only accepts one prefix for MathML.
31168 \change_unchanged
31169
31170 \end_layout
31171
31172 \end_deeper
31173 \begin_layout Chapter
31174 The \SpecialChar LyX
31175  Server
31176 \end_layout
31177
31178 \begin_layout Section
31179 Introduction
31180 \end_layout
31181
31182 \begin_layout Standard
31183 The `\SpecialChar LyX
31184  server' allows other programs to talk to \SpecialChar LyX
31185 ,
31186  invoke \SpecialChar LyX
31187  commands,
31188  and retrieve information about the \SpecialChar LyX
31189  internal state.
31190  This is only intended for advanced users,
31191  but they should find it useful.
31192  It is by writing to the \SpecialChar LyX
31193  server,
31194  for example,
31195  that bibliography managers,
31196  such as JabRef,
31197  are able to 
31198 \begin_inset Quotes eld
31199 \end_inset
31200
31201 push
31202 \begin_inset Quotes erd
31203 \end_inset
31204
31205  citations to \SpecialChar LyX
31206 .
31207 \end_layout
31208
31209 \begin_layout Section
31210 Starting the \SpecialChar LyX
31211  Server
31212 \begin_inset CommandInset label
31213 LatexCommand label
31214 name "sec:Starting-the-Server"
31215
31216 \end_inset
31217
31218
31219 \end_layout
31220
31221 \begin_layout Standard
31222 The \SpecialChar LyX
31223  server works through the use of a pair of named pipes.
31224  These are usually located in 
31225 \begin_inset Flex Code
31226 status collapsed
31227
31228 \begin_layout Plain Layout
31229 UserDir
31230 \end_layout
31231
31232 \end_inset
31233
31234 ,
31235  (except on Windows,
31236  where 
31237 \emph on
31238 local
31239 \emph default
31240  named pipes are special objects located in 
31241 \begin_inset Flex Code
31242 status collapsed
31243
31244 \begin_layout Plain Layout
31245
31246 \backslash
31247
31248 \backslash
31249 .
31250 \backslash
31251 pipe
31252 \end_layout
31253
31254 \end_inset
31255
31256 ) and have the names 
31257 \begin_inset Quotes eld
31258 \end_inset
31259
31260
31261 \begin_inset Flex Code
31262 status collapsed
31263
31264 \begin_layout Plain Layout
31265 lyxpipe.in
31266 \end_layout
31267
31268 \end_inset
31269
31270
31271 \begin_inset Quotes erd
31272 \end_inset
31273
31274  and 
31275 \begin_inset Quotes eld
31276 \end_inset
31277
31278
31279 \begin_inset Flex Code
31280 status collapsed
31281
31282 \begin_layout Plain Layout
31283 lyxpipe.out
31284 \end_layout
31285
31286 \end_inset
31287
31288
31289 \begin_inset Quotes erd
31290 \end_inset
31291
31292 .
31293  External programs write into 
31294 \begin_inset Flex Code
31295 status collapsed
31296
31297 \begin_layout Plain Layout
31298 lyxpipe.in
31299 \end_layout
31300
31301 \end_inset
31302
31303  and read back data from 
31304 \begin_inset Flex Code
31305 status collapsed
31306
31307 \begin_layout Plain Layout
31308 lyxpipe.out
31309 \end_layout
31310
31311 \end_inset
31312
31313 .
31314  The stem of the pipe names can be defined in the 
31315 \change_deleted -712698321 1674917840
31316
31317 \begin_inset Flex Noun
31318 status collapsed
31319
31320 \begin_layout Plain Layout
31321 Tools\SpecialChar menuseparator
31322 Preferences
31323 \end_layout
31324
31325 \end_inset
31326
31327
31328 \change_inserted -712698321 1674917840
31329
31330 \family sans
31331 Tools\SpecialChar menuseparator
31332 Preferences
31333 \change_unchanged
31334
31335 \family default
31336  dialog,
31337  for example 
31338 \begin_inset Flex Code
31339 status collapsed
31340
31341 \begin_layout Plain Layout
31342 "/home/myhome/lyxpipe"
31343 \end_layout
31344
31345 \end_inset
31346
31347 ,
31348  or 
31349 \begin_inset Flex Code
31350 status collapsed
31351
31352 \begin_layout Plain Layout
31353 "
31354 \backslash
31355
31356 \backslash
31357 .
31358 \backslash
31359 pipe
31360 \backslash
31361 lyxpipe"
31362 \end_layout
31363
31364 \end_inset
31365
31366  on Windows (where any working path instead of lyxpipe can be used,
31367  for example 
31368 \begin_inset Flex Code
31369 status collapsed
31370
31371 \begin_layout Plain Layout
31372 "
31373 \backslash
31374
31375 \backslash
31376 .
31377 \backslash
31378 pipe
31379 \backslash
31380 my
31381 \backslash
31382 lyx
31383 \backslash
31384 pipe"
31385 \end_layout
31386
31387 \end_inset
31388
31389  would also work).
31390  You 
31391 \emph on
31392 must
31393 \emph default
31394  configure this manually in order for the server to start.
31395 \end_layout
31396
31397 \begin_layout Standard
31398 \SpecialChar LyX
31399  will add the '
31400 \begin_inset Flex Code
31401 status collapsed
31402
31403 \begin_layout Plain Layout
31404 .in
31405 \end_layout
31406
31407 \end_inset
31408
31409 ' and '
31410 \begin_inset Flex Code
31411 status collapsed
31412
31413 \begin_layout Plain Layout
31414 .out
31415 \end_layout
31416
31417 \end_inset
31418
31419 ' to create the pipes.
31420  If one of the pipes already exists,
31421  \SpecialChar LyX
31422  will assume that another \SpecialChar LyX
31423  process is already running and will not start the server.
31424  On POSIX (Unix like) systems,
31425  if for some other reason,
31426  an unused 
31427 \begin_inset Quotes eld
31428 \end_inset
31429
31430 stale
31431 \begin_inset Quotes erd
31432 \end_inset
31433
31434  pipe is left in existence when \SpecialChar LyX
31435  closes,
31436  then \SpecialChar LyX
31437  will try to delete it.
31438  If this fails for some reason,
31439  you will need to delete the pipes manually and then restart \SpecialChar LyX
31440 .
31441  On Windows,
31442  pipes are deleted by the OS on program termination or crash,
31443  so 
31444 \begin_inset Quotes eld
31445 \end_inset
31446
31447 stale
31448 \begin_inset Quotes erd
31449 \end_inset
31450
31451  pipes should not be possible.
31452 \end_layout
31453
31454 \begin_layout Standard
31455 To have several \SpecialChar LyX
31456  processes with servers at the same time,
31457  you have to use different configurations,
31458  perhaps by using separate user directories,
31459  each with its own 
31460 \begin_inset Flex Code
31461 status collapsed
31462
31463 \begin_layout Plain Layout
31464 preferences
31465 \end_layout
31466
31467 \end_inset
31468
31469  file,
31470  for each process.
31471 \end_layout
31472
31473 \begin_layout Standard
31474 If you are developing a client program,
31475  you might find it useful to enable debugging information from the \SpecialChar LyX
31476  server.
31477  Do this by starting \SpecialChar LyX
31478  as 
31479 \begin_inset Flex Code
31480 status collapsed
31481
31482 \begin_layout Plain Layout
31483 lyx -dbg lyxserver
31484 \end_layout
31485
31486 \end_inset
31487
31488 .
31489 \end_layout
31490
31491 \begin_layout Standard
31492 You can find a complete example client written in C++ in the source distribution as 
31493 \begin_inset Flex Code
31494 status collapsed
31495
31496 \begin_layout Plain Layout
31497 development/lyxserver/server_monitor.cpp
31498 \end_layout
31499
31500 \end_inset
31501
31502 .
31503 \end_layout
31504
31505 \begin_layout Standard
31506 Another useful tool is the command-line based client found in 
31507 \begin_inset Flex Code
31508 status collapsed
31509
31510 \begin_layout Plain Layout
31511 src/client/lyxclient
31512 \end_layout
31513
31514 \end_inset
31515
31516 .
31517 \end_layout
31518
31519 \begin_layout Section
31520 Normal communication
31521 \end_layout
31522
31523 \begin_layout Standard
31524 To issue a \SpecialChar LyX
31525  call,
31526  the client writes a line of ASCII text into the input pipe.
31527  This line has the following format:
31528 \end_layout
31529
31530 \begin_layout Quote
31531 LYXCMD:
31532 \emph on
31533 clientname
31534 \emph default
31535 :
31536 \emph on
31537 function
31538 \emph default
31539 :
31540 \emph on
31541 argument
31542 \end_layout
31543
31544 \begin_layout Description
31545 clientname is a name that the client can choose arbitrarily.
31546  Its only use is that \SpecialChar LyX
31547  will echo it if it sends an answer—
31548 so a client can dispatch results from different requesters.
31549 \end_layout
31550
31551 \begin_layout Description
31552 function is the function you want \SpecialChar LyX
31553  to perform.
31554  It is the same as the commands you'd use in the minibuffer.
31555 \end_layout
31556
31557 \begin_layout Description
31558 argument is an optional argument which is meaningful only to some functions (for instance,
31559  the 
31560 \begin_inset Quotes eld
31561 \end_inset
31562
31563 self-insert
31564 \begin_inset Quotes erd
31565 \end_inset
31566
31567  LFUN will insert the argument as text at the cursor position).
31568 \end_layout
31569
31570 \begin_layout Standard
31571 The answer from \SpecialChar LyX
31572  will arrive in the output pipe and be of the form
31573 \end_layout
31574
31575 \begin_layout Quote
31576 INFO:
31577 \emph on
31578 clientname
31579 \emph default
31580 :
31581 \emph on
31582 function
31583 \emph default
31584 :
31585 \emph on
31586 data
31587 \end_layout
31588
31589 \begin_layout Standard
31590 where 
31591 \emph on
31592 clientname
31593 \emph default
31594  and 
31595 \emph on
31596 function
31597 \emph default
31598  are just echoed from the command request,
31599  while 
31600 \emph on
31601 data
31602 \emph default
31603  is more or less useful information filled according to how the command execution worked out.
31604  Some commands,
31605  such as 
31606 \begin_inset Quotes eld
31607 \end_inset
31608
31609 font-state
31610 \begin_inset Quotes erd
31611 \end_inset
31612
31613 ,
31614  will return information about the internal state of \SpecialChar LyX
31615 ,
31616  while other will return an empty data-response.
31617  This means that the command execution went fine.
31618 \end_layout
31619
31620 \begin_layout Standard
31621 In case of errors,
31622  the response from \SpecialChar LyX
31623  will have this form
31624 \end_layout
31625
31626 \begin_layout Quote
31627 ERROR:
31628 \emph on
31629 clientname
31630 \emph default
31631 :
31632 \emph on
31633 function
31634 \emph default
31635 :
31636 \emph on
31637 error message
31638 \end_layout
31639
31640 \begin_layout Standard
31641 where the 
31642 \emph on
31643 error message
31644 \emph default
31645  should contain an explanation of why the command failed.
31646 \end_layout
31647
31648 \begin_layout Standard
31649 Examples:
31650 \end_layout
31651
31652 \begin_layout LyX-Code
31653 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
31654 \begin_inset Newline newline
31655 \end_inset
31656
31657 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
31658 \begin_inset Newline newline
31659 \end_inset
31660
31661 read a <~/.lyxpipe.out
31662 \begin_inset Newline newline
31663 \end_inset
31664
31665 echo $a
31666 \end_layout
31667
31668 \begin_layout Subsection
31669 AppleScript (Mac OS X)
31670 \end_layout
31671
31672 \begin_layout Standard
31673 Since \SpecialChar LyX
31674  2.1,
31675  \SpecialChar LyX
31676  supports basic interactions with AppleScript for normal communication through the command run.
31677  This command takes a direct argument (the 
31678 \series bold
31679 function
31680 \series default
31681  to perform) and an optional argument.
31682  It either returns the output of the function or triggers an error with the error message and code.
31683 \end_layout
31684
31685 \begin_layout Standard
31686 Example:
31687 \end_layout
31688
31689 \begin_layout LyX-Code
31690 tell application "\SpecialChar LyX
31691 "
31692 \end_layout
31693
31694 \begin_layout LyX-Code
31695   try
31696 \end_layout
31697
31698 \begin_layout LyX-Code
31699     -- Stores the current file name into f
31700 \end_layout
31701
31702 \begin_layout LyX-Code
31703     set f to (run "server-get-filename" with argument "")
31704 \end_layout
31705
31706 \begin_layout LyX-Code
31707     on error the error_message number the error_number
31708 \end_layout
31709
31710 \begin_layout LyX-Code
31711       display dialog "Error:
31712  " & the error_number & ".
31713  " ¬
31714 \end_layout
31715
31716 \begin_layout LyX-Code
31717               & the error_message buttons {"OK"} default button 1
31718 \end_layout
31719
31720 \begin_layout LyX-Code
31721   end try
31722 \end_layout
31723
31724 \begin_layout LyX-Code
31725 end tell
31726 \end_layout
31727
31728 \begin_layout Section
31729 Notification
31730 \end_layout
31731
31732 \begin_layout Standard
31733 \SpecialChar LyX
31734  can notify clients of events going on asynchronously.
31735  Currently it will only do this if the user binds a key sequence with the function 
31736 \begin_inset Quotes eld
31737 \end_inset
31738
31739 notify
31740 \begin_inset Quotes erd
31741 \end_inset
31742
31743 .
31744  The format of the string \SpecialChar LyX
31745  sends is as follows:
31746 \end_layout
31747
31748 \begin_layout Quote
31749 \begin_inset Flex Code
31750 status collapsed
31751
31752 \begin_layout Plain Layout
31753 NOTIFY:
31754 \end_layout
31755
31756 \end_inset
31757
31758
31759 \emph on
31760 key-sequence
31761 \end_layout
31762
31763 \begin_layout Standard
31764 where 
31765 \emph on
31766 key-sequence
31767 \emph default
31768  is the printed representation of the key sequence that was actually typed by the user.
31769 \end_layout
31770
31771 \begin_layout Standard
31772 This mechanism can be used to extend \SpecialChar LyX
31773 's command set and implement macros.
31774  Bind some key sequence to 
31775 \begin_inset Quotes eld
31776 \end_inset
31777
31778 notify
31779 \begin_inset Quotes erd
31780 \end_inset
31781
31782 .
31783  Then start a client that listens on the output pipe,
31784  dispatches the command according to the sequence,
31785  and starts a function that may use \SpecialChar LyX
31786  calls and \SpecialChar LyX
31787  requests to issue a command or a series of commands to \SpecialChar LyX
31788 .
31789 \end_layout
31790
31791 \begin_layout Section
31792 The simple \SpecialChar LyX
31793  Server Protocol
31794 \end_layout
31795
31796 \begin_layout Standard
31797 \SpecialChar LyX
31798  implements a simple protocol that can be used for session management.
31799  All messages are of the form
31800 \end_layout
31801
31802 \begin_layout Quote
31803 LYXSRV:
31804 \emph on
31805 clientname
31806 \emph default
31807 :
31808 \emph on
31809 protocol message
31810 \end_layout
31811
31812 \begin_layout Standard
31813 where 
31814 \emph on
31815 protocol message
31816 \emph default
31817  can be 
31818 \begin_inset Quotes eld
31819 \end_inset
31820
31821 hello
31822 \begin_inset Quotes erd
31823 \end_inset
31824
31825  or 
31826 \begin_inset Quotes eld
31827 \end_inset
31828
31829 bye
31830 \begin_inset Quotes erd
31831 \end_inset
31832
31833 .
31834  If 
31835 \begin_inset Quotes eld
31836 \end_inset
31837
31838 hello
31839 \begin_inset Quotes erd
31840 \end_inset
31841
31842  is received from a client,
31843  \SpecialChar LyX
31844  will report back to inform the client that it's listening to it's messages,
31845  while 
31846 \begin_inset Quotes eld
31847 \end_inset
31848
31849 bye
31850 \begin_inset Quotes erd
31851 \end_inset
31852
31853  sent from \SpecialChar LyX
31854  will inform clients that \SpecialChar LyX
31855  is closing.
31856 \end_layout
31857
31858 \begin_layout Section
31859 Reverse DVI/PDF search
31860 \end_layout
31861
31862 \begin_layout Standard
31863 Some DVI/PDF viewers
31864 \begin_inset Foot
31865 status collapsed
31866
31867 \begin_layout Plain Layout
31868 The following viewers offer the reverse PDF search feature:
31869  Okular on KDE/Linux,
31870  Qpdfview on Unix,
31871  Skim on Mac OSX and SumatraPDF on Windows.
31872 \end_layout
31873
31874 \end_inset
31875
31876  provide 
31877 \emph on
31878 reverse search
31879 \emph default
31880  facility (also called 
31881 \emph on
31882 inverse search
31883 \emph default
31884 ).
31885  This means that you can tell \SpecialChar LyX
31886  to put the cursor to a specific line in the document by clicking at the respective position in the DVI/PDF output.
31887  To achieve this,
31888  the viewer must be able to communicate with \SpecialChar LyX
31889 .
31890  This is done via the \SpecialChar LyX
31891  server either by using the named pipe (
31892 \emph on
31893 lyxpipe
31894 \emph default
31895 ),
31896  or the UNIX domain socket (
31897 \emph on
31898 lyxsocket
31899 \emph default
31900 ) that \SpecialChar LyX
31901  creates in its temporary directory (this is the way the 
31902 \begin_inset Flex Code
31903 status collapsed
31904
31905 \begin_layout Plain Layout
31906 lyxclient
31907 \end_layout
31908
31909 \end_inset
31910
31911  program communicates with \SpecialChar LyX
31912 ).
31913  In some cases,
31914  you need a helper script that mediates between the viewer and \SpecialChar LyX
31915 ,
31916  in others,
31917  the viewer can communicate with \SpecialChar LyX
31918  directly.
31919  This depends on the selected viewer and on your operating system.
31920  The same applies to the way viewers need to be configured and the way the reverse search is actually performed.
31921  In what follows,
31922  we will thus describe how to setup reverse search for specific viewers.
31923  Before we turn to this,
31924  though,
31925  we will explain what needs to be done generally to enable reverse search in the DVI/PDF output.
31926 \end_layout
31927
31928 \begin_layout Subsection
31929 Automatic setup
31930 \begin_inset CommandInset label
31931 LatexCommand label
31932 name "subsec:rev-search"
31933
31934 \end_inset
31935
31936
31937 \end_layout
31938
31939 \begin_layout Standard
31940 In most cases \SpecialChar LyX
31941  will do the work for you by pressing the following button in the toolbar:
31942  
31943 \begin_inset Info
31944 type  "icon"
31945 arg   "buffer-toggle-output-sync"
31946 \end_inset
31947
31948 .
31949  Alternatively,
31950  you can also enable the feature by checking 
31951 \family sans
31952 Synchronize with Output
31953 \family default
31954  in 
31955 \change_deleted -712698321 1674917848
31956
31957 \begin_inset Flex Noun
31958 status collapsed
31959
31960 \begin_layout Plain Layout
31961 Document\SpecialChar menuseparator
31962 Settings\SpecialChar menuseparator
31963 Formats
31964 \end_layout
31965
31966 \end_inset
31967
31968
31969 \change_inserted -712698321 1674917848
31970
31971 \family sans
31972 Document\SpecialChar menuseparator
31973 Settings\SpecialChar menuseparator
31974 Formats
31975 \change_unchanged
31976
31977 \family default
31978 .
31979  In such a case \SpecialChar LyX
31980  will automatically insert the necessary Sync\SpecialChar TeX
31981  macro (for PDF) or load the srcltx package (for DVI) respectively.
31982  This option can be easily reached also on 
31983 \begin_inset Flex Code
31984 status collapsed
31985
31986 \begin_layout Plain Layout
31987 View/Update
31988 \end_layout
31989
31990 \end_inset
31991
31992  Toolbar.
31993 \end_layout
31994
31995 \begin_layout Standard
31996 If you need a different setting,
31997  you can select or input a custom macro from the drop down box just below 
31998 \change_deleted -712698321 1674917855
31999
32000 \begin_inset Flex Noun
32001 status collapsed
32002
32003 \begin_layout Plain Layout
32004 Document\SpecialChar menuseparator
32005 Settings\SpecialChar menuseparator
32006 Output\SpecialChar menuseparator
32007 Synchronize with Output
32008 \end_layout
32009
32010 \end_inset
32011
32012
32013 \change_inserted -712698321 1674917855
32014
32015 \family sans
32016 Document\SpecialChar menuseparator
32017 Settings\SpecialChar menuseparator
32018 Output\SpecialChar menuseparator
32019 Synchronize with Output
32020 \change_unchanged
32021
32022 \family default
32023 .
32024 \end_layout
32025
32026 \begin_layout Standard
32027 Note that the method 
32028 \begin_inset Flex Code
32029 status collapsed
32030
32031 \begin_layout Plain Layout
32032
32033 \backslash
32034 synctex=1
32035 \end_layout
32036
32037 \end_inset
32038
32039  enables gzip compression.
32040  If your viewer does not support it,
32041  you should instead use 
32042 \begin_inset Flex Code
32043 status collapsed
32044
32045 \begin_layout Plain Layout
32046
32047 \backslash
32048 synctex=-1
32049 \end_layout
32050
32051 \end_inset
32052
32053 .
32054 \end_layout
32055
32056 \begin_layout Standard
32057 Please also note that including the 
32058 \begin_inset Flex Code
32059 status collapsed
32060
32061 \begin_layout Plain Layout
32062 srcltx
32063 \end_layout
32064
32065 \end_inset
32066
32067  package or 
32068 \begin_inset Flex Code
32069 status collapsed
32070
32071 \begin_layout Plain Layout
32072 src-specials
32073 \end_layout
32074
32075 \end_inset
32076
32077  sometimes has an undesired impact on the typesetting.
32078  Thus,
32079  you should switch output synchronization off for the final typesetting if you use the 
32080 \begin_inset Flex Code
32081 status collapsed
32082
32083 \begin_layout Plain Layout
32084 srcltx
32085 \end_layout
32086
32087 \end_inset
32088
32089  package or 
32090 \begin_inset Flex Code
32091 status collapsed
32092
32093 \begin_layout Plain Layout
32094 src-specials
32095 \end_layout
32096
32097 \end_inset
32098
32099 .
32100  
32101 \end_layout
32102
32103 \begin_layout Standard
32104 In case you need some more special settings that are not covered by the automatic settings,
32105  read the next section about how to set up output synchronization manually.
32106  If the automatic setup suits your needs,
32107  you can readily jump to section
32108 \begin_inset space ~
32109 \end_inset
32110
32111
32112 \begin_inset CommandInset ref
32113 LatexCommand ref
32114 reference "subsec:configuring-viewers"
32115 nolink "false"
32116
32117 \end_inset
32118
32119 ,
32120  where the necessary configuration steps in your viewer – needed both with the automatic and the manual setup – are described.
32121 \end_layout
32122
32123 \begin_layout Subsection
32124 Manual setup
32125 \end_layout
32126
32127 \begin_layout Standard
32128 \SpecialChar LaTeX
32129  provides several different methods for reverse search.
32130  Some are built-in in the 
32131 \begin_inset Flex Code
32132 status collapsed
32133
32134 \begin_layout Plain Layout
32135 latex/pdflatex
32136 \end_layout
32137
32138 \end_inset
32139
32140  program,
32141  some are provided by external packages.
32142  Your choice depends on whether your \SpecialChar LaTeX
32143  distribution already provides a given method (the built-in methods are rather new) and whether your viewer can cope with it.
32144  The available methods are described in the following.
32145 \end_layout
32146
32147 \begin_layout Subsubsection*
32148 Built-in DVI-search via src-specials (DVI only) 
32149 \end_layout
32150
32151 \begin_layout Standard
32152 This method provides the DVI file with the necessary information for reverse search.
32153  It is available in \SpecialChar LaTeX
32154  since quite some time (any somewhat recent \SpecialChar LaTeX
32155  distribution should include it),
32156  and it works reliably.
32157  To enable it,
32158  change the 
32159 \begin_inset Flex Noun
32160 status collapsed
32161
32162 \begin_layout Plain Layout
32163 La
32164 \family sans
32165 TeX
32166 \family default
32167  (plain)->DVI
32168 \end_layout
32169
32170 \end_inset
32171
32172  or 
32173 \begin_inset Flex Noun
32174 status collapsed
32175
32176 \begin_layout Plain Layout
32177 La
32178 \family sans
32179 TeX
32180 \family default
32181  (plain)->DraftDVI
32182 \end_layout
32183
32184 \end_inset
32185
32186  converter in 
32187 \change_deleted -712698321 1674917875
32188
32189 \begin_inset Flex Noun
32190 status collapsed
32191
32192 \begin_layout Plain Layout
32193 Preferences\SpecialChar menuseparator
32194 File Handling\SpecialChar menuseparator
32195 Converters
32196 \end_layout
32197
32198 \end_inset
32199
32200
32201 \change_inserted -712698321 1674917875
32202
32203 \family sans
32204 Preferences\SpecialChar menuseparator
32205 File Handling\SpecialChar menuseparator
32206 Converters
32207 \change_unchanged
32208
32209 \family default
32210  to 
32211 \begin_inset Flex Code
32212 status collapsed
32213
32214 \begin_layout Plain Layout
32215 latex -src-specials $$i
32216 \end_layout
32217
32218 \end_inset
32219
32220 .
32221  If this doesn't work,
32222  check if your \SpecialChar TeX
32223  engine needs different options (the syntax might differ in some distributions).
32224 \end_layout
32225
32226 \begin_layout Subsubsection*
32227 External Packages (PDFSync and scrltx) 
32228 \end_layout
32229
32230 \begin_layout Standard
32231 The packages 
32232 \emph on
32233 pdfsync
32234 \emph default
32235  and 
32236 \emph on
32237 scrltx
32238 \emph default
32239  provide reverse search facility for PDF output (via pdflatex) and DVI output,
32240  respectively.
32241  In order to enable it,
32242  load the packages in the \SpecialChar LyX
32243  preamble:
32244  
32245 \end_layout
32246
32247 \begin_layout Itemize
32248 \begin_inset Flex Code
32249 status collapsed
32250
32251 \begin_layout Plain Layout
32252
32253 \backslash
32254 usepackage{pdfsync}
32255 \end_layout
32256
32257 \end_inset
32258
32259  for reverse PDF search,
32260 \end_layout
32261
32262 \begin_layout Itemize
32263 \begin_inset Flex Code
32264 status collapsed
32265
32266 \begin_layout Plain Layout
32267
32268 \backslash
32269 usepackage[active]{srcltx}
32270 \end_layout
32271
32272 \end_inset
32273
32274  for reverse DVI search.
32275 \end_layout
32276
32277 \begin_layout Standard
32278 If you want to be able to perform both DVI and PDF reverse searches,
32279  you can also insert in the preamble the following lines
32280 \end_layout
32281
32282 \begin_layout LyX-Code
32283
32284 \backslash
32285 usepackage{ifpdf}
32286 \begin_inset Newline newline
32287 \end_inset
32288
32289
32290 \backslash
32291 ifpdf
32292 \begin_inset Newline newline
32293 \end_inset
32294
32295   
32296 \backslash
32297 usepackage{pdfsync}
32298 \begin_inset Newline newline
32299 \end_inset
32300
32301
32302 \backslash
32303 else
32304 \begin_inset Newline newline
32305 \end_inset
32306
32307   
32308 \backslash
32309 usepackage[active]{srcltx}
32310 \begin_inset Newline newline
32311 \end_inset
32312
32313
32314 \backslash
32315 fi
32316 \end_layout
32317
32318 \begin_layout Standard
32319 This way,
32320  you can preview the file as either DVI or PDF (pdflatex) and the right package will be used.
32321 \end_layout
32322
32323 \begin_layout Standard
32324 Note that PDFSync might affect the output layout of your document.
32325  It is therefore advised to disable PDFsync for final documents.
32326 \end_layout
32327
32328 \begin_layout Subsubsection*
32329 Built-in reverse search via Sync\SpecialChar TeX
32330  (DVI and PDF) 
32331 \end_layout
32332
32333 \begin_layout Standard
32334 Recent versions of 
32335 \begin_inset Flex Code
32336 status collapsed
32337
32338 \begin_layout Plain Layout
32339 (pdf)latex
32340 \end_layout
32341
32342 \end_inset
32343
32344  have built-in support for both PDF and DVI reverse search.
32345  This so-called 
32346 \emph on
32347 Sync\SpecialChar TeX
32348
32349 \emph default
32350  facility is basically the result of the integration of the PDFSync package to the pdftex program and its merge with the 
32351 \emph on
32352 scr-specials
32353 \emph default
32354  approach.
32355  You need at least \SpecialChar TeX
32356 Live 2008 or a recent Mik\SpecialChar TeX
32357  distribution in order to use it.
32358 \begin_inset Foot
32359 status collapsed
32360
32361 \begin_layout Plain Layout
32362 For some reason,
32363  Mik\SpecialChar TeX
32364  does not understand/obey the command \SpecialChar LyX
32365  inserts into the preamble when you check the "Enable Forward/Reverse Search" button in the toolbar and does not generate the necessary info.
32366 \end_layout
32367
32368 \begin_layout Plain Layout
32369 The generation of the required info can be forced by changing the converter "\SpecialChar LaTeX
32370  (pdflatex) -> PDF (pdflatex)" in Preferences->File handling->Converters from the default "pdflatex $$i" to "pdflatex -synctex=1 $$i" (i.e.,
32371  by adding the -synctex=1 switch).
32372 \end_layout
32373
32374 \end_inset
32375
32376  Also note that only a few PDF viewers (such as Okular and Qpdfview on Unix,
32377  Skim on the Mac,
32378  SumatraPDF on Windows;
32379  see the next section for details) already provide Sync\SpecialChar TeX
32380  support.
32381 \end_layout
32382
32383 \begin_layout Standard
32384 To enable Sync\SpecialChar TeX
32385  for DVI output,
32386  change the 
32387 \begin_inset Flex Noun
32388 status collapsed
32389
32390 \begin_layout Plain Layout
32391 La
32392 \family sans
32393 TeX
32394 \family default
32395  (plain) -> DVI
32396 \end_layout
32397
32398 \end_inset
32399
32400  or 
32401 \begin_inset Flex Noun
32402 status collapsed
32403
32404 \begin_layout Plain Layout
32405 La
32406 \family sans
32407 TeX
32408 \family default
32409  (plain) -> DraftDVI
32410 \end_layout
32411
32412 \end_inset
32413
32414  converter in 
32415 \change_deleted -712698321 1674917887
32416
32417 \begin_inset Flex Noun
32418 status collapsed
32419
32420 \begin_layout Plain Layout
32421 Preferences\SpecialChar menuseparator
32422 File Handling\SpecialChar menuseparator
32423 Converters
32424 \end_layout
32425
32426 \end_inset
32427
32428
32429 \change_inserted -712698321 1674917887
32430
32431 \family sans
32432 Preferences\SpecialChar menuseparator
32433 File Handling\SpecialChar menuseparator
32434 Converters
32435 \change_unchanged
32436  
32437 \family default
32438 to 
32439 \begin_inset Flex Code
32440 status collapsed
32441
32442 \begin_layout Plain Layout
32443 latex -synctex=1 $$i
32444 \end_layout
32445
32446 \end_inset
32447
32448 ,
32449  and for PDF output,
32450  change the 
32451 \begin_inset Flex Noun
32452 status collapsed
32453
32454 \begin_layout Plain Layout
32455 La
32456 \family sans
32457 TeX
32458 \family default
32459  (pdflatex) -> PDF (pdflatex)
32460 \end_layout
32461
32462 \end_inset
32463
32464  converter to 
32465 \begin_inset Flex Code
32466 status collapsed
32467
32468 \begin_layout Plain Layout
32469 pdflatex -synctex=1 $$i
32470 \end_layout
32471
32472 \end_inset
32473
32474 .
32475  Should your viewer not be considered in the following description,
32476  or in case of missing success,
32477  please check the documentation of your viewer whether the viewer needs to be configured for the use with Sync\SpecialChar TeX
32478 .
32479 \begin_inset Foot
32480 status collapsed
32481
32482 \begin_layout Plain Layout
32483 Note that the option 
32484 \begin_inset Flex Code
32485 status collapsed
32486
32487 \begin_layout Plain Layout
32488 -synctex=1
32489 \end_layout
32490
32491 \end_inset
32492
32493  option enables gzip compression.
32494  If your viewer does not support it,
32495  you should instead use 
32496 \begin_inset Flex Code
32497 status collapsed
32498
32499 \begin_layout Plain Layout
32500 -synctex=-1
32501 \end_layout
32502
32503 \end_inset
32504
32505 .
32506 \end_layout
32507
32508 \end_inset
32509
32510
32511 \end_layout
32512
32513 \begin_layout Subsection
32514 Configuring and using specific viewers
32515 \begin_inset CommandInset label
32516 LatexCommand label
32517 name "subsec:configuring-viewers"
32518
32519 \end_inset
32520
32521
32522 \end_layout
32523
32524 \begin_layout Subsubsection*
32525 Xdvi (all platforms)
32526 \end_layout
32527
32528 \begin_layout Standard
32529 If you use 
32530 \begin_inset Flex Code
32531 status collapsed
32532
32533 \begin_layout Plain Layout
32534 xdvi
32535 \end_layout
32536
32537 \end_inset
32538
32539 ,
32540  you don't need to do anything else for performing a reverse DVI search,
32541  as \SpecialChar LyX
32542  already provides the necessary hooks for automatically using the 
32543 \begin_inset Flex Code
32544 status collapsed
32545
32546 \begin_layout Plain Layout
32547 lyxclient
32548 \end_layout
32549
32550 \end_inset
32551
32552  program.
32553  Just setup your document as described above (reverse search is triggered by Ctrl-click or Alt-click on Mac OSX,
32554  respectively).
32555 \end_layout
32556
32557 \begin_layout Standard
32558 However,
32559  if for whatever reason you want to use the named pipe instead of the socket for communicating with \SpecialChar LyX
32560 ,
32561  simply change the DVI viewer in 
32562 \change_deleted -712698321 1674917897
32563
32564 \begin_inset Flex Noun
32565 status collapsed
32566
32567 \begin_layout Plain Layout
32568 Preferences\SpecialChar menuseparator
32569 File Handling\SpecialChar menuseparator
32570 File formats
32571 \end_layout
32572
32573 \end_inset
32574
32575
32576 \change_inserted -712698321 1674917897
32577
32578 \family sans
32579 Preferences\SpecialChar menuseparator
32580 File Handling\SpecialChar menuseparator
32581 File formats
32582 \change_unchanged
32583
32584 \family default
32585  to
32586 \begin_inset Foot
32587 status collapsed
32588
32589 \begin_layout Plain Layout
32590 On Mac OSX you have to use 
32591 \begin_inset Flex Code
32592 status collapsed
32593
32594 \begin_layout Plain Layout
32595 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
32596 \end_layout
32597
32598 \end_inset
32599
32600
32601 \end_layout
32602
32603 \end_inset
32604
32605  
32606 \begin_inset Flex Code
32607 status collapsed
32608
32609 \begin_layout Plain Layout
32610 xdvi -editor "lyxeditor.sh %f %l"
32611 \end_layout
32612
32613 \end_inset
32614
32615 ,
32616  where 
32617 \begin_inset Flex Code
32618 status collapsed
32619
32620 \begin_layout Plain Layout
32621 lyxeditor.sh
32622 \end_layout
32623
32624 \end_inset
32625
32626  is a suitable script.
32627  For example,
32628  a minimal shell script is the following one:
32629 \end_layout
32630
32631 \begin_layout LyX-Code
32632 #!/bin/sh
32633 \begin_inset Newline newline
32634 \end_inset
32635
32636 LYXPIPE="/path/to/lyxpipe"
32637 \begin_inset Newline newline
32638 \end_inset
32639
32640 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
32641 \begin_inset Newline newline
32642 \end_inset
32643
32644 echo "$COMMAND" > "${LYXPIPE}".in || exit
32645 \begin_inset Newline newline
32646 \end_inset
32647
32648 read TMP < "${LYXPIPE}".out || exit
32649 \end_layout
32650
32651 \begin_layout Standard
32652 where 
32653 \begin_inset Flex Code
32654 status collapsed
32655
32656 \begin_layout Plain Layout
32657 /path/to/lyxpipe
32658 \end_layout
32659
32660 \end_inset
32661
32662  is the LyXServer pipe path specified in 
32663 \change_deleted -712698321 1674917907
32664
32665 \begin_inset Flex Noun
32666 status collapsed
32667
32668 \begin_layout Plain Layout
32669 Preferences\SpecialChar menuseparator
32670 Paths
32671 \end_layout
32672
32673 \end_inset
32674
32675
32676 \change_inserted -712698321 1674917907
32677
32678 \family sans
32679 Preferences\SpecialChar menuseparator
32680 Paths
32681 \change_unchanged
32682
32683 \family default
32684 .
32685 \begin_inset Foot
32686 status collapsed
32687
32688 \begin_layout Plain Layout
32689 In the 
32690 \begin_inset Flex Code
32691 status collapsed
32692
32693 \begin_layout Plain Layout
32694 development/tools
32695 \end_layout
32696
32697 \end_inset
32698
32699  folder of a source distribution you can find a 
32700 \begin_inset Flex Code
32701 status collapsed
32702
32703 \begin_layout Plain Layout
32704 lyxeditor
32705 \end_layout
32706
32707 \end_inset
32708
32709  script which is able to locate the 
32710 \emph on
32711 lyxpipe
32712 \emph default
32713  based on your preferences.
32714 \end_layout
32715
32716 \end_inset
32717
32718
32719 \end_layout
32720
32721 \begin_layout Subsubsection*
32722 MacDviX (Mac OSX)
32723 \end_layout
32724
32725 \begin_layout Standard
32726 At the end of 
32727 \begin_inset Flex Code
32728 status collapsed
32729
32730 \begin_layout Plain Layout
32731 /Applications/MacDviX_Folder/calleditor.script
32732 \end_layout
32733
32734 \end_inset
32735
32736 ,
32737  add the following lines:
32738 \end_layout
32739
32740 \begin_layout LyX-Code
32741 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
32742 \begin_inset Newline newline
32743 \end_inset
32744
32745 exit 1
32746 \end_layout
32747
32748 \begin_layout Standard
32749 Modify the lines accordingly if you install \SpecialChar LyX
32750  somewhere else than in the Applications folder.
32751 \end_layout
32752
32753 \begin_layout Standard
32754 Reverse search is triggered by Alt-click (OPTION-click).
32755 \end_layout
32756
32757 \begin_layout Subsubsection*
32758 Skim (Mac OSX)
32759 \end_layout
32760
32761 \begin_layout Standard
32762 Enter 
32763 \begin_inset Flex Code
32764 status collapsed
32765
32766 \begin_layout Plain Layout
32767 open -a Skim.app $$i
32768 \end_layout
32769
32770 \end_inset
32771
32772  to the viewer setting in 
32773 \change_deleted -712698321 1674917916
32774
32775 \begin_inset Flex Noun
32776 status collapsed
32777
32778 \begin_layout Plain Layout
32779 Preferences\SpecialChar menuseparator
32780 File Handling\SpecialChar menuseparator
32781 File formats\SpecialChar menuseparator
32782 PDF (pdflatex)
32783 \end_layout
32784
32785 \end_inset
32786
32787
32788 \change_inserted -712698321 1674917916
32789
32790 \family sans
32791 Preferences\SpecialChar menuseparator
32792 File Handling\SpecialChar menuseparator
32793 File formats\SpecialChar menuseparator
32794 PDF (pdflatex)
32795 \change_unchanged
32796
32797 \family default
32798 ,
32799  and then in 
32800 \change_deleted -712698321 1674917924
32801
32802 \begin_inset Flex Noun
32803 status collapsed
32804
32805 \begin_layout Plain Layout
32806 Skim\SpecialChar menuseparator
32807 Preferences\SpecialChar menuseparator
32808 Sync
32809 \end_layout
32810
32811 \end_inset
32812
32813
32814 \change_inserted -712698321 1674917924
32815
32816 \family sans
32817 Skim\SpecialChar menuseparator
32818 Preferences\SpecialChar menuseparator
32819 Sync
32820 \change_unchanged
32821
32822 \family default
32823  choose 
32824 \change_deleted -712698321 1674917931
32825
32826 \begin_inset Flex Noun
32827 status collapsed
32828
32829 \begin_layout Plain Layout
32830 custom
32831 \end_layout
32832
32833 \end_inset
32834
32835
32836 \change_inserted -712698321 1674917931
32837
32838 \family sans
32839 custom
32840 \change_unchanged
32841
32842 \family default
32843  preset and enter command 
32844 \begin_inset Flex Noun
32845 status collapsed
32846
32847 \begin_layout Plain Layout
32848 /Applications/\SpecialChar LyX
32849 .app/Contents/MacOS/lyxeditor
32850 \end_layout
32851
32852 \end_inset
32853
32854 .
32855 \end_layout
32856
32857 \begin_layout Standard
32858 Reverse search is triggered by COMMAND-SHIFT-click
32859 \end_layout
32860
32861 \begin_layout Subsubsection*
32862 Evince (GNOME)
32863 \end_layout
32864
32865 \begin_layout Standard
32866 Reverse search with evince does not work out of the box,
32867  but it can be achieved by means of some third party helper scripts.
32868  Please refer to 
32869 \begin_inset CommandInset href
32870 LatexCommand href
32871 target "https://wiki.lyx.org/LyX/SyncTeX"
32872 literal "false"
32873
32874 \end_inset
32875
32876  for details.
32877 \end_layout
32878
32879 \begin_layout Subsubsection*
32880 Okular (KDE)
32881 \end_layout
32882
32883 \begin_layout Standard
32884 Go to 
32885 \change_deleted -712698321 1674917941
32886
32887 \begin_inset Flex Noun
32888 status collapsed
32889
32890 \begin_layout Plain Layout
32891 Settings\SpecialChar menuseparator
32892 Configure Okular\SpecialChar menuseparator
32893 Editor
32894 \end_layout
32895
32896 \end_inset
32897
32898
32899 \change_inserted -712698321 1674917941
32900
32901 \family sans
32902 Settings\SpecialChar menuseparator
32903 Configure Okular\SpecialChar menuseparator
32904 Editor
32905 \change_unchanged
32906
32907 \family default
32908  and select LyX
32909 \begin_inset Quotes erd
32910 \end_inset
32911
32912  as editor.
32913  This inserts the appropriate command (
32914 \begin_inset Flex Code
32915 status collapsed
32916
32917 \begin_layout Plain Layout
32918 lyxclient -g %f %l
32919 \end_layout
32920
32921 \end_inset
32922
32923 ).
32924 \end_layout
32925
32926 \begin_layout Standard
32927 Reverse search is triggered by SHIFT-click.
32928
32929 \change_inserted -712698321 1578211026
32930  Note that this only works if Okular is in 
32931 \begin_inset Quotes eld
32932 \end_inset
32933
32934 Browse
32935 \begin_inset Quotes erd
32936 \end_inset
32937
32938  mode (i.
32939 \begin_inset space \thinspace{}
32940 \end_inset
32941
32942 e.,
32943  the hand symbol is clicked).
32944 \change_unchanged
32945
32946 \end_layout
32947
32948 \begin_layout Subsubsection*
32949 Qpdfview (Unix)
32950 \end_layout
32951
32952 \begin_layout Standard
32953 Qpdfview supports Sync\SpecialChar TeX
32954  since version 0.3.5.
32955  Go to 
32956 \change_deleted -712698321 1674917949
32957
32958 \begin_inset Flex Noun
32959 status collapsed
32960
32961 \begin_layout Plain Layout
32962 Edit\SpecialChar menuseparator
32963 Settings\SpecialChar menuseparator
32964 Behavior
32965 \end_layout
32966
32967 \end_inset
32968
32969
32970 \change_inserted -712698321 1674917949
32971
32972 \family sans
32973 Edit\SpecialChar menuseparator
32974 Settings\SpecialChar menuseparator
32975 Behavior
32976 \change_unchanged
32977
32978 \family default
32979 ,
32980  click on the input field of the 
32981 \begin_inset Quotes eld
32982 \end_inset
32983
32984 Source editor
32985 \begin_inset Quotes erd
32986 \end_inset
32987
32988  item and add the command 
32989 \begin_inset Flex Code
32990 status collapsed
32991
32992 \begin_layout Plain Layout
32993 lyxclient -g %1 %2
32994 \end_layout
32995
32996 \end_inset
32997
32998 .
32999 \end_layout
33000
33001 \begin_layout Standard
33002 Reverse search is triggered by double-click or,
33003  in more recent versions,
33004  by context menu.
33005 \end_layout
33006
33007 \begin_layout Subsubsection*
33008 YAP (Windows)
33009 \end_layout
33010
33011 \begin_layout Standard
33012 Launch yap,
33013  choose its 
33014 \change_deleted -712698321 1674917958
33015
33016 \begin_inset Flex Noun
33017 status collapsed
33018
33019 \begin_layout Plain Layout
33020 View\SpecialChar menuseparator
33021 Options
33022 \end_layout
33023
33024 \end_inset
33025
33026
33027 \change_inserted -712698321 1674917958
33028
33029 \family sans
33030 View\SpecialChar menuseparator
33031 Options
33032 \change_unchanged
33033
33034 \family default
33035  menu and select the 
33036 \begin_inset Quotes eld
33037 \end_inset
33038
33039 Inverse DVI Search
33040 \begin_inset Quotes erd
33041 \end_inset
33042
33043  tab.
33044  Click on the 
33045 \begin_inset Quotes eld
33046 \end_inset
33047
33048 New\SpecialChar ldots
33049
33050 \begin_inset Quotes erd
33051 \end_inset
33052
33053  button and,
33054  in the window that opens,
33055  enter 
33056 \begin_inset Quotes eld
33057 \end_inset
33058
33059 \SpecialChar LyX
33060  Editor
33061 \begin_inset Quotes erd
33062 \end_inset
33063
33064  (or any other name you like) in the 
33065 \begin_inset Quotes eld
33066 \end_inset
33067
33068 Name:
33069 \begin_inset Quotes erd
33070 \end_inset
33071
33072  field.
33073  Now click on the button labeled 
33074 \begin_inset Quotes eld
33075 \end_inset
33076
33077 \SpecialChar ldots
33078
33079 \begin_inset Quotes erd
33080 \end_inset
33081
33082  to open a file dialog and navigate to the directory containing the batch file 
33083 \begin_inset Flex Code
33084 status collapsed
33085
33086 \begin_layout Plain Layout
33087 lyxeditor.bat
33088 \end_layout
33089
33090 \end_inset
33091
33092  (see below).
33093  Select 
33094 \begin_inset Flex Code
33095 status collapsed
33096
33097 \begin_layout Plain Layout
33098 lyxeditor.bat
33099 \end_layout
33100
33101 \end_inset
33102
33103  and then specify the program arguments as 
33104 \begin_inset Flex Code
33105 status collapsed
33106
33107 \begin_layout Plain Layout
33108 %f %l
33109 \end_layout
33110
33111 \end_inset
33112
33113 .
33114  The 
33115 \begin_inset Flex Code
33116 status collapsed
33117
33118 \begin_layout Plain Layout
33119 lyxeditor.bat
33120 \end_layout
33121
33122 \end_inset
33123
33124  wrapper is used for communicating with \SpecialChar LyX
33125  through the 
33126 \emph on
33127 lyxpipe
33128 \emph default
33129  and is as follows:
33130 \end_layout
33131
33132 \begin_layout LyX-Code
33133 @echo off
33134 \begin_inset Newline newline
33135 \end_inset
33136
33137 echo LYXCMD:revdvi:server-goto-file-row:%~1 %2> 
33138 \backslash
33139
33140 \backslash
33141 .
33142 \backslash
33143 pipe
33144 \backslash
33145 lyxpipe.in
33146 \begin_inset Newline newline
33147 \end_inset
33148
33149 type 
33150 \backslash
33151
33152 \backslash
33153 .
33154 \backslash
33155 pipe
33156 \backslash
33157 lyxpipe.out
33158 \end_layout
33159
33160 \begin_layout Standard
33161 Make sure that the \SpecialChar LyX
33162 Server pipe path you specified in \SpecialChar LyX
33163  is 
33164 \begin_inset Flex Code
33165 status collapsed
33166
33167 \begin_layout Plain Layout
33168
33169 \backslash
33170
33171 \backslash
33172 .
33173 \backslash
33174 pipe
33175 \backslash
33176 lyxpipe
33177 \end_layout
33178
33179 \end_inset
33180
33181 ,
33182  otherwise change the 
33183 \begin_inset Flex Code
33184 status collapsed
33185
33186 \begin_layout Plain Layout
33187 lyxeditor.bat
33188 \end_layout
33189
33190 \end_inset
33191
33192  wrapper accordingly.
33193 \end_layout
33194
33195 \begin_layout Standard
33196 In yap,
33197  reverse search is triggered by double-click.
33198 \end_layout
33199
33200 \begin_layout Subsubsection*
33201 SumatraPDF (Windows)
33202 \end_layout
33203
33204 \begin_layout Standard
33205 In order to use SumatraPDF for inverse search,
33206  enter 
33207 \begin_inset Flex Code
33208 status collapsed
33209
33210 \begin_layout Plain Layout
33211 SumatraPDF -inverse-search "lyxeditor.bat "%f" %l"
33212 \end_layout
33213
33214 \end_inset
33215
33216  in the viewer setting in 
33217 \change_deleted -712698321 1674917965
33218
33219 \begin_inset Flex Noun
33220 status collapsed
33221
33222 \begin_layout Plain Layout
33223 Preferences\SpecialChar menuseparator
33224 File Handling\SpecialChar menuseparator
33225 File formats\SpecialChar menuseparator
33226 PDF (pdflatex)
33227 \end_layout
33228
33229 \end_inset
33230
33231
33232 \change_inserted -712698321 1674917965
33233
33234 \family sans
33235 Preferences\SpecialChar menuseparator
33236 File Handling\SpecialChar menuseparator
33237 File formats\SpecialChar menuseparator
33238 PDF (pdflatex)
33239 \change_unchanged
33240
33241 \family default
33242 ,
33243  where 
33244 \begin_inset Flex Code
33245 status collapsed
33246
33247 \begin_layout Plain Layout
33248 lyxeditor.bat
33249 \end_layout
33250
33251 \end_inset
33252
33253  is the previous wrapper.
33254  If SumatraPDF.exe is not in your command PATH,
33255  use its full file name.
33256 \end_layout
33257
33258 \begin_layout Standard
33259 Reverse search is triggered by double-click.
33260 \end_layout
33261
33262 \begin_layout Subsubsection*
33263 YAP (Cygwin)
33264 \end_layout
33265
33266 \begin_layout Standard
33267 First of all,
33268  make sure that yap is your default DVI viewer in the Windows environment,
33269  then launch it,
33270  choose its 
33271 \change_deleted -712698321 1674917973
33272
33273 \begin_inset Flex Noun
33274 status collapsed
33275
33276 \begin_layout Plain Layout
33277 View\SpecialChar menuseparator
33278 Options
33279 \end_layout
33280
33281 \end_inset
33282
33283
33284 \change_inserted -712698321 1674917973
33285
33286 \family sans
33287 View\SpecialChar menuseparator
33288 Options
33289 \change_unchanged
33290
33291 \family default
33292  menu and select the 
33293 \begin_inset Quotes eld
33294 \end_inset
33295
33296 Inverse DVI Search
33297 \begin_inset Quotes erd
33298 \end_inset
33299
33300  tab.
33301  Click on the 
33302 \begin_inset Quotes eld
33303 \end_inset
33304
33305 New\SpecialChar ldots
33306
33307 \begin_inset Quotes erd
33308 \end_inset
33309
33310  button and,
33311  in the window that opens,
33312  enter 
33313 \begin_inset Quotes eld
33314 \end_inset
33315
33316 \SpecialChar LyX
33317  Editor
33318 \begin_inset Quotes erd
33319 \end_inset
33320
33321  (or any other name you like) in the 
33322 \begin_inset Quotes eld
33323 \end_inset
33324
33325 Name:
33326 \begin_inset Quotes erd
33327 \end_inset
33328
33329  field.
33330  Now click on the button labeled 
33331 \begin_inset Quotes eld
33332 \end_inset
33333
33334 \SpecialChar ldots
33335
33336 \begin_inset Quotes erd
33337 \end_inset
33338
33339  to open a file dialog and navigate to the directory containing the 
33340 \begin_inset Flex Code
33341 status collapsed
33342
33343 \begin_layout Plain Layout
33344 lyxeditor.exe
33345 \end_layout
33346
33347 \end_inset
33348
33349  program (which is installed by default on Cygwin along with the \SpecialChar LyX
33350  executable).
33351  Select 
33352 \begin_inset Flex Code
33353 status collapsed
33354
33355 \begin_layout Plain Layout
33356 lyxeditor.exe
33357 \end_layout
33358
33359 \end_inset
33360
33361  and then specify the program arguments as 
33362 \begin_inset Flex Code
33363 status collapsed
33364
33365 \begin_layout Plain Layout
33366 -g %f %l
33367 \end_layout
33368
33369 \end_inset
33370
33371 .
33372  In this way,
33373  you will be using the 
33374 \emph on
33375 lyxsocket
33376 \emph default
33377  for communicating with \SpecialChar LyX
33378 .
33379  If,
33380  for whatever reason,
33381  you want to use the 
33382 \emph on
33383 lyxpipe
33384 \emph default
33385 ,
33386  omit the 
33387 \begin_inset Flex Code
33388 status collapsed
33389
33390 \begin_layout Plain Layout
33391 -g
33392 \end_layout
33393
33394 \end_inset
33395
33396  option and be sure to specify the \SpecialChar LyX
33397 Server pipe path in the \SpecialChar LyX
33398  preferences.
33399 \end_layout
33400
33401 \begin_layout Standard
33402 In yap,
33403  reverse search is triggered by double-click.
33404 \end_layout
33405
33406 \begin_layout Subsubsection*
33407 SumatraPDF (Cygwin)
33408 \end_layout
33409
33410 \begin_layout Standard
33411 In order to use SumatraPDF for inverse search,
33412  enter 
33413 \begin_inset Flex Code
33414 status collapsed
33415
33416 \begin_layout Plain Layout
33417 SumatraPDF -inverse-search "lyxeditor -g %f %l"
33418 \end_layout
33419
33420 \end_inset
33421
33422  in the viewer setting in 
33423 \change_deleted -712698321 1674917986
33424
33425 \begin_inset Flex Noun
33426 status collapsed
33427
33428 \begin_layout Plain Layout
33429 Preferences\SpecialChar menuseparator
33430 File Handling\SpecialChar menuseparator
33431 File formats\SpecialChar menuseparator
33432 PDF (pdflatex)
33433 \end_layout
33434
33435 \end_inset
33436
33437
33438 \change_inserted -712698321 1674917986
33439
33440 \family sans
33441 Preferences\SpecialChar menuseparator
33442 File Handling\SpecialChar menuseparator
33443 File formats\SpecialChar menuseparator
33444 PDF (pdflatex)
33445 \change_unchanged
33446
33447 \family default
33448 .
33449  If SumatraPDF.exe is not in your command PATH,
33450  use its full posix path.
33451  The 
33452 \begin_inset Flex Code
33453 status collapsed
33454
33455 \begin_layout Plain Layout
33456 -g
33457 \end_layout
33458
33459 \end_inset
33460
33461  enables communication via the 
33462 \emph on
33463 lyxsocket
33464 \emph default
33465 .
33466  Again,
33467  omit the 
33468 \begin_inset Flex Code
33469 status collapsed
33470
33471 \begin_layout Plain Layout
33472 -g
33473 \end_layout
33474
33475 \end_inset
33476
33477  option if you want to use the 
33478 \emph on
33479 lyxpipe
33480 \emph default
33481 ,
33482  and be sure to specify the \SpecialChar LyX
33483 Server pipe path in the \SpecialChar LyX
33484  preferences.
33485 \end_layout
33486
33487 \begin_layout Standard
33488 Reverse search is triggered by double-click.
33489 \end_layout
33490
33491 \begin_layout Section
33492 Forward search
33493 \end_layout
33494
33495 \begin_layout Standard
33496 Forward search is,
33497  as the name implies,
33498  in a sense the 
33499 \begin_inset Quotes eld
33500 \end_inset
33501
33502 opposite
33503 \begin_inset Quotes erd
33504 \end_inset
33505
33506  of reverse search.
33507  It allows you to let the viewer jump to a given position from within \SpecialChar LyX
33508 .
33509  If forward search is set up (as described in what follows),
33510  you can put the cursor anywhere in your \SpecialChar LyX
33511  document,
33512  and hit 
33513 \change_deleted -712698321 1674917994
33514
33515 \begin_inset Flex Noun
33516 status collapsed
33517
33518 \begin_layout Plain Layout
33519 Navigate\SpecialChar menuseparator
33520 Forward search
33521 \end_layout
33522
33523 \end_inset
33524
33525
33526 \change_inserted -712698321 1674917994
33527
33528 \family sans
33529 Navigate\SpecialChar menuseparator
33530 Forward search
33531 \change_unchanged
33532
33533 \family default
33534  (or select 
33535 \change_deleted -712698321 1674918002
33536
33537 \family sans
33538
33539 \begin_inset Flex Noun
33540 status collapsed
33541
33542 \begin_layout Plain Layout
33543
33544 \family sans
33545 Forward search
33546 \end_layout
33547
33548 \end_inset
33549
33550
33551 \change_inserted -712698321 1674918002
33552 Forward search
33553 \change_unchanged
33554
33555 \family default
33556  in the context menu via right mouse click),
33557  and then the viewer will jump to that position as well.
33558  This implies,
33559  of course,
33560  that your viewer supports this function.
33561 \end_layout
33562
33563 \begin_layout Standard
33564 To make forward search possible,
33565  you first need to provide the generated output PDF/DVI file with additional information about the \SpecialChar TeX
33566  sources.
33567  This can be done via the methods described in the section 
33568 \begin_inset CommandInset ref
33569 LatexCommand ref
33570 reference "subsec:rev-search"
33571 nolink "false"
33572
33573 \end_inset
33574
33575 .
33576 \end_layout
33577
33578 \begin_layout Standard
33579 Additionally,
33580  you need to configure \SpecialChar LyX
33581  for using your viewers in 
33582 \change_deleted -712698321 1674918011
33583
33584 \begin_inset Flex Noun
33585 status collapsed
33586
33587 \begin_layout Plain Layout
33588 Tools\SpecialChar menuseparator
33589 Preferences\SpecialChar menuseparator
33590 Output\SpecialChar menuseparator
33591 General
33592 \end_layout
33593
33594 \end_inset
33595
33596
33597 \change_inserted -712698321 1674918011
33598
33599 \family sans
33600 Tools\SpecialChar menuseparator
33601 Preferences\SpecialChar menuseparator
33602 Output\SpecialChar menuseparator
33603 General
33604 \change_unchanged
33605
33606 \family default
33607 .
33608  We provide a range of tested configurations for some viewers,
33609  which you can select from the drop down list.
33610  If none of these configurations suits you,
33611  you have to find out and enter a suitable configuration yourself.
33612  The definition syntax uses the following placeholders:
33613 \end_layout
33614
33615 \begin_layout Itemize
33616 \noindent
33617 \begin_inset Flex Code
33618 status collapsed
33619
33620 \begin_layout Plain Layout
33621 $$n
33622 \end_layout
33623
33624 \end_inset
33625
33626 :
33627  row number
33628 \end_layout
33629
33630 \begin_layout Itemize
33631 \noindent
33632 \begin_inset Flex Code
33633 status collapsed
33634
33635 \begin_layout Plain Layout
33636 $$t
33637 \end_layout
33638
33639 \end_inset
33640
33641 :
33642  name of the (temporary) exported .tex file (without path)
33643 \end_layout
33644
33645 \begin_layout Itemize
33646 \noindent
33647 \begin_inset Flex Code
33648 status collapsed
33649
33650 \begin_layout Plain Layout
33651 $$f
33652 \end_layout
33653
33654 \end_inset
33655
33656 :
33657  name of the (temporary) exported .tex file (including path)
33658 \end_layout
33659
33660 \begin_layout Itemize
33661 \noindent
33662 \begin_inset Flex Code
33663 status collapsed
33664
33665 \begin_layout Plain Layout
33666 $$o
33667 \end_layout
33668
33669 \end_inset
33670
33671 :
33672  name of the exported output file (either dvi or pdf,
33673  depending on which one exists in the temporary directory)
33674 \end_layout
33675
33676 \begin_layout Standard
33677 Note that only some of the viewers provide full and usable forward search functionality out of the box,
33678  among them yap,
33679  xdvi,
33680  okular
33681 \begin_inset Foot
33682 status collapsed
33683
33684 \begin_layout Plain Layout
33685 You might want to set 
33686 \begin_inset Flex Code
33687 status collapsed
33688
33689 \begin_layout Plain Layout
33690 okular --unique
33691 \end_layout
33692
33693 \end_inset
33694
33695  in 
33696 \change_deleted -712698321 1674918020
33697
33698 \begin_inset Flex Noun
33699 status collapsed
33700
33701 \begin_layout Plain Layout
33702 Tools\SpecialChar menuseparator
33703 Preferences\SpecialChar menuseparator
33704 File Handling\SpecialChar menuseparator
33705 File
33706 \begin_inset space ~
33707 \end_inset
33708
33709 Formats
33710 \end_layout
33711
33712 \end_inset
33713
33714
33715 \change_inserted -712698321 1674918020
33716
33717 \family sans
33718 Tools\SpecialChar menuseparator
33719 Preferences\SpecialChar menuseparator
33720 File Handling\SpecialChar menuseparator
33721 File
33722 \begin_inset space ~
33723 \end_inset
33724
33725 Formats
33726 \change_unchanged
33727
33728 \end_layout
33729
33730 \end_inset
33731
33732 ,
33733  qpdfview,
33734  and SumatraPDF
33735 \begin_inset Foot
33736 status collapsed
33737
33738 \begin_layout Plain Layout
33739 SumatraPDF can also use DDE commands through the external program CMCDDE —
33740  downloadable from 
33741 \begin_inset CommandInset href
33742 LatexCommand href
33743 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
33744 literal "false"
33745
33746 \end_inset
33747
33748
33749 \end_layout
33750
33751 \end_inset
33752
33753 .
33754  Others,
33755  such as evince
33756 \begin_inset Foot
33757 status collapsed
33758
33759 \begin_layout Plain Layout
33760 Forward search with evince can be achieved by means of third party helper scripts.
33761  Please refer to 
33762 \begin_inset CommandInset href
33763 LatexCommand href
33764 target "https://wiki.lyx.org/LyX/SyncTeX"
33765 literal "false"
33766
33767 \end_inset
33768
33769  for details.
33770 \end_layout
33771
33772 \end_inset
33773
33774 ,
33775  require some extra tools in order to use forward search.
33776  While many of the widespread PDF viewers (most notably Adobe Reader) do not support forward search at all,
33777  some other viewers – e.
33778 \begin_inset space \thinspace{}
33779 \end_inset
33780
33781 g.
33782  xpdf – allow at least to reload the document and jump to a specific page of the file,
33783  so you can at least navigate 
33784 \begin_inset Quotes eld
33785 \end_inset
33786
33787 near
33788 \begin_inset Quotes erd
33789 \end_inset
33790
33791 .
33792  This latter functionality is provided by an external call of synctex (see the predefined example configurations).
33793  
33794 \end_layout
33795
33796 \begin_layout Standard
33797 Forward search works both with DVI and PDF output.
33798  \SpecialChar LyX
33799  simply checks which preview format you have used before (i.
33800 \begin_inset space \thinspace{}
33801 \end_inset
33802
33803 e.,
33804  which format is already there in the temporary directory) and chooses the appropriate configuration for the respective format.
33805 \change_deleted 564990737 1672743015
33806
33807 \end_layout
33808
33809 \begin_layout Standard
33810
33811 \change_deleted 564990737 1672743015
33812 Special Document Classes
33813 \end_layout
33814
33815 \begin_layout Standard
33816
33817 \change_deleted 564990737 1669742044
33818 A&A Paper
33819 \end_layout
33820
33821 \begin_layout Standard
33822
33823 \change_deleted 564990737 1669742044
33824 by 
33825 \noun on
33826 Peter Sütterlin
33827 \end_layout
33828
33829 \begin_layout Standard
33830
33831 \change_deleted 564990737 1669742044
33832 Introduction
33833 \end_layout
33834
33835 \begin_layout Standard
33836
33837 \change_deleted 564990737 1669742044
33838 This section describes how \SpecialChar LyX
33839  can be used to write articles for submission to the scientific journal 
33840 \emph on
33841 Astronomy and Astrophysics
33842 \emph default
33843  (
33844 \begin_inset Flex URL
33845 status collapsed
33846
33847 \begin_layout Plain Layout
33848
33849 https://www.aanda.org/
33850 \end_layout
33851
33852 \end_inset
33853
33854 ) using Version 5.01 of the document class 
33855 \family typewriter
33856 aa.cls
33857 \family default
33858 .
33859  This package can be downloaded from the ftp site
33860 \end_layout
33861
33862 \begin_layout Standard
33863
33864 \change_deleted 564990737 1669742044
33865 \begin_inset VSpace medskip
33866 \end_inset
33867
33868
33869 \end_layout
33870
33871 \begin_layout Standard
33872 \align center
33873
33874 \change_deleted 564990737 1669742044
33875 \begin_inset Flex URL
33876 status collapsed
33877
33878 \begin_layout Plain Layout
33879
33880 ftp://ftp.edpsciences.org/pub/aa/readme.html
33881 \end_layout
33882
33883 \end_inset
33884
33885
33886 \end_layout
33887
33888 \begin_layout Standard
33889
33890 \change_deleted 564990737 1669742044
33891 \begin_inset VSpace medskip
33892 \end_inset
33893
33894
33895 \end_layout
33896
33897 \begin_layout Standard
33898
33899 \change_deleted 564990737 1669742044
33900 A manual comes together with that package,
33901  and this text is not meant to replace the original manual but is merely a short guide in how to realize the correct form of your paper.
33902  
33903 \end_layout
33904
33905 \begin_layout Standard
33906
33907 \change_deleted 564990737 1669742044
33908 Please note that the publisher of the journal was changed from Springer to EDP Sciences starting January 1,
33909  2001.
33910  That change involved also some slight changes to the style files,
33911  namely the removal of the thesaurus command.
33912  The \SpecialChar LyX
33913  class aa supports the newest version of these style files,
33914  V 5.01.
33915  If you have an older version installed,
33916  please upgrade.
33917  For compatibility,
33918  the old (version 4) layout has been kept as 
33919 \family sans
33920 article (A&A V4)
33921 \family default
33922 .
33923  Please refer to the comments in 
33924 \family typewriter
33925 \SpecialChar LyX
33926 Dir/layouts/aapaper.layout
33927 \family default
33928 .
33929 \end_layout
33930
33931 \begin_layout Standard
33932
33933 \change_deleted 564990737 1669742044
33934 Getting started
33935 \end_layout
33936
33937 \begin_layout Standard
33938
33939 \change_deleted 564990737 1669742044
33940 It is recommended you start from the example template distributed with \SpecialChar LyX
33941 .
33942  If you are not using a template,
33943  note the following settings:
33944 \end_layout
33945
33946 \begin_layout Itemize
33947
33948 \change_deleted 564990737 1669742044
33949 Select 
33950 \family sans
33951 article (A&A)
33952 \family default
33953  in the 
33954 \family sans
33955 Document\SpecialChar menuseparator
33956 Settings
33957 \family default
33958  dialog (OK,
33959  that one was obvious).
33960 \end_layout
33961
33962 \begin_layout Itemize
33963
33964 \change_deleted 564990737 1669742044
33965 Don't change the option 
33966 \family sans
33967 Page
33968 \begin_inset space ~
33969 \end_inset
33970
33971 style
33972 \family default
33973 :
33974  Leave it set to 
33975 \family sans
33976 default
33977 \family default
33978 .
33979  The whole layout is done by the macros,
33980  you shouldn't change anything.
33981 \end_layout
33982
33983 \begin_layout Standard
33984
33985 \change_deleted 564990737 1669742044
33986 The header block
33987 \end_layout
33988
33989 \begin_layout Standard
33990
33991 \change_deleted 564990737 1669742044
33992 First thing to enter is the header information.
33993  It consists of seven entries,
33994  of which some are optional.
33995  They are
33996 \end_layout
33997
33998 \begin_layout Itemize
33999
34000 \change_deleted 564990737 1669742044
34001
34002 \family sans
34003 Title
34004 \family default
34005 :
34006  [required] 
34007 \end_layout
34008
34009 \begin_layout Itemize
34010
34011 \change_deleted 564990737 1669742044
34012
34013 \family sans
34014 Subtitle
34015 \family default
34016 :
34017  [optional] 
34018 \end_layout
34019
34020 \begin_layout Itemize
34021
34022 \change_deleted 564990737 1669742044
34023
34024 \family sans
34025 Author
34026 \family default
34027 :
34028  [required]
34029 \end_layout
34030
34031 \begin_layout Itemize
34032
34033 \change_deleted 564990737 1669742044
34034
34035 \family sans
34036 Address
34037 \family default
34038 :
34039  [required]
34040 \end_layout
34041
34042 \begin_layout Itemize
34043
34044 \change_deleted 564990737 1669742044
34045
34046 \family sans
34047 Offprints
34048 \family default
34049 :
34050  [optional] if more than one author:
34051  whom to contact for offprint requests.
34052 \end_layout
34053
34054 \begin_layout Itemize
34055
34056 \change_deleted 564990737 1669742044
34057
34058 \family sans
34059 Mail
34060 \family default
34061 :
34062  [optional] mail address for contacts.
34063 \end_layout
34064
34065 \begin_layout Itemize
34066
34067 \change_deleted 564990737 1669742044
34068
34069 \family sans
34070 Date
34071 \family default
34072 :
34073  [required].
34074  Suggested format is 
34075 \family typewriter
34076 Received:
34077  <date>;
34078  Accepted <date> 
34079 \end_layout
34080
34081 \begin_layout Standard
34082
34083 \change_deleted 564990737 1669742044
34084 There is no need to issue the 
34085 \family typewriter
34086
34087 \backslash
34088 maketitle
34089 \family default
34090  command,
34091  this is done automatically by \SpecialChar LyX
34092  when the header is finished.
34093  Although the order of the single header entries doesn't matter it is advised to keep the above sequence,
34094  just to get the best optics and meets the layout of the real document.
34095 \end_layout
34096
34097 \begin_layout Standard
34098
34099 \change_deleted 564990737 1669742044
34100 If you want to place footnotes in the header block,
34101  e.
34102 \begin_inset space \thinspace{}
34103 \end_inset
34104
34105 g.
34106 \begin_inset space \space{}
34107 \end_inset
34108
34109 to state your present address,
34110  just use the standard footnote via the menu 
34111 \family sans
34112 Insert\SpecialChar menuseparator
34113 Footnote.
34114
34115 \family default
34116  \SpecialChar LyX
34117  will automagically use the term 
34118 \family typewriter
34119
34120 \backslash
34121 thanks{}
34122 \family default
34123  in that case.
34124 \end_layout
34125
34126 \begin_layout Standard
34127
34128 \change_deleted 564990737 1669742044
34129 Under 
34130 \family sans
34131 Edit\SpecialChar menuseparator
34132 Text Style
34133 \family default
34134 ,
34135  you'll find two insets which are relevant for the titling:
34136 \end_layout
34137
34138 \begin_layout Itemize
34139
34140 \change_deleted 564990737 1669742044
34141
34142 \family sans
34143 Institute
34144 \family typewriter
34145  
34146 \family default
34147 to mark corresponding author\SpecialChar breakableslash
34148 institute pairs.
34149  The institutes are numbered sequentially as they appear in the 
34150 \family sans
34151 Address
34152 \family default
34153  field,
34154  so you have to put a marker to each author.
34155 \end_layout
34156
34157 \begin_layout Itemize
34158
34159 \change_deleted 564990737 1669742044
34160
34161 \family sans
34162 Email
34163 \family default
34164  to supply an email address for fast contact.
34165 \end_layout
34166
34167 \begin_layout Standard
34168
34169 \change_deleted 564990737 1669742044
34170 In addition to these topics,
34171  the macros use one additional \SpecialChar LaTeX
34172  command that has no counterpart in \SpecialChar LyX
34173 :
34174 \end_layout
34175
34176 \begin_layout Itemize
34177
34178 \change_deleted 564990737 1669742044
34179
34180 \family typewriter
34181
34182 \backslash
34183 and
34184 \family default
34185  to separate different names for more than one author and institute,
34186  respectively.
34187 \end_layout
34188
34189 \begin_layout Standard
34190
34191 \change_deleted 564990737 1669742044
34192 The appropriate command has to be entered in \SpecialChar LyX
34193  and marked as \SpecialChar LaTeX
34194  code.
34195  See the examples.
34196  
34197 \end_layout
34198
34199 \begin_layout Standard
34200
34201 \change_deleted 564990737 1669742044
34202 The abstract
34203 \end_layout
34204
34205 \begin_layout Standard
34206
34207 \change_deleted 564990737 1669742044
34208 The abstract should immediately follow the header block.
34209  With version 5 the abstract environment was changed to a command,
34210  and there is now a restriction to only one paragraph.
34211  In addition,
34212  it should contain an entry with the keywords.
34213  This is done via the paragraph style 
34214 \family sans
34215 Keywords
34216 \family default
34217 .
34218  Refer to the example paper.
34219 \end_layout
34220
34221 \begin_layout Standard
34222
34223 \change_deleted 564990737 1669742044
34224 Supported environments
34225 \end_layout
34226
34227 \begin_layout Standard
34228
34229 \change_deleted 564990737 1669742044
34230 The A&A paper layout supports the following environments for structuring your text:
34231 \end_layout
34232
34233 \begin_layout Itemize
34234
34235 \change_deleted 564990737 1669742044
34236
34237 \family sans
34238 Standard
34239 \end_layout
34240
34241 \begin_layout Itemize
34242
34243 \change_deleted 564990737 1669742044
34244
34245 \family sans
34246 Section
34247 \end_layout
34248
34249 \begin_layout Itemize
34250
34251 \change_deleted 564990737 1669742044
34252
34253 \family sans
34254 Subsection
34255 \end_layout
34256
34257 \begin_layout Itemize
34258
34259 \change_deleted 564990737 1669742044
34260
34261 \family sans
34262 Subsubsection
34263 \end_layout
34264
34265 \begin_layout Itemize
34266
34267 \change_deleted 564990737 1669742044
34268
34269 \family sans
34270 Itemize
34271 \end_layout
34272
34273 \begin_layout Itemize
34274
34275 \change_deleted 564990737 1669742044
34276
34277 \family sans
34278 Enumerate
34279 \end_layout
34280
34281 \begin_layout Itemize
34282
34283 \change_deleted 564990737 1669742044
34284
34285 \family sans
34286 Description
34287 \end_layout
34288
34289 \begin_layout Itemize
34290
34291 \change_deleted 564990737 1669742044
34292
34293 \family sans
34294 Caption
34295 \end_layout
34296
34297 \begin_layout Itemize
34298
34299 \change_deleted 564990737 1669742044
34300
34301 \family sans
34302 Abstract
34303 \end_layout
34304
34305 \begin_layout Itemize
34306
34307 \change_deleted 564990737 1669742044
34308
34309 \family sans
34310 Acknowledgment
34311 \end_layout
34312
34313 \begin_layout Itemize
34314
34315 \change_deleted 564990737 1669742044
34316
34317 \family sans
34318 Bibliography
34319 \end_layout
34320
34321 \begin_layout Itemize
34322
34323 \change_deleted 564990737 1669742044
34324
34325 \family sans
34326 \SpecialChar LaTeX
34327
34328 \end_layout
34329
34330 \begin_layout Standard
34331
34332 \change_deleted 564990737 1669742044
34333 Commands not supported by \SpecialChar LyX
34334
34335 \end_layout
34336
34337 \begin_layout Standard
34338
34339 \change_deleted 564990737 1669742044
34340 Some commands are not yet supported by the 
34341 \family sans
34342 paper (A&A)
34343 \family default
34344  layout for \SpecialChar LyX
34345 .
34346  Some have already been mentioned.
34347  For the sake of completeness,
34348  they are listed all together here:
34349 \end_layout
34350
34351 \begin_layout Itemize
34352
34353 \change_deleted 564990737 1669742044
34354
34355 \family typewriter
34356
34357 \backslash
34358 and
34359 \end_layout
34360
34361 \begin_layout Itemize
34362
34363 \change_deleted 564990737 1669742044
34364
34365 \family typewriter
34366
34367 \backslash
34368 authorrunning
34369 \end_layout
34370
34371 \begin_layout Itemize
34372
34373 \change_deleted 564990737 1669742044
34374
34375 \family typewriter
34376
34377 \backslash
34378 object{}
34379 \end_layout
34380
34381 \begin_layout Itemize
34382
34383 \change_deleted 564990737 1669742044
34384
34385 \family typewriter
34386
34387 \backslash
34388 titlerunning{}
34389 \end_layout
34390
34391 \begin_layout Standard
34392
34393 \change_deleted 564990737 1669742044
34394 If you want to use any of these commands,
34395  you have to enter them yourself.
34396  
34397 \series bold
34398 Do not forget to mark them as \SpecialChar LaTeX
34399  code!
34400 \end_layout
34401
34402 \begin_layout Standard
34403
34404 \change_deleted 564990737 1669742044
34405 Figure and Table Floats
34406 \end_layout
34407
34408 \begin_layout Standard
34409
34410 \change_deleted 564990737 1669742044
34411 \SpecialChar LyX
34412  provides support for the necessary float environments 
34413 \family sans
34414 figure,
34415  figure*,
34416  table
34417 \family default
34418  and 
34419 \family sans
34420 table*
34421 \family default
34422 ,
34423  therefore we won't tell much about it here.
34424  Refer to the 
34425 \emph on
34426 User's
34427 \begin_inset space ~
34428 \end_inset
34429
34430 Guide
34431 \emph default
34432 .
34433  Just remember that tables should be left-aligned.
34434  For that,
34435  select the table and change the alignment in 
34436 \family sans
34437 Edit\SpecialChar menuseparator
34438 Paragraph
34439 \begin_inset space ~
34440 \end_inset
34441
34442 Settings.
34443 \end_layout
34444
34445 \begin_layout Standard
34446
34447 \change_deleted 564990737 1669742044
34448 There is only one special thing:
34449  the figures with caption besides the figure.
34450  To create such a figure,
34451  you have to do the following:
34452 \end_layout
34453
34454 \begin_layout Enumerate
34455
34456 \change_deleted 564990737 1669742044
34457 Create a wide figure float:
34458  
34459 \family sans
34460 Insert\SpecialChar menuseparator
34461 Float\SpecialChar menuseparator
34462 Figure
34463 \family default
34464 ,
34465  then right click in the figure and select 
34466 \family sans
34467 Span
34468 \begin_inset space ~
34469 \end_inset
34470
34471 columns
34472 \family default
34473 .
34474 \end_layout
34475
34476 \begin_layout Enumerate
34477
34478 \change_deleted 564990737 1669742044
34479 Enter your caption text.
34480 \end_layout
34481
34482 \begin_layout Enumerate
34483
34484 \change_deleted 564990737 1669742044
34485 Press 
34486 \family sans
34487 Return
34488 \family default
34489  to move the cursor above the caption.
34490 \end_layout
34491
34492 \begin_layout Enumerate
34493
34494 \change_deleted 564990737 1669742044
34495 Insert your figure
34496 \end_layout
34497
34498 \begin_layout Enumerate
34499
34500 \change_deleted 564990737 1669742044
34501 Position the cursor behind the figure and insert a horizontal fill:
34502  
34503 \family sans
34504 Insert\SpecialChar menuseparator
34505 Special
34506 \begin_inset space ~
34507 \end_inset
34508
34509 Character\SpecialChar menuseparator
34510 Horizontal
34511 \begin_inset space ~
34512 \end_inset
34513
34514 Fill
34515 \family default
34516 .
34517 \end_layout
34518
34519 \begin_layout Enumerate
34520
34521 \change_deleted 564990737 1669742044
34522 Switch to \SpecialChar LaTeX
34523  mode:
34524  
34525 \family sans
34526 M-c
34527 \begin_inset space ~
34528 \end_inset
34529
34530 t
34531 \family default
34532 .
34533 \end_layout
34534
34535 \begin_layout Enumerate
34536
34537 \change_deleted 564990737 1669742044
34538 Enter 
34539 \family typewriter
34540
34541 \backslash
34542 parbox[b]{55mm}{
34543 \family default
34544 .
34545  
34546 \series bold
34547 Do not close the brace!
34548 \end_layout
34549
34550 \begin_layout Enumerate
34551
34552 \change_deleted 564990737 1669742044
34553 Position the cursor behind the caption text,
34554  switch to \SpecialChar LaTeX
34555  mode and insert the closing brace:
34556  
34557 \family sans
34558 M-c
34559 \begin_inset space ~
34560 \end_inset
34561
34562 t
34563 \family default
34564  
34565 \family typewriter
34566 }
34567 \family default
34568 .
34569 \end_layout
34570
34571 \begin_layout Standard
34572
34573 \change_deleted 564990737 1669742044
34574 Also,
34575  refer to the figures in the example paper.
34576 \end_layout
34577
34578 \begin_layout Standard
34579
34580 \change_deleted 564990737 1669742044
34581 Referee layout
34582 \end_layout
34583
34584 \begin_layout Standard
34585
34586 \change_deleted 564990737 1669742044
34587 For submission,
34588  the paper has to be formated in a special double-spacing layout.
34589  For this purpose,
34590  you have to give the option 
34591 \family typewriter
34592 referee
34593 \family default
34594  to the document class.
34595  This must be done using the custom class options field in the 
34596 \family sans
34597 Document\SpecialChar menuseparator
34598 Settings
34599 \family default
34600  dialog.
34601  Just enter the string 
34602 \family typewriter
34603 referee
34604 \family default
34605  there.
34606 \end_layout
34607
34608 \begin_layout Standard
34609
34610 \change_deleted 564990737 1669742044
34611 The example paper
34612 \end_layout
34613
34614 \begin_layout Standard
34615
34616 \change_deleted 564990737 1669742044
34617 The 
34618 \family sans
34619 Examples
34620 \family default
34621  directory contains an example paper written with \SpecialChar LyX
34622 .
34623  It is the example paper from the original macro package,
34624  translated to \SpecialChar LyX
34625 .
34626  Use it for inspiration,
34627  and compare the original \SpecialChar LaTeX
34628  code with \SpecialChar LyX
34629  way of writing.
34630 \end_layout
34631
34632 \begin_layout Standard
34633
34634 \change_deleted 564990737 1671097429
34635 Dinbrief
34636 \end_layout
34637
34638 \begin_layout Standard
34639
34640 \change_deleted 564990737 1671097429
34641 The document class 
34642 \family sans
34643 dinbrief
34644 \family default
34645  can be used to type letters according to German conventions.
34646  A template file is included in 
34647 \family typewriter
34648 .../lyx/share/templates
34649 \family default
34650  for you to use as a starting point.
34651 \end_layout
34652
34653 \begin_layout Standard
34654
34655 \change_deleted 564990737 1671097429
34656 Elsevier Journals
34657 \end_layout
34658
34659 \begin_layout Standard
34660
34661 \change_deleted 564990737 1671097429
34662 See the \SpecialChar LyX
34663  template file 
34664 \family typewriter
34665 elsarticle.lyx
34666 \family default
34667 .
34668  It contains all infos you need.
34669 \end_layout
34670
34671 \begin_layout Standard
34672
34673 \change_deleted 564990737 1669755802
34674 ijmpc and ijmpd
34675 \end_layout
34676
34677 \begin_layout Standard
34678
34679 \change_deleted 564990737 1669755802
34680 by 
34681 \noun on
34682 Panayotis Papasotiriou
34683 \end_layout
34684
34685 \begin_layout Standard
34686
34687 \change_deleted 564990737 1669755802
34688 Overview
34689 \end_layout
34690
34691 \begin_layout Standard
34692
34693 \change_deleted 564990737 1669755802
34694 The ijmpc package is a set of macros that facilitates electronic manuscript submission to the 
34695 \emph on
34696 International Journal of Modern Physics C
34697 \emph default
34698 .
34699  Similarly,
34700  the ijmpd package is for creating manuscripts to be submitted to the 
34701 \emph on
34702 International Journal of Modern Physics D
34703 \emph default
34704 .
34705  Both journals are published by World Scientific.
34706  The corresponding document classes are named 
34707 \family typewriter
34708 ws-ijmpc.cls
34709 \family default
34710  and 
34711 \family typewriter
34712 ws-ijmpd.cls
34713 \family default
34714 ,
34715  respectively.
34716  These files,
34717  together with instructions for the authors,
34718  can be downloaded from the sites 
34719 \begin_inset Flex URL
34720 status collapsed
34721
34722 \begin_layout Plain Layout
34723
34724 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
34725 \end_layout
34726
34727 \end_inset
34728
34729  and 
34730 \begin_inset Flex URL
34731 status collapsed
34732
34733 \begin_layout Plain Layout
34734
34735 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
34736 \end_layout
34737
34738 \end_inset
34739
34740 .
34741  Both packages are modified versions of the standard 
34742 \begin_inset Quotes eld
34743 \end_inset
34744
34745 article
34746 \begin_inset Quotes erd
34747 \end_inset
34748
34749  package,
34750  and they are almost (but not exactly) identical.
34751  Most of their features are supported by \SpecialChar LyX
34752 .
34753  I have used \SpecialChar LyX
34754  successfully to write articles submitted to both journals without any problem.
34755 \end_layout
34756
34757 \begin_layout Standard
34758
34759 \change_deleted 564990737 1669755802
34760 Writing a paper
34761 \end_layout
34762
34763 \begin_layout Standard
34764
34765 \change_deleted 564990737 1669755802
34766 As usual,
34767  the easiest way to write a paper is to start with a template.
34768  Click on 
34769 \family sans
34770 File\SpecialChar menuseparator
34771 New from
34772 \family default
34773  
34774 \family sans
34775 Template
34776 \family default
34777 ,
34778  then choose the 
34779 \family typewriter
34780 ijmpc.lyx
34781 \family default
34782  or 
34783 \family typewriter
34784 ijmpd.lyx
34785 \family default
34786  template.
34787  This will give an (almost) empty document that includes the most common fields found in a manuscript.
34788  Simply overwrite the existing text (including the brackets,
34789  
34790 \family typewriter
34791 <>
34792 \family default
34793 ) with your text.
34794  You should keep in mind the following remarks.
34795 \end_layout
34796
34797 \begin_layout Enumerate
34798
34799 \change_deleted 564990737 1669755802
34800 \SpecialChar LyX
34801  won't let you change the font size and the page style of the document,
34802  because such modifications are not allowed by both packages.
34803 \end_layout
34804
34805 \begin_layout Enumerate
34806
34807 \change_deleted 564990737 1669755802
34808 The language of the document should not be changed.
34809  Before previewing your paper,
34810  be sure that the babel package is not used.
34811  To do this,
34812  click on 
34813 \begin_inset Info
34814 type  "menu"
34815 arg   "dialog-show document"
34816 \end_inset
34817
34818  
34819 \family sans
34820 \SpecialChar menuseparator
34821 Language
34822 \family default
34823 ,
34824  and select 
34825 \begin_inset Quotes eld
34826 \end_inset
34827
34828 None
34829 \begin_inset Quotes erd
34830 \end_inset
34831
34832  as 
34833 \family sans
34834 Language Package
34835 \family default
34836 .
34837 \end_layout
34838
34839 \begin_layout Enumerate
34840
34841 \change_deleted 564990737 1669755802
34842 The 
34843 \begin_inset Quotes eld
34844 \end_inset
34845
34846 Keywords
34847 \begin_inset Quotes erd
34848 \end_inset
34849
34850  style must be used to define keywords.
34851 \end_layout
34852
34853 \begin_layout Enumerate
34854
34855 \change_deleted 564990737 1669755802
34856 The ijmpc package provides a style named 
34857 \begin_inset Quotes eld
34858 \end_inset
34859
34860 Classification Codes
34861 \begin_inset Quotes erd
34862 \end_inset
34863
34864 ,
34865  which can be used to define classification codes,
34866  such as PACS numbers.
34867  Note that this facility is not supported by the ijmpd package.
34868 \end_layout
34869
34870 \begin_layout Enumerate
34871
34872 \change_deleted 564990737 1669755802
34873 Several new environments are available:
34874  
34875 \begin_inset Quotes eld
34876 \end_inset
34877
34878 Definition
34879 \begin_inset Quotes erd
34880 \end_inset
34881
34882 ,
34883  
34884 \begin_inset Quotes eld
34885 \end_inset
34886
34887 Step
34888 \begin_inset Quotes erd
34889 \end_inset
34890
34891 ,
34892  
34893 \begin_inset Quotes eld
34894 \end_inset
34895
34896 Example
34897 \begin_inset Quotes erd
34898 \end_inset
34899
34900 ,
34901  
34902 \begin_inset Quotes eld
34903 \end_inset
34904
34905 Remark
34906 \begin_inset Quotes erd
34907 \end_inset
34908
34909 ,
34910  
34911 \begin_inset Quotes eld
34912 \end_inset
34913
34914 Notation
34915 \begin_inset Quotes erd
34916 \end_inset
34917
34918 ,
34919  
34920 \begin_inset Quotes eld
34921 \end_inset
34922
34923 Theorem
34924 \begin_inset Quotes erd
34925 \end_inset
34926
34927 ,
34928  
34929 \begin_inset Quotes eld
34930 \end_inset
34931
34932 Proof
34933 \begin_inset Quotes erd
34934 \end_inset
34935
34936 ,
34937  
34938 \begin_inset Quotes eld
34939 \end_inset
34940
34941 Corollary
34942 \begin_inset Quotes erd
34943 \end_inset
34944
34945 ,
34946  
34947 \begin_inset Quotes eld
34948 \end_inset
34949
34950 Lemma
34951 \begin_inset Quotes erd
34952 \end_inset
34953
34954 ,
34955  
34956 \begin_inset Quotes eld
34957 \end_inset
34958
34959 Proposition
34960 \begin_inset Quotes erd
34961 \end_inset
34962
34963 ,
34964  
34965 \begin_inset Quotes eld
34966 \end_inset
34967
34968 Prop
34969 \begin_inset Quotes erd
34970 \end_inset
34971
34972 ,
34973  
34974 \begin_inset Quotes eld
34975 \end_inset
34976
34977 Question
34978 \begin_inset Quotes erd
34979 \end_inset
34980
34981 ,
34982  
34983 \begin_inset Quotes eld
34984 \end_inset
34985
34986 Claim
34987 \begin_inset Quotes erd
34988 \end_inset
34989
34990 ,
34991  and 
34992 \begin_inset Quotes eld
34993 \end_inset
34994
34995 Conjecture
34996 \begin_inset Quotes erd
34997 \end_inset
34998
34999 .
35000  Their use is more or less obvious.
35001  \SpecialChar LyX
35002  supports all these environments;
35003  it will use the proper label,
35004  text style,
35005  and numbering scheme for each of them.
35006 \end_layout
35007
35008 \begin_layout Enumerate
35009
35010 \change_deleted 564990737 1669755802
35011 Both packages use basic citations;
35012  the natbib package should not be used.
35013  In \SpecialChar LyX
35014 ,
35015  citation references are shown as usual;
35016  in the output,
35017  citations are shown as superscripts.
35018  If you want to use a citation as normal text,
35019  you should use the 
35020 \family typewriter
35021 refcite
35022 \family default
35023  command,
35024  e.
35025 \begin_inset space \thinspace{}
35026 \end_inset
35027
35028 g.
35029 \begin_inset space \space{}
35030 \end_inset
35031
35032
35033 \begin_inset Quotes eld
35034 \end_inset
35035
35036 See Ref.
35037 \begin_inset space \space{}
35038 \end_inset
35039
35040
35041 \family typewriter
35042
35043 \backslash
35044 refcite{key}
35045 \family default
35046
35047 \begin_inset Quotes erd
35048 \end_inset
35049
35050 .
35051 \end_layout
35052
35053 \begin_layout Enumerate
35054
35055 \change_deleted 564990737 1669755802
35056 There is no 
35057 \begin_inset Quotes eld
35058 \end_inset
35059
35060 Acknowledgments
35061 \begin_inset Quotes erd
35062 \end_inset
35063
35064  section in both packages.
35065  To put acknowledgments,
35066  just use the 
35067 \begin_inset Quotes eld
35068 \end_inset
35069
35070 Section*
35071 \begin_inset Quotes erd
35072 \end_inset
35073
35074  environment.
35075 \end_layout
35076
35077 \begin_layout Enumerate
35078
35079 \change_deleted 564990737 1669755802
35080 Appendices may be added to the paper,
35081  
35082 \emph on
35083 after
35084 \emph default
35085  the Acknowledgments and 
35086 \shape italic
35087 before
35088 \shape default
35089  the References.
35090  \SpecialChar LyX
35091  provides a special environment,
35092  called 
35093 \begin_inset Quotes eld
35094 \end_inset
35095
35096 Appendices Section
35097 \begin_inset Quotes erd
35098 \end_inset
35099
35100  which marks the beginning of the appendices.
35101  This environment should be left blank;
35102  it just sends a \SpecialChar LaTeX
35103  command,
35104  but nothing is really printed.
35105  In \SpecialChar LyX
35106 ,
35107  the word 
35108 \begin_inset Quotes eld
35109 \end_inset
35110
35111 Appendix
35112 \begin_inset Quotes erd
35113 \end_inset
35114
35115  is printed with blue letters,
35116  as a signal that all sections after that point are appendices.
35117  To write an appendix,
35118  use the 
35119 \begin_inset Quotes eld
35120 \end_inset
35121
35122 Appendix
35123 \begin_inset Quotes erd
35124 \end_inset
35125
35126  environment.
35127  \SpecialChar LyX
35128  will number each appendix with capital letters,
35129  as required by both journals.
35130  Note that 
35131 \begin_inset Quotes eld
35132 \end_inset
35133
35134 Appendices Section
35135 \begin_inset Quotes erd
35136 \end_inset
35137
35138  
35139 \emph on
35140 must
35141 \emph default
35142  be present before the first appendix;
35143  if not,
35144  all appendices will be numbered as normal sections in the output.
35145 \end_layout
35146
35147 \begin_layout Enumerate
35148
35149 \change_deleted 564990737 1669755802
35150 The ijmpc and the ijmpd packages use the 
35151 \family typewriter
35152 tbl
35153 \family default
35154  command to implement table captions.
35155  As a result,
35156  a table created by \SpecialChar LyX
35157  is printed correctly,
35158  but its caption is ignored.
35159  However,
35160  you can use some \SpecialChar TeX
35161  code to overcome this problem,
35162  so that captions are printed as expected.
35163  To do so,
35164  create a float table as usual,
35165  remove the caption,
35166  and replace it with the \SpecialChar TeX
35167  code 
35168 \family typewriter
35169
35170 \backslash
35171 tbl{
35172 \emph on
35173 your table caption
35174 \emph default
35175 }{
35176 \family default
35177  (sic);
35178  you must also the \SpecialChar TeX
35179  code 
35180 \family typewriter
35181 }
35182 \family default
35183  immediately after the tabular material.
35184  Study the example table included in the template files to see how this trick is implemented.
35185  Alternatively,
35186  If you need table captions,
35187  you should implement the whole table float in a 
35188 \family typewriter
35189 .tex
35190 \family default
35191  file,
35192  then include this file to the \SpecialChar LyX
35193  document (
35194 \family sans
35195 Insert\SpecialChar menuseparator
35196 File\SpecialChar menuseparator
35197 Child
35198 \begin_inset space ~
35199 \end_inset
35200
35201 Document
35202 \family default
35203 ).
35204  Details on how to create a table float can be found in the files 
35205 \family typewriter
35206 ws-ijmpc.tex
35207 \family default
35208  and 
35209 \family typewriter
35210 ws-ijmpd.tex
35211 \family default
35212 ,
35213  included in the corresponding packages.
35214 \end_layout
35215
35216 \begin_layout Standard
35217
35218 \change_deleted 564990737 1669755802
35219 Preparing a paper for submission
35220 \end_layout
35221
35222 \begin_layout Standard
35223
35224 \change_deleted 564990737 1669755802
35225 Before you submit your paper you must export the \SpecialChar LyX
35226  document as a \SpecialChar LaTeX
35227  file (
35228 \family sans
35229 File\SpecialChar menuseparator
35230 Export\SpecialChar menuseparator
35231 \SpecialChar LaTeX
35232
35233 \family default
35234 )
35235 \begin_inset Foot
35236 status open
35237
35238 \begin_layout Plain Layout
35239 Actually you have the choice between \SpecialChar LaTeX
35240  (plain) and pdflatex.
35241  If you intend to use pdflatex to prepare the paper,
35242  you should use the pdflatex option so that included graphics are converted to PDF format,
35243  ready for use by pdflatex.
35244 \end_layout
35245
35246 \end_inset
35247
35248 ,
35249  then make the following changes to the resulting 
35250 \family typewriter
35251 .tex
35252 \family default
35253  file.
35254 \end_layout
35255
35256 \begin_layout Enumerate
35257
35258 \change_deleted 564990737 1669755802
35259 Remove the comment lines before the 
35260 \family typewriter
35261
35262 \backslash
35263 documentclass
35264 \family default
35265  command.
35266 \end_layout
35267
35268 \begin_layout Enumerate
35269
35270 \change_deleted 564990737 1669755802
35271 Remove everything between (and including) the 
35272 \family typewriter
35273
35274 \backslash
35275 makeatletter
35276 \family default
35277  and 
35278 \family typewriter
35279
35280 \backslash
35281 makeatother
35282 \family default
35283  commands,
35284  except for any commands you specifically put into the \SpecialChar LaTeX
35285  preamble.
35286 \end_layout
35287
35288 \begin_layout Standard
35289
35290 \change_deleted 564990737 1672743015
35291 The modified 
35292 \family typewriter
35293 .tex
35294 \family default
35295  file should be saved and processed through \SpecialChar LaTeX
35296  as many times as necessary.
35297  You may also want to check the resulting 
35298 \family typewriter
35299 .dvi
35300 \family default
35301  document.
35302 \end_layout
35303
35304 \begin_layout Standard
35305
35306 \change_deleted 564990737 1669801478
35307 iopart
35308 \end_layout
35309
35310 \begin_layout Standard
35311
35312 \change_deleted 564990737 1669801478
35313 by 
35314 \noun on
35315 Uwe Stöhr
35316 \end_layout
35317
35318 \begin_layout Standard
35319
35320 \change_deleted 564990737 1669801478
35321 Overview
35322 \end_layout
35323
35324 \begin_layout Standard
35325
35326 \change_deleted 564990737 1669801478
35327 The iopart package provides a document class to create electronic manuscript submission to the journals published by the Institute of Physics.
35328  Instructions for the authors how to create a paper using the iopart class can be downloaded together with the iopart package from the site 
35329 \begin_inset Flex URL
35330 status collapsed
35331
35332 \begin_layout Plain Layout
35333
35334 ftp://ftp.iop.org/pub/journals/latex2e
35335 \end_layout
35336
35337 \end_inset
35338
35339 .
35340 \end_layout
35341
35342 \begin_layout Standard
35343
35344 \change_deleted 564990737 1669801478
35345 Writing a paper
35346 \end_layout
35347
35348 \begin_layout Standard
35349
35350 \change_deleted 564990737 1669801478
35351 The easiest way to write a paper is to start with the template 
35352 \emph on
35353 IOP-article.lyx
35354 \emph default
35355  that is available via 
35356 \family sans
35357 File\SpecialChar menuseparator
35358 New From Template
35359 \family default
35360  The template explains how to use the special text environments.
35361  Here are the most important advices:
35362 \end_layout
35363
35364 \begin_layout Itemize
35365
35366 \change_deleted 564990737 1669801478
35367 To be able to compile your document to a PDF,
35368  PS,
35369  or DVI,
35370  ensure that the no AMS packages are loaded in 
35371 \family sans
35372 Document\SpecialChar menuseparator
35373 Settings\SpecialChar menuseparator
35374 Math Options
35375 \family default
35376 !
35377 \end_layout
35378
35379 \begin_layout Itemize
35380
35381 \change_deleted 564990737 1669801478
35382
35383 \size normal
35384 The title environment defines the kind of your paper.
35385  So use one of the following environments for the title:
35386 \end_layout
35387
35388 \begin_deeper
35389 \begin_layout Itemize
35390
35391 \change_deleted 564990737 1669801478
35392
35393 \family sans
35394 \size normal
35395 Title
35396 \family default
35397  for a Paper
35398 \end_layout
35399
35400 \begin_layout Itemize
35401
35402 \change_deleted 564990737 1669801478
35403
35404 \family sans
35405 \size normal
35406 Review
35407 \family default
35408  for a Review
35409 \end_layout
35410
35411 \begin_layout Itemize
35412
35413 \change_deleted 564990737 1669801478
35414
35415 \family sans
35416 \size normal
35417 Topical
35418 \family default
35419  for a Topical review
35420 \end_layout
35421
35422 \begin_layout Itemize
35423
35424 \change_deleted 564990737 1669801478
35425
35426 \family sans
35427 \size normal
35428 Comment
35429 \family default
35430  for a Comment
35431 \end_layout
35432
35433 \begin_layout Itemize
35434
35435 \change_deleted 564990737 1669801478
35436
35437 \family sans
35438 \size normal
35439 Note
35440 \family default
35441  for a Note
35442 \end_layout
35443
35444 \begin_layout Itemize
35445
35446 \change_deleted 564990737 1669801478
35447
35448 \family sans
35449 \size normal
35450 Paper
35451 \family default
35452  for a Paper (same as Title)
35453 \end_layout
35454
35455 \begin_layout Itemize
35456
35457 \change_deleted 564990737 1669801478
35458
35459 \family sans
35460 \size normal
35461 Prelim
35462 \family default
35463  for a Preliminary communication
35464 \end_layout
35465
35466 \begin_layout Itemize
35467
35468 \change_deleted 564990737 1669801478
35469
35470 \family sans
35471 \size normal
35472 Rapid
35473 \family default
35474  for a Rapid communication
35475 \end_layout
35476
35477 \begin_layout Itemize
35478
35479 \change_deleted 564990737 1669801478
35480
35481 \family sans
35482 \size normal
35483 Letter
35484 \family default
35485  for a Letter to the editor
35486 \end_layout
35487
35488 \end_deeper
35489 \begin_layout Itemize
35490
35491 \change_deleted 564990737 1669801478
35492
35493 \size normal
35494 All title environments except of 
35495 \family sans
35496 Letter
35497 \family default
35498  can have an optional short title.
35499 \end_layout
35500
35501 \begin_layout Itemize
35502
35503 \change_deleted 564990737 1669801478
35504 There is a general title environment 
35505 \family sans
35506 Article
35507 \family default
35508  which is not directly supported by \SpecialChar LyX
35509 .
35510  This can be used as \SpecialChar TeX
35511  code when your document doesn't fit into one of the other title types.
35512 \end_layout
35513
35514 \begin_layout Standard
35515
35516 \change_deleted 564990737 1672743015
35517 For more informations like hints for special table and formula formatting,
35518  look at the IOP author guidelines.
35519 \end_layout
35520
35521 \begin_layout Standard
35522
35523 \change_deleted 564990737 1670317155
35524 Kluwer
35525 \end_layout
35526
35527 \begin_layout Standard
35528
35529 \change_deleted 564990737 1670317155
35530 by 
35531 \noun on
35532 Panayotis Papasotiriou
35533 \end_layout
35534
35535 \begin_layout Standard
35536
35537 \change_deleted 564990737 1670317155
35538 Overview
35539 \end_layout
35540
35541 \begin_layout Standard
35542
35543 \change_deleted 564990737 1670317155
35544 The Kluwer package is a set of macros produced by Kluwer Academic Publishers that facilitates electronic manuscript submission to the journals they publish.
35545  Most known of them (at least in my domain of interest) are 
35546 \emph on
35547 Astrophysics and Space Science
35548 \emph default
35549  and 
35550 \emph on
35551 Solar Physics
35552 \emph default
35553 ,
35554  but there are many others (see a complete list at 
35555 \begin_inset Flex URL
35556 status collapsed
35557
35558 \begin_layout Plain Layout
35559
35560 http://www.wkap.nl/jrnllist.htm/JRNLHOME
35561 \end_layout
35562
35563 \end_inset
35564
35565 ).
35566  The Kluwer package may be downloaded from the site 
35567 \begin_inset Flex URL
35568 status collapsed
35569
35570 \begin_layout Plain Layout
35571
35572 http://www.wkap.nl/kaphtml.htm/STYLEFILES
35573 \end_layout
35574
35575 \end_inset
35576
35577 .
35578  A complete user guide is contained in that package (but it can also be downloaded separately).
35579 \end_layout
35580
35581 \begin_layout Standard
35582
35583 \change_deleted 564990737 1670317155
35584 \SpecialChar LyX
35585  supports many features of the package but not everything.
35586  However,
35587  the \SpecialChar TeX
35588  code needed is reduced to some 
35589 \begin_inset Quotes eld
35590 \end_inset
35591
35592 peculiar
35593 \begin_inset Quotes erd
35594 \end_inset
35595
35596  commands of the package (see
35597 \begin_inset space ~
35598 \end_inset
35599
35600
35601 \begin_inset CommandInset ref
35602 LatexCommand ref
35603 reference "subsec:kluwer_peculiarities"
35604 nolink "false"
35605
35606 \end_inset
35607
35608 ).
35609  I have recently used \SpecialChar LyX
35610  to write an article submitted to the 
35611 \emph on
35612 Astrophysics and Space Science
35613 \emph default
35614  without any problem.
35615 \end_layout
35616
35617 \begin_layout Standard
35618
35619 \change_deleted 564990737 1670317155
35620 Writing a paper
35621 \end_layout
35622
35623 \begin_layout Standard
35624
35625 \change_deleted 564990737 1670317155
35626 The easiest way to write a paper is to start with the Kluwer template file.
35627  Click on 
35628 \family sans
35629 File\SpecialChar menuseparator
35630 New from
35631 \family default
35632  
35633 \family sans
35634 Template
35635 \family default
35636 ,
35637  then choose the 
35638 \family typewriter
35639 kluwer.lyx
35640 \family default
35641  template.
35642  This will give an (almost) empty document that includes the most common fields found in a manuscript and a short description of their use.
35643  As in most templates,
35644  simply overwrite the existing text (including the brackets,
35645  
35646 \family typewriter
35647 <>
35648 \family default
35649 ) with the correct information.
35650 \end_layout
35651
35652 \begin_layout Standard
35653
35654 \change_deleted 564990737 1670317155
35655 Preparing a paper for submission
35656 \end_layout
35657
35658 \begin_layout Standard
35659
35660 \change_deleted 564990737 1670317155
35661 As in the AAS\SpecialChar TeX
35662  package,
35663  before you submit your paper to a journal you must 
35664 \begin_inset Quotes eld
35665 \end_inset
35666
35667 postprocess
35668 \begin_inset Quotes erd
35669 \end_inset
35670
35671  it as follows.
35672 \end_layout
35673
35674 \begin_layout Enumerate
35675
35676 \change_deleted 564990737 1670317155
35677 Export your paper as a \SpecialChar LaTeX
35678  file.
35679  To do this,
35680  click on 
35681 \family sans
35682 File\SpecialChar menuseparator
35683 Export\SpecialChar menuseparator
35684 \SpecialChar LaTeX
35685
35686 \family default
35687 .
35688  
35689 \end_layout
35690
35691 \begin_layout Enumerate
35692
35693 \change_deleted 564990737 1670317155
35694 Edit the resulting 
35695 \family typewriter
35696 .tex
35697 \family default
35698  file with a text editor and make the following changes
35699 \end_layout
35700
35701 \begin_deeper
35702 \begin_layout Enumerate
35703
35704 \change_deleted 564990737 1670317155
35705 remove the comment lines before the 
35706 \family typewriter
35707
35708 \backslash
35709 documentclass
35710 \family default
35711  command,
35712 \end_layout
35713
35714 \begin_layout Enumerate
35715
35716 \change_deleted 564990737 1670317155
35717 remove everything between (and including) the 
35718 \family typewriter
35719
35720 \backslash
35721 makeatletter
35722 \family default
35723  and 
35724 \family typewriter
35725
35726 \backslash
35727 makeatother
35728 \family default
35729  commands,
35730  except for any commands you specifically put into the \SpecialChar LaTeX
35731  preamble.
35732 \end_layout
35733
35734 \begin_layout Standard
35735
35736 \change_deleted 564990737 1670317155
35737 Save the resulting 
35738 \family typewriter
35739 .tex
35740 \family default
35741  file.
35742 \end_layout
35743
35744 \end_deeper
35745 \begin_layout Enumerate
35746
35747 \change_deleted 564990737 1670317155
35748 Run the 
35749 \family typewriter
35750 .tex
35751 \family default
35752  file through \SpecialChar LaTeX
35753  as many times as necessary (usually up to three).
35754 \end_layout
35755
35756 \begin_layout Enumerate
35757
35758 \change_deleted 564990737 1670317155
35759 View the resulting 
35760 \family typewriter
35761 .dvi
35762 \family default
35763  document using,
35764  e.
35765 \begin_inset space \thinspace{}
35766 \end_inset
35767
35768 g.
35769 \begin_inset space \space{}
35770 \end_inset
35771
35772
35773 \family sans
35774 xdvi
35775 \family default
35776 ,
35777  and check if everything is OK (it should,
35778  if you didn't make any mistake).
35779 \end_layout
35780
35781 \begin_layout Standard
35782
35783 \change_deleted 564990737 1670317155
35784 \begin_inset Quotes eld
35785 \end_inset
35786
35787 Peculiarities
35788 \begin_inset Quotes erd
35789 \end_inset
35790
35791  of the Kluwer package
35792 \begin_inset CommandInset label
35793 LatexCommand label
35794 name "subsec:kluwer_peculiarities"
35795
35796 \end_inset
35797
35798
35799 \end_layout
35800
35801 \begin_layout Standard
35802
35803 \change_deleted 564990737 1670317155
35804 The Kluwer package has the following 
35805 \begin_inset Quotes eld
35806 \end_inset
35807
35808 peculiarities
35809 \begin_inset Quotes erd
35810 \end_inset
35811
35812 .
35813 \end_layout
35814
35815 \begin_layout Enumerate
35816
35817 \change_deleted 564990737 1670317155
35818 It is possible to write multiple articles in the same \SpecialChar LaTeX
35819  file
35820 \begin_inset Foot
35821 status collapsed
35822
35823 \begin_layout Plain Layout
35824 I can't imagine any good reason to do this.
35825 \end_layout
35826
35827 \end_inset
35828
35829 .
35830  Each article must be included in the environment 
35831 \begin_inset Quotes eld
35832 \end_inset
35833
35834 article
35835 \begin_inset Quotes erd
35836 \end_inset
35837
35838 .
35839  Unfortunately,
35840  this environment cannot be omitted,
35841  even if you write just one article.
35842  Therefore,
35843  each article starts with the command 
35844 \family typewriter
35845
35846 \backslash
35847 begin{article}
35848 \family default
35849  and,
35850  obviously,
35851  ends with the command 
35852 \family typewriter
35853
35854 \backslash
35855 end{article}
35856 \family default
35857 .
35858  Although this can be implemented in \SpecialChar LyX
35859 ,
35860  I didn't included it,
35861  since it looks ugly and can confuse the novice user.
35862  Therefore,
35863  you need to enter them directly and mark them as \SpecialChar LaTeX
35864  code (the well-known 
35865 \begin_inset Quotes eld
35866 \end_inset
35867
35868 \SpecialChar TeX
35869  code
35870 \begin_inset Quotes erd
35871 \end_inset
35872
35873 ).
35874 \end_layout
35875
35876 \begin_layout Enumerate
35877
35878 \change_deleted 564990737 1670317155
35879 Information given at the beginning of the article (i.
35880 \begin_inset space \thinspace{}
35881 \end_inset
35882
35883 e.
35884 \begin_inset space \space{}
35885 \end_inset
35886
35887 title,
35888  subtitle,
35889  author,
35890  institution,
35891  running title,
35892  running author,
35893  abstract and keywords) must be included in an environment called 
35894 \begin_inset Quotes eld
35895 \end_inset
35896
35897 opening
35898 \begin_inset Quotes erd
35899 \end_inset
35900
35901 .
35902  This is not implemented in \SpecialChar LyX
35903 ,
35904  so you must enter title,
35905  subtitle etc.
35906 \begin_inset space ~
35907 \end_inset
35908
35909 between two \SpecialChar TeX
35910  code lines (
35911 \family typewriter
35912
35913 \backslash
35914 begin{opening}
35915 \family default
35916  and 
35917 \family typewriter
35918
35919 \backslash
35920 end{opening}
35921 \family default
35922 ).
35923 \end_layout
35924
35925 \begin_layout Enumerate
35926
35927 \change_deleted 564990737 1670317155
35928 According to the user manual,
35929  the label of each bibliography item must be written as 
35930 \family typewriter
35931
35932 \backslash
35933 protect
35934 \backslash
35935 citeauthoryear{
35936 \family default
35937 \emph on
35938 author(s)
35939 \family typewriter
35940 \emph default
35941 }{
35942 \family default
35943 \emph on
35944 year
35945 \family typewriter
35946 \emph default
35947 }
35948 \family default
35949 .
35950 \end_layout
35951
35952 \begin_layout Standard
35953
35954 \change_deleted 564990737 1670317155
35955 The 
35956 \family typewriter
35957 kluwer.lyx
35958 \family default
35959  template takes care of all these 
35960 \begin_inset Quotes eld
35961 \end_inset
35962
35963 peculiarities
35964 \begin_inset Quotes erd
35965 \end_inset
35966
35967 .
35968  If you start a new paper using this template you don't need to do anything special.
35969  Just 
35970 \end_layout
35971
35972 \begin_layout Enumerate
35973
35974 \change_deleted 564990737 1670317155
35975 don't delete the \SpecialChar TeX
35976  code included in the template,
35977  and
35978 \end_layout
35979
35980 \begin_layout Enumerate
35981
35982 \change_deleted 564990737 1670317155
35983 copy the example bibliography item included in the template and modify it as necessary to enter new bibliography items.
35984 \end_layout
35985
35986 \begin_layout Standard
35987
35988 \change_deleted 564990737 1671097446
35989 Paper
35990 \end_layout
35991
35992 \begin_layout Standard
35993
35994 \change_deleted 564990737 1671097446
35995 The document class 
35996 \family sans
35997 paper
35998 \family default
35999  provides an alternative to the standard 
36000 \family sans
36001 article
36002 \family default
36003  class.
36004  It provides similar functionality,
36005  but you might prefer this layout with sans serif sections,
36006  headings,
36007  and more.
36008 \end_layout
36009
36010 \begin_layout Standard
36011
36012 \change_deleted 564990737 1671097446
36013 Springer Journals (
36014 \family sans
36015 svjour
36016 \family default
36017 )
36018 \end_layout
36019
36020 \begin_layout Standard
36021
36022 \change_deleted 564990737 1671097446
36023 by 
36024 \noun on
36025 Martin Vermeer
36026 \end_layout
36027
36028 \begin_layout Standard
36029
36030 \change_deleted 564990737 1671097446
36031 Description
36032 \end_layout
36033
36034 \begin_layout Standard
36035
36036 \change_deleted 564990737 1671097446
36037 These are the layout files for some of the journal formats used by Springer Verlag and listed on 
36038 \begin_inset Flex URL
36039 status collapsed
36040
36041 \begin_layout Plain Layout
36042
36043 http://www.springer.de/author/tex/help-journals.html
36044 \end_layout
36045
36046 \end_inset
36047
36048 ,
36049  where you should also go to fetch the class files (yes,
36050  these are \SpecialChar LaTeX2e
36051  now!).
36052  It is a modular system:
36053  the things common to all journals are implemented in 
36054 \family typewriter
36055 svjour.inc
36056 \family default
36057 ,
36058  which journal-specific layout files (such as,
36059  e.
36060 \begin_inset space \thinspace{}
36061 \end_inset
36062
36063 g.
36064 \begin_inset space \space{}
36065 \end_inset
36066
36067
36068 \family typewriter
36069 svjog.layout
36070 \family default
36071  for Journal of Geodesy) can include.
36072 \end_layout
36073
36074 \begin_layout Standard
36075
36076 \change_deleted 564990737 1671097446
36077 This means that implementing support for any other Springer journal on this list is as simple as writing your own 
36078 \family typewriter
36079 sv
36080 \family default
36081 <myjournal>
36082 \family typewriter
36083 .layout
36084 \family default
36085  file following the outline given in 
36086 \family typewriter
36087 svjog.layout
36088 \family default
36089 .
36090  
36091 \end_layout
36092
36093 \begin_layout Standard
36094
36095 \change_deleted 564990737 1671097446
36096 It is reasonably well tested only for the Journal of Geodesy.
36097  
36098 \family typewriter
36099 svjour
36100 \family default
36101  and 
36102 \family typewriter
36103 svjog
36104 \family default
36105  come with the standard \SpecialChar LyX
36106  distribution.
36107  Install the relevant class file (downloaded from Springer) in a proper directory,
36108  reconfigure \SpecialChar LaTeX
36109  (in the te\SpecialChar TeX
36110  case by running 
36111 \family typewriter
36112 texhash
36113 \family default
36114 ,
36115  as root if necessary —
36116  doesn't \SpecialChar LyX
36117  take care of this?),
36118  reconfigure \SpecialChar LyX
36119  and it should work.
36120 \end_layout
36121
36122 \begin_layout Standard
36123
36124 \change_deleted 564990737 1671097446
36125 New styles
36126 \end_layout
36127
36128 \begin_layout Standard
36129
36130 \change_deleted 564990737 1671097446
36131 A large number of theorem-like styles —
36132  
36133 \family sans
36134 Claim,
36135  Conjecture,
36136
36137 \family default
36138  
36139 \family sans
36140 \SpecialChar ldots
36141 Theorem
36142 \family default
36143 .
36144 \end_layout
36145
36146 \begin_layout Standard
36147
36148 \change_deleted 564990737 1671097446
36149
36150 \family sans
36151 Headnote,
36152  Dedication,
36153  Subtitle,
36154  Running_\SpecialChar LaTeX
36155 _Title,
36156  Author_Running,
36157  Institute,
36158  Mail,
36159  Offprints,
36160  Keywords,
36161  Acknowledgements,
36162  Acknowledgement
36163 \family default
36164 .
36165  See the Springer class file documentation for details.
36166 \end_layout
36167
36168 \begin_layout Standard
36169
36170 \change_deleted 564990737 1671097446
36171 Supported journals
36172 \end_layout
36173
36174 \begin_layout Itemize
36175
36176 \change_deleted 564990737 1671097446
36177
36178 \emph on
36179 Journal of Geodesy
36180 \emph default
36181 :
36182  
36183 \family typewriter
36184 svjog.layout
36185 \family default
36186  —
36187  Martin Vermeer
36188 \end_layout
36189
36190 \begin_layout Itemize
36191
36192 \change_deleted 564990737 1671097446
36193
36194 \emph on
36195 Probability Theory and Related Fields
36196 \emph default
36197 :
36198  
36199 \family typewriter
36200 svprobth.layout
36201 \family default
36202  —
36203  Jean-Marc Lasgouttes
36204 \end_layout
36205
36206 \begin_layout Standard
36207
36208 \change_deleted 564990737 1671097446
36209 Add your own,
36210  it isn't so hard!
36211 \end_layout
36212
36213 \begin_layout Standard
36214
36215 \change_deleted 564990737 1671097446
36216 Credits
36217 \end_layout
36218
36219 \begin_layout Standard
36220
36221 \change_deleted 564990737 1671097446
36222 These files are partly based on the older 
36223 \family typewriter
36224 ejour2.layout
36225 \family default
36226 ,
36227  which was again based on a tinkered-with version of an old \SpecialChar LaTeX
36228  2.09 style file from Springer.
36229  All this,
36230  and the 
36231 \family typewriter
36232 ejour2
36233 \family default
36234  layout,
36235  are now defunct.
36236  Jean-Marc Lasgouttes helped out big in making me find my way around the \SpecialChar LyX
36237  layout file mechanism.
36238 \end_layout
36239
36240 \begin_layout Standard
36241
36242 \change_deleted 564990737 1671097446
36243 Bugs
36244 \end_layout
36245
36246 \begin_layout Standard
36247
36248 \change_deleted 564990737 1671097446
36249 Probably.
36250  But probably less than in the old hacked-\SpecialChar LaTeX
36251  
36252 \family typewriter
36253 ejour2
36254 \family default
36255 .
36256 \end_layout
36257
36258 \begin_layout Chapter
36259 \SpecialChar LyX
36260  Features needing Extra Software
36261 \end_layout
36262
36263 \begin_layout Section
36264 Checking \SpecialChar TeX
36265
36266 \end_layout
36267
36268 \begin_layout Standard
36269 by 
36270 \noun on
36271 Asger Alstrup
36272 \end_layout
36273
36274 \begin_layout Subsection
36275 Introduction
36276 \end_layout
36277
36278 \begin_layout Standard
36279 If you have the 
36280 \family typewriter
36281 chktex
36282 \family default
36283  program installed
36284 \begin_inset Foot
36285 status collapsed
36286
36287 \begin_layout Plain Layout
36288
36289 \family typewriter
36290 chktex
36291 \family default
36292  is not yet available when you are using the \SpecialChar LaTeX
36293  distribution MiK\SpecialChar TeX
36294 .
36295 \end_layout
36296
36297 \end_inset
36298
36299 ,
36300  you'll find in the 
36301 \family sans
36302 Tools
36303 \family default
36304  menu the entry:
36305  
36306 \family sans
36307 Check
36308 \begin_inset space ~
36309 \end_inset
36310
36311 TeX
36312 \family default
36313 .
36314  You can get 
36315 \family typewriter
36316 chktex
36317 \family default
36318  from CTAN,
36319 \begin_inset Newline newline
36320 \end_inset
36321
36322
36323 \begin_inset CommandInset href
36324 LatexCommand href
36325 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
36326 literal "false"
36327
36328 \end_inset
36329
36330 .
36331 \end_layout
36332
36333 \begin_layout Standard
36334 The 
36335 \family sans
36336 Chk\SpecialChar TeX
36337
36338 \family default
36339  package is a program that was written by 
36340 \begin_inset Flex Noun
36341 status collapsed
36342
36343 \begin_layout Plain Layout
36344 Jens T.
36345 \begin_inset space ~
36346 \end_inset
36347
36348 Berger Thielemann
36349 \end_layout
36350
36351 \end_inset
36352
36353  in frustration because some constructs in \SpecialChar LaTeX
36354  are sometimes non-intuitive,
36355  and easy to forget.
36356  The program runs over your \SpecialChar LaTeX
36357  file,
36358  checks the integrity of the file,
36359  and flags some common errors.
36360  In other technical words,
36361  it is 
36362 \family typewriter
36363 lint
36364 \family default
36365  for \SpecialChar LaTeX
36366 .
36367 \end_layout
36368
36369 \begin_layout Standard
36370 Well,
36371  what is a syntax checker doing in \SpecialChar LyX
36372  which is supposed to produce correct \SpecialChar LaTeX
36373  anyways?
36374  The answer is simple:
36375  Just as 
36376 \family typewriter
36377 Lint
36378 \family default
36379  not only checks the 
36380 \emph on
36381 syntax
36382 \emph default
36383  of C programs,
36384  but also does 
36385 \emph on
36386 semantic
36387 \emph default
36388  checks for type-errors,
36389  
36390 \family sans
36391 Chk\SpecialChar TeX
36392
36393 \family default
36394  catches some common 
36395 \emph on
36396 typographic
36397 \emph default
36398  errors,
36399  in addition to the syntactical ones.
36400  Specifically,
36401  
36402 \family sans
36403 Chk\SpecialChar TeX
36404
36405 \family default
36406  is capable of detecting several common errors,
36407  such as
36408 \end_layout
36409
36410 \begin_layout Itemize
36411 Ellipsis detection:
36412 \begin_inset Newline newline
36413 \end_inset
36414
36415 Use \SpecialChar ldots
36416  instead of ...
36417 \end_layout
36418
36419 \begin_layout Itemize
36420 No space in front of/after parenthesis:
36421 \begin_inset Newline newline
36422 \end_inset
36423
36424 ( wrong spacing )
36425 \end_layout
36426
36427 \begin_layout Itemize
36428 Enforcement of normal space after common abbreviations:
36429 \begin_inset Newline newline
36430 \end_inset
36431
36432 e.
36433 \begin_inset space \thinspace{}
36434 \end_inset
36435
36436 g.
36437 \begin_inset space \space{}
36438 \end_inset
36439
36440 is too wide spacing.
36441 \end_layout
36442
36443 \begin_layout Itemize
36444 Enforcement of end-of-sentence space when the last sentence ends with a capital letter:
36445 \begin_inset Newline newline
36446 \end_inset
36447
36448 This is a TEST.
36449  And this is wrong spacing.
36450 \end_layout
36451
36452 \begin_layout Itemize
36453 Space in front of labels and similar commands:
36454 \begin_inset Newline newline
36455 \end_inset
36456
36457 The label should stick right up to the text to avoid falling to a wrong page.
36458  
36459 \begin_inset CommandInset label
36460 LatexCommand label
36461 name "sec:chktex"
36462
36463 \end_inset
36464
36465  
36466 \begin_inset Foot
36467 status collapsed
36468
36469 \begin_layout Plain Layout
36470 This footnote is in danger of falling off to a wrong page
36471 \end_layout
36472
36473 \end_inset
36474
36475  The label is separated too much.
36476 \end_layout
36477
36478 \begin_layout Itemize
36479 Space in front of references,
36480  instead of hard spaces:
36481 \begin_inset Newline newline
36482 \end_inset
36483
36484 If you have bad luck,
36485  the text will break right between the referenced text and reference number,
36486  and that's a pity.
36487  See section 
36488 \begin_inset CommandInset ref
36489 LatexCommand ref
36490 reference "sec:chktex"
36491 nolink "false"
36492
36493 \end_inset
36494
36495 .
36496 \end_layout
36497
36498 \begin_layout Itemize
36499 Use of 
36500 \begin_inset Quotes eld
36501 \end_inset
36502
36503 x
36504 \begin_inset Quotes erd
36505 \end_inset
36506
36507  instead of 
36508 \begin_inset Formula $\times$
36509 \end_inset
36510
36511  between numbers:
36512 \begin_inset Newline newline
36513 \end_inset
36514
36515 2x2 looks cheap compared to 
36516 \begin_inset Formula $2\times2$
36517 \end_inset
36518
36519 .
36520 \end_layout
36521
36522 \begin_layout Standard
36523 and more \SpecialChar ldots
36524  It is an invaluable tool when you are 
36525 \begin_inset Quotes eld
36526 \end_inset
36527
36528 finishing up
36529 \begin_inset Quotes erd
36530 \end_inset
36531
36532  your document before printing,
36533  and you should run it right after the obligatory spelling check,
36534  and before you go fine tuning the typesetting.
36535 \end_layout
36536
36537 \begin_layout Subsection
36538 How to use it
36539 \end_layout
36540
36541 \begin_layout Standard
36542 If you have the program installed,
36543  usage is as simple as choosing 
36544 \family sans
36545 Tools\SpecialChar menuseparator
36546 Check
36547 \begin_inset space ~
36548 \end_inset
36549
36550 TeX
36551 \family default
36552 .
36553  This will make \SpecialChar LyX
36554  generate a \SpecialChar LaTeX
36555  file of your document,
36556  start 
36557 \family sans
36558 Chk\SpecialChar TeX
36559
36560 \family default
36561  to check it,
36562  and then make \SpecialChar LyX
36563  insert 
36564 \begin_inset Quotes eld
36565 \end_inset
36566
36567 error boxes
36568 \begin_inset Quotes erd
36569 \end_inset
36570
36571  with the warnings from 
36572 \family sans
36573 Chk\SpecialChar TeX
36574
36575 \family default
36576 ,
36577  if there were any.
36578  The warnings will be placed close to the point of the mistake,
36579  and you can quickly find them by using the 
36580 \family sans
36581 Navigate\SpecialChar menuseparator
36582 Error
36583 \family default
36584  menu item,
36585  or the shortcut key 
36586 \family sans
36587 C-g
36588 \family default
36589  from the default 
36590 \family typewriter
36591 cua
36592 \family default
36593  bind file.
36594  Open the error boxes by clicking on them with the mouse,
36595  or use the shortcut key 
36596 \family sans
36597 C-i
36598 \family default
36599  from 
36600 \family typewriter
36601 cua
36602 \family default
36603  bindings,
36604  or the corresponding 
36605 \family sans
36606 C-o
36607 \family default
36608  for the alternate 
36609 \family typewriter
36610 emacs
36611 \family default
36612  bind file.
36613  Read the warning and correct the mistake,
36614  if it is a mistake.
36615  If you have trouble understanding what the warning is about,
36616  you can safely ignore it.
36617  Remember that there is a hidden layer between the document on screen and the technical details in invoking 
36618 \family sans
36619 Chk\SpecialChar TeX
36620
36621 \family default
36622 ,
36623  and this gap can make some warnings seem arcane or just plain silly.
36624 \end_layout
36625
36626 \begin_layout Standard
36627 This document is an excellent testing bed for the feature,
36628  and it should provide quite a few warnings for you to fiddle with.
36629  Since computers are only so smart,
36630  expect most of the warnings to be false alarms,
36631  though.
36632 \end_layout
36633
36634 \begin_layout Subsection
36635 How to fine tune it
36636 \end_layout
36637
36638 \begin_layout Standard
36639 Sometimes,
36640  you'll find that 
36641 \family sans
36642 Chk\SpecialChar TeX
36643
36644 \family default
36645  makes more noise than suits your mood.
36646  Then you can choose not to use it,
36647  wait until your mood changes,
36648  or try to customize 
36649 \family sans
36650 Chk\SpecialChar TeX
36651
36652 \family default
36653  to get better along with you.
36654 \end_layout
36655
36656 \begin_layout Standard
36657 Although 
36658 \family sans
36659 Chk\SpecialChar TeX
36660
36661 \family default
36662  
36663 \emph on
36664 is
36665 \emph default
36666  very configurable and extensible,
36667  you should not expect to solve all problems with 
36668 \family sans
36669 Chk\SpecialChar TeX
36670
36671 \family default
36672  in \SpecialChar LyX
36673  this way.
36674  Since \SpecialChar LyX
36675  has to generate a somewhat special \SpecialChar LaTeX
36676  file to be able to match the line numbers from the 
36677 \family sans
36678 Chk\SpecialChar TeX
36679
36680 \family default
36681  output
36682 \begin_inset Foot
36683 status collapsed
36684
36685 \begin_layout Plain Layout
36686 You can inspect the specific output from 
36687 \family sans
36688 chktex
36689 \family default
36690  by using 
36691 \family sans
36692 Document\SpecialChar menuseparator
36693 \SpecialChar LaTeX
36694
36695 \begin_inset space ~
36696 \end_inset
36697
36698 Log
36699 \family default
36700  right after a 
36701 \family sans
36702 chktex
36703 \family default
36704  run.
36705 \end_layout
36706
36707 \end_inset
36708
36709  to the internal document structure,
36710  some of the warnings will not appear correctly.
36711  There are two things you can do about this:
36712 \end_layout
36713
36714 \begin_layout Itemize
36715 Fine tune the 
36716 \family sans
36717 Chk\SpecialChar TeX
36718
36719 \family default
36720  invocation command line in 
36721 \change_deleted -712698321 1674918035
36722
36723 \begin_inset Flex Noun
36724 status collapsed
36725
36726 \begin_layout Plain Layout
36727 Tools\SpecialChar menuseparator
36728 Preferences\SpecialChar menuseparator
36729 Output\SpecialChar menuseparator
36730 LaTeX\SpecialChar menuseparator
36731 CheckTeX command
36732 \end_layout
36733
36734 \end_inset
36735
36736
36737 \change_inserted -712698321 1674918035
36738
36739 \family sans
36740 Tools\SpecialChar menuseparator
36741 Preferences\SpecialChar menuseparator
36742 Output\SpecialChar menuseparator
36743 LaTeX\SpecialChar menuseparator
36744 CheckTeX command
36745 \change_unchanged
36746
36747 \family default
36748 ,
36749  or the global 
36750 \family sans
36751 Chk\SpecialChar TeX
36752
36753 \family default
36754  installation configuration file (usually with the file 
36755 \family typewriter
36756 chktexrc
36757 \family default
36758 ).
36759  See below to learn what warnings can be enabled and disabled on the command line.
36760 \end_layout
36761
36762 \begin_layout Itemize
36763 Export your document as a raw \SpecialChar LaTeX
36764  file using 
36765 \family sans
36766 File\SpecialChar menuseparator
36767 Export\SpecialChar menuseparator
36768 \SpecialChar LaTeX
36769
36770 \family default
36771  and run 
36772 \family typewriter
36773 chktex
36774 \family default
36775  manually on that.
36776  Invoked in this way,
36777  it can be a hassle to find the corresponding place in the document inside \SpecialChar LyX
36778 ,
36779  but with a little patience,
36780  you should be able to do it.
36781 \end_layout
36782
36783 \begin_layout Standard
36784 Here follows the warning messages that can be enabled and disabled in 
36785 \family sans
36786 Preferences
36787 \family default
36788 .
36789  Use 
36790 \family typewriter
36791 -n#
36792 \family default
36793  to disable a warning,
36794  and 
36795 \family typewriter
36796 -w#
36797 \family default
36798  to enable a warning.
36799  The emphasized entries are disabled by default,
36800  because the default is "
36801 \family typewriter
36802 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
36803 \family default
36804 ".
36805 \end_layout
36806
36807 \begin_layout Standard
36808 Notice that you should only use the options that enable and disable warnings,
36809  because \SpecialChar LyX
36810  relies on some of the other command line parameters to be set in a specific way to have a chance to communicate with 
36811 \family typewriter
36812 chktex
36813 \family default
36814 .
36815 \end_layout
36816
36817 \begin_layout Enumerate
36818
36819 \size small
36820 \emph on
36821 Command terminated with space.
36822 \end_layout
36823
36824 \begin_layout Enumerate
36825
36826 \size small
36827 Non-breaking space (
36828 \begin_inset Quotes eld
36829 \end_inset
36830
36831
36832 \family typewriter
36833 ~
36834 \family default
36835
36836 \begin_inset Quotes erd
36837 \end_inset
36838
36839 ) should have been used.
36840 \end_layout
36841
36842 \begin_layout Enumerate
36843
36844 \size small
36845 \emph on
36846 You should enclose the previous parenthesis with 
36847 \begin_inset Quotes eld
36848 \end_inset
36849
36850
36851 \family typewriter
36852 {}
36853 \family default
36854
36855 \begin_inset Quotes erd
36856 \end_inset
36857
36858 .
36859 \end_layout
36860
36861 \begin_layout Enumerate
36862
36863 \size small
36864 Italic correction (
36865 \begin_inset Quotes eld
36866 \end_inset
36867
36868
36869 \family typewriter
36870
36871 \backslash
36872 /
36873 \family default
36874
36875 \begin_inset Quotes erd
36876 \end_inset
36877
36878 ) found in non-italic buffer.
36879 \end_layout
36880
36881 \begin_layout Enumerate
36882
36883 \size small
36884 Italic correction (
36885 \begin_inset Quotes eld
36886 \end_inset
36887
36888
36889 \family typewriter
36890
36891 \backslash
36892 /
36893 \family default
36894
36895 \begin_inset Quotes erd
36896 \end_inset
36897
36898 ) found more than once.
36899 \end_layout
36900
36901 \begin_layout Enumerate
36902
36903 \size small
36904 \emph on
36905 No italic correction (
36906 \begin_inset Quotes eld
36907 \end_inset
36908
36909
36910 \family typewriter
36911
36912 \backslash
36913 /
36914 \family default
36915
36916 \begin_inset Quotes erd
36917 \end_inset
36918
36919 ) found.
36920 \end_layout
36921
36922 \begin_layout Enumerate
36923
36924 \size small
36925 Accent command 
36926 \begin_inset Quotes eld
36927 \end_inset
36928
36929
36930 \family typewriter
36931 cmd
36932 \family default
36933
36934 \begin_inset Quotes erd
36935 \end_inset
36936
36937  needs use of 
36938 \begin_inset Quotes eld
36939 \end_inset
36940
36941
36942 \family typewriter
36943 cmd
36944 \family default
36945
36946 \begin_inset Quotes erd
36947 \end_inset
36948
36949 .
36950 \end_layout
36951
36952 \begin_layout Enumerate
36953
36954 \size small
36955 Wrong length of dash may have been used.
36956 \end_layout
36957
36958 \begin_layout Enumerate
36959
36960 \size small
36961 \emph on
36962 \begin_inset Quotes eld
36963 \end_inset
36964
36965
36966 \family typewriter
36967 %s
36968 \family default
36969
36970 \begin_inset Quotes erd
36971 \end_inset
36972
36973  expected,
36974  found 
36975 \begin_inset Quotes eld
36976 \end_inset
36977
36978
36979 \family typewriter
36980 %s
36981 \family default
36982
36983 \begin_inset Quotes erd
36984 \end_inset
36985
36986 .
36987 \end_layout
36988
36989 \begin_layout Enumerate
36990
36991 \size small
36992 Solo 
36993 \begin_inset Quotes eld
36994 \end_inset
36995
36996
36997 \family typewriter
36998 %s
36999 \family default
37000
37001 \begin_inset Quotes erd
37002 \end_inset
37003
37004  found.
37005 \end_layout
37006
37007 \begin_layout Enumerate
37008
37009 \size small
37010 You should use 
37011 \begin_inset Quotes eld
37012 \end_inset
37013
37014
37015 \family typewriter
37016 %s
37017 \family default
37018
37019 \begin_inset Quotes erd
37020 \end_inset
37021
37022  to achieve an ellipsis.
37023 \end_layout
37024
37025 \begin_layout Enumerate
37026
37027 \size small
37028 Inter-word spacing (
37029 \begin_inset Quotes eld
37030 \end_inset
37031
37032
37033 \family typewriter
37034
37035 \backslash
37036
37037 \family default
37038  
37039 \begin_inset Quotes eld
37040 \end_inset
37041
37042 ) should perhaps be used.
37043 \end_layout
37044
37045 \begin_layout Enumerate
37046
37047 \size small
37048 Inter-sentence spacing (
37049 \begin_inset Quotes eld
37050 \end_inset
37051
37052
37053 \family typewriter
37054
37055 \backslash
37056 @
37057 \family default
37058
37059 \begin_inset Quotes erd
37060 \end_inset
37061
37062 ) should perhaps be used.
37063 \end_layout
37064
37065 \begin_layout Enumerate
37066
37067 \size small
37068 Could not find argument for command.
37069 \end_layout
37070
37071 \begin_layout Enumerate
37072
37073 \size small
37074 No match found for 
37075 \begin_inset Quotes eld
37076 \end_inset
37077
37078
37079 \family typewriter
37080 %s
37081 \family default
37082
37083 \begin_inset Quotes erd
37084 \end_inset
37085
37086 .
37087 \end_layout
37088
37089 \begin_layout Enumerate
37090
37091 \size small
37092 Math mode still on at end of \SpecialChar LaTeX
37093  file.
37094 \end_layout
37095
37096 \begin_layout Enumerate
37097
37098 \size small
37099 Number of 
37100 \begin_inset Quotes eld
37101 \end_inset
37102
37103
37104 \family typewriter
37105 char
37106 \family default
37107
37108 \begin_inset Quotes erd
37109 \end_inset
37110
37111  doesn't match the number of 
37112 \begin_inset Quotes eld
37113 \end_inset
37114
37115
37116 \family typewriter
37117 char
37118 \family default
37119
37120 \begin_inset Quotes erd
37121 \end_inset
37122
37123 .
37124 \end_layout
37125
37126 \begin_layout Enumerate
37127
37128 \size small
37129 You should use either 
37130 \family typewriter
37131
37132 \begin_inset Quotes eld
37133 \end_inset
37134
37135
37136 \family default
37137  or 
37138 \family typewriter
37139
37140 \begin_inset Quotes erd
37141 \end_inset
37142
37143
37144 \family default
37145  as an alternative to 
37146 \begin_inset Quotes eld
37147 \end_inset
37148
37149
37150 \family typewriter
37151 "
37152 \family default
37153
37154 \begin_inset Quotes erd
37155 \end_inset
37156
37157 .
37158 \end_layout
37159
37160 \begin_layout Enumerate
37161
37162 \size small
37163 You should use "
37164 \family typewriter
37165 '
37166 \family default
37167 " (ASCII 39) instead of "
37168 \family typewriter
37169 ´
37170 \family default
37171 " (ASCII 180).
37172 \end_layout
37173
37174 \begin_layout Enumerate
37175
37176 \size small
37177 User-specified pattern found.
37178 \end_layout
37179
37180 \begin_layout Enumerate
37181
37182 \size small
37183 This command might not be intended.
37184 \end_layout
37185
37186 \begin_layout Enumerate
37187
37188 \size small
37189 \emph on
37190 Comment displayed.
37191 \end_layout
37192
37193 \begin_layout Enumerate
37194
37195 \size small
37196 Either 
37197 \family typewriter
37198 ''
37199 \backslash
37200 ,'
37201 \family default
37202  or 
37203 \family typewriter
37204 '
37205 \backslash
37206 ,''
37207 \family default
37208  will look better.
37209 \end_layout
37210
37211 \begin_layout Enumerate
37212
37213 \size small
37214 Delete this space to maintain correct page references.
37215 \end_layout
37216
37217 \begin_layout Enumerate
37218
37219 \size small
37220 \emph on
37221 You might wish to put this between a pair of 
37222 \begin_inset Quotes eld
37223 \end_inset
37224
37225
37226 \family typewriter
37227 {}
37228 \family default
37229
37230 \begin_inset Quotes erd
37231 \end_inset
37232
37233 .
37234 \end_layout
37235
37236 \begin_layout Enumerate
37237
37238 \size small
37239 You ought to remove spaces in front of punctuation.
37240 \end_layout
37241
37242 \begin_layout Enumerate
37243
37244 \size small
37245 Could not execute \SpecialChar LaTeX
37246  command.
37247 \end_layout
37248
37249 \begin_layout Enumerate
37250
37251 \size small
37252 Don't use 
37253 \family typewriter
37254
37255 \backslash
37256 /
37257 \family default
37258  in front of small punctuation.
37259 \end_layout
37260
37261 \begin_layout Enumerate
37262
37263 \family typewriter
37264 \size small
37265 $
37266 \backslash
37267 times$
37268 \family default
37269  may look prettier here.
37270 \end_layout
37271
37272 \begin_layout Enumerate
37273
37274 \size small
37275 \emph on
37276 Multiple spaces detected in output.
37277 \end_layout
37278
37279 \begin_layout Enumerate
37280
37281 \size small
37282 This text may be ignored.
37283 \end_layout
37284
37285 \begin_layout Enumerate
37286
37287 \size small
37288 Use 
37289 \family typewriter
37290
37291 \begin_inset Quotes eld
37292 \end_inset
37293
37294
37295 \family default
37296  to begin quotation,
37297  not 
37298 \family typewriter
37299 '
37300 \family default
37301 .
37302 \end_layout
37303
37304 \begin_layout Enumerate
37305
37306 \size small
37307 Use 
37308 \family typewriter
37309 '
37310 \family default
37311  to end quotation,
37312  not 
37313 \family typewriter
37314
37315 \begin_inset Quotes eld
37316 \end_inset
37317
37318
37319 \family default
37320 .
37321 \end_layout
37322
37323 \begin_layout Enumerate
37324
37325 \size small
37326 Don't mix quotes.
37327 \end_layout
37328
37329 \begin_layout Enumerate
37330
37331 \size small
37332 You should perhaps use 
37333 \begin_inset Quotes eld
37334 \end_inset
37335
37336
37337 \family typewriter
37338 cmd
37339 \family default
37340
37341 \begin_inset Quotes erd
37342 \end_inset
37343
37344  instead.
37345 \end_layout
37346
37347 \begin_layout Enumerate
37348
37349 \size small
37350 You should put a space in front of/after parenthesis.
37351 \end_layout
37352
37353 \begin_layout Enumerate
37354
37355 \size small
37356 You should avoid spaces in front of/after parenthesis.
37357 \end_layout
37358
37359 \begin_layout Enumerate
37360
37361 \size small
37362 \emph on
37363 You should not use punctuation in front of/after quotes.
37364 \end_layout
37365
37366 \begin_layout Enumerate
37367
37368 \size small
37369 Double space found.
37370 \end_layout
37371
37372 \begin_layout Enumerate
37373
37374 \size small
37375 You should put punctuation outside inner/inside display math mode.
37376 \end_layout
37377
37378 \begin_layout Enumerate
37379
37380 \size small
37381 You ought to not use primitive \SpecialChar TeX
37382  in \SpecialChar LaTeX
37383  code.
37384 \end_layout
37385
37386 \begin_layout Enumerate
37387
37388 \size small
37389 You should remove spaces in front of 
37390 \begin_inset Quotes eld
37391 \end_inset
37392
37393
37394 \family typewriter
37395 %s
37396 \family default
37397
37398 \begin_inset Quotes erd
37399 \end_inset
37400
37401
37402 \end_layout
37403
37404 \begin_layout Enumerate
37405
37406 \size small
37407 \begin_inset Quotes eld
37408 \end_inset
37409
37410
37411 \family typewriter
37412 %s
37413 \family default
37414
37415 \begin_inset Quotes erd
37416 \end_inset
37417
37418  is normally not followed by 
37419 \begin_inset Quotes eld
37420 \end_inset
37421
37422
37423 \family typewriter
37424 %c
37425 \family default
37426
37427 \begin_inset Quotes erd
37428 \end_inset
37429
37430 .
37431 \end_layout
37432
37433 \begin_layout Standard
37434 In later versions of \SpecialChar LyX
37435 ,
37436  we hope to provide a more complete interface to this tool (and it's smaller cousin 
37437 \family typewriter
37438 lacheck
37439 \family default
37440 ) to exploit the full power of it.
37441  But it's not exactly useless as it is now:
37442  go try it on one of your existing documents of a certain length and be surprised.
37443 \end_layout
37444
37445 \begin_layout Section
37446 Version Control in \SpecialChar LyX
37447
37448 \end_layout
37449
37450 \begin_layout Standard
37451 by
37452 \noun on
37453  Lars Gullik Bjønnes 
37454 \noun default
37455 and 
37456 \noun on
37457 Pavel Sanda
37458 \end_layout
37459
37460 \begin_layout Subsection
37461 Introduction
37462 \end_layout
37463
37464 \begin_layout Standard
37465 \SpecialChar LyX
37466  supports some of the most basic RCS/CVS/SVN/GIT commands.
37467  If you need something a bit more sophisticated you will have to do that manually in a terminal.
37468 \end_layout
37469
37470 \begin_layout Standard
37471 Also note that CVS support is not as good as subversion support,
37472  so we advise using SVN instead.
37473  A good place to start learning Subversion is the SVN Book
37474 \begin_inset Foot
37475 status collapsed
37476
37477 \begin_layout Plain Layout
37478 \begin_inset CommandInset href
37479 LatexCommand href
37480 target "http://svnbook.red-bean.com/"
37481 literal "false"
37482
37483 \end_inset
37484
37485
37486 \end_layout
37487
37488 \end_inset
37489
37490 .
37491  In the case of RCS you should read 
37492 \begin_inset Quotes eld
37493 \end_inset
37494
37495 rcsintro
37496 \begin_inset Quotes erd
37497 \end_inset
37498
37499  (a man file,
37500  read it with 
37501 \family typewriter
37502 man rcsintro
37503 \family default
37504 ).
37505  This file describes all the basic features of RCS.
37506  You should especially notice the comment about a RCS directory,
37507  and the notion of a master RCS file (the file ending in 
37508 \family typewriter
37509 ,v
37510 \family default
37511 ).
37512 \end_layout
37513
37514 \begin_layout Standard
37515 Before you begin to use the version control features in \SpecialChar LyX
37516 ,
37517  you should be familiar with RCS/CVS/SVN/GIT usage.
37518  The implementation in \SpecialChar LyX
37519  assumes a recent version of the GNU RCS or CVS/SVN package —
37520  no guarantees are made for older versions.
37521  Most of the log messages are not currently displayed after operations —
37522  you can check them in the Messages pane if you are unsure.
37523  Regular users of version control will appreciate the VC toolbar,
37524  which can be enabled via 
37525 \family sans
37526 View\SpecialChar menuseparator
37527 Toolbars\SpecialChar menuseparator
37528 Version
37529 \begin_inset space ~
37530 \end_inset
37531
37532 Control
37533 \family default
37534 .
37535 \end_layout
37536
37537 \begin_layout Standard
37538 For introducing your own external commands consult 
37539 \begin_inset Flex Code
37540 status collapsed
37541
37542 \begin_layout Plain Layout
37543 vc-command
37544 \end_layout
37545
37546 \end_inset
37547
37548  in the manual 
37549 \emph on
37550 \SpecialChar LyX
37551  Functions
37552 \emph default
37553 .
37554 \end_layout
37555
37556 \begin_layout Standard
37557 It is strongly recommended to store documents in uncompressed format if using version control (uncheck 
37558 \family sans
37559 Document\SpecialChar menuseparator
37560 Compressed
37561 \family default
37562  if it is checked):
37563  Uncompressed LyX documents are text files and therefore for merging two different versions by version control systems.
37564  Compressed LyX documents are binary files,
37565  which cannot be merged by version control systems.
37566 \end_layout
37567
37568 \begin_layout Subsection
37569 RCS commands in \SpecialChar LyX
37570
37571 \end_layout
37572
37573 \begin_layout Standard
37574 The following sections describe the RCS commands supported by \SpecialChar LyX
37575 .
37576  You can find them in the 
37577 \family sans
37578 File\SpecialChar menuseparator
37579 Version
37580 \begin_inset space ~
37581 \end_inset
37582
37583 Control
37584 \family default
37585  submenu.
37586  \SpecialChar LyX
37587  was tested against RCS 5.7/5.8.
37588 \end_layout
37589
37590 \begin_layout Subsubsection
37591
37592 \family sans
37593 Register
37594 \end_layout
37595
37596 \begin_layout Standard
37597 If your document is not under revision control,
37598  this is the only item shown in the menu.
37599  And if it is under revision control,
37600  the 
37601 \family sans
37602 Register
37603 \family default
37604  item is not visible.
37605  
37606 \end_layout
37607
37608 \begin_layout Standard
37609 This command registers your document with RCS (unless you are under the directory managed by CVS)\SpecialChar endofsentence
37610  You are asked interactively to supply an initial description of the document.
37611  The document is now set in Read-Only mode and you have to 
37612 \family sans
37613 Check
37614 \begin_inset space ~
37615 \end_inset
37616
37617 Out
37618 \begin_inset space ~
37619 \end_inset
37620
37621 For
37622 \begin_inset space ~
37623 \end_inset
37624
37625 Edit
37626 \family default
37627 ,
37628  before making any changes to it.
37629  A document under revision control has a 
37630 \begin_inset Quotes eld
37631 \end_inset
37632
37633 [RCS:<version> <locker>]
37634 \begin_inset Quotes erd
37635 \end_inset
37636
37637  item tagged to the filename in the minibuffer.
37638 \end_layout
37639
37640 \begin_layout Standard
37641 RCS command that is run:
37642 \end_layout
37643
37644 \begin_layout LyX-Code
37645
37646 \family typewriter
37647 ci -q -u -i -t-"<initial description>" <file-name>
37648 \end_layout
37649
37650 \begin_layout Standard
37651 Read 
37652 \family typewriter
37653 man ci
37654 \family default
37655  to understand the switches.
37656  
37657 \end_layout
37658
37659 \begin_layout Subsubsection
37660
37661 \family sans
37662 Check In Changes
37663 \end_layout
37664
37665 \begin_layout Standard
37666 When you are finished editing a file,
37667  you check in your changes.
37668  When you do this,
37669  you are asked for a description of the changes.
37670  This is stored in the history log.
37671  The version number is bumped,
37672  your changes are applied to the master RCS file,
37673  the document is unlocked and set to Read-Only mode.
37674 \end_layout
37675
37676 \begin_layout Itemize
37677 RCS command:
37678  
37679 \family typewriter
37680 ci -q -u -m"<description>" <file-name>
37681 \end_layout
37682
37683 \begin_layout Subsubsection
37684
37685 \family sans
37686 Check Out For Edit
37687 \end_layout
37688
37689 \begin_layout Standard
37690 By doing this you lock the document so that only you can edit it.
37691  This will also make the document Read-Write only for you.
37692  You will usually continue editing for a while and when you are finished you check in your changes.
37693  The status line is changed to reflect that you have locked the file.
37694 \end_layout
37695
37696 \begin_layout Itemize
37697 RCS command:
37698  
37699 \family typewriter
37700 co -q -l <file-name>
37701 \end_layout
37702
37703 \begin_layout Subsubsection
37704
37705 \family sans
37706 Revert To Repository Version
37707 \end_layout
37708
37709 \begin_layout Standard
37710 This will discard all changes made to the document since the last check in.
37711  You get a warning before changes are discarded.
37712 \end_layout
37713
37714 \begin_layout Itemize
37715 RCS command:
37716  
37717 \family typewriter
37718 co -f -u<version> <file-name>
37719 \end_layout
37720
37721 \begin_layout Subsubsection
37722
37723 \family sans
37724 Copy
37725 \end_layout
37726
37727 \begin_layout Standard
37728 This will create a copy of the current document.
37729  Since RCS does not support copy operations natively,
37730  the version history is not preserved,
37731  and the copy is added as a new file.
37732  It requires a clean document without any changes since the last checkin.
37733  You are asked for a file name and a description of the copy operation.
37734  After that the copy is created,
37735  both locally and in the repository.
37736  If the parent directories of the copied and original document differ,
37737  all relative paths of included files of the copy are adjusted (like in 
37738 \family sans
37739 File\SpecialChar menuseparator
37740 Save As
37741 \family default
37742 \SpecialChar ldots
37743 ).
37744  Finally,
37745  the copy is loaded instead of the original document.
37746 \end_layout
37747
37748 \begin_layout Labeling
37749 \labelwidthstring 00.00.0000
37750 RCS
37751 \begin_inset space ~
37752 \end_inset
37753
37754 commands:
37755  
37756 \begin_inset space ~
37757 \end_inset
37758
37759
37760 \begin_inset Newline newline
37761 \end_inset
37762
37763 Copy 
37764 \begin_inset Flex Code
37765 status collapsed
37766
37767 \begin_layout Plain Layout
37768
37769 \family typewriter
37770 \begin_inset Quotes qld
37771 \end_inset
37772
37773 <file-name>
37774 \begin_inset Quotes qld
37775 \end_inset
37776
37777
37778 \end_layout
37779
37780 \end_inset
37781
37782  to 
37783 \begin_inset Flex Code
37784 status collapsed
37785
37786 \begin_layout Plain Layout
37787
37788 \family typewriter
37789 \begin_inset Quotes qld
37790 \end_inset
37791
37792 <new-file-name>
37793 \begin_inset Quotes qld
37794 \end_inset
37795
37796
37797 \end_layout
37798
37799 \end_inset
37800
37801
37802 \begin_inset Newline newline
37803 \end_inset
37804
37805
37806 \begin_inset Flex Code
37807 status collapsed
37808
37809 \begin_layout Plain Layout
37810 ci -q -u 
37811 \family typewriter
37812 -i 
37813 \begin_inset Quotes qld
37814 \end_inset
37815
37816 <new-file-name>
37817 \begin_inset Quotes qld
37818 \end_inset
37819
37820
37821 \end_layout
37822
37823 \end_inset
37824
37825
37826 \end_layout
37827
37828 \begin_layout Subsubsection
37829
37830 \family sans
37831 Undo Last Checkin
37832 \end_layout
37833
37834 \begin_layout Standard
37835 This makes as if the last check in never happened.
37836  No changes are made to the document loaded into \SpecialChar LyX
37837 ,
37838  but the last version is removed from the master RCS file.
37839 \end_layout
37840
37841 \begin_layout Itemize
37842 RCS command:
37843  
37844 \family typewriter
37845 rcs -o<version> <file-name>
37846 \end_layout
37847
37848 \begin_layout Subsubsection
37849
37850 \family sans
37851 Show History
37852 \end_layout
37853
37854 \begin_layout Standard
37855 This shows the complete history of the RCS document.
37856  The output of 
37857 \family typewriter
37858 rlog <file-name>
37859 \family default
37860  is shown in a browser.
37861  See 
37862 \family typewriter
37863 man rlog
37864 \family default
37865  for more info.
37866 \end_layout
37867
37868 \begin_layout Subsubsection
37869 Revision info
37870 \end_layout
37871
37872 \begin_layout Standard
37873 \SpecialChar LyX
37874  supports RCS version number,
37875  author name,
37876  date and time of last commit.
37877  All those are extracted from 
37878 \family typewriter
37879 rlog -r <file-name>
37880 \family default
37881 .
37882  See 
37883 \begin_inset CommandInset ref
37884 LatexCommand ref
37885 reference "subsec:VCS-Revision-Information"
37886 nolink "false"
37887
37888 \end_inset
37889
37890  for details.
37891 \end_layout
37892
37893 \begin_layout Subsection
37894 CVS commands in \SpecialChar LyX
37895
37896 \end_layout
37897
37898 \begin_layout Standard
37899 A subset of CVS operations is supported by \SpecialChar LyX
37900 .
37901  You can find the commands in the 
37902 \family sans
37903 File\SpecialChar menuseparator
37904 Version
37905 \begin_inset space ~
37906 \end_inset
37907
37908 Control
37909 \family default
37910  submenu.
37911  The version control system SVN is more powerful,
37912  so please use it instead of CVS if possible.
37913 \end_layout
37914
37915 \begin_layout Subsubsection
37916
37917 \family sans
37918 General CVS usage
37919 \end_layout
37920
37921 \begin_layout Standard
37922 If you start from scratch with CVS you have to create your repository and checkout the working copy with external tools.
37923  If you're using a client-server setup you may need to login before doing the first repository checkout.
37924 \end_layout
37925
37926 \begin_layout Standard
37927 If your documents are under revision control and others are using the same repository problems arise when different changes to the same document at the same location happen.
37928  Standard CVS repositories don't operate with a file locking mechanism.
37929  This may be surprising,
37930  but conflicts only occur if people disagree on the proper content of the same part of a document.
37931  So,
37932  if co-workers are used to communicate regularly,
37933  these conflicts occur rarely.
37934  If they don't communicate they have a fundamental problem anyway.
37935  Nevertheless some people like to work with so called 
37936 \begin_inset Quotes eld
37937 \end_inset
37938
37939 reserved checkouts
37940 \begin_inset Quotes erd
37941 \end_inset
37942
37943 .
37944  If they do so the working copy of all files is readonly when checked out first and the user starts editing after using a special command to make the working copy writable.
37945  When the changes are checked in the working copy returns to readonly state.
37946  With \SpecialChar LyX
37947  one has to edit the 
37948 \begin_inset Flex Code
37949 status collapsed
37950
37951 \begin_layout Plain Layout
37952 .cvsrc
37953 \end_layout
37954
37955 \end_inset
37956
37957  file and add the line 
37958 \begin_inset Flex Code
37959 status collapsed
37960
37961 \begin_layout Plain Layout
37962 cvs -r
37963 \end_layout
37964
37965 \end_inset
37966
37967  to work with reserved checkouts.
37968  The benefit is the possibility to see who is using a writable copy of some document.
37969  It's not guaranteed only one user makes a copy writable.
37970 \end_layout
37971
37972 \begin_layout Standard
37973 \SpecialChar LyX
37974  tries to guess if you're using reserved or non-reserved checkouts.
37975  If your working copy is readonly or it is writable and an additional copy of your document exists in the CVS/Base sub-directory a reserved otherwise a non-reserved checkout is assumed.
37976  When a reserved checkout is detected you have to use 
37977 \begin_inset Flex Noun
37978 status collapsed
37979
37980 \begin_layout Plain Layout
37981 Check Out
37982 \end_layout
37983
37984 \end_inset
37985
37986  to make your working copy writable if it's readonly.
37987  After doing so the 
37988 \begin_inset Flex Noun
37989 status collapsed
37990
37991 \begin_layout Plain Layout
37992 Check In
37993 \end_layout
37994
37995 \end_inset
37996
37997  operation is possible and that makes your working copy readonly again after transferring your changes to the repository.
37998 \end_layout
37999
38000 \begin_layout Standard
38001 More information about CVS can be found here 
38002 \begin_inset Flex URL
38003 status collapsed
38004
38005 \begin_layout Plain Layout
38006
38007 http://www.nongnu.org/cvs
38008 \end_layout
38009
38010 \end_inset
38011
38012  and here 
38013 \begin_inset Flex URL
38014 status collapsed
38015
38016 \begin_layout Plain Layout
38017
38018 http://ximbiot.com/cvs
38019 \end_layout
38020
38021 \end_inset
38022
38023 .
38024 \end_layout
38025
38026 \begin_layout Standard
38027 Read 
38028 \family typewriter
38029 man cvs
38030 \family default
38031  to understand the sub-commands and the switches mentioned below.
38032 \end_layout
38033
38034 \begin_layout Subsubsection
38035
38036 \family sans
38037 Register
38038 \end_layout
38039
38040 \begin_layout Standard
38041 If your document is not under revision control,
38042  this is the only item shown in the menu.
38043  And if it is under revision control,
38044  the 
38045 \family sans
38046 Register
38047 \family default
38048  item is not visible.
38049  
38050 \end_layout
38051
38052 \begin_layout Standard
38053 This command registers in CVS your document 
38054 \begin_inset Flex Strong
38055 status collapsed
38056
38057 \begin_layout Plain Layout
38058
38059 \emph on
38060 only
38061 \end_layout
38062
38063 \end_inset
38064
38065  in the case you have already the documents directory under CVS control (in particular 
38066 \family typewriter
38067 CVS/Entries
38068 \family default
38069  file exists).
38070  This means you have to create or checkout the archive by yourself using external tools.
38071  (In case you forget that step \SpecialChar LyX
38072  registers the document with RCS.)
38073 \end_layout
38074
38075 \begin_layout Standard
38076 Then you are asked interactively to supply an initial description of the document.
38077  Don't forget that registered file is not yet checked in.
38078 \end_layout
38079
38080 \begin_layout Standard
38081 CVS command that is run:
38082  
38083 \family typewriter
38084 cvs -q add -m"<entered message>" "<file-name>"
38085 \end_layout
38086
38087 \begin_layout Standard
38088 The term 
38089 \family typewriter
38090 "<file-name>"
38091 \family default
38092  above and for all other CVS commands is an abbreviation for 
38093 \begin_inset Quotes eld
38094 \end_inset
38095
38096 change the current working directory to file location and use the file name without path component as argument
38097 \begin_inset Quotes erd
38098 \end_inset
38099
38100 .
38101 \end_layout
38102
38103 \begin_layout Subsubsection
38104
38105 \family sans
38106 Check In Changes
38107 \end_layout
38108
38109 \begin_layout Standard
38110 When you are finished editing a file,
38111  you commit your changes.
38112  When you do this and you had changed the document,
38113  you are asked for a description of the changes.
38114  After that changes are written to the repository.
38115  In case you didn't change the document and a reserved checkout is detected the reservation made on 
38116 \begin_inset Flex Noun
38117 status collapsed
38118
38119 \begin_layout Plain Layout
38120 Check Out
38121 \end_layout
38122
38123 \end_inset
38124
38125  is undone.
38126 \end_layout
38127
38128 \begin_layout Labeling
38129 \labelwidthstring 00.00.0000
38130 CVS
38131 \begin_inset space ~
38132 \end_inset
38133
38134 command:
38135  
38136 \begin_inset space ~
38137 \end_inset
38138
38139
38140 \begin_inset Newline newline
38141 \end_inset
38142
38143
38144 \begin_inset Flex Code
38145 status collapsed
38146
38147 \begin_layout Plain Layout
38148 cvs 
38149 \family typewriter
38150 -q commit -m"<description>" "<file-name>"
38151 \end_layout
38152
38153 \end_inset
38154
38155  or
38156 \begin_inset Newline newline
38157 \end_inset
38158
38159
38160 \begin_inset Flex Code
38161 status collapsed
38162
38163 \begin_layout Plain Layout
38164 cvs -q unedit 
38165 \family typewriter
38166 "<file-name>"
38167 \end_layout
38168
38169 \end_inset
38170
38171
38172 \end_layout
38173
38174 \begin_layout Subsubsection
38175
38176 \family sans
38177 Check Out Changes
38178 \end_layout
38179
38180 \begin_layout Standard
38181 When you are sharing a repository with others,
38182  you may have to incorporate their changes into your working copy.
38183 \end_layout
38184
38185 \begin_layout Standard
38186 CVS command:
38187  
38188 \family typewriter
38189 cvs -q update "<file-name>"
38190 \end_layout
38191
38192 \begin_layout Standard
38193 If a readonly checkout is detected the working copy is made writable and reserved.
38194 \end_layout
38195
38196 \begin_layout Standard
38197 CVS command:
38198  
38199 \family typewriter
38200 cvs -q edit "<file-name>"
38201 \end_layout
38202
38203 \begin_layout Subsubsection
38204
38205 \family sans
38206 Revert To Repository Version
38207 \end_layout
38208
38209 \begin_layout Standard
38210 This will discard all changes made to the document since the last check in.
38211  You get a warning before changes are discarded.
38212  Firstly the file is deleted,
38213  secondly CVS update command is run.
38214 \end_layout
38215
38216 \begin_layout Standard
38217 CVS command:
38218  
38219 \family typewriter
38220 cvs -q update "<file-name>"
38221 \end_layout
38222
38223 \begin_layout Standard
38224 If a reserved checkout is detected and the working copy has no changes only the reservation is undone.
38225 \end_layout
38226
38227 \begin_layout Standard
38228 CVS command:
38229  
38230 \family typewriter
38231 cvs -q unedit "<file-name>"
38232 \end_layout
38233
38234 \begin_layout Subsubsection
38235
38236 \family sans
38237 Copy
38238 \end_layout
38239
38240 \begin_layout Standard
38241 This will create a copy of the current document.
38242  Since CVS does not support copy operations natively,
38243  the version history is not preserved,
38244  and the copy is added as a new file.
38245  It requires a clean document without any changes since the last checkin.
38246  You are asked for a file name and a description of the copy operation.
38247  After that the copy is created,
38248  both locally and in the repository.
38249  If the parent directories of the copied and original document differ,
38250  all relative paths of included files of the copy are adjusted (like in 
38251 \family sans
38252 File\SpecialChar menuseparator
38253 Save As
38254 \family default
38255 \SpecialChar ldots
38256 ).
38257  Finally,
38258  the copy is loaded instead of the original document.
38259 \end_layout
38260
38261 \begin_layout Labeling
38262 \labelwidthstring 00.00.0000
38263 CVS
38264 \begin_inset space ~
38265 \end_inset
38266
38267 commands:
38268  
38269 \begin_inset space ~
38270 \end_inset
38271
38272
38273 \begin_inset Newline newline
38274 \end_inset
38275
38276 Copy 
38277 \begin_inset Flex Code
38278 status collapsed
38279
38280 \begin_layout Plain Layout
38281 "<file-name>"
38282 \end_layout
38283
38284 \end_inset
38285
38286  to 
38287 \begin_inset Flex Code
38288 status collapsed
38289
38290 \begin_layout Plain Layout
38291 "<new-file-name>"
38292 \end_layout
38293
38294 \end_inset
38295
38296
38297 \begin_inset Newline newline
38298 \end_inset
38299
38300
38301 \begin_inset Flex Code
38302 status collapsed
38303
38304 \begin_layout Plain Layout
38305 cvs -q add "<new-file-name>"
38306 \end_layout
38307
38308 \end_inset
38309
38310
38311 \end_layout
38312
38313 \begin_layout Subsubsection
38314
38315 \family sans
38316 Rename
38317 \end_layout
38318
38319 \begin_layout Standard
38320 This will rename the current document.
38321  Since CVS does not support rename operations natively,
38322  the version history is not preserved,
38323  the renamed document is added as a new file,
38324  and the original document is deleted.
38325  It requires a clean document without any changes since the last checkin.
38326  You are asked for a file name and a description of the rename operation.
38327  After that the document is renamed,
38328  both locally and in the repository.
38329  If the parent directories of the new and old file names differ,
38330  all relative paths of included files are adjusted (like in 
38331 \family sans
38332 File\SpecialChar menuseparator
38333 Save As
38334 \family default
38335 \SpecialChar ldots
38336 ).
38337  Finally,
38338  the document is reloaded using the new name.
38339 \end_layout
38340
38341 \begin_layout Labeling
38342 \labelwidthstring 00.00.0000
38343 CVS
38344 \begin_inset space ~
38345 \end_inset
38346
38347 commands:
38348  
38349 \begin_inset space ~
38350 \end_inset
38351
38352
38353 \begin_inset Newline newline
38354 \end_inset
38355
38356 Rename 
38357 \begin_inset Flex Code
38358 status collapsed
38359
38360 \begin_layout Plain Layout
38361 "<file-name>"
38362 \end_layout
38363
38364 \end_inset
38365
38366  to 
38367 \begin_inset Flex Code
38368 status collapsed
38369
38370 \begin_layout Plain Layout
38371 "<new-file-name>"
38372 \end_layout
38373
38374 \end_inset
38375
38376
38377 \begin_inset Newline newline
38378 \end_inset
38379
38380
38381 \begin_inset Flex Code
38382 status collapsed
38383
38384 \begin_layout Plain Layout
38385 cvs -q add "<new-file-name>"
38386 \end_layout
38387
38388 \end_inset
38389
38390
38391 \begin_inset Newline newline
38392 \end_inset
38393
38394
38395 \begin_inset Flex Code
38396 status collapsed
38397
38398 \begin_layout Plain Layout
38399 cvs -q remove "<file-name>"
38400 \end_layout
38401
38402 \end_inset
38403
38404
38405 \end_layout
38406
38407 \begin_layout Subsubsection
38408 Update of the local directory checkout from repository
38409 \end_layout
38410
38411 \begin_layout Standard
38412 Once your documents gets more complex,
38413  containing sub-documents and pictures,
38414  including external 
38415 \begin_inset Flex Code
38416 status collapsed
38417
38418 \begin_layout Plain Layout
38419 .tex
38420 \end_layout
38421
38422 \end_inset
38423
38424  files and so on using version control becomes more complicated.
38425  \SpecialChar LyX
38426  supports updating the whole tree in which resides the document.
38427  This become especially useful once you cooperate with people which neither have detailed knowledge about CVS usage nor they have ambition to commit additional material to the repository.
38428  You have to organize the files structure so that all external files are in the same directory or subdirectories of the document.
38429  It's good practice anyway to store multipart documents in an extra directory.
38430 \end_layout
38431
38432 \begin_layout Standard
38433 The 
38434 \begin_inset Flex Code
38435 status collapsed
38436
38437 \begin_layout Plain Layout
38438 Update local directory from repository
38439 \end_layout
38440
38441 \end_inset
38442
38443  command updates the whole directory.
38444  If local changes are detected user is warned before update starts.
38445  In case of merge conflicts both versions of the conflicting document parts are placed in the final document.
38446  You have to review and correct the result of the merge.
38447  You'll find the conflicts enclosed in pairs of 
38448 \begin_inset Flex Code
38449 status collapsed
38450
38451 \begin_layout Plain Layout
38452 <<<<<<<
38453 \end_layout
38454
38455 \end_inset
38456
38457  and 
38458 \begin_inset Flex Code
38459 status collapsed
38460
38461 \begin_layout Plain Layout
38462 >>>>>>>
38463 \end_layout
38464
38465 \end_inset
38466
38467  separated by 
38468 \begin_inset Flex Code
38469 status collapsed
38470
38471 \begin_layout Plain Layout
38472 =======
38473 \end_layout
38474
38475 \end_inset
38476
38477 .
38478  The first part is your version as before the update operation with the document name prepended.
38479  The second one is the repository version with the version number after the sequence of 
38480 \begin_inset Flex Code
38481 status collapsed
38482
38483 \begin_layout Plain Layout
38484 >
38485 \end_layout
38486
38487 \end_inset
38488
38489  signs.
38490 \end_layout
38491
38492 \begin_layout Labeling
38493 \labelwidthstring 00.00.0000
38494 CVS
38495 \begin_inset space ~
38496 \end_inset
38497
38498 commands:
38499  
38500 \begin_inset space ~
38501 \end_inset
38502
38503
38504 \begin_inset Newline newline
38505 \end_inset
38506
38507
38508 \begin_inset Flex Code
38509 status collapsed
38510
38511 \begin_layout Plain Layout
38512 cd $path;
38513  cvs diff 
38514 \family typewriter
38515 "."
38516 \end_layout
38517
38518 \end_inset
38519
38520  (Ask if changes are detected.)
38521 \begin_inset Newline newline
38522 \end_inset
38523
38524
38525 \begin_inset Flex Code
38526 status collapsed
38527
38528 \begin_layout Plain Layout
38529 cd $path;
38530  cvs -q update 
38531 \family typewriter
38532 "."
38533 \end_layout
38534
38535 \end_inset
38536
38537
38538 \end_layout
38539
38540 \begin_layout Standard
38541 where 
38542 \begin_inset Flex Code
38543 status collapsed
38544
38545 \begin_layout Plain Layout
38546 $path
38547 \end_layout
38548
38549 \end_inset
38550
38551  stands for the path to the document.
38552 \end_layout
38553
38554 \begin_layout Subsubsection
38555
38556 \family sans
38557 Show History
38558 \end_layout
38559
38560 \begin_layout Standard
38561 This shows the complete history of the CVS document.
38562  The output of 
38563 \family typewriter
38564 cvs log "<file-name>"
38565 \family default
38566  is shown in a browser.
38567 \end_layout
38568
38569 \begin_layout Subsubsection
38570 Revision info
38571 \end_layout
38572
38573 \begin_layout Standard
38574 \SpecialChar LyX
38575  supports CVS version number,
38576  author name,
38577  date and time of last commit.
38578  All those are extracted from 
38579 \family typewriter
38580 cvs log -r <file-name>
38581 \family default
38582 .
38583  See 
38584 \begin_inset CommandInset ref
38585 LatexCommand ref
38586 reference "subsec:VCS-Revision-Information"
38587 nolink "false"
38588
38589 \end_inset
38590
38591  for details.
38592 \end_layout
38593
38594 \begin_layout Subsection
38595 SVN commands in \SpecialChar LyX
38596
38597 \end_layout
38598
38599 \begin_layout Standard
38600 SVN is now partially supported by \SpecialChar LyX
38601 .
38602  You can find the commands in the 
38603 \family sans
38604 File\SpecialChar menuseparator
38605 Version
38606 \begin_inset space ~
38607 \end_inset
38608
38609 Control
38610 \family default
38611  submenu.
38612  Please note that if you use password protected access to repository via ssh,
38613  you will be asked in terminal window.
38614  \SpecialChar LyX
38615  was tested against SVN 1.5,
38616  1.6,
38617  1.7 and 1.8
38618 \begin_inset Foot
38619 status collapsed
38620
38621 \begin_layout Plain Layout
38622 Most of the commands will work with 1.4 too,
38623  see 
38624 \begin_inset CommandInset ref
38625 LatexCommand ref
38626 reference "subsec:SVN-Repo-Update"
38627 nolink "false"
38628
38629 \end_inset
38630
38631 .
38632  There seems to be currently unresolved permissions problem under SVN 1.8 with reverting changes when file is locked.
38633 \end_layout
38634
38635 \end_inset
38636
38637
38638 \end_layout
38639
38640 \begin_layout Subsubsection
38641
38642 \family sans
38643 Register
38644 \end_layout
38645
38646 \begin_layout Standard
38647 If your document is not under revision control,
38648  this is the only item shown in the menu.
38649  And if it is under revision control,
38650  the 
38651 \family sans
38652 Register
38653 \family default
38654  item is not visible.
38655 \end_layout
38656
38657 \begin_layout Standard
38658 This command registers in SVN your document ONLY in case you have already the documents directory under SVN control (in particular 
38659 \family typewriter
38660 .svn/entries
38661 \family default
38662  file exists).
38663  This means you have to checkout the archive by yourself.
38664 \end_layout
38665
38666 \begin_layout Standard
38667 Then you are asked interactively to supply an initial description of the document.
38668  Don't forget that registered file is not yet commited.
38669 \end_layout
38670
38671 \begin_layout Standard
38672 SVN command that is run:
38673  
38674 \family typewriter
38675 svn add -q 
38676 \begin_inset Quotes qld
38677 \end_inset
38678
38679 <file-name>
38680 \begin_inset Quotes qld
38681 \end_inset
38682
38683
38684 \end_layout
38685
38686 \begin_layout Standard
38687 Read 
38688 \family typewriter
38689 man svn
38690 \family default
38691  to understand the switches.
38692 \end_layout
38693
38694 \begin_layout Subsubsection
38695
38696 \family sans
38697 Check In Changes
38698 \end_layout
38699
38700 \begin_layout Standard
38701 When you are finished editing a file,
38702  you commit your changes.
38703  When you do this,
38704  you are asked for a description of the changes.
38705  After that changes are commited.
38706 \end_layout
38707
38708 \begin_layout Standard
38709 SVN command:
38710 \begin_inset Foot
38711 status collapsed
38712
38713 \begin_layout Plain Layout
38714 In case locking is not enabled.
38715  See Section 
38716 \begin_inset CommandInset ref
38717 LatexCommand ref
38718 reference "subsec:SVN-File-Locking"
38719 nolink "false"
38720
38721 \end_inset
38722
38723 .
38724 \end_layout
38725
38726 \end_inset
38727
38728  
38729 \family typewriter
38730 svn commit -q -m"<description>" <file-name>
38731 \end_layout
38732
38733 \begin_layout Subsubsection
38734
38735 \family sans
38736 Check Out For Edit
38737 \end_layout
38738
38739 \begin_layout Standard
38740 Updates the changes of this file from the repository.
38741  Be sure you understand SVN merging and conflicts resolving before using this function,
38742  because all conflicts has to be resolved manually by you!
38743 \end_layout
38744
38745 \begin_layout Standard
38746 SVN command:
38747 \begin_inset Foot
38748 status collapsed
38749
38750 \begin_layout Plain Layout
38751 Ditto.
38752 \end_layout
38753
38754 \end_inset
38755
38756  
38757 \family typewriter
38758 svn update --non-interactive 
38759 \begin_inset Quotes qld
38760 \end_inset
38761
38762 <file-name>
38763 \begin_inset Quotes qld
38764 \end_inset
38765
38766
38767 \end_layout
38768
38769 \begin_layout Subsubsection
38770
38771 \family sans
38772 Revert To Repository Version
38773 \end_layout
38774
38775 \begin_layout Standard
38776 This will discard all changes made to the document since the last check in.
38777  You get a warning before changes are discarded.
38778 \end_layout
38779
38780 \begin_layout Standard
38781 SVN command:
38782  
38783 \family typewriter
38784 svn revert -q 
38785 \begin_inset Quotes qld
38786 \end_inset
38787
38788 <file-name>
38789 \begin_inset Quotes qld
38790 \end_inset
38791
38792
38793 \end_layout
38794
38795 \begin_layout Subsubsection
38796
38797 \family sans
38798 Copy
38799 \end_layout
38800
38801 \begin_layout Standard
38802 This will create a copy of the current document including the version history.
38803  It requires a clean document without any changes since the last checkin.
38804  You are asked for a file name and a description of the copy operation.
38805  After that the copy is created,
38806  both locally and in the repository.
38807  If the parent directories of the copied and original document differ,
38808  all relative paths of included files of the copy are adjusted (like in 
38809 \family sans
38810 File\SpecialChar menuseparator
38811 Save As
38812 \family default
38813 \SpecialChar ldots
38814 ).
38815  Finally,
38816  the copy is loaded instead of the original document.
38817 \end_layout
38818
38819 \begin_layout Labeling
38820 \labelwidthstring 00.00.0000
38821 SVN
38822 \begin_inset space ~
38823 \end_inset
38824
38825 commands:
38826  
38827 \begin_inset space ~
38828 \end_inset
38829
38830
38831 \begin_inset Newline newline
38832 \end_inset
38833
38834
38835 \begin_inset Flex Code
38836 status collapsed
38837
38838 \begin_layout Plain Layout
38839 svn copy -q 
38840 \family typewriter
38841
38842 \begin_inset Quotes qld
38843 \end_inset
38844
38845 <file-name>
38846 \begin_inset Quotes qld
38847 \end_inset
38848
38849  
38850 \begin_inset Quotes qld
38851 \end_inset
38852
38853 <new-file-name>
38854 \begin_inset Quotes qld
38855 \end_inset
38856
38857
38858 \end_layout
38859
38860 \end_inset
38861
38862
38863 \begin_inset Newline newline
38864 \end_inset
38865
38866
38867 \begin_inset Flex Code
38868 status collapsed
38869
38870 \begin_layout Plain Layout
38871 svn commit
38872 \end_layout
38873
38874 \end_inset
38875
38876
38877 \end_layout
38878
38879 \begin_layout Subsubsection
38880
38881 \family sans
38882 Rename
38883 \end_layout
38884
38885 \begin_layout Standard
38886 This will rename the current document including the version history.
38887  It requires a clean document without any changes since the last checkin.
38888  You are asked for a file name and a description of the rename operation.
38889  After that the document is renamed,
38890  both locally and in the repository.
38891  If the parent directories of the new and old file names differ,
38892  all relative paths of included files are adjusted (like in 
38893 \family sans
38894 File\SpecialChar menuseparator
38895 Save As
38896 \family default
38897 \SpecialChar ldots
38898 ).
38899  Finally,
38900  the document is reloaded using the new name.
38901 \end_layout
38902
38903 \begin_layout Labeling
38904 \labelwidthstring 00.00.0000
38905 SVN
38906 \begin_inset space ~
38907 \end_inset
38908
38909 commands:
38910  
38911 \begin_inset space ~
38912 \end_inset
38913
38914
38915 \begin_inset Newline newline
38916 \end_inset
38917
38918
38919 \begin_inset Flex Code
38920 status collapsed
38921
38922 \begin_layout Plain Layout
38923 svn move -q 
38924 \family typewriter
38925
38926 \begin_inset Quotes qld
38927 \end_inset
38928
38929 <file-name>
38930 \begin_inset Quotes qld
38931 \end_inset
38932
38933  
38934 \begin_inset Quotes qld
38935 \end_inset
38936
38937 <new-file-name>
38938 \begin_inset Quotes qld
38939 \end_inset
38940
38941
38942 \end_layout
38943
38944 \end_inset
38945
38946
38947 \begin_inset Newline newline
38948 \end_inset
38949
38950
38951 \begin_inset Flex Code
38952 status collapsed
38953
38954 \begin_layout Plain Layout
38955 svn commit
38956 \end_layout
38957
38958 \end_inset
38959
38960
38961 \end_layout
38962
38963 \begin_layout Subsubsection
38964 \begin_inset CommandInset label
38965 LatexCommand label
38966 name "subsec:SVN-Repo-Update"
38967
38968 \end_inset
38969
38970 Update of the local directory checkout from repository
38971 \begin_inset Foot
38972 status collapsed
38973
38974 \begin_layout Plain Layout
38975 Note that this command will work only with subversion 
38976 \begin_inset Formula $\geqq1.5$
38977 \end_inset
38978
38979
38980 \end_layout
38981
38982 \end_inset
38983
38984
38985 \end_layout
38986
38987 \begin_layout Standard
38988 All the commands above have one shortcoming – they deal with the current document only.
38989  Once your document contains pictures,
38990  includes external 
38991 \begin_inset Flex Code
38992 status collapsed
38993
38994 \begin_layout Plain Layout
38995 .tex
38996 \end_layout
38997
38998 \end_inset
38999
39000  files and so on administration becomes more complicated.
39001  \SpecialChar LyX
39002  now supports updating the whole tree in which resides the document
39003 \begin_inset Foot
39004 status collapsed
39005
39006 \begin_layout Plain Layout
39007 One need to organize the files structure so that all external files are in the same directory or subdirectories of the document.
39008  
39009 \end_layout
39010
39011 \end_inset
39012
39013 .
39014  This become especially useful once you cooperate with people which neither know about subversion management nor they have ambition to commit additional material to the repository.
39015  
39016 \end_layout
39017
39018 \begin_layout Standard
39019 \begin_inset Flex Code
39020 status collapsed
39021
39022 \begin_layout Plain Layout
39023 Update local directory from repository
39024 \end_layout
39025
39026 \end_inset
39027
39028  command updates the whole directory and in case of merge conflicts local version of the files are left,
39029  so no unintended data loss occurs.
39030  If local changes are detected user is warned before update starts.
39031 \end_layout
39032
39033 \begin_layout Labeling
39034 \labelwidthstring 00.00.0000
39035 SVN
39036 \begin_inset space ~
39037 \end_inset
39038
39039 commands:
39040  
39041 \begin_inset space ~
39042 \end_inset
39043
39044
39045 \begin_inset Newline newline
39046 \end_inset
39047
39048
39049 \begin_inset Flex Code
39050 status collapsed
39051
39052 \begin_layout Plain Layout
39053 svn diff $path
39054 \end_layout
39055
39056 \end_inset
39057
39058  (Ask if changes are detected.)
39059 \begin_inset Newline newline
39060 \end_inset
39061
39062
39063 \begin_inset Flex Code
39064 status collapsed
39065
39066 \begin_layout Plain Layout
39067 svn update --accept mine-full $path
39068 \end_layout
39069
39070 \end_inset
39071
39072
39073 \end_layout
39074
39075 \begin_layout Standard
39076 where 
39077 \begin_inset Flex Code
39078 status collapsed
39079
39080 \begin_layout Plain Layout
39081 $path
39082 \end_layout
39083
39084 \end_inset
39085
39086  stands for the path to the document.
39087 \end_layout
39088
39089 \begin_layout Subsubsection
39090
39091 \family sans
39092 Show History
39093 \end_layout
39094
39095 \begin_layout Standard
39096 This shows the complete history of the SVN document.
39097  The output of 
39098 \family typewriter
39099 svn log 
39100 \begin_inset Quotes qld
39101 \end_inset
39102
39103 <file-name>
39104 \begin_inset Quotes qld
39105 \end_inset
39106
39107
39108 \family default
39109  is shown in a browser.
39110 \end_layout
39111
39112 \begin_layout Subsubsection
39113 File Locking
39114 \begin_inset CommandInset label
39115 LatexCommand label
39116 name "subsec:SVN-File-Locking"
39117
39118 \end_inset
39119
39120
39121 \end_layout
39122
39123 \begin_layout Standard
39124 The file exchange through various revision control systems brings the problem of merge conflicts in case two different users try to edit the same (parts of) document.
39125  When such a conflict happens it needs manual resolving and one reasonable alternative is to provide some kind of locking mechanism,
39126  which guarantees that only one user is allowed to edit file at the given time.
39127 \end_layout
39128
39129 \begin_layout Standard
39130 SVN has two such mechanisms to provide mutual exclusivity for file access – locks and automatic setting of write permissions (see sec.
39131  
39132 \begin_inset CommandInset ref
39133 LatexCommand ref
39134 reference "subsec:Automatical-Locking-Property"
39135 nolink "false"
39136
39137 \end_inset
39138
39139 ) based on 
39140 \begin_inset Flex Code
39141 status collapsed
39142
39143 \begin_layout Plain Layout
39144 svn:needs-lock
39145 \end_layout
39146
39147 \end_inset
39148
39149  file svn property
39150 \begin_inset Foot
39151 status collapsed
39152
39153 \begin_layout Plain Layout
39154 \begin_inset Flex URL
39155 status open
39156
39157 \begin_layout Plain Layout
39158
39159 http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html
39160 \end_layout
39161
39162 \end_inset
39163
39164
39165 \end_layout
39166
39167 \end_inset
39168
39169 .
39170  If this property is detected for a given document \SpecialChar LyX
39171  starts to use SVN locks for document editing automatically and the whole check-in/out mechanism switches to the same regimen as for RCS.
39172  This in particular means there are two different modes of file use in \SpecialChar LyX
39173 :
39174 \end_layout
39175
39176 \begin_layout Itemize
39177 Unlocked state.
39178  The loaded file is in the read-only mode.
39179  For editing on needs to check-out.
39180  
39181 \emph on
39182 Check-out
39183 \emph default
39184  consists of updating from the repository and gaining write lock.
39185  If the lock is not possible to obtain,
39186  we remain in unlocked state.
39187 \end_layout
39188
39189 \begin_layout Itemize
39190 Locked state.
39191  The loaded file is in the 
39192 \begin_inset Quotes els
39193 \end_inset
39194
39195 normal
39196 \begin_inset Quotes ers
39197 \end_inset
39198
39199  edit mode.
39200  No other user is allowed to edit the file.
39201  
39202 \emph on
39203 Check-in
39204 \emph default
39205  consists of commiting changes and releasing write-lock.
39206  If no changes have been made to the document,
39207  no commit will be produced
39208 \begin_inset Foot
39209 status collapsed
39210
39211 \begin_layout Plain Layout
39212 Don't be puzzled by the fact that you will be asked for commit message anyway.
39213 \end_layout
39214
39215 \end_inset
39216
39217  and only the write-lock will be released.
39218 \end_layout
39219
39220 \begin_layout Standard
39221 SVN commands:
39222 \end_layout
39223
39224 \begin_layout Labeling
39225 \labelwidthstring 00.00.0000
39226 Check-in:
39227
39228 \family typewriter
39229  svn commit -q -m"<description>" "<file-name>"
39230 \begin_inset Newline newline
39231 \end_inset
39232
39233 svn unlock "<file-name>"
39234 \end_layout
39235
39236 \begin_layout Labeling
39237 \labelwidthstring 00.00.0000
39238 Check-out:
39239  
39240 \family typewriter
39241 svn update "<file-name>"
39242 \begin_inset Newline newline
39243 \end_inset
39244
39245 svn lock "<file-name>"
39246 \end_layout
39247
39248 \begin_layout Subsubsection
39249
39250 \family typewriter
39251 \begin_inset CommandInset label
39252 LatexCommand label
39253 name "subsec:Automatical-Locking-Property"
39254
39255 \end_inset
39256
39257
39258 \family default
39259 Automatic Locking Property
39260 \end_layout
39261
39262 \begin_layout Standard
39263 The above mentioned automatic setting of write permissions of the .lyx file can be set through
39264 \family sans
39265  File\SpecialChar menuseparator
39266 Version
39267 \begin_inset space ~
39268 \end_inset
39269
39270 Control\SpecialChar menuseparator
39271 Use Locking Property
39272 \family default
39273 .
39274  This command is active only when the file is not locked on the svn server (i.e.
39275  you need to check-out before proceeding).
39276 \end_layout
39277
39278 \begin_layout Labeling
39279 \labelwidthstring 00.00.0000
39280 SVN
39281 \begin_inset space ~
39282 \end_inset
39283
39284 commands:
39285 \end_layout
39286
39287 \begin_layout Labeling
39288 \labelwidthstring 00.00.0000
39289 Set:
39290
39291 \family typewriter
39292  svn propset svn:needs-lock ON "<file-name>"
39293 \end_layout
39294
39295 \begin_layout Labeling
39296 \labelwidthstring 00.00.0000
39297 Unset:
39298  
39299 \family typewriter
39300 svn propdel svn:needs-lock "<file-name>"
39301 \end_layout
39302
39303 \begin_layout Subsubsection
39304 \begin_inset CommandInset label
39305 LatexCommand label
39306 name "subsec:VCS-Revision-Information"
39307
39308 \end_inset
39309
39310 Revision Information in Documents
39311 \end_layout
39312
39313 \begin_layout Standard
39314 There are more possibilities how to activate revision information in our document.
39315 \end_layout
39316
39317 \begin_layout Itemize
39318 \SpecialChar LyX
39319  supports directly:
39320 \end_layout
39321
39322 \begin_deeper
39323 \begin_layout Itemize
39324 tree revision information (
39325 \begin_inset Flex Code
39326 status collapsed
39327
39328 \begin_layout Plain Layout
39329 vcs-tree-revision
39330 \end_layout
39331
39332 \end_inset
39333
39334 ).
39335  The result is the output of the 
39336 \begin_inset Flex Code
39337 status collapsed
39338
39339 \begin_layout Plain Layout
39340 svnversion
39341 \end_layout
39342
39343 \end_inset
39344
39345  command,
39346  the following table gives you an idea,
39347  how to read the results.
39348 \end_layout
39349
39350 \begin_layout Standard
39351 \align center
39352 \begin_inset Tabular
39353 <lyxtabular version="3" rows="6" columns="2">
39354 <features tabularvalignment="middle">
39355 <column alignment="left" valignment="top">
39356 <column alignment="left" valignment="top">
39357 <row>
39358 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39359 \begin_inset Text
39360
39361 \begin_layout Plain Layout
39362
39363 \series bold
39364 Output
39365 \end_layout
39366
39367 \end_inset
39368 </cell>
39369 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39370 \begin_inset Text
39371
39372 \begin_layout Plain Layout
39373
39374 \series bold
39375 Meaning
39376 \end_layout
39377
39378 \end_inset
39379 </cell>
39380 </row>
39381 <row>
39382 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39383 \begin_inset Text
39384
39385 \begin_layout Plain Layout
39386 4123:4168
39387 \end_layout
39388
39389 \end_inset
39390 </cell>
39391 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39392 \begin_inset Text
39393
39394 \begin_layout Plain Layout
39395 mixed revision working copy
39396 \end_layout
39397
39398 \end_inset
39399 </cell>
39400 </row>
39401 <row>
39402 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39403 \begin_inset Text
39404
39405 \begin_layout Plain Layout
39406 4168M
39407 \end_layout
39408
39409 \end_inset
39410 </cell>
39411 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39412 \begin_inset Text
39413
39414 \begin_layout Plain Layout
39415 modified working copy
39416 \end_layout
39417
39418 \end_inset
39419 </cell>
39420 </row>
39421 <row>
39422 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39423 \begin_inset Text
39424
39425 \begin_layout Plain Layout
39426 4123S
39427 \end_layout
39428
39429 \end_inset
39430 </cell>
39431 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39432 \begin_inset Text
39433
39434 \begin_layout Plain Layout
39435 switched working copy
39436 \end_layout
39437
39438 \end_inset
39439 </cell>
39440 </row>
39441 <row>
39442 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39443 \begin_inset Text
39444
39445 \begin_layout Plain Layout
39446 4123P
39447 \end_layout
39448
39449 \end_inset
39450 </cell>
39451 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39452 \begin_inset Text
39453
39454 \begin_layout Plain Layout
39455 partial working copy,
39456  from a sparse checkout
39457 \end_layout
39458
39459 \end_inset
39460 </cell>
39461 </row>
39462 <row>
39463 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39464 \begin_inset Text
39465
39466 \begin_layout Plain Layout
39467 4123:4168MS
39468 \end_layout
39469
39470 \end_inset
39471 </cell>
39472 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39473 \begin_inset Text
39474
39475 \begin_layout Plain Layout
39476 mixed revision,
39477  modified,
39478  switched working copy
39479 \end_layout
39480
39481 \end_inset
39482 </cell>
39483 </row>
39484 </lyxtabular>
39485
39486 \end_inset
39487
39488
39489 \end_layout
39490
39491 \begin_layout Itemize
39492 file revision information.
39493  The result comes from parsing the output of 
39494 \begin_inset Flex Code
39495 status collapsed
39496
39497 \begin_layout Plain Layout
39498 svn
39499 \begin_inset space ~
39500 \end_inset
39501
39502 info
39503 \begin_inset space ~
39504 \end_inset
39505
39506 --xml
39507 \begin_inset space ~
39508 \end_inset
39509
39510 file.lyx
39511 \end_layout
39512
39513 \end_inset
39514
39515 .
39516  Supported flags are:
39517 \end_layout
39518
39519 \begin_deeper
39520 \begin_layout Itemize
39521 version number of the last commit (
39522 \begin_inset Flex Code
39523 status collapsed
39524
39525 \begin_layout Plain Layout
39526 vcs-revision
39527 \end_layout
39528
39529 \end_inset
39530
39531 )
39532 \end_layout
39533
39534 \begin_layout Itemize
39535 author of the last commit (
39536 \begin_inset Flex Code
39537 status collapsed
39538
39539 \begin_layout Plain Layout
39540 vcs-author
39541 \end_layout
39542
39543 \end_inset
39544
39545 )
39546 \end_layout
39547
39548 \begin_layout Itemize
39549 date of the last commit (
39550 \begin_inset Flex Code
39551 status collapsed
39552
39553 \begin_layout Plain Layout
39554 vcs-date
39555 \end_layout
39556
39557 \end_inset
39558
39559 )
39560 \end_layout
39561
39562 \begin_layout Itemize
39563 time of the last commit (
39564 \begin_inset Flex Code
39565 status collapsed
39566
39567 \begin_layout Plain Layout
39568 vcs-time
39569 \end_layout
39570
39571 \end_inset
39572
39573 )
39574 \end_layout
39575
39576 \end_deeper
39577 \begin_layout Standard
39578 You can obtain this info via InsetInfo (
39579 \change_inserted 5863208 1564400022
39580
39581 \family sans
39582 Insert\SpecialChar menuseparator
39583 Field\SpecialChar menuseparator
39584 Version Control Revision
39585 \change_deleted 5863208 1564399852
39586
39587 \family default
39588 e.g.
39589  
39590 \begin_inset Flex Code
39591 status collapsed
39592
39593 \begin_layout Plain Layout
39594 info-insert buffer vcs-date
39595 \end_layout
39596
39597 \end_inset
39598
39599
39600 \change_unchanged
39601 ).
39602  The information will be available only when you have the file stored under svn managment (i.e.
39603  the 
39604 \begin_inset Flex Code
39605 status collapsed
39606
39607 \begin_layout Plain Layout
39608 .svn
39609 \end_layout
39610
39611 \end_inset
39612
39613  directory is available with your document).
39614 \end_layout
39615
39616 \end_deeper
39617 \begin_layout Itemize
39618 Another—
39619 a hacking one—
39620 possibility is to use svn keywords
39621 \begin_inset Foot
39622 status collapsed
39623
39624 \begin_layout Plain Layout
39625 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
39626 \end_layout
39627
39628 \end_inset
39629
39630 .
39631  In short – you set file keywords property (e.g.
39632  
39633 \family sans
39634 svn propset svn:keywords 'Rev' file.lyx
39635 \family default
39636 ) and then paste keyword \SpecialChar TeX
39637  code
39638 \begin_inset Foot
39639 status collapsed
39640
39641 \begin_layout Plain Layout
39642 This is an easy way how to ensure that \SpecialChar LyX
39643  won't break the line in the middle of keyword tag.
39644 \end_layout
39645
39646 \end_inset
39647
39648  tag in your document (e.g.
39649  
39650 \begin_inset Flex Code
39651 status collapsed
39652
39653 \begin_layout Plain Layout
39654 $Rev$
39655 \end_layout
39656
39657 \end_inset
39658
39659 ).
39660  This way svn client will automatically substitute revision number (e.g.
39661  
39662 \begin_inset Flex Code
39663 status collapsed
39664
39665 \begin_layout Plain Layout
39666 $Rev:
39667  59 $
39668 \end_layout
39669
39670 \end_inset
39671
39672 ) after each update and commit.
39673  There are more problems with this approach.
39674  Firstly,
39675  the '$' character is used in \SpecialChar TeX
39676  world for math equations,
39677  so any occurence of math formula 
39678 \begin_inset Formula $Rev$
39679 \end_inset
39680
39681  become 
39682 \begin_inset Formula $Rev:59$
39683 \end_inset
39684
39685  in your \SpecialChar LyX
39686  document.
39687  Similarly for other keywords like Id,
39688  Date,
39689  Author,
39690  etc.
39691  Secondly svn output is dependent on your locales,
39692  so its very easy that svn would produce some problematic strings once Date is used.
39693  Thirdly you get the whole 'Rev:
39694  59' string in your document instead of the plain number.
39695  Until subversion implements user's custom keywords it will be hard to use this approach reliably or let \SpecialChar LyX
39696  to support it directly.
39697 \end_layout
39698
39699 \begin_layout Subsection
39700 SVN and Windows Environment
39701 \end_layout
39702
39703 \begin_layout Quote
39704 My inclination is to say that if the user cannot figure out the command line operations on their own fairly quickly,
39705  they would be well advised to use TortoiseSVN.
39706  —
39707 P.
39708  A.
39709  Rubin
39710 \end_layout
39711
39712 \begin_layout Subsubsection
39713 Preparation
39714 \end_layout
39715
39716 \begin_layout Standard
39717 In addition to installing \SpecialChar LyX
39718 ,
39719  and having access to a Subversion repository,
39720  the user will need to install the Subversion client program.
39721  A Windows installer for the client program is available from 
39722 \begin_inset CommandInset href
39723 LatexCommand href
39724 name "CollabNet"
39725 target "http://www.collab.net/nonav/downloads/subversion/"
39726 literal "false"
39727
39728 \end_inset
39729
39730 .
39731  The user may also want to install 
39732 \begin_inset CommandInset href
39733 LatexCommand href
39734 name "TortoiseSVN"
39735 target "http://tortoisesvn.tigris.org/"
39736 literal "false"
39737
39738 \end_inset
39739
39740 ,
39741  which integrates Subversion operations into the context (rightclick) menu of Windows Explorer.
39742  Operations done outside \SpecialChar LyX
39743  will typically be more convenient using the Explorer context menu.
39744  Note that TortoiseSVN is not a replacement for the client program,
39745  which is what \SpecialChar LyX
39746  itself will use.
39747 \end_layout
39748
39749 \begin_layout Subsubsection
39750 Bringing a document under Subversion control
39751 \end_layout
39752
39753 \begin_layout Standard
39754 Before a \SpecialChar LyX
39755  document can be brought under version control in Subversion,
39756  its parent directory needs to be under version control.
39757  If the document is being added to a project already in the repository,
39758  this is accomplished by checking the project out to the directory where the new document will be placed.
39759  If the project itself is not yet under version control (for instance,
39760  if this document starts a new project),
39761  the directory must be imported into the repository.
39762  This is done outside \SpecialChar LyX
39763 .
39764  Both import and checkout are easily accomplished from the Explorer context menu using TortoiseSVN,
39765  or alternatively can be done using the command line client at a DOS prompt.
39766  The procedure for importing the project using TortoiseSVN is described below,
39767  assuming an existing repository and a new project being started in 
39768 \family typewriter
39769 C:
39770 \backslash
39771 new project
39772 \family default
39773 .
39774  For information on using the Subversion client program,
39775  run 
39776 \family typewriter
39777 svn --help 
39778 \family default
39779 in a DOS shell.
39780 \end_layout
39781
39782 \begin_layout Enumerate
39783 Locate 
39784 \family typewriter
39785 C:
39786 \backslash
39787 new project 
39788 \family default
39789 in Windows Explorer,
39790  right click it,
39791  and select 
39792 \family sans
39793 TortoiseSVN\SpecialChar menuseparator
39794 Repo-browser
39795 \family default
39796 .
39797  If necessary,
39798  adjust the URL for the repository,
39799  then click OK.
39800 \end_layout
39801
39802 \begin_layout Enumerate
39803 Right click the level of the repository under which you want to place the new project folder (typically the top level) and click 
39804 \family sans
39805 Create folder
39806 \family default
39807  Supply a name for the project folder and click OK.
39808  Add a message for the log file if desired,
39809  then click OK again.
39810  The new project folder should appear in the repository.
39811  Finally,
39812  click OK again to exit the repository browser.
39813 \end_layout
39814
39815 \begin_layout Enumerate
39816 Once again right click 
39817 \family typewriter
39818 C:
39819 \backslash
39820 new project
39821 \family default
39822 ,
39823  this time selecting SVN Checkout\SpecialChar ldots
39824  Select the URL of the project folder you just created in the repository,
39825  and set the checkout directory to 
39826 \family typewriter
39827 C:
39828 \backslash
39829 new project.
39830
39831 \family default
39832  Click OK.
39833  You will be warned about a non-empty folder;
39834  click OK to proceed.
39835  You should now have a 
39836 \family typewriter
39837 .svn
39838 \family default
39839  directory under 
39840 \family typewriter
39841 C:
39842 \backslash
39843 new project.
39844 \end_layout
39845
39846 \begin_layout Enumerate
39847 Create or open your document in \SpecialChar LyX
39848  and click 
39849 \family sans
39850 File\SpecialChar menuseparator
39851 Version
39852 \begin_inset space ~
39853 \end_inset
39854
39855 Control\SpecialChar menuseparator
39856 Register.
39857  
39858 \family default
39859 Add a log message and click OK to commit the document to version control.
39860 \end_layout
39861
39862 \begin_layout Standard
39863 From this point onward,
39864  you should have full functionality in the 
39865 \family sans
39866 File\SpecialChar menuseparator
39867 Version
39868 \begin_inset space ~
39869 \end_inset
39870
39871 Control
39872 \family default
39873  menu.
39874  You also have the option of checking the document in and out,
39875  viewing its history,
39876  etc.
39877  using the TortoiseSVN context menu in Windows Explorer or the Subversion client program from a command prompt.
39878 \end_layout
39879
39880 \begin_layout Subsubsection
39881 SSH tunnel used with SVN under Windows
39882 \end_layout
39883
39884 \begin_layout Standard
39885 Compared with Linux setting up an svn client to communicate over ssh under Windows is a rather troublesome task.
39886  We will at least offer some hints how to setup the client side but prior knowledge about ssh and the Windows command line is needed,
39887  also be prepared for a great deal of frustration\SpecialChar ldots
39888
39889 \end_layout
39890
39891 \begin_layout Enumerate
39892 Get an svn client for windows,
39893  as described in the previous sections.
39894  When it is a fresh install run some svn command (e.g.
39895  
39896 \begin_inset Flex Code
39897 status collapsed
39898
39899 \begin_layout Plain Layout
39900 svn --version
39901 \end_layout
39902
39903 \end_inset
39904
39905 ) to create config files,
39906  which you will need to change later on.
39907 \end_layout
39908
39909 \begin_layout Enumerate
39910 Choose an ssh client for Windows.
39911  There are several possibilities,
39912  we will use the one from Putty tools
39913 \begin_inset Foot
39914 status collapsed
39915
39916 \begin_layout Plain Layout
39917 \begin_inset Flex URL
39918 status collapsed
39919
39920 \begin_layout Plain Layout
39921
39922 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
39923 \end_layout
39924
39925 \end_inset
39926
39927
39928 \end_layout
39929
39930 \end_inset
39931
39932 .
39933  You will need to set the connection up so that the client doesn't ask for any password from you.
39934  To keep things easy we will use only keys without any additional password protection etc.
39935 \end_layout
39936
39937 \begin_deeper
39938 \begin_layout Enumerate
39939 Generate keys by 
39940 \begin_inset Flex Code
39941 status collapsed
39942
39943 \begin_layout Plain Layout
39944 puttygen
39945 \end_layout
39946
39947 \end_inset
39948
39949 .
39950  Save your private .ppk key file and put the public one on the server side.
39951  If the SVN server runs on Linux,
39952  note that the format of the public key is not compatible with Linux openssh and you will need to direcly copy-paste the key from the 
39953 \begin_inset Quotes eld
39954 \end_inset
39955
39956
39957 \emph on
39958 Public key for pasting into OpenSSH authorized_keys file
39959 \emph default
39960 :
39961 \begin_inset Quotes erd
39962 \end_inset
39963
39964  edit field into the server's 
39965 \begin_inset Flex Code
39966 status collapsed
39967
39968 \begin_layout Plain Layout
39969 ~/.ssh/authorized_keys
39970 \end_layout
39971
39972 \end_inset
39973
39974  / 
39975 \begin_inset Flex Code
39976 status collapsed
39977
39978 \begin_layout Plain Layout
39979 authorized_keys2
39980 \end_layout
39981
39982 \end_inset
39983
39984  file.
39985 \end_layout
39986
39987 \begin_layout Enumerate
39988 Get the Putty's 
39989 \begin_inset Flex Code
39990 status collapsed
39991
39992 \begin_layout Plain Layout
39993 plink
39994 \end_layout
39995
39996 \end_inset
39997
39998 .
39999  In the SVN config file
40000 \begin_inset Foot
40001 status collapsed
40002
40003 \begin_layout Plain Layout
40004 Exact path depends on Windows version,
40005  usually somewhere around 
40006 \begin_inset Flex Code
40007 status collapsed
40008
40009 \begin_layout Plain Layout
40010 c:
40011 \backslash
40012 Documents and Settings
40013 \backslash
40014 user
40015 \backslash
40016 Application Data
40017 \backslash
40018 Subversion
40019 \backslash
40020 config
40021 \end_layout
40022
40023 \end_inset
40024
40025  / 
40026 \begin_inset Flex Code
40027 status collapsed
40028
40029 \begin_layout Plain Layout
40030 AppData
40031 \backslash
40032 Roaming
40033 \backslash
40034 Subversion
40035 \end_layout
40036
40037 \end_inset
40038
40039 .
40040 \end_layout
40041
40042 \end_inset
40043
40044 ,
40045  section [tunnels],
40046  setup ssh command,
40047  e.g.
40048  
40049 \begin_inset Flex Code
40050 status collapsed
40051
40052 \begin_layout Plain Layout
40053 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
40054 \end_layout
40055
40056 \end_inset
40057
40058 .
40059 \begin_inset Foot
40060 status collapsed
40061
40062 \begin_layout Plain Layout
40063 It will usually take a lot of time to get exact command right and it depends on many things.
40064  For example do not have some remote server saved as a default session in Putty etc.
40065  If things fail,
40066  try to connect via plink without SVN first.
40067 \end_layout
40068
40069 \end_inset
40070
40071
40072 \end_layout
40073
40074 \end_deeper
40075 \begin_layout Enumerate
40076 Checkout the SVN archive,
40077  e.
40078 \begin_inset space \thinspace{}
40079 \end_inset
40080
40081 g.
40082 \begin_inset Newline newline
40083 \end_inset
40084
40085
40086 \begin_inset Flex Code
40087 status collapsed
40088
40089 \begin_layout Plain Layout
40090 svn co svn+ssh://user@server/repository_path
40091 \end_layout
40092
40093 \end_inset
40094
40095 .
40096 \end_layout
40097
40098 \begin_layout Subsubsection
40099 End-of-Line Conversions
40100 \end_layout
40101
40102 \begin_layout Standard
40103 When the collaborators are mixing Linux and Windows environments,
40104  \SpecialChar LyX
40105  will use different line endings inside the .lyx files.
40106  This is not a problem as far as \SpecialChar LyX
40107  functionality is concerned,
40108  but the commit diffs will be huge and merge-conflicts prone.
40109  Fortunately SVN itself knows
40110 \begin_inset Foot
40111 status collapsed
40112
40113 \begin_layout Plain Layout
40114 \begin_inset Flex URL
40115 status collapsed
40116
40117 \begin_layout Plain Layout
40118
40119 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
40120 \end_layout
40121
40122 \end_inset
40123
40124
40125 \end_layout
40126
40127 \end_inset
40128
40129  how to deal with CR/LF problems when switching .lyx files to the 
40130 \begin_inset Flex Code
40131 status collapsed
40132
40133 \begin_layout Plain Layout
40134 native
40135 \end_layout
40136
40137 \end_inset
40138
40139  mode.
40140 \begin_inset Foot
40141 status collapsed
40142
40143 \begin_layout Plain Layout
40144 For the lazy guys:
40145  
40146 \begin_inset Flex Code
40147 status collapsed
40148
40149 \begin_layout Plain Layout
40150 svn propset svn:eol-style native FILE_NAME
40151 \end_layout
40152
40153 \end_inset
40154
40155
40156 \end_layout
40157
40158 \end_inset
40159
40160
40161 \end_layout
40162
40163 \begin_layout Subsection
40164 GIT commands in \SpecialChar LyX
40165
40166 \end_layout
40167
40168 \begin_layout Standard
40169 A minimal subset of GIT commands is now supported by \SpecialChar LyX
40170 .
40171  You can find the commands in the 
40172 \family sans
40173 File\SpecialChar menuseparator
40174 Version
40175 \begin_inset space ~
40176 \end_inset
40177
40178 Control
40179 \family default
40180  submenu.
40181  Please note that if you use password protected access to repository via ssh,
40182  you will be asked in terminal window.
40183  \SpecialChar LyX
40184  was tested against GIT 1.7.
40185 \begin_inset Foot
40186 status collapsed
40187
40188 \begin_layout Plain Layout
40189 Windows users please note that you need to ensure that git is on the path.
40190  This can be set from within \SpecialChar LyX
40191  at 
40192 \family sans
40193 Tools\SpecialChar menuseparator
40194 Preferences\SpecialChar menuseparator
40195 Paths\SpecialChar menuseparator
40196 PATH prefix
40197 \family default
40198 .
40199 \end_layout
40200
40201 \end_inset
40202
40203
40204 \end_layout
40205
40206 \begin_layout Standard
40207 One big difference of GIT and the other supported version control systems is the distributed nature of GIT:
40208  With traditional version control systems there is one central server which hosts the repository.
40209  Users commit their changes to the server,
40210  and get updates made by other users from it.
40211  With GIT,
40212  users commit to a local repository.
40213  The local repository can be synchronized with one or more remote repositories using the 
40214 \begin_inset Flex Code
40215 status collapsed
40216
40217 \begin_layout Plain Layout
40218 pull
40219 \end_layout
40220
40221 \end_inset
40222
40223  and 
40224 \begin_inset Flex Code
40225 status collapsed
40226
40227 \begin_layout Plain Layout
40228 push
40229 \end_layout
40230
40231 \end_inset
40232
40233  GIT commands.
40234  \SpecialChar LyX
40235  does not interact in any way with remote GIT repositories.
40236  It works exclusively with the local repository in a very similar way as with a central CVS or SVN repository.
40237  If you use remote GIT repositories you need to do the 
40238 \begin_inset Flex Code
40239 status collapsed
40240
40241 \begin_layout Plain Layout
40242 pull
40243 \end_layout
40244
40245 \end_inset
40246
40247  and 
40248 \begin_inset Flex Code
40249 status collapsed
40250
40251 \begin_layout Plain Layout
40252 push
40253 \end_layout
40254
40255 \end_inset
40256
40257  operations with your favourite GIT client.
40258 \end_layout
40259
40260 \begin_layout Subsubsection
40261
40262 \family sans
40263 Register
40264 \end_layout
40265
40266 \begin_layout Standard
40267 If your document is not under revision control,
40268  this is the only item shown in the menu.
40269  And if it is under revision control,
40270  the 
40271 \family sans
40272 Register
40273 \family default
40274  item is not visible.
40275 \end_layout
40276
40277 \begin_layout Standard
40278 This command registers in GIT your document ONLY in case you have already the documents directory under GIT control (in particular 
40279 \family typewriter
40280 .git/index
40281 \family default
40282  file exists).
40283  This means you have to checkout the archive by yourself.
40284 \end_layout
40285
40286 \begin_layout Standard
40287 Then you are asked interactively to supply an initial description of the document.
40288  Don't forget that registered file is not yet committed.
40289 \end_layout
40290
40291 \begin_layout Standard
40292 GIT command that is run:
40293  
40294 \family typewriter
40295 git add 
40296 \begin_inset Quotes qld
40297 \end_inset
40298
40299 <file-name>
40300 \begin_inset Quotes qld
40301 \end_inset
40302
40303
40304 \end_layout
40305
40306 \begin_layout Standard
40307 Read 
40308 \family typewriter
40309 man git
40310 \family default
40311  to understand the switches.
40312 \end_layout
40313
40314 \begin_layout Subsubsection
40315
40316 \family sans
40317 Check In Changes
40318 \end_layout
40319
40320 \begin_layout Standard
40321 When you are finished editing a file,
40322  you commit your changes.
40323  When you do this,
40324  you are asked for a description of the changes.
40325  After that changes are committed.
40326 \end_layout
40327
40328 \begin_layout Standard
40329 GIT command:
40330  
40331 \family typewriter
40332 git commit -q -m"<description>" <file-name>
40333 \end_layout
40334
40335 \begin_layout Subsubsection
40336
40337 \family sans
40338 Revert To Repository Version
40339 \end_layout
40340
40341 \begin_layout Standard
40342 This will discard all changes made to the document since the last check in.
40343  You get a warning before changes are discarded.
40344 \end_layout
40345
40346 \begin_layout Standard
40347 GIT command:
40348  
40349 \family typewriter
40350 git checkout -q 
40351 \begin_inset Quotes qld
40352 \end_inset
40353
40354 <file-name>
40355 \begin_inset Quotes qld
40356 \end_inset
40357
40358
40359 \end_layout
40360
40361 \begin_layout Subsubsection
40362
40363 \family sans
40364 Rename
40365 \end_layout
40366
40367 \begin_layout Standard
40368 This will rename the current document including the version history.
40369  It requires a clean document without any changes since the last checkin.
40370  You are asked for a file name and a description of the rename operation.
40371  After that the document is renamed,
40372  both locally and in the repository.
40373  If the parent directories of the new and old file names differ,
40374  all relative paths of included files are adjusted (like in 
40375 \family sans
40376 File\SpecialChar menuseparator
40377 Save As
40378 \family default
40379 \SpecialChar ldots
40380 ).
40381  Finally,
40382  the document is reloaded using the new name.
40383 \end_layout
40384
40385 \begin_layout Labeling
40386 \labelwidthstring 00.00.0000
40387 GIT
40388 \begin_inset space ~
40389 \end_inset
40390
40391 commands:
40392  
40393 \begin_inset space ~
40394 \end_inset
40395
40396
40397 \begin_inset Newline newline
40398 \end_inset
40399
40400
40401 \begin_inset Flex Code
40402 status collapsed
40403
40404 \begin_layout Plain Layout
40405 git mv 
40406 \family typewriter
40407
40408 \begin_inset Quotes qld
40409 \end_inset
40410
40411 <file-name>
40412 \begin_inset Quotes qld
40413 \end_inset
40414
40415  
40416 \begin_inset Quotes qld
40417 \end_inset
40418
40419 <new-file-name>
40420 \begin_inset Quotes qld
40421 \end_inset
40422
40423
40424 \end_layout
40425
40426 \end_inset
40427
40428
40429 \begin_inset Newline newline
40430 \end_inset
40431
40432
40433 \begin_inset Flex Code
40434 status collapsed
40435
40436 \begin_layout Plain Layout
40437 git commit
40438 \end_layout
40439
40440 \end_inset
40441
40442
40443 \end_layout
40444
40445 \begin_layout Subsubsection
40446
40447 \family sans
40448 Show History
40449 \end_layout
40450
40451 \begin_layout Standard
40452 This shows the complete history of the GIT document.
40453  The output of 
40454 \family typewriter
40455 git log 
40456 \begin_inset Quotes qld
40457 \end_inset
40458
40459 <file-name>
40460 \begin_inset Quotes qld
40461 \end_inset
40462
40463
40464 \family default
40465  is shown in a browser.
40466 \end_layout
40467
40468 \begin_layout Subsubsection
40469 Version Info
40470 \end_layout
40471
40472 \begin_layout Standard
40473 \SpecialChar LyX
40474  supports GIT hash number of the last commit to the file,
40475  
40476 \change_inserted 1119979965 1564297456
40477 its abbreviated form,
40478  
40479 \change_unchanged
40480 author name,
40481  date and time of last commit.
40482  All those are extracted from 
40483 \family typewriter
40484 git log -n 1 --pretty=format:%H%n
40485 \change_inserted 1119979965 1564297427
40486 %h%n
40487 \change_unchanged
40488 %an%n%ai
40489 \family default
40490 .
40491  Tree version information is obtained via 
40492 \family typewriter
40493 git describe --abbrev --dirty --long
40494 \family default
40495 .
40496  See 
40497 \begin_inset CommandInset ref
40498 LatexCommand ref
40499 reference "subsec:VCS-Revision-Information"
40500 nolink "false"
40501
40502 \end_inset
40503
40504  for other details.
40505 \end_layout
40506
40507 \begin_layout Subsection
40508 Further tuning
40509 \end_layout
40510
40511 \begin_layout Standard
40512 With the recent addition of the 
40513 \begin_inset Flex Code
40514 status collapsed
40515
40516 \begin_layout Plain Layout
40517 vc-command
40518 \end_layout
40519
40520 \end_inset
40521
40522  function \SpecialChar LyX
40523  power users are allowed to create their own commands for revision control.
40524 \end_layout
40525
40526 \begin_layout Standard
40527 As an example you can see how two TortoiseSVN commands could be integrated directly:
40528 \end_layout
40529
40530 \begin_layout Description
40531 Commit:
40532  
40533 \begin_inset Flex Code
40534 status collapsed
40535
40536 \begin_layout Plain Layout
40537 vc-command DR "." "TortoiseProc /command:commit /path:$$p"
40538 \end_layout
40539
40540 \end_inset
40541
40542
40543 \end_layout
40544
40545 \begin_layout Description
40546 Revert:
40547  
40548 \begin_inset Flex Code
40549 status collapsed
40550
40551 \begin_layout Plain Layout
40552 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
40553 \end_layout
40554
40555 \end_inset
40556
40557
40558 \end_layout
40559
40560 \begin_layout Subsection
40561 Version control and Document comparison
40562 \end_layout
40563
40564 \begin_layout Standard
40565 One of the typical uses of version control is to inspect the changes between revisions,
40566  usually by creating 
40567 \begin_inset Flex Code
40568 status collapsed
40569
40570 \begin_layout Plain Layout
40571 diff
40572 \end_layout
40573
40574 \end_inset
40575
40576  dumps.
40577  While this is useful for plain text files,
40578  it is much less useful in the case of \SpecialChar LyX
40579  files,
40580  which have more a complicated structure.
40581  Hence we provide binding to the Document comparison feature.
40582  There are two ways of calling this feature – either by direct call of 
40583 \begin_inset Flex Code
40584 status collapsed
40585
40586 \begin_layout Plain Layout
40587 vc-compare
40588 \end_layout
40589
40590 \end_inset
40591
40592  \SpecialChar LyX
40593  function (for details see \SpecialChar LyX
40594  functions manual) or by the toolbar icon 
40595 \begin_inset Info
40596 type  "icon"
40597 arg   "vc-compare"
40598 \end_inset
40599
40600  or the menu item 
40601 \begin_inset Info
40602 type  "menu"
40603 arg   "vc-compare"
40604 \end_inset
40605
40606 ,
40607  respectively.
40608  One can either compare two chosen revisions of the document or he can simply compare the current version of edited text with older revisions (where '
40609 \begin_inset Flex Noun
40610 status collapsed
40611
40612 \begin_layout Plain Layout
40613 0
40614 \end_layout
40615
40616 \end_inset
40617
40618 ' revisions back means comparison of the edited file with last commited revision).
40619  
40620 \end_layout
40621
40622 \begin_layout Standard
40623 This feature is supported for SVN and RCS though due to the more complicated versioning scheme of RCS there is a constraint – when addressing the revisions in dialog,
40624  numbers always point to the last number in RCS revision number,
40625  i.e.
40626  '35' in '1.2.35'.
40627  We don't currently support GIT addressing of revisions,
40628  one can just compare edited document with its revision X steps backs,
40629  where X is addressed as 
40630 \begin_inset Flex Code
40631 status collapsed
40632
40633 \begin_layout Plain Layout
40634 HEAD~X
40635 \end_layout
40636
40637 \end_inset
40638
40639 .
40640 \end_layout
40641
40642 \begin_layout Section
40643
40644 \change_inserted 564990737 1672161575
40645 \begin_inset CommandInset label
40646 LatexCommand label
40647 name "sec:Literate-Programming"
40648
40649 \end_inset
40650
40651
40652 \change_unchanged
40653 Literate Programming
40654 \end_layout
40655
40656 \begin_layout Standard
40657 Updated by 
40658 \noun on
40659 Kayvan Sylvan 
40660 \noun default
40661 (kayvan@sylvan.com)
40662 \noun on
40663 ,
40664  
40665 \noun default
40666 original documentation written by 
40667 \noun on
40668 Edmar Wienskoski Jr.
40669
40670 \noun default
40671  (edmar-w-jr@technologist.com)
40672 \end_layout
40673
40674 \begin_layout Subsection
40675 Introduction
40676 \end_layout
40677
40678 \begin_layout Standard
40679 The main purpose of this documentation is to show you how to use \SpecialChar LyX
40680  for literate programming,
40681  where it is assumed that you are familiar with this programming technique,
40682  and know what 
40683 \begin_inset Quotes eld
40684 \end_inset
40685
40686 tangling
40687 \begin_inset Quotes erd
40688 \end_inset
40689
40690  and 
40691 \begin_inset Quotes eld
40692 \end_inset
40693
40694 weaving
40695 \begin_inset Quotes erd
40696 \end_inset
40697
40698  means.
40699  If that is not the case,
40700  please follow the web links provided in the following sections.
40701  There is a lot of good documentation out there covering old development history to the latest tools tips.
40702 \end_layout
40703
40704 \begin_layout Standard
40705 It is also assumed that you are familiar with \SpecialChar LyX
40706  itself to a point that you are comfortable changing your \SpecialChar LyX
40707  preferences,
40708  and X resources file.
40709  If that is not the case please refer to other \SpecialChar LyX
40710  documentation to cover your specific needs.
40711 \end_layout
40712
40713 \begin_layout Subsection
40714 Literate Programming
40715 \end_layout
40716
40717 \begin_layout Standard
40718 From the Literate Programming FAQ:
40719  
40720 \end_layout
40721
40722 \begin_layout Quotation
40723 Literate programming is the combination of documentation and source together in a fashion suited for reading by human beings.
40724  In fact,
40725  literate programs should be enjoyable reading,
40726  even inviting!
40727  (Sorry Bob,
40728  I couldn't resist!) In general,
40729  literate programs combine source and documentation in a single file.
40730  Literate programming tools then parse the file to produce either readable documentation or compilable source.
40731  The WEB style of literate programming was created by D.
40732 \begin_inset space \thinspace{}
40733 \end_inset
40734
40735 E.
40736  Knuth during the development of his \SpecialChar TeX
40737  typesetting software.
40738  
40739 \end_layout
40740
40741 \begin_layout Standard
40742 Another excerpt says:
40743 \end_layout
40744
40745 \begin_layout Quotation
40746
40747 \emph on
40748 How is literate programming different from verbose commenting?
40749 \end_layout
40750
40751 \begin_layout Quotation
40752 There are three distinguishing characteristics.
40753  In order of importance,
40754  they are:
40755  
40756 \end_layout
40757
40758 \begin_deeper
40759 \begin_layout Itemize
40760 flexible order of elaboration 
40761 \end_layout
40762
40763 \begin_layout Itemize
40764 automatic support for browsing 
40765 \end_layout
40766
40767 \begin_layout Itemize
40768 typeset documentation,
40769  especially diagrams and mathematics 
40770 \end_layout
40771
40772 \end_deeper
40773 \begin_layout Standard
40774 Now that I sparked your curiosity,
40775  take a look in the references.
40776 \end_layout
40777
40778 \begin_layout Subsubsection
40779 References
40780 \end_layout
40781
40782 \begin_layout Standard
40783 The complete Literate Programming FAQ can be found at:
40784 \end_layout
40785
40786 \begin_layout Quote
40787 Literate Programming FAQ 
40788 \begin_inset Flex URL
40789 status open
40790
40791 \begin_layout Plain Layout
40792
40793 http://www.literateprogramming.com/lpfaq.pdf
40794 \end_layout
40795
40796 \end_inset
40797
40798
40799 \end_layout
40800
40801 \begin_layout Standard
40802 The FAQ lists 23 (twenty three!) different literate programming tools.
40803  Where some are specialized or 
40804 \begin_inset Quotes eld
40805 \end_inset
40806
40807 tailored
40808 \begin_inset Quotes erd
40809 \end_inset
40810
40811  for particular programming languages,
40812  while other have general scope.
40813  I selected 
40814 \noun on
40815 Noweb
40816 \noun default
40817  for my own use for several reasons:
40818 \end_layout
40819
40820 \begin_layout Itemize
40821 It can generate the documentation either in \SpecialChar LaTeX
40822  or HTML.
40823 \end_layout
40824
40825 \begin_layout Itemize
40826 It has a open architecture,
40827  i.
40828 \begin_inset space \thinspace{}
40829 \end_inset
40830
40831 e.
40832 \begin_inset space \space{}
40833 \end_inset
40834
40835 it is easy to plug in new filters
40836 \begin_inset Foot
40837 status collapsed
40838
40839 \begin_layout Plain Layout
40840
40841 \emph on
40842 Filters 
40843 \emph default
40844 are programs that read a given data stream and output a manipulated data stream.
40845  That way,
40846  a WEB file (consisting of literate code) can be turned into a file consisting only of C program code or \SpecialChar LaTeX
40847  code.
40848 \end_layout
40849
40850 \end_inset
40851
40852  and to perform special processing that you may need.
40853  
40854 \end_layout
40855
40856 \begin_layout Itemize
40857 There is a good selection of filters available already (the HTML is one of them).
40858 \end_layout
40859
40860 \begin_layout Itemize
40861 It is free.
40862 \end_layout
40863
40864 \begin_layout Standard
40865 The Noweb web page can be found at:
40866  
40867 \end_layout
40868
40869 \begin_layout Quote
40870 Noweb home page 
40871 \begin_inset Flex URL
40872 status collapsed
40873
40874 \begin_layout Plain Layout
40875
40876 https://www.cs.tufts.edu/~nr/noweb/
40877 \end_layout
40878
40879 \end_inset
40880
40881
40882 \end_layout
40883
40884 \begin_layout Standard
40885 Starting from there you can reach many other interesting links and even some literate program examples.
40886 \end_layout
40887
40888 \begin_layout Subsection
40889 \SpecialChar LyX
40890  and Literate Programming with Noweb
40891 \end_layout
40892
40893 \begin_layout Standard
40894 The \SpecialChar LyX
40895  support for Literate Programming is provided by using the generic \SpecialChar LyX
40896  converters mechanism.
40897  This support is provided in a 
40898 \begin_inset Quotes eld
40899 \end_inset
40900
40901 Noweb independent
40902 \begin_inset Quotes erd
40903 \end_inset
40904
40905  way,
40906  i.
40907 \begin_inset space \thinspace{}
40908 \end_inset
40909
40910 e.
40911 \begin_inset space \space{}
40912 \end_inset
40913
40914 you will be able to use this new \SpecialChar LyX
40915  feature with some other literate programming tool of your choice by just changing your \SpecialChar LyX
40916  preferences.
40917 \end_layout
40918
40919 \begin_layout Subsubsection
40920 Generating documents and code (weaving and tangling)
40921 \end_layout
40922
40923 \begin_layout Paragraph
40924 Using the noweb module
40925 \end_layout
40926
40927 \begin_layout Standard
40928 If you have installed Noweb and \SpecialChar LyX
40929  successfully,
40930  whenever you open a new document,
40931  after you have chosen its document class,
40932  use the 
40933 \family sans
40934 Document\SpecialChar menuseparator
40935 Settings
40936 \family default
40937  menu to add the 
40938 \begin_inset Quotes eld
40939 \end_inset
40940
40941 noweb
40942 \begin_inset Quotes erd
40943 \end_inset
40944
40945  module.
40946  If Noweb is correctly installed,
40947  when you click on the 
40948 \begin_inset Quotes eld
40949 \end_inset
40950
40951 Modules
40952 \begin_inset Quotes erd
40953 \end_inset
40954
40955  link,
40956  you will see the 
40957 \begin_inset Quotes eld
40958 \end_inset
40959
40960 noweb
40961 \begin_inset Quotes erd
40962 \end_inset
40963
40964  module in the available list and you can add it to your document.
40965 \end_layout
40966
40967 \begin_layout Paragraph
40968 Typing code in
40969 \end_layout
40970
40971 \begin_layout Standard
40972 \SpecialChar LyX
40973  enables you to write code with a custom inset named 
40974 \begin_inset Flex Noun
40975 status collapsed
40976
40977 \begin_layout Plain Layout
40978 Chunk
40979 \end_layout
40980
40981 \end_inset
40982
40983 .
40984  Noweb delimits chunks like this:
40985 \end_layout
40986
40987 \begin_layout LyX-Code
40988 <<My code>>=
40989 \end_layout
40990
40991 \begin_layout LyX-Code
40992   code
40993 \end_layout
40994
40995 \begin_layout LyX-Code
40996   more code
40997 \end_layout
40998
40999 \begin_layout LyX-Code
41000   even more code
41001 \end_layout
41002
41003 \begin_layout LyX-Code
41004   @
41005 \end_layout
41006
41007 \begin_layout Standard
41008 The problem is that whatever is written in between the << and the 
41009 \family typewriter
41010 @
41011 \family default
41012  must be taken literally,
41013  i.
41014 \begin_inset space \thinspace{}
41015 \end_inset
41016
41017 e.
41018 \begin_inset space \space{}
41019 \end_inset
41020
41021 \SpecialChar LyX
41022  should be prevented from making any special interpretation of what has been written.
41023  This is also handled by 
41024 \begin_inset Flex Noun
41025 status collapsed
41026
41027 \begin_layout Plain Layout
41028 Chunk
41029 \end_layout
41030
41031 \end_inset
41032
41033 ,
41034  that works like a normal text inset but has a free spacing capability.
41035 \end_layout
41036
41037 \begin_layout Standard
41038 As a special note,
41039  you can also use the 
41040 \begin_inset Quotes eld
41041 \end_inset
41042
41043 %def
41044 \begin_inset Quotes erd
41045 \end_inset
41046
41047  construct of Noweb in your chunks to add items to Noweb's identifier cross-reference:
41048 \end_layout
41049
41050 \begin_layout LyX-Code
41051 <<My chunk>>=
41052 \end_layout
41053
41054 \begin_layout LyX-Code
41055 def some_function(args):
41056 \end_layout
41057
41058 \begin_layout LyX-Code
41059    "This is the doc string for this function."
41060 \end_layout
41061
41062 \begin_layout LyX-Code
41063    print "My args:
41064  ",
41065  args
41066 \end_layout
41067
41068 \begin_layout LyX-Code
41069 @ %def some_function
41070 \end_layout
41071
41072 \begin_layout Standard
41073 For an example of this usage and the resulting cross-reference output,
41074  look at the Literate python program in 
41075 \emph on
41076 LIBDIR/examples/listerrors.lyx
41077 \emph default
41078  which should make this all clear.
41079 \end_layout
41080
41081 \begin_layout Paragraph
41082 Generating the documentation
41083 \end_layout
41084
41085 \begin_layout Standard
41086 At this point you already have a new document file with a proper document class,
41087  and with some code and text on it.
41088  How do I print it?
41089  The answer is simple,
41090  you select 
41091 \family sans
41092 View\SpecialChar menuseparator
41093 DVI,
41094
41095 \family default
41096  etc.
41097  Just like you would do for a plain document.
41098  No special procedure is required.
41099 \end_layout
41100
41101 \begin_layout Standard
41102 To help orientate you,
41103  I will now explain what happens inside \SpecialChar LyX
41104 :
41105 \end_layout
41106
41107 \begin_layout Enumerate
41108 When the 
41109 \family sans
41110 Update\SpecialChar menuseparator
41111 DVI
41112 \family default
41113  menu option is chosen,
41114  a \SpecialChar LaTeX
41115  file is generated.
41116  
41117 \end_layout
41118
41119 \begin_deeper
41120 \begin_layout Standard
41121 If the document is of any literate class the generated file will be named with an extension name defined by the 
41122 \begin_inset Quotes eld
41123 \end_inset
41124
41125 literate
41126 \begin_inset Quotes erd
41127 \end_inset
41128
41129  format (defined in the Preferences panel),
41130  otherwise the file will have the usual 
41131 \family typewriter
41132 .tex
41133 \family default
41134  extension.
41135 \end_layout
41136
41137 \end_deeper
41138 \begin_layout Enumerate
41139 Note that the only difference so far is in the name of the file,
41140  no special processing is required by \SpecialChar LyX
41141 .
41142  Given that you formatted the code using the 
41143 \begin_inset Flex Noun
41144 status collapsed
41145
41146 \begin_layout Plain Layout
41147 Chunk
41148 \end_layout
41149
41150 \end_inset
41151
41152  inset that,
41153  by itself,
41154  takes care of the business.
41155 \end_layout
41156
41157 \begin_layout Enumerate
41158 If the document is of any literate class \SpecialChar LyX
41159  will then use the internal \SpecialChar LyX
41160  to Noweb converter,
41161  followed by the Noweb to \SpecialChar LaTeX
41162  converter
41163 \begin_inset Foot
41164 status collapsed
41165
41166 \begin_layout Plain Layout
41167 The converters are defined in the 
41168 \family sans
41169 Tools\SpecialChar menuseparator
41170 Preferences
41171 \family default
41172  panel,
41173  under the 
41174 \begin_inset Quotes eld
41175 \end_inset
41176
41177 Conversion
41178 \begin_inset Quotes erd
41179 \end_inset
41180
41181  tab.
41182  See section 
41183 \emph on
41184 Converters
41185 \emph default
41186  of the 
41187 \emph on
41188 Customization
41189 \emph default
41190  manual for general information about converters.
41191 \end_layout
41192
41193 \end_inset
41194
41195  to generate the \SpecialChar LaTeX
41196  file.
41197 \end_layout
41198
41199 \begin_deeper
41200 \begin_layout Standard
41201 Otherwise it will just skip this step.
41202 \end_layout
41203
41204 \end_deeper
41205 \begin_layout Enumerate
41206 Finally,
41207  \SpecialChar LaTeX
41208  is invoked and the regular post processing continues as in a plain document.
41209 \end_layout
41210
41211 \begin_layout Standard
41212 Independence from a particular 
41213 \begin_inset Quotes eld
41214 \end_inset
41215
41216 literate tool
41217 \begin_inset Quotes erd
41218 \end_inset
41219
41220  is easily achieved by changing the commands that are run by the various converters.
41221 \end_layout
41222
41223 \begin_layout Paragraph
41224 Generating the code
41225 \end_layout
41226
41227 \begin_layout Standard
41228 When the build menu option is chosen or the corresponding button in the toolbar is pressed,
41229  a \SpecialChar LaTeX
41230  file is generated just like step 1 above.
41231  Next,
41232  \SpecialChar LyX
41233  invokes the 
41234 \family typewriter
41235 Noweb->Program
41236 \family default
41237  converter.
41238  This converter needs to be defined by the user and is not installed by default,
41239  though the Program format is.
41240  This converter (like any other converter) will have two parts:
41241 \end_layout
41242
41243 \begin_layout Enumerate
41244 The converter program itself.
41245  This program performs the conversion from the one format to the other (in this case,
41246  from the Noweb format to the Program pseudo-format).
41247 \end_layout
41248
41249 \begin_layout Enumerate
41250 The error log parser.
41251  This is a program whose sole purpose is to rewrite error messages in a format that \SpecialChar LyX
41252  understands.
41253  This makes it possible for \SpecialChar LyX
41254  to place error boxes in the right places in the file buffer.
41255 \end_layout
41256
41257 \begin_layout Standard
41258 The first part,
41259  the 
41260 \begin_inset Quotes eld
41261 \end_inset
41262
41263 Converter
41264 \begin_inset Quotes erd
41265 \end_inset
41266
41267  setting,
41268  should be set to
41269 \end_layout
41270
41271 \begin_layout LyX-Code
41272
41273 \family typewriter
41274 build-script $$i
41275 \family default
41276  $$r
41277 \end_layout
41278
41279 \begin_layout Standard
41280 This basically means that \SpecialChar LyX
41281  will call 
41282 \begin_inset Quotes eld
41283 \end_inset
41284
41285 build-script
41286 \begin_inset Quotes erd
41287 \end_inset
41288
41289  (a program or script) with the name of the Noweb file (normally a file in the \SpecialChar LyX
41290  temp directory) and the directory path of the original \SpecialChar LyX
41291  file.
41292  
41293 \end_layout
41294
41295 \begin_layout Standard
41296 This is an implementation of 
41297 \begin_inset Quotes eld
41298 \end_inset
41299
41300 build-script
41301 \begin_inset Quotes erd
41302 \end_inset
41303
41304  that you can place in a directory on your path:
41305 \end_layout
41306
41307 \begin_layout LyX-Code
41308
41309 \family sans
41310 #!/bin/sh
41311 \end_layout
41312
41313 \begin_layout LyX-Code
41314
41315 \family sans
41316 #
41317 \end_layout
41318
41319 \begin_layout LyX-Code
41320
41321 \family sans
41322 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
41323 \end_layout
41324
41325 \begin_layout Standard
41326 The next part of the converter setting is the 
41327 \begin_inset Quotes eld
41328 \end_inset
41329
41330 Flags
41331 \begin_inset Quotes erd
41332 \end_inset
41333
41334  which is to be set to
41335 \end_layout
41336
41337 \begin_layout LyX-Code
41338
41339 \family typewriter
41340 parselog=$$s/scripts/listerrors
41341 \end_layout
41342
41343 \begin_layout Standard
41344 This will run any errors that are generated by the 
41345 \begin_inset Quotes eld
41346 \end_inset
41347
41348 build-script
41349 \begin_inset Quotes erd
41350 \end_inset
41351
41352  process through the 
41353 \begin_inset Quotes eld
41354 \end_inset
41355
41356 listerrors
41357 \begin_inset Quotes erd
41358 \end_inset
41359
41360  program.
41361 \end_layout
41362
41363 \begin_layout Standard
41364 The build will normally take place in \SpecialChar LyX
41365 's temporary directory,
41366  so the files produced by the conversion will be in that directory.
41367  \SpecialChar LyX
41368  will copy out what it regards as the `main' file,
41369  but the 
41370 \family typewriter
41371 Noweb->Program
41372 \family default
41373  conversion may produce several files,
41374  and so most of these would then be deleted when \SpecialChar LyX
41375  was closed.
41376  This is why we pass in the NOWEB_OUTPUT_DIR environment variable so that the build-script chunk can place the generated files in that location.
41377 \end_layout
41378
41379 \begin_layout Paragraph
41380 Build instructions in the document
41381 \end_layout
41382
41383 \begin_layout Standard
41384 The last piece of the integration between \SpecialChar LyX
41385  and noweb is the 
41386 \begin_inset Quotes eld
41387 \end_inset
41388
41389 build-script
41390 \begin_inset Quotes erd
41391 \end_inset
41392
41393  chunk.
41394  Generally,
41395  the instructions for building your program should be embedded in a chunk of its own.
41396  The noweb-specific 
41397 \begin_inset Quotes eld
41398 \end_inset
41399
41400 build-script
41401 \begin_inset Quotes erd
41402 \end_inset
41403
41404  above uses the notangle command to look for this chunk (called 
41405 \begin_inset Quotes eld
41406 \end_inset
41407
41408 build-script
41409 \begin_inset Quotes erd
41410 \end_inset
41411
41412 ) and runs its contents through 
41413 \begin_inset Quotes eld
41414 \end_inset
41415
41416 sh
41417 \begin_inset Quotes erd
41418 \end_inset
41419
41420 .
41421 \end_layout
41422
41423 \begin_layout Standard
41424 Typically,
41425  such a chunk would look something like this:
41426 \end_layout
41427
41428 \begin_layout LyX-Code
41429 <<build-script>>=
41430 \end_layout
41431
41432 \begin_layout LyX-Code
41433 #!/bin/sh
41434 \begin_inset Newline newline
41435 \end_inset
41436
41437 if [ -z "${NOWEB_SOURCE}" ]
41438 \begin_inset Newline newline
41439 \end_inset
41440
41441 then
41442 \end_layout
41443
41444 \begin_layout LyX-Code
41445 NOWEB_SOURCE=myfile.nw
41446 \begin_inset Newline newline
41447 \end_inset
41448
41449 fi
41450 \begin_inset Newline newline
41451 \end_inset
41452
41453 [...
41454  code to extract files ...
41455  use NOWEB_OUTPUT_DIR here ...]
41456 \begin_inset Newline newline
41457 \end_inset
41458
41459 [...
41460  code to compile files ...]
41461 \begin_inset Newline newline
41462 \end_inset
41463
41464 @
41465 \end_layout
41466
41467 \begin_layout Standard
41468 Look in 
41469 \change_deleted 564990737 1672161716
41470
41471 \emph on
41472 LIBDIR/examples/listerrors.lyx
41473 \emph default
41474  or in 
41475 \emph on
41476 LIBDIR/examples/Literate.lyx
41477 \change_inserted 564990737 1672161716
41478
41479 \family sans
41480 \emph default
41481 File\SpecialChar menuseparator
41482 Open Example\SpecialChar menuseparator
41483 Modules\SpecialChar menuseparator
41484 Noweb Listerrors
41485 \change_unchanged
41486
41487 \family default
41488  
41489 \change_inserted -712698321 1674917096
41490 or in 
41491 \family sans
41492 File\SpecialChar menuseparator
41493 Open Example\SpecialChar menuseparator
41494 Modules\SpecialChar menuseparator
41495 Noweb2LyX
41496 \family default
41497  
41498 \change_unchanged
41499 which implement 
41500 \change_deleted 564990737 1672161729
41501 two 
41502 \change_unchanged
41503 versions of the 
41504 \begin_inset Quotes eld
41505 \end_inset
41506
41507 listerrors
41508 \begin_inset Quotes erd
41509 \end_inset
41510
41511  program for some illustrations of how all of these pieces go together 
41512 \change_deleted -712698321 1674917093
41513 or in 
41514 \change_deleted 564990737 1672161756
41515
41516 \emph on
41517 LIBDIR/examples/noweb2lyx.lyx
41518 \change_deleted -712698321 1674917093
41519
41520 \family sans
41521 \emph default
41522 File\SpecialChar menuseparator
41523 Open Example\SpecialChar menuseparator
41524 Modules\SpecialChar menuseparator
41525 Noweb2\SpecialChar LyX
41526
41527 \change_unchanged
41528
41529 \family default
41530 \emph on
41531 .
41532
41533 \emph default
41534  Interestingly,
41535  these 
41536 \change_deleted 564990737 1672161767
41537 three 
41538 \change_unchanged
41539 files show off the language-indepence of the \SpecialChar LyX
41540  literate programming support since they are written in Python
41541 \change_deleted 564990737 1672161782
41542 ,
41543  C
41544 \change_unchanged
41545  and Perl respectively.
41546 \end_layout
41547
41548 \begin_layout Subsubsection
41549 Configuring \SpecialChar LyX
41550
41551 \end_layout
41552
41553 \begin_layout Standard
41554 All the Literate Programming support is configured by the 
41555 \family sans
41556 Tools\SpecialChar menuseparator
41557 Preferences
41558 \family default
41559  panel in the 
41560 \begin_inset Quotes eld
41561 \end_inset
41562
41563 File Handling
41564 \begin_inset Quotes erd
41565 \end_inset
41566
41567  tab.
41568  The important parts are:
41569 \end_layout
41570
41571 \begin_layout Description
41572 the
41573 \begin_inset space ~
41574 \end_inset
41575
41576
41577 \begin_inset Quotes eld
41578 \end_inset
41579
41580 NoWeb
41581 \begin_inset Quotes erd
41582 \end_inset
41583
41584
41585 \begin_inset space ~
41586 \end_inset
41587
41588 format Set up via the File Formats tab,
41589  this is where the Noweb-specific pieces are set up.
41590  The 
41591 \family sans
41592 GUI Name
41593 \family default
41594  is set to 
41595 \family typewriter
41596 NoWeb
41597 \family default
41598 ,
41599  the file extension is set to 
41600 \family typewriter
41601 .nw
41602 \family default
41603 .
41604  This tells \SpecialChar LyX
41605  to create a file with a 
41606 \family typewriter
41607 .nw
41608 \family default
41609  extension in the first step of the conversion process.
41610 \end_layout
41611
41612 \begin_layout Description
41613 the
41614 \begin_inset space ~
41615 \end_inset
41616
41617
41618 \family sans
41619 Program
41620 \family default
41621
41622 \begin_inset space ~
41623 \end_inset
41624
41625 format This is an empty format whose sole purpose is to be the endpoint of a conversion (which then allows us to set up a converter for it).
41626 \end_layout
41627
41628 \begin_layout Description
41629
41630 \family sans
41631 NoWeb
41632 \family default
41633 ->
41634 \family sans
41635 \SpecialChar LaTeX
41636
41637 \family default
41638  This converter performs the 
41639 \begin_inset Quotes eld
41640 \end_inset
41641
41642 weaving
41643 \begin_inset Quotes erd
41644 \end_inset
41645
41646  of the literate document.
41647  For Noweb,
41648  it is set to 
41649 \begin_inset Quotes eld
41650 \end_inset
41651
41652
41653 \family typewriter
41654 noweave -delay -index $$i > $$o
41655 \family default
41656
41657 \begin_inset Quotes erd
41658 \end_inset
41659
41660
41661 \end_layout
41662
41663 \begin_layout Description
41664
41665 \family sans
41666 NoWeb
41667 \family default
41668 ->
41669 \family sans
41670 Program
41671 \family default
41672  This performs the 
41673 \begin_inset Quotes eld
41674 \end_inset
41675
41676 tangling step
41677 \begin_inset Quotes erd
41678 \end_inset
41679
41680 .
41681  As stated above,
41682  the Converter is set to 
41683 \begin_inset Quotes eld
41684 \end_inset
41685
41686
41687 \family typewriter
41688 build-script $$i
41689 \family default
41690  $$r
41691 \begin_inset Quotes erd
41692 \end_inset
41693
41694 ,
41695  with Flags set to
41696 \begin_inset Newline newline
41697 \end_inset
41698
41699
41700 \begin_inset Quotes eld
41701 \end_inset
41702
41703
41704 \family typewriter
41705 parselog=$$s/scripts/listerrors
41706 \family default
41707
41708 \begin_inset Quotes erd
41709 \end_inset
41710
41711 .
41712 \end_layout
41713
41714 \begin_layout Subsubsection
41715 Debug extensions
41716 \end_layout
41717
41718 \begin_layout Standard
41719 There is also a new function implemented in the \SpecialChar LyX
41720  server,
41721  the 
41722 \begin_inset Quotes eld
41723 \end_inset
41724
41725 server-goto-file-row" function,
41726  to be used with ddd/gdb or other debugger.
41727  
41728 \end_layout
41729
41730 \begin_layout Standard
41731 When debugging code with ddd/gdb,
41732  it is possible to invoke a text editor at the current execution position with a single key stroke.
41733  The default ddd configuration for that is shift-ctrl-V.
41734  It happens that you can define the editor command line invocation in ddd by accessing the 
41735 \family sans
41736 Edit\SpecialChar menuseparator
41737 Preferences\SpecialChar menuseparator
41738 Helpers
41739 \family default
41740  dialog and changing the "Edit Sources" entry.
41741 \end_layout
41742
41743 \begin_layout Standard
41744 I take advantage of the newly created \SpecialChar LyX
41745  server function and this ddd feature,
41746  and set 
41747 \begin_inset Quotes eld
41748 \end_inset
41749
41750 Edit Sources
41751 \begin_inset Quotes erd
41752 \end_inset
41753
41754  to:
41755 \end_layout
41756
41757 \begin_layout LyX-Code
41758 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
41759 \end_layout
41760
41761 \begin_layout Standard
41762 With this,
41763  whenever you are using ddd and find a point in the program that you want to edit,
41764  you just press shift-ctrl-V (in the ddd window),
41765  and ddd will forward this information to \SpecialChar LyX
41766  through the \SpecialChar LyX
41767  server and then the \SpecialChar LyX
41768  window will show the same file with the cursor at the same position ddd was pointing to.
41769  No more guessing or long scrolling to locate a point in the program back from debugging !
41770 \end_layout
41771
41772 \begin_layout Standard
41773 Note however that you must enable the \SpecialChar LyX
41774  server to get this feature working (it is disabled by default).
41775  Sec.
41776 \begin_inset space ~
41777 \end_inset
41778
41779
41780 \begin_inset CommandInset ref
41781 LatexCommand ref
41782 reference "sec:Starting-the-Server"
41783 nolink "false"
41784
41785 \end_inset
41786
41787  explains how to do that.
41788 \end_layout
41789
41790 \begin_layout Subsubsection
41791 Toolbar extensions
41792 \end_layout
41793
41794 \begin_layout Standard
41795 There are six new buttons that can be added to your \SpecialChar LyX
41796  toolbar.
41797  Four of these buttons are short cuts to layout styles:
41798  
41799 \family sans
41800 Standard
41801 \family default
41802 ,
41803  
41804 \family sans
41805 Section
41806 \family default
41807 ,
41808  
41809 \family sans
41810 \SpecialChar LaTeX
41811
41812 \family default
41813 ,
41814  and 
41815 \family sans
41816 \SpecialChar LyX
41817 -Code
41818 \family default
41819 ,
41820  one for the custom inset 
41821 \family sans
41822 Chunk
41823 \family default
41824 .
41825  The last one is a short cut to the 
41826 \begin_inset Quotes eld
41827 \end_inset
41828
41829 Build Program
41830 \begin_inset Quotes erd
41831 \end_inset
41832
41833  File menu entry.
41834  
41835 \end_layout
41836
41837 \begin_layout Standard
41838 \SpecialChar LyX
41839  has a range of buttons that are available for tool bar customization.
41840  In my toolbar I like to combine the six short cuts above with two more:
41841  One for 
41842 \family sans
41843 Document
41844 \family default
41845 \SpecialChar menuseparator
41846
41847 \family sans
41848 Update
41849 \family default
41850 \SpecialChar menuseparator
41851
41852 \family sans
41853 DVI
41854 \family default
41855  and the other for 
41856 \family sans
41857 Document\SpecialChar menuseparator
41858 View\SpecialChar menuseparator
41859 DVI
41860 \family default
41861  File menu entries.
41862  Here is how it looks like:
41863 \end_layout
41864
41865 \begin_layout LyX-Code
41866 Toolbar
41867 \end_layout
41868
41869 \begin_layout LyX-Code
41870   Layouts
41871 \end_layout
41872
41873 \begin_layout LyX-Code
41874   Icon "layout Standard"
41875 \end_layout
41876
41877 \begin_layout LyX-Code
41878   Icon "layout Section"
41879 \end_layout
41880
41881 \begin_layout LyX-Code
41882   Icon "layout \SpecialChar LaTeX
41883 "
41884 \end_layout
41885
41886 \begin_layout LyX-Code
41887   Icon "layout \SpecialChar LyX
41888 -Code"
41889 \end_layout
41890
41891 \begin_layout LyX-Code
41892   Icon "flex.insert Chunk"
41893 \end_layout
41894
41895 \begin_layout LyX-Code
41896   Separator
41897 \end_layout
41898
41899 \begin_layout LyX-Code
41900   Icon "buffer-view"
41901 \end_layout
41902
41903 \begin_layout LyX-Code
41904   Icon "buffer-typeset"
41905 \end_layout
41906
41907 \begin_layout LyX-Code
41908   Icon "build-program"
41909 \end_layout
41910
41911 \begin_layout LyX-Code
41912   Separator
41913 \end_layout
41914
41915 \begin_layout LyX-Code
41916 .
41917 \end_layout
41918
41919 \begin_layout LyX-Code
41920 .
41921 \end_layout
41922
41923 \begin_layout LyX-Code
41924 .
41925 \end_layout
41926
41927 \begin_layout LyX-Code
41928 End
41929 \end_layout
41930
41931 \begin_layout Subsubsection
41932 Colors customization
41933 \end_layout
41934
41935 \begin_layout Standard
41936 There are a number of colors in \SpecialChar LyX
41937  that can be customized in 
41938 \family sans
41939 Preferences
41940 \family default
41941 .
41942  One of the things that bothers people is the \SpecialChar LaTeX
41943  font color.
41944  The default color is red,
41945  since the chunks uses \SpecialChar LaTeX
41946  font,
41947  and there is a lot of chunks in literate documents,
41948  you may get tired of seeing everything in red.
41949  You can change it by going to the tabs 
41950 \family sans
41951 Look&Feel
41952 \family default
41953 ,
41954  
41955 \family sans
41956 Colors.
41957 \end_layout
41958
41959 \begin_layout Standard
41960 The next thing is the visible presence of the newline character in the screen.
41961  You can choose the color of this particular character and make it blend in the background.
41962  I recommend you choosing a color that is close to the background but not equal,
41963  that way you still can see it is there,
41964  but it is not bothering you anymore.
41965 \end_layout
41966
41967 \begin_layout Subsection
41968 \SpecialChar LyX
41969  and knitr/Sweave
41970 \end_layout
41971
41972 \begin_layout Standard
41973 Support for 
41974 \family sans
41975 knitr
41976 \family default
41977  and 
41978 \family sans
41979 Sweave
41980 \family default
41981  is documented in
41982 \change_inserted 564990737 1672161863
41983  
41984 \family sans
41985 Help\SpecialChar menuseparator
41986 Specific Manuals\SpecialChar menuseparator
41987 Knitr
41988 \family default
41989  and
41990 \change_unchanged
41991  
41992 \change_deleted 564990737 1671643409
41993 the 
41994 \emph on
41995 knitr.lyx
41996 \emph default
41997  example file
41998 \change_inserted 564990737 1672161856
41999
42000 \family sans
42001 File\SpecialChar menuseparator
42002 Open Example\SpecialChar menuseparator
42003 Modules\SpecialChar menuseparator
42004 Rnw (knitr)
42005 \change_unchanged
42006
42007 \family default
42008  and in 
42009 \change_deleted 564990737 1671643461
42010 the Sweave manual (menu 
42011 \family sans
42012 Help\SpecialChar menuseparator
42013 Specific Manuals
42014 \family default
42015 )
42016 \change_inserted 564990737 1672161856
42017
42018 \family sans
42019 Help\SpecialChar menuseparator
42020 Specific Manuals\SpecialChar menuseparator
42021 Sweave
42022 \change_deleted 564990737 1672161921
42023
42024 \family default
42025 .
42026
42027 \change_inserted 564990737 1672161917
42028  and 
42029 \family sans
42030 File\SpecialChar menuseparator
42031 Open Example\SpecialChar menuseparator
42032 Modules\SpecialChar menuseparator
42033 Sweave
42034 \family default
42035 .
42036 \change_deleted 564990737 1672742969
42037
42038 \end_layout
42039
42040 \begin_layout Standard
42041
42042 \change_deleted 564990737 1671355343
42043 Special features
42044 \end_layout
42045
42046 \begin_layout Standard
42047
42048 \change_deleted 564990737 1671355343
42049 You can do everything with \SpecialChar LyX
42050  that you can do with \SpecialChar LaTeX
42051 .
42052  However,
42053  \SpecialChar LyX
42054  cannot support every \SpecialChar LaTeX
42055  feature directly.
42056  But you can always use \SpecialChar TeX
42057  Code.
42058  This chapter shows you some more special things you might want to use.
42059  For other special things you can do with figures,
42060  tables,
42061  floats,
42062  boxes and notes,
42063  have a look at the 
42064 \emph on
42065 Embedded
42066 \begin_inset space ~
42067 \end_inset
42068
42069 Objects
42070 \emph default
42071  manual.
42072 \change_inserted -712698321 1674917293
42073
42074 \end_layout
42075
42076 \begin_layout Standard
42077
42078 \change_inserted -712698321 1674917303
42079 \begin_inset CommandInset index_print
42080 LatexCommand printindex
42081 type "idx"
42082 name "Index"
42083
42084 \end_inset
42085
42086
42087 \change_unchanged
42088
42089 \end_layout
42090
42091 \end_body
42092 \end_document