]> git.lyx.org Git - lyx.git/blob - lib/doc/Additional.lyx
de/Customization: update
[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 545138413 "Koji Yokota" yokota6@gmail.com
143 \author 564990737 "John Lyx"
144 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
145 \author 1075283030 "Thibaut"
146 \author 1119979965 "Joel A. Kulesza"
147 \end_header
148
149 \begin_body
150
151 \begin_layout Title
152 Additional \SpecialChar LyX
153  Features
154 \end_layout
155
156 \begin_layout Subtitle
157 Version 2.
158 \change_deleted 630872221 1622909155
159 3
160 \change_inserted 630872221 1622909155
161 4
162 \change_unchanged
163 .x
164 \end_layout
165
166 \begin_layout Author
167 by the \SpecialChar LyX
168  Team
169 \begin_inset Foot
170 status collapsed
171
172 \begin_layout Plain Layout
173 \noindent
174 Principal maintainer of this file is
175 \noun on
176  Richard Kimberly Heck
177 \noun default
178 .
179  If you have comments or error corrections,
180  please send them to the \SpecialChar LyX
181  Documentation mailing list,
182  
183 \begin_inset Flex Code
184 status collapsed
185
186 \begin_layout Plain Layout
187 <lyx-docs@lists.lyx.org>
188 \end_layout
189
190 \end_inset
191
192 .
193 \end_layout
194
195 \end_inset
196
197
198 \end_layout
199
200 \begin_layout Standard
201 \begin_inset CommandInset toc
202 LatexCommand tableofcontents
203
204 \end_inset
205
206
207 \end_layout
208
209 \begin_layout Standard
210
211 \change_inserted 5863208 1672865652
212 \begin_inset Note Note
213 status open
214
215 \begin_layout Plain Layout
216
217 \change_inserted 5863208 1672865674
218 Note to all translators:
219 \end_layout
220
221 \begin_layout Plain Layout
222
223 \change_inserted 5863208 1672865817
224 This manual was restructured for LyX 2.4.
225  Attached are notes for translators to help them to find their way round the new structure of Additional.lyx.
226  This note itself will be deleted in the final 2.4 release.
227 \begin_inset Newline newline
228 \end_inset
229
230
231 \end_layout
232
233 \begin_layout Plain Layout
234
235 \change_inserted 5863208 1672865801
236
237 \series bold
238 Additional.lyx 2.4 Changes
239 \end_layout
240
241 \begin_layout Itemize
242
243 \change_inserted 5863208 1672865801
244 Chapter 1:
245  none
246 \end_layout
247
248 \begin_layout Itemize
249
250 \change_inserted 5863208 1672865801
251 Chapter 2:
252  none
253 \end_layout
254
255 \begin_layout Itemize
256
257 \change_inserted 5863208 1672865801
258 Chapter 3:
259  Document classes:
260  new chapter
261 \end_layout
262
263 \begin_deeper
264 \begin_layout Itemize
265
266 \change_inserted 5863208 1672865801
267 AMS LaTeX:
268  moved and minor edits
269 \end_layout
270
271 \begin_layout Itemize
272
273 \change_inserted 5863208 1672865801
274 Extra font styles:
275  new
276 \end_layout
277
278 \begin_layout Itemize
279
280 \change_inserted 5863208 1672865801
281 Hebrew:
282  new
283 \end_layout
284
285 \begin_layout Itemize
286
287 \change_inserted 5863208 1672865801
288 Japanese:
289  new
290 \end_layout
291
292 \begin_layout Itemize
293
294 \change_inserted 5863208 1672865801
295 KOMA-Script:
296  moved and significant edits
297 \end_layout
298
299 \begin_layout Itemize
300
301 \change_inserted 5863208 1672865801
302 Polish:
303  moved and minor edit
304 \end_layout
305
306 \begin_layout Itemize
307
308 \change_inserted 5863208 1672865801
309 Tufte:
310  new
311 \end_layout
312
313 \begin_layout Itemize
314
315 \change_inserted 5863208 1672865801
316 A&A Paper:
317  moved and minor edits
318 \end_layout
319
320 \begin_layout Itemize
321
322 \change_inserted 5863208 1672865801
323 AASTeX:
324  moved
325 \end_layout
326
327 \begin_layout Itemize
328
329 \change_inserted 5863208 1672865801
330 Chess:
331  new
332 \end_layout
333
334 \begin_layout Itemize
335
336 \change_inserted 5863208 1672865801
337 Elsevier:
338  new
339 \end_layout
340
341 \begin_layout Itemize
342
343 \change_inserted 5863208 1672865801
344 Paper:
345  new
346 \end_layout
347
348 \begin_layout Itemize
349
350 \change_inserted 5863208 1672865824
351 RevTeX:
352  moved
353 \end_layout
354
355 \begin_layout Itemize
356
357 \change_inserted 5863208 1672865831
358 Springer:
359  new
360 \end_layout
361
362 \begin_layout Itemize
363
364 \change_inserted 5863208 1672865831
365 Memoir:
366  moved
367 \end_layout
368
369 \begin_layout Itemize
370
371 \change_inserted 5863208 1672865831
372 Recipe Book:
373  new
374 \end_layout
375
376 \begin_layout Itemize
377
378 \change_inserted 5863208 1672865831
379 Curricula vitae:
380  all new
381 \end_layout
382
383 \begin_layout Itemize
384
385 \change_inserted 5863208 1672865831
386 Letters:
387  all new
388 \end_layout
389
390 \begin_layout Itemize
391
392 \change_inserted 5863208 1672865831
393 Beamer:
394  new
395 \end_layout
396
397 \begin_layout Itemize
398
399 \change_inserted 5863208 1672865831
400 Foils:
401  moved with minor edits
402 \end_layout
403
404 \begin_layout Itemize
405
406 \change_inserted 5863208 1672865831
407 Powerdot:
408  new
409 \end_layout
410
411 \begin_layout Itemize
412
413 \change_inserted 5863208 1672865831
414 Seminar:
415  new
416 \end_layout
417
418 \begin_layout Itemize
419
420 \change_inserted 5863208 1672865831
421 Slides:
422  moved with minor edits
423 \end_layout
424
425 \begin_layout Itemize
426
427 \change_inserted 5863208 1672865831
428 Reports:
429  new
430 \end_layout
431
432 \begin_layout Itemize
433
434 \change_inserted 5863208 1672865831
435 Broadway:
436  moved
437 \end_layout
438
439 \begin_layout Itemize
440
441 \change_inserted 5863208 1672865831
442 Hollywood:
443  moved
444 \end_layout
445
446 \begin_layout Itemize
447
448 \change_inserted 5863208 1672865831
449 (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.)
450 \end_layout
451
452 \end_deeper
453 \begin_layout Itemize
454
455 \change_inserted 5863208 1672865831
456 Chapter 4:
457  Modules:
458  new chapter
459 \end_layout
460
461 \begin_deeper
462 \begin_layout Itemize
463
464 \change_inserted 5863208 1672865831
465 All module descriptions new except:
466 \end_layout
467
468 \begin_layout Itemize
469
470 \change_inserted 5863208 1672865831
471 Customizable lists:
472  moved with minor edits
473 \end_layout
474
475 \begin_layout Itemize
476
477 \change_inserted 5863208 1672865831
478 Custom header/footer text:
479  moved with minor edits
480 \end_layout
481
482 \begin_layout Itemize
483
484 \change_inserted 5863208 1672865831
485 Multiple columns:
486  moved with minor edits
487 \end_layout
488
489 \begin_layout Itemize
490
491 \change_inserted 5863208 1672865831
492 Custom paragraph shapes:
493  moved with minor edits
494 \end_layout
495
496 \begin_layout Itemize
497
498 \change_inserted 5863208 1672865831
499 Initials:
500  moved with minor edits
501 \end_layout
502
503 \end_deeper
504 \begin_layout Itemize
505
506 \change_inserted 5863208 1672865831
507 Chapter 5:
508  Bibliography:
509  new chapter
510 \end_layout
511
512 \begin_deeper
513 \begin_layout Itemize
514
515 \change_inserted 5863208 1672865831
516 Content moved but unchanged
517 \end_layout
518
519 \end_deeper
520 \begin_layout Itemize
521
522 \change_inserted 5863208 1672865831
523 Chapter 6:
524  Bullets:
525  new chapter
526 \end_layout
527
528 \begin_deeper
529 \begin_layout Itemize
530
531 \change_inserted 5863208 1672865845
532 Content moved but unchanged
533 \end_layout
534
535 \end_deeper
536 \begin_layout Itemize
537
538 \change_inserted 5863208 1672865845
539 Chapter 9:
540  DocBook output:
541  new chapter and content
542 \end_layout
543
544 \begin_layout Itemize
545
546 \change_inserted 5863208 1672865845
547 All other chapters unchanged but renumbered except:
548 \end_layout
549
550 \begin_layout Itemize
551
552 \change_inserted 5863208 1672865845
553 section 11.3 Literate programming:
554  minor edits
555 \change_unchanged
556
557 \end_layout
558
559 \end_inset
560
561
562 \end_layout
563
564 \begin_layout Chapter
565 Introduction
566 \end_layout
567
568 \begin_layout Standard
569 This manual is essentially Part II of the 
570 \emph on
571 User's Guide\SpecialChar endofsentence
572
573 \emph default
574  The reason for separating the two documents is simple:
575  the 
576 \emph on
577 User's Guide
578 \emph default
579  is already quite lengthy,
580  and it contains information on all of the basic features one needs to know in order to prepare most documents.
581  However,
582  the \SpecialChar LyX
583  Team has worked to make \SpecialChar LyX
584  extensible through various configuration files and external packages.
585  That means that if you want to support the Fizzwizzle \SpecialChar LaTeX
586  package,
587  you can create a layout file (or module) for it without having to alter \SpecialChar LyX
588  itself.
589  We've already had contributions of several new features this way,
590  and some of them are documented here.
591  There are also some more `advanced' features,
592  such as how to control the presentation of bibliographies and how to work with multi-part documents,
593  that are not covered in the 
594 \emph on
595 User's Guide
596 \emph default
597  and are discussed here.
598 \end_layout
599
600 \begin_layout Standard
601 This manual also documents some special features,
602  like fax support
603 \change_deleted 244031559 1603802929
604 ,
605
606 \change_inserted 244031559 1603802931
607  and
608 \change_unchanged
609  version control
610 \change_deleted 244031559 1603802954
611 ,
612  and SGML support
613 \change_unchanged
614 ,
615  which require additional software to work properly.
616  There is also a chapter on \SpecialChar LyX
617 's support for HTML.
618  And lastly,
619  there's a chapter of \SpecialChar LaTeX
620  tools and tips,
621  things you can use to spruce up your documents by directly using the powerful features of \SpecialChar LaTeX
622 .
623  After all,
624  \SpecialChar LyX
625  
626 \emph on
627 is
628 \emph default
629  only WYSIWYM and will only ever interface to some,
630  not all,
631  \SpecialChar LaTeX
632  features.
633 \end_layout
634
635 \begin_layout Standard
636 If you haven't read the 
637 \emph on
638 Introduction
639 \emph default
640  yet,
641  you are definitely in the wrong manual.
642  The 
643 \emph on
644 Introduction
645 \emph default
646  is the first place to go,
647  since it describes the notation and format of all of the manuals.
648  You should also be thoroughly familiar with the 
649 \emph on
650 User's Guide
651 \emph default
652  and all of the basic features of \SpecialChar LyX
653  before attempting to read this one.
654 \end_layout
655
656 \begin_layout Standard
657 Since many of the topics in this manual depend heavily on \SpecialChar LyX
658 's interaction with \SpecialChar LaTeX
659 ,
660  this first chapter covers the inner workings of \SpecialChar LyX
661  and how to direct \SpecialChar LyX
662  to generate exactly the \SpecialChar LaTeX
663  code you want.
664  It is obviously for more seasoned \SpecialChar LyX
665  users.
666 \end_layout
667
668 \begin_layout Chapter
669 \SpecialChar LyX
670  and \SpecialChar LaTeX
671
672 \end_layout
673
674 \begin_layout Section
675 How \SpecialChar LyX
676  Uses \SpecialChar LaTeX
677
678 \end_layout
679
680 \begin_layout Standard
681 This chapter is for both \SpecialChar TeX
682 -nicians and the \SpecialChar LaTeX
683 -curious.
684  In it,
685  we'll explain how \SpecialChar LyX
686  and \SpecialChar LaTeX
687  work together to produce printable output.
688  This is the only place in any of the manuals where we assume you know something about \SpecialChar LaTeX
689 .
690 \end_layout
691
692 \begin_layout Standard
693 At one time,
694  \SpecialChar LyX
695  was called a 
696 \begin_inset Quotes eld
697 \end_inset
698
699 WYSIWYM frontend to \SpecialChar LaTeX
700 ,
701 \begin_inset Quotes erd
702 \end_inset
703
704  but that's no longer true.
705  There are frontends to \SpecialChar LaTeX
706  out there.
707 \begin_inset Foot
708 status collapsed
709
710 \begin_layout Plain Layout
711 Some familar ones are \SpecialChar TeX
712 maker and kile,
713  on Linux,
714  and \SpecialChar TeX
715 shop,
716  OSX.
717  There are also the \SpecialChar LaTeX
718  modes for vi and emacs,
719  of course.
720 \end_layout
721
722 \end_inset
723
724  These are basically text editors with the ability to run \SpecialChar LaTeX
725  and mark any errors in the file you're editing.
726  Although \SpecialChar LyX
727  
728 \emph on
729 is
730 \emph default
731  an editor,
732  and it 
733 \emph on
734 does
735 \emph default
736  run \SpecialChar LaTeX
737 ,
738  and it also indicates errors in the file,
739  it also does much,
740  much more.
741  For one thing,
742  you don't need to know \SpecialChar LaTeX
743  to use \SpecialChar LyX
744  effectively.
745  And \SpecialChar LyX
746  has added its own extensions to \SpecialChar LaTeX
747 .
748  Try the following sometime:
749  select 
750 \change_deleted -712698321 1674917358
751
752 \family sans
753
754 \begin_inset Flex Noun
755 status collapsed
756
757 \begin_layout Plain Layout
758
759 \noun off
760 Export\SpecialChar menuseparator
761 LaTeX
762 \end_layout
763
764 \end_inset
765
766
767 \change_inserted -712698321 1674917358
768 Export\SpecialChar menuseparator
769 LaTeX
770 \change_unchanged
771
772 \family default
773  from the 
774 \change_deleted -712698321 1674917366
775
776 \begin_inset Flex Noun
777 status collapsed
778
779 \begin_layout Plain Layout
780 File
781 \end_layout
782
783 \end_inset
784
785
786 \change_inserted -712698321 1674917366
787
788 \family sans
789 File
790 \change_unchanged
791
792 \family default
793  menu (or 
794 \change_deleted -712698321 1674917371
795
796 \begin_inset Flex Noun
797 status collapsed
798
799 \begin_layout Plain Layout
800 View\SpecialChar menuseparator
801 Source
802 \begin_inset space ~
803 \end_inset
804
805 Pane
806 \end_layout
807
808 \end_inset
809
810
811 \change_inserted -712698321 1674917371
812
813 \family sans
814 View\SpecialChar menuseparator
815 Source
816 \begin_inset space ~
817 \end_inset
818
819 Pane
820 \change_unchanged
821
822 \family default
823 ),
824  then look at the preamble of the resulting 
825 \begin_inset Flex Code
826 status collapsed
827
828 \begin_layout Plain Layout
829 .tex
830 \end_layout
831
832 \end_inset
833
834  file.
835  You'll notice a variety of new macros defined specifically by \SpecialChar LyX
836 .
837  These macros are defined automatically,
838  according to the features you use in the document.
839 \end_layout
840
841 \begin_layout Standard
842 There are several commands that automatically invoke \SpecialChar LaTeX
843 .
844  They are:
845 \end_layout
846
847 \begin_layout Itemize
848
849 \change_deleted -712698321 1674917379
850 \begin_inset Flex Noun
851 status collapsed
852
853 \begin_layout Plain Layout
854 Document\SpecialChar menuseparator
855 View
856 \end_layout
857
858 \end_inset
859
860
861 \change_inserted -712698321 1674917379
862
863 \family sans
864 Document\SpecialChar menuseparator
865 View
866 \change_unchanged
867
868 \end_layout
869
870 \begin_layout Itemize
871
872 \change_deleted -712698321 1674917381
873 \begin_inset Flex Noun
874 status collapsed
875
876 \begin_layout Plain Layout
877 Document\SpecialChar menuseparator
878 Update
879 \end_layout
880
881 \end_inset
882
883
884 \change_inserted -712698321 1674917381
885
886 \family sans
887 Document\SpecialChar menuseparator
888 Update
889 \change_unchanged
890
891 \end_layout
892
893 \begin_layout Standard
894 They will only invoke \SpecialChar LaTeX
895  if the file has changed since the last time \SpecialChar LaTeX
896  was run.
897  
898 \end_layout
899
900 \begin_layout Standard
901 When \SpecialChar LyX
902  runs \SpecialChar LaTeX
903  on the file you're editing,
904  it performs these steps:
905 \end_layout
906
907 \begin_layout Enumerate
908 Convert the document to \SpecialChar LaTeX
909  and save to a file with the extension 
910 \begin_inset Flex Code
911 status collapsed
912
913 \begin_layout Plain Layout
914 .tex
915 \end_layout
916
917 \end_inset
918
919  in place of 
920 \begin_inset Flex Code
921 status collapsed
922
923 \begin_layout Plain Layout
924 .lyx
925 \end_layout
926
927 \end_inset
928
929 .
930 \end_layout
931
932 \begin_layout Enumerate
933 Run \SpecialChar LaTeX
934  on the 
935 \begin_inset Flex Code
936 status collapsed
937
938 \begin_layout Plain Layout
939 .tex
940 \end_layout
941
942 \end_inset
943
944  file (maybe several times),
945  and run any other commands (such as 
946 \begin_inset Flex Code
947 status collapsed
948
949 \begin_layout Plain Layout
950 bibtex
951 \end_layout
952
953 \end_inset
954
955  or 
956 \begin_inset Flex Code
957 status collapsed
958
959 \begin_layout Plain Layout
960 makeindex
961 \end_layout
962
963 \end_inset
964
965 ) needed to compile the \SpecialChar LaTeX
966  file.
967 \end_layout
968
969 \begin_layout Enumerate
970 If there are any errors,
971  show the error log.
972 \end_layout
973
974 \begin_layout Standard
975 If you have run \SpecialChar LaTeX
976  using 
977 \change_deleted -712698321 1674917394
978
979 \begin_inset Flex Noun
980 status collapsed
981
982 \begin_layout Plain Layout
983 View\SpecialChar menuseparator
984 DVI
985 \end_layout
986
987 \end_inset
988
989
990 \change_inserted -712698321 1674917394
991
992 \family sans
993 View\SpecialChar menuseparator
994 DVI
995 \change_unchanged
996
997 \family default
998 ,
999  \SpecialChar LyX
1000  then runs a DVI viewer to display the DVI-file.
1001  If you have used 
1002 \change_deleted -712698321 1674917400
1003
1004 \begin_inset Flex Noun
1005 status collapsed
1006
1007 \begin_layout Plain Layout
1008 View\SpecialChar menuseparator
1009 PostScript
1010 \end_layout
1011
1012 \end_inset
1013
1014
1015 \change_inserted -712698321 1674917400
1016
1017 \family sans
1018 View\SpecialChar menuseparator
1019 PostScript
1020 \change_unchanged
1021
1022 \family default
1023 ,
1024  \SpecialChar LyX
1025  performs further steps:
1026 \end_layout
1027
1028 \begin_layout Enumerate
1029 Run 
1030 \begin_inset Flex Code
1031 status collapsed
1032
1033 \begin_layout Plain Layout
1034 dvips
1035 \end_layout
1036
1037 \end_inset
1038
1039  to convert the DVI file to PostScript.
1040 \end_layout
1041
1042 \begin_layout Enumerate
1043 Run a PostScript viewer,
1044  such as 
1045 \begin_inset Flex Code
1046 status collapsed
1047
1048 \begin_layout Plain Layout
1049 ghostview
1050 \end_layout
1051
1052 \end_inset
1053
1054 ,
1055  to display the PostScript file.
1056 \end_layout
1057
1058 \begin_layout Standard
1059 \SpecialChar LyX
1060  does similar things when viewing,
1061  or exporting,
1062  other formats.
1063 \end_layout
1064
1065 \begin_layout Section
1066 Translating \SpecialChar LaTeX
1067  files into \SpecialChar LyX
1068
1069 \end_layout
1070
1071 \begin_layout Standard
1072 You can import a \SpecialChar LaTeX
1073  file into \SpecialChar LyX
1074  by using the 
1075 \change_deleted -712698321 1674917408
1076
1077 \begin_inset Flex Noun
1078 status collapsed
1079
1080 \begin_layout Plain Layout
1081 File\SpecialChar menuseparator
1082 Import\SpecialChar menuseparator
1083 LaTeX
1084 \end_layout
1085
1086 \end_inset
1087
1088
1089 \change_inserted -712698321 1674917408
1090
1091 \family sans
1092 File\SpecialChar menuseparator
1093 Import\SpecialChar menuseparator
1094 LaTeX
1095 \change_unchanged
1096
1097 \family default
1098  command in \SpecialChar LyX
1099 .
1100  This will call a program named 
1101 \begin_inset Flex Code
1102 status collapsed
1103
1104 \begin_layout Plain Layout
1105 tex2lyx
1106 \end_layout
1107
1108 \end_inset
1109
1110  which will create a file 
1111 \begin_inset Flex Code
1112 status collapsed
1113
1114 \begin_layout Plain Layout
1115 foo.lyx
1116 \end_layout
1117
1118 \end_inset
1119
1120  from the file 
1121 \begin_inset Flex Code
1122 status collapsed
1123
1124 \begin_layout Plain Layout
1125 foo.tex
1126 \end_layout
1127
1128 \end_inset
1129
1130 .
1131  \SpecialChar LyX
1132  will then open that file.
1133 \begin_inset Foot
1134 status collapsed
1135
1136 \begin_layout Plain Layout
1137 \begin_inset Flex Code
1138 status collapsed
1139
1140 \begin_layout Plain Layout
1141 tex2lyx
1142 \end_layout
1143
1144 \end_inset
1145
1146  can also be run from the command line,
1147  of course.
1148 \end_layout
1149
1150 \end_inset
1151
1152
1153 \end_layout
1154
1155 \begin_layout Standard
1156 \begin_inset Flex Code
1157 status collapsed
1158
1159 \begin_layout Plain Layout
1160 tex2lyx
1161 \end_layout
1162
1163 \end_inset
1164
1165  will translate most legal \SpecialChar LaTeX
1166 ,
1167  but not everything.
1168  It will put things it doesn't understand into \SpecialChar TeX
1169  code,
1170  so after translating a file with 
1171 \begin_inset Flex Code
1172 status collapsed
1173
1174 \begin_layout Plain Layout
1175 tex2lyx
1176 \end_layout
1177
1178 \end_inset
1179
1180 ,
1181  you can look for \SpecialChar TeX
1182  code and hand-edit it until it looks right.
1183 \end_layout
1184
1185 \begin_layout Standard
1186 If you don't know what \SpecialChar TeX
1187  code is,
1188  read the next section.
1189 \end_layout
1190
1191 \begin_layout Section
1192 \begin_inset CommandInset label
1193 LatexCommand label
1194 name "sec:Inserting-TeX-Code"
1195
1196 \end_inset
1197
1198 Inserting \SpecialChar TeX
1199  Code into \SpecialChar LyX
1200  Documents 
1201 \end_layout
1202
1203 \begin_layout Standard
1204 Anything you can do in \SpecialChar LaTeX
1205  you can do in \SpecialChar LyX
1206 ,
1207  for a very simple reason:
1208  You can always insert \SpecialChar TeX
1209  code into any \SpecialChar LyX
1210  document.
1211  \SpecialChar LyX
1212  cannot,
1213  and will never be able to,
1214  display every possible \SpecialChar LaTeX
1215  construct.
1216  If ever you need to insert \SpecialChar LaTeX
1217  commands into your \SpecialChar LyX
1218  document,
1219  you can use the 
1220 \begin_inset Flex Code
1221 status collapsed
1222
1223 \begin_layout Plain Layout
1224 \SpecialChar TeX
1225  Code
1226 \end_layout
1227
1228 \end_inset
1229
1230  box,
1231  which you can insert into your document with 
1232 \change_deleted -712698321 1674917417
1233
1234 \begin_inset Flex Noun
1235 status collapsed
1236
1237 \begin_layout Plain Layout
1238 Insert\SpecialChar menuseparator
1239
1240 \family sans
1241 TeX
1242 \family default
1243  Code
1244 \end_layout
1245
1246 \end_inset
1247
1248
1249 \change_inserted -712698321 1674917417
1250
1251 \family sans
1252 Insert\SpecialChar menuseparator
1253 TeX Code
1254 \change_unchanged
1255
1256 \family default
1257  or the keyboard shortcut 
1258 \begin_inset Info
1259 type  "shortcut"
1260 arg   "ert-insert"
1261 \end_inset
1262
1263 .
1264 \end_layout
1265
1266 \begin_layout Standard
1267 Here's an example of inserting \SpecialChar LaTeX
1268  commands in a \SpecialChar LyX
1269  document.
1270  The code looks like this:
1271 \end_layout
1272
1273 \begin_layout LyX-Code
1274
1275 \backslash
1276 begin{tabular}{ll}
1277 \begin_inset Newline newline
1278 \end_inset
1279
1280
1281 \backslash
1282 begin{minipage}{5cm}
1283 \begin_inset Newline newline
1284 \end_inset
1285
1286 This is an example of a minipage environment.
1287  You 
1288 \begin_inset Newline newline
1289 \end_inset
1290
1291 can put nearly everything in it,
1292  even (non-floating) 
1293 \begin_inset Newline newline
1294 \end_inset
1295
1296 figures and tables.
1297  
1298 \begin_inset Newline newline
1299 \end_inset
1300
1301
1302 \backslash
1303 end{minipage}
1304 \begin_inset Newline newline
1305 \end_inset
1306
1307 &
1308 \begin_inset Newline newline
1309 \end_inset
1310
1311
1312 \backslash
1313 begin{minipage}{5cm}
1314 \begin_inset Newline newline
1315 \end_inset
1316
1317
1318 \backslash
1319 begin{verbatim}
1320 \begin_inset Newline newline
1321 \end_inset
1322
1323
1324 \backslash
1325 begin{minipage}{5cm}
1326 \begin_inset Newline newline
1327 \end_inset
1328
1329 This ...
1330  
1331 \begin_inset Newline newline
1332 \end_inset
1333
1334
1335 \backslash
1336 end{minipage}
1337 \begin_inset Newline newline
1338 \end_inset
1339
1340
1341 \backslash
1342 end{verbatim}
1343 \begin_inset Newline newline
1344 \end_inset
1345
1346
1347 \backslash
1348 end{minipage}
1349 \begin_inset Newline newline
1350 \end_inset
1351
1352
1353 \backslash
1354 end{tabular}
1355 \end_layout
1356
1357 \begin_layout LyX-Code
1358
1359 \end_layout
1360
1361 \begin_layout Standard
1362 The 
1363 \begin_inset Flex Code
1364 status collapsed
1365
1366 \begin_layout Plain Layout
1367 \SpecialChar TeX
1368  Code
1369 \end_layout
1370
1371 \end_inset
1372
1373  box containing this text is directly after this paragraph.
1374  Those of you reading the manual in \SpecialChar LyX
1375  will only see the \SpecialChar TeX
1376  code inset.
1377  Those reading a printed version of the manuals will see the actual results:
1378 \begin_inset VSpace bigskip
1379 \end_inset
1380
1381
1382 \end_layout
1383
1384 \begin_layout Standard
1385 \begin_inset ERT
1386 status open
1387
1388 \begin_layout Plain Layout
1389
1390
1391 \backslash
1392 begin{tabular}{ll}
1393 \end_layout
1394
1395 \begin_layout Plain Layout
1396
1397
1398 \backslash
1399 begin{minipage}{5cm}
1400 \end_layout
1401
1402 \begin_layout Plain Layout
1403
1404 This is an example of a minipage environment.
1405  You can put nearly everything in it,
1406  even (non-floating) figures and tables.
1407  
1408 \end_layout
1409
1410 \begin_layout Plain Layout
1411
1412
1413 \backslash
1414 end{minipage}
1415 \end_layout
1416
1417 \begin_layout Plain Layout
1418
1419 &
1420 \end_layout
1421
1422 \begin_layout Plain Layout
1423
1424
1425 \backslash
1426 begin{minipage}{5cm}
1427 \end_layout
1428
1429 \begin_layout Plain Layout
1430
1431
1432 \backslash
1433 begin{verbatim}
1434 \end_layout
1435
1436 \begin_layout Plain Layout
1437
1438
1439 \backslash
1440 begin{minipage}{5cm}
1441 \end_layout
1442
1443 \begin_layout Plain Layout
1444
1445 This ...
1446  
1447 \end_layout
1448
1449 \begin_layout Plain Layout
1450
1451
1452 \backslash
1453 end{minipage}
1454 \end_layout
1455
1456 \begin_layout Plain Layout
1457
1458
1459 \backslash
1460 end{verbatim}
1461 \end_layout
1462
1463 \begin_layout Plain Layout
1464
1465
1466 \backslash
1467 end{minipage}
1468 \end_layout
1469
1470 \begin_layout Plain Layout
1471
1472
1473 \backslash
1474 end{tabular}
1475 \end_layout
1476
1477 \end_inset
1478
1479
1480 \begin_inset VSpace bigskip
1481 \end_inset
1482
1483
1484 \end_layout
1485
1486 \begin_layout Standard
1487 In addition to using \SpecialChar TeX
1488  code,
1489  you can also create a separate file containing some complex \SpecialChar LaTeX
1490  structure and then use 
1491 \change_deleted -712698321 1674917427
1492
1493 \begin_inset Flex Noun
1494 status collapsed
1495
1496 \begin_layout Plain Layout
1497 Insert\SpecialChar menuseparator
1498 Child
1499 \begin_inset space ~
1500 \end_inset
1501
1502 Document
1503 \end_layout
1504
1505 \end_inset
1506
1507
1508 \change_inserted -712698321 1674917427
1509
1510 \family sans
1511 Insert\SpecialChar menuseparator
1512 Child
1513 \begin_inset space ~
1514 \end_inset
1515
1516 Document
1517 \change_unchanged
1518  
1519 \family default
1520 to include your file (you should select the type 
1521 \begin_inset Flex Code
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525 Input
1526 \end_layout
1527
1528 \end_inset
1529
1530 ).
1531  We recommend that you only do this if you have a 
1532 \begin_inset Flex Code
1533 status collapsed
1534
1535 \begin_layout Plain Layout
1536 .tex
1537 \end_layout
1538
1539 \end_inset
1540
1541  file which you 
1542 \emph on
1543 know
1544 \emph default
1545  works already.
1546  Otherwise,
1547  you'll have a big job tracking down \SpecialChar LaTeX
1548  errors.
1549 \end_layout
1550
1551 \begin_layout Standard
1552 There are a few last points to emphasize:
1553 \end_layout
1554
1555 \begin_layout Itemize
1556 \SpecialChar LyX
1557  
1558 \emph on
1559 does not
1560 \emph default
1561  check if your \SpecialChar LaTeX
1562  code is correct.
1563 \end_layout
1564
1565 \begin_layout Itemize
1566 Beware of reinventing the wheel.
1567 \end_layout
1568
1569 \begin_layout Standard
1570 On that last point,
1571  \SpecialChar LyX
1572  does have quite a few features tucked into it,
1573  and more are coming.
1574  Be sure to check the manuals to make sure that \SpecialChar LyX
1575  doesn't have such-and-such feature before you decide you have to do it by hand.
1576  Moreover,
1577  there are numerous \SpecialChar LaTeX
1578  packages out there to do all sorts of things,
1579  from labels to envelopes to fancy multipage tables.
1580  Check out 
1581 \change_inserted 244031559 1603815732
1582
1583 \begin_inset CommandInset href
1584 LatexCommand href
1585 name "CTAN"
1586 target "https://www.ctan.org/"
1587 literal "false"
1588
1589 \end_inset
1590
1591
1592 \change_deleted 244031559 1603815732
1593
1594 \begin_inset CommandInset href
1595 LatexCommand href
1596 name "CTAN"
1597 target "http://www.ctan.org/"
1598 literal "false"
1599
1600 \end_inset
1601
1602
1603 \change_unchanged
1604  for details.
1605 \end_layout
1606
1607 \begin_layout Standard
1608 If you do need to do some wild and fancy things within your document,
1609  be sure to check out a good \SpecialChar LaTeX
1610  book for assistance.
1611  There are a number of them listed in the bibliography of the 
1612 \emph on
1613 User's Guide
1614 \emph default
1615 .
1616 \end_layout
1617
1618 \begin_layout Section
1619 \SpecialChar LyX
1620  and the \SpecialChar LaTeX
1621  Preamble
1622 \end_layout
1623
1624 \begin_layout Subsection
1625 About the \SpecialChar LaTeX
1626  Preamble
1627 \end_layout
1628
1629 \begin_layout Standard
1630 If you already know \SpecialChar LaTeX
1631 ,
1632  there is no need to explain here what the preamble is good for.
1633  If you don't,
1634  the following will give you some ideas—
1635 we recommend again that you consult a \SpecialChar LaTeX
1636  book for further information.
1637  In any case,
1638  you should read the points below,
1639  because they explain what you can do and what you don't need to do in the \SpecialChar LaTeX
1640  preamble of a \SpecialChar LyX
1641  document.
1642 \end_layout
1643
1644 \begin_layout Standard
1645 The \SpecialChar LaTeX
1646  preamble comes at the very beginning of a document,
1647  
1648 \emph on
1649 before
1650 \emph default
1651  the text.
1652  It serves to:
1653 \end_layout
1654
1655 \begin_layout Itemize
1656 Declare the document class.
1657  
1658 \begin_inset Newline newline
1659 \end_inset
1660
1661 \SpecialChar LyX
1662  already does this for you.
1663  If you're a seasoned \SpecialChar LaTeX
1664 -nician,
1665  and you have a custom document class you want to use,
1666  check out the 
1667 \emph on
1668 Customization Manual
1669 \emph default
1670  for information on how to make \SpecialChar LyX
1671  interface to it.
1672 \end_layout
1673
1674 \begin_layout Itemize
1675 Declare the usage of packages.
1676  
1677 \begin_inset Newline newline
1678 \end_inset
1679
1680 \SpecialChar LaTeX
1681  packages provide special commands,
1682  which are only available within a document when the package has been declared in the preamble.
1683  In addition to providing special commands,
1684  the inclusion of a package can change the document.
1685  For example,
1686  the package 
1687 \begin_inset Flex Code
1688 status collapsed
1689
1690 \begin_layout Plain Layout
1691 indentfirst
1692 \end_layout
1693
1694 \end_inset
1695
1696  forces all paragraphs to be indented.
1697  There are other packages for labels,
1698  envelopes,
1699  margins,
1700  etc.
1701  
1702 \end_layout
1703
1704 \begin_layout Itemize
1705 Set counters,
1706  variables,
1707  lengths and widths.
1708  
1709 \begin_inset Newline newline
1710 \end_inset
1711
1712 There are several \SpecialChar LaTeX
1713  counters and variables that 
1714 \emph on
1715 must
1716 \emph default
1717  be set globally from within the preamble in order to have the desired effect.
1718  (There are variables that you can set and reset inside the document,
1719  too.) Margins are a good example of something that must be set in the preamble.
1720  Another example is the label format for lists.
1721  You can actually set these just about anywhere,
1722  but it's best to do it just once,
1723  inside the preamble.
1724 \end_layout
1725
1726 \begin_layout Itemize
1727 Declare user defined commands (with 
1728 \begin_inset Flex Code
1729 status collapsed
1730
1731 \begin_layout Plain Layout
1732
1733 \backslash
1734 newcommand
1735 \end_layout
1736
1737 \end_inset
1738
1739  or 
1740 \begin_inset Flex Code
1741 status collapsed
1742
1743 \begin_layout Plain Layout
1744
1745 \backslash
1746 renewcommand
1747 \end_layout
1748
1749 \end_inset
1750
1751 ).
1752 \begin_inset Newline newline
1753 \end_inset
1754
1755 These are abbreviations for \SpecialChar LaTeX
1756  commands which appear very often inside a document.
1757  Although the preamble is a good place to declare such commands,
1758  they 
1759 \emph on
1760 can
1761 \emph default
1762  be declared anywhere (before they are used for the first time,
1763  of course).
1764  This can be useful if there is a lot of raw \SpecialChar LaTeX
1765  code in your document,
1766  which normally should not be the case.
1767 \end_layout
1768
1769 \begin_layout Standard
1770 \SpecialChar LyX
1771  adds its own set of definitions to the preamble of the 
1772 \begin_inset Flex Code
1773 status collapsed
1774
1775 \begin_layout Plain Layout
1776 .tex
1777 \end_layout
1778
1779 \end_inset
1780
1781  file it produces.
1782  This makes \SpecialChar LaTeX
1783  files generated by \SpecialChar LyX
1784  portable.
1785 \end_layout
1786
1787 \begin_layout Subsection
1788 Changing the Preamble
1789 \end_layout
1790
1791 \begin_layout Standard
1792 The commands which \SpecialChar LyX
1793  adds to the preamble of a \SpecialChar LaTeX
1794  file are fixed;
1795  you can't change them without patching \SpecialChar LyX
1796  itself.
1797  You can,
1798  however,
1799  add your own stuff to the preamble by selecting 
1800 \begin_inset Flex Noun
1801 status collapsed
1802
1803 \begin_layout Plain Layout
1804 \SpecialChar LaTeX
1805
1806 \begin_inset space ~
1807 \end_inset
1808
1809 Preamble
1810 \end_layout
1811
1812 \end_inset
1813
1814  in the 
1815 \change_deleted -712698321 1674917437
1816
1817 \begin_inset Flex Noun
1818 status collapsed
1819
1820 \begin_layout Plain Layout
1821 Document\SpecialChar menuseparator
1822 Settings
1823 \end_layout
1824
1825 \end_inset
1826
1827
1828 \change_inserted -712698321 1674917437
1829
1830 \family sans
1831 Document\SpecialChar menuseparator
1832 Settings
1833 \change_unchanged
1834
1835 \family default
1836  dialog.
1837  \SpecialChar LyX
1838  adds anything in the 
1839 \begin_inset Flex Noun
1840 status collapsed
1841
1842 \begin_layout Plain Layout
1843 Preamble
1844 \end_layout
1845
1846 \end_inset
1847
1848  dialog to its own built-in preamble.
1849  Before adding your own declarations in the preamble,
1850  you should make sure that \SpecialChar LyX
1851  doesn't already support what you want to do.
1852  (Remember what we said about reinventing the wheel?) Also,
1853  
1854 \emph on
1855 make sure your preamble code is correct
1856 \emph default
1857 .
1858  \SpecialChar LyX
1859  doesn't check it for you.
1860  If there is an error,
1861  you're likely to get an error like 
1862 \begin_inset Quotes eld
1863 \end_inset
1864
1865
1866 \begin_inset Flex Code
1867 status collapsed
1868
1869 \begin_layout Plain Layout
1870 Missing 
1871 \backslash
1872 begin{document}
1873 \end_layout
1874
1875 \end_inset
1876
1877
1878 \begin_inset Quotes erd
1879 \end_inset
1880
1881 .
1882  If you see this error,
1883  check your preamble.
1884 \end_layout
1885
1886 \begin_layout Subsection
1887 Examples
1888 \end_layout
1889
1890 \begin_layout Standard
1891 Here are some examples of what you can add to a preamble,
1892  and what they do.
1893 \end_layout
1894
1895 \begin_layout Subsubsection
1896 Example #1:
1897  Offsets
1898 \end_layout
1899
1900 \begin_layout Standard
1901 There are two variables under \SpecialChar LaTeX
1902  that control page position:
1903  
1904 \begin_inset Flex Code
1905 status collapsed
1906
1907 \begin_layout Plain Layout
1908
1909 \backslash
1910 hoffset
1911 \end_layout
1912
1913 \end_inset
1914
1915  and 
1916 \begin_inset Flex Code
1917 status collapsed
1918
1919 \begin_layout Plain Layout
1920
1921 \backslash
1922 voffset
1923 \end_layout
1924
1925 \end_inset
1926
1927 .
1928  Their names should be self-explanatory.
1929  These variables are useful if you think for a moment about computer labels.
1930  Sometimes,
1931  the size of a print medium and the area of the medium that you can actually print on aren't the same.
1932  This is where 
1933 \begin_inset Flex Code
1934 status collapsed
1935
1936 \begin_layout Plain Layout
1937
1938 \backslash
1939 hoffset
1940 \end_layout
1941
1942 \end_inset
1943
1944  and 
1945 \begin_inset Flex Code
1946 status collapsed
1947
1948 \begin_layout Plain Layout
1949
1950 \backslash
1951 voffset
1952 \end_layout
1953
1954 \end_inset
1955
1956  come in.
1957 \end_layout
1958
1959 \begin_layout Standard
1960 The default values for 
1961 \begin_inset Flex Code
1962 status collapsed
1963
1964 \begin_layout Plain Layout
1965
1966 \backslash
1967 hoffset
1968 \end_layout
1969
1970 \end_inset
1971
1972  and 
1973 \begin_inset Flex Code
1974 status collapsed
1975
1976 \begin_layout Plain Layout
1977
1978 \backslash
1979 voffset
1980 \end_layout
1981
1982 \end_inset
1983
1984  are both 0
1985 \begin_inset space \thinspace{}
1986 \end_inset
1987
1988 points,
1989  i.
1990 \begin_inset space \thinspace{}
1991 \end_inset
1992
1993 e.
1994 \begin_inset space \space{}
1995 \end_inset
1996
1997 the page isn't shifted.
1998  Unfortunately,
1999  some DVI drivers always seem to shift the page.
2000  We have no idea why,
2001  or why the sysadmin hasn't fixed such behavior.
2002  If you're using \SpecialChar LyX
2003  on a system that you don't personally maintain,
2004  and your sysadmin is a doofus,
2005  
2006 \begin_inset Flex Code
2007 status collapsed
2008
2009 \begin_layout Plain Layout
2010
2011 \backslash
2012 hoffset
2013 \end_layout
2014
2015 \end_inset
2016
2017  and 
2018 \begin_inset Flex Code
2019 status collapsed
2020
2021 \begin_layout Plain Layout
2022
2023 \backslash
2024 voffset
2025 \end_layout
2026
2027 \end_inset
2028
2029  can save the day.
2030  Suppose your left and top margins are always 0.5
2031 \begin_inset space \thinspace{}
2032 \end_inset
2033
2034 inches too big.
2035  You can add this to the preamble:
2036 \end_layout
2037
2038 \begin_layout LyX-Code
2039
2040 \backslash
2041 setlength{
2042 \backslash
2043 hoffset}{-0.5 in}
2044 \end_layout
2045
2046 \begin_layout LyX-Code
2047
2048 \backslash
2049 setlength{
2050 \backslash
2051 voffset}{-0.5 in}
2052 \end_layout
2053
2054 \begin_layout Standard
2055 and your margins should now be correct.
2056 \end_layout
2057
2058 \begin_layout Subsubsection
2059 Example #2:
2060  Labels
2061 \end_layout
2062
2063 \begin_layout Standard
2064 Speaking of labels,
2065  suppose you wanted to print out a bunch of address labels.
2066  There's a rather nice package,
2067  available at your nearest CTAN archive,
2068  for printing sheets of labels:
2069  
2070 \begin_inset Flex Code
2071 status collapsed
2072
2073 \begin_layout Plain Layout
2074 labels.sty
2075 \end_layout
2076
2077 \end_inset
2078
2079 .
2080  Now,
2081  your system may not have this package installed by default.
2082  We leave that up to you to check.
2083  You'll also want to read the documentation for it;
2084  we're not going to do that for you.
2085  Since this is an example,
2086  however,
2087  we'll give you an example of how you use this package.
2088 \end_layout
2089
2090 \begin_layout Standard
2091 First,
2092  make sure you're using the 
2093 \begin_inset Flex Code
2094 status collapsed
2095
2096 \begin_layout Plain Layout
2097 article
2098 \end_layout
2099
2100 \end_inset
2101
2102  document class.
2103  Next,
2104  you need to put the following in your preamble:
2105 \end_layout
2106
2107 \begin_layout LyX-Code
2108
2109 \backslash
2110 usepackage{labels}
2111 \end_layout
2112
2113 \begin_layout LyX-Code
2114
2115 \backslash
2116 LabelCols=3
2117 \end_layout
2118
2119 \begin_layout LyX-Code
2120
2121 \backslash
2122 LabelRows=7
2123 \end_layout
2124
2125 \begin_layout LyX-Code
2126
2127 \backslash
2128 LeftBorder=8mm
2129 \end_layout
2130
2131 \begin_layout LyX-Code
2132
2133 \backslash
2134 RightBorder=8mm
2135 \end_layout
2136
2137 \begin_layout LyX-Code
2138
2139 \backslash
2140 TopBorder=9mm
2141 \end_layout
2142
2143 \begin_layout LyX-Code
2144
2145 \backslash
2146 BottomBorder=2mm
2147 \end_layout
2148
2149 \begin_layout Standard
2150 This sets things up for Avery label sheets,
2151  stock #5360.
2152  You're now ready to print labels,
2153  but you'll need to insert \SpecialChar LaTeX
2154  code,
2155  placing the commands 
2156 \begin_inset Flex Code
2157 status collapsed
2158
2159 \begin_layout Plain Layout
2160
2161 \backslash
2162 begin{labels}
2163 \end_layout
2164
2165 \end_inset
2166
2167  and 
2168 \begin_inset Flex Code
2169 status collapsed
2170
2171 \begin_layout Plain Layout
2172
2173 \backslash
2174 end{labels}
2175 \end_layout
2176
2177 \end_inset
2178
2179  around each label text.
2180  This and other special features of 
2181 \begin_inset Flex Code
2182 status collapsed
2183
2184 \begin_layout Plain Layout
2185 labels.sty
2186 \end_layout
2187
2188 \end_inset
2189
2190  are explained in its documentation.
2191 \end_layout
2192
2193 \begin_layout Standard
2194 Someday,
2195  someone may write a \SpecialChar LyX
2196  layout file to support this package directly.
2197  Maybe that someone is you.
2198 \end_layout
2199
2200 \begin_layout Subsubsection
2201 Example #3:
2202  Paragraph Indentation
2203 \end_layout
2204
2205 \begin_layout Standard
2206 Americans are trained to indent the first line of 
2207 \emph on
2208 every
2209 \emph default
2210  paragraph.
2211  As with all of their other weird quirks,
2212  most Americans will whine and moan until they can have their way and indent the first line of all paragraphs.
2213  (Yes,
2214  we're joking.
2215  (We are?) 
2216 \emph on
2217 Yeah
2218 \emph default
2219 ,
2220  we are.)
2221 \end_layout
2222
2223 \begin_layout Standard
2224 Of course,
2225  this behavior isn't standard typography.
2226  In books,
2227  you typically only indent the first line of a paragraph 
2228 \emph on
2229 if
2230 \emph default
2231  it follows another one.
2232  The idea behind indenting the first line of a paragraph is to distinguish neighboring paragraphs from one another.
2233  If there is no previous paragraph—
2234 for example,
2235  if it follows a figure or is the first paragraph in a section—
2236 then there is no need for indentation.
2237  
2238 \end_layout
2239
2240 \begin_layout Standard
2241 If you're a typical American (we're still joking!),
2242  though,
2243  you don't care about such esoteric things;
2244  you want your indentation!
2245  Add this to the preamble:
2246 \end_layout
2247
2248 \begin_layout LyX-Code
2249
2250 \backslash
2251 usepackage{indentfirst}
2252 \end_layout
2253
2254 \begin_layout Standard
2255 If your \SpecialChar TeX
2256  distribution isn't braindead,
2257  you'll have this package,
2258  and all of your paragraphs will get the indentation the Founding Fathers intended they should have.
2259 \end_layout
2260
2261 \begin_layout Subsubsection
2262 Example #4:
2263  This Document
2264 \end_layout
2265
2266 \begin_layout Standard
2267 You can also check out the preamble of this document to get an idea of some of the advanced things you can do.
2268 \end_layout
2269
2270 \begin_layout Section
2271 \SpecialChar LyX
2272  and \SpecialChar LaTeX
2273  Errors
2274 \end_layout
2275
2276 \begin_layout Standard
2277 When \SpecialChar LyX
2278  calls \SpecialChar LaTeX
2279 ,
2280  it tells \SpecialChar LaTeX
2281  to blithely ignore any errors and keep going.
2282  It then uses the logfile from the \SpecialChar LaTeX
2283  run to do a post-mortem.
2284  After analyzing the logfile,
2285  \SpecialChar LyX
2286  displays a dialog listing the errors.
2287  Clicking on any one of them will take you to the position in your \SpecialChar LyX
2288  file where the error occurred.
2289 \begin_inset Foot
2290 status collapsed
2291
2292 \begin_layout Plain Layout
2293 Well,
2294  usually.
2295  Analyzing the logfile is a tough job,
2296  and \SpecialChar LyX
2297  doesn't always go to the right line.
2298  There are also cases where \SpecialChar LaTeX
2299  reports the error on one line,
2300  but the actual error is earlier.
2301  This is not unlike forgetting a closing brace in a program:
2302  You'll get an error,
2303  but only later.
2304 \end_layout
2305
2306 \end_inset
2307
2308
2309 \end_layout
2310
2311 \begin_layout Standard
2312 Some folks also like to look at the log file directly:
2313  It is available from 
2314 \change_deleted -712698321 1674917444
2315
2316 \begin_inset Flex Noun
2317 status collapsed
2318
2319 \begin_layout Plain Layout
2320 Document\SpecialChar menuseparator
2321 LaTeX
2322 \begin_inset space ~
2323 \end_inset
2324
2325 Log
2326 \end_layout
2327
2328 \end_inset
2329
2330
2331 \change_inserted -712698321 1674917444
2332
2333 \family sans
2334 Document\SpecialChar menuseparator
2335 LaTeX
2336 \begin_inset space ~
2337 \end_inset
2338
2339 Log
2340 \change_unchanged
2341
2342 \family default
2343 .
2344  There are some fairly common error messages and warnings.
2345  We'll cover those here.
2346  You should look at a good \SpecialChar LaTeX
2347  book for a complete listing.
2348 \end_layout
2349
2350 \begin_layout Itemize
2351 \begin_inset Flex Code
2352 status collapsed
2353
2354 \begin_layout Plain Layout
2355 LaTeX Warning
2356 \end_layout
2357
2358 \end_inset
2359
2360
2361 \begin_inset Newline newline
2362 \end_inset
2363
2364 Anything beginning with these words is a warning message for the purpose of 
2365 \begin_inset Quotes eld
2366 \end_inset
2367
2368 debugging
2369 \begin_inset Quotes erd
2370 \end_inset
2371
2372  the \SpecialChar LaTeX
2373  code itself.
2374  You'll get messages like this if you added or changed cross-references or bibliography entries,
2375  in which case,
2376  \SpecialChar LaTeX
2377  is trying to tell you that you need to make another run.
2378  You can by-and-large ignore these.
2379 \end_layout
2380
2381 \begin_layout Itemize
2382 \begin_inset Flex Code
2383 status collapsed
2384
2385 \begin_layout Plain Layout
2386 LaTeX Font Warning
2387 \end_layout
2388
2389 \end_inset
2390
2391
2392 \begin_inset Newline newline
2393 \end_inset
2394
2395 Another warning message,
2396  this time about fonts which \SpecialChar LaTeX
2397  couldn't find.
2398  The rest of the message will often say something about a replacement font that \SpecialChar LaTeX
2399  used.
2400  You can safely ignore these,
2401  too.
2402 \end_layout
2403
2404 \begin_layout Itemize
2405 \begin_inset Flex Code
2406 status collapsed
2407
2408 \begin_layout Plain Layout
2409 Overfull 
2410 \backslash
2411 hbox
2412 \end_layout
2413
2414 \end_inset
2415
2416
2417 \begin_inset Newline newline
2418 \end_inset
2419
2420 \SpecialChar LaTeX
2421  absolutely 
2422 \emph on
2423 loves
2424 \emph default
2425  to spew these out.
2426  It seems to generate at least one of these messages for just about any document you write.
2427  They are warnings about lines that were too long and run past the right margin.
2428  This happens if \SpecialChar LaTeX
2429  does not find a reasonable way to break the lines (notoriously often with typewriter font,
2430  since this does not allow for automatic break points).
2431  In many cases,
2432  this is unnoticeable in the final output.
2433  (It can be just a point or two.) Sometimes,
2434  however,
2435  the lines run rather visibly into the margin;
2436  something you will not want to have in your final print.
2437  
2438 \begin_inset Newline newline
2439 \end_inset
2440
2441 There are several global ways to try to minimize the overfull lines.
2442  Clicking 
2443 \family sans
2444 Enable micro-typographic extensions
2445 \family default
2446  in 
2447 \family sans
2448 Document\SpecialChar menuseparator
2449 Settings\SpecialChar menuseparator
2450 Fonts
2451 \family default
2452  might already improve things a lot.
2453  Furthermore,
2454  \SpecialChar LaTeX
2455  code such as the following in 
2456 \family sans
2457 Document\SpecialChar menuseparator
2458 Settings\SpecialChar menuseparator
2459 Preamble
2460 \family default
2461  usually reduces the overfull lines drastically (we use this in the preamble of this document):
2462 \end_layout
2463
2464 \begin_deeper
2465 \begin_layout LyX-Code
2466
2467 \backslash
2468 tolerance 1414
2469 \begin_inset Newline newline
2470 \end_inset
2471
2472
2473 \backslash
2474 hbadness 1414
2475 \begin_inset Newline newline
2476 \end_inset
2477
2478
2479 \backslash
2480 emergencystretch 1.5em
2481 \begin_inset Newline newline
2482 \end_inset
2483
2484
2485 \backslash
2486 hfuzz 0.3pt
2487 \end_layout
2488
2489 \begin_layout Standard
2490 In some cases,
2491  however,
2492  you eventually have to rewrite the text to get the line breaking right.
2493 \begin_inset Foot
2494 status collapsed
2495
2496 \begin_layout Plain Layout
2497 For more information,
2498  see 
2499 \begin_inset Flex URL
2500 status open
2501
2502 \begin_layout Plain Layout
2503
2504 http://www.tex.ac.uk/FAQ-overfull.html
2505 \end_layout
2506
2507 \end_inset
2508
2509
2510 \end_layout
2511
2512 \end_inset
2513
2514
2515 \end_layout
2516
2517 \begin_layout Standard
2518 In any case,
2519  you should check the respective lines,
2520  at least for the final version of your document.
2521  Your eyes will tell you if there's a problem with something that's too wide.
2522 \begin_inset Foot
2523 status collapsed
2524
2525 \begin_layout Plain Layout
2526 You can also enable the `draft' option in 
2527 \change_deleted -712698321 1674917458
2528
2529 \begin_inset Flex Noun
2530 status collapsed
2531
2532 \begin_layout Plain Layout
2533 Document\SpecialChar menuseparator
2534 Settings
2535 \end_layout
2536
2537 \end_inset
2538
2539
2540 \change_inserted -712698321 1674917458
2541
2542 \family sans
2543 Document\SpecialChar menuseparator
2544 Settings
2545 \change_unchanged
2546
2547 \family default
2548 ,
2549  and then \SpecialChar LaTeX
2550  will draw a black box in the margin of lines that are overfull.
2551 \end_layout
2552
2553 \end_inset
2554
2555  
2556 \end_layout
2557
2558 \end_deeper
2559 \begin_layout Itemize
2560 \begin_inset Flex Code
2561 status collapsed
2562
2563 \begin_layout Plain Layout
2564 Underfull 
2565 \backslash
2566 hbox
2567 \end_layout
2568
2569 \end_inset
2570
2571
2572 \begin_inset Newline newline
2573 \end_inset
2574
2575 Not quite as common as its cousin.
2576  This happens again if \SpecialChar LaTeX
2577  does not find a reasonable break point and consequently generates too loose lines.
2578  As with the overfull lines,
2579  you should check if this is a visible problem.
2580 \end_layout
2581
2582 \begin_layout Itemize
2583 \begin_inset Flex Code
2584 status collapsed
2585
2586 \begin_layout Plain Layout
2587 Overfull 
2588 \backslash
2589 vbox
2590 \end_layout
2591
2592 \end_inset
2593
2594  and 
2595 \begin_inset Flex Code
2596 status collapsed
2597
2598 \begin_layout Plain Layout
2599 Underfull 
2600 \backslash
2601 vbox
2602 \end_layout
2603
2604 \end_inset
2605
2606
2607 \begin_inset Newline newline
2608 \end_inset
2609
2610 Warnings about troubles breaking the page.
2611  Once again,
2612  just look at the output.
2613  Your eyes will tell you where something has gone wrong.
2614 \end_layout
2615
2616 \begin_layout Itemize
2617 \begin_inset Flex Code
2618 status collapsed
2619
2620 \begin_layout Plain Layout
2621 LaTeX Error:
2622  File 
2623 \begin_inset Quotes els
2624 \end_inset
2625
2626 Xxxx
2627 \begin_inset Quotes ers
2628 \end_inset
2629
2630  not found
2631 \end_layout
2632
2633 \end_inset
2634
2635
2636 \begin_inset Newline newline
2637 \end_inset
2638
2639 The file 
2640 \begin_inset Quotes eld
2641 \end_inset
2642
2643 Xxxx
2644 \begin_inset Quotes erd
2645 \end_inset
2646
2647  isn't installed on this system.
2648  This usually appears because some package your document needs isn't installed.
2649  If you didn't touch the preamble or didn't use the 
2650 \begin_inset Flex Code
2651 status collapsed
2652
2653 \begin_layout Plain Layout
2654
2655 \backslash
2656 usepackage{}
2657 \end_layout
2658
2659 \end_inset
2660
2661  command,
2662  then one of the packages \SpecialChar LyX
2663  tried to load is missing.
2664  Use 
2665 \change_deleted -712698321 1674917468
2666
2667 \begin_inset Flex Noun
2668 status collapsed
2669
2670 \begin_layout Plain Layout
2671 Help\SpecialChar menuseparator
2672 \SpecialChar LaTeX
2673  Configuration
2674 \end_layout
2675
2676 \end_inset
2677
2678
2679 \change_inserted -712698321 1674917478
2680
2681 \family sans
2682 Help\SpecialChar menuseparator
2683 LaTeX Configuration
2684 \change_unchanged
2685
2686 \family default
2687  to get a list of packages that \SpecialChar LyX
2688  knows about.
2689  This file is updated whenever you reconfigure \SpecialChar LyX
2690  (using 
2691 \change_deleted -712698321 1674917484
2692
2693 \begin_inset Flex Noun
2694 status collapsed
2695
2696 \begin_layout Plain Layout
2697 Tools\SpecialChar menuseparator
2698 Reconfigure
2699 \end_layout
2700
2701 \end_inset
2702
2703
2704 \change_inserted -712698321 1674917484
2705
2706 \family sans
2707 Tools\SpecialChar menuseparator
2708 Reconfigure
2709 \change_unchanged
2710
2711 \family default
2712 ) and tells you which packages have been detected and what they do.
2713 \begin_inset Newline newline
2714 \end_inset
2715
2716 If you did use the 
2717 \begin_inset Flex Code
2718 status collapsed
2719
2720 \begin_layout Plain Layout
2721
2722 \backslash
2723 usepackage{}
2724 \end_layout
2725
2726 \end_inset
2727
2728  command and the package in question isn't installed,
2729  then you'll need to install it yourself.
2730 \end_layout
2731
2732 \begin_layout Itemize
2733 \begin_inset Flex Code
2734 status collapsed
2735
2736 \begin_layout Plain Layout
2737 LaTeX Error:
2738  Unknown option
2739 \end_layout
2740
2741 \end_inset
2742
2743
2744 \begin_inset Newline newline
2745 \end_inset
2746
2747 Error messages beginning with this are trying to tell you that you specified a bad or undefined option to a package.
2748  Check the package's documentation.
2749 \end_layout
2750
2751 \begin_layout Itemize
2752 \begin_inset Flex Code
2753 status collapsed
2754
2755 \begin_layout Plain Layout
2756 Undefined control sequence
2757 \end_layout
2758
2759 \end_inset
2760
2761
2762 \begin_inset Newline newline
2763 \end_inset
2764
2765 If you've inserted \SpecialChar LaTeX
2766  code into your document,
2767  but made a typo,
2768  you'll get one of these.
2769  You may have forgotten to load a package.
2770  In any case,
2771  this error message usually means that you used an undefined command.
2772  
2773 \end_layout
2774
2775 \begin_layout Standard
2776 There are other error and warning messages.
2777  Some are self-explanatory.
2778  These are usually \SpecialChar LaTeX
2779  messages.
2780  Others are downright cryptic.
2781  These are usually \SpecialChar TeX
2782  error messages,
2783  and we really have 
2784 \emph on
2785 no clue
2786 \emph default
2787  what they mean or how to decipher them.
2788  No-one does.
2789 \end_layout
2790
2791 \begin_layout Standard
2792 There's a general sequence you should follow if you get error messages:
2793 \end_layout
2794
2795 \begin_layout Enumerate
2796 Look at the \SpecialChar LaTeX
2797  code you inserted for typos.
2798 \end_layout
2799
2800 \begin_layout Enumerate
2801 If there are no typos,
2802  check that you used the command(s) correctly.
2803 \end_layout
2804
2805 \begin_layout Enumerate
2806 If you get a bunch of error boxes piled up at the very top of the document—
2807 and especially if you see a 
2808 \begin_inset Quotes eld
2809 \end_inset
2810
2811
2812 \begin_inset Flex Code
2813 status collapsed
2814
2815 \begin_layout Plain Layout
2816 Missing 
2817 \backslash
2818 begin{document}
2819 \end_layout
2820
2821 \end_inset
2822
2823
2824 \begin_inset Quotes erd
2825 \end_inset
2826
2827  error—
2828 it means that there are errors in the preamble.
2829  Start debugging your preamble.
2830 \end_layout
2831
2832 \begin_layout Enumerate
2833 If you didn't add anything to the preamble and didn't add any \SpecialChar LaTeX
2834  code to the document,
2835  the first suspect is your \SpecialChar LaTeX
2836  distribution itself.
2837  Check for missing packages and install them.
2838 \end_layout
2839
2840 \begin_layout Enumerate
2841 Okay,
2842  so there are no missing packages.
2843  Did you use any of the fine-tuning options in \SpecialChar LyX
2844 ?
2845  Specifically,
2846  did you 
2847 \emph on
2848 misuse
2849 \emph default
2850  any of them,
2851  like trying to manually insert lots of 
2852 \begin_inset Flex Code
2853 status collapsed
2854
2855 \begin_layout Plain Layout
2856
2857 \change_deleted 177693 1654669036
2858 Protected
2859 \change_inserted 177693 1654669038
2860 Non-Breaking
2861 \change_unchanged
2862
2863 \begin_inset space ~
2864 \end_inset
2865
2866
2867 \change_deleted 177693 1654669040
2868 Blanks
2869 \change_inserted 177693 1654669041
2870 Spaces
2871 \change_unchanged
2872
2873 \end_layout
2874
2875 \end_inset
2876
2877 ,
2878  
2879 \begin_inset Flex Code
2880 status collapsed
2881
2882 \begin_layout Plain Layout
2883 Linebreaks
2884 \end_layout
2885
2886 \end_inset
2887
2888 ,
2889  or 
2890 \begin_inset Flex Code
2891 status collapsed
2892
2893 \begin_layout Plain Layout
2894 Pagebreaks
2895 \end_layout
2896
2897 \end_inset
2898
2899 ?
2900  Did you try to kludge something together with these instead of using the appropriate paragraph environment?
2901 \end_layout
2902
2903 \begin_layout Enumerate
2904 All right,
2905  you didn't use any of the fine-tuning options,
2906  you played by the rules.
2907  Did you try to pull a fancy maneuver?
2908  Did you do something funky inside a table or an equation,
2909  like inserting a graphic into a table cell?
2910 \end_layout
2911
2912 \begin_layout Enumerate
2913 Do you have long sections of text where \SpecialChar LaTeX
2914  cannot find a place to break a line?
2915  By default,
2916  \SpecialChar LaTeX
2917  is rather strict about how much extra inter-word spacing it will add in order to break a line.
2918  Preferably,
2919  you should rework the paragraph to avoid the problem.
2920 \end_layout
2921
2922 \begin_layout Enumerate
2923 Did you go overboard with the nesting?
2924  \SpecialChar LyX
2925  (currently) doesn't check to make sure you're in the limits for nesting environments.
2926  If you nested a bunch of environments to the 
2927 \begin_inset Formula $17^{\mathrm{th}}$
2928 \end_inset
2929
2930  level,
2931  that's the problem.
2932  (The limit in \SpecialChar LaTeX
2933  is five.)
2934 \end_layout
2935
2936 \begin_layout Enumerate
2937 Okay,
2938  you didn't get any error messages,
2939  but your output looks awful.
2940  If you have a table or figure that's too wide or long for the page,
2941  you need to:
2942 \end_layout
2943
2944 \begin_deeper
2945 \begin_layout Enumerate
2946 rescale the figure so it fits.
2947 \end_layout
2948
2949 \begin_layout Enumerate
2950 trim down the table so it fits.
2951 \end_layout
2952
2953 \end_deeper
2954 \begin_layout Enumerate
2955 If something else is wrong with the output,
2956  and you didn't try to pull anything fancy or kludge the fine-tuning options,
2957  we're not sure what's wrong.
2958 \end_layout
2959
2960 \begin_layout Standard
2961 If all this doesn't help—
2962 well,
2963  then 
2964 \emph on
2965 perhaps
2966 \emph default
2967  you might have found a bug in \SpecialChar LyX
2968 \SpecialChar ldots
2969 .
2970 \end_layout
2971
2972 \begin_layout Chapter
2973
2974 \change_inserted 564990737 1672345271
2975 Document classes
2976 \end_layout
2977
2978 \begin_layout Standard
2979
2980 \change_inserted 564990737 1672345272
2981 As explained in the 
2982 \emph on
2983 User's Guide
2984 \emph default
2985 ,
2986  \SpecialChar LaTeX
2987  originally offered four standard document classes,
2988  article,
2989  report,
2990  book and letter,
2991  but individuals and organizations,
2992  most notably the American Mathematical Society in the early days,
2993  have made many contributions to extending the range of document classes.
2994  In this chapter we summarize the main externally maintained classes,
2995  some of which are marked “Unavailable:” in the pull-down 
2996 \family sans
2997 Document
2998 \begin_inset space ~
2999 \end_inset
3000
3001
3002 \bar under
3003 c
3004 \bar default
3005 lass
3006 \family default
3007  list in the 
3008 \family sans
3009 \bar under
3010 D
3011 \bar default
3012 ocument\SpecialChar menuseparator
3013
3014 \bar under
3015 S
3016 \bar default
3017 ettings\SpecialChar menuseparator
3018 Document
3019 \begin_inset space ~
3020 \end_inset
3021
3022 class
3023 \family default
3024  dialog and which you will need to install as described in the 
3025 \emph on
3026 Installing New Document Classes
3027 \emph default
3028  chapter of the 
3029 \emph on
3030 Customization
3031 \emph default
3032  manual if you want to use them.
3033  
3034 \end_layout
3035
3036 \begin_layout Section
3037
3038 \change_inserted 564990737 1670439533
3039 \begin_inset CommandInset label
3040 LatexCommand label
3041 name "sec:Collections"
3042
3043 \end_inset
3044
3045 Collections
3046 \end_layout
3047
3048 \begin_layout Subsection
3049
3050 \change_inserted 564990737 1672345298
3051 \begin_inset CommandInset label
3052 LatexCommand label
3053 name "subsec:AMS-LaTeX-(American-Mathematical"
3054
3055 \end_inset
3056
3057 AMS-\SpecialChar LaTeX
3058  (American Mathematical Society)
3059 \end_layout
3060
3061 \begin_layout Standard
3062
3063 \change_inserted 564990737 1672345298
3064 The \SpecialChar LyX
3065  supported document classes 
3066 \family sans
3067 article (AMS)
3068 \family default
3069  and 
3070 \family sans
3071 book (AMS)
3072 \family default
3073  are maintained by the Society;
3074  use of their features is described in the Math manual and on their website 
3075 \begin_inset Flex URL
3076 status collapsed
3077
3078 \begin_layout Plain Layout
3079
3080 \change_inserted 564990737 1672345298
3081
3082 http://www.ams.org/publications/authors/tex/amslatex
3083 \change_unchanged
3084
3085 \end_layout
3086
3087 \end_inset
3088
3089 .
3090  The following summary was originally provided by 
3091 \noun on
3092 David Johnson
3093 \noun default
3094  and updated by 
3095 \noun on
3096 Richard 
3097 \change_inserted -712698321 1673082716
3098 Kimberly 
3099 \change_inserted 564990737 1672345298
3100 Heck
3101 \noun default
3102  and the \SpecialChar LyX
3103  Team
3104 \noun on
3105 .
3106 \change_deleted 564990737 1672345297
3107
3108 \noun default
3109 AMS \SpecialChar LaTeX
3110
3111 \end_layout
3112
3113 \begin_layout Standard
3114
3115 \change_deleted 564990737 1672345297
3116 by 
3117 \noun on
3118 David Johnson
3119 \noun default
3120 ;
3121  updated by 
3122 \noun on
3123 Richard Kimberly Heck
3124 \change_unchanged
3125
3126 \end_layout
3127
3128 \begin_layout Standard
3129 \begin_inset VSpace bigskip
3130 \end_inset
3131
3132
3133 \end_layout
3134
3135 \begin_layout Standard
3136 \noindent
3137 The AMS \SpecialChar LaTeX
3138  layouts are set up to conform to suggested styles for mathematical papers to be submitted to American Mathematical Society publications.
3139  The layouts are not tailored to a specific journal,
3140  but easily can be.
3141  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
3142  output).
3143  That documentation is available on the Web at 
3144 \begin_inset Flex URL
3145 status open
3146
3147 \begin_layout Plain Layout
3148
3149 http://www.ams.org
3150 \end_layout
3151
3152 \end_inset
3153
3154  or by ftp at 
3155 \begin_inset Flex URL
3156 status open
3157
3158 \begin_layout Plain Layout
3159
3160 ftp://ftp.ams.org/pub/tex/amslatex/
3161 \end_layout
3162
3163 \end_inset
3164
3165 .
3166  These layouts are appropriate,
3167  and useful,
3168  for any mathematical writing.
3169  
3170 \end_layout
3171
3172 \begin_layout Standard
3173 There are 
3174 \change_deleted -712698321 1673083001
3175 two
3176 \change_inserted -712698321 1673083002
3177 three
3178 \change_unchanged
3179  basic AMS \SpecialChar LaTeX
3180  layouts:
3181  
3182 \end_layout
3183
3184 \begin_layout Itemize
3185 amsart:
3186  The standard AMS article format
3187 \change_inserted 564990737 1672345333
3188 ;
3189  see 
3190 \family sans
3191 File\SpecialChar menuseparator
3192 Open Example\SpecialChar menuseparator
3193 Articles\SpecialChar menuseparator
3194 American Mathematical Society (AMS)
3195 \change_unchanged
3196
3197 \family default
3198 .
3199 \end_layout
3200
3201 \begin_layout Itemize
3202 amsbook:
3203  the standard AMS book (really,
3204  monograph) format
3205 \change_inserted 564990737 1672345366
3206 ;
3207  see 
3208 \family sans
3209 File\SpecialChar menuseparator
3210 Open Example\SpecialChar menuseparator
3211 Books\SpecialChar menuseparator
3212 American Mathematical Society (AMS)
3213 \change_unchanged
3214
3215 \family default
3216 .
3217 \change_inserted 564990737 1672345369
3218
3219 \end_layout
3220
3221 \begin_layout Itemize
3222
3223 \change_inserted 564990737 1672345383
3224 amsproc:
3225  the standard AMS proceedings format.
3226 \end_layout
3227
3228 \begin_layout Standard
3229
3230 \change_inserted 564990737 1672345383
3231 \SpecialChar LyX
3232  only supports the first two natively;
3233  see the 
3234 \emph on
3235 Installing New Document Classes
3236 \emph default
3237  chapter of the 
3238 \emph on
3239 Customization
3240 \emph default
3241  manual if you want to use 
3242 \family sans
3243 amsproc
3244 \family default
3245 .
3246 \end_layout
3247
3248 \begin_layout Standard
3249 The layouts themselves contain only the minimum necessary to use the AMS classes.
3250  They do not,
3251  in particular,
3252  contain any of the `theorem' environments used for setting theorems,
3253  lemmas,
3254  and the like.
3255  These are contained,
3256  instead,
3257  in the 
3258 \change_deleted 564990737 1672345416
3259
3260 \begin_inset Flex Code
3261 status collapsed
3262
3263 \begin_layout Plain Layout
3264 Theorems (AMS)
3265 \end_layout
3266
3267 \end_inset
3268
3269
3270 \change_inserted 564990737 1672345416
3271
3272 \family sans
3273 AMS Theorems
3274 \change_unchanged
3275
3276 \family default
3277  module,
3278  which is loaded by default when you select one of the AMS classes.
3279  (It can also be used with other classes and can be removed,
3280  if you would rather use something else.) Less commonly used environments are in the 
3281 \change_deleted 564990737 1672345436
3282
3283 \begin_inset Flex Code
3284 status collapsed
3285
3286 \begin_layout Plain Layout
3287 Theorems (AMS-Extended)
3288 \end_layout
3289
3290 \end_inset
3291
3292
3293 \change_inserted 564990737 1672345436
3294  
3295 \family sans
3296 AMS Theorems (Extended)
3297 \change_unchanged
3298
3299 \family default
3300  module,
3301  which must be loaded manually.
3302 \end_layout
3303
3304 \begin_layout Standard
3305 By default,
3306  theorems and the like are numbered consecutively throughout the document,
3307  but this may be modified by loading the module 
3308 \change_deleted 564990737 1672345461
3309
3310 \begin_inset Flex Code
3311 status collapsed
3312
3313 \begin_layout Plain Layout
3314 Theorems (Order by Section)
3315 \end_layout
3316
3317 \end_inset
3318
3319
3320 \change_inserted 564990737 1672345461
3321
3322 \family sans
3323 Standard Theorems (Numbered by Section)
3324 \change_unchanged
3325
3326 \family default
3327  or,
3328  if you are using 
3329 \begin_inset Flex Code
3330 status collapsed
3331
3332 \begin_layout Plain Layout
3333 book (AMS)
3334 \end_layout
3335
3336 \end_inset
3337
3338 ,
3339  the module 
3340 \change_deleted 564990737 1672345479
3341
3342 \begin_inset Flex Code
3343 status collapsed
3344
3345 \begin_layout Plain Layout
3346 Theorems (Order by Chapter)
3347 \end_layout
3348
3349 \end_inset
3350
3351
3352 \change_inserted 564990737 1672345480
3353
3354 \family sans
3355 Standard Theorems (Numbered by Chapter)
3356 \change_unchanged
3357
3358 \family default
3359 .
3360  These will number the results as 
3361 \begin_inset Formula $n.m$
3362 \end_inset
3363
3364 ,
3365  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).
3366  Many environments are also available unnumbered.
3367  These are indicated by an asterisk at the end.
3368  If you happen to want 
3369 \emph on
3370 only
3371 \emph default
3372  unnumbered results,
3373  the module 
3374 \change_deleted 564990737 1672345498
3375
3376 \begin_inset Flex Code
3377 status collapsed
3378
3379 \begin_layout Plain Layout
3380 Theorems (Starred)
3381 \end_layout
3382
3383 \end_inset
3384
3385
3386 \change_inserted 564990737 1672345498
3387
3388 \family sans
3389 Standard Theorems (Unnumbered)
3390 \change_unchanged
3391
3392 \family default
3393  provides that option.
3394 \end_layout
3395
3396 \begin_layout Standard
3397 Note that these modules do not 
3398 \emph on
3399 have
3400 \emph default
3401  to be used with the AMS classes.
3402  It is perfectly possible to use the 
3403 \change_deleted 564990737 1672345520
3404
3405 \begin_inset Flex Code
3406 status collapsed
3407
3408 \begin_layout Plain Layout
3409 Theorems (AMS)
3410 \end_layout
3411
3412 \end_inset
3413
3414
3415 \change_inserted 564990737 1672345520
3416
3417 \family sans
3418 AMS Theorems
3419 \change_unchanged
3420
3421 \family default
3422  module,
3423  and the others mentioned,
3424  with other classes,
3425  such as 
3426 \begin_inset Flex Code
3427 status collapsed
3428
3429 \begin_layout Plain Layout
3430
3431 \change_deleted -712698321 1673083855
3432 article
3433 \change_inserted -712698321 1673083855
3434 Article (Standard Class)
3435 \change_unchanged
3436
3437 \end_layout
3438
3439 \end_inset
3440
3441 ,
3442  
3443 \begin_inset Flex Code
3444 status collapsed
3445
3446 \begin_layout Plain Layout
3447
3448 \change_deleted -712698321 1673083858
3449 report
3450 \change_inserted -712698321 1673083862
3451 Report (Standard Class)
3452 \change_unchanged
3453
3454 \end_layout
3455
3456 \end_inset
3457
3458 ,
3459  
3460 \begin_inset Flex Code
3461 status collapsed
3462
3463 \begin_layout Plain Layout
3464
3465 \change_deleted -712698321 1673083819
3466 book (KOMA-script)
3467 \change_inserted -712698321 1673083822
3468 KOMA-Script Book
3469 \change_unchanged
3470
3471 \end_layout
3472
3473 \end_inset
3474
3475 ,
3476  and so forth.
3477 \end_layout
3478
3479 \begin_layout Subsubsection
3480 What these layouts provide
3481 \end_layout
3482
3483 \begin_layout Standard
3484 There is a long list of included environments provided by these layouts.
3485  In AMS-\SpecialChar LaTeX
3486 ,
3487  there is,
3488  in fact,
3489  an opportunity to define an unlimited variety of `theorem' environments.
3490  However,
3491  the AMS recommends the environments that are available in \SpecialChar LyX
3492 .
3493  
3494 \end_layout
3495
3496 \begin_layout Standard
3497 The following environments—
3498 as well as the standard environments,
3499  such as 
3500 \begin_inset Flex Noun
3501 status collapsed
3502
3503 \begin_layout Plain Layout
3504 section
3505 \end_layout
3506
3507 \end_inset
3508
3509 ,
3510  
3511 \begin_inset Flex Noun
3512 status collapsed
3513
3514 \begin_layout Plain Layout
3515 bibliography
3516 \end_layout
3517
3518 \end_inset
3519
3520 ,
3521  
3522 \begin_inset Flex Noun
3523 status collapsed
3524
3525 \begin_layout Plain Layout
3526 title
3527 \end_layout
3528
3529 \end_inset
3530
3531 ,
3532  
3533 \begin_inset Flex Noun
3534 status collapsed
3535
3536 \begin_layout Plain Layout
3537 author
3538 \end_layout
3539
3540 \end_inset
3541
3542 ,
3543  and 
3544 \begin_inset Flex Noun
3545 status collapsed
3546
3547 \begin_layout Plain Layout
3548 date
3549 \end_layout
3550
3551 \end_inset
3552
3553
3554 are provided by 
3555 \begin_inset Flex Code
3556 status collapsed
3557
3558 \begin_layout Plain Layout
3559 article (AMS)
3560 \end_layout
3561
3562 \end_inset
3563
3564  and 
3565 \begin_inset Flex Code
3566 status collapsed
3567
3568 \begin_layout Plain Layout
3569 book (AMS)
3570 \end_layout
3571
3572 \end_inset
3573
3574 :
3575 \end_layout
3576
3577 \begin_layout Description
3578 Address This should be the author's permanent address.
3579 \end_layout
3580
3581 \begin_layout Description
3582 Current
3583 \begin_inset space ~
3584 \end_inset
3585
3586 Address This should be the author's temporary address at the time of submission,
3587  if different from the Address.
3588 \end_layout
3589
3590 \begin_layout Description
3591 Email Author's e-mail address
3592 \end_layout
3593
3594 \begin_layout Description
3595 URL Author's Web address,
3596  if desired.
3597 \end_layout
3598
3599 \begin_layout Description
3600 Keywords Key words or phrases used to identify specific topics discussed in the paper.
3601 \end_layout
3602
3603 \begin_layout Description
3604 Subjectclass These refer to the AMS Subject Classifications,
3605  published and described in 
3606 \emph on
3607 Mathematical Reviews
3608 \emph default
3609 .
3610  These are also available online at the AMS cites listed above.
3611 \end_layout
3612
3613 \begin_layout Description
3614 Thanks
3615 \end_layout
3616
3617 \begin_layout Description
3618 Dedicatory
3619 \end_layout
3620
3621 \begin_layout Description
3622 Translator
3623 \end_layout
3624
3625 \begin_layout Standard
3626 The following environments are provided by both the 
3627 \change_deleted 564990737 1672345566
3628
3629 \begin_inset Flex Code
3630 status collapsed
3631
3632 \begin_layout Plain Layout
3633 Theorems
3634 \end_layout
3635
3636 \end_inset
3637
3638
3639 \change_inserted 564990737 1672345566
3640
3641 \family sans
3642 Standard Theorems
3643 \change_unchanged
3644
3645 \family default
3646  and 
3647 \change_deleted 564990737 1672345580
3648
3649 \begin_inset Flex Code
3650 status collapsed
3651
3652 \begin_layout Plain Layout
3653 Theorems (AMS)
3654 \end_layout
3655
3656 \end_inset
3657
3658
3659 \change_inserted 564990737 1672345580
3660
3661 \family sans
3662 AMS Theorems
3663 \change_unchanged
3664
3665 \family default
3666  modules,
3667  in the latter case in both 
3668 \change_deleted -712698321 1673084072
3669 starred (
3670 \change_unchanged
3671 unnumbered
3672 \change_deleted -712698321 1673084073
3673 )
3674 \change_unchanged
3675  and 
3676 \change_deleted -712698321 1673084075
3677 unstarred (
3678 \change_unchanged
3679 numbered
3680 \change_deleted -712698321 1673084077
3681 )
3682 \change_unchanged
3683  versions.
3684  These same environments are provided only in the starred versions by the 
3685 \change_deleted 564990737 1672345596
3686
3687 \begin_inset Flex Code
3688 status collapsed
3689
3690 \begin_layout Plain Layout
3691 Theorems (Starred)
3692 \end_layout
3693
3694 \end_inset
3695
3696
3697 \change_inserted 564990737 1672345596
3698
3699 \family sans
3700 Standard Theorems
3701 \change_inserted -712698321 1673084060
3702  (Unnumbered)
3703 \change_unchanged
3704
3705 \family default
3706  module:
3707 \end_layout
3708
3709 \begin_layout Theorem
3710 This is typically used for the statements of major results.
3711  
3712 \end_layout
3713
3714 \begin_layout Corollary*
3715 This is used for statements which follow fairly directly from previous statements.
3716  Again,
3717  these can be major results.
3718  
3719 \end_layout
3720
3721 \begin_layout Lemma
3722 These are smaller results needed to prove other statements.
3723 \end_layout
3724
3725 \begin_layout Proposition
3726 These are less major results which (hopefully) add to the general theory being discussed.
3727 \end_layout
3728
3729 \begin_layout Conjecture
3730 These are statements provided without justification,
3731  which the author does not know how to prove,
3732  but which seem to be true (to the author,
3733  at least).
3734 \end_layout
3735
3736 \begin_layout Definition*
3737 Guess what this is for.
3738  The font is different for this environment than for the previous ones.
3739  
3740 \end_layout
3741
3742 \begin_layout Example*
3743 Used for examples illustrating proven results.
3744 \end_layout
3745
3746 \begin_layout Problem
3747 It's not really known what this is for.
3748  You should figure it out.
3749 \end_layout
3750
3751 \begin_layout Exercise*
3752 Write a description for this one.
3753 \end_layout
3754
3755 \begin_layout Remark
3756 This environment is also a type of theorem,
3757  usually a lesser sort of observation.
3758 \end_layout
3759
3760 \begin_layout Claim*
3761 Often used in the course of giving a proof of a larger result.
3762 \end_layout
3763
3764 \begin_layout Case
3765 Generally,
3766  these are used to break up long arguments,
3767  using specific instances of some condition.
3768  
3769 \end_layout
3770
3771 \begin_layout Case
3772 The numbering scheme for cases is on its own,
3773  not together with other numbered statements.
3774  
3775 \end_layout
3776
3777 \begin_layout Proof
3778 At the end of this environment,
3779  a QED symbol (usually a square,
3780  but it can vary with different styles) is placed.
3781  If you want to have other environments within this one—
3782 for example,
3783  Case environments—
3784 and have the QED symbol appear only after them,
3785  then the other environments need to be nested within the proof environment.
3786  See the section 
3787 \emph on
3788 Nesting Environments
3789 \emph default
3790  of the 
3791 \emph on
3792 User's Guide
3793 \emph default
3794  for information on nesting.
3795 \end_layout
3796
3797 \begin_layout Fact
3798
3799 \change_inserted 564990737 1672345651
3800 Used in a way similar to Proposition,
3801  though perhaps lower on the scale.
3802 \end_layout
3803
3804 \begin_layout Standard
3805 And these environments are provided by 
3806 \change_deleted 564990737 1672345684
3807
3808 \begin_inset Flex Code
3809 status collapsed
3810
3811 \begin_layout Plain Layout
3812 Theorems (AMS-Extended)
3813 \end_layout
3814
3815 \end_inset
3816
3817
3818 \change_inserted 564990737 1672345689
3819
3820 \family sans
3821 AMS Theorems (Extended
3822 \family default
3823 )
3824 \change_unchanged
3825 :
3826 \end_layout
3827
3828 \begin_layout Criterion*
3829 A required condition.
3830 \end_layout
3831
3832 \begin_layout Algorithm*
3833 A general procedure to be used.
3834 \end_layout
3835
3836 \begin_layout Axiom*
3837 This is a property or statement taken as true within the system being discussed.
3838 \end_layout
3839
3840 \begin_layout Condition*
3841 Sometimes used to state a condition assumed within the present context of discussion.
3842 \end_layout
3843
3844 \begin_layout Note*
3845 Similar to a Remark.
3846 \end_layout
3847
3848 \begin_layout Notation*
3849 Used for the explanation of,
3850  yes,
3851  notation.
3852 \end_layout
3853
3854 \begin_layout Summary
3855 Do we really need to tell you?
3856  
3857 \end_layout
3858
3859 \begin_layout Standard
3860
3861 \change_deleted -712698321 1675595089
3862 Acknowledgement.
3863 \change_unchanged
3864
3865 \end_layout
3866
3867 \begin_layout Conclusion*
3868 Sometimes used at the end of a long train of argument.
3869 \change_deleted 564990737 1672345729
3870
3871 \end_layout
3872
3873 \begin_layout Fact
3874
3875 \change_deleted 564990737 1672345638
3876 Used in a way similar to Proposition,
3877  though perhaps lower on the scale.
3878 \change_inserted 564990737 1672345720
3879
3880 \end_layout
3881
3882 \begin_layout Assumption*
3883
3884 \change_inserted 564990737 1672345721
3885 Assumption
3886 \end_layout
3887
3888 \begin_layout Question*
3889
3890 \change_inserted 564990737 1672345721
3891 Question
3892 \end_layout
3893
3894 \begin_layout Standard
3895
3896 \change_inserted 564990737 1672345721
3897 There are ten more Maths modules available including several offering options ordered on 
3898 \family sans
3899 (Numbered by Type \SpecialChar ldots
3900 )
3901 \family default
3902 .
3903 \change_unchanged
3904
3905 \end_layout
3906
3907 \begin_layout Standard
3908 In addition,
3909  the AMS classes automatically provide the AMS \SpecialChar LaTeX
3910  and AMS fonts packages.
3911  They need to be available on your system in order to use these environments.
3912 \end_layout
3913
3914 \begin_layout Subsection
3915
3916 \change_inserted 564990737 1671383236
3917 \begin_inset CommandInset label
3918 LatexCommand label
3919 name "subsec:Extra-font-sizes"
3920
3921 \end_inset
3922
3923 Extra font sizes
3924 \end_layout
3925
3926 \begin_layout Standard
3927
3928 \change_inserted 564990737 1671383236
3929 The “Extra font sizes” collection provides the document classes 
3930 \family sans
3931 article
3932 \begin_inset space \thinspace{}
3933 \end_inset
3934
3935 (with extra font sizes)
3936 \family default
3937 ,
3938  
3939 \family sans
3940 book
3941 \begin_inset space \thinspace{}
3942 \end_inset
3943
3944 (with extra font sizes)
3945 \family default
3946 ,
3947  
3948 \family sans
3949 letter
3950 \begin_inset space \thinspace{}
3951 \end_inset
3952
3953 (with extra font sizes)
3954 \family default
3955  and 
3956 \family sans
3957 report
3958 \begin_inset space \thinspace{}
3959 \end_inset
3960
3961 (with extra font sizes)
3962 \family default
3963  which use the 
3964 \family typewriter
3965 article.cls
3966 \family default
3967 ,
3968  
3969 \family typewriter
3970 book.cls
3971 \family default
3972 ,
3973  
3974 \family typewriter
3975 letter.cls
3976 \family default
3977  and 
3978 \family typewriter
3979 report.cls
3980 \family default
3981  document classes respectively but offer the additional 
3982 \family sans
3983 \bar under
3984 B
3985 \bar default
3986 ase
3987 \begin_inset space ~
3988 \end_inset
3989
3990 Size
3991 \family default
3992  options 8,
3993  9,
3994  14,
3995  17 and 20 in the 
3996 \family sans
3997 \bar under
3998 D
3999 \bar default
4000 ocument\SpecialChar menuseparator
4001
4002 \bar under
4003 S
4004 \bar default
4005 ettings\SpecialChar menuseparator
4006 Fonts
4007 \family default
4008  dialog.
4009 \end_layout
4010
4011 \begin_layout Subsection
4012
4013 \change_inserted 564990737 1671383236
4014 Hebrew
4015 \end_layout
4016
4017 \begin_layout Standard
4018
4019 \change_inserted 564990737 1671383236
4020 The document classes 
4021 \family sans
4022 article
4023 \begin_inset space \thinspace{}
4024 \end_inset
4025
4026 (Hebrew)
4027 \family default
4028  and 
4029 \family sans
4030 letter
4031 \begin_inset space \thinspace{}
4032 \end_inset
4033
4034 (Hebrew)
4035 \family default
4036  use the 
4037 \family typewriter
4038 article.cl
4039 \family sans
4040 s
4041 \family default
4042  and 
4043 \family typewriter
4044 letter.cls
4045 \family default
4046  document classes to facilitate the use of Hebrew in \SpecialChar LyX
4047 .
4048 \end_layout
4049
4050 \begin_layout Subsection
4051
4052 \change_inserted 564990737 1671383236
4053 \begin_inset CommandInset label
4054 LatexCommand label
4055 name "subsec:Japanese"
4056
4057 \end_inset
4058
4059 Japanese
4060 \change_inserted -712698321 1675848645
4061  (Standard Classes)
4062 \change_inserted 564990737 1671383236
4063
4064 \end_layout
4065
4066 \begin_layout Standard
4067
4068 \change_inserted -712698321 1676025662
4069 \SpecialChar LyX
4070  included a collection of several bundles that aim to facilitate typesetting Japanese documents.
4071  The bundles have been developed at different times,
4072  they thus support different typesetting engines and features.
4073  This collection is the oldest one.
4074  It adjusts the \SpecialChar LaTeX
4075  standard classes to requirements of Japanese typesetting,
4076  for horizontal and vertical writing.
4077  The collection includes 
4078 \family sans
4079 Japanese Article
4080 \change_deleted 545138413 1676132735
4081  
4082 \change_inserted 545138413 1676132735
4083
4084 \begin_inset space \thinspace{}
4085 \end_inset
4086
4087
4088 \change_inserted -712698321 1676533466
4089 (Standard Class)
4090 \family default
4091 ,
4092  
4093 \family sans
4094 Japanese Article
4095 \begin_inset space \thinspace{}
4096 \end_inset
4097
4098 (Standard Class,
4099  vertical Writing)
4100 \family default
4101 ,
4102  
4103 \family sans
4104 Japanese Book
4105 \begin_inset space \thinspace{}
4106 \end_inset
4107
4108 (Standard Class)
4109 \family default
4110 ,
4111  
4112 \family sans
4113 Japanese Book
4114 \begin_inset space \thinspace{}
4115 \end_inset
4116
4117 (Standard Class,
4118  vertical Writing)
4119 \family default
4120 ,
4121  
4122 \family sans
4123 Japanese Report
4124 \begin_inset space \thinspace{}
4125 \end_inset
4126
4127 (Japanese Standard Class)
4128 \family default
4129 ,
4130  and
4131 \family sans
4132  Japanese Report
4133 \begin_inset space \thinspace{}
4134 \end_inset
4135
4136 (Standard Class,
4137  vertical Writing)
4138 \family default
4139 ,
4140  which all work with 
4141 \begin_inset Quotes eld
4142 \end_inset
4143
4144 classic
4145 \begin_inset Quotes erd
4146 \end_inset
4147
4148  engines tailored for Japanese,
4149  p\SpecialChar LaTeX
4150  and up\SpecialChar LaTeX
4151 .
4152 \end_layout
4153
4154 \begin_layout Standard
4155
4156 \change_inserted -712698321 1676026113
4157 For the use with the more modern Lua\SpecialChar LaTeX
4158  typesetting engine,
4159  the collection also includes dedicated classes 
4160 \family sans
4161 Japanese Article
4162 \change_deleted 545138413 1676132664
4163  
4164 \change_inserted 545138413 1676132730
4165
4166 \begin_inset space \thinspace{}
4167 \end_inset
4168
4169
4170 \change_inserted -712698321 1676533517
4171 (Standard Class for LuaTeX),
4172  Japanese Article
4173 \begin_inset space \thinspace{}
4174 \end_inset
4175
4176 (Standard Class for LuaTeX,
4177  vertical Writing),
4178  Japanese Book
4179 \begin_inset space \thinspace{}
4180 \end_inset
4181
4182 (Standard Class for LuaTeX)
4183 \family default
4184 ,
4185  
4186 \family sans
4187 Japanese Book
4188 \begin_inset space \thinspace{}
4189 \end_inset
4190
4191 (Standard Class for LuaTeX,
4192  vertical Writing)
4193 \family default
4194 ,
4195  
4196 \change_deleted 545138413 1676132664
4197 and 
4198 \change_inserted -712698321 1676533501
4199
4200 \family sans
4201 Japanese Report
4202 \begin_inset space \thinspace{}
4203 \end_inset
4204
4205 (Japanese Standard Class for LuaTeX)
4206 \family default
4207 ,
4208  
4209 \change_deleted -712698321 1676533511
4210
4211 \family sans
4212 Japanese Article
4213 \begin_inset space \thinspace{}
4214 \end_inset
4215
4216 (Standard Class for LuaTeX,
4217  Vertical Writing),
4218  Japanese Book
4219 \begin_inset space \thinspace{}
4220 \end_inset
4221
4222 (Standard Class for LuaTeX,
4223  Vertical Writing)
4224 \family default
4225 ,
4226  
4227 \change_inserted 545138413 1676132454
4228 and 
4229 \family sans
4230 Japanese Report
4231 \begin_inset space \thinspace{}
4232 \end_inset
4233
4234 (Japanese Standard Class for LuaTeX,
4235  
4236 \change_deleted -712698321 1676533483
4237 V
4238 \change_inserted -712698321 1676533501
4239 v
4240 \change_inserted 545138413 1676132454
4241 ertical Writing)
4242 \family default
4243 ,
4244  
4245 \change_inserted -712698321 1676533501
4246 provided by the 
4247 \family sans
4248 luatexja
4249 \family default
4250  \SpecialChar LaTeX
4251  package.
4252
4253 \change_deleted 545138413 1676132664
4254  These classes support both horizontal and vertical writing.
4255 \change_inserted -712698321 1676534105
4256
4257 \end_layout
4258
4259 \begin_layout Standard
4260
4261 \change_inserted -712698321 1676534227
4262 Templates for the Lua\SpecialChar LaTeX
4263  classes can be found in 
4264 \family sans
4265 File\SpecialChar menuseparator
4266 New From Template
4267 \family default
4268  in the respective category (
4269 \family sans
4270 Articles
4271 \family default
4272 ,
4273  
4274 \family sans
4275 Books
4276 \family default
4277 ,
4278  or 
4279 \family sans
4280 Reports
4281 \family default
4282 ).
4283 \change_unchanged
4284
4285 \end_layout
4286
4287 \begin_layout Subsection
4288
4289 \change_inserted -712698321 1675848929
4290 \begin_inset CommandInset label
4291 LatexCommand label
4292 name "subsec:Japanese-JS"
4293
4294 \end_inset
4295
4296 Japanese (JS Bundle)
4297 \change_unchanged
4298
4299 \end_layout
4300
4301 \begin_layout Standard
4302
4303 \change_inserted -712698321 1675849034
4304 This collection includes improved versions of the classes included in 
4305 \family sans
4306 Japanese (Standard Classes)
4307 \family default
4308  (see
4309 \begin_inset space ~
4310 \end_inset
4311
4312
4313 \begin_inset CommandInset ref
4314 LatexCommand ref
4315 reference "subsec:Japanese"
4316
4317 \end_inset
4318
4319 ).
4320  It includes 
4321 \change_deleted -712698321 1675849038
4322 The document classes 
4323 \change_inserted -712698321 1673089024
4324
4325 \family sans
4326 Japanese 
4327 \change_deleted -712698321 1673089025
4328 a
4329 \change_inserted -712698321 1673089025
4330 A
4331 \change_inserted 564990737 1671383236
4332 rticle
4333 \begin_inset space \thinspace{}
4334 \end_inset
4335
4336 (
4337 \change_deleted -712698321 1673089027
4338 Japanese 
4339 \change_inserted 564990737 1671383236
4340 JS 
4341 \change_deleted -712698321 1675848222
4342 Class
4343 \change_inserted -712698321 1675848223
4344 Bundle
4345 \change_inserted 564990737 1671383236
4346 )
4347 \change_deleted -712698321 1675849103
4348
4349 \family default
4350 ,
4351
4352 \change_inserted 564990737 1671383236
4353
4354 \family sans
4355  
4356 \change_deleted -712698321 1675849055
4357 article
4358 \begin_inset space \thinspace{}
4359 \end_inset
4360
4361 (Japanese Standard Class Vertical Writing)
4362 \family default
4363 ,
4364  
4365 \family sans
4366 article
4367 \begin_inset space \thinspace{}
4368 \end_inset
4369
4370 (Japanese Standard Class)
4371 \family default
4372 ,
4373  
4374 \change_inserted -712698321 1675849107
4375 and 
4376 \family sans
4377 Japanese 
4378 \change_deleted -712698321 1673089053
4379 b
4380 \change_inserted -712698321 1673089064
4381 B
4382 \change_inserted 564990737 1671383236
4383 ook
4384 \begin_inset space \thinspace{}
4385 \end_inset
4386
4387 (
4388 \change_deleted -712698321 1673089067
4389 Japanese 
4390 \change_inserted 564990737 1671383236
4391 JS 
4392 \change_deleted -712698321 1675849059
4393 Class
4394 \change_inserted -712698321 1675849059
4395 Bundle
4396 \change_inserted 564990737 1671383236
4397 )
4398 \change_deleted -712698321 1675849095
4399
4400 \family default
4401 ,
4402
4403 \family sans
4404  book
4405 \begin_inset space \thinspace{}
4406 \end_inset
4407
4408 (Japanese Standard Class Vertical Writing)
4409 \family default
4410 ,
4411  
4412 \family sans
4413 book
4414 \begin_inset space \thinspace{}
4415 \end_inset
4416
4417 (Japanese Standard Class)
4418 \family default
4419 ,
4420  
4421 \family sans
4422 report
4423 \begin_inset space \thinspace{}
4424 \end_inset
4425
4426 (Japanese Vertical Writing)
4427 \family default
4428  and 
4429 \family sans
4430 report
4431 \begin_inset space \thinspace{}
4432 \end_inset
4433
4434 (Japanese Standard Class)
4435 \family default
4436  provide document classes for the Japanese language
4437 \change_inserted 564990737 1671383236
4438 .
4439
4440 \change_inserted -712698321 1676026196
4441  A report class can be obtained by using 
4442 \family sans
4443 Japanese Book
4444 \begin_inset space \thinspace{}
4445 \end_inset
4446
4447 (JS Bundle)
4448 \family default
4449  with option 
4450 \family sans
4451 report
4452 \family default
4453  in 
4454 \family sans
4455 Document\SpecialChar menuseparator
4456 Settings\SpecialChar menuseparator
4457 Document Class\SpecialChar menuseparator
4458 Class Options\SpecialChar menuseparator
4459 Custom
4460 \family default
4461 .
4462  All these classes work with 
4463 \begin_inset Quotes eld
4464 \end_inset
4465
4466 classic
4467 \begin_inset Quotes erd
4468 \end_inset
4469
4470  engines tailored for Japanese,
4471  p\SpecialChar LaTeX
4472  and up\SpecialChar LaTeX
4473 .
4474 \end_layout
4475
4476 \begin_layout Standard
4477
4478 \change_inserted -712698321 1676026178
4479 For the use with the more modern Lua\SpecialChar LaTeX
4480  typesetting engine,
4481  the collection also includes dedicated classes 
4482 \family sans
4483 Japanese Article (JS Bundle for LuaTeX),
4484  Japanese Book
4485 \begin_inset space \thinspace{}
4486 \end_inset
4487
4488 (JS Bundle for LuaTeX)
4489 \family default
4490 ,
4491  and 
4492 \family sans
4493 Japanese Report
4494 \begin_inset space \thinspace{}
4495 \end_inset
4496
4497 (JS Bundle)
4498 \family default
4499 ,
4500  provided by the 
4501 \family sans
4502 luatexja
4503 \family default
4504  \SpecialChar LaTeX
4505  package.
4506
4507 \change_deleted 545138413 1676132499
4508  These classes support both horizontal and vertical writing.
4509 \change_inserted -712698321 1676534250
4510
4511 \end_layout
4512
4513 \begin_layout Standard
4514
4515 \change_inserted -712698321 1676534251
4516 Templates for the Lua\SpecialChar LaTeX
4517  classes can be found in 
4518 \family sans
4519 File\SpecialChar menuseparator
4520 New From Template
4521 \family default
4522  in the respective category (
4523 \family sans
4524 Articles
4525 \family default
4526 ,
4527  
4528 \family sans
4529 Books
4530 \family default
4531 ,
4532  or 
4533 \family sans
4534 Reports
4535 \family default
4536 ).
4537 \change_unchanged
4538
4539 \end_layout
4540
4541 \begin_layout Subsection
4542
4543 \change_inserted -712698321 1675848572
4544 \begin_inset CommandInset label
4545 LatexCommand label
4546 name "subsec:Japanese-BX"
4547
4548 \end_inset
4549
4550 Japanese (BX Bundle)
4551 \end_layout
4552
4553 \begin_layout Standard
4554
4555 \change_inserted -712698321 1676026685
4556 This bundle contains the document classes 
4557 \family sans
4558 Japanese Article
4559 \begin_inset space \thinspace{}
4560 \end_inset
4561
4562 (BX Bundle)
4563 \family default
4564 ,
4565
4566 \family sans
4567  Japanese Book
4568 \begin_inset space \thinspace{}
4569 \end_inset
4570
4571 (BX Bundle)
4572 \family default
4573 ,
4574  and 
4575 \family sans
4576 Japanese Report
4577 \begin_inset space \thinspace{}
4578 \end_inset
4579
4580 (BX Bundle)
4581 \family default
4582  which provide alternative document classes for Japanese documents.
4583  Furthermore,
4584  a class 
4585 \family sans
4586 Japanese Slides (BX Bundle)
4587 \family default
4588  for presentation slides,
4589  is included.
4590  As opposed to the classes of the 
4591 \family sans
4592 Standard Classes
4593 \family default
4594  and 
4595 \family sans
4596 JS 
4597 \family default
4598 bundles (sec.
4599  
4600 \begin_inset CommandInset ref
4601 LatexCommand ref
4602 reference "subsec:Japanese"
4603
4604 \end_inset
4605
4606  and 
4607 \begin_inset CommandInset ref
4608 LatexCommand ref
4609 reference "subsec:Japanese-JS"
4610
4611 \end_inset
4612
4613 ),
4614  which support only p\SpecialChar LaTeX
4615  and up\SpecialChar LaTeX
4616  out of the box (and Lua\SpecialChar LaTeX
4617  only through the extra classes added by the 
4618 \family sans
4619 luatexja
4620 \family default
4621  \SpecialChar LaTeX
4622  package),
4623  the classes of this bundle also support pdf\SpecialChar LaTeX
4624 ,
4625  Xe\SpecialChar LaTeX
4626  and Lua\SpecialChar LaTeX
4627  directly,
4628  with the aid of suitable packages that provide capability of Japanese typesetting.
4629 \end_layout
4630
4631 \begin_layout Subsection
4632
4633 \change_inserted -712698321 1675850366
4634 \begin_inset CommandInset label
4635 LatexCommand label
4636 name "subsec:Japanese-JLReq"
4637
4638 \end_inset
4639
4640 Japanese (JLReq Class)
4641 \end_layout
4642
4643 \begin_layout Standard
4644
4645 \change_inserted -712698321 1675850768
4646 This bundle draws on the 
4647 \family sans
4648 jlreq
4649 \family default
4650  class which faithfully traces the standard of 
4651 \emph on
4652 Requirements for Japanese Text Layout
4653 \emph default
4654  set by the World Wide Web Consortium (W3C,
4655  see 
4656 \begin_inset Flex URL
4657 status collapsed
4658
4659 \begin_layout Plain Layout
4660
4661 \change_inserted -712698321 1675850769
4662
4663 https://www.w3.org/TR/jlreq/?lang=en
4664 \change_unchanged
4665
4666 \end_layout
4667
4668 \end_inset
4669
4670 ).
4671  It can be used with Lua\SpecialChar LaTeX
4672  as well as p\SpecialChar LaTeX
4673  and up\SpecialChar LaTeX
4674 .
4675 \end_layout
4676
4677 \begin_layout Standard
4678
4679 \change_inserted -712698321 1675850585
4680 LyX provides layouts for 
4681 \family sans
4682 Japanese Article
4683 \begin_inset space \thinspace{}
4684 \end_inset
4685
4686 (JLReq Class)
4687 \family default
4688 ,
4689
4690 \family sans
4691  Japanese Book
4692 \begin_inset space \thinspace{}
4693 \end_inset
4694
4695 (JLReq Class)
4696 \family default
4697 ,
4698  and 
4699 \family sans
4700 Japanese Report
4701 \begin_inset space \thinspace{}
4702 \end_inset
4703
4704 (JLReq Class)
4705 \family default
4706  which are all derived from the 
4707 \family sans
4708 jlreq
4709 \family default
4710  \SpecialChar LaTeX
4711  class via specific class options.
4712 \end_layout
4713
4714 \begin_layout Standard
4715
4716 \change_inserted -712698321 1675850701
4717 An example article document is available at 
4718 \family sans
4719 File\SpecialChar menuseparator
4720 Open Example\SpecialChar menuseparator
4721 Articles\SpecialChar menuseparator
4722 Japanese Article (JLReq Class)
4723 \family default
4724 .
4725  English documentation is available at 
4726 \begin_inset Flex URL
4727 status collapsed
4728
4729 \begin_layout Plain Layout
4730
4731 \change_inserted -712698321 1675850350
4732
4733 http://mirrors.ctan.org/macros/jptex/latex/jlreq/jlreq.pdf
4734 \change_unchanged
4735
4736 \end_layout
4737
4738 \end_inset
4739
4740 .
4741 \change_inserted 564990737 1671383236
4742
4743 \end_layout
4744
4745 \begin_layout Subsection
4746
4747 \change_inserted 564990737 1672429136
4748 \begin_inset CommandInset label
4749 LatexCommand label
4750 name "subsec:KOMA-Script"
4751
4752 \end_inset
4753
4754 KOMA-Script
4755 \end_layout
4756
4757 \begin_layout Standard
4758
4759 \change_inserted 564990737 1672429136
4760 Original by 
4761 \noun on
4762 Bernd Rellermeyer
4763 \noun default
4764 ;
4765  updated by 
4766 \noun on
4767 Jürgen Spitzmüller
4768 \noun default
4769  and the \SpecialChar LyX
4770  Team
4771 \change_deleted 564990737 1672429136
4772 Koma-Script
4773 \end_layout
4774
4775 \begin_layout Standard
4776
4777 \change_deleted 564990737 1672429136
4778 by 
4779 \noun on
4780 Bernd Rellermeyer
4781 \change_unchanged
4782
4783 \end_layout
4784
4785 \begin_layout Subsubsection
4786 Overview
4787 \change_inserted 564990737 1672429161
4788
4789 \end_layout
4790
4791 \begin_layout Standard
4792
4793 \change_inserted 564990737 1672429162
4794 The KOMA-Script collection of document classes is a development of the Script classes created by Frank Neukam in the early 1990s;
4795  it was formally launched with the addition of a letter class in 1994.
4796  Since then,
4797  a second letter class has been added.
4798  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.
4799  
4800 \change_unchanged
4801
4802 \end_layout
4803
4804 \begin_layout Standard
4805 The \SpecialChar LyX
4806  document classes 
4807 \change_deleted -712698321 1673089779
4808
4809 \emph on
4810 article (koma-script)
4811 \change_inserted -712698321 1673089784
4812 KOMA-Script Article
4813 \change_unchanged
4814
4815 \emph default
4816 ,
4817  
4818 \change_deleted -712698321 1673089790
4819
4820 \emph on
4821 report (koma-script)
4822 \change_inserted -712698321 1673089794
4823 KOMA-Script Report
4824 \change_unchanged
4825
4826 \emph default
4827 ,
4828  
4829 \change_deleted -712698321 1673089790
4830
4831 \emph on
4832 book
4833 \emph default
4834  
4835 \emph on
4836 (koma-script)
4837 \change_inserted -712698321 1673089771
4838 KOMA-Script Book
4839 \change_unchanged
4840
4841 \emph default
4842 ,
4843  and 
4844 \change_inserted -712698321 1673089799
4845
4846 \emph on
4847 KOMA-Script 
4848 \change_deleted -712698321 1673089802
4849 l
4850 \change_inserted -712698321 1673089802
4851 L
4852 \change_unchanged
4853 etter
4854 \change_deleted -712698321 1673089811
4855
4856 \emph default
4857  
4858 \emph on
4859 (koma-script)
4860 \change_unchanged
4861
4862 \emph default
4863  correspond to the \SpecialChar LaTeX
4864  document classes 
4865 \family typewriter
4866 scrartcl.cls
4867 \family default
4868 ,
4869  
4870 \family typewriter
4871 scrreprt.cls
4872 \family default
4873 ,
4874  
4875 \family typewriter
4876 scrbook.cls
4877 \family default
4878 ,
4879  and 
4880 \family typewriter
4881 scrlettr.cls
4882 \family default
4883 ,
4884  resp.
4885 \begin_inset space ~
4886 \end_inset
4887
4888 of the Koma-Script family.
4889  They are replacements for the standard document classes 
4890 \family typewriter
4891 article.cls
4892 \family default
4893 ,
4894  
4895 \family typewriter
4896 report.cls
4897 \family default
4898 ,
4899  
4900 \family typewriter
4901 book.cls
4902 \family default
4903  and 
4904 \family typewriter
4905 letter.cls
4906 \family default
4907 ,
4908  resp.,
4909  and fit better to European typography conventions in a number of points.
4910 \end_layout
4911
4912 \begin_layout Itemize
4913
4914 \change_deleted 564990737 1672429262
4915 Standard character size is
4916 \change_inserted 564990737 1672429263
4917 The base character sizes when you select a KOMA-Script class are
4918 \change_unchanged
4919  11pt in 
4920 \change_deleted -712698321 1673089877
4921
4922 \emph on
4923 article (koma-script)
4924 \change_inserted -712698321 1673089877
4925 KOMA-Script Article
4926 \change_unchanged
4927
4928 \emph default
4929 ,
4930  
4931 \change_deleted -712698321 1673089886
4932
4933 \emph on
4934 report (koma-script)
4935 \change_inserted -712698321 1673089886
4936 KOMA-Script Report
4937 \change_unchanged
4938
4939 \emph default
4940 ,
4941  and 
4942 \change_deleted -712698321 1673089893
4943
4944 \emph on
4945 book (koma-script)
4946 \change_inserted -712698321 1673089893
4947 KOMA-Script Book
4948 \change_deleted 564990737 1672429267
4949
4950 \emph default
4951 ,
4952
4953 \change_unchanged
4954  and 12pt in 
4955 \change_deleted -712698321 1673089903
4956
4957 \emph on
4958 letter (koma-script)
4959 \change_inserted -712698321 1673089903
4960 KOMA-Script Letter
4961 \change_unchanged
4962
4963 \emph default
4964 .
4965 \end_layout
4966
4967 \begin_layout Itemize
4968 Headings,
4969  labels of the description environment,
4970  and a number of elements of the 
4971 \change_deleted -712698321 1673089925
4972
4973 \emph on
4974 letter (koma-script)
4975 \change_inserted -712698321 1673089925
4976 KOMA-Script Letter
4977 \change_unchanged
4978
4979 \emph default
4980  document class are set in a bold sans serif font.
4981 \begin_inset Foot
4982 status collapsed
4983
4984 \begin_layout Plain Layout
4985 There is a big difference between the bold sans serif old cm fonts and new ec fonts,
4986  especially in the appearance of headings.
4987  In comparison,
4988  the ec bold sans serif fonts look a bit thin.
4989  Here the \SpecialChar LaTeX
4990  package 
4991 \family typewriter
4992 cmsd.sty by
4993 \family default
4994  
4995 \shape smallcaps
4996 Walter Schmidt
4997 \shape default
4998  helps to produce the 
4999 \begin_inset Quotes eld
5000 \end_inset
5001
5002 usual
5003 \begin_inset Quotes erd
5004 \end_inset
5005
5006  appearance when using the ec fonts.
5007 \end_layout
5008
5009 \end_inset
5010
5011  The numbering of chapter headings is made in the same way as the numbering of section headings,
5012  that is without the extra line 
5013 \begin_inset Quotes eld
5014 \end_inset
5015
5016 Chapter\SpecialChar ldots
5017
5018 \begin_inset Quotes erd
5019 \end_inset
5020
5021 .
5022  In addition,
5023  the appearance of the headings can be modified by using a number of options (in \SpecialChar LyX
5024  to be entered in the field 
5025 \family sans
5026 Extra
5027 \begin_inset space ~
5028 \end_inset
5029
5030 Options
5031 \family default
5032  of the dialog 
5033 \family sans
5034 Layout\SpecialChar menuseparator
5035 Document
5036 \family default
5037 ).
5038  
5039 \end_layout
5040
5041 \begin_layout Itemize
5042
5043 \change_deleted 564990737 1672429310
5044 The main means in the Koma-Script document classes to design the type area are the options 
5045 \family sans
5046 BCOR
5047 \family default
5048  and 
5049 \family sans
5050 DIV
5051 \family default
5052  (in \SpecialChar LyX
5053  to be entered in the extra class options field in the dialog 
5054 \family sans
5055 Document\SpecialChar menuseparator
5056 Settings
5057 \family default
5058 ).
5059  They make a clearer modification of page margins possible as do the options of the dialog 
5060 \family sans
5061 Document\SpecialChar menuseparator
5062 Settings
5063 \family default
5064 .
5065  
5066 \change_inserted 564990737 1672429310
5067 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.
5068  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.
5069  You can change the sizes of the margins by changing the factor by which the page is divided into strips;
5070  the default for an A4 page is 9 and increasing this factor will produce increasingly narrower strips and therefore narrower margins.
5071  
5072 \end_layout
5073
5074 \begin_deeper
5075 \begin_layout Standard
5076
5077 \change_inserted 564990737 1672429310
5078 Whatever the factor,
5079  two strips are allocated to the outer and bottom margins of a two-sided document and one strip to the inner and top margins,
5080  leaving a text area occupying around half the page.
5081  Since most two-sided documents have a binding,
5082  this can make the inner margins appear too narrow;
5083  so you can apply a binding correction to the page which is deducted before the size of the strips is calculated.
5084  
5085 \end_layout
5086
5087 \begin_layout Standard
5088
5089 \change_inserted 564990737 1672429310
5090 The main means in the Koma-Script document classes to design the type area are the options 
5091 \family sans
5092 BCOR
5093 \family default
5094  and 
5095 \family sans
5096 DIV
5097 \family default
5098  entered in 
5099 \family sans
5100 Document\SpecialChar menuseparator
5101 Settings\SpecialChar menuseparator
5102 Document Class\SpecialChar menuseparator
5103 Class Options\SpecialChar menuseparator
5104 Custom
5105 \family default
5106 .
5107  
5108 \end_layout
5109
5110 \begin_layout Standard
5111
5112 \change_inserted 564990737 1672429310
5113 In this document,
5114  the binding correction is 7.5mm which is added in the form 
5115 \family typewriter
5116 BCOR7.5mm
5117 \family default
5118  to 
5119 \family sans
5120 Class
5121 \begin_inset space ~
5122 \end_inset
5123
5124 options\SpecialChar menuseparator
5125 Cus
5126 \bar under
5127 t
5128 \bar default
5129 om
5130 \family default
5131  dialog.
5132  To change the factor to 11,
5133  for example,
5134  add the entry 
5135 \family typewriter
5136 DIV=11
5137 \family default
5138  to the comma separated list of entries in the 
5139 \family sans
5140 Cus
5141 \bar under
5142 t
5143 \bar default
5144 om
5145 \family default
5146  
5147 \family sans
5148 Class
5149 \begin_inset space ~
5150 \end_inset
5151
5152 options
5153 \family default
5154 .
5155  If you want the default value of this factor for a page size other than A4,
5156  add the entry 
5157 \family typewriter
5158 DIV=calc
5159 \family default
5160 .
5161 \end_layout
5162
5163 \begin_layout Standard
5164
5165 \change_inserted 564990737 1672429310
5166 To use the circle method of calculating the page layout,
5167  use 
5168 \family typewriter
5169 DIV=classic
5170 \family default
5171  instead.
5172 \change_unchanged
5173
5174 \end_layout
5175
5176 \end_deeper
5177 \begin_layout Itemize
5178 The \SpecialChar LaTeX
5179  document classes of the Koma-Script family define a number of additional commands.
5180  Those part of it which makes sense in \SpecialChar LyX
5181  is implemented in corresponding paragraph types.
5182 \end_layout
5183
5184 \begin_layout Standard
5185 Detailed descriptions of the \SpecialChar LaTeX
5186  document classes of the Koma-Script family can be found in the Koma-Script documentation 
5187 \emph on
5188 scrguide
5189 \emph default
5190  (German) and 
5191 \emph on
5192 scrguien
5193 \emph default
5194  (English).
5195 \end_layout
5196
5197 \begin_layout Subsubsection
5198
5199 \change_inserted 564990737 1672429358
5200
5201 \series bold
5202 \begin_inset CommandInset label
5203 LatexCommand label
5204 name "subsec:article-(KOMA-Script),-report"
5205
5206 \end_inset
5207
5208
5209 \change_deleted -712698321 1673090826
5210
5211 \series default
5212 article (KOMA-Script)
5213 \change_inserted -712698321 1673090826
5214
5215 \emph on
5216 KOMA-Script Article
5217 \change_inserted 564990737 1672429358
5218
5219 \emph default
5220 ,
5221  
5222 \change_deleted -712698321 1673090830
5223 report (KOMA-Script)
5224 \change_inserted -712698321 1673090840
5225
5226 \emph on
5227 KOMA-Script Report
5228 \change_inserted 564990737 1672429358
5229
5230 \emph default
5231 ,
5232  and 
5233 \change_deleted -712698321 1673090835
5234 book (KOMA-Script)
5235 \change_inserted -712698321 1673090844
5236
5237 \emph on
5238 KOMA-Script Book
5239 \change_deleted 564990737 1672429367
5240
5241 \emph default
5242 article (koma-script),
5243  report (koma-script),
5244  and book (koma-script)
5245 \change_unchanged
5246
5247 \end_layout
5248
5249 \begin_layout Standard
5250 The document classes 
5251 \change_deleted -712698321 1673090858
5252
5253 \emph on
5254 article (koma-script)
5255 \change_inserted -712698321 1673090858
5256 KOMA-Script Article
5257 \change_unchanged
5258
5259 \emph default
5260 ,
5261  
5262 \change_deleted -712698321 1673090862
5263
5264 \emph on
5265 report (koma-script)
5266 \change_inserted -712698321 1673090869
5267 KOMA-Script Report
5268 \change_unchanged
5269
5270 \emph default
5271 ,
5272  and 
5273 \change_deleted -712698321 1673090866
5274
5275 \emph on
5276 book
5277 \emph default
5278  
5279 \emph on
5280 (koma-script)
5281 \change_inserted -712698321 1673090874
5282 KOMA-Script Book
5283 \change_unchanged
5284
5285 \emph default
5286  are implemented in the layout files 
5287 \family typewriter
5288 scrartcl.layout
5289 \family default
5290 ,
5291  
5292 \family typewriter
5293 scrreprt.layout
5294 \family default
5295 ,
5296  and 
5297 \family typewriter
5298 scrbook.layout
5299 \family default
5300 ,
5301  resp.
5302  They contain all the paragraph types of the corresponding standard document classes 
5303 \emph on
5304 article
5305 \emph default
5306 ,
5307  
5308 \emph on
5309 report
5310 \emph default
5311 ,
5312  and 
5313 \emph on
5314 book
5315 \emph default
5316 ,
5317  resp.,
5318  partly modified,
5319  with the exception of the \SpecialChar LyX
5320  specific 
5321 \family sans
5322 List
5323 \family default
5324 -type,
5325  which is replaced by the new 
5326 \family sans
5327 Labeling
5328 \family default
5329 -type having the same functionality.
5330  Beside the 
5331 \family sans
5332 Labeling
5333 \family default
5334 -Type there is a number of new paragraph types added.
5335  They are 
5336 \emph on
5337 not
5338 \emph default
5339  part of 
5340 \emph on
5341 letter (koma-script)
5342 \emph default
5343 .
5344 \end_layout
5345
5346 \begin_layout Itemize
5347
5348 \family sans
5349 Addpart,
5350  Addchap
5351 \family default
5352 ,
5353  
5354 \family sans
5355 Addsec
5356 \family default
5357 :
5358  are equivalents to 
5359 \family sans
5360 Part*,
5361  Chapter*
5362 \family default
5363  and 
5364 \family sans
5365 Section*
5366 \family default
5367 ,
5368  resp.,
5369  additionally inserting an entry in the table of contents.
5370  
5371 \family sans
5372 Addpart
5373 \family default
5374  and 
5375 \family sans
5376 Addchap
5377 \family default
5378  are not contained in 
5379 \emph on
5380 article (koma-script)
5381 \emph default
5382 .
5383 \end_layout
5384
5385 \begin_layout Itemize
5386
5387 \family sans
5388 Addchap*
5389 \family default
5390 ,
5391  
5392 \family sans
5393 Addsec*
5394 \family default
5395 :
5396  behave exactly as 
5397 \family sans
5398 Addchap
5399 \family default
5400  and 
5401 \family sans
5402 Addsec
5403 \family default
5404 ,
5405  resp.,
5406  additionally clearing running heads.
5407  
5408 \family sans
5409 Addchap*
5410 \family default
5411  is not contained in 
5412 \emph on
5413 article (koma-script)
5414 \emph default
5415 .
5416 \begin_inset Foot
5417 status collapsed
5418
5419 \begin_layout Plain Layout
5420 There is also an 
5421 \family typewriter
5422
5423 \backslash
5424 addpart*
5425 \family default
5426  command in 
5427 \emph on
5428 book (koma-script)
5429 \emph default
5430  and in 
5431 \emph on
5432 report (koma-script)
5433 \emph default
5434 ,
5435  but since this is identical to 
5436 \family sans
5437 Part*
5438 \family default
5439 ,
5440  is has not been implemented in \SpecialChar LyX
5441 .
5442 \end_layout
5443
5444 \end_inset
5445
5446
5447 \end_layout
5448
5449 \begin_layout Itemize
5450
5451 \family sans
5452 Minisec
5453 \family default
5454 :
5455  generates a heading directly above the following paragraph in the standard character size without affecting the structure of the document.
5456 \end_layout
5457
5458 \begin_layout Itemize
5459
5460 \family sans
5461 Captionabove
5462 \family default
5463  and 
5464 \family sans
5465 Captionbelow
5466 \family default
5467  are special captions which respect the different space settings needed for captions placed above or below an element (if you follow strict typographic rules,
5468  you might want to place table captions always above the table).
5469  You can also use the class option 
5470 \family typewriter
5471 tablecaptionsabove
5472 \family default
5473 ,
5474  which will switch 
5475 \family sans
5476 caption
5477 \family default
5478  to 
5479 \family sans
5480 captionabove
5481 \family default
5482  for tables and 
5483 \family sans
5484 captionbelow
5485 \family default
5486  for figures.
5487  You need at least Koma-Script version 2.8q to use this.
5488 \end_layout
5489
5490 \begin_layout Itemize
5491
5492 \family sans
5493 Dictum
5494 \family default
5495 :
5496  can be used to set a bonmot,
5497  e.
5498 \begin_inset space \thinspace{}
5499 \end_inset
5500
5501 g.
5502 \begin_inset space \space{}
5503 \end_inset
5504
5505 at the beginning of a chapter.
5506  If you use the optional argument (
5507 \family sans
5508 Insert\SpecialChar menuseparator
5509 Dictum
5510 \begin_inset space ~
5511 \end_inset
5512
5513 Author
5514 \family default
5515 ),
5516  you can insert the dictum's author there.
5517  Dictum and author are separated by a line.
5518  You need at least Koma-Script version 2.8q to use this.
5519  
5520 \family sans
5521 Dictum
5522 \family default
5523  is not contained in 
5524 \emph on
5525 article (koma-script)
5526 \emph default
5527 .
5528 \end_layout
5529
5530 \begin_layout Standard
5531 The following types,
5532  together with the standard types 
5533 \family sans
5534 Title
5535 \family default
5536 ,
5537  
5538 \family sans
5539 Author
5540 \family default
5541 ,
5542  and 
5543 \family sans
5544 Date
5545 \family default
5546 ,
5547  form the title area of the document.
5548  They must be entered ahead of the first 
5549 \begin_inset Quotes eld
5550 \end_inset
5551
5552 ordinary
5553 \begin_inset Quotes erd
5554 \end_inset
5555
5556  paragraph.
5557 \begin_inset Foot
5558 status collapsed
5559
5560 \begin_layout Plain Layout
5561 The corresponding \SpecialChar LaTeX
5562  commands must appear before the 
5563 \family typewriter
5564
5565 \backslash
5566 maketitle
5567 \family default
5568  command.
5569 \end_layout
5570
5571 \end_inset
5572
5573  When such a type is used more than once,
5574  the latter usage overwrites the former one,
5575  that means,
5576  for every type only the latest usage is valid.
5577  The order of the different types however has,
5578  like 
5579 \family sans
5580 Title
5581 \family default
5582 ,
5583  
5584 \family sans
5585 Author
5586 \family default
5587 ,
5588  and 
5589 \family sans
5590 Date
5591 \family default
5592 ,
5593  no effect on the appearance of the produced document.
5594 \end_layout
5595
5596 \begin_layout Itemize
5597
5598 \family sans
5599 Subject
5600 \family default
5601 :
5602  produces a centered paragraph above the ordinary title (
5603 \family sans
5604 Title
5605 \family default
5606 ,
5607  
5608 \family sans
5609 Author
5610 \family default
5611 ,
5612  
5613 \family sans
5614 Date
5615 \family default
5616 ) for the subject of the document.
5617 \end_layout
5618
5619 \begin_layout Itemize
5620
5621 \family sans
5622 Publishers
5623 \family default
5624 :
5625  produces a centered paragraph below the ordinary title (
5626 \family sans
5627 Title
5628 \family default
5629 ,
5630  
5631 \family sans
5632 Author
5633 \family default
5634 ,
5635  
5636 \family sans
5637 Date
5638 \family default
5639 ) for the publishers' name.
5640 \end_layout
5641
5642 \begin_layout Itemize
5643
5644 \family sans
5645 Dedication
5646 \family default
5647 :
5648  in 
5649 \emph on
5650 report (koma-script)
5651 \emph default
5652  and 
5653 \emph on
5654 book (koma-script)
5655 \emph default
5656  produces a centered paragraph on its own page behind the title page,
5657  or in 
5658 \emph on
5659 article (koma-script)
5660 \emph default
5661  produces a centered paragraph below the ordinary title (
5662 \family sans
5663 Title
5664 \family default
5665 ,
5666  
5667 \family sans
5668 Author
5669 \family default
5670 ,
5671  
5672 \family sans
5673 Date
5674 \family default
5675 ,
5676  
5677 \family sans
5678 Publishers
5679 \family default
5680 ) for a dedication.
5681 \end_layout
5682
5683 \begin_layout Itemize
5684
5685 \family sans
5686 Titlehead
5687 \family default
5688 :
5689  produces a left aligned paragraph above the ordinary title (
5690 \family sans
5691 Title
5692 \family default
5693 ,
5694  
5695 \family sans
5696 Author
5697 \family default
5698 ,
5699  
5700 \family sans
5701 Date
5702 \family default
5703 ,
5704  
5705 \family sans
5706 Subject
5707 \family default
5708 ) for a document`s head.
5709 \end_layout
5710
5711 \begin_layout Itemize
5712
5713 \family sans
5714 Uppertitleback
5715 \family default
5716 :
5717  produces in a double-sided print in 
5718 \emph on
5719 report (koma-script)
5720 \emph default
5721  and 
5722 \emph on
5723 book (koma-script)
5724 \emph default
5725  a left-aligned paragraph at the top of the title page`s back or has no effect in a single-sided print or in 
5726 \emph on
5727 article (koma-script)
5728 \emph default
5729 .
5730 \end_layout
5731
5732 \begin_layout Itemize
5733
5734 \family sans
5735 Lowertitleback
5736 \family default
5737 :
5738  produces in a double-sided print in 
5739 \emph on
5740 report (koma-script)
5741 \emph default
5742  and 
5743 \emph on
5744 book (koma-script)
5745 \emph default
5746  a left-aligned paragraph at the bottom of the title page`s back or has no effect in a single-sided print or in 
5747 \emph on
5748 article (koma-script)
5749 \emph default
5750 .
5751 \end_layout
5752
5753 \begin_layout Itemize
5754
5755 \family sans
5756 Extratitle
5757 \family default
5758 :
5759  produces a special 
5760 \begin_inset Quotes eld
5761 \end_inset
5762
5763 dirty
5764 \begin_inset Quotes erd
5765 \end_inset
5766
5767  page ahead of the actual document containing a paragraph without special formatting.
5768 \end_layout
5769
5770 \begin_layout Standard
5771
5772 \change_inserted 564990737 1672429680
5773 KOMA-Script offers a wide range of 
5774 \family sans
5775 Cus
5776 \bar under
5777 t
5778 \bar default
5779 om Class
5780 \begin_inset space ~
5781 \end_inset
5782
5783 options
5784 \family default
5785  for the 
5786 \family sans
5787 \bar under
5788 D
5789 \bar default
5790 ocument\SpecialChar menuseparator
5791
5792 \bar under
5793 S
5794 \bar default
5795 ettings\SpecialChar menuseparator
5796 Document
5797 \begin_inset space ~
5798 \end_inset
5799
5800 class
5801 \family default
5802  dialog which you can apply to the whole document,
5803  among them
5804 \end_layout
5805
5806 \begin_layout Description
5807
5808 \change_inserted 564990737 1672429680
5809
5810 \family typewriter
5811 \series medium
5812 draft=true
5813 \family default
5814 \series default
5815  which produces a PDF with a small black box at the end any line in which a formatting error occurs;
5816  the default setting is 
5817 \family typewriter
5818 false
5819 \end_layout
5820
5821 \begin_layout Description
5822
5823 \change_inserted 564990737 1672429680
5824
5825 \family typewriter
5826 \series medium
5827 headings=
5828 \family default
5829 \series default
5830  which may take the values 
5831 \family typewriter
5832 big
5833 \family default
5834 ,
5835  
5836 \family typewriter
5837 normal
5838 \family default
5839  or 
5840 \family typewriter
5841 small
5842 \family default
5843 ;
5844  the first and last adjust the sizes of the headings to take account of page sizes where the default values may not be suitable
5845 \end_layout
5846
5847 \begin_layout Description
5848
5849 \change_inserted 564990737 1672429680
5850
5851 \family typewriter
5852 \series medium
5853 numbers=
5854 \family default
5855 \series default
5856  which may take the values 
5857 \family typewriter
5858 auto
5859 \family default
5860  (the default),
5861  
5862 \family typewriter
5863 enddot
5864 \family default
5865  or 
5866 \family typewriter
5867 noenddot
5868 \family default
5869 ;
5870  the first leaves it up to KOMA-Script to add periods after chapter,
5871  section numbers,
5872  etc.;
5873  the second forces the addition of periods and third suppresses them
5874 \end_layout
5875
5876 \begin_layout Standard
5877
5878 \change_inserted 564990737 1672429680
5879 and the math options:
5880 \end_layout
5881
5882 \begin_layout Description
5883
5884 \change_inserted 564990737 1672429680
5885
5886 \family typewriter
5887 \series medium
5888 leqno
5889 \family default
5890 \series default
5891  which causes equations to be numbered on the left rather than on the right,
5892  and
5893 \end_layout
5894
5895 \begin_layout Description
5896
5897 \change_inserted 564990737 1672429680
5898
5899 \family typewriter
5900 \series medium
5901 fleqn
5902 \family default
5903 \series default
5904  which causes equations to be left justified rather than centered.
5905 \end_layout
5906
5907 \begin_layout Standard
5908
5909 \change_inserted 564990737 1672429680
5910 It also provides commands to affect the output of the document independently of the standard \SpecialChar LaTeX
5911  commands and packages;
5912  for example,
5913  if you want your captions in bold add
5914 \end_layout
5915
5916 \begin_layout Standard
5917
5918 \change_inserted 564990737 1672429680
5919
5920 \family typewriter
5921
5922 \backslash
5923 setkomafont{captionlabel}{
5924 \backslash
5925 bfseries}
5926 \end_layout
5927
5928 \begin_layout Standard
5929
5930 \change_inserted 564990737 1672429680
5931 to 
5932 \family sans
5933 \bar under
5934 D
5935 \bar default
5936 ocument\SpecialChar menuseparator
5937
5938 \bar under
5939 S
5940 \bar default
5941 ettings
5942 \family default
5943 \SpecialChar menuseparator
5944
5945 \family sans
5946 \SpecialChar LaTeX
5947
5948 \begin_inset space ~
5949 \end_inset
5950
5951 Preamble
5952 \family default
5953 ) and the problem is solved.
5954 \end_layout
5955
5956 \begin_layout Standard
5957
5958 \change_inserted 564990737 1672429680
5959 If you are writing a book,
5960  it is normal to have the preliminary pages numbered in Roman numerals and the Chapters in this part unnumbered.
5961  If you use the Chapter* environment,
5962  your Foreword and Preface will not appear in the Table of Contents;
5963  to make them to appear in the Table of contents,
5964  you need to use Chapter environments and add the \SpecialChar TeX
5965  code
5966 \end_layout
5967
5968 \begin_layout Standard
5969
5970 \change_inserted 564990737 1672429680
5971
5972 \family typewriter
5973
5974 \backslash
5975 frontmatter
5976 \end_layout
5977
5978 \begin_layout Standard
5979
5980 \change_inserted 564990737 1672429680
5981 at the very start of the book (not in the \SpecialChar LaTeX
5982  Preamble) and
5983 \end_layout
5984
5985 \begin_layout Standard
5986
5987 \change_inserted 564990737 1672429680
5988
5989 \family typewriter
5990
5991 \backslash
5992 mainmatter
5993 \end_layout
5994
5995 \begin_layout Standard
5996
5997 \change_inserted 564990737 1672429680
5998 before the first chapter of the body of the text.
5999  
6000 \change_inserted -712698321 1673092640
6001 Alternatively,
6002  you might also use 
6003 \family sans
6004 Chapter* (TOC)
6005 \family default
6006 .
6007 \end_layout
6008
6009 \begin_layout Standard
6010
6011 \change_inserted 564990737 1672429680
6012 You may also want to have some unnumbered Chapter environments at the end of the book after the Appendices,
6013  if any.
6014 \begin_inset Foot
6015 status open
6016
6017 \begin_layout Plain Layout
6018
6019 \change_inserted 564990737 1672429680
6020 Appendices are normally “numbered” with letters.
6021 \end_layout
6022
6023 \end_inset
6024
6025  If you use the Chapter* environment,
6026  they will not appear in the Table of Contents;
6027  so add the \SpecialChar TeX
6028  code
6029 \end_layout
6030
6031 \begin_layout Standard
6032
6033 \change_inserted 564990737 1672429680
6034
6035 \family typewriter
6036
6037 \backslash
6038 backmatter
6039 \end_layout
6040
6041 \begin_layout Standard
6042
6043 \change_inserted 564990737 1672429682
6044 before the first of these headings and use the Chapter environment.
6045  These commands will have no effect on the numbering in \SpecialChar LyX
6046 ,
6047  only on the PDF output where the headings will be unnumbered and appear in the Table of Contents.
6048 \end_layout
6049
6050 \begin_layout Standard
6051 The layout files for the document classes 
6052 \emph on
6053 article (koma-script)
6054 \emph default
6055 ,
6056  
6057 \emph on
6058 report (koma-script)
6059 \emph default
6060 ,
6061  and 
6062 \emph on
6063 book (koma-script)
6064 \emph default
6065  do include the file 
6066 \family typewriter
6067 scrmacros.inc
6068 \family default
6069 .
6070  This is thought of as a place to define your own types.
6071  Copy scrmacros
6072 \family typewriter
6073 .inc
6074 \family default
6075  in your personal layout directory and edit the file!
6076 \change_deleted 564990737 1672430255
6077
6078 \end_layout
6079
6080 \begin_layout Standard
6081
6082 \change_deleted 564990737 1672430255
6083 letter (koma-script)
6084 \end_layout
6085
6086 \begin_layout Description
6087
6088 \change_deleted 564990737 1672429749
6089 Note:
6090  This section discusses the obsolete 
6091 \family sans
6092 KOMA-Script-Letter (v.
6093 \begin_inset space ~
6094 \end_inset
6095
6096 1)
6097 \family default
6098 ,
6099  which is not even included anymore in recent KOMA releases.
6100  Please refer to the next section for the current KOMA-Script-Letter class (v.
6101 \begin_inset space ~
6102 \end_inset
6103
6104 2)!
6105 \end_layout
6106
6107 \begin_layout Standard
6108 \noindent
6109
6110 \change_deleted 564990737 1672429749
6111 The document class 
6112 \emph on
6113 letter (koma-script)
6114 \emph default
6115  is implemented in the layout file 
6116 \family typewriter
6117 scrlettr.layout
6118 \family default
6119 .
6120  It contains all the paragraph types of the corresponding standard document class 
6121 \emph on
6122 letter
6123 \emph default
6124 ,
6125  partly modified,
6126  with the exception of the \SpecialChar LyX
6127  specific types 
6128 \family sans
6129 \SpecialChar LyX
6130 -Code
6131 \family default
6132  and 
6133 \family sans
6134 Comment
6135 \family default
6136  and the 
6137 \family sans
6138 List
6139 \family default
6140  type,
6141  which is replaced by the new 
6142 \family sans
6143 Labeling
6144 \family default
6145  type.
6146  In addition,
6147  it contains,
6148  in contrast to the standard document class,
6149  the standard types 
6150 \family sans
6151 \SpecialChar LaTeX
6152
6153 \family default
6154 ,
6155  
6156 \family sans
6157 Quotation
6158 \family default
6159 ,
6160  
6161 \family sans
6162 Quote
6163 \family default
6164 ,
6165  and 
6166 \family sans
6167 Verse
6168 \family default
6169 .
6170  Furthermore,
6171  there are a number of new letter specific types.
6172 \end_layout
6173
6174 \begin_layout Standard
6175
6176 \change_deleted 564990737 1672429749
6177 The appearance of the letter produced by this document class can be controlled by a number of \SpecialChar LaTeX
6178  commands,
6179  which you can put in the \SpecialChar LaTeX
6180  preamble.
6181 \begin_inset Foot
6182 status collapsed
6183
6184 \begin_layout Plain Layout
6185 For example,
6186  the standard appearance of the letter`s heading,
6187  consisting of name and address,
6188  is quite self-willed.
6189  An 
6190 \begin_inset Quotes eld
6191 \end_inset
6192
6193 ordinary
6194 \begin_inset Quotes erd
6195 \end_inset
6196
6197  heading is produced by the following \SpecialChar LaTeX
6198  commands in the preamble:
6199 \end_layout
6200
6201 \begin_layout LyX-Code
6202
6203 \backslash
6204 firsthead{
6205 \backslash
6206 parbox[b]{
6207 \backslash
6208 textwidth}
6209 \end_layout
6210
6211 \begin_layout LyX-Code
6212   {
6213 \backslash
6214 ignorespaces 
6215 \backslash
6216 fromname
6217 \backslash
6218
6219 \backslash
6220  
6221 \backslash
6222 ignorespaces 
6223 \backslash
6224 fromaddress}} 
6225 \end_layout
6226
6227 \begin_layout LyX-Code
6228
6229 \backslash
6230 nexthead{
6231 \backslash
6232 parbox[b]{
6233 \backslash
6234 textwidth}
6235 \end_layout
6236
6237 \begin_layout LyX-Code
6238   {
6239 \backslash
6240 ignorespaces 
6241 \backslash
6242 fromname 
6243 \backslash
6244 hfill 
6245 \backslash
6246 ignorespaces 
6247 \backslash
6248 pagename
6249 \backslash
6250  
6251 \backslash
6252 thepage}}
6253 \end_layout
6254
6255 \end_inset
6256
6257  A detailed German description of such \SpecialChar LaTeX
6258  commands can be found in the Koma-Script documentation 
6259 \emph on
6260 scrguide
6261 \emph default
6262 .
6263  With it,
6264  the letter's author can produce his personal letter layout.
6265 \end_layout
6266
6267 \begin_layout Standard
6268
6269 \change_deleted 564990737 1672429749
6270 The types 
6271 \family sans
6272 Letter
6273 \family default
6274  and 
6275 \family sans
6276 Opening
6277 \family default
6278  define the beginning of the letter and must be used in every letter.
6279  To emphasize them in the \SpecialChar LyX
6280  document class,
6281  they are marked with the letter 
6282 \shape italic
6283 L
6284 \shape default
6285  or 
6286 \shape italic
6287 O
6288 \shape default
6289 ,
6290  resp.
6291 \begin_inset space ~
6292 \end_inset
6293
6294 in the left margin.
6295  It is possible to write any number of letters in one file.
6296  An 
6297 \family sans
6298 Opening
6299 \family default
6300  type produces a new letter using the same addressee and a 
6301 \family sans
6302 Letter
6303 \family default
6304  type produces a new addressee.
6305  The types 
6306 \family sans
6307 Closing
6308 \family default
6309 ,
6310  
6311 \family sans
6312 PS
6313 \family default
6314 ,
6315  
6316 \family sans
6317 CC
6318 \family default
6319 ,
6320  and 
6321 \family sans
6322 Encl
6323 \family default
6324  are ordinary paragraph types and can also be used several times in one and the same letter.
6325 \end_layout
6326
6327 \begin_layout Itemize
6328
6329 \change_deleted 564990737 1672429749
6330
6331 \family sans
6332 Letter
6333 \family default
6334 :
6335  produces a paragraph for the addressee and implicitly defines the beginning of the letter.
6336 \end_layout
6337
6338 \begin_layout Itemize
6339
6340 \change_deleted 564990737 1672429749
6341
6342 \family sans
6343 Opening
6344 \family default
6345 :
6346  produces a paragraph for the form of address and implicitly produces a new letter.
6347 \end_layout
6348
6349 \begin_layout Itemize
6350
6351 \change_deleted 564990737 1672429749
6352
6353 \family sans
6354 Closing
6355 \family default
6356 :
6357  produces a paragraph for a close.
6358 \end_layout
6359
6360 \begin_layout Itemize
6361
6362 \change_deleted 564990737 1672429749
6363
6364 \family sans
6365 PS
6366 \family default
6367 :
6368  produces a paragraph for a postscript.
6369 \end_layout
6370
6371 \begin_layout Itemize
6372
6373 \change_deleted 564990737 1672429749
6374
6375 \family sans
6376 CC
6377 \family default
6378 :
6379  produces a paragraph for a distribution list.
6380 \end_layout
6381
6382 \begin_layout Itemize
6383
6384 \change_deleted 564990737 1672429749
6385
6386 \family sans
6387 Encl
6388 \family default
6389 :
6390  produces a paragraph for enclosures.
6391 \end_layout
6392
6393 \begin_layout Standard
6394
6395 \change_deleted 564990737 1672429749
6396 The types 
6397 \family sans
6398 Name
6399 \family default
6400 ,
6401  
6402 \family sans
6403 Signature
6404 \family default
6405 ,
6406  
6407 \family sans
6408 Address
6409 \family default
6410 ,
6411  
6412 \family sans
6413 Telephone
6414 \family default
6415 ,
6416  
6417 \family sans
6418 Place
6419 \family default
6420 ,
6421  
6422 \family sans
6423 Backaddress
6424 \family default
6425 ,
6426  
6427 \family sans
6428 Specialmail
6429 \family default
6430 ,
6431  
6432 \family sans
6433 Location
6434 \family default
6435 ,
6436  
6437 \family sans
6438 Title
6439 \family default
6440 ,
6441  and 
6442 \family sans
6443 Subject
6444 \family default
6445  are input types provided with a label to enter information,
6446  which will be processed by the document class.
6447 \begin_inset Foot
6448 status collapsed
6449
6450 \begin_layout Plain Layout
6451 It could be seen as a matter of inconsequence,
6452  that the types 
6453 \family sans
6454 Letter
6455 \family default
6456  and 
6457 \family sans
6458 Opening
6459 \family default
6460  described above are not such input types as well.
6461  Because of the special meaning of those types,
6462  however,
6463  I have implemented them as ordinary paragraph types with a one letter mark in the left margin.
6464  Moreover,
6465  it would affect my feeling of symmetry,
6466  if the 
6467 \family sans
6468 Opening
6469 \family default
6470  type and the 
6471 \family sans
6472 Closing
6473 \family default
6474  type had such a serious different appearance.
6475 \end_layout
6476
6477 \end_inset
6478
6479  The types must be used ahead of the corresponding 
6480 \family sans
6481 Opening
6482 \family default
6483  type.
6484 \end_layout
6485
6486 \begin_layout Standard
6487
6488 \change_deleted 564990737 1672429749
6489 An implementation of these types in a WYSIWYG fashion does not seem to make sense,
6490  because the real appearance of the produced letter does not only depend on the usage of the particular type,
6491  but also on other factors.
6492  For example,
6493  a signature entered in the 
6494 \family sans
6495 Signature
6496 \family default
6497  type will in the standard behavior appear in the produced letter only,
6498  when in the same letter also a 
6499 \family sans
6500 Closing
6501 \family default
6502  type is used.
6503  The entered value of the 
6504 \family sans
6505 Telephone
6506 \family default
6507  type will in the standard behavior not appear in the produced letter at all.
6508  The possibility to design the letter`s heading freely is already indicated in a footnote above.
6509 \end_layout
6510
6511 \begin_layout Standard
6512
6513 \change_deleted 564990737 1672429749
6514 The input types can also be used as empty paragraphs.
6515  This makes sense e.
6516 \begin_inset space \thinspace{}
6517 \end_inset
6518
6519 g.
6520 \begin_inset space \space{}
6521 \end_inset
6522
6523 for the 
6524 \family sans
6525 Signature
6526 \family default
6527  type.
6528  If the 
6529 \family sans
6530 Signature
6531 \family default
6532  type is not used at all,
6533  in the standard behavior the value of the 
6534 \family sans
6535 Name
6536 \family default
6537  type is used as signature,
6538  whereas if an empty 
6539 \family sans
6540 Signature
6541 \family default
6542  type is used,
6543  no signature value is defined.
6544 \end_layout
6545
6546 \begin_layout Standard
6547
6548 \change_deleted 564990737 1672429749
6549 By using the input types it is possible to write a letter template,
6550  containing filled input types with your personal dates (name,
6551  address,
6552  etc.) and empty input types for other dates you want to enter.
6553 \end_layout
6554
6555 \begin_layout Itemize
6556
6557 \change_deleted 564990737 1672429749
6558
6559 \family sans
6560 Name
6561 \family default
6562 :
6563  sender's name,
6564  in the standard behavior appears as a centered paragraph in small caps in the letter`s heading.
6565 \end_layout
6566
6567 \begin_layout Itemize
6568
6569 \change_deleted 564990737 1672429749
6570
6571 \family sans
6572 Signature
6573 \family default
6574 :
6575  sender's signature,
6576  in the standard behavior appears below the 
6577 \family sans
6578 Closing
6579 \family default
6580  type.
6581  If no 
6582 \family sans
6583 Signature
6584 \family default
6585  type is used,
6586  the value of the 
6587 \family sans
6588 Name
6589 \family default
6590  type appears instead.
6591 \end_layout
6592
6593 \begin_layout Itemize
6594
6595 \change_deleted 564990737 1672429749
6596
6597 \family sans
6598 Address
6599 \family default
6600 :
6601  sender's address,
6602  in the standard behavior appears in a centered paragraph in the letter`s heading below the sender's name.
6603 \end_layout
6604
6605 \begin_layout Itemize
6606
6607 \change_deleted 564990737 1672429749
6608
6609 \family sans
6610 Telephone
6611 \family default
6612 :
6613  sender's telephone number,
6614  in the standard behavior only sets the \SpecialChar LaTeX
6615  variable 
6616 \family typewriter
6617
6618 \backslash
6619 telephonenum
6620 \family default
6621 .
6622 \end_layout
6623
6624 \begin_layout Itemize
6625
6626 \change_deleted 564990737 1672429749
6627
6628 \family sans
6629 Place
6630 \family default
6631 :
6632  place of the letter`s making.
6633 \end_layout
6634
6635 \begin_layout Itemize
6636
6637 \change_deleted 564990737 1672429749
6638
6639 \family sans
6640 Date
6641 \family default
6642 :
6643  date of the letter`s making.
6644  
6645 \family sans
6646 Place
6647 \family default
6648  and 
6649 \family sans
6650 Date
6651 \family default
6652 ,
6653  in the standard behavior,
6654  produce the place and the date in a right-aligned line below the addressee's field.
6655  If an empty 
6656 \family sans
6657 Date
6658 \family default
6659  type is used,
6660  neither place nor date appear,
6661  independent of the value of the 
6662 \family sans
6663 Place
6664 \family default
6665  type.
6666  If no 
6667 \family sans
6668 Date
6669 \family default
6670  type is used,
6671  the date of the letter `s production is used.
6672 \end_layout
6673
6674 \begin_layout Itemize
6675
6676 \change_deleted 564990737 1672429749
6677
6678 \family sans
6679 Backaddress
6680 \family default
6681 :
6682  sender`s back address,
6683  in the standard behavior appears above the addressee's field in a small sans serif font.
6684 \end_layout
6685
6686 \begin_layout Itemize
6687
6688 \change_deleted 564990737 1672429749
6689
6690 \family sans
6691 Specialmail
6692 \family default
6693 :
6694  special mail information,
6695  in the standard behavior appears underlined above the addressee's field below the back address.
6696 \end_layout
6697
6698 \begin_layout Itemize
6699
6700 \change_deleted 564990737 1672429749
6701
6702 \family sans
6703 Location
6704 \family default
6705 :
6706  additional information,
6707  in the standard behavior appears on right side below the addressee`s field.
6708 \end_layout
6709
6710 \begin_layout Itemize
6711
6712 \change_deleted 564990737 1672429749
6713
6714 \family sans
6715 Title
6716 \family default
6717 :
6718  the letter's title,
6719  in the standard behavior appears in a big,
6720  bold,
6721  sans serif font above the subject.
6722 \end_layout
6723
6724 \begin_layout Itemize
6725
6726 \change_deleted 564990737 1672429749
6727
6728 \family sans
6729 Subject
6730 \family default
6731 :
6732  the letter's subject,
6733  in the standard behavior appears in a bold font above the 
6734 \family sans
6735 Opening
6736 \family default
6737  paragraph.
6738 \end_layout
6739
6740 \begin_layout Standard
6741
6742 \change_deleted 564990737 1672429749
6743 The types 
6744 \family sans
6745 Yourref
6746 \family default
6747 ,
6748  
6749 \family sans
6750 Yourmail
6751 \family default
6752 ,
6753  
6754 \family sans
6755 Myref
6756 \family default
6757 ,
6758  
6759 \family sans
6760 Customer
6761 \family default
6762 ,
6763  and 
6764 \family sans
6765 Invoice
6766 \family default
6767  produce a business letter like line above the 
6768 \family sans
6769 Title
6770 \family default
6771  line containing the fields 
6772 \begin_inset Quotes eld
6773 \end_inset
6774
6775 Your ref.
6776 \begin_inset Quotes erd
6777 \end_inset
6778
6779 ,
6780  
6781 \begin_inset Quotes eld
6782 \end_inset
6783
6784 Your letter of
6785 \begin_inset Quotes erd
6786 \end_inset
6787
6788 ,
6789  
6790 \begin_inset Quotes eld
6791 \end_inset
6792
6793 Our ref.
6794 \begin_inset Quotes erd
6795 \end_inset
6796
6797 ,
6798  
6799 \begin_inset Quotes eld
6800 \end_inset
6801
6802 Customer no.
6803 \begin_inset Quotes erd
6804 \end_inset
6805
6806 ,
6807  
6808 \begin_inset Quotes eld
6809 \end_inset
6810
6811 Invoice no.
6812 \begin_inset Quotes erd
6813 \end_inset
6814
6815 ,
6816  and 
6817 \begin_inset Quotes eld
6818 \end_inset
6819
6820 Date
6821 \begin_inset Quotes erd
6822 \end_inset
6823
6824 .
6825  For the date field,
6826  the value of the 
6827 \family sans
6828 Date
6829 \family default
6830  type is used.
6831  If one of these 
6832 \begin_inset Quotes eld
6833 \end_inset
6834
6835 business letter types
6836 \begin_inset Quotes erd
6837 \end_inset
6838
6839  is used,
6840  the value of the 
6841 \family sans
6842 Place
6843 \family default
6844  type however does not appear,
6845  but only the \SpecialChar LaTeX
6846  variable 
6847 \family typewriter
6848
6849 \backslash
6850 fromplace
6851 \family default
6852  is set.
6853  The ordinary output of place and date in a right-aligned line below the addressee`s field is suppressed.
6854  The types are implemented as input types provided with a label and must be used ahead of the corresponding 
6855 \family sans
6856 Opening
6857 \family default
6858  type.
6859 \end_layout
6860
6861 \begin_layout Itemize
6862
6863 \change_deleted 564990737 1672429749
6864
6865 \family sans
6866 Yourref
6867 \family default
6868 :
6869  Your ref.
6870 \end_layout
6871
6872 \begin_layout Itemize
6873
6874 \change_deleted 564990737 1672429749
6875
6876 \family sans
6877 Yourmail
6878 \family default
6879 :
6880  Your letter of.
6881 \end_layout
6882
6883 \begin_layout Itemize
6884
6885 \change_deleted 564990737 1672429749
6886
6887 \family sans
6888 Myref
6889 \family default
6890 :
6891  Our ref.
6892 \end_layout
6893
6894 \begin_layout Itemize
6895
6896 \change_deleted 564990737 1672429749
6897
6898 \family sans
6899 Customer
6900 \family default
6901 :
6902  Customer no.
6903 \end_layout
6904
6905 \begin_layout Itemize
6906
6907 \change_deleted 564990737 1672429749
6908
6909 \family sans
6910 Invoice
6911 \family default
6912 :
6913  Invoice no.
6914 \change_unchanged
6915
6916 \end_layout
6917
6918 \begin_layout Subsubsection
6919
6920 \change_deleted 564990737 1672429773
6921 The new letter class:
6922  letter (koma-script v.2)
6923 \change_inserted 564990737 1672429774
6924
6925 \begin_inset CommandInset label
6926 LatexCommand label
6927 name "subsec:The-new-letter"
6928
6929 \end_inset
6930
6931 The new letter class:
6932  
6933 \change_inserted -712698321 1673092709
6934 KOMA-Script 
6935 \change_deleted -712698321 1673092710
6936 l
6937 \change_inserted -712698321 1673092710
6938 L
6939 \change_inserted 564990737 1672429774
6940 etter (
6941 \change_deleted -712698321 1673092713
6942 KOMA-Script v
6943 \change_inserted -712698321 1673092714
6944 V
6945 \change_inserted 564990737 1672429774
6946 .
6947
6948 \change_inserted -712698321 1673092715
6949  
6950 \change_inserted 564990737 1672429774
6951 2)
6952 \change_unchanged
6953
6954 \end_layout
6955
6956 \begin_layout Standard
6957 by 
6958 \noun on
6959 Jürgen Spitzmüller
6960 \end_layout
6961
6962 \begin_layout Standard
6963 \begin_inset VSpace medskip
6964 \end_inset
6965
6966
6967 \end_layout
6968
6969 \begin_layout Standard
6970 \noindent
6971 Koma-Script version 2.8 has introduced a new letter class 
6972 \family typewriter
6973 scrlttr2
6974 \family default
6975  which supersedes the now unsupported 
6976 \family typewriter
6977 scrlettr
6978 \family default
6979 .
6980  It has —
6981  on the \SpecialChar LaTeX
6982  side —
6983  a completely new interface and is not compatible with the old class.
6984  Therefore,
6985  \SpecialChar LyX
6986  supports both,
6987  though it is recommended you use the new class.
6988 \end_layout
6989
6990 \begin_layout Standard
6991 This class covers the same functionality as 
6992 \emph on
6993 letter (koma-script),
6994
6995 \emph default
6996  and a few more.
6997  The basic items are 
6998 \family sans
6999 Address
7000 \family default
7001  (receiver's address,
7002  same as 
7003 \family sans
7004 Letter
7005 \family default
7006  in the old layout),
7007  
7008 \family sans
7009 Opening
7010 \family default
7011 ,
7012  and 
7013 \family sans
7014 Closing
7015 \family default
7016 .
7017  
7018 \family sans
7019 NextAddress
7020 \family default
7021  will start a new letter (i.
7022 \begin_inset space \thinspace{}
7023 \end_inset
7024
7025 e.
7026 \begin_inset space \space{}
7027 \end_inset
7028
7029 you can write several letters per document).
7030  New elements are sender's 
7031 \family sans
7032 E-Mail
7033 \family default
7034 ,
7035  
7036 \family sans
7037 URL
7038 \family default
7039 ,
7040  
7041 \family sans
7042 Fax
7043 \family default
7044 ,
7045  
7046 \family sans
7047 Bank
7048 \family default
7049  and the possibility to use a 
7050 \family sans
7051 Logo
7052 \family default
7053  (via 
7054 \family sans
7055 Insert\SpecialChar menuseparator
7056 Graphics
7057 \family default
7058 ) in the header.
7059 \end_layout
7060
7061 \begin_layout Standard
7062 The biggest improvement is,
7063  though,
7064  that the letter's layout is configurable to meet almost any needs.
7065  This can be done via the preamble or with a special style file (Letter Class Option,
7066  extension 
7067 \family typewriter
7068 *.lco
7069 \family default
7070 ),
7071  that will be read in as a class option.
7072 \begin_inset Foot
7073 status collapsed
7074
7075 \begin_layout Plain Layout
7076 The KOMA package comes with some default 
7077 \family typewriter
7078 *.lco
7079 \family default
7080  files.
7081  There is,
7082  for instance,
7083  a 
7084 \family typewriter
7085 DIN.lco
7086 \family default
7087  file that follows german typesetting rules,
7088  or a 
7089 \family typewriter
7090 KOMAold.lco
7091 \family default
7092  that provides the default layout of the old 
7093 \family typewriter
7094 scrlettr
7095 \family default
7096  class.
7097  The latter can be loaded with the class option 
7098 \family typewriter
7099 KOMAold
7100 \family default
7101 ,
7102  inserted via the 
7103 \family sans
7104 Layout\SpecialChar menuseparator
7105 Document\SpecialChar menuseparator
7106 Extra Options
7107 \family default
7108  field.
7109 \end_layout
7110
7111 \end_inset
7112
7113  Have a look at the
7114 \change_deleted 564990737 1671617922
7115  
7116 \emph on
7117 koma-letter2
7118 \change_unchanged
7119
7120 \emph default
7121  template 
7122 \change_deleted 564990737 1671617938
7123 that is included in \SpecialChar LyX
7124  for examples
7125 \change_inserted 564990737 1671617997
7126  in 
7127 \family sans
7128 \bar under
7129 F
7130 \bar default
7131 ile\SpecialChar menuseparator
7132 New
7133 \begin_inset space ~
7134 \end_inset
7135
7136 fro
7137 \bar under
7138 m
7139 \bar default
7140
7141 \begin_inset space ~
7142 \end_inset
7143
7144 Template\SpecialChar menuseparator
7145 Letters\SpecialChar menuseparator
7146 KOMA-Script Letter (V.2)
7147 \change_unchanged
7148
7149 \family default
7150 .
7151  A detailed description is to be found in the Koma-Script documentation (
7152 \emph on
7153 scrguide
7154 \emph default
7155 ).
7156 \end_layout
7157
7158 \begin_layout Subsubsection
7159 Problems
7160 \end_layout
7161
7162 \begin_layout Standard
7163 Visualizing the Koma-Script document classes in \SpecialChar LyX
7164 ,
7165  the \SpecialChar LyX
7166  internals cause some problems.
7167 \end_layout
7168
7169 \begin_layout Itemize
7170 The chapter number of a 
7171 \family sans
7172 Chapter
7173 \family default
7174  type appears on a line of its own above the chapter heading instead of appearing in the same line ahead of it.
7175  The cause for that is the \SpecialChar LyX
7176  internal behavior for the labeltype 
7177 \family sans
7178 Counter_Chapter
7179 \family default
7180  in the layout file.
7181 \end_layout
7182
7183 \begin_layout Itemize
7184 The headings of the types 
7185 \family sans
7186 Addchap
7187 \family default
7188  and 
7189 \family sans
7190 Addsec
7191 \family default
7192  are only put in the 
7193 \begin_inset Quotes eld
7194 \end_inset
7195
7196 true
7197 \begin_inset Quotes erd
7198 \end_inset
7199
7200  \SpecialChar LaTeX
7201  table of contents,
7202  but not in the \SpecialChar LyX
7203  table of contents (
7204 \family sans
7205 Document\SpecialChar menuseparator
7206 Table
7207 \begin_inset space ~
7208 \end_inset
7209
7210 of
7211 \begin_inset space ~
7212 \end_inset
7213
7214 Contents
7215 \family default
7216 ).
7217 \end_layout
7218
7219 \begin_layout Itemize
7220 The paragraphs in a 
7221 \emph on
7222 letter
7223 \emph default
7224  document class appear in a skip separation mode,
7225  not indented.
7226  This is the standard behavior,
7227  no special \SpecialChar LaTeX
7228  commands are needed for that.
7229  But in the 
7230 \family sans
7231 Document\SpecialChar menuseparator
7232 Settings
7233 \family default
7234  dialog the corresponding radio button indicates 
7235 \family sans
7236 Indent
7237 \family default
7238 .
7239  A 
7240 \family sans
7241 Skip
7242 \family default
7243  value always has the effect that extra \SpecialChar LaTeX
7244  commands are inserted in the document to produce the gap,
7245  which is not what is wanted in this case.
7246 \end_layout
7247
7248 \begin_layout Subsection
7249
7250 \change_inserted 564990737 1672743555
7251 \begin_inset CommandInset label
7252 LatexCommand label
7253 name "subsec:Polish-M.W.collection"
7254
7255 \end_inset
7256
7257 Polish M.
7258 \begin_inset space \thinspace{}
7259 \end_inset
7260
7261 W.
7262 \begin_inset space \space{}
7263 \end_inset
7264
7265 collection
7266 \change_deleted 564990737 1670924933
7267 Article (mwart),
7268  book (mwbk) and report (mwrep)
7269 \begin_inset Argument status
7270 status collapsed
7271
7272 \begin_layout Plain Layout
7273 The 
7274 \family typewriter
7275 mw
7276 \family default
7277  Classes
7278 \end_layout
7279
7280 \end_inset
7281
7282
7283 \change_unchanged
7284
7285 \end_layout
7286
7287 \begin_layout Standard
7288 by 
7289 \noun on
7290 Tomasz Luczak
7291 \end_layout
7292
7293 \begin_layout Standard
7294 The \SpecialChar LyX
7295  document classes 
7296 \change_deleted -712698321 1673094342
7297
7298 \emph on
7299 article (mwart)
7300 \change_inserted -712698321 1673094343
7301 Polish Article (MW Bundle)
7302 \change_unchanged
7303
7304 \emph default
7305 ,
7306  
7307 \change_deleted -712698321 1673094349
7308
7309 \emph on
7310 report (mwrep)
7311 \change_inserted -712698321 1673094356
7312 Polish Report (MW Bundle)
7313 \change_unchanged
7314
7315 \emph default
7316  and 
7317 \change_deleted -712698321 1673094352
7318
7319 \emph on
7320 book
7321 \emph default
7322  
7323 \emph on
7324 (mwbk)
7325 \change_inserted -712698321 1673094359
7326 Polish Book (MW Bundle)
7327 \change_unchanged
7328
7329 \emph default
7330  correspond to the \SpecialChar LaTeX
7331  document classes 
7332 \family typewriter
7333 mwart.cls
7334 \family default
7335 ,
7336  
7337 \family typewriter
7338 mwrep.cls
7339 \family default
7340  and 
7341 \family typewriter
7342 mwbk.cls
7343 \family default
7344 ,
7345  resp.
7346  They are replacements for the standard document classes 
7347 \family typewriter
7348 article.cls
7349 \family default
7350 ,
7351  
7352 \family typewriter
7353 report.cls
7354 \family default
7355  and 
7356 \family typewriter
7357 book.cls
7358 \family default
7359 ,
7360  resp.,
7361  and fit better to Polish typography conventions in a number of points.
7362  
7363 \end_layout
7364
7365 \begin_layout Standard
7366 Basic differences:
7367 \end_layout
7368
7369 \begin_layout Itemize
7370 Unnumbered titles (with star,
7371  e.
7372 \begin_inset space \thinspace{}
7373 \end_inset
7374
7375 g.
7376 \begin_inset space \space{}
7377 \end_inset
7378
7379
7380 \family sans
7381 Section*
7382 \family default
7383 ) are added into table of contents,
7384 \end_layout
7385
7386 \begin_layout Itemize
7387 Additional page styles:
7388 \end_layout
7389
7390 \begin_deeper
7391 \begin_layout Description
7392 uheadings header with separated lines,
7393 \end_layout
7394
7395 \begin_layout Description
7396 myheadings custom header,
7397  contents headers via commands:
7398  
7399 \family typewriter
7400
7401 \backslash
7402 markright
7403 \family default
7404  and 
7405 \family typewriter
7406
7407 \backslash
7408 markboth
7409 \family default
7410 ,
7411 \end_layout
7412
7413 \begin_layout Description
7414 myuheadings custom header with separated lines,
7415 \end_layout
7416
7417 \begin_layout Description
7418 outer page number is placed on outer side of page
7419 \end_layout
7420
7421 \end_deeper
7422 \begin_layout Itemize
7423 Options 
7424 \end_layout
7425
7426 \begin_deeper
7427 \begin_layout Description
7428 rmheadings serif titles —
7429  default,
7430 \end_layout
7431
7432 \begin_layout Description
7433 sfheadings sansserif titles,
7434 \end_layout
7435
7436 \begin_layout Description
7437 authortitle on title page first placed is author next title —
7438  default,
7439 \end_layout
7440
7441 \begin_layout Description
7442 titleauthor on title page first placed is title next author,
7443 \end_layout
7444
7445 \begin_layout Description
7446 withmarginpar reserve place on page for margins.
7447 \end_layout
7448
7449 \end_deeper
7450 \begin_layout Subsection
7451
7452 \change_inserted 564990737 1672652245
7453 Tufte Collection
7454 \end_layout
7455
7456 \begin_layout Standard
7457
7458 \change_inserted 564990737 1672652245
7459 The document classes 
7460 \change_deleted -712698321 1673094404
7461
7462 \family sans
7463 book
7464 \begin_inset space \thinspace{}
7465 \end_inset
7466
7467 (Tufte)
7468 \change_inserted -712698321 1673094404
7469 Tufte Book
7470 \change_inserted 564990737 1672652245
7471
7472 \family default
7473  and 
7474 \change_deleted -712698321 1673094408
7475
7476 \family sans
7477 handout
7478 \begin_inset space \thinspace{}
7479 \end_inset
7480
7481 (Tufte)
7482 \change_inserted -712698321 1673094411
7483 Tufte Handout
7484 \change_inserted 564990737 1672652245
7485
7486 \family default
7487  use the 
7488 \family typewriter
7489 tufte-book.cls
7490 \family default
7491  and 
7492 \family typewriter
7493 tufte-handout.cls
7494 \family default
7495  document classes.
7496  Detailed information about these document classes can be found in 
7497 \family sans
7498 File\SpecialChar menuseparator
7499 Open Example\SpecialChar menuseparator
7500 Books\SpecialChar menuseparator
7501 Tufte Book
7502 \family default
7503  and 
7504 \family sans
7505 File\SpecialChar menuseparator
7506 Open Example\SpecialChar menuseparator
7507 Handouts\SpecialChar menuseparator
7508 Tufte Handout
7509 \family default
7510 .
7511 \end_layout
7512
7513 \begin_layout Section
7514
7515 \change_inserted 564990737 1670439534
7516 Articles
7517 \end_layout
7518
7519 \begin_layout Standard
7520
7521 \change_inserted 564990737 1670794710
7522 See also the document classes in the Collections (section
7523 \begin_inset space ~
7524 \end_inset
7525
7526
7527 \begin_inset CommandInset ref
7528 LatexCommand ref
7529 reference "sec:Collections"
7530 nolink "false"
7531
7532 \end_inset
7533
7534 ).
7535 \end_layout
7536
7537 \begin_layout Subsection
7538
7539 \change_deleted -712698321 1673095198
7540 A&A Paper
7541 \change_inserted -712698321 1673095198
7542 Astronomy & Astrophysics
7543 \change_inserted 564990737 1670794716
7544
7545 \end_layout
7546
7547 \begin_layout Standard
7548
7549 \change_inserted 564990737 1670794716
7550 Original by 
7551 \noun on
7552 Peter Sütterlin
7553 \noun default
7554 ;
7555  updated by the \SpecialChar LyX
7556  Team
7557 \end_layout
7558
7559 \begin_layout Subsubsection
7560
7561 \change_inserted 564990737 1670794716
7562 Introduction
7563 \end_layout
7564
7565 \begin_layout Standard
7566
7567 \change_inserted 564990737 1670794716
7568 This section describes how \SpecialChar LyX
7569  can be used to write articles for submission to the scientific journal 
7570 \emph on
7571 Astronomy 
7572 \change_deleted -712698321 1673095254
7573 and
7574 \change_inserted -712698321 1673095254
7575 &
7576 \change_inserted 564990737 1670794716
7577  Astrophysics
7578 \emph default
7579  (
7580 \begin_inset CommandInset href
7581 LatexCommand href
7582 name "aa-package"
7583 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
7584 literal "false"
7585
7586 \end_inset
7587
7588 ) using Version 9.1 of the document class 
7589 \family typewriter
7590 aa.cls
7591 \family default
7592 ;
7593  information about it is available at 
7594 \begin_inset Flex URL
7595 status collapsed
7596
7597 \begin_layout Plain Layout
7598
7599 \change_inserted 564990737 1670794716
7600
7601 https://www.aanda.org/for-authors/latex-issues/texnical-background-information
7602 \change_unchanged
7603
7604 \end_layout
7605
7606 \end_inset
7607
7608 .
7609 \end_layout
7610
7611 \begin_layout Standard
7612
7613 \change_inserted 564990737 1670794716
7614 A manual comes together with the package and should be consulted before installing this document class as described in the 
7615 \emph on
7616 Installing New Document Classe
7617 \emph default
7618 s section of the 
7619 \emph on
7620 Customization
7621 \emph default
7622  manual.
7623  
7624 \end_layout
7625
7626 \begin_layout Standard
7627
7628 \change_inserted 564990737 1670794716
7629 \begin_inset Note Greyedout
7630 status open
7631
7632 \begin_layout Plain Layout
7633
7634 \change_inserted 564990737 1670794716
7635 Please note that the publisher of the journal was changed from Springer to EDP Sciences starting January 1,
7636  2001.
7637  That change also involved some slight changes to the style files,
7638  namely the removal of the thesaurus command.
7639  If you have an older version installed,
7640  please upgrade.
7641  For information about compatibility with the old (version 4) layout,
7642  please refer to the comments in 
7643 \family typewriter
7644 \SpecialChar LyX
7645 Dir/layouts/aapaper.layout
7646 \family default
7647 .
7648 \end_layout
7649
7650 \end_inset
7651
7652
7653 \end_layout
7654
7655 \begin_layout Subsubsection
7656
7657 \change_inserted 564990737 1670794716
7658 Getting started
7659 \end_layout
7660
7661 \begin_layout Standard
7662
7663 \change_inserted 564990737 1671617129
7664 It is recommended you start from the template in the menu 
7665 \family sans
7666 \bar under
7667 F
7668 \bar default
7669 ile\SpecialChar menuseparator
7670 New
7671 \begin_inset space ~
7672 \end_inset
7673
7674 fro
7675 \bar under
7676 m
7677 \bar default
7678
7679 \begin_inset space ~
7680 \end_inset
7681
7682 Template\SpecialChar menuseparator
7683 Articles\SpecialChar menuseparator
7684 Astronomy & Astrophysics
7685 \family default
7686 .
7687  If you are not using the template,
7688  note the following settings:
7689 \end_layout
7690
7691 \begin_layout Itemize
7692
7693 \change_inserted 564990737 1670794716
7694 Select 
7695 \change_deleted -712698321 1673095619
7696
7697 \family sans
7698 article (A&A)
7699 \change_inserted -712698321 1673095619
7700 Astronomy & Astrophysics
7701 \change_inserted 564990737 1670794716
7702
7703 \family default
7704  in the 
7705 \family sans
7706 \bar under
7707 D
7708 \bar default
7709 ocument\SpecialChar menuseparator
7710
7711 \bar under
7712 S
7713 \bar default
7714 ettings\SpecialChar menuseparator
7715 Document
7716 \begin_inset space ~
7717 \end_inset
7718
7719 Class
7720 \family default
7721  dialog (OK,
7722  that one was obvious).
7723 \end_layout
7724
7725 \begin_layout Itemize
7726
7727 \change_inserted 564990737 1670794716
7728 Don't change the 
7729 \family sans
7730 Headings
7731 \begin_inset space ~
7732 \end_inset
7733
7734
7735 \bar under
7736 s
7737 \bar default
7738 tyle
7739 \family default
7740  in the 
7741 \family sans
7742 Page
7743 \begin_inset space ~
7744 \end_inset
7745
7746 Layout
7747 \family default
7748  dialog:
7749  leave it set to 
7750 \family sans
7751 Default
7752 \family default
7753 .
7754  The whole layout is done by the macros,
7755  you shouldn't change anything.
7756 \end_layout
7757
7758 \begin_layout Subsubsection
7759
7760 \change_inserted 564990737 1670794716
7761 The header block
7762 \end_layout
7763
7764 \begin_layout Standard
7765
7766 \change_inserted 564990737 1670794716
7767 First thing to enter is the header information.
7768  It consists of 
7769 \change_deleted -712698321 1673167006
7770 five
7771 \change_inserted -712698321 1673167007
7772 seven
7773 \change_inserted 564990737 1670794716
7774  entries,
7775  of which one is optional.
7776  They are
7777 \end_layout
7778
7779 \begin_layout Itemize
7780
7781 \change_inserted 564990737 1670794716
7782
7783 \family sans
7784 Title
7785 \family default
7786 :
7787  [required] 
7788 \end_layout
7789
7790 \begin_layout Itemize
7791
7792 \change_inserted 564990737 1670794716
7793
7794 \family sans
7795 Subtitle
7796 \family default
7797 :
7798  [optional] 
7799 \end_layout
7800
7801 \begin_layout Itemize
7802
7803 \change_inserted 564990737 1670794716
7804
7805 \family sans
7806 Author
7807 \family default
7808 :
7809  [required]
7810 \end_layout
7811
7812 \begin_layout Itemize
7813
7814 \change_deleted -712698321 1673167065
7815
7816 \family sans
7817 Institute
7818 \change_inserted -712698321 1673167065
7819 Address
7820 \change_inserted 564990737 1670794716
7821
7822 \family default
7823 :
7824  [required]
7825 \change_inserted -712698321 1673167087
7826
7827 \end_layout
7828
7829 \begin_layout Itemize
7830
7831 \change_inserted -712698321 1673168577
7832
7833 \family sans
7834 Offprints
7835 \family default
7836  [optional].
7837  Determines to whom correspondence and reprints are to be sent.
7838 \end_layout
7839
7840 \begin_layout Itemize
7841
7842 \change_inserted -712698321 1673168590
7843
7844 \family sans
7845 Mail
7846 \family default
7847  [optional] Snail mail address for contacts.
7848 \change_inserted 564990737 1670794716
7849
7850 \end_layout
7851
7852 \begin_layout Itemize
7853
7854 \change_inserted 564990737 1670794716
7855
7856 \family sans
7857 Date
7858 \family default
7859 :
7860  [required].
7861  Suggested format is 
7862 \family typewriter
7863 Received:
7864  <date>;
7865  Accepted <date> 
7866 \end_layout
7867
7868 \begin_layout Standard
7869
7870 \change_inserted -712698321 1673168612
7871 There is no need to issue the 
7872 \family typewriter
7873
7874 \backslash
7875 maketitle
7876 \family default
7877  command,
7878  this is done automatically by \SpecialChar LyX
7879  when the header is finished.
7880  
7881 \change_inserted 564990737 1670794716
7882 Although the order of the single header entries doesn't matter it is advised to keep the above sequence,
7883  just to get the best optics and meets the layout of the real document.
7884 \end_layout
7885
7886 \begin_layout Standard
7887
7888 \change_inserted 564990737 1670794716
7889 If you want to place footnotes in the header block,
7890  e.
7891 \begin_inset space \thinspace{}
7892 \end_inset
7893
7894 g.
7895 \begin_inset space \space{}
7896 \end_inset
7897
7898 to state your present address,
7899  just use the standard footnote via the menu 
7900 \family sans
7901 \bar under
7902 I
7903 \bar default
7904 nsert\SpecialChar menuseparator
7905
7906 \bar under
7907 F
7908 \bar default
7909 ootnote.
7910
7911 \family default
7912  \SpecialChar LyX
7913  will automagically use the term 
7914 \family typewriter
7915
7916 \backslash
7917 thanks{}
7918 \family default
7919  in that case.
7920 \change_inserted -712698321 1673168649
7921
7922 \end_layout
7923
7924 \begin_layout Standard
7925
7926 \change_inserted -712698321 1673168649
7927 Under 
7928 \family sans
7929 Edit\SpecialChar menuseparator
7930 Text Style
7931 \family default
7932 ,
7933  you'll find two insets which are relevant for the titling:
7934 \end_layout
7935
7936 \begin_layout Itemize
7937
7938 \change_inserted -712698321 1673168649
7939
7940 \family sans
7941 Institute
7942 \family typewriter
7943  
7944 \family default
7945 to mark corresponding author\SpecialChar breakableslash
7946 institute pairs.
7947  The institutes are numbered sequentially as they appear in the 
7948 \family sans
7949 Address
7950 \family default
7951  field,
7952  so you have to put a marker to each author.
7953 \end_layout
7954
7955 \begin_layout Itemize
7956
7957 \change_inserted -712698321 1673168649
7958
7959 \family sans
7960 Email
7961 \family default
7962  to supply an email address for fast contact.
7963 \change_inserted 564990737 1670794716
7964
7965 \end_layout
7966
7967 \begin_layout Standard
7968
7969 \change_inserted 564990737 1670794716
7970 In addition to these topics,
7971  the macros use three additional \SpecialChar LaTeX
7972  commands that have no counterpart in \SpecialChar LyX
7973 :
7974 \end_layout
7975
7976 \begin_layout Itemize
7977
7978 \change_inserted 564990737 1670794716
7979
7980 \family typewriter
7981
7982 \backslash
7983 and
7984 \family default
7985  to separate different names for more than one author and institute,
7986  respectively.
7987 \end_layout
7988
7989 \begin_layout Itemize
7990
7991 \change_deleted -712698321 1673168671
7992
7993 \family typewriter
7994
7995 \backslash
7996 inst{<nr>}
7997 \family default
7998  to mark corresponding author/institute pairs.
7999  The institutes are numbered sequentially as they appear in the 
8000 \family sans
8001 Institute
8002 \family default
8003  field,
8004  so you have to put a marker to each author.
8005 \end_layout
8006
8007 \begin_layout Itemize
8008
8009 \change_deleted -712698321 1673168671
8010
8011 \family typewriter
8012
8013 \backslash
8014 email{address}
8015 \family default
8016  to supply an email address for fast contact.
8017 \change_inserted 564990737 1670794716
8018
8019 \end_layout
8020
8021 \begin_layout Standard
8022
8023 \change_deleted -712698321 1673168684
8024 In all cases,
8025  t
8026 \change_inserted -712698321 1673168684
8027 T
8028 \change_inserted 564990737 1671642374
8029 he appropriate command has to be entered as \SpecialChar TeX
8030  code in \SpecialChar LyX
8031 .
8032  See the examples in the template and in 
8033 \family sans
8034 File\SpecialChar menuseparator
8035 Open Example\SpecialChar menuseparator
8036 Articles\SpecialChar menuseparator
8037 Astronomy & Astrophysics
8038 \family default
8039 .
8040 \change_unchanged
8041
8042 \end_layout
8043
8044 \begin_layout Subsubsection
8045
8046 \change_inserted 564990737 1670794716
8047 The abstract
8048 \end_layout
8049
8050 \begin_layout Standard
8051
8052 \change_inserted -712698321 1673168754
8053 The abstract should immediately follow the header block.
8054  With version 5 the abstract environment was changed to a command,
8055  and there is now a restriction to only one paragraph.
8056  In addition,
8057  it should contain an entry with the keywords.
8058  This is done via the paragraph style 
8059 \family sans
8060 Keywords
8061 \family default
8062 .
8063  Refer to the example paper.
8064 \change_deleted -712698321 1673168754
8065 The abstract should immediately follow the header block and must contain five tokens:
8066  
8067 \family typewriter
8068
8069 \backslash
8070 abstract{}{}{}{}{}
8071 \family default
8072  
8073 \end_layout
8074
8075 \begin_layout Enumerate
8076
8077 \change_deleted -712698321 1673168754
8078
8079 \family typewriter
8080 context heading
8081 \family default
8082  (optional) {} leave it empty if necessary 
8083 \end_layout
8084
8085 \begin_layout Enumerate
8086
8087 \change_deleted -712698321 1673168754
8088
8089 \family typewriter
8090 aims heading
8091 \family default
8092  (mandatory) {} 
8093 \end_layout
8094
8095 \begin_layout Enumerate
8096
8097 \change_deleted -712698321 1673168754
8098
8099 \family typewriter
8100 methods heading
8101 \family default
8102  (mandatory) {} 
8103 \end_layout
8104
8105 \begin_layout Enumerate
8106
8107 \change_deleted -712698321 1673168754
8108
8109 \family typewriter
8110 results heading
8111 \family default
8112  (mandatory) {} 
8113 \end_layout
8114
8115 \begin_layout Enumerate
8116
8117 \change_deleted -712698321 1673168754
8118
8119 \family typewriter
8120 conclusions heading
8121 \family default
8122  (optional) {} leave it empty if necessary 
8123 \end_layout
8124
8125 \begin_layout Standard
8126
8127 \change_deleted -712698321 1673168754
8128 (NB.
8129  This structure not shown in 
8130 \emph on
8131 aa_sample.lyx.
8132 \emph default
8133 )
8134 \change_inserted 564990737 1670794716
8135
8136 \end_layout
8137
8138 \begin_layout Subsubsection
8139
8140 \change_inserted 564990737 1670794716
8141 Supported environments
8142 \end_layout
8143
8144 \begin_layout Standard
8145
8146 \change_inserted 564990737 1670794716
8147 The A&A paper layout supports the following environments for structuring your text:
8148 \end_layout
8149
8150 \begin_layout Standard
8151
8152 \change_inserted -712698321 1673169058
8153
8154 \family sans
8155 \begin_inset Flex Multiple Columns
8156 status open
8157
8158 \begin_layout Itemize
8159
8160 \change_inserted -712698321 1673169058
8161
8162 \family sans
8163 Standard
8164 \end_layout
8165
8166 \begin_layout Itemize
8167
8168 \change_inserted -712698321 1673169058
8169
8170 \family sans
8171 Section
8172 \end_layout
8173
8174 \begin_layout Itemize
8175
8176 \change_inserted -712698321 1673169058
8177
8178 \family sans
8179 Subsection
8180 \end_layout
8181
8182 \begin_layout Itemize
8183
8184 \change_inserted -712698321 1673169058
8185
8186 \family sans
8187 Subsubsection
8188 \end_layout
8189
8190 \begin_layout Itemize
8191
8192 \change_inserted -712698321 1673169058
8193
8194 \family sans
8195 Itemize
8196 \end_layout
8197
8198 \begin_layout Itemize
8199
8200 \change_inserted -712698321 1673169058
8201
8202 \family sans
8203 Enumerate
8204 \end_layout
8205
8206 \begin_layout Itemize
8207
8208 \change_inserted -712698321 1673169058
8209
8210 \family sans
8211 Description
8212 \end_layout
8213
8214 \begin_layout Itemize
8215
8216 \change_inserted -712698321 1673169058
8217
8218 \family sans
8219 Caption
8220 \end_layout
8221
8222 \begin_layout Itemize
8223
8224 \change_inserted -712698321 1673169058
8225
8226 \family sans
8227 Abstract
8228 \end_layout
8229
8230 \begin_layout Itemize
8231
8232 \change_inserted -712698321 1673169058
8233
8234 \family sans
8235 Acknowledgment
8236 \end_layout
8237
8238 \begin_layout Itemize
8239
8240 \change_inserted -712698321 1673169058
8241
8242 \family sans
8243 Bibliography
8244 \end_layout
8245
8246 \begin_layout Itemize
8247
8248 \change_inserted -712698321 1673169078
8249 LaTeX
8250 \change_unchanged
8251
8252 \end_layout
8253
8254 \end_inset
8255
8256
8257 \change_deleted -712698321 1673169058
8258 Standard
8259 \end_layout
8260
8261 \begin_layout Itemize
8262
8263 \change_deleted -712698321 1673169058
8264
8265 \family sans
8266 Section
8267 \end_layout
8268
8269 \begin_layout Itemize
8270
8271 \change_deleted -712698321 1673169058
8272
8273 \family sans
8274 Subsection
8275 \end_layout
8276
8277 \begin_layout Itemize
8278
8279 \change_deleted -712698321 1673169058
8280
8281 \family sans
8282 Subsubsection
8283 \end_layout
8284
8285 \begin_layout Itemize
8286
8287 \change_deleted -712698321 1673169058
8288
8289 \family sans
8290 Itemize
8291 \end_layout
8292
8293 \begin_layout Itemize
8294
8295 \change_deleted -712698321 1673169058
8296
8297 \family sans
8298 Enumerate
8299 \end_layout
8300
8301 \begin_layout Itemize
8302
8303 \change_deleted -712698321 1673169058
8304
8305 \family sans
8306 Description
8307 \end_layout
8308
8309 \begin_layout Itemize
8310
8311 \change_deleted -712698321 1673169058
8312
8313 \family sans
8314 Caption
8315 \end_layout
8316
8317 \begin_layout Itemize
8318
8319 \change_deleted -712698321 1673169058
8320
8321 \family sans
8322 Abstract
8323 \end_layout
8324
8325 \begin_layout Itemize
8326
8327 \change_deleted -712698321 1673169058
8328
8329 \family sans
8330 Acknowledgment
8331 \end_layout
8332
8333 \begin_layout Itemize
8334
8335 \change_deleted -712698321 1673169058
8336
8337 \family sans
8338 Bibliography
8339 \end_layout
8340
8341 \begin_layout Itemize
8342
8343 \change_deleted -712698321 1673169058
8344
8345 \family sans
8346 \SpecialChar LaTeX
8347
8348 \change_inserted 564990737 1670794716
8349
8350 \end_layout
8351
8352 \begin_layout Subsubsection
8353
8354 \change_inserted 564990737 1670794716
8355 Commands not supported by \SpecialChar LyX
8356
8357 \end_layout
8358
8359 \begin_layout Standard
8360
8361 \change_inserted 564990737 1670794716
8362 Some commands are not yet supported by the 
8363 \change_deleted -712698321 1673169117
8364
8365 \family sans
8366 paper (A&A)
8367 \change_inserted -712698321 1673169117
8368 Astronomy & Astrophysics
8369 \change_inserted 564990737 1670794716
8370
8371 \family default
8372  layout for \SpecialChar LyX
8373 .
8374  Some have already been mentioned.
8375  For the sake of completeness,
8376  they are listed all together here:
8377 \end_layout
8378
8379 \begin_layout Itemize
8380
8381 \change_inserted 564990737 1670794716
8382
8383 \family typewriter
8384
8385 \backslash
8386 and
8387 \end_layout
8388
8389 \begin_layout Itemize
8390
8391 \change_inserted -712698321 1673168793
8392
8393 \family typewriter
8394
8395 \backslash
8396 authorrunning
8397 \end_layout
8398
8399 \begin_layout Itemize
8400
8401 \change_inserted -712698321 1673168793
8402
8403 \family typewriter
8404
8405 \backslash
8406 object{}
8407 \end_layout
8408
8409 \begin_layout Itemize
8410
8411 \change_inserted -712698321 1673168793
8412
8413 \family typewriter
8414
8415 \backslash
8416 titlerunning{}
8417 \change_deleted -712698321 1673168793
8418
8419 \backslash
8420 email
8421 \end_layout
8422
8423 \begin_layout Itemize
8424
8425 \change_deleted -712698321 1673168793
8426
8427 \family typewriter
8428
8429 \backslash
8430 inst{}
8431 \end_layout
8432
8433 \begin_layout Itemize
8434
8435 \change_deleted -712698321 1673168793
8436
8437 \family typewriter
8438
8439 \backslash
8440 keywords{}
8441 \end_layout
8442
8443 \begin_layout Itemize
8444
8445 \change_deleted -712698321 1673168793
8446
8447 \family typewriter
8448
8449 \backslash
8450 object{}
8451 \change_inserted 564990737 1670794716
8452
8453 \end_layout
8454
8455 \begin_layout Standard
8456
8457 \change_inserted 564990737 1670794716
8458 If you want to use any of these commands,
8459  you have to enter them yourself.
8460  Do not forget to use
8461 \family sans
8462  
8463 \bar under
8464 I
8465 \bar default
8466 nsert\SpecialChar menuseparator
8467 \SpecialChar TeX
8468
8469 \begin_inset space ~
8470 \end_inset
8471
8472 Code
8473 \family default
8474 !
8475 \end_layout
8476
8477 \begin_layout Subsubsection
8478
8479 \change_inserted 564990737 1670794716
8480 Figure and Table Floats
8481 \end_layout
8482
8483 \begin_layout Standard
8484
8485 \change_inserted 564990737 1670794716
8486 \SpecialChar LyX
8487  provides support for the necessary float environments 
8488 \family sans
8489 figure,
8490  figure*,
8491  table
8492 \family default
8493  and 
8494 \family sans
8495 table*
8496 \family default
8497 ,
8498  therefore we won't tell much about it here.
8499  Refer to the 
8500 \emph on
8501 User's
8502 \begin_inset space ~
8503 \end_inset
8504
8505 Guide
8506 \emph default
8507 .
8508  Just remember that tables should be left-aligned.
8509  For that,
8510  select the table and change the alignment in 
8511 \family sans
8512 \bar under
8513 E
8514 \bar default
8515 dit\SpecialChar menuseparator
8516
8517 \bar under
8518 P
8519 \bar default
8520 aragraph
8521 \begin_inset space ~
8522 \end_inset
8523
8524 Settings
8525 \change_inserted -712698321 1673169201
8526
8527 \family default
8528  (
8529 \begin_inset Info
8530 type  "icon"
8531 arg   "layout-paragraph"
8532 \end_inset
8533
8534 )
8535 \change_inserted 564990737 1670794716
8536
8537 \family sans
8538 .
8539 \end_layout
8540
8541 \begin_layout Standard
8542
8543 \change_inserted 564990737 1670794716
8544 There is only one special thing:
8545  the figures with a caption beside the figure.
8546  To create such a figure,
8547  you have to do the following:
8548 \end_layout
8549
8550 \begin_layout Enumerate
8551
8552 \change_inserted 564990737 1670794716
8553 Create a wide figure float:
8554  
8555 \family sans
8556 \bar under
8557 I
8558 \bar default
8559 nsert\SpecialChar menuseparator
8560 Flo
8561 \bar under
8562 a
8563 \bar default
8564 t\SpecialChar menuseparator
8565 Figure
8566 \family default
8567 ,
8568  then,
8569  from within the float,
8570  use the menu 
8571 \family sans
8572 \bar under
8573 E
8574 \bar default
8575 dit\SpecialChar menuseparator
8576 Flo
8577 \bar under
8578 a
8579 \bar default
8580 t
8581 \begin_inset space ~
8582 \end_inset
8583
8584 Settings
8585 \family default
8586  and check 
8587 \family sans
8588 \bar under
8589 S
8590 \bar default
8591 pan
8592 \begin_inset space ~
8593 \end_inset
8594
8595 columns
8596 \family default
8597  in the 
8598 \family sans
8599 float
8600 \family default
8601  dialog.
8602 \end_layout
8603
8604 \begin_layout Enumerate
8605
8606 \change_inserted 564990737 1670794716
8607 Enter your caption text.
8608 \end_layout
8609
8610 \begin_layout Enumerate
8611
8612 \change_inserted 564990737 1670794716
8613 Press 
8614 \family sans
8615 Return
8616 \family default
8617  to move the cursor above the caption.
8618 \end_layout
8619
8620 \begin_layout Enumerate
8621
8622 \change_inserted 564990737 1670794716
8623 Insert your figure
8624 \end_layout
8625
8626 \begin_layout Enumerate
8627
8628 \change_inserted 564990737 1670794716
8629 Position the cursor after the figure and insert a horizontal fill by using the menu:
8630  
8631 \family sans
8632 \bar under
8633 I
8634 \bar default
8635 nsert\SpecialChar menuseparator
8636 F
8637 \bar under
8638 o
8639 \bar default
8640 rmatting\SpecialChar menuseparator
8641 H
8642 \bar under
8643 o
8644 \bar default
8645 rizontal
8646 \begin_inset space ~
8647 \end_inset
8648
8649 Space
8650 \family default
8651  to open the 
8652 \family sans
8653 space
8654 \family default
8655  dialog and select the 
8656 \family sans
8657 Horizontal fill
8658 \family default
8659  option from the 
8660 \family sans
8661 \bar under
8662 S
8663 \bar default
8664 pacing
8665 \family default
8666  
8667 \change_deleted -712698321 1673169720
8668 pull-down
8669 \change_inserted -712698321 1673169724
8670 context
8671 \change_inserted 564990737 1670794716
8672  menu.
8673 \end_layout
8674
8675 \begin_layout Enumerate
8676
8677 \change_inserted 564990737 1670794716
8678 Switch to \SpecialChar LaTeX
8679  mode:
8680  
8681 \family sans
8682 M-c
8683 \begin_inset space ~
8684 \end_inset
8685
8686 t
8687 \family default
8688 .
8689 \end_layout
8690
8691 \begin_layout Enumerate
8692
8693 \change_inserted 564990737 1670794716
8694 Enter 
8695 \family typewriter
8696
8697 \backslash
8698 parbox[b]{55mm}{
8699 \family default
8700  
8701 \emph on
8702 Do not close the brace!
8703 \end_layout
8704
8705 \begin_layout Enumerate
8706
8707 \change_inserted 564990737 1670794716
8708 Position the cursor behind the caption text,
8709  switch to \SpecialChar LaTeX
8710  mode and insert the closing brace:
8711  
8712 \family sans
8713 M-c
8714 \begin_inset space ~
8715 \end_inset
8716
8717 t
8718 \family default
8719  
8720 \family typewriter
8721 }
8722 \family default
8723 .
8724 \end_layout
8725
8726 \begin_layout Standard
8727
8728 \change_inserted 564990737 1671642458
8729 Also,
8730  refer to the figures in the file in 
8731 \family sans
8732 File\SpecialChar menuseparator
8733 Open Example\SpecialChar menuseparator
8734 Articles\SpecialChar menuseparator
8735 Astronomy & Astrophysics
8736 \family default
8737 .
8738 \end_layout
8739
8740 \begin_layout Subsubsection
8741
8742 \change_inserted 564990737 1670794716
8743 Referee layout
8744 \end_layout
8745
8746 \begin_layout Standard
8747
8748 \change_inserted 564990737 1670794716
8749 For submission,
8750  the paper has to be formatted in a special double-spacing layout.
8751  For this purpose,
8752  you have to add the option 
8753 \family typewriter
8754 referee
8755 \family default
8756  to the 
8757 \family sans
8758 Cus
8759 \bar under
8760 t
8761 \bar default
8762 om Class
8763 \begin_inset space ~
8764 \end_inset
8765
8766 options
8767 \family default
8768  in the 
8769 \family sans
8770 \bar under
8771 D
8772 \bar default
8773 ocument\SpecialChar menuseparator
8774
8775 \bar under
8776 S
8777 \bar default
8778 ettings\SpecialChar menuseparator
8779 Document
8780 \begin_inset space ~
8781 \end_inset
8782
8783 Class
8784 \family default
8785  dialog.
8786  
8787 \end_layout
8788
8789 \begin_layout Subsubsection
8790
8791 \change_inserted 564990737 1670794716
8792 The example paper
8793 \end_layout
8794
8795 \begin_layout Standard
8796
8797 \change_inserted 564990737 1671642520
8798 The example in 
8799 \family sans
8800 File\SpecialChar menuseparator
8801 Open Example\SpecialChar menuseparator
8802 Articles\SpecialChar menuseparator
8803 Astronomy & Astrophysics
8804 \family default
8805  was written with \SpecialChar LyX
8806 .
8807  It is the example paper from the original macro package,
8808  
8809 \family typewriter
8810 aa.dem
8811 \family default
8812  in the 
8813 \begin_inset CommandInset href
8814 LatexCommand href
8815 name "aa-package"
8816 target "http://ftp.edpsciences.org/pub/aa/aa-package.zip"
8817 literal "false"
8818
8819 \end_inset
8820
8821 ,
8822  but translated to \SpecialChar LyX
8823  using the older unstructured abstract type.
8824  Use it for inspiration,
8825  and compare the \SpecialChar LaTeX
8826  code in 
8827 \family typewriter
8828 aa.dem
8829 \family default
8830  with the \SpecialChar LyX
8831  way of writing.
8832 \end_layout
8833
8834 \begin_layout Subsection
8835 AAS\SpecialChar TeX
8836
8837 \end_layout
8838
8839 \begin_layout Standard
8840 by 
8841 \noun on
8842 Mike Ressler
8843 \end_layout
8844
8845 \begin_layout Subsubsection
8846 Introduction
8847 \end_layout
8848
8849 \begin_layout Standard
8850 AAS\SpecialChar TeX
8851  is a set of macros produced by the American Astronomical Society to facilitate electronic manuscript submission to the three journals they publish:
8852  the Astrophysical Journal (including the Letters and Supplement),
8853  the Astronomical Journal,
8854  and the Publications of the Astronomical Society of the Pacific.
8855  \SpecialChar LyX
8856  has proven to be an excellent tool for generating these documents,
8857  especially given its equation,
8858  citation,
8859  and figure handling capabilities.
8860  \SpecialChar LyX
8861  requires version 5.0 (or higher) of these macros;
8862  preferably 6.0,
8863  which is the version described here,
8864  or higher.
8865  Versions prior to 5.0 are intended for use with \SpecialChar LaTeX
8866 2.09 and are fundamentally incompatible with \SpecialChar LyX
8867 .
8868  The AAS\SpecialChar TeX
8869  package may be downloaded from the AAS\SpecialChar TeX
8870  Web site
8871 \end_layout
8872
8873 \begin_layout Standard
8874 \begin_inset VSpace medskip
8875 \end_inset
8876
8877
8878 \end_layout
8879
8880 \begin_layout Standard
8881 \align center
8882 \begin_inset Flex URL
8883 status collapsed
8884
8885 \begin_layout Plain Layout
8886
8887 https://aas.org/aastex/aastex-downloads
8888 \end_layout
8889
8890 \end_inset
8891
8892
8893 \end_layout
8894
8895 \begin_layout Standard
8896 \begin_inset VSpace medskip
8897 \end_inset
8898
8899
8900 \end_layout
8901
8902 \begin_layout Standard
8903 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
8904 .
8905  \SpecialChar LyX
8906  will not reduce the need to figure out all the AAS\SpecialChar TeX
8907  commands,
8908  it will only reduce the drudgery of typing everything in.
8909  It is your responsibility to ensure that the final exported \SpecialChar LaTeX
8910  document conforms completely to the requirements of the journal to which you are submitting your paper.
8911 \end_layout
8912
8913 \begin_layout Subsubsection
8914 Starting a New Paper
8915 \end_layout
8916
8917 \begin_layout Standard
8918 I strongly suggest that you start with the AAS\SpecialChar TeX
8919  template file.
8920  Click on 
8921 \family sans
8922 File\SpecialChar menuseparator
8923 New from
8924 \family default
8925  
8926 \family sans
8927 Template
8928 \change_inserted 564990737 1671617265
8929 \SpecialChar menuseparator
8930 Articles\SpecialChar menuseparator
8931 American Astronomical Society
8932 \change_deleted 564990737 1671617310
8933
8934 \family default
8935 ,
8936  enter the new file name,
8937  then choose the 
8938 \family typewriter
8939 aastex6.lyx
8940 \family default
8941  template
8942 \change_unchanged
8943 .
8944  This will show the most common fields found in a manuscript.
8945  Simply overwrite the existing text (including the brackets,
8946  
8947 \family typewriter
8948 <>
8949 \family default
8950 ) with the correct information.
8951  Many of the AAS\SpecialChar TeX
8952  commands and environments can be implemented directly in \SpecialChar LyX
8953 ,
8954  but some cannot.
8955  For commands such as these,
8956  the \SpecialChar LaTeX
8957  code must be entered directly and marked as such.
8958  Such commands are referred to as \SpecialChar TeX
8959  code,
8960  or Evil Red Text.
8961  I tried to minimize the amount of \SpecialChar TeX
8962  code needed in an AAS\SpecialChar TeX
8963  document.
8964 \end_layout
8965
8966 \begin_layout Subsubsection
8967 Finishing Your Paper
8968 \end_layout
8969
8970 \begin_layout Standard
8971 When the paper is finished to your satisfaction and previews/prints correctly,
8972  there are a few 
8973 \begin_inset Quotes eld
8974 \end_inset
8975
8976 postprocessing
8977 \begin_inset Quotes erd
8978 \end_inset
8979
8980  actions which need to be done before you submit it to the journals.
8981  
8982 \end_layout
8983
8984 \begin_layout Enumerate
8985 Export your paper as a \SpecialChar LaTeX
8986  file (
8987 \family sans
8988 File\SpecialChar menuseparator
8989 Export\SpecialChar menuseparator
8990 \SpecialChar LaTeX
8991
8992 \family default
8993 ).
8994  
8995 \end_layout
8996
8997 \begin_layout Enumerate
8998 Edit the resulting 
8999 \family typewriter
9000 .tex
9001 \family default
9002  file with your favorite text editor
9003 \end_layout
9004
9005 \begin_deeper
9006 \begin_layout Enumerate
9007 remove the comment lines before the 
9008 \family typewriter
9009
9010 \backslash
9011 documentclass
9012 \family default
9013  command
9014 \end_layout
9015
9016 \begin_layout Enumerate
9017 remove the 
9018 \family typewriter
9019
9020 \backslash
9021 usepackage...{fontenc}
9022 \family default
9023  line if it appears (usually just after 
9024 \family typewriter
9025
9026 \backslash
9027 documentclass
9028 \family default
9029 };
9030  also remove the 
9031 \family typewriter
9032
9033 \backslash
9034 secnumdepth
9035 \family default
9036  line if it appears.
9037 \end_layout
9038
9039 \begin_layout Enumerate
9040 remove everything between (and including) the 
9041 \family typewriter
9042
9043 \backslash
9044 makeatletter
9045 \family default
9046  and 
9047 \family typewriter
9048
9049 \backslash
9050 makeatother
9051 \family default
9052  commands,
9053  except for any commands you specifically put into the \SpecialChar LaTeX
9054  preamble (which should appear immediately after the 
9055 \begin_inset Quotes eld
9056 \end_inset
9057
9058 User specified \SpecialChar LaTeX
9059  commands
9060 \begin_inset Quotes erd
9061 \end_inset
9062
9063  comment in the 
9064 \family typewriter
9065 .tex
9066 \family default
9067  file).
9068 \end_layout
9069
9070 \end_deeper
9071 \begin_layout Enumerate
9072 Run the resulting file through \SpecialChar LaTeX
9073  to make sure it still processes correctly.
9074 \end_layout
9075
9076 \begin_layout Enumerate
9077 Reread the journal requirements to make sure your filenames and formats are correct.
9078 \end_layout
9079
9080 \begin_layout Enumerate
9081 Submit it.
9082 \end_layout
9083
9084 \begin_layout Subsubsection
9085 Comments On Specific Commands
9086 \end_layout
9087
9088 \begin_layout Standard
9089 I will not describe the detailed usage of the individual AAS\SpecialChar TeX
9090  commands:
9091  the AAS\SpecialChar TeX
9092  User Guide (
9093 \family typewriter
9094 aasguide.tex
9095 \family default
9096 ) gives a good description of each.
9097  Thus it's probably easiest for me to go down the list as found in the guide and offer comments where necessary.
9098  So let's begin \SpecialChar ldots
9099
9100 \end_layout
9101
9102 \begin_layout Paragraph
9103 Things that work as expected
9104 \end_layout
9105
9106 \begin_layout Standard
9107 Because they work as you might expect,
9108  I simply list them and the section they are found in:
9109  
9110 \family typewriter
9111
9112 \backslash
9113 documentclass
9114 \family default
9115  (2.1.1),
9116  
9117 \family typewriter
9118
9119 \backslash
9120 begin{document}
9121 \family default
9122  (2.2),
9123  
9124 \family typewriter
9125
9126 \backslash
9127 title
9128 \family default
9129  (2.3),
9130  
9131 \family typewriter
9132
9133 \backslash
9134 author
9135 \family default
9136  (2.3),
9137  
9138 \family typewriter
9139
9140 \backslash
9141 affil
9142 \family default
9143  (2.3),
9144  
9145 \family typewriter
9146
9147 \backslash
9148 abstract
9149 \family default
9150  (2.4),
9151  
9152 \family typewriter
9153
9154 \backslash
9155 keywords
9156 \family default
9157  (2.5),
9158  
9159 \family typewriter
9160
9161 \backslash
9162 section
9163 \family default
9164  (2.7),
9165  
9166 \family typewriter
9167
9168 \backslash
9169 subsection
9170 \family default
9171  (2.7),
9172  
9173 \family typewriter
9174
9175 \backslash
9176 subsubsection
9177 \family default
9178  (2.7),
9179  
9180 \family typewriter
9181
9182 \backslash
9183 paragraph
9184 \family default
9185  (2.7),
9186  
9187 \family typewriter
9188
9189 \backslash
9190 facility
9191 \family default
9192  (2.10),
9193  
9194 \family typewriter
9195
9196 \backslash
9197 begin{displaymath}
9198 \family default
9199  (2.12),
9200  
9201 \family typewriter
9202
9203 \backslash
9204 begin{equation}
9205 \family default
9206  (2.12),
9207  
9208 \family typewriter
9209
9210 \backslash
9211 begin{eqnarray}
9212 \family default
9213  (2.12),
9214  
9215 \family typewriter
9216
9217 \backslash
9218 begin{mathletters}
9219 \family default
9220  (2.12),
9221  
9222 \family typewriter
9223
9224 \backslash
9225 begin{thebibliography}
9226 \family default
9227  (2.13.1),
9228  
9229 \family typewriter
9230
9231 \backslash
9232 bibitem
9233 \family default
9234  (2.13.2),
9235  all the cite commands and their variations (2.13.2),
9236  the generic graphicx figure commands (2.14.1),
9237  
9238 \family typewriter
9239
9240 \backslash
9241 begin{table}
9242 \family default
9243  (2.15.4),
9244  
9245 \family typewriter
9246
9247 \backslash
9248 begin{tabular}
9249 \family default
9250  (2.15.4),
9251  
9252 \family typewriter
9253
9254 \backslash
9255 caption
9256 \family default
9257  (2.15.4),
9258  
9259 \family typewriter
9260
9261 \backslash
9262 label
9263 \family default
9264  (2.15.4,
9265  amongst other places),
9266  
9267 \family typewriter
9268
9269 \backslash
9270 tablerefs
9271 \family default
9272  (2.15.5),
9273  
9274 \family typewriter
9275
9276 \backslash
9277 tablecomments
9278 \family default
9279  (2.15.5),
9280  
9281 \family typewriter
9282
9283 \backslash
9284 url
9285 \family default
9286  (2.17.4),
9287  
9288 \family typewriter
9289
9290 \backslash
9291 end{document}
9292 \family default
9293  (2.18).
9294 \end_layout
9295
9296 \begin_layout Standard
9297 The following style options also work correctly:
9298  
9299 \family typewriter
9300 longabstract
9301 \family default
9302  (2.4),
9303  
9304 \family typewriter
9305 preprint
9306 \family default
9307  (3.2.1),
9308  
9309 \family typewriter
9310 preprint2
9311 \family default
9312  (3.2.2),
9313  
9314 \family typewriter
9315 eqsecnum
9316 \family default
9317  (3.3),
9318  
9319 \family typewriter
9320 flushrt
9321 \family default
9322  (3.4).
9323  Simply put them in the 
9324 \family sans
9325 Options
9326 \family default
9327  box in 
9328 \family sans
9329 Layout\SpecialChar menuseparator
9330 Document
9331 \family default
9332 .
9333 \end_layout
9334
9335 \begin_layout Paragraph
9336 Things that work,
9337  but require more comment
9338 \end_layout
9339
9340 \begin_layout Standard
9341 The following items work,
9342  but require a little more discussion:
9343 \end_layout
9344
9345 \begin_layout Itemize
9346 These items are reserved for use by the journal editors,
9347  but you can put them into the \SpecialChar LaTeX
9348  preamble if you feel compelled to do so:
9349  
9350 \family typewriter
9351
9352 \backslash
9353 received
9354 \family default
9355 ,
9356  
9357 \family typewriter
9358
9359 \backslash
9360 revised
9361 \family default
9362 ,
9363  
9364 \family typewriter
9365
9366 \backslash
9367 accepted
9368 \family default
9369 ,
9370  
9371 \family typewriter
9372
9373 \backslash
9374 ccc
9375 \family default
9376 ,
9377  
9378 \family typewriter
9379
9380 \backslash
9381 cpright
9382 \family default
9383  (all from 2.1.3)
9384 \end_layout
9385
9386 \begin_layout Itemize
9387 These items may be placed in the \SpecialChar LaTeX
9388  preamble,
9389  and are included as blanks in the template file:
9390  
9391 \family typewriter
9392
9393 \backslash
9394 slugcomment
9395 \family default
9396  (2.1.4),
9397  
9398 \family typewriter
9399
9400 \backslash
9401 shorttitle
9402 \family default
9403  (2.1.5),
9404  
9405 \family typewriter
9406
9407 \backslash
9408 shortauthors
9409 \family default
9410  (2.1.5)
9411 \end_layout
9412
9413 \begin_layout Itemize
9414
9415 \family typewriter
9416
9417 \backslash
9418 email
9419 \family default
9420  (2.3) – can only be used 
9421 \begin_inset Quotes eld
9422 \end_inset
9423
9424 standalone
9425 \begin_inset Quotes erd
9426 \end_inset
9427
9428 ,
9429  not in the middle of a paragraph.
9430  Use \SpecialChar TeX
9431  code if you need to embed it.
9432 \end_layout
9433
9434 \begin_layout Itemize
9435
9436 \family typewriter
9437
9438 \backslash
9439 and
9440 \family default
9441  (2.3) – will have extra {} after it.
9442  This should not cause an error.
9443 \end_layout
9444
9445 \begin_layout Itemize
9446
9447 \family typewriter
9448
9449 \backslash
9450 notetoeditor
9451 \family default
9452  (2.6) – can only be used 
9453 \begin_inset Quotes eld
9454 \end_inset
9455
9456 standalone
9457 \begin_inset Quotes erd
9458 \end_inset
9459
9460 ,
9461  not in the middle of a paragraph.
9462  Use \SpecialChar TeX
9463  code if you need to embed it.
9464 \end_layout
9465
9466 \begin_layout Itemize
9467
9468 \family typewriter
9469
9470 \backslash
9471 placetable
9472 \family default
9473  (2.8) – can't insert a cross-reference tag,
9474  you must type the tag name by hand
9475 \end_layout
9476
9477 \begin_layout Itemize
9478
9479 \family typewriter
9480
9481 \backslash
9482 placefigure
9483 \family default
9484  (2.8) – same as for 
9485 \family typewriter
9486
9487 \backslash
9488 placetable
9489 \end_layout
9490
9491 \begin_layout Itemize
9492
9493 \family typewriter
9494
9495 \backslash
9496 acknowledgements
9497 \family default
9498  (2.9) – will have extra {} after it.
9499  This should not cause an error.
9500 \end_layout
9501
9502 \begin_layout Itemize
9503
9504 \family typewriter
9505
9506 \backslash
9507 appendix
9508 \family default
9509  (2.11) – will have extra {} after it.
9510  This should not cause an error.
9511 \end_layout
9512
9513 \begin_layout Itemize
9514
9515 \family typewriter
9516
9517 \backslash
9518 figcaption
9519 \family default
9520  (2.14.2) – you can insert an optional filename argument by placing the cursor at the beginning of the text and selecting 
9521 \family sans
9522 Insert\SpecialChar menuseparator
9523 Short Title
9524 \family default
9525 .
9526  
9527 \begin_inset Quotes eld
9528 \end_inset
9529
9530 Short Title
9531 \begin_inset Quotes erd
9532 \end_inset
9533
9534  inserts an optional argument of the type needed by 
9535 \family typewriter
9536
9537 \backslash
9538 figcaption
9539 \family default
9540 .
9541  Hopefully it will be renamed someday.
9542 \end_layout
9543
9544 \begin_layout Itemize
9545
9546 \family typewriter
9547
9548 \backslash
9549 objectname
9550 \family default
9551  (2.17.1) – same as 
9552 \family typewriter
9553
9554 \backslash
9555 figcaption
9556 \family default
9557  for the catalog ID optional parameter
9558 \end_layout
9559
9560 \begin_layout Itemize
9561
9562 \family typewriter
9563
9564 \backslash
9565 dataset
9566 \family default
9567  (2.17.1) – same as 
9568 \family typewriter
9569
9570 \backslash
9571 figcaption
9572 \family default
9573  for the catalog ID optional parameter
9574 \end_layout
9575
9576 \begin_layout Paragraph
9577 Things not implemented,
9578  use \SpecialChar TeX
9579  code
9580 \end_layout
9581
9582 \begin_layout Standard
9583
9584 \family typewriter
9585
9586 \backslash
9587 eqnum
9588 \family default
9589  (2.12),
9590  
9591 \family typewriter
9592
9593 \backslash
9594 setcounter{equation}
9595 \family default
9596  (2.12),
9597  Journal name abbreviations (2.13.4),
9598  
9599 \family typewriter
9600
9601 \backslash
9602 figurenum
9603 \family default
9604  (2.14.1),
9605  
9606 \family typewriter
9607
9608 \backslash
9609 epsscale
9610 \family default
9611  (2.14.1),
9612  
9613 \family typewriter
9614
9615 \backslash
9616 plotone
9617 \family default
9618  (2.14.1),
9619  
9620 \family typewriter
9621
9622 \backslash
9623 plottwo
9624 \family default
9625  (2.14.1),
9626  
9627 \family typewriter
9628
9629 \backslash
9630 tablenum
9631 \family default
9632  (2.15.4),
9633  
9634 \family typewriter
9635
9636 \backslash
9637 tableline
9638 \family default
9639  (2.15.4,
9640  insert it as the first element in the lefthand cell after where you want it.
9641  Don't use any of \SpecialChar LyX
9642 's rules in the table),
9643  
9644 \family typewriter
9645
9646 \backslash
9647 tablenotemark
9648 \family default
9649  (2.15.5),
9650  
9651 \family typewriter
9652
9653 \backslash
9654 tablenotetext
9655 \family default
9656  (2.15.5),
9657  much of Misc (2.17,
9658  except 
9659 \family typewriter
9660
9661 \backslash
9662 objectname
9663 \family default
9664 ,
9665  
9666 \family typewriter
9667
9668 \backslash
9669 dataset
9670 \family default
9671 ,
9672  
9673 \family typewriter
9674
9675 \backslash
9676 url
9677 \family default
9678 ,
9679  and 
9680 \family typewriter
9681
9682 \backslash
9683 email
9684 \family default
9685 ;
9686  see above),
9687  
9688 \family typewriter
9689
9690 \backslash
9691 singlespace
9692 \family default
9693  (3.1),
9694  
9695 \family typewriter
9696
9697 \backslash
9698 doublespace
9699 \family default
9700  (3.1),
9701  
9702 \family typewriter
9703
9704 \backslash
9705 onecolumn
9706 \family default
9707  (3.2),
9708  
9709 \family typewriter
9710
9711 \backslash
9712 twocolumn
9713 \family default
9714  (3.2)
9715 \end_layout
9716
9717 \begin_layout Paragraph
9718 Things that cannot be implemented
9719 \end_layout
9720
9721 \begin_layout Standard
9722 \SpecialChar ldots
9723  at least in any meaningful sort of way,
9724  so I suggest ignoring them.
9725  They are the references environment (2.13.3),
9726  and the deluxetable environment (2.15).
9727  If you really,
9728  really need to use deluxetable,
9729  I suggest editing it in a separate file with a text editor,
9730  then using 
9731 \family sans
9732 Insert\SpecialChar menuseparator
9733 Child
9734 \begin_inset space ~
9735 \end_inset
9736
9737 Document
9738 \family default
9739  to include it in your \SpecialChar LyX
9740  document.
9741  See 
9742 \change_deleted 564990737 1671642564
9743 the 
9744 \family typewriter
9745 aas_sample.lyx
9746 \family default
9747  file to see
9748 \change_inserted 564990737 1671642618
9749
9750 \family sans
9751 File\SpecialChar menuseparator
9752 Open Example\SpecialChar menuseparator
9753 Articles\SpecialChar menuseparator
9754 American Astronomical Society
9755 \change_unchanged
9756
9757 \family default
9758  
9759 \change_inserted 564990737 1671642621
9760 for 
9761 \change_unchanged
9762 an example of this.
9763 \end_layout
9764
9765 \begin_layout Subsubsection
9766 FAQs,
9767  Tips,
9768  Tricks,
9769  and Other Ruminations
9770 \end_layout
9771
9772 \begin_layout Paragraph
9773 Getting \SpecialChar LyX
9774  and AAS\SpecialChar TeX
9775  to cooperate
9776 \end_layout
9777
9778 \begin_layout Standard
9779 It can be a bit tricky to get \SpecialChar LyX
9780  to recognize a new layout and document class.
9781  When all else fails,
9782  do this:
9783 \end_layout
9784
9785 \begin_layout Enumerate
9786 Make certain that \SpecialChar LaTeX
9787  can find AAS\SpecialChar TeX
9788 .
9789  Copy sample.tex (and perhaps table.tex) from the AAS\SpecialChar TeX
9790  distribution into a directory completely unrelated to \SpecialChar LaTeX
9791  or AAS\SpecialChar TeX
9792  and run \SpecialChar LaTeX
9793  on 
9794 \family typewriter
9795 sample.tex
9796 \family default
9797 .
9798 \end_layout
9799
9800 \begin_layout Enumerate
9801 Make certain that 
9802 \family typewriter
9803 aastex.layout
9804 \family default
9805  appears in \SpecialChar LyX
9806 's 
9807 \family typewriter
9808 layouts
9809 \family default
9810  folder
9811 \end_layout
9812
9813 \begin_layout Enumerate
9814 Rerun 
9815 \family sans
9816 Tools\SpecialChar menuseparator
9817 Reconfigure
9818 \family default
9819  in \SpecialChar LyX
9820 ,
9821  then restart \SpecialChar LyX
9822 .
9823 \end_layout
9824
9825 \begin_layout Enumerate
9826 Open a regular new file,
9827  not from a template.
9828  Does 
9829 \change_deleted -712698321 1673170671
9830 AAS\SpecialChar TeX
9831
9832 \change_inserted -712698321 1673170671
9833
9834 \family sans
9835 American Astronomical Society (AASTeX V.
9836 \begin_inset space \thinspace{}
9837 \end_inset
9838
9839 6)
9840 \change_unchanged
9841
9842 \family default
9843  appear in the class list in 
9844 \family sans
9845 Document\SpecialChar menuseparator
9846 Settings
9847 \family default
9848 ?
9849 \end_layout
9850
9851 \begin_layout Standard
9852 If you get a warning from an existing AAS\SpecialChar TeX
9853  document about not being able to find the AAS\SpecialChar TeX
9854  layout or a message about 
9855 \begin_inset Quotes eld
9856 \end_inset
9857
9858 You should not mix title layouts with normal ones
9859 \begin_inset Quotes erd
9860 \end_inset
9861
9862 ,
9863  things haven't been installed correctly.
9864 \end_layout
9865
9866 \begin_layout Paragraph
9867 \SpecialChar LaTeX
9868  error processing a table 
9869 \end_layout
9870
9871 \begin_layout Standard
9872 \SpecialChar LyX
9873 ,
9874  by default,
9875  attempts to center the table caption/title.
9876  This seems to produce a bad interaction in AAS\SpecialChar TeX
9877  so you should click somewhere in the caption/title,
9878  then select 
9879 \family sans
9880 Edit\SpecialChar menuseparator
9881 Paragraph
9882 \begin_inset space ~
9883 \end_inset
9884
9885 Settings
9886 \family default
9887 ,
9888  then set the 
9889 \family sans
9890 Alignment
9891 \family default
9892  to 
9893 \family sans
9894 Block
9895 \family default
9896 .
9897  This took care of it for me.
9898 \end_layout
9899
9900 \begin_layout Paragraph
9901 References
9902 \end_layout
9903
9904 \begin_layout Standard
9905 A couple of things:
9906  
9907 \change_inserted -712698321 1673170733
9908
9909 \end_layout
9910
9911 \begin_layout Enumerate
9912
9913 \change_deleted -712698321 1673170736
9914 1) 
9915 \change_unchanged
9916 I have noticed some funny spacing in the reference entries in the text.
9917  When you enter the bibliography item data,
9918  make sure their is 
9919 \emph on
9920 no
9921 \emph default
9922  space between the last author and the parenthesis setting off the year;
9923  
9924 \emph on
9925 e.
9926 \begin_inset space \thinspace{}
9927 \end_inset
9928
9929 g.
9930 \begin_inset space \space{}
9931 \end_inset
9932
9933
9934 \emph default
9935 type 
9936 \family typewriter
9937 Ressler(1992)
9938 \family default
9939 ,
9940  not 
9941 \family typewriter
9942 Ressler (1992)
9943 \family default
9944 .
9945  
9946 \change_deleted -712698321 1673170741
9947 2) 
9948 \change_inserted -712698321 1673170741
9949
9950 \end_layout
9951
9952 \begin_layout Enumerate
9953 Entering the references at all is not obvious.
9954  The easiest thing is to start typing your first reference at the end of the document,
9955  then mark it as type 
9956 \family sans
9957 References
9958 \family default
9959 .
9960  That will put a small gray box in front of what you just typed.
9961  Click on the box to fill in the rest of the information.
9962  For new references,
9963  go to the end of an existing reference and press return.
9964  That will create a new line with its own box,
9965  etc.
9966 \end_layout
9967
9968 \begin_layout Paragraph
9969 Including EPS files
9970 \end_layout
9971
9972 \begin_layout Standard
9973 Even though AAS\SpecialChar TeX
9974  provides its own figure commands (
9975 \family typewriter
9976
9977 \backslash
9978 plotone
9979 \family default
9980 ,
9981  for example),
9982  I much prefer \SpecialChar LaTeX
9983 's standard figure commands (with the default graphicx).
9984  You can insert the 
9985 \family typewriter
9986
9987 \backslash
9988 plotone
9989 \family default
9990 ,
9991  etc.
9992 \begin_inset space ~
9993 \end_inset
9994
9995 commands as \SpecialChar TeX
9996  code into a Figure Float box if you desire,
9997  but I never have much luck getting the layout right.
9998  With the standard graphics,
9999  \SpecialChar LyX
10000  will insert a 
10001 \family typewriter
10002
10003 \backslash
10004 usepackage{graphicx}
10005 \family default
10006  command into the \SpecialChar LaTeX
10007  preamble and handle the figures in the standard \SpecialChar LaTeX2e
10008  way,
10009  interspersing the figures in the text.
10010  I believe ApJ accepts figures exactly this way now;
10011  AJ might still use the 
10012 \begin_inset Quotes eld
10013 \end_inset
10014
10015 stack everything at the end
10016 \begin_inset Quotes erd
10017 \end_inset
10018
10019  technique.
10020 \end_layout
10021
10022 \begin_layout Paragraph
10023 Things I could have done,
10024  but didn't
10025 \end_layout
10026
10027 \begin_layout Standard
10028 There are a few 
10029 \begin_inset Quotes eld
10030 \end_inset
10031
10032 pretty
10033 \begin_inset Quotes erd
10034 \end_inset
10035
10036  things I could have implemented,
10037  but chose not to.
10038  For instance,
10039  I saw no point in double-spacing the text in the \SpecialChar LyX
10040  window,
10041  even though it is double-spaced in the paper manuscript.
10042  Also,
10043  I chose not to make separate layouts for the preprint and preprint2 styles.
10044  Since I assume you will spend most of your time in the plain manuscript mode anyway,
10045  I decided not to chew up more disk space with this.
10046  
10047 \end_layout
10048
10049 \begin_layout Subsubsection
10050 Final Caveat
10051 \end_layout
10052
10053 \begin_layout Standard
10054 Your mileage may vary.
10055  I've now had papers published by both ApJ and AJ that have had 98% of the effort done in \SpecialChar LyX
10056 ;
10057  the last 2% was the \SpecialChar LaTeX
10058  post-processing and a few cleanups.
10059  I have had no trouble with the submission process,
10060  and I'm sure the journals were never aware that there might be a difference.
10061  So,
10062  go forth and publish!
10063 \end_layout
10064
10065 \begin_layout Subsection
10066
10067 \change_inserted 564990737 1671442131
10068 Chess
10069 \end_layout
10070
10071 \begin_layout Standard
10072
10073 \change_inserted 564990737 1671642768
10074 The document class 
10075 \change_deleted -712698321 1673171415
10076
10077 \family sans
10078 article
10079 \begin_inset space \thinspace{}
10080 \end_inset
10081
10082 (
10083 \change_inserted 564990737 1671642768
10084 Chess
10085 \change_deleted -712698321 1673171417
10086 )
10087 \change_inserted 564990737 1671642768
10088
10089 \family default
10090  uses the 
10091 \change_deleted -712698321 1673171421
10092
10093 \family typewriter
10094 article.cls
10095 \family default
10096  
10097 \change_inserted -712698321 1673171424
10098 standard article 
10099 \change_inserted 564990737 1671642768
10100 document class together with the 
10101 \change_deleted -712698321 1673171428
10102 style
10103 \change_inserted -712698321 1673171429
10104 package
10105 \change_inserted 564990737 1671642768
10106  
10107 \family sans
10108 lyxskak
10109 \change_deleted -712698321 1673171431
10110 .sty
10111 \change_inserted 564990737 1671642768
10112
10113 \family default
10114  to facilitate the description of chess games.
10115  See 
10116 \family sans
10117 File\SpecialChar menuseparator
10118 Open Example\SpecialChar menuseparator
10119 Articles\SpecialChar menuseparator
10120 Chess
10121 \family default
10122  where you will find 
10123 \family sans
10124 Game 1
10125 \family default
10126  and 
10127 \family sans
10128 Game 2
10129 \family default
10130 .
10131 \end_layout
10132
10133 \begin_layout Subsection
10134
10135 \change_inserted 564990737 1671042028
10136 Elsevier
10137 \end_layout
10138
10139 \begin_layout Standard
10140
10141 \change_inserted 564990737 1671617396
10142 The document class 
10143 \change_deleted -712698321 1673171640
10144
10145 \family sans
10146 article
10147 \begin_inset space \thinspace{}
10148 \end_inset
10149
10150 (
10151 \change_inserted 564990737 1671617396
10152 Elsevier
10153 \change_deleted -712698321 1673171643
10154 )
10155 \change_inserted 564990737 1671617396
10156
10157 \family default
10158  provides 
10159 \change_inserted -712698321 1673171717
10160 support for 
10161 \change_inserted 564990737 1671617396
10162 the 
10163 \family typewriter
10164 elsarticle
10165 \change_deleted -712698321 1673171720
10166 .cls
10167 \change_inserted 564990737 1671617396
10168
10169 \family default
10170  
10171 \change_deleted -712698321 1673171728
10172 document
10173 \change_inserted -712698321 1673171728
10174 \SpecialChar LaTeX
10175
10176 \change_inserted 564990737 1671617396
10177  class
10178 \change_inserted -712698321 1673171744
10179  for journals in the Elsevier publishing house
10180 \change_inserted 564990737 1671617396
10181 .
10182  This provides the following additional environments:
10183  
10184 \family sans
10185 Title
10186 \begin_inset space ~
10187 \end_inset
10188
10189 footnote
10190 \family default
10191 ,
10192  
10193 \family sans
10194 Author
10195 \begin_inset space ~
10196 \end_inset
10197
10198 footnote
10199 \family default
10200 ,
10201  
10202 \family sans
10203 Corresponding
10204 \begin_inset space ~
10205 \end_inset
10206
10207 author
10208 \family default
10209 ,
10210  
10211 \family sans
10212 Address
10213 \family default
10214 ,
10215  
10216 \family sans
10217 Email
10218 \family default
10219  and 
10220 \family sans
10221 Keywords
10222 \family default
10223 .
10224  
10225 \change_inserted -712698321 1673172045
10226
10227 \end_layout
10228
10229 \begin_layout Standard
10230
10231 \change_inserted 564990737 1671617396
10232 A template is available in the menu 
10233 \family sans
10234 \bar under
10235 F
10236 \bar default
10237 ile\SpecialChar menuseparator
10238 New
10239 \begin_inset space ~
10240 \end_inset
10241
10242 fro
10243 \bar under
10244 m
10245 \bar default
10246
10247 \begin_inset space ~
10248 \end_inset
10249
10250 Template\SpecialChar menuseparator
10251 Articles\SpecialChar menuseparator
10252 Elsevier
10253 \family default
10254 .
10255  It has been customized with further environments and contains all the information you may need.
10256  However,
10257  the documentation is also available from 
10258 \begin_inset CommandInset href
10259 LatexCommand href
10260 name "CTAN"
10261 target "http://mirrors.ctan.org/macros/latex/contrib/elsarticle/doc/elsdoc.pdf"
10262 literal "false"
10263
10264 \end_inset
10265
10266 .
10267 \end_layout
10268
10269 \begin_layout Subsection
10270
10271 \change_inserted 564990737 1671042046
10272 Paper
10273 \end_layout
10274
10275 \begin_layout Standard
10276
10277 \change_inserted 564990737 1671042046
10278 The document class 
10279 \change_deleted -712698321 1673172423
10280
10281 \family sans
10282 article
10283 \begin_inset space \thinspace{}
10284 \end_inset
10285
10286 (paper
10287 \change_inserted -712698321 1673172423
10288 Paper (Standard Class)
10289 \change_deleted -712698321 1673172423
10290 )
10291 \change_inserted 564990737 1671042046
10292
10293 \family default
10294  provides an alternative to the 
10295 \change_deleted -712698321 1673172092
10296
10297 \family typewriter
10298 article.cls
10299 \change_inserted -712698321 1673172435
10300
10301 \family sans
10302 Article (Standard Class)
10303 \change_inserted 564990737 1671042046
10304
10305 \family default
10306  document class.
10307  It provides similar functionality,
10308  but you might prefer this layout with sans serif sections,
10309  headings,
10310  and more.
10311 \end_layout
10312
10313 \begin_layout Subsection
10314 Rev\SpecialChar TeX
10315 4
10316 \end_layout
10317
10318 \begin_layout Standard
10319 by 
10320 \noun on
10321 Amir Karger
10322 \end_layout
10323
10324 \begin_layout Standard
10325 \begin_inset VSpace bigskip
10326 \end_inset
10327
10328
10329 \end_layout
10330
10331 \begin_layout Standard
10332 \noindent
10333 The 
10334 \family sans
10335 Rev
10336 \change_deleted -712698321 1673172482
10337 tex
10338 \begin_inset space ~
10339 \end_inset
10340
10341 4
10342 \change_inserted -712698321 1673172487
10343 TeX (V.
10344 \begin_inset space \thinspace{}
10345 \end_inset
10346
10347 4)
10348 \change_unchanged
10349
10350 \family default
10351  textclass works with the American Physical Sociey's Rev\SpecialChar TeX
10352  4.0 (the 
10353 \begin_inset Formula $\beta$
10354 \end_inset
10355
10356  release of May,
10357  1999) class.
10358 \end_layout
10359
10360 \begin_layout Standard
10361 \SpecialChar LyX
10362  has a 
10363 \family sans
10364 R
10365 \change_deleted -712698321 1673172511
10366 evtex
10367 \change_inserted -712698321 1673172517
10368 EVTeX (obsolete)
10369 \change_unchanged
10370
10371 \family default
10372  textclass,
10373  which works with Rev\SpecialChar TeX
10374  3.1.
10375  However,
10376  v3.1 is basically obsolete,
10377  as it works with \SpecialChar LaTeX
10378  2.09.
10379  That means that it doesn't interact very well with \SpecialChar LyX
10380 ,
10381  which requires \SpecialChar LaTeX2e
10382 ,
10383  although it has been kludged to work.
10384  Since Rev\SpecialChar TeX
10385  4.0 has been designed to work much more cleanly with \SpecialChar LaTeX2e
10386 ,
10387  \SpecialChar LyX
10388  with the 
10389 \change_deleted -712698321 1673172538
10390
10391 \family sans
10392 Rev\SpecialChar TeX
10393
10394 \begin_inset space ~
10395 \end_inset
10396
10397 4
10398 \change_inserted -712698321 1673172538
10399 Revtex
10400 \begin_inset space ~
10401 \end_inset
10402
10403 4TeX (V.
10404 \begin_inset space \thinspace{}
10405 \end_inset
10406
10407 4)
10408 \change_unchanged
10409
10410 \family default
10411  textclass should also be pretty easy to use.
10412 \end_layout
10413
10414 \begin_layout Standard
10415 These documents are supposed to be used in 
10416 \emph on
10417 addition
10418 \emph default
10419  to the Rev\SpecialChar TeX
10420  4.0 documents,
10421  so we don't describe any of the special Rev\SpecialChar TeX
10422  macros,
10423  and assume you'll know what to put in the preamble if necessary.
10424 \end_layout
10425
10426 \begin_layout Subsubsection
10427 Installation
10428 \end_layout
10429
10430 \begin_layout Standard
10431 All you need to do is install Rev\SpecialChar TeX
10432  4,
10433  as described in the package's README file.
10434  The package can be found at The Rev\SpecialChar TeX
10435  4 Web Site 
10436 \begin_inset Flex URL
10437 status collapsed
10438
10439 \begin_layout Plain Layout
10440
10441 http://publish.aps.org/revtex4/
10442 \end_layout
10443
10444 \end_inset
10445
10446 .
10447  Install it somewhere that \SpecialChar LaTeX
10448  can see it.
10449  Test it by trying to \SpecialChar LaTeX
10450  a short Rev\SpecialChar TeX
10451  4 document in some random directory (i.
10452 \begin_inset space \thinspace{}
10453 \end_inset
10454
10455 e.
10456 \begin_inset space \space{}
10457 \end_inset
10458
10459 not the directory where you installed the class file.) Then,
10460  if you reconfigure \SpecialChar LyX
10461 ,
10462  it will find the class file and let you use the Rev\SpecialChar TeX
10463 4 textclass.
10464 \end_layout
10465
10466 \begin_layout Standard
10467 Probably the easiest way to get started is either to import a Rev\SpecialChar TeX
10468  4 document using 
10469 \family typewriter
10470 tex2lyx
10471 \family default
10472 ,
10473  or to use the 
10474 \family sans
10475 Revtex
10476 \begin_inset space ~
10477 \end_inset
10478
10479 4
10480 \family default
10481  template,
10482  found in 
10483 \change_deleted -712698321 1673172641
10484 the templates directory
10485 \change_inserted -712698321 1673172687
10486
10487 \family sans
10488 File\SpecialChar menuseparator
10489 New From Templates\SpecialChar menuseparator
10490 Articles
10491 \change_unchanged
10492
10493 \family default
10494 .
10495 \end_layout
10496
10497 \begin_layout Subsubsection
10498 Preamble Matter
10499 \end_layout
10500
10501 \begin_layout Standard
10502 Optional arguments to 
10503 \family typewriter
10504
10505 \backslash
10506 documentclass
10507 \family default
10508 ,
10509  like 
10510 \begin_inset Quotes eld
10511 \end_inset
10512
10513 preprint
10514 \begin_inset Quotes erd
10515 \end_inset
10516
10517  and 
10518 \begin_inset Quotes eld
10519 \end_inset
10520
10521 aps
10522 \begin_inset Quotes erd
10523 \end_inset
10524
10525 ,
10526  go in the 
10527 \family sans
10528 Extra
10529 \begin_inset space ~
10530 \end_inset
10531
10532 Options
10533 \family default
10534  field in the 
10535 \family sans
10536 Document
10537 \begin_inset space ~
10538 \end_inset
10539
10540 Layout
10541 \family default
10542  dialog,
10543  as usual.
10544  Remember that in Rev\SpecialChar TeX
10545 ,
10546  at least one optional argument is required!
10547  
10548 \end_layout
10549
10550 \begin_layout Standard
10551 Other preamble matter,
10552  like 
10553 \family typewriter
10554
10555 \backslash
10556 draft
10557 \family default
10558  etc.
10559 \begin_inset space ~
10560 \end_inset
10561
10562 goes in the 
10563 \family sans
10564 \SpecialChar LaTeX
10565
10566 \begin_inset space ~
10567 \end_inset
10568
10569 Preamble
10570 \family default
10571  dialog,
10572  also as usual.
10573 \end_layout
10574
10575 \begin_layout Subsubsection
10576 Layouts
10577 \end_layout
10578
10579 \begin_layout Standard
10580 The layouts basically correspond to the commands in Rev\SpecialChar TeX
10581 4.0.
10582  For example,
10583  the Email layout corresponds to 
10584 \family typewriter
10585
10586 \backslash
10587 email{}
10588 \family default
10589 .
10590  Note that (at least as of Rev\SpecialChar TeX
10591  4.0 Beta),
10592  the 
10593 \family sans
10594 Address
10595 \family default
10596  and 
10597 \family sans
10598 Affiliation
10599 \family default
10600  layouts are exactly equivalent,
10601  so you shouldn't need to use both.
10602 \begin_inset Foot
10603 status collapsed
10604
10605 \begin_layout Plain Layout
10606 In case you're curious,
10607  both were included so that 
10608 \family typewriter
10609 tex2lyx
10610 \family default
10611  would be able to translate both 
10612 \family typewriter
10613
10614 \backslash
10615 address
10616 \family default
10617  and 
10618 \family typewriter
10619
10620 \backslash
10621 affiliation
10622 \family default
10623 .
10624 \end_layout
10625
10626 \end_inset
10627
10628
10629 \end_layout
10630
10631 \begin_layout Subsubsection
10632 Important Notes
10633 \end_layout
10634
10635 \begin_layout Standard
10636 There are a couple of important unique aspects of Rev\SpecialChar TeX
10637  4 which might cause bugs that will be even more confusing in \SpecialChar LyX
10638 .
10639 \end_layout
10640
10641 \begin_layout Standard
10642 In Rev\SpecialChar TeX
10643 ,
10644  the 
10645 \family typewriter
10646
10647 \backslash
10648 thanks
10649 \family default
10650  command goes 
10651 \emph on
10652 outside
10653 \emph default
10654  the 
10655 \family typewriter
10656
10657 \backslash
10658 author
10659 \family default
10660  command.
10661  The \SpecialChar LyX
10662  equivalent is that there is a separate Thanks layout.
10663  Do 
10664 \emph on
10665 not
10666 \emph default
10667  write footnotes in the 
10668 \family sans
10669 Author
10670 \family default
10671  layout,
10672  or weird things may happen.
10673  See the Rev\SpecialChar TeX
10674  4 documentation for more details.
10675 \end_layout
10676
10677 \begin_layout Standard
10678 Also,
10679  the 
10680 \family sans
10681 Author
10682 \begin_inset space ~
10683 \end_inset
10684
10685 Email
10686 \family default
10687 ,
10688  
10689 \family sans
10690 Author
10691 \begin_inset space ~
10692 \end_inset
10693
10694 URL
10695 \family default
10696 ,
10697  and 
10698 \family sans
10699 Thanks
10700 \family default
10701  layouts must be placed 
10702 \emph on
10703 in between
10704 \emph default
10705  the 
10706 \family sans
10707 Author
10708 \family default
10709  layout and the corresponding 
10710 \family sans
10711 Address
10712 \family default
10713  (or equivalent 
10714 \family sans
10715 Affiliation
10716 \family default
10717 ) layout.
10718  If you put the 
10719 \family sans
10720 Thanks
10721 \family default
10722  after the 
10723 \family sans
10724 Address
10725 \family default
10726 ,
10727  the \SpecialChar LaTeX
10728  won't compile.
10729 \end_layout
10730
10731 \begin_layout Subsection
10732
10733 \change_inserted 564990737 1671042072
10734 Springer Journals
10735 \end_layout
10736
10737 \begin_layout Standard
10738
10739 \change_inserted 564990737 1671042072
10740 All the 
10741 \family sans
10742 svj*
10743 \family default
10744  classes were replaced 
10745 \change_deleted -712698321 1673176131
10746 in 2013 
10747 \change_inserted 564990737 1671042072
10748 with a completely new 
10749 \change_deleted -712698321 1673175919
10750
10751 \family sans
10752 sr-vorl.cls
10753 \family default
10754 .
10755  This package provides a \SpecialChar LaTeX
10756  class and templates for books to be published at Springer Gabler Research,
10757  Springer Vieweg Research,
10758  Springer Spektrum Research,
10759  Springer VS Research,
10760  or Springer VS Forschung.
10761  The documentation is available in German from 
10762 \begin_inset CommandInset href
10763 LatexCommand href
10764 name "CTAN"
10765 target "http://mirrors.ctan.org/macros/latex/contrib/springer/sr-vorl/sr-vorl.pdf"
10766 literal "false"
10767
10768 \end_inset
10769
10770 .
10771
10772 \change_inserted -712698321 1673176125
10773  class,
10774  
10775 \family sans
10776 sn-jnl.cls
10777 \family default
10778 .
10779  Please find information at 
10780 \begin_inset Flex URL
10781 status collapsed
10782
10783 \begin_layout Plain Layout
10784
10785 \change_inserted -712698321 1673176047
10786
10787 https://www.springernature.com/gp/authors/campaigns/latex-author-support
10788 \change_unchanged
10789
10790 \end_layout
10791
10792 \end_inset
10793
10794 .
10795  Native \SpecialChar LyX
10796  support is not available yet.
10797 \change_inserted 564990737 1671042072
10798
10799 \end_layout
10800
10801 \begin_layout Section
10802
10803 \change_inserted 564990737 1670439560
10804 Books
10805 \end_layout
10806
10807 \begin_layout Standard
10808
10809 \change_inserted 564990737 1670439581
10810 See also the document classes in the Collections (section
10811 \begin_inset space ~
10812 \end_inset
10813
10814
10815 \begin_inset CommandInset ref
10816 LatexCommand ref
10817 reference "sec:Collections"
10818 nolink "false"
10819
10820 \end_inset
10821
10822 ).
10823 \end_layout
10824
10825 \begin_layout Subsection
10826 Memoir
10827 \end_layout
10828
10829 \begin_layout Standard
10830 By 
10831 \noun on
10832 Jürgen Spitzmüller
10833 \end_layout
10834
10835 \begin_layout Subsubsection
10836 Overview
10837 \end_layout
10838
10839 \begin_layout Standard
10840 Memoir is a very powerful and constantly evolving class.
10841  It has been designed with regard to fictional and non-fictional literature.
10842  Its aim is to let the user have maximum control over the typesetting of his document.
10843  Memoir is based on the standard book class,
10844  but it can also emulate the article class (see below).
10845 \end_layout
10846
10847 \begin_layout Standard
10848 Peter Wilson,
10849  the developer of Memoir,
10850  is known as the author of lots of useful packages in the \SpecialChar LaTeX
10851  world.
10852  Most of them have been merged with Memoir.
10853  Therefore,
10854  it is much easier to layout the table of contents,
10855  appendices,
10856  chapter designs and such.
10857  \SpecialChar LyX
10858 ,
10859  though,
10860  does not support all of these goodies natively.
10861  Some of them might be added to forthcoming releases
10862 \begin_inset Foot
10863 status collapsed
10864
10865 \begin_layout Plain Layout
10866 You are invited to send suggestions to 
10867 \begin_inset Flex URL
10868 status collapsed
10869
10870 \begin_layout Plain Layout
10871
10872 lyx-devel@lists.lyx.org
10873 \end_layout
10874
10875 \end_inset
10876
10877 .
10878 \end_layout
10879
10880 \end_inset
10881
10882 ,
10883  lots will probably never be supported,
10884  due to the limitations of \SpecialChar LyX
10885 's framework.
10886  Of course you can still use all features with the help of some native \SpecialChar LaTeX
10887  commands (\SpecialChar TeX
10888  code
10889 \begin_inset Foot
10890 status collapsed
10891
10892 \begin_layout Plain Layout
10893 Cf.
10894 \begin_inset ERT
10895 status collapsed
10896
10897 \begin_layout Plain Layout
10898
10899
10900 \backslash
10901  
10902 \end_layout
10903
10904 \end_inset
10905
10906 section
10907 \begin_inset space ~
10908 \end_inset
10909
10910
10911 \begin_inset CommandInset ref
10912 LatexCommand ref
10913 reference "sec:Inserting-TeX-Code"
10914 nolink "false"
10915
10916 \end_inset
10917
10918  for details.
10919 \end_layout
10920
10921 \end_inset
10922
10923 ).
10924  In this section,
10925  we can only list those features that are natively supported by \SpecialChar LyX
10926 .
10927  For detailed descriptions (and for the rest of features) we recommend you have a look at the detailed manual of the Memoir class
10928 \begin_inset Foot
10929 status collapsed
10930
10931 \begin_layout Plain Layout
10932 Cf.
10933 \begin_inset ERT
10934 status collapsed
10935
10936 \begin_layout Plain Layout
10937
10938
10939 \backslash
10940  
10941 \end_layout
10942
10943 \end_inset
10944
10945
10946 \begin_inset Flex URL
10947 status collapsed
10948
10949 \begin_layout Plain Layout
10950
10951 CTAN:/macros/latex/memoir/memman.pdf
10952 \end_layout
10953
10954 \end_inset
10955
10956 .
10957 \end_layout
10958
10959 \end_inset
10960
10961 ,
10962  which is not only a user guide for the class,
10963  but also both a comprehensive description on good typesetting and a superb example for good typesetting itself.
10964 \end_layout
10965
10966 \begin_layout Subsubsection
10967 Basic features and restrictions
10968 \end_layout
10969
10970 \begin_layout Standard
10971 Memoir supports basically all features of the standard book classes.
10972  There are,
10973  however,
10974  some differences,
10975  as follows:
10976 \end_layout
10977
10978 \begin_layout Description
10979 Font
10980 \begin_inset space ~
10981 \end_inset
10982
10983 sizes:
10984  Memoir has a broader range of font sizes:
10985  9,
10986  10,
10987  11,
10988  12,
10989  14,
10990  17
10991 \end_layout
10992
10993 \begin_layout Description
10994 Page
10995 \begin_inset space ~
10996 \end_inset
10997
10998 style:
10999  The fancy page style is not supported,
11000  due to a command clash between Memoir and the fancyhdr package (they both define a command with the same name,
11001  which confuses \SpecialChar LaTeX
11002 ).
11003  Instead,
11004  Memoir comes with a number of its own page styles (see 
11005 \family sans
11006 Document\SpecialChar menuseparator
11007 Settings\SpecialChar menuseparator
11008 Page
11009 \begin_inset space ~
11010 \end_inset
11011
11012 Style
11013 \family default
11014 ).
11015  If you want to use these for the chapter pages,
11016  you have to use the command 
11017 \family typewriter
11018
11019 \backslash
11020 chapterstyle
11021 \family default
11022  in the main text or in preamble (e.
11023 \begin_inset space \thinspace{}
11024 \end_inset
11025
11026 g.
11027 \begin_inset space \space{}
11028 \end_inset
11029
11030
11031 \family typewriter
11032
11033 \backslash
11034 chapterstyle{companion}
11035 \family default
11036 ).
11037 \end_layout
11038
11039 \begin_layout Description
11040 Sectioning:
11041  Sectionings (chapter,
11042  section,
11043  subsection etc.) come with an optional argument in the standard classes.
11044  With this,
11045  you can specify an alternative version of the title for the table of contents and the headers (for instance,
11046  if the title is too long).
11047  In \SpecialChar LyX
11048 ,
11049  you can do this via 
11050 \family sans
11051 Insert\SpecialChar menuseparator
11052 Short
11053 \begin_inset space ~
11054 \end_inset
11055
11056 Title
11057 \family default
11058  at the beginning of a chapter/section.
11059  Memoir features a second optional argument and thus separates the table of contents from the header.
11060  You can define three variants of a title with this:
11061  one for the main text,
11062  one for the table of contents,
11063  and one for the headers.
11064  \SpecialChar LyX
11065  makes these available in form of specific 
11066 \family sans
11067 Short Title
11068 \family default
11069  variants in the 
11070 \family sans
11071 Insert
11072 \family default
11073  menu.
11074 \end_layout
11075
11076 \begin_layout Description
11077 TOC/LOT/LOF:
11078  In the standard classes (and in many other classes),
11079  the table of contents,
11080  the list of figures and the list of table start a new page automatically.
11081  Memoir does not follow this route.
11082  You have to insert a page break yourself,
11083  if you want to have one.
11084 \end_layout
11085
11086 \begin_layout Description
11087 Titlepage:
11088  For some unknown reason,
11089  Memoir uses pagination on the title page (in the standard classes,
11090  title pages are 
11091 \begin_inset Quotes eld
11092 \end_inset
11093
11094 empty
11095 \begin_inset Quotes erd
11096 \end_inset
11097
11098 ).
11099  If you want an empty title page,
11100  type 
11101 \family typewriter
11102
11103 \backslash
11104 aliaspagestyle{title}{empty}
11105 \family default
11106  in the preamble.
11107 \end_layout
11108
11109 \begin_layout Description
11110 Article:
11111  With the class option 
11112 \emph on
11113 article
11114 \emph default
11115  (to be inserted in 
11116 \family sans
11117 Document\SpecialChar menuseparator
11118 Settings\SpecialChar menuseparator
11119 Class Settings\SpecialChar menuseparator
11120 Custom
11121 \begin_inset space ~
11122 \end_inset
11123
11124 Options
11125 \family default
11126 ),
11127  you can emulate article style.
11128  That is,
11129  counters (footnotes,
11130  figures,
11131  tables etc.) will not be reset on new chapters,
11132  chapters don't start a new page (but are—
11133 in contrary to 
11134 \begin_inset Quotes eld
11135 \end_inset
11136
11137 real
11138 \begin_inset Quotes erd
11139 \end_inset
11140
11141  article classes—
11142 still allowed),
11143  parts,
11144  though,
11145  use their own page,
11146  as in book.
11147 \end_layout
11148
11149 \begin_layout Description
11150 Oldfontcommands:
11151  By default,
11152  Memoir does not allow the use of the deprecated font commands,
11153  which have been used in the old \SpecialChar LaTeX
11154  version 2.09 (e.
11155 \begin_inset space \thinspace{}
11156 \end_inset
11157
11158 g.
11159 \begin_inset space \space{}
11160 \end_inset
11161
11162
11163 \family typewriter
11164
11165 \backslash
11166 rm
11167 \family default
11168 ,
11169  
11170 \family typewriter
11171
11172 \backslash
11173 it
11174 \family default
11175 ).
11176  It produces an error and stops \SpecialChar LaTeX
11177  whenever such a command appears.
11178  The class option 
11179 \emph on
11180 oldfontcommands
11181 \emph default
11182  reallows the commands and spits out warnings instead (which does at least not stop \SpecialChar LaTeX
11183 ).
11184  Since a lot of packages and particularly Bib\SpecialChar TeX
11185  style files are still using those commands,
11186  we have decided to use this option by default.
11187 \end_layout
11188
11189 \begin_layout Subsubsection
11190 Extra features
11191 \end_layout
11192
11193 \begin_layout Standard
11194 We will only describe the features supported by \SpecialChar LyX
11195  (which is not much currently).
11196  Please consult the Memoir manual
11197 \begin_inset Foot
11198 status collapsed
11199
11200 \begin_layout Plain Layout
11201 Cf.
11202 \begin_inset ERT
11203 status collapsed
11204
11205 \begin_layout Plain Layout
11206
11207
11208 \backslash
11209  
11210 \end_layout
11211
11212 \end_inset
11213
11214
11215 \begin_inset Flex URL
11216 status collapsed
11217
11218 \begin_layout Plain Layout
11219
11220 CTAN:/macros/latex/memoir/memman.pdf
11221 \end_layout
11222
11223 \end_inset
11224
11225 .
11226 \end_layout
11227
11228 \end_inset
11229
11230  for details.
11231 \end_layout
11232
11233 \begin_layout Description
11234 Abstract:
11235  You may wonder why an abstract is an extra feature.
11236  Well,
11237  it is in book class.
11238  Usually books don't have abstracts.
11239  Memoir,
11240  however,
11241  has.
11242  You can use it wherever and how often you like.
11243 \end_layout
11244
11245 \begin_layout Description
11246 Chapterprecis:
11247  You may know this older typesetting style:
11248  The contents of a chapter are summarized below the title and also in the table of contents (e.
11249 \begin_inset space \thinspace{}
11250 \end_inset
11251
11252 g.
11253 \begin_inset space \space{}
11254 \end_inset
11255
11256
11257 \emph on
11258 Our hero arrives in Troia;
11259  he loses some friends;
11260  he finds others
11261 \emph default
11262 ).
11263  Chapterprecis does exactly this.
11264  It is therefore only sensible below a chapter.
11265 \end_layout
11266
11267 \begin_layout Description
11268 Epigraph:
11269  An epigraph is a smart slogan or motto at the beginning of a chapter.
11270  The epigraph environment provides an elegant way of typesetting such a motto.
11271  The motto itself (text) and its (optional) author (source) are divided by a short line.
11272  The author (source) can be inserted via 
11273 \family sans
11274 Insert\SpecialChar menuseparator
11275 Epigraph Source
11276 \family default
11277 \emph on
11278 .
11279 \end_layout
11280
11281 \begin_layout Description
11282 Poemtitle:
11283  Memoir has lots of possibilities to typeset poetry (up to very complex figurative poems).
11284  \SpecialChar LyX
11285  can only support a few of them.
11286  One is poemtitle,
11287  which is a centered title for poems,
11288  which will also be added to the table of contents (verse is the standard environment for poems.
11289  Memoir has some enhanced versions of verse,
11290  but you need to use \SpecialChar TeX
11291  code,
11292  because they have to be nested inside regular verse environments,
11293  which is not possible with \SpecialChar LyX
11294 ).
11295 \end_layout
11296
11297 \begin_layout Description
11298 Poemtitle*:
11299  Same as poemtitle,
11300  but it adds no entry to the table of contents.
11301 \end_layout
11302
11303 \begin_layout Subsection
11304
11305 \change_inserted 564990737 1671442175
11306 Recipe Book
11307 \end_layout
11308
11309 \begin_layout Standard
11310
11311 \change_inserted 564990737 1671442175
11312 The document class 
11313 \family sans
11314 Recipe
11315 \change_inserted -712698321 1673182264
11316  
11317 \change_inserted 564990737 1671442175
11318 Book
11319 \change_deleted -712698321 1673182266
11320
11321 \family typewriter
11322 .cls
11323 \change_inserted 564990737 1671442175
11324
11325 \family default
11326  uses the 
11327 \change_deleted -712698321 1673182282
11328
11329 \family sans
11330 book
11331 \begin_inset space \thinspace{}
11332 \end_inset
11333
11334 (
11335 \change_inserted 564990737 1671442175
11336 KOMA-Script
11337 \change_inserted -712698321 1673182287
11338  Book
11339 \change_deleted -712698321 1673182290
11340 )
11341 \change_inserted 564990737 1671442175
11342
11343 \family default
11344  document class but adds two environments:
11345 \end_layout
11346
11347 \begin_layout Description
11348
11349 \change_inserted 564990737 1671442175
11350 Recipe a numbered section environment at the 
11351 \family typewriter
11352 Subsubsection
11353 \family default
11354  level which generates a bold centered heading above a double horizontal rule
11355 \end_layout
11356
11357 \begin_layout Description
11358
11359 \change_inserted 564990737 1671442175
11360 Ingredients a 
11361 \family typewriter
11362 Description
11363 \family default
11364  environment where 
11365 \series bold
11366 \emph on
11367 Ingredients
11368 \series default
11369 \emph default
11370  are what are being described and the environment ends with a horizontal rule.
11371 \end_layout
11372
11373 \begin_layout Standard
11374
11375 \change_inserted 564990737 1671642866
11376
11377 \family sans
11378 File\SpecialChar menuseparator
11379 Open Example\SpecialChar menuseparator
11380 Books\SpecialChar menuseparator
11381 Recipe Book
11382 \family default
11383  illustrates its use.
11384 \end_layout
11385
11386 \begin_layout Standard
11387
11388 \change_deleted -712698321 1673186391
11389 It
11390 \change_inserted -712698321 1673186393
11391 The class
11392 \change_inserted 564990737 1671442175
11393  is designed for typesetting one or two recipes per page
11394 \change_deleted -712698321 1673199172
11395 ,
11396  with dimensions of 5.5
11397 \begin_inset Quotes qrd
11398 \end_inset
11399
11400  x 8.5
11401 \begin_inset Quotes qrd
11402 \end_inset
11403
11404
11405 \change_inserted 564990737 1671442175
11406 .
11407  The hyperlinked table of contents (ToC) and page numbers make browsing recipes convenient
11408 \change_inserted -712698321 1673186486
11409 .
11410 \change_deleted -712698321 1673186487
11411 ,
11412
11413 \change_inserted 564990737 1671442175
11414  
11415 \change_deleted -712698321 1673199346
11416 and the pages can be joined together or printed 2 per page to normal letterpaper easily.
11417  The size was chosen to work in half-page 3-ring binder cover sheets,
11418  because un-laminated paper just doesn't last in the kitchen.
11419 \end_layout
11420
11421 \begin_layout Standard
11422
11423 \change_deleted -712698321 1673199346
11424 The half-letter pages can be printed two per page using your printer driver,
11425  or bound together using 
11426 \family typewriter
11427 pdfjam --nup 2x1 --papersize '{11in,8.5in}'
11428 \family default
11429  
11430 \family typewriter
11431 Recipes.pdf
11432 \family default
11433  where 
11434 \family typewriter
11435 Recipes.pdf
11436 \family default
11437  is the compiled version of your recipes.
11438 \change_inserted -712698321 1673175424
11439
11440 \end_layout
11441
11442 \begin_layout Section
11443
11444 \change_inserted 564990737 1671442207
11445 Curricula vita
11446 \change_deleted -712698321 1673186818
11447 rum
11448 \change_inserted -712698321 1673186818
11449 e
11450 \change_inserted 564990737 1671442207
11451
11452 \end_layout
11453
11454 \begin_layout Subsection
11455
11456 \change_inserted 564990737 1671442208
11457 Europass
11458 \change_inserted -712698321 1673187876
11459  (2013)
11460 \change_inserted 564990737 1671442208
11461
11462 \end_layout
11463
11464 \begin_layout Standard
11465
11466 \change_inserted 564990737 1671642942
11467 The document class 
11468 \change_deleted -712698321 1673187623
11469
11470 \family sans
11471 curriculum
11472 \begin_inset space \space{}
11473 \end_inset
11474
11475 vitae
11476 \begin_inset space \thinspace{}
11477 \end_inset
11478
11479 (
11480 \change_inserted 564990737 1671642942
11481 Europass
11482 \change_inserted -712698321 1673187655
11483  (2013)
11484 \change_deleted -712698321 1673187624
11485 )
11486 \change_inserted 564990737 1671642942
11487
11488 \family default
11489  provides the 
11490 \family typewriter
11491 europasscv.cls
11492 \family default
11493  document class,
11494  an unofficial implementation of the ‘Europass CV’ recommended by the European Commission in 2013.
11495  
11496 \family sans
11497 File\SpecialChar menuseparator
11498 Open Example\SpecialChar menuseparator
11499 Curricula Vitae\SpecialChar menuseparator
11500 Europass 
11501 \change_deleted -712698321 1673187728
11502 CV 
11503 \change_inserted 564990737 1671642942
11504 (2013)
11505 \family default
11506  offers guidance on its use.
11507  Its documentation is available from 
11508 \begin_inset CommandInset href
11509 LatexCommand href
11510 name "CTAN"
11511 target "http://mirrors.ctan.org/macros/latex/contrib/europasscv/europasscv.pdf"
11512 literal "false"
11513
11514 \end_inset
11515
11516 .
11517 \end_layout
11518
11519 \begin_layout Subsection
11520
11521 \change_inserted 564990737 1671442208
11522 Europe
11523 \change_deleted -712698321 1673187829
11524 an
11525 \change_inserted -712698321 1673187829
11526  CV
11527 \change_inserted 564990737 1671442208
11528
11529 \end_layout
11530
11531 \begin_layout Standard
11532
11533 \change_inserted 564990737 1671642984
11534 The document class 
11535 \change_deleted -712698321 1673187820
11536
11537 \family sans
11538 curriculum
11539 \begin_inset space \space{}
11540 \end_inset
11541
11542 vitae
11543 \begin_inset space \thinspace{}
11544 \end_inset
11545
11546 (
11547 \change_inserted 564990737 1671642984
11548 Europe
11549 \change_inserted -712698321 1673187823
11550  CV
11551 \change_deleted -712698321 1673187824
11552 )
11553 \change_inserted 564990737 1671642984
11554
11555 \family default
11556  provides the 
11557 \family typewriter
11558 europecv.cls
11559 \family default
11560  document class,
11561  an unofficial implementation of the “Europass CV” recommended by the European Commission in 2002.
11562  
11563 \family sans
11564 File\SpecialChar menuseparator
11565 Open Example\SpecialChar menuseparator
11566 Curricula Vitae\SpecialChar menuseparator
11567 Europe CV
11568 \family default
11569  offers guidance on its use.
11570  Its documentation is available from 
11571 \begin_inset CommandInset href
11572 LatexCommand href
11573 name "CTAN"
11574 target "http://mirrors.ctan.org/macros/latex/contrib/europecv/europecv.pdf"
11575 literal "false"
11576
11577 \end_inset
11578
11579 .
11580 \end_layout
11581
11582 \begin_layout Subsection
11583
11584 \change_inserted 564990737 1671442208
11585 Modern
11586 \change_inserted -712698321 1673187869
11587  CV
11588 \change_inserted 564990737 1671442208
11589
11590 \end_layout
11591
11592 \begin_layout Standard
11593
11594 \change_inserted 564990737 1671643003
11595 The document class 
11596 \change_deleted -712698321 1673187880
11597
11598 \family sans
11599 curriculum
11600 \begin_inset space \space{}
11601 \end_inset
11602
11603 vitae
11604 \begin_inset space \thinspace{}
11605 \end_inset
11606
11607 (m
11608 \change_inserted -712698321 1673187880
11609 M
11610 \change_inserted 564990737 1671643003
11611 odern
11612 \change_inserted -712698321 1673187884
11613  CV
11614 \change_deleted -712698321 1673187884
11615 )
11616 \change_inserted 564990737 1671643003
11617
11618 \family default
11619  provides the 
11620 \family typewriter
11621 moderncv.cls
11622 \family default
11623  document class.
11624  This allows the creation of customizable CVs.
11625  
11626 \family sans
11627 File\SpecialChar menuseparator
11628 Open Example\SpecialChar menuseparator
11629 Curricula Vitae\SpecialChar menuseparator
11630 Modern CV
11631 \family default
11632  offers guidance on its use.
11633  Its documentation is available from 
11634 \begin_inset CommandInset href
11635 LatexCommand href
11636 name "CTAN"
11637 target "http://mirrors.ctan.org/macros/latex/contrib/moderncv/manual/moderncv_userguide.pdf"
11638 literal "false"
11639
11640 \end_inset
11641
11642 .
11643 \end_layout
11644
11645 \begin_layout Subsection
11646
11647 \change_inserted 564990737 1671442208
11648 Simple
11649 \change_inserted -712698321 1673187900
11650  CV
11651 \change_inserted 564990737 1671442208
11652
11653 \end_layout
11654
11655 \begin_layout Standard
11656
11657 \change_inserted 564990737 1671643024
11658 The document class 
11659 \change_deleted -712698321 1673187895
11660
11661 \family sans
11662 curriculum
11663 \begin_inset space \space{}
11664 \end_inset
11665
11666 vitae
11667 \begin_inset space \thinspace{}
11668 \end_inset
11669
11670 (s
11671 \change_inserted -712698321 1673187895
11672 S
11673 \change_inserted 564990737 1671643024
11674 imple
11675 \change_inserted -712698321 1673187897
11676  CV
11677 \change_deleted -712698321 1673187898
11678 )
11679 \change_inserted 564990737 1671643024
11680
11681 \family default
11682  provides the 
11683 \family typewriter
11684 simplecv.cls
11685 \family default
11686  document class,
11687  originally developed for use with \SpecialChar LyX
11688 .
11689  
11690 \family sans
11691 File\SpecialChar menuseparator
11692 Open Example\SpecialChar menuseparator
11693 Curricula Vitae\SpecialChar menuseparator
11694 Simple CV
11695 \family default
11696  offers guidance on its use.
11697  Its documentation is available from 
11698 \begin_inset CommandInset href
11699 LatexCommand href
11700 name "CTAN"
11701 target "http://mirrors.ctan.org/macros/latex/contrib/simplecv/simplecv.pdf"
11702 literal "false"
11703
11704 \end_inset
11705
11706
11707 \end_layout
11708
11709 \begin_layout Section
11710
11711 \change_inserted 564990737 1672652454
11712 Letters
11713 \end_layout
11714
11715 \begin_layout Standard
11716
11717 \change_inserted 564990737 1672652455
11718 See also the 
11719 \change_deleted -712698321 1673245882
11720
11721 \family typewriter
11722 letter
11723 \begin_inset space \space{}
11724 \end_inset
11725
11726 (KOMA-Script v.2)
11727 \change_inserted -712698321 1673245882
11728
11729 \family sans
11730 KOMA-Script Letter (V.
11731  2)
11732 \change_inserted 564990737 1672652455
11733
11734 \family default
11735  (section
11736 \begin_inset space ~
11737 \end_inset
11738
11739
11740 \begin_inset CommandInset ref
11741 LatexCommand ref
11742 reference "subsec:The-new-letter"
11743 nolink "false"
11744
11745 \end_inset
11746
11747 ) and 
11748 \change_deleted -712698321 1673245908
11749
11750 \family typewriter
11751 letter
11752 \begin_inset space \space{}
11753 \end_inset
11754
11755 (with extra font sizes)
11756 \change_inserted -712698321 1673245908
11757
11758 \family sans
11759 Letter (Standard Class with Extra Font Sizes)
11760 \change_inserted 564990737 1672652455
11761
11762 \family default
11763  (section
11764 \begin_inset space ~
11765 \end_inset
11766
11767
11768 \begin_inset CommandInset ref
11769 LatexCommand ref
11770 reference "subsec:Extra-font-sizes"
11771 nolink "false"
11772
11773 \end_inset
11774
11775 ) document classes .
11776 \end_layout
11777
11778 \begin_layout Subsection
11779
11780 \change_inserted 564990737 1671041970
11781 D
11782 \change_deleted -712698321 1673246109
11783 in
11784 \change_inserted -712698321 1673246110
11785 IN
11786 \change_inserted 564990737 1671041970
11787 -Brief
11788 \end_layout
11789
11790 \begin_layout Standard
11791
11792 \change_inserted 564990737 1671617528
11793 The document class 
11794 \family sans
11795 D
11796 \change_deleted -712698321 1673246116
11797 in
11798 \change_inserted -712698321 1673246116
11799 IN
11800 \change_inserted 564990737 1671617528
11801 -Brief
11802 \family default
11803  provides 
11804 \change_inserted -712698321 1673246192
11805 support for 
11806 \change_inserted 564990737 1671617528
11807 the 
11808 \family typewriter
11809 dinbrief.cls
11810 \family default
11811  
11812 \change_deleted -712698321 1673246242
11813 document
11814 \change_inserted -712698321 1673246242
11815 \SpecialChar LaTeX
11816
11817 \change_inserted 564990737 1671617528
11818  class for writing letters according to the
11819 \change_inserted -712698321 1673246140
11820  standards of the German Standards Institute (
11821 \change_deleted -712698321 1673246141
11822  
11823 \change_inserted 564990737 1671617528
11824
11825 \emph on
11826 Deutsches Institut für Normung
11827 \change_inserted -712698321 1673246324
11828 ,
11829  DIN)
11830 \change_deleted -712698321 1673246131
11831
11832 \emph default
11833  conventions
11834 \change_inserted 564990737 1671617528
11835 .
11836  The file in the menu 
11837 \family sans
11838 \bar under
11839 F
11840 \bar default
11841 ile\SpecialChar menuseparator
11842 New
11843 \begin_inset space ~
11844 \end_inset
11845
11846 fro
11847 \bar under
11848 m
11849 \bar default
11850
11851 \begin_inset space ~
11852 \end_inset
11853
11854 Template\SpecialChar menuseparator
11855 Letters\SpecialChar menuseparator
11856 DIN-Brief
11857 \family default
11858  offers guidance on its use.
11859  The documentation is available from 
11860 \begin_inset CommandInset href
11861 LatexCommand href
11862 name "CTAN"
11863 target "http://mirrors.ctan.org/macros/latex/contrib/dinbrief/liesmich"
11864 literal "false"
11865
11866 \end_inset
11867
11868 .
11869 \end_layout
11870
11871 \begin_layout Subsection
11872
11873 \change_deleted -712698321 1673246778
11874 frletter
11875 \change_inserted -712698321 1673246778
11876 French letter
11877 \begin_inset space \space{}
11878 \end_inset
11879
11880 (frletter)
11881 \change_unchanged
11882
11883 \end_layout
11884
11885 \begin_layout Standard
11886
11887 \change_inserted 564990737 1672652499
11888 The document class 
11889 \family sans
11890 French letter
11891 \begin_inset space \space{}
11892 \end_inset
11893
11894 (frletter)
11895 \family default
11896  provides 
11897 \change_inserted -712698321 1673246198
11898 support for 
11899 \change_inserted 564990737 1672652499
11900 the 
11901 \family typewriter
11902 frletter.cls
11903 \family default
11904  
11905 \change_deleted -712698321 1673246247
11906 document
11907 \change_inserted -712698321 1673246247
11908 \SpecialChar LaTeX
11909
11910 \change_inserted 564990737 1672652499
11911  class for writing letters according to French conventions.
11912  The file in the menu 
11913 \family sans
11914 \bar under
11915 F
11916 \bar default
11917 ile\SpecialChar menuseparator
11918 New
11919 \begin_inset space ~
11920 \end_inset
11921
11922 fro
11923 \bar under
11924 m
11925 \bar default
11926
11927 \begin_inset space ~
11928 \end_inset
11929
11930 Template\SpecialChar menuseparator
11931 Letters\SpecialChar menuseparator
11932 French letter
11933 \begin_inset space \space{}
11934 \end_inset
11935
11936 (frletter)
11937 \family default
11938  offers guidance on its use.
11939 \change_inserted -712698321 1673246876
11940
11941 \end_layout
11942
11943 \begin_layout Subsection
11944
11945 \change_inserted -712698321 1673246876
11946 French letter
11947 \begin_inset space \space{}
11948 \end_inset
11949
11950 (lettre)
11951 \end_layout
11952
11953 \begin_layout Standard
11954
11955 \change_inserted -712698321 1673246917
11956 The document class 
11957 \family sans
11958 French letter
11959 \begin_inset space \space{}
11960 \end_inset
11961
11962 (lettre)
11963 \family default
11964  provides support for 
11965 \family typewriter
11966 lettre.cls
11967 \family default
11968 ,
11969  another \SpecialChar LaTeX
11970  class for writing letters,
11971  but also faxes and envelopes,
11972  in French.
11973  The file in the menu 
11974 \family sans
11975 \bar under
11976 F
11977 \bar default
11978 ile\SpecialChar menuseparator
11979 New
11980 \begin_inset space ~
11981 \end_inset
11982
11983 fro
11984 \bar under
11985 m
11986 \bar default
11987
11988 \begin_inset space ~
11989 \end_inset
11990
11991 Template\SpecialChar menuseparator
11992 Letters\SpecialChar menuseparator
11993 French letter
11994 \begin_inset space \space{}
11995 \end_inset
11996
11997 (lettre)
11998 \family default
11999  offers guidance on its use.
12000  The documentation is available from 
12001 \begin_inset CommandInset href
12002 LatexCommand href
12003 name "CTAN"
12004 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
12005 literal "false"
12006
12007 \end_inset
12008
12009 .
12010 \change_inserted 564990737 1672652499
12011
12012 \end_layout
12013
12014 \begin_layout Subsection
12015
12016 \change_inserted 564990737 1672652499
12017 G-Brief
12018 \change_inserted -712698321 1673246804
12019  (V.
12020 \begin_inset space \thinspace{}
12021 \end_inset
12022
12023 2)
12024 \change_inserted 564990737 1672652499
12025
12026 \end_layout
12027
12028 \begin_layout Standard
12029
12030 \change_inserted 564990737 1672652499
12031 The document class 
12032 \family sans
12033 G-Brief (V.
12034 \begin_inset space \thinspace{}
12035 \end_inset
12036
12037 2)
12038 \family default
12039  provides 
12040 \change_inserted -712698321 1673246202
12041 support for 
12042 \change_inserted 564990737 1672652499
12043 the 
12044 \change_deleted -712698321 1673246498
12045 newer 
12046 \change_inserted 564990737 1672652499
12047
12048 \family typewriter
12049 g-brief2.cls
12050 \family default
12051  
12052 \change_deleted -712698321 1673246249
12053 document
12054 \change_inserted -712698321 1673246249
12055 \SpecialChar LaTeX
12056
12057 \change_inserted 564990737 1672652499
12058  class for writing letters in German.
12059  The file in the menu 
12060 \family sans
12061 \bar under
12062 F
12063 \bar default
12064 ile\SpecialChar menuseparator
12065 New
12066 \begin_inset space ~
12067 \end_inset
12068
12069 fro
12070 \bar under
12071 m
12072 \bar default
12073
12074 \begin_inset space ~
12075 \end_inset
12076
12077 Template\SpecialChar menuseparator
12078 Letters\SpecialChar menuseparator
12079 G-Brief (V.
12080 \begin_inset space \thinspace{}
12081 \end_inset
12082
12083 2)
12084 \family default
12085  offers guidance on its use.
12086  The documentation is available from 
12087 \begin_inset CommandInset href
12088 LatexCommand href
12089 name "CTAN"
12090 target "http://mirrors.ctan.org/macros/latex/contrib/g-brief/g-brief.pdf"
12091 literal "false"
12092
12093 \end_inset
12094
12095 .
12096 \end_layout
12097
12098 \begin_layout Subsection
12099
12100 \change_deleted -712698321 1673246462
12101 letter
12102 \end_layout
12103
12104 \begin_layout Standard
12105
12106 \change_deleted -712698321 1673246462
12107 The document class 
12108 \family sans
12109 letter
12110 \family default
12111  provides the 
12112 \family sans
12113 letter.cls
12114 \family default
12115  document class for English letters and to create mailing labels.
12116  The file in the menu 
12117 \family sans
12118 \bar under
12119 F
12120 \bar default
12121 ile\SpecialChar menuseparator
12122 New
12123 \begin_inset space ~
12124 \end_inset
12125
12126 fro
12127 \bar under
12128 m
12129 \bar default
12130
12131 \begin_inset space ~
12132 \end_inset
12133
12134 Template\SpecialChar menuseparator
12135 Letters\SpecialChar menuseparator
12136 Letter (Standard Class)
12137 \family default
12138  offers guidance on its use.
12139 \change_inserted 564990737 1671617591
12140
12141 \end_layout
12142
12143 \begin_layout Subsection
12144
12145 \change_deleted -712698321 1673246872
12146 lettre
12147 \end_layout
12148
12149 \begin_layout Standard
12150
12151 \change_deleted -712698321 1673246872
12152 The document class 
12153 \family sans
12154 French letter
12155 \begin_inset space \space{}
12156 \end_inset
12157
12158 (lettre)
12159 \family default
12160  provides the 
12161 \family typewriter
12162 lettre.cls
12163 \family default
12164  document class for writing letters,
12165  faxes and envelopes in French.
12166  The file in the menu 
12167 \family sans
12168 \bar under
12169 F
12170 \bar default
12171 ile\SpecialChar menuseparator
12172 New
12173 \begin_inset space ~
12174 \end_inset
12175
12176 fro
12177 \bar under
12178 m
12179 \bar default
12180
12181 \begin_inset space ~
12182 \end_inset
12183
12184 Template\SpecialChar menuseparator
12185 Letters\SpecialChar menuseparator
12186 French letter
12187 \begin_inset space \space{}
12188 \end_inset
12189
12190 (lettre)
12191 \family default
12192  offers guidance on its use.
12193  The documentation is available from 
12194 \begin_inset CommandInset href
12195 LatexCommand href
12196 name "CTAN"
12197 target "http://mirrors.ctan.org/macros/latex/contrib/lettre/lettre.pdf"
12198 literal "false"
12199
12200 \end_inset
12201
12202 .
12203 \change_inserted 564990737 1672652527
12204
12205 \end_layout
12206
12207 \begin_layout Section
12208
12209 \change_inserted 564990737 1670439660
12210 Presentations
12211 \end_layout
12212
12213 \begin_layout Subsection
12214
12215 \change_inserted 564990737 1671458922
12216 Beamer
12217 \end_layout
12218
12219 \begin_layout Standard
12220
12221 \change_inserted 564990737 1671617655
12222 The document class 
12223 \change_deleted -712698321 1673255475
12224
12225 \family sans
12226 presentation
12227 \begin_inset space \thinspace{}
12228 \end_inset
12229
12230 (b
12231 \change_inserted -712698321 1673255475
12232 B
12233 \change_inserted 564990737 1671617655
12234 eamer
12235 \change_deleted -712698321 1673255477
12236 )
12237 \change_inserted 564990737 1671617655
12238
12239 \family default
12240  uses the 
12241 \family typewriter
12242 beamer.cls
12243 \family default
12244  
12245 \change_deleted -712698321 1673255496
12246 document
12247 \change_inserted -712698321 1673255496
12248 \SpecialChar LaTeX
12249
12250 \change_inserted 564990737 1671617655
12251  class for creating presentations.
12252  The file in the menu 
12253 \family sans
12254 \bar under
12255 F
12256 \bar default
12257 ile\SpecialChar menuseparator
12258 New
12259 \begin_inset space ~
12260 \end_inset
12261
12262 fro
12263 \bar under
12264 m
12265 \bar default
12266
12267 \begin_inset space ~
12268 \end_inset
12269
12270 Template\SpecialChar menuseparator
12271 Presentations\SpecialChar menuseparator
12272 Beamer
12273 \family default
12274  
12275 \change_inserted -712698321 1673257500
12276 or 
12277 \family sans
12278 Help\SpecialChar menuseparator
12279 Specific Manuals\SpecialChar menuseparator
12280 Beamer Presentations
12281 \family default
12282  
12283 \change_inserted 564990737 1671617655
12284 offers guidance on its use.
12285  The documentation is available from 
12286 \begin_inset CommandInset href
12287 LatexCommand href
12288 name "CTAN"
12289 target "http://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf"
12290 literal "false"
12291
12292 \end_inset
12293
12294 .
12295 \end_layout
12296
12297 \begin_layout Subsection
12298
12299 \change_deleted -712698321 1673255766
12300 Foils [aka 
12301 \change_unchanged
12302
12303 \family sans
12304 Foil\SpecialChar TeX
12305
12306 \change_deleted -712698321 1673255767
12307
12308 \family default
12309 ]
12310 \change_unchanged
12311
12312 \begin_inset CommandInset label
12313 LatexCommand label
12314 name "sec:foiltex"
12315
12316 \end_inset
12317
12318
12319 \end_layout
12320
12321 \begin_layout Standard
12322
12323 \change_inserted 564990737 1672743383
12324 Original by 
12325 \noun on
12326 Allan Rae
12327 \noun default
12328 ;
12329  updated by the \SpecialChar LyX
12330  Team
12331 \end_layout
12332
12333 \begin_layout Subsubsection
12334
12335 \change_inserted 564990737 1672743383
12336 Introduction
12337 \end_layout
12338
12339 \begin_layout Standard
12340
12341 \change_inserted 564990737 1672743396
12342 The document class 
12343 \change_deleted -712698321 1673255761
12344
12345 \family sans
12346 presentation
12347 \begin_inset space \thinspace{}
12348 \end_inset
12349
12350 (
12351 \change_inserted 564990737 1672743396
12352 Foil\SpecialChar TeX
12353
12354 \change_deleted -712698321 1673255763
12355 )
12356 \change_inserted 564990737 1672743396
12357
12358 \family default
12359  uses the 
12360 \family typewriter
12361 foils.cls
12362 \family default
12363  document class to make slides for overhead projectors.
12364  There are two document classes that can do this:
12365  the 
12366 \change_deleted -712698321 1673256124
12367
12368 \family sans
12369 presentations
12370 \begin_inset space \thinspace{}
12371 \end_inset
12372
12373 (s
12374 \change_inserted -712698321 1673256124
12375 S
12376 \change_inserted 564990737 1672743396
12377 lides
12378 \change_deleted -712698321 1673256130
12379 )
12380 \change_inserted 564990737 1672743396
12381
12382 \family default
12383  document class (section
12384 \begin_inset space ~
12385 \end_inset
12386
12387
12388 \begin_inset CommandInset ref
12389 LatexCommand ref
12390 reference "sec:slitex"
12391 plural "false"
12392 caps "false"
12393 noprefix "false"
12394 nolink "false"
12395
12396 \end_inset
12397
12398 ) and the 
12399 \family sans
12400 Foil\SpecialChar TeX
12401
12402 \family default
12403  slides class.
12404  As of 2023 the former has continued to be maintained whereas 
12405 \family sans
12406 Foil\SpecialChar TeX
12407
12408 \family default
12409  has not been maintained since 2008.
12410  This section documents the latter.
12411  If your machine doesn’t have the 
12412 \change_deleted -712698321 1673256264
12413
12414 \family sans
12415 presentation
12416 \begin_inset space \thinspace{}
12417 \end_inset
12418
12419 (
12420 \change_inserted 564990737 1672743396
12421 Foil\SpecialChar TeX
12422
12423 \change_deleted -712698321 1673256265
12424 )
12425 \change_inserted 564990737 1672743396
12426
12427 \family default
12428  document class installed,
12429  you’ll probably have to use the 
12430 \change_deleted -712698321 1673256271
12431
12432 \family sans
12433 presentations
12434 \begin_inset space \thinspace{}
12435 \end_inset
12436
12437 (s
12438 \change_inserted -712698321 1673256271
12439 S
12440 \change_inserted 564990737 1672743396
12441 lides
12442 \change_deleted -712698321 1673256273
12443 )
12444 \change_inserted 564990737 1672743396
12445
12446 \family default
12447  document class.
12448  If you want to install the 
12449 \family typewriter
12450 foils.cls
12451 \family default
12452  document class,
12453  it is available from 
12454 \begin_inset CommandInset href
12455 LatexCommand href
12456 name "CTAN"
12457 target "https://www.ctan.org/pkg/foiltex"
12458 literal "false"
12459
12460 \end_inset
12461
12462 .
12463  You should also read the 
12464 \emph on
12465 Installing New Document Classes
12466 \emph default
12467  chapter of the 
12468 \emph on
12469 Customization
12470 \emph default
12471  manual.
12472 \change_deleted 564990737 1672743436
12473 by 
12474 \noun on
12475 Allan Rae
12476 \end_layout
12477
12478 \begin_layout Standard
12479
12480 \change_deleted 564990737 1672743383
12481 Introduction
12482 \end_layout
12483
12484 \begin_layout Standard
12485
12486 \change_deleted 564990737 1672743383
12487 This section describes how to use \SpecialChar LyX
12488  to make slides for overhead projectors.
12489  There are two document classes that can do this:
12490  the default slides class and the 
12491 \family sans
12492 Foil\SpecialChar TeX
12493
12494 \family default
12495  slides class.
12496  This section documents the latter.
12497 \end_layout
12498
12499 \begin_layout Standard
12500
12501 \change_deleted 564990737 1672743383
12502 I'm going to say this again,
12503  nice and clear,
12504  so that there's no misunderstanding:
12505 \end_layout
12506
12507 \begin_layout Standard
12508
12509 \change_deleted 564990737 1672743383
12510 \begin_inset VSpace bigskip
12511 \end_inset
12512
12513
12514 \end_layout
12515
12516 \begin_layout Standard
12517 \align center
12518
12519 \change_deleted 564990737 1672743383
12520
12521 \size large
12522 This section documents the class 
12523 \begin_inset Quotes eld
12524 \end_inset
12525
12526
12527 \family sans
12528 FoilTeX
12529 \family default
12530
12531 \begin_inset Quotes erd
12532 \end_inset
12533
12534  
12535 \emph on
12536 only.
12537 \end_layout
12538
12539 \begin_layout Standard
12540
12541 \change_deleted 564990737 1672743383
12542 \begin_inset VSpace bigskip
12543 \end_inset
12544
12545
12546 \end_layout
12547
12548 \begin_layout Standard
12549
12550 \change_deleted 564990737 1672743383
12551 If you're looking for the documentation for 
12552 \begin_inset Quotes eld
12553 \end_inset
12554
12555
12556 \family sans
12557 slides (default)
12558 \family default
12559
12560 \begin_inset Quotes erd
12561 \end_inset
12562
12563 ,
12564  check out section
12565 \begin_inset space ~
12566 \end_inset
12567
12568
12569 \begin_inset CommandInset ref
12570 LatexCommand ref
12571 reference "sec:slitex"
12572 nolink "false"
12573
12574 \end_inset
12575
12576 .
12577  If your machine doesn't have the 
12578 \family sans
12579 foils
12580 \family default
12581  class 
12582 \family sans
12583 FoilTeX
12584 \family default
12585  installed,
12586  you'll probably have to use the default 
12587 \family sans
12588 slides
12589 \family default
12590  class,
12591  which isn't quite as good as 
12592 \family sans
12593 foils.
12594 \end_layout
12595
12596 \begin_layout Standard
12597
12598 \change_deleted 564990737 1672743383
12599 The 
12600 \family sans
12601 foils
12602 \family default
12603  class is designed for use with version
12604 \begin_inset space ~
12605 \end_inset
12606
12607 2.1 of the 
12608 \family sans
12609 foils.cls
12610 \family default
12611  \SpecialChar LaTeX
12612  class file which is now an integral part of \SpecialChar LaTeX2e
12613 .
12614 \change_unchanged
12615
12616 \end_layout
12617
12618 \begin_layout Subsubsection
12619 Getting Started
12620 \end_layout
12621
12622 \begin_layout Standard
12623 Obviously,
12624  to use this document class,
12625  you need to select 
12626 \family sans
12627 FoilTeX
12628 \family default
12629  from the 
12630 \family sans
12631 Class
12632 \family default
12633  entry in the 
12634 \family sans
12635 Document
12636 \begin_inset space ~
12637 \end_inset
12638
12639 Layout
12640 \family default
12641  dialog.
12642  There are some settings in the 
12643 \family sans
12644 Document
12645 \begin_inset space ~
12646 \end_inset
12647
12648 Layout
12649 \family default
12650  dialog that you should know about that are specific to this class:
12651 \end_layout
12652
12653 \begin_layout Itemize
12654 Don't change the options 
12655 \family sans
12656 Sides
12657 \family default
12658  and 
12659 \family sans
12660 Columns
12661 \family default
12662  on the 
12663 \family sans
12664 Document
12665 \begin_inset space ~
12666 \end_inset
12667
12668 Layout
12669 \family default
12670  dialog.
12671  They're ignored by the 
12672 \family sans
12673 foils
12674 \family default
12675  class.
12676 \end_layout
12677
12678 \begin_layout Itemize
12679 The default font size is 20
12680 \begin_inset space \thinspace{}
12681 \end_inset
12682
12683 pt with the other options being 17
12684 \begin_inset space \thinspace{}
12685 \end_inset
12686
12687 pt,
12688  25
12689 \begin_inset space \thinspace{}
12690 \end_inset
12691
12692 pt and 30
12693 \begin_inset space \thinspace{}
12694 \end_inset
12695
12696 pt.
12697 \end_layout
12698
12699 \begin_layout Itemize
12700 The default font is 
12701 \family sans
12702 sans
12703 \family default
12704  
12705 \family sans
12706 serif
12707 \family default
12708  but all math equations are still typeset in the usual roman font.
12709 \end_layout
12710
12711 \begin_layout Itemize
12712
12713 \family sans
12714 Foil\SpecialChar TeX
12715
12716 \family default
12717  supports A4 and Letter paper sizes as well as a special size for working with 35
12718 \begin_inset space \thinspace{}
12719 \end_inset
12720
12721 mm slides.
12722  It doesn't support A5,
12723  B5,
12724  legal or executive paper sizes.
12725 \end_layout
12726
12727 \begin_layout Itemize
12728 Don't bother changing the 
12729 \family sans
12730 Float Placement
12731 \family default
12732  settings because they are ignored anyway.
12733  All floats appear where they are defined in the text.
12734 \end_layout
12735
12736 \begin_layout Itemize
12737 The 
12738 \family sans
12739 Pagestyle
12740 \family default
12741  setting behaves a bit differently for this class.
12742  
12743 \family sans
12744 Foil\SpecialChar TeX
12745
12746 \family default
12747  provides extensive footer and header capabilities including a user-defined logo.
12748  See section
12749 \begin_inset space ~
12750 \end_inset
12751
12752
12753 \begin_inset CommandInset ref
12754 LatexCommand ref
12755 reference "sec:foilfoot"
12756 nolink "false"
12757
12758 \end_inset
12759
12760  for more details.
12761  The title page is treated differently to all other pages in the document and is 
12762 \emph on
12763 always
12764 \emph default
12765  unnumbered and 
12766 \emph on
12767 always
12768 \emph default
12769  has the logo centered at the bottom of the page (if one is defined).
12770  The possible page style choices and what they do are as follows:
12771 \end_layout
12772
12773 \begin_deeper
12774 \begin_layout Labeling
12775 \labelwidthstring MMMMMMM
12776
12777 \family sans
12778 \series bold
12779 empty
12780 \family default
12781 \series default
12782  The final output contains no page numbers,
12783  or other headers or footers (except footnotes of course).
12784  
12785 \end_layout
12786
12787 \begin_layout Labeling
12788 \labelwidthstring MMMMMMM
12789
12790 \family sans
12791 \series bold
12792 plain
12793 \family default
12794 \series default
12795  The final output contains page numbers centered at the bottom of the page.
12796  No other headings or footers (other than footnotes).
12797 \end_layout
12798
12799 \begin_layout Labeling
12800 \labelwidthstring MMMMMMM
12801
12802 \series bold
12803 foilheadings
12804 \series default
12805  Page numbers in lower right corner.
12806  Additional headers and footers are also shown.
12807  This is also the default.
12808 \end_layout
12809
12810 \begin_layout Labeling
12811 \labelwidthstring MMMMMMM
12812
12813 \series bold
12814 fancy
12815 \series default
12816  Gives you access to the 
12817 \family sans
12818 fancyheadings
12819 \family default
12820  package although its use with 
12821 \family sans
12822 Foil\SpecialChar TeX
12823
12824 \family default
12825  is discouraged by the writer of the 
12826 \family sans
12827 Foil\SpecialChar TeX
12828
12829 \family default
12830  package because of some potential page layout clashes.
12831 \end_layout
12832
12833 \end_deeper
12834 \begin_layout Paragraph
12835 Extra Options
12836 \end_layout
12837
12838 \begin_layout Standard
12839 The following options may be used in the extra class options in the 
12840 \family sans
12841 Document\SpecialChar menuseparator
12842 Settings
12843 \family default
12844  dialog.
12845 \end_layout
12846
12847 \begin_layout Labeling
12848 \labelwidthstring MMMMMMx
12849
12850 \series bold
12851 35mmSlide
12852 \series default
12853  This sets up the page layout for 7.33
12854 \begin_inset space \thinspace{}
12855 \end_inset
12856
12857 in by 11
12858 \begin_inset space \thinspace{}
12859 \end_inset
12860
12861 in paper,
12862  which is about the same aspect ratio as a 35
12863 \begin_inset space \thinspace{}
12864 \end_inset
12865
12866 mm slide,
12867  making it a bit easier to work with this medium.
12868 \end_layout
12869
12870 \begin_layout Labeling
12871 \labelwidthstring MMMMMMx
12872
12873 \series bold
12874 headrule
12875 \series default
12876  Places a rule across the page below the header on every page except the title page.
12877 \end_layout
12878
12879 \begin_layout Labeling
12880 \labelwidthstring MMMMMMx
12881
12882 \series bold
12883 footrule
12884 \series default
12885  Places a rule across the page above the footer on every page except the title page.
12886 \end_layout
12887
12888 \begin_layout Labeling
12889 \labelwidthstring MMMMMMx
12890
12891 \series bold
12892 dvips
12893 \series default
12894  This is automatically set each time you create a new 
12895 \family sans
12896 foils
12897 \family default
12898  document.
12899  This option tells 
12900 \family sans
12901 Foil\SpecialChar TeX
12902
12903 \family default
12904  to use the dvips driver to rotate those pages that are set as landscape foils.
12905 \end_layout
12906
12907 \begin_layout Labeling
12908 \labelwidthstring MMMMMMx
12909
12910 \series bold
12911 landscape
12912 \series default
12913  Simply changes the page dimensions to those of a landscape page but doesn't do any rotation.
12914  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.
12915  Note that this option effectively reverses the roles of the 
12916 \family sans
12917 Foilhead
12918 \family default
12919  and 
12920 \family sans
12921 Rotatefoilhead
12922 \family default
12923  environments (don't worry these are described in the next section).
12924 \end_layout
12925
12926 \begin_layout Labeling
12927 \labelwidthstring MMMMMMx
12928
12929 \series bold
12930 leqno
12931 \series default
12932  Equation numbers on the left.
12933 \end_layout
12934
12935 \begin_layout Labeling
12936 \labelwidthstring MMMMMMx
12937
12938 \series bold
12939 fleqn
12940 \series default
12941  Flush-left equations.
12942 \end_layout
12943
12944 \begin_layout Subsubsection
12945 Supported Environments
12946 \end_layout
12947
12948 \begin_layout Standard
12949 Most of the environments commonly supported in other classes are also supported by the 
12950 \change_deleted -712698321 1673256683
12951
12952 \family sans
12953 foils
12954 \change_inserted -712698321 1673256683
12955 Foil\SpecialChar TeX
12956
12957 \change_unchanged
12958
12959 \family default
12960  class.
12961  There are several additional environments provided by 
12962 \family sans
12963 Foil\SpecialChar TeX
12964
12965 \family default
12966  as well as a couple added by \SpecialChar LyX
12967 .
12968  The following environments are shared with other classes:
12969 \end_layout
12970
12971 \begin_layout Standard
12972 \begin_inset Flex Multiple Columns
12973 status open
12974
12975 \begin_layout Itemize
12976
12977 \family sans
12978 Standard
12979 \end_layout
12980
12981 \begin_layout Itemize
12982
12983 \family sans
12984 Itemize
12985 \end_layout
12986
12987 \begin_layout Itemize
12988
12989 \family sans
12990 Enumerate
12991 \end_layout
12992
12993 \begin_layout Itemize
12994
12995 \family sans
12996 Description
12997 \end_layout
12998
12999 \begin_layout Itemize
13000
13001 \family sans
13002 List
13003 \end_layout
13004
13005 \begin_layout Itemize
13006
13007 \family sans
13008 \SpecialChar LyX
13009 -Code
13010 \end_layout
13011
13012 \begin_layout Itemize
13013
13014 \family sans
13015 Verse
13016 \end_layout
13017
13018 \begin_layout Itemize
13019
13020 \family sans
13021 Quote
13022 \end_layout
13023
13024 \begin_layout Itemize
13025
13026 \family sans
13027 Quotation
13028 \end_layout
13029
13030 \begin_layout Itemize
13031
13032 \family sans
13033 Title
13034 \change_inserted -712698321 1673256734
13035
13036 \end_layout
13037
13038 \begin_layout Itemize
13039
13040 \family sans
13041 Author
13042 \end_layout
13043
13044 \begin_layout Itemize
13045
13046 \family sans
13047 Date
13048 \end_layout
13049
13050 \begin_layout Itemize
13051
13052 \family sans
13053 Abstract
13054 \end_layout
13055
13056 \begin_layout Itemize
13057
13058 \family sans
13059 Bibliography
13060 \end_layout
13061
13062 \begin_layout Itemize
13063
13064 \family sans
13065 Address
13066 \end_layout
13067
13068 \begin_layout Itemize
13069
13070 \family sans
13071 RightAddress
13072 \end_layout
13073
13074 \end_inset
13075
13076
13077 \end_layout
13078
13079 \begin_layout Standard
13080 That is,
13081  all the major environments apart from the sectioning environments.
13082  Since foils are essentially self-contained sections,
13083  with a title and body,
13084  
13085 \family sans
13086 Foil\SpecialChar TeX
13087
13088 \family default
13089  provides specific commands for starting new foils and these are:
13090 \end_layout
13091
13092 \begin_layout Itemize
13093
13094 \family sans
13095 Foilhead
13096 \end_layout
13097
13098 \begin_layout Itemize
13099
13100 \family sans
13101 Rotatefoilhead
13102 \end_layout
13103
13104 \begin_layout Standard
13105 \SpecialChar LyX
13106  also provides slightly modified versions of these two environments called:
13107 \end_layout
13108
13109 \begin_layout Itemize
13110
13111 \family sans
13112 ShortFoilhead
13113 \end_layout
13114
13115 \begin_layout Itemize
13116
13117 \family sans
13118 ShortRotatefoilhead
13119 \end_layout
13120
13121 \begin_layout Standard
13122 and the differences will be explained in the next section.
13123 \end_layout
13124
13125 \begin_layout Standard
13126 Since foils are often used in presenting ideas or new theorems and such 
13127 \family sans
13128 Foil\SpecialChar TeX
13129
13130 \family default
13131  also provides a comprehensive box of goodies for presenting them:
13132 \end_layout
13133
13134 \begin_layout Standard
13135 \begin_inset Flex Multiple Columns
13136 status open
13137
13138 \begin_layout Itemize
13139
13140 \family sans
13141 Theorem
13142 \end_layout
13143
13144 \begin_layout Itemize
13145
13146 \family sans
13147 Lemma
13148 \end_layout
13149
13150 \begin_layout Itemize
13151
13152 \family sans
13153 Corollary
13154 \end_layout
13155
13156 \begin_layout Itemize
13157
13158 \family sans
13159 Proposition
13160 \end_layout
13161
13162 \begin_layout Itemize
13163
13164 \family sans
13165 Definition
13166 \end_layout
13167
13168 \begin_layout Itemize
13169
13170 \family sans
13171 Proof
13172 \end_layout
13173
13174 \begin_layout Itemize
13175
13176 \family sans
13177 Theorem*
13178 \end_layout
13179
13180 \begin_layout Itemize
13181
13182 \family sans
13183 Lemma*
13184 \end_layout
13185
13186 \begin_layout Itemize
13187
13188 \family sans
13189 Corollary*
13190 \end_layout
13191
13192 \begin_layout Itemize
13193
13194 \family sans
13195 Proposition*
13196 \end_layout
13197
13198 \begin_layout Itemize
13199
13200 \family sans
13201 Definition*
13202 \end_layout
13203
13204 \end_inset
13205
13206
13207 \end_layout
13208
13209 \begin_layout Standard
13210 The starred versions are unnumbered while the unstarred versions are numbered.
13211  There are also two list environments added by \SpecialChar LyX
13212  and these are:
13213 \end_layout
13214
13215 \begin_layout Itemize
13216
13217 \family sans
13218 TickList
13219 \end_layout
13220
13221 \begin_layout Itemize
13222
13223 \family sans
13224 CrossList
13225 \end_layout
13226
13227 \begin_layout Standard
13228
13229 \family sans
13230 Foil\SpecialChar TeX
13231
13232 \family default
13233  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.
13234  If you want to change these settings in your document the best place to do so is at the very top of a foil,
13235  i.
13236 \begin_inset space \thinspace{}
13237 \end_inset
13238
13239 e.
13240 \emph on
13241
13242 \begin_inset space \space{}
13243 \end_inset
13244
13245
13246 \emph default
13247 straight after the foilhead.
13248 \end_layout
13249
13250 \begin_layout Standard
13251 For this purpose,
13252  the following command styles are provided [
13253 \shape smallcaps
13254 Martin Vermeer
13255 \shape default
13256 ]:
13257 \end_layout
13258
13259 \begin_layout Standard
13260 \begin_inset Flex Multiple Columns
13261 status open
13262
13263 \begin_layout Itemize
13264
13265 \family sans
13266 My
13267 \begin_inset space ~
13268 \end_inset
13269
13270 Logo
13271 \end_layout
13272
13273 \begin_layout Itemize
13274
13275 \family sans
13276 Restriction
13277 \end_layout
13278
13279 \begin_layout Itemize
13280
13281 \family sans
13282 Right
13283 \begin_inset space ~
13284 \end_inset
13285
13286 Footer
13287 \end_layout
13288
13289 \begin_layout Itemize
13290
13291 \family sans
13292 Right
13293 \begin_inset space ~
13294 \end_inset
13295
13296 Header
13297 \end_layout
13298
13299 \begin_layout Itemize
13300
13301 \family sans
13302 Left
13303 \begin_inset space ~
13304 \end_inset
13305
13306 Header
13307 \end_layout
13308
13309 \begin_deeper
13310 \begin_layout Plain Layout
13311 \begin_inset space ~
13312 \end_inset
13313
13314
13315 \end_layout
13316
13317 \end_deeper
13318 \end_inset
13319
13320
13321 \end_layout
13322
13323 \begin_layout Standard
13324 There are also a few commands provided by 
13325 \family sans
13326 Foil\SpecialChar TeX
13327
13328 \family default
13329  that aren't directly supported by \SpecialChar LyX
13330  but I'll tell you what they do and how to use them in section
13331 \begin_inset space ~
13332 \end_inset
13333
13334
13335 \begin_inset CommandInset ref
13336 LatexCommand ref
13337 reference "sec:unsuppfoils"
13338 nolink "false"
13339
13340 \end_inset
13341
13342 .
13343 \end_layout
13344
13345 \begin_layout Subsubsection
13346 Building a Set of Foils
13347 \end_layout
13348
13349 \begin_layout Standard
13350 This section will give a simple introduction to using the different environments to build a set of foils.
13351  If you want to see an example set of foils,
13352  take a look at 
13353 \change_deleted 564990737 1671643085
13354 the 
13355 \family typewriter
13356 Foils.lyx
13357 \family default
13358  file you find in \SpecialChar LyX
13359 's 
13360 \family typewriter
13361 examples
13362 \family default
13363  folder
13364 \change_inserted 564990737 1671643099
13365
13366 \family sans
13367 File\SpecialChar menuseparator
13368 Open Example\SpecialChar menuseparator
13369 Presentations\SpecialChar menuseparator
13370 Foils
13371 \change_unchanged
13372
13373 \family default
13374 .
13375 \end_layout
13376
13377 \begin_layout Paragraph
13378 Give It a Title Page
13379 \end_layout
13380
13381 \begin_layout Standard
13382 Unlike other classes that provide 
13383 \family sans
13384 Title
13385 \family default
13386 ,
13387  
13388 \family sans
13389 Author
13390 \family default
13391 ,
13392  
13393 \family sans
13394 Date
13395 \family default
13396  and 
13397 \family sans
13398 Abstract
13399 \family default
13400  environments,
13401  
13402 \change_deleted -712698321 1673256940
13403
13404 \family sans
13405 foils
13406 \change_inserted -712698321 1673256940
13407
13408 \lang ngerman
13409 FoilTeX
13410 \change_unchanged
13411
13412 \family default
13413 \lang english
13414  creates the title on a page of its own.
13415  If you leave out the 
13416 \family sans
13417 Date
13418 \family default
13419  environment \SpecialChar LaTeX
13420  will substitute the current date (every time you regenerate the output).
13421 \end_layout
13422
13423 \begin_layout Paragraph
13424 Start a New Foil
13425 \end_layout
13426
13427 \begin_layout Standard
13428 As I mentioned earlier,
13429  there are four ways of starting a new foil.
13430  For portrait foils you should use 
13431 \family sans
13432 Foilhead
13433 \family default
13434  or 
13435 \family sans
13436 ShortFoilhead.
13437
13438 \family default
13439  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.
13440 \end_layout
13441
13442 \begin_layout Standard
13443 Landscape foils are generated using the 
13444 \family sans
13445 Rotatefoilhead
13446 \family default
13447  and 
13448 \family sans
13449 ShortRotatefoilhead
13450 \family default
13451  environments.
13452  Again the only difference is the spacing between foilhead and body.
13453  Both of the short versions have 0.5
13454 \begin_inset space ~
13455 \end_inset
13456
13457 inches less separation between the foilhead and the body.
13458  
13459 \end_layout
13460
13461 \begin_layout Standard
13462 One problem with the support for landscape foils is the requirement that you have to use the 
13463 \family typewriter
13464 dvips
13465 \family default
13466  driver to generate the PostScript output otherwise the foils won't be rotated.
13467  It is possible to get landscape foils even if you haven't got the 
13468 \family typewriter
13469 dvips
13470 \family default
13471  driver provided you can feed your foils sideways through your printer ;-)
13472 \end_layout
13473
13474 \begin_layout Paragraph
13475 Theorems,
13476  Lemmas,
13477  Proofs and more
13478 \end_layout
13479
13480 \begin_layout Standard
13481 You can't have two of the same type of these environments directly following each other.
13482  If you use a normal paragraph break,
13483  ,
13484  you will just be extending the previous environment as if you had merged the two environments together.
13485  Rather than that,
13486  you need to insert a so-called separator.
13487  Please refer to the section entitled 
13488 \emph on
13489 Separate Nestings
13490 \emph default
13491  in the 
13492 \emph on
13493 User's Guide
13494 \emph default
13495 .
13496 \end_layout
13497
13498 \begin_layout Paragraph
13499 Lists
13500 \end_layout
13501
13502 \begin_layout Standard
13503 You get all the commonly supported list styles found in other classes as well as two new ones.
13504  I'll only describe the new ones here.
13505  If you want to find out more about the other list environments check out the 
13506 \emph on
13507 User's Guide.
13508
13509 \emph default
13510  If you intend to use itemized lists you might also want to read about the 
13511 \family sans
13512 Itemize
13513 \begin_inset space ~
13514 \end_inset
13515
13516 Bullet
13517 \begin_inset space ~
13518 \end_inset
13519
13520 Selection
13521 \family default
13522  dialog described above in section
13523 \begin_inset space ~
13524 \end_inset
13525
13526
13527 \change_inserted 564990737 1671355684
13528
13529 \begin_inset CommandInset ref
13530 LatexCommand ref
13531 reference "chap:bullets"
13532 nolink "false"
13533
13534 \end_inset
13535
13536
13537 \change_deleted 564990737 1671355684
13538
13539 \begin_inset CommandInset ref
13540 LatexCommand ref
13541 reference "sec:bullet"
13542 nolink "false"
13543
13544 \end_inset
13545
13546
13547 \change_unchanged
13548 .
13549 \end_layout
13550
13551 \begin_layout Standard
13552 The two new list styles,
13553  
13554 \family sans
13555 TickList
13556 \family default
13557  and 
13558 \family sans
13559 CrossList
13560 \family default
13561 ,
13562  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.
13563  These lists are in fact dedicated variants of the 
13564 \family sans
13565 Itemize
13566 \family default
13567  environment.
13568  They do however require that you have the 
13569 \family typewriter
13570 psnfss
13571 \family default
13572  packages installed.
13573 \end_layout
13574
13575 \begin_layout Paragraph
13576 Figures and Tables
13577 \end_layout
13578
13579 \begin_layout Standard
13580
13581 \family sans
13582 Foil\SpecialChar TeX
13583
13584 \family default
13585  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.
13586  In fact if you change the float placement settings they are simply ignored.
13587 \end_layout
13588
13589 \begin_layout Paragraph
13590 Page Headers and Footers
13591 \begin_inset CommandInset label
13592 LatexCommand label
13593 name "sec:foilfoot"
13594
13595 \end_inset
13596
13597
13598 \end_layout
13599
13600 \begin_layout Standard
13601
13602 \family sans
13603 My
13604 \begin_inset space ~
13605 \end_inset
13606
13607 Logo
13608 \family default
13609  and 
13610 \family sans
13611 Restriction
13612 \family default
13613  are two commands used to control the left-footer text string.
13614  The first is meant to allow you to include a graphic logo on your foils and defaults to 
13615 \begin_inset Quotes eld
13616 \end_inset
13617
13618 -Typeset by 
13619 \family sans
13620 Foil\SpecialChar TeX
13621
13622 \family default
13623 -
13624 \begin_inset Quotes erd
13625 \end_inset
13626
13627 .
13628  While the second is meant to provide a classification for the audience,
13629  
13630 \emph on
13631 e.
13632 \begin_inset space \thinspace{}
13633 \end_inset
13634
13635 g.
13636 \emph default
13637
13638 \begin_inset space \space{}
13639 \end_inset
13640
13641 Confidential.
13642  It is empty by default.
13643 \end_layout
13644
13645 \begin_layout Standard
13646 The remaining page corners can be filled by 
13647 \family sans
13648 Right
13649 \begin_inset space ~
13650 \end_inset
13651
13652 Footer
13653 \family default
13654  (which defaults to page numbers),
13655  
13656 \family sans
13657 Right
13658 \begin_inset space ~
13659 \end_inset
13660
13661 Header
13662 \family default
13663  (top right) and 
13664 \family sans
13665 Left
13666 \begin_inset space ~
13667 \end_inset
13668
13669 Header
13670 \family default
13671  (top left).
13672 \end_layout
13673
13674 \begin_layout Subsubsection
13675 Unsupported 
13676 \family sans
13677 Foil\SpecialChar TeX
13678
13679 \family default
13680  Goodies
13681 \begin_inset CommandInset label
13682 LatexCommand label
13683 name "sec:unsuppfoils"
13684
13685 \end_inset
13686
13687
13688 \end_layout
13689
13690 \begin_layout Standard
13691 All the commands mentioned below need to be set in a 
13692 \family sans
13693 \SpecialChar LaTeX
13694
13695 \family default
13696  environment or as 
13697 \family sans
13698 \SpecialChar TeX
13699
13700 \family default
13701  within another environment.
13702 \end_layout
13703
13704 \begin_layout Paragraph
13705 Lengths
13706 \end_layout
13707
13708 \begin_layout Standard
13709 All lengths are adjusted using the 
13710 \family typewriter
13711
13712 \backslash
13713 setlength{
13714 \family default
13715 \emph on
13716 lengthname
13717 \family typewriter
13718 \emph default
13719 }{
13720 \family default
13721 \emph on
13722 newlength
13723 \family typewriter
13724 \emph default
13725 }
13726 \family default
13727  command.
13728  Where 
13729 \emph on
13730 lengthname
13731 \emph default
13732  should be replaced by the name given to the length you want to change and 
13733 \emph on
13734 newlength
13735 \emph default
13736  is the length value.
13737  All lengths should be specified in units of length such as inches (
13738 \family typewriter
13739 in
13740 \family default
13741 ),
13742  millimeters (
13743 \family typewriter
13744 mm
13745 \family default
13746 ) or points (
13747 \family typewriter
13748 pt
13749 \family default
13750 ) or relative to some document or font-based length such as 
13751 \family typewriter
13752
13753 \backslash
13754 textwidth
13755 \family default
13756 .
13757  
13758 \end_layout
13759
13760 \begin_layout Standard
13761 It's possible to change the spacing between a foilhead and the body of the foil by adjusting the length specified by 
13762 \family typewriter
13763
13764 \backslash
13765 foilheadskip
13766 \family default
13767 .
13768  For example,
13769  to make 
13770 \emph on
13771 all
13772 \emph default
13773  foilheads 0.5
13774 \begin_inset space \space{}
13775 \end_inset
13776
13777 in closer to their bodies put the following in the preamble:
13778  
13779 \family typewriter
13780
13781 \backslash
13782 setlength{
13783 \backslash
13784 foilheadskip}{-0.5in}
13785 \end_layout
13786
13787 \begin_layout Standard
13788 The spacings around floats can be adjusted by setting these lengths:
13789 \end_layout
13790
13791 \begin_layout Labeling
13792 \labelwidthstring MMMMMMMMMMM
13793
13794 \family typewriter
13795
13796 \backslash
13797 abovefloatskip
13798 \family default
13799  Separation between the text and the top of the float
13800 \end_layout
13801
13802 \begin_layout Labeling
13803 \labelwidthstring MMMMMMMMMMM
13804
13805 \family typewriter
13806
13807 \backslash
13808 abovecaptionskip
13809 \family default
13810  Separation between the float and the caption
13811 \end_layout
13812
13813 \begin_layout Labeling
13814 \labelwidthstring MMMMMMMMMMM
13815
13816 \family typewriter
13817
13818 \backslash
13819 belowcaptionskip
13820 \family default
13821  Separation between the caption and the following text
13822 \end_layout
13823
13824 \begin_layout Labeling
13825 \labelwidthstring MMMMMMMMMMM
13826
13827 \family typewriter
13828
13829 \backslash
13830 captionwidth
13831 \family default
13832  You can make the captions narrower than the surrounding text by adjusting this length.
13833  Best done relative to 
13834 \family typewriter
13835
13836 \backslash
13837 textwidth
13838 \family default
13839 .
13840 \end_layout
13841
13842 \begin_layout Standard
13843 There are also several title page related lengths that you may find useful if you have a long title or several authors:
13844 \end_layout
13845
13846 \begin_layout Labeling
13847 \labelwidthstring MMMMMMMMMMM
13848
13849 \family typewriter
13850
13851 \backslash
13852 abovetitleskip
13853 \family default
13854  Separation from headers to 
13855 \family sans
13856 Title
13857 \end_layout
13858
13859 \begin_layout Labeling
13860 \labelwidthstring MMMMMMMMMMM
13861
13862 \family typewriter
13863
13864 \backslash
13865 titleauthorskip
13866 \family default
13867  between 
13868 \family sans
13869 Title
13870 \family default
13871  and 
13872 \family sans
13873 Author
13874 \family default
13875  environments
13876 \end_layout
13877
13878 \begin_layout Labeling
13879 \labelwidthstring MMMMMMMMMMM
13880
13881 \family typewriter
13882
13883 \backslash
13884 authorauthorskip
13885 \family default
13886  between multiple 
13887 \family sans
13888 Author
13889 \family default
13890  lines
13891 \end_layout
13892
13893 \begin_layout Labeling
13894 \labelwidthstring MMMMMMMMMMM
13895
13896 \family typewriter
13897
13898 \backslash
13899 authordateskip
13900 \family default
13901  between the 
13902 \family sans
13903 Author
13904 \family default
13905  and the 
13906 \family sans
13907 Date
13908 \end_layout
13909
13910 \begin_layout Labeling
13911 \labelwidthstring MMMMMMMMMMM
13912
13913 \family typewriter
13914
13915 \backslash
13916 dateabstractskip
13917 \family default
13918  between the 
13919 \family sans
13920 Date
13921 \family default
13922  and the 
13923 \family sans
13924 Abstract
13925 \end_layout
13926
13927 \begin_layout Standard
13928 The last length related command affects all the list environments.
13929  If you place 
13930 \family typewriter
13931
13932 \backslash
13933 zerolistvertdimens
13934 \family default
13935  
13936 \emph on
13937 inside
13938 \emph default
13939  a list environment then all the vertical spacing between the list items is removed.
13940  Note that this is a command not a length so it doesn't require 
13941 \family typewriter
13942
13943 \backslash
13944 setlength
13945 \family default
13946  like the stuff mentioned above.
13947 \end_layout
13948
13949 \begin_layout Paragraph
13950 Headers and Footers
13951 \end_layout
13952
13953 \begin_layout Standard
13954 The 
13955 \family typewriter
13956
13957 \backslash
13958 LogoOn
13959 \family default
13960  and 
13961 \family typewriter
13962
13963 \backslash
13964 LogoOff
13965 \family default
13966  commands control whether the logo in the 
13967 \family sans
13968 MyLogo
13969 \family default
13970  definition appear on a given page.
13971  If you put 
13972 \family typewriter
13973
13974 \backslash
13975 LogoOff
13976 \family default
13977  in the preamble then none of the foils will have the logo on them.
13978  If you don't want the logo on a particular page place the 
13979 \family typewriter
13980
13981 \backslash
13982 LogoOff
13983 \family default
13984  directly after the foilhead of that page and the 
13985 \family typewriter
13986
13987 \backslash
13988 LogoOn
13989 \family default
13990  directly after the next foilhead.
13991 \end_layout
13992
13993 \begin_layout Standard
13994 If you decide to use the 
13995 \family sans
13996 fancy
13997 \family default
13998  page style setting in the 
13999 \family sans
14000 Document
14001 \begin_inset space ~
14002 \end_inset
14003
14004 Layout
14005 \family default
14006  dialog you should probably add 
14007 \family typewriter
14008
14009 \backslash
14010 let
14011 \backslash
14012 headwidth
14013 \backslash
14014 textwidth
14015 \family default
14016  to your preamble so headers and footers on landscape pages are correctly placed when rotated.
14017  This is due to some clashes between the page layouts provided by the 
14018 \family sans
14019 fancyheadings
14020 \family default
14021  package and the 
14022 \change_deleted -712698321 1673257120
14023
14024 \family sans
14025 foils
14026 \change_inserted -712698321 1673257120
14027
14028 \lang ngerman
14029 FoilTeX
14030 \change_unchanged
14031
14032 \family default
14033 \lang english
14034  class.
14035 \end_layout
14036
14037 \begin_layout Subsection
14038
14039 \change_inserted 564990737 1671459032
14040 Powerdot
14041 \end_layout
14042
14043 \begin_layout Standard
14044
14045 \change_inserted 564990737 1671643165
14046 The document class 
14047 \change_deleted -712698321 1673257152
14048
14049 \family sans
14050 presentation
14051 \begin_inset space \thinspace{}
14052 \end_inset
14053
14054 (p
14055 \change_inserted -712698321 1673257152
14056 P
14057 \change_inserted 564990737 1671643165
14058 owerdot
14059 \change_deleted -712698321 1673257154
14060 )
14061 \change_inserted 564990737 1671643165
14062
14063 \family default
14064  uses the 
14065 \family typewriter
14066 powerdot.cls
14067 \family default
14068  
14069 \change_deleted -712698321 1673257280
14070 document
14071 \change_inserted -712698321 1673257280
14072 \SpecialChar LaTeX
14073
14074 \change_inserted 564990737 1671643165
14075  class for creating presentations.
14076  
14077 \family sans
14078 File\SpecialChar menuseparator
14079 Open Example\SpecialChar menuseparator
14080 Presentations\SpecialChar menuseparator
14081 Powerdot
14082 \family default
14083  offers guidance on its use.
14084  The documentation is available from 
14085 \begin_inset CommandInset href
14086 LatexCommand href
14087 name "CTAN"
14088 target "http://mirrors.ctan.org/macros/latex/contrib/powerdot/doc/powerdot.pdf"
14089 literal "false"
14090
14091 \end_inset
14092
14093 .
14094 \end_layout
14095
14096 \begin_layout Subsection
14097
14098 \change_inserted 564990737 1671459032
14099 \begin_inset CommandInset label
14100 LatexCommand label
14101 name "subsec:Seminar"
14102
14103 \end_inset
14104
14105
14106 \family sans
14107 Seminar
14108 \end_layout
14109
14110 \begin_layout Standard
14111
14112 \change_inserted 564990737 1671643194
14113 The document class 
14114 \change_deleted -712698321 1673257295
14115
14116 \family sans
14117 presentations
14118 \begin_inset space \thinspace{}
14119 \end_inset
14120
14121 (s
14122 \change_inserted -712698321 1673257295
14123 S
14124 \change_inserted 564990737 1671643194
14125 eminar
14126 \change_deleted -712698321 1673257296
14127 )
14128 \change_inserted 564990737 1671643194
14129
14130 \family default
14131  uses the 
14132 \family typewriter
14133 seminar.cls
14134 \family default
14135  document class for creating presentations.
14136  
14137 \family sans
14138 File\SpecialChar menuseparator
14139 Open Example\SpecialChar menuseparator
14140 Presentations\SpecialChar menuseparator
14141 Seminar
14142 \family default
14143  offers guidance on its use.
14144  The documentation is available from 
14145 \begin_inset CommandInset href
14146 LatexCommand href
14147 name "CTAN"
14148 target "http://mirrors.ctan.org/macros/latex/contrib/seminar/doc/seminar-doc.pdf"
14149 literal "false"
14150
14151 \end_inset
14152
14153 .
14154 \end_layout
14155
14156 \begin_layout Subsection
14157 Slides [aka 
14158 \noun on
14159 Sli\SpecialChar TeX
14160
14161 \noun default
14162 ]
14163 \begin_inset CommandInset label
14164 LatexCommand label
14165 name "sec:slitex"
14166
14167 \end_inset
14168
14169
14170 \end_layout
14171
14172 \begin_layout Standard
14173
14174 \change_inserted 564990737 1672743492
14175 Original by 
14176 \noun on
14177 John Weiss
14178 \noun default
14179 ;
14180  updated by the \SpecialChar LyX
14181  Team
14182 \end_layout
14183
14184 \begin_layout Subsubsection
14185
14186 \change_inserted 564990737 1672743492
14187 Introduction
14188 \end_layout
14189
14190 \begin_layout Standard
14191
14192 \change_inserted 564990737 1672743492
14193 This section describes how to use \SpecialChar LyX
14194  to make slides for overhead projectors.
14195  There are two document classes that can do this:
14196  the 
14197 \change_deleted -712698321 1673257697
14198
14199 \family typewriter
14200 presentations
14201 \begin_inset space \thinspace{}
14202 \end_inset
14203
14204 (s
14205 \change_inserted -712698321 1673257697
14206
14207 \family sans
14208 S
14209 \change_inserted 564990737 1672743492
14210 lides
14211 \change_deleted -712698321 1673257698
14212
14213 \family typewriter
14214 )
14215 \change_inserted 564990737 1672743492
14216
14217 \family default
14218  document class and the 
14219 \change_deleted -712698321 1673257705
14220
14221 \family sans
14222 presentation
14223 \begin_inset space \thinspace{}
14224 \end_inset
14225
14226 (
14227 \change_inserted 564990737 1672743492
14228 Foil\SpecialChar TeX
14229
14230 \change_deleted -712698321 1673257707
14231 )
14232 \change_inserted 564990737 1672743492
14233
14234 \family default
14235  document class.
14236  This section documents the former.
14237  If you’re looking for the documentation for 
14238 \change_deleted -712698321 1673257759
14239
14240 \family sans
14241 presentation
14242 \begin_inset space \thinspace{}
14243 \end_inset
14244
14245 (
14246 \change_inserted 564990737 1672743492
14247 Foil\SpecialChar TeX
14248
14249 \change_deleted -712698321 1673257760
14250 )
14251 \change_inserted 564990737 1672743492
14252
14253 \family default
14254 ,
14255  check out section
14256 \begin_inset space ~
14257 \end_inset
14258
14259
14260 \change_inserted -712698321 1673257749
14261
14262 \begin_inset CommandInset ref
14263 LatexCommand ref
14264 reference "sec:foiltex"
14265 plural "false"
14266 caps "false"
14267 noprefix "false"
14268 nolink "false"
14269
14270 \end_inset
14271
14272
14273 \change_deleted -712698321 1673257749
14274
14275 \begin_inset CommandInset ref
14276 LatexCommand ref
14277 reference "sec:Foiltex"
14278 nolink "false"
14279
14280 \end_inset
14281
14282
14283 \change_inserted 564990737 1672743492
14284 .
14285  As of 2023 
14286 \change_deleted -712698321 1673257899
14287 the former
14288 \change_inserted -712698321 1673257899
14289
14290 \family sans
14291 Slides
14292 \change_inserted 564990737 1672743492
14293
14294 \family default
14295  has continued to be maintained whereas 
14296 \family sans
14297 Foil\SpecialChar TeX
14298
14299 \family default
14300  has not been maintained since 2008.
14301  
14302 \change_deleted 564990737 1672743492
14303 by 
14304 \noun on
14305 John Weiss
14306 \noun default
14307  
14308 \end_layout
14309
14310 \begin_layout Standard
14311
14312 \change_deleted 564990737 1672743492
14313 Introduction
14314 \end_layout
14315
14316 \begin_layout Standard
14317
14318 \change_deleted 564990737 1672743492
14319 This section describes how to use \SpecialChar LyX
14320  to make slides for overhead projectors.
14321  There are two document classes that can do this:
14322  the default slides class and the 
14323 \family sans
14324 Foil\SpecialChar TeX
14325
14326 \family default
14327  slides class.
14328  This section documents the former.
14329 \end_layout
14330
14331 \begin_layout Standard
14332
14333 \change_deleted 564990737 1672743492
14334 I'm going to say this again,
14335  nice and clear,
14336  so that there's no misunderstanding:
14337 \end_layout
14338
14339 \begin_layout Standard
14340
14341 \change_deleted 564990737 1672743492
14342 \begin_inset VSpace bigskip
14343 \end_inset
14344
14345
14346 \end_layout
14347
14348 \begin_layout Standard
14349 \align center
14350
14351 \change_deleted 564990737 1672743492
14352
14353 \size large
14354 This section documents the class 
14355 \begin_inset Quotes eld
14356 \end_inset
14357
14358
14359 \family sans
14360 slides (default)
14361 \family default
14362
14363 \begin_inset Quotes erd
14364 \end_inset
14365
14366  
14367 \emph on
14368 only.
14369 \end_layout
14370
14371 \begin_layout Standard
14372
14373 \change_deleted 564990737 1672743492
14374 \begin_inset VSpace bigskip
14375 \end_inset
14376
14377
14378 \end_layout
14379
14380 \begin_layout Standard
14381
14382 \change_deleted 564990737 1672743492
14383 If you're looking for the documentation for 
14384 \begin_inset Quotes eld
14385 \end_inset
14386
14387
14388 \family sans
14389 slides (Foil\SpecialChar TeX
14390 )
14391 \family default
14392
14393 \begin_inset Quotes erd
14394 \end_inset
14395
14396 ,
14397  check out section
14398 \begin_inset space ~
14399 \end_inset
14400
14401
14402 \begin_inset CommandInset ref
14403 LatexCommand ref
14404 reference "sec:foiltex"
14405 nolink "false"
14406
14407 \end_inset
14408
14409 .
14410  The 
14411 \family sans
14412 foils
14413 \family default
14414  class [
14415 \begin_inset Quotes eld
14416 \end_inset
14417
14418
14419 \family sans
14420 slides (Foil\SpecialChar TeX
14421 )
14422 \family default
14423
14424 \begin_inset Quotes erd
14425 \end_inset
14426
14427 ] is actually somewhat better than the default 
14428 \family sans
14429 slides
14430 \family default
14431  class,
14432 \begin_inset Foot
14433 status collapsed
14434
14435 \begin_layout Plain Layout
14436 \SpecialChar ldots
14437 or so I've been told repeatedly by its advocates.
14438  Having never used it,
14439  I have no idea if this claim is true or not.
14440 \end_layout
14441
14442 \end_inset
14443
14444  which this section documents.
14445 \end_layout
14446
14447 \begin_layout Standard
14448
14449 \change_deleted 564990737 1672743492
14450 This class is the \SpecialChar LaTeX2e
14451  improvement of the old 
14452 \noun on
14453 Sli\SpecialChar TeX
14454
14455 \noun default
14456  package.
14457  Every \SpecialChar LaTeX2e
14458  distribution includes this class [which I'll just refer to as 
14459 \begin_inset Quotes eld
14460 \end_inset
14461
14462
14463 \family sans
14464 slides
14465 \family default
14466
14467 \begin_inset Quotes erd
14468 \end_inset
14469
14470  from now on],
14471  so you're bound to have it.
14472  As I noted earlier,
14473  there are other classes,
14474  such as 
14475 \family sans
14476 foils
14477 \family default
14478 ,
14479  which also produce slides for overhead projectors and do a better job at it.
14480  However,
14481  there are some things which 
14482 \family sans
14483 slides
14484 \family default
14485  can do which the others can't,
14486  such as generate overlays.
14487  Read on to learn more!
14488 \change_unchanged
14489
14490 \end_layout
14491
14492 \begin_layout Subsubsection
14493 Getting Started
14494 \begin_inset CommandInset label
14495 LatexCommand label
14496 name "sec:slidesetup"
14497
14498 \end_inset
14499
14500
14501 \end_layout
14502
14503 \begin_layout Standard
14504 Obviously,
14505  to use this document class,
14506  you need to select 
14507 \begin_inset Quotes eld
14508 \end_inset
14509
14510
14511 \change_deleted -712698321 1673257922
14512
14513 \family sans
14514 s
14515 \change_inserted -712698321 1673257922
14516 S
14517 \change_unchanged
14518 lides
14519 \change_deleted -712698321 1673257925
14520  (default)
14521 \change_unchanged
14522
14523 \family default
14524
14525 \begin_inset Quotes erd
14526 \end_inset
14527
14528  from the class list in the 
14529 \family sans
14530 Document\SpecialChar menuseparator
14531 Settings
14532 \family default
14533  dialog.
14534  There are some other special things you should know about this class:
14535 \end_layout
14536
14537 \begin_layout Itemize
14538 Don't bother changing the options 
14539 \family sans
14540 Sides and Columns
14541 \family default
14542 .
14543  They're not supported by the 
14544 \change_deleted -712698321 1673257960
14545
14546 \family sans
14547 s
14548 \change_inserted -712698321 1673257960
14549 S
14550 \change_unchanged
14551 lides
14552 \family default
14553  class,
14554  anyways.
14555 \end_layout
14556
14557 \begin_layout Itemize
14558 The option 
14559 \family sans
14560 Page
14561 \begin_inset space ~
14562 \end_inset
14563
14564 style
14565 \family default
14566  behaves a bit differently for this class.
14567  The possible choices and what they do are as follows:
14568 \end_layout
14569
14570 \begin_deeper
14571 \begin_layout Description
14572
14573 \family sans
14574 plain
14575 \family default
14576  The final output contains page numbers in the lower right corner.
14577 \end_layout
14578
14579 \begin_layout Description
14580
14581 \family sans
14582 headings
14583 \family default
14584  Like 
14585 \family sans
14586 plain
14587 \family default
14588 ,
14589  but also prints out any time markers you've put in.
14590  This is the default.
14591 \end_layout
14592
14593 \begin_layout Description
14594
14595 \family sans
14596 empty
14597 \family default
14598  The final output contains no page numbers,
14599  time markers,
14600  or alignment markers.
14601 \end_layout
14602
14603 \end_deeper
14604 \begin_layout Itemize
14605 The 
14606 \change_deleted -712698321 1673257971
14607
14608 \family sans
14609 s
14610 \change_inserted -712698321 1673257971
14611 S
14612 \change_unchanged
14613 lides
14614 \family default
14615  class has an extra option:
14616  
14617 \family typewriter
14618 clock
14619 \family default
14620 .
14621  To use it,
14622  put 
14623 \begin_inset Quotes eld
14624 \end_inset
14625
14626
14627 \family typewriter
14628 clock
14629 \family default
14630
14631 \begin_inset Quotes erd
14632 \end_inset
14633
14634  in the extra class options.
14635 \end_layout
14636
14637 \begin_deeper
14638 \begin_layout Standard
14639 Using this options allows you to add time markers to 
14640 \family sans
14641 Note
14642 \family default
14643 s.
14644  See section
14645 \begin_inset space ~
14646 \end_inset
14647
14648
14649 \begin_inset CommandInset ref
14650 LatexCommand ref
14651 reference "sec:slideNote"
14652 nolink "false"
14653
14654 \end_inset
14655
14656  for more details.
14657 \end_layout
14658
14659 \end_deeper
14660 \begin_layout Standard
14661 You can also use the template file
14662 \change_deleted 564990737 1671617694
14663  
14664 \begin_inset Quotes eld
14665 \end_inset
14666
14667
14668 \family typewriter
14669 slides.lyx
14670 \family default
14671
14672 \begin_inset Quotes erd
14673 \end_inset
14674
14675
14676 \change_unchanged
14677  to automatically set up a document to use the 
14678 \family sans
14679 slides
14680 \family default
14681  class 
14682 \change_deleted 564990737 1671617699
14683 [
14684 \change_unchanged
14685 using 
14686 \family sans
14687 File\SpecialChar menuseparator
14688 New
14689 \begin_inset space ~
14690 \end_inset
14691
14692 from
14693 \begin_inset space ~
14694 \end_inset
14695
14696 Template
14697 \change_inserted 564990737 1671617723
14698 \SpecialChar menuseparator
14699 Presentations\SpecialChar menuseparator
14700 Slides
14701 \change_unchanged
14702
14703 \family default
14704  to open your new document
14705 \change_deleted 564990737 1671617728
14706 ]
14707 \change_unchanged
14708 .
14709  The template file also contains some examples of the special paragraph environments used by this class.
14710  I'll describe those next.
14711 \end_layout
14712
14713 \begin_layout Subsubsection
14714 Paragraph Environments
14715 \end_layout
14716
14717 \begin_layout Paragraph
14718 Supported Environments
14719 \end_layout
14720
14721 \begin_layout Standard
14722 The first thing you'll notice when you start up a new 
14723 \change_deleted -712698321 1673258063
14724
14725 \family sans
14726 s
14727 \change_inserted -712698321 1673258063
14728 S
14729 \change_unchanged
14730 lides
14731 \family default
14732  document is the font size and type:
14733  it's the equivalent of the size 
14734 \begin_inset Quotes eld
14735 \end_inset
14736
14737
14738 \family sans
14739 Largest
14740 \family default
14741
14742 \begin_inset Quotes erd
14743 \end_inset
14744
14745  in the 
14746 \family sans
14747 Sans
14748 \begin_inset space ~
14749 \end_inset
14750
14751 Serif
14752 \family default
14753  font.
14754  This is also what's used in the output.
14755  Think of this as a 
14756 \begin_inset Quotes eld
14757 \end_inset
14758
14759 visual cue
14760 \begin_inset Quotes erd
14761 \end_inset
14762
14763  to remind you that this is a slide.
14764  Your final slides will use a larger font;
14765  ergo,
14766  you'll have less space.
14767  Of course,
14768  the larger default screen font isn't WYSIWYG,
14769  only a reminder.
14770 \end_layout
14771
14772 \begin_layout Standard
14773 The next thing that becomes obvious is the changes to the paragraph environment pull-down box [at the far-left end of the toolbar].
14774  Most of the paragraph environments you're used to seeing are missing.
14775  There are also five new ones.
14776  That's because the 
14777 \change_deleted -712698321 1673258093
14778
14779 \family sans
14780 s
14781 \change_inserted -712698321 1673258093
14782 S
14783 \change_unchanged
14784 lides
14785 \family default
14786  class itself only supports certain paragraph environments:
14787 \end_layout
14788
14789 \begin_layout Standard
14790
14791 \change_inserted -712698321 1673258082
14792
14793 \family sans
14794 \begin_inset Flex Multiple Columns
14795 status open
14796
14797 \begin_layout Itemize
14798
14799 \change_inserted -712698321 1673258082
14800
14801 \family sans
14802 Standard
14803 \end_layout
14804
14805 \begin_layout Itemize
14806
14807 \change_inserted -712698321 1673258082
14808
14809 \family sans
14810 Itemize
14811 \end_layout
14812
14813 \begin_layout Itemize
14814
14815 \change_inserted -712698321 1673258082
14816
14817 \family sans
14818 Enumerate
14819 \end_layout
14820
14821 \begin_layout Itemize
14822
14823 \change_inserted -712698321 1673258082
14824
14825 \family sans
14826 Description
14827 \end_layout
14828
14829 \begin_layout Itemize
14830
14831 \change_inserted -712698321 1673258082
14832
14833 \family sans
14834 List
14835 \end_layout
14836
14837 \begin_layout Itemize
14838
14839 \change_inserted -712698321 1673258082
14840
14841 \family sans
14842 Quotation
14843 \end_layout
14844
14845 \begin_layout Itemize
14846
14847 \change_inserted -712698321 1673258082
14848
14849 \family sans
14850 Quote
14851 \end_layout
14852
14853 \begin_layout Itemize
14854
14855 \change_inserted -712698321 1673258082
14856
14857 \family sans
14858 Verse
14859 \end_layout
14860
14861 \begin_layout Itemize
14862
14863 \change_inserted -712698321 1673258082
14864
14865 \family sans
14866 Caption
14867 \end_layout
14868
14869 \begin_layout Itemize
14870
14871 \change_inserted -712698321 1673258082
14872
14873 \family sans
14874 \SpecialChar LyX
14875 -Code
14876 \change_unchanged
14877
14878 \end_layout
14879
14880 \end_inset
14881
14882
14883 \change_deleted -712698321 1673258082
14884 Standard
14885 \end_layout
14886
14887 \begin_layout Itemize
14888
14889 \change_deleted -712698321 1673258082
14890
14891 \family sans
14892 Itemize
14893 \end_layout
14894
14895 \begin_layout Itemize
14896
14897 \change_deleted -712698321 1673258082
14898
14899 \family sans
14900 Enumerate
14901 \end_layout
14902
14903 \begin_layout Itemize
14904
14905 \change_deleted -712698321 1673258082
14906
14907 \family sans
14908 Description
14909 \end_layout
14910
14911 \begin_layout Itemize
14912
14913 \change_deleted -712698321 1673258082
14914
14915 \family sans
14916 List
14917 \end_layout
14918
14919 \begin_layout Itemize
14920
14921 \change_deleted -712698321 1673258082
14922
14923 \family sans
14924 Quotation
14925 \end_layout
14926
14927 \begin_layout Itemize
14928
14929 \change_deleted -712698321 1673258082
14930
14931 \family sans
14932 Quote
14933 \end_layout
14934
14935 \begin_layout Itemize
14936
14937 \change_deleted -712698321 1673258082
14938
14939 \family sans
14940 Verse
14941 \end_layout
14942
14943 \begin_layout Itemize
14944
14945 \change_deleted -712698321 1673258082
14946
14947 \family sans
14948 Caption
14949 \end_layout
14950
14951 \begin_layout Itemize
14952
14953 \change_deleted -712698321 1673258082
14954
14955 \family sans
14956 \SpecialChar LyX
14957 -Code
14958 \change_unchanged
14959
14960 \end_layout
14961
14962 \begin_layout Standard
14963 All of the other standard environments,
14964  including the section-heading environments,
14965  aren't used in the 
14966 \change_deleted -712698321 1673258102
14967
14968 \family sans
14969 s
14970 \change_inserted -712698321 1673258102
14971 S
14972 \change_unchanged
14973 lides
14974 \family default
14975  class.
14976 \end_layout
14977
14978 \begin_layout Standard
14979 On the other hand,
14980  you'll notice the following new environments:
14981 \end_layout
14982
14983 \begin_layout Standard
14984
14985 \change_inserted -712698321 1673258111
14986
14987 \family sans
14988 \begin_inset Flex Multiple Columns
14989 status open
14990
14991 \begin_layout Itemize
14992
14993 \change_inserted -712698321 1673258111
14994
14995 \family sans
14996 Slide
14997 \end_layout
14998
14999 \begin_layout Itemize
15000
15001 \change_inserted -712698321 1673258111
15002
15003 \family sans
15004 Overlay
15005 \end_layout
15006
15007 \begin_layout Itemize
15008
15009 \change_inserted -712698321 1673258111
15010
15011 \family sans
15012 Note
15013 \end_layout
15014
15015 \begin_layout Itemize
15016
15017 \change_inserted -712698321 1673258111
15018
15019 \family sans
15020 InvisibleText
15021 \end_layout
15022
15023 \begin_layout Itemize
15024
15025 \change_inserted -712698321 1673258119
15026
15027 \family sans
15028 VisibleText
15029 \end_layout
15030
15031 \begin_deeper
15032 \begin_layout Plain Layout
15033
15034 \change_inserted -712698321 1673258133
15035 \begin_inset space ~
15036 \end_inset
15037
15038
15039 \change_unchanged
15040
15041 \end_layout
15042
15043 \end_deeper
15044 \end_inset
15045
15046
15047 \change_deleted -712698321 1673258111
15048 Slide
15049 \end_layout
15050
15051 \begin_layout Itemize
15052
15053 \change_deleted -712698321 1673258111
15054
15055 \family sans
15056 Overlay
15057 \end_layout
15058
15059 \begin_layout Itemize
15060
15061 \change_deleted -712698321 1673258111
15062
15063 \family sans
15064 Note
15065 \end_layout
15066
15067 \begin_layout Itemize
15068
15069 \change_deleted -712698321 1673258111
15070
15071 \family sans
15072 InvisibleText
15073 \end_layout
15074
15075 \begin_layout Itemize
15076
15077 \change_deleted -712698321 1673258111
15078
15079 \family sans
15080 VisibleText
15081 \change_unchanged
15082
15083 \end_layout
15084
15085 \begin_layout Standard
15086 These five are kind of quirky,
15087  due to a 
15088 \begin_inset Quotes eld
15089 \end_inset
15090
15091 feature
15092 \begin_inset Quotes erd
15093 \end_inset
15094
15095  in \SpecialChar LyX
15096 .
15097  You see,
15098  \SpecialChar LyX
15099  doesn't permit you to nest any other paragraph environment into an empty environment.
15100  Now,
15101  that's fine and dandy,
15102  but it means that you wouldn't be able to start a slide with anything except plain text.
15103  To deal with this,
15104  I've performed a little 
15105 \begin_inset Quotes eld
15106 \end_inset
15107
15108 \SpecialChar LaTeX
15109  magic.
15110 \begin_inset Quotes erd
15111 \end_inset
15112
15113  
15114 \end_layout
15115
15116 \begin_layout Paragraph
15117 Quirks of the New Environments
15118 \begin_inset CommandInset label
15119 LatexCommand label
15120 name "sec:slideQuirk"
15121
15122 \end_inset
15123
15124
15125 \end_layout
15126
15127 \begin_layout Standard
15128 All five of the new paragraph environments are somewhat quirky due to inherent limitiations in the current version of \SpecialChar LyX
15129 .
15130  As I just mentioned,
15131  \SpecialChar LyX
15132  forbids environments that begin with another environment.
15133  To get around this,
15134  the 
15135 \family sans
15136 Slide
15137 \family default
15138  environment isn't a paragraph environment as described in the 
15139 \emph on
15140 User's Guide
15141 \emph default
15142 .
15143  
15144 \end_layout
15145
15146 \begin_layout Standard
15147 You should consider 
15148 \family sans
15149 Slide
15150 \family default
15151 ,
15152  
15153 \family sans
15154 Overlay
15155 \family default
15156 ,
15157  and 
15158 \family sans
15159 Note
15160 \family default
15161  to be 
15162 \begin_inset Quotes eld
15163 \end_inset
15164
15165 pseudo-environments.
15166 \begin_inset Quotes erd
15167 \end_inset
15168
15169  They look like a section heading or a 
15170 \begin_inset Quotes eld
15171 \end_inset
15172
15173
15174 \family sans
15175 Caption
15176 \family default
15177 ,
15178 \begin_inset Quotes erd
15179 \end_inset
15180
15181  but really begin a [and,
15182  if necessary,
15183  end the previous] paragraph environment.
15184  Likewise,
15185  treat 
15186 \family sans
15187 InvisibleText
15188 \family default
15189  and 
15190 \family sans
15191 VisibleText
15192 \family default
15193  as 
15194 \begin_inset Quotes eld
15195 \end_inset
15196
15197 pseudo-commands.
15198 \begin_inset Quotes erd
15199 \end_inset
15200
15201  These two perform some action.
15202 \end_layout
15203
15204 \begin_layout Standard
15205 A common feature of all five environments,
15206  
15207 \family sans
15208 Slide
15209 \family default
15210 ,
15211  
15212 \family sans
15213 Overlay
15214 \family default
15215 ,
15216  
15217 \family sans
15218 Note
15219 \family default
15220 ,
15221  
15222 \family sans
15223 InvisibleText
15224 \family default
15225  and 
15226 \family sans
15227 VisibleText
15228 \family default
15229 ,
15230  is a rather long-ish label.
15231  The text following this label —
15232  ordinarily the contents of the paragraph environment —
15233  is utterly irrelevant for 
15234 \family sans
15235 Slide
15236 \family default
15237 ,
15238  
15239 \family sans
15240 Overlay
15241 \family default
15242 ,
15243  
15244 \family sans
15245 Note
15246 \family default
15247 ,
15248  
15249 \family sans
15250 InvisibleText
15251 \family default
15252  and 
15253 \family sans
15254 VisibleText
15255 \family default
15256 .
15257  \SpecialChar LyX
15258  completely ignores it.
15259  In fact,
15260  you can leave these five environments completely empty.
15261  
15262 \end_layout
15263
15264 \begin_layout Standard
15265 While you don't 
15266 \emph on
15267 have
15268 \emph default
15269  to put any text after the rather long-ish label,
15270  you might want to.
15271  This could be a short description of the contents of the 
15272 \family sans
15273 Slide
15274 \family default
15275 ,
15276  for example.
15277  In that case,
15278  enter your descriptive comment and hit 
15279 \family sans
15280 Return
15281 \family default
15282  as you normally would.
15283 \end_layout
15284
15285 \begin_layout Standard
15286
15287 \change_deleted -712698321 1673258321
15288 If,
15289  on the other hand,
15290  you don't want to enter any descriptive text,
15291  you'll hit another \SpecialChar LyX
15292  quirk.
15293  \SpecialChar LyX
15294 ,
15295  like nature,
15296  abhors a vacuum,
15297  and will not let you start a new paragraph environment until you put something in the old one.
15298  So,
15299  do this:
15300 \end_layout
15301
15302 \begin_layout Itemize
15303
15304 \change_deleted -712698321 1673258321
15305 Start entering the text that will 
15306 \emph on
15307 follow
15308 \emph default
15309  the new 
15310 \family sans
15311 Slide
15312 \family default
15313 ,
15314  
15315 \family sans
15316 Overlay
15317 \family default
15318 ,
15319  
15320 \family sans
15321 Note
15322 \family default
15323 ,
15324  
15325 \family sans
15326 InvisibleText
15327 \family default
15328  or 
15329 \family sans
15330 VisibleText
15331 \family default
15332 .
15333  
15334 \end_layout
15335
15336 \begin_layout Itemize
15337
15338 \change_deleted -712698321 1673258321
15339 Now move to the beginning of that paragraph.
15340  
15341 \end_layout
15342
15343 \begin_layout Itemize
15344
15345 \change_deleted -712698321 1673258321
15346 Next,
15347  hit 
15348 \family sans
15349 Return
15350 \family default
15351 .
15352  
15353 \end_layout
15354
15355 \begin_layout Itemize
15356
15357 \change_deleted -712698321 1673258321
15358 Finally,
15359  change this new,
15360  empty paragraph to a 
15361 \family sans
15362 Slide
15363 \family default
15364 ,
15365  
15366 \family sans
15367 Overlay
15368 \family default
15369 ,
15370  
15371 \family sans
15372 Note
15373 \family default
15374 ,
15375  
15376 \family sans
15377 InvisibleText
15378 \family default
15379  or 
15380 \family sans
15381 VisibleText
15382 \family default
15383 .
15384  
15385 \end_layout
15386
15387 \begin_layout Standard
15388
15389 \change_deleted -712698321 1673258321
15390 Some future version of \SpecialChar LyX
15391  will,
15392  hopefully,
15393  resolve this quirkiness\SpecialChar ldots
15394
15395 \change_unchanged
15396
15397 \end_layout
15398
15399 \begin_layout Subsubsection
15400 Making a Presentation with 
15401 \family sans
15402 Slide
15403 \family default
15404 ,
15405  
15406 \family sans
15407 Overlay
15408 \family default
15409  and 
15410 \family sans
15411 Note
15412 \end_layout
15413
15414 \begin_layout Paragraph
15415 Using the 
15416 \family sans
15417 Slide
15418 \family default
15419  Environment
15420 \end_layout
15421
15422 \begin_layout Standard
15423 If you're expecting this section to teach you how to actually make a presentation,
15424  you'll be sorely disappointed.
15425  Naturally,
15426  I'll describe all of the ways the 
15427 \change_deleted -712698321 1673258368
15428
15429 \family sans
15430 s
15431 \change_inserted -712698321 1673258368
15432 S
15433 \change_unchanged
15434 lides
15435 \family default
15436  class can assist you in preparing the materials for a presentation.
15437  Filling in the contents,
15438  however,
15439  is up to you.
15440  [Then again,
15441  that 
15442 \emph on
15443 is
15444 \emph default
15445  the \SpecialChar LyX
15446  philosophy.]
15447 \end_layout
15448
15449 \begin_layout Standard
15450 Choosing the 
15451 \family sans
15452 Slide
15453 \family default
15454  environment [in the manner described in section
15455 \begin_inset space ~
15456 \end_inset
15457
15458
15459 \begin_inset CommandInset ref
15460 LatexCommand ref
15461 reference "sec:slideQuirk"
15462 nolink "false"
15463
15464 \end_inset
15465
15466 ] tells \SpecialChar LyX
15467  to begin a new slide [duh].
15468  The label for this environment/
15469 \change_inserted -712698321 1673258390
15470
15471 \begin_inset Quotes eld
15472 \end_inset
15473
15474
15475 \change_deleted -712698321 1673258391
15476
15477 \begin_inset Quotes erd
15478 \end_inset
15479
15480
15481 \change_unchanged
15482 pseudo-command
15483 \begin_inset Quotes erd
15484 \end_inset
15485
15486  is an 
15487 \begin_inset Quotes eld
15488 \end_inset
15489
15490 ASCII line,
15491 \begin_inset Quotes erd
15492 \end_inset
15493
15494  in cool blue,
15495  followed by the label,
15496  
15497 \begin_inset Quotes eld
15498 \end_inset
15499
15500 NewSlide:
15501 \begin_inset Quotes erd
15502 \end_inset
15503
15504 .
15505  Any text or paragraph environments that follow this one go on the new slide.
15506  It's that simple.
15507 \end_layout
15508
15509 \begin_layout Standard
15510 Slides are probably the only time you'll need to forcibly end pages in \SpecialChar LyX
15511  (this can be specified in the 
15512 \family sans
15513 Paragraph Layout
15514 \family default
15515  dialog).
15516  In fact,
15517  you'll want to,
15518  once you finish entering the contents of one slide.
15519  If you've entered more text than can physically fit on a slide,
15520  the extra overflows onto a new slide.
15521  I don't recommend doing this,
15522  however,
15523  since the overflow slide won't have any page number on it.
15524  Furthermore,
15525  it may interfere with any 
15526 \family sans
15527 Overlay
15528 \family default
15529  you've made to accompany the oversized 
15530 \family sans
15531 Slide
15532 \family default
15533 .
15534 \end_layout
15535
15536 \begin_layout Standard
15537 The 
15538 \family sans
15539 Overlay
15540 \family default
15541  and 
15542 \family sans
15543 Note
15544 \family default
15545  environments work the same way as the 
15546 \family sans
15547 Slide
15548 \family default
15549  environment.
15550  They both create an 
15551 \begin_inset Quotes eld
15552 \end_inset
15553
15554 ASCII line
15555 \begin_inset Quotes erd
15556 \end_inset
15557
15558  followed by a label [
15559 \begin_inset Quotes eld
15560 \end_inset
15561
15562 NewOverlay:
15563 \begin_inset Quotes erd
15564 \end_inset
15565
15566  and 
15567 \begin_inset Quotes eld
15568 \end_inset
15569
15570 NewNote:
15571 \begin_inset Quotes erd
15572 \end_inset
15573
15574 ,
15575  respectively].
15576  The color is a stunning magenta instead of blue,
15577  and the 
15578 \begin_inset Quotes eld
15579 \end_inset
15580
15581 ASCII line
15582 \begin_inset Quotes erd
15583 \end_inset
15584
15585  will look different,
15586  in style and in length.
15587  The label fonts of all three also differ from one another.
15588 \end_layout
15589
15590 \begin_layout Standard
15591 As with a 
15592 \family sans
15593 Slide
15594 \family default
15595 ,
15596  if the contents of a 
15597 \family sans
15598 Note
15599 \family default
15600  or 
15601 \family sans
15602 Overlay
15603 \family default
15604  exceed the physical size of a slide or sheet of paper,
15605  the extra will overflow onto a new sheet.
15606  Again,
15607  you should avoid this.
15608  It defeats the whole purpose of 
15609 \family sans
15610 Note
15611 \family default
15612 s and 
15613 \family sans
15614 Overlay
15615 \family default
15616 s.
15617 \end_layout
15618
15619 \begin_layout Paragraph
15620 Using 
15621 \family sans
15622 Overlay
15623 \family default
15624  with 
15625 \family sans
15626 Slide
15627 \end_layout
15628
15629 \begin_layout Standard
15630 The idea behind an 
15631 \family sans
15632 Overlay
15633 \family default
15634  is a slide that sits atop another slide.
15635  Perhaps you wish to discuss a figure on the main 
15636 \family sans
15637 Slide
15638 \family default
15639  before displaying the text associated with it.
15640  One way to accomplish this is tape a flap of dark paper over the part of the 
15641 \family sans
15642 Slide
15643 \family default
15644  you want to display later.
15645  This method fails,
15646  however,
15647  if you wish to overlap one graph with another,
15648  for example.
15649  You would then have to fumble while speaking to align the two separate,
15650  overlapping 
15651 \family sans
15652 Slide
15653 \family default
15654 s to align the two graphs.
15655  The use of an 
15656 \family sans
15657 Overlay
15658 \family default
15659  environment in both cases makes life much easier.
15660 \end_layout
15661
15662 \begin_layout Standard
15663 Each 
15664 \family sans
15665 Overlay
15666 \family default
15667  receives the page number of its 
15668 \begin_inset Quotes eld
15669 \end_inset
15670
15671 parent
15672 \begin_inset Quotes erd
15673 \end_inset
15674
15675  
15676 \family sans
15677 Slide
15678 \family default
15679 ,
15680  appended by 
15681 \begin_inset Quotes eld
15682 \end_inset
15683
15684
15685 \family typewriter
15686 -a
15687 \family default
15688
15689 \begin_inset Quotes erd
15690 \end_inset
15691
15692 .
15693 \begin_inset Foot
15694 status collapsed
15695
15696 \begin_layout Plain Layout
15697 Presumably,
15698  mutliple 
15699 \family sans
15700 Overlay
15701 \family default
15702 s would have 
15703 \begin_inset Quotes eld
15704 \end_inset
15705
15706
15707 \family typewriter
15708 -a
15709 \family default
15710
15711 \begin_inset Quotes erd
15712 \end_inset
15713
15714 ,
15715  
15716 \begin_inset Quotes eld
15717 \end_inset
15718
15719
15720 \family typewriter
15721 -b
15722 \family default
15723
15724 \begin_inset Quotes erd
15725 \end_inset
15726
15727 ,
15728  
15729 \begin_inset Quotes eld
15730 \end_inset
15731
15732
15733 \family typewriter
15734 -c
15735 \family default
15736
15737 \begin_inset Quotes erd
15738 \end_inset
15739
15740 ,
15741  etc.
15742 \begin_inset space ~
15743 \end_inset
15744
15745 appended to the page number of the parent 
15746 \family sans
15747 Slide
15748 \family default
15749 .
15750  
15751 \end_layout
15752
15753 \end_inset
15754
15755  Clearly,
15756  you want the contents of both the 
15757 \family sans
15758 Slide
15759 \family default
15760  and the 
15761 \family sans
15762 Overlay
15763 \family default
15764  to each fit on a single physical slide!
15765  You should probably consider an 
15766 \family sans
15767 Overlay
15768 \family default
15769  as 
15770 \begin_inset Quotes eld
15771 \end_inset
15772
15773 part of
15774 \begin_inset Quotes erd
15775 \end_inset
15776
15777  a 
15778 \family sans
15779 Slide
15780 \family default
15781 .
15782  Indeed,
15783  the \SpecialChar LyX
15784  
15785 \family sans
15786 slides
15787 \family default
15788  class provides a visual cue for this:
15789  the label at the start of an 
15790 \family sans
15791 Overlay
15792 \family default
15793  is shorter than that at the start of a 
15794 \family sans
15795 Slide
15796 \family default
15797 .
15798  Lastly,
15799  when you generate printable output,
15800  you'll find alignment markers in all four corners of both the 
15801 \family sans
15802 Overlay
15803 \family default
15804  page and its parent 
15805 \family sans
15806 Slide
15807 \family default
15808 .
15809  These will assist you in lining up the two physical slides.
15810 \end_layout
15811
15812 \begin_layout Standard
15813 The major problem in overlaying two slides is aligning the contents of the two transparencies.
15814  How much space should you leave for that graph on the second slide?
15815  Worse still,
15816  what if you want a graph and a sentence on second slide,
15817  but there is text on the main transparency that goes in between them?
15818  You could try and insert vertical space of the right size.
15819  The better way is to use 
15820 \family sans
15821 InvisibleText
15822 \family default
15823  and 
15824 \family sans
15825 VisibleText
15826 \family default
15827 .
15828 \end_layout
15829
15830 \begin_layout Standard
15831 As their names imply,
15832  
15833 \family sans
15834 InvisibleText
15835 \family default
15836  and 
15837 \family sans
15838 VisibleText
15839 \family default
15840  are two command-like paragraph environments that make all subsequent text invisible and visible,
15841  respectively.
15842  Note from section
15843 \begin_inset space ~
15844 \end_inset
15845
15846
15847 \begin_inset CommandInset ref
15848 LatexCommand ref
15849 reference "sec:slideQuirk"
15850 nolink "false"
15851
15852 \end_inset
15853
15854  that you don't place anything 
15855 \emph on
15856 into
15857 \emph default
15858  these two environments,
15859  however.
15860  When you create an 
15861 \family sans
15862 InvisibleText
15863 \family default
15864 ,
15865  it inserts a centered,
15866  sky-blue label into the page reading 
15867 \begin_inset Quotes eld
15868 \end_inset
15869
15870 <Invisible Text Follows>
15871 \begin_inset Quotes erd
15872 \end_inset
15873
15874 .
15875  For paragraphs following this label,
15876  the parts of the 
15877 \family sans
15878 Slide
15879 \family default
15880  [or 
15881 \family sans
15882 Overlay
15883 \family default
15884 ;
15885  it doesn't matter which] where they would be contain instead blank space.
15886  
15887 \end_layout
15888
15889 \begin_layout Standard
15890 For 
15891 \family sans
15892 VisibleText
15893 \family default
15894 ,
15895  the corresponding centered label is 
15896 \begin_inset Quotes eld
15897 \end_inset
15898
15899 <Visible Text Follows>
15900 \begin_inset Quotes erd
15901 \end_inset
15902
15903  in blazing green.
15904  Paragraphs following this label behave normally.
15905  Note that the beginning of a new 
15906 \family sans
15907 Slide
15908 \family default
15909 ,
15910  
15911 \family sans
15912 Overlay
15913 \family default
15914 ,
15915  or 
15916 \family sans
15917 Note
15918 \family default
15919  automatically shuts off an 
15920 \family sans
15921 InvisibleText
15922 \family default
15923 .
15924  It's therefore not necessary to use 
15925 \family sans
15926 VisibleText
15927 \family default
15928  at the end of a 
15929 \family sans
15930 Slide
15931 \family default
15932 .
15933 \end_layout
15934
15935 \begin_layout Standard
15936 By now,
15937  it should be obvious how to create overlay transparencies using the proper combination of 
15938 \family sans
15939 InvisibleText
15940 \family default
15941  and 
15942 \family sans
15943 VisibleText
15944 \family default
15945  on a 
15946 \family sans
15947 Slide
15948 \family default
15949  and 
15950 \family sans
15951 Overlay
15952 \family default
15953 :
15954 \end_layout
15955
15956 \begin_layout Enumerate
15957 Create a 
15958 \family sans
15959 Slide
15960 \family default
15961 ,
15962  including everything that will appear on it,
15963  whether on the main slide or on the 
15964 \family sans
15965 Overlay
15966 \family default
15967 .
15968 \end_layout
15969
15970 \begin_layout Enumerate
15971 Before each figure or paragraph that will appear only on the 
15972 \family sans
15973 Overlay
15974 \family default
15975 ,
15976  insert an 
15977 \family sans
15978 InvisibleText
15979 \family default
15980  environment.
15981  If necessary,
15982  insert a 
15983 \family sans
15984 VisibleText
15985 \family default
15986  environment after the 
15987 \family sans
15988 Overlay
15989 \family default
15990 -only text.
15991 \end_layout
15992
15993 \begin_layout Enumerate
15994 Start an 
15995 \family sans
15996 Overlay
15997 \family default
15998  immediately following the 
15999 \family sans
16000 Slide
16001 \family default
16002 .
16003 \end_layout
16004
16005 \begin_layout Enumerate
16006 Copy the contents of this 
16007 \family sans
16008 Slide
16009 \family default
16010  into the 
16011 \family sans
16012 Overlay
16013 \family default
16014 .
16015 \end_layout
16016
16017 \begin_layout Enumerate
16018 Within the 
16019 \family sans
16020 Overlay
16021 \family default
16022 ,
16023  change all of the 
16024 \family sans
16025 InvisibleText
16026 \family default
16027  lines to 
16028 \family sans
16029 VisibleText
16030 \family default
16031  and vice-versa.
16032 \end_layout
16033
16034 \begin_layout Standard
16035 That's it.
16036  You've just made an 
16037 \family sans
16038 Overlay
16039 \family default
16040 .
16041 \end_layout
16042
16043 \begin_layout Standard
16044 There's one problem with the way I've designed the \SpecialChar LyX
16045  
16046 \family sans
16047 slides
16048 \family default
16049  class:
16050  you can't make text in the middle of a paragraph invisible,
16051  nor make text in the middle of an invisible paragraph visible again.
16052  To accomplish this feat,
16053  you'll need to use some inlined \SpecialChar LaTeX
16054  codes.
16055 \begin_inset Foot
16056 status collapsed
16057
16058 \begin_layout Plain Layout
16059 The commands of interest are:
16060  
16061 \end_layout
16062
16063 \begin_layout Itemize
16064
16065 \family typewriter
16066 {
16067 \backslash
16068 invisible \SpecialChar ldots
16069  }
16070 \end_layout
16071
16072 \begin_layout Itemize
16073
16074 \family typewriter
16075 {
16076 \backslash
16077 visible \SpecialChar ldots
16078  }
16079 \end_layout
16080
16081 \begin_layout Plain Layout
16082 \SpecialChar ldots
16083 and need to be marked as \SpecialChar TeX
16084 .
16085  The text whose 
16086 \begin_inset Quotes eld
16087 \end_inset
16088
16089 visibility
16090 \begin_inset Quotes erd
16091 \end_inset
16092
16093  you wish to change goes in between the brackets [and after the 
16094 \family typewriter
16095
16096 \backslash
16097 invisible
16098 \family default
16099  or 
16100 \family typewriter
16101
16102 \backslash
16103 visible
16104 \family default
16105  command].
16106  If you don't know how to mark text as \SpecialChar TeX
16107 ,
16108  see the appropriate section of the 
16109 \emph on
16110 User's Guide
16111 \emph default
16112 .
16113 \end_layout
16114
16115 \end_inset
16116
16117
16118 \end_layout
16119
16120 \begin_layout Paragraph
16121 Using 
16122 \family sans
16123 Note
16124 \family default
16125  with 
16126 \family sans
16127 Slide
16128 \family default
16129
16130 \begin_inset CommandInset label
16131 LatexCommand label
16132 name "sec:slideNote"
16133
16134 \end_inset
16135
16136
16137 \end_layout
16138
16139 \begin_layout Standard
16140 Like an 
16141 \family sans
16142 Overlay
16143 \family default
16144 ,
16145  a 
16146 \family sans
16147 Note
16148 \family default
16149  is associated with a 
16150 \begin_inset Quotes eld
16151 \end_inset
16152
16153 parent
16154 \begin_inset Quotes erd
16155 \end_inset
16156
16157  
16158 \family sans
16159 Slide
16160 \family default
16161 .
16162  Here,
16163  too,
16164  the \SpecialChar LyX
16165  
16166 \family sans
16167 slides
16168 \family default
16169  class provides visual cues.
16170  The label for a 
16171 \family sans
16172 Note
16173 \family default
16174  is shorter than that of a 
16175 \family sans
16176 Slide
16177 \family default
16178  [yet longer than that of an 
16179 \family sans
16180 Overlay
16181 \family default
16182 ] and,
16183  like the label of an 
16184 \family sans
16185 Overlay
16186 \family default
16187  is shockingly magenta.
16188  Additionally,
16189  the printed 
16190 \family sans
16191 Note
16192 \family default
16193  has the page number of its 
16194 \begin_inset Quotes eld
16195 \end_inset
16196
16197 parent
16198 \begin_inset Quotes erd
16199 \end_inset
16200
16201  
16202 \family sans
16203 Slide
16204 \family default
16205 ,
16206  appended by 
16207 \begin_inset Quotes eld
16208 \end_inset
16209
16210
16211 \family typewriter
16212 -
16213 \family default
16214 1
16215 \begin_inset Quotes erd
16216 \end_inset
16217
16218 ,
16219  
16220 \begin_inset Quotes eld
16221 \end_inset
16222
16223
16224 \family typewriter
16225 -
16226 \family default
16227 2
16228 \begin_inset Quotes erd
16229 \end_inset
16230
16231 ,
16232  
16233 \begin_inset Quotes eld
16234 \end_inset
16235
16236
16237 \family typewriter
16238 -
16239 \family default
16240 3
16241 \begin_inset Quotes erd
16242 \end_inset
16243
16244 ,
16245  etc.
16246  You can have multiple 
16247 \family sans
16248 Note
16249 \family default
16250 s associated with a single 
16251 \family sans
16252 Slide
16253 \family default
16254 ,
16255  and,
16256  as with 
16257 \family sans
16258 Slide
16259 \family default
16260  and 
16261 \family sans
16262 Overlay
16263 \family default
16264 ,
16265  you'll probably want to break up long 
16266 \family sans
16267 Note
16268 \family default
16269 s so that they fit on a single sheet of paper.
16270 \end_layout
16271
16272 \begin_layout Standard
16273 The purpose of a 
16274 \family sans
16275 Note
16276 \family default
16277  is obvious:
16278  it contains anything additional you might want to say about a 
16279 \family sans
16280 Slide
16281 \family default
16282 .
16283  It could also be used as a sheet of reminders for a particular 
16284 \family sans
16285 Slide
16286 \family default
16287 .
16288  In the case of the latter,
16289  you might want to make use of time markers.
16290  Currently,
16291  the \SpecialChar LyX
16292  
16293 \family sans
16294 slides
16295 \family default
16296  class has no 
16297 \begin_inset Quotes eld
16298 \end_inset
16299
16300 native
16301 \begin_inset Quotes erd
16302 \end_inset
16303
16304  support for time markers,
16305  a 
16306 \noun on
16307 Sli\SpecialChar TeX
16308
16309 \noun default
16310  feature.
16311  So,
16312  you'll have to resort to using the \SpecialChar LaTeX
16313  codes.
16314 \end_layout
16315
16316 \begin_layout Standard
16317 To use time markers,
16318  you'll need to specify the extra class option 
16319 \begin_inset Quotes eld
16320 \end_inset
16321
16322
16323 \family typewriter
16324 clock
16325 \family default
16326
16327 \begin_inset Quotes erd
16328 \end_inset
16329
16330  [see section
16331 \begin_inset space ~
16332 \end_inset
16333
16334
16335 \begin_inset CommandInset ref
16336 LatexCommand ref
16337 reference "sec:slidesetup"
16338 nolink "false"
16339
16340 \end_inset
16341
16342 ].
16343  This option turns on timing marks,
16344  which will appear in the lower-left-hand corner of every 
16345 \family sans
16346 Note
16347 \family default
16348  you generate.
16349  To set what appears in the time marker,
16350  you use the \SpecialChar LaTeX
16351  commands 
16352 \begin_inset Quotes eld
16353 \end_inset
16354
16355
16356 \family typewriter
16357
16358 \backslash
16359 settime{}
16360 \family default
16361
16362 \begin_inset Quotes erd
16363 \end_inset
16364
16365  and 
16366 \begin_inset Quotes eld
16367 \end_inset
16368
16369
16370 \family typewriter
16371
16372 \backslash
16373 addtime{}
16374 \family default
16375
16376 \begin_inset Quotes erd
16377 \end_inset
16378
16379 .
16380  The arguments of both commands are time measured in seconds.
16381  
16382 \begin_inset Quotes eld
16383 \end_inset
16384
16385
16386 \family typewriter
16387
16388 \backslash
16389 settime{}
16390 \family default
16391
16392 \begin_inset Quotes erd
16393 \end_inset
16394
16395  sets the time marker to a given time.
16396  
16397 \begin_inset Quotes eld
16398 \end_inset
16399
16400
16401 \family typewriter
16402
16403 \backslash
16404 addtime{}
16405 \family default
16406
16407 \begin_inset Quotes erd
16408 \end_inset
16409
16410  increments the time marker by the specified amount.
16411  Using time markers and 
16412 \family sans
16413 Note
16414 \family default
16415 s in this fashion,
16416  you can remind yourself how much time to spend on a particular 
16417 \family sans
16418 Slide
16419 \family default
16420 .
16421 \end_layout
16422
16423 \begin_layout Standard
16424 There's one last feature to describe.
16425  Clearly,
16426  you'd like to print out all of your 
16427 \family sans
16428 Slide
16429 \family default
16430 s and 
16431 \family sans
16432 Overlay
16433 \family default
16434 s on transparencies while printing all of your 
16435 \family sans
16436 Note
16437 \family default
16438 s on plain paper.
16439  However,
16440  a 
16441 \family sans
16442 Note
16443 \family default
16444  
16445 \emph on
16446 must
16447 \emph default
16448  follow the 
16449 \family sans
16450 Slide
16451 \family default
16452  with which it is associated.
16453  What's a person to do?
16454 \end_layout
16455
16456 \begin_layout Standard
16457 Luckily,
16458  there are two \SpecialChar LaTeX
16459  commands that allow you to select what to print out.
16460  Both must be placed into the preamble of your document.
16461  The command 
16462 \begin_inset Quotes eld
16463 \end_inset
16464
16465
16466 \family typewriter
16467
16468 \backslash
16469 onlyslides{
16470 \backslash
16471 slides}
16472 \family default
16473
16474 \begin_inset Quotes erd
16475 \end_inset
16476
16477  will cause the output to contain only the 
16478 \family sans
16479 Slide
16480 \family default
16481 s and 
16482 \family sans
16483 Overlay
16484 \family default
16485 s.
16486  Correspondingly,
16487  the command 
16488 \begin_inset Quotes eld
16489 \end_inset
16490
16491
16492 \family typewriter
16493
16494 \backslash
16495 onlynotes{
16496 \backslash
16497 notes}
16498 \family default
16499
16500 \begin_inset Quotes erd
16501 \end_inset
16502
16503  prevents the output of anything but 
16504 \family sans
16505 Note
16506 \family default
16507 s.
16508  I'd advise placing both commands in the preamble and initially comment both out.
16509  You can then preview your entire presentation as you write.
16510  When you're done writing,
16511  you can then uncomment one of the two to select what you want to print.
16512  I like to uncomment 
16513 \begin_inset Quotes eld
16514 \end_inset
16515
16516
16517 \family typewriter
16518
16519 \backslash
16520 onlyslides{
16521 \backslash
16522 slides}
16523 \family default
16524
16525 \begin_inset Quotes erd
16526 \end_inset
16527
16528  ,
16529  print to a file with 
16530 \begin_inset Quotes eld
16531 \end_inset
16532
16533
16534 \family typewriter
16535 -slides
16536 \family default
16537
16538 \begin_inset Quotes erd
16539 \end_inset
16540
16541  in its name,
16542  comment it back out,
16543  then uncomment 
16544 \begin_inset Quotes eld
16545 \end_inset
16546
16547
16548 \family typewriter
16549
16550 \backslash
16551 onlynotes{
16552 \backslash
16553 notes}
16554 \family default
16555
16556 \begin_inset Quotes erd
16557 \end_inset
16558
16559  and print to a 
16560 \begin_inset Quotes eld
16561 \end_inset
16562
16563
16564 \family typewriter
16565 *-notes.ps
16566 \family default
16567
16568 \begin_inset Quotes erd
16569 \end_inset
16570
16571  file.
16572  I can then send either file to a printer,
16573  loading transparencies or plain paper as appropriate.
16574 \end_layout
16575
16576 \begin_layout Standard
16577 You can also provide other arguments to the 
16578 \begin_inset Quotes eld
16579 \end_inset
16580
16581
16582 \family typewriter
16583
16584 \backslash
16585 onlyslides{}
16586 \family default
16587
16588 \begin_inset Quotes erd
16589 \end_inset
16590
16591  and 
16592 \begin_inset Quotes eld
16593 \end_inset
16594
16595
16596 \family typewriter
16597
16598 \backslash
16599 onlynotes{}
16600 \family default
16601
16602 \begin_inset Quotes erd
16603 \end_inset
16604
16605  commands.
16606  See a good \SpecialChar LaTeX
16607  book for details.
16608 \end_layout
16609
16610 \begin_layout Subsubsection
16611 The 
16612 \family sans
16613 slides
16614 \family default
16615  Class Template File
16616 \end_layout
16617
16618 \begin_layout Standard
16619 I have also provided a template file
16620 \change_deleted 564990737 1671617750
16621 ,
16622  
16623 \begin_inset Quotes eld
16624 \end_inset
16625
16626
16627 \family typewriter
16628 slides.lyx
16629 \family default
16630
16631 \begin_inset Quotes erd
16632 \end_inset
16633
16634 ,
16635
16636 \change_unchanged
16637  with the 
16638 \family sans
16639 slides
16640 \family default
16641  class.
16642  To use it,
16643  begin your new presentation with 
16644 \family sans
16645 File\SpecialChar menuseparator
16646 New
16647 \begin_inset space ~
16648 \end_inset
16649
16650 from
16651 \begin_inset space ~
16652 \end_inset
16653
16654 Template
16655 \change_inserted 564990737 1671616988
16656 \SpecialChar menuseparator
16657 Presentations\SpecialChar menuseparator
16658 Slides
16659 \change_unchanged
16660
16661 \family default
16662 .
16663  Your new \SpecialChar LyX
16664  presentation file will contain an example 
16665 \family sans
16666 Slide
16667 \family default
16668  – 
16669 \family sans
16670 Overlay
16671 \family default
16672  – 
16673 \family sans
16674 Note
16675 \family default
16676  triplet.
16677  The 
16678 \family sans
16679 Slide
16680 \family default
16681  and 
16682 \family sans
16683 Overlay
16684 \family default
16685  additionally contain an example of the use of 
16686 \family sans
16687 InvisibleText
16688 \family default
16689  and 
16690 \family sans
16691 VisibleText
16692 \family default
16693 .
16694  Lastly,
16695  the preamble will contain:
16696 \end_layout
16697
16698 \begin_layout LyX-Code
16699 % Uncomment to print out only slides and overlays
16700 \end_layout
16701
16702 \begin_layout LyX-Code
16703 %
16704 \end_layout
16705
16706 \begin_layout LyX-Code
16707 %
16708 \backslash
16709 onlyslides{
16710 \backslash
16711 slides}
16712 \begin_inset Newline newline
16713 \end_inset
16714
16715  
16716 \end_layout
16717
16718 \begin_layout LyX-Code
16719 % Uncomment to print out only notes
16720 \end_layout
16721
16722 \begin_layout LyX-Code
16723 %
16724 \end_layout
16725
16726 \begin_layout LyX-Code
16727 %
16728 \backslash
16729 onlynotes{
16730 \backslash
16731 notes}
16732 \end_layout
16733
16734 \begin_layout Standard
16735 One final thing:
16736  I created this class to support the \SpecialChar LaTeX2e
16737  
16738 \begin_inset Quotes eld
16739 \end_inset
16740
16741
16742 \noun on
16743 Sli\SpecialChar TeX
16744
16745 \noun default
16746  emulation
16747 \begin_inset Quotes erd
16748 \end_inset
16749
16750  class,
16751  one of the built-in \SpecialChar LaTeX2e
16752  classes.
16753  Neither I nor the rest of the \SpecialChar LyX
16754  Team endorse or oppose the use of this built-in slide class.
16755  It's here if you want it or need it.
16756  There exist other \SpecialChar LaTeX2e
16757  classes for creating presentations,
16758  such 
16759 \change_deleted -712698321 1673258708
16760 as the 
16761 \change_unchanged
16762
16763 \family sans
16764 Foils
16765 \family default
16766  
16767 \change_deleted -712698321 1673258709
16768 class 
16769 \change_inserted -712698321 1673258699
16770 (
16771 \change_deleted -712698321 1673258700
16772 [
16773 \change_unchanged
16774 see section
16775 \begin_inset space ~
16776 \end_inset
16777
16778
16779 \begin_inset CommandInset ref
16780 LatexCommand ref
16781 reference "sec:foiltex"
16782 nolink "false"
16783
16784 \end_inset
16785
16786
16787 \change_deleted -712698321 1673258703
16788 ]
16789 \change_inserted -712698321 1673258705
16790 )
16791 \change_unchanged
16792  or 
16793 \change_deleted -712698321 1673258714
16794 the 
16795 \begin_inset Quotes eld
16796 \end_inset
16797
16798
16799 \family typewriter
16800 seminar
16801 \family default
16802
16803 \begin_inset Quotes erd
16804 \end_inset
16805
16806  package [present on some \SpecialChar TeX
16807  distributions].
16808  The latter is not yet supported under \SpecialChar LyX
16809 .
16810 \begin_inset Foot
16811 status collapsed
16812
16813 \begin_layout Plain Layout
16814 Perhaps you can take on the task\SpecialChar ldots
16815
16816 \end_layout
16817
16818 \end_inset
16819
16820
16821 \change_inserted -712698321 1673258738
16822
16823 \family sans
16824 Seminar
16825 \family default
16826  (see section
16827 \begin_inset space ~
16828 \end_inset
16829
16830
16831 \begin_inset CommandInset ref
16832 LatexCommand ref
16833 reference "subsec:Seminar"
16834 plural "false"
16835 caps "false"
16836 noprefix "false"
16837 nolink "false"
16838
16839 \end_inset
16840
16841 ).
16842
16843 \change_unchanged
16844  
16845 \change_deleted -712698321 1673258749
16846 I know nothing about these other classes.
16847  
16848 \change_unchanged
16849 Try them out to see what sort of alternative they provide.
16850 \end_layout
16851
16852 \begin_layout Section
16853
16854 \change_inserted 564990737 1670439661
16855 Reports
16856 \end_layout
16857
16858 \begin_layout Subsection
16859
16860 \change_inserted 564990737 1670439661
16861 report
16862 \end_layout
16863
16864 \begin_layout Standard
16865
16866 \change_inserted -712698321 1673689969
16867 Report classes are sort of a hybrid between book and article classes:
16868  like book classes,
16869  they
16870 \change_deleted -712698321 1673689899
16871 The document class 
16872 \family sans
16873 report
16874 \family default
16875  provides the 
16876 \family sans
16877 report.cls
16878 \family default
16879  document class for preparing reports.
16880  Like the 
16881 \family sans
16882 book
16883 \family default
16884  document class,
16885  this
16886 \change_inserted 564990737 1670439661
16887  provide
16888 \change_deleted -712698321 1673689904
16889 s
16890 \change_inserted 564990737 1670439661
16891  parts,
16892  chapters and sections but does not provide 
16893 \change_deleted -712698321 1673690062
16894 the paragraph styles needed for a book
16895 \change_inserted -712698321 1673690073
16896 frontmatter,
16897  mainmatter,
16898  and backmatter
16899 \change_inserted 564990737 1670439661
16900 ;
16901  like 
16902 \change_deleted -712698321 1673690088
16903 the 
16904 \family sans
16905 article
16906 \family default
16907  document
16908 \change_inserted -712698321 1673690083
16909 article
16910 \change_inserted 564990737 1670439661
16911  class
16912 \change_inserted -712698321 1673690085
16913 es
16914 \change_inserted 564990737 1670439661
16915 ,
16916  
16917 \change_deleted -712698321 1673690094
16918 it
16919 \change_inserted -712698321 1673690094
16920 they
16921 \change_inserted 564990737 1670439661
16922  provide
16923 \change_deleted -712698321 1673690097
16924 s
16925 \change_inserted 564990737 1670439661
16926  
16927 \change_deleted -712698321 1673690101
16928 the 
16929 \change_inserted 564990737 1670439661
16930 abstract paragraph style
16931 \change_inserted -712698321 1673690514
16932 s and are one-sided by default.
16933  
16934 \change_deleted -712698321 1673690134
16935 .
16936  In two-sided mode,
16937  it does
16938 \change_inserted -712698321 1673690520
16939 Also,
16940  they do
16941 \change_inserted 564990737 1670439661
16942  not start a new chapter on the right hand page
16943 \change_inserted -712698321 1673690150
16944  (even in two-side mode)
16945 \change_inserted 564990737 1670439661
16946 .
16947 \end_layout
16948
16949 \begin_layout Standard
16950
16951 \change_deleted -712698321 1673690173
16952 The remaining
16953 \change_inserted -712698321 1673690287
16954 All externally maintained
16955 \change_inserted 564990737 1672743528
16956  
16957 \family sans
16958 report
16959 \family default
16960  document classes 
16961 \change_inserted -712698321 1673690678
16962 that are officially supported by \SpecialChar LyX
16963  
16964 \change_inserted 564990737 1672743528
16965 are described in the Collections (section
16966 \begin_inset space ~
16967 \end_inset
16968
16969
16970 \begin_inset CommandInset ref
16971 LatexCommand ref
16972 reference "sec:Collections"
16973 nolink "false"
16974
16975 \end_inset
16976
16977 )
16978 \change_inserted -712698321 1673690301
16979 :
16980 \change_deleted -712698321 1673690300
16981 .
16982 \change_inserted 564990737 1672743528
16983
16984 \end_layout
16985
16986 \begin_layout Itemize
16987
16988 \change_inserted 564990737 1672743530
16989 For 
16990 \change_deleted -712698321 1673690794
16991
16992 \family sans
16993 report
16994 \begin_inset space \thinspace{}
16995 \end_inset
16996
16997 (Japanese in vertical writing)
16998 \change_inserted -712698321 1675851188
16999 Japanese Report (Standard Class,
17000  vertical Writing)
17001 \change_inserted 564990737 1672743530
17002
17003 \family default
17004  and 
17005 \change_deleted -712698321 1673690762
17006
17007 \family sans
17008 report
17009 \begin_inset space \thinspace{}
17010 \end_inset
17011
17012 (Japanese)
17013 \change_inserted -712698321 1673690762
17014 Japanese Report (Standard Class)
17015 \change_inserted 564990737 1672743530
17016
17017 \family default
17018 ,
17019  see section
17020 \begin_inset space ~
17021 \end_inset
17022
17023
17024 \begin_inset CommandInset ref
17025 LatexCommand ref
17026 reference "subsec:Japanese"
17027 nolink "false"
17028
17029 \end_inset
17030
17031 .
17032 \end_layout
17033
17034 \begin_layout Itemize
17035
17036 \change_inserted 564990737 1672743530
17037 For 
17038 \change_deleted -712698321 1673690718
17039
17040 \family sans
17041 report
17042 \begin_inset space \thinspace{}
17043 \end_inset
17044
17045 (KOMA-Script)
17046 \change_inserted -712698321 1673690718
17047 KOMA-Script Report
17048 \change_inserted 564990737 1672743530
17049
17050 \family default
17051 ,
17052  see section
17053 \begin_inset space ~
17054 \end_inset
17055
17056
17057 \begin_inset CommandInset ref
17058 LatexCommand ref
17059 reference "subsec:KOMA-Script"
17060 nolink "false"
17061
17062 \end_inset
17063
17064 .
17065 \end_layout
17066
17067 \begin_layout Itemize
17068
17069 \change_inserted 564990737 1672743530
17070 For 
17071 \change_deleted -712698321 1673690815
17072
17073 \family sans
17074 report
17075 \begin_inset space \thinspace{}
17076 \end_inset
17077
17078 (with extra font sizes)
17079 \change_inserted -712698321 1673690815
17080 Report (Standard Class with Extra Font Sizes)
17081 \change_inserted 564990737 1672743530
17082
17083 \family default
17084 ,
17085  see section
17086 \begin_inset space ~
17087 \end_inset
17088
17089
17090 \begin_inset CommandInset ref
17091 LatexCommand ref
17092 reference "subsec:Extra-font-sizes"
17093 nolink "false"
17094
17095 \end_inset
17096
17097 .
17098 \end_layout
17099
17100 \begin_layout Itemize
17101
17102 \change_inserted 564990737 1672743569
17103 For 
17104 \change_deleted -712698321 1673690833
17105
17106 \family sans
17107 report
17108 \begin_inset space \thinspace{}
17109 \end_inset
17110
17111 (Polish version by M.
17112 \begin_inset space \thinspace{}
17113 \end_inset
17114
17115 W.)
17116 \change_inserted -712698321 1673690833
17117 Polish Report (MW Bundle)
17118 \change_inserted 564990737 1672743569
17119
17120 \family default
17121 ,
17122  see section
17123 \begin_inset space ~
17124 \end_inset
17125
17126
17127 \begin_inset CommandInset ref
17128 LatexCommand ref
17129 reference "subsec:Polish-M.W.collection"
17130 plural "false"
17131 caps "false"
17132 noprefix "false"
17133 nolink "false"
17134
17135 \end_inset
17136
17137 .
17138 \end_layout
17139
17140 \begin_layout Section
17141
17142 \change_inserted 564990737 1670439674
17143 Scripts
17144 \change_deleted -712698321 1673691106
17145  (drama)
17146 \change_inserted -712698321 1673691108
17147
17148 \end_layout
17149
17150 \begin_layout Standard
17151
17152 \change_inserted -712698321 1673691276
17153 In the 
17154 \family sans
17155 Scripts
17156 \family default
17157  category,
17158  we assemble document classes that help to write drama or movie scripts.
17159  The category is also open for other scripts,
17160  such as lecture scripts,
17161  for which no classes are officially supported yet by \SpecialChar LyX
17162  though.
17163 \change_inserted 564990737 1670439674
17164
17165 \end_layout
17166
17167 \begin_layout Subsection
17168 Broadway
17169 \end_layout
17170
17171 \begin_layout Standard
17172 by 
17173 \shape smallcaps
17174 Garst Reese
17175 \end_layout
17176
17177 \begin_layout Subsubsection
17178 Introduction
17179 \end_layout
17180
17181 \begin_layout Standard
17182
17183 \family sans
17184 Broadway
17185 \family default
17186  is for writing plays.
17187  The format is more decorative than 
17188 \family sans
17189 Hollywood
17190 \change_inserted -712698321 1673691568
17191
17192 \family default
17193  (see sec.
17194 \begin_inset space ~
17195 \end_inset
17196
17197
17198 \begin_inset CommandInset ref
17199 LatexCommand ref
17200 reference "subsec:Hollywood"
17201
17202 \end_inset
17203
17204 )
17205 \change_unchanged
17206 ,
17207  and much less standardized.
17208  This format should be suitable for workshops.
17209 \end_layout
17210
17211 \begin_layout Subsubsection
17212 Special problems
17213 \end_layout
17214
17215 \begin_layout Standard
17216 The same as in 
17217 \family sans
17218 Hollywood
17219 \change_inserted -712698321 1673691609
17220
17221 \family default
17222  (see section
17223 \begin_inset space ~
17224 \end_inset
17225
17226
17227 \begin_inset CommandInset ref
17228 LatexCommand ref
17229 reference "subsec:Special-problems-Hollywood"
17230
17231 \end_inset
17232
17233 )
17234 \change_unchanged
17235 .
17236 \end_layout
17237
17238 \begin_layout Subsubsection
17239 Special features
17240 \end_layout
17241
17242 \begin_layout Standard
17243 Insert the 
17244 \family sans
17245 Speaker
17246 \family default
17247  names as labels then cross-reference the label to insert the name.
17248  The cross-reference dialog will show the current cast of characters.
17249 \end_layout
17250
17251 \begin_layout Subsubsection
17252 Paper size and Margins
17253 \end_layout
17254
17255 \begin_layout Standard
17256 USLetter,
17257  left 1.6in,
17258  right 0.75in,
17259  top 0.5in,
17260  bottom 0.75in
17261 \end_layout
17262
17263 \begin_layout Subsubsection
17264 Environments
17265 \end_layout
17266
17267 \begin_layout Standard
17268 The following environments are available.
17269  You can use 
17270 \family typewriter
17271 broadway.bind
17272 \family default
17273  to get the bind keys shown at the right.
17274 \end_layout
17275
17276 \begin_layout Itemize
17277
17278 \family sans
17279 Standard
17280 \begin_inset Newline newline
17281 \end_inset
17282
17283
17284 \family default
17285 You should not have to use this,
17286  but it is here for anything that does not fit otherwise.
17287 \end_layout
17288
17289 \begin_layout Itemize
17290
17291 \family sans
17292 Narrative
17293 \begin_inset space \hfill{}
17294 \end_inset
17295
17296 M-z n
17297 \begin_inset Newline newline
17298 \end_inset
17299
17300
17301 \family default
17302 Used to describe stage setting and the action.
17303  First use of speaker names in all CAPs.
17304 \end_layout
17305
17306 \begin_layout Itemize
17307
17308 \family sans
17309 ACT
17310 \begin_inset space \hfill{}
17311 \end_inset
17312
17313 M-z a
17314 \begin_inset Newline newline
17315 \end_inset
17316
17317
17318 \family default
17319 Automatically numbered.
17320  On screen it will be arabic,
17321  but will print as Roman.
17322 \end_layout
17323
17324 \begin_layout Itemize
17325
17326 \family sans
17327 ACT*
17328 \begin_inset space \hfill{}
17329 \end_inset
17330
17331 M-z S at
17332 \begin_inset Newline newline
17333 \end_inset
17334
17335
17336 \family default
17337 Subtitle for 
17338 \family sans
17339 ACT.
17340
17341 \family default
17342  It is just centered text.
17343 \end_layout
17344
17345 \begin_layout Itemize
17346
17347 \family sans
17348 SCENE
17349 \begin_inset space \hfill{}
17350 \end_inset
17351
17352 M-z S-S
17353 \begin_inset Newline newline
17354 \end_inset
17355
17356
17357 \family default
17358 Not automatically numbered.
17359  You supply the number.
17360  This is because I couldn't figure out how.
17361 \end_layout
17362
17363 \begin_layout Itemize
17364
17365 \family sans
17366 AT_RISE:
17367 \begin_inset space \hfill{}
17368 \end_inset
17369
17370 M-z S-R
17371 \begin_inset Newline newline
17372 \end_inset
17373
17374
17375 \family default
17376 A special case of Narrative to describe the setting and action as the curtain rises.
17377 \end_layout
17378
17379 \begin_layout Itemize
17380
17381 \family sans
17382 Speaker
17383 \begin_inset space \hfill{}
17384 \end_inset
17385
17386 M-z s
17387 \begin_inset Newline newline
17388 \end_inset
17389
17390
17391 \family default
17392 The speaker's (actor's) title,
17393  centered in all CAPS.
17394 \end_layout
17395
17396 \begin_layout Itemize
17397
17398 \family sans
17399 Parenthetical
17400 \begin_inset space \hfill{}
17401 \end_inset
17402
17403 M-z p
17404 \begin_inset Newline newline
17405 \end_inset
17406
17407
17408 \family default
17409 Instructions to the speaker.
17410  The parentheses are automatically inserted.
17411  The ( will appear on screen,
17412  but both will be in the printed play.
17413  This environment is only used within 
17414 \family sans
17415 Dialogue
17416 \family default
17417 .
17418 \end_layout
17419
17420 \begin_layout Itemize
17421
17422 \family sans
17423 Dialogue
17424 \begin_inset space \hfill{}
17425 \end_inset
17426
17427 M-z d
17428 \begin_inset Newline newline
17429 \end_inset
17430
17431
17432 \family default
17433 What the Speaker says.
17434 \end_layout
17435
17436 \begin_layout Itemize
17437
17438 \family sans
17439 CURTAIN
17440 \begin_inset space \hfill{}
17441 \end_inset
17442
17443 M-z S-C
17444 \begin_inset Newline newline
17445 \end_inset
17446
17447
17448 \family default
17449 The curtain comes down.
17450 \end_layout
17451
17452 \begin_layout Itemize
17453
17454 \family sans
17455 Title
17456 \begin_inset space \hfill{}
17457 \end_inset
17458
17459 M-z S-T
17460 \end_layout
17461
17462 \begin_layout Itemize
17463
17464 \family sans
17465 Author
17466 \begin_inset space \hfill{}
17467 \end_inset
17468
17469 M-z S-A
17470 \end_layout
17471
17472 \begin_layout Itemize
17473
17474 \family sans
17475 Right_Address
17476 \begin_inset space \hfill{}
17477 \end_inset
17478
17479 M-z r
17480 \end_layout
17481
17482 \begin_layout Standard
17483 Hello there.
17484 \end_layout
17485
17486 \begin_layout Subsection
17487
17488 \change_inserted -712698321 1673691551
17489 \begin_inset CommandInset label
17490 LatexCommand label
17491 name "subsec:Hollywood"
17492
17493 \end_inset
17494
17495
17496 \change_unchanged
17497 Hollywood (Hollywood spec scripts)
17498 \end_layout
17499
17500 \begin_layout Standard
17501 by 
17502 \shape smallcaps
17503 Garst Reese
17504 \end_layout
17505
17506 \begin_layout Subsubsection
17507 Introduction
17508 \end_layout
17509
17510 \begin_layout Standard
17511 Getting the format of a Hollywood script right is a 
17512 \begin_inset Quotes eld
17513 \end_inset
17514
17515 rite of passage.
17516 \begin_inset Quotes erd
17517 \end_inset
17518
17519  It is designed to make the readers focus on content and to be easy and familiar for the actors to read.
17520  Each page of a script should be one minute of film.
17521  Nothing goes in a script that you cannot see or hear on screen.
17522  The courier 12 pt font should be used throughout.
17523  No italics.
17524 \end_layout
17525
17526 \begin_layout Subsubsection
17527
17528 \change_inserted -712698321 1673691597
17529 \begin_inset CommandInset label
17530 LatexCommand label
17531 name "subsec:Special-problems-Hollywood"
17532
17533 \end_inset
17534
17535
17536 \change_unchanged
17537 Special problems
17538 \end_layout
17539
17540 \begin_layout Standard
17541 Speakers' lines should 
17542 \change_deleted -712698321 1673691805
17543
17544 \emph on
17545 NEVER
17546 \change_inserted -712698321 1673691805
17547 never
17548 \change_unchanged
17549
17550 \emph default
17551  break in mid-sentence.
17552  If a speaker's lines continue over a page break,
17553  repeat the 
17554 \family sans
17555 Speaker
17556 \family default
17557  title followed by (Cont'd).
17558 \end_layout
17559
17560 \begin_layout Subsubsection
17561 Special features
17562 \end_layout
17563
17564 \begin_layout Standard
17565 Insert the 
17566 \family sans
17567 Speaker
17568 \family default
17569  names as labels then cross-reference the label to insert the name.
17570  The cross-reference dialog will show the current cast of characters.
17571  You can use this to insert the speaker name in narratives also.
17572 \end_layout
17573
17574 \begin_layout Subsubsection
17575 Paper size and Margins
17576 \end_layout
17577
17578 \begin_layout Standard
17579 USLetter,
17580  left 1.6in,
17581  right 0.75in,
17582  top 0.5in,
17583  bottom 0.75in
17584 \end_layout
17585
17586 \begin_layout Subsubsection
17587 Environments
17588 \end_layout
17589
17590 \begin_layout Standard
17591 The following environments are available.
17592  You can use 
17593 \family typewriter
17594 hollywood.bind
17595 \family default
17596  to get the bind keys shown at the right.
17597 \end_layout
17598
17599 \begin_layout Itemize
17600
17601 \family sans
17602 Standard
17603 \begin_inset Newline newline
17604 \end_inset
17605
17606
17607 \family default
17608 Used where nothing else works.
17609  Try to avoid it.
17610 \end_layout
17611
17612 \begin_layout Itemize
17613
17614 \family sans
17615 FADE_IN
17616 \family default
17617 :
17618 \begin_inset space \hfill{}
17619 \end_inset
17620
17621
17622 \family sans
17623 M-z S-I
17624 \family default
17625
17626 \begin_inset Newline newline
17627 \end_inset
17628
17629 Usually followed by something like 
17630 \begin_inset Quotes eld
17631 \end_inset
17632
17633 on Sally waking up.
17634 \begin_inset Quotes erd
17635 \end_inset
17636
17637
17638 \end_layout
17639
17640 \begin_layout Itemize
17641
17642 \family sans
17643 INT:
17644 \begin_inset space \hfill{}
17645 \end_inset
17646
17647 M-z i
17648 \begin_inset Newline newline
17649 \end_inset
17650
17651
17652 \family default
17653 Introduces a new INTERIOR camera set-up.
17654  Always followed by DAY or NIGHT,
17655  or something similar to define the lighting required.
17656  Everthing on this line in CAPS.
17657 \end_layout
17658
17659 \begin_layout Itemize
17660
17661 \family sans
17662 EXT:
17663 \begin_inset space \hfill{}
17664 \end_inset
17665
17666 M-z e
17667 \begin_inset Newline newline
17668 \end_inset
17669
17670
17671 \family default
17672 Introduces a new EXTERIOR camera set-up.
17673  Everthing on this line in CAPS.
17674 \end_layout
17675
17676 \begin_layout Itemize
17677
17678 \family sans
17679 Speaker
17680 \begin_inset space \hfill{}
17681 \end_inset
17682
17683 M-z s
17684 \begin_inset Newline newline
17685 \end_inset
17686
17687
17688 \family default
17689 The character speaking.
17690 \end_layout
17691
17692 \begin_layout Itemize
17693
17694 \family sans
17695 Parenthetical
17696 \begin_inset space \hfill{}
17697 \end_inset
17698
17699 M-z p
17700 \begin_inset Newline newline
17701 \end_inset
17702
17703
17704 \family default
17705 Instructions to the speaker.
17706  The () are automatically inserted.
17707 \end_layout
17708
17709 \begin_layout Itemize
17710
17711 \family sans
17712 Dialogue
17713 \begin_inset space \hfill{}
17714 \end_inset
17715
17716 M-z d
17717 \begin_inset Newline newline
17718 \end_inset
17719
17720
17721 \family default
17722 What the 
17723 \family sans
17724 Speaker
17725 \family default
17726  says.
17727 \end_layout
17728
17729 \begin_layout Itemize
17730
17731 \family sans
17732 Transition
17733 \begin_inset space \hfill{}
17734 \end_inset
17735
17736 M-z t
17737 \begin_inset Newline newline
17738 \end_inset
17739
17740
17741 \family default
17742 Camera movement instruction.
17743  e.
17744 \begin_inset space \thinspace{}
17745 \end_inset
17746
17747 g.
17748 \begin_inset space \space{}
17749 \end_inset
17750
17751 CUT TO:
17752 \end_layout
17753
17754 \begin_layout Itemize
17755
17756 \family sans
17757 FADE OUT:
17758 \begin_inset space \hfill{}
17759 \end_inset
17760
17761 M-z S-I
17762 \end_layout
17763
17764 \begin_layout Itemize
17765
17766 \family sans
17767 Author
17768 \begin_inset space \hfill{}
17769 \end_inset
17770
17771 M-z S-A
17772 \end_layout
17773
17774 \begin_layout Itemize
17775
17776 \family sans
17777 Title
17778 \begin_inset space \hfill{}
17779 \end_inset
17780
17781 M-z S-T
17782 \end_layout
17783
17784 \begin_layout Itemize
17785
17786 \family sans
17787 Right_Address
17788 \begin_inset space \hfill{}
17789 \end_inset
17790
17791 M-z r
17792 \end_layout
17793
17794 \begin_layout Subsubsection
17795 Script jargon
17796 \end_layout
17797
17798 \begin_layout Itemize
17799 (O.S) —
17800  off screen
17801 \end_layout
17802
17803 \begin_layout Itemize
17804 (V.0) —
17805  voice over
17806 \end_layout
17807
17808 \begin_layout Itemize
17809 b.
17810 \begin_inset space \thinspace{}
17811 \end_inset
17812
17813 g.
17814  —
17815  background
17816 \end_layout
17817
17818 \begin_layout Itemize
17819 C.U.
17820  —
17821  close-up
17822 \end_layout
17823
17824 \begin_layout Itemize
17825 PAN —
17826  camera movement
17827 \end_layout
17828
17829 \begin_layout Itemize
17830 INSERT —
17831  cut to close-up of
17832 \end_layout
17833
17834 \begin_layout Chapter
17835
17836 \change_inserted 564990737 1671185876
17837 Modules
17838 \end_layout
17839
17840 \begin_layout Section
17841
17842 \change_inserted 564990737 1671716212
17843 Academic Field Specifics
17844 \end_layout
17845
17846 \begin_layout Subsection
17847
17848 \change_inserted 564990737 1671716212
17849 Chemistry:
17850  Hazard and Precautionary Statements 
17851 \end_layout
17852
17853 \begin_layout Standard
17854
17855 \change_inserted 564990737 1671716212
17856 This module provides two insets 
17857 \change_inserted -712698321 1673779038
17858 and a paragraph style 
17859 \change_inserted 564990737 1671716212
17860 to typeset numbers and phrases of chemical hazard and precautionary statements.
17861  For a description see 
17862 \family sans
17863 File\SpecialChar menuseparator
17864 Open Example\SpecialChar menuseparator
17865 Modules\SpecialChar menuseparator
17866 Hazard and Precautionary Statements
17867 \family default
17868  and 
17869 \family sans
17870 Help\SpecialChar menuseparator
17871 Specific Manuals\SpecialChar menuseparator
17872 Hazard and Precautionary Statements
17873 \family default
17874 .
17875 \end_layout
17876
17877 \begin_layout Subsection
17878
17879 \change_inserted 564990737 1671716212
17880
17881 \series bold
17882 Chemistry:
17883  Risk and Safety Statements
17884 \end_layout
17885
17886 \begin_layout Standard
17887
17888 \change_inserted 564990737 1671716212
17889 This module provides two insets,
17890  
17891 \family sans
17892 R-S number
17893 \family default
17894  and 
17895 \family sans
17896 R-S phrase
17897 \family default
17898 ,
17899  accessible via the menu 
17900 \family sans
17901 \bar under
17902 I
17903 \bar default
17904 nsert\SpecialChar menuseparator
17905 Custom
17906 \begin_inset space ~
17907 \end_inset
17908
17909 Insets
17910 \family default
17911  and an environment to typeset numbers and phrases of chemical risk and safety statements.
17912 \end_layout
17913
17914 \begin_layout Subsection
17915
17916 \change_inserted 564990737 1671716212
17917 Linguistics
17918 \end_layout
17919
17920 \begin_layout Standard
17921
17922 \change_inserted 564990737 1671716212
17923 This module 
17924 \change_deleted -712698321 1673779847
17925 uses the 
17926 \family sans
17927 covington.sty
17928 \family default
17929  package to add
17930 \change_inserted -712698321 1673779869
17931 provides specific
17932 \change_inserted 564990737 1671716212
17933  environments useful for linguistics (numbered examples,
17934  glosses,
17935  semantic markup,
17936  
17937 \change_inserted -712698321 1673779891
17938 OT 
17939 \change_inserted 564990737 1671716212
17940 tableau floats).
17941  You can obtain information about this module in 
17942 \family sans
17943 \bar under
17944 H
17945 \bar default
17946 elp\SpecialChar menuseparator
17947 S
17948 \bar under
17949 p
17950 \bar default
17951 ecific
17952 \begin_inset space ~
17953 \end_inset
17954
17955 Manuals\SpecialChar menuseparator
17956
17957 \bar under
17958 L
17959 \bar default
17960 inguistics
17961 \family default
17962  and 
17963 \family sans
17964 File\SpecialChar menuseparator
17965 Open Example\SpecialChar menuseparator
17966 Modules\SpecialChar menuseparator
17967 Linguistics
17968 \family default
17969 .
17970 \end_layout
17971
17972 \begin_layout Section
17973
17974 \change_inserted 564990737 1671788778
17975 Accessibility
17976 \end_layout
17977
17978 \begin_layout Subsection
17979
17980 \change_inserted 564990737 1671788778
17981 Braille
17982 \end_layout
17983
17984 \begin_layout Standard
17985
17986 \change_inserted 564990737 1671788778
17987 This module supports the Braille 
17988 \change_deleted -712698321 1673779995
17989 writing system
17990 \change_inserted -712698321 1673779996
17991 script
17992 \change_inserted 564990737 1671788778
17993 .
17994  It requires the \SpecialChar LaTeX
17995  package 
17996 \family typewriter
17997 braille.sty
17998 \family default
17999 .
18000  This and its documentation can be obtained from 
18001 \begin_inset CommandInset href
18002 LatexCommand href
18003 name "CTAN"
18004 target "https://www.ctan.org/pkg/braille"
18005 literal "false"
18006
18007 \end_inset
18008
18009 .
18010  
18011 \change_deleted -712698321 1673780105
18012 You do not have to reconfigure your system after installing it.
18013  
18014 \change_inserted 564990737 1671788778
18015 See 
18016 \family sans
18017 \bar under
18018 H
18019 \bar default
18020 elp\SpecialChar menuseparator
18021 S
18022 \bar under
18023 p
18024 \bar default
18025 ecific
18026 \begin_inset space ~
18027 \end_inset
18028
18029 Manuals\SpecialChar menuseparator
18030
18031 \bar under
18032 B
18033 \bar default
18034 raille
18035 \family default
18036  and 
18037 \family sans
18038 File\SpecialChar menuseparator
18039 Open Example\SpecialChar menuseparator
18040 Modules\SpecialChar menuseparator
18041 Braille
18042 \family default
18043 .
18044 \end_layout
18045
18046 \begin_layout Section
18047
18048 \change_inserted 564990737 1671788778
18049 Annotation & Revision
18050 \end_layout
18051
18052 \begin_layout Subsection
18053
18054 \change_inserted 564990737 1671788778
18055 FiXme Notes
18056 \end_layout
18057
18058 \begin_layout Standard
18059
18060 \change_inserted 564990737 1671788778
18061 This module provides “FiXme” (marginal) annotations for document revision purposes.
18062  A list of annotations can be produced by using the “List of FIXMEs” paragraph style.
18063  The annotations are customizable via the LaTeX preamble.
18064  See the 
18065 \change_inserted -712698321 1673780478
18066
18067 \family typewriter
18068 fix
18069 \change_deleted -712698321 1673780479
18070 FiX
18071 \change_inserted 564990737 1671788778
18072 me
18073 \family default
18074  documentation which can be obtained from 
18075 \begin_inset CommandInset href
18076 LatexCommand href
18077 name "CTAN"
18078 target "http://mirrors.ctan.org/macros/latex/contrib/fixme/fixme.pdf"
18079 literal "false"
18080
18081 \end_inset
18082
18083 .
18084  
18085 \end_layout
18086
18087 \begin_layout Paragraph
18088
18089 \change_inserted 564990737 1671788778
18090 Note:
18091 \end_layout
18092
18093 \begin_layout Standard
18094
18095 \change_inserted 564990737 1671788778
18096 by default,
18097  the notes are only displayed in “draft” mode (if the option “draft” has been inserted in 
18098 \family sans
18099 Document\SpecialChar menuseparator
18100 Settings\SpecialChar menuseparator
18101 Document Class\SpecialChar menuseparator
18102 Class Options\SpecialChar menuseparator
18103 Custom
18104 \family default
18105 ).
18106  To display them always,
18107  insert 
18108 \family typewriter
18109
18110 \backslash
18111 fxsetup{draft}
18112 \family default
18113  in 
18114 \family sans
18115 Document\SpecialChar menuseparator
18116 Settings\SpecialChar menuseparator
18117 \SpecialChar LaTeX
18118  Preamble
18119 \family default
18120 .
18121  
18122 \end_layout
18123
18124 \begin_layout Subsection
18125
18126 \change_inserted 564990737 1671788778
18127 PDF Comments
18128 \end_layout
18129
18130 \begin_layout Standard
18131
18132 \change_inserted 564990737 1671788778
18133 This module provides various kinds of annotations for PDF output.
18134  See 
18135 \family sans
18136 Help\SpecialChar menuseparator
18137 Specific Manuals\SpecialChar menuseparator
18138 PDF comments 
18139 \family default
18140 and
18141 \family sans
18142  File\SpecialChar menuseparator
18143 Open Example\SpecialChar menuseparator
18144 Modules\SpecialChar menuseparator
18145 PDF Comments
18146 \family default
18147 .
18148 \end_layout
18149
18150 \begin_layout Subsection
18151
18152 \change_inserted 564990737 1671788778
18153
18154 \series bold
18155 PDF Form
18156 \end_layout
18157
18158 \begin_layout Standard
18159
18160 \change_inserted 564990737 1671788778
18161 This module provides fields and buttons for PDF forms.
18162  See the 
18163 \begin_inset CommandInset href
18164 LatexCommand href
18165 name "hyperref documentation"
18166 target "http://mirrors.ctan.org/macros/latex/contrib/hyperref/doc/hyperref-doc.pdf"
18167 literal "false"
18168
18169 \end_inset
18170
18171 ,
18172  
18173 \family sans
18174 Help\SpecialChar menuseparator
18175 Specific Manuals\SpecialChar menuseparator
18176 PDF forms 
18177 \family default
18178 and
18179 \family sans
18180  File\SpecialChar menuseparator
18181 Open Example\SpecialChar menuseparator
18182 Modules\SpecialChar menuseparator
18183 PDF Form
18184 \family default
18185 .
18186 \end_layout
18187
18188 \begin_layout Subsection
18189
18190 \change_inserted 564990737 1671788778
18191
18192 \series bold
18193 Ruby (Furigana)
18194 \end_layout
18195
18196 \begin_layout Standard
18197
18198 \change_inserted 564990737 1671788778
18199 This module defines an inset to typeset reading aids (ruby,
18200  furigana) to Chinese characters.
18201  It uses the 
18202 \change_deleted -712698321 1673781076
18203
18204 \change_inserted 564990737 1671788778
18205
18206 \family typewriter
18207 okumakro
18208 \family default
18209 ,
18210 \change_deleted -712698321 1673781078
18211
18212 \change_inserted 564990737 1671788778
18213  
18214 \change_deleted -712698321 1673781079
18215
18216 \change_inserted 564990737 1671788778
18217
18218 \family typewriter
18219 luatexja-ruby
18220 \change_deleted -712698321 1673781080
18221
18222 \family default
18223
18224 \change_inserted 564990737 1671788778
18225  or 
18226 \change_deleted -712698321 1673781082
18227
18228 \change_inserted 564990737 1671788778
18229
18230 \family typewriter
18231 ruby
18232 \change_deleted -712698321 1673781083
18233
18234 \family default
18235
18236 \change_inserted 564990737 1671788778
18237  package (depending on the TeX engine) or a fallback definition.
18238  
18239 \end_layout
18240
18241 \begin_layout Subsection
18242
18243 \change_inserted 564990737 1671788778
18244
18245 \series bold
18246 TODO notes
18247 \end_layout
18248
18249 \begin_layout Standard
18250
18251 \change_inserted 564990737 1671788778
18252 This module provides custom insets to insert TODO items in your document.
18253  In order to generate a “List of TODOs,” the module provides a paragraph style.
18254  Inserting 
18255 \change_deleted -712698321 1673781223
18256
18257 \change_inserted 564990737 1671788778
18258
18259 \family typewriter
18260 final
18261 \change_deleted -712698321 1673781224
18262
18263 \family default
18264
18265 \change_inserted 564990737 1671788778
18266  in 
18267 \family sans
18268 Document\SpecialChar menuseparator
18269 Settings\SpecialChar menuseparator
18270 Document Class\SpecialChar menuseparator
18271 Class Options\SpecialChar menuseparator
18272 Custom
18273 \family default
18274 ) suppresses the output of TODO notes.
18275  See the 
18276 \begin_inset CommandInset href
18277 LatexCommand href
18278 name "todonotes documentation"
18279 target "http://mirrors.ctan.org/macros/latex/contrib/todonotes/todonotes.pdf"
18280 literal "false"
18281
18282 \end_inset
18283
18284 .
18285 \end_layout
18286
18287 \begin_layout Section
18288
18289 \change_inserted 564990737 1671829045
18290 Bibliography 
18291 \end_layout
18292
18293 \begin_layout Subsection
18294
18295 \change_inserted 564990737 1671829045
18296 APA Style with Nat
18297 \change_deleted -712698321 1673781454
18298 B
18299 \change_inserted -712698321 1673781454
18300 b
18301 \change_inserted 564990737 1671829045
18302 ib
18303 \end_layout
18304
18305 \begin_layout Standard
18306
18307 \change_inserted 564990737 1671829045
18308 This module adds support for using natbib together with apacite (the bibliography style need not be 
18309 \family typewriter
18310 apacite
18311 \family default
18312  —
18313  it could be 
18314 \family typewriter
18315 apacite
18316 \family default
18317 ,
18318  
18319 \family typewriter
18320 apacitex
18321 \family default
18322 ,
18323  or any bibliography that works with both the natbib and apacite packages.) 
18324 \end_layout
18325
18326 \begin_layout Section
18327
18328 \change_inserted 564990737 1671829045
18329 Boxes
18330 \end_layout
18331
18332 \begin_layout Subsection
18333
18334 \change_inserted 564990737 1671829045
18335 Fancy Colored Boxes
18336 \end_layout
18337
18338 \begin_layout Standard
18339
18340 \change_inserted 564990737 1671829045
18341 This module adds ten custom insets that support colored boxes via the 
18342 \family typewriter
18343 tcolorbox
18344 \family default
18345  package.
18346  See 
18347 \family sans
18348 Help\SpecialChar menuseparator
18349 Specific Manuals\SpecialChar menuseparator
18350 Colored boxes
18351 \family default
18352 ,
18353  
18354 \family sans
18355 File\SpecialChar menuseparator
18356 Open Example\SpecialChar menuseparator
18357 Modules\SpecialChar menuseparator
18358 Fancy Color Boxes
18359 \family default
18360  
18361 \change_inserted -712698321 1673854244
18362 and 
18363 \change_inserted 564990737 1671829045
18364 the 
18365 \begin_inset CommandInset href
18366 LatexCommand href
18367 name "tcolorbox documentation"
18368 target "http://mirrors.ctan.org/macros/latex/contrib/tcolorbox/tcolorbox.pdf"
18369 literal "false"
18370
18371 \end_inset
18372
18373  for details.
18374  
18375 \end_layout
18376
18377 \begin_layout Subsection
18378
18379 \change_inserted 564990737 1671829045
18380 Graphic boxes
18381 \end_layout
18382
18383 \begin_layout Standard
18384
18385 \change_inserted 564990737 1671829045
18386 This provides the custom insets 
18387 \family sans
18388 Reflectbox
18389 \family default
18390 ,
18391  
18392 \family sans
18393 Resizebox
18394 \family default
18395 ,
18396  
18397 \family sans
18398 Rotatebox
18399 \family default
18400  and 
18401 \family sans
18402 Scalebox
18403 \family default
18404  to scale and rotate its content.
18405 \end_layout
18406
18407 \begin_layout Standard
18408
18409 \change_inserted 564990737 1671829045
18410
18411 \family sans
18412 Reflectbox
18413 \family default
18414  is a simple way of reversing text without any other enhancement:
18415 \end_layout
18416
18417 \begin_layout Standard
18418
18419 \change_inserted 564990737 1671829045
18420 \begin_inset Flex Reflectbox
18421 status open
18422
18423 \begin_layout Plain Layout
18424
18425 \change_inserted 564990737 1671829045
18426 Great Western Railway
18427 \change_unchanged
18428
18429 \end_layout
18430
18431 \end_inset
18432
18433
18434 \end_layout
18435
18436 \begin_layout Standard
18437
18438 \change_inserted 564990737 1671829045
18439 (You will need to use Ctrl-R to see any of these examples.)
18440 \end_layout
18441
18442 \begin_layout Standard
18443
18444 \change_inserted 564990737 1671829045
18445
18446 \family sans
18447 Resizebox
18448 \family default
18449  allows you to specify the dimensions of the text or image;
18450  permissible units are em,
18451  ex,
18452  in,
18453  pt,
18454  pc,
18455  cm,
18456  mm,
18457  dd,
18458  cc,
18459  nd,
18460  nc,
18461  bp,
18462  or sp;
18463  if you enter 
18464 \family typewriter
18465 !
18466
18467 \family default
18468  for 
18469 \family typewriter
18470 Height
18471 \family default
18472  it scales by the width factor:
18473 \end_layout
18474
18475 \begin_layout Standard
18476
18477 \change_inserted 564990737 1671829045
18478 \begin_inset Flex Resizebox
18479 status open
18480
18481 \begin_layout Plain Layout
18482
18483 \change_inserted 564990737 1671829045
18484 \begin_inset Argument 1
18485 status open
18486
18487 \begin_layout Plain Layout
18488
18489 \change_inserted 564990737 1671829045
18490 48mm
18491 \change_unchanged
18492
18493 \end_layout
18494
18495 \end_inset
18496
18497
18498 \begin_inset Argument 2
18499 status open
18500
18501 \begin_layout Plain Layout
18502
18503 \change_inserted 564990737 1671829045
18504 !
18505 \change_unchanged
18506
18507 \end_layout
18508
18509 \end_inset
18510
18511 Great Western Railway
18512 \change_unchanged
18513
18514 \end_layout
18515
18516 \end_inset
18517
18518
18519 \end_layout
18520
18521 \begin_layout Standard
18522
18523 \change_inserted 564990737 1671829045
18524
18525 \family sans
18526 Rotatebox
18527 \family default
18528  allows you to rotate 
18529 \change_deleted -712698321 1673856297
18530 text
18531 \change_inserted -712698321 1673856302
18532 its contents
18533 \change_inserted 564990737 1671829045
18534  around the reference point of the box.
18535  If you wish to rotate the box around a different origin,
18536  place the cursor inside the box and select Insert\SpecialChar menuseparator
18537 Origin;
18538  o
18539 \family typewriter
18540 rigin
18541 \family default
18542  is specified as 
18543 \family typewriter
18544 c
18545 \family default
18546 ,
18547
18548 \family typewriter
18549  l
18550 \family default
18551 ,
18552
18553 \family typewriter
18554  r
18555 \family default
18556 ,
18557
18558 \family typewriter
18559  b
18560 \family default
18561 ,
18562
18563 \family typewriter
18564  t
18565 \family default
18566  or meaningful combinations of these and the counterclockwise rotation angle is expressed in degrees.
18567  For example:
18568 \end_layout
18569
18570 \begin_layout Standard
18571
18572 \change_inserted 564990737 1671829045
18573 \begin_inset Flex Rotatebox
18574 status open
18575
18576 \begin_layout Plain Layout
18577
18578 \change_inserted 564990737 1671829045
18579 \begin_inset Argument 1
18580 status open
18581
18582 \begin_layout Plain Layout
18583
18584 \change_inserted 274215730 1672888693
18585 origin
18586 \change_inserted 564990737 1671829045
18587 =c
18588 \change_unchanged
18589
18590 \end_layout
18591
18592 \end_inset
18593
18594
18595 \begin_inset Argument 2
18596 status open
18597
18598 \begin_layout Plain Layout
18599
18600 \change_inserted 564990737 1671829045
18601 30
18602 \change_unchanged
18603
18604 \end_layout
18605
18606 \end_inset
18607
18608 Great Western Railway
18609 \change_unchanged
18610
18611 \end_layout
18612
18613 \end_inset
18614
18615
18616 \end_layout
18617
18618 \begin_layout Standard
18619
18620 \change_inserted 564990737 1671829045
18621 You can combine boxes as in:
18622 \end_layout
18623
18624 \begin_layout Standard
18625
18626 \change_inserted 564990737 1671829045
18627 \begin_inset Flex Rotatebox
18628 status open
18629
18630 \begin_layout Plain Layout
18631
18632 \change_inserted 564990737 1671829045
18633 \begin_inset Argument 1
18634 status open
18635
18636 \begin_layout Plain Layout
18637
18638 \change_inserted 274215730 1672888702
18639 origin
18640 \change_inserted 564990737 1671829045
18641 =c
18642 \change_unchanged
18643
18644 \end_layout
18645
18646 \end_inset
18647
18648
18649 \begin_inset Argument 2
18650 status open
18651
18652 \begin_layout Plain Layout
18653
18654 \change_inserted 564990737 1671829045
18655 -15
18656 \change_unchanged
18657
18658 \end_layout
18659
18660 \end_inset
18661
18662
18663 \begin_inset Flex Resizebox
18664 status open
18665
18666 \begin_layout Plain Layout
18667
18668 \change_inserted 564990737 1671829045
18669 \begin_inset Argument 1
18670 status open
18671
18672 \begin_layout Plain Layout
18673
18674 \change_inserted 564990737 1671829045
18675 48mm
18676 \change_unchanged
18677
18678 \end_layout
18679
18680 \end_inset
18681
18682
18683 \begin_inset Argument 2
18684 status open
18685
18686 \begin_layout Plain Layout
18687
18688 \change_inserted 564990737 1671829045
18689 !
18690 \change_unchanged
18691
18692 \end_layout
18693
18694 \end_inset
18695
18696
18697 \begin_inset Flex Reflectbox
18698 status open
18699
18700 \begin_layout Plain Layout
18701
18702 \change_inserted 564990737 1671829045
18703 Great Western Railway
18704 \change_unchanged
18705
18706 \end_layout
18707
18708 \end_inset
18709
18710
18711 \change_unchanged
18712
18713 \end_layout
18714
18715 \end_inset
18716
18717
18718 \change_unchanged
18719
18720 \end_layout
18721
18722 \end_inset
18723
18724
18725 \end_layout
18726
18727 \begin_layout Standard
18728
18729 \change_inserted 564990737 1671829045
18730
18731 \family sans
18732 Scalebox
18733 \family default
18734  scales 
18735 \change_deleted -712698321 1673856306
18736 text
18737 \change_inserted -712698321 1673856308
18738 its contents
18739 \change_inserted 564990737 1671829045
18740 ;
18741  select Insert\SpecialChar menuseparator
18742 V-Factor to add a vertical factor.
18743  If the vertical factor is omitted,
18744  the horizontal is used.
18745  Adding different horizontal and vertical values creates distortion as in 
18746 \end_layout
18747
18748 \begin_layout Standard
18749
18750 \change_inserted 564990737 1671829045
18751
18752 \family typewriter
18753 \begin_inset Flex Scalebox
18754 status open
18755
18756 \begin_layout Plain Layout
18757
18758 \change_inserted 564990737 1671829045
18759 \begin_inset Argument 1
18760 status open
18761
18762 \begin_layout Plain Layout
18763
18764 \change_inserted 564990737 1671829045
18765 2
18766 \change_unchanged
18767
18768 \end_layout
18769
18770 \end_inset
18771
18772
18773 \begin_inset Argument 2
18774 status open
18775
18776 \begin_layout Plain Layout
18777
18778 \change_inserted 564990737 1671829045
18779 1.5
18780 \change_unchanged
18781
18782 \end_layout
18783
18784 \end_inset
18785
18786
18787 \family roman
18788 Great Western Railway
18789 \change_unchanged
18790
18791 \end_layout
18792
18793 \end_inset
18794
18795 .
18796 \end_layout
18797
18798 \begin_layout Standard
18799
18800 \change_inserted 564990737 1671829045
18801 A negative horizontal value reverses the text 
18802 \change_inserted -712698321 1673856686
18803 on the horizontal axis,
18804  
18805 \change_deleted -712698321 1673856688
18806 and 
18807 \change_inserted 564990737 1671829045
18808 a negative vertical value 
18809 \change_deleted -712698321 1673856694
18810 inverts
18811 \change_inserted -712698321 1673856702
18812  on the vertical axis,
18813
18814 \change_inserted 564990737 1671829045
18815  
18816 \change_deleted -712698321 1673856704
18817 it 
18818 \change_inserted 564990737 1671829045
18819 so that you get 
18820 \end_layout
18821
18822 \begin_layout Standard
18823
18824 \change_inserted 564990737 1671829045
18825 \begin_inset Flex Scalebox
18826 status open
18827
18828 \begin_layout Plain Layout
18829
18830 \change_inserted 564990737 1671829045
18831 \begin_inset Argument 1
18832 status open
18833
18834 \begin_layout Plain Layout
18835
18836 \change_inserted 564990737 1671829045
18837 -1
18838 \change_unchanged
18839
18840 \end_layout
18841
18842 \end_inset
18843
18844
18845 \begin_inset Argument 2
18846 status open
18847
18848 \begin_layout Plain Layout
18849
18850 \change_inserted 564990737 1671829045
18851 1
18852 \change_unchanged
18853
18854 \end_layout
18855
18856 \end_inset
18857
18858 Great Western Railway
18859 \change_unchanged
18860
18861 \end_layout
18862
18863 \end_inset
18864
18865  and 
18866 \begin_inset Flex Scalebox
18867 status open
18868
18869 \begin_layout Plain Layout
18870
18871 \change_inserted 564990737 1671829045
18872 \begin_inset Argument 1
18873 status open
18874
18875 \begin_layout Plain Layout
18876
18877 \change_inserted 564990737 1671829045
18878 1
18879 \change_unchanged
18880
18881 \end_layout
18882
18883 \end_inset
18884
18885
18886 \begin_inset Argument 2
18887 status open
18888
18889 \begin_layout Plain Layout
18890
18891 \change_inserted 564990737 1671829045
18892 -1
18893 \change_unchanged
18894
18895 \end_layout
18896
18897 \end_inset
18898
18899 Great Western Railway
18900 \change_unchanged
18901
18902 \end_layout
18903
18904 \end_inset
18905
18906 .
18907 \end_layout
18908
18909 \begin_layout Subsection
18910
18911 \change_inserted 564990737 1671884699
18912 Section Boxes
18913 \end_layout
18914
18915 \begin_layout Standard
18916
18917 \change_inserted 564990737 1671884699
18918 This module defines Boxes with section header.
18919  It is mainly intended for the SciPoster Document class.
18920  
18921 \end_layout
18922
18923 \begin_layout Subsection
18924
18925 \change_inserted 564990737 1671884699
18926 Variable-width Minipages
18927 \end_layout
18928
18929 \begin_layout Standard
18930
18931 \change_inserted 564990737 1671884699
18932 This module adds a 
18933 \family sans
18934 Minipage (Var.
18935 \begin_inset space \thinspace{}
18936 \end_inset
18937
18938 Width)
18939 \family default
18940  inset to 
18941 \family sans
18942 Insert\SpecialChar menuseparator
18943 Custom Inset
18944 \family default
18945  using the 
18946 \family typewriter
18947 varwidth
18948 \family default
18949  LaTeX package.
18950  The 
18951 \family typewriter
18952 varwidth
18953 \family default
18954  package provides a variable-width minipage,
18955  whose resulting width is the width of its contents (if this does not exceed the specified maximum width).
18956  The inset has two optional arguments which can be added by placing the cursor inside the minipage and entering 
18957 \family sans
18958 Insert\SpecialChar menuseparator
18959 Vert.
18960 \begin_inset space \thinspace{}
18961 \end_inset
18962
18963 Adjustment
18964 \family default
18965  (
18966 \family typewriter
18967 c|t|b
18968 \family default
18969 ) or 
18970 \family sans
18971 Insert\SpecialChar menuseparator
18972 Max.
18973 \begin_inset space \thinspace{}
18974 \end_inset
18975
18976 Width
18977 \family default
18978  (defaults to 
18979 \family typewriter
18980
18981 \backslash
18982 linewidth
18983 \family default
18984 ).
18985  See 
18986 \family sans
18987 File\SpecialChar menuseparator
18988 Open Example\SpecialChar menuseparator
18989 Variable-width Minipages
18990 \family default
18991 .
18992  
18993 \end_layout
18994
18995 \begin_layout Section
18996
18997 \change_inserted 564990737 1671884699
18998 Fixes & Hacks
18999 \end_layout
19000
19001 \begin_layout Subsection
19002
19003 \change_inserted 564990737 1671884699
19004 Fix Computer Modern Fonts
19005 \end_layout
19006
19007 \begin_layout Standard
19008
19009 \change_inserted 564990737 1671884699
19010 This module uses the 
19011 \family sans
19012 fix-cm
19013 \family default
19014  package to improve the appearance of Computer Modern fonts and make them available with arbitrary sizes.
19015  See the 
19016 \begin_inset CommandInset href
19017 LatexCommand href
19018 name "fix-cm documentation"
19019 target "http://mirrors.ctan.org/macros/latex/base/fix-cm.pdf"
19020 literal "false"
19021
19022 \end_inset
19023
19024 .
19025  
19026 \end_layout
19027
19028 \begin_layout Subsection
19029
19030 \change_inserted 564990737 1671884699
19031 \SpecialChar LaTeX
19032  Kernel Fixes (Obsolete)
19033 \end_layout
19034
19035 \begin_layout Standard
19036
19037 \change_inserted 564990737 1671884699
19038 This module loads the \SpecialChar LaTeX
19039  package 
19040 \family sans
19041 fixltx2e
19042 \family default
19043  which contains some bug fixes for \SpecialChar LaTeX
19044 .
19045  If you use this module your typeset document may look different when you process it,
19046  depending on the respective version of 
19047 \family sans
19048 fixltx2e
19049 \family default
19050 .
19051  
19052 \end_layout
19053
19054 \begin_layout Paragraph
19055
19056 \change_inserted 564990737 1671884699
19057 Note:
19058 \end_layout
19059
19060 \begin_layout Standard
19061
19062 \change_inserted 564990737 1671884699
19063 recent \SpecialChar LaTeX
19064  kernels (as of 2015/01/01) include the functionality of 
19065 \family sans
19066 fixltx2e
19067 \family default
19068 ,
19069  so the 
19070 \family sans
19071 fixltx2e
19072 \family default
19073  module is obsolete with newer \SpecialChar LaTeX
19074  distributions.
19075
19076 \change_deleted -712698321 1673857809
19077  
19078 \change_inserted 564990737 1671884699
19079
19080 \end_layout
19081
19082 \begin_layout Subsection
19083
19084 \change_inserted 564990737 1671884699
19085 Minimalistic Insets
19086 \end_layout
19087
19088 \begin_layout Standard
19089
19090 \change_inserted 564990737 1671884699
19091 This module redefines several insets (Index,
19092  Branch,
19093  URL) as being Minimalistic.
19094 \end_layout
19095
19096 \begin_layout Subsection
19097
19098 \change_inserted 564990737 1671884699
19099 Title and Preamble Hacks
19100 \end_layout
19101
19102 \begin_layout Standard
19103
19104 \change_inserted 564990737 1671884699
19105 This module provides two new paragraph styles:
19106  
19107 \end_layout
19108
19109 \begin_layout Enumerate
19110
19111 \change_inserted 564990737 1671884699
19112
19113 \family sans
19114 In Preamble
19115 \family default
19116  which puts whatever is entered into it into the preamble.
19117  This can be used,
19118  if one wishes,
19119  to include preamble code in the body of a LyX document.
19120  
19121 \end_layout
19122
19123 \begin_layout Enumerate
19124
19125 \change_inserted 564990737 1671884699
19126
19127 \family sans
19128 In Title
19129 \family default
19130  which that will put its contents into the body of the LaTeX document,
19131  but before 
19132 \family typewriter
19133
19134 \backslash
19135 maketitle
19136 \family default
19137  is issued.
19138  This is useful for making branches and notes in title-related material.
19139  (However,
19140  if you put these in a 
19141 \family sans
19142 Standard
19143 \family default
19144  layout,
19145  this signals to LyX to output 
19146 \family typewriter
19147
19148 \backslash
19149 maketitle
19150 \family default
19151 ,
19152  which may then come too early.)
19153 \end_layout
19154
19155 \begin_layout Section
19156
19157 \change_inserted 564990737 1672081439
19158 Floats & captions
19159 \end_layout
19160
19161 \begin_layout Subsection
19162
19163 \change_inserted 564990737 1672081439
19164 Algorithm2e Float
19165 \end_layout
19166
19167 \begin_layout Standard
19168
19169 \change_inserted 564990737 1672081439
19170 This module uses the 
19171 \family sans
19172 algorithm2e
19173 \family default
19174  package for algorithm floats rather than LyX’s home-brewed algorithm floats.
19175  Use the Algorithm paragraph style to enter and indent the algorithm.
19176  See the 
19177 \begin_inset CommandInset href
19178 LatexCommand href
19179 name "algorithm2e documentation"
19180 target "http://mirrors.ctan.org/macros/latex/contrib/algorithm2e/doc/algorithm2e.pdf"
19181 literal "false"
19182
19183 \end_inset
19184
19185 .
19186 \end_layout
19187
19188 \begin_layout Subsection
19189
19190 \change_inserted 564990737 1672081439
19191 Bilingual Captions AKA Multilingual Captions
19192 \end_layout
19193
19194 \begin_layout Standard
19195
19196 \change_inserted 564990737 1672081439
19197 This module provides the paragraph style 
19198 \family sans
19199 Caption
19200 \begin_inset space ~
19201 \end_inset
19202
19203 setup
19204 \family default
19205  with which to typeset 
19206 \change_deleted -712698321 1673859156
19207 mult
19208 \change_inserted -712698321 1673859156
19209 b
19210 \change_inserted 564990737 1672081439
19211 ilingual captions.
19212  Within this paragraph style 
19213 \family sans
19214 Insert\SpecialChar menuseparator
19215 Language
19216 \family default
19217  allows you to enter the desired 
19218 \change_inserted -712698321 1673859387
19219 second 
19220 \change_inserted 564990737 1672081439
19221 language using one of the babel names.
19222  See 
19223 \family sans
19224 File\SpecialChar menuseparator
19225 Open Example\SpecialChar menuseparator
19226
19227 \change_inserted -712698321 1673859558
19228 Modules\SpecialChar menuseparator
19229
19230 \change_inserted 564990737 1672081439
19231 Multilingual Captions
19232 \family default
19233  and 
19234 \family sans
19235 Help\SpecialChar menuseparator
19236 Specific Manuals\SpecialChar menuseparator
19237 Multilingual Captions
19238 \family default
19239  further information on its use.
19240 \end_layout
19241
19242 \begin_layout Subsection
19243
19244 \change_inserted 564990737 1672081439
19245 Number Figures by Section
19246 \end_layout
19247
19248 \begin_layout Standard
19249
19250 \change_inserted 564990737 1672081439
19251 This module resets the figure number at section start and prepends the section number to the figure number,
19252  as in “Figure 2.1.” (By default book and report document classes number by Chapter and article document classes have a single sequence.) 
19253 \end_layout
19254
19255 \begin_layout Subsection
19256
19257 \change_inserted 564990737 1672081439
19258 Number Tables by Section
19259 \end_layout
19260
19261 \begin_layout Standard
19262
19263 \change_inserted 564990737 1672081439
19264 This module resets the table number at section start and prepends the section number to the table number,
19265  as in “Table 2.1.” (By default book and report document classes number by Chapter and article document classes have a single sequence.) 
19266 \end_layout
19267
19268 \begin_layout Section
19269
19270 \change_inserted 564990737 1672081439
19271 Foot- and Endnotes
19272 \end_layout
19273
19274 \begin_layout Subsection
19275
19276 \change_inserted 564990737 1672081439
19277 Endnotes (Basic)
19278 \end_layout
19279
19280 \begin_layout Standard
19281
19282 \change_inserted 564990737 1672081439
19283 This module adds an endnote inset,
19284  in addition to footnotes.
19285  This uses the 
19286 \family sans
19287 endnotes
19288 \family default
19289  package,
19290  which has some limitations but works with older 
19291 \change_deleted -712698321 1673861636
19292 LaTeX
19293 \change_inserted -712698321 1673861636
19294 \SpecialChar LaTeX
19295
19296 \change_inserted 564990737 1672081439
19297  distributions as well.
19298  Use 
19299 \family sans
19300 Insert\SpecialChar menuseparator
19301 Custom Inset\SpecialChar menuseparator
19302 Endnote
19303 \family default
19304  to insert an endnote and 
19305 \family sans
19306 Insert\SpecialChar menuseparator
19307 List/Contents/References\SpecialChar menuseparator
19308 Endnotes
19309 \family default
19310  to insert the endnotes list where you want the endnotes to appear.
19311  See also 
19312 \family sans
19313 Help\SpecialChar menuseparator
19314 Embedded
19315 \change_deleted -712698321 1673861792
19316 \SpecialChar menuseparator
19317
19318 \change_inserted 564990737 1672081439
19319  Objects
19320 \change_deleted -712698321 1673861963
19321 \SpecialChar menuseparator
19322 Notes\SpecialChar menuseparator
19323 Footnotes
19324 \change_inserted -712698321 1673861963
19325
19326 \family default
19327 ,
19328  section 
19329 \emph on
19330 4.2 Footnotes
19331 \change_inserted 564990737 1672081439
19332
19333 \emph default
19334 .
19335 \end_layout
19336
19337 \begin_layout Subsection
19338
19339 \change_inserted 564990737 1672081439
19340 Endnotes (Extended)
19341 \end_layout
19342
19343 \begin_layout Standard
19344
19345 \change_inserted 564990737 1672081439
19346 This module adds an endnote inset,
19347  in addition to footnotes.
19348  This uses the 
19349 \family sans
19350 enotez
19351 \family default
19352  package which is more powerful and customizable than the 
19353 \family sans
19354 endnotes
19355 \family default
19356  package,
19357  but requires a fairly modern 
19358 \change_deleted -712698321 1673861643
19359 LaTeX
19360 \change_inserted -712698321 1673861643
19361 \SpecialChar LaTeX
19362
19363 \change_inserted 564990737 1672081439
19364  distribution (with 
19365 \change_deleted -712698321 1673861645
19366 LaTeX
19367 \change_inserted -712698321 1673861645
19368 \SpecialChar LaTeX
19369
19370 \change_inserted 564990737 1672081439
19371 3).
19372  Use 
19373 \family sans
19374 Insert\SpecialChar menuseparator
19375 Custom Inset\SpecialChar menuseparator
19376 Endnote
19377 \family default
19378  to insert an endnote and 
19379 \family sans
19380 Insert\SpecialChar menuseparator
19381 List/Contents/References\SpecialChar menuseparator
19382 Endnotes
19383 \family default
19384  to insert the endnotes list where you want the endnotes to appear.
19385  See also 
19386 \family sans
19387 Help\SpecialChar menuseparator
19388 Embedded
19389 \change_deleted -712698321 1673861798
19390 \SpecialChar menuseparator
19391
19392 \change_inserted 564990737 1672081439
19393  Objects
19394 \change_inserted -712698321 1673861924
19395
19396 \family default
19397 ,
19398  section 
19399 \emph on
19400 4.2 Footnotes
19401 \emph default
19402 .
19403 \change_deleted -712698321 1673861927
19404
19405 \family sans
19406 \SpecialChar menuseparator
19407 Notes\SpecialChar menuseparator
19408 Footnotes
19409 \change_inserted 564990737 1672081439
19410
19411 \family default
19412 .
19413 \end_layout
19414
19415 \begin_layout Subsection
19416
19417 \change_inserted 564990737 1672081439
19418 Footnotes as Endnotes (Basic)
19419 \end_layout
19420
19421 \begin_layout Standard
19422
19423 \change_inserted 564990737 1672081439
19424 This module sets all footnotes as endnotes.
19425  This uses the 
19426 \family sans
19427 endnotes
19428 \family default
19429  package,
19430  which has some limitations but works with older 
19431 \change_deleted -712698321 1673861650
19432 LaTeX
19433 \change_inserted -712698321 1673861650
19434 \SpecialChar LaTeX
19435
19436 \change_inserted 564990737 1672081439
19437  distributions as well.
19438  Use 
19439 \family sans
19440 Insert\SpecialChar menuseparator
19441 List/Contents/References\SpecialChar menuseparator
19442 Endnotes
19443 \family default
19444  to insert the endnotes list where you want the endnotes to appear.
19445  See also 
19446 \family sans
19447 Help\SpecialChar menuseparator
19448 Embedded
19449 \change_deleted -712698321 1673861805
19450 \SpecialChar menuseparator
19451
19452 \change_inserted 564990737 1672081439
19453  Objects
19454 \change_deleted -712698321 1673861947
19455 \SpecialChar menuseparator
19456 Notes\SpecialChar menuseparator
19457 Footnotes
19458 \change_inserted -712698321 1673861947
19459
19460 \family default
19461 ,
19462  section 
19463 \emph on
19464 4.2 Footnotes
19465 \change_inserted 564990737 1672081439
19466
19467 \emph default
19468 .
19469 \end_layout
19470
19471 \begin_layout Subsection
19472
19473 \change_inserted 564990737 1672081439
19474 Footnotes as Endnotes (Extended)
19475 \end_layout
19476
19477 \begin_layout Standard
19478
19479 \change_inserted 564990737 1672081439
19480 This module sets all footnotes as endnotes.
19481  This uses the 
19482 \family sans
19483 enotez
19484 \family default
19485  package which is more powerful and customizable than then 
19486 \family sans
19487 endnotes
19488 \family default
19489  package,
19490  but requires a fairly modern 
19491 \change_deleted -712698321 1673861654
19492 LaTeX
19493 \change_inserted -712698321 1673861654
19494 \SpecialChar LaTeX
19495
19496 \change_inserted 564990737 1672081439
19497  distribution (with 
19498 \change_deleted -712698321 1673861656
19499 LaTeX
19500 \change_inserted -712698321 1673861656
19501 \SpecialChar LaTeX
19502
19503 \change_inserted 564990737 1672081439
19504 3).
19505  Use 
19506 \family sans
19507 Insert\SpecialChar menuseparator
19508 List/Contents/References\SpecialChar menuseparator
19509 Endnotes
19510 \family default
19511  to insert the endnotes list where you want the endnotes to appear.
19512  See also 
19513 \family sans
19514 Help\SpecialChar menuseparator
19515 Embedded
19516 \change_deleted -712698321 1673861808
19517 \SpecialChar menuseparator
19518
19519 \change_inserted 564990737 1672081439
19520  Objects
19521 \change_deleted -712698321 1673861955
19522 \SpecialChar menuseparator
19523 Notes\SpecialChar menuseparator
19524 Footnotes
19525 \change_inserted -712698321 1673861989
19526
19527 \family default
19528 ,
19529  section 
19530 \emph on
19531 4.2 Footnotes
19532 \emph default
19533 .
19534 \change_deleted -712698321 1673861956
19535 .
19536 \change_inserted 564990737 1672081439
19537
19538 \end_layout
19539
19540 \begin_layout Section
19541
19542 \change_inserted 564990737 1672081439
19543 Leisure,
19544  Sports and Music
19545 \end_layout
19546
19547 \begin_layout Subsection
19548
19549 \change_inserted 564990737 1672081439
19550 Chess Board
19551 \end_layout
19552
19553 \begin_layout Standard
19554
19555 \change_inserted 564990737 1672081439
19556 This module provides support for the 
19557 \family sans
19558 chessboard
19559 \family default
19560  package to print chess games.
19561  See 
19562 \family sans
19563 File\SpecialChar menuseparator
19564 Open Example\SpecialChar menuseparator
19565 Articles\SpecialChar menuseparator
19566 Chess
19567 \family default
19568  where you will find 
19569 \family sans
19570 Game 1
19571 \family default
19572  and 
19573 \family sans
19574 Game 2
19575 \family default
19576  and the 
19577 \begin_inset CommandInset href
19578 LatexCommand href
19579 name "chessboard documentation"
19580 target "http://mirrors.ctan.org/macros/latex/contrib/chessboard/chessboard.pdf"
19581 literal "false"
19582
19583 \end_inset
19584
19585 .
19586 \end_layout
19587
19588 \begin_layout Subsection
19589
19590 \change_inserted 564990737 1672081439
19591 Lilypond Music Notation
19592 \end_layout
19593
19594 \begin_layout Standard
19595
19596 \change_inserted 564990737 1672081439
19597 This module provides an inset via 
19598 \family sans
19599 \bar under
19600 I
19601 \bar default
19602 nsert\SpecialChar menuseparator
19603 Custom Inset\SpecialChar menuseparator
19604 Lilypond
19605 \family default
19606  in which to enter code for the LilyPond music editor.
19607  It will then be processed in the output.
19608  See 
19609 \family sans
19610 Help\SpecialChar menuseparator
19611 Specific Manuals\SpecialChar menuseparator
19612 Lilypond
19613 \family default
19614  and 
19615 \family sans
19616 File\SpecialChar menuseparator
19617 Open Example\SpecialChar menuseparator
19618 Modules\SpecialChar menuseparator
19619 Lilypond Book
19620 \family default
19621 .
19622  It cannot be used if the modules 
19623 \family sans
19624 Rnw
19625 \begin_inset space \thinspace{}
19626 \end_inset
19627
19628 (knitr) 
19629 \family default
19630 or
19631 \family sans
19632  Sweave
19633 \family default
19634  have been loaded.
19635 \end_layout
19636
19637 \begin_layout Section
19638
19639 \change_inserted 564990737 1672138150
19640 List enhancements
19641 \end_layout
19642
19643 \begin_layout Subsection
19644
19645 \change_inserted 564990737 1672138150
19646 Customizable Lists
19647 \begin_inset CommandInset label
19648 LatexCommand label
19649 name "subsec:Customizable-Lists"
19650
19651 \end_inset
19652
19653
19654 \end_layout
19655
19656 \begin_layout Standard
19657
19658 \change_inserted 564990737 1672138150
19659 This module uses the
19660 \family sans
19661  enumitem
19662 \family default
19663  package to enable the customization of various list environments.
19664 \end_layout
19665
19666 \begin_layout Subsubsection
19667
19668 \change_inserted 564990737 1672138150
19669 Custom Enumerate Lists
19670 \end_layout
19671
19672 \begin_layout Standard
19673 \noindent
19674
19675 \change_inserted 564990737 1672138150
19676 The default numbering of numbered lists can be changed by adding an optional argument (menu 
19677 \family sans
19678 \bar under
19679 I
19680 \bar default
19681 nsert\SpecialChar menuseparator
19682
19683 \bar under
19684 S
19685 \bar default
19686 hort Title
19687 \family default
19688 ) to the first item of each level in the list.
19689  There you add the command
19690 \end_layout
19691
19692 \begin_layout Standard
19693
19694 \change_inserted 564990737 1672138150
19695
19696 \family sans
19697 label=
19698 \backslash
19699 roman{enumi}
19700 \end_layout
19701
19702 \begin_layout Standard
19703
19704 \change_inserted 564990737 1672138150
19705 in \SpecialChar TeX
19706  Code (shortcut 
19707 \begin_inset Info
19708 type  "shortcut"
19709 arg   "ert-insert"
19710 \end_inset
19711
19712 ).
19713 \end_layout
19714
19715 \begin_layout Standard
19716
19717 \change_inserted 564990737 1672138150
19718
19719 \family sans
19720 enumi
19721 \family default
19722  is the first level counter of the enumeration.
19723  To change the numbering for the list sublevels,
19724  replace the “
19725 \family sans
19726 i
19727 \family default
19728 ” in the command by the small Roman numeral of the level (
19729 \family sans
19730 enumi
19731 \family default
19732 ,
19733  
19734 \family sans
19735 enumii
19736 \family default
19737 ,
19738  
19739 \family sans
19740 enumiii
19741 \family default
19742 ,
19743  
19744 \family sans
19745 enumiv
19746 \family default
19747 ).
19748 \end_layout
19749
19750 \begin_layout Standard
19751
19752 \change_inserted 564990737 1672138150
19753 The command 
19754 \family sans
19755
19756 \backslash
19757 roman
19758 \family default
19759  outputs the counter as a small Roman numeral.
19760  For capital Roman numerals replace 
19761 \family sans
19762
19763 \backslash
19764 roman
19765 \family default
19766  with 
19767 \family sans
19768
19769 \backslash
19770 Roman
19771 \family default
19772  in the command above.
19773  For Arabic numerals use 
19774 \family sans
19775
19776 \backslash
19777 arabic
19778 \family default
19779 .
19780  To 
19781 \begin_inset Quotes eld
19782 \end_inset
19783
19784 number
19785 \begin_inset Quotes erd
19786 \end_inset
19787
19788  items with capital or small Latin letters use 
19789 \family sans
19790
19791 \backslash
19792 Alph
19793 \family default
19794  or 
19795 \family sans
19796
19797 \backslash
19798 alph
19799 \family default
19800 ,
19801  respectively.
19802 \end_layout
19803
19804 \begin_layout Standard
19805 \noindent
19806
19807 \change_inserted 564990737 1672138150
19808 \begin_inset Note Greyedout
19809 status open
19810
19811 \begin_layout Plain Layout
19812
19813 \change_inserted 564990737 1672138150
19814
19815 \series bold
19816 Note:
19817
19818 \series default
19819  You can only number 26
19820 \begin_inset space ~
19821 \end_inset
19822
19823 items with Latin letters,
19824  because this numbering is limited to single letters.
19825 \end_layout
19826
19827 \end_inset
19828
19829
19830 \end_layout
19831
19832 \begin_layout Standard
19833
19834 \change_inserted 564990737 1672138150
19835 Here is a list with custom numbering:
19836 \end_layout
19837
19838 \begin_layout Enumerate
19839
19840 \change_inserted 564990737 1672138150
19841 \begin_inset Argument 1
19842 status collapsed
19843
19844 \begin_layout Plain Layout
19845
19846 \change_inserted 564990737 1672138150
19847 \begin_inset ERT
19848 status collapsed
19849
19850 \begin_layout Plain Layout
19851
19852 \change_inserted 564990737 1672138150
19853
19854 label=
19855 \backslash
19856 #
19857 \backslash
19858 Alph{enumi}
19859 \backslash
19860 #
19861 \end_layout
19862
19863 \end_inset
19864
19865
19866 \change_unchanged
19867
19868 \end_layout
19869
19870 \end_inset
19871
19872 Level 1
19873 \begin_inset Separator latexpar
19874 \end_inset
19875
19876
19877 \end_layout
19878
19879 \begin_deeper
19880 \begin_layout Enumerate
19881
19882 \change_inserted 564990737 1672138150
19883 \begin_inset Argument 1
19884 status collapsed
19885
19886 \begin_layout Plain Layout
19887
19888 \change_inserted 564990737 1672138150
19889 \begin_inset ERT
19890 status collapsed
19891
19892 \begin_layout Plain Layout
19893
19894 \change_inserted 564990737 1672138150
19895
19896 label=
19897 \backslash
19898 Alph{enumi}.
19899 \backslash
19900 arabic{enumii}
19901 \end_layout
19902
19903 \end_inset
19904
19905
19906 \change_unchanged
19907
19908 \end_layout
19909
19910 \end_inset
19911
19912 Level 2
19913 \end_layout
19914
19915 \begin_layout Enumerate
19916
19917 \change_inserted 564990737 1672138150
19918 Level 2
19919 \begin_inset Separator latexpar
19920 \end_inset
19921
19922
19923 \end_layout
19924
19925 \begin_deeper
19926 \begin_layout Enumerate
19927
19928 \change_inserted 564990737 1672138150
19929 \begin_inset Argument 1
19930 status collapsed
19931
19932 \begin_layout Plain Layout
19933
19934 \change_inserted 564990737 1672138150
19935 \begin_inset ERT
19936 status collapsed
19937
19938 \begin_layout Plain Layout
19939
19940 \change_inserted 564990737 1672138150
19941
19942 label=
19943 \change_deleted 274215730 1672889016
19944
19945 \backslash
19946 bf
19947 \change_inserted 274215730 1672889016
19948
19949 \backslash
19950 bfseries
19951 \change_inserted 564990737 1672138150
19952 {
19953 \backslash
19954 arabic{enumiii}}
19955 \end_layout
19956
19957 \end_inset
19958
19959
19960 \change_unchanged
19961
19962 \end_layout
19963
19964 \end_inset
19965
19966 Level 3
19967 \begin_inset Separator latexpar
19968 \end_inset
19969
19970
19971 \end_layout
19972
19973 \begin_deeper
19974 \begin_layout Enumerate
19975
19976 \change_inserted 564990737 1672138150
19977 \begin_inset Argument 1
19978 status collapsed
19979
19980 \begin_layout Plain Layout
19981
19982 \change_inserted 564990737 1672138150
19983 \begin_inset ERT
19984 status collapsed
19985
19986 \begin_layout Plain Layout
19987
19988 \change_inserted 564990737 1672138150
19989
19990 label=
19991 \backslash
19992 emph{
19993 \backslash
19994 roman{enumiv})}
19995 \end_layout
19996
19997 \end_inset
19998
19999
20000 \change_unchanged
20001
20002 \end_layout
20003
20004 \end_inset
20005
20006 Level 4
20007 \end_layout
20008
20009 \end_deeper
20010 \end_deeper
20011 \end_deeper
20012 \begin_layout Standard
20013
20014 \change_inserted 564990737 1672138150
20015 For this list these commands were used:
20016 \end_layout
20017
20018 \begin_layout Standard
20019 \noindent
20020
20021 \change_inserted 564990737 1672138150
20022
20023 \family sans
20024 label=
20025 \backslash
20026 #
20027 \backslash
20028 Alph{enumi}
20029 \backslash
20030 #
20031 \begin_inset Newline newline
20032 \end_inset
20033
20034 label=
20035 \backslash
20036 Alph{enumi}.
20037 \backslash
20038 arabic{enumii}
20039 \begin_inset Newline newline
20040 \end_inset
20041
20042 label=
20043 \change_deleted 274215730 1672889037
20044
20045 \backslash
20046 bf
20047 \change_inserted 274215730 1672889037
20048
20049 \backslash
20050 bfseries
20051 \change_inserted 564990737 1672138150
20052 {
20053 \backslash
20054 arabic{enumiii}}
20055 \begin_inset Newline newline
20056 \end_inset
20057
20058 label=
20059 \backslash
20060 emph{
20061 \backslash
20062 roman{enumiv})}
20063 \end_layout
20064
20065 \begin_layout Standard
20066
20067 \change_inserted 564990737 1672138150
20068 where the command 
20069 \family sans
20070
20071 \backslash
20072 emph{}
20073 \family default
20074  makes the label emphasized and 
20075 \change_deleted 274215730 1672889045
20076
20077 \family sans
20078
20079 \backslash
20080 bf{}
20081 \change_inserted 274215730 1672889046
20082
20083 \backslash
20084 bfseries{}
20085 \change_inserted 564990737 1672138150
20086
20087 \family default
20088  makes it bold.
20089 \end_layout
20090
20091 \begin_layout Standard
20092
20093 \change_inserted 564990737 1672138150
20094 \begin_inset Note Greyedout
20095 status collapsed
20096
20097 \begin_layout Plain Layout
20098
20099 \change_inserted 564990737 1672138150
20100
20101 \series bold
20102 Note:
20103
20104 \series default
20105  When you change the label of a list level,
20106  it will be used for all following lists until you change the definition.
20107 \end_layout
20108
20109 \end_inset
20110
20111
20112 \end_layout
20113
20114 \begin_layout Standard
20115
20116 \change_inserted 564990737 1672138150
20117 \begin_inset ERT
20118 status open
20119
20120 \begin_layout Plain Layout
20121
20122 \change_inserted 564990737 1672138150
20123
20124
20125 \backslash
20126 renewcommand{
20127 \backslash
20128 labelenumi}{
20129 \backslash
20130 thesection.
20131 \backslash
20132 arabic{enumi}}
20133 \end_layout
20134
20135 \end_inset
20136
20137
20138 \end_layout
20139
20140 \begin_layout Subsubsection
20141
20142 \change_inserted 564990737 1672138150
20143 Numbered Paragraphs in Reports
20144 \end_layout
20145
20146 \begin_layout Enumerate
20147
20148 \change_inserted 564990737 1672138213
20149 Official reports often include numbered paragraphs;
20150  you can achieve this with a variation on the approach outlined in 
20151 \change_deleted -712698321 1674916429
20152 the
20153 \change_inserted 564990737 1672138213
20154  
20155 \change_deleted -712698321 1674916431
20156 footnote
20157 \change_inserted -712698321 1674916432
20158 section
20159 \change_inserted 564990737 1672138213
20160
20161 \begin_inset space ~
20162 \end_inset
20163
20164
20165 \change_inserted -712698321 1674916425
20166
20167 \begin_inset CommandInset ref
20168 LatexCommand ref
20169 reference "sec:How-to-use"
20170
20171 \end_inset
20172
20173
20174 \change_deleted -712698321 1674916426
20175
20176 \begin_inset CommandInset ref
20177 LatexCommand ref
20178 reference "fn:If-you-really"
20179 plural "false"
20180 caps "false"
20181 noprefix "false"
20182 nolink "false"
20183
20184 \end_inset
20185
20186
20187 \change_inserted 564990737 1672138213
20188 .
20189  Replace 
20190 \family sans
20191 item
20192 \family default
20193  in each command with 
20194 \family sans
20195 enum
20196 \family default
20197 .
20198 \end_layout
20199
20200 \begin_layout Enumerate
20201
20202 \change_inserted 564990737 1672138150
20203 These numbered paragraphs were generated by inserting the \SpecialChar TeX
20204  Code
20205 \begin_inset Separator latexpar
20206 \end_inset
20207
20208
20209 \end_layout
20210
20211 \begin_deeper
20212 \begin_layout Standard
20213
20214 \change_inserted 564990737 1672138150
20215
20216 \family sans
20217
20218 \backslash
20219 renewcommand{
20220 \backslash
20221 labelenumi}{
20222 \backslash
20223 thesection.
20224 \backslash
20225 arabic{enumi}}
20226 \end_layout
20227
20228 \begin_layout Standard
20229
20230 \change_inserted 564990737 1672138150
20231 before the start of the section;
20232  
20233 \family sans
20234
20235 \backslash
20236 thesection
20237 \family default
20238  uses the \SpecialChar LaTeX
20239  section counter to generate the first part of the number.
20240 \end_layout
20241
20242 \end_deeper
20243 \begin_layout Enumerate
20244
20245 \change_inserted 564990737 1672138150
20246 I have ignored the subsection heading in this example because,
20247  with paragraphs numbered in this way,
20248  subsections are less likely to be used.
20249 \end_layout
20250
20251 \begin_layout Subsubsection
20252
20253 \change_inserted 564990737 1672138150
20254 Resumed Enumeration
20255 \end_layout
20256
20257 \begin_layout Standard
20258
20259 \change_inserted 564990737 1672138150
20260 \begin_inset ERT
20261 status open
20262
20263 \begin_layout Plain Layout
20264
20265 \change_inserted 564990737 1672138150
20266
20267
20268 \backslash
20269 renewcommand{
20270 \backslash
20271 labelenumi}{
20272 \backslash
20273 arabic{enumi}}
20274 \end_layout
20275
20276 \end_inset
20277
20278
20279 \end_layout
20280
20281 \begin_layout Standard
20282
20283 \change_inserted 564990737 1672138150
20284 Enumerations can be resumed after intermediate paragraphs:
20285 \end_layout
20286
20287 \begin_layout Enumerate
20288
20289 \change_inserted 564990737 1672138150
20290 \begin_inset Argument 1
20291 status collapsed
20292
20293 \begin_layout Plain Layout
20294
20295 \change_inserted 564990737 1672138150
20296 \begin_inset ERT
20297 status collapsed
20298
20299 \begin_layout Plain Layout
20300
20301 \change_inserted 564990737 1672138150
20302
20303 label=
20304 \backslash
20305 arabic{enumi}.
20306 \end_layout
20307
20308 \end_inset
20309
20310
20311 \change_unchanged
20312
20313 \end_layout
20314
20315 \end_inset
20316
20317 first
20318 \begin_inset Note Note
20319 status collapsed
20320
20321 \begin_layout Plain Layout
20322
20323 \change_inserted 564990737 1672138150
20324 goes back to default numbering
20325 \end_layout
20326
20327 \end_inset
20328
20329
20330 \end_layout
20331
20332 \begin_layout Enumerate
20333
20334 \change_inserted 564990737 1672138150
20335 second
20336 \end_layout
20337
20338 \begin_layout Standard
20339
20340 \change_inserted 564990737 1672138150
20341 regular text
20342 \end_layout
20343
20344 \begin_layout Enumerate-Resume
20345
20346 \change_inserted 564990737 1672138150
20347 resumed
20348 \end_layout
20349
20350 \begin_layout Standard
20351
20352 \change_inserted 564990737 1672138150
20353 To resume an enumeration,
20354  use the style 
20355 \family sans
20356 Enumerate-Resume
20357 \family default
20358 .
20359
20360 \change_deleted -712698321 1673882803
20361  Its numbering appears in blue within \SpecialChar LyX
20362  to indicate that it is a resumed list and that the numbering will not be correct in \SpecialChar LyX
20363 ,
20364  but in the output.
20365 \change_inserted 564990737 1672138150
20366
20367 \end_layout
20368
20369 \begin_layout Standard
20370
20371 \change_inserted 564990737 1672138150
20372 \begin_inset Note Greyedout
20373 status open
20374
20375 \begin_layout Plain Layout
20376
20377 \change_inserted 564990737 1672138150
20378
20379 \series bold
20380 Note:
20381
20382 \series default
20383  If there is no previous enumeration to resume,
20384  you will get a \SpecialChar LaTeX
20385  error.
20386 \end_layout
20387
20388 \end_inset
20389
20390
20391 \end_layout
20392
20393 \begin_layout Standard
20394
20395 \change_inserted 564990737 1672138150
20396 Perhaps you might want to resume the list with a different number from the next one.
20397  Or you want to start a new enumeration with a defined number.
20398  This is possible by adding an optional argument to the first list item of a normal enumeration.
20399  There,
20400  insert the command
20401 \end_layout
20402
20403 \begin_layout Standard
20404
20405 \change_inserted 564990737 1672138150
20406
20407 \family sans
20408 start=number
20409 \end_layout
20410
20411 \begin_layout Standard
20412
20413 \change_inserted 564990737 1672138150
20414 where 
20415 \family sans
20416 number
20417 \family default
20418  is the number with which you want to resume the list.
20419  An example:
20420 \end_layout
20421
20422 \begin_layout Enumerate
20423
20424 \change_inserted 564990737 1672138150
20425 first item
20426 \end_layout
20427
20428 \begin_layout Enumerate
20429
20430 \change_inserted 564990737 1672138150
20431 second item
20432 \end_layout
20433
20434 \begin_layout Standard
20435
20436 \change_inserted 564990737 1672138150
20437 Enumeration starting at a given value:
20438 \end_layout
20439
20440 \begin_layout Enumerate
20441
20442 \change_inserted 564990737 1672138150
20443 \begin_inset Argument 1
20444 status open
20445
20446 \begin_layout Plain Layout
20447
20448 \change_inserted 564990737 1672138150
20449 \begin_inset ERT
20450 status collapsed
20451
20452 \begin_layout Plain Layout
20453
20454 \change_inserted 564990737 1672138150
20455
20456 start=4
20457 \end_layout
20458
20459 \end_inset
20460
20461
20462 \change_unchanged
20463
20464 \end_layout
20465
20466 \end_inset
20467
20468 This enumeration starts at 4
20469 \end_layout
20470
20471 \begin_layout Subsubsection
20472
20473 \change_inserted 564990737 1672138150
20474 List Spacing
20475 \begin_inset Index idx
20476 range none
20477 pageformat default
20478 status collapsed
20479
20480 \begin_layout Plain Layout
20481
20482 \change_inserted 564990737 1672138150
20483 Lists !
20484  Spacing
20485 \change_unchanged
20486
20487 \end_layout
20488
20489 \end_inset
20490
20491
20492 \end_layout
20493
20494 \begin_layout Standard
20495
20496 \change_inserted 564990737 1672138150
20497 In some cases you might want less or more vertical space between the items of a list.
20498  For example if the default space is too much in your opinion in this case:
20499 \end_layout
20500
20501 \begin_layout Itemize
20502
20503 \change_inserted 564990737 1672138150
20504 A bullet list
20505 \end_layout
20506
20507 \begin_layout Itemize
20508
20509 \change_inserted 564990737 1672138150
20510 with standard spacing 
20511 \end_layout
20512
20513 \begin_layout Standard
20514
20515 \change_inserted 564990737 1672138150
20516 You can decrease the space by adding an optional argument to the first item of the list.
20517  Add there the command 
20518 \family sans
20519 nolistsep
20520 \family default
20521  to get no additional list space like in this example:
20522 \end_layout
20523
20524 \begin_layout Itemize
20525
20526 \change_inserted 564990737 1672138150
20527 \begin_inset Argument 1
20528 status open
20529
20530 \begin_layout Plain Layout
20531
20532 \change_inserted 564990737 1672138150
20533 \begin_inset ERT
20534 status collapsed
20535
20536 \begin_layout Plain Layout
20537
20538 \change_inserted 564990737 1672138150
20539
20540 nolistsep
20541 \end_layout
20542
20543 \end_inset
20544
20545
20546 \change_unchanged
20547
20548 \end_layout
20549
20550 \end_inset
20551
20552 A bullet list
20553 \end_layout
20554
20555 \begin_layout Itemize
20556
20557 \change_inserted 564990737 1672138150
20558 without additional
20559 \end_layout
20560
20561 \begin_layout Itemize
20562
20563 \change_inserted 564990737 1672138150
20564 vertical space
20565 \end_layout
20566
20567 \begin_layout Standard
20568
20569 \change_inserted 564990737 1672138150
20570 To add space you can use several other commands provided by the 
20571 \family sans
20572 enumitem
20573 \family default
20574
20575 \begin_inset Index idx
20576 range none
20577 pageformat default
20578 status collapsed
20579
20580 \begin_layout Plain Layout
20581
20582 \change_inserted 564990737 1672138150
20583 \SpecialChar LaTeX
20584 -packages !
20585  enumitem
20586 \change_unchanged
20587
20588 \end_layout
20589
20590 \end_inset
20591
20592  package.
20593  For more information see the 
20594 \begin_inset CommandInset href
20595 LatexCommand href
20596 name "enumitem documentation"
20597 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
20598 literal "false"
20599
20600 \end_inset
20601
20602 .
20603 \end_layout
20604
20605 \begin_layout Standard
20606
20607 \change_inserted 564990737 1672138150
20608 There are also many commands available to change the horizontal spacing and indentation.
20609  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
20610 \begin_inset space \thinspace{}
20611 \end_inset
20612
20613 cm so that the number is in the page margin:
20614 \end_layout
20615
20616 \begin_layout Enumerate
20617
20618 \change_inserted 564990737 1672138150
20619 \begin_inset Argument 1
20620 status open
20621
20622 \begin_layout Plain Layout
20623
20624 \change_inserted 564990737 1672138150
20625 \begin_inset ERT
20626 status collapsed
20627
20628 \begin_layout Plain Layout
20629
20630 \change_inserted 564990737 1672138150
20631
20632 labelindent=
20633 \backslash
20634 parindent,
20635  labelsep=2cm
20636 \end_layout
20637
20638 \end_inset
20639
20640
20641 \change_unchanged
20642
20643 \end_layout
20644
20645 \end_inset
20646
20647 An enumeration
20648 \end_layout
20649
20650 \begin_layout Enumerate
20651
20652 \change_inserted 564990737 1672138150
20653 with negative indentation
20654 \end_layout
20655
20656 \begin_layout Subsubsection
20657
20658 \change_inserted 564990737 1672138150
20659 Further Customization
20660 \begin_inset Index idx
20661 range none
20662 pageformat default
20663 status collapsed
20664
20665 \begin_layout Plain Layout
20666
20667 \change_inserted 564990737 1672138150
20668 Lists !
20669  Customization
20670 \change_unchanged
20671
20672 \end_layout
20673
20674 \end_inset
20675
20676
20677 \end_layout
20678
20679 \begin_layout Standard
20680
20681 \change_inserted 564990737 1672138150
20682 You can also change the style of description lists.
20683  The command
20684 \end_layout
20685
20686 \begin_layout Standard
20687
20688 \change_inserted 564990737 1672138150
20689
20690 \family sans
20691 font=definition
20692 \end_layout
20693
20694 \begin_layout Standard
20695
20696 \change_inserted 564990737 1672138150
20697 changes the description label font,
20698  the command
20699 \end_layout
20700
20701 \begin_layout Standard
20702
20703 \change_inserted 564990737 1672138150
20704
20705 \family sans
20706 style=definitio
20707 \family default
20708 \series bold
20709 n
20710 \end_layout
20711
20712 \begin_layout Standard
20713
20714 \change_inserted 564990737 1672138150
20715 sets the list style.
20716 \end_layout
20717
20718 \begin_layout Standard
20719
20720 \change_inserted 564990737 1672138150
20721 An example where the command
20722 \end_layout
20723
20724 \begin_layout Standard
20725
20726 \change_inserted 564990737 1672138150
20727
20728 \family sans
20729 font=
20730 \backslash
20731 itshape,
20732  style=nextline
20733 \end_layout
20734
20735 \begin_layout Standard
20736
20737 \change_inserted 564990737 1672138150
20738 is used:
20739 \end_layout
20740
20741 \begin_layout Description
20742
20743 \change_inserted 564990737 1672138150
20744 Ionizing
20745 \begin_inset space ~
20746 \end_inset
20747
20748 radiation:
20749  
20750 \begin_inset Argument 1
20751 status collapsed
20752
20753 \begin_layout Plain Layout
20754
20755 \change_inserted 564990737 1672138150
20756 \begin_inset ERT
20757 status collapsed
20758
20759 \begin_layout Plain Layout
20760
20761 \change_inserted 564990737 1672138150
20762
20763 labelindent=0pt,
20764  labelsep=1cm,
20765  font=
20766 \backslash
20767 itshape,
20768  style=nextline
20769 \end_layout
20770
20771 \end_inset
20772
20773
20774 \change_unchanged
20775
20776 \end_layout
20777
20778 \end_inset
20779
20780 Ionizing radiation consists of particles or electromagnetic waves that are energetic enough to detach electrons from atoms or molecules,
20781  therefore ionizing them.
20782 \end_layout
20783
20784 \begin_layout Description
20785
20786 \change_inserted 564990737 1672138150
20787 Reference
20788 \begin_inset space ~
20789 \end_inset
20790
20791 counting:
20792  In computer science,
20793  reference counting is a technique of storing the number of references,
20794  pointers,
20795  or handles to a resource such as an object,
20796  block of memory,
20797  disk space or other resource.
20798 \end_layout
20799
20800 \begin_layout Standard
20801
20802 \change_inserted 564990737 1672138150
20803 There are many more commands and features provided by the 
20804 \family sans
20805 enumitem
20806 \family default
20807
20808 \begin_inset Index idx
20809 range none
20810 pageformat default
20811 status collapsed
20812
20813 \begin_layout Plain Layout
20814
20815 \change_inserted 564990737 1672138150
20816 \SpecialChar LaTeX
20817 -packages !
20818  enumitem
20819 \change_unchanged
20820
20821 \end_layout
20822
20823 \end_inset
20824
20825  package.
20826  For more information see the 
20827 \begin_inset CommandInset href
20828 LatexCommand href
20829 name "enumitem documentation"
20830 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
20831 literal "false"
20832
20833 \end_inset
20834
20835 .
20836 \end_layout
20837
20838 \begin_layout Subsection
20839
20840 \change_inserted 564990737 1672138150
20841
20842 \series bold
20843 Paragraph Lists
20844 \end_layout
20845
20846 \begin_layout Standard
20847
20848 \change_inserted 564990737 1672138150
20849 This module uses the package 
20850 \family sans
20851 paralist
20852 \family default
20853  to provide nine new list environments.
20854  Itemized and enumerated lists can be typeset within paragraphs,
20855  as paragraphs and in a compact version.
20856  Most environments have optional arguments to format the labels.
20857  Additionally,
20858  the \SpecialChar LaTeX
20859  list environments itemize and enumerate are extended to use a similar optional argument.
20860  For further details see 
20861 \family sans
20862 File\SpecialChar menuseparator
20863 Open Example\SpecialChar menuseparator
20864 Modules\SpecialChar menuseparator
20865 Paragraph Lists (paralist)
20866 \family default
20867 ,
20868  
20869 \family sans
20870 Help\SpecialChar menuseparator
20871 Specific Manuals\SpecialChar menuseparator
20872 Paralist
20873 \family default
20874  and the 
20875 \begin_inset CommandInset href
20876 LatexCommand href
20877 name "paralist documentation"
20878 target "http://mirrors.ctan.org/macros/latex/contrib/paralist/paralist.pdf"
20879 literal "false"
20880
20881 \end_inset
20882
20883 .
20884 \end_layout
20885
20886 \begin_layout Section
20887
20888 \change_inserted 564990737 1672161542
20889 Literate Programming
20890 \change_deleted -712698321 1673885680
20891  
20892 \change_inserted 564990737 1672161542
20893
20894 \end_layout
20895
20896 \begin_layout Subsection
20897
20898 \change_inserted 564990737 1672161542
20899 Noweb
20900 \end_layout
20901
20902 \begin_layout Standard
20903
20904 \change_inserted 564990737 1672161542
20905 This module allows the use of Noweb as a literate programming tool.
20906  The files and the documentation for Noweb can be obtained from 
20907 \begin_inset CommandInset href
20908 LatexCommand href
20909 name "CTAN"
20910 target "https://www.ctan.org/pkg/noweb"
20911 literal "false"
20912
20913 \end_inset
20914
20915 .
20916  Literate programming is described in section
20917 \begin_inset space ~
20918 \end_inset
20919
20920
20921 \begin_inset CommandInset ref
20922 LatexCommand ref
20923 reference "sec:Literate-Programming"
20924 nolink "false"
20925
20926 \end_inset
20927
20928  and there are three example files:
20929  
20930 \family sans
20931 File\SpecialChar menuseparator
20932 Open Example\SpecialChar menuseparator
20933 Modules\SpecialChar menuseparator
20934 Noweb
20935 \family default
20936 ,
20937  
20938 \family sans
20939 File\SpecialChar menuseparator
20940 Open Example\SpecialChar menuseparator
20941 Modules\SpecialChar menuseparator
20942 Noweb Listerrors
20943 \family default
20944  and 
20945 \family sans
20946 File\SpecialChar menuseparator
20947 Open Example\SpecialChar menuseparator
20948 Modules\SpecialChar menuseparator
20949 Noweb2\SpecialChar LyX
20950
20951 \family default
20952 .
20953 \end_layout
20954
20955 \begin_layout Subsection
20956
20957 \change_inserted 564990737 1672161542
20958 Rnw (knitr)
20959 \end_layout
20960
20961 \begin_layout Standard
20962
20963 \change_inserted 564990737 1672161542
20964 This module uses the 
20965 \family typewriter
20966 knitr
20967 \family default
20968  and 
20969 \family sans
20970 includernw
20971 \family default
20972  packages.
20973  The
20974 \begin_inset Flex Code
20975 status collapsed
20976
20977 \begin_layout Plain Layout
20978
20979 \change_inserted 564990737 1672161542
20980 knitr
20981 \change_unchanged
20982
20983 \end_layout
20984
20985 \end_inset
20986
20987  package in R for dynamic report generation has to be installed for this module to work:
20988  
20989 \begin_inset Flex Code
20990 status collapsed
20991
20992 \begin_layout Plain Layout
20993
20994 \change_inserted 564990737 1672161542
20995 install.packages(“knitr”)
20996 \change_unchanged
20997
20998 \end_layout
20999
21000 \end_inset
21001
21002 .
21003  
21004 \end_layout
21005
21006 \begin_layout Paragraph
21007
21008 \change_inserted 564990737 1672161542
21009 Note 
21010 \end_layout
21011
21012 \begin_layout Itemize
21013
21014 \change_inserted 564990737 1672161542
21015 it depends on R >= 2.14.1.
21016  For more info see 
21017 \begin_inset Flex URL
21018 status collapsed
21019
21020 \begin_layout Plain Layout
21021
21022 \change_inserted 564990737 1672161542
21023
21024 http://yihui.name/knitr
21025 \change_unchanged
21026
21027 \end_layout
21028
21029 \end_inset
21030
21031 .
21032
21033 \change_deleted -712698321 1673886383
21034  
21035 \change_inserted 564990737 1672161542
21036
21037 \end_layout
21038
21039 \begin_layout Itemize
21040
21041 \change_inserted 564990737 1672161542
21042 The package 
21043 \family sans
21044 includernw
21045 \family default
21046  also has to be installed.
21047  
21048 \change_inserted -712698321 1673886396
21049
21050 \end_layout
21051
21052 \begin_layout Itemize
21053
21054 \change_inserted 564990737 1672161542
21055 It cannot be used if the modules 
21056 \family sans
21057 LilyPond
21058 \begin_inset space ~
21059 \end_inset
21060
21061 Book
21062 \family default
21063  or 
21064 \family sans
21065 Sweave
21066 \family default
21067  are loaded.
21068
21069 \change_deleted -712698321 1673886383
21070  
21071 \change_inserted -712698321 1673886376
21072
21073 \end_layout
21074
21075 \begin_layout Standard
21076
21077 \change_inserted 564990737 1672161542
21078 See 
21079 \family sans
21080 Help\SpecialChar menuseparator
21081 Specific Manuals\SpecialChar menuseparator
21082 Knitr
21083 \family default
21084 ,
21085  
21086 \family sans
21087 File\SpecialChar menuseparator
21088 Open Example\SpecialChar menuseparator
21089 Modules\SpecialChar menuseparator
21090 Rnw (knitr)
21091 \family default
21092  and section
21093 \begin_inset space ~
21094 \end_inset
21095
21096
21097 \begin_inset CommandInset ref
21098 LatexCommand ref
21099 reference "sec:Literate-Programming"
21100 nolink "false"
21101
21102 \end_inset
21103
21104  for information about literate programming.
21105 \end_layout
21106
21107 \begin_layout Subsection
21108
21109 \change_inserted 564990737 1672161542
21110 Sweave
21111 \end_layout
21112
21113 \begin_layout Standard
21114
21115 \change_inserted 564990737 1672161542
21116 This module allows the use of the statistical language S/R as a literate programming tool.
21117  It requires the 
21118 \family sans
21119 includernw
21120 \family default
21121  and 
21122 \family sans
21123 fancyvrb
21124 \family default
21125  packages.
21126  Both 
21127 \begin_inset CommandInset href
21128 LatexCommand href
21129 name "includernw"
21130 target "https://www.ctan.org/pkg/includernw"
21131 literal "false"
21132
21133 \end_inset
21134
21135  and 
21136 \begin_inset CommandInset href
21137 LatexCommand href
21138 name "fancyvrb"
21139 target "https://www.ctan.org/pkg/fancyvrb"
21140 literal "false"
21141
21142 \end_inset
21143
21144  are available from CTAN.
21145  It cannot be used if the module 
21146 \family sans
21147 LilyPond
21148 \begin_inset space ~
21149 \end_inset
21150
21151 Book
21152 \family default
21153  has been loaded.
21154  See 
21155 \family sans
21156 Help\SpecialChar menuseparator
21157 Specific Manuals\SpecialChar menuseparator
21158 Sweave,
21159
21160 \family default
21161  
21162 \family sans
21163 File\SpecialChar menuseparator
21164 Open Example\SpecialChar menuseparator
21165 Modules\SpecialChar menuseparator
21166 Sweave
21167 \family default
21168  and section
21169 \begin_inset space ~
21170 \end_inset
21171
21172
21173 \begin_inset CommandInset ref
21174 LatexCommand ref
21175 reference "sec:Literate-Programming"
21176 nolink "false"
21177
21178 \end_inset
21179
21180  for information about literate programming.
21181 \end_layout
21182
21183 \begin_layout Section
21184
21185 \change_inserted 564990737 1672224959
21186 Maths
21187 \end_layout
21188
21189 \begin_layout Subsection
21190
21191 \change_inserted 564990737 1672224959
21192 AMS Theorems
21193 \end_layout
21194
21195 \begin_layout Standard
21196
21197 \change_inserted 564990737 1672224959
21198 This modules defines theorem environments and the proof environment using the extended AMS machinery.
21199  Both numbered and unnumbered types are provided.
21200  By default,
21201  the theorems are numbered consecutively throughout the document.
21202  This can be changed by loading one of the 
21203 \family sans
21204 AMS Theorems (Numbered by \SpecialChar ldots
21205 )
21206 \family default
21207  modules.
21208  It cannot be used if the modules 
21209 \family sans
21210 Standard Theorems
21211 \family default
21212  or 
21213 \family sans
21214 Standard Theorems (Unnumbered)
21215 \family default
21216  have been loaded.
21217 \end_layout
21218
21219 \begin_layout Subsection
21220
21221 \change_inserted 564990737 1672224959
21222 AMS Theorems (Extended)
21223 \end_layout
21224
21225 \begin_layout Standard
21226
21227 \change_inserted 564990737 1672224959
21228 This module defines some additional theorem environments for use with the 
21229 \family sans
21230 AMS Theorems
21231 \family default
21232  package (which must be loaded).
21233  It includes 
21234 \family sans
21235 Criterion
21236 \family default
21237 ,
21238  
21239 \family sans
21240 Algorithm
21241 \family default
21242 ,
21243  
21244 \family sans
21245 Axiom
21246 \family default
21247 ,
21248  
21249 \family sans
21250 Condition
21251 \family default
21252 ,
21253  
21254 \family sans
21255 Note
21256 \family default
21257 ,
21258  
21259 \family sans
21260 Notation
21261 \family default
21262 ,
21263  
21264 \family sans
21265 Summary
21266 \family default
21267 ,
21268  
21269 \change_deleted -712698321 1675594790
21270
21271 \family sans
21272 Acknowledgement
21273 \family default
21274 ,
21275  
21276 \change_inserted 564990737 1672224959
21277
21278 \family sans
21279 Conclusion
21280 \family default
21281 ,
21282  
21283 \family sans
21284 Fact
21285 \family default
21286 ,
21287  
21288 \family sans
21289 Assumption
21290 \family default
21291 ,
21292  
21293 \family sans
21294 Case
21295 \family default
21296  and 
21297 \family sans
21298 Question
21299 \family default
21300  in both numbered and unnumbered forms.
21301 \end_layout
21302
21303 \begin_layout Subsection
21304
21305 \change_inserted 564990737 1672224959
21306 AMS Theorems (Extended,
21307  Numbered by Type within Chapters)
21308 \end_layout
21309
21310 \begin_layout Standard
21311
21312 \change_inserted 564990737 1672224959
21313 This module defines some additional theorem environments for use with the 
21314 \family sans
21315 AMS Theorems (Numbered by Type within Chapters)
21316 \family default
21317  
21318 \change_deleted -712698321 1674898102
21319 package
21320 \change_inserted -712698321 1674898103
21321 module
21322 \change_inserted 564990737 1672224959
21323  (which must be loaded).
21324  It includes 
21325 \family sans
21326 Criterion
21327 \family default
21328 ,
21329  
21330 \family sans
21331 Algorithm
21332 \family default
21333 ,
21334  
21335 \family sans
21336 Axiom
21337 \family default
21338 ,
21339  
21340 \family sans
21341 Condition
21342 \family default
21343 ,
21344  
21345 \family sans
21346 Note
21347 \family default
21348 ,
21349  
21350 \family sans
21351 Notation
21352 \family default
21353 ,
21354  
21355 \family sans
21356 Summary
21357 \family default
21358 ,
21359  
21360 \change_deleted -712698321 1675594800
21361
21362 \family sans
21363 Acknowledgement
21364 \family default
21365 ,
21366  
21367 \change_inserted 564990737 1672224959
21368
21369 \family sans
21370 Conclusion
21371 \family default
21372 ,
21373  
21374 \family sans
21375 Assumption
21376 \family default
21377  and 
21378 \family sans
21379 Case
21380 \family default
21381  in both numbered and unnumbered forms.
21382  
21383 \change_inserted -712698321 1674898226
21384
21385 \end_layout
21386
21387 \begin_layout Standard
21388
21389 \change_inserted 564990737 1672224959
21390 Unlike the 
21391 \family sans
21392 AMS Theorems (Extended)
21393 \family default
21394  module,
21395  the different theorem types provided here each have a separate counter,
21396  restarted with each new chapter (e.g.,
21397  
21398 \change_deleted -712698321 1674898319
21399
21400 \emph on
21401 c
21402 \change_inserted -712698321 1674898319
21403 C
21404 \change_inserted 564990737 1672224959
21405 riterion 1.1
21406 \emph default
21407 ,
21408  
21409 \change_deleted -712698321 1674898320
21410
21411 \emph on
21412 c
21413 \change_inserted -712698321 1674898321
21414 C
21415 \change_inserted 564990737 1672224959
21416 riterion 1.2
21417 \emph default
21418 ,
21419  
21420 \change_deleted -712698321 1674898322
21421
21422 \emph on
21423 a
21424 \change_inserted -712698321 1674898322
21425 A
21426 \change_inserted 564990737 1672224959
21427 xiom 1.1
21428 \emph default
21429 ,
21430  
21431 \change_deleted -712698321 1674898325
21432
21433 \emph on
21434 a
21435 \change_inserted -712698321 1674898325
21436 A
21437 \change_inserted 564990737 1672224959
21438 ssumption 1.1
21439 \emph default
21440 ,
21441  
21442 \change_deleted -712698321 1674898327
21443
21444 \emph on
21445 c
21446 \change_inserted -712698321 1674898327
21447 C
21448 \change_inserted 564990737 1672224959
21449 riterion 2.1
21450 \emph default
21451 ,
21452  
21453 \change_deleted -712698321 1674898329
21454
21455 \emph on
21456 c
21457 \change_inserted -712698321 1674898329
21458 C
21459 \change_inserted 564990737 1672224959
21460 riterion 2.2
21461 \emph default
21462 ,
21463
21464 \emph on
21465  
21466 \change_deleted -712698321 1674898339
21467 a
21468 \change_inserted -712698321 1674898339
21469 A
21470 \change_inserted 564990737 1672224959
21471 xiom 2.1
21472 \change_inserted -712698321 1674898336
21473
21474 \emph default
21475 ,
21476  
21477 \change_inserted 564990737 1672224959
21478 \SpecialChar ldots
21479 ,
21480  as opposed to 
21481 \change_deleted -712698321 1674898342
21482 c
21483 \change_inserted -712698321 1674898342
21484
21485 \emph on
21486 C
21487 \change_inserted 564990737 1672224959
21488 riterion 1
21489 \emph default
21490 ,
21491  
21492 \change_deleted -712698321 1674898344
21493 c
21494 \change_inserted -712698321 1674898344
21495
21496 \emph on
21497 C
21498 \change_inserted 564990737 1672224959
21499 riterion 2
21500 \emph default
21501 ,
21502  
21503 \change_deleted -712698321 1674898346
21504 a
21505 \change_inserted -712698321 1674898347
21506
21507 \emph on
21508 A
21509 \change_inserted 564990737 1672224959
21510 xiom 3
21511 \emph default
21512 ,
21513  
21514 \change_deleted -712698321 1674898348
21515 a
21516 \change_inserted -712698321 1674898348
21517
21518 \emph on
21519 A
21520 \change_inserted 564990737 1672224959
21521 ssumption 4
21522 \change_inserted -712698321 1674898350
21523
21524 \emph default
21525 ,
21526  
21527 \change_deleted -712698321 1674898352
21528 ...
21529 \change_inserted -712698321 1674898353
21530 \SpecialChar ldots
21531
21532 \change_inserted 564990737 1672224959
21533 ).
21534 \end_layout
21535
21536 \begin_layout Subsection
21537
21538 \change_inserted 564990737 1672224959
21539 AMS Theorems (Extended,
21540  Numbered by Type)
21541 \end_layout
21542
21543 \begin_layout Standard
21544
21545 \change_inserted 564990737 1672224959
21546 This module defines some additional theorem environments for use with the 
21547 \family sans
21548 AMS Theorems (Numbered by Type)
21549 \family default
21550  package (which must be loaded).
21551  It includes 
21552 \family sans
21553 Criterion
21554 \family default
21555 ,
21556  
21557 \family sans
21558 Algorithm
21559 \family default
21560 ,
21561  
21562 \family sans
21563 Axiom
21564 \family default
21565 ,
21566  
21567 \family sans
21568 Condition
21569 \family default
21570 ,
21571  
21572 \family sans
21573 Note
21574 \family default
21575 ,
21576  
21577 \family sans
21578 Notation
21579 \family default
21580 ,
21581  
21582 \family sans
21583 Summary
21584 \family default
21585 ,
21586  
21587 \change_deleted -712698321 1675594806
21588
21589 \family sans
21590 Acknowledgement
21591 \family default
21592 ,
21593
21594 \change_inserted 564990737 1672224959
21595  
21596 \family sans
21597 Conclusion
21598 \family default
21599 ,
21600  
21601 \family sans
21602 Assumption
21603 \family default
21604  and 
21605 \family sans
21606 Case
21607 \family default
21608  in both numbered and unnumbered forms.
21609  
21610 \change_inserted -712698321 1674898455
21611
21612 \end_layout
21613
21614 \begin_layout Standard
21615
21616 \change_inserted 564990737 1672224959
21617 Unlike the 
21618 \family sans
21619 AMS Theorems (Extended)
21620 \family default
21621  module,
21622  the different theorem types provided here each have a separate counter (e.g.,
21623  
21624 \change_deleted -712698321 1674898821
21625 c
21626 \change_inserted -712698321 1674898821
21627
21628 \emph on
21629 C
21630 \change_inserted 564990737 1672224959
21631 riterion 1
21632 \emph default
21633 ,
21634  
21635 \change_deleted -712698321 1674898823
21636 c
21637 \change_inserted -712698321 1674898823
21638
21639 \emph on
21640 C
21641 \change_inserted 564990737 1672224959
21642 riterion 2
21643 \emph default
21644 ,
21645  
21646 \change_deleted -712698321 1674898825
21647 a
21648 \change_inserted -712698321 1674898825
21649
21650 \emph on
21651 A
21652 \change_inserted 564990737 1672224959
21653 xiom 1
21654 \emph default
21655 ,
21656  
21657 \change_deleted -712698321 1674898827
21658 a
21659 \change_inserted -712698321 1674898827
21660
21661 \emph on
21662 A
21663 \change_inserted 564990737 1672224959
21664 ssumption 1
21665 \emph default
21666 ,
21667  
21668 \change_deleted -712698321 1674898830
21669 c
21670 \change_inserted -712698321 1674898830
21671
21672 \emph on
21673 C
21674 \change_inserted 564990737 1672224959
21675 riterion 3
21676 \emph default
21677 ,
21678  \SpecialChar ldots
21679 ,
21680  as opposed to 
21681 \change_deleted -712698321 1674898832
21682 c
21683 \change_inserted -712698321 1674898832
21684
21685 \emph on
21686 C
21687 \change_inserted 564990737 1672224959
21688 riterion 1
21689 \emph default
21690 ,
21691  
21692 \change_deleted -712698321 1674898834
21693 c
21694 \change_inserted -712698321 1674898834
21695
21696 \emph on
21697 C
21698 \change_inserted 564990737 1672224959
21699 riterion 2
21700 \emph default
21701 ,
21702  
21703 \change_deleted -712698321 1674898836
21704 a
21705 \change_inserted -712698321 1674898836
21706
21707 \emph on
21708 A
21709 \change_inserted 564990737 1672224959
21710 xiom 3
21711 \emph default
21712 ,
21713  
21714 \change_deleted -712698321 1674898838
21715 a
21716 \change_inserted -712698321 1674898838
21717
21718 \emph on
21719 A
21720 \change_inserted 564990737 1672224959
21721 ssumption 4
21722 \emph default
21723 ,
21724  \SpecialChar ldots
21725 ).
21726 \end_layout
21727
21728 \begin_layout Subsection
21729
21730 \change_inserted 564990737 1672224959
21731 AMS Theorems (Numbered by Type within Chapters) 
21732 \end_layout
21733
21734 \begin_layout Standard
21735
21736 \change_inserted 564990737 1672224959
21737 This module defines theorem environments and the proof environment using the extended AMS machinery.
21738  Both numbered and unnumbered types are provided.
21739  
21740 \change_inserted -712698321 1674901718
21741
21742 \end_layout
21743
21744 \begin_layout Standard
21745
21746 \change_inserted 564990737 1672224959
21747 Unlike the 
21748 \family sans
21749 AMS Theorems
21750 \family default
21751  module,
21752  the different theorem types provided here each have a separate counter (e.g.,
21753  
21754 \change_deleted -712698321 1674901843
21755 t
21756 \change_inserted -712698321 1674901843
21757
21758 \emph on
21759 T
21760 \change_inserted 564990737 1672224959
21761 heorem 1.1
21762 \emph default
21763 ,
21764  
21765 \change_deleted -712698321 1674901845
21766 t
21767 \change_inserted -712698321 1674901845
21768
21769 \emph on
21770 T
21771 \change_inserted 564990737 1672224959
21772 heorem 1.2
21773 \emph default
21774 ,
21775  
21776 \change_deleted -712698321 1674901847
21777
21778 \emph on
21779 l
21780 \change_inserted -712698321 1674901847
21781 L
21782 \change_inserted 564990737 1672224959
21783 emma 1.1
21784 \emph default
21785 ,
21786  
21787 \change_inserted -712698321 1674901849
21788
21789 \emph on
21790 P
21791 \change_deleted -712698321 1674901849
21792 p
21793 \change_inserted 564990737 1672224959
21794 roposition 1.1
21795 \emph default
21796 ,
21797  
21798 \change_inserted -712698321 1674901852
21799
21800 \emph on
21801 T
21802 \change_deleted -712698321 1674901852
21803 t
21804 \change_inserted 564990737 1672224959
21805 heorem 1.3
21806 \emph default
21807 ,
21808  
21809 \change_inserted -712698321 1674901854
21810
21811 \emph on
21812 L
21813 \change_deleted -712698321 1674901854
21814 l
21815 \change_inserted 564990737 1672224959
21816 emma 1.2
21817 \emph default
21818 ,
21819  \SpecialChar ldots
21820 ,
21821  as opposed to 
21822 \change_deleted -712698321 1674901859
21823 t
21824 \change_inserted -712698321 1674901859
21825
21826 \emph on
21827 T
21828 \change_inserted 564990737 1672224959
21829 heorem 1
21830 \emph default
21831 ,
21832  
21833 \change_deleted -712698321 1674901861
21834 t
21835 \change_inserted -712698321 1674901861
21836
21837 \emph on
21838 T
21839 \change_inserted 564990737 1672224959
21840 heorem 2
21841 \emph default
21842 ,
21843  
21844 \change_deleted -712698321 1674901863
21845 l
21846 \change_inserted -712698321 1674901863
21847
21848 \emph on
21849 L
21850 \change_inserted 564990737 1672224959
21851 emma 3
21852 \emph default
21853 ,
21854  
21855 \change_deleted -712698321 1674901868
21856 p
21857 \change_inserted -712698321 1674901868
21858
21859 \emph on
21860 P
21861 \change_inserted 564990737 1672224959
21862 roposition 4
21863 \emph default
21864 ,
21865  \SpecialChar ldots
21866 ).
21867  The numbering restarts for each chapter:
21868  
21869 \change_deleted -712698321 1674901871
21870 t
21871 \change_inserted -712698321 1674901871
21872
21873 \emph on
21874 T
21875 \change_inserted 564990737 1672224959
21876 heorem 1.1
21877 \emph default
21878 ,
21879  
21880 \change_deleted -712698321 1674901873
21881 t
21882 \change_inserted -712698321 1674901873
21883
21884 \emph on
21885 T
21886 \change_inserted 564990737 1672224959
21887 heorem 2.1
21888 \emph default
21889 ,
21890  \SpecialChar ldots
21891  
21892 \change_inserted -712698321 1674901725
21893
21894 \end_layout
21895
21896 \begin_layout Standard
21897
21898 \change_inserted 564990737 1672224959
21899 It cannot be used if the modules 
21900 \family sans
21901 AMS Theorems
21902 \family default
21903 ,
21904  
21905 \family sans
21906 Standard Theorems
21907 \family default
21908 ,
21909
21910 \family sans
21911  Standard Theorems (Numbered by Type)
21912 \family default
21913  or
21914 \family sans
21915  Standard Theorems (Unnumbered)
21916 \family default
21917  have been loaded.
21918 \end_layout
21919
21920 \begin_layout Subsection
21921
21922 \change_inserted 564990737 1672224959
21923 AMS Theorems (Numbered by Type)
21924 \end_layout
21925
21926 \begin_layout Standard
21927
21928 \change_inserted 564990737 1672224959
21929 This module defines theorem environments and the proof environment using the extended AMS machinery.
21930  Both numbered and unnumbered types are provided.
21931  Unlike the 
21932 \family sans
21933 AMS Theorems
21934 \family default
21935  module,
21936  the different theorem types provided here each have a separate counter (e.g.,
21937  
21938 \change_deleted -712698321 1674902051
21939 t
21940 \change_inserted -712698321 1674902051
21941
21942 \emph on
21943 T
21944 \change_inserted 564990737 1672224959
21945 heorem 1
21946 \emph default
21947 ,
21948  
21949 \change_deleted -712698321 1674902053
21950 t
21951 \change_inserted -712698321 1674902053
21952
21953 \emph on
21954 T
21955 \change_inserted 564990737 1672224959
21956 heorem 2
21957 \emph default
21958 ,
21959  
21960 \change_deleted -712698321 1674902055
21961 l
21962 \change_inserted -712698321 1674902055
21963
21964 \emph on
21965 L
21966 \change_inserted 564990737 1672224959
21967 emma 1
21968 \emph default
21969 ,
21970  
21971 \change_inserted -712698321 1674902058
21972
21973 \emph on
21974 P
21975 \change_deleted -712698321 1674902058
21976 p
21977 \change_inserted 564990737 1672224959
21978 roposition 1
21979 \emph default
21980 ,
21981  
21982 \change_inserted -712698321 1674902061
21983
21984 \emph on
21985 T
21986 \change_deleted -712698321 1674902060
21987 t
21988 \change_inserted 564990737 1672224959
21989 heorem 3
21990 \emph default
21991 ,
21992  
21993 \change_deleted -712698321 1674902063
21994 l
21995 \change_inserted -712698321 1674902063
21996
21997 \emph on
21998 L
21999 \change_inserted 564990737 1672224959
22000 emma 2
22001 \emph default
22002 ,
22003  \SpecialChar ldots
22004 ,
22005  as opposed to 
22006 \change_deleted -712698321 1674902066
22007 t
22008 \change_inserted -712698321 1674902067
22009
22010 \emph on
22011 T
22012 \change_inserted 564990737 1672224959
22013 heorem 1
22014 \emph default
22015 ,
22016  
22017 \change_deleted -712698321 1674902069
22018 t
22019 \change_inserted -712698321 1674902069
22020
22021 \emph on
22022 T
22023 \change_inserted 564990737 1672224959
22024 heorem 2
22025 \emph default
22026 ,
22027  
22028 \change_deleted -712698321 1674902071
22029 l
22030 \change_inserted -712698321 1674902071
22031
22032 \emph on
22033 L
22034 \change_inserted 564990737 1672224959
22035 emma 3
22036 \emph default
22037 ,
22038  
22039 \change_deleted -712698321 1674902075
22040 p
22041 \change_inserted -712698321 1674902075
22042
22043 \emph on
22044 P
22045 \change_inserted 564990737 1672224959
22046 roposition 4
22047 \emph default
22048 ,
22049  \SpecialChar ldots
22050 ).
22051  The numbering’s scope is the whole document.
22052  For chapter- and section-wide numbering,
22053  use one of the ‘within Sections’/‘within Chapters’ modules,
22054  respectively.
22055  
22056 \change_inserted -712698321 1674902047
22057
22058 \end_layout
22059
22060 \begin_layout Standard
22061
22062 \change_inserted 564990737 1672224959
22063 It cannot be used if the modules 
22064 \family sans
22065 AMS Theorems
22066 \family default
22067 ,
22068  
22069 \family sans
22070 Standard Theorems
22071 \family default
22072 ,
22073
22074 \family sans
22075  Standard Theorems (Numbered by Type)
22076 \family default
22077  or
22078 \family sans
22079  Standard Theorems (Unnumbered)
22080 \family default
22081  have been loaded.
22082 \end_layout
22083
22084 \begin_layout Subsection
22085
22086 \change_inserted 564990737 1672224959
22087 Number Equations by Section
22088 \end_layout
22089
22090 \begin_layout Standard
22091
22092 \change_inserted 564990737 1672224959
22093 This module resets the equation number at section start and prepends the section number to the equation number,
22094  as in 
22095 \change_deleted -712698321 1674902160
22096
22097 \change_inserted 564990737 1672224959
22098
22099 \emph on
22100 (2.1)
22101 \emph default
22102 .
22103 \change_deleted -712698321 1674902162
22104
22105 \change_inserted 564990737 1672224959
22106  
22107 \end_layout
22108
22109 \begin_layout Subsection
22110
22111 \change_inserted 564990737 1672224959
22112 Standard Theorems
22113 \end_layout
22114
22115 \begin_layout Standard
22116
22117 \change_inserted 564990737 1672224959
22118 This module defines some theorem environments for use with non-AMS classes.
22119  By default,
22120  the theorems are numbered consecutively throughout the document.
22121  This can be changed by loading one of the 
22122 \family sans
22123 Standard Theorems (Numbered by \SpecialChar ldots
22124 )
22125 \family default
22126  modules.
22127  
22128 \change_inserted -712698321 1674902414
22129
22130 \end_layout
22131
22132 \begin_layout Standard
22133
22134 \change_inserted 564990737 1672224959
22135 It cannot be used if the modules 
22136 \family sans
22137 AMS Theorems
22138 \family default
22139  or
22140 \family sans
22141  Standard Theorems (Unnumbered)
22142 \family default
22143  have been loaded.
22144  
22145 \end_layout
22146
22147 \begin_layout Subsection
22148
22149 \change_inserted 564990737 1672224959
22150 Standard Theorems (Nameable)
22151 \end_layout
22152
22153 \begin_layout Standard
22154
22155 \change_inserted 564990737 1672224959
22156 This module facilitates the use of named theorems.
22157  The name of the theorem 
22158 \change_deleted -712698321 1674902805
22159 goes into the
22160 \change_inserted -712698321 1674902825
22161 can be inserted via 
22162 \family sans
22163 Insert\SpecialChar menuseparator
22164
22165 \change_deleted -712698321 1674902827
22166  “
22167 \change_inserted 564990737 1672224959
22168 Additional Theorem Text
22169 \change_deleted -712698321 1674902831
22170
22171 \family default
22172 ” argument
22173 \change_inserted 564990737 1672224959
22174 .
22175  
22176 \end_layout
22177
22178 \begin_layout Subsection
22179
22180 \change_inserted 564990737 1672224959
22181 Standard Theorems (Numbered by Chapter)
22182 \end_layout
22183
22184 \begin_layout Standard
22185
22186 \change_inserted 564990737 1672224959
22187 This module numbers theorems and the like by chapter (i.e.,
22188  the counter is reset at each chapter start).
22189  Use this module only with document classes that provide a chapter environment.
22190  
22191 \change_inserted -712698321 1674903079
22192
22193 \end_layout
22194
22195 \begin_layout Standard
22196
22197 \change_inserted 564990737 1672224959
22198 One of the modules 
22199 \family sans
22200 AMS Theorems
22201 \family default
22202  or 
22203 \family sans
22204 Standard Theorems
22205 \family default
22206  must be loaded.
22207  
22208 \change_inserted -712698321 1674903082
22209
22210 \end_layout
22211
22212 \begin_layout Standard
22213
22214 \change_inserted 564990737 1672224959
22215 It cannot be used if the module
22216 \family sans
22217  Standard Theorems (Numbered by Section)
22218 \family default
22219  has been loaded.
22220 \end_layout
22221
22222 \begin_layout Subsection
22223
22224 \change_inserted 564990737 1672224959
22225 Standard Theorems (Numbered by Section)
22226 \end_layout
22227
22228 \begin_layout Standard
22229
22230 \change_inserted 564990737 1672224959
22231 This module numbers theorems and the like by section (i.e.,
22232  the counter is reset at each section start).
22233  One of the modules 
22234 \family sans
22235 AMS Theorems
22236 \family default
22237  or 
22238 \family sans
22239 Standard Theorems
22240 \family default
22241  must be loaded.
22242  It cannot be used if the module
22243 \family sans
22244  Standard Theorems (Numbered by Chapter)
22245 \family default
22246  has been loaded.
22247 \end_layout
22248
22249 \begin_layout Subsection
22250
22251 \change_inserted 564990737 1672224959
22252 Standard Theorems (Numbered by Type within Chapters) 
22253 \end_layout
22254
22255 \begin_layout Standard
22256
22257 \change_inserted 564990737 1672224959
22258 This module defines some theorem environments for use with non-AMS classes.
22259  Unlike the
22260 \family sans
22261  AMS Theorems
22262 \family default
22263  and 
22264 \family sans
22265 Standard Theorems
22266 \family default
22267  modules,
22268  the different theorem types provided here each have a separate counter (e.g.,
22269  
22270 \change_deleted -712698321 1674903338
22271 t
22272 \change_inserted -712698321 1674903338
22273
22274 \emph on
22275 T
22276 \change_inserted 564990737 1672224959
22277 heorem 1
22278 \emph default
22279 ,
22280  
22281 \change_deleted -712698321 1674903340
22282 t
22283 \change_inserted -712698321 1674903340
22284
22285 \emph on
22286 T
22287 \change_inserted 564990737 1672224959
22288 heorem 2
22289 \emph default
22290 ,
22291  
22292 \change_deleted -712698321 1674903343
22293 l
22294 \change_inserted -712698321 1674903343
22295
22296 \emph on
22297 L
22298 \change_inserted 564990737 1672224959
22299 emma 1
22300 \emph default
22301 ,
22302  
22303 \change_deleted -712698321 1674903346
22304 p
22305 \change_inserted -712698321 1674903346
22306
22307 \emph on
22308 P
22309 \change_inserted 564990737 1672224959
22310 roposition 1
22311 \emph default
22312 ,
22313  
22314 \change_deleted -712698321 1674903348
22315 t
22316 \change_inserted -712698321 1674903348
22317
22318 \emph on
22319 T
22320 \change_inserted 564990737 1672224959
22321 heorem 3
22322 \emph default
22323 ,
22324  
22325 \change_deleted -712698321 1674903351
22326 l
22327 \change_inserted -712698321 1674903351
22328
22329 \emph on
22330 L
22331 \change_inserted 564990737 1672224959
22332 emma 2
22333 \emph default
22334 ,
22335  \SpecialChar ldots
22336 ,
22337  as opposed to 
22338 \change_deleted -712698321 1674903354
22339 t
22340 \change_inserted -712698321 1674903354
22341
22342 \emph on
22343 T
22344 \change_inserted 564990737 1672224959
22345 heorem 1
22346 \emph default
22347 ,
22348  
22349 \change_deleted -712698321 1674903356
22350 t
22351 \change_inserted -712698321 1674903356
22352
22353 \emph on
22354 T
22355 \change_inserted 564990737 1672224959
22356 heorem 2
22357 \emph default
22358 ,
22359  
22360 \change_deleted -712698321 1674903359
22361 l
22362 \change_inserted -712698321 1674903359
22363
22364 \emph on
22365 L
22366 \change_inserted 564990737 1672224959
22367 emma 3
22368 \emph default
22369 ,
22370  
22371 \change_deleted -712698321 1674903361
22372 p
22373 \change_inserted -712698321 1674903361
22374
22375 \emph on
22376 P
22377 \change_inserted 564990737 1672224959
22378 roposition 4
22379 \emph default
22380 ,
22381  \SpecialChar ldots
22382 ).
22383  The numbering is reset at each chapter start.
22384  
22385 \change_inserted -712698321 1674902715
22386
22387 \end_layout
22388
22389 \begin_layout Standard
22390
22391 \change_inserted 564990737 1672224959
22392 One of the modules 
22393 \family sans
22394 AMS Theorems (Numbered by Type)
22395 \family default
22396  or 
22397 \family sans
22398 Standard Theorems (Numbered by Type)
22399 \family default
22400  must be loaded.
22401  
22402 \change_inserted -712698321 1674902717
22403
22404 \end_layout
22405
22406 \begin_layout Standard
22407
22408 \change_inserted 564990737 1672224959
22409 It cannot be used if any of the modules
22410 \family sans
22411  AMS Theorems
22412 \family default
22413 ,
22414  
22415 \family sans
22416 Standard Theorems
22417 \family default
22418 ,
22419  
22420 \family sans
22421 Standard Theorems (Unnumbered)
22422 \family default
22423 ,
22424
22425 \family sans
22426  Standard Theorems (Numbered by Sections)
22427 \family default
22428  or 
22429 \family sans
22430 Standard Theorems (Numbered by Type within Sections)
22431 \family default
22432  have been loaded.
22433 \end_layout
22434
22435 \begin_layout Subsection
22436
22437 \change_inserted 564990737 1672224959
22438 Standard Theorems (Numbered by Type within Sections) 
22439 \end_layout
22440
22441 \begin_layout Standard
22442
22443 \change_inserted 564990737 1672224959
22444 This module defines some theorem environments for use with non-AMS classes.
22445  Unlike the
22446 \family sans
22447  AMS Theorems
22448 \family default
22449  and 
22450 \family sans
22451 Standard Theorems
22452 \family default
22453  modules,
22454  the different theorem types provided here each have a separate counter (e.g.,
22455  
22456 \change_deleted -712698321 1674902520
22457 t
22458 \change_inserted -712698321 1674902520
22459
22460 \emph on
22461 T
22462 \change_inserted 564990737 1672224959
22463 heorem 1
22464 \emph default
22465 ,
22466  
22467 \change_deleted -712698321 1674902522
22468 t
22469 \change_inserted -712698321 1674902522
22470
22471 \emph on
22472 T
22473 \change_inserted 564990737 1672224959
22474 heorem 2
22475 \emph default
22476 ,
22477  
22478 \change_deleted -712698321 1674902527
22479 l
22480 \change_inserted -712698321 1674902527
22481
22482 \emph on
22483 L
22484 \change_inserted 564990737 1672224959
22485 emma 1
22486 \emph default
22487 ,
22488  
22489 \change_inserted -712698321 1674902529
22490
22491 \emph on
22492 P
22493 \change_deleted -712698321 1674902529
22494 p
22495 \change_inserted 564990737 1672224959
22496 roposition 1
22497 \emph default
22498 ,
22499  
22500 \change_deleted -712698321 1674902532
22501 t
22502 \change_inserted -712698321 1674902532
22503
22504 \emph on
22505 T
22506 \change_inserted 564990737 1672224959
22507 heorem 3
22508 \emph default
22509 ,
22510  
22511 \change_inserted -712698321 1674902535
22512
22513 \emph on
22514 L
22515 \change_deleted -712698321 1674902534
22516 l
22517 \change_inserted 564990737 1672224959
22518 emma 2
22519 \emph default
22520 ,
22521  \SpecialChar ldots
22522 ,
22523  as opposed to 
22524 \change_deleted -712698321 1674902538
22525 t
22526 \change_inserted -712698321 1674902538
22527
22528 \emph on
22529 T
22530 \change_inserted 564990737 1672224959
22531 heorem 1
22532 \emph default
22533 ,
22534  
22535 \change_deleted -712698321 1674902540
22536 t
22537 \change_inserted -712698321 1674902540
22538
22539 \emph on
22540 T
22541 \change_inserted 564990737 1672224959
22542 heorem 2
22543 \emph default
22544 ,
22545  
22546 \change_deleted -712698321 1674902543
22547 l
22548 \change_inserted -712698321 1674902543
22549
22550 \emph on
22551 L
22552 \change_inserted 564990737 1672224959
22553 emma 3
22554 \emph default
22555 ,
22556  
22557 \change_inserted -712698321 1674902545
22558
22559 \emph on
22560 P
22561 \change_deleted -712698321 1674902545
22562 p
22563 \change_inserted 564990737 1672224959
22564 roposition 4
22565 \emph default
22566 ,
22567  \SpecialChar ldots
22568 ).
22569  The numbering is reset at each section start.
22570  
22571 \change_inserted -712698321 1674902574
22572
22573 \end_layout
22574
22575 \begin_layout Standard
22576
22577 \change_inserted 564990737 1672224959
22578 One of the modules 
22579 \family sans
22580 AMS Theorems (Numbered by Type)
22581 \family default
22582  or 
22583 \family sans
22584 Standard Theorems (Numbered by Type)
22585 \family default
22586  must be loaded.
22587  
22588 \change_inserted -712698321 1674902609
22589
22590 \end_layout
22591
22592 \begin_layout Standard
22593
22594 \change_inserted 564990737 1672224959
22595 It cannot be used if any of the modules
22596 \family sans
22597  AMS Theorems
22598 \family default
22599 ,
22600  
22601 \family sans
22602 Standard Theorems
22603 \family default
22604 ,
22605  
22606 \family sans
22607 Standard Theorems (Unnumbered)
22608 \family default
22609 ,
22610
22611 \family sans
22612  Standard Theorems (Numbered by Chapters)
22613 \family default
22614  or 
22615 \family sans
22616 Standard Theorems (Numbered by Type within Chapters)
22617 \family default
22618  have been loaded.
22619 \end_layout
22620
22621 \begin_layout Subsection
22622
22623 \change_inserted 564990737 1672224959
22624 Standard Theorems (Numbered by Type)
22625 \end_layout
22626
22627 \begin_layout Standard
22628
22629 \change_inserted 564990737 1672224959
22630 This module defines some theorem environments for use with non-AMS classes.
22631  Unlike the 
22632 \family sans
22633 AMS Theorems
22634 \family default
22635  and 
22636 \family sans
22637 Standard Theorems
22638 \family default
22639  modules,
22640  the different theorem types provided here each have a separate counter (e.g.,
22641  
22642 \change_deleted -712698321 1674903220
22643 t
22644 \change_inserted -712698321 1674903220
22645
22646 \emph on
22647 T
22648 \change_inserted 564990737 1672224959
22649 heorem 1
22650 \emph default
22651 ,
22652  
22653 \change_deleted -712698321 1674903221
22654 t
22655 \change_inserted -712698321 1674903221
22656
22657 \emph on
22658 T
22659 \change_inserted 564990737 1672224959
22660 heorem 2
22661 \emph default
22662 ,
22663  
22664 \change_deleted -712698321 1674903225
22665 l
22666 \change_inserted -712698321 1674903226
22667
22668 \emph on
22669 L
22670 \change_inserted 564990737 1672224959
22671 emma 1
22672 \emph default
22673 ,
22674  
22675 \change_inserted -712698321 1674903228
22676
22677 \emph on
22678 P
22679 \change_deleted -712698321 1674903228
22680 p
22681 \change_inserted 564990737 1672224959
22682 roposition 1
22683 \emph default
22684 ,
22685  
22686 \change_deleted -712698321 1674903231
22687 t
22688 \change_inserted -712698321 1674903232
22689
22690 \emph on
22691 T
22692 \change_inserted 564990737 1672224959
22693 heorem 3
22694 \emph default
22695 ,
22696  
22697 \change_inserted -712698321 1674903261
22698
22699 \emph on
22700 L
22701 \change_deleted -712698321 1674903233
22702 l
22703 \change_inserted 564990737 1672224959
22704 emma 2
22705 \emph default
22706 ,
22707  \SpecialChar ldots
22708 ,
22709  as opposed to 
22710 \change_deleted -712698321 1674903237
22711 t
22712 \change_inserted -712698321 1674903237
22713
22714 \emph on
22715 T
22716 \change_inserted 564990737 1672224959
22717 heorem 1
22718 \emph default
22719 ,
22720  
22721 \change_deleted -712698321 1674903240
22722 t
22723 \change_inserted -712698321 1674903240
22724
22725 \emph on
22726 T
22727 \change_inserted 564990737 1672224959
22728 heorem 2
22729 \emph default
22730 ,
22731  
22732 \change_deleted -712698321 1674903242
22733 l
22734 \change_inserted -712698321 1674903242
22735
22736 \emph on
22737 L
22738 \change_inserted 564990737 1672224959
22739 emma 3
22740 \emph default
22741 ,
22742  
22743 \change_deleted -712698321 1674903246
22744 p
22745 \change_inserted -712698321 1674903246
22746
22747 \emph on
22748 P
22749 \change_inserted 564990737 1672224959
22750 roposition 4
22751 \emph default
22752 ,
22753  \SpecialChar ldots
22754 ).
22755  The numbering’s scope is the whole document.
22756  For chapter- and section-wide numbering,
22757  use one of the “within Chapters”/“within Sections” modules,
22758  respectively.
22759  
22760 \change_inserted -712698321 1674903280
22761
22762 \end_layout
22763
22764 \begin_layout Standard
22765
22766 \change_inserted 564990737 1672224959
22767 It cannot be used if any of the modules
22768 \family sans
22769  AMS Theorems
22770 \family default
22771 ,
22772  
22773 \family sans
22774 Standard Theorems
22775 \family default
22776 ,
22777  
22778 \family sans
22779 Standard Theorems (Unnumbered)
22780 \family default
22781  or
22782 \family sans
22783  AMS Theorems (Numbered by Type)
22784 \family default
22785  have been loaded.
22786 \end_layout
22787
22788 \begin_layout Subsection
22789
22790 \change_inserted 564990737 1672224959
22791 Standard Theorems (Unnumbered)
22792 \end_layout
22793
22794 \begin_layout Standard
22795
22796 \change_inserted 564990737 1672224959
22797 This module defines only unnumbered theorem environments and the proof environment,
22798  using the extended AMS machinery.
22799  It cannot be used if either of the modules
22800 \family sans
22801  AMS Theorems
22802 \family default
22803  or
22804 \family sans
22805  Standard Theorems
22806 \family default
22807  have been loaded.
22808 \end_layout
22809
22810 \begin_layout Subsection
22811
22812 \change_inserted 564990737 1672224959
22813 Subequations
22814 \end_layout
22815
22816 \begin_layout Standard
22817
22818 \change_inserted 564990737 1672224959
22819 This module provides a straightforward way to segregate subequations in LyX.
22820  See 
22821 \family sans
22822 Help\SpecialChar menuseparator
22823 Math\SpecialChar menuseparator
22824 Subnumbering
22825 \family default
22826 .
22827  
22828 \end_layout
22829
22830 \begin_layout Section
22831
22832 \change_inserted 564990737 1672236008
22833 Page Layout
22834 \end_layout
22835
22836 \begin_layout Subsection
22837
22838 \change_inserted 564990737 1672236008
22839 Custom Header/Footer Text
22840 \end_layout
22841
22842 \begin_layout Standard
22843
22844 \change_inserted 564990737 1672236008
22845 This module requires the 
22846 \family sans
22847 Page
22848 \begin_inset space ~
22849 \end_inset
22850
22851
22852 \bar under
22853 s
22854 \bar default
22855 tyle
22856 \family default
22857  option in the 
22858 \family sans
22859 \bar under
22860 D
22861 \bar default
22862 ocument\SpecialChar menuseparator
22863
22864 \bar under
22865 S
22866 \bar default
22867 ettings\SpecialChar menuseparator
22868 Page
22869 \begin_inset space ~
22870 \end_inset
22871
22872 Layout
22873 \family default
22874  dialog to be set to 
22875 \family typewriter
22876 fancy
22877 \family default
22878 .
22879  It adds six environments to document classes which support the 
22880 \family typewriter
22881 fancyhdr
22882 \family default
22883  package:
22884 \end_layout
22885
22886 \begin_layout Itemize
22887
22888 \change_inserted 564990737 1672236008
22889
22890 \family sans
22891 Left Header
22892 \end_layout
22893
22894 \begin_layout Itemize
22895
22896 \change_inserted 564990737 1672236008
22897
22898 \family sans
22899 Center Header
22900 \end_layout
22901
22902 \begin_layout Itemize
22903
22904 \change_inserted 564990737 1672236008
22905
22906 \family sans
22907 Right Header
22908 \end_layout
22909
22910 \begin_layout Itemize
22911
22912 \change_inserted 564990737 1672236008
22913
22914 \family sans
22915 Left Footer
22916 \end_layout
22917
22918 \begin_layout Itemize
22919
22920 \change_inserted 564990737 1672236008
22921
22922 \family sans
22923 Center Footer
22924 \end_layout
22925
22926 \begin_layout Itemize
22927
22928 \change_inserted 564990737 1672236008
22929
22930 \family sans
22931 Right Footer
22932 \end_layout
22933
22934 \begin_layout Subsubsection
22935
22936 \change_inserted 564990737 1672236008
22937 Fancy Headers and Footers
22938 \end_layout
22939
22940 \begin_layout Standard
22941
22942 \change_inserted 564990737 1672236008
22943 The default page layout is rather plain;
22944  for an
22945 \change_deleted -712698321 1674910295
22946  
22947 \begin_inset Flex Code
22948 status collapsed
22949
22950 \begin_layout Plain Layout
22951
22952 \change_inserted 564990737 1672236008
22953 article
22954 \change_unchanged
22955
22956 \end_layout
22957
22958 \end_inset
22959
22960
22961 \change_inserted 564990737 1672236008
22962  
22963 \change_inserted -712698321 1674910328
22964
22965 \family sans
22966 Article (Standard Class)
22967 \family default
22968  
22969 \change_inserted 564990737 1672236008
22970 document class,
22971  all you get is a centered page number at the bottom of the page.
22972  This document uses
22973 \change_inserted -712698321 1674910381
22974  the
22975 \change_inserted 564990737 1672236008
22976  
22977 \change_deleted -712698321 1674910376
22978 KOMA-script’s book
22979 \change_inserted -712698321 1674910376
22980
22981 \family sans
22982 KOMA-Script Book
22983 \change_inserted 564990737 1672236008
22984
22985 \family default
22986  class;
22987  so it appears to be a bit fancier.
22988  
22989 \change_inserted -712698321 1674910455
22990
22991 \end_layout
22992
22993 \begin_layout Standard
22994
22995 \change_inserted 564990737 1672236008
22996 Once the 
22997 \family sans
22998 Page
22999 \begin_inset space ~
23000 \end_inset
23001
23002
23003 \bar under
23004 s
23005 \bar default
23006 tyle
23007 \family default
23008  in 
23009 \family sans
23010 \bar under
23011 D
23012 \bar default
23013 ocument\SpecialChar menuseparator
23014
23015 \bar under
23016 S
23017 \bar default
23018 ettings\SpecialChar menuseparator
23019 Page Layout
23020 \family default
23021  is set to 
23022 \begin_inset Quotes eld
23023 \end_inset
23024
23025 fancy
23026 \begin_inset Quotes erd
23027 \end_inset
23028
23029 ,
23030  you will find that the page header is divided into three fields,
23031  not surprisingly labeled 
23032 \begin_inset Quotes eld
23033 \end_inset
23034
23035 left
23036 \begin_inset Quotes erd
23037 \end_inset
23038
23039 ,
23040  
23041 \begin_inset Quotes eld
23042 \end_inset
23043
23044 center
23045 \begin_inset Quotes erd
23046 \end_inset
23047
23048 ,
23049  and 
23050 \begin_inset Quotes eld
23051 \end_inset
23052
23053 right
23054 \begin_inset Quotes erd
23055 \end_inset
23056
23057 .
23058  The footer is also divided into these three fields.
23059  The \SpecialChar LaTeX
23060  commands to set these fields in the simplest manner are 
23061 \family typewriter
23062
23063 \backslash
23064 lhead
23065 \family default
23066 ,
23067  
23068 \family typewriter
23069
23070 \backslash
23071 chead
23072 \family default
23073 ,
23074  
23075 \family typewriter
23076
23077 \backslash
23078 rhead
23079 \family default
23080 ,
23081  
23082 \family typewriter
23083
23084 \backslash
23085 lfoot
23086 \family default
23087 ,
23088  etc.
23089  Suppose you wish to put your name in the upper left hand corner of each page.
23090  Simply insert the following command in the preamble:
23091  
23092 \end_layout
23093
23094 \begin_layout LyX-Code
23095
23096 \change_inserted 564990737 1672236008
23097
23098 \backslash
23099 lhead{John Q.
23100  DocWriter}
23101 \end_layout
23102
23103 \begin_layout Standard
23104
23105 \change_inserted 564990737 1672236008
23106 You will now see your name in the upper left.
23107  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,
23108  e.
23109 \begin_inset space \thinspace{}
23110 \end_inset
23111
23112 g.:
23113 \end_layout
23114
23115 \begin_layout LyX-Code
23116
23117 \change_inserted 564990737 1672236008
23118
23119 \backslash
23120 cfoot{}
23121 \end_layout
23122
23123 \begin_layout Standard
23124
23125 \change_inserted 564990737 1672236008
23126 There is,
23127  however,
23128  an easier way to make simple changes.
23129  If you load the 
23130 \family sans
23131 \bar under
23132 D
23133 \bar default
23134 ocument\SpecialChar menuseparator
23135
23136 \bar under
23137 S
23138 \bar default
23139 ettings\SpecialChar menuseparator
23140 Modules\SpecialChar menuseparator
23141 Page Layout\SpecialChar menuseparator
23142 Custom Header/Footer Text
23143 \family default
23144  module,
23145  you will find you have six new environments corresponding to the six fields described above.
23146 \end_layout
23147
23148 \begin_layout Standard
23149
23150 \change_inserted 564990737 1672236008
23151 Let's get really fancy:
23152  lets put the section number with the word 
23153 \begin_inset Quotes eld
23154 \end_inset
23155
23156 Section
23157 \begin_inset Quotes erd
23158 \end_inset
23159
23160  (e.
23161 \begin_inset space \thinspace{}
23162 \end_inset
23163
23164 g.
23165 \begin_inset space \space{}
23166 \end_inset
23167
23168 Section 3) in the upper left,
23169  the page number (e.
23170 \begin_inset space \thinspace{}
23171 \end_inset
23172
23173 g.
23174 \begin_inset space \space{}
23175 \end_inset
23176
23177 Page 4) in the upper right,
23178  your name in the lower left,
23179  and the date in the lower right.
23180  Use your newly enabled environments to add these entries:
23181 \end_layout
23182
23183 \begin_layout Standard
23184
23185 \change_deleted -712698321 1674910975
23186 \begin_inset VSpace defskip
23187 \end_inset
23188
23189
23190 \change_inserted 564990737 1672236008
23191
23192 \end_layout
23193
23194 \begin_layout LyX-Code
23195
23196 \change_inserted 564990737 1672236008
23197
23198 \family sans
23199 Left
23200 \begin_inset space ~
23201 \end_inset
23202
23203 header:
23204
23205 \family default
23206 \series bold
23207  
23208 \family roman
23209 \series default
23210 Section
23211 \family typewriter
23212  
23213 \family default
23214
23215 \backslash
23216 thesection
23217 \end_layout
23218
23219 \begin_layout LyX-Code
23220
23221 \change_inserted 564990737 1672236008
23222
23223 \family sans
23224 Center header:
23225 \end_layout
23226
23227 \begin_layout LyX-Code
23228
23229 \change_inserted 564990737 1672236008
23230
23231 \family sans
23232 Right header:
23233
23234 \family default
23235  
23236 \family roman
23237 Page
23238 \family typewriter
23239  
23240 \family default
23241
23242 \backslash
23243 thepage
23244 \end_layout
23245
23246 \begin_layout LyX-Code
23247
23248 \change_inserted 564990737 1672236008
23249
23250 \family sans
23251 Left footer:
23252
23253 \family default
23254  
23255 \family roman
23256 John Q.
23257  DocWriter
23258 \end_layout
23259
23260 \begin_layout LyX-Code
23261
23262 \change_inserted 564990737 1672236008
23263
23264 \family sans
23265 Center footer:
23266 \end_layout
23267
23268 \begin_layout LyX-Code
23269
23270 \change_inserted 564990737 1672236008
23271
23272 \family sans
23273 Right footer:
23274
23275 \family default
23276 \series bold
23277  
23278 \series default
23279
23280 \backslash
23281 today
23282 \end_layout
23283
23284 \begin_layout Standard
23285
23286 \change_deleted -712698321 1674910976
23287 \begin_inset VSpace defskip
23288 \end_inset
23289
23290
23291 \change_inserted 564990737 1672236008
23292
23293 \end_layout
23294
23295 \begin_layout Standard
23296
23297 \change_inserted 564990737 1672236008
23298 Make sure you enter the commands 
23299 \family typewriter
23300
23301 \backslash
23302 thesection
23303 \family default
23304 ,
23305  
23306 \family typewriter
23307
23308 \backslash
23309 thepage
23310 \family default
23311  and 
23312 \family typewriter
23313
23314 \backslash
23315 today
23316 \family default
23317  as \SpecialChar TeX
23318  Code commands
23319 \series bold
23320 .
23321
23322 \series default
23323  The commands 
23324 \family typewriter
23325
23326 \backslash
23327 thesection
23328 \family default
23329  and
23330 \family typewriter
23331  
23332 \backslash
23333 thepage
23334 \family default
23335  access \SpecialChar LaTeX
23336 ’s section and page counters,
23337  and so print out the current section and page numbers.
23338  
23339 \family typewriter
23340
23341 \backslash
23342 today
23343 \family default
23344  simply prints out today’s date.
23345 \end_layout
23346
23347 \begin_layout Standard
23348
23349 \change_inserted 564990737 1672236008
23350 The thicknesses of the horizontal rules drawn beneath the header and above the footer can also be modified.
23351  If you don't want one of the rules,
23352  set its thickness to 0.
23353  The header rule has a default thickness of 0.4pt,
23354  the footer rule is 0pt.
23355  For this you will need to use \SpecialChar TeX
23356  Code commands like 
23357 \end_layout
23358
23359 \begin_layout Standard
23360
23361 \change_inserted 564990737 1672236008
23362
23363 \family typewriter
23364
23365 \backslash
23366 renewcommand{
23367 \backslash
23368 headrulewidth}{0.4pt}
23369 \family default
23370  and 
23371 \end_layout
23372
23373 \begin_layout Standard
23374
23375 \change_inserted 564990737 1672236008
23376
23377 \family typewriter
23378
23379 \backslash
23380 renewcommand{
23381 \backslash
23382 footrulewidth}{0.4pt}
23383 \family default
23384  to set the thicknesses.
23385 \end_layout
23386
23387 \begin_layout Standard
23388
23389 \change_inserted 564990737 1672236008
23390 You can switch the header/footer settings on and off for individual pages using \SpecialChar TeX
23391  Code commands like 
23392 \family typewriter
23393
23394 \backslash
23395 thispagestyle{empty}
23396 \family default
23397 ,
23398  
23399 \family typewriter
23400
23401 \backslash
23402 thispagestyle{plain}
23403 \family default
23404 ,
23405  and 
23406 \family typewriter
23407
23408 \backslash
23409 thispagestyle{fancy}
23410 \family default
23411 .
23412  Simply insert them in the text on the page you want changed and mark them as \SpecialChar TeX
23413  code.
23414  In fact,
23415  title pages are marked as plain by default,
23416  while following pages are marked fancy when using the global fancy setting.
23417  
23418 \end_layout
23419
23420 \begin_layout Standard
23421
23422 \change_inserted 564990737 1672236008
23423 If you want a header or footer to be on the outer side of a two sided document,
23424  you need to use something like:
23425 \end_layout
23426
23427 \begin_layout LyX-Code
23428
23429 \change_deleted -712698321 1674911361
23430
23431 \family sans
23432 \begin_inset Flex Strong
23433 status collapsed
23434
23435 \begin_layout Plain Layout
23436
23437 \change_inserted 564990737 1672236008
23438
23439 \family sans
23440 \series medium
23441
23442 \backslash
23443 fancyfoot{}
23444 \change_unchanged
23445
23446 \end_layout
23447
23448 \end_inset
23449
23450
23451 \change_inserted -712698321 1674911361
23452
23453 \family default
23454
23455 \backslash
23456 fancyfoot{}
23457 \change_unchanged
23458
23459 \end_layout
23460
23461 \begin_layout LyX-Code
23462
23463 \change_deleted -712698321 1674911364
23464
23465 \family sans
23466 \begin_inset Flex Strong
23467 status collapsed
23468
23469 \begin_layout Plain Layout
23470
23471 \change_inserted 564990737 1672236008
23472
23473 \family sans
23474 \series medium
23475
23476 \backslash
23477 fancyfoot[LE,RO]{
23478 \backslash
23479 thepage}
23480 \change_unchanged
23481
23482 \end_layout
23483
23484 \end_inset
23485
23486
23487 \change_inserted -712698321 1674911364
23488
23489 \family default
23490
23491 \backslash
23492 fancyfoot[LE,RO]{
23493 \backslash
23494 thepage}
23495 \change_unchanged
23496
23497 \end_layout
23498
23499 \begin_layout Standard
23500
23501 \change_inserted 564990737 1672236008
23502 The first command clears all existing footers avoiding any conflicts with your new command.
23503 \end_layout
23504
23505 \begin_layout Standard
23506
23507 \change_inserted 564990737 1672236008
23508 You can enter any of these commands,
23509  the simpler ones in any of your new environments,
23510  the more complex ones as \SpecialChar TeX
23511  Code commands,
23512  at any point in your document and they will take effect on the next page.
23513 \end_layout
23514
23515 \begin_layout Standard
23516
23517 \change_inserted 564990737 1672236008
23518 As a final example,
23519  it is possible to include an image in the header or footer.
23520  Suppose you want to put a company logo in the upper left hand corner.
23521  You might try something like
23522 \change_inserted -712698321 1674911745
23523  this in 
23524 \family sans
23525 Document\SpecialChar menuseparator
23526 Settings\SpecialChar menuseparator
23527 LaTeX Preamble
23528 \family default
23529 :
23530 \change_inserted 564990737 1672236008
23531
23532 \end_layout
23533
23534 \begin_layout LyX-Code
23535
23536 \change_inserted 564990737 1672236008
23537
23538 \backslash
23539 lhead{
23540 \backslash
23541 resizebox{1in}{!}{
23542 \backslash
23543 includegraphics{logo.
23544 \change_deleted -712698321 1674911807
23545 eps
23546 \change_inserted -712698321 1674911807
23547 png
23548 \change_inserted 564990737 1672236008
23549 }}}
23550 \end_layout
23551
23552 \begin_layout Standard
23553 \noindent
23554
23555 \change_deleted -712698321 1674911836
23556 (y
23557 \change_inserted -712698321 1674911837
23558 Y
23559 \change_inserted 564990737 1672236008
23560 ou may need to preface this with 
23561 \family typewriter
23562
23563 \backslash
23564 usepackage{graphics}
23565 \family default
23566  if you don't include graphics elsewhere in your document
23567 \change_deleted -712698321 1674911839
23568 )
23569 \change_inserted 564990737 1672236008
23570 .
23571 \end_layout
23572
23573 \begin_layout Standard
23574
23575 \change_inserted 564990737 1672236008
23576 For more information on fancy headers,
23577  you can get the 
23578 \begin_inset Flex Code
23579 status collapsed
23580
23581 \begin_layout Plain Layout
23582
23583 \change_inserted 564990737 1672236008
23584 fancyhdr
23585 \change_unchanged
23586
23587 \end_layout
23588
23589 \end_inset
23590
23591  documentation from 
23592 \begin_inset CommandInset href
23593 LatexCommand href
23594 name "CTAN"
23595 target "http://www.ctan.org/pkg/fancyhdr"
23596 literal "false"
23597
23598 \end_inset
23599
23600 .
23601  
23602 \end_layout
23603
23604 \begin_layout Subsection
23605
23606 \change_inserted 564990737 1672236008
23607 Landscape Document Parts
23608 \end_layout
23609
23610 \begin_layout Standard
23611
23612 \change_inserted 564990737 1672236008
23613 This module outputs parts of the document in landscape mode using 
23614 \family sans
23615 Insert\SpecialChar menuseparator
23616 Custom Insets\SpecialChar menuseparator
23617 Landscape
23618 \family default
23619  or 
23620 \family sans
23621 Insert\SpecialChar menuseparator
23622 Custom Insets\SpecialChar menuseparator
23623 Landscape (Floating)
23624 \family default
23625 .
23626 \end_layout
23627
23628 \begin_layout Subsection
23629
23630 \change_inserted 564990737 1672236008
23631 \begin_inset CommandInset label
23632 LatexCommand label
23633 name "sec:Multiple-Columns"
23634
23635 \end_inset
23636
23637 Multiple Columns
23638 \end_layout
23639
23640 \begin_layout Standard
23641
23642 \change_inserted 564990737 1672236008
23643 This module uses the 
23644 \family sans
23645 multicol
23646 \family default
23647
23648 \begin_inset Index idx
23649 range none
23650 pageformat default
23651 status collapsed
23652
23653 \begin_layout Plain Layout
23654
23655 \change_inserted 564990737 1672236008
23656 \SpecialChar LaTeX
23657 -packages !
23658  multicol
23659 \change_unchanged
23660
23661 \end_layout
23662
23663 \end_inset
23664
23665  package and is independent of the option 
23666 \family sans
23667 Two-
23668 \bar under
23669 c
23670 \bar default
23671 olumn document
23672 \family default
23673  in the 
23674 \family sans
23675 \bar under
23676 D
23677 \bar default
23678 ocument\SpecialChar menuseparator
23679
23680 \bar under
23681 S
23682 \bar default
23683 ettings\SpecialChar menuseparator
23684 Text
23685 \begin_inset space ~
23686 \end_inset
23687
23688 Layout
23689 \family default
23690  dialog.
23691  If you want to have two columns for the whole document,
23692  you are recommended to use the 
23693 \family sans
23694 Two-
23695 \bar under
23696 c
23697 \bar default
23698 olumn document
23699 \family default
23700  option.
23701  For all other cases use this module.
23702 \change_deleted 564990737 1672236008
23703 Multiple Text Columns
23704 \end_layout
23705
23706 \begin_layout Standard
23707
23708 \change_deleted 564990737 1672236008
23709 This feature is independent of the option 
23710 \family sans
23711 Two-column document
23712 \family default
23713  in the document settings under 
23714 \family sans
23715 Text Layout
23716 \family default
23717 .
23718  If you want to have 2
23719 \begin_inset space ~
23720 \end_inset
23721
23722 columns for the whole document,
23723  it is recommended to use the 
23724 \family sans
23725 Two-column document
23726 \family default
23727  option.
23728  For all other cases use this feature.
23729 \end_layout
23730
23731 \begin_layout Standard
23732
23733 \change_deleted 564990737 1672236008
23734 To use multiple text columns in your document,
23735  you have to load the module 
23736 \family sans
23737 Multiple Columns
23738 \family default
23739  (menu 
23740 \family sans
23741 Document\SpecialChar menuseparator
23742 Settings\SpecialChar menuseparator
23743 Modules
23744 \family default
23745 ) and must have the \SpecialChar LaTeX
23746 -package 
23747 \begin_inset Flex Code
23748 status collapsed
23749
23750 \begin_layout Plain Layout
23751 multicol
23752 \end_layout
23753
23754 \end_inset
23755
23756  installed.
23757 \change_unchanged
23758
23759 \end_layout
23760
23761 \begin_layout Standard
23762 Footnotes within multiple columns will be placed at the bottom of the page and not under each column.
23763  Within the different columns you can use everything,
23764  with the limitation that for floats you need to 
23765 \change_deleted 564990737 1672236179
23766 use the float option 
23767 \family sans
23768 Span columns
23769 \change_inserted 564990737 1672236179
23770
23771 \family default
23772 check the option 
23773 \family sans
23774 \bar under
23775 S
23776 \bar default
23777 pan
23778 \begin_inset space ~
23779 \end_inset
23780
23781 columns
23782 \family default
23783  in 
23784 \family sans
23785 \bar under
23786 E
23787 \bar default
23788 dit\SpecialChar menuseparator
23789 Flo
23790 \bar under
23791 a
23792 \bar default
23793 t
23794 \begin_inset space ~
23795 \end_inset
23796
23797 Settings
23798 \change_unchanged
23799
23800 \family default
23801 .
23802 \end_layout
23803
23804 \begin_layout Subsubsection
23805 Basics
23806 \end_layout
23807
23808 \begin_layout Standard
23809 If you want to have 
23810 \change_deleted -712698321 1674912320
23811 2
23812 \change_inserted -712698321 1674912321
23813 two
23814 \change_deleted -712698321 1674912322
23815
23816 \begin_inset space ~
23817 \end_inset
23818
23819
23820 \change_inserted -712698321 1674912322
23821  
23822 \change_unchanged
23823 columns in your text,
23824  insert a multicolumn inset via the menu 
23825 \family sans
23826 Insert\SpecialChar menuseparator
23827 Custom
23828 \begin_inset space ~
23829 \end_inset
23830
23831 Insets\SpecialChar menuseparator
23832 Multiple
23833 \begin_inset space ~
23834 \end_inset
23835
23836 Columns
23837 \family default
23838  where the columns should start.
23839  Write all text that should be printed in 2
23840 \begin_inset space ~
23841 \end_inset
23842
23843 columns into this inset.
23844 \end_layout
23845
23846 \begin_layout Standard
23847 Here is an example:
23848 \end_layout
23849
23850 \begin_layout Standard
23851 \noindent
23852 \begin_inset Flex Multiple Columns
23853 status open
23854
23855 \begin_layout Plain Layout
23856 \noindent
23857
23858 \series bold
23859 \size small
23860 The Adventure of the Empty House
23861 \series default
23862
23863 \begin_inset Newline newline
23864 \end_inset
23865
23866 by 
23867 \noun on
23868 Sir Arthur Conan Doyle
23869 \end_layout
23870
23871 \begin_layout Plain Layout
23872
23873 \size small
23874 It was in the spring of the year 1894 that all London was interested,
23875  and the fashionable world dismayed,
23876  by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
23877  The public has already learned those particulars of the crime which came out in the police investigation,
23878  but a good deal was suppressed upon that occasion,
23879  since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
23880  Only now,
23881  at the end of nearly ten years,
23882  am I allowed to supply those missing links which make up the whole of that remarkable chain.
23883  The crime was of interest in itself,
23884  but that interest was as nothing to me compared to the inconceivable sequel,
23885  which afforded me the greatest shock and surprise of any event in my adventurous life.
23886  Even now,
23887  after this long interval,
23888  I find myself thrilling as I think of it,
23889  and feeling once more that sudden flood of joy,
23890  amazement,
23891  and incredulity which utterly submerged my mind.
23892  Let me say to that public,
23893  which has shown some interest in those glimpses which I have occasionally given them of the thoughts and actions of a very remarkable man,
23894  that they are not to blame me if I have not shared my knowledge with them,
23895  for I should have considered it my first duty to do so,
23896  had I not been barred by a positive prohibition from his own lips,
23897  which was only withdrawn upon the third of last month.
23898 \end_layout
23899
23900 \end_inset
23901
23902
23903 \end_layout
23904
23905 \begin_layout Standard
23906 To get 3 or more columns,
23907  set the cursor into the multicolumn inset and use the menu 
23908 \family sans
23909 Insert\SpecialChar menuseparator
23910 Number
23911 \begin_inset space ~
23912 \end_inset
23913
23914 of
23915 \begin_inset space ~
23916 \end_inset
23917
23918 Columns
23919 \family default
23920 .
23921  The number of the desired columns is written into that inset (for 3
23922 \begin_inset space ~
23923 \end_inset
23924
23925 columns write 
23926 \begin_inset Quotes eld
23927 \end_inset
23928
23929 3
23930 \begin_inset Quotes erd
23931 \end_inset
23932
23933 ).
23934 \begin_inset Newline newline
23935 \end_inset
23936
23937 Here is an example with 3
23938 \begin_inset space ~
23939 \end_inset
23940
23941 columns:
23942 \end_layout
23943
23944 \begin_layout Standard
23945 \begin_inset Flex Multiple Columns
23946 status open
23947
23948 \begin_layout Plain Layout
23949
23950 \size footnotesize
23951 \begin_inset Argument 1
23952 status open
23953
23954 \begin_layout Plain Layout
23955
23956 3
23957 \end_layout
23958
23959 \end_inset
23960
23961 It can be imagined that my close intimacy with Sherlock Holmes had interested me deeply in crime,
23962  and that after his disappearance I never failed to read with care the various problems which came before the public.
23963  And I even attempted,
23964  more than once,
23965  for my own private satisfaction,
23966  to employ his methods in their solution,
23967  though with indifferent success.
23968  There was none,
23969  however,
23970  which appealed to me like this tragedy of Ronald Adair.
23971  As I read the evidence at the inquest,
23972  which led up to a verdict of willful murder against some person or persons unknown,
23973  I realized more clearly than I had ever done the loss which the community had sustained by the death of Sherlock Holmes.
23974  There were points about this strange business which would,
23975  I was sure,
23976  have specially appealed to him,
23977  and the efforts of the police would have been supplemented,
23978  or more probably anticipated,
23979  by the trained observation and the alert mind of the first criminal agent in Europe.
23980  All day,
23981  as I drove upon my round,
23982  I turned over the case in my mind and found no explanation which appeared to me to be adequate.
23983  At the risk of telling a twice-told tale,
23984  I will recapitulate the facts as they were known to the public at the conclusion of the inquest.
23985 \end_layout
23986
23987 \end_inset
23988
23989
23990 \end_layout
23991
23992 \begin_layout Standard
23993 You can have up to 10
23994 \begin_inset space ~
23995 \end_inset
23996
23997 columns if you want to,
23998  but that might not be very pleasant for the readers of your document.
23999 \end_layout
24000
24001 \begin_layout Standard
24002
24003 \change_deleted 564990737 1672236245
24004 \begin_inset Newpage newpage
24005 \end_inset
24006
24007
24008 \change_unchanged
24009
24010 \end_layout
24011
24012 \begin_layout Subsubsection
24013 Columns inside Columns
24014 \end_layout
24015
24016 \begin_layout Standard
24017 You can also have columns inside columns:
24018 \end_layout
24019
24020 \begin_layout Standard
24021 \begin_inset Flex Multiple Columns
24022 status open
24023
24024 \begin_layout Plain Layout
24025
24026 \size footnotesize
24027 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
24028  at that time governor of one of the Australian colonies.
24029  Adair's mother had returned from Australia to undergo the operation for cataract,
24030  and she,
24031  her son Ronald,
24032  and her daughter Hilda were living together at 427 Park Lane.
24033 \end_layout
24034
24035 \begin_layout Plain Layout
24036 \begin_inset Flex Multiple Columns
24037 status open
24038
24039 \begin_layout Plain Layout
24040
24041 \size footnotesize
24042 The youth moved in the best society
24043 \begin_inset space ~
24044 \end_inset
24045
24046 – had,
24047  so far as was known,
24048  no enemies and no particular vices.
24049  He had been engaged to Miss Edith Woodley,
24050  of Carstairs,
24051  but the engagement had been broken off by mutual consent some months before,
24052  and there was no sign that it had left any very profound feeling behind it.
24053  For the rest {sic} the man's life moved in a narrow and conventional circle,
24054  for his habits were quiet and his nature unemotional.
24055  Yet it was upon this easy-going young aristocrat that death came,
24056  in most strange and unexpected form,
24057  between the hours of ten and eleven-twenty on the night of March 30,
24058  1894.
24059 \end_layout
24060
24061 \end_inset
24062
24063
24064 \end_layout
24065
24066 \begin_layout Plain Layout
24067
24068 \size footnotesize
24069 Ronald Adair was fond of cards
24070 \begin_inset space ~
24071 \end_inset
24072
24073 – playing continually,
24074  but never for such stakes as would hurt him.
24075  He was a member of the Baldwin,
24076  the Cavendish,
24077  and the Bagatelle card clubs.
24078  It was shown that,
24079  after dinner on the day of his death,
24080  he had played a rubber of whist at the latter club.
24081  He had also played there in the afternoon.
24082
24083 \size default
24084  
24085 \size footnotesize
24086 The evidence of those who had played with him
24087 \begin_inset space ~
24088 \end_inset
24089
24090 – Mr.
24091  Murray,
24092  Sir John Hardy,
24093  and Colonel Moran
24094 \begin_inset space ~
24095 \end_inset
24096
24097 – showed that the game was whist,
24098  and that there was a fairly equal fall of the cards.
24099  Adair might have lost five pounds,
24100  but not more.
24101  His fortune was a considerable one,
24102  and such a loss could not in any way affect him.
24103  He had played nearly every day at one club or other,
24104  but he was a cautious player,
24105  and usually rose a winner.
24106  It came out in evidence that,
24107  in partnership with Colonel Moran,
24108  he had actually won as much as four hundred and twenty pounds in a sitting,
24109  some weeks before,
24110  from Godfrey Milner and Lord Balmoral.
24111  So much for his recent history as it came out at the inquest.
24112 \end_layout
24113
24114 \end_inset
24115
24116
24117 \end_layout
24118
24119 \begin_layout Subsubsection
24120 Advanced Examples
24121 \end_layout
24122
24123 \begin_layout Standard
24124 The examples in this section show some more special features of multiple columns.
24125 \end_layout
24126
24127 \begin_layout Standard
24128 For more features of multiple columns,
24129  have a look at the 
24130 \begin_inset CommandInset href
24131 LatexCommand href
24132 name "documentation"
24133 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
24134 literal "false"
24135
24136 \end_inset
24137
24138  of the \SpecialChar LaTeX
24139 -package 
24140 \begin_inset Flex Code
24141 status collapsed
24142
24143 \begin_layout Plain Layout
24144 multicol
24145 \end_layout
24146
24147 \end_inset
24148
24149 .
24150 \end_layout
24151
24152 \begin_layout Paragraph
24153 Preface
24154 \end_layout
24155
24156 \begin_layout Standard
24157 To add a preface text for multiple columns,
24158  set the cursor into the multicolumn inset and use the menu 
24159 \family sans
24160 Insert\SpecialChar menuseparator
24161 Preface
24162 \family default
24163 .
24164  Write your preface text into that inset.
24165 \begin_inset Newline newline
24166 \end_inset
24167
24168 This is an example with some preface text:
24169 \end_layout
24170
24171 \begin_layout Standard
24172 \begin_inset VSpace bigskip
24173 \end_inset
24174
24175
24176 \end_layout
24177
24178 \begin_layout Standard
24179 \begin_inset Flex Multiple Columns
24180 status open
24181
24182 \begin_layout Plain Layout
24183 \begin_inset Argument 2
24184 status open
24185
24186 \begin_layout Plain Layout
24187 And the story continues and continues and continues and continues\SpecialChar ldots
24188
24189 \end_layout
24190
24191 \end_inset
24192
24193
24194 \size small
24195 On the evening of the crime,
24196  he returned from the club exactly at ten.
24197  His mother and sister were out spending the evening with a relation.
24198  The servant deposed that she heard him enter the front room on the second floor,
24199  generally used as his sitting-room.
24200  She had lit a fire there,
24201  and as it smoked she had opened the window.
24202  No sound was heard from the room until eleven-twenty,
24203  the hour of the return of Lady Maynooth and her daughter.
24204  Desiring to say good-night,
24205  she attempted to enter her son's room.
24206  The door was locked on the inside,
24207  and no answer could be got to their cries and knocking.
24208  Help was obtained,
24209  and the door forced.
24210  The unfortunate young man was found lying near the table.
24211  His head had been horribly mutilated by an expanding revolver bullet,
24212  but no weapon of any sort was to be found in the room.
24213 \end_layout
24214
24215 \end_inset
24216
24217
24218 \end_layout
24219
24220 \begin_layout Standard
24221 You can also use a section heading as the preface if you use a section command as \SpecialChar TeX
24222  Code.
24223  For example the command
24224 \end_layout
24225
24226 \begin_layout LyX-Code
24227
24228 \backslash
24229 subsection{subsection title}
24230 \end_layout
24231
24232 \begin_layout Standard
24233 creates a subsection.
24234  In this example the preface is a subsubsection:
24235 \end_layout
24236
24237 \begin_layout Standard
24238 \begin_inset Flex Multiple Columns
24239 status open
24240
24241 \begin_layout Plain Layout
24242 \begin_inset Argument 2
24243 status open
24244
24245 \begin_layout Plain Layout
24246 \begin_inset ERT
24247 status collapsed
24248
24249 \begin_layout Plain Layout
24250
24251
24252 \backslash
24253 subsubsection{
24254 \end_layout
24255
24256 \end_inset
24257
24258 This is a subsubsection heading as a preface
24259 \begin_inset ERT
24260 status collapsed
24261
24262 \begin_layout Plain Layout
24263
24264 }
24265 \end_layout
24266
24267 \end_inset
24268
24269
24270 \end_layout
24271
24272 \end_inset
24273
24274
24275 \size small
24276 A minute examination of the circumstances served only to make the case more complex.
24277  In the first place,
24278  no reason could be given why the young man should have fastened the door upon the inside.
24279  There was the possibility that the murderer had done this,
24280  and had afterwards escaped by the window.
24281  The drop was at least twenty feet,
24282  however,
24283  and a bed of crocuses in full bloom lay beneath.
24284  Neither the flowers nor the earth showed any sign of having been disturbed,
24285  nor were there any marks upon the narrow strip of grass which separated the house from the road.
24286  Apparently,
24287  therefore,
24288  it was the young man himself who had fastened the door.
24289  But how did he come by his death?
24290  No one could have climbed up to the window without leaving traces.
24291  Suppose a man had fired through the window,
24292  he would indeed be a remarkable shot who could with a revolver inflict so deadly a wound.
24293  Again,
24294  Park Lane is a frequented thoroughfare;
24295  there is a cab stand within a hundred yards of the house.
24296  No one had heard a shot.
24297 \end_layout
24298
24299 \end_inset
24300
24301
24302 \end_layout
24303
24304 \begin_layout Standard
24305 If there is less vertical space than 
24306 \change_deleted -712698321 1674913194
24307 6
24308 \begin_inset space ~
24309 \end_inset
24310
24311
24312 \change_inserted -712698321 1674913195
24313 six 
24314 \change_unchanged
24315 text lines is left on the page at the beginning of the multiple columns,
24316  a page break will be inserted before the multiple columns.
24317  Depending on the number of lines of the preface text,
24318  you might want to change this space.
24319  This is done by setting the cursor into the mulitcolumn inset behind the preface (if there is any) and using the menu 
24320 \family sans
24321 Insert\SpecialChar menuseparator
24322 Space
24323 \begin_inset space ~
24324 \end_inset
24325
24326 Before
24327 \begin_inset space ~
24328 \end_inset
24329
24330 Page
24331 \begin_inset space ~
24332 \end_inset
24333
24334 Break
24335 \family default
24336 .
24337  Insert into that inset the amount of space like e.
24338 \begin_inset space \thinspace{}
24339 \end_inset
24340
24341 g.
24342 \begin_inset space \space{}
24343 \end_inset
24344
24345
24346 \begin_inset Quotes eld
24347 \end_inset
24348
24349 5cm
24350 \begin_inset Quotes erd
24351 \end_inset
24352
24353 .
24354 \begin_inset Newline newline
24355 \end_inset
24356
24357 In this example the space is set to 7
24358 \begin_inset space ~
24359 \end_inset
24360
24361 text lines by using 
24362 \begin_inset Flex Code
24363 status collapsed
24364
24365 \begin_layout Plain Layout
24366 7
24367 \backslash
24368 baselineskip
24369 \end_layout
24370
24371 \end_inset
24372
24373  (where the command 
24374 \begin_inset Flex Code
24375 status collapsed
24376
24377 \begin_layout Plain Layout
24378
24379 \backslash
24380 baselineskip
24381 \end_layout
24382
24383 \end_inset
24384
24385  needs to be inserted as \SpecialChar TeX
24386  code):
24387 \end_layout
24388
24389 \begin_layout Standard
24390 \begin_inset Flex Multiple Columns
24391 status open
24392
24393 \begin_layout Plain Layout
24394 \begin_inset Argument 3
24395 status open
24396
24397 \begin_layout Plain Layout
24398 7
24399 \begin_inset ERT
24400 status collapsed
24401
24402 \begin_layout Plain Layout
24403
24404
24405 \backslash
24406 baselineskip
24407 \end_layout
24408
24409 \end_inset
24410
24411
24412 \end_layout
24413
24414 \end_inset
24415
24416
24417 \size small
24418 On the evening of the crime,
24419  he returned from the club exactly at ten.
24420  His mother and sister were out spending the evening with a relation.
24421  The servant deposed that she heard him enter the front room on the second floor,
24422  generally used as his sitting-room.
24423  She had lit a fire there,
24424  and as it smoked she had opened the window.
24425  No sound was heard from the room until eleven-twenty,
24426  the hour of the return of Lady Maynooth and her daughter.
24427  Desiring to say good-night,
24428  she attempted to enter her son's room.
24429  The door was locked on the inside,
24430  and no answer could be got to their cries and knocking.
24431  Help was obtained,
24432  and the door forced.
24433  The unfortunate young man was found lying near the table.
24434  His head had been horribly mutilated by an expanding revolver bullet,
24435  but no weapon of any sort was to be found in the room.
24436 \end_layout
24437
24438 \end_inset
24439
24440
24441 \end_layout
24442
24443 \begin_layout Paragraph
24444 Surrounding Space
24445 \end_layout
24446
24447 \begin_layout Standard
24448 The amount of space before and after multiple columns can be changed by changing the length 
24449 \begin_inset Flex Code
24450 status collapsed
24451
24452 \begin_layout Plain Layout
24453
24454 \backslash
24455 multicolsep
24456 \end_layout
24457
24458 \end_inset
24459
24460 .
24461  For example the command
24462 \end_layout
24463
24464 \begin_layout LyX-Code
24465
24466 \backslash
24467 setlength{
24468 \backslash
24469 multicolsep}{3cm}
24470 \end_layout
24471
24472 \begin_layout Standard
24473 in \SpecialChar TeX
24474  Code changes its value to 3
24475 \begin_inset space \thinspace{}
24476 \end_inset
24477
24478 cm.
24479  The change must be made before the multiple columns' start.
24480  The predefined value is 13
24481 \begin_inset space \thinspace{}
24482 \end_inset
24483
24484 pt.
24485 \end_layout
24486
24487 \begin_layout Standard
24488 For this example 
24489 \begin_inset Flex Code
24490 status collapsed
24491
24492 \begin_layout Plain Layout
24493
24494 \backslash
24495 multicolsep
24496 \end_layout
24497
24498 \end_inset
24499
24500  was set to 2.5
24501 \begin_inset space \thinspace{}
24502 \end_inset
24503
24504 cm:
24505 \end_layout
24506
24507 \begin_layout Standard
24508 \begin_inset ERT
24509 status open
24510
24511 \begin_layout Plain Layout
24512
24513
24514 \backslash
24515 setlength{
24516 \backslash
24517 multicolsep}{2.5cm}
24518 \end_layout
24519
24520 \end_inset
24521
24522
24523 \end_layout
24524
24525 \begin_layout Standard
24526 \begin_inset Flex Multiple Columns
24527 status open
24528
24529 \begin_layout Plain Layout
24530
24531 \size small
24532 All day I turned these facts over in my mind,
24533  endeavouring to hit upon some theory which could reconcile them all,
24534  and to find that line of least resistance which my poor friend had declared to be the starting-point of every investigation.
24535  I confess that I made little progress.
24536  In the evening I strolled across the Park,
24537  and found myself about six o'clock at the Oxford Street end of Park Lane.
24538  A group of loafers upon the pavements,
24539  all staring up at a particular window,
24540  directed me to the house which I had come to see.
24541  A tall,
24542  thin man with coloured glasses,
24543  whom I strongly suspected of being a plain-clothes detective,
24544  was pointing out some theory of his own,
24545  while the others crowded round to listen to what he said.
24546  I got as near him as I could,
24547  but his observations seemed to me to be absurd,
24548  so I withdrew again in some disgust.
24549  As I did so I struck against an elderly,
24550  deformed man,
24551  who had been behind me,
24552  and I knocked down several books which he was carrying.
24553 \end_layout
24554
24555 \end_inset
24556
24557
24558 \end_layout
24559
24560 \begin_layout Standard
24561 \begin_inset Note Greyedout
24562 status open
24563
24564 \begin_layout Plain Layout
24565
24566 \series bold
24567 Note:
24568
24569 \series default
24570  The values you set with 
24571 \begin_inset Flex Code
24572 status collapsed
24573
24574 \begin_layout Plain Layout
24575
24576 \backslash
24577 setlength
24578 \end_layout
24579
24580 \end_inset
24581
24582  will be used for all following multiple columns until you change them again.
24583 \end_layout
24584
24585 \end_inset
24586
24587
24588 \end_layout
24589
24590 \begin_layout Standard
24591 \begin_inset ERT
24592 status collapsed
24593
24594 \begin_layout Plain Layout
24595
24596
24597 \backslash
24598 setlength{
24599 \backslash
24600 multicolsep}{13pt}
24601 \end_layout
24602
24603 \end_inset
24604
24605
24606 \begin_inset Note Note
24607 status collapsed
24608
24609 \begin_layout Plain Layout
24610 go back to the default
24611 \end_layout
24612
24613 \end_inset
24614
24615
24616 \end_layout
24617
24618 \begin_layout Standard
24619
24620 \change_deleted 564990737 1672236355
24621 \begin_inset Newpage newpage
24622 \end_inset
24623
24624
24625 \change_unchanged
24626
24627 \end_layout
24628
24629 \begin_layout Paragraph
24630 Column Breaks
24631 \end_layout
24632
24633 \begin_layout Standard
24634 A column break can be forced by inserting the command 
24635 \begin_inset Flex Code
24636 status collapsed
24637
24638 \begin_layout Plain Layout
24639
24640 \backslash
24641 columnbreak{}
24642 \end_layout
24643
24644 \end_inset
24645
24646  as \SpecialChar TeX
24647  Code to that position in the text where the column should be broken.
24648  Note that this leads in most cases to whitespace in the text.
24649 \begin_inset Newline newline
24650 \end_inset
24651
24652 Here is an example:
24653 \end_layout
24654
24655 \begin_layout Standard
24656 \begin_inset Flex Multiple Columns
24657 status open
24658
24659 \begin_layout Plain Layout
24660
24661 \size small
24662 \begin_inset Quotes eld
24663 \end_inset
24664
24665 You're surprised to see me,
24666  sir,
24667 \begin_inset Quotes erd
24668 \end_inset
24669
24670  said he,
24671  in a strange,
24672  croaking voice.
24673 \end_layout
24674
24675 \begin_layout Plain Layout
24676
24677 \size small
24678 I acknowledged that I was.
24679 \end_layout
24680
24681 \begin_layout Plain Layout
24682
24683 \size small
24684 \begin_inset Quotes eld
24685 \end_inset
24686
24687 Well,
24688  I've a conscience,
24689  sir,
24690  and when I chanced to see you go into this house,
24691  as I came hobbling after you,
24692  I thought to myself,
24693  I'll just step in and see that kind gentleman,
24694  and tell him that if I was a bit gruff in my manner there was not any harm meant,
24695  and that I am much obliged to him for picking up my books.
24696 \begin_inset Quotes erd
24697 \end_inset
24698
24699
24700 \end_layout
24701
24702 \begin_layout Plain Layout
24703
24704 \size small
24705 \begin_inset Quotes eld
24706 \end_inset
24707
24708 You make too much of a trifle,
24709 \begin_inset Quotes erd
24710 \end_inset
24711
24712  said I.
24713  
24714 \begin_inset Quotes eld
24715 \end_inset
24716
24717 May I ask how you knew who I was?
24718 \begin_inset Quotes erd
24719 \end_inset
24720
24721  AFTER THIS SENTENCE THE COLUMN BREAK IS FORCED.
24722 \begin_inset ERT
24723 status collapsed
24724
24725 \begin_layout Plain Layout
24726
24727
24728 \backslash
24729 columnbreak{}
24730 \end_layout
24731
24732 \end_inset
24733
24734
24735 \end_layout
24736
24737 \begin_layout Plain Layout
24738
24739 \size small
24740 \begin_inset Quotes eld
24741 \end_inset
24742
24743 Well,
24744  sir,
24745  if it isn't too great a liberty,
24746  I am a neighbour of yours,
24747  for you'll find my little bookshop at the corner of Church Street,
24748  and very happy to see you,
24749  I am sure.
24750  Maybe you collect yourself,
24751  sir.
24752  Here's 
24753 \noun on
24754 British
24755 \begin_inset space ~
24756 \end_inset
24757
24758 Birds
24759 \noun default
24760 ,
24761  and 
24762 \noun on
24763 Catullus
24764 \noun default
24765 ,
24766  and 
24767 \noun on
24768 The Holy War
24769 \noun default
24770
24771 \begin_inset space ~
24772 \end_inset
24773
24774 – a bargain,
24775  every one of them.
24776  With five volumes you could just fill that gap on that second shelf.
24777  It looks untidy,
24778  does it not,
24779  sir?
24780 \begin_inset Quotes erd
24781 \end_inset
24782
24783
24784 \end_layout
24785
24786 \end_inset
24787
24788
24789 \end_layout
24790
24791 \begin_layout Paragraph
24792 Column Separation
24793 \end_layout
24794
24795 \begin_layout Standard
24796 The width of the columns is automatically calculated,
24797  but you can modify the space between the columns.
24798  This is done by changing the length 
24799 \begin_inset Flex Code
24800 status collapsed
24801
24802 \begin_layout Plain Layout
24803
24804 \backslash
24805 columnsep
24806 \end_layout
24807
24808 \end_inset
24809
24810 .
24811  Its predefined value is 10
24812 \begin_inset space \thinspace{}
24813 \end_inset
24814
24815 pt.
24816  Here is an example where 
24817 \begin_inset Flex Code
24818 status collapsed
24819
24820 \begin_layout Plain Layout
24821
24822 \backslash
24823 columnsep
24824 \end_layout
24825
24826 \end_inset
24827
24828  is set to 3
24829 \begin_inset space \thinspace{}
24830 \end_inset
24831
24832 cm:
24833 \end_layout
24834
24835 \begin_layout Standard
24836 \begin_inset ERT
24837 status open
24838
24839 \begin_layout Plain Layout
24840
24841
24842 \backslash
24843 setlength{
24844 \backslash
24845 columnsep}{3cm}
24846 \end_layout
24847
24848 \end_inset
24849
24850
24851 \end_layout
24852
24853 \begin_layout Standard
24854 \begin_inset Flex Multiple Columns
24855 status open
24856
24857 \begin_layout Plain Layout
24858
24859 \size small
24860 My observations of No.
24861 \begin_inset space \space{}
24862 \end_inset
24863
24864 427 Park Lane did little to clear up the problem in which I was interested.
24865  The house was separated from the street by a low wall and railing,
24866  the whole not more than five feet high.
24867  It was perfectly easy,
24868  therefore,
24869  for anyone to get into the garden,
24870  but the window was entirely inaccessible,
24871  since there was no water pipe or anything which could help the most active man to climb it.
24872  More puzzled than ever,
24873  I retraced my steps to Kensington.
24874  I had not been in my study five minutes when the maid entered to say that a person desired to see me.
24875  To my astonishment it was none other than my strange old book collector,
24876  his sharp,
24877  wizened face peering out from a frame of white hair,
24878  and his precious volumes,
24879  a dozen of them at least,
24880  wedged under his right arm.
24881 \end_layout
24882
24883 \end_inset
24884
24885
24886 \end_layout
24887
24888 \begin_layout Standard
24889 \begin_inset ERT
24890 status collapsed
24891
24892 \begin_layout Plain Layout
24893
24894
24895 \backslash
24896 setlength{
24897 \backslash
24898 columnsep}{10pt}
24899 \end_layout
24900
24901 \end_inset
24902
24903
24904 \begin_inset Note Note
24905 status collapsed
24906
24907 \begin_layout Plain Layout
24908 go back to the default
24909 \end_layout
24910
24911 \end_inset
24912
24913
24914 \end_layout
24915
24916 \begin_layout Paragraph
24917 Vertical Lines
24918 \end_layout
24919
24920 \begin_layout Standard
24921 Between the columns a rule with a width of the length 
24922 \begin_inset Flex Code
24923 status collapsed
24924
24925 \begin_layout Plain Layout
24926
24927 \backslash
24928 columnseprule
24929 \end_layout
24930
24931 \end_inset
24932
24933  is placed.
24934  If this rule width is set to 0
24935 \begin_inset space \thinspace{}
24936 \end_inset
24937
24938 pt (this is the default),
24939  the rule is suppressed.
24940  In the following example the rule is 2
24941 \begin_inset space \thinspace{}
24942 \end_inset
24943
24944 pt wide:
24945 \end_layout
24946
24947 \begin_layout Standard
24948 \begin_inset ERT
24949 status open
24950
24951 \begin_layout Plain Layout
24952
24953
24954 \backslash
24955 setlength{
24956 \backslash
24957 columnseprule}{2pt}
24958 \end_layout
24959
24960 \end_inset
24961
24962
24963 \end_layout
24964
24965 \begin_layout Standard
24966 \begin_inset Flex Multiple Columns
24967 status open
24968
24969 \begin_layout Plain Layout
24970
24971 \size small
24972 \begin_inset Quotes eld
24973 \end_inset
24974
24975 You're surprised to see me,
24976  sir,
24977 \begin_inset Quotes erd
24978 \end_inset
24979
24980  said he,
24981  in a strange,
24982  croaking voice.
24983 \end_layout
24984
24985 \begin_layout Plain Layout
24986
24987 \size small
24988 I acknowledged that I was.
24989 \end_layout
24990
24991 \begin_layout Plain Layout
24992
24993 \size small
24994 \begin_inset Quotes eld
24995 \end_inset
24996
24997 Well,
24998  I've a conscience,
24999  sir,
25000  and when I chanced to see you go into this house,
25001  as I came hobbling after you,
25002  I thought to myself,
25003  I'll just step in and see that kind gentleman,
25004  and tell him that if I was a bit gruff in my manner there was not any harm meant,
25005  and that I am much obliged to him for picking up my books.
25006 \begin_inset Quotes erd
25007 \end_inset
25008
25009
25010 \end_layout
25011
25012 \begin_layout Plain Layout
25013
25014 \size small
25015 \begin_inset Quotes eld
25016 \end_inset
25017
25018 You make too much of a trifle,
25019 \begin_inset Quotes erd
25020 \end_inset
25021
25022  said I.
25023  
25024 \begin_inset Quotes eld
25025 \end_inset
25026
25027 May I ask how you knew who I was?
25028 \begin_inset Quotes erd
25029 \end_inset
25030
25031
25032 \end_layout
25033
25034 \begin_layout Plain Layout
25035
25036 \size small
25037 \begin_inset Quotes eld
25038 \end_inset
25039
25040 Well,
25041  sir,
25042  if it isn't too great a liberty,
25043  I am a neighbour of yours,
25044  for you'll find my little bookshop at the corner of Church Street,
25045  and very happy to see you,
25046  I am sure.
25047  Maybe you collect yourself,
25048  sir.
25049  Here's 
25050 \noun on
25051 British
25052 \begin_inset space ~
25053 \end_inset
25054
25055 Birds
25056 \noun default
25057 ,
25058  and 
25059 \noun on
25060 Catullus
25061 \noun default
25062 ,
25063  and 
25064 \noun on
25065 The Holy War
25066 \noun default
25067
25068 \begin_inset space ~
25069 \end_inset
25070
25071 – a bargain,
25072  every one of them.
25073  With five volumes you could just fill that gap on that second shelf.
25074  It looks untidy,
25075  does it not,
25076  sir?
25077 \begin_inset Quotes erd
25078 \end_inset
25079
25080
25081 \end_layout
25082
25083 \end_inset
25084
25085
25086 \end_layout
25087
25088 \begin_layout Standard
25089 \begin_inset VSpace defskip
25090 \end_inset
25091
25092
25093 \end_layout
25094
25095 \begin_layout Standard
25096 The rule can be colored by redefining the command 
25097 \begin_inset Flex Code
25098 status collapsed
25099
25100 \begin_layout Plain Layout
25101
25102 \backslash
25103 columnseprulecolor
25104 \end_layout
25105
25106 \end_inset
25107
25108 .
25109  This is done by inserting the command
25110 \end_layout
25111
25112 \begin_layout LyX-Code
25113
25114 \backslash
25115 renewcommand{
25116 \backslash
25117 columnseprulecolor}{
25118 \backslash
25119 color{red}}
25120 \end_layout
25121
25122 \begin_layout Standard
25123 as \SpecialChar TeX
25124  Code before the multicolumn inset.
25125  Replace 
25126 \begin_inset Flex Code
25127 status collapsed
25128
25129 \begin_layout Plain Layout
25130 red
25131 \end_layout
25132
25133 \end_inset
25134
25135  in this command by a color of your choice.
25136  You can use all pre- and self-defined colors.
25137  See the 
25138 \emph on
25139 EmbeddedObjects
25140 \emph default
25141  manual,
25142  section 
25143 \emph on
25144 Colored
25145 \begin_inset space ~
25146 \end_inset
25147
25148 Tables
25149 \emph default
25150  for more information about pre- and self-defined colors.
25151  To go back to the default color insert the command
25152 \end_layout
25153
25154 \begin_layout LyX-Code
25155
25156 \backslash
25157 renewcommand{
25158 \backslash
25159 columnseprulecolor}{
25160 \backslash
25161 normalcolor}
25162 \end_layout
25163
25164 \begin_layout Standard
25165 Here is the example with a cyan rule and 1
25166 \begin_inset space \thinspace{}
25167 \end_inset
25168
25169 cm column separation:
25170 \end_layout
25171
25172 \begin_layout Standard
25173 \begin_inset ERT
25174 status open
25175
25176 \begin_layout Plain Layout
25177
25178
25179 \backslash
25180 setlength{
25181 \backslash
25182 columnsep}{1cm}
25183 \end_layout
25184
25185 \begin_layout Plain Layout
25186
25187
25188 \backslash
25189 renewcommand{
25190 \backslash
25191 columnseprulecolor}{
25192 \backslash
25193 color{cyan}}
25194 \end_layout
25195
25196 \end_inset
25197
25198
25199 \end_layout
25200
25201 \begin_layout Standard
25202 \begin_inset Flex Multiple Columns
25203 status open
25204
25205 \begin_layout Plain Layout
25206
25207 \size small
25208 \begin_inset Quotes eld
25209 \end_inset
25210
25211 You're surprised to see me,
25212  sir,
25213 \begin_inset Quotes erd
25214 \end_inset
25215
25216  said he,
25217  in a strange,
25218  croaking voice.
25219 \end_layout
25220
25221 \begin_layout Plain Layout
25222
25223 \size small
25224 I acknowledged that I was.
25225 \end_layout
25226
25227 \begin_layout Plain Layout
25228
25229 \size small
25230 \begin_inset Quotes eld
25231 \end_inset
25232
25233 Well,
25234  I've a conscience,
25235  sir,
25236  and when I chanced to see you go into this house,
25237  as I came hobbling after you,
25238  I thought to myself,
25239  I'll just step in and see that kind gentleman,
25240  and tell him that if I was a bit gruff in my manner there was not any harm meant,
25241  and that I am much obliged to him for picking up my books.
25242 \begin_inset Quotes erd
25243 \end_inset
25244
25245
25246 \end_layout
25247
25248 \begin_layout Plain Layout
25249
25250 \size small
25251 \begin_inset Quotes eld
25252 \end_inset
25253
25254 You make too much of a trifle,
25255 \begin_inset Quotes erd
25256 \end_inset
25257
25258  said I.
25259  
25260 \begin_inset Quotes eld
25261 \end_inset
25262
25263 May I ask how you knew who I was?
25264 \begin_inset Quotes erd
25265 \end_inset
25266
25267
25268 \end_layout
25269
25270 \begin_layout Plain Layout
25271
25272 \size small
25273 \begin_inset Quotes eld
25274 \end_inset
25275
25276 Well,
25277  sir,
25278  if it isn't too great a liberty,
25279  I am a neighbour of yours,
25280  for you'll find my little bookshop at the corner of Church Street,
25281  and very happy to see you,
25282  I am sure.
25283  Maybe you collect yourself,
25284  sir.
25285  Here's 
25286 \noun on
25287 British
25288 \begin_inset space ~
25289 \end_inset
25290
25291 Birds
25292 \noun default
25293 ,
25294  and 
25295 \noun on
25296 Catullus
25297 \noun default
25298 ,
25299  and 
25300 \noun on
25301 The Holy War
25302 \noun default
25303
25304 \begin_inset space ~
25305 \end_inset
25306
25307 – a bargain,
25308  every one of them.
25309  With five volumes you could just fill that gap on that second shelf.
25310  It looks untidy,
25311  does it not,
25312  sir?
25313 \begin_inset Quotes erd
25314 \end_inset
25315
25316
25317 \end_layout
25318
25319 \end_inset
25320
25321
25322 \end_layout
25323
25324 \begin_layout Standard
25325 \begin_inset ERT
25326 status collapsed
25327
25328 \begin_layout Plain Layout
25329
25330
25331 \backslash
25332 setlength{
25333 \backslash
25334 columnseprule}{0pt}
25335 \end_layout
25336
25337 \begin_layout Plain Layout
25338
25339
25340 \backslash
25341 renewcommand{
25342 \backslash
25343 columnseprulecolor}{
25344 \backslash
25345 normalcolor}
25346 \end_layout
25347
25348 \end_inset
25349
25350
25351 \begin_inset Note Note
25352 status collapsed
25353
25354 \begin_layout Plain Layout
25355 go back to the default
25356 \end_layout
25357
25358 \end_inset
25359
25360
25361 \end_layout
25362
25363 \begin_layout Section
25364
25365 \change_inserted 564990737 1671270380
25366 Paragraph Styles
25367 \end_layout
25368
25369 \begin_layout Subsection
25370
25371 \change_inserted 564990737 1671270398
25372 Custom
25373 \change_deleted 564990737 1671270396
25374 Non-standard
25375 \change_unchanged
25376  Paragraph Shapes
25377 \end_layout
25378
25379 \begin_layout Standard
25380 \noindent
25381 \SpecialChar LaTeX
25382  as well as any other text processor uses by default rectangular paragraphs.
25383  For special cases like for example posters,
25384  invitation cards or poems you can modify the paragraph shape to one of your choice.
25385  
25386 \change_deleted 564990737 1672311802
25387 This can be done by using the \SpecialChar LaTeX
25388 -package 
25389 \begin_inset Flex Code
25390 status collapsed
25391
25392 \begin_layout Plain Layout
25393 shapepar
25394 \end_layout
25395
25396 \end_inset
25397
25398  which is loaded by using in the document settings the module 
25399 \family sans
25400 Custom paragraph shapes
25401 \family default
25402 .
25403 \change_inserted 564990737 1672311802
25404 This module uses the 
25405 \family sans
25406 shapepar
25407 \family default
25408  package to provide over a dozen paragraph shapes as well as commands to define custom shapes.
25409  
25410 \change_unchanged
25411
25412 \end_layout
25413
25414 \begin_layout Subsubsection
25415 Predefined shapes
25416 \end_layout
25417
25418 \begin_layout Standard
25419
25420 \change_inserted -712698321 1674913874
25421
25422 \series bold
25423 The 
25424 \change_unchanged
25425
25426 \family sans
25427 \series default
25428 shapepar
25429 \family default
25430  
25431 \change_inserted -712698321 1674913877
25432 package 
25433 \change_unchanged
25434 provides the following shapes:
25435 \end_layout
25436
25437 \begin_layout Standard
25438 \begin_inset Tabular
25439 <lyxtabular version="3" rows="13" columns="3">
25440 <features booktabs="true" islongtable="true" longtabularalignment="center">
25441 <column alignment="left" valignment="middle" width="16col%">
25442 <column alignment="left" valignment="middle" width="40col%">
25443 <column alignment="left" valignment="middle" width="35col%">
25444 <row endhead="true">
25445 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25446 \begin_inset Text
25447
25448 \begin_layout Plain Layout
25449
25450 \series bold
25451 \size small
25452 Name
25453 \end_layout
25454
25455 \end_inset
25456 </cell>
25457 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25458 \begin_inset Text
25459
25460 \begin_layout Plain Layout
25461
25462 \series bold
25463 \size small
25464 Description
25465 \end_layout
25466
25467 \end_inset
25468 </cell>
25469 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25470 \begin_inset Text
25471
25472 \begin_layout Plain Layout
25473
25474 \series bold
25475 \size small
25476 Annotation
25477 \end_layout
25478
25479 \end_inset
25480 </cell>
25481 </row>
25482 <row interlinespace="default">
25483 <cell alignment="left" valignment="top" usebox="none">
25484 \begin_inset Text
25485
25486 \begin_layout Plain Layout
25487
25488 \size small
25489 CDlabel
25490 \end_layout
25491
25492 \end_inset
25493 </cell>
25494 <cell alignment="left" valignment="top" usebox="none">
25495 \begin_inset Text
25496
25497 \begin_layout Plain Layout
25498
25499 \size small
25500 Circle with circular hole (in the size of a CD/DVD)
25501 \end_layout
25502
25503 \end_inset
25504 </cell>
25505 <cell alignment="left" valignment="top" usebox="none">
25506 \begin_inset Text
25507
25508 \begin_layout Plain Layout
25509
25510 \size small
25511 Cannot be scaled,
25512  take care there is not too much text
25513 \end_layout
25514
25515 \end_inset
25516 </cell>
25517 </row>
25518 <row interlinespace="default">
25519 <cell alignment="left" valignment="top" usebox="none">
25520 \begin_inset Text
25521
25522 \begin_layout Plain Layout
25523
25524 \size small
25525 Circle
25526 \end_layout
25527
25528 \end_inset
25529 </cell>
25530 <cell alignment="left" valignment="top" usebox="none">
25531 \begin_inset Text
25532
25533 \begin_layout Plain Layout
25534
25535 \size small
25536 Circle
25537 \end_layout
25538
25539 \end_inset
25540 </cell>
25541 <cell alignment="left" valignment="top" usebox="none">
25542 \begin_inset Text
25543
25544 \begin_layout Plain Layout
25545
25546 \size small
25547 Fragile,
25548  calculation might fail
25549 \end_layout
25550
25551 \end_inset
25552 </cell>
25553 </row>
25554 <row interlinespace="default">
25555 <cell alignment="left" valignment="top" usebox="none">
25556 \begin_inset Text
25557
25558 \begin_layout Plain Layout
25559
25560 \size small
25561 Diamond
25562 \end_layout
25563
25564 \end_inset
25565 </cell>
25566 <cell alignment="left" valignment="top" usebox="none">
25567 \begin_inset Text
25568
25569 \begin_layout Plain Layout
25570
25571 \size small
25572 Rhomboid (symbolizing a 
25573 \begin_inset Quotes eld
25574 \end_inset
25575
25576 diamond
25577 \begin_inset Quotes erd
25578 \end_inset
25579
25580 )
25581 \end_layout
25582
25583 \end_inset
25584 </cell>
25585 <cell alignment="left" valignment="top" usebox="none">
25586 \begin_inset Text
25587
25588 \begin_layout Plain Layout
25589
25590 \size small
25591 -
25592 \end_layout
25593
25594 \end_inset
25595 </cell>
25596 </row>
25597 <row interlinespace="default">
25598 <cell alignment="left" valignment="top" usebox="none">
25599 \begin_inset Text
25600
25601 \begin_layout Plain Layout
25602
25603 \size small
25604 Heart
25605 \end_layout
25606
25607 \end_inset
25608 </cell>
25609 <cell alignment="left" valignment="top" usebox="none">
25610 \begin_inset Text
25611
25612 \begin_layout Plain Layout
25613
25614 \size small
25615 Heart-like shape
25616 \end_layout
25617
25618 \end_inset
25619 </cell>
25620 <cell alignment="left" valignment="top" usebox="none">
25621 \begin_inset Text
25622
25623 \begin_layout Plain Layout
25624
25625 \size small
25626 -
25627 \end_layout
25628
25629 \end_inset
25630 </cell>
25631 </row>
25632 <row interlinespace="default">
25633 <cell alignment="left" valignment="top" usebox="none">
25634 \begin_inset Text
25635
25636 \begin_layout Plain Layout
25637
25638 \size small
25639 Hexagon
25640 \end_layout
25641
25642 \end_inset
25643 </cell>
25644 <cell alignment="left" valignment="top" usebox="none">
25645 \begin_inset Text
25646
25647 \begin_layout Plain Layout
25648
25649 \size small
25650 Hexagon
25651 \end_layout
25652
25653 \end_inset
25654 </cell>
25655 <cell alignment="left" valignment="top" usebox="none">
25656 \begin_inset Text
25657
25658 \begin_layout Plain Layout
25659
25660 \size small
25661 -
25662 \end_layout
25663
25664 \end_inset
25665 </cell>
25666 </row>
25667 <row interlinespace="default">
25668 <cell alignment="left" valignment="top" usebox="none">
25669 \begin_inset Text
25670
25671 \begin_layout Plain Layout
25672
25673 \size small
25674 Nut
25675 \end_layout
25676
25677 \end_inset
25678 </cell>
25679 <cell alignment="left" valignment="top" usebox="none">
25680 \begin_inset Text
25681
25682 \begin_layout Plain Layout
25683
25684 \size small
25685 Nut for bolt (hexagon with circular hole)
25686 \end_layout
25687
25688 \end_inset
25689 </cell>
25690 <cell alignment="left" valignment="top" usebox="none">
25691 \begin_inset Text
25692
25693 \begin_layout Plain Layout
25694
25695 \size small
25696 -
25697 \end_layout
25698
25699 \end_inset
25700 </cell>
25701 </row>
25702 <row interlinespace="default">
25703 <cell alignment="left" valignment="top" usebox="none">
25704 \begin_inset Text
25705
25706 \begin_layout Plain Layout
25707
25708 \size small
25709 Square
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 Square
25721 \end_layout
25722
25723 \end_inset
25724 </cell>
25725 <cell alignment="left" valignment="top" usebox="none">
25726 \begin_inset Text
25727
25728 \begin_layout Plain Layout
25729
25730 \size small
25731 -
25732 \end_layout
25733
25734 \end_inset
25735 </cell>
25736 </row>
25737 <row interlinespace="default">
25738 <cell alignment="left" valignment="top" usebox="none">
25739 \begin_inset Text
25740
25741 \begin_layout Plain Layout
25742
25743 \size small
25744 Star
25745 \end_layout
25746
25747 \end_inset
25748 </cell>
25749 <cell alignment="left" valignment="top" usebox="none">
25750 \begin_inset Text
25751
25752 \begin_layout Plain Layout
25753
25754 \size small
25755 Five-point star
25756 \end_layout
25757
25758 \end_inset
25759 </cell>
25760 <cell alignment="left" valignment="top" usebox="none">
25761 \begin_inset Text
25762
25763 \begin_layout Plain Layout
25764
25765 \size small
25766 -
25767 \end_layout
25768
25769 \end_inset
25770 </cell>
25771 </row>
25772 <row interlinespace="default">
25773 <cell alignment="left" valignment="top" usebox="none">
25774 \begin_inset Text
25775
25776 \begin_layout Plain Layout
25777
25778 \size small
25779 Candle
25780 \end_layout
25781
25782 \end_inset
25783 </cell>
25784 <cell alignment="left" valignment="top" usebox="none">
25785 \begin_inset Text
25786
25787 \begin_layout Plain Layout
25788
25789 \size small
25790 Burning candle
25791 \end_layout
25792
25793 \end_inset
25794 </cell>
25795 <cell alignment="left" valignment="top" usebox="none">
25796 \begin_inset Text
25797
25798 \begin_layout Plain Layout
25799
25800 \size small
25801 -
25802 \end_layout
25803
25804 \end_inset
25805 </cell>
25806 </row>
25807 <row interlinespace="default">
25808 <cell alignment="left" valignment="top" usebox="none">
25809 \begin_inset Text
25810
25811 \begin_layout Plain Layout
25812
25813 \size small
25814 Drop down/up
25815 \end_layout
25816
25817 \end_inset
25818 </cell>
25819 <cell alignment="left" valignment="top" usebox="none">
25820 \begin_inset Text
25821
25822 \begin_layout Plain Layout
25823
25824 \size small
25825 Normal/reversed rain drop
25826 \end_layout
25827
25828 \end_inset
25829 </cell>
25830 <cell alignment="left" valignment="top" usebox="none">
25831 \begin_inset Text
25832
25833 \begin_layout Plain Layout
25834
25835 \size small
25836 Fragile,
25837  calculation might fail
25838 \end_layout
25839
25840 \end_inset
25841 </cell>
25842 </row>
25843 <row interlinespace="default">
25844 <cell alignment="left" valignment="top" usebox="none">
25845 \begin_inset Text
25846
25847 \begin_layout Plain Layout
25848
25849 \size small
25850 \SpecialChar TeX
25851
25852 \end_layout
25853
25854 \end_inset
25855 </cell>
25856 <cell alignment="left" valignment="top" usebox="none">
25857 \begin_inset Text
25858
25859 \begin_layout Plain Layout
25860
25861 \size small
25862 The \SpecialChar TeX
25863  logo
25864 \end_layout
25865
25866 \end_inset
25867 </cell>
25868 <cell alignment="left" valignment="top" usebox="none">
25869 \begin_inset Text
25870
25871 \begin_layout Plain Layout
25872
25873 \size small
25874 -
25875 \end_layout
25876
25877 \end_inset
25878 </cell>
25879 </row>
25880 <row interlinespace="default">
25881 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25882 \begin_inset Text
25883
25884 \begin_layout Plain Layout
25885
25886 \size small
25887 Triangle up/down/
25888 \begin_inset Newline newline
25889 \end_inset
25890
25891 left/right
25892 \end_layout
25893
25894 \end_inset
25895 </cell>
25896 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25897 \begin_inset Text
25898
25899 \begin_layout Plain Layout
25900
25901 \size small
25902 Triangles in different orientations
25903 \end_layout
25904
25905 \end_inset
25906 </cell>
25907 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
25908 \begin_inset Text
25909
25910 \begin_layout Plain Layout
25911
25912 \size small
25913 -
25914 \end_layout
25915
25916 \end_inset
25917 </cell>
25918 </row>
25919 </lyxtabular>
25920
25921 \end_inset
25922
25923
25924 \end_layout
25925
25926 \begin_layout Standard
25927 To use a shape for your paragraph,
25928  simply select it in \SpecialChar LyX
25929 's pull-down box for environments in the toolbar.
25930 \end_layout
25931
25932 \begin_layout Standard
25933 \begin_inset Newpage newpage
25934 \end_inset
25935
25936
25937 \end_layout
25938
25939 \begin_layout Standard
25940 Here is an example paragraph in the shape of a nut:
25941 \end_layout
25942
25943 \begin_layout Standard
25944 \begin_inset VSpace bigskip
25945 \end_inset
25946
25947
25948 \end_layout
25949
25950 \begin_layout Nut
25951
25952 \lang latin
25953 Lorem ipsum dolor sit amet,
25954  consetetur sadipscing elitr,
25955  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25956  sed diam voluptua.
25957  At vero eos et accusam et justo duo dolores et ea rebum.
25958  Stet clita kasd gubergren,
25959  no sea takimata sanctus est Lorem ipsum dolor sit amet.
25960  Lorem ipsum dolor sit amet,
25961  consetetur sadipscing elitr,
25962  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
25963  sed diam voluptua.
25964 \end_layout
25965
25966 \begin_layout Standard
25967 \begin_inset VSpace bigskip
25968 \end_inset
25969
25970
25971 \end_layout
25972
25973 \begin_layout Standard
25974 \begin_inset Note Greyedout
25975 status open
25976
25977 \begin_layout Plain Layout
25978
25979 \series bold
25980 Note
25981 \series default
25982 :
25983  
25984 \family sans
25985 shapepar
25986 \family default
25987  paragraphs cannot run over a page break.
25988 \end_layout
25989
25990 \end_inset
25991
25992
25993 \end_layout
25994
25995 \begin_layout Standard
25996 \begin_inset VSpace bigskip
25997 \end_inset
25998
25999
26000 \end_layout
26001
26002 \begin_layout Standard
26003 The package 
26004 \begin_inset Flex Code
26005 status collapsed
26006
26007 \begin_layout Plain Layout
26008 shapepar
26009 \end_layout
26010
26011 \end_inset
26012
26013  takes care that the shape will always be preserved,
26014  no matter how much text is in the paragraph.
26015  Therefore the paragraph size changes with the amount of contained text.
26016  This can lead to paragraph sizes exceeding the page margins.
26017  To demonstrate the size scaling,
26018  here is the same example paragraph but with twice as much text:
26019 \end_layout
26020
26021 \begin_layout Standard
26022 \begin_inset Newpage newpage
26023 \end_inset
26024
26025
26026 \end_layout
26027
26028 \begin_layout Nut
26029
26030 \lang latin
26031 Lorem ipsum dolor sit amet,
26032  consetetur sadipscing elitr,
26033  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26034  sed diam voluptua.
26035  At vero eos et accusam et justo duo dolores et ea rebum.
26036  Stet clita kasd gubergren,
26037  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26038  Lorem ipsum dolor sit amet,
26039  consetetur sadipscing elitr,
26040  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26041  sed diam voluptua.
26042  Lorem ipsum dolor sit amet,
26043  consetetur sadipscing elitr,
26044  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26045  sed diam voluptua.
26046  At vero eos et accusam et justo duo dolores et ea rebum.
26047  Stet clita kasd gubergren,
26048  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26049  Lorem ipsum dolor sit amet,
26050  consetetur sadipscing elitr,
26051  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26052  sed diam voluptua.
26053 \end_layout
26054
26055 \begin_layout Standard
26056 \begin_inset VSpace bigskip
26057 \end_inset
26058
26059
26060 \end_layout
26061
26062 \begin_layout Standard
26063 An exception is the shape 
26064 \family sans
26065 CDlabel
26066 \family default
26067 .
26068  It cannot be scaled because it must fit the size of a CD/DVD.
26069  Therefore the amount of text that fits into the shape is limited.
26070 \change_deleted -712698321 1674914001
26071
26072 \begin_inset Newline newline
26073 \end_inset
26074
26075
26076 \change_inserted -712698321 1674914001
26077
26078 \end_layout
26079
26080 \begin_layout Standard
26081 The 
26082 \family sans
26083 drop
26084 \family default
26085  shapes and the 
26086 \family sans
26087 circle
26088 \family default
26089  shape are fragile,
26090  meaning that the calculation of their size can fail,
26091  depending on the amount of text.
26092  You will then get the \SpecialChar LaTeX
26093  error 
26094 \begin_inset Quotes eld
26095 \end_inset
26096
26097 Arithmetic overflow
26098 \begin_inset Quotes erd
26099 \end_inset
26100
26101 .
26102  In this case one can try to remove or add some text;
26103  if nothing works one has to use another shape.
26104 \end_layout
26105
26106 \begin_layout Standard
26107
26108 \change_deleted -712698321 1674914021
26109 \begin_inset VSpace bigskip
26110 \end_inset
26111
26112
26113 \change_unchanged
26114
26115 \end_layout
26116
26117 \begin_layout Standard
26118 For shapes with tips you will maybe see that \SpecialChar LaTeX
26119 's hyphenation routine fails for text in the tips.
26120  Therefore it is often necessary to add hyphenation points 
26121 \family sans
26122 (
26123 \begin_inset Info
26124 type  "shortcut"
26125 arg   "specialchar-insert hyphenation"
26126 \end_inset
26127
26128
26129 \family default
26130 ) to the corresponding text parts.
26131 \end_layout
26132
26133 \begin_layout Standard
26134
26135 \change_deleted -712698321 1674914022
26136 \begin_inset VSpace bigskip
26137 \end_inset
26138
26139
26140 \change_unchanged
26141
26142 \end_layout
26143
26144 \begin_layout Standard
26145 Shapepar paragraphs are either always centered or placed on the page so that their left border touches the left page margin.
26146  You can therefore not use the paragraph dialog to align such paragraphs.
26147  A solution is to put the paragraph into a minipage or parbox and align the box.
26148  The problem is hereby to find the right width for the box.
26149  Because if it is too wide and you center the box,
26150  the paragraph is not centered too because it sticks at the left side of the box.
26151  So you might have to play a bit with the width until it fits.
26152  Here are two heart-shaped paragraphs,
26153  the first one is not aligned,
26154  the second one is right-aligned:
26155 \end_layout
26156
26157 \begin_layout Standard
26158 \begin_inset Newpage newpage
26159 \end_inset
26160
26161
26162 \end_layout
26163
26164 \begin_layout Heart
26165 \noindent
26166
26167 \lang latin
26168 Lo\SpecialChar softhyphen
26169 rem ipsum dolor sit amet,
26170  consetetur sadipscing elitr,
26171  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26172  sed diam voluptua.
26173  At vero eos et accusam et justo duo dolores et ea rebum.
26174  Stet clita kasd gubergren,
26175  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26176 \end_layout
26177
26178 \begin_layout Standard
26179 \begin_inset VSpace bigskip
26180 \end_inset
26181
26182
26183 \end_layout
26184
26185 \begin_layout Standard
26186 \noindent
26187 \align right
26188 \begin_inset Box Frameless
26189 position "t"
26190 hor_pos "c"
26191 has_inner_box 1
26192 inner_pos "t"
26193 use_parbox 1
26194 use_makebox 0
26195 width "42col%"
26196 special "none"
26197 height "1in"
26198 height_special "totalheight"
26199 thickness "0.4pt"
26200 separation "3pt"
26201 shadowsize "4pt"
26202 framecolor "black"
26203 backgroundcolor "none"
26204 status open
26205
26206 \begin_layout Heart
26207 \noindent
26208
26209 \lang latin
26210 Lo\SpecialChar softhyphen
26211 rem ipsum dolor sit amet,
26212  consetetur sadipscing elitr,
26213  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26214  sed diam voluptua.
26215  At vero eos et accusam et justo duo dolores et ea rebum.
26216  Stet clita kasd gubergren,
26217  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26218 \end_layout
26219
26220 \end_inset
26221
26222
26223 \end_layout
26224
26225 \begin_layout Subsubsection
26226 Custom shapes
26227 \end_layout
26228
26229 \begin_layout Standard
26230 You can define any shape you want.
26231  Doing this manually is a lot of work because every coordinate must be specified.
26232  But there is a way to let the computer calculate the coordinates:
26233 \end_layout
26234
26235 \begin_layout Enumerate
26236 Install the program 
26237 \begin_inset CommandInset href
26238 LatexCommand href
26239 name "Jpgfdraw"
26240 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
26241 literal "false"
26242
26243 \end_inset
26244
26245 .
26246 \end_layout
26247
26248 \begin_layout Enumerate
26249 In 
26250 \family sans
26251 Jpgfdraw
26252 \family default
26253  go to the menu 
26254 \family sans
26255 TeX/LaTeX\SpecialChar menuseparator
26256 Settings\SpecialChar menuseparator
26257 Set Normal Size
26258 \family default
26259  and select the font size you are using in your document.
26260  For example this document uses the size 12
26261 \begin_inset space \thinspace{}
26262 \end_inset
26263
26264 pt.
26265 \end_layout
26266
26267 \begin_layout Enumerate
26268 Draw a shape.
26269 \end_layout
26270
26271 \begin_layout Enumerate
26272 Use the menu 
26273 \family sans
26274 TeX/LaTeX\SpecialChar menuseparator
26275 Shapepar
26276 \family default
26277  to export the shape to coordinates.
26278  In the appearing dialog use either the outline of your shape for the coordinates or the path itself.
26279 \begin_inset Foot
26280 status collapsed
26281
26282 \begin_layout Plain Layout
26283 For more information see 
26284 \begin_inset CommandInset href
26285 LatexCommand href
26286 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
26287 literal "false"
26288
26289 \end_inset
26290
26291
26292 \end_layout
26293
26294 \end_inset
26295
26296
26297 \end_layout
26298
26299 \begin_layout Standard
26300 The coordinates are written into a \SpecialChar TeX
26301  file.
26302  To use it for your \SpecialChar LyX
26303  document
26304 \end_layout
26305
26306 \begin_layout Enumerate
26307 Place the cursor before the first character of your paragraph (or into a new empty one).
26308 \end_layout
26309
26310 \begin_layout Enumerate
26311 Open in \SpecialChar LyX
26312  the menu 
26313 \family sans
26314 Insert\SpecialChar menuseparator
26315 File\SpecialChar menuseparator
26316 Child
26317 \begin_inset space ~
26318 \end_inset
26319
26320 Document
26321 \family default
26322 ,
26323  select the file and use 
26324 \family sans
26325 Input
26326 \family default
26327  as 
26328 \family sans
26329 Include Type.
26330 \end_layout
26331
26332 \begin_layout Standard
26333 \begin_inset VSpace defskip
26334 \end_inset
26335
26336
26337 \end_layout
26338
26339 \begin_layout Standard
26340 \begin_inset Note Greyedout
26341 status open
26342
26343 \begin_layout Plain Layout
26344
26345 \series bold
26346 Note
26347 \series default
26348 :
26349  The changed shape only applies to the current paragraph;
26350  everything is reset to normal for the next paragraph.
26351  Therefore the shape definition file must be input into every paragraph with the desired shape.
26352 \end_layout
26353
26354 \end_inset
26355
26356
26357 \end_layout
26358
26359 \begin_layout Standard
26360 \begin_inset VSpace bigskip
26361 \end_inset
26362
26363
26364 \end_layout
26365
26366 \begin_layout Standard
26367 Here is an example:
26368 \end_layout
26369
26370 \begin_layout Standard
26371 \begin_inset VSpace bigskip
26372 \end_inset
26373
26374
26375 \end_layout
26376
26377 \begin_layout Standard
26378 \begin_inset CommandInset include
26379 LatexCommand input
26380 filename "SpecialParagraphShape.tex"
26381 literal "true"
26382
26383 \end_inset
26384
26385
26386 \lang latin
26387 Lorem ipsum dolor sit amet,
26388  consetetur sadipscing elitr,
26389  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26390  sed diam voluptua.
26391  At vero eos et accusam et justo duo dolores et ea rebum.
26392  Stet clita kasd gubergren,
26393  no sea takimata sanctus est Lorem ipsum dolor sit amet.
26394  Lorem ipsum dolor sit amet,
26395  consetetur sadipscing elitr,
26396  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
26397  sed diam voluptua.
26398 \end_layout
26399
26400 \begin_layout Standard
26401 \begin_inset VSpace bigskip
26402 \end_inset
26403
26404
26405 \end_layout
26406
26407 \begin_layout Standard
26408
26409 \series bold
26410 A tip:
26411
26412 \series default
26413  to draw complexer shapes in 
26414 \family sans
26415 Jpgfdraw
26416 \family default
26417  you can draw the shape in a program of your choice and import the resulting image to 
26418 \family sans
26419 Jpgfdraw
26420 \family default
26421 .
26422  Then you only need to draw a line or spline along the outline of the image.
26423 \end_layout
26424
26425 \begin_layout Standard
26426
26427 \change_deleted -712698321 1674914114
26428 \begin_inset VSpace bigskip
26429 \end_inset
26430
26431
26432 \change_unchanged
26433
26434 \end_layout
26435
26436 \begin_layout Standard
26437 The module 
26438 \family sans
26439 Custom paragraph shapes
26440 \family default
26441  also provides the two commands 
26442 \family sans
26443 shapepar
26444 \family default
26445  and 
26446 \family sans
26447 Shapepar
26448 \family default
26449  which can be used to define custom shapes coordinate by coordinate.
26450 \begin_inset Foot
26451 status collapsed
26452
26453 \begin_layout Plain Layout
26454 These commands are internally used for all shapes described here.
26455 \end_layout
26456
26457 \end_inset
26458
26459  For information how these styles are used and about further customization possibilities,
26460  have a look at the 
26461 \begin_inset CommandInset href
26462 LatexCommand href
26463 name "documentation"
26464 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
26465 literal "false"
26466
26467 \end_inset
26468
26469  of the package 
26470 \begin_inset Flex Code
26471 status collapsed
26472
26473 \begin_layout Plain Layout
26474 shapepar
26475 \end_layout
26476
26477 \end_inset
26478
26479 .
26480 \end_layout
26481
26482 \begin_layout Subsection
26483
26484 \change_inserted 564990737 1672311925
26485 Hanging Paragraphs
26486 \end_layout
26487
26488 \begin_layout Hanging
26489
26490 \change_inserted 564990737 1672311925
26491 This module adds the 
26492 \family sans
26493 Hanging
26494 \family default
26495  paragraph style,
26496  that is,
26497  one where all but the first line of the paragraph is indented.
26498  This may not appear in your \SpecialChar LyX
26499  document but will appear in the final output.
26500 \end_layout
26501
26502 \begin_layout Subsection
26503
26504 \change_inserted 564990737 1672311925
26505 \begin_inset CommandInset label
26506 LatexCommand label
26507 name "subsec:Initials"
26508
26509 \end_inset
26510
26511 Initials (Drop Caps)
26512 \end_layout
26513
26514 \begin_layout Initial
26515
26516 \change_inserted 564990737 1672311925
26517 \begin_inset Argument 2
26518 status open
26519
26520 \begin_layout Plain Layout
26521
26522 \change_inserted 564990737 1672311925
26523 T
26524 \change_unchanged
26525
26526 \end_layout
26527
26528 \end_inset
26529
26530
26531 \begin_inset Argument 3
26532 status open
26533
26534 \begin_layout Plain Layout
26535
26536 \change_inserted 564990737 1672311925
26537 his
26538 \change_unchanged
26539
26540 \end_layout
26541
26542 \end_inset
26543
26544  module adds a drop capitals paragraph style 
26545 \family sans
26546 Initials
26547 \family default
26548  for paragraph environments which you can use wherever you want to have drop capitals.
26549  You then have three more items in the 
26550 \family sans
26551 Insert
26552 \family default
26553  menu:
26554 \end_layout
26555
26556 \begin_layout Itemize
26557
26558 \change_inserted 564990737 1672311925
26559
26560 \family sans
26561 Initial
26562 \family default
26563  which creates an inset for the drop capital
26564 \end_layout
26565
26566 \begin_layout Itemize
26567
26568 \change_inserted 564990737 1672311925
26569
26570 \family sans
26571 Rest of initial
26572 \family default
26573  which creates an inset for the rest of the word
26574 \end_layout
26575
26576 \begin_layout Itemize
26577
26578 \change_inserted 564990737 1672311925
26579
26580 \family sans
26581 Options
26582 \family default
26583  which allow you configure the formatting of the drop capital.
26584 \end_layout
26585
26586 \begin_layout Standard
26587
26588 \change_inserted 564990737 1672311925
26589 To customize the appearance of the style,
26590  see 
26591 \family sans
26592 Help\SpecialChar menuseparator
26593 Embedded Objects\SpecialChar menuseparator
26594 Objects Surrounded by Text\SpecialChar menuseparator
26595 Initials
26596 \family default
26597 .
26598 \end_layout
26599
26600 \begin_layout Section
26601
26602 \change_inserted 564990737 1672312011
26603 Text Markup
26604 \end_layout
26605
26606 \begin_layout Subsection
26607
26608 \change_inserted 564990737 1672312011
26609 Hyphenatable Text Markup
26610 \change_inserted -712698321 1674915075
26611  (Soul)
26612 \change_inserted 564990737 1672312011
26613
26614 \end_layout
26615
26616 \begin_layout Standard
26617
26618 \change_inserted 564990737 1672312011
26619 This 
26620 \change_deleted -712698321 1674915086
26621 package
26622 \change_inserted -712698321 1674915087
26623 modul
26624 \change_inserted 564990737 1672312011
26625  defines text styles to highlight,
26626  space-out,
26627  strike-through,
26628  underline and capitalize/small-cap text by means of the 
26629 \family sans
26630 soul
26631 \family default
26632  package.
26633  
26634 \change_inserted -712698321 1674915141
26635
26636 \end_layout
26637
26638 \begin_layout Standard
26639
26640 \change_inserted 564990737 1672312011
26641 As opposed to the markup provided by the Text Properties dialog,
26642  words marked-up with 
26643 \family sans
26644 soul
26645 \family default
26646  are hyphenated.
26647  See the 
26648 \begin_inset CommandInset href
26649 LatexCommand href
26650 name "soul documentation"
26651 target "http://mirrors.ctan.org/macros/generic/soul/soul.pdf"
26652 literal "false"
26653
26654 \end_inset
26655
26656 .
26657 \end_layout
26658
26659 \begin_layout Subsection
26660
26661 \change_inserted 564990737 1672312011
26662 Logical Markup
26663 \end_layout
26664
26665 \begin_layout Standard
26666
26667 \change_inserted 564990737 1672312011
26668 This module defines some character styles for logical markup:
26669  
26670 \noun on
26671
26672 \begin_inset Flex Noun
26673 status collapsed
26674
26675 \begin_layout Plain Layout
26676
26677 \change_inserted 564990737 1672312011
26678
26679 \noun on
26680 noun
26681 \change_unchanged
26682
26683 \end_layout
26684
26685 \end_inset
26686
26687
26688 \noun default
26689 ,
26690  
26691 \emph on
26692
26693 \begin_inset Flex Emph
26694 status collapsed
26695
26696 \begin_layout Plain Layout
26697
26698 \change_inserted 564990737 1672312011
26699
26700 \emph on
26701 emph
26702 \change_unchanged
26703
26704 \end_layout
26705
26706 \end_inset
26707
26708
26709 \emph default
26710 ,
26711  
26712 \begin_inset Flex Strong
26713 status collapsed
26714
26715 \begin_layout Plain Layout
26716
26717 \change_inserted 564990737 1672312011
26718 strong
26719 \change_unchanged
26720
26721 \end_layout
26722
26723 \end_inset
26724
26725 ,
26726  and 
26727 \begin_inset Flex Code
26728 status collapsed
26729
26730 \begin_layout Plain Layout
26731
26732 \change_inserted 564990737 1672312011
26733 code
26734 \change_unchanged
26735
26736 \end_layout
26737
26738 \end_inset
26739
26740  which are accessed via the 
26741 \family sans
26742 \bar under
26743 E
26744 \bar default
26745 dit\SpecialChar menuseparator
26746 Custom
26747 \begin_inset space ~
26748 \end_inset
26749
26750 Text
26751 \begin_inset space ~
26752 \end_inset
26753
26754
26755 \bar under
26756 S
26757 \bar default
26758 tyles
26759 \family default
26760  menu.
26761 \end_layout
26762
26763 \begin_layout Chapter
26764
26765 \change_deleted 564990737 1671304317
26766 Customizing 
26767 \change_unchanged
26768 Bibliograph
26769 \change_inserted 564990737 1671304322
26770 y
26771 \change_deleted 564990737 1671304331
26772 ies with Bib\SpecialChar TeX
26773  or Biblatex
26774 \change_unchanged
26775
26776 \end_layout
26777
26778 \begin_layout Standard
26779 The most basic information about how to use Bib\SpecialChar TeX
26780  or 
26781 \family sans
26782 Biblatex
26783 \family default
26784  with \SpecialChar LyX
26785  is contained in the section 
26786 \emph on
26787 Bibliography databases
26788 \emph default
26789  of the 
26790 \emph on
26791 User's Guide
26792 \emph default
26793 .
26794  The following subsections explain special bibliography features supported by \SpecialChar LyX
26795 .
26796 \end_layout
26797
26798 \begin_layout Section
26799 Alternative Citation Styles
26800 \end_layout
26801
26802 \begin_layout Standard
26803 Standard Bib\SpecialChar TeX
26804  uses numbers (e.
26805 \begin_inset space \thinspace{}
26806 \end_inset
26807
26808 g.
26809 \begin_inset space \space{}
26810 \end_inset
26811
26812
26813 \begin_inset Quotes eld
26814 \end_inset
26815
26816 [12]
26817 \begin_inset Quotes erd
26818 \end_inset
26819
26820 ) to refer to a cited work.
26821  However,
26822  in many scientific disciplines,
26823  other citation styles are in use.
26824  The most common one is the author-year style (e.
26825 \begin_inset space \thinspace{}
26826 \end_inset
26827
26828 g.
26829 \begin_inset space \space{}
26830 \end_inset
26831
26832
26833 \begin_inset Quotes eld
26834 \end_inset
26835
26836 Knuth 1984a
26837 \begin_inset Quotes erd
26838 \end_inset
26839
26840 ).
26841  \SpecialChar LyX
26842  supports three packages that provide this style,
26843  
26844 \begin_inset Flex Code
26845 status collapsed
26846
26847 \begin_layout Plain Layout
26848 biblatex
26849 \end_layout
26850
26851 \end_inset
26852
26853 ,
26854  
26855 \begin_inset Flex Code
26856 status collapsed
26857
26858 \begin_layout Plain Layout
26859 natbib
26860 \end_layout
26861
26862 \end_inset
26863
26864 ,
26865  and 
26866 \begin_inset Flex Code
26867 status collapsed
26868
26869 \begin_layout Plain Layout
26870 jurabib
26871 \end_layout
26872
26873 \end_inset
26874
26875 .
26876  Each of these packages has their pros and cons,
26877  which cannot be listed in detail.
26878  If you only want to have simple author-year (or author-numerical) style,
26879  or if you want to use one of the countless style files for 
26880 \begin_inset Flex Code
26881 status collapsed
26882
26883 \begin_layout Plain Layout
26884 natbib
26885 \end_layout
26886
26887 \end_inset
26888
26889 ,
26890  then the established 
26891 \begin_inset Flex Code
26892 status collapsed
26893
26894 \begin_layout Plain Layout
26895 natbib
26896 \end_layout
26897
26898 \end_inset
26899
26900  package is probably your choice.
26901  If you look for specific citation styles common in law studies,
26902  you might consider the 
26903 \begin_inset Flex Code
26904 status collapsed
26905
26906 \begin_layout Plain Layout
26907 jurabib
26908 \end_layout
26909
26910 \end_inset
26911
26912  package.
26913  If you want to have full control over the formatting or look for advanced features such as ibidem,
26914  footnote citations,
26915  full title citations,
26916  advanced date formats (such as 400 BC) or full localization to other languages than English,
26917  you should definitely consider 
26918 \begin_inset Flex Code
26919 status collapsed
26920
26921 \begin_layout Plain Layout
26922 biblatex
26923 \end_layout
26924
26925 \end_inset
26926
26927 ,
26928  which exceeds all other packages in terms of features,
26929  but is also quite heavy and more resource-hungry.
26930 \end_layout
26931
26932 \begin_layout Standard
26933 The handling of these packages in \SpecialChar LyX
26934  is basically the same.
26935  Go to 
26936 \change_deleted -712698321 1674917685
26937
26938 \begin_inset Flex Noun
26939 status collapsed
26940
26941 \begin_layout Plain Layout
26942 Document\SpecialChar menuseparator
26943 Settings
26944 \end_layout
26945
26946 \end_inset
26947
26948
26949 \change_inserted -712698321 1674917685
26950
26951 \family sans
26952 Document\SpecialChar menuseparator
26953 Settings
26954 \change_unchanged
26955
26956 \family default
26957  and select under 
26958 \change_deleted -712698321 1674917692
26959
26960 \begin_inset Flex Noun
26961 status collapsed
26962
26963 \begin_layout Plain Layout
26964 Bibliography
26965 \end_layout
26966
26967 \end_inset
26968
26969
26970 \change_inserted -712698321 1674917692
26971
26972 \family sans
26973 Bibliography
26974 \change_unchanged
26975
26976 \family default
26977  the 
26978 \change_deleted -712698321 1674917696
26979
26980 \begin_inset Flex Noun
26981 status collapsed
26982
26983 \begin_layout Plain Layout
26984 Style Format
26985 \end_layout
26986
26987 \end_inset
26988
26989
26990 \change_inserted -712698321 1674917696
26991
26992 \family sans
26993 Style Format
26994 \change_unchanged
26995
26996 \family default
26997  
26998 \change_deleted -712698321 1674917703
26999
27000 \begin_inset Flex Noun
27001 status collapsed
27002
27003 \begin_layout Plain Layout
27004 Basic (BibTeX)
27005 \end_layout
27006
27007 \end_inset
27008
27009
27010 \change_inserted -712698321 1674917703
27011
27012 \family sans
27013 Basic (BibTeX)
27014 \change_unchanged
27015
27016 \family default
27017 ,
27018  
27019 \change_deleted -712698321 1674917708
27020
27021 \begin_inset Flex Noun
27022 status collapsed
27023
27024 \begin_layout Plain Layout
27025 Biblatex
27026 \end_layout
27027
27028 \end_inset
27029
27030
27031 \change_inserted -712698321 1674917708
27032
27033 \family sans
27034 Biblatex
27035 \change_unchanged
27036
27037 \family default
27038 ,
27039  
27040 \change_deleted -712698321 1674917712
27041
27042 \begin_inset Flex Noun
27043 status collapsed
27044
27045 \begin_layout Plain Layout
27046 Biblatex (Natbib mode)
27047 \end_layout
27048
27049 \end_inset
27050
27051
27052 \change_inserted -712698321 1674917712
27053
27054 \family sans
27055 Biblatex (Natbib mode)
27056 \change_unchanged
27057
27058 \family default
27059 ,
27060  
27061 \change_deleted -712698321 1674917718
27062
27063 \begin_inset Flex Noun
27064 status collapsed
27065
27066 \begin_layout Plain Layout
27067 Natbib (BibTeX)
27068 \end_layout
27069
27070 \end_inset
27071
27072
27073 \change_inserted -712698321 1674917718
27074
27075 \family sans
27076 Natbib (BibTeX)
27077 \change_unchanged
27078
27079 \family default
27080  or 
27081 \change_deleted -712698321 1674917724
27082
27083 \begin_inset Flex Noun
27084 status collapsed
27085
27086 \begin_layout Plain Layout
27087 Jurabib (BibTeX)
27088 \end_layout
27089
27090 \end_inset
27091
27092
27093 \change_inserted -712698321 1674917724
27094
27095 \family sans
27096 Jurabib (BibTeX)
27097 \change_unchanged
27098
27099 \family default
27100  (see sec.
27101 \begin_inset space ~
27102 \end_inset
27103
27104 6.5.3 in the User's Guide for more information on these choices).
27105  With all these packages,
27106  you will get some extra features in the citation dialog and you can select the style of the reference (
27107 \begin_inset Quotes eld
27108 \end_inset
27109
27110 Knuth 1984
27111 \begin_inset Quotes erd
27112 \end_inset
27113
27114 ,
27115  
27116 \begin_inset Quotes eld
27117 \end_inset
27118
27119 Knuth (1984)
27120 \begin_inset Quotes erd
27121 \end_inset
27122
27123 ,
27124  
27125 \begin_inset Quotes eld
27126 \end_inset
27127
27128 Knuth,
27129  1984
27130 \begin_inset Quotes erd
27131 \end_inset
27132
27133 ,
27134  
27135 \begin_inset Quotes eld
27136 \end_inset
27137
27138 1984
27139 \begin_inset Quotes erd
27140 \end_inset
27141
27142  etc.).
27143  Note that either package needs specifically designed style files.
27144  They all ship their own,
27145  but there are lots of additional style files,
27146  and there is even an interactive style file builder
27147 \begin_inset Foot
27148 status collapsed
27149
27150 \begin_layout Plain Layout
27151 See 
27152 \begin_inset Flex URL
27153 status open
27154
27155 \begin_layout Plain Layout
27156
27157 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
27158 \end_layout
27159
27160 \end_inset
27161
27162
27163 \end_layout
27164
27165 \end_inset
27166
27167  for 
27168 \begin_inset Flex Code
27169 status collapsed
27170
27171 \begin_layout Plain Layout
27172 natbib
27173 \end_layout
27174
27175 \end_inset
27176
27177 .
27178 \end_layout
27179
27180 \begin_layout Section
27181 Subdivided Bibliographies
27182 \end_layout
27183
27184 \begin_layout Standard
27185 Sometimes you might need to divide your bibliography into several sections.
27186  If you are for instance a historian,
27187  the possibility to separate sources and scientific works is most likely a 
27188 \begin_inset Quotes eld
27189 \end_inset
27190
27191 must have
27192 \begin_inset Quotes erd
27193 \end_inset
27194
27195 .
27196  Unfortunately,
27197  Bib\SpecialChar TeX
27198  itself does not allow you to do this.
27199  But with the help of some \SpecialChar LaTeX
27200  packages,
27201  Bib\SpecialChar TeX
27202  can be extended to fit your needs.
27203 \end_layout
27204
27205 \begin_layout Standard
27206 \SpecialChar LyX
27207  provides native support for one of these packages,
27208  
27209 \family typewriter
27210 bibtopic
27211 \family default
27212 .
27213 \begin_inset Foot
27214 status collapsed
27215
27216 \begin_layout Plain Layout
27217 Available from 
27218 \begin_inset Flex URL
27219 status open
27220
27221 \begin_layout Plain Layout
27222
27223 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
27224 \end_layout
27225
27226 \end_inset
27227
27228
27229 \end_layout
27230
27231 \end_inset
27232
27233  The advantage of this package (compared to other packages such as 
27234 \family typewriter
27235 multibib
27236 \family default
27237 ) is that you don't need to define new citation commands.
27238  Instead,
27239  you need to prepare different bibliographic databases which include the entries for the different sections of the bibliography.
27240  For example:
27241  If you want to divide your bibliography into the sections 
27242 \begin_inset Quotes eld
27243 \end_inset
27244
27245 Sources
27246 \begin_inset Quotes erd
27247 \end_inset
27248
27249  and 
27250 \begin_inset Quotes eld
27251 \end_inset
27252
27253 Scientific works
27254 \begin_inset Quotes erd
27255 \end_inset
27256
27257 ,
27258  you first need to create two bibliographic databases,
27259  e.
27260 \begin_inset space \thinspace{}
27261 \end_inset
27262
27263 g.
27264 \begin_inset space \space{}
27265 \end_inset
27266
27267
27268 \begin_inset Flex Code
27269 status collapsed
27270
27271 \begin_layout Plain Layout
27272 sources.bib
27273 \end_layout
27274
27275 \end_inset
27276
27277  and 
27278 \begin_inset Flex Code
27279 status collapsed
27280
27281 \begin_layout Plain Layout
27282 scientific.bib
27283 \end_layout
27284
27285 \end_inset
27286
27287 .
27288  
27289 \end_layout
27290
27291 \begin_layout Standard
27292 Go to 
27293 \change_deleted -712698321 1674917736
27294
27295 \begin_inset Flex Noun
27296 status collapsed
27297
27298 \begin_layout Plain Layout
27299 Document\SpecialChar menuseparator
27300 Settings
27301 \end_layout
27302
27303 \end_inset
27304
27305
27306 \change_inserted -712698321 1674917736
27307
27308 \family sans
27309 Document\SpecialChar menuseparator
27310 Settings
27311 \change_unchanged
27312
27313 \family default
27314  and check under 
27315 \change_deleted -712698321 1674917752
27316
27317 \begin_inset Flex Noun
27318 status collapsed
27319
27320 \begin_layout Plain Layout
27321 Bibliography
27322 \end_layout
27323
27324 \end_inset
27325
27326
27327 \change_inserted -712698321 1674917752
27328
27329 \family sans
27330 Bibliography
27331 \change_unchanged
27332
27333 \family default
27334  the option 
27335 \change_deleted -712698321 1674917741
27336
27337 \family sans
27338
27339 \begin_inset Flex Noun
27340 status collapsed
27341
27342 \begin_layout Plain Layout
27343
27344 \family sans
27345 Subdivided bibliography
27346 \end_layout
27347
27348 \end_inset
27349
27350
27351 \change_inserted -712698321 1674917741
27352 Subdivided bibliography
27353 \change_unchanged
27354
27355 \family default
27356 .
27357  Now you can insert multiple Bib\SpecialChar TeX
27358  bibliographies,
27359  one for each section of your bibliography.
27360  Returning to our example:
27361  Insert the Bib\SpecialChar TeX
27362  bibliography 
27363 \begin_inset Flex Code
27364 status collapsed
27365
27366 \begin_layout Plain Layout
27367 sources.bib
27368 \end_layout
27369
27370 \end_inset
27371
27372  and a second one for the database 
27373 \begin_inset Flex Code
27374 status collapsed
27375
27376 \begin_layout Plain Layout
27377 scientific.bib
27378 \end_layout
27379
27380 \end_inset
27381
27382 .
27383  You are free to use the same or different styles for each section.
27384  Additionally,
27385  you can choose if the bibliography section should contain 
27386 \begin_inset Quotes eld
27387 \end_inset
27388
27389 all cited references
27390 \begin_inset Quotes erd
27391 \end_inset
27392
27393  of the specified database(s) (which is the default),
27394  
27395 \begin_inset Quotes eld
27396 \end_inset
27397
27398 all uncited references
27399 \begin_inset Quotes erd
27400 \end_inset
27401
27402  or even 
27403 \begin_inset Quotes eld
27404 \end_inset
27405
27406 all references
27407 \begin_inset Quotes erd
27408 \end_inset
27409
27410 .
27411  This might be useful if you would like to separate your bibliography into three sections:
27412  
27413 \begin_inset Quotes eld
27414 \end_inset
27415
27416 Cited sources
27417 \begin_inset Quotes erd
27418 \end_inset
27419
27420 ,
27421  
27422 \begin_inset Quotes eld
27423 \end_inset
27424
27425 Uncited sources
27426 \begin_inset Quotes erd
27427 \end_inset
27428
27429 ,
27430  and 
27431 \begin_inset Quotes eld
27432 \end_inset
27433
27434 Scientific works
27435 \begin_inset Quotes erd
27436 \end_inset
27437
27438 .
27439  The titles for the sections can be added as ordinary sections or subsections.
27440  Since 
27441 \begin_inset Flex Code
27442 status collapsed
27443
27444 \begin_layout Plain Layout
27445 bibtopic
27446 \end_layout
27447
27448 \end_inset
27449
27450  removes the bibliography title,
27451  you have to manually re-add that,
27452  too (as a chapter* or section*,
27453  for instance).
27454 \end_layout
27455
27456 \begin_layout Standard
27457 With 
27458 \family sans
27459 Biblatex
27460 \family default
27461 ,
27462  the procedure is a bit different.
27463  Since 
27464 \family typewriter
27465 bibtopic
27466 \family default
27467  does not work with 
27468 \family sans
27469 Biblatex
27470 \family default
27471 ,
27472  the aforementioned 
27473 \begin_inset Flex Noun
27474 status collapsed
27475
27476 \begin_layout Plain Layout
27477 Subdivided bibliography
27478 \end_layout
27479
27480 \end_inset
27481
27482  option is disabled if you use 
27483 \family sans
27484 Biblatex
27485 \family default
27486 .
27487  However,
27488  
27489 \family sans
27490 Biblatex
27491 \family default
27492  provides its own means to generate subdivided bibliographies.
27493  You can either add keywords to bibliography entries via the 
27494 \begin_inset Flex Code
27495 status collapsed
27496
27497 \begin_layout Plain Layout
27498 keywords
27499 \end_layout
27500
27501 \end_inset
27502
27503  entry option and then filter bibliography sections by keyword (by adding 
27504 \begin_inset Flex Code
27505 status collapsed
27506
27507 \begin_layout Plain Layout
27508 keyword=mykeyword
27509 \end_layout
27510
27511 \end_inset
27512
27513  to the 
27514 \begin_inset Flex Noun
27515 status collapsed
27516
27517 \begin_layout Plain Layout
27518 Options
27519 \end_layout
27520
27521 \end_inset
27522
27523  field of the dialog that opens if you left-click on the 
27524 \begin_inset Flex Noun
27525 status collapsed
27526
27527 \begin_layout Plain Layout
27528 Biblatex Generated Bibliography
27529 \end_layout
27530
27531 \end_inset
27532
27533  button),
27534  or you can filter by entry types (such as 
27535 \emph on
27536 book
27537 \emph default
27538  or 
27539 \emph on
27540 article
27541 \emph default
27542 ) by entering e.
27543 \begin_inset space \thinspace{}
27544 \end_inset
27545
27546 g.
27547  
27548 \begin_inset Flex Code
27549 status collapsed
27550
27551 \begin_layout Plain Layout
27552 type=book
27553 \end_layout
27554
27555 \end_inset
27556
27557  or 
27558 \begin_inset Flex Code
27559 status collapsed
27560
27561 \begin_layout Plain Layout
27562 nottype=collection
27563 \end_layout
27564
27565 \end_inset
27566
27567  to the mentioned 
27568 \begin_inset Flex Noun
27569 status collapsed
27570
27571 \begin_layout Plain Layout
27572 Options
27573 \end_layout
27574
27575 \end_inset
27576
27577  field,
27578  or you can create so-called 
27579 \begin_inset Quotes eld
27580 \end_inset
27581
27582 Bibliography Categories
27583 \begin_inset Quotes erd
27584 \end_inset
27585
27586  to which you can assign individual entries.
27587  Please refer to the Biblatex manual,
27588  section 
27589 \emph on
27590 Subdivided Bibliographies
27591 \emph default
27592 ,
27593  for details.
27594 \end_layout
27595
27596 \begin_layout Section
27597 Multiple Bibliographies
27598 \begin_inset CommandInset label
27599 LatexCommand label
27600 name "subsec:Multiple-Bibliographies"
27601
27602 \end_inset
27603
27604
27605 \end_layout
27606
27607 \begin_layout Standard
27608 Multiple bibliographies,
27609  e.
27610 \begin_inset space \thinspace{}
27611 \end_inset
27612
27613 g.
27614 \begin_inset space \space{}
27615 \end_inset
27616
27617 a bibliography for each part,
27618  chapter,
27619  section,
27620  subsection or child (sub-document) of the document,
27621  are also supported by \SpecialChar LyX
27622 .
27623  In order to enable it,
27624  go to 
27625 \change_deleted -712698321 1674917759
27626
27627 \begin_inset Flex Noun
27628 status collapsed
27629
27630 \begin_layout Plain Layout
27631 Document\SpecialChar menuseparator
27632 Settings\SpecialChar menuseparator
27633 Bibliography
27634 \end_layout
27635
27636 \end_inset
27637
27638
27639 \change_inserted -712698321 1674917759
27640
27641 \family sans
27642 Document\SpecialChar menuseparator
27643 Settings\SpecialChar menuseparator
27644 Bibliography
27645 \change_unchanged
27646
27647 \family default
27648  and select the relevant unit (e.
27649 \begin_inset space \thinspace{}
27650 \end_inset
27651
27652 g.,
27653  
27654 \begin_inset Quotes eld
27655 \end_inset
27656
27657 per section
27658 \begin_inset Quotes erd
27659 \end_inset
27660
27661 ) in the 
27662 \begin_inset Flex Noun
27663 status collapsed
27664
27665 \begin_layout Plain Layout
27666 Multiple Bibliographies
27667 \end_layout
27668
27669 \end_inset
27670
27671  combo box.
27672  Then add a Bib(la)\SpecialChar TeX
27673  bibliography to each unit (e.
27674 \begin_inset space \thinspace{}
27675 \end_inset
27676
27677 g.,
27678  section) of your document.
27679  In the output,
27680  a separate bibliography,
27681  containing only the references done in the current unit is generated.
27682 \end_layout
27683
27684 \begin_layout Standard
27685 If you use Bib\SpecialChar TeX
27686 ,
27687  either the 
27688 \begin_inset Flex Code
27689 status collapsed
27690
27691 \begin_layout Plain Layout
27692 chapterbib
27693 \end_layout
27694
27695 \end_inset
27696
27697  or the 
27698 \begin_inset Flex Code
27699 status collapsed
27700
27701 \begin_layout Plain Layout
27702 bibtopic
27703 \end_layout
27704
27705 \end_inset
27706
27707  package is used to create multiple bibliographies.
27708  The former package is used if you select 
27709 \begin_inset Quotes eld
27710 \end_inset
27711
27712 per child document
27713 \begin_inset Quotes erd
27714 \end_inset
27715
27716  and do 
27717 \emph on
27718 not
27719 \emph default
27720  check 
27721 \begin_inset Flex Noun
27722 status collapsed
27723
27724 \begin_layout Plain Layout
27725 Sectioned Bibliography
27726 \end_layout
27727
27728 \end_inset
27729
27730 .
27731  In all other cases,
27732  
27733 \begin_inset Flex Code
27734 status collapsed
27735
27736 \begin_layout Plain Layout
27737 bibtopic
27738 \end_layout
27739
27740 \end_inset
27741
27742  is used.
27743 \begin_inset Foot
27744 status collapsed
27745
27746 \begin_layout Plain Layout
27747 An alternative approach,
27748  if you are willing to use some 
27749 \begin_inset Flex Noun
27750 status collapsed
27751
27752 \begin_layout Plain Layout
27753 \SpecialChar TeX
27754  Code
27755 \end_layout
27756
27757 \end_inset
27758
27759  (see section
27760 \begin_inset space ~
27761 \end_inset
27762
27763
27764 \begin_inset CommandInset ref
27765 LatexCommand ref
27766 reference "sec:Inserting-TeX-Code"
27767 nolink "false"
27768
27769 \end_inset
27770
27771 ),
27772  is to use the 
27773 \begin_inset Flex Code
27774 status collapsed
27775
27776 \begin_layout Plain Layout
27777 bibunits
27778 \end_layout
27779
27780 \end_inset
27781
27782  package.
27783 \end_layout
27784
27785 \end_inset
27786
27787  If 
27788 \begin_inset Flex Code
27789 status collapsed
27790
27791 \begin_layout Plain Layout
27792 bibtopic
27793 \end_layout
27794
27795 \end_inset
27796
27797  is used,
27798  \SpecialChar LyX
27799  encloses the specified units in 
27800 \begin_inset Flex Code
27801 status collapsed
27802
27803 \begin_layout Plain Layout
27804 bibtopic
27805 \end_layout
27806
27807 \end_inset
27808
27809 's 
27810 \begin_inset Flex Code
27811 status collapsed
27812
27813 \begin_layout Plain Layout
27814
27815 \backslash
27816 begin{btUnit}
27817 \end_layout
27818
27819 \end_inset
27820
27821  and 
27822 \begin_inset Flex Code
27823 status collapsed
27824
27825 \begin_layout Plain Layout
27826
27827 \backslash
27828 end{btUnit}
27829 \end_layout
27830
27831 \end_inset
27832
27833  in order to create the units.
27834  Note that this approach has some limitations.
27835  First,
27836  every citation reference has to be inside some 
27837 \begin_inset Flex Code
27838 status collapsed
27839
27840 \begin_layout Plain Layout
27841 btUnit
27842 \end_layout
27843
27844 \end_inset
27845
27846 .
27847  So citations outside a defined unit (e.
27848 \begin_inset space \thinspace{}
27849 \end_inset
27850
27851 g.,
27852  before the first section if you use 
27853 \begin_inset Quotes eld
27854 \end_inset
27855
27856 by section
27857 \begin_inset Quotes erd
27858 \end_inset
27859
27860 ) will appear as 
27861 \begin_inset Quotes eld
27862 \end_inset
27863
27864 ???
27865 \begin_inset Quotes erd
27866 \end_inset
27867
27868 .
27869  You can also create your own units by entering 
27870 \begin_inset Flex Code
27871 status collapsed
27872
27873 \begin_layout Plain Layout
27874
27875 \backslash
27876 begin{btUnit}
27877 \end_layout
27878
27879 \end_inset
27880
27881  and 
27882 \begin_inset Flex Code
27883 status collapsed
27884
27885 \begin_layout Plain Layout
27886
27887 \backslash
27888 end{btUnit}
27889 \end_layout
27890
27891 \end_inset
27892
27893  as \SpecialChar TeX
27894  code (for instance to work around the mentioned limitation).
27895  Note,
27896  though,
27897  that 
27898 \begin_inset Flex Code
27899 status collapsed
27900
27901 \begin_layout Plain Layout
27902 btUnit
27903 \end_layout
27904
27905 \end_inset
27906
27907 s cannot be nested.
27908  A second limitation is that 
27909 \begin_inset Flex Code
27910 status collapsed
27911
27912 \begin_layout Plain Layout
27913 bibtopic
27914 \end_layout
27915
27916 \end_inset
27917
27918  always processes all references of a bibliography database,
27919  even if they are not cited.
27920  This can result in odd labels (e.
27921 \begin_inset space \thinspace{}
27922 \end_inset
27923
27924 g.
27925  
27926 \begin_inset Quotes eld
27927 \end_inset
27928
27929 Miller 2014b
27930 \begin_inset Quotes erd
27931 \end_inset
27932
27933  if two works of this author from 2014 are in the database,
27934  even if only one is cited).
27935 \end_layout
27936
27937 \begin_layout Standard
27938 If you use 
27939 \family sans
27940 Biblatex
27941 \family default
27942 ,
27943  the 
27944 \begin_inset Flex Code
27945 status collapsed
27946
27947 \begin_layout Plain Layout
27948 refsection
27949 \end_layout
27950
27951 \end_inset
27952
27953  option is used instead.
27954  If you need specific units,
27955  you can start them with the \SpecialChar TeX
27956  code 
27957 \begin_inset Flex Code
27958 status collapsed
27959
27960 \begin_layout Plain Layout
27961
27962 \backslash
27963 newrefsection
27964 \end_layout
27965
27966 \end_inset
27967
27968  or 
27969 \begin_inset Flex Code
27970 status collapsed
27971
27972 \begin_layout Plain Layout
27973
27974 \backslash
27975 newrefsegment
27976 \end_layout
27977
27978 \end_inset
27979
27980 ,
27981  respectively.
27982  If you also want to control the end of the unit,
27983  use the environment 
27984 \begin_inset Flex Code
27985 status collapsed
27986
27987 \begin_layout Plain Layout
27988
27989 \backslash
27990 begin{refsection}
27991 \end_layout
27992
27993 \end_inset
27994
27995  \SpecialChar ldots
27996  
27997 \begin_inset Flex Code
27998 status collapsed
27999
28000 \begin_layout Plain Layout
28001
28002 \backslash
28003 end{refsection}
28004 \end_layout
28005
28006 \end_inset
28007
28008  instead.
28009  Note,
28010  though,
28011  that 
28012 \begin_inset Flex Code
28013 status collapsed
28014
28015 \begin_layout Plain Layout
28016 refsection
28017 \end_layout
28018
28019 \end_inset
28020
28021 s cannot be nested.
28022  In addition to the individual bibliography of the current unit,
28023  
28024 \family sans
28025 Biblatex
28026 \family default
28027  also provides an easy way to output all bibliographies,
28028  subsequently,
28029  at one place (e.
28030 \begin_inset space \thinspace{}
28031 \end_inset
28032
28033 g.,
28034  at the end of the document).
28035  Select 
28036 \begin_inset Quotes eld
28037 \end_inset
28038
28039 all reference units
28040 \begin_inset Quotes erd
28041 \end_inset
28042
28043  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve this.
28044  Please refer to the 
28045 \family sans
28046 Biblatex
28047 \family default
28048  manual for more information on this topic.
28049 \end_layout
28050
28051 \begin_layout Chapter
28052
28053 \change_deleted 564990737 1671355654
28054 Itemize 
28055 \change_unchanged
28056 Bullet
28057 \change_inserted 564990737 1671355667
28058 s
28059 \change_deleted 564990737 1671355661
28060  Selection
28061 \change_inserted 564990737 1671355684
28062
28063 \begin_inset CommandInset label
28064 LatexCommand label
28065 name "chap:bullets"
28066
28067 \end_inset
28068
28069
28070 \change_deleted 564990737 1671355684
28071
28072 \begin_inset CommandInset label
28073 LatexCommand label
28074 name "sec:bullet"
28075
28076 \end_inset
28077
28078
28079 \change_unchanged
28080
28081 \end_layout
28082
28083 \begin_layout Standard
28084 by
28085 \noun on
28086  Allan Rae
28087 \end_layout
28088
28089 \begin_layout Section
28090 Introduction
28091 \end_layout
28092
28093 \begin_layout Standard
28094 \SpecialChar LyX
28095  provides 216 bullet shapes that can be accessed from a simple dialog.
28096  Using this dialog you can easily specify what bullet shape to use at each level of an itemized list.
28097  These settings are document-wide so you won't be able to specify different sets of bullets for different paragraphs.
28098 \begin_inset Foot
28099 status collapsed
28100
28101 \begin_layout Plain Layout
28102 Well,
28103  actually you can but you'll have to do it by hand.
28104 \end_layout
28105
28106 \end_inset
28107
28108
28109 \end_layout
28110
28111 \begin_layout Section
28112 How it looks
28113 \end_layout
28114
28115 \begin_layout Standard
28116 Open the dialog by selecting the 
28117 \change_deleted -712698321 1674916009
28118
28119 \begin_inset Flex Noun
28120 status collapsed
28121
28122 \begin_layout Plain Layout
28123 Document\SpecialChar menuseparator
28124 Settings
28125 \end_layout
28126
28127 \end_inset
28128
28129
28130 \change_inserted -712698321 1674916009
28131
28132 \family sans
28133 Document\SpecialChar menuseparator
28134 Settings
28135 \change_unchanged
28136
28137 \family default
28138  menu item and then select the 
28139 \begin_inset Flex Noun
28140 status collapsed
28141
28142 \begin_layout Plain Layout
28143 Bullets
28144 \end_layout
28145
28146 \end_inset
28147
28148  tab.
28149 \end_layout
28150
28151 \begin_layout Standard
28152 The dialog provides you with a table of bullet shapes.
28153  A column of buttons on the left of the table provides access to the six different panels of bullet shapes.
28154  The row of buttons across the top is used to select which bullet depth you are changing.
28155 \change_inserted -712698321 1674916033
28156
28157 \end_layout
28158
28159 \begin_layout Standard
28160
28161 \change_inserted -712698321 1674916177
28162 If you select 
28163 \family sans
28164 Custom bullet
28165 \family default
28166 ,
28167  
28168 \change_deleted -712698321 1674916065
28169  A
28170 \change_inserted -712698321 1674916067
28171 a
28172 \change_unchanged
28173  text entry under the table 
28174 \change_inserted -712698321 1674916074
28175 will be activated 
28176 \change_deleted -712698321 1674916096
28177 shows the currently selected
28178 \change_inserted -712698321 1674916101
28179 in which you can enter a
28180 \change_unchanged
28181  bullet shape's \SpecialChar LaTeX
28182  equivalent
28183 \change_deleted -712698321 1674916109
28184  and this can be edited if desired
28185 \change_unchanged
28186 .
28187  If you do modify the text you will also need to specify any needed packages in the \SpecialChar LaTeX
28188  preamble.
28189 \end_layout
28190
28191 \begin_layout Standard
28192 The six panels are divided up by the packages they require.
28193  The following table shows the mappings from button name to \SpecialChar LaTeX
28194  package.
28195 \end_layout
28196
28197 \begin_layout Standard
28198 \align center
28199 \begin_inset Tabular
28200 <lyxtabular version="3" rows="7" columns="2">
28201 <features tabularvalignment="middle">
28202 <column alignment="center" valignment="top" width="0pt">
28203 <column alignment="center" valignment="top" width="0pt">
28204 <row>
28205 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28206 \begin_inset Text
28207
28208 \begin_layout Plain Layout
28209
28210 \family roman
28211 \series medium
28212 \shape up
28213 \size normal
28214 \emph off
28215 \bar no
28216 \noun off
28217 \color none
28218 Button
28219 \end_layout
28220
28221 \end_inset
28222 </cell>
28223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28224 \begin_inset Text
28225
28226 \begin_layout Plain Layout
28227
28228 \family roman
28229 \series medium
28230 \shape up
28231 \size normal
28232 \emph off
28233 \bar no
28234 \noun off
28235 \color none
28236 Packages Required
28237 \end_layout
28238
28239 \end_inset
28240 </cell>
28241 </row>
28242 <row>
28243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28244 \begin_inset Text
28245
28246 \begin_layout Plain Layout
28247
28248 \family sans
28249 \series medium
28250 \shape up
28251 \size normal
28252 \emph off
28253 \bar no
28254 \noun off
28255 \color none
28256 Standard
28257 \end_layout
28258
28259 \end_inset
28260 </cell>
28261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28262 \begin_inset Text
28263
28264 \begin_layout Plain Layout
28265
28266 \series medium
28267 \shape up
28268 \size normal
28269 \emph off
28270 \bar no
28271 \noun off
28272 \color none
28273 base \SpecialChar LaTeX
28274
28275 \end_layout
28276
28277 \end_inset
28278 </cell>
28279 </row>
28280 <row>
28281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28282 \begin_inset Text
28283
28284 \begin_layout Plain Layout
28285
28286 \family sans
28287 \series medium
28288 \shape up
28289 \size normal
28290 \emph off
28291 \bar no
28292 \noun off
28293 \color none
28294 Maths
28295 \end_layout
28296
28297 \end_inset
28298 </cell>
28299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28300 \begin_inset Text
28301
28302 \begin_layout Plain Layout
28303
28304 \family typewriter
28305 \series medium
28306 \shape up
28307 \size normal
28308 \emph off
28309 \bar no
28310 \noun off
28311 \color none
28312 amssymb.sty
28313 \end_layout
28314
28315 \end_inset
28316 </cell>
28317 </row>
28318 <row>
28319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28320 \begin_inset Text
28321
28322 \begin_layout Plain Layout
28323
28324 \family sans
28325 \series medium
28326 \shape up
28327 \size normal
28328 \emph off
28329 \bar no
28330 \noun off
28331 \color none
28332 Ding1
28333 \end_layout
28334
28335 \end_inset
28336 </cell>
28337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28338 \begin_inset Text
28339
28340 \begin_layout Plain Layout
28341
28342 \family typewriter
28343 \series medium
28344 \shape up
28345 \size normal
28346 \emph off
28347 \bar no
28348 \noun off
28349 \color none
28350 pifont.sty
28351 \end_layout
28352
28353 \end_inset
28354 </cell>
28355 </row>
28356 <row>
28357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28358 \begin_inset Text
28359
28360 \begin_layout Plain Layout
28361
28362 \family sans
28363 \series medium
28364 \shape up
28365 \size normal
28366 \emph off
28367 \bar no
28368 \noun off
28369 \color none
28370 Ding2
28371 \end_layout
28372
28373 \end_inset
28374 </cell>
28375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28376 \begin_inset Text
28377
28378 \begin_layout Plain Layout
28379
28380 \family typewriter
28381 \series medium
28382 \shape up
28383 \size normal
28384 \emph off
28385 \bar no
28386 \noun off
28387 \color none
28388 pifont.sty
28389 \end_layout
28390
28391 \end_inset
28392 </cell>
28393 </row>
28394 <row>
28395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28396 \begin_inset Text
28397
28398 \begin_layout Plain Layout
28399
28400 \family sans
28401 \series medium
28402 \shape up
28403 \size normal
28404 \emph off
28405 \bar no
28406 \noun off
28407 \color none
28408 Ding3
28409 \end_layout
28410
28411 \end_inset
28412 </cell>
28413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28414 \begin_inset Text
28415
28416 \begin_layout Plain Layout
28417
28418 \family typewriter
28419 \series medium
28420 \shape up
28421 \size normal
28422 \emph off
28423 \bar no
28424 \noun off
28425 \color none
28426 pifont.sty
28427 \end_layout
28428
28429 \end_inset
28430 </cell>
28431 </row>
28432 <row>
28433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28434 \begin_inset Text
28435
28436 \begin_layout Plain Layout
28437
28438 \family sans
28439 \series medium
28440 \shape up
28441 \size normal
28442 \emph off
28443 \bar no
28444 \noun off
28445 \color none
28446 Ding4
28447 \end_layout
28448
28449 \end_inset
28450 </cell>
28451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28452 \begin_inset Text
28453
28454 \begin_layout Plain Layout
28455
28456 \family typewriter
28457 \series medium
28458 \shape up
28459 \size normal
28460 \emph off
28461 \bar no
28462 \noun off
28463 \color none
28464 pifont.sty
28465 \end_layout
28466
28467 \end_inset
28468 </cell>
28469 </row>
28470 </lyxtabular>
28471
28472 \end_inset
28473
28474
28475 \end_layout
28476
28477 \begin_layout Standard
28478 \SpecialChar LyX
28479  doesn't stop you using bullets from packages you don't have.
28480  If you get errors from \SpecialChar LaTeX
28481  when you try to view or print the file,
28482  then it is likely you are missing a package.
28483 \begin_inset Foot
28484 status collapsed
28485
28486 \begin_layout Plain Layout
28487 \SpecialChar LyX
28488  doesn't restrict your use since you may be editing locally and exporting elsewhere.
28489 \end_layout
28490
28491 \end_inset
28492
28493
28494 \end_layout
28495
28496 \begin_layout Section
28497
28498 \change_inserted -712698321 1674916414
28499 \begin_inset CommandInset label
28500 LatexCommand label
28501 name "sec:How-to-use"
28502
28503 \end_inset
28504
28505
28506 \change_unchanged
28507 How to use it
28508 \end_layout
28509
28510 \begin_layout Standard
28511 Select which bullet depth you want to change then select the bullet shape and size.
28512  Any changes will not be visible in \SpecialChar LyX
28513 ,
28514  but are visible when viewing the document.
28515 \end_layout
28516
28517 \begin_layout Standard
28518 You can reset a bullet shape to the default simply by clicking your right mouse button on the appropriate bullet depth button.
28519 \change_deleted -712698321 1674916288
28520
28521 \begin_inset Foot
28522 status collapsed
28523
28524 \begin_layout Plain Layout
28525
28526 \change_deleted -712698321 1674916287
28527 \begin_inset CommandInset label
28528 LatexCommand label
28529 name "fn:If-you-really"
28530
28531 \end_inset
28532
28533
28534 \change_unchanged
28535 If you 
28536 \emph on
28537 really
28538 \emph default
28539  want to have multiple sets of paragraphs with different sets of bullets in each,
28540  then you're going to have to get your hands dirty with \SpecialChar TeX
28541  code.
28542  The bullet selection dialog can help though because it provides you with the \SpecialChar LaTeX
28543  code for a wide range of bullet shapes.
28544  To make your own custom paragraphs you have the following options:
28545 \end_layout
28546
28547 \begin_layout Plain Layout
28548 \begin_inset ERT
28549 status open
28550
28551 \begin_layout Plain Layout
28552
28553
28554 \backslash
28555 let
28556 \backslash
28557 savelabelitemi=
28558 \backslash
28559 labelitemi
28560 \end_layout
28561
28562 \end_inset
28563
28564
28565 \end_layout
28566
28567 \begin_layout Plain Layout
28568 \begin_inset ERT
28569 status open
28570
28571 \begin_layout Plain Layout
28572
28573
28574 \backslash
28575 renewcommand
28576 \backslash
28577 labelitemi[0]{
28578 \backslash
28579 small
28580 \backslash
28581 (
28582 \backslash
28583 sharp
28584 \backslash
28585 )}
28586 \end_layout
28587
28588 \end_inset
28589
28590
28591 \end_layout
28592
28593 \begin_layout Itemize
28594 Use the \SpecialChar LaTeX
28595  command 
28596 \begin_inset Flex Code
28597 status collapsed
28598
28599 \begin_layout Plain Layout
28600
28601 \backslash
28602 renewcommand{}{}
28603 \end_layout
28604
28605 \end_inset
28606
28607  to specify a new bullet shape for a given depth.
28608  You'll also need to save the current bullet shape so you can restore it again afterwards.
28609  In this itemized list the following \SpecialChar LaTeX
28610  code was used to change the bullet used for the first depth.
28611 \end_layout
28612
28613 \begin_deeper
28614 \begin_layout LyX-Code
28615
28616 \backslash
28617 let
28618 \backslash
28619 savelabelitemi=
28620 \backslash
28621 labelitemi 
28622 \end_layout
28623
28624 \begin_layout LyX-Code
28625
28626 \backslash
28627 renewcommand
28628 \backslash
28629 labelitemi[0]{
28630 \backslash
28631 small
28632 \backslash
28633 (
28634 \backslash
28635 sharp
28636 \backslash
28637 )}
28638 \end_layout
28639
28640 \end_deeper
28641 \begin_layout Itemize
28642 Note that the itemize depth is specified in Roman numerals as part of the 
28643 \family typewriter
28644
28645 \backslash
28646 labelitem
28647 \family default
28648  command.
28649 \end_layout
28650
28651 \begin_layout Itemize
28652 \begin_inset Argument item:1
28653 status open
28654
28655 \begin_layout Plain Layout
28656 \begin_inset ERT
28657 status open
28658
28659 \begin_layout Plain Layout
28660
28661
28662 \backslash
28663 (
28664 \backslash
28665 star
28666 \backslash
28667 )
28668 \end_layout
28669
28670 \end_inset
28671
28672
28673 \end_layout
28674
28675 \end_inset
28676
28677  Specify each individual entry by starting each item with the bullet shape enclosed in a 
28678 \begin_inset Quotes eld
28679 \end_inset
28680
28681 Custom Item
28682 \begin_inset Quotes erd
28683 \end_inset
28684
28685  inset (available at 
28686 \family sans
28687 Insert\SpecialChar menuseparator
28688 Custom Item
28689 \family default
28690 ) and set as 
28691 \begin_inset Flex Noun
28692 status collapsed
28693
28694 \begin_layout Plain Layout
28695 \SpecialChar TeX
28696  Code
28697 \end_layout
28698
28699 \end_inset
28700
28701 .
28702  For example,
28703  this item was started with 
28704 \begin_inset Flex Code
28705 status collapsed
28706
28707 \begin_layout Plain Layout
28708
28709 \backslash
28710 (
28711 \backslash
28712 star
28713 \backslash
28714 )
28715 \end_layout
28716
28717 \end_inset
28718
28719 .
28720 \end_layout
28721
28722 \begin_layout Plain Layout
28723 \begin_inset ERT
28724 status open
28725
28726 \begin_layout Plain Layout
28727
28728
28729 \backslash
28730 renewcommand
28731 \backslash
28732 labelitemi[0]{
28733 \backslash
28734 savelabelitemi}
28735 \end_layout
28736
28737 \end_inset
28738
28739
28740 \end_layout
28741
28742 \begin_layout Plain Layout
28743 You'll also need to revert the labelitem back to its previous setting for the global bullet shape settings to remain in effect.
28744  The way used here was:
28745 \end_layout
28746
28747 \begin_layout LyX-Code
28748
28749 \backslash
28750 renewcommand
28751 \backslash
28752 labelitemi[0]{
28753 \backslash
28754 savelabelitemi}
28755 \end_layout
28756
28757 \end_inset
28758
28759
28760 \change_inserted -712698321 1674916331
28761
28762 \begin_inset CommandInset label
28763 LatexCommand label
28764 name "fn:If-you-really"
28765
28766 \end_inset
28767
28768
28769 \end_layout
28770
28771 \begin_layout Standard
28772
28773 \change_inserted -712698321 1674916288
28774 If you 
28775 \emph on
28776 really
28777 \emph default
28778  want to have multiple sets of paragraphs with different sets of bullets in each,
28779  then you're going to have to get your hands dirty with \SpecialChar TeX
28780  code.
28781  The bullet selection dialog can help though because it provides you with the \SpecialChar LaTeX
28782  code for a wide range of bullet shapes.
28783  To make your own custom paragraphs you have the following options:
28784 \end_layout
28785
28786 \begin_layout Standard
28787
28788 \change_inserted -712698321 1674916288
28789 \begin_inset ERT
28790 status open
28791
28792 \begin_layout Plain Layout
28793
28794 \change_inserted -712698321 1674916288
28795
28796
28797 \backslash
28798 let
28799 \backslash
28800 savelabelitemi=
28801 \backslash
28802 labelitemi
28803 \end_layout
28804
28805 \end_inset
28806
28807
28808 \end_layout
28809
28810 \begin_layout Standard
28811
28812 \change_inserted -712698321 1674916288
28813 \begin_inset ERT
28814 status open
28815
28816 \begin_layout Plain Layout
28817
28818 \change_inserted -712698321 1674916288
28819
28820
28821 \backslash
28822 renewcommand
28823 \backslash
28824 labelitemi[0]{
28825 \backslash
28826 small
28827 \backslash
28828 (
28829 \backslash
28830 sharp
28831 \backslash
28832 )}
28833 \end_layout
28834
28835 \end_inset
28836
28837
28838 \end_layout
28839
28840 \begin_layout Itemize
28841
28842 \change_inserted -712698321 1674916288
28843 Use the \SpecialChar LaTeX
28844  command 
28845 \begin_inset Flex Code
28846 status collapsed
28847
28848 \begin_layout Plain Layout
28849
28850 \change_inserted -712698321 1674916288
28851
28852 \backslash
28853 renewcommand
28854 \change_unchanged
28855
28856 \end_layout
28857
28858 \end_inset
28859
28860  to specify a new bullet shape for a given depth.
28861  You'll also need to save the current bullet shape so you can restore it again afterwards.
28862  In this itemized list the following \SpecialChar LaTeX
28863  code was used to change the bullet used for the first depth.
28864 \end_layout
28865
28866 \begin_deeper
28867 \begin_layout LyX-Code
28868
28869 \change_inserted -712698321 1674916288
28870
28871 \backslash
28872 let
28873 \backslash
28874 savelabelitemi=
28875 \backslash
28876 labelitemi 
28877 \end_layout
28878
28879 \begin_layout LyX-Code
28880
28881 \change_inserted -712698321 1674916288
28882
28883 \backslash
28884 renewcommand
28885 \backslash
28886 labelitemi[0]{
28887 \backslash
28888 small
28889 \backslash
28890 (
28891 \backslash
28892 sharp
28893 \backslash
28894 )}
28895 \end_layout
28896
28897 \end_deeper
28898 \begin_layout Itemize
28899
28900 \change_inserted -712698321 1674916288
28901 Note that the itemize depth is specified in Roman numerals as part of the 
28902 \family typewriter
28903
28904 \backslash
28905 labelitem
28906 \family default
28907  command.
28908 \end_layout
28909
28910 \begin_layout Itemize
28911
28912 \change_inserted -712698321 1674916288
28913 \begin_inset Argument item:1
28914 status open
28915
28916 \begin_layout Plain Layout
28917
28918 \change_inserted -712698321 1674916288
28919 \begin_inset ERT
28920 status open
28921
28922 \begin_layout Plain Layout
28923
28924 \change_inserted -712698321 1674916288
28925
28926
28927 \backslash
28928 (
28929 \backslash
28930 star
28931 \backslash
28932 )
28933 \end_layout
28934
28935 \end_inset
28936
28937
28938 \change_unchanged
28939
28940 \end_layout
28941
28942 \end_inset
28943
28944  Specify each individual entry by starting each item with the bullet shape enclosed in a 
28945 \begin_inset Quotes eld
28946 \end_inset
28947
28948 Custom Item
28949 \begin_inset Quotes erd
28950 \end_inset
28951
28952  inset (available at 
28953 \family sans
28954 Insert\SpecialChar menuseparator
28955 Custom Item
28956 \family default
28957 ) and set as 
28958 \begin_inset Flex Noun
28959 status collapsed
28960
28961 \begin_layout Plain Layout
28962
28963 \change_inserted -712698321 1674916288
28964 \SpecialChar TeX
28965  Code
28966 \change_unchanged
28967
28968 \end_layout
28969
28970 \end_inset
28971
28972 .
28973  For example,
28974  this item was started with 
28975 \begin_inset Flex Code
28976 status collapsed
28977
28978 \begin_layout Plain Layout
28979
28980 \change_inserted -712698321 1674916288
28981
28982 \backslash
28983 (
28984 \backslash
28985 star
28986 \backslash
28987 )
28988 \change_unchanged
28989
28990 \end_layout
28991
28992 \end_inset
28993
28994 .
28995 \end_layout
28996
28997 \begin_layout Standard
28998
28999 \change_inserted -712698321 1674916288
29000 \begin_inset ERT
29001 status open
29002
29003 \begin_layout Plain Layout
29004
29005 \change_inserted -712698321 1674916288
29006
29007
29008 \backslash
29009 renewcommand
29010 \backslash
29011 labelitemi[0]{
29012 \backslash
29013 savelabelitemi}
29014 \end_layout
29015
29016 \end_inset
29017
29018
29019 \end_layout
29020
29021 \begin_layout Standard
29022
29023 \change_inserted -712698321 1674916288
29024 You'll also need to revert the labelitem back to its previous setting for the global bullet shape settings to remain in effect.
29025  The way used here was:
29026 \end_layout
29027
29028 \begin_layout LyX-Code
29029
29030 \change_inserted -712698321 1674916288
29031
29032 \backslash
29033 renewcommand
29034 \backslash
29035 labelitemi[0]{
29036 \backslash
29037 savelabelitemi}
29038 \change_unchanged
29039
29040 \end_layout
29041
29042 \begin_layout Chapter
29043 Supplemental Tools
29044 \end_layout
29045
29046 \begin_layout Section
29047 Multipart Documents
29048 \end_layout
29049
29050 \begin_layout Subsection
29051 General Operation
29052 \end_layout
29053
29054 \begin_layout Standard
29055 When you are working on a large file with many sections,
29056  it is often convenient to break up the document into several files,
29057  or perhaps you have something where a table may change from time to time,
29058  but the preceding text does not.
29059  In these cases,
29060  you should seriously consider using multipart documents.
29061  For example,
29062  scientific papers often have five major sections:
29063  the introduction,
29064  observations,
29065  results,
29066  discussion,
29067  and conclusion.
29068  Each of these could be its own separate \SpecialChar LyX
29069  file,
29070  with one 
29071 \begin_inset Quotes eld
29072 \end_inset
29073
29074 master
29075 \begin_inset Quotes erd
29076 \end_inset
29077
29078  file which contains the title,
29079  authors,
29080  abstract,
29081  references,
29082  etc.,
29083  plus the five included files.
29084  It is important to note that each of these files is a full \SpecialChar LyX
29085  file which can be formatted and printed on its own,
29086  as well as included in a master file.
29087  Each of these files must have the same document class,
29088  however—
29089 don't attempt to mix book classes with article classes.
29090  You may also include \SpecialChar LaTeX
29091  files;
29092  however,
29093  these files must not have their own preamble (i.
29094 \begin_inset space \thinspace{}
29095 \end_inset
29096
29097 e.
29098 \begin_inset space \space{}
29099 \end_inset
29100
29101 everything up to and including the 
29102 \begin_inset Flex Code
29103 status collapsed
29104
29105 \begin_layout Plain Layout
29106
29107 \backslash
29108 begin{document}
29109 \end_layout
29110
29111 \end_inset
29112
29113  line as well as the 
29114 \begin_inset Flex Code
29115 status collapsed
29116
29117 \begin_layout Plain Layout
29118
29119 \backslash
29120 end{document}
29121 \end_layout
29122
29123 \end_inset
29124
29125  line must be deleted) or else errors will be generated when you try to make a DVI file.
29126 \end_layout
29127
29128 \begin_layout Standard
29129 \SpecialChar LyX
29130  allows you to include files quite easily with 
29131 \change_deleted -712698321 1674917774
29132
29133 \begin_inset Flex Noun
29134 status collapsed
29135
29136 \begin_layout Plain Layout
29137 Insert\SpecialChar menuseparator
29138 Child
29139 \begin_inset space ~
29140 \end_inset
29141
29142 Document
29143 \end_layout
29144
29145 \end_inset
29146
29147
29148 \change_inserted -712698321 1674917774
29149
29150 \family sans
29151 Insert\SpecialChar menuseparator
29152 Child
29153 \begin_inset space ~
29154 \end_inset
29155
29156 Document
29157 \change_unchanged
29158
29159 \family default
29160 .
29161  When you click on this selection a small box is inserted into the file at the current cursor location.
29162  Clicking on the box raises a dialog which allows you to select the file to be included,
29163  and the method of its inclusion.
29164  
29165 \end_layout
29166
29167 \begin_layout Standard
29168 The file selection box should by now be obvious.
29169  The three inclusion methods are 
29170 \begin_inset Quotes eld
29171 \end_inset
29172
29173 include
29174 \begin_inset Quotes erd
29175 \end_inset
29176
29177 ,
29178  
29179 \begin_inset Quotes eld
29180 \end_inset
29181
29182 input
29183 \begin_inset Quotes erd
29184 \end_inset
29185
29186 ,
29187  and 
29188 \begin_inset Quotes eld
29189 \end_inset
29190
29191 verbatim
29192 \begin_inset Quotes erd
29193 \end_inset
29194
29195 .
29196  The methods 
29197 \begin_inset Quotes eld
29198 \end_inset
29199
29200 include
29201 \begin_inset Quotes erd
29202 \end_inset
29203
29204  and 
29205 \begin_inset Quotes eld
29206 \end_inset
29207
29208 input
29209 \begin_inset Quotes erd
29210 \end_inset
29211
29212  are similar in many ways,
29213  but there are also some notable differences:
29214 \end_layout
29215
29216 \begin_layout Enumerate
29217 Files that are 
29218 \begin_inset Quotes eld
29219 \end_inset
29220
29221 included
29222 \begin_inset Quotes erd
29223 \end_inset
29224
29225  are typeset beginning on a new page,
29226  while files that are 
29227 \begin_inset Quotes eld
29228 \end_inset
29229
29230 inputted
29231 \begin_inset Quotes erd
29232 \end_inset
29233
29234  are typeset starting on the current page.
29235 \end_layout
29236
29237 \begin_layout Enumerate
29238 \begin_inset Quotes eld
29239 \end_inset
29240
29241 Included
29242 \begin_inset Quotes erd
29243 \end_inset
29244
29245  files cannot themselves 
29246 \begin_inset Quotes eld
29247 \end_inset
29248
29249 include
29250 \begin_inset Quotes erd
29251 \end_inset
29252
29253  further files (
29254 \begin_inset Quotes eld
29255 \end_inset
29256
29257 grandchilds
29258 \begin_inset Quotes erd
29259 \end_inset
29260
29261 ).
29262  With 
29263 \begin_inset Quotes eld
29264 \end_inset
29265
29266 input
29267 \begin_inset Quotes erd
29268 \end_inset
29269
29270 ,
29271  on the other hand,
29272  infinite sub-inputting is possible.
29273 \end_layout
29274
29275 \begin_layout Enumerate
29276 \begin_inset Quotes eld
29277 \end_inset
29278
29279 Include
29280 \begin_inset Quotes erd
29281 \end_inset
29282
29283  allow for the output of only selected 
29284 \begin_inset Quotes eld
29285 \end_inset
29286
29287 included
29288 \begin_inset Quotes erd
29289 \end_inset
29290
29291  files,
29292  while maintaining the actual counters (pagination etc.) and references (please refer to the section 
29293 \emph on
29294 Child
29295 \begin_inset space ~
29296 \end_inset
29297
29298 Documents
29299 \emph default
29300  of the 
29301 \emph on
29302 Embedded
29303 \begin_inset space ~
29304 \end_inset
29305
29306 Objects
29307 \emph default
29308  manual for details).
29309 \end_layout
29310
29311 \begin_layout Standard
29312 Hence,
29313  
29314 \begin_inset Quotes eld
29315 \end_inset
29316
29317 include
29318 \begin_inset Quotes erd
29319 \end_inset
29320
29321  is the preferred method for chapters that are outsourced to child documents,
29322  while 
29323 \begin_inset Quotes eld
29324 \end_inset
29325
29326 input
29327 \begin_inset Quotes erd
29328 \end_inset
29329
29330  is more suitable for arbitrary file inheritance.
29331 \end_layout
29332
29333 \begin_layout Standard
29334
29335 \begin_inset Quotes eld
29336 \end_inset
29337
29338 verbatim
29339 \begin_inset Quotes erd
29340 \end_inset
29341
29342  included file allows you to include a file typeset exactly as it appears in the file,
29343  i.
29344 \begin_inset space \thinspace{}
29345 \end_inset
29346
29347 e.
29348 \begin_inset space \space{}
29349 \end_inset
29350
29351 in 
29352 \begin_inset Flex Code
29353 status collapsed
29354
29355 \begin_layout Plain Layout
29356 verbatim
29357 \end_layout
29358
29359 \end_inset
29360
29361  mode,
29362  with the characters set in a fixed-width typewriter font.
29363  Normally,
29364  spaces in this file are invisible,
29365  though two consecutive spaces are conserved,
29366  unlike \SpecialChar LyX
29367 's normal treatment of spaces.
29368  However,
29369  setting the 
29370 \begin_inset Flex Noun
29371 status collapsed
29372
29373 \begin_layout Plain Layout
29374 Mark
29375 \begin_inset space ~
29376 \end_inset
29377
29378 spaces
29379 \begin_inset space ~
29380 \end_inset
29381
29382 in
29383 \begin_inset space ~
29384 \end_inset
29385
29386 output
29387 \end_layout
29388
29389 \end_inset
29390
29391  checkbox typesets a mark to unambiguously define the presence of a space.
29392  
29393 \end_layout
29394
29395 \begin_layout Standard
29396 Generally,
29397  the master file is converted into a full \SpecialChar LaTeX
29398  file before typesetting,
29399  while the included files are converted to \SpecialChar LaTeX
29400  files that do not have all the preamble information.
29401 \end_layout
29402
29403 \begin_layout Subsection
29404 Cross-References Between Files
29405 \end_layout
29406
29407 \begin_layout Standard
29408 \begin_inset Box Shadowbox
29409 position "t"
29410 hor_pos "c"
29411 has_inner_box 1
29412 inner_pos "t"
29413 use_parbox 0
29414 use_makebox 0
29415 width "100col%"
29416 special "none"
29417 height "1in"
29418 height_special "totalheight"
29419 thickness "0.4pt"
29420 separation "3pt"
29421 shadowsize "4pt"
29422 framecolor "black"
29423 backgroundcolor "none"
29424 status open
29425
29426 \begin_layout Plain Layout
29427 This section is somewhat out of date.
29428  Need to describe default master documents and how children are opened when the master is.
29429  [[FIXME]]
29430 \end_layout
29431
29432 \end_inset
29433
29434
29435 \end_layout
29436
29437 \begin_layout Standard
29438 It is possible to set up cross-references between the different files.
29439  First,
29440  open all the files in question:
29441  let's call them A and B in a two file example,
29442  where B is included in A.
29443  Let's say you insert a label in A,
29444  then want to reference it in B.
29445  Open the cross-reference dialog whilst in document B,
29446  and you can select the 
29447 \begin_inset Quotes eld
29448 \end_inset
29449
29450 buffer
29451 \begin_inset Quotes erd
29452 \end_inset
29453
29454  to use.
29455 \end_layout
29456
29457 \begin_layout Subsection
29458 Bibliography Lists in all Subdocuments
29459 \end_layout
29460
29461 \begin_layout Standard
29462 If you work with child documents,
29463  you might want to have only one main bibliography at the end,
29464  but still be able to have a selected bibliography for the child if you output it on its own.
29465  Here is how to achieve this.
29466 \end_layout
29467
29468 \begin_layout Standard
29469 For the main document,
29470  you just insert a bibliography inset at the place where the main bibliography has to appear (within the master file or within a child).
29471  If the bibliography inset is in the master file,
29472  the references will be inherited by all children,
29473  so they are available in the citation dialog within each child.
29474 \end_layout
29475
29476 \begin_layout Standard
29477 For child-specific bibliographies,
29478  insert bibliography insets within the child documents,
29479  at the place where the bibliography should appear when the child is compiled separately.
29480  However,
29481  the trick is to insert them into a branch (
29482 \family sans
29483 Insert\SpecialChar menuseparator
29484 Branch\SpecialChar menuseparator
29485 Insert New Branch...
29486 \family default
29487 ),
29488  e.
29489 \begin_inset space \thinspace{}
29490 \end_inset
29491
29492 g.
29493  called 
29494 \begin_inset Quotes eld
29495 \end_inset
29496
29497 Childonly
29498 \begin_inset Quotes erd
29499 \end_inset
29500
29501 .
29502  Within the children,
29503  activate the branch (
29504 \family sans
29505 Document\SpecialChar menuseparator
29506 Settings...\SpecialChar menuseparator
29507 Branches
29508 \family default
29509 ).
29510  Within the master,
29511  deactivate the branch (
29512 \family sans
29513 Document\SpecialChar menuseparator
29514 Settings...\SpecialChar menuseparator
29515 Branches
29516 \family default
29517 ).
29518  Now the child's bibliography will be ignored by the master,
29519  but considered by the child.
29520 \end_layout
29521
29522 \begin_layout Standard
29523 If you need multiple bibliographies (e.
29524 \begin_inset space \thinspace{}
29525 \end_inset
29526
29527 g.,
29528  one per child in the 
29529 \emph on
29530 main document
29531 \emph default
29532 ),
29533  please refer to sec.
29534 \begin_inset space ~
29535 \end_inset
29536
29537
29538 \begin_inset CommandInset ref
29539 LatexCommand ref
29540 reference "subsec:Multiple-Bibliographies"
29541 nolink "false"
29542
29543 \end_inset
29544
29545 .
29546 \end_layout
29547
29548 \begin_layout Section
29549 \SpecialChar LyX
29550  Archives
29551 \end_layout
29552
29553 \begin_layout Standard
29554 Users sometimes need to be able to 
29555 \begin_inset Quotes eld
29556 \end_inset
29557
29558 bundle
29559 \begin_inset Quotes erd
29560 \end_inset
29561
29562  a \SpecialChar LyX
29563  file together with all the images (and other files) on which it depends,
29564  either for sending to a publisher or for sharing with a co-author.
29565  \SpecialChar LyX
29566  includes a Python script (
29567 \begin_inset Flex Code
29568 status collapsed
29569
29570 \begin_layout Plain Layout
29571 lyxpak.py
29572 \end_layout
29573
29574 \end_inset
29575
29576 ) that automates this process.
29577  To use it,
29578  you must have either the 
29579 \begin_inset Flex Code
29580 status collapsed
29581
29582 \begin_layout Plain Layout
29583 zipfile
29584 \end_layout
29585
29586 \end_inset
29587
29588  or 
29589 \begin_inset Flex Code
29590 status collapsed
29591
29592 \begin_layout Plain Layout
29593 tarfile
29594 \end_layout
29595
29596 \end_inset
29597
29598  python modules installed on your system.
29599  By default,
29600  the script prefers the 
29601 \begin_inset Flex Code
29602 status collapsed
29603
29604 \begin_layout Plain Layout
29605 gzip
29606 \end_layout
29607
29608 \end_inset
29609
29610 -compressed 
29611 \begin_inset Flex Code
29612 status collapsed
29613
29614 \begin_layout Plain Layout
29615 tar
29616 \end_layout
29617
29618 \end_inset
29619
29620  format on Unix-like systems and the 
29621 \begin_inset Flex Code
29622 status collapsed
29623
29624 \begin_layout Plain Layout
29625 zip
29626 \end_layout
29627
29628 \end_inset
29629
29630  format on Windows.
29631 \end_layout
29632
29633 \begin_layout Standard
29634 \SpecialChar LyX
29635 's configuration process will set the script up to export a `\SpecialChar LyX
29636  Archive',
29637  and this format will then be available under 
29638 \change_deleted -712698321 1674917789
29639
29640 \begin_inset Flex Code
29641 status collapsed
29642
29643 \begin_layout Plain Layout
29644 File\SpecialChar menuseparator
29645 Export
29646 \end_layout
29647
29648 \end_inset
29649
29650
29651 \change_inserted -712698321 1674917789
29652
29653 \family sans
29654 File\SpecialChar menuseparator
29655 Export
29656 \change_unchanged
29657
29658 \family default
29659 .
29660 \end_layout
29661
29662 \begin_layout Standard
29663 Independently of the platform,
29664  the generation of a particular archive format can be forced by adding either the 
29665 \begin_inset Flex Code
29666 status collapsed
29667
29668 \begin_layout Plain Layout
29669 -t
29670 \end_layout
29671
29672 \end_inset
29673
29674  (for the 
29675 \begin_inset Flex Code
29676 status collapsed
29677
29678 \begin_layout Plain Layout
29679 tar
29680 \end_layout
29681
29682 \end_inset
29683
29684  format) or 
29685 \begin_inset Flex Code
29686 status collapsed
29687
29688 \begin_layout Plain Layout
29689 -z
29690 \end_layout
29691
29692 \end_inset
29693
29694  (for the 
29695 \begin_inset Flex Code
29696 status collapsed
29697
29698 \begin_layout Plain Layout
29699 zip
29700 \end_layout
29701
29702 \end_inset
29703
29704  format) switch to the 
29705 \begin_inset Flex Code
29706 status collapsed
29707
29708 \begin_layout Plain Layout
29709 \SpecialChar LyX
29710
29711 \change_deleted -712698321 1674918890
29712 \SpecialChar menuseparator
29713
29714 \change_inserted -712698321 1674918890
29715 ->
29716 \change_unchanged
29717 \SpecialChar LyX
29718  Archive
29719 \end_layout
29720
29721 \end_inset
29722
29723  converter in 
29724 \change_deleted -712698321 1674917814
29725
29726 \begin_inset Flex Code
29727 status collapsed
29728
29729 \begin_layout Plain Layout
29730 Tools\SpecialChar menuseparator
29731 Preferences\SpecialChar menuseparator
29732 File Handling\SpecialChar menuseparator
29733 Converters
29734 \end_layout
29735
29736 \end_inset
29737
29738
29739 \change_inserted -712698321 1674917814
29740
29741 \family sans
29742 Tools\SpecialChar menuseparator
29743 Preferences\SpecialChar menuseparator
29744 File Handling\SpecialChar menuseparator
29745 Converters
29746 \change_unchanged
29747
29748 \family default
29749 .
29750  (Make sure you add the switch after the script name,
29751  not before it.)
29752 \end_layout
29753
29754 \begin_layout Section
29755
29756 \change_deleted -712698321 1674910251
29757 Fancy Headers and Footers
29758 \end_layout
29759
29760 \begin_layout Standard
29761
29762 \change_deleted -712698321 1674910251
29763 The default page layout is rather plain;
29764  for an 
29765 \begin_inset Flex Code
29766 status collapsed
29767
29768 \begin_layout Plain Layout
29769 article
29770 \end_layout
29771
29772 \end_inset
29773
29774  document class,
29775  all you get is a centered page number at the bottom of the page.
29776  This document uses KOMA-script's book class,
29777  so it appears to be a bit fancier.
29778  But to really put on a show,
29779  you need to set the document page style to 
29780 \begin_inset Quotes eld
29781 \end_inset
29782
29783 fancy
29784 \begin_inset Quotes erd
29785 \end_inset
29786
29787 ,
29788  as mentioned in the 
29789 \emph on
29790 User Guide
29791 \emph default
29792 .
29793  This section describes the \SpecialChar LaTeX
29794  code you need to insert in your \SpecialChar LaTeX
29795  preamble in order to get the desired effects.
29796 \end_layout
29797
29798 \begin_layout Standard
29799
29800 \change_deleted -712698321 1674910251
29801 For more information on fancy headers,
29802  see the 
29803 \begin_inset Flex Code
29804 status collapsed
29805
29806 \begin_layout Plain Layout
29807 fancyhdr
29808 \end_layout
29809
29810 \end_inset
29811
29812  package documentation.
29813  (
29814 \begin_inset Flex URL
29815 status collapsed
29816
29817 \begin_layout Plain Layout
29818
29819 https://www.ctan.org/tex-archive/help/Catalogue/entries/fancyhdr.html
29820 \end_layout
29821
29822 \end_inset
29823
29824 )
29825 \end_layout
29826
29827 \begin_layout Standard
29828
29829 \change_deleted -712698321 1674910251
29830 The page header is divided into three fields,
29831  not surprisingly labeled 
29832 \begin_inset Quotes eld
29833 \end_inset
29834
29835 left
29836 \begin_inset Quotes erd
29837 \end_inset
29838
29839 ,
29840  
29841 \begin_inset Quotes eld
29842 \end_inset
29843
29844 center
29845 \begin_inset Quotes erd
29846 \end_inset
29847
29848 ,
29849  and 
29850 \begin_inset Quotes eld
29851 \end_inset
29852
29853 right
29854 \begin_inset Quotes erd
29855 \end_inset
29856
29857 .
29858  The footer is also divided into these three fields.
29859  The \SpecialChar LaTeX
29860  commands to set these fields in the simplest manner are 
29861 \begin_inset Flex Code
29862 status collapsed
29863
29864 \begin_layout Plain Layout
29865
29866 \backslash
29867 lhead
29868 \end_layout
29869
29870 \end_inset
29871
29872 ,
29873  
29874 \begin_inset Flex Code
29875 status collapsed
29876
29877 \begin_layout Plain Layout
29878
29879 \backslash
29880 chead
29881 \end_layout
29882
29883 \end_inset
29884
29885 ,
29886  
29887 \begin_inset Flex Code
29888 status collapsed
29889
29890 \begin_layout Plain Layout
29891
29892 \backslash
29893 rhead
29894 \end_layout
29895
29896 \end_inset
29897
29898 ,
29899  
29900 \begin_inset Flex Code
29901 status collapsed
29902
29903 \begin_layout Plain Layout
29904
29905 \backslash
29906 lfoot
29907 \end_layout
29908
29909 \end_inset
29910
29911 ,
29912  etc.
29913  Suppose you wish to put your name in the upper left hand corner of each page.
29914  Simply insert the following command in the preamble:
29915  
29916 \end_layout
29917
29918 \begin_layout Standard
29919
29920 \change_deleted -712698321 1674910251
29921
29922 \family typewriter
29923
29924 \backslash
29925 lhead{John Q.
29926  DocWriter}
29927 \end_layout
29928
29929 \begin_layout Standard
29930
29931 \change_deleted -712698321 1674910251
29932 You will now see your name in the upper left.
29933  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,
29934  e.
29935 \begin_inset space \thinspace{}
29936 \end_inset
29937
29938 g.:
29939 \end_layout
29940
29941 \begin_layout Standard
29942
29943 \change_deleted -712698321 1674910251
29944
29945 \family typewriter
29946
29947 \backslash
29948 cfoot{}
29949 \end_layout
29950
29951 \begin_layout Standard
29952
29953 \change_deleted -712698321 1674910251
29954 Let's get really fancy:
29955  lets put the section number with the word 
29956 \begin_inset Quotes eld
29957 \end_inset
29958
29959 Section
29960 \begin_inset Quotes erd
29961 \end_inset
29962
29963  (e.
29964 \begin_inset space \thinspace{}
29965 \end_inset
29966
29967 g.
29968 \begin_inset space \space{}
29969 \end_inset
29970
29971 Section 3) in the upper left,
29972  the page number (e.
29973 \begin_inset space \thinspace{}
29974 \end_inset
29975
29976 g.
29977 \begin_inset space \space{}
29978 \end_inset
29979
29980 Page 4) in the upper right,
29981  your name in the lower left,
29982  and the date in the lower right.
29983  The following commands should now appear in the preamble:
29984 \end_layout
29985
29986 \begin_layout Standard
29987
29988 \change_deleted -712698321 1674910251
29989
29990 \family typewriter
29991
29992 \backslash
29993 lhead{Section 
29994 \backslash
29995 thesection}
29996 \end_layout
29997
29998 \begin_layout Standard
29999
30000 \change_deleted -712698321 1674910251
30001
30002 \family typewriter
30003
30004 \backslash
30005 chead{}
30006 \end_layout
30007
30008 \begin_layout Standard
30009
30010 \change_deleted -712698321 1674910251
30011
30012 \family typewriter
30013
30014 \backslash
30015 rhead{Page 
30016 \backslash
30017 thepage}
30018 \end_layout
30019
30020 \begin_layout Standard
30021
30022 \change_deleted -712698321 1674910251
30023
30024 \family typewriter
30025
30026 \backslash
30027 lfoot{John Q.
30028  DocWriter}
30029 \end_layout
30030
30031 \begin_layout Standard
30032
30033 \change_deleted -712698321 1674910251
30034
30035 \family typewriter
30036
30037 \backslash
30038 cfoot{}
30039 \end_layout
30040
30041 \begin_layout Standard
30042
30043 \change_deleted -712698321 1674910251
30044
30045 \family typewriter
30046
30047 \backslash
30048 rfoot{
30049 \backslash
30050 today}
30051 \end_layout
30052
30053 \begin_layout Standard
30054
30055 \change_deleted -712698321 1674910251
30056 The commands 
30057 \begin_inset Flex Code
30058 status collapsed
30059
30060 \begin_layout Plain Layout
30061
30062 \backslash
30063 thesection
30064 \end_layout
30065
30066 \end_inset
30067
30068  and 
30069 \begin_inset Flex Code
30070 status collapsed
30071
30072 \begin_layout Plain Layout
30073
30074 \backslash
30075 thepage
30076 \end_layout
30077
30078 \end_inset
30079
30080  access \SpecialChar LaTeX
30081 's section and page counters,
30082  and so print out the current section and page number.
30083  
30084 \begin_inset Flex Code
30085 status collapsed
30086
30087 \begin_layout Plain Layout
30088
30089 \backslash
30090 today
30091 \end_layout
30092
30093 \end_inset
30094
30095  simply prints out today's date.
30096 \end_layout
30097
30098 \begin_layout Standard
30099
30100 \change_deleted -712698321 1674910251
30101 The thicknesses of the horizontal rules drawn beneath the header and above the footer can also be modified.
30102  If you don't want one of the rules,
30103  set its thickness to 0.
30104  The header rule has a default thickness of 0.4pt,
30105  the footer rule is 0pt.
30106  Use commands
30107 \family typewriter
30108  
30109 \family default
30110 like 
30111 \begin_inset Flex Code
30112 status collapsed
30113
30114 \begin_layout Plain Layout
30115
30116 \backslash
30117 renewcommand{
30118 \backslash
30119 headrulewidth}{0.4pt}
30120 \end_layout
30121
30122 \end_inset
30123
30124  and 
30125 \begin_inset Flex Code
30126 status collapsed
30127
30128 \begin_layout Plain Layout
30129
30130 \backslash
30131 renewcommand{
30132 \backslash
30133 footrulewidth}{0.4pt}
30134 \end_layout
30135
30136 \end_inset
30137
30138  to set the thicknesses.
30139 \end_layout
30140
30141 \begin_layout Standard
30142
30143 \change_deleted -712698321 1674910251
30144 You can switch the header/footer settings on and off for individual pages using commands like 
30145 \begin_inset Flex Code
30146 status collapsed
30147
30148 \begin_layout Plain Layout
30149
30150 \backslash
30151 thispagestyle{empty}
30152 \end_layout
30153
30154 \end_inset
30155
30156 ,
30157  
30158 \begin_inset Flex Code
30159 status collapsed
30160
30161 \begin_layout Plain Layout
30162
30163 \backslash
30164 thispagestyle{plain}
30165 \end_layout
30166
30167 \end_inset
30168
30169 ,
30170  and 
30171 \begin_inset Flex Code
30172 status collapsed
30173
30174 \begin_layout Plain Layout
30175
30176 \backslash
30177 thispagestyle{fancy}
30178 \end_layout
30179
30180 \end_inset
30181
30182 .
30183  Simply insert them in the text on the page you want changed and mark them as \SpecialChar TeX
30184  code.
30185  In fact,
30186  title pages are marked as plain by default,
30187  while following pages are marked fancy when using the global fancy setting.
30188 \end_layout
30189
30190 \begin_layout Standard
30191
30192 \change_deleted -712698321 1674910251
30193 As a final example,
30194  it is possible to include an image in the header or footer.
30195  Suppose you want to put a company logo in the upper lefthand corner.
30196  You might try something like
30197 \end_layout
30198
30199 \begin_layout Standard
30200
30201 \change_deleted -712698321 1674910251
30202
30203 \family typewriter
30204
30205 \backslash
30206 lhead{
30207 \backslash
30208 resizebox{1in}{!}{
30209 \backslash
30210 includegraphics{logo.eps}}}
30211 \end_layout
30212
30213 \begin_layout Standard
30214 \noindent
30215
30216 \change_deleted -712698321 1674910251
30217 (you may need to preface this with 
30218 \begin_inset Flex Code
30219 status collapsed
30220
30221 \begin_layout Plain Layout
30222
30223 \backslash
30224 usepackage{graphics}
30225 \end_layout
30226
30227 \end_inset
30228
30229  if you don't include graphics elsewhere in your document).
30230 \change_unchanged
30231
30232 \end_layout
30233
30234 \begin_layout Chapter
30235 \SpecialChar LyX
30236  and the World Wide Web
30237 \end_layout
30238
30239 \begin_layout Standard
30240 \SpecialChar LyX
30241  has long supported the export of documents to various web-friendly formats,
30242  such as HTML.
30243  Before version 2.0,
30244  however,
30245  HTML export was always accomplished by the use of external converters.
30246 \begin_inset Foot
30247 status collapsed
30248
30249 \begin_layout Plain Layout
30250 For details on the use of external converters with \SpecialChar LyX
30251 ,
30252  see the 
30253 \emph on
30254 Converters
30255 \emph default
30256  section of the Customization manual.
30257 \end_layout
30258
30259 \end_inset
30260
30261  These fall into two large groups:
30262  there are converters that use \SpecialChar LaTeX
30263  as an intermediate format,
30264  such as 
30265 \begin_inset Flex Code
30266 status collapsed
30267
30268 \begin_layout Plain Layout
30269 htlatex
30270 \end_layout
30271
30272 \end_inset
30273
30274 ,
30275  
30276 \begin_inset Flex Code
30277 status collapsed
30278
30279 \begin_layout Plain Layout
30280 html2latex
30281 \end_layout
30282
30283 \end_inset
30284
30285 ,
30286  and 
30287 \begin_inset Flex Code
30288 status collapsed
30289
30290 \begin_layout Plain Layout
30291 plastex
30292 \end_layout
30293
30294 \end_inset
30295
30296 ,
30297  relying upon \SpecialChar LyX
30298  to produce the \SpecialChar LaTeX
30299 ;
30300  and there is a converter that works directly on \SpecialChar LyX
30301  files,
30302  
30303 \begin_inset Flex Code
30304 status collapsed
30305
30306 \begin_layout Plain Layout
30307 e\SpecialChar LyX
30308 er
30309 \end_layout
30310
30311 \end_inset
30312
30313 .
30314  All of these have different advantages and disadvantages.
30315  
30316 \end_layout
30317
30318 \begin_layout Standard
30319 The \SpecialChar LaTeX
30320 -based converters have the advantage that,
30321  in principle,
30322  they know everything about the exported document that \SpecialChar LaTeX
30323  does.
30324  Such converters do not care,
30325  for example,
30326  if a certain block of code was produced by \SpecialChar LyX
30327  or was Evil Red Text.
30328  These converters know about 
30329 \begin_inset Flex Code
30330 status collapsed
30331
30332 \begin_layout Plain Layout
30333 aux
30334 \end_layout
30335
30336 \end_inset
30337
30338  files,
30339  counters,
30340  and references,
30341  and can often make use of the 
30342 \begin_inset Flex Code
30343 status collapsed
30344
30345 \begin_layout Plain Layout
30346 bbl
30347 \end_layout
30348
30349 \end_inset
30350
30351  files generated by Bib\SpecialChar TeX
30352 .
30353  On the other hand,
30354  \SpecialChar LaTeX
30355  is a very hard language to parse—
30356 it is sometimes said that only \SpecialChar TeX
30357  itself understands \SpecialChar TeX
30358
30359 and \SpecialChar LaTeX
30360 -based converters will often choke on what seem to be quite simple constructs;
30361  complex ones can throw them completely,
30362  and as of this writing,
30363  for example,
30364  the 
30365 \emph on
30366 Embedded Objects
30367 \emph default
30368  manual will not export with 
30369 \begin_inset Flex Code
30370 status collapsed
30371
30372 \begin_layout Plain Layout
30373 htlatex
30374 \end_layout
30375
30376 \end_inset
30377
30378 ,
30379  though the others will.
30380  The other issue concerns how math is handled.
30381  These converters typically convert the formulae into little pictures that are then linked from the HTML document.
30382  Since these are actually generated by \SpecialChar LaTeX
30383 ,
30384  they are accurate.
30385  But they do not scale well,
30386  and just getting them to look as if they are actually meant to be in your document—
30387 so that the font sizes seem to be roughly the same—
30388 can be a challenge.
30389 \end_layout
30390
30391 \begin_layout Standard
30392 Alex Fernandez's 
30393 \begin_inset Flex Code
30394 status collapsed
30395
30396 \begin_layout Plain Layout
30397 e\SpecialChar LyX
30398 er
30399 \end_layout
30400
30401 \end_inset
30402
30403  (
30404 \begin_inset CommandInset href
30405 LatexCommand href
30406 name "http://pinchito.es/elyxer/"
30407 target "http://pinchito.es/elyxer/"
30408 literal "false"
30409
30410 \end_inset
30411
30412 ) solves some of these problems.
30413  In particular,
30414  the formulae it produces scale perfectly,
30415  since it renders math using a combination of HTML and CSS rather than converting the formulae to images.
30416  But even moderately complex formula are rendered less well than with 
30417 \begin_inset Flex Code
30418 status collapsed
30419
30420 \begin_layout Plain Layout
30421 htlatex
30422 \end_layout
30423
30424 \end_inset
30425
30426 ;
30427  this reflects the limitations of HTML.
30428 \begin_inset Foot
30429 status collapsed
30430
30431 \begin_layout Plain Layout
30432 That said,
30433  
30434 \begin_inset Flex Code
30435 status collapsed
30436
30437 \begin_layout Plain Layout
30438 e\SpecialChar LyX
30439 er
30440 \end_layout
30441
30442 \end_inset
30443
30444  can also use jsMath and MathJax for equations,
30445  but this setting is only available globally and requires one to have access to a server that runs the backend.
30446 \end_layout
30447
30448 \end_inset
30449
30450  More importantly (as of version 1.1.1,
30451  at least),
30452  
30453 \begin_inset Flex Code
30454 status collapsed
30455
30456 \begin_layout Plain Layout
30457 e\SpecialChar LyX
30458 er
30459 \end_layout
30460
30461 \end_inset
30462
30463  has limited support for math macros and no support for user-defined paragraph or character styles.
30464  These limitations make 
30465 \begin_inset Flex Code
30466 status collapsed
30467
30468 \begin_layout Plain Layout
30469 e\SpecialChar LyX
30470 er
30471 \end_layout
30472
30473 \end_inset
30474
30475  unsuitable for many of the documents \SpecialChar LyX
30476  users produce.
30477  In principle,
30478  of course,
30479  these problems could be solved,
30480  but the \SpecialChar LyX
30481  developers have decided to follow a different path and have made \SpecialChar LyX
30482  itself capable of writing XHTML,
30483  just as it is capable of writing \SpecialChar LaTeX
30484 ,
30485  DocBook,
30486  and plaintext.
30487 \end_layout
30488
30489 \begin_layout Standard
30490 As of this writing,
30491  XHTML output remains under development and should probably be regarded as 
30492 \begin_inset Quotes eld
30493 \end_inset
30494
30495 experimental
30496 \begin_inset Quotes erd
30497 \end_inset
30498
30499 .
30500 \begin_inset Foot
30501 status collapsed
30502
30503 \begin_layout Plain Layout
30504 The file 
30505 \begin_inset Flex Code
30506 status collapsed
30507
30508 \begin_layout Plain Layout
30509 development/HTML/HTML.notes
30510 \end_layout
30511
30512 \end_inset
30513
30514 ,
30515  which can be found in the \SpecialChar LyX
30516  source tree or 
30517 \begin_inset CommandInset href
30518 LatexCommand href
30519 name "accessed online"
30520 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
30521 literal "false"
30522
30523 \end_inset
30524
30525 ,
30526  usually contains up-to-date information about the state of XHTML output.
30527  See also the list of XHTML bugs on 
30528 \begin_inset CommandInset href
30529 LatexCommand href
30530 name "the bug tracker"
30531 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"
30532 literal "false"
30533
30534 \end_inset
30535
30536 .
30537 \end_layout
30538
30539 \end_inset
30540
30541  Still,
30542  the developers have chosen this approach because it has several potential advantages over the other two.
30543 \end_layout
30544
30545 \begin_layout Standard
30546 These advantages are primarily due to the fact that the XHTML output routines,
30547  since they are part of \SpecialChar LyX
30548 ,
30549  know everything \SpecialChar LyX
30550  knows about the document being exported.
30551 \begin_inset Foot
30552 status collapsed
30553
30554 \begin_layout Plain Layout
30555 Another advantage is that,
30556  since these routines are internal to \SpecialChar LyX
30557 ,
30558  they are immune to changes in \SpecialChar LyX
30559 's file format,
30560  or to changes in the semantics of existing insets.
30561 \end_layout
30562
30563 \end_inset
30564
30565  So they know about the table of contents (as displayed in the outline),
30566  about the counters associated with different paragraph styles,
30567  and about user-defined styles.
30568  The XHTML output routines know what \SpecialChar LyX
30569  knows about internationalization,
30570  too,
30571  so they will output 
30572 \begin_inset Quotes eld
30573 \end_inset
30574
30575 Chapter 1
30576 \begin_inset Quotes erd
30577 \end_inset
30578
30579  or 
30580 \begin_inset Quotes eld
30581 \end_inset
30582
30583
30584 \lang ngerman
30585 Kapitel
30586 \lang english
30587  1
30588 \begin_inset Quotes erd
30589 \end_inset
30590
30591 ,
30592  depending upon the language in effect at the time.
30593  
30594 \end_layout
30595
30596 \begin_layout Standard
30597 Quite generally,
30598  the output routines know what \SpecialChar LyX
30599  knows about document layout,
30600  that is,
30601  about how the document is to be rendered on screen.
30602  We use this information when we output the document as XHTML.
30603  In particular,
30604  \SpecialChar LyX
30605  
30606 \emph on
30607 automatically
30608 \emph default
30609  generates CSS style information corresponding to the layout information it uses to render the document on screen:
30610  if section headings are supposed to be sans-serif and bold as seen in \SpecialChar LyX
30611 ,
30612  then (by default) they will be sans-serif and bold when viewed in a web browser,
30613  too.
30614  And this is true not just for pre-defined styles,
30615  like Section,
30616  but for any style,
30617  including user-defined styles.
30618  Indeed,
30619  the XHTML output routines make no distinction between user-defined paragraph and 
30620 \change_deleted 244031559 1603876931
30621 character
30622 \change_inserted 244031559 1603876940
30623 text
30624 \change_unchanged
30625  styles and \SpecialChar LyX
30626 's own pre-defined styles:
30627  in each case,
30628  everything \SpecialChar LyX
30629  knows about the styles is contained in the layout files.
30630  And much the same is true as regards pre-defined textual insets,
30631  such as footnotes,
30632  and various custom insets.
30633  
30634 \end_layout
30635
30636 \begin_layout Standard
30637 The result is that XHTML output can be customized and extended in exactly the same way \SpecialChar LaTeX
30638  output can be customized and extended:
30639  through layout files and modules.
30640  See chapter five of the 
30641 \emph on
30642 Customization 
30643 \emph default
30644 manual for the details.
30645 \end_layout
30646
30647 \begin_layout Standard
30648 The remainder of this chapter contains more detailed information on XHTML output,
30649  its limitations,
30650  and ways to work around those limitations.
30651 \end_layout
30652
30653 \begin_layout Section
30654 Math Output in XHTML
30655 \end_layout
30656
30657 \begin_layout Standard
30658 \SpecialChar LyX
30659  offers four choices for how math is rendered.
30660  These have various advantages and disadvantages:
30661 \end_layout
30662
30663 \begin_layout Itemize
30664 MathML
30665 \begin_inset Newline newline
30666 \end_inset
30667
30668 MathML is a dialect of XML designed specifically for mathematics on the web,
30669  and it typically renders very well in browsers that support it.
30670  The disadvantage is that not all browsers support MathML,
30671  and support is not complete even in the Gecko-based browsers,
30672  such as Firefox.
30673 \begin_inset Newline newline
30674 \end_inset
30675
30676 If \SpecialChar LyX
30677  is unable to render a formula as MathML—
30678 for example,
30679  if the formula uses the 
30680 \begin_inset Flex Code
30681 status collapsed
30682
30683 \begin_layout Plain Layout
30684 xymatrix
30685 \end_layout
30686
30687 \end_inset
30688
30689  package or ERT—
30690 then it will instead output the formula as an image.
30691  
30692 \end_layout
30693
30694 \begin_layout Itemize
30695 HTML
30696 \begin_inset Newline newline
30697 \end_inset
30698
30699 As mentioned above,
30700  
30701 \begin_inset Flex Code
30702 status collapsed
30703
30704 \begin_layout Plain Layout
30705 elyxer
30706 \end_layout
30707
30708 \end_inset
30709
30710  outputs math as HTML,
30711  styled by CSS.
30712 \begin_inset Foot
30713 status collapsed
30714
30715 \begin_layout Plain Layout
30716 \SpecialChar LyX
30717  has borrowed some of the CSS for its HTML output from 
30718 \begin_inset Flex Code
30719 status collapsed
30720
30721 \begin_layout Plain Layout
30722 elyxer
30723 \end_layout
30724
30725 \end_inset
30726
30727 .
30728 \end_layout
30729
30730 \end_inset
30731
30732  For simple formulae,
30733  this can work quite well,
30734  though with more complicated formulae it tends to break down.
30735  Still,
30736  this method has the advantage that it is very widely supported and so it may be appropriate for documents that contain only a little,
30737  fairly simple math.
30738 \begin_inset Newline newline
30739 \end_inset
30740
30741 If Lyx is unable to render a formula as HTML—
30742 for example,
30743  if the formula uses the 
30744 \begin_inset Flex Code
30745 status collapsed
30746
30747 \begin_layout Plain Layout
30748 xymatrix
30749 \end_layout
30750
30751 \end_inset
30752
30753  package or ERT—
30754 then it will instead output the formula as an image.
30755  
30756 \end_layout
30757
30758 \begin_layout Itemize
30759 Images
30760 \begin_inset Newline newline
30761 \end_inset
30762
30763 Like 
30764 \begin_inset Flex Code
30765 status collapsed
30766
30767 \begin_layout Plain Layout
30768 htlatex
30769 \end_layout
30770
30771 \end_inset
30772
30773 ,
30774  \SpecialChar LyX
30775  will output formulae as images,
30776  the very same images,
30777  in fact,
30778  that are used for instant preview.
30779 \begin_inset Foot
30780 status collapsed
30781
30782 \begin_layout Plain Layout
30783 Instant preview does 
30784 \emph on
30785 not 
30786 \emph default
30787 have to be on for images to be output,
30788  however.
30789 \end_layout
30790
30791 \end_inset
30792
30793  The advantage to this method is that the images are simply generated by \SpecialChar LaTeX
30794 ,
30795  so they are very accurate.
30796  The disadvantage,
30797  as mentioned earlier,
30798  is that these are bitmapped images,
30799  so they do not scale terribly well,
30800  and one cannot copy them,
30801  etc.
30802 \begin_inset Newline newline
30803 \end_inset
30804
30805 The size of the images can be controlled by setting the 
30806 \begin_inset Quotes eld
30807 \end_inset
30808
30809 Math Images Scaling
30810 \begin_inset Quotes erd
30811 \end_inset
30812
30813  parameter under 
30814 \change_deleted -712698321 1674917822
30815
30816 \begin_inset Flex Noun
30817 status collapsed
30818
30819 \begin_layout Plain Layout
30820 Document\SpecialChar menuseparator
30821 Settings\SpecialChar menuseparator
30822 Formats
30823 \end_layout
30824
30825 \end_inset
30826
30827
30828 \change_inserted -712698321 1674917822
30829
30830 \family sans
30831 Document\SpecialChar menuseparator
30832 Settings\SpecialChar menuseparator
30833 Formats
30834 \change_unchanged
30835
30836 \family default
30837 .
30838 \begin_inset Foot
30839 status collapsed
30840
30841 \begin_layout Plain Layout
30842 For those who want to know,
30843  this controls the resolution of the image in dots per inch and is based upon a default of 75 dpi.
30844 \end_layout
30845
30846 \end_inset
30847
30848
30849 \begin_inset Newline newline
30850 \end_inset
30851
30852 If \SpecialChar LyX
30853  for some reason fails to create an image for a formula (e.g.,
30854  if a required \SpecialChar LaTeX
30855  package is not installed),
30856  then it will fall back to outputing the raw \SpecialChar LaTeX
30857 .
30858 \end_layout
30859
30860 \begin_layout Itemize
30861 \SpecialChar LaTeX
30862
30863 \begin_inset Newline newline
30864 \end_inset
30865
30866 Finally,
30867  \SpecialChar LyX
30868  will happily output math as \SpecialChar LaTeX
30869 .
30870  As well as being the output of last resort,
30871  this method can be used with such tools as 
30872 \begin_inset CommandInset href
30873 LatexCommand href
30874 name "jsMath"
30875 target "http://www.math.union.edu/~dpvc/jsMath/"
30876 literal "false"
30877
30878 \end_inset
30879
30880 ,
30881  which uses JavaScript to render \SpecialChar LaTeX
30882  embedded in HTML documents.
30883  \SpecialChar LyX
30884  wraps the \SpecialChar LaTeX
30885  in either a 
30886 \begin_inset Flex Code
30887 status collapsed
30888
30889 \begin_layout Plain Layout
30890 span
30891 \end_layout
30892
30893 \end_inset
30894
30895  (for inline formulas) or 
30896 \begin_inset Flex Code
30897 status collapsed
30898
30899 \begin_layout Plain Layout
30900 div
30901 \end_layout
30902
30903 \end_inset
30904
30905  (for displayed formulas) with 
30906 \begin_inset Flex Code
30907 status collapsed
30908
30909 \begin_layout Plain Layout
30910 class='math'
30911 \end_layout
30912
30913 \end_inset
30914
30915 ,
30916  as is required for jsMath.
30917 \end_layout
30918
30919 \begin_layout Standard
30920 One of these output methods must be selected under 
30921 \change_deleted -712698321 1674917830
30922
30923 \begin_inset Flex Noun
30924 status collapsed
30925
30926 \begin_layout Plain Layout
30927 Document\SpecialChar menuseparator
30928 Settings\SpecialChar menuseparator
30929 Formats
30930 \end_layout
30931
30932 \end_inset
30933
30934
30935 \change_inserted -712698321 1674917830
30936
30937 \family sans
30938 Document\SpecialChar menuseparator
30939 Settings\SpecialChar menuseparator
30940 Formats
30941 \change_unchanged
30942
30943 \family default
30944 .
30945  By default,
30946  \SpecialChar LyX
30947  outputs MathML.
30948  This is a document-wide setting,
30949  therefore.
30950 \end_layout
30951
30952 \begin_layout Standard
30953 Eventually,
30954  \SpecialChar LyX
30955  will offer the user the option to select an alternate output method for a particular inset,
30956  say,
30957  one that isn't being rendered very well by MathML.
30958 \begin_inset Foot
30959 status collapsed
30960
30961 \begin_layout Plain Layout
30962 That said,
30963  since \SpecialChar LyX
30964  falls back to images if the inset contains ERT,
30965  then one can force output as an image by putting some harmless ERT into the math,
30966  for example:
30967  
30968 \begin_inset Formula $a=b\relax$
30969 \end_inset
30970
30971 .
30972 \end_layout
30973
30974 \end_inset
30975
30976
30977 \end_layout
30978
30979 \begin_layout Section
30980 Bibliography and Citations
30981 \end_layout
30982
30983 \begin_layout Standard
30984 XHTML output fully supports bibliographies and citations.
30985  
30986 \end_layout
30987
30988 \begin_layout Standard
30989 Citation labels are generated by the same machinery that generates \SpecialChar LyX
30990 's on-screen labels,
30991  so the labels will look in the output much as they do in \SpecialChar LyX
30992 ,
30993  though better.
30994  If you are using numerical citations,
30995  then \SpecialChar LyX
30996  will output numerical labels,
30997  such as [1] or [17],
30998  rather than simply showing the citation key in square brackets,
30999  as it does on-screen.
31000  If you are using author-year citations,
31001  then \SpecialChar LyX
31002  will add lowercase letters to the years,
31003  just as Bib\SpecialChar TeX
31004  does,
31005  if it finds more than one citation for a given author-year combination.
31006  The labels will be printed with the bibliography entries.
31007  Note that there is,
31008  at present,
31009  no way to customize the appearance of the labels,
31010  for example,
31011  to choose between square brackets and parentheses.
31012 \end_layout
31013
31014 \begin_layout Standard
31015 Bibliography output is handled by the same machinery that handles the presentation of reference information in the citation dialog,
31016  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.
31017  The formatting can be customized in your layout file or,
31018  preferably,
31019  in a module.
31020  See the 
31021 \emph on
31022 Customization
31023 \emph default
31024  manual for the details.
31025 \end_layout
31026
31027 \begin_layout Standard
31028 The main defect at present is that cross-referenced information is printed with every entry with which it is associated.
31029  So you can see things like this:
31030 \end_layout
31031
31032 \begin_layout Quote
31033 Jason Stanley,
31034  
31035 \begin_inset Quotes eld
31036 \end_inset
31037
31038 Context and Logical Form
31039 \begin_inset Quotes erd
31040 \end_inset
31041
31042 ,
31043  in 
31044 \emph on
31045 Language in Context:
31046  Selected Essays
31047 \emph default
31048  (Oxford:
31049  Oxford University Press,
31050  2007),
31051  pp.
31052  30–68.
31053 \end_layout
31054
31055 \begin_layout Quote
31056 Jason Stanley,
31057  
31058 \begin_inset Quotes eld
31059 \end_inset
31060
31061 Semantics in Context
31062 \begin_inset Quotes erd
31063 \end_inset
31064
31065 ,
31066  in 
31067 \emph on
31068 Language in Context:
31069  Selected Essays
31070 \emph default
31071  (Oxford:
31072  Oxford University Press,
31073  2007),
31074  pp.
31075  201–30.
31076 \end_layout
31077
31078 \begin_layout Standard
31079 This should be fixed before long.
31080 \end_layout
31081
31082 \begin_layout Standard
31083 There is no support at present for sectioned bibliographies.
31084  If you have multiple bibliographies,
31085  then \SpecialChar LyX
31086  will print the same bibliography over and over.
31087 \end_layout
31088
31089 \begin_layout Section
31090 Indexes
31091 \end_layout
31092
31093 \begin_layout Standard
31094 \SpecialChar LyX
31095  will happily export indexes as XHTML,
31096  but with certain limitations at the moment.
31097 \end_layout
31098
31099 \begin_layout Standard
31100 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 
31101 \emph on
31102 User's Guide
31103 \emph default
31104 .
31105 \begin_inset Foot
31106 status collapsed
31107
31108 \begin_layout Plain Layout
31109 The main issue here is that \SpecialChar LyX
31110  itself does not really handle these.
31111  It just lets you enter what you would have to enter in raw \SpecialChar LaTeX
31112 .
31113 \end_layout
31114
31115 \end_inset
31116
31117  We'll describe how they are handled using the subsection headings from that section.
31118 \end_layout
31119
31120 \begin_layout Itemize
31121 Grouping Index Entries (aka,
31122  sub-entries):
31123  \SpecialChar LyX
31124  makes an effort to support these,
31125  but the entries must be separated by 
31126 \begin_inset Quotes eld
31127 \end_inset
31128
31129  !
31130  
31131 \begin_inset Quotes erd
31132 \end_inset
31133
31134 ,
31135  that is,
31136  there must be spaces around the exclamation point.
31137  This is because it is otherwise too difficult to check for escaped exclamation points,
31138  ones in math,
31139  and so forth.
31140 \end_layout
31141
31142 \begin_layout Itemize
31143 Page Ranges:
31144  There is no support at all for page ranges,
31145  since these make no sense with XHMTL.
31146  Instead,
31147  you will just get two index entries,
31148  one at either end.
31149 \end_layout
31150
31151 \begin_layout Itemize
31152 Cross-referencing:
31153  There is no support for cross-referencing.
31154  If \SpecialChar LyX
31155  finds an entry containing the 
31156 \begin_inset Quotes eld
31157 \end_inset
31158
31159 |see\SpecialChar ldots
31160
31161 \begin_inset Quotes erd
31162 \end_inset
31163
31164  construct,
31165  it is just dropped,
31166  and the rest is treated as an ordinary index entry.
31167 \end_layout
31168
31169 \begin_layout Itemize
31170 Index Entry Order:
31171  \SpecialChar LyX
31172  does support attempts to fix the sorting order.
31173  It will take what is before the first `@' it finds and use that for sorting,
31174  taking what follows the first `@' to be the actual entry.
31175  At present,
31176  \SpecialChar LyX
31177  does not check for escaped `@',
31178  so do not try to index email addresses.
31179 \end_layout
31180
31181 \begin_layout Itemize
31182 Index Entry Layout:
31183  You can format entries by using the text style dialog,
31184  or by using any other method available within \SpecialChar LyX
31185  itself.
31186  There is no support for constructs like:
31187  
31188 \begin_inset Quotes eld
31189 \end_inset
31190
31191 entry|textbf
31192 \begin_inset Quotes erd
31193 \end_inset
31194
31195 .
31196  Indeed,
31197  if \SpecialChar LyX
31198  finds a pipe symbol,
31199  `|',
31200  in an entry,
31201  it will delete it and everything that follows it.
31202 \end_layout
31203
31204 \begin_layout Itemize
31205 Multiple Indexes:
31206  There is no support for multiple indexes.
31207  Rather,
31208  all index entries will be printed as one large index.
31209  To avoid our printing several versions of the index,
31210  we print only the main index,
31211  so make sure you have one.
31212 \end_layout
31213
31214 \begin_layout Section
31215 Nomenclature and Glossary
31216 \end_layout
31217
31218 \begin_layout Standard
31219 There is at present no support for glossaries.
31220  Adding it would be fairly trivial,
31221  and welcome.
31222 \end_layout
31223
31224 \begin_layout Chapter
31225
31226 \change_inserted 1075283030 1616534180
31227 DocBook Output
31228 \end_layout
31229
31230 \begin_layout Standard
31231
31232 \change_inserted 1075283030 1616534386
31233 Apart from HTML,
31234  \SpecialChar LyX
31235  can generate documents in the DocBook XML vocabulary.
31236  With versions 2.3 and before,
31237  only select templates could be used to generate DocBook documents (only version 4).
31238  Starting with \SpecialChar LyX
31239  2.4,
31240  most \SpecialChar LyX
31241  layouts can generate valid DocBook documents (only version 5).
31242  This feature is built into \SpecialChar LyX
31243  and does not require the use of external tools.
31244 \end_layout
31245
31246 \begin_layout Standard
31247
31248 \change_inserted 1075283030 1616534437
31249 The result is that the DocBook output can be customized and extended in exactly the same way \SpecialChar LaTeX
31250  output can be customized and extended:
31251  through layout files and modules.
31252  See chapter five of the 
31253 \emph on
31254 Customization 
31255 \emph default
31256 manual for the details.
31257 \end_layout
31258
31259 \begin_layout Standard
31260
31261 \change_inserted 1075283030 1616534475
31262 Most \SpecialChar LyX
31263  features are supported with DocBook,
31264  like math output.
31265 \end_layout
31266
31267 \begin_layout Itemize
31268
31269 \change_inserted 1075283030 1616534741
31270 Math output is performed mostly in MathML (the major exception being constructions not supported by \SpecialChar LyX
31271 ,
31272  i.e.
31273  ERTs).
31274  All formulae are also available in raw \SpecialChar TeX
31275  in the DocBook output for further processing.
31276 \end_layout
31277
31278 \begin_layout Itemize
31279
31280 \change_inserted 1075283030 1616534852
31281 Bibliographies and citations are implemented,
31282  including with an external BibTeX file.
31283  Bibliography entries are not prerendered when the detailed information are available,
31284  but rather output with the standard DocBook constructs.
31285  The external DocBook processor is expected to handle the rendering of entries.
31286 \end_layout
31287
31288 \begin_layout Itemize
31289
31290 \change_inserted 1075283030 1616534863
31291 Indexes are supported,
31292  including multiple indices.
31293  Grouping (with 
31294 \family typewriter
31295 !
31296 \family default
31297 ),
31298  page ranges,
31299  and cross-references (
31300 \family typewriter
31301 |see
31302 \family default
31303 ) are supported,
31304  with the exception of the same symbols escaped.
31305  Entry order (
31306 \family typewriter
31307 @
31308 \family default
31309 ) and layout (
31310 \family typewriter
31311 |mathbf
31312 \family default
31313 ) are not supported.
31314  There is no support for escaping of index entries.
31315 \end_layout
31316
31317 \begin_layout Itemize
31318
31319 \change_inserted 1075283030 1616534884
31320 Glossaries are implemented.
31321 \end_layout
31322
31323 \begin_layout Standard
31324
31325 \change_inserted 1075283030 1616534894
31326 Two major parameters can be set at the document level.
31327 \end_layout
31328
31329 \begin_layout Itemize
31330
31331 \change_inserted 1075283030 1616534948
31332 Format for tables:
31333  \SpecialChar LyX
31334  can generate tables either as HTML (default value) or CALS,
31335  depending on the user's requirements.
31336  Most DocBook processors accept both formats.
31337 \end_layout
31338
31339 \begin_layout Itemize
31340
31341 \change_inserted 1075283030 1616535006
31342 MathML prefix:
31343  in DocBook,
31344  MathML is included within its own name space,
31345  unlike HTML.
31346  The implication is that there must be an indication of the tags belonging to the MathML standard.
31347  Three choices are offered:
31348  
31349 \end_layout
31350
31351 \begin_deeper
31352 \begin_layout Itemize
31353
31354 \change_inserted 1075283030 1616535044
31355 Inline:
31356  the MathML name space is defined for each formula (using the 
31357 \family typewriter
31358 xmlns
31359 \family default
31360  attribute on each formula)
31361 \end_layout
31362
31363 \begin_layout Itemize
31364
31365 \change_inserted 1075283030 1616535090
31366 With the 
31367 \family typewriter
31368 m
31369 \family default
31370  prefix (default):
31371  the MathML name space is defined at the document level (using the 
31372 \family typewriter
31373 xmlns:m
31374 \family default
31375  attribute on the root element).
31376  Each MathML is prefixed with 
31377 \family typewriter
31378 m
31379 \family default
31380 :
31381  for instance,
31382  
31383 \family typewriter
31384 m:math
31385 \end_layout
31386
31387 \begin_layout Itemize
31388
31389 \change_inserted 1075283030 1616620405
31390 With the 
31391 \family typewriter
31392 mml
31393 \family default
31394  prefix:
31395  similar to the 
31396 \family typewriter
31397 m
31398 \family default
31399  option,
31400  but with 
31401 \family typewriter
31402 mml
31403 \end_layout
31404
31405 \begin_layout Standard
31406
31407 \change_inserted 1075283030 1616620470
31408 This option is especially useful if you want \SpecialChar LyX
31409  to match your personal style or to work with buggy software that only accepts one prefix for MathML.
31410 \change_unchanged
31411
31412 \end_layout
31413
31414 \end_deeper
31415 \begin_layout Chapter
31416 The \SpecialChar LyX
31417  Server
31418 \end_layout
31419
31420 \begin_layout Section
31421 Introduction
31422 \end_layout
31423
31424 \begin_layout Standard
31425 The `\SpecialChar LyX
31426  server' allows other programs to talk to \SpecialChar LyX
31427 ,
31428  invoke \SpecialChar LyX
31429  commands,
31430  and retrieve information about the \SpecialChar LyX
31431  internal state.
31432  This is only intended for advanced users,
31433  but they should find it useful.
31434  It is by writing to the \SpecialChar LyX
31435  server,
31436  for example,
31437  that bibliography managers,
31438  such as JabRef,
31439  are able to 
31440 \begin_inset Quotes eld
31441 \end_inset
31442
31443 push
31444 \begin_inset Quotes erd
31445 \end_inset
31446
31447  citations to \SpecialChar LyX
31448 .
31449 \end_layout
31450
31451 \begin_layout Section
31452 Starting the \SpecialChar LyX
31453  Server
31454 \begin_inset CommandInset label
31455 LatexCommand label
31456 name "sec:Starting-the-Server"
31457
31458 \end_inset
31459
31460
31461 \end_layout
31462
31463 \begin_layout Standard
31464 The \SpecialChar LyX
31465  server works through the use of a pair of named pipes.
31466  These are usually located in 
31467 \begin_inset Flex Code
31468 status collapsed
31469
31470 \begin_layout Plain Layout
31471 UserDir
31472 \end_layout
31473
31474 \end_inset
31475
31476 ,
31477  (except on Windows,
31478  where 
31479 \emph on
31480 local
31481 \emph default
31482  named pipes are special objects located in 
31483 \begin_inset Flex Code
31484 status collapsed
31485
31486 \begin_layout Plain Layout
31487
31488 \backslash
31489
31490 \backslash
31491 .
31492 \backslash
31493 pipe
31494 \end_layout
31495
31496 \end_inset
31497
31498 ) and have the names 
31499 \begin_inset Quotes eld
31500 \end_inset
31501
31502
31503 \begin_inset Flex Code
31504 status collapsed
31505
31506 \begin_layout Plain Layout
31507 lyxpipe.in
31508 \end_layout
31509
31510 \end_inset
31511
31512
31513 \begin_inset Quotes erd
31514 \end_inset
31515
31516  and 
31517 \begin_inset Quotes eld
31518 \end_inset
31519
31520
31521 \begin_inset Flex Code
31522 status collapsed
31523
31524 \begin_layout Plain Layout
31525 lyxpipe.out
31526 \end_layout
31527
31528 \end_inset
31529
31530
31531 \begin_inset Quotes erd
31532 \end_inset
31533
31534 .
31535  External programs write into 
31536 \begin_inset Flex Code
31537 status collapsed
31538
31539 \begin_layout Plain Layout
31540 lyxpipe.in
31541 \end_layout
31542
31543 \end_inset
31544
31545  and read back data from 
31546 \begin_inset Flex Code
31547 status collapsed
31548
31549 \begin_layout Plain Layout
31550 lyxpipe.out
31551 \end_layout
31552
31553 \end_inset
31554
31555 .
31556  The stem of the pipe names can be defined in the 
31557 \change_deleted -712698321 1674917840
31558
31559 \begin_inset Flex Noun
31560 status collapsed
31561
31562 \begin_layout Plain Layout
31563 Tools\SpecialChar menuseparator
31564 Preferences
31565 \end_layout
31566
31567 \end_inset
31568
31569
31570 \change_inserted -712698321 1674917840
31571
31572 \family sans
31573 Tools\SpecialChar menuseparator
31574 Preferences
31575 \change_unchanged
31576
31577 \family default
31578  dialog,
31579  for example 
31580 \begin_inset Flex Code
31581 status collapsed
31582
31583 \begin_layout Plain Layout
31584 "/home/myhome/lyxpipe"
31585 \end_layout
31586
31587 \end_inset
31588
31589 ,
31590  or 
31591 \begin_inset Flex Code
31592 status collapsed
31593
31594 \begin_layout Plain Layout
31595 "
31596 \backslash
31597
31598 \backslash
31599 .
31600 \backslash
31601 pipe
31602 \backslash
31603 lyxpipe"
31604 \end_layout
31605
31606 \end_inset
31607
31608  on Windows (where any working path instead of lyxpipe can be used,
31609  for example 
31610 \begin_inset Flex Code
31611 status collapsed
31612
31613 \begin_layout Plain Layout
31614 "
31615 \backslash
31616
31617 \backslash
31618 .
31619 \backslash
31620 pipe
31621 \backslash
31622 my
31623 \backslash
31624 lyx
31625 \backslash
31626 pipe"
31627 \end_layout
31628
31629 \end_inset
31630
31631  would also work).
31632  You 
31633 \emph on
31634 must
31635 \emph default
31636  configure this manually in order for the server to start.
31637 \end_layout
31638
31639 \begin_layout Standard
31640 \SpecialChar LyX
31641  will add the '
31642 \begin_inset Flex Code
31643 status collapsed
31644
31645 \begin_layout Plain Layout
31646 .in
31647 \end_layout
31648
31649 \end_inset
31650
31651 ' and '
31652 \begin_inset Flex Code
31653 status collapsed
31654
31655 \begin_layout Plain Layout
31656 .out
31657 \end_layout
31658
31659 \end_inset
31660
31661 ' to create the pipes.
31662  If one of the pipes already exists,
31663  \SpecialChar LyX
31664  will assume that another \SpecialChar LyX
31665  process is already running and will not start the server.
31666  On POSIX (Unix like) systems,
31667  if for some other reason,
31668  an unused 
31669 \begin_inset Quotes eld
31670 \end_inset
31671
31672 stale
31673 \begin_inset Quotes erd
31674 \end_inset
31675
31676  pipe is left in existence when \SpecialChar LyX
31677  closes,
31678  then \SpecialChar LyX
31679  will try to delete it.
31680  If this fails for some reason,
31681  you will need to delete the pipes manually and then restart \SpecialChar LyX
31682 .
31683  On Windows,
31684  pipes are deleted by the OS on program termination or crash,
31685  so 
31686 \begin_inset Quotes eld
31687 \end_inset
31688
31689 stale
31690 \begin_inset Quotes erd
31691 \end_inset
31692
31693  pipes should not be possible.
31694 \end_layout
31695
31696 \begin_layout Standard
31697 To have several \SpecialChar LyX
31698  processes with servers at the same time,
31699  you have to use different configurations,
31700  perhaps by using separate user directories,
31701  each with its own 
31702 \begin_inset Flex Code
31703 status collapsed
31704
31705 \begin_layout Plain Layout
31706 preferences
31707 \end_layout
31708
31709 \end_inset
31710
31711  file,
31712  for each process.
31713 \end_layout
31714
31715 \begin_layout Standard
31716 If you are developing a client program,
31717  you might find it useful to enable debugging information from the \SpecialChar LyX
31718  server.
31719  Do this by starting \SpecialChar LyX
31720  as 
31721 \begin_inset Flex Code
31722 status collapsed
31723
31724 \begin_layout Plain Layout
31725 lyx -dbg lyxserver
31726 \end_layout
31727
31728 \end_inset
31729
31730 .
31731 \end_layout
31732
31733 \begin_layout Standard
31734 You can find a complete example client written in C++ in the source distribution as 
31735 \begin_inset Flex Code
31736 status collapsed
31737
31738 \begin_layout Plain Layout
31739 development/lyxserver/server_monitor.cpp
31740 \end_layout
31741
31742 \end_inset
31743
31744 .
31745 \end_layout
31746
31747 \begin_layout Standard
31748 Another useful tool is the command-line based client found in 
31749 \begin_inset Flex Code
31750 status collapsed
31751
31752 \begin_layout Plain Layout
31753 src/client/lyxclient
31754 \end_layout
31755
31756 \end_inset
31757
31758 .
31759 \end_layout
31760
31761 \begin_layout Section
31762 Normal communication
31763 \end_layout
31764
31765 \begin_layout Standard
31766 To issue a \SpecialChar LyX
31767  call,
31768  the client writes a line of ASCII text into the input pipe.
31769  This line has the following format:
31770 \end_layout
31771
31772 \begin_layout Quote
31773 LYXCMD:
31774 \emph on
31775 clientname
31776 \emph default
31777 :
31778 \emph on
31779 function
31780 \emph default
31781 :
31782 \emph on
31783 argument
31784 \end_layout
31785
31786 \begin_layout Description
31787 clientname is a name that the client can choose arbitrarily.
31788  Its only use is that \SpecialChar LyX
31789  will echo it if it sends an answer—
31790 so a client can dispatch results from different requesters.
31791 \end_layout
31792
31793 \begin_layout Description
31794 function is the function you want \SpecialChar LyX
31795  to perform.
31796  It is the same as the commands you'd use in the minibuffer.
31797 \end_layout
31798
31799 \begin_layout Description
31800 argument is an optional argument which is meaningful only to some functions (for instance,
31801  the 
31802 \begin_inset Quotes eld
31803 \end_inset
31804
31805 self-insert
31806 \begin_inset Quotes erd
31807 \end_inset
31808
31809  LFUN will insert the argument as text at the cursor position).
31810 \end_layout
31811
31812 \begin_layout Standard
31813 The answer from \SpecialChar LyX
31814  will arrive in the output pipe and be of the form
31815 \end_layout
31816
31817 \begin_layout Quote
31818 INFO:
31819 \emph on
31820 clientname
31821 \emph default
31822 :
31823 \emph on
31824 function
31825 \emph default
31826 :
31827 \emph on
31828 data
31829 \end_layout
31830
31831 \begin_layout Standard
31832 where 
31833 \emph on
31834 clientname
31835 \emph default
31836  and 
31837 \emph on
31838 function
31839 \emph default
31840  are just echoed from the command request,
31841  while 
31842 \emph on
31843 data
31844 \emph default
31845  is more or less useful information filled according to how the command execution worked out.
31846  Some commands,
31847  such as 
31848 \begin_inset Quotes eld
31849 \end_inset
31850
31851 font-state
31852 \begin_inset Quotes erd
31853 \end_inset
31854
31855 ,
31856  will return information about the internal state of \SpecialChar LyX
31857 ,
31858  while other will return an empty data-response.
31859  This means that the command execution went fine.
31860 \end_layout
31861
31862 \begin_layout Standard
31863 In case of errors,
31864  the response from \SpecialChar LyX
31865  will have this form
31866 \end_layout
31867
31868 \begin_layout Quote
31869 ERROR:
31870 \emph on
31871 clientname
31872 \emph default
31873 :
31874 \emph on
31875 function
31876 \emph default
31877 :
31878 \emph on
31879 error message
31880 \end_layout
31881
31882 \begin_layout Standard
31883 where the 
31884 \emph on
31885 error message
31886 \emph default
31887  should contain an explanation of why the command failed.
31888 \end_layout
31889
31890 \begin_layout Standard
31891 Examples:
31892 \end_layout
31893
31894 \begin_layout LyX-Code
31895 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
31896 \begin_inset Newline newline
31897 \end_inset
31898
31899 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
31900 \begin_inset Newline newline
31901 \end_inset
31902
31903 read a <~/.lyxpipe.out
31904 \begin_inset Newline newline
31905 \end_inset
31906
31907 echo $a
31908 \end_layout
31909
31910 \begin_layout Subsection
31911 AppleScript (Mac OS X)
31912 \end_layout
31913
31914 \begin_layout Standard
31915 Since \SpecialChar LyX
31916  2.1,
31917  \SpecialChar LyX
31918  supports basic interactions with AppleScript for normal communication through the command run.
31919  This command takes a direct argument (the 
31920 \series bold
31921 function
31922 \series default
31923  to perform) and an optional argument.
31924  It either returns the output of the function or triggers an error with the error message and code.
31925 \end_layout
31926
31927 \begin_layout Standard
31928 Example:
31929 \end_layout
31930
31931 \begin_layout LyX-Code
31932 tell application "\SpecialChar LyX
31933 "
31934 \end_layout
31935
31936 \begin_layout LyX-Code
31937   try
31938 \end_layout
31939
31940 \begin_layout LyX-Code
31941     -- Stores the current file name into f
31942 \end_layout
31943
31944 \begin_layout LyX-Code
31945     set f to (run "server-get-filename" with argument "")
31946 \end_layout
31947
31948 \begin_layout LyX-Code
31949     on error the error_message number the error_number
31950 \end_layout
31951
31952 \begin_layout LyX-Code
31953       display dialog "Error:
31954  " & the error_number & ".
31955  " ¬
31956 \end_layout
31957
31958 \begin_layout LyX-Code
31959               & the error_message buttons {"OK"} default button 1
31960 \end_layout
31961
31962 \begin_layout LyX-Code
31963   end try
31964 \end_layout
31965
31966 \begin_layout LyX-Code
31967 end tell
31968 \end_layout
31969
31970 \begin_layout Section
31971 Notification
31972 \end_layout
31973
31974 \begin_layout Standard
31975 \SpecialChar LyX
31976  can notify clients of events going on asynchronously.
31977  Currently it will only do this if the user binds a key sequence with the function 
31978 \begin_inset Quotes eld
31979 \end_inset
31980
31981 notify
31982 \begin_inset Quotes erd
31983 \end_inset
31984
31985 .
31986  The format of the string \SpecialChar LyX
31987  sends is as follows:
31988 \end_layout
31989
31990 \begin_layout Quote
31991 \begin_inset Flex Code
31992 status collapsed
31993
31994 \begin_layout Plain Layout
31995 NOTIFY:
31996 \end_layout
31997
31998 \end_inset
31999
32000
32001 \emph on
32002 key-sequence
32003 \end_layout
32004
32005 \begin_layout Standard
32006 where 
32007 \emph on
32008 key-sequence
32009 \emph default
32010  is the printed representation of the key sequence that was actually typed by the user.
32011 \end_layout
32012
32013 \begin_layout Standard
32014 This mechanism can be used to extend \SpecialChar LyX
32015 's command set and implement macros.
32016  Bind some key sequence to 
32017 \begin_inset Quotes eld
32018 \end_inset
32019
32020 notify
32021 \begin_inset Quotes erd
32022 \end_inset
32023
32024 .
32025  Then start a client that listens on the output pipe,
32026  dispatches the command according to the sequence,
32027  and starts a function that may use \SpecialChar LyX
32028  calls and \SpecialChar LyX
32029  requests to issue a command or a series of commands to \SpecialChar LyX
32030 .
32031 \end_layout
32032
32033 \begin_layout Section
32034 The simple \SpecialChar LyX
32035  Server Protocol
32036 \end_layout
32037
32038 \begin_layout Standard
32039 \SpecialChar LyX
32040  implements a simple protocol that can be used for session management.
32041  All messages are of the form
32042 \end_layout
32043
32044 \begin_layout Quote
32045 LYXSRV:
32046 \emph on
32047 clientname
32048 \emph default
32049 :
32050 \emph on
32051 protocol message
32052 \end_layout
32053
32054 \begin_layout Standard
32055 where 
32056 \emph on
32057 protocol message
32058 \emph default
32059  can be 
32060 \begin_inset Quotes eld
32061 \end_inset
32062
32063 hello
32064 \begin_inset Quotes erd
32065 \end_inset
32066
32067  or 
32068 \begin_inset Quotes eld
32069 \end_inset
32070
32071 bye
32072 \begin_inset Quotes erd
32073 \end_inset
32074
32075 .
32076  If 
32077 \begin_inset Quotes eld
32078 \end_inset
32079
32080 hello
32081 \begin_inset Quotes erd
32082 \end_inset
32083
32084  is received from a client,
32085  \SpecialChar LyX
32086  will report back to inform the client that it's listening to it's messages,
32087  while 
32088 \begin_inset Quotes eld
32089 \end_inset
32090
32091 bye
32092 \begin_inset Quotes erd
32093 \end_inset
32094
32095  sent from \SpecialChar LyX
32096  will inform clients that \SpecialChar LyX
32097  is closing.
32098 \end_layout
32099
32100 \begin_layout Section
32101 Reverse DVI/PDF search
32102 \end_layout
32103
32104 \begin_layout Standard
32105 Some DVI/PDF viewers
32106 \begin_inset Foot
32107 status collapsed
32108
32109 \begin_layout Plain Layout
32110 The following viewers offer the reverse PDF search feature:
32111  Okular on KDE/Linux,
32112  Qpdfview on Unix,
32113  Skim on Mac OSX and SumatraPDF on Windows.
32114 \end_layout
32115
32116 \end_inset
32117
32118  provide 
32119 \emph on
32120 reverse search
32121 \emph default
32122  facility (also called 
32123 \emph on
32124 inverse search
32125 \emph default
32126 ).
32127  This means that you can tell \SpecialChar LyX
32128  to put the cursor to a specific line in the document by clicking at the respective position in the DVI/PDF output.
32129  To achieve this,
32130  the viewer must be able to communicate with \SpecialChar LyX
32131 .
32132  This is done via the \SpecialChar LyX
32133  server either by using the named pipe (
32134 \emph on
32135 lyxpipe
32136 \emph default
32137 ),
32138  or the UNIX domain socket (
32139 \emph on
32140 lyxsocket
32141 \emph default
32142 ) that \SpecialChar LyX
32143  creates in its temporary directory (this is the way the 
32144 \begin_inset Flex Code
32145 status collapsed
32146
32147 \begin_layout Plain Layout
32148 lyxclient
32149 \end_layout
32150
32151 \end_inset
32152
32153  program communicates with \SpecialChar LyX
32154 ).
32155  In some cases,
32156  you need a helper script that mediates between the viewer and \SpecialChar LyX
32157 ,
32158  in others,
32159  the viewer can communicate with \SpecialChar LyX
32160  directly.
32161  This depends on the selected viewer and on your operating system.
32162  The same applies to the way viewers need to be configured and the way the reverse search is actually performed.
32163  In what follows,
32164  we will thus describe how to setup reverse search for specific viewers.
32165  Before we turn to this,
32166  though,
32167  we will explain what needs to be done generally to enable reverse search in the DVI/PDF output.
32168 \end_layout
32169
32170 \begin_layout Subsection
32171 Automatic setup
32172 \begin_inset CommandInset label
32173 LatexCommand label
32174 name "subsec:rev-search"
32175
32176 \end_inset
32177
32178
32179 \end_layout
32180
32181 \begin_layout Standard
32182 In most cases \SpecialChar LyX
32183  will do the work for you by pressing the following button in the toolbar:
32184  
32185 \begin_inset Info
32186 type  "icon"
32187 arg   "buffer-toggle-output-sync"
32188 \end_inset
32189
32190 .
32191  Alternatively,
32192  you can also enable the feature by checking 
32193 \family sans
32194 Synchronize with Output
32195 \family default
32196  in 
32197 \change_deleted -712698321 1674917848
32198
32199 \begin_inset Flex Noun
32200 status collapsed
32201
32202 \begin_layout Plain Layout
32203 Document\SpecialChar menuseparator
32204 Settings\SpecialChar menuseparator
32205 Formats
32206 \end_layout
32207
32208 \end_inset
32209
32210
32211 \change_inserted -712698321 1674917848
32212
32213 \family sans
32214 Document\SpecialChar menuseparator
32215 Settings\SpecialChar menuseparator
32216 Formats
32217 \change_unchanged
32218
32219 \family default
32220 .
32221  In such a case \SpecialChar LyX
32222  will automatically insert the necessary Sync\SpecialChar TeX
32223  macro (for PDF) or load the srcltx package (for DVI) respectively.
32224  This option can be easily reached also on 
32225 \begin_inset Flex Code
32226 status collapsed
32227
32228 \begin_layout Plain Layout
32229 View/Update
32230 \end_layout
32231
32232 \end_inset
32233
32234  Toolbar.
32235 \end_layout
32236
32237 \begin_layout Standard
32238 If you need a different setting,
32239  you can select or input a custom macro from the drop down box just below 
32240 \change_deleted -712698321 1674917855
32241
32242 \begin_inset Flex Noun
32243 status collapsed
32244
32245 \begin_layout Plain Layout
32246 Document\SpecialChar menuseparator
32247 Settings\SpecialChar menuseparator
32248 Output\SpecialChar menuseparator
32249 Synchronize with Output
32250 \end_layout
32251
32252 \end_inset
32253
32254
32255 \change_inserted -712698321 1674917855
32256
32257 \family sans
32258 Document\SpecialChar menuseparator
32259 Settings\SpecialChar menuseparator
32260 Output\SpecialChar menuseparator
32261 Synchronize with Output
32262 \change_unchanged
32263
32264 \family default
32265 .
32266 \end_layout
32267
32268 \begin_layout Standard
32269 Note that the method 
32270 \begin_inset Flex Code
32271 status collapsed
32272
32273 \begin_layout Plain Layout
32274
32275 \backslash
32276 synctex=1
32277 \end_layout
32278
32279 \end_inset
32280
32281  enables gzip compression.
32282  If your viewer does not support it,
32283  you should instead use 
32284 \begin_inset Flex Code
32285 status collapsed
32286
32287 \begin_layout Plain Layout
32288
32289 \backslash
32290 synctex=-1
32291 \end_layout
32292
32293 \end_inset
32294
32295 .
32296 \end_layout
32297
32298 \begin_layout Standard
32299 Please also note that including the 
32300 \begin_inset Flex Code
32301 status collapsed
32302
32303 \begin_layout Plain Layout
32304 srcltx
32305 \end_layout
32306
32307 \end_inset
32308
32309  package or 
32310 \begin_inset Flex Code
32311 status collapsed
32312
32313 \begin_layout Plain Layout
32314 src-specials
32315 \end_layout
32316
32317 \end_inset
32318
32319  sometimes has an undesired impact on the typesetting.
32320  Thus,
32321  you should switch output synchronization off for the final typesetting if you use the 
32322 \begin_inset Flex Code
32323 status collapsed
32324
32325 \begin_layout Plain Layout
32326 srcltx
32327 \end_layout
32328
32329 \end_inset
32330
32331  package or 
32332 \begin_inset Flex Code
32333 status collapsed
32334
32335 \begin_layout Plain Layout
32336 src-specials
32337 \end_layout
32338
32339 \end_inset
32340
32341 .
32342  
32343 \end_layout
32344
32345 \begin_layout Standard
32346 In case you need some more special settings that are not covered by the automatic settings,
32347  read the next section about how to set up output synchronization manually.
32348  If the automatic setup suits your needs,
32349  you can readily jump to section
32350 \begin_inset space ~
32351 \end_inset
32352
32353
32354 \begin_inset CommandInset ref
32355 LatexCommand ref
32356 reference "subsec:configuring-viewers"
32357 nolink "false"
32358
32359 \end_inset
32360
32361 ,
32362  where the necessary configuration steps in your viewer – needed both with the automatic and the manual setup – are described.
32363 \end_layout
32364
32365 \begin_layout Subsection
32366 Manual setup
32367 \end_layout
32368
32369 \begin_layout Standard
32370 \SpecialChar LaTeX
32371  provides several different methods for reverse search.
32372  Some are built-in in the 
32373 \begin_inset Flex Code
32374 status collapsed
32375
32376 \begin_layout Plain Layout
32377 latex/pdflatex
32378 \end_layout
32379
32380 \end_inset
32381
32382  program,
32383  some are provided by external packages.
32384  Your choice depends on whether your \SpecialChar LaTeX
32385  distribution already provides a given method (the built-in methods are rather new) and whether your viewer can cope with it.
32386  The available methods are described in the following.
32387 \end_layout
32388
32389 \begin_layout Subsubsection*
32390 Built-in DVI-search via src-specials (DVI only) 
32391 \end_layout
32392
32393 \begin_layout Standard
32394 This method provides the DVI file with the necessary information for reverse search.
32395  It is available in \SpecialChar LaTeX
32396  since quite some time (any somewhat recent \SpecialChar LaTeX
32397  distribution should include it),
32398  and it works reliably.
32399  To enable it,
32400  change the 
32401 \begin_inset Flex Noun
32402 status collapsed
32403
32404 \begin_layout Plain Layout
32405 La
32406 \family sans
32407 TeX
32408 \family default
32409  (plain)->DVI
32410 \end_layout
32411
32412 \end_inset
32413
32414  or 
32415 \begin_inset Flex Noun
32416 status collapsed
32417
32418 \begin_layout Plain Layout
32419 La
32420 \family sans
32421 TeX
32422 \family default
32423  (plain)->DraftDVI
32424 \end_layout
32425
32426 \end_inset
32427
32428  converter in 
32429 \change_deleted -712698321 1674917875
32430
32431 \begin_inset Flex Noun
32432 status collapsed
32433
32434 \begin_layout Plain Layout
32435 Preferences\SpecialChar menuseparator
32436 File Handling\SpecialChar menuseparator
32437 Converters
32438 \end_layout
32439
32440 \end_inset
32441
32442
32443 \change_inserted -712698321 1674917875
32444
32445 \family sans
32446 Preferences\SpecialChar menuseparator
32447 File Handling\SpecialChar menuseparator
32448 Converters
32449 \change_unchanged
32450
32451 \family default
32452  to 
32453 \begin_inset Flex Code
32454 status collapsed
32455
32456 \begin_layout Plain Layout
32457 latex -src-specials $$i
32458 \end_layout
32459
32460 \end_inset
32461
32462 .
32463  If this doesn't work,
32464  check if your \SpecialChar TeX
32465  engine needs different options (the syntax might differ in some distributions).
32466 \end_layout
32467
32468 \begin_layout Subsubsection*
32469 External Packages (PDFSync and scrltx) 
32470 \end_layout
32471
32472 \begin_layout Standard
32473 The packages 
32474 \emph on
32475 pdfsync
32476 \emph default
32477  and 
32478 \emph on
32479 scrltx
32480 \emph default
32481  provide reverse search facility for PDF output (via pdflatex) and DVI output,
32482  respectively.
32483  In order to enable it,
32484  load the packages in the \SpecialChar LyX
32485  preamble:
32486  
32487 \end_layout
32488
32489 \begin_layout Itemize
32490 \begin_inset Flex Code
32491 status collapsed
32492
32493 \begin_layout Plain Layout
32494
32495 \backslash
32496 usepackage{pdfsync}
32497 \end_layout
32498
32499 \end_inset
32500
32501  for reverse PDF search,
32502 \end_layout
32503
32504 \begin_layout Itemize
32505 \begin_inset Flex Code
32506 status collapsed
32507
32508 \begin_layout Plain Layout
32509
32510 \backslash
32511 usepackage[active]{srcltx}
32512 \end_layout
32513
32514 \end_inset
32515
32516  for reverse DVI search.
32517 \end_layout
32518
32519 \begin_layout Standard
32520 If you want to be able to perform both DVI and PDF reverse searches,
32521  you can also insert in the preamble the following lines
32522 \end_layout
32523
32524 \begin_layout LyX-Code
32525
32526 \backslash
32527 usepackage{ifpdf}
32528 \begin_inset Newline newline
32529 \end_inset
32530
32531
32532 \backslash
32533 ifpdf
32534 \begin_inset Newline newline
32535 \end_inset
32536
32537   
32538 \backslash
32539 usepackage{pdfsync}
32540 \begin_inset Newline newline
32541 \end_inset
32542
32543
32544 \backslash
32545 else
32546 \begin_inset Newline newline
32547 \end_inset
32548
32549   
32550 \backslash
32551 usepackage[active]{srcltx}
32552 \begin_inset Newline newline
32553 \end_inset
32554
32555
32556 \backslash
32557 fi
32558 \end_layout
32559
32560 \begin_layout Standard
32561 This way,
32562  you can preview the file as either DVI or PDF (pdflatex) and the right package will be used.
32563 \end_layout
32564
32565 \begin_layout Standard
32566 Note that PDFSync might affect the output layout of your document.
32567  It is therefore advised to disable PDFsync for final documents.
32568 \end_layout
32569
32570 \begin_layout Subsubsection*
32571 Built-in reverse search via Sync\SpecialChar TeX
32572  (DVI and PDF) 
32573 \end_layout
32574
32575 \begin_layout Standard
32576 Recent versions of 
32577 \begin_inset Flex Code
32578 status collapsed
32579
32580 \begin_layout Plain Layout
32581 (pdf)latex
32582 \end_layout
32583
32584 \end_inset
32585
32586  have built-in support for both PDF and DVI reverse search.
32587  This so-called 
32588 \emph on
32589 Sync\SpecialChar TeX
32590
32591 \emph default
32592  facility is basically the result of the integration of the PDFSync package to the pdftex program and its merge with the 
32593 \emph on
32594 scr-specials
32595 \emph default
32596  approach.
32597  You need at least \SpecialChar TeX
32598 Live 2008 or a recent Mik\SpecialChar TeX
32599  distribution in order to use it.
32600 \begin_inset Foot
32601 status collapsed
32602
32603 \begin_layout Plain Layout
32604 For some reason,
32605  Mik\SpecialChar TeX
32606  does not understand/obey the command \SpecialChar LyX
32607  inserts into the preamble when you check the "Enable Forward/Reverse Search" button in the toolbar and does not generate the necessary info.
32608 \end_layout
32609
32610 \begin_layout Plain Layout
32611 The generation of the required info can be forced by changing the converter "\SpecialChar LaTeX
32612  (pdflatex) -> PDF (pdflatex)" in Preferences->File handling->Converters from the default "pdflatex $$i" to "pdflatex -synctex=1 $$i" (i.e.,
32613  by adding the -synctex=1 switch).
32614 \end_layout
32615
32616 \end_inset
32617
32618  Also note that only a few PDF viewers (such as Okular and Qpdfview on Unix,
32619  Skim on the Mac,
32620  SumatraPDF on Windows;
32621  see the next section for details) already provide Sync\SpecialChar TeX
32622  support.
32623 \end_layout
32624
32625 \begin_layout Standard
32626 To enable Sync\SpecialChar TeX
32627  for DVI output,
32628  change the 
32629 \begin_inset Flex Noun
32630 status collapsed
32631
32632 \begin_layout Plain Layout
32633 La
32634 \family sans
32635 TeX
32636 \family default
32637  (plain) -> DVI
32638 \end_layout
32639
32640 \end_inset
32641
32642  or 
32643 \begin_inset Flex Noun
32644 status collapsed
32645
32646 \begin_layout Plain Layout
32647 La
32648 \family sans
32649 TeX
32650 \family default
32651  (plain) -> DraftDVI
32652 \end_layout
32653
32654 \end_inset
32655
32656  converter in 
32657 \change_deleted -712698321 1674917887
32658
32659 \begin_inset Flex Noun
32660 status collapsed
32661
32662 \begin_layout Plain Layout
32663 Preferences\SpecialChar menuseparator
32664 File Handling\SpecialChar menuseparator
32665 Converters
32666 \end_layout
32667
32668 \end_inset
32669
32670
32671 \change_inserted -712698321 1674917887
32672
32673 \family sans
32674 Preferences\SpecialChar menuseparator
32675 File Handling\SpecialChar menuseparator
32676 Converters
32677 \change_unchanged
32678  
32679 \family default
32680 to 
32681 \begin_inset Flex Code
32682 status collapsed
32683
32684 \begin_layout Plain Layout
32685 latex -synctex=1 $$i
32686 \end_layout
32687
32688 \end_inset
32689
32690 ,
32691  and for PDF output,
32692  change the 
32693 \begin_inset Flex Noun
32694 status collapsed
32695
32696 \begin_layout Plain Layout
32697 La
32698 \family sans
32699 TeX
32700 \family default
32701  (pdflatex) -> PDF (pdflatex)
32702 \end_layout
32703
32704 \end_inset
32705
32706  converter to 
32707 \begin_inset Flex Code
32708 status collapsed
32709
32710 \begin_layout Plain Layout
32711 pdflatex -synctex=1 $$i
32712 \end_layout
32713
32714 \end_inset
32715
32716 .
32717  Should your viewer not be considered in the following description,
32718  or in case of missing success,
32719  please check the documentation of your viewer whether the viewer needs to be configured for the use with Sync\SpecialChar TeX
32720 .
32721 \begin_inset Foot
32722 status collapsed
32723
32724 \begin_layout Plain Layout
32725 Note that the option 
32726 \begin_inset Flex Code
32727 status collapsed
32728
32729 \begin_layout Plain Layout
32730 -synctex=1
32731 \end_layout
32732
32733 \end_inset
32734
32735  option enables gzip compression.
32736  If your viewer does not support it,
32737  you should instead use 
32738 \begin_inset Flex Code
32739 status collapsed
32740
32741 \begin_layout Plain Layout
32742 -synctex=-1
32743 \end_layout
32744
32745 \end_inset
32746
32747 .
32748 \end_layout
32749
32750 \end_inset
32751
32752
32753 \end_layout
32754
32755 \begin_layout Subsection
32756 Configuring and using specific viewers
32757 \begin_inset CommandInset label
32758 LatexCommand label
32759 name "subsec:configuring-viewers"
32760
32761 \end_inset
32762
32763
32764 \end_layout
32765
32766 \begin_layout Subsubsection*
32767 Xdvi (all platforms)
32768 \end_layout
32769
32770 \begin_layout Standard
32771 If you use 
32772 \begin_inset Flex Code
32773 status collapsed
32774
32775 \begin_layout Plain Layout
32776 xdvi
32777 \end_layout
32778
32779 \end_inset
32780
32781 ,
32782  you don't need to do anything else for performing a reverse DVI search,
32783  as \SpecialChar LyX
32784  already provides the necessary hooks for automatically using the 
32785 \begin_inset Flex Code
32786 status collapsed
32787
32788 \begin_layout Plain Layout
32789 lyxclient
32790 \end_layout
32791
32792 \end_inset
32793
32794  program.
32795  Just setup your document as described above (reverse search is triggered by Ctrl-click or Alt-click on Mac OSX,
32796  respectively).
32797 \end_layout
32798
32799 \begin_layout Standard
32800 However,
32801  if for whatever reason you want to use the named pipe instead of the socket for communicating with \SpecialChar LyX
32802 ,
32803  simply change the DVI viewer in 
32804 \change_deleted -712698321 1674917897
32805
32806 \begin_inset Flex Noun
32807 status collapsed
32808
32809 \begin_layout Plain Layout
32810 Preferences\SpecialChar menuseparator
32811 File Handling\SpecialChar menuseparator
32812 File formats
32813 \end_layout
32814
32815 \end_inset
32816
32817
32818 \change_inserted -712698321 1674917897
32819
32820 \family sans
32821 Preferences\SpecialChar menuseparator
32822 File Handling\SpecialChar menuseparator
32823 File formats
32824 \change_unchanged
32825
32826 \family default
32827  to
32828 \begin_inset Foot
32829 status collapsed
32830
32831 \begin_layout Plain Layout
32832 On Mac OSX you have to use 
32833 \begin_inset Flex Code
32834 status collapsed
32835
32836 \begin_layout Plain Layout
32837 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
32838 \end_layout
32839
32840 \end_inset
32841
32842
32843 \end_layout
32844
32845 \end_inset
32846
32847  
32848 \begin_inset Flex Code
32849 status collapsed
32850
32851 \begin_layout Plain Layout
32852 xdvi -editor "lyxeditor.sh %f %l"
32853 \end_layout
32854
32855 \end_inset
32856
32857 ,
32858  where 
32859 \begin_inset Flex Code
32860 status collapsed
32861
32862 \begin_layout Plain Layout
32863 lyxeditor.sh
32864 \end_layout
32865
32866 \end_inset
32867
32868  is a suitable script.
32869  For example,
32870  a minimal shell script is the following one:
32871 \end_layout
32872
32873 \begin_layout LyX-Code
32874 #!/bin/sh
32875 \begin_inset Newline newline
32876 \end_inset
32877
32878 LYXPIPE="/path/to/lyxpipe"
32879 \begin_inset Newline newline
32880 \end_inset
32881
32882 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
32883 \begin_inset Newline newline
32884 \end_inset
32885
32886 echo "$COMMAND" > "${LYXPIPE}".in || exit
32887 \begin_inset Newline newline
32888 \end_inset
32889
32890 read TMP < "${LYXPIPE}".out || exit
32891 \end_layout
32892
32893 \begin_layout Standard
32894 where 
32895 \begin_inset Flex Code
32896 status collapsed
32897
32898 \begin_layout Plain Layout
32899 /path/to/lyxpipe
32900 \end_layout
32901
32902 \end_inset
32903
32904  is the LyXServer pipe path specified in 
32905 \change_deleted -712698321 1674917907
32906
32907 \begin_inset Flex Noun
32908 status collapsed
32909
32910 \begin_layout Plain Layout
32911 Preferences\SpecialChar menuseparator
32912 Paths
32913 \end_layout
32914
32915 \end_inset
32916
32917
32918 \change_inserted -712698321 1674917907
32919
32920 \family sans
32921 Preferences\SpecialChar menuseparator
32922 Paths
32923 \change_unchanged
32924
32925 \family default
32926 .
32927 \begin_inset Foot
32928 status collapsed
32929
32930 \begin_layout Plain Layout
32931 In the 
32932 \begin_inset Flex Code
32933 status collapsed
32934
32935 \begin_layout Plain Layout
32936 development/tools
32937 \end_layout
32938
32939 \end_inset
32940
32941  folder of a source distribution you can find a 
32942 \begin_inset Flex Code
32943 status collapsed
32944
32945 \begin_layout Plain Layout
32946 lyxeditor
32947 \end_layout
32948
32949 \end_inset
32950
32951  script which is able to locate the 
32952 \emph on
32953 lyxpipe
32954 \emph default
32955  based on your preferences.
32956 \end_layout
32957
32958 \end_inset
32959
32960
32961 \end_layout
32962
32963 \begin_layout Subsubsection*
32964 MacDviX (Mac OSX)
32965 \end_layout
32966
32967 \begin_layout Standard
32968 At the end of 
32969 \begin_inset Flex Code
32970 status collapsed
32971
32972 \begin_layout Plain Layout
32973 /Applications/MacDviX_Folder/calleditor.script
32974 \end_layout
32975
32976 \end_inset
32977
32978 ,
32979  add the following lines:
32980 \end_layout
32981
32982 \begin_layout LyX-Code
32983 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
32984 \begin_inset Newline newline
32985 \end_inset
32986
32987 exit 1
32988 \end_layout
32989
32990 \begin_layout Standard
32991 Modify the lines accordingly if you install \SpecialChar LyX
32992  somewhere else than in the Applications folder.
32993 \end_layout
32994
32995 \begin_layout Standard
32996 Reverse search is triggered by Alt-click (OPTION-click).
32997 \end_layout
32998
32999 \begin_layout Subsubsection*
33000 Skim (Mac OSX)
33001 \end_layout
33002
33003 \begin_layout Standard
33004 Enter 
33005 \begin_inset Flex Code
33006 status collapsed
33007
33008 \begin_layout Plain Layout
33009 open -a Skim.app $$i
33010 \end_layout
33011
33012 \end_inset
33013
33014  to the viewer setting in 
33015 \change_deleted -712698321 1674917916
33016
33017 \begin_inset Flex Noun
33018 status collapsed
33019
33020 \begin_layout Plain Layout
33021 Preferences\SpecialChar menuseparator
33022 File Handling\SpecialChar menuseparator
33023 File formats\SpecialChar menuseparator
33024 PDF (pdflatex)
33025 \end_layout
33026
33027 \end_inset
33028
33029
33030 \change_inserted -712698321 1674917916
33031
33032 \family sans
33033 Preferences\SpecialChar menuseparator
33034 File Handling\SpecialChar menuseparator
33035 File formats\SpecialChar menuseparator
33036 PDF (pdflatex)
33037 \change_unchanged
33038
33039 \family default
33040 ,
33041  and then in 
33042 \change_deleted -712698321 1674917924
33043
33044 \begin_inset Flex Noun
33045 status collapsed
33046
33047 \begin_layout Plain Layout
33048 Skim\SpecialChar menuseparator
33049 Preferences\SpecialChar menuseparator
33050 Sync
33051 \end_layout
33052
33053 \end_inset
33054
33055
33056 \change_inserted -712698321 1674917924
33057
33058 \family sans
33059 Skim\SpecialChar menuseparator
33060 Preferences\SpecialChar menuseparator
33061 Sync
33062 \change_unchanged
33063
33064 \family default
33065  choose 
33066 \change_deleted -712698321 1674917931
33067
33068 \begin_inset Flex Noun
33069 status collapsed
33070
33071 \begin_layout Plain Layout
33072 custom
33073 \end_layout
33074
33075 \end_inset
33076
33077
33078 \change_inserted -712698321 1674917931
33079
33080 \family sans
33081 custom
33082 \change_unchanged
33083
33084 \family default
33085  preset and enter command 
33086 \begin_inset Flex Noun
33087 status collapsed
33088
33089 \begin_layout Plain Layout
33090 /Applications/\SpecialChar LyX
33091 .app/Contents/MacOS/lyxeditor
33092 \end_layout
33093
33094 \end_inset
33095
33096 .
33097 \end_layout
33098
33099 \begin_layout Standard
33100 Reverse search is triggered by COMMAND-SHIFT-click
33101 \end_layout
33102
33103 \begin_layout Subsubsection*
33104 Evince (GNOME)
33105 \end_layout
33106
33107 \begin_layout Standard
33108 Reverse search with evince does not work out of the box,
33109  but it can be achieved by means of some third party helper scripts.
33110  Please refer to 
33111 \begin_inset CommandInset href
33112 LatexCommand href
33113 target "https://wiki.lyx.org/LyX/SyncTeX"
33114 literal "false"
33115
33116 \end_inset
33117
33118  for details.
33119 \end_layout
33120
33121 \begin_layout Subsubsection*
33122 Okular (KDE)
33123 \end_layout
33124
33125 \begin_layout Standard
33126 Go to 
33127 \change_deleted -712698321 1674917941
33128
33129 \begin_inset Flex Noun
33130 status collapsed
33131
33132 \begin_layout Plain Layout
33133 Settings\SpecialChar menuseparator
33134 Configure Okular\SpecialChar menuseparator
33135 Editor
33136 \end_layout
33137
33138 \end_inset
33139
33140
33141 \change_inserted -712698321 1674917941
33142
33143 \family sans
33144 Settings\SpecialChar menuseparator
33145 Configure Okular\SpecialChar menuseparator
33146 Editor
33147 \change_unchanged
33148
33149 \family default
33150  and select LyX
33151 \begin_inset Quotes erd
33152 \end_inset
33153
33154  as editor.
33155  This inserts the appropriate command (
33156 \begin_inset Flex Code
33157 status collapsed
33158
33159 \begin_layout Plain Layout
33160 lyxclient -g %f %l
33161 \end_layout
33162
33163 \end_inset
33164
33165 ).
33166 \end_layout
33167
33168 \begin_layout Standard
33169 Reverse search is triggered by SHIFT-click.
33170
33171 \change_inserted -712698321 1578211026
33172  Note that this only works if Okular is in 
33173 \begin_inset Quotes eld
33174 \end_inset
33175
33176 Browse
33177 \begin_inset Quotes erd
33178 \end_inset
33179
33180  mode (i.
33181 \begin_inset space \thinspace{}
33182 \end_inset
33183
33184 e.,
33185  the hand symbol is clicked).
33186 \change_unchanged
33187
33188 \end_layout
33189
33190 \begin_layout Subsubsection*
33191 Qpdfview (Unix)
33192 \end_layout
33193
33194 \begin_layout Standard
33195 Qpdfview supports Sync\SpecialChar TeX
33196  since version 0.3.5.
33197  Go to 
33198 \change_deleted -712698321 1674917949
33199
33200 \begin_inset Flex Noun
33201 status collapsed
33202
33203 \begin_layout Plain Layout
33204 Edit\SpecialChar menuseparator
33205 Settings\SpecialChar menuseparator
33206 Behavior
33207 \end_layout
33208
33209 \end_inset
33210
33211
33212 \change_inserted -712698321 1674917949
33213
33214 \family sans
33215 Edit\SpecialChar menuseparator
33216 Settings\SpecialChar menuseparator
33217 Behavior
33218 \change_unchanged
33219
33220 \family default
33221 ,
33222  click on the input field of the 
33223 \begin_inset Quotes eld
33224 \end_inset
33225
33226 Source editor
33227 \begin_inset Quotes erd
33228 \end_inset
33229
33230  item and add the command 
33231 \begin_inset Flex Code
33232 status collapsed
33233
33234 \begin_layout Plain Layout
33235 lyxclient -g %1 %2
33236 \end_layout
33237
33238 \end_inset
33239
33240 .
33241 \end_layout
33242
33243 \begin_layout Standard
33244 Reverse search is triggered by double-click or,
33245  in more recent versions,
33246  by context menu.
33247 \end_layout
33248
33249 \begin_layout Subsubsection*
33250 YAP (Windows)
33251 \end_layout
33252
33253 \begin_layout Standard
33254 Launch yap,
33255  choose its 
33256 \change_deleted -712698321 1674917958
33257
33258 \begin_inset Flex Noun
33259 status collapsed
33260
33261 \begin_layout Plain Layout
33262 View\SpecialChar menuseparator
33263 Options
33264 \end_layout
33265
33266 \end_inset
33267
33268
33269 \change_inserted -712698321 1674917958
33270
33271 \family sans
33272 View\SpecialChar menuseparator
33273 Options
33274 \change_unchanged
33275
33276 \family default
33277  menu and select the 
33278 \begin_inset Quotes eld
33279 \end_inset
33280
33281 Inverse DVI Search
33282 \begin_inset Quotes erd
33283 \end_inset
33284
33285  tab.
33286  Click on the 
33287 \begin_inset Quotes eld
33288 \end_inset
33289
33290 New\SpecialChar ldots
33291
33292 \begin_inset Quotes erd
33293 \end_inset
33294
33295  button and,
33296  in the window that opens,
33297  enter 
33298 \begin_inset Quotes eld
33299 \end_inset
33300
33301 \SpecialChar LyX
33302  Editor
33303 \begin_inset Quotes erd
33304 \end_inset
33305
33306  (or any other name you like) in the 
33307 \begin_inset Quotes eld
33308 \end_inset
33309
33310 Name:
33311 \begin_inset Quotes erd
33312 \end_inset
33313
33314  field.
33315  Now click on the button labeled 
33316 \begin_inset Quotes eld
33317 \end_inset
33318
33319 \SpecialChar ldots
33320
33321 \begin_inset Quotes erd
33322 \end_inset
33323
33324  to open a file dialog and navigate to the directory containing the batch file 
33325 \begin_inset Flex Code
33326 status collapsed
33327
33328 \begin_layout Plain Layout
33329 lyxeditor.bat
33330 \end_layout
33331
33332 \end_inset
33333
33334  (see below).
33335  Select 
33336 \begin_inset Flex Code
33337 status collapsed
33338
33339 \begin_layout Plain Layout
33340 lyxeditor.bat
33341 \end_layout
33342
33343 \end_inset
33344
33345  and then specify the program arguments as 
33346 \begin_inset Flex Code
33347 status collapsed
33348
33349 \begin_layout Plain Layout
33350 %f %l
33351 \end_layout
33352
33353 \end_inset
33354
33355 .
33356  The 
33357 \begin_inset Flex Code
33358 status collapsed
33359
33360 \begin_layout Plain Layout
33361 lyxeditor.bat
33362 \end_layout
33363
33364 \end_inset
33365
33366  wrapper is used for communicating with \SpecialChar LyX
33367  through the 
33368 \emph on
33369 lyxpipe
33370 \emph default
33371  and is as follows:
33372 \end_layout
33373
33374 \begin_layout LyX-Code
33375 @echo off
33376 \begin_inset Newline newline
33377 \end_inset
33378
33379 echo LYXCMD:revdvi:server-goto-file-row:%~1 %2> 
33380 \backslash
33381
33382 \backslash
33383 .
33384 \backslash
33385 pipe
33386 \backslash
33387 lyxpipe.in
33388 \begin_inset Newline newline
33389 \end_inset
33390
33391 type 
33392 \backslash
33393
33394 \backslash
33395 .
33396 \backslash
33397 pipe
33398 \backslash
33399 lyxpipe.out
33400 \end_layout
33401
33402 \begin_layout Standard
33403 Make sure that the \SpecialChar LyX
33404 Server pipe path you specified in \SpecialChar LyX
33405  is 
33406 \begin_inset Flex Code
33407 status collapsed
33408
33409 \begin_layout Plain Layout
33410
33411 \backslash
33412
33413 \backslash
33414 .
33415 \backslash
33416 pipe
33417 \backslash
33418 lyxpipe
33419 \end_layout
33420
33421 \end_inset
33422
33423 ,
33424  otherwise change the 
33425 \begin_inset Flex Code
33426 status collapsed
33427
33428 \begin_layout Plain Layout
33429 lyxeditor.bat
33430 \end_layout
33431
33432 \end_inset
33433
33434  wrapper accordingly.
33435 \end_layout
33436
33437 \begin_layout Standard
33438 In yap,
33439  reverse search is triggered by double-click.
33440 \end_layout
33441
33442 \begin_layout Subsubsection*
33443 SumatraPDF (Windows)
33444 \end_layout
33445
33446 \begin_layout Standard
33447 In order to use SumatraPDF for inverse search,
33448  enter 
33449 \begin_inset Flex Code
33450 status collapsed
33451
33452 \begin_layout Plain Layout
33453 SumatraPDF -inverse-search "lyxeditor.bat "%f" %l"
33454 \end_layout
33455
33456 \end_inset
33457
33458  in the viewer setting in 
33459 \change_deleted -712698321 1674917965
33460
33461 \begin_inset Flex Noun
33462 status collapsed
33463
33464 \begin_layout Plain Layout
33465 Preferences\SpecialChar menuseparator
33466 File Handling\SpecialChar menuseparator
33467 File formats\SpecialChar menuseparator
33468 PDF (pdflatex)
33469 \end_layout
33470
33471 \end_inset
33472
33473
33474 \change_inserted -712698321 1674917965
33475
33476 \family sans
33477 Preferences\SpecialChar menuseparator
33478 File Handling\SpecialChar menuseparator
33479 File formats\SpecialChar menuseparator
33480 PDF (pdflatex)
33481 \change_unchanged
33482
33483 \family default
33484 ,
33485  where 
33486 \begin_inset Flex Code
33487 status collapsed
33488
33489 \begin_layout Plain Layout
33490 lyxeditor.bat
33491 \end_layout
33492
33493 \end_inset
33494
33495  is the previous wrapper.
33496  If SumatraPDF.exe is not in your command PATH,
33497  use its full file name.
33498 \end_layout
33499
33500 \begin_layout Standard
33501 Reverse search is triggered by double-click.
33502 \end_layout
33503
33504 \begin_layout Subsubsection*
33505 YAP (Cygwin)
33506 \end_layout
33507
33508 \begin_layout Standard
33509 First of all,
33510  make sure that yap is your default DVI viewer in the Windows environment,
33511  then launch it,
33512  choose its 
33513 \change_deleted -712698321 1674917973
33514
33515 \begin_inset Flex Noun
33516 status collapsed
33517
33518 \begin_layout Plain Layout
33519 View\SpecialChar menuseparator
33520 Options
33521 \end_layout
33522
33523 \end_inset
33524
33525
33526 \change_inserted -712698321 1674917973
33527
33528 \family sans
33529 View\SpecialChar menuseparator
33530 Options
33531 \change_unchanged
33532
33533 \family default
33534  menu and select the 
33535 \begin_inset Quotes eld
33536 \end_inset
33537
33538 Inverse DVI Search
33539 \begin_inset Quotes erd
33540 \end_inset
33541
33542  tab.
33543  Click on the 
33544 \begin_inset Quotes eld
33545 \end_inset
33546
33547 New\SpecialChar ldots
33548
33549 \begin_inset Quotes erd
33550 \end_inset
33551
33552  button and,
33553  in the window that opens,
33554  enter 
33555 \begin_inset Quotes eld
33556 \end_inset
33557
33558 \SpecialChar LyX
33559  Editor
33560 \begin_inset Quotes erd
33561 \end_inset
33562
33563  (or any other name you like) in the 
33564 \begin_inset Quotes eld
33565 \end_inset
33566
33567 Name:
33568 \begin_inset Quotes erd
33569 \end_inset
33570
33571  field.
33572  Now click on the button labeled 
33573 \begin_inset Quotes eld
33574 \end_inset
33575
33576 \SpecialChar ldots
33577
33578 \begin_inset Quotes erd
33579 \end_inset
33580
33581  to open a file dialog and navigate to the directory containing the 
33582 \begin_inset Flex Code
33583 status collapsed
33584
33585 \begin_layout Plain Layout
33586 lyxeditor.exe
33587 \end_layout
33588
33589 \end_inset
33590
33591  program (which is installed by default on Cygwin along with the \SpecialChar LyX
33592  executable).
33593  Select 
33594 \begin_inset Flex Code
33595 status collapsed
33596
33597 \begin_layout Plain Layout
33598 lyxeditor.exe
33599 \end_layout
33600
33601 \end_inset
33602
33603  and then specify the program arguments as 
33604 \begin_inset Flex Code
33605 status collapsed
33606
33607 \begin_layout Plain Layout
33608 -g %f %l
33609 \end_layout
33610
33611 \end_inset
33612
33613 .
33614  In this way,
33615  you will be using the 
33616 \emph on
33617 lyxsocket
33618 \emph default
33619  for communicating with \SpecialChar LyX
33620 .
33621  If,
33622  for whatever reason,
33623  you want to use the 
33624 \emph on
33625 lyxpipe
33626 \emph default
33627 ,
33628  omit the 
33629 \begin_inset Flex Code
33630 status collapsed
33631
33632 \begin_layout Plain Layout
33633 -g
33634 \end_layout
33635
33636 \end_inset
33637
33638  option and be sure to specify the \SpecialChar LyX
33639 Server pipe path in the \SpecialChar LyX
33640  preferences.
33641 \end_layout
33642
33643 \begin_layout Standard
33644 In yap,
33645  reverse search is triggered by double-click.
33646 \end_layout
33647
33648 \begin_layout Subsubsection*
33649 SumatraPDF (Cygwin)
33650 \end_layout
33651
33652 \begin_layout Standard
33653 In order to use SumatraPDF for inverse search,
33654  enter 
33655 \begin_inset Flex Code
33656 status collapsed
33657
33658 \begin_layout Plain Layout
33659 SumatraPDF -inverse-search "lyxeditor -g %f %l"
33660 \end_layout
33661
33662 \end_inset
33663
33664  in the viewer setting in 
33665 \change_deleted -712698321 1674917986
33666
33667 \begin_inset Flex Noun
33668 status collapsed
33669
33670 \begin_layout Plain Layout
33671 Preferences\SpecialChar menuseparator
33672 File Handling\SpecialChar menuseparator
33673 File formats\SpecialChar menuseparator
33674 PDF (pdflatex)
33675 \end_layout
33676
33677 \end_inset
33678
33679
33680 \change_inserted -712698321 1674917986
33681
33682 \family sans
33683 Preferences\SpecialChar menuseparator
33684 File Handling\SpecialChar menuseparator
33685 File formats\SpecialChar menuseparator
33686 PDF (pdflatex)
33687 \change_unchanged
33688
33689 \family default
33690 .
33691  If SumatraPDF.exe is not in your command PATH,
33692  use its full posix path.
33693  The 
33694 \begin_inset Flex Code
33695 status collapsed
33696
33697 \begin_layout Plain Layout
33698 -g
33699 \end_layout
33700
33701 \end_inset
33702
33703  enables communication via the 
33704 \emph on
33705 lyxsocket
33706 \emph default
33707 .
33708  Again,
33709  omit the 
33710 \begin_inset Flex Code
33711 status collapsed
33712
33713 \begin_layout Plain Layout
33714 -g
33715 \end_layout
33716
33717 \end_inset
33718
33719  option if you want to use the 
33720 \emph on
33721 lyxpipe
33722 \emph default
33723 ,
33724  and be sure to specify the \SpecialChar LyX
33725 Server pipe path in the \SpecialChar LyX
33726  preferences.
33727 \end_layout
33728
33729 \begin_layout Standard
33730 Reverse search is triggered by double-click.
33731 \end_layout
33732
33733 \begin_layout Section
33734 Forward search
33735 \end_layout
33736
33737 \begin_layout Standard
33738 Forward search is,
33739  as the name implies,
33740  in a sense the 
33741 \begin_inset Quotes eld
33742 \end_inset
33743
33744 opposite
33745 \begin_inset Quotes erd
33746 \end_inset
33747
33748  of reverse search.
33749  It allows you to let the viewer jump to a given position from within \SpecialChar LyX
33750 .
33751  If forward search is set up (as described in what follows),
33752  you can put the cursor anywhere in your \SpecialChar LyX
33753  document,
33754  and hit 
33755 \change_deleted -712698321 1674917994
33756
33757 \begin_inset Flex Noun
33758 status collapsed
33759
33760 \begin_layout Plain Layout
33761 Navigate\SpecialChar menuseparator
33762 Forward search
33763 \end_layout
33764
33765 \end_inset
33766
33767
33768 \change_inserted -712698321 1674917994
33769
33770 \family sans
33771 Navigate\SpecialChar menuseparator
33772 Forward search
33773 \change_unchanged
33774
33775 \family default
33776  (or select 
33777 \change_deleted -712698321 1674918002
33778
33779 \family sans
33780
33781 \begin_inset Flex Noun
33782 status collapsed
33783
33784 \begin_layout Plain Layout
33785
33786 \family sans
33787 Forward search
33788 \end_layout
33789
33790 \end_inset
33791
33792
33793 \change_inserted -712698321 1674918002
33794 Forward search
33795 \change_unchanged
33796
33797 \family default
33798  in the context menu via right mouse click),
33799  and then the viewer will jump to that position as well.
33800  This implies,
33801  of course,
33802  that your viewer supports this function.
33803 \end_layout
33804
33805 \begin_layout Standard
33806 To make forward search possible,
33807  you first need to provide the generated output PDF/DVI file with additional information about the \SpecialChar TeX
33808  sources.
33809  This can be done via the methods described in the section 
33810 \begin_inset CommandInset ref
33811 LatexCommand ref
33812 reference "subsec:rev-search"
33813 nolink "false"
33814
33815 \end_inset
33816
33817 .
33818 \end_layout
33819
33820 \begin_layout Standard
33821 Additionally,
33822  you need to configure \SpecialChar LyX
33823  for using your viewers in 
33824 \change_deleted -712698321 1674918011
33825
33826 \begin_inset Flex Noun
33827 status collapsed
33828
33829 \begin_layout Plain Layout
33830 Tools\SpecialChar menuseparator
33831 Preferences\SpecialChar menuseparator
33832 Output\SpecialChar menuseparator
33833 General
33834 \end_layout
33835
33836 \end_inset
33837
33838
33839 \change_inserted -712698321 1674918011
33840
33841 \family sans
33842 Tools\SpecialChar menuseparator
33843 Preferences\SpecialChar menuseparator
33844 Output\SpecialChar menuseparator
33845 General
33846 \change_unchanged
33847
33848 \family default
33849 .
33850  We provide a range of tested configurations for some viewers,
33851  which you can select from the drop down list.
33852  If none of these configurations suits you,
33853  you have to find out and enter a suitable configuration yourself.
33854  The definition syntax uses the following placeholders:
33855 \end_layout
33856
33857 \begin_layout Itemize
33858 \noindent
33859 \begin_inset Flex Code
33860 status collapsed
33861
33862 \begin_layout Plain Layout
33863 $$n
33864 \end_layout
33865
33866 \end_inset
33867
33868 :
33869  row number
33870 \end_layout
33871
33872 \begin_layout Itemize
33873 \noindent
33874 \begin_inset Flex Code
33875 status collapsed
33876
33877 \begin_layout Plain Layout
33878 $$t
33879 \end_layout
33880
33881 \end_inset
33882
33883 :
33884  name of the (temporary) exported .tex file (without path)
33885 \end_layout
33886
33887 \begin_layout Itemize
33888 \noindent
33889 \begin_inset Flex Code
33890 status collapsed
33891
33892 \begin_layout Plain Layout
33893 $$f
33894 \end_layout
33895
33896 \end_inset
33897
33898 :
33899  name of the (temporary) exported .tex file (including path)
33900 \end_layout
33901
33902 \begin_layout Itemize
33903 \noindent
33904 \begin_inset Flex Code
33905 status collapsed
33906
33907 \begin_layout Plain Layout
33908 $$o
33909 \end_layout
33910
33911 \end_inset
33912
33913 :
33914  name of the exported output file (either dvi or pdf,
33915  depending on which one exists in the temporary directory)
33916 \end_layout
33917
33918 \begin_layout Standard
33919 Note that only some of the viewers provide full and usable forward search functionality out of the box,
33920  among them yap,
33921  xdvi,
33922  okular
33923 \begin_inset Foot
33924 status collapsed
33925
33926 \begin_layout Plain Layout
33927 You might want to set 
33928 \begin_inset Flex Code
33929 status collapsed
33930
33931 \begin_layout Plain Layout
33932 okular --unique
33933 \end_layout
33934
33935 \end_inset
33936
33937  in 
33938 \change_deleted -712698321 1674918020
33939
33940 \begin_inset Flex Noun
33941 status collapsed
33942
33943 \begin_layout Plain Layout
33944 Tools\SpecialChar menuseparator
33945 Preferences\SpecialChar menuseparator
33946 File Handling\SpecialChar menuseparator
33947 File
33948 \begin_inset space ~
33949 \end_inset
33950
33951 Formats
33952 \end_layout
33953
33954 \end_inset
33955
33956
33957 \change_inserted -712698321 1674918020
33958
33959 \family sans
33960 Tools\SpecialChar menuseparator
33961 Preferences\SpecialChar menuseparator
33962 File Handling\SpecialChar menuseparator
33963 File
33964 \begin_inset space ~
33965 \end_inset
33966
33967 Formats
33968 \change_unchanged
33969
33970 \end_layout
33971
33972 \end_inset
33973
33974 ,
33975  qpdfview,
33976  and SumatraPDF
33977 \begin_inset Foot
33978 status collapsed
33979
33980 \begin_layout Plain Layout
33981 SumatraPDF can also use DDE commands through the external program CMCDDE —
33982  downloadable from 
33983 \begin_inset CommandInset href
33984 LatexCommand href
33985 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
33986 literal "false"
33987
33988 \end_inset
33989
33990
33991 \end_layout
33992
33993 \end_inset
33994
33995 .
33996  Others,
33997  such as evince
33998 \begin_inset Foot
33999 status collapsed
34000
34001 \begin_layout Plain Layout
34002 Forward search with evince can be achieved by means of third party helper scripts.
34003  Please refer to 
34004 \begin_inset CommandInset href
34005 LatexCommand href
34006 target "https://wiki.lyx.org/LyX/SyncTeX"
34007 literal "false"
34008
34009 \end_inset
34010
34011  for details.
34012 \end_layout
34013
34014 \end_inset
34015
34016 ,
34017  require some extra tools in order to use forward search.
34018  While many of the widespread PDF viewers (most notably Adobe Reader) do not support forward search at all,
34019  some other viewers – e.
34020 \begin_inset space \thinspace{}
34021 \end_inset
34022
34023 g.
34024  xpdf – allow at least to reload the document and jump to a specific page of the file,
34025  so you can at least navigate 
34026 \begin_inset Quotes eld
34027 \end_inset
34028
34029 near
34030 \begin_inset Quotes erd
34031 \end_inset
34032
34033 .
34034  This latter functionality is provided by an external call of synctex (see the predefined example configurations).
34035  
34036 \end_layout
34037
34038 \begin_layout Standard
34039 Forward search works both with DVI and PDF output.
34040  \SpecialChar LyX
34041  simply checks which preview format you have used before (i.
34042 \begin_inset space \thinspace{}
34043 \end_inset
34044
34045 e.,
34046  which format is already there in the temporary directory) and chooses the appropriate configuration for the respective format.
34047 \change_deleted 564990737 1672743015
34048
34049 \end_layout
34050
34051 \begin_layout Standard
34052
34053 \change_deleted 564990737 1672743015
34054 Special Document Classes
34055 \end_layout
34056
34057 \begin_layout Standard
34058
34059 \change_deleted 564990737 1669742044
34060 A&A Paper
34061 \end_layout
34062
34063 \begin_layout Standard
34064
34065 \change_deleted 564990737 1669742044
34066 by 
34067 \noun on
34068 Peter Sütterlin
34069 \end_layout
34070
34071 \begin_layout Standard
34072
34073 \change_deleted 564990737 1669742044
34074 Introduction
34075 \end_layout
34076
34077 \begin_layout Standard
34078
34079 \change_deleted 564990737 1669742044
34080 This section describes how \SpecialChar LyX
34081  can be used to write articles for submission to the scientific journal 
34082 \emph on
34083 Astronomy and Astrophysics
34084 \emph default
34085  (
34086 \begin_inset Flex URL
34087 status collapsed
34088
34089 \begin_layout Plain Layout
34090
34091 https://www.aanda.org/
34092 \end_layout
34093
34094 \end_inset
34095
34096 ) using Version 5.01 of the document class 
34097 \family typewriter
34098 aa.cls
34099 \family default
34100 .
34101  This package can be downloaded from the ftp site
34102 \end_layout
34103
34104 \begin_layout Standard
34105
34106 \change_deleted 564990737 1669742044
34107 \begin_inset VSpace medskip
34108 \end_inset
34109
34110
34111 \end_layout
34112
34113 \begin_layout Standard
34114 \align center
34115
34116 \change_deleted 564990737 1669742044
34117 \begin_inset Flex URL
34118 status collapsed
34119
34120 \begin_layout Plain Layout
34121
34122 ftp://ftp.edpsciences.org/pub/aa/readme.html
34123 \end_layout
34124
34125 \end_inset
34126
34127
34128 \end_layout
34129
34130 \begin_layout Standard
34131
34132 \change_deleted 564990737 1669742044
34133 \begin_inset VSpace medskip
34134 \end_inset
34135
34136
34137 \end_layout
34138
34139 \begin_layout Standard
34140
34141 \change_deleted 564990737 1669742044
34142 A manual comes together with that package,
34143  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.
34144  
34145 \end_layout
34146
34147 \begin_layout Standard
34148
34149 \change_deleted 564990737 1669742044
34150 Please note that the publisher of the journal was changed from Springer to EDP Sciences starting January 1,
34151  2001.
34152  That change involved also some slight changes to the style files,
34153  namely the removal of the thesaurus command.
34154  The \SpecialChar LyX
34155  class aa supports the newest version of these style files,
34156  V 5.01.
34157  If you have an older version installed,
34158  please upgrade.
34159  For compatibility,
34160  the old (version 4) layout has been kept as 
34161 \family sans
34162 article (A&A V4)
34163 \family default
34164 .
34165  Please refer to the comments in 
34166 \family typewriter
34167 \SpecialChar LyX
34168 Dir/layouts/aapaper.layout
34169 \family default
34170 .
34171 \end_layout
34172
34173 \begin_layout Standard
34174
34175 \change_deleted 564990737 1669742044
34176 Getting started
34177 \end_layout
34178
34179 \begin_layout Standard
34180
34181 \change_deleted 564990737 1669742044
34182 It is recommended you start from the example template distributed with \SpecialChar LyX
34183 .
34184  If you are not using a template,
34185  note the following settings:
34186 \end_layout
34187
34188 \begin_layout Itemize
34189
34190 \change_deleted 564990737 1669742044
34191 Select 
34192 \family sans
34193 article (A&A)
34194 \family default
34195  in the 
34196 \family sans
34197 Document\SpecialChar menuseparator
34198 Settings
34199 \family default
34200  dialog (OK,
34201  that one was obvious).
34202 \end_layout
34203
34204 \begin_layout Itemize
34205
34206 \change_deleted 564990737 1669742044
34207 Don't change the option 
34208 \family sans
34209 Page
34210 \begin_inset space ~
34211 \end_inset
34212
34213 style
34214 \family default
34215 :
34216  Leave it set to 
34217 \family sans
34218 default
34219 \family default
34220 .
34221  The whole layout is done by the macros,
34222  you shouldn't change anything.
34223 \end_layout
34224
34225 \begin_layout Standard
34226
34227 \change_deleted 564990737 1669742044
34228 The header block
34229 \end_layout
34230
34231 \begin_layout Standard
34232
34233 \change_deleted 564990737 1669742044
34234 First thing to enter is the header information.
34235  It consists of seven entries,
34236  of which some are optional.
34237  They are
34238 \end_layout
34239
34240 \begin_layout Itemize
34241
34242 \change_deleted 564990737 1669742044
34243
34244 \family sans
34245 Title
34246 \family default
34247 :
34248  [required] 
34249 \end_layout
34250
34251 \begin_layout Itemize
34252
34253 \change_deleted 564990737 1669742044
34254
34255 \family sans
34256 Subtitle
34257 \family default
34258 :
34259  [optional] 
34260 \end_layout
34261
34262 \begin_layout Itemize
34263
34264 \change_deleted 564990737 1669742044
34265
34266 \family sans
34267 Author
34268 \family default
34269 :
34270  [required]
34271 \end_layout
34272
34273 \begin_layout Itemize
34274
34275 \change_deleted 564990737 1669742044
34276
34277 \family sans
34278 Address
34279 \family default
34280 :
34281  [required]
34282 \end_layout
34283
34284 \begin_layout Itemize
34285
34286 \change_deleted 564990737 1669742044
34287
34288 \family sans
34289 Offprints
34290 \family default
34291 :
34292  [optional] if more than one author:
34293  whom to contact for offprint requests.
34294 \end_layout
34295
34296 \begin_layout Itemize
34297
34298 \change_deleted 564990737 1669742044
34299
34300 \family sans
34301 Mail
34302 \family default
34303 :
34304  [optional] mail address for contacts.
34305 \end_layout
34306
34307 \begin_layout Itemize
34308
34309 \change_deleted 564990737 1669742044
34310
34311 \family sans
34312 Date
34313 \family default
34314 :
34315  [required].
34316  Suggested format is 
34317 \family typewriter
34318 Received:
34319  <date>;
34320  Accepted <date> 
34321 \end_layout
34322
34323 \begin_layout Standard
34324
34325 \change_deleted 564990737 1669742044
34326 There is no need to issue the 
34327 \family typewriter
34328
34329 \backslash
34330 maketitle
34331 \family default
34332  command,
34333  this is done automatically by \SpecialChar LyX
34334  when the header is finished.
34335  Although the order of the single header entries doesn't matter it is advised to keep the above sequence,
34336  just to get the best optics and meets the layout of the real document.
34337 \end_layout
34338
34339 \begin_layout Standard
34340
34341 \change_deleted 564990737 1669742044
34342 If you want to place footnotes in the header block,
34343  e.
34344 \begin_inset space \thinspace{}
34345 \end_inset
34346
34347 g.
34348 \begin_inset space \space{}
34349 \end_inset
34350
34351 to state your present address,
34352  just use the standard footnote via the menu 
34353 \family sans
34354 Insert\SpecialChar menuseparator
34355 Footnote.
34356
34357 \family default
34358  \SpecialChar LyX
34359  will automagically use the term 
34360 \family typewriter
34361
34362 \backslash
34363 thanks{}
34364 \family default
34365  in that case.
34366 \end_layout
34367
34368 \begin_layout Standard
34369
34370 \change_deleted 564990737 1669742044
34371 Under 
34372 \family sans
34373 Edit\SpecialChar menuseparator
34374 Text Style
34375 \family default
34376 ,
34377  you'll find two insets which are relevant for the titling:
34378 \end_layout
34379
34380 \begin_layout Itemize
34381
34382 \change_deleted 564990737 1669742044
34383
34384 \family sans
34385 Institute
34386 \family typewriter
34387  
34388 \family default
34389 to mark corresponding author\SpecialChar breakableslash
34390 institute pairs.
34391  The institutes are numbered sequentially as they appear in the 
34392 \family sans
34393 Address
34394 \family default
34395  field,
34396  so you have to put a marker to each author.
34397 \end_layout
34398
34399 \begin_layout Itemize
34400
34401 \change_deleted 564990737 1669742044
34402
34403 \family sans
34404 Email
34405 \family default
34406  to supply an email address for fast contact.
34407 \end_layout
34408
34409 \begin_layout Standard
34410
34411 \change_deleted 564990737 1669742044
34412 In addition to these topics,
34413  the macros use one additional \SpecialChar LaTeX
34414  command that has no counterpart in \SpecialChar LyX
34415 :
34416 \end_layout
34417
34418 \begin_layout Itemize
34419
34420 \change_deleted 564990737 1669742044
34421
34422 \family typewriter
34423
34424 \backslash
34425 and
34426 \family default
34427  to separate different names for more than one author and institute,
34428  respectively.
34429 \end_layout
34430
34431 \begin_layout Standard
34432
34433 \change_deleted 564990737 1669742044
34434 The appropriate command has to be entered in \SpecialChar LyX
34435  and marked as \SpecialChar LaTeX
34436  code.
34437  See the examples.
34438  
34439 \end_layout
34440
34441 \begin_layout Standard
34442
34443 \change_deleted 564990737 1669742044
34444 The abstract
34445 \end_layout
34446
34447 \begin_layout Standard
34448
34449 \change_deleted 564990737 1669742044
34450 The abstract should immediately follow the header block.
34451  With version 5 the abstract environment was changed to a command,
34452  and there is now a restriction to only one paragraph.
34453  In addition,
34454  it should contain an entry with the keywords.
34455  This is done via the paragraph style 
34456 \family sans
34457 Keywords
34458 \family default
34459 .
34460  Refer to the example paper.
34461 \end_layout
34462
34463 \begin_layout Standard
34464
34465 \change_deleted 564990737 1669742044
34466 Supported environments
34467 \end_layout
34468
34469 \begin_layout Standard
34470
34471 \change_deleted 564990737 1669742044
34472 The A&A paper layout supports the following environments for structuring your text:
34473 \end_layout
34474
34475 \begin_layout Itemize
34476
34477 \change_deleted 564990737 1669742044
34478
34479 \family sans
34480 Standard
34481 \end_layout
34482
34483 \begin_layout Itemize
34484
34485 \change_deleted 564990737 1669742044
34486
34487 \family sans
34488 Section
34489 \end_layout
34490
34491 \begin_layout Itemize
34492
34493 \change_deleted 564990737 1669742044
34494
34495 \family sans
34496 Subsection
34497 \end_layout
34498
34499 \begin_layout Itemize
34500
34501 \change_deleted 564990737 1669742044
34502
34503 \family sans
34504 Subsubsection
34505 \end_layout
34506
34507 \begin_layout Itemize
34508
34509 \change_deleted 564990737 1669742044
34510
34511 \family sans
34512 Itemize
34513 \end_layout
34514
34515 \begin_layout Itemize
34516
34517 \change_deleted 564990737 1669742044
34518
34519 \family sans
34520 Enumerate
34521 \end_layout
34522
34523 \begin_layout Itemize
34524
34525 \change_deleted 564990737 1669742044
34526
34527 \family sans
34528 Description
34529 \end_layout
34530
34531 \begin_layout Itemize
34532
34533 \change_deleted 564990737 1669742044
34534
34535 \family sans
34536 Caption
34537 \end_layout
34538
34539 \begin_layout Itemize
34540
34541 \change_deleted 564990737 1669742044
34542
34543 \family sans
34544 Abstract
34545 \end_layout
34546
34547 \begin_layout Itemize
34548
34549 \change_deleted 564990737 1669742044
34550
34551 \family sans
34552 Acknowledgment
34553 \end_layout
34554
34555 \begin_layout Itemize
34556
34557 \change_deleted 564990737 1669742044
34558
34559 \family sans
34560 Bibliography
34561 \end_layout
34562
34563 \begin_layout Itemize
34564
34565 \change_deleted 564990737 1669742044
34566
34567 \family sans
34568 \SpecialChar LaTeX
34569
34570 \end_layout
34571
34572 \begin_layout Standard
34573
34574 \change_deleted 564990737 1669742044
34575 Commands not supported by \SpecialChar LyX
34576
34577 \end_layout
34578
34579 \begin_layout Standard
34580
34581 \change_deleted 564990737 1669742044
34582 Some commands are not yet supported by the 
34583 \family sans
34584 paper (A&A)
34585 \family default
34586  layout for \SpecialChar LyX
34587 .
34588  Some have already been mentioned.
34589  For the sake of completeness,
34590  they are listed all together here:
34591 \end_layout
34592
34593 \begin_layout Itemize
34594
34595 \change_deleted 564990737 1669742044
34596
34597 \family typewriter
34598
34599 \backslash
34600 and
34601 \end_layout
34602
34603 \begin_layout Itemize
34604
34605 \change_deleted 564990737 1669742044
34606
34607 \family typewriter
34608
34609 \backslash
34610 authorrunning
34611 \end_layout
34612
34613 \begin_layout Itemize
34614
34615 \change_deleted 564990737 1669742044
34616
34617 \family typewriter
34618
34619 \backslash
34620 object{}
34621 \end_layout
34622
34623 \begin_layout Itemize
34624
34625 \change_deleted 564990737 1669742044
34626
34627 \family typewriter
34628
34629 \backslash
34630 titlerunning{}
34631 \end_layout
34632
34633 \begin_layout Standard
34634
34635 \change_deleted 564990737 1669742044
34636 If you want to use any of these commands,
34637  you have to enter them yourself.
34638  
34639 \series bold
34640 Do not forget to mark them as \SpecialChar LaTeX
34641  code!
34642 \end_layout
34643
34644 \begin_layout Standard
34645
34646 \change_deleted 564990737 1669742044
34647 Figure and Table Floats
34648 \end_layout
34649
34650 \begin_layout Standard
34651
34652 \change_deleted 564990737 1669742044
34653 \SpecialChar LyX
34654  provides support for the necessary float environments 
34655 \family sans
34656 figure,
34657  figure*,
34658  table
34659 \family default
34660  and 
34661 \family sans
34662 table*
34663 \family default
34664 ,
34665  therefore we won't tell much about it here.
34666  Refer to the 
34667 \emph on
34668 User's
34669 \begin_inset space ~
34670 \end_inset
34671
34672 Guide
34673 \emph default
34674 .
34675  Just remember that tables should be left-aligned.
34676  For that,
34677  select the table and change the alignment in 
34678 \family sans
34679 Edit\SpecialChar menuseparator
34680 Paragraph
34681 \begin_inset space ~
34682 \end_inset
34683
34684 Settings.
34685 \end_layout
34686
34687 \begin_layout Standard
34688
34689 \change_deleted 564990737 1669742044
34690 There is only one special thing:
34691  the figures with caption besides the figure.
34692  To create such a figure,
34693  you have to do the following:
34694 \end_layout
34695
34696 \begin_layout Enumerate
34697
34698 \change_deleted 564990737 1669742044
34699 Create a wide figure float:
34700  
34701 \family sans
34702 Insert\SpecialChar menuseparator
34703 Float\SpecialChar menuseparator
34704 Figure
34705 \family default
34706 ,
34707  then right click in the figure and select 
34708 \family sans
34709 Span
34710 \begin_inset space ~
34711 \end_inset
34712
34713 columns
34714 \family default
34715 .
34716 \end_layout
34717
34718 \begin_layout Enumerate
34719
34720 \change_deleted 564990737 1669742044
34721 Enter your caption text.
34722 \end_layout
34723
34724 \begin_layout Enumerate
34725
34726 \change_deleted 564990737 1669742044
34727 Press 
34728 \family sans
34729 Return
34730 \family default
34731  to move the cursor above the caption.
34732 \end_layout
34733
34734 \begin_layout Enumerate
34735
34736 \change_deleted 564990737 1669742044
34737 Insert your figure
34738 \end_layout
34739
34740 \begin_layout Enumerate
34741
34742 \change_deleted 564990737 1669742044
34743 Position the cursor behind the figure and insert a horizontal fill:
34744  
34745 \family sans
34746 Insert\SpecialChar menuseparator
34747 Special
34748 \begin_inset space ~
34749 \end_inset
34750
34751 Character\SpecialChar menuseparator
34752 Horizontal
34753 \begin_inset space ~
34754 \end_inset
34755
34756 Fill
34757 \family default
34758 .
34759 \end_layout
34760
34761 \begin_layout Enumerate
34762
34763 \change_deleted 564990737 1669742044
34764 Switch to \SpecialChar LaTeX
34765  mode:
34766  
34767 \family sans
34768 M-c
34769 \begin_inset space ~
34770 \end_inset
34771
34772 t
34773 \family default
34774 .
34775 \end_layout
34776
34777 \begin_layout Enumerate
34778
34779 \change_deleted 564990737 1669742044
34780 Enter 
34781 \family typewriter
34782
34783 \backslash
34784 parbox[b]{55mm}{
34785 \family default
34786 .
34787  
34788 \series bold
34789 Do not close the brace!
34790 \end_layout
34791
34792 \begin_layout Enumerate
34793
34794 \change_deleted 564990737 1669742044
34795 Position the cursor behind the caption text,
34796  switch to \SpecialChar LaTeX
34797  mode and insert the closing brace:
34798  
34799 \family sans
34800 M-c
34801 \begin_inset space ~
34802 \end_inset
34803
34804 t
34805 \family default
34806  
34807 \family typewriter
34808 }
34809 \family default
34810 .
34811 \end_layout
34812
34813 \begin_layout Standard
34814
34815 \change_deleted 564990737 1669742044
34816 Also,
34817  refer to the figures in the example paper.
34818 \end_layout
34819
34820 \begin_layout Standard
34821
34822 \change_deleted 564990737 1669742044
34823 Referee layout
34824 \end_layout
34825
34826 \begin_layout Standard
34827
34828 \change_deleted 564990737 1669742044
34829 For submission,
34830  the paper has to be formated in a special double-spacing layout.
34831  For this purpose,
34832  you have to give the option 
34833 \family typewriter
34834 referee
34835 \family default
34836  to the document class.
34837  This must be done using the custom class options field in the 
34838 \family sans
34839 Document\SpecialChar menuseparator
34840 Settings
34841 \family default
34842  dialog.
34843  Just enter the string 
34844 \family typewriter
34845 referee
34846 \family default
34847  there.
34848 \end_layout
34849
34850 \begin_layout Standard
34851
34852 \change_deleted 564990737 1669742044
34853 The example paper
34854 \end_layout
34855
34856 \begin_layout Standard
34857
34858 \change_deleted 564990737 1669742044
34859 The 
34860 \family sans
34861 Examples
34862 \family default
34863  directory contains an example paper written with \SpecialChar LyX
34864 .
34865  It is the example paper from the original macro package,
34866  translated to \SpecialChar LyX
34867 .
34868  Use it for inspiration,
34869  and compare the original \SpecialChar LaTeX
34870  code with \SpecialChar LyX
34871  way of writing.
34872 \end_layout
34873
34874 \begin_layout Standard
34875
34876 \change_deleted 564990737 1671097429
34877 Dinbrief
34878 \end_layout
34879
34880 \begin_layout Standard
34881
34882 \change_deleted 564990737 1671097429
34883 The document class 
34884 \family sans
34885 dinbrief
34886 \family default
34887  can be used to type letters according to German conventions.
34888  A template file is included in 
34889 \family typewriter
34890 .../lyx/share/templates
34891 \family default
34892  for you to use as a starting point.
34893 \end_layout
34894
34895 \begin_layout Standard
34896
34897 \change_deleted 564990737 1671097429
34898 Elsevier Journals
34899 \end_layout
34900
34901 \begin_layout Standard
34902
34903 \change_deleted 564990737 1671097429
34904 See the \SpecialChar LyX
34905  template file 
34906 \family typewriter
34907 elsarticle.lyx
34908 \family default
34909 .
34910  It contains all infos you need.
34911 \end_layout
34912
34913 \begin_layout Standard
34914
34915 \change_deleted 564990737 1669755802
34916 ijmpc and ijmpd
34917 \end_layout
34918
34919 \begin_layout Standard
34920
34921 \change_deleted 564990737 1669755802
34922 by 
34923 \noun on
34924 Panayotis Papasotiriou
34925 \end_layout
34926
34927 \begin_layout Standard
34928
34929 \change_deleted 564990737 1669755802
34930 Overview
34931 \end_layout
34932
34933 \begin_layout Standard
34934
34935 \change_deleted 564990737 1669755802
34936 The ijmpc package is a set of macros that facilitates electronic manuscript submission to the 
34937 \emph on
34938 International Journal of Modern Physics C
34939 \emph default
34940 .
34941  Similarly,
34942  the ijmpd package is for creating manuscripts to be submitted to the 
34943 \emph on
34944 International Journal of Modern Physics D
34945 \emph default
34946 .
34947  Both journals are published by World Scientific.
34948  The corresponding document classes are named 
34949 \family typewriter
34950 ws-ijmpc.cls
34951 \family default
34952  and 
34953 \family typewriter
34954 ws-ijmpd.cls
34955 \family default
34956 ,
34957  respectively.
34958  These files,
34959  together with instructions for the authors,
34960  can be downloaded from the sites 
34961 \begin_inset Flex URL
34962 status collapsed
34963
34964 \begin_layout Plain Layout
34965
34966 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
34967 \end_layout
34968
34969 \end_inset
34970
34971  and 
34972 \begin_inset Flex URL
34973 status collapsed
34974
34975 \begin_layout Plain Layout
34976
34977 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
34978 \end_layout
34979
34980 \end_inset
34981
34982 .
34983  Both packages are modified versions of the standard 
34984 \begin_inset Quotes eld
34985 \end_inset
34986
34987 article
34988 \begin_inset Quotes erd
34989 \end_inset
34990
34991  package,
34992  and they are almost (but not exactly) identical.
34993  Most of their features are supported by \SpecialChar LyX
34994 .
34995  I have used \SpecialChar LyX
34996  successfully to write articles submitted to both journals without any problem.
34997 \end_layout
34998
34999 \begin_layout Standard
35000
35001 \change_deleted 564990737 1669755802
35002 Writing a paper
35003 \end_layout
35004
35005 \begin_layout Standard
35006
35007 \change_deleted 564990737 1669755802
35008 As usual,
35009  the easiest way to write a paper is to start with a template.
35010  Click on 
35011 \family sans
35012 File\SpecialChar menuseparator
35013 New from
35014 \family default
35015  
35016 \family sans
35017 Template
35018 \family default
35019 ,
35020  then choose the 
35021 \family typewriter
35022 ijmpc.lyx
35023 \family default
35024  or 
35025 \family typewriter
35026 ijmpd.lyx
35027 \family default
35028  template.
35029  This will give an (almost) empty document that includes the most common fields found in a manuscript.
35030  Simply overwrite the existing text (including the brackets,
35031  
35032 \family typewriter
35033 <>
35034 \family default
35035 ) with your text.
35036  You should keep in mind the following remarks.
35037 \end_layout
35038
35039 \begin_layout Enumerate
35040
35041 \change_deleted 564990737 1669755802
35042 \SpecialChar LyX
35043  won't let you change the font size and the page style of the document,
35044  because such modifications are not allowed by both packages.
35045 \end_layout
35046
35047 \begin_layout Enumerate
35048
35049 \change_deleted 564990737 1669755802
35050 The language of the document should not be changed.
35051  Before previewing your paper,
35052  be sure that the babel package is not used.
35053  To do this,
35054  click on 
35055 \begin_inset Info
35056 type  "menu"
35057 arg   "dialog-show document"
35058 \end_inset
35059
35060  
35061 \family sans
35062 \SpecialChar menuseparator
35063 Language
35064 \family default
35065 ,
35066  and select 
35067 \begin_inset Quotes eld
35068 \end_inset
35069
35070 None
35071 \begin_inset Quotes erd
35072 \end_inset
35073
35074  as 
35075 \family sans
35076 Language Package
35077 \family default
35078 .
35079 \end_layout
35080
35081 \begin_layout Enumerate
35082
35083 \change_deleted 564990737 1669755802
35084 The 
35085 \begin_inset Quotes eld
35086 \end_inset
35087
35088 Keywords
35089 \begin_inset Quotes erd
35090 \end_inset
35091
35092  style must be used to define keywords.
35093 \end_layout
35094
35095 \begin_layout Enumerate
35096
35097 \change_deleted 564990737 1669755802
35098 The ijmpc package provides a style named 
35099 \begin_inset Quotes eld
35100 \end_inset
35101
35102 Classification Codes
35103 \begin_inset Quotes erd
35104 \end_inset
35105
35106 ,
35107  which can be used to define classification codes,
35108  such as PACS numbers.
35109  Note that this facility is not supported by the ijmpd package.
35110 \end_layout
35111
35112 \begin_layout Enumerate
35113
35114 \change_deleted 564990737 1669755802
35115 Several new environments are available:
35116  
35117 \begin_inset Quotes eld
35118 \end_inset
35119
35120 Definition
35121 \begin_inset Quotes erd
35122 \end_inset
35123
35124 ,
35125  
35126 \begin_inset Quotes eld
35127 \end_inset
35128
35129 Step
35130 \begin_inset Quotes erd
35131 \end_inset
35132
35133 ,
35134  
35135 \begin_inset Quotes eld
35136 \end_inset
35137
35138 Example
35139 \begin_inset Quotes erd
35140 \end_inset
35141
35142 ,
35143  
35144 \begin_inset Quotes eld
35145 \end_inset
35146
35147 Remark
35148 \begin_inset Quotes erd
35149 \end_inset
35150
35151 ,
35152  
35153 \begin_inset Quotes eld
35154 \end_inset
35155
35156 Notation
35157 \begin_inset Quotes erd
35158 \end_inset
35159
35160 ,
35161  
35162 \begin_inset Quotes eld
35163 \end_inset
35164
35165 Theorem
35166 \begin_inset Quotes erd
35167 \end_inset
35168
35169 ,
35170  
35171 \begin_inset Quotes eld
35172 \end_inset
35173
35174 Proof
35175 \begin_inset Quotes erd
35176 \end_inset
35177
35178 ,
35179  
35180 \begin_inset Quotes eld
35181 \end_inset
35182
35183 Corollary
35184 \begin_inset Quotes erd
35185 \end_inset
35186
35187 ,
35188  
35189 \begin_inset Quotes eld
35190 \end_inset
35191
35192 Lemma
35193 \begin_inset Quotes erd
35194 \end_inset
35195
35196 ,
35197  
35198 \begin_inset Quotes eld
35199 \end_inset
35200
35201 Proposition
35202 \begin_inset Quotes erd
35203 \end_inset
35204
35205 ,
35206  
35207 \begin_inset Quotes eld
35208 \end_inset
35209
35210 Prop
35211 \begin_inset Quotes erd
35212 \end_inset
35213
35214 ,
35215  
35216 \begin_inset Quotes eld
35217 \end_inset
35218
35219 Question
35220 \begin_inset Quotes erd
35221 \end_inset
35222
35223 ,
35224  
35225 \begin_inset Quotes eld
35226 \end_inset
35227
35228 Claim
35229 \begin_inset Quotes erd
35230 \end_inset
35231
35232 ,
35233  and 
35234 \begin_inset Quotes eld
35235 \end_inset
35236
35237 Conjecture
35238 \begin_inset Quotes erd
35239 \end_inset
35240
35241 .
35242  Their use is more or less obvious.
35243  \SpecialChar LyX
35244  supports all these environments;
35245  it will use the proper label,
35246  text style,
35247  and numbering scheme for each of them.
35248 \end_layout
35249
35250 \begin_layout Enumerate
35251
35252 \change_deleted 564990737 1669755802
35253 Both packages use basic citations;
35254  the natbib package should not be used.
35255  In \SpecialChar LyX
35256 ,
35257  citation references are shown as usual;
35258  in the output,
35259  citations are shown as superscripts.
35260  If you want to use a citation as normal text,
35261  you should use the 
35262 \family typewriter
35263 refcite
35264 \family default
35265  command,
35266  e.
35267 \begin_inset space \thinspace{}
35268 \end_inset
35269
35270 g.
35271 \begin_inset space \space{}
35272 \end_inset
35273
35274
35275 \begin_inset Quotes eld
35276 \end_inset
35277
35278 See Ref.
35279 \begin_inset space \space{}
35280 \end_inset
35281
35282
35283 \family typewriter
35284
35285 \backslash
35286 refcite{key}
35287 \family default
35288
35289 \begin_inset Quotes erd
35290 \end_inset
35291
35292 .
35293 \end_layout
35294
35295 \begin_layout Enumerate
35296
35297 \change_deleted 564990737 1669755802
35298 There is no 
35299 \begin_inset Quotes eld
35300 \end_inset
35301
35302 Acknowledgments
35303 \begin_inset Quotes erd
35304 \end_inset
35305
35306  section in both packages.
35307  To put acknowledgments,
35308  just use the 
35309 \begin_inset Quotes eld
35310 \end_inset
35311
35312 Section*
35313 \begin_inset Quotes erd
35314 \end_inset
35315
35316  environment.
35317 \end_layout
35318
35319 \begin_layout Enumerate
35320
35321 \change_deleted 564990737 1669755802
35322 Appendices may be added to the paper,
35323  
35324 \emph on
35325 after
35326 \emph default
35327  the Acknowledgments and 
35328 \shape italic
35329 before
35330 \shape default
35331  the References.
35332  \SpecialChar LyX
35333  provides a special environment,
35334  called 
35335 \begin_inset Quotes eld
35336 \end_inset
35337
35338 Appendices Section
35339 \begin_inset Quotes erd
35340 \end_inset
35341
35342  which marks the beginning of the appendices.
35343  This environment should be left blank;
35344  it just sends a \SpecialChar LaTeX
35345  command,
35346  but nothing is really printed.
35347  In \SpecialChar LyX
35348 ,
35349  the word 
35350 \begin_inset Quotes eld
35351 \end_inset
35352
35353 Appendix
35354 \begin_inset Quotes erd
35355 \end_inset
35356
35357  is printed with blue letters,
35358  as a signal that all sections after that point are appendices.
35359  To write an appendix,
35360  use the 
35361 \begin_inset Quotes eld
35362 \end_inset
35363
35364 Appendix
35365 \begin_inset Quotes erd
35366 \end_inset
35367
35368  environment.
35369  \SpecialChar LyX
35370  will number each appendix with capital letters,
35371  as required by both journals.
35372  Note that 
35373 \begin_inset Quotes eld
35374 \end_inset
35375
35376 Appendices Section
35377 \begin_inset Quotes erd
35378 \end_inset
35379
35380  
35381 \emph on
35382 must
35383 \emph default
35384  be present before the first appendix;
35385  if not,
35386  all appendices will be numbered as normal sections in the output.
35387 \end_layout
35388
35389 \begin_layout Enumerate
35390
35391 \change_deleted 564990737 1669755802
35392 The ijmpc and the ijmpd packages use the 
35393 \family typewriter
35394 tbl
35395 \family default
35396  command to implement table captions.
35397  As a result,
35398  a table created by \SpecialChar LyX
35399  is printed correctly,
35400  but its caption is ignored.
35401  However,
35402  you can use some \SpecialChar TeX
35403  code to overcome this problem,
35404  so that captions are printed as expected.
35405  To do so,
35406  create a float table as usual,
35407  remove the caption,
35408  and replace it with the \SpecialChar TeX
35409  code 
35410 \family typewriter
35411
35412 \backslash
35413 tbl{
35414 \emph on
35415 your table caption
35416 \emph default
35417 }{
35418 \family default
35419  (sic);
35420  you must also the \SpecialChar TeX
35421  code 
35422 \family typewriter
35423 }
35424 \family default
35425  immediately after the tabular material.
35426  Study the example table included in the template files to see how this trick is implemented.
35427  Alternatively,
35428  If you need table captions,
35429  you should implement the whole table float in a 
35430 \family typewriter
35431 .tex
35432 \family default
35433  file,
35434  then include this file to the \SpecialChar LyX
35435  document (
35436 \family sans
35437 Insert\SpecialChar menuseparator
35438 File\SpecialChar menuseparator
35439 Child
35440 \begin_inset space ~
35441 \end_inset
35442
35443 Document
35444 \family default
35445 ).
35446  Details on how to create a table float can be found in the files 
35447 \family typewriter
35448 ws-ijmpc.tex
35449 \family default
35450  and 
35451 \family typewriter
35452 ws-ijmpd.tex
35453 \family default
35454 ,
35455  included in the corresponding packages.
35456 \end_layout
35457
35458 \begin_layout Standard
35459
35460 \change_deleted 564990737 1669755802
35461 Preparing a paper for submission
35462 \end_layout
35463
35464 \begin_layout Standard
35465
35466 \change_deleted 564990737 1669755802
35467 Before you submit your paper you must export the \SpecialChar LyX
35468  document as a \SpecialChar LaTeX
35469  file (
35470 \family sans
35471 File\SpecialChar menuseparator
35472 Export\SpecialChar menuseparator
35473 \SpecialChar LaTeX
35474
35475 \family default
35476 )
35477 \begin_inset Foot
35478 status open
35479
35480 \begin_layout Plain Layout
35481 Actually you have the choice between \SpecialChar LaTeX
35482  (plain) and pdflatex.
35483  If you intend to use pdflatex to prepare the paper,
35484  you should use the pdflatex option so that included graphics are converted to PDF format,
35485  ready for use by pdflatex.
35486 \end_layout
35487
35488 \end_inset
35489
35490 ,
35491  then make the following changes to the resulting 
35492 \family typewriter
35493 .tex
35494 \family default
35495  file.
35496 \end_layout
35497
35498 \begin_layout Enumerate
35499
35500 \change_deleted 564990737 1669755802
35501 Remove the comment lines before the 
35502 \family typewriter
35503
35504 \backslash
35505 documentclass
35506 \family default
35507  command.
35508 \end_layout
35509
35510 \begin_layout Enumerate
35511
35512 \change_deleted 564990737 1669755802
35513 Remove everything between (and including) the 
35514 \family typewriter
35515
35516 \backslash
35517 makeatletter
35518 \family default
35519  and 
35520 \family typewriter
35521
35522 \backslash
35523 makeatother
35524 \family default
35525  commands,
35526  except for any commands you specifically put into the \SpecialChar LaTeX
35527  preamble.
35528 \end_layout
35529
35530 \begin_layout Standard
35531
35532 \change_deleted 564990737 1672743015
35533 The modified 
35534 \family typewriter
35535 .tex
35536 \family default
35537  file should be saved and processed through \SpecialChar LaTeX
35538  as many times as necessary.
35539  You may also want to check the resulting 
35540 \family typewriter
35541 .dvi
35542 \family default
35543  document.
35544 \end_layout
35545
35546 \begin_layout Standard
35547
35548 \change_deleted 564990737 1669801478
35549 iopart
35550 \end_layout
35551
35552 \begin_layout Standard
35553
35554 \change_deleted 564990737 1669801478
35555 by 
35556 \noun on
35557 Uwe Stöhr
35558 \end_layout
35559
35560 \begin_layout Standard
35561
35562 \change_deleted 564990737 1669801478
35563 Overview
35564 \end_layout
35565
35566 \begin_layout Standard
35567
35568 \change_deleted 564990737 1669801478
35569 The iopart package provides a document class to create electronic manuscript submission to the journals published by the Institute of Physics.
35570  Instructions for the authors how to create a paper using the iopart class can be downloaded together with the iopart package from the site 
35571 \begin_inset Flex URL
35572 status collapsed
35573
35574 \begin_layout Plain Layout
35575
35576 ftp://ftp.iop.org/pub/journals/latex2e
35577 \end_layout
35578
35579 \end_inset
35580
35581 .
35582 \end_layout
35583
35584 \begin_layout Standard
35585
35586 \change_deleted 564990737 1669801478
35587 Writing a paper
35588 \end_layout
35589
35590 \begin_layout Standard
35591
35592 \change_deleted 564990737 1669801478
35593 The easiest way to write a paper is to start with the template 
35594 \emph on
35595 IOP-article.lyx
35596 \emph default
35597  that is available via 
35598 \family sans
35599 File\SpecialChar menuseparator
35600 New From Template
35601 \family default
35602  The template explains how to use the special text environments.
35603  Here are the most important advices:
35604 \end_layout
35605
35606 \begin_layout Itemize
35607
35608 \change_deleted 564990737 1669801478
35609 To be able to compile your document to a PDF,
35610  PS,
35611  or DVI,
35612  ensure that the no AMS packages are loaded in 
35613 \family sans
35614 Document\SpecialChar menuseparator
35615 Settings\SpecialChar menuseparator
35616 Math Options
35617 \family default
35618 !
35619 \end_layout
35620
35621 \begin_layout Itemize
35622
35623 \change_deleted 564990737 1669801478
35624
35625 \size normal
35626 The title environment defines the kind of your paper.
35627  So use one of the following environments for the title:
35628 \end_layout
35629
35630 \begin_deeper
35631 \begin_layout Itemize
35632
35633 \change_deleted 564990737 1669801478
35634
35635 \family sans
35636 \size normal
35637 Title
35638 \family default
35639  for a Paper
35640 \end_layout
35641
35642 \begin_layout Itemize
35643
35644 \change_deleted 564990737 1669801478
35645
35646 \family sans
35647 \size normal
35648 Review
35649 \family default
35650  for a Review
35651 \end_layout
35652
35653 \begin_layout Itemize
35654
35655 \change_deleted 564990737 1669801478
35656
35657 \family sans
35658 \size normal
35659 Topical
35660 \family default
35661  for a Topical review
35662 \end_layout
35663
35664 \begin_layout Itemize
35665
35666 \change_deleted 564990737 1669801478
35667
35668 \family sans
35669 \size normal
35670 Comment
35671 \family default
35672  for a Comment
35673 \end_layout
35674
35675 \begin_layout Itemize
35676
35677 \change_deleted 564990737 1669801478
35678
35679 \family sans
35680 \size normal
35681 Note
35682 \family default
35683  for a Note
35684 \end_layout
35685
35686 \begin_layout Itemize
35687
35688 \change_deleted 564990737 1669801478
35689
35690 \family sans
35691 \size normal
35692 Paper
35693 \family default
35694  for a Paper (same as Title)
35695 \end_layout
35696
35697 \begin_layout Itemize
35698
35699 \change_deleted 564990737 1669801478
35700
35701 \family sans
35702 \size normal
35703 Prelim
35704 \family default
35705  for a Preliminary communication
35706 \end_layout
35707
35708 \begin_layout Itemize
35709
35710 \change_deleted 564990737 1669801478
35711
35712 \family sans
35713 \size normal
35714 Rapid
35715 \family default
35716  for a Rapid communication
35717 \end_layout
35718
35719 \begin_layout Itemize
35720
35721 \change_deleted 564990737 1669801478
35722
35723 \family sans
35724 \size normal
35725 Letter
35726 \family default
35727  for a Letter to the editor
35728 \end_layout
35729
35730 \end_deeper
35731 \begin_layout Itemize
35732
35733 \change_deleted 564990737 1669801478
35734
35735 \size normal
35736 All title environments except of 
35737 \family sans
35738 Letter
35739 \family default
35740  can have an optional short title.
35741 \end_layout
35742
35743 \begin_layout Itemize
35744
35745 \change_deleted 564990737 1669801478
35746 There is a general title environment 
35747 \family sans
35748 Article
35749 \family default
35750  which is not directly supported by \SpecialChar LyX
35751 .
35752  This can be used as \SpecialChar TeX
35753  code when your document doesn't fit into one of the other title types.
35754 \end_layout
35755
35756 \begin_layout Standard
35757
35758 \change_deleted 564990737 1672743015
35759 For more informations like hints for special table and formula formatting,
35760  look at the IOP author guidelines.
35761 \end_layout
35762
35763 \begin_layout Standard
35764
35765 \change_deleted 564990737 1670317155
35766 Kluwer
35767 \end_layout
35768
35769 \begin_layout Standard
35770
35771 \change_deleted 564990737 1670317155
35772 by 
35773 \noun on
35774 Panayotis Papasotiriou
35775 \end_layout
35776
35777 \begin_layout Standard
35778
35779 \change_deleted 564990737 1670317155
35780 Overview
35781 \end_layout
35782
35783 \begin_layout Standard
35784
35785 \change_deleted 564990737 1670317155
35786 The Kluwer package is a set of macros produced by Kluwer Academic Publishers that facilitates electronic manuscript submission to the journals they publish.
35787  Most known of them (at least in my domain of interest) are 
35788 \emph on
35789 Astrophysics and Space Science
35790 \emph default
35791  and 
35792 \emph on
35793 Solar Physics
35794 \emph default
35795 ,
35796  but there are many others (see a complete list at 
35797 \begin_inset Flex URL
35798 status collapsed
35799
35800 \begin_layout Plain Layout
35801
35802 http://www.wkap.nl/jrnllist.htm/JRNLHOME
35803 \end_layout
35804
35805 \end_inset
35806
35807 ).
35808  The Kluwer package may be downloaded from the site 
35809 \begin_inset Flex URL
35810 status collapsed
35811
35812 \begin_layout Plain Layout
35813
35814 http://www.wkap.nl/kaphtml.htm/STYLEFILES
35815 \end_layout
35816
35817 \end_inset
35818
35819 .
35820  A complete user guide is contained in that package (but it can also be downloaded separately).
35821 \end_layout
35822
35823 \begin_layout Standard
35824
35825 \change_deleted 564990737 1670317155
35826 \SpecialChar LyX
35827  supports many features of the package but not everything.
35828  However,
35829  the \SpecialChar TeX
35830  code needed is reduced to some 
35831 \begin_inset Quotes eld
35832 \end_inset
35833
35834 peculiar
35835 \begin_inset Quotes erd
35836 \end_inset
35837
35838  commands of the package (see
35839 \begin_inset space ~
35840 \end_inset
35841
35842
35843 \begin_inset CommandInset ref
35844 LatexCommand ref
35845 reference "subsec:kluwer_peculiarities"
35846 nolink "false"
35847
35848 \end_inset
35849
35850 ).
35851  I have recently used \SpecialChar LyX
35852  to write an article submitted to the 
35853 \emph on
35854 Astrophysics and Space Science
35855 \emph default
35856  without any problem.
35857 \end_layout
35858
35859 \begin_layout Standard
35860
35861 \change_deleted 564990737 1670317155
35862 Writing a paper
35863 \end_layout
35864
35865 \begin_layout Standard
35866
35867 \change_deleted 564990737 1670317155
35868 The easiest way to write a paper is to start with the Kluwer template file.
35869  Click on 
35870 \family sans
35871 File\SpecialChar menuseparator
35872 New from
35873 \family default
35874  
35875 \family sans
35876 Template
35877 \family default
35878 ,
35879  then choose the 
35880 \family typewriter
35881 kluwer.lyx
35882 \family default
35883  template.
35884  This will give an (almost) empty document that includes the most common fields found in a manuscript and a short description of their use.
35885  As in most templates,
35886  simply overwrite the existing text (including the brackets,
35887  
35888 \family typewriter
35889 <>
35890 \family default
35891 ) with the correct information.
35892 \end_layout
35893
35894 \begin_layout Standard
35895
35896 \change_deleted 564990737 1670317155
35897 Preparing a paper for submission
35898 \end_layout
35899
35900 \begin_layout Standard
35901
35902 \change_deleted 564990737 1670317155
35903 As in the AAS\SpecialChar TeX
35904  package,
35905  before you submit your paper to a journal you must 
35906 \begin_inset Quotes eld
35907 \end_inset
35908
35909 postprocess
35910 \begin_inset Quotes erd
35911 \end_inset
35912
35913  it as follows.
35914 \end_layout
35915
35916 \begin_layout Enumerate
35917
35918 \change_deleted 564990737 1670317155
35919 Export your paper as a \SpecialChar LaTeX
35920  file.
35921  To do this,
35922  click on 
35923 \family sans
35924 File\SpecialChar menuseparator
35925 Export\SpecialChar menuseparator
35926 \SpecialChar LaTeX
35927
35928 \family default
35929 .
35930  
35931 \end_layout
35932
35933 \begin_layout Enumerate
35934
35935 \change_deleted 564990737 1670317155
35936 Edit the resulting 
35937 \family typewriter
35938 .tex
35939 \family default
35940  file with a text editor and make the following changes
35941 \end_layout
35942
35943 \begin_deeper
35944 \begin_layout Enumerate
35945
35946 \change_deleted 564990737 1670317155
35947 remove the comment lines before the 
35948 \family typewriter
35949
35950 \backslash
35951 documentclass
35952 \family default
35953  command,
35954 \end_layout
35955
35956 \begin_layout Enumerate
35957
35958 \change_deleted 564990737 1670317155
35959 remove everything between (and including) the 
35960 \family typewriter
35961
35962 \backslash
35963 makeatletter
35964 \family default
35965  and 
35966 \family typewriter
35967
35968 \backslash
35969 makeatother
35970 \family default
35971  commands,
35972  except for any commands you specifically put into the \SpecialChar LaTeX
35973  preamble.
35974 \end_layout
35975
35976 \begin_layout Standard
35977
35978 \change_deleted 564990737 1670317155
35979 Save the resulting 
35980 \family typewriter
35981 .tex
35982 \family default
35983  file.
35984 \end_layout
35985
35986 \end_deeper
35987 \begin_layout Enumerate
35988
35989 \change_deleted 564990737 1670317155
35990 Run the 
35991 \family typewriter
35992 .tex
35993 \family default
35994  file through \SpecialChar LaTeX
35995  as many times as necessary (usually up to three).
35996 \end_layout
35997
35998 \begin_layout Enumerate
35999
36000 \change_deleted 564990737 1670317155
36001 View the resulting 
36002 \family typewriter
36003 .dvi
36004 \family default
36005  document using,
36006  e.
36007 \begin_inset space \thinspace{}
36008 \end_inset
36009
36010 g.
36011 \begin_inset space \space{}
36012 \end_inset
36013
36014
36015 \family sans
36016 xdvi
36017 \family default
36018 ,
36019  and check if everything is OK (it should,
36020  if you didn't make any mistake).
36021 \end_layout
36022
36023 \begin_layout Standard
36024
36025 \change_deleted 564990737 1670317155
36026 \begin_inset Quotes eld
36027 \end_inset
36028
36029 Peculiarities
36030 \begin_inset Quotes erd
36031 \end_inset
36032
36033  of the Kluwer package
36034 \begin_inset CommandInset label
36035 LatexCommand label
36036 name "subsec:kluwer_peculiarities"
36037
36038 \end_inset
36039
36040
36041 \end_layout
36042
36043 \begin_layout Standard
36044
36045 \change_deleted 564990737 1670317155
36046 The Kluwer package has the following 
36047 \begin_inset Quotes eld
36048 \end_inset
36049
36050 peculiarities
36051 \begin_inset Quotes erd
36052 \end_inset
36053
36054 .
36055 \end_layout
36056
36057 \begin_layout Enumerate
36058
36059 \change_deleted 564990737 1670317155
36060 It is possible to write multiple articles in the same \SpecialChar LaTeX
36061  file
36062 \begin_inset Foot
36063 status collapsed
36064
36065 \begin_layout Plain Layout
36066 I can't imagine any good reason to do this.
36067 \end_layout
36068
36069 \end_inset
36070
36071 .
36072  Each article must be included in the environment 
36073 \begin_inset Quotes eld
36074 \end_inset
36075
36076 article
36077 \begin_inset Quotes erd
36078 \end_inset
36079
36080 .
36081  Unfortunately,
36082  this environment cannot be omitted,
36083  even if you write just one article.
36084  Therefore,
36085  each article starts with the command 
36086 \family typewriter
36087
36088 \backslash
36089 begin{article}
36090 \family default
36091  and,
36092  obviously,
36093  ends with the command 
36094 \family typewriter
36095
36096 \backslash
36097 end{article}
36098 \family default
36099 .
36100  Although this can be implemented in \SpecialChar LyX
36101 ,
36102  I didn't included it,
36103  since it looks ugly and can confuse the novice user.
36104  Therefore,
36105  you need to enter them directly and mark them as \SpecialChar LaTeX
36106  code (the well-known 
36107 \begin_inset Quotes eld
36108 \end_inset
36109
36110 \SpecialChar TeX
36111  code
36112 \begin_inset Quotes erd
36113 \end_inset
36114
36115 ).
36116 \end_layout
36117
36118 \begin_layout Enumerate
36119
36120 \change_deleted 564990737 1670317155
36121 Information given at the beginning of the article (i.
36122 \begin_inset space \thinspace{}
36123 \end_inset
36124
36125 e.
36126 \begin_inset space \space{}
36127 \end_inset
36128
36129 title,
36130  subtitle,
36131  author,
36132  institution,
36133  running title,
36134  running author,
36135  abstract and keywords) must be included in an environment called 
36136 \begin_inset Quotes eld
36137 \end_inset
36138
36139 opening
36140 \begin_inset Quotes erd
36141 \end_inset
36142
36143 .
36144  This is not implemented in \SpecialChar LyX
36145 ,
36146  so you must enter title,
36147  subtitle etc.
36148 \begin_inset space ~
36149 \end_inset
36150
36151 between two \SpecialChar TeX
36152  code lines (
36153 \family typewriter
36154
36155 \backslash
36156 begin{opening}
36157 \family default
36158  and 
36159 \family typewriter
36160
36161 \backslash
36162 end{opening}
36163 \family default
36164 ).
36165 \end_layout
36166
36167 \begin_layout Enumerate
36168
36169 \change_deleted 564990737 1670317155
36170 According to the user manual,
36171  the label of each bibliography item must be written as 
36172 \family typewriter
36173
36174 \backslash
36175 protect
36176 \backslash
36177 citeauthoryear{
36178 \family default
36179 \emph on
36180 author(s)
36181 \family typewriter
36182 \emph default
36183 }{
36184 \family default
36185 \emph on
36186 year
36187 \family typewriter
36188 \emph default
36189 }
36190 \family default
36191 .
36192 \end_layout
36193
36194 \begin_layout Standard
36195
36196 \change_deleted 564990737 1670317155
36197 The 
36198 \family typewriter
36199 kluwer.lyx
36200 \family default
36201  template takes care of all these 
36202 \begin_inset Quotes eld
36203 \end_inset
36204
36205 peculiarities
36206 \begin_inset Quotes erd
36207 \end_inset
36208
36209 .
36210  If you start a new paper using this template you don't need to do anything special.
36211  Just 
36212 \end_layout
36213
36214 \begin_layout Enumerate
36215
36216 \change_deleted 564990737 1670317155
36217 don't delete the \SpecialChar TeX
36218  code included in the template,
36219  and
36220 \end_layout
36221
36222 \begin_layout Enumerate
36223
36224 \change_deleted 564990737 1670317155
36225 copy the example bibliography item included in the template and modify it as necessary to enter new bibliography items.
36226 \end_layout
36227
36228 \begin_layout Standard
36229
36230 \change_deleted 564990737 1671097446
36231 Paper
36232 \end_layout
36233
36234 \begin_layout Standard
36235
36236 \change_deleted 564990737 1671097446
36237 The document class 
36238 \family sans
36239 paper
36240 \family default
36241  provides an alternative to the standard 
36242 \family sans
36243 article
36244 \family default
36245  class.
36246  It provides similar functionality,
36247  but you might prefer this layout with sans serif sections,
36248  headings,
36249  and more.
36250 \end_layout
36251
36252 \begin_layout Standard
36253
36254 \change_deleted 564990737 1671097446
36255 Springer Journals (
36256 \family sans
36257 svjour
36258 \family default
36259 )
36260 \end_layout
36261
36262 \begin_layout Standard
36263
36264 \change_deleted 564990737 1671097446
36265 by 
36266 \noun on
36267 Martin Vermeer
36268 \end_layout
36269
36270 \begin_layout Standard
36271
36272 \change_deleted 564990737 1671097446
36273 Description
36274 \end_layout
36275
36276 \begin_layout Standard
36277
36278 \change_deleted 564990737 1671097446
36279 These are the layout files for some of the journal formats used by Springer Verlag and listed on 
36280 \begin_inset Flex URL
36281 status collapsed
36282
36283 \begin_layout Plain Layout
36284
36285 http://www.springer.de/author/tex/help-journals.html
36286 \end_layout
36287
36288 \end_inset
36289
36290 ,
36291  where you should also go to fetch the class files (yes,
36292  these are \SpecialChar LaTeX2e
36293  now!).
36294  It is a modular system:
36295  the things common to all journals are implemented in 
36296 \family typewriter
36297 svjour.inc
36298 \family default
36299 ,
36300  which journal-specific layout files (such as,
36301  e.
36302 \begin_inset space \thinspace{}
36303 \end_inset
36304
36305 g.
36306 \begin_inset space \space{}
36307 \end_inset
36308
36309
36310 \family typewriter
36311 svjog.layout
36312 \family default
36313  for Journal of Geodesy) can include.
36314 \end_layout
36315
36316 \begin_layout Standard
36317
36318 \change_deleted 564990737 1671097446
36319 This means that implementing support for any other Springer journal on this list is as simple as writing your own 
36320 \family typewriter
36321 sv
36322 \family default
36323 <myjournal>
36324 \family typewriter
36325 .layout
36326 \family default
36327  file following the outline given in 
36328 \family typewriter
36329 svjog.layout
36330 \family default
36331 .
36332  
36333 \end_layout
36334
36335 \begin_layout Standard
36336
36337 \change_deleted 564990737 1671097446
36338 It is reasonably well tested only for the Journal of Geodesy.
36339  
36340 \family typewriter
36341 svjour
36342 \family default
36343  and 
36344 \family typewriter
36345 svjog
36346 \family default
36347  come with the standard \SpecialChar LyX
36348  distribution.
36349  Install the relevant class file (downloaded from Springer) in a proper directory,
36350  reconfigure \SpecialChar LaTeX
36351  (in the te\SpecialChar TeX
36352  case by running 
36353 \family typewriter
36354 texhash
36355 \family default
36356 ,
36357  as root if necessary —
36358  doesn't \SpecialChar LyX
36359  take care of this?),
36360  reconfigure \SpecialChar LyX
36361  and it should work.
36362 \end_layout
36363
36364 \begin_layout Standard
36365
36366 \change_deleted 564990737 1671097446
36367 New styles
36368 \end_layout
36369
36370 \begin_layout Standard
36371
36372 \change_deleted 564990737 1671097446
36373 A large number of theorem-like styles —
36374  
36375 \family sans
36376 Claim,
36377  Conjecture,
36378
36379 \family default
36380  
36381 \family sans
36382 \SpecialChar ldots
36383 Theorem
36384 \family default
36385 .
36386 \end_layout
36387
36388 \begin_layout Standard
36389
36390 \change_deleted 564990737 1671097446
36391
36392 \family sans
36393 Headnote,
36394  Dedication,
36395  Subtitle,
36396  Running_\SpecialChar LaTeX
36397 _Title,
36398  Author_Running,
36399  Institute,
36400  Mail,
36401  Offprints,
36402  Keywords,
36403  Acknowledgements,
36404  Acknowledgement
36405 \family default
36406 .
36407  See the Springer class file documentation for details.
36408 \end_layout
36409
36410 \begin_layout Standard
36411
36412 \change_deleted 564990737 1671097446
36413 Supported journals
36414 \end_layout
36415
36416 \begin_layout Itemize
36417
36418 \change_deleted 564990737 1671097446
36419
36420 \emph on
36421 Journal of Geodesy
36422 \emph default
36423 :
36424  
36425 \family typewriter
36426 svjog.layout
36427 \family default
36428  —
36429  Martin Vermeer
36430 \end_layout
36431
36432 \begin_layout Itemize
36433
36434 \change_deleted 564990737 1671097446
36435
36436 \emph on
36437 Probability Theory and Related Fields
36438 \emph default
36439 :
36440  
36441 \family typewriter
36442 svprobth.layout
36443 \family default
36444  —
36445  Jean-Marc Lasgouttes
36446 \end_layout
36447
36448 \begin_layout Standard
36449
36450 \change_deleted 564990737 1671097446
36451 Add your own,
36452  it isn't so hard!
36453 \end_layout
36454
36455 \begin_layout Standard
36456
36457 \change_deleted 564990737 1671097446
36458 Credits
36459 \end_layout
36460
36461 \begin_layout Standard
36462
36463 \change_deleted 564990737 1671097446
36464 These files are partly based on the older 
36465 \family typewriter
36466 ejour2.layout
36467 \family default
36468 ,
36469  which was again based on a tinkered-with version of an old \SpecialChar LaTeX
36470  2.09 style file from Springer.
36471  All this,
36472  and the 
36473 \family typewriter
36474 ejour2
36475 \family default
36476  layout,
36477  are now defunct.
36478  Jean-Marc Lasgouttes helped out big in making me find my way around the \SpecialChar LyX
36479  layout file mechanism.
36480 \end_layout
36481
36482 \begin_layout Standard
36483
36484 \change_deleted 564990737 1671097446
36485 Bugs
36486 \end_layout
36487
36488 \begin_layout Standard
36489
36490 \change_deleted 564990737 1671097446
36491 Probably.
36492  But probably less than in the old hacked-\SpecialChar LaTeX
36493  
36494 \family typewriter
36495 ejour2
36496 \family default
36497 .
36498 \end_layout
36499
36500 \begin_layout Chapter
36501 \SpecialChar LyX
36502  Features needing Extra Software
36503 \end_layout
36504
36505 \begin_layout Section
36506 Checking \SpecialChar TeX
36507
36508 \end_layout
36509
36510 \begin_layout Standard
36511 by 
36512 \noun on
36513 Asger Alstrup
36514 \end_layout
36515
36516 \begin_layout Subsection
36517 Introduction
36518 \end_layout
36519
36520 \begin_layout Standard
36521 If you have the 
36522 \family typewriter
36523 chktex
36524 \family default
36525  program installed
36526 \begin_inset Foot
36527 status collapsed
36528
36529 \begin_layout Plain Layout
36530
36531 \family typewriter
36532 chktex
36533 \family default
36534  is not yet available when you are using the \SpecialChar LaTeX
36535  distribution MiK\SpecialChar TeX
36536 .
36537 \end_layout
36538
36539 \end_inset
36540
36541 ,
36542  you'll find in the 
36543 \family sans
36544 Tools
36545 \family default
36546  menu the entry:
36547  
36548 \family sans
36549 Check
36550 \begin_inset space ~
36551 \end_inset
36552
36553 TeX
36554 \family default
36555 .
36556  You can get 
36557 \family typewriter
36558 chktex
36559 \family default
36560  from CTAN,
36561 \begin_inset Newline newline
36562 \end_inset
36563
36564
36565 \begin_inset CommandInset href
36566 LatexCommand href
36567 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
36568 literal "false"
36569
36570 \end_inset
36571
36572 .
36573 \end_layout
36574
36575 \begin_layout Standard
36576 The 
36577 \family sans
36578 Chk\SpecialChar TeX
36579
36580 \family default
36581  package is a program that was written by 
36582 \begin_inset Flex Noun
36583 status collapsed
36584
36585 \begin_layout Plain Layout
36586 Jens T.
36587 \begin_inset space ~
36588 \end_inset
36589
36590 Berger Thielemann
36591 \end_layout
36592
36593 \end_inset
36594
36595  in frustration because some constructs in \SpecialChar LaTeX
36596  are sometimes non-intuitive,
36597  and easy to forget.
36598  The program runs over your \SpecialChar LaTeX
36599  file,
36600  checks the integrity of the file,
36601  and flags some common errors.
36602  In other technical words,
36603  it is 
36604 \family typewriter
36605 lint
36606 \family default
36607  for \SpecialChar LaTeX
36608 .
36609 \end_layout
36610
36611 \begin_layout Standard
36612 Well,
36613  what is a syntax checker doing in \SpecialChar LyX
36614  which is supposed to produce correct \SpecialChar LaTeX
36615  anyways?
36616  The answer is simple:
36617  Just as 
36618 \family typewriter
36619 Lint
36620 \family default
36621  not only checks the 
36622 \emph on
36623 syntax
36624 \emph default
36625  of C programs,
36626  but also does 
36627 \emph on
36628 semantic
36629 \emph default
36630  checks for type-errors,
36631  
36632 \family sans
36633 Chk\SpecialChar TeX
36634
36635 \family default
36636  catches some common 
36637 \emph on
36638 typographic
36639 \emph default
36640  errors,
36641  in addition to the syntactical ones.
36642  Specifically,
36643  
36644 \family sans
36645 Chk\SpecialChar TeX
36646
36647 \family default
36648  is capable of detecting several common errors,
36649  such as
36650 \end_layout
36651
36652 \begin_layout Itemize
36653 Ellipsis detection:
36654 \begin_inset Newline newline
36655 \end_inset
36656
36657 Use \SpecialChar ldots
36658  instead of ...
36659 \end_layout
36660
36661 \begin_layout Itemize
36662 No space in front of/after parenthesis:
36663 \begin_inset Newline newline
36664 \end_inset
36665
36666 ( wrong spacing )
36667 \end_layout
36668
36669 \begin_layout Itemize
36670 Enforcement of normal space after common abbreviations:
36671 \begin_inset Newline newline
36672 \end_inset
36673
36674 e.
36675 \begin_inset space \thinspace{}
36676 \end_inset
36677
36678 g.
36679 \begin_inset space \space{}
36680 \end_inset
36681
36682 is too wide spacing.
36683 \end_layout
36684
36685 \begin_layout Itemize
36686 Enforcement of end-of-sentence space when the last sentence ends with a capital letter:
36687 \begin_inset Newline newline
36688 \end_inset
36689
36690 This is a TEST.
36691  And this is wrong spacing.
36692 \end_layout
36693
36694 \begin_layout Itemize
36695 Space in front of labels and similar commands:
36696 \begin_inset Newline newline
36697 \end_inset
36698
36699 The label should stick right up to the text to avoid falling to a wrong page.
36700  
36701 \begin_inset CommandInset label
36702 LatexCommand label
36703 name "sec:chktex"
36704
36705 \end_inset
36706
36707  
36708 \begin_inset Foot
36709 status collapsed
36710
36711 \begin_layout Plain Layout
36712 This footnote is in danger of falling off to a wrong page
36713 \end_layout
36714
36715 \end_inset
36716
36717  The label is separated too much.
36718 \end_layout
36719
36720 \begin_layout Itemize
36721 Space in front of references,
36722  instead of hard spaces:
36723 \begin_inset Newline newline
36724 \end_inset
36725
36726 If you have bad luck,
36727  the text will break right between the referenced text and reference number,
36728  and that's a pity.
36729  See section 
36730 \begin_inset CommandInset ref
36731 LatexCommand ref
36732 reference "sec:chktex"
36733 nolink "false"
36734
36735 \end_inset
36736
36737 .
36738 \end_layout
36739
36740 \begin_layout Itemize
36741 Use of 
36742 \begin_inset Quotes eld
36743 \end_inset
36744
36745 x
36746 \begin_inset Quotes erd
36747 \end_inset
36748
36749  instead of 
36750 \begin_inset Formula $\times$
36751 \end_inset
36752
36753  between numbers:
36754 \begin_inset Newline newline
36755 \end_inset
36756
36757 2x2 looks cheap compared to 
36758 \begin_inset Formula $2\times2$
36759 \end_inset
36760
36761 .
36762 \end_layout
36763
36764 \begin_layout Standard
36765 and more \SpecialChar ldots
36766  It is an invaluable tool when you are 
36767 \begin_inset Quotes eld
36768 \end_inset
36769
36770 finishing up
36771 \begin_inset Quotes erd
36772 \end_inset
36773
36774  your document before printing,
36775  and you should run it right after the obligatory spelling check,
36776  and before you go fine tuning the typesetting.
36777 \end_layout
36778
36779 \begin_layout Subsection
36780 How to use it
36781 \end_layout
36782
36783 \begin_layout Standard
36784 If you have the program installed,
36785  usage is as simple as choosing 
36786 \family sans
36787 Tools\SpecialChar menuseparator
36788 Check
36789 \begin_inset space ~
36790 \end_inset
36791
36792 TeX
36793 \family default
36794 .
36795  This will make \SpecialChar LyX
36796  generate a \SpecialChar LaTeX
36797  file of your document,
36798  start 
36799 \family sans
36800 Chk\SpecialChar TeX
36801
36802 \family default
36803  to check it,
36804  and then make \SpecialChar LyX
36805  insert 
36806 \begin_inset Quotes eld
36807 \end_inset
36808
36809 error boxes
36810 \begin_inset Quotes erd
36811 \end_inset
36812
36813  with the warnings from 
36814 \family sans
36815 Chk\SpecialChar TeX
36816
36817 \family default
36818 ,
36819  if there were any.
36820  The warnings will be placed close to the point of the mistake,
36821  and you can quickly find them by using the 
36822 \family sans
36823 Navigate\SpecialChar menuseparator
36824 Error
36825 \family default
36826  menu item,
36827  or the shortcut key 
36828 \family sans
36829 C-g
36830 \family default
36831  from the default 
36832 \family typewriter
36833 cua
36834 \family default
36835  bind file.
36836  Open the error boxes by clicking on them with the mouse,
36837  or use the shortcut key 
36838 \family sans
36839 C-i
36840 \family default
36841  from 
36842 \family typewriter
36843 cua
36844 \family default
36845  bindings,
36846  or the corresponding 
36847 \family sans
36848 C-o
36849 \family default
36850  for the alternate 
36851 \family typewriter
36852 emacs
36853 \family default
36854  bind file.
36855  Read the warning and correct the mistake,
36856  if it is a mistake.
36857  If you have trouble understanding what the warning is about,
36858  you can safely ignore it.
36859  Remember that there is a hidden layer between the document on screen and the technical details in invoking 
36860 \family sans
36861 Chk\SpecialChar TeX
36862
36863 \family default
36864 ,
36865  and this gap can make some warnings seem arcane or just plain silly.
36866 \end_layout
36867
36868 \begin_layout Standard
36869 This document is an excellent testing bed for the feature,
36870  and it should provide quite a few warnings for you to fiddle with.
36871  Since computers are only so smart,
36872  expect most of the warnings to be false alarms,
36873  though.
36874 \end_layout
36875
36876 \begin_layout Subsection
36877 How to fine tune it
36878 \end_layout
36879
36880 \begin_layout Standard
36881 Sometimes,
36882  you'll find that 
36883 \family sans
36884 Chk\SpecialChar TeX
36885
36886 \family default
36887  makes more noise than suits your mood.
36888  Then you can choose not to use it,
36889  wait until your mood changes,
36890  or try to customize 
36891 \family sans
36892 Chk\SpecialChar TeX
36893
36894 \family default
36895  to get better along with you.
36896 \end_layout
36897
36898 \begin_layout Standard
36899 Although 
36900 \family sans
36901 Chk\SpecialChar TeX
36902
36903 \family default
36904  
36905 \emph on
36906 is
36907 \emph default
36908  very configurable and extensible,
36909  you should not expect to solve all problems with 
36910 \family sans
36911 Chk\SpecialChar TeX
36912
36913 \family default
36914  in \SpecialChar LyX
36915  this way.
36916  Since \SpecialChar LyX
36917  has to generate a somewhat special \SpecialChar LaTeX
36918  file to be able to match the line numbers from the 
36919 \family sans
36920 Chk\SpecialChar TeX
36921
36922 \family default
36923  output
36924 \begin_inset Foot
36925 status collapsed
36926
36927 \begin_layout Plain Layout
36928 You can inspect the specific output from 
36929 \family sans
36930 chktex
36931 \family default
36932  by using 
36933 \family sans
36934 Document\SpecialChar menuseparator
36935 \SpecialChar LaTeX
36936
36937 \begin_inset space ~
36938 \end_inset
36939
36940 Log
36941 \family default
36942  right after a 
36943 \family sans
36944 chktex
36945 \family default
36946  run.
36947 \end_layout
36948
36949 \end_inset
36950
36951  to the internal document structure,
36952  some of the warnings will not appear correctly.
36953  There are two things you can do about this:
36954 \end_layout
36955
36956 \begin_layout Itemize
36957 Fine tune the 
36958 \family sans
36959 Chk\SpecialChar TeX
36960
36961 \family default
36962  invocation command line in 
36963 \change_deleted -712698321 1674918035
36964
36965 \begin_inset Flex Noun
36966 status collapsed
36967
36968 \begin_layout Plain Layout
36969 Tools\SpecialChar menuseparator
36970 Preferences\SpecialChar menuseparator
36971 Output\SpecialChar menuseparator
36972 LaTeX\SpecialChar menuseparator
36973 CheckTeX command
36974 \end_layout
36975
36976 \end_inset
36977
36978
36979 \change_inserted -712698321 1674918035
36980
36981 \family sans
36982 Tools\SpecialChar menuseparator
36983 Preferences\SpecialChar menuseparator
36984 Output\SpecialChar menuseparator
36985 LaTeX\SpecialChar menuseparator
36986 CheckTeX command
36987 \change_unchanged
36988
36989 \family default
36990 ,
36991  or the global 
36992 \family sans
36993 Chk\SpecialChar TeX
36994
36995 \family default
36996  installation configuration file (usually with the file 
36997 \family typewriter
36998 chktexrc
36999 \family default
37000 ).
37001  See below to learn what warnings can be enabled and disabled on the command line.
37002 \end_layout
37003
37004 \begin_layout Itemize
37005 Export your document as a raw \SpecialChar LaTeX
37006  file using 
37007 \family sans
37008 File\SpecialChar menuseparator
37009 Export\SpecialChar menuseparator
37010 \SpecialChar LaTeX
37011
37012 \family default
37013  and run 
37014 \family typewriter
37015 chktex
37016 \family default
37017  manually on that.
37018  Invoked in this way,
37019  it can be a hassle to find the corresponding place in the document inside \SpecialChar LyX
37020 ,
37021  but with a little patience,
37022  you should be able to do it.
37023 \end_layout
37024
37025 \begin_layout Standard
37026 Here follows the warning messages that can be enabled and disabled in 
37027 \family sans
37028 Preferences
37029 \family default
37030 .
37031  Use 
37032 \family typewriter
37033 -n#
37034 \family default
37035  to disable a warning,
37036  and 
37037 \family typewriter
37038 -w#
37039 \family default
37040  to enable a warning.
37041  The emphasized entries are disabled by default,
37042  because the default is "
37043 \family typewriter
37044 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
37045 \family default
37046 ".
37047 \end_layout
37048
37049 \begin_layout Standard
37050 Notice that you should only use the options that enable and disable warnings,
37051  because \SpecialChar LyX
37052  relies on some of the other command line parameters to be set in a specific way to have a chance to communicate with 
37053 \family typewriter
37054 chktex
37055 \family default
37056 .
37057 \end_layout
37058
37059 \begin_layout Enumerate
37060
37061 \size small
37062 \emph on
37063 Command terminated with space.
37064 \end_layout
37065
37066 \begin_layout Enumerate
37067
37068 \size small
37069 Non-breaking space (
37070 \begin_inset Quotes eld
37071 \end_inset
37072
37073
37074 \family typewriter
37075 ~
37076 \family default
37077
37078 \begin_inset Quotes erd
37079 \end_inset
37080
37081 ) should have been used.
37082 \end_layout
37083
37084 \begin_layout Enumerate
37085
37086 \size small
37087 \emph on
37088 You should enclose the previous parenthesis with 
37089 \begin_inset Quotes eld
37090 \end_inset
37091
37092
37093 \family typewriter
37094 {}
37095 \family default
37096
37097 \begin_inset Quotes erd
37098 \end_inset
37099
37100 .
37101 \end_layout
37102
37103 \begin_layout Enumerate
37104
37105 \size small
37106 Italic correction (
37107 \begin_inset Quotes eld
37108 \end_inset
37109
37110
37111 \family typewriter
37112
37113 \backslash
37114 /
37115 \family default
37116
37117 \begin_inset Quotes erd
37118 \end_inset
37119
37120 ) found in non-italic buffer.
37121 \end_layout
37122
37123 \begin_layout Enumerate
37124
37125 \size small
37126 Italic correction (
37127 \begin_inset Quotes eld
37128 \end_inset
37129
37130
37131 \family typewriter
37132
37133 \backslash
37134 /
37135 \family default
37136
37137 \begin_inset Quotes erd
37138 \end_inset
37139
37140 ) found more than once.
37141 \end_layout
37142
37143 \begin_layout Enumerate
37144
37145 \size small
37146 \emph on
37147 No italic correction (
37148 \begin_inset Quotes eld
37149 \end_inset
37150
37151
37152 \family typewriter
37153
37154 \backslash
37155 /
37156 \family default
37157
37158 \begin_inset Quotes erd
37159 \end_inset
37160
37161 ) found.
37162 \end_layout
37163
37164 \begin_layout Enumerate
37165
37166 \size small
37167 Accent command 
37168 \begin_inset Quotes eld
37169 \end_inset
37170
37171
37172 \family typewriter
37173 cmd
37174 \family default
37175
37176 \begin_inset Quotes erd
37177 \end_inset
37178
37179  needs use of 
37180 \begin_inset Quotes eld
37181 \end_inset
37182
37183
37184 \family typewriter
37185 cmd
37186 \family default
37187
37188 \begin_inset Quotes erd
37189 \end_inset
37190
37191 .
37192 \end_layout
37193
37194 \begin_layout Enumerate
37195
37196 \size small
37197 Wrong length of dash may have been used.
37198 \end_layout
37199
37200 \begin_layout Enumerate
37201
37202 \size small
37203 \emph on
37204 \begin_inset Quotes eld
37205 \end_inset
37206
37207
37208 \family typewriter
37209 %s
37210 \family default
37211
37212 \begin_inset Quotes erd
37213 \end_inset
37214
37215  expected,
37216  found 
37217 \begin_inset Quotes eld
37218 \end_inset
37219
37220
37221 \family typewriter
37222 %s
37223 \family default
37224
37225 \begin_inset Quotes erd
37226 \end_inset
37227
37228 .
37229 \end_layout
37230
37231 \begin_layout Enumerate
37232
37233 \size small
37234 Solo 
37235 \begin_inset Quotes eld
37236 \end_inset
37237
37238
37239 \family typewriter
37240 %s
37241 \family default
37242
37243 \begin_inset Quotes erd
37244 \end_inset
37245
37246  found.
37247 \end_layout
37248
37249 \begin_layout Enumerate
37250
37251 \size small
37252 You should use 
37253 \begin_inset Quotes eld
37254 \end_inset
37255
37256
37257 \family typewriter
37258 %s
37259 \family default
37260
37261 \begin_inset Quotes erd
37262 \end_inset
37263
37264  to achieve an ellipsis.
37265 \end_layout
37266
37267 \begin_layout Enumerate
37268
37269 \size small
37270 Inter-word spacing (
37271 \begin_inset Quotes eld
37272 \end_inset
37273
37274
37275 \family typewriter
37276
37277 \backslash
37278
37279 \family default
37280  
37281 \begin_inset Quotes eld
37282 \end_inset
37283
37284 ) should perhaps be used.
37285 \end_layout
37286
37287 \begin_layout Enumerate
37288
37289 \size small
37290 Inter-sentence spacing (
37291 \begin_inset Quotes eld
37292 \end_inset
37293
37294
37295 \family typewriter
37296
37297 \backslash
37298 @
37299 \family default
37300
37301 \begin_inset Quotes erd
37302 \end_inset
37303
37304 ) should perhaps be used.
37305 \end_layout
37306
37307 \begin_layout Enumerate
37308
37309 \size small
37310 Could not find argument for command.
37311 \end_layout
37312
37313 \begin_layout Enumerate
37314
37315 \size small
37316 No match found for 
37317 \begin_inset Quotes eld
37318 \end_inset
37319
37320
37321 \family typewriter
37322 %s
37323 \family default
37324
37325 \begin_inset Quotes erd
37326 \end_inset
37327
37328 .
37329 \end_layout
37330
37331 \begin_layout Enumerate
37332
37333 \size small
37334 Math mode still on at end of \SpecialChar LaTeX
37335  file.
37336 \end_layout
37337
37338 \begin_layout Enumerate
37339
37340 \size small
37341 Number of 
37342 \begin_inset Quotes eld
37343 \end_inset
37344
37345
37346 \family typewriter
37347 char
37348 \family default
37349
37350 \begin_inset Quotes erd
37351 \end_inset
37352
37353  doesn't match the number of 
37354 \begin_inset Quotes eld
37355 \end_inset
37356
37357
37358 \family typewriter
37359 char
37360 \family default
37361
37362 \begin_inset Quotes erd
37363 \end_inset
37364
37365 .
37366 \end_layout
37367
37368 \begin_layout Enumerate
37369
37370 \size small
37371 You should use either 
37372 \family typewriter
37373
37374 \begin_inset Quotes eld
37375 \end_inset
37376
37377
37378 \family default
37379  or 
37380 \family typewriter
37381
37382 \begin_inset Quotes erd
37383 \end_inset
37384
37385
37386 \family default
37387  as an alternative to 
37388 \begin_inset Quotes eld
37389 \end_inset
37390
37391
37392 \family typewriter
37393 "
37394 \family default
37395
37396 \begin_inset Quotes erd
37397 \end_inset
37398
37399 .
37400 \end_layout
37401
37402 \begin_layout Enumerate
37403
37404 \size small
37405 You should use "
37406 \family typewriter
37407 '
37408 \family default
37409 " (ASCII 39) instead of "
37410 \family typewriter
37411 ´
37412 \family default
37413 " (ASCII 180).
37414 \end_layout
37415
37416 \begin_layout Enumerate
37417
37418 \size small
37419 User-specified pattern found.
37420 \end_layout
37421
37422 \begin_layout Enumerate
37423
37424 \size small
37425 This command might not be intended.
37426 \end_layout
37427
37428 \begin_layout Enumerate
37429
37430 \size small
37431 \emph on
37432 Comment displayed.
37433 \end_layout
37434
37435 \begin_layout Enumerate
37436
37437 \size small
37438 Either 
37439 \family typewriter
37440 ''
37441 \backslash
37442 ,'
37443 \family default
37444  or 
37445 \family typewriter
37446 '
37447 \backslash
37448 ,''
37449 \family default
37450  will look better.
37451 \end_layout
37452
37453 \begin_layout Enumerate
37454
37455 \size small
37456 Delete this space to maintain correct page references.
37457 \end_layout
37458
37459 \begin_layout Enumerate
37460
37461 \size small
37462 \emph on
37463 You might wish to put this between a pair of 
37464 \begin_inset Quotes eld
37465 \end_inset
37466
37467
37468 \family typewriter
37469 {}
37470 \family default
37471
37472 \begin_inset Quotes erd
37473 \end_inset
37474
37475 .
37476 \end_layout
37477
37478 \begin_layout Enumerate
37479
37480 \size small
37481 You ought to remove spaces in front of punctuation.
37482 \end_layout
37483
37484 \begin_layout Enumerate
37485
37486 \size small
37487 Could not execute \SpecialChar LaTeX
37488  command.
37489 \end_layout
37490
37491 \begin_layout Enumerate
37492
37493 \size small
37494 Don't use 
37495 \family typewriter
37496
37497 \backslash
37498 /
37499 \family default
37500  in front of small punctuation.
37501 \end_layout
37502
37503 \begin_layout Enumerate
37504
37505 \family typewriter
37506 \size small
37507 $
37508 \backslash
37509 times$
37510 \family default
37511  may look prettier here.
37512 \end_layout
37513
37514 \begin_layout Enumerate
37515
37516 \size small
37517 \emph on
37518 Multiple spaces detected in output.
37519 \end_layout
37520
37521 \begin_layout Enumerate
37522
37523 \size small
37524 This text may be ignored.
37525 \end_layout
37526
37527 \begin_layout Enumerate
37528
37529 \size small
37530 Use 
37531 \family typewriter
37532
37533 \begin_inset Quotes eld
37534 \end_inset
37535
37536
37537 \family default
37538  to begin quotation,
37539  not 
37540 \family typewriter
37541 '
37542 \family default
37543 .
37544 \end_layout
37545
37546 \begin_layout Enumerate
37547
37548 \size small
37549 Use 
37550 \family typewriter
37551 '
37552 \family default
37553  to end quotation,
37554  not 
37555 \family typewriter
37556
37557 \begin_inset Quotes eld
37558 \end_inset
37559
37560
37561 \family default
37562 .
37563 \end_layout
37564
37565 \begin_layout Enumerate
37566
37567 \size small
37568 Don't mix quotes.
37569 \end_layout
37570
37571 \begin_layout Enumerate
37572
37573 \size small
37574 You should perhaps use 
37575 \begin_inset Quotes eld
37576 \end_inset
37577
37578
37579 \family typewriter
37580 cmd
37581 \family default
37582
37583 \begin_inset Quotes erd
37584 \end_inset
37585
37586  instead.
37587 \end_layout
37588
37589 \begin_layout Enumerate
37590
37591 \size small
37592 You should put a space in front of/after parenthesis.
37593 \end_layout
37594
37595 \begin_layout Enumerate
37596
37597 \size small
37598 You should avoid spaces in front of/after parenthesis.
37599 \end_layout
37600
37601 \begin_layout Enumerate
37602
37603 \size small
37604 \emph on
37605 You should not use punctuation in front of/after quotes.
37606 \end_layout
37607
37608 \begin_layout Enumerate
37609
37610 \size small
37611 Double space found.
37612 \end_layout
37613
37614 \begin_layout Enumerate
37615
37616 \size small
37617 You should put punctuation outside inner/inside display math mode.
37618 \end_layout
37619
37620 \begin_layout Enumerate
37621
37622 \size small
37623 You ought to not use primitive \SpecialChar TeX
37624  in \SpecialChar LaTeX
37625  code.
37626 \end_layout
37627
37628 \begin_layout Enumerate
37629
37630 \size small
37631 You should remove spaces in front of 
37632 \begin_inset Quotes eld
37633 \end_inset
37634
37635
37636 \family typewriter
37637 %s
37638 \family default
37639
37640 \begin_inset Quotes erd
37641 \end_inset
37642
37643
37644 \end_layout
37645
37646 \begin_layout Enumerate
37647
37648 \size small
37649 \begin_inset Quotes eld
37650 \end_inset
37651
37652
37653 \family typewriter
37654 %s
37655 \family default
37656
37657 \begin_inset Quotes erd
37658 \end_inset
37659
37660  is normally not followed by 
37661 \begin_inset Quotes eld
37662 \end_inset
37663
37664
37665 \family typewriter
37666 %c
37667 \family default
37668
37669 \begin_inset Quotes erd
37670 \end_inset
37671
37672 .
37673 \end_layout
37674
37675 \begin_layout Standard
37676 In later versions of \SpecialChar LyX
37677 ,
37678  we hope to provide a more complete interface to this tool (and it's smaller cousin 
37679 \family typewriter
37680 lacheck
37681 \family default
37682 ) to exploit the full power of it.
37683  But it's not exactly useless as it is now:
37684  go try it on one of your existing documents of a certain length and be surprised.
37685 \end_layout
37686
37687 \begin_layout Section
37688 Version Control in \SpecialChar LyX
37689
37690 \end_layout
37691
37692 \begin_layout Standard
37693 by
37694 \noun on
37695  Lars Gullik Bjønnes 
37696 \noun default
37697 and 
37698 \noun on
37699 Pavel Sanda
37700 \end_layout
37701
37702 \begin_layout Subsection
37703 Introduction
37704 \end_layout
37705
37706 \begin_layout Standard
37707 \SpecialChar LyX
37708  supports some of the most basic RCS/CVS/SVN/GIT commands.
37709  If you need something a bit more sophisticated you will have to do that manually in a terminal
37710 \change_inserted 5863208 1685691238
37711  or your favourite client
37712 \change_unchanged
37713 .
37714 \end_layout
37715
37716 \begin_layout Standard
37717 Also note that CVS support is not as good as subversion support,
37718  so we advise using SVN instead.
37719  A good place to start learning Subversion is the SVN Book
37720 \begin_inset Foot
37721 status collapsed
37722
37723 \begin_layout Plain Layout
37724 \begin_inset CommandInset href
37725 LatexCommand href
37726 target "http://svnbook.red-bean.com/"
37727 literal "false"
37728
37729 \end_inset
37730
37731
37732 \end_layout
37733
37734 \end_inset
37735
37736 .
37737  In the case of RCS you should read 
37738 \begin_inset Quotes eld
37739 \end_inset
37740
37741 rcsintro
37742 \begin_inset Quotes erd
37743 \end_inset
37744
37745  (a man file,
37746  read it with 
37747 \family typewriter
37748 man rcsintro
37749 \family default
37750 ).
37751  This file describes all the basic features of RCS.
37752  You should especially notice the comment about a RCS directory,
37753  and the notion of a master RCS file (the file ending in 
37754 \family typewriter
37755 ,v
37756 \family default
37757 ).
37758 \end_layout
37759
37760 \begin_layout Standard
37761 Before you begin to use the version control features in \SpecialChar LyX
37762 ,
37763  you should be familiar with RCS/CVS/SVN/GIT usage.
37764  The implementation in \SpecialChar LyX
37765  assumes a recent version of the GNU RCS or CVS/SVN package —
37766  no guarantees are made for older versions.
37767  Most of the log messages are not currently displayed after operations —
37768  you can check them in the Messages pane if you are unsure.
37769  Regular users of version control will appreciate the VC toolbar,
37770  which can be enabled via 
37771 \family sans
37772 View\SpecialChar menuseparator
37773 Toolbars\SpecialChar menuseparator
37774 Version
37775 \begin_inset space ~
37776 \end_inset
37777
37778 Control
37779 \family default
37780 .
37781 \end_layout
37782
37783 \begin_layout Standard
37784 For introducing your own external commands consult 
37785 \begin_inset Flex Code
37786 status collapsed
37787
37788 \begin_layout Plain Layout
37789 vc-command
37790 \end_layout
37791
37792 \end_inset
37793
37794  in the manual 
37795 \emph on
37796 \SpecialChar LyX
37797  Functions
37798 \emph default
37799 .
37800 \end_layout
37801
37802 \begin_layout Standard
37803 It is strongly recommended to store documents in uncompressed format if using version control (uncheck 
37804 \family sans
37805 Document\SpecialChar menuseparator
37806 Compressed
37807 \family default
37808  if it is checked):
37809  Uncompressed LyX documents are text files and therefore for merging two different versions by version control systems.
37810  Compressed LyX documents are binary files,
37811  which cannot be merged by version control systems.
37812
37813 \change_inserted 5863208 1685692758
37814
37815 \family sans
37816  Also to avoid unnecessary merge conflicts we advise to disable document Document\SpecialChar menuseparator
37817 Settings\SpecialChar menuseparator
37818 Output\SpecialChar menuseparator
37819 Save transient properties when more users work on the same document.
37820 \change_unchanged
37821
37822 \end_layout
37823
37824 \begin_layout Subsection
37825 RCS commands in \SpecialChar LyX
37826
37827 \end_layout
37828
37829 \begin_layout Standard
37830 The following sections describe the RCS commands supported by \SpecialChar LyX
37831 .
37832  You can find them in the 
37833 \family sans
37834 File\SpecialChar menuseparator
37835 Version
37836 \begin_inset space ~
37837 \end_inset
37838
37839 Control
37840 \family default
37841  submenu.
37842  \SpecialChar LyX
37843  was tested against RCS 5.7/5.8
37844 \change_inserted 5863208 1685694069
37845 /5.10
37846 \change_unchanged
37847 .
37848 \end_layout
37849
37850 \begin_layout Subsubsection
37851
37852 \family sans
37853 Register
37854 \end_layout
37855
37856 \begin_layout Standard
37857 If your document is not under revision control,
37858  this is the only item shown in the menu.
37859  And if it is under revision control,
37860  the 
37861 \family sans
37862 Register
37863 \family default
37864  item is not visible.
37865  
37866 \end_layout
37867
37868 \begin_layout Standard
37869 This command registers your document with RCS (unless you are under the directory managed by CVS)\SpecialChar endofsentence
37870  You are asked interactively to supply an initial description of the document.
37871  The document is now set in Read-Only mode and you have to 
37872 \family sans
37873 Check
37874 \begin_inset space ~
37875 \end_inset
37876
37877 Out
37878 \begin_inset space ~
37879 \end_inset
37880
37881 For
37882 \begin_inset space ~
37883 \end_inset
37884
37885 Edit
37886 \family default
37887 ,
37888  before making any changes to it.
37889  A document under revision control has a 
37890 \begin_inset Quotes eld
37891 \end_inset
37892
37893 [RCS:<version> <locker>]
37894 \begin_inset Quotes erd
37895 \end_inset
37896
37897  item tagged to the filename in the minibuffer.
37898 \end_layout
37899
37900 \begin_layout Standard
37901 RCS command that is run:
37902 \end_layout
37903
37904 \begin_layout LyX-Code
37905
37906 \family typewriter
37907 ci -q -u -i -t-"<initial description>" <file-name>
37908 \end_layout
37909
37910 \begin_layout Standard
37911 Read 
37912 \family typewriter
37913 man ci
37914 \family default
37915  to understand the switches.
37916  
37917 \end_layout
37918
37919 \begin_layout Subsubsection
37920
37921 \family sans
37922 Check In Changes
37923 \end_layout
37924
37925 \begin_layout Standard
37926 When you are finished editing a file,
37927  you check in your changes.
37928  When you do this,
37929  you are asked for a description of the changes.
37930  This is stored in the history log.
37931  The version number is bumped,
37932  your changes are applied to the master RCS file,
37933  the document is unlocked and set to Read-Only mode.
37934 \end_layout
37935
37936 \begin_layout Itemize
37937 RCS command:
37938  
37939 \family typewriter
37940 ci -q -u -m"<description>" <file-name>
37941 \end_layout
37942
37943 \begin_layout Subsubsection
37944
37945 \family sans
37946 Check Out For Edit
37947 \end_layout
37948
37949 \begin_layout Standard
37950 By doing this you lock the document so that only you can edit it.
37951  This will also make the document Read-Write only for you.
37952  You will usually continue editing for a while and when you are finished you check in your changes.
37953  The status line is changed to reflect that you have locked the file.
37954 \end_layout
37955
37956 \begin_layout Itemize
37957 RCS command:
37958  
37959 \family typewriter
37960 co -q -l <file-name>
37961 \end_layout
37962
37963 \begin_layout Subsubsection
37964
37965 \family sans
37966 Revert To Repository Version
37967 \end_layout
37968
37969 \begin_layout Standard
37970 This will discard all changes made to the document since the last check in.
37971  You get a warning before changes are discarded.
37972 \end_layout
37973
37974 \begin_layout Itemize
37975 RCS command:
37976  
37977 \family typewriter
37978 co -f -u<version> <file-name>
37979 \end_layout
37980
37981 \begin_layout Subsubsection
37982
37983 \family sans
37984 Copy
37985 \end_layout
37986
37987 \begin_layout Standard
37988 This will create a copy of the current document.
37989  Since RCS does not support copy operations natively,
37990  the version history is not preserved,
37991  and the copy is added as a new file.
37992  It requires a clean document without any changes since the last checkin.
37993  You are asked for a file name and a description of the copy operation.
37994  After that the copy is created,
37995  both locally and in the repository.
37996  If the parent directories of the copied and original document differ,
37997  all relative paths of included files of the copy are adjusted (like in 
37998 \family sans
37999 File\SpecialChar menuseparator
38000 Save As
38001 \family default
38002 \SpecialChar ldots
38003 ).
38004  Finally,
38005  the copy is loaded instead of the original document.
38006 \end_layout
38007
38008 \begin_layout Labeling
38009 \labelwidthstring 00.00.0000
38010 RCS
38011 \begin_inset space ~
38012 \end_inset
38013
38014 commands:
38015  
38016 \begin_inset space ~
38017 \end_inset
38018
38019
38020 \begin_inset Newline newline
38021 \end_inset
38022
38023 Copy 
38024 \begin_inset Flex Code
38025 status collapsed
38026
38027 \begin_layout Plain Layout
38028
38029 \family typewriter
38030 \begin_inset Quotes qld
38031 \end_inset
38032
38033 <file-name>
38034 \begin_inset Quotes qld
38035 \end_inset
38036
38037
38038 \end_layout
38039
38040 \end_inset
38041
38042  to 
38043 \begin_inset Flex Code
38044 status collapsed
38045
38046 \begin_layout Plain Layout
38047
38048 \family typewriter
38049 \begin_inset Quotes qld
38050 \end_inset
38051
38052 <new-file-name>
38053 \begin_inset Quotes qld
38054 \end_inset
38055
38056
38057 \end_layout
38058
38059 \end_inset
38060
38061
38062 \begin_inset Newline newline
38063 \end_inset
38064
38065
38066 \begin_inset Flex Code
38067 status collapsed
38068
38069 \begin_layout Plain Layout
38070 ci -q -u 
38071 \family typewriter
38072 -i 
38073 \begin_inset Quotes qld
38074 \end_inset
38075
38076 <new-file-name>
38077 \begin_inset Quotes qld
38078 \end_inset
38079
38080
38081 \end_layout
38082
38083 \end_inset
38084
38085
38086 \end_layout
38087
38088 \begin_layout Subsubsection
38089
38090 \family sans
38091 Undo Last Checkin
38092 \end_layout
38093
38094 \begin_layout Standard
38095 This makes as if the last check in never happened.
38096  No changes are made to the document loaded into \SpecialChar LyX
38097 ,
38098  but the last version is removed from the master RCS file.
38099 \end_layout
38100
38101 \begin_layout Itemize
38102 RCS command:
38103  
38104 \family typewriter
38105 rcs -o<version> <file-name>
38106 \end_layout
38107
38108 \begin_layout Subsubsection
38109
38110 \family sans
38111 Show History
38112 \end_layout
38113
38114 \begin_layout Standard
38115 This shows the complete history of the RCS document.
38116  The output of 
38117 \family typewriter
38118 rlog <file-name>
38119 \family default
38120  is shown in a browser.
38121  See 
38122 \family typewriter
38123 man rlog
38124 \family default
38125  for more info.
38126 \end_layout
38127
38128 \begin_layout Subsubsection
38129 Revision info
38130 \end_layout
38131
38132 \begin_layout Standard
38133 \SpecialChar LyX
38134  supports RCS version number,
38135  author name,
38136  date and time of last commit.
38137  All those are extracted from 
38138 \family typewriter
38139 rlog -r <file-name>
38140 \family default
38141 .
38142  See 
38143 \begin_inset CommandInset ref
38144 LatexCommand ref
38145 reference "subsec:VCS-Revision-Information"
38146 nolink "false"
38147
38148 \end_inset
38149
38150  for details.
38151 \end_layout
38152
38153 \begin_layout Subsection
38154 CVS commands in \SpecialChar LyX
38155
38156 \end_layout
38157
38158 \begin_layout Standard
38159 A subset of CVS operations is supported by \SpecialChar LyX
38160 .
38161  You can find the commands in the 
38162 \family sans
38163 File\SpecialChar menuseparator
38164 Version
38165 \begin_inset space ~
38166 \end_inset
38167
38168 Control
38169 \family default
38170  submenu.
38171  The version control system SVN is more powerful,
38172  so please use it instead of CVS if possible.
38173 \end_layout
38174
38175 \begin_layout Subsubsection
38176
38177 \family sans
38178 General CVS usage
38179 \end_layout
38180
38181 \begin_layout Standard
38182 If you start from scratch with CVS you have to create your repository and checkout the working copy with external tools.
38183  If you're using a client-server setup you may need to login before doing the first repository checkout.
38184 \end_layout
38185
38186 \begin_layout Standard
38187 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.
38188  Standard CVS repositories don't operate with a file locking mechanism.
38189  This may be surprising,
38190  but conflicts only occur if people disagree on the proper content of the same part of a document.
38191  So,
38192  if co-workers are used to communicate regularly,
38193  these conflicts occur rarely.
38194  If they don't communicate they have a fundamental problem anyway.
38195  Nevertheless some people like to work with so called 
38196 \begin_inset Quotes eld
38197 \end_inset
38198
38199 reserved checkouts
38200 \begin_inset Quotes erd
38201 \end_inset
38202
38203 .
38204  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.
38205  When the changes are checked in the working copy returns to readonly state.
38206  With \SpecialChar LyX
38207  one has to edit the 
38208 \begin_inset Flex Code
38209 status collapsed
38210
38211 \begin_layout Plain Layout
38212 .cvsrc
38213 \end_layout
38214
38215 \end_inset
38216
38217  file and add the line 
38218 \begin_inset Flex Code
38219 status collapsed
38220
38221 \begin_layout Plain Layout
38222 cvs -r
38223 \end_layout
38224
38225 \end_inset
38226
38227  to work with reserved checkouts.
38228  The benefit is the possibility to see who is using a writable copy of some document.
38229  It's not guaranteed only one user makes a copy writable.
38230 \end_layout
38231
38232 \begin_layout Standard
38233 \SpecialChar LyX
38234  tries to guess if you're using reserved or non-reserved checkouts.
38235  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.
38236  When a reserved checkout is detected you have to use 
38237 \begin_inset Flex Noun
38238 status collapsed
38239
38240 \begin_layout Plain Layout
38241 Check Out
38242 \end_layout
38243
38244 \end_inset
38245
38246  to make your working copy writable if it's readonly.
38247  After doing so the 
38248 \begin_inset Flex Noun
38249 status collapsed
38250
38251 \begin_layout Plain Layout
38252 Check In
38253 \end_layout
38254
38255 \end_inset
38256
38257  operation is possible and that makes your working copy readonly again after transferring your changes to the repository.
38258 \end_layout
38259
38260 \begin_layout Standard
38261 More information about CVS can be found here 
38262 \begin_inset Flex URL
38263 status collapsed
38264
38265 \begin_layout Plain Layout
38266
38267 http://www.nongnu.org/cvs
38268 \end_layout
38269
38270 \end_inset
38271
38272  and here 
38273 \begin_inset Flex URL
38274 status collapsed
38275
38276 \begin_layout Plain Layout
38277
38278 http://ximbiot.com/cvs
38279 \end_layout
38280
38281 \end_inset
38282
38283 .
38284 \end_layout
38285
38286 \begin_layout Standard
38287 Read 
38288 \family typewriter
38289 man cvs
38290 \family default
38291  to understand the sub-commands and the switches mentioned below.
38292 \end_layout
38293
38294 \begin_layout Subsubsection
38295
38296 \family sans
38297 Register
38298 \end_layout
38299
38300 \begin_layout Standard
38301 If your document is not under revision control,
38302  this is the only item shown in the menu.
38303  And if it is under revision control,
38304  the 
38305 \family sans
38306 Register
38307 \family default
38308  item is not visible.
38309  
38310 \end_layout
38311
38312 \begin_layout Standard
38313 This command registers in CVS your document 
38314 \begin_inset Flex Strong
38315 status collapsed
38316
38317 \begin_layout Plain Layout
38318
38319 \emph on
38320 only
38321 \end_layout
38322
38323 \end_inset
38324
38325  in the case you have already the documents directory under CVS control (in particular 
38326 \family typewriter
38327 CVS/Entries
38328 \family default
38329  file exists).
38330  This means you have to create or checkout the archive by yourself using external tools.
38331  (In case you forget that step \SpecialChar LyX
38332  registers the document with RCS.)
38333 \end_layout
38334
38335 \begin_layout Standard
38336 Then you are asked interactively to supply an initial description of the document.
38337  Don't forget that registered file is not yet checked in.
38338 \end_layout
38339
38340 \begin_layout Standard
38341 CVS command that is run:
38342  
38343 \family typewriter
38344 cvs -q add -m"<entered message>" "<file-name>"
38345 \end_layout
38346
38347 \begin_layout Standard
38348 The term 
38349 \family typewriter
38350 "<file-name>"
38351 \family default
38352  above and for all other CVS commands is an abbreviation for 
38353 \begin_inset Quotes eld
38354 \end_inset
38355
38356 change the current working directory to file location and use the file name without path component as argument
38357 \begin_inset Quotes erd
38358 \end_inset
38359
38360 .
38361 \end_layout
38362
38363 \begin_layout Subsubsection
38364
38365 \family sans
38366 Check In Changes
38367 \end_layout
38368
38369 \begin_layout Standard
38370 When you are finished editing a file,
38371  you commit your changes.
38372  When you do this and you had changed the document,
38373  you are asked for a description of the changes.
38374  After that changes are written to the repository.
38375  In case you didn't change the document and a reserved checkout is detected the reservation made on 
38376 \begin_inset Flex Noun
38377 status collapsed
38378
38379 \begin_layout Plain Layout
38380 Check Out
38381 \end_layout
38382
38383 \end_inset
38384
38385  is undone.
38386 \end_layout
38387
38388 \begin_layout Labeling
38389 \labelwidthstring 00.00.0000
38390 CVS
38391 \begin_inset space ~
38392 \end_inset
38393
38394 command:
38395  
38396 \begin_inset space ~
38397 \end_inset
38398
38399
38400 \begin_inset Newline newline
38401 \end_inset
38402
38403
38404 \begin_inset Flex Code
38405 status collapsed
38406
38407 \begin_layout Plain Layout
38408 cvs 
38409 \family typewriter
38410 -q commit -m"<description>" "<file-name>"
38411 \end_layout
38412
38413 \end_inset
38414
38415  or
38416 \begin_inset Newline newline
38417 \end_inset
38418
38419
38420 \begin_inset Flex Code
38421 status collapsed
38422
38423 \begin_layout Plain Layout
38424 cvs -q unedit 
38425 \family typewriter
38426 "<file-name>"
38427 \end_layout
38428
38429 \end_inset
38430
38431
38432 \end_layout
38433
38434 \begin_layout Subsubsection
38435
38436 \family sans
38437 Check Out Changes
38438 \end_layout
38439
38440 \begin_layout Standard
38441 When you are sharing a repository with others,
38442  you may have to incorporate their changes into your working copy.
38443 \end_layout
38444
38445 \begin_layout Standard
38446 CVS command:
38447  
38448 \family typewriter
38449 cvs -q update "<file-name>"
38450 \end_layout
38451
38452 \begin_layout Standard
38453 If a readonly checkout is detected the working copy is made writable and reserved.
38454 \end_layout
38455
38456 \begin_layout Standard
38457 CVS command:
38458  
38459 \family typewriter
38460 cvs -q edit "<file-name>"
38461 \end_layout
38462
38463 \begin_layout Subsubsection
38464
38465 \family sans
38466 Revert To Repository Version
38467 \end_layout
38468
38469 \begin_layout Standard
38470 This will discard all changes made to the document since the last check in.
38471  You get a warning before changes are discarded.
38472  Firstly the file is deleted,
38473  secondly CVS update command is run.
38474 \end_layout
38475
38476 \begin_layout Standard
38477 CVS command:
38478  
38479 \family typewriter
38480 cvs -q update "<file-name>"
38481 \end_layout
38482
38483 \begin_layout Standard
38484 If a reserved checkout is detected and the working copy has no changes only the reservation is undone.
38485 \end_layout
38486
38487 \begin_layout Standard
38488 CVS command:
38489  
38490 \family typewriter
38491 cvs -q unedit "<file-name>"
38492 \end_layout
38493
38494 \begin_layout Subsubsection
38495
38496 \family sans
38497 Copy
38498 \end_layout
38499
38500 \begin_layout Standard
38501 This will create a copy of the current document.
38502  Since CVS does not support copy operations natively,
38503  the version history is not preserved,
38504  and the copy is added as a new file.
38505  It requires a clean document without any changes since the last checkin.
38506  You are asked for a file name and a description of the copy operation.
38507  After that the copy is created,
38508  both locally and in the repository.
38509  If the parent directories of the copied and original document differ,
38510  all relative paths of included files of the copy are adjusted (like in 
38511 \family sans
38512 File\SpecialChar menuseparator
38513 Save As
38514 \family default
38515 \SpecialChar ldots
38516 ).
38517  Finally,
38518  the copy is loaded instead of the original document.
38519 \end_layout
38520
38521 \begin_layout Labeling
38522 \labelwidthstring 00.00.0000
38523 CVS
38524 \begin_inset space ~
38525 \end_inset
38526
38527 commands:
38528  
38529 \begin_inset space ~
38530 \end_inset
38531
38532
38533 \begin_inset Newline newline
38534 \end_inset
38535
38536 Copy 
38537 \begin_inset Flex Code
38538 status collapsed
38539
38540 \begin_layout Plain Layout
38541 "<file-name>"
38542 \end_layout
38543
38544 \end_inset
38545
38546  to 
38547 \begin_inset Flex Code
38548 status collapsed
38549
38550 \begin_layout Plain Layout
38551 "<new-file-name>"
38552 \end_layout
38553
38554 \end_inset
38555
38556
38557 \begin_inset Newline newline
38558 \end_inset
38559
38560
38561 \begin_inset Flex Code
38562 status collapsed
38563
38564 \begin_layout Plain Layout
38565 cvs -q add "<new-file-name>"
38566 \end_layout
38567
38568 \end_inset
38569
38570
38571 \end_layout
38572
38573 \begin_layout Subsubsection
38574
38575 \family sans
38576 Rename
38577 \end_layout
38578
38579 \begin_layout Standard
38580 This will rename the current document.
38581  Since CVS does not support rename operations natively,
38582  the version history is not preserved,
38583  the renamed document is added as a new file,
38584  and the original document is deleted.
38585  It requires a clean document without any changes since the last checkin.
38586  You are asked for a file name and a description of the rename operation.
38587  After that the document is renamed,
38588  both locally and in the repository.
38589  If the parent directories of the new and old file names differ,
38590  all relative paths of included files are adjusted (like in 
38591 \family sans
38592 File\SpecialChar menuseparator
38593 Save As
38594 \family default
38595 \SpecialChar ldots
38596 ).
38597  Finally,
38598  the document is reloaded using the new name.
38599 \end_layout
38600
38601 \begin_layout Labeling
38602 \labelwidthstring 00.00.0000
38603 CVS
38604 \begin_inset space ~
38605 \end_inset
38606
38607 commands:
38608  
38609 \begin_inset space ~
38610 \end_inset
38611
38612
38613 \begin_inset Newline newline
38614 \end_inset
38615
38616 Rename 
38617 \begin_inset Flex Code
38618 status collapsed
38619
38620 \begin_layout Plain Layout
38621 "<file-name>"
38622 \end_layout
38623
38624 \end_inset
38625
38626  to 
38627 \begin_inset Flex Code
38628 status collapsed
38629
38630 \begin_layout Plain Layout
38631 "<new-file-name>"
38632 \end_layout
38633
38634 \end_inset
38635
38636
38637 \begin_inset Newline newline
38638 \end_inset
38639
38640
38641 \begin_inset Flex Code
38642 status collapsed
38643
38644 \begin_layout Plain Layout
38645 cvs -q add "<new-file-name>"
38646 \end_layout
38647
38648 \end_inset
38649
38650
38651 \begin_inset Newline newline
38652 \end_inset
38653
38654
38655 \begin_inset Flex Code
38656 status collapsed
38657
38658 \begin_layout Plain Layout
38659 cvs -q remove "<file-name>"
38660 \end_layout
38661
38662 \end_inset
38663
38664
38665 \end_layout
38666
38667 \begin_layout Subsubsection
38668 Update of the local directory checkout from repository
38669 \end_layout
38670
38671 \begin_layout Standard
38672 Once your documents gets more complex,
38673  containing sub-documents and pictures,
38674  including external 
38675 \begin_inset Flex Code
38676 status collapsed
38677
38678 \begin_layout Plain Layout
38679 .tex
38680 \end_layout
38681
38682 \end_inset
38683
38684  files and so on using version control becomes more complicated.
38685  \SpecialChar LyX
38686  supports updating the whole tree in which resides the document.
38687  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.
38688  You have to organize the files structure so that all external files are in the same directory or subdirectories of the document.
38689  It's good practice anyway to store multipart documents in an extra directory.
38690 \end_layout
38691
38692 \begin_layout Standard
38693 The 
38694 \begin_inset Flex Code
38695 status collapsed
38696
38697 \begin_layout Plain Layout
38698 Update local directory from repository
38699 \end_layout
38700
38701 \end_inset
38702
38703  command updates the whole directory.
38704  If local changes are detected user is warned before update starts.
38705  In case of merge conflicts both versions of the conflicting document parts are placed in the final document.
38706  You have to review and correct the result of the merge.
38707  You'll find the conflicts enclosed in pairs of 
38708 \begin_inset Flex Code
38709 status collapsed
38710
38711 \begin_layout Plain Layout
38712 <<<<<<<
38713 \end_layout
38714
38715 \end_inset
38716
38717  and 
38718 \begin_inset Flex Code
38719 status collapsed
38720
38721 \begin_layout Plain Layout
38722 >>>>>>>
38723 \end_layout
38724
38725 \end_inset
38726
38727  separated by 
38728 \begin_inset Flex Code
38729 status collapsed
38730
38731 \begin_layout Plain Layout
38732 =======
38733 \end_layout
38734
38735 \end_inset
38736
38737 .
38738  The first part is your version as before the update operation with the document name prepended.
38739  The second one is the repository version with the version number after the sequence of 
38740 \begin_inset Flex Code
38741 status collapsed
38742
38743 \begin_layout Plain Layout
38744 >
38745 \end_layout
38746
38747 \end_inset
38748
38749  signs.
38750 \end_layout
38751
38752 \begin_layout Labeling
38753 \labelwidthstring 00.00.0000
38754 CVS
38755 \begin_inset space ~
38756 \end_inset
38757
38758 commands:
38759  
38760 \begin_inset space ~
38761 \end_inset
38762
38763
38764 \begin_inset Newline newline
38765 \end_inset
38766
38767
38768 \begin_inset Flex Code
38769 status collapsed
38770
38771 \begin_layout Plain Layout
38772 cd $path;
38773  cvs diff 
38774 \family typewriter
38775 "."
38776 \end_layout
38777
38778 \end_inset
38779
38780  (Ask if changes are detected.)
38781 \begin_inset Newline newline
38782 \end_inset
38783
38784
38785 \begin_inset Flex Code
38786 status collapsed
38787
38788 \begin_layout Plain Layout
38789 cd $path;
38790  cvs -q update 
38791 \family typewriter
38792 "."
38793 \end_layout
38794
38795 \end_inset
38796
38797
38798 \end_layout
38799
38800 \begin_layout Standard
38801 where 
38802 \begin_inset Flex Code
38803 status collapsed
38804
38805 \begin_layout Plain Layout
38806 $path
38807 \end_layout
38808
38809 \end_inset
38810
38811  stands for the path to the document.
38812 \end_layout
38813
38814 \begin_layout Subsubsection
38815
38816 \family sans
38817 Show History
38818 \end_layout
38819
38820 \begin_layout Standard
38821 This shows the complete history of the CVS document.
38822  The output of 
38823 \family typewriter
38824 cvs log "<file-name>"
38825 \family default
38826  is shown in a browser.
38827 \end_layout
38828
38829 \begin_layout Subsubsection
38830 Revision info
38831 \end_layout
38832
38833 \begin_layout Standard
38834 \SpecialChar LyX
38835  supports CVS version number,
38836  author name,
38837  date and time of last commit.
38838  All those are extracted from 
38839 \family typewriter
38840 cvs log -r <file-name>
38841 \family default
38842 .
38843  See 
38844 \begin_inset CommandInset ref
38845 LatexCommand ref
38846 reference "subsec:VCS-Revision-Information"
38847 nolink "false"
38848
38849 \end_inset
38850
38851  for details.
38852 \end_layout
38853
38854 \begin_layout Subsection
38855 SVN commands in \SpecialChar LyX
38856
38857 \end_layout
38858
38859 \begin_layout Standard
38860 SVN is now partially supported by \SpecialChar LyX
38861 .
38862  You can find the commands in the 
38863 \family sans
38864 File\SpecialChar menuseparator
38865 Version
38866 \begin_inset space ~
38867 \end_inset
38868
38869 Control
38870 \family default
38871  submenu.
38872  Please note that if you use password protected access to repository via ssh,
38873  you will be asked in terminal window.
38874  \SpecialChar LyX
38875  was tested against SVN 1.5,
38876  1.6,
38877  1.7 and 1.8
38878 \begin_inset Foot
38879 status collapsed
38880
38881 \begin_layout Plain Layout
38882 Most of the commands will work with 1.4 too,
38883  see 
38884 \begin_inset CommandInset ref
38885 LatexCommand ref
38886 reference "subsec:SVN-Repo-Update"
38887 nolink "false"
38888
38889 \end_inset
38890
38891 .
38892  There seems to be currently unresolved permissions problem under SVN 1.8 with reverting changes when file is locked.
38893 \end_layout
38894
38895 \end_inset
38896
38897
38898 \end_layout
38899
38900 \begin_layout Subsubsection
38901
38902 \family sans
38903 Register
38904 \end_layout
38905
38906 \begin_layout Standard
38907 If your document is not under revision control,
38908  this is the only item shown in the menu.
38909  And if it is under revision control,
38910  the 
38911 \family sans
38912 Register
38913 \family default
38914  item is not visible.
38915 \end_layout
38916
38917 \begin_layout Standard
38918 This command registers in SVN your document ONLY in case you have already the documents directory under SVN control (in particular 
38919 \family typewriter
38920 .svn/entries
38921 \family default
38922  file exists).
38923  This means you have to checkout the archive by yourself.
38924 \end_layout
38925
38926 \begin_layout Standard
38927 Then you are asked interactively to supply an initial description of the document.
38928  Don't forget that registered file is not yet commited.
38929 \end_layout
38930
38931 \begin_layout Standard
38932 SVN command that is run:
38933  
38934 \family typewriter
38935 svn add -q 
38936 \begin_inset Quotes qld
38937 \end_inset
38938
38939 <file-name>
38940 \begin_inset Quotes qld
38941 \end_inset
38942
38943
38944 \end_layout
38945
38946 \begin_layout Standard
38947 Read 
38948 \family typewriter
38949 man svn
38950 \family default
38951  to understand the switches.
38952 \end_layout
38953
38954 \begin_layout Subsubsection
38955
38956 \family sans
38957 Check In Changes
38958 \end_layout
38959
38960 \begin_layout Standard
38961 When you are finished editing a file,
38962  you commit your changes.
38963  When you do this,
38964  you are asked for a description of the changes.
38965  After that changes are commited.
38966 \end_layout
38967
38968 \begin_layout Standard
38969 SVN command:
38970 \begin_inset Foot
38971 status collapsed
38972
38973 \begin_layout Plain Layout
38974 In case locking is not enabled.
38975  See Section 
38976 \begin_inset CommandInset ref
38977 LatexCommand ref
38978 reference "subsec:SVN-File-Locking"
38979 nolink "false"
38980
38981 \end_inset
38982
38983 .
38984 \end_layout
38985
38986 \end_inset
38987
38988  
38989 \family typewriter
38990 svn commit -q -m"<description>" <file-name>
38991 \end_layout
38992
38993 \begin_layout Subsubsection
38994
38995 \family sans
38996 Check Out For Edit
38997 \end_layout
38998
38999 \begin_layout Standard
39000 Updates the changes of this file from the repository.
39001  Be sure you understand SVN merging and conflicts resolving before using this function,
39002  because all conflicts has to be resolved manually by you!
39003 \end_layout
39004
39005 \begin_layout Standard
39006 SVN command:
39007 \begin_inset Foot
39008 status collapsed
39009
39010 \begin_layout Plain Layout
39011 Ditto.
39012 \end_layout
39013
39014 \end_inset
39015
39016  
39017 \family typewriter
39018 svn update --non-interactive 
39019 \begin_inset Quotes qld
39020 \end_inset
39021
39022 <file-name>
39023 \begin_inset Quotes qld
39024 \end_inset
39025
39026
39027 \end_layout
39028
39029 \begin_layout Subsubsection
39030
39031 \family sans
39032 Revert To Repository Version
39033 \end_layout
39034
39035 \begin_layout Standard
39036 This will discard all changes made to the document since the last check in.
39037  You get a warning before changes are discarded.
39038 \end_layout
39039
39040 \begin_layout Standard
39041 SVN command:
39042  
39043 \family typewriter
39044 svn revert -q 
39045 \begin_inset Quotes qld
39046 \end_inset
39047
39048 <file-name>
39049 \begin_inset Quotes qld
39050 \end_inset
39051
39052
39053 \end_layout
39054
39055 \begin_layout Subsubsection
39056
39057 \family sans
39058 Copy
39059 \end_layout
39060
39061 \begin_layout Standard
39062 This will create a copy of the current document including the version history.
39063  It requires a clean document without any changes since the last checkin.
39064  You are asked for a file name and a description of the copy operation.
39065  After that the copy is created,
39066  both locally and in the repository.
39067  If the parent directories of the copied and original document differ,
39068  all relative paths of included files of the copy are adjusted (like in 
39069 \family sans
39070 File\SpecialChar menuseparator
39071 Save As
39072 \family default
39073 \SpecialChar ldots
39074 ).
39075  Finally,
39076  the copy is loaded instead of the original document.
39077 \end_layout
39078
39079 \begin_layout Labeling
39080 \labelwidthstring 00.00.0000
39081 SVN
39082 \begin_inset space ~
39083 \end_inset
39084
39085 commands:
39086  
39087 \begin_inset space ~
39088 \end_inset
39089
39090
39091 \begin_inset Newline newline
39092 \end_inset
39093
39094
39095 \begin_inset Flex Code
39096 status collapsed
39097
39098 \begin_layout Plain Layout
39099 svn copy -q 
39100 \family typewriter
39101
39102 \begin_inset Quotes qld
39103 \end_inset
39104
39105 <file-name>
39106 \begin_inset Quotes qld
39107 \end_inset
39108
39109  
39110 \begin_inset Quotes qld
39111 \end_inset
39112
39113 <new-file-name>
39114 \begin_inset Quotes qld
39115 \end_inset
39116
39117
39118 \end_layout
39119
39120 \end_inset
39121
39122
39123 \begin_inset Newline newline
39124 \end_inset
39125
39126
39127 \begin_inset Flex Code
39128 status collapsed
39129
39130 \begin_layout Plain Layout
39131 svn commit
39132 \end_layout
39133
39134 \end_inset
39135
39136
39137 \end_layout
39138
39139 \begin_layout Subsubsection
39140
39141 \family sans
39142 Rename
39143 \end_layout
39144
39145 \begin_layout Standard
39146 This will rename the current document including the version history.
39147  It requires a clean document without any changes since the last checkin.
39148  You are asked for a file name and a description of the rename operation.
39149  After that the document is renamed,
39150  both locally and in the repository.
39151  If the parent directories of the new and old file names differ,
39152  all relative paths of included files are adjusted (like in 
39153 \family sans
39154 File\SpecialChar menuseparator
39155 Save As
39156 \family default
39157 \SpecialChar ldots
39158 ).
39159  Finally,
39160  the document is reloaded using the new name.
39161 \end_layout
39162
39163 \begin_layout Labeling
39164 \labelwidthstring 00.00.0000
39165 SVN
39166 \begin_inset space ~
39167 \end_inset
39168
39169 commands:
39170  
39171 \begin_inset space ~
39172 \end_inset
39173
39174
39175 \begin_inset Newline newline
39176 \end_inset
39177
39178
39179 \begin_inset Flex Code
39180 status collapsed
39181
39182 \begin_layout Plain Layout
39183 svn move -q 
39184 \family typewriter
39185
39186 \begin_inset Quotes qld
39187 \end_inset
39188
39189 <file-name>
39190 \begin_inset Quotes qld
39191 \end_inset
39192
39193  
39194 \begin_inset Quotes qld
39195 \end_inset
39196
39197 <new-file-name>
39198 \begin_inset Quotes qld
39199 \end_inset
39200
39201
39202 \end_layout
39203
39204 \end_inset
39205
39206
39207 \begin_inset Newline newline
39208 \end_inset
39209
39210
39211 \begin_inset Flex Code
39212 status collapsed
39213
39214 \begin_layout Plain Layout
39215 svn commit
39216 \end_layout
39217
39218 \end_inset
39219
39220
39221 \end_layout
39222
39223 \begin_layout Subsubsection
39224 \begin_inset CommandInset label
39225 LatexCommand label
39226 name "subsec:SVN-Repo-Update"
39227
39228 \end_inset
39229
39230 Update of the local directory checkout from repository
39231 \begin_inset Foot
39232 status collapsed
39233
39234 \begin_layout Plain Layout
39235 Note that this command will work only with subversion 
39236 \begin_inset Formula $\geqq1.5$
39237 \end_inset
39238
39239
39240 \end_layout
39241
39242 \end_inset
39243
39244
39245 \end_layout
39246
39247 \begin_layout Standard
39248 All the commands above have one shortcoming – they deal with the current document only.
39249  Once your document contains pictures,
39250  includes external 
39251 \begin_inset Flex Code
39252 status collapsed
39253
39254 \begin_layout Plain Layout
39255 .tex
39256 \end_layout
39257
39258 \end_inset
39259
39260  files and so on administration becomes more complicated.
39261  \SpecialChar LyX
39262  now supports updating the whole tree in which resides the document
39263 \begin_inset Foot
39264 status collapsed
39265
39266 \begin_layout Plain Layout
39267 One need to organize the files structure so that all external files are in the same directory or subdirectories of the document.
39268  
39269 \end_layout
39270
39271 \end_inset
39272
39273 .
39274  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.
39275  
39276 \end_layout
39277
39278 \begin_layout Standard
39279 \begin_inset Flex Code
39280 status collapsed
39281
39282 \begin_layout Plain Layout
39283 Update local directory from repository
39284 \end_layout
39285
39286 \end_inset
39287
39288  command updates the whole directory and in case of merge conflicts local version of the files are left,
39289  so no unintended data loss occurs.
39290  If local changes are detected user is warned before update starts.
39291 \end_layout
39292
39293 \begin_layout Labeling
39294 \labelwidthstring 00.00.0000
39295 SVN
39296 \begin_inset space ~
39297 \end_inset
39298
39299 commands:
39300  
39301 \begin_inset space ~
39302 \end_inset
39303
39304
39305 \begin_inset Newline newline
39306 \end_inset
39307
39308
39309 \begin_inset Flex Code
39310 status collapsed
39311
39312 \begin_layout Plain Layout
39313 svn diff $path
39314 \end_layout
39315
39316 \end_inset
39317
39318  (Ask if changes are detected.)
39319 \begin_inset Newline newline
39320 \end_inset
39321
39322
39323 \begin_inset Flex Code
39324 status collapsed
39325
39326 \begin_layout Plain Layout
39327 svn update --accept mine-full $path
39328 \end_layout
39329
39330 \end_inset
39331
39332
39333 \end_layout
39334
39335 \begin_layout Standard
39336 where 
39337 \begin_inset Flex Code
39338 status collapsed
39339
39340 \begin_layout Plain Layout
39341 $path
39342 \end_layout
39343
39344 \end_inset
39345
39346  stands for the path to the document.
39347 \end_layout
39348
39349 \begin_layout Subsubsection
39350
39351 \family sans
39352 Show History
39353 \end_layout
39354
39355 \begin_layout Standard
39356 This shows the complete history of the SVN document.
39357  The output of 
39358 \family typewriter
39359 svn log 
39360 \begin_inset Quotes qld
39361 \end_inset
39362
39363 <file-name>
39364 \begin_inset Quotes qld
39365 \end_inset
39366
39367
39368 \family default
39369  is shown in a browser.
39370 \end_layout
39371
39372 \begin_layout Subsubsection
39373 File Locking
39374 \begin_inset CommandInset label
39375 LatexCommand label
39376 name "subsec:SVN-File-Locking"
39377
39378 \end_inset
39379
39380
39381 \end_layout
39382
39383 \begin_layout Standard
39384 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.
39385  When such a conflict happens it needs manual resolving and one reasonable alternative is to provide some kind of locking mechanism,
39386  which guarantees that only one user is allowed to edit file at the given time.
39387 \end_layout
39388
39389 \begin_layout Standard
39390 SVN has two such mechanisms to provide mutual exclusivity for file access – locks and automatic setting of write permissions (see sec.
39391  
39392 \begin_inset CommandInset ref
39393 LatexCommand ref
39394 reference "subsec:Automatical-Locking-Property"
39395 nolink "false"
39396
39397 \end_inset
39398
39399 ) based on 
39400 \begin_inset Flex Code
39401 status collapsed
39402
39403 \begin_layout Plain Layout
39404 svn:needs-lock
39405 \end_layout
39406
39407 \end_inset
39408
39409  file svn property
39410 \begin_inset Foot
39411 status collapsed
39412
39413 \begin_layout Plain Layout
39414 \begin_inset Flex URL
39415 status open
39416
39417 \begin_layout Plain Layout
39418
39419 http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html
39420 \end_layout
39421
39422 \end_inset
39423
39424
39425 \end_layout
39426
39427 \end_inset
39428
39429 .
39430  If this property is detected for a given document \SpecialChar LyX
39431  starts to use SVN locks for document editing automatically and the whole check-in/out mechanism switches to the same regimen as for RCS.
39432  This in particular means there are two different modes of file use in \SpecialChar LyX
39433 :
39434 \end_layout
39435
39436 \begin_layout Itemize
39437 Unlocked state.
39438  The loaded file is in the read-only mode.
39439  For editing on needs to check-out.
39440  
39441 \emph on
39442 Check-out
39443 \emph default
39444  consists of updating from the repository and gaining write lock.
39445  If the lock is not possible to obtain,
39446  we remain in unlocked state.
39447 \end_layout
39448
39449 \begin_layout Itemize
39450 Locked state.
39451  The loaded file is in the 
39452 \begin_inset Quotes els
39453 \end_inset
39454
39455 normal
39456 \begin_inset Quotes ers
39457 \end_inset
39458
39459  edit mode.
39460  No other user is allowed to edit the file.
39461  
39462 \emph on
39463 Check-in
39464 \emph default
39465  consists of commiting changes and releasing write-lock.
39466  If no changes have been made to the document,
39467  no commit will be produced
39468 \begin_inset Foot
39469 status collapsed
39470
39471 \begin_layout Plain Layout
39472 Don't be puzzled by the fact that you will be asked for commit message anyway.
39473 \end_layout
39474
39475 \end_inset
39476
39477  and only the write-lock will be released.
39478 \end_layout
39479
39480 \begin_layout Standard
39481 SVN commands:
39482 \end_layout
39483
39484 \begin_layout Labeling
39485 \labelwidthstring 00.00.0000
39486 Check-in:
39487
39488 \family typewriter
39489  svn commit -q -m"<description>" "<file-name>"
39490 \begin_inset Newline newline
39491 \end_inset
39492
39493 svn unlock "<file-name>"
39494 \end_layout
39495
39496 \begin_layout Labeling
39497 \labelwidthstring 00.00.0000
39498 Check-out:
39499  
39500 \family typewriter
39501 svn update "<file-name>"
39502 \begin_inset Newline newline
39503 \end_inset
39504
39505 svn lock "<file-name>"
39506 \end_layout
39507
39508 \begin_layout Subsubsection
39509
39510 \family typewriter
39511 \begin_inset CommandInset label
39512 LatexCommand label
39513 name "subsec:Automatical-Locking-Property"
39514
39515 \end_inset
39516
39517
39518 \family default
39519 Automatic Locking Property
39520 \end_layout
39521
39522 \begin_layout Standard
39523 The above mentioned automatic setting of write permissions of the .lyx file can be set through
39524 \family sans
39525  File\SpecialChar menuseparator
39526 Version
39527 \begin_inset space ~
39528 \end_inset
39529
39530 Control\SpecialChar menuseparator
39531 Use Locking Property
39532 \family default
39533 .
39534  This command is active only when the file is not locked on the svn server (i.e.
39535  you need to check-out before proceeding).
39536 \end_layout
39537
39538 \begin_layout Labeling
39539 \labelwidthstring 00.00.0000
39540 SVN
39541 \begin_inset space ~
39542 \end_inset
39543
39544 commands:
39545 \end_layout
39546
39547 \begin_layout Labeling
39548 \labelwidthstring 00.00.0000
39549 Set:
39550
39551 \family typewriter
39552  svn propset svn:needs-lock ON "<file-name>"
39553 \end_layout
39554
39555 \begin_layout Labeling
39556 \labelwidthstring 00.00.0000
39557 Unset:
39558  
39559 \family typewriter
39560 svn propdel svn:needs-lock "<file-name>"
39561 \end_layout
39562
39563 \begin_layout Subsubsection
39564 \begin_inset CommandInset label
39565 LatexCommand label
39566 name "subsec:VCS-Revision-Information"
39567
39568 \end_inset
39569
39570 Revision Information in Documents
39571 \end_layout
39572
39573 \begin_layout Standard
39574 There are more possibilities how to activate revision information in our document.
39575 \end_layout
39576
39577 \begin_layout Itemize
39578 \SpecialChar LyX
39579  supports directly:
39580 \end_layout
39581
39582 \begin_deeper
39583 \begin_layout Itemize
39584 tree revision information (
39585 \begin_inset Flex Code
39586 status collapsed
39587
39588 \begin_layout Plain Layout
39589 vcs-tree-revision
39590 \end_layout
39591
39592 \end_inset
39593
39594 ).
39595  The result is the output of the 
39596 \begin_inset Flex Code
39597 status collapsed
39598
39599 \begin_layout Plain Layout
39600 svnversion
39601 \end_layout
39602
39603 \end_inset
39604
39605  command,
39606  the following table gives you an idea,
39607  how to read the results.
39608 \end_layout
39609
39610 \begin_layout Standard
39611 \align center
39612 \begin_inset Tabular
39613 <lyxtabular version="3" rows="6" columns="2">
39614 <features tabularvalignment="middle">
39615 <column alignment="left" valignment="top">
39616 <column alignment="left" valignment="top">
39617 <row>
39618 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39619 \begin_inset Text
39620
39621 \begin_layout Plain Layout
39622
39623 \series bold
39624 Output
39625 \end_layout
39626
39627 \end_inset
39628 </cell>
39629 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39630 \begin_inset Text
39631
39632 \begin_layout Plain Layout
39633
39634 \series bold
39635 Meaning
39636 \end_layout
39637
39638 \end_inset
39639 </cell>
39640 </row>
39641 <row>
39642 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39643 \begin_inset Text
39644
39645 \begin_layout Plain Layout
39646 4123:4168
39647 \end_layout
39648
39649 \end_inset
39650 </cell>
39651 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39652 \begin_inset Text
39653
39654 \begin_layout Plain Layout
39655 mixed revision working copy
39656 \end_layout
39657
39658 \end_inset
39659 </cell>
39660 </row>
39661 <row>
39662 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39663 \begin_inset Text
39664
39665 \begin_layout Plain Layout
39666 4168M
39667 \end_layout
39668
39669 \end_inset
39670 </cell>
39671 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39672 \begin_inset Text
39673
39674 \begin_layout Plain Layout
39675 modified working copy
39676 \end_layout
39677
39678 \end_inset
39679 </cell>
39680 </row>
39681 <row>
39682 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39683 \begin_inset Text
39684
39685 \begin_layout Plain Layout
39686 4123S
39687 \end_layout
39688
39689 \end_inset
39690 </cell>
39691 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39692 \begin_inset Text
39693
39694 \begin_layout Plain Layout
39695 switched working copy
39696 \end_layout
39697
39698 \end_inset
39699 </cell>
39700 </row>
39701 <row>
39702 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
39703 \begin_inset Text
39704
39705 \begin_layout Plain Layout
39706 4123P
39707 \end_layout
39708
39709 \end_inset
39710 </cell>
39711 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39712 \begin_inset Text
39713
39714 \begin_layout Plain Layout
39715 partial working copy,
39716  from a sparse checkout
39717 \end_layout
39718
39719 \end_inset
39720 </cell>
39721 </row>
39722 <row>
39723 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39724 \begin_inset Text
39725
39726 \begin_layout Plain Layout
39727 4123:4168MS
39728 \end_layout
39729
39730 \end_inset
39731 </cell>
39732 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39733 \begin_inset Text
39734
39735 \begin_layout Plain Layout
39736 mixed revision,
39737  modified,
39738  switched working copy
39739 \end_layout
39740
39741 \end_inset
39742 </cell>
39743 </row>
39744 </lyxtabular>
39745
39746 \end_inset
39747
39748
39749 \end_layout
39750
39751 \begin_layout Itemize
39752 file revision information.
39753  The result comes from parsing the output of 
39754 \begin_inset Flex Code
39755 status collapsed
39756
39757 \begin_layout Plain Layout
39758 svn
39759 \begin_inset space ~
39760 \end_inset
39761
39762 info
39763 \begin_inset space ~
39764 \end_inset
39765
39766 --xml
39767 \begin_inset space ~
39768 \end_inset
39769
39770 file.lyx
39771 \end_layout
39772
39773 \end_inset
39774
39775 .
39776  Supported flags are:
39777 \end_layout
39778
39779 \begin_deeper
39780 \begin_layout Itemize
39781 version number of the last commit (
39782 \begin_inset Flex Code
39783 status collapsed
39784
39785 \begin_layout Plain Layout
39786 vcs-revision
39787 \end_layout
39788
39789 \end_inset
39790
39791 )
39792 \end_layout
39793
39794 \begin_layout Itemize
39795 author of the last commit (
39796 \begin_inset Flex Code
39797 status collapsed
39798
39799 \begin_layout Plain Layout
39800 vcs-author
39801 \end_layout
39802
39803 \end_inset
39804
39805 )
39806 \end_layout
39807
39808 \begin_layout Itemize
39809 date of the last commit (
39810 \begin_inset Flex Code
39811 status collapsed
39812
39813 \begin_layout Plain Layout
39814 vcs-date
39815 \end_layout
39816
39817 \end_inset
39818
39819 )
39820 \end_layout
39821
39822 \begin_layout Itemize
39823 time of the last commit (
39824 \begin_inset Flex Code
39825 status collapsed
39826
39827 \begin_layout Plain Layout
39828 vcs-time
39829 \end_layout
39830
39831 \end_inset
39832
39833 )
39834 \end_layout
39835
39836 \end_deeper
39837 \begin_layout Standard
39838 You can obtain this info via InsetInfo (
39839 \change_inserted 5863208 1564400022
39840
39841 \family sans
39842 Insert\SpecialChar menuseparator
39843 Field\SpecialChar menuseparator
39844 Version Control Revision
39845 \change_deleted 5863208 1564399852
39846
39847 \family default
39848 e.g.
39849  
39850 \begin_inset Flex Code
39851 status collapsed
39852
39853 \begin_layout Plain Layout
39854 info-insert buffer vcs-date
39855 \end_layout
39856
39857 \end_inset
39858
39859
39860 \change_unchanged
39861 ).
39862  The information will be available only when you have the file stored under svn managment (i.e.
39863  the 
39864 \begin_inset Flex Code
39865 status collapsed
39866
39867 \begin_layout Plain Layout
39868 .svn
39869 \end_layout
39870
39871 \end_inset
39872
39873  directory is available with your document).
39874 \end_layout
39875
39876 \end_deeper
39877 \begin_layout Itemize
39878 Another—
39879 a hacking one—
39880 possibility is to use svn keywords
39881 \begin_inset Foot
39882 status collapsed
39883
39884 \begin_layout Plain Layout
39885 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
39886 \end_layout
39887
39888 \end_inset
39889
39890 .
39891  In short – you set file keywords property (e.g.
39892  
39893 \family sans
39894 svn propset svn:keywords 'Rev' file.lyx
39895 \family default
39896 ) and then paste keyword \SpecialChar TeX
39897  code
39898 \begin_inset Foot
39899 status collapsed
39900
39901 \begin_layout Plain Layout
39902 This is an easy way how to ensure that \SpecialChar LyX
39903  won't break the line in the middle of keyword tag.
39904 \end_layout
39905
39906 \end_inset
39907
39908  tag in your document (e.g.
39909  
39910 \begin_inset Flex Code
39911 status collapsed
39912
39913 \begin_layout Plain Layout
39914 $Rev$
39915 \end_layout
39916
39917 \end_inset
39918
39919 ).
39920  This way svn client will automatically substitute revision number (e.g.
39921  
39922 \begin_inset Flex Code
39923 status collapsed
39924
39925 \begin_layout Plain Layout
39926 $Rev:
39927  59 $
39928 \end_layout
39929
39930 \end_inset
39931
39932 ) after each update and commit.
39933  There are more problems with this approach.
39934  Firstly,
39935  the '$' character is used in \SpecialChar TeX
39936  world for math equations,
39937  so any occurence of math formula 
39938 \begin_inset Formula $Rev$
39939 \end_inset
39940
39941  become 
39942 \begin_inset Formula $Rev:59$
39943 \end_inset
39944
39945  in your \SpecialChar LyX
39946  document.
39947  Similarly for other keywords like Id,
39948  Date,
39949  Author,
39950  etc.
39951  Secondly svn output is dependent on your locales,
39952  so its very easy that svn would produce some problematic strings once Date is used.
39953  Thirdly you get the whole 'Rev:
39954  59' string in your document instead of the plain number.
39955  Until subversion implements user's custom keywords it will be hard to use this approach reliably or let \SpecialChar LyX
39956  to support it directly.
39957 \end_layout
39958
39959 \begin_layout Subsection
39960 SVN and Windows Environment
39961 \end_layout
39962
39963 \begin_layout Quote
39964 My inclination is to say that if the user cannot figure out the command line operations on their own fairly quickly,
39965  they would be well advised to use TortoiseSVN.
39966  —
39967 P.
39968  A.
39969  Rubin
39970 \end_layout
39971
39972 \begin_layout Subsubsection
39973 Preparation
39974 \end_layout
39975
39976 \begin_layout Standard
39977 In addition to installing \SpecialChar LyX
39978 ,
39979  and having access to a Subversion repository,
39980  the user will need to install the Subversion client program.
39981  A Windows installer for the client program is available from 
39982 \begin_inset CommandInset href
39983 LatexCommand href
39984 name "CollabNet"
39985 target "http://www.collab.net/nonav/downloads/subversion/"
39986 literal "false"
39987
39988 \end_inset
39989
39990 .
39991  The user may also want to install 
39992 \begin_inset CommandInset href
39993 LatexCommand href
39994 name "TortoiseSVN"
39995 target "http://tortoisesvn.tigris.org/"
39996 literal "false"
39997
39998 \end_inset
39999
40000 ,
40001  which integrates Subversion operations into the context (rightclick) menu of Windows Explorer.
40002  Operations done outside \SpecialChar LyX
40003  will typically be more convenient using the Explorer context menu.
40004  Note that TortoiseSVN is not a replacement for the client program,
40005  which is what \SpecialChar LyX
40006  itself will use.
40007 \end_layout
40008
40009 \begin_layout Subsubsection
40010 Bringing a document under Subversion control
40011 \end_layout
40012
40013 \begin_layout Standard
40014 Before a \SpecialChar LyX
40015  document can be brought under version control in Subversion,
40016  its parent directory needs to be under version control.
40017  If the document is being added to a project already in the repository,
40018  this is accomplished by checking the project out to the directory where the new document will be placed.
40019  If the project itself is not yet under version control (for instance,
40020  if this document starts a new project),
40021  the directory must be imported into the repository.
40022  This is done outside \SpecialChar LyX
40023 .
40024  Both import and checkout are easily accomplished from the Explorer context menu using TortoiseSVN,
40025  or alternatively can be done using the command line client at a DOS prompt.
40026  The procedure for importing the project using TortoiseSVN is described below,
40027  assuming an existing repository and a new project being started in 
40028 \family typewriter
40029 C:
40030 \backslash
40031 new project
40032 \family default
40033 .
40034  For information on using the Subversion client program,
40035  run 
40036 \family typewriter
40037 svn --help 
40038 \family default
40039 in a DOS shell.
40040 \end_layout
40041
40042 \begin_layout Enumerate
40043 Locate 
40044 \family typewriter
40045 C:
40046 \backslash
40047 new project 
40048 \family default
40049 in Windows Explorer,
40050  right click it,
40051  and select 
40052 \family sans
40053 TortoiseSVN\SpecialChar menuseparator
40054 Repo-browser
40055 \family default
40056 .
40057  If necessary,
40058  adjust the URL for the repository,
40059  then click OK.
40060 \end_layout
40061
40062 \begin_layout Enumerate
40063 Right click the level of the repository under which you want to place the new project folder (typically the top level) and click 
40064 \family sans
40065 Create folder
40066 \family default
40067  Supply a name for the project folder and click OK.
40068  Add a message for the log file if desired,
40069  then click OK again.
40070  The new project folder should appear in the repository.
40071  Finally,
40072  click OK again to exit the repository browser.
40073 \end_layout
40074
40075 \begin_layout Enumerate
40076 Once again right click 
40077 \family typewriter
40078 C:
40079 \backslash
40080 new project
40081 \family default
40082 ,
40083  this time selecting SVN Checkout\SpecialChar ldots
40084  Select the URL of the project folder you just created in the repository,
40085  and set the checkout directory to 
40086 \family typewriter
40087 C:
40088 \backslash
40089 new project.
40090
40091 \family default
40092  Click OK.
40093  You will be warned about a non-empty folder;
40094  click OK to proceed.
40095  You should now have a 
40096 \family typewriter
40097 .svn
40098 \family default
40099  directory under 
40100 \family typewriter
40101 C:
40102 \backslash
40103 new project.
40104 \end_layout
40105
40106 \begin_layout Enumerate
40107 Create or open your document in \SpecialChar LyX
40108  and click 
40109 \family sans
40110 File\SpecialChar menuseparator
40111 Version
40112 \begin_inset space ~
40113 \end_inset
40114
40115 Control\SpecialChar menuseparator
40116 Register.
40117  
40118 \family default
40119 Add a log message and click OK to commit the document to version control.
40120 \end_layout
40121
40122 \begin_layout Standard
40123 From this point onward,
40124  you should have full functionality in the 
40125 \family sans
40126 File\SpecialChar menuseparator
40127 Version
40128 \begin_inset space ~
40129 \end_inset
40130
40131 Control
40132 \family default
40133  menu.
40134  You also have the option of checking the document in and out,
40135  viewing its history,
40136  etc.
40137  using the TortoiseSVN context menu in Windows Explorer or the Subversion client program from a command prompt.
40138 \end_layout
40139
40140 \begin_layout Subsubsection
40141 SSH tunnel used with SVN under Windows
40142 \end_layout
40143
40144 \begin_layout Standard
40145 Compared with Linux setting up an svn client to communicate over ssh under Windows is a rather troublesome task.
40146  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,
40147  also be prepared for a great deal of frustration\SpecialChar ldots
40148
40149 \end_layout
40150
40151 \begin_layout Enumerate
40152 Get an svn client for windows,
40153  as described in the previous sections.
40154  When it is a fresh install run some svn command (e.g.
40155  
40156 \begin_inset Flex Code
40157 status collapsed
40158
40159 \begin_layout Plain Layout
40160 svn --version
40161 \end_layout
40162
40163 \end_inset
40164
40165 ) to create config files,
40166  which you will need to change later on.
40167 \end_layout
40168
40169 \begin_layout Enumerate
40170 Choose an ssh client for Windows.
40171  There are several possibilities,
40172  we will use the one from Putty tools
40173 \begin_inset Foot
40174 status collapsed
40175
40176 \begin_layout Plain Layout
40177 \begin_inset Flex URL
40178 status collapsed
40179
40180 \begin_layout Plain Layout
40181
40182 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
40183 \end_layout
40184
40185 \end_inset
40186
40187
40188 \end_layout
40189
40190 \end_inset
40191
40192 .
40193  You will need to set the connection up so that the client doesn't ask for any password from you.
40194  To keep things easy we will use only keys without any additional password protection etc.
40195 \end_layout
40196
40197 \begin_deeper
40198 \begin_layout Enumerate
40199 Generate keys by 
40200 \begin_inset Flex Code
40201 status collapsed
40202
40203 \begin_layout Plain Layout
40204 puttygen
40205 \end_layout
40206
40207 \end_inset
40208
40209 .
40210  Save your private .ppk key file and put the public one on the server side.
40211  If the SVN server runs on Linux,
40212  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 
40213 \begin_inset Quotes eld
40214 \end_inset
40215
40216
40217 \emph on
40218 Public key for pasting into OpenSSH authorized_keys file
40219 \emph default
40220 :
40221 \begin_inset Quotes erd
40222 \end_inset
40223
40224  edit field into the server's 
40225 \begin_inset Flex Code
40226 status collapsed
40227
40228 \begin_layout Plain Layout
40229 ~/.ssh/authorized_keys
40230 \end_layout
40231
40232 \end_inset
40233
40234  / 
40235 \begin_inset Flex Code
40236 status collapsed
40237
40238 \begin_layout Plain Layout
40239 authorized_keys2
40240 \end_layout
40241
40242 \end_inset
40243
40244  file.
40245 \end_layout
40246
40247 \begin_layout Enumerate
40248 Get the Putty's 
40249 \begin_inset Flex Code
40250 status collapsed
40251
40252 \begin_layout Plain Layout
40253 plink
40254 \end_layout
40255
40256 \end_inset
40257
40258 .
40259  In the SVN config file
40260 \begin_inset Foot
40261 status collapsed
40262
40263 \begin_layout Plain Layout
40264 Exact path depends on Windows version,
40265  usually somewhere around 
40266 \begin_inset Flex Code
40267 status collapsed
40268
40269 \begin_layout Plain Layout
40270 c:
40271 \backslash
40272 Documents and Settings
40273 \backslash
40274 user
40275 \backslash
40276 Application Data
40277 \backslash
40278 Subversion
40279 \backslash
40280 config
40281 \end_layout
40282
40283 \end_inset
40284
40285  / 
40286 \begin_inset Flex Code
40287 status collapsed
40288
40289 \begin_layout Plain Layout
40290 AppData
40291 \backslash
40292 Roaming
40293 \backslash
40294 Subversion
40295 \end_layout
40296
40297 \end_inset
40298
40299 .
40300 \end_layout
40301
40302 \end_inset
40303
40304 ,
40305  section [tunnels],
40306  setup ssh command,
40307  e.g.
40308  
40309 \begin_inset Flex Code
40310 status collapsed
40311
40312 \begin_layout Plain Layout
40313 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
40314 \end_layout
40315
40316 \end_inset
40317
40318 .
40319 \begin_inset Foot
40320 status collapsed
40321
40322 \begin_layout Plain Layout
40323 It will usually take a lot of time to get exact command right and it depends on many things.
40324  For example do not have some remote server saved as a default session in Putty etc.
40325  If things fail,
40326  try to connect via plink without SVN first.
40327 \end_layout
40328
40329 \end_inset
40330
40331
40332 \end_layout
40333
40334 \end_deeper
40335 \begin_layout Enumerate
40336 Checkout the SVN archive,
40337  e.
40338 \begin_inset space \thinspace{}
40339 \end_inset
40340
40341 g.
40342 \begin_inset Newline newline
40343 \end_inset
40344
40345
40346 \begin_inset Flex Code
40347 status collapsed
40348
40349 \begin_layout Plain Layout
40350 svn co svn+ssh://user@server/repository_path
40351 \end_layout
40352
40353 \end_inset
40354
40355 .
40356 \end_layout
40357
40358 \begin_layout Subsubsection
40359 End-of-Line Conversions
40360 \end_layout
40361
40362 \begin_layout Standard
40363 When the collaborators are mixing Linux and Windows environments,
40364  \SpecialChar LyX
40365  will use different line endings inside the .lyx files.
40366  This is not a problem as far as \SpecialChar LyX
40367  functionality is concerned,
40368  but the commit diffs will be huge and merge-conflicts prone.
40369  Fortunately SVN itself knows
40370 \begin_inset Foot
40371 status collapsed
40372
40373 \begin_layout Plain Layout
40374 \begin_inset Flex URL
40375 status collapsed
40376
40377 \begin_layout Plain Layout
40378
40379 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
40380 \end_layout
40381
40382 \end_inset
40383
40384
40385 \end_layout
40386
40387 \end_inset
40388
40389  how to deal with CR/LF problems when switching .lyx files to the 
40390 \begin_inset Flex Code
40391 status collapsed
40392
40393 \begin_layout Plain Layout
40394 native
40395 \end_layout
40396
40397 \end_inset
40398
40399  mode.
40400 \begin_inset Foot
40401 status collapsed
40402
40403 \begin_layout Plain Layout
40404 For the lazy guys:
40405  
40406 \begin_inset Flex Code
40407 status collapsed
40408
40409 \begin_layout Plain Layout
40410 svn propset svn:eol-style native FILE_NAME
40411 \end_layout
40412
40413 \end_inset
40414
40415
40416 \end_layout
40417
40418 \end_inset
40419
40420
40421 \end_layout
40422
40423 \begin_layout Subsection
40424 GIT commands in \SpecialChar LyX
40425
40426 \end_layout
40427
40428 \begin_layout Standard
40429 A minimal subset of GIT commands is now supported by \SpecialChar LyX
40430 .
40431  You can find the commands in the 
40432 \family sans
40433 File\SpecialChar menuseparator
40434 Version
40435 \begin_inset space ~
40436 \end_inset
40437
40438 Control
40439 \family default
40440  submenu.
40441  Please note that if you use password protected access to repository via ssh,
40442  you will be asked in terminal window.
40443  \SpecialChar LyX
40444  was tested against GIT 1.7
40445 \change_inserted 5863208 1685694088
40446 /2.30
40447 \change_unchanged
40448 .
40449 \begin_inset Foot
40450 status collapsed
40451
40452 \begin_layout Plain Layout
40453 Windows users please note that you need to ensure that git is on the path.
40454  This can be set from within \SpecialChar LyX
40455  at 
40456 \family sans
40457 Tools\SpecialChar menuseparator
40458 Preferences\SpecialChar menuseparator
40459 Paths\SpecialChar menuseparator
40460 PATH prefix
40461 \family default
40462 .
40463 \end_layout
40464
40465 \end_inset
40466
40467
40468 \end_layout
40469
40470 \begin_layout Standard
40471 One big difference of GIT and the other supported version control systems is the distributed nature of GIT:
40472  With traditional version control systems there is one central server which hosts the repository.
40473  Users commit their changes to the server,
40474  and get updates made by other users from it.
40475  With GIT,
40476  users commit to a local repository.
40477  The local repository can be synchronized with one or more remote repositories using the 
40478 \begin_inset Flex Code
40479 status collapsed
40480
40481 \begin_layout Plain Layout
40482 pull
40483 \end_layout
40484
40485 \end_inset
40486
40487  and 
40488 \begin_inset Flex Code
40489 status collapsed
40490
40491 \begin_layout Plain Layout
40492 push
40493 \end_layout
40494
40495 \end_inset
40496
40497  GIT commands.
40498  \SpecialChar LyX
40499  does not interact in any way with remote GIT repositories.
40500  It works exclusively with the local repository in a very similar way as with a central CVS or SVN repository.
40501  If you use remote GIT repositories you need to do the 
40502 \begin_inset Flex Code
40503 status collapsed
40504
40505 \begin_layout Plain Layout
40506 pull
40507 \end_layout
40508
40509 \end_inset
40510
40511  and 
40512 \begin_inset Flex Code
40513 status collapsed
40514
40515 \begin_layout Plain Layout
40516 push
40517 \end_layout
40518
40519 \end_inset
40520
40521  operations with your favourite GIT client.
40522 \end_layout
40523
40524 \begin_layout Subsubsection
40525
40526 \family sans
40527 Register
40528 \end_layout
40529
40530 \begin_layout Standard
40531 If your document is not under revision control,
40532  this is the only item shown in the menu.
40533  And if it is under revision control,
40534  the 
40535 \family sans
40536 Register
40537 \family default
40538  item is not visible.
40539 \end_layout
40540
40541 \begin_layout Standard
40542 This command registers in GIT your document ONLY in case you have already the documents directory under GIT control (in particular 
40543 \family typewriter
40544 .git/index
40545 \family default
40546  file exists
40547 \change_inserted 5863208 1685693727
40548
40549 \begin_inset Foot
40550 status open
40551
40552 \begin_layout Plain Layout
40553
40554 \change_inserted 5863208 1685693727
40555 For that both 
40556 \family typewriter
40557 git init
40558 \family default
40559  *and* initial repository commit (or at least 
40560 \family typewriter
40561 git add
40562 \family default
40563 ) needs to be manually done.
40564 \change_unchanged
40565
40566 \end_layout
40567
40568 \end_inset
40569
40570
40571 \change_unchanged
40572 ).
40573  This means you have to checkout the archive by yourself.
40574 \end_layout
40575
40576 \begin_layout Standard
40577 Then you are asked interactively to supply an initial description of the document.
40578  Don't forget that registered file is not yet committed.
40579 \end_layout
40580
40581 \begin_layout Standard
40582 GIT command that is run:
40583  
40584 \family typewriter
40585 git add 
40586 \begin_inset Quotes qld
40587 \end_inset
40588
40589 <file-name>
40590 \begin_inset Quotes qld
40591 \end_inset
40592
40593
40594 \end_layout
40595
40596 \begin_layout Standard
40597 Read 
40598 \family typewriter
40599 man git
40600 \family default
40601  to understand the switches.
40602 \end_layout
40603
40604 \begin_layout Subsubsection
40605
40606 \family sans
40607 Check In Changes
40608 \end_layout
40609
40610 \begin_layout Standard
40611 When you are finished editing a file,
40612  you commit your changes.
40613  When you do this,
40614  you are asked for a description of the changes.
40615  After that changes are committed.
40616 \end_layout
40617
40618 \begin_layout Standard
40619 GIT command:
40620  
40621 \family typewriter
40622 git commit -q -m"<description>" <file-name>
40623 \end_layout
40624
40625 \begin_layout Subsubsection
40626
40627 \family sans
40628 Revert To Repository Version
40629 \end_layout
40630
40631 \begin_layout Standard
40632 This will discard all changes made to the document since the last check in.
40633  You get a warning before changes are discarded.
40634 \end_layout
40635
40636 \begin_layout Standard
40637 GIT command:
40638  
40639 \family typewriter
40640 git checkout -q 
40641 \begin_inset Quotes qld
40642 \end_inset
40643
40644 <file-name>
40645 \begin_inset Quotes qld
40646 \end_inset
40647
40648
40649 \end_layout
40650
40651 \begin_layout Subsubsection
40652
40653 \family sans
40654 Rename
40655 \end_layout
40656
40657 \begin_layout Standard
40658 This will rename the current document including the version history.
40659  It requires a clean document without any changes since the last checkin.
40660  You are asked for a file name and a description of the rename operation.
40661  After that the document is renamed,
40662  both locally and in the repository.
40663  If the parent directories of the new and old file names differ,
40664  all relative paths of included files are adjusted (like in 
40665 \family sans
40666 File\SpecialChar menuseparator
40667 Save As
40668 \family default
40669 \SpecialChar ldots
40670 ).
40671  Finally,
40672  the document is reloaded using the new name.
40673 \end_layout
40674
40675 \begin_layout Labeling
40676 \labelwidthstring 00.00.0000
40677 GIT
40678 \begin_inset space ~
40679 \end_inset
40680
40681 commands:
40682  
40683 \begin_inset space ~
40684 \end_inset
40685
40686
40687 \begin_inset Newline newline
40688 \end_inset
40689
40690
40691 \begin_inset Flex Code
40692 status collapsed
40693
40694 \begin_layout Plain Layout
40695 git mv 
40696 \family typewriter
40697
40698 \begin_inset Quotes qld
40699 \end_inset
40700
40701 <file-name>
40702 \begin_inset Quotes qld
40703 \end_inset
40704
40705  
40706 \begin_inset Quotes qld
40707 \end_inset
40708
40709 <new-file-name>
40710 \begin_inset Quotes qld
40711 \end_inset
40712
40713
40714 \end_layout
40715
40716 \end_inset
40717
40718
40719 \begin_inset Newline newline
40720 \end_inset
40721
40722
40723 \begin_inset Flex Code
40724 status collapsed
40725
40726 \begin_layout Plain Layout
40727 git commit
40728 \end_layout
40729
40730 \end_inset
40731
40732
40733 \end_layout
40734
40735 \begin_layout Subsubsection
40736
40737 \family sans
40738 Show History
40739 \end_layout
40740
40741 \begin_layout Standard
40742 This shows the complete history of the GIT document.
40743  The output of 
40744 \family typewriter
40745 git log 
40746 \begin_inset Quotes qld
40747 \end_inset
40748
40749 <file-name>
40750 \begin_inset Quotes qld
40751 \end_inset
40752
40753
40754 \family default
40755  is shown in a browser.
40756 \end_layout
40757
40758 \begin_layout Subsubsection
40759 Version Info
40760 \end_layout
40761
40762 \begin_layout Standard
40763 \SpecialChar LyX
40764  supports GIT hash number of the last commit to the file,
40765  
40766 \change_inserted 1119979965 1564297456
40767 its abbreviated form,
40768  
40769 \change_unchanged
40770 author name,
40771  date and time of last commit.
40772  All those are extracted from 
40773 \family typewriter
40774 git log -n 1 --pretty=format:%H%n
40775 \change_inserted 1119979965 1564297427
40776 %h%n
40777 \change_unchanged
40778 %an%n%ai
40779 \family default
40780 .
40781  Tree version information is obtained via 
40782 \family typewriter
40783 git describe --abbrev --dirty --long
40784 \family default
40785 .
40786  See 
40787 \begin_inset CommandInset ref
40788 LatexCommand ref
40789 reference "subsec:VCS-Revision-Information"
40790 nolink "false"
40791
40792 \end_inset
40793
40794  for other details.
40795 \end_layout
40796
40797 \begin_layout Subsection
40798 Further tuning
40799 \end_layout
40800
40801 \begin_layout Standard
40802 With the recent addition of the 
40803 \begin_inset Flex Code
40804 status collapsed
40805
40806 \begin_layout Plain Layout
40807 vc-command
40808 \end_layout
40809
40810 \end_inset
40811
40812  function \SpecialChar LyX
40813  power users are allowed to create their own commands for revision control.
40814 \end_layout
40815
40816 \begin_layout Standard
40817 As an example you can see how two TortoiseSVN commands could be integrated directly:
40818 \end_layout
40819
40820 \begin_layout Description
40821 Commit:
40822  
40823 \begin_inset Flex Code
40824 status collapsed
40825
40826 \begin_layout Plain Layout
40827 vc-command DR "." "TortoiseProc /command:commit /path:$$p"
40828 \end_layout
40829
40830 \end_inset
40831
40832
40833 \end_layout
40834
40835 \begin_layout Description
40836 Revert:
40837  
40838 \begin_inset Flex Code
40839 status collapsed
40840
40841 \begin_layout Plain Layout
40842 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
40843 \end_layout
40844
40845 \end_inset
40846
40847
40848 \end_layout
40849
40850 \begin_layout Subsection
40851 Version control and Document comparison
40852 \end_layout
40853
40854 \begin_layout Standard
40855 One of the typical uses of version control is to inspect the changes between revisions,
40856  usually by creating 
40857 \begin_inset Flex Code
40858 status collapsed
40859
40860 \begin_layout Plain Layout
40861 diff
40862 \end_layout
40863
40864 \end_inset
40865
40866  dumps.
40867  While this is useful for plain text files,
40868  it is much less useful in the case of \SpecialChar LyX
40869  files,
40870  which have more a complicated structure.
40871  Hence we provide binding to the Document comparison feature.
40872  There are two ways of calling this feature – either by direct call of 
40873 \begin_inset Flex Code
40874 status collapsed
40875
40876 \begin_layout Plain Layout
40877 vc-compare
40878 \end_layout
40879
40880 \end_inset
40881
40882  \SpecialChar LyX
40883  function (for details see \SpecialChar LyX
40884  functions manual) or by the toolbar icon 
40885 \begin_inset Info
40886 type  "icon"
40887 arg   "vc-compare"
40888 \end_inset
40889
40890  or the menu item 
40891 \begin_inset Info
40892 type  "menu"
40893 arg   "vc-compare"
40894 \end_inset
40895
40896 ,
40897  respectively.
40898  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 '
40899 \begin_inset Flex Noun
40900 status collapsed
40901
40902 \begin_layout Plain Layout
40903 0
40904 \end_layout
40905
40906 \end_inset
40907
40908 ' revisions back means comparison of the edited file with last commited revision).
40909  
40910 \end_layout
40911
40912 \begin_layout Standard
40913 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,
40914  numbers always point to the last number in RCS revision number,
40915  i.e.
40916  '35' in '1.2.35'.
40917  We don't currently support GIT addressing of revisions,
40918  one can just compare edited document with its revision X steps backs,
40919  where X is addressed as 
40920 \begin_inset Flex Code
40921 status collapsed
40922
40923 \begin_layout Plain Layout
40924 HEAD~X
40925 \end_layout
40926
40927 \end_inset
40928
40929 .
40930 \end_layout
40931
40932 \begin_layout Section
40933
40934 \change_inserted 564990737 1672161575
40935 \begin_inset CommandInset label
40936 LatexCommand label
40937 name "sec:Literate-Programming"
40938
40939 \end_inset
40940
40941
40942 \change_unchanged
40943 Literate Programming
40944 \end_layout
40945
40946 \begin_layout Standard
40947 Updated by 
40948 \noun on
40949 Kayvan Sylvan 
40950 \noun default
40951 (kayvan@sylvan.com)
40952 \noun on
40953 ,
40954  
40955 \noun default
40956 original documentation written by 
40957 \noun on
40958 Edmar Wienskoski Jr.
40959
40960 \noun default
40961  (edmar-w-jr@technologist.com)
40962 \end_layout
40963
40964 \begin_layout Subsection
40965 Introduction
40966 \end_layout
40967
40968 \begin_layout Standard
40969 The main purpose of this documentation is to show you how to use \SpecialChar LyX
40970  for literate programming,
40971  where it is assumed that you are familiar with this programming technique,
40972  and know what 
40973 \begin_inset Quotes eld
40974 \end_inset
40975
40976 tangling
40977 \begin_inset Quotes erd
40978 \end_inset
40979
40980  and 
40981 \begin_inset Quotes eld
40982 \end_inset
40983
40984 weaving
40985 \begin_inset Quotes erd
40986 \end_inset
40987
40988  means.
40989  If that is not the case,
40990  please follow the web links provided in the following sections.
40991  There is a lot of good documentation out there covering old development history to the latest tools tips.
40992 \end_layout
40993
40994 \begin_layout Standard
40995 It is also assumed that you are familiar with \SpecialChar LyX
40996  itself to a point that you are comfortable changing your \SpecialChar LyX
40997  preferences,
40998  and X resources file.
40999  If that is not the case please refer to other \SpecialChar LyX
41000  documentation to cover your specific needs.
41001 \end_layout
41002
41003 \begin_layout Subsection
41004 Literate Programming
41005 \end_layout
41006
41007 \begin_layout Standard
41008 From the Literate Programming FAQ:
41009  
41010 \end_layout
41011
41012 \begin_layout Quotation
41013 Literate programming is the combination of documentation and source together in a fashion suited for reading by human beings.
41014  In fact,
41015  literate programs should be enjoyable reading,
41016  even inviting!
41017  (Sorry Bob,
41018  I couldn't resist!) In general,
41019  literate programs combine source and documentation in a single file.
41020  Literate programming tools then parse the file to produce either readable documentation or compilable source.
41021  The WEB style of literate programming was created by D.
41022 \begin_inset space \thinspace{}
41023 \end_inset
41024
41025 E.
41026  Knuth during the development of his \SpecialChar TeX
41027  typesetting software.
41028  
41029 \end_layout
41030
41031 \begin_layout Standard
41032 Another excerpt says:
41033 \end_layout
41034
41035 \begin_layout Quotation
41036
41037 \emph on
41038 How is literate programming different from verbose commenting?
41039 \end_layout
41040
41041 \begin_layout Quotation
41042 There are three distinguishing characteristics.
41043  In order of importance,
41044  they are:
41045  
41046 \end_layout
41047
41048 \begin_deeper
41049 \begin_layout Itemize
41050 flexible order of elaboration 
41051 \end_layout
41052
41053 \begin_layout Itemize
41054 automatic support for browsing 
41055 \end_layout
41056
41057 \begin_layout Itemize
41058 typeset documentation,
41059  especially diagrams and mathematics 
41060 \end_layout
41061
41062 \end_deeper
41063 \begin_layout Standard
41064 Now that I sparked your curiosity,
41065  take a look in the references.
41066 \end_layout
41067
41068 \begin_layout Subsubsection
41069 References
41070 \end_layout
41071
41072 \begin_layout Standard
41073 The complete Literate Programming FAQ can be found at:
41074 \end_layout
41075
41076 \begin_layout Quote
41077 Literate Programming FAQ 
41078 \begin_inset Flex URL
41079 status open
41080
41081 \begin_layout Plain Layout
41082
41083 http://www.literateprogramming.com/lpfaq.pdf
41084 \end_layout
41085
41086 \end_inset
41087
41088
41089 \end_layout
41090
41091 \begin_layout Standard
41092 The FAQ lists 23 (twenty three!) different literate programming tools.
41093  Where some are specialized or 
41094 \begin_inset Quotes eld
41095 \end_inset
41096
41097 tailored
41098 \begin_inset Quotes erd
41099 \end_inset
41100
41101  for particular programming languages,
41102  while other have general scope.
41103  I selected 
41104 \noun on
41105 Noweb
41106 \noun default
41107  for my own use for several reasons:
41108 \end_layout
41109
41110 \begin_layout Itemize
41111 It can generate the documentation either in \SpecialChar LaTeX
41112  or HTML.
41113 \end_layout
41114
41115 \begin_layout Itemize
41116 It has a open architecture,
41117  i.
41118 \begin_inset space \thinspace{}
41119 \end_inset
41120
41121 e.
41122 \begin_inset space \space{}
41123 \end_inset
41124
41125 it is easy to plug in new filters
41126 \begin_inset Foot
41127 status collapsed
41128
41129 \begin_layout Plain Layout
41130
41131 \emph on
41132 Filters 
41133 \emph default
41134 are programs that read a given data stream and output a manipulated data stream.
41135  That way,
41136  a WEB file (consisting of literate code) can be turned into a file consisting only of C program code or \SpecialChar LaTeX
41137  code.
41138 \end_layout
41139
41140 \end_inset
41141
41142  and to perform special processing that you may need.
41143  
41144 \end_layout
41145
41146 \begin_layout Itemize
41147 There is a good selection of filters available already (the HTML is one of them).
41148 \end_layout
41149
41150 \begin_layout Itemize
41151 It is free.
41152 \end_layout
41153
41154 \begin_layout Standard
41155 The Noweb web page can be found at:
41156  
41157 \end_layout
41158
41159 \begin_layout Quote
41160 Noweb home page 
41161 \begin_inset Flex URL
41162 status collapsed
41163
41164 \begin_layout Plain Layout
41165
41166 https://www.cs.tufts.edu/~nr/noweb/
41167 \end_layout
41168
41169 \end_inset
41170
41171
41172 \end_layout
41173
41174 \begin_layout Standard
41175 Starting from there you can reach many other interesting links and even some literate program examples.
41176 \end_layout
41177
41178 \begin_layout Subsection
41179 \SpecialChar LyX
41180  and Literate Programming with Noweb
41181 \end_layout
41182
41183 \begin_layout Standard
41184 The \SpecialChar LyX
41185  support for Literate Programming is provided by using the generic \SpecialChar LyX
41186  converters mechanism.
41187  This support is provided in a 
41188 \begin_inset Quotes eld
41189 \end_inset
41190
41191 Noweb independent
41192 \begin_inset Quotes erd
41193 \end_inset
41194
41195  way,
41196  i.
41197 \begin_inset space \thinspace{}
41198 \end_inset
41199
41200 e.
41201 \begin_inset space \space{}
41202 \end_inset
41203
41204 you will be able to use this new \SpecialChar LyX
41205  feature with some other literate programming tool of your choice by just changing your \SpecialChar LyX
41206  preferences.
41207 \end_layout
41208
41209 \begin_layout Subsubsection
41210 Generating documents and code (weaving and tangling)
41211 \end_layout
41212
41213 \begin_layout Paragraph
41214 Using the noweb module
41215 \end_layout
41216
41217 \begin_layout Standard
41218 If you have installed Noweb and \SpecialChar LyX
41219  successfully,
41220  whenever you open a new document,
41221  after you have chosen its document class,
41222  use the 
41223 \family sans
41224 Document\SpecialChar menuseparator
41225 Settings
41226 \family default
41227  menu to add the 
41228 \begin_inset Quotes eld
41229 \end_inset
41230
41231 noweb
41232 \begin_inset Quotes erd
41233 \end_inset
41234
41235  module.
41236  If Noweb is correctly installed,
41237  when you click on the 
41238 \begin_inset Quotes eld
41239 \end_inset
41240
41241 Modules
41242 \begin_inset Quotes erd
41243 \end_inset
41244
41245  link,
41246  you will see the 
41247 \begin_inset Quotes eld
41248 \end_inset
41249
41250 noweb
41251 \begin_inset Quotes erd
41252 \end_inset
41253
41254  module in the available list and you can add it to your document.
41255 \end_layout
41256
41257 \begin_layout Paragraph
41258 Typing code in
41259 \end_layout
41260
41261 \begin_layout Standard
41262 \SpecialChar LyX
41263  enables you to write code with a custom inset named 
41264 \begin_inset Flex Noun
41265 status collapsed
41266
41267 \begin_layout Plain Layout
41268 Chunk
41269 \end_layout
41270
41271 \end_inset
41272
41273 .
41274  Noweb delimits chunks like this:
41275 \end_layout
41276
41277 \begin_layout LyX-Code
41278 <<My code>>=
41279 \end_layout
41280
41281 \begin_layout LyX-Code
41282   code
41283 \end_layout
41284
41285 \begin_layout LyX-Code
41286   more code
41287 \end_layout
41288
41289 \begin_layout LyX-Code
41290   even more code
41291 \end_layout
41292
41293 \begin_layout LyX-Code
41294   @
41295 \end_layout
41296
41297 \begin_layout Standard
41298 The problem is that whatever is written in between the << and the 
41299 \family typewriter
41300 @
41301 \family default
41302  must be taken literally,
41303  i.
41304 \begin_inset space \thinspace{}
41305 \end_inset
41306
41307 e.
41308 \begin_inset space \space{}
41309 \end_inset
41310
41311 \SpecialChar LyX
41312  should be prevented from making any special interpretation of what has been written.
41313  This is also handled by 
41314 \begin_inset Flex Noun
41315 status collapsed
41316
41317 \begin_layout Plain Layout
41318 Chunk
41319 \end_layout
41320
41321 \end_inset
41322
41323 ,
41324  that works like a normal text inset but has a free spacing capability.
41325 \end_layout
41326
41327 \begin_layout Standard
41328 As a special note,
41329  you can also use the 
41330 \begin_inset Quotes eld
41331 \end_inset
41332
41333 %def
41334 \begin_inset Quotes erd
41335 \end_inset
41336
41337  construct of Noweb in your chunks to add items to Noweb's identifier cross-reference:
41338 \end_layout
41339
41340 \begin_layout LyX-Code
41341 <<My chunk>>=
41342 \end_layout
41343
41344 \begin_layout LyX-Code
41345 def some_function(args):
41346 \end_layout
41347
41348 \begin_layout LyX-Code
41349    "This is the doc string for this function."
41350 \end_layout
41351
41352 \begin_layout LyX-Code
41353    print "My args:
41354  ",
41355  args
41356 \end_layout
41357
41358 \begin_layout LyX-Code
41359 @ %def some_function
41360 \end_layout
41361
41362 \begin_layout Standard
41363 For an example of this usage and the resulting cross-reference output,
41364  look at the Literate python program in 
41365 \emph on
41366 LIBDIR/examples/listerrors.lyx
41367 \emph default
41368  which should make this all clear.
41369 \end_layout
41370
41371 \begin_layout Paragraph
41372 Generating the documentation
41373 \end_layout
41374
41375 \begin_layout Standard
41376 At this point you already have a new document file with a proper document class,
41377  and with some code and text on it.
41378  How do I print it?
41379  The answer is simple,
41380  you select 
41381 \family sans
41382 View\SpecialChar menuseparator
41383 DVI,
41384
41385 \family default
41386  etc.
41387  Just like you would do for a plain document.
41388  No special procedure is required.
41389 \end_layout
41390
41391 \begin_layout Standard
41392 To help orientate you,
41393  I will now explain what happens inside \SpecialChar LyX
41394 :
41395 \end_layout
41396
41397 \begin_layout Enumerate
41398 When the 
41399 \family sans
41400 Update\SpecialChar menuseparator
41401 DVI
41402 \family default
41403  menu option is chosen,
41404  a \SpecialChar LaTeX
41405  file is generated.
41406  
41407 \end_layout
41408
41409 \begin_deeper
41410 \begin_layout Standard
41411 If the document is of any literate class the generated file will be named with an extension name defined by the 
41412 \begin_inset Quotes eld
41413 \end_inset
41414
41415 literate
41416 \begin_inset Quotes erd
41417 \end_inset
41418
41419  format (defined in the Preferences panel),
41420  otherwise the file will have the usual 
41421 \family typewriter
41422 .tex
41423 \family default
41424  extension.
41425 \end_layout
41426
41427 \end_deeper
41428 \begin_layout Enumerate
41429 Note that the only difference so far is in the name of the file,
41430  no special processing is required by \SpecialChar LyX
41431 .
41432  Given that you formatted the code using the 
41433 \begin_inset Flex Noun
41434 status collapsed
41435
41436 \begin_layout Plain Layout
41437 Chunk
41438 \end_layout
41439
41440 \end_inset
41441
41442  inset that,
41443  by itself,
41444  takes care of the business.
41445 \end_layout
41446
41447 \begin_layout Enumerate
41448 If the document is of any literate class \SpecialChar LyX
41449  will then use the internal \SpecialChar LyX
41450  to Noweb converter,
41451  followed by the Noweb to \SpecialChar LaTeX
41452  converter
41453 \begin_inset Foot
41454 status collapsed
41455
41456 \begin_layout Plain Layout
41457 The converters are defined in the 
41458 \family sans
41459 Tools\SpecialChar menuseparator
41460 Preferences
41461 \family default
41462  panel,
41463  under the 
41464 \begin_inset Quotes eld
41465 \end_inset
41466
41467 Conversion
41468 \begin_inset Quotes erd
41469 \end_inset
41470
41471  tab.
41472  See section 
41473 \emph on
41474 Converters
41475 \emph default
41476  of the 
41477 \emph on
41478 Customization
41479 \emph default
41480  manual for general information about converters.
41481 \end_layout
41482
41483 \end_inset
41484
41485  to generate the \SpecialChar LaTeX
41486  file.
41487 \end_layout
41488
41489 \begin_deeper
41490 \begin_layout Standard
41491 Otherwise it will just skip this step.
41492 \end_layout
41493
41494 \end_deeper
41495 \begin_layout Enumerate
41496 Finally,
41497  \SpecialChar LaTeX
41498  is invoked and the regular post processing continues as in a plain document.
41499 \end_layout
41500
41501 \begin_layout Standard
41502 Independence from a particular 
41503 \begin_inset Quotes eld
41504 \end_inset
41505
41506 literate tool
41507 \begin_inset Quotes erd
41508 \end_inset
41509
41510  is easily achieved by changing the commands that are run by the various converters.
41511 \end_layout
41512
41513 \begin_layout Paragraph
41514 Generating the code
41515 \end_layout
41516
41517 \begin_layout Standard
41518 When the build menu option is chosen or the corresponding button in the toolbar is pressed,
41519  a \SpecialChar LaTeX
41520  file is generated just like step 1 above.
41521  Next,
41522  \SpecialChar LyX
41523  invokes the 
41524 \family typewriter
41525 Noweb->Program
41526 \family default
41527  converter.
41528  This converter needs to be defined by the user and is not installed by default,
41529  though the Program format is.
41530  This converter (like any other converter) will have two parts:
41531 \end_layout
41532
41533 \begin_layout Enumerate
41534 The converter program itself.
41535  This program performs the conversion from the one format to the other (in this case,
41536  from the Noweb format to the Program pseudo-format).
41537 \end_layout
41538
41539 \begin_layout Enumerate
41540 The error log parser.
41541  This is a program whose sole purpose is to rewrite error messages in a format that \SpecialChar LyX
41542  understands.
41543  This makes it possible for \SpecialChar LyX
41544  to place error boxes in the right places in the file buffer.
41545 \end_layout
41546
41547 \begin_layout Standard
41548 The first part,
41549  the 
41550 \begin_inset Quotes eld
41551 \end_inset
41552
41553 Converter
41554 \begin_inset Quotes erd
41555 \end_inset
41556
41557  setting,
41558  should be set to
41559 \end_layout
41560
41561 \begin_layout LyX-Code
41562
41563 \family typewriter
41564 build-script $$i
41565 \family default
41566  $$r
41567 \end_layout
41568
41569 \begin_layout Standard
41570 This basically means that \SpecialChar LyX
41571  will call 
41572 \begin_inset Quotes eld
41573 \end_inset
41574
41575 build-script
41576 \begin_inset Quotes erd
41577 \end_inset
41578
41579  (a program or script) with the name of the Noweb file (normally a file in the \SpecialChar LyX
41580  temp directory) and the directory path of the original \SpecialChar LyX
41581  file.
41582  
41583 \end_layout
41584
41585 \begin_layout Standard
41586 This is an implementation of 
41587 \begin_inset Quotes eld
41588 \end_inset
41589
41590 build-script
41591 \begin_inset Quotes erd
41592 \end_inset
41593
41594  that you can place in a directory on your path:
41595 \end_layout
41596
41597 \begin_layout LyX-Code
41598
41599 \family sans
41600 #!/bin/sh
41601 \end_layout
41602
41603 \begin_layout LyX-Code
41604
41605 \family sans
41606 #
41607 \end_layout
41608
41609 \begin_layout LyX-Code
41610
41611 \family sans
41612 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
41613 \end_layout
41614
41615 \begin_layout Standard
41616 The next part of the converter setting is the 
41617 \begin_inset Quotes eld
41618 \end_inset
41619
41620 Flags
41621 \begin_inset Quotes erd
41622 \end_inset
41623
41624  which is to be set to
41625 \end_layout
41626
41627 \begin_layout LyX-Code
41628
41629 \family typewriter
41630 parselog=$$s/scripts/listerrors
41631 \end_layout
41632
41633 \begin_layout Standard
41634 This will run any errors that are generated by the 
41635 \begin_inset Quotes eld
41636 \end_inset
41637
41638 build-script
41639 \begin_inset Quotes erd
41640 \end_inset
41641
41642  process through the 
41643 \begin_inset Quotes eld
41644 \end_inset
41645
41646 listerrors
41647 \begin_inset Quotes erd
41648 \end_inset
41649
41650  program.
41651 \end_layout
41652
41653 \begin_layout Standard
41654 The build will normally take place in \SpecialChar LyX
41655 's temporary directory,
41656  so the files produced by the conversion will be in that directory.
41657  \SpecialChar LyX
41658  will copy out what it regards as the `main' file,
41659  but the 
41660 \family typewriter
41661 Noweb->Program
41662 \family default
41663  conversion may produce several files,
41664  and so most of these would then be deleted when \SpecialChar LyX
41665  was closed.
41666  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.
41667 \end_layout
41668
41669 \begin_layout Paragraph
41670 Build instructions in the document
41671 \end_layout
41672
41673 \begin_layout Standard
41674 The last piece of the integration between \SpecialChar LyX
41675  and noweb is the 
41676 \begin_inset Quotes eld
41677 \end_inset
41678
41679 build-script
41680 \begin_inset Quotes erd
41681 \end_inset
41682
41683  chunk.
41684  Generally,
41685  the instructions for building your program should be embedded in a chunk of its own.
41686  The noweb-specific 
41687 \begin_inset Quotes eld
41688 \end_inset
41689
41690 build-script
41691 \begin_inset Quotes erd
41692 \end_inset
41693
41694  above uses the notangle command to look for this chunk (called 
41695 \begin_inset Quotes eld
41696 \end_inset
41697
41698 build-script
41699 \begin_inset Quotes erd
41700 \end_inset
41701
41702 ) and runs its contents through 
41703 \begin_inset Quotes eld
41704 \end_inset
41705
41706 sh
41707 \begin_inset Quotes erd
41708 \end_inset
41709
41710 .
41711 \end_layout
41712
41713 \begin_layout Standard
41714 Typically,
41715  such a chunk would look something like this:
41716 \end_layout
41717
41718 \begin_layout LyX-Code
41719 <<build-script>>=
41720 \end_layout
41721
41722 \begin_layout LyX-Code
41723 #!/bin/sh
41724 \begin_inset Newline newline
41725 \end_inset
41726
41727 if [ -z "${NOWEB_SOURCE}" ]
41728 \begin_inset Newline newline
41729 \end_inset
41730
41731 then
41732 \end_layout
41733
41734 \begin_layout LyX-Code
41735 NOWEB_SOURCE=myfile.nw
41736 \begin_inset Newline newline
41737 \end_inset
41738
41739 fi
41740 \begin_inset Newline newline
41741 \end_inset
41742
41743 [...
41744  code to extract files ...
41745  use NOWEB_OUTPUT_DIR here ...]
41746 \begin_inset Newline newline
41747 \end_inset
41748
41749 [...
41750  code to compile files ...]
41751 \begin_inset Newline newline
41752 \end_inset
41753
41754 @
41755 \end_layout
41756
41757 \begin_layout Standard
41758 Look in 
41759 \change_deleted 564990737 1672161716
41760
41761 \emph on
41762 LIBDIR/examples/listerrors.lyx
41763 \emph default
41764  or in 
41765 \emph on
41766 LIBDIR/examples/Literate.lyx
41767 \change_inserted 564990737 1672161716
41768
41769 \family sans
41770 \emph default
41771 File\SpecialChar menuseparator
41772 Open Example\SpecialChar menuseparator
41773 Modules\SpecialChar menuseparator
41774 Noweb Listerrors
41775 \change_unchanged
41776
41777 \family default
41778  
41779 \change_inserted -712698321 1674917096
41780 or in 
41781 \family sans
41782 File\SpecialChar menuseparator
41783 Open Example\SpecialChar menuseparator
41784 Modules\SpecialChar menuseparator
41785 Noweb2LyX
41786 \family default
41787  
41788 \change_unchanged
41789 which implement 
41790 \change_deleted 564990737 1672161729
41791 two 
41792 \change_unchanged
41793 versions of the 
41794 \begin_inset Quotes eld
41795 \end_inset
41796
41797 listerrors
41798 \begin_inset Quotes erd
41799 \end_inset
41800
41801  program for some illustrations of how all of these pieces go together 
41802 \change_deleted -712698321 1674917093
41803 or in 
41804 \change_deleted 564990737 1672161756
41805
41806 \emph on
41807 LIBDIR/examples/noweb2lyx.lyx
41808 \change_deleted -712698321 1674917093
41809
41810 \family sans
41811 \emph default
41812 File\SpecialChar menuseparator
41813 Open Example\SpecialChar menuseparator
41814 Modules\SpecialChar menuseparator
41815 Noweb2\SpecialChar LyX
41816
41817 \change_unchanged
41818
41819 \family default
41820 \emph on
41821 .
41822
41823 \emph default
41824  Interestingly,
41825  these 
41826 \change_deleted 564990737 1672161767
41827 three 
41828 \change_unchanged
41829 files show off the language-indepence of the \SpecialChar LyX
41830  literate programming support since they are written in Python
41831 \change_deleted 564990737 1672161782
41832 ,
41833  C
41834 \change_unchanged
41835  and Perl respectively.
41836 \end_layout
41837
41838 \begin_layout Subsubsection
41839 Configuring \SpecialChar LyX
41840
41841 \end_layout
41842
41843 \begin_layout Standard
41844 All the Literate Programming support is configured by the 
41845 \family sans
41846 Tools\SpecialChar menuseparator
41847 Preferences
41848 \family default
41849  panel in the 
41850 \begin_inset Quotes eld
41851 \end_inset
41852
41853 File Handling
41854 \begin_inset Quotes erd
41855 \end_inset
41856
41857  tab.
41858  The important parts are:
41859 \end_layout
41860
41861 \begin_layout Description
41862 the
41863 \begin_inset space ~
41864 \end_inset
41865
41866
41867 \begin_inset Quotes eld
41868 \end_inset
41869
41870 NoWeb
41871 \begin_inset Quotes erd
41872 \end_inset
41873
41874
41875 \begin_inset space ~
41876 \end_inset
41877
41878 format Set up via the File Formats tab,
41879  this is where the Noweb-specific pieces are set up.
41880  The 
41881 \family sans
41882 GUI Name
41883 \family default
41884  is set to 
41885 \family typewriter
41886 NoWeb
41887 \family default
41888 ,
41889  the file extension is set to 
41890 \family typewriter
41891 .nw
41892 \family default
41893 .
41894  This tells \SpecialChar LyX
41895  to create a file with a 
41896 \family typewriter
41897 .nw
41898 \family default
41899  extension in the first step of the conversion process.
41900 \end_layout
41901
41902 \begin_layout Description
41903 the
41904 \begin_inset space ~
41905 \end_inset
41906
41907
41908 \family sans
41909 Program
41910 \family default
41911
41912 \begin_inset space ~
41913 \end_inset
41914
41915 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).
41916 \end_layout
41917
41918 \begin_layout Description
41919
41920 \family sans
41921 NoWeb
41922 \family default
41923 ->
41924 \family sans
41925 \SpecialChar LaTeX
41926
41927 \family default
41928  This converter performs the 
41929 \begin_inset Quotes eld
41930 \end_inset
41931
41932 weaving
41933 \begin_inset Quotes erd
41934 \end_inset
41935
41936  of the literate document.
41937  For Noweb,
41938  it is set to 
41939 \begin_inset Quotes eld
41940 \end_inset
41941
41942
41943 \family typewriter
41944 noweave -delay -index $$i > $$o
41945 \family default
41946
41947 \begin_inset Quotes erd
41948 \end_inset
41949
41950
41951 \end_layout
41952
41953 \begin_layout Description
41954
41955 \family sans
41956 NoWeb
41957 \family default
41958 ->
41959 \family sans
41960 Program
41961 \family default
41962  This performs the 
41963 \begin_inset Quotes eld
41964 \end_inset
41965
41966 tangling step
41967 \begin_inset Quotes erd
41968 \end_inset
41969
41970 .
41971  As stated above,
41972  the Converter is set to 
41973 \begin_inset Quotes eld
41974 \end_inset
41975
41976
41977 \family typewriter
41978 build-script $$i
41979 \family default
41980  $$r
41981 \begin_inset Quotes erd
41982 \end_inset
41983
41984 ,
41985  with Flags set to
41986 \begin_inset Newline newline
41987 \end_inset
41988
41989
41990 \begin_inset Quotes eld
41991 \end_inset
41992
41993
41994 \family typewriter
41995 parselog=$$s/scripts/listerrors
41996 \family default
41997
41998 \begin_inset Quotes erd
41999 \end_inset
42000
42001 .
42002 \end_layout
42003
42004 \begin_layout Subsubsection
42005 Debug extensions
42006 \end_layout
42007
42008 \begin_layout Standard
42009 There is also a new function implemented in the \SpecialChar LyX
42010  server,
42011  the 
42012 \begin_inset Quotes eld
42013 \end_inset
42014
42015 server-goto-file-row" function,
42016  to be used with ddd/gdb or other debugger.
42017  
42018 \end_layout
42019
42020 \begin_layout Standard
42021 When debugging code with ddd/gdb,
42022  it is possible to invoke a text editor at the current execution position with a single key stroke.
42023  The default ddd configuration for that is shift-ctrl-V.
42024  It happens that you can define the editor command line invocation in ddd by accessing the 
42025 \family sans
42026 Edit\SpecialChar menuseparator
42027 Preferences\SpecialChar menuseparator
42028 Helpers
42029 \family default
42030  dialog and changing the "Edit Sources" entry.
42031 \end_layout
42032
42033 \begin_layout Standard
42034 I take advantage of the newly created \SpecialChar LyX
42035  server function and this ddd feature,
42036  and set 
42037 \begin_inset Quotes eld
42038 \end_inset
42039
42040 Edit Sources
42041 \begin_inset Quotes erd
42042 \end_inset
42043
42044  to:
42045 \end_layout
42046
42047 \begin_layout LyX-Code
42048 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
42049 \end_layout
42050
42051 \begin_layout Standard
42052 With this,
42053  whenever you are using ddd and find a point in the program that you want to edit,
42054  you just press shift-ctrl-V (in the ddd window),
42055  and ddd will forward this information to \SpecialChar LyX
42056  through the \SpecialChar LyX
42057  server and then the \SpecialChar LyX
42058  window will show the same file with the cursor at the same position ddd was pointing to.
42059  No more guessing or long scrolling to locate a point in the program back from debugging !
42060 \end_layout
42061
42062 \begin_layout Standard
42063 Note however that you must enable the \SpecialChar LyX
42064  server to get this feature working (it is disabled by default).
42065  Sec.
42066 \begin_inset space ~
42067 \end_inset
42068
42069
42070 \begin_inset CommandInset ref
42071 LatexCommand ref
42072 reference "sec:Starting-the-Server"
42073 nolink "false"
42074
42075 \end_inset
42076
42077  explains how to do that.
42078 \end_layout
42079
42080 \begin_layout Subsubsection
42081 Toolbar extensions
42082 \end_layout
42083
42084 \begin_layout Standard
42085 There are six new buttons that can be added to your \SpecialChar LyX
42086  toolbar.
42087  Four of these buttons are short cuts to layout styles:
42088  
42089 \family sans
42090 Standard
42091 \family default
42092 ,
42093  
42094 \family sans
42095 Section
42096 \family default
42097 ,
42098  
42099 \family sans
42100 \SpecialChar LaTeX
42101
42102 \family default
42103 ,
42104  and 
42105 \family sans
42106 \SpecialChar LyX
42107 -Code
42108 \family default
42109 ,
42110  one for the custom inset 
42111 \family sans
42112 Chunk
42113 \family default
42114 .
42115  The last one is a short cut to the 
42116 \begin_inset Quotes eld
42117 \end_inset
42118
42119 Build Program
42120 \begin_inset Quotes erd
42121 \end_inset
42122
42123  File menu entry.
42124  
42125 \end_layout
42126
42127 \begin_layout Standard
42128 \SpecialChar LyX
42129  has a range of buttons that are available for tool bar customization.
42130  In my toolbar I like to combine the six short cuts above with two more:
42131  One for 
42132 \family sans
42133 Document
42134 \family default
42135 \SpecialChar menuseparator
42136
42137 \family sans
42138 Update
42139 \family default
42140 \SpecialChar menuseparator
42141
42142 \family sans
42143 DVI
42144 \family default
42145  and the other for 
42146 \family sans
42147 Document\SpecialChar menuseparator
42148 View\SpecialChar menuseparator
42149 DVI
42150 \family default
42151  File menu entries.
42152  Here is how it looks like:
42153 \end_layout
42154
42155 \begin_layout LyX-Code
42156 Toolbar
42157 \end_layout
42158
42159 \begin_layout LyX-Code
42160   Layouts
42161 \end_layout
42162
42163 \begin_layout LyX-Code
42164   Icon "layout Standard"
42165 \end_layout
42166
42167 \begin_layout LyX-Code
42168   Icon "layout Section"
42169 \end_layout
42170
42171 \begin_layout LyX-Code
42172   Icon "layout \SpecialChar LaTeX
42173 "
42174 \end_layout
42175
42176 \begin_layout LyX-Code
42177   Icon "layout \SpecialChar LyX
42178 -Code"
42179 \end_layout
42180
42181 \begin_layout LyX-Code
42182   Icon "flex.insert Chunk"
42183 \end_layout
42184
42185 \begin_layout LyX-Code
42186   Separator
42187 \end_layout
42188
42189 \begin_layout LyX-Code
42190   Icon "buffer-view"
42191 \end_layout
42192
42193 \begin_layout LyX-Code
42194   Icon "buffer-typeset"
42195 \end_layout
42196
42197 \begin_layout LyX-Code
42198   Icon "build-program"
42199 \end_layout
42200
42201 \begin_layout LyX-Code
42202   Separator
42203 \end_layout
42204
42205 \begin_layout LyX-Code
42206 .
42207 \end_layout
42208
42209 \begin_layout LyX-Code
42210 .
42211 \end_layout
42212
42213 \begin_layout LyX-Code
42214 .
42215 \end_layout
42216
42217 \begin_layout LyX-Code
42218 End
42219 \end_layout
42220
42221 \begin_layout Subsubsection
42222 Colors customization
42223 \end_layout
42224
42225 \begin_layout Standard
42226 There are a number of colors in \SpecialChar LyX
42227  that can be customized in 
42228 \family sans
42229 Preferences
42230 \family default
42231 .
42232  One of the things that bothers people is the \SpecialChar LaTeX
42233  font color.
42234  The default color is red,
42235  since the chunks uses \SpecialChar LaTeX
42236  font,
42237  and there is a lot of chunks in literate documents,
42238  you may get tired of seeing everything in red.
42239  You can change it by going to the tabs 
42240 \family sans
42241 Look&Feel
42242 \family default
42243 ,
42244  
42245 \family sans
42246 Colors.
42247 \end_layout
42248
42249 \begin_layout Standard
42250 The next thing is the visible presence of the newline character in the screen.
42251  You can choose the color of this particular character and make it blend in the background.
42252  I recommend you choosing a color that is close to the background but not equal,
42253  that way you still can see it is there,
42254  but it is not bothering you anymore.
42255 \end_layout
42256
42257 \begin_layout Subsection
42258 \SpecialChar LyX
42259  and knitr/Sweave
42260 \end_layout
42261
42262 \begin_layout Standard
42263 Support for 
42264 \family sans
42265 knitr
42266 \family default
42267  and 
42268 \family sans
42269 Sweave
42270 \family default
42271  is documented in
42272 \change_inserted 564990737 1672161863
42273  
42274 \family sans
42275 Help\SpecialChar menuseparator
42276 Specific Manuals\SpecialChar menuseparator
42277 Knitr
42278 \family default
42279  and
42280 \change_unchanged
42281  
42282 \change_deleted 564990737 1671643409
42283 the 
42284 \emph on
42285 knitr.lyx
42286 \emph default
42287  example file
42288 \change_inserted 564990737 1672161856
42289
42290 \family sans
42291 File\SpecialChar menuseparator
42292 Open Example\SpecialChar menuseparator
42293 Modules\SpecialChar menuseparator
42294 Rnw (knitr)
42295 \change_unchanged
42296
42297 \family default
42298  and in 
42299 \change_deleted 564990737 1671643461
42300 the Sweave manual (menu 
42301 \family sans
42302 Help\SpecialChar menuseparator
42303 Specific Manuals
42304 \family default
42305 )
42306 \change_inserted 564990737 1672161856
42307
42308 \family sans
42309 Help\SpecialChar menuseparator
42310 Specific Manuals\SpecialChar menuseparator
42311 Sweave
42312 \change_deleted 564990737 1672161921
42313
42314 \family default
42315 .
42316
42317 \change_inserted 564990737 1672161917
42318  and 
42319 \family sans
42320 File\SpecialChar menuseparator
42321 Open Example\SpecialChar menuseparator
42322 Modules\SpecialChar menuseparator
42323 Sweave
42324 \family default
42325 .
42326 \change_deleted 564990737 1672742969
42327
42328 \end_layout
42329
42330 \begin_layout Standard
42331
42332 \change_deleted 564990737 1671355343
42333 Special features
42334 \end_layout
42335
42336 \begin_layout Standard
42337
42338 \change_deleted 564990737 1671355343
42339 You can do everything with \SpecialChar LyX
42340  that you can do with \SpecialChar LaTeX
42341 .
42342  However,
42343  \SpecialChar LyX
42344  cannot support every \SpecialChar LaTeX
42345  feature directly.
42346  But you can always use \SpecialChar TeX
42347  Code.
42348  This chapter shows you some more special things you might want to use.
42349  For other special things you can do with figures,
42350  tables,
42351  floats,
42352  boxes and notes,
42353  have a look at the 
42354 \emph on
42355 Embedded
42356 \begin_inset space ~
42357 \end_inset
42358
42359 Objects
42360 \emph default
42361  manual.
42362 \change_inserted -712698321 1674917293
42363
42364 \end_layout
42365
42366 \begin_layout Standard
42367
42368 \change_inserted -712698321 1674917303
42369 \begin_inset CommandInset index_print
42370 LatexCommand printindex
42371 type "idx"
42372 name "Index"
42373
42374 \end_inset
42375
42376
42377 \change_unchanged
42378
42379 \end_layout
42380
42381 \end_body
42382 \end_document