]> git.lyx.org Git - lyx.git/blob - lib/doc/Additional.lyx
Add layouts for luatexja LaTeX classes, by Koji Yokota (#11103)
[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 1676025662
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 \family default
4125 ,
4126  which all work with 
4127 \begin_inset Quotes eld
4128 \end_inset
4129
4130 classic
4131 \begin_inset Quotes erd
4132 \end_inset
4133
4134  engines tailored for Japanese,
4135  p\SpecialChar LaTeX
4136  and up\SpecialChar LaTeX
4137 .
4138 \end_layout
4139
4140 \begin_layout Standard
4141
4142 \change_inserted -712698321 1676026113
4143 For the use with the more modern Lua\SpecialChar LaTeX
4144  typesetting engine,
4145  the collection also includes dedicated classes 
4146 \family sans
4147 Japanese Article (Standard Class for LuaTeX),
4148  Japanese Book
4149 \begin_inset space \thinspace{}
4150 \end_inset
4151
4152 (Standard Class for LuaTeX)
4153 \family default
4154 ,
4155  and 
4156 \family sans
4157 Japanese Report
4158 \begin_inset space \thinspace{}
4159 \end_inset
4160
4161 (Japanese Standard Class for LuaTeX)
4162 \family default
4163 ,
4164  provided by the 
4165 \family sans
4166 luatexja
4167 \family default
4168  \SpecialChar LaTeX
4169  package.
4170  These classes support both horizontal and vertical writing.
4171 \change_unchanged
4172
4173 \end_layout
4174
4175 \begin_layout Subsection
4176
4177 \change_inserted -712698321 1675848929
4178 \begin_inset CommandInset label
4179 LatexCommand label
4180 name "subsec:Japanese-JS"
4181
4182 \end_inset
4183
4184 Japanese (JS Bundle)
4185 \change_unchanged
4186
4187 \end_layout
4188
4189 \begin_layout Standard
4190
4191 \change_inserted -712698321 1675849034
4192 This collection includes improved versions of the classes included in 
4193 \family sans
4194 Japanese (Standard Classes)
4195 \family default
4196  (see
4197 \begin_inset space ~
4198 \end_inset
4199
4200
4201 \begin_inset CommandInset ref
4202 LatexCommand ref
4203 reference "subsec:Japanese"
4204
4205 \end_inset
4206
4207 ).
4208  It includes 
4209 \change_deleted -712698321 1675849038
4210 The document classes 
4211 \change_inserted -712698321 1673089024
4212
4213 \family sans
4214 Japanese 
4215 \change_deleted -712698321 1673089025
4216 a
4217 \change_inserted -712698321 1673089025
4218 A
4219 \change_inserted 564990737 1671383236
4220 rticle
4221 \begin_inset space \thinspace{}
4222 \end_inset
4223
4224 (
4225 \change_deleted -712698321 1673089027
4226 Japanese 
4227 \change_inserted 564990737 1671383236
4228 JS 
4229 \change_deleted -712698321 1675848222
4230 Class
4231 \change_inserted -712698321 1675848223
4232 Bundle
4233 \change_inserted 564990737 1671383236
4234 )
4235 \change_deleted -712698321 1675849103
4236
4237 \family default
4238 ,
4239
4240 \change_inserted 564990737 1671383236
4241
4242 \family sans
4243  
4244 \change_deleted -712698321 1675849055
4245 article
4246 \begin_inset space \thinspace{}
4247 \end_inset
4248
4249 (Japanese Standard Class Vertical Writing)
4250 \family default
4251 ,
4252  
4253 \family sans
4254 article
4255 \begin_inset space \thinspace{}
4256 \end_inset
4257
4258 (Japanese Standard Class)
4259 \family default
4260 ,
4261  
4262 \change_inserted -712698321 1675849107
4263 and 
4264 \family sans
4265 Japanese 
4266 \change_deleted -712698321 1673089053
4267 b
4268 \change_inserted -712698321 1673089064
4269 B
4270 \change_inserted 564990737 1671383236
4271 ook
4272 \begin_inset space \thinspace{}
4273 \end_inset
4274
4275 (
4276 \change_deleted -712698321 1673089067
4277 Japanese 
4278 \change_inserted 564990737 1671383236
4279 JS 
4280 \change_deleted -712698321 1675849059
4281 Class
4282 \change_inserted -712698321 1675849059
4283 Bundle
4284 \change_inserted 564990737 1671383236
4285 )
4286 \change_deleted -712698321 1675849095
4287
4288 \family default
4289 ,
4290
4291 \family sans
4292  book
4293 \begin_inset space \thinspace{}
4294 \end_inset
4295
4296 (Japanese Standard Class Vertical Writing)
4297 \family default
4298 ,
4299  
4300 \family sans
4301 book
4302 \begin_inset space \thinspace{}
4303 \end_inset
4304
4305 (Japanese Standard Class)
4306 \family default
4307 ,
4308  
4309 \family sans
4310 report
4311 \begin_inset space \thinspace{}
4312 \end_inset
4313
4314 (Japanese Vertical Writing)
4315 \family default
4316  and 
4317 \family sans
4318 report
4319 \begin_inset space \thinspace{}
4320 \end_inset
4321
4322 (Japanese Standard Class)
4323 \family default
4324  provide document classes for the Japanese language
4325 \change_inserted 564990737 1671383236
4326 .
4327
4328 \change_inserted -712698321 1676026196
4329  A report class can be obtained by using 
4330 \family sans
4331 Japanese Book
4332 \begin_inset space \thinspace{}
4333 \end_inset
4334
4335 (JS Bundle)
4336 \family default
4337  with option 
4338 \family sans
4339 report
4340 \family default
4341  in 
4342 \family sans
4343 Document\SpecialChar menuseparator
4344 Settings\SpecialChar menuseparator
4345 Document Class\SpecialChar menuseparator
4346 Class Options\SpecialChar menuseparator
4347 Custom
4348 \family default
4349 .
4350  All these classes work with 
4351 \begin_inset Quotes eld
4352 \end_inset
4353
4354 classic
4355 \begin_inset Quotes erd
4356 \end_inset
4357
4358  engines tailored for Japanese,
4359  p\SpecialChar LaTeX
4360  and up\SpecialChar LaTeX
4361 .
4362 \end_layout
4363
4364 \begin_layout Standard
4365
4366 \change_inserted -712698321 1676026178
4367 For the use with the more modern Lua\SpecialChar LaTeX
4368  typesetting engine,
4369  the collection also includes dedicated classes 
4370 \family sans
4371 Japanese Article (JS Bundle for LuaTeX),
4372  Japanese Book
4373 \begin_inset space \thinspace{}
4374 \end_inset
4375
4376 (JS Bundle for LuaTeX)
4377 \family default
4378 ,
4379  and 
4380 \family sans
4381 Japanese Report
4382 \begin_inset space \thinspace{}
4383 \end_inset
4384
4385 (JS Bundle)
4386 \family default
4387 ,
4388  provided by the 
4389 \family sans
4390 luatexja
4391 \family default
4392  \SpecialChar LaTeX
4393  package.
4394  These classes support both horizontal and vertical writing.
4395 \change_unchanged
4396
4397 \end_layout
4398
4399 \begin_layout Subsection
4400
4401 \change_inserted -712698321 1675848572
4402 \begin_inset CommandInset label
4403 LatexCommand label
4404 name "subsec:Japanese-BX"
4405
4406 \end_inset
4407
4408 Japanese (BX Bundle)
4409 \end_layout
4410
4411 \begin_layout Standard
4412
4413 \change_inserted -712698321 1676026685
4414 This bundle contains the document classes 
4415 \family sans
4416 Japanese Article
4417 \begin_inset space \thinspace{}
4418 \end_inset
4419
4420 (BX Bundle)
4421 \family default
4422 ,
4423
4424 \family sans
4425  Japanese Book
4426 \begin_inset space \thinspace{}
4427 \end_inset
4428
4429 (BX Bundle)
4430 \family default
4431 ,
4432  and 
4433 \family sans
4434 Japanese Report
4435 \begin_inset space \thinspace{}
4436 \end_inset
4437
4438 (BX Bundle)
4439 \family default
4440  which provide alternative document classes for Japanese documents.
4441  Furthermore,
4442  a class 
4443 \family sans
4444 Japanese Slides (BX Bundle)
4445 \family default
4446  for presentation slides,
4447  is included.
4448  As opposed to the classes of the 
4449 \family sans
4450 Standard Classes
4451 \family default
4452  and 
4453 \family sans
4454 JS 
4455 \family default
4456 bundles (sec.
4457  
4458 \begin_inset CommandInset ref
4459 LatexCommand ref
4460 reference "subsec:Japanese"
4461
4462 \end_inset
4463
4464  and 
4465 \begin_inset CommandInset ref
4466 LatexCommand ref
4467 reference "subsec:Japanese-JS"
4468
4469 \end_inset
4470
4471 ),
4472  which support only p\SpecialChar LaTeX
4473  and up\SpecialChar LaTeX
4474  out of the box (and Lua\SpecialChar LaTeX
4475  only through the extra classes added by the 
4476 \family sans
4477 luatexja
4478 \family default
4479  \SpecialChar LaTeX
4480  package),
4481  the classes of this bundle also support pdf\SpecialChar LaTeX
4482 ,
4483  Xe\SpecialChar LaTeX
4484  and Lua\SpecialChar LaTeX
4485  directly,
4486  with the aid of suitable packages that provide capability of Japanese typesetting.
4487 \end_layout
4488
4489 \begin_layout Subsection
4490
4491 \change_inserted -712698321 1675850366
4492 \begin_inset CommandInset label
4493 LatexCommand label
4494 name "subsec:Japanese-JLReq"
4495
4496 \end_inset
4497
4498 Japanese (JLReq Class)
4499 \end_layout
4500
4501 \begin_layout Standard
4502
4503 \change_inserted -712698321 1675850768
4504 This bundle draws on the 
4505 \family sans
4506 jlreq
4507 \family default
4508  class which faithfully traces the standard of 
4509 \emph on
4510 Requirements for Japanese Text Layout
4511 \emph default
4512  set by the World Wide Web Consortium (W3C,
4513  see 
4514 \begin_inset Flex URL
4515 status collapsed
4516
4517 \begin_layout Plain Layout
4518
4519 \change_inserted -712698321 1675850769
4520
4521 https://www.w3.org/TR/jlreq/?lang=en
4522 \change_unchanged
4523
4524 \end_layout
4525
4526 \end_inset
4527
4528 ).
4529  It can be used with Lua\SpecialChar LaTeX
4530  as well as p\SpecialChar LaTeX
4531  and up\SpecialChar LaTeX
4532 .
4533 \end_layout
4534
4535 \begin_layout Standard
4536
4537 \change_inserted -712698321 1675850585
4538 LyX provides layouts for 
4539 \family sans
4540 Japanese Article
4541 \begin_inset space \thinspace{}
4542 \end_inset
4543
4544 (JLReq Class)
4545 \family default
4546 ,
4547
4548 \family sans
4549  Japanese Book
4550 \begin_inset space \thinspace{}
4551 \end_inset
4552
4553 (JLReq Class)
4554 \family default
4555 ,
4556  and 
4557 \family sans
4558 Japanese Report
4559 \begin_inset space \thinspace{}
4560 \end_inset
4561
4562 (JLReq Class)
4563 \family default
4564  which are all derived from the 
4565 \family sans
4566 jlreq
4567 \family default
4568  \SpecialChar LaTeX
4569  class via specific class options.
4570 \end_layout
4571
4572 \begin_layout Standard
4573
4574 \change_inserted -712698321 1675850701
4575 An example article document is available at 
4576 \family sans
4577 File\SpecialChar menuseparator
4578 Open Example\SpecialChar menuseparator
4579 Articles\SpecialChar menuseparator
4580 Japanese Article (JLReq Class)
4581 \family default
4582 .
4583  English documentation is available at 
4584 \begin_inset Flex URL
4585 status collapsed
4586
4587 \begin_layout Plain Layout
4588
4589 \change_inserted -712698321 1675850350
4590
4591 http://mirrors.ctan.org/macros/jptex/latex/jlreq/jlreq.pdf
4592 \change_unchanged
4593
4594 \end_layout
4595
4596 \end_inset
4597
4598 .
4599 \change_inserted 564990737 1671383236
4600
4601 \end_layout
4602
4603 \begin_layout Subsection
4604
4605 \change_inserted 564990737 1672429136
4606 \begin_inset CommandInset label
4607 LatexCommand label
4608 name "subsec:KOMA-Script"
4609
4610 \end_inset
4611
4612 KOMA-Script
4613 \end_layout
4614
4615 \begin_layout Standard
4616
4617 \change_inserted 564990737 1672429136
4618 Original by 
4619 \noun on
4620 Bernd Rellermeyer
4621 \noun default
4622 ;
4623  updated by 
4624 \noun on
4625 Jürgen Spitzmüller
4626 \noun default
4627  and the \SpecialChar LyX
4628  Team
4629 \change_deleted 564990737 1672429136
4630 Koma-Script
4631 \end_layout
4632
4633 \begin_layout Standard
4634
4635 \change_deleted 564990737 1672429136
4636 by 
4637 \noun on
4638 Bernd Rellermeyer
4639 \change_unchanged
4640
4641 \end_layout
4642
4643 \begin_layout Subsubsection
4644 Overview
4645 \change_inserted 564990737 1672429161
4646
4647 \end_layout
4648
4649 \begin_layout Standard
4650
4651 \change_inserted 564990737 1672429162
4652 The KOMA-Script collection of document classes is a development of the Script classes created by Frank Neukam in the early 1990s;
4653  it was formally launched with the addition of a letter class in 1994.
4654  Since then,
4655  a second letter class has been added.
4656  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.
4657  
4658 \change_unchanged
4659
4660 \end_layout
4661
4662 \begin_layout Standard
4663 The \SpecialChar LyX
4664  document classes 
4665 \change_deleted -712698321 1673089779
4666
4667 \emph on
4668 article (koma-script)
4669 \change_inserted -712698321 1673089784
4670 KOMA-Script Article
4671 \change_unchanged
4672
4673 \emph default
4674 ,
4675  
4676 \change_deleted -712698321 1673089790
4677
4678 \emph on
4679 report (koma-script)
4680 \change_inserted -712698321 1673089794
4681 KOMA-Script Report
4682 \change_unchanged
4683
4684 \emph default
4685 ,
4686  
4687 \change_deleted -712698321 1673089790
4688
4689 \emph on
4690 book
4691 \emph default
4692  
4693 \emph on
4694 (koma-script)
4695 \change_inserted -712698321 1673089771
4696 KOMA-Script Book
4697 \change_unchanged
4698
4699 \emph default
4700 ,
4701  and 
4702 \change_inserted -712698321 1673089799
4703
4704 \emph on
4705 KOMA-Script 
4706 \change_deleted -712698321 1673089802
4707 l
4708 \change_inserted -712698321 1673089802
4709 L
4710 \change_unchanged
4711 etter
4712 \change_deleted -712698321 1673089811
4713
4714 \emph default
4715  
4716 \emph on
4717 (koma-script)
4718 \change_unchanged
4719
4720 \emph default
4721  correspond to the \SpecialChar LaTeX
4722  document classes 
4723 \family typewriter
4724 scrartcl.cls
4725 \family default
4726 ,
4727  
4728 \family typewriter
4729 scrreprt.cls
4730 \family default
4731 ,
4732  
4733 \family typewriter
4734 scrbook.cls
4735 \family default
4736 ,
4737  and 
4738 \family typewriter
4739 scrlettr.cls
4740 \family default
4741 ,
4742  resp.
4743 \begin_inset space ~
4744 \end_inset
4745
4746 of the Koma-Script family.
4747  They are replacements for the standard document classes 
4748 \family typewriter
4749 article.cls
4750 \family default
4751 ,
4752  
4753 \family typewriter
4754 report.cls
4755 \family default
4756 ,
4757  
4758 \family typewriter
4759 book.cls
4760 \family default
4761  and 
4762 \family typewriter
4763 letter.cls
4764 \family default
4765 ,
4766  resp.,
4767  and fit better to European typography conventions in a number of points.
4768 \end_layout
4769
4770 \begin_layout Itemize
4771
4772 \change_deleted 564990737 1672429262
4773 Standard character size is
4774 \change_inserted 564990737 1672429263
4775 The base character sizes when you select a KOMA-Script class are
4776 \change_unchanged
4777  11pt in 
4778 \change_deleted -712698321 1673089877
4779
4780 \emph on
4781 article (koma-script)
4782 \change_inserted -712698321 1673089877
4783 KOMA-Script Article
4784 \change_unchanged
4785
4786 \emph default
4787 ,
4788  
4789 \change_deleted -712698321 1673089886
4790
4791 \emph on
4792 report (koma-script)
4793 \change_inserted -712698321 1673089886
4794 KOMA-Script Report
4795 \change_unchanged
4796
4797 \emph default
4798 ,
4799  and 
4800 \change_deleted -712698321 1673089893
4801
4802 \emph on
4803 book (koma-script)
4804 \change_inserted -712698321 1673089893
4805 KOMA-Script Book
4806 \change_deleted 564990737 1672429267
4807
4808 \emph default
4809 ,
4810
4811 \change_unchanged
4812  and 12pt in 
4813 \change_deleted -712698321 1673089903
4814
4815 \emph on
4816 letter (koma-script)
4817 \change_inserted -712698321 1673089903
4818 KOMA-Script Letter
4819 \change_unchanged
4820
4821 \emph default
4822 .
4823 \end_layout
4824
4825 \begin_layout Itemize
4826 Headings,
4827  labels of the description environment,
4828  and a number of elements of the 
4829 \change_deleted -712698321 1673089925
4830
4831 \emph on
4832 letter (koma-script)
4833 \change_inserted -712698321 1673089925
4834 KOMA-Script Letter
4835 \change_unchanged
4836
4837 \emph default
4838  document class are set in a bold sans serif font.
4839 \begin_inset Foot
4840 status collapsed
4841
4842 \begin_layout Plain Layout
4843 There is a big difference between the bold sans serif old cm fonts and new ec fonts,
4844  especially in the appearance of headings.
4845  In comparison,
4846  the ec bold sans serif fonts look a bit thin.
4847  Here the \SpecialChar LaTeX
4848  package 
4849 \family typewriter
4850 cmsd.sty by
4851 \family default
4852  
4853 \shape smallcaps
4854 Walter Schmidt
4855 \shape default
4856  helps to produce the 
4857 \begin_inset Quotes eld
4858 \end_inset
4859
4860 usual
4861 \begin_inset Quotes erd
4862 \end_inset
4863
4864  appearance when using the ec fonts.
4865 \end_layout
4866
4867 \end_inset
4868
4869  The numbering of chapter headings is made in the same way as the numbering of section headings,
4870  that is without the extra line 
4871 \begin_inset Quotes eld
4872 \end_inset
4873
4874 Chapter\SpecialChar ldots
4875
4876 \begin_inset Quotes erd
4877 \end_inset
4878
4879 .
4880  In addition,
4881  the appearance of the headings can be modified by using a number of options (in \SpecialChar LyX
4882  to be entered in the field 
4883 \family sans
4884 Extra
4885 \begin_inset space ~
4886 \end_inset
4887
4888 Options
4889 \family default
4890  of the dialog 
4891 \family sans
4892 Layout\SpecialChar menuseparator
4893 Document
4894 \family default
4895 ).
4896  
4897 \end_layout
4898
4899 \begin_layout Itemize
4900
4901 \change_deleted 564990737 1672429310
4902 The main means in the Koma-Script document classes to design the type area are the options 
4903 \family sans
4904 BCOR
4905 \family default
4906  and 
4907 \family sans
4908 DIV
4909 \family default
4910  (in \SpecialChar LyX
4911  to be entered in the extra class options field in the dialog 
4912 \family sans
4913 Document\SpecialChar menuseparator
4914 Settings
4915 \family default
4916 ).
4917  They make a clearer modification of page margins possible as do the options of the dialog 
4918 \family sans
4919 Document\SpecialChar menuseparator
4920 Settings
4921 \family default
4922 .
4923  
4924 \change_inserted 564990737 1672429310
4925 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.
4926  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.
4927  You can change the sizes of the margins by changing the factor by which the page is divided into strips;
4928  the default for an A4 page is 9 and increasing this factor will produce increasingly narrower strips and therefore narrower margins.
4929  
4930 \end_layout
4931
4932 \begin_deeper
4933 \begin_layout Standard
4934
4935 \change_inserted 564990737 1672429310
4936 Whatever the factor,
4937  two strips are allocated to the outer and bottom margins of a two-sided document and one strip to the inner and top margins,
4938  leaving a text area occupying around half the page.
4939  Since most two-sided documents have a binding,
4940  this can make the inner margins appear too narrow;
4941  so you can apply a binding correction to the page which is deducted before the size of the strips is calculated.
4942  
4943 \end_layout
4944
4945 \begin_layout Standard
4946
4947 \change_inserted 564990737 1672429310
4948 The main means in the Koma-Script document classes to design the type area are the options 
4949 \family sans
4950 BCOR
4951 \family default
4952  and 
4953 \family sans
4954 DIV
4955 \family default
4956  entered in 
4957 \family sans
4958 Document\SpecialChar menuseparator
4959 Settings\SpecialChar menuseparator
4960 Document Class\SpecialChar menuseparator
4961 Class Options\SpecialChar menuseparator
4962 Custom
4963 \family default
4964 .
4965  
4966 \end_layout
4967
4968 \begin_layout Standard
4969
4970 \change_inserted 564990737 1672429310
4971 In this document,
4972  the binding correction is 7.5mm which is added in the form 
4973 \family typewriter
4974 BCOR7.5mm
4975 \family default
4976  to 
4977 \family sans
4978 Class
4979 \begin_inset space ~
4980 \end_inset
4981
4982 options\SpecialChar menuseparator
4983 Cus
4984 \bar under
4985 t
4986 \bar default
4987 om
4988 \family default
4989  dialog.
4990  To change the factor to 11,
4991  for example,
4992  add the entry 
4993 \family typewriter
4994 DIV=11
4995 \family default
4996  to the comma separated list of entries in the 
4997 \family sans
4998 Cus
4999 \bar under
5000 t
5001 \bar default
5002 om
5003 \family default
5004  
5005 \family sans
5006 Class
5007 \begin_inset space ~
5008 \end_inset
5009
5010 options
5011 \family default
5012 .
5013  If you want the default value of this factor for a page size other than A4,
5014  add the entry 
5015 \family typewriter
5016 DIV=calc
5017 \family default
5018 .
5019 \end_layout
5020
5021 \begin_layout Standard
5022
5023 \change_inserted 564990737 1672429310
5024 To use the circle method of calculating the page layout,
5025  use 
5026 \family typewriter
5027 DIV=classic
5028 \family default
5029  instead.
5030 \change_unchanged
5031
5032 \end_layout
5033
5034 \end_deeper
5035 \begin_layout Itemize
5036 The \SpecialChar LaTeX
5037  document classes of the Koma-Script family define a number of additional commands.
5038  Those part of it which makes sense in \SpecialChar LyX
5039  is implemented in corresponding paragraph types.
5040 \end_layout
5041
5042 \begin_layout Standard
5043 Detailed descriptions of the \SpecialChar LaTeX
5044  document classes of the Koma-Script family can be found in the Koma-Script documentation 
5045 \emph on
5046 scrguide
5047 \emph default
5048  (German) and 
5049 \emph on
5050 scrguien
5051 \emph default
5052  (English).
5053 \end_layout
5054
5055 \begin_layout Subsubsection
5056
5057 \change_inserted 564990737 1672429358
5058
5059 \series bold
5060 \begin_inset CommandInset label
5061 LatexCommand label
5062 name "subsec:article-(KOMA-Script),-report"
5063
5064 \end_inset
5065
5066
5067 \change_deleted -712698321 1673090826
5068
5069 \series default
5070 article (KOMA-Script)
5071 \change_inserted -712698321 1673090826
5072
5073 \emph on
5074 KOMA-Script Article
5075 \change_inserted 564990737 1672429358
5076
5077 \emph default
5078 ,
5079  
5080 \change_deleted -712698321 1673090830
5081 report (KOMA-Script)
5082 \change_inserted -712698321 1673090840
5083
5084 \emph on
5085 KOMA-Script Report
5086 \change_inserted 564990737 1672429358
5087
5088 \emph default
5089 ,
5090  and 
5091 \change_deleted -712698321 1673090835
5092 book (KOMA-Script)
5093 \change_inserted -712698321 1673090844
5094
5095 \emph on
5096 KOMA-Script Book
5097 \change_deleted 564990737 1672429367
5098
5099 \emph default
5100 article (koma-script),
5101  report (koma-script),
5102  and book (koma-script)
5103 \change_unchanged
5104
5105 \end_layout
5106
5107 \begin_layout Standard
5108 The document classes 
5109 \change_deleted -712698321 1673090858
5110
5111 \emph on
5112 article (koma-script)
5113 \change_inserted -712698321 1673090858
5114 KOMA-Script Article
5115 \change_unchanged
5116
5117 \emph default
5118 ,
5119  
5120 \change_deleted -712698321 1673090862
5121
5122 \emph on
5123 report (koma-script)
5124 \change_inserted -712698321 1673090869
5125 KOMA-Script Report
5126 \change_unchanged
5127
5128 \emph default
5129 ,
5130  and 
5131 \change_deleted -712698321 1673090866
5132
5133 \emph on
5134 book
5135 \emph default
5136  
5137 \emph on
5138 (koma-script)
5139 \change_inserted -712698321 1673090874
5140 KOMA-Script Book
5141 \change_unchanged
5142
5143 \emph default
5144  are implemented in the layout files 
5145 \family typewriter
5146 scrartcl.layout
5147 \family default
5148 ,
5149  
5150 \family typewriter
5151 scrreprt.layout
5152 \family default
5153 ,
5154  and 
5155 \family typewriter
5156 scrbook.layout
5157 \family default
5158 ,
5159  resp.
5160  They contain all the paragraph types of the corresponding standard document classes 
5161 \emph on
5162 article
5163 \emph default
5164 ,
5165  
5166 \emph on
5167 report
5168 \emph default
5169 ,
5170  and 
5171 \emph on
5172 book
5173 \emph default
5174 ,
5175  resp.,
5176  partly modified,
5177  with the exception of the \SpecialChar LyX
5178  specific 
5179 \family sans
5180 List
5181 \family default
5182 -type,
5183  which is replaced by the new 
5184 \family sans
5185 Labeling
5186 \family default
5187 -type having the same functionality.
5188  Beside the 
5189 \family sans
5190 Labeling
5191 \family default
5192 -Type there is a number of new paragraph types added.
5193  They are 
5194 \emph on
5195 not
5196 \emph default
5197  part of 
5198 \emph on
5199 letter (koma-script)
5200 \emph default
5201 .
5202 \end_layout
5203
5204 \begin_layout Itemize
5205
5206 \family sans
5207 Addpart,
5208  Addchap
5209 \family default
5210 ,
5211  
5212 \family sans
5213 Addsec
5214 \family default
5215 :
5216  are equivalents to 
5217 \family sans
5218 Part*,
5219  Chapter*
5220 \family default
5221  and 
5222 \family sans
5223 Section*
5224 \family default
5225 ,
5226  resp.,
5227  additionally inserting an entry in the table of contents.
5228  
5229 \family sans
5230 Addpart
5231 \family default
5232  and 
5233 \family sans
5234 Addchap
5235 \family default
5236  are not contained in 
5237 \emph on
5238 article (koma-script)
5239 \emph default
5240 .
5241 \end_layout
5242
5243 \begin_layout Itemize
5244
5245 \family sans
5246 Addchap*
5247 \family default
5248 ,
5249  
5250 \family sans
5251 Addsec*
5252 \family default
5253 :
5254  behave exactly as 
5255 \family sans
5256 Addchap
5257 \family default
5258  and 
5259 \family sans
5260 Addsec
5261 \family default
5262 ,
5263  resp.,
5264  additionally clearing running heads.
5265  
5266 \family sans
5267 Addchap*
5268 \family default
5269  is not contained in 
5270 \emph on
5271 article (koma-script)
5272 \emph default
5273 .
5274 \begin_inset Foot
5275 status collapsed
5276
5277 \begin_layout Plain Layout
5278 There is also an 
5279 \family typewriter
5280
5281 \backslash
5282 addpart*
5283 \family default
5284  command in 
5285 \emph on
5286 book (koma-script)
5287 \emph default
5288  and in 
5289 \emph on
5290 report (koma-script)
5291 \emph default
5292 ,
5293  but since this is identical to 
5294 \family sans
5295 Part*
5296 \family default
5297 ,
5298  is has not been implemented in \SpecialChar LyX
5299 .
5300 \end_layout
5301
5302 \end_inset
5303
5304
5305 \end_layout
5306
5307 \begin_layout Itemize
5308
5309 \family sans
5310 Minisec
5311 \family default
5312 :
5313  generates a heading directly above the following paragraph in the standard character size without affecting the structure of the document.
5314 \end_layout
5315
5316 \begin_layout Itemize
5317
5318 \family sans
5319 Captionabove
5320 \family default
5321  and 
5322 \family sans
5323 Captionbelow
5324 \family default
5325  are special captions which respect the different space settings needed for captions placed above or below an element (if you follow strict typographic rules,
5326  you might want to place table captions always above the table).
5327  You can also use the class option 
5328 \family typewriter
5329 tablecaptionsabove
5330 \family default
5331 ,
5332  which will switch 
5333 \family sans
5334 caption
5335 \family default
5336  to 
5337 \family sans
5338 captionabove
5339 \family default
5340  for tables and 
5341 \family sans
5342 captionbelow
5343 \family default
5344  for figures.
5345  You need at least Koma-Script version 2.8q to use this.
5346 \end_layout
5347
5348 \begin_layout Itemize
5349
5350 \family sans
5351 Dictum
5352 \family default
5353 :
5354  can be used to set a bonmot,
5355  e.
5356 \begin_inset space \thinspace{}
5357 \end_inset
5358
5359 g.
5360 \begin_inset space \space{}
5361 \end_inset
5362
5363 at the beginning of a chapter.
5364  If you use the optional argument (
5365 \family sans
5366 Insert\SpecialChar menuseparator
5367 Dictum
5368 \begin_inset space ~
5369 \end_inset
5370
5371 Author
5372 \family default
5373 ),
5374  you can insert the dictum's author there.
5375  Dictum and author are separated by a line.
5376  You need at least Koma-Script version 2.8q to use this.
5377  
5378 \family sans
5379 Dictum
5380 \family default
5381  is not contained in 
5382 \emph on
5383 article (koma-script)
5384 \emph default
5385 .
5386 \end_layout
5387
5388 \begin_layout Standard
5389 The following types,
5390  together with the standard types 
5391 \family sans
5392 Title
5393 \family default
5394 ,
5395  
5396 \family sans
5397 Author
5398 \family default
5399 ,
5400  and 
5401 \family sans
5402 Date
5403 \family default
5404 ,
5405  form the title area of the document.
5406  They must be entered ahead of the first 
5407 \begin_inset Quotes eld
5408 \end_inset
5409
5410 ordinary
5411 \begin_inset Quotes erd
5412 \end_inset
5413
5414  paragraph.
5415 \begin_inset Foot
5416 status collapsed
5417
5418 \begin_layout Plain Layout
5419 The corresponding \SpecialChar LaTeX
5420  commands must appear before the 
5421 \family typewriter
5422
5423 \backslash
5424 maketitle
5425 \family default
5426  command.
5427 \end_layout
5428
5429 \end_inset
5430
5431  When such a type is used more than once,
5432  the latter usage overwrites the former one,
5433  that means,
5434  for every type only the latest usage is valid.
5435  The order of the different types however has,
5436  like 
5437 \family sans
5438 Title
5439 \family default
5440 ,
5441  
5442 \family sans
5443 Author
5444 \family default
5445 ,
5446  and 
5447 \family sans
5448 Date
5449 \family default
5450 ,
5451  no effect on the appearance of the produced document.
5452 \end_layout
5453
5454 \begin_layout Itemize
5455
5456 \family sans
5457 Subject
5458 \family default
5459 :
5460  produces a centered paragraph above the ordinary title (
5461 \family sans
5462 Title
5463 \family default
5464 ,
5465  
5466 \family sans
5467 Author
5468 \family default
5469 ,
5470  
5471 \family sans
5472 Date
5473 \family default
5474 ) for the subject of the document.
5475 \end_layout
5476
5477 \begin_layout Itemize
5478
5479 \family sans
5480 Publishers
5481 \family default
5482 :
5483  produces a centered paragraph below the ordinary title (
5484 \family sans
5485 Title
5486 \family default
5487 ,
5488  
5489 \family sans
5490 Author
5491 \family default
5492 ,
5493  
5494 \family sans
5495 Date
5496 \family default
5497 ) for the publishers' name.
5498 \end_layout
5499
5500 \begin_layout Itemize
5501
5502 \family sans
5503 Dedication
5504 \family default
5505 :
5506  in 
5507 \emph on
5508 report (koma-script)
5509 \emph default
5510  and 
5511 \emph on
5512 book (koma-script)
5513 \emph default
5514  produces a centered paragraph on its own page behind the title page,
5515  or in 
5516 \emph on
5517 article (koma-script)
5518 \emph default
5519  produces a centered paragraph below the ordinary title (
5520 \family sans
5521 Title
5522 \family default
5523 ,
5524  
5525 \family sans
5526 Author
5527 \family default
5528 ,
5529  
5530 \family sans
5531 Date
5532 \family default
5533 ,
5534  
5535 \family sans
5536 Publishers
5537 \family default
5538 ) for a dedication.
5539 \end_layout
5540
5541 \begin_layout Itemize
5542
5543 \family sans
5544 Titlehead
5545 \family default
5546 :
5547  produces a left aligned paragraph above the ordinary title (
5548 \family sans
5549 Title
5550 \family default
5551 ,
5552  
5553 \family sans
5554 Author
5555 \family default
5556 ,
5557  
5558 \family sans
5559 Date
5560 \family default
5561 ,
5562  
5563 \family sans
5564 Subject
5565 \family default
5566 ) for a document`s head.
5567 \end_layout
5568
5569 \begin_layout Itemize
5570
5571 \family sans
5572 Uppertitleback
5573 \family default
5574 :
5575  produces in a double-sided print in 
5576 \emph on
5577 report (koma-script)
5578 \emph default
5579  and 
5580 \emph on
5581 book (koma-script)
5582 \emph default
5583  a left-aligned paragraph at the top of the title page`s back or has no effect in a single-sided print or in 
5584 \emph on
5585 article (koma-script)
5586 \emph default
5587 .
5588 \end_layout
5589
5590 \begin_layout Itemize
5591
5592 \family sans
5593 Lowertitleback
5594 \family default
5595 :
5596  produces in a double-sided print in 
5597 \emph on
5598 report (koma-script)
5599 \emph default
5600  and 
5601 \emph on
5602 book (koma-script)
5603 \emph default
5604  a left-aligned paragraph at the bottom of the title page`s back or has no effect in a single-sided print or in 
5605 \emph on
5606 article (koma-script)
5607 \emph default
5608 .
5609 \end_layout
5610
5611 \begin_layout Itemize
5612
5613 \family sans
5614 Extratitle
5615 \family default
5616 :
5617  produces a special 
5618 \begin_inset Quotes eld
5619 \end_inset
5620
5621 dirty
5622 \begin_inset Quotes erd
5623 \end_inset
5624
5625  page ahead of the actual document containing a paragraph without special formatting.
5626 \end_layout
5627
5628 \begin_layout Standard
5629
5630 \change_inserted 564990737 1672429680
5631 KOMA-Script offers a wide range of 
5632 \family sans
5633 Cus
5634 \bar under
5635 t
5636 \bar default
5637 om Class
5638 \begin_inset space ~
5639 \end_inset
5640
5641 options
5642 \family default
5643  for the 
5644 \family sans
5645 \bar under
5646 D
5647 \bar default
5648 ocument\SpecialChar menuseparator
5649
5650 \bar under
5651 S
5652 \bar default
5653 ettings\SpecialChar menuseparator
5654 Document
5655 \begin_inset space ~
5656 \end_inset
5657
5658 class
5659 \family default
5660  dialog which you can apply to the whole document,
5661  among them
5662 \end_layout
5663
5664 \begin_layout Description
5665
5666 \change_inserted 564990737 1672429680
5667
5668 \family typewriter
5669 \series medium
5670 draft=true
5671 \family default
5672 \series default
5673  which produces a PDF with a small black box at the end any line in which a formatting error occurs;
5674  the default setting is 
5675 \family typewriter
5676 false
5677 \end_layout
5678
5679 \begin_layout Description
5680
5681 \change_inserted 564990737 1672429680
5682
5683 \family typewriter
5684 \series medium
5685 headings=
5686 \family default
5687 \series default
5688  which may take the values 
5689 \family typewriter
5690 big
5691 \family default
5692 ,
5693  
5694 \family typewriter
5695 normal
5696 \family default
5697  or 
5698 \family typewriter
5699 small
5700 \family default
5701 ;
5702  the first and last adjust the sizes of the headings to take account of page sizes where the default values may not be suitable
5703 \end_layout
5704
5705 \begin_layout Description
5706
5707 \change_inserted 564990737 1672429680
5708
5709 \family typewriter
5710 \series medium
5711 numbers=
5712 \family default
5713 \series default
5714  which may take the values 
5715 \family typewriter
5716 auto
5717 \family default
5718  (the default),
5719  
5720 \family typewriter
5721 enddot
5722 \family default
5723  or 
5724 \family typewriter
5725 noenddot
5726 \family default
5727 ;
5728  the first leaves it up to KOMA-Script to add periods after chapter,
5729  section numbers,
5730  etc.;
5731  the second forces the addition of periods and third suppresses them
5732 \end_layout
5733
5734 \begin_layout Standard
5735
5736 \change_inserted 564990737 1672429680
5737 and the math options:
5738 \end_layout
5739
5740 \begin_layout Description
5741
5742 \change_inserted 564990737 1672429680
5743
5744 \family typewriter
5745 \series medium
5746 leqno
5747 \family default
5748 \series default
5749  which causes equations to be numbered on the left rather than on the right,
5750  and
5751 \end_layout
5752
5753 \begin_layout Description
5754
5755 \change_inserted 564990737 1672429680
5756
5757 \family typewriter
5758 \series medium
5759 fleqn
5760 \family default
5761 \series default
5762  which causes equations to be left justified rather than centered.
5763 \end_layout
5764
5765 \begin_layout Standard
5766
5767 \change_inserted 564990737 1672429680
5768 It also provides commands to affect the output of the document independently of the standard \SpecialChar LaTeX
5769  commands and packages;
5770  for example,
5771  if you want your captions in bold add
5772 \end_layout
5773
5774 \begin_layout Standard
5775
5776 \change_inserted 564990737 1672429680
5777
5778 \family typewriter
5779
5780 \backslash
5781 setkomafont{captionlabel}{
5782 \backslash
5783 bfseries}
5784 \end_layout
5785
5786 \begin_layout Standard
5787
5788 \change_inserted 564990737 1672429680
5789 to 
5790 \family sans
5791 \bar under
5792 D
5793 \bar default
5794 ocument\SpecialChar menuseparator
5795
5796 \bar under
5797 S
5798 \bar default
5799 ettings
5800 \family default
5801 \SpecialChar menuseparator
5802
5803 \family sans
5804 \SpecialChar LaTeX
5805
5806 \begin_inset space ~
5807 \end_inset
5808
5809 Preamble
5810 \family default
5811 ) and the problem is solved.
5812 \end_layout
5813
5814 \begin_layout Standard
5815
5816 \change_inserted 564990737 1672429680
5817 If you are writing a book,
5818  it is normal to have the preliminary pages numbered in Roman numerals and the Chapters in this part unnumbered.
5819  If you use the Chapter* environment,
5820  your Foreword and Preface will not appear in the Table of Contents;
5821  to make them to appear in the Table of contents,
5822  you need to use Chapter environments and add the \SpecialChar TeX
5823  code
5824 \end_layout
5825
5826 \begin_layout Standard
5827
5828 \change_inserted 564990737 1672429680
5829
5830 \family typewriter
5831
5832 \backslash
5833 frontmatter
5834 \end_layout
5835
5836 \begin_layout Standard
5837
5838 \change_inserted 564990737 1672429680
5839 at the very start of the book (not in the \SpecialChar LaTeX
5840  Preamble) and
5841 \end_layout
5842
5843 \begin_layout Standard
5844
5845 \change_inserted 564990737 1672429680
5846
5847 \family typewriter
5848
5849 \backslash
5850 mainmatter
5851 \end_layout
5852
5853 \begin_layout Standard
5854
5855 \change_inserted 564990737 1672429680
5856 before the first chapter of the body of the text.
5857  
5858 \change_inserted -712698321 1673092640
5859 Alternatively,
5860  you might also use 
5861 \family sans
5862 Chapter* (TOC)
5863 \family default
5864 .
5865 \end_layout
5866
5867 \begin_layout Standard
5868
5869 \change_inserted 564990737 1672429680
5870 You may also want to have some unnumbered Chapter environments at the end of the book after the Appendices,
5871  if any.
5872 \begin_inset Foot
5873 status open
5874
5875 \begin_layout Plain Layout
5876
5877 \change_inserted 564990737 1672429680
5878 Appendices are normally “numbered” with letters.
5879 \end_layout
5880
5881 \end_inset
5882
5883  If you use the Chapter* environment,
5884  they will not appear in the Table of Contents;
5885  so add the \SpecialChar TeX
5886  code
5887 \end_layout
5888
5889 \begin_layout Standard
5890
5891 \change_inserted 564990737 1672429680
5892
5893 \family typewriter
5894
5895 \backslash
5896 backmatter
5897 \end_layout
5898
5899 \begin_layout Standard
5900
5901 \change_inserted 564990737 1672429682
5902 before the first of these headings and use the Chapter environment.
5903  These commands will have no effect on the numbering in \SpecialChar LyX
5904 ,
5905  only on the PDF output where the headings will be unnumbered and appear in the Table of Contents.
5906 \end_layout
5907
5908 \begin_layout Standard
5909 The layout files for the document classes 
5910 \emph on
5911 article (koma-script)
5912 \emph default
5913 ,
5914  
5915 \emph on
5916 report (koma-script)
5917 \emph default
5918 ,
5919  and 
5920 \emph on
5921 book (koma-script)
5922 \emph default
5923  do include the file 
5924 \family typewriter
5925 scrmacros.inc
5926 \family default
5927 .
5928  This is thought of as a place to define your own types.
5929  Copy scrmacros
5930 \family typewriter
5931 .inc
5932 \family default
5933  in your personal layout directory and edit the file!
5934 \change_deleted 564990737 1672430255
5935
5936 \end_layout
5937
5938 \begin_layout Standard
5939
5940 \change_deleted 564990737 1672430255
5941 letter (koma-script)
5942 \end_layout
5943
5944 \begin_layout Description
5945
5946 \change_deleted 564990737 1672429749
5947 Note:
5948  This section discusses the obsolete 
5949 \family sans
5950 KOMA-Script-Letter (v.
5951 \begin_inset space ~
5952 \end_inset
5953
5954 1)
5955 \family default
5956 ,
5957  which is not even included anymore in recent KOMA releases.
5958  Please refer to the next section for the current KOMA-Script-Letter class (v.
5959 \begin_inset space ~
5960 \end_inset
5961
5962 2)!
5963 \end_layout
5964
5965 \begin_layout Standard
5966 \noindent
5967
5968 \change_deleted 564990737 1672429749
5969 The document class 
5970 \emph on
5971 letter (koma-script)
5972 \emph default
5973  is implemented in the layout file 
5974 \family typewriter
5975 scrlettr.layout
5976 \family default
5977 .
5978  It contains all the paragraph types of the corresponding standard document class 
5979 \emph on
5980 letter
5981 \emph default
5982 ,
5983  partly modified,
5984  with the exception of the \SpecialChar LyX
5985  specific types 
5986 \family sans
5987 \SpecialChar LyX
5988 -Code
5989 \family default
5990  and 
5991 \family sans
5992 Comment
5993 \family default
5994  and the 
5995 \family sans
5996 List
5997 \family default
5998  type,
5999  which is replaced by the new 
6000 \family sans
6001 Labeling
6002 \family default
6003  type.
6004  In addition,
6005  it contains,
6006  in contrast to the standard document class,
6007  the standard types 
6008 \family sans
6009 \SpecialChar LaTeX
6010
6011 \family default
6012 ,
6013  
6014 \family sans
6015 Quotation
6016 \family default
6017 ,
6018  
6019 \family sans
6020 Quote
6021 \family default
6022 ,
6023  and 
6024 \family sans
6025 Verse
6026 \family default
6027 .
6028  Furthermore,
6029  there are a number of new letter specific types.
6030 \end_layout
6031
6032 \begin_layout Standard
6033
6034 \change_deleted 564990737 1672429749
6035 The appearance of the letter produced by this document class can be controlled by a number of \SpecialChar LaTeX
6036  commands,
6037  which you can put in the \SpecialChar LaTeX
6038  preamble.
6039 \begin_inset Foot
6040 status collapsed
6041
6042 \begin_layout Plain Layout
6043 For example,
6044  the standard appearance of the letter`s heading,
6045  consisting of name and address,
6046  is quite self-willed.
6047  An 
6048 \begin_inset Quotes eld
6049 \end_inset
6050
6051 ordinary
6052 \begin_inset Quotes erd
6053 \end_inset
6054
6055  heading is produced by the following \SpecialChar LaTeX
6056  commands in the preamble:
6057 \end_layout
6058
6059 \begin_layout LyX-Code
6060
6061 \backslash
6062 firsthead{
6063 \backslash
6064 parbox[b]{
6065 \backslash
6066 textwidth}
6067 \end_layout
6068
6069 \begin_layout LyX-Code
6070   {
6071 \backslash
6072 ignorespaces 
6073 \backslash
6074 fromname
6075 \backslash
6076
6077 \backslash
6078  
6079 \backslash
6080 ignorespaces 
6081 \backslash
6082 fromaddress}} 
6083 \end_layout
6084
6085 \begin_layout LyX-Code
6086
6087 \backslash
6088 nexthead{
6089 \backslash
6090 parbox[b]{
6091 \backslash
6092 textwidth}
6093 \end_layout
6094
6095 \begin_layout LyX-Code
6096   {
6097 \backslash
6098 ignorespaces 
6099 \backslash
6100 fromname 
6101 \backslash
6102 hfill 
6103 \backslash
6104 ignorespaces 
6105 \backslash
6106 pagename
6107 \backslash
6108  
6109 \backslash
6110 thepage}}
6111 \end_layout
6112
6113 \end_inset
6114
6115  A detailed German description of such \SpecialChar LaTeX
6116  commands can be found in the Koma-Script documentation 
6117 \emph on
6118 scrguide
6119 \emph default
6120 .
6121  With it,
6122  the letter's author can produce his personal letter layout.
6123 \end_layout
6124
6125 \begin_layout Standard
6126
6127 \change_deleted 564990737 1672429749
6128 The types 
6129 \family sans
6130 Letter
6131 \family default
6132  and 
6133 \family sans
6134 Opening
6135 \family default
6136  define the beginning of the letter and must be used in every letter.
6137  To emphasize them in the \SpecialChar LyX
6138  document class,
6139  they are marked with the letter 
6140 \shape italic
6141 L
6142 \shape default
6143  or 
6144 \shape italic
6145 O
6146 \shape default
6147 ,
6148  resp.
6149 \begin_inset space ~
6150 \end_inset
6151
6152 in the left margin.
6153  It is possible to write any number of letters in one file.
6154  An 
6155 \family sans
6156 Opening
6157 \family default
6158  type produces a new letter using the same addressee and a 
6159 \family sans
6160 Letter
6161 \family default
6162  type produces a new addressee.
6163  The types 
6164 \family sans
6165 Closing
6166 \family default
6167 ,
6168  
6169 \family sans
6170 PS
6171 \family default
6172 ,
6173  
6174 \family sans
6175 CC
6176 \family default
6177 ,
6178  and 
6179 \family sans
6180 Encl
6181 \family default
6182  are ordinary paragraph types and can also be used several times in one and the same letter.
6183 \end_layout
6184
6185 \begin_layout Itemize
6186
6187 \change_deleted 564990737 1672429749
6188
6189 \family sans
6190 Letter
6191 \family default
6192 :
6193  produces a paragraph for the addressee and implicitly defines the beginning of the letter.
6194 \end_layout
6195
6196 \begin_layout Itemize
6197
6198 \change_deleted 564990737 1672429749
6199
6200 \family sans
6201 Opening
6202 \family default
6203 :
6204  produces a paragraph for the form of address and implicitly produces a new letter.
6205 \end_layout
6206
6207 \begin_layout Itemize
6208
6209 \change_deleted 564990737 1672429749
6210
6211 \family sans
6212 Closing
6213 \family default
6214 :
6215  produces a paragraph for a close.
6216 \end_layout
6217
6218 \begin_layout Itemize
6219
6220 \change_deleted 564990737 1672429749
6221
6222 \family sans
6223 PS
6224 \family default
6225 :
6226  produces a paragraph for a postscript.
6227 \end_layout
6228
6229 \begin_layout Itemize
6230
6231 \change_deleted 564990737 1672429749
6232
6233 \family sans
6234 CC
6235 \family default
6236 :
6237  produces a paragraph for a distribution list.
6238 \end_layout
6239
6240 \begin_layout Itemize
6241
6242 \change_deleted 564990737 1672429749
6243
6244 \family sans
6245 Encl
6246 \family default
6247 :
6248  produces a paragraph for enclosures.
6249 \end_layout
6250
6251 \begin_layout Standard
6252
6253 \change_deleted 564990737 1672429749
6254 The types 
6255 \family sans
6256 Name
6257 \family default
6258 ,
6259  
6260 \family sans
6261 Signature
6262 \family default
6263 ,
6264  
6265 \family sans
6266 Address
6267 \family default
6268 ,
6269  
6270 \family sans
6271 Telephone
6272 \family default
6273 ,
6274  
6275 \family sans
6276 Place
6277 \family default
6278 ,
6279  
6280 \family sans
6281 Backaddress
6282 \family default
6283 ,
6284  
6285 \family sans
6286 Specialmail
6287 \family default
6288 ,
6289  
6290 \family sans
6291 Location
6292 \family default
6293 ,
6294  
6295 \family sans
6296 Title
6297 \family default
6298 ,
6299  and 
6300 \family sans
6301 Subject
6302 \family default
6303  are input types provided with a label to enter information,
6304  which will be processed by the document class.
6305 \begin_inset Foot
6306 status collapsed
6307
6308 \begin_layout Plain Layout
6309 It could be seen as a matter of inconsequence,
6310  that the types 
6311 \family sans
6312 Letter
6313 \family default
6314  and 
6315 \family sans
6316 Opening
6317 \family default
6318  described above are not such input types as well.
6319  Because of the special meaning of those types,
6320  however,
6321  I have implemented them as ordinary paragraph types with a one letter mark in the left margin.
6322  Moreover,
6323  it would affect my feeling of symmetry,
6324  if the 
6325 \family sans
6326 Opening
6327 \family default
6328  type and the 
6329 \family sans
6330 Closing
6331 \family default
6332  type had such a serious different appearance.
6333 \end_layout
6334
6335 \end_inset
6336
6337  The types must be used ahead of the corresponding 
6338 \family sans
6339 Opening
6340 \family default
6341  type.
6342 \end_layout
6343
6344 \begin_layout Standard
6345
6346 \change_deleted 564990737 1672429749
6347 An implementation of these types in a WYSIWYG fashion does not seem to make sense,
6348  because the real appearance of the produced letter does not only depend on the usage of the particular type,
6349  but also on other factors.
6350  For example,
6351  a signature entered in the 
6352 \family sans
6353 Signature
6354 \family default
6355  type will in the standard behavior appear in the produced letter only,
6356  when in the same letter also a 
6357 \family sans
6358 Closing
6359 \family default
6360  type is used.
6361  The entered value of the 
6362 \family sans
6363 Telephone
6364 \family default
6365  type will in the standard behavior not appear in the produced letter at all.
6366  The possibility to design the letter`s heading freely is already indicated in a footnote above.
6367 \end_layout
6368
6369 \begin_layout Standard
6370
6371 \change_deleted 564990737 1672429749
6372 The input types can also be used as empty paragraphs.
6373  This makes sense e.
6374 \begin_inset space \thinspace{}
6375 \end_inset
6376
6377 g.
6378 \begin_inset space \space{}
6379 \end_inset
6380
6381 for the 
6382 \family sans
6383 Signature
6384 \family default
6385  type.
6386  If the 
6387 \family sans
6388 Signature
6389 \family default
6390  type is not used at all,
6391  in the standard behavior the value of the 
6392 \family sans
6393 Name
6394 \family default
6395  type is used as signature,
6396  whereas if an empty 
6397 \family sans
6398 Signature
6399 \family default
6400  type is used,
6401  no signature value is defined.
6402 \end_layout
6403
6404 \begin_layout Standard
6405
6406 \change_deleted 564990737 1672429749
6407 By using the input types it is possible to write a letter template,
6408  containing filled input types with your personal dates (name,
6409  address,
6410  etc.) and empty input types for other dates you want to enter.
6411 \end_layout
6412
6413 \begin_layout Itemize
6414
6415 \change_deleted 564990737 1672429749
6416
6417 \family sans
6418 Name
6419 \family default
6420 :
6421  sender's name,
6422  in the standard behavior appears as a centered paragraph in small caps in the letter`s heading.
6423 \end_layout
6424
6425 \begin_layout Itemize
6426
6427 \change_deleted 564990737 1672429749
6428
6429 \family sans
6430 Signature
6431 \family default
6432 :
6433  sender's signature,
6434  in the standard behavior appears below the 
6435 \family sans
6436 Closing
6437 \family default
6438  type.
6439  If no 
6440 \family sans
6441 Signature
6442 \family default
6443  type is used,
6444  the value of the 
6445 \family sans
6446 Name
6447 \family default
6448  type appears instead.
6449 \end_layout
6450
6451 \begin_layout Itemize
6452
6453 \change_deleted 564990737 1672429749
6454
6455 \family sans
6456 Address
6457 \family default
6458 :
6459  sender's address,
6460  in the standard behavior appears in a centered paragraph in the letter`s heading below the sender's name.
6461 \end_layout
6462
6463 \begin_layout Itemize
6464
6465 \change_deleted 564990737 1672429749
6466
6467 \family sans
6468 Telephone
6469 \family default
6470 :
6471  sender's telephone number,
6472  in the standard behavior only sets the \SpecialChar LaTeX
6473  variable 
6474 \family typewriter
6475
6476 \backslash
6477 telephonenum
6478 \family default
6479 .
6480 \end_layout
6481
6482 \begin_layout Itemize
6483
6484 \change_deleted 564990737 1672429749
6485
6486 \family sans
6487 Place
6488 \family default
6489 :
6490  place of the letter`s making.
6491 \end_layout
6492
6493 \begin_layout Itemize
6494
6495 \change_deleted 564990737 1672429749
6496
6497 \family sans
6498 Date
6499 \family default
6500 :
6501  date of the letter`s making.
6502  
6503 \family sans
6504 Place
6505 \family default
6506  and 
6507 \family sans
6508 Date
6509 \family default
6510 ,
6511  in the standard behavior,
6512  produce the place and the date in a right-aligned line below the addressee's field.
6513  If an empty 
6514 \family sans
6515 Date
6516 \family default
6517  type is used,
6518  neither place nor date appear,
6519  independent of the value of the 
6520 \family sans
6521 Place
6522 \family default
6523  type.
6524  If no 
6525 \family sans
6526 Date
6527 \family default
6528  type is used,
6529  the date of the letter `s production is used.
6530 \end_layout
6531
6532 \begin_layout Itemize
6533
6534 \change_deleted 564990737 1672429749
6535
6536 \family sans
6537 Backaddress
6538 \family default
6539 :
6540  sender`s back address,
6541  in the standard behavior appears above the addressee's field in a small sans serif font.
6542 \end_layout
6543
6544 \begin_layout Itemize
6545
6546 \change_deleted 564990737 1672429749
6547
6548 \family sans
6549 Specialmail
6550 \family default
6551 :
6552  special mail information,
6553  in the standard behavior appears underlined above the addressee's field below the back address.
6554 \end_layout
6555
6556 \begin_layout Itemize
6557
6558 \change_deleted 564990737 1672429749
6559
6560 \family sans
6561 Location
6562 \family default
6563 :
6564  additional information,
6565  in the standard behavior appears on right side below the addressee`s field.
6566 \end_layout
6567
6568 \begin_layout Itemize
6569
6570 \change_deleted 564990737 1672429749
6571
6572 \family sans
6573 Title
6574 \family default
6575 :
6576  the letter's title,
6577  in the standard behavior appears in a big,
6578  bold,
6579  sans serif font above the subject.
6580 \end_layout
6581
6582 \begin_layout Itemize
6583
6584 \change_deleted 564990737 1672429749
6585
6586 \family sans
6587 Subject
6588 \family default
6589 :
6590  the letter's subject,
6591  in the standard behavior appears in a bold font above the 
6592 \family sans
6593 Opening
6594 \family default
6595  paragraph.
6596 \end_layout
6597
6598 \begin_layout Standard
6599
6600 \change_deleted 564990737 1672429749
6601 The types 
6602 \family sans
6603 Yourref
6604 \family default
6605 ,
6606  
6607 \family sans
6608 Yourmail
6609 \family default
6610 ,
6611  
6612 \family sans
6613 Myref
6614 \family default
6615 ,
6616  
6617 \family sans
6618 Customer
6619 \family default
6620 ,
6621  and 
6622 \family sans
6623 Invoice
6624 \family default
6625  produce a business letter like line above the 
6626 \family sans
6627 Title
6628 \family default
6629  line containing the fields 
6630 \begin_inset Quotes eld
6631 \end_inset
6632
6633 Your ref.
6634 \begin_inset Quotes erd
6635 \end_inset
6636
6637 ,
6638  
6639 \begin_inset Quotes eld
6640 \end_inset
6641
6642 Your letter of
6643 \begin_inset Quotes erd
6644 \end_inset
6645
6646 ,
6647  
6648 \begin_inset Quotes eld
6649 \end_inset
6650
6651 Our ref.
6652 \begin_inset Quotes erd
6653 \end_inset
6654
6655 ,
6656  
6657 \begin_inset Quotes eld
6658 \end_inset
6659
6660 Customer no.
6661 \begin_inset Quotes erd
6662 \end_inset
6663
6664 ,
6665  
6666 \begin_inset Quotes eld
6667 \end_inset
6668
6669 Invoice no.
6670 \begin_inset Quotes erd
6671 \end_inset
6672
6673 ,
6674  and 
6675 \begin_inset Quotes eld
6676 \end_inset
6677
6678 Date
6679 \begin_inset Quotes erd
6680 \end_inset
6681
6682 .
6683  For the date field,
6684  the value of the 
6685 \family sans
6686 Date
6687 \family default
6688  type is used.
6689  If one of these 
6690 \begin_inset Quotes eld
6691 \end_inset
6692
6693 business letter types
6694 \begin_inset Quotes erd
6695 \end_inset
6696
6697  is used,
6698  the value of the 
6699 \family sans
6700 Place
6701 \family default
6702  type however does not appear,
6703  but only the \SpecialChar LaTeX
6704  variable 
6705 \family typewriter
6706
6707 \backslash
6708 fromplace
6709 \family default
6710  is set.
6711  The ordinary output of place and date in a right-aligned line below the addressee`s field is suppressed.
6712  The types are implemented as input types provided with a label and must be used ahead of the corresponding 
6713 \family sans
6714 Opening
6715 \family default
6716  type.
6717 \end_layout
6718
6719 \begin_layout Itemize
6720
6721 \change_deleted 564990737 1672429749
6722
6723 \family sans
6724 Yourref
6725 \family default
6726 :
6727  Your ref.
6728 \end_layout
6729
6730 \begin_layout Itemize
6731
6732 \change_deleted 564990737 1672429749
6733
6734 \family sans
6735 Yourmail
6736 \family default
6737 :
6738  Your letter of.
6739 \end_layout
6740
6741 \begin_layout Itemize
6742
6743 \change_deleted 564990737 1672429749
6744
6745 \family sans
6746 Myref
6747 \family default
6748 :
6749  Our ref.
6750 \end_layout
6751
6752 \begin_layout Itemize
6753
6754 \change_deleted 564990737 1672429749
6755
6756 \family sans
6757 Customer
6758 \family default
6759 :
6760  Customer no.
6761 \end_layout
6762
6763 \begin_layout Itemize
6764
6765 \change_deleted 564990737 1672429749
6766
6767 \family sans
6768 Invoice
6769 \family default
6770 :
6771  Invoice no.
6772 \change_unchanged
6773
6774 \end_layout
6775
6776 \begin_layout Subsubsection
6777
6778 \change_deleted 564990737 1672429773
6779 The new letter class:
6780  letter (koma-script v.2)
6781 \change_inserted 564990737 1672429774
6782
6783 \begin_inset CommandInset label
6784 LatexCommand label
6785 name "subsec:The-new-letter"
6786
6787 \end_inset
6788
6789 The new letter class:
6790  
6791 \change_inserted -712698321 1673092709
6792 KOMA-Script 
6793 \change_deleted -712698321 1673092710
6794 l
6795 \change_inserted -712698321 1673092710
6796 L
6797 \change_inserted 564990737 1672429774
6798 etter (
6799 \change_deleted -712698321 1673092713
6800 KOMA-Script v
6801 \change_inserted -712698321 1673092714
6802 V
6803 \change_inserted 564990737 1672429774
6804 .
6805
6806 \change_inserted -712698321 1673092715
6807  
6808 \change_inserted 564990737 1672429774
6809 2)
6810 \change_unchanged
6811
6812 \end_layout
6813
6814 \begin_layout Standard
6815 by 
6816 \noun on
6817 Jürgen Spitzmüller
6818 \end_layout
6819
6820 \begin_layout Standard
6821 \begin_inset VSpace medskip
6822 \end_inset
6823
6824
6825 \end_layout
6826
6827 \begin_layout Standard
6828 \noindent
6829 Koma-Script version 2.8 has introduced a new letter class 
6830 \family typewriter
6831 scrlttr2
6832 \family default
6833  which supersedes the now unsupported 
6834 \family typewriter
6835 scrlettr
6836 \family default
6837 .
6838  It has —
6839  on the \SpecialChar LaTeX
6840  side —
6841  a completely new interface and is not compatible with the old class.
6842  Therefore,
6843  \SpecialChar LyX
6844  supports both,
6845  though it is recommended you use the new class.
6846 \end_layout
6847
6848 \begin_layout Standard
6849 This class covers the same functionality as 
6850 \emph on
6851 letter (koma-script),
6852
6853 \emph default
6854  and a few more.
6855  The basic items are 
6856 \family sans
6857 Address
6858 \family default
6859  (receiver's address,
6860  same as 
6861 \family sans
6862 Letter
6863 \family default
6864  in the old layout),
6865  
6866 \family sans
6867 Opening
6868 \family default
6869 ,
6870  and 
6871 \family sans
6872 Closing
6873 \family default
6874 .
6875  
6876 \family sans
6877 NextAddress
6878 \family default
6879  will start a new letter (i.
6880 \begin_inset space \thinspace{}
6881 \end_inset
6882
6883 e.
6884 \begin_inset space \space{}
6885 \end_inset
6886
6887 you can write several letters per document).
6888  New elements are sender's 
6889 \family sans
6890 E-Mail
6891 \family default
6892 ,
6893  
6894 \family sans
6895 URL
6896 \family default
6897 ,
6898  
6899 \family sans
6900 Fax
6901 \family default
6902 ,
6903  
6904 \family sans
6905 Bank
6906 \family default
6907  and the possibility to use a 
6908 \family sans
6909 Logo
6910 \family default
6911  (via 
6912 \family sans
6913 Insert\SpecialChar menuseparator
6914 Graphics
6915 \family default
6916 ) in the header.
6917 \end_layout
6918
6919 \begin_layout Standard
6920 The biggest improvement is,
6921  though,
6922  that the letter's layout is configurable to meet almost any needs.
6923  This can be done via the preamble or with a special style file (Letter Class Option,
6924  extension 
6925 \family typewriter
6926 *.lco
6927 \family default
6928 ),
6929  that will be read in as a class option.
6930 \begin_inset Foot
6931 status collapsed
6932
6933 \begin_layout Plain Layout
6934 The KOMA package comes with some default 
6935 \family typewriter
6936 *.lco
6937 \family default
6938  files.
6939  There is,
6940  for instance,
6941  a 
6942 \family typewriter
6943 DIN.lco
6944 \family default
6945  file that follows german typesetting rules,
6946  or a 
6947 \family typewriter
6948 KOMAold.lco
6949 \family default
6950  that provides the default layout of the old 
6951 \family typewriter
6952 scrlettr
6953 \family default
6954  class.
6955  The latter can be loaded with the class option 
6956 \family typewriter
6957 KOMAold
6958 \family default
6959 ,
6960  inserted via the 
6961 \family sans
6962 Layout\SpecialChar menuseparator
6963 Document\SpecialChar menuseparator
6964 Extra Options
6965 \family default
6966  field.
6967 \end_layout
6968
6969 \end_inset
6970
6971  Have a look at the
6972 \change_deleted 564990737 1671617922
6973  
6974 \emph on
6975 koma-letter2
6976 \change_unchanged
6977
6978 \emph default
6979  template 
6980 \change_deleted 564990737 1671617938
6981 that is included in \SpecialChar LyX
6982  for examples
6983 \change_inserted 564990737 1671617997
6984  in 
6985 \family sans
6986 \bar under
6987 F
6988 \bar default
6989 ile\SpecialChar menuseparator
6990 New
6991 \begin_inset space ~
6992 \end_inset
6993
6994 fro
6995 \bar under
6996 m
6997 \bar default
6998
6999 \begin_inset space ~
7000 \end_inset
7001
7002 Template\SpecialChar menuseparator
7003 Letters\SpecialChar menuseparator
7004 KOMA-Script Letter (V.2)
7005 \change_unchanged
7006
7007 \family default
7008 .
7009  A detailed description is to be found in the Koma-Script documentation (
7010 \emph on
7011 scrguide
7012 \emph default
7013 ).
7014 \end_layout
7015
7016 \begin_layout Subsubsection
7017 Problems
7018 \end_layout
7019
7020 \begin_layout Standard
7021 Visualizing the Koma-Script document classes in \SpecialChar LyX
7022 ,
7023  the \SpecialChar LyX
7024  internals cause some problems.
7025 \end_layout
7026
7027 \begin_layout Itemize
7028 The chapter number of a 
7029 \family sans
7030 Chapter
7031 \family default
7032  type appears on a line of its own above the chapter heading instead of appearing in the same line ahead of it.
7033  The cause for that is the \SpecialChar LyX
7034  internal behavior for the labeltype 
7035 \family sans
7036 Counter_Chapter
7037 \family default
7038  in the layout file.
7039 \end_layout
7040
7041 \begin_layout Itemize
7042 The headings of the types 
7043 \family sans
7044 Addchap
7045 \family default
7046  and 
7047 \family sans
7048 Addsec
7049 \family default
7050  are only put in the 
7051 \begin_inset Quotes eld
7052 \end_inset
7053
7054 true
7055 \begin_inset Quotes erd
7056 \end_inset
7057
7058  \SpecialChar LaTeX
7059  table of contents,
7060  but not in the \SpecialChar LyX
7061  table of contents (
7062 \family sans
7063 Document\SpecialChar menuseparator
7064 Table
7065 \begin_inset space ~
7066 \end_inset
7067
7068 of
7069 \begin_inset space ~
7070 \end_inset
7071
7072 Contents
7073 \family default
7074 ).
7075 \end_layout
7076
7077 \begin_layout Itemize
7078 The paragraphs in a 
7079 \emph on
7080 letter
7081 \emph default
7082  document class appear in a skip separation mode,
7083  not indented.
7084  This is the standard behavior,
7085  no special \SpecialChar LaTeX
7086  commands are needed for that.
7087  But in the 
7088 \family sans
7089 Document\SpecialChar menuseparator
7090 Settings
7091 \family default
7092  dialog the corresponding radio button indicates 
7093 \family sans
7094 Indent
7095 \family default
7096 .
7097  A 
7098 \family sans
7099 Skip
7100 \family default
7101  value always has the effect that extra \SpecialChar LaTeX
7102  commands are inserted in the document to produce the gap,
7103  which is not what is wanted in this case.
7104 \end_layout
7105
7106 \begin_layout Subsection
7107
7108 \change_inserted 564990737 1672743555
7109 \begin_inset CommandInset label
7110 LatexCommand label
7111 name "subsec:Polish-M.W.collection"
7112
7113 \end_inset
7114
7115 Polish M.
7116 \begin_inset space \thinspace{}
7117 \end_inset
7118
7119 W.
7120 \begin_inset space \space{}
7121 \end_inset
7122
7123 collection
7124 \change_deleted 564990737 1670924933
7125 Article (mwart),
7126  book (mwbk) and report (mwrep)
7127 \begin_inset Argument status
7128 status collapsed
7129
7130 \begin_layout Plain Layout
7131 The 
7132 \family typewriter
7133 mw
7134 \family default
7135  Classes
7136 \end_layout
7137
7138 \end_inset
7139
7140
7141 \change_unchanged
7142
7143 \end_layout
7144
7145 \begin_layout Standard
7146 by 
7147 \noun on
7148 Tomasz Luczak
7149 \end_layout
7150
7151 \begin_layout Standard
7152 The \SpecialChar LyX
7153  document classes 
7154 \change_deleted -712698321 1673094342
7155
7156 \emph on
7157 article (mwart)
7158 \change_inserted -712698321 1673094343
7159 Polish Article (MW Bundle)
7160 \change_unchanged
7161
7162 \emph default
7163 ,
7164  
7165 \change_deleted -712698321 1673094349
7166
7167 \emph on
7168 report (mwrep)
7169 \change_inserted -712698321 1673094356
7170 Polish Report (MW Bundle)
7171 \change_unchanged
7172
7173 \emph default
7174  and 
7175 \change_deleted -712698321 1673094352
7176
7177 \emph on
7178 book
7179 \emph default
7180  
7181 \emph on
7182 (mwbk)
7183 \change_inserted -712698321 1673094359
7184 Polish Book (MW Bundle)
7185 \change_unchanged
7186
7187 \emph default
7188  correspond to the \SpecialChar LaTeX
7189  document classes 
7190 \family typewriter
7191 mwart.cls
7192 \family default
7193 ,
7194  
7195 \family typewriter
7196 mwrep.cls
7197 \family default
7198  and 
7199 \family typewriter
7200 mwbk.cls
7201 \family default
7202 ,
7203  resp.
7204  They are replacements for the standard document classes 
7205 \family typewriter
7206 article.cls
7207 \family default
7208 ,
7209  
7210 \family typewriter
7211 report.cls
7212 \family default
7213  and 
7214 \family typewriter
7215 book.cls
7216 \family default
7217 ,
7218  resp.,
7219  and fit better to Polish typography conventions in a number of points.
7220  
7221 \end_layout
7222
7223 \begin_layout Standard
7224 Basic differences:
7225 \end_layout
7226
7227 \begin_layout Itemize
7228 Unnumbered titles (with star,
7229  e.
7230 \begin_inset space \thinspace{}
7231 \end_inset
7232
7233 g.
7234 \begin_inset space \space{}
7235 \end_inset
7236
7237
7238 \family sans
7239 Section*
7240 \family default
7241 ) are added into table of contents,
7242 \end_layout
7243
7244 \begin_layout Itemize
7245 Additional page styles:
7246 \end_layout
7247
7248 \begin_deeper
7249 \begin_layout Description
7250 uheadings header with separated lines,
7251 \end_layout
7252
7253 \begin_layout Description
7254 myheadings custom header,
7255  contents headers via commands:
7256  
7257 \family typewriter
7258
7259 \backslash
7260 markright
7261 \family default
7262  and 
7263 \family typewriter
7264
7265 \backslash
7266 markboth
7267 \family default
7268 ,
7269 \end_layout
7270
7271 \begin_layout Description
7272 myuheadings custom header with separated lines,
7273 \end_layout
7274
7275 \begin_layout Description
7276 outer page number is placed on outer side of page
7277 \end_layout
7278
7279 \end_deeper
7280 \begin_layout Itemize
7281 Options 
7282 \end_layout
7283
7284 \begin_deeper
7285 \begin_layout Description
7286 rmheadings serif titles —
7287  default,
7288 \end_layout
7289
7290 \begin_layout Description
7291 sfheadings sansserif titles,
7292 \end_layout
7293
7294 \begin_layout Description
7295 authortitle on title page first placed is author next title —
7296  default,
7297 \end_layout
7298
7299 \begin_layout Description
7300 titleauthor on title page first placed is title next author,
7301 \end_layout
7302
7303 \begin_layout Description
7304 withmarginpar reserve place on page for margins.
7305 \end_layout
7306
7307 \end_deeper
7308 \begin_layout Subsection
7309
7310 \change_inserted 564990737 1672652245
7311 Tufte Collection
7312 \end_layout
7313
7314 \begin_layout Standard
7315
7316 \change_inserted 564990737 1672652245
7317 The document classes 
7318 \change_deleted -712698321 1673094404
7319
7320 \family sans
7321 book
7322 \begin_inset space \thinspace{}
7323 \end_inset
7324
7325 (Tufte)
7326 \change_inserted -712698321 1673094404
7327 Tufte Book
7328 \change_inserted 564990737 1672652245
7329
7330 \family default
7331  and 
7332 \change_deleted -712698321 1673094408
7333
7334 \family sans
7335 handout
7336 \begin_inset space \thinspace{}
7337 \end_inset
7338
7339 (Tufte)
7340 \change_inserted -712698321 1673094411
7341 Tufte Handout
7342 \change_inserted 564990737 1672652245
7343
7344 \family default
7345  use the 
7346 \family typewriter
7347 tufte-book.cls
7348 \family default
7349  and 
7350 \family typewriter
7351 tufte-handout.cls
7352 \family default
7353  document classes.
7354  Detailed information about these document classes can be found in 
7355 \family sans
7356 File\SpecialChar menuseparator
7357 Open Example\SpecialChar menuseparator
7358 Books\SpecialChar menuseparator
7359 Tufte Book
7360 \family default
7361  and 
7362 \family sans
7363 File\SpecialChar menuseparator
7364 Open Example\SpecialChar menuseparator
7365 Handouts\SpecialChar menuseparator
7366 Tufte Handout
7367 \family default
7368 .
7369 \end_layout
7370
7371 \begin_layout Section
7372
7373 \change_inserted 564990737 1670439534
7374 Articles
7375 \end_layout
7376
7377 \begin_layout Standard
7378
7379 \change_inserted 564990737 1670794710
7380 See also the document classes in the Collections (section
7381 \begin_inset space ~
7382 \end_inset
7383
7384
7385 \begin_inset CommandInset ref
7386 LatexCommand ref
7387 reference "sec:Collections"
7388 nolink "false"
7389
7390 \end_inset
7391
7392 ).
7393 \end_layout
7394
7395 \begin_layout Subsection
7396
7397 \change_deleted -712698321 1673095198
7398 A&A Paper
7399 \change_inserted -712698321 1673095198
7400 Astronomy & Astrophysics
7401 \change_inserted 564990737 1670794716
7402
7403 \end_layout
7404
7405 \begin_layout Standard
7406
7407 \change_inserted 564990737 1670794716
7408 Original by 
7409 \noun on
7410 Peter Sütterlin
7411 \noun default
7412 ;
7413  updated by the \SpecialChar LyX
7414  Team
7415 \end_layout
7416
7417 \begin_layout Subsubsection
7418
7419 \change_inserted 564990737 1670794716
7420 Introduction
7421 \end_layout
7422
7423 \begin_layout Standard
7424
7425 \change_inserted 564990737 1670794716
7426 This section describes how \SpecialChar LyX
7427  can be used to write articles for submission to the scientific journal 
7428 \emph on
7429 Astronomy 
7430 \change_deleted -712698321 1673095254
7431 and
7432 \change_inserted -712698321 1673095254
7433 &
7434 \change_inserted 564990737 1670794716
7435  Astrophysics
7436 \emph default
7437  (
7438 \begin_inset CommandInset href
7439 LatexCommand href
7440 name "aa-package"
7441 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
7442 literal "false"
7443
7444 \end_inset
7445
7446 ) using Version 9.1 of the document class 
7447 \family typewriter
7448 aa.cls
7449 \family default
7450 ;
7451  information about it is available at 
7452 \begin_inset Flex URL
7453 status collapsed
7454
7455 \begin_layout Plain Layout
7456
7457 \change_inserted 564990737 1670794716
7458
7459 https://www.aanda.org/for-authors/latex-issues/texnical-background-information
7460 \change_unchanged
7461
7462 \end_layout
7463
7464 \end_inset
7465
7466 .
7467 \end_layout
7468
7469 \begin_layout Standard
7470
7471 \change_inserted 564990737 1670794716
7472 A manual comes together with the package and should be consulted before installing this document class as described in the 
7473 \emph on
7474 Installing New Document Classe
7475 \emph default
7476 s section of the 
7477 \emph on
7478 Customization
7479 \emph default
7480  manual.
7481  
7482 \end_layout
7483
7484 \begin_layout Standard
7485
7486 \change_inserted 564990737 1670794716
7487 \begin_inset Note Greyedout
7488 status open
7489
7490 \begin_layout Plain Layout
7491
7492 \change_inserted 564990737 1670794716
7493 Please note that the publisher of the journal was changed from Springer to EDP Sciences starting January 1,
7494  2001.
7495  That change also involved some slight changes to the style files,
7496  namely the removal of the thesaurus command.
7497  If you have an older version installed,
7498  please upgrade.
7499  For information about compatibility with the old (version 4) layout,
7500  please refer to the comments in 
7501 \family typewriter
7502 \SpecialChar LyX
7503 Dir/layouts/aapaper.layout
7504 \family default
7505 .
7506 \end_layout
7507
7508 \end_inset
7509
7510
7511 \end_layout
7512
7513 \begin_layout Subsubsection
7514
7515 \change_inserted 564990737 1670794716
7516 Getting started
7517 \end_layout
7518
7519 \begin_layout Standard
7520
7521 \change_inserted 564990737 1671617129
7522 It is recommended you start from the template in the menu 
7523 \family sans
7524 \bar under
7525 F
7526 \bar default
7527 ile\SpecialChar menuseparator
7528 New
7529 \begin_inset space ~
7530 \end_inset
7531
7532 fro
7533 \bar under
7534 m
7535 \bar default
7536
7537 \begin_inset space ~
7538 \end_inset
7539
7540 Template\SpecialChar menuseparator
7541 Articles\SpecialChar menuseparator
7542 Astronomy & Astrophysics
7543 \family default
7544 .
7545  If you are not using the template,
7546  note the following settings:
7547 \end_layout
7548
7549 \begin_layout Itemize
7550
7551 \change_inserted 564990737 1670794716
7552 Select 
7553 \change_deleted -712698321 1673095619
7554
7555 \family sans
7556 article (A&A)
7557 \change_inserted -712698321 1673095619
7558 Astronomy & Astrophysics
7559 \change_inserted 564990737 1670794716
7560
7561 \family default
7562  in the 
7563 \family sans
7564 \bar under
7565 D
7566 \bar default
7567 ocument\SpecialChar menuseparator
7568
7569 \bar under
7570 S
7571 \bar default
7572 ettings\SpecialChar menuseparator
7573 Document
7574 \begin_inset space ~
7575 \end_inset
7576
7577 Class
7578 \family default
7579  dialog (OK,
7580  that one was obvious).
7581 \end_layout
7582
7583 \begin_layout Itemize
7584
7585 \change_inserted 564990737 1670794716
7586 Don't change the 
7587 \family sans
7588 Headings
7589 \begin_inset space ~
7590 \end_inset
7591
7592
7593 \bar under
7594 s
7595 \bar default
7596 tyle
7597 \family default
7598  in the 
7599 \family sans
7600 Page
7601 \begin_inset space ~
7602 \end_inset
7603
7604 Layout
7605 \family default
7606  dialog:
7607  leave it set to 
7608 \family sans
7609 Default
7610 \family default
7611 .
7612  The whole layout is done by the macros,
7613  you shouldn't change anything.
7614 \end_layout
7615
7616 \begin_layout Subsubsection
7617
7618 \change_inserted 564990737 1670794716
7619 The header block
7620 \end_layout
7621
7622 \begin_layout Standard
7623
7624 \change_inserted 564990737 1670794716
7625 First thing to enter is the header information.
7626  It consists of 
7627 \change_deleted -712698321 1673167006
7628 five
7629 \change_inserted -712698321 1673167007
7630 seven
7631 \change_inserted 564990737 1670794716
7632  entries,
7633  of which one is optional.
7634  They are
7635 \end_layout
7636
7637 \begin_layout Itemize
7638
7639 \change_inserted 564990737 1670794716
7640
7641 \family sans
7642 Title
7643 \family default
7644 :
7645  [required] 
7646 \end_layout
7647
7648 \begin_layout Itemize
7649
7650 \change_inserted 564990737 1670794716
7651
7652 \family sans
7653 Subtitle
7654 \family default
7655 :
7656  [optional] 
7657 \end_layout
7658
7659 \begin_layout Itemize
7660
7661 \change_inserted 564990737 1670794716
7662
7663 \family sans
7664 Author
7665 \family default
7666 :
7667  [required]
7668 \end_layout
7669
7670 \begin_layout Itemize
7671
7672 \change_deleted -712698321 1673167065
7673
7674 \family sans
7675 Institute
7676 \change_inserted -712698321 1673167065
7677 Address
7678 \change_inserted 564990737 1670794716
7679
7680 \family default
7681 :
7682  [required]
7683 \change_inserted -712698321 1673167087
7684
7685 \end_layout
7686
7687 \begin_layout Itemize
7688
7689 \change_inserted -712698321 1673168577
7690
7691 \family sans
7692 Offprints
7693 \family default
7694  [optional].
7695  Determines to whom correspondence and reprints are to be sent.
7696 \end_layout
7697
7698 \begin_layout Itemize
7699
7700 \change_inserted -712698321 1673168590
7701
7702 \family sans
7703 Mail
7704 \family default
7705  [optional] Snail mail address for contacts.
7706 \change_inserted 564990737 1670794716
7707
7708 \end_layout
7709
7710 \begin_layout Itemize
7711
7712 \change_inserted 564990737 1670794716
7713
7714 \family sans
7715 Date
7716 \family default
7717 :
7718  [required].
7719  Suggested format is 
7720 \family typewriter
7721 Received:
7722  <date>;
7723  Accepted <date> 
7724 \end_layout
7725
7726 \begin_layout Standard
7727
7728 \change_inserted -712698321 1673168612
7729 There is no need to issue the 
7730 \family typewriter
7731
7732 \backslash
7733 maketitle
7734 \family default
7735  command,
7736  this is done automatically by \SpecialChar LyX
7737  when the header is finished.
7738  
7739 \change_inserted 564990737 1670794716
7740 Although the order of the single header entries doesn't matter it is advised to keep the above sequence,
7741  just to get the best optics and meets the layout of the real document.
7742 \end_layout
7743
7744 \begin_layout Standard
7745
7746 \change_inserted 564990737 1670794716
7747 If you want to place footnotes in the header block,
7748  e.
7749 \begin_inset space \thinspace{}
7750 \end_inset
7751
7752 g.
7753 \begin_inset space \space{}
7754 \end_inset
7755
7756 to state your present address,
7757  just use the standard footnote via the menu 
7758 \family sans
7759 \bar under
7760 I
7761 \bar default
7762 nsert\SpecialChar menuseparator
7763
7764 \bar under
7765 F
7766 \bar default
7767 ootnote.
7768
7769 \family default
7770  \SpecialChar LyX
7771  will automagically use the term 
7772 \family typewriter
7773
7774 \backslash
7775 thanks{}
7776 \family default
7777  in that case.
7778 \change_inserted -712698321 1673168649
7779
7780 \end_layout
7781
7782 \begin_layout Standard
7783
7784 \change_inserted -712698321 1673168649
7785 Under 
7786 \family sans
7787 Edit\SpecialChar menuseparator
7788 Text Style
7789 \family default
7790 ,
7791  you'll find two insets which are relevant for the titling:
7792 \end_layout
7793
7794 \begin_layout Itemize
7795
7796 \change_inserted -712698321 1673168649
7797
7798 \family sans
7799 Institute
7800 \family typewriter
7801  
7802 \family default
7803 to mark corresponding author\SpecialChar breakableslash
7804 institute pairs.
7805  The institutes are numbered sequentially as they appear in the 
7806 \family sans
7807 Address
7808 \family default
7809  field,
7810  so you have to put a marker to each author.
7811 \end_layout
7812
7813 \begin_layout Itemize
7814
7815 \change_inserted -712698321 1673168649
7816
7817 \family sans
7818 Email
7819 \family default
7820  to supply an email address for fast contact.
7821 \change_inserted 564990737 1670794716
7822
7823 \end_layout
7824
7825 \begin_layout Standard
7826
7827 \change_inserted 564990737 1670794716
7828 In addition to these topics,
7829  the macros use three additional \SpecialChar LaTeX
7830  commands that have no counterpart in \SpecialChar LyX
7831 :
7832 \end_layout
7833
7834 \begin_layout Itemize
7835
7836 \change_inserted 564990737 1670794716
7837
7838 \family typewriter
7839
7840 \backslash
7841 and
7842 \family default
7843  to separate different names for more than one author and institute,
7844  respectively.
7845 \end_layout
7846
7847 \begin_layout Itemize
7848
7849 \change_deleted -712698321 1673168671
7850
7851 \family typewriter
7852
7853 \backslash
7854 inst{<nr>}
7855 \family default
7856  to mark corresponding author/institute pairs.
7857  The institutes are numbered sequentially as they appear in the 
7858 \family sans
7859 Institute
7860 \family default
7861  field,
7862  so you have to put a marker to each author.
7863 \end_layout
7864
7865 \begin_layout Itemize
7866
7867 \change_deleted -712698321 1673168671
7868
7869 \family typewriter
7870
7871 \backslash
7872 email{address}
7873 \family default
7874  to supply an email address for fast contact.
7875 \change_inserted 564990737 1670794716
7876
7877 \end_layout
7878
7879 \begin_layout Standard
7880
7881 \change_deleted -712698321 1673168684
7882 In all cases,
7883  t
7884 \change_inserted -712698321 1673168684
7885 T
7886 \change_inserted 564990737 1671642374
7887 he appropriate command has to be entered as \SpecialChar TeX
7888  code in \SpecialChar LyX
7889 .
7890  See the examples in the template and in 
7891 \family sans
7892 File\SpecialChar menuseparator
7893 Open Example\SpecialChar menuseparator
7894 Articles\SpecialChar menuseparator
7895 Astronomy & Astrophysics
7896 \family default
7897 .
7898 \change_unchanged
7899
7900 \end_layout
7901
7902 \begin_layout Subsubsection
7903
7904 \change_inserted 564990737 1670794716
7905 The abstract
7906 \end_layout
7907
7908 \begin_layout Standard
7909
7910 \change_inserted -712698321 1673168754
7911 The abstract should immediately follow the header block.
7912  With version 5 the abstract environment was changed to a command,
7913  and there is now a restriction to only one paragraph.
7914  In addition,
7915  it should contain an entry with the keywords.
7916  This is done via the paragraph style 
7917 \family sans
7918 Keywords
7919 \family default
7920 .
7921  Refer to the example paper.
7922 \change_deleted -712698321 1673168754
7923 The abstract should immediately follow the header block and must contain five tokens:
7924  
7925 \family typewriter
7926
7927 \backslash
7928 abstract{}{}{}{}{}
7929 \family default
7930  
7931 \end_layout
7932
7933 \begin_layout Enumerate
7934
7935 \change_deleted -712698321 1673168754
7936
7937 \family typewriter
7938 context heading
7939 \family default
7940  (optional) {} leave it empty if necessary 
7941 \end_layout
7942
7943 \begin_layout Enumerate
7944
7945 \change_deleted -712698321 1673168754
7946
7947 \family typewriter
7948 aims heading
7949 \family default
7950  (mandatory) {} 
7951 \end_layout
7952
7953 \begin_layout Enumerate
7954
7955 \change_deleted -712698321 1673168754
7956
7957 \family typewriter
7958 methods heading
7959 \family default
7960  (mandatory) {} 
7961 \end_layout
7962
7963 \begin_layout Enumerate
7964
7965 \change_deleted -712698321 1673168754
7966
7967 \family typewriter
7968 results heading
7969 \family default
7970  (mandatory) {} 
7971 \end_layout
7972
7973 \begin_layout Enumerate
7974
7975 \change_deleted -712698321 1673168754
7976
7977 \family typewriter
7978 conclusions heading
7979 \family default
7980  (optional) {} leave it empty if necessary 
7981 \end_layout
7982
7983 \begin_layout Standard
7984
7985 \change_deleted -712698321 1673168754
7986 (NB.
7987  This structure not shown in 
7988 \emph on
7989 aa_sample.lyx.
7990 \emph default
7991 )
7992 \change_inserted 564990737 1670794716
7993
7994 \end_layout
7995
7996 \begin_layout Subsubsection
7997
7998 \change_inserted 564990737 1670794716
7999 Supported environments
8000 \end_layout
8001
8002 \begin_layout Standard
8003
8004 \change_inserted 564990737 1670794716
8005 The A&A paper layout supports the following environments for structuring your text:
8006 \end_layout
8007
8008 \begin_layout Standard
8009
8010 \change_inserted -712698321 1673169058
8011
8012 \family sans
8013 \begin_inset Flex Multiple Columns
8014 status open
8015
8016 \begin_layout Itemize
8017
8018 \change_inserted -712698321 1673169058
8019
8020 \family sans
8021 Standard
8022 \end_layout
8023
8024 \begin_layout Itemize
8025
8026 \change_inserted -712698321 1673169058
8027
8028 \family sans
8029 Section
8030 \end_layout
8031
8032 \begin_layout Itemize
8033
8034 \change_inserted -712698321 1673169058
8035
8036 \family sans
8037 Subsection
8038 \end_layout
8039
8040 \begin_layout Itemize
8041
8042 \change_inserted -712698321 1673169058
8043
8044 \family sans
8045 Subsubsection
8046 \end_layout
8047
8048 \begin_layout Itemize
8049
8050 \change_inserted -712698321 1673169058
8051
8052 \family sans
8053 Itemize
8054 \end_layout
8055
8056 \begin_layout Itemize
8057
8058 \change_inserted -712698321 1673169058
8059
8060 \family sans
8061 Enumerate
8062 \end_layout
8063
8064 \begin_layout Itemize
8065
8066 \change_inserted -712698321 1673169058
8067
8068 \family sans
8069 Description
8070 \end_layout
8071
8072 \begin_layout Itemize
8073
8074 \change_inserted -712698321 1673169058
8075
8076 \family sans
8077 Caption
8078 \end_layout
8079
8080 \begin_layout Itemize
8081
8082 \change_inserted -712698321 1673169058
8083
8084 \family sans
8085 Abstract
8086 \end_layout
8087
8088 \begin_layout Itemize
8089
8090 \change_inserted -712698321 1673169058
8091
8092 \family sans
8093 Acknowledgment
8094 \end_layout
8095
8096 \begin_layout Itemize
8097
8098 \change_inserted -712698321 1673169058
8099
8100 \family sans
8101 Bibliography
8102 \end_layout
8103
8104 \begin_layout Itemize
8105
8106 \change_inserted -712698321 1673169078
8107 LaTeX
8108 \change_unchanged
8109
8110 \end_layout
8111
8112 \end_inset
8113
8114
8115 \change_deleted -712698321 1673169058
8116 Standard
8117 \end_layout
8118
8119 \begin_layout Itemize
8120
8121 \change_deleted -712698321 1673169058
8122
8123 \family sans
8124 Section
8125 \end_layout
8126
8127 \begin_layout Itemize
8128
8129 \change_deleted -712698321 1673169058
8130
8131 \family sans
8132 Subsection
8133 \end_layout
8134
8135 \begin_layout Itemize
8136
8137 \change_deleted -712698321 1673169058
8138
8139 \family sans
8140 Subsubsection
8141 \end_layout
8142
8143 \begin_layout Itemize
8144
8145 \change_deleted -712698321 1673169058
8146
8147 \family sans
8148 Itemize
8149 \end_layout
8150
8151 \begin_layout Itemize
8152
8153 \change_deleted -712698321 1673169058
8154
8155 \family sans
8156 Enumerate
8157 \end_layout
8158
8159 \begin_layout Itemize
8160
8161 \change_deleted -712698321 1673169058
8162
8163 \family sans
8164 Description
8165 \end_layout
8166
8167 \begin_layout Itemize
8168
8169 \change_deleted -712698321 1673169058
8170
8171 \family sans
8172 Caption
8173 \end_layout
8174
8175 \begin_layout Itemize
8176
8177 \change_deleted -712698321 1673169058
8178
8179 \family sans
8180 Abstract
8181 \end_layout
8182
8183 \begin_layout Itemize
8184
8185 \change_deleted -712698321 1673169058
8186
8187 \family sans
8188 Acknowledgment
8189 \end_layout
8190
8191 \begin_layout Itemize
8192
8193 \change_deleted -712698321 1673169058
8194
8195 \family sans
8196 Bibliography
8197 \end_layout
8198
8199 \begin_layout Itemize
8200
8201 \change_deleted -712698321 1673169058
8202
8203 \family sans
8204 \SpecialChar LaTeX
8205
8206 \change_inserted 564990737 1670794716
8207
8208 \end_layout
8209
8210 \begin_layout Subsubsection
8211
8212 \change_inserted 564990737 1670794716
8213 Commands not supported by \SpecialChar LyX
8214
8215 \end_layout
8216
8217 \begin_layout Standard
8218
8219 \change_inserted 564990737 1670794716
8220 Some commands are not yet supported by the 
8221 \change_deleted -712698321 1673169117
8222
8223 \family sans
8224 paper (A&A)
8225 \change_inserted -712698321 1673169117
8226 Astronomy & Astrophysics
8227 \change_inserted 564990737 1670794716
8228
8229 \family default
8230  layout for \SpecialChar LyX
8231 .
8232  Some have already been mentioned.
8233  For the sake of completeness,
8234  they are listed all together here:
8235 \end_layout
8236
8237 \begin_layout Itemize
8238
8239 \change_inserted 564990737 1670794716
8240
8241 \family typewriter
8242
8243 \backslash
8244 and
8245 \end_layout
8246
8247 \begin_layout Itemize
8248
8249 \change_inserted -712698321 1673168793
8250
8251 \family typewriter
8252
8253 \backslash
8254 authorrunning
8255 \end_layout
8256
8257 \begin_layout Itemize
8258
8259 \change_inserted -712698321 1673168793
8260
8261 \family typewriter
8262
8263 \backslash
8264 object{}
8265 \end_layout
8266
8267 \begin_layout Itemize
8268
8269 \change_inserted -712698321 1673168793
8270
8271 \family typewriter
8272
8273 \backslash
8274 titlerunning{}
8275 \change_deleted -712698321 1673168793
8276
8277 \backslash
8278 email
8279 \end_layout
8280
8281 \begin_layout Itemize
8282
8283 \change_deleted -712698321 1673168793
8284
8285 \family typewriter
8286
8287 \backslash
8288 inst{}
8289 \end_layout
8290
8291 \begin_layout Itemize
8292
8293 \change_deleted -712698321 1673168793
8294
8295 \family typewriter
8296
8297 \backslash
8298 keywords{}
8299 \end_layout
8300
8301 \begin_layout Itemize
8302
8303 \change_deleted -712698321 1673168793
8304
8305 \family typewriter
8306
8307 \backslash
8308 object{}
8309 \change_inserted 564990737 1670794716
8310
8311 \end_layout
8312
8313 \begin_layout Standard
8314
8315 \change_inserted 564990737 1670794716
8316 If you want to use any of these commands,
8317  you have to enter them yourself.
8318  Do not forget to use
8319 \family sans
8320  
8321 \bar under
8322 I
8323 \bar default
8324 nsert\SpecialChar menuseparator
8325 \SpecialChar TeX
8326
8327 \begin_inset space ~
8328 \end_inset
8329
8330 Code
8331 \family default
8332 !
8333 \end_layout
8334
8335 \begin_layout Subsubsection
8336
8337 \change_inserted 564990737 1670794716
8338 Figure and Table Floats
8339 \end_layout
8340
8341 \begin_layout Standard
8342
8343 \change_inserted 564990737 1670794716
8344 \SpecialChar LyX
8345  provides support for the necessary float environments 
8346 \family sans
8347 figure,
8348  figure*,
8349  table
8350 \family default
8351  and 
8352 \family sans
8353 table*
8354 \family default
8355 ,
8356  therefore we won't tell much about it here.
8357  Refer to the 
8358 \emph on
8359 User's
8360 \begin_inset space ~
8361 \end_inset
8362
8363 Guide
8364 \emph default
8365 .
8366  Just remember that tables should be left-aligned.
8367  For that,
8368  select the table and change the alignment in 
8369 \family sans
8370 \bar under
8371 E
8372 \bar default
8373 dit\SpecialChar menuseparator
8374
8375 \bar under
8376 P
8377 \bar default
8378 aragraph
8379 \begin_inset space ~
8380 \end_inset
8381
8382 Settings
8383 \change_inserted -712698321 1673169201
8384
8385 \family default
8386  (
8387 \begin_inset Info
8388 type  "icon"
8389 arg   "layout-paragraph"
8390 \end_inset
8391
8392 )
8393 \change_inserted 564990737 1670794716
8394
8395 \family sans
8396 .
8397 \end_layout
8398
8399 \begin_layout Standard
8400
8401 \change_inserted 564990737 1670794716
8402 There is only one special thing:
8403  the figures with a caption beside the figure.
8404  To create such a figure,
8405  you have to do the following:
8406 \end_layout
8407
8408 \begin_layout Enumerate
8409
8410 \change_inserted 564990737 1670794716
8411 Create a wide figure float:
8412  
8413 \family sans
8414 \bar under
8415 I
8416 \bar default
8417 nsert\SpecialChar menuseparator
8418 Flo
8419 \bar under
8420 a
8421 \bar default
8422 t\SpecialChar menuseparator
8423 Figure
8424 \family default
8425 ,
8426  then,
8427  from within the float,
8428  use the menu 
8429 \family sans
8430 \bar under
8431 E
8432 \bar default
8433 dit\SpecialChar menuseparator
8434 Flo
8435 \bar under
8436 a
8437 \bar default
8438 t
8439 \begin_inset space ~
8440 \end_inset
8441
8442 Settings
8443 \family default
8444  and check 
8445 \family sans
8446 \bar under
8447 S
8448 \bar default
8449 pan
8450 \begin_inset space ~
8451 \end_inset
8452
8453 columns
8454 \family default
8455  in the 
8456 \family sans
8457 float
8458 \family default
8459  dialog.
8460 \end_layout
8461
8462 \begin_layout Enumerate
8463
8464 \change_inserted 564990737 1670794716
8465 Enter your caption text.
8466 \end_layout
8467
8468 \begin_layout Enumerate
8469
8470 \change_inserted 564990737 1670794716
8471 Press 
8472 \family sans
8473 Return
8474 \family default
8475  to move the cursor above the caption.
8476 \end_layout
8477
8478 \begin_layout Enumerate
8479
8480 \change_inserted 564990737 1670794716
8481 Insert your figure
8482 \end_layout
8483
8484 \begin_layout Enumerate
8485
8486 \change_inserted 564990737 1670794716
8487 Position the cursor after the figure and insert a horizontal fill by using the menu:
8488  
8489 \family sans
8490 \bar under
8491 I
8492 \bar default
8493 nsert\SpecialChar menuseparator
8494 F
8495 \bar under
8496 o
8497 \bar default
8498 rmatting\SpecialChar menuseparator
8499 H
8500 \bar under
8501 o
8502 \bar default
8503 rizontal
8504 \begin_inset space ~
8505 \end_inset
8506
8507 Space
8508 \family default
8509  to open the 
8510 \family sans
8511 space
8512 \family default
8513  dialog and select the 
8514 \family sans
8515 Horizontal fill
8516 \family default
8517  option from the 
8518 \family sans
8519 \bar under
8520 S
8521 \bar default
8522 pacing
8523 \family default
8524  
8525 \change_deleted -712698321 1673169720
8526 pull-down
8527 \change_inserted -712698321 1673169724
8528 context
8529 \change_inserted 564990737 1670794716
8530  menu.
8531 \end_layout
8532
8533 \begin_layout Enumerate
8534
8535 \change_inserted 564990737 1670794716
8536 Switch to \SpecialChar LaTeX
8537  mode:
8538  
8539 \family sans
8540 M-c
8541 \begin_inset space ~
8542 \end_inset
8543
8544 t
8545 \family default
8546 .
8547 \end_layout
8548
8549 \begin_layout Enumerate
8550
8551 \change_inserted 564990737 1670794716
8552 Enter 
8553 \family typewriter
8554
8555 \backslash
8556 parbox[b]{55mm}{
8557 \family default
8558  
8559 \emph on
8560 Do not close the brace!
8561 \end_layout
8562
8563 \begin_layout Enumerate
8564
8565 \change_inserted 564990737 1670794716
8566 Position the cursor behind the caption text,
8567  switch to \SpecialChar LaTeX
8568  mode and insert the closing brace:
8569  
8570 \family sans
8571 M-c
8572 \begin_inset space ~
8573 \end_inset
8574
8575 t
8576 \family default
8577  
8578 \family typewriter
8579 }
8580 \family default
8581 .
8582 \end_layout
8583
8584 \begin_layout Standard
8585
8586 \change_inserted 564990737 1671642458
8587 Also,
8588  refer to the figures in the file in 
8589 \family sans
8590 File\SpecialChar menuseparator
8591 Open Example\SpecialChar menuseparator
8592 Articles\SpecialChar menuseparator
8593 Astronomy & Astrophysics
8594 \family default
8595 .
8596 \end_layout
8597
8598 \begin_layout Subsubsection
8599
8600 \change_inserted 564990737 1670794716
8601 Referee layout
8602 \end_layout
8603
8604 \begin_layout Standard
8605
8606 \change_inserted 564990737 1670794716
8607 For submission,
8608  the paper has to be formatted in a special double-spacing layout.
8609  For this purpose,
8610  you have to add the option 
8611 \family typewriter
8612 referee
8613 \family default
8614  to the 
8615 \family sans
8616 Cus
8617 \bar under
8618 t
8619 \bar default
8620 om Class
8621 \begin_inset space ~
8622 \end_inset
8623
8624 options
8625 \family default
8626  in the 
8627 \family sans
8628 \bar under
8629 D
8630 \bar default
8631 ocument\SpecialChar menuseparator
8632
8633 \bar under
8634 S
8635 \bar default
8636 ettings\SpecialChar menuseparator
8637 Document
8638 \begin_inset space ~
8639 \end_inset
8640
8641 Class
8642 \family default
8643  dialog.
8644  
8645 \end_layout
8646
8647 \begin_layout Subsubsection
8648
8649 \change_inserted 564990737 1670794716
8650 The example paper
8651 \end_layout
8652
8653 \begin_layout Standard
8654
8655 \change_inserted 564990737 1671642520
8656 The example in 
8657 \family sans
8658 File\SpecialChar menuseparator
8659 Open Example\SpecialChar menuseparator
8660 Articles\SpecialChar menuseparator
8661 Astronomy & Astrophysics
8662 \family default
8663  was written with \SpecialChar LyX
8664 .
8665  It is the example paper from the original macro package,
8666  
8667 \family typewriter
8668 aa.dem
8669 \family default
8670  in the 
8671 \begin_inset CommandInset href
8672 LatexCommand href
8673 name "aa-package"
8674 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
8675 literal "false"
8676
8677 \end_inset
8678
8679 ,
8680  but translated to \SpecialChar LyX
8681  using the older unstructured abstract type.
8682  Use it for inspiration,
8683  and compare the \SpecialChar LaTeX
8684  code in 
8685 \family typewriter
8686 aa.dem
8687 \family default
8688  with the \SpecialChar LyX
8689  way of writing.
8690 \end_layout
8691
8692 \begin_layout Subsection
8693 AAS\SpecialChar TeX
8694
8695 \end_layout
8696
8697 \begin_layout Standard
8698 by 
8699 \noun on
8700 Mike Ressler
8701 \end_layout
8702
8703 \begin_layout Subsubsection
8704 Introduction
8705 \end_layout
8706
8707 \begin_layout Standard
8708 AAS\SpecialChar TeX
8709  is a set of macros produced by the American Astronomical Society to facilitate electronic manuscript submission to the three journals they publish:
8710  the Astrophysical Journal (including the Letters and Supplement),
8711  the Astronomical Journal,
8712  and the Publications of the Astronomical Society of the Pacific.
8713  \SpecialChar LyX
8714  has proven to be an excellent tool for generating these documents,
8715  especially given its equation,
8716  citation,
8717  and figure handling capabilities.
8718  \SpecialChar LyX
8719  requires version 5.0 (or higher) of these macros;
8720  preferably 6.0,
8721  which is the version described here,
8722  or higher.
8723  Versions prior to 5.0 are intended for use with \SpecialChar LaTeX
8724 2.09 and are fundamentally incompatible with \SpecialChar LyX
8725 .
8726  The AAS\SpecialChar TeX
8727  package may be downloaded from the AAS\SpecialChar TeX
8728  Web site
8729 \end_layout
8730
8731 \begin_layout Standard
8732 \begin_inset VSpace medskip
8733 \end_inset
8734
8735
8736 \end_layout
8737
8738 \begin_layout Standard
8739 \align center
8740 \begin_inset Flex URL
8741 status collapsed
8742
8743 \begin_layout Plain Layout
8744
8745 https://aas.org/aastex/aastex-downloads
8746 \end_layout
8747
8748 \end_inset
8749
8750
8751 \end_layout
8752
8753 \begin_layout Standard
8754 \begin_inset VSpace medskip
8755 \end_inset
8756
8757
8758 \end_layout
8759
8760 \begin_layout Standard
8761 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
8762 .
8763  \SpecialChar LyX
8764  will not reduce the need to figure out all the AAS\SpecialChar TeX
8765  commands,
8766  it will only reduce the drudgery of typing everything in.
8767  It is your responsibility to ensure that the final exported \SpecialChar LaTeX
8768  document conforms completely to the requirements of the journal to which you are submitting your paper.
8769 \end_layout
8770
8771 \begin_layout Subsubsection
8772 Starting a New Paper
8773 \end_layout
8774
8775 \begin_layout Standard
8776 I strongly suggest that you start with the AAS\SpecialChar TeX
8777  template file.
8778  Click on 
8779 \family sans
8780 File\SpecialChar menuseparator
8781 New from
8782 \family default
8783  
8784 \family sans
8785 Template
8786 \change_inserted 564990737 1671617265
8787 \SpecialChar menuseparator
8788 Articles\SpecialChar menuseparator
8789 American Astronomical Society
8790 \change_deleted 564990737 1671617310
8791
8792 \family default
8793 ,
8794  enter the new file name,
8795  then choose the 
8796 \family typewriter
8797 aastex6.lyx
8798 \family default
8799  template
8800 \change_unchanged
8801 .
8802  This will show the most common fields found in a manuscript.
8803  Simply overwrite the existing text (including the brackets,
8804  
8805 \family typewriter
8806 <>
8807 \family default
8808 ) with the correct information.
8809  Many of the AAS\SpecialChar TeX
8810  commands and environments can be implemented directly in \SpecialChar LyX
8811 ,
8812  but some cannot.
8813  For commands such as these,
8814  the \SpecialChar LaTeX
8815  code must be entered directly and marked as such.
8816  Such commands are referred to as \SpecialChar TeX
8817  code,
8818  or Evil Red Text.
8819  I tried to minimize the amount of \SpecialChar TeX
8820  code needed in an AAS\SpecialChar TeX
8821  document.
8822 \end_layout
8823
8824 \begin_layout Subsubsection
8825 Finishing Your Paper
8826 \end_layout
8827
8828 \begin_layout Standard
8829 When the paper is finished to your satisfaction and previews/prints correctly,
8830  there are a few 
8831 \begin_inset Quotes eld
8832 \end_inset
8833
8834 postprocessing
8835 \begin_inset Quotes erd
8836 \end_inset
8837
8838  actions which need to be done before you submit it to the journals.
8839  
8840 \end_layout
8841
8842 \begin_layout Enumerate
8843 Export your paper as a \SpecialChar LaTeX
8844  file (
8845 \family sans
8846 File\SpecialChar menuseparator
8847 Export\SpecialChar menuseparator
8848 \SpecialChar LaTeX
8849
8850 \family default
8851 ).
8852  
8853 \end_layout
8854
8855 \begin_layout Enumerate
8856 Edit the resulting 
8857 \family typewriter
8858 .tex
8859 \family default
8860  file with your favorite text editor
8861 \end_layout
8862
8863 \begin_deeper
8864 \begin_layout Enumerate
8865 remove the comment lines before the 
8866 \family typewriter
8867
8868 \backslash
8869 documentclass
8870 \family default
8871  command
8872 \end_layout
8873
8874 \begin_layout Enumerate
8875 remove the 
8876 \family typewriter
8877
8878 \backslash
8879 usepackage...{fontenc}
8880 \family default
8881  line if it appears (usually just after 
8882 \family typewriter
8883
8884 \backslash
8885 documentclass
8886 \family default
8887 };
8888  also remove the 
8889 \family typewriter
8890
8891 \backslash
8892 secnumdepth
8893 \family default
8894  line if it appears.
8895 \end_layout
8896
8897 \begin_layout Enumerate
8898 remove everything between (and including) the 
8899 \family typewriter
8900
8901 \backslash
8902 makeatletter
8903 \family default
8904  and 
8905 \family typewriter
8906
8907 \backslash
8908 makeatother
8909 \family default
8910  commands,
8911  except for any commands you specifically put into the \SpecialChar LaTeX
8912  preamble (which should appear immediately after the 
8913 \begin_inset Quotes eld
8914 \end_inset
8915
8916 User specified \SpecialChar LaTeX
8917  commands
8918 \begin_inset Quotes erd
8919 \end_inset
8920
8921  comment in the 
8922 \family typewriter
8923 .tex
8924 \family default
8925  file).
8926 \end_layout
8927
8928 \end_deeper
8929 \begin_layout Enumerate
8930 Run the resulting file through \SpecialChar LaTeX
8931  to make sure it still processes correctly.
8932 \end_layout
8933
8934 \begin_layout Enumerate
8935 Reread the journal requirements to make sure your filenames and formats are correct.
8936 \end_layout
8937
8938 \begin_layout Enumerate
8939 Submit it.
8940 \end_layout
8941
8942 \begin_layout Subsubsection
8943 Comments On Specific Commands
8944 \end_layout
8945
8946 \begin_layout Standard
8947 I will not describe the detailed usage of the individual AAS\SpecialChar TeX
8948  commands:
8949  the AAS\SpecialChar TeX
8950  User Guide (
8951 \family typewriter
8952 aasguide.tex
8953 \family default
8954 ) gives a good description of each.
8955  Thus it's probably easiest for me to go down the list as found in the guide and offer comments where necessary.
8956  So let's begin \SpecialChar ldots
8957
8958 \end_layout
8959
8960 \begin_layout Paragraph
8961 Things that work as expected
8962 \end_layout
8963
8964 \begin_layout Standard
8965 Because they work as you might expect,
8966  I simply list them and the section they are found in:
8967  
8968 \family typewriter
8969
8970 \backslash
8971 documentclass
8972 \family default
8973  (2.1.1),
8974  
8975 \family typewriter
8976
8977 \backslash
8978 begin{document}
8979 \family default
8980  (2.2),
8981  
8982 \family typewriter
8983
8984 \backslash
8985 title
8986 \family default
8987  (2.3),
8988  
8989 \family typewriter
8990
8991 \backslash
8992 author
8993 \family default
8994  (2.3),
8995  
8996 \family typewriter
8997
8998 \backslash
8999 affil
9000 \family default
9001  (2.3),
9002  
9003 \family typewriter
9004
9005 \backslash
9006 abstract
9007 \family default
9008  (2.4),
9009  
9010 \family typewriter
9011
9012 \backslash
9013 keywords
9014 \family default
9015  (2.5),
9016  
9017 \family typewriter
9018
9019 \backslash
9020 section
9021 \family default
9022  (2.7),
9023  
9024 \family typewriter
9025
9026 \backslash
9027 subsection
9028 \family default
9029  (2.7),
9030  
9031 \family typewriter
9032
9033 \backslash
9034 subsubsection
9035 \family default
9036  (2.7),
9037  
9038 \family typewriter
9039
9040 \backslash
9041 paragraph
9042 \family default
9043  (2.7),
9044  
9045 \family typewriter
9046
9047 \backslash
9048 facility
9049 \family default
9050  (2.10),
9051  
9052 \family typewriter
9053
9054 \backslash
9055 begin{displaymath}
9056 \family default
9057  (2.12),
9058  
9059 \family typewriter
9060
9061 \backslash
9062 begin{equation}
9063 \family default
9064  (2.12),
9065  
9066 \family typewriter
9067
9068 \backslash
9069 begin{eqnarray}
9070 \family default
9071  (2.12),
9072  
9073 \family typewriter
9074
9075 \backslash
9076 begin{mathletters}
9077 \family default
9078  (2.12),
9079  
9080 \family typewriter
9081
9082 \backslash
9083 begin{thebibliography}
9084 \family default
9085  (2.13.1),
9086  
9087 \family typewriter
9088
9089 \backslash
9090 bibitem
9091 \family default
9092  (2.13.2),
9093  all the cite commands and their variations (2.13.2),
9094  the generic graphicx figure commands (2.14.1),
9095  
9096 \family typewriter
9097
9098 \backslash
9099 begin{table}
9100 \family default
9101  (2.15.4),
9102  
9103 \family typewriter
9104
9105 \backslash
9106 begin{tabular}
9107 \family default
9108  (2.15.4),
9109  
9110 \family typewriter
9111
9112 \backslash
9113 caption
9114 \family default
9115  (2.15.4),
9116  
9117 \family typewriter
9118
9119 \backslash
9120 label
9121 \family default
9122  (2.15.4,
9123  amongst other places),
9124  
9125 \family typewriter
9126
9127 \backslash
9128 tablerefs
9129 \family default
9130  (2.15.5),
9131  
9132 \family typewriter
9133
9134 \backslash
9135 tablecomments
9136 \family default
9137  (2.15.5),
9138  
9139 \family typewriter
9140
9141 \backslash
9142 url
9143 \family default
9144  (2.17.4),
9145  
9146 \family typewriter
9147
9148 \backslash
9149 end{document}
9150 \family default
9151  (2.18).
9152 \end_layout
9153
9154 \begin_layout Standard
9155 The following style options also work correctly:
9156  
9157 \family typewriter
9158 longabstract
9159 \family default
9160  (2.4),
9161  
9162 \family typewriter
9163 preprint
9164 \family default
9165  (3.2.1),
9166  
9167 \family typewriter
9168 preprint2
9169 \family default
9170  (3.2.2),
9171  
9172 \family typewriter
9173 eqsecnum
9174 \family default
9175  (3.3),
9176  
9177 \family typewriter
9178 flushrt
9179 \family default
9180  (3.4).
9181  Simply put them in the 
9182 \family sans
9183 Options
9184 \family default
9185  box in 
9186 \family sans
9187 Layout\SpecialChar menuseparator
9188 Document
9189 \family default
9190 .
9191 \end_layout
9192
9193 \begin_layout Paragraph
9194 Things that work,
9195  but require more comment
9196 \end_layout
9197
9198 \begin_layout Standard
9199 The following items work,
9200  but require a little more discussion:
9201 \end_layout
9202
9203 \begin_layout Itemize
9204 These items are reserved for use by the journal editors,
9205  but you can put them into the \SpecialChar LaTeX
9206  preamble if you feel compelled to do so:
9207  
9208 \family typewriter
9209
9210 \backslash
9211 received
9212 \family default
9213 ,
9214  
9215 \family typewriter
9216
9217 \backslash
9218 revised
9219 \family default
9220 ,
9221  
9222 \family typewriter
9223
9224 \backslash
9225 accepted
9226 \family default
9227 ,
9228  
9229 \family typewriter
9230
9231 \backslash
9232 ccc
9233 \family default
9234 ,
9235  
9236 \family typewriter
9237
9238 \backslash
9239 cpright
9240 \family default
9241  (all from 2.1.3)
9242 \end_layout
9243
9244 \begin_layout Itemize
9245 These items may be placed in the \SpecialChar LaTeX
9246  preamble,
9247  and are included as blanks in the template file:
9248  
9249 \family typewriter
9250
9251 \backslash
9252 slugcomment
9253 \family default
9254  (2.1.4),
9255  
9256 \family typewriter
9257
9258 \backslash
9259 shorttitle
9260 \family default
9261  (2.1.5),
9262  
9263 \family typewriter
9264
9265 \backslash
9266 shortauthors
9267 \family default
9268  (2.1.5)
9269 \end_layout
9270
9271 \begin_layout Itemize
9272
9273 \family typewriter
9274
9275 \backslash
9276 email
9277 \family default
9278  (2.3) – can only be used 
9279 \begin_inset Quotes eld
9280 \end_inset
9281
9282 standalone
9283 \begin_inset Quotes erd
9284 \end_inset
9285
9286 ,
9287  not in the middle of a paragraph.
9288  Use \SpecialChar TeX
9289  code if you need to embed it.
9290 \end_layout
9291
9292 \begin_layout Itemize
9293
9294 \family typewriter
9295
9296 \backslash
9297 and
9298 \family default
9299  (2.3) – will have extra {} after it.
9300  This should not cause an error.
9301 \end_layout
9302
9303 \begin_layout Itemize
9304
9305 \family typewriter
9306
9307 \backslash
9308 notetoeditor
9309 \family default
9310  (2.6) – can only be used 
9311 \begin_inset Quotes eld
9312 \end_inset
9313
9314 standalone
9315 \begin_inset Quotes erd
9316 \end_inset
9317
9318 ,
9319  not in the middle of a paragraph.
9320  Use \SpecialChar TeX
9321  code if you need to embed it.
9322 \end_layout
9323
9324 \begin_layout Itemize
9325
9326 \family typewriter
9327
9328 \backslash
9329 placetable
9330 \family default
9331  (2.8) – can't insert a cross-reference tag,
9332  you must type the tag name by hand
9333 \end_layout
9334
9335 \begin_layout Itemize
9336
9337 \family typewriter
9338
9339 \backslash
9340 placefigure
9341 \family default
9342  (2.8) – same as for 
9343 \family typewriter
9344
9345 \backslash
9346 placetable
9347 \end_layout
9348
9349 \begin_layout Itemize
9350
9351 \family typewriter
9352
9353 \backslash
9354 acknowledgements
9355 \family default
9356  (2.9) – will have extra {} after it.
9357  This should not cause an error.
9358 \end_layout
9359
9360 \begin_layout Itemize
9361
9362 \family typewriter
9363
9364 \backslash
9365 appendix
9366 \family default
9367  (2.11) – will have extra {} after it.
9368  This should not cause an error.
9369 \end_layout
9370
9371 \begin_layout Itemize
9372
9373 \family typewriter
9374
9375 \backslash
9376 figcaption
9377 \family default
9378  (2.14.2) – you can insert an optional filename argument by placing the cursor at the beginning of the text and selecting 
9379 \family sans
9380 Insert\SpecialChar menuseparator
9381 Short Title
9382 \family default
9383 .
9384  
9385 \begin_inset Quotes eld
9386 \end_inset
9387
9388 Short Title
9389 \begin_inset Quotes erd
9390 \end_inset
9391
9392  inserts an optional argument of the type needed by 
9393 \family typewriter
9394
9395 \backslash
9396 figcaption
9397 \family default
9398 .
9399  Hopefully it will be renamed someday.
9400 \end_layout
9401
9402 \begin_layout Itemize
9403
9404 \family typewriter
9405
9406 \backslash
9407 objectname
9408 \family default
9409  (2.17.1) – same as 
9410 \family typewriter
9411
9412 \backslash
9413 figcaption
9414 \family default
9415  for the catalog ID optional parameter
9416 \end_layout
9417
9418 \begin_layout Itemize
9419
9420 \family typewriter
9421
9422 \backslash
9423 dataset
9424 \family default
9425  (2.17.1) – same as 
9426 \family typewriter
9427
9428 \backslash
9429 figcaption
9430 \family default
9431  for the catalog ID optional parameter
9432 \end_layout
9433
9434 \begin_layout Paragraph
9435 Things not implemented,
9436  use \SpecialChar TeX
9437  code
9438 \end_layout
9439
9440 \begin_layout Standard
9441
9442 \family typewriter
9443
9444 \backslash
9445 eqnum
9446 \family default
9447  (2.12),
9448  
9449 \family typewriter
9450
9451 \backslash
9452 setcounter{equation}
9453 \family default
9454  (2.12),
9455  Journal name abbreviations (2.13.4),
9456  
9457 \family typewriter
9458
9459 \backslash
9460 figurenum
9461 \family default
9462  (2.14.1),
9463  
9464 \family typewriter
9465
9466 \backslash
9467 epsscale
9468 \family default
9469  (2.14.1),
9470  
9471 \family typewriter
9472
9473 \backslash
9474 plotone
9475 \family default
9476  (2.14.1),
9477  
9478 \family typewriter
9479
9480 \backslash
9481 plottwo
9482 \family default
9483  (2.14.1),
9484  
9485 \family typewriter
9486
9487 \backslash
9488 tablenum
9489 \family default
9490  (2.15.4),
9491  
9492 \family typewriter
9493
9494 \backslash
9495 tableline
9496 \family default
9497  (2.15.4,
9498  insert it as the first element in the lefthand cell after where you want it.
9499  Don't use any of \SpecialChar LyX
9500 's rules in the table),
9501  
9502 \family typewriter
9503
9504 \backslash
9505 tablenotemark
9506 \family default
9507  (2.15.5),
9508  
9509 \family typewriter
9510
9511 \backslash
9512 tablenotetext
9513 \family default
9514  (2.15.5),
9515  much of Misc (2.17,
9516  except 
9517 \family typewriter
9518
9519 \backslash
9520 objectname
9521 \family default
9522 ,
9523  
9524 \family typewriter
9525
9526 \backslash
9527 dataset
9528 \family default
9529 ,
9530  
9531 \family typewriter
9532
9533 \backslash
9534 url
9535 \family default
9536 ,
9537  and 
9538 \family typewriter
9539
9540 \backslash
9541 email
9542 \family default
9543 ;
9544  see above),
9545  
9546 \family typewriter
9547
9548 \backslash
9549 singlespace
9550 \family default
9551  (3.1),
9552  
9553 \family typewriter
9554
9555 \backslash
9556 doublespace
9557 \family default
9558  (3.1),
9559  
9560 \family typewriter
9561
9562 \backslash
9563 onecolumn
9564 \family default
9565  (3.2),
9566  
9567 \family typewriter
9568
9569 \backslash
9570 twocolumn
9571 \family default
9572  (3.2)
9573 \end_layout
9574
9575 \begin_layout Paragraph
9576 Things that cannot be implemented
9577 \end_layout
9578
9579 \begin_layout Standard
9580 \SpecialChar ldots
9581  at least in any meaningful sort of way,
9582  so I suggest ignoring them.
9583  They are the references environment (2.13.3),
9584  and the deluxetable environment (2.15).
9585  If you really,
9586  really need to use deluxetable,
9587  I suggest editing it in a separate file with a text editor,
9588  then using 
9589 \family sans
9590 Insert\SpecialChar menuseparator
9591 Child
9592 \begin_inset space ~
9593 \end_inset
9594
9595 Document
9596 \family default
9597  to include it in your \SpecialChar LyX
9598  document.
9599  See 
9600 \change_deleted 564990737 1671642564
9601 the 
9602 \family typewriter
9603 aas_sample.lyx
9604 \family default
9605  file to see
9606 \change_inserted 564990737 1671642618
9607
9608 \family sans
9609 File\SpecialChar menuseparator
9610 Open Example\SpecialChar menuseparator
9611 Articles\SpecialChar menuseparator
9612 American Astronomical Society
9613 \change_unchanged
9614
9615 \family default
9616  
9617 \change_inserted 564990737 1671642621
9618 for 
9619 \change_unchanged
9620 an example of this.
9621 \end_layout
9622
9623 \begin_layout Subsubsection
9624 FAQs,
9625  Tips,
9626  Tricks,
9627  and Other Ruminations
9628 \end_layout
9629
9630 \begin_layout Paragraph
9631 Getting \SpecialChar LyX
9632  and AAS\SpecialChar TeX
9633  to cooperate
9634 \end_layout
9635
9636 \begin_layout Standard
9637 It can be a bit tricky to get \SpecialChar LyX
9638  to recognize a new layout and document class.
9639  When all else fails,
9640  do this:
9641 \end_layout
9642
9643 \begin_layout Enumerate
9644 Make certain that \SpecialChar LaTeX
9645  can find AAS\SpecialChar TeX
9646 .
9647  Copy sample.tex (and perhaps table.tex) from the AAS\SpecialChar TeX
9648  distribution into a directory completely unrelated to \SpecialChar LaTeX
9649  or AAS\SpecialChar TeX
9650  and run \SpecialChar LaTeX
9651  on 
9652 \family typewriter
9653 sample.tex
9654 \family default
9655 .
9656 \end_layout
9657
9658 \begin_layout Enumerate
9659 Make certain that 
9660 \family typewriter
9661 aastex.layout
9662 \family default
9663  appears in \SpecialChar LyX
9664 's 
9665 \family typewriter
9666 layouts
9667 \family default
9668  folder
9669 \end_layout
9670
9671 \begin_layout Enumerate
9672 Rerun 
9673 \family sans
9674 Tools\SpecialChar menuseparator
9675 Reconfigure
9676 \family default
9677  in \SpecialChar LyX
9678 ,
9679  then restart \SpecialChar LyX
9680 .
9681 \end_layout
9682
9683 \begin_layout Enumerate
9684 Open a regular new file,
9685  not from a template.
9686  Does 
9687 \change_deleted -712698321 1673170671
9688 AAS\SpecialChar TeX
9689
9690 \change_inserted -712698321 1673170671
9691
9692 \family sans
9693 American Astronomical Society (AASTeX V.
9694 \begin_inset space \thinspace{}
9695 \end_inset
9696
9697 6)
9698 \change_unchanged
9699
9700 \family default
9701  appear in the class list in 
9702 \family sans
9703 Document\SpecialChar menuseparator
9704 Settings
9705 \family default
9706 ?
9707 \end_layout
9708
9709 \begin_layout Standard
9710 If you get a warning from an existing AAS\SpecialChar TeX
9711  document about not being able to find the AAS\SpecialChar TeX
9712  layout or a message about 
9713 \begin_inset Quotes eld
9714 \end_inset
9715
9716 You should not mix title layouts with normal ones
9717 \begin_inset Quotes erd
9718 \end_inset
9719
9720 ,
9721  things haven't been installed correctly.
9722 \end_layout
9723
9724 \begin_layout Paragraph
9725 \SpecialChar LaTeX
9726  error processing a table 
9727 \end_layout
9728
9729 \begin_layout Standard
9730 \SpecialChar LyX
9731 ,
9732  by default,
9733  attempts to center the table caption/title.
9734  This seems to produce a bad interaction in AAS\SpecialChar TeX
9735  so you should click somewhere in the caption/title,
9736  then select 
9737 \family sans
9738 Edit\SpecialChar menuseparator
9739 Paragraph
9740 \begin_inset space ~
9741 \end_inset
9742
9743 Settings
9744 \family default
9745 ,
9746  then set the 
9747 \family sans
9748 Alignment
9749 \family default
9750  to 
9751 \family sans
9752 Block
9753 \family default
9754 .
9755  This took care of it for me.
9756 \end_layout
9757
9758 \begin_layout Paragraph
9759 References
9760 \end_layout
9761
9762 \begin_layout Standard
9763 A couple of things:
9764  
9765 \change_inserted -712698321 1673170733
9766
9767 \end_layout
9768
9769 \begin_layout Enumerate
9770
9771 \change_deleted -712698321 1673170736
9772 1) 
9773 \change_unchanged
9774 I have noticed some funny spacing in the reference entries in the text.
9775  When you enter the bibliography item data,
9776  make sure their is 
9777 \emph on
9778 no
9779 \emph default
9780  space between the last author and the parenthesis setting off the year;
9781  
9782 \emph on
9783 e.
9784 \begin_inset space \thinspace{}
9785 \end_inset
9786
9787 g.
9788 \begin_inset space \space{}
9789 \end_inset
9790
9791
9792 \emph default
9793 type 
9794 \family typewriter
9795 Ressler(1992)
9796 \family default
9797 ,
9798  not 
9799 \family typewriter
9800 Ressler (1992)
9801 \family default
9802 .
9803  
9804 \change_deleted -712698321 1673170741
9805 2) 
9806 \change_inserted -712698321 1673170741
9807
9808 \end_layout
9809
9810 \begin_layout Enumerate
9811 Entering the references at all is not obvious.
9812  The easiest thing is to start typing your first reference at the end of the document,
9813  then mark it as type 
9814 \family sans
9815 References
9816 \family default
9817 .
9818  That will put a small gray box in front of what you just typed.
9819  Click on the box to fill in the rest of the information.
9820  For new references,
9821  go to the end of an existing reference and press return.
9822  That will create a new line with its own box,
9823  etc.
9824 \end_layout
9825
9826 \begin_layout Paragraph
9827 Including EPS files
9828 \end_layout
9829
9830 \begin_layout Standard
9831 Even though AAS\SpecialChar TeX
9832  provides its own figure commands (
9833 \family typewriter
9834
9835 \backslash
9836 plotone
9837 \family default
9838 ,
9839  for example),
9840  I much prefer \SpecialChar LaTeX
9841 's standard figure commands (with the default graphicx).
9842  You can insert the 
9843 \family typewriter
9844
9845 \backslash
9846 plotone
9847 \family default
9848 ,
9849  etc.
9850 \begin_inset space ~
9851 \end_inset
9852
9853 commands as \SpecialChar TeX
9854  code into a Figure Float box if you desire,
9855  but I never have much luck getting the layout right.
9856  With the standard graphics,
9857  \SpecialChar LyX
9858  will insert a 
9859 \family typewriter
9860
9861 \backslash
9862 usepackage{graphicx}
9863 \family default
9864  command into the \SpecialChar LaTeX
9865  preamble and handle the figures in the standard \SpecialChar LaTeX2e
9866  way,
9867  interspersing the figures in the text.
9868  I believe ApJ accepts figures exactly this way now;
9869  AJ might still use the 
9870 \begin_inset Quotes eld
9871 \end_inset
9872
9873 stack everything at the end
9874 \begin_inset Quotes erd
9875 \end_inset
9876
9877  technique.
9878 \end_layout
9879
9880 \begin_layout Paragraph
9881 Things I could have done,
9882  but didn't
9883 \end_layout
9884
9885 \begin_layout Standard
9886 There are a few 
9887 \begin_inset Quotes eld
9888 \end_inset
9889
9890 pretty
9891 \begin_inset Quotes erd
9892 \end_inset
9893
9894  things I could have implemented,
9895  but chose not to.
9896  For instance,
9897  I saw no point in double-spacing the text in the \SpecialChar LyX
9898  window,
9899  even though it is double-spaced in the paper manuscript.
9900  Also,
9901  I chose not to make separate layouts for the preprint and preprint2 styles.
9902  Since I assume you will spend most of your time in the plain manuscript mode anyway,
9903  I decided not to chew up more disk space with this.
9904  
9905 \end_layout
9906
9907 \begin_layout Subsubsection
9908 Final Caveat
9909 \end_layout
9910
9911 \begin_layout Standard
9912 Your mileage may vary.
9913  I've now had papers published by both ApJ and AJ that have had 98% of the effort done in \SpecialChar LyX
9914 ;
9915  the last 2% was the \SpecialChar LaTeX
9916  post-processing and a few cleanups.
9917  I have had no trouble with the submission process,
9918  and I'm sure the journals were never aware that there might be a difference.
9919  So,
9920  go forth and publish!
9921 \end_layout
9922
9923 \begin_layout Subsection
9924
9925 \change_inserted 564990737 1671442131
9926 Chess
9927 \end_layout
9928
9929 \begin_layout Standard
9930
9931 \change_inserted 564990737 1671642768
9932 The document class 
9933 \change_deleted -712698321 1673171415
9934
9935 \family sans
9936 article
9937 \begin_inset space \thinspace{}
9938 \end_inset
9939
9940 (
9941 \change_inserted 564990737 1671642768
9942 Chess
9943 \change_deleted -712698321 1673171417
9944 )
9945 \change_inserted 564990737 1671642768
9946
9947 \family default
9948  uses the 
9949 \change_deleted -712698321 1673171421
9950
9951 \family typewriter
9952 article.cls
9953 \family default
9954  
9955 \change_inserted -712698321 1673171424
9956 standard article 
9957 \change_inserted 564990737 1671642768
9958 document class together with the 
9959 \change_deleted -712698321 1673171428
9960 style
9961 \change_inserted -712698321 1673171429
9962 package
9963 \change_inserted 564990737 1671642768
9964  
9965 \family sans
9966 lyxskak
9967 \change_deleted -712698321 1673171431
9968 .sty
9969 \change_inserted 564990737 1671642768
9970
9971 \family default
9972  to facilitate the description of chess games.
9973  See 
9974 \family sans
9975 File\SpecialChar menuseparator
9976 Open Example\SpecialChar menuseparator
9977 Articles\SpecialChar menuseparator
9978 Chess
9979 \family default
9980  where you will find 
9981 \family sans
9982 Game 1
9983 \family default
9984  and 
9985 \family sans
9986 Game 2
9987 \family default
9988 .
9989 \end_layout
9990
9991 \begin_layout Subsection
9992
9993 \change_inserted 564990737 1671042028
9994 Elsevier
9995 \end_layout
9996
9997 \begin_layout Standard
9998
9999 \change_inserted 564990737 1671617396
10000 The document class 
10001 \change_deleted -712698321 1673171640
10002
10003 \family sans
10004 article
10005 \begin_inset space \thinspace{}
10006 \end_inset
10007
10008 (
10009 \change_inserted 564990737 1671617396
10010 Elsevier
10011 \change_deleted -712698321 1673171643
10012 )
10013 \change_inserted 564990737 1671617396
10014
10015 \family default
10016  provides 
10017 \change_inserted -712698321 1673171717
10018 support for 
10019 \change_inserted 564990737 1671617396
10020 the 
10021 \family typewriter
10022 elsarticle
10023 \change_deleted -712698321 1673171720
10024 .cls
10025 \change_inserted 564990737 1671617396
10026
10027 \family default
10028  
10029 \change_deleted -712698321 1673171728
10030 document
10031 \change_inserted -712698321 1673171728
10032 \SpecialChar LaTeX
10033
10034 \change_inserted 564990737 1671617396
10035  class
10036 \change_inserted -712698321 1673171744
10037  for journals in the Elsevier publishing house
10038 \change_inserted 564990737 1671617396
10039 .
10040  This provides the following additional environments:
10041  
10042 \family sans
10043 Title
10044 \begin_inset space ~
10045 \end_inset
10046
10047 footnote
10048 \family default
10049 ,
10050  
10051 \family sans
10052 Author
10053 \begin_inset space ~
10054 \end_inset
10055
10056 footnote
10057 \family default
10058 ,
10059  
10060 \family sans
10061 Corresponding
10062 \begin_inset space ~
10063 \end_inset
10064
10065 author
10066 \family default
10067 ,
10068  
10069 \family sans
10070 Address
10071 \family default
10072 ,
10073  
10074 \family sans
10075 Email
10076 \family default
10077  and 
10078 \family sans
10079 Keywords
10080 \family default
10081 .
10082  
10083 \change_inserted -712698321 1673172045
10084
10085 \end_layout
10086
10087 \begin_layout Standard
10088
10089 \change_inserted 564990737 1671617396
10090 A template is available in the menu 
10091 \family sans
10092 \bar under
10093 F
10094 \bar default
10095 ile\SpecialChar menuseparator
10096 New
10097 \begin_inset space ~
10098 \end_inset
10099
10100 fro
10101 \bar under
10102 m
10103 \bar default
10104
10105 \begin_inset space ~
10106 \end_inset
10107
10108 Template\SpecialChar menuseparator
10109 Articles\SpecialChar menuseparator
10110 Elsevier
10111 \family default
10112 .
10113  It has been customized with further environments and contains all the information you may need.
10114  However,
10115  the documentation is also available from 
10116 \begin_inset CommandInset href
10117 LatexCommand href
10118 name "CTAN"
10119 target "http://mirrors.ctan.org/macros/latex/contrib/elsarticle/doc/elsdoc.pdf"
10120 literal "false"
10121
10122 \end_inset
10123
10124 .
10125 \end_layout
10126
10127 \begin_layout Subsection
10128
10129 \change_inserted 564990737 1671042046
10130 Paper
10131 \end_layout
10132
10133 \begin_layout Standard
10134
10135 \change_inserted 564990737 1671042046
10136 The document class 
10137 \change_deleted -712698321 1673172423
10138
10139 \family sans
10140 article
10141 \begin_inset space \thinspace{}
10142 \end_inset
10143
10144 (paper
10145 \change_inserted -712698321 1673172423
10146 Paper (Standard Class)
10147 \change_deleted -712698321 1673172423
10148 )
10149 \change_inserted 564990737 1671042046
10150
10151 \family default
10152  provides an alternative to the 
10153 \change_deleted -712698321 1673172092
10154
10155 \family typewriter
10156 article.cls
10157 \change_inserted -712698321 1673172435
10158
10159 \family sans
10160 Article (Standard Class)
10161 \change_inserted 564990737 1671042046
10162
10163 \family default
10164  document class.
10165  It provides similar functionality,
10166  but you might prefer this layout with sans serif sections,
10167  headings,
10168  and more.
10169 \end_layout
10170
10171 \begin_layout Subsection
10172 Rev\SpecialChar TeX
10173 4
10174 \end_layout
10175
10176 \begin_layout Standard
10177 by 
10178 \noun on
10179 Amir Karger
10180 \end_layout
10181
10182 \begin_layout Standard
10183 \begin_inset VSpace bigskip
10184 \end_inset
10185
10186
10187 \end_layout
10188
10189 \begin_layout Standard
10190 \noindent
10191 The 
10192 \family sans
10193 Rev
10194 \change_deleted -712698321 1673172482
10195 tex
10196 \begin_inset space ~
10197 \end_inset
10198
10199 4
10200 \change_inserted -712698321 1673172487
10201 TeX (V.
10202 \begin_inset space \thinspace{}
10203 \end_inset
10204
10205 4)
10206 \change_unchanged
10207
10208 \family default
10209  textclass works with the American Physical Sociey's Rev\SpecialChar TeX
10210  4.0 (the 
10211 \begin_inset Formula $\beta$
10212 \end_inset
10213
10214  release of May,
10215  1999) class.
10216 \end_layout
10217
10218 \begin_layout Standard
10219 \SpecialChar LyX
10220  has a 
10221 \family sans
10222 R
10223 \change_deleted -712698321 1673172511
10224 evtex
10225 \change_inserted -712698321 1673172517
10226 EVTeX (obsolete)
10227 \change_unchanged
10228
10229 \family default
10230  textclass,
10231  which works with Rev\SpecialChar TeX
10232  3.1.
10233  However,
10234  v3.1 is basically obsolete,
10235  as it works with \SpecialChar LaTeX
10236  2.09.
10237  That means that it doesn't interact very well with \SpecialChar LyX
10238 ,
10239  which requires \SpecialChar LaTeX2e
10240 ,
10241  although it has been kludged to work.
10242  Since Rev\SpecialChar TeX
10243  4.0 has been designed to work much more cleanly with \SpecialChar LaTeX2e
10244 ,
10245  \SpecialChar LyX
10246  with the 
10247 \change_deleted -712698321 1673172538
10248
10249 \family sans
10250 Rev\SpecialChar TeX
10251
10252 \begin_inset space ~
10253 \end_inset
10254
10255 4
10256 \change_inserted -712698321 1673172538
10257 Revtex
10258 \begin_inset space ~
10259 \end_inset
10260
10261 4TeX (V.
10262 \begin_inset space \thinspace{}
10263 \end_inset
10264
10265 4)
10266 \change_unchanged
10267
10268 \family default
10269  textclass should also be pretty easy to use.
10270 \end_layout
10271
10272 \begin_layout Standard
10273 These documents are supposed to be used in 
10274 \emph on
10275 addition
10276 \emph default
10277  to the Rev\SpecialChar TeX
10278  4.0 documents,
10279  so we don't describe any of the special Rev\SpecialChar TeX
10280  macros,
10281  and assume you'll know what to put in the preamble if necessary.
10282 \end_layout
10283
10284 \begin_layout Subsubsection
10285 Installation
10286 \end_layout
10287
10288 \begin_layout Standard
10289 All you need to do is install Rev\SpecialChar TeX
10290  4,
10291  as described in the package's README file.
10292  The package can be found at The Rev\SpecialChar TeX
10293  4 Web Site 
10294 \begin_inset Flex URL
10295 status collapsed
10296
10297 \begin_layout Plain Layout
10298
10299 http://publish.aps.org/revtex4/
10300 \end_layout
10301
10302 \end_inset
10303
10304 .
10305  Install it somewhere that \SpecialChar LaTeX
10306  can see it.
10307  Test it by trying to \SpecialChar LaTeX
10308  a short Rev\SpecialChar TeX
10309  4 document in some random directory (i.
10310 \begin_inset space \thinspace{}
10311 \end_inset
10312
10313 e.
10314 \begin_inset space \space{}
10315 \end_inset
10316
10317 not the directory where you installed the class file.) Then,
10318  if you reconfigure \SpecialChar LyX
10319 ,
10320  it will find the class file and let you use the Rev\SpecialChar TeX
10321 4 textclass.
10322 \end_layout
10323
10324 \begin_layout Standard
10325 Probably the easiest way to get started is either to import a Rev\SpecialChar TeX
10326  4 document using 
10327 \family typewriter
10328 tex2lyx
10329 \family default
10330 ,
10331  or to use the 
10332 \family sans
10333 Revtex
10334 \begin_inset space ~
10335 \end_inset
10336
10337 4
10338 \family default
10339  template,
10340  found in 
10341 \change_deleted -712698321 1673172641
10342 the templates directory
10343 \change_inserted -712698321 1673172687
10344
10345 \family sans
10346 File\SpecialChar menuseparator
10347 New From Templates\SpecialChar menuseparator
10348 Articles
10349 \change_unchanged
10350
10351 \family default
10352 .
10353 \end_layout
10354
10355 \begin_layout Subsubsection
10356 Preamble Matter
10357 \end_layout
10358
10359 \begin_layout Standard
10360 Optional arguments to 
10361 \family typewriter
10362
10363 \backslash
10364 documentclass
10365 \family default
10366 ,
10367  like 
10368 \begin_inset Quotes eld
10369 \end_inset
10370
10371 preprint
10372 \begin_inset Quotes erd
10373 \end_inset
10374
10375  and 
10376 \begin_inset Quotes eld
10377 \end_inset
10378
10379 aps
10380 \begin_inset Quotes erd
10381 \end_inset
10382
10383 ,
10384  go in the 
10385 \family sans
10386 Extra
10387 \begin_inset space ~
10388 \end_inset
10389
10390 Options
10391 \family default
10392  field in the 
10393 \family sans
10394 Document
10395 \begin_inset space ~
10396 \end_inset
10397
10398 Layout
10399 \family default
10400  dialog,
10401  as usual.
10402  Remember that in Rev\SpecialChar TeX
10403 ,
10404  at least one optional argument is required!
10405  
10406 \end_layout
10407
10408 \begin_layout Standard
10409 Other preamble matter,
10410  like 
10411 \family typewriter
10412
10413 \backslash
10414 draft
10415 \family default
10416  etc.
10417 \begin_inset space ~
10418 \end_inset
10419
10420 goes in the 
10421 \family sans
10422 \SpecialChar LaTeX
10423
10424 \begin_inset space ~
10425 \end_inset
10426
10427 Preamble
10428 \family default
10429  dialog,
10430  also as usual.
10431 \end_layout
10432
10433 \begin_layout Subsubsection
10434 Layouts
10435 \end_layout
10436
10437 \begin_layout Standard
10438 The layouts basically correspond to the commands in Rev\SpecialChar TeX
10439 4.0.
10440  For example,
10441  the Email layout corresponds to 
10442 \family typewriter
10443
10444 \backslash
10445 email{}
10446 \family default
10447 .
10448  Note that (at least as of Rev\SpecialChar TeX
10449  4.0 Beta),
10450  the 
10451 \family sans
10452 Address
10453 \family default
10454  and 
10455 \family sans
10456 Affiliation
10457 \family default
10458  layouts are exactly equivalent,
10459  so you shouldn't need to use both.
10460 \begin_inset Foot
10461 status collapsed
10462
10463 \begin_layout Plain Layout
10464 In case you're curious,
10465  both were included so that 
10466 \family typewriter
10467 tex2lyx
10468 \family default
10469  would be able to translate both 
10470 \family typewriter
10471
10472 \backslash
10473 address
10474 \family default
10475  and 
10476 \family typewriter
10477
10478 \backslash
10479 affiliation
10480 \family default
10481 .
10482 \end_layout
10483
10484 \end_inset
10485
10486
10487 \end_layout
10488
10489 \begin_layout Subsubsection
10490 Important Notes
10491 \end_layout
10492
10493 \begin_layout Standard
10494 There are a couple of important unique aspects of Rev\SpecialChar TeX
10495  4 which might cause bugs that will be even more confusing in \SpecialChar LyX
10496 .
10497 \end_layout
10498
10499 \begin_layout Standard
10500 In Rev\SpecialChar TeX
10501 ,
10502  the 
10503 \family typewriter
10504
10505 \backslash
10506 thanks
10507 \family default
10508  command goes 
10509 \emph on
10510 outside
10511 \emph default
10512  the 
10513 \family typewriter
10514
10515 \backslash
10516 author
10517 \family default
10518  command.
10519  The \SpecialChar LyX
10520  equivalent is that there is a separate Thanks layout.
10521  Do 
10522 \emph on
10523 not
10524 \emph default
10525  write footnotes in the 
10526 \family sans
10527 Author
10528 \family default
10529  layout,
10530  or weird things may happen.
10531  See the Rev\SpecialChar TeX
10532  4 documentation for more details.
10533 \end_layout
10534
10535 \begin_layout Standard
10536 Also,
10537  the 
10538 \family sans
10539 Author
10540 \begin_inset space ~
10541 \end_inset
10542
10543 Email
10544 \family default
10545 ,
10546  
10547 \family sans
10548 Author
10549 \begin_inset space ~
10550 \end_inset
10551
10552 URL
10553 \family default
10554 ,
10555  and 
10556 \family sans
10557 Thanks
10558 \family default
10559  layouts must be placed 
10560 \emph on
10561 in between
10562 \emph default
10563  the 
10564 \family sans
10565 Author
10566 \family default
10567  layout and the corresponding 
10568 \family sans
10569 Address
10570 \family default
10571  (or equivalent 
10572 \family sans
10573 Affiliation
10574 \family default
10575 ) layout.
10576  If you put the 
10577 \family sans
10578 Thanks
10579 \family default
10580  after the 
10581 \family sans
10582 Address
10583 \family default
10584 ,
10585  the \SpecialChar LaTeX
10586  won't compile.
10587 \end_layout
10588
10589 \begin_layout Subsection
10590
10591 \change_inserted 564990737 1671042072
10592 Springer Journals
10593 \end_layout
10594
10595 \begin_layout Standard
10596
10597 \change_inserted 564990737 1671042072
10598 All the 
10599 \family sans
10600 svj*
10601 \family default
10602  classes were replaced 
10603 \change_deleted -712698321 1673176131
10604 in 2013 
10605 \change_inserted 564990737 1671042072
10606 with a completely new 
10607 \change_deleted -712698321 1673175919
10608
10609 \family sans
10610 sr-vorl.cls
10611 \family default
10612 .
10613  This package provides a \SpecialChar LaTeX
10614  class and templates for books to be published at Springer Gabler Research,
10615  Springer Vieweg Research,
10616  Springer Spektrum Research,
10617  Springer VS Research,
10618  or Springer VS Forschung.
10619  The documentation is available in German from 
10620 \begin_inset CommandInset href
10621 LatexCommand href
10622 name "CTAN"
10623 target "http://mirrors.ctan.org/macros/latex/contrib/springer/sr-vorl/sr-vorl.pdf"
10624 literal "false"
10625
10626 \end_inset
10627
10628 .
10629
10630 \change_inserted -712698321 1673176125
10631  class,
10632  
10633 \family sans
10634 sn-jnl.cls
10635 \family default
10636 .
10637  Please find information at 
10638 \begin_inset Flex URL
10639 status collapsed
10640
10641 \begin_layout Plain Layout
10642
10643 \change_inserted -712698321 1673176047
10644
10645 https://www.springernature.com/gp/authors/campaigns/latex-author-support
10646 \change_unchanged
10647
10648 \end_layout
10649
10650 \end_inset
10651
10652 .
10653  Native \SpecialChar LyX
10654  support is not available yet.
10655 \change_inserted 564990737 1671042072
10656
10657 \end_layout
10658
10659 \begin_layout Section
10660
10661 \change_inserted 564990737 1670439560
10662 Books
10663 \end_layout
10664
10665 \begin_layout Standard
10666
10667 \change_inserted 564990737 1670439581
10668 See also the document classes in the Collections (section
10669 \begin_inset space ~
10670 \end_inset
10671
10672
10673 \begin_inset CommandInset ref
10674 LatexCommand ref
10675 reference "sec:Collections"
10676 nolink "false"
10677
10678 \end_inset
10679
10680 ).
10681 \end_layout
10682
10683 \begin_layout Subsection
10684 Memoir
10685 \end_layout
10686
10687 \begin_layout Standard
10688 By 
10689 \noun on
10690 Jürgen Spitzmüller
10691 \end_layout
10692
10693 \begin_layout Subsubsection
10694 Overview
10695 \end_layout
10696
10697 \begin_layout Standard
10698 Memoir is a very powerful and constantly evolving class.
10699  It has been designed with regard to fictional and non-fictional literature.
10700  Its aim is to let the user have maximum control over the typesetting of his document.
10701  Memoir is based on the standard book class,
10702  but it can also emulate the article class (see below).
10703 \end_layout
10704
10705 \begin_layout Standard
10706 Peter Wilson,
10707  the developer of Memoir,
10708  is known as the author of lots of useful packages in the \SpecialChar LaTeX
10709  world.
10710  Most of them have been merged with Memoir.
10711  Therefore,
10712  it is much easier to layout the table of contents,
10713  appendices,
10714  chapter designs and such.
10715  \SpecialChar LyX
10716 ,
10717  though,
10718  does not support all of these goodies natively.
10719  Some of them might be added to forthcoming releases
10720 \begin_inset Foot
10721 status collapsed
10722
10723 \begin_layout Plain Layout
10724 You are invited to send suggestions to 
10725 \begin_inset Flex URL
10726 status collapsed
10727
10728 \begin_layout Plain Layout
10729
10730 lyx-devel@lists.lyx.org
10731 \end_layout
10732
10733 \end_inset
10734
10735 .
10736 \end_layout
10737
10738 \end_inset
10739
10740 ,
10741  lots will probably never be supported,
10742  due to the limitations of \SpecialChar LyX
10743 's framework.
10744  Of course you can still use all features with the help of some native \SpecialChar LaTeX
10745  commands (\SpecialChar TeX
10746  code
10747 \begin_inset Foot
10748 status collapsed
10749
10750 \begin_layout Plain Layout
10751 Cf.
10752 \begin_inset ERT
10753 status collapsed
10754
10755 \begin_layout Plain Layout
10756
10757
10758 \backslash
10759  
10760 \end_layout
10761
10762 \end_inset
10763
10764 section
10765 \begin_inset space ~
10766 \end_inset
10767
10768
10769 \begin_inset CommandInset ref
10770 LatexCommand ref
10771 reference "sec:Inserting-TeX-Code"
10772 nolink "false"
10773
10774 \end_inset
10775
10776  for details.
10777 \end_layout
10778
10779 \end_inset
10780
10781 ).
10782  In this section,
10783  we can only list those features that are natively supported by \SpecialChar LyX
10784 .
10785  For detailed descriptions (and for the rest of features) we recommend you have a look at the detailed manual of the Memoir class
10786 \begin_inset Foot
10787 status collapsed
10788
10789 \begin_layout Plain Layout
10790 Cf.
10791 \begin_inset ERT
10792 status collapsed
10793
10794 \begin_layout Plain Layout
10795
10796
10797 \backslash
10798  
10799 \end_layout
10800
10801 \end_inset
10802
10803
10804 \begin_inset Flex URL
10805 status collapsed
10806
10807 \begin_layout Plain Layout
10808
10809 CTAN:/macros/latex/memoir/memman.pdf
10810 \end_layout
10811
10812 \end_inset
10813
10814 .
10815 \end_layout
10816
10817 \end_inset
10818
10819 ,
10820  which is not only a user guide for the class,
10821  but also both a comprehensive description on good typesetting and a superb example for good typesetting itself.
10822 \end_layout
10823
10824 \begin_layout Subsubsection
10825 Basic features and restrictions
10826 \end_layout
10827
10828 \begin_layout Standard
10829 Memoir supports basically all features of the standard book classes.
10830  There are,
10831  however,
10832  some differences,
10833  as follows:
10834 \end_layout
10835
10836 \begin_layout Description
10837 Font
10838 \begin_inset space ~
10839 \end_inset
10840
10841 sizes:
10842  Memoir has a broader range of font sizes:
10843  9,
10844  10,
10845  11,
10846  12,
10847  14,
10848  17
10849 \end_layout
10850
10851 \begin_layout Description
10852 Page
10853 \begin_inset space ~
10854 \end_inset
10855
10856 style:
10857  The fancy page style is not supported,
10858  due to a command clash between Memoir and the fancyhdr package (they both define a command with the same name,
10859  which confuses \SpecialChar LaTeX
10860 ).
10861  Instead,
10862  Memoir comes with a number of its own page styles (see 
10863 \family sans
10864 Document\SpecialChar menuseparator
10865 Settings\SpecialChar menuseparator
10866 Page
10867 \begin_inset space ~
10868 \end_inset
10869
10870 Style
10871 \family default
10872 ).
10873  If you want to use these for the chapter pages,
10874  you have to use the command 
10875 \family typewriter
10876
10877 \backslash
10878 chapterstyle
10879 \family default
10880  in the main text or in preamble (e.
10881 \begin_inset space \thinspace{}
10882 \end_inset
10883
10884 g.
10885 \begin_inset space \space{}
10886 \end_inset
10887
10888
10889 \family typewriter
10890
10891 \backslash
10892 chapterstyle{companion}
10893 \family default
10894 ).
10895 \end_layout
10896
10897 \begin_layout Description
10898 Sectioning:
10899  Sectionings (chapter,
10900  section,
10901  subsection etc.) come with an optional argument in the standard classes.
10902  With this,
10903  you can specify an alternative version of the title for the table of contents and the headers (for instance,
10904  if the title is too long).
10905  In \SpecialChar LyX
10906 ,
10907  you can do this via 
10908 \family sans
10909 Insert\SpecialChar menuseparator
10910 Short
10911 \begin_inset space ~
10912 \end_inset
10913
10914 Title
10915 \family default
10916  at the beginning of a chapter/section.
10917  Memoir features a second optional argument and thus separates the table of contents from the header.
10918  You can define three variants of a title with this:
10919  one for the main text,
10920  one for the table of contents,
10921  and one for the headers.
10922  \SpecialChar LyX
10923  makes these available in form of specific 
10924 \family sans
10925 Short Title
10926 \family default
10927  variants in the 
10928 \family sans
10929 Insert
10930 \family default
10931  menu.
10932 \end_layout
10933
10934 \begin_layout Description
10935 TOC/LOT/LOF:
10936  In the standard classes (and in many other classes),
10937  the table of contents,
10938  the list of figures and the list of table start a new page automatically.
10939  Memoir does not follow this route.
10940  You have to insert a page break yourself,
10941  if you want to have one.
10942 \end_layout
10943
10944 \begin_layout Description
10945 Titlepage:
10946  For some unknown reason,
10947  Memoir uses pagination on the title page (in the standard classes,
10948  title pages are 
10949 \begin_inset Quotes eld
10950 \end_inset
10951
10952 empty
10953 \begin_inset Quotes erd
10954 \end_inset
10955
10956 ).
10957  If you want an empty title page,
10958  type 
10959 \family typewriter
10960
10961 \backslash
10962 aliaspagestyle{title}{empty}
10963 \family default
10964  in the preamble.
10965 \end_layout
10966
10967 \begin_layout Description
10968 Article:
10969  With the class option 
10970 \emph on
10971 article
10972 \emph default
10973  (to be inserted in 
10974 \family sans
10975 Document\SpecialChar menuseparator
10976 Settings\SpecialChar menuseparator
10977 Class Settings\SpecialChar menuseparator
10978 Custom
10979 \begin_inset space ~
10980 \end_inset
10981
10982 Options
10983 \family default
10984 ),
10985  you can emulate article style.
10986  That is,
10987  counters (footnotes,
10988  figures,
10989  tables etc.) will not be reset on new chapters,
10990  chapters don't start a new page (but are—
10991 in contrary to 
10992 \begin_inset Quotes eld
10993 \end_inset
10994
10995 real
10996 \begin_inset Quotes erd
10997 \end_inset
10998
10999  article classes—
11000 still allowed),
11001  parts,
11002  though,
11003  use their own page,
11004  as in book.
11005 \end_layout
11006
11007 \begin_layout Description
11008 Oldfontcommands:
11009  By default,
11010  Memoir does not allow the use of the deprecated font commands,
11011  which have been used in the old \SpecialChar LaTeX
11012  version 2.09 (e.
11013 \begin_inset space \thinspace{}
11014 \end_inset
11015
11016 g.
11017 \begin_inset space \space{}
11018 \end_inset
11019
11020
11021 \family typewriter
11022
11023 \backslash
11024 rm
11025 \family default
11026 ,
11027  
11028 \family typewriter
11029
11030 \backslash
11031 it
11032 \family default
11033 ).
11034  It produces an error and stops \SpecialChar LaTeX
11035  whenever such a command appears.
11036  The class option 
11037 \emph on
11038 oldfontcommands
11039 \emph default
11040  reallows the commands and spits out warnings instead (which does at least not stop \SpecialChar LaTeX
11041 ).
11042  Since a lot of packages and particularly Bib\SpecialChar TeX
11043  style files are still using those commands,
11044  we have decided to use this option by default.
11045 \end_layout
11046
11047 \begin_layout Subsubsection
11048 Extra features
11049 \end_layout
11050
11051 \begin_layout Standard
11052 We will only describe the features supported by \SpecialChar LyX
11053  (which is not much currently).
11054  Please consult the Memoir manual
11055 \begin_inset Foot
11056 status collapsed
11057
11058 \begin_layout Plain Layout
11059 Cf.
11060 \begin_inset ERT
11061 status collapsed
11062
11063 \begin_layout Plain Layout
11064
11065
11066 \backslash
11067  
11068 \end_layout
11069
11070 \end_inset
11071
11072
11073 \begin_inset Flex URL
11074 status collapsed
11075
11076 \begin_layout Plain Layout
11077
11078 CTAN:/macros/latex/memoir/memman.pdf
11079 \end_layout
11080
11081 \end_inset
11082
11083 .
11084 \end_layout
11085
11086 \end_inset
11087
11088  for details.
11089 \end_layout
11090
11091 \begin_layout Description
11092 Abstract:
11093  You may wonder why an abstract is an extra feature.
11094  Well,
11095  it is in book class.
11096  Usually books don't have abstracts.
11097  Memoir,
11098  however,
11099  has.
11100  You can use it wherever and how often you like.
11101 \end_layout
11102
11103 \begin_layout Description
11104 Chapterprecis:
11105  You may know this older typesetting style:
11106  The contents of a chapter are summarized below the title and also in the table of contents (e.
11107 \begin_inset space \thinspace{}
11108 \end_inset
11109
11110 g.
11111 \begin_inset space \space{}
11112 \end_inset
11113
11114
11115 \emph on
11116 Our hero arrives in Troia;
11117  he loses some friends;
11118  he finds others
11119 \emph default
11120 ).
11121  Chapterprecis does exactly this.
11122  It is therefore only sensible below a chapter.
11123 \end_layout
11124
11125 \begin_layout Description
11126 Epigraph:
11127  An epigraph is a smart slogan or motto at the beginning of a chapter.
11128  The epigraph environment provides an elegant way of typesetting such a motto.
11129  The motto itself (text) and its (optional) author (source) are divided by a short line.
11130  The author (source) can be inserted via 
11131 \family sans
11132 Insert\SpecialChar menuseparator
11133 Epigraph Source
11134 \family default
11135 \emph on
11136 .
11137 \end_layout
11138
11139 \begin_layout Description
11140 Poemtitle:
11141  Memoir has lots of possibilities to typeset poetry (up to very complex figurative poems).
11142  \SpecialChar LyX
11143  can only support a few of them.
11144  One is poemtitle,
11145  which is a centered title for poems,
11146  which will also be added to the table of contents (verse is the standard environment for poems.
11147  Memoir has some enhanced versions of verse,
11148  but you need to use \SpecialChar TeX
11149  code,
11150  because they have to be nested inside regular verse environments,
11151  which is not possible with \SpecialChar LyX
11152 ).
11153 \end_layout
11154
11155 \begin_layout Description
11156 Poemtitle*:
11157  Same as poemtitle,
11158  but it adds no entry to the table of contents.
11159 \end_layout
11160
11161 \begin_layout Subsection
11162
11163 \change_inserted 564990737 1671442175
11164 Recipe Book
11165 \end_layout
11166
11167 \begin_layout Standard
11168
11169 \change_inserted 564990737 1671442175
11170 The document class 
11171 \family sans
11172 Recipe
11173 \change_inserted -712698321 1673182264
11174  
11175 \change_inserted 564990737 1671442175
11176 Book
11177 \change_deleted -712698321 1673182266
11178
11179 \family typewriter
11180 .cls
11181 \change_inserted 564990737 1671442175
11182
11183 \family default
11184  uses the 
11185 \change_deleted -712698321 1673182282
11186
11187 \family sans
11188 book
11189 \begin_inset space \thinspace{}
11190 \end_inset
11191
11192 (
11193 \change_inserted 564990737 1671442175
11194 KOMA-Script
11195 \change_inserted -712698321 1673182287
11196  Book
11197 \change_deleted -712698321 1673182290
11198 )
11199 \change_inserted 564990737 1671442175
11200
11201 \family default
11202  document class but adds two environments:
11203 \end_layout
11204
11205 \begin_layout Description
11206
11207 \change_inserted 564990737 1671442175
11208 Recipe a numbered section environment at the 
11209 \family typewriter
11210 Subsubsection
11211 \family default
11212  level which generates a bold centered heading above a double horizontal rule
11213 \end_layout
11214
11215 \begin_layout Description
11216
11217 \change_inserted 564990737 1671442175
11218 Ingredients a 
11219 \family typewriter
11220 Description
11221 \family default
11222  environment where 
11223 \series bold
11224 \emph on
11225 Ingredients
11226 \series default
11227 \emph default
11228  are what are being described and the environment ends with a horizontal rule.
11229 \end_layout
11230
11231 \begin_layout Standard
11232
11233 \change_inserted 564990737 1671642866
11234
11235 \family sans
11236 File\SpecialChar menuseparator
11237 Open Example\SpecialChar menuseparator
11238 Books\SpecialChar menuseparator
11239 Recipe Book
11240 \family default
11241  illustrates its use.
11242 \end_layout
11243
11244 \begin_layout Standard
11245
11246 \change_deleted -712698321 1673186391
11247 It
11248 \change_inserted -712698321 1673186393
11249 The class
11250 \change_inserted 564990737 1671442175
11251  is designed for typesetting one or two recipes per page
11252 \change_deleted -712698321 1673199172
11253 ,
11254  with dimensions of 5.5
11255 \begin_inset Quotes qrd
11256 \end_inset
11257
11258  x 8.5
11259 \begin_inset Quotes qrd
11260 \end_inset
11261
11262
11263 \change_inserted 564990737 1671442175
11264 .
11265  The hyperlinked table of contents (ToC) and page numbers make browsing recipes convenient
11266 \change_inserted -712698321 1673186486
11267 .
11268 \change_deleted -712698321 1673186487
11269 ,
11270
11271 \change_inserted 564990737 1671442175
11272  
11273 \change_deleted -712698321 1673199346
11274 and the pages can be joined together or printed 2 per page to normal letterpaper easily.
11275  The size was chosen to work in half-page 3-ring binder cover sheets,
11276  because un-laminated paper just doesn't last in the kitchen.
11277 \end_layout
11278
11279 \begin_layout Standard
11280
11281 \change_deleted -712698321 1673199346
11282 The half-letter pages can be printed two per page using your printer driver,
11283  or bound together using 
11284 \family typewriter
11285 pdfjam --nup 2x1 --papersize '{11in,8.5in}'
11286 \family default
11287  
11288 \family typewriter
11289 Recipes.pdf
11290 \family default
11291  where 
11292 \family typewriter
11293 Recipes.pdf
11294 \family default
11295  is the compiled version of your recipes.
11296 \change_inserted -712698321 1673175424
11297
11298 \end_layout
11299
11300 \begin_layout Section
11301
11302 \change_inserted 564990737 1671442207
11303 Curricula vita
11304 \change_deleted -712698321 1673186818
11305 rum
11306 \change_inserted -712698321 1673186818
11307 e
11308 \change_inserted 564990737 1671442207
11309
11310 \end_layout
11311
11312 \begin_layout Subsection
11313
11314 \change_inserted 564990737 1671442208
11315 Europass
11316 \change_inserted -712698321 1673187876
11317  (2013)
11318 \change_inserted 564990737 1671442208
11319
11320 \end_layout
11321
11322 \begin_layout Standard
11323
11324 \change_inserted 564990737 1671642942
11325 The document class 
11326 \change_deleted -712698321 1673187623
11327
11328 \family sans
11329 curriculum
11330 \begin_inset space \space{}
11331 \end_inset
11332
11333 vitae
11334 \begin_inset space \thinspace{}
11335 \end_inset
11336
11337 (
11338 \change_inserted 564990737 1671642942
11339 Europass
11340 \change_inserted -712698321 1673187655
11341  (2013)
11342 \change_deleted -712698321 1673187624
11343 )
11344 \change_inserted 564990737 1671642942
11345
11346 \family default
11347  provides the 
11348 \family typewriter
11349 europasscv.cls
11350 \family default
11351  document class,
11352  an unofficial implementation of the ‘Europass CV’ recommended by the European Commission in 2013.
11353  
11354 \family sans
11355 File\SpecialChar menuseparator
11356 Open Example\SpecialChar menuseparator
11357 Curricula Vitae\SpecialChar menuseparator
11358 Europass 
11359 \change_deleted -712698321 1673187728
11360 CV 
11361 \change_inserted 564990737 1671642942
11362 (2013)
11363 \family default
11364  offers guidance on its use.
11365  Its documentation is available from 
11366 \begin_inset CommandInset href
11367 LatexCommand href
11368 name "CTAN"
11369 target "http://mirrors.ctan.org/macros/latex/contrib/europasscv/europasscv.pdf"
11370 literal "false"
11371
11372 \end_inset
11373
11374 .
11375 \end_layout
11376
11377 \begin_layout Subsection
11378
11379 \change_inserted 564990737 1671442208
11380 Europe
11381 \change_deleted -712698321 1673187829
11382 an
11383 \change_inserted -712698321 1673187829
11384  CV
11385 \change_inserted 564990737 1671442208
11386
11387 \end_layout
11388
11389 \begin_layout Standard
11390
11391 \change_inserted 564990737 1671642984
11392 The document class 
11393 \change_deleted -712698321 1673187820
11394
11395 \family sans
11396 curriculum
11397 \begin_inset space \space{}
11398 \end_inset
11399
11400 vitae
11401 \begin_inset space \thinspace{}
11402 \end_inset
11403
11404 (
11405 \change_inserted 564990737 1671642984
11406 Europe
11407 \change_inserted -712698321 1673187823
11408  CV
11409 \change_deleted -712698321 1673187824
11410 )
11411 \change_inserted 564990737 1671642984
11412
11413 \family default
11414  provides the 
11415 \family typewriter
11416 europecv.cls
11417 \family default
11418  document class,
11419  an unofficial implementation of the “Europass CV” recommended by the European Commission in 2002.
11420  
11421 \family sans
11422 File\SpecialChar menuseparator
11423 Open Example\SpecialChar menuseparator
11424 Curricula Vitae\SpecialChar menuseparator
11425 Europe CV
11426 \family default
11427  offers guidance on its use.
11428  Its documentation is available from 
11429 \begin_inset CommandInset href
11430 LatexCommand href
11431 name "CTAN"
11432 target "http://mirrors.ctan.org/macros/latex/contrib/europecv/europecv.pdf"
11433 literal "false"
11434
11435 \end_inset
11436
11437 .
11438 \end_layout
11439
11440 \begin_layout Subsection
11441
11442 \change_inserted 564990737 1671442208
11443 Modern
11444 \change_inserted -712698321 1673187869
11445  CV
11446 \change_inserted 564990737 1671442208
11447
11448 \end_layout
11449
11450 \begin_layout Standard
11451
11452 \change_inserted 564990737 1671643003
11453 The document class 
11454 \change_deleted -712698321 1673187880
11455
11456 \family sans
11457 curriculum
11458 \begin_inset space \space{}
11459 \end_inset
11460
11461 vitae
11462 \begin_inset space \thinspace{}
11463 \end_inset
11464
11465 (m
11466 \change_inserted -712698321 1673187880
11467 M
11468 \change_inserted 564990737 1671643003
11469 odern
11470 \change_inserted -712698321 1673187884
11471  CV
11472 \change_deleted -712698321 1673187884
11473 )
11474 \change_inserted 564990737 1671643003
11475
11476 \family default
11477  provides the 
11478 \family typewriter
11479 moderncv.cls
11480 \family default
11481  document class.
11482  This allows the creation of customizable CVs.
11483  
11484 \family sans
11485 File\SpecialChar menuseparator
11486 Open Example\SpecialChar menuseparator
11487 Curricula Vitae\SpecialChar menuseparator
11488 Modern CV
11489 \family default
11490  offers guidance on its use.
11491  Its documentation is available from 
11492 \begin_inset CommandInset href
11493 LatexCommand href
11494 name "CTAN"
11495 target "http://mirrors.ctan.org/macros/latex/contrib/moderncv/manual/moderncv_userguide.pdf"
11496 literal "false"
11497
11498 \end_inset
11499
11500 .
11501 \end_layout
11502
11503 \begin_layout Subsection
11504
11505 \change_inserted 564990737 1671442208
11506 Simple
11507 \change_inserted -712698321 1673187900
11508  CV
11509 \change_inserted 564990737 1671442208
11510
11511 \end_layout
11512
11513 \begin_layout Standard
11514
11515 \change_inserted 564990737 1671643024
11516 The document class 
11517 \change_deleted -712698321 1673187895
11518
11519 \family sans
11520 curriculum
11521 \begin_inset space \space{}
11522 \end_inset
11523
11524 vitae
11525 \begin_inset space \thinspace{}
11526 \end_inset
11527
11528 (s
11529 \change_inserted -712698321 1673187895
11530 S
11531 \change_inserted 564990737 1671643024
11532 imple
11533 \change_inserted -712698321 1673187897
11534  CV
11535 \change_deleted -712698321 1673187898
11536 )
11537 \change_inserted 564990737 1671643024
11538
11539 \family default
11540  provides the 
11541 \family typewriter
11542 simplecv.cls
11543 \family default
11544  document class,
11545  originally developed for use with \SpecialChar LyX
11546 .
11547  
11548 \family sans
11549 File\SpecialChar menuseparator
11550 Open Example\SpecialChar menuseparator
11551 Curricula Vitae\SpecialChar menuseparator
11552 Simple CV
11553 \family default
11554  offers guidance on its use.
11555  Its documentation is available from 
11556 \begin_inset CommandInset href
11557 LatexCommand href
11558 name "CTAN"
11559 target "http://mirrors.ctan.org/macros/latex/contrib/simplecv/simplecv.pdf"
11560 literal "false"
11561
11562 \end_inset
11563
11564
11565 \end_layout
11566
11567 \begin_layout Section
11568
11569 \change_inserted 564990737 1672652454
11570 Letters
11571 \end_layout
11572
11573 \begin_layout Standard
11574
11575 \change_inserted 564990737 1672652455
11576 See also the 
11577 \change_deleted -712698321 1673245882
11578
11579 \family typewriter
11580 letter
11581 \begin_inset space \space{}
11582 \end_inset
11583
11584 (KOMA-Script v.2)
11585 \change_inserted -712698321 1673245882
11586
11587 \family sans
11588 KOMA-Script Letter (V.
11589  2)
11590 \change_inserted 564990737 1672652455
11591
11592 \family default
11593  (section
11594 \begin_inset space ~
11595 \end_inset
11596
11597
11598 \begin_inset CommandInset ref
11599 LatexCommand ref
11600 reference "subsec:The-new-letter"
11601 nolink "false"
11602
11603 \end_inset
11604
11605 ) and 
11606 \change_deleted -712698321 1673245908
11607
11608 \family typewriter
11609 letter
11610 \begin_inset space \space{}
11611 \end_inset
11612
11613 (with extra font sizes)
11614 \change_inserted -712698321 1673245908
11615
11616 \family sans
11617 Letter (Standard Class with Extra Font Sizes)
11618 \change_inserted 564990737 1672652455
11619
11620 \family default
11621  (section
11622 \begin_inset space ~
11623 \end_inset
11624
11625
11626 \begin_inset CommandInset ref
11627 LatexCommand ref
11628 reference "subsec:Extra-font-sizes"
11629 nolink "false"
11630
11631 \end_inset
11632
11633 ) document classes .
11634 \end_layout
11635
11636 \begin_layout Subsection
11637
11638 \change_inserted 564990737 1671041970
11639 D
11640 \change_deleted -712698321 1673246109
11641 in
11642 \change_inserted -712698321 1673246110
11643 IN
11644 \change_inserted 564990737 1671041970
11645 -Brief
11646 \end_layout
11647
11648 \begin_layout Standard
11649
11650 \change_inserted 564990737 1671617528
11651 The document class 
11652 \family sans
11653 D
11654 \change_deleted -712698321 1673246116
11655 in
11656 \change_inserted -712698321 1673246116
11657 IN
11658 \change_inserted 564990737 1671617528
11659 -Brief
11660 \family default
11661  provides 
11662 \change_inserted -712698321 1673246192
11663 support for 
11664 \change_inserted 564990737 1671617528
11665 the 
11666 \family typewriter
11667 dinbrief.cls
11668 \family default
11669  
11670 \change_deleted -712698321 1673246242
11671 document
11672 \change_inserted -712698321 1673246242
11673 \SpecialChar LaTeX
11674
11675 \change_inserted 564990737 1671617528
11676  class for writing letters according to the
11677 \change_inserted -712698321 1673246140
11678  standards of the German Standards Institute (
11679 \change_deleted -712698321 1673246141
11680  
11681 \change_inserted 564990737 1671617528
11682
11683 \emph on
11684 Deutsches Institut für Normung
11685 \change_inserted -712698321 1673246324
11686 ,
11687  DIN)
11688 \change_deleted -712698321 1673246131
11689
11690 \emph default
11691  conventions
11692 \change_inserted 564990737 1671617528
11693 .
11694  The file in the menu 
11695 \family sans
11696 \bar under
11697 F
11698 \bar default
11699 ile\SpecialChar menuseparator
11700 New
11701 \begin_inset space ~
11702 \end_inset
11703
11704 fro
11705 \bar under
11706 m
11707 \bar default
11708
11709 \begin_inset space ~
11710 \end_inset
11711
11712 Template\SpecialChar menuseparator
11713 Letters\SpecialChar menuseparator
11714 DIN-Brief
11715 \family default
11716  offers guidance on its use.
11717  The documentation is available from 
11718 \begin_inset CommandInset href
11719 LatexCommand href
11720 name "CTAN"
11721 target "http://mirrors.ctan.org/macros/latex/contrib/dinbrief/liesmich"
11722 literal "false"
11723
11724 \end_inset
11725
11726 .
11727 \end_layout
11728
11729 \begin_layout Subsection
11730
11731 \change_deleted -712698321 1673246778
11732 frletter
11733 \change_inserted -712698321 1673246778
11734 French letter
11735 \begin_inset space \space{}
11736 \end_inset
11737
11738 (frletter)
11739 \change_unchanged
11740
11741 \end_layout
11742
11743 \begin_layout Standard
11744
11745 \change_inserted 564990737 1672652499
11746 The document class 
11747 \family sans
11748 French letter
11749 \begin_inset space \space{}
11750 \end_inset
11751
11752 (frletter)
11753 \family default
11754  provides 
11755 \change_inserted -712698321 1673246198
11756 support for 
11757 \change_inserted 564990737 1672652499
11758 the 
11759 \family typewriter
11760 frletter.cls
11761 \family default
11762  
11763 \change_deleted -712698321 1673246247
11764 document
11765 \change_inserted -712698321 1673246247
11766 \SpecialChar LaTeX
11767
11768 \change_inserted 564990737 1672652499
11769  class for writing letters according to French conventions.
11770  The file in the menu 
11771 \family sans
11772 \bar under
11773 F
11774 \bar default
11775 ile\SpecialChar menuseparator
11776 New
11777 \begin_inset space ~
11778 \end_inset
11779
11780 fro
11781 \bar under
11782 m
11783 \bar default
11784
11785 \begin_inset space ~
11786 \end_inset
11787
11788 Template\SpecialChar menuseparator
11789 Letters\SpecialChar menuseparator
11790 French letter
11791 \begin_inset space \space{}
11792 \end_inset
11793
11794 (frletter)
11795 \family default
11796  offers guidance on its use.
11797 \change_inserted -712698321 1673246876
11798
11799 \end_layout
11800
11801 \begin_layout Subsection
11802
11803 \change_inserted -712698321 1673246876
11804 French letter
11805 \begin_inset space \space{}
11806 \end_inset
11807
11808 (lettre)
11809 \end_layout
11810
11811 \begin_layout Standard
11812
11813 \change_inserted -712698321 1673246917
11814 The document class 
11815 \family sans
11816 French letter
11817 \begin_inset space \space{}
11818 \end_inset
11819
11820 (lettre)
11821 \family default
11822  provides support for 
11823 \family typewriter
11824 lettre.cls
11825 \family default
11826 ,
11827  another \SpecialChar LaTeX
11828  class for writing letters,
11829  but also faxes and envelopes,
11830  in French.
11831  The file in the menu 
11832 \family sans
11833 \bar under
11834 F
11835 \bar default
11836 ile\SpecialChar menuseparator
11837 New
11838 \begin_inset space ~
11839 \end_inset
11840
11841 fro
11842 \bar under
11843 m
11844 \bar default
11845
11846 \begin_inset space ~
11847 \end_inset
11848
11849 Template\SpecialChar menuseparator
11850 Letters\SpecialChar menuseparator
11851 French letter
11852 \begin_inset space \space{}
11853 \end_inset
11854
11855 (lettre)
11856 \family default
11857  offers guidance on its use.
11858  The documentation is available from 
11859 \begin_inset CommandInset href
11860 LatexCommand href
11861 name "CTAN"
11862 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
11863 literal "false"
11864
11865 \end_inset
11866
11867 .
11868 \change_inserted 564990737 1672652499
11869
11870 \end_layout
11871
11872 \begin_layout Subsection
11873
11874 \change_inserted 564990737 1672652499
11875 G-Brief
11876 \change_inserted -712698321 1673246804
11877  (V.
11878 \begin_inset space \thinspace{}
11879 \end_inset
11880
11881 2)
11882 \change_inserted 564990737 1672652499
11883
11884 \end_layout
11885
11886 \begin_layout Standard
11887
11888 \change_inserted 564990737 1672652499
11889 The document class 
11890 \family sans
11891 G-Brief (V.
11892 \begin_inset space \thinspace{}
11893 \end_inset
11894
11895 2)
11896 \family default
11897  provides 
11898 \change_inserted -712698321 1673246202
11899 support for 
11900 \change_inserted 564990737 1672652499
11901 the 
11902 \change_deleted -712698321 1673246498
11903 newer 
11904 \change_inserted 564990737 1672652499
11905
11906 \family typewriter
11907 g-brief2.cls
11908 \family default
11909  
11910 \change_deleted -712698321 1673246249
11911 document
11912 \change_inserted -712698321 1673246249
11913 \SpecialChar LaTeX
11914
11915 \change_inserted 564990737 1672652499
11916  class for writing letters in German.
11917  The file in the menu 
11918 \family sans
11919 \bar under
11920 F
11921 \bar default
11922 ile\SpecialChar menuseparator
11923 New
11924 \begin_inset space ~
11925 \end_inset
11926
11927 fro
11928 \bar under
11929 m
11930 \bar default
11931
11932 \begin_inset space ~
11933 \end_inset
11934
11935 Template\SpecialChar menuseparator
11936 Letters\SpecialChar menuseparator
11937 G-Brief (V.
11938 \begin_inset space \thinspace{}
11939 \end_inset
11940
11941 2)
11942 \family default
11943  offers guidance on its use.
11944  The documentation is available from 
11945 \begin_inset CommandInset href
11946 LatexCommand href
11947 name "CTAN"
11948 target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
11949 literal "false"
11950
11951 \end_inset
11952
11953 .
11954 \end_layout
11955
11956 \begin_layout Subsection
11957
11958 \change_deleted -712698321 1673246462
11959 letter
11960 \end_layout
11961
11962 \begin_layout Standard
11963
11964 \change_deleted -712698321 1673246462
11965 The document class 
11966 \family sans
11967 letter
11968 \family default
11969  provides the 
11970 \family sans
11971 letter.cls
11972 \family default
11973  document class for English letters and to create mailing labels.
11974  The file in the menu 
11975 \family sans
11976 \bar under
11977 F
11978 \bar default
11979 ile\SpecialChar menuseparator
11980 New
11981 \begin_inset space ~
11982 \end_inset
11983
11984 fro
11985 \bar under
11986 m
11987 \bar default
11988
11989 \begin_inset space ~
11990 \end_inset
11991
11992 Template\SpecialChar menuseparator
11993 Letters\SpecialChar menuseparator
11994 Letter (Standard Class)
11995 \family default
11996  offers guidance on its use.
11997 \change_inserted 564990737 1671617591
11998
11999 \end_layout
12000
12001 \begin_layout Subsection
12002
12003 \change_deleted -712698321 1673246872
12004 lettre
12005 \end_layout
12006
12007 \begin_layout Standard
12008
12009 \change_deleted -712698321 1673246872
12010 The document class 
12011 \family sans
12012 French letter
12013 \begin_inset space \space{}
12014 \end_inset
12015
12016 (lettre)
12017 \family default
12018  provides the 
12019 \family typewriter
12020 lettre.cls
12021 \family default
12022  document class for writing letters,
12023  faxes and envelopes in French.
12024  The file in the menu 
12025 \family sans
12026 \bar under
12027 F
12028 \bar default
12029 ile\SpecialChar menuseparator
12030 New
12031 \begin_inset space ~
12032 \end_inset
12033
12034 fro
12035 \bar under
12036 m
12037 \bar default
12038
12039 \begin_inset space ~
12040 \end_inset
12041
12042 Template\SpecialChar menuseparator
12043 Letters\SpecialChar menuseparator
12044 French letter
12045 \begin_inset space \space{}
12046 \end_inset
12047
12048 (lettre)
12049 \family default
12050  offers guidance on its use.
12051  The documentation is available from 
12052 \begin_inset CommandInset href
12053 LatexCommand href
12054 name "CTAN"
12055 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
12056 literal "false"
12057
12058 \end_inset
12059
12060 .
12061 \change_inserted 564990737 1672652527
12062
12063 \end_layout
12064
12065 \begin_layout Section
12066
12067 \change_inserted 564990737 1670439660
12068 Presentations
12069 \end_layout
12070
12071 \begin_layout Subsection
12072
12073 \change_inserted 564990737 1671458922
12074 Beamer
12075 \end_layout
12076
12077 \begin_layout Standard
12078
12079 \change_inserted 564990737 1671617655
12080 The document class 
12081 \change_deleted -712698321 1673255475
12082
12083 \family sans
12084 presentation
12085 \begin_inset space \thinspace{}
12086 \end_inset
12087
12088 (b
12089 \change_inserted -712698321 1673255475
12090 B
12091 \change_inserted 564990737 1671617655
12092 eamer
12093 \change_deleted -712698321 1673255477
12094 )
12095 \change_inserted 564990737 1671617655
12096
12097 \family default
12098  uses the 
12099 \family typewriter
12100 beamer.cls
12101 \family default
12102  
12103 \change_deleted -712698321 1673255496
12104 document
12105 \change_inserted -712698321 1673255496
12106 \SpecialChar LaTeX
12107
12108 \change_inserted 564990737 1671617655
12109  class for creating presentations.
12110  The file in the menu 
12111 \family sans
12112 \bar under
12113 F
12114 \bar default
12115 ile\SpecialChar menuseparator
12116 New
12117 \begin_inset space ~
12118 \end_inset
12119
12120 fro
12121 \bar under
12122 m
12123 \bar default
12124
12125 \begin_inset space ~
12126 \end_inset
12127
12128 Template\SpecialChar menuseparator
12129 Presentations\SpecialChar menuseparator
12130 Beamer
12131 \family default
12132  
12133 \change_inserted -712698321 1673257500
12134 or 
12135 \family sans
12136 Help\SpecialChar menuseparator
12137 Specific Manuals\SpecialChar menuseparator
12138 Beamer Presentations
12139 \family default
12140  
12141 \change_inserted 564990737 1671617655
12142 offers guidance on its use.
12143  The documentation is available from 
12144 \begin_inset CommandInset href
12145 LatexCommand href
12146 name "CTAN"
12147 target "http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf"
12148 literal "false"
12149
12150 \end_inset
12151
12152 .
12153 \end_layout
12154
12155 \begin_layout Subsection
12156
12157 \change_deleted -712698321 1673255766
12158 Foils [aka 
12159 \change_unchanged
12160
12161 \family sans
12162 Foil\SpecialChar TeX
12163
12164 \change_deleted -712698321 1673255767
12165
12166 \family default
12167 ]
12168 \change_unchanged
12169
12170 \begin_inset CommandInset label
12171 LatexCommand label
12172 name "sec:foiltex"
12173
12174 \end_inset
12175
12176
12177 \end_layout
12178
12179 \begin_layout Standard
12180
12181 \change_inserted 564990737 1672743383
12182 Original by 
12183 \noun on
12184 Allan Rae
12185 \noun default
12186 ;
12187  updated by the \SpecialChar LyX
12188  Team
12189 \end_layout
12190
12191 \begin_layout Subsubsection
12192
12193 \change_inserted 564990737 1672743383
12194 Introduction
12195 \end_layout
12196
12197 \begin_layout Standard
12198
12199 \change_inserted 564990737 1672743396
12200 The document class 
12201 \change_deleted -712698321 1673255761
12202
12203 \family sans
12204 presentation
12205 \begin_inset space \thinspace{}
12206 \end_inset
12207
12208 (
12209 \change_inserted 564990737 1672743396
12210 Foil\SpecialChar TeX
12211
12212 \change_deleted -712698321 1673255763
12213 )
12214 \change_inserted 564990737 1672743396
12215
12216 \family default
12217  uses the 
12218 \family typewriter
12219 foils.cls
12220 \family default
12221  document class to make slides for overhead projectors.
12222  There are two document classes that can do this:
12223  the 
12224 \change_deleted -712698321 1673256124
12225
12226 \family sans
12227 presentations
12228 \begin_inset space \thinspace{}
12229 \end_inset
12230
12231 (s
12232 \change_inserted -712698321 1673256124
12233 S
12234 \change_inserted 564990737 1672743396
12235 lides
12236 \change_deleted -712698321 1673256130
12237 )
12238 \change_inserted 564990737 1672743396
12239
12240 \family default
12241  document class (section
12242 \begin_inset space ~
12243 \end_inset
12244
12245
12246 \begin_inset CommandInset ref
12247 LatexCommand ref
12248 reference "sec:slitex"
12249 plural "false"
12250 caps "false"
12251 noprefix "false"
12252 nolink "false"
12253
12254 \end_inset
12255
12256 ) and the 
12257 \family sans
12258 Foil\SpecialChar TeX
12259
12260 \family default
12261  slides class.
12262  As of 2023 the former has continued to be maintained whereas 
12263 \family sans
12264 Foil\SpecialChar TeX
12265
12266 \family default
12267  has not been maintained since 2008.
12268  This section documents the latter.
12269  If your machine doesn’t have the 
12270 \change_deleted -712698321 1673256264
12271
12272 \family sans
12273 presentation
12274 \begin_inset space \thinspace{}
12275 \end_inset
12276
12277 (
12278 \change_inserted 564990737 1672743396
12279 Foil\SpecialChar TeX
12280
12281 \change_deleted -712698321 1673256265
12282 )
12283 \change_inserted 564990737 1672743396
12284
12285 \family default
12286  document class installed,
12287  you’ll probably have to use the 
12288 \change_deleted -712698321 1673256271
12289
12290 \family sans
12291 presentations
12292 \begin_inset space \thinspace{}
12293 \end_inset
12294
12295 (s
12296 \change_inserted -712698321 1673256271
12297 S
12298 \change_inserted 564990737 1672743396
12299 lides
12300 \change_deleted -712698321 1673256273
12301 )
12302 \change_inserted 564990737 1672743396
12303
12304 \family default
12305  document class.
12306  If you want to install the 
12307 \family typewriter
12308 foils.cls
12309 \family default
12310  document class,
12311  it is available from 
12312 \begin_inset CommandInset href
12313 LatexCommand href
12314 name "CTAN"
12315 target "https://www.ctan.org/pkg/foiltex"
12316 literal "false"
12317
12318 \end_inset
12319
12320 .
12321  You should also read the 
12322 \emph on
12323 Installing New Document Classes
12324 \emph default
12325  chapter of the 
12326 \emph on
12327 Customization
12328 \emph default
12329  manual.
12330 \change_deleted 564990737 1672743436
12331 by 
12332 \noun on
12333 Allan Rae
12334 \end_layout
12335
12336 \begin_layout Standard
12337
12338 \change_deleted 564990737 1672743383
12339 Introduction
12340 \end_layout
12341
12342 \begin_layout Standard
12343
12344 \change_deleted 564990737 1672743383
12345 This section describes how to use \SpecialChar LyX
12346  to make slides for overhead projectors.
12347  There are two document classes that can do this:
12348  the default slides class and the 
12349 \family sans
12350 Foil\SpecialChar TeX
12351
12352 \family default
12353  slides class.
12354  This section documents the latter.
12355 \end_layout
12356
12357 \begin_layout Standard
12358
12359 \change_deleted 564990737 1672743383
12360 I'm going to say this again,
12361  nice and clear,
12362  so that there's no misunderstanding:
12363 \end_layout
12364
12365 \begin_layout Standard
12366
12367 \change_deleted 564990737 1672743383
12368 \begin_inset VSpace bigskip
12369 \end_inset
12370
12371
12372 \end_layout
12373
12374 \begin_layout Standard
12375 \align center
12376
12377 \change_deleted 564990737 1672743383
12378
12379 \size large
12380 This section documents the class 
12381 \begin_inset Quotes eld
12382 \end_inset
12383
12384
12385 \family sans
12386 FoilTeX
12387 \family default
12388
12389 \begin_inset Quotes erd
12390 \end_inset
12391
12392  
12393 \emph on
12394 only.
12395 \end_layout
12396
12397 \begin_layout Standard
12398
12399 \change_deleted 564990737 1672743383
12400 \begin_inset VSpace bigskip
12401 \end_inset
12402
12403
12404 \end_layout
12405
12406 \begin_layout Standard
12407
12408 \change_deleted 564990737 1672743383
12409 If you're looking for the documentation for 
12410 \begin_inset Quotes eld
12411 \end_inset
12412
12413
12414 \family sans
12415 slides (default)
12416 \family default
12417
12418 \begin_inset Quotes erd
12419 \end_inset
12420
12421 ,
12422  check out section
12423 \begin_inset space ~
12424 \end_inset
12425
12426
12427 \begin_inset CommandInset ref
12428 LatexCommand ref
12429 reference "sec:slitex"
12430 nolink "false"
12431
12432 \end_inset
12433
12434 .
12435  If your machine doesn't have the 
12436 \family sans
12437 foils
12438 \family default
12439  class 
12440 \family sans
12441 FoilTeX
12442 \family default
12443  installed,
12444  you'll probably have to use the default 
12445 \family sans
12446 slides
12447 \family default
12448  class,
12449  which isn't quite as good as 
12450 \family sans
12451 foils.
12452 \end_layout
12453
12454 \begin_layout Standard
12455
12456 \change_deleted 564990737 1672743383
12457 The 
12458 \family sans
12459 foils
12460 \family default
12461  class is designed for use with version
12462 \begin_inset space ~
12463 \end_inset
12464
12465 2.1 of the 
12466 \family sans
12467 foils.cls
12468 \family default
12469  \SpecialChar LaTeX
12470  class file which is now an integral part of \SpecialChar LaTeX2e
12471 .
12472 \change_unchanged
12473
12474 \end_layout
12475
12476 \begin_layout Subsubsection
12477 Getting Started
12478 \end_layout
12479
12480 \begin_layout Standard
12481 Obviously,
12482  to use this document class,
12483  you need to select 
12484 \family sans
12485 FoilTeX
12486 \family default
12487  from the 
12488 \family sans
12489 Class
12490 \family default
12491  entry in the 
12492 \family sans
12493 Document
12494 \begin_inset space ~
12495 \end_inset
12496
12497 Layout
12498 \family default
12499  dialog.
12500  There are some settings in the 
12501 \family sans
12502 Document
12503 \begin_inset space ~
12504 \end_inset
12505
12506 Layout
12507 \family default
12508  dialog that you should know about that are specific to this class:
12509 \end_layout
12510
12511 \begin_layout Itemize
12512 Don't change the options 
12513 \family sans
12514 Sides
12515 \family default
12516  and 
12517 \family sans
12518 Columns
12519 \family default
12520  on the 
12521 \family sans
12522 Document
12523 \begin_inset space ~
12524 \end_inset
12525
12526 Layout
12527 \family default
12528  dialog.
12529  They're ignored by the 
12530 \family sans
12531 foils
12532 \family default
12533  class.
12534 \end_layout
12535
12536 \begin_layout Itemize
12537 The default font size is 20
12538 \begin_inset space \thinspace{}
12539 \end_inset
12540
12541 pt with the other options being 17
12542 \begin_inset space \thinspace{}
12543 \end_inset
12544
12545 pt,
12546  25
12547 \begin_inset space \thinspace{}
12548 \end_inset
12549
12550 pt and 30
12551 \begin_inset space \thinspace{}
12552 \end_inset
12553
12554 pt.
12555 \end_layout
12556
12557 \begin_layout Itemize
12558 The default font is 
12559 \family sans
12560 sans
12561 \family default
12562  
12563 \family sans
12564 serif
12565 \family default
12566  but all math equations are still typeset in the usual roman font.
12567 \end_layout
12568
12569 \begin_layout Itemize
12570
12571 \family sans
12572 Foil\SpecialChar TeX
12573
12574 \family default
12575  supports A4 and Letter paper sizes as well as a special size for working with 35
12576 \begin_inset space \thinspace{}
12577 \end_inset
12578
12579 mm slides.
12580  It doesn't support A5,
12581  B5,
12582  legal or executive paper sizes.
12583 \end_layout
12584
12585 \begin_layout Itemize
12586 Don't bother changing the 
12587 \family sans
12588 Float Placement
12589 \family default
12590  settings because they are ignored anyway.
12591  All floats appear where they are defined in the text.
12592 \end_layout
12593
12594 \begin_layout Itemize
12595 The 
12596 \family sans
12597 Pagestyle
12598 \family default
12599  setting behaves a bit differently for this class.
12600  
12601 \family sans
12602 Foil\SpecialChar TeX
12603
12604 \family default
12605  provides extensive footer and header capabilities including a user-defined logo.
12606  See section
12607 \begin_inset space ~
12608 \end_inset
12609
12610
12611 \begin_inset CommandInset ref
12612 LatexCommand ref
12613 reference "sec:foilfoot"
12614 nolink "false"
12615
12616 \end_inset
12617
12618  for more details.
12619  The title page is treated differently to all other pages in the document and is 
12620 \emph on
12621 always
12622 \emph default
12623  unnumbered and 
12624 \emph on
12625 always
12626 \emph default
12627  has the logo centered at the bottom of the page (if one is defined).
12628  The possible page style choices and what they do are as follows:
12629 \end_layout
12630
12631 \begin_deeper
12632 \begin_layout Labeling
12633 \labelwidthstring MMMMMMM
12634
12635 \family sans
12636 \series bold
12637 empty
12638 \family default
12639 \series default
12640  The final output contains no page numbers,
12641  or other headers or footers (except footnotes of course).
12642  
12643 \end_layout
12644
12645 \begin_layout Labeling
12646 \labelwidthstring MMMMMMM
12647
12648 \family sans
12649 \series bold
12650 plain
12651 \family default
12652 \series default
12653  The final output contains page numbers centered at the bottom of the page.
12654  No other headings or footers (other than footnotes).
12655 \end_layout
12656
12657 \begin_layout Labeling
12658 \labelwidthstring MMMMMMM
12659
12660 \series bold
12661 foilheadings
12662 \series default
12663  Page numbers in lower right corner.
12664  Additional headers and footers are also shown.
12665  This is also the default.
12666 \end_layout
12667
12668 \begin_layout Labeling
12669 \labelwidthstring MMMMMMM
12670
12671 \series bold
12672 fancy
12673 \series default
12674  Gives you access to the 
12675 \family sans
12676 fancyheadings
12677 \family default
12678  package although its use with 
12679 \family sans
12680 Foil\SpecialChar TeX
12681
12682 \family default
12683  is discouraged by the writer of the 
12684 \family sans
12685 Foil\SpecialChar TeX
12686
12687 \family default
12688  package because of some potential page layout clashes.
12689 \end_layout
12690
12691 \end_deeper
12692 \begin_layout Paragraph
12693 Extra Options
12694 \end_layout
12695
12696 \begin_layout Standard
12697 The following options may be used in the extra class options in the 
12698 \family sans
12699 Document\SpecialChar menuseparator
12700 Settings
12701 \family default
12702  dialog.
12703 \end_layout
12704
12705 \begin_layout Labeling
12706 \labelwidthstring MMMMMMx
12707
12708 \series bold
12709 35mmSlide
12710 \series default
12711  This sets up the page layout for 7.33
12712 \begin_inset space \thinspace{}
12713 \end_inset
12714
12715 in by 11
12716 \begin_inset space \thinspace{}
12717 \end_inset
12718
12719 in paper,
12720  which is about the same aspect ratio as a 35
12721 \begin_inset space \thinspace{}
12722 \end_inset
12723
12724 mm slide,
12725  making it a bit easier to work with this medium.
12726 \end_layout
12727
12728 \begin_layout Labeling
12729 \labelwidthstring MMMMMMx
12730
12731 \series bold
12732 headrule
12733 \series default
12734  Places a rule across the page below the header on every page except the title page.
12735 \end_layout
12736
12737 \begin_layout Labeling
12738 \labelwidthstring MMMMMMx
12739
12740 \series bold
12741 footrule
12742 \series default
12743  Places a rule across the page above the footer on every page except the title page.
12744 \end_layout
12745
12746 \begin_layout Labeling
12747 \labelwidthstring MMMMMMx
12748
12749 \series bold
12750 dvips
12751 \series default
12752  This is automatically set each time you create a new 
12753 \family sans
12754 foils
12755 \family default
12756  document.
12757  This option tells 
12758 \family sans
12759 Foil\SpecialChar TeX
12760
12761 \family default
12762  to use the dvips driver to rotate those pages that are set as landscape foils.
12763 \end_layout
12764
12765 \begin_layout Labeling
12766 \labelwidthstring MMMMMMx
12767
12768 \series bold
12769 landscape
12770 \series default
12771  Simply changes the page dimensions to those of a landscape page but doesn't do any rotation.
12772  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.
12773  Note that this option effectively reverses the roles of the 
12774 \family sans
12775 Foilhead
12776 \family default
12777  and 
12778 \family sans
12779 Rotatefoilhead
12780 \family default
12781  environments (don't worry these are described in the next section).
12782 \end_layout
12783
12784 \begin_layout Labeling
12785 \labelwidthstring MMMMMMx
12786
12787 \series bold
12788 leqno
12789 \series default
12790  Equation numbers on the left.
12791 \end_layout
12792
12793 \begin_layout Labeling
12794 \labelwidthstring MMMMMMx
12795
12796 \series bold
12797 fleqn
12798 \series default
12799  Flush-left equations.
12800 \end_layout
12801
12802 \begin_layout Subsubsection
12803 Supported Environments
12804 \end_layout
12805
12806 \begin_layout Standard
12807 Most of the environments commonly supported in other classes are also supported by the 
12808 \change_deleted -712698321 1673256683
12809
12810 \family sans
12811 foils
12812 \change_inserted -712698321 1673256683
12813 Foil\SpecialChar TeX
12814
12815 \change_unchanged
12816
12817 \family default
12818  class.
12819  There are several additional environments provided by 
12820 \family sans
12821 Foil\SpecialChar TeX
12822
12823 \family default
12824  as well as a couple added by \SpecialChar LyX
12825 .
12826  The following environments are shared with other classes:
12827 \end_layout
12828
12829 \begin_layout Standard
12830 \begin_inset Flex Multiple Columns
12831 status open
12832
12833 \begin_layout Itemize
12834
12835 \family sans
12836 Standard
12837 \end_layout
12838
12839 \begin_layout Itemize
12840
12841 \family sans
12842 Itemize
12843 \end_layout
12844
12845 \begin_layout Itemize
12846
12847 \family sans
12848 Enumerate
12849 \end_layout
12850
12851 \begin_layout Itemize
12852
12853 \family sans
12854 Description
12855 \end_layout
12856
12857 \begin_layout Itemize
12858
12859 \family sans
12860 List
12861 \end_layout
12862
12863 \begin_layout Itemize
12864
12865 \family sans
12866 \SpecialChar LyX
12867 -Code
12868 \end_layout
12869
12870 \begin_layout Itemize
12871
12872 \family sans
12873 Verse
12874 \end_layout
12875
12876 \begin_layout Itemize
12877
12878 \family sans
12879 Quote
12880 \end_layout
12881
12882 \begin_layout Itemize
12883
12884 \family sans
12885 Quotation
12886 \end_layout
12887
12888 \begin_layout Itemize
12889
12890 \family sans
12891 Title
12892 \change_inserted -712698321 1673256734
12893
12894 \end_layout
12895
12896 \begin_layout Itemize
12897
12898 \family sans
12899 Author
12900 \end_layout
12901
12902 \begin_layout Itemize
12903
12904 \family sans
12905 Date
12906 \end_layout
12907
12908 \begin_layout Itemize
12909
12910 \family sans
12911 Abstract
12912 \end_layout
12913
12914 \begin_layout Itemize
12915
12916 \family sans
12917 Bibliography
12918 \end_layout
12919
12920 \begin_layout Itemize
12921
12922 \family sans
12923 Address
12924 \end_layout
12925
12926 \begin_layout Itemize
12927
12928 \family sans
12929 RightAddress
12930 \end_layout
12931
12932 \end_inset
12933
12934
12935 \end_layout
12936
12937 \begin_layout Standard
12938 That is,
12939  all the major environments apart from the sectioning environments.
12940  Since foils are essentially self-contained sections,
12941  with a title and body,
12942  
12943 \family sans
12944 Foil\SpecialChar TeX
12945
12946 \family default
12947  provides specific commands for starting new foils and these are:
12948 \end_layout
12949
12950 \begin_layout Itemize
12951
12952 \family sans
12953 Foilhead
12954 \end_layout
12955
12956 \begin_layout Itemize
12957
12958 \family sans
12959 Rotatefoilhead
12960 \end_layout
12961
12962 \begin_layout Standard
12963 \SpecialChar LyX
12964  also provides slightly modified versions of these two environments called:
12965 \end_layout
12966
12967 \begin_layout Itemize
12968
12969 \family sans
12970 ShortFoilhead
12971 \end_layout
12972
12973 \begin_layout Itemize
12974
12975 \family sans
12976 ShortRotatefoilhead
12977 \end_layout
12978
12979 \begin_layout Standard
12980 and the differences will be explained in the next section.
12981 \end_layout
12982
12983 \begin_layout Standard
12984 Since foils are often used in presenting ideas or new theorems and such 
12985 \family sans
12986 Foil\SpecialChar TeX
12987
12988 \family default
12989  also provides a comprehensive box of goodies for presenting them:
12990 \end_layout
12991
12992 \begin_layout Standard
12993 \begin_inset Flex Multiple Columns
12994 status open
12995
12996 \begin_layout Itemize
12997
12998 \family sans
12999 Theorem
13000 \end_layout
13001
13002 \begin_layout Itemize
13003
13004 \family sans
13005 Lemma
13006 \end_layout
13007
13008 \begin_layout Itemize
13009
13010 \family sans
13011 Corollary
13012 \end_layout
13013
13014 \begin_layout Itemize
13015
13016 \family sans
13017 Proposition
13018 \end_layout
13019
13020 \begin_layout Itemize
13021
13022 \family sans
13023 Definition
13024 \end_layout
13025
13026 \begin_layout Itemize
13027
13028 \family sans
13029 Proof
13030 \end_layout
13031
13032 \begin_layout Itemize
13033
13034 \family sans
13035 Theorem*
13036 \end_layout
13037
13038 \begin_layout Itemize
13039
13040 \family sans
13041 Lemma*
13042 \end_layout
13043
13044 \begin_layout Itemize
13045
13046 \family sans
13047 Corollary*
13048 \end_layout
13049
13050 \begin_layout Itemize
13051
13052 \family sans
13053 Proposition*
13054 \end_layout
13055
13056 \begin_layout Itemize
13057
13058 \family sans
13059 Definition*
13060 \end_layout
13061
13062 \end_inset
13063
13064
13065 \end_layout
13066
13067 \begin_layout Standard
13068 The starred versions are unnumbered while the unstarred versions are numbered.
13069  There are also two list environments added by \SpecialChar LyX
13070  and these are:
13071 \end_layout
13072
13073 \begin_layout Itemize
13074
13075 \family sans
13076 TickList
13077 \end_layout
13078
13079 \begin_layout Itemize
13080
13081 \family sans
13082 CrossList
13083 \end_layout
13084
13085 \begin_layout Standard
13086
13087 \family sans
13088 Foil\SpecialChar TeX
13089
13090 \family default
13091  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.
13092  If you want to change these settings in your document the best place to do so is at the very top of a foil,
13093  i.
13094 \begin_inset space \thinspace{}
13095 \end_inset
13096
13097 e.
13098 \emph on
13099
13100 \begin_inset space \space{}
13101 \end_inset
13102
13103
13104 \emph default
13105 straight after the foilhead.
13106 \end_layout
13107
13108 \begin_layout Standard
13109 For this purpose,
13110  the following command styles are provided [
13111 \shape smallcaps
13112 Martin Vermeer
13113 \shape default
13114 ]:
13115 \end_layout
13116
13117 \begin_layout Standard
13118 \begin_inset Flex Multiple Columns
13119 status open
13120
13121 \begin_layout Itemize
13122
13123 \family sans
13124 My
13125 \begin_inset space ~
13126 \end_inset
13127
13128 Logo
13129 \end_layout
13130
13131 \begin_layout Itemize
13132
13133 \family sans
13134 Restriction
13135 \end_layout
13136
13137 \begin_layout Itemize
13138
13139 \family sans
13140 Right
13141 \begin_inset space ~
13142 \end_inset
13143
13144 Footer
13145 \end_layout
13146
13147 \begin_layout Itemize
13148
13149 \family sans
13150 Right
13151 \begin_inset space ~
13152 \end_inset
13153
13154 Header
13155 \end_layout
13156
13157 \begin_layout Itemize
13158
13159 \family sans
13160 Left
13161 \begin_inset space ~
13162 \end_inset
13163
13164 Header
13165 \end_layout
13166
13167 \begin_deeper
13168 \begin_layout Plain Layout
13169 \begin_inset space ~
13170 \end_inset
13171
13172
13173 \end_layout
13174
13175 \end_deeper
13176 \end_inset
13177
13178
13179 \end_layout
13180
13181 \begin_layout Standard
13182 There are also a few commands provided by 
13183 \family sans
13184 Foil\SpecialChar TeX
13185
13186 \family default
13187  that aren't directly supported by \SpecialChar LyX
13188  but I'll tell you what they do and how to use them in section
13189 \begin_inset space ~
13190 \end_inset
13191
13192
13193 \begin_inset CommandInset ref
13194 LatexCommand ref
13195 reference "sec:unsuppfoils"
13196 nolink "false"
13197
13198 \end_inset
13199
13200 .
13201 \end_layout
13202
13203 \begin_layout Subsubsection
13204 Building a Set of Foils
13205 \end_layout
13206
13207 \begin_layout Standard
13208 This section will give a simple introduction to using the different environments to build a set of foils.
13209  If you want to see an example set of foils,
13210  take a look at 
13211 \change_deleted 564990737 1671643085
13212 the 
13213 \family typewriter
13214 Foils.lyx
13215 \family default
13216  file you find in \SpecialChar LyX
13217 's 
13218 \family typewriter
13219 examples
13220 \family default
13221  folder
13222 \change_inserted 564990737 1671643099
13223
13224 \family sans
13225 File\SpecialChar menuseparator
13226 Open Example\SpecialChar menuseparator
13227 Presentations\SpecialChar menuseparator
13228 Foils
13229 \change_unchanged
13230
13231 \family default
13232 .
13233 \end_layout
13234
13235 \begin_layout Paragraph
13236 Give It a Title Page
13237 \end_layout
13238
13239 \begin_layout Standard
13240 Unlike other classes that provide 
13241 \family sans
13242 Title
13243 \family default
13244 ,
13245  
13246 \family sans
13247 Author
13248 \family default
13249 ,
13250  
13251 \family sans
13252 Date
13253 \family default
13254  and 
13255 \family sans
13256 Abstract
13257 \family default
13258  environments,
13259  
13260 \change_deleted -712698321 1673256940
13261
13262 \family sans
13263 foils
13264 \change_inserted -712698321 1673256940
13265
13266 \lang ngerman
13267 FoilTeX
13268 \change_unchanged
13269
13270 \family default
13271 \lang english
13272  creates the title on a page of its own.
13273  If you leave out the 
13274 \family sans
13275 Date
13276 \family default
13277  environment \SpecialChar LaTeX
13278  will substitute the current date (every time you regenerate the output).
13279 \end_layout
13280
13281 \begin_layout Paragraph
13282 Start a New Foil
13283 \end_layout
13284
13285 \begin_layout Standard
13286 As I mentioned earlier,
13287  there are four ways of starting a new foil.
13288  For portrait foils you should use 
13289 \family sans
13290 Foilhead
13291 \family default
13292  or 
13293 \family sans
13294 ShortFoilhead.
13295
13296 \family default
13297  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.
13298 \end_layout
13299
13300 \begin_layout Standard
13301 Landscape foils are generated using the 
13302 \family sans
13303 Rotatefoilhead
13304 \family default
13305  and 
13306 \family sans
13307 ShortRotatefoilhead
13308 \family default
13309  environments.
13310  Again the only difference is the spacing between foilhead and body.
13311  Both of the short versions have 0.5
13312 \begin_inset space ~
13313 \end_inset
13314
13315 inches less separation between the foilhead and the body.
13316  
13317 \end_layout
13318
13319 \begin_layout Standard
13320 One problem with the support for landscape foils is the requirement that you have to use the 
13321 \family typewriter
13322 dvips
13323 \family default
13324  driver to generate the PostScript output otherwise the foils won't be rotated.
13325  It is possible to get landscape foils even if you haven't got the 
13326 \family typewriter
13327 dvips
13328 \family default
13329  driver provided you can feed your foils sideways through your printer ;-)
13330 \end_layout
13331
13332 \begin_layout Paragraph
13333 Theorems,
13334  Lemmas,
13335  Proofs and more
13336 \end_layout
13337
13338 \begin_layout Standard
13339 You can't have two of the same type of these environments directly following each other.
13340  If you use a normal paragraph break,
13341  ,
13342  you will just be extending the previous environment as if you had merged the two environments together.
13343  Rather than that,
13344  you need to insert a so-called separator.
13345  Please refer to the section entitled 
13346 \emph on
13347 Separate Nestings
13348 \emph default
13349  in the 
13350 \emph on
13351 User's Guide
13352 \emph default
13353 .
13354 \end_layout
13355
13356 \begin_layout Paragraph
13357 Lists
13358 \end_layout
13359
13360 \begin_layout Standard
13361 You get all the commonly supported list styles found in other classes as well as two new ones.
13362  I'll only describe the new ones here.
13363  If you want to find out more about the other list environments check out the 
13364 \emph on
13365 User's Guide.
13366
13367 \emph default
13368  If you intend to use itemized lists you might also want to read about the 
13369 \family sans
13370 Itemize
13371 \begin_inset space ~
13372 \end_inset
13373
13374 Bullet
13375 \begin_inset space ~
13376 \end_inset
13377
13378 Selection
13379 \family default
13380  dialog described above in section
13381 \begin_inset space ~
13382 \end_inset
13383
13384
13385 \change_inserted 564990737 1671355684
13386
13387 \begin_inset CommandInset ref
13388 LatexCommand ref
13389 reference "chap:bullets"
13390 nolink "false"
13391
13392 \end_inset
13393
13394
13395 \change_deleted 564990737 1671355684
13396
13397 \begin_inset CommandInset ref
13398 LatexCommand ref
13399 reference "sec:bullet"
13400 nolink "false"
13401
13402 \end_inset
13403
13404
13405 \change_unchanged
13406 .
13407 \end_layout
13408
13409 \begin_layout Standard
13410 The two new list styles,
13411  
13412 \family sans
13413 TickList
13414 \family default
13415  and 
13416 \family sans
13417 CrossList
13418 \family default
13419 ,
13420  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.
13421  These lists are in fact dedicated variants of the 
13422 \family sans
13423 Itemize
13424 \family default
13425  environment.
13426  They do however require that you have the 
13427 \family typewriter
13428 psnfss
13429 \family default
13430  packages installed.
13431 \end_layout
13432
13433 \begin_layout Paragraph
13434 Figures and Tables
13435 \end_layout
13436
13437 \begin_layout Standard
13438
13439 \family sans
13440 Foil\SpecialChar TeX
13441
13442 \family default
13443  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.
13444  In fact if you change the float placement settings they are simply ignored.
13445 \end_layout
13446
13447 \begin_layout Paragraph
13448 Page Headers and Footers
13449 \begin_inset CommandInset label
13450 LatexCommand label
13451 name "sec:foilfoot"
13452
13453 \end_inset
13454
13455
13456 \end_layout
13457
13458 \begin_layout Standard
13459
13460 \family sans
13461 My
13462 \begin_inset space ~
13463 \end_inset
13464
13465 Logo
13466 \family default
13467  and 
13468 \family sans
13469 Restriction
13470 \family default
13471  are two commands used to control the left-footer text string.
13472  The first is meant to allow you to include a graphic logo on your foils and defaults to 
13473 \begin_inset Quotes eld
13474 \end_inset
13475
13476 -Typeset by 
13477 \family sans
13478 Foil\SpecialChar TeX
13479
13480 \family default
13481 -
13482 \begin_inset Quotes erd
13483 \end_inset
13484
13485 .
13486  While the second is meant to provide a classification for the audience,
13487  
13488 \emph on
13489 e.
13490 \begin_inset space \thinspace{}
13491 \end_inset
13492
13493 g.
13494 \emph default
13495
13496 \begin_inset space \space{}
13497 \end_inset
13498
13499 Confidential.
13500  It is empty by default.
13501 \end_layout
13502
13503 \begin_layout Standard
13504 The remaining page corners can be filled by 
13505 \family sans
13506 Right
13507 \begin_inset space ~
13508 \end_inset
13509
13510 Footer
13511 \family default
13512  (which defaults to page numbers),
13513  
13514 \family sans
13515 Right
13516 \begin_inset space ~
13517 \end_inset
13518
13519 Header
13520 \family default
13521  (top right) and 
13522 \family sans
13523 Left
13524 \begin_inset space ~
13525 \end_inset
13526
13527 Header
13528 \family default
13529  (top left).
13530 \end_layout
13531
13532 \begin_layout Subsubsection
13533 Unsupported 
13534 \family sans
13535 Foil\SpecialChar TeX
13536
13537 \family default
13538  Goodies
13539 \begin_inset CommandInset label
13540 LatexCommand label
13541 name "sec:unsuppfoils"
13542
13543 \end_inset
13544
13545
13546 \end_layout
13547
13548 \begin_layout Standard
13549 All the commands mentioned below need to be set in a 
13550 \family sans
13551 \SpecialChar LaTeX
13552
13553 \family default
13554  environment or as 
13555 \family sans
13556 \SpecialChar TeX
13557
13558 \family default
13559  within another environment.
13560 \end_layout
13561
13562 \begin_layout Paragraph
13563 Lengths
13564 \end_layout
13565
13566 \begin_layout Standard
13567 All lengths are adjusted using the 
13568 \family typewriter
13569
13570 \backslash
13571 setlength{
13572 \family default
13573 \emph on
13574 lengthname
13575 \family typewriter
13576 \emph default
13577 }{
13578 \family default
13579 \emph on
13580 newlength
13581 \family typewriter
13582 \emph default
13583 }
13584 \family default
13585  command.
13586  Where 
13587 \emph on
13588 lengthname
13589 \emph default
13590  should be replaced by the name given to the length you want to change and 
13591 \emph on
13592 newlength
13593 \emph default
13594  is the length value.
13595  All lengths should be specified in units of length such as inches (
13596 \family typewriter
13597 in
13598 \family default
13599 ),
13600  millimeters (
13601 \family typewriter
13602 mm
13603 \family default
13604 ) or points (
13605 \family typewriter
13606 pt
13607 \family default
13608 ) or relative to some document or font-based length such as 
13609 \family typewriter
13610
13611 \backslash
13612 textwidth
13613 \family default
13614 .
13615  
13616 \end_layout
13617
13618 \begin_layout Standard
13619 It's possible to change the spacing between a foilhead and the body of the foil by adjusting the length specified by 
13620 \family typewriter
13621
13622 \backslash
13623 foilheadskip
13624 \family default
13625 .
13626  For example,
13627  to make 
13628 \emph on
13629 all
13630 \emph default
13631  foilheads 0.5
13632 \begin_inset space \space{}
13633 \end_inset
13634
13635 in closer to their bodies put the following in the preamble:
13636  
13637 \family typewriter
13638
13639 \backslash
13640 setlength{
13641 \backslash
13642 foilheadskip}{-0.5in}
13643 \end_layout
13644
13645 \begin_layout Standard
13646 The spacings around floats can be adjusted by setting these lengths:
13647 \end_layout
13648
13649 \begin_layout Labeling
13650 \labelwidthstring MMMMMMMMMMM
13651
13652 \family typewriter
13653
13654 \backslash
13655 abovefloatskip
13656 \family default
13657  Separation between the text and the top of the float
13658 \end_layout
13659
13660 \begin_layout Labeling
13661 \labelwidthstring MMMMMMMMMMM
13662
13663 \family typewriter
13664
13665 \backslash
13666 abovecaptionskip
13667 \family default
13668  Separation between the float and the caption
13669 \end_layout
13670
13671 \begin_layout Labeling
13672 \labelwidthstring MMMMMMMMMMM
13673
13674 \family typewriter
13675
13676 \backslash
13677 belowcaptionskip
13678 \family default
13679  Separation between the caption and the following text
13680 \end_layout
13681
13682 \begin_layout Labeling
13683 \labelwidthstring MMMMMMMMMMM
13684
13685 \family typewriter
13686
13687 \backslash
13688 captionwidth
13689 \family default
13690  You can make the captions narrower than the surrounding text by adjusting this length.
13691  Best done relative to 
13692 \family typewriter
13693
13694 \backslash
13695 textwidth
13696 \family default
13697 .
13698 \end_layout
13699
13700 \begin_layout Standard
13701 There are also several title page related lengths that you may find useful if you have a long title or several authors:
13702 \end_layout
13703
13704 \begin_layout Labeling
13705 \labelwidthstring MMMMMMMMMMM
13706
13707 \family typewriter
13708
13709 \backslash
13710 abovetitleskip
13711 \family default
13712  Separation from headers to 
13713 \family sans
13714 Title
13715 \end_layout
13716
13717 \begin_layout Labeling
13718 \labelwidthstring MMMMMMMMMMM
13719
13720 \family typewriter
13721
13722 \backslash
13723 titleauthorskip
13724 \family default
13725  between 
13726 \family sans
13727 Title
13728 \family default
13729  and 
13730 \family sans
13731 Author
13732 \family default
13733  environments
13734 \end_layout
13735
13736 \begin_layout Labeling
13737 \labelwidthstring MMMMMMMMMMM
13738
13739 \family typewriter
13740
13741 \backslash
13742 authorauthorskip
13743 \family default
13744  between multiple 
13745 \family sans
13746 Author
13747 \family default
13748  lines
13749 \end_layout
13750
13751 \begin_layout Labeling
13752 \labelwidthstring MMMMMMMMMMM
13753
13754 \family typewriter
13755
13756 \backslash
13757 authordateskip
13758 \family default
13759  between the 
13760 \family sans
13761 Author
13762 \family default
13763  and the 
13764 \family sans
13765 Date
13766 \end_layout
13767
13768 \begin_layout Labeling
13769 \labelwidthstring MMMMMMMMMMM
13770
13771 \family typewriter
13772
13773 \backslash
13774 dateabstractskip
13775 \family default
13776  between the 
13777 \family sans
13778 Date
13779 \family default
13780  and the 
13781 \family sans
13782 Abstract
13783 \end_layout
13784
13785 \begin_layout Standard
13786 The last length related command affects all the list environments.
13787  If you place 
13788 \family typewriter
13789
13790 \backslash
13791 zerolistvertdimens
13792 \family default
13793  
13794 \emph on
13795 inside
13796 \emph default
13797  a list environment then all the vertical spacing between the list items is removed.
13798  Note that this is a command not a length so it doesn't require 
13799 \family typewriter
13800
13801 \backslash
13802 setlength
13803 \family default
13804  like the stuff mentioned above.
13805 \end_layout
13806
13807 \begin_layout Paragraph
13808 Headers and Footers
13809 \end_layout
13810
13811 \begin_layout Standard
13812 The 
13813 \family typewriter
13814
13815 \backslash
13816 LogoOn
13817 \family default
13818  and 
13819 \family typewriter
13820
13821 \backslash
13822 LogoOff
13823 \family default
13824  commands control whether the logo in the 
13825 \family sans
13826 MyLogo
13827 \family default
13828  definition appear on a given page.
13829  If you put 
13830 \family typewriter
13831
13832 \backslash
13833 LogoOff
13834 \family default
13835  in the preamble then none of the foils will have the logo on them.
13836  If you don't want the logo on a particular page place the 
13837 \family typewriter
13838
13839 \backslash
13840 LogoOff
13841 \family default
13842  directly after the foilhead of that page and the 
13843 \family typewriter
13844
13845 \backslash
13846 LogoOn
13847 \family default
13848  directly after the next foilhead.
13849 \end_layout
13850
13851 \begin_layout Standard
13852 If you decide to use the 
13853 \family sans
13854 fancy
13855 \family default
13856  page style setting in the 
13857 \family sans
13858 Document
13859 \begin_inset space ~
13860 \end_inset
13861
13862 Layout
13863 \family default
13864  dialog you should probably add 
13865 \family typewriter
13866
13867 \backslash
13868 let
13869 \backslash
13870 headwidth
13871 \backslash
13872 textwidth
13873 \family default
13874  to your preamble so headers and footers on landscape pages are correctly placed when rotated.
13875  This is due to some clashes between the page layouts provided by the 
13876 \family sans
13877 fancyheadings
13878 \family default
13879  package and the 
13880 \change_deleted -712698321 1673257120
13881
13882 \family sans
13883 foils
13884 \change_inserted -712698321 1673257120
13885
13886 \lang ngerman
13887 FoilTeX
13888 \change_unchanged
13889
13890 \family default
13891 \lang english
13892  class.
13893 \end_layout
13894
13895 \begin_layout Subsection
13896
13897 \change_inserted 564990737 1671459032
13898 Powerdot
13899 \end_layout
13900
13901 \begin_layout Standard
13902
13903 \change_inserted 564990737 1671643165
13904 The document class 
13905 \change_deleted -712698321 1673257152
13906
13907 \family sans
13908 presentation
13909 \begin_inset space \thinspace{}
13910 \end_inset
13911
13912 (p
13913 \change_inserted -712698321 1673257152
13914 P
13915 \change_inserted 564990737 1671643165
13916 owerdot
13917 \change_deleted -712698321 1673257154
13918 )
13919 \change_inserted 564990737 1671643165
13920
13921 \family default
13922  uses the 
13923 \family typewriter
13924 powerdot.cls
13925 \family default
13926  
13927 \change_deleted -712698321 1673257280
13928 document
13929 \change_inserted -712698321 1673257280
13930 \SpecialChar LaTeX
13931
13932 \change_inserted 564990737 1671643165
13933  class for creating presentations.
13934  
13935 \family sans
13936 File\SpecialChar menuseparator
13937 Open Example\SpecialChar menuseparator
13938 Presentations\SpecialChar menuseparator
13939 Powerdot
13940 \family default
13941  offers guidance on its use.
13942  The documentation is available from 
13943 \begin_inset CommandInset href
13944 LatexCommand href
13945 name "CTAN"
13946 target "http://mirrors.ctan.org/macros/latex/contrib/powerdot/doc/powerdot.pdf"
13947 literal "false"
13948
13949 \end_inset
13950
13951 .
13952 \end_layout
13953
13954 \begin_layout Subsection
13955
13956 \change_inserted 564990737 1671459032
13957 \begin_inset CommandInset label
13958 LatexCommand label
13959 name "subsec:Seminar"
13960
13961 \end_inset
13962
13963
13964 \family sans
13965 Seminar
13966 \end_layout
13967
13968 \begin_layout Standard
13969
13970 \change_inserted 564990737 1671643194
13971 The document class 
13972 \change_deleted -712698321 1673257295
13973
13974 \family sans
13975 presentations
13976 \begin_inset space \thinspace{}
13977 \end_inset
13978
13979 (s
13980 \change_inserted -712698321 1673257295
13981 S
13982 \change_inserted 564990737 1671643194
13983 eminar
13984 \change_deleted -712698321 1673257296
13985 )
13986 \change_inserted 564990737 1671643194
13987
13988 \family default
13989  uses the 
13990 \family typewriter
13991 seminar.cls
13992 \family default
13993  document class for creating presentations.
13994  
13995 \family sans
13996 File\SpecialChar menuseparator
13997 Open Example\SpecialChar menuseparator
13998 Presentations\SpecialChar menuseparator
13999 Seminar
14000 \family default
14001  offers guidance on its use.
14002  The documentation is available from 
14003 \begin_inset CommandInset href
14004 LatexCommand href
14005 name "CTAN"
14006 target "http://mirrors.ctan.org/macros/latex/contrib/seminar/doc/seminar-doc.pdf"
14007 literal "false"
14008
14009 \end_inset
14010
14011 .
14012 \end_layout
14013
14014 \begin_layout Subsection
14015 Slides [aka 
14016 \noun on
14017 Sli\SpecialChar TeX
14018
14019 \noun default
14020 ]
14021 \begin_inset CommandInset label
14022 LatexCommand label
14023 name "sec:slitex"
14024
14025 \end_inset
14026
14027
14028 \end_layout
14029
14030 \begin_layout Standard
14031
14032 \change_inserted 564990737 1672743492
14033 Original by 
14034 \noun on
14035 John Weiss
14036 \noun default
14037 ;
14038  updated by the \SpecialChar LyX
14039  Team
14040 \end_layout
14041
14042 \begin_layout Subsubsection
14043
14044 \change_inserted 564990737 1672743492
14045 Introduction
14046 \end_layout
14047
14048 \begin_layout Standard
14049
14050 \change_inserted 564990737 1672743492
14051 This section describes how to use \SpecialChar LyX
14052  to make slides for overhead projectors.
14053  There are two document classes that can do this:
14054  the 
14055 \change_deleted -712698321 1673257697
14056
14057 \family typewriter
14058 presentations
14059 \begin_inset space \thinspace{}
14060 \end_inset
14061
14062 (s
14063 \change_inserted -712698321 1673257697
14064
14065 \family sans
14066 S
14067 \change_inserted 564990737 1672743492
14068 lides
14069 \change_deleted -712698321 1673257698
14070
14071 \family typewriter
14072 )
14073 \change_inserted 564990737 1672743492
14074
14075 \family default
14076  document class and the 
14077 \change_deleted -712698321 1673257705
14078
14079 \family sans
14080 presentation
14081 \begin_inset space \thinspace{}
14082 \end_inset
14083
14084 (
14085 \change_inserted 564990737 1672743492
14086 Foil\SpecialChar TeX
14087
14088 \change_deleted -712698321 1673257707
14089 )
14090 \change_inserted 564990737 1672743492
14091
14092 \family default
14093  document class.
14094  This section documents the former.
14095  If you’re looking for the documentation for 
14096 \change_deleted -712698321 1673257759
14097
14098 \family sans
14099 presentation
14100 \begin_inset space \thinspace{}
14101 \end_inset
14102
14103 (
14104 \change_inserted 564990737 1672743492
14105 Foil\SpecialChar TeX
14106
14107 \change_deleted -712698321 1673257760
14108 )
14109 \change_inserted 564990737 1672743492
14110
14111 \family default
14112 ,
14113  check out section
14114 \begin_inset space ~
14115 \end_inset
14116
14117
14118 \change_inserted -712698321 1673257749
14119
14120 \begin_inset CommandInset ref
14121 LatexCommand ref
14122 reference "sec:foiltex"
14123 plural "false"
14124 caps "false"
14125 noprefix "false"
14126 nolink "false"
14127
14128 \end_inset
14129
14130
14131 \change_deleted -712698321 1673257749
14132
14133 \begin_inset CommandInset ref
14134 LatexCommand ref
14135 reference "sec:Foiltex"
14136 nolink "false"
14137
14138 \end_inset
14139
14140
14141 \change_inserted 564990737 1672743492
14142 .
14143  As of 2023 
14144 \change_deleted -712698321 1673257899
14145 the former
14146 \change_inserted -712698321 1673257899
14147
14148 \family sans
14149 Slides
14150 \change_inserted 564990737 1672743492
14151
14152 \family default
14153  has continued to be maintained whereas 
14154 \family sans
14155 Foil\SpecialChar TeX
14156
14157 \family default
14158  has not been maintained since 2008.
14159  
14160 \change_deleted 564990737 1672743492
14161 by 
14162 \noun on
14163 John Weiss
14164 \noun default
14165  
14166 \end_layout
14167
14168 \begin_layout Standard
14169
14170 \change_deleted 564990737 1672743492
14171 Introduction
14172 \end_layout
14173
14174 \begin_layout Standard
14175
14176 \change_deleted 564990737 1672743492
14177 This section describes how to use \SpecialChar LyX
14178  to make slides for overhead projectors.
14179  There are two document classes that can do this:
14180  the default slides class and the 
14181 \family sans
14182 Foil\SpecialChar TeX
14183
14184 \family default
14185  slides class.
14186  This section documents the former.
14187 \end_layout
14188
14189 \begin_layout Standard
14190
14191 \change_deleted 564990737 1672743492
14192 I'm going to say this again,
14193  nice and clear,
14194  so that there's no misunderstanding:
14195 \end_layout
14196
14197 \begin_layout Standard
14198
14199 \change_deleted 564990737 1672743492
14200 \begin_inset VSpace bigskip
14201 \end_inset
14202
14203
14204 \end_layout
14205
14206 \begin_layout Standard
14207 \align center
14208
14209 \change_deleted 564990737 1672743492
14210
14211 \size large
14212 This section documents the class 
14213 \begin_inset Quotes eld
14214 \end_inset
14215
14216
14217 \family sans
14218 slides (default)
14219 \family default
14220
14221 \begin_inset Quotes erd
14222 \end_inset
14223
14224  
14225 \emph on
14226 only.
14227 \end_layout
14228
14229 \begin_layout Standard
14230
14231 \change_deleted 564990737 1672743492
14232 \begin_inset VSpace bigskip
14233 \end_inset
14234
14235
14236 \end_layout
14237
14238 \begin_layout Standard
14239
14240 \change_deleted 564990737 1672743492
14241 If you're looking for the documentation for 
14242 \begin_inset Quotes eld
14243 \end_inset
14244
14245
14246 \family sans
14247 slides (Foil\SpecialChar TeX
14248 )
14249 \family default
14250
14251 \begin_inset Quotes erd
14252 \end_inset
14253
14254 ,
14255  check out section
14256 \begin_inset space ~
14257 \end_inset
14258
14259
14260 \begin_inset CommandInset ref
14261 LatexCommand ref
14262 reference "sec:foiltex"
14263 nolink "false"
14264
14265 \end_inset
14266
14267 .
14268  The 
14269 \family sans
14270 foils
14271 \family default
14272  class [
14273 \begin_inset Quotes eld
14274 \end_inset
14275
14276
14277 \family sans
14278 slides (Foil\SpecialChar TeX
14279 )
14280 \family default
14281
14282 \begin_inset Quotes erd
14283 \end_inset
14284
14285 ] is actually somewhat better than the default 
14286 \family sans
14287 slides
14288 \family default
14289  class,
14290 \begin_inset Foot
14291 status collapsed
14292
14293 \begin_layout Plain Layout
14294 \SpecialChar ldots
14295 or so I've been told repeatedly by its advocates.
14296  Having never used it,
14297  I have no idea if this claim is true or not.
14298 \end_layout
14299
14300 \end_inset
14301
14302  which this section documents.
14303 \end_layout
14304
14305 \begin_layout Standard
14306
14307 \change_deleted 564990737 1672743492
14308 This class is the \SpecialChar LaTeX2e
14309  improvement of the old 
14310 \noun on
14311 Sli\SpecialChar TeX
14312
14313 \noun default
14314  package.
14315  Every \SpecialChar LaTeX2e
14316  distribution includes this class [which I'll just refer to as 
14317 \begin_inset Quotes eld
14318 \end_inset
14319
14320
14321 \family sans
14322 slides
14323 \family default
14324
14325 \begin_inset Quotes erd
14326 \end_inset
14327
14328  from now on],
14329  so you're bound to have it.
14330  As I noted earlier,
14331  there are other classes,
14332  such as 
14333 \family sans
14334 foils
14335 \family default
14336 ,
14337  which also produce slides for overhead projectors and do a better job at it.
14338  However,
14339  there are some things which 
14340 \family sans
14341 slides
14342 \family default
14343  can do which the others can't,
14344  such as generate overlays.
14345  Read on to learn more!
14346 \change_unchanged
14347
14348 \end_layout
14349
14350 \begin_layout Subsubsection
14351 Getting Started
14352 \begin_inset CommandInset label
14353 LatexCommand label
14354 name "sec:slidesetup"
14355
14356 \end_inset
14357
14358
14359 \end_layout
14360
14361 \begin_layout Standard
14362 Obviously,
14363  to use this document class,
14364  you need to select 
14365 \begin_inset Quotes eld
14366 \end_inset
14367
14368
14369 \change_deleted -712698321 1673257922
14370
14371 \family sans
14372 s
14373 \change_inserted -712698321 1673257922
14374 S
14375 \change_unchanged
14376 lides
14377 \change_deleted -712698321 1673257925
14378  (default)
14379 \change_unchanged
14380
14381 \family default
14382
14383 \begin_inset Quotes erd
14384 \end_inset
14385
14386  from the class list in the 
14387 \family sans
14388 Document\SpecialChar menuseparator
14389 Settings
14390 \family default
14391  dialog.
14392  There are some other special things you should know about this class:
14393 \end_layout
14394
14395 \begin_layout Itemize
14396 Don't bother changing the options 
14397 \family sans
14398 Sides and Columns
14399 \family default
14400 .
14401  They're not supported by the 
14402 \change_deleted -712698321 1673257960
14403
14404 \family sans
14405 s
14406 \change_inserted -712698321 1673257960
14407 S
14408 \change_unchanged
14409 lides
14410 \family default
14411  class,
14412  anyways.
14413 \end_layout
14414
14415 \begin_layout Itemize
14416 The option 
14417 \family sans
14418 Page
14419 \begin_inset space ~
14420 \end_inset
14421
14422 style
14423 \family default
14424  behaves a bit differently for this class.
14425  The possible choices and what they do are as follows:
14426 \end_layout
14427
14428 \begin_deeper
14429 \begin_layout Description
14430
14431 \family sans
14432 plain
14433 \family default
14434  The final output contains page numbers in the lower right corner.
14435 \end_layout
14436
14437 \begin_layout Description
14438
14439 \family sans
14440 headings
14441 \family default
14442  Like 
14443 \family sans
14444 plain
14445 \family default
14446 ,
14447  but also prints out any time markers you've put in.
14448  This is the default.
14449 \end_layout
14450
14451 \begin_layout Description
14452
14453 \family sans
14454 empty
14455 \family default
14456  The final output contains no page numbers,
14457  time markers,
14458  or alignment markers.
14459 \end_layout
14460
14461 \end_deeper
14462 \begin_layout Itemize
14463 The 
14464 \change_deleted -712698321 1673257971
14465
14466 \family sans
14467 s
14468 \change_inserted -712698321 1673257971
14469 S
14470 \change_unchanged
14471 lides
14472 \family default
14473  class has an extra option:
14474  
14475 \family typewriter
14476 clock
14477 \family default
14478 .
14479  To use it,
14480  put 
14481 \begin_inset Quotes eld
14482 \end_inset
14483
14484
14485 \family typewriter
14486 clock
14487 \family default
14488
14489 \begin_inset Quotes erd
14490 \end_inset
14491
14492  in the extra class options.
14493 \end_layout
14494
14495 \begin_deeper
14496 \begin_layout Standard
14497 Using this options allows you to add time markers to 
14498 \family sans
14499 Note
14500 \family default
14501 s.
14502  See section
14503 \begin_inset space ~
14504 \end_inset
14505
14506
14507 \begin_inset CommandInset ref
14508 LatexCommand ref
14509 reference "sec:slideNote"
14510 nolink "false"
14511
14512 \end_inset
14513
14514  for more details.
14515 \end_layout
14516
14517 \end_deeper
14518 \begin_layout Standard
14519 You can also use the template file
14520 \change_deleted 564990737 1671617694
14521  
14522 \begin_inset Quotes eld
14523 \end_inset
14524
14525
14526 \family typewriter
14527 slides.lyx
14528 \family default
14529
14530 \begin_inset Quotes erd
14531 \end_inset
14532
14533
14534 \change_unchanged
14535  to automatically set up a document to use the 
14536 \family sans
14537 slides
14538 \family default
14539  class 
14540 \change_deleted 564990737 1671617699
14541 [
14542 \change_unchanged
14543 using 
14544 \family sans
14545 File\SpecialChar menuseparator
14546 New
14547 \begin_inset space ~
14548 \end_inset
14549
14550 from
14551 \begin_inset space ~
14552 \end_inset
14553
14554 Template
14555 \change_inserted 564990737 1671617723
14556 \SpecialChar menuseparator
14557 Presentations\SpecialChar menuseparator
14558 Slides
14559 \change_unchanged
14560
14561 \family default
14562  to open your new document
14563 \change_deleted 564990737 1671617728
14564 ]
14565 \change_unchanged
14566 .
14567  The template file also contains some examples of the special paragraph environments used by this class.
14568  I'll describe those next.
14569 \end_layout
14570
14571 \begin_layout Subsubsection
14572 Paragraph Environments
14573 \end_layout
14574
14575 \begin_layout Paragraph
14576 Supported Environments
14577 \end_layout
14578
14579 \begin_layout Standard
14580 The first thing you'll notice when you start up a new 
14581 \change_deleted -712698321 1673258063
14582
14583 \family sans
14584 s
14585 \change_inserted -712698321 1673258063
14586 S
14587 \change_unchanged
14588 lides
14589 \family default
14590  document is the font size and type:
14591  it's the equivalent of the size 
14592 \begin_inset Quotes eld
14593 \end_inset
14594
14595
14596 \family sans
14597 Largest
14598 \family default
14599
14600 \begin_inset Quotes erd
14601 \end_inset
14602
14603  in the 
14604 \family sans
14605 Sans
14606 \begin_inset space ~
14607 \end_inset
14608
14609 Serif
14610 \family default
14611  font.
14612  This is also what's used in the output.
14613  Think of this as a 
14614 \begin_inset Quotes eld
14615 \end_inset
14616
14617 visual cue
14618 \begin_inset Quotes erd
14619 \end_inset
14620
14621  to remind you that this is a slide.
14622  Your final slides will use a larger font;
14623  ergo,
14624  you'll have less space.
14625  Of course,
14626  the larger default screen font isn't WYSIWYG,
14627  only a reminder.
14628 \end_layout
14629
14630 \begin_layout Standard
14631 The next thing that becomes obvious is the changes to the paragraph environment pull-down box [at the far-left end of the toolbar].
14632  Most of the paragraph environments you're used to seeing are missing.
14633  There are also five new ones.
14634  That's because the 
14635 \change_deleted -712698321 1673258093
14636
14637 \family sans
14638 s
14639 \change_inserted -712698321 1673258093
14640 S
14641 \change_unchanged
14642 lides
14643 \family default
14644  class itself only supports certain paragraph environments:
14645 \end_layout
14646
14647 \begin_layout Standard
14648
14649 \change_inserted -712698321 1673258082
14650
14651 \family sans
14652 \begin_inset Flex Multiple Columns
14653 status open
14654
14655 \begin_layout Itemize
14656
14657 \change_inserted -712698321 1673258082
14658
14659 \family sans
14660 Standard
14661 \end_layout
14662
14663 \begin_layout Itemize
14664
14665 \change_inserted -712698321 1673258082
14666
14667 \family sans
14668 Itemize
14669 \end_layout
14670
14671 \begin_layout Itemize
14672
14673 \change_inserted -712698321 1673258082
14674
14675 \family sans
14676 Enumerate
14677 \end_layout
14678
14679 \begin_layout Itemize
14680
14681 \change_inserted -712698321 1673258082
14682
14683 \family sans
14684 Description
14685 \end_layout
14686
14687 \begin_layout Itemize
14688
14689 \change_inserted -712698321 1673258082
14690
14691 \family sans
14692 List
14693 \end_layout
14694
14695 \begin_layout Itemize
14696
14697 \change_inserted -712698321 1673258082
14698
14699 \family sans
14700 Quotation
14701 \end_layout
14702
14703 \begin_layout Itemize
14704
14705 \change_inserted -712698321 1673258082
14706
14707 \family sans
14708 Quote
14709 \end_layout
14710
14711 \begin_layout Itemize
14712
14713 \change_inserted -712698321 1673258082
14714
14715 \family sans
14716 Verse
14717 \end_layout
14718
14719 \begin_layout Itemize
14720
14721 \change_inserted -712698321 1673258082
14722
14723 \family sans
14724 Caption
14725 \end_layout
14726
14727 \begin_layout Itemize
14728
14729 \change_inserted -712698321 1673258082
14730
14731 \family sans
14732 \SpecialChar LyX
14733 -Code
14734 \change_unchanged
14735
14736 \end_layout
14737
14738 \end_inset
14739
14740
14741 \change_deleted -712698321 1673258082
14742 Standard
14743 \end_layout
14744
14745 \begin_layout Itemize
14746
14747 \change_deleted -712698321 1673258082
14748
14749 \family sans
14750 Itemize
14751 \end_layout
14752
14753 \begin_layout Itemize
14754
14755 \change_deleted -712698321 1673258082
14756
14757 \family sans
14758 Enumerate
14759 \end_layout
14760
14761 \begin_layout Itemize
14762
14763 \change_deleted -712698321 1673258082
14764
14765 \family sans
14766 Description
14767 \end_layout
14768
14769 \begin_layout Itemize
14770
14771 \change_deleted -712698321 1673258082
14772
14773 \family sans
14774 List
14775 \end_layout
14776
14777 \begin_layout Itemize
14778
14779 \change_deleted -712698321 1673258082
14780
14781 \family sans
14782 Quotation
14783 \end_layout
14784
14785 \begin_layout Itemize
14786
14787 \change_deleted -712698321 1673258082
14788
14789 \family sans
14790 Quote
14791 \end_layout
14792
14793 \begin_layout Itemize
14794
14795 \change_deleted -712698321 1673258082
14796
14797 \family sans
14798 Verse
14799 \end_layout
14800
14801 \begin_layout Itemize
14802
14803 \change_deleted -712698321 1673258082
14804
14805 \family sans
14806 Caption
14807 \end_layout
14808
14809 \begin_layout Itemize
14810
14811 \change_deleted -712698321 1673258082
14812
14813 \family sans
14814 \SpecialChar LyX
14815 -Code
14816 \change_unchanged
14817
14818 \end_layout
14819
14820 \begin_layout Standard
14821 All of the other standard environments,
14822  including the section-heading environments,
14823  aren't used in the 
14824 \change_deleted -712698321 1673258102
14825
14826 \family sans
14827 s
14828 \change_inserted -712698321 1673258102
14829 S
14830 \change_unchanged
14831 lides
14832 \family default
14833  class.
14834 \end_layout
14835
14836 \begin_layout Standard
14837 On the other hand,
14838  you'll notice the following new environments:
14839 \end_layout
14840
14841 \begin_layout Standard
14842
14843 \change_inserted -712698321 1673258111
14844
14845 \family sans
14846 \begin_inset Flex Multiple Columns
14847 status open
14848
14849 \begin_layout Itemize
14850
14851 \change_inserted -712698321 1673258111
14852
14853 \family sans
14854 Slide
14855 \end_layout
14856
14857 \begin_layout Itemize
14858
14859 \change_inserted -712698321 1673258111
14860
14861 \family sans
14862 Overlay
14863 \end_layout
14864
14865 \begin_layout Itemize
14866
14867 \change_inserted -712698321 1673258111
14868
14869 \family sans
14870 Note
14871 \end_layout
14872
14873 \begin_layout Itemize
14874
14875 \change_inserted -712698321 1673258111
14876
14877 \family sans
14878 InvisibleText
14879 \end_layout
14880
14881 \begin_layout Itemize
14882
14883 \change_inserted -712698321 1673258119
14884
14885 \family sans
14886 VisibleText
14887 \end_layout
14888
14889 \begin_deeper
14890 \begin_layout Plain Layout
14891
14892 \change_inserted -712698321 1673258133
14893 \begin_inset space ~
14894 \end_inset
14895
14896
14897 \change_unchanged
14898
14899 \end_layout
14900
14901 \end_deeper
14902 \end_inset
14903
14904
14905 \change_deleted -712698321 1673258111
14906 Slide
14907 \end_layout
14908
14909 \begin_layout Itemize
14910
14911 \change_deleted -712698321 1673258111
14912
14913 \family sans
14914 Overlay
14915 \end_layout
14916
14917 \begin_layout Itemize
14918
14919 \change_deleted -712698321 1673258111
14920
14921 \family sans
14922 Note
14923 \end_layout
14924
14925 \begin_layout Itemize
14926
14927 \change_deleted -712698321 1673258111
14928
14929 \family sans
14930 InvisibleText
14931 \end_layout
14932
14933 \begin_layout Itemize
14934
14935 \change_deleted -712698321 1673258111
14936
14937 \family sans
14938 VisibleText
14939 \change_unchanged
14940
14941 \end_layout
14942
14943 \begin_layout Standard
14944 These five are kind of quirky,
14945  due to a 
14946 \begin_inset Quotes eld
14947 \end_inset
14948
14949 feature
14950 \begin_inset Quotes erd
14951 \end_inset
14952
14953  in \SpecialChar LyX
14954 .
14955  You see,
14956  \SpecialChar LyX
14957  doesn't permit you to nest any other paragraph environment into an empty environment.
14958  Now,
14959  that's fine and dandy,
14960  but it means that you wouldn't be able to start a slide with anything except plain text.
14961  To deal with this,
14962  I've performed a little 
14963 \begin_inset Quotes eld
14964 \end_inset
14965
14966 \SpecialChar LaTeX
14967  magic.
14968 \begin_inset Quotes erd
14969 \end_inset
14970
14971  
14972 \end_layout
14973
14974 \begin_layout Paragraph
14975 Quirks of the New Environments
14976 \begin_inset CommandInset label
14977 LatexCommand label
14978 name "sec:slideQuirk"
14979
14980 \end_inset
14981
14982
14983 \end_layout
14984
14985 \begin_layout Standard
14986 All five of the new paragraph environments are somewhat quirky due to inherent limitiations in the current version of \SpecialChar LyX
14987 .
14988  As I just mentioned,
14989  \SpecialChar LyX
14990  forbids environments that begin with another environment.
14991  To get around this,
14992  the 
14993 \family sans
14994 Slide
14995 \family default
14996  environment isn't a paragraph environment as described in the 
14997 \emph on
14998 User's Guide
14999 \emph default
15000 .
15001  
15002 \end_layout
15003
15004 \begin_layout Standard
15005 You should consider 
15006 \family sans
15007 Slide
15008 \family default
15009 ,
15010  
15011 \family sans
15012 Overlay
15013 \family default
15014 ,
15015  and 
15016 \family sans
15017 Note
15018 \family default
15019  to be 
15020 \begin_inset Quotes eld
15021 \end_inset
15022
15023 pseudo-environments.
15024 \begin_inset Quotes erd
15025 \end_inset
15026
15027  They look like a section heading or a 
15028 \begin_inset Quotes eld
15029 \end_inset
15030
15031
15032 \family sans
15033 Caption
15034 \family default
15035 ,
15036 \begin_inset Quotes erd
15037 \end_inset
15038
15039  but really begin a [and,
15040  if necessary,
15041  end the previous] paragraph environment.
15042  Likewise,
15043  treat 
15044 \family sans
15045 InvisibleText
15046 \family default
15047  and 
15048 \family sans
15049 VisibleText
15050 \family default
15051  as 
15052 \begin_inset Quotes eld
15053 \end_inset
15054
15055 pseudo-commands.
15056 \begin_inset Quotes erd
15057 \end_inset
15058
15059  These two perform some action.
15060 \end_layout
15061
15062 \begin_layout Standard
15063 A common feature of all five environments,
15064  
15065 \family sans
15066 Slide
15067 \family default
15068 ,
15069  
15070 \family sans
15071 Overlay
15072 \family default
15073 ,
15074  
15075 \family sans
15076 Note
15077 \family default
15078 ,
15079  
15080 \family sans
15081 InvisibleText
15082 \family default
15083  and 
15084 \family sans
15085 VisibleText
15086 \family default
15087 ,
15088  is a rather long-ish label.
15089  The text following this label —
15090  ordinarily the contents of the paragraph environment —
15091  is utterly irrelevant for 
15092 \family sans
15093 Slide
15094 \family default
15095 ,
15096  
15097 \family sans
15098 Overlay
15099 \family default
15100 ,
15101  
15102 \family sans
15103 Note
15104 \family default
15105 ,
15106  
15107 \family sans
15108 InvisibleText
15109 \family default
15110  and 
15111 \family sans
15112 VisibleText
15113 \family default
15114 .
15115  \SpecialChar LyX
15116  completely ignores it.
15117  In fact,
15118  you can leave these five environments completely empty.
15119  
15120 \end_layout
15121
15122 \begin_layout Standard
15123 While you don't 
15124 \emph on
15125 have
15126 \emph default
15127  to put any text after the rather long-ish label,
15128  you might want to.
15129  This could be a short description of the contents of the 
15130 \family sans
15131 Slide
15132 \family default
15133 ,
15134  for example.
15135  In that case,
15136  enter your descriptive comment and hit 
15137 \family sans
15138 Return
15139 \family default
15140  as you normally would.
15141 \end_layout
15142
15143 \begin_layout Standard
15144
15145 \change_deleted -712698321 1673258321
15146 If,
15147  on the other hand,
15148  you don't want to enter any descriptive text,
15149  you'll hit another \SpecialChar LyX
15150  quirk.
15151  \SpecialChar LyX
15152 ,
15153  like nature,
15154  abhors a vacuum,
15155  and will not let you start a new paragraph environment until you put something in the old one.
15156  So,
15157  do this:
15158 \end_layout
15159
15160 \begin_layout Itemize
15161
15162 \change_deleted -712698321 1673258321
15163 Start entering the text that will 
15164 \emph on
15165 follow
15166 \emph default
15167  the new 
15168 \family sans
15169 Slide
15170 \family default
15171 ,
15172  
15173 \family sans
15174 Overlay
15175 \family default
15176 ,
15177  
15178 \family sans
15179 Note
15180 \family default
15181 ,
15182  
15183 \family sans
15184 InvisibleText
15185 \family default
15186  or 
15187 \family sans
15188 VisibleText
15189 \family default
15190 .
15191  
15192 \end_layout
15193
15194 \begin_layout Itemize
15195
15196 \change_deleted -712698321 1673258321
15197 Now move to the beginning of that paragraph.
15198  
15199 \end_layout
15200
15201 \begin_layout Itemize
15202
15203 \change_deleted -712698321 1673258321
15204 Next,
15205  hit 
15206 \family sans
15207 Return
15208 \family default
15209 .
15210  
15211 \end_layout
15212
15213 \begin_layout Itemize
15214
15215 \change_deleted -712698321 1673258321
15216 Finally,
15217  change this new,
15218  empty paragraph to a 
15219 \family sans
15220 Slide
15221 \family default
15222 ,
15223  
15224 \family sans
15225 Overlay
15226 \family default
15227 ,
15228  
15229 \family sans
15230 Note
15231 \family default
15232 ,
15233  
15234 \family sans
15235 InvisibleText
15236 \family default
15237  or 
15238 \family sans
15239 VisibleText
15240 \family default
15241 .
15242  
15243 \end_layout
15244
15245 \begin_layout Standard
15246
15247 \change_deleted -712698321 1673258321
15248 Some future version of \SpecialChar LyX
15249  will,
15250  hopefully,
15251  resolve this quirkiness\SpecialChar ldots
15252
15253 \change_unchanged
15254
15255 \end_layout
15256
15257 \begin_layout Subsubsection
15258 Making a Presentation with 
15259 \family sans
15260 Slide
15261 \family default
15262 ,
15263  
15264 \family sans
15265 Overlay
15266 \family default
15267  and 
15268 \family sans
15269 Note
15270 \end_layout
15271
15272 \begin_layout Paragraph
15273 Using the 
15274 \family sans
15275 Slide
15276 \family default
15277  Environment
15278 \end_layout
15279
15280 \begin_layout Standard
15281 If you're expecting this section to teach you how to actually make a presentation,
15282  you'll be sorely disappointed.
15283  Naturally,
15284  I'll describe all of the ways the 
15285 \change_deleted -712698321 1673258368
15286
15287 \family sans
15288 s
15289 \change_inserted -712698321 1673258368
15290 S
15291 \change_unchanged
15292 lides
15293 \family default
15294  class can assist you in preparing the materials for a presentation.
15295  Filling in the contents,
15296  however,
15297  is up to you.
15298  [Then again,
15299  that 
15300 \emph on
15301 is
15302 \emph default
15303  the \SpecialChar LyX
15304  philosophy.]
15305 \end_layout
15306
15307 \begin_layout Standard
15308 Choosing the 
15309 \family sans
15310 Slide
15311 \family default
15312  environment [in the manner described in section
15313 \begin_inset space ~
15314 \end_inset
15315
15316
15317 \begin_inset CommandInset ref
15318 LatexCommand ref
15319 reference "sec:slideQuirk"
15320 nolink "false"
15321
15322 \end_inset
15323
15324 ] tells \SpecialChar LyX
15325  to begin a new slide [duh].
15326  The label for this environment/
15327 \change_inserted -712698321 1673258390
15328
15329 \begin_inset Quotes eld
15330 \end_inset
15331
15332
15333 \change_deleted -712698321 1673258391
15334
15335 \begin_inset Quotes erd
15336 \end_inset
15337
15338
15339 \change_unchanged
15340 pseudo-command
15341 \begin_inset Quotes erd
15342 \end_inset
15343
15344  is an 
15345 \begin_inset Quotes eld
15346 \end_inset
15347
15348 ASCII line,
15349 \begin_inset Quotes erd
15350 \end_inset
15351
15352  in cool blue,
15353  followed by the label,
15354  
15355 \begin_inset Quotes eld
15356 \end_inset
15357
15358 NewSlide:
15359 \begin_inset Quotes erd
15360 \end_inset
15361
15362 .
15363  Any text or paragraph environments that follow this one go on the new slide.
15364  It's that simple.
15365 \end_layout
15366
15367 \begin_layout Standard
15368 Slides are probably the only time you'll need to forcibly end pages in \SpecialChar LyX
15369  (this can be specified in the 
15370 \family sans
15371 Paragraph Layout
15372 \family default
15373  dialog).
15374  In fact,
15375  you'll want to,
15376  once you finish entering the contents of one slide.
15377  If you've entered more text than can physically fit on a slide,
15378  the extra overflows onto a new slide.
15379  I don't recommend doing this,
15380  however,
15381  since the overflow slide won't have any page number on it.
15382  Furthermore,
15383  it may interfere with any 
15384 \family sans
15385 Overlay
15386 \family default
15387  you've made to accompany the oversized 
15388 \family sans
15389 Slide
15390 \family default
15391 .
15392 \end_layout
15393
15394 \begin_layout Standard
15395 The 
15396 \family sans
15397 Overlay
15398 \family default
15399  and 
15400 \family sans
15401 Note
15402 \family default
15403  environments work the same way as the 
15404 \family sans
15405 Slide
15406 \family default
15407  environment.
15408  They both create an 
15409 \begin_inset Quotes eld
15410 \end_inset
15411
15412 ASCII line
15413 \begin_inset Quotes erd
15414 \end_inset
15415
15416  followed by a label [
15417 \begin_inset Quotes eld
15418 \end_inset
15419
15420 NewOverlay:
15421 \begin_inset Quotes erd
15422 \end_inset
15423
15424  and 
15425 \begin_inset Quotes eld
15426 \end_inset
15427
15428 NewNote:
15429 \begin_inset Quotes erd
15430 \end_inset
15431
15432 ,
15433  respectively].
15434  The color is a stunning magenta instead of blue,
15435  and the 
15436 \begin_inset Quotes eld
15437 \end_inset
15438
15439 ASCII line
15440 \begin_inset Quotes erd
15441 \end_inset
15442
15443  will look different,
15444  in style and in length.
15445  The label fonts of all three also differ from one another.
15446 \end_layout
15447
15448 \begin_layout Standard
15449 As with a 
15450 \family sans
15451 Slide
15452 \family default
15453 ,
15454  if the contents of a 
15455 \family sans
15456 Note
15457 \family default
15458  or 
15459 \family sans
15460 Overlay
15461 \family default
15462  exceed the physical size of a slide or sheet of paper,
15463  the extra will overflow onto a new sheet.
15464  Again,
15465  you should avoid this.
15466  It defeats the whole purpose of 
15467 \family sans
15468 Note
15469 \family default
15470 s and 
15471 \family sans
15472 Overlay
15473 \family default
15474 s.
15475 \end_layout
15476
15477 \begin_layout Paragraph
15478 Using 
15479 \family sans
15480 Overlay
15481 \family default
15482  with 
15483 \family sans
15484 Slide
15485 \end_layout
15486
15487 \begin_layout Standard
15488 The idea behind an 
15489 \family sans
15490 Overlay
15491 \family default
15492  is a slide that sits atop another slide.
15493  Perhaps you wish to discuss a figure on the main 
15494 \family sans
15495 Slide
15496 \family default
15497  before displaying the text associated with it.
15498  One way to accomplish this is tape a flap of dark paper over the part of the 
15499 \family sans
15500 Slide
15501 \family default
15502  you want to display later.
15503  This method fails,
15504  however,
15505  if you wish to overlap one graph with another,
15506  for example.
15507  You would then have to fumble while speaking to align the two separate,
15508  overlapping 
15509 \family sans
15510 Slide
15511 \family default
15512 s to align the two graphs.
15513  The use of an 
15514 \family sans
15515 Overlay
15516 \family default
15517  environment in both cases makes life much easier.
15518 \end_layout
15519
15520 \begin_layout Standard
15521 Each 
15522 \family sans
15523 Overlay
15524 \family default
15525  receives the page number of its 
15526 \begin_inset Quotes eld
15527 \end_inset
15528
15529 parent
15530 \begin_inset Quotes erd
15531 \end_inset
15532
15533  
15534 \family sans
15535 Slide
15536 \family default
15537 ,
15538  appended by 
15539 \begin_inset Quotes eld
15540 \end_inset
15541
15542
15543 \family typewriter
15544 -a
15545 \family default
15546
15547 \begin_inset Quotes erd
15548 \end_inset
15549
15550 .
15551 \begin_inset Foot
15552 status collapsed
15553
15554 \begin_layout Plain Layout
15555 Presumably,
15556  mutliple 
15557 \family sans
15558 Overlay
15559 \family default
15560 s would have 
15561 \begin_inset Quotes eld
15562 \end_inset
15563
15564
15565 \family typewriter
15566 -a
15567 \family default
15568
15569 \begin_inset Quotes erd
15570 \end_inset
15571
15572 ,
15573  
15574 \begin_inset Quotes eld
15575 \end_inset
15576
15577
15578 \family typewriter
15579 -b
15580 \family default
15581
15582 \begin_inset Quotes erd
15583 \end_inset
15584
15585 ,
15586  
15587 \begin_inset Quotes eld
15588 \end_inset
15589
15590
15591 \family typewriter
15592 -c
15593 \family default
15594
15595 \begin_inset Quotes erd
15596 \end_inset
15597
15598 ,
15599  etc.
15600 \begin_inset space ~
15601 \end_inset
15602
15603 appended to the page number of the parent 
15604 \family sans
15605 Slide
15606 \family default
15607 .
15608  
15609 \end_layout
15610
15611 \end_inset
15612
15613  Clearly,
15614  you want the contents of both the 
15615 \family sans
15616 Slide
15617 \family default
15618  and the 
15619 \family sans
15620 Overlay
15621 \family default
15622  to each fit on a single physical slide!
15623  You should probably consider an 
15624 \family sans
15625 Overlay
15626 \family default
15627  as 
15628 \begin_inset Quotes eld
15629 \end_inset
15630
15631 part of
15632 \begin_inset Quotes erd
15633 \end_inset
15634
15635  a 
15636 \family sans
15637 Slide
15638 \family default
15639 .
15640  Indeed,
15641  the \SpecialChar LyX
15642  
15643 \family sans
15644 slides
15645 \family default
15646  class provides a visual cue for this:
15647  the label at the start of an 
15648 \family sans
15649 Overlay
15650 \family default
15651  is shorter than that at the start of a 
15652 \family sans
15653 Slide
15654 \family default
15655 .
15656  Lastly,
15657  when you generate printable output,
15658  you'll find alignment markers in all four corners of both the 
15659 \family sans
15660 Overlay
15661 \family default
15662  page and its parent 
15663 \family sans
15664 Slide
15665 \family default
15666 .
15667  These will assist you in lining up the two physical slides.
15668 \end_layout
15669
15670 \begin_layout Standard
15671 The major problem in overlaying two slides is aligning the contents of the two transparencies.
15672  How much space should you leave for that graph on the second slide?
15673  Worse still,
15674  what if you want a graph and a sentence on second slide,
15675  but there is text on the main transparency that goes in between them?
15676  You could try and insert vertical space of the right size.
15677  The better way is to use 
15678 \family sans
15679 InvisibleText
15680 \family default
15681  and 
15682 \family sans
15683 VisibleText
15684 \family default
15685 .
15686 \end_layout
15687
15688 \begin_layout Standard
15689 As their names imply,
15690  
15691 \family sans
15692 InvisibleText
15693 \family default
15694  and 
15695 \family sans
15696 VisibleText
15697 \family default
15698  are two command-like paragraph environments that make all subsequent text invisible and visible,
15699  respectively.
15700  Note from section
15701 \begin_inset space ~
15702 \end_inset
15703
15704
15705 \begin_inset CommandInset ref
15706 LatexCommand ref
15707 reference "sec:slideQuirk"
15708 nolink "false"
15709
15710 \end_inset
15711
15712  that you don't place anything 
15713 \emph on
15714 into
15715 \emph default
15716  these two environments,
15717  however.
15718  When you create an 
15719 \family sans
15720 InvisibleText
15721 \family default
15722 ,
15723  it inserts a centered,
15724  sky-blue label into the page reading 
15725 \begin_inset Quotes eld
15726 \end_inset
15727
15728 <Invisible Text Follows>
15729 \begin_inset Quotes erd
15730 \end_inset
15731
15732 .
15733  For paragraphs following this label,
15734  the parts of the 
15735 \family sans
15736 Slide
15737 \family default
15738  [or 
15739 \family sans
15740 Overlay
15741 \family default
15742 ;
15743  it doesn't matter which] where they would be contain instead blank space.
15744  
15745 \end_layout
15746
15747 \begin_layout Standard
15748 For 
15749 \family sans
15750 VisibleText
15751 \family default
15752 ,
15753  the corresponding centered label is 
15754 \begin_inset Quotes eld
15755 \end_inset
15756
15757 <Visible Text Follows>
15758 \begin_inset Quotes erd
15759 \end_inset
15760
15761  in blazing green.
15762  Paragraphs following this label behave normally.
15763  Note that the beginning of a new 
15764 \family sans
15765 Slide
15766 \family default
15767 ,
15768  
15769 \family sans
15770 Overlay
15771 \family default
15772 ,
15773  or 
15774 \family sans
15775 Note
15776 \family default
15777  automatically shuts off an 
15778 \family sans
15779 InvisibleText
15780 \family default
15781 .
15782  It's therefore not necessary to use 
15783 \family sans
15784 VisibleText
15785 \family default
15786  at the end of a 
15787 \family sans
15788 Slide
15789 \family default
15790 .
15791 \end_layout
15792
15793 \begin_layout Standard
15794 By now,
15795  it should be obvious how to create overlay transparencies using the proper combination of 
15796 \family sans
15797 InvisibleText
15798 \family default
15799  and 
15800 \family sans
15801 VisibleText
15802 \family default
15803  on a 
15804 \family sans
15805 Slide
15806 \family default
15807  and 
15808 \family sans
15809 Overlay
15810 \family default
15811 :
15812 \end_layout
15813
15814 \begin_layout Enumerate
15815 Create a 
15816 \family sans
15817 Slide
15818 \family default
15819 ,
15820  including everything that will appear on it,
15821  whether on the main slide or on the 
15822 \family sans
15823 Overlay
15824 \family default
15825 .
15826 \end_layout
15827
15828 \begin_layout Enumerate
15829 Before each figure or paragraph that will appear only on the 
15830 \family sans
15831 Overlay
15832 \family default
15833 ,
15834  insert an 
15835 \family sans
15836 InvisibleText
15837 \family default
15838  environment.
15839  If necessary,
15840  insert a 
15841 \family sans
15842 VisibleText
15843 \family default
15844  environment after the 
15845 \family sans
15846 Overlay
15847 \family default
15848 -only text.
15849 \end_layout
15850
15851 \begin_layout Enumerate
15852 Start an 
15853 \family sans
15854 Overlay
15855 \family default
15856  immediately following the 
15857 \family sans
15858 Slide
15859 \family default
15860 .
15861 \end_layout
15862
15863 \begin_layout Enumerate
15864 Copy the contents of this 
15865 \family sans
15866 Slide
15867 \family default
15868  into the 
15869 \family sans
15870 Overlay
15871 \family default
15872 .
15873 \end_layout
15874
15875 \begin_layout Enumerate
15876 Within the 
15877 \family sans
15878 Overlay
15879 \family default
15880 ,
15881  change all of the 
15882 \family sans
15883 InvisibleText
15884 \family default
15885  lines to 
15886 \family sans
15887 VisibleText
15888 \family default
15889  and vice-versa.
15890 \end_layout
15891
15892 \begin_layout Standard
15893 That's it.
15894  You've just made an 
15895 \family sans
15896 Overlay
15897 \family default
15898 .
15899 \end_layout
15900
15901 \begin_layout Standard
15902 There's one problem with the way I've designed the \SpecialChar LyX
15903  
15904 \family sans
15905 slides
15906 \family default
15907  class:
15908  you can't make text in the middle of a paragraph invisible,
15909  nor make text in the middle of an invisible paragraph visible again.
15910  To accomplish this feat,
15911  you'll need to use some inlined \SpecialChar LaTeX
15912  codes.
15913 \begin_inset Foot
15914 status collapsed
15915
15916 \begin_layout Plain Layout
15917 The commands of interest are:
15918  
15919 \end_layout
15920
15921 \begin_layout Itemize
15922
15923 \family typewriter
15924 {
15925 \backslash
15926 invisible \SpecialChar ldots
15927  }
15928 \end_layout
15929
15930 \begin_layout Itemize
15931
15932 \family typewriter
15933 {
15934 \backslash
15935 visible \SpecialChar ldots
15936  }
15937 \end_layout
15938
15939 \begin_layout Plain Layout
15940 \SpecialChar ldots
15941 and need to be marked as \SpecialChar TeX
15942 .
15943  The text whose 
15944 \begin_inset Quotes eld
15945 \end_inset
15946
15947 visibility
15948 \begin_inset Quotes erd
15949 \end_inset
15950
15951  you wish to change goes in between the brackets [and after the 
15952 \family typewriter
15953
15954 \backslash
15955 invisible
15956 \family default
15957  or 
15958 \family typewriter
15959
15960 \backslash
15961 visible
15962 \family default
15963  command].
15964  If you don't know how to mark text as \SpecialChar TeX
15965 ,
15966  see the appropriate section of the 
15967 \emph on
15968 User's Guide
15969 \emph default
15970 .
15971 \end_layout
15972
15973 \end_inset
15974
15975
15976 \end_layout
15977
15978 \begin_layout Paragraph
15979 Using 
15980 \family sans
15981 Note
15982 \family default
15983  with 
15984 \family sans
15985 Slide
15986 \family default
15987
15988 \begin_inset CommandInset label
15989 LatexCommand label
15990 name "sec:slideNote"
15991
15992 \end_inset
15993
15994
15995 \end_layout
15996
15997 \begin_layout Standard
15998 Like an 
15999 \family sans
16000 Overlay
16001 \family default
16002 ,
16003  a 
16004 \family sans
16005 Note
16006 \family default
16007  is associated with a 
16008 \begin_inset Quotes eld
16009 \end_inset
16010
16011 parent
16012 \begin_inset Quotes erd
16013 \end_inset
16014
16015  
16016 \family sans
16017 Slide
16018 \family default
16019 .
16020  Here,
16021  too,
16022  the \SpecialChar LyX
16023  
16024 \family sans
16025 slides
16026 \family default
16027  class provides visual cues.
16028  The label for a 
16029 \family sans
16030 Note
16031 \family default
16032  is shorter than that of a 
16033 \family sans
16034 Slide
16035 \family default
16036  [yet longer than that of an 
16037 \family sans
16038 Overlay
16039 \family default
16040 ] and,
16041  like the label of an 
16042 \family sans
16043 Overlay
16044 \family default
16045  is shockingly magenta.
16046  Additionally,
16047  the printed 
16048 \family sans
16049 Note
16050 \family default
16051  has the page number of its 
16052 \begin_inset Quotes eld
16053 \end_inset
16054
16055 parent
16056 \begin_inset Quotes erd
16057 \end_inset
16058
16059  
16060 \family sans
16061 Slide
16062 \family default
16063 ,
16064  appended by 
16065 \begin_inset Quotes eld
16066 \end_inset
16067
16068
16069 \family typewriter
16070 -
16071 \family default
16072 1
16073 \begin_inset Quotes erd
16074 \end_inset
16075
16076 ,
16077  
16078 \begin_inset Quotes eld
16079 \end_inset
16080
16081
16082 \family typewriter
16083 -
16084 \family default
16085 2
16086 \begin_inset Quotes erd
16087 \end_inset
16088
16089 ,
16090  
16091 \begin_inset Quotes eld
16092 \end_inset
16093
16094
16095 \family typewriter
16096 -
16097 \family default
16098 3
16099 \begin_inset Quotes erd
16100 \end_inset
16101
16102 ,
16103  etc.
16104  You can have multiple 
16105 \family sans
16106 Note
16107 \family default
16108 s associated with a single 
16109 \family sans
16110 Slide
16111 \family default
16112 ,
16113  and,
16114  as with 
16115 \family sans
16116 Slide
16117 \family default
16118  and 
16119 \family sans
16120 Overlay
16121 \family default
16122 ,
16123  you'll probably want to break up long 
16124 \family sans
16125 Note
16126 \family default
16127 s so that they fit on a single sheet of paper.
16128 \end_layout
16129
16130 \begin_layout Standard
16131 The purpose of a 
16132 \family sans
16133 Note
16134 \family default
16135  is obvious:
16136  it contains anything additional you might want to say about a 
16137 \family sans
16138 Slide
16139 \family default
16140 .
16141  It could also be used as a sheet of reminders for a particular 
16142 \family sans
16143 Slide
16144 \family default
16145 .
16146  In the case of the latter,
16147  you might want to make use of time markers.
16148  Currently,
16149  the \SpecialChar LyX
16150  
16151 \family sans
16152 slides
16153 \family default
16154  class has no 
16155 \begin_inset Quotes eld
16156 \end_inset
16157
16158 native
16159 \begin_inset Quotes erd
16160 \end_inset
16161
16162  support for time markers,
16163  a 
16164 \noun on
16165 Sli\SpecialChar TeX
16166
16167 \noun default
16168  feature.
16169  So,
16170  you'll have to resort to using the \SpecialChar LaTeX
16171  codes.
16172 \end_layout
16173
16174 \begin_layout Standard
16175 To use time markers,
16176  you'll need to specify the extra class option 
16177 \begin_inset Quotes eld
16178 \end_inset
16179
16180
16181 \family typewriter
16182 clock
16183 \family default
16184
16185 \begin_inset Quotes erd
16186 \end_inset
16187
16188  [see section
16189 \begin_inset space ~
16190 \end_inset
16191
16192
16193 \begin_inset CommandInset ref
16194 LatexCommand ref
16195 reference "sec:slidesetup"
16196 nolink "false"
16197
16198 \end_inset
16199
16200 ].
16201  This option turns on timing marks,
16202  which will appear in the lower-left-hand corner of every 
16203 \family sans
16204 Note
16205 \family default
16206  you generate.
16207  To set what appears in the time marker,
16208  you use the \SpecialChar LaTeX
16209  commands 
16210 \begin_inset Quotes eld
16211 \end_inset
16212
16213
16214 \family typewriter
16215
16216 \backslash
16217 settime{}
16218 \family default
16219
16220 \begin_inset Quotes erd
16221 \end_inset
16222
16223  and 
16224 \begin_inset Quotes eld
16225 \end_inset
16226
16227
16228 \family typewriter
16229
16230 \backslash
16231 addtime{}
16232 \family default
16233
16234 \begin_inset Quotes erd
16235 \end_inset
16236
16237 .
16238  The arguments of both commands are time measured in seconds.
16239  
16240 \begin_inset Quotes eld
16241 \end_inset
16242
16243
16244 \family typewriter
16245
16246 \backslash
16247 settime{}
16248 \family default
16249
16250 \begin_inset Quotes erd
16251 \end_inset
16252
16253  sets the time marker to a given time.
16254  
16255 \begin_inset Quotes eld
16256 \end_inset
16257
16258
16259 \family typewriter
16260
16261 \backslash
16262 addtime{}
16263 \family default
16264
16265 \begin_inset Quotes erd
16266 \end_inset
16267
16268  increments the time marker by the specified amount.
16269  Using time markers and 
16270 \family sans
16271 Note
16272 \family default
16273 s in this fashion,
16274  you can remind yourself how much time to spend on a particular 
16275 \family sans
16276 Slide
16277 \family default
16278 .
16279 \end_layout
16280
16281 \begin_layout Standard
16282 There's one last feature to describe.
16283  Clearly,
16284  you'd like to print out all of your 
16285 \family sans
16286 Slide
16287 \family default
16288 s and 
16289 \family sans
16290 Overlay
16291 \family default
16292 s on transparencies while printing all of your 
16293 \family sans
16294 Note
16295 \family default
16296 s on plain paper.
16297  However,
16298  a 
16299 \family sans
16300 Note
16301 \family default
16302  
16303 \emph on
16304 must
16305 \emph default
16306  follow the 
16307 \family sans
16308 Slide
16309 \family default
16310  with which it is associated.
16311  What's a person to do?
16312 \end_layout
16313
16314 \begin_layout Standard
16315 Luckily,
16316  there are two \SpecialChar LaTeX
16317  commands that allow you to select what to print out.
16318  Both must be placed into the preamble of your document.
16319  The command 
16320 \begin_inset Quotes eld
16321 \end_inset
16322
16323
16324 \family typewriter
16325
16326 \backslash
16327 onlyslides{
16328 \backslash
16329 slides}
16330 \family default
16331
16332 \begin_inset Quotes erd
16333 \end_inset
16334
16335  will cause the output to contain only the 
16336 \family sans
16337 Slide
16338 \family default
16339 s and 
16340 \family sans
16341 Overlay
16342 \family default
16343 s.
16344  Correspondingly,
16345  the command 
16346 \begin_inset Quotes eld
16347 \end_inset
16348
16349
16350 \family typewriter
16351
16352 \backslash
16353 onlynotes{
16354 \backslash
16355 notes}
16356 \family default
16357
16358 \begin_inset Quotes erd
16359 \end_inset
16360
16361  prevents the output of anything but 
16362 \family sans
16363 Note
16364 \family default
16365 s.
16366  I'd advise placing both commands in the preamble and initially comment both out.
16367  You can then preview your entire presentation as you write.
16368  When you're done writing,
16369  you can then uncomment one of the two to select what you want to print.
16370  I like to uncomment 
16371 \begin_inset Quotes eld
16372 \end_inset
16373
16374
16375 \family typewriter
16376
16377 \backslash
16378 onlyslides{
16379 \backslash
16380 slides}
16381 \family default
16382
16383 \begin_inset Quotes erd
16384 \end_inset
16385
16386  ,
16387  print to a file with 
16388 \begin_inset Quotes eld
16389 \end_inset
16390
16391
16392 \family typewriter
16393 -slides
16394 \family default
16395
16396 \begin_inset Quotes erd
16397 \end_inset
16398
16399  in its name,
16400  comment it back out,
16401  then uncomment 
16402 \begin_inset Quotes eld
16403 \end_inset
16404
16405
16406 \family typewriter
16407
16408 \backslash
16409 onlynotes{
16410 \backslash
16411 notes}
16412 \family default
16413
16414 \begin_inset Quotes erd
16415 \end_inset
16416
16417  and print to a 
16418 \begin_inset Quotes eld
16419 \end_inset
16420
16421
16422 \family typewriter
16423 *-notes.ps
16424 \family default
16425
16426 \begin_inset Quotes erd
16427 \end_inset
16428
16429  file.
16430  I can then send either file to a printer,
16431  loading transparencies or plain paper as appropriate.
16432 \end_layout
16433
16434 \begin_layout Standard
16435 You can also provide other arguments to the 
16436 \begin_inset Quotes eld
16437 \end_inset
16438
16439
16440 \family typewriter
16441
16442 \backslash
16443 onlyslides{}
16444 \family default
16445
16446 \begin_inset Quotes erd
16447 \end_inset
16448
16449  and 
16450 \begin_inset Quotes eld
16451 \end_inset
16452
16453
16454 \family typewriter
16455
16456 \backslash
16457 onlynotes{}
16458 \family default
16459
16460 \begin_inset Quotes erd
16461 \end_inset
16462
16463  commands.
16464  See a good \SpecialChar LaTeX
16465  book for details.
16466 \end_layout
16467
16468 \begin_layout Subsubsection
16469 The 
16470 \family sans
16471 slides
16472 \family default
16473  Class Template File
16474 \end_layout
16475
16476 \begin_layout Standard
16477 I have also provided a template file
16478 \change_deleted 564990737 1671617750
16479 ,
16480  
16481 \begin_inset Quotes eld
16482 \end_inset
16483
16484
16485 \family typewriter
16486 slides.lyx
16487 \family default
16488
16489 \begin_inset Quotes erd
16490 \end_inset
16491
16492 ,
16493
16494 \change_unchanged
16495  with the 
16496 \family sans
16497 slides
16498 \family default
16499  class.
16500  To use it,
16501  begin your new presentation with 
16502 \family sans
16503 File\SpecialChar menuseparator
16504 New
16505 \begin_inset space ~
16506 \end_inset
16507
16508 from
16509 \begin_inset space ~
16510 \end_inset
16511
16512 Template
16513 \change_inserted 564990737 1671616988
16514 \SpecialChar menuseparator
16515 Presentations\SpecialChar menuseparator
16516 Slides
16517 \change_unchanged
16518
16519 \family default
16520 .
16521  Your new \SpecialChar LyX
16522  presentation file will contain an example 
16523 \family sans
16524 Slide
16525 \family default
16526  – 
16527 \family sans
16528 Overlay
16529 \family default
16530  – 
16531 \family sans
16532 Note
16533 \family default
16534  triplet.
16535  The 
16536 \family sans
16537 Slide
16538 \family default
16539  and 
16540 \family sans
16541 Overlay
16542 \family default
16543  additionally contain an example of the use of 
16544 \family sans
16545 InvisibleText
16546 \family default
16547  and 
16548 \family sans
16549 VisibleText
16550 \family default
16551 .
16552  Lastly,
16553  the preamble will contain:
16554 \end_layout
16555
16556 \begin_layout LyX-Code
16557 % Uncomment to print out only slides and overlays
16558 \end_layout
16559
16560 \begin_layout LyX-Code
16561 %
16562 \end_layout
16563
16564 \begin_layout LyX-Code
16565 %
16566 \backslash
16567 onlyslides{
16568 \backslash
16569 slides}
16570 \begin_inset Newline newline
16571 \end_inset
16572
16573  
16574 \end_layout
16575
16576 \begin_layout LyX-Code
16577 % Uncomment to print out only notes
16578 \end_layout
16579
16580 \begin_layout LyX-Code
16581 %
16582 \end_layout
16583
16584 \begin_layout LyX-Code
16585 %
16586 \backslash
16587 onlynotes{
16588 \backslash
16589 notes}
16590 \end_layout
16591
16592 \begin_layout Standard
16593 One final thing:
16594  I created this class to support the \SpecialChar LaTeX2e
16595  
16596 \begin_inset Quotes eld
16597 \end_inset
16598
16599
16600 \noun on
16601 Sli\SpecialChar TeX
16602
16603 \noun default
16604  emulation
16605 \begin_inset Quotes erd
16606 \end_inset
16607
16608  class,
16609  one of the built-in \SpecialChar LaTeX2e
16610  classes.
16611  Neither I nor the rest of the \SpecialChar LyX
16612  Team endorse or oppose the use of this built-in slide class.
16613  It's here if you want it or need it.
16614  There exist other \SpecialChar LaTeX2e
16615  classes for creating presentations,
16616  such 
16617 \change_deleted -712698321 1673258708
16618 as the 
16619 \change_unchanged
16620
16621 \family sans
16622 Foils
16623 \family default
16624  
16625 \change_deleted -712698321 1673258709
16626 class 
16627 \change_inserted -712698321 1673258699
16628 (
16629 \change_deleted -712698321 1673258700
16630 [
16631 \change_unchanged
16632 see section
16633 \begin_inset space ~
16634 \end_inset
16635
16636
16637 \begin_inset CommandInset ref
16638 LatexCommand ref
16639 reference "sec:foiltex"
16640 nolink "false"
16641
16642 \end_inset
16643
16644
16645 \change_deleted -712698321 1673258703
16646 ]
16647 \change_inserted -712698321 1673258705
16648 )
16649 \change_unchanged
16650  or 
16651 \change_deleted -712698321 1673258714
16652 the 
16653 \begin_inset Quotes eld
16654 \end_inset
16655
16656
16657 \family typewriter
16658 seminar
16659 \family default
16660
16661 \begin_inset Quotes erd
16662 \end_inset
16663
16664  package [present on some \SpecialChar TeX
16665  distributions].
16666  The latter is not yet supported under \SpecialChar LyX
16667 .
16668 \begin_inset Foot
16669 status collapsed
16670
16671 \begin_layout Plain Layout
16672 Perhaps you can take on the task\SpecialChar ldots
16673
16674 \end_layout
16675
16676 \end_inset
16677
16678
16679 \change_inserted -712698321 1673258738
16680
16681 \family sans
16682 Seminar
16683 \family default
16684  (see section
16685 \begin_inset space ~
16686 \end_inset
16687
16688
16689 \begin_inset CommandInset ref
16690 LatexCommand ref
16691 reference "subsec:Seminar"
16692 plural "false"
16693 caps "false"
16694 noprefix "false"
16695 nolink "false"
16696
16697 \end_inset
16698
16699 ).
16700
16701 \change_unchanged
16702  
16703 \change_deleted -712698321 1673258749
16704 I know nothing about these other classes.
16705  
16706 \change_unchanged
16707 Try them out to see what sort of alternative they provide.
16708 \end_layout
16709
16710 \begin_layout Section
16711
16712 \change_inserted 564990737 1670439661
16713 Reports
16714 \end_layout
16715
16716 \begin_layout Subsection
16717
16718 \change_inserted 564990737 1670439661
16719 report
16720 \end_layout
16721
16722 \begin_layout Standard
16723
16724 \change_inserted -712698321 1673689969
16725 Report classes are sort of a hybrid between book and article classes:
16726  like book classes,
16727  they
16728 \change_deleted -712698321 1673689899
16729 The document class 
16730 \family sans
16731 report
16732 \family default
16733  provides the 
16734 \family sans
16735 report.cls
16736 \family default
16737  document class for preparing reports.
16738  Like the 
16739 \family sans
16740 book
16741 \family default
16742  document class,
16743  this
16744 \change_inserted 564990737 1670439661
16745  provide
16746 \change_deleted -712698321 1673689904
16747 s
16748 \change_inserted 564990737 1670439661
16749  parts,
16750  chapters and sections but does not provide 
16751 \change_deleted -712698321 1673690062
16752 the paragraph styles needed for a book
16753 \change_inserted -712698321 1673690073
16754 frontmatter,
16755  mainmatter,
16756  and backmatter
16757 \change_inserted 564990737 1670439661
16758 ;
16759  like 
16760 \change_deleted -712698321 1673690088
16761 the 
16762 \family sans
16763 article
16764 \family default
16765  document
16766 \change_inserted -712698321 1673690083
16767 article
16768 \change_inserted 564990737 1670439661
16769  class
16770 \change_inserted -712698321 1673690085
16771 es
16772 \change_inserted 564990737 1670439661
16773 ,
16774  
16775 \change_deleted -712698321 1673690094
16776 it
16777 \change_inserted -712698321 1673690094
16778 they
16779 \change_inserted 564990737 1670439661
16780  provide
16781 \change_deleted -712698321 1673690097
16782 s
16783 \change_inserted 564990737 1670439661
16784  
16785 \change_deleted -712698321 1673690101
16786 the 
16787 \change_inserted 564990737 1670439661
16788 abstract paragraph style
16789 \change_inserted -712698321 1673690514
16790 s and are one-sided by default.
16791  
16792 \change_deleted -712698321 1673690134
16793 .
16794  In two-sided mode,
16795  it does
16796 \change_inserted -712698321 1673690520
16797 Also,
16798  they do
16799 \change_inserted 564990737 1670439661
16800  not start a new chapter on the right hand page
16801 \change_inserted -712698321 1673690150
16802  (even in two-side mode)
16803 \change_inserted 564990737 1670439661
16804 .
16805 \end_layout
16806
16807 \begin_layout Standard
16808
16809 \change_deleted -712698321 1673690173
16810 The remaining
16811 \change_inserted -712698321 1673690287
16812 All externally maintained
16813 \change_inserted 564990737 1672743528
16814  
16815 \family sans
16816 report
16817 \family default
16818  document classes 
16819 \change_inserted -712698321 1673690678
16820 that are officially supported by \SpecialChar LyX
16821  
16822 \change_inserted 564990737 1672743528
16823 are described in the Collections (section
16824 \begin_inset space ~
16825 \end_inset
16826
16827
16828 \begin_inset CommandInset ref
16829 LatexCommand ref
16830 reference "sec:Collections"
16831 nolink "false"
16832
16833 \end_inset
16834
16835 )
16836 \change_inserted -712698321 1673690301
16837 :
16838 \change_deleted -712698321 1673690300
16839 .
16840 \change_inserted 564990737 1672743528
16841
16842 \end_layout
16843
16844 \begin_layout Itemize
16845
16846 \change_inserted 564990737 1672743530
16847 For 
16848 \change_deleted -712698321 1673690794
16849
16850 \family sans
16851 report
16852 \begin_inset space \thinspace{}
16853 \end_inset
16854
16855 (Japanese in vertical writing)
16856 \change_inserted -712698321 1675851188
16857 Japanese Report (Standard Class,
16858  vertical Writing)
16859 \change_inserted 564990737 1672743530
16860
16861 \family default
16862  and 
16863 \change_deleted -712698321 1673690762
16864
16865 \family sans
16866 report
16867 \begin_inset space \thinspace{}
16868 \end_inset
16869
16870 (Japanese)
16871 \change_inserted -712698321 1673690762
16872 Japanese Report (Standard Class)
16873 \change_inserted 564990737 1672743530
16874
16875 \family default
16876 ,
16877  see section
16878 \begin_inset space ~
16879 \end_inset
16880
16881
16882 \begin_inset CommandInset ref
16883 LatexCommand ref
16884 reference "subsec:Japanese"
16885 nolink "false"
16886
16887 \end_inset
16888
16889 .
16890 \end_layout
16891
16892 \begin_layout Itemize
16893
16894 \change_inserted 564990737 1672743530
16895 For 
16896 \change_deleted -712698321 1673690718
16897
16898 \family sans
16899 report
16900 \begin_inset space \thinspace{}
16901 \end_inset
16902
16903 (KOMA-Script)
16904 \change_inserted -712698321 1673690718
16905 KOMA-Script Report
16906 \change_inserted 564990737 1672743530
16907
16908 \family default
16909 ,
16910  see section
16911 \begin_inset space ~
16912 \end_inset
16913
16914
16915 \begin_inset CommandInset ref
16916 LatexCommand ref
16917 reference "subsec:KOMA-Script"
16918 nolink "false"
16919
16920 \end_inset
16921
16922 .
16923 \end_layout
16924
16925 \begin_layout Itemize
16926
16927 \change_inserted 564990737 1672743530
16928 For 
16929 \change_deleted -712698321 1673690815
16930
16931 \family sans
16932 report
16933 \begin_inset space \thinspace{}
16934 \end_inset
16935
16936 (with extra font sizes)
16937 \change_inserted -712698321 1673690815
16938 Report (Standard Class with Extra Font Sizes)
16939 \change_inserted 564990737 1672743530
16940
16941 \family default
16942 ,
16943  see section
16944 \begin_inset space ~
16945 \end_inset
16946
16947
16948 \begin_inset CommandInset ref
16949 LatexCommand ref
16950 reference "subsec:Extra-font-sizes"
16951 nolink "false"
16952
16953 \end_inset
16954
16955 .
16956 \end_layout
16957
16958 \begin_layout Itemize
16959
16960 \change_inserted 564990737 1672743569
16961 For 
16962 \change_deleted -712698321 1673690833
16963
16964 \family sans
16965 report
16966 \begin_inset space \thinspace{}
16967 \end_inset
16968
16969 (Polish version by M.
16970 \begin_inset space \thinspace{}
16971 \end_inset
16972
16973 W.)
16974 \change_inserted -712698321 1673690833
16975 Polish Report (MW Bundle)
16976 \change_inserted 564990737 1672743569
16977
16978 \family default
16979 ,
16980  see section
16981 \begin_inset space ~
16982 \end_inset
16983
16984
16985 \begin_inset CommandInset ref
16986 LatexCommand ref
16987 reference "subsec:Polish-M.W.collection"
16988 plural "false"
16989 caps "false"
16990 noprefix "false"
16991 nolink "false"
16992
16993 \end_inset
16994
16995 .
16996 \end_layout
16997
16998 \begin_layout Section
16999
17000 \change_inserted 564990737 1670439674
17001 Scripts
17002 \change_deleted -712698321 1673691106
17003  (drama)
17004 \change_inserted -712698321 1673691108
17005
17006 \end_layout
17007
17008 \begin_layout Standard
17009
17010 \change_inserted -712698321 1673691276
17011 In the 
17012 \family sans
17013 Scripts
17014 \family default
17015  category,
17016  we assemble document classes that help to write drama or movie scripts.
17017  The category is also open for other scripts,
17018  such as lecture scripts,
17019  for which no classes are officially supported yet by \SpecialChar LyX
17020  though.
17021 \change_inserted 564990737 1670439674
17022
17023 \end_layout
17024
17025 \begin_layout Subsection
17026 Broadway
17027 \end_layout
17028
17029 \begin_layout Standard
17030 by 
17031 \shape smallcaps
17032 Garst Reese
17033 \end_layout
17034
17035 \begin_layout Subsubsection
17036 Introduction
17037 \end_layout
17038
17039 \begin_layout Standard
17040
17041 \family sans
17042 Broadway
17043 \family default
17044  is for writing plays.
17045  The format is more decorative than 
17046 \family sans
17047 Hollywood
17048 \change_inserted -712698321 1673691568
17049
17050 \family default
17051  (see sec.
17052 \begin_inset space ~
17053 \end_inset
17054
17055
17056 \begin_inset CommandInset ref
17057 LatexCommand ref
17058 reference "subsec:Hollywood"
17059
17060 \end_inset
17061
17062 )
17063 \change_unchanged
17064 ,
17065  and much less standardized.
17066  This format should be suitable for workshops.
17067 \end_layout
17068
17069 \begin_layout Subsubsection
17070 Special problems
17071 \end_layout
17072
17073 \begin_layout Standard
17074 The same as in 
17075 \family sans
17076 Hollywood
17077 \change_inserted -712698321 1673691609
17078
17079 \family default
17080  (see section
17081 \begin_inset space ~
17082 \end_inset
17083
17084
17085 \begin_inset CommandInset ref
17086 LatexCommand ref
17087 reference "subsec:Special-problems-Hollywood"
17088
17089 \end_inset
17090
17091 )
17092 \change_unchanged
17093 .
17094 \end_layout
17095
17096 \begin_layout Subsubsection
17097 Special features
17098 \end_layout
17099
17100 \begin_layout Standard
17101 Insert the 
17102 \family sans
17103 Speaker
17104 \family default
17105  names as labels then cross-reference the label to insert the name.
17106  The cross-reference dialog will show the current cast of characters.
17107 \end_layout
17108
17109 \begin_layout Subsubsection
17110 Paper size and Margins
17111 \end_layout
17112
17113 \begin_layout Standard
17114 USLetter,
17115  left 1.6in,
17116  right 0.75in,
17117  top 0.5in,
17118  bottom 0.75in
17119 \end_layout
17120
17121 \begin_layout Subsubsection
17122 Environments
17123 \end_layout
17124
17125 \begin_layout Standard
17126 The following environments are available.
17127  You can use 
17128 \family typewriter
17129 broadway.bind
17130 \family default
17131  to get the bind keys shown at the right.
17132 \end_layout
17133
17134 \begin_layout Itemize
17135
17136 \family sans
17137 Standard
17138 \begin_inset Newline newline
17139 \end_inset
17140
17141
17142 \family default
17143 You should not have to use this,
17144  but it is here for anything that does not fit otherwise.
17145 \end_layout
17146
17147 \begin_layout Itemize
17148
17149 \family sans
17150 Narrative
17151 \begin_inset space \hfill{}
17152 \end_inset
17153
17154 M-z n
17155 \begin_inset Newline newline
17156 \end_inset
17157
17158
17159 \family default
17160 Used to describe stage setting and the action.
17161  First use of speaker names in all CAPs.
17162 \end_layout
17163
17164 \begin_layout Itemize
17165
17166 \family sans
17167 ACT
17168 \begin_inset space \hfill{}
17169 \end_inset
17170
17171 M-z a
17172 \begin_inset Newline newline
17173 \end_inset
17174
17175
17176 \family default
17177 Automatically numbered.
17178  On screen it will be arabic,
17179  but will print as Roman.
17180 \end_layout
17181
17182 \begin_layout Itemize
17183
17184 \family sans
17185 ACT*
17186 \begin_inset space \hfill{}
17187 \end_inset
17188
17189 M-z S at
17190 \begin_inset Newline newline
17191 \end_inset
17192
17193
17194 \family default
17195 Subtitle for 
17196 \family sans
17197 ACT.
17198
17199 \family default
17200  It is just centered text.
17201 \end_layout
17202
17203 \begin_layout Itemize
17204
17205 \family sans
17206 SCENE
17207 \begin_inset space \hfill{}
17208 \end_inset
17209
17210 M-z S-S
17211 \begin_inset Newline newline
17212 \end_inset
17213
17214
17215 \family default
17216 Not automatically numbered.
17217  You supply the number.
17218  This is because I couldn't figure out how.
17219 \end_layout
17220
17221 \begin_layout Itemize
17222
17223 \family sans
17224 AT_RISE:
17225 \begin_inset space \hfill{}
17226 \end_inset
17227
17228 M-z S-R
17229 \begin_inset Newline newline
17230 \end_inset
17231
17232
17233 \family default
17234 A special case of Narrative to describe the setting and action as the curtain rises.
17235 \end_layout
17236
17237 \begin_layout Itemize
17238
17239 \family sans
17240 Speaker
17241 \begin_inset space \hfill{}
17242 \end_inset
17243
17244 M-z s
17245 \begin_inset Newline newline
17246 \end_inset
17247
17248
17249 \family default
17250 The speaker's (actor's) title,
17251  centered in all CAPS.
17252 \end_layout
17253
17254 \begin_layout Itemize
17255
17256 \family sans
17257 Parenthetical
17258 \begin_inset space \hfill{}
17259 \end_inset
17260
17261 M-z p
17262 \begin_inset Newline newline
17263 \end_inset
17264
17265
17266 \family default
17267 Instructions to the speaker.
17268  The parentheses are automatically inserted.
17269  The ( will appear on screen,
17270  but both will be in the printed play.
17271  This environment is only used within 
17272 \family sans
17273 Dialogue
17274 \family default
17275 .
17276 \end_layout
17277
17278 \begin_layout Itemize
17279
17280 \family sans
17281 Dialogue
17282 \begin_inset space \hfill{}
17283 \end_inset
17284
17285 M-z d
17286 \begin_inset Newline newline
17287 \end_inset
17288
17289
17290 \family default
17291 What the Speaker says.
17292 \end_layout
17293
17294 \begin_layout Itemize
17295
17296 \family sans
17297 CURTAIN
17298 \begin_inset space \hfill{}
17299 \end_inset
17300
17301 M-z S-C
17302 \begin_inset Newline newline
17303 \end_inset
17304
17305
17306 \family default
17307 The curtain comes down.
17308 \end_layout
17309
17310 \begin_layout Itemize
17311
17312 \family sans
17313 Title
17314 \begin_inset space \hfill{}
17315 \end_inset
17316
17317 M-z S-T
17318 \end_layout
17319
17320 \begin_layout Itemize
17321
17322 \family sans
17323 Author
17324 \begin_inset space \hfill{}
17325 \end_inset
17326
17327 M-z S-A
17328 \end_layout
17329
17330 \begin_layout Itemize
17331
17332 \family sans
17333 Right_Address
17334 \begin_inset space \hfill{}
17335 \end_inset
17336
17337 M-z r
17338 \end_layout
17339
17340 \begin_layout Standard
17341 Hello there.
17342 \end_layout
17343
17344 \begin_layout Subsection
17345
17346 \change_inserted -712698321 1673691551
17347 \begin_inset CommandInset label
17348 LatexCommand label
17349 name "subsec:Hollywood"
17350
17351 \end_inset
17352
17353
17354 \change_unchanged
17355 Hollywood (Hollywood spec scripts)
17356 \end_layout
17357
17358 \begin_layout Standard
17359 by 
17360 \shape smallcaps
17361 Garst Reese
17362 \end_layout
17363
17364 \begin_layout Subsubsection
17365 Introduction
17366 \end_layout
17367
17368 \begin_layout Standard
17369 Getting the format of a Hollywood script right is a 
17370 \begin_inset Quotes eld
17371 \end_inset
17372
17373 rite of passage.
17374 \begin_inset Quotes erd
17375 \end_inset
17376
17377  It is designed to make the readers focus on content and to be easy and familiar for the actors to read.
17378  Each page of a script should be one minute of film.
17379  Nothing goes in a script that you cannot see or hear on screen.
17380  The courier 12 pt font should be used throughout.
17381  No italics.
17382 \end_layout
17383
17384 \begin_layout Subsubsection
17385
17386 \change_inserted -712698321 1673691597
17387 \begin_inset CommandInset label
17388 LatexCommand label
17389 name "subsec:Special-problems-Hollywood"
17390
17391 \end_inset
17392
17393
17394 \change_unchanged
17395 Special problems
17396 \end_layout
17397
17398 \begin_layout Standard
17399 Speakers' lines should 
17400 \change_deleted -712698321 1673691805
17401
17402 \emph on
17403 NEVER
17404 \change_inserted -712698321 1673691805
17405 never
17406 \change_unchanged
17407
17408 \emph default
17409  break in mid-sentence.
17410  If a speaker's lines continue over a page break,
17411  repeat the 
17412 \family sans
17413 Speaker
17414 \family default
17415  title followed by (Cont'd).
17416 \end_layout
17417
17418 \begin_layout Subsubsection
17419 Special features
17420 \end_layout
17421
17422 \begin_layout Standard
17423 Insert the 
17424 \family sans
17425 Speaker
17426 \family default
17427  names as labels then cross-reference the label to insert the name.
17428  The cross-reference dialog will show the current cast of characters.
17429  You can use this to insert the speaker name in narratives also.
17430 \end_layout
17431
17432 \begin_layout Subsubsection
17433 Paper size and Margins
17434 \end_layout
17435
17436 \begin_layout Standard
17437 USLetter,
17438  left 1.6in,
17439  right 0.75in,
17440  top 0.5in,
17441  bottom 0.75in
17442 \end_layout
17443
17444 \begin_layout Subsubsection
17445 Environments
17446 \end_layout
17447
17448 \begin_layout Standard
17449 The following environments are available.
17450  You can use 
17451 \family typewriter
17452 hollywood.bind
17453 \family default
17454  to get the bind keys shown at the right.
17455 \end_layout
17456
17457 \begin_layout Itemize
17458
17459 \family sans
17460 Standard
17461 \begin_inset Newline newline
17462 \end_inset
17463
17464
17465 \family default
17466 Used where nothing else works.
17467  Try to avoid it.
17468 \end_layout
17469
17470 \begin_layout Itemize
17471
17472 \family sans
17473 FADE_IN
17474 \family default
17475 :
17476 \begin_inset space \hfill{}
17477 \end_inset
17478
17479
17480 \family sans
17481 M-z S-I
17482 \family default
17483
17484 \begin_inset Newline newline
17485 \end_inset
17486
17487 Usually followed by something like 
17488 \begin_inset Quotes eld
17489 \end_inset
17490
17491 on Sally waking up.
17492 \begin_inset Quotes erd
17493 \end_inset
17494
17495
17496 \end_layout
17497
17498 \begin_layout Itemize
17499
17500 \family sans
17501 INT:
17502 \begin_inset space \hfill{}
17503 \end_inset
17504
17505 M-z i
17506 \begin_inset Newline newline
17507 \end_inset
17508
17509
17510 \family default
17511 Introduces a new INTERIOR camera set-up.
17512  Always followed by DAY or NIGHT,
17513  or something similar to define the lighting required.
17514  Everthing on this line in CAPS.
17515 \end_layout
17516
17517 \begin_layout Itemize
17518
17519 \family sans
17520 EXT:
17521 \begin_inset space \hfill{}
17522 \end_inset
17523
17524 M-z e
17525 \begin_inset Newline newline
17526 \end_inset
17527
17528
17529 \family default
17530 Introduces a new EXTERIOR camera set-up.
17531  Everthing on this line in CAPS.
17532 \end_layout
17533
17534 \begin_layout Itemize
17535
17536 \family sans
17537 Speaker
17538 \begin_inset space \hfill{}
17539 \end_inset
17540
17541 M-z s
17542 \begin_inset Newline newline
17543 \end_inset
17544
17545
17546 \family default
17547 The character speaking.
17548 \end_layout
17549
17550 \begin_layout Itemize
17551
17552 \family sans
17553 Parenthetical
17554 \begin_inset space \hfill{}
17555 \end_inset
17556
17557 M-z p
17558 \begin_inset Newline newline
17559 \end_inset
17560
17561
17562 \family default
17563 Instructions to the speaker.
17564  The () are automatically inserted.
17565 \end_layout
17566
17567 \begin_layout Itemize
17568
17569 \family sans
17570 Dialogue
17571 \begin_inset space \hfill{}
17572 \end_inset
17573
17574 M-z d
17575 \begin_inset Newline newline
17576 \end_inset
17577
17578
17579 \family default
17580 What the 
17581 \family sans
17582 Speaker
17583 \family default
17584  says.
17585 \end_layout
17586
17587 \begin_layout Itemize
17588
17589 \family sans
17590 Transition
17591 \begin_inset space \hfill{}
17592 \end_inset
17593
17594 M-z t
17595 \begin_inset Newline newline
17596 \end_inset
17597
17598
17599 \family default
17600 Camera movement instruction.
17601  e.
17602 \begin_inset space \thinspace{}
17603 \end_inset
17604
17605 g.
17606 \begin_inset space \space{}
17607 \end_inset
17608
17609 CUT TO:
17610 \end_layout
17611
17612 \begin_layout Itemize
17613
17614 \family sans
17615 FADE OUT:
17616 \begin_inset space \hfill{}
17617 \end_inset
17618
17619 M-z S-I
17620 \end_layout
17621
17622 \begin_layout Itemize
17623
17624 \family sans
17625 Author
17626 \begin_inset space \hfill{}
17627 \end_inset
17628
17629 M-z S-A
17630 \end_layout
17631
17632 \begin_layout Itemize
17633
17634 \family sans
17635 Title
17636 \begin_inset space \hfill{}
17637 \end_inset
17638
17639 M-z S-T
17640 \end_layout
17641
17642 \begin_layout Itemize
17643
17644 \family sans
17645 Right_Address
17646 \begin_inset space \hfill{}
17647 \end_inset
17648
17649 M-z r
17650 \end_layout
17651
17652 \begin_layout Subsubsection
17653 Script jargon
17654 \end_layout
17655
17656 \begin_layout Itemize
17657 (O.S) —
17658  off screen
17659 \end_layout
17660
17661 \begin_layout Itemize
17662 (V.0) —
17663  voice over
17664 \end_layout
17665
17666 \begin_layout Itemize
17667 b.
17668 \begin_inset space \thinspace{}
17669 \end_inset
17670
17671 g.
17672  —
17673  background
17674 \end_layout
17675
17676 \begin_layout Itemize
17677 C.U.
17678  —
17679  close-up
17680 \end_layout
17681
17682 \begin_layout Itemize
17683 PAN —
17684  camera movement
17685 \end_layout
17686
17687 \begin_layout Itemize
17688 INSERT —
17689  cut to close-up of
17690 \end_layout
17691
17692 \begin_layout Chapter
17693
17694 \change_inserted 564990737 1671185876
17695 Modules
17696 \end_layout
17697
17698 \begin_layout Section
17699
17700 \change_inserted 564990737 1671716212
17701 Academic Field Specifics
17702 \end_layout
17703
17704 \begin_layout Subsection
17705
17706 \change_inserted 564990737 1671716212
17707 Chemistry:
17708  Hazard and Precautionary Statements 
17709 \end_layout
17710
17711 \begin_layout Standard
17712
17713 \change_inserted 564990737 1671716212
17714 This module provides two insets 
17715 \change_inserted -712698321 1673779038
17716 and a paragraph style 
17717 \change_inserted 564990737 1671716212
17718 to typeset numbers and phrases of chemical hazard and precautionary statements.
17719  For a description see 
17720 \family sans
17721 File\SpecialChar menuseparator
17722 Open Example\SpecialChar menuseparator
17723 Modules\SpecialChar menuseparator
17724 Hazard and Precautionary Statements
17725 \family default
17726  and 
17727 \family sans
17728 Help\SpecialChar menuseparator
17729 Specific Manuals\SpecialChar menuseparator
17730 Hazard and Precautionary Statements
17731 \family default
17732 .
17733 \end_layout
17734
17735 \begin_layout Subsection
17736
17737 \change_inserted 564990737 1671716212
17738
17739 \series bold
17740 Chemistry:
17741  Risk and Safety Statements
17742 \end_layout
17743
17744 \begin_layout Standard
17745
17746 \change_inserted 564990737 1671716212
17747 This module provides two insets,
17748  
17749 \family sans
17750 R-S number
17751 \family default
17752  and 
17753 \family sans
17754 R-S phrase
17755 \family default
17756 ,
17757  accessible via the menu 
17758 \family sans
17759 \bar under
17760 I
17761 \bar default
17762 nsert\SpecialChar menuseparator
17763 Custom
17764 \begin_inset space ~
17765 \end_inset
17766
17767 Insets
17768 \family default
17769  and an environment to typeset numbers and phrases of chemical risk and safety statements.
17770 \end_layout
17771
17772 \begin_layout Subsection
17773
17774 \change_inserted 564990737 1671716212
17775 Linguistics
17776 \end_layout
17777
17778 \begin_layout Standard
17779
17780 \change_inserted 564990737 1671716212
17781 This module 
17782 \change_deleted -712698321 1673779847
17783 uses the 
17784 \family sans
17785 covington.sty
17786 \family default
17787  package to add
17788 \change_inserted -712698321 1673779869
17789 provides specific
17790 \change_inserted 564990737 1671716212
17791  environments useful for linguistics (numbered examples,
17792  glosses,
17793  semantic markup,
17794  
17795 \change_inserted -712698321 1673779891
17796 OT 
17797 \change_inserted 564990737 1671716212
17798 tableau floats).
17799  You can obtain information about this module in 
17800 \family sans
17801 \bar under
17802 H
17803 \bar default
17804 elp\SpecialChar menuseparator
17805 S
17806 \bar under
17807 p
17808 \bar default
17809 ecific
17810 \begin_inset space ~
17811 \end_inset
17812
17813 Manuals\SpecialChar menuseparator
17814
17815 \bar under
17816 L
17817 \bar default
17818 inguistics
17819 \family default
17820  and 
17821 \family sans
17822 File\SpecialChar menuseparator
17823 Open Example\SpecialChar menuseparator
17824 Modules\SpecialChar menuseparator
17825 Linguistics
17826 \family default
17827 .
17828 \end_layout
17829
17830 \begin_layout Section
17831
17832 \change_inserted 564990737 1671788778
17833 Accessibility
17834 \end_layout
17835
17836 \begin_layout Subsection
17837
17838 \change_inserted 564990737 1671788778
17839 Braille
17840 \end_layout
17841
17842 \begin_layout Standard
17843
17844 \change_inserted 564990737 1671788778
17845 This module supports the Braille 
17846 \change_deleted -712698321 1673779995
17847 writing system
17848 \change_inserted -712698321 1673779996
17849 script
17850 \change_inserted 564990737 1671788778
17851 .
17852  It requires the \SpecialChar LaTeX
17853  package 
17854 \family typewriter
17855 braille.sty
17856 \family default
17857 .
17858  This and its documentation can be obtained from 
17859 \begin_inset CommandInset href
17860 LatexCommand href
17861 name "CTAN"
17862 target "https://www.ctan.org/pkg/braille"
17863 literal "false"
17864
17865 \end_inset
17866
17867 .
17868  
17869 \change_deleted -712698321 1673780105
17870 You do not have to reconfigure your system after installing it.
17871  
17872 \change_inserted 564990737 1671788778
17873 See 
17874 \family sans
17875 \bar under
17876 H
17877 \bar default
17878 elp\SpecialChar menuseparator
17879 S
17880 \bar under
17881 p
17882 \bar default
17883 ecific
17884 \begin_inset space ~
17885 \end_inset
17886
17887 Manuals\SpecialChar menuseparator
17888
17889 \bar under
17890 B
17891 \bar default
17892 raille
17893 \family default
17894  and 
17895 \family sans
17896 File\SpecialChar menuseparator
17897 Open Example\SpecialChar menuseparator
17898 Modules\SpecialChar menuseparator
17899 Braille
17900 \family default
17901 .
17902 \end_layout
17903
17904 \begin_layout Section
17905
17906 \change_inserted 564990737 1671788778
17907 Annotation & Revision
17908 \end_layout
17909
17910 \begin_layout Subsection
17911
17912 \change_inserted 564990737 1671788778
17913 FiXme Notes
17914 \end_layout
17915
17916 \begin_layout Standard
17917
17918 \change_inserted 564990737 1671788778
17919 This module provides “FiXme” (marginal) annotations for document revision purposes.
17920  A list of annotations can be produced by using the “List of FIXMEs” paragraph style.
17921  The annotations are customizable via the LaTeX preamble.
17922  See the 
17923 \change_inserted -712698321 1673780478
17924
17925 \family typewriter
17926 fix
17927 \change_deleted -712698321 1673780479
17928 FiX
17929 \change_inserted 564990737 1671788778
17930 me
17931 \family default
17932  documentation which can be obtained from 
17933 \begin_inset CommandInset href
17934 LatexCommand href
17935 name "CTAN"
17936 target "http://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf"
17937 literal "false"
17938
17939 \end_inset
17940
17941 .
17942  
17943 \end_layout
17944
17945 \begin_layout Paragraph
17946
17947 \change_inserted 564990737 1671788778
17948 Note:
17949 \end_layout
17950
17951 \begin_layout Standard
17952
17953 \change_inserted 564990737 1671788778
17954 by default,
17955  the notes are only displayed in “draft” mode (if the option “draft” has been inserted in 
17956 \family sans
17957 Document\SpecialChar menuseparator
17958 Settings\SpecialChar menuseparator
17959 Document Class\SpecialChar menuseparator
17960 Class Options\SpecialChar menuseparator
17961 Custom
17962 \family default
17963 ).
17964  To display them always,
17965  insert 
17966 \family typewriter
17967
17968 \backslash
17969 fxsetup{draft}
17970 \family default
17971  in 
17972 \family sans
17973 Document\SpecialChar menuseparator
17974 Settings\SpecialChar menuseparator
17975 \SpecialChar LaTeX
17976  Preamble
17977 \family default
17978 .
17979  
17980 \end_layout
17981
17982 \begin_layout Subsection
17983
17984 \change_inserted 564990737 1671788778
17985 PDF Comments
17986 \end_layout
17987
17988 \begin_layout Standard
17989
17990 \change_inserted 564990737 1671788778
17991 This module provides various kinds of annotations for PDF output.
17992  See 
17993 \family sans
17994 Help\SpecialChar menuseparator
17995 Specific Manuals\SpecialChar menuseparator
17996 PDF comments 
17997 \family default
17998 and
17999 \family sans
18000  File\SpecialChar menuseparator
18001 Open Example\SpecialChar menuseparator
18002 Modules\SpecialChar menuseparator
18003 PDF Comments
18004 \family default
18005 .
18006 \end_layout
18007
18008 \begin_layout Subsection
18009
18010 \change_inserted 564990737 1671788778
18011
18012 \series bold
18013 PDF Form
18014 \end_layout
18015
18016 \begin_layout Standard
18017
18018 \change_inserted 564990737 1671788778
18019 This module provides fields and buttons for PDF forms.
18020  See the 
18021 \begin_inset CommandInset href
18022 LatexCommand href
18023 name "hyperref documentation"
18024 target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
18025 literal "false"
18026
18027 \end_inset
18028
18029 ,
18030  
18031 \family sans
18032 Help\SpecialChar menuseparator
18033 Specific Manuals\SpecialChar menuseparator
18034 PDF forms 
18035 \family default
18036 and
18037 \family sans
18038  File\SpecialChar menuseparator
18039 Open Example\SpecialChar menuseparator
18040 Modules\SpecialChar menuseparator
18041 PDF Form
18042 \family default
18043 .
18044 \end_layout
18045
18046 \begin_layout Subsection
18047
18048 \change_inserted 564990737 1671788778
18049
18050 \series bold
18051 Ruby (Furigana)
18052 \end_layout
18053
18054 \begin_layout Standard
18055
18056 \change_inserted 564990737 1671788778
18057 This module defines an inset to typeset reading aids (ruby,
18058  furigana) to Chinese characters.
18059  It uses the 
18060 \change_deleted -712698321 1673781076
18061
18062 \change_inserted 564990737 1671788778
18063
18064 \family typewriter
18065 okumakro
18066 \family default
18067 ,
18068 \change_deleted -712698321 1673781078
18069
18070 \change_inserted 564990737 1671788778
18071  
18072 \change_deleted -712698321 1673781079
18073
18074 \change_inserted 564990737 1671788778
18075
18076 \family typewriter
18077 luatexja-ruby
18078 \change_deleted -712698321 1673781080
18079
18080 \family default
18081
18082 \change_inserted 564990737 1671788778
18083  or 
18084 \change_deleted -712698321 1673781082
18085
18086 \change_inserted 564990737 1671788778
18087
18088 \family typewriter
18089 ruby
18090 \change_deleted -712698321 1673781083
18091
18092 \family default
18093
18094 \change_inserted 564990737 1671788778
18095  package (depending on the TeX engine) or a fallback definition.
18096  
18097 \end_layout
18098
18099 \begin_layout Subsection
18100
18101 \change_inserted 564990737 1671788778
18102
18103 \series bold
18104 TODO notes
18105 \end_layout
18106
18107 \begin_layout Standard
18108
18109 \change_inserted 564990737 1671788778
18110 This module provides custom insets to insert TODO items in your document.
18111  In order to generate a “List of TODOs,” the module provides a paragraph style.
18112  Inserting 
18113 \change_deleted -712698321 1673781223
18114
18115 \change_inserted 564990737 1671788778
18116
18117 \family typewriter
18118 final
18119 \change_deleted -712698321 1673781224
18120
18121 \family default
18122
18123 \change_inserted 564990737 1671788778
18124  in 
18125 \family sans
18126 Document\SpecialChar menuseparator
18127 Settings\SpecialChar menuseparator
18128 Document Class\SpecialChar menuseparator
18129 Class Options\SpecialChar menuseparator
18130 Custom
18131 \family default
18132 ) suppresses the output of TODO notes.
18133  See the 
18134 \begin_inset CommandInset href
18135 LatexCommand href
18136 name "todonotes documentation"
18137 target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
18138 literal "false"
18139
18140 \end_inset
18141
18142 .
18143 \end_layout
18144
18145 \begin_layout Section
18146
18147 \change_inserted 564990737 1671829045
18148 Bibliography 
18149 \end_layout
18150
18151 \begin_layout Subsection
18152
18153 \change_inserted 564990737 1671829045
18154 APA Style with Nat
18155 \change_deleted -712698321 1673781454
18156 B
18157 \change_inserted -712698321 1673781454
18158 b
18159 \change_inserted 564990737 1671829045
18160 ib
18161 \end_layout
18162
18163 \begin_layout Standard
18164
18165 \change_inserted 564990737 1671829045
18166 This module adds support for using natbib together with apacite (the bibliography style need not be 
18167 \family typewriter
18168 apacite
18169 \family default
18170  —
18171  it could be 
18172 \family typewriter
18173 apacite
18174 \family default
18175 ,
18176  
18177 \family typewriter
18178 apacitex
18179 \family default
18180 ,
18181  or any bibliography that works with both the natbib and apacite packages.) 
18182 \end_layout
18183
18184 \begin_layout Section
18185
18186 \change_inserted 564990737 1671829045
18187 Boxes
18188 \end_layout
18189
18190 \begin_layout Subsection
18191
18192 \change_inserted 564990737 1671829045
18193 Fancy Colored Boxes
18194 \end_layout
18195
18196 \begin_layout Standard
18197
18198 \change_inserted 564990737 1671829045
18199 This module adds ten custom insets that support colored boxes via the 
18200 \family typewriter
18201 tcolorbox
18202 \family default
18203  package.
18204  See 
18205 \family sans
18206 Help\SpecialChar menuseparator
18207 Specific Manuals\SpecialChar menuseparator
18208 Colored boxes
18209 \family default
18210 ,
18211  
18212 \family sans
18213 File\SpecialChar menuseparator
18214 Open Example\SpecialChar menuseparator
18215 Modules\SpecialChar menuseparator
18216 Fancy Color Boxes
18217 \family default
18218  
18219 \change_inserted -712698321 1673854244
18220 and 
18221 \change_inserted 564990737 1671829045
18222 the 
18223 \begin_inset CommandInset href
18224 LatexCommand href
18225 name "tcolorbox documentation"
18226 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
18227 literal "false"
18228
18229 \end_inset
18230
18231  for details.
18232  
18233 \end_layout
18234
18235 \begin_layout Subsection
18236
18237 \change_inserted 564990737 1671829045
18238 Graphic boxes
18239 \end_layout
18240
18241 \begin_layout Standard
18242
18243 \change_inserted 564990737 1671829045
18244 This provides the custom insets 
18245 \family sans
18246 Reflectbox
18247 \family default
18248 ,
18249  
18250 \family sans
18251 Resizebox
18252 \family default
18253 ,
18254  
18255 \family sans
18256 Rotatebox
18257 \family default
18258  and 
18259 \family sans
18260 Scalebox
18261 \family default
18262  to scale and rotate its content.
18263 \end_layout
18264
18265 \begin_layout Standard
18266
18267 \change_inserted 564990737 1671829045
18268
18269 \family sans
18270 Reflectbox
18271 \family default
18272  is a simple way of reversing text without any other enhancement:
18273 \end_layout
18274
18275 \begin_layout Standard
18276
18277 \change_inserted 564990737 1671829045
18278 \begin_inset Flex Reflectbox
18279 status open
18280
18281 \begin_layout Plain Layout
18282
18283 \change_inserted 564990737 1671829045
18284 Great Western Railway
18285 \change_unchanged
18286
18287 \end_layout
18288
18289 \end_inset
18290
18291
18292 \end_layout
18293
18294 \begin_layout Standard
18295
18296 \change_inserted 564990737 1671829045
18297 (You will need to use Ctrl-R to see any of these examples.)
18298 \end_layout
18299
18300 \begin_layout Standard
18301
18302 \change_inserted 564990737 1671829045
18303
18304 \family sans
18305 Resizebox
18306 \family default
18307  allows you to specify the dimensions of the text or image;
18308  permissible units are em,
18309  ex,
18310  in,
18311  pt,
18312  pc,
18313  cm,
18314  mm,
18315  dd,
18316  cc,
18317  nd,
18318  nc,
18319  bp,
18320  or sp;
18321  if you enter 
18322 \family typewriter
18323 !
18324
18325 \family default
18326  for 
18327 \family typewriter
18328 Height
18329 \family default
18330  it scales by the width factor:
18331 \end_layout
18332
18333 \begin_layout Standard
18334
18335 \change_inserted 564990737 1671829045
18336 \begin_inset Flex Resizebox
18337 status open
18338
18339 \begin_layout Plain Layout
18340
18341 \change_inserted 564990737 1671829045
18342 \begin_inset Argument 1
18343 status open
18344
18345 \begin_layout Plain Layout
18346
18347 \change_inserted 564990737 1671829045
18348 48mm
18349 \change_unchanged
18350
18351 \end_layout
18352
18353 \end_inset
18354
18355
18356 \begin_inset Argument 2
18357 status open
18358
18359 \begin_layout Plain Layout
18360
18361 \change_inserted 564990737 1671829045
18362 !
18363 \change_unchanged
18364
18365 \end_layout
18366
18367 \end_inset
18368
18369 Great Western Railway
18370 \change_unchanged
18371
18372 \end_layout
18373
18374 \end_inset
18375
18376
18377 \end_layout
18378
18379 \begin_layout Standard
18380
18381 \change_inserted 564990737 1671829045
18382
18383 \family sans
18384 Rotatebox
18385 \family default
18386  allows you to rotate 
18387 \change_deleted -712698321 1673856297
18388 text
18389 \change_inserted -712698321 1673856302
18390 its contents
18391 \change_inserted 564990737 1671829045
18392  around the reference point of the box.
18393  If you wish to rotate the box around a different origin,
18394  place the cursor inside the box and select Insert\SpecialChar menuseparator
18395 Origin;
18396  o
18397 \family typewriter
18398 rigin
18399 \family default
18400  is specified as 
18401 \family typewriter
18402 c
18403 \family default
18404 ,
18405
18406 \family typewriter
18407  l
18408 \family default
18409 ,
18410
18411 \family typewriter
18412  r
18413 \family default
18414 ,
18415
18416 \family typewriter
18417  b
18418 \family default
18419 ,
18420
18421 \family typewriter
18422  t
18423 \family default
18424  or meaningful combinations of these and the counterclockwise rotation angle is expressed in degrees.
18425  For example:
18426 \end_layout
18427
18428 \begin_layout Standard
18429
18430 \change_inserted 564990737 1671829045
18431 \begin_inset Flex Rotatebox
18432 status open
18433
18434 \begin_layout Plain Layout
18435
18436 \change_inserted 564990737 1671829045
18437 \begin_inset Argument 1
18438 status open
18439
18440 \begin_layout Plain Layout
18441
18442 \change_inserted 274215730 1672888693
18443 origin
18444 \change_inserted 564990737 1671829045
18445 =c
18446 \change_unchanged
18447
18448 \end_layout
18449
18450 \end_inset
18451
18452
18453 \begin_inset Argument 2
18454 status open
18455
18456 \begin_layout Plain Layout
18457
18458 \change_inserted 564990737 1671829045
18459 30
18460 \change_unchanged
18461
18462 \end_layout
18463
18464 \end_inset
18465
18466 Great Western Railway
18467 \change_unchanged
18468
18469 \end_layout
18470
18471 \end_inset
18472
18473
18474 \end_layout
18475
18476 \begin_layout Standard
18477
18478 \change_inserted 564990737 1671829045
18479 You can combine boxes as in:
18480 \end_layout
18481
18482 \begin_layout Standard
18483
18484 \change_inserted 564990737 1671829045
18485 \begin_inset Flex Rotatebox
18486 status open
18487
18488 \begin_layout Plain Layout
18489
18490 \change_inserted 564990737 1671829045
18491 \begin_inset Argument 1
18492 status open
18493
18494 \begin_layout Plain Layout
18495
18496 \change_inserted 274215730 1672888702
18497 origin
18498 \change_inserted 564990737 1671829045
18499 =c
18500 \change_unchanged
18501
18502 \end_layout
18503
18504 \end_inset
18505
18506
18507 \begin_inset Argument 2
18508 status open
18509
18510 \begin_layout Plain Layout
18511
18512 \change_inserted 564990737 1671829045
18513 -15
18514 \change_unchanged
18515
18516 \end_layout
18517
18518 \end_inset
18519
18520
18521 \begin_inset Flex Resizebox
18522 status open
18523
18524 \begin_layout Plain Layout
18525
18526 \change_inserted 564990737 1671829045
18527 \begin_inset Argument 1
18528 status open
18529
18530 \begin_layout Plain Layout
18531
18532 \change_inserted 564990737 1671829045
18533 48mm
18534 \change_unchanged
18535
18536 \end_layout
18537
18538 \end_inset
18539
18540
18541 \begin_inset Argument 2
18542 status open
18543
18544 \begin_layout Plain Layout
18545
18546 \change_inserted 564990737 1671829045
18547 !
18548 \change_unchanged
18549
18550 \end_layout
18551
18552 \end_inset
18553
18554
18555 \begin_inset Flex Reflectbox
18556 status open
18557
18558 \begin_layout Plain Layout
18559
18560 \change_inserted 564990737 1671829045
18561 Great Western Railway
18562 \change_unchanged
18563
18564 \end_layout
18565
18566 \end_inset
18567
18568
18569 \change_unchanged
18570
18571 \end_layout
18572
18573 \end_inset
18574
18575
18576 \change_unchanged
18577
18578 \end_layout
18579
18580 \end_inset
18581
18582
18583 \end_layout
18584
18585 \begin_layout Standard
18586
18587 \change_inserted 564990737 1671829045
18588
18589 \family sans
18590 Scalebox
18591 \family default
18592  scales 
18593 \change_deleted -712698321 1673856306
18594 text
18595 \change_inserted -712698321 1673856308
18596 its contents
18597 \change_inserted 564990737 1671829045
18598 ;
18599  select Insert\SpecialChar menuseparator
18600 V-Factor to add a vertical factor.
18601  If the vertical factor is omitted,
18602  the horizontal is used.
18603  Adding different horizontal and vertical values creates distortion as in 
18604 \end_layout
18605
18606 \begin_layout Standard
18607
18608 \change_inserted 564990737 1671829045
18609
18610 \family typewriter
18611 \begin_inset Flex Scalebox
18612 status open
18613
18614 \begin_layout Plain Layout
18615
18616 \change_inserted 564990737 1671829045
18617 \begin_inset Argument 1
18618 status open
18619
18620 \begin_layout Plain Layout
18621
18622 \change_inserted 564990737 1671829045
18623 2
18624 \change_unchanged
18625
18626 \end_layout
18627
18628 \end_inset
18629
18630
18631 \begin_inset Argument 2
18632 status open
18633
18634 \begin_layout Plain Layout
18635
18636 \change_inserted 564990737 1671829045
18637 1.5
18638 \change_unchanged
18639
18640 \end_layout
18641
18642 \end_inset
18643
18644
18645 \family roman
18646 Great Western Railway
18647 \change_unchanged
18648
18649 \end_layout
18650
18651 \end_inset
18652
18653 .
18654 \end_layout
18655
18656 \begin_layout Standard
18657
18658 \change_inserted 564990737 1671829045
18659 A negative horizontal value reverses the text 
18660 \change_inserted -712698321 1673856686
18661 on the horizontal axis,
18662  
18663 \change_deleted -712698321 1673856688
18664 and 
18665 \change_inserted 564990737 1671829045
18666 a negative vertical value 
18667 \change_deleted -712698321 1673856694
18668 inverts
18669 \change_inserted -712698321 1673856702
18670  on the vertical axis,
18671
18672 \change_inserted 564990737 1671829045
18673  
18674 \change_deleted -712698321 1673856704
18675 it 
18676 \change_inserted 564990737 1671829045
18677 so that you get 
18678 \end_layout
18679
18680 \begin_layout Standard
18681
18682 \change_inserted 564990737 1671829045
18683 \begin_inset Flex Scalebox
18684 status open
18685
18686 \begin_layout Plain Layout
18687
18688 \change_inserted 564990737 1671829045
18689 \begin_inset Argument 1
18690 status open
18691
18692 \begin_layout Plain Layout
18693
18694 \change_inserted 564990737 1671829045
18695 -1
18696 \change_unchanged
18697
18698 \end_layout
18699
18700 \end_inset
18701
18702
18703 \begin_inset Argument 2
18704 status open
18705
18706 \begin_layout Plain Layout
18707
18708 \change_inserted 564990737 1671829045
18709 1
18710 \change_unchanged
18711
18712 \end_layout
18713
18714 \end_inset
18715
18716 Great Western Railway
18717 \change_unchanged
18718
18719 \end_layout
18720
18721 \end_inset
18722
18723  and 
18724 \begin_inset Flex Scalebox
18725 status open
18726
18727 \begin_layout Plain Layout
18728
18729 \change_inserted 564990737 1671829045
18730 \begin_inset Argument 1
18731 status open
18732
18733 \begin_layout Plain Layout
18734
18735 \change_inserted 564990737 1671829045
18736 1
18737 \change_unchanged
18738
18739 \end_layout
18740
18741 \end_inset
18742
18743
18744 \begin_inset Argument 2
18745 status open
18746
18747 \begin_layout Plain Layout
18748
18749 \change_inserted 564990737 1671829045
18750 -1
18751 \change_unchanged
18752
18753 \end_layout
18754
18755 \end_inset
18756
18757 Great Western Railway
18758 \change_unchanged
18759
18760 \end_layout
18761
18762 \end_inset
18763
18764 .
18765 \end_layout
18766
18767 \begin_layout Subsection
18768
18769 \change_inserted 564990737 1671884699
18770 Section Boxes
18771 \end_layout
18772
18773 \begin_layout Standard
18774
18775 \change_inserted 564990737 1671884699
18776 This module defines Boxes with section header.
18777  It is mainly intended for the SciPoster Document class.
18778  
18779 \end_layout
18780
18781 \begin_layout Subsection
18782
18783 \change_inserted 564990737 1671884699
18784 Variable-width Minipages
18785 \end_layout
18786
18787 \begin_layout Standard
18788
18789 \change_inserted 564990737 1671884699
18790 This module adds a 
18791 \family sans
18792 Minipage (Var.
18793 \begin_inset space \thinspace{}
18794 \end_inset
18795
18796 Width)
18797 \family default
18798  inset to 
18799 \family sans
18800 Insert\SpecialChar menuseparator
18801 Custom Inset
18802 \family default
18803  using the 
18804 \family typewriter
18805 varwidth
18806 \family default
18807  LaTeX package.
18808  The 
18809 \family typewriter
18810 varwidth
18811 \family default
18812  package provides a variable-width minipage,
18813  whose resulting width is the width of its contents (if this does not exceed the specified maximum width).
18814  The inset has two optional arguments which can be added by placing the cursor inside the minipage and entering 
18815 \family sans
18816 Insert\SpecialChar menuseparator
18817 Vert.
18818 \begin_inset space \thinspace{}
18819 \end_inset
18820
18821 Adjustment
18822 \family default
18823  (
18824 \family typewriter
18825 c|t|b
18826 \family default
18827 ) or 
18828 \family sans
18829 Insert\SpecialChar menuseparator
18830 Max.
18831 \begin_inset space \thinspace{}
18832 \end_inset
18833
18834 Width
18835 \family default
18836  (defaults to 
18837 \family typewriter
18838
18839 \backslash
18840 linewidth
18841 \family default
18842 ).
18843  See 
18844 \family sans
18845 File\SpecialChar menuseparator
18846 Open Example\SpecialChar menuseparator
18847 Variable-width Minipages
18848 \family default
18849 .
18850  
18851 \end_layout
18852
18853 \begin_layout Section
18854
18855 \change_inserted 564990737 1671884699
18856 Fixes & Hacks
18857 \end_layout
18858
18859 \begin_layout Subsection
18860
18861 \change_inserted 564990737 1671884699
18862 Fix Computer Modern Fonts
18863 \end_layout
18864
18865 \begin_layout Standard
18866
18867 \change_inserted 564990737 1671884699
18868 This module uses the 
18869 \family sans
18870 fix-cm
18871 \family default
18872  package to improve the appearance of Computer Modern fonts and make them available with arbitrary sizes.
18873  See the 
18874 \begin_inset CommandInset href
18875 LatexCommand href
18876 name "fix-cm documentation"
18877 target "http://mirrors.ctan.org/macros/latex/base/fix-cm.pdf"
18878 literal "false"
18879
18880 \end_inset
18881
18882 .
18883  
18884 \end_layout
18885
18886 \begin_layout Subsection
18887
18888 \change_inserted 564990737 1671884699
18889 \SpecialChar LaTeX
18890  Kernel Fixes (Obsolete)
18891 \end_layout
18892
18893 \begin_layout Standard
18894
18895 \change_inserted 564990737 1671884699
18896 This module loads the \SpecialChar LaTeX
18897  package 
18898 \family sans
18899 fixltx2e
18900 \family default
18901  which contains some bug fixes for \SpecialChar LaTeX
18902 .
18903  If you use this module your typeset document may look different when you process it,
18904  depending on the respective version of 
18905 \family sans
18906 fixltx2e
18907 \family default
18908 .
18909  
18910 \end_layout
18911
18912 \begin_layout Paragraph
18913
18914 \change_inserted 564990737 1671884699
18915 Note:
18916 \end_layout
18917
18918 \begin_layout Standard
18919
18920 \change_inserted 564990737 1671884699
18921 recent \SpecialChar LaTeX
18922  kernels (as of 2015/01/01) include the functionality of 
18923 \family sans
18924 fixltx2e
18925 \family default
18926 ,
18927  so the 
18928 \family sans
18929 fixltx2e
18930 \family default
18931  module is obsolete with newer \SpecialChar LaTeX
18932  distributions.
18933
18934 \change_deleted -712698321 1673857809
18935  
18936 \change_inserted 564990737 1671884699
18937
18938 \end_layout
18939
18940 \begin_layout Subsection
18941
18942 \change_inserted 564990737 1671884699
18943 Minimalistic Insets
18944 \end_layout
18945
18946 \begin_layout Standard
18947
18948 \change_inserted 564990737 1671884699
18949 This module redefines several insets (Index,
18950  Branch,
18951  URL) as being Minimalistic.
18952 \end_layout
18953
18954 \begin_layout Subsection
18955
18956 \change_inserted 564990737 1671884699
18957 Title and Preamble Hacks
18958 \end_layout
18959
18960 \begin_layout Standard
18961
18962 \change_inserted 564990737 1671884699
18963 This module provides two new paragraph styles:
18964  
18965 \end_layout
18966
18967 \begin_layout Enumerate
18968
18969 \change_inserted 564990737 1671884699
18970
18971 \family sans
18972 In Preamble
18973 \family default
18974  which puts whatever is entered into it into the preamble.
18975  This can be used,
18976  if one wishes,
18977  to include preamble code in the body of a LyX document.
18978  
18979 \end_layout
18980
18981 \begin_layout Enumerate
18982
18983 \change_inserted 564990737 1671884699
18984
18985 \family sans
18986 In Title
18987 \family default
18988  which that will put its contents into the body of the LaTeX document,
18989  but before 
18990 \family typewriter
18991
18992 \backslash
18993 maketitle
18994 \family default
18995  is issued.
18996  This is useful for making branches and notes in title-related material.
18997  (However,
18998  if you put these in a 
18999 \family sans
19000 Standard
19001 \family default
19002  layout,
19003  this signals to LyX to output 
19004 \family typewriter
19005
19006 \backslash
19007 maketitle
19008 \family default
19009 ,
19010  which may then come too early.)
19011 \end_layout
19012
19013 \begin_layout Section
19014
19015 \change_inserted 564990737 1672081439
19016 Floats & captions
19017 \end_layout
19018
19019 \begin_layout Subsection
19020
19021 \change_inserted 564990737 1672081439
19022 Algorithm2e Float
19023 \end_layout
19024
19025 \begin_layout Standard
19026
19027 \change_inserted 564990737 1672081439
19028 This module uses the 
19029 \family sans
19030 algorithm2e
19031 \family default
19032  package for algorithm floats rather than LyX’s home-brewed algorithm floats.
19033  Use the Algorithm paragraph style to enter and indent the algorithm.
19034  See the 
19035 \begin_inset CommandInset href
19036 LatexCommand href
19037 name "algorithm2e documentation"
19038 target "http://mirrors.ctan.org/macros/latex/contrib/algorithm2e/doc/algorithm2e.pdf"
19039 literal "false"
19040
19041 \end_inset
19042
19043 .
19044 \end_layout
19045
19046 \begin_layout Subsection
19047
19048 \change_inserted 564990737 1672081439
19049 Bilingual Captions AKA Multilingual Captions
19050 \end_layout
19051
19052 \begin_layout Standard
19053
19054 \change_inserted 564990737 1672081439
19055 This module provides the paragraph style 
19056 \family sans
19057 Caption
19058 \begin_inset space ~
19059 \end_inset
19060
19061 setup
19062 \family default
19063  with which to typeset 
19064 \change_deleted -712698321 1673859156
19065 mult
19066 \change_inserted -712698321 1673859156
19067 b
19068 \change_inserted 564990737 1672081439
19069 ilingual captions.
19070  Within this paragraph style 
19071 \family sans
19072 Insert\SpecialChar menuseparator
19073 Language
19074 \family default
19075  allows you to enter the desired 
19076 \change_inserted -712698321 1673859387
19077 second 
19078 \change_inserted 564990737 1672081439
19079 language using one of the babel names.
19080  See 
19081 \family sans
19082 File\SpecialChar menuseparator
19083 Open Example\SpecialChar menuseparator
19084
19085 \change_inserted -712698321 1673859558
19086 Modules\SpecialChar menuseparator
19087
19088 \change_inserted 564990737 1672081439
19089 Multilingual Captions
19090 \family default
19091  and 
19092 \family sans
19093 Help\SpecialChar menuseparator
19094 Specific Manuals\SpecialChar menuseparator
19095 Multilingual Captions
19096 \family default
19097  further information on its use.
19098 \end_layout
19099
19100 \begin_layout Subsection
19101
19102 \change_inserted 564990737 1672081439
19103 Number Figures by Section
19104 \end_layout
19105
19106 \begin_layout Standard
19107
19108 \change_inserted 564990737 1672081439
19109 This module resets the figure number at section start and prepends the section number to the figure number,
19110  as in “Figure 2.1.” (By default book and report document classes number by Chapter and article document classes have a single sequence.) 
19111 \end_layout
19112
19113 \begin_layout Subsection
19114
19115 \change_inserted 564990737 1672081439
19116 Number Tables by Section
19117 \end_layout
19118
19119 \begin_layout Standard
19120
19121 \change_inserted 564990737 1672081439
19122 This module resets the table number at section start and prepends the section number to the table number,
19123  as in “Table 2.1.” (By default book and report document classes number by Chapter and article document classes have a single sequence.) 
19124 \end_layout
19125
19126 \begin_layout Section
19127
19128 \change_inserted 564990737 1672081439
19129 Foot- and Endnotes
19130 \end_layout
19131
19132 \begin_layout Subsection
19133
19134 \change_inserted 564990737 1672081439
19135 Endnotes (Basic)
19136 \end_layout
19137
19138 \begin_layout Standard
19139
19140 \change_inserted 564990737 1672081439
19141 This module adds an endnote inset,
19142  in addition to footnotes.
19143  This uses the 
19144 \family sans
19145 endnotes
19146 \family default
19147  package,
19148  which has some limitations but works with older 
19149 \change_deleted -712698321 1673861636
19150 LaTeX
19151 \change_inserted -712698321 1673861636
19152 \SpecialChar LaTeX
19153
19154 \change_inserted 564990737 1672081439
19155  distributions as well.
19156  Use 
19157 \family sans
19158 Insert\SpecialChar menuseparator
19159 Custom Inset\SpecialChar menuseparator
19160 Endnote
19161 \family default
19162  to insert an endnote and 
19163 \family sans
19164 Insert\SpecialChar menuseparator
19165 List/Contents/References\SpecialChar menuseparator
19166 Endnotes
19167 \family default
19168  to insert the endnotes list where you want the endnotes to appear.
19169  See also 
19170 \family sans
19171 Help\SpecialChar menuseparator
19172 Embedded
19173 \change_deleted -712698321 1673861792
19174 \SpecialChar menuseparator
19175
19176 \change_inserted 564990737 1672081439
19177  Objects
19178 \change_deleted -712698321 1673861963
19179 \SpecialChar menuseparator
19180 Notes\SpecialChar menuseparator
19181 Footnotes
19182 \change_inserted -712698321 1673861963
19183
19184 \family default
19185 ,
19186  section 
19187 \emph on
19188 4.2 Footnotes
19189 \change_inserted 564990737 1672081439
19190
19191 \emph default
19192 .
19193 \end_layout
19194
19195 \begin_layout Subsection
19196
19197 \change_inserted 564990737 1672081439
19198 Endnotes (Extended)
19199 \end_layout
19200
19201 \begin_layout Standard
19202
19203 \change_inserted 564990737 1672081439
19204 This module adds an endnote inset,
19205  in addition to footnotes.
19206  This uses the 
19207 \family sans
19208 enotez
19209 \family default
19210  package which is more powerful and customizable than the 
19211 \family sans
19212 endnotes
19213 \family default
19214  package,
19215  but requires a fairly modern 
19216 \change_deleted -712698321 1673861643
19217 LaTeX
19218 \change_inserted -712698321 1673861643
19219 \SpecialChar LaTeX
19220
19221 \change_inserted 564990737 1672081439
19222  distribution (with 
19223 \change_deleted -712698321 1673861645
19224 LaTeX
19225 \change_inserted -712698321 1673861645
19226 \SpecialChar LaTeX
19227
19228 \change_inserted 564990737 1672081439
19229 3).
19230  Use 
19231 \family sans
19232 Insert\SpecialChar menuseparator
19233 Custom Inset\SpecialChar menuseparator
19234 Endnote
19235 \family default
19236  to insert an endnote and 
19237 \family sans
19238 Insert\SpecialChar menuseparator
19239 List/Contents/References\SpecialChar menuseparator
19240 Endnotes
19241 \family default
19242  to insert the endnotes list where you want the endnotes to appear.
19243  See also 
19244 \family sans
19245 Help\SpecialChar menuseparator
19246 Embedded
19247 \change_deleted -712698321 1673861798
19248 \SpecialChar menuseparator
19249
19250 \change_inserted 564990737 1672081439
19251  Objects
19252 \change_inserted -712698321 1673861924
19253
19254 \family default
19255 ,
19256  section 
19257 \emph on
19258 4.2 Footnotes
19259 \emph default
19260 .
19261 \change_deleted -712698321 1673861927
19262
19263 \family sans
19264 \SpecialChar menuseparator
19265 Notes\SpecialChar menuseparator
19266 Footnotes
19267 \change_inserted 564990737 1672081439
19268
19269 \family default
19270 .
19271 \end_layout
19272
19273 \begin_layout Subsection
19274
19275 \change_inserted 564990737 1672081439
19276 Footnotes as Endnotes (Basic)
19277 \end_layout
19278
19279 \begin_layout Standard
19280
19281 \change_inserted 564990737 1672081439
19282 This module sets all footnotes as endnotes.
19283  This uses the 
19284 \family sans
19285 endnotes
19286 \family default
19287  package,
19288  which has some limitations but works with older 
19289 \change_deleted -712698321 1673861650
19290 LaTeX
19291 \change_inserted -712698321 1673861650
19292 \SpecialChar LaTeX
19293
19294 \change_inserted 564990737 1672081439
19295  distributions as well.
19296  Use 
19297 \family sans
19298 Insert\SpecialChar menuseparator
19299 List/Contents/References\SpecialChar menuseparator
19300 Endnotes
19301 \family default
19302  to insert the endnotes list where you want the endnotes to appear.
19303  See also 
19304 \family sans
19305 Help\SpecialChar menuseparator
19306 Embedded
19307 \change_deleted -712698321 1673861805
19308 \SpecialChar menuseparator
19309
19310 \change_inserted 564990737 1672081439
19311  Objects
19312 \change_deleted -712698321 1673861947
19313 \SpecialChar menuseparator
19314 Notes\SpecialChar menuseparator
19315 Footnotes
19316 \change_inserted -712698321 1673861947
19317
19318 \family default
19319 ,
19320  section 
19321 \emph on
19322 4.2 Footnotes
19323 \change_inserted 564990737 1672081439
19324
19325 \emph default
19326 .
19327 \end_layout
19328
19329 \begin_layout Subsection
19330
19331 \change_inserted 564990737 1672081439
19332 Footnotes as Endnotes (Extended)
19333 \end_layout
19334
19335 \begin_layout Standard
19336
19337 \change_inserted 564990737 1672081439
19338 This module sets all footnotes as endnotes.
19339  This uses the 
19340 \family sans
19341 enotez
19342 \family default
19343  package which is more powerful and customizable than then 
19344 \family sans
19345 endnotes
19346 \family default
19347  package,
19348  but requires a fairly modern 
19349 \change_deleted -712698321 1673861654
19350 LaTeX
19351 \change_inserted -712698321 1673861654
19352 \SpecialChar LaTeX
19353
19354 \change_inserted 564990737 1672081439
19355  distribution (with 
19356 \change_deleted -712698321 1673861656
19357 LaTeX
19358 \change_inserted -712698321 1673861656
19359 \SpecialChar LaTeX
19360
19361 \change_inserted 564990737 1672081439
19362 3).
19363  Use 
19364 \family sans
19365 Insert\SpecialChar menuseparator
19366 List/Contents/References\SpecialChar menuseparator
19367 Endnotes
19368 \family default
19369  to insert the endnotes list where you want the endnotes to appear.
19370  See also 
19371 \family sans
19372 Help\SpecialChar menuseparator
19373 Embedded
19374 \change_deleted -712698321 1673861808
19375 \SpecialChar menuseparator
19376
19377 \change_inserted 564990737 1672081439
19378  Objects
19379 \change_deleted -712698321 1673861955
19380 \SpecialChar menuseparator
19381 Notes\SpecialChar menuseparator
19382 Footnotes
19383 \change_inserted -712698321 1673861989
19384
19385 \family default
19386 ,
19387  section 
19388 \emph on
19389 4.2 Footnotes
19390 \emph default
19391 .
19392 \change_deleted -712698321 1673861956
19393 .
19394 \change_inserted 564990737 1672081439
19395
19396 \end_layout
19397
19398 \begin_layout Section
19399
19400 \change_inserted 564990737 1672081439
19401 Leisure,
19402  Sports and Music
19403 \end_layout
19404
19405 \begin_layout Subsection
19406
19407 \change_inserted 564990737 1672081439
19408 Chess Board
19409 \end_layout
19410
19411 \begin_layout Standard
19412
19413 \change_inserted 564990737 1672081439
19414 This module provides support for the 
19415 \family sans
19416 chessboard
19417 \family default
19418  package to print chess games.
19419  See 
19420 \family sans
19421 File\SpecialChar menuseparator
19422 Open Example\SpecialChar menuseparator
19423 Articles\SpecialChar menuseparator
19424 Chess
19425 \family default
19426  where you will find 
19427 \family sans
19428 Game 1
19429 \family default
19430  and 
19431 \family sans
19432 Game 2
19433 \family default
19434  and the 
19435 \begin_inset CommandInset href
19436 LatexCommand href
19437 name "chessboard documentation"
19438 target "http://mirrors.ctan.org/macros/latex/contrib/chessboard/chessboard.pdf"
19439 literal "false"
19440
19441 \end_inset
19442
19443 .
19444 \end_layout
19445
19446 \begin_layout Subsection
19447
19448 \change_inserted 564990737 1672081439
19449 Lilypond Music Notation
19450 \end_layout
19451
19452 \begin_layout Standard
19453
19454 \change_inserted 564990737 1672081439
19455 This module provides an inset via 
19456 \family sans
19457 \bar under
19458 I
19459 \bar default
19460 nsert\SpecialChar menuseparator
19461 Custom Inset\SpecialChar menuseparator
19462 Lilypond
19463 \family default
19464  in which to enter code for the LilyPond music editor.
19465  It will then be processed in the output.
19466  See 
19467 \family sans
19468 Help\SpecialChar menuseparator
19469 Specific Manuals\SpecialChar menuseparator
19470 Lilypond
19471 \family default
19472  and 
19473 \family sans
19474 File\SpecialChar menuseparator
19475 Open Example\SpecialChar menuseparator
19476 Modules\SpecialChar menuseparator
19477 Lilypond Book
19478 \family default
19479 .
19480  It cannot be used if the modules 
19481 \family sans
19482 Rnw
19483 \begin_inset space \thinspace{}
19484 \end_inset
19485
19486 (knitr) 
19487 \family default
19488 or
19489 \family sans
19490  Sweave
19491 \family default
19492  have been loaded.
19493 \end_layout
19494
19495 \begin_layout Section
19496
19497 \change_inserted 564990737 1672138150
19498 List enhancements
19499 \end_layout
19500
19501 \begin_layout Subsection
19502
19503 \change_inserted 564990737 1672138150
19504 Customizable Lists
19505 \begin_inset CommandInset label
19506 LatexCommand label
19507 name "subsec:Customizable-Lists"
19508
19509 \end_inset
19510
19511
19512 \end_layout
19513
19514 \begin_layout Standard
19515
19516 \change_inserted 564990737 1672138150
19517 This module uses the
19518 \family sans
19519  enumitem
19520 \family default
19521  package to enable the customization of various list environments.
19522 \end_layout
19523
19524 \begin_layout Subsubsection
19525
19526 \change_inserted 564990737 1672138150
19527 Custom Enumerate Lists
19528 \end_layout
19529
19530 \begin_layout Standard
19531 \noindent
19532
19533 \change_inserted 564990737 1672138150
19534 The default numbering of numbered lists can be changed by adding an optional argument (menu 
19535 \family sans
19536 \bar under
19537 I
19538 \bar default
19539 nsert\SpecialChar menuseparator
19540
19541 \bar under
19542 S
19543 \bar default
19544 hort Title
19545 \family default
19546 ) to the first item of each level in the list.
19547  There you add the command
19548 \end_layout
19549
19550 \begin_layout Standard
19551
19552 \change_inserted 564990737 1672138150
19553
19554 \family sans
19555 label=
19556 \backslash
19557 roman{enumi}
19558 \end_layout
19559
19560 \begin_layout Standard
19561
19562 \change_inserted 564990737 1672138150
19563 in \SpecialChar TeX
19564  Code (shortcut 
19565 \begin_inset Info
19566 type  "shortcut"
19567 arg   "ert-insert"
19568 \end_inset
19569
19570 ).
19571 \end_layout
19572
19573 \begin_layout Standard
19574
19575 \change_inserted 564990737 1672138150
19576
19577 \family sans
19578 enumi
19579 \family default
19580  is the first level counter of the enumeration.
19581  To change the numbering for the list sublevels,
19582  replace the “
19583 \family sans
19584 i
19585 \family default
19586 ” in the command by the small Roman numeral of the level (
19587 \family sans
19588 enumi
19589 \family default
19590 ,
19591  
19592 \family sans
19593 enumii
19594 \family default
19595 ,
19596  
19597 \family sans
19598 enumiii
19599 \family default
19600 ,
19601  
19602 \family sans
19603 enumiv
19604 \family default
19605 ).
19606 \end_layout
19607
19608 \begin_layout Standard
19609
19610 \change_inserted 564990737 1672138150
19611 The command 
19612 \family sans
19613
19614 \backslash
19615 roman
19616 \family default
19617  outputs the counter as a small Roman numeral.
19618  For capital Roman numerals replace 
19619 \family sans
19620
19621 \backslash
19622 roman
19623 \family default
19624  with 
19625 \family sans
19626
19627 \backslash
19628 Roman
19629 \family default
19630  in the command above.
19631  For Arabic numerals use 
19632 \family sans
19633
19634 \backslash
19635 arabic
19636 \family default
19637 .
19638  To 
19639 \begin_inset Quotes eld
19640 \end_inset
19641
19642 number
19643 \begin_inset Quotes erd
19644 \end_inset
19645
19646  items with capital or small Latin letters use 
19647 \family sans
19648
19649 \backslash
19650 Alph
19651 \family default
19652  or 
19653 \family sans
19654
19655 \backslash
19656 alph
19657 \family default
19658 ,
19659  respectively.
19660 \end_layout
19661
19662 \begin_layout Standard
19663 \noindent
19664
19665 \change_inserted 564990737 1672138150
19666 \begin_inset Note Greyedout
19667 status open
19668
19669 \begin_layout Plain Layout
19670
19671 \change_inserted 564990737 1672138150
19672
19673 \series bold
19674 Note:
19675
19676 \series default
19677  You can only number 26
19678 \begin_inset space ~
19679 \end_inset
19680
19681 items with Latin letters,
19682  because this numbering is limited to single letters.
19683 \end_layout
19684
19685 \end_inset
19686
19687
19688 \end_layout
19689
19690 \begin_layout Standard
19691
19692 \change_inserted 564990737 1672138150
19693 Here is a list with custom numbering:
19694 \end_layout
19695
19696 \begin_layout Enumerate
19697
19698 \change_inserted 564990737 1672138150
19699 \begin_inset Argument 1
19700 status collapsed
19701
19702 \begin_layout Plain Layout
19703
19704 \change_inserted 564990737 1672138150
19705 \begin_inset ERT
19706 status collapsed
19707
19708 \begin_layout Plain Layout
19709
19710 \change_inserted 564990737 1672138150
19711
19712 label=
19713 \backslash
19714 #
19715 \backslash
19716 Alph{enumi}
19717 \backslash
19718 #
19719 \end_layout
19720
19721 \end_inset
19722
19723
19724 \change_unchanged
19725
19726 \end_layout
19727
19728 \end_inset
19729
19730 Level 1
19731 \begin_inset Separator latexpar
19732 \end_inset
19733
19734
19735 \end_layout
19736
19737 \begin_deeper
19738 \begin_layout Enumerate
19739
19740 \change_inserted 564990737 1672138150
19741 \begin_inset Argument 1
19742 status collapsed
19743
19744 \begin_layout Plain Layout
19745
19746 \change_inserted 564990737 1672138150
19747 \begin_inset ERT
19748 status collapsed
19749
19750 \begin_layout Plain Layout
19751
19752 \change_inserted 564990737 1672138150
19753
19754 label=
19755 \backslash
19756 Alph{enumi}.
19757 \backslash
19758 arabic{enumii}
19759 \end_layout
19760
19761 \end_inset
19762
19763
19764 \change_unchanged
19765
19766 \end_layout
19767
19768 \end_inset
19769
19770 Level 2
19771 \end_layout
19772
19773 \begin_layout Enumerate
19774
19775 \change_inserted 564990737 1672138150
19776 Level 2
19777 \begin_inset Separator latexpar
19778 \end_inset
19779
19780
19781 \end_layout
19782
19783 \begin_deeper
19784 \begin_layout Enumerate
19785
19786 \change_inserted 564990737 1672138150
19787 \begin_inset Argument 1
19788 status collapsed
19789
19790 \begin_layout Plain Layout
19791
19792 \change_inserted 564990737 1672138150
19793 \begin_inset ERT
19794 status collapsed
19795
19796 \begin_layout Plain Layout
19797
19798 \change_inserted 564990737 1672138150
19799
19800 label=
19801 \change_deleted 274215730 1672889016
19802
19803 \backslash
19804 bf
19805 \change_inserted 274215730 1672889016
19806
19807 \backslash
19808 bfseries
19809 \change_inserted 564990737 1672138150
19810 {
19811 \backslash
19812 arabic{enumiii}}
19813 \end_layout
19814
19815 \end_inset
19816
19817
19818 \change_unchanged
19819
19820 \end_layout
19821
19822 \end_inset
19823
19824 Level 3
19825 \begin_inset Separator latexpar
19826 \end_inset
19827
19828
19829 \end_layout
19830
19831 \begin_deeper
19832 \begin_layout Enumerate
19833
19834 \change_inserted 564990737 1672138150
19835 \begin_inset Argument 1
19836 status collapsed
19837
19838 \begin_layout Plain Layout
19839
19840 \change_inserted 564990737 1672138150
19841 \begin_inset ERT
19842 status collapsed
19843
19844 \begin_layout Plain Layout
19845
19846 \change_inserted 564990737 1672138150
19847
19848 label=
19849 \backslash
19850 emph{
19851 \backslash
19852 roman{enumiv})}
19853 \end_layout
19854
19855 \end_inset
19856
19857
19858 \change_unchanged
19859
19860 \end_layout
19861
19862 \end_inset
19863
19864 Level 4
19865 \end_layout
19866
19867 \end_deeper
19868 \end_deeper
19869 \end_deeper
19870 \begin_layout Standard
19871
19872 \change_inserted 564990737 1672138150
19873 For this list these commands were used:
19874 \end_layout
19875
19876 \begin_layout Standard
19877 \noindent
19878
19879 \change_inserted 564990737 1672138150
19880
19881 \family sans
19882 label=
19883 \backslash
19884 #
19885 \backslash
19886 Alph{enumi}
19887 \backslash
19888 #
19889 \begin_inset Newline newline
19890 \end_inset
19891
19892 label=
19893 \backslash
19894 Alph{enumi}.
19895 \backslash
19896 arabic{enumii}
19897 \begin_inset Newline newline
19898 \end_inset
19899
19900 label=
19901 \change_deleted 274215730 1672889037
19902
19903 \backslash
19904 bf
19905 \change_inserted 274215730 1672889037
19906
19907 \backslash
19908 bfseries
19909 \change_inserted 564990737 1672138150
19910 {
19911 \backslash
19912 arabic{enumiii}}
19913 \begin_inset Newline newline
19914 \end_inset
19915
19916 label=
19917 \backslash
19918 emph{
19919 \backslash
19920 roman{enumiv})}
19921 \end_layout
19922
19923 \begin_layout Standard
19924
19925 \change_inserted 564990737 1672138150
19926 where the command 
19927 \family sans
19928
19929 \backslash
19930 emph{}
19931 \family default
19932  makes the label emphasized and 
19933 \change_deleted 274215730 1672889045
19934
19935 \family sans
19936
19937 \backslash
19938 bf{}
19939 \change_inserted 274215730 1672889046
19940
19941 \backslash
19942 bfseries{}
19943 \change_inserted 564990737 1672138150
19944
19945 \family default
19946  makes it bold.
19947 \end_layout
19948
19949 \begin_layout Standard
19950
19951 \change_inserted 564990737 1672138150
19952 \begin_inset Note Greyedout
19953 status collapsed
19954
19955 \begin_layout Plain Layout
19956
19957 \change_inserted 564990737 1672138150
19958
19959 \series bold
19960 Note:
19961
19962 \series default
19963  When you change the label of a list level,
19964  it will be used for all following lists until you change the definition.
19965 \end_layout
19966
19967 \end_inset
19968
19969
19970 \end_layout
19971
19972 \begin_layout Standard
19973
19974 \change_inserted 564990737 1672138150
19975 \begin_inset ERT
19976 status open
19977
19978 \begin_layout Plain Layout
19979
19980 \change_inserted 564990737 1672138150
19981
19982
19983 \backslash
19984 renewcommand{
19985 \backslash
19986 labelenumi}{
19987 \backslash
19988 thesection.
19989 \backslash
19990 arabic{enumi}}
19991 \end_layout
19992
19993 \end_inset
19994
19995
19996 \end_layout
19997
19998 \begin_layout Subsubsection
19999
20000 \change_inserted 564990737 1672138150
20001 Numbered Paragraphs in Reports
20002 \end_layout
20003
20004 \begin_layout Enumerate
20005
20006 \change_inserted 564990737 1672138213
20007 Official reports often include numbered paragraphs;
20008  you can achieve this with a variation on the approach outlined in 
20009 \change_deleted -712698321 1674916429
20010 the
20011 \change_inserted 564990737 1672138213
20012  
20013 \change_deleted -712698321 1674916431
20014 footnote
20015 \change_inserted -712698321 1674916432
20016 section
20017 \change_inserted 564990737 1672138213
20018
20019 \begin_inset space ~
20020 \end_inset
20021
20022
20023 \change_inserted -712698321 1674916425
20024
20025 \begin_inset CommandInset ref
20026 LatexCommand ref
20027 reference "sec:How-to-use"
20028
20029 \end_inset
20030
20031
20032 \change_deleted -712698321 1674916426
20033
20034 \begin_inset CommandInset ref
20035 LatexCommand ref
20036 reference "fn:If-you-really"
20037 plural "false"
20038 caps "false"
20039 noprefix "false"
20040 nolink "false"
20041
20042 \end_inset
20043
20044
20045 \change_inserted 564990737 1672138213
20046 .
20047  Replace 
20048 \family sans
20049 item
20050 \family default
20051  in each command with 
20052 \family sans
20053 enum
20054 \family default
20055 .
20056 \end_layout
20057
20058 \begin_layout Enumerate
20059
20060 \change_inserted 564990737 1672138150
20061 These numbered paragraphs were generated by inserting the \SpecialChar TeX
20062  Code
20063 \begin_inset Separator latexpar
20064 \end_inset
20065
20066
20067 \end_layout
20068
20069 \begin_deeper
20070 \begin_layout Standard
20071
20072 \change_inserted 564990737 1672138150
20073
20074 \family sans
20075
20076 \backslash
20077 renewcommand{
20078 \backslash
20079 labelenumi}{
20080 \backslash
20081 thesection.
20082 \backslash
20083 arabic{enumi}}
20084 \end_layout
20085
20086 \begin_layout Standard
20087
20088 \change_inserted 564990737 1672138150
20089 before the start of the section;
20090  
20091 \family sans
20092
20093 \backslash
20094 thesection
20095 \family default
20096  uses the \SpecialChar LaTeX
20097  section counter to generate the first part of the number.
20098 \end_layout
20099
20100 \end_deeper
20101 \begin_layout Enumerate
20102
20103 \change_inserted 564990737 1672138150
20104 I have ignored the subsection heading in this example because,
20105  with paragraphs numbered in this way,
20106  subsections are less likely to be used.
20107 \end_layout
20108
20109 \begin_layout Subsubsection
20110
20111 \change_inserted 564990737 1672138150
20112 Resumed Enumeration
20113 \end_layout
20114
20115 \begin_layout Standard
20116
20117 \change_inserted 564990737 1672138150
20118 \begin_inset ERT
20119 status open
20120
20121 \begin_layout Plain Layout
20122
20123 \change_inserted 564990737 1672138150
20124
20125
20126 \backslash
20127 renewcommand{
20128 \backslash
20129 labelenumi}{
20130 \backslash
20131 arabic{enumi}}
20132 \end_layout
20133
20134 \end_inset
20135
20136
20137 \end_layout
20138
20139 \begin_layout Standard
20140
20141 \change_inserted 564990737 1672138150
20142 Enumerations can be resumed after intermediate paragraphs:
20143 \end_layout
20144
20145 \begin_layout Enumerate
20146
20147 \change_inserted 564990737 1672138150
20148 \begin_inset Argument 1
20149 status collapsed
20150
20151 \begin_layout Plain Layout
20152
20153 \change_inserted 564990737 1672138150
20154 \begin_inset ERT
20155 status collapsed
20156
20157 \begin_layout Plain Layout
20158
20159 \change_inserted 564990737 1672138150
20160
20161 label=
20162 \backslash
20163 arabic{enumi}.
20164 \end_layout
20165
20166 \end_inset
20167
20168
20169 \change_unchanged
20170
20171 \end_layout
20172
20173 \end_inset
20174
20175 first
20176 \begin_inset Note Note
20177 status collapsed
20178
20179 \begin_layout Plain Layout
20180
20181 \change_inserted 564990737 1672138150
20182 goes back to default numbering
20183 \end_layout
20184
20185 \end_inset
20186
20187
20188 \end_layout
20189
20190 \begin_layout Enumerate
20191
20192 \change_inserted 564990737 1672138150
20193 second
20194 \end_layout
20195
20196 \begin_layout Standard
20197
20198 \change_inserted 564990737 1672138150
20199 regular text
20200 \end_layout
20201
20202 \begin_layout Enumerate-Resume
20203
20204 \change_inserted 564990737 1672138150
20205 resumed
20206 \end_layout
20207
20208 \begin_layout Standard
20209
20210 \change_inserted 564990737 1672138150
20211 To resume an enumeration,
20212  use the style 
20213 \family sans
20214 Enumerate-Resume
20215 \family default
20216 .
20217
20218 \change_deleted -712698321 1673882803
20219  Its numbering appears in blue within \SpecialChar LyX
20220  to indicate that it is a resumed list and that the numbering will not be correct in \SpecialChar LyX
20221 ,
20222  but in the output.
20223 \change_inserted 564990737 1672138150
20224
20225 \end_layout
20226
20227 \begin_layout Standard
20228
20229 \change_inserted 564990737 1672138150
20230 \begin_inset Note Greyedout
20231 status open
20232
20233 \begin_layout Plain Layout
20234
20235 \change_inserted 564990737 1672138150
20236
20237 \series bold
20238 Note:
20239
20240 \series default
20241  If there is no previous enumeration to resume,
20242  you will get a \SpecialChar LaTeX
20243  error.
20244 \end_layout
20245
20246 \end_inset
20247
20248
20249 \end_layout
20250
20251 \begin_layout Standard
20252
20253 \change_inserted 564990737 1672138150
20254 Perhaps you might want to resume the list with a different number from the next one.
20255  Or you want to start a new enumeration with a defined number.
20256  This is possible by adding an optional argument to the first list item of a normal enumeration.
20257  There,
20258  insert the command
20259 \end_layout
20260
20261 \begin_layout Standard
20262
20263 \change_inserted 564990737 1672138150
20264
20265 \family sans
20266 start=number
20267 \end_layout
20268
20269 \begin_layout Standard
20270
20271 \change_inserted 564990737 1672138150
20272 where 
20273 \family sans
20274 number
20275 \family default
20276  is the number with which you want to resume the list.
20277  An example:
20278 \end_layout
20279
20280 \begin_layout Enumerate
20281
20282 \change_inserted 564990737 1672138150
20283 first item
20284 \end_layout
20285
20286 \begin_layout Enumerate
20287
20288 \change_inserted 564990737 1672138150
20289 second item
20290 \end_layout
20291
20292 \begin_layout Standard
20293
20294 \change_inserted 564990737 1672138150
20295 Enumeration starting at a given value:
20296 \end_layout
20297
20298 \begin_layout Enumerate
20299
20300 \change_inserted 564990737 1672138150
20301 \begin_inset Argument 1
20302 status open
20303
20304 \begin_layout Plain Layout
20305
20306 \change_inserted 564990737 1672138150
20307 \begin_inset ERT
20308 status collapsed
20309
20310 \begin_layout Plain Layout
20311
20312 \change_inserted 564990737 1672138150
20313
20314 start=4
20315 \end_layout
20316
20317 \end_inset
20318
20319
20320 \change_unchanged
20321
20322 \end_layout
20323
20324 \end_inset
20325
20326 This enumeration starts at 4
20327 \end_layout
20328
20329 \begin_layout Subsubsection
20330
20331 \change_inserted 564990737 1672138150
20332 List Spacing
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 Lists !
20342  Spacing
20343 \change_unchanged
20344
20345 \end_layout
20346
20347 \end_inset
20348
20349
20350 \end_layout
20351
20352 \begin_layout Standard
20353
20354 \change_inserted 564990737 1672138150
20355 In some cases you might want less or more vertical space between the items of a list.
20356  For example if the default space is too much in your opinion in this case:
20357 \end_layout
20358
20359 \begin_layout Itemize
20360
20361 \change_inserted 564990737 1672138150
20362 A bullet list
20363 \end_layout
20364
20365 \begin_layout Itemize
20366
20367 \change_inserted 564990737 1672138150
20368 with standard spacing 
20369 \end_layout
20370
20371 \begin_layout Standard
20372
20373 \change_inserted 564990737 1672138150
20374 You can decrease the space by adding an optional argument to the first item of the list.
20375  Add there the command 
20376 \family sans
20377 nolistsep
20378 \family default
20379  to get no additional list space like in this example:
20380 \end_layout
20381
20382 \begin_layout Itemize
20383
20384 \change_inserted 564990737 1672138150
20385 \begin_inset Argument 1
20386 status open
20387
20388 \begin_layout Plain Layout
20389
20390 \change_inserted 564990737 1672138150
20391 \begin_inset ERT
20392 status collapsed
20393
20394 \begin_layout Plain Layout
20395
20396 \change_inserted 564990737 1672138150
20397
20398 nolistsep
20399 \end_layout
20400
20401 \end_inset
20402
20403
20404 \change_unchanged
20405
20406 \end_layout
20407
20408 \end_inset
20409
20410 A bullet list
20411 \end_layout
20412
20413 \begin_layout Itemize
20414
20415 \change_inserted 564990737 1672138150
20416 without additional
20417 \end_layout
20418
20419 \begin_layout Itemize
20420
20421 \change_inserted 564990737 1672138150
20422 vertical space
20423 \end_layout
20424
20425 \begin_layout Standard
20426
20427 \change_inserted 564990737 1672138150
20428 To add space you can use several other commands provided by the 
20429 \family sans
20430 enumitem
20431 \family default
20432
20433 \begin_inset Index idx
20434 range none
20435 pageformat default
20436 status collapsed
20437
20438 \begin_layout Plain Layout
20439
20440 \change_inserted 564990737 1672138150
20441 \SpecialChar LaTeX
20442 -packages !
20443  enumitem
20444 \change_unchanged
20445
20446 \end_layout
20447
20448 \end_inset
20449
20450  package.
20451  For more information see the 
20452 \begin_inset CommandInset href
20453 LatexCommand href
20454 name "enumitem documentation"
20455 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
20456 literal "false"
20457
20458 \end_inset
20459
20460 .
20461 \end_layout
20462
20463 \begin_layout Standard
20464
20465 \change_inserted 564990737 1672138150
20466 There are also many commands available to change the horizontal spacing and indentation.
20467  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
20468 \begin_inset space \thinspace{}
20469 \end_inset
20470
20471 cm so that the number is in the page margin:
20472 \end_layout
20473
20474 \begin_layout Enumerate
20475
20476 \change_inserted 564990737 1672138150
20477 \begin_inset Argument 1
20478 status open
20479
20480 \begin_layout Plain Layout
20481
20482 \change_inserted 564990737 1672138150
20483 \begin_inset ERT
20484 status collapsed
20485
20486 \begin_layout Plain Layout
20487
20488 \change_inserted 564990737 1672138150
20489
20490 labelindent=
20491 \backslash
20492 parindent,
20493  labelsep=2cm
20494 \end_layout
20495
20496 \end_inset
20497
20498
20499 \change_unchanged
20500
20501 \end_layout
20502
20503 \end_inset
20504
20505 An enumeration
20506 \end_layout
20507
20508 \begin_layout Enumerate
20509
20510 \change_inserted 564990737 1672138150
20511 with negative indentation
20512 \end_layout
20513
20514 \begin_layout Subsubsection
20515
20516 \change_inserted 564990737 1672138150
20517 Further Customization
20518 \begin_inset Index idx
20519 range none
20520 pageformat default
20521 status collapsed
20522
20523 \begin_layout Plain Layout
20524
20525 \change_inserted 564990737 1672138150
20526 Lists !
20527  Customization
20528 \change_unchanged
20529
20530 \end_layout
20531
20532 \end_inset
20533
20534
20535 \end_layout
20536
20537 \begin_layout Standard
20538
20539 \change_inserted 564990737 1672138150
20540 You can also change the style of description lists.
20541  The command
20542 \end_layout
20543
20544 \begin_layout Standard
20545
20546 \change_inserted 564990737 1672138150
20547
20548 \family sans
20549 font=definition
20550 \end_layout
20551
20552 \begin_layout Standard
20553
20554 \change_inserted 564990737 1672138150
20555 changes the description label font,
20556  the command
20557 \end_layout
20558
20559 \begin_layout Standard
20560
20561 \change_inserted 564990737 1672138150
20562
20563 \family sans
20564 style=definitio
20565 \family default
20566 \series bold
20567 n
20568 \end_layout
20569
20570 \begin_layout Standard
20571
20572 \change_inserted 564990737 1672138150
20573 sets the list style.
20574 \end_layout
20575
20576 \begin_layout Standard
20577
20578 \change_inserted 564990737 1672138150
20579 An example where the command
20580 \end_layout
20581
20582 \begin_layout Standard
20583
20584 \change_inserted 564990737 1672138150
20585
20586 \family sans
20587 font=
20588 \backslash
20589 itshape,
20590  style=nextline
20591 \end_layout
20592
20593 \begin_layout Standard
20594
20595 \change_inserted 564990737 1672138150
20596 is used:
20597 \end_layout
20598
20599 \begin_layout Description
20600
20601 \change_inserted 564990737 1672138150
20602 Ionizing
20603 \begin_inset space ~
20604 \end_inset
20605
20606 radiation:
20607  
20608 \begin_inset Argument 1
20609 status collapsed
20610
20611 \begin_layout Plain Layout
20612
20613 \change_inserted 564990737 1672138150
20614 \begin_inset ERT
20615 status collapsed
20616
20617 \begin_layout Plain Layout
20618
20619 \change_inserted 564990737 1672138150
20620
20621 labelindent=0pt,
20622  labelsep=1cm,
20623  font=
20624 \backslash
20625 itshape,
20626  style=nextline
20627 \end_layout
20628
20629 \end_inset
20630
20631
20632 \change_unchanged
20633
20634 \end_layout
20635
20636 \end_inset
20637
20638 Ionizing radiation consists of particles or electromagnetic waves that are energetic enough to detach electrons from atoms or molecules,
20639  therefore ionizing them.
20640 \end_layout
20641
20642 \begin_layout Description
20643
20644 \change_inserted 564990737 1672138150
20645 Reference
20646 \begin_inset space ~
20647 \end_inset
20648
20649 counting:
20650  In computer science,
20651  reference counting is a technique of storing the number of references,
20652  pointers,
20653  or handles to a resource such as an object,
20654  block of memory,
20655  disk space or other resource.
20656 \end_layout
20657
20658 \begin_layout Standard
20659
20660 \change_inserted 564990737 1672138150
20661 There are many more commands and features provided by the 
20662 \family sans
20663 enumitem
20664 \family default
20665
20666 \begin_inset Index idx
20667 range none
20668 pageformat default
20669 status collapsed
20670
20671 \begin_layout Plain Layout
20672
20673 \change_inserted 564990737 1672138150
20674 \SpecialChar LaTeX
20675 -packages !
20676  enumitem
20677 \change_unchanged
20678
20679 \end_layout
20680
20681 \end_inset
20682
20683  package.
20684  For more information see the 
20685 \begin_inset CommandInset href
20686 LatexCommand href
20687 name "enumitem documentation"
20688 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
20689 literal "false"
20690
20691 \end_inset
20692
20693 .
20694 \end_layout
20695
20696 \begin_layout Subsection
20697
20698 \change_inserted 564990737 1672138150
20699
20700 \series bold
20701 Paragraph Lists
20702 \end_layout
20703
20704 \begin_layout Standard
20705
20706 \change_inserted 564990737 1672138150
20707 This module uses the package 
20708 \family sans
20709 paralist
20710 \family default
20711  to provide nine new list environments.
20712  Itemized and enumerated lists can be typeset within paragraphs,
20713  as paragraphs and in a compact version.
20714  Most environments have optional arguments to format the labels.
20715  Additionally,
20716  the \SpecialChar LaTeX
20717  list environments itemize and enumerate are extended to use a similar optional argument.
20718  For further details see 
20719 \family sans
20720 File\SpecialChar menuseparator
20721 Open Example\SpecialChar menuseparator
20722 Modules\SpecialChar menuseparator
20723 Paragraph Lists (paralist)
20724 \family default
20725 ,
20726  
20727 \family sans
20728 Help\SpecialChar menuseparator
20729 Specific Manuals\SpecialChar menuseparator
20730 Paralist
20731 \family default
20732  and the 
20733 \begin_inset CommandInset href
20734 LatexCommand href
20735 name "paralist documentation"
20736 target "http://mirrors.ctan.org/macros/latex/contrib/paralist/paralist.pdf"
20737 literal "false"
20738
20739 \end_inset
20740
20741 .
20742 \end_layout
20743
20744 \begin_layout Section
20745
20746 \change_inserted 564990737 1672161542
20747 Literate Programming
20748 \change_deleted -712698321 1673885680
20749  
20750 \change_inserted 564990737 1672161542
20751
20752 \end_layout
20753
20754 \begin_layout Subsection
20755
20756 \change_inserted 564990737 1672161542
20757 Noweb
20758 \end_layout
20759
20760 \begin_layout Standard
20761
20762 \change_inserted 564990737 1672161542
20763 This module allows the use of Noweb as a literate programming tool.
20764  The files and the documentation for Noweb can be obtained from 
20765 \begin_inset CommandInset href
20766 LatexCommand href
20767 name "CTAN"
20768 target "https://www.ctan.org/pkg/noweb"
20769 literal "false"
20770
20771 \end_inset
20772
20773 .
20774  Literate programming is described in section
20775 \begin_inset space ~
20776 \end_inset
20777
20778
20779 \begin_inset CommandInset ref
20780 LatexCommand ref
20781 reference "sec:Literate-Programming"
20782 nolink "false"
20783
20784 \end_inset
20785
20786  and there are three example files:
20787  
20788 \family sans
20789 File\SpecialChar menuseparator
20790 Open Example\SpecialChar menuseparator
20791 Modules\SpecialChar menuseparator
20792 Noweb
20793 \family default
20794 ,
20795  
20796 \family sans
20797 File\SpecialChar menuseparator
20798 Open Example\SpecialChar menuseparator
20799 Modules\SpecialChar menuseparator
20800 Noweb Listerrors
20801 \family default
20802  and 
20803 \family sans
20804 File\SpecialChar menuseparator
20805 Open Example\SpecialChar menuseparator
20806 Modules\SpecialChar menuseparator
20807 Noweb2\SpecialChar LyX
20808
20809 \family default
20810 .
20811 \end_layout
20812
20813 \begin_layout Subsection
20814
20815 \change_inserted 564990737 1672161542
20816 Rnw (knitr)
20817 \end_layout
20818
20819 \begin_layout Standard
20820
20821 \change_inserted 564990737 1672161542
20822 This module uses the 
20823 \family typewriter
20824 knitr
20825 \family default
20826  and 
20827 \family sans
20828 includernw
20829 \family default
20830  packages.
20831  The
20832 \begin_inset Flex Code
20833 status collapsed
20834
20835 \begin_layout Plain Layout
20836
20837 \change_inserted 564990737 1672161542
20838 knitr
20839 \change_unchanged
20840
20841 \end_layout
20842
20843 \end_inset
20844
20845  package in R for dynamic report generation has to be installed for this module to work:
20846  
20847 \begin_inset Flex Code
20848 status collapsed
20849
20850 \begin_layout Plain Layout
20851
20852 \change_inserted 564990737 1672161542
20853 install.packages(“knitr”)
20854 \change_unchanged
20855
20856 \end_layout
20857
20858 \end_inset
20859
20860 .
20861  
20862 \end_layout
20863
20864 \begin_layout Paragraph
20865
20866 \change_inserted 564990737 1672161542
20867 Note 
20868 \end_layout
20869
20870 \begin_layout Itemize
20871
20872 \change_inserted 564990737 1672161542
20873 it depends on R >= 2.14.1.
20874  For more info see 
20875 \begin_inset Flex URL
20876 status collapsed
20877
20878 \begin_layout Plain Layout
20879
20880 \change_inserted 564990737 1672161542
20881
20882 http://yihui.name/knitr
20883 \change_unchanged
20884
20885 \end_layout
20886
20887 \end_inset
20888
20889 .
20890
20891 \change_deleted -712698321 1673886383
20892  
20893 \change_inserted 564990737 1672161542
20894
20895 \end_layout
20896
20897 \begin_layout Itemize
20898
20899 \change_inserted 564990737 1672161542
20900 The package 
20901 \family sans
20902 includernw
20903 \family default
20904  also has to be installed.
20905  
20906 \change_inserted -712698321 1673886396
20907
20908 \end_layout
20909
20910 \begin_layout Itemize
20911
20912 \change_inserted 564990737 1672161542
20913 It cannot be used if the modules 
20914 \family sans
20915 LilyPond
20916 \begin_inset space ~
20917 \end_inset
20918
20919 Book
20920 \family default
20921  or 
20922 \family sans
20923 Sweave
20924 \family default
20925  are loaded.
20926
20927 \change_deleted -712698321 1673886383
20928  
20929 \change_inserted -712698321 1673886376
20930
20931 \end_layout
20932
20933 \begin_layout Standard
20934
20935 \change_inserted 564990737 1672161542
20936 See 
20937 \family sans
20938 Help\SpecialChar menuseparator
20939 Specific Manuals\SpecialChar menuseparator
20940 Knitr
20941 \family default
20942 ,
20943  
20944 \family sans
20945 File\SpecialChar menuseparator
20946 Open Example\SpecialChar menuseparator
20947 Modules\SpecialChar menuseparator
20948 Rnw (knitr)
20949 \family default
20950  and section
20951 \begin_inset space ~
20952 \end_inset
20953
20954
20955 \begin_inset CommandInset ref
20956 LatexCommand ref
20957 reference "sec:Literate-Programming"
20958 nolink "false"
20959
20960 \end_inset
20961
20962  for information about literate programming.
20963 \end_layout
20964
20965 \begin_layout Subsection
20966
20967 \change_inserted 564990737 1672161542
20968 Sweave
20969 \end_layout
20970
20971 \begin_layout Standard
20972
20973 \change_inserted 564990737 1672161542
20974 This module allows the use of the statistical language S/R as a literate programming tool.
20975  It requires the 
20976 \family sans
20977 includernw
20978 \family default
20979  and 
20980 \family sans
20981 fancyvrb
20982 \family default
20983  packages.
20984  Both 
20985 \begin_inset CommandInset href
20986 LatexCommand href
20987 name "includernw"
20988 target "https://www.ctan.org/pkg/includernw"
20989 literal "false"
20990
20991 \end_inset
20992
20993  and 
20994 \begin_inset CommandInset href
20995 LatexCommand href
20996 name "fancyvrb"
20997 target "https://www.ctan.org/pkg/fancyvrb"
20998 literal "false"
20999
21000 \end_inset
21001
21002  are available from CTAN.
21003  It cannot be used if the module 
21004 \family sans
21005 LilyPond
21006 \begin_inset space ~
21007 \end_inset
21008
21009 Book
21010 \family default
21011  has been loaded.
21012  See 
21013 \family sans
21014 Help\SpecialChar menuseparator
21015 Specific Manuals\SpecialChar menuseparator
21016 Sweave,
21017
21018 \family default
21019  
21020 \family sans
21021 File\SpecialChar menuseparator
21022 Open Example\SpecialChar menuseparator
21023 Modules\SpecialChar menuseparator
21024 Sweave
21025 \family default
21026  and section
21027 \begin_inset space ~
21028 \end_inset
21029
21030
21031 \begin_inset CommandInset ref
21032 LatexCommand ref
21033 reference "sec:Literate-Programming"
21034 nolink "false"
21035
21036 \end_inset
21037
21038  for information about literate programming.
21039 \end_layout
21040
21041 \begin_layout Section
21042
21043 \change_inserted 564990737 1672224959
21044 Maths
21045 \end_layout
21046
21047 \begin_layout Subsection
21048
21049 \change_inserted 564990737 1672224959
21050 AMS Theorems
21051 \end_layout
21052
21053 \begin_layout Standard
21054
21055 \change_inserted 564990737 1672224959
21056 This modules defines theorem environments and the proof environment using the extended AMS machinery.
21057  Both numbered and unnumbered types are provided.
21058  By default,
21059  the theorems are numbered consecutively throughout the document.
21060  This can be changed by loading one of the 
21061 \family sans
21062 AMS Theorems (Numbered by \SpecialChar ldots
21063 )
21064 \family default
21065  modules.
21066  It cannot be used if the modules 
21067 \family sans
21068 Standard Theorems
21069 \family default
21070  or 
21071 \family sans
21072 Standard Theorems (Unnumbered)
21073 \family default
21074  have been loaded.
21075 \end_layout
21076
21077 \begin_layout Subsection
21078
21079 \change_inserted 564990737 1672224959
21080 AMS Theorems (Extended)
21081 \end_layout
21082
21083 \begin_layout Standard
21084
21085 \change_inserted 564990737 1672224959
21086 This module defines some additional theorem environments for use with the 
21087 \family sans
21088 AMS Theorems
21089 \family default
21090  package (which must be loaded).
21091  It includes 
21092 \family sans
21093 Criterion
21094 \family default
21095 ,
21096  
21097 \family sans
21098 Algorithm
21099 \family default
21100 ,
21101  
21102 \family sans
21103 Axiom
21104 \family default
21105 ,
21106  
21107 \family sans
21108 Condition
21109 \family default
21110 ,
21111  
21112 \family sans
21113 Note
21114 \family default
21115 ,
21116  
21117 \family sans
21118 Notation
21119 \family default
21120 ,
21121  
21122 \family sans
21123 Summary
21124 \family default
21125 ,
21126  
21127 \change_deleted -712698321 1675594790
21128
21129 \family sans
21130 Acknowledgement
21131 \family default
21132 ,
21133  
21134 \change_inserted 564990737 1672224959
21135
21136 \family sans
21137 Conclusion
21138 \family default
21139 ,
21140  
21141 \family sans
21142 Fact
21143 \family default
21144 ,
21145  
21146 \family sans
21147 Assumption
21148 \family default
21149 ,
21150  
21151 \family sans
21152 Case
21153 \family default
21154  and 
21155 \family sans
21156 Question
21157 \family default
21158  in both numbered and unnumbered forms.
21159 \end_layout
21160
21161 \begin_layout Subsection
21162
21163 \change_inserted 564990737 1672224959
21164 AMS Theorems (Extended,
21165  Numbered by Type within Chapters)
21166 \end_layout
21167
21168 \begin_layout Standard
21169
21170 \change_inserted 564990737 1672224959
21171 This module defines some additional theorem environments for use with the 
21172 \family sans
21173 AMS Theorems (Numbered by Type within Chapters)
21174 \family default
21175  
21176 \change_deleted -712698321 1674898102
21177 package
21178 \change_inserted -712698321 1674898103
21179 module
21180 \change_inserted 564990737 1672224959
21181  (which must be loaded).
21182  It includes 
21183 \family sans
21184 Criterion
21185 \family default
21186 ,
21187  
21188 \family sans
21189 Algorithm
21190 \family default
21191 ,
21192  
21193 \family sans
21194 Axiom
21195 \family default
21196 ,
21197  
21198 \family sans
21199 Condition
21200 \family default
21201 ,
21202  
21203 \family sans
21204 Note
21205 \family default
21206 ,
21207  
21208 \family sans
21209 Notation
21210 \family default
21211 ,
21212  
21213 \family sans
21214 Summary
21215 \family default
21216 ,
21217  
21218 \change_deleted -712698321 1675594800
21219
21220 \family sans
21221 Acknowledgement
21222 \family default
21223 ,
21224  
21225 \change_inserted 564990737 1672224959
21226
21227 \family sans
21228 Conclusion
21229 \family default
21230 ,
21231  
21232 \family sans
21233 Assumption
21234 \family default
21235  and 
21236 \family sans
21237 Case
21238 \family default
21239  in both numbered and unnumbered forms.
21240  
21241 \change_inserted -712698321 1674898226
21242
21243 \end_layout
21244
21245 \begin_layout Standard
21246
21247 \change_inserted 564990737 1672224959
21248 Unlike the 
21249 \family sans
21250 AMS Theorems (Extended)
21251 \family default
21252  module,
21253  the different theorem types provided here each have a separate counter,
21254  restarted with each new chapter (e.g.,
21255  
21256 \change_deleted -712698321 1674898319
21257
21258 \emph on
21259 c
21260 \change_inserted -712698321 1674898319
21261 C
21262 \change_inserted 564990737 1672224959
21263 riterion 1.1
21264 \emph default
21265 ,
21266  
21267 \change_deleted -712698321 1674898320
21268
21269 \emph on
21270 c
21271 \change_inserted -712698321 1674898321
21272 C
21273 \change_inserted 564990737 1672224959
21274 riterion 1.2
21275 \emph default
21276 ,
21277  
21278 \change_deleted -712698321 1674898322
21279
21280 \emph on
21281 a
21282 \change_inserted -712698321 1674898322
21283 A
21284 \change_inserted 564990737 1672224959
21285 xiom 1.1
21286 \emph default
21287 ,
21288  
21289 \change_deleted -712698321 1674898325
21290
21291 \emph on
21292 a
21293 \change_inserted -712698321 1674898325
21294 A
21295 \change_inserted 564990737 1672224959
21296 ssumption 1.1
21297 \emph default
21298 ,
21299  
21300 \change_deleted -712698321 1674898327
21301
21302 \emph on
21303 c
21304 \change_inserted -712698321 1674898327
21305 C
21306 \change_inserted 564990737 1672224959
21307 riterion 2.1
21308 \emph default
21309 ,
21310  
21311 \change_deleted -712698321 1674898329
21312
21313 \emph on
21314 c
21315 \change_inserted -712698321 1674898329
21316 C
21317 \change_inserted 564990737 1672224959
21318 riterion 2.2
21319 \emph default
21320 ,
21321
21322 \emph on
21323  
21324 \change_deleted -712698321 1674898339
21325 a
21326 \change_inserted -712698321 1674898339
21327 A
21328 \change_inserted 564990737 1672224959
21329 xiom 2.1
21330 \change_inserted -712698321 1674898336
21331
21332 \emph default
21333 ,
21334  
21335 \change_inserted 564990737 1672224959
21336 \SpecialChar ldots
21337 ,
21338  as opposed to 
21339 \change_deleted -712698321 1674898342
21340 c
21341 \change_inserted -712698321 1674898342
21342
21343 \emph on
21344 C
21345 \change_inserted 564990737 1672224959
21346 riterion 1
21347 \emph default
21348 ,
21349  
21350 \change_deleted -712698321 1674898344
21351 c
21352 \change_inserted -712698321 1674898344
21353
21354 \emph on
21355 C
21356 \change_inserted 564990737 1672224959
21357 riterion 2
21358 \emph default
21359 ,
21360  
21361 \change_deleted -712698321 1674898346
21362 a
21363 \change_inserted -712698321 1674898347
21364
21365 \emph on
21366 A
21367 \change_inserted 564990737 1672224959
21368 xiom 3
21369 \emph default
21370 ,
21371  
21372 \change_deleted -712698321 1674898348
21373 a
21374 \change_inserted -712698321 1674898348
21375
21376 \emph on
21377 A
21378 \change_inserted 564990737 1672224959
21379 ssumption 4
21380 \change_inserted -712698321 1674898350
21381
21382 \emph default
21383 ,
21384  
21385 \change_deleted -712698321 1674898352
21386 ...
21387 \change_inserted -712698321 1674898353
21388 \SpecialChar ldots
21389
21390 \change_inserted 564990737 1672224959
21391 ).
21392 \end_layout
21393
21394 \begin_layout Subsection
21395
21396 \change_inserted 564990737 1672224959
21397 AMS Theorems (Extended,
21398  Numbered by Type)
21399 \end_layout
21400
21401 \begin_layout Standard
21402
21403 \change_inserted 564990737 1672224959
21404 This module defines some additional theorem environments for use with the 
21405 \family sans
21406 AMS Theorems (Numbered by Type)
21407 \family default
21408  package (which must be loaded).
21409  It includes 
21410 \family sans
21411 Criterion
21412 \family default
21413 ,
21414  
21415 \family sans
21416 Algorithm
21417 \family default
21418 ,
21419  
21420 \family sans
21421 Axiom
21422 \family default
21423 ,
21424  
21425 \family sans
21426 Condition
21427 \family default
21428 ,
21429  
21430 \family sans
21431 Note
21432 \family default
21433 ,
21434  
21435 \family sans
21436 Notation
21437 \family default
21438 ,
21439  
21440 \family sans
21441 Summary
21442 \family default
21443 ,
21444  
21445 \change_deleted -712698321 1675594806
21446
21447 \family sans
21448 Acknowledgement
21449 \family default
21450 ,
21451
21452 \change_inserted 564990737 1672224959
21453  
21454 \family sans
21455 Conclusion
21456 \family default
21457 ,
21458  
21459 \family sans
21460 Assumption
21461 \family default
21462  and 
21463 \family sans
21464 Case
21465 \family default
21466  in both numbered and unnumbered forms.
21467  
21468 \change_inserted -712698321 1674898455
21469
21470 \end_layout
21471
21472 \begin_layout Standard
21473
21474 \change_inserted 564990737 1672224959
21475 Unlike the 
21476 \family sans
21477 AMS Theorems (Extended)
21478 \family default
21479  module,
21480  the different theorem types provided here each have a separate counter (e.g.,
21481  
21482 \change_deleted -712698321 1674898821
21483 c
21484 \change_inserted -712698321 1674898821
21485
21486 \emph on
21487 C
21488 \change_inserted 564990737 1672224959
21489 riterion 1
21490 \emph default
21491 ,
21492  
21493 \change_deleted -712698321 1674898823
21494 c
21495 \change_inserted -712698321 1674898823
21496
21497 \emph on
21498 C
21499 \change_inserted 564990737 1672224959
21500 riterion 2
21501 \emph default
21502 ,
21503  
21504 \change_deleted -712698321 1674898825
21505 a
21506 \change_inserted -712698321 1674898825
21507
21508 \emph on
21509 A
21510 \change_inserted 564990737 1672224959
21511 xiom 1
21512 \emph default
21513 ,
21514  
21515 \change_deleted -712698321 1674898827
21516 a
21517 \change_inserted -712698321 1674898827
21518
21519 \emph on
21520 A
21521 \change_inserted 564990737 1672224959
21522 ssumption 1
21523 \emph default
21524 ,
21525  
21526 \change_deleted -712698321 1674898830
21527 c
21528 \change_inserted -712698321 1674898830
21529
21530 \emph on
21531 C
21532 \change_inserted 564990737 1672224959
21533 riterion 3
21534 \emph default
21535 ,
21536  \SpecialChar ldots
21537 ,
21538  as opposed to 
21539 \change_deleted -712698321 1674898832
21540 c
21541 \change_inserted -712698321 1674898832
21542
21543 \emph on
21544 C
21545 \change_inserted 564990737 1672224959
21546 riterion 1
21547 \emph default
21548 ,
21549  
21550 \change_deleted -712698321 1674898834
21551 c
21552 \change_inserted -712698321 1674898834
21553
21554 \emph on
21555 C
21556 \change_inserted 564990737 1672224959
21557 riterion 2
21558 \emph default
21559 ,
21560  
21561 \change_deleted -712698321 1674898836
21562 a
21563 \change_inserted -712698321 1674898836
21564
21565 \emph on
21566 A
21567 \change_inserted 564990737 1672224959
21568 xiom 3
21569 \emph default
21570 ,
21571  
21572 \change_deleted -712698321 1674898838
21573 a
21574 \change_inserted -712698321 1674898838
21575
21576 \emph on
21577 A
21578 \change_inserted 564990737 1672224959
21579 ssumption 4
21580 \emph default
21581 ,
21582  \SpecialChar ldots
21583 ).
21584 \end_layout
21585
21586 \begin_layout Subsection
21587
21588 \change_inserted 564990737 1672224959
21589 AMS Theorems (Numbered by Type within Chapters) 
21590 \end_layout
21591
21592 \begin_layout Standard
21593
21594 \change_inserted 564990737 1672224959
21595 This module defines theorem environments and the proof environment using the extended AMS machinery.
21596  Both numbered and unnumbered types are provided.
21597  
21598 \change_inserted -712698321 1674901718
21599
21600 \end_layout
21601
21602 \begin_layout Standard
21603
21604 \change_inserted 564990737 1672224959
21605 Unlike the 
21606 \family sans
21607 AMS Theorems
21608 \family default
21609  module,
21610  the different theorem types provided here each have a separate counter (e.g.,
21611  
21612 \change_deleted -712698321 1674901843
21613 t
21614 \change_inserted -712698321 1674901843
21615
21616 \emph on
21617 T
21618 \change_inserted 564990737 1672224959
21619 heorem 1.1
21620 \emph default
21621 ,
21622  
21623 \change_deleted -712698321 1674901845
21624 t
21625 \change_inserted -712698321 1674901845
21626
21627 \emph on
21628 T
21629 \change_inserted 564990737 1672224959
21630 heorem 1.2
21631 \emph default
21632 ,
21633  
21634 \change_deleted -712698321 1674901847
21635
21636 \emph on
21637 l
21638 \change_inserted -712698321 1674901847
21639 L
21640 \change_inserted 564990737 1672224959
21641 emma 1.1
21642 \emph default
21643 ,
21644  
21645 \change_inserted -712698321 1674901849
21646
21647 \emph on
21648 P
21649 \change_deleted -712698321 1674901849
21650 p
21651 \change_inserted 564990737 1672224959
21652 roposition 1.1
21653 \emph default
21654 ,
21655  
21656 \change_inserted -712698321 1674901852
21657
21658 \emph on
21659 T
21660 \change_deleted -712698321 1674901852
21661 t
21662 \change_inserted 564990737 1672224959
21663 heorem 1.3
21664 \emph default
21665 ,
21666  
21667 \change_inserted -712698321 1674901854
21668
21669 \emph on
21670 L
21671 \change_deleted -712698321 1674901854
21672 l
21673 \change_inserted 564990737 1672224959
21674 emma 1.2
21675 \emph default
21676 ,
21677  \SpecialChar ldots
21678 ,
21679  as opposed to 
21680 \change_deleted -712698321 1674901859
21681 t
21682 \change_inserted -712698321 1674901859
21683
21684 \emph on
21685 T
21686 \change_inserted 564990737 1672224959
21687 heorem 1
21688 \emph default
21689 ,
21690  
21691 \change_deleted -712698321 1674901861
21692 t
21693 \change_inserted -712698321 1674901861
21694
21695 \emph on
21696 T
21697 \change_inserted 564990737 1672224959
21698 heorem 2
21699 \emph default
21700 ,
21701  
21702 \change_deleted -712698321 1674901863
21703 l
21704 \change_inserted -712698321 1674901863
21705
21706 \emph on
21707 L
21708 \change_inserted 564990737 1672224959
21709 emma 3
21710 \emph default
21711 ,
21712  
21713 \change_deleted -712698321 1674901868
21714 p
21715 \change_inserted -712698321 1674901868
21716
21717 \emph on
21718 P
21719 \change_inserted 564990737 1672224959
21720 roposition 4
21721 \emph default
21722 ,
21723  \SpecialChar ldots
21724 ).
21725  The numbering restarts for each chapter:
21726  
21727 \change_deleted -712698321 1674901871
21728 t
21729 \change_inserted -712698321 1674901871
21730
21731 \emph on
21732 T
21733 \change_inserted 564990737 1672224959
21734 heorem 1.1
21735 \emph default
21736 ,
21737  
21738 \change_deleted -712698321 1674901873
21739 t
21740 \change_inserted -712698321 1674901873
21741
21742 \emph on
21743 T
21744 \change_inserted 564990737 1672224959
21745 heorem 2.1
21746 \emph default
21747 ,
21748  \SpecialChar ldots
21749  
21750 \change_inserted -712698321 1674901725
21751
21752 \end_layout
21753
21754 \begin_layout Standard
21755
21756 \change_inserted 564990737 1672224959
21757 It cannot be used if the modules 
21758 \family sans
21759 AMS Theorems
21760 \family default
21761 ,
21762  
21763 \family sans
21764 Standard Theorems
21765 \family default
21766 ,
21767
21768 \family sans
21769  Standard Theorems (Numbered by Type)
21770 \family default
21771  or
21772 \family sans
21773  Standard Theorems (Unnumbered)
21774 \family default
21775  have been loaded.
21776 \end_layout
21777
21778 \begin_layout Subsection
21779
21780 \change_inserted 564990737 1672224959
21781 AMS Theorems (Numbered by Type)
21782 \end_layout
21783
21784 \begin_layout Standard
21785
21786 \change_inserted 564990737 1672224959
21787 This module defines theorem environments and the proof environment using the extended AMS machinery.
21788  Both numbered and unnumbered types are provided.
21789  Unlike the 
21790 \family sans
21791 AMS Theorems
21792 \family default
21793  module,
21794  the different theorem types provided here each have a separate counter (e.g.,
21795  
21796 \change_deleted -712698321 1674902051
21797 t
21798 \change_inserted -712698321 1674902051
21799
21800 \emph on
21801 T
21802 \change_inserted 564990737 1672224959
21803 heorem 1
21804 \emph default
21805 ,
21806  
21807 \change_deleted -712698321 1674902053
21808 t
21809 \change_inserted -712698321 1674902053
21810
21811 \emph on
21812 T
21813 \change_inserted 564990737 1672224959
21814 heorem 2
21815 \emph default
21816 ,
21817  
21818 \change_deleted -712698321 1674902055
21819 l
21820 \change_inserted -712698321 1674902055
21821
21822 \emph on
21823 L
21824 \change_inserted 564990737 1672224959
21825 emma 1
21826 \emph default
21827 ,
21828  
21829 \change_inserted -712698321 1674902058
21830
21831 \emph on
21832 P
21833 \change_deleted -712698321 1674902058
21834 p
21835 \change_inserted 564990737 1672224959
21836 roposition 1
21837 \emph default
21838 ,
21839  
21840 \change_inserted -712698321 1674902061
21841
21842 \emph on
21843 T
21844 \change_deleted -712698321 1674902060
21845 t
21846 \change_inserted 564990737 1672224959
21847 heorem 3
21848 \emph default
21849 ,
21850  
21851 \change_deleted -712698321 1674902063
21852 l
21853 \change_inserted -712698321 1674902063
21854
21855 \emph on
21856 L
21857 \change_inserted 564990737 1672224959
21858 emma 2
21859 \emph default
21860 ,
21861  \SpecialChar ldots
21862 ,
21863  as opposed to 
21864 \change_deleted -712698321 1674902066
21865 t
21866 \change_inserted -712698321 1674902067
21867
21868 \emph on
21869 T
21870 \change_inserted 564990737 1672224959
21871 heorem 1
21872 \emph default
21873 ,
21874  
21875 \change_deleted -712698321 1674902069
21876 t
21877 \change_inserted -712698321 1674902069
21878
21879 \emph on
21880 T
21881 \change_inserted 564990737 1672224959
21882 heorem 2
21883 \emph default
21884 ,
21885  
21886 \change_deleted -712698321 1674902071
21887 l
21888 \change_inserted -712698321 1674902071
21889
21890 \emph on
21891 L
21892 \change_inserted 564990737 1672224959
21893 emma 3
21894 \emph default
21895 ,
21896  
21897 \change_deleted -712698321 1674902075
21898 p
21899 \change_inserted -712698321 1674902075
21900
21901 \emph on
21902 P
21903 \change_inserted 564990737 1672224959
21904 roposition 4
21905 \emph default
21906 ,
21907  \SpecialChar ldots
21908 ).
21909  The numbering’s scope is the whole document.
21910  For chapter- and section-wide numbering,
21911  use one of the ‘within Sections’/‘within Chapters’ modules,
21912  respectively.
21913  
21914 \change_inserted -712698321 1674902047
21915
21916 \end_layout
21917
21918 \begin_layout Standard
21919
21920 \change_inserted 564990737 1672224959
21921 It cannot be used if the modules 
21922 \family sans
21923 AMS Theorems
21924 \family default
21925 ,
21926  
21927 \family sans
21928 Standard Theorems
21929 \family default
21930 ,
21931
21932 \family sans
21933  Standard Theorems (Numbered by Type)
21934 \family default
21935  or
21936 \family sans
21937  Standard Theorems (Unnumbered)
21938 \family default
21939  have been loaded.
21940 \end_layout
21941
21942 \begin_layout Subsection
21943
21944 \change_inserted 564990737 1672224959
21945 Number Equations by Section
21946 \end_layout
21947
21948 \begin_layout Standard
21949
21950 \change_inserted 564990737 1672224959
21951 This module resets the equation number at section start and prepends the section number to the equation number,
21952  as in 
21953 \change_deleted -712698321 1674902160
21954
21955 \change_inserted 564990737 1672224959
21956
21957 \emph on
21958 (2.1)
21959 \emph default
21960 .
21961 \change_deleted -712698321 1674902162
21962
21963 \change_inserted 564990737 1672224959
21964  
21965 \end_layout
21966
21967 \begin_layout Subsection
21968
21969 \change_inserted 564990737 1672224959
21970 Standard Theorems
21971 \end_layout
21972
21973 \begin_layout Standard
21974
21975 \change_inserted 564990737 1672224959
21976 This module defines some theorem environments for use with non-AMS classes.
21977  By default,
21978  the theorems are numbered consecutively throughout the document.
21979  This can be changed by loading one of the 
21980 \family sans
21981 Standard Theorems (Numbered by \SpecialChar ldots
21982 )
21983 \family default
21984  modules.
21985  
21986 \change_inserted -712698321 1674902414
21987
21988 \end_layout
21989
21990 \begin_layout Standard
21991
21992 \change_inserted 564990737 1672224959
21993 It cannot be used if the modules 
21994 \family sans
21995 AMS Theorems
21996 \family default
21997  or
21998 \family sans
21999  Standard Theorems (Unnumbered)
22000 \family default
22001  have been loaded.
22002  
22003 \end_layout
22004
22005 \begin_layout Subsection
22006
22007 \change_inserted 564990737 1672224959
22008 Standard Theorems (Nameable)
22009 \end_layout
22010
22011 \begin_layout Standard
22012
22013 \change_inserted 564990737 1672224959
22014 This module facilitates the use of named theorems.
22015  The name of the theorem 
22016 \change_deleted -712698321 1674902805
22017 goes into the
22018 \change_inserted -712698321 1674902825
22019 can be inserted via 
22020 \family sans
22021 Insert\SpecialChar menuseparator
22022
22023 \change_deleted -712698321 1674902827
22024  “
22025 \change_inserted 564990737 1672224959
22026 Additional Theorem Text
22027 \change_deleted -712698321 1674902831
22028
22029 \family default
22030 ” argument
22031 \change_inserted 564990737 1672224959
22032 .
22033  
22034 \end_layout
22035
22036 \begin_layout Subsection
22037
22038 \change_inserted 564990737 1672224959
22039 Standard Theorems (Numbered by Chapter)
22040 \end_layout
22041
22042 \begin_layout Standard
22043
22044 \change_inserted 564990737 1672224959
22045 This module numbers theorems and the like by chapter (i.e.,
22046  the counter is reset at each chapter start).
22047  Use this module only with document classes that provide a chapter environment.
22048  
22049 \change_inserted -712698321 1674903079
22050
22051 \end_layout
22052
22053 \begin_layout Standard
22054
22055 \change_inserted 564990737 1672224959
22056 One of the modules 
22057 \family sans
22058 AMS Theorems
22059 \family default
22060  or 
22061 \family sans
22062 Standard Theorems
22063 \family default
22064  must be loaded.
22065  
22066 \change_inserted -712698321 1674903082
22067
22068 \end_layout
22069
22070 \begin_layout Standard
22071
22072 \change_inserted 564990737 1672224959
22073 It cannot be used if the module
22074 \family sans
22075  Standard Theorems (Numbered by Section)
22076 \family default
22077  has been loaded.
22078 \end_layout
22079
22080 \begin_layout Subsection
22081
22082 \change_inserted 564990737 1672224959
22083 Standard Theorems (Numbered by Section)
22084 \end_layout
22085
22086 \begin_layout Standard
22087
22088 \change_inserted 564990737 1672224959
22089 This module numbers theorems and the like by section (i.e.,
22090  the counter is reset at each section start).
22091  One of the modules 
22092 \family sans
22093 AMS Theorems
22094 \family default
22095  or 
22096 \family sans
22097 Standard Theorems
22098 \family default
22099  must be loaded.
22100  It cannot be used if the module
22101 \family sans
22102  Standard Theorems (Numbered by Chapter)
22103 \family default
22104  has been loaded.
22105 \end_layout
22106
22107 \begin_layout Subsection
22108
22109 \change_inserted 564990737 1672224959
22110 Standard Theorems (Numbered by Type within Chapters) 
22111 \end_layout
22112
22113 \begin_layout Standard
22114
22115 \change_inserted 564990737 1672224959
22116 This module defines some theorem environments for use with non-AMS classes.
22117  Unlike the
22118 \family sans
22119  AMS Theorems
22120 \family default
22121  and 
22122 \family sans
22123 Standard Theorems
22124 \family default
22125  modules,
22126  the different theorem types provided here each have a separate counter (e.g.,
22127  
22128 \change_deleted -712698321 1674903338
22129 t
22130 \change_inserted -712698321 1674903338
22131
22132 \emph on
22133 T
22134 \change_inserted 564990737 1672224959
22135 heorem 1
22136 \emph default
22137 ,
22138  
22139 \change_deleted -712698321 1674903340
22140 t
22141 \change_inserted -712698321 1674903340
22142
22143 \emph on
22144 T
22145 \change_inserted 564990737 1672224959
22146 heorem 2
22147 \emph default
22148 ,
22149  
22150 \change_deleted -712698321 1674903343
22151 l
22152 \change_inserted -712698321 1674903343
22153
22154 \emph on
22155 L
22156 \change_inserted 564990737 1672224959
22157 emma 1
22158 \emph default
22159 ,
22160  
22161 \change_deleted -712698321 1674903346
22162 p
22163 \change_inserted -712698321 1674903346
22164
22165 \emph on
22166 P
22167 \change_inserted 564990737 1672224959
22168 roposition 1
22169 \emph default
22170 ,
22171  
22172 \change_deleted -712698321 1674903348
22173 t
22174 \change_inserted -712698321 1674903348
22175
22176 \emph on
22177 T
22178 \change_inserted 564990737 1672224959
22179 heorem 3
22180 \emph default
22181 ,
22182  
22183 \change_deleted -712698321 1674903351
22184 l
22185 \change_inserted -712698321 1674903351
22186
22187 \emph on
22188 L
22189 \change_inserted 564990737 1672224959
22190 emma 2
22191 \emph default
22192 ,
22193  \SpecialChar ldots
22194 ,
22195  as opposed to 
22196 \change_deleted -712698321 1674903354
22197 t
22198 \change_inserted -712698321 1674903354
22199
22200 \emph on
22201 T
22202 \change_inserted 564990737 1672224959
22203 heorem 1
22204 \emph default
22205 ,
22206  
22207 \change_deleted -712698321 1674903356
22208 t
22209 \change_inserted -712698321 1674903356
22210
22211 \emph on
22212 T
22213 \change_inserted 564990737 1672224959
22214 heorem 2
22215 \emph default
22216 ,
22217  
22218 \change_deleted -712698321 1674903359
22219 l
22220 \change_inserted -712698321 1674903359
22221
22222 \emph on
22223 L
22224 \change_inserted 564990737 1672224959
22225 emma 3
22226 \emph default
22227 ,
22228  
22229 \change_deleted -712698321 1674903361
22230 p
22231 \change_inserted -712698321 1674903361
22232
22233 \emph on
22234 P
22235 \change_inserted 564990737 1672224959
22236 roposition 4
22237 \emph default
22238 ,
22239  \SpecialChar ldots
22240 ).
22241  The numbering is reset at each chapter start.
22242  
22243 \change_inserted -712698321 1674902715
22244
22245 \end_layout
22246
22247 \begin_layout Standard
22248
22249 \change_inserted 564990737 1672224959
22250 One of the modules 
22251 \family sans
22252 AMS Theorems (Numbered by Type)
22253 \family default
22254  or 
22255 \family sans
22256 Standard Theorems (Numbered by Type)
22257 \family default
22258  must be loaded.
22259  
22260 \change_inserted -712698321 1674902717
22261
22262 \end_layout
22263
22264 \begin_layout Standard
22265
22266 \change_inserted 564990737 1672224959
22267 It cannot be used if any of the modules
22268 \family sans
22269  AMS Theorems
22270 \family default
22271 ,
22272  
22273 \family sans
22274 Standard Theorems
22275 \family default
22276 ,
22277  
22278 \family sans
22279 Standard Theorems (Unnumbered)
22280 \family default
22281 ,
22282
22283 \family sans
22284  Standard Theorems (Numbered by Sections)
22285 \family default
22286  or 
22287 \family sans
22288 Standard Theorems (Numbered by Type within Sections)
22289 \family default
22290  have been loaded.
22291 \end_layout
22292
22293 \begin_layout Subsection
22294
22295 \change_inserted 564990737 1672224959
22296 Standard Theorems (Numbered by Type within Sections) 
22297 \end_layout
22298
22299 \begin_layout Standard
22300
22301 \change_inserted 564990737 1672224959
22302 This module defines some theorem environments for use with non-AMS classes.
22303  Unlike the
22304 \family sans
22305  AMS Theorems
22306 \family default
22307  and 
22308 \family sans
22309 Standard Theorems
22310 \family default
22311  modules,
22312  the different theorem types provided here each have a separate counter (e.g.,
22313  
22314 \change_deleted -712698321 1674902520
22315 t
22316 \change_inserted -712698321 1674902520
22317
22318 \emph on
22319 T
22320 \change_inserted 564990737 1672224959
22321 heorem 1
22322 \emph default
22323 ,
22324  
22325 \change_deleted -712698321 1674902522
22326 t
22327 \change_inserted -712698321 1674902522
22328
22329 \emph on
22330 T
22331 \change_inserted 564990737 1672224959
22332 heorem 2
22333 \emph default
22334 ,
22335  
22336 \change_deleted -712698321 1674902527
22337 l
22338 \change_inserted -712698321 1674902527
22339
22340 \emph on
22341 L
22342 \change_inserted 564990737 1672224959
22343 emma 1
22344 \emph default
22345 ,
22346  
22347 \change_inserted -712698321 1674902529
22348
22349 \emph on
22350 P
22351 \change_deleted -712698321 1674902529
22352 p
22353 \change_inserted 564990737 1672224959
22354 roposition 1
22355 \emph default
22356 ,
22357  
22358 \change_deleted -712698321 1674902532
22359 t
22360 \change_inserted -712698321 1674902532
22361
22362 \emph on
22363 T
22364 \change_inserted 564990737 1672224959
22365 heorem 3
22366 \emph default
22367 ,
22368  
22369 \change_inserted -712698321 1674902535
22370
22371 \emph on
22372 L
22373 \change_deleted -712698321 1674902534
22374 l
22375 \change_inserted 564990737 1672224959
22376 emma 2
22377 \emph default
22378 ,
22379  \SpecialChar ldots
22380 ,
22381  as opposed to 
22382 \change_deleted -712698321 1674902538
22383 t
22384 \change_inserted -712698321 1674902538
22385
22386 \emph on
22387 T
22388 \change_inserted 564990737 1672224959
22389 heorem 1
22390 \emph default
22391 ,
22392  
22393 \change_deleted -712698321 1674902540
22394 t
22395 \change_inserted -712698321 1674902540
22396
22397 \emph on
22398 T
22399 \change_inserted 564990737 1672224959
22400 heorem 2
22401 \emph default
22402 ,
22403  
22404 \change_deleted -712698321 1674902543
22405 l
22406 \change_inserted -712698321 1674902543
22407
22408 \emph on
22409 L
22410 \change_inserted 564990737 1672224959
22411 emma 3
22412 \emph default
22413 ,
22414  
22415 \change_inserted -712698321 1674902545
22416
22417 \emph on
22418 P
22419 \change_deleted -712698321 1674902545
22420 p
22421 \change_inserted 564990737 1672224959
22422 roposition 4
22423 \emph default
22424 ,
22425  \SpecialChar ldots
22426 ).
22427  The numbering is reset at each section start.
22428  
22429 \change_inserted -712698321 1674902574
22430
22431 \end_layout
22432
22433 \begin_layout Standard
22434
22435 \change_inserted 564990737 1672224959
22436 One of the modules 
22437 \family sans
22438 AMS Theorems (Numbered by Type)
22439 \family default
22440  or 
22441 \family sans
22442 Standard Theorems (Numbered by Type)
22443 \family default
22444  must be loaded.
22445  
22446 \change_inserted -712698321 1674902609
22447
22448 \end_layout
22449
22450 \begin_layout Standard
22451
22452 \change_inserted 564990737 1672224959
22453 It cannot be used if any of the modules
22454 \family sans
22455  AMS Theorems
22456 \family default
22457 ,
22458  
22459 \family sans
22460 Standard Theorems
22461 \family default
22462 ,
22463  
22464 \family sans
22465 Standard Theorems (Unnumbered)
22466 \family default
22467 ,
22468
22469 \family sans
22470  Standard Theorems (Numbered by Chapters)
22471 \family default
22472  or 
22473 \family sans
22474 Standard Theorems (Numbered by Type within Chapters)
22475 \family default
22476  have been loaded.
22477 \end_layout
22478
22479 \begin_layout Subsection
22480
22481 \change_inserted 564990737 1672224959
22482 Standard Theorems (Numbered by Type)
22483 \end_layout
22484
22485 \begin_layout Standard
22486
22487 \change_inserted 564990737 1672224959
22488 This module defines some theorem environments for use with non-AMS classes.
22489  Unlike the 
22490 \family sans
22491 AMS Theorems
22492 \family default
22493  and 
22494 \family sans
22495 Standard Theorems
22496 \family default
22497  modules,
22498  the different theorem types provided here each have a separate counter (e.g.,
22499  
22500 \change_deleted -712698321 1674903220
22501 t
22502 \change_inserted -712698321 1674903220
22503
22504 \emph on
22505 T
22506 \change_inserted 564990737 1672224959
22507 heorem 1
22508 \emph default
22509 ,
22510  
22511 \change_deleted -712698321 1674903221
22512 t
22513 \change_inserted -712698321 1674903221
22514
22515 \emph on
22516 T
22517 \change_inserted 564990737 1672224959
22518 heorem 2
22519 \emph default
22520 ,
22521  
22522 \change_deleted -712698321 1674903225
22523 l
22524 \change_inserted -712698321 1674903226
22525
22526 \emph on
22527 L
22528 \change_inserted 564990737 1672224959
22529 emma 1
22530 \emph default
22531 ,
22532  
22533 \change_inserted -712698321 1674903228
22534
22535 \emph on
22536 P
22537 \change_deleted -712698321 1674903228
22538 p
22539 \change_inserted 564990737 1672224959
22540 roposition 1
22541 \emph default
22542 ,
22543  
22544 \change_deleted -712698321 1674903231
22545 t
22546 \change_inserted -712698321 1674903232
22547
22548 \emph on
22549 T
22550 \change_inserted 564990737 1672224959
22551 heorem 3
22552 \emph default
22553 ,
22554  
22555 \change_inserted -712698321 1674903261
22556
22557 \emph on
22558 L
22559 \change_deleted -712698321 1674903233
22560 l
22561 \change_inserted 564990737 1672224959
22562 emma 2
22563 \emph default
22564 ,
22565  \SpecialChar ldots
22566 ,
22567  as opposed to 
22568 \change_deleted -712698321 1674903237
22569 t
22570 \change_inserted -712698321 1674903237
22571
22572 \emph on
22573 T
22574 \change_inserted 564990737 1672224959
22575 heorem 1
22576 \emph default
22577 ,
22578  
22579 \change_deleted -712698321 1674903240
22580 t
22581 \change_inserted -712698321 1674903240
22582
22583 \emph on
22584 T
22585 \change_inserted 564990737 1672224959
22586 heorem 2
22587 \emph default
22588 ,
22589  
22590 \change_deleted -712698321 1674903242
22591 l
22592 \change_inserted -712698321 1674903242
22593
22594 \emph on
22595 L
22596 \change_inserted 564990737 1672224959
22597 emma 3
22598 \emph default
22599 ,
22600  
22601 \change_deleted -712698321 1674903246
22602 p
22603 \change_inserted -712698321 1674903246
22604
22605 \emph on
22606 P
22607 \change_inserted 564990737 1672224959
22608 roposition 4
22609 \emph default
22610 ,
22611  \SpecialChar ldots
22612 ).
22613  The numbering’s scope is the whole document.
22614  For chapter- and section-wide numbering,
22615  use one of the “within Chapters”/“within Sections” modules,
22616  respectively.
22617  
22618 \change_inserted -712698321 1674903280
22619
22620 \end_layout
22621
22622 \begin_layout Standard
22623
22624 \change_inserted 564990737 1672224959
22625 It cannot be used if any of the modules
22626 \family sans
22627  AMS Theorems
22628 \family default
22629 ,
22630  
22631 \family sans
22632 Standard Theorems
22633 \family default
22634 ,
22635  
22636 \family sans
22637 Standard Theorems (Unnumbered)
22638 \family default
22639  or
22640 \family sans
22641  AMS Theorems (Numbered by Type)
22642 \family default
22643  have been loaded.
22644 \end_layout
22645
22646 \begin_layout Subsection
22647
22648 \change_inserted 564990737 1672224959
22649 Standard Theorems (Unnumbered)
22650 \end_layout
22651
22652 \begin_layout Standard
22653
22654 \change_inserted 564990737 1672224959
22655 This module defines only unnumbered theorem environments and the proof environment,
22656  using the extended AMS machinery.
22657  It cannot be used if either of the modules
22658 \family sans
22659  AMS Theorems
22660 \family default
22661  or
22662 \family sans
22663  Standard Theorems
22664 \family default
22665  have been loaded.
22666 \end_layout
22667
22668 \begin_layout Subsection
22669
22670 \change_inserted 564990737 1672224959
22671 Subequations
22672 \end_layout
22673
22674 \begin_layout Standard
22675
22676 \change_inserted 564990737 1672224959
22677 This module provides a straightforward way to segregate subequations in LyX.
22678  See 
22679 \family sans
22680 Help\SpecialChar menuseparator
22681 Math\SpecialChar menuseparator
22682 Subnumbering
22683 \family default
22684 .
22685  
22686 \end_layout
22687
22688 \begin_layout Section
22689
22690 \change_inserted 564990737 1672236008
22691 Page Layout
22692 \end_layout
22693
22694 \begin_layout Subsection
22695
22696 \change_inserted 564990737 1672236008
22697 Custom Header/Footer Text
22698 \end_layout
22699
22700 \begin_layout Standard
22701
22702 \change_inserted 564990737 1672236008
22703 This module requires the 
22704 \family sans
22705 Page
22706 \begin_inset space ~
22707 \end_inset
22708
22709
22710 \bar under
22711 s
22712 \bar default
22713 tyle
22714 \family default
22715  option in the 
22716 \family sans
22717 \bar under
22718 D
22719 \bar default
22720 ocument\SpecialChar menuseparator
22721
22722 \bar under
22723 S
22724 \bar default
22725 ettings\SpecialChar menuseparator
22726 Page
22727 \begin_inset space ~
22728 \end_inset
22729
22730 Layout
22731 \family default
22732  dialog to be set to 
22733 \family typewriter
22734 fancy
22735 \family default
22736 .
22737  It adds six environments to document classes which support the 
22738 \family typewriter
22739 fancyhdr
22740 \family default
22741  package:
22742 \end_layout
22743
22744 \begin_layout Itemize
22745
22746 \change_inserted 564990737 1672236008
22747
22748 \family sans
22749 Left Header
22750 \end_layout
22751
22752 \begin_layout Itemize
22753
22754 \change_inserted 564990737 1672236008
22755
22756 \family sans
22757 Center Header
22758 \end_layout
22759
22760 \begin_layout Itemize
22761
22762 \change_inserted 564990737 1672236008
22763
22764 \family sans
22765 Right Header
22766 \end_layout
22767
22768 \begin_layout Itemize
22769
22770 \change_inserted 564990737 1672236008
22771
22772 \family sans
22773 Left Footer
22774 \end_layout
22775
22776 \begin_layout Itemize
22777
22778 \change_inserted 564990737 1672236008
22779
22780 \family sans
22781 Center Footer
22782 \end_layout
22783
22784 \begin_layout Itemize
22785
22786 \change_inserted 564990737 1672236008
22787
22788 \family sans
22789 Right Footer
22790 \end_layout
22791
22792 \begin_layout Subsubsection
22793
22794 \change_inserted 564990737 1672236008
22795 Fancy Headers and Footers
22796 \end_layout
22797
22798 \begin_layout Standard
22799
22800 \change_inserted 564990737 1672236008
22801 The default page layout is rather plain;
22802  for an
22803 \change_deleted -712698321 1674910295
22804  
22805 \begin_inset Flex Code
22806 status collapsed
22807
22808 \begin_layout Plain Layout
22809
22810 \change_inserted 564990737 1672236008
22811 article
22812 \change_unchanged
22813
22814 \end_layout
22815
22816 \end_inset
22817
22818
22819 \change_inserted 564990737 1672236008
22820  
22821 \change_inserted -712698321 1674910328
22822
22823 \family sans
22824 Article (Standard Class)
22825 \family default
22826  
22827 \change_inserted 564990737 1672236008
22828 document class,
22829  all you get is a centered page number at the bottom of the page.
22830  This document uses
22831 \change_inserted -712698321 1674910381
22832  the
22833 \change_inserted 564990737 1672236008
22834  
22835 \change_deleted -712698321 1674910376
22836 KOMA-script’s book
22837 \change_inserted -712698321 1674910376
22838
22839 \family sans
22840 KOMA-Script Book
22841 \change_inserted 564990737 1672236008
22842
22843 \family default
22844  class;
22845  so it appears to be a bit fancier.
22846  
22847 \change_inserted -712698321 1674910455
22848
22849 \end_layout
22850
22851 \begin_layout Standard
22852
22853 \change_inserted 564990737 1672236008
22854 Once the 
22855 \family sans
22856 Page
22857 \begin_inset space ~
22858 \end_inset
22859
22860
22861 \bar under
22862 s
22863 \bar default
22864 tyle
22865 \family default
22866  in 
22867 \family sans
22868 \bar under
22869 D
22870 \bar default
22871 ocument\SpecialChar menuseparator
22872
22873 \bar under
22874 S
22875 \bar default
22876 ettings\SpecialChar menuseparator
22877 Page Layout
22878 \family default
22879  is set to 
22880 \begin_inset Quotes eld
22881 \end_inset
22882
22883 fancy
22884 \begin_inset Quotes erd
22885 \end_inset
22886
22887 ,
22888  you will find that the page header is divided into three fields,
22889  not surprisingly labeled 
22890 \begin_inset Quotes eld
22891 \end_inset
22892
22893 left
22894 \begin_inset Quotes erd
22895 \end_inset
22896
22897 ,
22898  
22899 \begin_inset Quotes eld
22900 \end_inset
22901
22902 center
22903 \begin_inset Quotes erd
22904 \end_inset
22905
22906 ,
22907  and 
22908 \begin_inset Quotes eld
22909 \end_inset
22910
22911 right
22912 \begin_inset Quotes erd
22913 \end_inset
22914
22915 .
22916  The footer is also divided into these three fields.
22917  The \SpecialChar LaTeX
22918  commands to set these fields in the simplest manner are 
22919 \family typewriter
22920
22921 \backslash
22922 lhead
22923 \family default
22924 ,
22925  
22926 \family typewriter
22927
22928 \backslash
22929 chead
22930 \family default
22931 ,
22932  
22933 \family typewriter
22934
22935 \backslash
22936 rhead
22937 \family default
22938 ,
22939  
22940 \family typewriter
22941
22942 \backslash
22943 lfoot
22944 \family default
22945 ,
22946  etc.
22947  Suppose you wish to put your name in the upper left hand corner of each page.
22948  Simply insert the following command in the preamble:
22949  
22950 \end_layout
22951
22952 \begin_layout LyX-Code
22953
22954 \change_inserted 564990737 1672236008
22955
22956 \backslash
22957 lhead{John Q.
22958  DocWriter}
22959 \end_layout
22960
22961 \begin_layout Standard
22962
22963 \change_inserted 564990737 1672236008
22964 You will now see your name in the upper left.
22965  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,
22966  e.
22967 \begin_inset space \thinspace{}
22968 \end_inset
22969
22970 g.:
22971 \end_layout
22972
22973 \begin_layout LyX-Code
22974
22975 \change_inserted 564990737 1672236008
22976
22977 \backslash
22978 cfoot{}
22979 \end_layout
22980
22981 \begin_layout Standard
22982
22983 \change_inserted 564990737 1672236008
22984 There is,
22985  however,
22986  an easier way to make simple changes.
22987  If you load the 
22988 \family sans
22989 \bar under
22990 D
22991 \bar default
22992 ocument\SpecialChar menuseparator
22993
22994 \bar under
22995 S
22996 \bar default
22997 ettings\SpecialChar menuseparator
22998 Modules\SpecialChar menuseparator
22999 Page Layout\SpecialChar menuseparator
23000 Custom Header/Footer Text
23001 \family default
23002  module,
23003  you will find you have six new environments corresponding to the six fields described above.
23004 \end_layout
23005
23006 \begin_layout Standard
23007
23008 \change_inserted 564990737 1672236008
23009 Let's get really fancy:
23010  lets put the section number with the word 
23011 \begin_inset Quotes eld
23012 \end_inset
23013
23014 Section
23015 \begin_inset Quotes erd
23016 \end_inset
23017
23018  (e.
23019 \begin_inset space \thinspace{}
23020 \end_inset
23021
23022 g.
23023 \begin_inset space \space{}
23024 \end_inset
23025
23026 Section 3) in the upper left,
23027  the page number (e.
23028 \begin_inset space \thinspace{}
23029 \end_inset
23030
23031 g.
23032 \begin_inset space \space{}
23033 \end_inset
23034
23035 Page 4) in the upper right,
23036  your name in the lower left,
23037  and the date in the lower right.
23038  Use your newly enabled environments to add these entries:
23039 \end_layout
23040
23041 \begin_layout Standard
23042
23043 \change_deleted -712698321 1674910975
23044 \begin_inset VSpace defskip
23045 \end_inset
23046
23047
23048 \change_inserted 564990737 1672236008
23049
23050 \end_layout
23051
23052 \begin_layout LyX-Code
23053
23054 \change_inserted 564990737 1672236008
23055
23056 \family sans
23057 Left
23058 \begin_inset space ~
23059 \end_inset
23060
23061 header:
23062
23063 \family default
23064 \series bold
23065  
23066 \family roman
23067 \series default
23068 Section
23069 \family typewriter
23070  
23071 \family default
23072
23073 \backslash
23074 thesection
23075 \end_layout
23076
23077 \begin_layout LyX-Code
23078
23079 \change_inserted 564990737 1672236008
23080
23081 \family sans
23082 Center header:
23083 \end_layout
23084
23085 \begin_layout LyX-Code
23086
23087 \change_inserted 564990737 1672236008
23088
23089 \family sans
23090 Right header:
23091
23092 \family default
23093  
23094 \family roman
23095 Page
23096 \family typewriter
23097  
23098 \family default
23099
23100 \backslash
23101 thepage
23102 \end_layout
23103
23104 \begin_layout LyX-Code
23105
23106 \change_inserted 564990737 1672236008
23107
23108 \family sans
23109 Left footer:
23110
23111 \family default
23112  
23113 \family roman
23114 John Q.
23115  DocWriter
23116 \end_layout
23117
23118 \begin_layout LyX-Code
23119
23120 \change_inserted 564990737 1672236008
23121
23122 \family sans
23123 Center footer:
23124 \end_layout
23125
23126 \begin_layout LyX-Code
23127
23128 \change_inserted 564990737 1672236008
23129
23130 \family sans
23131 Right footer:
23132
23133 \family default
23134 \series bold
23135  
23136 \series default
23137
23138 \backslash
23139 today
23140 \end_layout
23141
23142 \begin_layout Standard
23143
23144 \change_deleted -712698321 1674910976
23145 \begin_inset VSpace defskip
23146 \end_inset
23147
23148
23149 \change_inserted 564990737 1672236008
23150
23151 \end_layout
23152
23153 \begin_layout Standard
23154
23155 \change_inserted 564990737 1672236008
23156 Make sure you enter the commands 
23157 \family typewriter
23158
23159 \backslash
23160 thesection
23161 \family default
23162 ,
23163  
23164 \family typewriter
23165
23166 \backslash
23167 thepage
23168 \family default
23169  and 
23170 \family typewriter
23171
23172 \backslash
23173 today
23174 \family default
23175  as \SpecialChar TeX
23176  Code commands
23177 \series bold
23178 .
23179
23180 \series default
23181  The commands 
23182 \family typewriter
23183
23184 \backslash
23185 thesection
23186 \family default
23187  and
23188 \family typewriter
23189  
23190 \backslash
23191 thepage
23192 \family default
23193  access \SpecialChar LaTeX
23194 ’s section and page counters,
23195  and so print out the current section and page numbers.
23196  
23197 \family typewriter
23198
23199 \backslash
23200 today
23201 \family default
23202  simply prints out today’s date.
23203 \end_layout
23204
23205 \begin_layout Standard
23206
23207 \change_inserted 564990737 1672236008
23208 The thicknesses of the horizontal rules drawn beneath the header and above the footer can also be modified.
23209  If you don't want one of the rules,
23210  set its thickness to 0.
23211  The header rule has a default thickness of 0.4pt,
23212  the footer rule is 0pt.
23213  For this you will need to use \SpecialChar TeX
23214  Code commands like 
23215 \end_layout
23216
23217 \begin_layout Standard
23218
23219 \change_inserted 564990737 1672236008
23220
23221 \family typewriter
23222
23223 \backslash
23224 renewcommand{
23225 \backslash
23226 headrulewidth}{0.4pt}
23227 \family default
23228  and 
23229 \end_layout
23230
23231 \begin_layout Standard
23232
23233 \change_inserted 564990737 1672236008
23234
23235 \family typewriter
23236
23237 \backslash
23238 renewcommand{
23239 \backslash
23240 footrulewidth}{0.4pt}
23241 \family default
23242  to set the thicknesses.
23243 \end_layout
23244
23245 \begin_layout Standard
23246
23247 \change_inserted 564990737 1672236008
23248 You can switch the header/footer settings on and off for individual pages using \SpecialChar TeX
23249  Code commands like 
23250 \family typewriter
23251
23252 \backslash
23253 thispagestyle{empty}
23254 \family default
23255 ,
23256  
23257 \family typewriter
23258
23259 \backslash
23260 thispagestyle{plain}
23261 \family default
23262 ,
23263  and 
23264 \family typewriter
23265
23266 \backslash
23267 thispagestyle{fancy}
23268 \family default
23269 .
23270  Simply insert them in the text on the page you want changed and mark them as \SpecialChar TeX
23271  code.
23272  In fact,
23273  title pages are marked as plain by default,
23274  while following pages are marked fancy when using the global fancy setting.
23275  
23276 \end_layout
23277
23278 \begin_layout Standard
23279
23280 \change_inserted 564990737 1672236008
23281 If you want a header or footer to be on the outer side of a two sided document,
23282  you need to use something like:
23283 \end_layout
23284
23285 \begin_layout LyX-Code
23286
23287 \change_deleted -712698321 1674911361
23288
23289 \family sans
23290 \begin_inset Flex Strong
23291 status collapsed
23292
23293 \begin_layout Plain Layout
23294
23295 \change_inserted 564990737 1672236008
23296
23297 \family sans
23298 \series medium
23299
23300 \backslash
23301 fancyfoot{}
23302 \change_unchanged
23303
23304 \end_layout
23305
23306 \end_inset
23307
23308
23309 \change_inserted -712698321 1674911361
23310
23311 \family default
23312
23313 \backslash
23314 fancyfoot{}
23315 \change_unchanged
23316
23317 \end_layout
23318
23319 \begin_layout LyX-Code
23320
23321 \change_deleted -712698321 1674911364
23322
23323 \family sans
23324 \begin_inset Flex Strong
23325 status collapsed
23326
23327 \begin_layout Plain Layout
23328
23329 \change_inserted 564990737 1672236008
23330
23331 \family sans
23332 \series medium
23333
23334 \backslash
23335 fancyfoot[LE,RO]{
23336 \backslash
23337 thepage}
23338 \change_unchanged
23339
23340 \end_layout
23341
23342 \end_inset
23343
23344
23345 \change_inserted -712698321 1674911364
23346
23347 \family default
23348
23349 \backslash
23350 fancyfoot[LE,RO]{
23351 \backslash
23352 thepage}
23353 \change_unchanged
23354
23355 \end_layout
23356
23357 \begin_layout Standard
23358
23359 \change_inserted 564990737 1672236008
23360 The first command clears all existing footers avoiding any conflicts with your new command.
23361 \end_layout
23362
23363 \begin_layout Standard
23364
23365 \change_inserted 564990737 1672236008
23366 You can enter any of these commands,
23367  the simpler ones in any of your new environments,
23368  the more complex ones as \SpecialChar TeX
23369  Code commands,
23370  at any point in your document and they will take effect on the next page.
23371 \end_layout
23372
23373 \begin_layout Standard
23374
23375 \change_inserted 564990737 1672236008
23376 As a final example,
23377  it is possible to include an image in the header or footer.
23378  Suppose you want to put a company logo in the upper left hand corner.
23379  You might try something like
23380 \change_inserted -712698321 1674911745
23381  this in 
23382 \family sans
23383 Document\SpecialChar menuseparator
23384 Settings\SpecialChar menuseparator
23385 LaTeX Preamble
23386 \family default
23387 :
23388 \change_inserted 564990737 1672236008
23389
23390 \end_layout
23391
23392 \begin_layout LyX-Code
23393
23394 \change_inserted 564990737 1672236008
23395
23396 \backslash
23397 lhead{
23398 \backslash
23399 resizebox{1in}{!}{
23400 \backslash
23401 includegraphics{logo.
23402 \change_deleted -712698321 1674911807
23403 eps
23404 \change_inserted -712698321 1674911807
23405 png
23406 \change_inserted 564990737 1672236008
23407 }}}
23408 \end_layout
23409
23410 \begin_layout Standard
23411 \noindent
23412
23413 \change_deleted -712698321 1674911836
23414 (y
23415 \change_inserted -712698321 1674911837
23416 Y
23417 \change_inserted 564990737 1672236008
23418 ou may need to preface this with 
23419 \family typewriter
23420
23421 \backslash
23422 usepackage{graphics}
23423 \family default
23424  if you don't include graphics elsewhere in your document
23425 \change_deleted -712698321 1674911839
23426 )
23427 \change_inserted 564990737 1672236008
23428 .
23429 \end_layout
23430
23431 \begin_layout Standard
23432
23433 \change_inserted 564990737 1672236008
23434 For more information on fancy headers,
23435  you can get the 
23436 \begin_inset Flex Code
23437 status collapsed
23438
23439 \begin_layout Plain Layout
23440
23441 \change_inserted 564990737 1672236008
23442 fancyhdr
23443 \change_unchanged
23444
23445 \end_layout
23446
23447 \end_inset
23448
23449  documentation from 
23450 \begin_inset CommandInset href
23451 LatexCommand href
23452 name "CTAN"
23453 target "http://www.ctan.org/pkg/fancyhdr"
23454 literal "false"
23455
23456 \end_inset
23457
23458 .
23459  
23460 \end_layout
23461
23462 \begin_layout Subsection
23463
23464 \change_inserted 564990737 1672236008
23465 Landscape Document Parts
23466 \end_layout
23467
23468 \begin_layout Standard
23469
23470 \change_inserted 564990737 1672236008
23471 This module outputs parts of the document in landscape mode using 
23472 \family sans
23473 Insert\SpecialChar menuseparator
23474 Custom Insets\SpecialChar menuseparator
23475 Landscape
23476 \family default
23477  or 
23478 \family sans
23479 Insert\SpecialChar menuseparator
23480 Custom Insets\SpecialChar menuseparator
23481 Landscape (Floating)
23482 \family default
23483 .
23484 \end_layout
23485
23486 \begin_layout Subsection
23487
23488 \change_inserted 564990737 1672236008
23489 \begin_inset CommandInset label
23490 LatexCommand label
23491 name "sec:Multiple-Columns"
23492
23493 \end_inset
23494
23495 Multiple Columns
23496 \end_layout
23497
23498 \begin_layout Standard
23499
23500 \change_inserted 564990737 1672236008
23501 This module uses the 
23502 \family sans
23503 multicol
23504 \family default
23505
23506 \begin_inset Index idx
23507 range none
23508 pageformat default
23509 status collapsed
23510
23511 \begin_layout Plain Layout
23512
23513 \change_inserted 564990737 1672236008
23514 \SpecialChar LaTeX
23515 -packages !
23516  multicol
23517 \change_unchanged
23518
23519 \end_layout
23520
23521 \end_inset
23522
23523  package and is independent of the option 
23524 \family sans
23525 Two-
23526 \bar under
23527 c
23528 \bar default
23529 olumn document
23530 \family default
23531  in the 
23532 \family sans
23533 \bar under
23534 D
23535 \bar default
23536 ocument\SpecialChar menuseparator
23537
23538 \bar under
23539 S
23540 \bar default
23541 ettings\SpecialChar menuseparator
23542 Text
23543 \begin_inset space ~
23544 \end_inset
23545
23546 Layout
23547 \family default
23548  dialog.
23549  If you want to have two columns for the whole document,
23550  you are recommended to use the 
23551 \family sans
23552 Two-
23553 \bar under
23554 c
23555 \bar default
23556 olumn document
23557 \family default
23558  option.
23559  For all other cases use this module.
23560 \change_deleted 564990737 1672236008
23561 Multiple Text Columns
23562 \end_layout
23563
23564 \begin_layout Standard
23565
23566 \change_deleted 564990737 1672236008
23567 This feature is independent of the option 
23568 \family sans
23569 Two-column document
23570 \family default
23571  in the document settings under 
23572 \family sans
23573 Text Layout
23574 \family default
23575 .
23576  If you want to have 2
23577 \begin_inset space ~
23578 \end_inset
23579
23580 columns for the whole document,
23581  it is recommended to use the 
23582 \family sans
23583 Two-column document
23584 \family default
23585  option.
23586  For all other cases use this feature.
23587 \end_layout
23588
23589 \begin_layout Standard
23590
23591 \change_deleted 564990737 1672236008
23592 To use multiple text columns in your document,
23593  you have to load the module 
23594 \family sans
23595 Multiple Columns
23596 \family default
23597  (menu 
23598 \family sans
23599 Document\SpecialChar menuseparator
23600 Settings\SpecialChar menuseparator
23601 Modules
23602 \family default
23603 ) and must have the \SpecialChar LaTeX
23604 -package 
23605 \begin_inset Flex Code
23606 status collapsed
23607
23608 \begin_layout Plain Layout
23609 multicol
23610 \end_layout
23611
23612 \end_inset
23613
23614  installed.
23615 \change_unchanged
23616
23617 \end_layout
23618
23619 \begin_layout Standard
23620 Footnotes within multiple columns will be placed at the bottom of the page and not under each column.
23621  Within the different columns you can use everything,
23622  with the limitation that for floats you need to 
23623 \change_deleted 564990737 1672236179
23624 use the float option 
23625 \family sans
23626 Span columns
23627 \change_inserted 564990737 1672236179
23628
23629 \family default
23630 check the option 
23631 \family sans
23632 \bar under
23633 S
23634 \bar default
23635 pan
23636 \begin_inset space ~
23637 \end_inset
23638
23639 columns
23640 \family default
23641  in 
23642 \family sans
23643 \bar under
23644 E
23645 \bar default
23646 dit\SpecialChar menuseparator
23647 Flo
23648 \bar under
23649 a
23650 \bar default
23651 t
23652 \begin_inset space ~
23653 \end_inset
23654
23655 Settings
23656 \change_unchanged
23657
23658 \family default
23659 .
23660 \end_layout
23661
23662 \begin_layout Subsubsection
23663 Basics
23664 \end_layout
23665
23666 \begin_layout Standard
23667 If you want to have 
23668 \change_deleted -712698321 1674912320
23669 2
23670 \change_inserted -712698321 1674912321
23671 two
23672 \change_deleted -712698321 1674912322
23673
23674 \begin_inset space ~
23675 \end_inset
23676
23677
23678 \change_inserted -712698321 1674912322
23679  
23680 \change_unchanged
23681 columns in your text,
23682  insert a multicolumn inset via the menu 
23683 \family sans
23684 Insert\SpecialChar menuseparator
23685 Custom
23686 \begin_inset space ~
23687 \end_inset
23688
23689 Insets\SpecialChar menuseparator
23690 Multiple
23691 \begin_inset space ~
23692 \end_inset
23693
23694 Columns
23695 \family default
23696  where the columns should start.
23697  Write all text that should be printed in 2
23698 \begin_inset space ~
23699 \end_inset
23700
23701 columns into this inset.
23702 \end_layout
23703
23704 \begin_layout Standard
23705 Here is an example:
23706 \end_layout
23707
23708 \begin_layout Standard
23709 \noindent
23710 \begin_inset Flex Multiple Columns
23711 status open
23712
23713 \begin_layout Plain Layout
23714 \noindent
23715
23716 \series bold
23717 \size small
23718 The Adventure of the Empty House
23719 \series default
23720
23721 \begin_inset Newline newline
23722 \end_inset
23723
23724 by 
23725 \noun on
23726 Sir Arthur Conan Doyle
23727 \end_layout
23728
23729 \begin_layout Plain Layout
23730
23731 \size small
23732 It was in the spring of the year 1894 that all London was interested,
23733  and the fashionable world dismayed,
23734  by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
23735  The public has already learned those particulars of the crime which came out in the police investigation,
23736  but a good deal was suppressed upon that occasion,
23737  since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
23738  Only now,
23739  at the end of nearly ten years,
23740  am I allowed to supply those missing links which make up the whole of that remarkable chain.
23741  The crime was of interest in itself,
23742  but that interest was as nothing to me compared to the inconceivable sequel,
23743  which afforded me the greatest shock and surprise of any event in my adventurous life.
23744  Even now,
23745  after this long interval,
23746  I find myself thrilling as I think of it,
23747  and feeling once more that sudden flood of joy,
23748  amazement,
23749  and incredulity which utterly submerged my mind.
23750  Let me say to that public,
23751  which has shown some interest in those glimpses which I have occasionally given them of the thoughts and actions of a very remarkable man,
23752  that they are not to blame me if I have not shared my knowledge with them,
23753  for I should have considered it my first duty to do so,
23754  had I not been barred by a positive prohibition from his own lips,
23755  which was only withdrawn upon the third of last month.
23756 \end_layout
23757
23758 \end_inset
23759
23760
23761 \end_layout
23762
23763 \begin_layout Standard
23764 To get 3 or more columns,
23765  set the cursor into the multicolumn inset and use the menu 
23766 \family sans
23767 Insert\SpecialChar menuseparator
23768 Number
23769 \begin_inset space ~
23770 \end_inset
23771
23772 of
23773 \begin_inset space ~
23774 \end_inset
23775
23776 Columns
23777 \family default
23778 .
23779  The number of the desired columns is written into that inset (for 3
23780 \begin_inset space ~
23781 \end_inset
23782
23783 columns write 
23784 \begin_inset Quotes eld
23785 \end_inset
23786
23787 3
23788 \begin_inset Quotes erd
23789 \end_inset
23790
23791 ).
23792 \begin_inset Newline newline
23793 \end_inset
23794
23795 Here is an example with 3
23796 \begin_inset space ~
23797 \end_inset
23798
23799 columns:
23800 \end_layout
23801
23802 \begin_layout Standard
23803 \begin_inset Flex Multiple Columns
23804 status open
23805
23806 \begin_layout Plain Layout
23807
23808 \size footnotesize
23809 \begin_inset Argument 1
23810 status open
23811
23812 \begin_layout Plain Layout
23813
23814 3
23815 \end_layout
23816
23817 \end_inset
23818
23819 It can be imagined that my close intimacy with Sherlock Holmes had interested me deeply in crime,
23820  and that after his disappearance I never failed to read with care the various problems which came before the public.
23821  And I even attempted,
23822  more than once,
23823  for my own private satisfaction,
23824  to employ his methods in their solution,
23825  though with indifferent success.
23826  There was none,
23827  however,
23828  which appealed to me like this tragedy of Ronald Adair.
23829  As I read the evidence at the inquest,
23830  which led up to a verdict of willful murder against some person or persons unknown,
23831  I realized more clearly than I had ever done the loss which the community had sustained by the death of Sherlock Holmes.
23832  There were points about this strange business which would,
23833  I was sure,
23834  have specially appealed to him,
23835  and the efforts of the police would have been supplemented,
23836  or more probably anticipated,
23837  by the trained observation and the alert mind of the first criminal agent in Europe.
23838  All day,
23839  as I drove upon my round,
23840  I turned over the case in my mind and found no explanation which appeared to me to be adequate.
23841  At the risk of telling a twice-told tale,
23842  I will recapitulate the facts as they were known to the public at the conclusion of the inquest.
23843 \end_layout
23844
23845 \end_inset
23846
23847
23848 \end_layout
23849
23850 \begin_layout Standard
23851 You can have up to 10
23852 \begin_inset space ~
23853 \end_inset
23854
23855 columns if you want to,
23856  but that might not be very pleasant for the readers of your document.
23857 \end_layout
23858
23859 \begin_layout Standard
23860
23861 \change_deleted 564990737 1672236245
23862 \begin_inset Newpage newpage
23863 \end_inset
23864
23865
23866 \change_unchanged
23867
23868 \end_layout
23869
23870 \begin_layout Subsubsection
23871 Columns inside Columns
23872 \end_layout
23873
23874 \begin_layout Standard
23875 You can also have columns inside columns:
23876 \end_layout
23877
23878 \begin_layout Standard
23879 \begin_inset Flex Multiple Columns
23880 status open
23881
23882 \begin_layout Plain Layout
23883
23884 \size footnotesize
23885 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
23886  at that time governor of one of the Australian colonies.
23887  Adair's mother had returned from Australia to undergo the operation for cataract,
23888  and she,
23889  her son Ronald,
23890  and her daughter Hilda were living together at 427 Park Lane.
23891 \end_layout
23892
23893 \begin_layout Plain Layout
23894 \begin_inset Flex Multiple Columns
23895 status open
23896
23897 \begin_layout Plain Layout
23898
23899 \size footnotesize
23900 The youth moved in the best society
23901 \begin_inset space ~
23902 \end_inset
23903
23904 – had,
23905  so far as was known,
23906  no enemies and no particular vices.
23907  He had been engaged to Miss Edith Woodley,
23908  of Carstairs,
23909  but the engagement had been broken off by mutual consent some months before,
23910  and there was no sign that it had left any very profound feeling behind it.
23911  For the rest {sic} the man's life moved in a narrow and conventional circle,
23912  for his habits were quiet and his nature unemotional.
23913  Yet it was upon this easy-going young aristocrat that death came,
23914  in most strange and unexpected form,
23915  between the hours of ten and eleven-twenty on the night of March 30,
23916  1894.
23917 \end_layout
23918
23919 \end_inset
23920
23921
23922 \end_layout
23923
23924 \begin_layout Plain Layout
23925
23926 \size footnotesize
23927 Ronald Adair was fond of cards
23928 \begin_inset space ~
23929 \end_inset
23930
23931 – playing continually,
23932  but never for such stakes as would hurt him.
23933  He was a member of the Baldwin,
23934  the Cavendish,
23935  and the Bagatelle card clubs.
23936  It was shown that,
23937  after dinner on the day of his death,
23938  he had played a rubber of whist at the latter club.
23939  He had also played there in the afternoon.
23940
23941 \size default
23942  
23943 \size footnotesize
23944 The evidence of those who had played with him
23945 \begin_inset space ~
23946 \end_inset
23947
23948 – Mr.
23949  Murray,
23950  Sir John Hardy,
23951  and Colonel Moran
23952 \begin_inset space ~
23953 \end_inset
23954
23955 – showed that the game was whist,
23956  and that there was a fairly equal fall of the cards.
23957  Adair might have lost five pounds,
23958  but not more.
23959  His fortune was a considerable one,
23960  and such a loss could not in any way affect him.
23961  He had played nearly every day at one club or other,
23962  but he was a cautious player,
23963  and usually rose a winner.
23964  It came out in evidence that,
23965  in partnership with Colonel Moran,
23966  he had actually won as much as four hundred and twenty pounds in a sitting,
23967  some weeks before,
23968  from Godfrey Milner and Lord Balmoral.
23969  So much for his recent history as it came out at the inquest.
23970 \end_layout
23971
23972 \end_inset
23973
23974
23975 \end_layout
23976
23977 \begin_layout Subsubsection
23978 Advanced Examples
23979 \end_layout
23980
23981 \begin_layout Standard
23982 The examples in this section show some more special features of multiple columns.
23983 \end_layout
23984
23985 \begin_layout Standard
23986 For more features of multiple columns,
23987  have a look at the 
23988 \begin_inset CommandInset href
23989 LatexCommand href
23990 name "documentation"
23991 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
23992 literal "false"
23993
23994 \end_inset
23995
23996  of the \SpecialChar LaTeX
23997 -package 
23998 \begin_inset Flex Code
23999 status collapsed
24000
24001 \begin_layout Plain Layout
24002 multicol
24003 \end_layout
24004
24005 \end_inset
24006
24007 .
24008 \end_layout
24009
24010 \begin_layout Paragraph
24011 Preface
24012 \end_layout
24013
24014 \begin_layout Standard
24015 To add a preface text for multiple columns,
24016  set the cursor into the multicolumn inset and use the menu 
24017 \family sans
24018 Insert\SpecialChar menuseparator
24019 Preface
24020 \family default
24021 .
24022  Write your preface text into that inset.
24023 \begin_inset Newline newline
24024 \end_inset
24025
24026 This is an example with some preface text:
24027 \end_layout
24028
24029 \begin_layout Standard
24030 \begin_inset VSpace bigskip
24031 \end_inset
24032
24033
24034 \end_layout
24035
24036 \begin_layout Standard
24037 \begin_inset Flex Multiple Columns
24038 status open
24039
24040 \begin_layout Plain Layout
24041 \begin_inset Argument 2
24042 status open
24043
24044 \begin_layout Plain Layout
24045 And the story continues and continues and continues and continues\SpecialChar ldots
24046
24047 \end_layout
24048
24049 \end_inset
24050
24051
24052 \size small
24053 On the evening of the crime,
24054  he returned from the club exactly at ten.
24055  His mother and sister were out spending the evening with a relation.
24056  The servant deposed that she heard him enter the front room on the second floor,
24057  generally used as his sitting-room.
24058  She had lit a fire there,
24059  and as it smoked she had opened the window.
24060  No sound was heard from the room until eleven-twenty,
24061  the hour of the return of Lady Maynooth and her daughter.
24062  Desiring to say good-night,
24063  she attempted to enter her son's room.
24064  The door was locked on the inside,
24065  and no answer could be got to their cries and knocking.
24066  Help was obtained,
24067  and the door forced.
24068  The unfortunate young man was found lying near the table.
24069  His head had been horribly mutilated by an expanding revolver bullet,
24070  but no weapon of any sort was to be found in the room.
24071 \end_layout
24072
24073 \end_inset
24074
24075
24076 \end_layout
24077
24078 \begin_layout Standard
24079 You can also use a section heading as the preface if you use a section command as \SpecialChar TeX
24080  Code.
24081  For example the command
24082 \end_layout
24083
24084 \begin_layout LyX-Code
24085
24086 \backslash
24087 subsection{subsection title}
24088 \end_layout
24089
24090 \begin_layout Standard
24091 creates a subsection.
24092  In this example the preface is a subsubsection:
24093 \end_layout
24094
24095 \begin_layout Standard
24096 \begin_inset Flex Multiple Columns
24097 status open
24098
24099 \begin_layout Plain Layout
24100 \begin_inset Argument 2
24101 status open
24102
24103 \begin_layout Plain Layout
24104 \begin_inset ERT
24105 status collapsed
24106
24107 \begin_layout Plain Layout
24108
24109
24110 \backslash
24111 subsubsection{
24112 \end_layout
24113
24114 \end_inset
24115
24116 This is a subsubsection heading as a preface
24117 \begin_inset ERT
24118 status collapsed
24119
24120 \begin_layout Plain Layout
24121
24122 }
24123 \end_layout
24124
24125 \end_inset
24126
24127
24128 \end_layout
24129
24130 \end_inset
24131
24132
24133 \size small
24134 A minute examination of the circumstances served only to make the case more complex.
24135  In the first place,
24136  no reason could be given why the young man should have fastened the door upon the inside.
24137  There was the possibility that the murderer had done this,
24138  and had afterwards escaped by the window.
24139  The drop was at least twenty feet,
24140  however,
24141  and a bed of crocuses in full bloom lay beneath.
24142  Neither the flowers nor the earth showed any sign of having been disturbed,
24143  nor were there any marks upon the narrow strip of grass which separated the house from the road.
24144  Apparently,
24145  therefore,
24146  it was the young man himself who had fastened the door.
24147  But how did he come by his death?
24148  No one could have climbed up to the window without leaving traces.
24149  Suppose a man had fired through the window,
24150  he would indeed be a remarkable shot who could with a revolver inflict so deadly a wound.
24151  Again,
24152  Park Lane is a frequented thoroughfare;
24153  there is a cab stand within a hundred yards of the house.
24154  No one had heard a shot.
24155 \end_layout
24156
24157 \end_inset
24158
24159
24160 \end_layout
24161
24162 \begin_layout Standard
24163 If there is less vertical space than 
24164 \change_deleted -712698321 1674913194
24165 6
24166 \begin_inset space ~
24167 \end_inset
24168
24169
24170 \change_inserted -712698321 1674913195
24171 six 
24172 \change_unchanged
24173 text lines is left on the page at the beginning of the multiple columns,
24174  a page break will be inserted before the multiple columns.
24175  Depending on the number of lines of the preface text,
24176  you might want to change this space.
24177  This is done by setting the cursor into the mulitcolumn inset behind the preface (if there is any) and using the menu 
24178 \family sans
24179 Insert\SpecialChar menuseparator
24180 Space
24181 \begin_inset space ~
24182 \end_inset
24183
24184 Before
24185 \begin_inset space ~
24186 \end_inset
24187
24188 Page
24189 \begin_inset space ~
24190 \end_inset
24191
24192 Break
24193 \family default
24194 .
24195  Insert into that inset the amount of space like e.
24196 \begin_inset space \thinspace{}
24197 \end_inset
24198
24199 g.
24200 \begin_inset space \space{}
24201 \end_inset
24202
24203
24204 \begin_inset Quotes eld
24205 \end_inset
24206
24207 5cm
24208 \begin_inset Quotes erd
24209 \end_inset
24210
24211 .
24212 \begin_inset Newline newline
24213 \end_inset
24214
24215 In this example the space is set to 7
24216 \begin_inset space ~
24217 \end_inset
24218
24219 text lines by using 
24220 \begin_inset Flex Code
24221 status collapsed
24222
24223 \begin_layout Plain Layout
24224 7
24225 \backslash
24226 baselineskip
24227 \end_layout
24228
24229 \end_inset
24230
24231  (where the command 
24232 \begin_inset Flex Code
24233 status collapsed
24234
24235 \begin_layout Plain Layout
24236
24237 \backslash
24238 baselineskip
24239 \end_layout
24240
24241 \end_inset
24242
24243  needs to be inserted as \SpecialChar TeX
24244  code):
24245 \end_layout
24246
24247 \begin_layout Standard
24248 \begin_inset Flex Multiple Columns
24249 status open
24250
24251 \begin_layout Plain Layout
24252 \begin_inset Argument 3
24253 status open
24254
24255 \begin_layout Plain Layout
24256 7
24257 \begin_inset ERT
24258 status collapsed
24259
24260 \begin_layout Plain Layout
24261
24262
24263 \backslash
24264 baselineskip
24265 \end_layout
24266
24267 \end_inset
24268
24269
24270 \end_layout
24271
24272 \end_inset
24273
24274
24275 \size small
24276 On the evening of the crime,
24277  he returned from the club exactly at ten.
24278  His mother and sister were out spending the evening with a relation.
24279  The servant deposed that she heard him enter the front room on the second floor,
24280  generally used as his sitting-room.
24281  She had lit a fire there,
24282  and as it smoked she had opened the window.
24283  No sound was heard from the room until eleven-twenty,
24284  the hour of the return of Lady Maynooth and her daughter.
24285  Desiring to say good-night,
24286  she attempted to enter her son's room.
24287  The door was locked on the inside,
24288  and no answer could be got to their cries and knocking.
24289  Help was obtained,
24290  and the door forced.
24291  The unfortunate young man was found lying near the table.
24292  His head had been horribly mutilated by an expanding revolver bullet,
24293  but no weapon of any sort was to be found in the room.
24294 \end_layout
24295
24296 \end_inset
24297
24298
24299 \end_layout
24300
24301 \begin_layout Paragraph
24302 Surrounding Space
24303 \end_layout
24304
24305 \begin_layout Standard
24306 The amount of space before and after multiple columns can be changed by changing the length 
24307 \begin_inset Flex Code
24308 status collapsed
24309
24310 \begin_layout Plain Layout
24311
24312 \backslash
24313 multicolsep
24314 \end_layout
24315
24316 \end_inset
24317
24318 .
24319  For example the command
24320 \end_layout
24321
24322 \begin_layout LyX-Code
24323
24324 \backslash
24325 setlength{
24326 \backslash
24327 multicolsep}{3cm}
24328 \end_layout
24329
24330 \begin_layout Standard
24331 in \SpecialChar TeX
24332  Code changes its value to 3
24333 \begin_inset space \thinspace{}
24334 \end_inset
24335
24336 cm.
24337  The change must be made before the multiple columns' start.
24338  The predefined value is 13
24339 \begin_inset space \thinspace{}
24340 \end_inset
24341
24342 pt.
24343 \end_layout
24344
24345 \begin_layout Standard
24346 For this example 
24347 \begin_inset Flex Code
24348 status collapsed
24349
24350 \begin_layout Plain Layout
24351
24352 \backslash
24353 multicolsep
24354 \end_layout
24355
24356 \end_inset
24357
24358  was set to 2.5
24359 \begin_inset space \thinspace{}
24360 \end_inset
24361
24362 cm:
24363 \end_layout
24364
24365 \begin_layout Standard
24366 \begin_inset ERT
24367 status open
24368
24369 \begin_layout Plain Layout
24370
24371
24372 \backslash
24373 setlength{
24374 \backslash
24375 multicolsep}{2.5cm}
24376 \end_layout
24377
24378 \end_inset
24379
24380
24381 \end_layout
24382
24383 \begin_layout Standard
24384 \begin_inset Flex Multiple Columns
24385 status open
24386
24387 \begin_layout Plain Layout
24388
24389 \size small
24390 All day I turned these facts over in my mind,
24391  endeavouring to hit upon some theory which could reconcile them all,
24392  and to find that line of least resistance which my poor friend had declared to be the starting-point of every investigation.
24393  I confess that I made little progress.
24394  In the evening I strolled across the Park,
24395  and found myself about six o'clock at the Oxford Street end of Park Lane.
24396  A group of loafers upon the pavements,
24397  all staring up at a particular window,
24398  directed me to the house which I had come to see.
24399  A tall,
24400  thin man with coloured glasses,
24401  whom I strongly suspected of being a plain-clothes detective,
24402  was pointing out some theory of his own,
24403  while the others crowded round to listen to what he said.
24404  I got as near him as I could,
24405  but his observations seemed to me to be absurd,
24406  so I withdrew again in some disgust.
24407  As I did so I struck against an elderly,
24408  deformed man,
24409  who had been behind me,
24410  and I knocked down several books which he was carrying.
24411 \end_layout
24412
24413 \end_inset
24414
24415
24416 \end_layout
24417
24418 \begin_layout Standard
24419 \begin_inset Note Greyedout
24420 status open
24421
24422 \begin_layout Plain Layout
24423
24424 \series bold
24425 Note:
24426
24427 \series default
24428  The values you set with 
24429 \begin_inset Flex Code
24430 status collapsed
24431
24432 \begin_layout Plain Layout
24433
24434 \backslash
24435 setlength
24436 \end_layout
24437
24438 \end_inset
24439
24440  will be used for all following multiple columns until you change them again.
24441 \end_layout
24442
24443 \end_inset
24444
24445
24446 \end_layout
24447
24448 \begin_layout Standard
24449 \begin_inset ERT
24450 status collapsed
24451
24452 \begin_layout Plain Layout
24453
24454
24455 \backslash
24456 setlength{
24457 \backslash
24458 multicolsep}{13pt}
24459 \end_layout
24460
24461 \end_inset
24462
24463
24464 \begin_inset Note Note
24465 status collapsed
24466
24467 \begin_layout Plain Layout
24468 go back to the default
24469 \end_layout
24470
24471 \end_inset
24472
24473
24474 \end_layout
24475
24476 \begin_layout Standard
24477
24478 \change_deleted 564990737 1672236355
24479 \begin_inset Newpage newpage
24480 \end_inset
24481
24482
24483 \change_unchanged
24484
24485 \end_layout
24486
24487 \begin_layout Paragraph
24488 Column Breaks
24489 \end_layout
24490
24491 \begin_layout Standard
24492 A column break can be forced by inserting the command 
24493 \begin_inset Flex Code
24494 status collapsed
24495
24496 \begin_layout Plain Layout
24497
24498 \backslash
24499 columnbreak{}
24500 \end_layout
24501
24502 \end_inset
24503
24504  as \SpecialChar TeX
24505  Code to that position in the text where the column should be broken.
24506  Note that this leads in most cases to whitespace in the text.
24507 \begin_inset Newline newline
24508 \end_inset
24509
24510 Here is an example:
24511 \end_layout
24512
24513 \begin_layout Standard
24514 \begin_inset Flex Multiple Columns
24515 status open
24516
24517 \begin_layout Plain Layout
24518
24519 \size small
24520 \begin_inset Quotes eld
24521 \end_inset
24522
24523 You're surprised to see me,
24524  sir,
24525 \begin_inset Quotes erd
24526 \end_inset
24527
24528  said he,
24529  in a strange,
24530  croaking voice.
24531 \end_layout
24532
24533 \begin_layout Plain Layout
24534
24535 \size small
24536 I acknowledged that I was.
24537 \end_layout
24538
24539 \begin_layout Plain Layout
24540
24541 \size small
24542 \begin_inset Quotes eld
24543 \end_inset
24544
24545 Well,
24546  I've a conscience,
24547  sir,
24548  and when I chanced to see you go into this house,
24549  as I came hobbling after you,
24550  I thought to myself,
24551  I'll just step in and see that kind gentleman,
24552  and tell him that if I was a bit gruff in my manner there was not any harm meant,
24553  and that I am much obliged to him for picking up my books.
24554 \begin_inset Quotes erd
24555 \end_inset
24556
24557
24558 \end_layout
24559
24560 \begin_layout Plain Layout
24561
24562 \size small
24563 \begin_inset Quotes eld
24564 \end_inset
24565
24566 You make too much of a trifle,
24567 \begin_inset Quotes erd
24568 \end_inset
24569
24570  said I.
24571  
24572 \begin_inset Quotes eld
24573 \end_inset
24574
24575 May I ask how you knew who I was?
24576 \begin_inset Quotes erd
24577 \end_inset
24578
24579  AFTER THIS SENTENCE THE COLUMN BREAK IS FORCED.
24580 \begin_inset ERT
24581 status collapsed
24582
24583 \begin_layout Plain Layout
24584
24585
24586 \backslash
24587 columnbreak{}
24588 \end_layout
24589
24590 \end_inset
24591
24592
24593 \end_layout
24594
24595 \begin_layout Plain Layout
24596
24597 \size small
24598 \begin_inset Quotes eld
24599 \end_inset
24600
24601 Well,
24602  sir,
24603  if it isn't too great a liberty,
24604  I am a neighbour of yours,
24605  for you'll find my little bookshop at the corner of Church Street,
24606  and very happy to see you,
24607  I am sure.
24608  Maybe you collect yourself,
24609  sir.
24610  Here's 
24611 \noun on
24612 British
24613 \begin_inset space ~
24614 \end_inset
24615
24616 Birds
24617 \noun default
24618 ,
24619  and 
24620 \noun on
24621 Catullus
24622 \noun default
24623 ,
24624  and 
24625 \noun on
24626 The Holy War
24627 \noun default
24628
24629 \begin_inset space ~
24630 \end_inset
24631
24632 – a bargain,
24633  every one of them.
24634  With five volumes you could just fill that gap on that second shelf.
24635  It looks untidy,
24636  does it not,
24637  sir?
24638 \begin_inset Quotes erd
24639 \end_inset
24640
24641
24642 \end_layout
24643
24644 \end_inset
24645
24646
24647 \end_layout
24648
24649 \begin_layout Paragraph
24650 Column Separation
24651 \end_layout
24652
24653 \begin_layout Standard
24654 The width of the columns is automatically calculated,
24655  but you can modify the space between the columns.
24656  This is done by changing the length 
24657 \begin_inset Flex Code
24658 status collapsed
24659
24660 \begin_layout Plain Layout
24661
24662 \backslash
24663 columnsep
24664 \end_layout
24665
24666 \end_inset
24667
24668 .
24669  Its predefined value is 10
24670 \begin_inset space \thinspace{}
24671 \end_inset
24672
24673 pt.
24674  Here is an example where 
24675 \begin_inset Flex Code
24676 status collapsed
24677
24678 \begin_layout Plain Layout
24679
24680 \backslash
24681 columnsep
24682 \end_layout
24683
24684 \end_inset
24685
24686  is set to 3
24687 \begin_inset space \thinspace{}
24688 \end_inset
24689
24690 cm:
24691 \end_layout
24692
24693 \begin_layout Standard
24694 \begin_inset ERT
24695 status open
24696
24697 \begin_layout Plain Layout
24698
24699
24700 \backslash
24701 setlength{
24702 \backslash
24703 columnsep}{3cm}
24704 \end_layout
24705
24706 \end_inset
24707
24708
24709 \end_layout
24710
24711 \begin_layout Standard
24712 \begin_inset Flex Multiple Columns
24713 status open
24714
24715 \begin_layout Plain Layout
24716
24717 \size small
24718 My observations of No.
24719 \begin_inset space \space{}
24720 \end_inset
24721
24722 427 Park Lane did little to clear up the problem in which I was interested.
24723  The house was separated from the street by a low wall and railing,
24724  the whole not more than five feet high.
24725  It was perfectly easy,
24726  therefore,
24727  for anyone to get into the garden,
24728  but the window was entirely inaccessible,
24729  since there was no water pipe or anything which could help the most active man to climb it.
24730  More puzzled than ever,
24731  I retraced my steps to Kensington.
24732  I had not been in my study five minutes when the maid entered to say that a person desired to see me.
24733  To my astonishment it was none other than my strange old book collector,
24734  his sharp,
24735  wizened face peering out from a frame of white hair,
24736  and his precious volumes,
24737  a dozen of them at least,
24738  wedged under his right arm.
24739 \end_layout
24740
24741 \end_inset
24742
24743
24744 \end_layout
24745
24746 \begin_layout Standard
24747 \begin_inset ERT
24748 status collapsed
24749
24750 \begin_layout Plain Layout
24751
24752
24753 \backslash
24754 setlength{
24755 \backslash
24756 columnsep}{10pt}
24757 \end_layout
24758
24759 \end_inset
24760
24761
24762 \begin_inset Note Note
24763 status collapsed
24764
24765 \begin_layout Plain Layout
24766 go back to the default
24767 \end_layout
24768
24769 \end_inset
24770
24771
24772 \end_layout
24773
24774 \begin_layout Paragraph
24775 Vertical Lines
24776 \end_layout
24777
24778 \begin_layout Standard
24779 Between the columns a rule with a width of the length 
24780 \begin_inset Flex Code
24781 status collapsed
24782
24783 \begin_layout Plain Layout
24784
24785 \backslash
24786 columnseprule
24787 \end_layout
24788
24789 \end_inset
24790
24791  is placed.
24792  If this rule width is set to 0
24793 \begin_inset space \thinspace{}
24794 \end_inset
24795
24796 pt (this is the default),
24797  the rule is suppressed.
24798  In the following example the rule is 2
24799 \begin_inset space \thinspace{}
24800 \end_inset
24801
24802 pt wide:
24803 \end_layout
24804
24805 \begin_layout Standard
24806 \begin_inset ERT
24807 status open
24808
24809 \begin_layout Plain Layout
24810
24811
24812 \backslash
24813 setlength{
24814 \backslash
24815 columnseprule}{2pt}
24816 \end_layout
24817
24818 \end_inset
24819
24820
24821 \end_layout
24822
24823 \begin_layout Standard
24824 \begin_inset Flex Multiple Columns
24825 status open
24826
24827 \begin_layout Plain Layout
24828
24829 \size small
24830 \begin_inset Quotes eld
24831 \end_inset
24832
24833 You're surprised to see me,
24834  sir,
24835 \begin_inset Quotes erd
24836 \end_inset
24837
24838  said he,
24839  in a strange,
24840  croaking voice.
24841 \end_layout
24842
24843 \begin_layout Plain Layout
24844
24845 \size small
24846 I acknowledged that I was.
24847 \end_layout
24848
24849 \begin_layout Plain Layout
24850
24851 \size small
24852 \begin_inset Quotes eld
24853 \end_inset
24854
24855 Well,
24856  I've a conscience,
24857  sir,
24858  and when I chanced to see you go into this house,
24859  as I came hobbling after you,
24860  I thought to myself,
24861  I'll just step in and see that kind gentleman,
24862  and tell him that if I was a bit gruff in my manner there was not any harm meant,
24863  and that I am much obliged to him for picking up my books.
24864 \begin_inset Quotes erd
24865 \end_inset
24866
24867
24868 \end_layout
24869
24870 \begin_layout Plain Layout
24871
24872 \size small
24873 \begin_inset Quotes eld
24874 \end_inset
24875
24876 You make too much of a trifle,
24877 \begin_inset Quotes erd
24878 \end_inset
24879
24880  said I.
24881  
24882 \begin_inset Quotes eld
24883 \end_inset
24884
24885 May I ask how you knew who I was?
24886 \begin_inset Quotes erd
24887 \end_inset
24888
24889
24890 \end_layout
24891
24892 \begin_layout Plain Layout
24893
24894 \size small
24895 \begin_inset Quotes eld
24896 \end_inset
24897
24898 Well,
24899  sir,
24900  if it isn't too great a liberty,
24901  I am a neighbour of yours,
24902  for you'll find my little bookshop at the corner of Church Street,
24903  and very happy to see you,
24904  I am sure.
24905  Maybe you collect yourself,
24906  sir.
24907  Here's 
24908 \noun on
24909 British
24910 \begin_inset space ~
24911 \end_inset
24912
24913 Birds
24914 \noun default
24915 ,
24916  and 
24917 \noun on
24918 Catullus
24919 \noun default
24920 ,
24921  and 
24922 \noun on
24923 The Holy War
24924 \noun default
24925
24926 \begin_inset space ~
24927 \end_inset
24928
24929 – a bargain,
24930  every one of them.
24931  With five volumes you could just fill that gap on that second shelf.
24932  It looks untidy,
24933  does it not,
24934  sir?
24935 \begin_inset Quotes erd
24936 \end_inset
24937
24938
24939 \end_layout
24940
24941 \end_inset
24942
24943
24944 \end_layout
24945
24946 \begin_layout Standard
24947 \begin_inset VSpace defskip
24948 \end_inset
24949
24950
24951 \end_layout
24952
24953 \begin_layout Standard
24954 The rule can be colored by redefining the command 
24955 \begin_inset Flex Code
24956 status collapsed
24957
24958 \begin_layout Plain Layout
24959
24960 \backslash
24961 columnseprulecolor
24962 \end_layout
24963
24964 \end_inset
24965
24966 .
24967  This is done by inserting the command
24968 \end_layout
24969
24970 \begin_layout LyX-Code
24971
24972 \backslash
24973 renewcommand{
24974 \backslash
24975 columnseprulecolor}{
24976 \backslash
24977 color{red}}
24978 \end_layout
24979
24980 \begin_layout Standard
24981 as \SpecialChar TeX
24982  Code before the multicolumn inset.
24983  Replace 
24984 \begin_inset Flex Code
24985 status collapsed
24986
24987 \begin_layout Plain Layout
24988 red
24989 \end_layout
24990
24991 \end_inset
24992
24993  in this command by a color of your choice.
24994  You can use all pre- and self-defined colors.
24995  See the 
24996 \emph on
24997 EmbeddedObjects
24998 \emph default
24999  manual,
25000  section 
25001 \emph on
25002 Colored
25003 \begin_inset space ~
25004 \end_inset
25005
25006 Tables
25007 \emph default
25008  for more information about pre- and self-defined colors.
25009  To go back to the default color insert the command
25010 \end_layout
25011
25012 \begin_layout LyX-Code
25013
25014 \backslash
25015 renewcommand{
25016 \backslash
25017 columnseprulecolor}{
25018 \backslash
25019 normalcolor}
25020 \end_layout
25021
25022 \begin_layout Standard
25023 Here is the example with a cyan rule and 1
25024 \begin_inset space \thinspace{}
25025 \end_inset
25026
25027 cm column separation:
25028 \end_layout
25029
25030 \begin_layout Standard
25031 \begin_inset ERT
25032 status open
25033
25034 \begin_layout Plain Layout
25035
25036
25037 \backslash
25038 setlength{
25039 \backslash
25040 columnsep}{1cm}
25041 \end_layout
25042
25043 \begin_layout Plain Layout
25044
25045
25046 \backslash
25047 renewcommand{
25048 \backslash
25049 columnseprulecolor}{
25050 \backslash
25051 color{cyan}}
25052 \end_layout
25053
25054 \end_inset
25055
25056
25057 \end_layout
25058
25059 \begin_layout Standard
25060 \begin_inset Flex Multiple Columns
25061 status open
25062
25063 \begin_layout Plain Layout
25064
25065 \size small
25066 \begin_inset Quotes eld
25067 \end_inset
25068
25069 You're surprised to see me,
25070  sir,
25071 \begin_inset Quotes erd
25072 \end_inset
25073
25074  said he,
25075  in a strange,
25076  croaking voice.
25077 \end_layout
25078
25079 \begin_layout Plain Layout
25080
25081 \size small
25082 I acknowledged that I was.
25083 \end_layout
25084
25085 \begin_layout Plain Layout
25086
25087 \size small
25088 \begin_inset Quotes eld
25089 \end_inset
25090
25091 Well,
25092  I've a conscience,
25093  sir,
25094  and when I chanced to see you go into this house,
25095  as I came hobbling after you,
25096  I thought to myself,
25097  I'll just step in and see that kind gentleman,
25098  and tell him that if I was a bit gruff in my manner there was not any harm meant,
25099  and that I am much obliged to him for picking up my books.
25100 \begin_inset Quotes erd
25101 \end_inset
25102
25103
25104 \end_layout
25105
25106 \begin_layout Plain Layout
25107
25108 \size small
25109 \begin_inset Quotes eld
25110 \end_inset
25111
25112 You make too much of a trifle,
25113 \begin_inset Quotes erd
25114 \end_inset
25115
25116  said I.
25117  
25118 \begin_inset Quotes eld
25119 \end_inset
25120
25121 May I ask how you knew who I was?
25122 \begin_inset Quotes erd
25123 \end_inset
25124
25125
25126 \end_layout
25127
25128 \begin_layout Plain Layout
25129
25130 \size small
25131 \begin_inset Quotes eld
25132 \end_inset
25133
25134 Well,
25135  sir,
25136  if it isn't too great a liberty,
25137  I am a neighbour of yours,
25138  for you'll find my little bookshop at the corner of Church Street,
25139  and very happy to see you,
25140  I am sure.
25141  Maybe you collect yourself,
25142  sir.
25143  Here's 
25144 \noun on
25145 British
25146 \begin_inset space ~
25147 \end_inset
25148
25149 Birds
25150 \noun default
25151 ,
25152  and 
25153 \noun on
25154 Catullus
25155 \noun default
25156 ,
25157  and 
25158 \noun on
25159 The Holy War
25160 \noun default
25161
25162 \begin_inset space ~
25163 \end_inset
25164
25165 – a bargain,
25166  every one of them.
25167  With five volumes you could just fill that gap on that second shelf.
25168  It looks untidy,
25169  does it not,
25170  sir?
25171 \begin_inset Quotes erd
25172 \end_inset
25173
25174
25175 \end_layout
25176
25177 \end_inset
25178
25179
25180 \end_layout
25181
25182 \begin_layout Standard
25183 \begin_inset ERT
25184 status collapsed
25185
25186 \begin_layout Plain Layout
25187
25188
25189 \backslash
25190 setlength{
25191 \backslash
25192 columnseprule}{0pt}
25193 \end_layout
25194
25195 \begin_layout Plain Layout
25196
25197
25198 \backslash
25199 renewcommand{
25200 \backslash
25201 columnseprulecolor}{
25202 \backslash
25203 normalcolor}
25204 \end_layout
25205
25206 \end_inset
25207
25208
25209 \begin_inset Note Note
25210 status collapsed
25211
25212 \begin_layout Plain Layout
25213 go back to the default
25214 \end_layout
25215
25216 \end_inset
25217
25218
25219 \end_layout
25220
25221 \begin_layout Section
25222
25223 \change_inserted 564990737 1671270380
25224 Paragraph Styles
25225 \end_layout
25226
25227 \begin_layout Subsection
25228
25229 \change_inserted 564990737 1671270398
25230 Custom
25231 \change_deleted 564990737 1671270396
25232 Non-standard
25233 \change_unchanged
25234  Paragraph Shapes
25235 \end_layout
25236
25237 \begin_layout Standard
25238 \noindent
25239 \SpecialChar LaTeX
25240  as well as any other text processor uses by default rectangular paragraphs.
25241  For special cases like for example posters,
25242  invitation cards or poems you can modify the paragraph shape to one of your choice.
25243  
25244 \change_deleted 564990737 1672311802
25245 This can be done by using the \SpecialChar LaTeX
25246 -package 
25247 \begin_inset Flex Code
25248 status collapsed
25249
25250 \begin_layout Plain Layout
25251 shapepar
25252 \end_layout
25253
25254 \end_inset
25255
25256  which is loaded by using in the document settings the module 
25257 \family sans
25258 Custom paragraph shapes
25259 \family default
25260 .
25261 \change_inserted 564990737 1672311802
25262 This module uses the 
25263 \family sans
25264 shapepar
25265 \family default
25266  package to provide over a dozen paragraph shapes as well as commands to define custom shapes.
25267  
25268 \change_unchanged
25269
25270 \end_layout
25271
25272 \begin_layout Subsubsection
25273 Predefined shapes
25274 \end_layout
25275
25276 \begin_layout Standard
25277
25278 \change_inserted -712698321 1674913874
25279
25280 \series bold
25281 The 
25282 \change_unchanged
25283
25284 \family sans
25285 \series default
25286 shapepar
25287 \family default
25288  
25289 \change_inserted -712698321 1674913877
25290 package 
25291 \change_unchanged
25292 provides the following shapes:
25293 \end_layout
25294
25295 \begin_layout Standard
25296 \begin_inset Tabular
25297 <lyxtabular version="3" rows="13" columns="3">
25298 <features booktabs="true" islongtable="true" longtabularalignment="center">
25299 <column alignment="left" valignment="middle" width="16col%">
25300 <column alignment="left" valignment="middle" width="40col%">
25301 <column alignment="left" valignment="middle" width="35col%">
25302 <row endhead="true">
25303 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25304 \begin_inset Text
25305
25306 \begin_layout Plain Layout
25307
25308 \series bold
25309 \size small
25310 Name
25311 \end_layout
25312
25313 \end_inset
25314 </cell>
25315 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25316 \begin_inset Text
25317
25318 \begin_layout Plain Layout
25319
25320 \series bold
25321 \size small
25322 Description
25323 \end_layout
25324
25325 \end_inset
25326 </cell>
25327 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25328 \begin_inset Text
25329
25330 \begin_layout Plain Layout
25331
25332 \series bold
25333 \size small
25334 Annotation
25335 \end_layout
25336
25337 \end_inset
25338 </cell>
25339 </row>
25340 <row interlinespace="default">
25341 <cell alignment="left" valignment="top" usebox="none">
25342 \begin_inset Text
25343
25344 \begin_layout Plain Layout
25345
25346 \size small
25347 CDlabel
25348 \end_layout
25349
25350 \end_inset
25351 </cell>
25352 <cell alignment="left" valignment="top" usebox="none">
25353 \begin_inset Text
25354
25355 \begin_layout Plain Layout
25356
25357 \size small
25358 Circle with circular hole (in the size of a CD/DVD)
25359 \end_layout
25360
25361 \end_inset
25362 </cell>
25363 <cell alignment="left" valignment="top" usebox="none">
25364 \begin_inset Text
25365
25366 \begin_layout Plain Layout
25367
25368 \size small
25369 Cannot be scaled,
25370  take care there is not too much text
25371 \end_layout
25372
25373 \end_inset
25374 </cell>
25375 </row>
25376 <row interlinespace="default">
25377 <cell alignment="left" valignment="top" usebox="none">
25378 \begin_inset Text
25379
25380 \begin_layout Plain Layout
25381
25382 \size small
25383 Circle
25384 \end_layout
25385
25386 \end_inset
25387 </cell>
25388 <cell alignment="left" valignment="top" usebox="none">
25389 \begin_inset Text
25390
25391 \begin_layout Plain Layout
25392
25393 \size small
25394 Circle
25395 \end_layout
25396
25397 \end_inset
25398 </cell>
25399 <cell alignment="left" valignment="top" usebox="none">
25400 \begin_inset Text
25401
25402 \begin_layout Plain Layout
25403
25404 \size small
25405 Fragile,
25406  calculation might fail
25407 \end_layout
25408
25409 \end_inset
25410 </cell>
25411 </row>
25412 <row interlinespace="default">
25413 <cell alignment="left" valignment="top" usebox="none">
25414 \begin_inset Text
25415
25416 \begin_layout Plain Layout
25417
25418 \size small
25419 Diamond
25420 \end_layout
25421
25422 \end_inset
25423 </cell>
25424 <cell alignment="left" valignment="top" usebox="none">
25425 \begin_inset Text
25426
25427 \begin_layout Plain Layout
25428
25429 \size small
25430 Rhomboid (symbolizing a 
25431 \begin_inset Quotes eld
25432 \end_inset
25433
25434 diamond
25435 \begin_inset Quotes erd
25436 \end_inset
25437
25438 )
25439 \end_layout
25440
25441 \end_inset
25442 </cell>
25443 <cell alignment="left" valignment="top" usebox="none">
25444 \begin_inset Text
25445
25446 \begin_layout Plain Layout
25447
25448 \size small
25449 -
25450 \end_layout
25451
25452 \end_inset
25453 </cell>
25454 </row>
25455 <row interlinespace="default">
25456 <cell alignment="left" valignment="top" usebox="none">
25457 \begin_inset Text
25458
25459 \begin_layout Plain Layout
25460
25461 \size small
25462 Heart
25463 \end_layout
25464
25465 \end_inset
25466 </cell>
25467 <cell alignment="left" valignment="top" usebox="none">
25468 \begin_inset Text
25469
25470 \begin_layout Plain Layout
25471
25472 \size small
25473 Heart-like shape
25474 \end_layout
25475
25476 \end_inset
25477 </cell>
25478 <cell alignment="left" valignment="top" usebox="none">
25479 \begin_inset Text
25480
25481 \begin_layout Plain Layout
25482
25483 \size small
25484 -
25485 \end_layout
25486
25487 \end_inset
25488 </cell>
25489 </row>
25490 <row interlinespace="default">
25491 <cell alignment="left" valignment="top" usebox="none">
25492 \begin_inset Text
25493
25494 \begin_layout Plain Layout
25495
25496 \size small
25497 Hexagon
25498 \end_layout
25499
25500 \end_inset
25501 </cell>
25502 <cell alignment="left" valignment="top" usebox="none">
25503 \begin_inset Text
25504
25505 \begin_layout Plain Layout
25506
25507 \size small
25508 Hexagon
25509 \end_layout
25510
25511 \end_inset
25512 </cell>
25513 <cell alignment="left" valignment="top" usebox="none">
25514 \begin_inset Text
25515
25516 \begin_layout Plain Layout
25517
25518 \size small
25519 -
25520 \end_layout
25521
25522 \end_inset
25523 </cell>
25524 </row>
25525 <row interlinespace="default">
25526 <cell alignment="left" valignment="top" usebox="none">
25527 \begin_inset Text
25528
25529 \begin_layout Plain Layout
25530
25531 \size small
25532 Nut
25533 \end_layout
25534
25535 \end_inset
25536 </cell>
25537 <cell alignment="left" valignment="top" usebox="none">
25538 \begin_inset Text
25539
25540 \begin_layout Plain Layout
25541
25542 \size small
25543 Nut for bolt (hexagon with circular hole)
25544 \end_layout
25545
25546 \end_inset
25547 </cell>
25548 <cell alignment="left" valignment="top" usebox="none">
25549 \begin_inset Text
25550
25551 \begin_layout Plain Layout
25552
25553 \size small
25554 -
25555 \end_layout
25556
25557 \end_inset
25558 </cell>
25559 </row>
25560 <row interlinespace="default">
25561 <cell alignment="left" valignment="top" usebox="none">
25562 \begin_inset Text
25563
25564 \begin_layout Plain Layout
25565
25566 \size small
25567 Square
25568 \end_layout
25569
25570 \end_inset
25571 </cell>
25572 <cell alignment="left" valignment="top" usebox="none">
25573 \begin_inset Text
25574
25575 \begin_layout Plain Layout
25576
25577 \size small
25578 Square
25579 \end_layout
25580
25581 \end_inset
25582 </cell>
25583 <cell alignment="left" valignment="top" usebox="none">
25584 \begin_inset Text
25585
25586 \begin_layout Plain Layout
25587
25588 \size small
25589 -
25590 \end_layout
25591
25592 \end_inset
25593 </cell>
25594 </row>
25595 <row interlinespace="default">
25596 <cell alignment="left" valignment="top" usebox="none">
25597 \begin_inset Text
25598
25599 \begin_layout Plain Layout
25600
25601 \size small
25602 Star
25603 \end_layout
25604
25605 \end_inset
25606 </cell>
25607 <cell alignment="left" valignment="top" usebox="none">
25608 \begin_inset Text
25609
25610 \begin_layout Plain Layout
25611
25612 \size small
25613 Five-point star
25614 \end_layout
25615
25616 \end_inset
25617 </cell>
25618 <cell alignment="left" valignment="top" usebox="none">
25619 \begin_inset Text
25620
25621 \begin_layout Plain Layout
25622
25623 \size small
25624 -
25625 \end_layout
25626
25627 \end_inset
25628 </cell>
25629 </row>
25630 <row interlinespace="default">
25631 <cell alignment="left" valignment="top" usebox="none">
25632 \begin_inset Text
25633
25634 \begin_layout Plain Layout
25635
25636 \size small
25637 Candle
25638 \end_layout
25639
25640 \end_inset
25641 </cell>
25642 <cell alignment="left" valignment="top" usebox="none">
25643 \begin_inset Text
25644
25645 \begin_layout Plain Layout
25646
25647 \size small
25648 Burning candle
25649 \end_layout
25650
25651 \end_inset
25652 </cell>
25653 <cell alignment="left" valignment="top" usebox="none">
25654 \begin_inset Text
25655
25656 \begin_layout Plain Layout
25657
25658 \size small
25659 -
25660 \end_layout
25661
25662 \end_inset
25663 </cell>
25664 </row>
25665 <row interlinespace="default">
25666 <cell alignment="left" valignment="top" usebox="none">
25667 \begin_inset Text
25668
25669 \begin_layout Plain Layout
25670
25671 \size small
25672 Drop down/up
25673 \end_layout
25674
25675 \end_inset
25676 </cell>
25677 <cell alignment="left" valignment="top" usebox="none">
25678 \begin_inset Text
25679
25680 \begin_layout Plain Layout
25681
25682 \size small
25683 Normal/reversed rain drop
25684 \end_layout
25685
25686 \end_inset
25687 </cell>
25688 <cell alignment="left" valignment="top" usebox="none">
25689 \begin_inset Text
25690
25691 \begin_layout Plain Layout
25692
25693 \size small
25694 Fragile,
25695  calculation might fail
25696 \end_layout
25697
25698 \end_inset
25699 </cell>
25700 </row>
25701 <row interlinespace="default">
25702 <cell alignment="left" valignment="top" usebox="none">
25703 \begin_inset Text
25704
25705 \begin_layout Plain Layout
25706
25707 \size small
25708 \SpecialChar TeX
25709
25710 \end_layout
25711
25712 \end_inset
25713 </cell>
25714 <cell alignment="left" valignment="top" usebox="none">
25715 \begin_inset Text
25716
25717 \begin_layout Plain Layout
25718
25719 \size small
25720 The \SpecialChar TeX
25721  logo
25722 \end_layout
25723
25724 \end_inset
25725 </cell>
25726 <cell alignment="left" valignment="top" usebox="none">
25727 \begin_inset Text
25728
25729 \begin_layout Plain Layout
25730
25731 \size small
25732 -
25733 \end_layout
25734
25735 \end_inset
25736 </cell>
25737 </row>
25738 <row interlinespace="default">
25739 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25740 \begin_inset Text
25741
25742 \begin_layout Plain Layout
25743
25744 \size small
25745 Triangle up/down/
25746 \begin_inset Newline newline
25747 \end_inset
25748
25749 left/right
25750 \end_layout
25751
25752 \end_inset
25753 </cell>
25754 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25755 \begin_inset Text
25756
25757 \begin_layout Plain Layout
25758
25759 \size small
25760 Triangles in different orientations
25761 \end_layout
25762
25763 \end_inset
25764 </cell>
25765 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25766 \begin_inset Text
25767
25768 \begin_layout Plain Layout
25769
25770 \size small
25771 -
25772 \end_layout
25773
25774 \end_inset
25775 </cell>
25776 </row>
25777 </lyxtabular>
25778
25779 \end_inset
25780
25781
25782 \end_layout
25783
25784 \begin_layout Standard
25785 To use a shape for your paragraph,
25786  simply select it in \SpecialChar LyX
25787 's pull-down box for environments in the toolbar.
25788 \end_layout
25789
25790 \begin_layout Standard
25791 \begin_inset Newpage newpage
25792 \end_inset
25793
25794
25795 \end_layout
25796
25797 \begin_layout Standard
25798 Here is an example paragraph in the shape of a nut:
25799 \end_layout
25800
25801 \begin_layout Standard
25802 \begin_inset VSpace bigskip
25803 \end_inset
25804
25805
25806 \end_layout
25807
25808 \begin_layout Nut
25809
25810 \lang latin
25811 Lorem ipsum dolor sit amet,
25812  consetetur sadipscing elitr,
25813  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25814  sed diam voluptua.
25815  At vero eos et accusam et justo duo dolores et ea rebum.
25816  Stet clita kasd gubergren,
25817  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25818  Lorem ipsum dolor sit amet,
25819  consetetur sadipscing elitr,
25820  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25821  sed diam voluptua.
25822 \end_layout
25823
25824 \begin_layout Standard
25825 \begin_inset VSpace bigskip
25826 \end_inset
25827
25828
25829 \end_layout
25830
25831 \begin_layout Standard
25832 \begin_inset Note Greyedout
25833 status open
25834
25835 \begin_layout Plain Layout
25836
25837 \series bold
25838 Note
25839 \series default
25840 :
25841  
25842 \family sans
25843 shapepar
25844 \family default
25845  paragraphs cannot run over a page break.
25846 \end_layout
25847
25848 \end_inset
25849
25850
25851 \end_layout
25852
25853 \begin_layout Standard
25854 \begin_inset VSpace bigskip
25855 \end_inset
25856
25857
25858 \end_layout
25859
25860 \begin_layout Standard
25861 The package 
25862 \begin_inset Flex Code
25863 status collapsed
25864
25865 \begin_layout Plain Layout
25866 shapepar
25867 \end_layout
25868
25869 \end_inset
25870
25871  takes care that the shape will always be preserved,
25872  no matter how much text is in the paragraph.
25873  Therefore the paragraph size changes with the amount of contained text.
25874  This can lead to paragraph sizes exceeding the page margins.
25875  To demonstrate the size scaling,
25876  here is the same example paragraph but with twice as much text:
25877 \end_layout
25878
25879 \begin_layout Standard
25880 \begin_inset Newpage newpage
25881 \end_inset
25882
25883
25884 \end_layout
25885
25886 \begin_layout Nut
25887
25888 \lang latin
25889 Lorem ipsum dolor sit amet,
25890  consetetur sadipscing elitr,
25891  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25892  sed diam voluptua.
25893  At vero eos et accusam et justo duo dolores et ea rebum.
25894  Stet clita kasd gubergren,
25895  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25896  Lorem ipsum dolor sit amet,
25897  consetetur sadipscing elitr,
25898  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25899  sed diam voluptua.
25900  Lorem ipsum dolor sit amet,
25901  consetetur sadipscing elitr,
25902  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25903  sed diam voluptua.
25904  At vero eos et accusam et justo duo dolores et ea rebum.
25905  Stet clita kasd gubergren,
25906  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25907  Lorem ipsum dolor sit amet,
25908  consetetur sadipscing elitr,
25909  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25910  sed diam voluptua.
25911 \end_layout
25912
25913 \begin_layout Standard
25914 \begin_inset VSpace bigskip
25915 \end_inset
25916
25917
25918 \end_layout
25919
25920 \begin_layout Standard
25921 An exception is the shape 
25922 \family sans
25923 CDlabel
25924 \family default
25925 .
25926  It cannot be scaled because it must fit the size of a CD/DVD.
25927  Therefore the amount of text that fits into the shape is limited.
25928 \change_deleted -712698321 1674914001
25929
25930 \begin_inset Newline newline
25931 \end_inset
25932
25933
25934 \change_inserted -712698321 1674914001
25935
25936 \end_layout
25937
25938 \begin_layout Standard
25939 The 
25940 \family sans
25941 drop
25942 \family default
25943  shapes and the 
25944 \family sans
25945 circle
25946 \family default
25947  shape are fragile,
25948  meaning that the calculation of their size can fail,
25949  depending on the amount of text.
25950  You will then get the \SpecialChar LaTeX
25951  error 
25952 \begin_inset Quotes eld
25953 \end_inset
25954
25955 Arithmetic overflow
25956 \begin_inset Quotes erd
25957 \end_inset
25958
25959 .
25960  In this case one can try to remove or add some text;
25961  if nothing works one has to use another shape.
25962 \end_layout
25963
25964 \begin_layout Standard
25965
25966 \change_deleted -712698321 1674914021
25967 \begin_inset VSpace bigskip
25968 \end_inset
25969
25970
25971 \change_unchanged
25972
25973 \end_layout
25974
25975 \begin_layout Standard
25976 For shapes with tips you will maybe see that \SpecialChar LaTeX
25977 's hyphenation routine fails for text in the tips.
25978  Therefore it is often necessary to add hyphenation points 
25979 \family sans
25980 (
25981 \begin_inset Info
25982 type  "shortcut"
25983 arg   "specialchar-insert hyphenation"
25984 \end_inset
25985
25986
25987 \family default
25988 ) to the corresponding text parts.
25989 \end_layout
25990
25991 \begin_layout Standard
25992
25993 \change_deleted -712698321 1674914022
25994 \begin_inset VSpace bigskip
25995 \end_inset
25996
25997
25998 \change_unchanged
25999
26000 \end_layout
26001
26002 \begin_layout Standard
26003 Shapepar paragraphs are either always centered or placed on the page so that their left border touches the left page margin.
26004  You can therefore not use the paragraph dialog to align such paragraphs.
26005  A solution is to put the paragraph into a minipage or parbox and align the box.
26006  The problem is hereby to find the right width for the box.
26007  Because if it is too wide and you center the box,
26008  the paragraph is not centered too because it sticks at the left side of the box.
26009  So you might have to play a bit with the width until it fits.
26010  Here are two heart-shaped paragraphs,
26011  the first one is not aligned,
26012  the second one is right-aligned:
26013 \end_layout
26014
26015 \begin_layout Standard
26016 \begin_inset Newpage newpage
26017 \end_inset
26018
26019
26020 \end_layout
26021
26022 \begin_layout Heart
26023 \noindent
26024
26025 \lang latin
26026 Lo\SpecialChar softhyphen
26027 rem ipsum dolor sit amet,
26028  consetetur sadipscing elitr,
26029  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26030  sed diam voluptua.
26031  At vero eos et accusam et justo duo dolores et ea rebum.
26032  Stet clita kasd gubergren,
26033  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26034 \end_layout
26035
26036 \begin_layout Standard
26037 \begin_inset VSpace bigskip
26038 \end_inset
26039
26040
26041 \end_layout
26042
26043 \begin_layout Standard
26044 \noindent
26045 \align right
26046 \begin_inset Box Frameless
26047 position "t"
26048 hor_pos "c"
26049 has_inner_box 1
26050 inner_pos "t"
26051 use_parbox 1
26052 use_makebox 0
26053 width "42col%"
26054 special "none"
26055 height "1in"
26056 height_special "totalheight"
26057 thickness "0.4pt"
26058 separation "3pt"
26059 shadowsize "4pt"
26060 framecolor "black"
26061 backgroundcolor "none"
26062 status open
26063
26064 \begin_layout Heart
26065 \noindent
26066
26067 \lang latin
26068 Lo\SpecialChar softhyphen
26069 rem ipsum dolor sit amet,
26070  consetetur sadipscing elitr,
26071  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26072  sed diam voluptua.
26073  At vero eos et accusam et justo duo dolores et ea rebum.
26074  Stet clita kasd gubergren,
26075  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26076 \end_layout
26077
26078 \end_inset
26079
26080
26081 \end_layout
26082
26083 \begin_layout Subsubsection
26084 Custom shapes
26085 \end_layout
26086
26087 \begin_layout Standard
26088 You can define any shape you want.
26089  Doing this manually is a lot of work because every coordinate must be specified.
26090  But there is a way to let the computer calculate the coordinates:
26091 \end_layout
26092
26093 \begin_layout Enumerate
26094 Install the program 
26095 \begin_inset CommandInset href
26096 LatexCommand href
26097 name "Jpgfdraw"
26098 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
26099 literal "false"
26100
26101 \end_inset
26102
26103 .
26104 \end_layout
26105
26106 \begin_layout Enumerate
26107 In 
26108 \family sans
26109 Jpgfdraw
26110 \family default
26111  go to the menu 
26112 \family sans
26113 TeX/LaTeX\SpecialChar menuseparator
26114 Settings\SpecialChar menuseparator
26115 Set Normal Size
26116 \family default
26117  and select the font size you are using in your document.
26118  For example this document uses the size 12
26119 \begin_inset space \thinspace{}
26120 \end_inset
26121
26122 pt.
26123 \end_layout
26124
26125 \begin_layout Enumerate
26126 Draw a shape.
26127 \end_layout
26128
26129 \begin_layout Enumerate
26130 Use the menu 
26131 \family sans
26132 TeX/LaTeX\SpecialChar menuseparator
26133 Shapepar
26134 \family default
26135  to export the shape to coordinates.
26136  In the appearing dialog use either the outline of your shape for the coordinates or the path itself.
26137 \begin_inset Foot
26138 status collapsed
26139
26140 \begin_layout Plain Layout
26141 For more information see 
26142 \begin_inset CommandInset href
26143 LatexCommand href
26144 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
26145 literal "false"
26146
26147 \end_inset
26148
26149
26150 \end_layout
26151
26152 \end_inset
26153
26154
26155 \end_layout
26156
26157 \begin_layout Standard
26158 The coordinates are written into a \SpecialChar TeX
26159  file.
26160  To use it for your \SpecialChar LyX
26161  document
26162 \end_layout
26163
26164 \begin_layout Enumerate
26165 Place the cursor before the first character of your paragraph (or into a new empty one).
26166 \end_layout
26167
26168 \begin_layout Enumerate
26169 Open in \SpecialChar LyX
26170  the menu 
26171 \family sans
26172 Insert\SpecialChar menuseparator
26173 File\SpecialChar menuseparator
26174 Child
26175 \begin_inset space ~
26176 \end_inset
26177
26178 Document
26179 \family default
26180 ,
26181  select the file and use 
26182 \family sans
26183 Input
26184 \family default
26185  as 
26186 \family sans
26187 Include Type.
26188 \end_layout
26189
26190 \begin_layout Standard
26191 \begin_inset VSpace defskip
26192 \end_inset
26193
26194
26195 \end_layout
26196
26197 \begin_layout Standard
26198 \begin_inset Note Greyedout
26199 status open
26200
26201 \begin_layout Plain Layout
26202
26203 \series bold
26204 Note
26205 \series default
26206 :
26207  The changed shape only applies to the current paragraph;
26208  everything is reset to normal for the next paragraph.
26209  Therefore the shape definition file must be input into every paragraph with the desired shape.
26210 \end_layout
26211
26212 \end_inset
26213
26214
26215 \end_layout
26216
26217 \begin_layout Standard
26218 \begin_inset VSpace bigskip
26219 \end_inset
26220
26221
26222 \end_layout
26223
26224 \begin_layout Standard
26225 Here is an example:
26226 \end_layout
26227
26228 \begin_layout Standard
26229 \begin_inset VSpace bigskip
26230 \end_inset
26231
26232
26233 \end_layout
26234
26235 \begin_layout Standard
26236 \begin_inset CommandInset include
26237 LatexCommand input
26238 filename "SpecialParagraphShape.tex"
26239 literal "true"
26240
26241 \end_inset
26242
26243
26244 \lang latin
26245 Lorem ipsum dolor sit amet,
26246  consetetur sadipscing elitr,
26247  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26248  sed diam voluptua.
26249  At vero eos et accusam et justo duo dolores et ea rebum.
26250  Stet clita kasd gubergren,
26251  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26252  Lorem ipsum dolor sit amet,
26253  consetetur sadipscing elitr,
26254  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26255  sed diam voluptua.
26256 \end_layout
26257
26258 \begin_layout Standard
26259 \begin_inset VSpace bigskip
26260 \end_inset
26261
26262
26263 \end_layout
26264
26265 \begin_layout Standard
26266
26267 \series bold
26268 A tip:
26269
26270 \series default
26271  to draw complexer shapes in 
26272 \family sans
26273 Jpgfdraw
26274 \family default
26275  you can draw the shape in a program of your choice and import the resulting image to 
26276 \family sans
26277 Jpgfdraw
26278 \family default
26279 .
26280  Then you only need to draw a line or spline along the outline of the image.
26281 \end_layout
26282
26283 \begin_layout Standard
26284
26285 \change_deleted -712698321 1674914114
26286 \begin_inset VSpace bigskip
26287 \end_inset
26288
26289
26290 \change_unchanged
26291
26292 \end_layout
26293
26294 \begin_layout Standard
26295 The module 
26296 \family sans
26297 Custom paragraph shapes
26298 \family default
26299  also provides the two commands 
26300 \family sans
26301 shapepar
26302 \family default
26303  and 
26304 \family sans
26305 Shapepar
26306 \family default
26307  which can be used to define custom shapes coordinate by coordinate.
26308 \begin_inset Foot
26309 status collapsed
26310
26311 \begin_layout Plain Layout
26312 These commands are internally used for all shapes described here.
26313 \end_layout
26314
26315 \end_inset
26316
26317  For information how these styles are used and about further customization possibilities,
26318  have a look at the 
26319 \begin_inset CommandInset href
26320 LatexCommand href
26321 name "documentation"
26322 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
26323 literal "false"
26324
26325 \end_inset
26326
26327  of the package 
26328 \begin_inset Flex Code
26329 status collapsed
26330
26331 \begin_layout Plain Layout
26332 shapepar
26333 \end_layout
26334
26335 \end_inset
26336
26337 .
26338 \end_layout
26339
26340 \begin_layout Subsection
26341
26342 \change_inserted 564990737 1672311925
26343 Hanging Paragraphs
26344 \end_layout
26345
26346 \begin_layout Hanging
26347
26348 \change_inserted 564990737 1672311925
26349 This module adds the 
26350 \family sans
26351 Hanging
26352 \family default
26353  paragraph style,
26354  that is,
26355  one where all but the first line of the paragraph is indented.
26356  This may not appear in your \SpecialChar LyX
26357  document but will appear in the final output.
26358 \end_layout
26359
26360 \begin_layout Subsection
26361
26362 \change_inserted 564990737 1672311925
26363 \begin_inset CommandInset label
26364 LatexCommand label
26365 name "subsec:Initials"
26366
26367 \end_inset
26368
26369 Initials (Drop Caps)
26370 \end_layout
26371
26372 \begin_layout Initial
26373
26374 \change_inserted 564990737 1672311925
26375 \begin_inset Argument 2
26376 status open
26377
26378 \begin_layout Plain Layout
26379
26380 \change_inserted 564990737 1672311925
26381 T
26382 \change_unchanged
26383
26384 \end_layout
26385
26386 \end_inset
26387
26388
26389 \begin_inset Argument 3
26390 status open
26391
26392 \begin_layout Plain Layout
26393
26394 \change_inserted 564990737 1672311925
26395 his
26396 \change_unchanged
26397
26398 \end_layout
26399
26400 \end_inset
26401
26402  module adds a drop capitals paragraph style 
26403 \family sans
26404 Initials
26405 \family default
26406  for paragraph environments which you can use wherever you want to have drop capitals.
26407  You then have three more items in the 
26408 \family sans
26409 Insert
26410 \family default
26411  menu:
26412 \end_layout
26413
26414 \begin_layout Itemize
26415
26416 \change_inserted 564990737 1672311925
26417
26418 \family sans
26419 Initial
26420 \family default
26421  which creates an inset for the drop capital
26422 \end_layout
26423
26424 \begin_layout Itemize
26425
26426 \change_inserted 564990737 1672311925
26427
26428 \family sans
26429 Rest of initial
26430 \family default
26431  which creates an inset for the rest of the word
26432 \end_layout
26433
26434 \begin_layout Itemize
26435
26436 \change_inserted 564990737 1672311925
26437
26438 \family sans
26439 Options
26440 \family default
26441  which allow you configure the formatting of the drop capital.
26442 \end_layout
26443
26444 \begin_layout Standard
26445
26446 \change_inserted 564990737 1672311925
26447 To customize the appearance of the style,
26448  see 
26449 \family sans
26450 Help\SpecialChar menuseparator
26451 Embedded Objects\SpecialChar menuseparator
26452 Objects Surrounded by Text\SpecialChar menuseparator
26453 Initials
26454 \family default
26455 .
26456 \end_layout
26457
26458 \begin_layout Section
26459
26460 \change_inserted 564990737 1672312011
26461 Text Markup
26462 \end_layout
26463
26464 \begin_layout Subsection
26465
26466 \change_inserted 564990737 1672312011
26467 Hyphenatable Text Markup
26468 \change_inserted -712698321 1674915075
26469  (Soul)
26470 \change_inserted 564990737 1672312011
26471
26472 \end_layout
26473
26474 \begin_layout Standard
26475
26476 \change_inserted 564990737 1672312011
26477 This 
26478 \change_deleted -712698321 1674915086
26479 package
26480 \change_inserted -712698321 1674915087
26481 modul
26482 \change_inserted 564990737 1672312011
26483  defines text styles to highlight,
26484  space-out,
26485  strike-through,
26486  underline and capitalize/small-cap text by means of the 
26487 \family sans
26488 soul
26489 \family default
26490  package.
26491  
26492 \change_inserted -712698321 1674915141
26493
26494 \end_layout
26495
26496 \begin_layout Standard
26497
26498 \change_inserted 564990737 1672312011
26499 As opposed to the markup provided by the Text Properties dialog,
26500  words marked-up with 
26501 \family sans
26502 soul
26503 \family default
26504  are hyphenated.
26505  See the 
26506 \begin_inset CommandInset href
26507 LatexCommand href
26508 name "soul documentation"
26509 target "http://mirrors.ctan.org/macros/generic/soul/soul.pdf"
26510 literal "false"
26511
26512 \end_inset
26513
26514 .
26515 \end_layout
26516
26517 \begin_layout Subsection
26518
26519 \change_inserted 564990737 1672312011
26520 Logical Markup
26521 \end_layout
26522
26523 \begin_layout Standard
26524
26525 \change_inserted 564990737 1672312011
26526 This module defines some character styles for logical markup:
26527  
26528 \noun on
26529
26530 \begin_inset Flex Noun
26531 status collapsed
26532
26533 \begin_layout Plain Layout
26534
26535 \change_inserted 564990737 1672312011
26536
26537 \noun on
26538 noun
26539 \change_unchanged
26540
26541 \end_layout
26542
26543 \end_inset
26544
26545
26546 \noun default
26547 ,
26548  
26549 \emph on
26550
26551 \begin_inset Flex Emph
26552 status collapsed
26553
26554 \begin_layout Plain Layout
26555
26556 \change_inserted 564990737 1672312011
26557
26558 \emph on
26559 emph
26560 \change_unchanged
26561
26562 \end_layout
26563
26564 \end_inset
26565
26566
26567 \emph default
26568 ,
26569  
26570 \begin_inset Flex Strong
26571 status collapsed
26572
26573 \begin_layout Plain Layout
26574
26575 \change_inserted 564990737 1672312011
26576 strong
26577 \change_unchanged
26578
26579 \end_layout
26580
26581 \end_inset
26582
26583 ,
26584  and 
26585 \begin_inset Flex Code
26586 status collapsed
26587
26588 \begin_layout Plain Layout
26589
26590 \change_inserted 564990737 1672312011
26591 code
26592 \change_unchanged
26593
26594 \end_layout
26595
26596 \end_inset
26597
26598  which are accessed via the 
26599 \family sans
26600 \bar under
26601 E
26602 \bar default
26603 dit\SpecialChar menuseparator
26604 Custom
26605 \begin_inset space ~
26606 \end_inset
26607
26608 Text
26609 \begin_inset space ~
26610 \end_inset
26611
26612
26613 \bar under
26614 S
26615 \bar default
26616 tyles
26617 \family default
26618  menu.
26619 \end_layout
26620
26621 \begin_layout Chapter
26622
26623 \change_deleted 564990737 1671304317
26624 Customizing 
26625 \change_unchanged
26626 Bibliograph
26627 \change_inserted 564990737 1671304322
26628 y
26629 \change_deleted 564990737 1671304331
26630 ies with Bib\SpecialChar TeX
26631  or Biblatex
26632 \change_unchanged
26633
26634 \end_layout
26635
26636 \begin_layout Standard
26637 The most basic information about how to use Bib\SpecialChar TeX
26638  or 
26639 \family sans
26640 Biblatex
26641 \family default
26642  with \SpecialChar LyX
26643  is contained in the section 
26644 \emph on
26645 Bibliography databases
26646 \emph default
26647  of the 
26648 \emph on
26649 User's Guide
26650 \emph default
26651 .
26652  The following subsections explain special bibliography features supported by \SpecialChar LyX
26653 .
26654 \end_layout
26655
26656 \begin_layout Section
26657 Alternative Citation Styles
26658 \end_layout
26659
26660 \begin_layout Standard
26661 Standard Bib\SpecialChar TeX
26662  uses numbers (e.
26663 \begin_inset space \thinspace{}
26664 \end_inset
26665
26666 g.
26667 \begin_inset space \space{}
26668 \end_inset
26669
26670
26671 \begin_inset Quotes eld
26672 \end_inset
26673
26674 [12]
26675 \begin_inset Quotes erd
26676 \end_inset
26677
26678 ) to refer to a cited work.
26679  However,
26680  in many scientific disciplines,
26681  other citation styles are in use.
26682  The most common one is the author-year style (e.
26683 \begin_inset space \thinspace{}
26684 \end_inset
26685
26686 g.
26687 \begin_inset space \space{}
26688 \end_inset
26689
26690
26691 \begin_inset Quotes eld
26692 \end_inset
26693
26694 Knuth 1984a
26695 \begin_inset Quotes erd
26696 \end_inset
26697
26698 ).
26699  \SpecialChar LyX
26700  supports three packages that provide this style,
26701  
26702 \begin_inset Flex Code
26703 status collapsed
26704
26705 \begin_layout Plain Layout
26706 biblatex
26707 \end_layout
26708
26709 \end_inset
26710
26711 ,
26712  
26713 \begin_inset Flex Code
26714 status collapsed
26715
26716 \begin_layout Plain Layout
26717 natbib
26718 \end_layout
26719
26720 \end_inset
26721
26722 ,
26723  and 
26724 \begin_inset Flex Code
26725 status collapsed
26726
26727 \begin_layout Plain Layout
26728 jurabib
26729 \end_layout
26730
26731 \end_inset
26732
26733 .
26734  Each of these packages has their pros and cons,
26735  which cannot be listed in detail.
26736  If you only want to have simple author-year (or author-numerical) style,
26737  or if you want to use one of the countless style files for 
26738 \begin_inset Flex Code
26739 status collapsed
26740
26741 \begin_layout Plain Layout
26742 natbib
26743 \end_layout
26744
26745 \end_inset
26746
26747 ,
26748  then the established 
26749 \begin_inset Flex Code
26750 status collapsed
26751
26752 \begin_layout Plain Layout
26753 natbib
26754 \end_layout
26755
26756 \end_inset
26757
26758  package is probably your choice.
26759  If you look for specific citation styles common in law studies,
26760  you might consider the 
26761 \begin_inset Flex Code
26762 status collapsed
26763
26764 \begin_layout Plain Layout
26765 jurabib
26766 \end_layout
26767
26768 \end_inset
26769
26770  package.
26771  If you want to have full control over the formatting or look for advanced features such as ibidem,
26772  footnote citations,
26773  full title citations,
26774  advanced date formats (such as 400 BC) or full localization to other languages than English,
26775  you should definitely consider 
26776 \begin_inset Flex Code
26777 status collapsed
26778
26779 \begin_layout Plain Layout
26780 biblatex
26781 \end_layout
26782
26783 \end_inset
26784
26785 ,
26786  which exceeds all other packages in terms of features,
26787  but is also quite heavy and more resource-hungry.
26788 \end_layout
26789
26790 \begin_layout Standard
26791 The handling of these packages in \SpecialChar LyX
26792  is basically the same.
26793  Go to 
26794 \change_deleted -712698321 1674917685
26795
26796 \begin_inset Flex Noun
26797 status collapsed
26798
26799 \begin_layout Plain Layout
26800 Document\SpecialChar menuseparator
26801 Settings
26802 \end_layout
26803
26804 \end_inset
26805
26806
26807 \change_inserted -712698321 1674917685
26808
26809 \family sans
26810 Document\SpecialChar menuseparator
26811 Settings
26812 \change_unchanged
26813
26814 \family default
26815  and select under 
26816 \change_deleted -712698321 1674917692
26817
26818 \begin_inset Flex Noun
26819 status collapsed
26820
26821 \begin_layout Plain Layout
26822 Bibliography
26823 \end_layout
26824
26825 \end_inset
26826
26827
26828 \change_inserted -712698321 1674917692
26829
26830 \family sans
26831 Bibliography
26832 \change_unchanged
26833
26834 \family default
26835  the 
26836 \change_deleted -712698321 1674917696
26837
26838 \begin_inset Flex Noun
26839 status collapsed
26840
26841 \begin_layout Plain Layout
26842 Style Format
26843 \end_layout
26844
26845 \end_inset
26846
26847
26848 \change_inserted -712698321 1674917696
26849
26850 \family sans
26851 Style Format
26852 \change_unchanged
26853
26854 \family default
26855  
26856 \change_deleted -712698321 1674917703
26857
26858 \begin_inset Flex Noun
26859 status collapsed
26860
26861 \begin_layout Plain Layout
26862 Basic (BibTeX)
26863 \end_layout
26864
26865 \end_inset
26866
26867
26868 \change_inserted -712698321 1674917703
26869
26870 \family sans
26871 Basic (BibTeX)
26872 \change_unchanged
26873
26874 \family default
26875 ,
26876  
26877 \change_deleted -712698321 1674917708
26878
26879 \begin_inset Flex Noun
26880 status collapsed
26881
26882 \begin_layout Plain Layout
26883 Biblatex
26884 \end_layout
26885
26886 \end_inset
26887
26888
26889 \change_inserted -712698321 1674917708
26890
26891 \family sans
26892 Biblatex
26893 \change_unchanged
26894
26895 \family default
26896 ,
26897  
26898 \change_deleted -712698321 1674917712
26899
26900 \begin_inset Flex Noun
26901 status collapsed
26902
26903 \begin_layout Plain Layout
26904 Biblatex (Natbib mode)
26905 \end_layout
26906
26907 \end_inset
26908
26909
26910 \change_inserted -712698321 1674917712
26911
26912 \family sans
26913 Biblatex (Natbib mode)
26914 \change_unchanged
26915
26916 \family default
26917 ,
26918  
26919 \change_deleted -712698321 1674917718
26920
26921 \begin_inset Flex Noun
26922 status collapsed
26923
26924 \begin_layout Plain Layout
26925 Natbib (BibTeX)
26926 \end_layout
26927
26928 \end_inset
26929
26930
26931 \change_inserted -712698321 1674917718
26932
26933 \family sans
26934 Natbib (BibTeX)
26935 \change_unchanged
26936
26937 \family default
26938  or 
26939 \change_deleted -712698321 1674917724
26940
26941 \begin_inset Flex Noun
26942 status collapsed
26943
26944 \begin_layout Plain Layout
26945 Jurabib (BibTeX)
26946 \end_layout
26947
26948 \end_inset
26949
26950
26951 \change_inserted -712698321 1674917724
26952
26953 \family sans
26954 Jurabib (BibTeX)
26955 \change_unchanged
26956
26957 \family default
26958  (see sec.
26959 \begin_inset space ~
26960 \end_inset
26961
26962 6.5.3 in the User's Guide for more information on these choices).
26963  With all these packages,
26964  you will get some extra features in the citation dialog and you can select the style of the reference (
26965 \begin_inset Quotes eld
26966 \end_inset
26967
26968 Knuth 1984
26969 \begin_inset Quotes erd
26970 \end_inset
26971
26972 ,
26973  
26974 \begin_inset Quotes eld
26975 \end_inset
26976
26977 Knuth (1984)
26978 \begin_inset Quotes erd
26979 \end_inset
26980
26981 ,
26982  
26983 \begin_inset Quotes eld
26984 \end_inset
26985
26986 Knuth,
26987  1984
26988 \begin_inset Quotes erd
26989 \end_inset
26990
26991 ,
26992  
26993 \begin_inset Quotes eld
26994 \end_inset
26995
26996 1984
26997 \begin_inset Quotes erd
26998 \end_inset
26999
27000  etc.).
27001  Note that either package needs specifically designed style files.
27002  They all ship their own,
27003  but there are lots of additional style files,
27004  and there is even an interactive style file builder
27005 \begin_inset Foot
27006 status collapsed
27007
27008 \begin_layout Plain Layout
27009 See 
27010 \begin_inset Flex URL
27011 status open
27012
27013 \begin_layout Plain Layout
27014
27015 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
27016 \end_layout
27017
27018 \end_inset
27019
27020
27021 \end_layout
27022
27023 \end_inset
27024
27025  for 
27026 \begin_inset Flex Code
27027 status collapsed
27028
27029 \begin_layout Plain Layout
27030 natbib
27031 \end_layout
27032
27033 \end_inset
27034
27035 .
27036 \end_layout
27037
27038 \begin_layout Section
27039 Subdivided Bibliographies
27040 \end_layout
27041
27042 \begin_layout Standard
27043 Sometimes you might need to divide your bibliography into several sections.
27044  If you are for instance a historian,
27045  the possibility to separate sources and scientific works is most likely a 
27046 \begin_inset Quotes eld
27047 \end_inset
27048
27049 must have
27050 \begin_inset Quotes erd
27051 \end_inset
27052
27053 .
27054  Unfortunately,
27055  Bib\SpecialChar TeX
27056  itself does not allow you to do this.
27057  But with the help of some \SpecialChar LaTeX
27058  packages,
27059  Bib\SpecialChar TeX
27060  can be extended to fit your needs.
27061 \end_layout
27062
27063 \begin_layout Standard
27064 \SpecialChar LyX
27065  provides native support for one of these packages,
27066  
27067 \family typewriter
27068 bibtopic
27069 \family default
27070 .
27071 \begin_inset Foot
27072 status collapsed
27073
27074 \begin_layout Plain Layout
27075 Available from 
27076 \begin_inset Flex URL
27077 status open
27078
27079 \begin_layout Plain Layout
27080
27081 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
27082 \end_layout
27083
27084 \end_inset
27085
27086
27087 \end_layout
27088
27089 \end_inset
27090
27091  The advantage of this package (compared to other packages such as 
27092 \family typewriter
27093 multibib
27094 \family default
27095 ) is that you don't need to define new citation commands.
27096  Instead,
27097  you need to prepare different bibliographic databases which include the entries for the different sections of the bibliography.
27098  For example:
27099  If you want to divide your bibliography into the sections 
27100 \begin_inset Quotes eld
27101 \end_inset
27102
27103 Sources
27104 \begin_inset Quotes erd
27105 \end_inset
27106
27107  and 
27108 \begin_inset Quotes eld
27109 \end_inset
27110
27111 Scientific works
27112 \begin_inset Quotes erd
27113 \end_inset
27114
27115 ,
27116  you first need to create two bibliographic databases,
27117  e.
27118 \begin_inset space \thinspace{}
27119 \end_inset
27120
27121 g.
27122 \begin_inset space \space{}
27123 \end_inset
27124
27125
27126 \begin_inset Flex Code
27127 status collapsed
27128
27129 \begin_layout Plain Layout
27130 sources.bib
27131 \end_layout
27132
27133 \end_inset
27134
27135  and 
27136 \begin_inset Flex Code
27137 status collapsed
27138
27139 \begin_layout Plain Layout
27140 scientific.bib
27141 \end_layout
27142
27143 \end_inset
27144
27145 .
27146  
27147 \end_layout
27148
27149 \begin_layout Standard
27150 Go to 
27151 \change_deleted -712698321 1674917736
27152
27153 \begin_inset Flex Noun
27154 status collapsed
27155
27156 \begin_layout Plain Layout
27157 Document\SpecialChar menuseparator
27158 Settings
27159 \end_layout
27160
27161 \end_inset
27162
27163
27164 \change_inserted -712698321 1674917736
27165
27166 \family sans
27167 Document\SpecialChar menuseparator
27168 Settings
27169 \change_unchanged
27170
27171 \family default
27172  and check under 
27173 \change_deleted -712698321 1674917752
27174
27175 \begin_inset Flex Noun
27176 status collapsed
27177
27178 \begin_layout Plain Layout
27179 Bibliography
27180 \end_layout
27181
27182 \end_inset
27183
27184
27185 \change_inserted -712698321 1674917752
27186
27187 \family sans
27188 Bibliography
27189 \change_unchanged
27190
27191 \family default
27192  the option 
27193 \change_deleted -712698321 1674917741
27194
27195 \family sans
27196
27197 \begin_inset Flex Noun
27198 status collapsed
27199
27200 \begin_layout Plain Layout
27201
27202 \family sans
27203 Subdivided bibliography
27204 \end_layout
27205
27206 \end_inset
27207
27208
27209 \change_inserted -712698321 1674917741
27210 Subdivided bibliography
27211 \change_unchanged
27212
27213 \family default
27214 .
27215  Now you can insert multiple Bib\SpecialChar TeX
27216  bibliographies,
27217  one for each section of your bibliography.
27218  Returning to our example:
27219  Insert the Bib\SpecialChar TeX
27220  bibliography 
27221 \begin_inset Flex Code
27222 status collapsed
27223
27224 \begin_layout Plain Layout
27225 sources.bib
27226 \end_layout
27227
27228 \end_inset
27229
27230  and a second one for the database 
27231 \begin_inset Flex Code
27232 status collapsed
27233
27234 \begin_layout Plain Layout
27235 scientific.bib
27236 \end_layout
27237
27238 \end_inset
27239
27240 .
27241  You are free to use the same or different styles for each section.
27242  Additionally,
27243  you can choose if the bibliography section should contain 
27244 \begin_inset Quotes eld
27245 \end_inset
27246
27247 all cited references
27248 \begin_inset Quotes erd
27249 \end_inset
27250
27251  of the specified database(s) (which is the default),
27252  
27253 \begin_inset Quotes eld
27254 \end_inset
27255
27256 all uncited references
27257 \begin_inset Quotes erd
27258 \end_inset
27259
27260  or even 
27261 \begin_inset Quotes eld
27262 \end_inset
27263
27264 all references
27265 \begin_inset Quotes erd
27266 \end_inset
27267
27268 .
27269  This might be useful if you would like to separate your bibliography into three sections:
27270  
27271 \begin_inset Quotes eld
27272 \end_inset
27273
27274 Cited sources
27275 \begin_inset Quotes erd
27276 \end_inset
27277
27278 ,
27279  
27280 \begin_inset Quotes eld
27281 \end_inset
27282
27283 Uncited sources
27284 \begin_inset Quotes erd
27285 \end_inset
27286
27287 ,
27288  and 
27289 \begin_inset Quotes eld
27290 \end_inset
27291
27292 Scientific works
27293 \begin_inset Quotes erd
27294 \end_inset
27295
27296 .
27297  The titles for the sections can be added as ordinary sections or subsections.
27298  Since 
27299 \begin_inset Flex Code
27300 status collapsed
27301
27302 \begin_layout Plain Layout
27303 bibtopic
27304 \end_layout
27305
27306 \end_inset
27307
27308  removes the bibliography title,
27309  you have to manually re-add that,
27310  too (as a chapter* or section*,
27311  for instance).
27312 \end_layout
27313
27314 \begin_layout Standard
27315 With 
27316 \family sans
27317 Biblatex
27318 \family default
27319 ,
27320  the procedure is a bit different.
27321  Since 
27322 \family typewriter
27323 bibtopic
27324 \family default
27325  does not work with 
27326 \family sans
27327 Biblatex
27328 \family default
27329 ,
27330  the aforementioned 
27331 \begin_inset Flex Noun
27332 status collapsed
27333
27334 \begin_layout Plain Layout
27335 Subdivided bibliography
27336 \end_layout
27337
27338 \end_inset
27339
27340  option is disabled if you use 
27341 \family sans
27342 Biblatex
27343 \family default
27344 .
27345  However,
27346  
27347 \family sans
27348 Biblatex
27349 \family default
27350  provides its own means to generate subdivided bibliographies.
27351  You can either add keywords to bibliography entries via the 
27352 \begin_inset Flex Code
27353 status collapsed
27354
27355 \begin_layout Plain Layout
27356 keywords
27357 \end_layout
27358
27359 \end_inset
27360
27361  entry option and then filter bibliography sections by keyword (by adding 
27362 \begin_inset Flex Code
27363 status collapsed
27364
27365 \begin_layout Plain Layout
27366 keyword=mykeyword
27367 \end_layout
27368
27369 \end_inset
27370
27371  to the 
27372 \begin_inset Flex Noun
27373 status collapsed
27374
27375 \begin_layout Plain Layout
27376 Options
27377 \end_layout
27378
27379 \end_inset
27380
27381  field of the dialog that opens if you left-click on the 
27382 \begin_inset Flex Noun
27383 status collapsed
27384
27385 \begin_layout Plain Layout
27386 Biblatex Generated Bibliography
27387 \end_layout
27388
27389 \end_inset
27390
27391  button),
27392  or you can filter by entry types (such as 
27393 \emph on
27394 book
27395 \emph default
27396  or 
27397 \emph on
27398 article
27399 \emph default
27400 ) by entering e.
27401 \begin_inset space \thinspace{}
27402 \end_inset
27403
27404 g.
27405  
27406 \begin_inset Flex Code
27407 status collapsed
27408
27409 \begin_layout Plain Layout
27410 type=book
27411 \end_layout
27412
27413 \end_inset
27414
27415  or 
27416 \begin_inset Flex Code
27417 status collapsed
27418
27419 \begin_layout Plain Layout
27420 nottype=collection
27421 \end_layout
27422
27423 \end_inset
27424
27425  to the mentioned 
27426 \begin_inset Flex Noun
27427 status collapsed
27428
27429 \begin_layout Plain Layout
27430 Options
27431 \end_layout
27432
27433 \end_inset
27434
27435  field,
27436  or you can create so-called 
27437 \begin_inset Quotes eld
27438 \end_inset
27439
27440 Bibliography Categories
27441 \begin_inset Quotes erd
27442 \end_inset
27443
27444  to which you can assign individual entries.
27445  Please refer to the Biblatex manual,
27446  section 
27447 \emph on
27448 Subdivided Bibliographies
27449 \emph default
27450 ,
27451  for details.
27452 \end_layout
27453
27454 \begin_layout Section
27455 Multiple Bibliographies
27456 \begin_inset CommandInset label
27457 LatexCommand label
27458 name "subsec:Multiple-Bibliographies"
27459
27460 \end_inset
27461
27462
27463 \end_layout
27464
27465 \begin_layout Standard
27466 Multiple bibliographies,
27467  e.
27468 \begin_inset space \thinspace{}
27469 \end_inset
27470
27471 g.
27472 \begin_inset space \space{}
27473 \end_inset
27474
27475 a bibliography for each part,
27476  chapter,
27477  section,
27478  subsection or child (sub-document) of the document,
27479  are also supported by \SpecialChar LyX
27480 .
27481  In order to enable it,
27482  go to 
27483 \change_deleted -712698321 1674917759
27484
27485 \begin_inset Flex Noun
27486 status collapsed
27487
27488 \begin_layout Plain Layout
27489 Document\SpecialChar menuseparator
27490 Settings\SpecialChar menuseparator
27491 Bibliography
27492 \end_layout
27493
27494 \end_inset
27495
27496
27497 \change_inserted -712698321 1674917759
27498
27499 \family sans
27500 Document\SpecialChar menuseparator
27501 Settings\SpecialChar menuseparator
27502 Bibliography
27503 \change_unchanged
27504
27505 \family default
27506  and select the relevant unit (e.
27507 \begin_inset space \thinspace{}
27508 \end_inset
27509
27510 g.,
27511  
27512 \begin_inset Quotes eld
27513 \end_inset
27514
27515 per section
27516 \begin_inset Quotes erd
27517 \end_inset
27518
27519 ) in the 
27520 \begin_inset Flex Noun
27521 status collapsed
27522
27523 \begin_layout Plain Layout
27524 Multiple Bibliographies
27525 \end_layout
27526
27527 \end_inset
27528
27529  combo box.
27530  Then add a Bib(la)\SpecialChar TeX
27531  bibliography to each unit (e.
27532 \begin_inset space \thinspace{}
27533 \end_inset
27534
27535 g.,
27536  section) of your document.
27537  In the output,
27538  a separate bibliography,
27539  containing only the references done in the current unit is generated.
27540 \end_layout
27541
27542 \begin_layout Standard
27543 If you use Bib\SpecialChar TeX
27544 ,
27545  either the 
27546 \begin_inset Flex Code
27547 status collapsed
27548
27549 \begin_layout Plain Layout
27550 chapterbib
27551 \end_layout
27552
27553 \end_inset
27554
27555  or the 
27556 \begin_inset Flex Code
27557 status collapsed
27558
27559 \begin_layout Plain Layout
27560 bibtopic
27561 \end_layout
27562
27563 \end_inset
27564
27565  package is used to create multiple bibliographies.
27566  The former package is used if you select 
27567 \begin_inset Quotes eld
27568 \end_inset
27569
27570 per child document
27571 \begin_inset Quotes erd
27572 \end_inset
27573
27574  and do 
27575 \emph on
27576 not
27577 \emph default
27578  check 
27579 \begin_inset Flex Noun
27580 status collapsed
27581
27582 \begin_layout Plain Layout
27583 Sectioned Bibliography
27584 \end_layout
27585
27586 \end_inset
27587
27588 .
27589  In all other cases,
27590  
27591 \begin_inset Flex Code
27592 status collapsed
27593
27594 \begin_layout Plain Layout
27595 bibtopic
27596 \end_layout
27597
27598 \end_inset
27599
27600  is used.
27601 \begin_inset Foot
27602 status collapsed
27603
27604 \begin_layout Plain Layout
27605 An alternative approach,
27606  if you are willing to use some 
27607 \begin_inset Flex Noun
27608 status collapsed
27609
27610 \begin_layout Plain Layout
27611 \SpecialChar TeX
27612  Code
27613 \end_layout
27614
27615 \end_inset
27616
27617  (see section
27618 \begin_inset space ~
27619 \end_inset
27620
27621
27622 \begin_inset CommandInset ref
27623 LatexCommand ref
27624 reference "sec:Inserting-TeX-Code"
27625 nolink "false"
27626
27627 \end_inset
27628
27629 ),
27630  is to use the 
27631 \begin_inset Flex Code
27632 status collapsed
27633
27634 \begin_layout Plain Layout
27635 bibunits
27636 \end_layout
27637
27638 \end_inset
27639
27640  package.
27641 \end_layout
27642
27643 \end_inset
27644
27645  If 
27646 \begin_inset Flex Code
27647 status collapsed
27648
27649 \begin_layout Plain Layout
27650 bibtopic
27651 \end_layout
27652
27653 \end_inset
27654
27655  is used,
27656  \SpecialChar LyX
27657  encloses the specified units in 
27658 \begin_inset Flex Code
27659 status collapsed
27660
27661 \begin_layout Plain Layout
27662 bibtopic
27663 \end_layout
27664
27665 \end_inset
27666
27667 's 
27668 \begin_inset Flex Code
27669 status collapsed
27670
27671 \begin_layout Plain Layout
27672
27673 \backslash
27674 begin{btUnit}
27675 \end_layout
27676
27677 \end_inset
27678
27679  and 
27680 \begin_inset Flex Code
27681 status collapsed
27682
27683 \begin_layout Plain Layout
27684
27685 \backslash
27686 end{btUnit}
27687 \end_layout
27688
27689 \end_inset
27690
27691  in order to create the units.
27692  Note that this approach has some limitations.
27693  First,
27694  every citation reference has to be inside some 
27695 \begin_inset Flex Code
27696 status collapsed
27697
27698 \begin_layout Plain Layout
27699 btUnit
27700 \end_layout
27701
27702 \end_inset
27703
27704 .
27705  So citations outside a defined unit (e.
27706 \begin_inset space \thinspace{}
27707 \end_inset
27708
27709 g.,
27710  before the first section if you use 
27711 \begin_inset Quotes eld
27712 \end_inset
27713
27714 by section
27715 \begin_inset Quotes erd
27716 \end_inset
27717
27718 ) will appear as 
27719 \begin_inset Quotes eld
27720 \end_inset
27721
27722 ???
27723 \begin_inset Quotes erd
27724 \end_inset
27725
27726 .
27727  You can also create your own units by entering 
27728 \begin_inset Flex Code
27729 status collapsed
27730
27731 \begin_layout Plain Layout
27732
27733 \backslash
27734 begin{btUnit}
27735 \end_layout
27736
27737 \end_inset
27738
27739  and 
27740 \begin_inset Flex Code
27741 status collapsed
27742
27743 \begin_layout Plain Layout
27744
27745 \backslash
27746 end{btUnit}
27747 \end_layout
27748
27749 \end_inset
27750
27751  as \SpecialChar TeX
27752  code (for instance to work around the mentioned limitation).
27753  Note,
27754  though,
27755  that 
27756 \begin_inset Flex Code
27757 status collapsed
27758
27759 \begin_layout Plain Layout
27760 btUnit
27761 \end_layout
27762
27763 \end_inset
27764
27765 s cannot be nested.
27766  A second limitation is that 
27767 \begin_inset Flex Code
27768 status collapsed
27769
27770 \begin_layout Plain Layout
27771 bibtopic
27772 \end_layout
27773
27774 \end_inset
27775
27776  always processes all references of a bibliography database,
27777  even if they are not cited.
27778  This can result in odd labels (e.
27779 \begin_inset space \thinspace{}
27780 \end_inset
27781
27782 g.
27783  
27784 \begin_inset Quotes eld
27785 \end_inset
27786
27787 Miller 2014b
27788 \begin_inset Quotes erd
27789 \end_inset
27790
27791  if two works of this author from 2014 are in the database,
27792  even if only one is cited).
27793 \end_layout
27794
27795 \begin_layout Standard
27796 If you use 
27797 \family sans
27798 Biblatex
27799 \family default
27800 ,
27801  the 
27802 \begin_inset Flex Code
27803 status collapsed
27804
27805 \begin_layout Plain Layout
27806 refsection
27807 \end_layout
27808
27809 \end_inset
27810
27811  option is used instead.
27812  If you need specific units,
27813  you can start them with the \SpecialChar TeX
27814  code 
27815 \begin_inset Flex Code
27816 status collapsed
27817
27818 \begin_layout Plain Layout
27819
27820 \backslash
27821 newrefsection
27822 \end_layout
27823
27824 \end_inset
27825
27826  or 
27827 \begin_inset Flex Code
27828 status collapsed
27829
27830 \begin_layout Plain Layout
27831
27832 \backslash
27833 newrefsegment
27834 \end_layout
27835
27836 \end_inset
27837
27838 ,
27839  respectively.
27840  If you also want to control the end of the unit,
27841  use the environment 
27842 \begin_inset Flex Code
27843 status collapsed
27844
27845 \begin_layout Plain Layout
27846
27847 \backslash
27848 begin{refsection}
27849 \end_layout
27850
27851 \end_inset
27852
27853  \SpecialChar ldots
27854  
27855 \begin_inset Flex Code
27856 status collapsed
27857
27858 \begin_layout Plain Layout
27859
27860 \backslash
27861 end{refsection}
27862 \end_layout
27863
27864 \end_inset
27865
27866  instead.
27867  Note,
27868  though,
27869  that 
27870 \begin_inset Flex Code
27871 status collapsed
27872
27873 \begin_layout Plain Layout
27874 refsection
27875 \end_layout
27876
27877 \end_inset
27878
27879 s cannot be nested.
27880  In addition to the individual bibliography of the current unit,
27881  
27882 \family sans
27883 Biblatex
27884 \family default
27885  also provides an easy way to output all bibliographies,
27886  subsequently,
27887  at one place (e.
27888 \begin_inset space \thinspace{}
27889 \end_inset
27890
27891 g.,
27892  at the end of the document).
27893  Select 
27894 \begin_inset Quotes eld
27895 \end_inset
27896
27897 all reference units
27898 \begin_inset Quotes erd
27899 \end_inset
27900
27901  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve this.
27902  Please refer to the 
27903 \family sans
27904 Biblatex
27905 \family default
27906  manual for more information on this topic.
27907 \end_layout
27908
27909 \begin_layout Chapter
27910
27911 \change_deleted 564990737 1671355654
27912 Itemize 
27913 \change_unchanged
27914 Bullet
27915 \change_inserted 564990737 1671355667
27916 s
27917 \change_deleted 564990737 1671355661
27918  Selection
27919 \change_inserted 564990737 1671355684
27920
27921 \begin_inset CommandInset label
27922 LatexCommand label
27923 name "chap:bullets"
27924
27925 \end_inset
27926
27927
27928 \change_deleted 564990737 1671355684
27929
27930 \begin_inset CommandInset label
27931 LatexCommand label
27932 name "sec:bullet"
27933
27934 \end_inset
27935
27936
27937 \change_unchanged
27938
27939 \end_layout
27940
27941 \begin_layout Standard
27942 by
27943 \noun on
27944  Allan Rae
27945 \end_layout
27946
27947 \begin_layout Section
27948 Introduction
27949 \end_layout
27950
27951 \begin_layout Standard
27952 \SpecialChar LyX
27953  provides 216 bullet shapes that can be accessed from a simple dialog.
27954  Using this dialog you can easily specify what bullet shape to use at each level of an itemized list.
27955  These settings are document-wide so you won't be able to specify different sets of bullets for different paragraphs.
27956 \begin_inset Foot
27957 status collapsed
27958
27959 \begin_layout Plain Layout
27960 Well,
27961  actually you can but you'll have to do it by hand.
27962 \end_layout
27963
27964 \end_inset
27965
27966
27967 \end_layout
27968
27969 \begin_layout Section
27970 How it looks
27971 \end_layout
27972
27973 \begin_layout Standard
27974 Open the dialog by selecting the 
27975 \change_deleted -712698321 1674916009
27976
27977 \begin_inset Flex Noun
27978 status collapsed
27979
27980 \begin_layout Plain Layout
27981 Document\SpecialChar menuseparator
27982 Settings
27983 \end_layout
27984
27985 \end_inset
27986
27987
27988 \change_inserted -712698321 1674916009
27989
27990 \family sans
27991 Document\SpecialChar menuseparator
27992 Settings
27993 \change_unchanged
27994
27995 \family default
27996  menu item and then select the 
27997 \begin_inset Flex Noun
27998 status collapsed
27999
28000 \begin_layout Plain Layout
28001 Bullets
28002 \end_layout
28003
28004 \end_inset
28005
28006  tab.
28007 \end_layout
28008
28009 \begin_layout Standard
28010 The dialog provides you with a table of bullet shapes.
28011  A column of buttons on the left of the table provides access to the six different panels of bullet shapes.
28012  The row of buttons across the top is used to select which bullet depth you are changing.
28013 \change_inserted -712698321 1674916033
28014
28015 \end_layout
28016
28017 \begin_layout Standard
28018
28019 \change_inserted -712698321 1674916177
28020 If you select 
28021 \family sans
28022 Custom bullet
28023 \family default
28024 ,
28025  
28026 \change_deleted -712698321 1674916065
28027  A
28028 \change_inserted -712698321 1674916067
28029 a
28030 \change_unchanged
28031  text entry under the table 
28032 \change_inserted -712698321 1674916074
28033 will be activated 
28034 \change_deleted -712698321 1674916096
28035 shows the currently selected
28036 \change_inserted -712698321 1674916101
28037 in which you can enter a
28038 \change_unchanged
28039  bullet shape's \SpecialChar LaTeX
28040  equivalent
28041 \change_deleted -712698321 1674916109
28042  and this can be edited if desired
28043 \change_unchanged
28044 .
28045  If you do modify the text you will also need to specify any needed packages in the \SpecialChar LaTeX
28046  preamble.
28047 \end_layout
28048
28049 \begin_layout Standard
28050 The six panels are divided up by the packages they require.
28051  The following table shows the mappings from button name to \SpecialChar LaTeX
28052  package.
28053 \end_layout
28054
28055 \begin_layout Standard
28056 \align center
28057 \begin_inset Tabular
28058 <lyxtabular version="3" rows="7" columns="2">
28059 <features tabularvalignment="middle">
28060 <column alignment="center" valignment="top" width="0pt">
28061 <column alignment="center" valignment="top" width="0pt">
28062 <row>
28063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28064 \begin_inset Text
28065
28066 \begin_layout Plain Layout
28067
28068 \family roman
28069 \series medium
28070 \shape up
28071 \size normal
28072 \emph off
28073 \bar no
28074 \noun off
28075 \color none
28076 Button
28077 \end_layout
28078
28079 \end_inset
28080 </cell>
28081 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28082 \begin_inset Text
28083
28084 \begin_layout Plain Layout
28085
28086 \family roman
28087 \series medium
28088 \shape up
28089 \size normal
28090 \emph off
28091 \bar no
28092 \noun off
28093 \color none
28094 Packages Required
28095 \end_layout
28096
28097 \end_inset
28098 </cell>
28099 </row>
28100 <row>
28101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28102 \begin_inset Text
28103
28104 \begin_layout Plain Layout
28105
28106 \family sans
28107 \series medium
28108 \shape up
28109 \size normal
28110 \emph off
28111 \bar no
28112 \noun off
28113 \color none
28114 Standard
28115 \end_layout
28116
28117 \end_inset
28118 </cell>
28119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28120 \begin_inset Text
28121
28122 \begin_layout Plain Layout
28123
28124 \series medium
28125 \shape up
28126 \size normal
28127 \emph off
28128 \bar no
28129 \noun off
28130 \color none
28131 base \SpecialChar LaTeX
28132
28133 \end_layout
28134
28135 \end_inset
28136 </cell>
28137 </row>
28138 <row>
28139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28140 \begin_inset Text
28141
28142 \begin_layout Plain Layout
28143
28144 \family sans
28145 \series medium
28146 \shape up
28147 \size normal
28148 \emph off
28149 \bar no
28150 \noun off
28151 \color none
28152 Maths
28153 \end_layout
28154
28155 \end_inset
28156 </cell>
28157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28158 \begin_inset Text
28159
28160 \begin_layout Plain Layout
28161
28162 \family typewriter
28163 \series medium
28164 \shape up
28165 \size normal
28166 \emph off
28167 \bar no
28168 \noun off
28169 \color none
28170 amssymb.sty
28171 \end_layout
28172
28173 \end_inset
28174 </cell>
28175 </row>
28176 <row>
28177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28178 \begin_inset Text
28179
28180 \begin_layout Plain Layout
28181
28182 \family sans
28183 \series medium
28184 \shape up
28185 \size normal
28186 \emph off
28187 \bar no
28188 \noun off
28189 \color none
28190 Ding1
28191 \end_layout
28192
28193 \end_inset
28194 </cell>
28195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28196 \begin_inset Text
28197
28198 \begin_layout Plain Layout
28199
28200 \family typewriter
28201 \series medium
28202 \shape up
28203 \size normal
28204 \emph off
28205 \bar no
28206 \noun off
28207 \color none
28208 pifont.sty
28209 \end_layout
28210
28211 \end_inset
28212 </cell>
28213 </row>
28214 <row>
28215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28216 \begin_inset Text
28217
28218 \begin_layout Plain Layout
28219
28220 \family sans
28221 \series medium
28222 \shape up
28223 \size normal
28224 \emph off
28225 \bar no
28226 \noun off
28227 \color none
28228 Ding2
28229 \end_layout
28230
28231 \end_inset
28232 </cell>
28233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28234 \begin_inset Text
28235
28236 \begin_layout Plain Layout
28237
28238 \family typewriter
28239 \series medium
28240 \shape up
28241 \size normal
28242 \emph off
28243 \bar no
28244 \noun off
28245 \color none
28246 pifont.sty
28247 \end_layout
28248
28249 \end_inset
28250 </cell>
28251 </row>
28252 <row>
28253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28254 \begin_inset Text
28255
28256 \begin_layout Plain Layout
28257
28258 \family sans
28259 \series medium
28260 \shape up
28261 \size normal
28262 \emph off
28263 \bar no
28264 \noun off
28265 \color none
28266 Ding3
28267 \end_layout
28268
28269 \end_inset
28270 </cell>
28271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28272 \begin_inset Text
28273
28274 \begin_layout Plain Layout
28275
28276 \family typewriter
28277 \series medium
28278 \shape up
28279 \size normal
28280 \emph off
28281 \bar no
28282 \noun off
28283 \color none
28284 pifont.sty
28285 \end_layout
28286
28287 \end_inset
28288 </cell>
28289 </row>
28290 <row>
28291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28292 \begin_inset Text
28293
28294 \begin_layout Plain Layout
28295
28296 \family sans
28297 \series medium
28298 \shape up
28299 \size normal
28300 \emph off
28301 \bar no
28302 \noun off
28303 \color none
28304 Ding4
28305 \end_layout
28306
28307 \end_inset
28308 </cell>
28309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28310 \begin_inset Text
28311
28312 \begin_layout Plain Layout
28313
28314 \family typewriter
28315 \series medium
28316 \shape up
28317 \size normal
28318 \emph off
28319 \bar no
28320 \noun off
28321 \color none
28322 pifont.sty
28323 \end_layout
28324
28325 \end_inset
28326 </cell>
28327 </row>
28328 </lyxtabular>
28329
28330 \end_inset
28331
28332
28333 \end_layout
28334
28335 \begin_layout Standard
28336 \SpecialChar LyX
28337  doesn't stop you using bullets from packages you don't have.
28338  If you get errors from \SpecialChar LaTeX
28339  when you try to view or print the file,
28340  then it is likely you are missing a package.
28341 \begin_inset Foot
28342 status collapsed
28343
28344 \begin_layout Plain Layout
28345 \SpecialChar LyX
28346  doesn't restrict your use since you may be editing locally and exporting elsewhere.
28347 \end_layout
28348
28349 \end_inset
28350
28351
28352 \end_layout
28353
28354 \begin_layout Section
28355
28356 \change_inserted -712698321 1674916414
28357 \begin_inset CommandInset label
28358 LatexCommand label
28359 name "sec:How-to-use"
28360
28361 \end_inset
28362
28363
28364 \change_unchanged
28365 How to use it
28366 \end_layout
28367
28368 \begin_layout Standard
28369 Select which bullet depth you want to change then select the bullet shape and size.
28370  Any changes will not be visible in \SpecialChar LyX
28371 ,
28372  but are visible when viewing the document.
28373 \end_layout
28374
28375 \begin_layout Standard
28376 You can reset a bullet shape to the default simply by clicking your right mouse button on the appropriate bullet depth button.
28377 \change_deleted -712698321 1674916288
28378
28379 \begin_inset Foot
28380 status collapsed
28381
28382 \begin_layout Plain Layout
28383
28384 \change_deleted -712698321 1674916287
28385 \begin_inset CommandInset label
28386 LatexCommand label
28387 name "fn:If-you-really"
28388
28389 \end_inset
28390
28391
28392 \change_unchanged
28393 If you 
28394 \emph on
28395 really
28396 \emph default
28397  want to have multiple sets of paragraphs with different sets of bullets in each,
28398  then you're going to have to get your hands dirty with \SpecialChar TeX
28399  code.
28400  The bullet selection dialog can help though because it provides you with the \SpecialChar LaTeX
28401  code for a wide range of bullet shapes.
28402  To make your own custom paragraphs you have the following options:
28403 \end_layout
28404
28405 \begin_layout Plain Layout
28406 \begin_inset ERT
28407 status open
28408
28409 \begin_layout Plain Layout
28410
28411
28412 \backslash
28413 let
28414 \backslash
28415 savelabelitemi=
28416 \backslash
28417 labelitemi
28418 \end_layout
28419
28420 \end_inset
28421
28422
28423 \end_layout
28424
28425 \begin_layout Plain Layout
28426 \begin_inset ERT
28427 status open
28428
28429 \begin_layout Plain Layout
28430
28431
28432 \backslash
28433 renewcommand
28434 \backslash
28435 labelitemi[0]{
28436 \backslash
28437 small
28438 \backslash
28439 (
28440 \backslash
28441 sharp
28442 \backslash
28443 )}
28444 \end_layout
28445
28446 \end_inset
28447
28448
28449 \end_layout
28450
28451 \begin_layout Itemize
28452 Use the \SpecialChar LaTeX
28453  command 
28454 \begin_inset Flex Code
28455 status collapsed
28456
28457 \begin_layout Plain Layout
28458
28459 \backslash
28460 renewcommand{}{}
28461 \end_layout
28462
28463 \end_inset
28464
28465  to specify a new bullet shape for a given depth.
28466  You'll also need to save the current bullet shape so you can restore it again afterwards.
28467  In this itemized list the following \SpecialChar LaTeX
28468  code was used to change the bullet used for the first depth.
28469 \end_layout
28470
28471 \begin_deeper
28472 \begin_layout LyX-Code
28473
28474 \backslash
28475 let
28476 \backslash
28477 savelabelitemi=
28478 \backslash
28479 labelitemi 
28480 \end_layout
28481
28482 \begin_layout LyX-Code
28483
28484 \backslash
28485 renewcommand
28486 \backslash
28487 labelitemi[0]{
28488 \backslash
28489 small
28490 \backslash
28491 (
28492 \backslash
28493 sharp
28494 \backslash
28495 )}
28496 \end_layout
28497
28498 \end_deeper
28499 \begin_layout Itemize
28500 Note that the itemize depth is specified in Roman numerals as part of the 
28501 \family typewriter
28502
28503 \backslash
28504 labelitem
28505 \family default
28506  command.
28507 \end_layout
28508
28509 \begin_layout Itemize
28510 \begin_inset Argument item:1
28511 status open
28512
28513 \begin_layout Plain Layout
28514 \begin_inset ERT
28515 status open
28516
28517 \begin_layout Plain Layout
28518
28519
28520 \backslash
28521 (
28522 \backslash
28523 star
28524 \backslash
28525 )
28526 \end_layout
28527
28528 \end_inset
28529
28530
28531 \end_layout
28532
28533 \end_inset
28534
28535  Specify each individual entry by starting each item with the bullet shape enclosed in a 
28536 \begin_inset Quotes eld
28537 \end_inset
28538
28539 Custom Item
28540 \begin_inset Quotes erd
28541 \end_inset
28542
28543  inset (available at 
28544 \family sans
28545 Insert\SpecialChar menuseparator
28546 Custom Item
28547 \family default
28548 ) and set as 
28549 \begin_inset Flex Noun
28550 status collapsed
28551
28552 \begin_layout Plain Layout
28553 \SpecialChar TeX
28554  Code
28555 \end_layout
28556
28557 \end_inset
28558
28559 .
28560  For example,
28561  this item was started with 
28562 \begin_inset Flex Code
28563 status collapsed
28564
28565 \begin_layout Plain Layout
28566
28567 \backslash
28568 (
28569 \backslash
28570 star
28571 \backslash
28572 )
28573 \end_layout
28574
28575 \end_inset
28576
28577 .
28578 \end_layout
28579
28580 \begin_layout Plain Layout
28581 \begin_inset ERT
28582 status open
28583
28584 \begin_layout Plain Layout
28585
28586
28587 \backslash
28588 renewcommand
28589 \backslash
28590 labelitemi[0]{
28591 \backslash
28592 savelabelitemi}
28593 \end_layout
28594
28595 \end_inset
28596
28597
28598 \end_layout
28599
28600 \begin_layout Plain Layout
28601 You'll also need to revert the labelitem back to its previous setting for the global bullet shape settings to remain in effect.
28602  The way used here was:
28603 \end_layout
28604
28605 \begin_layout LyX-Code
28606
28607 \backslash
28608 renewcommand
28609 \backslash
28610 labelitemi[0]{
28611 \backslash
28612 savelabelitemi}
28613 \end_layout
28614
28615 \end_inset
28616
28617
28618 \change_inserted -712698321 1674916331
28619
28620 \begin_inset CommandInset label
28621 LatexCommand label
28622 name "fn:If-you-really"
28623
28624 \end_inset
28625
28626
28627 \end_layout
28628
28629 \begin_layout Standard
28630
28631 \change_inserted -712698321 1674916288
28632 If you 
28633 \emph on
28634 really
28635 \emph default
28636  want to have multiple sets of paragraphs with different sets of bullets in each,
28637  then you're going to have to get your hands dirty with \SpecialChar TeX
28638  code.
28639  The bullet selection dialog can help though because it provides you with the \SpecialChar LaTeX
28640  code for a wide range of bullet shapes.
28641  To make your own custom paragraphs you have the following options:
28642 \end_layout
28643
28644 \begin_layout Standard
28645
28646 \change_inserted -712698321 1674916288
28647 \begin_inset ERT
28648 status open
28649
28650 \begin_layout Plain Layout
28651
28652 \change_inserted -712698321 1674916288
28653
28654
28655 \backslash
28656 let
28657 \backslash
28658 savelabelitemi=
28659 \backslash
28660 labelitemi
28661 \end_layout
28662
28663 \end_inset
28664
28665
28666 \end_layout
28667
28668 \begin_layout Standard
28669
28670 \change_inserted -712698321 1674916288
28671 \begin_inset ERT
28672 status open
28673
28674 \begin_layout Plain Layout
28675
28676 \change_inserted -712698321 1674916288
28677
28678
28679 \backslash
28680 renewcommand
28681 \backslash
28682 labelitemi[0]{
28683 \backslash
28684 small
28685 \backslash
28686 (
28687 \backslash
28688 sharp
28689 \backslash
28690 )}
28691 \end_layout
28692
28693 \end_inset
28694
28695
28696 \end_layout
28697
28698 \begin_layout Itemize
28699
28700 \change_inserted -712698321 1674916288
28701 Use the \SpecialChar LaTeX
28702  command 
28703 \begin_inset Flex Code
28704 status collapsed
28705
28706 \begin_layout Plain Layout
28707
28708 \change_inserted -712698321 1674916288
28709
28710 \backslash
28711 renewcommand
28712 \change_unchanged
28713
28714 \end_layout
28715
28716 \end_inset
28717
28718  to specify a new bullet shape for a given depth.
28719  You'll also need to save the current bullet shape so you can restore it again afterwards.
28720  In this itemized list the following \SpecialChar LaTeX
28721  code was used to change the bullet used for the first depth.
28722 \end_layout
28723
28724 \begin_deeper
28725 \begin_layout LyX-Code
28726
28727 \change_inserted -712698321 1674916288
28728
28729 \backslash
28730 let
28731 \backslash
28732 savelabelitemi=
28733 \backslash
28734 labelitemi 
28735 \end_layout
28736
28737 \begin_layout LyX-Code
28738
28739 \change_inserted -712698321 1674916288
28740
28741 \backslash
28742 renewcommand
28743 \backslash
28744 labelitemi[0]{
28745 \backslash
28746 small
28747 \backslash
28748 (
28749 \backslash
28750 sharp
28751 \backslash
28752 )}
28753 \end_layout
28754
28755 \end_deeper
28756 \begin_layout Itemize
28757
28758 \change_inserted -712698321 1674916288
28759 Note that the itemize depth is specified in Roman numerals as part of the 
28760 \family typewriter
28761
28762 \backslash
28763 labelitem
28764 \family default
28765  command.
28766 \end_layout
28767
28768 \begin_layout Itemize
28769
28770 \change_inserted -712698321 1674916288
28771 \begin_inset Argument item:1
28772 status open
28773
28774 \begin_layout Plain Layout
28775
28776 \change_inserted -712698321 1674916288
28777 \begin_inset ERT
28778 status open
28779
28780 \begin_layout Plain Layout
28781
28782 \change_inserted -712698321 1674916288
28783
28784
28785 \backslash
28786 (
28787 \backslash
28788 star
28789 \backslash
28790 )
28791 \end_layout
28792
28793 \end_inset
28794
28795
28796 \change_unchanged
28797
28798 \end_layout
28799
28800 \end_inset
28801
28802  Specify each individual entry by starting each item with the bullet shape enclosed in a 
28803 \begin_inset Quotes eld
28804 \end_inset
28805
28806 Custom Item
28807 \begin_inset Quotes erd
28808 \end_inset
28809
28810  inset (available at 
28811 \family sans
28812 Insert\SpecialChar menuseparator
28813 Custom Item
28814 \family default
28815 ) and set as 
28816 \begin_inset Flex Noun
28817 status collapsed
28818
28819 \begin_layout Plain Layout
28820
28821 \change_inserted -712698321 1674916288
28822 \SpecialChar TeX
28823  Code
28824 \change_unchanged
28825
28826 \end_layout
28827
28828 \end_inset
28829
28830 .
28831  For example,
28832  this item was started with 
28833 \begin_inset Flex Code
28834 status collapsed
28835
28836 \begin_layout Plain Layout
28837
28838 \change_inserted -712698321 1674916288
28839
28840 \backslash
28841 (
28842 \backslash
28843 star
28844 \backslash
28845 )
28846 \change_unchanged
28847
28848 \end_layout
28849
28850 \end_inset
28851
28852 .
28853 \end_layout
28854
28855 \begin_layout Standard
28856
28857 \change_inserted -712698321 1674916288
28858 \begin_inset ERT
28859 status open
28860
28861 \begin_layout Plain Layout
28862
28863 \change_inserted -712698321 1674916288
28864
28865
28866 \backslash
28867 renewcommand
28868 \backslash
28869 labelitemi[0]{
28870 \backslash
28871 savelabelitemi}
28872 \end_layout
28873
28874 \end_inset
28875
28876
28877 \end_layout
28878
28879 \begin_layout Standard
28880
28881 \change_inserted -712698321 1674916288
28882 You'll also need to revert the labelitem back to its previous setting for the global bullet shape settings to remain in effect.
28883  The way used here was:
28884 \end_layout
28885
28886 \begin_layout LyX-Code
28887
28888 \change_inserted -712698321 1674916288
28889
28890 \backslash
28891 renewcommand
28892 \backslash
28893 labelitemi[0]{
28894 \backslash
28895 savelabelitemi}
28896 \change_unchanged
28897
28898 \end_layout
28899
28900 \begin_layout Chapter
28901 Supplemental Tools
28902 \end_layout
28903
28904 \begin_layout Section
28905 Multipart Documents
28906 \end_layout
28907
28908 \begin_layout Subsection
28909 General Operation
28910 \end_layout
28911
28912 \begin_layout Standard
28913 When you are working on a large file with many sections,
28914  it is often convenient to break up the document into several files,
28915  or perhaps you have something where a table may change from time to time,
28916  but the preceding text does not.
28917  In these cases,
28918  you should seriously consider using multipart documents.
28919  For example,
28920  scientific papers often have five major sections:
28921  the introduction,
28922  observations,
28923  results,
28924  discussion,
28925  and conclusion.
28926  Each of these could be its own separate \SpecialChar LyX
28927  file,
28928  with one 
28929 \begin_inset Quotes eld
28930 \end_inset
28931
28932 master
28933 \begin_inset Quotes erd
28934 \end_inset
28935
28936  file which contains the title,
28937  authors,
28938  abstract,
28939  references,
28940  etc.,
28941  plus the five included files.
28942  It is important to note that each of these files is a full \SpecialChar LyX
28943  file which can be formatted and printed on its own,
28944  as well as included in a master file.
28945  Each of these files must have the same document class,
28946  however—
28947 don't attempt to mix book classes with article classes.
28948  You may also include \SpecialChar LaTeX
28949  files;
28950  however,
28951  these files must not have their own preamble (i.
28952 \begin_inset space \thinspace{}
28953 \end_inset
28954
28955 e.
28956 \begin_inset space \space{}
28957 \end_inset
28958
28959 everything up to and including the 
28960 \begin_inset Flex Code
28961 status collapsed
28962
28963 \begin_layout Plain Layout
28964
28965 \backslash
28966 begin{document}
28967 \end_layout
28968
28969 \end_inset
28970
28971  line as well as the 
28972 \begin_inset Flex Code
28973 status collapsed
28974
28975 \begin_layout Plain Layout
28976
28977 \backslash
28978 end{document}
28979 \end_layout
28980
28981 \end_inset
28982
28983  line must be deleted) or else errors will be generated when you try to make a DVI file.
28984 \end_layout
28985
28986 \begin_layout Standard
28987 \SpecialChar LyX
28988  allows you to include files quite easily with 
28989 \change_deleted -712698321 1674917774
28990
28991 \begin_inset Flex Noun
28992 status collapsed
28993
28994 \begin_layout Plain Layout
28995 Insert\SpecialChar menuseparator
28996 Child
28997 \begin_inset space ~
28998 \end_inset
28999
29000 Document
29001 \end_layout
29002
29003 \end_inset
29004
29005
29006 \change_inserted -712698321 1674917774
29007
29008 \family sans
29009 Insert\SpecialChar menuseparator
29010 Child
29011 \begin_inset space ~
29012 \end_inset
29013
29014 Document
29015 \change_unchanged
29016
29017 \family default
29018 .
29019  When you click on this selection a small box is inserted into the file at the current cursor location.
29020  Clicking on the box raises a dialog which allows you to select the file to be included,
29021  and the method of its inclusion.
29022  
29023 \end_layout
29024
29025 \begin_layout Standard
29026 The file selection box should by now be obvious.
29027  The three inclusion methods are 
29028 \begin_inset Quotes eld
29029 \end_inset
29030
29031 include
29032 \begin_inset Quotes erd
29033 \end_inset
29034
29035 ,
29036  
29037 \begin_inset Quotes eld
29038 \end_inset
29039
29040 input
29041 \begin_inset Quotes erd
29042 \end_inset
29043
29044 ,
29045  and 
29046 \begin_inset Quotes eld
29047 \end_inset
29048
29049 verbatim
29050 \begin_inset Quotes erd
29051 \end_inset
29052
29053 .
29054  The methods 
29055 \begin_inset Quotes eld
29056 \end_inset
29057
29058 include
29059 \begin_inset Quotes erd
29060 \end_inset
29061
29062  and 
29063 \begin_inset Quotes eld
29064 \end_inset
29065
29066 input
29067 \begin_inset Quotes erd
29068 \end_inset
29069
29070  are similar in many ways,
29071  but there are also some notable differences:
29072 \end_layout
29073
29074 \begin_layout Enumerate
29075 Files that are 
29076 \begin_inset Quotes eld
29077 \end_inset
29078
29079 included
29080 \begin_inset Quotes erd
29081 \end_inset
29082
29083  are typeset beginning on a new page,
29084  while files that are 
29085 \begin_inset Quotes eld
29086 \end_inset
29087
29088 inputted
29089 \begin_inset Quotes erd
29090 \end_inset
29091
29092  are typeset starting on the current page.
29093 \end_layout
29094
29095 \begin_layout Enumerate
29096 \begin_inset Quotes eld
29097 \end_inset
29098
29099 Included
29100 \begin_inset Quotes erd
29101 \end_inset
29102
29103  files cannot themselves 
29104 \begin_inset Quotes eld
29105 \end_inset
29106
29107 include
29108 \begin_inset Quotes erd
29109 \end_inset
29110
29111  further files (
29112 \begin_inset Quotes eld
29113 \end_inset
29114
29115 grandchilds
29116 \begin_inset Quotes erd
29117 \end_inset
29118
29119 ).
29120  With 
29121 \begin_inset Quotes eld
29122 \end_inset
29123
29124 input
29125 \begin_inset Quotes erd
29126 \end_inset
29127
29128 ,
29129  on the other hand,
29130  infinite sub-inputting is possible.
29131 \end_layout
29132
29133 \begin_layout Enumerate
29134 \begin_inset Quotes eld
29135 \end_inset
29136
29137 Include
29138 \begin_inset Quotes erd
29139 \end_inset
29140
29141  allow for the output of only selected 
29142 \begin_inset Quotes eld
29143 \end_inset
29144
29145 included
29146 \begin_inset Quotes erd
29147 \end_inset
29148
29149  files,
29150  while maintaining the actual counters (pagination etc.) and references (please refer to the section 
29151 \emph on
29152 Child
29153 \begin_inset space ~
29154 \end_inset
29155
29156 Documents
29157 \emph default
29158  of the 
29159 \emph on
29160 Embedded
29161 \begin_inset space ~
29162 \end_inset
29163
29164 Objects
29165 \emph default
29166  manual for details).
29167 \end_layout
29168
29169 \begin_layout Standard
29170 Hence,
29171  
29172 \begin_inset Quotes eld
29173 \end_inset
29174
29175 include
29176 \begin_inset Quotes erd
29177 \end_inset
29178
29179  is the preferred method for chapters that are outsourced to child documents,
29180  while 
29181 \begin_inset Quotes eld
29182 \end_inset
29183
29184 input
29185 \begin_inset Quotes erd
29186 \end_inset
29187
29188  is more suitable for arbitrary file inheritance.
29189 \end_layout
29190
29191 \begin_layout Standard
29192
29193 \begin_inset Quotes eld
29194 \end_inset
29195
29196 verbatim
29197 \begin_inset Quotes erd
29198 \end_inset
29199
29200  included file allows you to include a file typeset exactly as it appears in the file,
29201  i.
29202 \begin_inset space \thinspace{}
29203 \end_inset
29204
29205 e.
29206 \begin_inset space \space{}
29207 \end_inset
29208
29209 in 
29210 \begin_inset Flex Code
29211 status collapsed
29212
29213 \begin_layout Plain Layout
29214 verbatim
29215 \end_layout
29216
29217 \end_inset
29218
29219  mode,
29220  with the characters set in a fixed-width typewriter font.
29221  Normally,
29222  spaces in this file are invisible,
29223  though two consecutive spaces are conserved,
29224  unlike \SpecialChar LyX
29225 's normal treatment of spaces.
29226  However,
29227  setting the 
29228 \begin_inset Flex Noun
29229 status collapsed
29230
29231 \begin_layout Plain Layout
29232 Mark
29233 \begin_inset space ~
29234 \end_inset
29235
29236 spaces
29237 \begin_inset space ~
29238 \end_inset
29239
29240 in
29241 \begin_inset space ~
29242 \end_inset
29243
29244 output
29245 \end_layout
29246
29247 \end_inset
29248
29249  checkbox typesets a mark to unambiguously define the presence of a space.
29250  
29251 \end_layout
29252
29253 \begin_layout Standard
29254 Generally,
29255  the master file is converted into a full \SpecialChar LaTeX
29256  file before typesetting,
29257  while the included files are converted to \SpecialChar LaTeX
29258  files that do not have all the preamble information.
29259 \end_layout
29260
29261 \begin_layout Subsection
29262 Cross-References Between Files
29263 \end_layout
29264
29265 \begin_layout Standard
29266 \begin_inset Box Shadowbox
29267 position "t"
29268 hor_pos "c"
29269 has_inner_box 1
29270 inner_pos "t"
29271 use_parbox 0
29272 use_makebox 0
29273 width "100col%"
29274 special "none"
29275 height "1in"
29276 height_special "totalheight"
29277 thickness "0.4pt"
29278 separation "3pt"
29279 shadowsize "4pt"
29280 framecolor "black"
29281 backgroundcolor "none"
29282 status open
29283
29284 \begin_layout Plain Layout
29285 This section is somewhat out of date.
29286  Need to describe default master documents and how children are opened when the master is.
29287  [[FIXME]]
29288 \end_layout
29289
29290 \end_inset
29291
29292
29293 \end_layout
29294
29295 \begin_layout Standard
29296 It is possible to set up cross-references between the different files.
29297  First,
29298  open all the files in question:
29299  let's call them A and B in a two file example,
29300  where B is included in A.
29301  Let's say you insert a label in A,
29302  then want to reference it in B.
29303  Open the cross-reference dialog whilst in document B,
29304  and you can select the 
29305 \begin_inset Quotes eld
29306 \end_inset
29307
29308 buffer
29309 \begin_inset Quotes erd
29310 \end_inset
29311
29312  to use.
29313 \end_layout
29314
29315 \begin_layout Subsection
29316 Bibliography Lists in all Subdocuments
29317 \end_layout
29318
29319 \begin_layout Standard
29320 If you work with child documents,
29321  you might want to have only one main bibliography at the end,
29322  but still be able to have a selected bibliography for the child if you output it on its own.
29323  Here is how to achieve this.
29324 \end_layout
29325
29326 \begin_layout Standard
29327 For the main document,
29328  you just insert a bibliography inset at the place where the main bibliography has to appear (within the master file or within a child).
29329  If the bibliography inset is in the master file,
29330  the references will be inherited by all children,
29331  so they are available in the citation dialog within each child.
29332 \end_layout
29333
29334 \begin_layout Standard
29335 For child-specific bibliographies,
29336  insert bibliography insets within the child documents,
29337  at the place where the bibliography should appear when the child is compiled separately.
29338  However,
29339  the trick is to insert them into a branch (
29340 \family sans
29341 Insert\SpecialChar menuseparator
29342 Branch\SpecialChar menuseparator
29343 Insert New Branch...
29344 \family default
29345 ),
29346  e.
29347 \begin_inset space \thinspace{}
29348 \end_inset
29349
29350 g.
29351  called 
29352 \begin_inset Quotes eld
29353 \end_inset
29354
29355 Childonly
29356 \begin_inset Quotes erd
29357 \end_inset
29358
29359 .
29360  Within the children,
29361  activate the branch (
29362 \family sans
29363 Document\SpecialChar menuseparator
29364 Settings...\SpecialChar menuseparator
29365 Branches
29366 \family default
29367 ).
29368  Within the master,
29369  deactivate the branch (
29370 \family sans
29371 Document\SpecialChar menuseparator
29372 Settings...\SpecialChar menuseparator
29373 Branches
29374 \family default
29375 ).
29376  Now the child's bibliography will be ignored by the master,
29377  but considered by the child.
29378 \end_layout
29379
29380 \begin_layout Standard
29381 If you need multiple bibliographies (e.
29382 \begin_inset space \thinspace{}
29383 \end_inset
29384
29385 g.,
29386  one per child in the 
29387 \emph on
29388 main document
29389 \emph default
29390 ),
29391  please refer to sec.
29392 \begin_inset space ~
29393 \end_inset
29394
29395
29396 \begin_inset CommandInset ref
29397 LatexCommand ref
29398 reference "subsec:Multiple-Bibliographies"
29399 nolink "false"
29400
29401 \end_inset
29402
29403 .
29404 \end_layout
29405
29406 \begin_layout Section
29407 \SpecialChar LyX
29408  Archives
29409 \end_layout
29410
29411 \begin_layout Standard
29412 Users sometimes need to be able to 
29413 \begin_inset Quotes eld
29414 \end_inset
29415
29416 bundle
29417 \begin_inset Quotes erd
29418 \end_inset
29419
29420  a \SpecialChar LyX
29421  file together with all the images (and other files) on which it depends,
29422  either for sending to a publisher or for sharing with a co-author.
29423  \SpecialChar LyX
29424  includes a Python script (
29425 \begin_inset Flex Code
29426 status collapsed
29427
29428 \begin_layout Plain Layout
29429 lyxpak.py
29430 \end_layout
29431
29432 \end_inset
29433
29434 ) that automates this process.
29435  To use it,
29436  you must have either the 
29437 \begin_inset Flex Code
29438 status collapsed
29439
29440 \begin_layout Plain Layout
29441 zipfile
29442 \end_layout
29443
29444 \end_inset
29445
29446  or 
29447 \begin_inset Flex Code
29448 status collapsed
29449
29450 \begin_layout Plain Layout
29451 tarfile
29452 \end_layout
29453
29454 \end_inset
29455
29456  python modules installed on your system.
29457  By default,
29458  the script prefers the 
29459 \begin_inset Flex Code
29460 status collapsed
29461
29462 \begin_layout Plain Layout
29463 gzip
29464 \end_layout
29465
29466 \end_inset
29467
29468 -compressed 
29469 \begin_inset Flex Code
29470 status collapsed
29471
29472 \begin_layout Plain Layout
29473 tar
29474 \end_layout
29475
29476 \end_inset
29477
29478  format on Unix-like systems and the 
29479 \begin_inset Flex Code
29480 status collapsed
29481
29482 \begin_layout Plain Layout
29483 zip
29484 \end_layout
29485
29486 \end_inset
29487
29488  format on Windows.
29489 \end_layout
29490
29491 \begin_layout Standard
29492 \SpecialChar LyX
29493 's configuration process will set the script up to export a `\SpecialChar LyX
29494  Archive',
29495  and this format will then be available under 
29496 \change_deleted -712698321 1674917789
29497
29498 \begin_inset Flex Code
29499 status collapsed
29500
29501 \begin_layout Plain Layout
29502 File\SpecialChar menuseparator
29503 Export
29504 \end_layout
29505
29506 \end_inset
29507
29508
29509 \change_inserted -712698321 1674917789
29510
29511 \family sans
29512 File\SpecialChar menuseparator
29513 Export
29514 \change_unchanged
29515
29516 \family default
29517 .
29518 \end_layout
29519
29520 \begin_layout Standard
29521 Independently of the platform,
29522  the generation of a particular archive format can be forced by adding either the 
29523 \begin_inset Flex Code
29524 status collapsed
29525
29526 \begin_layout Plain Layout
29527 -t
29528 \end_layout
29529
29530 \end_inset
29531
29532  (for the 
29533 \begin_inset Flex Code
29534 status collapsed
29535
29536 \begin_layout Plain Layout
29537 tar
29538 \end_layout
29539
29540 \end_inset
29541
29542  format) or 
29543 \begin_inset Flex Code
29544 status collapsed
29545
29546 \begin_layout Plain Layout
29547 -z
29548 \end_layout
29549
29550 \end_inset
29551
29552  (for the 
29553 \begin_inset Flex Code
29554 status collapsed
29555
29556 \begin_layout Plain Layout
29557 zip
29558 \end_layout
29559
29560 \end_inset
29561
29562  format) switch to the 
29563 \begin_inset Flex Code
29564 status collapsed
29565
29566 \begin_layout Plain Layout
29567 \SpecialChar LyX
29568
29569 \change_deleted -712698321 1674918890
29570 \SpecialChar menuseparator
29571
29572 \change_inserted -712698321 1674918890
29573 ->
29574 \change_unchanged
29575 \SpecialChar LyX
29576  Archive
29577 \end_layout
29578
29579 \end_inset
29580
29581  converter in 
29582 \change_deleted -712698321 1674917814
29583
29584 \begin_inset Flex Code
29585 status collapsed
29586
29587 \begin_layout Plain Layout
29588 Tools\SpecialChar menuseparator
29589 Preferences\SpecialChar menuseparator
29590 File Handling\SpecialChar menuseparator
29591 Converters
29592 \end_layout
29593
29594 \end_inset
29595
29596
29597 \change_inserted -712698321 1674917814
29598
29599 \family sans
29600 Tools\SpecialChar menuseparator
29601 Preferences\SpecialChar menuseparator
29602 File Handling\SpecialChar menuseparator
29603 Converters
29604 \change_unchanged
29605
29606 \family default
29607 .
29608  (Make sure you add the switch after the script name,
29609  not before it.)
29610 \end_layout
29611
29612 \begin_layout Section
29613
29614 \change_deleted -712698321 1674910251
29615 Fancy Headers and Footers
29616 \end_layout
29617
29618 \begin_layout Standard
29619
29620 \change_deleted -712698321 1674910251
29621 The default page layout is rather plain;
29622  for an 
29623 \begin_inset Flex Code
29624 status collapsed
29625
29626 \begin_layout Plain Layout
29627 article
29628 \end_layout
29629
29630 \end_inset
29631
29632  document class,
29633  all you get is a centered page number at the bottom of the page.
29634  This document uses KOMA-script's book class,
29635  so it appears to be a bit fancier.
29636  But to really put on a show,
29637  you need to set the document page style to 
29638 \begin_inset Quotes eld
29639 \end_inset
29640
29641 fancy
29642 \begin_inset Quotes erd
29643 \end_inset
29644
29645 ,
29646  as mentioned in the 
29647 \emph on
29648 User Guide
29649 \emph default
29650 .
29651  This section describes the \SpecialChar LaTeX
29652  code you need to insert in your \SpecialChar LaTeX
29653  preamble in order to get the desired effects.
29654 \end_layout
29655
29656 \begin_layout Standard
29657
29658 \change_deleted -712698321 1674910251
29659 For more information on fancy headers,
29660  see the 
29661 \begin_inset Flex Code
29662 status collapsed
29663
29664 \begin_layout Plain Layout
29665 fancyhdr
29666 \end_layout
29667
29668 \end_inset
29669
29670  package documentation.
29671  (
29672 \begin_inset Flex URL
29673 status collapsed
29674
29675 \begin_layout Plain Layout
29676
29677 https://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html
29678 \end_layout
29679
29680 \end_inset
29681
29682 )
29683 \end_layout
29684
29685 \begin_layout Standard
29686
29687 \change_deleted -712698321 1674910251
29688 The page header is divided into three fields,
29689  not surprisingly labeled 
29690 \begin_inset Quotes eld
29691 \end_inset
29692
29693 left
29694 \begin_inset Quotes erd
29695 \end_inset
29696
29697 ,
29698  
29699 \begin_inset Quotes eld
29700 \end_inset
29701
29702 center
29703 \begin_inset Quotes erd
29704 \end_inset
29705
29706 ,
29707  and 
29708 \begin_inset Quotes eld
29709 \end_inset
29710
29711 right
29712 \begin_inset Quotes erd
29713 \end_inset
29714
29715 .
29716  The footer is also divided into these three fields.
29717  The \SpecialChar LaTeX
29718  commands to set these fields in the simplest manner are 
29719 \begin_inset Flex Code
29720 status collapsed
29721
29722 \begin_layout Plain Layout
29723
29724 \backslash
29725 lhead
29726 \end_layout
29727
29728 \end_inset
29729
29730 ,
29731  
29732 \begin_inset Flex Code
29733 status collapsed
29734
29735 \begin_layout Plain Layout
29736
29737 \backslash
29738 chead
29739 \end_layout
29740
29741 \end_inset
29742
29743 ,
29744  
29745 \begin_inset Flex Code
29746 status collapsed
29747
29748 \begin_layout Plain Layout
29749
29750 \backslash
29751 rhead
29752 \end_layout
29753
29754 \end_inset
29755
29756 ,
29757  
29758 \begin_inset Flex Code
29759 status collapsed
29760
29761 \begin_layout Plain Layout
29762
29763 \backslash
29764 lfoot
29765 \end_layout
29766
29767 \end_inset
29768
29769 ,
29770  etc.
29771  Suppose you wish to put your name in the upper left hand corner of each page.
29772  Simply insert the following command in the preamble:
29773  
29774 \end_layout
29775
29776 \begin_layout Standard
29777
29778 \change_deleted -712698321 1674910251
29779
29780 \family typewriter
29781
29782 \backslash
29783 lhead{John Q.
29784  DocWriter}
29785 \end_layout
29786
29787 \begin_layout Standard
29788
29789 \change_deleted -712698321 1674910251
29790 You will now see your name in the upper left.
29791  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,
29792  e.
29793 \begin_inset space \thinspace{}
29794 \end_inset
29795
29796 g.:
29797 \end_layout
29798
29799 \begin_layout Standard
29800
29801 \change_deleted -712698321 1674910251
29802
29803 \family typewriter
29804
29805 \backslash
29806 cfoot{}
29807 \end_layout
29808
29809 \begin_layout Standard
29810
29811 \change_deleted -712698321 1674910251
29812 Let's get really fancy:
29813  lets put the section number with the word 
29814 \begin_inset Quotes eld
29815 \end_inset
29816
29817 Section
29818 \begin_inset Quotes erd
29819 \end_inset
29820
29821  (e.
29822 \begin_inset space \thinspace{}
29823 \end_inset
29824
29825 g.
29826 \begin_inset space \space{}
29827 \end_inset
29828
29829 Section 3) in the upper left,
29830  the page number (e.
29831 \begin_inset space \thinspace{}
29832 \end_inset
29833
29834 g.
29835 \begin_inset space \space{}
29836 \end_inset
29837
29838 Page 4) in the upper right,
29839  your name in the lower left,
29840  and the date in the lower right.
29841  The following commands should now appear in the preamble:
29842 \end_layout
29843
29844 \begin_layout Standard
29845
29846 \change_deleted -712698321 1674910251
29847
29848 \family typewriter
29849
29850 \backslash
29851 lhead{Section 
29852 \backslash
29853 thesection}
29854 \end_layout
29855
29856 \begin_layout Standard
29857
29858 \change_deleted -712698321 1674910251
29859
29860 \family typewriter
29861
29862 \backslash
29863 chead{}
29864 \end_layout
29865
29866 \begin_layout Standard
29867
29868 \change_deleted -712698321 1674910251
29869
29870 \family typewriter
29871
29872 \backslash
29873 rhead{Page 
29874 \backslash
29875 thepage}
29876 \end_layout
29877
29878 \begin_layout Standard
29879
29880 \change_deleted -712698321 1674910251
29881
29882 \family typewriter
29883
29884 \backslash
29885 lfoot{John Q.
29886  DocWriter}
29887 \end_layout
29888
29889 \begin_layout Standard
29890
29891 \change_deleted -712698321 1674910251
29892
29893 \family typewriter
29894
29895 \backslash
29896 cfoot{}
29897 \end_layout
29898
29899 \begin_layout Standard
29900
29901 \change_deleted -712698321 1674910251
29902
29903 \family typewriter
29904
29905 \backslash
29906 rfoot{
29907 \backslash
29908 today}
29909 \end_layout
29910
29911 \begin_layout Standard
29912
29913 \change_deleted -712698321 1674910251
29914 The commands 
29915 \begin_inset Flex Code
29916 status collapsed
29917
29918 \begin_layout Plain Layout
29919
29920 \backslash
29921 thesection
29922 \end_layout
29923
29924 \end_inset
29925
29926  and 
29927 \begin_inset Flex Code
29928 status collapsed
29929
29930 \begin_layout Plain Layout
29931
29932 \backslash
29933 thepage
29934 \end_layout
29935
29936 \end_inset
29937
29938  access \SpecialChar LaTeX
29939 's section and page counters,
29940  and so print out the current section and page number.
29941  
29942 \begin_inset Flex Code
29943 status collapsed
29944
29945 \begin_layout Plain Layout
29946
29947 \backslash
29948 today
29949 \end_layout
29950
29951 \end_inset
29952
29953  simply prints out today's date.
29954 \end_layout
29955
29956 \begin_layout Standard
29957
29958 \change_deleted -712698321 1674910251
29959 The thicknesses of the horizontal rules drawn beneath the header and above the footer can also be modified.
29960  If you don't want one of the rules,
29961  set its thickness to 0.
29962  The header rule has a default thickness of 0.4pt,
29963  the footer rule is 0pt.
29964  Use commands
29965 \family typewriter
29966  
29967 \family default
29968 like 
29969 \begin_inset Flex Code
29970 status collapsed
29971
29972 \begin_layout Plain Layout
29973
29974 \backslash
29975 renewcommand{
29976 \backslash
29977 headrulewidth}{0.4pt}
29978 \end_layout
29979
29980 \end_inset
29981
29982  and 
29983 \begin_inset Flex Code
29984 status collapsed
29985
29986 \begin_layout Plain Layout
29987
29988 \backslash
29989 renewcommand{
29990 \backslash
29991 footrulewidth}{0.4pt}
29992 \end_layout
29993
29994 \end_inset
29995
29996  to set the thicknesses.
29997 \end_layout
29998
29999 \begin_layout Standard
30000
30001 \change_deleted -712698321 1674910251
30002 You can switch the header/footer settings on and off for individual pages using commands like 
30003 \begin_inset Flex Code
30004 status collapsed
30005
30006 \begin_layout Plain Layout
30007
30008 \backslash
30009 thispagestyle{empty}
30010 \end_layout
30011
30012 \end_inset
30013
30014 ,
30015  
30016 \begin_inset Flex Code
30017 status collapsed
30018
30019 \begin_layout Plain Layout
30020
30021 \backslash
30022 thispagestyle{plain}
30023 \end_layout
30024
30025 \end_inset
30026
30027 ,
30028  and 
30029 \begin_inset Flex Code
30030 status collapsed
30031
30032 \begin_layout Plain Layout
30033
30034 \backslash
30035 thispagestyle{fancy}
30036 \end_layout
30037
30038 \end_inset
30039
30040 .
30041  Simply insert them in the text on the page you want changed and mark them as \SpecialChar TeX
30042  code.
30043  In fact,
30044  title pages are marked as plain by default,
30045  while following pages are marked fancy when using the global fancy setting.
30046 \end_layout
30047
30048 \begin_layout Standard
30049
30050 \change_deleted -712698321 1674910251
30051 As a final example,
30052  it is possible to include an image in the header or footer.
30053  Suppose you want to put a company logo in the upper lefthand corner.
30054  You might try something like
30055 \end_layout
30056
30057 \begin_layout Standard
30058
30059 \change_deleted -712698321 1674910251
30060
30061 \family typewriter
30062
30063 \backslash
30064 lhead{
30065 \backslash
30066 resizebox{1in}{!}{
30067 \backslash
30068 includegraphics{logo.eps}}}
30069 \end_layout
30070
30071 \begin_layout Standard
30072 \noindent
30073
30074 \change_deleted -712698321 1674910251
30075 (you may need to preface this with 
30076 \begin_inset Flex Code
30077 status collapsed
30078
30079 \begin_layout Plain Layout
30080
30081 \backslash
30082 usepackage{graphics}
30083 \end_layout
30084
30085 \end_inset
30086
30087  if you don't include graphics elsewhere in your document).
30088 \change_unchanged
30089
30090 \end_layout
30091
30092 \begin_layout Chapter
30093 \SpecialChar LyX
30094  and the World Wide Web
30095 \end_layout
30096
30097 \begin_layout Standard
30098 \SpecialChar LyX
30099  has long supported the export of documents to various web-friendly formats,
30100  such as HTML.
30101  Before version 2.0,
30102  however,
30103  HTML export was always accomplished by the use of external converters.
30104 \begin_inset Foot
30105 status collapsed
30106
30107 \begin_layout Plain Layout
30108 For details on the use of external converters with \SpecialChar LyX
30109 ,
30110  see the 
30111 \emph on
30112 Converters
30113 \emph default
30114  section of the Customization manual.
30115 \end_layout
30116
30117 \end_inset
30118
30119  These fall into two large groups:
30120  there are converters that use \SpecialChar LaTeX
30121  as an intermediate format,
30122  such as 
30123 \begin_inset Flex Code
30124 status collapsed
30125
30126 \begin_layout Plain Layout
30127 htlatex
30128 \end_layout
30129
30130 \end_inset
30131
30132 ,
30133  
30134 \begin_inset Flex Code
30135 status collapsed
30136
30137 \begin_layout Plain Layout
30138 html2latex
30139 \end_layout
30140
30141 \end_inset
30142
30143 ,
30144  and 
30145 \begin_inset Flex Code
30146 status collapsed
30147
30148 \begin_layout Plain Layout
30149 plastex
30150 \end_layout
30151
30152 \end_inset
30153
30154 ,
30155  relying upon \SpecialChar LyX
30156  to produce the \SpecialChar LaTeX
30157 ;
30158  and there is a converter that works directly on \SpecialChar LyX
30159  files,
30160  
30161 \begin_inset Flex Code
30162 status collapsed
30163
30164 \begin_layout Plain Layout
30165 e\SpecialChar LyX
30166 er
30167 \end_layout
30168
30169 \end_inset
30170
30171 .
30172  All of these have different advantages and disadvantages.
30173  
30174 \end_layout
30175
30176 \begin_layout Standard
30177 The \SpecialChar LaTeX
30178 -based converters have the advantage that,
30179  in principle,
30180  they know everything about the exported document that \SpecialChar LaTeX
30181  does.
30182  Such converters do not care,
30183  for example,
30184  if a certain block of code was produced by \SpecialChar LyX
30185  or was Evil Red Text.
30186  These converters know about 
30187 \begin_inset Flex Code
30188 status collapsed
30189
30190 \begin_layout Plain Layout
30191 aux
30192 \end_layout
30193
30194 \end_inset
30195
30196  files,
30197  counters,
30198  and references,
30199  and can often make use of the 
30200 \begin_inset Flex Code
30201 status collapsed
30202
30203 \begin_layout Plain Layout
30204 bbl
30205 \end_layout
30206
30207 \end_inset
30208
30209  files generated by Bib\SpecialChar TeX
30210 .
30211  On the other hand,
30212  \SpecialChar LaTeX
30213  is a very hard language to parse—
30214 it is sometimes said that only \SpecialChar TeX
30215  itself understands \SpecialChar TeX
30216
30217 and \SpecialChar LaTeX
30218 -based converters will often choke on what seem to be quite simple constructs;
30219  complex ones can throw them completely,
30220  and as of this writing,
30221  for example,
30222  the 
30223 \emph on
30224 Embedded Objects
30225 \emph default
30226  manual will not export with 
30227 \begin_inset Flex Code
30228 status collapsed
30229
30230 \begin_layout Plain Layout
30231 htlatex
30232 \end_layout
30233
30234 \end_inset
30235
30236 ,
30237  though the others will.
30238  The other issue concerns how math is handled.
30239  These converters typically convert the formulae into little pictures that are then linked from the HTML document.
30240  Since these are actually generated by \SpecialChar LaTeX
30241 ,
30242  they are accurate.
30243  But they do not scale well,
30244  and just getting them to look as if they are actually meant to be in your document—
30245 so that the font sizes seem to be roughly the same—
30246 can be a challenge.
30247 \end_layout
30248
30249 \begin_layout Standard
30250 Alex Fernandez's 
30251 \begin_inset Flex Code
30252 status collapsed
30253
30254 \begin_layout Plain Layout
30255 e\SpecialChar LyX
30256 er
30257 \end_layout
30258
30259 \end_inset
30260
30261  (
30262 \begin_inset CommandInset href
30263 LatexCommand href
30264 name "http://pinchito.es/elyxer/"
30265 target "http://pinchito.es/elyxer/"
30266 literal "false"
30267
30268 \end_inset
30269
30270 ) solves some of these problems.
30271  In particular,
30272  the formulae it produces scale perfectly,
30273  since it renders math using a combination of HTML and CSS rather than converting the formulae to images.
30274  But even moderately complex formula are rendered less well than with 
30275 \begin_inset Flex Code
30276 status collapsed
30277
30278 \begin_layout Plain Layout
30279 htlatex
30280 \end_layout
30281
30282 \end_inset
30283
30284 ;
30285  this reflects the limitations of HTML.
30286 \begin_inset Foot
30287 status collapsed
30288
30289 \begin_layout Plain Layout
30290 That said,
30291  
30292 \begin_inset Flex Code
30293 status collapsed
30294
30295 \begin_layout Plain Layout
30296 e\SpecialChar LyX
30297 er
30298 \end_layout
30299
30300 \end_inset
30301
30302  can also use jsMath and MathJax for equations,
30303  but this setting is only available globally and requires one to have access to a server that runs the backend.
30304 \end_layout
30305
30306 \end_inset
30307
30308  More importantly (as of version 1.1.1,
30309  at least),
30310  
30311 \begin_inset Flex Code
30312 status collapsed
30313
30314 \begin_layout Plain Layout
30315 e\SpecialChar LyX
30316 er
30317 \end_layout
30318
30319 \end_inset
30320
30321  has limited support for math macros and no support for user-defined paragraph or character styles.
30322  These limitations make 
30323 \begin_inset Flex Code
30324 status collapsed
30325
30326 \begin_layout Plain Layout
30327 e\SpecialChar LyX
30328 er
30329 \end_layout
30330
30331 \end_inset
30332
30333  unsuitable for many of the documents \SpecialChar LyX
30334  users produce.
30335  In principle,
30336  of course,
30337  these problems could be solved,
30338  but the \SpecialChar LyX
30339  developers have decided to follow a different path and have made \SpecialChar LyX
30340  itself capable of writing XHTML,
30341  just as it is capable of writing \SpecialChar LaTeX
30342 ,
30343  DocBook,
30344  and plaintext.
30345 \end_layout
30346
30347 \begin_layout Standard
30348 As of this writing,
30349  XHTML output remains under development and should probably be regarded as 
30350 \begin_inset Quotes eld
30351 \end_inset
30352
30353 experimental
30354 \begin_inset Quotes erd
30355 \end_inset
30356
30357 .
30358 \begin_inset Foot
30359 status collapsed
30360
30361 \begin_layout Plain Layout
30362 The file 
30363 \begin_inset Flex Code
30364 status collapsed
30365
30366 \begin_layout Plain Layout
30367 development/HTML/HTML.notes
30368 \end_layout
30369
30370 \end_inset
30371
30372 ,
30373  which can be found in the \SpecialChar LyX
30374  source tree or 
30375 \begin_inset CommandInset href
30376 LatexCommand href
30377 name "accessed online"
30378 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
30379 literal "false"
30380
30381 \end_inset
30382
30383 ,
30384  usually contains up-to-date information about the state of XHTML output.
30385  See also the list of XHTML bugs on 
30386 \begin_inset CommandInset href
30387 LatexCommand href
30388 name "the bug tracker"
30389 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"
30390 literal "false"
30391
30392 \end_inset
30393
30394 .
30395 \end_layout
30396
30397 \end_inset
30398
30399  Still,
30400  the developers have chosen this approach because it has several potential advantages over the other two.
30401 \end_layout
30402
30403 \begin_layout Standard
30404 These advantages are primarily due to the fact that the XHTML output routines,
30405  since they are part of \SpecialChar LyX
30406 ,
30407  know everything \SpecialChar LyX
30408  knows about the document being exported.
30409 \begin_inset Foot
30410 status collapsed
30411
30412 \begin_layout Plain Layout
30413 Another advantage is that,
30414  since these routines are internal to \SpecialChar LyX
30415 ,
30416  they are immune to changes in \SpecialChar LyX
30417 's file format,
30418  or to changes in the semantics of existing insets.
30419 \end_layout
30420
30421 \end_inset
30422
30423  So they know about the table of contents (as displayed in the outline),
30424  about the counters associated with different paragraph styles,
30425  and about user-defined styles.
30426  The XHTML output routines know what \SpecialChar LyX
30427  knows about internationalization,
30428  too,
30429  so they will output 
30430 \begin_inset Quotes eld
30431 \end_inset
30432
30433 Chapter 1
30434 \begin_inset Quotes erd
30435 \end_inset
30436
30437  or 
30438 \begin_inset Quotes eld
30439 \end_inset
30440
30441
30442 \lang ngerman
30443 Kapitel
30444 \lang english
30445  1
30446 \begin_inset Quotes erd
30447 \end_inset
30448
30449 ,
30450  depending upon the language in effect at the time.
30451  
30452 \end_layout
30453
30454 \begin_layout Standard
30455 Quite generally,
30456  the output routines know what \SpecialChar LyX
30457  knows about document layout,
30458  that is,
30459  about how the document is to be rendered on screen.
30460  We use this information when we output the document as XHTML.
30461  In particular,
30462  \SpecialChar LyX
30463  
30464 \emph on
30465 automatically
30466 \emph default
30467  generates CSS style information corresponding to the layout information it uses to render the document on screen:
30468  if section headings are supposed to be sans-serif and bold as seen in \SpecialChar LyX
30469 ,
30470  then (by default) they will be sans-serif and bold when viewed in a web browser,
30471  too.
30472  And this is true not just for pre-defined styles,
30473  like Section,
30474  but for any style,
30475  including user-defined styles.
30476  Indeed,
30477  the XHTML output routines make no distinction between user-defined paragraph and 
30478 \change_deleted 244031559 1603876931
30479 character
30480 \change_inserted 244031559 1603876940
30481 text
30482 \change_unchanged
30483  styles and \SpecialChar LyX
30484 's own pre-defined styles:
30485  in each case,
30486  everything \SpecialChar LyX
30487  knows about the styles is contained in the layout files.
30488  And much the same is true as regards pre-defined textual insets,
30489  such as footnotes,
30490  and various custom insets.
30491  
30492 \end_layout
30493
30494 \begin_layout Standard
30495 The result is that XHTML output can be customized and extended in exactly the same way \SpecialChar LaTeX
30496  output can be customized and extended:
30497  through layout files and modules.
30498  See chapter five of the 
30499 \emph on
30500 Customization 
30501 \emph default
30502 manual for the details.
30503 \end_layout
30504
30505 \begin_layout Standard
30506 The remainder of this chapter contains more detailed information on XHTML output,
30507  its limitations,
30508  and ways to work around those limitations.
30509 \end_layout
30510
30511 \begin_layout Section
30512 Math Output in XHTML
30513 \end_layout
30514
30515 \begin_layout Standard
30516 \SpecialChar LyX
30517  offers four choices for how math is rendered.
30518  These have various advantages and disadvantages:
30519 \end_layout
30520
30521 \begin_layout Itemize
30522 MathML
30523 \begin_inset Newline newline
30524 \end_inset
30525
30526 MathML is a dialect of XML designed specifically for mathematics on the web,
30527  and it typically renders very well in browsers that support it.
30528  The disadvantage is that not all browsers support MathML,
30529  and support is not complete even in the Gecko-based browsers,
30530  such as Firefox.
30531 \begin_inset Newline newline
30532 \end_inset
30533
30534 If \SpecialChar LyX
30535  is unable to render a formula as MathML—
30536 for example,
30537  if the formula uses the 
30538 \begin_inset Flex Code
30539 status collapsed
30540
30541 \begin_layout Plain Layout
30542 xymatrix
30543 \end_layout
30544
30545 \end_inset
30546
30547  package or ERT—
30548 then it will instead output the formula as an image.
30549  
30550 \end_layout
30551
30552 \begin_layout Itemize
30553 HTML
30554 \begin_inset Newline newline
30555 \end_inset
30556
30557 As mentioned above,
30558  
30559 \begin_inset Flex Code
30560 status collapsed
30561
30562 \begin_layout Plain Layout
30563 elyxer
30564 \end_layout
30565
30566 \end_inset
30567
30568  outputs math as HTML,
30569  styled by CSS.
30570 \begin_inset Foot
30571 status collapsed
30572
30573 \begin_layout Plain Layout
30574 \SpecialChar LyX
30575  has borrowed some of the CSS for its HTML output from 
30576 \begin_inset Flex Code
30577 status collapsed
30578
30579 \begin_layout Plain Layout
30580 elyxer
30581 \end_layout
30582
30583 \end_inset
30584
30585 .
30586 \end_layout
30587
30588 \end_inset
30589
30590  For simple formulae,
30591  this can work quite well,
30592  though with more complicated formulae it tends to break down.
30593  Still,
30594  this method has the advantage that it is very widely supported and so it may be appropriate for documents that contain only a little,
30595  fairly simple math.
30596 \begin_inset Newline newline
30597 \end_inset
30598
30599 If Lyx is unable to render a formula as HTML—
30600 for example,
30601  if the formula uses the 
30602 \begin_inset Flex Code
30603 status collapsed
30604
30605 \begin_layout Plain Layout
30606 xymatrix
30607 \end_layout
30608
30609 \end_inset
30610
30611  package or ERT—
30612 then it will instead output the formula as an image.
30613  
30614 \end_layout
30615
30616 \begin_layout Itemize
30617 Images
30618 \begin_inset Newline newline
30619 \end_inset
30620
30621 Like 
30622 \begin_inset Flex Code
30623 status collapsed
30624
30625 \begin_layout Plain Layout
30626 htlatex
30627 \end_layout
30628
30629 \end_inset
30630
30631 ,
30632  \SpecialChar LyX
30633  will output formulae as images,
30634  the very same images,
30635  in fact,
30636  that are used for instant preview.
30637 \begin_inset Foot
30638 status collapsed
30639
30640 \begin_layout Plain Layout
30641 Instant preview does 
30642 \emph on
30643 not 
30644 \emph default
30645 have to be on for images to be output,
30646  however.
30647 \end_layout
30648
30649 \end_inset
30650
30651  The advantage to this method is that the images are simply generated by \SpecialChar LaTeX
30652 ,
30653  so they are very accurate.
30654  The disadvantage,
30655  as mentioned earlier,
30656  is that these are bitmapped images,
30657  so they do not scale terribly well,
30658  and one cannot copy them,
30659  etc.
30660 \begin_inset Newline newline
30661 \end_inset
30662
30663 The size of the images can be controlled by setting the 
30664 \begin_inset Quotes eld
30665 \end_inset
30666
30667 Math Images Scaling
30668 \begin_inset Quotes erd
30669 \end_inset
30670
30671  parameter under 
30672 \change_deleted -712698321 1674917822
30673
30674 \begin_inset Flex Noun
30675 status collapsed
30676
30677 \begin_layout Plain Layout
30678 Document\SpecialChar menuseparator
30679 Settings\SpecialChar menuseparator
30680 Formats
30681 \end_layout
30682
30683 \end_inset
30684
30685
30686 \change_inserted -712698321 1674917822
30687
30688 \family sans
30689 Document\SpecialChar menuseparator
30690 Settings\SpecialChar menuseparator
30691 Formats
30692 \change_unchanged
30693
30694 \family default
30695 .
30696 \begin_inset Foot
30697 status collapsed
30698
30699 \begin_layout Plain Layout
30700 For those who want to know,
30701  this controls the resolution of the image in dots per inch and is based upon a default of 75 dpi.
30702 \end_layout
30703
30704 \end_inset
30705
30706
30707 \begin_inset Newline newline
30708 \end_inset
30709
30710 If \SpecialChar LyX
30711  for some reason fails to create an image for a formula (e.g.,
30712  if a required \SpecialChar LaTeX
30713  package is not installed),
30714  then it will fall back to outputing the raw \SpecialChar LaTeX
30715 .
30716 \end_layout
30717
30718 \begin_layout Itemize
30719 \SpecialChar LaTeX
30720
30721 \begin_inset Newline newline
30722 \end_inset
30723
30724 Finally,
30725  \SpecialChar LyX
30726  will happily output math as \SpecialChar LaTeX
30727 .
30728  As well as being the output of last resort,
30729  this method can be used with such tools as 
30730 \begin_inset CommandInset href
30731 LatexCommand href
30732 name "jsMath"
30733 target "http://www.math.union.edu/~dpvc/jsMath/"
30734 literal "false"
30735
30736 \end_inset
30737
30738 ,
30739  which uses JavaScript to render \SpecialChar LaTeX
30740  embedded in HTML documents.
30741  \SpecialChar LyX
30742  wraps the \SpecialChar LaTeX
30743  in either a 
30744 \begin_inset Flex Code
30745 status collapsed
30746
30747 \begin_layout Plain Layout
30748 span
30749 \end_layout
30750
30751 \end_inset
30752
30753  (for inline formulas) or 
30754 \begin_inset Flex Code
30755 status collapsed
30756
30757 \begin_layout Plain Layout
30758 div
30759 \end_layout
30760
30761 \end_inset
30762
30763  (for displayed formulas) with 
30764 \begin_inset Flex Code
30765 status collapsed
30766
30767 \begin_layout Plain Layout
30768 class='math'
30769 \end_layout
30770
30771 \end_inset
30772
30773 ,
30774  as is required for jsMath.
30775 \end_layout
30776
30777 \begin_layout Standard
30778 One of these output methods must be selected under 
30779 \change_deleted -712698321 1674917830
30780
30781 \begin_inset Flex Noun
30782 status collapsed
30783
30784 \begin_layout Plain Layout
30785 Document\SpecialChar menuseparator
30786 Settings\SpecialChar menuseparator
30787 Formats
30788 \end_layout
30789
30790 \end_inset
30791
30792
30793 \change_inserted -712698321 1674917830
30794
30795 \family sans
30796 Document\SpecialChar menuseparator
30797 Settings\SpecialChar menuseparator
30798 Formats
30799 \change_unchanged
30800
30801 \family default
30802 .
30803  By default,
30804  \SpecialChar LyX
30805  outputs MathML.
30806  This is a document-wide setting,
30807  therefore.
30808 \end_layout
30809
30810 \begin_layout Standard
30811 Eventually,
30812  \SpecialChar LyX
30813  will offer the user the option to select an alternate output method for a particular inset,
30814  say,
30815  one that isn't being rendered very well by MathML.
30816 \begin_inset Foot
30817 status collapsed
30818
30819 \begin_layout Plain Layout
30820 That said,
30821  since \SpecialChar LyX
30822  falls back to images if the inset contains ERT,
30823  then one can force output as an image by putting some harmless ERT into the math,
30824  for example:
30825  
30826 \begin_inset Formula $a=b\relax$
30827 \end_inset
30828
30829 .
30830 \end_layout
30831
30832 \end_inset
30833
30834
30835 \end_layout
30836
30837 \begin_layout Section
30838 Bibliography and Citations
30839 \end_layout
30840
30841 \begin_layout Standard
30842 XHTML output fully supports bibliographies and citations.
30843  
30844 \end_layout
30845
30846 \begin_layout Standard
30847 Citation labels are generated by the same machinery that generates \SpecialChar LyX
30848 's on-screen labels,
30849  so the labels will look in the output much as they do in \SpecialChar LyX
30850 ,
30851  though better.
30852  If you are using numerical citations,
30853  then \SpecialChar LyX
30854  will output numerical labels,
30855  such as [1] or [17],
30856  rather than simply showing the citation key in square brackets,
30857  as it does on-screen.
30858  If you are using author-year citations,
30859  then \SpecialChar LyX
30860  will add lowercase letters to the years,
30861  just as Bib\SpecialChar TeX
30862  does,
30863  if it finds more than one citation for a given author-year combination.
30864  The labels will be printed with the bibliography entries.
30865  Note that there is,
30866  at present,
30867  no way to customize the appearance of the labels,
30868  for example,
30869  to choose between square brackets and parentheses.
30870 \end_layout
30871
30872 \begin_layout Standard
30873 Bibliography output is handled by the same machinery that handles the presentation of reference information in the citation dialog,
30874  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.
30875  The formatting can be customized in your layout file or,
30876  preferably,
30877  in a module.
30878  See the 
30879 \emph on
30880 Customization
30881 \emph default
30882  manual for the details.
30883 \end_layout
30884
30885 \begin_layout Standard
30886 The main defect at present is that cross-referenced information is printed with every entry with which it is associated.
30887  So you can see things like this:
30888 \end_layout
30889
30890 \begin_layout Quote
30891 Jason Stanley,
30892  
30893 \begin_inset Quotes eld
30894 \end_inset
30895
30896 Context and Logical Form
30897 \begin_inset Quotes erd
30898 \end_inset
30899
30900 ,
30901  in 
30902 \emph on
30903 Language in Context:
30904  Selected Essays
30905 \emph default
30906  (Oxford:
30907  Oxford University Press,
30908  2007),
30909  pp.
30910  30–68.
30911 \end_layout
30912
30913 \begin_layout Quote
30914 Jason Stanley,
30915  
30916 \begin_inset Quotes eld
30917 \end_inset
30918
30919 Semantics in Context
30920 \begin_inset Quotes erd
30921 \end_inset
30922
30923 ,
30924  in 
30925 \emph on
30926 Language in Context:
30927  Selected Essays
30928 \emph default
30929  (Oxford:
30930  Oxford University Press,
30931  2007),
30932  pp.
30933  201–30.
30934 \end_layout
30935
30936 \begin_layout Standard
30937 This should be fixed before long.
30938 \end_layout
30939
30940 \begin_layout Standard
30941 There is no support at present for sectioned bibliographies.
30942  If you have multiple bibliographies,
30943  then \SpecialChar LyX
30944  will print the same bibliography over and over.
30945 \end_layout
30946
30947 \begin_layout Section
30948 Indexes
30949 \end_layout
30950
30951 \begin_layout Standard
30952 \SpecialChar LyX
30953  will happily export indexes as XHTML,
30954  but with certain limitations at the moment.
30955 \end_layout
30956
30957 \begin_layout Standard
30958 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 
30959 \emph on
30960 User's Guide
30961 \emph default
30962 .
30963 \begin_inset Foot
30964 status collapsed
30965
30966 \begin_layout Plain Layout
30967 The main issue here is that \SpecialChar LyX
30968  itself does not really handle these.
30969  It just lets you enter what you would have to enter in raw \SpecialChar LaTeX
30970 .
30971 \end_layout
30972
30973 \end_inset
30974
30975  We'll describe how they are handled using the subsection headings from that section.
30976 \end_layout
30977
30978 \begin_layout Itemize
30979 Grouping Index Entries (aka,
30980  sub-entries):
30981  \SpecialChar LyX
30982  makes an effort to support these,
30983  but the entries must be separated by 
30984 \begin_inset Quotes eld
30985 \end_inset
30986
30987  !
30988  
30989 \begin_inset Quotes erd
30990 \end_inset
30991
30992 ,
30993  that is,
30994  there must be spaces around the exclamation point.
30995  This is because it is otherwise too difficult to check for escaped exclamation points,
30996  ones in math,
30997  and so forth.
30998 \end_layout
30999
31000 \begin_layout Itemize
31001 Page Ranges:
31002  There is no support at all for page ranges,
31003  since these make no sense with XHMTL.
31004  Instead,
31005  you will just get two index entries,
31006  one at either end.
31007 \end_layout
31008
31009 \begin_layout Itemize
31010 Cross-referencing:
31011  There is no support for cross-referencing.
31012  If \SpecialChar LyX
31013  finds an entry containing the 
31014 \begin_inset Quotes eld
31015 \end_inset
31016
31017 |see\SpecialChar ldots
31018
31019 \begin_inset Quotes erd
31020 \end_inset
31021
31022  construct,
31023  it is just dropped,
31024  and the rest is treated as an ordinary index entry.
31025 \end_layout
31026
31027 \begin_layout Itemize
31028 Index Entry Order:
31029  \SpecialChar LyX
31030  does support attempts to fix the sorting order.
31031  It will take what is before the first `@' it finds and use that for sorting,
31032  taking what follows the first `@' to be the actual entry.
31033  At present,
31034  \SpecialChar LyX
31035  does not check for escaped `@',
31036  so do not try to index email addresses.
31037 \end_layout
31038
31039 \begin_layout Itemize
31040 Index Entry Layout:
31041  You can format entries by using the text style dialog,
31042  or by using any other method available within \SpecialChar LyX
31043  itself.
31044  There is no support for constructs like:
31045  
31046 \begin_inset Quotes eld
31047 \end_inset
31048
31049 entry|textbf
31050 \begin_inset Quotes erd
31051 \end_inset
31052
31053 .
31054  Indeed,
31055  if \SpecialChar LyX
31056  finds a pipe symbol,
31057  `|',
31058  in an entry,
31059  it will delete it and everything that follows it.
31060 \end_layout
31061
31062 \begin_layout Itemize
31063 Multiple Indexes:
31064  There is no support for multiple indexes.
31065  Rather,
31066  all index entries will be printed as one large index.
31067  To avoid our printing several versions of the index,
31068  we print only the main index,
31069  so make sure you have one.
31070 \end_layout
31071
31072 \begin_layout Section
31073 Nomenclature and Glossary
31074 \end_layout
31075
31076 \begin_layout Standard
31077 There is at present no support for glossaries.
31078  Adding it would be fairly trivial,
31079  and welcome.
31080 \end_layout
31081
31082 \begin_layout Chapter
31083
31084 \change_inserted 1075283030 1616534180
31085 DocBook Output
31086 \end_layout
31087
31088 \begin_layout Standard
31089
31090 \change_inserted 1075283030 1616534386
31091 Apart from HTML,
31092  \SpecialChar LyX
31093  can generate documents in the DocBook XML vocabulary.
31094  With versions 2.3 and before,
31095  only select templates could be used to generate DocBook documents (only version 4).
31096  Starting with \SpecialChar LyX
31097  2.4,
31098  most \SpecialChar LyX
31099  layouts can generate valid DocBook documents (only version 5).
31100  This feature is built into \SpecialChar LyX
31101  and does not require the use of external tools.
31102 \end_layout
31103
31104 \begin_layout Standard
31105
31106 \change_inserted 1075283030 1616534437
31107 The result is that the DocBook output can be customized and extended in exactly the same way \SpecialChar LaTeX
31108  output can be customized and extended:
31109  through layout files and modules.
31110  See chapter five of the 
31111 \emph on
31112 Customization 
31113 \emph default
31114 manual for the details.
31115 \end_layout
31116
31117 \begin_layout Standard
31118
31119 \change_inserted 1075283030 1616534475
31120 Most \SpecialChar LyX
31121  features are supported with DocBook,
31122  like math output.
31123 \end_layout
31124
31125 \begin_layout Itemize
31126
31127 \change_inserted 1075283030 1616534741
31128 Math output is performed mostly in MathML (the major exception being constructions not supported by \SpecialChar LyX
31129 ,
31130  i.e.
31131  ERTs).
31132  All formulae are also available in raw \SpecialChar TeX
31133  in the DocBook output for further processing.
31134 \end_layout
31135
31136 \begin_layout Itemize
31137
31138 \change_inserted 1075283030 1616534852
31139 Bibliographies and citations are implemented,
31140  including with an external BibTeX file.
31141  Bibliography entries are not prerendered when the detailed information are available,
31142  but rather output with the standard DocBook constructs.
31143  The external DocBook processor is expected to handle the rendering of entries.
31144 \end_layout
31145
31146 \begin_layout Itemize
31147
31148 \change_inserted 1075283030 1616534863
31149 Indexes are supported,
31150  including multiple indices.
31151  Grouping (with 
31152 \family typewriter
31153 !
31154 \family default
31155 ),
31156  page ranges,
31157  and cross-references (
31158 \family typewriter
31159 |see
31160 \family default
31161 ) are supported,
31162  with the exception of the same symbols escaped.
31163  Entry order (
31164 \family typewriter
31165 @
31166 \family default
31167 ) and layout (
31168 \family typewriter
31169 |mathbf
31170 \family default
31171 ) are not supported.
31172  There is no support for escaping of index entries.
31173 \end_layout
31174
31175 \begin_layout Itemize
31176
31177 \change_inserted 1075283030 1616534884
31178 Glossaries are implemented.
31179 \end_layout
31180
31181 \begin_layout Standard
31182
31183 \change_inserted 1075283030 1616534894
31184 Two major parameters can be set at the document level.
31185 \end_layout
31186
31187 \begin_layout Itemize
31188
31189 \change_inserted 1075283030 1616534948
31190 Format for tables:
31191  \SpecialChar LyX
31192  can generate tables either as HTML (default value) or CALS,
31193  depending on the user's requirements.
31194  Most DocBook processors accept both formats.
31195 \end_layout
31196
31197 \begin_layout Itemize
31198
31199 \change_inserted 1075283030 1616535006
31200 MathML prefix:
31201  in DocBook,
31202  MathML is included within its own name space,
31203  unlike HTML.
31204  The implication is that there must be an indication of the tags belonging to the MathML standard.
31205  Three choices are offered:
31206  
31207 \end_layout
31208
31209 \begin_deeper
31210 \begin_layout Itemize
31211
31212 \change_inserted 1075283030 1616535044
31213 Inline:
31214  the MathML name space is defined for each formula (using the 
31215 \family typewriter
31216 xmlns
31217 \family default
31218  attribute on each formula)
31219 \end_layout
31220
31221 \begin_layout Itemize
31222
31223 \change_inserted 1075283030 1616535090
31224 With the 
31225 \family typewriter
31226 m
31227 \family default
31228  prefix (default):
31229  the MathML name space is defined at the document level (using the 
31230 \family typewriter
31231 xmlns:m
31232 \family default
31233  attribute on the root element).
31234  Each MathML is prefixed with 
31235 \family typewriter
31236 m
31237 \family default
31238 :
31239  for instance,
31240  
31241 \family typewriter
31242 m:math
31243 \end_layout
31244
31245 \begin_layout Itemize
31246
31247 \change_inserted 1075283030 1616620405
31248 With the 
31249 \family typewriter
31250 mml
31251 \family default
31252  prefix:
31253  similar to the 
31254 \family typewriter
31255 m
31256 \family default
31257  option,
31258  but with 
31259 \family typewriter
31260 mml
31261 \end_layout
31262
31263 \begin_layout Standard
31264
31265 \change_inserted 1075283030 1616620470
31266 This option is especially useful if you want \SpecialChar LyX
31267  to match your personal style or to work with buggy software that only accepts one prefix for MathML.
31268 \change_unchanged
31269
31270 \end_layout
31271
31272 \end_deeper
31273 \begin_layout Chapter
31274 The \SpecialChar LyX
31275  Server
31276 \end_layout
31277
31278 \begin_layout Section
31279 Introduction
31280 \end_layout
31281
31282 \begin_layout Standard
31283 The `\SpecialChar LyX
31284  server' allows other programs to talk to \SpecialChar LyX
31285 ,
31286  invoke \SpecialChar LyX
31287  commands,
31288  and retrieve information about the \SpecialChar LyX
31289  internal state.
31290  This is only intended for advanced users,
31291  but they should find it useful.
31292  It is by writing to the \SpecialChar LyX
31293  server,
31294  for example,
31295  that bibliography managers,
31296  such as JabRef,
31297  are able to 
31298 \begin_inset Quotes eld
31299 \end_inset
31300
31301 push
31302 \begin_inset Quotes erd
31303 \end_inset
31304
31305  citations to \SpecialChar LyX
31306 .
31307 \end_layout
31308
31309 \begin_layout Section
31310 Starting the \SpecialChar LyX
31311  Server
31312 \begin_inset CommandInset label
31313 LatexCommand label
31314 name "sec:Starting-the-Server"
31315
31316 \end_inset
31317
31318
31319 \end_layout
31320
31321 \begin_layout Standard
31322 The \SpecialChar LyX
31323  server works through the use of a pair of named pipes.
31324  These are usually located in 
31325 \begin_inset Flex Code
31326 status collapsed
31327
31328 \begin_layout Plain Layout
31329 UserDir
31330 \end_layout
31331
31332 \end_inset
31333
31334 ,
31335  (except on Windows,
31336  where 
31337 \emph on
31338 local
31339 \emph default
31340  named pipes are special objects located in 
31341 \begin_inset Flex Code
31342 status collapsed
31343
31344 \begin_layout Plain Layout
31345
31346 \backslash
31347
31348 \backslash
31349 .
31350 \backslash
31351 pipe
31352 \end_layout
31353
31354 \end_inset
31355
31356 ) and have the names 
31357 \begin_inset Quotes eld
31358 \end_inset
31359
31360
31361 \begin_inset Flex Code
31362 status collapsed
31363
31364 \begin_layout Plain Layout
31365 lyxpipe.in
31366 \end_layout
31367
31368 \end_inset
31369
31370
31371 \begin_inset Quotes erd
31372 \end_inset
31373
31374  and 
31375 \begin_inset Quotes eld
31376 \end_inset
31377
31378
31379 \begin_inset Flex Code
31380 status collapsed
31381
31382 \begin_layout Plain Layout
31383 lyxpipe.out
31384 \end_layout
31385
31386 \end_inset
31387
31388
31389 \begin_inset Quotes erd
31390 \end_inset
31391
31392 .
31393  External programs write into 
31394 \begin_inset Flex Code
31395 status collapsed
31396
31397 \begin_layout Plain Layout
31398 lyxpipe.in
31399 \end_layout
31400
31401 \end_inset
31402
31403  and read back data from 
31404 \begin_inset Flex Code
31405 status collapsed
31406
31407 \begin_layout Plain Layout
31408 lyxpipe.out
31409 \end_layout
31410
31411 \end_inset
31412
31413 .
31414  The stem of the pipe names can be defined in the 
31415 \change_deleted -712698321 1674917840
31416
31417 \begin_inset Flex Noun
31418 status collapsed
31419
31420 \begin_layout Plain Layout
31421 Tools\SpecialChar menuseparator
31422 Preferences
31423 \end_layout
31424
31425 \end_inset
31426
31427
31428 \change_inserted -712698321 1674917840
31429
31430 \family sans
31431 Tools\SpecialChar menuseparator
31432 Preferences
31433 \change_unchanged
31434
31435 \family default
31436  dialog,
31437  for example 
31438 \begin_inset Flex Code
31439 status collapsed
31440
31441 \begin_layout Plain Layout
31442 "/home/myhome/lyxpipe"
31443 \end_layout
31444
31445 \end_inset
31446
31447 ,
31448  or 
31449 \begin_inset Flex Code
31450 status collapsed
31451
31452 \begin_layout Plain Layout
31453 "
31454 \backslash
31455
31456 \backslash
31457 .
31458 \backslash
31459 pipe
31460 \backslash
31461 lyxpipe"
31462 \end_layout
31463
31464 \end_inset
31465
31466  on Windows (where any working path instead of lyxpipe can be used,
31467  for example 
31468 \begin_inset Flex Code
31469 status collapsed
31470
31471 \begin_layout Plain Layout
31472 "
31473 \backslash
31474
31475 \backslash
31476 .
31477 \backslash
31478 pipe
31479 \backslash
31480 my
31481 \backslash
31482 lyx
31483 \backslash
31484 pipe"
31485 \end_layout
31486
31487 \end_inset
31488
31489  would also work).
31490  You 
31491 \emph on
31492 must
31493 \emph default
31494  configure this manually in order for the server to start.
31495 \end_layout
31496
31497 \begin_layout Standard
31498 \SpecialChar LyX
31499  will add the '
31500 \begin_inset Flex Code
31501 status collapsed
31502
31503 \begin_layout Plain Layout
31504 .in
31505 \end_layout
31506
31507 \end_inset
31508
31509 ' and '
31510 \begin_inset Flex Code
31511 status collapsed
31512
31513 \begin_layout Plain Layout
31514 .out
31515 \end_layout
31516
31517 \end_inset
31518
31519 ' to create the pipes.
31520  If one of the pipes already exists,
31521  \SpecialChar LyX
31522  will assume that another \SpecialChar LyX
31523  process is already running and will not start the server.
31524  On POSIX (Unix like) systems,
31525  if for some other reason,
31526  an unused 
31527 \begin_inset Quotes eld
31528 \end_inset
31529
31530 stale
31531 \begin_inset Quotes erd
31532 \end_inset
31533
31534  pipe is left in existence when \SpecialChar LyX
31535  closes,
31536  then \SpecialChar LyX
31537  will try to delete it.
31538  If this fails for some reason,
31539  you will need to delete the pipes manually and then restart \SpecialChar LyX
31540 .
31541  On Windows,
31542  pipes are deleted by the OS on program termination or crash,
31543  so 
31544 \begin_inset Quotes eld
31545 \end_inset
31546
31547 stale
31548 \begin_inset Quotes erd
31549 \end_inset
31550
31551  pipes should not be possible.
31552 \end_layout
31553
31554 \begin_layout Standard
31555 To have several \SpecialChar LyX
31556  processes with servers at the same time,
31557  you have to use different configurations,
31558  perhaps by using separate user directories,
31559  each with its own 
31560 \begin_inset Flex Code
31561 status collapsed
31562
31563 \begin_layout Plain Layout
31564 preferences
31565 \end_layout
31566
31567 \end_inset
31568
31569  file,
31570  for each process.
31571 \end_layout
31572
31573 \begin_layout Standard
31574 If you are developing a client program,
31575  you might find it useful to enable debugging information from the \SpecialChar LyX
31576  server.
31577  Do this by starting \SpecialChar LyX
31578  as 
31579 \begin_inset Flex Code
31580 status collapsed
31581
31582 \begin_layout Plain Layout
31583 lyx -dbg lyxserver
31584 \end_layout
31585
31586 \end_inset
31587
31588 .
31589 \end_layout
31590
31591 \begin_layout Standard
31592 You can find a complete example client written in C++ in the source distribution as 
31593 \begin_inset Flex Code
31594 status collapsed
31595
31596 \begin_layout Plain Layout
31597 development/lyxserver/server_monitor.cpp
31598 \end_layout
31599
31600 \end_inset
31601
31602 .
31603 \end_layout
31604
31605 \begin_layout Standard
31606 Another useful tool is the command-line based client found in 
31607 \begin_inset Flex Code
31608 status collapsed
31609
31610 \begin_layout Plain Layout
31611 src/client/lyxclient
31612 \end_layout
31613
31614 \end_inset
31615
31616 .
31617 \end_layout
31618
31619 \begin_layout Section
31620 Normal communication
31621 \end_layout
31622
31623 \begin_layout Standard
31624 To issue a \SpecialChar LyX
31625  call,
31626  the client writes a line of ASCII text into the input pipe.
31627  This line has the following format:
31628 \end_layout
31629
31630 \begin_layout Quote
31631 LYXCMD:
31632 \emph on
31633 clientname
31634 \emph default
31635 :
31636 \emph on
31637 function
31638 \emph default
31639 :
31640 \emph on
31641 argument
31642 \end_layout
31643
31644 \begin_layout Description
31645 clientname is a name that the client can choose arbitrarily.
31646  Its only use is that \SpecialChar LyX
31647  will echo it if it sends an answer—
31648 so a client can dispatch results from different requesters.
31649 \end_layout
31650
31651 \begin_layout Description
31652 function is the function you want \SpecialChar LyX
31653  to perform.
31654  It is the same as the commands you'd use in the minibuffer.
31655 \end_layout
31656
31657 \begin_layout Description
31658 argument is an optional argument which is meaningful only to some functions (for instance,
31659  the 
31660 \begin_inset Quotes eld
31661 \end_inset
31662
31663 self-insert
31664 \begin_inset Quotes erd
31665 \end_inset
31666
31667  LFUN will insert the argument as text at the cursor position).
31668 \end_layout
31669
31670 \begin_layout Standard
31671 The answer from \SpecialChar LyX
31672  will arrive in the output pipe and be of the form
31673 \end_layout
31674
31675 \begin_layout Quote
31676 INFO:
31677 \emph on
31678 clientname
31679 \emph default
31680 :
31681 \emph on
31682 function
31683 \emph default
31684 :
31685 \emph on
31686 data
31687 \end_layout
31688
31689 \begin_layout Standard
31690 where 
31691 \emph on
31692 clientname
31693 \emph default
31694  and 
31695 \emph on
31696 function
31697 \emph default
31698  are just echoed from the command request,
31699  while 
31700 \emph on
31701 data
31702 \emph default
31703  is more or less useful information filled according to how the command execution worked out.
31704  Some commands,
31705  such as 
31706 \begin_inset Quotes eld
31707 \end_inset
31708
31709 font-state
31710 \begin_inset Quotes erd
31711 \end_inset
31712
31713 ,
31714  will return information about the internal state of \SpecialChar LyX
31715 ,
31716  while other will return an empty data-response.
31717  This means that the command execution went fine.
31718 \end_layout
31719
31720 \begin_layout Standard
31721 In case of errors,
31722  the response from \SpecialChar LyX
31723  will have this form
31724 \end_layout
31725
31726 \begin_layout Quote
31727 ERROR:
31728 \emph on
31729 clientname
31730 \emph default
31731 :
31732 \emph on
31733 function
31734 \emph default
31735 :
31736 \emph on
31737 error message
31738 \end_layout
31739
31740 \begin_layout Standard
31741 where the 
31742 \emph on
31743 error message
31744 \emph default
31745  should contain an explanation of why the command failed.
31746 \end_layout
31747
31748 \begin_layout Standard
31749 Examples:
31750 \end_layout
31751
31752 \begin_layout LyX-Code
31753 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
31754 \begin_inset Newline newline
31755 \end_inset
31756
31757 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
31758 \begin_inset Newline newline
31759 \end_inset
31760
31761 read a <~/.lyxpipe.out
31762 \begin_inset Newline newline
31763 \end_inset
31764
31765 echo $a
31766 \end_layout
31767
31768 \begin_layout Subsection
31769 AppleScript (Mac OS X)
31770 \end_layout
31771
31772 \begin_layout Standard
31773 Since \SpecialChar LyX
31774  2.1,
31775  \SpecialChar LyX
31776  supports basic interactions with AppleScript for normal communication through the command run.
31777  This command takes a direct argument (the 
31778 \series bold
31779 function
31780 \series default
31781  to perform) and an optional argument.
31782  It either returns the output of the function or triggers an error with the error message and code.
31783 \end_layout
31784
31785 \begin_layout Standard
31786 Example:
31787 \end_layout
31788
31789 \begin_layout LyX-Code
31790 tell application "\SpecialChar LyX
31791 "
31792 \end_layout
31793
31794 \begin_layout LyX-Code
31795   try
31796 \end_layout
31797
31798 \begin_layout LyX-Code
31799     -- Stores the current file name into f
31800 \end_layout
31801
31802 \begin_layout LyX-Code
31803     set f to (run "server-get-filename" with argument "")
31804 \end_layout
31805
31806 \begin_layout LyX-Code
31807     on error the error_message number the error_number
31808 \end_layout
31809
31810 \begin_layout LyX-Code
31811       display dialog "Error:
31812  " & the error_number & ".
31813  " ¬
31814 \end_layout
31815
31816 \begin_layout LyX-Code
31817               & the error_message buttons {"OK"} default button 1
31818 \end_layout
31819
31820 \begin_layout LyX-Code
31821   end try
31822 \end_layout
31823
31824 \begin_layout LyX-Code
31825 end tell
31826 \end_layout
31827
31828 \begin_layout Section
31829 Notification
31830 \end_layout
31831
31832 \begin_layout Standard
31833 \SpecialChar LyX
31834  can notify clients of events going on asynchronously.
31835  Currently it will only do this if the user binds a key sequence with the function 
31836 \begin_inset Quotes eld
31837 \end_inset
31838
31839 notify
31840 \begin_inset Quotes erd
31841 \end_inset
31842
31843 .
31844  The format of the string \SpecialChar LyX
31845  sends is as follows:
31846 \end_layout
31847
31848 \begin_layout Quote
31849 \begin_inset Flex Code
31850 status collapsed
31851
31852 \begin_layout Plain Layout
31853 NOTIFY:
31854 \end_layout
31855
31856 \end_inset
31857
31858
31859 \emph on
31860 key-sequence
31861 \end_layout
31862
31863 \begin_layout Standard
31864 where 
31865 \emph on
31866 key-sequence
31867 \emph default
31868  is the printed representation of the key sequence that was actually typed by the user.
31869 \end_layout
31870
31871 \begin_layout Standard
31872 This mechanism can be used to extend \SpecialChar LyX
31873 's command set and implement macros.
31874  Bind some key sequence to 
31875 \begin_inset Quotes eld
31876 \end_inset
31877
31878 notify
31879 \begin_inset Quotes erd
31880 \end_inset
31881
31882 .
31883  Then start a client that listens on the output pipe,
31884  dispatches the command according to the sequence,
31885  and starts a function that may use \SpecialChar LyX
31886  calls and \SpecialChar LyX
31887  requests to issue a command or a series of commands to \SpecialChar LyX
31888 .
31889 \end_layout
31890
31891 \begin_layout Section
31892 The simple \SpecialChar LyX
31893  Server Protocol
31894 \end_layout
31895
31896 \begin_layout Standard
31897 \SpecialChar LyX
31898  implements a simple protocol that can be used for session management.
31899  All messages are of the form
31900 \end_layout
31901
31902 \begin_layout Quote
31903 LYXSRV:
31904 \emph on
31905 clientname
31906 \emph default
31907 :
31908 \emph on
31909 protocol message
31910 \end_layout
31911
31912 \begin_layout Standard
31913 where 
31914 \emph on
31915 protocol message
31916 \emph default
31917  can be 
31918 \begin_inset Quotes eld
31919 \end_inset
31920
31921 hello
31922 \begin_inset Quotes erd
31923 \end_inset
31924
31925  or 
31926 \begin_inset Quotes eld
31927 \end_inset
31928
31929 bye
31930 \begin_inset Quotes erd
31931 \end_inset
31932
31933 .
31934  If 
31935 \begin_inset Quotes eld
31936 \end_inset
31937
31938 hello
31939 \begin_inset Quotes erd
31940 \end_inset
31941
31942  is received from a client,
31943  \SpecialChar LyX
31944  will report back to inform the client that it's listening to it's messages,
31945  while 
31946 \begin_inset Quotes eld
31947 \end_inset
31948
31949 bye
31950 \begin_inset Quotes erd
31951 \end_inset
31952
31953  sent from \SpecialChar LyX
31954  will inform clients that \SpecialChar LyX
31955  is closing.
31956 \end_layout
31957
31958 \begin_layout Section
31959 Reverse DVI/PDF search
31960 \end_layout
31961
31962 \begin_layout Standard
31963 Some DVI/PDF viewers
31964 \begin_inset Foot
31965 status collapsed
31966
31967 \begin_layout Plain Layout
31968 The following viewers offer the reverse PDF search feature:
31969  Okular on KDE/Linux,
31970  Qpdfview on Unix,
31971  Skim on Mac OSX and SumatraPDF on Windows.
31972 \end_layout
31973
31974 \end_inset
31975
31976  provide 
31977 \emph on
31978 reverse search
31979 \emph default
31980  facility (also called 
31981 \emph on
31982 inverse search
31983 \emph default
31984 ).
31985  This means that you can tell \SpecialChar LyX
31986  to put the cursor to a specific line in the document by clicking at the respective position in the DVI/PDF output.
31987  To achieve this,
31988  the viewer must be able to communicate with \SpecialChar LyX
31989 .
31990  This is done via the \SpecialChar LyX
31991  server either by using the named pipe (
31992 \emph on
31993 lyxpipe
31994 \emph default
31995 ),
31996  or the UNIX domain socket (
31997 \emph on
31998 lyxsocket
31999 \emph default
32000 ) that \SpecialChar LyX
32001  creates in its temporary directory (this is the way the 
32002 \begin_inset Flex Code
32003 status collapsed
32004
32005 \begin_layout Plain Layout
32006 lyxclient
32007 \end_layout
32008
32009 \end_inset
32010
32011  program communicates with \SpecialChar LyX
32012 ).
32013  In some cases,
32014  you need a helper script that mediates between the viewer and \SpecialChar LyX
32015 ,
32016  in others,
32017  the viewer can communicate with \SpecialChar LyX
32018  directly.
32019  This depends on the selected viewer and on your operating system.
32020  The same applies to the way viewers need to be configured and the way the reverse search is actually performed.
32021  In what follows,
32022  we will thus describe how to setup reverse search for specific viewers.
32023  Before we turn to this,
32024  though,
32025  we will explain what needs to be done generally to enable reverse search in the DVI/PDF output.
32026 \end_layout
32027
32028 \begin_layout Subsection
32029 Automatic setup
32030 \begin_inset CommandInset label
32031 LatexCommand label
32032 name "subsec:rev-search"
32033
32034 \end_inset
32035
32036
32037 \end_layout
32038
32039 \begin_layout Standard
32040 In most cases \SpecialChar LyX
32041  will do the work for you by pressing the following button in the toolbar:
32042  
32043 \begin_inset Info
32044 type  "icon"
32045 arg   "buffer-toggle-output-sync"
32046 \end_inset
32047
32048 .
32049  Alternatively,
32050  you can also enable the feature by checking 
32051 \family sans
32052 Synchronize with Output
32053 \family default
32054  in 
32055 \change_deleted -712698321 1674917848
32056
32057 \begin_inset Flex Noun
32058 status collapsed
32059
32060 \begin_layout Plain Layout
32061 Document\SpecialChar menuseparator
32062 Settings\SpecialChar menuseparator
32063 Formats
32064 \end_layout
32065
32066 \end_inset
32067
32068
32069 \change_inserted -712698321 1674917848
32070
32071 \family sans
32072 Document\SpecialChar menuseparator
32073 Settings\SpecialChar menuseparator
32074 Formats
32075 \change_unchanged
32076
32077 \family default
32078 .
32079  In such a case \SpecialChar LyX
32080  will automatically insert the necessary Sync\SpecialChar TeX
32081  macro (for PDF) or load the srcltx package (for DVI) respectively.
32082  This option can be easily reached also on 
32083 \begin_inset Flex Code
32084 status collapsed
32085
32086 \begin_layout Plain Layout
32087 View/Update
32088 \end_layout
32089
32090 \end_inset
32091
32092  Toolbar.
32093 \end_layout
32094
32095 \begin_layout Standard
32096 If you need a different setting,
32097  you can select or input a custom macro from the drop down box just below 
32098 \change_deleted -712698321 1674917855
32099
32100 \begin_inset Flex Noun
32101 status collapsed
32102
32103 \begin_layout Plain Layout
32104 Document\SpecialChar menuseparator
32105 Settings\SpecialChar menuseparator
32106 Output\SpecialChar menuseparator
32107 Synchronize with Output
32108 \end_layout
32109
32110 \end_inset
32111
32112
32113 \change_inserted -712698321 1674917855
32114
32115 \family sans
32116 Document\SpecialChar menuseparator
32117 Settings\SpecialChar menuseparator
32118 Output\SpecialChar menuseparator
32119 Synchronize with Output
32120 \change_unchanged
32121
32122 \family default
32123 .
32124 \end_layout
32125
32126 \begin_layout Standard
32127 Note that the method 
32128 \begin_inset Flex Code
32129 status collapsed
32130
32131 \begin_layout Plain Layout
32132
32133 \backslash
32134 synctex=1
32135 \end_layout
32136
32137 \end_inset
32138
32139  enables gzip compression.
32140  If your viewer does not support it,
32141  you should instead use 
32142 \begin_inset Flex Code
32143 status collapsed
32144
32145 \begin_layout Plain Layout
32146
32147 \backslash
32148 synctex=-1
32149 \end_layout
32150
32151 \end_inset
32152
32153 .
32154 \end_layout
32155
32156 \begin_layout Standard
32157 Please also note that including the 
32158 \begin_inset Flex Code
32159 status collapsed
32160
32161 \begin_layout Plain Layout
32162 srcltx
32163 \end_layout
32164
32165 \end_inset
32166
32167  package or 
32168 \begin_inset Flex Code
32169 status collapsed
32170
32171 \begin_layout Plain Layout
32172 src-specials
32173 \end_layout
32174
32175 \end_inset
32176
32177  sometimes has an undesired impact on the typesetting.
32178  Thus,
32179  you should switch output synchronization off for the final typesetting if you use the 
32180 \begin_inset Flex Code
32181 status collapsed
32182
32183 \begin_layout Plain Layout
32184 srcltx
32185 \end_layout
32186
32187 \end_inset
32188
32189  package or 
32190 \begin_inset Flex Code
32191 status collapsed
32192
32193 \begin_layout Plain Layout
32194 src-specials
32195 \end_layout
32196
32197 \end_inset
32198
32199 .
32200  
32201 \end_layout
32202
32203 \begin_layout Standard
32204 In case you need some more special settings that are not covered by the automatic settings,
32205  read the next section about how to set up output synchronization manually.
32206  If the automatic setup suits your needs,
32207  you can readily jump to section
32208 \begin_inset space ~
32209 \end_inset
32210
32211
32212 \begin_inset CommandInset ref
32213 LatexCommand ref
32214 reference "subsec:configuring-viewers"
32215 nolink "false"
32216
32217 \end_inset
32218
32219 ,
32220  where the necessary configuration steps in your viewer – needed both with the automatic and the manual setup – are described.
32221 \end_layout
32222
32223 \begin_layout Subsection
32224 Manual setup
32225 \end_layout
32226
32227 \begin_layout Standard
32228 \SpecialChar LaTeX
32229  provides several different methods for reverse search.
32230  Some are built-in in the 
32231 \begin_inset Flex Code
32232 status collapsed
32233
32234 \begin_layout Plain Layout
32235 latex/pdflatex
32236 \end_layout
32237
32238 \end_inset
32239
32240  program,
32241  some are provided by external packages.
32242  Your choice depends on whether your \SpecialChar LaTeX
32243  distribution already provides a given method (the built-in methods are rather new) and whether your viewer can cope with it.
32244  The available methods are described in the following.
32245 \end_layout
32246
32247 \begin_layout Subsubsection*
32248 Built-in DVI-search via src-specials (DVI only) 
32249 \end_layout
32250
32251 \begin_layout Standard
32252 This method provides the DVI file with the necessary information for reverse search.
32253  It is available in \SpecialChar LaTeX
32254  since quite some time (any somewhat recent \SpecialChar LaTeX
32255  distribution should include it),
32256  and it works reliably.
32257  To enable it,
32258  change the 
32259 \begin_inset Flex Noun
32260 status collapsed
32261
32262 \begin_layout Plain Layout
32263 La
32264 \family sans
32265 TeX
32266 \family default
32267  (plain)->DVI
32268 \end_layout
32269
32270 \end_inset
32271
32272  or 
32273 \begin_inset Flex Noun
32274 status collapsed
32275
32276 \begin_layout Plain Layout
32277 La
32278 \family sans
32279 TeX
32280 \family default
32281  (plain)->DraftDVI
32282 \end_layout
32283
32284 \end_inset
32285
32286  converter in 
32287 \change_deleted -712698321 1674917875
32288
32289 \begin_inset Flex Noun
32290 status collapsed
32291
32292 \begin_layout Plain Layout
32293 Preferences\SpecialChar menuseparator
32294 File Handling\SpecialChar menuseparator
32295 Converters
32296 \end_layout
32297
32298 \end_inset
32299
32300
32301 \change_inserted -712698321 1674917875
32302
32303 \family sans
32304 Preferences\SpecialChar menuseparator
32305 File Handling\SpecialChar menuseparator
32306 Converters
32307 \change_unchanged
32308
32309 \family default
32310  to 
32311 \begin_inset Flex Code
32312 status collapsed
32313
32314 \begin_layout Plain Layout
32315 latex -src-specials $$i
32316 \end_layout
32317
32318 \end_inset
32319
32320 .
32321  If this doesn't work,
32322  check if your \SpecialChar TeX
32323  engine needs different options (the syntax might differ in some distributions).
32324 \end_layout
32325
32326 \begin_layout Subsubsection*
32327 External Packages (PDFSync and scrltx) 
32328 \end_layout
32329
32330 \begin_layout Standard
32331 The packages 
32332 \emph on
32333 pdfsync
32334 \emph default
32335  and 
32336 \emph on
32337 scrltx
32338 \emph default
32339  provide reverse search facility for PDF output (via pdflatex) and DVI output,
32340  respectively.
32341  In order to enable it,
32342  load the packages in the \SpecialChar LyX
32343  preamble:
32344  
32345 \end_layout
32346
32347 \begin_layout Itemize
32348 \begin_inset Flex Code
32349 status collapsed
32350
32351 \begin_layout Plain Layout
32352
32353 \backslash
32354 usepackage{pdfsync}
32355 \end_layout
32356
32357 \end_inset
32358
32359  for reverse PDF search,
32360 \end_layout
32361
32362 \begin_layout Itemize
32363 \begin_inset Flex Code
32364 status collapsed
32365
32366 \begin_layout Plain Layout
32367
32368 \backslash
32369 usepackage[active]{srcltx}
32370 \end_layout
32371
32372 \end_inset
32373
32374  for reverse DVI search.
32375 \end_layout
32376
32377 \begin_layout Standard
32378 If you want to be able to perform both DVI and PDF reverse searches,
32379  you can also insert in the preamble the following lines
32380 \end_layout
32381
32382 \begin_layout LyX-Code
32383
32384 \backslash
32385 usepackage{ifpdf}
32386 \begin_inset Newline newline
32387 \end_inset
32388
32389
32390 \backslash
32391 ifpdf
32392 \begin_inset Newline newline
32393 \end_inset
32394
32395   
32396 \backslash
32397 usepackage{pdfsync}
32398 \begin_inset Newline newline
32399 \end_inset
32400
32401
32402 \backslash
32403 else
32404 \begin_inset Newline newline
32405 \end_inset
32406
32407   
32408 \backslash
32409 usepackage[active]{srcltx}
32410 \begin_inset Newline newline
32411 \end_inset
32412
32413
32414 \backslash
32415 fi
32416 \end_layout
32417
32418 \begin_layout Standard
32419 This way,
32420  you can preview the file as either DVI or PDF (pdflatex) and the right package will be used.
32421 \end_layout
32422
32423 \begin_layout Standard
32424 Note that PDFSync might affect the output layout of your document.
32425  It is therefore advised to disable PDFsync for final documents.
32426 \end_layout
32427
32428 \begin_layout Subsubsection*
32429 Built-in reverse search via Sync\SpecialChar TeX
32430  (DVI and PDF) 
32431 \end_layout
32432
32433 \begin_layout Standard
32434 Recent versions of 
32435 \begin_inset Flex Code
32436 status collapsed
32437
32438 \begin_layout Plain Layout
32439 (pdf)latex
32440 \end_layout
32441
32442 \end_inset
32443
32444  have built-in support for both PDF and DVI reverse search.
32445  This so-called 
32446 \emph on
32447 Sync\SpecialChar TeX
32448
32449 \emph default
32450  facility is basically the result of the integration of the PDFSync package to the pdftex program and its merge with the 
32451 \emph on
32452 scr-specials
32453 \emph default
32454  approach.
32455  You need at least \SpecialChar TeX
32456 Live 2008 or a recent Mik\SpecialChar TeX
32457  distribution in order to use it.
32458 \begin_inset Foot
32459 status collapsed
32460
32461 \begin_layout Plain Layout
32462 For some reason,
32463  Mik\SpecialChar TeX
32464  does not understand/obey the command \SpecialChar LyX
32465  inserts into the preamble when you check the "Enable Forward/Reverse Search" button in the toolbar and does not generate the necessary info.
32466 \end_layout
32467
32468 \begin_layout Plain Layout
32469 The generation of the required info can be forced by changing the converter "\SpecialChar LaTeX
32470  (pdflatex) -> PDF (pdflatex)" in Preferences->File handling->Converters from the default "pdflatex $$i" to "pdflatex -synctex=1 $$i" (i.e.,
32471  by adding the -synctex=1 switch).
32472 \end_layout
32473
32474 \end_inset
32475
32476  Also note that only a few PDF viewers (such as Okular and Qpdfview on Unix,
32477  Skim on the Mac,
32478  SumatraPDF on Windows;
32479  see the next section for details) already provide Sync\SpecialChar TeX
32480  support.
32481 \end_layout
32482
32483 \begin_layout Standard
32484 To enable Sync\SpecialChar TeX
32485  for DVI output,
32486  change the 
32487 \begin_inset Flex Noun
32488 status collapsed
32489
32490 \begin_layout Plain Layout
32491 La
32492 \family sans
32493 TeX
32494 \family default
32495  (plain) -> DVI
32496 \end_layout
32497
32498 \end_inset
32499
32500  or 
32501 \begin_inset Flex Noun
32502 status collapsed
32503
32504 \begin_layout Plain Layout
32505 La
32506 \family sans
32507 TeX
32508 \family default
32509  (plain) -> DraftDVI
32510 \end_layout
32511
32512 \end_inset
32513
32514  converter in 
32515 \change_deleted -712698321 1674917887
32516
32517 \begin_inset Flex Noun
32518 status collapsed
32519
32520 \begin_layout Plain Layout
32521 Preferences\SpecialChar menuseparator
32522 File Handling\SpecialChar menuseparator
32523 Converters
32524 \end_layout
32525
32526 \end_inset
32527
32528
32529 \change_inserted -712698321 1674917887
32530
32531 \family sans
32532 Preferences\SpecialChar menuseparator
32533 File Handling\SpecialChar menuseparator
32534 Converters
32535 \change_unchanged
32536  
32537 \family default
32538 to 
32539 \begin_inset Flex Code
32540 status collapsed
32541
32542 \begin_layout Plain Layout
32543 latex -synctex=1 $$i
32544 \end_layout
32545
32546 \end_inset
32547
32548 ,
32549  and for PDF output,
32550  change the 
32551 \begin_inset Flex Noun
32552 status collapsed
32553
32554 \begin_layout Plain Layout
32555 La
32556 \family sans
32557 TeX
32558 \family default
32559  (pdflatex) -> PDF (pdflatex)
32560 \end_layout
32561
32562 \end_inset
32563
32564  converter to 
32565 \begin_inset Flex Code
32566 status collapsed
32567
32568 \begin_layout Plain Layout
32569 pdflatex -synctex=1 $$i
32570 \end_layout
32571
32572 \end_inset
32573
32574 .
32575  Should your viewer not be considered in the following description,
32576  or in case of missing success,
32577  please check the documentation of your viewer whether the viewer needs to be configured for the use with Sync\SpecialChar TeX
32578 .
32579 \begin_inset Foot
32580 status collapsed
32581
32582 \begin_layout Plain Layout
32583 Note that the option 
32584 \begin_inset Flex Code
32585 status collapsed
32586
32587 \begin_layout Plain Layout
32588 -synctex=1
32589 \end_layout
32590
32591 \end_inset
32592
32593  option enables gzip compression.
32594  If your viewer does not support it,
32595  you should instead use 
32596 \begin_inset Flex Code
32597 status collapsed
32598
32599 \begin_layout Plain Layout
32600 -synctex=-1
32601 \end_layout
32602
32603 \end_inset
32604
32605 .
32606 \end_layout
32607
32608 \end_inset
32609
32610
32611 \end_layout
32612
32613 \begin_layout Subsection
32614 Configuring and using specific viewers
32615 \begin_inset CommandInset label
32616 LatexCommand label
32617 name "subsec:configuring-viewers"
32618
32619 \end_inset
32620
32621
32622 \end_layout
32623
32624 \begin_layout Subsubsection*
32625 Xdvi (all platforms)
32626 \end_layout
32627
32628 \begin_layout Standard
32629 If you use 
32630 \begin_inset Flex Code
32631 status collapsed
32632
32633 \begin_layout Plain Layout
32634 xdvi
32635 \end_layout
32636
32637 \end_inset
32638
32639 ,
32640  you don't need to do anything else for performing a reverse DVI search,
32641  as \SpecialChar LyX
32642  already provides the necessary hooks for automatically using the 
32643 \begin_inset Flex Code
32644 status collapsed
32645
32646 \begin_layout Plain Layout
32647 lyxclient
32648 \end_layout
32649
32650 \end_inset
32651
32652  program.
32653  Just setup your document as described above (reverse search is triggered by Ctrl-click or Alt-click on Mac OSX,
32654  respectively).
32655 \end_layout
32656
32657 \begin_layout Standard
32658 However,
32659  if for whatever reason you want to use the named pipe instead of the socket for communicating with \SpecialChar LyX
32660 ,
32661  simply change the DVI viewer in 
32662 \change_deleted -712698321 1674917897
32663
32664 \begin_inset Flex Noun
32665 status collapsed
32666
32667 \begin_layout Plain Layout
32668 Preferences\SpecialChar menuseparator
32669 File Handling\SpecialChar menuseparator
32670 File formats
32671 \end_layout
32672
32673 \end_inset
32674
32675
32676 \change_inserted -712698321 1674917897
32677
32678 \family sans
32679 Preferences\SpecialChar menuseparator
32680 File Handling\SpecialChar menuseparator
32681 File formats
32682 \change_unchanged
32683
32684 \family default
32685  to
32686 \begin_inset Foot
32687 status collapsed
32688
32689 \begin_layout Plain Layout
32690 On Mac OSX you have to use 
32691 \begin_inset Flex Code
32692 status collapsed
32693
32694 \begin_layout Plain Layout
32695 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
32696 \end_layout
32697
32698 \end_inset
32699
32700
32701 \end_layout
32702
32703 \end_inset
32704
32705  
32706 \begin_inset Flex Code
32707 status collapsed
32708
32709 \begin_layout Plain Layout
32710 xdvi -editor "lyxeditor.sh %f %l"
32711 \end_layout
32712
32713 \end_inset
32714
32715 ,
32716  where 
32717 \begin_inset Flex Code
32718 status collapsed
32719
32720 \begin_layout Plain Layout
32721 lyxeditor.sh
32722 \end_layout
32723
32724 \end_inset
32725
32726  is a suitable script.
32727  For example,
32728  a minimal shell script is the following one:
32729 \end_layout
32730
32731 \begin_layout LyX-Code
32732 #!/bin/sh
32733 \begin_inset Newline newline
32734 \end_inset
32735
32736 LYXPIPE="/path/to/lyxpipe"
32737 \begin_inset Newline newline
32738 \end_inset
32739
32740 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
32741 \begin_inset Newline newline
32742 \end_inset
32743
32744 echo "$COMMAND" > "${LYXPIPE}".in || exit
32745 \begin_inset Newline newline
32746 \end_inset
32747
32748 read TMP < "${LYXPIPE}".out || exit
32749 \end_layout
32750
32751 \begin_layout Standard
32752 where 
32753 \begin_inset Flex Code
32754 status collapsed
32755
32756 \begin_layout Plain Layout
32757 /path/to/lyxpipe
32758 \end_layout
32759
32760 \end_inset
32761
32762  is the LyXServer pipe path specified in 
32763 \change_deleted -712698321 1674917907
32764
32765 \begin_inset Flex Noun
32766 status collapsed
32767
32768 \begin_layout Plain Layout
32769 Preferences\SpecialChar menuseparator
32770 Paths
32771 \end_layout
32772
32773 \end_inset
32774
32775
32776 \change_inserted -712698321 1674917907
32777
32778 \family sans
32779 Preferences\SpecialChar menuseparator
32780 Paths
32781 \change_unchanged
32782
32783 \family default
32784 .
32785 \begin_inset Foot
32786 status collapsed
32787
32788 \begin_layout Plain Layout
32789 In the 
32790 \begin_inset Flex Code
32791 status collapsed
32792
32793 \begin_layout Plain Layout
32794 development/tools
32795 \end_layout
32796
32797 \end_inset
32798
32799  folder of a source distribution you can find a 
32800 \begin_inset Flex Code
32801 status collapsed
32802
32803 \begin_layout Plain Layout
32804 lyxeditor
32805 \end_layout
32806
32807 \end_inset
32808
32809  script which is able to locate the 
32810 \emph on
32811 lyxpipe
32812 \emph default
32813  based on your preferences.
32814 \end_layout
32815
32816 \end_inset
32817
32818
32819 \end_layout
32820
32821 \begin_layout Subsubsection*
32822 MacDviX (Mac OSX)
32823 \end_layout
32824
32825 \begin_layout Standard
32826 At the end of 
32827 \begin_inset Flex Code
32828 status collapsed
32829
32830 \begin_layout Plain Layout
32831 /Applications/MacDviX_Folder/calleditor.script
32832 \end_layout
32833
32834 \end_inset
32835
32836 ,
32837  add the following lines:
32838 \end_layout
32839
32840 \begin_layout LyX-Code
32841 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
32842 \begin_inset Newline newline
32843 \end_inset
32844
32845 exit 1
32846 \end_layout
32847
32848 \begin_layout Standard
32849 Modify the lines accordingly if you install \SpecialChar LyX
32850  somewhere else than in the Applications folder.
32851 \end_layout
32852
32853 \begin_layout Standard
32854 Reverse search is triggered by Alt-click (OPTION-click).
32855 \end_layout
32856
32857 \begin_layout Subsubsection*
32858 Skim (Mac OSX)
32859 \end_layout
32860
32861 \begin_layout Standard
32862 Enter 
32863 \begin_inset Flex Code
32864 status collapsed
32865
32866 \begin_layout Plain Layout
32867 open -a Skim.app $$i
32868 \end_layout
32869
32870 \end_inset
32871
32872  to the viewer setting in 
32873 \change_deleted -712698321 1674917916
32874
32875 \begin_inset Flex Noun
32876 status collapsed
32877
32878 \begin_layout Plain Layout
32879 Preferences\SpecialChar menuseparator
32880 File Handling\SpecialChar menuseparator
32881 File formats\SpecialChar menuseparator
32882 PDF (pdflatex)
32883 \end_layout
32884
32885 \end_inset
32886
32887
32888 \change_inserted -712698321 1674917916
32889
32890 \family sans
32891 Preferences\SpecialChar menuseparator
32892 File Handling\SpecialChar menuseparator
32893 File formats\SpecialChar menuseparator
32894 PDF (pdflatex)
32895 \change_unchanged
32896
32897 \family default
32898 ,
32899  and then in 
32900 \change_deleted -712698321 1674917924
32901
32902 \begin_inset Flex Noun
32903 status collapsed
32904
32905 \begin_layout Plain Layout
32906 Skim\SpecialChar menuseparator
32907 Preferences\SpecialChar menuseparator
32908 Sync
32909 \end_layout
32910
32911 \end_inset
32912
32913
32914 \change_inserted -712698321 1674917924
32915
32916 \family sans
32917 Skim\SpecialChar menuseparator
32918 Preferences\SpecialChar menuseparator
32919 Sync
32920 \change_unchanged
32921
32922 \family default
32923  choose 
32924 \change_deleted -712698321 1674917931
32925
32926 \begin_inset Flex Noun
32927 status collapsed
32928
32929 \begin_layout Plain Layout
32930 custom
32931 \end_layout
32932
32933 \end_inset
32934
32935
32936 \change_inserted -712698321 1674917931
32937
32938 \family sans
32939 custom
32940 \change_unchanged
32941
32942 \family default
32943  preset and enter command 
32944 \begin_inset Flex Noun
32945 status collapsed
32946
32947 \begin_layout Plain Layout
32948 /Applications/\SpecialChar LyX
32949 .app/Contents/MacOS/lyxeditor
32950 \end_layout
32951
32952 \end_inset
32953
32954 .
32955 \end_layout
32956
32957 \begin_layout Standard
32958 Reverse search is triggered by COMMAND-SHIFT-click
32959 \end_layout
32960
32961 \begin_layout Subsubsection*
32962 Evince (GNOME)
32963 \end_layout
32964
32965 \begin_layout Standard
32966 Reverse search with evince does not work out of the box,
32967  but it can be achieved by means of some third party helper scripts.
32968  Please refer to 
32969 \begin_inset CommandInset href
32970 LatexCommand href
32971 target "https://wiki.lyx.org/LyX/SyncTeX"
32972 literal "false"
32973
32974 \end_inset
32975
32976  for details.
32977 \end_layout
32978
32979 \begin_layout Subsubsection*
32980 Okular (KDE)
32981 \end_layout
32982
32983 \begin_layout Standard
32984 Go to 
32985 \change_deleted -712698321 1674917941
32986
32987 \begin_inset Flex Noun
32988 status collapsed
32989
32990 \begin_layout Plain Layout
32991 Settings\SpecialChar menuseparator
32992 Configure Okular\SpecialChar menuseparator
32993 Editor
32994 \end_layout
32995
32996 \end_inset
32997
32998
32999 \change_inserted -712698321 1674917941
33000
33001 \family sans
33002 Settings\SpecialChar menuseparator
33003 Configure Okular\SpecialChar menuseparator
33004 Editor
33005 \change_unchanged
33006
33007 \family default
33008  and select LyX
33009 \begin_inset Quotes erd
33010 \end_inset
33011
33012  as editor.
33013  This inserts the appropriate command (
33014 \begin_inset Flex Code
33015 status collapsed
33016
33017 \begin_layout Plain Layout
33018 lyxclient -g %f %l
33019 \end_layout
33020
33021 \end_inset
33022
33023 ).
33024 \end_layout
33025
33026 \begin_layout Standard
33027 Reverse search is triggered by SHIFT-click.
33028
33029 \change_inserted -712698321 1578211026
33030  Note that this only works if Okular is in 
33031 \begin_inset Quotes eld
33032 \end_inset
33033
33034 Browse
33035 \begin_inset Quotes erd
33036 \end_inset
33037
33038  mode (i.
33039 \begin_inset space \thinspace{}
33040 \end_inset
33041
33042 e.,
33043  the hand symbol is clicked).
33044 \change_unchanged
33045
33046 \end_layout
33047
33048 \begin_layout Subsubsection*
33049 Qpdfview (Unix)
33050 \end_layout
33051
33052 \begin_layout Standard
33053 Qpdfview supports Sync\SpecialChar TeX
33054  since version 0.3.5.
33055  Go to 
33056 \change_deleted -712698321 1674917949
33057
33058 \begin_inset Flex Noun
33059 status collapsed
33060
33061 \begin_layout Plain Layout
33062 Edit\SpecialChar menuseparator
33063 Settings\SpecialChar menuseparator
33064 Behavior
33065 \end_layout
33066
33067 \end_inset
33068
33069
33070 \change_inserted -712698321 1674917949
33071
33072 \family sans
33073 Edit\SpecialChar menuseparator
33074 Settings\SpecialChar menuseparator
33075 Behavior
33076 \change_unchanged
33077
33078 \family default
33079 ,
33080  click on the input field of the 
33081 \begin_inset Quotes eld
33082 \end_inset
33083
33084 Source editor
33085 \begin_inset Quotes erd
33086 \end_inset
33087
33088  item and add the command 
33089 \begin_inset Flex Code
33090 status collapsed
33091
33092 \begin_layout Plain Layout
33093 lyxclient -g %1 %2
33094 \end_layout
33095
33096 \end_inset
33097
33098 .
33099 \end_layout
33100
33101 \begin_layout Standard
33102 Reverse search is triggered by double-click or,
33103  in more recent versions,
33104  by context menu.
33105 \end_layout
33106
33107 \begin_layout Subsubsection*
33108 YAP (Windows)
33109 \end_layout
33110
33111 \begin_layout Standard
33112 Launch yap,
33113  choose its 
33114 \change_deleted -712698321 1674917958
33115
33116 \begin_inset Flex Noun
33117 status collapsed
33118
33119 \begin_layout Plain Layout
33120 View\SpecialChar menuseparator
33121 Options
33122 \end_layout
33123
33124 \end_inset
33125
33126
33127 \change_inserted -712698321 1674917958
33128
33129 \family sans
33130 View\SpecialChar menuseparator
33131 Options
33132 \change_unchanged
33133
33134 \family default
33135  menu and select the 
33136 \begin_inset Quotes eld
33137 \end_inset
33138
33139 Inverse DVI Search
33140 \begin_inset Quotes erd
33141 \end_inset
33142
33143  tab.
33144  Click on the 
33145 \begin_inset Quotes eld
33146 \end_inset
33147
33148 New\SpecialChar ldots
33149
33150 \begin_inset Quotes erd
33151 \end_inset
33152
33153  button and,
33154  in the window that opens,
33155  enter 
33156 \begin_inset Quotes eld
33157 \end_inset
33158
33159 \SpecialChar LyX
33160  Editor
33161 \begin_inset Quotes erd
33162 \end_inset
33163
33164  (or any other name you like) in the 
33165 \begin_inset Quotes eld
33166 \end_inset
33167
33168 Name:
33169 \begin_inset Quotes erd
33170 \end_inset
33171
33172  field.
33173  Now click on the button labeled 
33174 \begin_inset Quotes eld
33175 \end_inset
33176
33177 \SpecialChar ldots
33178
33179 \begin_inset Quotes erd
33180 \end_inset
33181
33182  to open a file dialog and navigate to the directory containing the batch file 
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  (see below).
33193  Select 
33194 \begin_inset Flex Code
33195 status collapsed
33196
33197 \begin_layout Plain Layout
33198 lyxeditor.bat
33199 \end_layout
33200
33201 \end_inset
33202
33203  and then specify the program arguments as 
33204 \begin_inset Flex Code
33205 status collapsed
33206
33207 \begin_layout Plain Layout
33208 %f %l
33209 \end_layout
33210
33211 \end_inset
33212
33213 .
33214  The 
33215 \begin_inset Flex Code
33216 status collapsed
33217
33218 \begin_layout Plain Layout
33219 lyxeditor.bat
33220 \end_layout
33221
33222 \end_inset
33223
33224  wrapper is used for communicating with \SpecialChar LyX
33225  through the 
33226 \emph on
33227 lyxpipe
33228 \emph default
33229  and is as follows:
33230 \end_layout
33231
33232 \begin_layout LyX-Code
33233 @echo off
33234 \begin_inset Newline newline
33235 \end_inset
33236
33237 echo LYXCMD:revdvi:server-goto-file-row:%~1 %2> 
33238 \backslash
33239
33240 \backslash
33241 .
33242 \backslash
33243 pipe
33244 \backslash
33245 lyxpipe.in
33246 \begin_inset Newline newline
33247 \end_inset
33248
33249 type 
33250 \backslash
33251
33252 \backslash
33253 .
33254 \backslash
33255 pipe
33256 \backslash
33257 lyxpipe.out
33258 \end_layout
33259
33260 \begin_layout Standard
33261 Make sure that the \SpecialChar LyX
33262 Server pipe path you specified in \SpecialChar LyX
33263  is 
33264 \begin_inset Flex Code
33265 status collapsed
33266
33267 \begin_layout Plain Layout
33268
33269 \backslash
33270
33271 \backslash
33272 .
33273 \backslash
33274 pipe
33275 \backslash
33276 lyxpipe
33277 \end_layout
33278
33279 \end_inset
33280
33281 ,
33282  otherwise change the 
33283 \begin_inset Flex Code
33284 status collapsed
33285
33286 \begin_layout Plain Layout
33287 lyxeditor.bat
33288 \end_layout
33289
33290 \end_inset
33291
33292  wrapper accordingly.
33293 \end_layout
33294
33295 \begin_layout Standard
33296 In yap,
33297  reverse search is triggered by double-click.
33298 \end_layout
33299
33300 \begin_layout Subsubsection*
33301 SumatraPDF (Windows)
33302 \end_layout
33303
33304 \begin_layout Standard
33305 In order to use SumatraPDF for inverse search,
33306  enter 
33307 \begin_inset Flex Code
33308 status collapsed
33309
33310 \begin_layout Plain Layout
33311 SumatraPDF -inverse-search "lyxeditor.bat "%f" %l"
33312 \end_layout
33313
33314 \end_inset
33315
33316  in the viewer setting in 
33317 \change_deleted -712698321 1674917965
33318
33319 \begin_inset Flex Noun
33320 status collapsed
33321
33322 \begin_layout Plain Layout
33323 Preferences\SpecialChar menuseparator
33324 File Handling\SpecialChar menuseparator
33325 File formats\SpecialChar menuseparator
33326 PDF (pdflatex)
33327 \end_layout
33328
33329 \end_inset
33330
33331
33332 \change_inserted -712698321 1674917965
33333
33334 \family sans
33335 Preferences\SpecialChar menuseparator
33336 File Handling\SpecialChar menuseparator
33337 File formats\SpecialChar menuseparator
33338 PDF (pdflatex)
33339 \change_unchanged
33340
33341 \family default
33342 ,
33343  where 
33344 \begin_inset Flex Code
33345 status collapsed
33346
33347 \begin_layout Plain Layout
33348 lyxeditor.bat
33349 \end_layout
33350
33351 \end_inset
33352
33353  is the previous wrapper.
33354  If SumatraPDF.exe is not in your command PATH,
33355  use its full file name.
33356 \end_layout
33357
33358 \begin_layout Standard
33359 Reverse search is triggered by double-click.
33360 \end_layout
33361
33362 \begin_layout Subsubsection*
33363 YAP (Cygwin)
33364 \end_layout
33365
33366 \begin_layout Standard
33367 First of all,
33368  make sure that yap is your default DVI viewer in the Windows environment,
33369  then launch it,
33370  choose its 
33371 \change_deleted -712698321 1674917973
33372
33373 \begin_inset Flex Noun
33374 status collapsed
33375
33376 \begin_layout Plain Layout
33377 View\SpecialChar menuseparator
33378 Options
33379 \end_layout
33380
33381 \end_inset
33382
33383
33384 \change_inserted -712698321 1674917973
33385
33386 \family sans
33387 View\SpecialChar menuseparator
33388 Options
33389 \change_unchanged
33390
33391 \family default
33392  menu and select the 
33393 \begin_inset Quotes eld
33394 \end_inset
33395
33396 Inverse DVI Search
33397 \begin_inset Quotes erd
33398 \end_inset
33399
33400  tab.
33401  Click on the 
33402 \begin_inset Quotes eld
33403 \end_inset
33404
33405 New\SpecialChar ldots
33406
33407 \begin_inset Quotes erd
33408 \end_inset
33409
33410  button and,
33411  in the window that opens,
33412  enter 
33413 \begin_inset Quotes eld
33414 \end_inset
33415
33416 \SpecialChar LyX
33417  Editor
33418 \begin_inset Quotes erd
33419 \end_inset
33420
33421  (or any other name you like) in the 
33422 \begin_inset Quotes eld
33423 \end_inset
33424
33425 Name:
33426 \begin_inset Quotes erd
33427 \end_inset
33428
33429  field.
33430  Now click on the button labeled 
33431 \begin_inset Quotes eld
33432 \end_inset
33433
33434 \SpecialChar ldots
33435
33436 \begin_inset Quotes erd
33437 \end_inset
33438
33439  to open a file dialog and navigate to the directory containing the 
33440 \begin_inset Flex Code
33441 status collapsed
33442
33443 \begin_layout Plain Layout
33444 lyxeditor.exe
33445 \end_layout
33446
33447 \end_inset
33448
33449  program (which is installed by default on Cygwin along with the \SpecialChar LyX
33450  executable).
33451  Select 
33452 \begin_inset Flex Code
33453 status collapsed
33454
33455 \begin_layout Plain Layout
33456 lyxeditor.exe
33457 \end_layout
33458
33459 \end_inset
33460
33461  and then specify the program arguments as 
33462 \begin_inset Flex Code
33463 status collapsed
33464
33465 \begin_layout Plain Layout
33466 -g %f %l
33467 \end_layout
33468
33469 \end_inset
33470
33471 .
33472  In this way,
33473  you will be using the 
33474 \emph on
33475 lyxsocket
33476 \emph default
33477  for communicating with \SpecialChar LyX
33478 .
33479  If,
33480  for whatever reason,
33481  you want to use the 
33482 \emph on
33483 lyxpipe
33484 \emph default
33485 ,
33486  omit the 
33487 \begin_inset Flex Code
33488 status collapsed
33489
33490 \begin_layout Plain Layout
33491 -g
33492 \end_layout
33493
33494 \end_inset
33495
33496  option and be sure to specify the \SpecialChar LyX
33497 Server pipe path in the \SpecialChar LyX
33498  preferences.
33499 \end_layout
33500
33501 \begin_layout Standard
33502 In yap,
33503  reverse search is triggered by double-click.
33504 \end_layout
33505
33506 \begin_layout Subsubsection*
33507 SumatraPDF (Cygwin)
33508 \end_layout
33509
33510 \begin_layout Standard
33511 In order to use SumatraPDF for inverse search,
33512  enter 
33513 \begin_inset Flex Code
33514 status collapsed
33515
33516 \begin_layout Plain Layout
33517 SumatraPDF -inverse-search "lyxeditor -g %f %l"
33518 \end_layout
33519
33520 \end_inset
33521
33522  in the viewer setting in 
33523 \change_deleted -712698321 1674917986
33524
33525 \begin_inset Flex Noun
33526 status collapsed
33527
33528 \begin_layout Plain Layout
33529 Preferences\SpecialChar menuseparator
33530 File Handling\SpecialChar menuseparator
33531 File formats\SpecialChar menuseparator
33532 PDF (pdflatex)
33533 \end_layout
33534
33535 \end_inset
33536
33537
33538 \change_inserted -712698321 1674917986
33539
33540 \family sans
33541 Preferences\SpecialChar menuseparator
33542 File Handling\SpecialChar menuseparator
33543 File formats\SpecialChar menuseparator
33544 PDF (pdflatex)
33545 \change_unchanged
33546
33547 \family default
33548 .
33549  If SumatraPDF.exe is not in your command PATH,
33550  use its full posix path.
33551  The 
33552 \begin_inset Flex Code
33553 status collapsed
33554
33555 \begin_layout Plain Layout
33556 -g
33557 \end_layout
33558
33559 \end_inset
33560
33561  enables communication via the 
33562 \emph on
33563 lyxsocket
33564 \emph default
33565 .
33566  Again,
33567  omit the 
33568 \begin_inset Flex Code
33569 status collapsed
33570
33571 \begin_layout Plain Layout
33572 -g
33573 \end_layout
33574
33575 \end_inset
33576
33577  option if you want to use the 
33578 \emph on
33579 lyxpipe
33580 \emph default
33581 ,
33582  and be sure to specify the \SpecialChar LyX
33583 Server pipe path in the \SpecialChar LyX
33584  preferences.
33585 \end_layout
33586
33587 \begin_layout Standard
33588 Reverse search is triggered by double-click.
33589 \end_layout
33590
33591 \begin_layout Section
33592 Forward search
33593 \end_layout
33594
33595 \begin_layout Standard
33596 Forward search is,
33597  as the name implies,
33598  in a sense the 
33599 \begin_inset Quotes eld
33600 \end_inset
33601
33602 opposite
33603 \begin_inset Quotes erd
33604 \end_inset
33605
33606  of reverse search.
33607  It allows you to let the viewer jump to a given position from within \SpecialChar LyX
33608 .
33609  If forward search is set up (as described in what follows),
33610  you can put the cursor anywhere in your \SpecialChar LyX
33611  document,
33612  and hit 
33613 \change_deleted -712698321 1674917994
33614
33615 \begin_inset Flex Noun
33616 status collapsed
33617
33618 \begin_layout Plain Layout
33619 Navigate\SpecialChar menuseparator
33620 Forward search
33621 \end_layout
33622
33623 \end_inset
33624
33625
33626 \change_inserted -712698321 1674917994
33627
33628 \family sans
33629 Navigate\SpecialChar menuseparator
33630 Forward search
33631 \change_unchanged
33632
33633 \family default
33634  (or select 
33635 \change_deleted -712698321 1674918002
33636
33637 \family sans
33638
33639 \begin_inset Flex Noun
33640 status collapsed
33641
33642 \begin_layout Plain Layout
33643
33644 \family sans
33645 Forward search
33646 \end_layout
33647
33648 \end_inset
33649
33650
33651 \change_inserted -712698321 1674918002
33652 Forward search
33653 \change_unchanged
33654
33655 \family default
33656  in the context menu via right mouse click),
33657  and then the viewer will jump to that position as well.
33658  This implies,
33659  of course,
33660  that your viewer supports this function.
33661 \end_layout
33662
33663 \begin_layout Standard
33664 To make forward search possible,
33665  you first need to provide the generated output PDF/DVI file with additional information about the \SpecialChar TeX
33666  sources.
33667  This can be done via the methods described in the section 
33668 \begin_inset CommandInset ref
33669 LatexCommand ref
33670 reference "subsec:rev-search"
33671 nolink "false"
33672
33673 \end_inset
33674
33675 .
33676 \end_layout
33677
33678 \begin_layout Standard
33679 Additionally,
33680  you need to configure \SpecialChar LyX
33681  for using your viewers in 
33682 \change_deleted -712698321 1674918011
33683
33684 \begin_inset Flex Noun
33685 status collapsed
33686
33687 \begin_layout Plain Layout
33688 Tools\SpecialChar menuseparator
33689 Preferences\SpecialChar menuseparator
33690 Output\SpecialChar menuseparator
33691 General
33692 \end_layout
33693
33694 \end_inset
33695
33696
33697 \change_inserted -712698321 1674918011
33698
33699 \family sans
33700 Tools\SpecialChar menuseparator
33701 Preferences\SpecialChar menuseparator
33702 Output\SpecialChar menuseparator
33703 General
33704 \change_unchanged
33705
33706 \family default
33707 .
33708  We provide a range of tested configurations for some viewers,
33709  which you can select from the drop down list.
33710  If none of these configurations suits you,
33711  you have to find out and enter a suitable configuration yourself.
33712  The definition syntax uses the following placeholders:
33713 \end_layout
33714
33715 \begin_layout Itemize
33716 \noindent
33717 \begin_inset Flex Code
33718 status collapsed
33719
33720 \begin_layout Plain Layout
33721 $$n
33722 \end_layout
33723
33724 \end_inset
33725
33726 :
33727  row number
33728 \end_layout
33729
33730 \begin_layout Itemize
33731 \noindent
33732 \begin_inset Flex Code
33733 status collapsed
33734
33735 \begin_layout Plain Layout
33736 $$t
33737 \end_layout
33738
33739 \end_inset
33740
33741 :
33742  name of the (temporary) exported .tex file (without path)
33743 \end_layout
33744
33745 \begin_layout Itemize
33746 \noindent
33747 \begin_inset Flex Code
33748 status collapsed
33749
33750 \begin_layout Plain Layout
33751 $$f
33752 \end_layout
33753
33754 \end_inset
33755
33756 :
33757  name of the (temporary) exported .tex file (including path)
33758 \end_layout
33759
33760 \begin_layout Itemize
33761 \noindent
33762 \begin_inset Flex Code
33763 status collapsed
33764
33765 \begin_layout Plain Layout
33766 $$o
33767 \end_layout
33768
33769 \end_inset
33770
33771 :
33772  name of the exported output file (either dvi or pdf,
33773  depending on which one exists in the temporary directory)
33774 \end_layout
33775
33776 \begin_layout Standard
33777 Note that only some of the viewers provide full and usable forward search functionality out of the box,
33778  among them yap,
33779  xdvi,
33780  okular
33781 \begin_inset Foot
33782 status collapsed
33783
33784 \begin_layout Plain Layout
33785 You might want to set 
33786 \begin_inset Flex Code
33787 status collapsed
33788
33789 \begin_layout Plain Layout
33790 okular --unique
33791 \end_layout
33792
33793 \end_inset
33794
33795  in 
33796 \change_deleted -712698321 1674918020
33797
33798 \begin_inset Flex Noun
33799 status collapsed
33800
33801 \begin_layout Plain Layout
33802 Tools\SpecialChar menuseparator
33803 Preferences\SpecialChar menuseparator
33804 File Handling\SpecialChar menuseparator
33805 File
33806 \begin_inset space ~
33807 \end_inset
33808
33809 Formats
33810 \end_layout
33811
33812 \end_inset
33813
33814
33815 \change_inserted -712698321 1674918020
33816
33817 \family sans
33818 Tools\SpecialChar menuseparator
33819 Preferences\SpecialChar menuseparator
33820 File Handling\SpecialChar menuseparator
33821 File
33822 \begin_inset space ~
33823 \end_inset
33824
33825 Formats
33826 \change_unchanged
33827
33828 \end_layout
33829
33830 \end_inset
33831
33832 ,
33833  qpdfview,
33834  and SumatraPDF
33835 \begin_inset Foot
33836 status collapsed
33837
33838 \begin_layout Plain Layout
33839 SumatraPDF can also use DDE commands through the external program CMCDDE —
33840  downloadable from 
33841 \begin_inset CommandInset href
33842 LatexCommand href
33843 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
33844 literal "false"
33845
33846 \end_inset
33847
33848
33849 \end_layout
33850
33851 \end_inset
33852
33853 .
33854  Others,
33855  such as evince
33856 \begin_inset Foot
33857 status collapsed
33858
33859 \begin_layout Plain Layout
33860 Forward search with evince can be achieved by means of third party helper scripts.
33861  Please refer to 
33862 \begin_inset CommandInset href
33863 LatexCommand href
33864 target "https://wiki.lyx.org/LyX/SyncTeX"
33865 literal "false"
33866
33867 \end_inset
33868
33869  for details.
33870 \end_layout
33871
33872 \end_inset
33873
33874 ,
33875  require some extra tools in order to use forward search.
33876  While many of the widespread PDF viewers (most notably Adobe Reader) do not support forward search at all,
33877  some other viewers – e.
33878 \begin_inset space \thinspace{}
33879 \end_inset
33880
33881 g.
33882  xpdf – allow at least to reload the document and jump to a specific page of the file,
33883  so you can at least navigate 
33884 \begin_inset Quotes eld
33885 \end_inset
33886
33887 near
33888 \begin_inset Quotes erd
33889 \end_inset
33890
33891 .
33892  This latter functionality is provided by an external call of synctex (see the predefined example configurations).
33893  
33894 \end_layout
33895
33896 \begin_layout Standard
33897 Forward search works both with DVI and PDF output.
33898  \SpecialChar LyX
33899  simply checks which preview format you have used before (i.
33900 \begin_inset space \thinspace{}
33901 \end_inset
33902
33903 e.,
33904  which format is already there in the temporary directory) and chooses the appropriate configuration for the respective format.
33905 \change_deleted 564990737 1672743015
33906
33907 \end_layout
33908
33909 \begin_layout Standard
33910
33911 \change_deleted 564990737 1672743015
33912 Special Document Classes
33913 \end_layout
33914
33915 \begin_layout Standard
33916
33917 \change_deleted 564990737 1669742044
33918 A&A Paper
33919 \end_layout
33920
33921 \begin_layout Standard
33922
33923 \change_deleted 564990737 1669742044
33924 by 
33925 \noun on
33926 Peter Sütterlin
33927 \end_layout
33928
33929 \begin_layout Standard
33930
33931 \change_deleted 564990737 1669742044
33932 Introduction
33933 \end_layout
33934
33935 \begin_layout Standard
33936
33937 \change_deleted 564990737 1669742044
33938 This section describes how \SpecialChar LyX
33939  can be used to write articles for submission to the scientific journal 
33940 \emph on
33941 Astronomy and Astrophysics
33942 \emph default
33943  (
33944 \begin_inset Flex URL
33945 status collapsed
33946
33947 \begin_layout Plain Layout
33948
33949 https://www.aanda.org/
33950 \end_layout
33951
33952 \end_inset
33953
33954 ) using Version 5.01 of the document class 
33955 \family typewriter
33956 aa.cls
33957 \family default
33958 .
33959  This package can be downloaded from the ftp site
33960 \end_layout
33961
33962 \begin_layout Standard
33963
33964 \change_deleted 564990737 1669742044
33965 \begin_inset VSpace medskip
33966 \end_inset
33967
33968
33969 \end_layout
33970
33971 \begin_layout Standard
33972 \align center
33973
33974 \change_deleted 564990737 1669742044
33975 \begin_inset Flex URL
33976 status collapsed
33977
33978 \begin_layout Plain Layout
33979
33980 ftp://ftp.edpsciences.org/pub/aa/readme.html
33981 \end_layout
33982
33983 \end_inset
33984
33985
33986 \end_layout
33987
33988 \begin_layout Standard
33989
33990 \change_deleted 564990737 1669742044
33991 \begin_inset VSpace medskip
33992 \end_inset
33993
33994
33995 \end_layout
33996
33997 \begin_layout Standard
33998
33999 \change_deleted 564990737 1669742044
34000 A manual comes together with that package,
34001  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.
34002  
34003 \end_layout
34004
34005 \begin_layout Standard
34006
34007 \change_deleted 564990737 1669742044
34008 Please note that the publisher of the journal was changed from Springer to EDP Sciences starting January 1,
34009  2001.
34010  That change involved also some slight changes to the style files,
34011  namely the removal of the thesaurus command.
34012  The \SpecialChar LyX
34013  class aa supports the newest version of these style files,
34014  V 5.01.
34015  If you have an older version installed,
34016  please upgrade.
34017  For compatibility,
34018  the old (version 4) layout has been kept as 
34019 \family sans
34020 article (A&A V4)
34021 \family default
34022 .
34023  Please refer to the comments in 
34024 \family typewriter
34025 \SpecialChar LyX
34026 Dir/layouts/aapaper.layout
34027 \family default
34028 .
34029 \end_layout
34030
34031 \begin_layout Standard
34032
34033 \change_deleted 564990737 1669742044
34034 Getting started
34035 \end_layout
34036
34037 \begin_layout Standard
34038
34039 \change_deleted 564990737 1669742044
34040 It is recommended you start from the example template distributed with \SpecialChar LyX
34041 .
34042  If you are not using a template,
34043  note the following settings:
34044 \end_layout
34045
34046 \begin_layout Itemize
34047
34048 \change_deleted 564990737 1669742044
34049 Select 
34050 \family sans
34051 article (A&A)
34052 \family default
34053  in the 
34054 \family sans
34055 Document\SpecialChar menuseparator
34056 Settings
34057 \family default
34058  dialog (OK,
34059  that one was obvious).
34060 \end_layout
34061
34062 \begin_layout Itemize
34063
34064 \change_deleted 564990737 1669742044
34065 Don't change the option 
34066 \family sans
34067 Page
34068 \begin_inset space ~
34069 \end_inset
34070
34071 style
34072 \family default
34073 :
34074  Leave it set to 
34075 \family sans
34076 default
34077 \family default
34078 .
34079  The whole layout is done by the macros,
34080  you shouldn't change anything.
34081 \end_layout
34082
34083 \begin_layout Standard
34084
34085 \change_deleted 564990737 1669742044
34086 The header block
34087 \end_layout
34088
34089 \begin_layout Standard
34090
34091 \change_deleted 564990737 1669742044
34092 First thing to enter is the header information.
34093  It consists of seven entries,
34094  of which some are optional.
34095  They are
34096 \end_layout
34097
34098 \begin_layout Itemize
34099
34100 \change_deleted 564990737 1669742044
34101
34102 \family sans
34103 Title
34104 \family default
34105 :
34106  [required] 
34107 \end_layout
34108
34109 \begin_layout Itemize
34110
34111 \change_deleted 564990737 1669742044
34112
34113 \family sans
34114 Subtitle
34115 \family default
34116 :
34117  [optional] 
34118 \end_layout
34119
34120 \begin_layout Itemize
34121
34122 \change_deleted 564990737 1669742044
34123
34124 \family sans
34125 Author
34126 \family default
34127 :
34128  [required]
34129 \end_layout
34130
34131 \begin_layout Itemize
34132
34133 \change_deleted 564990737 1669742044
34134
34135 \family sans
34136 Address
34137 \family default
34138 :
34139  [required]
34140 \end_layout
34141
34142 \begin_layout Itemize
34143
34144 \change_deleted 564990737 1669742044
34145
34146 \family sans
34147 Offprints
34148 \family default
34149 :
34150  [optional] if more than one author:
34151  whom to contact for offprint requests.
34152 \end_layout
34153
34154 \begin_layout Itemize
34155
34156 \change_deleted 564990737 1669742044
34157
34158 \family sans
34159 Mail
34160 \family default
34161 :
34162  [optional] mail address for contacts.
34163 \end_layout
34164
34165 \begin_layout Itemize
34166
34167 \change_deleted 564990737 1669742044
34168
34169 \family sans
34170 Date
34171 \family default
34172 :
34173  [required].
34174  Suggested format is 
34175 \family typewriter
34176 Received:
34177  <date>;
34178  Accepted <date> 
34179 \end_layout
34180
34181 \begin_layout Standard
34182
34183 \change_deleted 564990737 1669742044
34184 There is no need to issue the 
34185 \family typewriter
34186
34187 \backslash
34188 maketitle
34189 \family default
34190  command,
34191  this is done automatically by \SpecialChar LyX
34192  when the header is finished.
34193  Although the order of the single header entries doesn't matter it is advised to keep the above sequence,
34194  just to get the best optics and meets the layout of the real document.
34195 \end_layout
34196
34197 \begin_layout Standard
34198
34199 \change_deleted 564990737 1669742044
34200 If you want to place footnotes in the header block,
34201  e.
34202 \begin_inset space \thinspace{}
34203 \end_inset
34204
34205 g.
34206 \begin_inset space \space{}
34207 \end_inset
34208
34209 to state your present address,
34210  just use the standard footnote via the menu 
34211 \family sans
34212 Insert\SpecialChar menuseparator
34213 Footnote.
34214
34215 \family default
34216  \SpecialChar LyX
34217  will automagically use the term 
34218 \family typewriter
34219
34220 \backslash
34221 thanks{}
34222 \family default
34223  in that case.
34224 \end_layout
34225
34226 \begin_layout Standard
34227
34228 \change_deleted 564990737 1669742044
34229 Under 
34230 \family sans
34231 Edit\SpecialChar menuseparator
34232 Text Style
34233 \family default
34234 ,
34235  you'll find two insets which are relevant for the titling:
34236 \end_layout
34237
34238 \begin_layout Itemize
34239
34240 \change_deleted 564990737 1669742044
34241
34242 \family sans
34243 Institute
34244 \family typewriter
34245  
34246 \family default
34247 to mark corresponding author\SpecialChar breakableslash
34248 institute pairs.
34249  The institutes are numbered sequentially as they appear in the 
34250 \family sans
34251 Address
34252 \family default
34253  field,
34254  so you have to put a marker to each author.
34255 \end_layout
34256
34257 \begin_layout Itemize
34258
34259 \change_deleted 564990737 1669742044
34260
34261 \family sans
34262 Email
34263 \family default
34264  to supply an email address for fast contact.
34265 \end_layout
34266
34267 \begin_layout Standard
34268
34269 \change_deleted 564990737 1669742044
34270 In addition to these topics,
34271  the macros use one additional \SpecialChar LaTeX
34272  command that has no counterpart in \SpecialChar LyX
34273 :
34274 \end_layout
34275
34276 \begin_layout Itemize
34277
34278 \change_deleted 564990737 1669742044
34279
34280 \family typewriter
34281
34282 \backslash
34283 and
34284 \family default
34285  to separate different names for more than one author and institute,
34286  respectively.
34287 \end_layout
34288
34289 \begin_layout Standard
34290
34291 \change_deleted 564990737 1669742044
34292 The appropriate command has to be entered in \SpecialChar LyX
34293  and marked as \SpecialChar LaTeX
34294  code.
34295  See the examples.
34296  
34297 \end_layout
34298
34299 \begin_layout Standard
34300
34301 \change_deleted 564990737 1669742044
34302 The abstract
34303 \end_layout
34304
34305 \begin_layout Standard
34306
34307 \change_deleted 564990737 1669742044
34308 The abstract should immediately follow the header block.
34309  With version 5 the abstract environment was changed to a command,
34310  and there is now a restriction to only one paragraph.
34311  In addition,
34312  it should contain an entry with the keywords.
34313  This is done via the paragraph style 
34314 \family sans
34315 Keywords
34316 \family default
34317 .
34318  Refer to the example paper.
34319 \end_layout
34320
34321 \begin_layout Standard
34322
34323 \change_deleted 564990737 1669742044
34324 Supported environments
34325 \end_layout
34326
34327 \begin_layout Standard
34328
34329 \change_deleted 564990737 1669742044
34330 The A&A paper layout supports the following environments for structuring your text:
34331 \end_layout
34332
34333 \begin_layout Itemize
34334
34335 \change_deleted 564990737 1669742044
34336
34337 \family sans
34338 Standard
34339 \end_layout
34340
34341 \begin_layout Itemize
34342
34343 \change_deleted 564990737 1669742044
34344
34345 \family sans
34346 Section
34347 \end_layout
34348
34349 \begin_layout Itemize
34350
34351 \change_deleted 564990737 1669742044
34352
34353 \family sans
34354 Subsection
34355 \end_layout
34356
34357 \begin_layout Itemize
34358
34359 \change_deleted 564990737 1669742044
34360
34361 \family sans
34362 Subsubsection
34363 \end_layout
34364
34365 \begin_layout Itemize
34366
34367 \change_deleted 564990737 1669742044
34368
34369 \family sans
34370 Itemize
34371 \end_layout
34372
34373 \begin_layout Itemize
34374
34375 \change_deleted 564990737 1669742044
34376
34377 \family sans
34378 Enumerate
34379 \end_layout
34380
34381 \begin_layout Itemize
34382
34383 \change_deleted 564990737 1669742044
34384
34385 \family sans
34386 Description
34387 \end_layout
34388
34389 \begin_layout Itemize
34390
34391 \change_deleted 564990737 1669742044
34392
34393 \family sans
34394 Caption
34395 \end_layout
34396
34397 \begin_layout Itemize
34398
34399 \change_deleted 564990737 1669742044
34400
34401 \family sans
34402 Abstract
34403 \end_layout
34404
34405 \begin_layout Itemize
34406
34407 \change_deleted 564990737 1669742044
34408
34409 \family sans
34410 Acknowledgment
34411 \end_layout
34412
34413 \begin_layout Itemize
34414
34415 \change_deleted 564990737 1669742044
34416
34417 \family sans
34418 Bibliography
34419 \end_layout
34420
34421 \begin_layout Itemize
34422
34423 \change_deleted 564990737 1669742044
34424
34425 \family sans
34426 \SpecialChar LaTeX
34427
34428 \end_layout
34429
34430 \begin_layout Standard
34431
34432 \change_deleted 564990737 1669742044
34433 Commands not supported by \SpecialChar LyX
34434
34435 \end_layout
34436
34437 \begin_layout Standard
34438
34439 \change_deleted 564990737 1669742044
34440 Some commands are not yet supported by the 
34441 \family sans
34442 paper (A&A)
34443 \family default
34444  layout for \SpecialChar LyX
34445 .
34446  Some have already been mentioned.
34447  For the sake of completeness,
34448  they are listed all together here:
34449 \end_layout
34450
34451 \begin_layout Itemize
34452
34453 \change_deleted 564990737 1669742044
34454
34455 \family typewriter
34456
34457 \backslash
34458 and
34459 \end_layout
34460
34461 \begin_layout Itemize
34462
34463 \change_deleted 564990737 1669742044
34464
34465 \family typewriter
34466
34467 \backslash
34468 authorrunning
34469 \end_layout
34470
34471 \begin_layout Itemize
34472
34473 \change_deleted 564990737 1669742044
34474
34475 \family typewriter
34476
34477 \backslash
34478 object{}
34479 \end_layout
34480
34481 \begin_layout Itemize
34482
34483 \change_deleted 564990737 1669742044
34484
34485 \family typewriter
34486
34487 \backslash
34488 titlerunning{}
34489 \end_layout
34490
34491 \begin_layout Standard
34492
34493 \change_deleted 564990737 1669742044
34494 If you want to use any of these commands,
34495  you have to enter them yourself.
34496  
34497 \series bold
34498 Do not forget to mark them as \SpecialChar LaTeX
34499  code!
34500 \end_layout
34501
34502 \begin_layout Standard
34503
34504 \change_deleted 564990737 1669742044
34505 Figure and Table Floats
34506 \end_layout
34507
34508 \begin_layout Standard
34509
34510 \change_deleted 564990737 1669742044
34511 \SpecialChar LyX
34512  provides support for the necessary float environments 
34513 \family sans
34514 figure,
34515  figure*,
34516  table
34517 \family default
34518  and 
34519 \family sans
34520 table*
34521 \family default
34522 ,
34523  therefore we won't tell much about it here.
34524  Refer to the 
34525 \emph on
34526 User's
34527 \begin_inset space ~
34528 \end_inset
34529
34530 Guide
34531 \emph default
34532 .
34533  Just remember that tables should be left-aligned.
34534  For that,
34535  select the table and change the alignment in 
34536 \family sans
34537 Edit\SpecialChar menuseparator
34538 Paragraph
34539 \begin_inset space ~
34540 \end_inset
34541
34542 Settings.
34543 \end_layout
34544
34545 \begin_layout Standard
34546
34547 \change_deleted 564990737 1669742044
34548 There is only one special thing:
34549  the figures with caption besides the figure.
34550  To create such a figure,
34551  you have to do the following:
34552 \end_layout
34553
34554 \begin_layout Enumerate
34555
34556 \change_deleted 564990737 1669742044
34557 Create a wide figure float:
34558  
34559 \family sans
34560 Insert\SpecialChar menuseparator
34561 Float\SpecialChar menuseparator
34562 Figure
34563 \family default
34564 ,
34565  then right click in the figure and select 
34566 \family sans
34567 Span
34568 \begin_inset space ~
34569 \end_inset
34570
34571 columns
34572 \family default
34573 .
34574 \end_layout
34575
34576 \begin_layout Enumerate
34577
34578 \change_deleted 564990737 1669742044
34579 Enter your caption text.
34580 \end_layout
34581
34582 \begin_layout Enumerate
34583
34584 \change_deleted 564990737 1669742044
34585 Press 
34586 \family sans
34587 Return
34588 \family default
34589  to move the cursor above the caption.
34590 \end_layout
34591
34592 \begin_layout Enumerate
34593
34594 \change_deleted 564990737 1669742044
34595 Insert your figure
34596 \end_layout
34597
34598 \begin_layout Enumerate
34599
34600 \change_deleted 564990737 1669742044
34601 Position the cursor behind the figure and insert a horizontal fill:
34602  
34603 \family sans
34604 Insert\SpecialChar menuseparator
34605 Special
34606 \begin_inset space ~
34607 \end_inset
34608
34609 Character\SpecialChar menuseparator
34610 Horizontal
34611 \begin_inset space ~
34612 \end_inset
34613
34614 Fill
34615 \family default
34616 .
34617 \end_layout
34618
34619 \begin_layout Enumerate
34620
34621 \change_deleted 564990737 1669742044
34622 Switch to \SpecialChar LaTeX
34623  mode:
34624  
34625 \family sans
34626 M-c
34627 \begin_inset space ~
34628 \end_inset
34629
34630 t
34631 \family default
34632 .
34633 \end_layout
34634
34635 \begin_layout Enumerate
34636
34637 \change_deleted 564990737 1669742044
34638 Enter 
34639 \family typewriter
34640
34641 \backslash
34642 parbox[b]{55mm}{
34643 \family default
34644 .
34645  
34646 \series bold
34647 Do not close the brace!
34648 \end_layout
34649
34650 \begin_layout Enumerate
34651
34652 \change_deleted 564990737 1669742044
34653 Position the cursor behind the caption text,
34654  switch to \SpecialChar LaTeX
34655  mode and insert the closing brace:
34656  
34657 \family sans
34658 M-c
34659 \begin_inset space ~
34660 \end_inset
34661
34662 t
34663 \family default
34664  
34665 \family typewriter
34666 }
34667 \family default
34668 .
34669 \end_layout
34670
34671 \begin_layout Standard
34672
34673 \change_deleted 564990737 1669742044
34674 Also,
34675  refer to the figures in the example paper.
34676 \end_layout
34677
34678 \begin_layout Standard
34679
34680 \change_deleted 564990737 1669742044
34681 Referee layout
34682 \end_layout
34683
34684 \begin_layout Standard
34685
34686 \change_deleted 564990737 1669742044
34687 For submission,
34688  the paper has to be formated in a special double-spacing layout.
34689  For this purpose,
34690  you have to give the option 
34691 \family typewriter
34692 referee
34693 \family default
34694  to the document class.
34695  This must be done using the custom class options field in the 
34696 \family sans
34697 Document\SpecialChar menuseparator
34698 Settings
34699 \family default
34700  dialog.
34701  Just enter the string 
34702 \family typewriter
34703 referee
34704 \family default
34705  there.
34706 \end_layout
34707
34708 \begin_layout Standard
34709
34710 \change_deleted 564990737 1669742044
34711 The example paper
34712 \end_layout
34713
34714 \begin_layout Standard
34715
34716 \change_deleted 564990737 1669742044
34717 The 
34718 \family sans
34719 Examples
34720 \family default
34721  directory contains an example paper written with \SpecialChar LyX
34722 .
34723  It is the example paper from the original macro package,
34724  translated to \SpecialChar LyX
34725 .
34726  Use it for inspiration,
34727  and compare the original \SpecialChar LaTeX
34728  code with \SpecialChar LyX
34729  way of writing.
34730 \end_layout
34731
34732 \begin_layout Standard
34733
34734 \change_deleted 564990737 1671097429
34735 Dinbrief
34736 \end_layout
34737
34738 \begin_layout Standard
34739
34740 \change_deleted 564990737 1671097429
34741 The document class 
34742 \family sans
34743 dinbrief
34744 \family default
34745  can be used to type letters according to German conventions.
34746  A template file is included in 
34747 \family typewriter
34748 .../lyx/share/templates
34749 \family default
34750  for you to use as a starting point.
34751 \end_layout
34752
34753 \begin_layout Standard
34754
34755 \change_deleted 564990737 1671097429
34756 Elsevier Journals
34757 \end_layout
34758
34759 \begin_layout Standard
34760
34761 \change_deleted 564990737 1671097429
34762 See the \SpecialChar LyX
34763  template file 
34764 \family typewriter
34765 elsarticle.lyx
34766 \family default
34767 .
34768  It contains all infos you need.
34769 \end_layout
34770
34771 \begin_layout Standard
34772
34773 \change_deleted 564990737 1669755802
34774 ijmpc and ijmpd
34775 \end_layout
34776
34777 \begin_layout Standard
34778
34779 \change_deleted 564990737 1669755802
34780 by 
34781 \noun on
34782 Panayotis Papasotiriou
34783 \end_layout
34784
34785 \begin_layout Standard
34786
34787 \change_deleted 564990737 1669755802
34788 Overview
34789 \end_layout
34790
34791 \begin_layout Standard
34792
34793 \change_deleted 564990737 1669755802
34794 The ijmpc package is a set of macros that facilitates electronic manuscript submission to the 
34795 \emph on
34796 International Journal of Modern Physics C
34797 \emph default
34798 .
34799  Similarly,
34800  the ijmpd package is for creating manuscripts to be submitted to the 
34801 \emph on
34802 International Journal of Modern Physics D
34803 \emph default
34804 .
34805  Both journals are published by World Scientific.
34806  The corresponding document classes are named 
34807 \family typewriter
34808 ws-ijmpc.cls
34809 \family default
34810  and 
34811 \family typewriter
34812 ws-ijmpd.cls
34813 \family default
34814 ,
34815  respectively.
34816  These files,
34817  together with instructions for the authors,
34818  can be downloaded from the sites 
34819 \begin_inset Flex URL
34820 status collapsed
34821
34822 \begin_layout Plain Layout
34823
34824 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
34825 \end_layout
34826
34827 \end_inset
34828
34829  and 
34830 \begin_inset Flex URL
34831 status collapsed
34832
34833 \begin_layout Plain Layout
34834
34835 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
34836 \end_layout
34837
34838 \end_inset
34839
34840 .
34841  Both packages are modified versions of the standard 
34842 \begin_inset Quotes eld
34843 \end_inset
34844
34845 article
34846 \begin_inset Quotes erd
34847 \end_inset
34848
34849  package,
34850  and they are almost (but not exactly) identical.
34851  Most of their features are supported by \SpecialChar LyX
34852 .
34853  I have used \SpecialChar LyX
34854  successfully to write articles submitted to both journals without any problem.
34855 \end_layout
34856
34857 \begin_layout Standard
34858
34859 \change_deleted 564990737 1669755802
34860 Writing a paper
34861 \end_layout
34862
34863 \begin_layout Standard
34864
34865 \change_deleted 564990737 1669755802
34866 As usual,
34867  the easiest way to write a paper is to start with a template.
34868  Click on 
34869 \family sans
34870 File\SpecialChar menuseparator
34871 New from
34872 \family default
34873  
34874 \family sans
34875 Template
34876 \family default
34877 ,
34878  then choose the 
34879 \family typewriter
34880 ijmpc.lyx
34881 \family default
34882  or 
34883 \family typewriter
34884 ijmpd.lyx
34885 \family default
34886  template.
34887  This will give an (almost) empty document that includes the most common fields found in a manuscript.
34888  Simply overwrite the existing text (including the brackets,
34889  
34890 \family typewriter
34891 <>
34892 \family default
34893 ) with your text.
34894  You should keep in mind the following remarks.
34895 \end_layout
34896
34897 \begin_layout Enumerate
34898
34899 \change_deleted 564990737 1669755802
34900 \SpecialChar LyX
34901  won't let you change the font size and the page style of the document,
34902  because such modifications are not allowed by both packages.
34903 \end_layout
34904
34905 \begin_layout Enumerate
34906
34907 \change_deleted 564990737 1669755802
34908 The language of the document should not be changed.
34909  Before previewing your paper,
34910  be sure that the babel package is not used.
34911  To do this,
34912  click on 
34913 \begin_inset Info
34914 type  "menu"
34915 arg   "dialog-show document"
34916 \end_inset
34917
34918  
34919 \family sans
34920 \SpecialChar menuseparator
34921 Language
34922 \family default
34923 ,
34924  and select 
34925 \begin_inset Quotes eld
34926 \end_inset
34927
34928 None
34929 \begin_inset Quotes erd
34930 \end_inset
34931
34932  as 
34933 \family sans
34934 Language Package
34935 \family default
34936 .
34937 \end_layout
34938
34939 \begin_layout Enumerate
34940
34941 \change_deleted 564990737 1669755802
34942 The 
34943 \begin_inset Quotes eld
34944 \end_inset
34945
34946 Keywords
34947 \begin_inset Quotes erd
34948 \end_inset
34949
34950  style must be used to define keywords.
34951 \end_layout
34952
34953 \begin_layout Enumerate
34954
34955 \change_deleted 564990737 1669755802
34956 The ijmpc package provides a style named 
34957 \begin_inset Quotes eld
34958 \end_inset
34959
34960 Classification Codes
34961 \begin_inset Quotes erd
34962 \end_inset
34963
34964 ,
34965  which can be used to define classification codes,
34966  such as PACS numbers.
34967  Note that this facility is not supported by the ijmpd package.
34968 \end_layout
34969
34970 \begin_layout Enumerate
34971
34972 \change_deleted 564990737 1669755802
34973 Several new environments are available:
34974  
34975 \begin_inset Quotes eld
34976 \end_inset
34977
34978 Definition
34979 \begin_inset Quotes erd
34980 \end_inset
34981
34982 ,
34983  
34984 \begin_inset Quotes eld
34985 \end_inset
34986
34987 Step
34988 \begin_inset Quotes erd
34989 \end_inset
34990
34991 ,
34992  
34993 \begin_inset Quotes eld
34994 \end_inset
34995
34996 Example
34997 \begin_inset Quotes erd
34998 \end_inset
34999
35000 ,
35001  
35002 \begin_inset Quotes eld
35003 \end_inset
35004
35005 Remark
35006 \begin_inset Quotes erd
35007 \end_inset
35008
35009 ,
35010  
35011 \begin_inset Quotes eld
35012 \end_inset
35013
35014 Notation
35015 \begin_inset Quotes erd
35016 \end_inset
35017
35018 ,
35019  
35020 \begin_inset Quotes eld
35021 \end_inset
35022
35023 Theorem
35024 \begin_inset Quotes erd
35025 \end_inset
35026
35027 ,
35028  
35029 \begin_inset Quotes eld
35030 \end_inset
35031
35032 Proof
35033 \begin_inset Quotes erd
35034 \end_inset
35035
35036 ,
35037  
35038 \begin_inset Quotes eld
35039 \end_inset
35040
35041 Corollary
35042 \begin_inset Quotes erd
35043 \end_inset
35044
35045 ,
35046  
35047 \begin_inset Quotes eld
35048 \end_inset
35049
35050 Lemma
35051 \begin_inset Quotes erd
35052 \end_inset
35053
35054 ,
35055  
35056 \begin_inset Quotes eld
35057 \end_inset
35058
35059 Proposition
35060 \begin_inset Quotes erd
35061 \end_inset
35062
35063 ,
35064  
35065 \begin_inset Quotes eld
35066 \end_inset
35067
35068 Prop
35069 \begin_inset Quotes erd
35070 \end_inset
35071
35072 ,
35073  
35074 \begin_inset Quotes eld
35075 \end_inset
35076
35077 Question
35078 \begin_inset Quotes erd
35079 \end_inset
35080
35081 ,
35082  
35083 \begin_inset Quotes eld
35084 \end_inset
35085
35086 Claim
35087 \begin_inset Quotes erd
35088 \end_inset
35089
35090 ,
35091  and 
35092 \begin_inset Quotes eld
35093 \end_inset
35094
35095 Conjecture
35096 \begin_inset Quotes erd
35097 \end_inset
35098
35099 .
35100  Their use is more or less obvious.
35101  \SpecialChar LyX
35102  supports all these environments;
35103  it will use the proper label,
35104  text style,
35105  and numbering scheme for each of them.
35106 \end_layout
35107
35108 \begin_layout Enumerate
35109
35110 \change_deleted 564990737 1669755802
35111 Both packages use basic citations;
35112  the natbib package should not be used.
35113  In \SpecialChar LyX
35114 ,
35115  citation references are shown as usual;
35116  in the output,
35117  citations are shown as superscripts.
35118  If you want to use a citation as normal text,
35119  you should use the 
35120 \family typewriter
35121 refcite
35122 \family default
35123  command,
35124  e.
35125 \begin_inset space \thinspace{}
35126 \end_inset
35127
35128 g.
35129 \begin_inset space \space{}
35130 \end_inset
35131
35132
35133 \begin_inset Quotes eld
35134 \end_inset
35135
35136 See Ref.
35137 \begin_inset space \space{}
35138 \end_inset
35139
35140
35141 \family typewriter
35142
35143 \backslash
35144 refcite{key}
35145 \family default
35146
35147 \begin_inset Quotes erd
35148 \end_inset
35149
35150 .
35151 \end_layout
35152
35153 \begin_layout Enumerate
35154
35155 \change_deleted 564990737 1669755802
35156 There is no 
35157 \begin_inset Quotes eld
35158 \end_inset
35159
35160 Acknowledgments
35161 \begin_inset Quotes erd
35162 \end_inset
35163
35164  section in both packages.
35165  To put acknowledgments,
35166  just use the 
35167 \begin_inset Quotes eld
35168 \end_inset
35169
35170 Section*
35171 \begin_inset Quotes erd
35172 \end_inset
35173
35174  environment.
35175 \end_layout
35176
35177 \begin_layout Enumerate
35178
35179 \change_deleted 564990737 1669755802
35180 Appendices may be added to the paper,
35181  
35182 \emph on
35183 after
35184 \emph default
35185  the Acknowledgments and 
35186 \shape italic
35187 before
35188 \shape default
35189  the References.
35190  \SpecialChar LyX
35191  provides a special environment,
35192  called 
35193 \begin_inset Quotes eld
35194 \end_inset
35195
35196 Appendices Section
35197 \begin_inset Quotes erd
35198 \end_inset
35199
35200  which marks the beginning of the appendices.
35201  This environment should be left blank;
35202  it just sends a \SpecialChar LaTeX
35203  command,
35204  but nothing is really printed.
35205  In \SpecialChar LyX
35206 ,
35207  the word 
35208 \begin_inset Quotes eld
35209 \end_inset
35210
35211 Appendix
35212 \begin_inset Quotes erd
35213 \end_inset
35214
35215  is printed with blue letters,
35216  as a signal that all sections after that point are appendices.
35217  To write an appendix,
35218  use the 
35219 \begin_inset Quotes eld
35220 \end_inset
35221
35222 Appendix
35223 \begin_inset Quotes erd
35224 \end_inset
35225
35226  environment.
35227  \SpecialChar LyX
35228  will number each appendix with capital letters,
35229  as required by both journals.
35230  Note that 
35231 \begin_inset Quotes eld
35232 \end_inset
35233
35234 Appendices Section
35235 \begin_inset Quotes erd
35236 \end_inset
35237
35238  
35239 \emph on
35240 must
35241 \emph default
35242  be present before the first appendix;
35243  if not,
35244  all appendices will be numbered as normal sections in the output.
35245 \end_layout
35246
35247 \begin_layout Enumerate
35248
35249 \change_deleted 564990737 1669755802
35250 The ijmpc and the ijmpd packages use the 
35251 \family typewriter
35252 tbl
35253 \family default
35254  command to implement table captions.
35255  As a result,
35256  a table created by \SpecialChar LyX
35257  is printed correctly,
35258  but its caption is ignored.
35259  However,
35260  you can use some \SpecialChar TeX
35261  code to overcome this problem,
35262  so that captions are printed as expected.
35263  To do so,
35264  create a float table as usual,
35265  remove the caption,
35266  and replace it with the \SpecialChar TeX
35267  code 
35268 \family typewriter
35269
35270 \backslash
35271 tbl{
35272 \emph on
35273 your table caption
35274 \emph default
35275 }{
35276 \family default
35277  (sic);
35278  you must also the \SpecialChar TeX
35279  code 
35280 \family typewriter
35281 }
35282 \family default
35283  immediately after the tabular material.
35284  Study the example table included in the template files to see how this trick is implemented.
35285  Alternatively,
35286  If you need table captions,
35287  you should implement the whole table float in a 
35288 \family typewriter
35289 .tex
35290 \family default
35291  file,
35292  then include this file to the \SpecialChar LyX
35293  document (
35294 \family sans
35295 Insert\SpecialChar menuseparator
35296 File\SpecialChar menuseparator
35297 Child
35298 \begin_inset space ~
35299 \end_inset
35300
35301 Document
35302 \family default
35303 ).
35304  Details on how to create a table float can be found in the files 
35305 \family typewriter
35306 ws-ijmpc.tex
35307 \family default
35308  and 
35309 \family typewriter
35310 ws-ijmpd.tex
35311 \family default
35312 ,
35313  included in the corresponding packages.
35314 \end_layout
35315
35316 \begin_layout Standard
35317
35318 \change_deleted 564990737 1669755802
35319 Preparing a paper for submission
35320 \end_layout
35321
35322 \begin_layout Standard
35323
35324 \change_deleted 564990737 1669755802
35325 Before you submit your paper you must export the \SpecialChar LyX
35326  document as a \SpecialChar LaTeX
35327  file (
35328 \family sans
35329 File\SpecialChar menuseparator
35330 Export\SpecialChar menuseparator
35331 \SpecialChar LaTeX
35332
35333 \family default
35334 )
35335 \begin_inset Foot
35336 status open
35337
35338 \begin_layout Plain Layout
35339 Actually you have the choice between \SpecialChar LaTeX
35340  (plain) and pdflatex.
35341  If you intend to use pdflatex to prepare the paper,
35342  you should use the pdflatex option so that included graphics are converted to PDF format,
35343  ready for use by pdflatex.
35344 \end_layout
35345
35346 \end_inset
35347
35348 ,
35349  then make the following changes to the resulting 
35350 \family typewriter
35351 .tex
35352 \family default
35353  file.
35354 \end_layout
35355
35356 \begin_layout Enumerate
35357
35358 \change_deleted 564990737 1669755802
35359 Remove the comment lines before the 
35360 \family typewriter
35361
35362 \backslash
35363 documentclass
35364 \family default
35365  command.
35366 \end_layout
35367
35368 \begin_layout Enumerate
35369
35370 \change_deleted 564990737 1669755802
35371 Remove everything between (and including) the 
35372 \family typewriter
35373
35374 \backslash
35375 makeatletter
35376 \family default
35377  and 
35378 \family typewriter
35379
35380 \backslash
35381 makeatother
35382 \family default
35383  commands,
35384  except for any commands you specifically put into the \SpecialChar LaTeX
35385  preamble.
35386 \end_layout
35387
35388 \begin_layout Standard
35389
35390 \change_deleted 564990737 1672743015
35391 The modified 
35392 \family typewriter
35393 .tex
35394 \family default
35395  file should be saved and processed through \SpecialChar LaTeX
35396  as many times as necessary.
35397  You may also want to check the resulting 
35398 \family typewriter
35399 .dvi
35400 \family default
35401  document.
35402 \end_layout
35403
35404 \begin_layout Standard
35405
35406 \change_deleted 564990737 1669801478
35407 iopart
35408 \end_layout
35409
35410 \begin_layout Standard
35411
35412 \change_deleted 564990737 1669801478
35413 by 
35414 \noun on
35415 Uwe Stöhr
35416 \end_layout
35417
35418 \begin_layout Standard
35419
35420 \change_deleted 564990737 1669801478
35421 Overview
35422 \end_layout
35423
35424 \begin_layout Standard
35425
35426 \change_deleted 564990737 1669801478
35427 The iopart package provides a document class to create electronic manuscript submission to the journals published by the Institute of Physics.
35428  Instructions for the authors how to create a paper using the iopart class can be downloaded together with the iopart package from the site 
35429 \begin_inset Flex URL
35430 status collapsed
35431
35432 \begin_layout Plain Layout
35433
35434 ftp://ftp.iop.org/pub/journals/latex2e
35435 \end_layout
35436
35437 \end_inset
35438
35439 .
35440 \end_layout
35441
35442 \begin_layout Standard
35443
35444 \change_deleted 564990737 1669801478
35445 Writing a paper
35446 \end_layout
35447
35448 \begin_layout Standard
35449
35450 \change_deleted 564990737 1669801478
35451 The easiest way to write a paper is to start with the template 
35452 \emph on
35453 IOP-article.lyx
35454 \emph default
35455  that is available via 
35456 \family sans
35457 File\SpecialChar menuseparator
35458 New From Template
35459 \family default
35460  The template explains how to use the special text environments.
35461  Here are the most important advices:
35462 \end_layout
35463
35464 \begin_layout Itemize
35465
35466 \change_deleted 564990737 1669801478
35467 To be able to compile your document to a PDF,
35468  PS,
35469  or DVI,
35470  ensure that the no AMS packages are loaded in 
35471 \family sans
35472 Document\SpecialChar menuseparator
35473 Settings\SpecialChar menuseparator
35474 Math Options
35475 \family default
35476 !
35477 \end_layout
35478
35479 \begin_layout Itemize
35480
35481 \change_deleted 564990737 1669801478
35482
35483 \size normal
35484 The title environment defines the kind of your paper.
35485  So use one of the following environments for the title:
35486 \end_layout
35487
35488 \begin_deeper
35489 \begin_layout Itemize
35490
35491 \change_deleted 564990737 1669801478
35492
35493 \family sans
35494 \size normal
35495 Title
35496 \family default
35497  for a Paper
35498 \end_layout
35499
35500 \begin_layout Itemize
35501
35502 \change_deleted 564990737 1669801478
35503
35504 \family sans
35505 \size normal
35506 Review
35507 \family default
35508  for a Review
35509 \end_layout
35510
35511 \begin_layout Itemize
35512
35513 \change_deleted 564990737 1669801478
35514
35515 \family sans
35516 \size normal
35517 Topical
35518 \family default
35519  for a Topical review
35520 \end_layout
35521
35522 \begin_layout Itemize
35523
35524 \change_deleted 564990737 1669801478
35525
35526 \family sans
35527 \size normal
35528 Comment
35529 \family default
35530  for a Comment
35531 \end_layout
35532
35533 \begin_layout Itemize
35534
35535 \change_deleted 564990737 1669801478
35536
35537 \family sans
35538 \size normal
35539 Note
35540 \family default
35541  for a Note
35542 \end_layout
35543
35544 \begin_layout Itemize
35545
35546 \change_deleted 564990737 1669801478
35547
35548 \family sans
35549 \size normal
35550 Paper
35551 \family default
35552  for a Paper (same as Title)
35553 \end_layout
35554
35555 \begin_layout Itemize
35556
35557 \change_deleted 564990737 1669801478
35558
35559 \family sans
35560 \size normal
35561 Prelim
35562 \family default
35563  for a Preliminary communication
35564 \end_layout
35565
35566 \begin_layout Itemize
35567
35568 \change_deleted 564990737 1669801478
35569
35570 \family sans
35571 \size normal
35572 Rapid
35573 \family default
35574  for a Rapid communication
35575 \end_layout
35576
35577 \begin_layout Itemize
35578
35579 \change_deleted 564990737 1669801478
35580
35581 \family sans
35582 \size normal
35583 Letter
35584 \family default
35585  for a Letter to the editor
35586 \end_layout
35587
35588 \end_deeper
35589 \begin_layout Itemize
35590
35591 \change_deleted 564990737 1669801478
35592
35593 \size normal
35594 All title environments except of 
35595 \family sans
35596 Letter
35597 \family default
35598  can have an optional short title.
35599 \end_layout
35600
35601 \begin_layout Itemize
35602
35603 \change_deleted 564990737 1669801478
35604 There is a general title environment 
35605 \family sans
35606 Article
35607 \family default
35608  which is not directly supported by \SpecialChar LyX
35609 .
35610  This can be used as \SpecialChar TeX
35611  code when your document doesn't fit into one of the other title types.
35612 \end_layout
35613
35614 \begin_layout Standard
35615
35616 \change_deleted 564990737 1672743015
35617 For more informations like hints for special table and formula formatting,
35618  look at the IOP author guidelines.
35619 \end_layout
35620
35621 \begin_layout Standard
35622
35623 \change_deleted 564990737 1670317155
35624 Kluwer
35625 \end_layout
35626
35627 \begin_layout Standard
35628
35629 \change_deleted 564990737 1670317155
35630 by 
35631 \noun on
35632 Panayotis Papasotiriou
35633 \end_layout
35634
35635 \begin_layout Standard
35636
35637 \change_deleted 564990737 1670317155
35638 Overview
35639 \end_layout
35640
35641 \begin_layout Standard
35642
35643 \change_deleted 564990737 1670317155
35644 The Kluwer package is a set of macros produced by Kluwer Academic Publishers that facilitates electronic manuscript submission to the journals they publish.
35645  Most known of them (at least in my domain of interest) are 
35646 \emph on
35647 Astrophysics and Space Science
35648 \emph default
35649  and 
35650 \emph on
35651 Solar Physics
35652 \emph default
35653 ,
35654  but there are many others (see a complete list at 
35655 \begin_inset Flex URL
35656 status collapsed
35657
35658 \begin_layout Plain Layout
35659
35660 http://www.wkap.nl/jrnllist.htm/JRNLHOME
35661 \end_layout
35662
35663 \end_inset
35664
35665 ).
35666  The Kluwer package may be downloaded from the site 
35667 \begin_inset Flex URL
35668 status collapsed
35669
35670 \begin_layout Plain Layout
35671
35672 http://www.wkap.nl/kaphtml.htm/STYLEFILES
35673 \end_layout
35674
35675 \end_inset
35676
35677 .
35678  A complete user guide is contained in that package (but it can also be downloaded separately).
35679 \end_layout
35680
35681 \begin_layout Standard
35682
35683 \change_deleted 564990737 1670317155
35684 \SpecialChar LyX
35685  supports many features of the package but not everything.
35686  However,
35687  the \SpecialChar TeX
35688  code needed is reduced to some 
35689 \begin_inset Quotes eld
35690 \end_inset
35691
35692 peculiar
35693 \begin_inset Quotes erd
35694 \end_inset
35695
35696  commands of the package (see
35697 \begin_inset space ~
35698 \end_inset
35699
35700
35701 \begin_inset CommandInset ref
35702 LatexCommand ref
35703 reference "subsec:kluwer_peculiarities"
35704 nolink "false"
35705
35706 \end_inset
35707
35708 ).
35709  I have recently used \SpecialChar LyX
35710  to write an article submitted to the 
35711 \emph on
35712 Astrophysics and Space Science
35713 \emph default
35714  without any problem.
35715 \end_layout
35716
35717 \begin_layout Standard
35718
35719 \change_deleted 564990737 1670317155
35720 Writing a paper
35721 \end_layout
35722
35723 \begin_layout Standard
35724
35725 \change_deleted 564990737 1670317155
35726 The easiest way to write a paper is to start with the Kluwer template file.
35727  Click on 
35728 \family sans
35729 File\SpecialChar menuseparator
35730 New from
35731 \family default
35732  
35733 \family sans
35734 Template
35735 \family default
35736 ,
35737  then choose the 
35738 \family typewriter
35739 kluwer.lyx
35740 \family default
35741  template.
35742  This will give an (almost) empty document that includes the most common fields found in a manuscript and a short description of their use.
35743  As in most templates,
35744  simply overwrite the existing text (including the brackets,
35745  
35746 \family typewriter
35747 <>
35748 \family default
35749 ) with the correct information.
35750 \end_layout
35751
35752 \begin_layout Standard
35753
35754 \change_deleted 564990737 1670317155
35755 Preparing a paper for submission
35756 \end_layout
35757
35758 \begin_layout Standard
35759
35760 \change_deleted 564990737 1670317155
35761 As in the AAS\SpecialChar TeX
35762  package,
35763  before you submit your paper to a journal you must 
35764 \begin_inset Quotes eld
35765 \end_inset
35766
35767 postprocess
35768 \begin_inset Quotes erd
35769 \end_inset
35770
35771  it as follows.
35772 \end_layout
35773
35774 \begin_layout Enumerate
35775
35776 \change_deleted 564990737 1670317155
35777 Export your paper as a \SpecialChar LaTeX
35778  file.
35779  To do this,
35780  click on 
35781 \family sans
35782 File\SpecialChar menuseparator
35783 Export\SpecialChar menuseparator
35784 \SpecialChar LaTeX
35785
35786 \family default
35787 .
35788  
35789 \end_layout
35790
35791 \begin_layout Enumerate
35792
35793 \change_deleted 564990737 1670317155
35794 Edit the resulting 
35795 \family typewriter
35796 .tex
35797 \family default
35798  file with a text editor and make the following changes
35799 \end_layout
35800
35801 \begin_deeper
35802 \begin_layout Enumerate
35803
35804 \change_deleted 564990737 1670317155
35805 remove the comment lines before the 
35806 \family typewriter
35807
35808 \backslash
35809 documentclass
35810 \family default
35811  command,
35812 \end_layout
35813
35814 \begin_layout Enumerate
35815
35816 \change_deleted 564990737 1670317155
35817 remove everything between (and including) the 
35818 \family typewriter
35819
35820 \backslash
35821 makeatletter
35822 \family default
35823  and 
35824 \family typewriter
35825
35826 \backslash
35827 makeatother
35828 \family default
35829  commands,
35830  except for any commands you specifically put into the \SpecialChar LaTeX
35831  preamble.
35832 \end_layout
35833
35834 \begin_layout Standard
35835
35836 \change_deleted 564990737 1670317155
35837 Save the resulting 
35838 \family typewriter
35839 .tex
35840 \family default
35841  file.
35842 \end_layout
35843
35844 \end_deeper
35845 \begin_layout Enumerate
35846
35847 \change_deleted 564990737 1670317155
35848 Run the 
35849 \family typewriter
35850 .tex
35851 \family default
35852  file through \SpecialChar LaTeX
35853  as many times as necessary (usually up to three).
35854 \end_layout
35855
35856 \begin_layout Enumerate
35857
35858 \change_deleted 564990737 1670317155
35859 View the resulting 
35860 \family typewriter
35861 .dvi
35862 \family default
35863  document using,
35864  e.
35865 \begin_inset space \thinspace{}
35866 \end_inset
35867
35868 g.
35869 \begin_inset space \space{}
35870 \end_inset
35871
35872
35873 \family sans
35874 xdvi
35875 \family default
35876 ,
35877  and check if everything is OK (it should,
35878  if you didn't make any mistake).
35879 \end_layout
35880
35881 \begin_layout Standard
35882
35883 \change_deleted 564990737 1670317155
35884 \begin_inset Quotes eld
35885 \end_inset
35886
35887 Peculiarities
35888 \begin_inset Quotes erd
35889 \end_inset
35890
35891  of the Kluwer package
35892 \begin_inset CommandInset label
35893 LatexCommand label
35894 name "subsec:kluwer_peculiarities"
35895
35896 \end_inset
35897
35898
35899 \end_layout
35900
35901 \begin_layout Standard
35902
35903 \change_deleted 564990737 1670317155
35904 The Kluwer package has the following 
35905 \begin_inset Quotes eld
35906 \end_inset
35907
35908 peculiarities
35909 \begin_inset Quotes erd
35910 \end_inset
35911
35912 .
35913 \end_layout
35914
35915 \begin_layout Enumerate
35916
35917 \change_deleted 564990737 1670317155
35918 It is possible to write multiple articles in the same \SpecialChar LaTeX
35919  file
35920 \begin_inset Foot
35921 status collapsed
35922
35923 \begin_layout Plain Layout
35924 I can't imagine any good reason to do this.
35925 \end_layout
35926
35927 \end_inset
35928
35929 .
35930  Each article must be included in the environment 
35931 \begin_inset Quotes eld
35932 \end_inset
35933
35934 article
35935 \begin_inset Quotes erd
35936 \end_inset
35937
35938 .
35939  Unfortunately,
35940  this environment cannot be omitted,
35941  even if you write just one article.
35942  Therefore,
35943  each article starts with the command 
35944 \family typewriter
35945
35946 \backslash
35947 begin{article}
35948 \family default
35949  and,
35950  obviously,
35951  ends with the command 
35952 \family typewriter
35953
35954 \backslash
35955 end{article}
35956 \family default
35957 .
35958  Although this can be implemented in \SpecialChar LyX
35959 ,
35960  I didn't included it,
35961  since it looks ugly and can confuse the novice user.
35962  Therefore,
35963  you need to enter them directly and mark them as \SpecialChar LaTeX
35964  code (the well-known 
35965 \begin_inset Quotes eld
35966 \end_inset
35967
35968 \SpecialChar TeX
35969  code
35970 \begin_inset Quotes erd
35971 \end_inset
35972
35973 ).
35974 \end_layout
35975
35976 \begin_layout Enumerate
35977
35978 \change_deleted 564990737 1670317155
35979 Information given at the beginning of the article (i.
35980 \begin_inset space \thinspace{}
35981 \end_inset
35982
35983 e.
35984 \begin_inset space \space{}
35985 \end_inset
35986
35987 title,
35988  subtitle,
35989  author,
35990  institution,
35991  running title,
35992  running author,
35993  abstract and keywords) must be included in an environment called 
35994 \begin_inset Quotes eld
35995 \end_inset
35996
35997 opening
35998 \begin_inset Quotes erd
35999 \end_inset
36000
36001 .
36002  This is not implemented in \SpecialChar LyX
36003 ,
36004  so you must enter title,
36005  subtitle etc.
36006 \begin_inset space ~
36007 \end_inset
36008
36009 between two \SpecialChar TeX
36010  code lines (
36011 \family typewriter
36012
36013 \backslash
36014 begin{opening}
36015 \family default
36016  and 
36017 \family typewriter
36018
36019 \backslash
36020 end{opening}
36021 \family default
36022 ).
36023 \end_layout
36024
36025 \begin_layout Enumerate
36026
36027 \change_deleted 564990737 1670317155
36028 According to the user manual,
36029  the label of each bibliography item must be written as 
36030 \family typewriter
36031
36032 \backslash
36033 protect
36034 \backslash
36035 citeauthoryear{
36036 \family default
36037 \emph on
36038 author(s)
36039 \family typewriter
36040 \emph default
36041 }{
36042 \family default
36043 \emph on
36044 year
36045 \family typewriter
36046 \emph default
36047 }
36048 \family default
36049 .
36050 \end_layout
36051
36052 \begin_layout Standard
36053
36054 \change_deleted 564990737 1670317155
36055 The 
36056 \family typewriter
36057 kluwer.lyx
36058 \family default
36059  template takes care of all these 
36060 \begin_inset Quotes eld
36061 \end_inset
36062
36063 peculiarities
36064 \begin_inset Quotes erd
36065 \end_inset
36066
36067 .
36068  If you start a new paper using this template you don't need to do anything special.
36069  Just 
36070 \end_layout
36071
36072 \begin_layout Enumerate
36073
36074 \change_deleted 564990737 1670317155
36075 don't delete the \SpecialChar TeX
36076  code included in the template,
36077  and
36078 \end_layout
36079
36080 \begin_layout Enumerate
36081
36082 \change_deleted 564990737 1670317155
36083 copy the example bibliography item included in the template and modify it as necessary to enter new bibliography items.
36084 \end_layout
36085
36086 \begin_layout Standard
36087
36088 \change_deleted 564990737 1671097446
36089 Paper
36090 \end_layout
36091
36092 \begin_layout Standard
36093
36094 \change_deleted 564990737 1671097446
36095 The document class 
36096 \family sans
36097 paper
36098 \family default
36099  provides an alternative to the standard 
36100 \family sans
36101 article
36102 \family default
36103  class.
36104  It provides similar functionality,
36105  but you might prefer this layout with sans serif sections,
36106  headings,
36107  and more.
36108 \end_layout
36109
36110 \begin_layout Standard
36111
36112 \change_deleted 564990737 1671097446
36113 Springer Journals (
36114 \family sans
36115 svjour
36116 \family default
36117 )
36118 \end_layout
36119
36120 \begin_layout Standard
36121
36122 \change_deleted 564990737 1671097446
36123 by 
36124 \noun on
36125 Martin Vermeer
36126 \end_layout
36127
36128 \begin_layout Standard
36129
36130 \change_deleted 564990737 1671097446
36131 Description
36132 \end_layout
36133
36134 \begin_layout Standard
36135
36136 \change_deleted 564990737 1671097446
36137 These are the layout files for some of the journal formats used by Springer Verlag and listed on 
36138 \begin_inset Flex URL
36139 status collapsed
36140
36141 \begin_layout Plain Layout
36142
36143 http://www.springer.de/author/tex/help-journals.html
36144 \end_layout
36145
36146 \end_inset
36147
36148 ,
36149  where you should also go to fetch the class files (yes,
36150  these are \SpecialChar LaTeX2e
36151  now!).
36152  It is a modular system:
36153  the things common to all journals are implemented in 
36154 \family typewriter
36155 svjour.inc
36156 \family default
36157 ,
36158  which journal-specific layout files (such as,
36159  e.
36160 \begin_inset space \thinspace{}
36161 \end_inset
36162
36163 g.
36164 \begin_inset space \space{}
36165 \end_inset
36166
36167
36168 \family typewriter
36169 svjog.layout
36170 \family default
36171  for Journal of Geodesy) can include.
36172 \end_layout
36173
36174 \begin_layout Standard
36175
36176 \change_deleted 564990737 1671097446
36177 This means that implementing support for any other Springer journal on this list is as simple as writing your own 
36178 \family typewriter
36179 sv
36180 \family default
36181 <myjournal>
36182 \family typewriter
36183 .layout
36184 \family default
36185  file following the outline given in 
36186 \family typewriter
36187 svjog.layout
36188 \family default
36189 .
36190  
36191 \end_layout
36192
36193 \begin_layout Standard
36194
36195 \change_deleted 564990737 1671097446
36196 It is reasonably well tested only for the Journal of Geodesy.
36197  
36198 \family typewriter
36199 svjour
36200 \family default
36201  and 
36202 \family typewriter
36203 svjog
36204 \family default
36205  come with the standard \SpecialChar LyX
36206  distribution.
36207  Install the relevant class file (downloaded from Springer) in a proper directory,
36208  reconfigure \SpecialChar LaTeX
36209  (in the te\SpecialChar TeX
36210  case by running 
36211 \family typewriter
36212 texhash
36213 \family default
36214 ,
36215  as root if necessary —
36216  doesn't \SpecialChar LyX
36217  take care of this?),
36218  reconfigure \SpecialChar LyX
36219  and it should work.
36220 \end_layout
36221
36222 \begin_layout Standard
36223
36224 \change_deleted 564990737 1671097446
36225 New styles
36226 \end_layout
36227
36228 \begin_layout Standard
36229
36230 \change_deleted 564990737 1671097446
36231 A large number of theorem-like styles —
36232  
36233 \family sans
36234 Claim,
36235  Conjecture,
36236
36237 \family default
36238  
36239 \family sans
36240 \SpecialChar ldots
36241 Theorem
36242 \family default
36243 .
36244 \end_layout
36245
36246 \begin_layout Standard
36247
36248 \change_deleted 564990737 1671097446
36249
36250 \family sans
36251 Headnote,
36252  Dedication,
36253  Subtitle,
36254  Running_\SpecialChar LaTeX
36255 _Title,
36256  Author_Running,
36257  Institute,
36258  Mail,
36259  Offprints,
36260  Keywords,
36261  Acknowledgements,
36262  Acknowledgement
36263 \family default
36264 .
36265  See the Springer class file documentation for details.
36266 \end_layout
36267
36268 \begin_layout Standard
36269
36270 \change_deleted 564990737 1671097446
36271 Supported journals
36272 \end_layout
36273
36274 \begin_layout Itemize
36275
36276 \change_deleted 564990737 1671097446
36277
36278 \emph on
36279 Journal of Geodesy
36280 \emph default
36281 :
36282  
36283 \family typewriter
36284 svjog.layout
36285 \family default
36286  —
36287  Martin Vermeer
36288 \end_layout
36289
36290 \begin_layout Itemize
36291
36292 \change_deleted 564990737 1671097446
36293
36294 \emph on
36295 Probability Theory and Related Fields
36296 \emph default
36297 :
36298  
36299 \family typewriter
36300 svprobth.layout
36301 \family default
36302  —
36303  Jean-Marc Lasgouttes
36304 \end_layout
36305
36306 \begin_layout Standard
36307
36308 \change_deleted 564990737 1671097446
36309 Add your own,
36310  it isn't so hard!
36311 \end_layout
36312
36313 \begin_layout Standard
36314
36315 \change_deleted 564990737 1671097446
36316 Credits
36317 \end_layout
36318
36319 \begin_layout Standard
36320
36321 \change_deleted 564990737 1671097446
36322 These files are partly based on the older 
36323 \family typewriter
36324 ejour2.layout
36325 \family default
36326 ,
36327  which was again based on a tinkered-with version of an old \SpecialChar LaTeX
36328  2.09 style file from Springer.
36329  All this,
36330  and the 
36331 \family typewriter
36332 ejour2
36333 \family default
36334  layout,
36335  are now defunct.
36336  Jean-Marc Lasgouttes helped out big in making me find my way around the \SpecialChar LyX
36337  layout file mechanism.
36338 \end_layout
36339
36340 \begin_layout Standard
36341
36342 \change_deleted 564990737 1671097446
36343 Bugs
36344 \end_layout
36345
36346 \begin_layout Standard
36347
36348 \change_deleted 564990737 1671097446
36349 Probably.
36350  But probably less than in the old hacked-\SpecialChar LaTeX
36351  
36352 \family typewriter
36353 ejour2
36354 \family default
36355 .
36356 \end_layout
36357
36358 \begin_layout Chapter
36359 \SpecialChar LyX
36360  Features needing Extra Software
36361 \end_layout
36362
36363 \begin_layout Section
36364 Checking \SpecialChar TeX
36365
36366 \end_layout
36367
36368 \begin_layout Standard
36369 by 
36370 \noun on
36371 Asger Alstrup
36372 \end_layout
36373
36374 \begin_layout Subsection
36375 Introduction
36376 \end_layout
36377
36378 \begin_layout Standard
36379 If you have the 
36380 \family typewriter
36381 chktex
36382 \family default
36383  program installed
36384 \begin_inset Foot
36385 status collapsed
36386
36387 \begin_layout Plain Layout
36388
36389 \family typewriter
36390 chktex
36391 \family default
36392  is not yet available when you are using the \SpecialChar LaTeX
36393  distribution MiK\SpecialChar TeX
36394 .
36395 \end_layout
36396
36397 \end_inset
36398
36399 ,
36400  you'll find in the 
36401 \family sans
36402 Tools
36403 \family default
36404  menu the entry:
36405  
36406 \family sans
36407 Check
36408 \begin_inset space ~
36409 \end_inset
36410
36411 TeX
36412 \family default
36413 .
36414  You can get 
36415 \family typewriter
36416 chktex
36417 \family default
36418  from CTAN,
36419 \begin_inset Newline newline
36420 \end_inset
36421
36422
36423 \begin_inset CommandInset href
36424 LatexCommand href
36425 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
36426 literal "false"
36427
36428 \end_inset
36429
36430 .
36431 \end_layout
36432
36433 \begin_layout Standard
36434 The 
36435 \family sans
36436 Chk\SpecialChar TeX
36437
36438 \family default
36439  package is a program that was written by 
36440 \begin_inset Flex Noun
36441 status collapsed
36442
36443 \begin_layout Plain Layout
36444 Jens T.
36445 \begin_inset space ~
36446 \end_inset
36447
36448 Berger Thielemann
36449 \end_layout
36450
36451 \end_inset
36452
36453  in frustration because some constructs in \SpecialChar LaTeX
36454  are sometimes non-intuitive,
36455  and easy to forget.
36456  The program runs over your \SpecialChar LaTeX
36457  file,
36458  checks the integrity of the file,
36459  and flags some common errors.
36460  In other technical words,
36461  it is 
36462 \family typewriter
36463 lint
36464 \family default
36465  for \SpecialChar LaTeX
36466 .
36467 \end_layout
36468
36469 \begin_layout Standard
36470 Well,
36471  what is a syntax checker doing in \SpecialChar LyX
36472  which is supposed to produce correct \SpecialChar LaTeX
36473  anyways?
36474  The answer is simple:
36475  Just as 
36476 \family typewriter
36477 Lint
36478 \family default
36479  not only checks the 
36480 \emph on
36481 syntax
36482 \emph default
36483  of C programs,
36484  but also does 
36485 \emph on
36486 semantic
36487 \emph default
36488  checks for type-errors,
36489  
36490 \family sans
36491 Chk\SpecialChar TeX
36492
36493 \family default
36494  catches some common 
36495 \emph on
36496 typographic
36497 \emph default
36498  errors,
36499  in addition to the syntactical ones.
36500  Specifically,
36501  
36502 \family sans
36503 Chk\SpecialChar TeX
36504
36505 \family default
36506  is capable of detecting several common errors,
36507  such as
36508 \end_layout
36509
36510 \begin_layout Itemize
36511 Ellipsis detection:
36512 \begin_inset Newline newline
36513 \end_inset
36514
36515 Use \SpecialChar ldots
36516  instead of ...
36517 \end_layout
36518
36519 \begin_layout Itemize
36520 No space in front of/after parenthesis:
36521 \begin_inset Newline newline
36522 \end_inset
36523
36524 ( wrong spacing )
36525 \end_layout
36526
36527 \begin_layout Itemize
36528 Enforcement of normal space after common abbreviations:
36529 \begin_inset Newline newline
36530 \end_inset
36531
36532 e.
36533 \begin_inset space \thinspace{}
36534 \end_inset
36535
36536 g.
36537 \begin_inset space \space{}
36538 \end_inset
36539
36540 is too wide spacing.
36541 \end_layout
36542
36543 \begin_layout Itemize
36544 Enforcement of end-of-sentence space when the last sentence ends with a capital letter:
36545 \begin_inset Newline newline
36546 \end_inset
36547
36548 This is a TEST.
36549  And this is wrong spacing.
36550 \end_layout
36551
36552 \begin_layout Itemize
36553 Space in front of labels and similar commands:
36554 \begin_inset Newline newline
36555 \end_inset
36556
36557 The label should stick right up to the text to avoid falling to a wrong page.
36558  
36559 \begin_inset CommandInset label
36560 LatexCommand label
36561 name "sec:chktex"
36562
36563 \end_inset
36564
36565  
36566 \begin_inset Foot
36567 status collapsed
36568
36569 \begin_layout Plain Layout
36570 This footnote is in danger of falling off to a wrong page
36571 \end_layout
36572
36573 \end_inset
36574
36575  The label is separated too much.
36576 \end_layout
36577
36578 \begin_layout Itemize
36579 Space in front of references,
36580  instead of hard spaces:
36581 \begin_inset Newline newline
36582 \end_inset
36583
36584 If you have bad luck,
36585  the text will break right between the referenced text and reference number,
36586  and that's a pity.
36587  See section 
36588 \begin_inset CommandInset ref
36589 LatexCommand ref
36590 reference "sec:chktex"
36591 nolink "false"
36592
36593 \end_inset
36594
36595 .
36596 \end_layout
36597
36598 \begin_layout Itemize
36599 Use of 
36600 \begin_inset Quotes eld
36601 \end_inset
36602
36603 x
36604 \begin_inset Quotes erd
36605 \end_inset
36606
36607  instead of 
36608 \begin_inset Formula $\times$
36609 \end_inset
36610
36611  between numbers:
36612 \begin_inset Newline newline
36613 \end_inset
36614
36615 2x2 looks cheap compared to 
36616 \begin_inset Formula $2\times2$
36617 \end_inset
36618
36619 .
36620 \end_layout
36621
36622 \begin_layout Standard
36623 and more \SpecialChar ldots
36624  It is an invaluable tool when you are 
36625 \begin_inset Quotes eld
36626 \end_inset
36627
36628 finishing up
36629 \begin_inset Quotes erd
36630 \end_inset
36631
36632  your document before printing,
36633  and you should run it right after the obligatory spelling check,
36634  and before you go fine tuning the typesetting.
36635 \end_layout
36636
36637 \begin_layout Subsection
36638 How to use it
36639 \end_layout
36640
36641 \begin_layout Standard
36642 If you have the program installed,
36643  usage is as simple as choosing 
36644 \family sans
36645 Tools\SpecialChar menuseparator
36646 Check
36647 \begin_inset space ~
36648 \end_inset
36649
36650 TeX
36651 \family default
36652 .
36653  This will make \SpecialChar LyX
36654  generate a \SpecialChar LaTeX
36655  file of your document,
36656  start 
36657 \family sans
36658 Chk\SpecialChar TeX
36659
36660 \family default
36661  to check it,
36662  and then make \SpecialChar LyX
36663  insert 
36664 \begin_inset Quotes eld
36665 \end_inset
36666
36667 error boxes
36668 \begin_inset Quotes erd
36669 \end_inset
36670
36671  with the warnings from 
36672 \family sans
36673 Chk\SpecialChar TeX
36674
36675 \family default
36676 ,
36677  if there were any.
36678  The warnings will be placed close to the point of the mistake,
36679  and you can quickly find them by using the 
36680 \family sans
36681 Navigate\SpecialChar menuseparator
36682 Error
36683 \family default
36684  menu item,
36685  or the shortcut key 
36686 \family sans
36687 C-g
36688 \family default
36689  from the default 
36690 \family typewriter
36691 cua
36692 \family default
36693  bind file.
36694  Open the error boxes by clicking on them with the mouse,
36695  or use the shortcut key 
36696 \family sans
36697 C-i
36698 \family default
36699  from 
36700 \family typewriter
36701 cua
36702 \family default
36703  bindings,
36704  or the corresponding 
36705 \family sans
36706 C-o
36707 \family default
36708  for the alternate 
36709 \family typewriter
36710 emacs
36711 \family default
36712  bind file.
36713  Read the warning and correct the mistake,
36714  if it is a mistake.
36715  If you have trouble understanding what the warning is about,
36716  you can safely ignore it.
36717  Remember that there is a hidden layer between the document on screen and the technical details in invoking 
36718 \family sans
36719 Chk\SpecialChar TeX
36720
36721 \family default
36722 ,
36723  and this gap can make some warnings seem arcane or just plain silly.
36724 \end_layout
36725
36726 \begin_layout Standard
36727 This document is an excellent testing bed for the feature,
36728  and it should provide quite a few warnings for you to fiddle with.
36729  Since computers are only so smart,
36730  expect most of the warnings to be false alarms,
36731  though.
36732 \end_layout
36733
36734 \begin_layout Subsection
36735 How to fine tune it
36736 \end_layout
36737
36738 \begin_layout Standard
36739 Sometimes,
36740  you'll find that 
36741 \family sans
36742 Chk\SpecialChar TeX
36743
36744 \family default
36745  makes more noise than suits your mood.
36746  Then you can choose not to use it,
36747  wait until your mood changes,
36748  or try to customize 
36749 \family sans
36750 Chk\SpecialChar TeX
36751
36752 \family default
36753  to get better along with you.
36754 \end_layout
36755
36756 \begin_layout Standard
36757 Although 
36758 \family sans
36759 Chk\SpecialChar TeX
36760
36761 \family default
36762  
36763 \emph on
36764 is
36765 \emph default
36766  very configurable and extensible,
36767  you should not expect to solve all problems with 
36768 \family sans
36769 Chk\SpecialChar TeX
36770
36771 \family default
36772  in \SpecialChar LyX
36773  this way.
36774  Since \SpecialChar LyX
36775  has to generate a somewhat special \SpecialChar LaTeX
36776  file to be able to match the line numbers from the 
36777 \family sans
36778 Chk\SpecialChar TeX
36779
36780 \family default
36781  output
36782 \begin_inset Foot
36783 status collapsed
36784
36785 \begin_layout Plain Layout
36786 You can inspect the specific output from 
36787 \family sans
36788 chktex
36789 \family default
36790  by using 
36791 \family sans
36792 Document\SpecialChar menuseparator
36793 \SpecialChar LaTeX
36794
36795 \begin_inset space ~
36796 \end_inset
36797
36798 Log
36799 \family default
36800  right after a 
36801 \family sans
36802 chktex
36803 \family default
36804  run.
36805 \end_layout
36806
36807 \end_inset
36808
36809  to the internal document structure,
36810  some of the warnings will not appear correctly.
36811  There are two things you can do about this:
36812 \end_layout
36813
36814 \begin_layout Itemize
36815 Fine tune the 
36816 \family sans
36817 Chk\SpecialChar TeX
36818
36819 \family default
36820  invocation command line in 
36821 \change_deleted -712698321 1674918035
36822
36823 \begin_inset Flex Noun
36824 status collapsed
36825
36826 \begin_layout Plain Layout
36827 Tools\SpecialChar menuseparator
36828 Preferences\SpecialChar menuseparator
36829 Output\SpecialChar menuseparator
36830 LaTeX\SpecialChar menuseparator
36831 CheckTeX command
36832 \end_layout
36833
36834 \end_inset
36835
36836
36837 \change_inserted -712698321 1674918035
36838
36839 \family sans
36840 Tools\SpecialChar menuseparator
36841 Preferences\SpecialChar menuseparator
36842 Output\SpecialChar menuseparator
36843 LaTeX\SpecialChar menuseparator
36844 CheckTeX command
36845 \change_unchanged
36846
36847 \family default
36848 ,
36849  or the global 
36850 \family sans
36851 Chk\SpecialChar TeX
36852
36853 \family default
36854  installation configuration file (usually with the file 
36855 \family typewriter
36856 chktexrc
36857 \family default
36858 ).
36859  See below to learn what warnings can be enabled and disabled on the command line.
36860 \end_layout
36861
36862 \begin_layout Itemize
36863 Export your document as a raw \SpecialChar LaTeX
36864  file using 
36865 \family sans
36866 File\SpecialChar menuseparator
36867 Export\SpecialChar menuseparator
36868 \SpecialChar LaTeX
36869
36870 \family default
36871  and run 
36872 \family typewriter
36873 chktex
36874 \family default
36875  manually on that.
36876  Invoked in this way,
36877  it can be a hassle to find the corresponding place in the document inside \SpecialChar LyX
36878 ,
36879  but with a little patience,
36880  you should be able to do it.
36881 \end_layout
36882
36883 \begin_layout Standard
36884 Here follows the warning messages that can be enabled and disabled in 
36885 \family sans
36886 Preferences
36887 \family default
36888 .
36889  Use 
36890 \family typewriter
36891 -n#
36892 \family default
36893  to disable a warning,
36894  and 
36895 \family typewriter
36896 -w#
36897 \family default
36898  to enable a warning.
36899  The emphasized entries are disabled by default,
36900  because the default is "
36901 \family typewriter
36902 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
36903 \family default
36904 ".
36905 \end_layout
36906
36907 \begin_layout Standard
36908 Notice that you should only use the options that enable and disable warnings,
36909  because \SpecialChar LyX
36910  relies on some of the other command line parameters to be set in a specific way to have a chance to communicate with 
36911 \family typewriter
36912 chktex
36913 \family default
36914 .
36915 \end_layout
36916
36917 \begin_layout Enumerate
36918
36919 \size small
36920 \emph on
36921 Command terminated with space.
36922 \end_layout
36923
36924 \begin_layout Enumerate
36925
36926 \size small
36927 Non-breaking space (
36928 \begin_inset Quotes eld
36929 \end_inset
36930
36931
36932 \family typewriter
36933 ~
36934 \family default
36935
36936 \begin_inset Quotes erd
36937 \end_inset
36938
36939 ) should have been used.
36940 \end_layout
36941
36942 \begin_layout Enumerate
36943
36944 \size small
36945 \emph on
36946 You should enclose the previous parenthesis with 
36947 \begin_inset Quotes eld
36948 \end_inset
36949
36950
36951 \family typewriter
36952 {}
36953 \family default
36954
36955 \begin_inset Quotes erd
36956 \end_inset
36957
36958 .
36959 \end_layout
36960
36961 \begin_layout Enumerate
36962
36963 \size small
36964 Italic correction (
36965 \begin_inset Quotes eld
36966 \end_inset
36967
36968
36969 \family typewriter
36970
36971 \backslash
36972 /
36973 \family default
36974
36975 \begin_inset Quotes erd
36976 \end_inset
36977
36978 ) found in non-italic buffer.
36979 \end_layout
36980
36981 \begin_layout Enumerate
36982
36983 \size small
36984 Italic correction (
36985 \begin_inset Quotes eld
36986 \end_inset
36987
36988
36989 \family typewriter
36990
36991 \backslash
36992 /
36993 \family default
36994
36995 \begin_inset Quotes erd
36996 \end_inset
36997
36998 ) found more than once.
36999 \end_layout
37000
37001 \begin_layout Enumerate
37002
37003 \size small
37004 \emph on
37005 No italic correction (
37006 \begin_inset Quotes eld
37007 \end_inset
37008
37009
37010 \family typewriter
37011
37012 \backslash
37013 /
37014 \family default
37015
37016 \begin_inset Quotes erd
37017 \end_inset
37018
37019 ) found.
37020 \end_layout
37021
37022 \begin_layout Enumerate
37023
37024 \size small
37025 Accent command 
37026 \begin_inset Quotes eld
37027 \end_inset
37028
37029
37030 \family typewriter
37031 cmd
37032 \family default
37033
37034 \begin_inset Quotes erd
37035 \end_inset
37036
37037  needs use of 
37038 \begin_inset Quotes eld
37039 \end_inset
37040
37041
37042 \family typewriter
37043 cmd
37044 \family default
37045
37046 \begin_inset Quotes erd
37047 \end_inset
37048
37049 .
37050 \end_layout
37051
37052 \begin_layout Enumerate
37053
37054 \size small
37055 Wrong length of dash may have been used.
37056 \end_layout
37057
37058 \begin_layout Enumerate
37059
37060 \size small
37061 \emph on
37062 \begin_inset Quotes eld
37063 \end_inset
37064
37065
37066 \family typewriter
37067 %s
37068 \family default
37069
37070 \begin_inset Quotes erd
37071 \end_inset
37072
37073  expected,
37074  found 
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 Solo 
37093 \begin_inset Quotes eld
37094 \end_inset
37095
37096
37097 \family typewriter
37098 %s
37099 \family default
37100
37101 \begin_inset Quotes erd
37102 \end_inset
37103
37104  found.
37105 \end_layout
37106
37107 \begin_layout Enumerate
37108
37109 \size small
37110 You should use 
37111 \begin_inset Quotes eld
37112 \end_inset
37113
37114
37115 \family typewriter
37116 %s
37117 \family default
37118
37119 \begin_inset Quotes erd
37120 \end_inset
37121
37122  to achieve an ellipsis.
37123 \end_layout
37124
37125 \begin_layout Enumerate
37126
37127 \size small
37128 Inter-word spacing (
37129 \begin_inset Quotes eld
37130 \end_inset
37131
37132
37133 \family typewriter
37134
37135 \backslash
37136
37137 \family default
37138  
37139 \begin_inset Quotes eld
37140 \end_inset
37141
37142 ) should perhaps be used.
37143 \end_layout
37144
37145 \begin_layout Enumerate
37146
37147 \size small
37148 Inter-sentence spacing (
37149 \begin_inset Quotes eld
37150 \end_inset
37151
37152
37153 \family typewriter
37154
37155 \backslash
37156 @
37157 \family default
37158
37159 \begin_inset Quotes erd
37160 \end_inset
37161
37162 ) should perhaps be used.
37163 \end_layout
37164
37165 \begin_layout Enumerate
37166
37167 \size small
37168 Could not find argument for command.
37169 \end_layout
37170
37171 \begin_layout Enumerate
37172
37173 \size small
37174 No match found for 
37175 \begin_inset Quotes eld
37176 \end_inset
37177
37178
37179 \family typewriter
37180 %s
37181 \family default
37182
37183 \begin_inset Quotes erd
37184 \end_inset
37185
37186 .
37187 \end_layout
37188
37189 \begin_layout Enumerate
37190
37191 \size small
37192 Math mode still on at end of \SpecialChar LaTeX
37193  file.
37194 \end_layout
37195
37196 \begin_layout Enumerate
37197
37198 \size small
37199 Number of 
37200 \begin_inset Quotes eld
37201 \end_inset
37202
37203
37204 \family typewriter
37205 char
37206 \family default
37207
37208 \begin_inset Quotes erd
37209 \end_inset
37210
37211  doesn't match the number of 
37212 \begin_inset Quotes eld
37213 \end_inset
37214
37215
37216 \family typewriter
37217 char
37218 \family default
37219
37220 \begin_inset Quotes erd
37221 \end_inset
37222
37223 .
37224 \end_layout
37225
37226 \begin_layout Enumerate
37227
37228 \size small
37229 You should use either 
37230 \family typewriter
37231
37232 \begin_inset Quotes eld
37233 \end_inset
37234
37235
37236 \family default
37237  or 
37238 \family typewriter
37239
37240 \begin_inset Quotes erd
37241 \end_inset
37242
37243
37244 \family default
37245  as an alternative to 
37246 \begin_inset Quotes eld
37247 \end_inset
37248
37249
37250 \family typewriter
37251 "
37252 \family default
37253
37254 \begin_inset Quotes erd
37255 \end_inset
37256
37257 .
37258 \end_layout
37259
37260 \begin_layout Enumerate
37261
37262 \size small
37263 You should use "
37264 \family typewriter
37265 '
37266 \family default
37267 " (ASCII 39) instead of "
37268 \family typewriter
37269 ´
37270 \family default
37271 " (ASCII 180).
37272 \end_layout
37273
37274 \begin_layout Enumerate
37275
37276 \size small
37277 User-specified pattern found.
37278 \end_layout
37279
37280 \begin_layout Enumerate
37281
37282 \size small
37283 This command might not be intended.
37284 \end_layout
37285
37286 \begin_layout Enumerate
37287
37288 \size small
37289 \emph on
37290 Comment displayed.
37291 \end_layout
37292
37293 \begin_layout Enumerate
37294
37295 \size small
37296 Either 
37297 \family typewriter
37298 ''
37299 \backslash
37300 ,'
37301 \family default
37302  or 
37303 \family typewriter
37304 '
37305 \backslash
37306 ,''
37307 \family default
37308  will look better.
37309 \end_layout
37310
37311 \begin_layout Enumerate
37312
37313 \size small
37314 Delete this space to maintain correct page references.
37315 \end_layout
37316
37317 \begin_layout Enumerate
37318
37319 \size small
37320 \emph on
37321 You might wish to put this between a pair of 
37322 \begin_inset Quotes eld
37323 \end_inset
37324
37325
37326 \family typewriter
37327 {}
37328 \family default
37329
37330 \begin_inset Quotes erd
37331 \end_inset
37332
37333 .
37334 \end_layout
37335
37336 \begin_layout Enumerate
37337
37338 \size small
37339 You ought to remove spaces in front of punctuation.
37340 \end_layout
37341
37342 \begin_layout Enumerate
37343
37344 \size small
37345 Could not execute \SpecialChar LaTeX
37346  command.
37347 \end_layout
37348
37349 \begin_layout Enumerate
37350
37351 \size small
37352 Don't use 
37353 \family typewriter
37354
37355 \backslash
37356 /
37357 \family default
37358  in front of small punctuation.
37359 \end_layout
37360
37361 \begin_layout Enumerate
37362
37363 \family typewriter
37364 \size small
37365 $
37366 \backslash
37367 times$
37368 \family default
37369  may look prettier here.
37370 \end_layout
37371
37372 \begin_layout Enumerate
37373
37374 \size small
37375 \emph on
37376 Multiple spaces detected in output.
37377 \end_layout
37378
37379 \begin_layout Enumerate
37380
37381 \size small
37382 This text may be ignored.
37383 \end_layout
37384
37385 \begin_layout Enumerate
37386
37387 \size small
37388 Use 
37389 \family typewriter
37390
37391 \begin_inset Quotes eld
37392 \end_inset
37393
37394
37395 \family default
37396  to begin quotation,
37397  not 
37398 \family typewriter
37399 '
37400 \family default
37401 .
37402 \end_layout
37403
37404 \begin_layout Enumerate
37405
37406 \size small
37407 Use 
37408 \family typewriter
37409 '
37410 \family default
37411  to end quotation,
37412  not 
37413 \family typewriter
37414
37415 \begin_inset Quotes eld
37416 \end_inset
37417
37418
37419 \family default
37420 .
37421 \end_layout
37422
37423 \begin_layout Enumerate
37424
37425 \size small
37426 Don't mix quotes.
37427 \end_layout
37428
37429 \begin_layout Enumerate
37430
37431 \size small
37432 You should perhaps use 
37433 \begin_inset Quotes eld
37434 \end_inset
37435
37436
37437 \family typewriter
37438 cmd
37439 \family default
37440
37441 \begin_inset Quotes erd
37442 \end_inset
37443
37444  instead.
37445 \end_layout
37446
37447 \begin_layout Enumerate
37448
37449 \size small
37450 You should put a space in front of/after parenthesis.
37451 \end_layout
37452
37453 \begin_layout Enumerate
37454
37455 \size small
37456 You should avoid spaces in front of/after parenthesis.
37457 \end_layout
37458
37459 \begin_layout Enumerate
37460
37461 \size small
37462 \emph on
37463 You should not use punctuation in front of/after quotes.
37464 \end_layout
37465
37466 \begin_layout Enumerate
37467
37468 \size small
37469 Double space found.
37470 \end_layout
37471
37472 \begin_layout Enumerate
37473
37474 \size small
37475 You should put punctuation outside inner/inside display math mode.
37476 \end_layout
37477
37478 \begin_layout Enumerate
37479
37480 \size small
37481 You ought to not use primitive \SpecialChar TeX
37482  in \SpecialChar LaTeX
37483  code.
37484 \end_layout
37485
37486 \begin_layout Enumerate
37487
37488 \size small
37489 You should remove spaces in front of 
37490 \begin_inset Quotes eld
37491 \end_inset
37492
37493
37494 \family typewriter
37495 %s
37496 \family default
37497
37498 \begin_inset Quotes erd
37499 \end_inset
37500
37501
37502 \end_layout
37503
37504 \begin_layout Enumerate
37505
37506 \size small
37507 \begin_inset Quotes eld
37508 \end_inset
37509
37510
37511 \family typewriter
37512 %s
37513 \family default
37514
37515 \begin_inset Quotes erd
37516 \end_inset
37517
37518  is normally not followed by 
37519 \begin_inset Quotes eld
37520 \end_inset
37521
37522
37523 \family typewriter
37524 %c
37525 \family default
37526
37527 \begin_inset Quotes erd
37528 \end_inset
37529
37530 .
37531 \end_layout
37532
37533 \begin_layout Standard
37534 In later versions of \SpecialChar LyX
37535 ,
37536  we hope to provide a more complete interface to this tool (and it's smaller cousin 
37537 \family typewriter
37538 lacheck
37539 \family default
37540 ) to exploit the full power of it.
37541  But it's not exactly useless as it is now:
37542  go try it on one of your existing documents of a certain length and be surprised.
37543 \end_layout
37544
37545 \begin_layout Section
37546 Version Control in \SpecialChar LyX
37547
37548 \end_layout
37549
37550 \begin_layout Standard
37551 by
37552 \noun on
37553  Lars Gullik Bjønnes 
37554 \noun default
37555 and 
37556 \noun on
37557 Pavel Sanda
37558 \end_layout
37559
37560 \begin_layout Subsection
37561 Introduction
37562 \end_layout
37563
37564 \begin_layout Standard
37565 \SpecialChar LyX
37566  supports some of the most basic RCS/CVS/SVN/GIT commands.
37567  If you need something a bit more sophisticated you will have to do that manually in a terminal.
37568 \end_layout
37569
37570 \begin_layout Standard
37571 Also note that CVS support is not as good as subversion support,
37572  so we advise using SVN instead.
37573  A good place to start learning Subversion is the SVN Book
37574 \begin_inset Foot
37575 status collapsed
37576
37577 \begin_layout Plain Layout
37578 \begin_inset CommandInset href
37579 LatexCommand href
37580 target "http://svnbook.red-bean.com/"
37581 literal "false"
37582
37583 \end_inset
37584
37585
37586 \end_layout
37587
37588 \end_inset
37589
37590 .
37591  In the case of RCS you should read 
37592 \begin_inset Quotes eld
37593 \end_inset
37594
37595 rcsintro
37596 \begin_inset Quotes erd
37597 \end_inset
37598
37599  (a man file,
37600  read it with 
37601 \family typewriter
37602 man rcsintro
37603 \family default
37604 ).
37605  This file describes all the basic features of RCS.
37606  You should especially notice the comment about a RCS directory,
37607  and the notion of a master RCS file (the file ending in 
37608 \family typewriter
37609 ,v
37610 \family default
37611 ).
37612 \end_layout
37613
37614 \begin_layout Standard
37615 Before you begin to use the version control features in \SpecialChar LyX
37616 ,
37617  you should be familiar with RCS/CVS/SVN/GIT usage.
37618  The implementation in \SpecialChar LyX
37619  assumes a recent version of the GNU RCS or CVS/SVN package —
37620  no guarantees are made for older versions.
37621  Most of the log messages are not currently displayed after operations —
37622  you can check them in the Messages pane if you are unsure.
37623  Regular users of version control will appreciate the VC toolbar,
37624  which can be enabled via 
37625 \family sans
37626 View\SpecialChar menuseparator
37627 Toolbars\SpecialChar menuseparator
37628 Version
37629 \begin_inset space ~
37630 \end_inset
37631
37632 Control
37633 \family default
37634 .
37635 \end_layout
37636
37637 \begin_layout Standard
37638 For introducing your own external commands consult 
37639 \begin_inset Flex Code
37640 status collapsed
37641
37642 \begin_layout Plain Layout
37643 vc-command
37644 \end_layout
37645
37646 \end_inset
37647
37648  in the manual 
37649 \emph on
37650 \SpecialChar LyX
37651  Functions
37652 \emph default
37653 .
37654 \end_layout
37655
37656 \begin_layout Standard
37657 It is strongly recommended to store documents in uncompressed format if using version control (uncheck 
37658 \family sans
37659 Document\SpecialChar menuseparator
37660 Compressed
37661 \family default
37662  if it is checked):
37663  Uncompressed LyX documents are text files and therefore for merging two different versions by version control systems.
37664  Compressed LyX documents are binary files,
37665  which cannot be merged by version control systems.
37666 \end_layout
37667
37668 \begin_layout Subsection
37669 RCS commands in \SpecialChar LyX
37670
37671 \end_layout
37672
37673 \begin_layout Standard
37674 The following sections describe the RCS commands supported by \SpecialChar LyX
37675 .
37676  You can find them in the 
37677 \family sans
37678 File\SpecialChar menuseparator
37679 Version
37680 \begin_inset space ~
37681 \end_inset
37682
37683 Control
37684 \family default
37685  submenu.
37686  \SpecialChar LyX
37687  was tested against RCS 5.7/5.8.
37688 \end_layout
37689
37690 \begin_layout Subsubsection
37691
37692 \family sans
37693 Register
37694 \end_layout
37695
37696 \begin_layout Standard
37697 If your document is not under revision control,
37698  this is the only item shown in the menu.
37699  And if it is under revision control,
37700  the 
37701 \family sans
37702 Register
37703 \family default
37704  item is not visible.
37705  
37706 \end_layout
37707
37708 \begin_layout Standard
37709 This command registers your document with RCS (unless you are under the directory managed by CVS)\SpecialChar endofsentence
37710  You are asked interactively to supply an initial description of the document.
37711  The document is now set in Read-Only mode and you have to 
37712 \family sans
37713 Check
37714 \begin_inset space ~
37715 \end_inset
37716
37717 Out
37718 \begin_inset space ~
37719 \end_inset
37720
37721 For
37722 \begin_inset space ~
37723 \end_inset
37724
37725 Edit
37726 \family default
37727 ,
37728  before making any changes to it.
37729  A document under revision control has a 
37730 \begin_inset Quotes eld
37731 \end_inset
37732
37733 [RCS:<version> <locker>]
37734 \begin_inset Quotes erd
37735 \end_inset
37736
37737  item tagged to the filename in the minibuffer.
37738 \end_layout
37739
37740 \begin_layout Standard
37741 RCS command that is run:
37742 \end_layout
37743
37744 \begin_layout LyX-Code
37745
37746 \family typewriter
37747 ci -q -u -i -t-"<initial description>" <file-name>
37748 \end_layout
37749
37750 \begin_layout Standard
37751 Read 
37752 \family typewriter
37753 man ci
37754 \family default
37755  to understand the switches.
37756  
37757 \end_layout
37758
37759 \begin_layout Subsubsection
37760
37761 \family sans
37762 Check In Changes
37763 \end_layout
37764
37765 \begin_layout Standard
37766 When you are finished editing a file,
37767  you check in your changes.
37768  When you do this,
37769  you are asked for a description of the changes.
37770  This is stored in the history log.
37771  The version number is bumped,
37772  your changes are applied to the master RCS file,
37773  the document is unlocked and set to Read-Only mode.
37774 \end_layout
37775
37776 \begin_layout Itemize
37777 RCS command:
37778  
37779 \family typewriter
37780 ci -q -u -m"<description>" <file-name>
37781 \end_layout
37782
37783 \begin_layout Subsubsection
37784
37785 \family sans
37786 Check Out For Edit
37787 \end_layout
37788
37789 \begin_layout Standard
37790 By doing this you lock the document so that only you can edit it.
37791  This will also make the document Read-Write only for you.
37792  You will usually continue editing for a while and when you are finished you check in your changes.
37793  The status line is changed to reflect that you have locked the file.
37794 \end_layout
37795
37796 \begin_layout Itemize
37797 RCS command:
37798  
37799 \family typewriter
37800 co -q -l <file-name>
37801 \end_layout
37802
37803 \begin_layout Subsubsection
37804
37805 \family sans
37806 Revert To Repository Version
37807 \end_layout
37808
37809 \begin_layout Standard
37810 This will discard all changes made to the document since the last check in.
37811  You get a warning before changes are discarded.
37812 \end_layout
37813
37814 \begin_layout Itemize
37815 RCS command:
37816  
37817 \family typewriter
37818 co -f -u<version> <file-name>
37819 \end_layout
37820
37821 \begin_layout Subsubsection
37822
37823 \family sans
37824 Copy
37825 \end_layout
37826
37827 \begin_layout Standard
37828 This will create a copy of the current document.
37829  Since RCS does not support copy operations natively,
37830  the version history is not preserved,
37831  and the copy is added as a new file.
37832  It requires a clean document without any changes since the last checkin.
37833  You are asked for a file name and a description of the copy operation.
37834  After that the copy is created,
37835  both locally and in the repository.
37836  If the parent directories of the copied and original document differ,
37837  all relative paths of included files of the copy are adjusted (like in 
37838 \family sans
37839 File\SpecialChar menuseparator
37840 Save As
37841 \family default
37842 \SpecialChar ldots
37843 ).
37844  Finally,
37845  the copy is loaded instead of the original document.
37846 \end_layout
37847
37848 \begin_layout Labeling
37849 \labelwidthstring 00.00.0000
37850 RCS
37851 \begin_inset space ~
37852 \end_inset
37853
37854 commands:
37855  
37856 \begin_inset space ~
37857 \end_inset
37858
37859
37860 \begin_inset Newline newline
37861 \end_inset
37862
37863 Copy 
37864 \begin_inset Flex Code
37865 status collapsed
37866
37867 \begin_layout Plain Layout
37868
37869 \family typewriter
37870 \begin_inset Quotes qld
37871 \end_inset
37872
37873 <file-name>
37874 \begin_inset Quotes qld
37875 \end_inset
37876
37877
37878 \end_layout
37879
37880 \end_inset
37881
37882  to 
37883 \begin_inset Flex Code
37884 status collapsed
37885
37886 \begin_layout Plain Layout
37887
37888 \family typewriter
37889 \begin_inset Quotes qld
37890 \end_inset
37891
37892 <new-file-name>
37893 \begin_inset Quotes qld
37894 \end_inset
37895
37896
37897 \end_layout
37898
37899 \end_inset
37900
37901
37902 \begin_inset Newline newline
37903 \end_inset
37904
37905
37906 \begin_inset Flex Code
37907 status collapsed
37908
37909 \begin_layout Plain Layout
37910 ci -q -u 
37911 \family typewriter
37912 -i 
37913 \begin_inset Quotes qld
37914 \end_inset
37915
37916 <new-file-name>
37917 \begin_inset Quotes qld
37918 \end_inset
37919
37920
37921 \end_layout
37922
37923 \end_inset
37924
37925
37926 \end_layout
37927
37928 \begin_layout Subsubsection
37929
37930 \family sans
37931 Undo Last Checkin
37932 \end_layout
37933
37934 \begin_layout Standard
37935 This makes as if the last check in never happened.
37936  No changes are made to the document loaded into \SpecialChar LyX
37937 ,
37938  but the last version is removed from the master RCS file.
37939 \end_layout
37940
37941 \begin_layout Itemize
37942 RCS command:
37943  
37944 \family typewriter
37945 rcs -o<version> <file-name>
37946 \end_layout
37947
37948 \begin_layout Subsubsection
37949
37950 \family sans
37951 Show History
37952 \end_layout
37953
37954 \begin_layout Standard
37955 This shows the complete history of the RCS document.
37956  The output of 
37957 \family typewriter
37958 rlog <file-name>
37959 \family default
37960  is shown in a browser.
37961  See 
37962 \family typewriter
37963 man rlog
37964 \family default
37965  for more info.
37966 \end_layout
37967
37968 \begin_layout Subsubsection
37969 Revision info
37970 \end_layout
37971
37972 \begin_layout Standard
37973 \SpecialChar LyX
37974  supports RCS version number,
37975  author name,
37976  date and time of last commit.
37977  All those are extracted from 
37978 \family typewriter
37979 rlog -r <file-name>
37980 \family default
37981 .
37982  See 
37983 \begin_inset CommandInset ref
37984 LatexCommand ref
37985 reference "subsec:VCS-Revision-Information"
37986 nolink "false"
37987
37988 \end_inset
37989
37990  for details.
37991 \end_layout
37992
37993 \begin_layout Subsection
37994 CVS commands in \SpecialChar LyX
37995
37996 \end_layout
37997
37998 \begin_layout Standard
37999 A subset of CVS operations is supported by \SpecialChar LyX
38000 .
38001  You can find the commands in the 
38002 \family sans
38003 File\SpecialChar menuseparator
38004 Version
38005 \begin_inset space ~
38006 \end_inset
38007
38008 Control
38009 \family default
38010  submenu.
38011  The version control system SVN is more powerful,
38012  so please use it instead of CVS if possible.
38013 \end_layout
38014
38015 \begin_layout Subsubsection
38016
38017 \family sans
38018 General CVS usage
38019 \end_layout
38020
38021 \begin_layout Standard
38022 If you start from scratch with CVS you have to create your repository and checkout the working copy with external tools.
38023  If you're using a client-server setup you may need to login before doing the first repository checkout.
38024 \end_layout
38025
38026 \begin_layout Standard
38027 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.
38028  Standard CVS repositories don't operate with a file locking mechanism.
38029  This may be surprising,
38030  but conflicts only occur if people disagree on the proper content of the same part of a document.
38031  So,
38032  if co-workers are used to communicate regularly,
38033  these conflicts occur rarely.
38034  If they don't communicate they have a fundamental problem anyway.
38035  Nevertheless some people like to work with so called 
38036 \begin_inset Quotes eld
38037 \end_inset
38038
38039 reserved checkouts
38040 \begin_inset Quotes erd
38041 \end_inset
38042
38043 .
38044  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.
38045  When the changes are checked in the working copy returns to readonly state.
38046  With \SpecialChar LyX
38047  one has to edit the 
38048 \begin_inset Flex Code
38049 status collapsed
38050
38051 \begin_layout Plain Layout
38052 .cvsrc
38053 \end_layout
38054
38055 \end_inset
38056
38057  file and add the line 
38058 \begin_inset Flex Code
38059 status collapsed
38060
38061 \begin_layout Plain Layout
38062 cvs -r
38063 \end_layout
38064
38065 \end_inset
38066
38067  to work with reserved checkouts.
38068  The benefit is the possibility to see who is using a writable copy of some document.
38069  It's not guaranteed only one user makes a copy writable.
38070 \end_layout
38071
38072 \begin_layout Standard
38073 \SpecialChar LyX
38074  tries to guess if you're using reserved or non-reserved checkouts.
38075  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.
38076  When a reserved checkout is detected you have to use 
38077 \begin_inset Flex Noun
38078 status collapsed
38079
38080 \begin_layout Plain Layout
38081 Check Out
38082 \end_layout
38083
38084 \end_inset
38085
38086  to make your working copy writable if it's readonly.
38087  After doing so the 
38088 \begin_inset Flex Noun
38089 status collapsed
38090
38091 \begin_layout Plain Layout
38092 Check In
38093 \end_layout
38094
38095 \end_inset
38096
38097  operation is possible and that makes your working copy readonly again after transferring your changes to the repository.
38098 \end_layout
38099
38100 \begin_layout Standard
38101 More information about CVS can be found here 
38102 \begin_inset Flex URL
38103 status collapsed
38104
38105 \begin_layout Plain Layout
38106
38107 http://www.nongnu.org/cvs
38108 \end_layout
38109
38110 \end_inset
38111
38112  and here 
38113 \begin_inset Flex URL
38114 status collapsed
38115
38116 \begin_layout Plain Layout
38117
38118 http://ximbiot.com/cvs
38119 \end_layout
38120
38121 \end_inset
38122
38123 .
38124 \end_layout
38125
38126 \begin_layout Standard
38127 Read 
38128 \family typewriter
38129 man cvs
38130 \family default
38131  to understand the sub-commands and the switches mentioned below.
38132 \end_layout
38133
38134 \begin_layout Subsubsection
38135
38136 \family sans
38137 Register
38138 \end_layout
38139
38140 \begin_layout Standard
38141 If your document is not under revision control,
38142  this is the only item shown in the menu.
38143  And if it is under revision control,
38144  the 
38145 \family sans
38146 Register
38147 \family default
38148  item is not visible.
38149  
38150 \end_layout
38151
38152 \begin_layout Standard
38153 This command registers in CVS your document 
38154 \begin_inset Flex Strong
38155 status collapsed
38156
38157 \begin_layout Plain Layout
38158
38159 \emph on
38160 only
38161 \end_layout
38162
38163 \end_inset
38164
38165  in the case you have already the documents directory under CVS control (in particular 
38166 \family typewriter
38167 CVS/Entries
38168 \family default
38169  file exists).
38170  This means you have to create or checkout the archive by yourself using external tools.
38171  (In case you forget that step \SpecialChar LyX
38172  registers the document with RCS.)
38173 \end_layout
38174
38175 \begin_layout Standard
38176 Then you are asked interactively to supply an initial description of the document.
38177  Don't forget that registered file is not yet checked in.
38178 \end_layout
38179
38180 \begin_layout Standard
38181 CVS command that is run:
38182  
38183 \family typewriter
38184 cvs -q add -m"<entered message>" "<file-name>"
38185 \end_layout
38186
38187 \begin_layout Standard
38188 The term 
38189 \family typewriter
38190 "<file-name>"
38191 \family default
38192  above and for all other CVS commands is an abbreviation for 
38193 \begin_inset Quotes eld
38194 \end_inset
38195
38196 change the current working directory to file location and use the file name without path component as argument
38197 \begin_inset Quotes erd
38198 \end_inset
38199
38200 .
38201 \end_layout
38202
38203 \begin_layout Subsubsection
38204
38205 \family sans
38206 Check In Changes
38207 \end_layout
38208
38209 \begin_layout Standard
38210 When you are finished editing a file,
38211  you commit your changes.
38212  When you do this and you had changed the document,
38213  you are asked for a description of the changes.
38214  After that changes are written to the repository.
38215  In case you didn't change the document and a reserved checkout is detected the reservation made on 
38216 \begin_inset Flex Noun
38217 status collapsed
38218
38219 \begin_layout Plain Layout
38220 Check Out
38221 \end_layout
38222
38223 \end_inset
38224
38225  is undone.
38226 \end_layout
38227
38228 \begin_layout Labeling
38229 \labelwidthstring 00.00.0000
38230 CVS
38231 \begin_inset space ~
38232 \end_inset
38233
38234 command:
38235  
38236 \begin_inset space ~
38237 \end_inset
38238
38239
38240 \begin_inset Newline newline
38241 \end_inset
38242
38243
38244 \begin_inset Flex Code
38245 status collapsed
38246
38247 \begin_layout Plain Layout
38248 cvs 
38249 \family typewriter
38250 -q commit -m"<description>" "<file-name>"
38251 \end_layout
38252
38253 \end_inset
38254
38255  or
38256 \begin_inset Newline newline
38257 \end_inset
38258
38259
38260 \begin_inset Flex Code
38261 status collapsed
38262
38263 \begin_layout Plain Layout
38264 cvs -q unedit 
38265 \family typewriter
38266 "<file-name>"
38267 \end_layout
38268
38269 \end_inset
38270
38271
38272 \end_layout
38273
38274 \begin_layout Subsubsection
38275
38276 \family sans
38277 Check Out Changes
38278 \end_layout
38279
38280 \begin_layout Standard
38281 When you are sharing a repository with others,
38282  you may have to incorporate their changes into your working copy.
38283 \end_layout
38284
38285 \begin_layout Standard
38286 CVS command:
38287  
38288 \family typewriter
38289 cvs -q update "<file-name>"
38290 \end_layout
38291
38292 \begin_layout Standard
38293 If a readonly checkout is detected the working copy is made writable and reserved.
38294 \end_layout
38295
38296 \begin_layout Standard
38297 CVS command:
38298  
38299 \family typewriter
38300 cvs -q edit "<file-name>"
38301 \end_layout
38302
38303 \begin_layout Subsubsection
38304
38305 \family sans
38306 Revert To Repository Version
38307 \end_layout
38308
38309 \begin_layout Standard
38310 This will discard all changes made to the document since the last check in.
38311  You get a warning before changes are discarded.
38312  Firstly the file is deleted,
38313  secondly CVS update command is run.
38314 \end_layout
38315
38316 \begin_layout Standard
38317 CVS command:
38318  
38319 \family typewriter
38320 cvs -q update "<file-name>"
38321 \end_layout
38322
38323 \begin_layout Standard
38324 If a reserved checkout is detected and the working copy has no changes only the reservation is undone.
38325 \end_layout
38326
38327 \begin_layout Standard
38328 CVS command:
38329  
38330 \family typewriter
38331 cvs -q unedit "<file-name>"
38332 \end_layout
38333
38334 \begin_layout Subsubsection
38335
38336 \family sans
38337 Copy
38338 \end_layout
38339
38340 \begin_layout Standard
38341 This will create a copy of the current document.
38342  Since CVS does not support copy operations natively,
38343  the version history is not preserved,
38344  and the copy is added as a new file.
38345  It requires a clean document without any changes since the last checkin.
38346  You are asked for a file name and a description of the copy operation.
38347  After that the copy is created,
38348  both locally and in the repository.
38349  If the parent directories of the copied and original document differ,
38350  all relative paths of included files of the copy are adjusted (like in 
38351 \family sans
38352 File\SpecialChar menuseparator
38353 Save As
38354 \family default
38355 \SpecialChar ldots
38356 ).
38357  Finally,
38358  the copy is loaded instead of the original document.
38359 \end_layout
38360
38361 \begin_layout Labeling
38362 \labelwidthstring 00.00.0000
38363 CVS
38364 \begin_inset space ~
38365 \end_inset
38366
38367 commands:
38368  
38369 \begin_inset space ~
38370 \end_inset
38371
38372
38373 \begin_inset Newline newline
38374 \end_inset
38375
38376 Copy 
38377 \begin_inset Flex Code
38378 status collapsed
38379
38380 \begin_layout Plain Layout
38381 "<file-name>"
38382 \end_layout
38383
38384 \end_inset
38385
38386  to 
38387 \begin_inset Flex Code
38388 status collapsed
38389
38390 \begin_layout Plain Layout
38391 "<new-file-name>"
38392 \end_layout
38393
38394 \end_inset
38395
38396
38397 \begin_inset Newline newline
38398 \end_inset
38399
38400
38401 \begin_inset Flex Code
38402 status collapsed
38403
38404 \begin_layout Plain Layout
38405 cvs -q add "<new-file-name>"
38406 \end_layout
38407
38408 \end_inset
38409
38410
38411 \end_layout
38412
38413 \begin_layout Subsubsection
38414
38415 \family sans
38416 Rename
38417 \end_layout
38418
38419 \begin_layout Standard
38420 This will rename the current document.
38421  Since CVS does not support rename operations natively,
38422  the version history is not preserved,
38423  the renamed document is added as a new file,
38424  and the original document is deleted.
38425  It requires a clean document without any changes since the last checkin.
38426  You are asked for a file name and a description of the rename operation.
38427  After that the document is renamed,
38428  both locally and in the repository.
38429  If the parent directories of the new and old file names differ,
38430  all relative paths of included files are adjusted (like in 
38431 \family sans
38432 File\SpecialChar menuseparator
38433 Save As
38434 \family default
38435 \SpecialChar ldots
38436 ).
38437  Finally,
38438  the document is reloaded using the new name.
38439 \end_layout
38440
38441 \begin_layout Labeling
38442 \labelwidthstring 00.00.0000
38443 CVS
38444 \begin_inset space ~
38445 \end_inset
38446
38447 commands:
38448  
38449 \begin_inset space ~
38450 \end_inset
38451
38452
38453 \begin_inset Newline newline
38454 \end_inset
38455
38456 Rename 
38457 \begin_inset Flex Code
38458 status collapsed
38459
38460 \begin_layout Plain Layout
38461 "<file-name>"
38462 \end_layout
38463
38464 \end_inset
38465
38466  to 
38467 \begin_inset Flex Code
38468 status collapsed
38469
38470 \begin_layout Plain Layout
38471 "<new-file-name>"
38472 \end_layout
38473
38474 \end_inset
38475
38476
38477 \begin_inset Newline newline
38478 \end_inset
38479
38480
38481 \begin_inset Flex Code
38482 status collapsed
38483
38484 \begin_layout Plain Layout
38485 cvs -q add "<new-file-name>"
38486 \end_layout
38487
38488 \end_inset
38489
38490
38491 \begin_inset Newline newline
38492 \end_inset
38493
38494
38495 \begin_inset Flex Code
38496 status collapsed
38497
38498 \begin_layout Plain Layout
38499 cvs -q remove "<file-name>"
38500 \end_layout
38501
38502 \end_inset
38503
38504
38505 \end_layout
38506
38507 \begin_layout Subsubsection
38508 Update of the local directory checkout from repository
38509 \end_layout
38510
38511 \begin_layout Standard
38512 Once your documents gets more complex,
38513  containing sub-documents and pictures,
38514  including external 
38515 \begin_inset Flex Code
38516 status collapsed
38517
38518 \begin_layout Plain Layout
38519 .tex
38520 \end_layout
38521
38522 \end_inset
38523
38524  files and so on using version control becomes more complicated.
38525  \SpecialChar LyX
38526  supports updating the whole tree in which resides the document.
38527  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.
38528  You have to organize the files structure so that all external files are in the same directory or subdirectories of the document.
38529  It's good practice anyway to store multipart documents in an extra directory.
38530 \end_layout
38531
38532 \begin_layout Standard
38533 The 
38534 \begin_inset Flex Code
38535 status collapsed
38536
38537 \begin_layout Plain Layout
38538 Update local directory from repository
38539 \end_layout
38540
38541 \end_inset
38542
38543  command updates the whole directory.
38544  If local changes are detected user is warned before update starts.
38545  In case of merge conflicts both versions of the conflicting document parts are placed in the final document.
38546  You have to review and correct the result of the merge.
38547  You'll find the conflicts enclosed in pairs of 
38548 \begin_inset Flex Code
38549 status collapsed
38550
38551 \begin_layout Plain Layout
38552 <<<<<<<
38553 \end_layout
38554
38555 \end_inset
38556
38557  and 
38558 \begin_inset Flex Code
38559 status collapsed
38560
38561 \begin_layout Plain Layout
38562 >>>>>>>
38563 \end_layout
38564
38565 \end_inset
38566
38567  separated by 
38568 \begin_inset Flex Code
38569 status collapsed
38570
38571 \begin_layout Plain Layout
38572 =======
38573 \end_layout
38574
38575 \end_inset
38576
38577 .
38578  The first part is your version as before the update operation with the document name prepended.
38579  The second one is the repository version with the version number after the sequence of 
38580 \begin_inset Flex Code
38581 status collapsed
38582
38583 \begin_layout Plain Layout
38584 >
38585 \end_layout
38586
38587 \end_inset
38588
38589  signs.
38590 \end_layout
38591
38592 \begin_layout Labeling
38593 \labelwidthstring 00.00.0000
38594 CVS
38595 \begin_inset space ~
38596 \end_inset
38597
38598 commands:
38599  
38600 \begin_inset space ~
38601 \end_inset
38602
38603
38604 \begin_inset Newline newline
38605 \end_inset
38606
38607
38608 \begin_inset Flex Code
38609 status collapsed
38610
38611 \begin_layout Plain Layout
38612 cd $path;
38613  cvs diff 
38614 \family typewriter
38615 "."
38616 \end_layout
38617
38618 \end_inset
38619
38620  (Ask if changes are detected.)
38621 \begin_inset Newline newline
38622 \end_inset
38623
38624
38625 \begin_inset Flex Code
38626 status collapsed
38627
38628 \begin_layout Plain Layout
38629 cd $path;
38630  cvs -q update 
38631 \family typewriter
38632 "."
38633 \end_layout
38634
38635 \end_inset
38636
38637
38638 \end_layout
38639
38640 \begin_layout Standard
38641 where 
38642 \begin_inset Flex Code
38643 status collapsed
38644
38645 \begin_layout Plain Layout
38646 $path
38647 \end_layout
38648
38649 \end_inset
38650
38651  stands for the path to the document.
38652 \end_layout
38653
38654 \begin_layout Subsubsection
38655
38656 \family sans
38657 Show History
38658 \end_layout
38659
38660 \begin_layout Standard
38661 This shows the complete history of the CVS document.
38662  The output of 
38663 \family typewriter
38664 cvs log "<file-name>"
38665 \family default
38666  is shown in a browser.
38667 \end_layout
38668
38669 \begin_layout Subsubsection
38670 Revision info
38671 \end_layout
38672
38673 \begin_layout Standard
38674 \SpecialChar LyX
38675  supports CVS version number,
38676  author name,
38677  date and time of last commit.
38678  All those are extracted from 
38679 \family typewriter
38680 cvs log -r <file-name>
38681 \family default
38682 .
38683  See 
38684 \begin_inset CommandInset ref
38685 LatexCommand ref
38686 reference "subsec:VCS-Revision-Information"
38687 nolink "false"
38688
38689 \end_inset
38690
38691  for details.
38692 \end_layout
38693
38694 \begin_layout Subsection
38695 SVN commands in \SpecialChar LyX
38696
38697 \end_layout
38698
38699 \begin_layout Standard
38700 SVN is now partially supported by \SpecialChar LyX
38701 .
38702  You can find the commands in the 
38703 \family sans
38704 File\SpecialChar menuseparator
38705 Version
38706 \begin_inset space ~
38707 \end_inset
38708
38709 Control
38710 \family default
38711  submenu.
38712  Please note that if you use password protected access to repository via ssh,
38713  you will be asked in terminal window.
38714  \SpecialChar LyX
38715  was tested against SVN 1.5,
38716  1.6,
38717  1.7 and 1.8
38718 \begin_inset Foot
38719 status collapsed
38720
38721 \begin_layout Plain Layout
38722 Most of the commands will work with 1.4 too,
38723  see 
38724 \begin_inset CommandInset ref
38725 LatexCommand ref
38726 reference "subsec:SVN-Repo-Update"
38727 nolink "false"
38728
38729 \end_inset
38730
38731 .
38732  There seems to be currently unresolved permissions problem under SVN 1.8 with reverting changes when file is locked.
38733 \end_layout
38734
38735 \end_inset
38736
38737
38738 \end_layout
38739
38740 \begin_layout Subsubsection
38741
38742 \family sans
38743 Register
38744 \end_layout
38745
38746 \begin_layout Standard
38747 If your document is not under revision control,
38748  this is the only item shown in the menu.
38749  And if it is under revision control,
38750  the 
38751 \family sans
38752 Register
38753 \family default
38754  item is not visible.
38755 \end_layout
38756
38757 \begin_layout Standard
38758 This command registers in SVN your document ONLY in case you have already the documents directory under SVN control (in particular 
38759 \family typewriter
38760 .svn/entries
38761 \family default
38762  file exists).
38763  This means you have to checkout the archive by yourself.
38764 \end_layout
38765
38766 \begin_layout Standard
38767 Then you are asked interactively to supply an initial description of the document.
38768  Don't forget that registered file is not yet commited.
38769 \end_layout
38770
38771 \begin_layout Standard
38772 SVN command that is run:
38773  
38774 \family typewriter
38775 svn add -q 
38776 \begin_inset Quotes qld
38777 \end_inset
38778
38779 <file-name>
38780 \begin_inset Quotes qld
38781 \end_inset
38782
38783
38784 \end_layout
38785
38786 \begin_layout Standard
38787 Read 
38788 \family typewriter
38789 man svn
38790 \family default
38791  to understand the switches.
38792 \end_layout
38793
38794 \begin_layout Subsubsection
38795
38796 \family sans
38797 Check In Changes
38798 \end_layout
38799
38800 \begin_layout Standard
38801 When you are finished editing a file,
38802  you commit your changes.
38803  When you do this,
38804  you are asked for a description of the changes.
38805  After that changes are commited.
38806 \end_layout
38807
38808 \begin_layout Standard
38809 SVN command:
38810 \begin_inset Foot
38811 status collapsed
38812
38813 \begin_layout Plain Layout
38814 In case locking is not enabled.
38815  See Section 
38816 \begin_inset CommandInset ref
38817 LatexCommand ref
38818 reference "subsec:SVN-File-Locking"
38819 nolink "false"
38820
38821 \end_inset
38822
38823 .
38824 \end_layout
38825
38826 \end_inset
38827
38828  
38829 \family typewriter
38830 svn commit -q -m"<description>" <file-name>
38831 \end_layout
38832
38833 \begin_layout Subsubsection
38834
38835 \family sans
38836 Check Out For Edit
38837 \end_layout
38838
38839 \begin_layout Standard
38840 Updates the changes of this file from the repository.
38841  Be sure you understand SVN merging and conflicts resolving before using this function,
38842  because all conflicts has to be resolved manually by you!
38843 \end_layout
38844
38845 \begin_layout Standard
38846 SVN command:
38847 \begin_inset Foot
38848 status collapsed
38849
38850 \begin_layout Plain Layout
38851 Ditto.
38852 \end_layout
38853
38854 \end_inset
38855
38856  
38857 \family typewriter
38858 svn update --non-interactive 
38859 \begin_inset Quotes qld
38860 \end_inset
38861
38862 <file-name>
38863 \begin_inset Quotes qld
38864 \end_inset
38865
38866
38867 \end_layout
38868
38869 \begin_layout Subsubsection
38870
38871 \family sans
38872 Revert To Repository Version
38873 \end_layout
38874
38875 \begin_layout Standard
38876 This will discard all changes made to the document since the last check in.
38877  You get a warning before changes are discarded.
38878 \end_layout
38879
38880 \begin_layout Standard
38881 SVN command:
38882  
38883 \family typewriter
38884 svn revert -q 
38885 \begin_inset Quotes qld
38886 \end_inset
38887
38888 <file-name>
38889 \begin_inset Quotes qld
38890 \end_inset
38891
38892
38893 \end_layout
38894
38895 \begin_layout Subsubsection
38896
38897 \family sans
38898 Copy
38899 \end_layout
38900
38901 \begin_layout Standard
38902 This will create a copy of the current document including the version history.
38903  It requires a clean document without any changes since the last checkin.
38904  You are asked for a file name and a description of the copy operation.
38905  After that the copy is created,
38906  both locally and in the repository.
38907  If the parent directories of the copied and original document differ,
38908  all relative paths of included files of the copy are adjusted (like in 
38909 \family sans
38910 File\SpecialChar menuseparator
38911 Save As
38912 \family default
38913 \SpecialChar ldots
38914 ).
38915  Finally,
38916  the copy is loaded instead of the original document.
38917 \end_layout
38918
38919 \begin_layout Labeling
38920 \labelwidthstring 00.00.0000
38921 SVN
38922 \begin_inset space ~
38923 \end_inset
38924
38925 commands:
38926  
38927 \begin_inset space ~
38928 \end_inset
38929
38930
38931 \begin_inset Newline newline
38932 \end_inset
38933
38934
38935 \begin_inset Flex Code
38936 status collapsed
38937
38938 \begin_layout Plain Layout
38939 svn copy -q 
38940 \family typewriter
38941
38942 \begin_inset Quotes qld
38943 \end_inset
38944
38945 <file-name>
38946 \begin_inset Quotes qld
38947 \end_inset
38948
38949  
38950 \begin_inset Quotes qld
38951 \end_inset
38952
38953 <new-file-name>
38954 \begin_inset Quotes qld
38955 \end_inset
38956
38957
38958 \end_layout
38959
38960 \end_inset
38961
38962
38963 \begin_inset Newline newline
38964 \end_inset
38965
38966
38967 \begin_inset Flex Code
38968 status collapsed
38969
38970 \begin_layout Plain Layout
38971 svn commit
38972 \end_layout
38973
38974 \end_inset
38975
38976
38977 \end_layout
38978
38979 \begin_layout Subsubsection
38980
38981 \family sans
38982 Rename
38983 \end_layout
38984
38985 \begin_layout Standard
38986 This will rename the current document including the version history.
38987  It requires a clean document without any changes since the last checkin.
38988  You are asked for a file name and a description of the rename operation.
38989  After that the document is renamed,
38990  both locally and in the repository.
38991  If the parent directories of the new and old file names differ,
38992  all relative paths of included files are adjusted (like in 
38993 \family sans
38994 File\SpecialChar menuseparator
38995 Save As
38996 \family default
38997 \SpecialChar ldots
38998 ).
38999  Finally,
39000  the document is reloaded using the new name.
39001 \end_layout
39002
39003 \begin_layout Labeling
39004 \labelwidthstring 00.00.0000
39005 SVN
39006 \begin_inset space ~
39007 \end_inset
39008
39009 commands:
39010  
39011 \begin_inset space ~
39012 \end_inset
39013
39014
39015 \begin_inset Newline newline
39016 \end_inset
39017
39018
39019 \begin_inset Flex Code
39020 status collapsed
39021
39022 \begin_layout Plain Layout
39023 svn move -q 
39024 \family typewriter
39025
39026 \begin_inset Quotes qld
39027 \end_inset
39028
39029 <file-name>
39030 \begin_inset Quotes qld
39031 \end_inset
39032
39033  
39034 \begin_inset Quotes qld
39035 \end_inset
39036
39037 <new-file-name>
39038 \begin_inset Quotes qld
39039 \end_inset
39040
39041
39042 \end_layout
39043
39044 \end_inset
39045
39046
39047 \begin_inset Newline newline
39048 \end_inset
39049
39050
39051 \begin_inset Flex Code
39052 status collapsed
39053
39054 \begin_layout Plain Layout
39055 svn commit
39056 \end_layout
39057
39058 \end_inset
39059
39060
39061 \end_layout
39062
39063 \begin_layout Subsubsection
39064 \begin_inset CommandInset label
39065 LatexCommand label
39066 name "subsec:SVN-Repo-Update"
39067
39068 \end_inset
39069
39070 Update of the local directory checkout from repository
39071 \begin_inset Foot
39072 status collapsed
39073
39074 \begin_layout Plain Layout
39075 Note that this command will work only with subversion 
39076 \begin_inset Formula $\geqq1.5$
39077 \end_inset
39078
39079
39080 \end_layout
39081
39082 \end_inset
39083
39084
39085 \end_layout
39086
39087 \begin_layout Standard
39088 All the commands above have one shortcoming – they deal with the current document only.
39089  Once your document contains pictures,
39090  includes external 
39091 \begin_inset Flex Code
39092 status collapsed
39093
39094 \begin_layout Plain Layout
39095 .tex
39096 \end_layout
39097
39098 \end_inset
39099
39100  files and so on administration becomes more complicated.
39101  \SpecialChar LyX
39102  now supports updating the whole tree in which resides the document
39103 \begin_inset Foot
39104 status collapsed
39105
39106 \begin_layout Plain Layout
39107 One need to organize the files structure so that all external files are in the same directory or subdirectories of the document.
39108  
39109 \end_layout
39110
39111 \end_inset
39112
39113 .
39114  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.
39115  
39116 \end_layout
39117
39118 \begin_layout Standard
39119 \begin_inset Flex Code
39120 status collapsed
39121
39122 \begin_layout Plain Layout
39123 Update local directory from repository
39124 \end_layout
39125
39126 \end_inset
39127
39128  command updates the whole directory and in case of merge conflicts local version of the files are left,
39129  so no unintended data loss occurs.
39130  If local changes are detected user is warned before update starts.
39131 \end_layout
39132
39133 \begin_layout Labeling
39134 \labelwidthstring 00.00.0000
39135 SVN
39136 \begin_inset space ~
39137 \end_inset
39138
39139 commands:
39140  
39141 \begin_inset space ~
39142 \end_inset
39143
39144
39145 \begin_inset Newline newline
39146 \end_inset
39147
39148
39149 \begin_inset Flex Code
39150 status collapsed
39151
39152 \begin_layout Plain Layout
39153 svn diff $path
39154 \end_layout
39155
39156 \end_inset
39157
39158  (Ask if changes are detected.)
39159 \begin_inset Newline newline
39160 \end_inset
39161
39162
39163 \begin_inset Flex Code
39164 status collapsed
39165
39166 \begin_layout Plain Layout
39167 svn update --accept mine-full $path
39168 \end_layout
39169
39170 \end_inset
39171
39172
39173 \end_layout
39174
39175 \begin_layout Standard
39176 where 
39177 \begin_inset Flex Code
39178 status collapsed
39179
39180 \begin_layout Plain Layout
39181 $path
39182 \end_layout
39183
39184 \end_inset
39185
39186  stands for the path to the document.
39187 \end_layout
39188
39189 \begin_layout Subsubsection
39190
39191 \family sans
39192 Show History
39193 \end_layout
39194
39195 \begin_layout Standard
39196 This shows the complete history of the SVN document.
39197  The output of 
39198 \family typewriter
39199 svn log 
39200 \begin_inset Quotes qld
39201 \end_inset
39202
39203 <file-name>
39204 \begin_inset Quotes qld
39205 \end_inset
39206
39207
39208 \family default
39209  is shown in a browser.
39210 \end_layout
39211
39212 \begin_layout Subsubsection
39213 File Locking
39214 \begin_inset CommandInset label
39215 LatexCommand label
39216 name "subsec:SVN-File-Locking"
39217
39218 \end_inset
39219
39220
39221 \end_layout
39222
39223 \begin_layout Standard
39224 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.
39225  When such a conflict happens it needs manual resolving and one reasonable alternative is to provide some kind of locking mechanism,
39226  which guarantees that only one user is allowed to edit file at the given time.
39227 \end_layout
39228
39229 \begin_layout Standard
39230 SVN has two such mechanisms to provide mutual exclusivity for file access – locks and automatic setting of write permissions (see sec.
39231  
39232 \begin_inset CommandInset ref
39233 LatexCommand ref
39234 reference "subsec:Automatical-Locking-Property"
39235 nolink "false"
39236
39237 \end_inset
39238
39239 ) based on 
39240 \begin_inset Flex Code
39241 status collapsed
39242
39243 \begin_layout Plain Layout
39244 svn:needs-lock
39245 \end_layout
39246
39247 \end_inset
39248
39249  file svn property
39250 \begin_inset Foot
39251 status collapsed
39252
39253 \begin_layout Plain Layout
39254 \begin_inset Flex URL
39255 status open
39256
39257 \begin_layout Plain Layout
39258
39259 http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html
39260 \end_layout
39261
39262 \end_inset
39263
39264
39265 \end_layout
39266
39267 \end_inset
39268
39269 .
39270  If this property is detected for a given document \SpecialChar LyX
39271  starts to use SVN locks for document editing automatically and the whole check-in/out mechanism switches to the same regimen as for RCS.
39272  This in particular means there are two different modes of file use in \SpecialChar LyX
39273 :
39274 \end_layout
39275
39276 \begin_layout Itemize
39277 Unlocked state.
39278  The loaded file is in the read-only mode.
39279  For editing on needs to check-out.
39280  
39281 \emph on
39282 Check-out
39283 \emph default
39284  consists of updating from the repository and gaining write lock.
39285  If the lock is not possible to obtain,
39286  we remain in unlocked state.
39287 \end_layout
39288
39289 \begin_layout Itemize
39290 Locked state.
39291  The loaded file is in the 
39292 \begin_inset Quotes els
39293 \end_inset
39294
39295 normal
39296 \begin_inset Quotes ers
39297 \end_inset
39298
39299  edit mode.
39300  No other user is allowed to edit the file.
39301  
39302 \emph on
39303 Check-in
39304 \emph default
39305  consists of commiting changes and releasing write-lock.
39306  If no changes have been made to the document,
39307  no commit will be produced
39308 \begin_inset Foot
39309 status collapsed
39310
39311 \begin_layout Plain Layout
39312 Don't be puzzled by the fact that you will be asked for commit message anyway.
39313 \end_layout
39314
39315 \end_inset
39316
39317  and only the write-lock will be released.
39318 \end_layout
39319
39320 \begin_layout Standard
39321 SVN commands:
39322 \end_layout
39323
39324 \begin_layout Labeling
39325 \labelwidthstring 00.00.0000
39326 Check-in:
39327
39328 \family typewriter
39329  svn commit -q -m"<description>" "<file-name>"
39330 \begin_inset Newline newline
39331 \end_inset
39332
39333 svn unlock "<file-name>"
39334 \end_layout
39335
39336 \begin_layout Labeling
39337 \labelwidthstring 00.00.0000
39338 Check-out:
39339  
39340 \family typewriter
39341 svn update "<file-name>"
39342 \begin_inset Newline newline
39343 \end_inset
39344
39345 svn lock "<file-name>"
39346 \end_layout
39347
39348 \begin_layout Subsubsection
39349
39350 \family typewriter
39351 \begin_inset CommandInset label
39352 LatexCommand label
39353 name "subsec:Automatical-Locking-Property"
39354
39355 \end_inset
39356
39357
39358 \family default
39359 Automatic Locking Property
39360 \end_layout
39361
39362 \begin_layout Standard
39363 The above mentioned automatic setting of write permissions of the .lyx file can be set through
39364 \family sans
39365  File\SpecialChar menuseparator
39366 Version
39367 \begin_inset space ~
39368 \end_inset
39369
39370 Control\SpecialChar menuseparator
39371 Use Locking Property
39372 \family default
39373 .
39374  This command is active only when the file is not locked on the svn server (i.e.
39375  you need to check-out before proceeding).
39376 \end_layout
39377
39378 \begin_layout Labeling
39379 \labelwidthstring 00.00.0000
39380 SVN
39381 \begin_inset space ~
39382 \end_inset
39383
39384 commands:
39385 \end_layout
39386
39387 \begin_layout Labeling
39388 \labelwidthstring 00.00.0000
39389 Set:
39390
39391 \family typewriter
39392  svn propset svn:needs-lock ON "<file-name>"
39393 \end_layout
39394
39395 \begin_layout Labeling
39396 \labelwidthstring 00.00.0000
39397 Unset:
39398  
39399 \family typewriter
39400 svn propdel svn:needs-lock "<file-name>"
39401 \end_layout
39402
39403 \begin_layout Subsubsection
39404 \begin_inset CommandInset label
39405 LatexCommand label
39406 name "subsec:VCS-Revision-Information"
39407
39408 \end_inset
39409
39410 Revision Information in Documents
39411 \end_layout
39412
39413 \begin_layout Standard
39414 There are more possibilities how to activate revision information in our document.
39415 \end_layout
39416
39417 \begin_layout Itemize
39418 \SpecialChar LyX
39419  supports directly:
39420 \end_layout
39421
39422 \begin_deeper
39423 \begin_layout Itemize
39424 tree revision information (
39425 \begin_inset Flex Code
39426 status collapsed
39427
39428 \begin_layout Plain Layout
39429 vcs-tree-revision
39430 \end_layout
39431
39432 \end_inset
39433
39434 ).
39435  The result is the output of the 
39436 \begin_inset Flex Code
39437 status collapsed
39438
39439 \begin_layout Plain Layout
39440 svnversion
39441 \end_layout
39442
39443 \end_inset
39444
39445  command,
39446  the following table gives you an idea,
39447  how to read the results.
39448 \end_layout
39449
39450 \begin_layout Standard
39451 \align center
39452 \begin_inset Tabular
39453 <lyxtabular version="3" rows="6" columns="2">
39454 <features tabularvalignment="middle">
39455 <column alignment="left" valignment="top">
39456 <column alignment="left" valignment="top">
39457 <row>
39458 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39459 \begin_inset Text
39460
39461 \begin_layout Plain Layout
39462
39463 \series bold
39464 Output
39465 \end_layout
39466
39467 \end_inset
39468 </cell>
39469 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39470 \begin_inset Text
39471
39472 \begin_layout Plain Layout
39473
39474 \series bold
39475 Meaning
39476 \end_layout
39477
39478 \end_inset
39479 </cell>
39480 </row>
39481 <row>
39482 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39483 \begin_inset Text
39484
39485 \begin_layout Plain Layout
39486 4123:4168
39487 \end_layout
39488
39489 \end_inset
39490 </cell>
39491 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39492 \begin_inset Text
39493
39494 \begin_layout Plain Layout
39495 mixed revision working copy
39496 \end_layout
39497
39498 \end_inset
39499 </cell>
39500 </row>
39501 <row>
39502 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39503 \begin_inset Text
39504
39505 \begin_layout Plain Layout
39506 4168M
39507 \end_layout
39508
39509 \end_inset
39510 </cell>
39511 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39512 \begin_inset Text
39513
39514 \begin_layout Plain Layout
39515 modified working copy
39516 \end_layout
39517
39518 \end_inset
39519 </cell>
39520 </row>
39521 <row>
39522 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39523 \begin_inset Text
39524
39525 \begin_layout Plain Layout
39526 4123S
39527 \end_layout
39528
39529 \end_inset
39530 </cell>
39531 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39532 \begin_inset Text
39533
39534 \begin_layout Plain Layout
39535 switched working copy
39536 \end_layout
39537
39538 \end_inset
39539 </cell>
39540 </row>
39541 <row>
39542 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39543 \begin_inset Text
39544
39545 \begin_layout Plain Layout
39546 4123P
39547 \end_layout
39548
39549 \end_inset
39550 </cell>
39551 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39552 \begin_inset Text
39553
39554 \begin_layout Plain Layout
39555 partial working copy,
39556  from a sparse checkout
39557 \end_layout
39558
39559 \end_inset
39560 </cell>
39561 </row>
39562 <row>
39563 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39564 \begin_inset Text
39565
39566 \begin_layout Plain Layout
39567 4123:4168MS
39568 \end_layout
39569
39570 \end_inset
39571 </cell>
39572 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39573 \begin_inset Text
39574
39575 \begin_layout Plain Layout
39576 mixed revision,
39577  modified,
39578  switched working copy
39579 \end_layout
39580
39581 \end_inset
39582 </cell>
39583 </row>
39584 </lyxtabular>
39585
39586 \end_inset
39587
39588
39589 \end_layout
39590
39591 \begin_layout Itemize
39592 file revision information.
39593  The result comes from parsing the output of 
39594 \begin_inset Flex Code
39595 status collapsed
39596
39597 \begin_layout Plain Layout
39598 svn
39599 \begin_inset space ~
39600 \end_inset
39601
39602 info
39603 \begin_inset space ~
39604 \end_inset
39605
39606 --xml
39607 \begin_inset space ~
39608 \end_inset
39609
39610 file.lyx
39611 \end_layout
39612
39613 \end_inset
39614
39615 .
39616  Supported flags are:
39617 \end_layout
39618
39619 \begin_deeper
39620 \begin_layout Itemize
39621 version number of the last commit (
39622 \begin_inset Flex Code
39623 status collapsed
39624
39625 \begin_layout Plain Layout
39626 vcs-revision
39627 \end_layout
39628
39629 \end_inset
39630
39631 )
39632 \end_layout
39633
39634 \begin_layout Itemize
39635 author of the last commit (
39636 \begin_inset Flex Code
39637 status collapsed
39638
39639 \begin_layout Plain Layout
39640 vcs-author
39641 \end_layout
39642
39643 \end_inset
39644
39645 )
39646 \end_layout
39647
39648 \begin_layout Itemize
39649 date of the last commit (
39650 \begin_inset Flex Code
39651 status collapsed
39652
39653 \begin_layout Plain Layout
39654 vcs-date
39655 \end_layout
39656
39657 \end_inset
39658
39659 )
39660 \end_layout
39661
39662 \begin_layout Itemize
39663 time of the last commit (
39664 \begin_inset Flex Code
39665 status collapsed
39666
39667 \begin_layout Plain Layout
39668 vcs-time
39669 \end_layout
39670
39671 \end_inset
39672
39673 )
39674 \end_layout
39675
39676 \end_deeper
39677 \begin_layout Standard
39678 You can obtain this info via InsetInfo (
39679 \change_inserted 5863208 1564400022
39680
39681 \family sans
39682 Insert\SpecialChar menuseparator
39683 Field\SpecialChar menuseparator
39684 Version Control Revision
39685 \change_deleted 5863208 1564399852
39686
39687 \family default
39688 e.g.
39689  
39690 \begin_inset Flex Code
39691 status collapsed
39692
39693 \begin_layout Plain Layout
39694 info-insert buffer vcs-date
39695 \end_layout
39696
39697 \end_inset
39698
39699
39700 \change_unchanged
39701 ).
39702  The information will be available only when you have the file stored under svn managment (i.e.
39703  the 
39704 \begin_inset Flex Code
39705 status collapsed
39706
39707 \begin_layout Plain Layout
39708 .svn
39709 \end_layout
39710
39711 \end_inset
39712
39713  directory is available with your document).
39714 \end_layout
39715
39716 \end_deeper
39717 \begin_layout Itemize
39718 Another—
39719 a hacking one—
39720 possibility is to use svn keywords
39721 \begin_inset Foot
39722 status collapsed
39723
39724 \begin_layout Plain Layout
39725 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
39726 \end_layout
39727
39728 \end_inset
39729
39730 .
39731  In short – you set file keywords property (e.g.
39732  
39733 \family sans
39734 svn propset svn:keywords 'Rev' file.lyx
39735 \family default
39736 ) and then paste keyword \SpecialChar TeX
39737  code
39738 \begin_inset Foot
39739 status collapsed
39740
39741 \begin_layout Plain Layout
39742 This is an easy way how to ensure that \SpecialChar LyX
39743  won't break the line in the middle of keyword tag.
39744 \end_layout
39745
39746 \end_inset
39747
39748  tag in your document (e.g.
39749  
39750 \begin_inset Flex Code
39751 status collapsed
39752
39753 \begin_layout Plain Layout
39754 $Rev$
39755 \end_layout
39756
39757 \end_inset
39758
39759 ).
39760  This way svn client will automatically substitute revision number (e.g.
39761  
39762 \begin_inset Flex Code
39763 status collapsed
39764
39765 \begin_layout Plain Layout
39766 $Rev:
39767  59 $
39768 \end_layout
39769
39770 \end_inset
39771
39772 ) after each update and commit.
39773  There are more problems with this approach.
39774  Firstly,
39775  the '$' character is used in \SpecialChar TeX
39776  world for math equations,
39777  so any occurence of math formula 
39778 \begin_inset Formula $Rev$
39779 \end_inset
39780
39781  become 
39782 \begin_inset Formula $Rev:59$
39783 \end_inset
39784
39785  in your \SpecialChar LyX
39786  document.
39787  Similarly for other keywords like Id,
39788  Date,
39789  Author,
39790  etc.
39791  Secondly svn output is dependent on your locales,
39792  so its very easy that svn would produce some problematic strings once Date is used.
39793  Thirdly you get the whole 'Rev:
39794  59' string in your document instead of the plain number.
39795  Until subversion implements user's custom keywords it will be hard to use this approach reliably or let \SpecialChar LyX
39796  to support it directly.
39797 \end_layout
39798
39799 \begin_layout Subsection
39800 SVN and Windows Environment
39801 \end_layout
39802
39803 \begin_layout Quote
39804 My inclination is to say that if the user cannot figure out the command line operations on their own fairly quickly,
39805  they would be well advised to use TortoiseSVN.
39806  —
39807 P.
39808  A.
39809  Rubin
39810 \end_layout
39811
39812 \begin_layout Subsubsection
39813 Preparation
39814 \end_layout
39815
39816 \begin_layout Standard
39817 In addition to installing \SpecialChar LyX
39818 ,
39819  and having access to a Subversion repository,
39820  the user will need to install the Subversion client program.
39821  A Windows installer for the client program is available from 
39822 \begin_inset CommandInset href
39823 LatexCommand href
39824 name "CollabNet"
39825 target "http://www.collab.net/nonav/downloads/subversion/"
39826 literal "false"
39827
39828 \end_inset
39829
39830 .
39831  The user may also want to install 
39832 \begin_inset CommandInset href
39833 LatexCommand href
39834 name "TortoiseSVN"
39835 target "http://tortoisesvn.tigris.org/"
39836 literal "false"
39837
39838 \end_inset
39839
39840 ,
39841  which integrates Subversion operations into the context (rightclick) menu of Windows Explorer.
39842  Operations done outside \SpecialChar LyX
39843  will typically be more convenient using the Explorer context menu.
39844  Note that TortoiseSVN is not a replacement for the client program,
39845  which is what \SpecialChar LyX
39846  itself will use.
39847 \end_layout
39848
39849 \begin_layout Subsubsection
39850 Bringing a document under Subversion control
39851 \end_layout
39852
39853 \begin_layout Standard
39854 Before a \SpecialChar LyX
39855  document can be brought under version control in Subversion,
39856  its parent directory needs to be under version control.
39857  If the document is being added to a project already in the repository,
39858  this is accomplished by checking the project out to the directory where the new document will be placed.
39859  If the project itself is not yet under version control (for instance,
39860  if this document starts a new project),
39861  the directory must be imported into the repository.
39862  This is done outside \SpecialChar LyX
39863 .
39864  Both import and checkout are easily accomplished from the Explorer context menu using TortoiseSVN,
39865  or alternatively can be done using the command line client at a DOS prompt.
39866  The procedure for importing the project using TortoiseSVN is described below,
39867  assuming an existing repository and a new project being started in 
39868 \family typewriter
39869 C:
39870 \backslash
39871 new project
39872 \family default
39873 .
39874  For information on using the Subversion client program,
39875  run 
39876 \family typewriter
39877 svn --help 
39878 \family default
39879 in a DOS shell.
39880 \end_layout
39881
39882 \begin_layout Enumerate
39883 Locate 
39884 \family typewriter
39885 C:
39886 \backslash
39887 new project 
39888 \family default
39889 in Windows Explorer,
39890  right click it,
39891  and select 
39892 \family sans
39893 TortoiseSVN\SpecialChar menuseparator
39894 Repo-browser
39895 \family default
39896 .
39897  If necessary,
39898  adjust the URL for the repository,
39899  then click OK.
39900 \end_layout
39901
39902 \begin_layout Enumerate
39903 Right click the level of the repository under which you want to place the new project folder (typically the top level) and click 
39904 \family sans
39905 Create folder
39906 \family default
39907  Supply a name for the project folder and click OK.
39908  Add a message for the log file if desired,
39909  then click OK again.
39910  The new project folder should appear in the repository.
39911  Finally,
39912  click OK again to exit the repository browser.
39913 \end_layout
39914
39915 \begin_layout Enumerate
39916 Once again right click 
39917 \family typewriter
39918 C:
39919 \backslash
39920 new project
39921 \family default
39922 ,
39923  this time selecting SVN Checkout\SpecialChar ldots
39924  Select the URL of the project folder you just created in the repository,
39925  and set the checkout directory to 
39926 \family typewriter
39927 C:
39928 \backslash
39929 new project.
39930
39931 \family default
39932  Click OK.
39933  You will be warned about a non-empty folder;
39934  click OK to proceed.
39935  You should now have a 
39936 \family typewriter
39937 .svn
39938 \family default
39939  directory under 
39940 \family typewriter
39941 C:
39942 \backslash
39943 new project.
39944 \end_layout
39945
39946 \begin_layout Enumerate
39947 Create or open your document in \SpecialChar LyX
39948  and click 
39949 \family sans
39950 File\SpecialChar menuseparator
39951 Version
39952 \begin_inset space ~
39953 \end_inset
39954
39955 Control\SpecialChar menuseparator
39956 Register.
39957  
39958 \family default
39959 Add a log message and click OK to commit the document to version control.
39960 \end_layout
39961
39962 \begin_layout Standard
39963 From this point onward,
39964  you should have full functionality in the 
39965 \family sans
39966 File\SpecialChar menuseparator
39967 Version
39968 \begin_inset space ~
39969 \end_inset
39970
39971 Control
39972 \family default
39973  menu.
39974  You also have the option of checking the document in and out,
39975  viewing its history,
39976  etc.
39977  using the TortoiseSVN context menu in Windows Explorer or the Subversion client program from a command prompt.
39978 \end_layout
39979
39980 \begin_layout Subsubsection
39981 SSH tunnel used with SVN under Windows
39982 \end_layout
39983
39984 \begin_layout Standard
39985 Compared with Linux setting up an svn client to communicate over ssh under Windows is a rather troublesome task.
39986  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,
39987  also be prepared for a great deal of frustration\SpecialChar ldots
39988
39989 \end_layout
39990
39991 \begin_layout Enumerate
39992 Get an svn client for windows,
39993  as described in the previous sections.
39994  When it is a fresh install run some svn command (e.g.
39995  
39996 \begin_inset Flex Code
39997 status collapsed
39998
39999 \begin_layout Plain Layout
40000 svn --version
40001 \end_layout
40002
40003 \end_inset
40004
40005 ) to create config files,
40006  which you will need to change later on.
40007 \end_layout
40008
40009 \begin_layout Enumerate
40010 Choose an ssh client for Windows.
40011  There are several possibilities,
40012  we will use the one from Putty tools
40013 \begin_inset Foot
40014 status collapsed
40015
40016 \begin_layout Plain Layout
40017 \begin_inset Flex URL
40018 status collapsed
40019
40020 \begin_layout Plain Layout
40021
40022 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
40023 \end_layout
40024
40025 \end_inset
40026
40027
40028 \end_layout
40029
40030 \end_inset
40031
40032 .
40033  You will need to set the connection up so that the client doesn't ask for any password from you.
40034  To keep things easy we will use only keys without any additional password protection etc.
40035 \end_layout
40036
40037 \begin_deeper
40038 \begin_layout Enumerate
40039 Generate keys by 
40040 \begin_inset Flex Code
40041 status collapsed
40042
40043 \begin_layout Plain Layout
40044 puttygen
40045 \end_layout
40046
40047 \end_inset
40048
40049 .
40050  Save your private .ppk key file and put the public one on the server side.
40051  If the SVN server runs on Linux,
40052  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 
40053 \begin_inset Quotes eld
40054 \end_inset
40055
40056
40057 \emph on
40058 Public key for pasting into OpenSSH authorized_keys file
40059 \emph default
40060 :
40061 \begin_inset Quotes erd
40062 \end_inset
40063
40064  edit field into the server's 
40065 \begin_inset Flex Code
40066 status collapsed
40067
40068 \begin_layout Plain Layout
40069 ~/.ssh/authorized_keys
40070 \end_layout
40071
40072 \end_inset
40073
40074  / 
40075 \begin_inset Flex Code
40076 status collapsed
40077
40078 \begin_layout Plain Layout
40079 authorized_keys2
40080 \end_layout
40081
40082 \end_inset
40083
40084  file.
40085 \end_layout
40086
40087 \begin_layout Enumerate
40088 Get the Putty's 
40089 \begin_inset Flex Code
40090 status collapsed
40091
40092 \begin_layout Plain Layout
40093 plink
40094 \end_layout
40095
40096 \end_inset
40097
40098 .
40099  In the SVN config file
40100 \begin_inset Foot
40101 status collapsed
40102
40103 \begin_layout Plain Layout
40104 Exact path depends on Windows version,
40105  usually somewhere around 
40106 \begin_inset Flex Code
40107 status collapsed
40108
40109 \begin_layout Plain Layout
40110 c:
40111 \backslash
40112 Documents and Settings
40113 \backslash
40114 user
40115 \backslash
40116 Application Data
40117 \backslash
40118 Subversion
40119 \backslash
40120 config
40121 \end_layout
40122
40123 \end_inset
40124
40125  / 
40126 \begin_inset Flex Code
40127 status collapsed
40128
40129 \begin_layout Plain Layout
40130 AppData
40131 \backslash
40132 Roaming
40133 \backslash
40134 Subversion
40135 \end_layout
40136
40137 \end_inset
40138
40139 .
40140 \end_layout
40141
40142 \end_inset
40143
40144 ,
40145  section [tunnels],
40146  setup ssh command,
40147  e.g.
40148  
40149 \begin_inset Flex Code
40150 status collapsed
40151
40152 \begin_layout Plain Layout
40153 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
40154 \end_layout
40155
40156 \end_inset
40157
40158 .
40159 \begin_inset Foot
40160 status collapsed
40161
40162 \begin_layout Plain Layout
40163 It will usually take a lot of time to get exact command right and it depends on many things.
40164  For example do not have some remote server saved as a default session in Putty etc.
40165  If things fail,
40166  try to connect via plink without SVN first.
40167 \end_layout
40168
40169 \end_inset
40170
40171
40172 \end_layout
40173
40174 \end_deeper
40175 \begin_layout Enumerate
40176 Checkout the SVN archive,
40177  e.
40178 \begin_inset space \thinspace{}
40179 \end_inset
40180
40181 g.
40182 \begin_inset Newline newline
40183 \end_inset
40184
40185
40186 \begin_inset Flex Code
40187 status collapsed
40188
40189 \begin_layout Plain Layout
40190 svn co svn+ssh://user@server/repository_path
40191 \end_layout
40192
40193 \end_inset
40194
40195 .
40196 \end_layout
40197
40198 \begin_layout Subsubsection
40199 End-of-Line Conversions
40200 \end_layout
40201
40202 \begin_layout Standard
40203 When the collaborators are mixing Linux and Windows environments,
40204  \SpecialChar LyX
40205  will use different line endings inside the .lyx files.
40206  This is not a problem as far as \SpecialChar LyX
40207  functionality is concerned,
40208  but the commit diffs will be huge and merge-conflicts prone.
40209  Fortunately SVN itself knows
40210 \begin_inset Foot
40211 status collapsed
40212
40213 \begin_layout Plain Layout
40214 \begin_inset Flex URL
40215 status collapsed
40216
40217 \begin_layout Plain Layout
40218
40219 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
40220 \end_layout
40221
40222 \end_inset
40223
40224
40225 \end_layout
40226
40227 \end_inset
40228
40229  how to deal with CR/LF problems when switching .lyx files to the 
40230 \begin_inset Flex Code
40231 status collapsed
40232
40233 \begin_layout Plain Layout
40234 native
40235 \end_layout
40236
40237 \end_inset
40238
40239  mode.
40240 \begin_inset Foot
40241 status collapsed
40242
40243 \begin_layout Plain Layout
40244 For the lazy guys:
40245  
40246 \begin_inset Flex Code
40247 status collapsed
40248
40249 \begin_layout Plain Layout
40250 svn propset svn:eol-style native FILE_NAME
40251 \end_layout
40252
40253 \end_inset
40254
40255
40256 \end_layout
40257
40258 \end_inset
40259
40260
40261 \end_layout
40262
40263 \begin_layout Subsection
40264 GIT commands in \SpecialChar LyX
40265
40266 \end_layout
40267
40268 \begin_layout Standard
40269 A minimal subset of GIT commands is now supported by \SpecialChar LyX
40270 .
40271  You can find the commands in the 
40272 \family sans
40273 File\SpecialChar menuseparator
40274 Version
40275 \begin_inset space ~
40276 \end_inset
40277
40278 Control
40279 \family default
40280  submenu.
40281  Please note that if you use password protected access to repository via ssh,
40282  you will be asked in terminal window.
40283  \SpecialChar LyX
40284  was tested against GIT 1.7.
40285 \begin_inset Foot
40286 status collapsed
40287
40288 \begin_layout Plain Layout
40289 Windows users please note that you need to ensure that git is on the path.
40290  This can be set from within \SpecialChar LyX
40291  at 
40292 \family sans
40293 Tools\SpecialChar menuseparator
40294 Preferences\SpecialChar menuseparator
40295 Paths\SpecialChar menuseparator
40296 PATH prefix
40297 \family default
40298 .
40299 \end_layout
40300
40301 \end_inset
40302
40303
40304 \end_layout
40305
40306 \begin_layout Standard
40307 One big difference of GIT and the other supported version control systems is the distributed nature of GIT:
40308  With traditional version control systems there is one central server which hosts the repository.
40309  Users commit their changes to the server,
40310  and get updates made by other users from it.
40311  With GIT,
40312  users commit to a local repository.
40313  The local repository can be synchronized with one or more remote repositories using the 
40314 \begin_inset Flex Code
40315 status collapsed
40316
40317 \begin_layout Plain Layout
40318 pull
40319 \end_layout
40320
40321 \end_inset
40322
40323  and 
40324 \begin_inset Flex Code
40325 status collapsed
40326
40327 \begin_layout Plain Layout
40328 push
40329 \end_layout
40330
40331 \end_inset
40332
40333  GIT commands.
40334  \SpecialChar LyX
40335  does not interact in any way with remote GIT repositories.
40336  It works exclusively with the local repository in a very similar way as with a central CVS or SVN repository.
40337  If you use remote GIT repositories you need to do the 
40338 \begin_inset Flex Code
40339 status collapsed
40340
40341 \begin_layout Plain Layout
40342 pull
40343 \end_layout
40344
40345 \end_inset
40346
40347  and 
40348 \begin_inset Flex Code
40349 status collapsed
40350
40351 \begin_layout Plain Layout
40352 push
40353 \end_layout
40354
40355 \end_inset
40356
40357  operations with your favourite GIT client.
40358 \end_layout
40359
40360 \begin_layout Subsubsection
40361
40362 \family sans
40363 Register
40364 \end_layout
40365
40366 \begin_layout Standard
40367 If your document is not under revision control,
40368  this is the only item shown in the menu.
40369  And if it is under revision control,
40370  the 
40371 \family sans
40372 Register
40373 \family default
40374  item is not visible.
40375 \end_layout
40376
40377 \begin_layout Standard
40378 This command registers in GIT your document ONLY in case you have already the documents directory under GIT control (in particular 
40379 \family typewriter
40380 .git/index
40381 \family default
40382  file exists).
40383  This means you have to checkout the archive by yourself.
40384 \end_layout
40385
40386 \begin_layout Standard
40387 Then you are asked interactively to supply an initial description of the document.
40388  Don't forget that registered file is not yet committed.
40389 \end_layout
40390
40391 \begin_layout Standard
40392 GIT command that is run:
40393  
40394 \family typewriter
40395 git add 
40396 \begin_inset Quotes qld
40397 \end_inset
40398
40399 <file-name>
40400 \begin_inset Quotes qld
40401 \end_inset
40402
40403
40404 \end_layout
40405
40406 \begin_layout Standard
40407 Read 
40408 \family typewriter
40409 man git
40410 \family default
40411  to understand the switches.
40412 \end_layout
40413
40414 \begin_layout Subsubsection
40415
40416 \family sans
40417 Check In Changes
40418 \end_layout
40419
40420 \begin_layout Standard
40421 When you are finished editing a file,
40422  you commit your changes.
40423  When you do this,
40424  you are asked for a description of the changes.
40425  After that changes are committed.
40426 \end_layout
40427
40428 \begin_layout Standard
40429 GIT command:
40430  
40431 \family typewriter
40432 git commit -q -m"<description>" <file-name>
40433 \end_layout
40434
40435 \begin_layout Subsubsection
40436
40437 \family sans
40438 Revert To Repository Version
40439 \end_layout
40440
40441 \begin_layout Standard
40442 This will discard all changes made to the document since the last check in.
40443  You get a warning before changes are discarded.
40444 \end_layout
40445
40446 \begin_layout Standard
40447 GIT command:
40448  
40449 \family typewriter
40450 git checkout -q 
40451 \begin_inset Quotes qld
40452 \end_inset
40453
40454 <file-name>
40455 \begin_inset Quotes qld
40456 \end_inset
40457
40458
40459 \end_layout
40460
40461 \begin_layout Subsubsection
40462
40463 \family sans
40464 Rename
40465 \end_layout
40466
40467 \begin_layout Standard
40468 This will rename the current document including the version history.
40469  It requires a clean document without any changes since the last checkin.
40470  You are asked for a file name and a description of the rename operation.
40471  After that the document is renamed,
40472  both locally and in the repository.
40473  If the parent directories of the new and old file names differ,
40474  all relative paths of included files are adjusted (like in 
40475 \family sans
40476 File\SpecialChar menuseparator
40477 Save As
40478 \family default
40479 \SpecialChar ldots
40480 ).
40481  Finally,
40482  the document is reloaded using the new name.
40483 \end_layout
40484
40485 \begin_layout Labeling
40486 \labelwidthstring 00.00.0000
40487 GIT
40488 \begin_inset space ~
40489 \end_inset
40490
40491 commands:
40492  
40493 \begin_inset space ~
40494 \end_inset
40495
40496
40497 \begin_inset Newline newline
40498 \end_inset
40499
40500
40501 \begin_inset Flex Code
40502 status collapsed
40503
40504 \begin_layout Plain Layout
40505 git mv 
40506 \family typewriter
40507
40508 \begin_inset Quotes qld
40509 \end_inset
40510
40511 <file-name>
40512 \begin_inset Quotes qld
40513 \end_inset
40514
40515  
40516 \begin_inset Quotes qld
40517 \end_inset
40518
40519 <new-file-name>
40520 \begin_inset Quotes qld
40521 \end_inset
40522
40523
40524 \end_layout
40525
40526 \end_inset
40527
40528
40529 \begin_inset Newline newline
40530 \end_inset
40531
40532
40533 \begin_inset Flex Code
40534 status collapsed
40535
40536 \begin_layout Plain Layout
40537 git commit
40538 \end_layout
40539
40540 \end_inset
40541
40542
40543 \end_layout
40544
40545 \begin_layout Subsubsection
40546
40547 \family sans
40548 Show History
40549 \end_layout
40550
40551 \begin_layout Standard
40552 This shows the complete history of the GIT document.
40553  The output of 
40554 \family typewriter
40555 git log 
40556 \begin_inset Quotes qld
40557 \end_inset
40558
40559 <file-name>
40560 \begin_inset Quotes qld
40561 \end_inset
40562
40563
40564 \family default
40565  is shown in a browser.
40566 \end_layout
40567
40568 \begin_layout Subsubsection
40569 Version Info
40570 \end_layout
40571
40572 \begin_layout Standard
40573 \SpecialChar LyX
40574  supports GIT hash number of the last commit to the file,
40575  
40576 \change_inserted 1119979965 1564297456
40577 its abbreviated form,
40578  
40579 \change_unchanged
40580 author name,
40581  date and time of last commit.
40582  All those are extracted from 
40583 \family typewriter
40584 git log -n 1 --pretty=format:%H%n
40585 \change_inserted 1119979965 1564297427
40586 %h%n
40587 \change_unchanged
40588 %an%n%ai
40589 \family default
40590 .
40591  Tree version information is obtained via 
40592 \family typewriter
40593 git describe --abbrev --dirty --long
40594 \family default
40595 .
40596  See 
40597 \begin_inset CommandInset ref
40598 LatexCommand ref
40599 reference "subsec:VCS-Revision-Information"
40600 nolink "false"
40601
40602 \end_inset
40603
40604  for other details.
40605 \end_layout
40606
40607 \begin_layout Subsection
40608 Further tuning
40609 \end_layout
40610
40611 \begin_layout Standard
40612 With the recent addition of the 
40613 \begin_inset Flex Code
40614 status collapsed
40615
40616 \begin_layout Plain Layout
40617 vc-command
40618 \end_layout
40619
40620 \end_inset
40621
40622  function \SpecialChar LyX
40623  power users are allowed to create their own commands for revision control.
40624 \end_layout
40625
40626 \begin_layout Standard
40627 As an example you can see how two TortoiseSVN commands could be integrated directly:
40628 \end_layout
40629
40630 \begin_layout Description
40631 Commit:
40632  
40633 \begin_inset Flex Code
40634 status collapsed
40635
40636 \begin_layout Plain Layout
40637 vc-command DR "." "TortoiseProc /command:commit /path:$$p"
40638 \end_layout
40639
40640 \end_inset
40641
40642
40643 \end_layout
40644
40645 \begin_layout Description
40646 Revert:
40647  
40648 \begin_inset Flex Code
40649 status collapsed
40650
40651 \begin_layout Plain Layout
40652 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
40653 \end_layout
40654
40655 \end_inset
40656
40657
40658 \end_layout
40659
40660 \begin_layout Subsection
40661 Version control and Document comparison
40662 \end_layout
40663
40664 \begin_layout Standard
40665 One of the typical uses of version control is to inspect the changes between revisions,
40666  usually by creating 
40667 \begin_inset Flex Code
40668 status collapsed
40669
40670 \begin_layout Plain Layout
40671 diff
40672 \end_layout
40673
40674 \end_inset
40675
40676  dumps.
40677  While this is useful for plain text files,
40678  it is much less useful in the case of \SpecialChar LyX
40679  files,
40680  which have more a complicated structure.
40681  Hence we provide binding to the Document comparison feature.
40682  There are two ways of calling this feature – either by direct call of 
40683 \begin_inset Flex Code
40684 status collapsed
40685
40686 \begin_layout Plain Layout
40687 vc-compare
40688 \end_layout
40689
40690 \end_inset
40691
40692  \SpecialChar LyX
40693  function (for details see \SpecialChar LyX
40694  functions manual) or by the toolbar icon 
40695 \begin_inset Info
40696 type  "icon"
40697 arg   "vc-compare"
40698 \end_inset
40699
40700  or the menu item 
40701 \begin_inset Info
40702 type  "menu"
40703 arg   "vc-compare"
40704 \end_inset
40705
40706 ,
40707  respectively.
40708  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 '
40709 \begin_inset Flex Noun
40710 status collapsed
40711
40712 \begin_layout Plain Layout
40713 0
40714 \end_layout
40715
40716 \end_inset
40717
40718 ' revisions back means comparison of the edited file with last commited revision).
40719  
40720 \end_layout
40721
40722 \begin_layout Standard
40723 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,
40724  numbers always point to the last number in RCS revision number,
40725  i.e.
40726  '35' in '1.2.35'.
40727  We don't currently support GIT addressing of revisions,
40728  one can just compare edited document with its revision X steps backs,
40729  where X is addressed as 
40730 \begin_inset Flex Code
40731 status collapsed
40732
40733 \begin_layout Plain Layout
40734 HEAD~X
40735 \end_layout
40736
40737 \end_inset
40738
40739 .
40740 \end_layout
40741
40742 \begin_layout Section
40743
40744 \change_inserted 564990737 1672161575
40745 \begin_inset CommandInset label
40746 LatexCommand label
40747 name "sec:Literate-Programming"
40748
40749 \end_inset
40750
40751
40752 \change_unchanged
40753 Literate Programming
40754 \end_layout
40755
40756 \begin_layout Standard
40757 Updated by 
40758 \noun on
40759 Kayvan Sylvan 
40760 \noun default
40761 (kayvan@sylvan.com)
40762 \noun on
40763 ,
40764  
40765 \noun default
40766 original documentation written by 
40767 \noun on
40768 Edmar Wienskoski Jr.
40769
40770 \noun default
40771  (edmar-w-jr@technologist.com)
40772 \end_layout
40773
40774 \begin_layout Subsection
40775 Introduction
40776 \end_layout
40777
40778 \begin_layout Standard
40779 The main purpose of this documentation is to show you how to use \SpecialChar LyX
40780  for literate programming,
40781  where it is assumed that you are familiar with this programming technique,
40782  and know what 
40783 \begin_inset Quotes eld
40784 \end_inset
40785
40786 tangling
40787 \begin_inset Quotes erd
40788 \end_inset
40789
40790  and 
40791 \begin_inset Quotes eld
40792 \end_inset
40793
40794 weaving
40795 \begin_inset Quotes erd
40796 \end_inset
40797
40798  means.
40799  If that is not the case,
40800  please follow the web links provided in the following sections.
40801  There is a lot of good documentation out there covering old development history to the latest tools tips.
40802 \end_layout
40803
40804 \begin_layout Standard
40805 It is also assumed that you are familiar with \SpecialChar LyX
40806  itself to a point that you are comfortable changing your \SpecialChar LyX
40807  preferences,
40808  and X resources file.
40809  If that is not the case please refer to other \SpecialChar LyX
40810  documentation to cover your specific needs.
40811 \end_layout
40812
40813 \begin_layout Subsection
40814 Literate Programming
40815 \end_layout
40816
40817 \begin_layout Standard
40818 From the Literate Programming FAQ:
40819  
40820 \end_layout
40821
40822 \begin_layout Quotation
40823 Literate programming is the combination of documentation and source together in a fashion suited for reading by human beings.
40824  In fact,
40825  literate programs should be enjoyable reading,
40826  even inviting!
40827  (Sorry Bob,
40828  I couldn't resist!) In general,
40829  literate programs combine source and documentation in a single file.
40830  Literate programming tools then parse the file to produce either readable documentation or compilable source.
40831  The WEB style of literate programming was created by D.
40832 \begin_inset space \thinspace{}
40833 \end_inset
40834
40835 E.
40836  Knuth during the development of his \SpecialChar TeX
40837  typesetting software.
40838  
40839 \end_layout
40840
40841 \begin_layout Standard
40842 Another excerpt says:
40843 \end_layout
40844
40845 \begin_layout Quotation
40846
40847 \emph on
40848 How is literate programming different from verbose commenting?
40849 \end_layout
40850
40851 \begin_layout Quotation
40852 There are three distinguishing characteristics.
40853  In order of importance,
40854  they are:
40855  
40856 \end_layout
40857
40858 \begin_deeper
40859 \begin_layout Itemize
40860 flexible order of elaboration 
40861 \end_layout
40862
40863 \begin_layout Itemize
40864 automatic support for browsing 
40865 \end_layout
40866
40867 \begin_layout Itemize
40868 typeset documentation,
40869  especially diagrams and mathematics 
40870 \end_layout
40871
40872 \end_deeper
40873 \begin_layout Standard
40874 Now that I sparked your curiosity,
40875  take a look in the references.
40876 \end_layout
40877
40878 \begin_layout Subsubsection
40879 References
40880 \end_layout
40881
40882 \begin_layout Standard
40883 The complete Literate Programming FAQ can be found at:
40884 \end_layout
40885
40886 \begin_layout Quote
40887 Literate Programming FAQ 
40888 \begin_inset Flex URL
40889 status open
40890
40891 \begin_layout Plain Layout
40892
40893 http://www.literateprogramming.com/lpfaq.pdf
40894 \end_layout
40895
40896 \end_inset
40897
40898
40899 \end_layout
40900
40901 \begin_layout Standard
40902 The FAQ lists 23 (twenty three!) different literate programming tools.
40903  Where some are specialized or 
40904 \begin_inset Quotes eld
40905 \end_inset
40906
40907 tailored
40908 \begin_inset Quotes erd
40909 \end_inset
40910
40911  for particular programming languages,
40912  while other have general scope.
40913  I selected 
40914 \noun on
40915 Noweb
40916 \noun default
40917  for my own use for several reasons:
40918 \end_layout
40919
40920 \begin_layout Itemize
40921 It can generate the documentation either in \SpecialChar LaTeX
40922  or HTML.
40923 \end_layout
40924
40925 \begin_layout Itemize
40926 It has a open architecture,
40927  i.
40928 \begin_inset space \thinspace{}
40929 \end_inset
40930
40931 e.
40932 \begin_inset space \space{}
40933 \end_inset
40934
40935 it is easy to plug in new filters
40936 \begin_inset Foot
40937 status collapsed
40938
40939 \begin_layout Plain Layout
40940
40941 \emph on
40942 Filters 
40943 \emph default
40944 are programs that read a given data stream and output a manipulated data stream.
40945  That way,
40946  a WEB file (consisting of literate code) can be turned into a file consisting only of C program code or \SpecialChar LaTeX
40947  code.
40948 \end_layout
40949
40950 \end_inset
40951
40952  and to perform special processing that you may need.
40953  
40954 \end_layout
40955
40956 \begin_layout Itemize
40957 There is a good selection of filters available already (the HTML is one of them).
40958 \end_layout
40959
40960 \begin_layout Itemize
40961 It is free.
40962 \end_layout
40963
40964 \begin_layout Standard
40965 The Noweb web page can be found at:
40966  
40967 \end_layout
40968
40969 \begin_layout Quote
40970 Noweb home page 
40971 \begin_inset Flex URL
40972 status collapsed
40973
40974 \begin_layout Plain Layout
40975
40976 https://www.cs.tufts.edu/~nr/noweb/
40977 \end_layout
40978
40979 \end_inset
40980
40981
40982 \end_layout
40983
40984 \begin_layout Standard
40985 Starting from there you can reach many other interesting links and even some literate program examples.
40986 \end_layout
40987
40988 \begin_layout Subsection
40989 \SpecialChar LyX
40990  and Literate Programming with Noweb
40991 \end_layout
40992
40993 \begin_layout Standard
40994 The \SpecialChar LyX
40995  support for Literate Programming is provided by using the generic \SpecialChar LyX
40996  converters mechanism.
40997  This support is provided in a 
40998 \begin_inset Quotes eld
40999 \end_inset
41000
41001 Noweb independent
41002 \begin_inset Quotes erd
41003 \end_inset
41004
41005  way,
41006  i.
41007 \begin_inset space \thinspace{}
41008 \end_inset
41009
41010 e.
41011 \begin_inset space \space{}
41012 \end_inset
41013
41014 you will be able to use this new \SpecialChar LyX
41015  feature with some other literate programming tool of your choice by just changing your \SpecialChar LyX
41016  preferences.
41017 \end_layout
41018
41019 \begin_layout Subsubsection
41020 Generating documents and code (weaving and tangling)
41021 \end_layout
41022
41023 \begin_layout Paragraph
41024 Using the noweb module
41025 \end_layout
41026
41027 \begin_layout Standard
41028 If you have installed Noweb and \SpecialChar LyX
41029  successfully,
41030  whenever you open a new document,
41031  after you have chosen its document class,
41032  use the 
41033 \family sans
41034 Document\SpecialChar menuseparator
41035 Settings
41036 \family default
41037  menu to add the 
41038 \begin_inset Quotes eld
41039 \end_inset
41040
41041 noweb
41042 \begin_inset Quotes erd
41043 \end_inset
41044
41045  module.
41046  If Noweb is correctly installed,
41047  when you click on the 
41048 \begin_inset Quotes eld
41049 \end_inset
41050
41051 Modules
41052 \begin_inset Quotes erd
41053 \end_inset
41054
41055  link,
41056  you will see the 
41057 \begin_inset Quotes eld
41058 \end_inset
41059
41060 noweb
41061 \begin_inset Quotes erd
41062 \end_inset
41063
41064  module in the available list and you can add it to your document.
41065 \end_layout
41066
41067 \begin_layout Paragraph
41068 Typing code in
41069 \end_layout
41070
41071 \begin_layout Standard
41072 \SpecialChar LyX
41073  enables you to write code with a custom inset named 
41074 \begin_inset Flex Noun
41075 status collapsed
41076
41077 \begin_layout Plain Layout
41078 Chunk
41079 \end_layout
41080
41081 \end_inset
41082
41083 .
41084  Noweb delimits chunks like this:
41085 \end_layout
41086
41087 \begin_layout LyX-Code
41088 <<My code>>=
41089 \end_layout
41090
41091 \begin_layout LyX-Code
41092   code
41093 \end_layout
41094
41095 \begin_layout LyX-Code
41096   more code
41097 \end_layout
41098
41099 \begin_layout LyX-Code
41100   even more code
41101 \end_layout
41102
41103 \begin_layout LyX-Code
41104   @
41105 \end_layout
41106
41107 \begin_layout Standard
41108 The problem is that whatever is written in between the << and the 
41109 \family typewriter
41110 @
41111 \family default
41112  must be taken literally,
41113  i.
41114 \begin_inset space \thinspace{}
41115 \end_inset
41116
41117 e.
41118 \begin_inset space \space{}
41119 \end_inset
41120
41121 \SpecialChar LyX
41122  should be prevented from making any special interpretation of what has been written.
41123  This is also handled by 
41124 \begin_inset Flex Noun
41125 status collapsed
41126
41127 \begin_layout Plain Layout
41128 Chunk
41129 \end_layout
41130
41131 \end_inset
41132
41133 ,
41134  that works like a normal text inset but has a free spacing capability.
41135 \end_layout
41136
41137 \begin_layout Standard
41138 As a special note,
41139  you can also use the 
41140 \begin_inset Quotes eld
41141 \end_inset
41142
41143 %def
41144 \begin_inset Quotes erd
41145 \end_inset
41146
41147  construct of Noweb in your chunks to add items to Noweb's identifier cross-reference:
41148 \end_layout
41149
41150 \begin_layout LyX-Code
41151 <<My chunk>>=
41152 \end_layout
41153
41154 \begin_layout LyX-Code
41155 def some_function(args):
41156 \end_layout
41157
41158 \begin_layout LyX-Code
41159    "This is the doc string for this function."
41160 \end_layout
41161
41162 \begin_layout LyX-Code
41163    print "My args:
41164  ",
41165  args
41166 \end_layout
41167
41168 \begin_layout LyX-Code
41169 @ %def some_function
41170 \end_layout
41171
41172 \begin_layout Standard
41173 For an example of this usage and the resulting cross-reference output,
41174  look at the Literate python program in 
41175 \emph on
41176 LIBDIR/examples/listerrors.lyx
41177 \emph default
41178  which should make this all clear.
41179 \end_layout
41180
41181 \begin_layout Paragraph
41182 Generating the documentation
41183 \end_layout
41184
41185 \begin_layout Standard
41186 At this point you already have a new document file with a proper document class,
41187  and with some code and text on it.
41188  How do I print it?
41189  The answer is simple,
41190  you select 
41191 \family sans
41192 View\SpecialChar menuseparator
41193 DVI,
41194
41195 \family default
41196  etc.
41197  Just like you would do for a plain document.
41198  No special procedure is required.
41199 \end_layout
41200
41201 \begin_layout Standard
41202 To help orientate you,
41203  I will now explain what happens inside \SpecialChar LyX
41204 :
41205 \end_layout
41206
41207 \begin_layout Enumerate
41208 When the 
41209 \family sans
41210 Update\SpecialChar menuseparator
41211 DVI
41212 \family default
41213  menu option is chosen,
41214  a \SpecialChar LaTeX
41215  file is generated.
41216  
41217 \end_layout
41218
41219 \begin_deeper
41220 \begin_layout Standard
41221 If the document is of any literate class the generated file will be named with an extension name defined by the 
41222 \begin_inset Quotes eld
41223 \end_inset
41224
41225 literate
41226 \begin_inset Quotes erd
41227 \end_inset
41228
41229  format (defined in the Preferences panel),
41230  otherwise the file will have the usual 
41231 \family typewriter
41232 .tex
41233 \family default
41234  extension.
41235 \end_layout
41236
41237 \end_deeper
41238 \begin_layout Enumerate
41239 Note that the only difference so far is in the name of the file,
41240  no special processing is required by \SpecialChar LyX
41241 .
41242  Given that you formatted the code using the 
41243 \begin_inset Flex Noun
41244 status collapsed
41245
41246 \begin_layout Plain Layout
41247 Chunk
41248 \end_layout
41249
41250 \end_inset
41251
41252  inset that,
41253  by itself,
41254  takes care of the business.
41255 \end_layout
41256
41257 \begin_layout Enumerate
41258 If the document is of any literate class \SpecialChar LyX
41259  will then use the internal \SpecialChar LyX
41260  to Noweb converter,
41261  followed by the Noweb to \SpecialChar LaTeX
41262  converter
41263 \begin_inset Foot
41264 status collapsed
41265
41266 \begin_layout Plain Layout
41267 The converters are defined in the 
41268 \family sans
41269 Tools\SpecialChar menuseparator
41270 Preferences
41271 \family default
41272  panel,
41273  under the 
41274 \begin_inset Quotes eld
41275 \end_inset
41276
41277 Conversion
41278 \begin_inset Quotes erd
41279 \end_inset
41280
41281  tab.
41282  See section 
41283 \emph on
41284 Converters
41285 \emph default
41286  of the 
41287 \emph on
41288 Customization
41289 \emph default
41290  manual for general information about converters.
41291 \end_layout
41292
41293 \end_inset
41294
41295  to generate the \SpecialChar LaTeX
41296  file.
41297 \end_layout
41298
41299 \begin_deeper
41300 \begin_layout Standard
41301 Otherwise it will just skip this step.
41302 \end_layout
41303
41304 \end_deeper
41305 \begin_layout Enumerate
41306 Finally,
41307  \SpecialChar LaTeX
41308  is invoked and the regular post processing continues as in a plain document.
41309 \end_layout
41310
41311 \begin_layout Standard
41312 Independence from a particular 
41313 \begin_inset Quotes eld
41314 \end_inset
41315
41316 literate tool
41317 \begin_inset Quotes erd
41318 \end_inset
41319
41320  is easily achieved by changing the commands that are run by the various converters.
41321 \end_layout
41322
41323 \begin_layout Paragraph
41324 Generating the code
41325 \end_layout
41326
41327 \begin_layout Standard
41328 When the build menu option is chosen or the corresponding button in the toolbar is pressed,
41329  a \SpecialChar LaTeX
41330  file is generated just like step 1 above.
41331  Next,
41332  \SpecialChar LyX
41333  invokes the 
41334 \family typewriter
41335 Noweb->Program
41336 \family default
41337  converter.
41338  This converter needs to be defined by the user and is not installed by default,
41339  though the Program format is.
41340  This converter (like any other converter) will have two parts:
41341 \end_layout
41342
41343 \begin_layout Enumerate
41344 The converter program itself.
41345  This program performs the conversion from the one format to the other (in this case,
41346  from the Noweb format to the Program pseudo-format).
41347 \end_layout
41348
41349 \begin_layout Enumerate
41350 The error log parser.
41351  This is a program whose sole purpose is to rewrite error messages in a format that \SpecialChar LyX
41352  understands.
41353  This makes it possible for \SpecialChar LyX
41354  to place error boxes in the right places in the file buffer.
41355 \end_layout
41356
41357 \begin_layout Standard
41358 The first part,
41359  the 
41360 \begin_inset Quotes eld
41361 \end_inset
41362
41363 Converter
41364 \begin_inset Quotes erd
41365 \end_inset
41366
41367  setting,
41368  should be set to
41369 \end_layout
41370
41371 \begin_layout LyX-Code
41372
41373 \family typewriter
41374 build-script $$i
41375 \family default
41376  $$r
41377 \end_layout
41378
41379 \begin_layout Standard
41380 This basically means that \SpecialChar LyX
41381  will call 
41382 \begin_inset Quotes eld
41383 \end_inset
41384
41385 build-script
41386 \begin_inset Quotes erd
41387 \end_inset
41388
41389  (a program or script) with the name of the Noweb file (normally a file in the \SpecialChar LyX
41390  temp directory) and the directory path of the original \SpecialChar LyX
41391  file.
41392  
41393 \end_layout
41394
41395 \begin_layout Standard
41396 This is an implementation of 
41397 \begin_inset Quotes eld
41398 \end_inset
41399
41400 build-script
41401 \begin_inset Quotes erd
41402 \end_inset
41403
41404  that you can place in a directory on your path:
41405 \end_layout
41406
41407 \begin_layout LyX-Code
41408
41409 \family sans
41410 #!/bin/sh
41411 \end_layout
41412
41413 \begin_layout LyX-Code
41414
41415 \family sans
41416 #
41417 \end_layout
41418
41419 \begin_layout LyX-Code
41420
41421 \family sans
41422 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
41423 \end_layout
41424
41425 \begin_layout Standard
41426 The next part of the converter setting is the 
41427 \begin_inset Quotes eld
41428 \end_inset
41429
41430 Flags
41431 \begin_inset Quotes erd
41432 \end_inset
41433
41434  which is to be set to
41435 \end_layout
41436
41437 \begin_layout LyX-Code
41438
41439 \family typewriter
41440 parselog=$$s/scripts/listerrors
41441 \end_layout
41442
41443 \begin_layout Standard
41444 This will run any errors that are generated by the 
41445 \begin_inset Quotes eld
41446 \end_inset
41447
41448 build-script
41449 \begin_inset Quotes erd
41450 \end_inset
41451
41452  process through the 
41453 \begin_inset Quotes eld
41454 \end_inset
41455
41456 listerrors
41457 \begin_inset Quotes erd
41458 \end_inset
41459
41460  program.
41461 \end_layout
41462
41463 \begin_layout Standard
41464 The build will normally take place in \SpecialChar LyX
41465 's temporary directory,
41466  so the files produced by the conversion will be in that directory.
41467  \SpecialChar LyX
41468  will copy out what it regards as the `main' file,
41469  but the 
41470 \family typewriter
41471 Noweb->Program
41472 \family default
41473  conversion may produce several files,
41474  and so most of these would then be deleted when \SpecialChar LyX
41475  was closed.
41476  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.
41477 \end_layout
41478
41479 \begin_layout Paragraph
41480 Build instructions in the document
41481 \end_layout
41482
41483 \begin_layout Standard
41484 The last piece of the integration between \SpecialChar LyX
41485  and noweb is the 
41486 \begin_inset Quotes eld
41487 \end_inset
41488
41489 build-script
41490 \begin_inset Quotes erd
41491 \end_inset
41492
41493  chunk.
41494  Generally,
41495  the instructions for building your program should be embedded in a chunk of its own.
41496  The noweb-specific 
41497 \begin_inset Quotes eld
41498 \end_inset
41499
41500 build-script
41501 \begin_inset Quotes erd
41502 \end_inset
41503
41504  above uses the notangle command to look for this chunk (called 
41505 \begin_inset Quotes eld
41506 \end_inset
41507
41508 build-script
41509 \begin_inset Quotes erd
41510 \end_inset
41511
41512 ) and runs its contents through 
41513 \begin_inset Quotes eld
41514 \end_inset
41515
41516 sh
41517 \begin_inset Quotes erd
41518 \end_inset
41519
41520 .
41521 \end_layout
41522
41523 \begin_layout Standard
41524 Typically,
41525  such a chunk would look something like this:
41526 \end_layout
41527
41528 \begin_layout LyX-Code
41529 <<build-script>>=
41530 \end_layout
41531
41532 \begin_layout LyX-Code
41533 #!/bin/sh
41534 \begin_inset Newline newline
41535 \end_inset
41536
41537 if [ -z "${NOWEB_SOURCE}" ]
41538 \begin_inset Newline newline
41539 \end_inset
41540
41541 then
41542 \end_layout
41543
41544 \begin_layout LyX-Code
41545 NOWEB_SOURCE=myfile.nw
41546 \begin_inset Newline newline
41547 \end_inset
41548
41549 fi
41550 \begin_inset Newline newline
41551 \end_inset
41552
41553 [...
41554  code to extract files ...
41555  use NOWEB_OUTPUT_DIR here ...]
41556 \begin_inset Newline newline
41557 \end_inset
41558
41559 [...
41560  code to compile files ...]
41561 \begin_inset Newline newline
41562 \end_inset
41563
41564 @
41565 \end_layout
41566
41567 \begin_layout Standard
41568 Look in 
41569 \change_deleted 564990737 1672161716
41570
41571 \emph on
41572 LIBDIR/examples/listerrors.lyx
41573 \emph default
41574  or in 
41575 \emph on
41576 LIBDIR/examples/Literate.lyx
41577 \change_inserted 564990737 1672161716
41578
41579 \family sans
41580 \emph default
41581 File\SpecialChar menuseparator
41582 Open Example\SpecialChar menuseparator
41583 Modules\SpecialChar menuseparator
41584 Noweb Listerrors
41585 \change_unchanged
41586
41587 \family default
41588  
41589 \change_inserted -712698321 1674917096
41590 or in 
41591 \family sans
41592 File\SpecialChar menuseparator
41593 Open Example\SpecialChar menuseparator
41594 Modules\SpecialChar menuseparator
41595 Noweb2LyX
41596 \family default
41597  
41598 \change_unchanged
41599 which implement 
41600 \change_deleted 564990737 1672161729
41601 two 
41602 \change_unchanged
41603 versions of the 
41604 \begin_inset Quotes eld
41605 \end_inset
41606
41607 listerrors
41608 \begin_inset Quotes erd
41609 \end_inset
41610
41611  program for some illustrations of how all of these pieces go together 
41612 \change_deleted -712698321 1674917093
41613 or in 
41614 \change_deleted 564990737 1672161756
41615
41616 \emph on
41617 LIBDIR/examples/noweb2lyx.lyx
41618 \change_deleted -712698321 1674917093
41619
41620 \family sans
41621 \emph default
41622 File\SpecialChar menuseparator
41623 Open Example\SpecialChar menuseparator
41624 Modules\SpecialChar menuseparator
41625 Noweb2\SpecialChar LyX
41626
41627 \change_unchanged
41628
41629 \family default
41630 \emph on
41631 .
41632
41633 \emph default
41634  Interestingly,
41635  these 
41636 \change_deleted 564990737 1672161767
41637 three 
41638 \change_unchanged
41639 files show off the language-indepence of the \SpecialChar LyX
41640  literate programming support since they are written in Python
41641 \change_deleted 564990737 1672161782
41642 ,
41643  C
41644 \change_unchanged
41645  and Perl respectively.
41646 \end_layout
41647
41648 \begin_layout Subsubsection
41649 Configuring \SpecialChar LyX
41650
41651 \end_layout
41652
41653 \begin_layout Standard
41654 All the Literate Programming support is configured by the 
41655 \family sans
41656 Tools\SpecialChar menuseparator
41657 Preferences
41658 \family default
41659  panel in the 
41660 \begin_inset Quotes eld
41661 \end_inset
41662
41663 File Handling
41664 \begin_inset Quotes erd
41665 \end_inset
41666
41667  tab.
41668  The important parts are:
41669 \end_layout
41670
41671 \begin_layout Description
41672 the
41673 \begin_inset space ~
41674 \end_inset
41675
41676
41677 \begin_inset Quotes eld
41678 \end_inset
41679
41680 NoWeb
41681 \begin_inset Quotes erd
41682 \end_inset
41683
41684
41685 \begin_inset space ~
41686 \end_inset
41687
41688 format Set up via the File Formats tab,
41689  this is where the Noweb-specific pieces are set up.
41690  The 
41691 \family sans
41692 GUI Name
41693 \family default
41694  is set to 
41695 \family typewriter
41696 NoWeb
41697 \family default
41698 ,
41699  the file extension is set to 
41700 \family typewriter
41701 .nw
41702 \family default
41703 .
41704  This tells \SpecialChar LyX
41705  to create a file with a 
41706 \family typewriter
41707 .nw
41708 \family default
41709  extension in the first step of the conversion process.
41710 \end_layout
41711
41712 \begin_layout Description
41713 the
41714 \begin_inset space ~
41715 \end_inset
41716
41717
41718 \family sans
41719 Program
41720 \family default
41721
41722 \begin_inset space ~
41723 \end_inset
41724
41725 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).
41726 \end_layout
41727
41728 \begin_layout Description
41729
41730 \family sans
41731 NoWeb
41732 \family default
41733 ->
41734 \family sans
41735 \SpecialChar LaTeX
41736
41737 \family default
41738  This converter performs the 
41739 \begin_inset Quotes eld
41740 \end_inset
41741
41742 weaving
41743 \begin_inset Quotes erd
41744 \end_inset
41745
41746  of the literate document.
41747  For Noweb,
41748  it is set to 
41749 \begin_inset Quotes eld
41750 \end_inset
41751
41752
41753 \family typewriter
41754 noweave -delay -index $$i > $$o
41755 \family default
41756
41757 \begin_inset Quotes erd
41758 \end_inset
41759
41760
41761 \end_layout
41762
41763 \begin_layout Description
41764
41765 \family sans
41766 NoWeb
41767 \family default
41768 ->
41769 \family sans
41770 Program
41771 \family default
41772  This performs the 
41773 \begin_inset Quotes eld
41774 \end_inset
41775
41776 tangling step
41777 \begin_inset Quotes erd
41778 \end_inset
41779
41780 .
41781  As stated above,
41782  the Converter is set to 
41783 \begin_inset Quotes eld
41784 \end_inset
41785
41786
41787 \family typewriter
41788 build-script $$i
41789 \family default
41790  $$r
41791 \begin_inset Quotes erd
41792 \end_inset
41793
41794 ,
41795  with Flags set to
41796 \begin_inset Newline newline
41797 \end_inset
41798
41799
41800 \begin_inset Quotes eld
41801 \end_inset
41802
41803
41804 \family typewriter
41805 parselog=$$s/scripts/listerrors
41806 \family default
41807
41808 \begin_inset Quotes erd
41809 \end_inset
41810
41811 .
41812 \end_layout
41813
41814 \begin_layout Subsubsection
41815 Debug extensions
41816 \end_layout
41817
41818 \begin_layout Standard
41819 There is also a new function implemented in the \SpecialChar LyX
41820  server,
41821  the 
41822 \begin_inset Quotes eld
41823 \end_inset
41824
41825 server-goto-file-row" function,
41826  to be used with ddd/gdb or other debugger.
41827  
41828 \end_layout
41829
41830 \begin_layout Standard
41831 When debugging code with ddd/gdb,
41832  it is possible to invoke a text editor at the current execution position with a single key stroke.
41833  The default ddd configuration for that is shift-ctrl-V.
41834  It happens that you can define the editor command line invocation in ddd by accessing the 
41835 \family sans
41836 Edit\SpecialChar menuseparator
41837 Preferences\SpecialChar menuseparator
41838 Helpers
41839 \family default
41840  dialog and changing the "Edit Sources" entry.
41841 \end_layout
41842
41843 \begin_layout Standard
41844 I take advantage of the newly created \SpecialChar LyX
41845  server function and this ddd feature,
41846  and set 
41847 \begin_inset Quotes eld
41848 \end_inset
41849
41850 Edit Sources
41851 \begin_inset Quotes erd
41852 \end_inset
41853
41854  to:
41855 \end_layout
41856
41857 \begin_layout LyX-Code
41858 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
41859 \end_layout
41860
41861 \begin_layout Standard
41862 With this,
41863  whenever you are using ddd and find a point in the program that you want to edit,
41864  you just press shift-ctrl-V (in the ddd window),
41865  and ddd will forward this information to \SpecialChar LyX
41866  through the \SpecialChar LyX
41867  server and then the \SpecialChar LyX
41868  window will show the same file with the cursor at the same position ddd was pointing to.
41869  No more guessing or long scrolling to locate a point in the program back from debugging !
41870 \end_layout
41871
41872 \begin_layout Standard
41873 Note however that you must enable the \SpecialChar LyX
41874  server to get this feature working (it is disabled by default).
41875  Sec.
41876 \begin_inset space ~
41877 \end_inset
41878
41879
41880 \begin_inset CommandInset ref
41881 LatexCommand ref
41882 reference "sec:Starting-the-Server"
41883 nolink "false"
41884
41885 \end_inset
41886
41887  explains how to do that.
41888 \end_layout
41889
41890 \begin_layout Subsubsection
41891 Toolbar extensions
41892 \end_layout
41893
41894 \begin_layout Standard
41895 There are six new buttons that can be added to your \SpecialChar LyX
41896  toolbar.
41897  Four of these buttons are short cuts to layout styles:
41898  
41899 \family sans
41900 Standard
41901 \family default
41902 ,
41903  
41904 \family sans
41905 Section
41906 \family default
41907 ,
41908  
41909 \family sans
41910 \SpecialChar LaTeX
41911
41912 \family default
41913 ,
41914  and 
41915 \family sans
41916 \SpecialChar LyX
41917 -Code
41918 \family default
41919 ,
41920  one for the custom inset 
41921 \family sans
41922 Chunk
41923 \family default
41924 .
41925  The last one is a short cut to the 
41926 \begin_inset Quotes eld
41927 \end_inset
41928
41929 Build Program
41930 \begin_inset Quotes erd
41931 \end_inset
41932
41933  File menu entry.
41934  
41935 \end_layout
41936
41937 \begin_layout Standard
41938 \SpecialChar LyX
41939  has a range of buttons that are available for tool bar customization.
41940  In my toolbar I like to combine the six short cuts above with two more:
41941  One for 
41942 \family sans
41943 Document
41944 \family default
41945 \SpecialChar menuseparator
41946
41947 \family sans
41948 Update
41949 \family default
41950 \SpecialChar menuseparator
41951
41952 \family sans
41953 DVI
41954 \family default
41955  and the other for 
41956 \family sans
41957 Document\SpecialChar menuseparator
41958 View\SpecialChar menuseparator
41959 DVI
41960 \family default
41961  File menu entries.
41962  Here is how it looks like:
41963 \end_layout
41964
41965 \begin_layout LyX-Code
41966 Toolbar
41967 \end_layout
41968
41969 \begin_layout LyX-Code
41970   Layouts
41971 \end_layout
41972
41973 \begin_layout LyX-Code
41974   Icon "layout Standard"
41975 \end_layout
41976
41977 \begin_layout LyX-Code
41978   Icon "layout Section"
41979 \end_layout
41980
41981 \begin_layout LyX-Code
41982   Icon "layout \SpecialChar LaTeX
41983 "
41984 \end_layout
41985
41986 \begin_layout LyX-Code
41987   Icon "layout \SpecialChar LyX
41988 -Code"
41989 \end_layout
41990
41991 \begin_layout LyX-Code
41992   Icon "flex.insert Chunk"
41993 \end_layout
41994
41995 \begin_layout LyX-Code
41996   Separator
41997 \end_layout
41998
41999 \begin_layout LyX-Code
42000   Icon "buffer-view"
42001 \end_layout
42002
42003 \begin_layout LyX-Code
42004   Icon "buffer-typeset"
42005 \end_layout
42006
42007 \begin_layout LyX-Code
42008   Icon "build-program"
42009 \end_layout
42010
42011 \begin_layout LyX-Code
42012   Separator
42013 \end_layout
42014
42015 \begin_layout LyX-Code
42016 .
42017 \end_layout
42018
42019 \begin_layout LyX-Code
42020 .
42021 \end_layout
42022
42023 \begin_layout LyX-Code
42024 .
42025 \end_layout
42026
42027 \begin_layout LyX-Code
42028 End
42029 \end_layout
42030
42031 \begin_layout Subsubsection
42032 Colors customization
42033 \end_layout
42034
42035 \begin_layout Standard
42036 There are a number of colors in \SpecialChar LyX
42037  that can be customized in 
42038 \family sans
42039 Preferences
42040 \family default
42041 .
42042  One of the things that bothers people is the \SpecialChar LaTeX
42043  font color.
42044  The default color is red,
42045  since the chunks uses \SpecialChar LaTeX
42046  font,
42047  and there is a lot of chunks in literate documents,
42048  you may get tired of seeing everything in red.
42049  You can change it by going to the tabs 
42050 \family sans
42051 Look&Feel
42052 \family default
42053 ,
42054  
42055 \family sans
42056 Colors.
42057 \end_layout
42058
42059 \begin_layout Standard
42060 The next thing is the visible presence of the newline character in the screen.
42061  You can choose the color of this particular character and make it blend in the background.
42062  I recommend you choosing a color that is close to the background but not equal,
42063  that way you still can see it is there,
42064  but it is not bothering you anymore.
42065 \end_layout
42066
42067 \begin_layout Subsection
42068 \SpecialChar LyX
42069  and knitr/Sweave
42070 \end_layout
42071
42072 \begin_layout Standard
42073 Support for 
42074 \family sans
42075 knitr
42076 \family default
42077  and 
42078 \family sans
42079 Sweave
42080 \family default
42081  is documented in
42082 \change_inserted 564990737 1672161863
42083  
42084 \family sans
42085 Help\SpecialChar menuseparator
42086 Specific Manuals\SpecialChar menuseparator
42087 Knitr
42088 \family default
42089  and
42090 \change_unchanged
42091  
42092 \change_deleted 564990737 1671643409
42093 the 
42094 \emph on
42095 knitr.lyx
42096 \emph default
42097  example file
42098 \change_inserted 564990737 1672161856
42099
42100 \family sans
42101 File\SpecialChar menuseparator
42102 Open Example\SpecialChar menuseparator
42103 Modules\SpecialChar menuseparator
42104 Rnw (knitr)
42105 \change_unchanged
42106
42107 \family default
42108  and in 
42109 \change_deleted 564990737 1671643461
42110 the Sweave manual (menu 
42111 \family sans
42112 Help\SpecialChar menuseparator
42113 Specific Manuals
42114 \family default
42115 )
42116 \change_inserted 564990737 1672161856
42117
42118 \family sans
42119 Help\SpecialChar menuseparator
42120 Specific Manuals\SpecialChar menuseparator
42121 Sweave
42122 \change_deleted 564990737 1672161921
42123
42124 \family default
42125 .
42126
42127 \change_inserted 564990737 1672161917
42128  and 
42129 \family sans
42130 File\SpecialChar menuseparator
42131 Open Example\SpecialChar menuseparator
42132 Modules\SpecialChar menuseparator
42133 Sweave
42134 \family default
42135 .
42136 \change_deleted 564990737 1672742969
42137
42138 \end_layout
42139
42140 \begin_layout Standard
42141
42142 \change_deleted 564990737 1671355343
42143 Special features
42144 \end_layout
42145
42146 \begin_layout Standard
42147
42148 \change_deleted 564990737 1671355343
42149 You can do everything with \SpecialChar LyX
42150  that you can do with \SpecialChar LaTeX
42151 .
42152  However,
42153  \SpecialChar LyX
42154  cannot support every \SpecialChar LaTeX
42155  feature directly.
42156  But you can always use \SpecialChar TeX
42157  Code.
42158  This chapter shows you some more special things you might want to use.
42159  For other special things you can do with figures,
42160  tables,
42161  floats,
42162  boxes and notes,
42163  have a look at the 
42164 \emph on
42165 Embedded
42166 \begin_inset space ~
42167 \end_inset
42168
42169 Objects
42170 \emph default
42171  manual.
42172 \change_inserted -712698321 1674917293
42173
42174 \end_layout
42175
42176 \begin_layout Standard
42177
42178 \change_inserted -712698321 1674917303
42179 \begin_inset CommandInset index_print
42180 LatexCommand printindex
42181 type "idx"
42182 name "Index"
42183
42184 \end_inset
42185
42186
42187 \change_unchanged
42188
42189 \end_layout
42190
42191 \end_body
42192 \end_document