]> git.lyx.org Git - lyx.git/blob - lib/doc/UserGuide.lyx
UserGuide.lyx and Math.lyx: use and describe LyX's native visible space
[lyx.git] / lib / doc / UserGuide.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 474
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % DO NOT ALTER THIS PREAMBLE!!!
8 %
9 % This preamble is designed to ensure that the User's Guide prints
10 % out as advertised. If you mess with this preamble,
11 % parts of the User's Guide may not print out as expected.  If you
12 % have problems LaTeXing this file, please contact 
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
15
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
18
19  % set fonts for nicer pdf view
20  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
21
22 \fi % end if pdflatex is used
23
24 % for correct jump positions whe clicking on a link to a float
25 \usepackage[figure]{hypcap}
26
27 % the pages of the TOC is numbered roman
28 % and a pdf-bookmark for the TOC is added
29 \let\myTOC\tableofcontents
30 \renewcommand\tableofcontents{%
31   \frontmatter
32   \pdfbookmark[1]{\contentsname}{}
33   \myTOC
34   \mainmatter }
35
36 % macro for italic page numbers in the index
37 \newcommand{\IndexDef}[1]{\textit{#1}}
38
39 % for customized page headers/footers
40 % only needed because they are only used in one section of the document
41 \usepackage{fancyhdr}
42 % change header rule width
43 \renewcommand{\headrulewidth}{2pt}
44
45 % workaround for a makeindex bug,
46 % see sec. "Index Entry Order"
47 % only uncomment this when you are using makindex
48 %\let\OrgIndex\index 
49 %\renewcommand*{\index}[1]{\OrgIndex{#1}}
50 \end_preamble
51 \options refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
52 \use_default_options false
53 \begin_modules
54 customHeadersFooters
55 enumitem
56 \end_modules
57 \maintain_unincluded_children false
58 \language english
59 \language_package default
60 \inputencoding auto
61 \fontencoding global
62 \font_roman default
63 \font_sans default
64 \font_typewriter default
65 \font_math auto
66 \font_default_family default
67 \use_non_tex_fonts false
68 \font_sc false
69 \font_osf false
70 \font_sf_scale 100
71 \font_tt_scale 100
72 \graphics default
73 \default_output_format default
74 \output_sync 0
75 \bibtex_command bibtex
76 \index_command default
77 \paperfontsize 12
78 \spacing single
79 \use_hyperref true
80 \pdf_title "The LyX User's Guide"
81 \pdf_author "LyX Team"
82 \pdf_subject "LyX"
83 \pdf_keywords "LyX"
84 \pdf_bookmarks true
85 \pdf_bookmarksnumbered true
86 \pdf_bookmarksopen false
87 \pdf_bookmarksopenlevel 1
88 \pdf_breaklinks false
89 \pdf_pdfborder false
90 \pdf_colorlinks true
91 \pdf_backref false
92 \pdf_pdfusetitle false
93 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
94 \papersize default
95 \use_geometry false
96 \use_package amsmath 1
97 \use_package amssymb 1
98 \use_package cancel 0
99 \use_package esint 1
100 \use_package mathdots 1
101 \use_package mathtools 0
102 \use_package mhchem 1
103 \use_package stackrel 0
104 \use_package stmaryrd 0
105 \use_package undertilde 0
106 \cite_engine basic
107 \cite_engine_type default
108 \biblio_style plain
109 \use_bibtopic false
110 \use_indices false
111 \paperorientation portrait
112 \suppress_date false
113 \justification true
114 \use_refstyle 0
115 \notefontcolor #0000ff
116 \branch Question
117 \selected 1
118 \filename_suffix 0
119 \color #00ff00
120 \end_branch
121 \branch Answer
122 \selected 0
123 \filename_suffix 0
124 \color #aa55ff
125 \end_branch
126 \index Index
127 \shortcut idx
128 \color #008000
129 \end_index
130 \secnumdepth 3
131 \tocdepth 2
132 \paragraph_separation indent
133 \paragraph_indentation default
134 \quotes_language english
135 \papercolumns 1
136 \papersides 2
137 \paperpagestyle default
138 \tracking_changes false
139 \output_changes false
140 \html_math_output 0
141 \html_css_as_file 0
142 \html_be_strict true
143 \end_header
144
145 \begin_body
146
147 \begin_layout Title
148 The LyX User's Guide
149 \end_layout
150
151 \begin_layout Author
152 by the LyX Team
153 \begin_inset Foot
154 status collapsed
155
156 \begin_layout Plain Layout
157 \noindent
158 If you have comments on or error corrections to this documentation, please
159  send them to the LyX Documentation mailing list: 
160 \begin_inset CommandInset href
161 LatexCommand href
162 target "lyx-docs@lists.lyx.org"
163 type "mailto:"
164
165 \end_inset
166
167
168 \end_layout
169
170 \end_inset
171
172
173 \begin_inset Newline newline
174 \end_inset
175
176
177 \begin_inset Newline newline
178 \end_inset
179
180 Version 2.1.x
181 \begin_inset Note Note
182 status collapsed
183
184 \begin_layout Plain Layout
185 The latest PDF-version of this document can be found here:
186 \begin_inset Newline newline
187 \end_inset
188
189
190 \series bold
191 http://wiki.lyx.org/LyX/DocumentationDevelopment#UserGuide
192 \end_layout
193
194 \end_inset
195
196
197 \end_layout
198
199 \begin_layout Standard
200 \begin_inset CommandInset toc
201 LatexCommand tableofcontents
202
203 \end_inset
204
205
206 \end_layout
207
208 \begin_layout Chapter
209 Getting Started
210 \end_layout
211
212 \begin_layout Section
213 What is LyX?
214 \end_layout
215
216 \begin_layout Standard
217 LyX is a document preparation system.
218  It is a tool for producing beautiful manu\SpecialChar \-
219 scripts, publishable books, business
220  letters and proposals, and even poetry.
221  It is unlike most other 
222 \begin_inset Quotes eld
223 \end_inset
224
225 word processors
226 \begin_inset Quotes erd
227 \end_inset
228
229  in the sense that it uses the paradigm of a markup language as its core
230  editing style.
231  That means that when you type a section header, you mark it as a 
232 \begin_inset Quotes eld
233 \end_inset
234
235 Section
236 \begin_inset Quotes erd
237 \end_inset
238
239 , not as 
240 \begin_inset Quotes eld
241 \end_inset
242
243 Bold, 17
244 \begin_inset space \thinspace{}
245 \end_inset
246
247 pt type, left justified, 5
248 \begin_inset space \thinspace{}
249 \end_inset
250
251 mm space below
252 \begin_inset Quotes erd
253 \end_inset
254
255 .
256  LyX takes care of the typesetting for you; so you deal only with concepts,
257  not with mechanics.
258 \end_layout
259
260 \begin_layout Standard
261 This philosophy is explained in greater detail in the 
262 \emph on
263 Introduction
264 \emph default
265 manual.
266  If you haven't read it yet, you need to.
267  Yes, we mean now.
268 \end_layout
269
270 \begin_layout Standard
271 The 
272 \emph on
273 Introduction
274 \emph default
275  manual describes several things in addition to LyX's philosophy: most important
276 ly, the format of all of the manuals.
277  If you don't read it, you will have a bear of a time navigating this manual.
278  You might also be better served looking in one of the other manuals instead
279  of this one.
280  The 
281 \emph on
282 Introduction
283 \emph default
284  manual describes that, too.
285 \end_layout
286
287 \begin_layout Section
288 How LyX Looks
289 \end_layout
290
291 \begin_layout Standard
292 Like most applications, LyX has the familiar menu bar across the top of
293  its window.
294  Below it is a toolbar with a pulldown box and various buttons.
295  There is, of course, a vertical scrollbar and a main work area for editing
296  documents.
297 \end_layout
298
299 \begin_layout Standard
300 Note that there is no horizontal scrollbar.
301  This is not a bug or an oversight, but intentional.
302  When you read a book, you expect the end of a line to wrap around to the
303  next line.
304  Text overflows onto new pages in a vertical fashion, hence the need for
305  only a vertical scrollbar.
306  There are three cases where you might want a horizontal scrollbar.
307  The first case is large images.
308  To avoid them being displayed larger than your screen, left click on the
309  image and use the option 
310 \family sans
311 Scale on Screen
312 \family default
313  in the tab 
314 \family sans
315 LaTeX and LyX options
316 \family default
317 .
318  The second and third cases are tables and equations which are wider than
319  the LyX window.
320  You can use the arrow keys to scroll horizontally through the table, but
321  this doesn't work for equations yet.
322 \end_layout
323
324 \begin_layout Standard
325 For a brief description of all LyX menus and toolbar buttons, have a look
326  at Appendix
327 \begin_inset space ~
328 \end_inset
329
330
331 \begin_inset CommandInset ref
332 LatexCommand ref
333 reference "chap:The-User-Interface"
334
335 \end_inset
336
337 .
338 \end_layout
339
340 \begin_layout Section
341 HELP
342 \end_layout
343
344 \begin_layout Standard
345 The help system consists of the LyX manuals.
346  You can read all of the manuals from inside LyX.
347  Just select the manual you want to read from the 
348 \family sans
349 Help
350 \family default
351  menu.
352 \end_layout
353
354 \begin_layout Section
355 Basic LyX Setup
356 \begin_inset CommandInset label
357 LatexCommand label
358 name "sec:Basic-LyX-Setup"
359
360 \end_inset
361
362
363 \end_layout
364
365 \begin_layout Standard
366 Almost all features of LyX can be configured via the menu 
367 \family sans
368 Tools\SpecialChar \menuseparator
369 Preferences
370 \family default
371 .
372 \begin_inset Index idx
373 status collapsed
374
375 \begin_layout Plain Layout
376 Preferences
377 \end_layout
378
379 \end_inset
380
381  LyX is able to inspect your system to see what programs, LaTeX document
382  classes and LaTeX packages are available.
383  It uses this knowledge to give reasonable defaults for the preferences
384  settings.
385  Although this configuration has already been done when LyX was installed
386  on your system, you might have some items that you installed locally, e.
387 \begin_inset space \thinspace{}
388 \end_inset
389
390 g.
391 \begin_inset space \space{}
392 \end_inset
393
394 new LaTeX classes, and which are not seen by LyX.
395  To force LyX to re-inspect your system, you should use 
396 \family sans
397 Tools\SpecialChar \menuseparator
398 Reconfigure
399 \family default
400 .
401 \begin_inset Index idx
402 status collapsed
403
404 \begin_layout Plain Layout
405 Reconfiguration of LyX
406 \end_layout
407
408 \end_inset
409
410  You should then restart LyX to ensure that the changes are taken into account.
411 \end_layout
412
413 \begin_layout Section
414 LaTeX Setup
415 \begin_inset CommandInset label
416 LatexCommand label
417 name "sec:LaTeX-Setup"
418
419 \end_inset
420
421
422 \end_layout
423
424 \begin_layout Standard
425 You can edit documents in LyX without having LaTeX installed, but you will
426  not be able to create PDFs or print your documents unless you do have it
427  installed.
428  However, some LyX documents use DocBook as the “backend” that can produce
429  PDFs and the like, and every LyX document can always be output as plain
430  text or as XHTML.
431 \end_layout
432
433 \begin_layout Standard
434 Some document classes may depend upon specific LaTeX or DocBook classes
435  or packages.
436  Such document classes can be used even if you do not have the required
437  files installed, but you will not be able to produce certain kinds of output.
438 \end_layout
439
440 \begin_layout Standard
441 The LaTeX packages that LyX has found on your system are listed in a file
442  you can view from the menu 
443 \family sans
444 Help\SpecialChar \menuseparator
445 LaT
446 \begin_inset ERT
447 status collapsed
448
449 \begin_layout Plain Layout
450
451 {}
452 \end_layout
453
454 \end_inset
455
456 eX
457 \begin_inset space ~
458 \end_inset
459
460 Configuration
461 \family default
462 .
463  If you are missing packages you need, then you must install them and then
464  reconfigure LyX (menu 
465 \family sans
466 Tools\SpecialChar \menuseparator
467 Reconfigure
468 \family default
469 ).
470 \begin_inset Note Note
471 status collapsed
472
473 \begin_layout Plain Layout
474 The two braces in the TeX Code box prevent that the term 
475 \begin_inset Quotes eld
476 \end_inset
477
478 LaTeX
479 \begin_inset Quotes erd
480 \end_inset
481
482  from being printed with sub- and superscript letters.
483  More about TeX Code is described in section
484 \begin_inset space ~
485 \end_inset
486
487
488 \begin_inset CommandInset ref
489 LatexCommand ref
490 reference "sec:TeX-Code"
491
492 \end_inset
493
494 , the printout of proper names like LaTeX is explained in section
495 \begin_inset space ~
496 \end_inset
497
498
499 \begin_inset CommandInset ref
500 LatexCommand ref
501 reference "sub:LyX's-Proper-Names"
502
503 \end_inset
504
505 .
506 \end_layout
507
508 \end_inset
509
510
511 \begin_inset Index idx
512 status collapsed
513
514 \begin_layout Plain Layout
515 Reconfiguration of LyX
516 \end_layout
517
518 \end_inset
519
520  See section 5.1 of the 
521 \emph on
522 Customization
523 \emph default
524  manual for more information on installing additional LaTeX packages.
525 \end_layout
526
527 \begin_layout Chapter
528 How to work with LyX
529 \end_layout
530
531 \begin_layout Section
532 Basic File Operations
533 \begin_inset Index idx
534 status collapsed
535
536 \begin_layout Plain Layout
537 File Operations
538 \end_layout
539
540 \end_inset
541
542
543 \end_layout
544
545 \begin_layout Standard
546 Under the 
547 \family sans
548 File
549 \family default
550  menu and in the standard toolbar are basic operations for any word processor
551  in addition to some more advanced operations:
552 \end_layout
553
554 \begin_layout Itemize
555
556 \family sans
557 New 
558 \begin_inset Info
559 type  "icon"
560 arg   "buffer-new"
561 \end_inset
562
563
564 \end_layout
565
566 \begin_layout Itemize
567
568 \family sans
569 New
570 \begin_inset space ~
571 \end_inset
572
573 from
574 \begin_inset space ~
575 \end_inset
576
577 Template
578 \end_layout
579
580 \begin_layout Itemize
581
582 \family sans
583 Open 
584 \begin_inset Info
585 type  "icon"
586 arg   "file-open"
587 \end_inset
588
589
590 \end_layout
591
592 \begin_layout Itemize
593
594 \family sans
595 Close
596 \end_layout
597
598 \begin_layout Itemize
599
600 \family sans
601 Save 
602 \begin_inset Info
603 type  "icon"
604 arg   "buffer-write"
605 \end_inset
606
607
608 \end_layout
609
610 \begin_layout Itemize
611
612 \family sans
613 Save
614 \begin_inset space ~
615 \end_inset
616
617 As
618 \end_layout
619
620 \begin_layout Itemize
621
622 \family sans
623 Revert
624 \begin_inset space ~
625 \end_inset
626
627 to
628 \begin_inset space ~
629 \end_inset
630
631 saved
632 \end_layout
633
634 \begin_layout Itemize
635
636 \family sans
637 Version
638 \begin_inset space ~
639 \end_inset
640
641 Control
642 \end_layout
643
644 \begin_layout Itemize
645
646 \family sans
647 Import
648 \end_layout
649
650 \begin_layout Itemize
651
652 \family sans
653 Export
654 \end_layout
655
656 \begin_layout Itemize
657
658 \family sans
659 Print 
660 \begin_inset Info
661 type  "icon"
662 arg   "dialog-show print"
663 \end_inset
664
665
666 \end_layout
667
668 \begin_layout Itemize
669
670 \family sans
671 Exit
672 \end_layout
673
674 \begin_layout Standard
675 They all do pretty much the same thing as in other word processors, with
676  a few minor differences.
677  The 
678 \family sans
679 File\SpecialChar \menuseparator
680 New
681 \begin_inset space ~
682 \end_inset
683
684 from
685 \begin_inset space ~
686 \end_inset
687
688 Template
689 \family default
690  command lists the available templates.
691  Selecting a template will automatically set certain layout features for
692  the document, features you would otherwise need to change manually.
693  They can be of use for certain classes, especially those for writing letters
694  (see sec.
695 \begin_inset space \thinspace{}
696 \end_inset
697
698
699 \begin_inset CommandInset ref
700 LatexCommand ref
701 reference "sec:Document-Classes"
702
703 \end_inset
704
705 ).
706 \end_layout
707
708 \begin_layout Standard
709 \begin_inset Note Greyedout
710 status collapsed
711
712 \begin_layout Plain Layout
713
714 \series bold
715 Note:
716 \series default
717  There is no 
718 \begin_inset Quotes eld
719 \end_inset
720
721 default file
722 \begin_inset Quotes erd
723 \end_inset
724
725  or document named 
726 \begin_inset Quotes eld
727 \end_inset
728
729 Untitled
730 \begin_inset Quotes erd
731 \end_inset
732
733  or 
734 \begin_inset Quotes eld
735 \end_inset
736
737 scratch.
738 \begin_inset Quotes erd
739 \end_inset
740
741  Unless you tell LyX to open a file or create a new one, that big, blank
742  space is just that — a big, blank space.
743 \end_layout
744
745 \end_inset
746
747
748 \end_layout
749
750 \begin_layout Standard
751
752 \family sans
753 Revert
754 \begin_inset space ~
755 \end_inset
756
757 to
758 \begin_inset space ~
759 \end_inset
760
761 saved
762 \family default
763  and 
764 \family sans
765 Version
766 \begin_inset space ~
767 \end_inset
768
769 Control
770 \family default
771  are useful if more people work on the same document at the same time.
772 \begin_inset Foot
773 status collapsed
774
775 \begin_layout Plain Layout
776 If you plan to do this, you should check out the Version Control feature
777  in LyX also.
778  Read Additional Features\SpecialChar \@.
779
780 \end_layout
781
782 \end_inset
783
784  
785 \family sans
786 Revert
787 \begin_inset space ~
788 \end_inset
789
790 to
791 \begin_inset space ~
792 \end_inset
793
794 saved
795 \family default
796  will reload the document from disk.
797  You can of course also use it if you regret that you changed a document
798  and want to restore it to the last save.
799  With
800 \family sans
801  Version
802 \begin_inset space ~
803 \end_inset
804
805 Control 
806 \family default
807 you can register the changes you made to a document so that others can identify
808  them as your changes.
809 \end_layout
810
811 \begin_layout Section
812 Basic Editing Features
813 \begin_inset Index idx
814 status collapsed
815
816 \begin_layout Plain Layout
817 Editing
818 \end_layout
819
820 \end_inset
821
822
823 \begin_inset CommandInset label
824 LatexCommand label
825 name "sec:Basic-Editing-Features"
826
827 \end_inset
828
829
830 \end_layout
831
832 \begin_layout Standard
833 Like most modern word processors, LyX can perform cut and paste operations
834  on blocks of text, can move by character, word, or page of text, and can
835  delete whole words as well as individual characters.
836  The next four sections cover the basic LyX editing features and how to
837  access them.
838  We will start with cut and paste.
839 \end_layout
840
841 \begin_layout Standard
842 As you might expect, the 
843 \family sans
844 Edit
845 \family default
846  menu and the standard toolbar has the cut and paste commands, along with
847  various other editing features.
848  Some of these are special and covered in later sections.
849  The basic ones are:
850 \end_layout
851
852 \begin_layout Itemize
853
854 \family sans
855 Cut 
856 \family default
857
858 \begin_inset Info
859 type  "icon"
860 arg   "cut"
861 \end_inset
862
863
864 \end_layout
865
866 \begin_layout Itemize
867
868 \family sans
869 Copy 
870 \family default
871
872 \begin_inset Info
873 type  "icon"
874 arg   "copy"
875 \end_inset
876
877
878 \end_layout
879
880 \begin_layout Itemize
881
882 \family sans
883 Paste 
884 \family default
885
886 \begin_inset Info
887 type  "icon"
888 arg   "paste"
889 \end_inset
890
891
892 \end_layout
893
894 \begin_layout Itemize
895
896 \family sans
897 Paste
898 \begin_inset space ~
899 \end_inset
900
901 Recent
902 \end_layout
903
904 \begin_layout Itemize
905
906 \family sans
907 Paste
908 \begin_inset space ~
909 \end_inset
910
911 Special
912 \end_layout
913
914 \begin_layout Itemize
915
916 \family sans
917 Find
918 \begin_inset space ~
919 \end_inset
920
921 &
922 \begin_inset space ~
923 \end_inset
924
925 Replace 
926 \family default
927
928 \begin_inset Info
929 type  "icon"
930 arg   "dialog-show findreplace"
931 \end_inset
932
933
934 \end_layout
935
936 \begin_layout Standard
937 The first three are self-explanatory.
938  
939 \begin_inset Index idx
940 status collapsed
941
942 \begin_layout Plain Layout
943 Paste
944 \end_layout
945
946 \end_inset
947
948 You can also copy text between LyX and other programs by cut, copy and paste.
949  The submenu of 
950 \family sans
951 Paste
952 \begin_inset space ~
953 \end_inset
954
955 Recent
956 \family default
957  shows you a list with the last strings you have pasted.
958 \end_layout
959
960 \begin_layout Standard
961 The menu 
962 \family sans
963 Edit\SpecialChar \menuseparator
964 Paste
965 \begin_inset space ~
966 \end_inset
967
968 Special\SpecialChar \menuseparator
969 Plain
970 \begin_inset space ~
971 \end_inset
972
973 Text,
974 \begin_inset space \thinspace{}
975 \end_inset
976
977 Join
978 \begin_inset space ~
979 \end_inset
980
981 Lines
982 \family default
983  will insert the text in the clipboard so that the whole text is inserted
984  as one paragraph.
985  A new paragraph is started when there is a blank line in the file.
986  Without 
987 \family sans
988 Join
989 \begin_inset space ~
990 \end_inset
991
992 Lines
993 \family default
994 , the text is inserted as Paragraphs, where the line breaks of the text
995  will start a new paragraph.
996 \end_layout
997
998 \begin_layout Standard
999 \begin_inset Index idx
1000 status collapsed
1001
1002 \begin_layout Plain Layout
1003 Replace
1004 \end_layout
1005
1006 \end_inset
1007
1008
1009 \begin_inset Index idx
1010 status collapsed
1011
1012 \begin_layout Plain Layout
1013 Find
1014 \end_layout
1015
1016 \end_inset
1017
1018 The 
1019 \family sans
1020 Edit\SpecialChar \menuseparator
1021 Find
1022 \begin_inset space ~
1023 \end_inset
1024
1025 &
1026 \begin_inset space ~
1027 \end_inset
1028
1029 Replace
1030 \family default
1031  item opens the 
1032 \family sans
1033 Find
1034 \begin_inset space ~
1035 \end_inset
1036
1037 and
1038 \begin_inset space ~
1039 \end_inset
1040
1041 Replace
1042 \family default
1043  dialog.
1044  Once you have found a word or expression, LyX selects it.
1045  Hitting the 
1046 \family sans
1047 Replace
1048 \family default
1049  button replaces the selected text with the contents of the 
1050 \family sans
1051 Replace
1052 \begin_inset space ~
1053 \end_inset
1054
1055 with
1056 \family default
1057  field.
1058  You can click the 
1059 \family sans
1060 Find
1061 \begin_inset space ~
1062 \end_inset
1063
1064 Next
1065 \family default
1066  button to skip the current word.
1067  Hit 
1068 \family sans
1069 Replace
1070 \begin_inset space ~
1071 \end_inset
1072
1073 All
1074 \family default
1075  to replace all occurrences of the text in the document automatically.
1076  The 
1077 \family sans
1078 Case
1079 \begin_inset space ~
1080 \end_inset
1081
1082 sensitive
1083 \family default
1084  option can be used if you want the search to consider the case of the search
1085  word.
1086  If the toggle is set, searching for 
1087 \begin_inset Quotes eld
1088 \end_inset
1089
1090
1091 \family typewriter
1092 Test
1093 \family default
1094
1095 \begin_inset Quotes erd
1096 \end_inset
1097
1098  will not match the word 
1099 \begin_inset Quotes eld
1100 \end_inset
1101
1102
1103 \family typewriter
1104 test
1105 \family default
1106
1107 \begin_inset Quotes erd
1108 \end_inset
1109
1110 .
1111  The 
1112 \family sans
1113 Match whole words only
1114 \family default
1115  option can be used to force LyX to only find complete words, e.
1116 \begin_inset space \thinspace{}
1117 \end_inset
1118
1119 g., searching for 
1120 \begin_inset Quotes eld
1121 \end_inset
1122
1123
1124 \family typewriter
1125 star
1126 \family default
1127
1128 \begin_inset Quotes erd
1129 \end_inset
1130
1131  will not match 
1132 \begin_inset Quotes eld
1133 \end_inset
1134
1135
1136 \family typewriter
1137 starlet
1138 \family default
1139
1140 \begin_inset Quotes erd
1141 \end_inset
1142
1143 .
1144  LyX offers also an advanced 
1145 \family sans
1146 Find
1147 \begin_inset space ~
1148 \end_inset
1149
1150 &
1151 \begin_inset space ~
1152 \end_inset
1153
1154 Replace
1155 \family default
1156  feature that is described in sec.
1157 \begin_inset space \thinspace{}
1158 \end_inset
1159
1160
1161 \begin_inset CommandInset ref
1162 LatexCommand ref
1163 reference "sec:Advanced-Find-and"
1164
1165 \end_inset
1166
1167 .
1168 \end_layout
1169
1170 \begin_layout Standard
1171 Things like notes, floats, etc.
1172 \begin_inset space \space{}
1173 \end_inset
1174
1175 (the so called 
1176 \begin_inset Quotes eld
1177 \end_inset
1178
1179 insets
1180 \begin_inset Quotes erd
1181 \end_inset
1182
1183 ) can be dissolved.
1184  This means that the inset is deleted and its content is left as normal
1185  text.
1186  Dissolving an inset is done by setting the cursor to the beginning of an
1187  inset and pressing 
1188 \family sans
1189 Backspace
1190 \family default
1191  or by setting the cursor to the end and pressing 
1192 \family sans
1193 Delete
1194 \family default
1195 .
1196 \end_layout
1197
1198 \begin_layout Standard
1199 The content of an inset is selected using the shortcut 
1200 \begin_inset Info
1201 type  "shortcuts"
1202 arg   "inset-select-all"
1203 \end_inset
1204
1205 , the shortcut 
1206 \begin_inset Info
1207 type  "shortcuts"
1208 arg   "command-sequence buffer-begin ; buffer-end-select"
1209 \end_inset
1210
1211  selects the whole document.
1212 \end_layout
1213
1214 \begin_layout Section
1215 Undo and Redo
1216 \begin_inset Index idx
1217 status collapsed
1218
1219 \begin_layout Plain Layout
1220 Redo
1221 \end_layout
1222
1223 \end_inset
1224
1225
1226 \begin_inset Index idx
1227 status collapsed
1228
1229 \begin_layout Plain Layout
1230 Undo
1231 \end_layout
1232
1233 \end_inset
1234
1235
1236 \begin_inset CommandInset label
1237 LatexCommand label
1238 name "sec:Undo-and-Redo"
1239
1240 \end_inset
1241
1242
1243 \end_layout
1244
1245 \begin_layout Standard
1246 If you make a mistake, you can easily recover from it.
1247  LyX has a large-capacity undo/redo buffer.
1248  Select 
1249 \family sans
1250 Edit\SpecialChar \menuseparator
1251 Undo
1252 \family default
1253  or the toolbar button 
1254 \begin_inset Info
1255 type  "icon"
1256 arg   "undo"
1257 \end_inset
1258
1259  to undo some mistake.
1260  If you accidentally undo too much, use 
1261 \family sans
1262 Edit\SpecialChar \menuseparator
1263 Redo
1264 \family default
1265  or the toolbar button 
1266 \begin_inset Info
1267 type  "icon"
1268 arg   "redo"
1269 \end_inset
1270
1271  to 
1272 \begin_inset Quotes eld
1273 \end_inset
1274
1275 undo the undo.
1276 \begin_inset Quotes erd
1277 \end_inset
1278
1279  The undo mechanism is currently limited to 100
1280 \begin_inset space \thinspace{}
1281 \end_inset
1282
1283 steps to minimize memory overhead.
1284 \end_layout
1285
1286 \begin_layout Standard
1287 Note that if you revert back all changes to arrive at the document as it
1288  was last saved, the 
1289 \begin_inset Quotes eld
1290 \end_inset
1291
1292 changed
1293 \begin_inset Quotes erd
1294 \end_inset
1295
1296  status of the document is unfortunately not reset.
1297  This is a consequence of the 100
1298 \begin_inset space \thinspace{}
1299 \end_inset
1300
1301 step undo limit mentioned above.
1302 \end_layout
1303
1304 \begin_layout Standard
1305
1306 \family sans
1307 Undo
1308 \family default
1309  and 
1310 \family sans
1311 Redo
1312 \family default
1313  work on almost everything in LyX.
1314  But they will not undo or redo text character by character, but by blocks
1315  of text.
1316 \end_layout
1317
1318 \begin_layout Section
1319 Mouse Operations
1320 \begin_inset Index idx
1321 status collapsed
1322
1323 \begin_layout Plain Layout
1324 Mouse Operations
1325 \end_layout
1326
1327 \end_inset
1328
1329
1330 \end_layout
1331
1332 \begin_layout Standard
1333 These are the most basic mouse operations.
1334 \end_layout
1335
1336 \begin_layout Enumerate
1337 Motion
1338 \end_layout
1339
1340 \begin_deeper
1341 \begin_layout Itemize
1342 Click the 
1343 \emph on
1344 left mouse button
1345 \emph default
1346  once anywhere in the edit window.
1347  The cursor moves to the text under the mouse.
1348 \end_layout
1349
1350 \end_deeper
1351 \begin_layout Enumerate
1352 Selecting Text
1353 \end_layout
1354
1355 \begin_deeper
1356 \begin_layout Itemize
1357 Hold down the 
1358 \emph on
1359 left mouse button
1360 \emph default
1361  and drag the mouse.
1362  LyX marks the text between the old and new mouse positions.
1363  Use 
1364 \family sans
1365 Edit\SpecialChar \menuseparator
1366 Copy
1367 \family default
1368  to create a copy of the text in LyX's buffer (and the clipboard).
1369 \end_layout
1370
1371 \begin_layout Itemize
1372 Re-position the cursor and then paste the text back into LyX using 
1373 \family sans
1374 Edit\SpecialChar \menuseparator
1375 Paste
1376 \family default
1377 .
1378 \end_layout
1379
1380 \end_deeper
1381 \begin_layout Enumerate
1382 Insets (Footnotes, Notes, Floats, etc.)
1383 \end_layout
1384
1385 \begin_deeper
1386 \begin_layout Standard
1387 Right-click on them to set their properties.
1388  Also check the appropriate section of this manual for more details.
1389 \end_layout
1390
1391 \end_deeper
1392 \begin_layout Section
1393 Navigating
1394 \begin_inset CommandInset label
1395 LatexCommand label
1396 name "sec:Navigating"
1397
1398 \end_inset
1399
1400
1401 \begin_inset Index idx
1402 status collapsed
1403
1404 \begin_layout Plain Layout
1405 Navigating
1406 \end_layout
1407
1408 \end_inset
1409
1410
1411 \end_layout
1412
1413 \begin_layout Standard
1414 LyX offers you several ways to navigate in documents:
1415 \end_layout
1416
1417 \begin_layout Itemize
1418 The 
1419 \family sans
1420 Navigate
1421 \family default
1422  menu lists all sections of the document as submenu entries that you can
1423  click to jump to the corresponding document part.
1424 \end_layout
1425
1426 \begin_layout Itemize
1427 The “Outline”, which is accessed either by the menu 
1428 \family sans
1429 View\SpecialChar \menuseparator
1430 Outline
1431 \begin_inset space ~
1432 \end_inset
1433
1434 Pane
1435 \family default
1436  or by the toolbar button 
1437 \begin_inset Info
1438 type  "icon"
1439 arg   "dialog-toggle toc"
1440 \end_inset
1441
1442 .
1443 \end_layout
1444
1445 \begin_layout Itemize
1446 You can set bookmarks in your document under 
1447 \family sans
1448 Navigate\SpecialChar \menuseparator
1449 Bookmarks
1450 \family default
1451  and use the same menu to return to them.
1452  Note that bookmarks are saved between sessions.
1453 \end_layout
1454
1455 \begin_layout Standard
1456 The toolbar button 
1457 \begin_inset Info
1458 type  "icon"
1459 arg   "bookmark-goto 0"
1460 \end_inset
1461
1462  (also 
1463 \family sans
1464 Navigate\SpecialChar \menuseparator
1465 Bookmarks\SpecialChar \menuseparator
1466 Navigate
1467 \begin_inset space ~
1468 \end_inset
1469
1470 Back
1471 \family default
1472 ) jumps to the position in the document where you recently changed something.
1473  This is useful when you have a large document and have navigated or scrolled
1474  to another document part to look for something, and want to go back to
1475  your last editing position.
1476 \end_layout
1477
1478 \begin_layout Standard
1479 By pressing the 
1480 \family sans
1481 F5
1482 \family default
1483  key the cursor will be vertically centered in LyX's main window.
1484 \end_layout
1485
1486 \begin_layout Subsection
1487 The Outliner
1488 \begin_inset CommandInset label
1489 LatexCommand label
1490 name "sub:The-Outliner"
1491
1492 \end_inset
1493
1494
1495 \end_layout
1496
1497 \begin_layout Standard
1498 In the pull-down box at the top of the outline window, you can choose between
1499  several different lists, including other TOC-like objects, such as lists
1500  of tables and figures, but also lists of footnotes, or labels and cross-referen
1501 ces (see sec.
1502 \begin_inset space \thinspace{}
1503 \end_inset
1504
1505
1506 \begin_inset CommandInset ref
1507 LatexCommand ref
1508 reference "sec:Cross-References"
1509
1510 \end_inset
1511
1512 ), or notes, or citations (see sec.
1513 \begin_inset space \thinspace{}
1514 \end_inset
1515
1516
1517 \begin_inset CommandInset ref
1518 LatexCommand ref
1519 reference "sec:Bibliography"
1520
1521 \end_inset
1522
1523 ).
1524  Clicking on any of these will take you to the corresponding object in your
1525  document.
1526 \end_layout
1527
1528 \begin_layout Standard
1529 Right-clicking on elements in the Outline opens in many cases a context
1530  menu that will allow for direct modification of those elements.
1531  For example, with citations, the context menu allows you to open the citation
1532  dialog and to modify the citation.
1533 \end_layout
1534
1535 \begin_layout Standard
1536 The “Filter” field at the top allows you to restrict which entries appear
1537  in the Outline.
1538  For example, if you are displaying the list of Labels and References and
1539  wish to see only references to subsections, you can enter the text 
1540 \begin_inset Quotes eld
1541 \end_inset
1542
1543 sub:
1544 \begin_inset Quotes erd
1545 \end_inset
1546
1547  in the filter, and only entries containing that text will be displayed.
1548 \end_layout
1549
1550 \begin_layout Standard
1551 At the bottom of the outline are several buttons and the like that allow
1552  you further to control the display.
1553  The 
1554 \family sans
1555 Sort
1556 \family default
1557  option sorts the current list alphabetically.
1558  Otherwise, the elements appear in the order in which they occur in the
1559  document.
1560  The 
1561 \family sans
1562 Keep
1563 \family default
1564  option keeps it in the current view state.
1565  Keeping means that when you have, for example, the subsections of sections
1566 \begin_inset space ~
1567 \end_inset
1568
1569 2 and 4 displayed and click on section
1570 \begin_inset space ~
1571 \end_inset
1572
1573 3, the subsections of sections
1574 \begin_inset space ~
1575 \end_inset
1576
1577 2 and 4 will still be displayed.
1578  Without the 
1579 \family sans
1580 Keep
1581 \family default
1582  option they will be hidden to highlight the clicked section
1583 \begin_inset space ~
1584 \end_inset
1585
1586 3.
1587  Finally, the slider at the left can be used to open the Outline to a given
1588  
1589 \begin_inset Quotes eld
1590 \end_inset
1591
1592 depth
1593 \begin_inset Quotes erd
1594 \end_inset
1595
1596 .
1597  It is best just to experiment with it to see how it works.
1598 \end_layout
1599
1600 \begin_layout Standard
1601 The 
1602 \begin_inset space \space{}
1603 \end_inset
1604
1605
1606 \begin_inset Graphics
1607         filename ../images/reload.png
1608
1609 \end_inset
1610
1611
1612 \begin_inset space ~
1613 \end_inset
1614
1615 button refreshes the TOC (though this should not usually be necessary).
1616  Next to it are buttons that allow you to change the position of sections
1617  in your document.
1618  The 
1619 \begin_inset space \space{}
1620 \end_inset
1621
1622
1623 \begin_inset Graphics
1624         filename ../images/down.png
1625         scale 85
1626         groupId toolbarbuttons
1627
1628 \end_inset
1629
1630
1631 \begin_inset space ~
1632 \end_inset
1633
1634  and 
1635 \begin_inset space \space{}
1636 \end_inset
1637
1638
1639 \begin_inset Graphics
1640         filename ../images/up.png
1641         scale 85
1642         groupId toolbarbuttons
1643
1644 \end_inset
1645
1646
1647 \begin_inset space ~
1648 \end_inset
1649
1650  buttons move sections up and down in the document.
1651  So, for example, you can move section
1652 \begin_inset space ~
1653 \end_inset
1654
1655 2.5 before section
1656 \begin_inset space ~
1657 \end_inset
1658
1659 2.4 or after section
1660 \begin_inset space ~
1661 \end_inset
1662
1663 2.6.
1664  LyX will then automatically renumber the sections to the new order.
1665  With the buttons 
1666 \begin_inset Graphics
1667         filename ../images/promote.png
1668         scale 85
1669         groupId toolbarbuttons
1670
1671 \end_inset
1672
1673  and 
1674 \begin_inset Graphics
1675         filename ../images/demote.png
1676         scale 85
1677         groupId toolbarbuttons
1678
1679 \end_inset
1680
1681  (or the corresponding key bindings 
1682 \family sans
1683 Tab
1684 \family default
1685  and 
1686 \family sans
1687 Shift-Tab
1688 \family default
1689 ) you can change the level of sections.
1690  So you can for example make section
1691 \begin_inset space ~
1692 \end_inset
1693
1694 2.5 chapter
1695 \begin_inset space ~
1696 \end_inset
1697
1698 3 or subsection
1699 \begin_inset space ~
1700 \end_inset
1701
1702 2.4.1.
1703 \end_layout
1704
1705 \begin_layout Section
1706 Input/Word Completion
1707 \begin_inset CommandInset label
1708 LatexCommand label
1709 name "sec:Input-Completion"
1710
1711 \end_inset
1712
1713
1714 \begin_inset Index idx
1715 status collapsed
1716
1717 \begin_layout Plain Layout
1718 Input completion
1719 \end_layout
1720
1721 \end_inset
1722
1723
1724 \begin_inset Index idx
1725 status collapsed
1726
1727 \begin_layout Plain Layout
1728 Word completion|see
1729 \begin_inset ERT
1730 status collapsed
1731
1732 \begin_layout Plain Layout
1733
1734 {
1735 \end_layout
1736
1737 \end_inset
1738
1739 Input completion
1740 \begin_inset ERT
1741 status collapsed
1742
1743 \begin_layout Plain Layout
1744
1745 }
1746 \end_layout
1747
1748 \end_inset
1749
1750
1751 \end_layout
1752
1753 \end_inset
1754
1755
1756 \end_layout
1757
1758 \begin_layout Standard
1759 LyX provides completion of words by scanning all documents that are currently
1760  opened.
1761  Every word that appears in these documents is added to a database that
1762  is used to propose completions.
1763 \end_layout
1764
1765 \begin_layout Standard
1766 Input completion can be activated in the LyX preferences (menu 
1767 \family sans
1768 Tools\SpecialChar \menuseparator
1769 Preferences
1770 \family default
1771 ) in the section 
1772 \family sans
1773 Editing\SpecialChar \menuseparator
1774 Input Completion
1775 \family default
1776 .
1777  With the option 
1778 \family sans
1779 Automatic
1780 \begin_inset space ~
1781 \end_inset
1782
1783 inline
1784 \begin_inset space ~
1785 \end_inset
1786
1787 completion
1788 \family default
1789  the proposed completion is shown directly after the cursor.
1790  With the option 
1791 \family sans
1792 Automatic
1793 \begin_inset space ~
1794 \end_inset
1795
1796 popup
1797 \family default
1798  the completions are always shown in a popup.
1799  The cursor completion indicator can be turned off by deselecting the option
1800  
1801 \family sans
1802 Cursor
1803 \begin_inset space ~
1804 \end_inset
1805
1806 indicator
1807 \family default
1808 .
1809  With the general options you can define the delay time for the inline and
1810  popup completion and choose if long completions should be abbreviated.
1811 \end_layout
1812
1813 \begin_layout Standard
1814 LyX displays a small triangle after the cursor as an indicator that there
1815  are completions available.
1816  Press the 
1817 \family sans
1818 Tab
1819 \family default
1820  key to accept a proposed completion.
1821  If several completions are possible, a popup is opened showing them.
1822  You can select a completion in the popup using the mouse or the arrow keys,
1823  and accept the chosen completion by pressing 
1824 \family sans
1825 Return
1826 \family default
1827 .
1828 \end_layout
1829
1830 \begin_layout Standard
1831 The completion options for math in the preferences do the same as the correspond
1832 ing options for text.
1833  The special math option 
1834 \family sans
1835 Autocorrection
1836 \family default
1837  enables characters to be composed.
1838  If, for example, you want to insert the character 
1839 \begin_inset Formula $\Rightarrow$
1840 \end_inset
1841
1842 , you can then input the characters 
1843 \begin_inset Quotes eld
1844 \end_inset
1845
1846
1847 \series bold
1848 =>
1849 \series default
1850
1851 \begin_inset Quotes erd
1852 \end_inset
1853
1854  to a formula to get it.
1855  So this is a quick alternative to the insertion of commands or the use
1856  of the math toolbar.
1857  A list with supported character combinations can be found in the file 
1858 \family typewriter
1859 autocorrect
1860 \family default
1861  that is in LyX's installation folder.
1862  Math autocorrection can at any time be turned on by pressing the exclamation
1863  mark key “!”.
1864  Pressing 
1865 \family sans
1866 Space
1867 \family default
1868  turns it off.
1869 \end_layout
1870
1871 \begin_layout Section
1872 Basic Key Bindings
1873 \begin_inset Index idx
1874 status collapsed
1875
1876 \begin_layout Plain Layout
1877 Key Bindings
1878 \end_layout
1879
1880 \end_inset
1881
1882
1883 \begin_inset Index idx
1884 status collapsed
1885
1886 \begin_layout Plain Layout
1887 Bindings|see
1888 \begin_inset ERT
1889 status collapsed
1890
1891 \begin_layout Plain Layout
1892
1893 {
1894 \end_layout
1895
1896 \end_inset
1897
1898 Key Bindings
1899 \begin_inset ERT
1900 status collapsed
1901
1902 \begin_layout Plain Layout
1903
1904 }
1905 \end_layout
1906
1907 \end_inset
1908
1909
1910 \end_layout
1911
1912 \end_inset
1913
1914
1915 \begin_inset Index idx
1916 status collapsed
1917
1918 \begin_layout Plain Layout
1919 Shortcuts|see
1920 \begin_inset ERT
1921 status collapsed
1922
1923 \begin_layout Plain Layout
1924
1925 {
1926 \end_layout
1927
1928 \end_inset
1929
1930 Key Bindings
1931 \begin_inset ERT
1932 status collapsed
1933
1934 \begin_layout Plain Layout
1935
1936 }
1937 \end_layout
1938
1939 \end_inset
1940
1941
1942 \end_layout
1943
1944 \end_inset
1945
1946
1947 \end_layout
1948
1949 \begin_layout Standard
1950 There are at least two different primary binding maps: 
1951 \family typewriter
1952 cua
1953 \family default
1954  and 
1955 \family typewriter
1956 emacs
1957 \family default
1958 .
1959  LyX's default is 
1960 \family typewriter
1961 cua
1962 \family default
1963 , which can be changed in the LyX preferences under 
1964 \family sans
1965 Editing\SpecialChar \menuseparator
1966 Shortcuts
1967 \family default
1968 .
1969  (You can list or change any key bindings as explained in sec.
1970 \begin_inset space \thinspace{}
1971 \end_inset
1972
1973
1974 \begin_inset CommandInset ref
1975 LatexCommand ref
1976 reference "sub:Editing-Shortcuts"
1977
1978 \end_inset
1979
1980 .)
1981 \end_layout
1982
1983 \begin_layout Standard
1984 Some keys, like 
1985 \family sans
1986 Page
1987 \begin_inset space ~
1988 \end_inset
1989
1990 Up
1991 \family default
1992
1993 \family sans
1994 Page
1995 \begin_inset space ~
1996 \end_inset
1997
1998 Down
1999 \family default
2000
2001 \family sans
2002 Left
2003 \family default
2004
2005 \family sans
2006 Right
2007 \family default
2008
2009 \family sans
2010 Up
2011 \family default
2012  and 
2013 \family sans
2014 Down
2015 \family default
2016 , do exactly what you expect them to do.
2017  Other keys don't:
2018 \end_layout
2019
2020 \begin_layout Labeling
2021 \labelwidthstring 00.00.0000
2022
2023 \family sans
2024 Tab
2025 \begin_inset CommandInset nomenclature
2026 LatexCommand nomenclature
2027 symbol "Tab"
2028 description "Tabulator key"
2029
2030 \end_inset
2031
2032
2033 \family default
2034  There is no such thing as a tab stop in LyX.
2035  If you do not understand this, go read sections
2036 \begin_inset space ~
2037 \end_inset
2038
2039
2040 \begin_inset CommandInset ref
2041 LatexCommand ref
2042 reference "sec:Par-indent-intro"
2043
2044 \end_inset
2045
2046  and 
2047 \begin_inset CommandInset ref
2048 LatexCommand ref
2049 reference "sec:Paragraph-Environments"
2050
2051 \end_inset
2052
2053 , especially section
2054 \begin_inset space ~
2055 \end_inset
2056
2057
2058 \begin_inset CommandInset ref
2059 LatexCommand ref
2060 reference "sub:Lists"
2061
2062 \end_inset
2063
2064 , right now.
2065  Yes, right now.
2066  If you are still confused, look in the 
2067 \emph on
2068 Tutorial
2069 \emph default
2070 .
2071 \begin_inset Newline newline
2072 \end_inset
2073
2074 In LyX the 
2075 \family sans
2076 Tab
2077 \family default
2078  key is only used to accept proposed input completions, to move the cursor
2079  in tables or math matrices or to change the nesting level in Itemize or
2080  Enumerate.
2081 \end_layout
2082
2083 \begin_layout Labeling
2084 \labelwidthstring 00.00.0000
2085
2086 \family sans
2087 Esc
2088 \begin_inset CommandInset nomenclature
2089 LatexCommand nomenclature
2090 symbol "Esc"
2091 description "Escape key"
2092
2093 \end_inset
2094
2095
2096 \family default
2097  This is the 
2098 \begin_inset Quotes eld
2099 \end_inset
2100
2101 cancel key.
2102 \begin_inset Quotes erd
2103 \end_inset
2104
2105  It is used, generically, to cancel operations.
2106  Other parts of the manual will go into greater detail about this.
2107 \end_layout
2108
2109 \begin_layout Labeling
2110 \labelwidthstring 00.00.0000
2111
2112 \family sans
2113 Home
2114 \family default
2115
2116 \begin_inset space ~
2117 \end_inset
2118
2119 and
2120 \begin_inset space ~
2121 \end_inset
2122
2123
2124 \family sans
2125 End
2126 \family default
2127  These move the cursor, respectively, to the beginning and end of a line,
2128  unless you are using the Emacs bindings where they jump to the beginning
2129  or end of the file.
2130 \end_layout
2131
2132 \begin_layout Standard
2133 There are three modifier keys:
2134 \end_layout
2135
2136 \begin_layout Labeling
2137 \labelwidthstring 00.00.0000
2138
2139 \family sans
2140 Control
2141 \family default
2142  (Denoted by 
2143 \begin_inset Quotes eld
2144 \end_inset
2145
2146
2147 \family sans
2148 Ctrl
2149 \family default
2150
2151 \begin_inset Quotes erd
2152 \end_inset
2153
2154
2155 \begin_inset CommandInset nomenclature
2156 LatexCommand nomenclature
2157 symbol "Ctrl"
2158 description "Control key"
2159
2160 \end_inset
2161
2162  in the documentation files) This has a couple of different uses, depending
2163  on which keys it is used in combination with:
2164 \end_layout
2165
2166 \begin_deeper
2167 \begin_layout Itemize
2168
2169 \family sans
2170 Backspace
2171 \family default
2172  or 
2173 \family sans
2174 Delete
2175 \family default
2176 , it deletes an entire word instead of a single character.
2177 \end_layout
2178
2179 \begin_layout Itemize
2180
2181 \family sans
2182 Left
2183 \family default
2184  and 
2185 \family sans
2186 Right
2187 \family default
2188 , it moves by words instead of characters.
2189 \end_layout
2190
2191 \begin_layout Itemize
2192
2193 \family sans
2194 Home
2195 \family default
2196  and 
2197 \family sans
2198 End
2199 \family default
2200 , it moves to the beginning and the end of the document, respectively.
2201 \end_layout
2202
2203 \end_deeper
2204 \begin_layout Labeling
2205 \labelwidthstring 00.00.0000
2206
2207 \family sans
2208 Shift
2209 \family default
2210  (Denoted by 
2211 \begin_inset Quotes eld
2212 \end_inset
2213
2214
2215 \family sans
2216 Shift
2217 \family default
2218
2219 \begin_inset Quotes erd
2220 \end_inset
2221
2222
2223 \begin_inset CommandInset nomenclature
2224 LatexCommand nomenclature
2225 symbol "Shift"
2226 description "Shift key"
2227
2228 \end_inset
2229
2230  in the documentation files) Use this with any of the arrow keys to select
2231  the text between the old and new cursor positions.
2232 \end_layout
2233
2234 \begin_layout Labeling
2235 \labelwidthstring 00.00.0000
2236
2237 \family sans
2238 Alt
2239 \family default
2240  (Denoted by 
2241 \begin_inset Quotes eld
2242 \end_inset
2243
2244
2245 \family sans
2246 Alt
2247 \family default
2248
2249 \begin_inset Quotes erd
2250 \end_inset
2251
2252
2253 \begin_inset CommandInset nomenclature
2254 LatexCommand nomenclature
2255 symbol "Alt"
2256 description "Alt or Meta key"
2257
2258 \end_inset
2259
2260  in the documentation files) This is the Alt key on many keyboards, unless
2261  your keyboard has a distinct Meta key.
2262  If you have both keys, you will need to try out which one actually performs
2263  the 
2264 \family sans
2265 Alt+
2266 \family default
2267  function.
2268 \begin_inset Newline newline
2269 \end_inset
2270
2271 This key does many different things, but it also activates the 
2272 \emph on
2273 menu accelerator keys
2274 \emph default
2275 .
2276  If you use this in combination with any of the underlined letters in a
2277  menu or menu item, it selects that menu item.
2278 \end_layout
2279
2280 \begin_deeper
2281 \begin_layout Standard
2282 For example, the sequence 
2283 \begin_inset Quotes eld
2284 \end_inset
2285
2286
2287 \family sans
2288 Alt
2289 \begin_inset space ~
2290 \end_inset
2291
2292 e
2293 \begin_inset space ~
2294 \end_inset
2295
2296 s
2297 \family default
2298
2299 \begin_inset space ~
2300 \end_inset
2301
2302
2303 \family sans
2304 c
2305 \family default
2306
2307 \begin_inset Quotes erd
2308 \end_inset
2309
2310  brings up the 
2311 \begin_inset Quotes eld
2312 \end_inset
2313
2314 Text Style
2315 \begin_inset Quotes erd
2316 \end_inset
2317
2318  dialog.
2319  Typing 
2320 \begin_inset Quotes eld
2321 \end_inset
2322
2323
2324 \family sans
2325 Alt
2326 \begin_inset space ~
2327 \end_inset
2328
2329 f
2330 \family default
2331
2332 \begin_inset Quotes erd
2333 \end_inset
2334
2335  opens the 
2336 \family sans
2337 File
2338 \family default
2339  menu.
2340 \end_layout
2341
2342 \begin_layout Standard
2343 The 
2344 \emph on
2345 Shortcuts
2346 \emph default
2347  manual lists all other things bound to the 
2348 \family sans
2349 Alt
2350 \family default
2351  key.
2352 \end_layout
2353
2354 \end_deeper
2355 \begin_layout Standard
2356 You will learn more and more key bindings and short-cut keys as you use
2357  LyX, because most actions will prompt a small message in the status bar
2358  at the bottom of LyX's main window which describes the name of the action
2359  you have just triggered, and any existing key bindings for that action.
2360  The LyX menus also list the defined key bindings.
2361  The notation for the key bindings is very similar to the notation used
2362  in this documentation, so you should not have any problems understanding
2363  it.
2364  However, notice that Shift-modifiers are explicitly mentioned, so 
2365 \begin_inset Quotes eld
2366 \end_inset
2367
2368
2369 \family sans
2370 Alt+P Shift+A
2371 \family default
2372
2373 \begin_inset Quotes erd
2374 \end_inset
2375
2376  means 
2377 \family sans
2378 Alt+P
2379 \family default
2380  followed by a capital 
2381 \family sans
2382 A
2383 \family default
2384 .
2385 \end_layout
2386
2387 \begin_layout Chapter
2388 LyX Basics
2389 \begin_inset Index idx
2390 status collapsed
2391
2392 \begin_layout Plain Layout
2393 LyX ! Basics
2394 \end_layout
2395
2396 \end_inset
2397
2398
2399 \end_layout
2400
2401 \begin_layout Section
2402 Document Types
2403 \begin_inset Index idx
2404 status collapsed
2405
2406 \begin_layout Plain Layout
2407 Document ! Types
2408 \end_layout
2409
2410 \end_inset
2411
2412
2413 \end_layout
2414
2415 \begin_layout Subsection
2416 Introduction
2417 \end_layout
2418
2419 \begin_layout Standard
2420 Before you do anything else, before you ever start writing a document, you
2421  need to decide what type of document you want to edit.
2422  Different types of documents use different types of spacing, headings,
2423  numbering schemes, and so on.
2424  Additionally, different documents use different paragraph environments,
2425  and format the title of your document differently.
2426 \end_layout
2427
2428 \begin_layout Standard
2429
2430 \emph on
2431 document class
2432 \emph default
2433  describes a group of properties common to a particular set of documents.
2434  By setting the document class, you automatically select these properties,
2435  making it easier to create the type of document you want.
2436  If you don't choose a document class, LyX picks one for you by default.
2437  So it is up to you to change the class of your document.
2438 \end_layout
2439
2440 \begin_layout Subsection
2441 Document Classes
2442 \begin_inset Index idx
2443 status collapsed
2444
2445 \begin_layout Plain Layout
2446 Document ! Classes
2447 \end_layout
2448
2449 \end_inset
2450
2451
2452 \begin_inset CommandInset label
2453 LatexCommand label
2454 name "sec:Document-Classes"
2455
2456 \end_inset
2457
2458
2459 \end_layout
2460
2461 \begin_layout Standard
2462 You can select a class using the 
2463 \family sans
2464 Document\SpecialChar \menuseparator
2465 Settings\SpecialChar \menuseparator
2466 Document Class
2467 \family default
2468
2469 \begin_inset Index idx
2470 status collapsed
2471
2472 \begin_layout Plain Layout
2473 Document ! Settings
2474 \end_layout
2475
2476 \end_inset
2477
2478  dialog.
2479  Select the class you want to use, and make any fine tunings of the options
2480  you may need.
2481 \end_layout
2482
2483 \begin_layout Subsubsection
2484 Overview
2485 \end_layout
2486
2487 \begin_layout Standard
2488 There are four standard document classes in LyX.
2489  They are:
2490 \end_layout
2491
2492 \begin_layout Description
2493 Article for basic articles
2494 \end_layout
2495
2496 \begin_layout Description
2497 Report for basic reports
2498 \end_layout
2499
2500 \begin_layout Description
2501 Book for writing a book
2502 \end_layout
2503
2504 \begin_layout Description
2505 Letter for US-style letters
2506 \end_layout
2507
2508 \begin_layout Standard
2509 There are also some non-standard classes, which LyX only uses if you have
2510  installed the corresponding LaTeX class files, though most LaTeX distributions
2511  will include many of these.
2512  Here are some of the classes.
2513  The full list with detailed explanations can be found in chapter 
2514 \emph on
2515 Special Document Classes
2516 \emph default
2517  in the 
2518 \emph on
2519 Additional Features
2520 \emph default
2521  manual:
2522 \end_layout
2523
2524 \begin_layout Description
2525 A&A Journal articles in the style and format used in Astronomy & Astrophysics
2526 \end_layout
2527
2528 \begin_layout Description
2529 ACS For submissions to the journals published by the American Chemistry
2530  Society
2531 \end_layout
2532
2533 \begin_layout Description
2534 AGU For submissions to the journals published by the American Geophysical
2535  Union
2536 \end_layout
2537
2538 \begin_layout Description
2539 AMS Layouts for articles and books in the style and format used by the American
2540  Mathematical Society (AMS).
2541  There are three article layouts available.
2542  The standard one uses a typical numbering scheme for theorems etc., that
2543  prepends the section number to the number of the result.
2544  All result-type statements (propositions, corollaries, and so on) are sequenced
2545  together, but definitions, examples, and the like have their own sequence.
2546  The 
2547 \begin_inset Quotes eld
2548 \end_inset
2549
2550 sequential numbering
2551 \begin_inset Quotes erd
2552 \end_inset
2553
2554  scheme does not place the section number with each result, but numbers
2555  them throughout the article in a single sequence.
2556  Each type of result gets its own sequence.
2557  There is also a layout that dispenses with numbering of statements altogether.
2558 \end_layout
2559
2560 \begin_layout Description
2561 Beamer Layout for presentations
2562 \end_layout
2563
2564 \begin_layout Description
2565 Broadway Layout for writing plays.
2566  It is not an existing LaTeX document class, but a new one that is distributed
2567  with LyX.
2568 \end_layout
2569
2570 \begin_layout Description
2571 Chess Layout to write about chess games
2572 \end_layout
2573
2574 \begin_layout Description
2575 Curriculum
2576 \begin_inset space ~
2577 \end_inset
2578
2579 vitae classes to create curriculum vitae
2580 \end_layout
2581
2582 \begin_layout Description
2583 Elsarticle Layout for journals of the Elsevier publishing group
2584 \end_layout
2585
2586 \begin_layout Description
2587 Foils Used to make transparencies
2588 \end_layout
2589
2590 \begin_layout Description
2591 Hollywood Used to type spec scripts for the US film industry.
2592  It is not an existing LaTeX document class, but a new one that is distributed
2593  with LyX.
2594 \end_layout
2595
2596 \begin_layout Description
2597 IEEEtran Layout for the journals published by the Institute of Electrical
2598  and Electronics Engineers (IEEE)
2599 \end_layout
2600
2601 \begin_layout Description
2602 IOP Layout for journals of the Institute of Physics publishing group
2603 \end_layout
2604
2605 \begin_layout Description
2606 Kluwer Layout for journals of the Kluwer publishing group
2607 \end_layout
2608
2609 \begin_layout Description
2610 KOMA-Script a replacement for the standard classes, offers many useful features
2611  like caption formatting, automatic print space calculation etc.
2612  (Is used by this document.)
2613 \end_layout
2614
2615 \begin_layout Description
2616 Memoir another replacement for the standard classes
2617 \end_layout
2618
2619 \begin_layout Description
2620 Powerdot Layout for presentations
2621 \end_layout
2622
2623 \begin_layout Description
2624 REVTe
2625 \begin_inset ERT
2626 status collapsed
2627
2628 \begin_layout Plain Layout
2629
2630 {}
2631 \end_layout
2632
2633 \end_inset
2634
2635 X is used to write articles for the publications of the American Physical
2636  Society (APS), American Institute of Physics (AIP), and Optical Society
2637  of America (OSA).
2638  This class is not completely compatible with all LyX features.
2639 \end_layout
2640
2641 \begin_layout Description
2642 Slides Used to make transparencies
2643 \end_layout
2644
2645 \begin_layout Description
2646 SPIE
2647 \begin_inset space ~
2648 \end_inset
2649
2650 Proceedings Layout for the journals published by The International Society
2651  for Optical Engineering (SPIE)
2652 \end_layout
2653
2654 \begin_layout Description
2655 Springer Layouts for journals of the Springer publishing group
2656 \end_layout
2657
2658 \begin_layout Standard
2659 We will not go into detail about how to use these different document classes
2660  here.
2661  You can find details about the non-standard classes in Chapter 6 of the
2662  
2663 \emph on
2664 Additional Features
2665 \emph default
2666  manual.
2667  Here, we will settle for a list of some of the common properties of all
2668  of the document classes.
2669 \end_layout
2670
2671 \begin_layout Subsubsection
2672 Availability
2673 \end_layout
2674
2675 \begin_layout Standard
2676 You will probably find that many of the document classes listed under 
2677 \family sans
2678 Document\SpecialChar \menuseparator
2679 Settings\SpecialChar \menuseparator
2680 Document Class
2681 \begin_inset Index idx
2682 status collapsed
2683
2684 \begin_layout Plain Layout
2685 Document ! Settings
2686 \end_layout
2687
2688 \end_inset
2689
2690  
2691 \family default
2692 are marked as 
2693 \begin_inset Quotes eld
2694 \end_inset
2695
2696 Unavailable
2697 \begin_inset Quotes erd
2698 \end_inset
2699
2700 .
2701  If you open a document that uses such a class, you will receive a warning
2702  saying that there are files that are required to produce output that are
2703  not installed.
2704  So it may seem that something is wrong.
2705 \end_layout
2706
2707 \begin_layout Standard
2708 Nothing is wrong.
2709  LyX includes many more document classes than you will ever need to use,
2710  and some of them, like 
2711 \family sans
2712 IOP
2713 \family default
2714 , are highly specialized.
2715  LyX tries to support as many different types of documents as possible,
2716  and it includes almost one hundred different layout files, with a growing
2717  number.
2718  No LaTeX distribution will install by default all files that might be needed
2719  by some document class.
2720  There are just too many of them.
2721  That is why some of the document classes are unavailable.
2722 \end_layout
2723
2724 \begin_layout Standard
2725 If there is a document class you would like to use that is marked as 
2726 \begin_inset Quotes erd
2727 \end_inset
2728
2729 Unavailable
2730 \begin_inset Quotes erd
2731 \end_inset
2732
2733 , you just need to install the appropriate package files.
2734  The easiest way to find out which files you need to install is to use that
2735  document class for a new file.
2736  LyX will display a dialog that will list the missing files.
2737  See section 
2738 \begin_inset Quotes eld
2739 \end_inset
2740
2741 Installing new LaTeX files
2742 \begin_inset Quotes erd
2743 \end_inset
2744
2745  in of the 
2746 \emph on
2747 Customization
2748 \emph default
2749  manual for information on how to install them.
2750 \begin_inset VSpace medskip
2751 \end_inset
2752
2753
2754 \end_layout
2755
2756 \begin_layout Standard
2757 Although LyX provides support for many different sorts of documents, it
2758  does not include support for every document class people might want to
2759  use.
2760  For example, many universities provide LaTeX class files to be used for
2761  dissertations submitted to those universities.
2762  The LyX team cannot write layout files to support every one of these.
2763  There are too many.
2764  Fortunately, users can write their own layout files, and many users have
2765  done so.
2766  Chapter 
2767 \emph on
2768 Installing New Document Classes, Layouts, and Templates
2769 \emph default
2770  of the 
2771 \emph on
2772 Customization
2773 \emph default
2774  manual contains information on how to create layout files.
2775 \end_layout
2776
2777 \begin_layout Subsubsection
2778 Modules
2779 \begin_inset CommandInset label
2780 LatexCommand label
2781 name "sub:Modules"
2782
2783 \end_inset
2784
2785
2786 \begin_inset Index idx
2787 status collapsed
2788
2789 \begin_layout Plain Layout
2790 Document ! Modules
2791 \end_layout
2792
2793 \end_inset
2794
2795
2796 \end_layout
2797
2798 \begin_layout Standard
2799 Modules load additional features that are not by default available in the
2800  chosen document class.
2801  For example you might want to write Braille (embossed printing) in a document.
2802  This is not available in any document class, so you have to load the correspond
2803 ing module in the 
2804 \family sans
2805 Modules
2806 \family default
2807  section of the 
2808 \family sans
2809 Document\SpecialChar \menuseparator
2810 Settings
2811 \family default
2812
2813 \begin_inset Index idx
2814 status collapsed
2815
2816 \begin_layout Plain Layout
2817 Document ! Settings
2818 \end_layout
2819
2820 \end_inset
2821
2822  dialog.
2823  Highlighting a module in the dialog will bring up a description of what
2824  it does.
2825 \end_layout
2826
2827 \begin_layout Standard
2828 Some modules require LaTeX packages or file format converters that are not
2829  always installed by default.
2830  LyX will warn you if you do not have a required package or converter, and
2831  it will tell you what exactly you are missing.
2832  You can still use the module while editing your file, but you will not
2833  be able to export to PDF or print your document, since LyX will not be
2834  able to compile the LaTeX file without the missing prerequisites.
2835  If you want to be able to produce this kind of output, then you need to
2836  install the missing prerequisites and then reconfigure LyX by selecting
2837  
2838 \family sans
2839 Tools\SpecialChar \menuseparator
2840 Reconfigure
2841 \family default
2842 .
2843 \begin_inset Index idx
2844 status collapsed
2845
2846 \begin_layout Plain Layout
2847 Reconfiguration of LyX
2848 \end_layout
2849
2850 \end_inset
2851
2852  See section 
2853 \begin_inset Quotes eld
2854 \end_inset
2855
2856 Installing new LaTeX files
2857 \begin_inset Quotes erd
2858 \end_inset
2859
2860  of the 
2861 \emph on
2862 Customization
2863 \emph default
2864  manual for more information on installing required packages.
2865 \end_layout
2866
2867 \begin_layout Standard
2868 \begin_inset Note Greyedout
2869 status open
2870
2871 \begin_layout Plain Layout
2872
2873 \series bold
2874 Note:
2875 \series default
2876  Some modules require other modules, and some pairs of modules are incompatible.
2877  LyX will advise you about these things.
2878 \end_layout
2879
2880 \end_inset
2881
2882
2883 \end_layout
2884
2885 \begin_layout Subsubsection
2886 Local Layout
2887 \begin_inset CommandInset label
2888 LatexCommand label
2889 name "sub:Local-Layout"
2890
2891 \end_inset
2892
2893
2894 \begin_inset Index idx
2895 status collapsed
2896
2897 \begin_layout Plain Layout
2898 Document ! Local Layout
2899 \end_layout
2900
2901 \end_inset
2902
2903
2904 \end_layout
2905
2906 \begin_layout Standard
2907 Modules are to LyX much as packages are to LaTeX: They are intended to be
2908  used in a variety of different documents.
2909  If you often find yourself needing the same sort of thing in different
2910  documents, you should consider writing a module for this purpose.
2911  Sometimes, however, a particular document has very special needs, but you
2912  need a specific inset or character style only that one time.
2913  You want something that is like a document's own LaTeX preamble.
2914  What you want is LyX's 
2915 \begin_inset Quotes eld
2916 \end_inset
2917
2918 Local Layout
2919 \begin_inset Quotes erd
2920 \end_inset
2921
2922 .
2923  See section 
2924 \emph on
2925 Local Layout
2926 \emph default
2927  of the 
2928 \emph on
2929 Customization
2930 \emph default
2931  manual for information on how to use it.
2932 \end_layout
2933
2934 \begin_layout Subsubsection
2935 Properties
2936 \end_layout
2937
2938 \begin_layout Standard
2939 Each class has a default set of options.
2940  Here's a quick table describing them:
2941 \end_layout
2942
2943 \begin_layout Standard
2944 \begin_inset VSpace 0.3cm
2945 \end_inset
2946
2947
2948 \end_layout
2949
2950 \begin_layout Standard
2951 \align center
2952 \begin_inset Tabular
2953 <lyxtabular version="3" rows="5" columns="5">
2954 <features rotate="0" tabularvalignment="middle">
2955 <column alignment="center" valignment="top" width="0pt">
2956 <column alignment="center" valignment="top" width="0pt">
2957 <column alignment="center" valignment="top" width="0pt">
2958 <column alignment="center" valignment="top" width="0pt">
2959 <column alignment="center" valignment="top" width="0pt">
2960 <row>
2961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2962 \begin_inset Text
2963
2964 \begin_layout Plain Layout
2965
2966 \end_layout
2967
2968 \end_inset
2969 </cell>
2970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2971 \begin_inset Text
2972
2973 \begin_layout Plain Layout
2974
2975 \family sans
2976 \series medium
2977 \shape up
2978 \size normal
2979 \emph off
2980 \bar no
2981 \noun off
2982 \color none
2983 Page style
2984 \end_layout
2985
2986 \end_inset
2987 </cell>
2988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2989 \begin_inset Text
2990
2991 \begin_layout Plain Layout
2992
2993 \family sans
2994 \series medium
2995 \shape up
2996 \size normal
2997 \emph off
2998 \bar no
2999 \noun off
3000 \color none
3001 Sides
3002 \end_layout
3003
3004 \end_inset
3005 </cell>
3006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3007 \begin_inset Text
3008
3009 \begin_layout Plain Layout
3010
3011 \family sans
3012 \series medium
3013 \shape up
3014 \size normal
3015 \emph off
3016 \bar no
3017 \noun off
3018 \color none
3019 Columns
3020 \end_layout
3021
3022 \end_inset
3023 </cell>
3024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3025 \begin_inset Text
3026
3027 \begin_layout Plain Layout
3028
3029 \series medium
3030 \shape up
3031 \size normal
3032 \emph off
3033 \bar no
3034 \noun off
3035 \color none
3036 Max.
3037  sectioning level
3038 \end_layout
3039
3040 \end_inset
3041 </cell>
3042 </row>
3043 <row>
3044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Plain Layout
3048
3049 \series medium
3050 \shape up
3051 \size normal
3052 \emph off
3053 \bar no
3054 \noun off
3055 \color none
3056 article
3057 \end_layout
3058
3059 \end_inset
3060 </cell>
3061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3062 \begin_inset Text
3063
3064 \begin_layout Plain Layout
3065
3066 \family sans
3067 \series medium
3068 \shape up
3069 \size normal
3070 \emph off
3071 \bar no
3072 \noun off
3073 \color none
3074 Plain
3075 \end_layout
3076
3077 \end_inset
3078 </cell>
3079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3080 \begin_inset Text
3081
3082 \begin_layout Plain Layout
3083
3084 \family sans
3085 \series medium
3086 \shape up
3087 \size normal
3088 \emph off
3089 \bar no
3090 \noun off
3091 \color none
3092 One
3093 \end_layout
3094
3095 \end_inset
3096 </cell>
3097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3098 \begin_inset Text
3099
3100 \begin_layout Plain Layout
3101
3102 \family sans
3103 \series medium
3104 \shape up
3105 \size normal
3106 \emph off
3107 \bar no
3108 \noun off
3109 \color none
3110 One
3111 \end_layout
3112
3113 \end_inset
3114 </cell>
3115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Plain Layout
3119
3120 \family sans
3121 \series medium
3122 \shape up
3123 \size normal
3124 \emph off
3125 \bar no
3126 \noun off
3127 \color none
3128 Section
3129 \end_layout
3130
3131 \end_inset
3132 </cell>
3133 </row>
3134 <row>
3135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3136 \begin_inset Text
3137
3138 \begin_layout Plain Layout
3139
3140 \series medium
3141 \shape up
3142 \size normal
3143 \emph off
3144 \bar no
3145 \noun off
3146 \color none
3147 report
3148 \end_layout
3149
3150 \end_inset
3151 </cell>
3152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3153 \begin_inset Text
3154
3155 \begin_layout Plain Layout
3156
3157 \family sans
3158 \series medium
3159 \shape up
3160 \size normal
3161 \emph off
3162 \bar no
3163 \noun off
3164 \color none
3165 Plain
3166 \end_layout
3167
3168 \end_inset
3169 </cell>
3170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3171 \begin_inset Text
3172
3173 \begin_layout Plain Layout
3174
3175 \family sans
3176 \series medium
3177 \shape up
3178 \size normal
3179 \emph off
3180 \bar no
3181 \noun off
3182 \color none
3183 One
3184 \end_layout
3185
3186 \end_inset
3187 </cell>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Plain Layout
3192
3193 \family sans
3194 \series medium
3195 \shape up
3196 \size normal
3197 \emph off
3198 \bar no
3199 \noun off
3200 \color none
3201 One
3202 \end_layout
3203
3204 \end_inset
3205 </cell>
3206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3207 \begin_inset Text
3208
3209 \begin_layout Plain Layout
3210
3211 \family sans
3212 \series medium
3213 \shape up
3214 \size normal
3215 \emph off
3216 \bar no
3217 \noun off
3218 \color none
3219 Chapter
3220 \end_layout
3221
3222 \end_inset
3223 </cell>
3224 </row>
3225 <row>
3226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3227 \begin_inset Text
3228
3229 \begin_layout Plain Layout
3230
3231 \series medium
3232 \shape up
3233 \size normal
3234 \emph off
3235 \bar no
3236 \noun off
3237 \color none
3238 book
3239 \end_layout
3240
3241 \end_inset
3242 </cell>
3243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3244 \begin_inset Text
3245
3246 \begin_layout Plain Layout
3247
3248 \family sans
3249 \series medium
3250 \shape up
3251 \size normal
3252 \emph off
3253 \bar no
3254 \noun off
3255 \color none
3256 Headings
3257 \end_layout
3258
3259 \end_inset
3260 </cell>
3261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Plain Layout
3265
3266 \family sans
3267 \series medium
3268 \shape up
3269 \size normal
3270 \emph off
3271 \bar no
3272 \noun off
3273 \color none
3274 Two
3275 \end_layout
3276
3277 \end_inset
3278 </cell>
3279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3280 \begin_inset Text
3281
3282 \begin_layout Plain Layout
3283
3284 \family sans
3285 \series medium
3286 \shape up
3287 \size normal
3288 \emph off
3289 \bar no
3290 \noun off
3291 \color none
3292 One
3293 \end_layout
3294
3295 \end_inset
3296 </cell>
3297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3298 \begin_inset Text
3299
3300 \begin_layout Plain Layout
3301
3302 \family sans
3303 \series medium
3304 \shape up
3305 \size normal
3306 \emph off
3307 \bar no
3308 \noun off
3309 \color none
3310 Chapter
3311 \end_layout
3312
3313 \end_inset
3314 </cell>
3315 </row>
3316 <row>
3317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3318 \begin_inset Text
3319
3320 \begin_layout Plain Layout
3321
3322 \series medium
3323 \shape up
3324 \size normal
3325 \emph off
3326 \bar no
3327 \noun off
3328 \color none
3329 letter
3330 \end_layout
3331
3332 \end_inset
3333 </cell>
3334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3335 \begin_inset Text
3336
3337 \begin_layout Plain Layout
3338
3339 \family sans
3340 \series medium
3341 \shape up
3342 \size normal
3343 \emph off
3344 \bar no
3345 \noun off
3346 \color none
3347 Plain
3348 \end_layout
3349
3350 \end_inset
3351 </cell>
3352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3353 \begin_inset Text
3354
3355 \begin_layout Plain Layout
3356
3357 \family sans
3358 \series medium
3359 \shape up
3360 \size normal
3361 \emph off
3362 \bar no
3363 \noun off
3364 \color none
3365 One
3366 \end_layout
3367
3368 \end_inset
3369 </cell>
3370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3371 \begin_inset Text
3372
3373 \begin_layout Plain Layout
3374
3375 \family sans
3376 \series medium
3377 \shape up
3378 \size normal
3379 \emph off
3380 \bar no
3381 \noun off
3382 \color none
3383 One
3384 \end_layout
3385
3386 \end_inset
3387 </cell>
3388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3389 \begin_inset Text
3390
3391 \begin_layout Plain Layout
3392
3393 \series medium
3394 \shape up
3395 \size normal
3396 \emph off
3397 \bar no
3398 \noun off
3399 \color none
3400 none
3401 \end_layout
3402
3403 \end_inset
3404 </cell>
3405 </row>
3406 </lyxtabular>
3407
3408 \end_inset
3409
3410
3411 \end_layout
3412
3413 \begin_layout Standard
3414 \begin_inset VSpace 0.3cm
3415 \end_inset
3416
3417
3418 \end_layout
3419
3420 \begin_layout Standard
3421 You're probably also wondering what 
3422 \begin_inset Quotes eld
3423 \end_inset
3424
3425 Max.
3426 \begin_inset space ~
3427 \end_inset
3428
3429 sectioning level
3430 \begin_inset Quotes erd
3431 \end_inset
3432
3433  means.
3434  There are several paragraph environments used to create section headings.
3435  Different document classes allow different types of section headings.
3436  Only two use the 
3437 \family sans
3438 Chapter
3439 \family default
3440  heading; the rest do not and begin instead with the 
3441 \family sans
3442 Section
3443 \family default
3444  heading.
3445  Some document classes, such as the ones for letters, don't use any section
3446  headings.
3447  In addition to 
3448 \family sans
3449 Chapter
3450 \family default
3451  and 
3452 \family sans
3453 Section
3454 \family default
3455  headings, there are also 
3456 \family sans
3457 Subsection
3458 \family default
3459  headings, 
3460 \family sans
3461 Subsubsection
3462 \family default
3463  headings, and so on.
3464  We will describe these headings fully in section
3465 \begin_inset space ~
3466 \end_inset
3467
3468
3469 \begin_inset CommandInset ref
3470 LatexCommand ref
3471 reference "sub:Headings"
3472
3473 \end_inset
3474
3475 .
3476 \end_layout
3477
3478 \begin_layout Subsection
3479 Document Layout
3480 \begin_inset CommandInset label
3481 LatexCommand label
3482 name "sub:Document-Layout"
3483
3484 \end_inset
3485
3486
3487 \begin_inset Index idx
3488 status collapsed
3489
3490 \begin_layout Plain Layout
3491 Document ! Layout
3492 \end_layout
3493
3494 \end_inset
3495
3496
3497 \family sans
3498
3499 \begin_inset Index idx
3500 status collapsed
3501
3502 \begin_layout Plain Layout
3503 Document ! Settings
3504 \end_layout
3505
3506 \end_inset
3507
3508
3509 \end_layout
3510
3511 \begin_layout Standard
3512 The most important properties of document classes are set in the menu 
3513 \family sans
3514 Document\SpecialChar \menuseparator
3515 Settings
3516 \family default
3517 .
3518  There in the 
3519 \family sans
3520 Class
3521 \begin_inset space ~
3522 \end_inset
3523
3524 options
3525 \family default
3526  field under 
3527 \family sans
3528 Documents
3529 \begin_inset space ~
3530 \end_inset
3531
3532 Class
3533 \family default
3534 , you can enter special options for your document class in a comma-separated
3535  list.
3536  This is only necessary if LyX doesn't support special options you want
3537  to use for your document.
3538  To learn more about your favorite LaTeX-class and its options, you have
3539  to read its manual.
3540 \end_layout
3541
3542 \begin_layout Standard
3543 The drop box 
3544 \family sans
3545 Headings
3546 \begin_inset space ~
3547 \end_inset
3548
3549 style
3550 \family default
3551  in the 
3552 \family sans
3553 Document\SpecialChar \menuseparator
3554 Settings
3555 \family default
3556  dialog under 
3557 \family sans
3558 Page
3559 \begin_inset space ~
3560 \end_inset
3561
3562 Layout
3563 \family default
3564  controls what sorts of headings and page numbers go on a page.
3565  You can choose between the following five options:
3566 \end_layout
3567
3568 \begin_layout Labeling
3569 \labelwidthstring 00.00.0000
3570
3571 \family sans
3572 Default
3573 \family default
3574  Use default page style of current class.
3575 \end_layout
3576
3577 \begin_layout Labeling
3578 \labelwidthstring 00.00.0000
3579
3580 \family sans
3581 empty
3582 \family default
3583  No page numbers or headings.
3584 \end_layout
3585
3586 \begin_layout Labeling
3587 \labelwidthstring 00.00.0000
3588
3589 \family sans
3590 plain
3591 \family default
3592  Page numbers only.
3593 \end_layout
3594
3595 \begin_layout Labeling
3596 \labelwidthstring 00.00.0000
3597
3598 \family sans
3599 headings
3600 \family default
3601  Page numbers and either the current chapter or section title and number.
3602  Whether LyX uses the current chapter or the current section depends on
3603  the maximum sectioning level of the class.
3604 \end_layout
3605
3606 \begin_layout Labeling
3607 \labelwidthstring 00.00.0000
3608
3609 \family sans
3610 fancy
3611 \family default
3612  This allows you to define fully customizable headers and footers if you
3613  have the LaTeX-package 
3614 \series bold
3615 fancyhdr
3616 \series default
3617
3618 \begin_inset Index idx
3619 status collapsed
3620
3621 \begin_layout Plain Layout
3622 LaTeX-packages ! fancyhdr
3623 \end_layout
3624
3625 \end_inset
3626
3627  installed.
3628  How they are defined is explained in section
3629 \begin_inset space ~
3630 \end_inset
3631
3632
3633 \begin_inset CommandInset ref
3634 LatexCommand ref
3635 reference "sec:Customized-Page-Headers"
3636
3637 \end_inset
3638
3639 .
3640 \end_layout
3641
3642 \begin_layout Standard
3643 The separation of paragraphs is described in section
3644 \begin_inset space ~
3645 \end_inset
3646
3647
3648 \begin_inset CommandInset ref
3649 LatexCommand ref
3650 reference "sub:Paragraph-Separation"
3651
3652 \end_inset
3653
3654 .
3655 \end_layout
3656
3657 \begin_layout Subsection
3658 Paper Size and Orientation
3659 \begin_inset Index idx
3660 status collapsed
3661
3662 \begin_layout Plain Layout
3663 Document ! Paper size
3664 \end_layout
3665
3666 \end_inset
3667
3668
3669 \begin_inset CommandInset label
3670 LatexCommand label
3671 name "sub:Paper-Size,-Orientation"
3672
3673 \end_inset
3674
3675
3676 \end_layout
3677
3678 \begin_layout Standard
3679 You can find the following options in the menu 
3680 \family sans
3681 Page
3682 \begin_inset space ~
3683 \end_inset
3684
3685 Layout
3686 \family default
3687  of the 
3688 \family sans
3689 Document\SpecialChar \menuseparator
3690 Settings
3691 \family default
3692  dialog:
3693 \family sans
3694
3695 \begin_inset Index idx
3696 status collapsed
3697
3698 \begin_layout Plain Layout
3699 Document ! Settings
3700 \end_layout
3701
3702 \end_inset
3703
3704
3705 \end_layout
3706
3707 \begin_layout Labeling
3708 \labelwidthstring 00.00.0000
3709
3710 \family sans
3711 Paper
3712 \begin_inset space ~
3713 \end_inset
3714
3715 Format
3716 \family default
3717  What size paper to print on.
3718  The choices are
3719 \end_layout
3720
3721 \begin_deeper
3722 \begin_layout Itemize
3723
3724 \family sans
3725 Default
3726 \end_layout
3727
3728 \begin_layout Itemize
3729
3730 \family sans
3731 A0 - A6
3732 \end_layout
3733
3734 \begin_layout Itemize
3735
3736 \family sans
3737 B0 - B6
3738 \end_layout
3739
3740 \begin_layout Itemize
3741
3742 \family sans
3743 C0 - C6
3744 \end_layout
3745
3746 \begin_layout Itemize
3747
3748 \family sans
3749 US letter, US legal, US executive
3750 \end_layout
3751
3752 \begin_layout Itemize
3753
3754 \family sans
3755 JIS B0 - JIS B6
3756 \end_layout
3757
3758 \begin_layout Itemize
3759
3760 \family sans
3761 Custom
3762 \end_layout
3763
3764 \end_deeper
3765 \begin_layout Labeling
3766 \labelwidthstring 00.00.0000
3767
3768 \family sans
3769 Orientation
3770 \family default
3771  To choose whether to output as 
3772 \family sans
3773 Landscape
3774 \family default
3775  or as 
3776 \family sans
3777 Portrait
3778 \family default
3779 .
3780 \end_layout
3781
3782 \begin_layout Labeling
3783 \labelwidthstring 00.00.0000
3784
3785 \family sans
3786 Two-sided
3787 \begin_inset space ~
3788 \end_inset
3789
3790 document
3791 \family default
3792  Adjusts the print space to print both sides of paper.
3793  That means that the print space for odd- and even-numbered pages is different.
3794 \end_layout
3795
3796 \begin_layout Subsection
3797 Margins
3798 \begin_inset CommandInset label
3799 LatexCommand label
3800 name "sub:Margins"
3801
3802 \end_inset
3803
3804
3805 \begin_inset Index idx
3806 status collapsed
3807
3808 \begin_layout Plain Layout
3809 Document ! Margins
3810 \end_layout
3811
3812 \end_inset
3813
3814
3815 \begin_inset Index idx
3816 status collapsed
3817
3818 \begin_layout Plain Layout
3819 Margins
3820 \end_layout
3821
3822 \end_inset
3823
3824
3825 \end_layout
3826
3827 \begin_layout Standard
3828 Paper margins are set in the menu 
3829 \family sans
3830 Document\SpecialChar \menuseparator
3831 Settings
3832 \family default
3833 .
3834 \begin_inset Index idx
3835 status collapsed
3836
3837 \begin_layout Plain Layout
3838 Document ! Settings
3839 \end_layout
3840
3841 \end_inset
3842
3843
3844 \end_layout
3845
3846 \begin_layout Standard
3847 If you use a KOMA-Script document class, you can use the default settings
3848  because KOMA-Script calculates the print space automatically by taking
3849  the paper format and the font size into account.
3850 \end_layout
3851
3852 \begin_layout Subsection
3853 Important Note
3854 \end_layout
3855
3856 \begin_layout Standard
3857 If you change a document class, LyX has to convert 
3858 \emph on
3859 everything
3860 \emph default
3861  into the new class.
3862  That includes the paragraph environments.
3863  Some paragraph environments are standard, in so far as all of the document
3864  classes have them; but some classes have special paragraph environments.
3865  If this is the case, and you change the document class, LyX will mark the
3866  paragraphs whose styles it no longer understands as 
3867 \begin_inset Quotes eld
3868 \end_inset
3869
3870 unknown
3871 \begin_inset Quotes erd
3872 \end_inset
3873
3874 .
3875  The name of the style is retained, in case you should want to go back to
3876  the old class.
3877  But these paragraphs will be output with no special formatting, so you
3878  will either need to create a new style yourself or else convert these paragraph
3879 s manually to a style present in your new document class.
3880 \end_layout
3881
3882 \begin_layout Section
3883 Paragraph Indentation and Separation
3884 \begin_inset Index idx
3885 status collapsed
3886
3887 \begin_layout Plain Layout
3888 Paragraph ! Indentation
3889 \end_layout
3890
3891 \end_inset
3892
3893
3894 \end_layout
3895
3896 \begin_layout Subsection
3897 Introduction
3898 \begin_inset CommandInset label
3899 LatexCommand label
3900 name "sec:Par-indent-intro"
3901
3902 \end_inset
3903
3904
3905 \end_layout
3906
3907 \begin_layout Standard
3908 Before describing all of the various paragraph environments, we'd like to
3909  say a word or two about paragraph indentation.
3910 \end_layout
3911
3912 \begin_layout Standard
3913 Everyone seems to have their own convention for separating paragraphs.
3914  Most Americans indent the first line of a paragraph.
3915  Others don't indent but put extra space between the paragraphs.
3916  If you choose indentation for paragraphs the 
3917 \emph on
3918 first
3919 \emph default
3920  paragraph of a section, or after a figure, an equation, a table, a list,
3921  etc., is 
3922 \emph on
3923 not
3924 \emph default
3925  indented.
3926  Only a paragraph following another paragraph gets indented.
3927  Note that the indentation behavior is different when you use another document
3928  language than English.
3929  LaTeX takes care that the indentation follows the rules of the language
3930  used.
3931 \end_layout
3932
3933 \begin_layout Standard
3934 The space between paragraphs, like the line spacing, the space between headings
3935  and text — in fact, all the spacing for just about everything —is pre-coded
3936  into LyX.
3937  As we said, you don't worry about how much space to add between what.
3938  LyX takes care of that.
3939  In fact, these pre-coded vertical spacings aren't a single number but a
3940  range.
3941  That way, LyX can squish or stretch the space between lines to make sure
3942  figures fit on a page with text, so that sections don't start at the bottom
3943  of a page, and so on.
3944 \begin_inset Foot
3945 status collapsed
3946
3947 \begin_layout Plain Layout
3948 LaTeX does this when LyX goes to produce a printable file.
3949 \end_layout
3950
3951 \end_inset
3952
3953  However, pre-coded doesn't mean you can't change them.
3954  LyX gives you the ability globally to change 
3955 \emph on
3956 all
3957 \emph default
3958  these pre-coded spacings.
3959  We will explain more later.
3960 \end_layout
3961
3962 \begin_layout Subsection
3963 Paragraph Separation
3964 \begin_inset CommandInset label
3965 LatexCommand label
3966 name "sub:Paragraph-Separation"
3967
3968 \end_inset
3969
3970
3971 \begin_inset Index idx
3972 status collapsed
3973
3974 \begin_layout Plain Layout
3975 Paragraph ! Separation
3976 \end_layout
3977
3978 \end_inset
3979
3980
3981 \end_layout
3982
3983 \begin_layout Standard
3984 Select 
3985 \family sans
3986 Indentation
3987 \family default
3988  or 
3989 \family sans
3990 Vertical
3991 \begin_inset space ~
3992 \end_inset
3993
3994 space
3995 \family default
3996  in the submenu 
3997 \family sans
3998 Text
3999 \begin_inset space ~
4000 \end_inset
4001
4002 Layout
4003 \family default
4004  of the dialog 
4005 \family sans
4006 Document\SpecialChar \menuseparator
4007 Settings
4008 \family default
4009
4010 \begin_inset Index idx
4011 status collapsed
4012
4013 \begin_layout Plain Layout
4014 Document ! Settings
4015 \end_layout
4016
4017 \end_inset
4018
4019  to indent paragraphs or to add extra space between paragraphs, respectively.
4020 \end_layout
4021
4022 \begin_layout Subsection
4023 Fine-Tuning
4024 \end_layout
4025
4026 \begin_layout Standard
4027 You can also change the separation method of a single paragraph.
4028  Open the 
4029 \family sans
4030 Edit\SpecialChar \menuseparator
4031 Paragraph
4032 \begin_inset space ~
4033 \end_inset
4034
4035 Settings
4036 \family default
4037  dialog and toggle the 
4038 \family sans
4039 Indent
4040 \begin_inset space ~
4041 \end_inset
4042
4043 Paragraph
4044 \family default
4045  option to change the state of the current paragraph (shortcut 
4046 \begin_inset Info
4047 type  "shortcut"
4048 arg   "paragraph-params \\indent-toggle"
4049 \end_inset
4050
4051 ).
4052  If paragraphs have no indentation but use extra space for separation, this
4053  button will be ignored (you can't indent a single paragraph by toggling
4054  this).
4055 \end_layout
4056
4057 \begin_layout Standard
4058 You should only need to change the indentation method for a single paragraph
4059  if you need to do some fine-tuning.
4060 \end_layout
4061
4062 \begin_layout Subsection
4063 Line Spacing
4064 \begin_inset Index idx
4065 status collapsed
4066
4067 \begin_layout Plain Layout
4068 Paragraph ! Line spacing
4069 \end_layout
4070
4071 \end_inset
4072
4073
4074 \end_layout
4075
4076 \begin_layout Standard
4077 In the 
4078 \family sans
4079 Document\SpecialChar \menuseparator
4080 Settings
4081 \noun on
4082
4083 \begin_inset Index idx
4084 status collapsed
4085
4086 \begin_layout Plain Layout
4087 Document ! Settings
4088 \end_layout
4089
4090 \end_inset
4091
4092
4093 \family default
4094 \noun default
4095  dialog you can set the line spacing for the whole document in the submenu
4096  
4097 \family sans
4098 Text
4099 \begin_inset space ~
4100 \end_inset
4101
4102 Layout
4103 \family default
4104 .
4105 \begin_inset Foot
4106 status collapsed
4107
4108 \begin_layout Plain Layout
4109 You need to have the LaTeX-package 
4110 \series bold
4111 setspace
4112 \series default
4113
4114 \begin_inset Index idx
4115 status collapsed
4116
4117 \begin_layout Plain Layout
4118 LaTeX-packages ! setspace
4119 \end_layout
4120
4121 \end_inset
4122
4123  installed to use this feature.
4124 \end_layout
4125
4126 \end_inset
4127
4128  You can set it for a single paragraph in the 
4129 \family sans
4130 Edit\SpecialChar \menuseparator
4131 Paragraph
4132 \begin_inset space ~
4133 \end_inset
4134
4135 Settings
4136 \family default
4137  dialog but this should be used very exceptionally because vertical spacing
4138  is normally defined in the environment's style.
4139 \end_layout
4140
4141 \begin_layout Section
4142 Paragraph Environments
4143 \begin_inset CommandInset label
4144 LatexCommand label
4145 name "sec:Paragraph-Environments"
4146
4147 \end_inset
4148
4149
4150 \begin_inset Index idx
4151 status collapsed
4152
4153 \begin_layout Plain Layout
4154 Paragraph ! Environments
4155 \end_layout
4156
4157 \end_inset
4158
4159
4160 \begin_inset Index idx
4161 status collapsed
4162
4163 \begin_layout Plain Layout
4164 Paragraph environments|(
4165 \end_layout
4166
4167 \end_inset
4168
4169
4170 \end_layout
4171
4172 \begin_layout Subsection
4173 Overview
4174 \end_layout
4175
4176 \begin_layout Standard
4177 Paragraph environments correspond to the
4178 \end_layout
4179
4180 \begin_layout Standard
4181
4182 \series bold
4183
4184 \backslash
4185 begin{
4186 \emph on
4187 environment
4188 \emph default
4189 } ...
4190  
4191 \backslash
4192 end{
4193 \emph on
4194 environment
4195 \emph default
4196 }
4197 \series default
4198
4199 \begin_inset Newline newline
4200 \end_inset
4201
4202 command sequence in LaTeX files.
4203  If you don't know LaTeX, or the concept of a paragraph environment is totally
4204  alien to you, we urge you to read the 
4205 \emph on
4206 Tutorial
4207 \emph default
4208 .
4209  The 
4210 \emph on
4211 Tutorial
4212 \emph default
4213  also contains many more examples than this section does.
4214 \end_layout
4215
4216 \begin_layout Standard
4217 A paragraph environment is simply a 
4218 \begin_inset Quotes eld
4219 \end_inset
4220
4221 container
4222 \begin_inset Quotes erd
4223 \end_inset
4224
4225  for a paragraph which gives that paragraph certain properties.
4226  This can include a particular style of font, different margins, a numbering
4227  scheme, labels, and so on.
4228  Additionally, you can 
4229 \begin_inset Quotes eld
4230 \end_inset
4231
4232 nest
4233 \begin_inset Quotes erd
4234 \end_inset
4235
4236  the different environments inside one another, allowing one environment
4237  to inherit some of the properties of another.
4238  The different paragraph environments totally replace the need for messy
4239  tab stops, on the fly margin adjustment, and other hangovers from the days
4240  of typewriters.
4241  There are several paragraph environments that are specific to a particular
4242  document type.
4243  We will only be covering the most common ones here.
4244 \end_layout
4245
4246 \begin_layout Standard
4247 To choose a new paragraph environment, use the pull-down box 
4248 \begin_inset Graphics
4249         filename clipart/ToolbarEnvBox.png
4250         scale 70
4251         clip
4252
4253 \end_inset
4254
4255  at the left end of the toolbar.
4256  LyX will change the environment of the 
4257 \emph on
4258 entire
4259 \emph default
4260  paragraph in which the cursor sits.
4261  You can also change the environment of an entire group of paragraphs if
4262  you select them before choosing the new environment.
4263  
4264 \end_layout
4265
4266 \begin_layout Standard
4267 Note that entering 
4268 \family sans
4269 Return
4270 \family default
4271  will 
4272 \emph on
4273 typically
4274 \emph default
4275  create a new paragraph using the 
4276 \family sans
4277 Standard
4278 \family default
4279  paragraph environment.
4280  We say 
4281 \begin_inset Quotes eld
4282 \end_inset
4283
4284 typically
4285 \begin_inset Quotes erd
4286 \end_inset
4287
4288  because if you are in one of these environments:
4289 \end_layout
4290
4291 \begin_layout Itemize
4292
4293 \family sans
4294 Quote
4295 \end_layout
4296
4297 \begin_layout Itemize
4298
4299 \family sans
4300 Quotation
4301 \end_layout
4302
4303 \begin_layout Itemize
4304
4305 \family sans
4306 Verse
4307 \end_layout
4308
4309 \begin_layout Itemize
4310
4311 \family sans
4312 Itemize
4313 \end_layout
4314
4315 \begin_layout Itemize
4316
4317 \family sans
4318 Enumerate
4319 \end_layout
4320
4321 \begin_layout Itemize
4322
4323 \family sans
4324 Description
4325 \end_layout
4326
4327 \begin_layout Itemize
4328
4329 \family sans
4330 List
4331 \end_layout
4332
4333 \begin_layout Standard
4334 LyX keeps the old paragraph environment when you enter 
4335 \family sans
4336 Return
4337 \family default
4338 , rather than resetting it to 
4339 \family sans
4340 Standard
4341 \family default
4342 .
4343  Also the nesting depth is preserved (for more on nesting see section
4344 \begin_inset space ~
4345 \end_inset
4346
4347
4348 \begin_inset CommandInset ref
4349 LatexCommand ref
4350 reference "sec:Nesting"
4351
4352 \end_inset
4353
4354 ).
4355 \end_layout
4356
4357 \begin_layout Subsection
4358 Standard
4359 \end_layout
4360
4361 \begin_layout Standard
4362 The default paragraph environment is 
4363 \family sans
4364 Standard
4365 \family default
4366  for most classes.
4367  It creates a plain paragraph.
4368  If LyX resets the paragraph environment, this is the one it chooses.
4369  In fact, the paragraph you're reading right now (and most of the ones in
4370  this manual) are in the 
4371 \family sans
4372 Standard
4373 \family default
4374  environment.
4375 \end_layout
4376
4377 \begin_layout Standard
4378 You can nest a paragraph using the 
4379 \family sans
4380 Standard
4381 \family default
4382  environment in just about anything else, but you can't really nest anything
4383  in a 
4384 \family sans
4385 Standard
4386 \family default
4387  environment.
4388 \end_layout
4389
4390 \begin_layout Subsection
4391 Document Title
4392 \begin_inset Index idx
4393 status collapsed
4394
4395 \begin_layout Plain Layout
4396 Document ! Title
4397 \end_layout
4398
4399 \end_inset
4400
4401
4402 \end_layout
4403
4404 \begin_layout Standard
4405 A LaTeX title page has three parts: the title itself, the name(s) of the
4406  author(s) and a 
4407 \begin_inset Quotes eld
4408 \end_inset
4409
4410 footnote
4411 \begin_inset Quotes erd
4412 \end_inset
4413
4414  for thanks or contact information.
4415  For certain types of documents, LaTeX places all of this on a separate
4416  page along with today's date.
4417  For other types of documents, the title 
4418 \begin_inset Quotes eld
4419 \end_inset
4420
4421 page
4422 \begin_inset Quotes erd
4423 \end_inset
4424
4425  goes at the top of the first page of the document.
4426  
4427 \end_layout
4428
4429 \begin_layout Standard
4430 LyX provides an interface to the title page commands through the paragraph
4431  environments 
4432 \family sans
4433 Title
4434 \family default
4435
4436 \family sans
4437 Author
4438 \family default
4439 , and 
4440 \family sans
4441 Date
4442 \family default
4443 .
4444  Here's how you use them:
4445 \end_layout
4446
4447 \begin_layout Itemize
4448 Put the title of your document in the 
4449 \family sans
4450 Title
4451 \family default
4452  environment.
4453 \end_layout
4454
4455 \begin_layout Itemize
4456 Put the author name in the 
4457 \family sans
4458 Author
4459 \family default
4460  environment.
4461 \end_layout
4462
4463 \begin_layout Itemize
4464 If you want the date to have a certain appearance, want to use a fixed date,
4465  or want other text to appear in place of today's date, put that text in
4466  the 
4467 \family sans
4468 Date
4469 \family default
4470  environment.
4471  Note that using this environment is optional.
4472  If you don't provide any, LaTeX will automatically insert today's date.
4473  If you don't want a date, use the option 
4474 \family sans
4475 Suppress default date on front page
4476 \family default
4477  in the menu 
4478 \family sans
4479 Document\SpecialChar \menuseparator
4480 Settings\SpecialChar \menuseparator
4481 Document
4482 \begin_inset space ~
4483 \end_inset
4484
4485 class
4486 \family default
4487 .
4488 \end_layout
4489
4490 \begin_layout Standard
4491 You can use footnotes to insert 
4492 \begin_inset Quotes eld
4493 \end_inset
4494
4495 thanks
4496 \begin_inset Quotes erd
4497 \end_inset
4498
4499  or contact information.
4500 \end_layout
4501
4502 \begin_layout Subsection
4503 Headings
4504 \begin_inset Index idx
4505 status collapsed
4506
4507 \begin_layout Plain Layout
4508 Section headings
4509 \end_layout
4510
4511 \end_inset
4512
4513
4514 \begin_inset CommandInset label
4515 LatexCommand label
4516 name "sub:Headings"
4517
4518 \end_inset
4519
4520
4521 \end_layout
4522
4523 \begin_layout Standard
4524 There are several paragraph environments for producing section headings.
4525  LyX takes care of the numbering for you.
4526 \end_layout
4527
4528 \begin_layout Subsubsection
4529 Numbered Headings
4530 \begin_inset Index idx
4531 status collapsed
4532
4533 \begin_layout Plain Layout
4534 Section headings ! Numbered
4535 \end_layout
4536
4537 \end_inset
4538
4539
4540 \end_layout
4541
4542 \begin_layout Standard
4543 There are 7 numbered types of section headings.
4544  They are:
4545 \end_layout
4546
4547 \begin_layout Enumerate
4548
4549 \family sans
4550 Part
4551 \end_layout
4552
4553 \begin_layout Enumerate
4554
4555 \family sans
4556 Chapter
4557 \end_layout
4558
4559 \begin_layout Enumerate
4560
4561 \family sans
4562 Section
4563 \end_layout
4564
4565 \begin_layout Enumerate
4566
4567 \family sans
4568 Subsection
4569 \end_layout
4570
4571 \begin_layout Enumerate
4572
4573 \family sans
4574 Subsubsection
4575 \end_layout
4576
4577 \begin_layout Enumerate
4578
4579 \family sans
4580 Paragraph
4581 \end_layout
4582
4583 \begin_layout Enumerate
4584
4585 \family sans
4586 Subparagraph
4587 \end_layout
4588
4589 \begin_layout Standard
4590 LyX labels each heading with a series of numbers, separated by periods.
4591  The numbers describe where in the document you are.
4592  Unlike the other headings, parts are numbered with Latin letters.
4593 \end_layout
4594
4595 \begin_layout Standard
4596 Headings all subdivide your document into different pieces of text.
4597  For example, suppose you're writing a book.
4598  You group the book into chapters.
4599  LyX does a similar grouping:
4600 \end_layout
4601
4602 \begin_layout Itemize
4603
4604 \family sans
4605 Part
4606 \family default
4607  is divided into either 
4608 \family sans
4609 Chapter
4610 \family default
4611 s or 
4612 \family sans
4613 Section
4614 \family default
4615 s
4616 \end_layout
4617
4618 \begin_layout Itemize
4619
4620 \family sans
4621 Chapter
4622 \family default
4623 s are divided into 
4624 \family sans
4625 Section
4626 \family default
4627 s
4628 \end_layout
4629
4630 \begin_layout Itemize
4631
4632 \family sans
4633 Section
4634 \family default
4635 s are divided into 
4636 \family sans
4637 Subsection
4638 \family default
4639 s
4640 \end_layout
4641
4642 \begin_layout Itemize
4643
4644 \family sans
4645 Subsection
4646 \family default
4647 s are divided into 
4648 \family sans
4649 Subsubsection
4650 \family default
4651 s
4652 \end_layout
4653
4654 \begin_layout Itemize
4655
4656 \family sans
4657 Subsubsection
4658 \family default
4659 s are divided into 
4660 \family sans
4661 Paragraph
4662 \family default
4663 s
4664 \end_layout
4665
4666 \begin_layout Itemize
4667
4668 \family sans
4669 Paragraph
4670 \family default
4671 s are divided into 
4672 \family sans
4673 Subparagraph
4674 \family default
4675 s
4676 \end_layout
4677
4678 \begin_layout Standard
4679 \begin_inset Note Greyedout
4680 status open
4681
4682 \begin_layout Plain Layout
4683
4684 \series bold
4685 Note:
4686 \series default
4687  Not all document types use the 
4688 \family sans
4689 Chapter
4690 \family default
4691  heading as the maximum sectioning level.
4692  In that case the 
4693 \family sans
4694 Section
4695 \family default
4696  is the top-level heading.
4697 \end_layout
4698
4699 \end_inset
4700
4701
4702 \end_layout
4703
4704 \begin_layout Standard
4705 So, if you use the 
4706 \family sans
4707 Subsubsection
4708 \family default
4709  environment to label a new sub-subsection, LyX labels it with its number,
4710  along with the number of the subsection, section and, if applicable, chapter
4711  that it's in.
4712  For example: the fifth section of the second chapter of this book has the
4713  label 
4714 \begin_inset Quotes eld
4715 \end_inset
4716
4717 2.5
4718 \begin_inset Quotes erd
4719 \end_inset
4720
4721 .
4722 \end_layout
4723
4724 \begin_layout Subsubsection
4725 Unnumbered Headings
4726 \begin_inset Index idx
4727 status collapsed
4728
4729 \begin_layout Plain Layout
4730 Section headings ! Unnumbered
4731 \end_layout
4732
4733 \end_inset
4734
4735
4736 \end_layout
4737
4738 \begin_layout Standard
4739 The unnumbered section headings have a 
4740 \begin_inset Quotes eld
4741 \end_inset
4742
4743 *
4744 \begin_inset Quotes erd
4745 \end_inset
4746
4747  at the end of their name.
4748  They work the same as their numbered counterparts but will not appear in
4749  the table of contents, see section
4750 \begin_inset space ~
4751 \end_inset
4752
4753
4754 \begin_inset CommandInset ref
4755 LatexCommand ref
4756 reference "sec:toc"
4757
4758 \end_inset
4759
4760 .
4761 \end_layout
4762
4763 \begin_layout Subsubsection
4764 Changing the Numbering
4765 \begin_inset CommandInset label
4766 LatexCommand label
4767 name "sub:Numbering-depth"
4768
4769 \end_inset
4770
4771
4772 \end_layout
4773
4774 \begin_layout Standard
4775 You can also alter which sectioning levels get numbered and which ones appear
4776  in the Table of Contents.
4777  Now, this doesn't remove any of the levels; that's preset in the document
4778  class.
4779  Just as certain classes start with 
4780 \family sans
4781 Chapter
4782 \family default
4783  and go down to the 
4784 \family sans
4785 Subparagraph
4786 \family default
4787  level.
4788  Others start at 
4789 \family sans
4790 Section
4791 \family default
4792 .
4793  Similarly, not all document classes number all sectioning levels.
4794  Most don't number 
4795 \family sans
4796 Paragraph
4797 \family default
4798  or 
4799 \family sans
4800 Subparagraph
4801 \family default
4802 .
4803  This is something you can change.
4804 \end_layout
4805
4806 \begin_layout Standard
4807 Open the 
4808 \family sans
4809 Document\SpecialChar \menuseparator
4810 Settings
4811 \family default
4812  dialog.
4813 \begin_inset Index idx
4814 status collapsed
4815
4816 \begin_layout Plain Layout
4817 Document ! Settings
4818 \end_layout
4819
4820 \end_inset
4821
4822  Under 
4823 \family sans
4824 Numbering
4825 \begin_inset space ~
4826 \end_inset
4827
4828 &
4829 \begin_inset space ~
4830 \end_inset
4831
4832 TOC
4833 \family default
4834  you will see two counters.
4835  The one named 
4836 \family sans
4837 Numbering
4838 \family default
4839  controls how far down in the sectioning hierarchy LyX numbers a section
4840  heading.
4841  The other one controls the appearance of the section headings in the table
4842  of contents.
4843 \end_layout
4844
4845 \begin_layout Subsubsection
4846 Short Titles of Headings
4847 \begin_inset Index idx
4848 status collapsed
4849
4850 \begin_layout Plain Layout
4851 Section headings ! Short titles
4852 \end_layout
4853
4854 \end_inset
4855
4856
4857 \begin_inset Argument 1
4858 status collapsed
4859
4860 \begin_layout Plain Layout
4861 Short Titles
4862 \end_layout
4863
4864 \end_inset
4865
4866
4867 \begin_inset CommandInset label
4868 LatexCommand label
4869 name "sec:Short-Titles"
4870
4871 \end_inset
4872
4873
4874 \end_layout
4875
4876 \begin_layout Standard
4877 Some section or chapter titles, such as this one, can get quite long.
4878  This can cause trouble when there is limited horizontal space.
4879  For example, if the header of the page is set to show the current section
4880  title, a long title will protrude over the page margins and look awful.
4881 \end_layout
4882
4883 \begin_layout Standard
4884 LaTeX allows you to specify a short title for section headings.
4885  This short title is used in the header and in the actual table of contents,
4886  avoiding the problem mentioned.
4887  To specify a short title, set the cursor behind the title and use the menu
4888  
4889 \family sans
4890 Insert\SpecialChar \menuseparator
4891 Short
4892 \begin_inset space ~
4893 \end_inset
4894
4895 Title
4896 \family default
4897 .
4898  This will insert a box labeled 
4899 \begin_inset Quotes eld
4900 \end_inset
4901
4902 Short
4903 \begin_inset space ~
4904 \end_inset
4905
4906 Title
4907 \begin_inset Quotes erd
4908 \end_inset
4909
4910  which you can use to enter the short title text.
4911  This also works for captions inside floats.
4912  There can only be one short title per title.
4913 \end_layout
4914
4915 \begin_layout Standard
4916 The title of this section is a good example of using this feature.
4917 \end_layout
4918
4919 \begin_layout Subsubsection
4920 Special Information
4921 \end_layout
4922
4923 \begin_layout Standard
4924 The following information applies to all section headings:
4925 \end_layout
4926
4927 \begin_layout Itemize
4928 You cannot do any nesting with these environments.
4929 \end_layout
4930
4931 \begin_layout Itemize
4932 You cannot use a margin note in any of these environments.
4933 \end_layout
4934
4935 \begin_layout Itemize
4936 You can only use inline math in these environments.
4937 \end_layout
4938
4939 \begin_layout Itemize
4940 You can use labels and cross-references to refer to their numbers.
4941 \end_layout
4942
4943 \begin_layout Subsection
4944 Quotes and Poetry line spacing
4945 \end_layout
4946
4947 \begin_layout Standard
4948 LyX has three paragraph environments for writing poetry and quotations.
4949  They are 
4950 \family sans
4951 Quote
4952 \family default
4953
4954 \family sans
4955 Quotation
4956 \family default
4957 , and 
4958 \family sans
4959 Verse
4960 \family default
4961 .
4962  Forget the days of changing line spacing and twiddling with margins.
4963  These three paragraph environments already have those changes built-in.
4964  They all widen the left margin and add a bit of extra space above and below
4965  the text they contain.
4966  They also allow nesting, so you can put a 
4967 \family sans
4968 Verse
4969 \family default
4970  in a 
4971 \family sans
4972 Quotation
4973 \family default
4974 , as well as in some other paragraph environments.
4975 \end_layout
4976
4977 \begin_layout Standard
4978 There is another feature of these three paragraph environments: they do
4979  
4980 \emph on
4981 not
4982 \emph default
4983  reset to 
4984 \family sans
4985 Standard
4986 \family default
4987  when you start a new paragraph.
4988  So, you can type in that poem and merrily enter 
4989 \family sans
4990 Return
4991 \family default
4992  without worrying about the paragraph environment changing on you.
4993  Of course, that means that, once you are done typing in that poem, you
4994  have to change back to the 
4995 \family sans
4996 Standard
4997 \family default
4998  environment yourself.
4999 \end_layout
5000
5001 \begin_layout Subsubsection
5002
5003 \family sans
5004 Quote
5005 \family default
5006  and 
5007 \family sans
5008 Quotation
5009 \family default
5010
5011 \begin_inset CommandInset label
5012 LatexCommand label
5013 name "sec:Quote"
5014
5015 \end_inset
5016
5017
5018 \begin_inset Index idx
5019 status collapsed
5020
5021 \begin_layout Plain Layout
5022 Quotation
5023 \end_layout
5024
5025 \end_inset
5026
5027
5028 \end_layout
5029
5030 \begin_layout Standard
5031 Now that we've described the similarities of these three environments, it's
5032  time for the differences.
5033  
5034 \family sans
5035 Quote
5036 \family default
5037  and 
5038 \family sans
5039 Quotation
5040 \family default
5041  are identical except for one difference: 
5042 \family sans
5043 Quote
5044 \family default
5045  uses extra spacing to separate paragraphs and never indents the first line.
5046  
5047 \family sans
5048 Quotation
5049 \family default
5050  
5051 \emph on
5052 always
5053 \emph default
5054  indents the first line of a paragraph and uses the same line spacing throughout.
5055 \end_layout
5056
5057 \begin_layout Standard
5058 Here's an example of the 
5059 \family sans
5060 Quote
5061 \family default
5062  environment:
5063 \end_layout
5064
5065 \begin_layout Quote
5066 This is in the 
5067 \family sans
5068 Quote
5069 \family default
5070  environment.
5071  I can keep writing, extending this line out further and further until it
5072  wraps.
5073  See – no indentation!
5074 \end_layout
5075
5076 \begin_layout Quote
5077 Here's the second paragraph of this quote.
5078  Again, there's no indentation, but there is extra space between me and
5079  the other paragraph.
5080 \end_layout
5081
5082 \begin_layout Standard
5083 Here's another example, this time in the 
5084 \family sans
5085 Quotation
5086 \family default
5087  environment:
5088 \end_layout
5089
5090 \begin_layout Quotation
5091 This is in the 
5092 \family sans
5093 Quotation
5094 \family default
5095  environment.
5096  If I keep writing, you will see the indentation.
5097  If your country uses a writing style that indicates new paragraphs by indenting
5098  the first line, then 
5099 \family sans
5100 Quotation
5101 \family default
5102  is the environment for you! Well, you'd use it 
5103 \emph on
5104 if
5105 \emph default
5106  you were quoting other text.
5107 \end_layout
5108
5109 \begin_layout Quotation
5110 Here's a new paragraph.
5111  I could ramble on and on, like a politician at election time.
5112  If I did that, though, you'd get bored.
5113 \end_layout
5114
5115 \begin_layout Standard
5116 As the examples show, 
5117 \family sans
5118 Quote
5119 \family default
5120  is for those people who use extra space to separate paragraphs.
5121  They should put quotes in the 
5122 \family sans
5123 Quote
5124 \family default
5125  environment.
5126  Those who use indentation to mark a new paragraph should use the 
5127 \family sans
5128 Quotation
5129 \family default
5130  paragraph environment for quoted text.
5131 \end_layout
5132
5133 \begin_layout Subsubsection
5134
5135 \family sans
5136 Verse
5137 \family default
5138
5139 \begin_inset Index idx
5140 status collapsed
5141
5142 \begin_layout Plain Layout
5143 Paragraph ! Verse
5144 \end_layout
5145
5146 \end_inset
5147
5148
5149 \family sans
5150
5151 \begin_inset Index idx
5152 status collapsed
5153
5154 \begin_layout Plain Layout
5155 Poetry
5156 \end_layout
5157
5158 \end_inset
5159
5160
5161 \begin_inset CommandInset label
5162 LatexCommand label
5163 name "sec:Verse"
5164
5165 \end_inset
5166
5167
5168 \end_layout
5169
5170 \begin_layout Standard
5171
5172 \family sans
5173 Verse
5174 \family default
5175  is a paragraph environment for poetry, rhymes, verses, and so on.
5176  Here's an example:
5177 \end_layout
5178
5179 \begin_layout Verse
5180 This is in Verse
5181 \begin_inset Newline newline
5182 \end_inset
5183
5184 Which I did not rehearse!
5185 \end_layout
5186
5187 \begin_layout Verse
5188 It could be much worse.
5189  This line could be long, very long, oh so long, so very long that it wraps
5190  around.
5191  It looks okay on screen, but in the printed version, the extra lines are
5192  indented a bit more than the first.
5193  Okay, so it's turned to prose and doesn't rhyme anymore.
5194  So sue me.
5195 \end_layout
5196
5197 \begin_layout Verse
5198 To break a line
5199 \begin_inset Newline newline
5200 \end_inset
5201
5202 And make things look fine
5203 \begin_inset Newline newline
5204 \end_inset
5205
5206 Use 
5207 \begin_inset Info
5208 type  "shortcut"
5209 arg   "newline-insert newline"
5210 \end_inset
5211
5212 .
5213 \end_layout
5214
5215 \begin_layout Standard
5216 As you can see, 
5217 \family sans
5218 Verse
5219 \family default
5220  does not indent both margins.
5221  Each stanza of the verse or poem is in its own paragraph.
5222  To separate the individual lines of a stanza, use the 
5223 \family typewriter
5224 break-line
5225 \family default
5226  function 
5227 \begin_inset Info
5228 type  "shortcut"
5229 arg   "newline-insert newline"
5230 \end_inset
5231
5232 .
5233 \end_layout
5234
5235 \begin_layout Subsection
5236 Lists
5237 \begin_inset Index idx
5238 status collapsed
5239
5240 \begin_layout Plain Layout
5241 Lists
5242 \end_layout
5243
5244 \end_inset
5245
5246
5247 \begin_inset CommandInset label
5248 LatexCommand label
5249 name "sub:Lists"
5250
5251 \end_inset
5252
5253
5254 \end_layout
5255
5256 \begin_layout Standard
5257 LyX has four different paragraph environments for creating different kinds
5258  of lists.
5259  In the 
5260 \family sans
5261 Itemize
5262 \family default
5263  and 
5264 \family sans
5265 Enumerate
5266 \family default
5267  environments, LyX labels your list items with bullets or numbers, respectively.
5268  In the 
5269 \family sans
5270 Description
5271 \family default
5272  and 
5273 \family sans
5274 List
5275 \family default
5276  environments, LyX lets you provide your own label.
5277  We will present the individual details of each type of list next after
5278  describing some general features of all four of them.
5279 \end_layout
5280
5281 \begin_layout Subsubsection
5282 General Features
5283 \end_layout
5284
5285 \begin_layout Standard
5286 The four paragraph environments for lists differ from the other environments
5287  in several ways.
5288  First, LyX treats each paragraph as a list item.
5289  Hitting 
5290 \family sans
5291 Return
5292 \family default
5293  does 
5294 \emph on
5295 not
5296 \emph default
5297  reset the environment to 
5298 \family sans
5299 Standard
5300 \family default
5301  but keeps the current environment and creates a new list item.
5302  The nesting depth is thereby kept.
5303  If you want to keep the paragraph environment but reset the current nesting
5304  depth, you can use 
5305 \begin_inset Info
5306 type  "shortcut"
5307 arg   "break-paragraph inverse"
5308 \end_inset
5309
5310 .
5311  If you do this at the top level of a list, it returns you to the 
5312 \family sans
5313 Standard
5314 \family default
5315  environment.
5316 \end_layout
5317
5318 \begin_layout Standard
5319 You can nest lists of any type inside one another.
5320  In fact, LyX changes the labels on some list items depending on how it
5321  is nested.
5322  If you intend to use any of the list paragraph environments, we suggest
5323  you read all of section
5324 \begin_inset space ~
5325 \end_inset
5326
5327
5328 \begin_inset CommandInset ref
5329 LatexCommand ref
5330 reference "sec:Nesting"
5331
5332 \end_inset
5333
5334 .
5335 \end_layout
5336
5337 \begin_layout Subsubsection
5338
5339 \family sans
5340 Itemize
5341 \family default
5342
5343 \begin_inset Index idx
5344 status collapsed
5345
5346 \begin_layout Plain Layout
5347 Lists ! Itemize
5348 \end_layout
5349
5350 \end_inset
5351
5352
5353 \begin_inset CommandInset label
5354 LatexCommand label
5355 name "sec:Itemize"
5356
5357 \end_inset
5358
5359
5360 \end_layout
5361
5362 \begin_layout Standard
5363 The first type of list we will describe in detail is the 
5364 \family sans
5365 Itemize
5366 \family default
5367  paragraph environment.
5368  It has the following properties:
5369 \end_layout
5370
5371 \begin_layout Itemize
5372 Each item has a particular bullet or symbol as its label.
5373 \end_layout
5374
5375 \begin_deeper
5376 \begin_layout Itemize
5377 LyX uses the same symbol for all of the items in a given nesting level.
5378 \end_layout
5379
5380 \begin_layout Itemize
5381 The symbol appears at the beginning of the first line.
5382 \end_layout
5383
5384 \end_deeper
5385 \begin_layout Itemize
5386 The items can have any length.
5387  LyX automatically offsets the left margin of each item.
5388  The offset is always relative to whatever environment the 
5389 \family sans
5390 Itemize
5391 \family default
5392  list may be in.
5393 \end_layout
5394
5395 \begin_layout Itemize
5396 If you nest an 
5397 \family sans
5398 Itemize
5399 \family default
5400  environment inside another 
5401 \family sans
5402 Itemize
5403 \family default
5404  environment, the label changes to a new symbol.
5405 \end_layout
5406
5407 \begin_deeper
5408 \begin_layout Itemize
5409 There are four different symbols for up to a four-fold nesting.
5410 \end_layout
5411
5412 \begin_layout Itemize
5413 LyX always shows the same symbol on screen.
5414 \end_layout
5415
5416 \begin_layout Itemize
5417 See section
5418 \begin_inset space ~
5419 \end_inset
5420
5421
5422 \begin_inset CommandInset ref
5423 LatexCommand ref
5424 reference "sec:Nesting"
5425
5426 \end_inset
5427
5428  for a full explanation of nesting.
5429 \end_layout
5430
5431 \end_deeper
5432 \begin_layout Standard
5433 Of course, that explanation was also an example of an 
5434 \family sans
5435 Itemize
5436 \family default
5437  list.
5438  The 
5439 \family sans
5440 Itemize
5441 \family default
5442  environment is best suited for lists where the order doesn't matter.
5443 \end_layout
5444
5445 \begin_layout Standard
5446 We said that different levels use different symbols as their label.
5447  Here's an example of all four possible symbols.
5448 \end_layout
5449
5450 \begin_layout Itemize
5451 The label for the first level 
5452 \family sans
5453 Itemize
5454 \family default
5455  is a large black dot, or bullet.
5456 \end_layout
5457
5458 \begin_deeper
5459 \begin_layout Itemize
5460 The label for the second level is a dash.
5461 \end_layout
5462
5463 \begin_deeper
5464 \begin_layout Itemize
5465 The label for the third is an asterisk.
5466 \end_layout
5467
5468 \begin_deeper
5469 \begin_layout Itemize
5470 The label for the fourth is a centered dot.
5471 \end_layout
5472
5473 \end_deeper
5474 \begin_layout Itemize
5475 Back out to the third level.
5476 \end_layout
5477
5478 \end_deeper
5479 \begin_layout Itemize
5480 Back to the second level.
5481 \end_layout
5482
5483 \end_deeper
5484 \begin_layout Itemize
5485 Back to the outermost level.
5486 \end_layout
5487
5488 \begin_layout Standard
5489 These are the default labels for an 
5490 \family sans
5491 Itemize
5492 \family default
5493  list.
5494  You can customize how these labels are displayed in the output in the 
5495 \family sans
5496 Document\SpecialChar \menuseparator
5497 Settings
5498 \family default
5499  dialog in the submenu 
5500 \family sans
5501 Bullets
5502 \family default
5503 .
5504 \begin_inset Index idx
5505 status collapsed
5506
5507 \begin_layout Plain Layout
5508 Document ! Settings
5509 \end_layout
5510
5511 \end_inset
5512
5513  These customizations are not displayed in LyX.
5514 \end_layout
5515
5516 \begin_layout Standard
5517 Notice how the space between items decreases with increasing depth.
5518  We will explain nesting and all the tricks you can do with different depths
5519  in section
5520 \begin_inset space ~
5521 \end_inset
5522
5523
5524 \begin_inset CommandInset ref
5525 LatexCommand ref
5526 reference "sec:Nesting"
5527
5528 \end_inset
5529
5530 .
5531 \end_layout
5532
5533 \begin_layout Subsubsection
5534
5535 \family sans
5536 Enumerate
5537 \family default
5538
5539 \begin_inset Index idx
5540 status collapsed
5541
5542 \begin_layout Plain Layout
5543 Lists ! Enumerate
5544 \end_layout
5545
5546 \end_inset
5547
5548
5549 \begin_inset CommandInset label
5550 LatexCommand label
5551 name "sec:Enumerate"
5552
5553 \end_inset
5554
5555
5556 \end_layout
5557
5558 \begin_layout Standard
5559 The 
5560 \family sans
5561 Enumerate
5562 \family default
5563  environment is used to create numbered lists and outlines.
5564  It has these properties:
5565 \end_layout
5566
5567 \begin_layout Enumerate
5568 Each item has a numeral as its label.
5569 \end_layout
5570
5571 \begin_deeper
5572 \begin_layout Enumerate
5573 The label type depends on the nesting depth.
5574 \end_layout
5575
5576 \end_deeper
5577 \begin_layout Enumerate
5578 LyX automatically counts the items for you and updates the label as appropriate.
5579 \end_layout
5580
5581 \begin_layout Enumerate
5582 Each new 
5583 \family sans
5584 Enumerate
5585 \family default
5586  environment resets the counter to one.
5587 \end_layout
5588
5589 \begin_layout Enumerate
5590 Like the 
5591 \family sans
5592 Itemize
5593 \family default
5594  environment, the 
5595 \family sans
5596 Enumerate
5597 \family default
5598  environment:
5599 \end_layout
5600
5601 \begin_deeper
5602 \begin_layout Enumerate
5603 Offsets the items relative to the left margin.
5604  Items can have any length.
5605 \end_layout
5606
5607 \begin_layout Enumerate
5608 Reduces the space between items as the nesting depth increases.
5609 \end_layout
5610
5611 \begin_layout Enumerate
5612 Uses different types of labels depending on the nesting depth.
5613 \end_layout
5614
5615 \begin_layout Enumerate
5616 Allows up to a four-fold nesting.
5617 \end_layout
5618
5619 \end_deeper
5620 \begin_layout Standard
5621 Unlike the 
5622 \family sans
5623 Itemize
5624 \family default
5625  environment, 
5626 \family sans
5627 Enumerate
5628 \family default
5629  shows the different labels for each item in LyX.
5630  Here is how LyX labels the four different levels in an 
5631 \family sans
5632 Enumerate
5633 \family default
5634 :
5635 \end_layout
5636
5637 \begin_layout Enumerate
5638 The first level of an 
5639 \family sans
5640 Enumerate
5641 \family default
5642  uses Arabic numerals followed by a period.
5643 \end_layout
5644
5645 \begin_deeper
5646 \begin_layout Enumerate
5647 The second level uses lower case letters surrounded by parentheses.
5648 \end_layout
5649
5650 \begin_deeper
5651 \begin_layout Enumerate
5652 The third level uses lower-case Roman numerals followed by a period.
5653 \end_layout
5654
5655 \begin_deeper
5656 \begin_layout Enumerate
5657 The fourth level uses capital letters followed by a period.
5658 \end_layout
5659
5660 \begin_layout Enumerate
5661 Again, notice the decrease in the spacing between items as the nesting depth
5662  increases.
5663 \end_layout
5664
5665 \end_deeper
5666 \begin_layout Enumerate
5667 Back to the third level
5668 \end_layout
5669
5670 \end_deeper
5671 \begin_layout Enumerate
5672 Back to the second level.
5673 \end_layout
5674
5675 \end_deeper
5676 \begin_layout Enumerate
5677 Back to the outermost level.
5678 \end_layout
5679
5680 \begin_layout Standard
5681 You can customize the type of numbering used in the 
5682 \family sans
5683 Enumerate
5684 \family default
5685  environment, see section
5686 \begin_inset space ~
5687 \end_inset
5688
5689
5690 \begin_inset CommandInset ref
5691 LatexCommand ref
5692 reference "sub:Customized-Lists"
5693
5694 \end_inset
5695
5696 .
5697  Such customization only shows up in the printed version, not in LyX.
5698 \end_layout
5699
5700 \begin_layout Standard
5701 There is more to nesting 
5702 \family sans
5703 Enumerate
5704 \family default
5705  environments than we've stated here.
5706  You should read section
5707 \begin_inset space ~
5708 \end_inset
5709
5710
5711 \begin_inset CommandInset ref
5712 LatexCommand ref
5713 reference "sec:Nesting"
5714
5715 \end_inset
5716
5717  to learn more about nesting.
5718 \end_layout
5719
5720 \begin_layout Subsubsection
5721
5722 \family sans
5723 Description
5724 \family default
5725
5726 \begin_inset Index idx
5727 status collapsed
5728
5729 \begin_layout Plain Layout
5730 Lists ! Description
5731 \end_layout
5732
5733 \end_inset
5734
5735
5736 \end_layout
5737
5738 \begin_layout Standard
5739 Unlike the previous two environments, the 
5740 \family sans
5741 Description
5742 \family default
5743  list has no fixed label.
5744  Instead, LyX uses the first 
5745 \begin_inset Quotes eld
5746 \end_inset
5747
5748 word
5749 \begin_inset Quotes erd
5750 \end_inset
5751
5752  of the first line as the label.
5753  Here's an example:
5754 \end_layout
5755
5756 \begin_layout Description
5757 Example: This is an example of the 
5758 \family sans
5759 Description
5760 \family default
5761  environment.
5762 \end_layout
5763
5764 \begin_layout Standard
5765 LyX typesets the label in boldface and puts extra space between it and the
5766  rest of the line.
5767 \end_layout
5768
5769 \begin_layout Standard
5770 With the first 
5771 \begin_inset Quotes eld
5772 \end_inset
5773
5774 word
5775 \begin_inset Quotes erd
5776 \end_inset
5777
5778  it is meant that the first usage of the 
5779 \family sans
5780 Space
5781 \family default
5782  key ends the label if you are at the beginning of the first line of an
5783  item.
5784  If you need to use more than one word in a label use a 
5785 \family sans
5786 Protected Space
5787 \family default
5788 .
5789  (Use either 
5790 \begin_inset Info
5791 type  "shortcut"
5792 arg   "command-alternatives space-insert protected ; math-space"
5793 \end_inset
5794
5795  or the menu 
5796 \family sans
5797 Insert\SpecialChar \menuseparator
5798 Formatting\SpecialChar \menuseparator
5799 Protected
5800 \begin_inset space ~
5801 \end_inset
5802
5803 Space
5804 \family default
5805 ; see section
5806 \begin_inset space ~
5807 \end_inset
5808
5809
5810 \begin_inset CommandInset ref
5811 LatexCommand ref
5812 reference "sub:Protected-Space"
5813
5814 \end_inset
5815
5816  for more information.) Here is an example:
5817 \end_layout
5818
5819 \begin_layout Description
5820 Second
5821 \begin_inset space ~
5822 \end_inset
5823
5824 Example: This one shows how to use a 
5825 \family sans
5826 Protected
5827 \begin_inset space ~
5828 \end_inset
5829
5830 Space
5831 \family default
5832  in the label of a 
5833 \family sans
5834 Description
5835 \family default
5836  list item.
5837 \end_layout
5838
5839 \begin_layout Description
5840 Usage: You should use the 
5841 \family sans
5842 Description
5843 \family default
5844  environment for things like definitions and theorems.
5845  Use it when you need to make one word in particular stand out in the text
5846  that describes it.
5847  It's not a good idea to use a 
5848 \family sans
5849 Description
5850 \family default
5851  environment when you have an entire sentence that you want to describe.
5852  You're better off using 
5853 \family sans
5854 Itemize
5855 \family default
5856  or 
5857 \family sans
5858 Enumerate
5859 \family default
5860  and nesting several 
5861 \family sans
5862 Standard
5863 \family default
5864  paragraphs into them.
5865 \end_layout
5866
5867 \begin_layout Description
5868 Nesting: You can nest 
5869 \family sans
5870 Description
5871 \family default
5872  environments inside one another, nest them in other types of lists, and
5873  so on.
5874 \end_layout
5875
5876 \begin_layout Standard
5877 Notice that after the first line, LyX indents subsequent lines, offsetting
5878  them from the first line.
5879 \end_layout
5880
5881 \begin_layout Subsubsection
5882 Labeling
5883 \begin_inset Index idx
5884 status collapsed
5885
5886 \begin_layout Plain Layout
5887 Lists ! Labeling
5888 \end_layout
5889
5890 \end_inset
5891
5892
5893 \end_layout
5894
5895 \begin_layout Standard
5896 The 
5897 \family sans
5898 Labeling
5899 \family default
5900  environment is a LyX extension to LaTeX.
5901 \end_layout
5902
5903 \begin_layout Standard
5904 Like the 
5905 \family sans
5906 Description
5907 \family default
5908  list the 
5909 \family sans
5910 Labeling
5911 \family default
5912  list has user-defined labels for each list item but it provides some additional
5913  features.
5914  Here are its properties:
5915 \end_layout
5916
5917 \begin_layout Labeling
5918 \labelwidthstring 00.00.0000
5919 item
5920 \begin_inset space ~
5921 \end_inset
5922
5923 labels LyX uses the first 
5924 \begin_inset Quotes eld
5925 \end_inset
5926
5927 word
5928 \begin_inset Quotes erd
5929 \end_inset
5930
5931  of each line as the item label.
5932  The first 
5933 \family sans
5934 Space
5935 \family default
5936  after the beginning of the first line of an item marks the end of the label.
5937  If you need to use more than one word in an item label, use a protected
5938  space as described above.
5939 \end_layout
5940
5941 \begin_layout Labeling
5942 \labelwidthstring 00.00.0000
5943 margins As you can see, LyX uses different margins for the item label and
5944  the body of the item text.
5945  The body of the text has a larger left margin, which is equal to the default
5946  label width plus a little extra space.
5947  
5948 \end_layout
5949
5950 \begin_layout Labeling
5951 \labelwidthstring 00.00.0000
5952 label
5953 \begin_inset space ~
5954 \end_inset
5955
5956 width LyX uses the width of the label, or the default width, whatever is
5957  larger.
5958  If the label width is larger, the label 
5959 \begin_inset Quotes eld
5960 \end_inset
5961
5962 extends
5963 \begin_inset Quotes erd
5964 \end_inset
5965
5966  into the first line.
5967  In other words, the text of the first line isn't aligned with the left
5968  margin of the rest of the item text.
5969 \end_layout
5970
5971 \begin_layout Labeling
5972 \labelwidthstring 00.00.0000
5973 default
5974 \begin_inset space ~
5975 \end_inset
5976
5977 width You can set the default label width to ensure that the text of all
5978  items in a 
5979 \family sans
5980 Labeling
5981 \family default
5982  environment has the same left margin.
5983 \begin_inset Newline newline
5984 \end_inset
5985
5986 To change the default width, select all items in the list.
5987  Now open the 
5988 \family sans
5989 Edit\SpecialChar \menuseparator
5990 Paragraph
5991 \begin_inset space ~
5992 \end_inset
5993
5994 Settings
5995 \family default
5996  dialog (toolbar button 
5997 \begin_inset Info
5998 type  "icon"
5999 arg   "layout-paragraph"
6000 \end_inset
6001
6002 ).
6003  The text in the box 
6004 \family sans
6005 Longest
6006 \begin_inset space ~
6007 \end_inset
6008
6009 label
6010 \family default
6011  determines the default label width.
6012  You can use the text of your largest label here, but you can also use the
6013  letter 
6014 \begin_inset Quotes eld
6015 \end_inset
6016
6017 M
6018 \begin_inset Quotes erd
6019 \end_inset
6020
6021  multiple times instead.
6022  M is the widest character and is a standard unit of widths in LaTeX.
6023  By using 
6024 \begin_inset Quotes eld
6025 \end_inset
6026
6027 M
6028 \begin_inset Quotes erd
6029 \end_inset
6030
6031  as the unit of width you don't need to keep changing the contents of 
6032 \family sans
6033 Longest
6034 \begin_inset space ~
6035 \end_inset
6036
6037 label
6038 \family default
6039  every time you alter a label in a 
6040 \family sans
6041 List
6042 \family default
6043  environment.
6044 \begin_inset Newline newline
6045 \end_inset
6046
6047 The predefined default width is the length of 
6048 \begin_inset Quotes eld
6049 \end_inset
6050
6051 00.00.0000
6052 \begin_inset Quotes erd
6053 \end_inset
6054
6055  (equal to 6
6056 \begin_inset space ~
6057 \end_inset
6058
6059 M).
6060 \end_layout
6061
6062 \begin_layout Standard
6063 You should use the 
6064 \family sans
6065 Labeling
6066 \family default
6067  list the same way as the 
6068 \family sans
6069 Description
6070 \family default
6071  list: When you need one word to stand out from the text that describes
6072  it.
6073  The 
6074 \family sans
6075 Labeling
6076 \family default
6077  environment gives you another way to do this, using a different overall
6078  layout.
6079 \end_layout
6080
6081 \begin_layout Standard
6082 You can nest 
6083 \family sans
6084 Labeling
6085 \family default
6086  lists inside one another, nest them in other types of lists, and so on.
6087  They work just like the other list paragraph environments.
6088  Read section
6089 \begin_inset space ~
6090 \end_inset
6091
6092
6093 \begin_inset CommandInset ref
6094 LatexCommand ref
6095 reference "sec:Nesting"
6096
6097 \end_inset
6098
6099  to learn about nesting.
6100 \end_layout
6101
6102 \begin_layout Standard
6103 There is yet another feature of the 
6104 \family sans
6105 Labeling
6106 \family default
6107  list: As you can see in the examples, LyX left-justifies the item labels
6108  by default.
6109  You can use additional 
6110 \family sans
6111 HFills
6112 \family default
6113  to change how LyX justifies the item label.
6114  
6115 \family sans
6116 Hfills
6117 \family default
6118  are documented in section
6119 \begin_inset space ~
6120 \end_inset
6121
6122
6123 \begin_inset CommandInset ref
6124 LatexCommand ref
6125 reference "sub:Horizontal-Space"
6126
6127 \end_inset
6128
6129 .
6130  Here are some examples:
6131 \end_layout
6132
6133 \begin_layout Labeling
6134 \labelwidthstring 00.00.0000
6135 Left The default for 
6136 \family sans
6137 Labeling
6138 \family default
6139  item labels.
6140 \end_layout
6141
6142 \begin_layout Labeling
6143 \labelwidthstring 00.00.0000
6144 \begin_inset space \hfill{}
6145 \end_inset
6146
6147 Right One 
6148 \family sans
6149 HFill
6150 \family default
6151  at the beginning of the label right justifies it.
6152 \end_layout
6153
6154 \begin_layout Labeling
6155 \labelwidthstring 00.00.0000
6156 \begin_inset space \hfill{}
6157 \end_inset
6158
6159 Center
6160 \begin_inset space \hfill{}
6161 \end_inset
6162
6163  One 
6164 \family sans
6165 HFill
6166 \family default
6167  at the beginning of the label and one at the end centers it.
6168 \end_layout
6169
6170 \begin_layout Subsection
6171 Customized Lists
6172 \begin_inset CommandInset label
6173 LatexCommand label
6174 name "sub:Customized-Lists"
6175
6176 \end_inset
6177
6178
6179 \begin_inset Index idx
6180 status collapsed
6181
6182 \begin_layout Plain Layout
6183 Lists ! Customized
6184 \end_layout
6185
6186 \end_inset
6187
6188
6189 \end_layout
6190
6191 \begin_layout Standard
6192 The features described in this section require that the module 
6193 \family sans
6194 Customisable Lists (enumitem)
6195 \family default
6196  is loaded in the document settings.
6197  The module uses the LaTeX-package 
6198 \series bold
6199 enumitem
6200 \series default
6201
6202 \begin_inset Index idx
6203 status collapsed
6204
6205 \begin_layout Plain Layout
6206 LaTeX-packages ! enumitem
6207 \end_layout
6208
6209 \end_inset
6210
6211 .
6212 \end_layout
6213
6214 \begin_layout Subsubsection
6215 Custom Enumerate Lists
6216 \begin_inset Index idx
6217 status collapsed
6218
6219 \begin_layout Plain Layout
6220 Lists ! Enumerate ! Custom
6221 \end_layout
6222
6223 \end_inset
6224
6225
6226 \end_layout
6227
6228 \begin_layout Standard
6229 \noindent
6230 The default numbering of numbered lists can be changed by adding an optional
6231  argument (menu 
6232 \family sans
6233 Insert\SpecialChar \menuseparator
6234 Short Title
6235 \family default
6236 ) to the first item of each level in the list.
6237  There you add the command
6238 \end_layout
6239
6240 \begin_layout Standard
6241
6242 \series bold
6243 label=
6244 \backslash
6245 roman{enumi}
6246 \end_layout
6247
6248 \begin_layout Standard
6249 in TeX Code (shortcut 
6250 \begin_inset Info
6251 type  "shortcut"
6252 arg   "ert-insert"
6253 \end_inset
6254
6255 ).
6256 \begin_inset Foot
6257 status collapsed
6258
6259 \begin_layout Plain Layout
6260 For more about TeX Code, look at section
6261 \begin_inset space ~
6262 \end_inset
6263
6264
6265 \begin_inset CommandInset ref
6266 LatexCommand ref
6267 reference "sec:TeX-Code"
6268
6269 \end_inset
6270
6271 .
6272 \end_layout
6273
6274 \end_inset
6275
6276
6277 \emph on
6278  enumi
6279 \emph default
6280  is hereby the first level counter of the enumeration.
6281  The command 
6282 \series bold
6283
6284 \backslash
6285 roman
6286 \series default
6287  outputs the counter as a small Roman numeral.
6288  For capital Roman numerals replace 
6289 \series bold
6290
6291 \backslash
6292 roman
6293 \series default
6294  with 
6295 \series bold
6296
6297 \backslash
6298 Roman
6299 \series default
6300  in the command above.
6301  For Arabic numerals use 
6302 \series bold
6303
6304 \backslash
6305 arabic
6306 \series default
6307 .
6308  To 
6309 \begin_inset Quotes eld
6310 \end_inset
6311
6312 number
6313 \begin_inset Quotes erd
6314 \end_inset
6315
6316  items with capital or small Latin letters use 
6317 \series bold
6318
6319 \backslash
6320 Alph
6321 \series default
6322  or 
6323 \series bold
6324
6325 \backslash
6326 alph
6327 \series default
6328 , respectively.
6329 \end_layout
6330
6331 \begin_layout Standard
6332 \noindent
6333 \begin_inset Note Greyedout
6334 status open
6335
6336 \begin_layout Plain Layout
6337
6338 \series bold
6339 Note:
6340 \series default
6341  You can only number 26
6342 \begin_inset space ~
6343 \end_inset
6344
6345 items with Latin letters, because this numbering is limited to single letters.
6346 \end_layout
6347
6348 \end_inset
6349
6350
6351 \end_layout
6352
6353 \begin_layout Standard
6354 To change the numbering for the list sublevels, replace the 'i' in the command
6355  by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv).
6356 \end_layout
6357
6358 \begin_layout Standard
6359 Here is a list with custom numbering:
6360 \end_layout
6361
6362 \begin_layout Enumerate
6363 \begin_inset Argument 1
6364 status open
6365
6366 \begin_layout Plain Layout
6367 \begin_inset ERT
6368 status open
6369
6370 \begin_layout Plain Layout
6371
6372 label=
6373 \backslash
6374 #
6375 \backslash
6376 Alph{enumi}
6377 \backslash
6378 #
6379 \end_layout
6380
6381 \end_inset
6382
6383
6384 \end_layout
6385
6386 \end_inset
6387
6388 Level 1
6389 \end_layout
6390
6391 \begin_deeper
6392 \begin_layout Enumerate
6393 \begin_inset Argument 1
6394 status open
6395
6396 \begin_layout Plain Layout
6397 \begin_inset ERT
6398 status open
6399
6400 \begin_layout Plain Layout
6401
6402 label=
6403 \backslash
6404 Alph{enumi}.
6405 \backslash
6406 arabic{enumii}
6407 \end_layout
6408
6409 \end_inset
6410
6411
6412 \end_layout
6413
6414 \end_inset
6415
6416 Level 2
6417 \end_layout
6418
6419 \begin_layout Enumerate
6420 Level 2
6421 \end_layout
6422
6423 \begin_deeper
6424 \begin_layout Enumerate
6425 \begin_inset Argument 1
6426 status open
6427
6428 \begin_layout Plain Layout
6429 \begin_inset ERT
6430 status open
6431
6432 \begin_layout Plain Layout
6433
6434 label=
6435 \backslash
6436 bf{
6437 \backslash
6438 arabic{enumiii}}
6439 \end_layout
6440
6441 \end_inset
6442
6443
6444 \end_layout
6445
6446 \end_inset
6447
6448 Level 3
6449 \end_layout
6450
6451 \begin_deeper
6452 \begin_layout Enumerate
6453 \begin_inset Argument 1
6454 status open
6455
6456 \begin_layout Plain Layout
6457 \begin_inset ERT
6458 status open
6459
6460 \begin_layout Plain Layout
6461
6462 label=
6463 \backslash
6464 emph{
6465 \backslash
6466 roman{enumiv})}
6467 \end_layout
6468
6469 \end_inset
6470
6471
6472 \end_layout
6473
6474 \end_inset
6475
6476 Level 4
6477 \end_layout
6478
6479 \end_deeper
6480 \end_deeper
6481 \end_deeper
6482 \begin_layout Standard
6483 For this list these commands were used:
6484 \end_layout
6485
6486 \begin_layout Standard
6487 \noindent
6488
6489 \series bold
6490 label=
6491 \backslash
6492 #
6493 \backslash
6494 Alph{enumi}
6495 \backslash
6496 #
6497 \begin_inset Newline newline
6498 \end_inset
6499
6500 label=
6501 \backslash
6502 Alph{enumi}.
6503 \backslash
6504 arabic{enumii}
6505 \begin_inset Newline newline
6506 \end_inset
6507
6508 label=
6509 \backslash
6510 bf{
6511 \backslash
6512 arabic{enumiii}}
6513 \begin_inset Newline newline
6514 \end_inset
6515
6516 label=
6517 \backslash
6518 emph{
6519 \backslash
6520 roman{enumiv})}
6521 \end_layout
6522
6523 \begin_layout Standard
6524 where the command 
6525 \series bold
6526
6527 \backslash
6528 emph{}
6529 \series default
6530  makes the label emphasized and 
6531 \series bold
6532
6533 \backslash
6534 bf{}
6535 \series default
6536  makes it bold.
6537 \end_layout
6538
6539 \begin_layout Standard
6540 \begin_inset Note Greyedout
6541 status open
6542
6543 \begin_layout Plain Layout
6544
6545 \series bold
6546 Note:
6547 \series default
6548  When you change the label of a list level, it will be used for all following
6549  lists until you change the definition.
6550 \end_layout
6551
6552 \end_inset
6553
6554
6555 \end_layout
6556
6557 \begin_layout Subsubsection
6558 Resumed Enumeration
6559 \begin_inset Index idx
6560 status collapsed
6561
6562 \begin_layout Plain Layout
6563 Lists ! Enumerate ! Resumed
6564 \end_layout
6565
6566 \end_inset
6567
6568
6569 \end_layout
6570
6571 \begin_layout Standard
6572 Enumerations can be resumed after intermediate paragraphs:
6573 \end_layout
6574
6575 \begin_layout Enumerate
6576 \begin_inset Argument 1
6577 status open
6578
6579 \begin_layout Plain Layout
6580 \begin_inset ERT
6581 status open
6582
6583 \begin_layout Plain Layout
6584
6585 label=
6586 \backslash
6587 arabic{enumi}.
6588 \end_layout
6589
6590 \end_inset
6591
6592
6593 \end_layout
6594
6595 \end_inset
6596
6597 first
6598 \begin_inset Note Note
6599 status open
6600
6601 \begin_layout Plain Layout
6602 goes back to default numbering
6603 \end_layout
6604
6605 \end_inset
6606
6607
6608 \end_layout
6609
6610 \begin_layout Enumerate
6611 second
6612 \end_layout
6613
6614 \begin_layout Standard
6615 regular text
6616 \end_layout
6617
6618 \begin_layout Enumerate-Resume
6619 resumed
6620 \end_layout
6621
6622 \begin_layout Standard
6623 To resume an enumeration, use the style 
6624 \family sans
6625 Enumerate-Resume
6626 \family default
6627 .
6628  Its numbering appears in blue within LyX to indicate that it is a resumed
6629  list and that the numbering will not be correct in LyX, but in the output.
6630 \end_layout
6631
6632 \begin_layout Standard
6633 \begin_inset Note Greyedout
6634 status open
6635
6636 \begin_layout Plain Layout
6637
6638 \series bold
6639 Note:
6640 \series default
6641  If there is no previous enumeration to resume, you will get a LaTeX error.
6642 \end_layout
6643
6644 \end_inset
6645
6646
6647 \end_layout
6648
6649 \begin_layout Standard
6650 Perhaps you might want to resume the list with a different number from the
6651  next one.
6652  Or you want to start a new enumeration with a defined number.
6653  This is possible by adding an optional argument to the first list item
6654  of a normal enumeration.
6655  There, insert the command
6656 \end_layout
6657
6658 \begin_layout Standard
6659
6660 \series bold
6661 start=number
6662 \end_layout
6663
6664 \begin_layout Standard
6665 where 
6666 \emph on
6667 number
6668 \emph default
6669  is the number with which you want to resume the list.
6670  An example:
6671 \end_layout
6672
6673 \begin_layout Enumerate
6674 first item
6675 \end_layout
6676
6677 \begin_layout Enumerate
6678 second item
6679 \end_layout
6680
6681 \begin_layout Standard
6682 Enumeration starting at a given value:
6683 \end_layout
6684
6685 \begin_layout Enumerate
6686 \begin_inset Argument 1
6687 status open
6688
6689 \begin_layout Plain Layout
6690 \begin_inset ERT
6691 status open
6692
6693 \begin_layout Plain Layout
6694
6695 start=4
6696 \end_layout
6697
6698 \end_inset
6699
6700
6701 \end_layout
6702
6703 \end_inset
6704
6705 This enumeration starts at 4
6706 \end_layout
6707
6708 \begin_layout Subsubsection
6709 List Spacing
6710 \begin_inset Index idx
6711 status collapsed
6712
6713 \begin_layout Plain Layout
6714 Lists ! Spacing
6715 \end_layout
6716
6717 \end_inset
6718
6719
6720 \end_layout
6721
6722 \begin_layout Standard
6723 In some cases you might want less or more vertical space between the items
6724  of a list.
6725  For example if the default space is too much in your opinion in this case:
6726 \end_layout
6727
6728 \begin_layout Itemize
6729 A bullet list
6730 \end_layout
6731
6732 \begin_layout Itemize
6733 with standard spacing 
6734 \end_layout
6735
6736 \begin_layout Standard
6737 You can decrease the space by adding an optional argument to the first item
6738  of the list.
6739  Add there the command 
6740 \series bold
6741 nolistsep
6742 \series default
6743  to get no additional list space like in this example:
6744 \end_layout
6745
6746 \begin_layout Itemize
6747 \begin_inset Argument 1
6748 status open
6749
6750 \begin_layout Plain Layout
6751 \begin_inset ERT
6752 status open
6753
6754 \begin_layout Plain Layout
6755
6756 nolistsep
6757 \end_layout
6758
6759 \end_inset
6760
6761
6762 \end_layout
6763
6764 \end_inset
6765
6766 A bullet list
6767 \end_layout
6768
6769 \begin_layout Itemize
6770 without additional
6771 \end_layout
6772
6773 \begin_layout Itemize
6774 vertical space
6775 \end_layout
6776
6777 \begin_layout Standard
6778 To add space you can use several other commands provided by the LaTeX-package
6779  
6780 \series bold
6781 enumitem
6782 \series default
6783
6784 \begin_inset Index idx
6785 status collapsed
6786
6787 \begin_layout Plain Layout
6788 LaTeX-packages ! enumitem
6789 \end_layout
6790
6791 \end_inset
6792
6793 .
6794  For more information see its documentation, 
6795 \begin_inset CommandInset citation
6796 LatexCommand cite
6797 key "enumitem"
6798
6799 \end_inset
6800
6801 .
6802 \end_layout
6803
6804 \begin_layout Standard
6805 There are also many commands available to change the horizontal spacing
6806  and indentation.
6807  Here is an example where the indentation was changed to that of the paragraphs
6808  in the document and the label separation was set to 2
6809 \begin_inset space \thinspace{}
6810 \end_inset
6811
6812 cm so that the number is in the page margin:
6813 \end_layout
6814
6815 \begin_layout Enumerate
6816 \begin_inset Argument 1
6817 status open
6818
6819 \begin_layout Plain Layout
6820 \begin_inset ERT
6821 status open
6822
6823 \begin_layout Plain Layout
6824
6825 labelindent=
6826 \backslash
6827 parindent, labelsep=2cm
6828 \end_layout
6829
6830 \end_inset
6831
6832
6833 \end_layout
6834
6835 \end_inset
6836
6837 An enumeration
6838 \end_layout
6839
6840 \begin_layout Enumerate
6841 with negative indentation
6842 \end_layout
6843
6844 \begin_layout Subsubsection
6845 Further Customization
6846 \begin_inset Index idx
6847 status collapsed
6848
6849 \begin_layout Plain Layout
6850 Lists ! Customization
6851 \end_layout
6852
6853 \end_inset
6854
6855
6856 \end_layout
6857
6858 \begin_layout Standard
6859 You can also change the style of description lists.
6860  The command
6861 \end_layout
6862
6863 \begin_layout Standard
6864
6865 \series bold
6866 font=definition
6867 \end_layout
6868
6869 \begin_layout Standard
6870 changes the description label font, the command
6871 \end_layout
6872
6873 \begin_layout Standard
6874
6875 \series bold
6876 style=definition
6877 \end_layout
6878
6879 \begin_layout Standard
6880 sets the list style.
6881 \end_layout
6882
6883 \begin_layout Standard
6884 An example where the command
6885 \end_layout
6886
6887 \begin_layout Standard
6888
6889 \series bold
6890 font=
6891 \backslash
6892 itshape, style=nextline
6893 \end_layout
6894
6895 \begin_layout Standard
6896 is used:
6897 \end_layout
6898
6899 \begin_layout Description
6900 Ionizing
6901 \begin_inset space ~
6902 \end_inset
6903
6904 radiation: 
6905 \begin_inset Argument 1
6906 status collapsed
6907
6908 \begin_layout Plain Layout
6909 \begin_inset ERT
6910 status open
6911
6912 \begin_layout Plain Layout
6913
6914 labelindent=0pt, labelsep=1cm, font=
6915 \backslash
6916 itshape, style=nextline
6917 \end_layout
6918
6919 \end_inset
6920
6921
6922 \end_layout
6923
6924 \end_inset
6925
6926 Ionizing radiation consists of particles or electromagnetic waves that are
6927  energetic enough to detach electrons from atoms or molecules, therefore
6928  ionizing them.
6929 \end_layout
6930
6931 \begin_layout Description
6932 Reference
6933 \begin_inset space ~
6934 \end_inset
6935
6936 counting: In computer science, reference counting is a technique of storing
6937  the number of references, pointers, or handles to a resource such as an
6938  object, block of memory, disk space or other resource.
6939 \end_layout
6940
6941 \begin_layout Standard
6942 There are many more commands and features provided by the LaTeX-package
6943  
6944 \series bold
6945 enumitem
6946 \series default
6947
6948 \begin_inset Index idx
6949 status collapsed
6950
6951 \begin_layout Plain Layout
6952 LaTeX-packages ! enumitem
6953 \end_layout
6954
6955 \end_inset
6956
6957 .
6958  For more information see its documentation 
6959 \begin_inset CommandInset citation
6960 LatexCommand cite
6961 key "enumitem"
6962
6963 \end_inset
6964
6965 .
6966 \end_layout
6967
6968 \begin_layout Subsection
6969 Letters
6970 \begin_inset Index idx
6971 status collapsed
6972
6973 \begin_layout Plain Layout
6974 Letters
6975 \end_layout
6976
6977 \end_inset
6978
6979
6980 \end_layout
6981
6982 \begin_layout Subsubsection
6983
6984 \family sans
6985 Address
6986 \family default
6987  and 
6988 \family sans
6989 Right
6990 \begin_inset space ~
6991 \end_inset
6992
6993 Address
6994 \family default
6995 : An Overview
6996 \end_layout
6997
6998 \begin_layout Standard
6999 Although LyX has document classes for letters, we've also created two paragraph
7000  environments called 
7001 \family sans
7002 Address
7003 \family default
7004  and 
7005 \family sans
7006 Right
7007 \begin_inset space ~
7008 \end_inset
7009
7010 Address
7011 \family default
7012 .
7013  To use the letter class, you need to use specific paragraph environments
7014  in a specific order, otherwise LaTeX gags on the document.
7015  In contrast, you can use the 
7016 \family sans
7017 Address
7018 \family default
7019  and 
7020 \family sans
7021 Right
7022 \begin_inset space ~
7023 \end_inset
7024
7025 Address
7026 \family default
7027  paragraph environments anywhere with no problem.
7028  You can even nest them inside other environments, though you can't nest
7029  anything in them.
7030 \end_layout
7031
7032 \begin_layout Standard
7033 Of course, you're not limited to using 
7034 \family sans
7035 Address
7036 \family default
7037  and 
7038 \family sans
7039 Right
7040 \begin_inset space ~
7041 \end_inset
7042
7043 Address
7044 \family default
7045  for letters only.
7046  
7047 \family sans
7048 Right
7049 \begin_inset space ~
7050 \end_inset
7051
7052 Address
7053 \family default
7054 , in particular, is useful for creating article titles like those used in
7055  some European academic papers.
7056 \end_layout
7057
7058 \begin_layout Subsubsection
7059 Usage
7060 \begin_inset CommandInset label
7061 LatexCommand label
7062 name "sec:Address-Usage"
7063
7064 \end_inset
7065
7066
7067 \end_layout
7068
7069 \begin_layout Standard
7070 The 
7071 \family sans
7072 Address
7073 \family default
7074  environment formats text in the style of an address, which is also used
7075  for the opening and signature in some countries.
7076  Similarly, the 
7077 \family sans
7078 Right
7079 \begin_inset space ~
7080 \end_inset
7081
7082 Address
7083 \family default
7084  environment formats text in the style of a right-justified address, which
7085  is used for the sender's address and today's date in some countries.
7086  Here's an example of each:
7087 \end_layout
7088
7089 \begin_layout Right Address
7090 Right Address
7091 \begin_inset Newline newline
7092 \end_inset
7093
7094 Who I am
7095 \begin_inset Newline newline
7096 \end_inset
7097
7098 Where I am
7099 \begin_inset Newline newline
7100 \end_inset
7101
7102 When is it? What is today?
7103 \end_layout
7104
7105 \begin_layout Standard
7106 That was 
7107 \family sans
7108 Right
7109 \begin_inset space ~
7110 \end_inset
7111
7112 Address
7113 \family default
7114 .
7115  Notice that the lines all have the same left margin, which LyX sets to
7116  fit the largest block of text on a single line.
7117  Here's an example of the 
7118 \family sans
7119 Address
7120 \family default
7121  environment:
7122 \end_layout
7123
7124 \begin_layout Address
7125 Who are you
7126 \begin_inset Newline newline
7127 \end_inset
7128
7129 Where do I send this
7130 \begin_inset Newline newline
7131 \end_inset
7132
7133 Your post office and country
7134 \end_layout
7135
7136 \begin_layout Standard
7137 As you can see, both 
7138 \family sans
7139 Address
7140 \family default
7141  and 
7142 \family sans
7143 Right
7144 \begin_inset space ~
7145 \end_inset
7146
7147 Address
7148 \family default
7149  add extra space between themselves and the next paragraph.
7150  If you enter 
7151 \family sans
7152 Return
7153 \family default
7154  in either of these environments, LyX resets the nesting depth and sets
7155  the environment to 
7156 \family sans
7157 Standard
7158 \family default
7159 .
7160  This makes sense, since 
7161 \family sans
7162 Return
7163 \family default
7164  is the 
7165 \family typewriter
7166 break-paragraph
7167 \family default
7168  function, and the individual lines of an address are not paragraphs.
7169  Thus, you have to use 
7170 \family typewriter
7171 break-line
7172 \family default
7173  (
7174 \begin_inset Info
7175 type  "shortcut"
7176 arg   "newline-insert newline"
7177 \end_inset
7178
7179  or 
7180 \family sans
7181 Insert\SpecialChar \menuseparator
7182 Formatting\SpecialChar \menuseparator
7183 Ragged
7184 \begin_inset space ~
7185 \end_inset
7186
7187 Line
7188 \begin_inset space ~
7189 \end_inset
7190
7191 Break
7192 \family default
7193 ) to start a new line in an 
7194 \family sans
7195 Address
7196 \family default
7197  or 
7198 \family sans
7199 Right
7200 \begin_inset space ~
7201 \end_inset
7202
7203 Address
7204 \family default
7205  environment.
7206 \end_layout
7207
7208 \begin_layout Subsection
7209 Academic Writing
7210 \end_layout
7211
7212 \begin_layout Standard
7213 Most academic writing begins with an abstract and ends with a bibliography
7214  or list of references.
7215  LyX contains paragraph environments for both of these.
7216 \end_layout
7217
7218 \begin_layout Subsubsection
7219
7220 \family sans
7221 Abstract
7222 \begin_inset Index idx
7223 status collapsed
7224
7225 \begin_layout Plain Layout
7226 Abstracts
7227 \end_layout
7228
7229 \end_inset
7230
7231
7232 \end_layout
7233
7234 \begin_layout Standard
7235 The 
7236 \family sans
7237 Abstract
7238 \family default
7239  environment is used for the abstract of an article.
7240  Technically, you could use this environment anywhere, but you really should
7241  only use it at the beginning of the document, after the title.
7242  Also, don't bother trying to nest 
7243 \family sans
7244 Abstract
7245 \family default
7246  in anything else or 
7247 \emph on
7248 vice versa
7249 \emph default
7250 .
7251  It will not work.
7252  The 
7253 \family sans
7254 Abstract
7255 \family default
7256  environment is only useful in the article and report document classes.
7257  The book document classes ignores the 
7258 \family sans
7259 Abstract
7260 \family default
7261  completely, and it's utterly silly to use 
7262 \family sans
7263 Abstract
7264 \family default
7265  in a letter document class.
7266 \end_layout
7267
7268 \begin_layout Standard
7269 The 
7270 \family sans
7271 Abstract
7272 \family default
7273  environment does several things for you.
7274  First, it puts the centered label 
7275 \begin_inset Quotes eld
7276 \end_inset
7277
7278 Abstract
7279 \begin_inset Quotes erd
7280 \end_inset
7281
7282  above the text.
7283  The label and the text of the abstract are separated by some extra vertical
7284  space.
7285  Second, it typesets everything in a smaller font, just as you'd expect.
7286  Lastly, it adds a bit of extra vertical space between the abstract and
7287  the subsequent text.
7288  Well, that's how it will appear on the LyX screen.
7289  The actual appearance in the output depends on the document class you are
7290  using.
7291 \end_layout
7292
7293 \begin_layout Standard
7294 Starting a new paragraph by entering 
7295 \family sans
7296 Return
7297 \family default
7298  does not reset the paragraph environment.
7299  The new paragraph will still be in the 
7300 \family sans
7301 Abstract
7302 \family default
7303  environment.
7304  So, you will have to change the paragraph environment yourself when you
7305  finish entering the abstract of your document.
7306 \end_layout
7307
7308 \begin_layout Standard
7309 \begin_inset Float figure
7310 wide false
7311 sideways false
7312 status open
7313
7314 \begin_layout Plain Layout
7315 \align center
7316 \begin_inset Graphics
7317         filename clipart/Abstract.pdf
7318
7319 \end_inset
7320
7321
7322 \end_layout
7323
7324 \begin_layout Plain Layout
7325 \begin_inset Caption Standard
7326
7327 \begin_layout Plain Layout
7328 \begin_inset CommandInset label
7329 LatexCommand label
7330 name "fig:Paragraph-in-the"
7331
7332 \end_inset
7333
7334 Paragraph in the 
7335 \family sans
7336 Abstract
7337 \family default
7338  environment
7339 \end_layout
7340
7341 \end_inset
7342
7343
7344 \end_layout
7345
7346 \end_inset
7347
7348
7349 \end_layout
7350
7351 \begin_layout Standard
7352 We would love to demonstrate the 
7353 \family sans
7354 Abstract
7355 \family default
7356  environment, but since this document is in the 
7357 \begin_inset Quotes eld
7358 \end_inset
7359
7360 book
7361 \begin_inset Quotes erd
7362 \end_inset
7363
7364  class, we can't do this.
7365  We inserted it therefore as figure
7366 \begin_inset space ~
7367 \end_inset
7368
7369
7370 \begin_inset CommandInset ref
7371 LatexCommand ref
7372 reference "fig:Paragraph-in-the"
7373
7374 \end_inset
7375
7376 .
7377  If you have never heard of an 
7378 \begin_inset Quotes eld
7379 \end_inset
7380
7381 abstract
7382 \begin_inset Quotes erd
7383 \end_inset
7384
7385  before, you can safely ignore this environment.
7386 \end_layout
7387
7388 \begin_layout Subsubsection
7389
7390 \family sans
7391 Bibliography
7392 \family default
7393
7394 \begin_inset Index idx
7395 status collapsed
7396
7397 \begin_layout Plain Layout
7398 Bibliography
7399 \end_layout
7400
7401 \end_inset
7402
7403
7404 \begin_inset CommandInset label
7405 LatexCommand label
7406 name "sub:Biblio_environment"
7407
7408 \end_inset
7409
7410
7411 \end_layout
7412
7413 \begin_layout Standard
7414 The 
7415 \family sans
7416 Bibliography
7417 \family default
7418  environment is used to list references.
7419  Technically, you could use this environment anywhere, but you really should
7420  only use it at the end of the document.
7421  Nesting 
7422 \family sans
7423 Bibliography
7424 \family default
7425  in anything else or 
7426 \emph on
7427 vice versa
7428 \emph default
7429  will not work.
7430 \end_layout
7431
7432 \begin_layout Standard
7433 When you first open a 
7434 \family sans
7435 Bibliography
7436 \family default
7437  environment, LyX adds a large vertical space, followed by the heading 
7438 \begin_inset Quotes eld
7439 \end_inset
7440
7441 Bibliography
7442 \begin_inset Quotes erd
7443 \end_inset
7444
7445  or 
7446 \begin_inset Quotes eld
7447 \end_inset
7448
7449 References,
7450 \begin_inset Quotes erd
7451 \end_inset
7452
7453  depending on the document class.
7454  The heading is in a large boldface font.
7455  Each paragraph of the 
7456 \family sans
7457 Bibliography
7458 \family default
7459  environment is a bibliography entry.
7460  Thus, entering 
7461 \family sans
7462 Return
7463 \family default
7464  does not reset the paragraph environment.
7465  Each new paragraph is still in the 
7466 \family sans
7467 Bibliography
7468 \family default
7469  environment.
7470 \end_layout
7471
7472 \begin_layout Standard
7473 There is another, usually better way to include references in your document
7474  by using a BibTeX database.
7475  For more information on that, and for a detailed description of LyX's bibliogra
7476 phy handling, have a look at section
7477 \begin_inset space ~
7478 \end_inset
7479
7480
7481 \begin_inset CommandInset ref
7482 LatexCommand ref
7483 reference "sec:Bibliography"
7484
7485 \end_inset
7486
7487 .
7488 \end_layout
7489
7490 \begin_layout Subsection
7491 LyX
7492 \family sans
7493 -Code
7494 \begin_inset Index idx
7495 status collapsed
7496
7497 \begin_layout Plain Layout
7498 Paragraph ! LyX code
7499 \end_layout
7500
7501 \end_inset
7502
7503
7504 \begin_inset CommandInset label
7505 LatexCommand label
7506 name "sub:LyX-Code"
7507
7508 \end_inset
7509
7510
7511 \end_layout
7512
7513 \begin_layout Standard
7514 The 
7515 \family sans
7516 LyX-Code
7517 \family default
7518  environment is another LyX extension.
7519  It type-sets text in a typewriter-style font.
7520  It also treats the 
7521 \family sans
7522 Space
7523 \family default
7524  key as a fixed whitespace;
7525 \begin_inset Foot
7526 status collapsed
7527
7528 \begin_layout Plain Layout
7529 In the 
7530 \family sans
7531 LyX-Code
7532 \family default
7533  environment, the 
7534 \family sans
7535 Space
7536 \family default
7537  key is treated as a 
7538 \family sans
7539 Protected
7540 \begin_inset space ~
7541 \end_inset
7542
7543 Blank
7544 \family default
7545  instead of an end-of-word marker.
7546 \end_layout
7547
7548 \end_inset
7549
7550  this is the only case in which you can type multiple whitespaces in LyX.
7551  If you need to insert blank lines, you will still need to use 
7552 \begin_inset Info
7553 type  "shortcut"
7554 arg   "newline-insert newline"
7555 \end_inset
7556
7557  (the 
7558 \family typewriter
7559 break-line
7560 \family default
7561  function).
7562  
7563 \family sans
7564 Return
7565 \family default
7566  breaks paragraphs.
7567  Note, however, that 
7568 \family sans
7569 Return
7570 \family default
7571  does not reset the paragraph environment.
7572  So, when you finish using the 
7573 \family sans
7574 LyX-Code
7575 \family default
7576  environment, you will need to change the paragraph environment yourself.
7577  Also, you can nest the 
7578 \family sans
7579 LyX-Code
7580 \family default
7581  environment inside of others.
7582 \end_layout
7583
7584 \begin_layout Standard
7585 There are a few quirks with this environment:
7586 \end_layout
7587
7588 \begin_layout Itemize
7589 You cannot use 
7590 \begin_inset Info
7591 type  "shortcut"
7592 arg   "newline-insert newline"
7593 \end_inset
7594
7595  at the beginning of a new paragraph (i.
7596 \begin_inset space \thinspace{}
7597 \end_inset
7598
7599 e.
7600 \begin_inset space \space{}
7601 \end_inset
7602
7603 you can't follow 
7604 \family sans
7605 Return
7606 \family default
7607  with a 
7608 \begin_inset Info
7609 type  "shortcut"
7610 arg   "newline-insert newline"
7611 \end_inset
7612
7613 ).
7614 \end_layout
7615
7616 \begin_layout Itemize
7617 You can't follow a 
7618 \begin_inset Info
7619 type  "shortcut"
7620 arg   "newline-insert newline"
7621 \end_inset
7622
7623  with a 
7624 \family sans
7625 Space
7626 \family default
7627 .
7628 \end_layout
7629
7630 \begin_deeper
7631 \begin_layout Itemize
7632 Use a 
7633 \family sans
7634 Return
7635 \family default
7636  to begin a new paragraph, then you can use a 
7637 \family sans
7638 Space
7639 \family default
7640 .
7641 \end_layout
7642
7643 \begin_layout Itemize
7644 Or: use 
7645 \begin_inset Info
7646 type  "shortcut"
7647 arg   "command-alternatives space-insert protected ; math-space"
7648 \end_inset
7649
7650  instead.
7651 \end_layout
7652
7653 \end_deeper
7654 \begin_layout Itemize
7655 You can't have an empty paragraph or an empty line.
7656  You must put at least one 
7657 \family sans
7658 Space
7659 \family default
7660  in any line you want blank.
7661  Otherwise, LaTeX generates errors.
7662 \end_layout
7663
7664 \begin_layout Itemize
7665 You cannot get the typewriter double quotes by typing 
7666 \family sans
7667 "
7668 \family default
7669  since that will insert 
7670 \emph on
7671 real
7672 \emph default
7673  quotes.
7674  You get the typewriter double quotes with 
7675 \begin_inset Info
7676 type  "shortcut"
7677 arg   "self-insert \""
7678 \end_inset
7679
7680 .
7681 \end_layout
7682
7683 \begin_layout Standard
7684 Here is an example:
7685 \end_layout
7686
7687 \begin_layout LyX-Code
7688 #include <stdio.h>
7689 \end_layout
7690
7691 \begin_layout LyX-Code
7692  
7693 \end_layout
7694
7695 \begin_layout LyX-Code
7696 int main(void)
7697 \end_layout
7698
7699 \begin_layout LyX-Code
7700 {
7701 \end_layout
7702
7703 \begin_layout LyX-Code
7704     printf("Hello World!
7705 \backslash
7706 n");
7707 \end_layout
7708
7709 \begin_layout LyX-Code
7710     return 0;
7711 \end_layout
7712
7713 \begin_layout LyX-Code
7714 }
7715 \end_layout
7716
7717 \begin_layout Standard
7718 This is just the standard 
7719 \begin_inset Quotes eld
7720 \end_inset
7721
7722 Hello world!
7723 \begin_inset Quotes erd
7724 \end_inset
7725
7726  program.
7727  
7728 \end_layout
7729
7730 \begin_layout Standard
7731
7732 \family sans
7733 LyX-Code
7734 \family default
7735  has one purpose: to typeset code, such as program source, shell scripts,
7736  rc-files, and so on.
7737  Use it only in those very special cases where you need to generate text
7738  as if you used a typewriter.
7739 \begin_inset Index idx
7740 status collapsed
7741
7742 \begin_layout Plain Layout
7743 Paragraph environments|)
7744 \end_layout
7745
7746 \end_inset
7747
7748  For longer parts of programming code, use the listings inset that is described
7749  in the chapter 
7750 \emph on
7751 Program Code Listings
7752 \emph default
7753  of the 
7754 \emph on
7755 Embedded
7756 \begin_inset space ~
7757 \end_inset
7758
7759 Objects
7760 \emph default
7761  manual.
7762 \end_layout
7763
7764 \begin_layout Section
7765 Nesting Environments
7766 \begin_inset Index idx
7767 status collapsed
7768
7769 \begin_layout Plain Layout
7770 Nesting ! Environments
7771 \end_layout
7772
7773 \end_inset
7774
7775
7776 \begin_inset CommandInset label
7777 LatexCommand label
7778 name "sec:Nesting"
7779
7780 \end_inset
7781
7782
7783 \end_layout
7784
7785 \begin_layout Subsection
7786 Introduction
7787 \end_layout
7788
7789 \begin_layout Standard
7790 LyX treats text as a unified block with a particular context and specific
7791  properties.
7792  This allows you to create blocks that inherit some of the properties of
7793  another block.
7794  For example you have three main points in an outline, but point #2 also
7795  has two subpoints.
7796  In other words, you have a list inside of another list, with the inner
7797  list 
7798 \begin_inset Quotes eld
7799 \end_inset
7800
7801 attached
7802 \begin_inset Quotes erd
7803 \end_inset
7804
7805  to item #2:
7806 \end_layout
7807
7808 \begin_layout Enumerate
7809 one
7810 \end_layout
7811
7812 \begin_layout Enumerate
7813 two
7814 \end_layout
7815
7816 \begin_deeper
7817 \begin_layout Enumerate
7818 sublist – item #1
7819 \end_layout
7820
7821 \begin_layout Enumerate
7822 sublist – item #2
7823 \end_layout
7824
7825 \end_deeper
7826 \begin_layout Enumerate
7827 three
7828 \end_layout
7829
7830 \begin_layout Standard
7831 You put a list inside a list by nesting one list inside the other.
7832  Nesting an environment is quite simple: Select 
7833 \family sans
7834 Edit\SpecialChar \menuseparator
7835 Increase
7836 \begin_inset space ~
7837 \end_inset
7838
7839 List
7840 \begin_inset space ~
7841 \end_inset
7842
7843 Depth
7844 \family default
7845  or 
7846 \family sans
7847 Decrease
7848 \begin_inset space ~
7849 \end_inset
7850
7851 List
7852 \begin_inset space ~
7853 \end_inset
7854
7855 Depth
7856 \family default
7857  to change the nesting depth (the status bar will tell you how far you are
7858  nested).
7859  Instead of the menu, you can also use the toolbar buttons 
7860 \begin_inset Info
7861 type  "icon"
7862 arg   "depth-increment"
7863 \end_inset
7864
7865  and 
7866 \begin_inset Info
7867 type  "icon"
7868 arg   "depth-decrement"
7869 \end_inset
7870
7871  or the key bindings 
7872 \family sans
7873 Tab
7874 \family default
7875  and 
7876 \family sans
7877 Shift+Tab
7878 \family default
7879  or 
7880 \begin_inset Info
7881 type  "shortcut"
7882 arg   "depth-increment"
7883 \end_inset
7884
7885  and 
7886 \begin_inset Info
7887 type  "shortcut"
7888 arg   "depth-decrement"
7889 \end_inset
7890
7891 .
7892  The change will work on the current selection, if you have made one (allowing
7893  you to change the nesting of several paragraphs at once), or the current
7894  paragraph.
7895 \end_layout
7896
7897 \begin_layout Standard
7898 Note that LyX only changes the nesting depth if it can.
7899  If it is invalid to do so, nothing happens if you try to change the depth.
7900  Additionally, if you change the depth of one paragraph, it affects the
7901  depth of every paragraph nested inside of it.
7902 \end_layout
7903
7904 \begin_layout Standard
7905 Nesting isn't limited to lists.
7906  In LyX, you can nest just about anything inside anything else, as you're
7907  about to find out.
7908  This is the real power of nesting paragraph environments.
7909 \end_layout
7910
7911 \begin_layout Subsection
7912 What You Can and Can't Nest
7913 \end_layout
7914
7915 \begin_layout Standard
7916 Before we fire a list of paragraph environments at you, we need to tell
7917  you a little bit more about how nesting works.
7918 \end_layout
7919
7920 \begin_layout Standard
7921 The question of nesting a paragraph environment is a bit more complicated
7922  than a simple yes or no.
7923  There are three types of paragraph environments:
7924 \end_layout
7925
7926 \begin_layout Itemize
7927 Completely unnestable
7928 \end_layout
7929
7930 \begin_layout Itemize
7931 Fully nestable, you can nest them inside things and you can also nest other
7932  things inside them.
7933 \end_layout
7934
7935 \begin_layout Itemize
7936 A third type, you can nest them into other environments, but you can't nest
7937  anything into them.
7938 \end_layout
7939
7940 \begin_layout Standard
7941 Here's a list of the three types of nesting behavior, and which paragraph
7942  environments have them:
7943 \end_layout
7944
7945 \begin_layout Description
7946 Unnestable Can't nest them.
7947  Can't nest into them.
7948 \end_layout
7949
7950 \begin_deeper
7951 \begin_layout Itemize
7952
7953 \family sans
7954 Bibliography
7955 \end_layout
7956
7957 \begin_layout Itemize
7958
7959 \family sans
7960 Abstract
7961 \end_layout
7962
7963 \begin_layout Itemize
7964
7965 \family sans
7966 Title
7967 \end_layout
7968
7969 \begin_layout Itemize
7970
7971 \family sans
7972 Author
7973 \end_layout
7974
7975 \begin_layout Itemize
7976
7977 \family sans
7978 Date
7979 \end_layout
7980
7981 \end_deeper
7982 \begin_layout Description
7983 Fully
7984 \begin_inset space ~
7985 \end_inset
7986
7987 Nestable You can nest them.
7988  You can nest other things into them.
7989 \end_layout
7990
7991 \begin_deeper
7992 \begin_layout Itemize
7993
7994 \family sans
7995 Verse
7996 \end_layout
7997
7998 \begin_layout Itemize
7999
8000 \family sans
8001 Quote
8002 \end_layout
8003
8004 \begin_layout Itemize
8005
8006 \family sans
8007 Quotation
8008 \end_layout
8009
8010 \begin_layout Itemize
8011
8012 \family sans
8013 Itemize
8014 \end_layout
8015
8016 \begin_layout Itemize
8017
8018 \family sans
8019 Enumerate
8020 \end_layout
8021
8022 \begin_layout Itemize
8023
8024 \family sans
8025 Description
8026 \end_layout
8027
8028 \begin_layout Itemize
8029
8030 \family sans
8031 List
8032 \end_layout
8033
8034 \begin_layout Itemize
8035
8036 \family sans
8037 LyX-Code
8038 \end_layout
8039
8040 \end_deeper
8041 \begin_layout Description
8042 Nestable-Inside You can nest them inside other things.
8043  You can't nest anything into them.
8044 \end_layout
8045
8046 \begin_deeper
8047 \begin_layout Itemize
8048
8049 \family sans
8050 Standard
8051 \end_layout
8052
8053 \begin_layout Itemize
8054
8055 \family sans
8056 Part
8057 \end_layout
8058
8059 \begin_layout Itemize
8060
8061 \family sans
8062 Chapter
8063 \end_layout
8064
8065 \begin_layout Itemize
8066
8067 \family sans
8068 Section
8069 \end_layout
8070
8071 \begin_layout Itemize
8072
8073 \family sans
8074 Subsection
8075 \end_layout
8076
8077 \begin_layout Itemize
8078
8079 \family sans
8080 Subsubsection
8081 \end_layout
8082
8083 \begin_layout Itemize
8084
8085 \family sans
8086 Paragraph
8087 \end_layout
8088
8089 \begin_layout Itemize
8090
8091 \family sans
8092 Subparagraph
8093 \end_layout
8094
8095 \begin_layout Itemize
8096
8097 \family sans
8098 Part*
8099 \end_layout
8100
8101 \begin_layout Itemize
8102
8103 \family sans
8104 Chapter*
8105 \end_layout
8106
8107 \begin_layout Itemize
8108
8109 \family sans
8110 Section*
8111 \end_layout
8112
8113 \begin_layout Itemize
8114
8115 \family sans
8116 Subsection*
8117 \end_layout
8118
8119 \begin_layout Itemize
8120
8121 \family sans
8122 Subsubsection*
8123 \end_layout
8124
8125 \begin_layout Itemize
8126
8127 \family sans
8128 Right
8129 \begin_inset space ~
8130 \end_inset
8131
8132 Address
8133 \end_layout
8134
8135 \begin_layout Itemize
8136
8137 \family sans
8138 Address
8139 \end_layout
8140
8141 \end_deeper
8142 \begin_layout Standard
8143 \begin_inset Note Greyedout
8144 status open
8145
8146 \begin_layout Plain Layout
8147
8148 \series bold
8149 Note:
8150 \series default
8151  Although it is possible, for example, to nest numbered section headings
8152  like 
8153 \family sans
8154 Chapter
8155 \family default
8156
8157 \family sans
8158 Section
8159 \family default
8160 , etc.
8161 \begin_inset space ~
8162 \end_inset
8163
8164 into lists, it is highly recommended not to do this because the aim is to
8165  create well-structured documents following typesetting guidelines whereas
8166  nested section headings violate this.
8167 \end_layout
8168
8169 \end_inset
8170
8171
8172 \end_layout
8173
8174 \begin_layout Subsection
8175 Nesting Other Things: Tables, Math, Floats, etc.
8176 \begin_inset Index idx
8177 status collapsed
8178
8179 \begin_layout Plain Layout
8180 Nesting ! Tables etc.
8181 \end_layout
8182
8183 \end_inset
8184
8185
8186 \end_layout
8187
8188 \begin_layout Standard
8189 There are several things that aren't paragraph environments, but which are
8190  affected by nesting anyhow.
8191  They are:
8192 \end_layout
8193
8194 \begin_layout Itemize
8195 equations
8196 \end_layout
8197
8198 \begin_layout Itemize
8199 tables
8200 \end_layout
8201
8202 \begin_layout Itemize
8203 figures
8204 \end_layout
8205
8206 \begin_layout Standard
8207 (
8208 \begin_inset Note Greyedout
8209 status open
8210
8211 \begin_layout Plain Layout
8212
8213 \series bold
8214 Note:
8215 \series default
8216  Figures and tables in 
8217 \family sans
8218 Floats
8219 \family default
8220  are not affected by this.
8221 \end_layout
8222
8223 \end_inset
8224
8225  Have a look at section
8226 \begin_inset space ~
8227 \end_inset
8228
8229
8230 \begin_inset CommandInset ref
8231 LatexCommand ref
8232 reference "sec:Floats"
8233
8234 \end_inset
8235
8236  for more information about 
8237 \family sans
8238 Floats
8239 \family default
8240 .)
8241 \end_layout
8242
8243 \begin_layout Standard
8244 LyX can treat these three objects as either a word or as a paragraph.
8245  If a figure, table, or an equation is inline, it goes wherever the paragraph
8246  it is in goes.
8247 \end_layout
8248
8249 \begin_layout Standard
8250 On the other hand, if you have an equation, figure or table in a 
8251 \begin_inset Quotes eld
8252 \end_inset
8253
8254 paragraph
8255 \begin_inset Quotes erd
8256 \end_inset
8257
8258  of its own, it behaves just like a 
8259 \begin_inset Quotes eld
8260 \end_inset
8261
8262 nestable-inside
8263 \begin_inset Quotes erd
8264 \end_inset
8265
8266  paragraph environment.
8267  You can nest it into any environment, but you obviously can't nest anything
8268  into it.
8269 \end_layout
8270
8271 \begin_layout Standard
8272 Here's an example with a table:
8273 \end_layout
8274
8275 \begin_layout Enumerate
8276 Item One
8277 \end_layout
8278
8279 \begin_deeper
8280 \begin_layout Enumerate
8281 This is (a) and it's nested.
8282 \end_layout
8283
8284 \begin_deeper
8285 \begin_layout Standard
8286 \begin_inset VSpace 0.3cm
8287 \end_inset
8288
8289
8290 \end_layout
8291
8292 \begin_layout Standard
8293 \align center
8294 \begin_inset Tabular
8295 <lyxtabular version="3" rows="2" columns="2">
8296 <features rotate="0" tabularvalignment="middle">
8297 <column alignment="center" valignment="top" width="0pt">
8298 <column alignment="center" valignment="top" width="0pt">
8299 <row>
8300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8301 \begin_inset Text
8302
8303 \begin_layout Plain Layout
8304
8305 \family roman
8306 \series medium
8307 \shape up
8308 \size normal
8309 \emph off
8310 \bar no
8311 \noun off
8312 \color none
8313 a
8314 \end_layout
8315
8316 \end_inset
8317 </cell>
8318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8319 \begin_inset Text
8320
8321 \begin_layout Plain Layout
8322
8323 \family roman
8324 \series medium
8325 \shape up
8326 \size normal
8327 \emph off
8328 \bar no
8329 \noun off
8330 \color none
8331 b
8332 \end_layout
8333
8334 \end_inset
8335 </cell>
8336 </row>
8337 <row>
8338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8339 \begin_inset Text
8340
8341 \begin_layout Plain Layout
8342
8343 \family roman
8344 \series medium
8345 \shape up
8346 \size normal
8347 \emph off
8348 \bar no
8349 \noun off
8350 \color none
8351 c
8352 \end_layout
8353
8354 \end_inset
8355 </cell>
8356 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8357 \begin_inset Text
8358
8359 \begin_layout Plain Layout
8360
8361 \family roman
8362 \series medium
8363 \shape up
8364 \size normal
8365 \emph off
8366 \bar no
8367 \noun off
8368 \color none
8369 d
8370 \end_layout
8371
8372 \end_inset
8373 </cell>
8374 </row>
8375 </lyxtabular>
8376
8377 \end_inset
8378
8379
8380 \end_layout
8381
8382 \begin_layout Standard
8383 \begin_inset VSpace 0.3cm
8384 \end_inset
8385
8386
8387 \end_layout
8388
8389 \end_deeper
8390 \begin_layout Enumerate
8391 This is (b).
8392  The table is actually nested inside (a).
8393 \end_layout
8394
8395 \end_deeper
8396 \begin_layout Enumerate
8397 Back out again.
8398 \end_layout
8399
8400 \begin_layout Standard
8401 If we hadn't nested the table at all, the list would look like this:
8402 \end_layout
8403
8404 \begin_layout Enumerate
8405 Item One
8406 \end_layout
8407
8408 \begin_deeper
8409 \begin_layout Enumerate
8410 This is (a) and it's nested.
8411 \end_layout
8412
8413 \end_deeper
8414 \begin_layout Standard
8415 \begin_inset VSpace 0.3cm
8416 \end_inset
8417
8418
8419 \end_layout
8420
8421 \begin_layout Standard
8422 \align center
8423 \begin_inset Tabular
8424 <lyxtabular version="3" rows="2" columns="2">
8425 <features rotate="0" tabularvalignment="middle">
8426 <column alignment="center" valignment="top" width="0pt">
8427 <column alignment="center" valignment="top" width="0pt">
8428 <row>
8429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8430 \begin_inset Text
8431
8432 \begin_layout Plain Layout
8433
8434 \family roman
8435 \series medium
8436 \shape up
8437 \size normal
8438 \emph off
8439 \bar no
8440 \noun off
8441 \color none
8442 a
8443 \end_layout
8444
8445 \end_inset
8446 </cell>
8447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8448 \begin_inset Text
8449
8450 \begin_layout Plain Layout
8451
8452 \family roman
8453 \series medium
8454 \shape up
8455 \size normal
8456 \emph off
8457 \bar no
8458 \noun off
8459 \color none
8460 b
8461 \end_layout
8462
8463 \end_inset
8464 </cell>
8465 </row>
8466 <row>
8467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8468 \begin_inset Text
8469
8470 \begin_layout Plain Layout
8471
8472 \family roman
8473 \series medium
8474 \shape up
8475 \size normal
8476 \emph off
8477 \bar no
8478 \noun off
8479 \color none
8480 c
8481 \end_layout
8482
8483 \end_inset
8484 </cell>
8485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8486 \begin_inset Text
8487
8488 \begin_layout Plain Layout
8489
8490 \family roman
8491 \series medium
8492 \shape up
8493 \size normal
8494 \emph off
8495 \bar no
8496 \noun off
8497 \color none
8498 d
8499 \end_layout
8500
8501 \end_inset
8502 </cell>
8503 </row>
8504 </lyxtabular>
8505
8506 \end_inset
8507
8508
8509 \end_layout
8510
8511 \begin_layout Standard
8512 \begin_inset VSpace 0.3cm
8513 \end_inset
8514
8515
8516 \end_layout
8517
8518 \begin_layout Enumerate
8519 This is (b).
8520  The table is 
8521 \emph on
8522 not
8523 \emph default
8524  nested inside (a).
8525  In fact, it's not nested at all.
8526 \end_layout
8527
8528 \begin_layout Enumerate
8529 Back out again.
8530 \end_layout
8531
8532 \begin_layout Standard
8533 Notice how item (b) is not only no longer nested, but is also the first
8534  item of a new list!
8535 \end_layout
8536
8537 \begin_layout Standard
8538 There's another trap you can fall into: Nesting the table, but not going
8539  deep enough.
8540  LyX then turns anything after the table into a new sublist.
8541 \end_layout
8542
8543 \begin_layout Enumerate
8544 Item One
8545 \end_layout
8546
8547 \begin_deeper
8548 \begin_layout Enumerate
8549 This is (a) and it's nested.
8550 \end_layout
8551
8552 \begin_layout Standard
8553 \begin_inset VSpace 0.3cm
8554 \end_inset
8555
8556
8557 \end_layout
8558
8559 \begin_layout Standard
8560 \align center
8561 \begin_inset Tabular
8562 <lyxtabular version="3" rows="2" columns="2">
8563 <features rotate="0" tabularvalignment="middle">
8564 <column alignment="center" valignment="top" width="0pt">
8565 <column alignment="center" valignment="top" width="0pt">
8566 <row>
8567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8568 \begin_inset Text
8569
8570 \begin_layout Plain Layout
8571
8572 \family roman
8573 \series medium
8574 \shape up
8575 \size normal
8576 \emph off
8577 \bar no
8578 \noun off
8579 \color none
8580 a
8581 \end_layout
8582
8583 \end_inset
8584 </cell>
8585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8586 \begin_inset Text
8587
8588 \begin_layout Plain Layout
8589
8590 \family roman
8591 \series medium
8592 \shape up
8593 \size normal
8594 \emph off
8595 \bar no
8596 \noun off
8597 \color none
8598 b
8599 \end_layout
8600
8601 \end_inset
8602 </cell>
8603 </row>
8604 <row>
8605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8606 \begin_inset Text
8607
8608 \begin_layout Plain Layout
8609
8610 \family roman
8611 \series medium
8612 \shape up
8613 \size normal
8614 \emph off
8615 \bar no
8616 \noun off
8617 \color none
8618 c
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8624 \begin_inset Text
8625
8626 \begin_layout Plain Layout
8627
8628 \family roman
8629 \series medium
8630 \shape up
8631 \size normal
8632 \emph off
8633 \bar no
8634 \noun off
8635 \color none
8636 d
8637 \end_layout
8638
8639 \end_inset
8640 </cell>
8641 </row>
8642 </lyxtabular>
8643
8644 \end_inset
8645
8646
8647 \end_layout
8648
8649 \end_deeper
8650 \begin_layout Standard
8651 \begin_inset VSpace 0.3cm
8652 \end_inset
8653
8654
8655 \end_layout
8656
8657 \begin_layout Enumerate
8658 This is (b).
8659  The table is actually nested inside Item One, but 
8660 \emph on
8661 not
8662 \emph default
8663  inside (a).
8664 \end_layout
8665
8666 \begin_layout Enumerate
8667 Back out again.
8668 \end_layout
8669
8670 \begin_layout Standard
8671 As you can see, item (b) turned into the first item of a new list, but a
8672  new list 
8673 \emph on
8674 inside
8675 \emph default
8676  item 1.
8677  The same thing would have happened to a figure or an equation.
8678  So, if you nest tables, figures or equations, make sure you go to the right
8679  depth!
8680 \end_layout
8681
8682 \begin_layout Subsection
8683 Usage and General Features
8684 \end_layout
8685
8686 \begin_layout Standard
8687 Speaking of levels, LyX can perform up to a six-fold nesting.
8688  In other words, 
8689 \begin_inset Quotes eld
8690 \end_inset
8691
8692 level #6
8693 \begin_inset Quotes erd
8694 \end_inset
8695
8696  is the innermost possible depth.
8697  Here's an example to illustrate what we mean:
8698 \end_layout
8699
8700 \begin_layout Enumerate
8701 level #1 – outermost
8702 \end_layout
8703
8704 \begin_deeper
8705 \begin_layout Enumerate
8706 level #2
8707 \end_layout
8708
8709 \begin_deeper
8710 \begin_layout Enumerate
8711 level #3
8712 \end_layout
8713
8714 \begin_deeper
8715 \begin_layout Enumerate
8716 level #4
8717 \end_layout
8718
8719 \begin_deeper
8720 \begin_layout Itemize
8721 level #5
8722 \end_layout
8723
8724 \begin_deeper
8725 \begin_layout Itemize
8726 level #6
8727 \end_layout
8728
8729 \end_deeper
8730 \end_deeper
8731 \end_deeper
8732 \end_deeper
8733 \end_deeper
8734 \begin_layout Standard
8735 There are two exceptions to the six-fold nesting limit, and you can see
8736  both of them in the example.
8737  Unlike the other fully-nestable environments, you can only perform a four-fold
8738  nesting with the 
8739 \family sans
8740 Enumerate
8741 \family default
8742  and 
8743 \family sans
8744 Itemize
8745 \family default
8746  environments.
8747  For example, if we tried to nest another 
8748 \family sans
8749 Enumerate
8750 \family default
8751  list inside item 
8752 \begin_inset Quotes eld
8753 \end_inset
8754
8755 A.
8756 \begin_inset Quotes erd
8757 \end_inset
8758
8759 , we would get errors.
8760 \end_layout
8761
8762 \begin_layout Subsection
8763 Some Examples
8764 \begin_inset Index idx
8765 status collapsed
8766
8767 \begin_layout Plain Layout
8768 Nesting ! Examples
8769 \end_layout
8770
8771 \end_inset
8772
8773
8774 \end_layout
8775
8776 \begin_layout Standard
8777 The best way to explain just what you can do with nesting is by illustration.
8778  We have several examples of nested environments.
8779  In them, we explain how we created the example, so that you can reproduce
8780  them.
8781 \end_layout
8782
8783 \begin_layout Subsubsection
8784 Example 1: The Six-fold Way and Mixed Nesting
8785 \end_layout
8786
8787 \begin_layout Labeling
8788 \labelwidthstring MMM
8789 #1-a This is the outermost level.
8790  It's a 
8791 \family sans
8792 List
8793 \family default
8794  environment.
8795 \end_layout
8796
8797 \begin_deeper
8798 \begin_layout Labeling
8799 \labelwidthstring MMM
8800 #2-a This is level #2.
8801  We created it by using 
8802 \begin_inset Info
8803 type  "shortcut"
8804 arg   "break-paragraph inverse"
8805 \end_inset
8806
8807  followed by 
8808 \begin_inset Info
8809 type  "shortcut"
8810 arg   "depth-increment"
8811 \end_inset
8812
8813 .
8814 \end_layout
8815
8816 \begin_deeper
8817 \begin_layout Labeling
8818 \labelwidthstring MMM
8819 #3-a This is level #3.
8820  This time, we just enter 
8821 \family sans
8822 Return
8823 \family default
8824 , then used 
8825 \begin_inset Info
8826 type  "shortcut"
8827 arg   "depth-increment"
8828 \end_inset
8829
8830  twice in a row.
8831  We could have also created it the same way as we did the previous level,
8832  by entering 
8833 \begin_inset Info
8834 type  "shortcut"
8835 arg   "break-paragraph inverse"
8836 \end_inset
8837
8838  followed by 
8839 \begin_inset Info
8840 type  "shortcut"
8841 arg   "depth-increment"
8842 \end_inset
8843
8844 .
8845 \end_layout
8846
8847 \begin_deeper
8848 \begin_layout Standard
8849 This is actually a 
8850 \family sans
8851 Standard
8852 \family default
8853  environment, nested inside of 
8854 \begin_inset Quotes eld
8855 \end_inset
8856
8857 #3-a
8858 \begin_inset Quotes erd
8859 \end_inset
8860
8861 .
8862  So, it's at level #4.
8863  We did this by entering 
8864 \begin_inset Info
8865 type  "shortcut"
8866 arg   "break-paragraph inverse"
8867 \end_inset
8868
8869 , then 
8870 \begin_inset Info
8871 type  "shortcut"
8872 arg   "depth-increment"
8873 \end_inset
8874
8875 , then changing the paragraph environment to 
8876 \family sans
8877 Standard
8878 \family default
8879 .
8880  Do this to create list items with more than one paragraph — it also works
8881  for the 
8882 \family sans
8883 Description
8884 \family default
8885
8886 \family sans
8887 Enumerate
8888 \family default
8889 , and 
8890 \family sans
8891 Itemize
8892 \family default
8893  environments!
8894 \end_layout
8895
8896 \begin_layout Standard
8897 Here's another 
8898 \family sans
8899 Standard
8900 \family default
8901  paragraph, also at level #4, made with just a 
8902 \begin_inset Info
8903 type  "shortcut"
8904 arg   "break-paragraph inverse"
8905 \end_inset
8906
8907 .
8908 \end_layout
8909
8910 \begin_layout Labeling
8911 \labelwidthstring MMM
8912 #4-a This is level #4.
8913  We enter 
8914 \begin_inset Info
8915 type  "shortcut"
8916 arg   "break-paragraph inverse"
8917 \end_inset
8918
8919  and changed the paragraph environment back to 
8920 \family sans
8921 List
8922 \family default
8923 .
8924  Remember — we can't nest anything inside a 
8925 \family sans
8926 Standard
8927 \family default
8928  environment, which is why we're still at level #4.
8929  However, we 
8930 \emph on
8931 can
8932 \emph default
8933  keep nesting things inside 
8934 \begin_inset Quotes eld
8935 \end_inset
8936
8937 #3-a
8938 \begin_inset Quotes erd
8939 \end_inset
8940
8941 .
8942 \end_layout
8943
8944 \begin_deeper
8945 \begin_layout Labeling
8946 \labelwidthstring MMM
8947 #5-a This is level #5\SpecialChar \ldots{}
8948
8949 \end_layout
8950
8951 \begin_deeper
8952 \begin_layout Labeling
8953 \labelwidthstring MMM
8954 #6-a \SpecialChar \ldots{}
8955 and this is level #6.
8956  By now, you should know how we made these two.
8957 \end_layout
8958
8959 \end_deeper
8960 \begin_layout Labeling
8961 \labelwidthstring MMM
8962 #5-b Back to level #5.
8963  Just enter 
8964 \begin_inset Info
8965 type  "shortcut"
8966 arg   "break-paragraph inverse"
8967 \end_inset
8968
8969  followed by a 
8970 \begin_inset Info
8971 type  "shortcut"
8972 arg   "depth-decrement"
8973 \end_inset
8974
8975 .
8976 \end_layout
8977
8978 \end_deeper
8979 \begin_layout Labeling
8980 \labelwidthstring MMM
8981 #4-b After another 
8982 \begin_inset Info
8983 type  "shortcut"
8984 arg   "break-paragraph inverse"
8985 \end_inset
8986
8987  followed by a 
8988 \begin_inset Info
8989 type  "shortcut"
8990 arg   "depth-decrement"
8991 \end_inset
8992
8993 , we're back at level #4.
8994 \end_layout
8995
8996 \end_deeper
8997 \begin_layout Labeling
8998 \labelwidthstring MMM
8999 #3-b Back to level #3.
9000  By now it should be obvious how we did this.
9001 \end_layout
9002
9003 \end_deeper
9004 \begin_layout Labeling
9005 \labelwidthstring MMM
9006 #2-b Back to level #2.
9007  
9008 \end_layout
9009
9010 \end_deeper
9011 \begin_layout Labeling
9012 \labelwidthstring MMM
9013 #1-b And last, back to the outermost level, #1.
9014  After this sentence, we will enter 
9015 \family sans
9016 Return
9017 \family default
9018  and change the paragraph environment back to 
9019 \family sans
9020 Standard
9021 \family default
9022  to end the list.
9023 \end_layout
9024
9025 \begin_layout Standard
9026 We could have also used the 
9027 \family sans
9028 Description
9029 \family default
9030
9031 \family sans
9032 Quote
9033 \family default
9034
9035 \family sans
9036 Quotation
9037 \family default
9038 , or even the 
9039 \family sans
9040 Verse
9041 \family default
9042  environment in place of the 
9043 \family sans
9044 List
9045 \family default
9046  environment.
9047  The example would have worked exactly the same.
9048 \end_layout
9049
9050 \begin_layout Subsubsection
9051 Example 2: Inheritance
9052 \end_layout
9053
9054 \begin_layout LyX-Code
9055 This is the LyX-Code environment, at level #1, the outermost
9056 \end_layout
9057
9058 \begin_layout LyX-Code
9059 level.
9060   Now we will enter 
9061 \family sans
9062 Return
9063 \family default
9064 , then 
9065 \begin_inset Info
9066 type  "shortcut"
9067 arg   "depth-increment"
9068 \end_inset
9069
9070 , after
9071 \begin_inset Newline newline
9072 \end_inset
9073
9074 which, we will change to the 
9075 \family sans
9076 Enumerate
9077 \family default
9078  environment.
9079 \end_layout
9080
9081 \begin_deeper
9082 \begin_layout Enumerate
9083 This is the 
9084 \family sans
9085 Enumerate
9086 \family default
9087  environment, at level #2.
9088 \end_layout
9089
9090 \begin_layout Enumerate
9091 Notice how the nested 
9092 \family sans
9093 Enumerate
9094 \family default
9095  not only inherits its margins from its parent environment (
9096 \family sans
9097 LyX-Code
9098 \family default
9099 ), but also inherits its font and spacing!
9100 \end_layout
9101
9102 \end_deeper
9103 \begin_layout Standard
9104 We ended this example by entering 
9105 \family sans
9106 Return
9107 \family default
9108 .
9109  After that, we needed to reset the paragraph environment to 
9110 \family sans
9111 Standard
9112 \family default
9113  and reset the nesting depth by using 
9114 \begin_inset Info
9115 type  "shortcut"
9116 arg   "depth-decrement"
9117 \end_inset
9118
9119  once.
9120 \end_layout
9121
9122 \begin_layout Subsubsection
9123 Example 3: Labels, Levels, and the 
9124 \family sans
9125 Enumerate
9126 \family default
9127  and 
9128 \family sans
9129 Itemize
9130 \family default
9131  Environments
9132 \begin_inset Argument 1
9133 status collapsed
9134
9135 \begin_layout Plain Layout
9136 Example #3: Labels, Levels and other list environments
9137 \end_layout
9138
9139 \end_inset
9140
9141
9142 \end_layout
9143
9144 \begin_layout Enumerate
9145 This is level #1, in an 
9146 \family sans
9147 Enumerate
9148 \family default
9149  paragraph environment.
9150  We're actually going to nest a bunch of these.
9151 \end_layout
9152
9153 \begin_deeper
9154 \begin_layout Enumerate
9155 This is level #2.
9156  We used 
9157 \begin_inset Info
9158 type  "shortcut"
9159 arg   "break-paragraph inverse"
9160 \end_inset
9161
9162  followed by 
9163 \begin_inset Info
9164 type  "shortcut"
9165 arg   "depth-increment"
9166 \end_inset
9167
9168 .
9169  Now, what happens if we nest an 
9170 \family sans
9171 Itemize
9172 \family default
9173  environment inside of this one? It will be at level #3, but what will its
9174  label be? An asterisk?
9175 \end_layout
9176
9177 \begin_deeper
9178 \begin_layout Itemize
9179 No! It's a bullet.
9180  This is the 
9181 \emph on
9182 first
9183 \emph default
9184  
9185 \family sans
9186 Itemize
9187 \family default
9188  environment, even though it's at level #3.
9189  So, its label is a bullet.
9190  (We got here by using 
9191 \begin_inset Info
9192 type  "shortcut"
9193 arg   "break-paragraph inverse"
9194 \end_inset
9195
9196 , then 
9197 \begin_inset Info
9198 type  "shortcut"
9199 arg   "depth-increment"
9200 \end_inset
9201
9202 , then changing the environment to 
9203 \family sans
9204 Itemize
9205 \family default
9206 .)
9207 \end_layout
9208
9209 \begin_deeper
9210 \begin_layout Itemize
9211 Here's level #4, produced using 
9212 \begin_inset Info
9213 type  "shortcut"
9214 arg   "break-paragraph inverse"
9215 \end_inset
9216
9217 , then 
9218 \begin_inset Info
9219 type  "shortcut"
9220 arg   "depth-increment"
9221 \end_inset
9222
9223 .
9224  We will do that again\SpecialChar \ldots{}
9225
9226 \end_layout
9227
9228 \begin_deeper
9229 \begin_layout Enumerate
9230 \SpecialChar \ldots{}
9231 to get to level #5.
9232  This time, however, we also changed the paragraph environment back to 
9233 \family sans
9234 Enumerate
9235 \family default
9236 .
9237  Notice the type of numbering, it is 
9238 \emph on
9239 lowercase Roman
9240 \emph default
9241 , because we are in the 
9242 \emph on
9243 thirdfold
9244 \emph default
9245  
9246 \family sans
9247 Enumerate
9248 \family default
9249  environment (that is, it is an 
9250 \family sans
9251 Enumerate
9252 \family default
9253  inside an 
9254 \family sans
9255 Enumerate
9256 \family default
9257  inside an 
9258 \family sans
9259 Enumerate
9260 \family default
9261 ).
9262 \end_layout
9263
9264 \begin_layout Enumerate
9265 What happens if we 
9266 \emph on
9267 don't
9268 \emph default
9269  change the paragraph environment, but decrease the nesting depth? What
9270  type of numbering does LyX use?
9271 \end_layout
9272
9273 \begin_layout Enumerate
9274 Oh, as if you couldn't guess by now, we're just using 
9275 \begin_inset Info
9276 type  "shortcut"
9277 arg   "break-paragraph inverse"
9278 \end_inset
9279
9280  to keep the current environment and depth but create a new item.
9281 \end_layout
9282
9283 \begin_layout Enumerate
9284 Let's use 
9285 \begin_inset Info
9286 type  "shortcut"
9287 arg   "depth-decrement"
9288 \end_inset
9289
9290  to decrease the depth after the next 
9291 \begin_inset Info
9292 type  "shortcut"
9293 arg   "break-paragraph inverse"
9294 \end_inset
9295
9296 .
9297 \end_layout
9298
9299 \end_deeper
9300 \begin_layout Enumerate
9301 This is level #4.
9302  Look what type of label LyX is using!
9303 \end_layout
9304
9305 \end_deeper
9306 \begin_layout Enumerate
9307 This is level #3.
9308  Even though we've changed levels, LyX is still using a lowercase Roman
9309  numeral as the label.Why?
9310 \end_layout
9311
9312 \begin_layout Enumerate
9313 Because, even though the nesting depth has changed, the paragraph is 
9314 \emph on
9315 still
9316 \emph default
9317  a thirdfold 
9318 \family sans
9319 Enumerate
9320 \family default
9321  environment.
9322  Notice, however, that LyX 
9323 \emph on
9324 did
9325 \emph default
9326  reset the counter for the label.
9327 \end_layout
9328
9329 \end_deeper
9330 \begin_layout Enumerate
9331 Another 
9332 \begin_inset Info
9333 type  "shortcut"
9334 arg   "break-paragraph inverse"
9335 \end_inset
9336
9337  
9338 \begin_inset Info
9339 type  "shortcut"
9340 arg   "depth-decrement"
9341 \end_inset
9342
9343  sequence, and we're back to level #2.
9344  This time, we not only changed the nesting depth, but we also moved back
9345  into the twofold-nested 
9346 \family sans
9347 Enumerate
9348 \family default
9349  environment.
9350 \end_layout
9351
9352 \end_deeper
9353 \begin_layout Enumerate
9354 The same thing happens if we do another 
9355 \begin_inset Info
9356 type  "shortcut"
9357 arg   "break-paragraph inverse"
9358 \end_inset
9359
9360  
9361 \begin_inset Info
9362 type  "shortcut"
9363 arg   "depth-decrement"
9364 \end_inset
9365
9366  sequence and return to level #1, the outermost level.
9367 \end_layout
9368
9369 \begin_layout Standard
9370 Lastly, we reset the environment to 
9371 \family sans
9372 Standard
9373 \family default
9374 .
9375  As you can see, the level number doesn't correspond to what type of labeling
9376  LyX uses for the 
9377 \family sans
9378 Enumerate
9379 \family default
9380  and 
9381 \family sans
9382 Itemize
9383 \family default
9384  environments.
9385  The number of other 
9386 \family sans
9387 Enumerate
9388 \family default
9389  environments surrounding it determines what kind of label LyX uses for
9390  an 
9391 \family sans
9392 Enumerate
9393 \family default
9394  item.
9395  The same rule applies for the 
9396 \family sans
9397 Itemize
9398 \family default
9399  environment, as well.
9400 \end_layout
9401
9402 \begin_layout Subsubsection
9403 Example 4: Going Bonkers
9404 \end_layout
9405
9406 \begin_layout Enumerate
9407 We're going to go totally nuts now.
9408  We will not nest as deep as in the other examples, nor will we go into
9409  the same detail with how we did it.
9410  (level #1: 
9411 \family sans
9412 Enumerate
9413 \family default
9414 )
9415 \end_layout
9416
9417 \begin_deeper
9418 \begin_layout Standard
9419 (
9420 \family sans
9421 Return, 
9422 \family default
9423
9424 \begin_inset Info
9425 type  "shortcut"
9426 arg   "depth-increment"
9427 \end_inset
9428
9429
9430 \family sans
9431 , Standard
9432 \family default
9433 : level #2) We will stick an encapsulated description of how we created
9434  the example in parentheses someplace.
9435  For example, the two key bindings are how we changed the depth.
9436  The environment name is the name of the current environment.
9437  Either before or after this, we will put in the level.
9438 \end_layout
9439
9440 \end_deeper
9441 \begin_layout Enumerate
9442 (
9443 \family sans
9444 Return, Enumerate
9445 \family default
9446 : level #1) This is the next item in the list.
9447 \end_layout
9448
9449 \begin_deeper
9450 \begin_layout Verse
9451 Now we will add verse.
9452 \begin_inset Newline newline
9453 \end_inset
9454
9455 It will get much worse.
9456 \begin_inset Newline newline
9457 \end_inset
9458
9459 (
9460 \family sans
9461 Return, 
9462 \family default
9463
9464 \begin_inset Info
9465 type  "shortcut"
9466 arg   "depth-increment"
9467 \end_inset
9468
9469
9470 \family sans
9471 , Verse
9472 \family default
9473 : level #2)
9474 \end_layout
9475
9476 \begin_layout Verse
9477 Fiddle dee, Fiddle doo.
9478 \begin_inset Newline newline
9479 \end_inset
9480
9481 Bippitey boppitey boo!
9482 \begin_inset Newline newline
9483 \end_inset
9484
9485 (
9486 \begin_inset Info
9487 type  "shortcut"
9488 arg   "break-paragraph inverse"
9489 \end_inset
9490
9491
9492 \family sans
9493 )
9494 \end_layout
9495
9496 \begin_layout Verse
9497 Here comes a table:
9498 \end_layout
9499
9500 \begin_deeper
9501 \begin_layout Standard
9502 \begin_inset VSpace 0.3cm
9503 \end_inset
9504
9505
9506 \end_layout
9507
9508 \begin_layout Standard
9509 \align center
9510 \begin_inset Tabular
9511 <lyxtabular version="3" rows="2" columns="2">
9512 <features rotate="0" tabularvalignment="middle">
9513 <column alignment="center" valignment="top" width="0pt">
9514 <column alignment="center" valignment="top" width="0pt">
9515 <row>
9516 <cell alignment="center" valignment="top" usebox="none">
9517 \begin_inset Text
9518
9519 \begin_layout Plain Layout
9520
9521 \family roman
9522 \series medium
9523 \shape up
9524 \size normal
9525 \emph off
9526 \bar no
9527 \noun off
9528 \color none
9529 one-fish
9530 \end_layout
9531
9532 \end_inset
9533 </cell>
9534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9535 \begin_inset Text
9536
9537 \begin_layout Plain Layout
9538
9539 \family roman
9540 \series medium
9541 \shape up
9542 \size normal
9543 \emph off
9544 \bar no
9545 \noun off
9546 \color none
9547 two-fish
9548 \end_layout
9549
9550 \end_inset
9551 </cell>
9552 </row>
9553 <row>
9554 <cell alignment="center" valignment="top" topline="true" usebox="none">
9555 \begin_inset Text
9556
9557 \begin_layout Plain Layout
9558
9559 \family roman
9560 \series medium
9561 \shape up
9562 \size normal
9563 \emph off
9564 \bar no
9565 \noun off
9566 \color none
9567 red-fish
9568 \end_layout
9569
9570 \end_inset
9571 </cell>
9572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9573 \begin_inset Text
9574
9575 \begin_layout Plain Layout
9576
9577 \family roman
9578 \series medium
9579 \shape up
9580 \size normal
9581 \emph off
9582 \bar no
9583 \noun off
9584 \color none
9585 blue-fish
9586 \end_layout
9587
9588 \end_inset
9589 </cell>
9590 </row>
9591 </lyxtabular>
9592
9593 \end_inset
9594
9595
9596 \end_layout
9597
9598 \end_deeper
9599 \begin_layout Verse
9600 (
9601 \begin_inset Info
9602 type  "shortcut"
9603 arg   "break-paragraph inverse"
9604 \end_inset
9605
9606
9607 \family sans
9608 , Table, 
9609 \family default
9610
9611 \begin_inset Info
9612 type  "shortcut"
9613 arg   "depth-increment"
9614 \end_inset
9615
9616  3 times, 
9617 \begin_inset Info
9618 type  "shortcut"
9619 arg   "break-paragraph inverse"
9620 \end_inset
9621
9622
9623 \family sans
9624 , Verse, 
9625 \family default
9626
9627 \begin_inset Info
9628 type  "shortcut"
9629 arg   "depth-decrement"
9630 \end_inset
9631
9632 )
9633 \end_layout
9634
9635 \end_deeper
9636 \begin_layout Enumerate
9637 (
9638 \family sans
9639 Return, Enumerate
9640 \family default
9641 : level #1) This is another item.
9642  Note that selecting a 
9643 \family sans
9644 Table
9645 \family default
9646  resets the nesting depth to level #1, so we increased the nesting depth
9647  3 times to put the table inside the 
9648 \family sans
9649 Verse
9650 \family default
9651  environment.
9652  
9653 \end_layout
9654
9655 \begin_layout Quotation
9656 We're now ending the 
9657 \family sans
9658 Enumerate
9659 \family default
9660  list and changing to 
9661 \family sans
9662 Quotation
9663 \family default
9664 .
9665  We're still at level #1.
9666  We want to show you some of the things you can do by mixing environments.
9667  The next set of paragraphs is a 
9668 \begin_inset Quotes eld
9669 \end_inset
9670
9671 quoted letter.
9672 \begin_inset Quotes erd
9673 \end_inset
9674
9675  We will nest both the 
9676 \family sans
9677 Address
9678 \family default
9679  and 
9680 \family sans
9681 Right
9682 \begin_inset space ~
9683 \end_inset
9684
9685 Address
9686 \family default
9687  environments inside of this one, then use another nested 
9688 \family sans
9689 Quotation
9690 \family default
9691  for the letter body.
9692  We will use 
9693 \begin_inset Info
9694 type  "shortcut"
9695 arg   "break-paragraph inverse"
9696 \end_inset
9697
9698  to preserve the depth.
9699  Remember that you need to use 
9700 \begin_inset Info
9701 type  "shortcut"
9702 arg   "newline-insert newline"
9703 \end_inset
9704
9705  to create multiple lines inside the 
9706 \family sans
9707 Address
9708 \family default
9709  and 
9710 \family sans
9711 Right
9712 \begin_inset space ~
9713 \end_inset
9714
9715 Address
9716 \family default
9717  environments.
9718  Here it goes:
9719 \end_layout
9720
9721 \begin_deeper
9722 \begin_layout Right Address
9723 1234 Nowhere Rd.
9724 \begin_inset Newline newline
9725 \end_inset
9726
9727 Moosegroin, MT 00100
9728 \begin_inset Newline newline
9729 \end_inset
9730
9731 9-6-96
9732 \end_layout
9733
9734 \begin_layout Address
9735 Dear Mr.
9736 \begin_inset space ~
9737 \end_inset
9738
9739 Fizlewitz:
9740 \end_layout
9741
9742 \begin_layout Quotation
9743 We regret to inform you that we cannot fill your order for 50
9744 \begin_inset space \thinspace{}
9745 \end_inset
9746
9747 L of compressed methane gas due to circumstances beyond our control.
9748  Unfortunately, several of our cows have mysteriously exploded, creating
9749  a backlog in our orders for methane.
9750  We will place your name on the waiting list and try to fill your order
9751  as soon as possible.
9752  In the meantime, we thank you for your patience.
9753 \end_layout
9754
9755 \begin_layout Quotation
9756 We do, however, now have a special on beef.
9757  If you are interested, please return the enclosed pricing and order form
9758  with your order, along with payment.
9759 \end_layout
9760
9761 \begin_layout Quotation
9762 We thank you again for your patience.
9763 \end_layout
9764
9765 \begin_layout Address
9766 Sincerely,
9767 \begin_inset Newline newline
9768 \end_inset
9769
9770 Bill Hick
9771 \end_layout
9772
9773 \end_deeper
9774 \begin_layout Quotation
9775 That ends that example!
9776 \end_layout
9777
9778 \begin_layout Standard
9779 As you can see, nesting environments in LyX gives you a lot of power with
9780  just a few keystrokes.
9781  We could have easily nested an 
9782 \family sans
9783 Itemize
9784 \family default
9785  list inside of a 
9786 \family sans
9787 Quotation
9788 \family default
9789  or 
9790 \family sans
9791 Quote
9792 \family default
9793 , or put a 
9794 \family sans
9795 Quote
9796 \family default
9797  inside of an 
9798 \family sans
9799 Itemize
9800 \family default
9801  list.
9802  You have a huge variety of options at your disposal.
9803 \end_layout
9804
9805 \begin_layout Section
9806 Spacing, pagination and line breaks
9807 \begin_inset Index idx
9808 status collapsed
9809
9810 \begin_layout Plain Layout
9811 Spacing
9812 \end_layout
9813
9814 \end_inset
9815
9816
9817 \end_layout
9818
9819 \begin_layout Standard
9820 What is a space? While you might be used to pressing the space key anytime
9821  you want to separate two words in ordinary word processors, LyX offers
9822  you more spaces: spaces of different widths and spaces which can or cannot
9823  be broken at the end of a line.
9824  The following sections will show you some examples where those spaces are
9825  useful.
9826 \end_layout
9827
9828 \begin_layout Subsection
9829 Protected Space
9830 \begin_inset CommandInset label
9831 LatexCommand label
9832 name "sub:Protected-Space"
9833
9834 \end_inset
9835
9836
9837 \begin_inset Index idx
9838 status collapsed
9839
9840 \begin_layout Plain Layout
9841 Spaces ! Protected
9842 \end_layout
9843
9844 \end_inset
9845
9846
9847 \end_layout
9848
9849 \begin_layout Standard
9850 The protected space: It is used to tell LyX (and LaTeX) not to break the
9851  line at that point.
9852  This may be necessary to avoid unlucky line breaks, like in: 
9853 \end_layout
9854
9855 \begin_layout Quote
9856 Further documentation is given in section
9857 \begin_inset Newline newline
9858 \end_inset
9859
9860
9861 \begin_inset CommandInset ref
9862 LatexCommand ref
9863 reference "sec:Bibliography"
9864
9865 \end_inset
9866
9867 .
9868  
9869 \end_layout
9870
9871 \begin_layout Standard
9872 Obviously, it would be a good thing to put a protected space between 
9873 \begin_inset Quotes eld
9874 \end_inset
9875
9876 section
9877 \begin_inset Quotes erd
9878 \end_inset
9879
9880  and 
9881 \begin_inset Quotes eld
9882 \end_inset
9883
9884
9885 \begin_inset CommandInset ref
9886 LatexCommand ref
9887 reference "sec:Bibliography"
9888
9889 \end_inset
9890
9891
9892 \begin_inset Quotes erd
9893 \end_inset
9894
9895 .
9896  A protected space is set with 
9897 \family sans
9898 Insert\SpecialChar \menuseparator
9899 Formatting\SpecialChar \menuseparator
9900 Protected
9901 \begin_inset space ~
9902 \end_inset
9903
9904 Space
9905 \family default
9906  (shortcut 
9907 \begin_inset Info
9908 type  "shortcut"
9909 arg   "command-alternatives space-insert protected ; math-space"
9910 \end_inset
9911
9912 ).
9913 \end_layout
9914
9915 \begin_layout Subsection
9916 Horizontal Space
9917 \begin_inset CommandInset label
9918 LatexCommand label
9919 name "sub:Horizontal-Space"
9920
9921 \end_inset
9922
9923
9924 \begin_inset Index idx
9925 status collapsed
9926
9927 \begin_layout Plain Layout
9928 Spacing ! Horizontal
9929 \end_layout
9930
9931 \end_inset
9932
9933
9934 \end_layout
9935
9936 \begin_layout Standard
9937 All horizontal spaces can be inserted with the menu 
9938 \family sans
9939 Insert\SpecialChar \menuseparator
9940 Formatting\SpecialChar \menuseparator
9941 Horizontal Space
9942 \family default
9943 .
9944  The length units are listed in Appendix
9945 \begin_inset space ~
9946 \end_inset
9947
9948
9949 \begin_inset CommandInset ref
9950 LatexCommand ref
9951 reference "chap:Units-available-in"
9952
9953 \end_inset
9954
9955 .
9956 \end_layout
9957
9958 \begin_layout Subsubsection
9959 Inter-word Space
9960 \begin_inset CommandInset label
9961 LatexCommand label
9962 name "sub:Inter-word-Space"
9963
9964 \end_inset
9965
9966
9967 \begin_inset Index idx
9968 status collapsed
9969
9970 \begin_layout Plain Layout
9971 Spaces ! Inter-word
9972 \end_layout
9973
9974 \end_inset
9975
9976
9977 \end_layout
9978
9979 \begin_layout Standard
9980 With the introduction of typewriters, it became conventional in some countries
9981  to type two spaces after a period to mimic the wider spaces used by typesetters
9982  at the ends of sentences.
9983  There is no need to do this as LyX automatically takes care about this.
9984  However, you do not want an end of sentence space after an abbreviation
9985  followed by a period; see section
9986 \begin_inset space ~
9987 \end_inset
9988
9989
9990 \begin_inset CommandInset ref
9991 LatexCommand ref
9992 reference "sub:Abbreviations"
9993
9994 \end_inset
9995
9996  for examples.
9997  To insert a normal space, select 
9998 \family sans
9999 Insert\SpecialChar \menuseparator
10000 Formatting\SpecialChar \menuseparator
10001 Interword
10002 \begin_inset space ~
10003 \end_inset
10004
10005 Space
10006 \family default
10007  (shortcut 
10008 \begin_inset Info
10009 type  "shortcut"
10010 arg   "space-insert normal"
10011 \end_inset
10012
10013 ).
10014 \end_layout
10015
10016 \begin_layout Subsubsection
10017 Thin Space
10018 \begin_inset CommandInset label
10019 LatexCommand label
10020 name "sub:Thin-Space"
10021
10022 \end_inset
10023
10024
10025 \begin_inset Index idx
10026 status collapsed
10027
10028 \begin_layout Plain Layout
10029 Spaces ! Thin
10030 \end_layout
10031
10032 \end_inset
10033
10034
10035 \end_layout
10036
10037 \begin_layout Standard
10038
10039 \begin_inset Quotes eld
10040 \end_inset
10041
10042 thin space
10043 \begin_inset Quotes erd
10044 \end_inset
10045
10046  is a blank which has half the size of a normal space (and it is also 
10047 \begin_inset Quotes eld
10048 \end_inset
10049
10050 protected
10051 \begin_inset Quotes erd
10052 \end_inset
10053
10054 ).
10055  The typographical conventions in a lot of languages propose the use of
10056  thin spaces in cases where normal spaces would be too wide, for instance,
10057  inside abbreviations:
10058 \end_layout
10059
10060 \begin_layout Quote
10061 D.
10062 \begin_inset space \thinspace{}
10063 \end_inset
10064
10065 E.
10066  Knuth has developed our beloved typesetting program.
10067 \end_layout
10068
10069 \begin_layout Standard
10070 or between values and units.
10071  Compare for example this:
10072 \begin_inset Newline newline
10073 \end_inset
10074
10075 10
10076 \begin_inset space \thinspace{}
10077 \end_inset
10078
10079 kg (thin space)
10080 \begin_inset Newline newline
10081 \end_inset
10082
10083 10 kg (normal space
10084 \end_layout
10085
10086 \begin_layout Standard
10087 You can insert thin spaces with the menu 
10088 \family sans
10089 Insert\SpecialChar \menuseparator
10090 Formatting\SpecialChar \menuseparator
10091 Thin
10092 \begin_inset space ~
10093 \end_inset
10094
10095 Space
10096 \family default
10097  (shortcut 
10098 \begin_inset Info
10099 type  "shortcuts"
10100 arg   "space-insert thin"
10101 \end_inset
10102
10103 ).
10104 \end_layout
10105
10106 \begin_layout Subsubsection
10107 More Spaces
10108 \end_layout
10109
10110 \begin_layout Standard
10111 You can also insert the following space types:
10112 \end_layout
10113
10114 \begin_layout Description
10115 Negative
10116 \begin_inset space ~
10117 \end_inset
10118
10119 thin
10120 \begin_inset space ~
10121 \end_inset
10122
10123 space A line with a 
10124 \begin_inset Formula $\to$
10125 \end_inset
10126
10127
10128 \begin_inset space \negthinspace{}
10129 \end_inset
10130
10131
10132 \begin_inset Formula $\gets$
10133 \end_inset
10134
10135  negative thin space between the arrows.
10136 \end_layout
10137
10138 \begin_layout Description
10139 Enspace
10140 \begin_inset space ~
10141 \end_inset
10142
10143 (0.5
10144 \begin_inset space \thinspace{}
10145 \end_inset
10146
10147 em) A line with an 
10148 \begin_inset Formula $\to$
10149 \end_inset
10150
10151
10152 \begin_inset space \enskip{}
10153 \end_inset
10154
10155
10156 \begin_inset Formula $\gets$
10157 \end_inset
10158
10159  enspace
10160 \begin_inset space ~
10161 \end_inset
10162
10163 (0.5
10164 \begin_inset space \thinspace{}
10165 \end_inset
10166
10167 em) space between the arrows.
10168 \end_layout
10169
10170 \begin_layout Description
10171 Quad
10172 \begin_inset space ~
10173 \end_inset
10174
10175 (1
10176 \begin_inset space \thinspace{}
10177 \end_inset
10178
10179 em) A line with a 
10180 \begin_inset Formula $\to$
10181 \end_inset
10182
10183
10184 \begin_inset space \quad{}
10185 \end_inset
10186
10187
10188 \begin_inset Formula $\gets$
10189 \end_inset
10190
10191  Quad
10192 \begin_inset space ~
10193 \end_inset
10194
10195 (1
10196 \begin_inset space \thinspace{}
10197 \end_inset
10198
10199 em) space between the arrows.
10200 \end_layout
10201
10202 \begin_layout Description
10203 QQuad
10204 \begin_inset space ~
10205 \end_inset
10206
10207 (2
10208 \begin_inset space \thinspace{}
10209 \end_inset
10210
10211 em) A line with a 
10212 \begin_inset Formula $\to$
10213 \end_inset
10214
10215
10216 \begin_inset space \qquad{}
10217 \end_inset
10218
10219
10220 \begin_inset Formula $\gets$
10221 \end_inset
10222
10223  QQuad
10224 \begin_inset space ~
10225 \end_inset
10226
10227 (2
10228 \begin_inset space \thinspace{}
10229 \end_inset
10230
10231 em) space between the arrows.
10232 \end_layout
10233
10234 \begin_layout Description
10235 Custom
10236 \begin_inset space ~
10237 \end_inset
10238
10239 space A line with
10240 \begin_inset Formula $\to$
10241 \end_inset
10242
10243
10244 \begin_inset space \hspace{}
10245 \length 2cm
10246 \end_inset
10247
10248
10249 \begin_inset Formula $\gets$
10250 \end_inset
10251
10252  2
10253 \begin_inset space \thinspace{}
10254 \end_inset
10255
10256 cm space between the arrows.
10257 \end_layout
10258
10259 \begin_layout Standard
10260 Table
10261 \begin_inset space ~
10262 \end_inset
10263
10264
10265 \begin_inset CommandInset ref
10266 LatexCommand ref
10267 reference "tab:Width-of-the"
10268
10269 \end_inset
10270
10271  lists the different space sizes.
10272 \end_layout
10273
10274 \begin_layout Standard
10275 \begin_inset Float table
10276 wide false
10277 sideways false
10278 status open
10279
10280 \begin_layout Plain Layout
10281 \align center
10282 \begin_inset Caption
10283
10284 \begin_layout Plain Layout
10285 \begin_inset CommandInset label
10286 LatexCommand label
10287 name "tab:Width-of-the"
10288
10289 \end_inset
10290
10291 Width of the different horizontal spaces.
10292 \end_layout
10293
10294 \end_inset
10295
10296
10297 \end_layout
10298
10299 \begin_layout Plain Layout
10300 \align center
10301 \begin_inset Tabular
10302 <lyxtabular version="3" rows="8" columns="2">
10303 <features rotate="0" tabularvalignment="middle">
10304 <column alignment="center" valignment="top">
10305 <column alignment="center" valignment="top">
10306 <row>
10307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10308 \begin_inset Text
10309
10310 \begin_layout Plain Layout
10311
10312 \series bold
10313 Space
10314 \end_layout
10315
10316 \end_inset
10317 </cell>
10318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10319 \begin_inset Text
10320
10321 \begin_layout Plain Layout
10322
10323 \series bold
10324 Width
10325 \end_layout
10326
10327 \end_inset
10328 </cell>
10329 </row>
10330 <row>
10331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10332 \begin_inset Text
10333
10334 \begin_layout Plain Layout
10335 Normal
10336 \end_layout
10337
10338 \end_inset
10339 </cell>
10340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10341 \begin_inset Text
10342
10343 \begin_layout Plain Layout
10344 1/3
10345 \begin_inset space \thinspace{}
10346 \end_inset
10347
10348 em
10349 \end_layout
10350
10351 \end_inset
10352 </cell>
10353 </row>
10354 <row>
10355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10356 \begin_inset Text
10357
10358 \begin_layout Plain Layout
10359 Protected
10360 \end_layout
10361
10362 \end_inset
10363 </cell>
10364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10365 \begin_inset Text
10366
10367 \begin_layout Plain Layout
10368 1/3
10369 \begin_inset space \thinspace{}
10370 \end_inset
10371
10372 em
10373 \end_layout
10374
10375 \end_inset
10376 </cell>
10377 </row>
10378 <row>
10379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10380 \begin_inset Text
10381
10382 \begin_layout Plain Layout
10383 Thin
10384 \end_layout
10385
10386 \end_inset
10387 </cell>
10388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10389 \begin_inset Text
10390
10391 \begin_layout Plain Layout
10392 1/6
10393 \begin_inset space \thinspace{}
10394 \end_inset
10395
10396 em
10397 \end_layout
10398
10399 \end_inset
10400 </cell>
10401 </row>
10402 <row>
10403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10404 \begin_inset Text
10405
10406 \begin_layout Plain Layout
10407 Negative thin
10408 \end_layout
10409
10410 \end_inset
10411 </cell>
10412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10413 \begin_inset Text
10414
10415 \begin_layout Plain Layout
10416 -1/6
10417 \begin_inset space \thinspace{}
10418 \end_inset
10419
10420 em
10421 \end_layout
10422
10423 \end_inset
10424 </cell>
10425 </row>
10426 <row>
10427 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10428 \begin_inset Text
10429
10430 \begin_layout Plain Layout
10431 Enspace (0.5
10432 \begin_inset space \thinspace{}
10433 \end_inset
10434
10435 em)
10436 \end_layout
10437
10438 \end_inset
10439 </cell>
10440 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10441 \begin_inset Text
10442
10443 \begin_layout Plain Layout
10444 0.5
10445 \begin_inset space \thinspace{}
10446 \end_inset
10447
10448 em
10449 \end_layout
10450
10451 \end_inset
10452 </cell>
10453 </row>
10454 <row>
10455 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10456 \begin_inset Text
10457
10458 \begin_layout Plain Layout
10459 Quad (1
10460 \begin_inset space \thinspace{}
10461 \end_inset
10462
10463 em)
10464 \end_layout
10465
10466 \end_inset
10467 </cell>
10468 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10469 \begin_inset Text
10470
10471 \begin_layout Plain Layout
10472 1
10473 \begin_inset space \thinspace{}
10474 \end_inset
10475
10476 em
10477 \end_layout
10478
10479 \end_inset
10480 </cell>
10481 </row>
10482 <row>
10483 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10484 \begin_inset Text
10485
10486 \begin_layout Plain Layout
10487 QQuad (2
10488 \begin_inset space \thinspace{}
10489 \end_inset
10490
10491 em)
10492 \end_layout
10493
10494 \end_inset
10495 </cell>
10496 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10497 \begin_inset Text
10498
10499 \begin_layout Plain Layout
10500 2
10501 \begin_inset space \thinspace{}
10502 \end_inset
10503
10504 em
10505 \end_layout
10506
10507 \end_inset
10508 </cell>
10509 </row>
10510 </lyxtabular>
10511
10512 \end_inset
10513
10514
10515 \end_layout
10516
10517 \end_inset
10518
10519
10520 \end_layout
10521
10522 \begin_layout Subsubsection
10523
10524 \family sans
10525 Horizontal Fills
10526 \family default
10527
10528 \begin_inset Index idx
10529 status collapsed
10530
10531 \begin_layout Plain Layout
10532 Spacing ! Fills
10533 \end_layout
10534
10535 \end_inset
10536
10537
10538 \end_layout
10539
10540 \begin_layout Standard
10541 Horizontal fills (HFills) are a special LyX feature for adding extra space
10542  in a uniform fashion.
10543  An HFill is actually a variable length space, whose length always equals
10544  the remaining space between the left and right margins.
10545  If there is more than one HFill on a line, they divide the available space
10546  equally between themselves.
10547 \end_layout
10548
10549 \begin_layout Standard
10550 Here are a few examples of what you can do with them:
10551 \end_layout
10552
10553 \begin_layout Quote
10554 \noindent
10555 This is on the left side
10556 \begin_inset space \hfill{}
10557 \end_inset
10558
10559 This is on the right
10560 \end_layout
10561
10562 \begin_layout Quote
10563 \noindent
10564 Left
10565 \begin_inset space \hfill{}
10566 \end_inset
10567
10568 Middle
10569 \begin_inset space \hfill{}
10570 \end_inset
10571
10572 Right
10573 \end_layout
10574
10575 \begin_layout Quote
10576 \noindent
10577 Left
10578 \begin_inset space \hfill{}
10579 \end_inset
10580
10581 1/3 Left
10582 \begin_inset space \hfill{}
10583 \end_inset
10584
10585
10586 \begin_inset space \hfill{}
10587 \end_inset
10588
10589 Right
10590 \end_layout
10591
10592 \begin_layout Standard
10593 That was an example in the 
10594 \family sans
10595 Quote
10596 \family default
10597  environment.
10598  Here
10599 \begin_inset Formula $\to$
10600 \end_inset
10601
10602
10603 \begin_inset space \hfill{}
10604 \end_inset
10605
10606
10607 \begin_inset Formula $\gets$
10608 \end_inset
10609
10610 is one in a standard paragraph.
10611  It may or may not be apparent in the printed text, but it 
10612 \emph on
10613 is
10614 \emph default
10615  sitting in-between the two arrows.
10616 \end_layout
10617
10618 \begin_layout Standard
10619 HFills can be made visible when you choose one of the 
10620 \family sans
10621 Fill
10622 \begin_inset space ~
10623 \end_inset
10624
10625 Pattern
10626 \family default
10627 s in the space dialog: The following patterns are available:
10628 \end_layout
10629
10630 \begin_layout Standard
10631 Dots: 
10632 \begin_inset space \dotfill{}
10633 \end_inset
10634
10635
10636 \begin_inset space ~
10637 \end_inset
10638
10639
10640 \end_layout
10641
10642 \begin_layout Standard
10643 Rule: 
10644 \begin_inset space \hrulefill{}
10645 \end_inset
10646
10647
10648 \begin_inset space ~
10649 \end_inset
10650
10651
10652 \end_layout
10653
10654 \begin_layout Standard
10655 Left arrow: 
10656 \begin_inset space \leftarrowfill{}
10657 \end_inset
10658
10659
10660 \begin_inset space ~
10661 \end_inset
10662
10663
10664 \end_layout
10665
10666 \begin_layout Standard
10667 Right arrow: 
10668 \begin_inset space \rightarrowfill{}
10669 \end_inset
10670
10671
10672 \begin_inset space ~
10673 \end_inset
10674
10675
10676 \end_layout
10677
10678 \begin_layout Standard
10679 Up brace: 
10680 \begin_inset space \downbracefill{}
10681 \end_inset
10682
10683
10684 \begin_inset space ~
10685 \end_inset
10686
10687
10688 \end_layout
10689
10690 \begin_layout Standard
10691 Down brace: 
10692 \begin_inset space \upbracefill{}
10693 \end_inset
10694
10695
10696 \begin_inset space ~
10697 \end_inset
10698
10699
10700 \end_layout
10701
10702 \begin_layout Standard
10703 \begin_inset Note Greyedout
10704 status open
10705
10706 \begin_layout Plain Layout
10707
10708 \series bold
10709 Note:
10710 \series default
10711  If an HFill is at the beginning of a line, and 
10712 \emph on
10713 not
10714 \emph default
10715  in the first line in a paragraph, LyX ignores it.
10716  This prevents HFills from accidentally being wrapped onto a new line.
10717  If you need space in this case anyway, set the 
10718 \family sans
10719 Protect
10720 \family default
10721  option in the space dialog.
10722 \end_layout
10723
10724 \end_inset
10725
10726
10727 \end_layout
10728
10729 \begin_layout Subsubsection
10730 Phantom Space
10731 \begin_inset CommandInset label
10732 LatexCommand label
10733 name "sub:Phantom-Space"
10734
10735 \end_inset
10736
10737
10738 \begin_inset Index idx
10739 status collapsed
10740
10741 \begin_layout Plain Layout
10742 Spacing ! Phantom
10743 \end_layout
10744
10745 \end_inset
10746
10747
10748 \end_layout
10749
10750 \begin_layout Standard
10751 Sometimes you want to insert space with exactly the length of a phrase.
10752  For example, you want to create the following multiple choice question:
10753 \end_layout
10754
10755 \begin_layout Standard
10756 \begin_inset VSpace medskip
10757 \end_inset
10758
10759 What is correct English?:
10760 \begin_inset Newline newline
10761 \end_inset
10762
10763
10764 \begin_inset Newline newline
10765 \end_inset
10766
10767 Mr.
10768 \begin_inset space ~
10769 \end_inset
10770
10771 Edge would have been jumps the gun.
10772 \begin_inset Newline newline
10773 \end_inset
10774
10775
10776 \begin_inset Phantom HPhantom
10777 status open
10778
10779 \begin_layout Plain Layout
10780 Mr.
10781  Edge 
10782 \end_layout
10783
10784 \end_inset
10785
10786 has to be jumped
10787 \begin_inset Newline newline
10788 \end_inset
10789
10790
10791 \begin_inset Phantom HPhantom
10792 status open
10793
10794 \begin_layout Plain Layout
10795 Mr.
10796  Edge 
10797 \end_layout
10798
10799 \end_inset
10800
10801 jumps
10802 \begin_inset VSpace medskip
10803 \end_inset
10804
10805
10806 \end_layout
10807
10808 \begin_layout Standard
10809 \noindent
10810 so that the choices appear exactly after the phrase 
10811 \begin_inset Quotes eld
10812 \end_inset
10813
10814 Mr.
10815 \begin_inset space ~
10816 \end_inset
10817
10818 Edge
10819 \begin_inset space ~
10820 \end_inset
10821
10822
10823 \begin_inset Quotes erd
10824 \end_inset
10825
10826 .
10827  To get this, you can use the phantom insets available via the menu 
10828 \family sans
10829 Insert\SpecialChar \menuseparator
10830 Formatting\SpecialChar \menuseparator
10831 Phantom
10832 \family default
10833 .
10834  In our case insert a horizontal phantom at the beginning of the last two
10835  lines and insert 
10836 \begin_inset Quotes eld
10837 \end_inset
10838
10839 Mr.
10840 \begin_inset space ~
10841 \end_inset
10842
10843 Edge
10844 \begin_inset space ~
10845 \end_inset
10846
10847
10848 \begin_inset Quotes erd
10849 \end_inset
10850
10851  into the phantom inset (note the space after 
10852 \begin_inset Quotes eld
10853 \end_inset
10854
10855 Edge
10856 \begin_inset Quotes erd
10857 \end_inset
10858
10859 ).
10860  A phantom insets prints only the space of its content (like a placeholder).
10861  That is why it is named 
10862 \begin_inset Quotes eld
10863 \end_inset
10864
10865 phantom
10866 \begin_inset Quotes erd
10867 \end_inset
10868
10869 .
10870  The normal phantom outputs the width and height of the content as space,
10871  while the horizontal and vertical variant only outputs the corresponding
10872  dimension.
10873 \end_layout
10874
10875 \begin_layout Subsection
10876 Vertical Space
10877 \begin_inset CommandInset label
10878 LatexCommand label
10879 name "sub:Vertical-Space"
10880
10881 \end_inset
10882
10883
10884 \begin_inset Index idx
10885 status collapsed
10886
10887 \begin_layout Plain Layout
10888 Spacing ! Vertical
10889 \end_layout
10890
10891 \end_inset
10892
10893
10894 \end_layout
10895
10896 \begin_layout Standard
10897 To add extra vertical space above or below a paragraph, use the 
10898 \family sans
10899 Insert\SpecialChar \menuseparator
10900 Formatting\SpecialChar \menuseparator
10901 Vertical
10902 \begin_inset space ~
10903 \end_inset
10904
10905 Space
10906 \family default
10907  dialog.
10908  There you find the following sizes:
10909 \end_layout
10910
10911 \begin_layout Standard
10912
10913 \family sans
10914 SmallSkip
10915 \family default
10916
10917 \family sans
10918 MedSkip
10919 \family default
10920  and 
10921 \family sans
10922 BigSkip
10923 \family default
10924  are LaTeX sizes which depend on the font size of the document.
10925  
10926 \family sans
10927 DefSkip
10928 \family default
10929  is the skip adjusted in the dialog 
10930 \family sans
10931 Document\SpecialChar \menuseparator
10932 Settings\SpecialChar \menuseparator
10933 Text
10934 \begin_inset space ~
10935 \end_inset
10936
10937 Layout
10938 \family default
10939
10940 \begin_inset Index idx
10941 status collapsed
10942
10943 \begin_layout Plain Layout
10944 Document ! Settings
10945 \end_layout
10946
10947 \end_inset
10948
10949  for the paragraph separation.
10950  If you use indentation to separate paragraphs 
10951 \family sans
10952 DefSkip
10953 \family default
10954  is equal to 
10955 \family sans
10956 MedSkip
10957 \family default
10958 .
10959 \end_layout
10960
10961 \begin_layout Standard
10962
10963 \family sans
10964 VFill
10965 \family default
10966
10967 \begin_inset Index idx
10968 status collapsed
10969
10970 \begin_layout Plain Layout
10971 Spacing ! Fills
10972 \end_layout
10973
10974 \end_inset
10975
10976  is a variable space, set so that the space is maximal within one page.
10977  An example: you have only two short paragraphs on one page with a 
10978 \family sans
10979 Vfill
10980 \family default
10981  between them.
10982  Then the first paragraph is placed at the top of the page and the second
10983  one at the bottom, because the space between them is then maximal.
10984  
10985 \family sans
10986 VFill
10987 \family default
10988 s work like 
10989 \family sans
10990 HFill
10991 \family default
10992 s: they fill the remaining vertical space on a page with blank space.
10993 \begin_inset Foot
10994 status collapsed
10995
10996 \begin_layout Plain Layout
10997
10998 \family sans
10999 HFill
11000 \family default
11001 s are described in section
11002 \begin_inset space ~
11003 \end_inset
11004
11005
11006 \begin_inset CommandInset ref
11007 LatexCommand ref
11008 reference "sub:Horizontal-Space"
11009
11010 \end_inset
11011
11012 .
11013 \end_layout
11014
11015 \end_inset
11016
11017  If there are several 
11018 \family sans
11019 VFill
11020 \family default
11021 s on a page, they divide the remaining vertical space equally between themselves.
11022  You can therefore use 
11023 \family sans
11024 VFill
11025 \family default
11026 s to center text on a page, or even place text 2/3 down a page.
11027 \end_layout
11028
11029 \begin_layout Standard
11030
11031 \family sans
11032 Custom
11033 \family default
11034  are custom spaces in units explained in Appendix
11035 \begin_inset space ~
11036 \end_inset
11037
11038
11039 \begin_inset CommandInset ref
11040 LatexCommand ref
11041 reference "chap:Units-available-in"
11042
11043 \end_inset
11044
11045 .
11046 \end_layout
11047
11048 \begin_layout Standard
11049 \begin_inset Note Greyedout
11050 status open
11051
11052 \begin_layout Plain Layout
11053
11054 \series bold
11055 Note:
11056 \series default
11057  
11058 \series medium
11059 If the extra vertical space would be in the output at the top/bottom of
11060  a page, the space is only added if you have also checked the option 
11061 \family sans
11062 Protect
11063 \family default
11064 .
11065 \end_layout
11066
11067 \end_inset
11068
11069
11070 \end_layout
11071
11072 \begin_layout Subsection
11073 Paragraph Alignment
11074 \begin_inset Index idx
11075 status collapsed
11076
11077 \begin_layout Plain Layout
11078 Paragraph ! Alignment
11079 \end_layout
11080
11081 \end_inset
11082
11083
11084 \end_layout
11085
11086 \begin_layout Standard
11087 You can change the paragraph alignment with the 
11088 \family sans
11089 Edit\SpecialChar \menuseparator
11090 Paragraph Settings
11091 \family default
11092  dialog (toolbar button 
11093 \begin_inset Info
11094 type  "icon"
11095 arg   "layout-paragraph"
11096 \end_inset
11097
11098 ).
11099  There are five possibilities: 
11100 \end_layout
11101
11102 \begin_layout Itemize
11103
11104 \family sans
11105 Justified
11106 \family default
11107  (shortcut 
11108 \begin_inset Info
11109 type  "shortcut"
11110 arg   "paragraph-params \\align block"
11111 \end_inset
11112
11113 )
11114 \end_layout
11115
11116 \begin_layout Itemize
11117
11118 \family sans
11119 Left
11120 \family default
11121  (
11122 \begin_inset Info
11123 type  "shortcut"
11124 arg   "paragraph-params \\align left"
11125 \end_inset
11126
11127 )
11128 \end_layout
11129
11130 \begin_layout Itemize
11131
11132 \family sans
11133 Right
11134 \family default
11135  (
11136 \begin_inset Info
11137 type  "shortcut"
11138 arg   "paragraph-params \\align right"
11139 \end_inset
11140
11141 )
11142 \end_layout
11143
11144 \begin_layout Itemize
11145
11146 \family sans
11147 Center
11148 \family default
11149  (
11150 \begin_inset Info
11151 type  "shortcut"
11152 arg   "paragraph-params \\align center"
11153 \end_inset
11154
11155 )
11156 \end_layout
11157
11158 \begin_layout Itemize
11159
11160 \family sans
11161 Default
11162 \family default
11163  (
11164 \begin_inset Info
11165 type  "shortcut"
11166 arg   "paragraph-params \\align default"
11167 \end_inset
11168
11169 )
11170 \end_layout
11171
11172 \begin_layout Standard
11173 The default in most cases is justified alignment, in which the inter-word
11174  spacing is variable and each line of a paragraph fills the region between
11175  the left and right margins.
11176  The other three alignments should be self-explanatory, and look like this:
11177 \end_layout
11178
11179 \begin_layout Standard
11180 \align right
11181 This paragraph is right aligned,
11182 \end_layout
11183
11184 \begin_layout Standard
11185 \align center
11186 this one is centered,
11187 \end_layout
11188
11189 \begin_layout Standard
11190 \align left
11191 this one is left aligned.
11192 \end_layout
11193
11194 \begin_layout Subsection
11195 Forced Page Breaks
11196 \begin_inset Index idx
11197 status collapsed
11198
11199 \begin_layout Plain Layout
11200 Page breaks ! Forced
11201 \end_layout
11202
11203 \end_inset
11204
11205
11206 \begin_inset CommandInset label
11207 LatexCommand label
11208 name "sub:Forced-Page-Breaks"
11209
11210 \end_inset
11211
11212
11213 \end_layout
11214
11215 \begin_layout Standard
11216 If you don't like the way LaTeX does the page breaks in your document, you
11217  can force a page break where you want one.
11218  Normally this will not be necessary, because LaTeX is good at page breaking.
11219  Only if you use a lot of 
11220 \family sans
11221 Floats
11222 \family default
11223 , LaTeX's page breaking algorithm can fail.
11224 \end_layout
11225
11226 \begin_layout Standard
11227 We recommend you not to use forced page breaks until the text is finished
11228  and you have checked in the preview to see if you 
11229 \emph on
11230 really
11231 \emph default
11232  have to change the page breaking.
11233 \end_layout
11234
11235 \begin_layout Standard
11236 There are two types of page breaks: One that ends the page without any special
11237  action.
11238  This can be inserted above or below a paragraph via the menu 
11239 \family sans
11240 Insert\SpecialChar \menuseparator
11241 Formatting\SpecialChar \menuseparator
11242 New
11243 \begin_inset space ~
11244 \end_inset
11245
11246 Page
11247 \family default
11248 .
11249  The second type, that is inserted via the menu 
11250 \family sans
11251 Insert\SpecialChar \menuseparator
11252 Formatting\SpecialChar \menuseparator
11253 Page
11254 \begin_inset space ~
11255 \end_inset
11256
11257 Break
11258 \family default
11259 , ends a page but stretches the content of the page, so that it fills out
11260  the complete page.
11261  This type is useful to avoid whitespace when a page break produces a page
11262  on which only the last few lines are absent.
11263 \end_layout
11264
11265 \begin_layout Standard
11266 You might try to use a page break to ensure that a figure or table appears
11267  at the top of a page.
11268  This is, of course, the wrong way to do it.
11269  LyX gives you a way of automatically ensuring that your figures and tables
11270  appear at the top of a page (or the bottom, or on their own page) without
11271  having to worry about what precedes or follows your figure or table.
11272  See chapter 
11273 \begin_inset CommandInset ref
11274 LatexCommand ref
11275 reference "chap:Floats-and-Notes"
11276
11277 \end_inset
11278
11279  to learn more about 
11280 \family sans
11281 Floats
11282 \family default
11283 .
11284 \end_layout
11285
11286 \begin_layout Subsubsection
11287 Clear Page Breaks
11288 \begin_inset CommandInset label
11289 LatexCommand label
11290 name "sub:Clear-Page-Breaks"
11291
11292 \end_inset
11293
11294
11295 \begin_inset Index idx
11296 status collapsed
11297
11298 \begin_layout Plain Layout
11299 Page breaks ! Clear
11300 \end_layout
11301
11302 \end_inset
11303
11304
11305 \end_layout
11306
11307 \begin_layout Standard
11308 Rather than forced page breaks where the content behind the break is placed
11309  directly on the next page, you can also clear pages while breaking them.
11310  That means that the current paragraph is terminated and everything, including
11311  unprocessed floats, from the earlier part of the document are placed after
11312  it, if necessary by adding pages.
11313 \end_layout
11314
11315 \begin_layout Standard
11316 You can insert a clear page break with the menu 
11317 \family sans
11318 Insert\SpecialChar \menuseparator
11319 Formatting\SpecialChar \menuseparator
11320 Clear
11321 \begin_inset space ~
11322 \end_inset
11323
11324 Page
11325 \family default
11326 .
11327  When you have a two-sided document like a book, you can use the menu 
11328 \family sans
11329 Insert\SpecialChar \menuseparator
11330 Formatting\SpecialChar \menuseparator
11331 Clear
11332 \begin_inset space ~
11333 \end_inset
11334
11335 Double
11336 \begin_inset space ~
11337 \end_inset
11338
11339 Page
11340 \family default
11341  to insert a clear page break that assures that the next page is a right-hand
11342  page (odd-numbered), if necessary by adding a page.
11343 \end_layout
11344
11345 \begin_layout Subsection
11346 Forced Line Breaks
11347 \begin_inset Index idx
11348 status collapsed
11349
11350 \begin_layout Plain Layout
11351 Line breaks
11352 \end_layout
11353
11354 \end_inset
11355
11356
11357 \begin_inset CommandInset label
11358 LatexCommand label
11359 name "sub:Forced-Line-Breaks"
11360
11361 \end_inset
11362
11363
11364 \end_layout
11365
11366 \begin_layout Standard
11367 Similar to page breaks there are two types of line breaks: one simply breaks
11368  the line.
11369  You can force this line break within a paragraph by selecting 
11370 \family sans
11371 Insert\SpecialChar \menuseparator
11372 Formatting\SpecialChar \menuseparator
11373 Ragged
11374 \begin_inset space ~
11375 \end_inset
11376
11377 Line
11378 \begin_inset space ~
11379 \end_inset
11380
11381 Break
11382 \family default
11383  or with 
11384 \begin_inset Info
11385 type  "shortcut"
11386 arg   "newline-insert newline"
11387 \end_inset
11388
11389 .
11390  Another type that is inserted via the menu 
11391 \family sans
11392 Insert\SpecialChar \menuseparator
11393 Formatting\SpecialChar \menuseparator
11394 Justified
11395 \begin_inset space ~
11396 \end_inset
11397
11398 Line
11399 \begin_inset space ~
11400 \end_inset
11401
11402 Break
11403 \family default
11404  or with 
11405 \begin_inset Info
11406 type  "shortcut"
11407 arg   "newline-insert linebreak"
11408 \end_inset
11409
11410  breaks the line and stretches it so that it fills out the whole space between
11411  the page margins.
11412  This is useful to avoid 
11413 \begin_inset Quotes eld
11414 \end_inset
11415
11416 fringes
11417 \begin_inset Quotes erd
11418 \end_inset
11419
11420  in justified paragraphs due to possible whitespace introduced by line breaks.
11421 \end_layout
11422
11423 \begin_layout Standard
11424 You shouldn't use forced line breaks to correct LaTeX's line breaking, as
11425  LaTeX is very good at line breaking.
11426  There are, however, a number of situations where it is necessaryactively
11427  to set a line break, for example, in a poem or for an address (see sections
11428 \begin_inset space ~
11429 \end_inset
11430
11431
11432 \begin_inset CommandInset ref
11433 LatexCommand ref
11434 reference "sec:Quote"
11435
11436 \end_inset
11437
11438
11439 \begin_inset CommandInset ref
11440 LatexCommand ref
11441 reference "sec:Verse"
11442
11443 \end_inset
11444
11445  and 
11446 \begin_inset CommandInset ref
11447 LatexCommand ref
11448 reference "sec:Address-Usage"
11449
11450 \end_inset
11451
11452 ).
11453 \end_layout
11454
11455 \begin_layout Subsection
11456 Horizontal Lines
11457 \begin_inset CommandInset label
11458 LatexCommand label
11459 name "sub:Horizontal-Lines"
11460
11461 \end_inset
11462
11463
11464 \begin_inset Index idx
11465 status collapsed
11466
11467 \begin_layout Plain Layout
11468 Horizontal lines
11469 \end_layout
11470
11471 \end_inset
11472
11473
11474 \end_layout
11475
11476 \begin_layout Standard
11477 \noindent
11478 \begin_inset CommandInset line
11479 LatexCommand rule
11480 offset "0.5ex"
11481 width "100line%"
11482 height "1pt"
11483
11484 \end_inset
11485
11486
11487 \end_layout
11488
11489 \begin_layout Standard
11490 \noindent
11491 In the dialog 
11492 \family sans
11493 Insert\SpecialChar \menuseparator
11494 Formatting\SpecialChar \menuseparator
11495 Horizontal
11496 \begin_inset space ~
11497 \end_inset
11498
11499 Line
11500 \family default
11501  you can insert horizontal lines.
11502  The line offset is the vertical distance between the line and the baseline
11503  of the current text line or the paragraph.
11504  The line settings can be changed by left-clicking on the line.
11505 \end_layout
11506
11507 \begin_layout Standard
11508 \noindent
11509 \begin_inset CommandInset line
11510 LatexCommand rule
11511 offset "0.5ex"
11512 width "100line%"
11513 height "1pt"
11514
11515 \end_inset
11516
11517
11518 \end_layout
11519
11520 \begin_layout Section
11521 Characters and Symbols
11522 \end_layout
11523
11524 \begin_layout Standard
11525 You can directly enter all characters that are available on your keyboard.
11526  You can also use special keyboard maps to be able to enter, for example,
11527  characters needed for French with an English keyboard.
11528  See section
11529 \begin_inset space \thinspace{}
11530 \end_inset
11531
11532
11533 \begin_inset CommandInset ref
11534 LatexCommand ref
11535 reference "sub:Keyboard-mapping"
11536
11537 \end_inset
11538
11539  for information on how this is done.
11540 \end_layout
11541
11542 \begin_layout Standard
11543 For the case where you need a character that is not on your keyboard, you
11544  can use the 
11545 \family sans
11546 Symbols
11547 \family default
11548  dialog via the menu 
11549 \family sans
11550 Insert\SpecialChar \menuseparator
11551 Special Character\SpecialChar \menuseparator
11552 Symbols
11553 \family default
11554 .
11555 \end_layout
11556
11557 \begin_layout Standard
11558 \begin_inset Note Greyedout
11559 status open
11560
11561 \begin_layout Plain Layout
11562
11563 \series bold
11564 Note:
11565 \series default
11566  Maybe not all symbols inserted with the symbols dialog can be displayed
11567  when you are using a special screen font in LyX's preferences.
11568  But the inserted symbols will in every case be displayed in the output.
11569 \end_layout
11570
11571 \end_inset
11572
11573
11574 \end_layout
11575
11576 \begin_layout Section
11577 Fonts and Text Styles
11578 \begin_inset CommandInset label
11579 LatexCommand label
11580 name "sec:Fonts-and-Text"
11581
11582 \end_inset
11583
11584
11585 \end_layout
11586
11587 \begin_layout Subsection
11588 Font Types
11589 \begin_inset Index idx
11590 status collapsed
11591
11592 \begin_layout Plain Layout
11593 Font ! Types
11594 \end_layout
11595
11596 \end_inset
11597
11598
11599 \end_layout
11600
11601 \begin_layout Standard
11602 There are two types of fonts:
11603 \end_layout
11604
11605 \begin_layout Description
11606 Vector
11607 \begin_inset space ~
11608 \end_inset
11609
11610 fonts
11611 \begin_inset Index idx
11612 status collapsed
11613
11614 \begin_layout Plain Layout
11615 Fonts ! Vector-
11616 \end_layout
11617
11618 \end_inset
11619
11620  are built from outlines of the single glyphs (e.
11621 \begin_inset space \thinspace{}
11622 \end_inset
11623
11624 g.
11625  characters) in the font.
11626  This means that each glyph is defined using mathematical curves that are
11627  well suited for scaling to any requested size.
11628  This mathematical definition is interpreted by the font renderer and the
11629  curve is filled out with pixels according to the size and glyph.
11630  This means that vector fonts will look pretty good in all sizes.
11631  Only at very small sizes where each pixel has to be very carefully computed
11632  to provide a good image might it be hard to provide a good rendering.
11633 \begin_inset Newline newline
11634 \end_inset
11635
11636 That could mean that one only needs to define one font size and scale them.
11637  But to achieve a better quality, many fonts define several font sizes.
11638  That improves the appearance because you need more details at large font
11639  sizes than at small ones.
11640 \begin_inset Newline newline
11641 \end_inset
11642
11643 The font types 
11644 \family typewriter
11645 TrueType
11646 \family default
11647
11648 \family typewriter
11649 OpenType
11650 \family default
11651 , and 
11652 \family typewriter
11653 Type
11654 \begin_inset space ~
11655 \end_inset
11656
11657 1
11658 \family default
11659  are vector fonts.
11660 \end_layout
11661
11662 \begin_layout Description
11663 Bitmap
11664 \begin_inset space ~
11665 \end_inset
11666
11667 fonts
11668 \begin_inset Index idx
11669 status collapsed
11670
11671 \begin_layout Plain Layout
11672 Fonts ! Bitmap-
11673 \end_layout
11674
11675 \end_inset
11676
11677  on the other hand, are defined by bitmap graphics from the start; so they
11678  will look good at all the sizes they are meant for.
11679  However, they don't scale well, because in order to scale a glyph, each
11680  pixel is enlarged into several pixels.
11681  It is the same effect that happens if you try to enlarge a picture in an
11682  image manipulation program.
11683  In order to mitigate this effect, bitmap fonts are typically provided in
11684  several fixed sizes typically from around 8
11685 \begin_inset space ~
11686 \end_inset
11687
11688 pixels high up to 34
11689 \begin_inset space ~
11690 \end_inset
11691
11692 pixels or so high in steps according to what is believed to be useful.
11693  The advantage of bitmap fonts is that no complicated computations are necessary
11694  to display each glyph; so bitmap fonts display therefore more quickly than
11695  scalable fonts.
11696  The disadvantage is that sizes that don't exist as fixed versions have
11697  to be scaled by doubling pixels, and thus look bad.
11698 \begin_inset Newline newline
11699 \end_inset
11700
11701 Bitmap fonts are named 
11702 \family typewriter
11703 Type
11704 \begin_inset space ~
11705 \end_inset
11706
11707 3
11708 \family default
11709  in PostScript- and PDF-documents.
11710 \end_layout
11711
11712 \begin_layout Standard
11713 The result of all this is that bitmap fonts are best for the size they are
11714  designed for, while scalable fonts are good for nearly all sizes.
11715  So one needs fewer font size definitions for scalable fonts.
11716  That's the reason why nearly all text rendering and typesetting programs
11717  use scalable fonts.
11718 \end_layout
11719
11720 \begin_layout Standard
11721 To see which fonts are used in a PDF-document, look at its document properties.
11722 \end_layout
11723
11724 \begin_layout Standard
11725 Many modern typesetting and markup languages have begun to move towards
11726  specifying character styles rather than specifying a particular font.
11727  For example, instead of changing to an italicized version of the current
11728  font to emphasize text, you use an 
11729 \begin_inset Quotes eld
11730 \end_inset
11731
11732 emphasized style
11733 \begin_inset Quotes erd
11734 \end_inset
11735
11736  instead.
11737  This concept fits in perfectly with LyX.
11738  In LyX, you do things based on contexts, rather than focusing on typesetting
11739  details.
11740 \end_layout
11741
11742 \begin_layout Subsection
11743 LaTeX font support
11744 \begin_inset CommandInset label
11745 LatexCommand label
11746 name "sub:LaTeX-font-support"
11747
11748 \end_inset
11749
11750
11751 \end_layout
11752
11753 \begin_layout Standard
11754 Traditionally, LaTeX used its own fonts.
11755  That is to say, you cannot directly access the fonts installed on your
11756  operating system, but you have to use specific fonts provided by your LaTeX
11757  distribution.
11758  The reason is that LaTeX needs some extra information about the fonts,
11759  which have to be provided by additional files and packages.
11760  The downside of this is that your font choice is somewhat limited compared
11761  to a word processor.
11762  On the other hand this comes with the advantage that the provided fonts
11763  are generally of very good quality, and that LaTeX files are very portable
11764  across different machines.
11765  Also, the range of fonts supported by traditional LaTeX has increased a
11766  lot in the meantime; so you can find packages for many free and commercial
11767  fonts.
11768  In LyX, only a subset of these are directly selectable via the user interface
11769  (see section
11770 \begin_inset space ~
11771 \end_inset
11772
11773
11774 \begin_inset CommandInset ref
11775 LatexCommand ref
11776 reference "sub:Document-Font"
11777
11778 \end_inset
11779
11780  for details).
11781  However, all the others are available if you enter the relevant LaTeX code
11782  in the document preamble (please refer to the documentation of your desired
11783  font).
11784 \end_layout
11785
11786 \begin_layout Standard
11787 Recent developments brought some new LaTeX engines that are also able directly
11788  to access fonts that are installed for your operating system, namely XeTeX
11789  and LuaTeX.
11790  Both engines are supported by LyX.
11791  By using them, you can theoretically use any OpenType or TrueType font
11792  that is installed on your system.
11793  The next section describes how to use these fonts.
11794 \end_layout
11795
11796 \begin_layout Standard
11797 \begin_inset Note Greyedout
11798 status open
11799
11800 \begin_layout Plain Layout
11801
11802 \series bold
11803 Note:
11804 \series default
11805  In practice, some fonts might fail due to bad metrics and other font deficienci
11806 es; so you might have to experiment.
11807 \end_layout
11808
11809 \end_inset
11810
11811
11812 \end_layout
11813
11814 \begin_layout Standard
11815 \begin_inset Note Greyedout
11816 status open
11817
11818 \begin_layout Plain Layout
11819
11820 \series bold
11821 Note:
11822 \series default
11823  XeTeX and especially LuaTeX, are still rather new and thus not as mature
11824  as traditional LaTeX or PDFTeX.
11825 \end_layout
11826
11827 \end_inset
11828
11829
11830 \end_layout
11831
11832 \begin_layout Subsection
11833 Document Font and Font size
11834 \begin_inset CommandInset label
11835 LatexCommand label
11836 name "sub:Document-Font"
11837
11838 \end_inset
11839
11840
11841 \begin_inset Index idx
11842 status collapsed
11843
11844 \begin_layout Plain Layout
11845 Font ! Size
11846 \end_layout
11847
11848 \end_inset
11849
11850
11851 \begin_inset Index idx
11852 status collapsed
11853
11854 \begin_layout Plain Layout
11855 Document ! Font
11856 \end_layout
11857
11858 \end_inset
11859
11860
11861 \end_layout
11862
11863 \begin_layout Standard
11864 You can set the document fonts in the 
11865 \family sans
11866 Document\SpecialChar \menuseparator
11867 Settings
11868 \family default
11869
11870 \begin_inset Index idx
11871 status collapsed
11872
11873 \begin_layout Plain Layout
11874 Document ! Settings
11875 \end_layout
11876
11877 \end_inset
11878
11879  dialog.
11880  In the 
11881 \family sans
11882 Fonts
11883 \family default
11884  section of the dialog, you can specify which font should be used for the
11885  three different font shapes — roman (serif), 
11886 \family sans
11887 sans
11888 \begin_inset space ~
11889 \end_inset
11890
11891 serif
11892 \family default
11893  and 
11894 \family typewriter
11895 typewriter
11896 \family default
11897  (monospaced) — and you can specify the base font size and scaling factors
11898  for (some) sans serif and typewriter fonts if this is necessary to fit
11899  with the roman font.
11900 \end_layout
11901
11902 \begin_layout Standard
11903 If you select 
11904 \family sans
11905 Use non-T
11906 \begin_inset ERT
11907 status collapsed
11908
11909 \begin_layout Plain Layout
11910
11911 {}
11912 \end_layout
11913
11914 \end_inset
11915
11916 eX fonts
11917 \family default
11918 , you will have access to the fonts installed on your operating system.
11919  This requires that you use 
11920 \family sans
11921 PDF (XeT
11922 \begin_inset ERT
11923 status collapsed
11924
11925 \begin_layout Plain Layout
11926
11927 {}
11928 \end_layout
11929
11930 \end_inset
11931
11932 eX)
11933 \family default
11934
11935 \family sans
11936 PDF (LuaT
11937 \begin_inset ERT
11938 status collapsed
11939
11940 \begin_layout Plain Layout
11941
11942 {}
11943 \end_layout
11944
11945 \end_inset
11946
11947 eX)
11948 \family default
11949  or 
11950 \family sans
11951 DVI (LuaT
11952 \begin_inset ERT
11953 status collapsed
11954
11955 \begin_layout Plain Layout
11956
11957 {}
11958 \end_layout
11959
11960 \end_inset
11961
11962 eX)
11963 \family default
11964  as the output format, i.
11965 \begin_inset space \thinspace{}
11966 \end_inset
11967
11968 e.
11969 \begin_inset space \space{}
11970 \end_inset
11971
11972 you will have to have either XeTeX or LuaTeX installed (see section
11973 \begin_inset space ~
11974 \end_inset
11975
11976
11977 \begin_inset CommandInset ref
11978 LatexCommand ref
11979 reference "sub:LaTeX-font-support"
11980
11981 \end_inset
11982
11983 ).
11984  You will then not have access to TeX's own fonts.
11985  Note that LyX then lists all available fonts in each of the three lists
11986  (roman, sans
11987 \begin_inset space ~
11988 \end_inset
11989
11990 serif, and typewriter), since LyX cannot determine the family.
11991  Also note that the output might fail with some of the listed fonts, due
11992  to the encoding of the fonts and\SpecialChar \slash{}
11993 or font failures.
11994  LyX cannot determine this in advance, so you might need to experiment.
11995 \end_layout
11996
11997 \begin_layout Standard
11998 If you use TeX fonts (which is the default), the possible options for the
11999  font include 
12000 \family sans
12001 Default
12002 \family default
12003  and a list of fonts available with your LaTeX distribution.
12004  If you select 
12005 \family sans
12006 Default,
12007 \family default
12008  the font that is preset by the current document class is used.
12009  In most cases, this will be the standard TeX font, known as 
12010 \begin_inset Quotes eld
12011 \end_inset
12012
12013
12014 \family typewriter
12015 Computer
12016 \begin_inset space ~
12017 \end_inset
12018
12019 Modern
12020 \family default
12021
12022 \begin_inset Quotes erd
12023 \end_inset
12024
12025  (
12026 \family typewriter
12027 cm
12028 \family default
12029 ) or 
12030 \begin_inset Quotes eld
12031 \end_inset
12032
12033
12034 \family typewriter
12035 European Computer Modern
12036 \family default
12037
12038 \begin_inset Quotes erd
12039 \end_inset
12040
12041  (
12042 \family typewriter
12043 ec
12044 \family default
12045 ), but some classes preset different default fonts.
12046 \end_layout
12047
12048 \begin_layout Standard
12049 As 
12050 \family typewriter
12051 cm
12052 \family default
12053  and 
12054 \family typewriter
12055 ec
12056 \family default
12057  are bitmap fonts, they often look pixelated in PDF output, especially when
12058  you read the PDF in a zoomed size.
12059 \begin_inset Foot
12060 status collapsed
12061
12062 \begin_layout Plain Layout
12063 This problem doesn't appear if you read PDFs in 
12064 \family typewriter
12065 Adobe
12066 \begin_inset space ~
12067 \end_inset
12068
12069 Reader
12070 \family default
12071  version 6 or later, because this program includes a special bitmap font
12072  renderer.
12073 \end_layout
12074
12075 \end_inset
12076
12077  To get rid of pixelated fonts, you have to use a vector font.
12078  Depending on how your document should look, you can either:
12079 \end_layout
12080
12081 \begin_layout Itemize
12082 select the 
12083 \family sans
12084 Latin
12085 \begin_inset space ~
12086 \end_inset
12087
12088 Modern
12089 \family default
12090  fonts, which is the recommended choice if you want to keep the look of
12091  
12092 \family typewriter
12093 cm
12094 \family default
12095 /
12096 \family typewriter
12097 ec
12098 \family default
12099 .
12100  
12101 \family sans
12102 Latin
12103 \begin_inset space ~
12104 \end_inset
12105
12106 Modern
12107 \family default
12108  was developed for the LaTeX community in order to replace 
12109 \family typewriter
12110 cm
12111 \family default
12112  as the default font.
12113  It covers a huge range of glyphs and several font shapes.
12114  Except for some details, where the appearance was improved, 
12115 \family sans
12116 Latin
12117 \begin_inset space ~
12118 \end_inset
12119
12120 Modern
12121 \family default
12122  looks identical to 
12123 \family typewriter
12124 cm
12125 \family default
12126 .
12127 \begin_inset Foot
12128 status collapsed
12129
12130 \begin_layout Plain Layout
12131 One difference is improved kerning.
12132 \end_layout
12133
12134 \end_inset
12135
12136
12137 \end_layout
12138
12139 \begin_layout Itemize
12140 or select the 
12141 \family sans
12142 AE
12143 \begin_inset space ~
12144 \end_inset
12145
12146 (Almost
12147 \begin_inset space ~
12148 \end_inset
12149
12150 European)
12151 \family default
12152  fonts in (the rare) case that 
12153 \family sans
12154 Latin
12155 \begin_inset space ~
12156 \end_inset
12157
12158 Modern
12159 \family default
12160  is not available to you or does not work, and you still want to emulate
12161  the look of 
12162 \family typewriter
12163 cm
12164 \family default
12165 /
12166 \family typewriter
12167 ec
12168 \family default
12169 .
12170  
12171 \family typewriter
12172 AE
12173 \family default
12174  is a virtual font.
12175  Virtual means that it 
12176 \begin_inset Quotes eld
12177 \end_inset
12178
12179 steals
12180 \begin_inset Quotes erd
12181 \end_inset
12182
12183  outline 
12184 \family typewriter
12185 cm
12186 \family default
12187 -glyphs from other fonts.
12188  This has the disadvantage that some characters are missing, like the French
12189  guillemets (
12190 \begin_inset Quotes eld
12191 \end_inset
12192
12193 «
12194 \begin_inset Quotes erd
12195 \end_inset
12196
12197  and 
12198 \begin_inset Quotes eld
12199 \end_inset
12200
12201 »
12202 \begin_inset Quotes erd
12203 \end_inset
12204
12205 )
12206 \begin_inset Foot
12207 status collapsed
12208
12209 \begin_layout Plain Layout
12210 Loading the LaTeX-package 
12211 \series bold
12212 aeguill
12213 \series default
12214
12215 \begin_inset Index idx
12216 status collapsed
12217
12218 \begin_layout Plain Layout
12219 LaTeX-packages ! aeguill
12220 \end_layout
12221
12222 \end_inset
12223
12224  with the document preamble line
12225 \begin_inset Newline newline
12226 \end_inset
12227
12228
12229 \series bold
12230
12231 \backslash
12232 usepackage[ec]{aeguill}
12233 \begin_inset Newline newline
12234 \end_inset
12235
12236
12237 \series default
12238 will fix the guillemet problem.
12239 \end_layout
12240
12241 \end_inset
12242
12243  and that accented characters are not 
12244 \emph on
12245 one
12246 \emph default
12247  glyph, but built of 
12248 \emph on
12249 two
12250 \emph default
12251  characters, the accent and the letter.
12252  Therefore you cannot search for words with accented characters in documents
12253  using the 
12254 \family typewriter
12255 AE
12256 \family default
12257  fonts.
12258  If you search for example for the French word 
12259 \begin_inset Quotes eld
12260 \end_inset
12261
12262 rève
12263 \begin_inset Quotes erd
12264 \end_inset
12265
12266  in a PDF, you will not get any result, because the PDF-viewer searches
12267  for the glyph 
12268 \begin_inset Quotes eld
12269 \end_inset
12270
12271  è 
12272 \begin_inset Quotes erd
12273 \end_inset
12274
12275  and not for the glyph 
12276 \begin_inset Quotes eld
12277 \end_inset
12278
12279  e +
12280 \begin_inset space ~
12281 \end_inset
12282
12283  ̀ 
12284 \begin_inset Quotes erd
12285 \end_inset
12286
12287 .
12288 \end_layout
12289
12290 \begin_layout Itemize
12291 If you do not like the look of 
12292 \family typewriter
12293 cm
12294 \family default
12295 /
12296 \family typewriter
12297 ec
12298 \family default
12299 , you can of course select one of the other vector fonts provided, e.
12300 \begin_inset space \thinspace{}
12301 \end_inset
12302
12303 g.
12304 \begin_inset space ~
12305 \end_inset
12306
12307
12308 \family typewriter
12309 Times
12310 \begin_inset space ~
12311 \end_inset
12312
12313 Roman
12314 \family default
12315  or
12316 \family typewriter
12317  Palatino
12318 \family default
12319 .
12320  Most roman vector fonts will automatically select matching sans
12321 \begin_inset space ~
12322 \end_inset
12323
12324 serif and typewriter fonts,
12325 \begin_inset Foot
12326 status collapsed
12327
12328 \begin_layout Plain Layout
12329 These are sometimes just matching other fonts (e.
12330 \begin_inset space \thinspace{}
12331 \end_inset
12332
12333 g., 
12334 \family sans
12335 Times
12336 \begin_inset space ~
12337 \end_inset
12338
12339 Roman
12340 \family default
12341  selects 
12342 \family sans
12343 Helvetica
12344 \family default
12345  for sans serif text), or different shapes of the same font, i.
12346 \begin_inset space \thinspace{}
12347 \end_inset
12348
12349 e.
12350 \begin_inset space \space{}
12351 \end_inset
12352
12353 a real font 
12354 \emph on
12355 family
12356 \emph default
12357  (e.
12358 \begin_inset space \thinspace{}
12359 \end_inset
12360
12361 g.
12362 \begin_inset space \space{}
12363 \end_inset
12364
12365 in case of 
12366 \family sans
12367 Latin
12368 \begin_inset space ~
12369 \end_inset
12370
12371 Modern
12372 \family default
12373  oder 
12374 \family sans
12375 Computer
12376 \begin_inset space ~
12377 \end_inset
12378
12379 Modern
12380 \family default
12381 ).
12382 \end_layout
12383
12384 \end_inset
12385
12386  but you can also select your own.
12387 \begin_inset Newline newline
12388 \end_inset
12389
12390 The differences between roman, 
12391 \family sans
12392 sans
12393 \begin_inset space ~
12394 \end_inset
12395
12396 serif
12397 \family default
12398  and 
12399 \family typewriter
12400 typewriter
12401 \family default
12402  fonts are explained in section
12403 \begin_inset space ~
12404 \end_inset
12405
12406
12407 \begin_inset CommandInset ref
12408 LatexCommand ref
12409 reference "sub:Fine-Tuning-with-the"
12410
12411 \end_inset
12412
12413 .
12414 \begin_inset Newline newline
12415 \end_inset
12416
12417 The font 
12418 \family sans
12419 Times
12420 \begin_inset space ~
12421 \end_inset
12422
12423 Roman
12424 \family default
12425  was originally designed for newspapers.
12426  Its glyphs are thus smaller than glyphs from other fonts in order to fit
12427  into the small newspaper columns.
12428  Therefore 
12429 \family sans
12430 Times
12431 \begin_inset space ~
12432 \end_inset
12433
12434 Roman
12435 \family default
12436  is not the optimal choice for larger documents like books.
12437 \end_layout
12438
12439 \begin_layout Standard
12440 For the font size there are generally four possible values: 
12441 \family sans
12442 Default, 10
12443 \family default
12444
12445 \family sans
12446 11
12447 \family default
12448  and 
12449 \family sans
12450 12
12451 \family default
12452 .
12453  Some classes provide additional sizes.
12454  The size of 
12455 \family sans
12456 Default
12457 \family default
12458  depends on the class you are using.
12459  In the standard classes it is equal to the font size 10.
12460 \end_layout
12461
12462 \begin_layout Standard
12463 Note that the font size is the 
12464 \emph on
12465 base size
12466 \emph default
12467 .
12468  That means that LyX scales all other possible font sizes (such as those
12469  used in footnotes, super-, and subscripts) by this value.
12470  You can fine-tune the font size of text parts via the 
12471 \family sans
12472 Text
12473 \begin_inset space ~
12474 \end_inset
12475
12476 Style
12477 \family default
12478  dialog if needed.
12479  The possible font sizes for text parts are explained in section
12480 \begin_inset space ~
12481 \end_inset
12482
12483
12484 \begin_inset CommandInset ref
12485 LatexCommand ref
12486 reference "sub:Fine-Tuning-with-the"
12487
12488 \end_inset
12489
12490 .
12491 \end_layout
12492
12493 \begin_layout Standard
12494 The 
12495 \family sans
12496 Default
12497 \begin_inset space ~
12498 \end_inset
12499
12500 Family
12501 \family default
12502  selection lets you specify whether the base font of your document should
12503  be roman, sans
12504 \begin_inset space ~
12505 \end_inset
12506
12507 serif or typewriter.
12508  The 
12509 \family sans
12510 Default
12511 \family default
12512  selection uses what is preset by the class, the other selections override
12513  this.
12514  In most cases, 
12515 \family sans
12516 Default
12517 \family default
12518  is equal to 
12519 \family sans
12520 roman
12521 \family default
12522 , but some classes (such as presentation classes) use other defaults.
12523 \end_layout
12524
12525 \begin_layout Standard
12526 The
12527 \family typewriter
12528  
12529 \family sans
12530 LaTe
12531 \begin_inset ERT
12532 status collapsed
12533
12534 \begin_layout Plain Layout
12535
12536 {}
12537 \end_layout
12538
12539 \end_inset
12540
12541 X font encoding
12542 \family default
12543  selection is an expert setting which lets you change the value passed to
12544  the LaTeX-package 
12545 \series bold
12546 fontenc
12547 \series default
12548
12549 \begin_inset Index idx
12550 status collapsed
12551
12552 \begin_layout Plain Layout
12553 LaTeX-packages ! fontenc
12554 \end_layout
12555
12556 \end_inset
12557
12558  (see also sec.
12559 \begin_inset space ~
12560 \end_inset
12561
12562
12563 \begin_inset CommandInset ref
12564 LatexCommand ref
12565 reference "sub:LaTeX-settings"
12566
12567 \end_inset
12568
12569 ).
12570  Normally, you do not need to change (or even understand) this.
12571  Unless you have specific reasons, use 
12572 \family sans
12573 Default
12574 \family default
12575 .
12576 \end_layout
12577
12578 \begin_layout Standard
12579 With some fonts, the checkboxes 
12580 \family sans
12581 Use Old Style Figures
12582 \family default
12583  and 
12584 \family sans
12585 Use True Small Caps
12586 \family default
12587  are available.
12588  These are extra features some fonts provide.
12589  If 
12590 \family sans
12591 Use Old Style Figures
12592 \family default
12593  is checked, old style figures (also known as medieval or text figures)
12594  are used.
12595  Old style figures are the numerals (0
12596 \begin_inset space \thinspace{}
12597 \end_inset
12598
12599 --
12600 \begin_inset space \thinspace{}
12601 \end_inset
12602
12603 9) with ascenders and descenders, which makes them fit nicely with lowercase
12604  letters.
12605  
12606 \family sans
12607 Use True Small Caps
12608 \family default
12609  determines that real small caps are used instead of faked small caps made
12610  of scaled capitals.
12611  Real small caps are often part of expert font sets; they generally look
12612  better than faked small caps but might have to be purchased separately.
12613 \end_layout
12614
12615 \begin_layout Standard
12616 The field 
12617 \family sans
12618 CJK
12619 \family default
12620  allows users of the languages Chinese, Japanese, Korean (CJK) to specify
12621  a font to display the script characters.
12622 \begin_inset Foot
12623 status collapsed
12624
12625 \begin_layout Plain Layout
12626 The font will be the argument for the commands of the LaTeX-package 
12627 \series bold
12628 CJK
12629 \series default
12630 .
12631 \begin_inset Index idx
12632 status collapsed
12633
12634 \begin_layout Plain Layout
12635 LaTeX-packages ! CJK
12636 \end_layout
12637
12638 \end_inset
12639
12640  So this has no effect for the document language 
12641 \family sans
12642 Japanese
12643 \family default
12644  that does not use 
12645 \series bold
12646 CJK
12647 \series default
12648 .
12649 \end_layout
12650
12651 \end_inset
12652
12653
12654 \begin_inset VSpace bigskip
12655 \end_inset
12656
12657
12658 \begin_inset Note Greyedout
12659 status open
12660
12661 \begin_layout Plain Layout
12662
12663 \series bold
12664 Note:
12665 \series default
12666  When you choose a new font or font size, LyX does 
12667 \emph on
12668 not
12669 \emph default
12670  change the screen font! You will only see a difference in the printed output;
12671  this is part of the WYSIWYM concept.
12672  LyX's screen fonts can be adjusted in the 
12673 \family sans
12674 Tools\SpecialChar \menuseparator
12675 Preferences
12676 \family default
12677  dialog, see section
12678 \begin_inset space ~
12679 \end_inset
12680
12681
12682 \begin_inset CommandInset ref
12683 LatexCommand ref
12684 reference "sub:Screen-Fonts"
12685
12686 \end_inset
12687
12688 .
12689 \end_layout
12690
12691 \end_inset
12692
12693
12694 \end_layout
12695
12696 \begin_layout Subsection
12697 Using Different Character Styles
12698 \begin_inset Index idx
12699 status collapsed
12700
12701 \begin_layout Plain Layout
12702 Character Styles
12703 \end_layout
12704
12705 \end_inset
12706
12707
12708 \begin_inset Index idx
12709 status collapsed
12710
12711 \begin_layout Plain Layout
12712 Text Style
12713 \end_layout
12714
12715 \end_inset
12716
12717
12718 \end_layout
12719
12720 \begin_layout Standard
12721 As we've already seen, LyX automatically changes the character style for
12722  certain paragraph environments.
12723  LyX supports two character styles, 
12724 \family sans
12725 Emphasized
12726 \family default
12727  and 
12728 \family sans
12729 Noun
12730 \family default
12731 .
12732  You can activate both of these styles via keybindings, the menus, and the
12733  toolbar.
12734 \end_layout
12735
12736 \begin_layout Standard
12737 To activate the 
12738 \family sans
12739 Noun
12740 \family default
12741  style, do one of the following:
12742 \end_layout
12743
12744 \begin_layout Itemize
12745 click on the toolbar button 
12746 \begin_inset Info
12747 type  "icon"
12748 arg   "font-noun"
12749 \end_inset
12750
12751
12752 \end_layout
12753
12754 \begin_layout Itemize
12755 use the key binding 
12756 \begin_inset Info
12757 type  "shortcut"
12758 arg   "font-noun"
12759 \end_inset
12760
12761
12762 \end_layout
12763
12764 \begin_layout Standard
12765 These commands are all toggles.
12766  That is, if 
12767 \family sans
12768 Noun
12769 \family default
12770  style is already active, they deactivate it.
12771 \end_layout
12772
12773 \begin_layout Standard
12774 One typically uses the 
12775 \family sans
12776 Noun
12777 \family default
12778  style for proper names.
12779  For example: 
12780 \begin_inset Quotes eld
12781 \end_inset
12782
12783
12784 \noun on
12785 Matthias Ettrich
12786 \noun default
12787  is the original author of LyX.
12788 \begin_inset Quotes erd
12789 \end_inset
12790
12791
12792 \end_layout
12793
12794 \begin_layout Standard
12795 A more widely used character style is the 
12796 \family sans
12797 Emphasized
12798 \family default
12799  style.
12800  You can activate (or deactivate — it's also a toggle) the 
12801 \family sans
12802 Emphasized
12803 \family default
12804  style by:
12805 \end_layout
12806
12807 \begin_layout Itemize
12808 clicking on the toolbar button 
12809 \begin_inset Info
12810 type  "icon"
12811 arg   "font-emph"
12812 \end_inset
12813
12814
12815 \end_layout
12816
12817 \begin_layout Itemize
12818 using the keybindings 
12819 \begin_inset Info
12820 type  "shortcut"
12821 arg   "font-emph"
12822 \end_inset
12823
12824
12825 \end_layout
12826
12827 \begin_layout Standard
12828 Normally the 
12829 \family sans
12830 Emphasized
12831 \family default
12832  style is equivalent to an italic font but some document classes or LaTeX-packag
12833 es use a different font.
12834 \end_layout
12835
12836 \begin_layout Standard
12837 We've been using the 
12838 \family sans
12839 Emphasized
12840 \family default
12841  style all over the place in this document.
12842  Here's one more example:
12843 \end_layout
12844
12845 \begin_layout Quotation
12846
12847 \emph on
12848 Do not overuse character styles!
12849 \end_layout
12850
12851 \begin_layout Standard
12852 It's also a warning in addition to an example.
12853  One's writing should parallel ordinary conversation.
12854  Since we don't all constantly scream at each other, we should also avoid
12855  the common tendency to overuse character styles.
12856  
12857 \end_layout
12858
12859 \begin_layout Standard
12860 You can always reset to the default font using the key binding 
12861 \begin_inset Info
12862 type  "shortcut"
12863 arg   "font-default"
12864 \end_inset
12865
12866  or the dialog 
12867 \family sans
12868 Edit\SpecialChar \menuseparator
12869 Text
12870 \begin_inset space ~
12871 \end_inset
12872
12873 Style\SpecialChar \menuseparator
12874 Customized
12875 \family default
12876  (
12877 \begin_inset Info
12878 type  "icon"
12879 arg   "dialog-show character"
12880 \end_inset
12881
12882 ).
12883 \end_layout
12884
12885 \begin_layout Subsection
12886 Fine-Tuning with the 
12887 \family sans
12888 Text Style
12889 \family default
12890  dialog
12891 \begin_inset CommandInset label
12892 LatexCommand label
12893 name "sub:Fine-Tuning-with-the"
12894
12895 \end_inset
12896
12897
12898 \begin_inset Index idx
12899 status collapsed
12900
12901 \begin_layout Plain Layout
12902 Text Style
12903 \end_layout
12904
12905 \end_inset
12906
12907
12908 \end_layout
12909
12910 \begin_layout Standard
12911 There are always occasions when you will need to do some fine-tuning; so
12912  LyX gives you a way to create a custom character style.
12913  For example, an academic journal or a corporation may have a style sheet
12914  requiring a sans-serif font be used in certain situations.
12915  Also, writers sometimes use a different font to offset a character's thoughts
12916  from ordinary dialog.
12917 \end_layout
12918
12919 \begin_layout Standard
12920 Before we document how to use custom character style, we want to issue a
12921  warning yet again: Don't overuse character styles! 
12922 \begin_inset Newline newline
12923 \end_inset
12924
12925 Documents that overuse different fonts and sizes are not easy to read and
12926  tend to look as if someone has knocked huge holes in them.
12927 \end_layout
12928
12929 \begin_layout Standard
12930 To use custom character styles, open the 
12931 \family sans
12932 Edit\SpecialChar \menuseparator
12933 Text
12934 \begin_inset space ~
12935 \end_inset
12936
12937 Style\SpecialChar \menuseparator
12938 Customized
12939 \family default
12940  dialog or press the toolbar button 
12941 \begin_inset Info
12942 type  "icon"
12943 arg   "dialog-show character"
12944 \end_inset
12945
12946 .
12947  There are several boxes in this dialog, each corresponding to a different
12948  font property that you can choose.
12949  You can choose an option for one of these properties, or select 
12950 \family sans
12951 No
12952 \begin_inset space ~
12953 \end_inset
12954
12955 change
12956 \family default
12957 , which keeps the current state of that property.
12958  The item 
12959 \family sans
12960 Reset
12961 \family default
12962  will reset the property to whatever is the default.
12963  You can use this to reset attributes across a bunch of different paragraph
12964  environments all at once.
12965 \end_layout
12966
12967 \begin_layout Standard
12968 The font properties, and their options (in addition to 
12969 \family sans
12970 No
12971 \begin_inset space ~
12972 \end_inset
12973
12974 change
12975 \family default
12976  and 
12977 \family sans
12978 Reset
12979 \family default
12980 ) are:
12981 \end_layout
12982
12983 \begin_layout Labeling
12984 \labelwidthstring 00.00.0000
12985
12986 \family sans
12987 Family
12988 \family default
12989  The 
12990 \begin_inset Quotes eld
12991 \end_inset
12992
12993 overall look
12994 \begin_inset Quotes erd
12995 \end_inset
12996
12997  of the font.
12998  The possible options are:
12999 \end_layout
13000
13001 \begin_deeper
13002 \begin_layout Labeling
13003 \labelwidthstring 00.00.0000
13004
13005 \family sans
13006 Roman
13007 \family default
13008  This is the Roman font family.
13009  Normally a serif font.
13010  It's also the default family.
13011  (key binding 
13012 \begin_inset Info
13013 type  "shortcut"
13014 arg   "font-roman"
13015 \end_inset
13016
13017 )
13018 \end_layout
13019
13020 \begin_layout Labeling
13021 \labelwidthstring 00.00.0000
13022
13023 \family sans
13024 Sans
13025 \begin_inset space ~
13026 \end_inset
13027
13028 Serif
13029 \family default
13030  
13031 \family sans
13032 This is the Sans Serif font family.
13033
13034 \family default
13035  (key binding 
13036 \begin_inset Info
13037 type  "shortcut"
13038 arg   "font-sans"
13039 \end_inset
13040
13041 )
13042 \end_layout
13043
13044 \begin_layout Labeling
13045 \labelwidthstring 00.00.0000
13046
13047 \family sans
13048 Typewriter
13049 \family default
13050  
13051 \family typewriter
13052 This is the Typewriter font family.
13053
13054 \family default
13055  (key binding 
13056 \begin_inset Info
13057 type  "shortcut"
13058 arg   "font-typewriter"
13059 \end_inset
13060
13061
13062 \family sans
13063 )
13064 \end_layout
13065
13066 \end_deeper
13067 \begin_layout Labeling
13068 \labelwidthstring 00.00.0000
13069
13070 \family sans
13071 Series
13072 \family default
13073  This corresponds to the print weight.
13074  Options are:
13075 \end_layout
13076
13077 \begin_deeper
13078 \begin_layout Labeling
13079 \labelwidthstring 00.00.0000
13080
13081 \family sans
13082 Medium
13083 \family default
13084  This is the Medium font series.
13085  It's also the default series.
13086 \end_layout
13087
13088 \begin_layout Labeling
13089 \labelwidthstring 00.00.0000
13090
13091 \family sans
13092 Bold
13093 \family default
13094  
13095 \series bold
13096 This is the Bold font series.
13097
13098 \series default
13099  (key binding 
13100 \begin_inset Info
13101 type  "shortcut"
13102 arg   "font-bold"
13103 \end_inset
13104
13105 )
13106 \end_layout
13107
13108 \end_deeper
13109 \begin_layout Labeling
13110 \labelwidthstring 00.00.0000
13111
13112 \family sans
13113 Shape
13114 \family default
13115  As the name implies.
13116  Options are:
13117 \end_layout
13118
13119 \begin_deeper
13120 \begin_layout Labeling
13121 \labelwidthstring 00.00.0000
13122
13123 \family sans
13124 Upright
13125 \family default
13126  This is the Upright font shape.
13127  It's also the default shape.
13128 \end_layout
13129
13130 \begin_layout Labeling
13131 \labelwidthstring 00.00.0000
13132
13133 \family sans
13134 Italic
13135 \family default
13136  
13137 \shape italic
13138 This
13139 \shape default
13140  
13141 \family sans
13142 \shape italic
13143 i
13144 \family default
13145 s the Italic font shape
13146 \shape default
13147 \emph on
13148 .
13149 \end_layout
13150
13151 \begin_layout Labeling
13152 \labelwidthstring 00.00.0000
13153
13154 \family sans
13155 Slanted
13156 \family default
13157  
13158 \shape slanted
13159 This is the Slanted font shape
13160 \shape default
13161  (although it might not be visible in LyX, this is different from italic).
13162 \end_layout
13163
13164 \begin_layout Labeling
13165 \labelwidthstring 00.00.0000
13166
13167 \family sans
13168 Small
13169 \begin_inset space ~
13170 \end_inset
13171
13172 Caps
13173 \family default
13174  
13175 \shape smallcaps
13176 This is the Small caps font shape
13177 \shape default
13178 \noun on
13179 .
13180 \end_layout
13181
13182 \end_deeper
13183 \begin_layout Labeling
13184 \labelwidthstring 00.00.0000
13185
13186 \family sans
13187 Color
13188 \family default
13189  Alters the text color.
13190  Note that not all DVI-viewers are able to display colors.
13191  Besides 
13192 \family sans
13193 No
13194 \begin_inset space ~
13195 \end_inset
13196
13197 color
13198 \family default
13199 , which means that the document default color set in 
13200 \family sans
13201 Document\SpecialChar \menuseparator
13202 Settings\SpecialChar \menuseparator
13203 Color
13204 \family default
13205  for 
13206 \family sans
13207 Main
13208 \begin_inset space ~
13209 \end_inset
13210
13211 text
13212 \family default
13213  is used, you can choose between 
13214 \family sans
13215 Black
13216 \family default
13217
13218 \family sans
13219 White
13220 \family default
13221
13222 \family sans
13223 Red
13224 \family default
13225
13226 \family sans
13227 Green
13228 \family default
13229
13230 \family sans
13231 Blue
13232 \family default
13233
13234 \family sans
13235 Cyan
13236 \family default
13237
13238 \family sans
13239 Magenta
13240 \family default
13241  and 
13242 \family sans
13243 Yellow
13244 \family default
13245  text.
13246 \begin_inset Index idx
13247 status collapsed
13248
13249 \begin_layout Plain Layout
13250 Color ! Text
13251 \end_layout
13252
13253 \end_inset
13254
13255
13256 \end_layout
13257
13258 \begin_layout Labeling
13259 \labelwidthstring 00.00.0000
13260
13261 \family sans
13262 Language
13263 \family default
13264  This is used to mark regions of text as having a different language from
13265  the language of the document.
13266  Text marked in this way will be underlined in blue to indicate the change
13267  (only within LyX).
13268 \begin_inset Newline newline
13269 \end_inset
13270
13271 If you have for example, an extract of German text in a non-German document,
13272  LaTeX respects the German hyphenation rules automatically.
13273  When using the spell checking (see section
13274 \begin_inset space ~
13275 \end_inset
13276
13277
13278 \begin_inset CommandInset ref
13279 LatexCommand ref
13280 reference "sec:Spellchecking"
13281
13282 \end_inset
13283
13284 ) the German-marked text will be checked according to the German dictionary.
13285 \end_layout
13286
13287 \begin_layout Labeling
13288 \labelwidthstring 00.00.0000
13289
13290 \family sans
13291 Size
13292 \family default
13293  Alters the size of the font.
13294  You will find no numerical values here; all possible sizes are actually
13295  proportional to the document font size.
13296  Once again, you don't feed LyX the details, but a general description of
13297  what you want to do.
13298  The options are:
13299 \end_layout
13300
13301 \begin_deeper
13302 \begin_layout Labeling
13303 \labelwidthstring 00.00.0000
13304
13305 \family sans
13306 Tiny
13307 \family default
13308  
13309 \size tiny
13310 This is the 
13311 \begin_inset Quotes eld
13312 \end_inset
13313
13314 Tiny
13315 \begin_inset Quotes erd
13316 \end_inset
13317
13318  font size.
13319
13320 \size default
13321  (key bindings 
13322 \begin_inset Info
13323 type  "shortcuts"
13324 arg   "font-size tiny"
13325 \end_inset
13326
13327 )
13328 \end_layout
13329
13330 \begin_layout Labeling
13331 \labelwidthstring 00.00.0000
13332
13333 \family sans
13334 Smallest
13335 \family default
13336  
13337 \size scriptsize
13338 This is the 
13339 \begin_inset Quotes eld
13340 \end_inset
13341
13342 Smallest
13343 \begin_inset Quotes erd
13344 \end_inset
13345
13346  font size
13347 \size default
13348 .
13349  (key binding 
13350 \begin_inset Info
13351 type  "shortcut"
13352 arg   "font-size scriptsize"
13353 \end_inset
13354
13355 )
13356 \end_layout
13357
13358 \begin_layout Labeling
13359 \labelwidthstring 00.00.0000
13360
13361 \family sans
13362 Smaller
13363 \family default
13364  
13365 \size footnotesize
13366 This is the 
13367 \begin_inset Quotes eld
13368 \end_inset
13369
13370 Smaller
13371 \begin_inset Quotes erd
13372 \end_inset
13373
13374  font size.
13375
13376 \size default
13377  (key bindings 
13378 \begin_inset Info
13379 type  "shortcuts"
13380 arg   "font-size footnotesize"
13381 \end_inset
13382
13383 )
13384 \end_layout
13385
13386 \begin_layout Labeling
13387 \labelwidthstring 00.00.0000
13388
13389 \family sans
13390 Small
13391 \family default
13392  
13393 \size small
13394 This is the 
13395 \begin_inset Quotes eld
13396 \end_inset
13397
13398 Small
13399 \begin_inset Quotes erd
13400 \end_inset
13401
13402  font size.
13403
13404 \size default
13405  (key bindings 
13406 \begin_inset Info
13407 type  "shortcuts"
13408 arg   "font-size small"
13409 \end_inset
13410
13411 )
13412 \end_layout
13413
13414 \begin_layout Labeling
13415 \labelwidthstring 00.00.0000
13416
13417 \family sans
13418 Normal
13419 \family default
13420  This is the 
13421 \begin_inset Quotes eld
13422 \end_inset
13423
13424 Normal
13425 \begin_inset Quotes erd
13426 \end_inset
13427
13428  font size.
13429  It's also the default size.
13430  (key bindings 
13431 \begin_inset Info
13432 type  "shortcuts"
13433 arg   "font-size normal"
13434 \end_inset
13435
13436 )
13437 \end_layout
13438
13439 \begin_layout Labeling
13440 \labelwidthstring 00.00.0000
13441
13442 \family sans
13443 Large
13444 \family default
13445  
13446 \size large
13447 This is the 
13448 \begin_inset Quotes eld
13449 \end_inset
13450
13451 Large
13452 \begin_inset Quotes erd
13453 \end_inset
13454
13455  font size.
13456
13457 \size default
13458  (key bindings 
13459 \begin_inset Info
13460 type  "shortcuts"
13461 arg   "font-size large"
13462 \end_inset
13463
13464 )
13465 \end_layout
13466
13467 \begin_layout Labeling
13468 \labelwidthstring 00.00.0000
13469
13470 \family sans
13471 Larger
13472 \family default
13473  
13474 \size larger
13475 This is the 
13476 \begin_inset Quotes eld
13477 \end_inset
13478
13479 Larger
13480 \begin_inset Quotes erd
13481 \end_inset
13482
13483  font size.
13484
13485 \size default
13486  (key bindings 
13487 \begin_inset Info
13488 type  "shortcuts"
13489 arg   "font-size larger"
13490 \end_inset
13491
13492 )
13493 \end_layout
13494
13495 \begin_layout Labeling
13496 \labelwidthstring 00.00.0000
13497
13498 \family sans
13499 Largest
13500 \family default
13501  
13502 \size largest
13503 This is the 
13504 \begin_inset Quotes eld
13505 \end_inset
13506
13507 Largest
13508 \begin_inset Quotes erd
13509 \end_inset
13510
13511  font size.
13512
13513 \size default
13514  (key binding 
13515 \begin_inset Info
13516 type  "shortcut"
13517 arg   "font-size largest"
13518 \end_inset
13519
13520 )
13521 \end_layout
13522
13523 \begin_layout Labeling
13524 \labelwidthstring 00.00.0000
13525
13526 \family sans
13527 Huge
13528 \family default
13529  
13530 \size huge
13531 This is the 
13532 \begin_inset Quotes eld
13533 \end_inset
13534
13535 Huge
13536 \begin_inset Quotes erd
13537 \end_inset
13538
13539  font size.
13540
13541 \size default
13542  (key bindings 
13543 \begin_inset Info
13544 type  "shortcuts"
13545 arg   "font-size huge"
13546 \end_inset
13547
13548 )
13549 \end_layout
13550
13551 \begin_layout Labeling
13552 \labelwidthstring 00.00.0000
13553
13554 \family sans
13555 Huger
13556 \family default
13557  
13558 \size giant
13559 This is the 
13560 \begin_inset Quotes eld
13561 \end_inset
13562
13563 Huger
13564 \begin_inset Quotes erd
13565 \end_inset
13566
13567  font size.
13568
13569 \size default
13570  (key bindings 
13571 \begin_inset Info
13572 type  "shortcuts"
13573 arg   "font-size giant"
13574 \end_inset
13575
13576 )
13577 \end_layout
13578
13579 \begin_layout Labeling
13580 \labelwidthstring 00.00.0000
13581
13582 \family sans
13583 Increase
13584 \family default
13585  This increases the size by one step (for instance, from 
13586 \begin_inset Quotes eld
13587 \end_inset
13588
13589 Largest
13590 \begin_inset Quotes erd
13591 \end_inset
13592
13593  to 
13594 \begin_inset Quotes eld
13595 \end_inset
13596
13597 Huge
13598 \begin_inset Quotes erd
13599 \end_inset
13600
13601 ).
13602  (key binding 
13603 \begin_inset Info
13604 type  "shortcut"
13605 arg   "font-size increase"
13606 \end_inset
13607
13608 )
13609 \end_layout
13610
13611 \begin_layout Labeling
13612 \labelwidthstring 00.00.0000
13613
13614 \family sans
13615 Decrease
13616 \family default
13617  This decreases the size by one step (for instance, from 
13618 \begin_inset Quotes eld
13619 \end_inset
13620
13621 Normal
13622 \begin_inset Quotes erd
13623 \end_inset
13624
13625  to 
13626 \begin_inset Quotes eld
13627 \end_inset
13628
13629 Small
13630 \begin_inset Quotes erd
13631 \end_inset
13632
13633 ).
13634  (key binding 
13635 \begin_inset Info
13636 type  "shortcut"
13637 arg   "font-size decrease"
13638 \end_inset
13639
13640 )
13641 \end_layout
13642
13643 \end_deeper
13644 \begin_layout Standard
13645 We warn you 
13646 \emph on
13647 yet again
13648 \emph default
13649 : don't go crazy with this feature.
13650  You should almost never need to change the font size.
13651  LyX automatically changes the font size for different paragraph environments
13652  — use those instead.
13653  This is here for fine-tuning only!
13654 \end_layout
13655
13656 \begin_layout Labeling
13657 \labelwidthstring 00.00.0000
13658
13659 \family sans
13660 Misc
13661 \family default
13662  Here you can change a few other things at the character level.
13663  Options are:
13664 \end_layout
13665
13666 \begin_deeper
13667 \begin_layout Labeling
13668 \labelwidthstring 00.00.0000
13669
13670 \family sans
13671 Emph
13672 \family default
13673  
13674 \emph on
13675 This is text with emphasize on
13676 \emph default
13677 .
13678  This might seem like the same as 
13679 \shape italic
13680 Italic
13681 \shape default
13682 , but it is actually a bit different.
13683  Emphasized is a 
13684 \emph on
13685 logical
13686 \emph default
13687  attribute.
13688  That means every document class can define its own font used for emphasized
13689  text.
13690  Normally this font is equal to italic.
13691 \end_layout
13692
13693 \begin_layout Labeling
13694 \labelwidthstring 00.00.0000
13695
13696 \family sans
13697 Underbar
13698 \family default
13699  
13700 \bar under
13701 This is text with Underbar on.
13702
13703 \bar default
13704  (key binding 
13705 \begin_inset Info
13706 type  "shortcuts"
13707 arg   "font-underline"
13708 \end_inset
13709
13710
13711 \family sans
13712 )
13713 \begin_inset Newline newline
13714 \end_inset
13715
13716
13717 \family default
13718 Avoid using underbar if you can! It is a hangover from the typewriter days,
13719  when you could not change fonts.
13720  One no longer needs to emphasize text by underscoring characters.
13721  This is only possible in LyX because some people 
13722 \emph on
13723 may
13724 \emph default
13725  need it in order to follow style sheets for journal submissions.
13726 \end_layout
13727
13728 \begin_layout Labeling
13729 \labelwidthstring 00.00.0000
13730
13731 \family sans
13732 Double
13733 \begin_inset space ~
13734 \end_inset
13735
13736 underbar
13737 \family default
13738  
13739 \uuline on
13740 This is text with Double underbar on.
13741
13742 \uuline default
13743  (key binding 
13744 \begin_inset Info
13745 type  "shortcut"
13746 arg   "font-underunderline"
13747 \end_inset
13748
13749 )
13750 \begin_inset Newline newline
13751 \end_inset
13752
13753 As we just warned you against using underbar, you can imagine what we think
13754  about double underbar.
13755 \end_layout
13756
13757 \begin_layout Labeling
13758 \labelwidthstring 00.00.0000
13759
13760 \family sans
13761 Wavy
13762 \begin_inset space ~
13763 \end_inset
13764
13765 underbar
13766 \family default
13767  
13768 \uwave on
13769 This is text with Wavy underbar on.
13770
13771 \uwave default
13772  (key binding 
13773 \begin_inset Info
13774 type  "shortcut"
13775 arg   "font-underwave"
13776 \end_inset
13777
13778 )
13779 \begin_inset Newline newline
13780 \end_inset
13781
13782 Use this only if a journal absolutely insists on it.
13783  Keep antinausea pills handy.
13784 \end_layout
13785
13786 \begin_layout Labeling
13787 \labelwidthstring 00.00.0000
13788
13789 \family sans
13790 Strikeout
13791 \family default
13792  
13793 \strikeout on
13794 This is text with Strikeout on.
13795
13796 \strikeout default
13797  (key binding 
13798 \begin_inset Info
13799 type  "shortcut"
13800 arg   "font-strikeout"
13801 \end_inset
13802
13803 )
13804 \begin_inset Newline newline
13805 \end_inset
13806
13807 This is frequently used to indicate an older version of text that has been
13808  changed in the meantime.
13809 \end_layout
13810
13811 \begin_layout Labeling
13812 \labelwidthstring 00.00.0000
13813
13814 \family sans
13815 Noun
13816 \family default
13817  
13818 \noun on
13819 This is text with Noun on.
13820
13821 \noun default
13822  Like 
13823 \family sans
13824 Emph
13825 \family default
13826 , this is a logical attribute.
13827  Normally it's equivalent to 
13828 \family sans
13829 Small
13830 \begin_inset space ~
13831 \end_inset
13832
13833 Caps
13834 \family default
13835 .
13836 \end_layout
13837
13838 \end_deeper
13839 \begin_layout Standard
13840 So you have a huge number of combinations to choose from.
13841  Once you have chosen a new character style via the 
13842 \family sans
13843 Edit\SpecialChar \menuseparator
13844 Text
13845 \begin_inset space ~
13846 \end_inset
13847
13848 Style\SpecialChar \menuseparator
13849 Customized
13850 \family default
13851  (
13852 \begin_inset Info
13853 type  "icon"
13854 arg   "dialog-show character"
13855 \end_inset
13856
13857 ) dialog, the settings are saved.
13858  You can activate them by using the toolbar button 
13859 \begin_inset Info
13860 type  "icon"
13861 arg   "textstyle-apply"
13862 \end_inset
13863
13864 .
13865  The button lets you apply your custom character style even when the dialog
13866  isn't visible.
13867 \end_layout
13868
13869 \begin_layout Standard
13870 To completely reset the character style to the default, use 
13871 \begin_inset Info
13872 type  "shortcut"
13873 arg   "font-default"
13874 \end_inset
13875
13876 .
13877  If you want to toggle only those properties that you have just changed
13878  (suppose you just set the shape to 
13879 \begin_inset Quotes eld
13880 \end_inset
13881
13882 slanted
13883 \begin_inset Quotes erd
13884 \end_inset
13885
13886  and the series to 
13887 \begin_inset Quotes eld
13888 \end_inset
13889
13890 bold
13891 \begin_inset Quotes erd
13892 \end_inset
13893
13894 ), set the 
13895 \family sans
13896 Toggle
13897 \begin_inset space ~
13898 \end_inset
13899
13900 all
13901 \family default
13902  switch and press 
13903 \family sans
13904 Apply
13905 \family default
13906 .
13907 \end_layout
13908
13909 \begin_layout Standard
13910 You should also know something about the differences between the three main
13911  font types 
13912 \family sans
13913 serif
13914 \family default
13915
13916 \family sans
13917 sans
13918 \begin_inset space ~
13919 \end_inset
13920
13921 serif
13922 \family default
13923 , and 
13924 \family sans
13925 typewriter
13926 \family default
13927 :
13928 \end_layout
13929
13930 \begin_layout Itemize
13931
13932 \family sans
13933 Typewriter
13934 \family default
13935  is a so called 
13936 \begin_inset Quotes eld
13937 \end_inset
13938
13939 monospaced
13940 \begin_inset Quotes erd
13941 \end_inset
13942
13943  font, which means every character has the same width; the 
13944 \begin_inset Quotes eld
13945 \end_inset
13946
13947 i
13948 \begin_inset Quotes erd
13949 \end_inset
13950
13951  is as wide as the 
13952 \begin_inset Quotes eld
13953 \end_inset
13954
13955 m
13956 \begin_inset Quotes erd
13957 \end_inset
13958
13959 .
13960  Here is an example
13961 \begin_inset Newline newline
13962 \end_inset
13963
13964
13965 \begin_inset Phantom HPhantom
13966 status open
13967
13968 \begin_layout Plain Layout
13969 no 
13970 \end_layout
13971
13972 \end_inset
13973
13974
13975 \family typewriter
13976 typewriter text
13977 \family default
13978
13979 \begin_inset Note Note
13980 status collapsed
13981
13982 \begin_layout Plain Layout
13983 For more on phantoms see section
13984 \begin_inset space ~
13985 \end_inset
13986
13987
13988 \begin_inset CommandInset ref
13989 LatexCommand ref
13990 reference "sub:Phantom-Space"
13991
13992 \end_inset
13993
13994 .
13995 \end_layout
13996
13997 \end_inset
13998
13999
14000 \begin_inset Newline newline
14001 \end_inset
14002
14003 no typewriter text
14004 \end_layout
14005
14006 \begin_layout Itemize
14007
14008 \family sans
14009 Serif
14010 \family default
14011  fonts use characters with serifs.
14012  These are the small 
14013 \begin_inset Quotes eld
14014 \end_inset
14015
14016 appendices
14017 \begin_inset Quotes erd
14018 \end_inset
14019
14020  at the ends of the strokes that form the character.
14021  The following example shows the difference:
14022 \begin_inset Newline newline
14023 \end_inset
14024
14025 text with serifs
14026 \begin_inset Newline newline
14027 \end_inset
14028
14029
14030 \family sans
14031 text without serifs
14032 \family default
14033
14034 \begin_inset Newline newline
14035 \end_inset
14036
14037 Serifs facilitate quick and easy reading.
14038  These fonts are therefore used as default (named 
14039 \family sans
14040 roman
14041 \family default
14042 ).
14043 \end_layout
14044
14045 \begin_layout Itemize
14046
14047 \family sans
14048 Sans serif
14049 \family default
14050  is not recommended for use as a base type.
14051  This font type is therefore often only used for headings and short texts.
14052  We use it in this document to highlight menu names.
14053 \end_layout
14054
14055 \begin_layout Standard
14056 \begin_inset Quotes eld
14057 \end_inset
14058
14059 Toggling
14060 \begin_inset Quotes erd
14061 \end_inset
14062
14063  refers to applying or removing font properties.
14064  When a property is marked for toggling in the 
14065 \family sans
14066 Text
14067 \begin_inset space ~
14068 \end_inset
14069
14070 Style
14071 \family default
14072  dialog, applying the style to text that already has the property will cause
14073  the property to be removed.
14074  If you, for example, apply a style with properties A, B and C to text that
14075  currently has font properties B, C, F and G, and if B is set to toggle
14076  and C is set not to toggle, the text ends up with properties A, C, F and
14077  G.
14078  
14079 \begin_inset Quotes eld
14080 \end_inset
14081
14082 Never toggled
14083 \begin_inset Quotes erd
14084 \end_inset
14085
14086  and 
14087 \begin_inset Quotes eld
14088 \end_inset
14089
14090 always toggled
14091 \begin_inset Quotes erd
14092 \end_inset
14093
14094  mean that you do not control the toggling behavior.
14095  For the properties on the left side of the dialog (
14096 \begin_inset Quotes eld
14097 \end_inset
14098
14099 Family
14100 \begin_inset Quotes erd
14101 \end_inset
14102
14103  etc.), toggling behavior is up to you.
14104  If 
14105 \family sans
14106 Toggle
14107 \begin_inset space ~
14108 \end_inset
14109
14110 all
14111 \family default
14112  is checked, all of the left side properties are toggled; by default, none
14113  of them are.
14114  Finally, 
14115 \begin_inset Quotes eld
14116 \end_inset
14117
14118 Reset
14119 \begin_inset Quotes erd
14120 \end_inset
14121
14122  is never toggled.
14123  If you, for example, set 
14124 \begin_inset Quotes eld
14125 \end_inset
14126
14127 Series
14128 \begin_inset Quotes erd
14129 \end_inset
14130
14131  to 
14132 \begin_inset Quotes eld
14133 \end_inset
14134
14135 Reset
14136 \begin_inset Quotes erd
14137 \end_inset
14138
14139  and select 
14140 \family sans
14141 Toggle
14142 \begin_inset space ~
14143 \end_inset
14144
14145 all
14146 \family default
14147 , then apply the style to bold face text, the text will revert to the default
14148  series (
14149 \begin_inset Quotes eld
14150 \end_inset
14151
14152 Medium
14153 \begin_inset Quotes erd
14154 \end_inset
14155
14156 ), no matter how many times you apply the style.
14157 \end_layout
14158
14159 \begin_layout Standard
14160 We conclude with the same warning once again: Do not overuse the fonts!
14161  They are, more often than not, a kludge and a bad substitute for good writing.
14162 \end_layout
14163
14164 \begin_layout Section
14165 Printing and Previewing
14166 \end_layout
14167
14168 \begin_layout Subsection
14169 Overview
14170 \end_layout
14171
14172 \begin_layout Standard
14173 Now that we have covered some of the basic features of document preparation
14174  using LyX, you probably want to know how to print out your masterpiece.
14175  Before we tell you that, we want to give you a quick explanation of what
14176  goes on behind-the-scenes.
14177  We cover this information in much greater detail in the 
14178 \emph on
14179 Additional Features
14180 \emph default
14181  manual as well.
14182 \end_layout
14183
14184 \begin_layout Standard
14185 LyX uses the program LaTeX as its backend.
14186  LaTeX is just a macro package for the TeX typesetting system, but to prevent
14187  confusion, we will only refer to LaTeX.
14188  LyX is what you use to do your actual writing.
14189  Then, LyX calls LaTeX to turn your writing into printable output.
14190  This happens in two stages:
14191 \end_layout
14192
14193 \begin_layout Enumerate
14194 First, LyX converts your document to a series of text commands for LaTeX,
14195  generating a file with the extension, 
14196 \begin_inset Quotes eld
14197 \end_inset
14198
14199
14200 \family typewriter
14201 .tex
14202 \family default
14203
14204 \begin_inset Quotes erd
14205 \end_inset
14206
14207 .
14208 \end_layout
14209
14210 \begin_layout Enumerate
14211 Next, LyX calls LaTeX to use the commands in the 
14212 \family typewriter
14213 .tex
14214 \family default
14215  file to produce printable output.
14216 \end_layout
14217
14218 \begin_layout Subsection
14219 Output file formats
14220 \begin_inset Index idx
14221 status collapsed
14222
14223 \begin_layout Plain Layout
14224 File formats
14225 \end_layout
14226
14227 \end_inset
14228
14229
14230 \begin_inset CommandInset label
14231 LatexCommand label
14232 name "sub:Output-file-formats"
14233
14234 \end_inset
14235
14236
14237 \end_layout
14238
14239 \begin_layout Subsubsection
14240 Simple text (ASCII)
14241 \begin_inset Index idx
14242 status collapsed
14243
14244 \begin_layout Plain Layout
14245 File formats ! ASCII
14246 \end_layout
14247
14248 \end_inset
14249
14250
14251 \end_layout
14252
14253 \begin_layout Standard
14254 This file type has the extension 
14255 \begin_inset Quotes eld
14256 \end_inset
14257
14258
14259 \family typewriter
14260 .txt
14261 \family default
14262
14263 \begin_inset Quotes erd
14264 \end_inset
14265
14266 .
14267  It contains your document as plain text following the rules of the 
14268 \begin_inset Quotes eld
14269 \end_inset
14270
14271 American Standard Code for Information Interchange
14272 \begin_inset Quotes erd
14273 \end_inset
14274
14275  (ASCII).
14276 \end_layout
14277
14278 \begin_layout Standard
14279 You can export your document to ASCII with the menu 
14280 \family sans
14281 File\SpecialChar \menuseparator
14282 Export\SpecialChar \menuseparator
14283 Plain
14284 \begin_inset space ~
14285 \end_inset
14286
14287 text
14288 \family default
14289 .
14290  However, this will not export any externally generated material such as
14291  a BibTeX bibliography (section
14292 \begin_inset space ~
14293 \end_inset
14294
14295
14296 \begin_inset CommandInset ref
14297 LatexCommand ref
14298 reference "sub:Bibliography-databases"
14299
14300 \end_inset
14301
14302 ).
14303  If your document includes such material, use 
14304 \family sans
14305 File\SpecialChar \menuseparator
14306 Export\SpecialChar \menuseparator
14307 More
14308 \begin_inset space ~
14309 \end_inset
14310
14311 Formats
14312 \begin_inset space ~
14313 \end_inset
14314
14315 &
14316 \begin_inset space ~
14317 \end_inset
14318
14319 Options
14320 \family default
14321  and then select 
14322 \family sans
14323 Plain
14324 \begin_inset space ~
14325 \end_inset
14326
14327 text
14328 \begin_inset space ~
14329 \end_inset
14330
14331 (ps2ascii)
14332 \family default
14333 .
14334  This will first internally export your document to PostScript (generating
14335  thereby the external material) and then do the conversion to ASCII.
14336 \end_layout
14337
14338 \begin_layout Subsubsection
14339 LaTeX
14340 \begin_inset Index idx
14341 status collapsed
14342
14343 \begin_layout Plain Layout
14344 File formats ! LaTeX
14345 \end_layout
14346
14347 \end_inset
14348
14349
14350 \end_layout
14351
14352 \begin_layout Standard
14353 This file type has the extension 
14354 \begin_inset Quotes eld
14355 \end_inset
14356
14357
14358 \family typewriter
14359 .tex
14360 \family default
14361
14362 \begin_inset Quotes erd
14363 \end_inset
14364
14365  and contains all commands that are necessary for the LaTeX program to process
14366  your document.
14367  If you know LaTeX, you can use it to find out LaTeX-Errors or to process
14368  it manually with console commands.
14369  The LaTeX-file is automatically created in LyX's temporary directory whenever
14370  you view or export your document.
14371 \end_layout
14372
14373 \begin_layout Standard
14374 You can export your document as a LaTeX-file using the menu 
14375 \family sans
14376 File\SpecialChar \menuseparator
14377 Export\SpecialChar \menuseparator
14378 LaT
14379 \begin_inset ERT
14380 status collapsed
14381
14382 \begin_layout Plain Layout
14383
14384 {}
14385 \end_layout
14386
14387 \end_inset
14388
14389 eX
14390 \family default
14391 .
14392  The different LaTeX export variants are explained in section
14393 \begin_inset space ~
14394 \end_inset
14395
14396
14397 \begin_inset CommandInset ref
14398 LatexCommand ref
14399 reference "sub:Export"
14400
14401 \end_inset
14402
14403 .
14404 \end_layout
14405
14406 \begin_layout Subsubsection
14407 DVI
14408 \begin_inset Index idx
14409 status collapsed
14410
14411 \begin_layout Plain Layout
14412 File formats ! DVI
14413 \end_layout
14414
14415 \end_inset
14416
14417
14418 \end_layout
14419
14420 \begin_layout Standard
14421 This file type has the extension 
14422 \begin_inset Quotes eld
14423 \end_inset
14424
14425
14426 \family typewriter
14427 .dvi
14428 \family default
14429
14430 \begin_inset Quotes erd
14431 \end_inset
14432
14433 .
14434  It is called 
14435 \begin_inset Quotes eld
14436 \end_inset
14437
14438 device-independent
14439 \begin_inset Quotes erd
14440 \end_inset
14441
14442  (DVI), because it is completely portable; you can move them from one machine
14443  to another without needing to do any sort of conversion.
14444  DVIs are used for quick previews and as a pre-stage for other output formats,
14445  like PostScript.
14446 \end_layout
14447
14448 \begin_layout Standard
14449 DVI files do not contain images, they only link to them.
14450  So don't forget to deliver the images together with your DVIs.
14451  Because the DVI-viewer has to convert the images in the background to make
14452  them visible when you scroll the DVI, this can slow down your computer
14453  when you view the DVI.
14454  So we recommend using PDF for files with many images.
14455 \end_layout
14456
14457 \begin_layout Standard
14458 You can export your document to DVI by the menus 
14459 \family sans
14460 File\SpecialChar \menuseparator
14461 Export\SpecialChar \menuseparator
14462 DVI
14463 \family default
14464  or 
14465 \family sans
14466 File\SpecialChar \menuseparator
14467 Export\SpecialChar \menuseparator
14468 DVI
14469 \begin_inset space ~
14470 \end_inset
14471
14472 (LuaTe
14473 \begin_inset ERT
14474 status collapsed
14475
14476 \begin_layout Plain Layout
14477
14478 {}
14479 \end_layout
14480
14481 \end_inset
14482
14483 X).
14484
14485 \family default
14486  The latter option uses the program 
14487 \family typewriter
14488 LuaTeX
14489 \family default
14490 .
14491  
14492 \family typewriter
14493 LuaTeX
14494 \family default
14495  is an engine that provides direct Unicode support and support for direct
14496  font access (see section
14497 \begin_inset space ~
14498 \end_inset
14499
14500
14501 \begin_inset CommandInset ref
14502 LatexCommand ref
14503 reference "sub:LaTeX-font-support"
14504
14505 \end_inset
14506
14507 ).
14508  LuaTeX is still a work in progress, but it might develop into the next
14509  standard TeX processor.
14510 \end_layout
14511
14512 \begin_layout Subsubsection
14513 PostScript
14514 \begin_inset Index idx
14515 status collapsed
14516
14517 \begin_layout Plain Layout
14518 File formats ! PostScript
14519 \end_layout
14520
14521 \end_inset
14522
14523
14524 \end_layout
14525
14526 \begin_layout Standard
14527 This file type has the extension 
14528 \begin_inset Quotes eld
14529 \end_inset
14530
14531
14532 \family typewriter
14533 .ps
14534 \family default
14535
14536 \begin_inset Quotes erd
14537 \end_inset
14538
14539 .
14540  PostScript was developed by the company 
14541 \family typewriter
14542 Adobe
14543 \family default
14544  as a printer language.
14545  The file therefore contains commands that the printer uses to print the
14546  file.
14547  PostScript can be seen as a 
14548 \begin_inset Quotes eld
14549 \end_inset
14550
14551 programming language
14552 \begin_inset Quotes erd
14553 \end_inset
14554
14555 ; you can calculate with it and draw diagrams and images.
14556 \begin_inset Foot
14557 status collapsed
14558
14559 \begin_layout Plain Layout
14560 If you are interested in learning more about this, have a look at the LaTeX-pack
14561 age 
14562 \series bold
14563 pstricks
14564 \series default
14565
14566 \begin_inset Index idx
14567 status collapsed
14568
14569 \begin_layout Plain Layout
14570 LaTeX-packages ! pstricks
14571 \end_layout
14572
14573 \end_inset
14574
14575 .
14576 \end_layout
14577
14578 \end_inset
14579
14580  As a result of this, the files are often bigger than PDFs.
14581 \end_layout
14582
14583 \begin_layout Standard
14584 PostScript can only contain images in the format 
14585 \begin_inset Quotes eld
14586 \end_inset
14587
14588 Encapsulated PostScript
14589 \begin_inset Quotes erd
14590 \end_inset
14591
14592  (EPS, file extension 
14593 \begin_inset Quotes eld
14594 \end_inset
14595
14596
14597 \family typewriter
14598 .eps
14599 \family default
14600
14601 \begin_inset Quotes erd
14602 \end_inset
14603
14604 ).
14605  As LyX allows you to use any known image format in your document, it has
14606  to convert them in the background to EPS.
14607  If, for example, you have 50
14608 \begin_inset space ~
14609 \end_inset
14610
14611 images in your document, LyX has to do 50
14612 \begin_inset space ~
14613 \end_inset
14614
14615 conversions when you view or export your document the first time.
14616  This might slow down your workflow with LyX.
14617  So if you plan to use PostScript, you can insert your images directly as
14618  EPS to avoid this problem.
14619 \end_layout
14620
14621 \begin_layout Standard
14622 You can export to PostScript using the menu 
14623 \family sans
14624 File\SpecialChar \menuseparator
14625 Export\SpecialChar \menuseparator
14626 PostScript
14627 \family default
14628 .
14629 \end_layout
14630
14631 \begin_layout Subsubsection
14632 PDF
14633 \begin_inset Index idx
14634 status collapsed
14635
14636 \begin_layout Plain Layout
14637 File formats ! PDF
14638 \end_layout
14639
14640 \end_inset
14641
14642
14643 \begin_inset Index idx
14644 status collapsed
14645
14646 \begin_layout Plain Layout
14647 PDF
14648 \end_layout
14649
14650 \end_inset
14651
14652
14653 \end_layout
14654
14655 \begin_layout Standard
14656 This file type has the extension 
14657 \begin_inset Quotes eld
14658 \end_inset
14659
14660
14661 \family typewriter
14662 .pdf
14663 \family default
14664
14665 \begin_inset Quotes erd
14666 \end_inset
14667
14668 .
14669  The 
14670 \begin_inset Quotes eld
14671 \end_inset
14672
14673 Portable Document Format
14674 \begin_inset Quotes erd
14675 \end_inset
14676
14677  (PDF) developed by 
14678 \family typewriter
14679 Adobe
14680 \family default
14681  was derived from PostScript.
14682  It is more compressed and it uses fewer commands than PostScript.
14683  As the name 
14684 \begin_inset Quotes eld
14685 \end_inset
14686
14687 portable
14688 \begin_inset Quotes erd
14689 \end_inset
14690
14691  implies, it can be processed on any computer system and the printed output
14692  looks exactly the same.
14693 \end_layout
14694
14695 \begin_layout Standard
14696 PDF can contain images in its own PDF format and in the formats 
14697 \begin_inset Quotes eld
14698 \end_inset
14699
14700 Joint Photographic Experts Group
14701 \begin_inset Quotes erd
14702 \end_inset
14703
14704  (JPG, file extension 
14705 \begin_inset Quotes eld
14706 \end_inset
14707
14708
14709 \family typewriter
14710 .jpg
14711 \family default
14712
14713 \begin_inset Quotes erd
14714 \end_inset
14715
14716  or 
14717 \begin_inset Quotes eld
14718 \end_inset
14719
14720
14721 \family typewriter
14722 .jpeg
14723 \family default
14724
14725 \begin_inset Quotes erd
14726 \end_inset
14727
14728 ) and 
14729 \begin_inset Quotes eld
14730 \end_inset
14731
14732 Portable Network Graphics
14733 \begin_inset Quotes erd
14734 \end_inset
14735
14736  (PNG, file extension 
14737 \begin_inset Quotes eld
14738 \end_inset
14739
14740
14741 \family typewriter
14742 .png
14743 \family default
14744
14745 \begin_inset Quotes erd
14746 \end_inset
14747
14748 ).
14749  You can also use any other image format, because LyX converts them in the
14750  background to one of these formats.
14751  But as described in the section about PostScript, the image conversion
14752  will slow down your workflow.
14753  So we recommend using images in one of the three formats mentioned above.
14754 \end_layout
14755
14756 \begin_layout Standard
14757 You can export your document to PDF via the menu 
14758 \family sans
14759 File\SpecialChar \menuseparator
14760 Export
14761 \family default
14762  in different ways:
14763 \end_layout
14764
14765 \begin_layout Description
14766 PDF
14767 \begin_inset space ~
14768 \end_inset
14769
14770 (pdflatex) This uses the program 
14771 \family typewriter
14772 pdftex
14773 \family default
14774  which converts your file directly to PDF.
14775 \end_layout
14776
14777 \begin_layout Description
14778 PDF
14779 \begin_inset space ~
14780 \end_inset
14781
14782 (LuaTe
14783 \begin_inset ERT
14784 status collapsed
14785
14786 \begin_layout Plain Layout
14787
14788 {}
14789 \end_layout
14790
14791 \end_inset
14792
14793 X) This uses the program 
14794 \family typewriter
14795 LuaTeX
14796 \family default
14797  which converts your file directly to PDF.
14798  
14799 \family typewriter
14800 LuaTeX
14801 \family default
14802  is a new engine, derived from 
14803 \family typewriter
14804 pdflatex
14805 \family default
14806 , that also provides direct Unicode support and support for direct font
14807  access (see section
14808 \begin_inset space ~
14809 \end_inset
14810
14811
14812 \begin_inset CommandInset ref
14813 LatexCommand ref
14814 reference "sub:LaTeX-font-support"
14815
14816 \end_inset
14817
14818 ).
14819  LuaTeX is still a work in progress, but it might develop into the next
14820  standard TeX processor.
14821 \end_layout
14822
14823 \begin_layout Description
14824 PDF
14825 \begin_inset space ~
14826 \end_inset
14827
14828 (XeTe
14829 \begin_inset ERT
14830 status collapsed
14831
14832 \begin_layout Plain Layout
14833
14834 {}
14835 \end_layout
14836
14837 \end_inset
14838
14839 X) This uses the program 
14840 \family typewriter
14841 XeTeX
14842 \family default
14843  that converts your file directly to PDF.
14844  
14845 \family typewriter
14846 XeTeX
14847 \family default
14848  is a new engine that provides direct Unicode support and support for direct
14849  font access (see section
14850 \begin_inset space ~
14851 \end_inset
14852
14853
14854 \begin_inset CommandInset ref
14855 LatexCommand ref
14856 reference "sub:LaTeX-font-support"
14857
14858 \end_inset
14859
14860 ).
14861  It is particularly good at typesetting different scripts, for example,
14862  vertically written Japanese.
14863 \end_layout
14864
14865 \begin_layout Description
14866 PDF
14867 \begin_inset space ~
14868 \end_inset
14869
14870 (dvipdfm) This uses the program 
14871 \family typewriter
14872 dvipdfm
14873 \family default
14874  that converts your file in the background to DVI and in a second step to
14875  PDF.
14876 \end_layout
14877
14878 \begin_layout Description
14879 PDF
14880 \begin_inset space ~
14881 \end_inset
14882
14883 (ps2pdf) This uses the program 
14884 \family typewriter
14885 ps2pdf
14886 \family default
14887  that creates a PDF from a PostScript-version of your file.
14888  The PostScript-version is produced by the program 
14889 \family typewriter
14890 dvips
14891 \family default
14892  which uses a DVI-version as intermediate step.
14893  So this export variant consists of three conversions.
14894 \end_layout
14895
14896 \begin_layout Standard
14897 We recommend using 
14898 \family sans
14899 PDF
14900 \begin_inset space ~
14901 \end_inset
14902
14903 (pdflatex)
14904 \family default
14905  because 
14906 \family typewriter
14907 pdftex
14908 \family default
14909  supports all the features of actual PDF-versions, is quick, stable, and
14910  works without problems.
14911  If you rely on multiscript support and\SpecialChar \slash{}
14912 or specific OpenType fonts, you might
14913  want to try out 
14914 \family sans
14915 PDF
14916 \begin_inset space ~
14917 \end_inset
14918
14919 (XeTe
14920 \begin_inset ERT
14921 status collapsed
14922
14923 \begin_layout Plain Layout
14924
14925 {}
14926 \end_layout
14927
14928 \end_inset
14929
14930 X)
14931 \family default
14932  or 
14933 \family sans
14934 PDF
14935 \begin_inset space ~
14936 \end_inset
14937
14938 (LuaTe
14939 \begin_inset ERT
14940 status collapsed
14941
14942 \begin_layout Plain Layout
14943
14944 {}
14945 \end_layout
14946
14947 \end_inset
14948
14949 X)
14950 \family default
14951  instead, bearing in mind that these two programs are not yet as mature
14952  as 
14953 \family typewriter
14954 pdflatex
14955 \family default
14956 .
14957 \end_layout
14958
14959 \begin_layout Subsubsection
14960 XHTML
14961 \begin_inset Index idx
14962 status collapsed
14963
14964 \begin_layout Plain Layout
14965 FileFormats ! XHTML
14966 \end_layout
14967
14968 \end_inset
14969
14970
14971 \begin_inset Index idx
14972 status collapsed
14973
14974 \begin_layout Plain Layout
14975 HTML
14976 \end_layout
14977
14978 \end_inset
14979
14980
14981 \end_layout
14982
14983 \begin_layout Standard
14984 This file type has the extension 
14985 \begin_inset Quotes eld
14986 \end_inset
14987
14988
14989 \family typewriter
14990 .xhtml
14991 \family default
14992
14993 \begin_inset Quotes erd
14994 \end_inset
14995
14996 .
14997  It is a file suitable for viewing in web browsers.
14998  It does not itself contain images and the like but only links to them.
14999  When LyX produces XHTML, it also generates corresponding images in formats
15000  suitable for the purpose.
15001  For the math output you can choose in the menu 
15002 \family sans
15003 Document\SpecialChar \menuseparator
15004 Settings\SpecialChar \menuseparator
15005 Output
15006 \family default
15007  between different formats, which are described in section 
15008 \emph on
15009 Math Output in XHTML
15010 \emph default
15011  of the 
15012 \emph on
15013 Additional
15014 \begin_inset space ~
15015 \end_inset
15016
15017 Features
15018 \emph default
15019  manual.
15020 \end_layout
15021
15022 \begin_layout Standard
15023 XHTML output remains 
15024 \begin_inset Quotes eld
15025 \end_inset
15026
15027 under development
15028 \begin_inset Quotes erd
15029 \end_inset
15030
15031 , and not all LyX features are supported yet.
15032  See the chapter 
15033 \emph on
15034 LyX and the World Wide Web
15035 \emph default
15036 , in the 
15037 \emph on
15038 Additional Features
15039 \emph default
15040  manual, for more information.
15041 \end_layout
15042
15043 \begin_layout Standard
15044 You can export your document as an XHTML file using the menu item 
15045 \family sans
15046 File\SpecialChar \menuseparator
15047 Export\SpecialChar \menuseparator
15048 LyXHTML
15049 \family default
15050 .
15051 \end_layout
15052
15053 \begin_layout Subsection
15054 Previewing
15055 \begin_inset Index idx
15056 status collapsed
15057
15058 \begin_layout Plain Layout
15059 Document ! Preview 
15060 \end_layout
15061
15062 \end_inset
15063
15064
15065 \end_layout
15066
15067 \begin_layout Standard
15068 To get a look at the final version of your document, with all of the page
15069  breaks in place, the footnotes correctly numbered, and so on, use the menu
15070  
15071 \family sans
15072 Document
15073 \family default
15074  and choose 
15075 \family sans
15076 View
15077 \family default
15078  or use the toolbar button 
15079 \begin_inset Info
15080 type  "icon"
15081 arg   "buffer-view"
15082 \end_inset
15083
15084 .
15085  A viewing program will pop up showing the output in the defined default
15086  output format, which is globally set in the preferences (see sec.
15087 \begin_inset space \thinspace{}
15088 \end_inset
15089
15090
15091 \begin_inset CommandInset ref
15092 LatexCommand ref
15093 reference "sec:File-Formats"
15094
15095 \end_inset
15096
15097 ) and can also be altered for single documents in the document settings
15098  (see sec.
15099 \begin_inset space \thinspace{}
15100 \end_inset
15101
15102
15103 \begin_inset CommandInset ref
15104 LatexCommand ref
15105 reference "sec:Doc-Output"
15106
15107 \end_inset
15108
15109 ).
15110  Further output formats can be selected via 
15111 \family sans
15112 Document\SpecialChar \menuseparator
15113 View (Other Formats)
15114 \family default
15115  or the toolbar button 
15116 \begin_inset Graphics
15117         filename ../images/view-others.png
15118         scale 85
15119         groupId toolbarbuttons
15120
15121 \end_inset
15122
15123 .
15124 \end_layout
15125
15126 \begin_layout Standard
15127 If you have changed your document, you can refresh the output in the same
15128  viewer window using the menu 
15129 \family sans
15130 Document\SpecialChar \menuseparator
15131 Update
15132 \family default
15133  or 
15134 \family sans
15135 Document\SpecialChar \menuseparator
15136 Update (Other Formats)
15137 \family default
15138 , respectively.
15139 \end_layout
15140
15141 \begin_layout Standard
15142 When you preview a file, the output file is only generated in LyX's temporary
15143  directory.
15144  To have a real output, export your document.
15145 \end_layout
15146
15147 \begin_layout Subsection
15148 Printing the File from within LyX
15149 \begin_inset CommandInset label
15150 LatexCommand label
15151 name "sub:Printing-the-File"
15152
15153 \end_inset
15154
15155
15156 \end_layout
15157
15158 \begin_layout Standard
15159 Instead of exporting your file and then printing it, you can also print
15160  it directly from within LyX.
15161  To print a file, select the menu 
15162 \family sans
15163 File\SpecialChar \menuseparator
15164 Print
15165 \family default
15166  (shortcut 
15167 \begin_inset Info
15168 type  "shortcut"
15169 arg   "dialog-show print"
15170 \end_inset
15171
15172 ) or click on the toolbar button 
15173 \begin_inset Info
15174 type  "icon"
15175 arg   "dialog-show print"
15176 \end_inset
15177
15178 .
15179  LyX will internally call LaTeX to produce a DVI.
15180  This file is then processed by the program 
15181 \family typewriter
15182 dvips
15183 \family default
15184  to a PostScript-file, which is finally printed using the program 
15185 \family typewriter
15186 Ghostscript
15187 \family default
15188 .
15189  Due to these steps in the background, this method is not the fastest.
15190 \end_layout
15191
15192 \begin_layout Standard
15193 You can set the following print parameters in the 
15194 \family sans
15195 Print
15196 \begin_inset space ~
15197 \end_inset
15198
15199 Destination
15200 \family default
15201  box:
15202 \end_layout
15203
15204 \begin_layout Labeling
15205 \labelwidthstring 00.00.0000
15206
15207 \family sans
15208 Printer
15209 \family default
15210  This is the name of the printer to print to.
15211 \begin_inset Foot
15212 status collapsed
15213
15214 \begin_layout Plain Layout
15215 Note that this printer name is for the program 
15216 \family typewriter
15217 dvips
15218 \family default
15219 .
15220  That means 
15221 \family typewriter
15222 dvips
15223 \family default
15224  has to be configured for this printer name.
15225  The default printer can be set in LyX's preferences dialog, see section
15226 \begin_inset space ~
15227 \end_inset
15228
15229
15230 \begin_inset CommandInset ref
15231 LatexCommand ref
15232 reference "sub:Printer"
15233
15234 \end_inset
15235
15236 .
15237 \end_layout
15238
15239 \end_inset
15240
15241  The printer should understand PostScript.
15242 \end_layout
15243
15244 \begin_layout Labeling
15245 \labelwidthstring 00.00.0000
15246
15247 \family sans
15248 File
15249 \family default
15250  The name of a file to print to.
15251  The output will be a PostScript file.
15252  It will be written in LyX's working directory unless you specify the full
15253  path.
15254 \end_layout
15255
15256 \begin_layout Standard
15257 You can choose to print only a range of pages, only even-numbered or only
15258  odd-numbered pages or to print the pages in reverse — the latter options
15259  are useful for printing on two sides with a printer without a duplexer:
15260  you re-insert the pages after printing one set to print on the other side.
15261  Some printers spit out pages face-up, others, face-down.
15262  By choosing a particular order to print in, you can take the entire stack
15263  of pages out of the printer without needing to reorder them.
15264 \end_layout
15265
15266 \begin_layout Section
15267 A few Words about Typography
15268 \begin_inset Index idx
15269 status collapsed
15270
15271 \begin_layout Plain Layout
15272 Typography
15273 \end_layout
15274
15275 \end_inset
15276
15277
15278 \end_layout
15279
15280 \begin_layout Subsection
15281 Hyphens, Dashes and Minus Signs
15282 \begin_inset Index idx
15283 status collapsed
15284
15285 \begin_layout Plain Layout
15286 Hyphens
15287 \end_layout
15288
15289 \end_inset
15290
15291
15292 \begin_inset Index idx
15293 status collapsed
15294
15295 \begin_layout Plain Layout
15296 Dashes
15297 \end_layout
15298
15299 \end_inset
15300
15301
15302 \end_layout
15303
15304 \begin_layout Standard
15305 In LyX, the 
15306 \begin_inset Quotes eld
15307 \end_inset
15308
15309
15310 \family typewriter
15311 -
15312 \family default
15313
15314 \begin_inset Quotes erd
15315 \end_inset
15316
15317  character comes in four lengths: the 
15318 \emph on
15319 hyphen
15320 \emph default
15321 , the 
15322 \emph on
15323 en dash
15324 \emph default
15325 , the 
15326 \emph on
15327 em dash
15328 \emph default
15329 , and the minus sign:
15330 \begin_inset VSpace defskip
15331 \end_inset
15332
15333
15334 \end_layout
15335
15336 \begin_layout Standard
15337 \begin_inset Tabular
15338 <lyxtabular version="3" rows="5" columns="3">
15339 <features rotate="0" tabularvalignment="middle">
15340 <column alignment="left" valignment="top">
15341 <column alignment="left" valignment="top">
15342 <column alignment="left" valignment="top">
15343 <row interlinespace="3mm">
15344 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15345 \begin_inset Text
15346
15347 \begin_layout Plain Layout
15348 name
15349 \end_layout
15350
15351 \end_inset
15352 </cell>
15353 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15354 \begin_inset Text
15355
15356 \begin_layout Plain Layout
15357 output
15358 \end_layout
15359
15360 \end_inset
15361 </cell>
15362 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15363 \begin_inset Text
15364
15365 \begin_layout Plain Layout
15366 inserted with
15367 \end_layout
15368
15369 \end_inset
15370 </cell>
15371 </row>
15372 <row interlinespace="3mm">
15373 <cell alignment="center" valignment="top" usebox="none">
15374 \begin_inset Text
15375
15376 \begin_layout Plain Layout
15377 hyphen
15378 \end_layout
15379
15380 \end_inset
15381 </cell>
15382 <cell alignment="center" valignment="top" usebox="none">
15383 \begin_inset Text
15384
15385 \begin_layout Plain Layout
15386 -
15387 \end_layout
15388
15389 \end_inset
15390 </cell>
15391 <cell alignment="center" valignment="top" usebox="none">
15392 \begin_inset Text
15393
15394 \begin_layout Plain Layout
15395 \begin_inset Quotes eld
15396 \end_inset
15397
15398
15399 \family typewriter
15400 -
15401 \family default
15402
15403 \begin_inset Quotes erd
15404 \end_inset
15405
15406  in text
15407 \end_layout
15408
15409 \end_inset
15410 </cell>
15411 </row>
15412 <row interlinespace="3mm">
15413 <cell alignment="center" valignment="top" usebox="none">
15414 \begin_inset Text
15415
15416 \begin_layout Plain Layout
15417 en dash
15418 \end_layout
15419
15420 \end_inset
15421 </cell>
15422 <cell alignment="center" valignment="top" usebox="none">
15423 \begin_inset Text
15424
15425 \begin_layout Plain Layout
15426
15427 \end_layout
15428
15429 \end_inset
15430 </cell>
15431 <cell alignment="center" valignment="top" usebox="none">
15432 \begin_inset Text
15433
15434 \begin_layout Plain Layout
15435
15436 \family sans
15437 Insert\SpecialChar \menuseparator
15438 Special
15439 \begin_inset space ~
15440 \end_inset
15441
15442 Character\SpecialChar \menuseparator
15443 Symbols
15444 \end_layout
15445
15446 \end_inset
15447 </cell>
15448 </row>
15449 <row interlinespace="3mm">
15450 <cell alignment="center" valignment="top" usebox="none">
15451 \begin_inset Text
15452
15453 \begin_layout Plain Layout
15454 em dash
15455 \end_layout
15456
15457 \end_inset
15458 </cell>
15459 <cell alignment="center" valignment="top" usebox="none">
15460 \begin_inset Text
15461
15462 \begin_layout Plain Layout
15463
15464 \end_layout
15465
15466 \end_inset
15467 </cell>
15468 <cell alignment="center" valignment="top" usebox="none">
15469 \begin_inset Text
15470
15471 \begin_layout Plain Layout
15472
15473 \family sans
15474 Insert\SpecialChar \menuseparator
15475 Special
15476 \begin_inset space ~
15477 \end_inset
15478
15479 Character\SpecialChar \menuseparator
15480 Symbols
15481 \end_layout
15482
15483 \end_inset
15484 </cell>
15485 </row>
15486 <row>
15487 <cell alignment="center" valignment="top" usebox="none">
15488 \begin_inset Text
15489
15490 \begin_layout Plain Layout
15491 minus sign
15492 \end_layout
15493
15494 \end_inset
15495 </cell>
15496 <cell alignment="center" valignment="top" usebox="none">
15497 \begin_inset Text
15498
15499 \begin_layout Plain Layout
15500 \begin_inset Formula $-$
15501 \end_inset
15502
15503
15504 \end_layout
15505
15506 \end_inset
15507 </cell>
15508 <cell alignment="center" valignment="top" usebox="none">
15509 \begin_inset Text
15510
15511 \begin_layout Plain Layout
15512 \begin_inset Quotes eld
15513 \end_inset
15514
15515
15516 \family typewriter
15517 -
15518 \family default
15519
15520 \begin_inset Quotes erd
15521 \end_inset
15522
15523  in math mode
15524 \end_layout
15525
15526 \end_inset
15527 </cell>
15528 </row>
15529 </lyxtabular>
15530
15531 \end_inset
15532
15533
15534 \begin_inset VSpace defskip
15535 \end_inset
15536
15537
15538 \end_layout
15539
15540 \begin_layout Standard
15541 You can alternatively generate the en and em dash by inserting the 
15542 \begin_inset Quotes eld
15543 \end_inset
15544
15545
15546 \family typewriter
15547 -
15548 \family default
15549
15550 \begin_inset Quotes erd
15551 \end_inset
15552
15553  character multiple times in a row.
15554  They will automatically be converted to the appropriate length dash in
15555  the final output, but not in LyX.
15556  
15557 \begin_inset Quotes eld
15558 \end_inset
15559
15560 -
15561 \begin_inset space \thinspace{}
15562 \end_inset
15563
15564 -
15565 \begin_inset Quotes erd
15566 \end_inset
15567
15568  gives a en dash, 
15569 \begin_inset Quotes eld
15570 \end_inset
15571
15572 -
15573 \begin_inset space \thinspace{}
15574 \end_inset
15575
15576 -
15577 \begin_inset space \thinspace{}
15578 \end_inset
15579
15580 -
15581 \begin_inset Quotes erd
15582 \end_inset
15583
15584  a em dash.
15585 \end_layout
15586
15587 \begin_layout Standard
15588 The three dash types are distinct from the minus sign, which appears in
15589  math mode and has a length of its own.
15590  Here are some examples:
15591 \end_layout
15592
15593 \begin_layout Enumerate
15594 line- and page-breaks
15595 \begin_inset space \hfill{}
15596 \end_inset
15597
15598 (
15599 \emph on
15600 hyphen
15601 \emph default
15602 )
15603 \end_layout
15604
15605 \begin_layout Enumerate
15606 From A–Z
15607 \begin_inset space \hfill{}
15608 \end_inset
15609
15610 (
15611 \emph on
15612 en dash
15613 \emph default
15614 )
15615 \end_layout
15616
15617 \begin_layout Enumerate
15618 Oh — there's a dash.
15619 \begin_inset space \hfill{}
15620 \end_inset
15621
15622 (
15623 \emph on
15624 em dash
15625 \emph default
15626 )
15627 \end_layout
15628
15629 \begin_layout Enumerate
15630 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
15631 \end_inset
15632
15633
15634 \begin_inset space \hfill{}
15635 \end_inset
15636
15637 (
15638 \emph on
15639 minus sign
15640 \emph default
15641 )
15642 \end_layout
15643
15644 \begin_layout Subsection
15645 Hyphenation
15646 \begin_inset Index idx
15647 status collapsed
15648
15649 \begin_layout Plain Layout
15650 Hyphenation
15651 \end_layout
15652
15653 \end_inset
15654
15655
15656 \begin_inset CommandInset label
15657 LatexCommand label
15658 name "sub:Hyphenation"
15659
15660 \end_inset
15661
15662
15663 \end_layout
15664
15665 \begin_layout Standard
15666 Words are not hyphenated within LyX but automatically in the output.
15667  Hyphenation is done by the LaTeX-package 
15668 \series bold
15669 babel
15670 \series default
15671
15672 \begin_inset Index idx
15673 status collapsed
15674
15675 \begin_layout Plain Layout
15676 LaTeX-packages ! babel
15677 \end_layout
15678
15679 \end_inset
15680
15681  following the rules of the document language.
15682 \end_layout
15683
15684 \begin_layout Standard
15685 LaTeX hyphenates almost perfectly; it only has problems with text in the
15686  
15687 \family sans
15688 typewriter
15689 \family default
15690  font and with unusual constructs, like 
15691 \begin_inset Quotes eld
15692 \end_inset
15693
15694 h3knix/m0n0wall
15695 \begin_inset Quotes erd
15696 \end_inset
15697
15698 .
15699  If LaTeX cannot break a word correctly, you can set hyphenation points
15700  manually.
15701  This is done with the menu 
15702 \family sans
15703 Insert\SpecialChar \menuseparator
15704 Formatting\SpecialChar \menuseparator
15705 Hyphenation
15706 \begin_inset space ~
15707 \end_inset
15708
15709 Point
15710 \family default
15711 .
15712  These extra hyphenation points are only recommendations to LaTeX.
15713  If no hyphenation is necessary, LaTeX will ignore them.
15714 \end_layout
15715
15716 \begin_layout Standard
15717 Sometimes you want to prevent words or constructs from being hyphenated.
15718  Imagine that you are describing keybindings/shortcuts in your document
15719  in the form 
15720 \begin_inset Quotes eld
15721 \end_inset
15722
15723 A-b c
15724 \begin_inset Quotes erd
15725 \end_inset
15726
15727 .
15728  LaTeX would then see the hyphen 
15729 \begin_inset Quotes eld
15730 \end_inset
15731
15732 -
15733 \begin_inset Quotes erd
15734 \end_inset
15735
15736  as a hyphenation possibility.
15737  Hyphenating at this point would look ugly.
15738  To prevent the shortcut from being hyphenated, you can put it into a makebox
15739  as described in section 
15740 \begin_inset Quotes eld
15741 \end_inset
15742
15743 Prevent Hyphenation
15744 \begin_inset Quotes erd
15745 \end_inset
15746
15747  of the 
15748 \emph on
15749 Embedded
15750 \begin_inset space ~
15751 \end_inset
15752
15753 Objects
15754 \emph default
15755  manual.
15756 \end_layout
15757
15758 \begin_layout Subsection
15759 Punctuation Marks
15760 \begin_inset Index idx
15761 status collapsed
15762
15763 \begin_layout Plain Layout
15764 Punctuation marks
15765 \end_layout
15766
15767 \end_inset
15768
15769
15770 \end_layout
15771
15772 \begin_layout Subsubsection
15773 Abbreviations and End of Sentence
15774 \begin_inset CommandInset label
15775 LatexCommand label
15776 name "sub:Abbreviations"
15777
15778 \end_inset
15779
15780
15781 \end_layout
15782
15783 \begin_layout Standard
15784 When LyX calls LaTeX to generate the final version of your document, LaTeX
15785  automatically distinguishes between words, sentences, and abbreviations.
15786  LaTeX then adds the 
15787 \begin_inset Quotes eld
15788 \end_inset
15789
15790 appropriate amount of space.
15791 \begin_inset Quotes erd
15792 \end_inset
15793
15794  That means sentences get a little bit more space between the period and
15795  the next word.
15796  Abbreviations get the same amount of space after the period that a word
15797  gets after another word.
15798 \end_layout
15799
15800 \begin_layout Standard
15801 Unfortunately, the algorithm for figuring out what's an abbreviation does
15802  not work in all cases.
15803  If a 
15804 \begin_inset Quotes eld
15805 \end_inset
15806
15807
15808 \family typewriter
15809 .
15810 \family default
15811
15812 \begin_inset Quotes erd
15813 \end_inset
15814
15815  is at the end of a lowercase letter, it's the end of a sentence; if it's
15816  at the end of a capitalized letter, it's an abbreviation.
15817 \end_layout
15818
15819 \begin_layout Standard
15820 Here are some examples of 
15821 \emph on
15822 correct
15823 \emph default
15824  abbreviations and of the end of a sentence:
15825 \end_layout
15826
15827 \begin_layout Itemize
15828 M.
15829  Butterfly
15830 \end_layout
15831
15832 \begin_layout Itemize
15833 Don't worry.
15834  Be happy.
15835 \end_layout
15836
15837 \begin_layout Standard
15838 And here is an example of the algorithm going wrong:
15839 \end_layout
15840
15841 \begin_layout Itemize
15842 e.
15843 \begin_inset space \thinspace{}
15844 \end_inset
15845
15846 g.
15847  this is too much space!
15848 \end_layout
15849
15850 \begin_layout Itemize
15851 This is I.
15852  It's okay.
15853 \end_layout
15854
15855 \begin_layout Standard
15856 You will not see anything wrong until you view a final version of your document.
15857 \end_layout
15858
15859 \begin_layout Standard
15860 To fix this problem, use one of the following:
15861 \end_layout
15862
15863 \begin_layout Enumerate
15864 Use an 
15865 \family sans
15866 Inter-word
15867 \begin_inset space ~
15868 \end_inset
15869
15870 Space
15871 \family default
15872  after lowercase abbreviations (see section
15873 \begin_inset space ~
15874 \end_inset
15875
15876
15877 \begin_inset CommandInset ref
15878 LatexCommand ref
15879 reference "sub:Inter-word-Space"
15880
15881 \end_inset
15882
15883 ).
15884 \begin_inset Index idx
15885 status collapsed
15886
15887 \begin_layout Plain Layout
15888 Spaces ! inter-word
15889 \end_layout
15890
15891 \end_inset
15892
15893
15894 \end_layout
15895
15896 \begin_layout Enumerate
15897 Use a 
15898 \family sans
15899 Thin
15900 \begin_inset space ~
15901 \end_inset
15902
15903 Space
15904 \family default
15905  between two tokens of an abbreviation (see section
15906 \begin_inset space ~
15907 \end_inset
15908
15909
15910 \begin_inset CommandInset ref
15911 LatexCommand ref
15912 reference "sub:Thin-Space"
15913
15914 \end_inset
15915
15916 ).
15917 \begin_inset Index idx
15918 status collapsed
15919
15920 \begin_layout Plain Layout
15921 Spaces ! thin
15922 \end_layout
15923
15924 \end_inset
15925
15926
15927 \end_layout
15928
15929 \begin_layout Enumerate
15930 Use an 
15931 \family sans
15932 End
15933 \begin_inset space ~
15934 \end_inset
15935
15936 of
15937 \begin_inset space ~
15938 \end_inset
15939
15940 sentence
15941 \begin_inset space ~
15942 \end_inset
15943
15944 period
15945 \family default
15946  found under the 
15947 \family sans
15948 Insert\SpecialChar \menuseparator
15949 Special
15950 \begin_inset space ~
15951 \end_inset
15952
15953 Character
15954 \family default
15955  menu to force the use of inter-sentence spacing.
15956  This function is also bound to 
15957 \begin_inset Info
15958 type  "shortcut"
15959 arg   "specialchar-insert end-of-sentence"
15960 \end_inset
15961
15962  for easy access.
15963 \end_layout
15964
15965 \begin_layout Standard
15966 With the corrections, our earlier examples look like this:
15967 \end_layout
15968
15969 \begin_layout Itemize
15970 e.
15971 \begin_inset space \thinspace{}
15972 \end_inset
15973
15974 g.
15975 \begin_inset space \space{}
15976 \end_inset
15977
15978 this is too much space!
15979 \end_layout
15980
15981 \begin_layout Itemize
15982 This is I\SpecialChar \@.
15983  It's okay.
15984 \end_layout
15985
15986 \begin_layout Standard
15987 Some languages don't use extra spacing between sentences.
15988  If your language is such a language, you don't need to worry, because LaTeX
15989  will take care of this.
15990 \end_layout
15991
15992 \begin_layout Standard
15993 For those that do need to bother, there is help to catch those sneaky errors:
15994  Check out the 
15995 \family sans
15996 Check
15997 \begin_inset space ~
15998 \end_inset
15999
16000 TeX
16001 \family default
16002  feature described in the section 
16003 \emph on
16004 Checking TeX
16005 \emph default
16006  of the 
16007 \emph on
16008 Additional Features
16009 \emph default
16010  manual.
16011 \end_layout
16012
16013 \begin_layout Subsubsection
16014 Quotes
16015 \begin_inset Index idx
16016 status collapsed
16017
16018 \begin_layout Plain Layout
16019 Typography ! Quotes
16020 \end_layout
16021
16022 \end_inset
16023
16024
16025 \begin_inset Index idx
16026 status collapsed
16027
16028 \begin_layout Plain Layout
16029 Quotes | see
16030 \begin_inset ERT
16031 status collapsed
16032
16033 \begin_layout Plain Layout
16034
16035 {
16036 \end_layout
16037
16038 \end_inset
16039
16040 Typography
16041 \begin_inset ERT
16042 status collapsed
16043
16044 \begin_layout Plain Layout
16045
16046 }
16047 \end_layout
16048
16049 \end_inset
16050
16051
16052 \end_layout
16053
16054 \end_inset
16055
16056
16057 \end_layout
16058
16059 \begin_layout Standard
16060 LyX usually sets quotes correctly.
16061  Specifically, it will use an opening quote at the beginning of quoted text,
16062  and use a closing quote at the end.
16063  For example, 
16064 \begin_inset Quotes eld
16065 \end_inset
16066
16067 open close
16068 \begin_inset Quotes erd
16069 \end_inset
16070
16071 .
16072  The keyboard character, 
16073 \family sans
16074 "
16075 \family default
16076 , generates this automatically.
16077 \end_layout
16078
16079 \begin_layout Standard
16080 You can specify what character the 
16081 \family sans
16082 "
16083 \family default
16084  key produces using the submenu 
16085 \family sans
16086 Language
16087 \family default
16088  of the 
16089 \family sans
16090 Document\SpecialChar \menuseparator
16091 Settings
16092 \family default
16093
16094 \begin_inset Index idx
16095 status collapsed
16096
16097 \begin_layout Plain Layout
16098 Document ! Settings
16099 \end_layout
16100
16101 \end_inset
16102
16103  dialog in the box 
16104 \family sans
16105 Quote Style
16106 \family default
16107 .
16108  There are six choices:
16109 \end_layout
16110
16111 \begin_layout Labeling
16112 \labelwidthstring 00.00.0000
16113
16114 \family sans
16115 \begin_inset Quotes eld
16116 \end_inset
16117
16118 Text
16119 \begin_inset Quotes erd
16120 \end_inset
16121
16122
16123 \family default
16124  Use quotes like 
16125 \begin_inset Quotes eld
16126 \end_inset
16127
16128 this
16129 \begin_inset Quotes erd
16130 \end_inset
16131
16132
16133 \end_layout
16134
16135 \begin_layout Labeling
16136 \labelwidthstring 00.00.0000
16137
16138 \family sans
16139 \begin_inset Quotes sld
16140 \end_inset
16141
16142 Text
16143 \begin_inset Quotes srd
16144 \end_inset
16145
16146
16147 \family default
16148  Use quotes like 
16149 \begin_inset Quotes sld
16150 \end_inset
16151
16152 this
16153 \begin_inset Quotes srd
16154 \end_inset
16155
16156
16157 \end_layout
16158
16159 \begin_layout Labeling
16160 \labelwidthstring 00.00.0000
16161
16162 \family sans
16163 \begin_inset Quotes gld
16164 \end_inset
16165
16166 Text
16167 \begin_inset Quotes grd
16168 \end_inset
16169
16170
16171 \family default
16172  Use quotes like 
16173 \begin_inset Quotes gld
16174 \end_inset
16175
16176 this
16177 \begin_inset Quotes grd
16178 \end_inset
16179
16180
16181 \end_layout
16182
16183 \begin_layout Labeling
16184 \labelwidthstring 00.00.0000
16185
16186 \family sans
16187 \begin_inset Quotes pld
16188 \end_inset
16189
16190 Text
16191 \begin_inset Quotes prd
16192 \end_inset
16193
16194
16195 \family default
16196  Use quotes like 
16197 \begin_inset Quotes pld
16198 \end_inset
16199
16200 this
16201 \begin_inset Quotes prd
16202 \end_inset
16203
16204
16205 \end_layout
16206
16207 \begin_layout Labeling
16208 \labelwidthstring 00.00.0000
16209
16210 \family sans
16211 \begin_inset Quotes fld
16212 \end_inset
16213
16214 Text
16215 \begin_inset Quotes frd
16216 \end_inset
16217
16218
16219 \family default
16220  Use quotes like 
16221 \begin_inset Quotes fld
16222 \end_inset
16223
16224 this
16225 \begin_inset Quotes frd
16226 \end_inset
16227
16228
16229 \end_layout
16230
16231 \begin_layout Labeling
16232 \labelwidthstring 00.00.0000
16233
16234 \family sans
16235 \begin_inset Quotes ald
16236 \end_inset
16237
16238 Text
16239 \begin_inset Quotes ard
16240 \end_inset
16241
16242
16243 \family default
16244  Use quotes like 
16245 \begin_inset Quotes ald
16246 \end_inset
16247
16248 this
16249 \begin_inset Quotes ard
16250 \end_inset
16251
16252
16253 \end_layout
16254
16255 \begin_layout Standard
16256 For single quotes you have to use the shortcut 
16257 \begin_inset Info
16258 type  "shortcut"
16259 arg   "quote-insert single"
16260 \end_inset
16261
16262 .
16263 \end_layout
16264
16265 \begin_layout Subsection
16266 Ligatures
16267 \begin_inset Index idx
16268 status collapsed
16269
16270 \begin_layout Plain Layout
16271 Typography ! Ligatures
16272 \end_layout
16273
16274 \end_inset
16275
16276
16277 \begin_inset Index idx
16278 status collapsed
16279
16280 \begin_layout Plain Layout
16281 Ligatures | see
16282 \begin_inset ERT
16283 status collapsed
16284
16285 \begin_layout Plain Layout
16286
16287 {
16288 \end_layout
16289
16290 \end_inset
16291
16292 Typography
16293 \begin_inset ERT
16294 status collapsed
16295
16296 \begin_layout Plain Layout
16297
16298 }
16299 \end_layout
16300
16301 \end_inset
16302
16303
16304 \end_layout
16305
16306 \end_inset
16307
16308
16309 \begin_inset CommandInset label
16310 LatexCommand label
16311 name "sub:Ligatures"
16312
16313 \end_inset
16314
16315
16316 \end_layout
16317
16318 \begin_layout Standard
16319 It is standard typesetting practice to group certain letters together and
16320  print them as single characters.
16321  These groups are known as 
16322 \emph on
16323 ligatures
16324 \emph default
16325 .
16326  Since LaTeX knows about ligatures, your documents will contain them too
16327  in the output.
16328  Here are the standard ligatures:
16329 \end_layout
16330
16331 \begin_layout Itemize
16332 ff
16333 \end_layout
16334
16335 \begin_layout Itemize
16336 fi
16337 \end_layout
16338
16339 \begin_layout Itemize
16340 fl
16341 \end_layout
16342
16343 \begin_layout Itemize
16344 ffi
16345 \end_layout
16346
16347 \begin_layout Itemize
16348 ffl
16349 \end_layout
16350
16351 \begin_layout Standard
16352 Some languages uses other ligatures if the document font supports them.
16353 \end_layout
16354
16355 \begin_layout Standard
16356 Sometimes, you don't want a ligature in a word.
16357  While a ligature may be okay in the word, 
16358 \begin_inset Quotes eld
16359 \end_inset
16360
16361 graffiti,
16362 \begin_inset Quotes erd
16363 \end_inset
16364
16365  it looks really weird in compound words, such as 
16366 \begin_inset Quotes eld
16367 \end_inset
16368
16369 cufflink
16370 \begin_inset Quotes erd
16371 \end_inset
16372
16373  or the German 
16374 \begin_inset Quotes eld
16375 \end_inset
16376
16377 Dorffest.
16378 \begin_inset Quotes erd
16379 \end_inset
16380
16381  To break a ligature, use 
16382 \family sans
16383 Insert\SpecialChar \menuseparator
16384 Formatting\SpecialChar \menuseparator
16385 Ligature
16386 \begin_inset space ~
16387 \end_inset
16388
16389 Break.
16390
16391 \family default
16392  This changes 
16393 \begin_inset Quotes eld
16394 \end_inset
16395
16396 cufflinks
16397 \begin_inset Quotes erd
16398 \end_inset
16399
16400  to 
16401 \begin_inset Quotes eld
16402 \end_inset
16403
16404 cuff\SpecialChar \textcompwordmark{}
16405 links
16406 \begin_inset Quotes erd
16407 \end_inset
16408
16409  and 
16410 \begin_inset Quotes eld
16411 \end_inset
16412
16413 Dorffest
16414 \begin_inset Quotes erd
16415 \end_inset
16416
16417  to 
16418 \begin_inset Quotes eld
16419 \end_inset
16420
16421 Dorf\SpecialChar \textcompwordmark{}
16422 fest
16423 \begin_inset Quotes erd
16424 \end_inset
16425
16426 .
16427 \end_layout
16428
16429 \begin_layout Subsection
16430 LyX's Proper Names
16431 \begin_inset Index idx
16432 status collapsed
16433
16434 \begin_layout Plain Layout
16435 LyX ! Proper names
16436 \end_layout
16437
16438 \end_inset
16439
16440
16441 \begin_inset CommandInset label
16442 LatexCommand label
16443 name "sub:LyX's-Proper-Names"
16444
16445 \end_inset
16446
16447
16448 \end_layout
16449
16450 \begin_layout Standard
16451 You will certainly have noticed that the word “LaTeX” always appears with
16452  characters in different sizes and heights.
16453  LaTeX is the name of the program used by LyX and is therefore recognized
16454  as a proper name when you type it in LyX as 
16455 \begin_inset Quotes eld
16456 \end_inset
16457
16458 LaT
16459 \begin_inset ERT
16460 status collapsed
16461
16462 \begin_layout Plain Layout
16463
16464 {}
16465 \end_layout
16466
16467 \end_inset
16468
16469 eX
16470 \begin_inset Quotes erd
16471 \end_inset
16472
16473 .
16474 \begin_inset Note Note
16475 status collapsed
16476
16477 \begin_layout Plain Layout
16478 The braces in TeX Code are here to avoid that the 
16479 \begin_inset Quotes eld
16480 \end_inset
16481
16482 command
16483 \begin_inset Quotes erd
16484 \end_inset
16485
16486  appear as proper name in the output, see the last paragraph of this section.
16487  To create proper names omit the TeX Code.
16488 \end_layout
16489
16490 \end_inset
16491
16492  Note the order of the upper- and lowercase letters! LyX recognizes the
16493  following proper names:
16494 \end_layout
16495
16496 \begin_layout Description
16497 LyX The name of the game, write 
16498 \begin_inset Quotes eld
16499 \end_inset
16500
16501 L
16502 \begin_inset ERT
16503 status collapsed
16504
16505 \begin_layout Plain Layout
16506
16507 {}
16508 \end_layout
16509
16510 \end_inset
16511
16512 yX
16513 \begin_inset Quotes erd
16514 \end_inset
16515
16516  to produce it.
16517 \end_layout
16518
16519 \begin_layout Description
16520 TeX The program used by LaTeX, write 
16521 \begin_inset Quotes eld
16522 \end_inset
16523
16524 T
16525 \begin_inset ERT
16526 status collapsed
16527
16528 \begin_layout Plain Layout
16529
16530 {}
16531 \end_layout
16532
16533 \end_inset
16534
16535 eX
16536 \begin_inset Quotes erd
16537 \end_inset
16538
16539  to produce it.
16540 \end_layout
16541
16542 \begin_layout Description
16543 LaTeX The program used by LyX, write 
16544 \begin_inset Quotes eld
16545 \end_inset
16546
16547 LaT
16548 \begin_inset ERT
16549 status collapsed
16550
16551 \begin_layout Plain Layout
16552
16553 {}
16554 \end_layout
16555
16556 \end_inset
16557
16558 eX
16559 \begin_inset Quotes erd
16560 \end_inset
16561
16562  to produce it.
16563 \end_layout
16564
16565 \begin_layout Description
16566 LaTeX2e The actual version of LaTeX, write 
16567 \begin_inset Quotes eld
16568 \end_inset
16569
16570 LaT
16571 \begin_inset ERT
16572 status collapsed
16573
16574 \begin_layout Plain Layout
16575
16576 {}
16577 \end_layout
16578
16579 \end_inset
16580
16581 eX2e
16582 \begin_inset Quotes erd
16583 \end_inset
16584
16585  to produce it.
16586 \end_layout
16587
16588 \begin_layout Standard
16589 You might wonder why the LaTeX-version is 
16590 \begin_inset Quotes eld
16591 \end_inset
16592
16593 2
16594 \begin_inset Formula $\epsilon$
16595 \end_inset
16596
16597
16598 \begin_inset Quotes erd
16599 \end_inset
16600
16601 .
16602  It is an old tradition in the TeX-world to give programs geek version numbers.
16603  For example the version number of TeX converges to the number 
16604 \begin_inset Formula $\pi$
16605 \end_inset
16606
16607 : The actual version is 
16608 \begin_inset Quotes eld
16609 \end_inset
16610
16611 TeX-3.141592
16612 \begin_inset Quotes erd
16613 \end_inset
16614
16615 , the previous one was 
16616 \begin_inset Quotes eld
16617 \end_inset
16618
16619 TeX-3.14159
16620 \begin_inset Quotes erd
16621 \end_inset
16622
16623 .
16624 \end_layout
16625
16626 \begin_layout Standard
16627 If you don't want to use proper names, for example, in section headings,
16628  you can insert two empty braces in TeX Code in the word.
16629  In LyX this will look like 
16630 \begin_inset Graphics
16631         filename clipart/LaTeX.png
16632         scale 80
16633
16634 \end_inset
16635
16636 .
16637 \begin_inset Newline newline
16638 \end_inset
16639
16640 For more about TeX Code, see section
16641 \begin_inset space ~
16642 \end_inset
16643
16644
16645 \begin_inset CommandInset ref
16646 LatexCommand ref
16647 reference "sec:TeX-Code"
16648
16649 \end_inset
16650
16651 .
16652 \end_layout
16653
16654 \begin_layout Subsection
16655 Units
16656 \begin_inset Index idx
16657 status collapsed
16658
16659 \begin_layout Plain Layout
16660 Typography ! Units
16661 \end_layout
16662
16663 \end_inset
16664
16665
16666 \end_layout
16667
16668 \begin_layout Standard
16669 Generally the space between units and the number is smaller than the normal
16670  space between two words.
16671  As you can see in the example below, it looks better when the space is
16672  smaller.
16673  To get such a 
16674 \begin_inset Quotes eld
16675 \end_inset
16676
16677 half space
16678 \begin_inset Quotes erd
16679 \end_inset
16680
16681  for units use the menu 
16682 \family sans
16683 Insert\SpecialChar \menuseparator
16684 Formatting\SpecialChar \menuseparator
16685 Thin
16686 \begin_inset space ~
16687 \end_inset
16688
16689 Space
16690 \family default
16691  (shortcut 
16692 \begin_inset Info
16693 type  "shortcuts"
16694 arg   "space-insert thin"
16695 \end_inset
16696
16697 ).
16698 \end_layout
16699
16700 \begin_layout Standard
16701 Here is an example to show the differences:
16702 \end_layout
16703
16704 \begin_layout Standard
16705 \begin_inset Tabular
16706 <lyxtabular version="3" rows="2" columns="2">
16707 <features rotate="0" tabularvalignment="middle">
16708 <column alignment="left" valignment="top">
16709 <column alignment="left" valignment="top">
16710 <row>
16711 <cell alignment="center" valignment="top" usebox="none">
16712 \begin_inset Text
16713
16714 \begin_layout Plain Layout
16715 24
16716 \begin_inset space ~
16717 \end_inset
16718
16719 kW
16720 \begin_inset Formula $\cdot$
16721 \end_inset
16722
16723 h
16724 \end_layout
16725
16726 \end_inset
16727 </cell>
16728 <cell alignment="center" valignment="top" usebox="none">
16729 \begin_inset Text
16730
16731 \begin_layout Plain Layout
16732 space between number and unit
16733 \end_layout
16734
16735 \end_inset
16736 </cell>
16737 </row>
16738 <row>
16739 <cell alignment="center" valignment="top" usebox="none">
16740 \begin_inset Text
16741
16742 \begin_layout Plain Layout
16743 24
16744 \begin_inset space \thinspace{}
16745 \end_inset
16746
16747 kW
16748 \begin_inset Formula $\cdot$
16749 \end_inset
16750
16751 h
16752 \end_layout
16753
16754 \end_inset
16755 </cell>
16756 <cell alignment="center" valignment="top" usebox="none">
16757 \begin_inset Text
16758
16759 \begin_layout Plain Layout
16760 half space between number and unit
16761 \end_layout
16762
16763 \end_inset
16764 </cell>
16765 </row>
16766 </lyxtabular>
16767
16768 \end_inset
16769
16770
16771 \end_layout
16772
16773 \begin_layout Subsection
16774 Widows and Orphans
16775 \begin_inset Index idx
16776 status collapsed
16777
16778 \begin_layout Plain Layout
16779 Typography ! Widows and orphans
16780 \end_layout
16781
16782 \end_inset
16783
16784
16785 \end_layout
16786
16787 \begin_layout Standard
16788 In the early days of word processors, page breaks went wherever the page
16789  happened to end.
16790  There was no regard for what was actually going on in the text.
16791  You may remember once printing out a document, only to find the heading
16792  for a new section printed at the very bottom of the page, the first line
16793  of a new paragraph all alone at the bottom of a page, or the last line
16794  of a paragraph at the top of a new page.
16795  These bits of text became known as 
16796 \emph on
16797 widows
16798 \emph default
16799  and 
16800 \emph on
16801 orphans
16802 \emph default
16803 .
16804 \end_layout
16805
16806 \begin_layout Standard
16807 Clearly, LyX can avoid breaking pages after a section heading.
16808  That's part of the advantage of paragraph environments.
16809  But what about widows and orphans, where the page breaks leave one line
16810  of a paragraph all alone at the top or bottom of a page? There are rules
16811  built into LaTeX governing page breaks, and some of those rules are there
16812  specifically to prevent widows and orphans.
16813  This is the advantage LyX has in using LaTeX as its backend.
16814 \end_layout
16815
16816 \begin_layout Standard
16817 We cannot go into how TeX and LaTeX decide to break a page, or how you can
16818  tweak that behavior.
16819  Some LaTeX books listed in the bibliography (such as
16820 \begin_inset space ~
16821 \end_inset
16822
16823
16824 \begin_inset CommandInset citation
16825 LatexCommand cite
16826 key "latexcompanion"
16827
16828 \end_inset
16829
16830  or
16831 \begin_inset space ~
16832 \end_inset
16833
16834
16835 \begin_inset CommandInset citation
16836 LatexCommand cite
16837 key "latexguide"
16838
16839 \end_inset
16840
16841 ) may have more information.
16842  You will almost never need to worry about this, however.
16843 \end_layout
16844
16845 \begin_layout Chapter
16846 Notes, Graphics, Tables and Floats
16847 \begin_inset CommandInset label
16848 LatexCommand label
16849 name "chap:Floats-and-Notes"
16850
16851 \end_inset
16852
16853
16854 \end_layout
16855
16856 \begin_layout Standard
16857 The issues of this chapter are described in detail in the 
16858 \emph on
16859 Embedded
16860 \begin_inset space ~
16861 \end_inset
16862
16863 Objects
16864 \emph default
16865  manual.
16866  There you will also find tips and tricks for special cases.
16867 \end_layout
16868
16869 \begin_layout Section
16870 Notes
16871 \begin_inset Index idx
16872 status collapsed
16873
16874 \begin_layout Plain Layout
16875 Notes
16876 \end_layout
16877
16878 \end_inset
16879
16880
16881 \begin_inset CommandInset label
16882 LatexCommand label
16883 name "sec:Notes"
16884
16885 \end_inset
16886
16887
16888 \end_layout
16889
16890 \begin_layout Standard
16891 LyX offers you a few types of notes to add to your document:
16892 \end_layout
16893
16894 \begin_layout Description
16895 LyX
16896 \begin_inset space ~
16897 \end_inset
16898
16899 Note This note type is for internal notes that will not appear in the output.
16900 \begin_inset Newline newline
16901 \end_inset
16902
16903
16904 \begin_inset Note Note
16905 status open
16906
16907 \begin_layout Plain Layout
16908 This is text in a note box that doesn't appear in the output.
16909 \end_layout
16910
16911 \end_inset
16912
16913
16914 \end_layout
16915
16916 \begin_layout Description
16917 Comment This note also doesn't appear in the output but it does appear as
16918  a LaTeX-comment when you export the document to LaTeX via the menu 
16919 \family sans
16920 File\SpecialChar \menuseparator
16921 Export\SpecialChar \menuseparator
16922 LaT
16923 \begin_inset ERT
16924 status collapsed
16925
16926 \begin_layout Plain Layout
16927
16928 {}
16929 \end_layout
16930
16931 \end_inset
16932
16933 eX
16934 \begin_inset space ~
16935 \end_inset
16936
16937 (xxx)
16938 \family default
16939 .
16940 \begin_inset Newline newline
16941 \end_inset
16942
16943
16944 \begin_inset Note Comment
16945 status open
16946
16947 \begin_layout Plain Layout
16948 This is text in a note box that only appears as a comment in LaTeX-files.
16949 \end_layout
16950
16951 \end_inset
16952
16953
16954 \end_layout
16955
16956 \begin_layout Description
16957 Greyed
16958 \begin_inset space ~
16959 \end_inset
16960
16961 Out This note will appear in the output as text in a color which you can
16962  set in the document settings under 
16963 \family sans
16964 Colors\SpecialChar \menuseparator
16965 Greyed-out
16966 \begin_inset space ~
16967 \end_inset
16968
16969 notes
16970 \family default
16971 .
16972 \begin_inset Newline newline
16973 \end_inset
16974
16975
16976 \begin_inset Newline newline
16977 \end_inset
16978
16979
16980 \begin_inset Note Greyedout
16981 status open
16982
16983 \begin_layout Plain Layout
16984 This is the text
16985 \begin_inset Foot
16986 status collapsed
16987
16988 \begin_layout Plain Layout
16989 This is an example footnote within a greyed out note.
16990  In this document the color of this note type is set to blue.
16991 \end_layout
16992
16993 \end_inset
16994
16995  of a comment that appears in the output.
16996 \end_layout
16997
16998 \end_inset
16999
17000
17001 \begin_inset Newline newline
17002 \end_inset
17003
17004
17005 \begin_inset Newline newline
17006 \end_inset
17007
17008 As you can see in the example, greyed out notes can have footnotes.
17009 \end_layout
17010
17011 \begin_layout Standard
17012 Notes are inserted with the toolbar button 
17013 \begin_inset Info
17014 type  "icon"
17015 arg   "note-insert"
17016 \end_inset
17017
17018  or the menu 
17019 \family sans
17020 Insert\SpecialChar \menuseparator
17021 Note
17022 \family default
17023 .
17024  Right-click on the note box that appears to select the note type.
17025 \end_layout
17026
17027 \begin_layout Section
17028 Footnotes
17029 \begin_inset Index idx
17030 status collapsed
17031
17032 \begin_layout Plain Layout
17033 Footnotes
17034 \end_layout
17035
17036 \end_inset
17037
17038
17039 \begin_inset CommandInset label
17040 LatexCommand label
17041 name "sec:Footnotes"
17042
17043 \end_inset
17044
17045
17046 \end_layout
17047
17048 \begin_layout Standard
17049 LyX uses boxes to display footnotes: When you insert a footnote using the
17050  menu 
17051 \family sans
17052 Insert\SpecialChar \menuseparator
17053 Footnote
17054 \family default
17055  or the toolbar button 
17056 \begin_inset Info
17057 type  "icon"
17058 arg   "footnote-insert"
17059 \end_inset
17060
17061
17062 \family roman
17063 \series medium
17064 \bar no
17065 you will see
17066 \family default
17067 \series default
17068 \bar default
17069  a box like this: 
17070 \begin_inset Graphics
17071         filename clipart/footnoteQt4.png
17072         scale 80
17073
17074 \end_inset
17075
17076
17077 \family roman
17078 \series medium
17079 \bar no
17080  This box is LyX's representation of your footnote.
17081  If you
17082 \family default
17083 \series default
17084 \bar default
17085  left-click on 
17086 \family roman
17087 \series medium
17088 \bar no
17089 the 
17090 \begin_inset Quotes eld
17091 \end_inset
17092
17093
17094 \family sans
17095 foot
17096 \family roman
17097
17098 \begin_inset Quotes erd
17099 \end_inset
17100
17101
17102 \family default
17103 \series default
17104 \bar default
17105  
17106 \family roman
17107 \series medium
17108 \bar no
17109 label, the box will
17110 \family default
17111 \series default
17112 \bar default
17113  be opened and you can enter the footnote text into it.
17114  Clicking on the box label again will close 
17115 \family roman
17116 \series medium
17117 \bar no
17118 the
17119 \family default
17120 \series default
17121 \bar default
17122  box
17123 \family roman
17124 \series medium
17125 \bar no
17126 .
17127  If you want to turn existing text into a footnote, simply highlight it
17128  and click on the footnote
17129 \family default
17130 \series default
17131 \bar default
17132  toolbar 
17133 \family roman
17134 \series medium
17135 \bar no
17136 button
17137 \family default
17138 \series default
17139 \bar default
17140 .
17141 \end_layout
17142
17143 \begin_layout Standard
17144 Here is an example footnote:
17145 \family roman
17146 \series medium
17147 \bar no
17148
17149 \begin_inset Foot
17150 status collapsed
17151
17152 \begin_layout Plain Layout
17153 To close a footnote, click on the footnote box label.
17154 \end_layout
17155
17156 \end_inset
17157
17158
17159 \end_layout
17160
17161 \begin_layout Standard
17162 The footnote will appear in the output as a superscript number at the text
17163  position where the footnote box is placed.
17164  The footnote text is placed at the bottom of the current page.
17165  The footnote number is calculated by LyX according to the document class.
17166  LyX does not yet support a particular numbering scheme, but you can get
17167  other schemes using special LaTeX-commands.
17168  T
17169 \family roman
17170 h
17171 \family default
17172 ey are described in the 
17173 \emph on
17174 Embedded
17175 \begin_inset space ~
17176 \end_inset
17177
17178 Objects
17179 \emph default
17180  manual.
17181 \end_layout
17182
17183 \begin_layout Section
17184 Marginal Notes
17185 \begin_inset Index idx
17186 status collapsed
17187
17188 \begin_layout Plain Layout
17189 Marginal notes
17190 \end_layout
17191
17192 \end_inset
17193
17194
17195 \begin_inset CommandInset label
17196 LatexCommand label
17197 name "sec:Marginal-Notes"
17198
17199 \end_inset
17200
17201
17202 \end_layout
17203
17204 \begin_layout Standard
17205 Marginal notes look and behave just like footnotes in LyX.
17206  When you insert a margin note via the menu 
17207 \family sans
17208 Insert\SpecialChar \menuseparator
17209 Marginal
17210 \begin_inset space ~
17211 \end_inset
17212
17213 Note
17214 \family default
17215  or the toolbar button 
17216 \begin_inset Info
17217 type  "icon"
17218 arg   "marginalnote-insert"
17219 \end_inset
17220
17221 , you will see 
17222 \family roman
17223 \series medium
17224 a
17225 \family default
17226 \series default
17227  
17228 \family roman
17229 \series medium
17230 box with the
17231 \family default
17232 \series default
17233  
17234 \family roman
17235 \series medium
17236 label 
17237 \begin_inset Quotes eld
17238 \end_inset
17239
17240 margin
17241 \begin_inset Quotes erd
17242 \end_inset
17243
17244  appearing within your text.
17245  This box is LyX's representation of your margin
17246 \family default
17247 \series default
17248 al 
17249 \family roman
17250 \series medium
17251 note.
17252 \end_layout
17253
17254 \begin_layout Standard
17255 At the side of this sentence is an example marginal note.
17256 \family roman
17257 \series medium
17258
17259 \begin_inset Marginal
17260 status open
17261
17262 \begin_layout Plain Layout
17263 \align left
17264 This is a marginal note.
17265 \end_layout
17266
17267 \end_inset
17268
17269
17270 \end_layout
17271
17272 \begin_layout Standard
17273 Marginal notes appear at the right side in single-sided documents.
17274  In double-sided documents they appear in the outer margin – left on even
17275  pages, right on odd pages.
17276 \end_layout
17277
17278 \begin_layout Standard
17279 For further information about marginal notes see the section 
17280 \emph on
17281 Margin
17282 \begin_inset space ~
17283 \end_inset
17284
17285 Notes
17286 \emph default
17287  in the 
17288 \emph on
17289 Embedded
17290 \begin_inset space ~
17291 \end_inset
17292
17293 Objects
17294 \emph default
17295  manual.
17296 \end_layout
17297
17298 \begin_layout Section
17299 Graphics and Images
17300 \begin_inset Index idx
17301 status collapsed
17302
17303 \begin_layout Plain Layout
17304 Images
17305 \end_layout
17306
17307 \end_inset
17308
17309
17310 \begin_inset Index idx
17311 status collapsed
17312
17313 \begin_layout Plain Layout
17314 Graphics
17315 \end_layout
17316
17317 \end_inset
17318
17319
17320 \begin_inset CommandInset label
17321 LatexCommand label
17322 name "sec:Graphics"
17323
17324 \end_inset
17325
17326
17327 \end_layout
17328
17329 \begin_layout Standard
17330 To insert an image in your document, place the cursor at the text position
17331  you want and click on the toolbar icon 
17332 \begin_inset Info
17333 type  "icon"
17334 arg   "dialog-show-new-inset graphics"
17335 \end_inset
17336
17337  or select 
17338 \family sans
17339 Insert\SpecialChar \menuseparator
17340 Graphics
17341 \family default
17342  from the menu.
17343  Then a dialog will appear to choose the file to load.
17344 \end_layout
17345
17346 \begin_layout Standard
17347 This dialog has numerous mostly self-explanatory parameters.
17348  The 
17349 \family sans
17350 Graphics
17351 \family default
17352  tab allows you to choose your image file.
17353  The image can be transformed by setting a rotation angle and a scaling
17354  factor.
17355  The scaling units are explained in Appendix
17356 \begin_inset space ~
17357 \end_inset
17358
17359
17360 \begin_inset CommandInset ref
17361 LatexCommand ref
17362 reference "chap:Units-available-in"
17363
17364 \end_inset
17365
17366 .
17367 \end_layout
17368
17369 \begin_layout Standard
17370 In the tab 
17371 \family sans
17372 Clipping
17373 \family default
17374  it is possible to set image coordinates to adjust the height and width
17375  of the image in the output.
17376  The coordinates can also be calculated automatically by pressing the button
17377  
17378 \family sans
17379 Get
17380 \begin_inset space ~
17381 \end_inset
17382
17383 from
17384 \begin_inset space ~
17385 \end_inset
17386
17387 file
17388 \family default
17389 .
17390  The option 
17391 \family sans
17392 Clip
17393 \begin_inset space ~
17394 \end_inset
17395
17396 to
17397 \begin_inset space ~
17398 \end_inset
17399
17400 bounding
17401 \begin_inset space ~
17402 \end_inset
17403
17404 box
17405 \family default
17406  will only print the image region within the given coordinates.
17407  Normally you don't need to take care about image coordinates and can ignore
17408  the tab 
17409 \family sans
17410 Clipping
17411 \family default
17412 .
17413 \end_layout
17414
17415 \begin_layout Standard
17416 In the 
17417 \family sans
17418 LaT
17419 \begin_inset ERT
17420 status collapsed
17421
17422 \begin_layout Plain Layout
17423
17424 {}
17425 \end_layout
17426
17427 \end_inset
17428
17429 eX
17430 \begin_inset space ~
17431 \end_inset
17432
17433 and
17434 \begin_inset space ~
17435 \end_inset
17436
17437 Ly
17438 \begin_inset ERT
17439 status collapsed
17440
17441 \begin_layout Plain Layout
17442
17443 {}
17444 \end_layout
17445
17446 \end_inset
17447
17448 X options
17449 \family default
17450  tab LaTeX experts can specify additional LaTeX options.
17451  In this tab you can also specify the appearance of the image inside LyX.
17452  The option 
17453 \family sans
17454 Draft
17455 \begin_inset space ~
17456 \end_inset
17457
17458 mode
17459 \family default
17460  has the effect that the image doesn't appear in the output, only a frame
17461  with the image size is printed.
17462  The option 
17463 \family sans
17464 Don't
17465 \begin_inset space ~
17466 \end_inset
17467
17468 unzip
17469 \begin_inset space ~
17470 \end_inset
17471
17472 on
17473 \begin_inset space ~
17474 \end_inset
17475
17476 export
17477 \family default
17478  is explained in the 
17479 \emph on
17480 Embedded
17481 \begin_inset space ~
17482 \end_inset
17483
17484 Objects
17485 \emph default
17486  manual in section 
17487 \emph on
17488 Graphics Dialog
17489 \emph default
17490 .
17491 \end_layout
17492
17493 \begin_layout Standard
17494 The graphics dialog can be called at any time by clicking on an image.
17495  Images will appear in the output exactly at the position where they are
17496  in the text.
17497  This is an example image within a separate, horizontally centered paragraph:
17498 \end_layout
17499
17500 \begin_layout Standard
17501 \align center
17502 \begin_inset Graphics
17503         filename clipart/mobius.eps
17504         scale 70
17505
17506 \end_inset
17507
17508
17509 \end_layout
17510
17511 \begin_layout Standard
17512 If you need image captions or want to reference images, you have to put
17513  the image into a float, see section
17514 \begin_inset space ~
17515 \end_inset
17516
17517
17518 \begin_inset CommandInset ref
17519 LatexCommand ref
17520 reference "sub:Figure-Floats"
17521
17522 \end_inset
17523
17524 .
17525 \end_layout
17526
17527 \begin_layout Subsection
17528 Image Formats
17529 \begin_inset Index idx
17530 status collapsed
17531
17532 \begin_layout Plain Layout
17533 Images ! Formats
17534 \end_layout
17535
17536 \end_inset
17537
17538
17539 \begin_inset CommandInset label
17540 LatexCommand label
17541 name "sub:Image-Formats"
17542
17543 \end_inset
17544
17545
17546 \end_layout
17547
17548 \begin_layout Standard
17549 You can insert images in any known file format.
17550  But as we explained in section
17551 \begin_inset space ~
17552 \end_inset
17553
17554
17555 \begin_inset CommandInset ref
17556 LatexCommand ref
17557 reference "sub:Output-file-formats"
17558
17559 \end_inset
17560
17561 , every output document format allows only a few image formats.
17562  LyX therefore uses the program 
17563 \family typewriter
17564 ImageMagick
17565 \family default
17566  in the background to convert the images to the right format.
17567  To increase your workflow by avoiding these conversions in the background,
17568  use only the image formats listed in the subsections of section
17569 \begin_inset space ~
17570 \end_inset
17571
17572
17573 \begin_inset CommandInset ref
17574 LatexCommand ref
17575 reference "sub:Output-file-formats"
17576
17577 \end_inset
17578
17579 .
17580 \end_layout
17581
17582 \begin_layout Standard
17583 Similar to fonts there are two types of image formats:
17584 \end_layout
17585
17586 \begin_layout Description
17587 Bitmap
17588 \begin_inset space ~
17589 \end_inset
17590
17591 images consist of pixel values, often in a compressed form.
17592  They are therefore not fully scalable and look pixelated in large zooms.
17593  Well-known bitmap image formats are 
17594 \begin_inset Quotes eld
17595 \end_inset
17596
17597 Graphics Interchange Format
17598 \begin_inset Quotes erd
17599 \end_inset
17600
17601  (GIF, file extension 
17602 \begin_inset Quotes eld
17603 \end_inset
17604
17605
17606 \family typewriter
17607 .gif
17608 \family default
17609
17610 \begin_inset Quotes erd
17611 \end_inset
17612
17613 )
17614 \begin_inset Index idx
17615 status collapsed
17616
17617 \begin_layout Plain Layout
17618 GIF|see
17619 \begin_inset ERT
17620 status collapsed
17621
17622 \begin_layout Plain Layout
17623
17624 {
17625 \end_layout
17626
17627 \end_inset
17628
17629 Image formats
17630 \begin_inset ERT
17631 status collapsed
17632
17633 \begin_layout Plain Layout
17634
17635 }
17636 \end_layout
17637
17638 \end_inset
17639
17640
17641 \end_layout
17642
17643 \end_inset
17644
17645
17646 \begin_inset Quotes eld
17647 \end_inset
17648
17649 Portable Network Graphics
17650 \begin_inset Quotes erd
17651 \end_inset
17652
17653  (PNG, file extension 
17654 \begin_inset Quotes eld
17655 \end_inset
17656
17657
17658 \family typewriter
17659 .png
17660 \family default
17661
17662 \begin_inset Quotes erd
17663 \end_inset
17664
17665 )
17666 \begin_inset Index idx
17667 status collapsed
17668
17669 \begin_layout Plain Layout
17670 PNG|see
17671 \begin_inset ERT
17672 status collapsed
17673
17674 \begin_layout Plain Layout
17675
17676 {
17677 \end_layout
17678
17679 \end_inset
17680
17681 Image formats
17682 \begin_inset ERT
17683 status collapsed
17684
17685 \begin_layout Plain Layout
17686
17687 }
17688 \end_layout
17689
17690 \end_inset
17691
17692
17693 \end_layout
17694
17695 \end_inset
17696
17697 , and 
17698 \begin_inset Quotes eld
17699 \end_inset
17700
17701 Joint Photographic Experts Group
17702 \begin_inset Quotes erd
17703 \end_inset
17704
17705  (JPG, file extension 
17706 \begin_inset Quotes eld
17707 \end_inset
17708
17709
17710 \family typewriter
17711 .jpg
17712 \family default
17713
17714 \begin_inset Quotes erd
17715 \end_inset
17716
17717  or 
17718 \begin_inset Quotes eld
17719 \end_inset
17720
17721
17722 \family typewriter
17723 .jpeg
17724 \family default
17725
17726 \begin_inset Quotes erd
17727 \end_inset
17728
17729 )
17730 \begin_inset Index idx
17731 status collapsed
17732
17733 \begin_layout Plain Layout
17734 JPG|see
17735 \begin_inset ERT
17736 status collapsed
17737
17738 \begin_layout Plain Layout
17739
17740 {
17741 \end_layout
17742
17743 \end_inset
17744
17745 Image formats
17746 \begin_inset ERT
17747 status collapsed
17748
17749 \begin_layout Plain Layout
17750
17751 }
17752 \end_layout
17753
17754 \end_inset
17755
17756
17757 \end_layout
17758
17759 \end_inset
17760
17761 .
17762 \end_layout
17763
17764 \begin_layout Description
17765 Scalable
17766 \begin_inset space ~
17767 \end_inset
17768
17769 images consist of vectors and can therefore be scaled to any size without
17770  data loss.
17771  The scaling ability is desired if you want to create presentations, because
17772  presentations are always scaled by the beamer.
17773  Scaling is also useful for online documents to let the user zoom into diagrams.
17774 \begin_inset Newline newline
17775 \end_inset
17776
17777 Scalable image formats can be 
17778 \begin_inset Quotes eld
17779 \end_inset
17780
17781 Scalable Vector Graphics
17782 \begin_inset Quotes erd
17783 \end_inset
17784
17785  (SVG, file extension 
17786 \begin_inset Quotes eld
17787 \end_inset
17788
17789
17790 \family typewriter
17791 .svg
17792 \family default
17793
17794 \begin_inset Quotes erd
17795 \end_inset
17796
17797 )
17798 \begin_inset Index idx
17799 status collapsed
17800
17801 \begin_layout Plain Layout
17802 SVG|see
17803 \begin_inset ERT
17804 status collapsed
17805
17806 \begin_layout Plain Layout
17807
17808 {
17809 \end_layout
17810
17811 \end_inset
17812
17813 Image formats
17814 \begin_inset ERT
17815 status collapsed
17816
17817 \begin_layout Plain Layout
17818
17819 }
17820 \end_layout
17821
17822 \end_inset
17823
17824
17825 \end_layout
17826
17827 \end_inset
17828
17829
17830 \begin_inset Quotes eld
17831 \end_inset
17832
17833 Encapsulated PostScript
17834 \begin_inset Quotes erd
17835 \end_inset
17836
17837  (EPS, file extension 
17838 \begin_inset Quotes eld
17839 \end_inset
17840
17841
17842 \family typewriter
17843 .eps
17844 \family default
17845
17846 \begin_inset Quotes erd
17847 \end_inset
17848
17849 )
17850 \begin_inset Index idx
17851 status collapsed
17852
17853 \begin_layout Plain Layout
17854 EPS|see
17855 \begin_inset ERT
17856 status collapsed
17857
17858 \begin_layout Plain Layout
17859
17860 {
17861 \end_layout
17862
17863 \end_inset
17864
17865 Image formats
17866 \begin_inset ERT
17867 status collapsed
17868
17869 \begin_layout Plain Layout
17870
17871 }
17872 \end_layout
17873
17874 \end_inset
17875
17876
17877 \end_layout
17878
17879 \end_inset
17880
17881 , and 
17882 \begin_inset Quotes eld
17883 \end_inset
17884
17885 Portable Document Format
17886 \begin_inset Quotes erd
17887 \end_inset
17888
17889  (PDF, file extension 
17890 \begin_inset Quotes eld
17891 \end_inset
17892
17893
17894 \family typewriter
17895 .pdf
17896 \family default
17897
17898 \begin_inset Quotes erd
17899 \end_inset
17900
17901 )
17902 \begin_inset Index idx
17903 status collapsed
17904
17905 \begin_layout Plain Layout
17906 PDF
17907 \end_layout
17908
17909 \end_inset
17910
17911 .
17912  We say 
17913 \begin_inset Quotes eld
17914 \end_inset
17915
17916 can be
17917 \begin_inset Quotes erd
17918 \end_inset
17919
17920 , because you can convert any bitmap image format to PDF or EPS and the
17921  result will not be scalable.
17922  In this case only a header with the image properties is added to the original
17923  image.
17924 \begin_inset Foot
17925 status collapsed
17926
17927 \begin_layout Plain Layout
17928 In the case of PDF, the original image is additionally compressed.
17929 \end_layout
17930
17931 \end_inset
17932
17933
17934 \end_layout
17935
17936 \begin_layout Standard
17937 Normally one cannot convert a bitmap image into a scalable one, only 
17938 \emph on
17939 vice versa
17940 \emph default
17941 .
17942 \end_layout
17943
17944 \begin_layout Subsection
17945 Grouping of Image Settings
17946 \begin_inset Index idx
17947 status collapsed
17948
17949 \begin_layout Plain Layout
17950 Images ! Settings grouping
17951 \end_layout
17952
17953 \end_inset
17954
17955
17956 \end_layout
17957
17958 \begin_layout Standard
17959 Each image can define a new group of image settings or join an existing
17960  group.
17961  Images within such a group share their settings, so adjusting one image
17962  of the group automatically also adjusts all other images of the group in
17963  the same way.
17964  So you can for example change the size for a bunch of images without the
17965  need to manually change each of them.
17966  
17967 \end_layout
17968
17969 \begin_layout Standard
17970 A new group can be set by pressing the button 
17971 \family sans
17972 Open
17973 \begin_inset space ~
17974 \end_inset
17975
17976 new
17977 \begin_inset space ~
17978 \end_inset
17979
17980 group
17981 \family default
17982  in the
17983 \family sans
17984  Graphics
17985 \family default
17986  dialog in the 
17987 \family sans
17988 LaT
17989 \begin_inset ERT
17990 status collapsed
17991
17992 \begin_layout Plain Layout
17993
17994 {}
17995 \end_layout
17996
17997 \end_inset
17998
17999 eX
18000 \begin_inset space ~
18001 \end_inset
18002
18003 and
18004 \begin_inset space ~
18005 \end_inset
18006
18007 Ly
18008 \begin_inset ERT
18009 status collapsed
18010
18011 \begin_layout Plain Layout
18012
18013 {}
18014 \end_layout
18015
18016 \end_inset
18017
18018 X options
18019 \family default
18020  tab.
18021  Joining an existing group can be done using the context menu of the image
18022  and checking the name of the desired group.
18023 \end_layout
18024
18025 \begin_layout Section
18026 Tables
18027 \begin_inset Index idx
18028 status collapsed
18029
18030 \begin_layout Plain Layout
18031 Tables
18032 \end_layout
18033
18034 \end_inset
18035
18036
18037 \begin_inset CommandInset label
18038 LatexCommand label
18039 name "sec:Tables"
18040
18041 \end_inset
18042
18043
18044 \end_layout
18045
18046 \begin_layout Standard
18047 You can insert a table using either the toolbar button 
18048 \begin_inset Info
18049 type  "icon"
18050 arg   "tabular-insert"
18051 \end_inset
18052
18053  or the menu 
18054 \family sans
18055 Insert\SpecialChar \menuseparator
18056 Table
18057 \family default
18058 .
18059  A dialog will appear, asking you for the number of rows and columns.
18060  The default table has lines around any cell and the first row appears separated
18061  from the rest of the table.
18062  This separation appears due to a double line: The cells of the first row
18063  have a line below them and the cells of the second row have a line above
18064  them.
18065  Here is an example table:
18066 \end_layout
18067
18068 \begin_layout Standard
18069 \align center
18070 \begin_inset Tabular
18071 <lyxtabular version="3" rows="4" columns="4">
18072 <features rotate="0" tabularvalignment="middle">
18073 <column alignment="center" valignment="top" width="0pt">
18074 <column alignment="center" valignment="top" width="0pt">
18075 <column alignment="center" valignment="top" width="0in">
18076 <column alignment="center" valignment="top" width="0pt">
18077 <row>
18078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18079 \begin_inset Text
18080
18081 \begin_layout Plain Layout
18082
18083 \end_layout
18084
18085 \end_inset
18086 </cell>
18087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18088 \begin_inset Text
18089
18090 \begin_layout Plain Layout
18091
18092 \family roman
18093 \series medium
18094 \shape up
18095 \size normal
18096 \emph off
18097 \bar no
18098 \noun off
18099 \color none
18100 1
18101 \end_layout
18102
18103 \end_inset
18104 </cell>
18105 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18106 \begin_inset Text
18107
18108 \begin_layout Plain Layout
18109 2
18110 \end_layout
18111
18112 \end_inset
18113 </cell>
18114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18115 \begin_inset Text
18116
18117 \begin_layout Plain Layout
18118 3
18119 \end_layout
18120
18121 \end_inset
18122 </cell>
18123 </row>
18124 <row>
18125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18126 \begin_inset Text
18127
18128 \begin_layout Plain Layout
18129
18130 \family roman
18131 \series medium
18132 \shape up
18133 \size normal
18134 \emph off
18135 \bar no
18136 \noun off
18137 \color none
18138 A
18139 \end_layout
18140
18141 \end_inset
18142 </cell>
18143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18144 \begin_inset Text
18145
18146 \begin_layout Plain Layout
18147
18148 \end_layout
18149
18150 \end_inset
18151 </cell>
18152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18153 \begin_inset Text
18154
18155 \begin_layout Plain Layout
18156
18157 \end_layout
18158
18159 \end_inset
18160 </cell>
18161 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18162 \begin_inset Text
18163
18164 \begin_layout Plain Layout
18165
18166 \end_layout
18167
18168 \end_inset
18169 </cell>
18170 </row>
18171 <row>
18172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18173 \begin_inset Text
18174
18175 \begin_layout Plain Layout
18176
18177 \family roman
18178 \series medium
18179 \shape up
18180 \size normal
18181 \emph off
18182 \bar no
18183 \noun off
18184 \color none
18185 B
18186 \end_layout
18187
18188 \end_inset
18189 </cell>
18190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18191 \begin_inset Text
18192
18193 \begin_layout Plain Layout
18194
18195 \end_layout
18196
18197 \end_inset
18198 </cell>
18199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18200 \begin_inset Text
18201
18202 \begin_layout Plain Layout
18203
18204 \size normal
18205 \noun off
18206 \color none
18207  
18208 \end_layout
18209
18210 \end_inset
18211 </cell>
18212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18213 \begin_inset Text
18214
18215 \begin_layout Plain Layout
18216
18217 \end_layout
18218
18219 \end_inset
18220 </cell>
18221 </row>
18222 <row>
18223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18224 \begin_inset Text
18225
18226 \begin_layout Plain Layout
18227
18228 \family roman
18229 \series medium
18230 \shape up
18231 \size normal
18232 \emph off
18233 \bar no
18234 \noun off
18235 \color none
18236 C
18237 \end_layout
18238
18239 \end_inset
18240 </cell>
18241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18242 \begin_inset Text
18243
18244 \begin_layout Plain Layout
18245
18246 \end_layout
18247
18248 \end_inset
18249 </cell>
18250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18251 \begin_inset Text
18252
18253 \begin_layout Plain Layout
18254
18255 \end_layout
18256
18257 \end_inset
18258 </cell>
18259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18260 \begin_inset Text
18261
18262 \begin_layout Plain Layout
18263
18264 \end_layout
18265
18266 \end_inset
18267 </cell>
18268 </row>
18269 </lyxtabular>
18270
18271 \end_inset
18272
18273
18274 \end_layout
18275
18276 \begin_layout Subsection
18277 The Table dialog
18278 \end_layout
18279
18280 \begin_layout Standard
18281 You can alter a table by clicking on it with the right mouse button and
18282  then choosing 
18283 \family sans
18284 More\SpecialChar \menuseparator
18285 Settings
18286 \family default
18287 .
18288  This brings up the table dialog.
18289  Here you can adjust the settings of the cell, row and/or column where the
18290  cursor is placed currently.
18291  Most of the dialog options also work on selections.
18292  This means that if you select more cells, columns or rows the action is
18293  done on all of your selection.
18294 \end_layout
18295
18296 \begin_layout Standard
18297 In addition to the table dialog, the 
18298 \family sans
18299 table
18300 \begin_inset space ~
18301 \end_inset
18302
18303 toolbar
18304 \family default
18305  helps you in setting table properties.
18306  It appears if the cursor is inside a table.
18307 \end_layout
18308
18309 \begin_layout Standard
18310 In the tab 
18311 \family sans
18312 Table
18313 \begin_inset space ~
18314 \end_inset
18315
18316 Settings
18317 \family default
18318  of the table dialog you can set the alignment for the current row.
18319  If you add a row or column, it will be inserted right beside or below the
18320  current cell respectively.
18321  The vertical alignment of a column can only be adjusted when a column width
18322  is given.
18323  A given width will allow the cell to have line breaks and multiple paragraphs
18324  of text, see section
18325 \begin_inset space ~
18326 \end_inset
18327
18328
18329 \begin_inset CommandInset ref
18330 LatexCommand ref
18331 reference "sub:Table-Cells"
18332
18333 \end_inset
18334
18335 .
18336 \end_layout
18337
18338 \begin_layout Standard
18339 You can mark multiple cells of one row/column as a multicolumn/row cell
18340  using the check box 
18341 \family sans
18342 Multicolumn
18343 \family default
18344  or 
18345 \family sans
18346 Multirow
18347 \family default
18348 .
18349  This will merge the cells to 
18350 \emph on
18351 one
18352 \emph default
18353  cell, spread over more than one column/row.
18354  Multicolumn cells are treated as own rows, so that the alignment, width,
18355  and border settings affect only the multicolumn cell.
18356  Here is an example table with a multicolumn cell in the first row and one
18357  in the last row without the upper border:
18358 \end_layout
18359
18360 \begin_layout Standard
18361 \align center
18362 \begin_inset Tabular
18363 <lyxtabular version="3" rows="3" columns="4">
18364 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
18365 <column alignment="center" valignment="top" width="0pt">
18366 <column alignment="center" valignment="middle">
18367 <column alignment="center" valignment="top" width="0in">
18368 <column alignment="center" valignment="top" width="0pt">
18369 <row>
18370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18371 \begin_inset Text
18372
18373 \begin_layout Plain Layout
18374 abc
18375 \end_layout
18376
18377 \end_inset
18378 </cell>
18379 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
18380 \begin_inset Text
18381
18382 \begin_layout Plain Layout
18383 def ghi
18384 \end_layout
18385
18386 \end_inset
18387 </cell>
18388 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18389 \begin_inset Text
18390
18391 \begin_layout Plain Layout
18392
18393 \end_layout
18394
18395 \end_inset
18396 </cell>
18397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18398 \begin_inset Text
18399
18400 \begin_layout Plain Layout
18401 jkl
18402 \end_layout
18403
18404 \end_inset
18405 </cell>
18406 </row>
18407 <row>
18408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18409 \begin_inset Text
18410
18411 \begin_layout Plain Layout
18412
18413 \family roman
18414 \series medium
18415 \shape up
18416 \size normal
18417 \emph off
18418 \bar no
18419 \noun off
18420 \color none
18421 A
18422 \end_layout
18423
18424 \end_inset
18425 </cell>
18426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18427 \begin_inset Text
18428
18429 \begin_layout Plain Layout
18430 B
18431 \end_layout
18432
18433 \end_inset
18434 </cell>
18435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18436 \begin_inset Text
18437
18438 \begin_layout Plain Layout
18439 C
18440 \end_layout
18441
18442 \end_inset
18443 </cell>
18444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18445 \begin_inset Text
18446
18447 \begin_layout Plain Layout
18448 D
18449 \end_layout
18450
18451 \end_inset
18452 </cell>
18453 </row>
18454 <row>
18455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18456 \begin_inset Text
18457
18458 \begin_layout Plain Layout
18459 1
18460 \end_layout
18461
18462 \end_inset
18463 </cell>
18464 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18465 \begin_inset Text
18466
18467 \begin_layout Plain Layout
18468 2
18469 \end_layout
18470
18471 \end_inset
18472 </cell>
18473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18474 \begin_inset Text
18475
18476 \begin_layout Plain Layout
18477 3
18478 \end_layout
18479
18480 \end_inset
18481 </cell>
18482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18483 \begin_inset Text
18484
18485 \begin_layout Plain Layout
18486 4
18487 \end_layout
18488
18489 \end_inset
18490 </cell>
18491 </row>
18492 </lyxtabular>
18493
18494 \end_inset
18495
18496
18497 \end_layout
18498
18499 \begin_layout Standard
18500 Adept users can declare special LaTeX-arguments for the table.
18501  They are necessary for special table formatting, such as the multirow cells,
18502  explained in the chapter 
18503 \emph on
18504 Tables
18505 \emph default
18506  of the 
18507 \emph on
18508 Embedded
18509 \begin_inset space ~
18510 \end_inset
18511
18512 Objects
18513 \emph default
18514  manual.
18515  You can also rotate the current cell or the whole table 90
18516 \begin_inset space \thinspace{}
18517 \end_inset
18518
18519 degrees counterclockwise.
18520  These rotations are not visible in LyX but are visible in the output.
18521 \end_layout
18522
18523 \begin_layout Standard
18524 \begin_inset Note Greyedout
18525 status open
18526
18527 \begin_layout Plain Layout
18528
18529 \series bold
18530 Note:
18531 \series default
18532  Most DVI-viewers are 
18533 \emph on
18534 not
18535 \emph default
18536  able to display rotations.
18537 \end_layout
18538
18539 \end_inset
18540
18541
18542 \end_layout
18543
18544 \begin_layout Standard
18545 The 
18546 \family sans
18547 Borders
18548 \family default
18549  tab allows you to add and delete border lines for the current row/column.
18550  The button 
18551 \family sans
18552 Default
18553 \family default
18554  adds lines for all cell borders.
18555 \end_layout
18556
18557 \begin_layout Subsection
18558 Longtables
18559 \begin_inset Index idx
18560 status collapsed
18561
18562 \begin_layout Plain Layout
18563 Tables ! Longtables
18564 \end_layout
18565
18566 \end_inset
18567
18568
18569 \begin_inset Index idx
18570 status collapsed
18571
18572 \begin_layout Plain Layout
18573 Longtables
18574 \end_layout
18575
18576 \end_inset
18577
18578
18579 \end_layout
18580
18581 \begin_layout Standard
18582 If the table is too long to fit on one page, you can use the option 
18583 \family sans
18584 Use
18585 \begin_inset space ~
18586 \end_inset
18587
18588 long
18589 \begin_inset space ~
18590 \end_inset
18591
18592 table
18593 \family default
18594  in the tab 
18595 \family sans
18596 Longtable
18597 \family default
18598  of the table dialog to split the table automatically over more pages.
18599  Doing this enables some check boxes and you can now define:
18600 \end_layout
18601
18602 \begin_layout Description
18603
18604 \family sans
18605 Header
18606 \family default
18607 : The current row and all rows above, that don't have any special options
18608  defined, are defined to be the header rows of all pages of the longtable.
18609  except for the first page, if 
18610 \family sans
18611 First
18612 \begin_inset space ~
18613 \end_inset
18614
18615 header
18616 \family default
18617  is defined.
18618 \end_layout
18619
18620 \begin_layout Description
18621
18622 \family sans
18623 First
18624 \begin_inset space ~
18625 \end_inset
18626
18627 header
18628 \family default
18629 : The current row and all rows above, that don't have any special options
18630  defined, are defined to be the header rows of the first page of the longtable.
18631 \end_layout
18632
18633 \begin_layout Description
18634
18635 \family sans
18636 Footer
18637 \family default
18638 : The current row and all rows below, that don't have any special options
18639  defined, are defined to be the footer rows of all pages of the longtable,
18640  except for the last page, if 
18641 \family sans
18642 Last
18643 \begin_inset space ~
18644 \end_inset
18645
18646 footer
18647 \family default
18648  is defined.
18649 \end_layout
18650
18651 \begin_layout Description
18652
18653 \family sans
18654 Last
18655 \begin_inset space ~
18656 \end_inset
18657
18658 footer
18659 \family default
18660 : The current row and all rows below, that don't have any special options
18661  defined, are defined to be the footer rows of the last page of the longtable.
18662 \end_layout
18663
18664 \begin_layout Description
18665 Caption: The first row is reset as a single column.
18666  You can now insert there the table caption via the menu 
18667 \family sans
18668 Insert\SpecialChar \menuseparator
18669 Caption
18670 \family default
18671 .
18672  More about longtable captions can be found in the 
18673 \emph on
18674 Embedded
18675 \begin_inset space ~
18676 \end_inset
18677
18678 Objects
18679 \emph default
18680  manual.
18681 \end_layout
18682
18683 \begin_layout Standard
18684 You can also specify a row where the table is split.
18685  If you set more than one option in the same table row, you should be aware
18686  that then only the first option is used; the others will be defined as
18687  
18688 \emph on
18689 empty
18690 \emph default
18691 .
18692  In this context, first means first in this order: 
18693 \family sans
18694 Footer, Last
18695 \begin_inset space ~
18696 \end_inset
18697
18698 footer,
18699 \family default
18700  
18701 \family sans
18702 Header,
18703 \family default
18704  
18705 \family sans
18706 First
18707 \begin_inset space ~
18708 \end_inset
18709
18710 header
18711 \family default
18712 ; see the following longtable to see how it works:
18713 \end_layout
18714
18715 \begin_layout Standard
18716 \align center
18717 \begin_inset Tabular
18718 <lyxtabular version="3" rows="69" columns="3">
18719 <features rotate="0" islongtable="true" longtabularalignment="center">
18720 <column alignment="block" valignment="top" width="5cm">
18721 <column alignment="left" valignment="top" width="0pt">
18722 <column alignment="right" valignment="top" width="0pt">
18723 <row endfirsthead="true">
18724 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18725 \begin_inset Text
18726
18727 \begin_layout Plain Layout
18728
18729 \series bold
18730 Example Phone List (ignore the names)
18731 \end_layout
18732
18733 \end_inset
18734 </cell>
18735 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18736 \begin_inset Text
18737
18738 \begin_layout Plain Layout
18739
18740 \end_layout
18741
18742 \end_inset
18743 </cell>
18744 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18745 \begin_inset Text
18746
18747 \begin_layout Plain Layout
18748
18749 \end_layout
18750
18751 \end_inset
18752 </cell>
18753 </row>
18754 <row endfirsthead="true">
18755 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18756 \begin_inset Text
18757
18758 \begin_layout Plain Layout
18759
18760 \series bold
18761 NAME
18762 \end_layout
18763
18764 \end_inset
18765 </cell>
18766 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18767 \begin_inset Text
18768
18769 \begin_layout Plain Layout
18770
18771 \end_layout
18772
18773 \end_inset
18774 </cell>
18775 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18776 \begin_inset Text
18777
18778 \begin_layout Plain Layout
18779
18780 \series bold
18781 TEL.
18782 \end_layout
18783
18784 \end_inset
18785 </cell>
18786 </row>
18787 <row endhead="true">
18788 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18789 \begin_inset Text
18790
18791 \begin_layout Plain Layout
18792  
18793 \series bold
18794 Example Phone List
18795 \end_layout
18796
18797 \end_inset
18798 </cell>
18799 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18800 \begin_inset Text
18801
18802 \begin_layout Plain Layout
18803
18804 \end_layout
18805
18806 \end_inset
18807 </cell>
18808 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18809 \begin_inset Text
18810
18811 \begin_layout Plain Layout
18812
18813 \end_layout
18814
18815 \end_inset
18816 </cell>
18817 </row>
18818 <row endhead="true">
18819 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18820 \begin_inset Text
18821
18822 \begin_layout Plain Layout
18823
18824 \series bold
18825 NAME
18826 \end_layout
18827
18828 \end_inset
18829 </cell>
18830 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18831 \begin_inset Text
18832
18833 \begin_layout Plain Layout
18834
18835 \end_layout
18836
18837 \end_inset
18838 </cell>
18839 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18840 \begin_inset Text
18841
18842 \begin_layout Plain Layout
18843
18844 \series bold
18845 TEL.
18846 \end_layout
18847
18848 \end_inset
18849 </cell>
18850 </row>
18851 <row endfoot="true">
18852 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18853 \begin_inset Text
18854
18855 \begin_layout Plain Layout
18856  
18857 \series bold
18858 continue ...
18859 \end_layout
18860
18861 \end_inset
18862 </cell>
18863 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18864 \begin_inset Text
18865
18866 \begin_layout Plain Layout
18867
18868 \end_layout
18869
18870 \end_inset
18871 </cell>
18872 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18873 \begin_inset Text
18874
18875 \begin_layout Plain Layout
18876
18877 \end_layout
18878
18879 \end_inset
18880 </cell>
18881 </row>
18882 <row>
18883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18884 \begin_inset Text
18885
18886 \begin_layout Plain Layout
18887
18888 \series bold
18889 Annovi
18890 \end_layout
18891
18892 \end_inset
18893 </cell>
18894 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18895 \begin_inset Text
18896
18897 \begin_layout Plain Layout
18898 Silvia
18899 \end_layout
18900
18901 \end_inset
18902 </cell>
18903 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18904 \begin_inset Text
18905
18906 \begin_layout Plain Layout
18907 111
18908 \end_layout
18909
18910 \end_inset
18911 </cell>
18912 </row>
18913 <row>
18914 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18915 \begin_inset Text
18916
18917 \begin_layout Plain Layout
18918
18919 \series bold
18920 Bertoli
18921 \end_layout
18922
18923 \end_inset
18924 </cell>
18925 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18926 \begin_inset Text
18927
18928 \begin_layout Plain Layout
18929 Stefano
18930 \end_layout
18931
18932 \end_inset
18933 </cell>
18934 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18935 \begin_inset Text
18936
18937 \begin_layout Plain Layout
18938 111
18939 \end_layout
18940
18941 \end_inset
18942 </cell>
18943 </row>
18944 <row>
18945 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18946 \begin_inset Text
18947
18948 \begin_layout Plain Layout
18949
18950 \series bold
18951 Bozzi
18952 \end_layout
18953
18954 \end_inset
18955 </cell>
18956 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18957 \begin_inset Text
18958
18959 \begin_layout Plain Layout
18960 Walter
18961 \end_layout
18962
18963 \end_inset
18964 </cell>
18965 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18966 \begin_inset Text
18967
18968 \begin_layout Plain Layout
18969 111
18970 \end_layout
18971
18972 \end_inset
18973 </cell>
18974 </row>
18975 <row>
18976 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18977 \begin_inset Text
18978
18979 \begin_layout Plain Layout
18980
18981 \series bold
18982 Cachia
18983 \end_layout
18984
18985 \end_inset
18986 </cell>
18987 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18988 \begin_inset Text
18989
18990 \begin_layout Plain Layout
18991 Maria
18992 \end_layout
18993
18994 \end_inset
18995 </cell>
18996 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18997 \begin_inset Text
18998
18999 \begin_layout Plain Layout
19000 111
19001 \end_layout
19002
19003 \end_inset
19004 </cell>
19005 </row>
19006 <row>
19007 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19008 \begin_inset Text
19009
19010 \begin_layout Plain Layout
19011
19012 \series bold
19013 Cachia
19014 \end_layout
19015
19016 \end_inset
19017 </cell>
19018 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19019 \begin_inset Text
19020
19021 \begin_layout Plain Layout
19022 Maurizio
19023 \end_layout
19024
19025 \end_inset
19026 </cell>
19027 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19028 \begin_inset Text
19029
19030 \begin_layout Plain Layout
19031 111
19032 \end_layout
19033
19034 \end_inset
19035 </cell>
19036 </row>
19037 <row>
19038 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19039 \begin_inset Text
19040
19041 \begin_layout Plain Layout
19042
19043 \series bold
19044 Cinquemani
19045 \end_layout
19046
19047 \end_inset
19048 </cell>
19049 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19050 \begin_inset Text
19051
19052 \begin_layout Plain Layout
19053 Giusi
19054 \end_layout
19055
19056 \end_inset
19057 </cell>
19058 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19059 \begin_inset Text
19060
19061 \begin_layout Plain Layout
19062 111
19063 \end_layout
19064
19065 \end_inset
19066 </cell>
19067 </row>
19068 <row>
19069 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19070 \begin_inset Text
19071
19072 \begin_layout Plain Layout
19073
19074 \series bold
19075 Colin
19076 \end_layout
19077
19078 \end_inset
19079 </cell>
19080 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19081 \begin_inset Text
19082
19083 \begin_layout Plain Layout
19084 Bernard
19085 \end_layout
19086
19087 \end_inset
19088 </cell>
19089 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19090 \begin_inset Text
19091
19092 \begin_layout Plain Layout
19093 111
19094 \end_layout
19095
19096 \end_inset
19097 </cell>
19098 </row>
19099 <row>
19100 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19101 \begin_inset Text
19102
19103 \begin_layout Plain Layout
19104
19105 \series bold
19106 Concli
19107 \end_layout
19108
19109 \end_inset
19110 </cell>
19111 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19112 \begin_inset Text
19113
19114 \begin_layout Plain Layout
19115 Gianfranco
19116 \end_layout
19117
19118 \end_inset
19119 </cell>
19120 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19121 \begin_inset Text
19122
19123 \begin_layout Plain Layout
19124 111
19125 \end_layout
19126
19127 \end_inset
19128 </cell>
19129 </row>
19130 <row>
19131 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19132 \begin_inset Text
19133
19134 \begin_layout Plain Layout
19135
19136 \series bold
19137 Dal Bosco
19138 \end_layout
19139
19140 \end_inset
19141 </cell>
19142 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19143 \begin_inset Text
19144
19145 \begin_layout Plain Layout
19146 Carolina
19147 \end_layout
19148
19149 \end_inset
19150 </cell>
19151 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19152 \begin_inset Text
19153
19154 \begin_layout Plain Layout
19155 111
19156 \end_layout
19157
19158 \end_inset
19159 </cell>
19160 </row>
19161 <row>
19162 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19163 \begin_inset Text
19164
19165 \begin_layout Plain Layout
19166
19167 \series bold
19168 Dalpiaz
19169 \end_layout
19170
19171 \end_inset
19172 </cell>
19173 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19174 \begin_inset Text
19175
19176 \begin_layout Plain Layout
19177 Annamaria
19178 \end_layout
19179
19180 \end_inset
19181 </cell>
19182 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19183 \begin_inset Text
19184
19185 \begin_layout Plain Layout
19186 111
19187 \end_layout
19188
19189 \end_inset
19190 </cell>
19191 </row>
19192 <row>
19193 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19194 \begin_inset Text
19195
19196 \begin_layout Plain Layout
19197
19198 \series bold
19199 Feliciello
19200 \end_layout
19201
19202 \end_inset
19203 </cell>
19204 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19205 \begin_inset Text
19206
19207 \begin_layout Plain Layout
19208 Domenico
19209 \end_layout
19210
19211 \end_inset
19212 </cell>
19213 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19214 \begin_inset Text
19215
19216 \begin_layout Plain Layout
19217 111
19218 \end_layout
19219
19220 \end_inset
19221 </cell>
19222 </row>
19223 <row>
19224 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19225 \begin_inset Text
19226
19227 \begin_layout Plain Layout
19228
19229 \series bold
19230 Focarelli
19231 \end_layout
19232
19233 \end_inset
19234 </cell>
19235 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19236 \begin_inset Text
19237
19238 \begin_layout Plain Layout
19239 Paola
19240 \end_layout
19241
19242 \end_inset
19243 </cell>
19244 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19245 \begin_inset Text
19246
19247 \begin_layout Plain Layout
19248 111
19249 \end_layout
19250
19251 \end_inset
19252 </cell>
19253 </row>
19254 <row>
19255 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19256 \begin_inset Text
19257
19258 \begin_layout Plain Layout
19259
19260 \series bold
19261 Galletti
19262 \end_layout
19263
19264 \end_inset
19265 </cell>
19266 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19267 \begin_inset Text
19268
19269 \begin_layout Plain Layout
19270 Oreste
19271 \end_layout
19272
19273 \end_inset
19274 </cell>
19275 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19276 \begin_inset Text
19277
19278 \begin_layout Plain Layout
19279 111
19280 \end_layout
19281
19282 \end_inset
19283 </cell>
19284 </row>
19285 <row>
19286 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19287 \begin_inset Text
19288
19289 \begin_layout Plain Layout
19290
19291 \series bold
19292 Gasparini
19293 \end_layout
19294
19295 \end_inset
19296 </cell>
19297 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19298 \begin_inset Text
19299
19300 \begin_layout Plain Layout
19301 Franca
19302 \end_layout
19303
19304 \end_inset
19305 </cell>
19306 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19307 \begin_inset Text
19308
19309 \begin_layout Plain Layout
19310 111
19311 \end_layout
19312
19313 \end_inset
19314 </cell>
19315 </row>
19316 <row>
19317 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19318 \begin_inset Text
19319
19320 \begin_layout Plain Layout
19321
19322 \series bold
19323 Rizzardi
19324 \end_layout
19325
19326 \end_inset
19327 </cell>
19328 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19329 \begin_inset Text
19330
19331 \begin_layout Plain Layout
19332 Paola
19333 \end_layout
19334
19335 \end_inset
19336 </cell>
19337 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19338 \begin_inset Text
19339
19340 \begin_layout Plain Layout
19341 111
19342 \end_layout
19343
19344 \end_inset
19345 </cell>
19346 </row>
19347 <row>
19348 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19349 \begin_inset Text
19350
19351 \begin_layout Plain Layout
19352
19353 \series bold
19354 Lassini
19355 \end_layout
19356
19357 \end_inset
19358 </cell>
19359 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19360 \begin_inset Text
19361
19362 \begin_layout Plain Layout
19363 Giancarlo
19364 \end_layout
19365
19366 \end_inset
19367 </cell>
19368 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19369 \begin_inset Text
19370
19371 \begin_layout Plain Layout
19372 111
19373 \end_layout
19374
19375 \end_inset
19376 </cell>
19377 </row>
19378 <row>
19379 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19380 \begin_inset Text
19381
19382 \begin_layout Plain Layout
19383
19384 \series bold
19385 Malfatti
19386 \end_layout
19387
19388 \end_inset
19389 </cell>
19390 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19391 \begin_inset Text
19392
19393 \begin_layout Plain Layout
19394 Luciano
19395 \end_layout
19396
19397 \end_inset
19398 </cell>
19399 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19400 \begin_inset Text
19401
19402 \begin_layout Plain Layout
19403 111
19404 \end_layout
19405
19406 \end_inset
19407 </cell>
19408 </row>
19409 <row>
19410 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19411 \begin_inset Text
19412
19413 \begin_layout Plain Layout
19414
19415 \series bold
19416 Malfatti
19417 \end_layout
19418
19419 \end_inset
19420 </cell>
19421 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19422 \begin_inset Text
19423
19424 \begin_layout Plain Layout
19425 Valeriano
19426 \end_layout
19427
19428 \end_inset
19429 </cell>
19430 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19431 \begin_inset Text
19432
19433 \begin_layout Plain Layout
19434 111
19435 \end_layout
19436
19437 \end_inset
19438 </cell>
19439 </row>
19440 <row>
19441 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19442 \begin_inset Text
19443
19444 \begin_layout Plain Layout
19445
19446 \series bold
19447 Meneguzzo
19448 \end_layout
19449
19450 \end_inset
19451 </cell>
19452 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19453 \begin_inset Text
19454
19455 \begin_layout Plain Layout
19456 Roberto
19457 \end_layout
19458
19459 \end_inset
19460 </cell>
19461 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19462 \begin_inset Text
19463
19464 \begin_layout Plain Layout
19465 111
19466 \end_layout
19467
19468 \end_inset
19469 </cell>
19470 </row>
19471 <row>
19472 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19473 \begin_inset Text
19474
19475 \begin_layout Plain Layout
19476
19477 \series bold
19478 Mezzadra
19479 \end_layout
19480
19481 \end_inset
19482 </cell>
19483 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19484 \begin_inset Text
19485
19486 \begin_layout Plain Layout
19487 Roberto
19488 \end_layout
19489
19490 \end_inset
19491 </cell>
19492 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19493 \begin_inset Text
19494
19495 \begin_layout Plain Layout
19496 111
19497 \end_layout
19498
19499 \end_inset
19500 </cell>
19501 </row>
19502 <row>
19503 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19504 \begin_inset Text
19505
19506 \begin_layout Plain Layout
19507
19508 \series bold
19509 Pirpamer
19510 \end_layout
19511
19512 \end_inset
19513 </cell>
19514 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19515 \begin_inset Text
19516
19517 \begin_layout Plain Layout
19518 Erich
19519 \end_layout
19520
19521 \end_inset
19522 </cell>
19523 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19524 \begin_inset Text
19525
19526 \begin_layout Plain Layout
19527 111
19528 \end_layout
19529
19530 \end_inset
19531 </cell>
19532 </row>
19533 <row>
19534 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19535 \begin_inset Text
19536
19537 \begin_layout Plain Layout
19538
19539 \series bold
19540 Pochiesa
19541 \end_layout
19542
19543 \end_inset
19544 </cell>
19545 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19546 \begin_inset Text
19547
19548 \begin_layout Plain Layout
19549 Paolo
19550 \end_layout
19551
19552 \end_inset
19553 </cell>
19554 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19555 \begin_inset Text
19556
19557 \begin_layout Plain Layout
19558 111, 222
19559 \end_layout
19560
19561 \end_inset
19562 </cell>
19563 </row>
19564 <row>
19565 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19566 \begin_inset Text
19567
19568 \begin_layout Plain Layout
19569
19570 \series bold
19571 Radina
19572 \end_layout
19573
19574 \end_inset
19575 </cell>
19576 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19577 \begin_inset Text
19578
19579 \begin_layout Plain Layout
19580 Claudio
19581 \end_layout
19582
19583 \end_inset
19584 </cell>
19585 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19586 \begin_inset Text
19587
19588 \begin_layout Plain Layout
19589 111
19590 \end_layout
19591
19592 \end_inset
19593 </cell>
19594 </row>
19595 <row>
19596 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19597 \begin_inset Text
19598
19599 \begin_layout Plain Layout
19600
19601 \series bold
19602 Stuffer
19603 \end_layout
19604
19605 \end_inset
19606 </cell>
19607 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19608 \begin_inset Text
19609
19610 \begin_layout Plain Layout
19611 Oskar
19612 \end_layout
19613
19614 \end_inset
19615 </cell>
19616 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19617 \begin_inset Text
19618
19619 \begin_layout Plain Layout
19620 111
19621 \end_layout
19622
19623 \end_inset
19624 </cell>
19625 </row>
19626 <row>
19627 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19628 \begin_inset Text
19629
19630 \begin_layout Plain Layout
19631
19632 \series bold
19633 Tacchelli
19634 \end_layout
19635
19636 \end_inset
19637 </cell>
19638 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19639 \begin_inset Text
19640
19641 \begin_layout Plain Layout
19642 Ugo
19643 \end_layout
19644
19645 \end_inset
19646 </cell>
19647 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19648 \begin_inset Text
19649
19650 \begin_layout Plain Layout
19651 111
19652 \end_layout
19653
19654 \end_inset
19655 </cell>
19656 </row>
19657 <row>
19658 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19659 \begin_inset Text
19660
19661 \begin_layout Plain Layout
19662
19663 \series bold
19664 Tezzele
19665 \end_layout
19666
19667 \end_inset
19668 </cell>
19669 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19670 \begin_inset Text
19671
19672 \begin_layout Plain Layout
19673 Margit
19674 \end_layout
19675
19676 \end_inset
19677 </cell>
19678 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19679 \begin_inset Text
19680
19681 \begin_layout Plain Layout
19682 111
19683 \end_layout
19684
19685 \end_inset
19686 </cell>
19687 </row>
19688 <row>
19689 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19690 \begin_inset Text
19691
19692 \begin_layout Plain Layout
19693
19694 \series bold
19695 Unterkalmsteiner
19696 \end_layout
19697
19698 \end_inset
19699 </cell>
19700 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19701 \begin_inset Text
19702
19703 \begin_layout Plain Layout
19704 Frieda
19705 \end_layout
19706
19707 \end_inset
19708 </cell>
19709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19710 \begin_inset Text
19711
19712 \begin_layout Plain Layout
19713 111
19714 \end_layout
19715
19716 \end_inset
19717 </cell>
19718 </row>
19719 <row>
19720 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19721 \begin_inset Text
19722
19723 \begin_layout Plain Layout
19724
19725 \series bold
19726 Vieider
19727 \end_layout
19728
19729 \end_inset
19730 </cell>
19731 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19732 \begin_inset Text
19733
19734 \begin_layout Plain Layout
19735 Hilde
19736 \end_layout
19737
19738 \end_inset
19739 </cell>
19740 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19741 \begin_inset Text
19742
19743 \begin_layout Plain Layout
19744 111
19745 \end_layout
19746
19747 \end_inset
19748 </cell>
19749 </row>
19750 <row>
19751 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19752 \begin_inset Text
19753
19754 \begin_layout Plain Layout
19755
19756 \series bold
19757 Vigna
19758 \end_layout
19759
19760 \end_inset
19761 </cell>
19762 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19763 \begin_inset Text
19764
19765 \begin_layout Plain Layout
19766 Jürgen
19767 \end_layout
19768
19769 \end_inset
19770 </cell>
19771 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19772 \begin_inset Text
19773
19774 \begin_layout Plain Layout
19775 111
19776 \end_layout
19777
19778 \end_inset
19779 </cell>
19780 </row>
19781 <row>
19782 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19783 \begin_inset Text
19784
19785 \begin_layout Plain Layout
19786
19787 \series bold
19788 Weber
19789 \end_layout
19790
19791 \end_inset
19792 </cell>
19793 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19794 \begin_inset Text
19795
19796 \begin_layout Plain Layout
19797 Maurizio
19798 \end_layout
19799
19800 \end_inset
19801 </cell>
19802 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19803 \begin_inset Text
19804
19805 \begin_layout Plain Layout
19806 111
19807 \end_layout
19808
19809 \end_inset
19810 </cell>
19811 </row>
19812 <row>
19813 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19814 \begin_inset Text
19815
19816 \begin_layout Plain Layout
19817
19818 \series bold
19819 Winkler
19820 \end_layout
19821
19822 \end_inset
19823 </cell>
19824 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19825 \begin_inset Text
19826
19827 \begin_layout Plain Layout
19828 Franz
19829 \end_layout
19830
19831 \end_inset
19832 </cell>
19833 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19834 \begin_inset Text
19835
19836 \begin_layout Plain Layout
19837 111
19838 \end_layout
19839
19840 \end_inset
19841 </cell>
19842 </row>
19843 <row>
19844 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19845 \begin_inset Text
19846
19847 \begin_layout Plain Layout
19848  
19849 \end_layout
19850
19851 \end_inset
19852 </cell>
19853 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
19854 \begin_inset Text
19855
19856 \begin_layout Plain Layout
19857
19858 \end_layout
19859
19860 \end_inset
19861 </cell>
19862 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19863 \begin_inset Text
19864
19865 \begin_layout Plain Layout
19866
19867 \end_layout
19868
19869 \end_inset
19870 </cell>
19871 </row>
19872 <row>
19873 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19874 \begin_inset Text
19875
19876 \begin_layout Plain Layout
19877
19878 \series bold
19879 Annovi
19880 \end_layout
19881
19882 \end_inset
19883 </cell>
19884 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19885 \begin_inset Text
19886
19887 \begin_layout Plain Layout
19888 Silvia
19889 \end_layout
19890
19891 \end_inset
19892 </cell>
19893 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19894 \begin_inset Text
19895
19896 \begin_layout Plain Layout
19897 555
19898 \end_layout
19899
19900 \end_inset
19901 </cell>
19902 </row>
19903 <row>
19904 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19905 \begin_inset Text
19906
19907 \begin_layout Plain Layout
19908
19909 \series bold
19910 Bertoli
19911 \end_layout
19912
19913 \end_inset
19914 </cell>
19915 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19916 \begin_inset Text
19917
19918 \begin_layout Plain Layout
19919 Stefano
19920 \end_layout
19921
19922 \end_inset
19923 </cell>
19924 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19925 \begin_inset Text
19926
19927 \begin_layout Plain Layout
19928 555
19929 \end_layout
19930
19931 \end_inset
19932 </cell>
19933 </row>
19934 <row>
19935 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19936 \begin_inset Text
19937
19938 \begin_layout Plain Layout
19939
19940 \series bold
19941 Bozzi
19942 \end_layout
19943
19944 \end_inset
19945 </cell>
19946 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19947 \begin_inset Text
19948
19949 \begin_layout Plain Layout
19950 Walter
19951 \end_layout
19952
19953 \end_inset
19954 </cell>
19955 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19956 \begin_inset Text
19957
19958 \begin_layout Plain Layout
19959 555
19960 \end_layout
19961
19962 \end_inset
19963 </cell>
19964 </row>
19965 <row>
19966 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19967 \begin_inset Text
19968
19969 \begin_layout Plain Layout
19970
19971 \series bold
19972 Cachia
19973 \end_layout
19974
19975 \end_inset
19976 </cell>
19977 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19978 \begin_inset Text
19979
19980 \begin_layout Plain Layout
19981 Maria
19982 \end_layout
19983
19984 \end_inset
19985 </cell>
19986 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19987 \begin_inset Text
19988
19989 \begin_layout Plain Layout
19990 555
19991 \end_layout
19992
19993 \end_inset
19994 </cell>
19995 </row>
19996 <row>
19997 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19998 \begin_inset Text
19999
20000 \begin_layout Plain Layout
20001
20002 \series bold
20003 Cachia
20004 \end_layout
20005
20006 \end_inset
20007 </cell>
20008 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20009 \begin_inset Text
20010
20011 \begin_layout Plain Layout
20012 Maurizio
20013 \end_layout
20014
20015 \end_inset
20016 </cell>
20017 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20018 \begin_inset Text
20019
20020 \begin_layout Plain Layout
20021 555
20022 \end_layout
20023
20024 \end_inset
20025 </cell>
20026 </row>
20027 <row>
20028 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20029 \begin_inset Text
20030
20031 \begin_layout Plain Layout
20032
20033 \series bold
20034 Cinquemani
20035 \end_layout
20036
20037 \end_inset
20038 </cell>
20039 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20040 \begin_inset Text
20041
20042 \begin_layout Plain Layout
20043 Giusi
20044 \end_layout
20045
20046 \end_inset
20047 </cell>
20048 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20049 \begin_inset Text
20050
20051 \begin_layout Plain Layout
20052 555
20053 \end_layout
20054
20055 \end_inset
20056 </cell>
20057 </row>
20058 <row>
20059 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20060 \begin_inset Text
20061
20062 \begin_layout Plain Layout
20063
20064 \series bold
20065 Colin
20066 \end_layout
20067
20068 \end_inset
20069 </cell>
20070 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20071 \begin_inset Text
20072
20073 \begin_layout Plain Layout
20074 Bernard
20075 \end_layout
20076
20077 \end_inset
20078 </cell>
20079 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20080 \begin_inset Text
20081
20082 \begin_layout Plain Layout
20083 555
20084 \end_layout
20085
20086 \end_inset
20087 </cell>
20088 </row>
20089 <row>
20090 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20091 \begin_inset Text
20092
20093 \begin_layout Plain Layout
20094
20095 \series bold
20096 Concli
20097 \end_layout
20098
20099 \end_inset
20100 </cell>
20101 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20102 \begin_inset Text
20103
20104 \begin_layout Plain Layout
20105 Gianfranco
20106 \end_layout
20107
20108 \end_inset
20109 </cell>
20110 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20111 \begin_inset Text
20112
20113 \begin_layout Plain Layout
20114 555
20115 \end_layout
20116
20117 \end_inset
20118 </cell>
20119 </row>
20120 <row>
20121 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20122 \begin_inset Text
20123
20124 \begin_layout Plain Layout
20125
20126 \series bold
20127 Dal Bosco
20128 \end_layout
20129
20130 \end_inset
20131 </cell>
20132 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20133 \begin_inset Text
20134
20135 \begin_layout Plain Layout
20136 Carolina
20137 \end_layout
20138
20139 \end_inset
20140 </cell>
20141 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20142 \begin_inset Text
20143
20144 \begin_layout Plain Layout
20145 555
20146 \end_layout
20147
20148 \end_inset
20149 </cell>
20150 </row>
20151 <row>
20152 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20153 \begin_inset Text
20154
20155 \begin_layout Plain Layout
20156
20157 \series bold
20158 Dalpiaz
20159 \end_layout
20160
20161 \end_inset
20162 </cell>
20163 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20164 \begin_inset Text
20165
20166 \begin_layout Plain Layout
20167 Annamaria
20168 \end_layout
20169
20170 \end_inset
20171 </cell>
20172 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20173 \begin_inset Text
20174
20175 \begin_layout Plain Layout
20176 555
20177 \end_layout
20178
20179 \end_inset
20180 </cell>
20181 </row>
20182 <row>
20183 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20184 \begin_inset Text
20185
20186 \begin_layout Plain Layout
20187
20188 \series bold
20189 Feliciello
20190 \end_layout
20191
20192 \end_inset
20193 </cell>
20194 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20195 \begin_inset Text
20196
20197 \begin_layout Plain Layout
20198 Domenico
20199 \end_layout
20200
20201 \end_inset
20202 </cell>
20203 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20204 \begin_inset Text
20205
20206 \begin_layout Plain Layout
20207 555
20208 \end_layout
20209
20210 \end_inset
20211 </cell>
20212 </row>
20213 <row>
20214 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20215 \begin_inset Text
20216
20217 \begin_layout Plain Layout
20218
20219 \series bold
20220 Focarelli
20221 \end_layout
20222
20223 \end_inset
20224 </cell>
20225 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20226 \begin_inset Text
20227
20228 \begin_layout Plain Layout
20229 Paola
20230 \end_layout
20231
20232 \end_inset
20233 </cell>
20234 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20235 \begin_inset Text
20236
20237 \begin_layout Plain Layout
20238 555
20239 \end_layout
20240
20241 \end_inset
20242 </cell>
20243 </row>
20244 <row>
20245 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20246 \begin_inset Text
20247
20248 \begin_layout Plain Layout
20249
20250 \series bold
20251 Galletti
20252 \end_layout
20253
20254 \end_inset
20255 </cell>
20256 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20257 \begin_inset Text
20258
20259 \begin_layout Plain Layout
20260 Oreste
20261 \end_layout
20262
20263 \end_inset
20264 </cell>
20265 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20266 \begin_inset Text
20267
20268 \begin_layout Plain Layout
20269 555
20270 \end_layout
20271
20272 \end_inset
20273 </cell>
20274 </row>
20275 <row>
20276 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20277 \begin_inset Text
20278
20279 \begin_layout Plain Layout
20280
20281 \series bold
20282 Gasparini
20283 \end_layout
20284
20285 \end_inset
20286 </cell>
20287 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20288 \begin_inset Text
20289
20290 \begin_layout Plain Layout
20291 Franca
20292 \end_layout
20293
20294 \end_inset
20295 </cell>
20296 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20297 \begin_inset Text
20298
20299 \begin_layout Plain Layout
20300 555
20301 \end_layout
20302
20303 \end_inset
20304 </cell>
20305 </row>
20306 <row>
20307 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20308 \begin_inset Text
20309
20310 \begin_layout Plain Layout
20311
20312 \series bold
20313 Rizzardi
20314 \end_layout
20315
20316 \end_inset
20317 </cell>
20318 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20319 \begin_inset Text
20320
20321 \begin_layout Plain Layout
20322 Paola
20323 \end_layout
20324
20325 \end_inset
20326 </cell>
20327 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20328 \begin_inset Text
20329
20330 \begin_layout Plain Layout
20331 555
20332 \end_layout
20333
20334 \end_inset
20335 </cell>
20336 </row>
20337 <row>
20338 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20339 \begin_inset Text
20340
20341 \begin_layout Plain Layout
20342
20343 \series bold
20344 Lassini
20345 \end_layout
20346
20347 \end_inset
20348 </cell>
20349 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20350 \begin_inset Text
20351
20352 \begin_layout Plain Layout
20353 Giancarlo
20354 \end_layout
20355
20356 \end_inset
20357 </cell>
20358 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20359 \begin_inset Text
20360
20361 \begin_layout Plain Layout
20362 555
20363 \end_layout
20364
20365 \end_inset
20366 </cell>
20367 </row>
20368 <row>
20369 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20370 \begin_inset Text
20371
20372 \begin_layout Plain Layout
20373
20374 \series bold
20375 Malfatti
20376 \end_layout
20377
20378 \end_inset
20379 </cell>
20380 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20381 \begin_inset Text
20382
20383 \begin_layout Plain Layout
20384 Luciano
20385 \end_layout
20386
20387 \end_inset
20388 </cell>
20389 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20390 \begin_inset Text
20391
20392 \begin_layout Plain Layout
20393 555
20394 \end_layout
20395
20396 \end_inset
20397 </cell>
20398 </row>
20399 <row>
20400 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20401 \begin_inset Text
20402
20403 \begin_layout Plain Layout
20404
20405 \series bold
20406 Malfatti
20407 \end_layout
20408
20409 \end_inset
20410 </cell>
20411 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20412 \begin_inset Text
20413
20414 \begin_layout Plain Layout
20415 Valeriano
20416 \end_layout
20417
20418 \end_inset
20419 </cell>
20420 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20421 \begin_inset Text
20422
20423 \begin_layout Plain Layout
20424 555
20425 \end_layout
20426
20427 \end_inset
20428 </cell>
20429 </row>
20430 <row>
20431 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20432 \begin_inset Text
20433
20434 \begin_layout Plain Layout
20435
20436 \series bold
20437 Meneguzzo
20438 \end_layout
20439
20440 \end_inset
20441 </cell>
20442 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20443 \begin_inset Text
20444
20445 \begin_layout Plain Layout
20446 Roberto
20447 \end_layout
20448
20449 \end_inset
20450 </cell>
20451 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20452 \begin_inset Text
20453
20454 \begin_layout Plain Layout
20455 555
20456 \end_layout
20457
20458 \end_inset
20459 </cell>
20460 </row>
20461 <row>
20462 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20463 \begin_inset Text
20464
20465 \begin_layout Plain Layout
20466
20467 \series bold
20468 Mezzadra
20469 \end_layout
20470
20471 \end_inset
20472 </cell>
20473 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20474 \begin_inset Text
20475
20476 \begin_layout Plain Layout
20477 Roberto
20478 \end_layout
20479
20480 \end_inset
20481 </cell>
20482 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20483 \begin_inset Text
20484
20485 \begin_layout Plain Layout
20486 555
20487 \end_layout
20488
20489 \end_inset
20490 </cell>
20491 </row>
20492 <row>
20493 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20494 \begin_inset Text
20495
20496 \begin_layout Plain Layout
20497
20498 \series bold
20499 Pirpamer
20500 \end_layout
20501
20502 \end_inset
20503 </cell>
20504 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20505 \begin_inset Text
20506
20507 \begin_layout Plain Layout
20508 Erich
20509 \end_layout
20510
20511 \end_inset
20512 </cell>
20513 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20514 \begin_inset Text
20515
20516 \begin_layout Plain Layout
20517 555
20518 \end_layout
20519
20520 \end_inset
20521 </cell>
20522 </row>
20523 <row>
20524 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20525 \begin_inset Text
20526
20527 \begin_layout Plain Layout
20528
20529 \series bold
20530 Pochiesa
20531 \end_layout
20532
20533 \end_inset
20534 </cell>
20535 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20536 \begin_inset Text
20537
20538 \begin_layout Plain Layout
20539 Paolo
20540 \end_layout
20541
20542 \end_inset
20543 </cell>
20544 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20545 \begin_inset Text
20546
20547 \begin_layout Plain Layout
20548 555, 222
20549 \end_layout
20550
20551 \end_inset
20552 </cell>
20553 </row>
20554 <row>
20555 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20556 \begin_inset Text
20557
20558 \begin_layout Plain Layout
20559
20560 \series bold
20561 Radina
20562 \end_layout
20563
20564 \end_inset
20565 </cell>
20566 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20567 \begin_inset Text
20568
20569 \begin_layout Plain Layout
20570 Claudio
20571 \end_layout
20572
20573 \end_inset
20574 </cell>
20575 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20576 \begin_inset Text
20577
20578 \begin_layout Plain Layout
20579 555
20580 \end_layout
20581
20582 \end_inset
20583 </cell>
20584 </row>
20585 <row>
20586 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20587 \begin_inset Text
20588
20589 \begin_layout Plain Layout
20590
20591 \series bold
20592 Stuffer
20593 \end_layout
20594
20595 \end_inset
20596 </cell>
20597 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20598 \begin_inset Text
20599
20600 \begin_layout Plain Layout
20601 Oskar
20602 \end_layout
20603
20604 \end_inset
20605 </cell>
20606 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20607 \begin_inset Text
20608
20609 \begin_layout Plain Layout
20610 555
20611 \end_layout
20612
20613 \end_inset
20614 </cell>
20615 </row>
20616 <row>
20617 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20618 \begin_inset Text
20619
20620 \begin_layout Plain Layout
20621
20622 \series bold
20623 Tacchelli
20624 \end_layout
20625
20626 \end_inset
20627 </cell>
20628 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20629 \begin_inset Text
20630
20631 \begin_layout Plain Layout
20632 Ugo
20633 \end_layout
20634
20635 \end_inset
20636 </cell>
20637 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20638 \begin_inset Text
20639
20640 \begin_layout Plain Layout
20641 555
20642 \end_layout
20643
20644 \end_inset
20645 </cell>
20646 </row>
20647 <row>
20648 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20649 \begin_inset Text
20650
20651 \begin_layout Plain Layout
20652
20653 \series bold
20654 Tezzele
20655 \end_layout
20656
20657 \end_inset
20658 </cell>
20659 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20660 \begin_inset Text
20661
20662 \begin_layout Plain Layout
20663 Margit
20664 \end_layout
20665
20666 \end_inset
20667 </cell>
20668 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20669 \begin_inset Text
20670
20671 \begin_layout Plain Layout
20672 555
20673 \end_layout
20674
20675 \end_inset
20676 </cell>
20677 </row>
20678 <row>
20679 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20680 \begin_inset Text
20681
20682 \begin_layout Plain Layout
20683
20684 \series bold
20685 Unterkalmsteiner
20686 \end_layout
20687
20688 \end_inset
20689 </cell>
20690 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20691 \begin_inset Text
20692
20693 \begin_layout Plain Layout
20694 Frieda
20695 \end_layout
20696
20697 \end_inset
20698 </cell>
20699 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20700 \begin_inset Text
20701
20702 \begin_layout Plain Layout
20703 555
20704 \end_layout
20705
20706 \end_inset
20707 </cell>
20708 </row>
20709 <row>
20710 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20711 \begin_inset Text
20712
20713 \begin_layout Plain Layout
20714
20715 \series bold
20716 Vieider
20717 \end_layout
20718
20719 \end_inset
20720 </cell>
20721 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20722 \begin_inset Text
20723
20724 \begin_layout Plain Layout
20725 Hilde
20726 \end_layout
20727
20728 \end_inset
20729 </cell>
20730 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20731 \begin_inset Text
20732
20733 \begin_layout Plain Layout
20734 555
20735 \end_layout
20736
20737 \end_inset
20738 </cell>
20739 </row>
20740 <row>
20741 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20742 \begin_inset Text
20743
20744 \begin_layout Plain Layout
20745
20746 \series bold
20747 Vigna
20748 \end_layout
20749
20750 \end_inset
20751 </cell>
20752 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20753 \begin_inset Text
20754
20755 \begin_layout Plain Layout
20756 Jürgen
20757 \end_layout
20758
20759 \end_inset
20760 </cell>
20761 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20762 \begin_inset Text
20763
20764 \begin_layout Plain Layout
20765 999
20766 \end_layout
20767
20768 \end_inset
20769 </cell>
20770 </row>
20771 <row>
20772 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20773 \begin_inset Text
20774
20775 \begin_layout Plain Layout
20776
20777 \series bold
20778 Weber
20779 \end_layout
20780
20781 \end_inset
20782 </cell>
20783 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20784 \begin_inset Text
20785
20786 \begin_layout Plain Layout
20787 Maurizio
20788 \end_layout
20789
20790 \end_inset
20791 </cell>
20792 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20793 \begin_inset Text
20794
20795 \begin_layout Plain Layout
20796 555
20797 \end_layout
20798
20799 \end_inset
20800 </cell>
20801 </row>
20802 <row>
20803 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20804 \begin_inset Text
20805
20806 \begin_layout Plain Layout
20807
20808 \series bold
20809 Winkler
20810 \end_layout
20811
20812 \end_inset
20813 </cell>
20814 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20815 \begin_inset Text
20816
20817 \begin_layout Plain Layout
20818 Franz
20819 \end_layout
20820
20821 \end_inset
20822 </cell>
20823 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20824 \begin_inset Text
20825
20826 \begin_layout Plain Layout
20827 555
20828 \end_layout
20829
20830 \end_inset
20831 </cell>
20832 </row>
20833 <row endlastfoot="true">
20834 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20835 \begin_inset Text
20836
20837 \begin_layout Plain Layout
20838
20839 \series bold
20840 End
20841 \end_layout
20842
20843 \end_inset
20844 </cell>
20845 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
20846 \begin_inset Text
20847
20848 \begin_layout Plain Layout
20849
20850 \end_layout
20851
20852 \end_inset
20853 </cell>
20854 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20855 \begin_inset Text
20856
20857 \begin_layout Plain Layout
20858
20859 \end_layout
20860
20861 \end_inset
20862 </cell>
20863 </row>
20864 </lyxtabular>
20865
20866 \end_inset
20867
20868
20869 \end_layout
20870
20871 \begin_layout Subsection
20872 Table Cells
20873 \begin_inset Index idx
20874 status collapsed
20875
20876 \begin_layout Plain Layout
20877 Tables ! Cells
20878 \end_layout
20879
20880 \end_inset
20881
20882
20883 \begin_inset CommandInset label
20884 LatexCommand label
20885 name "sub:Table-Cells"
20886
20887 \end_inset
20888
20889
20890 \end_layout
20891
20892 \begin_layout Standard
20893 A table cell can contain text, inline equations, a figure, or another table.
20894  All these kinds of objects can be placed in the same cell.
20895  Font sizes and shapes can also be altered.
20896  But you can't put a special environment in a cell (like 
20897 \family sans
20898 Section*
20899 \family default
20900 , etc.), nor set spacing options for the cell's paragraph.
20901 \end_layout
20902
20903 \begin_layout Standard
20904 To have multi-line entries in table cells, you have to declare a fixed width
20905  for the column in the table dialog.
20906  Your text is then automatically split into multiple lines and the cell
20907  is enlarged vertically when the length of the text exceeds the given width.
20908  An example:
20909 \end_layout
20910
20911 \begin_layout Standard
20912 \align center
20913 \begin_inset Tabular
20914 <lyxtabular version="3" rows="4" columns="3">
20915 <features rotate="0" tabularvalignment="middle">
20916 <column alignment="center" valignment="top" width="0pt">
20917 <column alignment="block" valignment="top" width="3cm">
20918 <column alignment="center" valignment="top" width="0pt">
20919 <row>
20920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20921 \begin_inset Text
20922
20923 \begin_layout Plain Layout
20924
20925 \family roman
20926 \series medium
20927 \shape up
20928 \size normal
20929 \emph off
20930 \bar no
20931 \noun off
20932 \color none
20933 1
20934 \end_layout
20935
20936 \end_inset
20937 </cell>
20938 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20939 \begin_inset Text
20940
20941 \begin_layout Plain Layout
20942
20943 \family roman
20944 \series medium
20945 \shape up
20946 \size normal
20947 \emph off
20948 \bar no
20949 \noun off
20950 \color none
20951 2
20952 \end_layout
20953
20954 \end_inset
20955 </cell>
20956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20957 \begin_inset Text
20958
20959 \begin_layout Plain Layout
20960
20961 \family roman
20962 \series medium
20963 \shape up
20964 \size normal
20965 \emph off
20966 \bar no
20967 \noun off
20968 \color none
20969 3
20970 \end_layout
20971
20972 \end_inset
20973 </cell>
20974 </row>
20975 <row>
20976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20977 \begin_inset Text
20978
20979 \begin_layout Plain Layout
20980
20981 \family roman
20982 \series medium
20983 \shape up
20984 \size normal
20985 \emph off
20986 \bar no
20987 \noun off
20988 \color none
20989 4
20990 \end_layout
20991
20992 \end_inset
20993 </cell>
20994 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20995 \begin_inset Text
20996
20997 \begin_layout Plain Layout
20998
20999 \family roman
21000 \series medium
21001 \shape up
21002 \size normal
21003 \emph off
21004 \bar no
21005 \noun off
21006 \color none
21007 This is a multi-line entry in a table.
21008 \end_layout
21009
21010 \end_inset
21011 </cell>
21012 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21013 \begin_inset Text
21014
21015 \begin_layout Plain Layout
21016
21017 \family roman
21018 \series medium
21019 \shape up
21020 \size normal
21021 \emph off
21022 \bar no
21023 \noun off
21024 \color none
21025 5
21026 \end_layout
21027
21028 \end_inset
21029 </cell>
21030 </row>
21031 <row>
21032 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21033 \begin_inset Text
21034
21035 \begin_layout Plain Layout
21036
21037 \family roman
21038 \series medium
21039 \shape up
21040 \size normal
21041 \emph off
21042 \bar no
21043 \noun off
21044 \color none
21045 6
21046 \end_layout
21047
21048 \end_inset
21049 </cell>
21050 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21051 \begin_inset Text
21052
21053 \begin_layout Plain Layout
21054
21055 \family roman
21056 \series medium
21057 \shape up
21058 \size normal
21059 \emph off
21060 \bar no
21061 \noun off
21062 \color none
21063 This is longer now.
21064 \end_layout
21065
21066 \end_inset
21067 </cell>
21068 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21069 \begin_inset Text
21070
21071 \begin_layout Plain Layout
21072
21073 \family roman
21074 \series medium
21075 \shape up
21076 \size normal
21077 \emph off
21078 \bar no
21079 \noun off
21080 \color none
21081 7
21082 \end_layout
21083
21084 \end_inset
21085 </cell>
21086 </row>
21087 <row>
21088 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21089 \begin_inset Text
21090
21091 \begin_layout Plain Layout
21092
21093 \family roman
21094 \series medium
21095 \shape up
21096 \size normal
21097 \emph off
21098 \bar no
21099 \noun off
21100 \color none
21101 8
21102 \end_layout
21103
21104 \end_inset
21105 </cell>
21106 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21107 \begin_inset Text
21108
21109 \begin_layout Plain Layout
21110
21111 \family roman
21112 \series medium
21113 \shape up
21114 \size normal
21115 \emph off
21116 \bar no
21117 \noun off
21118 \color none
21119 This is a multi-line entry in a table.
21120  This is longer now.
21121 \end_layout
21122
21123 \end_inset
21124 </cell>
21125 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21126 \begin_inset Text
21127
21128 \begin_layout Plain Layout
21129
21130 \family roman
21131 \series medium
21132 \shape up
21133 \size normal
21134 \emph off
21135 \bar no
21136 \noun off
21137 \color none
21138 9
21139 \end_layout
21140
21141 \end_inset
21142 </cell>
21143 </row>
21144 </lyxtabular>
21145
21146 \end_inset
21147
21148
21149 \end_layout
21150
21151 \begin_layout Standard
21152 Cutting and pasting between tables and table cells works reasonably well.
21153  You can even cut and paste more than one row.
21154 \begin_inset Foot
21155 status collapsed
21156
21157 \begin_layout Plain Layout
21158 Note that you cannot paste into a multicell selection because it would not
21159  be clear what to do when pasting a single word in a selected 2×3.
21160  
21161 \end_layout
21162
21163 \end_inset
21164
21165  Selection with the mouse or with 
21166 \family sans
21167 Shift
21168 \family default
21169  plus the arrow keys works as usual.
21170  You can also copy and paste the entire table as a single unit by starting
21171  the selection from outside the table.
21172 \end_layout
21173
21174 \begin_layout Section
21175 Floats
21176 \begin_inset Index idx
21177 status collapsed
21178
21179 \begin_layout Plain Layout
21180 Floats
21181 \end_layout
21182
21183 \end_inset
21184
21185
21186 \begin_inset CommandInset label
21187 LatexCommand label
21188 name "sec:Floats"
21189
21190 \end_inset
21191
21192
21193 \end_layout
21194
21195 \begin_layout Subsection
21196 Introduction
21197 \end_layout
21198
21199 \begin_layout Standard
21200 A float is a block of text associated with some sort of label, which doesn't
21201  have a fixed location.
21202  It can 
21203 \begin_inset Quotes eld
21204 \end_inset
21205
21206 float
21207 \begin_inset Quotes erd
21208 \end_inset
21209
21210  forward or backward a page or two, to wherever it fits best.
21211  
21212 \family sans
21213 Footnotes
21214 \family default
21215  and 
21216 \family sans
21217 Margin
21218 \begin_inset space ~
21219 \end_inset
21220
21221 Notes
21222 \family default
21223  are also floats, because they can float to the next page when there are
21224  too many notes on the current page.
21225 \end_layout
21226
21227 \begin_layout Standard
21228 Floats make it possible to get a high quality layout.
21229  Images and tables can be distributed evenly over the pages to avoid whitespace
21230  and pages without text.
21231  As the floating often destroys the spatial context between the text and
21232  the image/table, every float can be referenced in the text.
21233  Floats are therefore numbered.
21234  Referencing is described in section
21235 \begin_inset space ~
21236 \end_inset
21237
21238
21239 \begin_inset CommandInset ref
21240 LatexCommand ref
21241 reference "sec:Cross-References"
21242
21243 \end_inset
21244
21245 .
21246 \end_layout
21247
21248 \begin_layout Standard
21249 To insert a float, use the menu 
21250 \family sans
21251 Insert\SpecialChar \menuseparator
21252 Float
21253 \family default
21254 .
21255  A box with a caption will be inserted into your document.
21256  The label will automatically be translated to the document language in
21257  the output.
21258  After the label you can insert the caption text.
21259 \begin_inset Index idx
21260 status collapsed
21261
21262 \begin_layout Plain Layout
21263 Floats ! Captions
21264 \end_layout
21265
21266 \end_inset
21267
21268  The image or table is inserted above or below the caption in a separate
21269  paragraph within the float.
21270  To keep your LyX-document readable, you can open and close the float box
21271  by left-clicking on the box label.
21272  A closed float box looks like this: 
21273 \begin_inset Graphics
21274         filename clipart/floatQt4.png
21275         scale 80
21276
21277 \end_inset
21278
21279  – a gray button with a red label.
21280 \end_layout
21281
21282 \begin_layout Standard
21283 You should insert floats in a separate paragraph to avoid possible LaTeX-errors
21284  that can occur when the surrounding text is specially formatted.
21285 \end_layout
21286
21287 \begin_layout Subsection
21288 Examples
21289 \end_layout
21290
21291 \begin_layout Subsubsection
21292 Figure Floats
21293 \begin_inset CommandInset label
21294 LatexCommand label
21295 name "sub:Figure-Floats"
21296
21297 \end_inset
21298
21299
21300 \begin_inset Index idx
21301 status collapsed
21302
21303 \begin_layout Plain Layout
21304 Floats ! Figure floats
21305 \end_layout
21306
21307 \end_inset
21308
21309
21310 \end_layout
21311
21312 \begin_layout Standard
21313 Figure
21314 \begin_inset space ~
21315 \end_inset
21316
21317
21318 \begin_inset CommandInset ref
21319 LatexCommand ref
21320 reference "fig:Platypus-distorted"
21321
21322 \end_inset
21323
21324  was created using the menu 
21325 \family sans
21326 Insert\SpecialChar \menuseparator
21327 Float\SpecialChar \menuseparator
21328 Figure
21329 \family default
21330  (toolbar button 
21331 \begin_inset Info
21332 type  "icon"
21333 arg   "float-insert figure"
21334 \end_inset
21335
21336 ).
21337  The image was inserted by setting the cursor above the caption label and
21338  using the menu 
21339 \family sans
21340 Insert\SpecialChar \menuseparator
21341 Graphics
21342 \family default
21343  (toolbar button 
21344 \begin_inset Info
21345 type  "icon"
21346 arg   "dialog-show-new-inset graphics"
21347 \end_inset
21348
21349 ).
21350  The image in the float was horizontally centered by putting the cursor
21351  to the left or right of the image and using the menu 
21352 \family sans
21353 Edit\SpecialChar \menuseparator
21354 Paragraph
21355 \begin_inset space ~
21356 \end_inset
21357
21358 Settings
21359 \family default
21360  (toolbar button 
21361 \begin_inset Info
21362 type  "icon"
21363 arg   "layout-paragraph"
21364 \end_inset
21365
21366 ).
21367 \end_layout
21368
21369 \begin_layout Standard
21370 \begin_inset Float figure
21371 wide false
21372 sideways false
21373 status collapsed
21374
21375 \begin_layout Plain Layout
21376 \align center
21377 \begin_inset Graphics
21378         filename clipart/platypus.eps
21379         lyxscale 50
21380         width 50col%
21381
21382 \end_inset
21383
21384
21385 \end_layout
21386
21387 \begin_layout Plain Layout
21388 \begin_inset Caption Standard
21389
21390 \begin_layout Plain Layout
21391 \begin_inset CommandInset label
21392 LatexCommand label
21393 name "fig:Platypus-distorted"
21394
21395 \end_inset
21396
21397 A severely distorted platypus in a float.
21398 \end_layout
21399
21400 \end_inset
21401
21402
21403 \end_layout
21404
21405 \end_inset
21406
21407
21408 \end_layout
21409
21410 \begin_layout Standard
21411 This figure float also shows how to set a label and create a cross-reference
21412  to it: Insert a label into the caption using the menu 
21413 \family sans
21414 Insert\SpecialChar \menuseparator
21415 Label
21416 \family default
21417  (toolbar button 
21418 \begin_inset Info
21419 type  "icon"
21420 arg   "label-insert"
21421 \end_inset
21422
21423 ) and refer to it using the menu 
21424 \family sans
21425 Insert\SpecialChar \menuseparator
21426 Cross-Reference
21427 \family default
21428  (toolbar button 
21429 \begin_inset Info
21430 type  "icon"
21431 arg   "dialog-show-new-inset ref"
21432 \end_inset
21433
21434 ).
21435  It is important to use cross-references to figure floats rather than using
21436  vague references like 
21437 \begin_inset Quotes eld
21438 \end_inset
21439
21440 the figure above
21441 \begin_inset Quotes erd
21442 \end_inset
21443
21444 , because, as LaTeX will reposition the floats in the final document, it
21445  might not be 
21446 \begin_inset Quotes eld
21447 \end_inset
21448
21449 above
21450 \begin_inset Quotes erd
21451 \end_inset
21452
21453  at all.
21454  For more about cross-references, see section
21455 \begin_inset space ~
21456 \end_inset
21457
21458
21459 \begin_inset CommandInset ref
21460 LatexCommand ref
21461 reference "sec:Cross-References"
21462
21463 \end_inset
21464
21465 .
21466 \end_layout
21467
21468 \begin_layout Standard
21469 Normally only one image is inserted in a figure float, but sometimes you
21470  might want to use two images with separate subcaptions.
21471  This can be done by inserting image floats into existing image floats.
21472  Note that only the main caption of the float is added to the List of Figures
21473  as described in section
21474 \begin_inset space ~
21475 \end_inset
21476
21477
21478 \begin_inset CommandInset ref
21479 LatexCommand ref
21480 reference "sub:List-of-Figures"
21481
21482 \end_inset
21483
21484 .
21485  Figure
21486 \begin_inset space ~
21487 \end_inset
21488
21489
21490 \begin_inset CommandInset ref
21491 LatexCommand ref
21492 reference "fig:Two-distorted-images"
21493
21494 \end_inset
21495
21496  is an example of a figure float with two images set side by side.
21497  You can also set the images one below the other.
21498  Figure
21499 \begin_inset space ~
21500 \end_inset
21501
21502
21503 \begin_inset CommandInset ref
21504 LatexCommand ref
21505 reference "fig:Undefinable"
21506
21507 \end_inset
21508
21509  and 
21510 \begin_inset CommandInset ref
21511 LatexCommand ref
21512 reference "fig:Platypus"
21513
21514 \end_inset
21515
21516  are the subfigures.
21517 \end_layout
21518
21519 \begin_layout Standard
21520 \begin_inset Float figure
21521 wide false
21522 sideways false
21523 status open
21524
21525 \begin_layout Plain Layout
21526 \begin_inset space \hfill{}
21527 \end_inset
21528
21529
21530 \begin_inset Float figure
21531 wide false
21532 sideways false
21533 status collapsed
21534
21535 \begin_layout Plain Layout
21536 \begin_inset Caption Standard
21537
21538 \begin_layout Plain Layout
21539 \begin_inset CommandInset label
21540 LatexCommand label
21541 name "fig:Undefinable"
21542
21543 \end_inset
21544
21545 Undefinable
21546 \end_layout
21547
21548 \end_inset
21549
21550
21551 \end_layout
21552
21553 \begin_layout Plain Layout
21554 \begin_inset Graphics
21555         filename clipart/escher-lsd.eps
21556         width 45col%
21557
21558 \end_inset
21559
21560
21561 \end_layout
21562
21563 \end_inset
21564
21565
21566 \begin_inset space \hfill{}
21567 \end_inset
21568
21569
21570 \begin_inset Float figure
21571 wide false
21572 sideways false
21573 status collapsed
21574
21575 \begin_layout Plain Layout
21576 \begin_inset Caption Standard
21577
21578 \begin_layout Plain Layout
21579 \begin_inset CommandInset label
21580 LatexCommand label
21581 name "fig:Platypus"
21582
21583 \end_inset
21584
21585 Platypus
21586 \end_layout
21587
21588 \end_inset
21589
21590
21591 \end_layout
21592
21593 \begin_layout Plain Layout
21594 \begin_inset Graphics
21595         filename clipart/platypus.eps
21596         lyxscale 60
21597         width 45col%
21598
21599 \end_inset
21600
21601
21602 \end_layout
21603
21604 \end_inset
21605
21606
21607 \begin_inset space \hfill{}
21608 \end_inset
21609
21610
21611 \end_layout
21612
21613 \begin_layout Plain Layout
21614 \begin_inset Caption Standard
21615
21616 \begin_layout Plain Layout
21617 \begin_inset CommandInset label
21618 LatexCommand label
21619 name "fig:Two-distorted-images"
21620
21621 \end_inset
21622
21623 Two distorted images.
21624 \end_layout
21625
21626 \end_inset
21627
21628
21629 \end_layout
21630
21631 \end_inset
21632
21633
21634 \end_layout
21635
21636 \begin_layout Subsubsection
21637 Table Floats
21638 \begin_inset Index idx
21639 status collapsed
21640
21641 \begin_layout Plain Layout
21642 Floats ! Table floats
21643 \end_layout
21644
21645 \end_inset
21646
21647
21648 \end_layout
21649
21650 \begin_layout Standard
21651 Table floats can be inserted using the menu 
21652 \family sans
21653 Insert\SpecialChar \menuseparator
21654 Float\SpecialChar \menuseparator
21655 Table
21656 \family default
21657  or the toolbar button 
21658 \begin_inset Info
21659 type  "icon"
21660 arg   "float-insert table"
21661 \end_inset
21662
21663 .
21664  They have the same properties as figure floats except that the table in
21665  the float is normally placed below the caption and not above like for figures
21666  and that the label begins with “tab:”.
21667  Table
21668 \begin_inset space ~
21669 \end_inset
21670
21671
21672 \begin_inset CommandInset ref
21673 LatexCommand ref
21674 reference "tab:Table-float"
21675
21676 \end_inset
21677
21678  is a table float.
21679 \end_layout
21680
21681 \begin_layout Standard
21682 \begin_inset Float table
21683 wide false
21684 sideways false
21685 status open
21686
21687 \begin_layout Plain Layout
21688 \begin_inset Caption Standard
21689
21690 \begin_layout Plain Layout
21691 \begin_inset CommandInset label
21692 LatexCommand label
21693 name "tab:Table-float"
21694
21695 \end_inset
21696
21697 A table float.
21698 \end_layout
21699
21700 \end_inset
21701
21702
21703 \end_layout
21704
21705 \begin_layout Plain Layout
21706 \align center
21707 \begin_inset Tabular
21708 <lyxtabular version="3" rows="3" columns="3">
21709 <features rotate="0" tabularvalignment="middle">
21710 <column alignment="center" valignment="top" width="0pt">
21711 <column alignment="center" valignment="top" width="0pt">
21712 <column alignment="center" valignment="top" width="0pt">
21713 <row>
21714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21715 \begin_inset Text
21716
21717 \begin_layout Plain Layout
21718
21719 \family roman
21720 \series medium
21721 \shape up
21722 \size normal
21723 \emph off
21724 \bar no
21725 \noun off
21726 \color none
21727 1
21728 \end_layout
21729
21730 \end_inset
21731 </cell>
21732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21733 \begin_inset Text
21734
21735 \begin_layout Plain Layout
21736
21737 \family roman
21738 \series medium
21739 \shape up
21740 \size normal
21741 \emph off
21742 \bar no
21743 \noun off
21744 \color none
21745 2
21746 \end_layout
21747
21748 \end_inset
21749 </cell>
21750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21751 \begin_inset Text
21752
21753 \begin_layout Plain Layout
21754
21755 \family roman
21756 \series medium
21757 \shape up
21758 \size normal
21759 \emph off
21760 \bar no
21761 \noun off
21762 \color none
21763 3
21764 \end_layout
21765
21766 \end_inset
21767 </cell>
21768 </row>
21769 <row>
21770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21771 \begin_inset Text
21772
21773 \begin_layout Plain Layout
21774
21775 \family roman
21776 \series medium
21777 \shape up
21778 \size normal
21779 \emph off
21780 \bar no
21781 \noun off
21782 \color none
21783 Joe
21784 \end_layout
21785
21786 \end_inset
21787 </cell>
21788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21789 \begin_inset Text
21790
21791 \begin_layout Plain Layout
21792
21793 \family roman
21794 \series medium
21795 \shape up
21796 \size normal
21797 \emph off
21798 \bar no
21799 \noun off
21800 \color none
21801 Mary
21802 \end_layout
21803
21804 \end_inset
21805 </cell>
21806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21807 \begin_inset Text
21808
21809 \begin_layout Plain Layout
21810
21811 \family roman
21812 \series medium
21813 \shape up
21814 \size normal
21815 \emph off
21816 \bar no
21817 \noun off
21818 \color none
21819 Ted
21820 \end_layout
21821
21822 \end_inset
21823 </cell>
21824 </row>
21825 <row>
21826 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21827 \begin_inset Text
21828
21829 \begin_layout Plain Layout
21830
21831 \family roman
21832 \series medium
21833 \shape up
21834 \size normal
21835 \emph off
21836 \bar no
21837 \noun off
21838 \color none
21839 \begin_inset Formula $\int x^{2}dx$
21840 \end_inset
21841
21842
21843 \end_layout
21844
21845 \end_inset
21846 </cell>
21847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21848 \begin_inset Text
21849
21850 \begin_layout Plain Layout
21851
21852 \family roman
21853 \series medium
21854 \shape up
21855 \size normal
21856 \emph off
21857 \bar no
21858 \noun off
21859 \color none
21860 \begin_inset Formula $\left[\begin{array}{cc}
21861 a & b\\
21862 c & d
21863 \end{array}\right]$
21864 \end_inset
21865
21866
21867 \end_layout
21868
21869 \end_inset
21870 </cell>
21871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21872 \begin_inset Text
21873
21874 \begin_layout Plain Layout
21875
21876 \family roman
21877 \series medium
21878 \shape up
21879 \size normal
21880 \emph off
21881 \bar no
21882 \noun off
21883 \color none
21884 \begin_inset Formula $1+1=2$
21885 \end_inset
21886
21887
21888 \end_layout
21889
21890 \end_inset
21891 </cell>
21892 </row>
21893 </lyxtabular>
21894
21895 \end_inset
21896
21897
21898 \end_layout
21899
21900 \end_inset
21901
21902
21903 \end_layout
21904
21905 \begin_layout Subsection
21906 More Information
21907 \begin_inset Index idx
21908 status collapsed
21909
21910 \begin_layout Plain Layout
21911 Floats ! Details
21912 \end_layout
21913
21914 \end_inset
21915
21916
21917 \end_layout
21918
21919 \begin_layout Standard
21920 LyX offers you further float types as well as rotated floats.
21921  It also allows you to change the float numbering scheme, to control the
21922  float placement and to change the formatting and placement of the float
21923  caption.
21924  All these features are explained in detail with many examples in the chapter
21925  
21926 \emph on
21927 Floats
21928 \emph default
21929  in the 
21930 \emph on
21931 Embedded
21932 \begin_inset space ~
21933 \end_inset
21934
21935 Objects
21936 \emph default
21937  manual.
21938 \end_layout
21939
21940 \begin_layout Section
21941 Minipages
21942 \begin_inset Index idx
21943 status collapsed
21944
21945 \begin_layout Plain Layout
21946 Minipages
21947 \end_layout
21948
21949 \end_inset
21950
21951
21952 \end_layout
21953
21954 \begin_layout Standard
21955 LaTeX provides a mechanism essentially to produce a page within a page,
21956  called a minipage.
21957  Within a minipage, all the usual rules of indentation, line wrapping, etc.
21958 \begin_inset space \space{}
21959 \end_inset
21960
21961 apply.
21962  
21963 \end_layout
21964
21965 \begin_layout Standard
21966 Minipages in LyX have their own collapsible box inserted via the menu 
21967 \family sans
21968 Insert\SpecialChar \menuseparator
21969 Box
21970 \family default
21971 .
21972  Right-clicking on the box label allows you to alter the width of the minipage
21973  and its alignment within the page.
21974 \end_layout
21975
21976 \begin_layout Standard
21977 \align center
21978 \begin_inset Box Frameless
21979 position "t"
21980 hor_pos "c"
21981 has_inner_box 1
21982 inner_pos "t"
21983 use_parbox 0
21984 use_makebox 0
21985 width "30col%"
21986 special "none"
21987 height "1pt"
21988 height_special "totalheight"
21989 status collapsed
21990
21991 \begin_layout Plain Layout
21992
21993 \shape italic
21994 This is a minipage.
21995  The text is set in an italic style.
21996 \end_layout
21997
21998 \begin_layout Plain Layout
21999
22000 \shape italic
22001 Minipages are often used for text in another language or text that needs
22002  another formatting.
22003 \end_layout
22004
22005 \end_inset
22006
22007
22008 \end_layout
22009
22010 \begin_layout Standard
22011 \begin_inset VSpace medskip
22012 \end_inset
22013
22014 If you place two minipages side-by-side, you can use 
22015 \family sans
22016 Horizontal Fills
22017 \family default
22018  as described in section
22019 \begin_inset space ~
22020 \end_inset
22021
22022
22023 \begin_inset CommandInset ref
22024 LatexCommand ref
22025 reference "sub:Horizontal-Space"
22026
22027 \end_inset
22028
22029 :
22030 \begin_inset VSpace medskip
22031 \end_inset
22032
22033
22034 \end_layout
22035
22036 \begin_layout Standard
22037 \begin_inset Box Frameless
22038 position "t"
22039 hor_pos "c"
22040 has_inner_box 1
22041 inner_pos "t"
22042 use_parbox 0
22043 use_makebox 0
22044 width "1.5in"
22045 special "none"
22046 height "1pt"
22047 height_special "totalheight"
22048 status open
22049
22050 \begin_layout Plain Layout
22051 This is a minipage with some stupid dummy text.
22052  This dummy text is used to increase the size of the minipage.
22053 \end_layout
22054
22055 \end_inset
22056
22057
22058 \begin_inset space \hfill{}
22059 \end_inset
22060
22061
22062 \begin_inset Box Frameless
22063 position "t"
22064 hor_pos "c"
22065 has_inner_box 1
22066 inner_pos "t"
22067 use_parbox 0
22068 use_makebox 0
22069 width "1.5in"
22070 special "none"
22071 height "1pt"
22072 height_special "totalheight"
22073 status open
22074
22075 \begin_layout Plain Layout
22076 This is a minipage with some stupid dummy text.
22077  This dummy text is used to increase the size of the minipage.
22078 \end_layout
22079
22080 \end_inset
22081
22082
22083 \end_layout
22084
22085 \begin_layout Standard
22086 \begin_inset VSpace bigskip
22087 \end_inset
22088
22089
22090 \end_layout
22091
22092 \begin_layout Standard
22093 When you right-click on a minipage box, you can transform the box to another
22094  box type.
22095  All box types and their settings are explained in detail in chapter 
22096 \emph on
22097 Boxes
22098 \emph default
22099  of the 
22100 \emph on
22101 Embedded
22102 \begin_inset space ~
22103 \end_inset
22104
22105 Objects
22106 \emph default
22107  manual.
22108 \end_layout
22109
22110 \begin_layout Chapter
22111 Mathematical Formulas
22112 \begin_inset Index idx
22113 status collapsed
22114
22115 \begin_layout Plain Layout
22116 Math
22117 \end_layout
22118
22119 \end_inset
22120
22121
22122 \begin_inset Index idx
22123 status collapsed
22124
22125 \begin_layout Plain Layout
22126 Formulas | see
22127 \begin_inset ERT
22128 status collapsed
22129
22130 \begin_layout Plain Layout
22131
22132 {
22133 \end_layout
22134
22135 \end_inset
22136
22137 Math
22138 \begin_inset ERT
22139 status collapsed
22140
22141 \begin_layout Plain Layout
22142
22143 }
22144 \end_layout
22145
22146 \end_inset
22147
22148
22149 \end_layout
22150
22151 \end_inset
22152
22153
22154 \begin_inset CommandInset label
22155 LatexCommand label
22156 name "chap:Mathematical-Formulas"
22157
22158 \end_inset
22159
22160
22161 \end_layout
22162
22163 \begin_layout Standard
22164 The issues of this chapter are described in detail in the 
22165 \emph on
22166 Math
22167 \emph default
22168  manual.
22169  There you will also find tips and tricks for special cases.
22170 \end_layout
22171
22172 \begin_layout Section
22173 Basic Math Editing
22174 \begin_inset Index idx
22175 status collapsed
22176
22177 \begin_layout Plain Layout
22178 Math ! Basics
22179 \end_layout
22180
22181 \end_inset
22182
22183
22184 \end_layout
22185
22186 \begin_layout Standard
22187 To create a math formula, you can just click on the toolbar icon 
22188 \begin_inset Info
22189 type  "icon"
22190 arg   "math-mode on"
22191 \end_inset
22192
22193  (shortcut 
22194 \begin_inset Info
22195 type  "shortcut"
22196 arg   "math-mode"
22197 \end_inset
22198
22199 ).
22200  That will create a little blue rectangle, with purple markers around its
22201  corners.
22202  That blue rectangle is the formula itself; the purple markers indicate
22203  what level of nesting within the formula you are at.
22204  You can also choose a particular formula type to insert via the 
22205 \family sans
22206 Insert\SpecialChar \menuseparator
22207 Math
22208 \family default
22209  menu.
22210 \end_layout
22211
22212 \begin_layout Standard
22213 Editing the parameters of a formula and adding math constructs can be done
22214  with the 
22215 \family sans
22216 math
22217 \begin_inset space ~
22218 \end_inset
22219
22220 toolbar
22221 \family default
22222 , that appears if the cursor is in a formula.
22223 \end_layout
22224
22225 \begin_layout Standard
22226 There are two main types of formulas, inline formulas and display formulas.
22227  Inline formulas appear within a text line, like this one:
22228 \end_layout
22229
22230 \begin_layout Standard
22231 This is a line with an inline formula 
22232 \begin_inset Formula $A=B$
22233 \end_inset
22234
22235  in it.
22236 \end_layout
22237
22238 \begin_layout Standard
22239 Displayed formulas appear outside the text like if they were in a separate
22240  paragraph, like this one:
22241 \begin_inset Formula 
22242 \[
22243 A=B
22244 \]
22245
22246 \end_inset
22247
22248 You can only number and reference displayed formulas.
22249 \end_layout
22250
22251 \begin_layout Standard
22252 LyX also supports many LaTeX math commands.
22253  For example, typing 
22254 \begin_inset Quotes eld
22255 \end_inset
22256
22257
22258 \series bold
22259
22260 \backslash
22261 alpha
22262 \series default
22263
22264 \begin_inset Quotes erd
22265 \end_inset
22266
22267 , followed by a space, in a formula will create the Greek letter 
22268 \begin_inset Formula $\alpha$
22269 \end_inset
22270
22271 .
22272  Typing commands might sometimes be faster than using the 
22273 \family sans
22274 Math
22275 \begin_inset space ~
22276 \end_inset
22277
22278 Panel
22279 \family default
22280 .
22281 \end_layout
22282
22283 \begin_layout Subsection
22284 Navigating in Formulas
22285 \begin_inset Index idx
22286 status collapsed
22287
22288 \begin_layout Plain Layout
22289 Math ! Navigating
22290 \end_layout
22291
22292 \end_inset
22293
22294
22295 \end_layout
22296
22297 \begin_layout Standard
22298 The best control over the cursor position within an existing formula is
22299  achieved with the arrow keys.
22300  LyX uses small rectangles to indicate places where something can be inserted.
22301  The arrow keys can be used to navigate between parts of a formula.
22302  Pressing 
22303 \family sans
22304 Space
22305 \family default
22306  will leave a formula construct (a square root 
22307 \begin_inset Formula $\sqrt{2}$
22308 \end_inset
22309
22310 , or parentheses 
22311 \begin_inset Formula $\left(f\right)$
22312 \end_inset
22313
22314 , or a matrix 
22315 \begin_inset Formula $\left[\begin{array}{cc}
22316 1 & 2\\
22317 3 & 4
22318 \end{array}\right]$
22319 \end_inset
22320
22321 ).
22322  Pressing 
22323 \family sans
22324 Escape
22325 \family default
22326  will leave the formula, placing the cursor after the formula.
22327  
22328 \family sans
22329 Tab
22330 \family default
22331  can be used to move horizontally in a formula; for example, through the
22332  cells of a matrix or the positions in a multi-line equation.
22333 \end_layout
22334
22335 \begin_layout Standard
22336
22337 \family sans
22338 Space
22339 \family default
22340 , printed in this document as 
22341 \begin_inset Quotes eld
22342 \end_inset
22343
22344
22345 \begin_inset space \textvisiblespace{}
22346 \end_inset
22347
22348
22349 \begin_inset Quotes erd
22350 \end_inset
22351
22352 , seems to do nothing in a formula, since it does not add a space between
22353  characters, but it does exit a nested structure.
22354  For this reason, you have to be careful about using 
22355 \family sans
22356 Space
22357 \family default
22358 .
22359  For example, if you want 
22360 \begin_inset Formula $\sqrt{2x+1}$
22361 \end_inset
22362
22363 , type 
22364 \series bold
22365
22366 \backslash
22367 sqrt
22368 \begin_inset space \textvisiblespace{}
22369 \end_inset
22370
22371 2x+1
22372 \series default
22373  and not 
22374 \series bold
22375
22376 \backslash
22377 sqrt
22378 \begin_inset space \textvisiblespace{}
22379 \end_inset
22380
22381 2x
22382 \begin_inset space \textvisiblespace{}
22383 \end_inset
22384
22385 +1
22386 \series default
22387 , since in the latter case only the 
22388 \family typewriter
22389
22390 \begin_inset Formula $2x$
22391 \end_inset
22392
22393
22394 \family default
22395  will be under the square root sign: 
22396 \begin_inset Formula $\sqrt{2x}+1$
22397 \end_inset
22398
22399 .
22400 \end_layout
22401
22402 \begin_layout Standard
22403 You can leave many parts of a formula, like this matrix, partially filled
22404  in, such as:
22405 \begin_inset Formula 
22406 \[
22407 \left(\begin{array}{ccc}
22408 \lambda_{1}\\
22409  & \ddots\\
22410  &  & \lambda_{n}
22411 \end{array}\right)
22412 \]
22413
22414 \end_inset
22415
22416 If you leave a fraction only partially filled in, or a subscript with nothing
22417  in it, the results will be unpredictable, but most constructs don't mind.
22418 \end_layout
22419
22420 \begin_layout Subsection
22421 Selecting Text
22422 \end_layout
22423
22424 \begin_layout Standard
22425 You can select text within a formula in two different ways.
22426  Place the cursor at one end of the string of text you want, and press 
22427 \family sans
22428 Shift
22429 \family default
22430  and a cursor movement key to select text.
22431  It will be highlighted as with regular text selection.
22432  Alternatively, you can select text with the mouse in the usual way.
22433  That text can then be cut or copied, and then pasted within any formula,
22434  but not in a normal text region in LyX.
22435 \end_layout
22436
22437 \begin_layout Subsection
22438 Exponents and Subscripts
22439 \begin_inset Index idx
22440 status collapsed
22441
22442 \begin_layout Plain Layout
22443 Math ! Exponents
22444 \end_layout
22445
22446 \end_inset
22447
22448
22449 \begin_inset Index idx
22450 status collapsed
22451
22452 \begin_layout Plain Layout
22453 Math ! Subscripts
22454 \end_layout
22455
22456 \end_inset
22457
22458
22459 \end_layout
22460
22461 \begin_layout Standard
22462 You can use the math panel to add super- or subscripts (buttons 
22463 \begin_inset Info
22464 type  "icon"
22465 arg   "math-superscript"
22466 \end_inset
22467
22468  and 
22469 \begin_inset Info
22470 type  "icon"
22471 arg   "math-subscript"
22472 \end_inset
22473
22474 ), but it is often much easier to use a command.
22475  To get 
22476 \begin_inset Formula $x^{2}$
22477 \end_inset
22478
22479 , type in a formula 
22480 \series bold
22481 x^2
22482 \begin_inset space \textvisiblespace{}
22483 \end_inset
22484
22485
22486 \series default
22487 .
22488  The final 
22489 \family sans
22490 Space
22491 \family default
22492  puts the cursor back down on the base line of the expression.
22493  If you type 
22494 \series bold
22495 x^2y
22496 \series default
22497 , you will get 
22498 \begin_inset Formula $x^{2y}$
22499 \end_inset
22500
22501 , to get 
22502 \begin_inset Formula $x^{2}y$
22503 \end_inset
22504
22505 , type 
22506 \series bold
22507 x^2
22508 \begin_inset space \textvisiblespace{}
22509 \end_inset
22510
22511 y
22512 \series default
22513 .
22514  If you use characters in the superscript, that could be accented with the
22515  circumflex 
22516 \begin_inset Quotes eld
22517 \end_inset
22518
22519 ^
22520 \begin_inset Quotes erd
22521 \end_inset
22522
22523 , you have to use an extra 
22524 \family sans
22525 Space
22526 \family default
22527  to separate the circumflex and the character.
22528  For example, if you want 
22529 \begin_inset Formula $x^{a}$
22530 \end_inset
22531
22532 , type 
22533 \series bold
22534 x^
22535 \begin_inset space \textvisiblespace{}
22536 \end_inset
22537
22538 a
22539 \series default
22540 .
22541  Subscripts are similar: To get 
22542 \begin_inset Formula $a_{1}$
22543 \end_inset
22544
22545 , type 
22546 \series bold
22547 a_1
22548 \begin_inset space \textvisiblespace{}
22549 \end_inset
22550
22551
22552 \series default
22553 .
22554 \end_layout
22555
22556 \begin_layout Subsection
22557 Fractions
22558 \begin_inset Index idx
22559 status collapsed
22560
22561 \begin_layout Plain Layout
22562 Math ! Fractions
22563 \end_layout
22564
22565 \end_inset
22566
22567
22568 \end_layout
22569
22570 \begin_layout Standard
22571 Create a fraction either with the command 
22572 \series bold
22573
22574 \backslash
22575 frac
22576 \series default
22577  or by using the icon 
22578 \begin_inset Info
22579 type  "icon"
22580 arg   "math-insert \\frac"
22581 \end_inset
22582
22583  in the 
22584 \family sans
22585 Math
22586 \begin_inset space ~
22587 \end_inset
22588
22589 Panel
22590 \family default
22591 .
22592  You will be presented with an empty fraction.
22593  The cursor is above the fraction line.
22594  To move it to the bottom, simply press 
22595 \family sans
22596 Down
22597 \family default
22598 .
22599  To move back up, press 
22600 \family sans
22601 Up
22602 \family default
22603 .
22604  Any math structure can be placed in a fraction, as this example shows:
22605 \begin_inset Formula 
22606 \[
22607 \left[\frac{1}{\left(\begin{array}{cc}
22608 2 & 3\\
22609 4 & 5
22610 \end{array}\right)}\right]
22611 \]
22612
22613 \end_inset
22614
22615
22616 \end_layout
22617
22618 \begin_layout Subsection
22619 Roots
22620 \begin_inset Index idx
22621 status collapsed
22622
22623 \begin_layout Plain Layout
22624 Math ! Roots
22625 \end_layout
22626
22627 \end_inset
22628
22629
22630 \end_layout
22631
22632 \begin_layout Standard
22633 Roots can be created using the 
22634 \family sans
22635 Math
22636 \begin_inset space ~
22637 \end_inset
22638
22639 Panel
22640 \family default
22641  buttons 
22642 \begin_inset Info
22643 type  "icon"
22644 arg   "math-insert \\sqrt"
22645 \end_inset
22646
22647  or 
22648 \begin_inset Info
22649 type  "icon"
22650 arg   "math-insert \\root"
22651 \end_inset
22652
22653  or the commands 
22654 \series bold
22655
22656 \backslash
22657 sqrt
22658 \series default
22659  or 
22660 \series bold
22661
22662 \backslash
22663 root
22664 \series default
22665 .
22666  With the command 
22667 \series bold
22668
22669 \backslash
22670 root
22671 \series default
22672  you can produce roots of higher orders, like cube roots, while 
22673 \series bold
22674
22675 \backslash
22676 sqrt
22677 \series default
22678  always produces a square root.
22679 \end_layout
22680
22681 \begin_layout Subsection
22682 Operators with Limits
22683 \begin_inset Index idx
22684 status collapsed
22685
22686 \begin_layout Plain Layout
22687 Math ! Sums
22688 \end_layout
22689
22690 \end_inset
22691
22692
22693 \begin_inset Index idx
22694 status collapsed
22695
22696 \begin_layout Plain Layout
22697 Math ! Integrals
22698 \end_layout
22699
22700 \end_inset
22701
22702
22703 \begin_inset CommandInset label
22704 LatexCommand label
22705 name "sub:Operators-with-Limits"
22706
22707 \end_inset
22708
22709
22710 \end_layout
22711
22712 \begin_layout Standard
22713 Sum (
22714 \begin_inset Formula $\sum$
22715 \end_inset
22716
22717 ) and integral (
22718 \begin_inset Formula $\int$
22719 \end_inset
22720
22721 ) operators are very often decorated with limits.
22722  These limits can be entered in LyX by entering them as you would enter
22723  a super- or subscript, directly after the symbol.
22724  The sum operator will automatically place its 
22725 \begin_inset Quotes eld
22726 \end_inset
22727
22728 limits
22729 \begin_inset Quotes erd
22730 \end_inset
22731
22732  over and under the symbol in displayed formulas, and to the side in inline
22733  formulas, as in 
22734 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
22735 \end_inset
22736
22737 , versus
22738 \begin_inset Formula 
22739 \[
22740 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
22741 \]
22742
22743 \end_inset
22744
22745 Integral signs, however, will place the limits to the side in both formula
22746  types.
22747 \end_layout
22748
22749 \begin_layout Standard
22750 All operators with limits will be automatically re-sized when placed in
22751  display mode.
22752  The placement of the limits can be changed by placing the cursor directly
22753  behind the operator and using the menu 
22754 \family sans
22755 Edit\SpecialChar \menuseparator
22756 Math\SpecialChar \menuseparator
22757 Change
22758 \begin_inset space ~
22759 \end_inset
22760
22761 Limits
22762 \begin_inset space ~
22763 \end_inset
22764
22765 Type
22766 \family default
22767  or entering 
22768 \begin_inset Info
22769 type  "shortcut"
22770 arg   "math-limits"
22771 \end_inset
22772
22773 .
22774 \end_layout
22775
22776 \begin_layout Standard
22777 Certain other mathematical expressions also have this 
22778 \begin_inset Quotes eld
22779 \end_inset
22780
22781 moving limits
22782 \begin_inset Quotes erd
22783 \end_inset
22784
22785  feature, such as
22786 \begin_inset Index idx
22787 status collapsed
22788
22789 \begin_layout Plain Layout
22790 Math ! Limits
22791 \end_layout
22792
22793 \end_inset
22794
22795
22796 \begin_inset Formula 
22797 \[
22798 \lim_{x\rightarrow\infty}f(x),
22799 \]
22800
22801 \end_inset
22802
22803 which will place the 
22804 \begin_inset Formula $x\rightarrow\infty$
22805 \end_inset
22806
22807  underneath the 
22808 \begin_inset Quotes eld
22809 \end_inset
22810
22811 lim
22812 \begin_inset Quotes erd
22813 \end_inset
22814
22815  in display mode.
22816  In inline formulas it looks like this: 
22817 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
22818 \end_inset
22819
22820 .
22821 \end_layout
22822
22823 \begin_layout Standard
22824 Note that the lim-function was entered as the function macro 
22825 \series bold
22826
22827 \backslash
22828 lim
22829 \series default
22830 .
22831  Have a look at section
22832 \begin_inset space ~
22833 \end_inset
22834
22835
22836 \begin_inset CommandInset ref
22837 LatexCommand ref
22838 reference "sub:Functions"
22839
22840 \end_inset
22841
22842  for an explanation of function macros.
22843 \end_layout
22844
22845 \begin_layout Subsection
22846 Math Symbols
22847 \begin_inset Index idx
22848 status collapsed
22849
22850 \begin_layout Plain Layout
22851 Math ! Symbols
22852 \end_layout
22853
22854 \end_inset
22855
22856
22857 \end_layout
22858
22859 \begin_layout Standard
22860 Most math symbols can be found in the 
22861 \family sans
22862 Math
22863 \begin_inset space ~
22864 \end_inset
22865
22866 Panel
22867 \family default
22868  under one of several categories; including 
22869 \family sans
22870 Greek
22871 \family default
22872
22873 \family sans
22874 Operators
22875 \family default
22876
22877 \family sans
22878 Relations
22879 \family default
22880
22881 \family sans
22882 Arrows
22883 \family default
22884 .
22885  There are also the additional symbols provided by the American Mathematical
22886  Society (AMS).
22887 \end_layout
22888
22889 \begin_layout Standard
22890 If you know the LaTeX-command for a construct or symbol you wish to use,
22891  you don't have to use the 
22892 \family sans
22893 Math
22894 \begin_inset space ~
22895 \end_inset
22896
22897 Panel
22898 \family default
22899 ; you can type the command directly into the formula.
22900  LyX will convert it to the corresponding symbol or construct.
22901 \end_layout
22902
22903 \begin_layout Subsection
22904 Altering Spacing
22905 \begin_inset Index idx
22906 status collapsed
22907
22908 \begin_layout Plain Layout
22909 Math ! Spaces
22910 \end_layout
22911
22912 \end_inset
22913
22914
22915 \end_layout
22916
22917 \begin_layout Standard
22918 You may want to create spaces that differ from the standard spacing that
22919  LaTeX provides.
22920  To do this, press 
22921 \begin_inset Info
22922 type  "shortcut"
22923 arg   "command-alternatives space-insert protected ; math-space"
22924 \end_inset
22925
22926  or use the 
22927 \family sans
22928 Math
22929 \begin_inset space ~
22930 \end_inset
22931
22932 Panel
22933 \family default
22934  button 
22935 \family sans
22936
22937 \begin_inset Info
22938 type  "icon"
22939 arg   "math-insert \\space"
22940 \end_inset
22941
22942
22943 \family default
22944 .
22945  This generates a small space, and shows a small marker on the screen.
22946  For example, the sequence 
22947 \series bold
22948 a Ctrl+Space b
22949 \series default
22950
22951 \begin_inset Formula $a\, b$
22952 \end_inset
22953
22954  appears in LyX as 
22955 \begin_inset Graphics
22956         filename clipart/SpaceMarker.png
22957
22958 \end_inset
22959
22960 .
22961  You can change the space to different sizes when you set the cursor behind
22962  the space marker and enter space again several times.
22963  With every space enter the size will be changed.
22964  Some markers for the space size appear red in LyX, because they are negative
22965  spaces.
22966  Here are two examples:
22967 \end_layout
22968
22969 \begin_layout Standard
22970
22971 \series bold
22972 a Ctrl+Space b
22973 \series default
22974  and 3×
22975 \family sans
22976 Space
22977 \family default
22978
22979 \begin_inset Formula $a\quad b$
22980 \end_inset
22981
22982
22983 \end_layout
22984
22985 \begin_layout Standard
22986
22987 \series bold
22988 a Ctrl+Space b
22989 \series default
22990  and 5×
22991 \family sans
22992 Space
22993 \family default
22994
22995 \begin_inset Formula $a\! b$
22996 \end_inset
22997
22998
22999 \end_layout
23000
23001 \begin_layout Subsection
23002 Functions
23003 \begin_inset Index idx
23004 status collapsed
23005
23006 \begin_layout Plain Layout
23007 Math ! Functions
23008 \end_layout
23009
23010 \end_inset
23011
23012
23013 \begin_inset CommandInset label
23014 LatexCommand label
23015 name "sub:Functions"
23016
23017 \end_inset
23018
23019
23020 \end_layout
23021
23022 \begin_layout Standard
23023 The 
23024 \family sans
23025 Math
23026 \begin_inset space ~
23027 \end_inset
23028
23029 Panel
23030 \family default
23031  contains under the button 
23032 \family sans
23033
23034 \begin_inset Info
23035 type  "icon"
23036 arg   "math-insert \\functions"
23037 \end_inset
23038
23039
23040 \family default
23041  a number of function macros, such as 
23042 \begin_inset Formula $\sin$
23043 \end_inset
23044
23045
23046 \begin_inset Formula $\lim$
23047 \end_inset
23048
23049
23050 \emph on
23051 etc
23052 \emph default
23053 .
23054  (you can also insert them in a formula by typing 
23055 \series bold
23056
23057 \backslash
23058 sin
23059 \series default
23060  etc.).
23061  Standard mathematical practice is that functions are printed upright to
23062  avoid confusions, because 
23063 \begin_inset Formula $sin$
23064 \end_inset
23065
23066  does normally mean 
23067 \begin_inset Formula $s\cdot i\cdot n$
23068 \end_inset
23069
23070 .
23071 \end_layout
23072
23073 \begin_layout Standard
23074 Using the function macros will also produce correct spacing around the function:
23075  
23076 \begin_inset Formula $a\sin x$
23077 \end_inset
23078
23079  is different from 
23080 \begin_inset Formula $asinx$
23081 \end_inset
23082
23083 .
23084 \end_layout
23085
23086 \begin_layout Standard
23087 For some mathematical objects, like limits, the macro changes where subscripts
23088  are placed, as described in section
23089 \begin_inset space ~
23090 \end_inset
23091
23092
23093 \begin_inset CommandInset ref
23094 LatexCommand ref
23095 reference "sub:Operators-with-Limits"
23096
23097 \end_inset
23098
23099 .
23100 \end_layout
23101
23102 \begin_layout Subsection
23103 Accents
23104 \begin_inset Index idx
23105 status collapsed
23106
23107 \begin_layout Plain Layout
23108 Math ! Accents
23109 \end_layout
23110
23111 \end_inset
23112
23113
23114 \end_layout
23115
23116 \begin_layout Standard
23117 In a formula you can insert accented characters in the same way as in text
23118  mode.
23119  This may depend on your keyboard, or the bindings file you use.
23120  You can also use LaTeX commands, for example, to enter 
23121 \begin_inset Formula $\hat{a}$
23122 \end_inset
23123
23124  even if your keyboard doesn't have the circumflex enabled.
23125  Our example is entered by typing 
23126 \series bold
23127
23128 \backslash
23129 hat
23130 \begin_inset space \textvisiblespace{}
23131 \end_inset
23132
23133 a
23134 \series default
23135  in a formula.
23136  Table
23137 \begin_inset space ~
23138 \end_inset
23139
23140
23141 \begin_inset CommandInset ref
23142 LatexCommand ref
23143 reference "tab:Accent-names-and"
23144
23145 \end_inset
23146
23147  shows the equivalences between the accent names and the commands.
23148 \end_layout
23149
23150 \begin_layout Standard
23151 \begin_inset Float table
23152 wide false
23153 sideways false
23154 status open
23155
23156 \begin_layout Plain Layout
23157 \begin_inset Caption Standard
23158
23159 \begin_layout Plain Layout
23160 \begin_inset CommandInset label
23161 LatexCommand label
23162 name "tab:Accent-names-and"
23163
23164 \end_inset
23165
23166 Accent names and the corresponding commands.
23167 \end_layout
23168
23169 \end_inset
23170
23171
23172 \end_layout
23173
23174 \begin_layout Plain Layout
23175 \align center
23176 \begin_inset Tabular
23177 <lyxtabular version="3" rows="11" columns="3">
23178 <features rotate="0" tabularvalignment="middle">
23179 <column alignment="center" valignment="top" width="0pt">
23180 <column alignment="center" valignment="top" width="0pt">
23181 <column alignment="center" valignment="top" width="0pt">
23182 <row>
23183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23184 \begin_inset Text
23185
23186 \begin_layout Plain Layout
23187 Name
23188 \end_layout
23189
23190 \end_inset
23191 </cell>
23192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23193 \begin_inset Text
23194
23195 \begin_layout Plain Layout
23196 Command
23197 \end_layout
23198
23199 \end_inset
23200 </cell>
23201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23202 \begin_inset Text
23203
23204 \begin_layout Plain Layout
23205 E
23206 \family roman
23207 \series medium
23208 \shape up
23209 \size normal
23210 \emph off
23211 \bar no
23212 \noun off
23213 \color none
23214 xample
23215 \end_layout
23216
23217 \end_inset
23218 </cell>
23219 </row>
23220 <row>
23221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23222 \begin_inset Text
23223
23224 \begin_layout Plain Layout
23225
23226 \family roman
23227 \series medium
23228 \shape up
23229 \size normal
23230 \emph off
23231 \bar no
23232 \noun off
23233 \color none
23234 circumflex
23235 \end_layout
23236
23237 \end_inset
23238 </cell>
23239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23240 \begin_inset Text
23241
23242 \begin_layout Plain Layout
23243
23244 \series bold
23245
23246 \backslash
23247 hat
23248 \end_layout
23249
23250 \end_inset
23251 </cell>
23252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23253 \begin_inset Text
23254
23255 \begin_layout Plain Layout
23256
23257 \family roman
23258 \series medium
23259 \shape up
23260 \size normal
23261 \emph off
23262 \bar no
23263 \noun off
23264 \color none
23265 \begin_inset Formula $\hat{a}$
23266 \end_inset
23267
23268
23269 \end_layout
23270
23271 \end_inset
23272 </cell>
23273 </row>
23274 <row>
23275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23276 \begin_inset Text
23277
23278 \begin_layout Plain Layout
23279
23280 \family roman
23281 \series medium
23282 \shape up
23283 \size normal
23284 \emph off
23285 \bar no
23286 \noun off
23287 \color none
23288 grave
23289 \end_layout
23290
23291 \end_inset
23292 </cell>
23293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23294 \begin_inset Text
23295
23296 \begin_layout Plain Layout
23297
23298 \series bold
23299
23300 \backslash
23301 grave
23302 \end_layout
23303
23304 \end_inset
23305 </cell>
23306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23307 \begin_inset Text
23308
23309 \begin_layout Plain Layout
23310
23311 \family roman
23312 \series medium
23313 \shape up
23314 \size normal
23315 \emph off
23316 \bar no
23317 \noun off
23318 \color none
23319 \begin_inset Formula $\grave{a}$
23320 \end_inset
23321
23322
23323 \end_layout
23324
23325 \end_inset
23326 </cell>
23327 </row>
23328 <row>
23329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23330 \begin_inset Text
23331
23332 \begin_layout Plain Layout
23333
23334 \family roman
23335 \series medium
23336 \shape up
23337 \size normal
23338 \emph off
23339 \bar no
23340 \noun off
23341 \color none
23342 acute
23343 \end_layout
23344
23345 \end_inset
23346 </cell>
23347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23348 \begin_inset Text
23349
23350 \begin_layout Plain Layout
23351
23352 \series bold
23353
23354 \backslash
23355 acute
23356 \end_layout
23357
23358 \end_inset
23359 </cell>
23360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23361 \begin_inset Text
23362
23363 \begin_layout Plain Layout
23364
23365 \family roman
23366 \series medium
23367 \shape up
23368 \size normal
23369 \emph off
23370 \bar no
23371 \noun off
23372 \color none
23373 \begin_inset Formula $\acute{a}$
23374 \end_inset
23375
23376
23377 \end_layout
23378
23379 \end_inset
23380 </cell>
23381 </row>
23382 <row>
23383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23384 \begin_inset Text
23385
23386 \begin_layout Plain Layout
23387
23388 \family roman
23389 \series medium
23390 \shape up
23391 \size normal
23392 \emph off
23393 \bar no
23394 \noun off
23395 \color none
23396 umlaut
23397 \end_layout
23398
23399 \end_inset
23400 </cell>
23401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23402 \begin_inset Text
23403
23404 \begin_layout Plain Layout
23405
23406 \series bold
23407
23408 \backslash
23409 ddot
23410 \end_layout
23411
23412 \end_inset
23413 </cell>
23414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23415 \begin_inset Text
23416
23417 \begin_layout Plain Layout
23418
23419 \family roman
23420 \series medium
23421 \shape up
23422 \size normal
23423 \emph off
23424 \bar no
23425 \noun off
23426 \color none
23427 \begin_inset Formula $\ddot{a}$
23428 \end_inset
23429
23430
23431 \end_layout
23432
23433 \end_inset
23434 </cell>
23435 </row>
23436 <row>
23437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23438 \begin_inset Text
23439
23440 \begin_layout Plain Layout
23441
23442 \family roman
23443 \series medium
23444 \shape up
23445 \size normal
23446 \emph off
23447 \bar no
23448 \noun off
23449 \color none
23450 tilde
23451 \end_layout
23452
23453 \end_inset
23454 </cell>
23455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23456 \begin_inset Text
23457
23458 \begin_layout Plain Layout
23459
23460 \series bold
23461
23462 \backslash
23463 tilde
23464 \end_layout
23465
23466 \end_inset
23467 </cell>
23468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23469 \begin_inset Text
23470
23471 \begin_layout Plain Layout
23472
23473 \family roman
23474 \series medium
23475 \shape up
23476 \size normal
23477 \emph off
23478 \bar no
23479 \noun off
23480 \color none
23481 \begin_inset Formula $\tilde{a}$
23482 \end_inset
23483
23484
23485 \end_layout
23486
23487 \end_inset
23488 </cell>
23489 </row>
23490 <row>
23491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23492 \begin_inset Text
23493
23494 \begin_layout Plain Layout
23495
23496 \family roman
23497 \series medium
23498 \shape up
23499 \size normal
23500 \emph off
23501 \bar no
23502 \noun off
23503 \color none
23504 dot
23505 \end_layout
23506
23507 \end_inset
23508 </cell>
23509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23510 \begin_inset Text
23511
23512 \begin_layout Plain Layout
23513
23514 \series bold
23515
23516 \backslash
23517 dot
23518 \end_layout
23519
23520 \end_inset
23521 </cell>
23522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23523 \begin_inset Text
23524
23525 \begin_layout Plain Layout
23526
23527 \family roman
23528 \series medium
23529 \shape up
23530 \size normal
23531 \emph off
23532 \bar no
23533 \noun off
23534 \color none
23535 \begin_inset Formula $\dot{a}$
23536 \end_inset
23537
23538
23539 \end_layout
23540
23541 \end_inset
23542 </cell>
23543 </row>
23544 <row>
23545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23546 \begin_inset Text
23547
23548 \begin_layout Plain Layout
23549
23550 \family roman
23551 \series medium
23552 \shape up
23553 \size normal
23554 \emph off
23555 \bar no
23556 \noun off
23557 \color none
23558 breve
23559 \end_layout
23560
23561 \end_inset
23562 </cell>
23563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23564 \begin_inset Text
23565
23566 \begin_layout Plain Layout
23567
23568 \series bold
23569
23570 \backslash
23571 breve
23572 \end_layout
23573
23574 \end_inset
23575 </cell>
23576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23577 \begin_inset Text
23578
23579 \begin_layout Plain Layout
23580
23581 \family roman
23582 \series medium
23583 \shape up
23584 \size normal
23585 \emph off
23586 \bar no
23587 \noun off
23588 \color none
23589 \begin_inset Formula $\breve{a}$
23590 \end_inset
23591
23592
23593 \end_layout
23594
23595 \end_inset
23596 </cell>
23597 </row>
23598 <row>
23599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23600 \begin_inset Text
23601
23602 \begin_layout Plain Layout
23603
23604 \family roman
23605 \series medium
23606 \shape up
23607 \size normal
23608 \emph off
23609 \bar no
23610 \noun off
23611 \color none
23612 caron
23613 \end_layout
23614
23615 \end_inset
23616 </cell>
23617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23618 \begin_inset Text
23619
23620 \begin_layout Plain Layout
23621
23622 \series bold
23623
23624 \backslash
23625 check
23626 \end_layout
23627
23628 \end_inset
23629 </cell>
23630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23631 \begin_inset Text
23632
23633 \begin_layout Plain Layout
23634
23635 \family roman
23636 \series medium
23637 \shape up
23638 \size normal
23639 \emph off
23640 \bar no
23641 \noun off
23642 \color none
23643 \begin_inset Formula $\check{a}$
23644 \end_inset
23645
23646
23647 \end_layout
23648
23649 \end_inset
23650 </cell>
23651 </row>
23652 <row>
23653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23654 \begin_inset Text
23655
23656 \begin_layout Plain Layout
23657
23658 \family roman
23659 \series medium
23660 \shape up
23661 \size normal
23662 \emph off
23663 \bar no
23664 \noun off
23665 \color none
23666 macron
23667 \end_layout
23668
23669 \end_inset
23670 </cell>
23671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23672 \begin_inset Text
23673
23674 \begin_layout Plain Layout
23675
23676 \series bold
23677
23678 \backslash
23679 bar
23680 \end_layout
23681
23682 \end_inset
23683 </cell>
23684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23685 \begin_inset Text
23686
23687 \begin_layout Plain Layout
23688
23689 \family roman
23690 \series medium
23691 \shape up
23692 \size normal
23693 \emph off
23694 \bar no
23695 \noun off
23696 \color none
23697 \begin_inset Formula $\bar{a}$
23698 \end_inset
23699
23700
23701 \end_layout
23702
23703 \end_inset
23704 </cell>
23705 </row>
23706 <row>
23707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23708 \begin_inset Text
23709
23710 \begin_layout Plain Layout
23711 vector
23712 \end_layout
23713
23714 \end_inset
23715 </cell>
23716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23717 \begin_inset Text
23718
23719 \begin_layout Plain Layout
23720
23721 \series bold
23722
23723 \backslash
23724 vec
23725 \end_layout
23726
23727 \end_inset
23728 </cell>
23729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23730 \begin_inset Text
23731
23732 \begin_layout Plain Layout
23733
23734 \family roman
23735 \series medium
23736 \shape up
23737 \size normal
23738 \emph off
23739 \bar no
23740 \noun off
23741 \color none
23742 \begin_inset Formula $\vec{a}$
23743 \end_inset
23744
23745
23746 \end_layout
23747
23748 \end_inset
23749 </cell>
23750 </row>
23751 </lyxtabular>
23752
23753 \end_inset
23754
23755
23756 \end_layout
23757
23758 \end_inset
23759
23760
23761 \end_layout
23762
23763 \begin_layout Standard
23764 You can choose one of the accents by selecting an item from the 
23765 \family sans
23766 Frame
23767 \begin_inset space ~
23768 \end_inset
23769
23770 decorations
23771 \family default
23772  symbol set button 
23773 \begin_inset Info
23774 type  "icon"
23775 arg   "math-insert \\hat"
23776 \end_inset
23777
23778  in the math panel; this will apply to any selection you have made within
23779  a formula too.
23780 \end_layout
23781
23782 \begin_layout Section
23783 Brackets and Delimiters
23784 \begin_inset Index idx
23785 status collapsed
23786
23787 \begin_layout Plain Layout
23788 Math ! Brackets
23789 \end_layout
23790
23791 \end_inset
23792
23793
23794 \begin_inset Index idx
23795 status collapsed
23796
23797 \begin_layout Plain Layout
23798 Math ! Delimiters
23799 \end_layout
23800
23801 \end_inset
23802
23803
23804 \begin_inset CommandInset label
23805 LatexCommand label
23806 name "sec:Brackets-and-Delimiters"
23807
23808 \end_inset
23809
23810
23811 \end_layout
23812
23813 \begin_layout Standard
23814 There are several brackets available through LyX.
23815  For some purposes, using just the keys 
23816 \family typewriter
23817 []{}()|<>
23818 \family default
23819  should suffice.
23820  But if you want to surround a large structure, like a matrix or a fraction,
23821  or if you have several layers of brackets, it is better to use the math
23822  toolbar delimiter icon 
23823 \begin_inset Info
23824 type  "icon"
23825 arg   "dialog-show mathdelimiter"
23826 \end_inset
23827
23828 .
23829  For example, if you construct the brackets around a matrix in this way:
23830 \begin_inset Formula 
23831 \[
23832 \left[\begin{array}{cc}
23833 1 & 2\\
23834 3 & 4
23835 \end{array}\right]
23836 \]
23837
23838 \end_inset
23839
23840 it makes it easier to see the layers of parentheses.
23841  Below, the expression on the left was entered using the delimiter icon
23842  
23843 \begin_inset Info
23844 type  "icon"
23845 arg   "dialog-show mathdelimiter"
23846 \end_inset
23847
23848  and the expression on the right was entered using the 
23849 \family typewriter
23850 ()
23851 \family default
23852  keys.
23853  
23854 \begin_inset Formula 
23855 \[
23856 \frac{1}{\left(1+\left(\frac{1}{1+\left(\frac{1}{1+x}\right)}\right)\right)}\qquad\qquad\frac{1}{(1+(\frac{1}{1+(\frac{1}{1+x})}))}
23857 \]
23858
23859 \end_inset
23860
23861
23862 \end_layout
23863
23864 \begin_layout Standard
23865 If you use the delimiter icon, the parentheses, and other brackets from
23866  that menu will automatically re-size to accommodate the size of what is
23867  inside.
23868 \end_layout
23869
23870 \begin_layout Standard
23871 To construct brackets click on the button for the bracket you want on the
23872  left side and right side.
23873  If you use the option 
23874 \family sans
23875 Keep
23876 \begin_inset space ~
23877 \end_inset
23878
23879 matched
23880 \family default
23881 , the selected bracket type will be used for the left and the right side.
23882  The selection will be shown as TeX code.
23883  If you want one side not to have a bracket, use 
23884 \family sans
23885 (none)
23886 \family default
23887 .
23888  It will appear in LyX with a dotted line, but nothing will be printed.
23889 \end_layout
23890
23891 \begin_layout Standard
23892 If you want to place brackets around existing math structures, like a square
23893  root, you can do so by first highlighting (selecting) the structure that
23894  is to go inside the brackets.
23895  Then choose the appropriate brackets for left and right and click on 
23896 \family sans
23897 Insert
23898 \family default
23899 .
23900  The most common bracket combinations (parentheses, square brackets, and
23901  braces, on both sides) can be entered more quickly using keyboard shortcuts.
23902  For example, to insert a pair of parentheses, select the structure and
23903  enter 
23904 \begin_inset Info
23905 type  "shortcut"
23906 arg   "math-delim ( )"
23907 \end_inset
23908
23909 .
23910 \end_layout
23911
23912 \begin_layout Section
23913 Arrays and Multi-line Equations
23914 \begin_inset Index idx
23915 status collapsed
23916
23917 \begin_layout Plain Layout
23918 Math ! Arrays
23919 \end_layout
23920
23921 \end_inset
23922
23923
23924 \begin_inset Index idx
23925 status collapsed
23926
23927 \begin_layout Plain Layout
23928 Math ! Matrices
23929 \end_layout
23930
23931 \end_inset
23932
23933
23934 \begin_inset Index idx
23935 status collapsed
23936
23937 \begin_layout Plain Layout
23938 Math ! Multi-line Equations
23939 \end_layout
23940
23941 \end_inset
23942
23943
23944 \end_layout
23945
23946 \begin_layout Standard
23947 Matrices are entered in LyX using the 
23948 \family sans
23949 Math
23950 \begin_inset space ~
23951 \end_inset
23952
23953 Panel
23954 \family default
23955  matrix button 
23956 \family sans
23957
23958 \begin_inset Info
23959 type  "icon"
23960 arg   "dialog-show mathmatrix"
23961 \end_inset
23962
23963
23964 \family default
23965 .
23966  It will open a dialog for you to choose the number of rows/columns.
23967  Here is an example:
23968 \begin_inset Formula 
23969 \[
23970 \left(\begin{array}{ccc}
23971 1 & 2 & 3\\
23972 4 & 5 & 6\\
23973 7 & 8 & 9
23974 \end{array}\right)
23975 \]
23976
23977 \end_inset
23978
23979 The parentheses aren't automatic, but you can add them as described in section
23980 \begin_inset space ~
23981 \end_inset
23982
23983
23984 \begin_inset CommandInset ref
23985 LatexCommand ref
23986 reference "sec:Brackets-and-Delimiters"
23987
23988 \end_inset
23989
23990 .
23991  When you construct the matrix, you can decide whether the column entries
23992  will be left-, right-, or center-justified.
23993  This alignment is set in the box 
23994 \family sans
23995 Horizontal
23996 \family default
23997  with the letters 
23998 \begin_inset Quotes eld
23999 \end_inset
24000
24001
24002 \family sans
24003 l
24004 \family default
24005
24006 \begin_inset Quotes erd
24007 \end_inset
24008
24009
24010 \begin_inset Quotes eld
24011 \end_inset
24012
24013
24014 \family sans
24015 r
24016 \family default
24017
24018 \begin_inset Quotes erd
24019 \end_inset
24020
24021 , and 
24022 \begin_inset Quotes eld
24023 \end_inset
24024
24025
24026 \family sans
24027 c
24028 \family default
24029
24030 \begin_inset Quotes erd
24031 \end_inset
24032
24033 .
24034  LyX proposes a 
24035 \begin_inset Quotes eld
24036 \end_inset
24037
24038
24039 \family sans
24040 c
24041 \family default
24042
24043 \begin_inset Quotes erd
24044 \end_inset
24045
24046  for every column as default.
24047  For example, the sequence 
24048 \begin_inset Quotes eld
24049 \end_inset
24050
24051
24052 \family sans
24053 lcr
24054 \family default
24055
24056 \begin_inset Quotes erd
24057 \end_inset
24058
24059  means that the first column will be left-justified, the second will be
24060  centered, and the third column will be right-justified, because each letter
24061  corresponds to the relevant column.
24062  The result will look like this:
24063 \begin_inset Formula 
24064 \[
24065 \begin{array}{lcr}
24066 this & this\, column & this\, column\\
24067 column & has & has\, right\\
24068 has\, left\, alignment & center\, alignment & alignment
24069 \end{array}.
24070 \]
24071
24072 \end_inset
24073
24074
24075 \end_layout
24076
24077 \begin_layout Standard
24078 You can add more rows to an existing matrix by entering 
24079 \begin_inset Info
24080 type  "shortcut"
24081 arg   "newline-insert newline"
24082 \end_inset
24083
24084  while the cursor is in the matrix.
24085  Adding or deleting columns can be done via the menu 
24086 \family sans
24087 Edit\SpecialChar \menuseparator
24088 Math
24089 \family default
24090  or the math toolbar.
24091 \end_layout
24092
24093 \begin_layout Standard
24094 There are other arrays used in formulas, such as distinctions of cases.
24095  It can be created with the menu 
24096 \family sans
24097 Insert\SpecialChar \menuseparator
24098 Math\SpecialChar \menuseparator
24099 Cases
24100 \begin_inset space ~
24101 \end_inset
24102
24103 Environment
24104 \family default
24105  or the command 
24106 \series bold
24107
24108 \backslash
24109 cases
24110 \series default
24111 .
24112  Here is an example: 
24113 \begin_inset Formula 
24114 \[
24115 f(x)=\begin{cases}
24116 -1 & x<0\\
24117 0 & x=0\\
24118 1 & x>0
24119 \end{cases}
24120 \]
24121
24122 \end_inset
24123
24124
24125 \end_layout
24126
24127 \begin_layout Standard
24128 \begin_inset VSpace bigskip
24129 \end_inset
24130
24131 Multi-line formulas are created when you press 
24132 \begin_inset Info
24133 type  "shortcut"
24134 arg   "newline-insert newline"
24135 \end_inset
24136
24137  within a formula.
24138  In an empty formula you can see that three blue boxes appear, one for each
24139  column.
24140  When you press 
24141 \begin_inset Info
24142 type  "shortcut"
24143 arg   "newline-insert newline"
24144 \end_inset
24145
24146  in a non-empty formula, the part before the relation sign (equal sign 
24147 \begin_inset Quotes eld
24148 \end_inset
24149
24150 =
24151 \begin_inset Quotes erd
24152 \end_inset
24153
24154  etc.) will be inserted automatically in the first column, the relation sign
24155  is in the second column, and the rest in the third column.
24156  A new row is created by every further entry of 
24157 \begin_inset Info
24158 type  "shortcut"
24159 arg   "newline-insert newline"
24160 \end_inset
24161
24162 .
24163  Multi-line formulas are always displayed formulas.
24164  Here is an example:
24165 \begin_inset Formula 
24166 \begin{eqnarray}
24167 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
24168 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
24169 \end{eqnarray}
24170
24171 \end_inset
24172
24173 Note that the middle column is designed for relation signs so structures
24174  in this column will be printed in a smaller size:
24175 \begin_inset Formula 
24176 \begin{eqnarray*}
24177 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
24178 \end{eqnarray*}
24179
24180 \end_inset
24181
24182
24183 \end_layout
24184
24185 \begin_layout Standard
24186 The multi-line formula type described here is called 
24187 \family typewriter
24188 \series medium
24189 eqnarray
24190 \family default
24191 \series default
24192 .
24193  There are other multi-line types more suitable for certain situations,
24194  for example if you want a better inter-line spacing than in formula 
24195 \begin_inset CommandInset ref
24196 LatexCommand eqref
24197 reference "eq:asquared"
24198
24199 \end_inset
24200
24201 .
24202  The other types are described in section
24203 \begin_inset space ~
24204 \end_inset
24205
24206
24207 \begin_inset CommandInset ref
24208 LatexCommand ref
24209 reference "sub:AMS-Formula-Types"
24210
24211 \end_inset
24212
24213 .
24214 \end_layout
24215
24216 \begin_layout Section
24217 Formula Numbering and Referencing
24218 \begin_inset Index idx
24219 status collapsed
24220
24221 \begin_layout Plain Layout
24222 Math ! Formula numbering
24223 \end_layout
24224
24225 \end_inset
24226
24227
24228 \begin_inset Index idx
24229 status collapsed
24230
24231 \begin_layout Plain Layout
24232 Math ! Referencing formulas
24233 \end_layout
24234
24235 \end_inset
24236
24237
24238 \begin_inset CommandInset label
24239 LatexCommand label
24240 name "sec:Formula-Numbering-and"
24241
24242 \end_inset
24243
24244
24245 \end_layout
24246
24247 \begin_layout Standard
24248 To number a formula, set the cursor in the formula and use the menu 
24249 \family sans
24250 Edit\SpecialChar \menuseparator
24251 Math\SpecialChar \menuseparator
24252 Number
24253 \begin_inset space ~
24254 \end_inset
24255
24256 Whole
24257 \begin_inset space ~
24258 \end_inset
24259
24260 Formula
24261 \family default
24262  or the shortcut 
24263 \begin_inset Info
24264 type  "shortcut"
24265 arg   "math-number-toggle"
24266 \end_inset
24267
24268 .
24269  The formula number appears in LyX within parentheses.
24270  The number shown is temporary and may be different when the output is generated.
24271  The placement and format of the formula number in the output depends on
24272  the document class.
24273  In this document the number is printed together with the chapter number,
24274  separated by a dot:
24275 \begin_inset Formula 
24276 \begin{equation}
24277 1+1=2
24278 \end{equation}
24279
24280 \end_inset
24281
24282 Using 
24283 \begin_inset Info
24284 type  "shortcut"
24285 arg   "math-number-toggle"
24286 \end_inset
24287
24288  in a numbered formula will switch off the numbering.
24289  You can only number displayed formulas.
24290 \end_layout
24291
24292 \begin_layout Standard
24293 Multi-line formulas can be numbered line by line: Using the menu 
24294 \family sans
24295 Edit\SpecialChar \menuseparator
24296 Math\SpecialChar \menuseparator
24297 Number
24298 \begin_inset space ~
24299 \end_inset
24300
24301 This
24302 \begin_inset space ~
24303 \end_inset
24304
24305 Line
24306 \family default
24307  or the shortcut 
24308 \begin_inset Info
24309 type  "shortcut"
24310 arg   "math-number-line-toggle"
24311 \end_inset
24312
24313  will only toggle the numbering of the line where the cursor is:
24314 \begin_inset Formula 
24315 \begin{eqnarray}
24316 1 & = & 3-2\\
24317 2 & = & 4-2\nonumber \\
24318 4 & \leq & 7
24319 \end{eqnarray}
24320
24321 \end_inset
24322
24323 To number all lines use the shortcut 
24324 \begin_inset Info
24325 type  "shortcut"
24326 arg   "math-number-toggle"
24327 \end_inset
24328
24329 .
24330 \end_layout
24331
24332 \begin_layout Standard
24333 \begin_inset VSpace bigskip
24334 \end_inset
24335
24336 Every displayed formula can be referenced by its number using a label.
24337  A label is inserted with the menu 
24338 \family sans
24339 Insert\SpecialChar \menuseparator
24340 Label
24341 \family default
24342  (toolbar button 
24343 \begin_inset Info
24344 type  "icon"
24345 arg   "label-insert"
24346 \end_inset
24347
24348 ) when the cursor is in the formula.
24349  This opens a dialog to enter the label.
24350  It is recommended that you use the suggested 
24351 \begin_inset Quotes eld
24352 \end_inset
24353
24354
24355 \family sans
24356 eq:
24357 \family default
24358
24359 \begin_inset Quotes erd
24360 \end_inset
24361
24362  as the first part of the label, because this helps later to identify the
24363  label type when you have many labels in your document.
24364  We inserted in the following example the label 
24365 \begin_inset Quotes eld
24366 \end_inset
24367
24368 eq:tanhExp
24369 \begin_inset Quotes erd
24370 \end_inset
24371
24372  in the second line:
24373 \begin_inset Formula 
24374 \begin{eqnarray}
24375 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
24376  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
24377 \end{eqnarray}
24378
24379 \end_inset
24380
24381 Every labeled line is automatically numbered.
24382  Therefore the label is shown behind the formula number.
24383  You can reference a labeled formula using the menu 
24384 \family sans
24385 Insert\SpecialChar \menuseparator
24386 Cross
24387 \begin_inset space ~
24388 \end_inset
24389
24390 Reference
24391 \family default
24392  (toolbar button 
24393 \begin_inset Info
24394 type  "icon"
24395 arg   "dialog-show-new-inset ref"
24396 \end_inset
24397
24398 ).
24399  A dialog appears to choose a label you want to refer to.
24400  The reference appears in LyX as a gray cross-reference box and in the output
24401  as the formula number:
24402 \end_layout
24403
24404 \begin_layout Standard
24405 This is a cross-reference to equation (
24406 \begin_inset CommandInset ref
24407 LatexCommand ref
24408 reference "eq:tanhExp"
24409
24410 \end_inset
24411
24412 ).
24413 \end_layout
24414
24415 \begin_layout Standard
24416 The properties of LyX's cross-reference box are described in section
24417 \begin_inset space ~
24418 \end_inset
24419
24420
24421 \begin_inset CommandInset ref
24422 LatexCommand ref
24423 reference "sec:Cross-References"
24424
24425 \end_inset
24426
24427 .
24428  To delete a label, set the cursor at the end in the labeled formula and
24429  press 
24430 \family sans
24431 Del
24432 \family default
24433 .
24434 \end_layout
24435
24436 \begin_layout Section
24437 User defined math macros
24438 \begin_inset Index idx
24439 status collapsed
24440
24441 \begin_layout Plain Layout
24442 Math ! Macros
24443 \end_layout
24444
24445 \end_inset
24446
24447
24448 \end_layout
24449
24450 \begin_layout Standard
24451 LyX allows you to define macros for formulas which is very useful when you
24452  have equations of the same form in a document several times.
24453  Math macros are explained in section 
24454 \emph on
24455 Math
24456 \begin_inset space ~
24457 \end_inset
24458
24459 Macros
24460 \emph default
24461  of the 
24462 \emph on
24463 Math
24464 \emph default
24465  manual.
24466 \end_layout
24467
24468 \begin_layout Section
24469 Fine-Tuning
24470 \end_layout
24471
24472 \begin_layout Subsection
24473 Typefaces
24474 \begin_inset Index idx
24475 status collapsed
24476
24477 \begin_layout Plain Layout
24478 Math ! Typefaces
24479 \end_layout
24480
24481 \end_inset
24482
24483
24484 \end_layout
24485
24486 \begin_layout Standard
24487 The standard font for text is italic, for numbers the standard is roman.
24488  To set a font in a formula, use the 
24489 \family sans
24490 Math
24491 \begin_inset space ~
24492 \end_inset
24493
24494 Panel
24495 \family default
24496  button 
24497 \family sans
24498
24499 \begin_inset Info
24500 type  "icon"
24501 arg   "math-insert \\font"
24502 \end_inset
24503
24504
24505 \family default
24506 , or enter its command, listed in table
24507 \begin_inset space ~
24508 \end_inset
24509
24510
24511 \begin_inset CommandInset ref
24512 LatexCommand ref
24513 reference "tab:Typefaces-and-the"
24514
24515 \end_inset
24516
24517 , directly.
24518 \end_layout
24519
24520 \begin_layout Standard
24521 \begin_inset Float table
24522 wide false
24523 sideways false
24524 status open
24525
24526 \begin_layout Plain Layout
24527 \begin_inset Caption Standard
24528
24529 \begin_layout Plain Layout
24530 \begin_inset CommandInset label
24531 LatexCommand label
24532 name "tab:Typefaces-and-the"
24533
24534 \end_inset
24535
24536 Typefaces and the corresponding commands.
24537 \end_layout
24538
24539 \end_inset
24540
24541
24542 \end_layout
24543
24544 \begin_layout Plain Layout
24545 \align center
24546 \begin_inset Tabular
24547 <lyxtabular version="3" rows="9" columns="2">
24548 <features rotate="0" tabularvalignment="middle">
24549 <column alignment="center" valignment="top" width="0pt">
24550 <column alignment="center" valignment="top" width="0pt">
24551 <row>
24552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24553 \begin_inset Text
24554
24555 \begin_layout Plain Layout
24556 Font
24557 \end_layout
24558
24559 \end_inset
24560 </cell>
24561 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24562 \begin_inset Text
24563
24564 \begin_layout Plain Layout
24565 Command
24566 \end_layout
24567
24568 \end_inset
24569 </cell>
24570 </row>
24571 <row>
24572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24573 \begin_inset Text
24574
24575 \begin_layout Plain Layout
24576
24577 \shape up
24578 \size normal
24579 \bar no
24580 \noun off
24581 \color none
24582 \begin_inset Formula $\mathrm{Roman}$
24583 \end_inset
24584
24585
24586 \end_layout
24587
24588 \end_inset
24589 </cell>
24590 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24591 \begin_inset Text
24592
24593 \begin_layout Plain Layout
24594
24595 \series bold
24596
24597 \backslash
24598 mathrm
24599 \end_layout
24600
24601 \end_inset
24602 </cell>
24603 </row>
24604 <row>
24605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24606 \begin_inset Text
24607
24608 \begin_layout Plain Layout
24609 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
24610 \end_inset
24611
24612
24613 \end_layout
24614
24615 \end_inset
24616 </cell>
24617 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24618 \begin_inset Text
24619
24620 \begin_layout Plain Layout
24621
24622 \series bold
24623
24624 \backslash
24625 mathbf
24626 \end_layout
24627
24628 \end_inset
24629 </cell>
24630 </row>
24631 <row>
24632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24633 \begin_inset Text
24634
24635 \begin_layout Plain Layout
24636 \begin_inset Formula $\mathit{Italic}$
24637 \end_inset
24638
24639
24640 \end_layout
24641
24642 \end_inset
24643 </cell>
24644 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24645 \begin_inset Text
24646
24647 \begin_layout Plain Layout
24648
24649 \series bold
24650
24651 \backslash
24652 mathit
24653 \end_layout
24654
24655 \end_inset
24656 </cell>
24657 </row>
24658 <row>
24659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24660 \begin_inset Text
24661
24662 \begin_layout Plain Layout
24663
24664 \shape up
24665 \size normal
24666 \bar no
24667 \noun off
24668 \color none
24669 \begin_inset Formula $\mathtt{Typewriter}$
24670 \end_inset
24671
24672
24673 \end_layout
24674
24675 \end_inset
24676 </cell>
24677 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24678 \begin_inset Text
24679
24680 \begin_layout Plain Layout
24681
24682 \series bold
24683
24684 \backslash
24685 mathtt
24686 \end_layout
24687
24688 \end_inset
24689 </cell>
24690 </row>
24691 <row>
24692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24693 \begin_inset Text
24694
24695 \begin_layout Plain Layout
24696 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
24697 \end_inset
24698
24699
24700 \end_layout
24701
24702 \end_inset
24703 </cell>
24704 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24705 \begin_inset Text
24706
24707 \begin_layout Plain Layout
24708
24709 \series bold
24710
24711 \backslash
24712 mathbb
24713 \end_layout
24714
24715 \end_inset
24716 </cell>
24717 </row>
24718 <row>
24719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24720 \begin_inset Text
24721
24722 \begin_layout Plain Layout
24723 \begin_inset Formula $\mathfrak{Fraktur}$
24724 \end_inset
24725
24726
24727 \end_layout
24728
24729 \end_inset
24730 </cell>
24731 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24732 \begin_inset Text
24733
24734 \begin_layout Plain Layout
24735
24736 \series bold
24737
24738 \backslash
24739 mathfrak
24740 \end_layout
24741
24742 \end_inset
24743 </cell>
24744 </row>
24745 <row>
24746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24747 \begin_inset Text
24748
24749 \begin_layout Plain Layout
24750
24751 \shape up
24752 \size normal
24753 \emph on
24754 \bar no
24755 \noun off
24756 \color none
24757 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
24758 \end_inset
24759
24760
24761 \end_layout
24762
24763 \end_inset
24764 </cell>
24765 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24766 \begin_inset Text
24767
24768 \begin_layout Plain Layout
24769
24770 \series bold
24771
24772 \backslash
24773 mathcal
24774 \end_layout
24775
24776 \end_inset
24777 </cell>
24778 </row>
24779 <row>
24780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24781 \begin_inset Text
24782
24783 \begin_layout Plain Layout
24784 \begin_inset Formula $\mathsf{SansSerif}$
24785 \end_inset
24786
24787
24788 \end_layout
24789
24790 \end_inset
24791 </cell>
24792 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24793 \begin_inset Text
24794
24795 \begin_layout Plain Layout
24796
24797 \series bold
24798
24799 \backslash
24800 mathsf
24801 \end_layout
24802
24803 \end_inset
24804 </cell>
24805 </row>
24806 </lyxtabular>
24807
24808 \end_inset
24809
24810
24811 \end_layout
24812
24813 \end_inset
24814
24815
24816 \end_layout
24817
24818 \begin_layout Standard
24819 \begin_inset Note Greyedout
24820 status open
24821
24822 \begin_layout Plain Layout
24823
24824 \series bold
24825 Note:
24826 \series default
24827  You can only print capital letters in the typefaces 
24828 \family sans
24829 Blackboard
24830 \family default
24831  and 
24832 \family sans
24833 Calligraphic
24834 \family default
24835 .
24836 \end_layout
24837
24838 \end_inset
24839
24840
24841 \end_layout
24842
24843 \begin_layout Standard
24844 When you use a typeface, a blue box is inserted in the formula.
24845  Every character in this box will be printed in this typeface.
24846  Pressing 
24847 \family sans
24848 Space
24849 \family default
24850  within the box will set the cursor outside, so that you have to use a protected
24851  space when you need a space in the box.
24852  Here is an example where 
24853 \begin_inset Quotes eld
24854 \end_inset
24855
24856 N
24857 \begin_inset Quotes erd
24858 \end_inset
24859
24860  in 
24861 \family sans
24862 Blackboard
24863 \family default
24864  denotes the set of numbers:
24865 \begin_inset Formula 
24866 \[
24867 f(x)=\sqrt{x}\:;\: x\in\mathbb{N}
24868 \]
24869
24870 \end_inset
24871
24872
24873 \end_layout
24874
24875 \begin_layout Standard
24876 The typefaces are nestable, which can cause confusion.
24877  You can, for example, put a character in 
24878 \family sans
24879 Fraktur
24880 \family default
24881  in a box for 
24882 \family sans
24883 Typewriter
24884 \family default
24885
24886 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
24887 \end_inset
24888
24889  
24890 \begin_inset Newline newline
24891 \end_inset
24892
24893 So it is better not to use this feature.
24894 \end_layout
24895
24896 \begin_layout Standard
24897 The typefaces have no effect on Greek letters: 
24898 \begin_inset Formula $\mathfrak{abc\delta e}$
24899 \end_inset
24900
24901
24902 \begin_inset Newline newline
24903 \end_inset
24904
24905 You can only print them emboldened using the command 
24906 \series bold
24907
24908 \backslash
24909 boldsymbol
24910 \series default
24911 , which works like the other typeface commands: 
24912 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
24913 \end_inset
24914
24915
24916 \end_layout
24917
24918 \begin_layout Standard
24919
24920 \series bold
24921
24922 \backslash
24923 boldsymbol
24924 \series default
24925  works for all symbols, letters, and numbers.
24926 \end_layout
24927
24928 \begin_layout Standard
24929 A number of other font options are available as well, in the menu 
24930 \family sans
24931 Edit\SpecialChar \menuseparator
24932 Math\SpecialChar \menuseparator
24933 Text
24934 \begin_inset space ~
24935 \end_inset
24936
24937 Style
24938 \family default
24939 .
24940 \end_layout
24941
24942 \begin_layout Subsection
24943 Math Text
24944 \begin_inset Index idx
24945 status collapsed
24946
24947 \begin_layout Plain Layout
24948 Math ! Text
24949 \end_layout
24950
24951 \end_inset
24952
24953
24954 \end_layout
24955
24956 \begin_layout Standard
24957 Typefaces are useful for entering some characters in some given font, but
24958  not for text.
24959  For typing longer pieces of text use the math text, which is obtained using
24960  the entry 
24961 \family sans
24962 Normal
24963 \begin_inset space ~
24964 \end_inset
24965
24966 text
24967 \begin_inset space ~
24968 \end_inset
24969
24970 mode
24971 \family default
24972  of the 
24973 \family sans
24974 Math
24975 \begin_inset space ~
24976 \end_inset
24977
24978 Panel
24979 \family default
24980  button 
24981 \family sans
24982
24983 \begin_inset Info
24984 type  "icon"
24985 arg   "math-insert \\font"
24986 \end_inset
24987
24988
24989 \family default
24990  (shortcut 
24991 \begin_inset Info
24992 type  "shortcut"
24993 arg   "font-default"
24994 \end_inset
24995
24996 ).
24997  Math text appears in LyX in black instead of blue.
24998  You can use spaces and accents in math text as in normal text.
24999  Here is an example:
25000 \begin_inset Formula 
25001 \[
25002 f(x)=\begin{cases}
25003 x & \mbox{if I say so}\\
25004 -x & \mbox{under Umständen}
25005 \end{cases}
25006 \]
25007
25008 \end_inset
25009
25010
25011 \end_layout
25012
25013 \begin_layout Subsection
25014 Font Sizes
25015 \begin_inset Index idx
25016 status collapsed
25017
25018 \begin_layout Plain Layout
25019 Math ! Font sizes
25020 \end_layout
25021
25022 \end_inset
25023
25024
25025 \end_layout
25026
25027 \begin_layout Standard
25028 There are four font styles (relative sizes) used in math-mode, which are
25029  automatically chosen in most situations.
25030  These are called 
25031 \family sans
25032 textstyle
25033 \family default
25034
25035 \family sans
25036 displaystyle
25037 \family default
25038
25039 \family sans
25040 scriptstyle
25041 \family default
25042 , and 
25043 \family sans
25044 scriptscriptstyle
25045 \family default
25046 .
25047  For most characters, 
25048 \family sans
25049 textstyle
25050 \family default
25051  and 
25052 \family sans
25053 displaystyle
25054 \family default
25055  are actually the same size, but fractions, superscripts and subscripts,
25056  and certain other structures, are set larger in 
25057 \family sans
25058 displaystyle
25059 \family default
25060 .
25061  Except for some operators, which resize themselves to accommodate various
25062  situations, all text will be set in the styles that LaTeX thinks are appropriat
25063 e.
25064  These choices can be overridden by using the math panel button 
25065 \family sans
25066
25067 \begin_inset Info
25068 type  "icon"
25069 arg   "math-insert \\style"
25070 \end_inset
25071
25072
25073 \family default
25074 .
25075  A box for the size will be created in which you can insert the math structure.
25076  For example, you can set 
25077 \begin_inset Formula $\frac{1}{2}$
25078 \end_inset
25079
25080 , which is normally in 
25081 \family sans
25082 textstyle
25083 \family default
25084 , larger in 
25085 \family sans
25086 displaystyle
25087 \family default
25088
25089 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
25090 \end_inset
25091
25092 .
25093  The four styles are used in the following example:
25094 \end_layout
25095
25096 \begin_layout Standard
25097 \begin_inset Formula $displaystyle$
25098 \end_inset
25099
25100
25101 \begin_inset Formula ${\textstyle textstyle}$
25102 \end_inset
25103
25104
25105 \begin_inset Formula ${\scriptstyle scriptstyle}$
25106 \end_inset
25107
25108
25109 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
25110 \end_inset
25111
25112 .
25113 \end_layout
25114
25115 \begin_layout Standard
25116 All these math-mode font sizes are relative so that if the whole math inset
25117  is set in a particular size with the menu 
25118 \family sans
25119 Edit\SpecialChar \menuseparator
25120 Text
25121 \begin_inset space ~
25122 \end_inset
25123
25124 Style
25125 \family default
25126 , all sizes in the formula will be adjusted relative to this size.
25127  Similarly, if the base font size of the document is changed, all fonts
25128  will be adjusted to correspond.
25129  As an example here is a formula in the font size 
25130 \begin_inset Quotes eld
25131 \end_inset
25132
25133 largest
25134 \begin_inset Quotes erd
25135 \end_inset
25136
25137 :
25138 \end_layout
25139
25140 \begin_layout Standard
25141
25142 \family roman
25143 \size largest
25144 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
25145 \end_inset
25146
25147
25148 \end_layout
25149
25150 \begin_layout Section
25151 AMS-LaTeX
25152 \begin_inset Index idx
25153 status collapsed
25154
25155 \begin_layout Plain Layout
25156 AMS math
25157 \end_layout
25158
25159 \end_inset
25160
25161
25162 \begin_inset Index idx
25163 status collapsed
25164
25165 \begin_layout Plain Layout
25166 Math ! AMS
25167 \end_layout
25168
25169 \end_inset
25170
25171
25172 \end_layout
25173
25174 \begin_layout Standard
25175 LyX supports the packages provided by the American Mathematical Society
25176  (AMS) that are in common use.
25177 \end_layout
25178
25179 \begin_layout Subsection
25180 Enabling AMS-Support
25181 \end_layout
25182
25183 \begin_layout Standard
25184 You can make the facilities of the AMS-packages explicitly available in
25185  the document by selecting the checkbox 
25186 \family sans
25187 Use
25188 \begin_inset space ~
25189 \end_inset
25190
25191 AMS
25192 \begin_inset space ~
25193 \end_inset
25194
25195 math
25196 \begin_inset space ~
25197 \end_inset
25198
25199 package
25200 \family default
25201  in the 
25202 \family sans
25203 Document\SpecialChar \menuseparator
25204 Settings
25205 \family default
25206
25207 \begin_inset Index idx
25208 status collapsed
25209
25210 \begin_layout Plain Layout
25211 Document ! Settings
25212 \end_layout
25213
25214 \end_inset
25215
25216  dialog under 
25217 \family sans
25218 Math
25219 \begin_inset space ~
25220 \end_inset
25221
25222 Options
25223 \family default
25224 .
25225  AMS is needed for many math-constructs; so when you get LaTeX-errors in
25226  formulas, ensure that you have enabled AMS.
25227 \end_layout
25228
25229 \begin_layout Subsection
25230 AMS-Formula Types
25231 \begin_inset CommandInset label
25232 LatexCommand label
25233 name "sub:AMS-Formula-Types"
25234
25235 \end_inset
25236
25237
25238 \begin_inset Index idx
25239 status collapsed
25240
25241 \begin_layout Plain Layout
25242 Math ! Multi-line Equations
25243 \end_layout
25244
25245 \end_inset
25246
25247
25248 \end_layout
25249
25250 \begin_layout Standard
25251 AMS-LaTeX provides a selection of different formula types.
25252  LyX allows you to choose between 
25253 \family typewriter
25254 align
25255 \family default
25256
25257 \family typewriter
25258 alignat
25259 \family default
25260
25261 \family typewriter
25262 flalign
25263 \family default
25264
25265 \family typewriter
25266 gather
25267 \family default
25268 , and 
25269 \family typewriter
25270 multline
25271 \family default
25272 .
25273  We refer you to the AMS-documentation, 
25274 \begin_inset CommandInset citation
25275 LatexCommand cite
25276 key "AMS"
25277
25278 \end_inset
25279
25280 , for an explanation of these formula types.
25281 \end_layout
25282
25283 \begin_layout Chapter
25284 More Tools
25285 \end_layout
25286
25287 \begin_layout Section
25288 Cross-References
25289 \begin_inset Index idx
25290 status collapsed
25291
25292 \begin_layout Plain Layout
25293 Cross references
25294 \end_layout
25295
25296 \end_inset
25297
25298
25299 \begin_inset CommandInset label
25300 LatexCommand label
25301 name "sec:Cross-References"
25302
25303 \end_inset
25304
25305
25306 \end_layout
25307
25308 \begin_layout Standard
25309 One of LyX's strengths is cross-references.
25310  You can reference every section, float, footnote, formula, and list in
25311  the document.
25312  To reference a document part, you have to insert a label into it.
25313  The label is used as an anchor and a name for the reference.
25314  We want for example to refer to the second item of the following list:
25315 \end_layout
25316
25317 \begin_layout Enumerate
25318 First item
25319 \end_layout
25320
25321 \begin_layout Enumerate
25322 \begin_inset CommandInset label
25323 LatexCommand label
25324 name "enu:Second-item"
25325
25326 \end_inset
25327
25328 Second item
25329 \end_layout
25330
25331 \begin_layout Enumerate
25332 Third item
25333 \end_layout
25334
25335 \begin_layout Standard
25336 First we insert a label into the second item with the menu 
25337 \family sans
25338 Insert\SpecialChar \menuseparator
25339 Label
25340 \family default
25341  or by pressing the toolbar button 
25342 \begin_inset Info
25343 type  "icon"
25344 arg   "label-insert"
25345 \end_inset
25346
25347 .
25348  A gray label box like this: 
25349 \begin_inset Graphics
25350         filename clipart/labelQt4.png
25351         scale 85
25352
25353 \end_inset
25354
25355  is inserted and the label window pops up asking for the label text.
25356  LyX offers as text the first words of the item with a prefix, in our case
25357  the text 
25358 \begin_inset Quotes eld
25359 \end_inset
25360
25361
25362 \family sans
25363 enu:Second-item
25364 \family default
25365
25366 \begin_inset Quotes erd
25367 \end_inset
25368
25369 .
25370  The prefix 
25371 \begin_inset Quotes eld
25372 \end_inset
25373
25374
25375 \family sans
25376 enu:
25377 \family default
25378
25379 \begin_inset Quotes erd
25380 \end_inset
25381
25382  stands for 
25383 \begin_inset Quotes eld
25384 \end_inset
25385
25386 enumerate
25387 \begin_inset Quotes erd
25388 \end_inset
25389
25390 .
25391  The prefix depends on the document part where the label is inserted; for
25392  example, if you insert a label into a section heading, the suggested prefix
25393  will be 
25394 \begin_inset Quotes eld
25395 \end_inset
25396
25397
25398 \family sans
25399 sec:
25400 \family default
25401
25402 \begin_inset Quotes erd
25403 \end_inset
25404
25405 .
25406 \end_layout
25407
25408 \begin_layout Standard
25409 To reference the item, we refer to its label using the menu 
25410 \family sans
25411 Insert\SpecialChar \menuseparator
25412 Cross-Reference
25413 \family default
25414  or the toolbar button 
25415 \begin_inset Info
25416 type  "icon"
25417 arg   "dialog-show-new-inset ref"
25418 \end_inset
25419
25420 .
25421  A gray cross-reference box like this: 
25422 \begin_inset Graphics
25423         filename clipart/referenceQt4.png
25424         scale 85
25425
25426 \end_inset
25427
25428  is inserted and the cross-reference window appears showing all the labels
25429  in the document.
25430  We can now sort the labels alphabetically and then choose the entry 
25431 \begin_inset Quotes eld
25432 \end_inset
25433
25434
25435 \family sans
25436 enu:Second-item
25437 \family default
25438
25439 \begin_inset Quotes erd
25440 \end_inset
25441
25442 .
25443  At the position of the cross-reference box the item number will appear
25444  in the output.
25445 \end_layout
25446
25447 \begin_layout Standard
25448 As an alternative to 
25449 \family sans
25450 Insert\SpecialChar \menuseparator
25451 Cross-Reference
25452 \family default
25453 , you can right-click on a label and in the popup menu select 
25454 \family sans
25455 Copy as Reference
25456 \family default
25457 .
25458  The cross-reference to this label is now in the clipboard and can be pasted
25459  to the actual cursor position via the menu 
25460 \family sans
25461 Edit\SpecialChar \menuseparator
25462 Paste
25463 \family default
25464  (shortcut 
25465 \begin_inset Info
25466 type  "shortcut"
25467 arg   "paste"
25468 \end_inset
25469
25470 ).
25471 \end_layout
25472
25473 \begin_layout Standard
25474 Here is our cross-reference: Item
25475 \begin_inset space ~
25476 \end_inset
25477
25478
25479 \begin_inset CommandInset ref
25480 LatexCommand ref
25481 reference "enu:Second-item"
25482
25483 \end_inset
25484
25485
25486 \end_layout
25487
25488 \begin_layout Standard
25489 It is recommended to use a protected space
25490 \begin_inset Foot
25491 status collapsed
25492
25493 \begin_layout Plain Layout
25494 described in section
25495 \begin_inset space ~
25496 \end_inset
25497
25498
25499 \begin_inset CommandInset ref
25500 LatexCommand ref
25501 reference "sub:Protected-Space"
25502
25503 \end_inset
25504
25505
25506 \end_layout
25507
25508 \end_inset
25509
25510  between the cross-reference name and the cross-reference to avoid ugly
25511  line breaks between them.
25512 \end_layout
25513
25514 \begin_layout Standard
25515 There are six formats of cross-references:
25516 \end_layout
25517
25518 \begin_layout Description
25519 <reference>: prints the number, this is the default: 
25520 \begin_inset CommandInset ref
25521 LatexCommand ref
25522 reference "fig:Two-distorted-images"
25523
25524 \end_inset
25525
25526
25527 \end_layout
25528
25529 \begin_layout Description
25530 (<reference>): prints the number within two parentheses, this is the style
25531  normally used to reference formulas, especially when the reference name
25532  
25533 \begin_inset Quotes eld
25534 \end_inset
25535
25536 Equation
25537 \begin_inset Quotes erd
25538 \end_inset
25539
25540  is omitted: 
25541 \begin_inset CommandInset ref
25542 LatexCommand eqref
25543 reference "eq:tanhExp"
25544
25545 \end_inset
25546
25547
25548 \end_layout
25549
25550 \begin_layout Description
25551 <page>: prints the page number: Page
25552 \begin_inset space ~
25553 \end_inset
25554
25555
25556 \begin_inset CommandInset ref
25557 LatexCommand pageref
25558 reference "fig:Two-distorted-images"
25559
25560 \end_inset
25561
25562
25563 \end_layout
25564
25565 \begin_layout Description
25566 on
25567 \begin_inset space ~
25568 \end_inset
25569
25570 page
25571 \begin_inset space ~
25572 \end_inset
25573
25574 <page>: prints the text “on page” and the page number: 
25575 \begin_inset CommandInset ref
25576 LatexCommand vpageref
25577 reference "fig:Two-distorted-images"
25578
25579 \end_inset
25580
25581
25582 \begin_inset Newline newline
25583 \end_inset
25584
25585 If the label is on the same page, it prints “on this page”; if the label
25586  is on a facing page in a two-sided document, it prints “on the facing page”;
25587  if it is on the previous page which is not a facing page, it prints “on
25588  the previous page”; if it is on the next page which is not a facing page,
25589  it prints “on the next page”.
25590  The wording of the printed text also depends on the used document class.
25591 \end_layout
25592
25593 \begin_layout Description
25594 <reference>
25595 \begin_inset space ~
25596 \end_inset
25597
25598 on
25599 \begin_inset space ~
25600 \end_inset
25601
25602 page
25603 \begin_inset space ~
25604 \end_inset
25605
25606 <page>: prints the number, the text “on page” and the page number: 
25607 \begin_inset CommandInset ref
25608 LatexCommand vref
25609 reference "fig:Two-distorted-images"
25610
25611 \end_inset
25612
25613
25614 \begin_inset Newline newline
25615 \end_inset
25616
25617 If the label is on the same page, this format behaves like 
25618 \family sans
25619 \series bold
25620 <reference>
25621 \family default
25622 \series default
25623 ; otherwise it behaves like 
25624 \family sans
25625 \series bold
25626 on
25627 \begin_inset space ~
25628 \end_inset
25629
25630 page
25631 \begin_inset space ~
25632 \end_inset
25633
25634 <page>
25635 \family default
25636 \series default
25637 .
25638 \end_layout
25639
25640 \begin_layout Description
25641 Formatted
25642 \begin_inset space ~
25643 \end_inset
25644
25645 reference: prints a self defined cross-reference format.
25646 \begin_inset Newline newline
25647 \end_inset
25648
25649
25650 \begin_inset Note Greyedout
25651 status open
25652
25653 \begin_layout Plain Layout
25654
25655 \series bold
25656 Note:
25657 \series default
25658  This feature is only available when you have the LaTeX-package 
25659 \series bold
25660 prettyref
25661 \series default
25662  or 
25663 \series bold
25664 refstyle
25665 \series default
25666
25667 \begin_inset Index idx
25668 status collapsed
25669
25670 \begin_layout Plain Layout
25671 LaTeX-packages ! prettyref
25672 \end_layout
25673
25674 \end_inset
25675
25676
25677 \begin_inset Index idx
25678 status collapsed
25679
25680 \begin_layout Plain Layout
25681 LaTeX-packages ! refstyle
25682 \end_layout
25683
25684 \end_inset
25685
25686  installed.
25687 \end_layout
25688
25689 \end_inset
25690
25691
25692 \begin_inset Newline newline
25693 \end_inset
25694
25695 You can select which LaTeX-package should be used for this feature by setting
25696  the option 
25697 \family sans
25698 Use refstyle (not prettyref) for cross-references
25699 \family default
25700  in the menu 
25701 \family sans
25702 Document\SpecialChar \menuseparator
25703 Settings\SpecialChar \menuseparator
25704 Document Class
25705 \family default
25706 .
25707  The package 
25708 \series bold
25709 refstyle
25710 \series default
25711  is the default and preferred because 
25712 \series bold
25713 prettyref
25714 \series default
25715  supports only English documents.
25716  The format is specified by using the command 
25717 \series bold
25718
25719 \backslash
25720 newrefformat
25721 \series default
25722  (prettyref) or 
25723 \series bold
25724
25725 \backslash
25726 newref
25727 \series default
25728  (refstyle) in the LaTeX preamble of the document.
25729  For example redefining all references to figures (which have the label
25730  shortcut 
25731 \begin_inset Quotes eld
25732 \end_inset
25733
25734
25735 \family sans
25736 fig
25737 \family default
25738
25739 \begin_inset Quotes erd
25740 \end_inset
25741
25742 ) can be done with this command
25743 \begin_inset Newline newline
25744 \end_inset
25745
25746
25747 \series bold
25748
25749 \backslash
25750 newref{fig}{refcmd={Image on page 
25751 \backslash
25752 pageref{#1}}}
25753 \series default
25754
25755 \begin_inset Newline newline
25756 \end_inset
25757
25758 For more information about the format, have a look at the package documentations
25759
25760 \begin_inset CommandInset citation
25761 LatexCommand cite
25762 key "prettyref,refstyle"
25763
25764 \end_inset
25765
25766 .
25767 \end_layout
25768
25769 \begin_layout Description
25770 Textual
25771 \begin_inset space ~
25772 \end_inset
25773
25774 reference: prints the caption or the name of the reference: 
25775 \begin_inset CommandInset ref
25776 LatexCommand nameref
25777 reference "fig:Two-distorted-images"
25778
25779 \end_inset
25780
25781
25782 \end_layout
25783
25784 \begin_layout Standard
25785 The number and current page of the referenced document part in the output
25786  is automatically calculated by LaTeX.
25787  The varieties are adjusted in the field 
25788 \family sans
25789 Format
25790 \family default
25791  of the cross-reference window, that appears when you click on the cross-referen
25792 ce.
25793 \end_layout
25794
25795 \begin_layout Standard
25796 You can only use the style 
25797 \family sans
25798 <reference>
25799 \family default
25800  to reference numbered document parts, while the reference style 
25801 \family sans
25802 <page>
25803 \family default
25804  is always possible.
25805 \end_layout
25806
25807 \begin_layout Standard
25808 If you want to reference a section, put the label in the section heading;
25809  for floats put the label in the caption; for footnotes put the label in
25810  it.
25811  Referencing formulas is explained in section
25812 \begin_inset space ~
25813 \end_inset
25814
25815
25816 \begin_inset CommandInset ref
25817 LatexCommand ref
25818 reference "sec:Formula-Numbering-and"
25819
25820 \end_inset
25821
25822 .
25823 \end_layout
25824
25825 \begin_layout Standard
25826 Right-clicking on a cross-reference opens a context menu.
25827  The entry 
25828 \family sans
25829 Go
25830 \begin_inset space ~
25831 \end_inset
25832
25833 to
25834 \begin_inset space ~
25835 \end_inset
25836
25837 Label
25838 \family default
25839  sets the cursor before the referenced label.
25840  This entry will be renamed in the context menu of the label to 
25841 \family sans
25842 Go
25843 \begin_inset space ~
25844 \end_inset
25845
25846 Back
25847 \family default
25848  so that you can use it to set the cursor back to the cross-reference.
25849  You can also go back with the toolbar button 
25850 \begin_inset Info
25851 type  "icon"
25852 arg   "bookmark-goto 0"
25853 \end_inset
25854
25855 .
25856 \end_layout
25857
25858 \begin_layout Standard
25859 You can change labels at any time.
25860  References to the changed label will automatically be updated so that you
25861  do not need to think about this.
25862 \end_layout
25863
25864 \begin_layout Standard
25865 If a cross-reference refers to a non-existent label, you will see in LyX
25866  “BROKEN” in the cross-reference label and two question marks in the output
25867  instead of the reference.
25868 \end_layout
25869
25870 \begin_layout Standard
25871 References are described in detail in the section
25872 \begin_inset space ~
25873 \end_inset
25874
25875
25876 \begin_inset Quotes eld
25877 \end_inset
25878
25879 Referencing Floats
25880 \begin_inset Quotes erd
25881 \end_inset
25882
25883  of the 
25884 \emph on
25885 Embedded
25886 \begin_inset space ~
25887 \end_inset
25888
25889 Objects
25890 \emph default
25891  manual.
25892 \end_layout
25893
25894 \begin_layout Section
25895 Table of Contents and other Listings
25896 \begin_inset Index idx
25897 status collapsed
25898
25899 \begin_layout Plain Layout
25900 Table of contents
25901 \end_layout
25902
25903 \end_inset
25904
25905
25906 \begin_inset Index idx
25907 status collapsed
25908
25909 \begin_layout Plain Layout
25910 Outline
25911 \end_layout
25912
25913 \end_inset
25914
25915
25916 \begin_inset CommandInset label
25917 LatexCommand label
25918 name "sec:toc"
25919
25920 \end_inset
25921
25922
25923 \end_layout
25924
25925 \begin_layout Subsection
25926 Table of Contents
25927 \begin_inset CommandInset label
25928 LatexCommand label
25929 name "sub:Table-of-Contents"
25930
25931 \end_inset
25932
25933
25934 \end_layout
25935
25936 \begin_layout Standard
25937 The Table of Contents (TOC) is inserted with the menu 
25938 \family sans
25939 Insert\SpecialChar \menuseparator
25940 List/TOC\SpecialChar \menuseparator
25941 Table
25942 \begin_inset space ~
25943 \end_inset
25944
25945 of
25946 \begin_inset space ~
25947 \end_inset
25948
25949 Contents
25950 \family default
25951 .
25952  It is displayed in LyX as a gray box.
25953  If you click on it, the 
25954 \family sans
25955 Outline
25956 \family default
25957  window appears, showing you the TOC entries as outline, which allows you
25958  to move and rearrange sections in your documents.
25959  So this operation is an alternative to the menu 
25960 \family sans
25961 View\SpecialChar \menuseparator
25962 Outline
25963 \begin_inset space ~
25964 \end_inset
25965
25966 Pane
25967 \family default
25968  that is described in section
25969 \begin_inset space ~
25970 \end_inset
25971
25972
25973 \begin_inset CommandInset ref
25974 LatexCommand ref
25975 reference "sub:The-Outliner"
25976
25977 \end_inset
25978
25979 .
25980 \end_layout
25981
25982 \begin_layout Standard
25983 The TOC in the document output lists every numbered section automatically.
25984  If you have declared a short title for a section heading, as described
25985  in section
25986 \begin_inset space ~
25987 \end_inset
25988
25989
25990 \begin_inset CommandInset ref
25991 LatexCommand ref
25992 reference "sec:Short-Titles"
25993
25994 \end_inset
25995
25996 , it will be used in the TOC instead of the section heading.
25997  Section
25998 \begin_inset space ~
25999 \end_inset
26000
26001
26002 \begin_inset CommandInset ref
26003 LatexCommand ref
26004 reference "sub:Numbering-depth"
26005
26006 \end_inset
26007
26008  describes how the level is adjusted that defines which section types are
26009  listed in the TOC.
26010  Unnumbered sections are not listed in the TOC.
26011 \end_layout
26012
26013 \begin_layout Subsection
26014 List of Figures, Tables, and Algorithms
26015 \begin_inset CommandInset label
26016 LatexCommand label
26017 name "sub:List-of-Figures"
26018
26019 \end_inset
26020
26021
26022 \end_layout
26023
26024 \begin_layout Standard
26025 Table, figure, and algorithm lists are very much like the table of contents.
26026  You can insert them via the 
26027 \family sans
26028 Insert\SpecialChar \menuseparator
26029 List/TOC
26030 \family default
26031  submenus.
26032  The list entries are the float captions and the float number.
26033 \end_layout
26034
26035 \begin_layout Section
26036 URLs and Hyperlinks
26037 \begin_inset Index idx
26038 status collapsed
26039
26040 \begin_layout Plain Layout
26041 URLs
26042 \end_layout
26043
26044 \end_inset
26045
26046
26047 \begin_inset Index idx
26048 status collapsed
26049
26050 \begin_layout Plain Layout
26051 Hyperlinks
26052 \end_layout
26053
26054 \end_inset
26055
26056
26057 \end_layout
26058
26059 \begin_layout Subsection
26060 URLs
26061 \begin_inset CommandInset label
26062 LatexCommand label
26063 name "sub:URLs"
26064
26065 \end_inset
26066
26067
26068 \end_layout
26069
26070 \begin_layout Standard
26071 Links to web pages or email addresses can be inserted via the menu 
26072 \family sans
26073 Insert\SpecialChar \menuseparator
26074 URL
26075 \family default
26076 .
26077 \end_layout
26078
26079 \begin_layout Standard
26080 Here is an example URL: LyX's homepage: 
26081 \begin_inset Flex URL
26082 status collapsed
26083
26084 \begin_layout Plain Layout
26085
26086 http://www.lyx.org
26087 \end_layout
26088
26089 \end_inset
26090
26091
26092 \end_layout
26093
26094 \begin_layout Standard
26095 You cannot change the style of the link text, the URL text will always be
26096  in the style 
26097 \family typewriter
26098 Typewriter
26099 \family default
26100 .
26101  To be able to format the URL text, use hyperlinks as explained in the next
26102  subsection.
26103 \end_layout
26104
26105 \begin_layout Standard
26106 \begin_inset Note Greyedout
26107 status open
26108
26109 \begin_layout Plain Layout
26110
26111 \series bold
26112 Note:
26113 \series default
26114  URLs must not end with a backslash, otherwise you get LaTeX errors.
26115 \end_layout
26116
26117 \end_inset
26118
26119
26120 \end_layout
26121
26122 \begin_layout Subsection
26123 Hyperlinks
26124 \begin_inset CommandInset label
26125 LatexCommand label
26126 name "sub:Hyperlinks"
26127
26128 \end_inset
26129
26130
26131 \end_layout
26132
26133 \begin_layout Standard
26134 Hyperlinks can be inserted with the menu 
26135 \family sans
26136 Insert\SpecialChar \menuseparator
26137 Hyperlink
26138 \family default
26139  or with the toolbar button 
26140 \begin_inset Info
26141 type  "icon"
26142 arg   "href-insert"
26143 \end_inset
26144
26145 .
26146  The appearing dialog has two fields: 
26147 \family sans
26148 Target
26149 \family default
26150  and 
26151 \family sans
26152 Name
26153 \family default
26154 .
26155  The name is the printed text for the hyperlink.
26156  The hyperlink type can be a weblink like this: 
26157 \begin_inset CommandInset href
26158 LatexCommand href
26159 name "LyX's homepage"
26160 target "http://www.lyx.org"
26161
26162 \end_inset
26163
26164 , an Email address like this: 
26165 \begin_inset CommandInset href
26166 LatexCommand href
26167 name "lyx-docs mailing list"
26168 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
26169 type "mailto:"
26170
26171 \end_inset
26172
26173 , or a link to a file.
26174 \end_layout
26175
26176 \begin_layout Standard
26177 You can start applications via a hyperlink when you insert a weblink by
26178  adding the prefix 
26179 \begin_inset Quotes eld
26180 \end_inset
26181
26182
26183 \family sans
26184 run:
26185 \family default
26186
26187 \begin_inset Quotes erd
26188 \end_inset
26189
26190  to the link target.
26191 \end_layout
26192
26193 \begin_layout Standard
26194 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
26195  and become clickable in the DVI and PDF-output.
26196  To set the format of the link text, highlight the hyperlink inset and use
26197  the text style dialog.
26198  This is for example a hyperlink with bold sans serif text: 
26199 \family sans
26200 \series bold
26201
26202 \begin_inset CommandInset href
26203 LatexCommand href
26204 name "LyX's homepage"
26205 target "http://www.lyx.org"
26206
26207 \end_inset
26208
26209
26210 \end_layout
26211
26212 \begin_layout Standard
26213 The link text color can be changed, when the option 
26214 \family sans
26215 Color links
26216 \family default
26217  is set in the PDF Properties dialog (menu 
26218 \family sans
26219 Document\SpecialChar \menuseparator
26220 Settings\SpecialChar \menuseparator
26221 PDF Properties
26222 \family default
26223 ).
26224  The link text is for example set in this document to blue by adding the
26225  option
26226 \begin_inset Newline newline
26227 \end_inset
26228
26229
26230 \series bold
26231 urlcolor=blue
26232 \series default
26233
26234 \begin_inset Newline newline
26235 \end_inset
26236
26237 to the field 
26238 \family sans
26239 Additional options
26240 \family default
26241  in the PDF Properties dialog.
26242 \end_layout
26243
26244 \begin_layout Section
26245 Appendices
26246 \begin_inset Index idx
26247 status collapsed
26248
26249 \begin_layout Plain Layout
26250 Appendix
26251 \end_layout
26252
26253 \end_inset
26254
26255
26256 \begin_inset CommandInset label
26257 LatexCommand label
26258 name "sec:Appendices"
26259
26260 \end_inset
26261
26262
26263 \end_layout
26264
26265 \begin_layout Standard
26266 Appendices are created with the menu 
26267 \family sans
26268 Document\SpecialChar \menuseparator
26269 Start
26270 \begin_inset space ~
26271 \end_inset
26272
26273 Appendix
26274 \begin_inset space ~
26275 \end_inset
26276
26277 Here
26278 \family default
26279 .
26280  This menu sets the document from the current cursor position to the end
26281  as the appendix part of the book.
26282  This part is marked with a red borderline.
26283 \end_layout
26284
26285 \begin_layout Standard
26286 Every chapter (or section) within the appendix part is treated as an appendix,
26287  numbered with a capital Latin letter.
26288  The appendix subsections are numbered with this letter followed by a dot
26289  and the subsection number.
26290  All appendix sections can be referenced as if they were normal sections,
26291  here two examples:
26292 \end_layout
26293
26294 \begin_layout Standard
26295 Appendix
26296 \begin_inset space ~
26297 \end_inset
26298
26299
26300 \begin_inset CommandInset ref
26301 LatexCommand ref
26302 reference "chap:Credits"
26303
26304 \end_inset
26305
26306 ; Appendix
26307 \begin_inset space ~
26308 \end_inset
26309
26310
26311 \begin_inset CommandInset ref
26312 LatexCommand ref
26313 reference "sub:Export"
26314
26315 \end_inset
26316
26317
26318 \end_layout
26319
26320 \begin_layout Section
26321 Bibliography
26322 \begin_inset Index idx
26323 status collapsed
26324
26325 \begin_layout Plain Layout
26326 Bibliography
26327 \end_layout
26328
26329 \end_inset
26330
26331
26332 \begin_inset CommandInset label
26333 LatexCommand label
26334 name "sec:Bibliography"
26335
26336 \end_inset
26337
26338
26339 \end_layout
26340
26341 \begin_layout Standard
26342 There are two ways of generating the bibliography in a LyX-document.
26343  You can include a bibliography database,
26344 \begin_inset Foot
26345 status collapsed
26346
26347 \begin_layout Plain Layout
26348 Known under the name 
26349 \begin_inset Quotes eld
26350 \end_inset
26351
26352 BibTeX-database
26353 \begin_inset Quotes erd
26354 \end_inset
26355
26356 .
26357 \end_layout
26358
26359 \end_inset
26360
26361  which is explained in the next subsection, or you can insert the bibliography
26362  manually, using the paragraph environment 
26363 \family sans
26364 Bibliography
26365 \family default
26366 , which was described in section
26367 \begin_inset space ~
26368 \end_inset
26369
26370
26371 \begin_inset CommandInset ref
26372 LatexCommand ref
26373 reference "sub:Biblio_environment"
26374
26375 \end_inset
26376
26377 .
26378  If you want anything other than the numerical citations that are used in
26379  this document, like author-year citations, then you must
26380 \emph on
26381  
26382 \emph default
26383 use a bibliography database.
26384 \end_layout
26385
26386 \begin_layout Subsection
26387 The Bibliography Environment
26388 \end_layout
26389
26390 \begin_layout Standard
26391 Within the 
26392 \family sans
26393 Bibliography
26394 \family default
26395  environment, every paragraph begins with a gray bibliography box labeled
26396  with a number.
26397  If you click on it, you will get a dialog in which you can set a 
26398 \family sans
26399 Key
26400 \family default
26401  and a 
26402 \family sans
26403 Label
26404 \family default
26405 .
26406  The key is the symbolic name by which you will refer to this bibliography
26407  entry.
26408  For example, our second entry in the bibliography is a book about LaTeX
26409  and we used 
26410 \begin_inset Quotes eld
26411 \end_inset
26412
26413 latexcompanion
26414 \begin_inset Quotes erd
26415 \end_inset
26416
26417 , a short form of its title, as the key.
26418 \end_layout
26419
26420 \begin_layout Standard
26421 You can cross-reference a bibliography entry using the menu 
26422 \family sans
26423 Insert\SpecialChar \menuseparator
26424 Citation
26425 \family default
26426  or the toolbar button 
26427 \begin_inset Info
26428 type  "icon"
26429 arg   "dialog-show-new-inset citation"
26430 \end_inset
26431
26432 .
26433  A citation reference box is inserted and a citation window will appear
26434  containing the available citations.
26435  Select one or more keys from the list and 
26436 \family sans
26437 Add
26438 \family default
26439  them.
26440  Then press 
26441 \family sans
26442 OK
26443 \family default
26444 .
26445  The citation reference box will be labeled with the referenced key(s).
26446  If you click on the box, the citation window will appear and you can change
26447  the reference.
26448 \end_layout
26449
26450 \begin_layout Standard
26451 Citation references appear in the output as the number of the bibliography
26452  entry with surrounding brackets.
26453  If you set a 
26454 \family sans
26455 Label
26456 \family default
26457  for the entry, the label will appear instead of the number.
26458  Here are two examples; the first without a label, the second with the label
26459  
26460 \begin_inset Quotes eld
26461 \end_inset
26462
26463 Credits
26464 \begin_inset Quotes erd
26465 \end_inset
26466
26467 :
26468 \end_layout
26469
26470 \begin_layout Standard
26471 Have a look at the 
26472 \family sans
26473 LaTeX Companion Second Edition
26474 \family default
26475
26476 \begin_inset CommandInset citation
26477 LatexCommand cite
26478 key "latexcompanion"
26479
26480 \end_inset
26481
26482
26483 \end_layout
26484
26485 \begin_layout Standard
26486 The LyX-Team members are listed in the Credits: 
26487 \begin_inset CommandInset citation
26488 LatexCommand cite
26489 key "lyxcredit"
26490
26491 \end_inset
26492
26493
26494 \end_layout
26495
26496 \begin_layout Standard
26497 To align all entries in the bibliography environment you can set a longest
26498  label via the menu 
26499 \family sans
26500 Edit\SpecialChar \menuseparator
26501 Paragraph
26502 \begin_inset space ~
26503 \end_inset
26504
26505 Settings
26506 \family default
26507  (toolbar button 
26508 \begin_inset Info
26509 type  "icon"
26510 arg   "layout-paragraph"
26511 \end_inset
26512
26513 ).
26514  All entries are then indented in the output by the width of the given label.
26515 \end_layout
26516
26517 \begin_layout Subsection
26518 Bibliography databases (BibTeX)
26519 \begin_inset Index idx
26520 status collapsed
26521
26522 \begin_layout Plain Layout
26523 Bibliography ! Databases
26524 \end_layout
26525
26526 \end_inset
26527
26528
26529 \begin_inset Index idx
26530 status collapsed
26531
26532 \begin_layout Plain Layout
26533 Bibliography ! BibTeX
26534 \end_layout
26535
26536 \end_inset
26537
26538
26539 \begin_inset CommandInset label
26540 LatexCommand label
26541 name "sub:Bibliography-databases"
26542
26543 \end_inset
26544
26545
26546 \end_layout
26547
26548 \begin_layout Standard
26549 Bibliography databases are useful if you use the same bibliography in different
26550  documents.
26551 \begin_inset Foot
26552 status collapsed
26553
26554 \begin_layout Plain Layout
26555 They are also useful for keeping a database of articles and notes concerning
26556  them.
26557  Most of the database programs mentioned below allow you to store annotations
26558  and reviews along with bibliographical information.
26559 \end_layout
26560
26561 \end_inset
26562
26563  It also makes it very easy to have a uniform layout for all bibliography
26564  entries.
26565  You can collect the bibliography of all relevant books and articles of
26566  your working field in a database.
26567  This database can be used for different documents, and by default only
26568  the entries cited in a particular document will appear in the bibliography
26569  list for that document.
26570  This relieves you of the need to keep track of which articles and books
26571  you have cited.
26572 \end_layout
26573
26574 \begin_layout Standard
26575 The database is a text file with the file extension 
26576 \begin_inset Quotes eld
26577 \end_inset
26578
26579
26580 \family sans
26581 .bib
26582 \family default
26583
26584 \begin_inset Quotes erd
26585 \end_inset
26586
26587 , containing the bibliography in a special format.
26588  The format is explained in 
26589 \begin_inset CommandInset citation
26590 LatexCommand cite
26591 key "BibTeX-2"
26592
26593 \end_inset
26594
26595  and in the LaTeX books (
26596 \begin_inset CommandInset citation
26597 LatexCommand cite
26598 key "Mittelbach,Kopka,Lamport"
26599
26600 \end_inset
26601
26602 ).
26603  The file can be created using any text editor, but normally one uses a
26604  special program to create and edit the entries in the database.
26605  A list of such programs is maintained on the LyX Wiki at 
26606 \begin_inset Flex URL
26607 status collapsed
26608
26609 \begin_layout Plain Layout
26610
26611 http://wiki.lyx.org/BibTeX/Programs
26612 \end_layout
26613
26614 \end_inset
26615
26616 .
26617 \end_layout
26618
26619 \begin_layout Standard
26620 To use a database, use the menu 
26621 \family sans
26622 Insert\SpecialChar \menuseparator
26623 List
26624 \family default
26625 /
26626 \family sans
26627 TOC\SpecialChar \menuseparator
26628 BibT
26629 \begin_inset ERT
26630 status collapsed
26631
26632 \begin_layout Plain Layout
26633
26634 {}
26635 \end_layout
26636
26637 \end_inset
26638
26639 eX
26640 \begin_inset space ~
26641 \end_inset
26642
26643 Bibliography
26644 \family default
26645 .
26646  A gray box will be inserted and a window appears.
26647  In this window you can add one or more databases and select a 
26648 \family sans
26649 style
26650 \family default
26651  file.
26652  The option 
26653 \family sans
26654 Add bibliography to TOC
26655 \family default
26656  adds a table of contents entry for the bibliography.
26657  In the 
26658 \family sans
26659 Content
26660 \family default
26661  drop box you can select whether to include all the entries in the database
26662  in the document or just the cited references.
26663 \end_layout
26664
26665 \begin_layout Standard
26666 The style file is a text file with the file extension 
26667 \begin_inset Quotes eld
26668 \end_inset
26669
26670
26671 \family sans
26672 .bst
26673 \family default
26674
26675 \begin_inset Quotes erd
26676 \end_inset
26677
26678  that controls how the bibliography entries will appear.
26679  Your LaTeX distribution should provide several of these, and many publishers
26680  provide their own style files, so that you don't have to take care of the
26681  layout.
26682  It is of course possible to write your own style file, but this is something
26683  for experts.
26684 \begin_inset Foot
26685 status collapsed
26686
26687 \begin_layout Plain Layout
26688 For information on how this is done, have a look at
26689 \begin_inset Newline newline
26690 \end_inset
26691
26692
26693 \begin_inset CommandInset href
26694 LatexCommand href
26695 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
26696
26697 \end_inset
26698
26699 .
26700 \end_layout
26701
26702 \end_inset
26703
26704
26705 \end_layout
26706
26707 \begin_layout Standard
26708 Inserting a citation reference works as described in the previous section.
26709 \end_layout
26710
26711 \begin_layout Standard
26712 To generate the bibliography from a database, LyX uses the program BibTeX.
26713  You can choose which of its variants should be used by LyX as the 
26714 \family sans
26715 Processor
26716 \family default
26717  either in 
26718 \family sans
26719 Document\SpecialChar \menuseparator
26720 Settings\SpecialChar \menuseparator
26721 Bibliography
26722 \family default
26723  or in 
26724 \family sans
26725 Tools\SpecialChar \menuseparator
26726 Preferences\SpecialChar \menuseparator
26727 Output\SpecialChar \menuseparator
26728 LaT
26729 \begin_inset ERT
26730 status collapsed
26731
26732 \begin_layout Plain Layout
26733
26734 {}
26735 \end_layout
26736
26737 \end_inset
26738
26739 eX
26740 \family default
26741 .
26742  The following variants are possible:
26743 \end_layout
26744
26745 \begin_layout Description
26746 biber provides full Unicode support, unlimited memory, but does not work
26747  with other bibliography packages (e.
26748 \begin_inset space \thinspace{}
26749 \end_inset
26750
26751 g.
26752 \begin_inset space \space{}
26753 \end_inset
26754
26755
26756 \series bold
26757 natbib
26758 \series default
26759 ), only with the package 
26760 \series bold
26761 biblatex
26762 \series default
26763 ; recommended for multilingual texts and for languages that don't use Latin
26764  letters
26765 \end_layout
26766
26767 \begin_layout Description
26768 bibtex the standard; does not allow special characters in bibliography entries
26769  that are not possible to encode in a 7-bit encoding, limited memory, works
26770  with all bibliography packages, except 
26771 \series bold
26772 biblatex
26773 \end_layout
26774
26775 \begin_layout Description
26776 bibtex8 allows all characters that are possible to encode in an 8-bit encoding,
26777  larger memory than 
26778 \family sans
26779 bibtex
26780 \family default
26781 , works with all bibliography packages
26782 \end_layout
26783
26784 \begin_layout Standard
26785 BibTeX can be controlled with options that you can add below the specification
26786  of the variants.
26787  Before adding options, it is strongly recommended that you read the manual
26788  of 
26789 \family sans
26790 BibTeX
26791 \family default
26792  
26793 \begin_inset CommandInset citation
26794 LatexCommand cite
26795 key "BibTeX"
26796
26797 \end_inset
26798
26799 .
26800 \end_layout
26801
26802 \begin_layout Standard
26803 When you select the option 
26804 \family sans
26805 Sectioned bibliography
26806 \family default
26807  in the 
26808 \family sans
26809 Document\SpecialChar \menuseparator
26810 Settings\SpecialChar \menuseparator
26811 Bibliography
26812 \family default
26813  dialog, it is possible to have multiple and sectioned bibliographies.
26814  This and other options are explained in detail in section 
26815 \emph on
26816 Customizing Bibliographies
26817 \emph default
26818  
26819 \emph on
26820 with BibTeX
26821 \emph default
26822  of the 
26823 \emph on
26824 Additional Features
26825 \emph default
26826  manual.
26827 \end_layout
26828
26829 \begin_layout Standard
26830 We use two bibliographies in this document to show the difference between
26831  the two methods of creating them.
26832  As you can see, the bibliography that is created from a database lists
26833  only the database entries that are referenced in the document.
26834  We used the style file 
26835 \family sans
26836 alphadin.bst
26837 \family default
26838  to get the complicated German reference key scheme in the bibliography.
26839 \end_layout
26840
26841 \begin_layout Subsection
26842 Bibliography layout
26843 \begin_inset Index idx
26844 status collapsed
26845
26846 \begin_layout Plain Layout
26847 Bibliography ! Layout
26848 \end_layout
26849
26850 \end_inset
26851
26852
26853 \end_layout
26854
26855 \begin_layout Standard
26856 In the citation reference dialog you can set a special citation format.
26857  For this feature you need to enable the option 
26858 \family sans
26859 Natbib
26860 \family default
26861  in the 
26862 \family sans
26863 Document\SpecialChar \menuseparator
26864 Settings
26865 \family default
26866
26867 \begin_inset Index idx
26868 status collapsed
26869
26870 \begin_layout Plain Layout
26871 Document ! Settings
26872 \end_layout
26873
26874 \end_inset
26875
26876  dialog under 
26877 \family sans
26878 Bibliography
26879 \family default
26880 .
26881  Setting a citation style for a reference will overwrite the default.
26882  For the global citation format use the BibTeX style files as explained
26883  in the previous section.
26884 \end_layout
26885
26886 \begin_layout Standard
26887 You can also set text to appear before or after a citation reference, in
26888  the citation reference window.
26889  Here is an example where the text 
26890 \begin_inset Quotes eld
26891 \end_inset
26892
26893 Chapter
26894 \begin_inset space ~
26895 \end_inset
26896
26897 3
26898 \begin_inset Quotes erd
26899 \end_inset
26900
26901  appears after the reference:
26902 \end_layout
26903
26904 \begin_layout Standard
26905 Have a look at 
26906 \begin_inset CommandInset citation
26907 LatexCommand cite
26908 after "Chapter 3"
26909 key "latexcompanion"
26910
26911 \end_inset
26912
26913 .
26914 \end_layout
26915
26916 \begin_layout Section
26917 Index
26918 \begin_inset Index idx
26919 status collapsed
26920
26921 \begin_layout Plain Layout
26922 Index generation
26923 \end_layout
26924
26925 \end_inset
26926
26927
26928 \begin_inset CommandInset label
26929 LatexCommand label
26930 name "sec:Index"
26931
26932 \end_inset
26933
26934
26935 \end_layout
26936
26937 \begin_layout Standard
26938 An index entry is created if you use the menu 
26939 \family sans
26940 Insert\SpecialChar \menuseparator
26941 Index
26942 \begin_inset space ~
26943 \end_inset
26944
26945 Entry
26946 \family default
26947  or the toolbar button 
26948 \begin_inset Info
26949 type  "icon"
26950 arg   "index-insert"
26951 \end_inset
26952
26953 .
26954  A box is inserted containing the text that appears in the index.
26955  The word where the cursor is in or the currently highlighted text is proposed
26956  by LyX as the index entry.
26957 \end_layout
26958
26959 \begin_layout Standard
26960 The index list is inserted in the document with the menu 
26961 \family sans
26962 Insert\SpecialChar \menuseparator
26963 List/TOC\SpecialChar \menuseparator
26964 Index
26965 \begin_inset space ~
26966 \end_inset
26967
26968 List
26969 \family default
26970 .
26971  A light blue box labeled 
26972 \begin_inset Quotes eld
26973 \end_inset
26974
26975
26976 \family sans
26977 Index
26978 \family default
26979
26980 \begin_inset Quotes erd
26981 \end_inset
26982
26983  will show the place where the index is printed in the output.
26984  The index list box is not clickable like other LyX-boxes.
26985 \end_layout
26986
26987 \begin_layout Standard
26988 We give a short overview of the index commands in the next subsections.
26989  For a detailed description of LaTeX's index mechanism, have a look at one
26990  of the LaTeX books 
26991 \begin_inset CommandInset citation
26992 LatexCommand cite
26993 key "latexcompanion,latexguide,latexbook"
26994
26995 \end_inset
26996
26997 .
26998 \end_layout
26999
27000 \begin_layout Subsection
27001 Grouping Index Entries
27002 \begin_inset Index idx
27003 status collapsed
27004
27005 \begin_layout Plain Layout
27006 Index ! Grouping
27007 \end_layout
27008
27009 \end_inset
27010
27011
27012 \end_layout
27013
27014 \begin_layout Standard
27015 Index entries are often grouped to offer the reader a fast search in the
27016  index.
27017  We want to group for example the index entries for itemized and enumerated
27018  lists under the entry 
27019 \begin_inset Quotes eld
27020 \end_inset
27021
27022 Lists
27023 \begin_inset Quotes erd
27024 \end_inset
27025
27026 .
27027  First we create the entry 
27028 \begin_inset Quotes eld
27029 \end_inset
27030
27031 Lists
27032 \begin_inset Quotes erd
27033 \end_inset
27034
27035  in section
27036 \begin_inset space ~
27037 \end_inset
27038
27039
27040 \begin_inset CommandInset ref
27041 LatexCommand ref
27042 reference "sub:Lists"
27043
27044 \end_inset
27045
27046 .
27047  In the text field for the itemized list index entry in section
27048 \begin_inset space ~
27049 \end_inset
27050
27051
27052 \begin_inset CommandInset ref
27053 LatexCommand ref
27054 reference "sec:Itemize"
27055
27056 \end_inset
27057
27058 , we insert the command
27059 \end_layout
27060
27061 \begin_layout Standard
27062
27063 \series bold
27064 Lists ! Itemize
27065 \end_layout
27066
27067 \begin_layout Standard
27068 and the command
27069 \end_layout
27070
27071 \begin_layout Standard
27072
27073 \series bold
27074 Lists ! Enumerate
27075 \end_layout
27076
27077 \begin_layout Standard
27078 for the enumerated list in section
27079 \begin_inset space ~
27080 \end_inset
27081
27082
27083 \begin_inset CommandInset ref
27084 LatexCommand ref
27085 reference "sec:Enumerate"
27086
27087 \end_inset
27088
27089 .
27090 \end_layout
27091
27092 \begin_layout Standard
27093 The exclamation mark 
27094 \begin_inset Quotes eld
27095 \end_inset
27096
27097 !
27098 \begin_inset Quotes erd
27099 \end_inset
27100
27101  marks the grouping levels.
27102  You can have three levels; every index level is indented a bit more.
27103  An index entry for the higher levels is not required.
27104  If we don't have an index entry for 
27105 \begin_inset Quotes eld
27106 \end_inset
27107
27108 Lists
27109 \begin_inset Quotes erd
27110 \end_inset
27111
27112 , it will be printed anyway, but without a page number.
27113 \end_layout
27114
27115 \begin_layout Subsection
27116 Page Ranges
27117 \begin_inset Index idx
27118 status collapsed
27119
27120 \begin_layout Plain Layout
27121 Index ! Page ranges
27122 \end_layout
27123
27124 \end_inset
27125
27126
27127 \end_layout
27128
27129 \begin_layout Standard
27130 Normally an index entry will appear with the page number of the indexed
27131  section.
27132  But sometimes you want to index more pages under the same entry.
27133  For example, if we want to index the paragraph environments, we create
27134  an index entry in section
27135 \begin_inset space ~
27136 \end_inset
27137
27138
27139 \begin_inset CommandInset ref
27140 LatexCommand ref
27141 reference "sec:Paragraph-Environments"
27142
27143 \end_inset
27144
27145  with the command
27146 \end_layout
27147
27148 \begin_layout Standard
27149
27150 \series bold
27151 Paragraph environments|(
27152 \end_layout
27153
27154 \begin_layout Standard
27155 and another entry at the end of section
27156 \begin_inset space ~
27157 \end_inset
27158
27159
27160 \begin_inset CommandInset ref
27161 LatexCommand ref
27162 reference "sub:LyX-Code"
27163
27164 \end_inset
27165
27166  with the command
27167 \end_layout
27168
27169 \begin_layout Standard
27170
27171 \series bold
27172 Paragraph environments|)
27173 \end_layout
27174
27175 \begin_layout Standard
27176 The commands 
27177 \begin_inset Quotes eld
27178 \end_inset
27179
27180
27181 \series bold
27182 |(
27183 \series default
27184
27185 \begin_inset Quotes erd
27186 \end_inset
27187
27188  and 
27189 \begin_inset Quotes eld
27190 \end_inset
27191
27192
27193 \series bold
27194 |)
27195 \series default
27196
27197 \begin_inset Quotes erd
27198 \end_inset
27199
27200  respectively start and end the index range.
27201  You can also add the same index entry at different places in the document.
27202  They appear in the output under one entry with a comma separated list of
27203  the pages of the indexed document parts.
27204  An example is the index entry 
27205 \begin_inset Quotes eld
27206 \end_inset
27207
27208 Document ! Settings
27209 \begin_inset Quotes erd
27210 \end_inset
27211
27212 .
27213 \end_layout
27214
27215 \begin_layout Subsection
27216 Cross referencing
27217 \begin_inset Index idx
27218 status collapsed
27219
27220 \begin_layout Plain Layout
27221 Index ! Cross referencing
27222 \end_layout
27223
27224 \end_inset
27225
27226
27227 \end_layout
27228
27229 \begin_layout Standard
27230 It is also possible to refer to another index entry.
27231  We referred for example in the index entry 
27232 \begin_inset Quotes eld
27233 \end_inset
27234
27235 GIF
27236 \begin_inset Quotes erd
27237 \end_inset
27238
27239  (in section
27240 \begin_inset space ~
27241 \end_inset
27242
27243
27244 \begin_inset CommandInset ref
27245 LatexCommand ref
27246 reference "sub:Image-Formats"
27247
27248 \end_inset
27249
27250 ) to the index entry 
27251 \begin_inset Quotes eld
27252 \end_inset
27253
27254 Image formats
27255 \begin_inset Quotes erd
27256 \end_inset
27257
27258  in the same section using the entry
27259 \end_layout
27260
27261 \begin_layout Standard
27262
27263 \series bold
27264 GIF|see{Image formats}
27265 \end_layout
27266
27267 \begin_layout Standard
27268 where the braces have to be inserted as TeX Code.
27269  The text within the braces is the referenced entry.
27270  The reference will appear in the output without a page number.
27271 \end_layout
27272
27273 \begin_layout Subsection
27274 Index Entry Order
27275 \begin_inset Index idx
27276 status collapsed
27277
27278 \begin_layout Plain Layout
27279 Index ! Entry order
27280 \end_layout
27281
27282 \end_inset
27283
27284
27285 \end_layout
27286
27287 \begin_layout Standard
27288 If you use accented characters in the index entry the entries might not
27289  follow the rules for the index order.
27290  The index entries are sorted alphabetically but LaTeX
27291 \begin_inset Foot
27292 status collapsed
27293
27294 \begin_layout Plain Layout
27295 The index generating is done in the background by an extra program, see
27296  section
27297 \begin_inset space ~
27298 \end_inset
27299
27300
27301 \begin_inset CommandInset ref
27302 LatexCommand ref
27303 reference "sub:Index-Program"
27304
27305 \end_inset
27306
27307 .
27308 \end_layout
27309
27310 \end_inset
27311
27312  does not know how to sort accents in different languages.
27313  We have created as an example the three dummy index entries 
27314 \begin_inset Quotes eld
27315 \end_inset
27316
27317 maison
27318 \begin_inset Quotes erd
27319 \end_inset
27320
27321
27322 \begin_inset Quotes eld
27323 \end_inset
27324
27325 maïs
27326 \begin_inset Quotes erd
27327 \end_inset
27328
27329 , and 
27330 \begin_inset Quotes eld
27331 \end_inset
27332
27333 maître
27334 \begin_inset Quotes erd
27335 \end_inset
27336
27337 .
27338 \begin_inset Index idx
27339 status collapsed
27340
27341 \begin_layout Plain Layout
27342 Dummy entries ! maïs
27343 \end_layout
27344
27345 \end_inset
27346
27347
27348 \begin_inset Index idx
27349 status collapsed
27350
27351 \begin_layout Plain Layout
27352 Dummy entries ! maître
27353 \end_layout
27354
27355 \end_inset
27356
27357
27358 \begin_inset Index idx
27359 status collapsed
27360
27361 \begin_layout Plain Layout
27362 Dummy entries ! maïs@maison
27363 \end_layout
27364
27365 \end_inset
27366
27367  They will be sorted in the order maïs, maître, maison but we want the order
27368  maïs, maison, maître.
27369  To achieve this, we use the command
27370 \end_layout
27371
27372 \begin_layout Standard
27373
27374 \series bold
27375 previous entry@current entry
27376 \end_layout
27377
27378 \begin_layout Standard
27379 In our case we want to have 
27380 \begin_inset Quotes eld
27381 \end_inset
27382
27383 maison
27384 \begin_inset Quotes erd
27385 \end_inset
27386
27387  after 
27388 \begin_inset Quotes eld
27389 \end_inset
27390
27391 maïs
27392 \begin_inset Quotes erd
27393 \end_inset
27394
27395  and write therefore for the index entry of maison:
27396 \end_layout
27397
27398 \begin_layout Standard
27399
27400 \series bold
27401 maïs@maison
27402 \end_layout
27403
27404 \begin_layout Standard
27405 The previous entry need not be a real existing entry.
27406  You can also use another word to tell LaTeX the entry order.
27407  See the next subsection for an example.
27408 \end_layout
27409
27410 \begin_layout Standard
27411 \begin_inset VSpace bigskip
27412 \end_inset
27413
27414
27415 \end_layout
27416
27417 \begin_layout Standard
27418 In some cases the index entry order is not correct when you are using the
27419  program 
27420 \family sans
27421 makeindex 
27422 \family default
27423 to generate the index (see sec.
27424 \begin_inset space \thinspace{}
27425 \end_inset
27426
27427
27428 \begin_inset CommandInset ref
27429 LatexCommand ref
27430 reference "sub:Index-Program"
27431
27432 \end_inset
27433
27434 ).
27435  
27436 \family sans
27437 makeindex
27438 \family default
27439  would for example print the index entry for the LaTeX-package aeguill in
27440  sec.
27441 \begin_inset space \thinspace{}
27442 \end_inset
27443
27444
27445 \begin_inset CommandInset ref
27446 LatexCommand ref
27447 reference "sub:Document-Font"
27448
27449 \end_inset
27450
27451  after the index entries of the other LaTeX-packages although all these
27452  index commands start with 
27453 \begin_inset Quotes eld
27454 \end_inset
27455
27456
27457 \series bold
27458 LaTeX-packages !
27459 \series default
27460  
27461 \begin_inset Quotes erd
27462 \end_inset
27463
27464 .
27465  The reason is that the index entry for aeguill is in a footnote.
27466  To fix this 
27467 \family sans
27468 makeindex
27469 \family default
27470  bug, add these commands to the preamble of your document:
27471 \end_layout
27472
27473 \begin_layout Standard
27474
27475 \series bold
27476
27477 \backslash
27478 let
27479 \backslash
27480 OrgIndex
27481 \backslash
27482 index
27483 \end_layout
27484
27485 \begin_layout Standard
27486
27487 \series bold
27488
27489 \backslash
27490 renewcommand*{
27491 \backslash
27492 index}[1]{
27493 \backslash
27494 OrgIndex{#1}}
27495 \end_layout
27496
27497 \begin_layout Subsection
27498 Index Entry Layout
27499 \begin_inset Index idx
27500 status collapsed
27501
27502 \begin_layout Plain Layout
27503 Index ! Entry layout
27504 \end_layout
27505
27506 \end_inset
27507
27508
27509 \end_layout
27510
27511 \begin_layout Standard
27512 You can change the appearance of index entries via the text style dialog.
27513 \begin_inset Index idx
27514 status open
27515
27516 \begin_layout Plain Layout
27517 Dummy entries ! 
27518 \shape italic
27519 This is an italic dummy entry
27520 \end_layout
27521
27522 \end_inset
27523
27524  You can also format the page number using the character 
27525 \begin_inset Quotes eld
27526 \end_inset
27527
27528 |
27529 \begin_inset Quotes erd
27530 \end_inset
27531
27532  followed by a LaTeX-command without a backslash.
27533  We can write for example
27534 \end_layout
27535
27536 \begin_layout Standard
27537
27538 \series bold
27539 italic page number:|textit
27540 \end_layout
27541
27542 \begin_layout Standard
27543 to get the page number in italic.
27544 \begin_inset Index idx
27545 status open
27546
27547 \begin_layout Plain Layout
27548 Dummy entries ! italic page number:|textit
27549 \end_layout
27550
27551 \end_inset
27552
27553  Normally all LaTeX-commands begin with a backslash, but in this special
27554  case 
27555 \begin_inset Quotes eld
27556 \end_inset
27557
27558
27559 \series bold
27560 |command
27561 \series default
27562
27563 \begin_inset Quotes erd
27564 \end_inset
27565
27566  means 
27567 \series bold
27568
27569 \backslash
27570 command{page
27571 \begin_inset space ~
27572 \end_inset
27573
27574 number}
27575 \series default
27576 .
27577  Have a look at section
27578 \begin_inset space ~
27579 \end_inset
27580
27581
27582 \begin_inset CommandInset ref
27583 LatexCommand ref
27584 reference "sub:LaTeX-Syntax"
27585
27586 \end_inset
27587
27588  to learn more about the LaTeX-syntax.
27589 \end_layout
27590
27591 \begin_layout Standard
27592 \begin_inset Note Greyedout
27593 status open
27594
27595 \begin_layout Plain Layout
27596
27597 \series bold
27598 Note:
27599 \series default
27600  Formatting single index entries only works when you use the program 
27601 \family sans
27602 makeindex 
27603 \family default
27604 to generate the index, see sec.
27605 \begin_inset space \thinspace{}
27606 \end_inset
27607
27608
27609 \begin_inset CommandInset ref
27610 LatexCommand ref
27611 reference "sub:Index-Program"
27612
27613 \end_inset
27614
27615 .
27616  If you use 
27617 \family sans
27618 xindy
27619 \family default
27620 , this will not work for anything other than bold or italic text.
27621  This is because 
27622 \family sans
27623 xindy
27624 \family default
27625  requires you to define semantic elements before they can be used, see 
27626 \begin_inset CommandInset citation
27627 LatexCommand cite
27628 after "p. 678 ff."
27629 key "latexcompanion"
27630
27631 \end_inset
27632
27633  for details.
27634 \end_layout
27635
27636 \end_inset
27637
27638
27639 \end_layout
27640
27641 \begin_layout Standard
27642 In general, we encourage you to not format page numbers directly as shown
27643  above.
27644  Instead, you should define a macro in the preamble and use that.
27645  Maybe you want all page references italic that refer to a definition of
27646  the indexed term, so that users can easily find definitions.
27647  If so, put the following in the preamble
27648 \end_layout
27649
27650 \begin_layout Standard
27651
27652 \series bold
27653
27654 \backslash
27655 newcommand{
27656 \backslash
27657 IndexDef}[1]{
27658 \backslash
27659 textit{#1}}
27660 \end_layout
27661
27662 \begin_layout Standard
27663 and write
27664 \end_layout
27665
27666 \begin_layout Standard
27667
27668 \series bold
27669 my entry|IndexDef
27670 \end_layout
27671
27672 \begin_layout Standard
27673 in the index entry.
27674 \begin_inset Index idx
27675 status open
27676
27677 \begin_layout Plain Layout
27678 Dummy entries ! my entry|IndexDef
27679 \end_layout
27680
27681 \end_inset
27682
27683  The advantage is that, if you change your mind later or if your publisher
27684  insists that definitions must not be italic but bold, you just need to
27685  change the macro in the preamble, not every single index entry.
27686 \end_layout
27687
27688 \begin_layout Standard
27689 You can also change the layout for the whole index.
27690  For example, we marked the index list box of this document as bold to get
27691  a bold font for all index entries.
27692  For more advanced tasks you have to set up a so-called 
27693 \emph on
27694 Index Style File
27695 \emph default
27696 , see the 
27697 \family sans
27698 makeindex
27699 \family default
27700  or 
27701 \family sans
27702 xindy
27703 \family default
27704  documentation for details, 
27705 \begin_inset CommandInset citation
27706 LatexCommand cite
27707 key "makeindex,xindy"
27708
27709 \end_inset
27710
27711 .
27712 \end_layout
27713
27714 \begin_layout Subsection
27715 Index Program
27716 \begin_inset Index idx
27717 status collapsed
27718
27719 \begin_layout Plain Layout
27720 Index ! Program
27721 \end_layout
27722
27723 \end_inset
27724
27725
27726 \begin_inset CommandInset label
27727 LatexCommand label
27728 name "sub:Index-Program"
27729
27730 \end_inset
27731
27732
27733 \end_layout
27734
27735 \begin_layout Standard
27736 If the index generation program 
27737 \family sans
27738 xindy
27739 \family default
27740  is installed, LyX uses it for index generation; otherwise the program 
27741 \family sans
27742 makeindex
27743 \family default
27744 , the program that is part of every LaTeX distribution, is used.
27745 \begin_inset Foot
27746 status collapsed
27747
27748 \begin_layout Plain Layout
27749
27750 \family sans
27751 Makeindex
27752 \family default
27753  is very old, no longer under development and has many pitfalls, notably
27754  that it was developed with only the English language in mind.
27755  So it fails to sort anything other than a monolingual English text correctly.
27756  We have shown above how to fix this sorting.
27757  However, if you are writing in another than the English language, consider
27758  to use 
27759 \family sans
27760 xindy
27761 \family default
27762 .
27763 \end_layout
27764
27765 \end_inset
27766
27767  Both programs can be controlled by options that can be set in LyX's preferences
27768  dialog, see section
27769 \begin_inset space ~
27770 \end_inset
27771
27772
27773 \begin_inset CommandInset ref
27774 LatexCommand ref
27775 reference "sub:LaTeX-settings"
27776
27777 \end_inset
27778
27779 .
27780  The available options are listed and explained in 
27781 \begin_inset CommandInset citation
27782 LatexCommand cite
27783 key "makeindex,xindy"
27784
27785 \end_inset
27786
27787 .
27788  In this dialog, you can also specify an alternative program to generate
27789  the index.
27790 \end_layout
27791
27792 \begin_layout Standard
27793 If you need specific options or an alternative index program only for a
27794  given document, you can define the program and\SpecialChar \slash{}
27795 or the options in 
27796 \family sans
27797 Document\SpecialChar \menuseparator
27798 Settings\SpecialChar \menuseparator
27799 Indexes
27800 \family default
27801 .
27802  This is especially useful if you need to pass language-specific options
27803  to the index program or if you need a specific layout style.
27804 \end_layout
27805
27806 \begin_layout Subsection
27807 Multiple Indexes
27808 \end_layout
27809
27810 \begin_layout Standard
27811 In many fields it is common to have more than one index.
27812  For instance, you might need to set up a separate 
27813 \begin_inset Quotes eld
27814 \end_inset
27815
27816 Index of Names
27817 \begin_inset Quotes erd
27818 \end_inset
27819
27820  next to the standard index.
27821  LaTeX does not provide this possibility out of the box, but there are packages
27822  that add this feature.
27823  LyX uses the 
27824 \series bold
27825 splitidx
27826 \series default
27827
27828 \begin_inset Index idx
27829 status collapsed
27830
27831 \begin_layout Plain Layout
27832 LaTeX-packages ! splitidx
27833 \end_layout
27834
27835 \end_inset
27836
27837  package to generate multiple indexes.
27838  The package is included in all recent LaTeX distributions.
27839 \begin_inset Foot
27840 status collapsed
27841
27842 \begin_layout Plain Layout
27843 If yours does not ship it, consult the TeX-catalogue, 
27844 \begin_inset CommandInset citation
27845 LatexCommand cite
27846 key "TeXCatalogue"
27847
27848 \end_inset
27849
27850 .
27851  Note that the package does not only consist of a LaTeX style, but it also
27852  includes specific preprocessor programs that need to be installed as well.
27853  Please consult the package's manual for details.
27854 \end_layout
27855
27856 \end_inset
27857
27858
27859 \end_layout
27860
27861 \begin_layout Standard
27862 To set up LyX for the use of multiple indexes, go to 
27863 \family sans
27864 Document\SpecialChar \menuseparator
27865 Settings\SpecialChar \menuseparator
27866 Indexes
27867 \family default
27868  and select the option 
27869 \family sans
27870 Use multiple Indexes
27871 \family default
27872 .
27873  Note that the list 
27874 \family sans
27875 Available Indexes
27876 \family default
27877  already contains the standard index 
27878 \begin_inset Quotes eld
27879 \end_inset
27880
27881 Index
27882 \begin_inset Quotes erd
27883 \end_inset
27884
27885 .
27886  To add further indexes, add the name of the index (in the form that should
27887  also appear as a heading) to the 
27888 \family sans
27889 New
27890 \family default
27891  input field and press the 
27892 \family sans
27893 Add
27894 \family default
27895  button.
27896  The new index now also appears in the list.
27897  If you like, you can attribute an alternative LyX label color to the new
27898  index.
27899 \end_layout
27900
27901 \begin_layout Standard
27902 Once the document changes have been applied, you can find the new index
27903  list in 
27904 \family sans
27905 Insert\SpecialChar \menuseparator
27906 List/TOC
27907 \family default
27908  and the 
27909 \family sans
27910 Insert
27911 \family default
27912  menu has a separate entry for each of the defined indexes.
27913  The workflow is basically the same as for the default index, but there
27914  are additional features:
27915 \end_layout
27916
27917 \begin_layout Itemize
27918 If you want to change the attribution of a specific index entry, right-clicking
27919  on the entry's label will open a dialog where you can do that.
27920 \end_layout
27921
27922 \begin_layout Itemize
27923 By right-clicking on an index, you can change its type.
27924  Furthermore, you can specify an index to be a 
27925 \begin_inset Quotes eld
27926 \end_inset
27927
27928 Subindex.
27929 \begin_inset Quotes erd
27930 \end_inset
27931
27932  If you do that, the heading of that list will be decreased by one level.
27933  For example, if you use a book class, where the standard index heading
27934  is defined as a chapter, subindexes will be defined as sections and can
27935  thus be nested to the non-subindexes.
27936 \end_layout
27937
27938 \begin_layout Section
27939 Nomenclature/Glossary 
27940 \begin_inset Index idx
27941 status collapsed
27942
27943 \begin_layout Plain Layout
27944 Nomenclature
27945 \end_layout
27946
27947 \end_inset
27948
27949
27950 \begin_inset Index idx
27951 status collapsed
27952
27953 \begin_layout Plain Layout
27954 Glossary|see
27955 \begin_inset ERT
27956 status collapsed
27957
27958 \begin_layout Plain Layout
27959
27960 {
27961 \end_layout
27962
27963 \end_inset
27964
27965 Nomenclature
27966 \begin_inset ERT
27967 status collapsed
27968
27969 \begin_layout Plain Layout
27970
27971 }
27972 \end_layout
27973
27974 \end_inset
27975
27976
27977 \end_layout
27978
27979 \end_inset
27980
27981
27982 \begin_inset CommandInset label
27983 LatexCommand label
27984 name "sec:Nomenclature"
27985
27986 \end_inset
27987
27988
27989 \end_layout
27990
27991 \begin_layout Standard
27992 Sometimes you need to provide a list of technical terms or symbols that
27993  are mentioned in your document with a brief explanation of them – a so
27994  called nomenclature or glossary.
27995 \end_layout
27996
27997 \begin_layout Standard
27998 To be able to create nomenclatures or glossaries, you need the LaTeX package
27999  
28000 \series bold
28001 nomencl
28002 \series default
28003
28004 \begin_inset Index idx
28005 status collapsed
28006
28007 \begin_layout Plain Layout
28008 LaTeX-packages ! nomencl
28009 \end_layout
28010
28011 \end_inset
28012
28013  installed.
28014  You find it in the TeX-catalogue, 
28015 \begin_inset CommandInset citation
28016 LatexCommand cite
28017 key "TeXCatalogue"
28018
28019 \end_inset
28020
28021  or in the package manager of your LaTeX-system.
28022 \end_layout
28023
28024 \begin_layout Standard
28025 A nomenclature entry is created if you place the cursor after a symbol entry
28026  and then use the menu 
28027 \family sans
28028 Insert\SpecialChar \menuseparator
28029
28030 \family default
28031 N
28032 \family sans
28033 omenclature
28034 \begin_inset space ~
28035 \end_inset
28036
28037 Entry
28038 \family default
28039  or the toolbar button 
28040 \begin_inset Info
28041 type  "icon"
28042 arg   "nomencl-insert"
28043 \end_inset
28044
28045 .
28046  A gray box labeled 
28047 \begin_inset Quotes eld
28048 \end_inset
28049
28050
28051 \family sans
28052 Nom
28053 \family default
28054
28055 \begin_inset Quotes erd
28056 \end_inset
28057
28058  is inserted and a window pops up asking for the nomenclature entry.
28059 \end_layout
28060
28061 \begin_layout Standard
28062 A nomenclature entry consists of two main entries.
28063  The first is the term or 
28064 \family sans
28065 Symbol
28066 \family default
28067  that you wish to define.
28068  The second is the 
28069 \family sans
28070 Description
28071 \family default
28072  of the term or symbol.
28073 \end_layout
28074
28075 \begin_layout Standard
28076 \begin_inset Note Greyedout
28077 status open
28078
28079 \begin_layout Plain Layout
28080
28081 \series bold
28082 Note:
28083 \series default
28084  You have to enter valid LaTeX-code for all fields of the nomenclature dialog.
28085 \end_layout
28086
28087 \end_inset
28088
28089
28090 \end_layout
28091
28092 \begin_layout Subsection
28093 Nomenclature Definition and Layout
28094 \begin_inset Index idx
28095 status collapsed
28096
28097 \begin_layout Plain Layout
28098 Nomenclature ! Layout
28099 \end_layout
28100
28101 \end_inset
28102
28103
28104 \end_layout
28105
28106 \begin_layout Standard
28107 If you have symbols in formulas, you have to define them in the 
28108 \family sans
28109 Symbol
28110 \family default
28111  field as LaTeX-formulas.
28112  For example to get 
28113 \begin_inset Quotes eld
28114 \end_inset
28115
28116
28117 \begin_inset Formula $\sigma$
28118 \end_inset
28119
28120
28121 \begin_inset Quotes erd
28122 \end_inset
28123
28124 , insert this:
28125 \begin_inset Newline newline
28126 \end_inset
28127
28128
28129 \series bold
28130 $
28131 \backslash
28132 sigma$
28133 \begin_inset Newline newline
28134 \end_inset
28135
28136
28137 \series default
28138 The 
28139 \begin_inset Quotes eld
28140 \end_inset
28141
28142 $
28143 \begin_inset Quotes erd
28144 \end_inset
28145
28146  character starts/ends the formula.
28147  The LaTeX-command for the Greek letter is the name of the letter beginning
28148  with a backslash 
28149 \begin_inset Quotes eld
28150 \end_inset
28151
28152
28153 \backslash
28154
28155 \begin_inset Quotes erd
28156 \end_inset
28157
28158 .
28159  For capital Greek letters, start the command also with a capital letter,
28160  like 
28161 \series bold
28162
28163 \backslash
28164 Sigma
28165 \series default
28166 .
28167 \end_layout
28168
28169 \begin_layout Standard
28170 (A short introduction to the LaTeX-syntax is given in section
28171 \begin_inset space ~
28172 \end_inset
28173
28174
28175 \begin_inset CommandInset ref
28176 LatexCommand ref
28177 reference "sub:LaTeX-Syntax"
28178
28179 \end_inset
28180
28181 .)
28182 \end_layout
28183
28184 \begin_layout Standard
28185 You cannot use the 
28186 \family sans
28187 Text
28188 \begin_inset space ~
28189 \end_inset
28190
28191 Style
28192 \family default
28193  dialog to format the description text; you have to use LaTeX-commands.
28194  For example the description of the nomenclature entry for the 
28195 \begin_inset Quotes eld
28196 \end_inset
28197
28198
28199 \begin_inset Formula $\sigma$
28200 \end_inset
28201
28202
28203 \begin_inset Quotes erd
28204 \end_inset
28205
28206  in this document is:
28207 \begin_inset Newline newline
28208 \end_inset
28209
28210
28211 \series bold
28212 dummy entry for the character 
28213 \backslash
28214 textsf{sigma}
28215 \series default
28216
28217 \begin_inset Newline newline
28218 \end_inset
28219
28220 The command 
28221 \series bold
28222
28223 \backslash
28224 textsf
28225 \series default
28226  sets the fonts to 
28227 \family sans
28228 sans
28229 \begin_inset space ~
28230 \end_inset
28231
28232 serif
28233 \family default
28234 .
28235  To get 
28236 \series bold
28237 bold
28238 \series default
28239  font use the command 
28240 \series bold
28241
28242 \backslash
28243 textbf
28244 \series default
28245 , for 
28246 \family typewriter
28247 typewriter
28248 \family default
28249  use 
28250 \series bold
28251
28252 \backslash
28253 texttt
28254 \series default
28255 , for 
28256 \emph on
28257 emphasized
28258 \emph default
28259  use 
28260 \series bold
28261
28262 \backslash
28263 emph
28264 \series default
28265 .
28266 \end_layout
28267
28268 \begin_layout Standard
28269 If the characters |
28270 \begin_inset space \space{}
28271 \end_inset
28272
28273 ,
28274 \begin_inset space \space{}
28275 \end_inset
28276
28277 !
28278 \begin_inset space \space{}
28279 \end_inset
28280
28281 , @ and
28282 \begin_inset space \space{}
28283 \end_inset
28284
28285 "
28286 \begin_inset space \space{}
28287 \end_inset
28288
28289 should appear in nomenclature entries they need to be escaped by adding
28290  a quote character in front of them.
28291 \begin_inset CommandInset nomenclature
28292 LatexCommand nomenclature
28293 symbol "\"@, \"|, \"!, \"\""
28294 description "The quote sign is output by writing ‘ \"\"\"\" '"
28295
28296 \end_inset
28297
28298
28299 \end_layout
28300
28301 \begin_layout Subsection
28302 Sort Order of Nomenclature Entries
28303 \begin_inset Index idx
28304 status collapsed
28305
28306 \begin_layout Plain Layout
28307 Nomenclature ! Sort order
28308 \end_layout
28309
28310 \end_inset
28311
28312
28313 \end_layout
28314
28315 \begin_layout Standard
28316 The nomenclature entries are sorted alphabetically by the LaTeX-code of
28317  the symbol definition.
28318  This leads to undesired results when you, for example, have symbols in
28319  formulas.
28320  Suppose you have nomenclature entries for the symbols 
28321 \emph on
28322 a
28323 \begin_inset CommandInset nomenclature
28324 LatexCommand nomenclature
28325 symbol "a"
28326 description "dummy entry for the character \"a\""
28327
28328 \end_inset
28329
28330
28331 \emph default
28332  and 
28333 \begin_inset Formula $\sigma$
28334 \end_inset
28335
28336
28337 \begin_inset CommandInset nomenclature
28338 LatexCommand nomenclature
28339 prefix "sigma"
28340 symbol "$\\sigma$"
28341 description "dummy entry for the character \\textsf{sigma}"
28342
28343 \end_inset
28344
28345 .
28346  They will be sorted by 
28347 \begin_inset Quotes eld
28348 \end_inset
28349
28350
28351 \family sans
28352 a
28353 \family default
28354
28355 \begin_inset Quotes erd
28356 \end_inset
28357
28358  and 
28359 \begin_inset Quotes eld
28360 \end_inset
28361
28362
28363 \family typewriter
28364 $
28365 \backslash
28366 sigma$
28367 \family default
28368
28369 \begin_inset Quotes erd
28370 \end_inset
28371
28372  – the 
28373 \begin_inset Formula $\sigma$
28374 \end_inset
28375
28376  will be sorted before the 
28377 \emph on
28378 a
28379 \emph default
28380  since the character 
28381 \begin_inset Quotes eld
28382 \end_inset
28383
28384 $
28385 \begin_inset Quotes erd
28386 \end_inset
28387
28388  is considered in sorting.
28389 \end_layout
28390
28391 \begin_layout Standard
28392 To control the sort order, you can edit the 
28393 \family sans
28394 Sort
28395 \begin_inset space ~
28396 \end_inset
28397
28398 as
28399 \family default
28400  field of the nomenclature dialog.
28401  Then the nomenclature entry will be sorted by this entry and not the symbol
28402  definition.
28403  For the example given, you can insert 
28404 \family typewriter
28405 sigma
28406 \family default
28407  in this field for the 
28408 \begin_inset Formula $\sigma$
28409 \end_inset
28410
28411 , then 
28412 \emph on
28413 a
28414 \emph default
28415  will be located before 
28416 \begin_inset Formula $\sigma$
28417 \end_inset
28418
28419 .
28420 \end_layout
28421
28422 \begin_layout Standard
28423 For subgrouping and tips for using sort entries see the 
28424 \series bold
28425 nomencl
28426 \series default
28427  documentation, 
28428 \begin_inset CommandInset citation
28429 LatexCommand cite
28430 key "nomencl"
28431
28432 \end_inset
28433
28434 .
28435 \end_layout
28436
28437 \begin_layout Subsection
28438 Nomenclature Options
28439 \begin_inset Index idx
28440 status collapsed
28441
28442 \begin_layout Plain Layout
28443 Nomenclature ! Options
28444 \end_layout
28445
28446 \end_inset
28447
28448
28449 \end_layout
28450
28451 \begin_layout Standard
28452 The 
28453 \series bold
28454 nomencl
28455 \series default
28456  package offers some options to adjust the appearance of the nomenclature.
28457  Here are some of its options; for more have a look at its documentation:
28458 \end_layout
28459
28460 \begin_layout Description
28461 refeq Appends the phrase 
28462 \begin_inset Quotes eld
28463 \end_inset
28464
28465
28466 \family sans
28467 , see equation (
28468 \emph on
28469 eq
28470 \emph default
28471 )
28472 \family default
28473
28474 \begin_inset Quotes erd
28475 \end_inset
28476
28477  to every nomenclature entry, where 
28478 \family sans
28479 \emph on
28480 eq
28481 \family default
28482 \emph default
28483  is the number of the last equation in front of the nomenclature entry
28484 \end_layout
28485
28486 \begin_layout Description
28487 refpage Appends the phrase 
28488 \begin_inset Quotes eld
28489 \end_inset
28490
28491
28492 \family sans
28493 , page (
28494 \emph on
28495 page
28496 \emph default
28497 )
28498 \family default
28499
28500 \begin_inset Quotes erd
28501 \end_inset
28502
28503  to every nomenclature entry, where 
28504 \family sans
28505 \emph on
28506 page
28507 \family default
28508 \emph default
28509  is the number of the page on which the nomenclature entry appeared
28510 \end_layout
28511
28512 \begin_layout Description
28513 intoc Inserts the nomenclature in the Table of Contents
28514 \end_layout
28515
28516 \begin_layout Standard
28517 To use one or more of the options, add them to the comma-separated document
28518  class options list in the 
28519 \family sans
28520 Document\SpecialChar \menuseparator
28521 Settings
28522 \family default
28523  dialog.
28524  In this document the options 
28525 \series bold
28526 refpage, intoc
28527 \series default
28528  are used.
28529 \end_layout
28530
28531 \begin_layout Standard
28532 \begin_inset VSpace bigskip
28533 \end_inset
28534
28535
28536 \end_layout
28537
28538 \begin_layout Standard
28539 You can also use the first two options above only for certain nomenclature
28540  entries when you add one of the following commands as last entry to the
28541  
28542 \family sans
28543 Description
28544 \family default
28545  field in the nomenclature dialog:
28546 \end_layout
28547
28548 \begin_layout Description
28549
28550 \backslash
28551 nomrefeq Like the 
28552 \series bold
28553 refeq
28554 \series default
28555  option
28556 \end_layout
28557
28558 \begin_layout Description
28559
28560 \backslash
28561 nomrefpage Like the 
28562 \series bold
28563 refpage
28564 \series default
28565  option
28566 \end_layout
28567
28568 \begin_layout Description
28569
28570 \backslash
28571 nomrefeqpage Short notation of 
28572 \series bold
28573
28574 \backslash
28575 nomrefeq
28576 \backslash
28577 nomrefpage
28578 \end_layout
28579
28580 \begin_layout Description
28581
28582 \backslash
28583 nomnorefeq,
28584 \begin_inset space ~
28585 \end_inset
28586
28587
28588 \backslash
28589 nomnorefpage,
28590 \begin_inset space ~
28591 \end_inset
28592
28593
28594 \backslash
28595 nomnorefeqpage Turns off the corresponding options
28596 \end_layout
28597
28598 \begin_layout Standard
28599 Words like 
28600 \begin_inset Quotes eld
28601 \end_inset
28602
28603 page
28604 \begin_inset Quotes erd
28605 \end_inset
28606
28607  are automatically translated for some document languages.
28608  If not, add these lines to your LaTeX preamble:
28609 \end_layout
28610
28611 \begin_layout Standard
28612 \noindent
28613
28614 \series bold
28615
28616 \backslash
28617 renewcommand{
28618 \backslash
28619 eqdeclaration}[1]{, see equation
28620 \backslash
28621 nobreakspace(#1)}
28622 \begin_inset Newline newline
28623 \end_inset
28624
28625
28626 \backslash
28627 renewcommand{
28628 \backslash
28629 pagedeclaration}[1]{, page
28630 \backslash
28631 nobreakspace{}#1}
28632 \series default
28633
28634 \begin_inset Newline newline
28635 \end_inset
28636
28637 and replace 
28638 \begin_inset Quotes eld
28639 \end_inset
28640
28641 see equation
28642 \begin_inset Quotes erd
28643 \end_inset
28644
28645  and 
28646 \begin_inset Quotes eld
28647 \end_inset
28648
28649 page
28650 \begin_inset Quotes erd
28651 \end_inset
28652
28653  by their translation.
28654 \end_layout
28655
28656 \begin_layout Subsection
28657 Printing the Nomenclature
28658 \begin_inset Index idx
28659 status collapsed
28660
28661 \begin_layout Plain Layout
28662 Nomenclature ! Printing
28663 \end_layout
28664
28665 \end_inset
28666
28667
28668 \end_layout
28669
28670 \begin_layout Standard
28671 To print the nomenclature, use the menu 
28672 \family sans
28673 Insert\SpecialChar \menuseparator
28674 Lists/TOC\SpecialChar \menuseparator
28675 Nomenclature
28676 \family default
28677 .
28678  A box labeled 
28679 \begin_inset Quotes eld
28680 \end_inset
28681
28682
28683 \family sans
28684 Nomenclature
28685 \family default
28686
28687 \begin_inset Quotes erd
28688 \end_inset
28689
28690  will show the place where the nomenclature is printed in the output.
28691  By right-clicking on it, the amount of space for symbols can be altered.
28692  You can choose between these settings:
28693 \end_layout
28694
28695 \begin_layout Description
28696 Default a space of 1
28697 \begin_inset space \thinspace{}
28698 \end_inset
28699
28700 cm is used
28701 \end_layout
28702
28703 \begin_layout Description
28704 Longest
28705 \begin_inset space ~
28706 \end_inset
28707
28708 label
28709 \begin_inset space ~
28710 \end_inset
28711
28712 width the width of the widest symbol of all nomenclature entries is used
28713 \end_layout
28714
28715 \begin_layout Description
28716 Custom custom space
28717 \end_layout
28718
28719 \begin_layout Standard
28720 In the printed output the title of the nomenclature appears as 
28721 \begin_inset Quotes eld
28722 \end_inset
28723
28724 Nomenclature
28725 \begin_inset Quotes erd
28726 \end_inset
28727
28728 .
28729  If you are not happy with the name, you can change it by redefining the
28730  command 
28731 \series bold
28732
28733 \backslash
28734 nomname
28735 \series default
28736  in the preamble.
28737  For example, in order to change the name to 
28738 \emph on
28739 List of Symbols
28740 \emph default
28741 , add the following line to the preamble:
28742 \end_layout
28743
28744 \begin_layout Standard
28745
28746 \family roman
28747 \series bold
28748
28749 \backslash
28750 renewcommand{
28751 \backslash
28752 nomname}{List of Symbols}
28753 \end_layout
28754
28755 \begin_layout Subsection
28756 Nomenclature Program
28757 \begin_inset Index idx
28758 status collapsed
28759
28760 \begin_layout Plain Layout
28761 Nomenclature ! Program
28762 \end_layout
28763
28764 \end_inset
28765
28766
28767 \begin_inset CommandInset label
28768 LatexCommand label
28769 name "sub:Nomenclature-Program"
28770
28771 \end_inset
28772
28773
28774 \end_layout
28775
28776 \begin_layout Standard
28777 LyX uses the program 
28778 \family sans
28779 makeindex
28780 \family default
28781 , that is part of every LaTeX distribution, to generate the nomenclature.
28782  LyX's preferences dialog allows you to specify another program or to control
28783  
28784 \family sans
28785 makeindex
28786 \family default
28787  by adding options, see section
28788 \begin_inset space ~
28789 \end_inset
28790
28791
28792 \begin_inset CommandInset ref
28793 LatexCommand ref
28794 reference "sub:LaTeX-settings"
28795
28796 \end_inset
28797
28798 .
28799  The available options are listed and explained in 
28800 \begin_inset CommandInset citation
28801 LatexCommand cite
28802 key "nomencl,makeindex"
28803
28804 \end_inset
28805
28806 .
28807 \end_layout
28808
28809 \begin_layout Section
28810 Branches
28811 \begin_inset Index idx
28812 status collapsed
28813
28814 \begin_layout Plain Layout
28815 Branches
28816 \end_layout
28817
28818 \end_inset
28819
28820
28821 \begin_inset Index idx
28822 status collapsed
28823
28824 \begin_layout Plain Layout
28825 Document ! Branches
28826 \end_layout
28827
28828 \end_inset
28829
28830
28831 \begin_inset CommandInset label
28832 LatexCommand label
28833 name "sec:Branches"
28834
28835 \end_inset
28836
28837
28838 \end_layout
28839
28840 \begin_layout Standard
28841 Sometimes it is useful to hide some document parts in the output.
28842  For example a teacher who is setting an exam obviously doesn't want the
28843  pupils to see the answers, but having questions and answers in the same
28844  document will make the life of the markers of that exam much easier.
28845 \end_layout
28846
28847 \begin_layout Standard
28848 For these cases LyX allows you to put text into branches.
28849  The text will then only appear in the output when its branch is activated.
28850  To create a branch, either select the menu 
28851 \family sans
28852 Insert\SpecialChar \menuseparator
28853 Branch\SpecialChar \menuseparator
28854 Insert New Branch
28855 \family default
28856  (if you just want to specify a new branch) or go in the 
28857 \family sans
28858 Document\SpecialChar \menuseparator
28859 Settings
28860 \family default
28861  dialog to 
28862 \family sans
28863 Branches
28864 \family default
28865 , where you can specify and change the name of the branch, its activation
28866  state (whether the content of the branch is shown in the output or not),
28867  its background color inside LyX and whether the name of the branch should
28868  be appended to the document file name on export if the branch is active
28869  (see below for an example).
28870  Furthermore, the dialog lets you merge two branches (just rename one branch
28871  to the name of the other) and to add 
28872 \begin_inset Quotes eld
28873 \end_inset
28874
28875 unknown branches
28876 \begin_inset Quotes erd
28877 \end_inset
28878
28879  (i.
28880 \begin_inset space \thinspace{}
28881 \end_inset
28882
28883 e.
28884 \begin_inset space ~
28885 \end_inset
28886
28887 branches that were added to the document via copy and paste from other documents
28888 , without having been defined) to the document's branch list.
28889 \end_layout
28890
28891 \begin_layout Standard
28892 Text that should be in a branch is set into branch inset boxes.
28893  These boxes are inserted via the menu 
28894 \family sans
28895 Insert\SpecialChar \menuseparator
28896 Branch
28897 \family default
28898  where you can choose a branch.
28899  You can later change the activation state of the branch by right-clicking
28900  on them.
28901 \end_layout
28902
28903 \begin_layout Standard
28904 Here is an example, where only the question text appears, the answer branch
28905  is deactivated and therefore does not appear in the output:
28906 \end_layout
28907
28908 \begin_layout Standard
28909 \begin_inset Branch Question
28910 status open
28911
28912 \begin_layout Standard
28913 Question: Who was the first physics Nobel prize winner?
28914 \end_layout
28915
28916 \end_inset
28917
28918
28919 \end_layout
28920
28921 \begin_layout Standard
28922 \begin_inset Branch Answer
28923 status collapsed
28924
28925 \begin_layout Standard
28926 Answer: Wilhelm Conrad Röntgen
28927 \end_layout
28928
28929 \end_inset
28930
28931
28932 \end_layout
28933
28934 \begin_layout Standard
28935 If you activate 
28936 \family sans
28937 Filename Suffix
28938 \family default
28939  in 
28940 \family sans
28941 Document\SpecialChar \menuseparator
28942 Settings\SpecialChar \menuseparator
28943 Branches
28944 \family default
28945 , the name of the active branches will be appended to the file name at export.
28946  Consider for example a file 
28947 \begin_inset Quotes eld
28948 \end_inset
28949
28950 Exam.lyx
28951 \begin_inset Quotes erd
28952 \end_inset
28953
28954  which has the above branches.
28955  If 
28956 \begin_inset Quotes eld
28957 \end_inset
28958
28959 Filename Suffix
28960 \begin_inset Quotes erd
28961 \end_inset
28962
28963  is active, the PDF export file would be called 
28964 \begin_inset Quotes eld
28965 \end_inset
28966
28967 Exam.pdf
28968 \begin_inset Quotes erd
28969 \end_inset
28970
28971  if both the 
28972 \begin_inset Quotes eld
28973 \end_inset
28974
28975 Question
28976 \begin_inset Quotes erd
28977 \end_inset
28978
28979  and 
28980 \begin_inset Quotes eld
28981 \end_inset
28982
28983 Answer
28984 \begin_inset Quotes erd
28985 \end_inset
28986
28987  branch were inactive, 
28988 \begin_inset Quotes eld
28989 \end_inset
28990
28991 Exam-Question.pdf
28992 \begin_inset Quotes erd
28993 \end_inset
28994
28995  if only the 
28996 \begin_inset Quotes eld
28997 \end_inset
28998
28999 Question
29000 \begin_inset Quotes erd
29001 \end_inset
29002
29003  branch was active, likewise 
29004 \begin_inset Quotes eld
29005 \end_inset
29006
29007 Exam-Answer.pdf
29008 \begin_inset Quotes erd
29009 \end_inset
29010
29011  if only the 
29012 \begin_inset Quotes eld
29013 \end_inset
29014
29015 Answer
29016 \begin_inset Quotes erd
29017 \end_inset
29018
29019  branch was active, and 
29020 \begin_inset Quotes eld
29021 \end_inset
29022
29023 Exam-Question-Answer.pdf
29024 \begin_inset Quotes erd
29025 \end_inset
29026
29027  if both branches were active.
29028  This helps you to export different versions of your document easily.
29029 \end_layout
29030
29031 \begin_layout Standard
29032 \begin_inset VSpace bigskip
29033 \end_inset
29034
29035
29036 \end_layout
29037
29038 \begin_layout Standard
29039 To use conditional output inside places where you cannot insert branch insets,
29040  like inside equations, you can code special LaTeX definitions for each
29041  branch.
29042  For example you can define for the question branch
29043 \begin_inset Foot
29044 status collapsed
29045
29046 \begin_layout Plain Layout
29047 For an introduction to the LaTeX-syntax, see section
29048 \begin_inset space ~
29049 \end_inset
29050
29051
29052 \begin_inset CommandInset ref
29053 LatexCommand ref
29054 reference "sub:LaTeX-Syntax"
29055
29056 \end_inset
29057
29058 .
29059 \end_layout
29060
29061 \end_inset
29062
29063
29064 \end_layout
29065
29066 \begin_layout Standard
29067
29068 \series bold
29069
29070 \backslash
29071 newcommand{
29072 \backslash
29073 question}[1]{#1}
29074 \end_layout
29075
29076 \begin_layout Standard
29077
29078 \series bold
29079
29080 \backslash
29081 newcommand{
29082 \backslash
29083 answer}[1]{}
29084 \end_layout
29085
29086 \begin_layout Standard
29087 and for the answer branch
29088 \end_layout
29089
29090 \begin_layout Standard
29091
29092 \series bold
29093
29094 \backslash
29095 newcommand{
29096 \backslash
29097 question}[1]{}
29098 \end_layout
29099
29100 \begin_layout Standard
29101
29102 \series bold
29103
29104 \backslash
29105 newcommand{
29106 \backslash
29107 answer}[1]{#1}
29108 \end_layout
29109
29110 \begin_layout Standard
29111 \begin_inset Branch Question
29112 status open
29113
29114 \begin_layout Standard
29115 \begin_inset ERT
29116 status open
29117
29118 \begin_layout Plain Layout
29119
29120
29121 \backslash
29122 newcommand{
29123 \backslash
29124 question}[1]{#1}
29125 \end_layout
29126
29127 \begin_layout Plain Layout
29128
29129
29130 \backslash
29131 newcommand{
29132 \backslash
29133 answer}[1]{}
29134 \end_layout
29135
29136 \end_inset
29137
29138
29139 \end_layout
29140
29141 \end_inset
29142
29143
29144 \end_layout
29145
29146 \begin_layout Standard
29147 \begin_inset Branch Answer
29148 status collapsed
29149
29150 \begin_layout Standard
29151 \begin_inset ERT
29152 status collapsed
29153
29154 \begin_layout Plain Layout
29155
29156
29157 \backslash
29158 newcommand{
29159 \backslash
29160 question}[1]{}
29161 \end_layout
29162
29163 \begin_layout Plain Layout
29164
29165
29166 \backslash
29167 newcommand{
29168 \backslash
29169 answer}[1]{#1}
29170 \end_layout
29171
29172 \end_inset
29173
29174
29175 \end_layout
29176
29177 \end_inset
29178
29179
29180 \end_layout
29181
29182 \begin_layout Standard
29183 Now it is possible to use the 
29184 \series bold
29185
29186 \backslash
29187 question{\SpecialChar \ldots{}
29188 }
29189 \series default
29190  and 
29191 \series bold
29192
29193 \backslash
29194 answer{\SpecialChar \ldots{}
29195 }
29196 \series default
29197  commands to obtain conditional output.
29198  Here is an example formula where only the 
29199 \series bold
29200
29201 \backslash
29202 question
29203 \series default
29204  part appears:
29205 \begin_inset Formula 
29206 \[
29207 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
29208 \]
29209
29210 \end_inset
29211
29212
29213 \end_layout
29214
29215 \begin_layout Standard
29216 Inside math, the same effect can be achieved using math macros, see the
29217  
29218 \emph on
29219 Math
29220 \emph default
29221  manual.
29222 \end_layout
29223
29224 \begin_layout Standard
29225 Each type of branch is allowed to have its specific style defined in layout
29226  files (e.
29227 \begin_inset space \thinspace{}
29228 \end_inset
29229
29230 g.
29231 \begin_inset space \space{}
29232 \end_inset
29233
29234 any branch inset can be automatically wrapped by your own LaTeX commands.).
29235  For this advanced usage, see the 
29236 \emph on
29237 Customization
29238 \emph default
29239  manual, section 
29240 \begin_inset Quotes eld
29241 \end_inset
29242
29243 Flex insets and InsetLayout
29244 \begin_inset Quotes erd
29245 \end_inset
29246
29247 ).
29248 \end_layout
29249
29250 \begin_layout Section
29251 PDF Properties
29252 \begin_inset CommandInset label
29253 LatexCommand label
29254 name "sec:PDF-Properties"
29255
29256 \end_inset
29257
29258
29259 \begin_inset Index idx
29260 status collapsed
29261
29262 \begin_layout Plain Layout
29263 PDF properties
29264 \end_layout
29265
29266 \end_inset
29267
29268
29269 \end_layout
29270
29271 \begin_layout Standard
29272 The 
29273 \family sans
29274 Document\SpecialChar \menuseparator
29275 Settings\SpecialChar \menuseparator
29276 PDF Properties
29277 \family default
29278  dialog allows you to set up special options for the PDF output of your
29279  document.
29280  All these options are provided by the LaTeX-package 
29281 \series bold
29282 hyperref
29283 \series default
29284
29285 \begin_inset Index idx
29286 status collapsed
29287
29288 \begin_layout Plain Layout
29289 LaTeX-packages ! hyperref
29290 \end_layout
29291
29292 \end_inset
29293
29294  which will link all cross-references in the DVI- and PDF-output.
29295  This means that the reader of your document will be able to click on a
29296  table of contents entry or on a reference to move to the cross-referenced
29297  part of the document.
29298  
29299 \end_layout
29300
29301 \begin_layout Standard
29302 The header information in the dialog tab 
29303 \family sans
29304 General
29305 \family default
29306  is saved together with the PDF as file properties.
29307  Many programs are able to extract this information, for example, automatically
29308  to recognize who the author is and what the PDF is about.
29309  This is very useful to sort, classify or use PDFs for bibliography issues.
29310  When the option 
29311 \family sans
29312 Automatically
29313 \begin_inset space ~
29314 \end_inset
29315
29316 fill
29317 \begin_inset space ~
29318 \end_inset
29319
29320 header
29321 \family default
29322  is set, LyX tries to extract the header information from your document
29323  title and author entries.
29324  The option 
29325 \family sans
29326 Load
29327 \begin_inset space ~
29328 \end_inset
29329
29330 in
29331 \begin_inset space ~
29332 \end_inset
29333
29334 fullscreen
29335 \begin_inset space ~
29336 \end_inset
29337
29338 mode
29339 \family default
29340  will open the PDF in fullscreen mode, which is useful for presentations.
29341 \end_layout
29342
29343 \begin_layout Standard
29344 You can specify in the dialog tab 
29345 \family sans
29346 Hyperlinks
29347 \family default
29348  how the links will look and if links for bibliographical backreferences
29349  are created.
29350  The 
29351 \family sans
29352 Break
29353 \begin_inset space ~
29354 \end_inset
29355
29356 links
29357 \begin_inset space ~
29358 \end_inset
29359
29360 over
29361 \begin_inset space ~
29362 \end_inset
29363
29364 lines
29365 \family default
29366  option allows long links to be split; 
29367 \family sans
29368 No
29369 \begin_inset space ~
29370 \end_inset
29371
29372 frames
29373 \begin_inset space ~
29374 \end_inset
29375
29376 around
29377 \begin_inset space ~
29378 \end_inset
29379
29380 links
29381 \family default
29382  and 
29383 \family sans
29384 Color
29385 \begin_inset space ~
29386 \end_inset
29387
29388 links
29389 \family default
29390  both turn off the default behavior of enclosing all links in frames; 
29391 \family sans
29392 Color
29393 \begin_inset space ~
29394 \end_inset
29395
29396 links
29397 \family default
29398  colors the different links.
29399  The default colors are:
29400 \end_layout
29401
29402 \begin_layout Labeling
29403 \labelwidthstring 00.00.0000
29404
29405 \color magenta
29406 magenta
29407 \color inherit
29408  for hyperlinks and URLs
29409 \end_layout
29410
29411 \begin_layout Labeling
29412 \labelwidthstring 00.00.0000
29413
29414 \color red
29415 red
29416 \color inherit
29417  for links
29418 \end_layout
29419
29420 \begin_layout Labeling
29421 \labelwidthstring 00.00.0000
29422
29423 \color green
29424 green
29425 \color inherit
29426  for citations
29427 \end_layout
29428
29429 \begin_layout Standard
29430 but you can change these in the field 
29431 \family sans
29432 Additional options
29433 \family default
29434 .
29435  For example, in this document they were changed with the additional options:
29436 \end_layout
29437
29438 \begin_layout Standard
29439
29440 \series bold
29441 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
29442 \end_layout
29443
29444 \begin_layout Standard
29445 If the option 
29446 \family sans
29447 Backreferences
29448 \family default
29449  is set, the hyperlinks will appear in the bibliography after the different
29450  entries, showing, depending on the option selected, the number of the section,
29451  slide or page where the entry is referenced.
29452 \end_layout
29453
29454 \begin_layout Standard
29455 In the dialog tab 
29456 \family sans
29457 Bookmarks
29458 \family default
29459  you can specify if PDF-bookmarks should be created for every section of
29460  your document to make it easier for readers to navigate through the document.
29461  You can decide if the bookmarks should be numbered like your document sections
29462  or not.
29463  With the 
29464 \family sans
29465 Open bookmarks
29466 \family default
29467  
29468 \family sans
29469 Level
29470 \family default
29471  you can specify what sectioning level should be displayed in the bookmarks
29472  when opening the PDF.
29473  For example level
29474 \begin_inset space ~
29475 \end_inset
29476
29477 2 will display all sections and subsections, while level
29478 \begin_inset space ~
29479 \end_inset
29480
29481 1 will only display the sections.
29482 \end_layout
29483
29484 \begin_layout Standard
29485 PDF properties are also used in this document.
29486  When you look in its document settings, you can see that some additional
29487  
29488 \series bold
29489 hyperref
29490 \series default
29491  options are used.
29492  For an explanation of all them we refer you to the hyperref manual 
29493 \begin_inset CommandInset citation
29494 LatexCommand cite
29495 key "hyperref"
29496
29497 \end_inset
29498
29499 .
29500 \end_layout
29501
29502 \begin_layout Section
29503 TeX Code and the LaTeX Syntax
29504 \begin_inset CommandInset label
29505 LatexCommand label
29506 name "sec:TeX-Code"
29507
29508 \end_inset
29509
29510
29511 \end_layout
29512
29513 \begin_layout Subsection
29514 TeX Code Boxes
29515 \begin_inset Index idx
29516 status collapsed
29517
29518 \begin_layout Plain Layout
29519 TeX Code
29520 \end_layout
29521
29522 \end_inset
29523
29524
29525 \begin_inset CommandInset label
29526 LatexCommand label
29527 name "sub:TeX-Code-Boxes"
29528
29529 \end_inset
29530
29531
29532 \end_layout
29533
29534 \begin_layout Standard
29535 As LyX uses LaTeX in the background, it supports many LaTeX commands and
29536  constructs, but not all.
29537  LaTeX contains hundreds of packages that provide different commands.
29538  All the time packages are being updated and new ones added.
29539  This has the advantage that you can typeset nearly everything as there
29540  is a LaTeX-package for every problem, though LyX cannot support all packages
29541  and their commands.
29542 \end_layout
29543
29544 \begin_layout Standard
29545 But don't worry, you can use any LaTeX-command directly in LyX inside the
29546  TeX Code box.
29547  A TeX Code box is created by the menu 
29548 \family sans
29549 Insert\SpecialChar \menuseparator
29550 Te
29551 \begin_inset ERT
29552 status collapsed
29553
29554 \begin_layout Plain Layout
29555
29556 {}
29557 \end_layout
29558
29559 \end_inset
29560
29561 X
29562 \begin_inset space ~
29563 \end_inset
29564
29565 Code
29566 \family default
29567  or by the toolbar button 
29568 \begin_inset Info
29569 type  "icon"
29570 arg   "ert-insert"
29571 \end_inset
29572
29573  (shortcut 
29574 \begin_inset Info
29575 type  "shortcut"
29576 arg   "ert-insert"
29577 \end_inset
29578
29579 ).
29580  The box can be opened by left-clicking and closed by right-clicking on
29581  it and selecting 
29582 \family sans
29583 Close Inset
29584 \family default
29585 .
29586 \end_layout
29587
29588 \begin_layout Standard
29589 You can insert complete or incomplete commands as TeX Code.
29590  Incomplete means that the command argument can be Standard LyX text.
29591  For example, if you want to draw a frame around a word and are therefore
29592  using the LaTeX-command 
29593 \series bold
29594
29595 \backslash
29596 fbox
29597 \series default
29598 , you can write the command part 
29599 \series bold
29600
29601 \backslash
29602 fbox{
29603 \series default
29604  in a TeX Code box before the word and the closing brace 
29605 \series bold
29606 }
29607 \series default
29608  in a second TeX Code box behind the word.
29609  The word between the two TeX Code boxes is then the argument as it is in
29610  the following example:
29611 \end_layout
29612
29613 \begin_layout Standard
29614 \begin_inset Graphics
29615         filename clipart/ERT.png
29616         scale 89
29617
29618 \end_inset
29619
29620
29621 \end_layout
29622
29623 \begin_layout Standard
29624 gives
29625 \end_layout
29626
29627 \begin_layout Standard
29628 This is a line with a 
29629 \begin_inset ERT
29630 status collapsed
29631
29632 \begin_layout Plain Layout
29633
29634
29635 \backslash
29636 fbox{
29637 \end_layout
29638
29639 \end_inset
29640
29641 framed
29642 \begin_inset ERT
29643 status collapsed
29644
29645 \begin_layout Plain Layout
29646
29647 }
29648 \end_layout
29649
29650 \end_inset
29651
29652  word.
29653 \end_layout
29654
29655 \begin_layout Standard
29656 \begin_inset Note Greyedout
29657 status open
29658
29659 \begin_layout Plain Layout
29660
29661 \series bold
29662 Note:
29663 \series default
29664  At the end of LaTeX-commands without parameters, you have to insert a space
29665  to let LaTeX know that the command is finished.
29666 \end_layout
29667
29668 \end_inset
29669
29670
29671 \end_layout
29672
29673 \begin_layout Subsection
29674 A Short Introduction to the LaTeX Syntax
29675 \begin_inset Argument 1
29676 status collapsed
29677
29678 \begin_layout Plain Layout
29679 The LaTeX Syntax
29680 \end_layout
29681
29682 \end_inset
29683
29684
29685 \begin_inset Index idx
29686 status collapsed
29687
29688 \begin_layout Plain Layout
29689 LaTeX Syntax
29690 \end_layout
29691
29692 \end_inset
29693
29694
29695 \begin_inset CommandInset label
29696 LatexCommand label
29697 name "sub:LaTeX-Syntax"
29698
29699 \end_inset
29700
29701
29702 \end_layout
29703
29704 \begin_layout Standard
29705 When you write larger documents or books, you will need to know something
29706  about the LaTeX-commands that LyX uses in the background.
29707  Because LaTeX is based on commands, you can 
29708 \begin_inset Quotes eld
29709 \end_inset
29710
29711 program
29712 \begin_inset Quotes erd
29713 \end_inset
29714
29715  your text.
29716  This has the advantage that the layout of the document can be changed at
29717  any time if you know the right commands.
29718  For example, imagine you have to write a manual for a product and the deadline
29719  is the end of the day.
29720  Your boss has just complimented you for your good work but wants to have
29721  all caption labels bold.
29722  But you have over a hundred figure and table captions with non-bold labels
29723  in your manual.
29724  Of course it is impossible to change all caption labels manually in one
29725  day.
29726 \end_layout
29727
29728 \begin_layout Standard
29729 Now LaTeX comes into play.
29730  As mentioned above, for every problem there exists a LaTeX-package.
29731  First you have to find out which and therefore look in the LaTeX package
29732  database, 
29733 \begin_inset CommandInset citation
29734 LatexCommand cite
29735 key "Catalogue"
29736
29737 \end_inset
29738
29739 .
29740 \end_layout
29741
29742 \begin_layout Standard
29743 As result you find that the package 
29744 \series bold
29745 caption
29746 \series default
29747
29748 \begin_inset Index idx
29749 status collapsed
29750
29751 \begin_layout Plain Layout
29752 LaTeX-packages ! caption
29753 \end_layout
29754
29755 \end_inset
29756
29757  is what you need.
29758  To use a package, you have to load it in the document preamble (menu 
29759 \family sans
29760 Document\SpecialChar \menuseparator
29761 Settings
29762 \family default
29763 \SpecialChar \menuseparator
29764
29765 \family sans
29766 LaT
29767 \begin_inset ERT
29768 status collapsed
29769
29770 \begin_layout Plain Layout
29771
29772 {}
29773 \end_layout
29774
29775 \end_inset
29776
29777 eX
29778 \begin_inset space ~
29779 \end_inset
29780
29781 Preamble
29782 \family default
29783 ) with the command
29784 \end_layout
29785
29786 \begin_layout Standard
29787
29788 \series bold
29789
29790 \backslash
29791 usepackage[options]{package name}
29792 \end_layout
29793
29794 \begin_layout Standard
29795 All LaTeX commands begin with a backslash, the command argument is set within
29796  two braces and the options are set within two brackets.
29797  Note that not all commands have an argument and options.
29798 \end_layout
29799
29800 \begin_layout Standard
29801 In your case the package name is 
29802 \series bold
29803 caption
29804 \series default
29805 .
29806  After a look in the documentation of the package, you know that the option
29807  
29808 \series bold
29809 labelfont=bf
29810 \series default
29811  will change the font of all caption labels to bold.
29812  So you add the command
29813 \end_layout
29814
29815 \begin_layout Standard
29816
29817 \series bold
29818
29819 \backslash
29820 usepackage[labelfont=bf]{caption}
29821 \end_layout
29822
29823 \begin_layout Standard
29824 to the preamble and the problem is solved.
29825 \begin_inset Foot
29826 status collapsed
29827
29828 \begin_layout Plain Layout
29829 For more commands provided by the 
29830 \series bold
29831 caption
29832 \series default
29833  package, have a look at its documentation, 
29834 \begin_inset CommandInset citation
29835 LatexCommand cite
29836 key "caption"
29837
29838 \end_inset
29839
29840 .
29841 \end_layout
29842
29843 \end_inset
29844
29845
29846 \end_layout
29847
29848 \begin_layout Standard
29849 Note that some document classes have built-in solutions for well-known problems
29850  like your case.
29851  For example if you use a 
29852 \family sans
29853 KOMA-Script
29854 \family default
29855  class, you don't need the package 
29856 \series bold
29857 caption
29858 \series default
29859 , you can instead write
29860 \end_layout
29861
29862 \begin_layout Standard
29863
29864 \series bold
29865
29866 \backslash
29867 setkomafont{captionlabel}{
29868 \backslash
29869 bfseries}
29870 \end_layout
29871
29872 \begin_layout Standard
29873 in the preamble and the problem is solved.
29874  So if you plan to write a large document, you should have a look at the
29875  documentation of the document class you want to use.
29876  (
29877 \series bold
29878
29879 \backslash
29880 setkomafont
29881 \series default
29882  is an example of a command with more than one argument.)
29883 \end_layout
29884
29885 \begin_layout Standard
29886 Commands in the preamble affect the whole document, while commands in the
29887  text affect only the text after the command or only the text used as command
29888  argument.
29889  To insert a LaTeX-command in text, use the TeX Code box as described in
29890  the previous section.
29891 \end_layout
29892
29893 \begin_layout Standard
29894 If you want to learn more about LaTeX and its syntax, have a look at the
29895  LaTeX-books 
29896 \begin_inset CommandInset citation
29897 LatexCommand cite
29898 key "latexcompanion,latexguide"
29899
29900 \end_inset
29901
29902 .
29903 \end_layout
29904
29905 \begin_layout Standard
29906 \begin_inset Newpage cleardoublepage
29907 \end_inset
29908
29909
29910 \end_layout
29911
29912 \begin_layout Standard
29913 \begin_inset ERT
29914 status collapsed
29915
29916 \begin_layout Plain Layout
29917
29918
29919 \backslash
29920 pagestyle{fancy}
29921 \end_layout
29922
29923 \end_inset
29924
29925
29926 \begin_inset Note Note
29927 status collapsed
29928
29929 \begin_layout Plain Layout
29930 switches temporarily to a page style with custom header and footer line
29931 \end_layout
29932
29933 \end_inset
29934
29935
29936 \end_layout
29937
29938 \begin_layout Left Header
29939 \begin_inset Argument 1
29940 status collapsed
29941
29942 \begin_layout Plain Layout
29943
29944 \end_layout
29945
29946 \end_inset
29947
29948
29949 \begin_inset ERT
29950 status collapsed
29951
29952 \begin_layout Plain Layout
29953
29954
29955 \backslash
29956 rightmark
29957 \end_layout
29958
29959 \end_inset
29960
29961
29962 \begin_inset Note Note
29963 status collapsed
29964
29965 \begin_layout Plain Layout
29966 defines the header line as described below
29967 \end_layout
29968
29969 \end_inset
29970
29971
29972 \end_layout
29973
29974 \begin_layout Center Header
29975 \begin_inset Argument 1
29976 status collapsed
29977
29978 \begin_layout Plain Layout
29979
29980 \end_layout
29981
29982 \end_inset
29983
29984
29985 \end_layout
29986
29987 \begin_layout Right Header
29988 \begin_inset Argument 1
29989 status collapsed
29990
29991 \begin_layout Plain Layout
29992 \begin_inset ERT
29993 status collapsed
29994
29995 \begin_layout Plain Layout
29996
29997
29998 \backslash
29999 leftmark
30000 \end_layout
30001
30002 \end_inset
30003
30004
30005 \end_layout
30006
30007 \end_inset
30008
30009
30010 \end_layout
30011
30012 \begin_layout Left Footer
30013 \begin_inset Argument 1
30014 status collapsed
30015
30016 \begin_layout Plain Layout
30017 \begin_inset ERT
30018 status collapsed
30019
30020 \begin_layout Plain Layout
30021
30022
30023 \backslash
30024 thepage
30025 \end_layout
30026
30027 \end_inset
30028
30029
30030 \end_layout
30031
30032 \end_inset
30033
30034
30035 \end_layout
30036
30037 \begin_layout Center Footer
30038 \begin_inset Argument 1
30039 status collapsed
30040
30041 \begin_layout Plain Layout
30042
30043 \family sans
30044 \series bold
30045 \color red
30046 LyX's user guide
30047 \end_layout
30048
30049 \end_inset
30050
30051 Magic code:
30052 \begin_inset Newline newline
30053 \end_inset
30054
30055
30056 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
30057 \end_inset
30058
30059
30060 \end_layout
30061
30062 \begin_layout Right Footer
30063 \begin_inset Argument 1
30064 status collapsed
30065
30066 \begin_layout Plain Layout
30067
30068 \end_layout
30069
30070 \end_inset
30071
30072
30073 \begin_inset ERT
30074 status collapsed
30075
30076 \begin_layout Plain Layout
30077
30078
30079 \backslash
30080 Roman{page}
30081 \end_layout
30082
30083 \end_inset
30084
30085
30086 \end_layout
30087
30088 \begin_layout Section
30089 Customized Page Headers and Footers
30090 \begin_inset CommandInset label
30091 LatexCommand label
30092 name "sec:Customized-Page-Headers"
30093
30094 \end_inset
30095
30096
30097 \begin_inset Index idx
30098 status collapsed
30099
30100 \begin_layout Plain Layout
30101 Document ! Header/Footer line
30102 \end_layout
30103
30104 \end_inset
30105
30106
30107 \begin_inset Index idx
30108 status collapsed
30109
30110 \begin_layout Plain Layout
30111 Header/Footer line
30112 \end_layout
30113
30114 \end_inset
30115
30116
30117 \end_layout
30118
30119 \begin_layout Standard
30120 To define a custom page header and footer line for your document, you need
30121  to set the 
30122 \family sans
30123 Page
30124 \begin_inset space ~
30125 \end_inset
30126
30127 style
30128 \family default
30129  to 
30130 \family sans
30131 Fancy
30132 \family default
30133  in the 
30134 \family sans
30135 Document\SpecialChar \menuseparator
30136 Settings
30137 \family default
30138  dialog under 
30139 \family sans
30140 Page
30141 \begin_inset space ~
30142 \end_inset
30143
30144 Layout
30145 \family default
30146 .
30147  As a second step add in the menu 
30148 \family sans
30149 Document\SpecialChar \menuseparator
30150 Settings\SpecialChar \menuseparator
30151 Modules
30152 \family default
30153  the module 
30154 \begin_inset Quotes eld
30155 \end_inset
30156
30157 Custom Header/Footerlines
30158 \begin_inset Quotes erd
30159 \end_inset
30160
30161 .
30162  This module offers the following 6
30163 \begin_inset space ~
30164 \end_inset
30165
30166 styles:
30167 \end_layout
30168
30169 \begin_layout Description
30170 Left
30171 \begin_inset space ~
30172 \end_inset
30173
30174 Header,
30175 \begin_inset space ~
30176 \end_inset
30177
30178 Center
30179 \begin_inset space ~
30180 \end_inset
30181
30182 Header,
30183 \begin_inset space ~
30184 \end_inset
30185
30186 Right
30187 \begin_inset space ~
30188 \end_inset
30189
30190 Header
30191 \end_layout
30192
30193 \begin_layout Description
30194 Left
30195 \begin_inset space ~
30196 \end_inset
30197
30198 Footer,
30199 \begin_inset space ~
30200 \end_inset
30201
30202 Center
30203 \begin_inset space ~
30204 \end_inset
30205
30206 Footer,
30207 \begin_inset space ~
30208 \end_inset
30209
30210 Right
30211 \begin_inset space ~
30212 \end_inset
30213
30214 Footer
30215 \end_layout
30216
30217 \begin_layout Standard
30218 for the different positions in the header/footer.
30219 \end_layout
30220
30221 \begin_layout Standard
30222 Normally, headers and footers are set up at the beginning of the document.
30223  But you can change them anywhere you want to.
30224  Figure
30225 \begin_inset space ~
30226 \end_inset
30227
30228
30229 \begin_inset CommandInset ref
30230 LatexCommand ref
30231 reference "fig:Page-layout"
30232
30233 \end_inset
30234
30235  shows the page layout and where the header/footer styles will appear.
30236 \end_layout
30237
30238 \begin_layout Standard
30239 \begin_inset Float figure
30240 placement h
30241 wide false
30242 sideways false
30243 status open
30244
30245 \begin_layout Plain Layout
30246 \noindent
30247 \align center
30248 \begin_inset Tabular
30249 <lyxtabular version="3" rows="5" columns="3">
30250 <features rotate="0" tabularvalignment="middle">
30251 <column alignment="left" valignment="top" width="30line%">
30252 <column alignment="center" valignment="top" width="30line%">
30253 <column alignment="right" valignment="top" width="30line%">
30254 <row>
30255 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
30256 \begin_inset Text
30257
30258 \begin_layout Plain Layout
30259 Left Header
30260 \end_layout
30261
30262 \end_inset
30263 </cell>
30264 <cell alignment="center" valignment="top" topline="true" usebox="none">
30265 \begin_inset Text
30266
30267 \begin_layout Plain Layout
30268 Center Header
30269 \end_layout
30270
30271 \end_inset
30272 </cell>
30273 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
30274 \begin_inset Text
30275
30276 \begin_layout Plain Layout
30277 Right Header
30278 \end_layout
30279
30280 \end_inset
30281 </cell>
30282 </row>
30283 <row>
30284 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30285 \begin_inset Text
30286
30287 \begin_layout Plain Layout
30288
30289 \end_layout
30290
30291 \end_inset
30292 </cell>
30293 <cell alignment="center" valignment="top" usebox="none">
30294 \begin_inset Text
30295
30296 \begin_layout Plain Layout
30297
30298 \end_layout
30299
30300 \end_inset
30301 </cell>
30302 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30303 \begin_inset Text
30304
30305 \begin_layout Plain Layout
30306
30307 \end_layout
30308
30309 \end_inset
30310 </cell>
30311 </row>
30312 <row>
30313 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
30314 \begin_inset Text
30315
30316 \begin_layout Plain Layout
30317 The normal text on the page goes here.
30318  The running header is above the text, and the footer is below (including
30319  footnotes).
30320  Headers/footers typically contain things like the page number, title of
30321  the chapter, company logo but your can use almost anything, except of floats.
30322 \end_layout
30323
30324 \end_inset
30325 </cell>
30326 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
30327 \begin_inset Text
30328
30329 \begin_layout Plain Layout
30330
30331 \end_layout
30332
30333 \end_inset
30334 </cell>
30335 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
30336 \begin_inset Text
30337
30338 \begin_layout Plain Layout
30339
30340 \end_layout
30341
30342 \end_inset
30343 </cell>
30344 </row>
30345 <row>
30346 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30347 \begin_inset Text
30348
30349 \begin_layout Plain Layout
30350
30351 \end_layout
30352
30353 \end_inset
30354 </cell>
30355 <cell alignment="center" valignment="top" usebox="none">
30356 \begin_inset Text
30357
30358 \begin_layout Plain Layout
30359
30360 \end_layout
30361
30362 \end_inset
30363 </cell>
30364 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30365 \begin_inset Text
30366
30367 \begin_layout Plain Layout
30368
30369 \end_layout
30370
30371 \end_inset
30372 </cell>
30373 </row>
30374 <row>
30375 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
30376 \begin_inset Text
30377
30378 \begin_layout Plain Layout
30379 Left Footer
30380 \end_layout
30381
30382 \end_inset
30383 </cell>
30384 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30385 \begin_inset Text
30386
30387 \begin_layout Plain Layout
30388 Center Footer
30389 \end_layout
30390
30391 \end_inset
30392 </cell>
30393 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
30394 \begin_inset Text
30395
30396 \begin_layout Plain Layout
30397 Right Footer
30398 \end_layout
30399
30400 \end_inset
30401 </cell>
30402 </row>
30403 </lyxtabular>
30404
30405 \end_inset
30406
30407
30408 \end_layout
30409
30410 \begin_layout Plain Layout
30411 \begin_inset Caption Standard
30412
30413 \begin_layout Plain Layout
30414 \begin_inset CommandInset label
30415 LatexCommand label
30416 name "fig:Page-layout"
30417
30418 \end_inset
30419
30420 Page layout with custom header and footer line.
30421 \end_layout
30422
30423 \end_inset
30424
30425
30426 \end_layout
30427
30428 \end_inset
30429
30430
30431 \end_layout
30432
30433 \begin_layout Standard
30434 \begin_inset Note Greyedout
30435 status open
30436
30437 \begin_layout Plain Layout
30438
30439 \series bold
30440 Note
30441 \series default
30442 : some document classes implement their own customized page headers and
30443  footers if 
30444 \family sans
30445 Page
30446 \begin_inset space ~
30447 \end_inset
30448
30449 style
30450 \family default
30451  is set to “Default”.
30452  Check what these are before you specify your own customized page headers
30453  and footers.
30454 \end_layout
30455
30456 \end_inset
30457
30458
30459 \end_layout
30460
30461 \begin_layout Subsection
30462 Definition
30463 \end_layout
30464
30465 \begin_layout Standard
30466 To define your header line, add all three header styles.
30467  The things you add to the styles appear on odd numbered pages, the things
30468  in the optional arguments on even numbered pages.
30469  For single-sided documents, the optional arguments will not be used and
30470  can be omitted.
30471  If you leave a style or its argument empty, nothing appears in the output.
30472  Defining the footer line works similarly.
30473 \end_layout
30474
30475 \begin_layout Standard
30476 For the definition, you will need some LaTeX-commands that are inserted
30477  as TeX code (menu 
30478 \family sans
30479 Insert\SpecialChar \menuseparator
30480 Te
30481 \begin_inset ERT
30482 status collapsed
30483
30484 \begin_layout Plain Layout
30485
30486 {}
30487 \end_layout
30488
30489 \end_inset
30490
30491 X
30492 \begin_inset space ~
30493 \end_inset
30494
30495 Code
30496 \family default
30497 ):
30498 \end_layout
30499
30500 \begin_layout Description
30501
30502 \backslash
30503 thepage prints the current page number
30504 \end_layout
30505
30506 \begin_layout Description
30507
30508 \backslash
30509 Roman{page} prints the current page number with capital roman numerals
30510 \end_layout
30511
30512 \begin_layout Description
30513
30514 \backslash
30515 roman{page} prints the current page number with small roman numerals
30516 \end_layout
30517
30518 \begin_layout Description
30519
30520 \backslash
30521 leftmark prints the current section number and title.
30522  If the document has chapters, it prints the current chapter number and
30523  title instead.
30524  It is called 
30525 \begin_inset Quotes eld
30526 \end_inset
30527
30528 leftmark
30529 \begin_inset Quotes prd
30530 \end_inset
30531
30532  because it usually goes in a left header.
30533 \end_layout
30534
30535 \begin_layout Description
30536
30537 \backslash
30538 rightmark prints the current subsection number and title.
30539  If the document has chapters, it prints the current section number and
30540  title instead.
30541  It is normally used in the right header.
30542 \end_layout
30543
30544 \begin_layout Subsection
30545 Default header/footer
30546 \end_layout
30547
30548 \begin_layout Standard
30549 The custom header/footer is not empty by default.
30550  The default header contains the chapter and section title and the center
30551  footer has the page number.
30552  In order to remove unwanted entries from the header/footer, include the
30553  relevant header/footer style in your document, but leave it blank.
30554  So, if you do not want a page number in the footer, include a blank 
30555 \family sans
30556 Center
30557 \begin_inset space ~
30558 \end_inset
30559
30560 Footer
30561 \family default
30562  style.
30563 \end_layout
30564
30565 \begin_layout Subsection
30566 Appearance
30567 \end_layout
30568
30569 \begin_layout Standard
30570 The header and footer will appear on normal pages.
30571  Some pages are different.
30572  The title page has a style of its own, and so does any page that starts
30573  a new part or chapter in your book.
30574  Such pages will not have the custom headers/footers, but that is normal.
30575  There is for example no need to print a header with the chapter name on
30576  the chapter page where the chapter heading is in big bold letters anyway.
30577 \end_layout
30578
30579 \begin_layout Subsubsection
30580 Header and footer decoration line
30581 \end_layout
30582
30583 \begin_layout Standard
30584 By default, you get a 0.4
30585 \begin_inset space \thinspace{}
30586 \end_inset
30587
30588 pt thick line below the header and no footer line.
30589  This can be changed in the document preamble with the commands 
30590 \series bold
30591
30592 \backslash
30593 headrulewidth
30594 \series default
30595  and 
30596 \series bold
30597
30598 \backslash
30599 footrulewidth
30600 \series default
30601  in the following way:
30602 \end_layout
30603
30604 \begin_layout Standard
30605
30606 \series bold
30607
30608 \backslash
30609 renewcommand{
30610 \backslash
30611 headrulewidth}{thickness}
30612 \end_layout
30613
30614 \begin_layout Standard
30615 where thickness is a size in standard units like 
30616 \family sans
30617 pt
30618 \family default
30619  or 
30620 \family sans
30621 mm
30622 \family default
30623 .
30624  If you don't want a line, set the thickness to 0
30625 \begin_inset space \thinspace{}
30626 \end_inset
30627
30628 pt.
30629 \end_layout
30630
30631 \begin_layout Standard
30632 The lines can also be colored, but this requires more knowledge of LaTeX.
30633  If you really need this, have a look at the Internet or in sec.
30634 \begin_inset space ~
30635 \end_inset
30636
30637 4.4 of the book 
30638 \begin_inset CommandInset citation
30639 LatexCommand cite
30640 key "Mittelbach"
30641
30642 \end_inset
30643
30644 .
30645 \end_layout
30646
30647 \begin_layout Subsubsection
30648 Several header/footer lines
30649 \end_layout
30650
30651 \begin_layout Standard
30652 In case you need more than one text line as a header/footer, you can do
30653  this by adding a normal line break in the style definition.
30654  However, the default height of the header/footer is only the one of one
30655  text line.
30656  To expand the height, redefine the LaTeX length 
30657 \series bold
30658
30659 \backslash
30660 headheight
30661 \series default
30662  or 
30663 \series bold
30664
30665 \backslash
30666 footheight
30667 \series default
30668  in this entry in 
30669 \family sans
30670 Document\SpecialChar \menuseparator
30671 Settings\SpecialChar \menuseparator
30672 Lat
30673 \begin_inset ERT
30674 status collapsed
30675
30676 \begin_layout Plain Layout
30677
30678 {}
30679 \end_layout
30680
30681 \end_inset
30682
30683 eX
30684 \begin_inset space ~
30685 \end_inset
30686
30687 Preamble
30688 \family default
30689 :
30690 \end_layout
30691
30692 \begin_layout Standard
30693
30694 \series bold
30695
30696 \backslash
30697 setlength{
30698 \backslash
30699 headheight}{height}
30700 \end_layout
30701
30702 \begin_layout Standard
30703 where height is a size in standard units.
30704  If you don't know which amount of space is needed for the height, define
30705  your header/footer and preview your document as a PDF.
30706  Then open the LaTeX logfile with the menu 
30707 \family sans
30708 Document\SpecialChar \menuseparator
30709 La
30710 \begin_inset ERT
30711 status collapsed
30712
30713 \begin_layout Plain Layout
30714
30715 {}
30716 \end_layout
30717
30718 \end_inset
30719
30720 TeX Log
30721 \family default
30722  and use the button 
30723 \family sans
30724 Next
30725 \begin_inset space ~
30726 \end_inset
30727
30728 Warning
30729 \family default
30730  to see if you can find a warning about the package 
30731 \series bold
30732 fancyhdr
30733 \series default
30734
30735 \begin_inset Index idx
30736 status collapsed
30737
30738 \begin_layout Plain Layout
30739 LaTeX-packages ! fancyhdr
30740 \end_layout
30741
30742 \end_inset
30743
30744 .
30745  If there is such a warning, it contains the space that you need at least
30746  for your header/footer.
30747 \end_layout
30748
30749 \begin_layout Subsection
30750 This example
30751 \end_layout
30752
30753 \begin_layout Standard
30754 This example demonstrates what can be done with custom header/footers.
30755  Don't use it for your document as it is just an example.
30756  This example consists of the following definition:
30757 \end_layout
30758
30759 \begin_layout Description
30760 Left
30761 \begin_inset space ~
30762 \end_inset
30763
30764 Header 
30765 \series bold
30766
30767 \backslash
30768 rightmark
30769 \series default
30770 , empty optional argument
30771 \end_layout
30772
30773 \begin_layout Description
30774 Center
30775 \begin_inset space ~
30776 \end_inset
30777
30778 Header empty, empty optional argument
30779 \end_layout
30780
30781 \begin_layout Description
30782 Right
30783 \begin_inset space ~
30784 \end_inset
30785
30786 Header empty, 
30787 \series bold
30788
30789 \backslash
30790 leftmark
30791 \series default
30792  in the optional argument
30793 \end_layout
30794
30795 \begin_layout Description
30796 Left
30797 \begin_inset space ~
30798 \end_inset
30799
30800 Footer empty, 
30801 \series bold
30802
30803 \backslash
30804 thepage
30805 \series default
30806  in the optional argument
30807 \end_layout
30808
30809 \begin_layout Description
30810 Center
30811 \begin_inset space ~
30812 \end_inset
30813
30814 Footer 
30815 \family sans
30816 \series bold
30817 \color red
30818 LyX's user guide
30819 \family default
30820 \series default
30821 \color inherit
30822
30823 \begin_inset Quotes eld
30824 \end_inset
30825
30826 Magic code:
30827 \begin_inset Newline newline
30828 \end_inset
30829
30830
30831 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
30832 \end_inset
30833
30834
30835 \begin_inset Quotes erd
30836 \end_inset
30837
30838  in the optional argument
30839 \end_layout
30840
30841 \begin_layout Description
30842 Right
30843 \begin_inset space ~
30844 \end_inset
30845
30846 Footer 
30847 \series bold
30848
30849 \backslash
30850 Roman{page}
30851 \series default
30852 , empty optional argument
30853 \end_layout
30854
30855 \begin_layout Description
30856
30857 \backslash
30858 headrulewidth set to 2
30859 \begin_inset space \thinspace{}
30860 \end_inset
30861
30862 pt
30863 \end_layout
30864
30865 \begin_layout Standard
30866 In principle you can use almost everything in headers/footers, except floats.
30867  For more specialized features, for example, thumb-indexes, see the manual
30868  of the 
30869 \series bold
30870 fancyhdr
30871 \series default
30872  package, 
30873 \begin_inset CommandInset citation
30874 LatexCommand cite
30875 key "fancyhdr"
30876
30877 \end_inset
30878
30879 .
30880 \end_layout
30881
30882 \begin_layout Standard
30883 \begin_inset Newpage clearpage
30884 \end_inset
30885
30886
30887 \end_layout
30888
30889 \begin_layout Standard
30890 \begin_inset ERT
30891 status open
30892
30893 \begin_layout Plain Layout
30894
30895
30896 \backslash
30897 pagestyle{headings}
30898 \end_layout
30899
30900 \end_inset
30901
30902
30903 \begin_inset Note Note
30904 status collapsed
30905
30906 \begin_layout Plain Layout
30907 switches back to page style with the default headings
30908 \end_layout
30909
30910 \end_inset
30911
30912
30913 \end_layout
30914
30915 \begin_layout Section
30916 Previewing Snippets of your Document
30917 \begin_inset CommandInset label
30918 LatexCommand label
30919 name "sec:Previewing-snippets-of"
30920
30921 \end_inset
30922
30923
30924 \begin_inset Index idx
30925 status collapsed
30926
30927 \begin_layout Plain Layout
30928 Instant preview
30929 \end_layout
30930
30931 \end_inset
30932
30933
30934 \begin_inset Index idx
30935 status collapsed
30936
30937 \begin_layout Plain Layout
30938 Document ! Preview
30939 \end_layout
30940
30941 \end_inset
30942
30943
30944 \end_layout
30945
30946 \begin_layout Standard
30947 LyX allows you to generate previews of sections of your document on the
30948  fly so you can see how they will look in the final document without having
30949  to break your train of thought with viewing the output.
30950 \end_layout
30951
30952 \begin_layout Subsection
30953 Prerequisites
30954 \end_layout
30955
30956 \begin_layout Standard
30957 To get previews working, you need the LaTeX package 
30958 \series bold
30959 preview-latex
30960 \series default
30961
30962 \begin_inset Index idx
30963 status collapsed
30964
30965 \begin_layout Plain Layout
30966 LaTeX-packages ! preview-latex
30967 \end_layout
30968
30969 \end_inset
30970
30971  (on some systems named simply 
30972 \series bold
30973 preview
30974 \series default
30975 ) installed.
30976  If it is not already installed, you will find it in the TeX-catalogue,
30977  
30978 \begin_inset CommandInset citation
30979 LatexCommand cite
30980 key "TeXCatalogue"
30981
30982 \end_inset
30983
30984  or in the package manager of your LaTeX-system.
30985  You obtain prettier results if you install the program 
30986 \family typewriter
30987 pnmcrop
30988 \family default
30989  from the 
30990 \family typewriter
30991 netpbm
30992 \family default
30993  package; for LyX on Windows this program and also the LaTeX-package are
30994  automatically installed together with LyX.
30995 \end_layout
30996
30997 \begin_layout Subsection
30998 Enabling previews
30999 \end_layout
31000
31001 \begin_layout Standard
31002 If you would for example like to see in LyX your math formulas typeset by
31003  LaTeX, activate the option 
31004 \family sans
31005 Display
31006 \begin_inset space ~
31007 \end_inset
31008
31009 Graphics
31010 \family default
31011  in the 
31012 \family sans
31013 Tools\SpecialChar \menuseparator
31014 Preferences 
31015 \family default
31016 dialog under 
31017 \family sans
31018 Look
31019 \begin_inset space ~
31020 \end_inset
31021
31022 and
31023 \begin_inset space ~
31024 \end_inset
31025
31026 feel\SpecialChar \menuseparator
31027 Display
31028 \family default
31029 .
31030  Then set 
31031 \family sans
31032 Instant
31033 \begin_inset space ~
31034 \end_inset
31035
31036 Preview
31037 \family default
31038  to 
31039 \family sans
31040 On
31041 \family default
31042 .
31043  The 
31044 \family sans
31045 Preview
31046 \begin_inset space ~
31047 \end_inset
31048
31049 Size
31050 \family default
31051  is the multiplication factor for the size.
31052 \end_layout
31053
31054 \begin_layout Standard
31055 If you would like to see everything but your math formulas typeset by LaTeX,
31056  set 
31057 \family sans
31058 Instant
31059 \begin_inset space ~
31060 \end_inset
31061
31062 Preview
31063 \family default
31064  to 
31065 \family sans
31066 No
31067 \begin_inset space ~
31068 \end_inset
31069
31070 math
31071 \family default
31072 .
31073 \end_layout
31074
31075 \begin_layout Standard
31076 Previews are generated when you load a document into LyX and when you finish
31077  editing an inset.
31078 \end_layout
31079
31080 \begin_layout Standard
31081 \begin_inset Note Greyedout
31082 status open
31083
31084 \begin_layout Plain Layout
31085
31086 \series bold
31087 Note:
31088 \series default
31089  Previews of an already loaded document are not in every case immediately
31090  generated by activating the option 
31091 \family sans
31092 Display
31093 \begin_inset space ~
31094 \end_inset
31095
31096 Graphics
31097 \family default
31098 .
31099  Reopening the document will fix such problems.
31100 \end_layout
31101
31102 \end_inset
31103
31104
31105 \end_layout
31106
31107 \begin_layout Subsection
31108 Selected document parts
31109 \end_layout
31110
31111 \begin_layout Standard
31112 Besides math there are other cases where you might like to see a preview,
31113  for example things that LyX cannot render like rotated parts or things
31114  that are not yet supported by LyX.
31115  To do this, insert a preview inset via the menu 
31116 \family sans
31117 Insert\SpecialChar \menuseparator
31118 Preview
31119 \family default
31120 .
31121  Insert or paste the stuff that you want to preview into this inset.
31122  The preview will be generated when the cursor is outside the preview inset.
31123  If you click on the preview, you can edit the previewed stuff.
31124 \end_layout
31125
31126 \begin_layout Standard
31127 An example: To create rotated boxes, you use the LaTeX command 
31128 \series bold
31129
31130 \backslash
31131 rotatebox
31132 \series default
31133  which is not yet supported by LyX.
31134 \begin_inset Foot
31135 status collapsed
31136
31137 \begin_layout Plain Layout
31138
31139 \series bold
31140
31141 \backslash
31142 rotatebox
31143 \series default
31144  is explained in section 
31145 \emph on
31146 Rotated and Scaled Boxes
31147 \emph default
31148  of the 
31149 \emph on
31150 Embedded
31151 \begin_inset space ~
31152 \end_inset
31153
31154 Objects
31155 \emph default
31156  manual.
31157 \end_layout
31158
31159 \end_inset
31160
31161  Instead of the TeX Code boxes you want to see in LyX the final rotated
31162  boxes, for example to adjust the rotation angle to fit with the surrounding
31163  text.
31164  Therefore you create a preview inset and copy the text with the rotated
31165  boxes into it.
31166  Here is the result:
31167 \end_layout
31168
31169 \begin_layout Standard
31170 \begin_inset Preview
31171
31172 \begin_layout Standard
31173 This is a line
31174 \begin_inset ERT
31175 status collapsed
31176
31177 \begin_layout Plain Layout
31178
31179
31180 \backslash
31181 rotatebox[origin=r]{-60}{
31182 \end_layout
31183
31184 \end_inset
31185
31186
31187 \begin_inset Box Doublebox
31188 position "c"
31189 hor_pos "c"
31190 has_inner_box 0
31191 inner_pos "c"
31192 use_parbox 0
31193 use_makebox 0
31194 width "1in"
31195 special "width"
31196 height "1in"
31197 height_special "totalheight"
31198 status collapsed
31199
31200 \begin_layout Plain Layout
31201 with rotated
31202 \end_layout
31203
31204 \end_inset
31205
31206
31207 \begin_inset ERT
31208 status collapsed
31209
31210 \begin_layout Plain Layout
31211
31212 }
31213 \end_layout
31214
31215 \end_inset
31216
31217  framed text 
31218 \begin_inset ERT
31219 status collapsed
31220
31221 \begin_layout Plain Layout
31222
31223
31224 \backslash
31225 rotatebox[origin=lb]{60}{
31226 \end_layout
31227
31228 \end_inset
31229
31230
31231 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31232 \end_inset
31233
31234
31235 \begin_inset ERT
31236 status collapsed
31237
31238 \begin_layout Plain Layout
31239
31240 }
31241 \end_layout
31242
31243 \end_inset
31244
31245  and a formula.
31246 \end_layout
31247
31248 \end_inset
31249
31250
31251 \end_layout
31252
31253 \begin_layout Standard
31254 Previewing works also for colors.
31255  In this example a special framed, colored box was created using the LaTeX
31256  command 
31257 \series bold
31258
31259 \backslash
31260 fcolorbox
31261 \series default
31262 :
31263 \begin_inset Foot
31264 status collapsed
31265
31266 \begin_layout Plain Layout
31267
31268 \series bold
31269
31270 \backslash
31271 fcolorbox
31272 \series default
31273  is explained in section 
31274 \emph on
31275 Colored Boxes
31276 \emph default
31277  of the 
31278 \emph on
31279 Embedded
31280 \begin_inset space ~
31281 \end_inset
31282
31283 Objects
31284 \emph default
31285  manual.
31286 \end_layout
31287
31288 \end_inset
31289
31290
31291 \end_layout
31292
31293 \begin_layout Standard
31294 \begin_inset Preview
31295
31296 \begin_layout Standard
31297 \begin_inset ERT
31298 status collapsed
31299
31300 \begin_layout Plain Layout
31301
31302
31303 \backslash
31304 fboxrule 1mm 
31305 \backslash
31306 fboxsep 1mm
31307 \end_layout
31308
31309 \end_inset
31310
31311
31312 \begin_inset ERT
31313 status collapsed
31314
31315 \begin_layout Plain Layout
31316
31317
31318 \backslash
31319 fcolorbox{cyan}{magenta}{
31320 \end_layout
31321
31322 \end_inset
31323
31324 This is text within a colored, framed box.
31325 \begin_inset ERT
31326 status collapsed
31327
31328 \begin_layout Plain Layout
31329
31330 }
31331 \end_layout
31332
31333 \end_inset
31334
31335
31336 \end_layout
31337
31338 \end_inset
31339
31340
31341 \end_layout
31342
31343 \begin_layout Standard
31344 \begin_inset VSpace medskip
31345 \end_inset
31346
31347
31348 \end_layout
31349
31350 \begin_layout Standard
31351 If LyX does not show a preview, make sure that you enabled previews as described
31352  above and also make sure that TeX Code in the preview inset is valid and
31353  that you loaded the LaTeX packages in your document preamble that are required
31354  by the TeX Code.
31355  If LyX cannot create a preview, you will in most cases also not be able
31356  to view your document due to LaTeX errors.
31357  So if you have to use some TeX Code and don't know if it is correct, the
31358  preview inset is a nice method to check it without the need to view the
31359  whole document.
31360 \end_layout
31361
31362 \begin_layout Subsection
31363 LaTeX source code
31364 \end_layout
31365
31366 \begin_layout Standard
31367 You can preview the LaTeX source of the whole document or parts of it.
31368  Use the menu 
31369 \family sans
31370 View\SpecialChar \menuseparator
31371 Source
31372 \begin_inset space ~
31373 \end_inset
31374
31375 Pane
31376 \family default
31377  and a window will be shown where you can see the LaTeX-source code.
31378  The window shows the source of the whole paragraph in which the cursor
31379  currently sits.
31380  You can also select document parts in LyX's main window, then only this
31381  selection (when it is more than one paragraph) is shown as source code.
31382  To view the whole document as source, enable the corresponding option in
31383  the source view window.
31384  If you check 
31385 \family sans
31386 Automatic update
31387 \family default
31388 , you can see the changes as you make them in LyX; but note that if you
31389  have several documents open, this will slow things down as LyX updates
31390  them all, not just the one which is open at the time.
31391 \end_layout
31392
31393 \begin_layout Section
31394 Advanced Find and Replace
31395 \begin_inset CommandInset label
31396 LatexCommand label
31397 name "sec:Advanced-Find-and"
31398
31399 \end_inset
31400
31401
31402 \begin_inset Index idx
31403 status collapsed
31404
31405 \begin_layout Plain Layout
31406 Replace
31407 \end_layout
31408
31409 \end_inset
31410
31411
31412 \begin_inset Index idx
31413 status collapsed
31414
31415 \begin_layout Plain Layout
31416 Find
31417 \end_layout
31418
31419 \end_inset
31420
31421
31422 \end_layout
31423
31424 \begin_layout Subsection
31425 Introduction
31426 \end_layout
31427
31428 \begin_layout Standard
31429 The advanced find and replace feature of LyX allows for searching of complex,
31430  format-sensitive text segments and mathematics contents within LyX documents.
31431  It is an enhancement of the standard (quick) find and replace feature.
31432  The key-features are:
31433 \end_layout
31434
31435 \begin_layout Itemize
31436 Both searching of text and of mathematical formulas is allowed, where the
31437  latter is done by entering mathematics in the usual way; not only entire
31438  mathematical formulas are found, but also parts occurring within more complex
31439  formulas
31440 \end_layout
31441
31442 \begin_layout Itemize
31443 Search may be format-insensitive, so that the searched text is found in
31444  any context/style (standard text, section headings, notes, and even mathematics
31445 ), or it may be format-sensitive, so that, for example, a word entered with
31446  a section heading will only be found within section headings
31447 \end_layout
31448
31449 \begin_layout Itemize
31450 Search may be restricted to mathematics environments only; this is useful
31451  for remangling math notation where one does not want to match any text
31452  outside of mathematics environments
31453 \end_layout
31454
31455 \begin_layout Itemize
31456 Search may be widened to a specific 
31457 \emph on
31458 scope
31459 \emph default
31460 , i.
31461 \begin_inset space \thinspace{}
31462 \end_inset
31463
31464 e.
31465 \begin_inset space ~
31466 \end_inset
31467
31468 a set of files which may be all the children of the document being edited,
31469  all the open files, or all the manuals available from the 
31470 \family sans
31471 Help
31472 \family default
31473  menu
31474 \end_layout
31475
31476 \begin_layout Itemize
31477 Replace may optionally preserve capitalization, so that the replaced text
31478  capitalization is adapted to the matching text (i.
31479 \begin_inset space \thinspace{}
31480 \end_inset
31481
31482 e.
31483 \begin_inset space ~
31484 \end_inset
31485
31486 all lowercase, all uppercase, first letter uppercase followed by lowercase)
31487 \end_layout
31488
31489 \begin_layout Subsection
31490 Basic usage
31491 \end_layout
31492
31493 \begin_layout Standard
31494 The advanced find and replace feature is activated through the menu 
31495 \family sans
31496 Edit\SpecialChar \menuseparator
31497 Find & Replace
31498 \noun on
31499  (
31500 \noun default
31501 Advanced
31502 \noun on
31503 )
31504 \family default
31505 \noun default
31506  (shortcut 
31507 \begin_inset Info
31508 type  "shortcut"
31509 arg   "dialog-show findreplaceadv"
31510 \end_inset
31511
31512 ) or the toolbar button 
31513 \begin_inset Info
31514 type  "icon"
31515 arg   "dialog-toggle findreplaceadv"
31516 \end_inset
31517
31518 .
31519  This opens the 
31520 \family sans
31521 Advanced Find and Replace
31522 \family default
31523  dialog.
31524 \end_layout
31525
31526 \begin_layout Subsubsection
31527 Searching for text
31528 \end_layout
31529
31530 \begin_layout Standard
31531 Enter into the 
31532 \family sans
31533 Find
31534 \family default
31535  LyX mini-editor a simple word, and search for occurrences of it by clicking
31536  on the 
31537 \family sans
31538 Find
31539 \begin_inset space ~
31540 \end_inset
31541
31542 Next
31543 \family default
31544  button at the bottom of the dialog (or just press the 
31545 \begin_inset Info
31546 type  "shortcut"
31547 arg   "break-paragraph"
31548 \end_inset
31549
31550  key).
31551  The entered word is found both in text mode and in math mode, and in emphasized
31552 , bold or normal face, and in both in section titles and in standard text.
31553  Pressing 
31554 \begin_inset Info
31555 type  "shortcut"
31556 arg   "break-paragraph"
31557 \end_inset
31558
31559  repeatedly keeps searching forward while pressing 
31560 \family sans
31561 Shift+Return
31562 \family default
31563  searches backwards.
31564 \end_layout
31565
31566 \begin_layout Standard
31567 The 
31568 \family sans
31569 Case
31570 \begin_inset space ~
31571 \end_inset
31572
31573 sensitive
31574 \family default
31575  option allows matches to occur only with the same case as entered in the
31576  
31577 \family sans
31578 Find
31579 \family default
31580  editor.
31581  The 
31582 \family sans
31583 Whole
31584 \begin_inset space ~
31585 \end_inset
31586
31587 words
31588 \family default
31589  option allows matches to occur only at word boundaries.
31590 \end_layout
31591
31592 \begin_layout Subsubsection
31593 Searching for mathematics
31594 \end_layout
31595
31596 \begin_layout Standard
31597 Mathematical formulas, such as 
31598 \begin_inset Formula $x^{2}$
31599 \end_inset
31600
31601  or something more complex like 
31602 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
31603 \end_inset
31604
31605 , may be searched for by typing them in the 
31606 \family sans
31607 Find
31608 \family default
31609  editor.
31610  When searching for a formula, it is found both when it is alone and when
31611  it occurs in sub-formulas and nested parts of sub-formulas.
31612  For example the mentioned segments would be found in something like 
31613 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}.$
31614 \end_inset
31615
31616
31617 \end_layout
31618
31619 \begin_layout Subsubsection
31620 Style-aware search
31621 \end_layout
31622
31623 \begin_layout Standard
31624 It is also possible to search for text with specific styles.
31625  This is done by switching to the 
31626 \family sans
31627 Settings
31628 \family default
31629  tab of the dialog and unchecking the 
31630 \family sans
31631 Ignore format
31632 \family default
31633  option.
31634  This way, entering in the 
31635 \family sans
31636 Find
31637 \family default
31638  editor
31639 \end_layout
31640
31641 \begin_layout Itemize
31642 a normal word and searching for it would not find instances of the word
31643  occurring in emphasized or boldface.
31644 \end_layout
31645
31646 \begin_layout Itemize
31647 an emphasized or boldface word and searching for it would find the respective
31648  instances with the same face only, and within the same text style only.
31649 \end_layout
31650
31651 \begin_layout Itemize
31652 a normal word in a section heading, and searching for it, would find occurrences
31653  of it only within section headings.
31654  Also, if the text to search is given an emphasized or bold face, in addition
31655  to a section style, then it is found only when occurring with the same
31656  style.
31657 \end_layout
31658
31659 \begin_layout Itemize
31660 a displayed formula will only find instances of this formula that are also
31661  displayed formulas (and not inline formulas).
31662 \end_layout
31663
31664 \begin_layout Subsubsection
31665 Replace
31666 \end_layout
31667
31668 \begin_layout Standard
31669 The entries made in the 
31670 \family sans
31671 Find
31672 \family default
31673  editor can be replaced with entries made in the 
31674 \family sans
31675 Replace
31676 \begin_inset space ~
31677 \end_inset
31678
31679 with
31680 \family default
31681  editor.
31682  In order to find the next occurrence and replace it, click on the 
31683 \family sans
31684 Replace
31685 \family default
31686  button or alternatively press 
31687 \begin_inset Info
31688 type  "shortcut"
31689 arg   "break-paragraph"
31690 \end_inset
31691
31692  or 
31693 \family sans
31694 Shift+Return
31695 \family default
31696  while the cursor is in the 
31697 \family sans
31698 Replace
31699 \begin_inset space ~
31700 \end_inset
31701
31702 with
31703 \family default
31704  editor.
31705 \end_layout
31706
31707 \begin_layout Standard
31708 You can replace with fully-featured formatted LyX entries.
31709  Typical scenarios in which to use this capability might be (just to mention
31710  two):
31711 \end_layout
31712
31713 \begin_layout Itemize
31714 replacing occurrences of a word with a customized formatted version of the
31715  same word, for example replacing occurrences of a name like 
31716 \begin_inset Quotes eld
31717 \end_inset
31718
31719 func()
31720 \begin_inset Quotes erd
31721 \end_inset
31722
31723  with its typewriter version 
31724 \begin_inset Quotes eld
31725 \end_inset
31726
31727
31728 \family typewriter
31729 func()
31730 \family default
31731
31732 \begin_inset Quotes erd
31733 \end_inset
31734
31735
31736 \end_layout
31737
31738 \begin_layout Itemize
31739 performing a notation rework of mathematical symbols, for example replacing
31740  occurrences of 
31741 \begin_inset Quotes eld
31742 \end_inset
31743
31744
31745 \begin_inset Formula $R$
31746 \end_inset
31747
31748
31749 \begin_inset Quotes erd
31750 \end_inset
31751
31752  with 
31753 \begin_inset Quotes eld
31754 \end_inset
31755
31756
31757 \begin_inset Formula $\mathbb{R}$
31758 \end_inset
31759
31760
31761 \begin_inset Quotes erd
31762 \end_inset
31763
31764  (you may want to enable the 
31765 \family sans
31766 Whole
31767 \begin_inset space ~
31768 \end_inset
31769
31770 words
31771 \family default
31772  and 
31773 \family sans
31774 Case
31775 \begin_inset space ~
31776 \end_inset
31777
31778 sensitive
31779 \family default
31780  options and disable the 
31781 \family sans
31782 Ignore format
31783 \family default
31784  option in the 
31785 \family sans
31786 Settings
31787 \family default
31788  tab, in order to avoid replacing all 
31789 \begin_inset Quotes eld
31790 \end_inset
31791
31792 R
31793 \begin_inset Quotes erd
31794 \end_inset
31795
31796  letters occurring in normal text), or occurrences of 
31797 \begin_inset Formula $x_{j}^{i}$
31798 \end_inset
31799
31800  with 
31801 \begin_inset Formula $x_{i,\, j}$
31802 \end_inset
31803
31804 , or occurrences of 
31805 \begin_inset Formula $x[k]$
31806 \end_inset
31807
31808  with 
31809 \begin_inset Formula $x_{k}$
31810 \end_inset
31811
31812 .
31813 \end_layout
31814
31815 \begin_layout Subsection
31816 Advanced usage
31817 \end_layout
31818
31819 \begin_layout Standard
31820 There is a regular expression (regexp) based searching facility.
31821 \begin_inset Foot
31822 status collapsed
31823
31824 \begin_layout Plain Layout
31825 A good explanation of regular expressions is given in this Wikipedia entry:
31826  
31827 \begin_inset CommandInset href
31828 LatexCommand href
31829 target "http://en.wikipedia.org/wiki/Regular_expression"
31830
31831 \end_inset
31832
31833 .
31834 \end_layout
31835
31836 \end_inset
31837
31838  You can search for a regular expression by inserting a regexp inset into
31839  the 
31840 \family sans
31841 Find
31842 \family default
31843  editor.
31844  This is done with the context menu 
31845 \family sans
31846 Insert\SpecialChar \menuseparator
31847 Insert Regular Expression
31848 \family default
31849  while the cursor is in the 
31850 \family sans
31851 Find
31852 \family default
31853  editor.
31854  Characters entered within regexp insets are matched according to the regular
31855  expression matching rules
31856 \begin_inset Foot
31857 status collapsed
31858
31859 \begin_layout Plain Layout
31860 Under the constraint that any (sub)expression must match a well-formed LyX
31861  segment, i.
31862 \begin_inset space \thinspace{}
31863 \end_inset
31864
31865 e.
31866 \begin_inset space ~
31867 \end_inset
31868
31869 when matching LaTeX code, no segments with unbalanced {} braces are allowed
31870  to match expressions.
31871 \end_layout
31872
31873 \end_inset
31874
31875 , while text entered outside regexp insets is matched exactly against the
31876  same text in the document.
31877  You can cut and paste regexp-mode insets.
31878  Examples of using such a feature may be:
31879 \end_layout
31880
31881 \begin_layout Enumerate
31882 Searching for all fractions with a given denominator: for example, entering
31883  in the 
31884 \family sans
31885 Find
31886 \family default
31887  editor the fraction 
31888 \begin_inset Formula $\frac{.*}{1+x^{2}}$
31889 \end_inset
31890
31891  (where the 
31892 \begin_inset Formula $.*$
31893 \end_inset
31894
31895  on the numerator is the match-everything regular expression) finds all
31896  fractions with the given denominator.
31897 \end_layout
31898
31899 \begin_layout Enumerate
31900 Searching for all text with a given style: for example, after unchecking
31901  the 
31902 \family sans
31903 Ignore format
31904 \family default
31905  option from the 
31906 \family sans
31907 Settings
31908 \family default
31909  tab, entering a 
31910 \series bold
31911
31912 \begin_inset Formula $.*$
31913 \end_inset
31914
31915
31916 \series default
31917  regular expression and giving it an emphasized or bold face, finds all
31918  emphasized or bold face text respectively.
31919  Also, by inserting a 
31920 \begin_inset Formula $.*$
31921 \end_inset
31922
31923  regular expression in a bullet or enumerated list or a section heading,
31924  you can find all bullet or enumerated lists or section headings.
31925 \end_layout
31926
31927 \begin_layout Standard
31928 Finally, references to (sub)expressions in regexp may be used as usual:
31929  Enclosing parts of the expression within round braces 
31930 \begin_inset Formula $()$
31931 \end_inset
31932
31933 , and referring back to them through 
31934 \begin_inset Formula $\backslash1$
31935 \end_inset
31936
31937
31938 \begin_inset Formula $\backslash2$
31939 \end_inset
31940
31941 , etc..
31942  For example, try searching with the regexp
31943 \begin_inset Newline newline
31944 \end_inset
31945
31946 [[:space:]]([[:alpha:]]+)[[:space:]]
31947 \backslash
31948 1[[:space:]]
31949 \begin_inset Newline newline
31950 \end_inset
31951
31952 in order to find word repetitions, if there are any.
31953 \end_layout
31954
31955 \begin_layout Standard
31956 The usage of back references in the replaced text is not (yet) implemented.
31957 \end_layout
31958
31959 \begin_layout Standard
31960 \begin_inset Note Greyedout
31961 status open
31962
31963 \begin_layout Plain Layout
31964
31965 \series bold
31966 Note:
31967 \series default
31968  Back references work both when occurring within the same regexp, and when
31969  occurring in multiple different regexps, where the numbering of back-referenced
31970  sub-expressions is absolute.
31971  That is,
31972 \begin_inset space ~
31973 \end_inset
31974
31975
31976 \begin_inset Formula $\backslash1$
31977 \end_inset
31978
31979  always refers to the first occurrence of 
31980 \begin_inset Formula $()$
31981 \end_inset
31982
31983  in all entered regexps.
31984 \end_layout
31985
31986 \end_inset
31987
31988
31989 \end_layout
31990
31991 \begin_layout Section
31992 Spell Checking
31993 \begin_inset CommandInset label
31994 LatexCommand label
31995 name "sec:Spellchecking"
31996
31997 \end_inset
31998
31999
32000 \begin_inset Index idx
32001 status collapsed
32002
32003 \begin_layout Plain Layout
32004 Spell checking
32005 \end_layout
32006
32007 \end_inset
32008
32009
32010 \end_layout
32011
32012 \begin_layout Standard
32013 LyX has a built-in spell checker.
32014  The menu
32015 \family sans
32016  Tools\SpecialChar \menuseparator
32017 Spellchecker
32018 \family default
32019 , the 
32020 \family sans
32021 F7
32022 \family default
32023  key or the toolbar button 
32024 \begin_inset Info
32025 type  "icon"
32026 arg   "dialog-show spellchecker"
32027 \end_inset
32028
32029  start the spell checking from either the current cursor position or the
32030  beginning of the currently selected text.
32031  A sidebar will appear showing any incorrect (or unknown) word found, allowing
32032  you to edit and replace it in a second line.
32033  Whenever an unknown word is found, the word is highlighted and the text
32034  scrolled so that it is visible.
32035  In the spellchecker sidebar, there is a box showing suggestions for a correctio
32036 n, if any could be found.
32037  Clicking on one of the corrections will copy it to the 
32038 \family sans
32039 Replacement
32040 \family default
32041  field, double-clicking directly invokes the replacement.
32042  Unknown but correctly typed words can be added to the personal dictionary.
32043 \end_layout
32044
32045 \begin_layout Standard
32046 By default, the dictionary file used is determined by the document language
32047  that is set in the 
32048 \family sans
32049 Document\SpecialChar \menuseparator
32050 Settings
32051 \family default
32052  dialog.
32053  You can specify the language of a word in the spellchecker dialog by choosing
32054  a different one at the top of the dialog.
32055  LyX can correctly spell check documents containing multiple languages.
32056  This works if you have set the language of the text parts using the 
32057 \family sans
32058 Text
32059 \begin_inset space ~
32060 \end_inset
32061
32062 Style
32063 \family default
32064  dialog (
32065 \begin_inset Info
32066 type  "icon"
32067 arg   "dialog-show character"
32068 \end_inset
32069
32070 ) and have the spell checker dictionaries installed.
32071  LyX automatically switches to the appropriate dictionary file.
32072 \end_layout
32073
32074 \begin_layout Standard
32075 All spell-checker dictionaries supported by LyX can be downloaded from here:
32076 \begin_inset Newline newline
32077 \end_inset
32078
32079
32080 \begin_inset Flex URL
32081 status collapsed
32082
32083 \begin_layout Plain Layout
32084
32085 http://sourceforge.net/projects/lyxwininstaller/files/hunspell/
32086 \end_layout
32087
32088 \end_inset
32089
32090
32091 \begin_inset Newline newline
32092 \end_inset
32093
32094 There are 2
32095 \begin_inset space ~
32096 \end_inset
32097
32098 files for each language.
32099  To install a dictionary on Windows, copy the 2
32100 \begin_inset space ~
32101 \end_inset
32102
32103 files into LyX's installation subfolder 
32104 \family sans
32105 ~
32106 \backslash
32107 Resources
32108 \backslash
32109 dicts
32110 \family default
32111  and restart LyX.
32112 \begin_inset Newline newline
32113 \end_inset
32114
32115 With Linux one needs to install the packages for the desired language.
32116  The number of these packages vary depending on the Linux distribution,
32117  but in most cases these are 
32118 \family typewriter
32119 aspell-xx
32120 \family default
32121
32122 \family typewriter
32123 hunspell-xx
32124 \family default
32125 ,
32126 \family typewriter
32127  myspell-xx
32128 \family default
32129 , etc., where 
32130 \family sans
32131 xx
32132 \family default
32133  is the language code.
32134 \end_layout
32135
32136 \begin_layout Subsection
32137 Further Settings
32138 \end_layout
32139
32140 \begin_layout Standard
32141 In the menu 
32142 \family sans
32143 Tools\SpecialChar \menuseparator
32144 Preferences\SpecialChar \menuseparator
32145 Language
32146 \begin_inset space ~
32147 \end_inset
32148
32149 Settings\SpecialChar \menuseparator
32150 Spellchecker
32151 \family default
32152  you can set the following things:
32153 \end_layout
32154
32155 \begin_layout Description
32156 Spellchecker
32157 \begin_inset space ~
32158 \end_inset
32159
32160 engine Select the library LyX should use for spell checking.
32161  Depending on your platform, 
32162 \family typewriter
32163 aspell
32164 \family default
32165
32166 \family typewriter
32167 hunspell
32168 \family default
32169  or 
32170 \family typewriter
32171 enchant
32172 \begin_inset Foot
32173 status collapsed
32174
32175 \begin_layout Plain Layout
32176 Enchant itself is a wrapper library having different configurable back-ends.
32177  Please consult the documentation or man-page of it to learn more.
32178 \end_layout
32179
32180 \end_inset
32181
32182
32183 \family default
32184  are available.
32185  On Windows only 
32186 \family typewriter
32187 hunspell
32188 \family default
32189  is available.
32190 \end_layout
32191
32192 \begin_layout Description
32193 Alternative
32194 \begin_inset space ~
32195 \end_inset
32196
32197 language If this field is not empty, LyX will always use the given language
32198  for the spell checking, no matter what the document language is.
32199 \end_layout
32200
32201 \begin_layout Description
32202 Escape
32203 \begin_inset space ~
32204 \end_inset
32205
32206 characters Allows you to add non-standard characters that the spell checker
32207  should escape, e.
32208 \begin_inset space \thinspace{}
32209 \end_inset
32210
32211 g.
32212 \begin_inset space \space{}
32213 \end_inset
32214
32215 German umlauts.
32216  This should normally not be needed.
32217 \end_layout
32218
32219 \begin_layout Description
32220 Accept
32221 \begin_inset space ~
32222 \end_inset
32223
32224 compound
32225 \begin_inset space ~
32226 \end_inset
32227
32228 words Prevents the spell checker from complaining about compounded words
32229  like 
32230 \begin_inset Quotes eld
32231 \end_inset
32232
32233 passthrough
32234 \begin_inset Quotes erd
32235 \end_inset
32236
32237 .
32238 \end_layout
32239
32240 \begin_layout Description
32241 Spellcheck
32242 \begin_inset space ~
32243 \end_inset
32244
32245 continuously Checks the spelling of your document as you type it.
32246  Misspelled words get underlined with a dotted red line.
32247  By right-clicking on an underlined word, suggestions from the spellchecker
32248  appear in a context menu.
32249  Choosing one of them will replace the misspelled word with the suggested
32250  word.
32251 \end_layout
32252
32253 \begin_layout Description
32254 Spellcheck
32255 \begin_inset space ~
32256 \end_inset
32257
32258 notes
32259 \begin_inset space ~
32260 \end_inset
32261
32262 and
32263 \begin_inset space ~
32264 \end_inset
32265
32266 comments If enabled, the spelling of non-printed document content is checked
32267  as well.
32268 \end_layout
32269
32270 \begin_layout Section
32271 Thesaurus
32272 \begin_inset Index idx
32273 status collapsed
32274
32275 \begin_layout Plain Layout
32276 Thesaurus
32277 \end_layout
32278
32279 \end_inset
32280
32281
32282 \begin_inset CommandInset label
32283 LatexCommand label
32284 name "sec:Thesaurus"
32285
32286 \end_inset
32287
32288
32289 \end_layout
32290
32291 \begin_layout Standard
32292 LyX provides a multilingual thesaurus.
32293  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
32294  (namely the 
32295 \family sans
32296 MyThes
32297 \family default
32298
32299 \begin_inset Foot
32300 status collapsed
32301
32302 \begin_layout Plain Layout
32303 \begin_inset CommandInset href
32304 LatexCommand href
32305 target "http://lingucomponent.openoffice.org/thesaurus.html"
32306
32307 \end_inset
32308
32309
32310 \end_layout
32311
32312 \end_inset
32313
32314  thesaurus library, which is included in LyX).
32315  Therefore, LyX is able to directly access OpenOffice thesaurus dictionaries,
32316  which are available for many languages.
32317 \end_layout
32318
32319 \begin_layout Standard
32320 This section describes how new dictionaries are installed and set up for
32321  the use with LyX.
32322 \end_layout
32323
32324 \begin_layout Subsection
32325 Setting up the thesaurus
32326 \end_layout
32327
32328 \begin_layout Standard
32329 The 
32330 \family sans
32331 MyThes
32332 \emph on
32333 /
32334 \emph default
32335 OpenOffice
32336 \family default
32337  thesauri consist of two files per language: A file with the suffix 
32338 \emph on
32339 *.dat
32340 \emph default
32341  containing the data and an index file with the suffix 
32342 \emph on
32343 *.idx
32344 \emph default
32345 .
32346  The standardized file names include the language code for the given language
32347  (e.
32348 \begin_inset space \thinspace{}
32349 \end_inset
32350
32351 g.
32352 \begin_inset space ~
32353 \end_inset
32354
32355
32356 \family sans
32357 en_US
32358 \family default
32359  for US English).
32360  For instance, the US English files are named:
32361 \end_layout
32362
32363 \begin_layout Itemize
32364 th_en_EN_v2.idx
32365 \end_layout
32366
32367 \begin_layout Itemize
32368 th_en_EN_v2.dat
32369 \end_layout
32370
32371 \begin_layout Standard
32372 If you have 
32373 \family sans
32374 LibreOffice
32375 \family default
32376  or 
32377 \family sans
32378 OpenOffice
32379 \family default
32380  and its thesaurus installed, these files should be already on your system
32381  and you just need to point LyX (in 
32382 \family sans
32383 Tools\SpecialChar \menuseparator
32384 Preferences\SpecialChar \menuseparator
32385 Paths\SpecialChar \menuseparator
32386 Thesaurus
32387 \begin_inset space ~
32388 \end_inset
32389
32390 dictionaries
32391 \family default
32392 ) to the path where they are installed.
32393 \begin_inset Foot
32394 status collapsed
32395
32396 \begin_layout Plain Layout
32397 On Linux, depending on your distribution and the way you installed the dictionar
32398 ies, typical locations are 
32399 \family typewriter
32400 /usr/share/mythes/
32401 \family default
32402
32403 \family typewriter
32404 /usr/share/myspell/dicts/
32405 \family default
32406
32407 \family typewriter
32408 /usr/share/ooo/thesaurus/
32409 \family default
32410 ,
32411 \family typewriter
32412  ~/.config/libreoffice/<version>/user/
32413 \family default
32414  or alike.
32415  On Windows, dictionaries are to be found at 
32416 \family typewriter
32417 ~
32418 \backslash
32419 Program Files
32420 \backslash
32421 LibreOffice-<Version>
32422 \backslash
32423 share
32424 \backslash
32425 extensions 
32426 \family default
32427 or similar.
32428  On the Mac, the default location is 
32429 \family typewriter
32430 /Users\SpecialChar \slash{}
32431 <user name>\SpecialChar \slash{}
32432 Library\SpecialChar \slash{}
32433 Application Support\SpecialChar \slash{}
32434 libreoffice\SpecialChar \slash{}
32435 <version>\SpecialChar \slash{}
32436 user
32437 \family default
32438 /.
32439 \end_layout
32440
32441 \end_inset
32442
32443  On Windows, you can alternatively also select dictionaries for installation
32444  during the LyX installation process, which will then be installed in the
32445  correct place right away.
32446 \end_layout
32447
32448 \begin_layout Standard
32449 If you want to install new\SpecialChar \slash{}
32450 further thesaurus dictionaries, you can downloaded
32451  them from here:
32452 \end_layout
32453
32454 \begin_layout Itemize
32455 \begin_inset Flex URL
32456 status open
32457
32458 \begin_layout Plain Layout
32459
32460 http://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk/thes/
32461 \end_layout
32462
32463 \end_inset
32464
32465
32466 \end_layout
32467
32468 \begin_layout Standard
32469 To install a new dictionary, download the two files for this dictionary
32470  into the thesaurus path (which is set in 
32471 \family sans
32472 Tools\SpecialChar \menuseparator
32473 Preferences\SpecialChar \menuseparator
32474 Paths\SpecialChar \menuseparator
32475 Thesaurus
32476 \begin_inset space ~
32477 \end_inset
32478
32479 dictionaries
32480 \family default
32481 ) and restart LyX.
32482  If this path is not defined yet, you can use a dictionary of your choice
32483  and point LyX there.
32484 \end_layout
32485
32486 \begin_layout Standard
32487 Alternatively, you can also install new dictionaries via 
32488 \family sans
32489 LibreOffice\SpecialChar \slash{}
32490 OpenOffice
32491 \family default
32492  or, on Linux, via your package manager (look for 
32493 \emph on
32494 mythes-*
32495 \emph default
32496  or 
32497 \emph on
32498 libreoffice-thesaurus-*
32499 \emph default
32500  packages).
32501  If you do this, make sure that LyX is able to find the installed dictionaries,
32502  i.
32503 \begin_inset space \thinspace{}
32504 \end_inset
32505
32506 e.
32507  that 
32508 \family sans
32509 Tools\SpecialChar \menuseparator
32510 Preferences\SpecialChar \menuseparator
32511 Paths\SpecialChar \menuseparator
32512 Thesaurus
32513 \begin_inset space ~
32514 \end_inset
32515
32516 dictionaries
32517 \family default
32518  points to the path where you installed these dictionaries.
32519 \end_layout
32520
32521 \begin_layout Subsection
32522 Using the thesaurus
32523 \end_layout
32524
32525 \begin_layout Standard
32526 To start the thesaurus, use the menu 
32527 \family sans
32528 Tools\SpecialChar \menuseparator
32529 Thesaurus
32530 \family default
32531  or the toolbar button 
32532 \begin_inset Info
32533 type  "icon"
32534 arg   "thesaurus-entry"
32535 \end_inset
32536
32537  while the cursor is at the word you want to look up or while a word is
32538  selected.
32539  A dialog pops up showing you probably related words that you can use as
32540  a replacement.
32541  The suggestions are grouped into categories.
32542  Note that, for some languages (such as English), the thesaurus does not
32543  only show equivalent words (synonyms), but also generic terms (such as
32544  
32545 \emph on
32546 organism
32547 \emph default
32548  for 
32549 \emph on
32550 plant
32551 \emph default
32552 ), related terms (such as 
32553 \emph on
32554 political
32555 \begin_inset space ~
32556 \end_inset
32557
32558 theory
32559 \emph default
32560  for 
32561 \emph on
32562 anarchistic
32563 \emph default
32564 ), compounds (such as 
32565 \emph on
32566 tree
32567 \begin_inset space ~
32568 \end_inset
32569
32570 diagram
32571 \emph default
32572 , if you look for 
32573 \emph on
32574 tree
32575 \emph default
32576 ) and opposites (antonyms) (such as 
32577 \emph on
32578 girl
32579 \emph default
32580  for 
32581 \emph on
32582 boy
32583 \emph default
32584 ).
32585  Generic terms, related terms and antonyms are marked as such.
32586 \end_layout
32587
32588 \begin_layout Standard
32589 The language is automatically chosen from the language at the cursor, but
32590  you can also switch it in the dialog, as you can enter new words to look
32591  up directly there.
32592 \end_layout
32593
32594 \begin_layout Standard
32595 Note that the thesaurus cannot handle phrases (only compounds that are in
32596  the dictionary, such as the above 
32597 \emph on
32598 tree diagram
32599 \emph default
32600 ), and you have to use the so called lemma form, i.
32601 \begin_inset space \thinspace{}
32602 \end_inset
32603
32604 e.
32605 \begin_inset space \space{}
32606 \end_inset
32607
32608 the form that is used in the dictionaries (for many languages: first person
32609  singular indicative active for nouns, infinitive for verbs).
32610  For example, looking up the word form 
32611 \emph on
32612 reporting
32613 \emph default
32614  yields no results, while results are shown for the word form 
32615 \emph on
32616 report
32617 \emph default
32618 .
32619  Your best bet is to highlight only the relevant part of such a word (e.
32620 \begin_inset space \thinspace{}
32621 \end_inset
32622
32623 g.
32624 \begin_inset space \space{}
32625 \end_inset
32626
32627
32628 \emph on
32629 report
32630 \emph default
32631  in 
32632 \emph on
32633 report
32634 \emph default
32635 s); then you will get suggestions without needing to adjust the query in
32636  the dialog, and also the replacement will probably be correct (as only
32637  the highlighted part will be replaced; thus the ending remains).
32638 \end_layout
32639
32640 \begin_layout Section
32641 Change Tracking
32642 \begin_inset Index idx
32643 status collapsed
32644
32645 \begin_layout Plain Layout
32646 Change Tracking
32647 \end_layout
32648
32649 \end_inset
32650
32651
32652 \begin_inset Index idx
32653 status collapsed
32654
32655 \begin_layout Plain Layout
32656 Document ! Change Tracking
32657 \end_layout
32658
32659 \end_inset
32660
32661
32662 \begin_inset CommandInset label
32663 LatexCommand label
32664 name "sec:Change-Tracking"
32665
32666 \end_inset
32667
32668
32669 \end_layout
32670
32671 \begin_layout Standard
32672 When you work on a document collaboratively it is extremely useful to be
32673  able to see changes that others have made highlighted in the document.
32674  You can then decide if you want to accept a change or not.
32675  This can be achieved by turning on change tracking in the menu 
32676 \family sans
32677 Document\SpecialChar \menuseparator
32678 Change
32679 \begin_inset space ~
32680 \end_inset
32681
32682 Tracking\SpecialChar \menuseparator
32683 Track
32684 \begin_inset space ~
32685 \end_inset
32686
32687 Changes
32688 \family default
32689 .
32690 \end_layout
32691
32692 \begin_layout Standard
32693 Changes made in the document will then be highlighted by strokes and colors:
32694  
32695 \bar under
32696 \color blue
32697 underlined text
32698 \bar default
32699 \color inherit
32700  is an addition, 
32701 \strikeout on
32702 \color blue
32703 canceled text
32704 \strikeout default
32705 \color inherit
32706  is a deletion.
32707  The color depends on the author that made the change.
32708  You can change the color in 
32709 \family sans
32710 Tools\SpecialChar \menuseparator
32711 Preferences\SpecialChar \menuseparator
32712 Look
32713 \begin_inset space ~
32714 \end_inset
32715
32716 &
32717 \begin_inset space ~
32718 \end_inset
32719
32720 feel
32721 \family default
32722 \SpecialChar \menuseparator
32723
32724 \family sans
32725 Colors
32726 \family default
32727 .
32728 \begin_inset Index idx
32729 status collapsed
32730
32731 \begin_layout Plain Layout
32732 Color ! Change tracking
32733 \end_layout
32734
32735 \end_inset
32736
32737  The author and the date of the change are shown in LyX's status bar when
32738  the cursor is in changed text.
32739  The same information is shown when you use the toolbar button 
32740 \begin_inset Info
32741 type  "icon"
32742 arg   "changes-merge"
32743 \end_inset
32744
32745 .
32746 \end_layout
32747
32748 \begin_layout Standard
32749 When change tracking is activated, you will see the review toolbar in LyX:
32750 \begin_inset Index idx
32751 status collapsed
32752
32753 \begin_layout Plain Layout
32754 Toolbar ! Review
32755 \end_layout
32756
32757 \end_inset
32758
32759
32760 \end_layout
32761
32762 \begin_layout Standard
32763 \begin_inset VSpace defskip
32764 \end_inset
32765
32766
32767 \end_layout
32768
32769 \begin_layout Standard
32770 \begin_inset Graphics
32771         filename clipart/ChangesToolbar.png
32772         scale 90
32773
32774 \end_inset
32775
32776
32777 \end_layout
32778
32779 \begin_layout Standard
32780 \begin_inset VSpace defskip
32781 \end_inset
32782
32783
32784 \end_layout
32785
32786 \begin_layout Standard
32787 The review toolbar as shown above contains the following buttons:
32788 \end_layout
32789
32790 \begin_layout Standard
32791 \begin_inset VSpace defskip
32792 \end_inset
32793
32794
32795 \end_layout
32796
32797 \begin_layout Standard
32798 \begin_inset Tabular
32799 <lyxtabular version="3" rows="10" columns="2">
32800 <features rotate="0" islongtable="true" longtabularalignment="center">
32801 <column alignment="left" valignment="top">
32802 <column alignment="left" valignment="top">
32803 <row interlinespace="2.5mm">
32804 <cell alignment="center" valignment="top" usebox="none">
32805 \begin_inset Text
32806
32807 \begin_layout Plain Layout
32808
32809 \family sans
32810 \begin_inset Info
32811 type  "icon"
32812 arg   "changes-track"
32813 \end_inset
32814
32815
32816 \end_layout
32817
32818 \end_inset
32819 </cell>
32820 <cell alignment="center" valignment="top" usebox="none">
32821 \begin_inset Text
32822
32823 \begin_layout Plain Layout
32824
32825 \family sans
32826 Document\SpecialChar \menuseparator
32827 Change
32828 \begin_inset space ~
32829 \end_inset
32830
32831 Tracking\SpecialChar \menuseparator
32832 Track
32833 \begin_inset space ~
32834 \end_inset
32835
32836 Changes
32837 \end_layout
32838
32839 \end_inset
32840 </cell>
32841 </row>
32842 <row interlinespace="2.5mm">
32843 <cell alignment="center" valignment="top" usebox="none">
32844 \begin_inset Text
32845
32846 \begin_layout Plain Layout
32847
32848 \family sans
32849 \begin_inset Info
32850 type  "icon"
32851 arg   "changes-output"
32852 \end_inset
32853
32854
32855 \end_layout
32856
32857 \end_inset
32858 </cell>
32859 <cell alignment="center" valignment="top" usebox="none">
32860 \begin_inset Text
32861
32862 \begin_layout Plain Layout
32863
32864 \family sans
32865 Document\SpecialChar \menuseparator
32866 Change
32867 \begin_inset space ~
32868 \end_inset
32869
32870 Tracking\SpecialChar \menuseparator
32871 Show
32872 \begin_inset space ~
32873 \end_inset
32874
32875 Changes
32876 \begin_inset space ~
32877 \end_inset
32878
32879 in
32880 \begin_inset space ~
32881 \end_inset
32882
32883 Output
32884 \end_layout
32885
32886 \end_inset
32887 </cell>
32888 </row>
32889 <row interlinespace="2.5mm">
32890 <cell alignment="center" valignment="top" usebox="none">
32891 \begin_inset Text
32892
32893 \begin_layout Plain Layout
32894
32895 \family sans
32896 \begin_inset Info
32897 type  "icon"
32898 arg   "change-next"
32899 \end_inset
32900
32901
32902 \end_layout
32903
32904 \end_inset
32905 </cell>
32906 <cell alignment="center" valignment="top" usebox="none">
32907 \begin_inset Text
32908
32909 \begin_layout Plain Layout
32910 Jumps to the next change
32911 \end_layout
32912
32913 \end_inset
32914 </cell>
32915 </row>
32916 <row interlinespace="2.5mm">
32917 <cell alignment="center" valignment="top" usebox="none">
32918 \begin_inset Text
32919
32920 \begin_layout Plain Layout
32921
32922 \family sans
32923 \begin_inset Info
32924 type  "icon"
32925 arg   "change-accept"
32926 \end_inset
32927
32928
32929 \end_layout
32930
32931 \end_inset
32932 </cell>
32933 <cell alignment="center" valignment="top" usebox="none">
32934 \begin_inset Text
32935
32936 \begin_layout Plain Layout
32937
32938 \family sans
32939 Document\SpecialChar \menuseparator
32940 Change
32941 \begin_inset space ~
32942 \end_inset
32943
32944 Tracking\SpecialChar \menuseparator
32945 Accept
32946 \begin_inset space ~
32947 \end_inset
32948
32949 Change
32950 \end_layout
32951
32952 \end_inset
32953 </cell>
32954 </row>
32955 <row interlinespace="2.5mm">
32956 <cell alignment="center" valignment="top" usebox="none">
32957 \begin_inset Text
32958
32959 \begin_layout Plain Layout
32960
32961 \family sans
32962 \begin_inset Info
32963 type  "icon"
32964 arg   "change-reject"
32965 \end_inset
32966
32967
32968 \end_layout
32969
32970 \end_inset
32971 </cell>
32972 <cell alignment="center" valignment="top" usebox="none">
32973 \begin_inset Text
32974
32975 \begin_layout Plain Layout
32976
32977 \family sans
32978 Document\SpecialChar \menuseparator
32979 Change
32980 \begin_inset space ~
32981 \end_inset
32982
32983 Tracking\SpecialChar \menuseparator
32984 Reject
32985 \begin_inset space ~
32986 \end_inset
32987
32988 Change
32989 \end_layout
32990
32991 \end_inset
32992 </cell>
32993 </row>
32994 <row interlinespace="2.5mm">
32995 <cell alignment="center" valignment="top" usebox="none">
32996 \begin_inset Text
32997
32998 \begin_layout Plain Layout
32999
33000 \family sans
33001 \begin_inset Info
33002 type  "icon"
33003 arg   "changes-merge"
33004 \end_inset
33005
33006
33007 \end_layout
33008
33009 \end_inset
33010 </cell>
33011 <cell alignment="center" valignment="top" usebox="none">
33012 \begin_inset Text
33013
33014 \begin_layout Plain Layout
33015
33016 \family sans
33017 Document\SpecialChar \menuseparator
33018 Change
33019 \begin_inset space ~
33020 \end_inset
33021
33022 Tracking\SpecialChar \menuseparator
33023 Merge
33024 \begin_inset space ~
33025 \end_inset
33026
33027 Changes
33028 \end_layout
33029
33030 \end_inset
33031 </cell>
33032 </row>
33033 <row interlinespace="2.5mm">
33034 <cell alignment="center" valignment="top" usebox="none">
33035 \begin_inset Text
33036
33037 \begin_layout Plain Layout
33038
33039 \family sans
33040 \begin_inset Info
33041 type  "icon"
33042 arg   "all-changes-accept"
33043 \end_inset
33044
33045
33046 \end_layout
33047
33048 \end_inset
33049 </cell>
33050 <cell alignment="center" valignment="top" usebox="none">
33051 \begin_inset Text
33052
33053 \begin_layout Plain Layout
33054
33055 \family sans
33056 Document\SpecialChar \menuseparator
33057 Change
33058 \begin_inset space ~
33059 \end_inset
33060
33061 Tracking\SpecialChar \menuseparator
33062 Accept
33063 \begin_inset space ~
33064 \end_inset
33065
33066 All
33067 \begin_inset space ~
33068 \end_inset
33069
33070 Changes
33071 \end_layout
33072
33073 \end_inset
33074 </cell>
33075 </row>
33076 <row interlinespace="2.5mm">
33077 <cell alignment="center" valignment="top" usebox="none">
33078 \begin_inset Text
33079
33080 \begin_layout Plain Layout
33081
33082 \family sans
33083 \begin_inset Info
33084 type  "icon"
33085 arg   "all-changes-reject"
33086 \end_inset
33087
33088
33089 \end_layout
33090
33091 \end_inset
33092 </cell>
33093 <cell alignment="center" valignment="top" usebox="none">
33094 \begin_inset Text
33095
33096 \begin_layout Plain Layout
33097
33098 \family sans
33099 Document\SpecialChar \menuseparator
33100 Change
33101 \begin_inset space ~
33102 \end_inset
33103
33104 Tracking\SpecialChar \menuseparator
33105 Reject
33106 \begin_inset space ~
33107 \end_inset
33108
33109 All
33110 \begin_inset space ~
33111 \end_inset
33112
33113 Changes
33114 \end_layout
33115
33116 \end_inset
33117 </cell>
33118 </row>
33119 <row interlinespace="2.5mm">
33120 <cell alignment="center" valignment="top" usebox="none">
33121 \begin_inset Text
33122
33123 \begin_layout Plain Layout
33124
33125 \family sans
33126 \begin_inset Info
33127 type  "icon"
33128 arg   "note-insert"
33129 \end_inset
33130
33131
33132 \end_layout
33133
33134 \end_inset
33135 </cell>
33136 <cell alignment="center" valignment="top" usebox="none">
33137 \begin_inset Text
33138
33139 \begin_layout Plain Layout
33140
33141 \family sans
33142 Insert\SpecialChar \menuseparator
33143 Note\SpecialChar \menuseparator
33144 Ly
33145 \begin_inset ERT
33146 status collapsed
33147
33148 \begin_layout Plain Layout
33149
33150 {}
33151 \end_layout
33152
33153 \end_inset
33154
33155 X
33156 \begin_inset space ~
33157 \end_inset
33158
33159 Note
33160 \end_layout
33161
33162 \end_inset
33163 </cell>
33164 </row>
33165 <row interlinespace="2.5mm">
33166 <cell alignment="center" valignment="top" usebox="none">
33167 \begin_inset Text
33168
33169 \begin_layout Plain Layout
33170
33171 \family sans
33172 \begin_inset Info
33173 type  "icon"
33174 arg   "note-next"
33175 \end_inset
33176
33177
33178 \end_layout
33179
33180 \end_inset
33181 </cell>
33182 <cell alignment="center" valignment="top" usebox="none">
33183 \begin_inset Text
33184
33185 \begin_layout Plain Layout
33186
33187 \family sans
33188 Navigate\SpecialChar \menuseparator
33189 Next
33190 \begin_inset space ~
33191 \end_inset
33192
33193 Note
33194 \end_layout
33195
33196 \end_inset
33197 </cell>
33198 </row>
33199 </lyxtabular>
33200
33201 \end_inset
33202
33203
33204 \end_layout
33205
33206 \begin_layout Standard
33207 \begin_inset VSpace defskip
33208 \end_inset
33209
33210
33211 \end_layout
33212
33213 \begin_layout Standard
33214 Not all changes are (yet) visualized, especially no format changes like
33215  from 
33216 \emph on
33217 normal
33218 \emph default
33219  to 
33220 \emph on
33221 bold
33222 \emph default
33223  font or 
33224 \emph on
33225 Standard
33226 \emph default
33227  to 
33228 \emph on
33229 Description
33230 \emph default
33231  paragraph.
33232 \end_layout
33233
33234 \begin_layout Standard
33235 The review toolbar helps you to accept, reject, or merge changes – highlight
33236  the change and press one of the desired toolbar buttons.
33237  When you merge changes, a window pops up showing you information about
33238  the next change after the current cursor position.
33239  So you don't need to highlight a certain change.
33240  Within the merge window you can decide to accept or reject changes and
33241  step to the next change.
33242  This way you can jump through all the changes in the document.
33243 \end_layout
33244
33245 \begin_layout Standard
33246 The toolbar has two buttons to handle notes because notes are often important
33247  to describe a change.
33248 \end_layout
33249
33250 \begin_layout Standard
33251 To show the changes made in the output you need the LaTeX package 
33252 \series bold
33253 dvipost
33254 \series default
33255
33256 \begin_inset Index idx
33257 status collapsed
33258
33259 \begin_layout Plain Layout
33260 LaTeX-packages ! dvipost
33261 \end_layout
33262
33263 \end_inset
33264
33265  installed.
33266  You will find it in the TeX Catalogue, 
33267 \begin_inset CommandInset citation
33268 LatexCommand cite
33269 key "TeXCatalogue"
33270
33271 \end_inset
33272
33273  or in the package manager of your LaTeX-system.
33274 \end_layout
33275
33276 \begin_layout Section
33277 Comparison of Documents
33278 \begin_inset CommandInset label
33279 LatexCommand label
33280 name "sec:Comparison-of-Documents"
33281
33282 \end_inset
33283
33284
33285 \begin_inset Index idx
33286 status collapsed
33287
33288 \begin_layout Plain Layout
33289 Comparison of documents
33290 \end_layout
33291
33292 \end_inset
33293
33294
33295 \end_layout
33296
33297 \begin_layout Standard
33298 You can compare two different LyX files via the menu 
33299 \family sans
33300 Tools\SpecialChar \menuseparator
33301 Compare
33302 \family default
33303 .
33304  The comparison result is a LyX file with change tracking enabled showing
33305  the differences.
33306  In the comparison dialog you can select from which document LyX should
33307  take the document settings for the resulting difference file with the option
33308  
33309 \family sans
33310 Copy
33311 \begin_inset space ~
33312 \end_inset
33313
33314 Document
33315 \begin_inset space ~
33316 \end_inset
33317
33318 Settings
33319 \begin_inset space ~
33320 \end_inset
33321
33322 from
33323 \family default
33324 .
33325  The option 
33326 \family sans
33327 Enable
33328 \begin_inset space ~
33329 \end_inset
33330
33331 change
33332 \begin_inset space ~
33333 \end_inset
33334
33335 tracking
33336 \begin_inset space ~
33337 \end_inset
33338
33339 features
33340 \begin_inset space ~
33341 \end_inset
33342
33343 in
33344 \begin_inset space ~
33345 \end_inset
33346
33347 the
33348 \begin_inset space ~
33349 \end_inset
33350
33351 output
33352 \family default
33353  enables the change tracking option 
33354 \family sans
33355 Show
33356 \begin_inset space ~
33357 \end_inset
33358
33359 Changes
33360 \begin_inset space ~
33361 \end_inset
33362
33363 in
33364 \begin_inset space ~
33365 \end_inset
33366
33367 Output
33368 \family default
33369  to visualize the differences also in the PDF output of the difference file.
33370 \end_layout
33371
33372 \begin_layout Section
33373 International Support
33374 \begin_inset Index idx
33375 status collapsed
33376
33377 \begin_layout Plain Layout
33378 International support
33379 \end_layout
33380
33381 \end_inset
33382
33383
33384 \end_layout
33385
33386 \begin_layout Standard
33387 This section describes how to use LyX with any language you want.
33388  For some languages there are special Wiki-pages that explain how to set
33389  up LyX to use them: 
33390 \begin_inset CommandInset citation
33391 LatexCommand cite
33392 key "Arabic,Armenian,Farsi,Hebrew,Latvian,Lithuanian,Mongolian,Vietnamese"
33393
33394 \end_inset
33395
33396
33397 \end_layout
33398
33399 \begin_layout Standard
33400 Besides languages, LyX also supports phonetic symbols, see section
33401 \begin_inset space ~
33402 \end_inset
33403
33404
33405 \begin_inset CommandInset ref
33406 LatexCommand ref
33407 reference "sub:Special-Character"
33408
33409 \end_inset
33410
33411 .
33412 \end_layout
33413
33414 \begin_layout Subsection
33415 Language Options
33416 \begin_inset Index idx
33417 status collapsed
33418
33419 \begin_layout Plain Layout
33420 Language ! Options
33421 \end_layout
33422
33423 \end_inset
33424
33425
33426 \begin_inset Index idx
33427 status collapsed
33428
33429 \begin_layout Plain Layout
33430 Document ! Settings
33431 \end_layout
33432
33433 \end_inset
33434
33435
33436 \begin_inset Index idx
33437 status collapsed
33438
33439 \begin_layout Plain Layout
33440 Document ! Language
33441 \end_layout
33442
33443 \end_inset
33444
33445
33446 \end_layout
33447
33448 \begin_layout Standard
33449 The 
33450 \family sans
33451 Document\SpecialChar \menuseparator
33452 Settings\SpecialChar \menuseparator
33453 Language
33454 \family default
33455  dialog lets you set 
33456 \family roman
33457 the language, the quote style and character encoding
33458 \family default
33459 .
33460 \end_layout
33461
33462 \begin_layout Standard
33463 Under 
33464 \family sans
33465 Encoding
33466 \family default
33467  you can choose the character encoding map you want to use for LaTeX export.
33468  The option 
33469 \family sans
33470 Language
33471 \begin_inset space ~
33472 \end_inset
33473
33474 Default
33475 \family default
33476  is the preferred choice and works well in most cases.
33477  For details about the different encoding options see section
33478 \begin_inset space ~
33479 \end_inset
33480
33481
33482 \begin_inset CommandInset ref
33483 LatexCommand ref
33484 reference "sec:Language-encodings"
33485
33486 \end_inset
33487
33488 .
33489 \end_layout
33490
33491 \begin_layout Subsection
33492 Keyboard mapping configuration
33493 \begin_inset CommandInset label
33494 LatexCommand label
33495 name "sub:Keyboard-mapping"
33496
33497 \end_inset
33498
33499
33500 \end_layout
33501
33502 \begin_layout Standard
33503 If you have for example a U.
33504 \begin_inset space \thinspace{}
33505 \end_inset
33506
33507 S.-style keyboard and want to write in a language other than English, you
33508  can use an alternate keymap.
33509  For example, if you want to write in Italian, you can configure LyX to
33510  use an Italian keymap.
33511  The 
33512 \family sans
33513 Tools\SpecialChar \menuseparator
33514 Preferences\SpecialChar \menuseparator
33515 Editing\SpecialChar \menuseparator
33516 Keyboard/Mouse
33517 \family default
33518  dialog allows you to choose up to two keyboard mappings, see section
33519 \begin_inset space ~
33520 \end_inset
33521
33522
33523 \begin_inset CommandInset ref
33524 LatexCommand ref
33525 reference "sub:Keyboard-Map"
33526
33527 \end_inset
33528
33529 .
33530  You can choose primary and secondary keyboard languages and then select
33531  which one you want to use.
33532 \end_layout
33533
33534 \begin_layout Standard
33535 Finally, you may just want to change a few key mappings or create an entirely
33536  different keymap (for Vulcan, for instance).
33537  You may, for example, normally write in Italian on a U.
33538 \begin_inset space \thinspace{}
33539 \end_inset
33540
33541 S.-style keyboard but want to include an occasional quotation in German.
33542  In such a case, you can write your own keyboard mapping or modify an existing
33543  one to support the characters you want.
33544  This and many other customizations are explained in the 
33545 \emph on
33546 Customization
33547 \emph default
33548  manual.
33549 \end_layout
33550
33551 \begin_layout Chapter
33552 \start_of_appendix
33553 The User Interface
33554 \begin_inset CommandInset label
33555 LatexCommand label
33556 name "chap:The-User-Interface"
33557
33558 \end_inset
33559
33560
33561 \end_layout
33562
33563 \begin_layout Standard
33564 This appendix lists all the available menus and describes their functionality.
33565  It is designed as a quick reference if you are searching for a special
33566  topic inside the user's guide.
33567 \end_layout
33568
33569 \begin_layout Section
33570 The File Menu
33571 \begin_inset Index idx
33572 status collapsed
33573
33574 \begin_layout Plain Layout
33575 Menu ! File
33576 \end_layout
33577
33578 \end_inset
33579
33580
33581 \end_layout
33582
33583 \begin_layout Standard
33584 Under the 
33585 \family sans
33586 File
33587 \family default
33588  menu are the basic operations in addition to some more advanced operations.
33589 \end_layout
33590
33591 \begin_layout Subsection
33592 New
33593 \end_layout
33594
33595 \begin_layout Standard
33596 Creates a new document.
33597 \end_layout
33598
33599 \begin_layout Subsection
33600 New from Template
33601 \end_layout
33602
33603 \begin_layout Standard
33604 This menu entry prompts you for a template to use.
33605  Selecting a template will automatically set certain layout features for
33606  the document, features you would otherwise need to change manually.
33607 \end_layout
33608
33609 \begin_layout Subsection
33610 Open
33611 \end_layout
33612
33613 \begin_layout Standard
33614 Opens a document.
33615 \end_layout
33616
33617 \begin_layout Subsection
33618 Open Recent
33619 \end_layout
33620
33621 \begin_layout Standard
33622 The submenu shows a list of the recently opened files.
33623  Click there on a file to open it.
33624 \end_layout
33625
33626 \begin_layout Subsection
33627 Close
33628 \end_layout
33629
33630 \begin_layout Standard
33631 Closes the current document.
33632 \end_layout
33633
33634 \begin_layout Subsection
33635 Close All
33636 \end_layout
33637
33638 \begin_layout Standard
33639 Closes all opened documents.
33640 \end_layout
33641
33642 \begin_layout Subsection
33643 Save
33644 \end_layout
33645
33646 \begin_layout Standard
33647 Saves the actual document.
33648 \end_layout
33649
33650 \begin_layout Subsection
33651 Save As
33652 \end_layout
33653
33654 \begin_layout Standard
33655 Saves the actual document under a new name to create a copy.
33656 \end_layout
33657
33658 \begin_layout Subsection
33659 Save All
33660 \end_layout
33661
33662 \begin_layout Standard
33663 Saves all opened documents.
33664 \end_layout
33665
33666 \begin_layout Subsection
33667 Revert to saved
33668 \end_layout
33669
33670 \begin_layout Standard
33671 Reloads the actual document from disk.
33672 \end_layout
33673
33674 \begin_layout Subsection
33675 Version Control
33676 \end_layout
33677
33678 \begin_layout Standard
33679 This is used when multiple people are working on the same document or when
33680  one person wants to keep a careful archive of changes.
33681  It is described in the section 
33682 \emph on
33683 Version Control in LyX
33684 \emph default
33685  of the 
33686 \emph on
33687 Additional Features
33688 \emph default
33689  manual.
33690 \end_layout
33691
33692 \begin_layout Subsection
33693 Import
33694 \end_layout
33695
33696 \begin_layout Standard
33697 Here you can import files from older LyX-versions, HTML-files, LaTeX-files,
33698  NoWeb-files, plain text files and comma separated, table-like text files
33699  (CSV).
33700  The files will be imported as a new LyX-document.
33701 \end_layout
33702
33703 \begin_layout Standard
33704 When using the menu entry 
33705 \family sans
33706 Plain
33707 \begin_inset space ~
33708 \end_inset
33709
33710 text
33711 \family default
33712 , line breaks in the text will start a new paragraph; when using the menu
33713  entry 
33714 \family sans
33715 Plain
33716 \begin_inset space ~
33717 \end_inset
33718
33719 Text,
33720 \begin_inset space ~
33721 \end_inset
33722
33723 Join
33724 \begin_inset space ~
33725 \end_inset
33726
33727 Lines
33728 \family default
33729 , consecutive lines of text will be imported to one big paragraph.
33730  A new paragraph will begin when there is a blank line in the file.
33731 \end_layout
33732
33733 \begin_layout Subsection
33734 Export
33735 \begin_inset CommandInset label
33736 LatexCommand label
33737 name "sub:Export"
33738
33739 \end_inset
33740
33741
33742 \end_layout
33743
33744 \begin_layout Standard
33745 You can export your document to various file formats.
33746  The resulting files are placed in the directory of your LyX-file.
33747  The menu entries are not the same on all installations.
33748  They depend on the programs found by LyX during its configuration.
33749 \end_layout
33750
33751 \begin_layout Standard
33752 Here is a list of all available entries; some of them are explained in detail
33753  in section
33754 \begin_inset space ~
33755 \end_inset
33756
33757
33758 \begin_inset CommandInset ref
33759 LatexCommand ref
33760 reference "sub:Output-file-formats"
33761
33762 \end_inset
33763
33764 :
33765 \end_layout
33766
33767 \begin_layout Description
33768
33769 \family sans
33770 CJK
33771 \family default
33772
33773 \begin_inset space ~
33774 \end_inset
33775
33776 L
33777 \begin_inset ERT
33778 status collapsed
33779
33780 \begin_layout Plain Layout
33781
33782 {}
33783 \end_layout
33784
33785 \end_inset
33786
33787 yX format of the special LyX
33788 \begin_inset space ~
33789 \end_inset
33790
33791 1.4.x versions for Chinese, Japanese and Korean (CJK)
33792 \begin_inset Newline newline
33793 \end_inset
33794
33795  Since LyX 1.5.0 CJK support has been fully integrated into LyX.
33796 \end_layout
33797
33798 \begin_layout Description
33799 DocBook text file with code in the language SGML that is used for the markup
33800  language 
33801 \family typewriter
33802 DocBook
33803 \end_layout
33804
33805 \begin_layout Description
33806 DocBook
33807 \begin_inset space ~
33808 \end_inset
33809
33810 (XML) text file with code in the language XML that is used for the markup
33811  language 
33812 \family typewriter
33813 DocBook
33814 \end_layout
33815
33816 \begin_layout Description
33817 DraftDVI LaTeX's native DVI-format.
33818  This format is not suitable if you have special characters or spaces in
33819  files paths or file names in your document.
33820  LyX use this format internally as a pre-stage to export to 
33821 \family sans
33822 DVI
33823 \family default
33824 .
33825 \end_layout
33826
33827 \begin_layout Description
33828 DVI DVI-format that also allows the useage of special characters or spaces
33829  in files paths or file names
33830 \end_layout
33831
33832 \begin_layout Description
33833 DVI
33834 \begin_inset space ~
33835 \end_inset
33836
33837 (LuaT
33838 \begin_inset ERT
33839 status collapsed
33840
33841 \begin_layout Plain Layout
33842
33843 {}
33844 \end_layout
33845
33846 \end_inset
33847
33848 eX) DVI-format using the program 
33849 \family typewriter
33850 LuaTeX
33851 \family default
33852 ; supports Unicode and the usage of non-TeX fonts; 
33853 \series bold
33854
33855 \begin_inset Note Greyedout
33856 status open
33857
33858 \begin_layout Plain Layout
33859
33860 \series bold
33861 Note:
33862 \series default
33863  not all DVI-viewers are currently able to display this output format properly.
33864 \end_layout
33865
33866 \end_inset
33867
33868
33869 \end_layout
33870
33871 \begin_layout Description
33872 Graphviz
33873 \begin_inset space ~
33874 \end_inset
33875
33876 Dot text file with code in the programming language 
33877 \family typewriter
33878 Dot
33879 \family default
33880  which is used to draw visualizations of graphs via the program 
33881 \family typewriter
33882 Graphviz
33883 \end_layout
33884
33885 \begin_layout Description
33886 HTML HTML-format (the HTML-converter is a third-party product and may not
33887  work in all cases)
33888 \end_layout
33889
33890 \begin_layout Description
33891 HTML
33892 \begin_inset space ~
33893 \end_inset
33894
33895 (MS
33896 \begin_inset space ~
33897 \end_inset
33898
33899 Word) HTML-format specialized so that the result can be imported to 
33900 \family sans
33901 MS Word
33902 \family default
33903 ; as a consequence of this formulas will be embedded as bitmap fonts and
33904  not in the format 
33905 \family sans
33906 MathML
33907 \family default
33908 .
33909 \end_layout
33910
33911 \begin_layout Description
33912
33913 \family sans
33914 LaT
33915 \begin_inset ERT
33916 status collapsed
33917
33918 \begin_layout Plain Layout
33919
33920 {}
33921 \end_layout
33922
33923 \end_inset
33924
33925 eX
33926 \begin_inset space ~
33927 \end_inset
33928
33929 (
33930 \family default
33931 LuaT
33932 \family sans
33933
33934 \begin_inset ERT
33935 status collapsed
33936
33937 \begin_layout Plain Layout
33938
33939 {}
33940 \end_layout
33941
33942 \end_inset
33943
33944
33945 \family default
33946 eX
33947 \family sans
33948
33949 \family default
33950 text file with the LaTeX source that is compilable with the program 
33951 \family typewriter
33952 LuaTeX
33953 \end_layout
33954
33955 \begin_layout Description
33956
33957 \family sans
33958 LaT
33959 \begin_inset ERT
33960 status collapsed
33961
33962 \begin_layout Plain Layout
33963
33964 {}
33965 \end_layout
33966
33967 \end_inset
33968
33969 eX
33970 \begin_inset space ~
33971 \end_inset
33972
33973 (pdflatex)
33974 \family default
33975  text file with the LaTeX source, additionally all images used in the document
33976  will be converted to a format that is readable by the 
33977 \family typewriter
33978 pdflatex
33979 \family default
33980  program (GIF, JPG, PDF, PNG)
33981 \end_layout
33982
33983 \begin_layout Description
33984
33985 \family sans
33986 LaT
33987 \begin_inset ERT
33988 status collapsed
33989
33990 \begin_layout Plain Layout
33991
33992 {}
33993 \end_layout
33994
33995 \end_inset
33996
33997 eX
33998 \begin_inset space ~
33999 \end_inset
34000
34001 (plain)
34002 \family default
34003  text file with the LaTeX source code, additionally all images used in the
34004  document will be converted to the EPS-format, only this format is readable
34005  by the 
34006 \family typewriter
34007 latex
34008 \family default
34009  program
34010 \end_layout
34011
34012 \begin_layout Description
34013
34014 \family sans
34015 LaT
34016 \begin_inset ERT
34017 status collapsed
34018
34019 \begin_layout Plain Layout
34020
34021 {}
34022 \end_layout
34023
34024 \end_inset
34025
34026 eX
34027 \begin_inset space ~
34028 \end_inset
34029
34030 (
34031 \family default
34032 XeT
34033 \family sans
34034
34035 \begin_inset ERT
34036 status collapsed
34037
34038 \begin_layout Plain Layout
34039
34040 {}
34041 \end_layout
34042
34043 \end_inset
34044
34045
34046 \family default
34047 eX
34048 \family sans
34049
34050 \family default
34051 text file with the LaTeX source that is compilable with the program 
34052 \family typewriter
34053 XeTeX
34054 \end_layout
34055
34056 \begin_layout Description
34057 LilyPond
34058 \begin_inset space ~
34059 \end_inset
34060
34061 book
34062 \begin_inset space ~
34063 \end_inset
34064
34065 (La
34066 \family sans
34067
34068 \begin_inset ERT
34069 status collapsed
34070
34071 \begin_layout Plain Layout
34072
34073 {}
34074 \end_layout
34075
34076 \end_inset
34077
34078
34079 \family default
34080 TeX) text file with the LaTeX source and also code in the syntax of the
34081  music notation software 
34082 \family typewriter
34083 LilyPond
34084 \end_layout
34085
34086 \begin_layout Description
34087 L
34088 \family sans
34089
34090 \begin_inset ERT
34091 status collapsed
34092
34093 \begin_layout Plain Layout
34094
34095 {}
34096 \end_layout
34097
34098 \end_inset
34099
34100
34101 \family default
34102 yX
34103 \begin_inset space ~
34104 \end_inset
34105
34106 Archive
34107 \begin_inset space ~
34108 \end_inset
34109
34110 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
34111  your system) that contains your document and all files that are necessary
34112  to compile it (images, child documents, BibTeX files, etc.)
34113 \end_layout
34114
34115 \begin_layout Description
34116 L
34117 \family sans
34118
34119 \begin_inset ERT
34120 status collapsed
34121
34122 \begin_layout Plain Layout
34123
34124 {}
34125 \end_layout
34126
34127 \end_inset
34128
34129
34130 \family default
34131 yX
34132 \begin_inset space ~
34133 \end_inset
34134
34135 z.y.x LyX-Document in a format readable by the LyX versions z.y.x (
34136 \begin_inset Quotes eld
34137 \end_inset
34138
34139 z
34140 \begin_inset Quotes erd
34141 \end_inset
34142
34143  and 
34144 \begin_inset Quotes eld
34145 \end_inset
34146
34147 y
34148 \begin_inset Quotes erd
34149 \end_inset
34150
34151  represent the version number)
34152 \end_layout
34153
34154 \begin_layout Description
34155 L
34156 \family sans
34157
34158 \begin_inset ERT
34159 status collapsed
34160
34161 \begin_layout Plain Layout
34162
34163 {}
34164 \end_layout
34165
34166 \end_inset
34167
34168
34169 \family default
34170 yXHTML HTML-format using LyX's internal XHTML engine
34171 \end_layout
34172
34173 \begin_layout Description
34174 NoWeb text file with code in the format of the literate programming language
34175 \family typewriter
34176  NoWeb
34177 \end_layout
34178
34179 \begin_layout Description
34180 OpenDocument OpenDocument-formatted file, to be opened with 
34181 \family sans
34182 LibreOffice, OpenOffice, KOffice, Abiword
34183 \family default
34184 , etc.
34185  (The OpenDocument-converter is a third-party product and may not work in
34186  all cases)
34187 \end_layout
34188
34189 \begin_layout Description
34190
34191 \family sans
34192 PDF
34193 \begin_inset space ~
34194 \end_inset
34195
34196 (dvipdfm)
34197 \family default
34198  PDF-format using the program 
34199 \family typewriter
34200 dvipdfm
34201 \family default
34202 , produces internally a DVI-file which is then converted to a PDF-file
34203 \end_layout
34204
34205 \begin_layout Description
34206
34207 \family sans
34208 PDF
34209 \begin_inset space ~
34210 \end_inset
34211
34212 (LuaT
34213 \begin_inset ERT
34214 status collapsed
34215
34216 \begin_layout Plain Layout
34217
34218 {}
34219 \end_layout
34220
34221 \end_inset
34222
34223 eX)
34224 \family default
34225  PDF-format using the program 
34226 \family typewriter
34227 LuaTeX
34228 \family default
34229 , produces PDF-files directly
34230 \end_layout
34231
34232 \begin_layout Description
34233
34234 \family sans
34235 PDF
34236 \begin_inset space ~
34237 \end_inset
34238
34239 (pdflatex)
34240 \family default
34241  PDF-format using the program 
34242 \family typewriter
34243 pdflatex
34244 \family default
34245 , produces PDF-files directly
34246 \end_layout
34247
34248 \begin_layout Description
34249
34250 \family sans
34251 PDF
34252 \begin_inset space ~
34253 \end_inset
34254
34255 (ps2pdf)
34256 \family default
34257  PDF-format using the program 
34258 \family typewriter
34259 ps2pdf
34260 \family default
34261 , produces internally a PostScript-file which is then converted to a PDF-file
34262 \end_layout
34263
34264 \begin_layout Description
34265
34266 \family sans
34267 PDF
34268 \begin_inset space ~
34269 \end_inset
34270
34271 (XeT
34272 \begin_inset ERT
34273 status collapsed
34274
34275 \begin_layout Plain Layout
34276
34277 {}
34278 \end_layout
34279
34280 \end_inset
34281
34282 eX)
34283 \family default
34284  PDF-format using the program 
34285 \family typewriter
34286 XeTeX
34287 \family default
34288 , produces PDF-files directly
34289 \end_layout
34290
34291 \begin_layout Description
34292
34293 \family sans
34294 Plain
34295 \begin_inset space ~
34296 \end_inset
34297
34298 text
34299 \family default
34300  text format
34301 \end_layout
34302
34303 \begin_layout Description
34304
34305 \family sans
34306 Plain
34307 \begin_inset space ~
34308 \end_inset
34309
34310 text
34311 \begin_inset space ~
34312 \end_inset
34313
34314 (ps2ascii)
34315 \family default
34316  text format, the document will first be converted to Postscript format
34317  and then exported as text using the program 
34318 \family sans
34319 ps2ascii
34320 \end_layout
34321
34322 \begin_layout Description
34323
34324 \family sans
34325 Postscript
34326 \family default
34327  PostScript format using the program 
34328 \family typewriter
34329 dvips
34330 \end_layout
34331
34332 \begin_layout Description
34333 Sweave text file with the LaTeX source and also code in the statistical
34334  programming language 
34335 \family typewriter
34336 R
34337 \family default
34338 .
34339  Using the 
34340 \family typewriter
34341 R
34342 \family default
34343 -function 
34344 \family typewriter
34345 Sweave
34346 \family default
34347  it is possible to use 
34348 \family typewriter
34349 R
34350 \family default
34351 -commands in LaTeX
34352 \end_layout
34353
34354 \begin_layout Standard
34355 If one of the menu entries 
34356 \family sans
34357 DVI
34358 \family default
34359
34360 \family sans
34361 PDF
34362 \begin_inset space ~
34363 \end_inset
34364
34365 (pdflatex)
34366 \family default
34367  or 
34368 \family sans
34369 Postscript
34370 \family default
34371  is missing, you need to update your LaTeX installation.
34372  After updating you have to reconfigure LyX, see section
34373 \begin_inset space ~
34374 \end_inset
34375
34376
34377 \begin_inset CommandInset ref
34378 LatexCommand ref
34379 reference "sec:Basic-LyX-Setup"
34380
34381 \end_inset
34382
34383 .
34384 \begin_inset Index idx
34385 status collapsed
34386
34387 \begin_layout Plain Layout
34388 Reconfiguration of LyX
34389 \end_layout
34390
34391 \end_inset
34392
34393
34394 \end_layout
34395
34396 \begin_layout Subsection
34397 Print
34398 \end_layout
34399
34400 \begin_layout Standard
34401 With this menu entry you can print your document to a file in PostScript
34402  format or send it to a printer.
34403  The printer will also use the document in PostScript format.
34404  The conversion to PostScript is done in the background by LyX using the
34405  program 
34406 \family typewriter
34407 dvips
34408 \family default
34409 .
34410  For more information have a look at section
34411 \begin_inset space ~
34412 \end_inset
34413
34414
34415 \begin_inset CommandInset ref
34416 LatexCommand ref
34417 reference "sub:Printing-the-File"
34418
34419 \end_inset
34420
34421 .
34422 \end_layout
34423
34424 \begin_layout Subsection
34425 Fax
34426 \end_layout
34427
34428 \begin_layout Standard
34429 This menu entry will only appear if you have a fax program installed (on
34430  Windows you additionally need to register its program path to LyX's PATH
34431  prefix, see section
34432 \begin_inset space ~
34433 \end_inset
34434
34435
34436 \begin_inset CommandInset ref
34437 LatexCommand ref
34438 reference "sec:Paths"
34439
34440 \end_inset
34441
34442 ).
34443  With this menu entry you can send your document to a fax program like 
34444 \family typewriter
34445 hylapex
34446 \family default
34447  or 
34448 \family typewriter
34449 kdeprintfax
34450 \family default
34451 .
34452  The default format of the sent file is PostScript.
34453  The format can be changed in LyX's preferences as described in section
34454 \begin_inset space ~
34455 \end_inset
34456
34457
34458 \begin_inset CommandInset ref
34459 LatexCommand ref
34460 reference "sub:Converters"
34461
34462 \end_inset
34463
34464 .
34465 \end_layout
34466
34467 \begin_layout Subsection
34468 New and Close Window
34469 \end_layout
34470
34471 \begin_layout Standard
34472 Opens or closes a new instance of LyX.
34473 \end_layout
34474
34475 \begin_layout Subsection
34476 Exit
34477 \end_layout
34478
34479 \begin_layout Standard
34480 Prompts you to save all unsaved documents and then exits.
34481 \end_layout
34482
34483 \begin_layout Section
34484 The Edit Menu
34485 \begin_inset Index idx
34486 status collapsed
34487
34488 \begin_layout Plain Layout
34489 Menu ! Edit
34490 \end_layout
34491
34492 \end_inset
34493
34494
34495 \end_layout
34496
34497 \begin_layout Subsection
34498 Undo and Redo
34499 \end_layout
34500
34501 \begin_layout Standard
34502 Described in section
34503 \begin_inset space ~
34504 \end_inset
34505
34506
34507 \begin_inset CommandInset ref
34508 LatexCommand ref
34509 reference "sec:Undo-and-Redo"
34510
34511 \end_inset
34512
34513 .
34514 \end_layout
34515
34516 \begin_layout Subsection
34517 Cut, Copy, Paste, Paste Recent, Paste Special
34518 \end_layout
34519
34520 \begin_layout Standard
34521 Described in section
34522 \begin_inset space ~
34523 \end_inset
34524
34525
34526 \begin_inset CommandInset ref
34527 LatexCommand ref
34528 reference "sec:Basic-Editing-Features"
34529
34530 \end_inset
34531
34532 .
34533 \end_layout
34534
34535 \begin_layout Subsection
34536 Select Whole Inset
34537 \end_layout
34538
34539 \begin_layout Standard
34540 Selects the content of the inset in which the cursor currently is.
34541  If the cursor is outside an inset, the whole document will be selected.
34542 \end_layout
34543
34544 \begin_layout Subsection
34545 Select All
34546 \end_layout
34547
34548 \begin_layout Standard
34549 Selects the whole document.
34550 \end_layout
34551
34552 \begin_layout Subsection
34553 Find & Replace (Quick)
34554 \end_layout
34555
34556 \begin_layout Standard
34557 Described in section
34558 \begin_inset space ~
34559 \end_inset
34560
34561
34562 \begin_inset CommandInset ref
34563 LatexCommand ref
34564 reference "sec:Basic-Editing-Features"
34565
34566 \end_inset
34567
34568 .
34569 \end_layout
34570
34571 \begin_layout Subsection
34572 Find & Replace (Advanced)
34573 \end_layout
34574
34575 \begin_layout Standard
34576 Described in section
34577 \begin_inset space ~
34578 \end_inset
34579
34580
34581 \begin_inset CommandInset ref
34582 LatexCommand ref
34583 reference "sec:Advanced-Find-and"
34584
34585 \end_inset
34586
34587 .
34588 \end_layout
34589
34590 \begin_layout Subsection
34591 Move Paragraph Up/Down
34592 \end_layout
34593
34594 \begin_layout Standard
34595 This shifts the paragraph in which the cursor currently is one paragraph
34596  up or down.
34597 \end_layout
34598
34599 \begin_layout Subsection
34600 Text Style
34601 \end_layout
34602
34603 \begin_layout Standard
34604 Described in section
34605 \begin_inset space ~
34606 \end_inset
34607
34608
34609 \begin_inset CommandInset ref
34610 LatexCommand ref
34611 reference "sub:Fine-Tuning-with-the"
34612
34613 \end_inset
34614
34615 .
34616 \end_layout
34617
34618 \begin_layout Subsection
34619 Paragraph Settings
34620 \begin_inset Index idx
34621 status collapsed
34622
34623 \begin_layout Plain Layout
34624 Paragraph ! Settings
34625 \end_layout
34626
34627 \end_inset
34628
34629
34630 \end_layout
34631
34632 \begin_layout Standard
34633 Enables you to set the paragraph alignment, line spacing and label width.
34634  These settings only affect the paragraph in which the cursor is currently
34635  in.
34636 \end_layout
34637
34638 \begin_layout Standard
34639 You can also prevent the first line of the paragraph being indented if you
34640  have chosen to separate paragraphs with 
34641 \family sans
34642 Indentation
34643 \family default
34644  in the 
34645 \family sans
34646 Document\SpecialChar \menuseparator
34647 Settings\SpecialChar \menuseparator
34648 Text
34649 \begin_inset space ~
34650 \end_inset
34651
34652 Layout
34653 \family default
34654  dialog.
34655 \end_layout
34656
34657 \begin_layout Subsection
34658 Table
34659 \end_layout
34660
34661 \begin_layout Standard
34662 This menu only appears if the cursor is inside a table.
34663  It allows you to create multicolumn and multirow cells, add or remove borders
34664  of a cell and to set the vertical alignment of the cell.Table Settings and
34665  Math
34666 \end_layout
34667
34668 \begin_layout Standard
34669 These two menus are only fully active if the cursor is inside a table or
34670  a formula.
34671  Here you can change the properties of tables and formulas.
34672  The properties of tables are described in section
34673 \begin_inset space ~
34674 \end_inset
34675
34676
34677 \begin_inset CommandInset ref
34678 LatexCommand ref
34679 reference "sec:Tables"
34680
34681 \end_inset
34682
34683 , the properties of formulas in chapter
34684 \begin_inset space ~
34685 \end_inset
34686
34687
34688 \begin_inset CommandInset ref
34689 LatexCommand ref
34690 reference "chap:Mathematical-Formulas"
34691
34692 \end_inset
34693
34694 .
34695 \end_layout
34696
34697 \begin_layout Subsection
34698 Increase/Decrease List Depth
34699 \end_layout
34700
34701 \begin_layout Standard
34702 These menu entries are only active if the cursor is in an environment that
34703  can be nested.
34704  They increase/decrease the environment nesting level as explained in section
34705 \begin_inset space ~
34706 \end_inset
34707
34708
34709 \begin_inset CommandInset ref
34710 LatexCommand ref
34711 reference "sec:Nesting"
34712
34713 \end_inset
34714
34715  and 
34716 \begin_inset CommandInset ref
34717 LatexCommand ref
34718 reference "sub:Numbering-depth"
34719
34720 \end_inset
34721
34722 .
34723 \end_layout
34724
34725 \begin_layout Section
34726 The View Menu
34727 \begin_inset Index idx
34728 status collapsed
34729
34730 \begin_layout Plain Layout
34731 Menu ! View
34732 \end_layout
34733
34734 \end_inset
34735
34736
34737 \end_layout
34738
34739 \begin_layout Standard
34740 At the bottom of the 
34741 \family sans
34742 View
34743 \family default
34744  menu the opened documents are listed.
34745 \end_layout
34746
34747 \begin_layout Subsection
34748 Open/Close all Insets
34749 \end_layout
34750
34751 \begin_layout Standard
34752 Opens/closes all insets in your document.
34753 \end_layout
34754
34755 \begin_layout Subsection
34756 Unfold/Fold Math Macros
34757 \end_layout
34758
34759 \begin_layout Standard
34760 Unfolds/folds the current math macro.
34761 \end_layout
34762
34763 \begin_layout Standard
34764 Math macros are described in the 
34765 \emph on
34766 Math
34767 \emph default
34768  manual.
34769 \end_layout
34770
34771 \begin_layout Subsection
34772 Outline Pane
34773 \end_layout
34774
34775 \begin_layout Standard
34776 Shows the outline window as described in sections
34777 \begin_inset space ~
34778 \end_inset
34779
34780
34781 \begin_inset CommandInset ref
34782 LatexCommand ref
34783 reference "sec:Navigating"
34784
34785 \end_inset
34786
34787  and 
34788 \begin_inset CommandInset ref
34789 LatexCommand ref
34790 reference "sub:Table-of-Contents"
34791
34792 \end_inset
34793
34794 .
34795 \end_layout
34796
34797 \begin_layout Subsection
34798 Source Pane
34799 \end_layout
34800
34801 \begin_layout Standard
34802 Opens a window showing the source code of the actual document, as described
34803  in section
34804 \begin_inset space ~
34805 \end_inset
34806
34807
34808 \begin_inset CommandInset ref
34809 LatexCommand ref
34810 reference "sec:Previewing-snippets-of"
34811
34812 \end_inset
34813
34814 .
34815 \end_layout
34816
34817 \begin_layout Subsection
34818 Messages Pane
34819 \end_layout
34820
34821 \begin_layout Standard
34822 Opens a window showing console messages.
34823  This is useful for debugging LyX (i.
34824 \begin_inset space \thinspace{}
34825 \end_inset
34826
34827 e., hunt for errors in the program) or to see what is going on in the background
34828  while LaTeX is processing the document.
34829 \end_layout
34830
34831 \begin_layout Subsection
34832 Toolbars
34833 \begin_inset CommandInset label
34834 LatexCommand label
34835 name "sub:Toolbars"
34836
34837 \end_inset
34838
34839
34840 \begin_inset Index idx
34841 status collapsed
34842
34843 \begin_layout Plain Layout
34844 Toolbar
34845 \end_layout
34846
34847 \end_inset
34848
34849
34850 \end_layout
34851
34852 \begin_layout Standard
34853 In this menu entry you can set the appearance of the different toolbars.
34854  All toolbars and the 
34855 \family sans
34856 Command
34857 \begin_inset space ~
34858 \end_inset
34859
34860 Buffer
34861 \family default
34862  can be turned on and off.
34863  The 
34864 \emph on
34865 on
34866 \emph default
34867  state is denoted in the menu with a checkmark.
34868  The 
34869 \family sans
34870 Table
34871 \family default
34872
34873 \family sans
34874 Math,
34875 \family default
34876  
34877 \family sans
34878 Math
34879 \begin_inset space ~
34880 \end_inset
34881
34882 Macros,
34883 \family default
34884  
34885 \family sans
34886 Review
34887 \family default
34888  and 
34889 \family sans
34890 Math
34891 \begin_inset space ~
34892 \end_inset
34893
34894 Panels
34895 \family default
34896  toolbars can additionally be set to the state 
34897 \emph on
34898 automatic
34899 \emph default
34900 , denoted in the menu with the suffix 
34901 \family sans
34902 (auto)
34903 \family default
34904 .
34905 \end_layout
34906
34907 \begin_layout Standard
34908 In the 
34909 \emph on
34910 on
34911 \emph default
34912  state the toolbar is permanently shown; in the 
34913 \emph on
34914 automatic
34915 \emph default
34916  state the toolbar is only shown when the cursor is in a certain environment
34917  or when a certain feature is enabled.
34918  That means that the review toolbar will only be shown if change tracking
34919  is activated, the math and table toolbars are only shown if the cursor
34920  is inside a formula or table respectively.
34921 \end_layout
34922
34923 \begin_layout Standard
34924 LyX's toolbars and their buttons are explained in section
34925 \begin_inset space ~
34926 \end_inset
34927
34928
34929 \begin_inset CommandInset ref
34930 LatexCommand ref
34931 reference "sec:Toolbars"
34932
34933 \end_inset
34934
34935 .
34936 \end_layout
34937
34938 \begin_layout Subsection
34939 Split View
34940 \end_layout
34941
34942 \begin_layout Standard
34943
34944 \family sans
34945 Split
34946 \begin_inset space ~
34947 \end_inset
34948
34949 View
34950 \begin_inset space ~
34951 \end_inset
34952
34953 into
34954 \begin_inset space ~
34955 \end_inset
34956
34957 Left
34958 \begin_inset space ~
34959 \end_inset
34960
34961 and
34962 \begin_inset space ~
34963 \end_inset
34964
34965 Right
34966 \begin_inset space ~
34967 \end_inset
34968
34969 Half
34970 \family default
34971  will split LyX's main window vertically while 
34972 \family sans
34973 Split
34974 \begin_inset space ~
34975 \end_inset
34976
34977 View
34978 \begin_inset space ~
34979 \end_inset
34980
34981 into
34982 \begin_inset space ~
34983 \end_inset
34984
34985 Upper
34986 \begin_inset space ~
34987 \end_inset
34988
34989 and
34990 \begin_inset space ~
34991 \end_inset
34992
34993 Lower
34994 \begin_inset space ~
34995 \end_inset
34996
34997 Half
34998 \family default
34999  will split it horizontally.
35000  This allows you to view documents at the same time to compare them, or
35001  to view the same document, but at different positions.
35002  You can even split the main window several times to view, for example,
35003  three or more documents at the same time.
35004  To close a split view, use the menu 
35005 \family sans
35006 Close
35007 \begin_inset space ~
35008 \end_inset
35009
35010 Current
35011 \begin_inset space ~
35012 \end_inset
35013
35014 View
35015 \family default
35016 .
35017 \end_layout
35018
35019 \begin_layout Subsection
35020 Close Current View
35021 \end_layout
35022
35023 \begin_layout Standard
35024 Closes a split view.
35025 \end_layout
35026
35027 \begin_layout Subsection
35028 Fullscreen
35029 \end_layout
35030
35031 \begin_layout Standard
35032 Using this menu entry or pressing F11 removes the menu bar and all toolbars
35033  so that you will see nothing but your text.
35034  It furthermore displays LyX's main window fullscreen.
35035  To return from fullscreen to the normal view, press F11, or right-click
35036  and turn off the fullscreen mode in the context menu.
35037 \end_layout
35038
35039 \begin_layout Section
35040 The Insert Menu
35041 \begin_inset Index idx
35042 status collapsed
35043
35044 \begin_layout Plain Layout
35045 Menu ! Insert
35046 \end_layout
35047
35048 \end_inset
35049
35050
35051 \end_layout
35052
35053 \begin_layout Subsection
35054 Math
35055 \end_layout
35056
35057 \begin_layout Standard
35058 Inserts math constructs that are explained in chapter
35059 \begin_inset space ~
35060 \end_inset
35061
35062
35063 \begin_inset CommandInset ref
35064 LatexCommand ref
35065 reference "chap:Mathematical-Formulas"
35066
35067 \end_inset
35068
35069  and the 
35070 \emph on
35071 Math
35072 \emph default
35073  manual.
35074 \end_layout
35075
35076 \begin_layout Subsection
35077 Special Character
35078 \begin_inset CommandInset label
35079 LatexCommand label
35080 name "sub:Special-Character"
35081
35082 \end_inset
35083
35084
35085 \end_layout
35086
35087 \begin_layout Standard
35088 Here you can insert the following characters:
35089 \end_layout
35090
35091 \begin_layout Description
35092 Symbols Opens the 
35093 \family sans
35094 Symbols
35095 \family default
35096  dialog which allows you to insert any character that can be output by your
35097  LaTeX system.
35098  By default groups of characters are displayed in character categories;
35099  the available characters depend on the LaTeX-packages you have installed.
35100  You can get a complete display by checking 
35101 \family sans
35102 Display
35103 \begin_inset space ~
35104 \end_inset
35105
35106 all
35107 \family default
35108 .
35109 \begin_inset Newline newline
35110 \end_inset
35111
35112  
35113 \begin_inset Note Greyedout
35114 status open
35115
35116 \begin_layout Plain Layout
35117
35118 \series bold
35119 Note:
35120 \series default
35121  Not all characters will be visible in the 
35122 \family sans
35123 Symbols
35124 \family default
35125  dialog because none of the screen fonts that you can set in the preferences
35126  dialog (see sec.
35127 \begin_inset space \thinspace{}
35128 \end_inset
35129
35130
35131 \begin_inset CommandInset ref
35132 LatexCommand ref
35133 reference "sub:Screen-Fonts"
35134
35135 \end_inset
35136
35137 ) can display every character.
35138 \end_layout
35139
35140 \end_inset
35141
35142
35143 \end_layout
35144
35145 \begin_layout Description
35146 Ellipsis Inserts an ellipsis: \SpecialChar \ldots{}
35147
35148 \end_layout
35149
35150 \begin_layout Description
35151 End
35152 \begin_inset space ~
35153 \end_inset
35154
35155 of
35156 \begin_inset space ~
35157 \end_inset
35158
35159 Sentence Inserts an end of sentence period as described in section
35160 \begin_inset space ~
35161 \end_inset
35162
35163
35164 \begin_inset CommandInset ref
35165 LatexCommand ref
35166 reference "sub:Abbreviations"
35167
35168 \end_inset
35169
35170 .
35171 \end_layout
35172
35173 \begin_layout Description
35174 Ordinary
35175 \begin_inset space ~
35176 \end_inset
35177
35178 Quote Inserts this quote: ", no matter what quote style you selected in
35179  the 
35180 \family sans
35181 Document\SpecialChar \menuseparator
35182 Settings\SpecialChar \menuseparator
35183 Language
35184 \family default
35185  dialog.
35186 \end_layout
35187
35188 \begin_layout Description
35189 Single
35190 \begin_inset space ~
35191 \end_inset
35192
35193 Quote Inserts a single quote in the quotation marks style selected in the
35194  
35195 \family sans
35196 Document\SpecialChar \menuseparator
35197 Settings\SpecialChar \menuseparator
35198 Language
35199 \family default
35200  dialog.
35201 \end_layout
35202
35203 \begin_layout Description
35204 Protected
35205 \begin_inset space ~
35206 \end_inset
35207
35208 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar \nobreakdash-
35209
35210 \end_layout
35211
35212 \begin_layout Description
35213 Breakable
35214 \begin_inset space ~
35215 \end_inset
35216
35217 Slash Inserts a slash where a line break can also occur: \SpecialChar \slash{}
35218
35219 \end_layout
35220
35221 \begin_layout Description
35222 Visible
35223 \begin_inset space ~
35224 \end_inset
35225
35226 Space Inserts a character representing a single space (the one you get when
35227  pressing the 
35228 \family sans
35229 Space
35230 \family default
35231  key): 
35232 \begin_inset space \textvisiblespace{}
35233 \end_inset
35234
35235
35236 \end_layout
35237
35238 \begin_layout Description
35239 Menu
35240 \begin_inset space ~
35241 \end_inset
35242
35243 Separator Inserts the menu separator sign: \SpecialChar \menuseparator
35244
35245 \end_layout
35246
35247 \begin_layout Description
35248 Phonetic
35249 \begin_inset space ~
35250 \end_inset
35251
35252 Symbols 
35253 \begin_inset Index idx
35254 status collapsed
35255
35256 \begin_layout Plain Layout
35257 Phonetic symbols
35258 \end_layout
35259
35260 \end_inset
35261
35262
35263 \begin_inset Index idx
35264 status collapsed
35265
35266 \begin_layout Plain Layout
35267 Language ! Phonetic symbols
35268 \end_layout
35269
35270 \end_inset
35271
35272 Inserts a box where you can insert symbols from the International Phonetic
35273  Alphabet (IPA) and opens a toolbar which provides a large set of these
35274  symbols.
35275  To use this feature you must have the LaTeX-package 
35276 \series bold
35277 tipa
35278 \series default
35279
35280 \begin_inset Index idx
35281 status collapsed
35282
35283 \begin_layout Plain Layout
35284 LaTeX-packages ! tipa
35285 \end_layout
35286
35287 \end_inset
35288
35289  installed.
35290 \begin_inset Newline newline
35291 \end_inset
35292
35293 More information about this feature can be found in the 
35294 \emph on
35295 Linguistics
35296 \emph default
35297  manual (
35298 \family sans
35299 Help\SpecialChar \menuseparator
35300 Specific Manuals
35301 \family default
35302 ).
35303 \end_layout
35304
35305 \begin_layout Subsection
35306 Formatting
35307 \end_layout
35308
35309 \begin_layout Standard
35310 Opens a submenu with the following options:
35311 \end_layout
35312
35313 \begin_layout Description
35314 Superscript Inserts a superscript: test
35315 \begin_inset script superscript
35316
35317 \begin_layout Plain Layout
35318 a, b
35319 \end_layout
35320
35321 \end_inset
35322
35323
35324 \end_layout
35325
35326 \begin_layout Description
35327 Subscript Inserts a subscript: test
35328 \begin_inset script subscript
35329
35330 \begin_layout Plain Layout
35331 3x
35332 \end_layout
35333
35334 \end_inset
35335
35336
35337 \end_layout
35338
35339 \begin_layout Description
35340 Protected
35341 \begin_inset space ~
35342 \end_inset
35343
35344 Space Inserts a protected space as described in section
35345 \begin_inset space ~
35346 \end_inset
35347
35348
35349 \begin_inset CommandInset ref
35350 LatexCommand ref
35351 reference "sub:Protected-Space"
35352
35353 \end_inset
35354
35355 .
35356 \end_layout
35357
35358 \begin_layout Description
35359 Inter-word
35360 \begin_inset space ~
35361 \end_inset
35362
35363 Space Inserts an inter-word space as described in section
35364 \begin_inset space ~
35365 \end_inset
35366
35367
35368 \begin_inset CommandInset ref
35369 LatexCommand ref
35370 reference "sub:Inter-word-Space"
35371
35372 \end_inset
35373
35374 .
35375 \end_layout
35376
35377 \begin_layout Description
35378 Thin
35379 \begin_inset space ~
35380 \end_inset
35381
35382 Space Inserts a thin space as described in section
35383 \begin_inset space ~
35384 \end_inset
35385
35386
35387 \begin_inset CommandInset ref
35388 LatexCommand ref
35389 reference "sub:Thin-Space"
35390
35391 \end_inset
35392
35393 .
35394 \end_layout
35395
35396 \begin_layout Description
35397 Visible
35398 \begin_inset space ~
35399 \end_inset
35400
35401 Space Inserts a character to visualize that there is or should be a space.
35402  This is e.
35403 \begin_inset space \thinspace{}
35404 \end_inset
35405
35406 g.
35407 \begin_inset space \space{}
35408 \end_inset
35409
35410 useful if you need to indicate a space in a command sequence.
35411  An example from the LyX 
35412 \emph on
35413 Math
35414 \emph default
35415  manual: 
35416 \begin_inset Quotes eld
35417 \end_inset
35418
35419 To insert a fraction use the command 
35420 \series bold
35421
35422 \backslash
35423 frac
35424 \begin_inset space \textvisiblespace{}
35425 \end_inset
35426
35427 A
35428 \begin_inset Formula $\downarrow$
35429 \end_inset
35430
35431 B.
35432 \series default
35433
35434 \begin_inset Quotes erd
35435 \end_inset
35436
35437  The visible space is hereby the character before the 
35438 \series bold
35439 A
35440 \series default
35441 .
35442 \end_layout
35443
35444 \begin_layout Description
35445 Horizontal
35446 \begin_inset space ~
35447 \end_inset
35448
35449 Space Inserts horizontal space as described in section
35450 \begin_inset space ~
35451 \end_inset
35452
35453
35454 \begin_inset CommandInset ref
35455 LatexCommand ref
35456 reference "sub:Horizontal-Space"
35457
35458 \end_inset
35459
35460 .
35461 \end_layout
35462
35463 \begin_layout Description
35464 Horizontal
35465 \begin_inset space ~
35466 \end_inset
35467
35468 Line Inserts a horizontal line as described in section
35469 \begin_inset space ~
35470 \end_inset
35471
35472
35473 \begin_inset CommandInset ref
35474 LatexCommand ref
35475 reference "sub:Horizontal-Lines"
35476
35477 \end_inset
35478
35479 .
35480 \end_layout
35481
35482 \begin_layout Description
35483 Vertical
35484 \begin_inset space ~
35485 \end_inset
35486
35487 Space Inserts vertical space as described in section
35488 \begin_inset space ~
35489 \end_inset
35490
35491
35492 \begin_inset CommandInset ref
35493 LatexCommand ref
35494 reference "sub:Vertical-Space"
35495
35496 \end_inset
35497
35498 .
35499 \end_layout
35500
35501 \begin_layout Description
35502 Phantom Inserts a Phantom space as described in section
35503 \begin_inset space ~
35504 \end_inset
35505
35506
35507 \begin_inset CommandInset ref
35508 LatexCommand ref
35509 reference "sub:Phantom-Space"
35510
35511 \end_inset
35512
35513 .
35514 \end_layout
35515
35516 \begin_layout Description
35517 Hyphenation
35518 \begin_inset space ~
35519 \end_inset
35520
35521 Point Inserts a hyphenation point as described in section
35522 \begin_inset space ~
35523 \end_inset
35524
35525
35526 \begin_inset CommandInset ref
35527 LatexCommand ref
35528 reference "sub:Hyphenation"
35529
35530 \end_inset
35531
35532 .
35533 \end_layout
35534
35535 \begin_layout Description
35536 Ligature
35537 \begin_inset space ~
35538 \end_inset
35539
35540 Break Inserts a ligature break as described in section
35541 \begin_inset space ~
35542 \end_inset
35543
35544
35545 \begin_inset CommandInset ref
35546 LatexCommand ref
35547 reference "sub:Ligatures"
35548
35549 \end_inset
35550
35551 .
35552 \end_layout
35553
35554 \begin_layout Description
35555 Ragged
35556 \begin_inset space ~
35557 \end_inset
35558
35559 Line
35560 \begin_inset space ~
35561 \end_inset
35562
35563 Break Inserts a forced line break as described in section
35564 \begin_inset space ~
35565 \end_inset
35566
35567
35568 \begin_inset CommandInset ref
35569 LatexCommand ref
35570 reference "sub:Forced-Line-Breaks"
35571
35572 \end_inset
35573
35574 .
35575 \end_layout
35576
35577 \begin_layout Description
35578 Justified
35579 \begin_inset space ~
35580 \end_inset
35581
35582 Break Inserts a forced line break that right justifies the remaining text
35583  as described in section
35584 \begin_inset space ~
35585 \end_inset
35586
35587
35588 \begin_inset CommandInset ref
35589 LatexCommand ref
35590 reference "sub:Forced-Line-Breaks"
35591
35592 \end_inset
35593
35594 .
35595 \end_layout
35596
35597 \begin_layout Description
35598 New
35599 \begin_inset space ~
35600 \end_inset
35601
35602 Page Inserts a forced page break as described in section
35603 \begin_inset space ~
35604 \end_inset
35605
35606
35607 \begin_inset CommandInset ref
35608 LatexCommand ref
35609 reference "sub:Forced-Page-Breaks"
35610
35611 \end_inset
35612
35613 .
35614 \end_layout
35615
35616 \begin_layout Description
35617 Page
35618 \begin_inset space ~
35619 \end_inset
35620
35621 Break Inserts a forced page break that shares the extra space among paragraph
35622  breaks instead of leaving it at the bottom of the page, as described in
35623  section
35624 \begin_inset space ~
35625 \end_inset
35626
35627
35628 \begin_inset CommandInset ref
35629 LatexCommand ref
35630 reference "sub:Forced-Page-Breaks"
35631
35632 \end_inset
35633
35634 .
35635 \end_layout
35636
35637 \begin_layout Description
35638 Clear
35639 \begin_inset space ~
35640 \end_inset
35641
35642 Page Inserts a clear page break as described in section
35643 \begin_inset space ~
35644 \end_inset
35645
35646
35647 \begin_inset CommandInset ref
35648 LatexCommand ref
35649 reference "sub:Clear-Page-Breaks"
35650
35651 \end_inset
35652
35653 .
35654 \end_layout
35655
35656 \begin_layout Description
35657 Clear
35658 \begin_inset space ~
35659 \end_inset
35660
35661 Double
35662 \begin_inset space ~
35663 \end_inset
35664
35665 Page Inserts a clear doublepage break as described in section
35666 \begin_inset space ~
35667 \end_inset
35668
35669
35670 \begin_inset CommandInset ref
35671 LatexCommand ref
35672 reference "sub:Clear-Page-Breaks"
35673
35674 \end_inset
35675
35676 .
35677 \end_layout
35678
35679 \begin_layout Subsection
35680 List/TOC
35681 \end_layout
35682
35683 \begin_layout Standard
35684 Various lists can be inserted with this menu entry.
35685  The 
35686 \family sans
35687 Table
35688 \begin_inset space ~
35689 \end_inset
35690
35691 of Contents
35692 \family default
35693 , the 
35694 \family sans
35695 List of Algorithms
35696 \family default
35697
35698 \family sans
35699 List of Figures
35700 \family default
35701  and 
35702 \family sans
35703 List of Tables
35704 \family default
35705  are described in section
35706 \begin_inset space ~
35707 \end_inset
35708
35709
35710 \begin_inset CommandInset ref
35711 LatexCommand ref
35712 reference "sec:toc"
35713
35714 \end_inset
35715
35716 .
35717  The 
35718 \family sans
35719 Index List
35720 \family default
35721  is described in section
35722 \begin_inset space ~
35723 \end_inset
35724
35725
35726 \begin_inset CommandInset ref
35727 LatexCommand ref
35728 reference "sec:Index"
35729
35730 \end_inset
35731
35732 , the 
35733 \family sans
35734 Nomenclature
35735 \family default
35736  is described in section
35737 \begin_inset space ~
35738 \end_inset
35739
35740
35741 \begin_inset CommandInset ref
35742 LatexCommand ref
35743 reference "sec:Nomenclature"
35744
35745 \end_inset
35746
35747  and the 
35748 \family sans
35749 BibTeX Bibliography
35750 \family default
35751  is described in section
35752 \begin_inset space ~
35753 \end_inset
35754
35755
35756 \begin_inset CommandInset ref
35757 LatexCommand ref
35758 reference "sub:Bibliography-databases"
35759
35760 \end_inset
35761
35762 .
35763 \end_layout
35764
35765 \begin_layout Subsection
35766 Float
35767 \end_layout
35768
35769 \begin_layout Standard
35770 To insert floats, as described in section
35771 \begin_inset space ~
35772 \end_inset
35773
35774
35775 \begin_inset CommandInset ref
35776 LatexCommand ref
35777 reference "sec:Floats"
35778
35779 \end_inset
35780
35781  and in detail the chapter 
35782 \emph on
35783 Floats
35784 \emph default
35785  of the 
35786 \emph on
35787 Embedded
35788 \begin_inset space ~
35789 \end_inset
35790
35791 Objects
35792 \emph default
35793  manual.
35794 \end_layout
35795
35796 \begin_layout Subsection
35797 Note
35798 \end_layout
35799
35800 \begin_layout Standard
35801 To insert notes, described in section
35802 \begin_inset space ~
35803 \end_inset
35804
35805
35806 \begin_inset CommandInset ref
35807 LatexCommand ref
35808 reference "sec:Notes"
35809
35810 \end_inset
35811
35812 .
35813 \end_layout
35814
35815 \begin_layout Subsection
35816 Branch
35817 \end_layout
35818
35819 \begin_layout Standard
35820 Inserts a branch inset, if any, and allowing you to create and insert a
35821  new branch.
35822  Branches are described in section
35823 \begin_inset space ~
35824 \end_inset
35825
35826
35827 \begin_inset CommandInset ref
35828 LatexCommand ref
35829 reference "sec:Branches"
35830
35831 \end_inset
35832
35833 .
35834 \end_layout
35835
35836 \begin_layout Subsection
35837 Custom Insets
35838 \end_layout
35839
35840 \begin_layout Standard
35841 Inserts document class-specific insets.
35842  Such insets only exist if they are defined in the layout file for a certain
35843  document class.
35844  An example is the document class 
35845 \begin_inset Quotes eld
35846 \end_inset
35847
35848 article (Elsevier)
35849 \begin_inset Quotes erd
35850 \end_inset
35851
35852  with three custom insets.
35853  The section 
35854 \emph on
35855 Flex insets and InsetLayout
35856 \emph default
35857  in 
35858 \emph on
35859 Installing New Document Classes, The Layout file format 
35860 \emph default
35861 of the 
35862 \emph on
35863 Customization
35864 \emph default
35865  manual explains how custom insets are defined.
35866 \end_layout
35867
35868 \begin_layout Subsection
35869 File
35870 \begin_inset Index idx
35871 status collapsed
35872
35873 \begin_layout Plain Layout
35874 External Material
35875 \end_layout
35876
35877 \end_inset
35878
35879
35880 \end_layout
35881
35882 \begin_layout Standard
35883 This menu entry allows you to insert or include the contents of other files
35884  in your document.
35885  For more information see chapter 
35886 \emph on
35887 External Document Parts
35888 \emph default
35889  of the Embedded
35890 \begin_inset space ~
35891 \end_inset
35892
35893 Objects manual.
35894 \end_layout
35895
35896 \begin_layout Subsection
35897 Box
35898 \begin_inset Index idx
35899 status collapsed
35900
35901 \begin_layout Plain Layout
35902 Boxes
35903 \end_layout
35904
35905 \end_inset
35906
35907
35908 \end_layout
35909
35910 \begin_layout Standard
35911 Inserts a box in a certain style.
35912  Boxes are described in detail in the chapter 
35913 \emph on
35914 Boxes
35915 \emph default
35916  of the 
35917 \emph on
35918 Embedded
35919 \begin_inset space ~
35920 \end_inset
35921
35922 Objects
35923 \emph default
35924  manual.
35925 \end_layout
35926
35927 \begin_layout Subsection
35928 Citation
35929 \end_layout
35930
35931 \begin_layout Standard
35932 Opens the 
35933 \family sans
35934 Citation
35935 \family default
35936  dialog as described in section
35937 \begin_inset space ~
35938 \end_inset
35939
35940
35941 \begin_inset CommandInset ref
35942 LatexCommand ref
35943 reference "sec:Bibliography"
35944
35945 \end_inset
35946
35947 .
35948 \end_layout
35949
35950 \begin_layout Subsection
35951 Cross-Reference
35952 \end_layout
35953
35954 \begin_layout Standard
35955 Inserts a 
35956 \family sans
35957 cross-reference
35958 \family default
35959  as described in section
35960 \begin_inset space ~
35961 \end_inset
35962
35963
35964 \begin_inset CommandInset ref
35965 LatexCommand ref
35966 reference "sec:Cross-References"
35967
35968 \end_inset
35969
35970 .
35971 \end_layout
35972
35973 \begin_layout Subsection
35974 Label
35975 \end_layout
35976
35977 \begin_layout Standard
35978 Inserts a 
35979 \family sans
35980 label
35981 \family default
35982  as described in section
35983 \begin_inset space ~
35984 \end_inset
35985
35986
35987 \begin_inset CommandInset ref
35988 LatexCommand ref
35989 reference "sec:Cross-References"
35990
35991 \end_inset
35992
35993 .
35994 \end_layout
35995
35996 \begin_layout Subsection
35997 Caption
35998 \begin_inset Index idx
35999 status collapsed
36000
36001 \begin_layout Plain Layout
36002 Captions
36003 \end_layout
36004
36005 \end_inset
36006
36007
36008 \begin_inset Index idx
36009 status collapsed
36010
36011 \begin_layout Plain Layout
36012 Longtables ! Caption
36013 \end_layout
36014
36015 \end_inset
36016
36017
36018 \end_layout
36019
36020 \begin_layout Standard
36021 Inserts a caption in a float or longtable.
36022  Floats are described in section
36023 \begin_inset space ~
36024 \end_inset
36025
36026
36027 \begin_inset CommandInset ref
36028 LatexCommand ref
36029 reference "sec:Floats"
36030
36031 \end_inset
36032
36033 ; captions in longtables are described in the section 
36034 \emph on
36035 Longtable Captions
36036 \emph default
36037  of the 
36038 \emph on
36039 Embedded
36040 \begin_inset space ~
36041 \end_inset
36042
36043 Objects
36044 \emph default
36045  manual.
36046 \end_layout
36047
36048 \begin_layout Subsection
36049 Index Entry
36050 \end_layout
36051
36052 \begin_layout Standard
36053 Inserts an index entry as described in section
36054 \begin_inset space ~
36055 \end_inset
36056
36057
36058 \begin_inset CommandInset ref
36059 LatexCommand ref
36060 reference "sec:Index"
36061
36062 \end_inset
36063
36064 .
36065 \end_layout
36066
36067 \begin_layout Subsection
36068 Nomenclature Entry
36069 \end_layout
36070
36071 \begin_layout Standard
36072 Inserts a nomenclature entry as described in section
36073 \begin_inset space ~
36074 \end_inset
36075
36076
36077 \begin_inset CommandInset ref
36078 LatexCommand ref
36079 reference "sec:Nomenclature"
36080
36081 \end_inset
36082
36083 .
36084 \end_layout
36085
36086 \begin_layout Subsection
36087 Table
36088 \end_layout
36089
36090 \begin_layout Standard
36091 Opens a dialog allowing you to specify the rows and columns of the table.
36092  Tables are described in section
36093 \begin_inset space ~
36094 \end_inset
36095
36096
36097 \begin_inset CommandInset ref
36098 LatexCommand ref
36099 reference "sec:Tables"
36100
36101 \end_inset
36102
36103  and in detail in the chapter 
36104 \emph on
36105 Tables
36106 \emph default
36107  of the 
36108 \emph on
36109 Embedded
36110 \begin_inset space ~
36111 \end_inset
36112
36113 Objects
36114 \emph default
36115  manual.
36116 \end_layout
36117
36118 \begin_layout Subsection
36119 Graphics
36120 \end_layout
36121
36122 \begin_layout Standard
36123 Opens the 
36124 \family sans
36125 Graphics
36126 \family default
36127  dialog.
36128  Graphics are described in section
36129 \begin_inset space ~
36130 \end_inset
36131
36132
36133 \begin_inset CommandInset ref
36134 LatexCommand ref
36135 reference "sec:Graphics"
36136
36137 \end_inset
36138
36139 .
36140 \end_layout
36141
36142 \begin_layout Subsection
36143 URL
36144 \end_layout
36145
36146 \begin_layout Standard
36147 Inserts a URL as described in section
36148 \begin_inset space ~
36149 \end_inset
36150
36151
36152 \begin_inset CommandInset ref
36153 LatexCommand ref
36154 reference "sub:URLs"
36155
36156 \end_inset
36157
36158 .
36159 \end_layout
36160
36161 \begin_layout Subsection
36162 Hyperlinks
36163 \end_layout
36164
36165 \begin_layout Standard
36166 Inserts a hyperlink as described in section
36167 \begin_inset space ~
36168 \end_inset
36169
36170
36171 \begin_inset CommandInset ref
36172 LatexCommand ref
36173 reference "sub:Hyperlinks"
36174
36175 \end_inset
36176
36177 .
36178 \end_layout
36179
36180 \begin_layout Subsection
36181 Footnote
36182 \end_layout
36183
36184 \begin_layout Standard
36185 Inserts a footnote as described in section
36186 \begin_inset space ~
36187 \end_inset
36188
36189
36190 \begin_inset CommandInset ref
36191 LatexCommand ref
36192 reference "sec:Footnotes"
36193
36194 \end_inset
36195
36196 .
36197 \end_layout
36198
36199 \begin_layout Subsection
36200 Marginal Note
36201 \end_layout
36202
36203 \begin_layout Standard
36204 Inserts a marginal note as described in section
36205 \begin_inset space ~
36206 \end_inset
36207
36208
36209 \begin_inset CommandInset ref
36210 LatexCommand ref
36211 reference "sec:Marginal-Notes"
36212
36213 \end_inset
36214
36215 .
36216 \end_layout
36217
36218 \begin_layout Subsection
36219 Short Title
36220 \end_layout
36221
36222 \begin_layout Standard
36223 Is only visible if the cursor is in front, in or behind a section heading,
36224  title or caption of a float.
36225  Inserts a short title as described in section
36226 \begin_inset space ~
36227 \end_inset
36228
36229
36230 \begin_inset CommandInset ref
36231 LatexCommand ref
36232 reference "sec:Short-Titles"
36233
36234 \end_inset
36235
36236 .
36237 \end_layout
36238
36239 \begin_layout Subsection
36240 TeX Code
36241 \end_layout
36242
36243 \begin_layout Standard
36244 Inserts a TeX Code box as described in section
36245 \begin_inset space ~
36246 \end_inset
36247
36248
36249 \begin_inset CommandInset ref
36250 LatexCommand ref
36251 reference "sub:TeX-Code-Boxes"
36252
36253 \end_inset
36254
36255 .
36256 \end_layout
36257
36258 \begin_layout Subsection
36259 Program Listing
36260 \begin_inset Index idx
36261 status collapsed
36262
36263 \begin_layout Plain Layout
36264 Program listings
36265 \end_layout
36266
36267 \end_inset
36268
36269
36270 \end_layout
36271
36272 \begin_layout Standard
36273 Inserts a program listings box.
36274  Program listings are explained in the chapter 
36275 \emph on
36276 Program Code Listings
36277 \emph default
36278  of the 
36279 \emph on
36280 Embedded
36281 \begin_inset space ~
36282 \end_inset
36283
36284 Objects
36285 \emph default
36286  manual.
36287 \end_layout
36288
36289 \begin_layout Subsection
36290 Date
36291 \end_layout
36292
36293 \begin_layout Standard
36294 Inserts the actual date.
36295  The format depends on the date format of the language that is used for
36296  LyX's menus.
36297  LyX offers various ways to insert a date which are explained and also compared
36298  in the section 
36299 \emph on
36300 External Material
36301 \emph default
36302  of the 
36303 \emph on
36304 Embedded
36305 \begin_inset space ~
36306 \end_inset
36307
36308 Objects
36309 \emph default
36310  manual.
36311 \end_layout
36312
36313 \begin_layout Subsection
36314 Preview
36315 \end_layout
36316
36317 \begin_layout Standard
36318 Inserts a preview inset as described in section
36319 \begin_inset space ~
36320 \end_inset
36321
36322
36323 \begin_inset CommandInset ref
36324 LatexCommand ref
36325 reference "sec:Previewing-snippets-of"
36326
36327 \end_inset
36328
36329 .
36330 \end_layout
36331
36332 \begin_layout Section
36333 The Navigate Menu
36334 \begin_inset Index idx
36335 status collapsed
36336
36337 \begin_layout Plain Layout
36338 Menu ! Navigate
36339 \end_layout
36340
36341 \end_inset
36342
36343
36344 \end_layout
36345
36346 \begin_layout Standard
36347 This menu lists the existing chapters, sections, figures, tables, etc.
36348 \begin_inset space ~
36349 \end_inset
36350
36351 of the current document.
36352  This allows you to navigate easily through your document.
36353 \end_layout
36354
36355 \begin_layout Subsection
36356 Bookmarks
36357 \end_layout
36358
36359 \begin_layout Standard
36360 With this menu entry you are able to define your own bookmarks.
36361  This is useful when you are working on a large document and often have
36362  to jump, for example, between section
36363 \begin_inset space ~
36364 \end_inset
36365
36366 2.5 and 6.3.
36367  To create bookmarks for this example, go to section
36368 \begin_inset space ~
36369 \end_inset
36370
36371 2.5 and use the submenu 
36372 \family sans
36373 Save
36374 \begin_inset space ~
36375 \end_inset
36376
36377 Bookmark
36378 \begin_inset space ~
36379 \end_inset
36380
36381 1
36382 \family default
36383 .
36384  Then go to section
36385 \begin_inset space ~
36386 \end_inset
36387
36388 6.3 and use 
36389 \family sans
36390 Save
36391 \begin_inset space ~
36392 \end_inset
36393
36394 Bookmark
36395 \begin_inset space ~
36396 \end_inset
36397
36398
36399 \family default
36400 2.
36401  Now you can jump easily between these sections by using the menu or by
36402  the key bindings 
36403 \begin_inset Info
36404 type  "shortcut"
36405 arg   "bookmark-goto 1"
36406 \end_inset
36407
36408  and 
36409 \begin_inset Info
36410 type  "shortcut"
36411 arg   "bookmark-goto 2"
36412 \end_inset
36413
36414 .You can also use bookmarks to jump between several opened documents.
36415 \end_layout
36416
36417 \begin_layout Standard
36418 The saved bookmarks are valid till the document is closed.
36419  The submenu 
36420 \family sans
36421 Clear
36422 \begin_inset space ~
36423 \end_inset
36424
36425 Bookmarks
36426 \family default
36427  allows you to clear bookmarks while the submenu 
36428 \family sans
36429 Navigate
36430 \begin_inset space ~
36431 \end_inset
36432
36433 Back
36434 \family default
36435  jumps to the position in the document where you recently changed something.
36436 \end_layout
36437
36438 \begin_layout Subsection
36439 Next Note, Change, Cross-reference
36440 \end_layout
36441
36442 \begin_layout Standard
36443 Jump to the next note, change, or cross-reference after the current cursor
36444  position.
36445 \end_layout
36446
36447 \begin_layout Subsection
36448 Go to Label
36449 \end_layout
36450
36451 \begin_layout Standard
36452 Only active if the cursor is in front of a cross-reference.
36453  Sets the cursor before the referenced label.
36454  (It is the same as if you right-click on a cross-reference box and use
36455  
36456 \family sans
36457 Go
36458 \begin_inset space ~
36459 \end_inset
36460
36461 to
36462 \begin_inset space ~
36463 \end_inset
36464
36465 Label)
36466 \family default
36467 .
36468 \end_layout
36469
36470 \begin_layout Subsection
36471 Forward Search
36472 \end_layout
36473
36474 \begin_layout Standard
36475 Allows you to jump directly to the corresponding text part in the output,
36476  see section 
36477 \emph on
36478 The LyX Server\SpecialChar \menuseparator
36479 Forward
36480 \begin_inset space ~
36481 \end_inset
36482
36483 search
36484 \emph default
36485  in the 
36486 \emph on
36487 Additional
36488 \begin_inset space ~
36489 \end_inset
36490
36491 Features
36492 \emph default
36493  manual for a detailed description.
36494 \end_layout
36495
36496 \begin_layout Section
36497 The Document Menu
36498 \begin_inset Index idx
36499 status collapsed
36500
36501 \begin_layout Plain Layout
36502 Menu ! Document
36503 \end_layout
36504
36505 \end_inset
36506
36507
36508 \end_layout
36509
36510 \begin_layout Subsection
36511 Change Tracking
36512 \end_layout
36513
36514 \begin_layout Standard
36515 Change Tracking is described in section
36516 \begin_inset space ~
36517 \end_inset
36518
36519
36520 \begin_inset CommandInset ref
36521 LatexCommand ref
36522 reference "sec:Change-Tracking"
36523
36524 \end_inset
36525
36526 .
36527 \end_layout
36528
36529 \begin_layout Subsection
36530 LaT
36531 \begin_inset ERT
36532 status collapsed
36533
36534 \begin_layout Plain Layout
36535
36536 {}
36537 \end_layout
36538
36539 \end_inset
36540
36541 eX Log
36542 \end_layout
36543
36544 \begin_layout Standard
36545 After running LaTeX by viewing or exporting a document, this menu will be
36546  enabled.
36547  It shows the logfile of the LaTeX-program used.
36548  You can go to the next error or the next warning, search, copy something
36549  to the clipboard or update the view.
36550  With the help of the logfile experts can find in it reasons for LaTeX-errors.
36551 \end_layout
36552
36553 \begin_layout Subsection
36554 Start Appendix Here
36555 \end_layout
36556
36557 \begin_layout Standard
36558 Sets the start of the appendices of the document at the current cursor position
36559  as described in section
36560 \begin_inset space ~
36561 \end_inset
36562
36563
36564 \begin_inset CommandInset ref
36565 LatexCommand ref
36566 reference "sec:Appendices"
36567
36568 \end_inset
36569
36570 .
36571 \end_layout
36572
36573 \begin_layout Subsection
36574 View
36575 \begin_inset space ~
36576 \end_inset
36577
36578 [<output format>]
36579 \end_layout
36580
36581 \begin_layout Standard
36582 This menu entry generates the output in the format you have specified as
36583  default output format for the document (menu 
36584 \family sans
36585 Document\SpecialChar \menuseparator
36586 Settings\SpecialChar \menuseparator
36587 Output\SpecialChar \menuseparator
36588 Default
36589 \begin_inset space ~
36590 \end_inset
36591
36592 Output
36593 \begin_inset space ~
36594 \end_inset
36595
36596 Format
36597 \family default
36598 ; see section
36599 \begin_inset space ~
36600 \end_inset
36601
36602
36603 \begin_inset CommandInset ref
36604 LatexCommand ref
36605 reference "sec:Doc-Output"
36606
36607 \end_inset
36608
36609 ) or in the LyX preferences (menu 
36610 \family sans
36611 Tools\SpecialChar \menuseparator
36612 Preferences\SpecialChar \menuseparator
36613 File
36614 \begin_inset space ~
36615 \end_inset
36616
36617 Handling\SpecialChar \menuseparator
36618 File
36619 \begin_inset space ~
36620 \end_inset
36621
36622 Formats\SpecialChar \menuseparator
36623 Default
36624 \begin_inset space ~
36625 \end_inset
36626
36627 Output
36628 \begin_inset space ~
36629 \end_inset
36630
36631 Format
36632 \family default
36633 ; see section
36634 \begin_inset space ~
36635 \end_inset
36636
36637
36638 \begin_inset CommandInset ref
36639 LatexCommand ref
36640 reference "sec:File-Formats"
36641
36642 \end_inset
36643
36644 ) and opens it in an appropriate viewer.
36645  The viewer can be set or changed in the preferences (menu 
36646 \family sans
36647 Tools\SpecialChar \menuseparator
36648 Preferences\SpecialChar \menuseparator
36649 File
36650 \begin_inset space ~
36651 \end_inset
36652
36653 Handling\SpecialChar \menuseparator
36654 File
36655 \begin_inset space ~
36656 \end_inset
36657
36658 Formats\SpecialChar \menuseparator
36659 Viewer
36660 \family default
36661 ; see section
36662 \begin_inset space ~
36663 \end_inset
36664
36665
36666 \begin_inset CommandInset ref
36667 LatexCommand ref
36668 reference "sec:File-Formats"
36669
36670 \end_inset
36671
36672 ).
36673  The default viewers are set by LyX when it is first configured.
36674  The default output format is 
36675 \family sans
36676 PDF
36677 \begin_inset space ~
36678 \end_inset
36679
36680 (pdflatex)
36681 \family default
36682 .
36683 \end_layout
36684
36685 \begin_layout Subsection
36686 View (Other Formats)
36687 \end_layout
36688
36689 \begin_layout Standard
36690 With this menu you can view your document in alternative output formats.
36691  The menu contains a list of available formats in which you can view the
36692  actual document with an external program.
36693  The menu entries are not the same on all installations — it depends on
36694  the LaTeX programs that are found when LyX was configured.
36695  All possible formats are listed in section
36696 \begin_inset space ~
36697 \end_inset
36698
36699
36700 \begin_inset CommandInset ref
36701 LatexCommand ref
36702 reference "sub:Export"
36703
36704 \end_inset
36705
36706 .
36707  You should at least see the menu entry 
36708 \family sans
36709 DVI
36710 \family default
36711 .
36712  If it is missing, you need to update or repair your LaTeX installation.
36713  After updating you have to reconfigure LyX (see section
36714 \begin_inset space ~
36715 \end_inset
36716
36717
36718 \begin_inset CommandInset ref
36719 LatexCommand ref
36720 reference "sec:Basic-LyX-Setup"
36721
36722 \end_inset
36723
36724 .
36725 \begin_inset Index idx
36726 status collapsed
36727
36728 \begin_layout Plain Layout
36729 Reconfiguration of LyX
36730 \end_layout
36731
36732 \end_inset
36733
36734 )
36735 \end_layout
36736
36737 \begin_layout Standard
36738 Invoking a view menu will start a viewer program.
36739  The viewer can be set or changed in the preferences (menu 
36740 \family sans
36741 Tools\SpecialChar \menuseparator
36742 Preferences\SpecialChar \menuseparator
36743 File
36744 \begin_inset space ~
36745 \end_inset
36746
36747 Handling\SpecialChar \menuseparator
36748 File
36749 \begin_inset space ~
36750 \end_inset
36751
36752 Formats\SpecialChar \menuseparator
36753 Viewer
36754 \family default
36755 ; see section
36756 \begin_inset space ~
36757 \end_inset
36758
36759
36760 \begin_inset CommandInset ref
36761 LatexCommand ref
36762 reference "sec:File-Formats"
36763
36764 \end_inset
36765
36766 ).
36767  The default viewers are set by LyX when it is first configured.
36768 \end_layout
36769
36770 \begin_layout Subsection
36771 Update
36772 \begin_inset space ~
36773 \end_inset
36774
36775 [<output format>]
36776 \end_layout
36777
36778 \begin_layout Standard
36779 This menu entry allows you to update the view with your latest changes (in
36780  the default output format) without opening a new viewer window.
36781 \end_layout
36782
36783 \begin_layout Subsection
36784 Update (Other Formats)
36785 \end_layout
36786
36787 \begin_layout Standard
36788 With this menu you can update the view of alternative output formats of
36789  your document without opening a new viewer window.
36790 \end_layout
36791
36792 \begin_layout Subsection
36793 View Master Document
36794 \end_layout
36795
36796 \begin_layout Standard
36797 This menu item is only visible if your document is included to another document,
36798  which is then its 
36799 \begin_inset Quotes eld
36800 \end_inset
36801
36802 master
36803 \begin_inset Quotes erd
36804 \end_inset
36805
36806  (see section 
36807 \emph on
36808 Child Documents
36809 \emph default
36810  in the 
36811 \emph on
36812 Embedded
36813 \begin_inset space ~
36814 \end_inset
36815
36816 Objects
36817 \emph default
36818  manual for more information on this topic).
36819  This item allows you to view the master document from within its child.
36820  That is, if you are working on a child document which is a chapter of a
36821  book, 
36822 \family sans
36823 View
36824 \begin_inset space ~
36825 \end_inset
36826
36827 Master
36828 \begin_inset space ~
36829 \end_inset
36830
36831 Document
36832 \family default
36833  generates the output of the whole book, while 
36834 \family sans
36835 View
36836 \family default
36837  will just output the chapter alone.
36838 \end_layout
36839
36840 \begin_layout Standard
36841 The format used by this function is the default output format as specified
36842  in the document settings (menu 
36843 \family sans
36844 Document\SpecialChar \menuseparator
36845 Settings\SpecialChar \menuseparator
36846 Output\SpecialChar \menuseparator
36847 Default
36848 \begin_inset space ~
36849 \end_inset
36850
36851 Output
36852 \begin_inset space ~
36853 \end_inset
36854
36855 Format
36856 \family default
36857 ; see section
36858 \begin_inset space ~
36859 \end_inset
36860
36861
36862 \begin_inset CommandInset ref
36863 LatexCommand ref
36864 reference "sec:Doc-Output"
36865
36866 \end_inset
36867
36868 ) or in the preferences (menu 
36869 \family sans
36870 Tools\SpecialChar \menuseparator
36871 Preferences\SpecialChar \menuseparator
36872 File
36873 \begin_inset space ~
36874 \end_inset
36875
36876 Handling\SpecialChar \menuseparator
36877 File
36878 \begin_inset space ~
36879 \end_inset
36880
36881 Formats\SpecialChar \menuseparator
36882 Default
36883 \begin_inset space ~
36884 \end_inset
36885
36886 Output
36887 \begin_inset space ~
36888 \end_inset
36889
36890 Format
36891 \family default
36892 ; see section
36893 \begin_inset space ~
36894 \end_inset
36895
36896
36897 \begin_inset CommandInset ref
36898 LatexCommand ref
36899 reference "sec:File-Formats"
36900
36901 \end_inset
36902
36903 ).
36904 \end_layout
36905
36906 \begin_layout Subsection
36907 Update Master Document
36908 \end_layout
36909
36910 \begin_layout Standard
36911 This menu item is only visible if your document is included to another document,
36912  which is then its 
36913 \begin_inset Quotes eld
36914 \end_inset
36915
36916 master
36917 \begin_inset Quotes erd
36918 \end_inset
36919
36920  (see section 
36921 \emph on
36922 Child Documents
36923 \emph default
36924  in the 
36925 \emph on
36926 Embedded
36927 \begin_inset space ~
36928 \end_inset
36929
36930 Objects
36931 \emph default
36932  manual for more information on this topic).
36933  This item allows you to update the view of a master document from within
36934  its child without the need to switch to the master document itself.
36935 \end_layout
36936
36937 \begin_layout Standard
36938 The format used by this function is the default output format as specified
36939  in the document settings (menu 
36940 \family sans
36941 Document\SpecialChar \menuseparator
36942 Settings\SpecialChar \menuseparator
36943 Output\SpecialChar \menuseparator
36944 Default
36945 \begin_inset space ~
36946 \end_inset
36947
36948 Output
36949 \begin_inset space ~
36950 \end_inset
36951
36952 Format
36953 \family default
36954 ; see section
36955 \begin_inset space ~
36956 \end_inset
36957
36958
36959 \begin_inset CommandInset ref
36960 LatexCommand ref
36961 reference "sec:Doc-Output"
36962
36963 \end_inset
36964
36965 ) or in the preferences (menu 
36966 \family sans
36967 Tools\SpecialChar \menuseparator
36968 Preferences\SpecialChar \menuseparator
36969 File
36970 \begin_inset space ~
36971 \end_inset
36972
36973 Handling\SpecialChar \menuseparator
36974 File
36975 \begin_inset space ~
36976 \end_inset
36977
36978 Formats\SpecialChar \menuseparator
36979 Default
36980 \begin_inset space ~
36981 \end_inset
36982
36983 Output
36984 \begin_inset space ~
36985 \end_inset
36986
36987 Format
36988 \family default
36989 ; see section
36990 \begin_inset space ~
36991 \end_inset
36992
36993
36994 \begin_inset CommandInset ref
36995 LatexCommand ref
36996 reference "sec:File-Formats"
36997
36998 \end_inset
36999
37000 ).
37001 \end_layout
37002
37003 \begin_layout Subsection
37004 Compressed
37005 \end_layout
37006
37007 \begin_layout Standard
37008 Un/compresses the current document.
37009 \end_layout
37010
37011 \begin_layout Subsection
37012 Settings
37013 \end_layout
37014
37015 \begin_layout Standard
37016 The document settings are described in appendix
37017 \begin_inset space ~
37018 \end_inset
37019
37020
37021 \begin_inset CommandInset ref
37022 LatexCommand ref
37023 reference "chap:The-Document-Settings"
37024
37025 \end_inset
37026
37027 .
37028 \end_layout
37029
37030 \begin_layout Section
37031 The Tools Menu
37032 \begin_inset Index idx
37033 status collapsed
37034
37035 \begin_layout Plain Layout
37036 Menu ! Tools
37037 \end_layout
37038
37039 \end_inset
37040
37041
37042 \end_layout
37043
37044 \begin_layout Subsection
37045 Spellchecker
37046 \end_layout
37047
37048 \begin_layout Standard
37049 Spell checking is explained in section
37050 \begin_inset space ~
37051 \end_inset
37052
37053
37054 \begin_inset CommandInset ref
37055 LatexCommand ref
37056 reference "sec:Spellchecking"
37057
37058 \end_inset
37059
37060 .
37061 \end_layout
37062
37063 \begin_layout Subsection
37064 Thesaurus
37065 \end_layout
37066
37067 \begin_layout Standard
37068 The thesaurus is described in section
37069 \begin_inset space ~
37070 \end_inset
37071
37072
37073 \begin_inset CommandInset ref
37074 LatexCommand ref
37075 reference "sec:Thesaurus"
37076
37077 \end_inset
37078
37079 .
37080 \end_layout
37081
37082 \begin_layout Subsection
37083 Statistics
37084 \begin_inset Index idx
37085 status collapsed
37086
37087 \begin_layout Plain Layout
37088 Word count
37089 \end_layout
37090
37091 \end_inset
37092
37093
37094 \begin_inset Index idx
37095 status collapsed
37096
37097 \begin_layout Plain Layout
37098 Character count
37099 \end_layout
37100
37101 \end_inset
37102
37103
37104 \end_layout
37105
37106 \begin_layout Standard
37107 Returns the number of the words and characters in the actual document or
37108  the highlighted document part.
37109 \end_layout
37110
37111 \begin_layout Subsection
37112 Check T
37113 \begin_inset ERT
37114 status collapsed
37115
37116 \begin_layout Plain Layout
37117
37118 {}
37119 \end_layout
37120
37121 \end_inset
37122
37123 eX
37124 \begin_inset Index idx
37125 status collapsed
37126
37127 \begin_layout Plain Layout
37128 ChkTeX
37129 \end_layout
37130
37131 \end_inset
37132
37133
37134 \end_layout
37135
37136 \begin_layout Standard
37137 Generates with the help of the program 
37138 \family typewriter
37139 ChkTeX
37140 \family default
37141  a log of possible LaTeX-errors and displays it in a dialog.
37142  This feature is not available on Windows.
37143 \end_layout
37144
37145 \begin_layout Subsection
37146 T
37147 \begin_inset ERT
37148 status collapsed
37149
37150 \begin_layout Plain Layout
37151
37152 {}
37153 \end_layout
37154
37155 \end_inset
37156
37157 eX Information
37158 \begin_inset Index idx
37159 status collapsed
37160
37161 \begin_layout Plain Layout
37162 TeX Information
37163 \end_layout
37164
37165 \end_inset
37166
37167
37168 \end_layout
37169
37170 \begin_layout Standard
37171 Shows you a list of the document classes and styles installed in your LaTeX-syst
37172 em.
37173  Use the option 
37174 \family sans
37175 Show
37176 \begin_inset space ~
37177 \end_inset
37178
37179 path
37180 \family default
37181  to see the full filename paths.
37182 \end_layout
37183
37184 \begin_layout Subsection
37185 Compare
37186 \begin_inset Index idx
37187 status collapsed
37188
37189 \begin_layout Plain Layout
37190 Compare
37191 \end_layout
37192
37193 \end_inset
37194
37195
37196 \end_layout
37197
37198 \begin_layout Standard
37199 Opens a dialog to compare LyX files as described in section
37200 \begin_inset space ~
37201 \end_inset
37202
37203
37204 \begin_inset CommandInset ref
37205 LatexCommand ref
37206 reference "sec:Comparison-of-Documents"
37207
37208 \end_inset
37209
37210 .
37211 \end_layout
37212
37213 \begin_layout Subsection
37214 Reconfigure
37215 \begin_inset Index idx
37216 status collapsed
37217
37218 \begin_layout Plain Layout
37219 LyX ! Reconfigure|see
37220 \begin_inset ERT
37221 status collapsed
37222
37223 \begin_layout Plain Layout
37224
37225 {
37226 \end_layout
37227
37228 \end_inset
37229
37230 Reconfiguration of LyX
37231 \begin_inset ERT
37232 status collapsed
37233
37234 \begin_layout Plain Layout
37235
37236 }
37237 \end_layout
37238
37239 \end_inset
37240
37241
37242 \end_layout
37243
37244 \end_inset
37245
37246
37247 \begin_inset Index idx
37248 status collapsed
37249
37250 \begin_layout Plain Layout
37251 Reconfiguration of LyX
37252 \end_layout
37253
37254 \end_inset
37255
37256
37257 \end_layout
37258
37259 \begin_layout Standard
37260 Reconfigures LyX; that is, LyX looks for LaTeX-packages and programs it
37261  needs; see also section
37262 \begin_inset space ~
37263 \end_inset
37264
37265
37266 \begin_inset CommandInset ref
37267 LatexCommand ref
37268 reference "sec:Basic-LyX-Setup"
37269
37270 \end_inset
37271
37272 .
37273 \end_layout
37274
37275 \begin_layout Subsection
37276 Preferences
37277 \end_layout
37278
37279 \begin_layout Standard
37280 Opens the 
37281 \family sans
37282 Preferences
37283 \family default
37284  dialog as described in detail in appendix
37285 \begin_inset space ~
37286 \end_inset
37287
37288
37289 \begin_inset CommandInset ref
37290 LatexCommand ref
37291 reference "chap:The-Preferences-dialog"
37292
37293 \end_inset
37294
37295 .
37296 \end_layout
37297
37298 \begin_layout Section
37299 The Help Menu
37300 \begin_inset Index idx
37301 status collapsed
37302
37303 \begin_layout Plain Layout
37304 Menu ! Help
37305 \end_layout
37306
37307 \end_inset
37308
37309
37310 \end_layout
37311
37312 \begin_layout Standard
37313 This menu lists the documentation files of LyX in the language of LyX's
37314  menus.
37315  If a file is not available in this language, the English version will be
37316  listed.
37317 \end_layout
37318
37319 \begin_layout Standard
37320 The menu 
37321 \family sans
37322 LaTeX
37323 \begin_inset space ~
37324 \end_inset
37325
37326 Configuration
37327 \family default
37328  shows a LyX-document with information about the LaTeX-packages and classes
37329  found by LyX (see also section
37330 \begin_inset space ~
37331 \end_inset
37332
37333
37334 \begin_inset CommandInset ref
37335 LatexCommand ref
37336 reference "sec:LaTeX-Setup"
37337
37338 \end_inset
37339
37340 ).
37341 \end_layout
37342
37343 \begin_layout Standard
37344 The menu 
37345 \family sans
37346 About
37347 \begin_inset space ~
37348 \end_inset
37349
37350 Ly
37351 \begin_inset ERT
37352 status collapsed
37353
37354 \begin_layout Plain Layout
37355
37356 {}
37357 \end_layout
37358
37359 \end_inset
37360
37361 X
37362 \family default
37363  gives information about the copyright, the credits and the LyX version
37364  you are using.
37365 \end_layout
37366
37367 \begin_layout Section
37368 Toolbars
37369 \begin_inset CommandInset label
37370 LatexCommand label
37371 name "sec:Toolbars"
37372
37373 \end_inset
37374
37375
37376 \end_layout
37377
37378 \begin_layout Standard
37379 How to show or hide toolbars is explained in section
37380 \begin_inset space ~
37381 \end_inset
37382
37383
37384 \begin_inset CommandInset ref
37385 LatexCommand ref
37386 reference "sub:Toolbars"
37387
37388 \end_inset
37389
37390 .
37391 \end_layout
37392
37393 \begin_layout Standard
37394 It is also possible to define custom toolbars.
37395  This is described in the 
37396 \emph on
37397 Additional Features
37398 \emph default
37399  manual.
37400 \end_layout
37401
37402 \begin_layout Subsection
37403 Standard Toolbar
37404 \begin_inset Index idx
37405 status collapsed
37406
37407 \begin_layout Plain Layout
37408 Toolbar ! Standard
37409 \end_layout
37410
37411 \end_inset
37412
37413
37414 \end_layout
37415
37416 \begin_layout Standard
37417 \begin_inset Graphics
37418         filename clipart/StandardToolbar.png
37419         width 100col%
37420
37421 \end_inset
37422
37423
37424 \end_layout
37425
37426 \begin_layout Standard
37427 \begin_inset VSpace defskip
37428 \end_inset
37429
37430
37431 \end_layout
37432
37433 \begin_layout Standard
37434 The standard toolbar as shown above contains from left to right the following
37435  buttons:
37436 \begin_inset ERT
37437 status collapsed
37438
37439 \begin_layout Plain Layout
37440
37441
37442 \backslash
37443 setlength{
37444 \backslash
37445 LTleft}{0pt}
37446 \end_layout
37447
37448 \end_inset
37449
37450
37451 \begin_inset Note Note
37452 status collapsed
37453
37454 \begin_layout Plain Layout
37455 This is necessary to left align the following longtables.
37456  See the 
37457 \emph on
37458 Embedded Objects
37459 \emph default
37460  manual for more information.
37461 \end_layout
37462
37463 \end_inset
37464
37465
37466 \end_layout
37467
37468 \begin_layout Standard
37469 \begin_inset VSpace defskip
37470 \end_inset
37471
37472
37473 \end_layout
37474
37475 \begin_layout Standard
37476 \begin_inset Tabular
37477 <lyxtabular version="3" rows="1" columns="2">
37478 <features rotate="0" islongtable="true" longtabularalignment="center">
37479 <column alignment="center" valignment="top">
37480 <column alignment="center" valignment="top">
37481 <row>
37482 <cell alignment="center" valignment="top" usebox="none">
37483 \begin_inset Text
37484
37485 \begin_layout Plain Layout
37486 \begin_inset Graphics
37487         filename clipart/ToolbarEnvBox.png
37488         clip
37489
37490 \end_inset
37491
37492
37493 \end_layout
37494
37495 \end_inset
37496 </cell>
37497 <cell alignment="center" valignment="top" usebox="none">
37498 \begin_inset Text
37499
37500 \begin_layout Plain Layout
37501 pull-down box for the environments
37502 \end_layout
37503
37504 \end_inset
37505 </cell>
37506 </row>
37507 </lyxtabular>
37508
37509 \end_inset
37510
37511
37512 \end_layout
37513
37514 \begin_layout Standard
37515 \begin_inset VSpace -10mm
37516 \end_inset
37517
37518
37519 \end_layout
37520
37521 \begin_layout Standard
37522 \align left
37523 \begin_inset Tabular
37524 <lyxtabular version="3" rows="22" columns="2">
37525 <features rotate="0" islongtable="true" longtabularalignment="center">
37526 <column alignment="left" valignment="top">
37527 <column alignment="left" valignment="top">
37528 <row interlinespace="2.5mm">
37529 <cell alignment="center" valignment="top" usebox="none">
37530 \begin_inset Text
37531
37532 \begin_layout Plain Layout
37533
37534 \family sans
37535 \begin_inset Info
37536 type  "icon"
37537 arg   "buffer-new"
37538 \end_inset
37539
37540
37541 \end_layout
37542
37543 \end_inset
37544 </cell>
37545 <cell alignment="center" valignment="top" usebox="none">
37546 \begin_inset Text
37547
37548 \begin_layout Plain Layout
37549
37550 \family sans
37551 File\SpecialChar \menuseparator
37552 New
37553 \end_layout
37554
37555 \end_inset
37556 </cell>
37557 </row>
37558 <row interlinespace="2.5mm">
37559 <cell alignment="center" valignment="top" usebox="none">
37560 \begin_inset Text
37561
37562 \begin_layout Plain Layout
37563
37564 \family sans
37565 \begin_inset Info
37566 type  "icon"
37567 arg   "file-open"
37568 \end_inset
37569
37570
37571 \end_layout
37572
37573 \end_inset
37574 </cell>
37575 <cell alignment="center" valignment="top" usebox="none">
37576 \begin_inset Text
37577
37578 \begin_layout Plain Layout
37579
37580 \family sans
37581 File\SpecialChar \menuseparator
37582 Open
37583 \end_layout
37584
37585 \end_inset
37586 </cell>
37587 </row>
37588 <row interlinespace="2.5mm">
37589 <cell alignment="center" valignment="top" usebox="none">
37590 \begin_inset Text
37591
37592 \begin_layout Plain Layout
37593
37594 \family sans
37595 \begin_inset Info
37596 type  "icon"
37597 arg   "buffer-write"
37598 \end_inset
37599
37600
37601 \end_layout
37602
37603 \end_inset
37604 </cell>
37605 <cell alignment="center" valignment="top" usebox="none">
37606 \begin_inset Text
37607
37608 \begin_layout Plain Layout
37609
37610 \family sans
37611 File\SpecialChar \menuseparator
37612 Save
37613 \end_layout
37614
37615 \end_inset
37616 </cell>
37617 </row>
37618 <row interlinespace="2.5mm">
37619 <cell alignment="center" valignment="top" usebox="none">
37620 \begin_inset Text
37621
37622 \begin_layout Plain Layout
37623
37624 \family sans
37625 \begin_inset Info
37626 type  "icon"
37627 arg   "dialog-show print"
37628 \end_inset
37629
37630
37631 \end_layout
37632
37633 \end_inset
37634 </cell>
37635 <cell alignment="center" valignment="top" usebox="none">
37636 \begin_inset Text
37637
37638 \begin_layout Plain Layout
37639
37640 \family sans
37641 File\SpecialChar \menuseparator
37642 Print
37643 \end_layout
37644
37645 \end_inset
37646 </cell>
37647 </row>
37648 <row interlinespace="2.5mm">
37649 <cell alignment="center" valignment="top" usebox="none">
37650 \begin_inset Text
37651
37652 \begin_layout Plain Layout
37653
37654 \family sans
37655 \begin_inset Info
37656 type  "icon"
37657 arg   "dialog-show spellchecker"
37658 \end_inset
37659
37660
37661 \end_layout
37662
37663 \end_inset
37664 </cell>
37665 <cell alignment="center" valignment="top" usebox="none">
37666 \begin_inset Text
37667
37668 \begin_layout Plain Layout
37669
37670 \family sans
37671 Tools\SpecialChar \menuseparator
37672 Spellchecker
37673 \end_layout
37674
37675 \end_inset
37676 </cell>
37677 </row>
37678 <row interlinespace="2.5mm">
37679 <cell alignment="center" valignment="top" usebox="none">
37680 \begin_inset Text
37681
37682 \begin_layout Plain Layout
37683
37684 \family sans
37685 \begin_inset Info
37686 type  "icon"
37687 arg   "undo"
37688 \end_inset
37689
37690
37691 \end_layout
37692
37693 \end_inset
37694 </cell>
37695 <cell alignment="center" valignment="top" usebox="none">
37696 \begin_inset Text
37697
37698 \begin_layout Plain Layout
37699
37700 \family sans
37701 Edit\SpecialChar \menuseparator
37702 Undo
37703 \end_layout
37704
37705 \end_inset
37706 </cell>
37707 </row>
37708 <row interlinespace="2.5mm">
37709 <cell alignment="center" valignment="top" usebox="none">
37710 \begin_inset Text
37711
37712 \begin_layout Plain Layout
37713
37714 \family sans
37715 \begin_inset Info
37716 type  "icon"
37717 arg   "redo"
37718 \end_inset
37719
37720
37721 \end_layout
37722
37723 \end_inset
37724 </cell>
37725 <cell alignment="center" valignment="top" usebox="none">
37726 \begin_inset Text
37727
37728 \begin_layout Plain Layout
37729
37730 \family sans
37731 Edit\SpecialChar \menuseparator
37732 Redo
37733 \end_layout
37734
37735 \end_inset
37736 </cell>
37737 </row>
37738 <row interlinespace="2.5mm">
37739 <cell alignment="center" valignment="top" usebox="none">
37740 \begin_inset Text
37741
37742 \begin_layout Plain Layout
37743
37744 \family sans
37745 \begin_inset Info
37746 type  "icon"
37747 arg   "cut"
37748 \end_inset
37749
37750
37751 \end_layout
37752
37753 \end_inset
37754 </cell>
37755 <cell alignment="center" valignment="top" usebox="none">
37756 \begin_inset Text
37757
37758 \begin_layout Plain Layout
37759
37760 \family sans
37761 Edit\SpecialChar \menuseparator
37762 Cut
37763 \end_layout
37764
37765 \end_inset
37766 </cell>
37767 </row>
37768 <row interlinespace="2.5mm">
37769 <cell alignment="center" valignment="top" usebox="none">
37770 \begin_inset Text
37771
37772 \begin_layout Plain Layout
37773
37774 \family sans
37775 \begin_inset Info
37776 type  "icon"
37777 arg   "copy"
37778 \end_inset
37779
37780
37781 \end_layout
37782
37783 \end_inset
37784 </cell>
37785 <cell alignment="center" valignment="top" usebox="none">
37786 \begin_inset Text
37787
37788 \begin_layout Plain Layout
37789
37790 \family sans
37791 Edit\SpecialChar \menuseparator
37792 Copy
37793 \end_layout
37794
37795 \end_inset
37796 </cell>
37797 </row>
37798 <row interlinespace="2.5mm">
37799 <cell alignment="center" valignment="top" usebox="none">
37800 \begin_inset Text
37801
37802 \begin_layout Plain Layout
37803
37804 \family sans
37805 \begin_inset Info
37806 type  "icon"
37807 arg   "paste"
37808 \end_inset
37809
37810
37811 \end_layout
37812
37813 \end_inset
37814 </cell>
37815 <cell alignment="center" valignment="top" usebox="none">
37816 \begin_inset Text
37817
37818 \begin_layout Plain Layout
37819
37820 \family sans
37821 Edit\SpecialChar \menuseparator
37822 Paste
37823 \end_layout
37824
37825 \end_inset
37826 </cell>
37827 </row>
37828 <row interlinespace="2.5mm">
37829 <cell alignment="center" valignment="top" usebox="none">
37830 \begin_inset Text
37831
37832 \begin_layout Plain Layout
37833
37834 \family sans
37835 \begin_inset Info
37836 type  "icon"
37837 arg   "dialog-show findreplace"
37838 \end_inset
37839
37840
37841 \end_layout
37842
37843 \end_inset
37844 </cell>
37845 <cell alignment="center" valignment="top" usebox="none">
37846 \begin_inset Text
37847
37848 \begin_layout Plain Layout
37849
37850 \family sans
37851 Edit\SpecialChar \menuseparator
37852 Find
37853 \begin_inset space \thinspace{}
37854 \end_inset
37855
37856 &
37857 \begin_inset space \thinspace{}
37858 \end_inset
37859
37860 Replace
37861 \begin_inset space \thinspace{}
37862 \end_inset
37863
37864 (Quick)
37865 \end_layout
37866
37867 \end_inset
37868 </cell>
37869 </row>
37870 <row interlinespace="2.5mm">
37871 <cell alignment="center" valignment="top" usebox="none">
37872 \begin_inset Text
37873
37874 \begin_layout Plain Layout
37875 \begin_inset Info
37876 type  "icon"
37877 arg   "dialog-toggle findreplaceadv"
37878 \end_inset
37879
37880
37881 \end_layout
37882
37883 \end_inset
37884 </cell>
37885 <cell alignment="center" valignment="top" usebox="none">
37886 \begin_inset Text
37887
37888 \begin_layout Plain Layout
37889
37890 \family sans
37891 Edit\SpecialChar \menuseparator
37892 Find
37893 \begin_inset space \thinspace{}
37894 \end_inset
37895
37896 &
37897 \begin_inset space \thinspace{}
37898 \end_inset
37899
37900 Replace
37901 \begin_inset space \thinspace{}
37902 \end_inset
37903
37904 (Advanced)
37905 \end_layout
37906
37907 \end_inset
37908 </cell>
37909 </row>
37910 <row interlinespace="2.5mm">
37911 <cell alignment="center" valignment="top" usebox="none">
37912 \begin_inset Text
37913
37914 \begin_layout Plain Layout
37915
37916 \family sans
37917 \begin_inset Info
37918 type  "icon"
37919 arg   "bookmark-goto 0"
37920 \end_inset
37921
37922
37923 \end_layout
37924
37925 \end_inset
37926 </cell>
37927 <cell alignment="center" valignment="top" usebox="none">
37928 \begin_inset Text
37929
37930 \begin_layout Plain Layout
37931
37932 \family sans
37933 Navigate\SpecialChar \menuseparator
37934 Bookmarks\SpecialChar \menuseparator
37935 Navigate Back
37936 \end_layout
37937
37938 \end_inset
37939 </cell>
37940 </row>
37941 <row interlinespace="2.5mm">
37942 <cell alignment="center" valignment="top" usebox="none">
37943 \begin_inset Text
37944
37945 \begin_layout Plain Layout
37946
37947 \family sans
37948 \begin_inset Info
37949 type  "icon"
37950 arg   "font-emph"
37951 \end_inset
37952
37953
37954 \end_layout
37955
37956 \end_inset
37957 </cell>
37958 <cell alignment="center" valignment="top" usebox="none">
37959 \begin_inset Text
37960
37961 \begin_layout Plain Layout
37962 Emphasize text, function of the 
37963 \family sans
37964 Edit\SpecialChar \menuseparator
37965 Text
37966 \begin_inset space ~
37967 \end_inset
37968
37969 Style\SpecialChar \menuseparator
37970 Customized
37971 \family default
37972  dialog
37973 \end_layout
37974
37975 \end_inset
37976 </cell>
37977 </row>
37978 <row interlinespace="2.5mm">
37979 <cell alignment="center" valignment="top" usebox="none">
37980 \begin_inset Text
37981
37982 \begin_layout Plain Layout
37983
37984 \family sans
37985 \begin_inset Info
37986 type  "icon"
37987 arg   "font-noun"
37988 \end_inset
37989
37990
37991 \end_layout
37992
37993 \end_inset
37994 </cell>
37995 <cell alignment="center" valignment="top" usebox="none">
37996 \begin_inset Text
37997
37998 \begin_layout Plain Layout
37999 Set text to noun style, function of the 
38000 \family sans
38001 Edit\SpecialChar \menuseparator
38002 Text
38003 \begin_inset space ~
38004 \end_inset
38005
38006 Style\SpecialChar \menuseparator
38007 Customized
38008 \family default
38009  dialog
38010 \end_layout
38011
38012 \end_inset
38013 </cell>
38014 </row>
38015 <row interlinespace="2.5mm">
38016 <cell alignment="center" valignment="top" usebox="none">
38017 \begin_inset Text
38018
38019 \begin_layout Plain Layout
38020
38021 \family sans
38022 \begin_inset Info
38023 type  "icon"
38024 arg   "textstyle-apply"
38025 \end_inset
38026
38027
38028 \end_layout
38029
38030 \end_inset
38031 </cell>
38032 <cell alignment="center" valignment="top" usebox="none">
38033 \begin_inset Text
38034
38035 \begin_layout Plain Layout
38036 Format text using the current settings in the 
38037 \family sans
38038 Edit\SpecialChar \menuseparator
38039 Text
38040 \begin_inset space ~
38041 \end_inset
38042
38043 Style\SpecialChar \menuseparator
38044 Customized
38045 \family default
38046  dialog
38047 \end_layout
38048
38049 \end_inset
38050 </cell>
38051 </row>
38052 <row interlinespace="2.5mm">
38053 <cell alignment="center" valignment="top" usebox="none">
38054 \begin_inset Text
38055
38056 \begin_layout Plain Layout
38057
38058 \family sans
38059 \begin_inset Info
38060 type  "icon"
38061 arg   "math-mode"
38062 \end_inset
38063
38064
38065 \end_layout
38066
38067 \end_inset
38068 </cell>
38069 <cell alignment="center" valignment="top" usebox="none">
38070 \begin_inset Text
38071
38072 \begin_layout Plain Layout
38073
38074 \family sans
38075 Insert\SpecialChar \menuseparator
38076 Math\SpecialChar \menuseparator
38077 Inline
38078 \begin_inset space ~
38079 \end_inset
38080
38081 Formula
38082 \end_layout
38083
38084 \end_inset
38085 </cell>
38086 </row>
38087 <row interlinespace="2.5mm">
38088 <cell alignment="center" valignment="top" usebox="none">
38089 \begin_inset Text
38090
38091 \begin_layout Plain Layout
38092
38093 \family sans
38094 \begin_inset Info
38095 type  "icon"
38096 arg   "dialog-show-new-inset graphics"
38097 \end_inset
38098
38099
38100 \end_layout
38101
38102 \end_inset
38103 </cell>
38104 <cell alignment="center" valignment="top" usebox="none">
38105 \begin_inset Text
38106
38107 \begin_layout Plain Layout
38108
38109 \family sans
38110 Insert\SpecialChar \menuseparator
38111 Graphics
38112 \end_layout
38113
38114 \end_inset
38115 </cell>
38116 </row>
38117 <row interlinespace="2.5mm">
38118 <cell alignment="center" valignment="top" usebox="none">
38119 \begin_inset Text
38120
38121 \begin_layout Plain Layout
38122 \begin_inset Info
38123 type  "icon"
38124 arg   "tabular-insert"
38125 \end_inset
38126
38127
38128 \end_layout
38129
38130 \end_inset
38131 </cell>
38132 <cell alignment="center" valignment="top" usebox="none">
38133 \begin_inset Text
38134
38135 \begin_layout Plain Layout
38136
38137 \family sans
38138 Insert\SpecialChar \menuseparator
38139 Table
38140 \end_layout
38141
38142 \end_inset
38143 </cell>
38144 </row>
38145 <row interlinespace="2.5mm">
38146 <cell alignment="center" valignment="top" usebox="none">
38147 \begin_inset Text
38148
38149 \begin_layout Plain Layout
38150
38151 \family sans
38152 \begin_inset Info
38153 type  "icon"
38154 arg   "dialog-toggle toc"
38155 \end_inset
38156
38157
38158 \end_layout
38159
38160 \end_inset
38161 </cell>
38162 <cell alignment="center" valignment="top" usebox="none">
38163 \begin_inset Text
38164
38165 \begin_layout Plain Layout
38166 Toggle outline window on/off, 
38167 \family sans
38168 View\SpecialChar \menuseparator
38169 Outline
38170 \end_layout
38171
38172 \end_inset
38173 </cell>
38174 </row>
38175 <row interlinespace="2.5mm">
38176 <cell alignment="center" valignment="top" usebox="none">
38177 \begin_inset Text
38178
38179 \begin_layout Plain Layout
38180
38181 \family sans
38182 \begin_inset Info
38183 type  "icon"
38184 arg   "toolbar-toggle math"
38185 \end_inset
38186
38187
38188 \end_layout
38189
38190 \end_inset
38191 </cell>
38192 <cell alignment="center" valignment="top" usebox="none">
38193 \begin_inset Text
38194
38195 \begin_layout Plain Layout
38196 Toggle math toolbar on/off
38197 \end_layout
38198
38199 \end_inset
38200 </cell>
38201 </row>
38202 <row interlinespace="2.5mm">
38203 <cell alignment="center" valignment="top" usebox="none">
38204 \begin_inset Text
38205
38206 \begin_layout Plain Layout
38207
38208 \family sans
38209 \begin_inset Info
38210 type  "icon"
38211 arg   "toolbar-toggle table"
38212 \end_inset
38213
38214
38215 \end_layout
38216
38217 \end_inset
38218 </cell>
38219 <cell alignment="center" valignment="top" usebox="none">
38220 \begin_inset Text
38221
38222 \begin_layout Plain Layout
38223 Toggle table toolbar on/off
38224 \end_layout
38225
38226 \end_inset
38227 </cell>
38228 </row>
38229 </lyxtabular>
38230
38231 \end_inset
38232
38233
38234 \end_layout
38235
38236 \begin_layout Subsection
38237 Extra Toolbar
38238 \begin_inset Index idx
38239 status collapsed
38240
38241 \begin_layout Plain Layout
38242 Toolbar ! Extra
38243 \end_layout
38244
38245 \end_inset
38246
38247
38248 \end_layout
38249
38250 \begin_layout Standard
38251 \begin_inset Graphics
38252         filename clipart/ExtraToolbar.png
38253         width 100col%
38254
38255 \end_inset
38256
38257
38258 \end_layout
38259
38260 \begin_layout Standard
38261 \begin_inset VSpace defskip
38262 \end_inset
38263
38264
38265 \end_layout
38266
38267 \begin_layout Standard
38268 The extra toolbar as shown above contains from left to right the following
38269  buttons:
38270 \end_layout
38271
38272 \begin_layout Standard
38273 \begin_inset VSpace defskip
38274 \end_inset
38275
38276
38277 \end_layout
38278
38279 \begin_layout Standard
38280 \begin_inset Tabular
38281 <lyxtabular version="3" rows="25" columns="2">
38282 <features rotate="0" islongtable="true" longtabularalignment="center">
38283 <column alignment="left" valignment="top">
38284 <column alignment="left" valignment="top">
38285 <row interlinespace="2.5mm">
38286 <cell alignment="center" valignment="top" usebox="none">
38287 \begin_inset Text
38288
38289 \begin_layout Plain Layout
38290
38291 \family sans
38292 \begin_inset Info
38293 type  "icon"
38294 arg   "layout"
38295 \end_inset
38296
38297
38298 \end_layout
38299
38300 \end_inset
38301 </cell>
38302 <cell alignment="center" valignment="top" usebox="none">
38303 \begin_inset Text
38304
38305 \begin_layout Plain Layout
38306 Default
38307 \end_layout
38308
38309 \end_inset
38310 </cell>
38311 </row>
38312 <row interlinespace="2.5mm">
38313 <cell alignment="center" valignment="top" usebox="none">
38314 \begin_inset Text
38315
38316 \begin_layout Plain Layout
38317
38318 \family sans
38319 \begin_inset Info
38320 type  "icon"
38321 arg   "layout Enumerate"
38322 \end_inset
38323
38324
38325 \end_layout
38326
38327 \end_inset
38328 </cell>
38329 <cell alignment="center" valignment="top" usebox="none">
38330 \begin_inset Text
38331
38332 \begin_layout Plain Layout
38333 Numbered list
38334 \end_layout
38335
38336 \end_inset
38337 </cell>
38338 </row>
38339 <row interlinespace="2.5mm">
38340 <cell alignment="center" valignment="top" usebox="none">
38341 \begin_inset Text
38342
38343 \begin_layout Plain Layout
38344
38345 \family sans
38346 \begin_inset Info
38347 type  "icon"
38348 arg   "layout Itemize"
38349 \end_inset
38350
38351
38352 \end_layout
38353
38354 \end_inset
38355 </cell>
38356 <cell alignment="center" valignment="top" usebox="none">
38357 \begin_inset Text
38358
38359 \begin_layout Plain Layout
38360 Itemized list
38361 \end_layout
38362
38363 \end_inset
38364 </cell>
38365 </row>
38366 <row interlinespace="2.5mm">
38367 <cell alignment="center" valignment="top" usebox="none">
38368 \begin_inset Text
38369
38370 \begin_layout Plain Layout
38371
38372 \family sans
38373 \begin_inset Info
38374 type  "icon"
38375 arg   "layout List"
38376 \end_inset
38377
38378
38379 \end_layout
38380
38381 \end_inset
38382 </cell>
38383 <cell alignment="center" valignment="top" usebox="none">
38384 \begin_inset Text
38385
38386 \begin_layout Plain Layout
38387 List
38388 \end_layout
38389
38390 \end_inset
38391 </cell>
38392 </row>
38393 <row interlinespace="2.5mm">
38394 <cell alignment="center" valignment="top" usebox="none">
38395 \begin_inset Text
38396
38397 \begin_layout Plain Layout
38398
38399 \family sans
38400 \begin_inset Info
38401 type  "icon"
38402 arg   "layout Description"
38403 \end_inset
38404
38405
38406 \end_layout
38407
38408 \end_inset
38409 </cell>
38410 <cell alignment="center" valignment="top" usebox="none">
38411 \begin_inset Text
38412
38413 \begin_layout Plain Layout
38414 Description list
38415 \end_layout
38416
38417 \end_inset
38418 </cell>
38419 </row>
38420 <row interlinespace="2.5mm">
38421 <cell alignment="center" valignment="top" usebox="none">
38422 \begin_inset Text
38423
38424 \begin_layout Plain Layout
38425
38426 \family sans
38427 \begin_inset Info
38428 type  "icon"
38429 arg   "depth-increment"
38430 \end_inset
38431
38432
38433 \end_layout
38434
38435 \end_inset
38436 </cell>
38437 <cell alignment="center" valignment="top" usebox="none">
38438 \begin_inset Text
38439
38440 \begin_layout Plain Layout
38441
38442 \family sans
38443 Edit\SpecialChar \menuseparator
38444 Increase
38445 \begin_inset space ~
38446 \end_inset
38447
38448 List
38449 \begin_inset space ~
38450 \end_inset
38451
38452 Depth
38453 \end_layout
38454
38455 \end_inset
38456 </cell>
38457 </row>
38458 <row interlinespace="2.5mm">
38459 <cell alignment="center" valignment="top" usebox="none">
38460 \begin_inset Text
38461
38462 \begin_layout Plain Layout
38463
38464 \family sans
38465 \begin_inset Info
38466 type  "icon"
38467 arg   "depth-decrement"
38468 \end_inset
38469
38470
38471 \end_layout
38472
38473 \end_inset
38474 </cell>
38475 <cell alignment="center" valignment="top" usebox="none">
38476 \begin_inset Text
38477
38478 \begin_layout Plain Layout
38479
38480 \family sans
38481 Edit\SpecialChar \menuseparator
38482 Decrease
38483 \begin_inset space ~
38484 \end_inset
38485
38486 List
38487 \begin_inset space ~
38488 \end_inset
38489
38490 Depth
38491 \end_layout
38492
38493 \end_inset
38494 </cell>
38495 </row>
38496 <row interlinespace="2.5mm">
38497 <cell alignment="center" valignment="top" usebox="none">
38498 \begin_inset Text
38499
38500 \begin_layout Plain Layout
38501
38502 \family sans
38503 \begin_inset Info
38504 type  "icon"
38505 arg   "float-insert figure"
38506 \end_inset
38507
38508
38509 \end_layout
38510
38511 \end_inset
38512 </cell>
38513 <cell alignment="center" valignment="top" usebox="none">
38514 \begin_inset Text
38515
38516 \begin_layout Plain Layout
38517
38518 \family sans
38519 Insert\SpecialChar \menuseparator
38520 Float\SpecialChar \menuseparator
38521 Figure
38522 \end_layout
38523
38524 \end_inset
38525 </cell>
38526 </row>
38527 <row interlinespace="2.5mm">
38528 <cell alignment="center" valignment="top" usebox="none">
38529 \begin_inset Text
38530
38531 \begin_layout Plain Layout
38532
38533 \family sans
38534 \begin_inset Info
38535 type  "icon"
38536 arg   "float-insert table"
38537 \end_inset
38538
38539
38540 \end_layout
38541
38542 \end_inset
38543 </cell>
38544 <cell alignment="center" valignment="top" usebox="none">
38545 \begin_inset Text
38546
38547 \begin_layout Plain Layout
38548
38549 \family sans
38550 Insert\SpecialChar \menuseparator
38551 Float\SpecialChar \menuseparator
38552 Table
38553 \end_layout
38554
38555 \end_inset
38556 </cell>
38557 </row>
38558 <row interlinespace="2.5mm">
38559 <cell alignment="center" valignment="top" usebox="none">
38560 \begin_inset Text
38561
38562 \begin_layout Plain Layout
38563
38564 \family sans
38565 \begin_inset Info
38566 type  "icon"
38567 arg   "label-insert"
38568 \end_inset
38569
38570
38571 \end_layout
38572
38573 \end_inset
38574 </cell>
38575 <cell alignment="center" valignment="top" usebox="none">
38576 \begin_inset Text
38577
38578 \begin_layout Plain Layout
38579
38580 \family sans
38581 Insert\SpecialChar \menuseparator
38582 Label
38583 \end_layout
38584
38585 \end_inset
38586 </cell>
38587 </row>
38588 <row interlinespace="2.5mm">
38589 <cell alignment="center" valignment="top" usebox="none">
38590 \begin_inset Text
38591
38592 \begin_layout Plain Layout
38593
38594 \family sans
38595 \begin_inset Info
38596 type  "icon"
38597 arg   "dialog-show-new-inset ref"
38598 \end_inset
38599
38600
38601 \end_layout
38602
38603 \end_inset
38604 </cell>
38605 <cell alignment="center" valignment="top" usebox="none">
38606 \begin_inset Text
38607
38608 \begin_layout Plain Layout
38609
38610 \family sans
38611 Insert\SpecialChar \menuseparator
38612 Cross-Reference
38613 \end_layout
38614
38615 \end_inset
38616 </cell>
38617 </row>
38618 <row interlinespace="2.5mm">
38619 <cell alignment="center" valignment="top" usebox="none">
38620 \begin_inset Text
38621
38622 \begin_layout Plain Layout
38623
38624 \family sans
38625 \begin_inset Info
38626 type  "icon"
38627 arg   "dialog-show-new-inset citation"
38628 \end_inset
38629
38630
38631 \end_layout
38632
38633 \end_inset
38634 </cell>
38635 <cell alignment="center" valignment="top" usebox="none">
38636 \begin_inset Text
38637
38638 \begin_layout Plain Layout
38639
38640 \family sans
38641 Insert\SpecialChar \menuseparator
38642 Citation
38643 \end_layout
38644
38645 \end_inset
38646 </cell>
38647 </row>
38648 <row interlinespace="2.5mm">
38649 <cell alignment="center" valignment="top" usebox="none">
38650 \begin_inset Text
38651
38652 \begin_layout Plain Layout
38653
38654 \family sans
38655 \begin_inset Info
38656 type  "icon"
38657 arg   "index-insert"
38658 \end_inset
38659
38660
38661 \end_layout
38662
38663 \end_inset
38664 </cell>
38665 <cell alignment="center" valignment="top" usebox="none">
38666 \begin_inset Text
38667
38668 \begin_layout Plain Layout
38669
38670 \family sans
38671 Insert\SpecialChar \menuseparator
38672 Index
38673 \begin_inset space ~
38674 \end_inset
38675
38676 Entry
38677 \end_layout
38678
38679 \end_inset
38680 </cell>
38681 </row>
38682 <row interlinespace="2.5mm">
38683 <cell alignment="center" valignment="top" usebox="none">
38684 \begin_inset Text
38685
38686 \begin_layout Plain Layout
38687
38688 \family sans
38689 \begin_inset Info
38690 type  "icon"
38691 arg   "nomencl-insert"
38692 \end_inset
38693
38694
38695 \end_layout
38696
38697 \end_inset
38698 </cell>
38699 <cell alignment="center" valignment="top" usebox="none">
38700 \begin_inset Text
38701
38702 \begin_layout Plain Layout
38703
38704 \family sans
38705 Insert\SpecialChar \menuseparator
38706 Nomenclature
38707 \begin_inset space ~
38708 \end_inset
38709
38710 Entry
38711 \end_layout
38712
38713 \end_inset
38714 </cell>
38715 </row>
38716 <row interlinespace="2.5mm">
38717 <cell alignment="center" valignment="top" usebox="none">
38718 \begin_inset Text
38719
38720 \begin_layout Plain Layout
38721
38722 \family sans
38723 \begin_inset Info
38724 type  "icon"
38725 arg   "footnote-insert"
38726 \end_inset
38727
38728
38729 \end_layout
38730
38731 \end_inset
38732 </cell>
38733 <cell alignment="center" valignment="top" usebox="none">
38734 \begin_inset Text
38735
38736 \begin_layout Plain Layout
38737
38738 \family sans
38739 Insert\SpecialChar \menuseparator
38740 Footnote
38741 \end_layout
38742
38743 \end_inset
38744 </cell>
38745 </row>
38746 <row interlinespace="2.5mm">
38747 <cell alignment="center" valignment="top" usebox="none">
38748 \begin_inset Text
38749
38750 \begin_layout Plain Layout
38751
38752 \family sans
38753 \begin_inset Info
38754 type  "icon"
38755 arg   "marginalnote-insert"
38756 \end_inset
38757
38758
38759 \end_layout
38760
38761 \end_inset
38762 </cell>
38763 <cell alignment="center" valignment="top" usebox="none">
38764 \begin_inset Text
38765
38766 \begin_layout Plain Layout
38767
38768 \family sans
38769 Insert\SpecialChar \menuseparator
38770 Marginal
38771 \begin_inset space ~
38772 \end_inset
38773
38774 Note
38775 \end_layout
38776
38777 \end_inset
38778 </cell>
38779 </row>
38780 <row interlinespace="2.5mm">
38781 <cell alignment="center" valignment="top" usebox="none">
38782 \begin_inset Text
38783
38784 \begin_layout Plain Layout
38785
38786 \family sans
38787 \begin_inset Info
38788 type  "icon"
38789 arg   "note-insert"
38790 \end_inset
38791
38792
38793 \end_layout
38794
38795 \end_inset
38796 </cell>
38797 <cell alignment="center" valignment="top" usebox="none">
38798 \begin_inset Text
38799
38800 \begin_layout Plain Layout
38801
38802 \family sans
38803 Insert\SpecialChar \menuseparator
38804 Note\SpecialChar \menuseparator
38805 L
38806 \begin_inset ERT
38807 status collapsed
38808
38809 \begin_layout Plain Layout
38810
38811 {}
38812 \end_layout
38813
38814 \end_inset
38815
38816 yX
38817 \begin_inset space ~
38818 \end_inset
38819
38820 Note
38821 \end_layout
38822
38823 \end_inset
38824 </cell>
38825 </row>
38826 <row interlinespace="2.5mm">
38827 <cell alignment="center" valignment="top" usebox="none">
38828 \begin_inset Text
38829
38830 \begin_layout Plain Layout
38831
38832 \family sans
38833 \begin_inset Info
38834 type  "icon"
38835 arg   "box-insert Frameless"
38836 \end_inset
38837
38838
38839 \end_layout
38840
38841 \end_inset
38842 </cell>
38843 <cell alignment="center" valignment="top" usebox="none">
38844 \begin_inset Text
38845
38846 \begin_layout Plain Layout
38847
38848 \family sans
38849 Insert\SpecialChar \menuseparator
38850 Box
38851 \end_layout
38852
38853 \end_inset
38854 </cell>
38855 </row>
38856 <row interlinespace="2.5mm">
38857 <cell alignment="center" valignment="top" usebox="none">
38858 \begin_inset Text
38859
38860 \begin_layout Plain Layout
38861
38862 \family sans
38863 \begin_inset Info
38864 type  "icon"
38865 arg   "href-insert"
38866 \end_inset
38867
38868
38869 \end_layout
38870
38871 \end_inset
38872 </cell>
38873 <cell alignment="center" valignment="top" usebox="none">
38874 \begin_inset Text
38875
38876 \begin_layout Plain Layout
38877
38878 \family sans
38879 Insert\SpecialChar \menuseparator
38880 Hyperlink
38881 \end_layout
38882
38883 \end_inset
38884 </cell>
38885 </row>
38886 <row interlinespace="2.5mm">
38887 <cell alignment="center" valignment="top" usebox="none">
38888 \begin_inset Text
38889
38890 \begin_layout Plain Layout
38891
38892 \family sans
38893 \begin_inset Info
38894 type  "icon"
38895 arg   "ert-insert"
38896 \end_inset
38897
38898
38899 \end_layout
38900
38901 \end_inset
38902 </cell>
38903 <cell alignment="center" valignment="top" usebox="none">
38904 \begin_inset Text
38905
38906 \begin_layout Plain Layout
38907
38908 \family sans
38909 Insert\SpecialChar \menuseparator
38910 T
38911 \family default
38912
38913 \begin_inset ERT
38914 status collapsed
38915
38916 \begin_layout Plain Layout
38917
38918 {}
38919 \end_layout
38920
38921 \end_inset
38922
38923
38924 \family sans
38925 eX
38926 \begin_inset space ~
38927 \end_inset
38928
38929 Code
38930 \end_layout
38931
38932 \end_inset
38933 </cell>
38934 </row>
38935 <row interlinespace="2.5mm">
38936 <cell alignment="center" valignment="top" usebox="none">
38937 \begin_inset Text
38938
38939 \begin_layout Plain Layout
38940
38941 \family sans
38942 \begin_inset Info
38943 type  "icon"
38944 arg   "math-macro newmacroname newcommand"
38945 \end_inset
38946
38947
38948 \end_layout
38949
38950 \end_inset
38951 </cell>
38952 <cell alignment="center" valignment="top" usebox="none">
38953 \begin_inset Text
38954
38955 \begin_layout Plain Layout
38956
38957 \family sans
38958 Insert\SpecialChar \menuseparator
38959 Math\SpecialChar \menuseparator
38960 Macro
38961 \end_layout
38962
38963 \end_inset
38964 </cell>
38965 </row>
38966 <row interlinespace="2.5mm">
38967 <cell alignment="center" valignment="top" usebox="none">
38968 \begin_inset Text
38969
38970 \begin_layout Plain Layout
38971
38972 \family sans
38973 \begin_inset Info
38974 type  "icon"
38975 arg   "dialog-show-new-inset include"
38976 \end_inset
38977
38978
38979 \end_layout
38980
38981 \end_inset
38982 </cell>
38983 <cell alignment="center" valignment="top" usebox="none">
38984 \begin_inset Text
38985
38986 \begin_layout Plain Layout
38987
38988 \family sans
38989 Insert\SpecialChar \menuseparator
38990 File\SpecialChar \menuseparator
38991 Child
38992 \begin_inset space ~
38993 \end_inset
38994
38995 Document
38996 \end_layout
38997
38998 \end_inset
38999 </cell>
39000 </row>
39001 <row interlinespace="2.5mm">
39002 <cell alignment="center" valignment="top" usebox="none">
39003 \begin_inset Text
39004
39005 \begin_layout Plain Layout
39006
39007 \family sans
39008 \begin_inset Info
39009 type  "icon"
39010 arg   "dialog-show character"
39011 \end_inset
39012
39013
39014 \end_layout
39015
39016 \end_inset
39017 </cell>
39018 <cell alignment="center" valignment="top" usebox="none">
39019 \begin_inset Text
39020
39021 \begin_layout Plain Layout
39022
39023 \family sans
39024 Edit\SpecialChar \menuseparator
39025 Text
39026 \begin_inset space ~
39027 \end_inset
39028
39029 Style\SpecialChar \menuseparator
39030 Customized
39031 \end_layout
39032
39033 \end_inset
39034 </cell>
39035 </row>
39036 <row interlinespace="2.5mm">
39037 <cell alignment="center" valignment="top" usebox="none">
39038 \begin_inset Text
39039
39040 \begin_layout Plain Layout
39041
39042 \family sans
39043 \begin_inset Info
39044 type  "icon"
39045 arg   "layout-paragraph"
39046 \end_inset
39047
39048
39049 \end_layout
39050
39051 \end_inset
39052 </cell>
39053 <cell alignment="center" valignment="top" usebox="none">
39054 \begin_inset Text
39055
39056 \begin_layout Plain Layout
39057
39058 \family sans
39059 Edit\SpecialChar \menuseparator
39060 Paragraph
39061 \begin_inset space ~
39062 \end_inset
39063
39064 Settings
39065 \end_layout
39066
39067 \end_inset
39068 </cell>
39069 </row>
39070 <row interlinespace="2.5mm">
39071 <cell alignment="center" valignment="top" usebox="none">
39072 \begin_inset Text
39073
39074 \begin_layout Plain Layout
39075
39076 \family sans
39077 \begin_inset Info
39078 type  "icon"
39079 arg   "thesaurus-entry"
39080 \end_inset
39081
39082
39083 \end_layout
39084
39085 \end_inset
39086 </cell>
39087 <cell alignment="center" valignment="top" usebox="none">
39088 \begin_inset Text
39089
39090 \begin_layout Plain Layout
39091
39092 \family sans
39093 Tools\SpecialChar \menuseparator
39094 Thesaurus
39095 \end_layout
39096
39097 \end_inset
39098 </cell>
39099 </row>
39100 </lyxtabular>
39101
39102 \end_inset
39103
39104
39105 \end_layout
39106
39107 \begin_layout Subsection
39108 View/Update Toolbar
39109 \begin_inset Index idx
39110 status collapsed
39111
39112 \begin_layout Plain Layout
39113 Toolbar ! View / Update
39114 \end_layout
39115
39116 \end_inset
39117
39118
39119 \end_layout
39120
39121 \begin_layout Standard
39122 \begin_inset Graphics
39123         filename clipart/ViewToolbar.png
39124
39125 \end_inset
39126
39127
39128 \end_layout
39129
39130 \begin_layout Standard
39131 \begin_inset VSpace defskip
39132 \end_inset
39133
39134
39135 \end_layout
39136
39137 \begin_layout Standard
39138 The view/update toolbar as shown above contains from left to right the following
39139  buttons:
39140 \end_layout
39141
39142 \begin_layout Standard
39143 \begin_inset VSpace defskip
39144 \end_inset
39145
39146
39147 \end_layout
39148
39149 \begin_layout Standard
39150 \begin_inset Tabular
39151 <lyxtabular version="3" rows="7" columns="2">
39152 <features rotate="0" islongtable="true" longtabularalignment="center">
39153 <column alignment="left" valignment="top">
39154 <column alignment="left" valignment="top">
39155 <row interlinespace="2.5mm">
39156 <cell alignment="center" valignment="top" usebox="none">
39157 \begin_inset Text
39158
39159 \begin_layout Plain Layout
39160
39161 \family sans
39162 \begin_inset Info
39163 type  "icon"
39164 arg   "buffer-view"
39165 \end_inset
39166
39167
39168 \end_layout
39169
39170 \end_inset
39171 </cell>
39172 <cell alignment="center" valignment="top" usebox="none">
39173 \begin_inset Text
39174
39175 \begin_layout Plain Layout
39176
39177 \family sans
39178 Document\SpecialChar \menuseparator
39179 View
39180 \end_layout
39181
39182 \end_inset
39183 </cell>
39184 </row>
39185 <row interlinespace="2.5mm">
39186 <cell alignment="center" valignment="top" usebox="none">
39187 \begin_inset Text
39188
39189 \begin_layout Plain Layout
39190
39191 \family sans
39192 \begin_inset Info
39193 type  "icon"
39194 arg   "buffer-update"
39195 \end_inset
39196
39197
39198 \end_layout
39199
39200 \end_inset
39201 </cell>
39202 <cell alignment="center" valignment="top" usebox="none">
39203 \begin_inset Text
39204
39205 \begin_layout Plain Layout
39206
39207 \family sans
39208 Document\SpecialChar \menuseparator
39209 Update
39210 \end_layout
39211
39212 \end_inset
39213 </cell>
39214 </row>
39215 <row interlinespace="2.5mm">
39216 <cell alignment="center" valignment="top" usebox="none">
39217 \begin_inset Text
39218
39219 \begin_layout Plain Layout
39220
39221 \family sans
39222 \begin_inset Info
39223 type  "icon"
39224 arg   "master-buffer-view"
39225 \end_inset
39226
39227
39228 \end_layout
39229
39230 \end_inset
39231 </cell>
39232 <cell alignment="center" valignment="top" usebox="none">
39233 \begin_inset Text
39234
39235 \begin_layout Plain Layout
39236
39237 \family sans
39238 Document\SpecialChar \menuseparator
39239 Master
39240 \begin_inset space ~
39241 \end_inset
39242
39243 Document
39244 \end_layout
39245
39246 \end_inset
39247 </cell>
39248 </row>
39249 <row interlinespace="2.5mm">
39250 <cell alignment="center" valignment="top" usebox="none">
39251 \begin_inset Text
39252
39253 \begin_layout Plain Layout
39254
39255 \family sans
39256 \begin_inset Info
39257 type  "icon"
39258 arg   "master-buffer-update"
39259 \end_inset
39260
39261
39262 \end_layout
39263
39264 \end_inset
39265 </cell>
39266 <cell alignment="center" valignment="top" usebox="none">
39267 \begin_inset Text
39268
39269 \begin_layout Plain Layout
39270
39271 \family sans
39272 Document\SpecialChar \menuseparator
39273 Update
39274 \begin_inset space ~
39275 \end_inset
39276
39277 Master
39278 \begin_inset space ~
39279 \end_inset
39280
39281 Document
39282 \end_layout
39283
39284 \end_inset
39285 </cell>
39286 </row>
39287 <row interlinespace="2.5mm">
39288 <cell alignment="center" valignment="top" usebox="none">
39289 \begin_inset Text
39290
39291 \begin_layout Plain Layout
39292
39293 \family sans
39294 \begin_inset Info
39295 type  "icon"
39296 arg   "buffer-toggle-output-sync"
39297 \end_inset
39298
39299
39300 \end_layout
39301
39302 \end_inset
39303 </cell>
39304 <cell alignment="center" valignment="top" usebox="none">
39305 \begin_inset Text
39306
39307 \begin_layout Plain Layout
39308
39309 \family sans
39310 Document\SpecialChar \menuseparator
39311 Settings\SpecialChar \menuseparator
39312 Output\SpecialChar \menuseparator
39313 Synchronize with Output
39314 \end_layout
39315
39316 \end_inset
39317 </cell>
39318 </row>
39319 <row interlinespace="2.5mm">
39320 <cell alignment="center" valignment="top" usebox="none">
39321 \begin_inset Text
39322
39323 \begin_layout Plain Layout
39324 \begin_inset Graphics
39325         filename ../images/view-others.png
39326         scale 85
39327         groupId toolbarbuttons
39328
39329 \end_inset
39330
39331
39332 \family sans
39333 *
39334 \end_layout
39335
39336 \end_inset
39337 </cell>
39338 <cell alignment="center" valignment="top" usebox="none">
39339 \begin_inset Text
39340
39341 \begin_layout Plain Layout
39342
39343 \family sans
39344 Document\SpecialChar \menuseparator
39345 View (Other Formats)
39346 \end_layout
39347
39348 \end_inset
39349 </cell>
39350 </row>
39351 <row interlinespace="2.5mm">
39352 <cell alignment="center" valignment="top" usebox="none">
39353 \begin_inset Text
39354
39355 \begin_layout Plain Layout
39356 \begin_inset Graphics
39357         filename ../images/update-others.png
39358         scale 85
39359         groupId toolbarbuttons
39360
39361 \end_inset
39362
39363 *
39364 \end_layout
39365
39366 \end_inset
39367 </cell>
39368 <cell alignment="center" valignment="top" usebox="none">
39369 \begin_inset Text
39370
39371 \begin_layout Plain Layout
39372
39373 \family sans
39374 Document\SpecialChar \menuseparator
39375 Update (Other Formats)
39376 \end_layout
39377
39378 \end_inset
39379 </cell>
39380 </row>
39381 </lyxtabular>
39382
39383 \end_inset
39384
39385
39386 \end_layout
39387
39388 \begin_layout Standard
39389 * These icons might look different for you if you do not use the default
39390  icon set.
39391 \end_layout
39392
39393 \begin_layout Subsection
39394 Other Toolbars
39395 \end_layout
39396
39397 \begin_layout Standard
39398 The change tracking toolbar is explained in section
39399 \begin_inset space ~
39400 \end_inset
39401
39402
39403 \begin_inset CommandInset ref
39404 LatexCommand ref
39405 reference "sec:Change-Tracking"
39406
39407 \end_inset
39408
39409 , the table toolbar
39410 \begin_inset Index idx
39411 status collapsed
39412
39413 \begin_layout Plain Layout
39414 Toolbar ! Table
39415 \end_layout
39416
39417 \end_inset
39418
39419  in the 
39420 \emph on
39421 Embedded
39422 \begin_inset space ~
39423 \end_inset
39424
39425 Objects
39426 \emph default
39427  manual and the math macro toolbar
39428 \begin_inset Index idx
39429 status collapsed
39430
39431 \begin_layout Plain Layout
39432 Toolbar ! Macro
39433 \end_layout
39434
39435 \end_inset
39436
39437  in the 
39438 \emph on
39439 Math
39440 \emph default
39441  manual.
39442 \end_layout
39443
39444 \begin_layout Chapter
39445 The Document Settings
39446 \begin_inset CommandInset label
39447 LatexCommand label
39448 name "chap:The-Document-Settings"
39449
39450 \end_inset
39451
39452
39453 \begin_inset Index idx
39454 status collapsed
39455
39456 \begin_layout Plain Layout
39457 Document ! Settings
39458 \end_layout
39459
39460 \end_inset
39461
39462
39463 \end_layout
39464
39465 \begin_layout Standard
39466 The 
39467 \family sans
39468 Document
39469 \begin_inset space ~
39470 \end_inset
39471
39472 Setting
39473 \family default
39474 s dialog contains submenus to set properties for the whole document and
39475  is called with the menu
39476 \family sans
39477  Document\SpecialChar \menuseparator
39478 Settings
39479 \family default
39480 .
39481  You can save your document settings as default with the
39482 \family sans
39483  Save as Document Defaults
39484 \family default
39485  button in any dialog.
39486  This will create a template named 
39487 \family typewriter
39488 defaults.lyx
39489 \family default
39490  which is automatically loaded by LyX when you create a new document without
39491  using a template.
39492 \end_layout
39493
39494 \begin_layout Standard
39495 The button 
39496 \family sans
39497 Use Class Defaults
39498 \family default
39499  resets the document settings to the default of the document class.
39500  This affects mostly class options, the page layout and Numbering & TOC.
39501 \end_layout
39502
39503 \begin_layout Standard
39504 The different submenus of the dialog are explained in the following sections.
39505  There are so many document settings available that it might take a while
39506  to find the one you are looking for.
39507  To find a setting quicker, you can use the search field which is above
39508  the submenus of the dialog.
39509  If you search e.
39510 \begin_inset space \thinspace{}
39511 \end_inset
39512
39513 g.
39514 \begin_inset space \space{}
39515 \end_inset
39516
39517 for 
39518 \begin_inset Quotes eld
39519 \end_inset
39520
39521 page
39522 \begin_inset Quotes erd
39523 \end_inset
39524
39525 , you will see that some submenus will be grayed-out and disabled.
39526  Only the submenus with page settings stay enabled.
39527  The found page settings are labeled red in these submenus.
39528 \end_layout
39529
39530 \begin_layout Section
39531 Document Class
39532 \end_layout
39533
39534 \begin_layout Standard
39535 Here you set the document class, class options, a graphics driver, and a
39536  master document.
39537  Document classes are described in section
39538 \begin_inset space ~
39539 \end_inset
39540
39541
39542 \begin_inset CommandInset ref
39543 LatexCommand ref
39544 reference "sec:Document-Classes"
39545
39546 \end_inset
39547
39548 .
39549  
39550 \end_layout
39551
39552 \begin_layout Standard
39553 With the button 
39554 \family sans
39555 Local
39556 \begin_inset space ~
39557 \end_inset
39558
39559 Layout
39560 \family default
39561  you can load you own layout-file, that is not in LyX's 
39562 \emph on
39563 layouts
39564 \emph default
39565  folder and thus not recognized by LyX as a layout for a document class.
39566  For more about layout-files, see the chapter 
39567 \emph on
39568 Installing New Document Classes, Types of Layout Files
39569 \emph default
39570  of the 
39571 \emph on
39572 Customization
39573 \emph default
39574  Handbook.
39575 \end_layout
39576
39577 \begin_layout Standard
39578 Some classes use special class options by default.
39579  If this is the case, they are listed in the field 
39580 \family sans
39581 Predefined
39582 \family default
39583  and you can decide to use them or not.
39584  If you do not know exactly what the default class options are for, it is
39585  recommended you leave them untouched.
39586  The 
39587 \family sans
39588 Graphics driver
39589 \family default
39590  is used for LaTeX's graphics, color and page layout packages.
39591  If using 
39592 \family sans
39593 Default
39594 \family default
39595 , the default driver for the LaTeX-packages is used.
39596  It is recommended that you use the default unless you know what you are
39597  doing.
39598 \begin_inset Foot
39599 status collapsed
39600
39601 \begin_layout Plain Layout
39602 When you want to use one of the following drivers
39603 \begin_inset Newline newline
39604 \end_inset
39605
39606
39607 \family sans
39608 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
39609 \family default
39610
39611 \begin_inset Newline newline
39612 \end_inset
39613
39614 you first have to activate them in your LaTeX distribution, see section
39615  
39616 \emph on
39617 Driver support
39618 \emph default
39619  in 
39620 \begin_inset CommandInset href
39621 LatexCommand href
39622 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
39623
39624 \end_inset
39625
39626 .
39627 \end_layout
39628
39629 \end_inset
39630
39631
39632 \end_layout
39633
39634 \begin_layout Standard
39635 Specifying a 
39636 \family sans
39637 Master
39638 \family default
39639  document is necessary if the current document is a child or subdocument.
39640  The master document will be used by LyX in the background if the child
39641  document is opened without its master.
39642  This way child documents are always compilable.
39643  More about master and child documents is explained in the section 
39644 \emph on
39645 Child Documents
39646 \emph default
39647  of the 
39648 \emph on
39649 Embedded
39650 \begin_inset space ~
39651 \end_inset
39652
39653 Objects
39654 \emph default
39655  manual.
39656 \end_layout
39657
39658 \begin_layout Standard
39659 There is also an option to suppress the date and one to use the LaTeX-package
39660  
39661 \series bold
39662 refstyle
39663 \series default
39664  instead of 
39665 \series bold
39666 prettyref
39667 \series default
39668
39669 \begin_inset Index idx
39670 status collapsed
39671
39672 \begin_layout Plain Layout
39673 LaTeX-packages ! prettyref
39674 \end_layout
39675
39676 \end_inset
39677
39678
39679 \begin_inset Index idx
39680 status collapsed
39681
39682 \begin_layout Plain Layout
39683 LaTeX-packages ! refstyle
39684 \end_layout
39685
39686 \end_inset
39687
39688  for cross-references, see section
39689 \begin_inset space ~
39690 \end_inset
39691
39692
39693 \begin_inset CommandInset ref
39694 LatexCommand ref
39695 reference "sec:Cross-References"
39696
39697 \end_inset
39698
39699 .
39700 \end_layout
39701
39702 \begin_layout Section
39703 Child Documents
39704 \end_layout
39705
39706 \begin_layout Standard
39707 This submenu is only visible when your document includes child documents.
39708  Please refer to the section 
39709 \emph on
39710 Child
39711 \begin_inset space ~
39712 \end_inset
39713
39714 Documents
39715 \emph default
39716  of the 
39717 \emph on
39718 Embedded
39719 \begin_inset space ~
39720 \end_inset
39721
39722 Objects
39723 \emph default
39724  manual for details.
39725 \end_layout
39726
39727 \begin_layout Section
39728 Modules
39729 \end_layout
39730
39731 \begin_layout Standard
39732 Modules are explained in section
39733 \begin_inset space ~
39734 \end_inset
39735
39736
39737 \begin_inset CommandInset ref
39738 LatexCommand ref
39739 reference "sub:Modules"
39740
39741 \end_inset
39742
39743 .
39744 \end_layout
39745
39746 \begin_layout Section
39747 Local Layout
39748 \end_layout
39749
39750 \begin_layout Standard
39751 See section
39752 \begin_inset space ~
39753 \end_inset
39754
39755
39756 \begin_inset CommandInset ref
39757 LatexCommand ref
39758 reference "sub:Local-Layout"
39759
39760 \end_inset
39761
39762  for a description.
39763 \end_layout
39764
39765 \begin_layout Section
39766 Fonts
39767 \end_layout
39768
39769 \begin_layout Standard
39770 The document font settings are described in section
39771 \begin_inset space ~
39772 \end_inset
39773
39774
39775 \begin_inset CommandInset ref
39776 LatexCommand ref
39777 reference "sec:Fonts-and-Text"
39778
39779 \end_inset
39780
39781 .
39782 \end_layout
39783
39784 \begin_layout Section
39785 Text Layout
39786 \end_layout
39787
39788 \begin_layout Standard
39789 You can specify if paragraphs should be separated by 
39790 \family sans
39791 Indentation
39792 \family default
39793  or by 
39794 \family sans
39795 Vertical space
39796 \family default
39797 .
39798  The 
39799 \family sans
39800 Line
39801 \begin_inset space ~
39802 \end_inset
39803
39804 spacing
39805 \family default
39806  and whether it should be a 
39807 \family sans
39808 Two-column
39809 \begin_inset space ~
39810 \end_inset
39811
39812 document
39813 \family default
39814  can also be specified here.
39815 \end_layout
39816
39817 \begin_layout Standard
39818 Note that LyX will not show two columns or the specified line spacing on
39819  screen.
39820  That would be impractical, often unreadable, and is not part of the WYSIWYM
39821  concept.
39822  However, it will be as you specified in the output.
39823 \end_layout
39824
39825 \begin_layout Section
39826 Page Layout
39827 \end_layout
39828
39829 \begin_layout Standard
39830 This dialog is described in sections
39831 \begin_inset space ~
39832 \end_inset
39833
39834
39835 \begin_inset CommandInset ref
39836 LatexCommand ref
39837 reference "sub:Paper-Size,-Orientation"
39838
39839 \end_inset
39840
39841  and 
39842 \begin_inset CommandInset ref
39843 LatexCommand ref
39844 reference "sub:Document-Layout"
39845
39846 \end_inset
39847
39848 .
39849 \end_layout
39850
39851 \begin_layout Section
39852 Page Margins
39853 \end_layout
39854
39855 \begin_layout Standard
39856 Here you can adjust the page margins as described in section
39857 \begin_inset space ~
39858 \end_inset
39859
39860
39861 \begin_inset CommandInset ref
39862 LatexCommand ref
39863 reference "sub:Margins"
39864
39865 \end_inset
39866
39867 .
39868 \end_layout
39869
39870 \begin_layout Section
39871 Language
39872 \begin_inset CommandInset label
39873 LatexCommand label
39874 name "sec:Language-encodings"
39875
39876 \end_inset
39877
39878
39879 \begin_inset Index idx
39880 status collapsed
39881
39882 \begin_layout Plain Layout
39883 Language ! Encoding
39884 \end_layout
39885
39886 \end_inset
39887
39888
39889 \end_layout
39890
39891 \begin_layout Standard
39892 The document language and quote styles are set here.
39893  The encoding specifies how the document content is exported to LaTeX (the
39894  LyX file is always encoded in utf8).
39895  All characters that cannot be encoded using the specified encoding will
39896  be exported as LaTeX-commands (this can fail if a LaTeX-command is not
39897  known for a particular character).
39898 \begin_inset Foot
39899 status collapsed
39900
39901 \begin_layout Plain Layout
39902 The known commands are defined in a text file (
39903 \emph on
39904 unicodesymbols
39905 \emph default
39906 ).
39907  You can add commands for unknown symbols to that file yourself, see the
39908  
39909 \emph on
39910 Customization
39911 \emph default
39912  manual for details.
39913 \end_layout
39914
39915 \end_inset
39916
39917
39918 \end_layout
39919
39920 \begin_layout Standard
39921 If you use the option 
39922 \family sans
39923 Language Default
39924 \family default
39925 , LyX determines the encoding of a text part from the language of this text.
39926  If the document contains text in more than one language you may get more
39927  than one encoding in the LaTeX file.
39928  If you do not use this option then the complete document will always use
39929  exactly one encoding.
39930  Checking this option is the preferred setting.
39931 \end_layout
39932
39933 \begin_layout Standard
39934 LyX also supports Unicode output, which is particularly useful if you need
39935  lots of special symbols or non-alphabetic scripts, respectively.
39936  If you want to use this (and your LaTeX installation supports Unicode),
39937  choose one of the four utf8 variants from the list below.
39938  Unfortunately the Unicode support of standard LaTeX is quite incomplete,
39939  so it is not uncommon that a file with lots of Unicode symbols works fine
39940  with 
39941 \family sans
39942 Language Default
39943 \family default
39944  (when LyX uses its list of known LaTeX-commands), but does not work with
39945  a fixed utf8 encoding (when the list of known LaTeX-commands is not used,
39946  because all Unicode symbols can be encoded in utf8).
39947  The situation is much better with XeTeX and LuaTeX, two new alternative
39948  engines to standard LaTeX.
39949  Both engines support Unicode natively.
39950  LyX now also supports these two engines (via the output formats 
39951 \family sans
39952 PDF
39953 \begin_inset space ~
39954 \end_inset
39955
39956 (XeTe
39957 \begin_inset ERT
39958 status collapsed
39959
39960 \begin_layout Plain Layout
39961
39962 {}
39963 \end_layout
39964
39965 \end_inset
39966
39967 X)
39968 \family default
39969
39970 \family sans
39971 PDF
39972 \begin_inset space ~
39973 \end_inset
39974
39975 (LuaTe
39976 \begin_inset ERT
39977 status collapsed
39978
39979 \begin_layout Plain Layout
39980
39981 {}
39982 \end_layout
39983
39984 \end_inset
39985
39986 X)
39987 \family default
39988  and 
39989 \family sans
39990 DVI
39991 \begin_inset space ~
39992 \end_inset
39993
39994 (LuaTeX)
39995 \family default
39996 , see section
39997 \begin_inset space ~
39998 \end_inset
39999
40000
40001 \begin_inset CommandInset ref
40002 LatexCommand ref
40003 reference "sub:Output-file-formats"
40004
40005 \end_inset
40006
40007 ).
40008  So if you are using many special or accented characters and 
40009 \family sans
40010 Language Default
40011 \family default
40012  fails, you might try out one of these new engines.
40013 \end_layout
40014
40015 \begin_layout Standard
40016 The 
40017 \family sans
40018 Language
40019 \begin_inset space ~
40020 \end_inset
40021
40022 package
40023 \family default
40024  determines the LaTeX-package that is used for hyphenation and the translation
40025  of strings like 
40026 \begin_inset Quotes eld
40027 \end_inset
40028
40029 Part
40030 \begin_inset Quotes erd
40031 \end_inset
40032
40033 .
40034  The possible settings are:
40035 \end_layout
40036
40037 \begin_layout Description
40038 Default uses the language package that is selected in
40039 \family sans
40040  Tools\SpecialChar \menuseparator
40041 Preferences\SpecialChar \menuseparator
40042 Language Settings
40043 \family default
40044  (see section
40045 \begin_inset space ~
40046 \end_inset
40047
40048
40049 \begin_inset CommandInset ref
40050 LatexCommand ref
40051 reference "sub:Prefs-Language"
40052
40053 \end_inset
40054
40055 ).
40056 \end_layout
40057
40058 \begin_layout Description
40059 Automatic selects the most suitable language package for the view/export
40060  format you will use.
40061  In many cases this will be 
40062 \series bold
40063 babel
40064 \series default
40065
40066 \begin_inset Index idx
40067 status collapsed
40068
40069 \begin_layout Plain Layout
40070 LaTeX-packages ! babel
40071 \end_layout
40072
40073 \end_inset
40074
40075 .
40076  If the newer package 
40077 \series bold
40078 polyglossia
40079 \series default
40080
40081 \begin_inset Index idx
40082 status collapsed
40083
40084 \begin_layout Plain Layout
40085 LaTeX-packages ! polyglossia
40086 \end_layout
40087
40088 \end_inset
40089
40090  is more appropriate (is the case when using XeTeX and/or non-TeX fonts),
40091  this package will be used instead of 
40092 \series bold
40093 babel
40094 \series default
40095 .
40096 \end_layout
40097
40098 \begin_layout Description
40099 Always
40100 \begin_inset space ~
40101 \end_inset
40102
40103 Babel uses 
40104 \series bold
40105 babel
40106 \series default
40107  even if 
40108 \series bold
40109 polyglossia
40110 \series default
40111  would be more appropriate.
40112 \end_layout
40113
40114 \begin_layout Description
40115 Custom allows you to specify a language package command of your choice.
40116  For example if you want to use a language-specific package like 
40117 \series bold
40118 ngerman
40119 \series default
40120  (for German texts), type in
40121 \series bold
40122
40123 \begin_inset Newline newline
40124 \end_inset
40125
40126
40127 \backslash
40128 usepackage{ngerman}
40129 \end_layout
40130
40131 \begin_layout Description
40132 None will not use a language package.
40133  This is necessary for some document classes for scientific articles.
40134 \end_layout
40135
40136 \begin_layout Standard
40137 Here is a list with the important encodings:
40138 \end_layout
40139
40140 \begin_layout Description
40141 Language
40142 \begin_inset space ~
40143 \end_inset
40144
40145 Default
40146 \begin_inset space ~
40147 \end_inset
40148
40149 (no
40150 \begin_inset space ~
40151 \end_inset
40152
40153 inputenc) Same as 
40154 \family sans
40155 Language Default
40156 \family default
40157 , but the LaTeX-package 
40158 \series bold
40159 inputenc
40160 \series default
40161
40162 \begin_inset Index idx
40163 status collapsed
40164
40165 \begin_layout Plain Layout
40166 LaTeX-packages ! inputenc
40167 \end_layout
40168
40169 \end_inset
40170
40171  is not used.
40172  When using this, you probably need to load some additional packages manually
40173  in the preamble and specify the used encoding for text parts in foreign
40174  languages in TeX code.
40175 \end_layout
40176
40177 \begin_layout Description
40178 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
40179  LyX converts all other characters into LaTeX commands, which may result
40180  in a big file when lots of LaTeX-commands are needed.
40181 \end_layout
40182
40183 \begin_layout Description
40184 Arabic
40185 \begin_inset space ~
40186 \end_inset
40187
40188 (CP
40189 \begin_inset space ~
40190 \end_inset
40191
40192 1256) MS Windows code page for Arabic and Farsi
40193 \end_layout
40194
40195 \begin_layout Description
40196 Arabic
40197 \begin_inset space ~
40198 \end_inset
40199
40200 (ISO
40201 \begin_inset space ~
40202 \end_inset
40203
40204 8859-6) for Arabic and Farsi
40205 \end_layout
40206
40207 \begin_layout Description
40208 Armenian
40209 \begin_inset space ~
40210 \end_inset
40211
40212 (ArmSCII8) for Armenian
40213 \end_layout
40214
40215 \begin_layout Description
40216 Baltic
40217 \begin_inset space ~
40218 \end_inset
40219
40220 (CP
40221 \begin_inset space ~
40222 \end_inset
40223
40224 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
40225  as the ISO-8859-13 encoding
40226 \end_layout
40227
40228 \begin_layout Description
40229 Baltic
40230 \begin_inset space ~
40231 \end_inset
40232
40233 (ISO
40234 \begin_inset space ~
40235 \end_inset
40236
40237 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
40238  encoding
40239 \end_layout
40240
40241 \begin_layout Description
40242 Baltic
40243 \begin_inset space ~
40244 \end_inset
40245
40246 (ISO
40247 \begin_inset space ~
40248 \end_inset
40249
40250 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
40251  ISO-8859-13 encoding
40252 \end_layout
40253
40254 \begin_layout Description
40255 Central
40256 \begin_inset space ~
40257 \end_inset
40258
40259 European
40260 \begin_inset space ~
40261 \end_inset
40262
40263 (CP
40264 \begin_inset space ~
40265 \end_inset
40266
40267 1250) MS Windows code page for ISO
40268 \begin_inset space ~
40269 \end_inset
40270
40271 8859-2 (latin2)
40272 \end_layout
40273
40274 \begin_layout Description
40275 Central
40276 \begin_inset space ~
40277 \end_inset
40278
40279 European
40280 \begin_inset space ~
40281 \end_inset
40282
40283 (ISO
40284 \begin_inset space ~
40285 \end_inset
40286
40287 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
40288  Romanian, Slovak and Slovenian
40289 \end_layout
40290
40291 \begin_layout Description
40292 Chinese
40293 \begin_inset space ~
40294 \end_inset
40295
40296 (simplified)
40297 \begin_inset space ~
40298 \end_inset
40299
40300 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
40301  this encoding is officially replaced by the encoding GB18030, as GB18030
40302  is not available for LaTeX you should try to use the encoding Unicode
40303 \begin_inset space ~
40304 \end_inset
40305
40306 (CJK)
40307 \begin_inset space ~
40308 \end_inset
40309
40310 (utf8)
40311 \end_layout
40312
40313 \begin_layout Description
40314 Chinese
40315 \begin_inset space ~
40316 \end_inset
40317
40318 (simplified)
40319 \begin_inset space ~
40320 \end_inset
40321
40322 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
40323  except for the Euro currency sign, since 2001 this encoding is officially
40324  replaced by the encoding GB18030, as GB18030 is not available for LaTeX
40325  you should try to use the encoding Unicode
40326 \begin_inset space ~
40327 \end_inset
40328
40329 (CJK)
40330 \begin_inset space ~
40331 \end_inset
40332
40333 (utf8)
40334 \end_layout
40335
40336 \begin_layout Description
40337 Chinese
40338 \begin_inset space ~
40339 \end_inset
40340
40341 (traditional)
40342 \begin_inset space ~
40343 \end_inset
40344
40345 (EUC-TW) for traditional Chinese
40346 \end_layout
40347
40348 \begin_layout Description
40349 Cyrillic
40350 \begin_inset space ~
40351 \end_inset
40352
40353 (CP
40354 \begin_inset space ~
40355 \end_inset
40356
40357 1251) MS Windows code page for Cyrillic
40358 \end_layout
40359
40360 \begin_layout Description
40361 Cyrillic
40362 \begin_inset space ~
40363 \end_inset
40364
40365 (ISO
40366 \begin_inset space ~
40367 \end_inset
40368
40369 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
40370 \end_layout
40371
40372 \begin_layout Description
40373 Cyrillic
40374 \begin_inset space ~
40375 \end_inset
40376
40377 (KOI8-R) standard Cyrillic especially for Russian
40378 \end_layout
40379
40380 \begin_layout Description
40381 Cyrillic
40382 \begin_inset space ~
40383 \end_inset
40384
40385 (KOI8-U) Cyrillic for Ukrainian
40386 \end_layout
40387
40388 \begin_layout Description
40389 Cyrillic
40390 \begin_inset space ~
40391 \end_inset
40392
40393 (pt
40394 \begin_inset space ~
40395 \end_inset
40396
40397 154) Cyrillic for Kazakh
40398 \end_layout
40399
40400 \begin_layout Description
40401 Greek
40402 \begin_inset space ~
40403 \end_inset
40404
40405 (ISO
40406 \begin_inset space ~
40407 \end_inset
40408
40409 8859-7) for Greek
40410 \end_layout
40411
40412 \begin_layout Description
40413 Hebrew
40414 \begin_inset space ~
40415 \end_inset
40416
40417 (CP
40418 \begin_inset space ~
40419 \end_inset
40420
40421 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
40422 \end_layout
40423
40424 \begin_layout Description
40425 Hebrew
40426 \begin_inset space ~
40427 \end_inset
40428
40429 (ISO
40430 \begin_inset space ~
40431 \end_inset
40432
40433 8859-8) for Hebrew
40434 \end_layout
40435
40436 \begin_layout Description
40437 Japanese
40438 \begin_inset space ~
40439 \end_inset
40440
40441 (CJK)
40442 \begin_inset space ~
40443 \end_inset
40444
40445 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
40446 \series bold
40447 CJK
40448 \series default
40449
40450 \begin_inset Index idx
40451 status collapsed
40452
40453 \begin_layout Plain Layout
40454 LaTeX-packages ! CJK
40455 \end_layout
40456
40457 \end_inset
40458
40459 , when using this, set the document language to 
40460 \family sans
40461 Japanese (CJK)
40462 \end_layout
40463
40464 \begin_layout Description
40465 Japanese
40466 \begin_inset space ~
40467 \end_inset
40468
40469 (CJK)
40470 \begin_inset space ~
40471 \end_inset
40472
40473 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
40474 \series bold
40475 CJK
40476 \series default
40477 , when using this, set the document language to 
40478 \family sans
40479 Japanese
40480 \begin_inset space ~
40481 \end_inset
40482
40483 (CJK)
40484 \end_layout
40485
40486 \begin_layout Description
40487 Japanese
40488 \begin_inset space ~
40489 \end_inset
40490
40491 (non-CJK)
40492 \begin_inset space ~
40493 \end_inset
40494
40495 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
40496 \series bold
40497 japanese
40498 \series default
40499
40500 \begin_inset Index idx
40501 status collapsed
40502
40503 \begin_layout Plain Layout
40504 LaTeX-packages ! japanese
40505 \end_layout
40506
40507 \end_inset
40508
40509 , when using this, set the document language to 
40510 \family sans
40511 Japanese
40512 \end_layout
40513
40514 \begin_layout Description
40515 Japanese
40516 \begin_inset space ~
40517 \end_inset
40518
40519 (non-CJK)
40520 \begin_inset space ~
40521 \end_inset
40522
40523 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
40524 \series bold
40525 japanese
40526 \series default
40527 , when using this, set the document language to 
40528 \family sans
40529 Japanese
40530 \end_layout
40531
40532 \begin_layout Description
40533 Japanese
40534 \begin_inset space ~
40535 \end_inset
40536
40537 (non-CJK)
40538 \begin_inset space ~
40539 \end_inset
40540
40541 (SJIS) SJIS encoding for Japanese, uses the LaTeX-package 
40542 \series bold
40543 japanese
40544 \series default
40545 , when using this, set the document language to 
40546 \family sans
40547 Japanese
40548 \end_layout
40549
40550 \begin_layout Description
40551 Korean
40552 \begin_inset space ~
40553 \end_inset
40554
40555 (EUC-KR) for Korean
40556 \end_layout
40557
40558 \begin_layout Description
40559 Southern
40560 \begin_inset space ~
40561 \end_inset
40562
40563 European
40564 \begin_inset space ~
40565 \end_inset
40566
40567 (ISO
40568 \begin_inset space ~
40569 \end_inset
40570
40571 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
40572 \end_layout
40573
40574 \begin_layout Description
40575 South-Eastern
40576 \begin_inset space ~
40577 \end_inset
40578
40579 European
40580 \begin_inset space ~
40581 \end_inset
40582
40583 (ISO
40584 \begin_inset space ~
40585 \end_inset
40586
40587 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
40588  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
40589  to cover many languages and characters with diacritics
40590 \end_layout
40591
40592 \begin_layout Description
40593 Thai
40594 \begin_inset space ~
40595 \end_inset
40596
40597 (TIS
40598 \begin_inset space ~
40599 \end_inset
40600
40601 620-0) for Thai
40602 \end_layout
40603
40604 \begin_layout Description
40605 Turkish
40606 \begin_inset space ~
40607 \end_inset
40608
40609 (ISO
40610 \begin_inset space ~
40611 \end_inset
40612
40613 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
40614  Icelandic letters are replaced by Turkish ones
40615 \end_layout
40616
40617 \begin_layout Description
40618 Unicode
40619 \begin_inset space ~
40620 \end_inset
40621
40622 (CJK)
40623 \begin_inset space ~
40624 \end_inset
40625
40626 (utf8) Unicode utf8 with the LaTeX-package 
40627 \series bold
40628 CJK
40629 \series default
40630
40631 \begin_inset Index idx
40632 status collapsed
40633
40634 \begin_layout Plain Layout
40635 LaTeX-packages ! CJK
40636 \end_layout
40637
40638 \end_inset
40639
40640  (for the languages Chinese, Japanese and Korean)
40641 \end_layout
40642
40643 \begin_layout Description
40644 Unicode
40645 \begin_inset space ~
40646 \end_inset
40647
40648 (XeTeX)
40649 \begin_inset space ~
40650 \end_inset
40651
40652 (utf8) Unicode utf8 to be used with 
40653 \family sans
40654 XeTeX
40655 \family default
40656  and 
40657 \family sans
40658 LuaTeX
40659 \family default
40660 , which use Unicode directly, without the help of the LaTeX-package 
40661 \series bold
40662 inputenc
40663 \series default
40664 .
40665  LyX automatically selects this encoding if you export or preview XeTeX
40666  or LuaTeX.
40667  Normally you do not need to set this encoding manually.
40668 \end_layout
40669
40670 \begin_layout Description
40671 Unicode
40672 \begin_inset space ~
40673 \end_inset
40674
40675 (ucs-extended)
40676 \begin_inset space ~
40677 \end_inset
40678
40679 (utf8x) Unicode utf8 based on the LaTeX-package 
40680 \series bold
40681 ucs
40682 \series default
40683
40684 \begin_inset Index idx
40685 status collapsed
40686
40687 \begin_layout Plain Layout
40688 LaTeX-packages ! ucs
40689 \end_layout
40690
40691 \end_inset
40692
40693  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
40694 \end_layout
40695
40696 \begin_layout Description
40697 Unicode
40698 \begin_inset space ~
40699 \end_inset
40700
40701 (utf8) Unicode utf8 based on the LaTeX-package 
40702 \series bold
40703 inputenc
40704 \series default
40705
40706 \begin_inset Index idx
40707 status collapsed
40708
40709 \begin_layout Plain Layout
40710 LaTeX-packages ! inputenc
40711 \end_layout
40712
40713 \end_inset
40714
40715 .
40716  Currently only a limited range of characters (mainly for Latin scripts)
40717  is supported.
40718 \end_layout
40719
40720 \begin_layout Description
40721 Western
40722 \begin_inset space ~
40723 \end_inset
40724
40725 European
40726 \begin_inset space ~
40727 \end_inset
40728
40729 (CP
40730 \begin_inset space ~
40731 \end_inset
40732
40733 1252) MS Windows code page for ISO
40734 \begin_inset space ~
40735 \end_inset
40736
40737 8859-1 (latin1)
40738 \end_layout
40739
40740 \begin_layout Description
40741 Western
40742 \begin_inset space ~
40743 \end_inset
40744
40745 European
40746 \begin_inset space ~
40747 \end_inset
40748
40749 (ISO
40750 \begin_inset space ~
40751 \end_inset
40752
40753 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
40754  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
40755  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
40756  encoding instead
40757 \end_layout
40758
40759 \begin_layout Description
40760 Western
40761 \begin_inset space ~
40762 \end_inset
40763
40764 European
40765 \begin_inset space ~
40766 \end_inset
40767
40768 (ISO
40769 \begin_inset space ~
40770 \end_inset
40771
40772 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
40773  sign, the œ-ligature and some characters used for French and Finnish
40774 \end_layout
40775
40776 \begin_layout Section
40777 Colors
40778 \begin_inset Index idx
40779 status collapsed
40780
40781 \begin_layout Plain Layout
40782 Color ! main text
40783 \end_layout
40784
40785 \end_inset
40786
40787
40788 \begin_inset Index idx
40789 status collapsed
40790
40791 \begin_layout Plain Layout
40792 Color ! background
40793 \end_layout
40794
40795 \end_inset
40796
40797
40798 \begin_inset Index idx
40799 status collapsed
40800
40801 \begin_layout Plain Layout
40802 Color ! Shaded boxes
40803 \end_layout
40804
40805 \end_inset
40806
40807
40808 \begin_inset Index idx
40809 status collapsed
40810
40811 \begin_layout Plain Layout
40812 Color ! Greyed-out notes
40813 \end_layout
40814
40815 \end_inset
40816
40817
40818 \end_layout
40819
40820 \begin_layout Standard
40821 Here you can alter the font color for the 
40822 \family sans
40823 Main text
40824 \family default
40825  (default: black), for 
40826 \family sans
40827 Greyed
40828 \begin_inset space ~
40829 \end_inset
40830
40831 out notes
40832 \family default
40833  (default: light grey)for the background color for the 
40834 \family sans
40835 Page
40836 \family default
40837  (default: white) and for 
40838 \family sans
40839 Shaded
40840 \begin_inset space ~
40841 \end_inset
40842
40843 boxes
40844 \family default
40845  (default: red).
40846  The button 
40847 \family sans
40848 Reset
40849 \family default
40850  sets the color back to the default.
40851 \end_layout
40852
40853 \begin_layout Standard
40854 Clicking any button showing 
40855 \family sans
40856 Default
40857 \family default
40858  or 
40859 \family sans
40860 Change
40861 \family default
40862  opens a dialog enabling you to choose from a selection of colors or from
40863  a color-picker or to specify a color using HSL or RGB values.
40864  In the dialog you can add any color to the custom colors to select them
40865  later more quickly.
40866 \end_layout
40867
40868 \begin_layout Standard
40869 \begin_inset Note Greyedout
40870 status open
40871
40872 \begin_layout Plain Layout
40873 The colors are not shown within LyX, only in the output.
40874  (This Greyed
40875 \begin_inset space ~
40876 \end_inset
40877
40878 out note appears blue in the output.)
40879 \end_layout
40880
40881 \end_inset
40882
40883
40884 \end_layout
40885
40886 \begin_layout Standard
40887 Note, if you change the 
40888 \family sans
40889 Main
40890 \begin_inset space ~
40891 \end_inset
40892
40893 text
40894 \family default
40895  font color and use the option 
40896 \family sans
40897 Color
40898 \begin_inset space ~
40899 \end_inset
40900
40901 links
40902 \family default
40903  in the document settings under 
40904 \family sans
40905 PDF
40906 \begin_inset space ~
40907 \end_inset
40908
40909 properties
40910 \family default
40911 , you probably also need to change the link font color as described in section
40912 \begin_inset space ~
40913 \end_inset
40914
40915
40916 \begin_inset CommandInset ref
40917 LatexCommand ref
40918 reference "sec:PDF-Properties"
40919
40920 \end_inset
40921
40922 .
40923 \end_layout
40924
40925 \begin_layout Standard
40926 \begin_inset VSpace bigskip
40927 \end_inset
40928
40929
40930 \end_layout
40931
40932 \begin_layout Standard
40933 You can adapt the 
40934 \family sans
40935 Main
40936 \begin_inset space ~
40937 \end_inset
40938
40939 text
40940 \family default
40941  font color and the 
40942 \family sans
40943 Page
40944 \family default
40945  background for every page in your document if you use these commands as
40946  TeX
40947 \begin_inset space ~
40948 \end_inset
40949
40950 Code after a forced page break:
40951 \end_layout
40952
40953 \begin_layout Itemize
40954 For the page color:
40955 \begin_inset Newline newline
40956 \end_inset
40957
40958
40959 \series bold
40960
40961 \backslash
40962 pagecolor{color name}
40963 \end_layout
40964
40965 \begin_layout Itemize
40966 For the text color:
40967 \begin_inset Newline newline
40968 \end_inset
40969
40970
40971 \series bold
40972
40973 \backslash
40974 color{color name}
40975 \end_layout
40976
40977 \begin_layout Standard
40978 You are restricted to one of 
40979 \series bold
40980 black
40981 \series default
40982
40983 \series bold
40984 blue
40985 \series default
40986
40987 \series bold
40988 cyan
40989 \series default
40990
40991 \series bold
40992 green
40993 \series default
40994
40995 \series bold
40996 magenta
40997 \series default
40998
40999 \series bold
41000 red
41001 \series default
41002
41003 \series bold
41004 white
41005 \series default
41006  or 
41007 \series bold
41008 yellow
41009 \series default
41010  for the 
41011 \series bold
41012 color name
41013 \series default
41014  unless you have defined your own color (see the 
41015 \emph on
41016 Colored Tables
41017 \emph default
41018  section of the 
41019 \emph on
41020 Embedded
41021 \begin_inset space ~
41022 \end_inset
41023
41024 Objects
41025 \emph default
41026  Manual).
41027 \begin_inset Newline newline
41028 \end_inset
41029
41030 If you have changed a text or background color, you can use the following
41031  names to refer to them:
41032 \end_layout
41033
41034 \begin_layout Itemize
41035 For the 
41036 \family sans
41037 Page
41038 \family default
41039  background color:
41040 \begin_inset Newline newline
41041 \end_inset
41042
41043
41044 \series bold
41045 page_backgroundcolor
41046 \end_layout
41047
41048 \begin_layout Itemize
41049 For the 
41050 \family sans
41051 Main
41052 \begin_inset space ~
41053 \end_inset
41054
41055 text
41056 \family default
41057  color:
41058 \begin_inset Newline newline
41059 \end_inset
41060
41061
41062 \series bold
41063 document_fontcolor
41064 \end_layout
41065
41066 \begin_layout Itemize
41067 For the 
41068 \family sans
41069 Shaded
41070 \begin_inset space ~
41071 \end_inset
41072
41073 boxes
41074 \family default
41075  background color:
41076 \begin_inset Newline newline
41077 \end_inset
41078
41079
41080 \series bold
41081 shadecolor
41082 \end_layout
41083
41084 \begin_layout Itemize
41085 For the 
41086 \family sans
41087 Greyed
41088 \begin_inset space ~
41089 \end_inset
41090
41091 out notes
41092 \family default
41093  text color:
41094 \begin_inset Newline newline
41095 \end_inset
41096
41097
41098 \series bold
41099 note_fontcolor
41100 \end_layout
41101
41102 \begin_layout Standard
41103 To see how to define and use custom colors, see section Colored
41104 \begin_inset space ~
41105 \end_inset
41106
41107 Cells of the Embedded
41108 \begin_inset space ~
41109 \end_inset
41110
41111 Objects manual.
41112 \end_layout
41113
41114 \begin_layout Section
41115 Numbering & TOC
41116 \end_layout
41117
41118 \begin_layout Standard
41119 Here you can adjust the 
41120 \family sans
41121 Numbering
41122 \family default
41123  depth of section headings and the section depth in the 
41124 \family sans
41125 Table of Contents
41126 \family default
41127  as described in section
41128 \begin_inset space ~
41129 \end_inset
41130
41131
41132 \begin_inset CommandInset ref
41133 LatexCommand ref
41134 reference "sub:Numbering-depth"
41135
41136 \end_inset
41137
41138 .
41139 \end_layout
41140
41141 \begin_layout Section
41142 Bibliography
41143 \end_layout
41144
41145 \begin_layout Standard
41146 Here you can specify if a citation style using the LaTeX packages 
41147 \series bold
41148 natbib
41149 \series default
41150
41151 \begin_inset Index idx
41152 status collapsed
41153
41154 \begin_layout Plain Layout
41155 LaTeX-packages ! natbib
41156 \end_layout
41157
41158 \end_inset
41159
41160  or 
41161 \series bold
41162 jurabib
41163 \series default
41164
41165 \begin_inset Index idx
41166 status collapsed
41167
41168 \begin_layout Plain Layout
41169 LaTeX-packages ! jurabib
41170 \end_layout
41171
41172 \end_inset
41173
41174  should be used.
41175  You can enable a 
41176 \family sans
41177 Sectioned bibliography
41178 \family default
41179  using the LaTeX package 
41180 \series bold
41181 bibtopic
41182 \series default
41183
41184 \begin_inset Index idx
41185 status collapsed
41186
41187 \begin_layout Plain Layout
41188 LaTeX-packages ! bibtopic
41189 \end_layout
41190
41191 \end_inset
41192
41193  and you can select a 
41194 \family sans
41195 Processor
41196 \family default
41197  for the generation of the bibliography.
41198  For a further description see section
41199 \begin_inset space ~
41200 \end_inset
41201
41202
41203 \begin_inset CommandInset ref
41204 LatexCommand ref
41205 reference "sec:Bibliography"
41206
41207 \end_inset
41208
41209 .
41210 \end_layout
41211
41212 \begin_layout Section
41213 Indexes
41214 \end_layout
41215
41216 \begin_layout Standard
41217 Here you can define the 
41218 \family sans
41219 Processor
41220 \family default
41221  that will generate your index and you can define additional indexes (see
41222  section
41223 \begin_inset space ~
41224 \end_inset
41225
41226
41227 \begin_inset CommandInset ref
41228 LatexCommand ref
41229 reference "sec:Index"
41230
41231 \end_inset
41232
41233  for details).
41234 \end_layout
41235
41236 \begin_layout Section
41237 PDF Properties
41238 \end_layout
41239
41240 \begin_layout Standard
41241 The PDF properties are explained in section
41242 \begin_inset space ~
41243 \end_inset
41244
41245
41246 \begin_inset CommandInset ref
41247 LatexCommand ref
41248 reference "sec:PDF-Properties"
41249
41250 \end_inset
41251
41252 .
41253 \end_layout
41254
41255 \begin_layout Section
41256 Math Options
41257 \end_layout
41258
41259 \begin_layout Standard
41260 These options will force LyX to use the LaTeX-packages 
41261 \series bold
41262 amsmath
41263 \series default
41264
41265 \begin_inset Index idx
41266 status collapsed
41267
41268 \begin_layout Plain Layout
41269 LaTeX-packages ! amsmath
41270 \end_layout
41271
41272 \end_inset
41273
41274
41275 \series bold
41276 esint
41277 \series default
41278
41279 \begin_inset Index idx
41280 status collapsed
41281
41282 \begin_layout Plain Layout
41283 LaTeX-packages ! esint
41284 \end_layout
41285
41286 \end_inset
41287
41288
41289 \series bold
41290 mathdots
41291 \series default
41292
41293 \begin_inset Index idx
41294 status collapsed
41295
41296 \begin_layout Plain Layout
41297 LaTeX-packages ! mathdots
41298 \end_layout
41299
41300 \end_inset
41301
41302  und 
41303 \series bold
41304 mhchem
41305 \series default
41306
41307 \begin_inset Index idx
41308 status collapsed
41309
41310 \begin_layout Plain Layout
41311 LaTeX-packages ! mhchem
41312 \end_layout
41313
41314 \end_inset
41315
41316  or to use them automatically when they are needed.
41317 \end_layout
41318
41319 \begin_layout Description
41320 amsmath is needed for many constructs, so when you get LaTeX-errors in formulas,
41321  ensure that you have enabled 
41322 \family sans
41323 AMS
41324 \begin_inset space ~
41325 \end_inset
41326
41327 math
41328 \family default
41329 .
41330 \end_layout
41331
41332 \begin_layout Description
41333 esint is used for special integral characters, see section 
41334 \emph on
41335 Big
41336 \begin_inset space ~
41337 \end_inset
41338
41339 Operators
41340 \emph default
41341  of the 
41342 \emph on
41343 Math
41344 \emph default
41345  manual.
41346 \end_layout
41347
41348 \begin_layout Description
41349 mathdots is used for special ellipses, see section 
41350 \emph on
41351 Ellipses
41352 \emph default
41353  of the 
41354 \emph on
41355 Math
41356 \emph default
41357  manual.
41358 \end_layout
41359
41360 \begin_layout Description
41361 mhchem is used for chemical equations, see section 
41362 \emph on
41363 Chemical Symbols and Equations
41364 \emph default
41365  of the 
41366 \emph on
41367 Math
41368 \emph default
41369  manual.
41370 \end_layout
41371
41372 \begin_layout Section
41373 Float Placement
41374 \end_layout
41375
41376 \begin_layout Standard
41377 The float placement options are described in the section 
41378 \emph on
41379 Float
41380 \begin_inset space ~
41381 \end_inset
41382
41383 Placement
41384 \emph default
41385  of the 
41386 \emph on
41387 Embedded
41388 \begin_inset space ~
41389 \end_inset
41390
41391 Objects
41392 \emph default
41393  manual.
41394 \end_layout
41395
41396 \begin_layout Section
41397 Listings
41398 \end_layout
41399
41400 \begin_layout Standard
41401 The listings settings are explained in the chapter 
41402 \emph on
41403 Program Code Listings
41404 \emph default
41405  of the 
41406 \emph on
41407 Embedded
41408 \begin_inset space ~
41409 \end_inset
41410
41411 Objects
41412 \emph default
41413  manual.
41414 \end_layout
41415
41416 \begin_layout Section
41417 Bullets
41418 \end_layout
41419
41420 \begin_layout Standard
41421 Here you can adjust the characters used for the itemize 
41422 \family sans
41423 Level
41424 \family default
41425 s, specify the 
41426 \family sans
41427 Font
41428 \family default
41429  set to be used and set the 
41430 \family sans
41431 Size
41432 \family default
41433  of the bullets.
41434  The itemize environment is described in section
41435 \begin_inset space ~
41436 \end_inset
41437
41438
41439 \begin_inset CommandInset ref
41440 LatexCommand ref
41441 reference "sec:Itemize"
41442
41443 \end_inset
41444
41445 .
41446 \end_layout
41447
41448 \begin_layout Standard
41449 You can furthermore specify a 
41450 \family sans
41451 Custom
41452 \begin_inset space ~
41453 \end_inset
41454
41455 Bullet
41456 \family default
41457  by inserting in this field the LaTeX command of the desired character.
41458  For example to use the € sign, you have to insert the command 
41459 \series bold
41460
41461 \backslash
41462 texteuro
41463 \series default
41464 .
41465  For math symbols you additionally need to enclose the command with $ signs.
41466  To use e.
41467 \begin_inset space \thinspace{}
41468 \end_inset
41469
41470 g.
41471 \begin_inset space \space{}
41472 \end_inset
41473
41474 the symbol 
41475 \begin_inset Formula $\circlearrowright$
41476 \end_inset
41477
41478  you need to enter 
41479 \series bold
41480 $
41481 \backslash
41482 circlearrowright$
41483 \series default
41484 .
41485  To find the command for a math symbol, create a formula and hover the mouse
41486  over the desired symbol in the math toolbar.
41487 \end_layout
41488
41489 \begin_layout Standard
41490 \begin_inset Note Greyedout
41491 status open
41492
41493 \begin_layout Plain Layout
41494
41495 \series bold
41496 Note:
41497 \series default
41498  Some characters require to load special LaTeX-packages in the preamble
41499  (menu 
41500 \family sans
41501 Document\SpecialChar \menuseparator
41502 Settings\SpecialChar \menuseparator
41503 LaTeX
41504 \begin_inset space ~
41505 \end_inset
41506
41507 Preamble
41508 \family default
41509 ).
41510  For example for the € sign one needs to add the line 
41511 \series bold
41512
41513 \backslash
41514 usepackage{textcomp}
41515 \series default
41516  to the preamble.
41517  For most math symbols it is sufficient to add the line 
41518 \series bold
41519
41520 \backslash
41521 usepackage{amssymb}
41522 \series default
41523 .
41524 \end_layout
41525
41526 \end_inset
41527
41528
41529 \end_layout
41530
41531 \begin_layout Section
41532 Branches
41533 \end_layout
41534
41535 \begin_layout Standard
41536 Branches are described in section
41537 \begin_inset space ~
41538 \end_inset
41539
41540
41541 \begin_inset CommandInset ref
41542 LatexCommand ref
41543 reference "sec:Branches"
41544
41545 \end_inset
41546
41547 .
41548 \end_layout
41549
41550 \begin_layout Section
41551 Output
41552 \begin_inset CommandInset label
41553 LatexCommand label
41554 name "sec:Doc-Output"
41555
41556 \end_inset
41557
41558
41559 \end_layout
41560
41561 \begin_layout Standard
41562 Here you can define some output specifics for the current document:
41563 \end_layout
41564
41565 \begin_layout Description
41566 Default
41567 \begin_inset space ~
41568 \end_inset
41569
41570 Output
41571 \begin_inset space ~
41572 \end_inset
41573
41574 Format: The format that is used when you enter 
41575 \begin_inset Quotes eld
41576 \end_inset
41577
41578 View
41579 \begin_inset Quotes erd
41580 \end_inset
41581
41582
41583 \begin_inset Quotes eld
41584 \end_inset
41585
41586 Update
41587 \begin_inset Quotes erd
41588 \end_inset
41589
41590
41591 \begin_inset Quotes eld
41592 \end_inset
41593
41594 View Master Document
41595 \begin_inset Quotes erd
41596 \end_inset
41597
41598  and 
41599 \begin_inset Quotes eld
41600 \end_inset
41601
41602 Update Master Document
41603 \begin_inset Quotes erd
41604 \end_inset
41605
41606  in the 
41607 \family sans
41608 Document
41609 \family default
41610  menu or the toolbar.
41611  The default is set in 
41612 \family sans
41613 Tools\SpecialChar \menuseparator
41614 Preferences\SpecialChar \menuseparator
41615 File
41616 \begin_inset space ~
41617 \end_inset
41618
41619 Handling\SpecialChar \menuseparator
41620 File Formats
41621 \family default
41622 , see section
41623 \begin_inset space ~
41624 \end_inset
41625
41626
41627 \begin_inset CommandInset ref
41628 LatexCommand ref
41629 reference "sec:File-Formats"
41630
41631 \end_inset
41632
41633 .
41634 \end_layout
41635
41636 \begin_layout Description
41637 Synchronize
41638 \begin_inset space ~
41639 \end_inset
41640
41641 with
41642 \begin_inset space ~
41643 \end_inset
41644
41645 Output settings for the menu 
41646 \family sans
41647 Navigate\SpecialChar \menuseparator
41648 Forward
41649 \begin_inset space ~
41650 \end_inset
41651
41652 search
41653 \family default
41654 .
41655  For a detailed description see section 
41656 \emph on
41657 Reverse DVI/PDF search
41658 \emph default
41659  of the 
41660 \emph on
41661 Additional
41662 \begin_inset space ~
41663 \end_inset
41664
41665 Features
41666 \emph default
41667  manual.
41668 \end_layout
41669
41670 \begin_layout Description
41671 XHTML
41672 \begin_inset space ~
41673 \end_inset
41674
41675 Output
41676 \begin_inset space ~
41677 \end_inset
41678
41679 Options offers settings for the export format 
41680 \family sans
41681 Ly
41682 \begin_inset ERT
41683 status collapsed
41684
41685 \begin_layout Plain Layout
41686
41687 {}
41688 \end_layout
41689
41690 \end_inset
41691
41692 XHTML
41693 \family default
41694 .
41695  
41696 \family sans
41697 Strict XHTML
41698 \begin_inset space ~
41699 \end_inset
41700
41701 1.1
41702 \family default
41703  will assure that the output follows exactly version
41704 \begin_inset space ~
41705 \end_inset
41706
41707 1.1 of the XHTML standard.
41708  The different 
41709 \family sans
41710 Math
41711 \begin_inset space ~
41712 \end_inset
41713
41714 output
41715 \family default
41716  settings are described in detail in section 
41717 \emph on
41718 Math Output in XHTML
41719 \emph default
41720  of the 
41721 \emph on
41722 Additional
41723 \begin_inset space ~
41724 \end_inset
41725
41726 Features
41727 \emph default
41728  manual.
41729  
41730 \family sans
41731 Math
41732 \begin_inset space ~
41733 \end_inset
41734
41735 image
41736 \begin_inset space ~
41737 \end_inset
41738
41739 scaling
41740 \family default
41741  is used for the size of equations in the output.
41742 \end_layout
41743
41744 \begin_layout Section
41745 LaT
41746 \begin_inset ERT
41747 status collapsed
41748
41749 \begin_layout Plain Layout
41750
41751 {}
41752 \end_layout
41753
41754 \end_inset
41755
41756 eX Preamble
41757 \end_layout
41758
41759 \begin_layout Standard
41760 In this text field you can enter commands to load special LaTeX-packages
41761  or to define LaTeX-commands.
41762  The preamble is a thing for LaTeX-experts.
41763  You should not enter commands here until you know exactly what you are
41764  doing.
41765 \end_layout
41766
41767 \begin_layout Standard
41768 An introduction to the LaTeX-syntax is given in section
41769 \begin_inset space ~
41770 \end_inset
41771
41772
41773 \begin_inset CommandInset ref
41774 LatexCommand ref
41775 reference "sub:LaTeX-Syntax"
41776
41777 \end_inset
41778
41779 .
41780 \end_layout
41781
41782 \begin_layout Chapter
41783 The 
41784 \family sans
41785 Preferences
41786 \family default
41787  Dialog
41788 \begin_inset CommandInset label
41789 LatexCommand label
41790 name "chap:The-Preferences-dialog"
41791
41792 \end_inset
41793
41794
41795 \begin_inset Index idx
41796 status collapsed
41797
41798 \begin_layout Plain Layout
41799 Preferences
41800 \end_layout
41801
41802 \end_inset
41803
41804
41805 \end_layout
41806
41807 \begin_layout Standard
41808 The preferences dialog is called with the menu 
41809 \family sans
41810 Tools\SpecialChar \menuseparator
41811 Preferences
41812 \family default
41813 .
41814  It has the following submenus.
41815 \end_layout
41816
41817 \begin_layout Section
41818 Look and Feel
41819 \end_layout
41820
41821 \begin_layout Subsection
41822 User Interface
41823 \end_layout
41824
41825 \begin_layout Subsubsection
41826 User Interface File
41827 \begin_inset Index idx
41828 status collapsed
41829
41830 \begin_layout Plain Layout
41831 Customization ! of toolbars
41832 \end_layout
41833
41834 \end_inset
41835
41836
41837 \begin_inset Index idx
41838 status collapsed
41839
41840 \begin_layout Plain Layout
41841 Customization ! of menus
41842 \end_layout
41843
41844 \end_inset
41845
41846
41847 \end_layout
41848
41849 \begin_layout Standard
41850 The appearance of the menus and toolbars can be changed by choosing a user
41851  interface (ui) file.
41852  A ui-file is a text file where the toolbars and menus are listed.
41853  The file 
41854 \emph on
41855 default.ui
41856 \emph default
41857  loads three files:
41858 \end_layout
41859
41860 \begin_layout Description
41861 stdmenus.inc
41862 \shape italic
41863  
41864 \emph on
41865 specifies the menu entries for the standard menus
41866 \end_layout
41867
41868 \begin_layout Description
41869 stdcontext.inc 
41870 \shape italic
41871 \emph on
41872 specifies
41873 \shape default
41874 \emph default
41875  the menu entries in popup context menus
41876 \end_layout
41877
41878 \begin_layout Description
41879 stdtoolbars.inc
41880 \shape italic
41881  
41882 \emph on
41883 specifies the toolbar buttons
41884 \end_layout
41885
41886 \begin_layout Standard
41887 To create your own menu and toolbar layout, start with a copy of these files
41888  and edit the entries.
41889 \end_layout
41890
41891 \begin_layout Standard
41892 The syntax of the .inc-files is straightforward: the 
41893 \family sans
41894 Menubar
41895 \family default
41896
41897 \family sans
41898 Menu
41899 \family default
41900  and 
41901 \family sans
41902 Toolbar
41903 \family default
41904  entries must be finished with an explicit 
41905 \family sans
41906 End
41907 \family default
41908 .
41909  They may contain 
41910 \family sans
41911 Submenu
41912 \family default
41913
41914 \family sans
41915 Item
41916 \family default
41917
41918 \family sans
41919 OptItem
41920 \family default
41921
41922 \family sans
41923 Separator
41924 \family default
41925
41926 \family sans
41927 Icon,
41928 \family default
41929  and in the case of the 
41930 \begin_inset Quotes eld
41931 \end_inset
41932
41933 file_lastfiles
41934 \begin_inset Quotes erd
41935 \end_inset
41936
41937  menu a 
41938 \family sans
41939 Lastfiles
41940 \family default
41941  entry.
41942  The syntax for the entries is:
41943 \end_layout
41944
41945 \begin_layout Standard
41946 \begin_inset VSpace smallskip*
41947 \end_inset
41948
41949
41950 \series bold
41951 Item 
41952 \begin_inset Quotes eld
41953 \end_inset
41954
41955 menu 
41956 \series default
41957 or
41958 \series bold
41959  button name
41960 \begin_inset Quotes erd
41961 \end_inset
41962
41963  
41964 \begin_inset Quotes eld
41965 \end_inset
41966
41967 LyX-function
41968 \begin_inset Quotes erd
41969 \end_inset
41970
41971
41972 \end_layout
41973
41974 \begin_layout Standard
41975 \noindent
41976 \begin_inset VSpace smallskip*
41977 \end_inset
41978
41979 All the LyX-functions are listed in the menu 
41980 \family sans
41981 Help\SpecialChar \menuseparator
41982 Ly
41983 \begin_inset ERT
41984 status collapsed
41985
41986 \begin_layout Plain Layout
41987
41988 {}
41989 \end_layout
41990
41991 \end_inset
41992
41993 X
41994 \begin_inset space ~
41995 \end_inset
41996
41997 Functions
41998 \family default
41999 .
42000 \end_layout
42001
42002 \begin_layout Standard
42003 \begin_inset VSpace medskip
42004 \end_inset
42005
42006
42007 \end_layout
42008
42009 \begin_layout Standard
42010 For example, assuming you use the menu 
42011 \family sans
42012 Navigate\SpecialChar \menuseparator
42013 Bookmarks
42014 \family default
42015  quite often and therefore want six available bookmarks, you can add the
42016  line
42017 \end_layout
42018
42019 \begin_layout Standard
42020 \begin_inset VSpace smallskip*
42021 \end_inset
42022
42023
42024 \series bold
42025 Item 
42026 \begin_inset Quotes eld
42027 \end_inset
42028
42029 Save Bookmark 6
42030 \begin_inset Quotes erd
42031 \end_inset
42032
42033  
42034 \begin_inset Quotes eld
42035 \end_inset
42036
42037 bookmark-save 6
42038 \begin_inset Quotes erd
42039 \end_inset
42040
42041
42042 \end_layout
42043
42044 \begin_layout Standard
42045 \noindent
42046 \begin_inset VSpace smallskip*
42047 \end_inset
42048
42049 to the 
42050 \begin_inset Quotes eld
42051 \end_inset
42052
42053 navigate_bookmarks
42054 \begin_inset Quotes erd
42055 \end_inset
42056
42057  menu in 
42058 \emph on
42059 stdmenus.inc
42060 \emph default
42061  to have the sixth bookmark.
42062 \end_layout
42063
42064 \begin_layout Standard
42065
42066 \family sans
42067 Icon
42068 \begin_inset space ~
42069 \end_inset
42070
42071 Set
42072 \family default
42073  allows you to change the appearance of LyX's toolbar buttons.
42074  The currently available icon sets are compared in 
42075 \begin_inset CommandInset href
42076 LatexCommand href
42077 name "this image"
42078 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
42079
42080 \end_inset
42081
42082 .
42083 \end_layout
42084
42085 \begin_layout Subsubsection
42086 Automatic help
42087 \end_layout
42088
42089 \begin_layout Standard
42090 The option 
42091 \family sans
42092 Enable tool tips in main work area
42093 \family default
42094  enables tool tips showing the content of closed insets like index entries
42095  or footnotes.
42096 \end_layout
42097
42098 \begin_layout Subsubsection
42099 Session
42100 \end_layout
42101
42102 \begin_layout Standard
42103 With the option 
42104 \family sans
42105 Restore window layouts and geometries
42106 \family default
42107  LyX's main window will be opened with the size and layout that was used
42108  in the last LyX session.
42109 \end_layout
42110
42111 \begin_layout Standard
42112 The option 
42113 \family sans
42114 Restore cursor positions
42115 \family default
42116  sets the cursor to the position in the file where it was at the end of
42117  the last session.
42118 \end_layout
42119
42120 \begin_layout Standard
42121 The option 
42122 \family sans
42123 Load opened files from last session
42124 \family default
42125  opens all files that were opened in the last LyX session.
42126 \end_layout
42127
42128 \begin_layout Standard
42129 The button 
42130 \family sans
42131 Clear all session information
42132 \family default
42133  deletes all information from previous LyX sessions (cursor positions, names
42134  of last opened documents, etc.).
42135 \end_layout
42136
42137 \begin_layout Subsubsection
42138 Documents
42139 \begin_inset CommandInset label
42140 LatexCommand label
42141 name "sub:Backup documents"
42142
42143 \end_inset
42144
42145
42146 \begin_inset Index idx
42147 status collapsed
42148
42149 \begin_layout Plain Layout
42150 Backup ! Documents
42151 \end_layout
42152
42153 \end_inset
42154
42155
42156 \end_layout
42157
42158 \begin_layout Standard
42159
42160 \family sans
42161 Backup original documents when saving
42162 \family default
42163  creates a backup copy of the file in the state when it was opened or when
42164  it was saved the last time.
42165  It is stored in the 
42166 \family sans
42167 Backup
42168 \begin_inset space ~
42169 \end_inset
42170
42171 directory
42172 \family default
42173  (see section
42174 \begin_inset space ~
42175 \end_inset
42176
42177
42178 \begin_inset CommandInset ref
42179 LatexCommand ref
42180 reference "sec:Paths"
42181
42182 \end_inset
42183
42184 ) or in the same folder as your document if no 
42185 \family sans
42186 Backup
42187 \begin_inset space ~
42188 \end_inset
42189
42190 directory
42191 \family default
42192  is specified.
42193  The backup file has the file extension 
42194 \begin_inset Quotes eld
42195 \end_inset
42196
42197
42198 \family sans
42199 .lyx~
42200 \family default
42201
42202 \begin_inset Quotes erd
42203 \end_inset
42204
42205 .
42206 \end_layout
42207
42208 \begin_layout Standard
42209 With the option 
42210 \family sans
42211 Backup documents, every
42212 \family default
42213 , you can specify the time between backup saves.
42214 \end_layout
42215
42216 \begin_layout Standard
42217
42218 \family sans
42219 Save documents compressed by default
42220 \family default
42221  always saves files in a compressed format.
42222 \end_layout
42223
42224 \begin_layout Standard
42225
42226 \family sans
42227 Maximum last files
42228 \family default
42229  is the number of last opened files that LyX should display in the menu
42230  
42231 \family sans
42232 File\SpecialChar \menuseparator
42233 Open
42234 \begin_inset space ~
42235 \end_inset
42236
42237 Recent
42238 \family default
42239 .
42240 \end_layout
42241
42242 \begin_layout Standard
42243 If the option 
42244 \family sans
42245 Open documents in tabs
42246 \family default
42247  is not checked, every file will be opened in its own new instance of LyX.
42248 \end_layout
42249
42250 \begin_layout Standard
42251 The option 
42252 \family sans
42253 Single instance
42254 \family default
42255  is only active if a LyXServer pipe
42256 \begin_inset Foot
42257 status collapsed
42258
42259 \begin_layout Plain Layout
42260 See sec.
42261 \begin_inset space \thinspace{}
42262 \end_inset
42263
42264
42265 \begin_inset CommandInset ref
42266 LatexCommand ref
42267 reference "sec:Paths"
42268
42269 \end_inset
42270
42271  for information about LyXServer pipes.
42272 \end_layout
42273
42274 \end_inset
42275
42276  is specified.
42277  If it is checked, LyX documents will be opened in the same running instance
42278  of LyX.
42279  Otherwise a new LyX instance is created for each file.
42280 \end_layout
42281
42282 \begin_layout Standard
42283 If the option 
42284 \family sans
42285 Single close-tab button
42286 \family default
42287  is checked, there will only be one close button (
42288 \family sans
42289
42290 \begin_inset Graphics
42291         filename ../images/closetab.png
42292         scale 75
42293
42294 \end_inset
42295
42296
42297 \family default
42298 ) at the right side of the tab bar to close tabs.
42299  Otherwise every document tab has its own close button.
42300 \end_layout
42301
42302 \begin_layout Standard
42303 \begin_inset Note Greyedout
42304 status open
42305
42306 \begin_layout Plain Layout
42307
42308 \series bold
42309 Note:
42310 \series default
42311  For the last option you have to restart LyX before the change takes effect.
42312 \end_layout
42313
42314 \end_inset
42315
42316
42317 \end_layout
42318
42319 \begin_layout Subsection
42320 Screen Fonts
42321 \begin_inset Index idx
42322 status collapsed
42323
42324 \begin_layout Plain Layout
42325 Font ! Screen
42326 \end_layout
42327
42328 \end_inset
42329
42330
42331 \begin_inset CommandInset label
42332 LatexCommand label
42333 name "sub:Screen-Fonts"
42334
42335 \end_inset
42336
42337
42338 \end_layout
42339
42340 \begin_layout Standard
42341 These fonts are used to display your documents within LyX.
42342 \end_layout
42343
42344 \begin_layout Standard
42345 \begin_inset Note Greyedout
42346 status open
42347
42348 \begin_layout Plain Layout
42349
42350 \series bold
42351 Note:
42352 \series default
42353  This section only deals with the fonts 
42354 \emph on
42355 inside
42356 \emph default
42357  the LyX window.
42358  The fonts that appear in the output are independent of these fonts, and
42359  set in the menu 
42360 \family sans
42361 Document\SpecialChar \menuseparator
42362 Settings\SpecialChar \menuseparator
42363 Fonts
42364 \family default
42365 .
42366 \end_layout
42367
42368 \end_inset
42369
42370
42371 \end_layout
42372
42373 \begin_layout Standard
42374 By default, LyX uses 
42375 \family typewriter
42376 Times
42377 \family default
42378  as its 
42379 \family sans
42380 Roman
42381 \family default
42382  (serif) font, 
42383 \family typewriter
42384 Arial
42385 \family default
42386  or 
42387 \family typewriter
42388 Helvetica
42389 \family default
42390  (depends on the system) as its 
42391 \family sans
42392 Sans
42393 \begin_inset space ~
42394 \end_inset
42395
42396 Serif
42397 \family default
42398  font and 
42399 \family typewriter
42400 Courier
42401 \family default
42402  as its 
42403 \family typewriter
42404 Typewriter
42405 \family default
42406  font.
42407 \end_layout
42408
42409 \begin_layout Standard
42410 You can change the font size with the 
42411 \family sans
42412 Zoom
42413 \family default
42414  setting.
42415 \end_layout
42416
42417 \begin_layout Standard
42418 The 
42419 \family sans
42420 Font Sizes
42421 \family default
42422  are calculated as letter height in units of points.
42423  72.27
42424 \begin_inset space \thinspace{}
42425 \end_inset
42426
42427 points have the size of 1
42428 \begin_inset space \thinspace{}
42429 \end_inset
42430
42431 inch, see Appendix
42432 \begin_inset space ~
42433 \end_inset
42434
42435
42436 \begin_inset CommandInset ref
42437 LatexCommand ref
42438 reference "chap:Units-available-in"
42439
42440 \end_inset
42441
42442 .
42443  The default font sizes are the same as if a document font size of 10
42444 \begin_inset space \thinspace{}
42445 \end_inset
42446
42447 pt were used.
42448  The sizes are explained in detail in section
42449 \begin_inset space ~
42450 \end_inset
42451
42452
42453 \begin_inset CommandInset ref
42454 LatexCommand ref
42455 reference "sub:Document-Font"
42456
42457 \end_inset
42458
42459 .
42460 \end_layout
42461
42462 \begin_layout Standard
42463 With the option 
42464 \family sans
42465 Use pixmap cache to speed up font rendering
42466 \family default
42467  enabled, LyX needs to redraw the screen less often.
42468  This results in better performance, especially on slow systems.
42469  On the other hand, the characters might look more fuzzy on screen.
42470  So whether you enable this or not depends on whether you prefer speed over
42471  aesthetics.
42472  Note that the Pixmap Cache is only available and useful under Mac
42473 \begin_inset space ~
42474 \end_inset
42475
42476 OS and Windows.
42477 \end_layout
42478
42479 \begin_layout Subsection
42480 Colors
42481 \begin_inset Index idx
42482 status collapsed
42483
42484 \begin_layout Plain Layout
42485 Color ! LyX screen
42486 \end_layout
42487
42488 \end_inset
42489
42490
42491 \begin_inset Index idx
42492 status collapsed
42493
42494 \begin_layout Plain Layout
42495 Settings ! Color
42496 \end_layout
42497
42498 \end_inset
42499
42500
42501 \end_layout
42502
42503 \begin_layout Standard
42504 Here you can change the screen colors used by LyX by choosing an item in
42505  the list and selecting the 
42506 \family sans
42507 Alter
42508 \family default
42509  button.
42510 \end_layout
42511
42512 \begin_layout Standard
42513 By checking the option 
42514 \family sans
42515 Use system colors
42516 \family default
42517  the color scheme of your OS or window manager is used.
42518  The colors 
42519 \family sans
42520 cursor, selection, table line, text, URL
42521 \begin_inset space ~
42522 \end_inset
42523
42524 label and URL
42525 \begin_inset space ~
42526 \end_inset
42527
42528 text
42529 \family default
42530  are then not customizable and thus not listed.
42531 \end_layout
42532
42533 \begin_layout Subsection
42534 Display
42535 \begin_inset Index idx
42536 status collapsed
42537
42538 \begin_layout Plain Layout
42539 Settings ! Display
42540 \end_layout
42541
42542 \end_inset
42543
42544
42545 \end_layout
42546
42547 \begin_layout Standard
42548 Here you can specify if graphics are displayed inside LyX.
42549 \end_layout
42550
42551 \begin_layout Standard
42552
42553 \family sans
42554 Instant Preview
42555 \family default
42556  enables previewing snippets of your document.
42557  This feature is described in section
42558 \begin_inset space ~
42559 \end_inset
42560
42561
42562 \begin_inset CommandInset ref
42563 LatexCommand ref
42564 reference "sec:Previewing-snippets-of"
42565
42566 \end_inset
42567
42568 .
42569 \end_layout
42570
42571 \begin_layout Standard
42572 Checking the option 
42573 \family sans
42574 Mark
42575 \begin_inset space ~
42576 \end_inset
42577
42578 end
42579 \begin_inset space ~
42580 \end_inset
42581
42582 of
42583 \begin_inset space ~
42584 \end_inset
42585
42586 paragraphs
42587 \family default
42588  displays a pilcrow (¶) at the end of every paragraph.
42589 \end_layout
42590
42591 \begin_layout Section
42592 Editing
42593 \begin_inset Index idx
42594 status collapsed
42595
42596 \begin_layout Plain Layout
42597 Settings ! Editing
42598 \end_layout
42599
42600 \end_inset
42601
42602
42603 \end_layout
42604
42605 \begin_layout Subsection
42606 Control
42607 \end_layout
42608
42609 \begin_layout Subsubsection
42610 Editing
42611 \end_layout
42612
42613 \begin_layout Standard
42614 The option 
42615 \family sans
42616 Cursor follows scrollbar
42617 \family default
42618  sets the cursor to the top of the currently displayed document part when
42619  scrolling.
42620 \end_layout
42621
42622 \begin_layout Standard
42623 You can adjust the width of the cursor.
42624  If you set the value to zero, the thickness of the cursor scales relative
42625  to the zoom value you choose for the screen fonts.
42626 \end_layout
42627
42628 \begin_layout Standard
42629
42630 \family sans
42631 Scroll below end of document
42632 \family default
42633  is self-explanatory.
42634 \end_layout
42635
42636 \begin_layout Standard
42637 In LyX one can jump from word to word by pressing 
42638 \family sans
42639 Ctrl+arrow key
42640 \family default
42641 .
42642  With the option
42643 \family sans
42644  Use Mac-style for cursor moving between words
42645 \family default
42646  the cursor jumps from the end of a word to the end of the next word.
42647  Normally it jumps from the beginning to the beginning.
42648 \end_layout
42649
42650 \begin_layout Standard
42651 The option 
42652 \family sans
42653 Sort environments alphabetically
42654 \family default
42655  sorts the entries in the pull-down box for the paragraph environments.
42656 \end_layout
42657
42658 \begin_layout Standard
42659 The option 
42660 \family sans
42661 Group environments by their category
42662 \family default
42663  groups the entries in the pull-down box for the paragraph environments.
42664 \end_layout
42665
42666 \begin_layout Standard
42667 The 
42668 \family sans
42669 Edit math macros
42670 \family default
42671  options determine the editing style for math macros, see the section 
42672 \emph on
42673 Math Macros
42674 \emph default
42675  of the 
42676 \emph on
42677 Math
42678 \emph default
42679  manual.
42680 \end_layout
42681
42682 \begin_layout Subsubsection
42683 Fullscreen
42684 \end_layout
42685
42686 \begin_layout Standard
42687 Here you can specify what is hidden in the fullscreen mode.
42688  With the option 
42689 \family sans
42690 Limit text width
42691 \family default
42692  you can specify the width of the text in fullscreen mode.
42693  This way you can display the text smaller than the screen; the text then
42694  appears centered.
42695 \end_layout
42696
42697 \begin_layout Subsection
42698 Shortcuts
42699 \begin_inset Index idx
42700 status collapsed
42701
42702 \begin_layout Plain Layout
42703 Key Bindings
42704 \end_layout
42705
42706 \end_inset
42707
42708
42709 \begin_inset Index idx
42710 status collapsed
42711
42712 \begin_layout Plain Layout
42713 Settings ! Shortcuts
42714 \end_layout
42715
42716 \end_inset
42717
42718
42719 \end_layout
42720
42721 \begin_layout Standard
42722
42723 \family sans
42724 Bind File
42725 \family default
42726  specifies the file to be used to bind a LyX-function to a key.
42727  Several binding files are available, among them:
42728 \end_layout
42729
42730 \begin_layout Description
42731 cua.bind a typical set of PC keyboard shortcuts
42732 \end_layout
42733
42734 \begin_layout Description
42735 (x)emacs.bind a set of bindings similar to those used in the editor programs
42736  
42737 \family sans
42738 Emacs
42739 \family default
42740  (
42741 \family sans
42742 XEmacs
42743 \family default
42744 )
42745 \end_layout
42746
42747 \begin_layout Description
42748 mac.bind a set of bindings for 
42749 \family sans
42750 Mac
42751 \begin_inset space \thinspace{}
42752 \end_inset
42753
42754 OS
42755 \family default
42756  systems.
42757 \end_layout
42758
42759 \begin_layout Standard
42760 There are also binding files designed for special document classes, like
42761  
42762 \shape italic
42763 broadway.bind
42764 \shape default
42765 , and binding files for special languages.
42766  The names of language binding files begin with a language code, e.
42767 \begin_inset space \thinspace{}
42768 \end_inset
42769
42770 g.
42771 \begin_inset space \space{}
42772 \end_inset
42773
42774
42775 \begin_inset Quotes eld
42776 \end_inset
42777
42778 pt
42779 \begin_inset Quotes erd
42780 \end_inset
42781
42782  for Portuguese.
42783  If you use LyX in a certain language, LyX will try to use the appropriate
42784  binding file.
42785 \end_layout
42786
42787 \begin_layout Standard
42788 Some binding files, like 
42789 \shape italic
42790 math.bind
42791 \shape default
42792 , only have a limited scope.
42793  When looking at the end of the file 
42794 \shape italic
42795 cua.bind
42796 \shape default
42797 , you can see that they are included to keep the overview in the bind-file.
42798 \end_layout
42799
42800 \begin_layout Standard
42801 The field 
42802 \family sans
42803 Show
42804 \begin_inset space ~
42805 \end_inset
42806
42807 key-bindings
42808 \begin_inset space ~
42809 \end_inset
42810
42811 containing
42812 \family default
42813  allows you to search for the shortcut provided for a particular function
42814  in the selected key binding file.
42815 \end_layout
42816
42817 \begin_layout Subsubsection
42818 Editing Shortcuts
42819 \begin_inset CommandInset label
42820 LatexCommand label
42821 name "sub:Editing-Shortcuts"
42822
42823 \end_inset
42824
42825
42826 \begin_inset Index idx
42827 status collapsed
42828
42829 \begin_layout Plain Layout
42830 Key Bindings ! Editing
42831 \end_layout
42832
42833 \end_inset
42834
42835
42836 \end_layout
42837
42838 \begin_layout Standard
42839 To add new or modify existing keybindings to your own taste you can use
42840  the table in the dialog that lists all LyX-functions and the bound shortcuts.
42841  To find functions easily, they are grouped by categories and the dialog
42842  provides the field 
42843 \family sans
42844 Show key-bindings containing
42845 \family default
42846 .
42847  In this field you can insert a keyword for a function you want to edit.
42848  Insert there for example as keyword 
42849 \begin_inset Quotes eld
42850 \end_inset
42851
42852 paste
42853 \begin_inset Quotes erd
42854 \end_inset
42855
42856  and you get the four different existing shortcuts for the three different
42857  functions that contain 
42858 \begin_inset Quotes eld
42859 \end_inset
42860
42861 paste
42862 \begin_inset Quotes erd
42863 \end_inset
42864
42865  in their name.
42866  As you can see, one function can have more than one shortcut.
42867  All LyX-functions are also listed in the file 
42868 \family sans
42869 LyX Functions
42870 \family default
42871  that you will find in the 
42872 \family sans
42873 Help
42874 \family default
42875  menu.
42876 \end_layout
42877
42878 \begin_layout Standard
42879 For example, to add the shortcut 
42880 \family sans
42881 Alt+Q
42882 \family default
42883  for the function 
42884 \family sans
42885 textstyle-apply
42886 \family default
42887 , select the function and press the 
42888 \family sans
42889 Modify
42890 \family default
42891  button.
42892  A dialog pops up where you can add the shortcut by using it.
42893  So press Alt+Q to define the shortcut.
42894 \end_layout
42895
42896 \begin_layout Standard
42897 Modifying an existing shortcut is done the same way.
42898  You can also bind multiple functions to one shortcut by starting the LyX
42899  Function definition with “command alternatives” and following it with the
42900  different function names as a semicolon separated list.
42901  LyX will then use the first function that is enabled in the current document
42902  part.
42903  
42904 \end_layout
42905
42906 \begin_layout Standard
42907 If you don't like a particular shortcut, you can remove it.
42908 \end_layout
42909
42910 \begin_layout Standard
42911 Alternatively you can also edit shortcuts by modifying binding files with
42912  a text editor.
42913  The syntax of the entries is:
42914 \end_layout
42915
42916 \begin_layout Standard
42917
42918 \series bold
42919
42920 \backslash
42921 bind 
42922 \begin_inset Quotes eld
42923 \end_inset
42924
42925 key combination
42926 \begin_inset Quotes erd
42927 \end_inset
42928
42929  
42930 \begin_inset Quotes eld
42931 \end_inset
42932
42933 LyX-function
42934 \begin_inset Quotes erd
42935 \end_inset
42936
42937
42938 \end_layout
42939
42940 \begin_layout Subsection
42941 Keyboard/Mouse
42942 \begin_inset CommandInset label
42943 LatexCommand label
42944 name "sub:Keyboard-Map"
42945
42946 \end_inset
42947
42948
42949 \begin_inset Index idx
42950 status collapsed
42951
42952 \begin_layout Plain Layout
42953 Keyboard Map
42954 \end_layout
42955
42956 \end_inset
42957
42958
42959 \begin_inset Index idx
42960 status collapsed
42961
42962 \begin_layout Plain Layout
42963 Settings ! Keyboard Map
42964 \end_layout
42965
42966 \end_inset
42967
42968
42969 \end_layout
42970
42971 \begin_layout Standard
42972 Normally keyboard settings are made in a menu of your operating system.
42973  For the case thatWhere this is not possible, LyX provides keyboard maps.
42974  If, for example, you have a Czech keyboard but want to use it as if it
42975  is a Romanian one, you can enable 
42976 \family sans
42977 Use
42978 \begin_inset space ~
42979 \end_inset
42980
42981 keyboard
42982 \begin_inset space ~
42983 \end_inset
42984
42985 map
42986 \family default
42987  and select the keyboard map file named 
42988 \shape italic
42989 romanian.kmap
42990 \shape default
42991 .
42992 \end_layout
42993
42994 \begin_layout Standard
42995 You can specify a 
42996 \family sans
42997 First
42998 \family default
42999  and a 
43000 \family sans
43001 Second
43002 \family default
43003  keyboard map and, if you use the 
43004 \emph on
43005 cua
43006 \emph default
43007  bindings, you can select the first and second with 
43008 \begin_inset Info
43009 type  "shortcut"
43010 arg   "keymap-primary"
43011 \end_inset
43012
43013  and 
43014 \begin_inset Info
43015 type  "shortcut"
43016 arg   "keymap-secondary"
43017 \end_inset
43018
43019  respectively or toggle between them with 
43020 \begin_inset Info
43021 type  "shortcut"
43022 arg   "keymap-toggle"
43023 \end_inset
43024
43025 .
43026 \end_layout
43027
43028 \begin_layout Standard
43029 \begin_inset Note Greyedout
43030 status open
43031
43032 \begin_layout Plain Layout
43033
43034 \series bold
43035 Note:
43036 \series default
43037  Keyboard maps can only provide a makeshift solution and don't work on all
43038  systems.
43039 \end_layout
43040
43041 \end_inset
43042
43043
43044 \end_layout
43045
43046 \begin_layout Standard
43047 You can also specify the mouse 
43048 \family sans
43049 Wheel scrolling speed
43050 \family default
43051 .
43052  The standard value is 1.0; higher values speed up the scrolling, lower ones
43053  slow it down.
43054 \end_layout
43055
43056 \begin_layout Standard
43057 If you 
43058 \family sans
43059 Enable
43060 \family default
43061  
43062 \family sans
43063 Scroll
43064 \begin_inset space ~
43065 \end_inset
43066
43067 wheel
43068 \begin_inset space ~
43069 \end_inset
43070
43071 zoom,
43072 \family default
43073  you can select a key for zooming.
43074  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
43075 \end_layout
43076
43077 \begin_layout Subsection
43078 Input Completion
43079 \end_layout
43080
43081 \begin_layout Standard
43082 Input completion is described in section
43083 \begin_inset space ~
43084 \end_inset
43085
43086
43087 \begin_inset CommandInset ref
43088 LatexCommand ref
43089 reference "sec:Input-Completion"
43090
43091 \end_inset
43092
43093 .
43094 \end_layout
43095
43096 \begin_layout Section
43097 Paths
43098 \begin_inset CommandInset label
43099 LatexCommand label
43100 name "sec:Paths"
43101
43102 \end_inset
43103
43104
43105 \begin_inset Index idx
43106 status collapsed
43107
43108 \begin_layout Plain Layout
43109 Paths
43110 \end_layout
43111
43112 \end_inset
43113
43114
43115 \begin_inset Index idx
43116 status collapsed
43117
43118 \begin_layout Plain Layout
43119 Settings ! Paths
43120 \end_layout
43121
43122 \end_inset
43123
43124
43125 \end_layout
43126
43127 \begin_layout Standard
43128 The paths to the various resources used by LyX are normally determined during
43129  the installation.
43130  But there may be reasons why you might want to modify them.
43131 \end_layout
43132
43133 \begin_layout Description
43134 Working
43135 \begin_inset space ~
43136 \end_inset
43137
43138 directory This is LyX's working directory.
43139  It is the default when you 
43140 \family sans
43141 Open
43142 \family default
43143
43144 \family sans
43145 Save
43146 \family default
43147  or 
43148 \family sans
43149 Save
43150 \begin_inset space ~
43151 \end_inset
43152
43153 As
43154 \family default
43155  files.
43156 \end_layout
43157
43158 \begin_layout Description
43159 Document
43160 \begin_inset space ~
43161 \end_inset
43162
43163 templates This directory will be opened when you use the menu 
43164 \family sans
43165 File\SpecialChar \menuseparator
43166 New
43167 \begin_inset space ~
43168 \end_inset
43169
43170 from
43171 \begin_inset space ~
43172 \end_inset
43173
43174 Template
43175 \family default
43176 .
43177 \end_layout
43178
43179 \begin_layout Description
43180 Example
43181 \begin_inset space ~
43182 \end_inset
43183
43184 files This directory will be opened when you use the button 
43185 \family sans
43186 Examples
43187 \family default
43188  in the 
43189 \family sans
43190 File\SpecialChar \menuseparator
43191 Open
43192 \family default
43193  dialog.
43194 \begin_inset Newline newline
43195 \end_inset
43196
43197
43198 \begin_inset Note Greyedout
43199 status open
43200
43201 \begin_layout Plain Layout
43202
43203 \series bold
43204 Note:
43205 \series default
43206  The 
43207 \family sans
43208 Examples
43209 \family default
43210  button does not exist when using LyX on Mac OS and Windows systems.
43211 \end_layout
43212
43213 \end_inset
43214
43215
43216 \end_layout
43217
43218 \begin_layout Description
43219 Backup
43220 \begin_inset space ~
43221 \end_inset
43222
43223 directory
43224 \begin_inset Index idx
43225 status collapsed
43226
43227 \begin_layout Plain Layout
43228 Backup ! Directory
43229 \end_layout
43230
43231 \end_inset
43232
43233  Backup copies will be saved to this directory.
43234  If no directory is given but backups are enabled as described in section
43235 \begin_inset space ~
43236 \end_inset
43237
43238
43239 \begin_inset CommandInset ref
43240 LatexCommand ref
43241 reference "sub:Backup documents"
43242
43243 \end_inset
43244
43245 , the 
43246 \family sans
43247 Working directory
43248 \family default
43249  will be used to save the backups.
43250 \begin_inset Newline newline
43251 \end_inset
43252
43253 Backup files have the ending 
43254 \begin_inset Quotes eld
43255 \end_inset
43256
43257 .lyx~
43258 \begin_inset Quotes erd
43259 \end_inset
43260
43261 .
43262 \end_layout
43263
43264 \begin_layout Description
43265 Ly
43266 \begin_inset ERT
43267 status collapsed
43268
43269 \begin_layout Plain Layout
43270
43271 {}
43272 \end_layout
43273
43274 \end_inset
43275
43276 XServer
43277 \begin_inset space ~
43278 \end_inset
43279
43280 pipe Here you can enter the name of a so-called UNIX-pipe.
43281  This pipe is used to send data from external programs to LyX.
43282 \begin_inset Newline newline
43283 \end_inset
43284
43285
43286 \series bold
43287 Example:
43288 \series default
43289  You add a BibTeX-database 
43290 \emph on
43291 test.bib
43292 \emph default
43293  to your document.
43294  You can edit this file with the program 
43295 \family typewriter
43296 JabRef
43297 \family default
43298 .
43299  In 
43300 \family typewriter
43301 JabRef
43302 \family default
43303  you have to use the same Unix-Pipe for LyX in its preferences under 
43304 \family sans
43305 External
43306 \begin_inset space ~
43307 \end_inset
43308
43309 programs
43310 \family default
43311 .
43312  If you want to get one entry of the database as citation, select it in
43313  
43314 \family typewriter
43315 JabRef
43316 \family default
43317  and click on the LyX-symbol.
43318  The entry will now be inserted as a citation at the current cursor position
43319  in your LyX file.
43320  Of course, 
43321 \family typewriter
43322 JabRef
43323 \family default
43324  and LyX need to be running the same time.
43325 \begin_inset Newline newline
43326 \end_inset
43327
43328 The pipe is also used for the 
43329 \family sans
43330 Single instance
43331 \family default
43332  feature, see sec.
43333 \begin_inset space \thinspace{}
43334 \end_inset
43335
43336
43337 \begin_inset CommandInset ref
43338 LatexCommand ref
43339 reference "sub:Backup documents"
43340
43341 \end_inset
43342
43343 .
43344 \begin_inset Newline newline
43345 \end_inset
43346
43347 To use the LyXServer-Pipe on Windows, you must use this pipe name:
43348 \begin_inset Newline newline
43349 \end_inset
43350
43351
43352 \series bold
43353
43354 \backslash
43355
43356 \backslash
43357 .
43358 \backslash
43359 pipe
43360 \backslash
43361 lyxpipe
43362 \end_layout
43363
43364 \begin_layout Description
43365 Temporary
43366 \begin_inset space ~
43367 \end_inset
43368
43369 directory Temporary files will be saved in this directory.
43370 \end_layout
43371
43372 \begin_layout Description
43373 Thesaurus
43374 \begin_inset space ~
43375 \end_inset
43376
43377 dictionary Directory where the thesaurus dictionaries are located.
43378  You only need to specify it if the thesaurus does not work or if you want
43379  to use custom/alternative dictionaries.
43380 \end_layout
43381
43382 \begin_layout Description
43383 Hunspell
43384 \begin_inset space ~
43385 \end_inset
43386
43387 dictionary Directory where the dictionaries of the spell checker program
43388  
43389 \family typewriter
43390 Hunspell
43391 \family default
43392  are located.
43393  You only need to specify it if you are using 
43394 \family typewriter
43395 Hunspell
43396 \family default
43397  and spell checking does not work or if you want to use custom/alternative
43398  dictionaries.
43399  For LyX on Windows 
43400 \family typewriter
43401 Hunspell
43402 \family default
43403  is the only available spell checker and should work without specifying
43404  a directory.
43405 \end_layout
43406
43407 \begin_layout Description
43408 PATH
43409 \begin_inset space ~
43410 \end_inset
43411
43412 prefix This field contains a list of paths to external programs.
43413  When LyX needs to use an external program, it looks in this list to see
43414  where to find it on the system.
43415  The path list is automatically set up on Windows and Mac systems when LyX
43416  is configured; so you normally don't have to modify it.
43417  On Unix
43418 \begin_inset space \thinspace{}
43419 \end_inset
43420
43421 /
43422 \begin_inset space \thinspace{}
43423 \end_inset
43424
43425 Linux systems, the path list will need to be set only if there are external
43426  programs you wish to use that are not in your normal system path ($PATH).
43427 \end_layout
43428
43429 \begin_layout Description
43430 TEXINPUTS
43431 \begin_inset space ~
43432 \end_inset
43433
43434 prefix The TEXINPUTS environment variable allows you to use external files
43435  which are included in a LyX document via commands in TeX code or in the
43436  document preamble.
43437  This prefix includes by default the document directory (represented by
43438  a single dot '.').
43439  The prefix can contain any list of paths separated by the default separator
43440  of the OS (':' on UNIX like systems and ';' on Windows).
43441  If files are included, the paths listed in the TEXINPUTS prefix will be
43442  scanned for the input files.
43443  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
43444  to be relative to the directory of your LyX file.
43445  It is recommended that you always include ‘.' as one of the paths; otherwise
43446  compilation may fail for some documents.
43447 \end_layout
43448
43449 \begin_layout Section
43450 Identity
43451 \end_layout
43452
43453 \begin_layout Standard
43454 Here you can insert your 
43455 \family sans
43456 Name
43457 \family default
43458  and 
43459 \family sans
43460 E-mail
43461 \family default
43462  address.
43463  These will be used when you have enabled change tracking, as described
43464  in section
43465 \begin_inset space ~
43466 \end_inset
43467
43468
43469 \begin_inset CommandInset ref
43470 LatexCommand ref
43471 reference "sec:Change-Tracking"
43472
43473 \end_inset
43474
43475 , to mark changes you make as yours.
43476 \end_layout
43477
43478 \begin_layout Section
43479 Language Settings
43480 \begin_inset Index idx
43481 status collapsed
43482
43483 \begin_layout Plain Layout
43484 Language ! Settings
43485 \end_layout
43486
43487 \end_inset
43488
43489
43490 \begin_inset Index idx
43491 status collapsed
43492
43493 \begin_layout Plain Layout
43494 Settings ! Language
43495 \end_layout
43496
43497 \end_inset
43498
43499
43500 \end_layout
43501
43502 \begin_layout Subsection
43503 Language
43504 \begin_inset CommandInset label
43505 LatexCommand label
43506 name "sub:Prefs-Language"
43507
43508 \end_inset
43509
43510
43511 \end_layout
43512
43513 \begin_layout Description
43514 User
43515 \begin_inset space ~
43516 \end_inset
43517
43518 interface
43519 \begin_inset space ~
43520 \end_inset
43521
43522 language Here you can select the language for LyX's menus.
43523  You can find its actual translation status here: 
43524 \begin_inset CommandInset href
43525 LatexCommand href
43526 target "http://www.lyx.org/I18n"
43527
43528 \end_inset
43529
43530
43531 \end_layout
43532
43533 \begin_layout Description
43534 Language
43535 \begin_inset space ~
43536 \end_inset
43537
43538 package determines which LaTeX package should be loaded to handle language
43539  issues.
43540  Language issues that are handled by this package include proper hyphenation
43541  as well as localization of dates and text strings such as 
43542 \begin_inset Quotes eld
43543 \end_inset
43544
43545 Chapter
43546 \begin_inset Quotes erd
43547 \end_inset
43548
43549  and 
43550 \begin_inset Quotes eld
43551 \end_inset
43552
43553 Table
43554 \begin_inset Quotes erd
43555 \end_inset
43556
43557 .
43558  The most widespread language package is 
43559 \series bold
43560 babel
43561 \series default
43562
43563 \begin_inset Index idx
43564 status collapsed
43565
43566 \begin_layout Plain Layout
43567 LaTeX-packages ! babel
43568 \end_layout
43569
43570 \end_inset
43571
43572 ; it is the default language package in classic LaTeX.
43573  More recent typesetting engines such as XeTeX and LuaTeX come with the
43574  alternative language package 
43575 \series bold
43576 polyglossia
43577 \series default
43578
43579 \begin_inset Index idx
43580 status collapsed
43581
43582 \begin_layout Plain Layout
43583 LaTeX-packages ! polyglossia
43584 \end_layout
43585
43586 \end_inset
43587
43588  that is more suited to the multi-script support of these engines.
43589  Furthermore, there are also specific language packages for languages not
43590  covered by 
43591 \series bold
43592 babel
43593 \series default
43594 .
43595  The available selections are described in section
43596 \begin_inset space ~
43597 \end_inset
43598
43599
43600 \begin_inset CommandInset ref
43601 LatexCommand ref
43602 reference "sec:Language-encodings"
43603
43604 \end_inset
43605
43606 .
43607 \end_layout
43608
43609 \begin_layout Description
43610 Command
43611 \begin_inset space ~
43612 \end_inset
43613
43614 start If a special LaTeX-package is needed to write in a certain document
43615  language, you can here specify the command to start the package.
43616  An example is the start command 
43617 \family sans
43618
43619 \backslash
43620 begin{arabtext}
43621 \family default
43622  that is needed to write Arabic using the package 
43623 \series bold
43624 ArabTeX
43625 \series default
43626 , see 
43627 \begin_inset CommandInset citation
43628 LatexCommand cite
43629 key "Arabic"
43630
43631 \end_inset
43632
43633 .
43634  The default is the 
43635 \series bold
43636 babel
43637 \series default
43638  command 
43639 \family sans
43640
43641 \backslash
43642 selectlanguage{$$lang}
43643 \family default
43644 .
43645 \end_layout
43646
43647 \begin_layout Description
43648 Command
43649 \begin_inset space ~
43650 \end_inset
43651
43652 end Counterpart to 
43653 \family sans
43654 Command start
43655 \family default
43656 .
43657  Some packages, like the default, don't have an end command since the start
43658  command toggles the package on and off.
43659 \end_layout
43660
43661 \begin_layout Description
43662 Default
43663 \begin_inset space ~
43664 \end_inset
43665
43666 Decimal
43667 \begin_inset space ~
43668 \end_inset
43669
43670 Point Define the default decimal point for use in tables (decimal point
43671  alignment).
43672 \end_layout
43673
43674 \begin_layout Description
43675 Set
43676 \begin_inset space ~
43677 \end_inset
43678
43679 languages
43680 \begin_inset space ~
43681 \end_inset
43682
43683 globally When this option is set, the languages used in the document will
43684  be added as options to the document class options, so that they can be
43685  used by all LaTeX-packages.
43686  Otherwise they will only be used as options for the 
43687 \series bold
43688 babel
43689 \series default
43690  package.
43691 \end_layout
43692
43693 \begin_layout Description
43694 Auto
43695 \begin_inset space ~
43696 \end_inset
43697
43698 begin When this option is set, documents start with the chosen document
43699  language.
43700  When this option is not set, the 
43701 \family sans
43702 Command
43703 \begin_inset space ~
43704 \end_inset
43705
43706 start
43707 \family default
43708  is explicitly set to the beginning of the document in the LaTeX-output.
43709  This assures that the correct language is used when you use another 
43710 \family sans
43711 Command
43712 \begin_inset space ~
43713 \end_inset
43714
43715 start
43716 \family default
43717  than the default.
43718 \end_layout
43719
43720 \begin_layout Description
43721 Auto
43722 \begin_inset space ~
43723 \end_inset
43724
43725 end Counterpart to 
43726 \family sans
43727 Auto
43728 \begin_inset space ~
43729 \end_inset
43730
43731 begin
43732 \family default
43733 .
43734  When it is not set, the 
43735 \family sans
43736 Command
43737 \begin_inset space ~
43738 \end_inset
43739
43740 end
43741 \family default
43742  is set to the end of the document.
43743 \end_layout
43744
43745 \begin_layout Description
43746 Mark
43747 \begin_inset space ~
43748 \end_inset
43749
43750 foreign
43751 \begin_inset space ~
43752 \end_inset
43753
43754 languages Text marked formatted in a language different from the document
43755  language will be underlined in blue.
43756 \end_layout
43757
43758 \begin_layout Description
43759 Enable
43760 \begin_inset space ~
43761 \end_inset
43762
43763 RTL
43764 \begin_inset space ~
43765 \end_inset
43766
43767 support Enables the use of languages, written from right to left (RTL),
43768  like Arabic, Hebrew or Farsi.
43769 \end_layout
43770
43771 \begin_layout Description
43772 Cursor
43773 \begin_inset space ~
43774 \end_inset
43775
43776 movement When writing RTL, you can define if the left and right arrow keys
43777  move the cursor visually to the left or right, respectively, or logically.
43778  Logical means that the cursor is moved to the left when pressing the right
43779  arrow key and the cursor is inside text in an RTL language.
43780 \end_layout
43781
43782 \begin_layout Subsection
43783 Spellchecker
43784 \end_layout
43785
43786 \begin_layout Standard
43787 The spellchecker settings are explained in section
43788 \begin_inset space ~
43789 \end_inset
43790
43791
43792 \begin_inset CommandInset ref
43793 LatexCommand ref
43794 reference "sec:Spellchecking"
43795
43796 \end_inset
43797
43798 .
43799 \end_layout
43800
43801 \begin_layout Section
43802 Outputs
43803 \end_layout
43804
43805 \begin_layout Subsection
43806 General
43807 \end_layout
43808
43809 \begin_layout Description
43810 Output
43811 \begin_inset space ~
43812 \end_inset
43813
43814 line
43815 \begin_inset space ~
43816 \end_inset
43817
43818 length sets the maximum number of characters printed in one line when using
43819  the menu 
43820 \family sans
43821 File\SpecialChar \menuseparator
43822 Export\SpecialChar \menuseparator
43823 Plain
43824 \begin_inset space ~
43825 \end_inset
43826
43827 text
43828 \family default
43829 .
43830  Setting the line length to 0 means all text is printed in one endless line.
43831 \end_layout
43832
43833 \begin_layout Description
43834 Date
43835 \begin_inset space ~
43836 \end_inset
43837
43838 format
43839 \begin_inset Index idx
43840 status collapsed
43841
43842 \begin_layout Plain Layout
43843 Date Format
43844 \end_layout
43845
43846 \end_inset
43847
43848
43849 \begin_inset Index idx
43850 status collapsed
43851
43852 \begin_layout Plain Layout
43853 Settings ! Date format
43854 \end_layout
43855
43856 \end_inset
43857
43858  The date format can be one or a mixture of the formats listed here:
43859 \begin_inset Newline newline
43860 \end_inset
43861
43862
43863 \begin_inset Flex URL
43864 status collapsed
43865
43866 \begin_layout Plain Layout
43867
43868 http://unixhelp.ed.ac.uk/CGI/man-cgi?date
43869 \end_layout
43870
43871 \end_inset
43872
43873
43874 \begin_inset Newline newline
43875 \end_inset
43876
43877 For example the format
43878 \begin_inset Newline newline
43879 \end_inset
43880
43881 %d/%m/%y
43882 \begin_inset Newline newline
43883 \end_inset
43884
43885 prints the date as day/month/year.
43886 \end_layout
43887
43888 \begin_layout Description
43889 Overwrite
43890 \begin_inset space ~
43891 \end_inset
43892
43893 on
43894 \begin_inset space ~
43895 \end_inset
43896
43897 export Setting what LyX is allowed to overwrite on export.
43898 \end_layout
43899
43900 \begin_layout Description
43901 Forward
43902 \begin_inset space ~
43903 \end_inset
43904
43905 search Commands that will be used for the menu 
43906 \family sans
43907 Navigate\SpecialChar \menuseparator
43908 Forward
43909 \begin_inset space ~
43910 \end_inset
43911
43912 search
43913 \family default
43914 .
43915  For a detailed description see section 
43916 \emph on
43917 Reverse DVI/PDF search
43918 \emph default
43919  of the 
43920 \emph on
43921 Additional
43922 \begin_inset space ~
43923 \end_inset
43924
43925 Features
43926 \emph default
43927  manual.
43928 \end_layout
43929
43930 \begin_layout Subsection
43931 Printer
43932 \begin_inset CommandInset label
43933 LatexCommand label
43934 name "sub:Printer"
43935
43936 \end_inset
43937
43938
43939 \begin_inset Index idx
43940 status collapsed
43941
43942 \begin_layout Plain Layout
43943 Printer
43944 \end_layout
43945
43946 \end_inset
43947
43948
43949 \begin_inset Index idx
43950 status collapsed
43951
43952 \begin_layout Plain Layout
43953 Settings ! Printer
43954 \end_layout
43955
43956 \end_inset
43957
43958
43959 \end_layout
43960
43961 \begin_layout Description
43962 Default
43963 \begin_inset space ~
43964 \end_inset
43965
43966 printer Here you can specify the name of your 
43967 \family sans
43968 Default printer
43969 \family default
43970 .
43971  The name will be used when the 
43972 \family sans
43973 Printer command
43974 \family default
43975  is executed.
43976 \begin_inset Newline newline
43977 \end_inset
43978
43979
43980 \begin_inset Note Greyedout
43981 status open
43982
43983 \begin_layout Plain Layout
43984
43985 \series bold
43986 Note:
43987 \series default
43988  You can leave this field empty on Windows systems because it has no effect.
43989 \end_layout
43990
43991 \end_inset
43992
43993
43994 \end_layout
43995
43996 \begin_layout Description
43997 Printer
43998 \begin_inset space ~
43999 \end_inset
44000
44001 command is the command LyX
44002 \begin_inset space \thinspace{}
44003 \end_inset
44004
44005 /
44006 \begin_inset space \thinspace{}
44007 \end_inset
44008
44009 LaTeX uses for printing.
44010  The default is 
44011 \family sans
44012 dvips
44013 \family default
44014  on most systems.
44015 \end_layout
44016
44017 \begin_layout Description
44018 Printer
44019 \begin_inset space ~
44020 \end_inset
44021
44022 Command
44023 \begin_inset space ~
44024 \end_inset
44025
44026 Options Here you can specify printer options.
44027  A list of printer options with explanations can be found in the documentation
44028  of the program that provides the 
44029 \family sans
44030 Printer command
44031 \family default
44032  you are using.
44033 \end_layout
44034
44035 \begin_layout Description
44036 Adapt
44037 \begin_inset space ~
44038 \end_inset
44039
44040 output
44041 \begin_inset space ~
44042 \end_inset
44043
44044 to
44045 \begin_inset space ~
44046 \end_inset
44047
44048 printer This option works only for the 
44049 \family sans
44050 Printer command
44051 \family default
44052  
44053 \begin_inset Quotes eld
44054 \end_inset
44055
44056
44057 \family sans
44058 dvips
44059 \family default
44060
44061 \begin_inset Quotes erd
44062 \end_inset
44063
44064 .
44065  It activates a configuration file for dvips.
44066  This is an option only for dvips experts.
44067 \end_layout
44068
44069 \begin_layout Subsection
44070 LaT
44071 \begin_inset ERT
44072 status collapsed
44073
44074 \begin_layout Plain Layout
44075
44076 {}
44077 \end_layout
44078
44079 \end_inset
44080
44081 eX
44082 \begin_inset CommandInset label
44083 LatexCommand label
44084 name "sub:LaTeX-settings"
44085
44086 \end_inset
44087
44088
44089 \begin_inset Index idx
44090 status collapsed
44091
44092 \begin_layout Plain Layout
44093 Settings ! LaTeX
44094 \end_layout
44095
44096 \end_inset
44097
44098
44099 \end_layout
44100
44101 \begin_layout Description
44102 Use
44103 \begin_inset space ~
44104 \end_inset
44105
44106 LaTe
44107 \begin_inset ERT
44108 status collapsed
44109
44110 \begin_layout Plain Layout
44111
44112 {}
44113 \end_layout
44114
44115 \end_inset
44116
44117 X
44118 \begin_inset space ~
44119 \end_inset
44120
44121 font
44122 \begin_inset space ~
44123 \end_inset
44124
44125 encoding This is the default encoding of the document font.
44126  
44127 \family sans
44128 T1
44129 \family default
44130  is the default and covers western languages and symbols.
44131  
44132 \family sans
44133 T2A
44134 \family default
44135
44136 \family sans
44137 T2B
44138 \family default
44139
44140 \family sans
44141 T2C
44142 \family default
44143
44144 \family sans
44145 LCY
44146 \family default
44147  and 
44148 \family sans
44149 X2
44150 \family default
44151  are used for Cyrillic.
44152  Combinations of the encodings are possible, like 
44153 \begin_inset Quotes eld
44154 \end_inset
44155
44156
44157 \family sans
44158 T1, T2B
44159 \family default
44160
44161 \begin_inset Quotes erd
44162 \end_inset
44163
44164 .
44165  The font encoding is normally automatically loaded by the language packages
44166  LyX sets up in the background.
44167  So there is no need to change the default encoding.
44168 \end_layout
44169
44170 \begin_layout Description
44171 Default
44172 \begin_inset space ~
44173 \end_inset
44174
44175 paper
44176 \begin_inset space ~
44177 \end_inset
44178
44179 size This is the paper size that is used for new documents.
44180  The 
44181 \family sans
44182 Default
44183 \family default
44184  value depends on your LaTeX-system setup.
44185 \end_layout
44186
44187 \begin_layout Description
44188 DVI
44189 \begin_inset space ~
44190 \end_inset
44191
44192 viewer
44193 \begin_inset space ~
44194 \end_inset
44195
44196 paper
44197 \begin_inset space ~
44198 \end_inset
44199
44200 size
44201 \begin_inset space ~
44202 \end_inset
44203
44204 options They only have an effect when the program 
44205 \family sans
44206 xdvi
44207 \family default
44208  is used as DVI-viewer, read its manual to find out more.
44209 \end_layout
44210
44211 \begin_layout Standard
44212 Here you can also specify options and commands with parameters for processors.
44213  But before you change something, it is strongly recommended to read the
44214  manuals of the applications.
44215 \end_layout
44216
44217 \begin_layout Description
44218 Bibliography
44219 \begin_inset space ~
44220 \end_inset
44221
44222 generation Settings for the generation of the bibliography, see section
44223 \begin_inset space ~
44224 \end_inset
44225
44226
44227 \begin_inset CommandInset ref
44228 LatexCommand ref
44229 reference "sub:Bibliography-databases"
44230
44231 \end_inset
44232
44233 .
44234 \end_layout
44235
44236 \begin_layout Description
44237 Index
44238 \begin_inset space ~
44239 \end_inset
44240
44241 generation Settings for the generation of the index, see section
44242 \begin_inset space ~
44243 \end_inset
44244
44245
44246 \begin_inset CommandInset ref
44247 LatexCommand ref
44248 reference "sub:Index-Program"
44249
44250 \end_inset
44251
44252 .
44253 \end_layout
44254
44255 \begin_layout Description
44256 Nomenclature
44257 \begin_inset space ~
44258 \end_inset
44259
44260 command Command for the program that generates the nomenclature, see section
44261 \begin_inset space ~
44262 \end_inset
44263
44264
44265 \begin_inset CommandInset ref
44266 LatexCommand ref
44267 reference "sub:Nomenclature-Program"
44268
44269 \end_inset
44270
44271 .
44272 \end_layout
44273
44274 \begin_layout Description
44275 CheckTe
44276 \begin_inset ERT
44277 status collapsed
44278
44279 \begin_layout Plain Layout
44280
44281 {}
44282 \end_layout
44283
44284 \end_inset
44285
44286 X
44287 \begin_inset space ~
44288 \end_inset
44289
44290 command Command for the program 
44291 \family sans
44292 CheckTeX
44293 \family default
44294  that is described in the section 
44295 \emph on
44296 Checking TeX
44297 \emph default
44298  of the 
44299 \emph on
44300 Additional Features
44301 \emph default
44302  manual.
44303 \end_layout
44304
44305 \begin_layout Standard
44306 There are additionally the following options:
44307 \end_layout
44308
44309 \begin_layout Description
44310 Use
44311 \begin_inset space ~
44312 \end_inset
44313
44314 Windows-style
44315 \begin_inset space ~
44316 \end_inset
44317
44318 paths
44319 \begin_inset space ~
44320 \end_inset
44321
44322 in
44323 \begin_inset space ~
44324 \end_inset
44325
44326 LaTeX
44327 \begin_inset space ~
44328 \end_inset
44329
44330 files Uses paths in the notation of Windows, that means that 
44331 \begin_inset Quotes eld
44332 \end_inset
44333
44334
44335 \backslash
44336
44337 \begin_inset Quotes erd
44338 \end_inset
44339
44340  is used instead of 
44341 \begin_inset Quotes eld
44342 \end_inset
44343
44344 /
44345 \begin_inset Quotes erd
44346 \end_inset
44347
44348  to separate folders.
44349  This option is enabled by default when you use LyX on Windows.
44350 \begin_inset Index idx
44351 status collapsed
44352
44353 \begin_layout Plain Layout
44354 Paths
44355 \end_layout
44356
44357 \end_inset
44358
44359
44360 \begin_inset Index idx
44361 status collapsed
44362
44363 \begin_layout Plain Layout
44364 Settings ! Paths
44365 \end_layout
44366
44367 \end_inset
44368
44369
44370 \end_layout
44371
44372 \begin_layout Description
44373 Reset
44374 \begin_inset space ~
44375 \end_inset
44376
44377 class
44378 \begin_inset space ~
44379 \end_inset
44380
44381 options
44382 \begin_inset space ~
44383 \end_inset
44384
44385 when
44386 \begin_inset space ~
44387 \end_inset
44388
44389 document
44390 \begin_inset space ~
44391 \end_inset
44392
44393 class
44394 \begin_inset space ~
44395 \end_inset
44396
44397 changes Removes all manually set 
44398 \family sans
44399 Class options
44400 \family default
44401  in the 
44402 \family sans
44403 Document\SpecialChar \menuseparator
44404 Settings\SpecialChar \menuseparator
44405 Document
44406 \begin_inset space ~
44407 \end_inset
44408
44409 Class
44410 \family default
44411  dialog when changing the document class.
44412 \end_layout
44413
44414 \begin_layout Section
44415 File
44416 \begin_inset space ~
44417 \end_inset
44418
44419 Handling
44420 \begin_inset Index idx
44421 status collapsed
44422
44423 \begin_layout Plain Layout
44424 File handling
44425 \end_layout
44426
44427 \end_inset
44428
44429
44430 \end_layout
44431
44432 \begin_layout Subsection
44433 Converters
44434 \begin_inset CommandInset label
44435 LatexCommand label
44436 name "sub:Converters"
44437
44438 \end_inset
44439
44440
44441 \begin_inset Index idx
44442 status collapsed
44443
44444 \begin_layout Plain Layout
44445 Converters
44446 \end_layout
44447
44448 \end_inset
44449
44450
44451 \end_layout
44452
44453 \begin_layout Standard
44454 Here you find the list of defined converter commands to convert material
44455  from one format to another.
44456  You can modify converters or create new ones.
44457  To modify a converter, select it, change the entry of the 
44458 \family sans
44459 Converter
44460 \family default
44461  and/or 
44462 \family sans
44463 Extra
44464 \begin_inset space ~
44465 \end_inset
44466
44467 flag
44468 \family default
44469  field and press the 
44470 \family sans
44471 Modify
44472 \family default
44473  button.
44474  To create a new converter, select an existing one, select a different format
44475  in the 
44476 \family sans
44477 To
44478 \begin_inset space ~
44479 \end_inset
44480
44481 format
44482 \family default
44483  drop-down list, modify the 
44484 \family sans
44485 Converter
44486 \family default
44487  field and press the 
44488 \family sans
44489 Add
44490 \family default
44491  button.
44492 \end_layout
44493
44494 \begin_layout Standard
44495 If the 
44496 \family sans
44497 Converter File Cache
44498 \family default
44499  is 
44500 \family sans
44501 Enabled
44502 \family default
44503 , conversions will be cached as long as specified in the field 
44504 \family sans
44505 Maximum Age (in days
44506 \family default
44507 ).
44508  This means that images don't need to be converted again when you reopen
44509  a document; the converted images from the cache will be used instead.
44510 \end_layout
44511
44512 \begin_layout Standard
44513 More about converters, like the flags that can be used in the converter
44514  definition, is described in the section 
44515 \emph on
44516 Converters
44517 \emph default
44518  of the 
44519 \emph on
44520 Customization
44521 \emph default
44522  manual.
44523 \end_layout
44524
44525 \begin_layout Subsection
44526 File Formats
44527 \begin_inset CommandInset label
44528 LatexCommand label
44529 name "sec:File-Formats"
44530
44531 \end_inset
44532
44533
44534 \begin_inset Index idx
44535 status collapsed
44536
44537 \begin_layout Plain Layout
44538 File formats
44539 \end_layout
44540
44541 \end_inset
44542
44543
44544 \begin_inset Index idx
44545 status collapsed
44546
44547 \begin_layout Plain Layout
44548 Copiers
44549 \end_layout
44550
44551 \end_inset
44552
44553
44554 \end_layout
44555
44556 \begin_layout Standard
44557 Here you find the list of defined file formats that LyX can handle.
44558  You can modify the 
44559 \family sans
44560 Editor
44561 \family default
44562  and 
44563 \family sans
44564 Viewer
44565 \family default
44566  programs that should be used for certain formats.
44567 \end_layout
44568
44569 \begin_layout Standard
44570 You can also define the 
44571 \family sans
44572 Default output format
44573 \family default
44574  that is used when you use 
44575 \family sans
44576 View, Update, View Master Document
44577 \family default
44578  or 
44579 \family sans
44580 Update Master Document
44581 \family default
44582  in the 
44583 \family sans
44584 Document
44585 \family default
44586  menu or the toolbar.
44587 \end_layout
44588
44589 \begin_layout Standard
44590 More about formats and their options is described in the section 
44591 \emph on
44592 Formats
44593 \emph default
44594  of the 
44595 \emph on
44596 Customization
44597 \emph default
44598  manual.
44599 \end_layout
44600
44601 \begin_layout Standard
44602 Since all conversions from one format to another take place in LyX's temporary
44603  directory, it is sometimes necessary to modify a file before copying it
44604  to the temporary directory so that the conversion may be performed.
44605  This is done by specifying a 
44606 \family sans
44607 Copier
44608 \family default
44609 .
44610  More about this is described in the section 
44611 \emph on
44612 Copiers
44613 \emph default
44614  of the 
44615 \emph on
44616 Customization
44617 \emph default
44618  manual.
44619 \end_layout
44620
44621 \begin_layout Chapter
44622 Units available in LyX
44623 \begin_inset Index idx
44624 status collapsed
44625
44626 \begin_layout Plain Layout
44627 Units
44628 \end_layout
44629
44630 \end_inset
44631
44632
44633 \begin_inset CommandInset label
44634 LatexCommand label
44635 name "chap:Units-available-in"
44636
44637 \end_inset
44638
44639
44640 \end_layout
44641
44642 \begin_layout Standard
44643 Table
44644 \begin_inset space ~
44645 \end_inset
44646
44647
44648 \begin_inset CommandInset ref
44649 LatexCommand ref
44650 reference "tab:Units"
44651
44652 \end_inset
44653
44654  explains all the units available in LyX and used in this documentation.
44655 \end_layout
44656
44657 \begin_layout Standard
44658 \begin_inset Float table
44659 placement h
44660 wide false
44661 sideways false
44662 status open
44663
44664 \begin_layout Plain Layout
44665 \begin_inset Caption Standard
44666
44667 \begin_layout Plain Layout
44668 \begin_inset CommandInset label
44669 LatexCommand label
44670 name "tab:Units"
44671
44672 \end_inset
44673
44674 Units
44675 \end_layout
44676
44677 \end_inset
44678
44679
44680 \end_layout
44681
44682 \begin_layout Plain Layout
44683 \begin_inset VSpace medskip
44684 \end_inset
44685
44686
44687 \end_layout
44688
44689 \begin_layout Plain Layout
44690 \align center
44691 \begin_inset Tabular
44692 <lyxtabular version="3" rows="20" columns="2">
44693 <features rotate="0" tabularvalignment="middle">
44694 <column alignment="center" valignment="top">
44695 <column alignment="center" valignment="top">
44696 <row>
44697 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44698 \begin_inset Text
44699
44700 \begin_layout Plain Layout
44701 unit
44702 \end_layout
44703
44704 \end_inset
44705 </cell>
44706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
44707 \begin_inset Text
44708
44709 \begin_layout Plain Layout
44710 name/description
44711 \end_layout
44712
44713 \end_inset
44714 </cell>
44715 </row>
44716 <row>
44717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44718 \begin_inset Text
44719
44720 \begin_layout Plain Layout
44721 mm
44722 \end_layout
44723
44724 \end_inset
44725 </cell>
44726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44727 \begin_inset Text
44728
44729 \begin_layout Plain Layout
44730 millimeter
44731 \end_layout
44732
44733 \end_inset
44734 </cell>
44735 </row>
44736 <row>
44737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44738 \begin_inset Text
44739
44740 \begin_layout Plain Layout
44741 cm
44742 \end_layout
44743
44744 \end_inset
44745 </cell>
44746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44747 \begin_inset Text
44748
44749 \begin_layout Plain Layout
44750 centimeter
44751 \end_layout
44752
44753 \end_inset
44754 </cell>
44755 </row>
44756 <row>
44757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44758 \begin_inset Text
44759
44760 \begin_layout Plain Layout
44761 in
44762 \end_layout
44763
44764 \end_inset
44765 </cell>
44766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44767 \begin_inset Text
44768
44769 \begin_layout Plain Layout
44770 inch
44771 \end_layout
44772
44773 \end_inset
44774 </cell>
44775 </row>
44776 <row>
44777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44778 \begin_inset Text
44779
44780 \begin_layout Plain Layout
44781 pt
44782 \end_layout
44783
44784 \end_inset
44785 </cell>
44786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44787 \begin_inset Text
44788
44789 \begin_layout Plain Layout
44790 point (72.27
44791 \begin_inset space \thinspace{}
44792 \end_inset
44793
44794 pt = 1
44795 \begin_inset space \thinspace{}
44796 \end_inset
44797
44798 in)
44799 \end_layout
44800
44801 \end_inset
44802 </cell>
44803 </row>
44804 <row>
44805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44806 \begin_inset Text
44807
44808 \begin_layout Plain Layout
44809 pc
44810 \end_layout
44811
44812 \end_inset
44813 </cell>
44814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44815 \begin_inset Text
44816
44817 \begin_layout Plain Layout
44818 pica (1
44819 \begin_inset space \thinspace{}
44820 \end_inset
44821
44822 pc = 12
44823 \begin_inset space \thinspace{}
44824 \end_inset
44825
44826 pt)
44827 \end_layout
44828
44829 \end_inset
44830 </cell>
44831 </row>
44832 <row>
44833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44834 \begin_inset Text
44835
44836 \begin_layout Plain Layout
44837 sp
44838 \end_layout
44839
44840 \end_inset
44841 </cell>
44842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44843 \begin_inset Text
44844
44845 \begin_layout Plain Layout
44846 scaled point (65536
44847 \begin_inset space \thinspace{}
44848 \end_inset
44849
44850 sp = 1
44851 \begin_inset space \thinspace{}
44852 \end_inset
44853
44854 pt)
44855 \end_layout
44856
44857 \end_inset
44858 </cell>
44859 </row>
44860 <row>
44861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44862 \begin_inset Text
44863
44864 \begin_layout Plain Layout
44865 bp
44866 \end_layout
44867
44868 \end_inset
44869 </cell>
44870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44871 \begin_inset Text
44872
44873 \begin_layout Plain Layout
44874 big point (72
44875 \begin_inset space \thinspace{}
44876 \end_inset
44877
44878 bp = 1
44879 \begin_inset space \thinspace{}
44880 \end_inset
44881
44882 in)
44883 \end_layout
44884
44885 \end_inset
44886 </cell>
44887 </row>
44888 <row>
44889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44890 \begin_inset Text
44891
44892 \begin_layout Plain Layout
44893 dd
44894 \end_layout
44895
44896 \end_inset
44897 </cell>
44898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44899 \begin_inset Text
44900
44901 \begin_layout Plain Layout
44902 didot (72
44903 \begin_inset space \thinspace{}
44904 \end_inset
44905
44906 dd 
44907 \begin_inset Formula $\approx$
44908 \end_inset
44909
44910  37.6
44911 \begin_inset space \thinspace{}
44912 \end_inset
44913
44914 mm)
44915 \end_layout
44916
44917 \end_inset
44918 </cell>
44919 </row>
44920 <row>
44921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44922 \begin_inset Text
44923
44924 \begin_layout Plain Layout
44925 cc
44926 \end_layout
44927
44928 \end_inset
44929 </cell>
44930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44931 \begin_inset Text
44932
44933 \begin_layout Plain Layout
44934 cicero (1
44935 \begin_inset space \thinspace{}
44936 \end_inset
44937
44938 cc = 12
44939 \begin_inset space \thinspace{}
44940 \end_inset
44941
44942 dd)
44943 \end_layout
44944
44945 \end_inset
44946 </cell>
44947 </row>
44948 <row>
44949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44950 \begin_inset Text
44951
44952 \begin_layout Plain Layout
44953 Scale%
44954 \end_layout
44955
44956 \end_inset
44957 </cell>
44958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44959 \begin_inset Text
44960
44961 \begin_layout Plain Layout
44962 % of original image width
44963 \end_layout
44964
44965 \end_inset
44966 </cell>
44967 </row>
44968 <row>
44969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44970 \begin_inset Text
44971
44972 \begin_layout Plain Layout
44973 text%
44974 \end_layout
44975
44976 \end_inset
44977 </cell>
44978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44979 \begin_inset Text
44980
44981 \begin_layout Plain Layout
44982 % of text width
44983 \end_layout
44984
44985 \end_inset
44986 </cell>
44987 </row>
44988 <row>
44989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44990 \begin_inset Text
44991
44992 \begin_layout Plain Layout
44993 col%
44994 \end_layout
44995
44996 \end_inset
44997 </cell>
44998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44999 \begin_inset Text
45000
45001 \begin_layout Plain Layout
45002 % of column width
45003 \end_layout
45004
45005 \end_inset
45006 </cell>
45007 </row>
45008 <row>
45009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45010 \begin_inset Text
45011
45012 \begin_layout Plain Layout
45013 page%
45014 \end_layout
45015
45016 \end_inset
45017 </cell>
45018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45019 \begin_inset Text
45020
45021 \begin_layout Plain Layout
45022 % of paper width
45023 \end_layout
45024
45025 \end_inset
45026 </cell>
45027 </row>
45028 <row>
45029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45030 \begin_inset Text
45031
45032 \begin_layout Plain Layout
45033 line%
45034 \end_layout
45035
45036 \end_inset
45037 </cell>
45038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45039 \begin_inset Text
45040
45041 \begin_layout Plain Layout
45042 % of line width
45043 \end_layout
45044
45045 \end_inset
45046 </cell>
45047 </row>
45048 <row>
45049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45050 \begin_inset Text
45051
45052 \begin_layout Plain Layout
45053 theight%
45054 \end_layout
45055
45056 \end_inset
45057 </cell>
45058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45059 \begin_inset Text
45060
45061 \begin_layout Plain Layout
45062 % of text height
45063 \end_layout
45064
45065 \end_inset
45066 </cell>
45067 </row>
45068 <row>
45069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45070 \begin_inset Text
45071
45072 \begin_layout Plain Layout
45073 pheight%
45074 \end_layout
45075
45076 \end_inset
45077 </cell>
45078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45079 \begin_inset Text
45080
45081 \begin_layout Plain Layout
45082 % of paper height
45083 \end_layout
45084
45085 \end_inset
45086 </cell>
45087 </row>
45088 <row>
45089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45090 \begin_inset Text
45091
45092 \begin_layout Plain Layout
45093 ex
45094 \end_layout
45095
45096 \end_inset
45097 </cell>
45098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45099 \begin_inset Text
45100
45101 \begin_layout Plain Layout
45102 height of letter 
45103 \emph on
45104 x
45105 \emph default
45106  in current font
45107 \end_layout
45108
45109 \end_inset
45110 </cell>
45111 </row>
45112 <row>
45113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45114 \begin_inset Text
45115
45116 \begin_layout Plain Layout
45117 em
45118 \end_layout
45119
45120 \end_inset
45121 </cell>
45122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45123 \begin_inset Text
45124
45125 \begin_layout Plain Layout
45126 width of letter 
45127 \emph on
45128 M
45129 \emph default
45130  in current font
45131 \end_layout
45132
45133 \end_inset
45134 </cell>
45135 </row>
45136 <row>
45137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45138 \begin_inset Text
45139
45140 \begin_layout Plain Layout
45141 mu
45142 \end_layout
45143
45144 \end_inset
45145 </cell>
45146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
45147 \begin_inset Text
45148
45149 \begin_layout Plain Layout
45150 math unit (1
45151 \begin_inset space \thinspace{}
45152 \end_inset
45153
45154 mu = 1/18
45155 \begin_inset space \thinspace{}
45156 \end_inset
45157
45158 em)
45159 \end_layout
45160
45161 \end_inset
45162 </cell>
45163 </row>
45164 </lyxtabular>
45165
45166 \end_inset
45167
45168
45169 \end_layout
45170
45171 \end_inset
45172
45173
45174 \end_layout
45175
45176 \begin_layout Chapter
45177 Credits
45178 \begin_inset CommandInset label
45179 LatexCommand label
45180 name "chap:Credits"
45181
45182 \end_inset
45183
45184
45185 \end_layout
45186
45187 \begin_layout Standard
45188 The documentation is a collaborative effort between many different people
45189  (and we would encourage people to contribute!).
45190 \end_layout
45191
45192 \begin_layout Itemize
45193
45194 \noun on
45195 Alejandro Aguilar Sierra
45196 \end_layout
45197
45198 \begin_layout Itemize
45199
45200 \noun on
45201 Amir Karger
45202 \end_layout
45203
45204 \begin_layout Itemize
45205
45206 \noun on
45207 David Johnson
45208 \end_layout
45209
45210 \begin_layout Itemize
45211
45212 \noun on
45213 Hartmut Haase
45214 \end_layout
45215
45216 \begin_layout Itemize
45217
45218 \noun on
45219 Ignacio García
45220 \end_layout
45221
45222 \begin_layout Itemize
45223
45224 \noun on
45225 Ivan Schreter
45226 \end_layout
45227
45228 \begin_layout Itemize
45229
45230 \noun on
45231 John Raithel
45232 \end_layout
45233
45234 \begin_layout Itemize
45235
45236 \noun on
45237 John Weiss
45238 \end_layout
45239
45240 \begin_layout Itemize
45241
45242 \noun on
45243 Lars Gullik Bjønnes
45244 \end_layout
45245
45246 \begin_layout Itemize
45247
45248 \noun on
45249 Matthias Ettrich
45250 \end_layout
45251
45252 \begin_layout Itemize
45253
45254 \noun on
45255 Matthias Zenker
45256 \end_layout
45257
45258 \begin_layout Itemize
45259
45260 \noun on
45261 Rich Fields
45262 \end_layout
45263
45264 \begin_layout Itemize
45265
45266 \noun on
45267 Pascal André
45268 \end_layout
45269
45270 \begin_layout Itemize
45271
45272 \noun on
45273 Paul Evans
45274 \end_layout
45275
45276 \begin_layout Itemize
45277
45278 \noun on
45279 Paul Russel
45280 \end_layout
45281
45282 \begin_layout Itemize
45283
45284 \noun on
45285 Robin Socha
45286 \end_layout
45287
45288 \begin_layout Itemize
45289
45290 \noun on
45291 Uwe Stöhr
45292 \end_layout
45293
45294 \begin_layout Itemize
45295 The LyX Team: 
45296 \begin_inset CommandInset citation
45297 LatexCommand cite
45298 key "lyxcredit"
45299
45300 \end_inset
45301
45302
45303 \end_layout
45304
45305 \begin_layout Standard
45306 \begin_inset Newpage newpage
45307 \end_inset
45308
45309 The bibliography on the following page was created with the 
45310 \family sans
45311 Bibliography
45312 \family default
45313  environment.
45314 \end_layout
45315
45316 \begin_layout Bibliography
45317 \begin_inset CommandInset bibitem
45318 LatexCommand bibitem
45319 label "Credits"
45320 key "lyxcredit"
45321
45322 \end_inset
45323
45324 The LyX Team: 
45325 \begin_inset CommandInset href
45326 LatexCommand href
45327 name "Credits"
45328 target "http://www.lyx.org/Credits"
45329
45330 \end_inset
45331
45332 :
45333 \begin_inset Newline newline
45334 \end_inset
45335
45336
45337 \begin_inset Flex URL
45338 status collapsed
45339
45340 \begin_layout Plain Layout
45341
45342 http://www.lyx.org/Credits
45343 \end_layout
45344
45345 \end_inset
45346
45347
45348 \end_layout
45349
45350 \begin_layout Bibliography
45351 \begin_inset CommandInset bibitem
45352 LatexCommand bibitem
45353 key "latexcompanion"
45354
45355 \end_inset
45356
45357 Frank Mittelbach and Michel Goossens: 
45358 \emph on
45359 The LaTeX Companion Second Edition.
45360
45361 \emph default
45362  Addison-Wesley, 2004
45363 \end_layout
45364
45365 \begin_layout Bibliography
45366 \begin_inset CommandInset bibitem
45367 LatexCommand bibitem
45368 key "latexguide"
45369
45370 \end_inset
45371
45372 Helmut Kopka and Patrick W.
45373  Daly: 
45374 \emph on
45375 A Guide to LaTeX Fourth Edition.
45376
45377 \emph default
45378  Addison-Wesley, 2003
45379 \end_layout
45380
45381 \begin_layout Bibliography
45382 \begin_inset CommandInset bibitem
45383 LatexCommand bibitem
45384 key "latexbook"
45385
45386 \end_inset
45387
45388 Leslie Lamport: 
45389 \emph on
45390 LaTeX: A Document Preparation System.
45391
45392 \emph default
45393  Addison-Wesley, second edition, 1994
45394 \end_layout
45395
45396 \begin_layout Bibliography
45397 \begin_inset CommandInset bibitem
45398 LatexCommand bibitem
45399 key "texbook"
45400
45401 \end_inset
45402
45403 Donald E.
45404  Knuth.
45405  
45406 \emph on
45407 The TeXbook.
45408
45409 \emph default
45410  Addison-Wesley, 1984
45411 \end_layout
45412
45413 \begin_layout Bibliography
45414 \begin_inset CommandInset bibitem
45415 LatexCommand bibitem
45416 key "TeXCatalogue"
45417
45418 \end_inset
45419
45420 The TeX Catalogue:
45421 \begin_inset Newline newline
45422 \end_inset
45423
45424
45425 \begin_inset Flex URL
45426 status collapsed
45427
45428 \begin_layout Plain Layout
45429
45430 http://mirrors.ctan.org/help/Catalogue/bytopic.html
45431 \end_layout
45432
45433 \end_inset
45434
45435
45436 \end_layout
45437
45438 \begin_layout Bibliography
45439 \begin_inset CommandInset bibitem
45440 LatexCommand bibitem
45441 key "LaTeXFAQ"
45442
45443 \end_inset
45444
45445 The LaTeX FAQ:
45446 \begin_inset Newline newline
45447 \end_inset
45448
45449
45450 \begin_inset Flex URL
45451 status collapsed
45452
45453 \begin_layout Plain Layout
45454
45455 http://www.tex.ac.uk/cgi-bin/texfaq2html
45456 \end_layout
45457
45458 \end_inset
45459
45460
45461 \end_layout
45462
45463 \begin_layout Bibliography
45464 \begin_inset CommandInset bibitem
45465 LatexCommand bibitem
45466 key "BibTeX"
45467
45468 \end_inset
45469
45470
45471 \begin_inset CommandInset href
45472 LatexCommand href
45473 name "Documentation"
45474 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
45475
45476 \end_inset
45477
45478  of the program 
45479 \family sans
45480 BibTeX
45481 \family default
45482 :
45483 \begin_inset Newline newline
45484 \end_inset
45485
45486
45487 \begin_inset Flex URL
45488 status collapsed
45489
45490 \begin_layout Plain Layout
45491
45492 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
45493 \end_layout
45494
45495 \end_inset
45496
45497
45498 \end_layout
45499
45500 \begin_layout Bibliography
45501 \begin_inset CommandInset bibitem
45502 LatexCommand bibitem
45503 key "BibTeX-2"
45504
45505 \end_inset
45506
45507
45508 \begin_inset CommandInset href
45509 LatexCommand href
45510 name "Documentation"
45511 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
45512
45513 \end_inset
45514
45515  how to use the program 
45516 \family sans
45517 BibTeX
45518 \family default
45519 :
45520 \begin_inset Newline newline
45521 \end_inset
45522
45523
45524 \begin_inset Flex URL
45525 status collapsed
45526
45527 \begin_layout Plain Layout
45528
45529 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
45530 \end_layout
45531
45532 \end_inset
45533
45534
45535 \end_layout
45536
45537 \begin_layout Bibliography
45538 \begin_inset CommandInset bibitem
45539 LatexCommand bibitem
45540 key "makeindex"
45541
45542 \end_inset
45543
45544
45545 \begin_inset CommandInset href
45546 LatexCommand href
45547 name "Documentation"
45548 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
45549
45550 \end_inset
45551
45552  of the program 
45553 \family sans
45554 makeindex
45555 \family default
45556 :
45557 \begin_inset Newline newline
45558 \end_inset
45559
45560
45561 \begin_inset Flex URL
45562 status collapsed
45563
45564 \begin_layout Plain Layout
45565
45566 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
45567 \end_layout
45568
45569 \end_inset
45570
45571
45572 \end_layout
45573
45574 \begin_layout Bibliography
45575 \begin_inset CommandInset bibitem
45576 LatexCommand bibitem
45577 key "xindy"
45578
45579 \end_inset
45580
45581
45582 \begin_inset CommandInset href
45583 LatexCommand href
45584 name "Documentation"
45585 target "http://www.xindy.org/documentation.html"
45586
45587 \end_inset
45588
45589  of the program 
45590 \family sans
45591 xindy
45592 \family default
45593 :
45594 \begin_inset Newline newline
45595 \end_inset
45596
45597
45598 \begin_inset Flex URL
45599 status collapsed
45600
45601 \begin_layout Plain Layout
45602
45603 http://www.xindy.org/documentation.html
45604 \end_layout
45605
45606 \end_inset
45607
45608
45609 \end_layout
45610
45611 \begin_layout Bibliography
45612 \begin_inset CommandInset bibitem
45613 LatexCommand bibitem
45614 key "AMS"
45615
45616 \end_inset
45617
45618
45619 \begin_inset CommandInset href
45620 LatexCommand href
45621 name "Documentation"
45622 target "http://www.ams.org/publications/authors/tex/amslatex"
45623
45624 \end_inset
45625
45626  of the AMS LaTeX-packages:
45627 \begin_inset Newline newline
45628 \end_inset
45629
45630
45631 \begin_inset Flex URL
45632 status collapsed
45633
45634 \begin_layout Plain Layout
45635
45636 http://www.ams.org/publications/authors/tex/amslatex
45637 \end_layout
45638
45639 \end_inset
45640
45641
45642 \end_layout
45643
45644 \begin_layout Bibliography
45645 \begin_inset CommandInset bibitem
45646 LatexCommand bibitem
45647 key "caption"
45648
45649 \end_inset
45650
45651
45652 \begin_inset CommandInset href
45653 LatexCommand href
45654 name "Documentation"
45655 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
45656
45657 \end_inset
45658
45659  of the LaTeX-package 
45660 \series bold
45661 caption
45662 \series default
45663
45664 \begin_inset Index idx
45665 status collapsed
45666
45667 \begin_layout Plain Layout
45668 LaTeX-packages ! caption
45669 \end_layout
45670
45671 \end_inset
45672
45673 :
45674 \begin_inset Newline newline
45675 \end_inset
45676
45677
45678 \begin_inset Flex URL
45679 status collapsed
45680
45681 \begin_layout Plain Layout
45682
45683 http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf
45684 \end_layout
45685
45686 \end_inset
45687
45688
45689 \end_layout
45690
45691 \begin_layout Bibliography
45692 \begin_inset CommandInset bibitem
45693 LatexCommand bibitem
45694 key "enumitem"
45695
45696 \end_inset
45697
45698
45699 \begin_inset CommandInset href
45700 LatexCommand href
45701 name "Documentation"
45702 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
45703
45704 \end_inset
45705
45706  of the LaTeX-package 
45707 \series bold
45708 enumitem
45709 \series default
45710
45711 \begin_inset Index idx
45712 status collapsed
45713
45714 \begin_layout Plain Layout
45715 LaTeX-packages ! enumitem
45716 \end_layout
45717
45718 \end_inset
45719
45720 :
45721 \begin_inset Newline newline
45722 \end_inset
45723
45724
45725 \begin_inset Flex URL
45726 status collapsed
45727
45728 \begin_layout Plain Layout
45729
45730 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
45731 \end_layout
45732
45733 \end_inset
45734
45735
45736 \end_layout
45737
45738 \begin_layout Bibliography
45739 \begin_inset CommandInset bibitem
45740 LatexCommand bibitem
45741 key "fancyhdr"
45742
45743 \end_inset
45744
45745
45746 \begin_inset CommandInset href
45747 LatexCommand href
45748 name "Documentation"
45749 target "http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
45750
45751 \end_inset
45752
45753  of the LaTeX-package 
45754 \series bold
45755 fancyhdr
45756 \series default
45757
45758 \begin_inset Index idx
45759 status collapsed
45760
45761 \begin_layout Plain Layout
45762 LaTeX-packages ! fancyhdr
45763 \end_layout
45764
45765 \end_inset
45766
45767 :
45768 \begin_inset Newline newline
45769 \end_inset
45770
45771
45772 \begin_inset Flex URL
45773 status collapsed
45774
45775 \begin_layout Plain Layout
45776
45777 http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf
45778 \end_layout
45779
45780 \end_inset
45781
45782
45783 \end_layout
45784
45785 \begin_layout Bibliography
45786 \begin_inset CommandInset bibitem
45787 LatexCommand bibitem
45788 key "hyperref"
45789
45790 \end_inset
45791
45792
45793 \begin_inset CommandInset href
45794 LatexCommand href
45795 name "Documentation"
45796 target "http://www.ctan.org/pkg/hyperref"
45797
45798 \end_inset
45799
45800  of the LaTeX-package 
45801 \series bold
45802 hyperref
45803 \series default
45804
45805 \begin_inset Index idx
45806 status collapsed
45807
45808 \begin_layout Plain Layout
45809 LaTeX-packages ! hyperref
45810 \end_layout
45811
45812 \end_inset
45813
45814 :
45815 \begin_inset Newline newline
45816 \end_inset
45817
45818
45819 \begin_inset Flex URL
45820 status collapsed
45821
45822 \begin_layout Plain Layout
45823
45824 http://www.ctan.org/pkg/hyperref
45825 \end_layout
45826
45827 \end_inset
45828
45829
45830 \end_layout
45831
45832 \begin_layout Bibliography
45833 \begin_inset CommandInset bibitem
45834 LatexCommand bibitem
45835 key "nomencl"
45836
45837 \end_inset
45838
45839
45840 \begin_inset CommandInset href
45841 LatexCommand href
45842 name "Documentation"
45843 target "http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
45844
45845 \end_inset
45846
45847  of the LaTeX-package 
45848 \series bold
45849 nomencl
45850 \series default
45851
45852 \begin_inset Index idx
45853 status collapsed
45854
45855 \begin_layout Plain Layout
45856 LaTeX-packages ! nomencl
45857 \end_layout
45858
45859 \end_inset
45860
45861 :
45862 \begin_inset Newline newline
45863 \end_inset
45864
45865
45866 \begin_inset Flex URL
45867 status collapsed
45868
45869 \begin_layout Plain Layout
45870
45871 http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
45872 \end_layout
45873
45874 \end_inset
45875
45876
45877 \end_layout
45878
45879 \begin_layout Bibliography
45880 \begin_inset CommandInset bibitem
45881 LatexCommand bibitem
45882 key "prettyref"
45883
45884 \end_inset
45885
45886
45887 \begin_inset CommandInset href
45888 LatexCommand href
45889 name "Documentation"
45890 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
45891
45892 \end_inset
45893
45894  of the LaTeX-package 
45895 \series bold
45896 prettyref
45897 \series default
45898
45899 \begin_inset Index idx
45900 status collapsed
45901
45902 \begin_layout Plain Layout
45903 LaTeX-packages ! prettyref
45904 \end_layout
45905
45906 \end_inset
45907
45908 :
45909 \begin_inset Newline newline
45910 \end_inset
45911
45912
45913 \begin_inset Flex URL
45914 status collapsed
45915
45916 \begin_layout Plain Layout
45917
45918 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
45919 \end_layout
45920
45921 \end_inset
45922
45923
45924 \end_layout
45925
45926 \begin_layout Bibliography
45927 \begin_inset CommandInset bibitem
45928 LatexCommand bibitem
45929 key "refstyle"
45930
45931 \end_inset
45932
45933
45934 \begin_inset CommandInset href
45935 LatexCommand href
45936 name "Documentation"
45937 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
45938
45939 \end_inset
45940
45941  of the LaTeX-package 
45942 \series bold
45943 refstyle
45944 \series default
45945
45946 \begin_inset Index idx
45947 status collapsed
45948
45949 \begin_layout Plain Layout
45950 LaTeX-packages ! refstyle
45951 \end_layout
45952
45953 \end_inset
45954
45955 :
45956 \begin_inset Newline newline
45957 \end_inset
45958
45959
45960 \begin_inset Flex URL
45961 status collapsed
45962
45963 \begin_layout Plain Layout
45964
45965 http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf
45966 \end_layout
45967
45968 \end_inset
45969
45970
45971 \end_layout
45972
45973 \begin_layout Bibliography
45974 \begin_inset CommandInset bibitem
45975 LatexCommand bibitem
45976 key "Arabic"
45977
45978 \end_inset
45979
45980
45981 \begin_inset CommandInset href
45982 LatexCommand href
45983 name "Wiki-page"
45984 target "http://wiki.lyx.org/Windows/Arabic"
45985
45986 \end_inset
45987
45988  how to set up LyX for Arabic:
45989 \begin_inset Newline newline
45990 \end_inset
45991
45992
45993 \begin_inset Flex URL
45994 status collapsed
45995
45996 \begin_layout Plain Layout
45997
45998 http://wiki.lyx.org/Windows/Arabic
45999 \end_layout
46000
46001 \end_inset
46002
46003
46004 \end_layout
46005
46006 \begin_layout Bibliography
46007 \begin_inset CommandInset bibitem
46008 LatexCommand bibitem
46009 key "Armenian"
46010
46011 \end_inset
46012
46013
46014 \begin_inset CommandInset href
46015 LatexCommand href
46016 name "Wiki-page"
46017 target "http://wiki.lyx.org/Windows/Armenian"
46018
46019 \end_inset
46020
46021  how to set up LyX for Armenian:
46022 \begin_inset Newline newline
46023 \end_inset
46024
46025
46026 \begin_inset Flex URL
46027 status collapsed
46028
46029 \begin_layout Plain Layout
46030
46031 http://wiki.lyx.org/Windows/Armenian
46032 \end_layout
46033
46034 \end_inset
46035
46036
46037 \end_layout
46038
46039 \begin_layout Bibliography
46040 \begin_inset CommandInset bibitem
46041 LatexCommand bibitem
46042 key "Cyrillic"
46043
46044 \end_inset
46045
46046
46047 \begin_inset CommandInset href
46048 LatexCommand href
46049 name "Wiki-page"
46050 target "http://wiki.lyx.org/Windows/Cyrillic"
46051
46052 \end_inset
46053
46054  how to set up LyX for Cyrillic languages:
46055 \begin_inset Newline newline
46056 \end_inset
46057
46058
46059 \begin_inset Flex URL
46060 status collapsed
46061
46062 \begin_layout Plain Layout
46063
46064 http://wiki.lyx.org/Windows/Cyrillic
46065 \end_layout
46066
46067 \end_inset
46068
46069
46070 \end_layout
46071
46072 \begin_layout Bibliography
46073 \begin_inset CommandInset bibitem
46074 LatexCommand bibitem
46075 key "Farsi"
46076
46077 \end_inset
46078
46079
46080 \begin_inset CommandInset href
46081 LatexCommand href
46082 name "Wiki-page"
46083 target "http://wiki.lyx.org/Windows/Farsi"
46084
46085 \end_inset
46086
46087  how to set up LyX for Farsi:
46088 \begin_inset Newline newline
46089 \end_inset
46090
46091
46092 \begin_inset Flex URL
46093 status collapsed
46094
46095 \begin_layout Plain Layout
46096
46097 http://wiki.lyx.org/Windows/Farsi
46098 \end_layout
46099
46100 \end_inset
46101
46102
46103 \end_layout
46104
46105 \begin_layout Bibliography
46106 \begin_inset CommandInset bibitem
46107 LatexCommand bibitem
46108 key "Hebrew"
46109
46110 \end_inset
46111
46112
46113 \begin_inset CommandInset href
46114 LatexCommand href
46115 name "Wiki-page"
46116 target "http://wiki.lyx.org/Windows/Hebrew"
46117
46118 \end_inset
46119
46120  how to set up LyX for Hebrew:
46121 \begin_inset Newline newline
46122 \end_inset
46123
46124
46125 \begin_inset Flex URL
46126 status collapsed
46127
46128 \begin_layout Plain Layout
46129
46130 http://wiki.lyx.org/Windows/Hebrew
46131 \end_layout
46132
46133 \end_inset
46134
46135
46136 \end_layout
46137
46138 \begin_layout Bibliography
46139 \begin_inset CommandInset bibitem
46140 LatexCommand bibitem
46141 key "Japanese"
46142
46143 \end_inset
46144
46145
46146 \begin_inset CommandInset href
46147 LatexCommand href
46148 name "Wiki-page"
46149 target "http://wiki.lyx.org/Windows/Japanese"
46150
46151 \end_inset
46152
46153  how to set up LyX for Japanese:
46154 \begin_inset Newline newline
46155 \end_inset
46156
46157
46158 \begin_inset Flex URL
46159 status collapsed
46160
46161 \begin_layout Plain Layout
46162
46163 http://wiki.lyx.org/Windows/Japanese
46164 \end_layout
46165
46166 \end_inset
46167
46168
46169 \end_layout
46170
46171 \begin_layout Bibliography
46172 \begin_inset CommandInset bibitem
46173 LatexCommand bibitem
46174 key "Latvian"
46175
46176 \end_inset
46177
46178
46179 \begin_inset CommandInset href
46180 LatexCommand href
46181 name "Wiki-page"
46182 target "http://wiki.lyx.org/Windows/Latvian"
46183
46184 \end_inset
46185
46186  how to set up LyX for Latvian:
46187 \begin_inset Newline newline
46188 \end_inset
46189
46190
46191 \begin_inset Flex URL
46192 status collapsed
46193
46194 \begin_layout Plain Layout
46195
46196 http://wiki.lyx.org/Windows/Latvian
46197 \end_layout
46198
46199 \end_inset
46200
46201
46202 \end_layout
46203
46204 \begin_layout Bibliography
46205 \begin_inset CommandInset bibitem
46206 LatexCommand bibitem
46207 key "Lithuanian"
46208
46209 \end_inset
46210
46211
46212 \begin_inset CommandInset href
46213 LatexCommand href
46214 name "Wiki-page"
46215 target "http://wiki.lyx.org/Windows/Lithuanian"
46216
46217 \end_inset
46218
46219  how to set up LyX for Lithuanian:
46220 \begin_inset Newline newline
46221 \end_inset
46222
46223
46224 \begin_inset Flex URL
46225 status collapsed
46226
46227 \begin_layout Plain Layout
46228
46229 http://wiki.lyx.org/Windows/Lithuanian
46230 \end_layout
46231
46232 \end_inset
46233
46234
46235 \end_layout
46236
46237 \begin_layout Bibliography
46238 \begin_inset CommandInset bibitem
46239 LatexCommand bibitem
46240 key "Mongolian"
46241
46242 \end_inset
46243
46244
46245 \begin_inset CommandInset href
46246 LatexCommand href
46247 name "Wiki-page"
46248 target "http://wiki.lyx.org/Windows/Mongolian"
46249
46250 \end_inset
46251
46252  how to set up LyX for Mongolian:
46253 \begin_inset Newline newline
46254 \end_inset
46255
46256
46257 \begin_inset Flex URL
46258 status collapsed
46259
46260 \begin_layout Plain Layout
46261
46262 http://wiki.lyx.org/Windows/Mongolian
46263 \end_layout
46264
46265 \end_inset
46266
46267
46268 \end_layout
46269
46270 \begin_layout Bibliography
46271 \begin_inset CommandInset bibitem
46272 LatexCommand bibitem
46273 key "Vietnamese"
46274
46275 \end_inset
46276
46277
46278 \begin_inset CommandInset href
46279 LatexCommand href
46280 name "Wiki-page"
46281 target "http://wiki.lyx.org/Windows/Vietnamese"
46282
46283 \end_inset
46284
46285  how to set up LyX for Vietnamese:
46286 \begin_inset Newline newline
46287 \end_inset
46288
46289
46290 \begin_inset Flex URL
46291 status collapsed
46292
46293 \begin_layout Plain Layout
46294
46295 http://wiki.lyx.org/Windows/Vietnamese
46296 \end_layout
46297
46298 \end_inset
46299
46300
46301 \end_layout
46302
46303 \begin_layout Bibliography
46304 \begin_inset CommandInset bibitem
46305 LatexCommand bibitem
46306 key "NewInLyX20"
46307
46308 \end_inset
46309
46310
46311 \begin_inset CommandInset href
46312 LatexCommand href
46313 name "Wiki-page"
46314 target "http://wiki.lyx.org/LyX/NewInLyX20"
46315
46316 \end_inset
46317
46318  about new features in 
46319 \family sans
46320 LyX 2.0
46321 \family default
46322 :
46323 \begin_inset Newline newline
46324 \end_inset
46325
46326
46327 \begin_inset Flex URL
46328 status collapsed
46329
46330 \begin_layout Plain Layout
46331
46332 http://wiki.lyx.org/LyX/NewInLyX20
46333 \end_layout
46334
46335 \end_inset
46336
46337
46338 \end_layout
46339
46340 \begin_layout Standard
46341 \begin_inset Newpage newpage
46342 \end_inset
46343
46344
46345 \begin_inset ERT
46346 status collapsed
46347
46348 \begin_layout Plain Layout
46349
46350
46351 \backslash
46352 let
46353 \backslash
46354 mybibname
46355 \backslash
46356 bibname
46357 \end_layout
46358
46359 \begin_layout Plain Layout
46360
46361
46362 \backslash
46363 renewcommand{
46364 \backslash
46365 bibname}{
46366 \backslash
46367 mybibname
46368 \backslash
46369 ; 2}
46370 \end_layout
46371
46372 \end_inset
46373
46374
46375 \begin_inset Note Note
46376 status collapsed
46377
46378 \begin_layout Plain Layout
46379 The command 
46380 \series bold
46381
46382 \backslash
46383 bibname
46384 \series default
46385  is the name of the bibliography in the current document language.
46386  It is redefined here with the number 2 at the end to state that the following
46387  bibliography is the second one:
46388 \end_layout
46389
46390 \end_inset
46391
46392
46393 \end_layout
46394
46395 \begin_layout Standard
46396 \begin_inset CommandInset bibtex
46397 LatexCommand bibtex
46398 bibfiles "biblio/LyXDocs"
46399 options "biblio/alphadin"
46400
46401 \end_inset
46402
46403
46404 \end_layout
46405
46406 \begin_layout Standard
46407 The above bibliography is created from a BibTeX-database.
46408 \end_layout
46409
46410 \begin_layout Standard
46411 \begin_inset CommandInset nomencl_print
46412 LatexCommand printnomenclature
46413 set_width "auto"
46414
46415 \end_inset
46416
46417
46418 \begin_inset CommandInset index_print
46419 LatexCommand printindex
46420 type "idx"
46421
46422 \end_inset
46423
46424
46425 \end_layout
46426
46427 \end_body
46428 \end_document