]> git.lyx.org Git - features.git/blob - lib/doc/UserGuide.lyx
Spanish UserGuide.lyx: updates by Ignacio
[features.git] / lib / doc / UserGuide.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 469
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 % define a short command for \textvisiblespace
37 \newcommand{\spce}{\textvisiblespace}
38
39 % macro for italic page numbers in the index
40 \newcommand{\IndexDef}[1]{\textit{#1}}
41
42 % for customized page headers/footers
43 % only needed because they are only used in one section of the document
44 \usepackage{fancyhdr}
45 % change header rule width
46 \renewcommand{\headrulewidth}{2pt}
47
48 % workaround for a makeindex bug,
49 % see sec. "Index Entry Order"
50 % only uncomment this when you are using makindex
51 %\let\OrgIndex\index 
52 %\renewcommand*{\index}[1]{\OrgIndex{#1}}
53 \end_preamble
54 \options refpage,intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
55 \use_default_options false
56 \begin_modules
57 customHeadersFooters
58 enumitem
59 \end_modules
60 \maintain_unincluded_children false
61 \language english
62 \language_package default
63 \inputencoding auto
64 \fontencoding global
65 \font_roman default
66 \font_sans default
67 \font_typewriter default
68 \font_math auto
69 \font_default_family default
70 \use_non_tex_fonts false
71 \font_sc false
72 \font_osf false
73 \font_sf_scale 100
74 \font_tt_scale 100
75 \graphics default
76 \default_output_format default
77 \output_sync 0
78 \bibtex_command default
79 \index_command default
80 \paperfontsize 12
81 \spacing single
82 \use_hyperref true
83 \pdf_title "The LyX User's Guide"
84 \pdf_author "LyX Team"
85 \pdf_subject "LyX"
86 \pdf_keywords "LyX"
87 \pdf_bookmarks true
88 \pdf_bookmarksnumbered true
89 \pdf_bookmarksopen false
90 \pdf_bookmarksopenlevel 1
91 \pdf_breaklinks false
92 \pdf_pdfborder false
93 \pdf_colorlinks true
94 \pdf_backref false
95 \pdf_pdfusetitle false
96 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
97 \papersize default
98 \use_geometry false
99 \use_package amsmath 1
100 \use_package amssymb 1
101 \use_package cancel 0
102 \use_package esint 1
103 \use_package mathdots 1
104 \use_package mathtools 0
105 \use_package mhchem 1
106 \use_package stackrel 0
107 \use_package stmaryrd 0
108 \use_package undertilde 0
109 \cite_engine basic
110 \cite_engine_type numerical
111 \biblio_style plain
112 \use_bibtopic false
113 \use_indices false
114 \paperorientation portrait
115 \suppress_date false
116 \justification true
117 \use_refstyle 0
118 \notefontcolor #0000ff
119 \branch Question
120 \selected 1
121 \filename_suffix 0
122 \color #00ff00
123 \end_branch
124 \branch Answer
125 \selected 0
126 \filename_suffix 0
127 \color #aa55ff
128 \end_branch
129 \index Index
130 \shortcut idx
131 \color #008000
132 \end_index
133 \secnumdepth 3
134 \tocdepth 2
135 \paragraph_separation indent
136 \paragraph_indentation default
137 \quotes_language english
138 \papercolumns 1
139 \papersides 2
140 \paperpagestyle default
141 \tracking_changes true
142 \output_changes false
143 \html_math_output 0
144 \html_css_as_file 0
145 \html_be_strict true
146 \author -712698321 "Jürgen Spitzmüller" 
147 \author 5863208 "ab" 
148 \author 2090807402 "usti" 
149 \end_header
150
151 \begin_body
152
153 \begin_layout Title
154 The LyX User's Guide
155 \end_layout
156
157 \begin_layout Author
158 by the LyX Team
159 \begin_inset Foot
160 status collapsed
161
162 \begin_layout Plain Layout
163 \noindent
164 If you have comments on or error corrections to this documentation, please
165  send them to the LyX Documentation mailing list: 
166 \begin_inset CommandInset href
167 LatexCommand href
168 target "lyx-docs@lists.lyx.org"
169 type "mailto:"
170
171 \end_inset
172
173
174 \end_layout
175
176 \end_inset
177
178
179 \begin_inset Newline newline
180 \end_inset
181
182
183 \begin_inset Newline newline
184 \end_inset
185
186 Version 2.0.x
187 \begin_inset Note Note
188 status collapsed
189
190 \begin_layout Plain Layout
191 The latest PDF-version of this document can be found here:
192 \begin_inset Newline newline
193 \end_inset
194
195
196 \series bold
197 http://wiki.lyx.org/LyX/DocumentationDevelopment#UserGuide
198 \end_layout
199
200 \end_inset
201
202
203 \end_layout
204
205 \begin_layout Standard
206 \begin_inset CommandInset toc
207 LatexCommand tableofcontents
208
209 \end_inset
210
211
212 \end_layout
213
214 \begin_layout Chapter
215 Getting Started
216 \end_layout
217
218 \begin_layout Section
219 What is LyX?
220 \end_layout
221
222 \begin_layout Standard
223 LyX is a document preparation system.
224  It is a tool for producing beautiful manu\SpecialChar \-
225 scripts, publishable books, business
226  letters and proposals, and even poetry.
227  It is unlike most other 
228 \begin_inset Quotes eld
229 \end_inset
230
231 word processors
232 \begin_inset Quotes erd
233 \end_inset
234
235  in the sense that it uses the paradigm of a markup language as its core
236  editing style.
237  That means that when you type a section header, you mark it as a 
238 \begin_inset Quotes eld
239 \end_inset
240
241 Section
242 \begin_inset Quotes erd
243 \end_inset
244
245 , not as 
246 \begin_inset Quotes eld
247 \end_inset
248
249 Bold, 17
250 \begin_inset space \thinspace{}
251 \end_inset
252
253 pt type, left justified, 5
254 \begin_inset space \thinspace{}
255 \end_inset
256
257 mm space below
258 \begin_inset Quotes erd
259 \end_inset
260
261 .
262  LyX takes care of the typesetting for you; so you deal only with concepts,
263  not with mechanics.
264 \end_layout
265
266 \begin_layout Standard
267 This philosophy is explained in greater detail in the 
268 \emph on
269 Introduction
270 \emph default
271 manual.
272  If you haven't read it yet, you need to.
273  Yes, we mean now.
274 \end_layout
275
276 \begin_layout Standard
277 The 
278 \emph on
279 Introduction
280 \emph default
281  manual describes several things in addition to LyX's philosophy: most important
282 ly, the format of all of the manuals.
283  If you don't read it, you will have a bear of a time navigating this manual.
284  You might also be better served looking in one of the other manuals instead
285  of this one.
286  The 
287 \emph on
288 Introduction
289 \emph default
290  manual describes that, too.
291 \end_layout
292
293 \begin_layout Section
294 How LyX Looks
295 \end_layout
296
297 \begin_layout Standard
298 Like most applications, LyX has the familiar menu bar across the top of
299  its window.
300  Below it is a toolbar with a pulldown box and various buttons.
301  There is, of course, a vertical scrollbar and a main work area for editing
302  documents.
303 \end_layout
304
305 \begin_layout Standard
306 Note that there is no horizontal scrollbar.
307  This is not a bug or an oversight, but intentional.
308  When you read a book, you expect the end of a line to wrap around to the
309  next line.
310  Text overflows onto new pages in a vertical fashion, hence the need for
311  only a vertical scrollbar.
312  There are three cases where you might want a horizontal scrollbar.
313  The first case is large images.
314  To avoid them being displayed larger than your screen, left click on the
315  image and use the option 
316 \family sans
317 Scale on Screen
318 \family default
319  in the tab 
320 \family sans
321 LaTeX and LyX options
322 \family default
323 .
324  The second and third cases are tables and equations which are wider than
325  the LyX window.
326  You can use the arrow keys to scroll horizontally through the table, but
327  this doesn't work for equations yet.
328 \end_layout
329
330 \begin_layout Standard
331 For a brief description of all LyX menus and toolbar buttons, have a look
332  at Appendix
333 \begin_inset space ~
334 \end_inset
335
336
337 \begin_inset CommandInset ref
338 LatexCommand ref
339 reference "chap:The-User-Interface"
340
341 \end_inset
342
343 .
344 \end_layout
345
346 \begin_layout Section
347 HELP
348 \end_layout
349
350 \begin_layout Standard
351 The help system consists of the LyX manuals.
352  You can read all of the manuals from inside LyX.
353  Just select the manual you want to read from the 
354 \family sans
355 Help
356 \family default
357  menu.
358 \end_layout
359
360 \begin_layout Section
361 Basic LyX Setup
362 \begin_inset CommandInset label
363 LatexCommand label
364 name "sec:Basic-LyX-Setup"
365
366 \end_inset
367
368
369 \end_layout
370
371 \begin_layout Standard
372 Almost all features of LyX can be configured via the menu 
373 \family sans
374 Tools\SpecialChar \menuseparator
375 Preferences
376 \family default
377 .
378 \begin_inset Index idx
379 status collapsed
380
381 \begin_layout Plain Layout
382 Preferences
383 \end_layout
384
385 \end_inset
386
387  LyX is able to inspect your system to see what programs, LaTeX document
388  classes and LaTeX packages are available.
389  It uses this knowledge to give reasonable defaults for the preferences
390  settings.
391  Although this configuration has already been done when LyX was installed
392  on your system, you might have some items that you installed locally, e.
393 \begin_inset space \thinspace{}
394 \end_inset
395
396 g.
397 \begin_inset space \space{}
398 \end_inset
399
400 new LaTeX classes, and which are not seen by LyX.
401  To force LyX to re-inspect your system, you should use 
402 \family sans
403 Tools\SpecialChar \menuseparator
404 Reconfigure
405 \family default
406 .
407 \begin_inset Index idx
408 status collapsed
409
410 \begin_layout Plain Layout
411 Reconfiguration of LyX
412 \end_layout
413
414 \end_inset
415
416  You should then restart LyX to ensure that the changes are taken into account.
417 \end_layout
418
419 \begin_layout Section
420 LaTeX Setup
421 \begin_inset CommandInset label
422 LatexCommand label
423 name "sec:LaTeX-Setup"
424
425 \end_inset
426
427
428 \end_layout
429
430 \begin_layout Standard
431 You can edit documents in LyX without having LaTeX installed, but you will
432  not be able to create PDFs or print your documents unless you do have it
433  installed.
434  However, some LyX documents use DocBook as the “backend” that can produce
435  PDFs and the like, and every LyX document can always be output as plain
436  text or as XHTML.
437 \end_layout
438
439 \begin_layout Standard
440 Some document classes may depend upon specific LaTeX or DocBook classes
441  or packages.
442  Such document classes can be used even if you do not have the required
443  files installed, but you will not be able to produce certain kinds of output.
444 \end_layout
445
446 \begin_layout Standard
447 The LaTeX packages that LyX has found on your system are listed in a file
448  you can view from the menu 
449 \family sans
450 Help\SpecialChar \menuseparator
451 LaT
452 \begin_inset ERT
453 status collapsed
454
455 \begin_layout Plain Layout
456
457 {}
458 \end_layout
459
460 \end_inset
461
462 eX
463 \begin_inset space ~
464 \end_inset
465
466 Configuration
467 \family default
468 .
469  If you are missing packages you need, then you must install them and then
470  reconfigure LyX (menu 
471 \family sans
472 Tools\SpecialChar \menuseparator
473 Reconfigure
474 \family default
475 ).
476 \begin_inset Note Note
477 status collapsed
478
479 \begin_layout Plain Layout
480 The two braces in the TeX Code box prevent that the term 
481 \begin_inset Quotes eld
482 \end_inset
483
484 LaTeX
485 \begin_inset Quotes erd
486 \end_inset
487
488  from being printed with sub- and superscript letters.
489  More about TeX Code is described in section
490 \begin_inset space ~
491 \end_inset
492
493
494 \begin_inset CommandInset ref
495 LatexCommand ref
496 reference "sec:TeX-Code"
497
498 \end_inset
499
500 , the printout of proper names like LaTeX is explained in section
501 \begin_inset space ~
502 \end_inset
503
504
505 \begin_inset CommandInset ref
506 LatexCommand ref
507 reference "sub:LyX's-Proper-Names"
508
509 \end_inset
510
511 .
512 \end_layout
513
514 \end_inset
515
516
517 \begin_inset Index idx
518 status collapsed
519
520 \begin_layout Plain Layout
521 Reconfiguration of LyX
522 \end_layout
523
524 \end_inset
525
526  See section 5.1 of the 
527 \emph on
528 Customization
529 \emph default
530  manual for more information on installing additional LaTeX packages.
531 \end_layout
532
533 \begin_layout Chapter
534 How to work with LyX
535 \end_layout
536
537 \begin_layout Section
538 Basic File Operations
539 \begin_inset Index idx
540 status collapsed
541
542 \begin_layout Plain Layout
543 File Operations
544 \end_layout
545
546 \end_inset
547
548
549 \end_layout
550
551 \begin_layout Standard
552 Under the 
553 \family sans
554 File
555 \family default
556  menu and in the standard toolbar are basic operations for any word processor
557  in addition to some more advanced operations:
558 \end_layout
559
560 \begin_layout Itemize
561
562 \family sans
563 New 
564 \begin_inset Info
565 type  "icon"
566 arg   "buffer-new"
567 \end_inset
568
569
570 \end_layout
571
572 \begin_layout Itemize
573
574 \family sans
575 New
576 \begin_inset space ~
577 \end_inset
578
579 from
580 \begin_inset space ~
581 \end_inset
582
583 Template
584 \end_layout
585
586 \begin_layout Itemize
587
588 \family sans
589 Open 
590 \begin_inset Info
591 type  "icon"
592 arg   "file-open"
593 \end_inset
594
595
596 \end_layout
597
598 \begin_layout Itemize
599
600 \family sans
601 Close
602 \end_layout
603
604 \begin_layout Itemize
605
606 \family sans
607 Save 
608 \begin_inset Info
609 type  "icon"
610 arg   "buffer-write"
611 \end_inset
612
613
614 \end_layout
615
616 \begin_layout Itemize
617
618 \family sans
619 Save
620 \begin_inset space ~
621 \end_inset
622
623 As
624 \end_layout
625
626 \begin_layout Itemize
627
628 \family sans
629 Revert
630 \begin_inset space ~
631 \end_inset
632
633 to
634 \begin_inset space ~
635 \end_inset
636
637 saved
638 \end_layout
639
640 \begin_layout Itemize
641
642 \family sans
643 Version
644 \begin_inset space ~
645 \end_inset
646
647 Control
648 \end_layout
649
650 \begin_layout Itemize
651
652 \family sans
653 Import
654 \end_layout
655
656 \begin_layout Itemize
657
658 \family sans
659 Export
660 \end_layout
661
662 \begin_layout Itemize
663
664 \family sans
665 Print 
666 \begin_inset Info
667 type  "icon"
668 arg   "dialog-show print"
669 \end_inset
670
671
672 \end_layout
673
674 \begin_layout Itemize
675
676 \family sans
677 Exit
678 \end_layout
679
680 \begin_layout Standard
681 They all do pretty much the same thing as in other word processors, with
682  a few minor differences.
683  The 
684 \family sans
685 File\SpecialChar \menuseparator
686 New
687 \begin_inset space ~
688 \end_inset
689
690 from
691 \begin_inset space ~
692 \end_inset
693
694 Template
695 \family default
696  command lists the available templates.
697  Selecting a template will automatically set certain layout features for
698  the document, features you would otherwise need to change manually.
699  They can be of use for certain classes, especially those for writing letters
700  (see sec.
701 \begin_inset space \thinspace{}
702 \end_inset
703
704
705 \begin_inset CommandInset ref
706 LatexCommand ref
707 reference "sec:Document-Classes"
708
709 \end_inset
710
711 ).
712 \end_layout
713
714 \begin_layout Standard
715 \begin_inset Note Greyedout
716 status collapsed
717
718 \begin_layout Plain Layout
719
720 \series bold
721 Note:
722 \series default
723  There is no 
724 \begin_inset Quotes eld
725 \end_inset
726
727 default file
728 \begin_inset Quotes erd
729 \end_inset
730
731  or document named 
732 \begin_inset Quotes eld
733 \end_inset
734
735 Untitled
736 \begin_inset Quotes erd
737 \end_inset
738
739  or 
740 \begin_inset Quotes eld
741 \end_inset
742
743 scratch.
744 \begin_inset Quotes erd
745 \end_inset
746
747  Unless you tell LyX to open a file or create a new one, that big, blank
748  space is just that — a big, blank space.
749 \end_layout
750
751 \end_inset
752
753
754 \end_layout
755
756 \begin_layout Standard
757
758 \family sans
759 Revert
760 \begin_inset space ~
761 \end_inset
762
763 to
764 \begin_inset space ~
765 \end_inset
766
767 saved
768 \family default
769  and 
770 \family sans
771 Version
772 \begin_inset space ~
773 \end_inset
774
775 Control
776 \family default
777  are useful if more people work on the same document at the same time.
778 \begin_inset Foot
779 status collapsed
780
781 \begin_layout Plain Layout
782 If you plan to do this, you should check out the Version Control feature
783  in LyX also.
784  Read Additional Features\SpecialChar \@.
785
786 \end_layout
787
788 \end_inset
789
790  
791 \family sans
792 Revert
793 \begin_inset space ~
794 \end_inset
795
796 to
797 \begin_inset space ~
798 \end_inset
799
800 saved
801 \family default
802  will reload the document from disk.
803  You can of course also use it if you regret that you changed a document
804  and want to restore it to the last save.
805  With
806 \family sans
807  Version
808 \begin_inset space ~
809 \end_inset
810
811 Control 
812 \family default
813 you can register the changes you made to a document so that others can identify
814  them as your changes.
815 \end_layout
816
817 \begin_layout Section
818 Basic Editing Features
819 \begin_inset Index idx
820 status collapsed
821
822 \begin_layout Plain Layout
823 Editing
824 \end_layout
825
826 \end_inset
827
828
829 \begin_inset CommandInset label
830 LatexCommand label
831 name "sec:Basic-Editing-Features"
832
833 \end_inset
834
835
836 \end_layout
837
838 \begin_layout Standard
839 Like most modern word processors, LyX can perform cut and paste operations
840  on blocks of text, can move by character, word, or page of text, and can
841  delete whole words as well as individual characters.
842  The next four sections cover the basic LyX editing features and how to
843  access them.
844  We will start with cut and paste.
845 \end_layout
846
847 \begin_layout Standard
848 As you might expect, the 
849 \family sans
850 Edit
851 \family default
852  menu and the standard toolbar has the cut and paste commands, along with
853  various other editing features.
854  Some of these are special and covered in later sections.
855  The basic ones are:
856 \end_layout
857
858 \begin_layout Itemize
859
860 \family sans
861 Cut 
862 \family default
863
864 \begin_inset Info
865 type  "icon"
866 arg   "cut"
867 \end_inset
868
869
870 \end_layout
871
872 \begin_layout Itemize
873
874 \family sans
875 Copy 
876 \family default
877
878 \begin_inset Info
879 type  "icon"
880 arg   "copy"
881 \end_inset
882
883
884 \end_layout
885
886 \begin_layout Itemize
887
888 \family sans
889 Paste 
890 \family default
891
892 \begin_inset Info
893 type  "icon"
894 arg   "paste"
895 \end_inset
896
897
898 \end_layout
899
900 \begin_layout Itemize
901
902 \family sans
903 Paste
904 \begin_inset space ~
905 \end_inset
906
907 Recent
908 \end_layout
909
910 \begin_layout Itemize
911
912 \family sans
913 Paste
914 \begin_inset space ~
915 \end_inset
916
917 Special
918 \end_layout
919
920 \begin_layout Itemize
921
922 \family sans
923 Find
924 \begin_inset space ~
925 \end_inset
926
927 &
928 \begin_inset space ~
929 \end_inset
930
931 Replace 
932 \family default
933
934 \begin_inset Info
935 type  "icon"
936 arg   "dialog-show findreplace"
937 \end_inset
938
939
940 \end_layout
941
942 \begin_layout Standard
943 The first three are self-explanatory.
944  
945 \begin_inset Index idx
946 status collapsed
947
948 \begin_layout Plain Layout
949 Paste
950 \end_layout
951
952 \end_inset
953
954 You can also copy text between LyX and other programs by cut, copy and paste.
955  The submenu of 
956 \family sans
957 Paste
958 \begin_inset space ~
959 \end_inset
960
961 Recent
962 \family default
963  shows you a list with the last strings you have pasted.
964 \end_layout
965
966 \begin_layout Standard
967 The menu 
968 \family sans
969 Edit\SpecialChar \menuseparator
970 Paste
971 \begin_inset space ~
972 \end_inset
973
974 Special\SpecialChar \menuseparator
975 Plain
976 \begin_inset space ~
977 \end_inset
978
979 Text,
980 \begin_inset space \thinspace{}
981 \end_inset
982
983 Join
984 \begin_inset space ~
985 \end_inset
986
987 Lines
988 \family default
989  will insert the text in the clipboard so that the whole text is inserted
990  as one paragraph.
991  A new paragraph is started when there is a blank line in the file.
992  Without 
993 \family sans
994 Join
995 \begin_inset space ~
996 \end_inset
997
998 Lines
999 \family default
1000 , the text is inserted as Paragraphs, where the line breaks of the text
1001  will start a new paragraph.
1002 \end_layout
1003
1004 \begin_layout Standard
1005 \begin_inset Index idx
1006 status collapsed
1007
1008 \begin_layout Plain Layout
1009 Replace
1010 \end_layout
1011
1012 \end_inset
1013
1014
1015 \begin_inset Index idx
1016 status collapsed
1017
1018 \begin_layout Plain Layout
1019 Find
1020 \end_layout
1021
1022 \end_inset
1023
1024 The 
1025 \family sans
1026 Edit\SpecialChar \menuseparator
1027 Find
1028 \begin_inset space ~
1029 \end_inset
1030
1031 &
1032 \begin_inset space ~
1033 \end_inset
1034
1035 Replace
1036 \family default
1037  item opens the 
1038 \family sans
1039 Find
1040 \begin_inset space ~
1041 \end_inset
1042
1043 and
1044 \begin_inset space ~
1045 \end_inset
1046
1047 Replace
1048 \family default
1049  dialog.
1050  Once you have found a word or expression, LyX selects it.
1051  Hitting the 
1052 \family sans
1053 Replace
1054 \family default
1055  button replaces the selected text with the contents of the 
1056 \family sans
1057 Replace
1058 \begin_inset space ~
1059 \end_inset
1060
1061 with
1062 \family default
1063  field.
1064  You can click the 
1065 \family sans
1066 Find
1067 \begin_inset space ~
1068 \end_inset
1069
1070 Next
1071 \family default
1072  button to skip the current word.
1073  Hit 
1074 \family sans
1075 Replace
1076 \begin_inset space ~
1077 \end_inset
1078
1079 All
1080 \family default
1081  to replace all occurrences of the text in the document automatically.
1082  The 
1083 \family sans
1084 Case
1085 \begin_inset space ~
1086 \end_inset
1087
1088 sensitive
1089 \family default
1090  option can be used if you want the search to consider the case of the search
1091  word.
1092  If the toggle is set, searching for 
1093 \begin_inset Quotes eld
1094 \end_inset
1095
1096
1097 \family typewriter
1098 Test
1099 \family default
1100
1101 \begin_inset Quotes erd
1102 \end_inset
1103
1104  will not match the word 
1105 \begin_inset Quotes eld
1106 \end_inset
1107
1108
1109 \family typewriter
1110 test
1111 \family default
1112
1113 \begin_inset Quotes erd
1114 \end_inset
1115
1116 .
1117  The 
1118 \family sans
1119 Match whole words only
1120 \family default
1121  option can be used to force LyX to only find complete words, e.
1122 \begin_inset space \thinspace{}
1123 \end_inset
1124
1125 g., searching for 
1126 \begin_inset Quotes eld
1127 \end_inset
1128
1129
1130 \family typewriter
1131 star
1132 \family default
1133
1134 \begin_inset Quotes erd
1135 \end_inset
1136
1137  will not match 
1138 \begin_inset Quotes eld
1139 \end_inset
1140
1141
1142 \family typewriter
1143 starlet
1144 \family default
1145
1146 \begin_inset Quotes erd
1147 \end_inset
1148
1149 .
1150  LyX offers also an advanced 
1151 \family sans
1152 Find
1153 \begin_inset space ~
1154 \end_inset
1155
1156 &
1157 \begin_inset space ~
1158 \end_inset
1159
1160 Replace
1161 \family default
1162  feature that is described in sec.
1163 \begin_inset space \thinspace{}
1164 \end_inset
1165
1166
1167 \begin_inset CommandInset ref
1168 LatexCommand ref
1169 reference "sec:Advanced-Find-and"
1170
1171 \end_inset
1172
1173 .
1174 \end_layout
1175
1176 \begin_layout Standard
1177 Things like notes, floats, etc.
1178 \begin_inset space \space{}
1179 \end_inset
1180
1181 (the so called 
1182 \begin_inset Quotes eld
1183 \end_inset
1184
1185 insets
1186 \begin_inset Quotes erd
1187 \end_inset
1188
1189 ) can be dissolved.
1190  This means that the inset is deleted and its content is left as normal
1191  text.
1192  Dissolving an inset is done by setting the cursor to the beginning of an
1193  inset and pressing 
1194 \family sans
1195 Backspace
1196 \family default
1197  or by setting the cursor to the end and pressing 
1198 \family sans
1199 Delete
1200 \family default
1201 .
1202 \end_layout
1203
1204 \begin_layout Standard
1205 The content of an inset is selected using the shortcut 
1206 \begin_inset Info
1207 type  "shortcuts"
1208 arg   "inset-select-all"
1209 \end_inset
1210
1211 , the shortcut 
1212 \begin_inset Info
1213 type  "shortcuts"
1214 arg   "command-sequence buffer-begin ; buffer-end-select"
1215 \end_inset
1216
1217  selects the whole document.
1218 \end_layout
1219
1220 \begin_layout Section
1221 Undo and Redo
1222 \begin_inset Index idx
1223 status collapsed
1224
1225 \begin_layout Plain Layout
1226 Redo
1227 \end_layout
1228
1229 \end_inset
1230
1231
1232 \begin_inset Index idx
1233 status collapsed
1234
1235 \begin_layout Plain Layout
1236 Undo
1237 \end_layout
1238
1239 \end_inset
1240
1241
1242 \begin_inset CommandInset label
1243 LatexCommand label
1244 name "sec:Undo-and-Redo"
1245
1246 \end_inset
1247
1248
1249 \end_layout
1250
1251 \begin_layout Standard
1252 If you make a mistake, you can easily recover from it.
1253  LyX has a large-capacity undo/redo buffer.
1254  Select 
1255 \family sans
1256 Edit\SpecialChar \menuseparator
1257 Undo
1258 \family default
1259  or the toolbar button 
1260 \begin_inset Info
1261 type  "icon"
1262 arg   "undo"
1263 \end_inset
1264
1265  to undo some mistake.
1266  If you accidentally undo too much, use 
1267 \family sans
1268 Edit\SpecialChar \menuseparator
1269 Redo
1270 \family default
1271  or the toolbar button 
1272 \begin_inset Info
1273 type  "icon"
1274 arg   "redo"
1275 \end_inset
1276
1277  to 
1278 \begin_inset Quotes eld
1279 \end_inset
1280
1281 undo the undo.
1282 \begin_inset Quotes erd
1283 \end_inset
1284
1285  The undo mechanism is currently limited to 100
1286 \begin_inset space \thinspace{}
1287 \end_inset
1288
1289 steps to minimize memory overhead.
1290 \end_layout
1291
1292 \begin_layout Standard
1293 Note that if you revert back all changes to arrive at the document as it
1294  was last saved, the 
1295 \begin_inset Quotes eld
1296 \end_inset
1297
1298 changed
1299 \begin_inset Quotes erd
1300 \end_inset
1301
1302  status of the document is unfortunately not reset.
1303  This is a consequence of the 100
1304 \begin_inset space \thinspace{}
1305 \end_inset
1306
1307 step undo limit mentioned above.
1308 \end_layout
1309
1310 \begin_layout Standard
1311
1312 \family sans
1313 Undo
1314 \family default
1315  and 
1316 \family sans
1317 Redo
1318 \family default
1319  work on almost everything in LyX.
1320  But they will not undo or redo text character by character, but by blocks
1321  of text.
1322 \end_layout
1323
1324 \begin_layout Section
1325 Mouse Operations
1326 \begin_inset Index idx
1327 status collapsed
1328
1329 \begin_layout Plain Layout
1330 Mouse Operations
1331 \end_layout
1332
1333 \end_inset
1334
1335
1336 \end_layout
1337
1338 \begin_layout Standard
1339 These are the most basic mouse operations.
1340 \end_layout
1341
1342 \begin_layout Enumerate
1343 Motion
1344 \end_layout
1345
1346 \begin_deeper
1347 \begin_layout Itemize
1348 Click the 
1349 \emph on
1350 left mouse button
1351 \emph default
1352  once anywhere in the edit window.
1353  The cursor moves to the text under the mouse.
1354 \end_layout
1355
1356 \end_deeper
1357 \begin_layout Enumerate
1358 Selecting Text
1359 \end_layout
1360
1361 \begin_deeper
1362 \begin_layout Itemize
1363 Hold down the 
1364 \emph on
1365 left mouse button
1366 \emph default
1367  and drag the mouse.
1368  LyX marks the text between the old and new mouse positions.
1369  Use 
1370 \family sans
1371 Edit\SpecialChar \menuseparator
1372 Copy
1373 \family default
1374  to create a copy of the text in LyX's buffer (and the clipboard).
1375 \end_layout
1376
1377 \begin_layout Itemize
1378 Re-position the cursor and then paste the text back into LyX using 
1379 \family sans
1380 Edit\SpecialChar \menuseparator
1381 Paste
1382 \family default
1383 .
1384 \end_layout
1385
1386 \end_deeper
1387 \begin_layout Enumerate
1388 Insets (Footnotes, Notes, Floats, etc.)
1389 \end_layout
1390
1391 \begin_deeper
1392 \begin_layout Standard
1393 Right-click on them to set their properties.
1394  Also check the appropriate section of this manual for more details.
1395 \end_layout
1396
1397 \end_deeper
1398 \begin_layout Section
1399 Navigating
1400 \begin_inset CommandInset label
1401 LatexCommand label
1402 name "sec:Navigating"
1403
1404 \end_inset
1405
1406
1407 \begin_inset Index idx
1408 status collapsed
1409
1410 \begin_layout Plain Layout
1411 Navigating
1412 \end_layout
1413
1414 \end_inset
1415
1416
1417 \end_layout
1418
1419 \begin_layout Standard
1420 LyX offers you several ways to navigate in documents:
1421 \end_layout
1422
1423 \begin_layout Itemize
1424 The 
1425 \family sans
1426 Navigate
1427 \family default
1428  menu lists all sections of the document as submenu entries that you can
1429  click to jump to the corresponding document part.
1430 \end_layout
1431
1432 \begin_layout Itemize
1433 The “Outline”, which is accessed either by the menu 
1434 \family sans
1435 Document\SpecialChar \menuseparator
1436 Outline
1437 \family default
1438  or by the toolbar button 
1439 \begin_inset Info
1440 type  "icon"
1441 arg   "dialog-toggle toc"
1442 \end_inset
1443
1444 .
1445 \end_layout
1446
1447 \begin_layout Itemize
1448 You can set bookmarks in your document under 
1449 \family sans
1450 Navigate\SpecialChar \menuseparator
1451 Bookmarks
1452 \family default
1453  and use the same menu to return to them.
1454  Note that bookmarks are saved between sessions.
1455 \end_layout
1456
1457 \begin_layout Standard
1458 The toolbar button 
1459 \begin_inset Info
1460 type  "icon"
1461 arg   "bookmark-goto 0"
1462 \end_inset
1463
1464  (also 
1465 \family sans
1466 Navigate\SpecialChar \menuseparator
1467 Bookmarks\SpecialChar \menuseparator
1468 Navigate
1469 \begin_inset space ~
1470 \end_inset
1471
1472 Back
1473 \family default
1474 ) jumps to the position in the document where you recently changed something.
1475  This is useful when you have a large document and have navigated or scrolled
1476  to another document part to look for something, and want to go back to
1477  your last editing position.
1478 \end_layout
1479
1480 \begin_layout Standard
1481 By pressing the 
1482 \family sans
1483 F5
1484 \family default
1485  key the cursor will be vertically centered in LyX's main window.
1486 \end_layout
1487
1488 \begin_layout Subsection
1489 The Outliner
1490 \begin_inset CommandInset label
1491 LatexCommand label
1492 name "sub:The-Outliner"
1493
1494 \end_inset
1495
1496
1497 \end_layout
1498
1499 \begin_layout Standard
1500 In the pull-down box at the top of the outline window, you can choose between
1501  several different lists, including other TOC-like objects, such as lists
1502  of tables and figures, but also lists of footnotes, or labels and cross-referen
1503 ces (see sec.
1504 \begin_inset space \thinspace{}
1505 \end_inset
1506
1507
1508 \begin_inset CommandInset ref
1509 LatexCommand ref
1510 reference "sec:Cross-References"
1511
1512 \end_inset
1513
1514 ), or notes, or citations (see sec.
1515 \begin_inset space \thinspace{}
1516 \end_inset
1517
1518
1519 \begin_inset CommandInset ref
1520 LatexCommand ref
1521 reference "sec:Bibliography"
1522
1523 \end_inset
1524
1525 ).
1526  Clicking on any of these will take you to the corresponding object in your
1527  document.
1528 \end_layout
1529
1530 \begin_layout Standard
1531 Right-clicking on elements in the Outline opens in many cases a context
1532  menu that will allow for direct modification of those elements.
1533  For example, with citations, the context menu allows you to open the citation
1534  dialog and to modify the citation.
1535 \end_layout
1536
1537 \begin_layout Standard
1538 The “Filter” field at the top allows you to restrict which entries appear
1539  in the Outline.
1540  For example, if you are displaying the list of Labels and References and
1541  wish to see only references to subsections, you can enter the text 
1542 \begin_inset Quotes eld
1543 \end_inset
1544
1545 sub:
1546 \begin_inset Quotes erd
1547 \end_inset
1548
1549  in the filter, and only entries containing that text will be displayed.
1550 \end_layout
1551
1552 \begin_layout Standard
1553 At the bottom of the outline are several buttons and the like that allow
1554  you further to control the display.
1555  The 
1556 \family sans
1557 Sort
1558 \family default
1559  option sorts the current list alphabetically.
1560  Otherwise, the elements appear in the order in which they occur in the
1561  document.
1562  The 
1563 \family sans
1564 Keep
1565 \family default
1566  option keeps it in the current view state.
1567  Keeping means that when you have, for example, the subsections of sections
1568 \begin_inset space ~
1569 \end_inset
1570
1571 2 and 4 displayed and click on section
1572 \begin_inset space ~
1573 \end_inset
1574
1575 3, the subsections of sections
1576 \begin_inset space ~
1577 \end_inset
1578
1579 2 and 4 will still be displayed.
1580  Without the 
1581 \family sans
1582 Keep
1583 \family default
1584  option they will be hidden to highlight the clicked section
1585 \begin_inset space ~
1586 \end_inset
1587
1588 3.
1589  Finally, the slider at the left can be used to open the Outline to a given
1590  
1591 \begin_inset Quotes eld
1592 \end_inset
1593
1594 depth
1595 \begin_inset Quotes erd
1596 \end_inset
1597
1598 .
1599  It is best just to experiment with it to see how it works.
1600 \end_layout
1601
1602 \begin_layout Standard
1603 The 
1604 \begin_inset space \space{}
1605 \end_inset
1606
1607
1608 \begin_inset Graphics
1609         filename ../images/reload.png
1610
1611 \end_inset
1612
1613
1614 \begin_inset space ~
1615 \end_inset
1616
1617 button refreshes the TOC (though this should not usually be necessary).
1618  Next to it are buttons that allow you to change the position of sections
1619  in your document.
1620  The 
1621 \begin_inset space \space{}
1622 \end_inset
1623
1624
1625 \begin_inset Graphics
1626         filename ../images/down.png
1627         scale 85
1628         groupId toolbarbuttons
1629
1630 \end_inset
1631
1632
1633 \begin_inset space ~
1634 \end_inset
1635
1636  and 
1637 \begin_inset space \space{}
1638 \end_inset
1639
1640
1641 \begin_inset Graphics
1642         filename ../images/up.png
1643         scale 85
1644         groupId toolbarbuttons
1645
1646 \end_inset
1647
1648
1649 \begin_inset space ~
1650 \end_inset
1651
1652  buttons move sections up and down in the document.
1653  So, for example, you can move section
1654 \begin_inset space ~
1655 \end_inset
1656
1657 2.5 before section
1658 \begin_inset space ~
1659 \end_inset
1660
1661 2.4 or after section
1662 \begin_inset space ~
1663 \end_inset
1664
1665 2.6.
1666  LyX will then automatically renumber the sections to the new order.
1667  With the buttons 
1668 \begin_inset Graphics
1669         filename ../images/promote.png
1670         scale 85
1671         groupId toolbarbuttons
1672
1673 \end_inset
1674
1675  and 
1676 \begin_inset Graphics
1677         filename ../images/demote.png
1678         scale 85
1679         groupId toolbarbuttons
1680
1681 \end_inset
1682
1683  (or the corresponding key bindings 
1684 \family sans
1685 Tab
1686 \family default
1687  and 
1688 \family sans
1689 Shift-Tab
1690 \family default
1691 ) you can change the level of sections.
1692  So you can for example make section
1693 \begin_inset space ~
1694 \end_inset
1695
1696 2.5 chapter
1697 \begin_inset space ~
1698 \end_inset
1699
1700 3 or subsection
1701 \begin_inset space ~
1702 \end_inset
1703
1704 2.4.1.
1705 \end_layout
1706
1707 \begin_layout Section
1708 Input/Word Completion
1709 \begin_inset CommandInset label
1710 LatexCommand label
1711 name "sec:Input-Completion"
1712
1713 \end_inset
1714
1715
1716 \begin_inset Index idx
1717 status collapsed
1718
1719 \begin_layout Plain Layout
1720 Input completion
1721 \end_layout
1722
1723 \end_inset
1724
1725
1726 \begin_inset Index idx
1727 status collapsed
1728
1729 \begin_layout Plain Layout
1730 Word completion|see
1731 \begin_inset ERT
1732 status collapsed
1733
1734 \begin_layout Plain Layout
1735
1736 {
1737 \end_layout
1738
1739 \end_inset
1740
1741 Input completion
1742 \begin_inset ERT
1743 status collapsed
1744
1745 \begin_layout Plain Layout
1746
1747 }
1748 \end_layout
1749
1750 \end_inset
1751
1752
1753 \end_layout
1754
1755 \end_inset
1756
1757
1758 \end_layout
1759
1760 \begin_layout Standard
1761 LyX provides completion of words by scanning all documents that are currently
1762  opened.
1763  Every word that appears in these documents is added to a database that
1764  is used to propose completions.
1765 \end_layout
1766
1767 \begin_layout Standard
1768 Input completion can be activated in the LyX preferences (menu 
1769 \family sans
1770 Tools\SpecialChar \menuseparator
1771 Preferences
1772 \family default
1773 ) in the section 
1774 \family sans
1775 Editing\SpecialChar \menuseparator
1776 Input Completion
1777 \family default
1778 .
1779  With the option 
1780 \family sans
1781 Automatic
1782 \begin_inset space ~
1783 \end_inset
1784
1785 inline
1786 \begin_inset space ~
1787 \end_inset
1788
1789 completion
1790 \family default
1791  the proposed completion is shown directly after the cursor.
1792  With the option 
1793 \family sans
1794 Automatic
1795 \begin_inset space ~
1796 \end_inset
1797
1798 popup
1799 \family default
1800  the completions are always shown in a popup.
1801  The cursor completion indicator can be turned off by deselecting the option
1802  
1803 \family sans
1804 Cursor
1805 \begin_inset space ~
1806 \end_inset
1807
1808 indicator
1809 \family default
1810 .
1811  With the general options you can define the delay time for the inline and
1812  popup completion and choose if long completions should be abbreviated.
1813 \end_layout
1814
1815 \begin_layout Standard
1816 LyX displays a small triangle after the cursor as an indicator that there
1817  are completions available.
1818  Press the 
1819 \family sans
1820 Tab
1821 \family default
1822  key to accept a proposed completion.
1823  If several completions are possible, a popup is opened showing them.
1824  You can select a completion in the popup using the mouse or the arrow keys,
1825  and accept the chosen completion by pressing 
1826 \family sans
1827 Return
1828 \family default
1829 .
1830 \end_layout
1831
1832 \begin_layout Standard
1833 The completion options for math in the preferences do the same as the correspond
1834 ing options for text.
1835  The special math option 
1836 \family sans
1837 Autocorrection
1838 \family default
1839  enables characters to be composed.
1840  If, for example, you want to insert the character 
1841 \begin_inset Formula $\Rightarrow$
1842 \end_inset
1843
1844 , you can then input the characters 
1845 \begin_inset Quotes eld
1846 \end_inset
1847
1848
1849 \series bold
1850 =>
1851 \series default
1852
1853 \begin_inset Quotes erd
1854 \end_inset
1855
1856  to a formula to get it.
1857  So this is a quick alternative to the insertion of commands or the use
1858  of the math toolbar.
1859  A list with supported character combinations can be found in the file 
1860 \family typewriter
1861 autocorrect
1862 \family default
1863  that is in LyX's installation folder.
1864  Math autocorrection can at any time be turned on by pressing the exclamation
1865  mark key “!”.
1866  Pressing 
1867 \family sans
1868 Space
1869 \family default
1870  turns it off.
1871 \end_layout
1872
1873 \begin_layout Section
1874 Basic Key Bindings
1875 \begin_inset Index idx
1876 status collapsed
1877
1878 \begin_layout Plain Layout
1879 Key Bindings
1880 \end_layout
1881
1882 \end_inset
1883
1884
1885 \begin_inset Index idx
1886 status collapsed
1887
1888 \begin_layout Plain Layout
1889 Bindings|see
1890 \begin_inset ERT
1891 status collapsed
1892
1893 \begin_layout Plain Layout
1894
1895 {
1896 \end_layout
1897
1898 \end_inset
1899
1900 Key Bindings
1901 \begin_inset ERT
1902 status collapsed
1903
1904 \begin_layout Plain Layout
1905
1906 }
1907 \end_layout
1908
1909 \end_inset
1910
1911
1912 \end_layout
1913
1914 \end_inset
1915
1916
1917 \begin_inset Index idx
1918 status collapsed
1919
1920 \begin_layout Plain Layout
1921 Shortcuts|see
1922 \begin_inset ERT
1923 status collapsed
1924
1925 \begin_layout Plain Layout
1926
1927 {
1928 \end_layout
1929
1930 \end_inset
1931
1932 Key Bindings
1933 \begin_inset ERT
1934 status collapsed
1935
1936 \begin_layout Plain Layout
1937
1938 }
1939 \end_layout
1940
1941 \end_inset
1942
1943
1944 \end_layout
1945
1946 \end_inset
1947
1948
1949 \end_layout
1950
1951 \begin_layout Standard
1952 There are at least two different primary binding maps: 
1953 \family typewriter
1954 cua
1955 \family default
1956  and 
1957 \family typewriter
1958 emacs
1959 \family default
1960 .
1961  LyX's default is 
1962 \family typewriter
1963 cua
1964 \family default
1965 , which can be changed in the LyX preferences under 
1966 \family sans
1967 Editing\SpecialChar \menuseparator
1968 Shortcuts
1969 \family default
1970 .
1971  (You can list or change any key bindings as explained in sec.
1972 \begin_inset space \thinspace{}
1973 \end_inset
1974
1975
1976 \begin_inset CommandInset ref
1977 LatexCommand ref
1978 reference "sub:Editing-Shortcuts"
1979
1980 \end_inset
1981
1982 .)
1983 \end_layout
1984
1985 \begin_layout Standard
1986 Some keys, like 
1987 \family sans
1988 Page
1989 \begin_inset space ~
1990 \end_inset
1991
1992 Up
1993 \family default
1994
1995 \family sans
1996 Page
1997 \begin_inset space ~
1998 \end_inset
1999
2000 Down
2001 \family default
2002
2003 \family sans
2004 Left
2005 \family default
2006
2007 \family sans
2008 Right
2009 \family default
2010
2011 \family sans
2012 Up
2013 \family default
2014  and 
2015 \family sans
2016 Down
2017 \family default
2018 , do exactly what you expect them to do.
2019  Other keys don't:
2020 \end_layout
2021
2022 \begin_layout Labeling
2023 \labelwidthstring 00.00.0000
2024
2025 \family sans
2026 Tab
2027 \begin_inset CommandInset nomenclature
2028 LatexCommand nomenclature
2029 symbol "Tab"
2030 description "Tabulator key"
2031
2032 \end_inset
2033
2034
2035 \family default
2036  There is no such thing as a tab stop in LyX.
2037  If you do not understand this, go read sections
2038 \begin_inset space ~
2039 \end_inset
2040
2041
2042 \begin_inset CommandInset ref
2043 LatexCommand ref
2044 reference "sec:Par-indent-intro"
2045
2046 \end_inset
2047
2048  and 
2049 \begin_inset CommandInset ref
2050 LatexCommand ref
2051 reference "sec:Paragraph-Environments"
2052
2053 \end_inset
2054
2055 , especially section
2056 \begin_inset space ~
2057 \end_inset
2058
2059
2060 \begin_inset CommandInset ref
2061 LatexCommand ref
2062 reference "sub:Lists"
2063
2064 \end_inset
2065
2066 , right now.
2067  Yes, right now.
2068  If you are still confused, look in the 
2069 \emph on
2070 Tutorial
2071 \emph default
2072 .
2073 \begin_inset Newline newline
2074 \end_inset
2075
2076 In LyX the 
2077 \family sans
2078 Tab
2079 \family default
2080  key is only used to accept proposed input completions, to move the cursor
2081  in tables or math matrices or to change the nesting level in Itemize or
2082  Enumerate.
2083 \end_layout
2084
2085 \begin_layout Labeling
2086 \labelwidthstring 00.00.0000
2087
2088 \family sans
2089 Esc
2090 \begin_inset CommandInset nomenclature
2091 LatexCommand nomenclature
2092 symbol "Esc"
2093 description "Escape key"
2094
2095 \end_inset
2096
2097
2098 \family default
2099  This is the 
2100 \begin_inset Quotes eld
2101 \end_inset
2102
2103 cancel key.
2104 \begin_inset Quotes erd
2105 \end_inset
2106
2107  It is used, generically, to cancel operations.
2108  Other parts of the manual will go into greater detail about this.
2109 \end_layout
2110
2111 \begin_layout Labeling
2112 \labelwidthstring 00.00.0000
2113
2114 \family sans
2115 Home
2116 \family default
2117
2118 \begin_inset space ~
2119 \end_inset
2120
2121 and
2122 \begin_inset space ~
2123 \end_inset
2124
2125
2126 \family sans
2127 End
2128 \family default
2129  These move the cursor, respectively, to the beginning and end of a line,
2130  unless you are using the Emacs bindings where they jump to the beginning
2131  or end of the file.
2132 \end_layout
2133
2134 \begin_layout Standard
2135 There are three modifier keys:
2136 \end_layout
2137
2138 \begin_layout Labeling
2139 \labelwidthstring 00.00.0000
2140
2141 \family sans
2142 Control
2143 \family default
2144  (Denoted by 
2145 \begin_inset Quotes eld
2146 \end_inset
2147
2148
2149 \family sans
2150 Ctrl
2151 \family default
2152
2153 \begin_inset Quotes erd
2154 \end_inset
2155
2156
2157 \begin_inset CommandInset nomenclature
2158 LatexCommand nomenclature
2159 symbol "Ctrl"
2160 description "Control key"
2161
2162 \end_inset
2163
2164  in the documentation files) This has a couple of different uses, depending
2165  on which keys it is used in combination with:
2166 \end_layout
2167
2168 \begin_deeper
2169 \begin_layout Itemize
2170
2171 \family sans
2172 Backspace
2173 \family default
2174  or 
2175 \family sans
2176 Delete
2177 \family default
2178 , it deletes an entire word instead of a single character.
2179 \end_layout
2180
2181 \begin_layout Itemize
2182
2183 \family sans
2184 Left
2185 \family default
2186  and 
2187 \family sans
2188 Right
2189 \family default
2190 , it moves by words instead of characters.
2191 \end_layout
2192
2193 \begin_layout Itemize
2194
2195 \family sans
2196 Home
2197 \family default
2198  and 
2199 \family sans
2200 End
2201 \family default
2202 , it moves to the beginning and the end of the document, respectively.
2203 \end_layout
2204
2205 \end_deeper
2206 \begin_layout Labeling
2207 \labelwidthstring 00.00.0000
2208
2209 \family sans
2210 Shift
2211 \family default
2212  (Denoted by 
2213 \begin_inset Quotes eld
2214 \end_inset
2215
2216
2217 \family sans
2218 Shift
2219 \family default
2220
2221 \begin_inset Quotes erd
2222 \end_inset
2223
2224
2225 \begin_inset CommandInset nomenclature
2226 LatexCommand nomenclature
2227 symbol "Shift"
2228 description "Shift key"
2229
2230 \end_inset
2231
2232  in the documentation files) Use this with any of the arrow keys to select
2233  the text between the old and new cursor positions.
2234 \end_layout
2235
2236 \begin_layout Labeling
2237 \labelwidthstring 00.00.0000
2238
2239 \family sans
2240 Alt
2241 \family default
2242  (Denoted by 
2243 \begin_inset Quotes eld
2244 \end_inset
2245
2246
2247 \family sans
2248 Alt
2249 \family default
2250
2251 \begin_inset Quotes erd
2252 \end_inset
2253
2254
2255 \begin_inset CommandInset nomenclature
2256 LatexCommand nomenclature
2257 symbol "Alt"
2258 description "Alt or Meta key"
2259
2260 \end_inset
2261
2262  in the documentation files) This is the Alt key on many keyboards, unless
2263  your keyboard has a distinct Meta key.
2264  If you have both keys, you will need to try out which one actually performs
2265  the 
2266 \family sans
2267 Alt+
2268 \family default
2269  function.
2270 \begin_inset Newline newline
2271 \end_inset
2272
2273 This key does many different things, but it also activates the 
2274 \emph on
2275 menu accelerator keys
2276 \emph default
2277 .
2278  If you use this in combination with any of the underlined letters in a
2279  menu or menu item, it selects that menu item.
2280 \end_layout
2281
2282 \begin_deeper
2283 \begin_layout Standard
2284 For example, the sequence 
2285 \begin_inset Quotes eld
2286 \end_inset
2287
2288
2289 \family sans
2290 Alt
2291 \begin_inset space ~
2292 \end_inset
2293
2294 e
2295 \begin_inset space ~
2296 \end_inset
2297
2298 s
2299 \family default
2300
2301 \begin_inset space ~
2302 \end_inset
2303
2304
2305 \family sans
2306 c
2307 \family default
2308
2309 \begin_inset Quotes erd
2310 \end_inset
2311
2312  brings up the 
2313 \begin_inset Quotes eld
2314 \end_inset
2315
2316 Text Style
2317 \begin_inset Quotes erd
2318 \end_inset
2319
2320  dialog.
2321  Typing 
2322 \begin_inset Quotes eld
2323 \end_inset
2324
2325
2326 \family sans
2327 Alt
2328 \begin_inset space ~
2329 \end_inset
2330
2331 f
2332 \family default
2333
2334 \begin_inset Quotes erd
2335 \end_inset
2336
2337  opens the 
2338 \family sans
2339 File
2340 \family default
2341  menu.
2342 \end_layout
2343
2344 \begin_layout Standard
2345 The 
2346 \emph on
2347 Shortcuts
2348 \emph default
2349  manual lists all other things bound to the 
2350 \family sans
2351 Alt
2352 \family default
2353  key.
2354 \end_layout
2355
2356 \end_deeper
2357 \begin_layout Standard
2358 You will learn more and more key bindings and short-cut keys as you use
2359  LyX, because most actions will prompt a small message in the status bar
2360  at the bottom of LyX's main window which describes the name of the action
2361  you have just triggered, and any existing key bindings for that action.
2362  The LyX menus also list the defined key bindings.
2363  The notation for the key bindings is very similar to the notation used
2364  in this documentation, so you should not have any problems understanding
2365  it.
2366  However, notice that Shift-modifiers are explicitly mentioned, so 
2367 \begin_inset Quotes eld
2368 \end_inset
2369
2370
2371 \family sans
2372 Alt+P Shift+A
2373 \family default
2374
2375 \begin_inset Quotes erd
2376 \end_inset
2377
2378  means 
2379 \family sans
2380 Alt+P
2381 \family default
2382  followed by a capital 
2383 \family sans
2384 A
2385 \family default
2386 .
2387 \end_layout
2388
2389 \begin_layout Chapter
2390 LyX Basics
2391 \begin_inset Index idx
2392 status collapsed
2393
2394 \begin_layout Plain Layout
2395 LyX ! Basics
2396 \end_layout
2397
2398 \end_inset
2399
2400
2401 \end_layout
2402
2403 \begin_layout Section
2404 Document Types
2405 \begin_inset Index idx
2406 status collapsed
2407
2408 \begin_layout Plain Layout
2409 Document ! Types
2410 \end_layout
2411
2412 \end_inset
2413
2414
2415 \end_layout
2416
2417 \begin_layout Subsection
2418 Introduction
2419 \end_layout
2420
2421 \begin_layout Standard
2422 Before you do anything else, before you ever start writing a document, you
2423  need to decide what type of document you want to edit.
2424  Different types of documents use different types of spacing, headings,
2425  numbering schemes, and so on.
2426  Additionally, different documents use different paragraph environments,
2427  and format the title of your document differently.
2428 \end_layout
2429
2430 \begin_layout Standard
2431
2432 \emph on
2433 document class
2434 \emph default
2435  describes a group of properties common to a particular set of documents.
2436  By setting the document class, you automatically select these properties,
2437  making it easier to create the type of document you want.
2438  If you don't choose a document class, LyX picks one for you by default.
2439  So it is up to you to change the class of your document.
2440 \end_layout
2441
2442 \begin_layout Subsection
2443 Document Classes
2444 \begin_inset Index idx
2445 status collapsed
2446
2447 \begin_layout Plain Layout
2448 Document ! Classes
2449 \end_layout
2450
2451 \end_inset
2452
2453
2454 \begin_inset CommandInset label
2455 LatexCommand label
2456 name "sec:Document-Classes"
2457
2458 \end_inset
2459
2460
2461 \end_layout
2462
2463 \begin_layout Standard
2464 You can select a class using the 
2465 \family sans
2466 Document\SpecialChar \menuseparator
2467 Settings\SpecialChar \menuseparator
2468 Document Class
2469 \family default
2470
2471 \begin_inset Index idx
2472 status collapsed
2473
2474 \begin_layout Plain Layout
2475 Document ! Settings
2476 \end_layout
2477
2478 \end_inset
2479
2480  dialog.
2481  Select the class you want to use, and make any fine tunings of the options
2482  you may need.
2483 \end_layout
2484
2485 \begin_layout Subsubsection
2486 Overview
2487 \end_layout
2488
2489 \begin_layout Standard
2490 There are four standard document classes in LyX.
2491  They are:
2492 \end_layout
2493
2494 \begin_layout Description
2495 Article for basic articles
2496 \end_layout
2497
2498 \begin_layout Description
2499 Report for basic reports
2500 \end_layout
2501
2502 \begin_layout Description
2503 Book for writing a book
2504 \end_layout
2505
2506 \begin_layout Description
2507 Letter for US-style letters
2508 \end_layout
2509
2510 \begin_layout Standard
2511 There are also some non-standard classes, which LyX only uses if you have
2512  installed the corresponding LaTeX class files, though most LaTeX distributions
2513  will include many of these.
2514  Here are some of the classes.
2515  The full list with detailed explanations can be found in chapter 
2516 \emph on
2517 Special Document Classes
2518 \emph default
2519  in the 
2520 \emph on
2521 Additional Features
2522 \emph default
2523  manual:
2524 \end_layout
2525
2526 \begin_layout Description
2527 A&A Journal articles in the style and format used in Astronomy & Astrophysics
2528 \end_layout
2529
2530 \begin_layout Description
2531 ACS For submissions to the journals published by the American Chemistry
2532  Society
2533 \end_layout
2534
2535 \begin_layout Description
2536 AGU For submissions to the journals published by the American Geophysical
2537  Union
2538 \end_layout
2539
2540 \begin_layout Description
2541 AMS Layouts for articles and books in the style and format used by the American
2542  Mathematical Society (AMS).
2543  There are three article layouts available.
2544  The standard one uses a typical numbering scheme for theorems etc., that
2545  prepends the section number to the number of the result.
2546  All result-type statements (propositions, corollaries, and so on) are sequenced
2547  together, but definitions, examples, and the like have their own sequence.
2548  The 
2549 \begin_inset Quotes eld
2550 \end_inset
2551
2552 sequential numbering
2553 \begin_inset Quotes erd
2554 \end_inset
2555
2556  scheme does not place the section number with each result, but numbers
2557  them throughout the article in a single sequence.
2558  Each type of result gets its own sequence.
2559  There is also a layout that dispenses with numbering of statements altogether.
2560 \end_layout
2561
2562 \begin_layout Description
2563 Beamer Layout for presentations
2564 \end_layout
2565
2566 \begin_layout Description
2567 Broadway Layout for writing plays.
2568  It is not an existing LaTeX document class, but a new one that is distributed
2569  with LyX.
2570 \end_layout
2571
2572 \begin_layout Description
2573 Chess Layout to write about chess games
2574 \end_layout
2575
2576 \begin_layout Description
2577 Curriculum
2578 \begin_inset space ~
2579 \end_inset
2580
2581 vitae classes to create curriculum vitae
2582 \end_layout
2583
2584 \begin_layout Description
2585 Elsarticle Layout for journals of the Elsevier publishing group
2586 \end_layout
2587
2588 \begin_layout Description
2589 Foils Used to make transparencies
2590 \end_layout
2591
2592 \begin_layout Description
2593 Hollywood Used to type spec scripts for the US film industry.
2594  It is not an existing LaTeX document class, but a new one that is distributed
2595  with LyX.
2596 \end_layout
2597
2598 \begin_layout Description
2599 IEEEtran Layout for the journals published by the Institute of Electrical
2600  and Electronics Engineers (IEEE)
2601 \end_layout
2602
2603 \begin_layout Description
2604 IOP Layout for journals of the Institute of Physics publishing group
2605 \end_layout
2606
2607 \begin_layout Description
2608 Kluwer Layout for journals of the Kluwer publishing group
2609 \end_layout
2610
2611 \begin_layout Description
2612 KOMA-Script a replacement for the standard classes, offers many useful features
2613  like caption formatting, automatic print space calculation etc.
2614  (Is used by this document.)
2615 \end_layout
2616
2617 \begin_layout Description
2618 Memoir another replacement for the standard classes
2619 \end_layout
2620
2621 \begin_layout Description
2622 Powerdot Layout for presentations
2623 \end_layout
2624
2625 \begin_layout Description
2626 REVTe
2627 \begin_inset ERT
2628 status collapsed
2629
2630 \begin_layout Plain Layout
2631
2632 {}
2633 \end_layout
2634
2635 \end_inset
2636
2637 X is used to write articles for the publications of the American Physical
2638  Society (APS), American Institute of Physics (AIP), and Optical Society
2639  of America (OSA).
2640  This class is not completely compatible with all LyX features.
2641 \end_layout
2642
2643 \begin_layout Description
2644 Slides Used to make transparencies
2645 \end_layout
2646
2647 \begin_layout Description
2648 SPIE
2649 \begin_inset space ~
2650 \end_inset
2651
2652 Proceedings Layout for the journals published by The International Society
2653  for Optical Engineering (SPIE)
2654 \end_layout
2655
2656 \begin_layout Description
2657 Springer Layouts for journals of the Springer publishing group
2658 \end_layout
2659
2660 \begin_layout Standard
2661 We will not go into detail about how to use these different document classes
2662  here.
2663  You can find details about the non-standard classes in Chapter 6 of the
2664  
2665 \emph on
2666 Additional Features
2667 \emph default
2668  manual.
2669  Here, we will settle for a list of some of the common properties of all
2670  of the document classes.
2671 \end_layout
2672
2673 \begin_layout Subsubsection
2674 Availability
2675 \end_layout
2676
2677 \begin_layout Standard
2678 You will probably find that many of the document classes listed under 
2679 \family sans
2680 Document\SpecialChar \menuseparator
2681 Settings\SpecialChar \menuseparator
2682 Document Class
2683 \begin_inset Index idx
2684 status collapsed
2685
2686 \begin_layout Plain Layout
2687 Document ! Settings
2688 \end_layout
2689
2690 \end_inset
2691
2692  
2693 \family default
2694 are marked as 
2695 \begin_inset Quotes eld
2696 \end_inset
2697
2698 Unavailable
2699 \begin_inset Quotes erd
2700 \end_inset
2701
2702 .
2703  If you open a document that uses such a class, you will receive a warning
2704  saying that there are files that are required to produce output that are
2705  not installed.
2706  So it may seem that something is wrong.
2707 \end_layout
2708
2709 \begin_layout Standard
2710 Nothing is wrong.
2711  LyX includes many more document classes than you will ever need to use,
2712  and some of them, like 
2713 \family sans
2714 IOP
2715 \family default
2716 , are highly specialized.
2717  LyX tries to support as many different types of documents as possible,
2718  and it includes almost one hundred different layout files, with a growing
2719  number.
2720  No LaTeX distribution will install by default all files that might be needed
2721  by some document class.
2722  There are just too many of them.
2723  That is why some of the document classes are unavailable.
2724 \end_layout
2725
2726 \begin_layout Standard
2727 If there is a document class you would like to use that is marked as 
2728 \begin_inset Quotes erd
2729 \end_inset
2730
2731 Unavailable
2732 \begin_inset Quotes erd
2733 \end_inset
2734
2735 , you just need to install the appropriate package files.
2736  The easiest way to find out which files you need to install is to use that
2737  document class for a new file.
2738  LyX will display a dialog that will list the missing files.
2739  See section 
2740 \begin_inset Quotes eld
2741 \end_inset
2742
2743 Installing new LaTeX files
2744 \begin_inset Quotes erd
2745 \end_inset
2746
2747  in of the 
2748 \emph on
2749 Customization
2750 \emph default
2751  manual for information on how to install them.
2752 \begin_inset VSpace medskip
2753 \end_inset
2754
2755
2756 \end_layout
2757
2758 \begin_layout Standard
2759 Although LyX provides support for many different sorts of documents, it
2760  does not include support for every document class people might want to
2761  use.
2762  For example, many universities provide LaTeX class files to be used for
2763  dissertations submitted to those universities.
2764  The LyX team cannot write layout files to support every one of these.
2765  There are too many.
2766  Fortunately, users can write their own layout files, and many users have
2767  done so.
2768  Chapter
2769 \begin_inset space ~
2770 \end_inset
2771
2772 5 of the 
2773 \emph on
2774 Customization
2775 \emph default
2776  manual contains information on how to create layout files.
2777 \end_layout
2778
2779 \begin_layout Subsubsection
2780 Modules
2781 \begin_inset CommandInset label
2782 LatexCommand label
2783 name "sub:Modules"
2784
2785 \end_inset
2786
2787
2788 \begin_inset Index idx
2789 status collapsed
2790
2791 \begin_layout Plain Layout
2792 Document ! Modules
2793 \end_layout
2794
2795 \end_inset
2796
2797
2798 \end_layout
2799
2800 \begin_layout Standard
2801 Modules load additional features that are not by default available in the
2802  chosen document class.
2803  For example you might want to write Braille (embossed printing) in a document.
2804  This is not available in any document class, so you have to load the correspond
2805 ing module in the 
2806 \family sans
2807 Modules
2808 \family default
2809  section of the 
2810 \family sans
2811 Document\SpecialChar \menuseparator
2812 Settings
2813 \family default
2814
2815 \begin_inset Index idx
2816 status collapsed
2817
2818 \begin_layout Plain Layout
2819 Document ! Settings
2820 \end_layout
2821
2822 \end_inset
2823
2824  dialog.
2825  Highlighting a module in the dialog will bring up a description of what
2826  it does.
2827 \end_layout
2828
2829 \begin_layout Standard
2830 Some modules require LaTeX packages or file format converters that are not
2831  always installed by default.
2832  LyX will warn you if you do not have a required package or converter, and
2833  it will tell you what exactly you are missing.
2834  You can still use the module while editing your file, but you will not
2835  be able to export to PDF or print your document, since LyX will not be
2836  able to compile the LaTeX file without the missing prerequisites.
2837  If you want to be able to produce this kind of output, then you need to
2838  install the missing prerequisites and then reconfigure LyX by selecting
2839  
2840 \family sans
2841 Tools\SpecialChar \menuseparator
2842 Reconfigure
2843 \family default
2844 .
2845 \begin_inset Index idx
2846 status collapsed
2847
2848 \begin_layout Plain Layout
2849 Reconfiguration of LyX
2850 \end_layout
2851
2852 \end_inset
2853
2854  See section 
2855 \begin_inset Quotes eld
2856 \end_inset
2857
2858 Installing new LaTeX files
2859 \begin_inset Quotes erd
2860 \end_inset
2861
2862  of the 
2863 \emph on
2864 Customization
2865 \emph default
2866  manual for more information on installing required packages.
2867 \end_layout
2868
2869 \begin_layout Standard
2870 \begin_inset Note Greyedout
2871 status open
2872
2873 \begin_layout Plain Layout
2874
2875 \series bold
2876 Note:
2877 \series default
2878  Some modules require other modules, and some pairs of modules are incompatible.
2879  LyX will advise you about these things.
2880 \end_layout
2881
2882 \end_inset
2883
2884
2885 \end_layout
2886
2887 \begin_layout Subsubsection
2888 Local Layout
2889 \begin_inset CommandInset label
2890 LatexCommand label
2891 name "sub:Local-Layout"
2892
2893 \end_inset
2894
2895
2896 \begin_inset Index idx
2897 status collapsed
2898
2899 \begin_layout Plain Layout
2900 Document ! Local Layout
2901 \end_layout
2902
2903 \end_inset
2904
2905
2906 \end_layout
2907
2908 \begin_layout Standard
2909 Modules are to LyX much as packages are to LaTeX: They are intended to be
2910  used in a variety of different documents.
2911  If you often find yourself needing the same sort of thing in different
2912  documents, you should consider writing a module for this purpose.
2913  Sometimes, however, a particular document has very special needs, but you
2914  need a specific inset or character style only that one time.
2915  You want something that is like a document's own LaTeX preamble.
2916  What you want is LyX's 
2917 \begin_inset Quotes eld
2918 \end_inset
2919
2920 Local Layout
2921 \begin_inset Quotes erd
2922 \end_inset
2923
2924 .
2925  See section 
2926 \emph on
2927 Local Layout
2928 \emph default
2929  of the 
2930 \emph on
2931 Customization
2932 \emph default
2933  manual for information on how to use it.
2934 \end_layout
2935
2936 \begin_layout Subsubsection
2937 Properties
2938 \end_layout
2939
2940 \begin_layout Standard
2941 Each class has a default set of options.
2942  Here's a quick table describing them:
2943 \end_layout
2944
2945 \begin_layout Standard
2946 \begin_inset VSpace 0.3cm
2947 \end_inset
2948
2949
2950 \end_layout
2951
2952 \begin_layout Standard
2953 \align center
2954 \begin_inset Tabular
2955 <lyxtabular version="3" rows="5" columns="5">
2956 <features rotate="0" tabularvalignment="middle">
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 <column alignment="center" valignment="top" width="0pt">
2961 <column alignment="center" valignment="top" width="0pt">
2962 <row>
2963 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2964 \begin_inset Text
2965
2966 \begin_layout Plain Layout
2967
2968 \end_layout
2969
2970 \end_inset
2971 </cell>
2972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2973 \begin_inset Text
2974
2975 \begin_layout Plain Layout
2976
2977 \family sans
2978 \series medium
2979 \shape up
2980 \size normal
2981 \emph off
2982 \bar no
2983 \noun off
2984 \color none
2985 Page style
2986 \end_layout
2987
2988 \end_inset
2989 </cell>
2990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2991 \begin_inset Text
2992
2993 \begin_layout Plain Layout
2994
2995 \family sans
2996 \series medium
2997 \shape up
2998 \size normal
2999 \emph off
3000 \bar no
3001 \noun off
3002 \color none
3003 Sides
3004 \end_layout
3005
3006 \end_inset
3007 </cell>
3008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3009 \begin_inset Text
3010
3011 \begin_layout Plain Layout
3012
3013 \family sans
3014 \series medium
3015 \shape up
3016 \size normal
3017 \emph off
3018 \bar no
3019 \noun off
3020 \color none
3021 Columns
3022 \end_layout
3023
3024 \end_inset
3025 </cell>
3026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3027 \begin_inset Text
3028
3029 \begin_layout Plain Layout
3030
3031 \series medium
3032 \shape up
3033 \size normal
3034 \emph off
3035 \bar no
3036 \noun off
3037 \color none
3038 Max.
3039  sectioning level
3040 \end_layout
3041
3042 \end_inset
3043 </cell>
3044 </row>
3045 <row>
3046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3047 \begin_inset Text
3048
3049 \begin_layout Plain Layout
3050
3051 \series medium
3052 \shape up
3053 \size normal
3054 \emph off
3055 \bar no
3056 \noun off
3057 \color none
3058 article
3059 \end_layout
3060
3061 \end_inset
3062 </cell>
3063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3064 \begin_inset Text
3065
3066 \begin_layout Plain Layout
3067
3068 \family sans
3069 \series medium
3070 \shape up
3071 \size normal
3072 \emph off
3073 \bar no
3074 \noun off
3075 \color none
3076 Plain
3077 \end_layout
3078
3079 \end_inset
3080 </cell>
3081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3082 \begin_inset Text
3083
3084 \begin_layout Plain Layout
3085
3086 \family sans
3087 \series medium
3088 \shape up
3089 \size normal
3090 \emph off
3091 \bar no
3092 \noun off
3093 \color none
3094 One
3095 \end_layout
3096
3097 \end_inset
3098 </cell>
3099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3100 \begin_inset Text
3101
3102 \begin_layout Plain Layout
3103
3104 \family sans
3105 \series medium
3106 \shape up
3107 \size normal
3108 \emph off
3109 \bar no
3110 \noun off
3111 \color none
3112 One
3113 \end_layout
3114
3115 \end_inset
3116 </cell>
3117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3118 \begin_inset Text
3119
3120 \begin_layout Plain Layout
3121
3122 \family sans
3123 \series medium
3124 \shape up
3125 \size normal
3126 \emph off
3127 \bar no
3128 \noun off
3129 \color none
3130 Section
3131 \end_layout
3132
3133 \end_inset
3134 </cell>
3135 </row>
3136 <row>
3137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Plain Layout
3141
3142 \series medium
3143 \shape up
3144 \size normal
3145 \emph off
3146 \bar no
3147 \noun off
3148 \color none
3149 report
3150 \end_layout
3151
3152 \end_inset
3153 </cell>
3154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3155 \begin_inset Text
3156
3157 \begin_layout Plain Layout
3158
3159 \family sans
3160 \series medium
3161 \shape up
3162 \size normal
3163 \emph off
3164 \bar no
3165 \noun off
3166 \color none
3167 Plain
3168 \end_layout
3169
3170 \end_inset
3171 </cell>
3172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3173 \begin_inset Text
3174
3175 \begin_layout Plain Layout
3176
3177 \family sans
3178 \series medium
3179 \shape up
3180 \size normal
3181 \emph off
3182 \bar no
3183 \noun off
3184 \color none
3185 One
3186 \end_layout
3187
3188 \end_inset
3189 </cell>
3190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3191 \begin_inset Text
3192
3193 \begin_layout Plain Layout
3194
3195 \family sans
3196 \series medium
3197 \shape up
3198 \size normal
3199 \emph off
3200 \bar no
3201 \noun off
3202 \color none
3203 One
3204 \end_layout
3205
3206 \end_inset
3207 </cell>
3208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3209 \begin_inset Text
3210
3211 \begin_layout Plain Layout
3212
3213 \family sans
3214 \series medium
3215 \shape up
3216 \size normal
3217 \emph off
3218 \bar no
3219 \noun off
3220 \color none
3221 Chapter
3222 \end_layout
3223
3224 \end_inset
3225 </cell>
3226 </row>
3227 <row>
3228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3229 \begin_inset Text
3230
3231 \begin_layout Plain Layout
3232
3233 \series medium
3234 \shape up
3235 \size normal
3236 \emph off
3237 \bar no
3238 \noun off
3239 \color none
3240 book
3241 \end_layout
3242
3243 \end_inset
3244 </cell>
3245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3246 \begin_inset Text
3247
3248 \begin_layout Plain Layout
3249
3250 \family sans
3251 \series medium
3252 \shape up
3253 \size normal
3254 \emph off
3255 \bar no
3256 \noun off
3257 \color none
3258 Headings
3259 \end_layout
3260
3261 \end_inset
3262 </cell>
3263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3264 \begin_inset Text
3265
3266 \begin_layout Plain Layout
3267
3268 \family sans
3269 \series medium
3270 \shape up
3271 \size normal
3272 \emph off
3273 \bar no
3274 \noun off
3275 \color none
3276 Two
3277 \end_layout
3278
3279 \end_inset
3280 </cell>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Plain Layout
3285
3286 \family sans
3287 \series medium
3288 \shape up
3289 \size normal
3290 \emph off
3291 \bar no
3292 \noun off
3293 \color none
3294 One
3295 \end_layout
3296
3297 \end_inset
3298 </cell>
3299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3300 \begin_inset Text
3301
3302 \begin_layout Plain Layout
3303
3304 \family sans
3305 \series medium
3306 \shape up
3307 \size normal
3308 \emph off
3309 \bar no
3310 \noun off
3311 \color none
3312 Chapter
3313 \end_layout
3314
3315 \end_inset
3316 </cell>
3317 </row>
3318 <row>
3319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3320 \begin_inset Text
3321
3322 \begin_layout Plain Layout
3323
3324 \series medium
3325 \shape up
3326 \size normal
3327 \emph off
3328 \bar no
3329 \noun off
3330 \color none
3331 letter
3332 \end_layout
3333
3334 \end_inset
3335 </cell>
3336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3337 \begin_inset Text
3338
3339 \begin_layout Plain Layout
3340
3341 \family sans
3342 \series medium
3343 \shape up
3344 \size normal
3345 \emph off
3346 \bar no
3347 \noun off
3348 \color none
3349 Plain
3350 \end_layout
3351
3352 \end_inset
3353 </cell>
3354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Plain Layout
3358
3359 \family sans
3360 \series medium
3361 \shape up
3362 \size normal
3363 \emph off
3364 \bar no
3365 \noun off
3366 \color none
3367 One
3368 \end_layout
3369
3370 \end_inset
3371 </cell>
3372 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3373 \begin_inset Text
3374
3375 \begin_layout Plain Layout
3376
3377 \family sans
3378 \series medium
3379 \shape up
3380 \size normal
3381 \emph off
3382 \bar no
3383 \noun off
3384 \color none
3385 One
3386 \end_layout
3387
3388 \end_inset
3389 </cell>
3390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3391 \begin_inset Text
3392
3393 \begin_layout Plain Layout
3394
3395 \series medium
3396 \shape up
3397 \size normal
3398 \emph off
3399 \bar no
3400 \noun off
3401 \color none
3402 none
3403 \end_layout
3404
3405 \end_inset
3406 </cell>
3407 </row>
3408 </lyxtabular>
3409
3410 \end_inset
3411
3412
3413 \end_layout
3414
3415 \begin_layout Standard
3416 \begin_inset VSpace 0.3cm
3417 \end_inset
3418
3419
3420 \end_layout
3421
3422 \begin_layout Standard
3423 You're probably also wondering what 
3424 \begin_inset Quotes eld
3425 \end_inset
3426
3427 Max.
3428 \begin_inset space ~
3429 \end_inset
3430
3431 sectioning level
3432 \begin_inset Quotes erd
3433 \end_inset
3434
3435  means.
3436  There are several paragraph environments used to create section headings.
3437  Different document classes allow different types of section headings.
3438  Only two use the 
3439 \family sans
3440 Chapter
3441 \family default
3442  heading; the rest do not and begin instead with the 
3443 \family sans
3444 Section
3445 \family default
3446  heading.
3447  Some document classes, such as the ones for letters, don't use any section
3448  headings.
3449  In addition to 
3450 \family sans
3451 Chapter
3452 \family default
3453  and 
3454 \family sans
3455 Section
3456 \family default
3457  headings, there are also 
3458 \family sans
3459 Subsection
3460 \family default
3461  headings, 
3462 \family sans
3463 Subsubsection
3464 \family default
3465  headings, and so on.
3466  We will describe these headings fully in section
3467 \begin_inset space ~
3468 \end_inset
3469
3470
3471 \begin_inset CommandInset ref
3472 LatexCommand ref
3473 reference "sub:Headings"
3474
3475 \end_inset
3476
3477 .
3478 \end_layout
3479
3480 \begin_layout Subsection
3481 Document Layout
3482 \begin_inset CommandInset label
3483 LatexCommand label
3484 name "sub:Document-Layout"
3485
3486 \end_inset
3487
3488
3489 \begin_inset Index idx
3490 status collapsed
3491
3492 \begin_layout Plain Layout
3493 Document ! Layout
3494 \end_layout
3495
3496 \end_inset
3497
3498
3499 \family sans
3500
3501 \begin_inset Index idx
3502 status collapsed
3503
3504 \begin_layout Plain Layout
3505 Document ! Settings
3506 \end_layout
3507
3508 \end_inset
3509
3510
3511 \end_layout
3512
3513 \begin_layout Standard
3514 The most important properties of document classes are set in the menu 
3515 \family sans
3516 Document\SpecialChar \menuseparator
3517 Settings
3518 \family default
3519 .
3520  There in the 
3521 \family sans
3522 Class
3523 \begin_inset space ~
3524 \end_inset
3525
3526 options
3527 \family default
3528  field under 
3529 \family sans
3530 Documents
3531 \begin_inset space ~
3532 \end_inset
3533
3534 Class
3535 \family default
3536 , you can enter special options for your document class in a comma-separated
3537  list.
3538  This is only necessary if LyX doesn't support special options you want
3539  to use for your document.
3540  To learn more about your favorite LaTeX-class and its options, you have
3541  to read its manual.
3542 \end_layout
3543
3544 \begin_layout Standard
3545 The drop box 
3546 \family sans
3547 Headings
3548 \begin_inset space ~
3549 \end_inset
3550
3551 style
3552 \family default
3553  in the 
3554 \family sans
3555 Document\SpecialChar \menuseparator
3556 Settings
3557 \family default
3558  dialog under 
3559 \family sans
3560 Page
3561 \begin_inset space ~
3562 \end_inset
3563
3564 Layout
3565 \family default
3566  controls what sorts of headings and page numbers go on a page.
3567  You can choose between the following five options:
3568 \end_layout
3569
3570 \begin_layout Labeling
3571 \labelwidthstring 00.00.0000
3572
3573 \family sans
3574 Default
3575 \family default
3576  Use default page style of current class.
3577 \end_layout
3578
3579 \begin_layout Labeling
3580 \labelwidthstring 00.00.0000
3581
3582 \family sans
3583 empty
3584 \family default
3585  No page numbers or headings.
3586 \end_layout
3587
3588 \begin_layout Labeling
3589 \labelwidthstring 00.00.0000
3590
3591 \family sans
3592 plain
3593 \family default
3594  Page numbers only.
3595 \end_layout
3596
3597 \begin_layout Labeling
3598 \labelwidthstring 00.00.0000
3599
3600 \family sans
3601 headings
3602 \family default
3603  Page numbers and either the current chapter or section title and number.
3604  Whether LyX uses the current chapter or the current section depends on
3605  the maximum sectioning level of the class.
3606 \end_layout
3607
3608 \begin_layout Labeling
3609 \labelwidthstring 00.00.0000
3610
3611 \family sans
3612 fancy
3613 \family default
3614  This allows you to define fully customizable headers and footers if you
3615  have the LaTeX-package 
3616 \series bold
3617 fancyhdr
3618 \series default
3619
3620 \begin_inset Index idx
3621 status collapsed
3622
3623 \begin_layout Plain Layout
3624 LaTeX-packages ! fancyhdr
3625 \end_layout
3626
3627 \end_inset
3628
3629  installed.
3630  How they are defined is explained in section
3631 \begin_inset space ~
3632 \end_inset
3633
3634
3635 \begin_inset CommandInset ref
3636 LatexCommand ref
3637 reference "sec:Customized-Page-Headers"
3638
3639 \end_inset
3640
3641 .
3642 \end_layout
3643
3644 \begin_layout Standard
3645 The separation of paragraphs is described in section
3646 \begin_inset space ~
3647 \end_inset
3648
3649
3650 \begin_inset CommandInset ref
3651 LatexCommand ref
3652 reference "sub:Paragraph-Separation"
3653
3654 \end_inset
3655
3656 .
3657 \end_layout
3658
3659 \begin_layout Subsection
3660 Paper Size and Orientation
3661 \begin_inset Index idx
3662 status collapsed
3663
3664 \begin_layout Plain Layout
3665 Document ! Paper size
3666 \end_layout
3667
3668 \end_inset
3669
3670
3671 \begin_inset CommandInset label
3672 LatexCommand label
3673 name "sub:Paper-Size,-Orientation"
3674
3675 \end_inset
3676
3677
3678 \end_layout
3679
3680 \begin_layout Standard
3681 You can find the following options in the menu 
3682 \family sans
3683 Page
3684 \begin_inset space ~
3685 \end_inset
3686
3687 Layout
3688 \family default
3689  of the 
3690 \family sans
3691 Document\SpecialChar \menuseparator
3692 Settings
3693 \family default
3694  dialog:
3695 \family sans
3696
3697 \begin_inset Index idx
3698 status collapsed
3699
3700 \begin_layout Plain Layout
3701 Document ! Settings
3702 \end_layout
3703
3704 \end_inset
3705
3706
3707 \end_layout
3708
3709 \begin_layout Labeling
3710 \labelwidthstring 00.00.0000
3711
3712 \family sans
3713 Paper
3714 \begin_inset space ~
3715 \end_inset
3716
3717 Format
3718 \family default
3719  What size paper to print on.
3720  The choices are
3721 \end_layout
3722
3723 \begin_deeper
3724 \begin_layout Itemize
3725
3726 \family sans
3727 Default
3728 \end_layout
3729
3730 \begin_layout Itemize
3731
3732 \family sans
3733 A0 - A6
3734 \end_layout
3735
3736 \begin_layout Itemize
3737
3738 \family sans
3739 B0 - B6
3740 \end_layout
3741
3742 \begin_layout Itemize
3743
3744 \family sans
3745 C0 - C6
3746 \end_layout
3747
3748 \begin_layout Itemize
3749
3750 \family sans
3751 US letter, US legal, US executive
3752 \end_layout
3753
3754 \begin_layout Itemize
3755
3756 \family sans
3757 JIS B0 - JIS B6
3758 \end_layout
3759
3760 \begin_layout Itemize
3761
3762 \family sans
3763 Custom
3764 \end_layout
3765
3766 \end_deeper
3767 \begin_layout Labeling
3768 \labelwidthstring 00.00.0000
3769
3770 \family sans
3771 Orientation
3772 \family default
3773  To choose whether to output as 
3774 \family sans
3775 Landscape
3776 \family default
3777  or as 
3778 \family sans
3779 Portrait
3780 \family default
3781 .
3782 \end_layout
3783
3784 \begin_layout Labeling
3785 \labelwidthstring 00.00.0000
3786
3787 \family sans
3788 Two-sided
3789 \begin_inset space ~
3790 \end_inset
3791
3792 document
3793 \family default
3794  Adjusts the print space to print both sides of paper.
3795  That means that the print space for odd- and even-numbered pages is different.
3796 \end_layout
3797
3798 \begin_layout Subsection
3799 Margins
3800 \begin_inset CommandInset label
3801 LatexCommand label
3802 name "sub:Margins"
3803
3804 \end_inset
3805
3806
3807 \begin_inset Index idx
3808 status collapsed
3809
3810 \begin_layout Plain Layout
3811 Document ! Margins
3812 \end_layout
3813
3814 \end_inset
3815
3816
3817 \begin_inset Index idx
3818 status collapsed
3819
3820 \begin_layout Plain Layout
3821 Margins
3822 \end_layout
3823
3824 \end_inset
3825
3826
3827 \end_layout
3828
3829 \begin_layout Standard
3830 Paper margins are set in the menu 
3831 \family sans
3832 Document\SpecialChar \menuseparator
3833 Settings
3834 \family default
3835 .
3836 \begin_inset Index idx
3837 status collapsed
3838
3839 \begin_layout Plain Layout
3840 Document ! Settings
3841 \end_layout
3842
3843 \end_inset
3844
3845
3846 \end_layout
3847
3848 \begin_layout Standard
3849 If you use a KOMA-Script document class, you can use the default settings
3850  because KOMA-Script calculates the print space automatically by taking
3851  the paper format and the font size into account.
3852 \end_layout
3853
3854 \begin_layout Subsection
3855 Important Note
3856 \end_layout
3857
3858 \begin_layout Standard
3859 If you change a document class, LyX has to convert 
3860 \emph on
3861 everything
3862 \emph default
3863  into the new class.
3864  That includes the paragraph environments.
3865  Some paragraph environments are standard, in so far as all of the document
3866  classes have them; but some classes have special paragraph environments.
3867  If this is the case, and you change the document class, LyX will mark the
3868  paragraphs whose styles it no longer understands as 
3869 \begin_inset Quotes eld
3870 \end_inset
3871
3872 unknown
3873 \begin_inset Quotes erd
3874 \end_inset
3875
3876 .
3877  The name of the style is retained, in case you should want to go back to
3878  the old class.
3879  But these paragraphs will be output with no special formatting, so you
3880  will either need to create a new style yourself or else convert these paragraph
3881 s manually to a style present in your new document class.
3882 \end_layout
3883
3884 \begin_layout Section
3885 Paragraph Indentation and Separation
3886 \begin_inset Index idx
3887 status collapsed
3888
3889 \begin_layout Plain Layout
3890 Paragraph ! Indentation
3891 \end_layout
3892
3893 \end_inset
3894
3895
3896 \end_layout
3897
3898 \begin_layout Subsection
3899 Introduction
3900 \begin_inset CommandInset label
3901 LatexCommand label
3902 name "sec:Par-indent-intro"
3903
3904 \end_inset
3905
3906
3907 \end_layout
3908
3909 \begin_layout Standard
3910 Before describing all of the various paragraph environments, we'd like to
3911  say a word or two about paragraph indentation.
3912 \end_layout
3913
3914 \begin_layout Standard
3915 Everyone seems to have their own convention for separating paragraphs.
3916  Most Americans indent the first line of a paragraph.
3917  Others don't indent but put extra space between the paragraphs.
3918  If you choose indentation for paragraphs the 
3919 \emph on
3920 first
3921 \emph default
3922  paragraph of a section, or after a figure, an equation, a table, a list,
3923  etc., is 
3924 \emph on
3925 not
3926 \emph default
3927  indented.
3928  Only a paragraph following another paragraph gets indented.
3929  Note that the indentation behavior is different when you use another document
3930  language than English.
3931  LaTeX takes care that the indentation follows the rules of the language
3932  used.
3933 \end_layout
3934
3935 \begin_layout Standard
3936 The space between paragraphs, like the line spacing, the space between headings
3937  and text — in fact, all the spacing for just about everything —is pre-coded
3938  into LyX.
3939  As we said, you don't worry about how much space to add between what.
3940  LyX takes care of that.
3941  In fact, these pre-coded vertical spacings aren't a single number but a
3942  range.
3943  That way, LyX can squish or stretch the space between lines to make sure
3944  figures fit on a page with text, so that sections don't start at the bottom
3945  of a page, and so on.
3946 \begin_inset Foot
3947 status collapsed
3948
3949 \begin_layout Plain Layout
3950 LaTeX does this when LyX goes to produce a printable file.
3951 \end_layout
3952
3953 \end_inset
3954
3955  However, pre-coded doesn't mean you can't change them.
3956  LyX gives you the ability globally to change 
3957 \emph on
3958 all
3959 \emph default
3960  these pre-coded spacings.
3961  We will explain more later.
3962 \end_layout
3963
3964 \begin_layout Subsection
3965 Paragraph Separation
3966 \begin_inset CommandInset label
3967 LatexCommand label
3968 name "sub:Paragraph-Separation"
3969
3970 \end_inset
3971
3972
3973 \begin_inset Index idx
3974 status collapsed
3975
3976 \begin_layout Plain Layout
3977 Paragraph ! Separation
3978 \end_layout
3979
3980 \end_inset
3981
3982
3983 \end_layout
3984
3985 \begin_layout Standard
3986 Select 
3987 \family sans
3988 Indentation
3989 \family default
3990  or 
3991 \family sans
3992 Vertical
3993 \begin_inset space ~
3994 \end_inset
3995
3996 space
3997 \family default
3998  in the submenu 
3999 \family sans
4000 Text
4001 \begin_inset space ~
4002 \end_inset
4003
4004 Layout
4005 \family default
4006  of the dialog 
4007 \family sans
4008 Document\SpecialChar \menuseparator
4009 Settings
4010 \family default
4011
4012 \begin_inset Index idx
4013 status collapsed
4014
4015 \begin_layout Plain Layout
4016 Document ! Settings
4017 \end_layout
4018
4019 \end_inset
4020
4021  to indent paragraphs or to add extra space between paragraphs, respectively.
4022 \end_layout
4023
4024 \begin_layout Subsection
4025 Fine-Tuning
4026 \end_layout
4027
4028 \begin_layout Standard
4029 You can also change the separation method of a single paragraph.
4030  Open the 
4031 \family sans
4032 Edit\SpecialChar \menuseparator
4033 Paragraph
4034 \begin_inset space ~
4035 \end_inset
4036
4037 Settings
4038 \family default
4039  dialog and toggle the 
4040 \family sans
4041 Indent
4042 \begin_inset space ~
4043 \end_inset
4044
4045 Paragraph
4046 \family default
4047  option to change the state of the current paragraph (shortcut 
4048 \begin_inset Info
4049 type  "shortcut"
4050 arg   "paragraph-params \\indent-toggle"
4051 \end_inset
4052
4053 ).
4054  If paragraphs have no indentation but use extra space for separation, this
4055  button will be ignored (you can't indent a single paragraph by toggling
4056  this).
4057 \end_layout
4058
4059 \begin_layout Standard
4060 You should only need to change the indentation method for a single paragraph
4061  if you need to do some fine-tuning.
4062 \end_layout
4063
4064 \begin_layout Subsection
4065 Line Spacing
4066 \begin_inset Index idx
4067 status collapsed
4068
4069 \begin_layout Plain Layout
4070 Paragraph ! Line spacing
4071 \end_layout
4072
4073 \end_inset
4074
4075
4076 \end_layout
4077
4078 \begin_layout Standard
4079 In the 
4080 \family sans
4081 Document\SpecialChar \menuseparator
4082 Settings
4083 \noun on
4084
4085 \begin_inset Index idx
4086 status collapsed
4087
4088 \begin_layout Plain Layout
4089 Document ! Settings
4090 \end_layout
4091
4092 \end_inset
4093
4094
4095 \family default
4096 \noun default
4097  dialog you can set the line spacing for the whole document in the submenu
4098  
4099 \family sans
4100 Text
4101 \begin_inset space ~
4102 \end_inset
4103
4104 Layout
4105 \family default
4106 .
4107 \begin_inset Foot
4108 status collapsed
4109
4110 \begin_layout Plain Layout
4111 You need to have the LaTeX-package 
4112 \series bold
4113 setspace
4114 \series default
4115
4116 \begin_inset Index idx
4117 status collapsed
4118
4119 \begin_layout Plain Layout
4120 LaTeX-packages ! setspace
4121 \end_layout
4122
4123 \end_inset
4124
4125  installed to use this feature.
4126 \end_layout
4127
4128 \end_inset
4129
4130  You can set it for a single paragraph in the 
4131 \family sans
4132 Edit\SpecialChar \menuseparator
4133 Paragraph
4134 \begin_inset space ~
4135 \end_inset
4136
4137 Settings
4138 \family default
4139  dialog but this should be used very exceptionally because vertical spacing
4140  is normally defined in the environment's style.
4141 \end_layout
4142
4143 \begin_layout Section
4144 Paragraph Environments
4145 \begin_inset CommandInset label
4146 LatexCommand label
4147 name "sec:Paragraph-Environments"
4148
4149 \end_inset
4150
4151
4152 \begin_inset Index idx
4153 status collapsed
4154
4155 \begin_layout Plain Layout
4156 Paragraph ! Environments
4157 \end_layout
4158
4159 \end_inset
4160
4161
4162 \begin_inset Index idx
4163 status collapsed
4164
4165 \begin_layout Plain Layout
4166 Paragraph environments|(
4167 \end_layout
4168
4169 \end_inset
4170
4171
4172 \end_layout
4173
4174 \begin_layout Subsection
4175 Overview
4176 \end_layout
4177
4178 \begin_layout Standard
4179 Paragraph environments correspond to the
4180 \end_layout
4181
4182 \begin_layout Standard
4183
4184 \series bold
4185
4186 \backslash
4187 begin{
4188 \emph on
4189 environment
4190 \emph default
4191 } ...
4192  
4193 \backslash
4194 end{
4195 \emph on
4196 environment
4197 \emph default
4198 }
4199 \series default
4200
4201 \begin_inset Newline newline
4202 \end_inset
4203
4204 command sequence in LaTeX files.
4205  If you don't know LaTeX, or the concept of a paragraph environment is totally
4206  alien to you, we urge you to read the 
4207 \emph on
4208 Tutorial
4209 \emph default
4210 .
4211  The 
4212 \emph on
4213 Tutorial
4214 \emph default
4215  also contains many more examples than this section does.
4216 \end_layout
4217
4218 \begin_layout Standard
4219 A paragraph environment is simply a 
4220 \begin_inset Quotes eld
4221 \end_inset
4222
4223 container
4224 \begin_inset Quotes erd
4225 \end_inset
4226
4227  for a paragraph which gives that paragraph certain properties.
4228  This can include a particular style of font, different margins, a numbering
4229  scheme, labels, and so on.
4230  Additionally, you can 
4231 \begin_inset Quotes eld
4232 \end_inset
4233
4234 nest
4235 \begin_inset Quotes erd
4236 \end_inset
4237
4238  the different environments inside one another, allowing one environment
4239  to inherit some of the properties of another.
4240  The different paragraph environments totally replace the need for messy
4241  tab stops, on the fly margin adjustment, and other hangovers from the days
4242  of typewriters.
4243  There are several paragraph environments that are specific to a particular
4244  document type.
4245  We will only be covering the most common ones here.
4246 \end_layout
4247
4248 \begin_layout Standard
4249 To choose a new paragraph environment, use the pull-down box 
4250 \begin_inset Graphics
4251         filename clipart/ToolbarEnvBox.png
4252         scale 70
4253         clip
4254
4255 \end_inset
4256
4257  at the left end of the toolbar.
4258  LyX will change the environment of the 
4259 \emph on
4260 entire
4261 \emph default
4262  paragraph in which the cursor sits.
4263  You can also change the environment of an entire group of paragraphs if
4264  you select them before choosing the new environment.
4265  
4266 \end_layout
4267
4268 \begin_layout Standard
4269 Note that entering 
4270 \family sans
4271 Return
4272 \family default
4273  will 
4274 \emph on
4275 typically
4276 \emph default
4277  create a new paragraph using the 
4278 \family sans
4279 Standard
4280 \family default
4281  paragraph environment.
4282  We say 
4283 \begin_inset Quotes eld
4284 \end_inset
4285
4286 typically
4287 \begin_inset Quotes erd
4288 \end_inset
4289
4290  because if you are in one of these environments:
4291 \end_layout
4292
4293 \begin_layout Itemize
4294
4295 \family sans
4296 Quote
4297 \end_layout
4298
4299 \begin_layout Itemize
4300
4301 \family sans
4302 Quotation
4303 \end_layout
4304
4305 \begin_layout Itemize
4306
4307 \family sans
4308 Verse
4309 \end_layout
4310
4311 \begin_layout Itemize
4312
4313 \family sans
4314 Itemize
4315 \end_layout
4316
4317 \begin_layout Itemize
4318
4319 \family sans
4320 Enumerate
4321 \end_layout
4322
4323 \begin_layout Itemize
4324
4325 \family sans
4326 Description
4327 \end_layout
4328
4329 \begin_layout Itemize
4330
4331 \family sans
4332 List
4333 \end_layout
4334
4335 \begin_layout Standard
4336 LyX keeps the old paragraph environment when you enter 
4337 \family sans
4338 Return
4339 \family default
4340 , rather than resetting it to 
4341 \family sans
4342 Standard
4343 \family default
4344 .
4345  Also the nesting depth is preserved (for more on nesting see section
4346 \begin_inset space ~
4347 \end_inset
4348
4349
4350 \begin_inset CommandInset ref
4351 LatexCommand ref
4352 reference "sec:Nesting"
4353
4354 \end_inset
4355
4356 ).
4357 \end_layout
4358
4359 \begin_layout Subsection
4360 Standard
4361 \end_layout
4362
4363 \begin_layout Standard
4364 The default paragraph environment is 
4365 \family sans
4366 Standard
4367 \family default
4368  for most classes.
4369  It creates a plain paragraph.
4370  If LyX resets the paragraph environment, this is the one it chooses.
4371  In fact, the paragraph you're reading right now (and most of the ones in
4372  this manual) are in the 
4373 \family sans
4374 Standard
4375 \family default
4376  environment.
4377 \end_layout
4378
4379 \begin_layout Standard
4380 You can nest a paragraph using the 
4381 \family sans
4382 Standard
4383 \family default
4384  environment in just about anything else, but you can't really nest anything
4385  in a 
4386 \family sans
4387 Standard
4388 \family default
4389  environment.
4390 \end_layout
4391
4392 \begin_layout Subsection
4393 Document Title
4394 \begin_inset Index idx
4395 status collapsed
4396
4397 \begin_layout Plain Layout
4398 Document ! Title
4399 \end_layout
4400
4401 \end_inset
4402
4403
4404 \end_layout
4405
4406 \begin_layout Standard
4407 A LaTeX title page has three parts: the title itself, the name(s) of the
4408  author(s) and a 
4409 \begin_inset Quotes eld
4410 \end_inset
4411
4412 footnote
4413 \begin_inset Quotes erd
4414 \end_inset
4415
4416  for thanks or contact information.
4417  For certain types of documents, LaTeX places all of this on a separate
4418  page along with today's date.
4419  For other types of documents, the title 
4420 \begin_inset Quotes eld
4421 \end_inset
4422
4423 page
4424 \begin_inset Quotes erd
4425 \end_inset
4426
4427  goes at the top of the first page of the document.
4428  
4429 \end_layout
4430
4431 \begin_layout Standard
4432 LyX provides an interface to the title page commands through the paragraph
4433  environments 
4434 \family sans
4435 Title
4436 \family default
4437
4438 \family sans
4439 Author
4440 \family default
4441 , and 
4442 \family sans
4443 Date
4444 \family default
4445 .
4446  Here's how you use them:
4447 \end_layout
4448
4449 \begin_layout Itemize
4450 Put the title of your document in the 
4451 \family sans
4452 Title
4453 \family default
4454  environment.
4455 \end_layout
4456
4457 \begin_layout Itemize
4458 Put the author name in the 
4459 \family sans
4460 Author
4461 \family default
4462  environment.
4463 \end_layout
4464
4465 \begin_layout Itemize
4466 If you want the date to have a certain appearance, want to use a fixed date,
4467  or want other text to appear in place of today's date, put that text in
4468  the 
4469 \family sans
4470 Date
4471 \family default
4472  environment.
4473  Note that using this environment is optional.
4474  If you don't provide any, LaTeX will automatically insert today's date.
4475  If you don't want a date, use the option 
4476 \family sans
4477 Suppress default date on front page
4478 \family default
4479  in the menu 
4480 \family sans
4481 Document\SpecialChar \menuseparator
4482 Settings\SpecialChar \menuseparator
4483 Document
4484 \begin_inset space ~
4485 \end_inset
4486
4487 class
4488 \family default
4489 .
4490 \end_layout
4491
4492 \begin_layout Standard
4493 You can use footnotes to insert 
4494 \begin_inset Quotes eld
4495 \end_inset
4496
4497 thanks
4498 \begin_inset Quotes erd
4499 \end_inset
4500
4501  or contact information.
4502 \end_layout
4503
4504 \begin_layout Subsection
4505 Headings
4506 \begin_inset Index idx
4507 status collapsed
4508
4509 \begin_layout Plain Layout
4510 Section headings
4511 \end_layout
4512
4513 \end_inset
4514
4515
4516 \begin_inset CommandInset label
4517 LatexCommand label
4518 name "sub:Headings"
4519
4520 \end_inset
4521
4522
4523 \end_layout
4524
4525 \begin_layout Standard
4526 There are several paragraph environments for producing section headings.
4527  LyX takes care of the numbering for you.
4528 \end_layout
4529
4530 \begin_layout Subsubsection
4531 Numbered Headings
4532 \begin_inset Index idx
4533 status collapsed
4534
4535 \begin_layout Plain Layout
4536 Section headings ! Numbered
4537 \end_layout
4538
4539 \end_inset
4540
4541
4542 \end_layout
4543
4544 \begin_layout Standard
4545 There are 7 numbered types of section headings.
4546  They are:
4547 \end_layout
4548
4549 \begin_layout Enumerate
4550
4551 \family sans
4552 Part
4553 \end_layout
4554
4555 \begin_layout Enumerate
4556
4557 \family sans
4558 Chapter
4559 \end_layout
4560
4561 \begin_layout Enumerate
4562
4563 \family sans
4564 Section
4565 \end_layout
4566
4567 \begin_layout Enumerate
4568
4569 \family sans
4570 Subsection
4571 \end_layout
4572
4573 \begin_layout Enumerate
4574
4575 \family sans
4576 Subsubsection
4577 \end_layout
4578
4579 \begin_layout Enumerate
4580
4581 \family sans
4582 Paragraph
4583 \end_layout
4584
4585 \begin_layout Enumerate
4586
4587 \family sans
4588 Subparagraph
4589 \end_layout
4590
4591 \begin_layout Standard
4592 LyX labels each heading with a series of numbers, separated by periods.
4593  The numbers describe where in the document you are.
4594  Unlike the other headings, parts are numbered with Latin letters.
4595 \end_layout
4596
4597 \begin_layout Standard
4598 Headings all subdivide your document into different pieces of text.
4599  For example, suppose you're writing a book.
4600  You group the book into chapters.
4601  LyX does a similar grouping:
4602 \end_layout
4603
4604 \begin_layout Itemize
4605
4606 \family sans
4607 Part
4608 \family default
4609  is divided into either 
4610 \family sans
4611 Chapter
4612 \family default
4613 s or 
4614 \family sans
4615 Section
4616 \family default
4617 s
4618 \end_layout
4619
4620 \begin_layout Itemize
4621
4622 \family sans
4623 Chapter
4624 \family default
4625 s are divided into 
4626 \family sans
4627 Section
4628 \family default
4629 s
4630 \end_layout
4631
4632 \begin_layout Itemize
4633
4634 \family sans
4635 Section
4636 \family default
4637 s are divided into 
4638 \family sans
4639 Subsection
4640 \family default
4641 s
4642 \end_layout
4643
4644 \begin_layout Itemize
4645
4646 \family sans
4647 Subsection
4648 \family default
4649 s are divided into 
4650 \family sans
4651 Subsubsection
4652 \family default
4653 s
4654 \end_layout
4655
4656 \begin_layout Itemize
4657
4658 \family sans
4659 Subsubsection
4660 \family default
4661 s are divided into 
4662 \family sans
4663 Paragraph
4664 \family default
4665 s
4666 \end_layout
4667
4668 \begin_layout Itemize
4669
4670 \family sans
4671 Paragraph
4672 \family default
4673 s are divided into 
4674 \family sans
4675 Subparagraph
4676 \family default
4677 s
4678 \end_layout
4679
4680 \begin_layout Standard
4681 \begin_inset Note Greyedout
4682 status open
4683
4684 \begin_layout Plain Layout
4685
4686 \series bold
4687 Note:
4688 \series default
4689  Not all document types use the 
4690 \family sans
4691 Chapter
4692 \family default
4693  heading as the maximum sectioning level.
4694  In that case the 
4695 \family sans
4696 Section
4697 \family default
4698  is the top-level heading.
4699 \end_layout
4700
4701 \end_inset
4702
4703
4704 \end_layout
4705
4706 \begin_layout Standard
4707 So, if you use the 
4708 \family sans
4709 Subsubsection
4710 \family default
4711  environment to label a new sub-subsection, LyX labels it with its number,
4712  along with the number of the subsection, section and, if applicable, chapter
4713  that it's in.
4714  For example: the fifth section of the second chapter of this book has the
4715  label 
4716 \begin_inset Quotes eld
4717 \end_inset
4718
4719 2.5
4720 \begin_inset Quotes erd
4721 \end_inset
4722
4723 .
4724 \end_layout
4725
4726 \begin_layout Subsubsection
4727 Unnumbered Headings
4728 \begin_inset Index idx
4729 status collapsed
4730
4731 \begin_layout Plain Layout
4732 Section headings ! Unnumbered
4733 \end_layout
4734
4735 \end_inset
4736
4737
4738 \end_layout
4739
4740 \begin_layout Standard
4741 The unnumbered section headings have a 
4742 \begin_inset Quotes eld
4743 \end_inset
4744
4745 *
4746 \begin_inset Quotes erd
4747 \end_inset
4748
4749  at the end of their name.
4750  They work the same as their numbered counterparts but will not appear in
4751  the table of contents, see section
4752 \begin_inset space ~
4753 \end_inset
4754
4755
4756 \begin_inset CommandInset ref
4757 LatexCommand ref
4758 reference "sec:toc"
4759
4760 \end_inset
4761
4762 .
4763 \end_layout
4764
4765 \begin_layout Subsubsection
4766 Changing the Numbering
4767 \begin_inset CommandInset label
4768 LatexCommand label
4769 name "sub:Numbering-depth"
4770
4771 \end_inset
4772
4773
4774 \end_layout
4775
4776 \begin_layout Standard
4777 You can also alter which sectioning levels get numbered and which ones appear
4778  in the Table of Contents.
4779  Now, this doesn't remove any of the levels; that's preset in the document
4780  class.
4781  Just as certain classes start with 
4782 \family sans
4783 Chapter
4784 \family default
4785  and go down to the 
4786 \family sans
4787 Subparagraph
4788 \family default
4789  level.
4790  Others start at 
4791 \family sans
4792 Section
4793 \family default
4794 .
4795  Similarly, not all document classes number all sectioning levels.
4796  Most don't number 
4797 \family sans
4798 Paragraph
4799 \family default
4800  or 
4801 \family sans
4802 Subparagraph
4803 \family default
4804 .
4805  This is something you can change.
4806 \end_layout
4807
4808 \begin_layout Standard
4809 Open the 
4810 \family sans
4811 Document\SpecialChar \menuseparator
4812 Settings
4813 \family default
4814  dialog.
4815 \begin_inset Index idx
4816 status collapsed
4817
4818 \begin_layout Plain Layout
4819 Document ! Settings
4820 \end_layout
4821
4822 \end_inset
4823
4824  Under 
4825 \family sans
4826 Numbering
4827 \begin_inset space ~
4828 \end_inset
4829
4830 &
4831 \begin_inset space ~
4832 \end_inset
4833
4834 TOC
4835 \family default
4836  you will see two counters.
4837  The one named 
4838 \family sans
4839 Numbering
4840 \family default
4841  controls how far down in the sectioning hierarchy LyX numbers a section
4842  heading.
4843  The other one controls the appearance of the section headings in the table
4844  of contents.
4845 \end_layout
4846
4847 \begin_layout Subsubsection
4848 Short Titles of Headings
4849 \begin_inset Index idx
4850 status collapsed
4851
4852 \begin_layout Plain Layout
4853 Section headings ! Short titles
4854 \end_layout
4855
4856 \end_inset
4857
4858
4859 \begin_inset Argument 1
4860 status collapsed
4861
4862 \begin_layout Plain Layout
4863 Short Titles
4864 \end_layout
4865
4866 \end_inset
4867
4868
4869 \begin_inset CommandInset label
4870 LatexCommand label
4871 name "sec:Short-Titles"
4872
4873 \end_inset
4874
4875
4876 \end_layout
4877
4878 \begin_layout Standard
4879 Some section or chapter titles, such as this one, can get quite long.
4880  This can cause trouble when there is limited horizontal space.
4881  For example, if the header of the page is set to show the current section
4882  title, a long title will protrude over the page margins and look awful.
4883 \end_layout
4884
4885 \begin_layout Standard
4886 LaTeX allows you to specify a short title for section headings.
4887  This short title is used in the header and in the actual table of contents,
4888  avoiding the problem mentioned.
4889  To specify a short title, use the menu 
4890 \family sans
4891 Insert\SpecialChar \menuseparator
4892 Short
4893 \begin_inset space ~
4894 \end_inset
4895
4896 Title
4897 \family default
4898 .
4899  This will insert a box labeled 
4900 \begin_inset Quotes eld
4901 \end_inset
4902
4903 opt
4904 \begin_inset Quotes erd
4905 \end_inset
4906
4907  (stands for 
4908 \begin_inset Quotes eld
4909 \end_inset
4910
4911 optional
4912 \begin_inset Quotes erd
4913 \end_inset
4914
4915 ) which you can use to enter the short title text.
4916  This also works for captions inside floats.
4917 \end_layout
4918
4919 \begin_layout Standard
4920 The title of this section is a good example of using this feature.
4921 \end_layout
4922
4923 \begin_layout Subsubsection
4924 Special Information
4925 \end_layout
4926
4927 \begin_layout Standard
4928 The following information applies to all section headings:
4929 \end_layout
4930
4931 \begin_layout Itemize
4932 You cannot do any nesting with these environments.
4933 \end_layout
4934
4935 \begin_layout Itemize
4936 You cannot use a margin note in any of these environments.
4937 \end_layout
4938
4939 \begin_layout Itemize
4940 You can only use inline math in these environments.
4941 \end_layout
4942
4943 \begin_layout Itemize
4944 You can use labels and cross-references to refer to their numbers.
4945 \end_layout
4946
4947 \begin_layout Subsection
4948 Quotes and Poetry line spacing
4949 \end_layout
4950
4951 \begin_layout Standard
4952 LyX has three paragraph environments for writing poetry and quotations.
4953  They are 
4954 \family sans
4955 Quote
4956 \family default
4957
4958 \family sans
4959 Quotation
4960 \family default
4961 , and 
4962 \family sans
4963 Verse
4964 \family default
4965 .
4966  Forget the days of changing line spacing and twiddling with margins.
4967  These three paragraph environments already have those changes built-in.
4968  They all widen the left margin and add a bit of extra space above and below
4969  the text they contain.
4970  They also allow nesting, so you can put a 
4971 \family sans
4972 Verse
4973 \family default
4974  in a 
4975 \family sans
4976 Quotation
4977 \family default
4978 , as well as in some other paragraph environments.
4979 \end_layout
4980
4981 \begin_layout Standard
4982 There is another feature of these three paragraph environments: they do
4983  
4984 \emph on
4985 not
4986 \emph default
4987  reset to 
4988 \family sans
4989 Standard
4990 \family default
4991  when you start a new paragraph.
4992  So, you can type in that poem and merrily enter 
4993 \family sans
4994 Return
4995 \family default
4996  without worrying about the paragraph environment changing on you.
4997  Of course, that means that, once you are done typing in that poem, you
4998  have to change back to the 
4999 \family sans
5000 Standard
5001 \family default
5002  environment yourself.
5003 \end_layout
5004
5005 \begin_layout Subsubsection
5006
5007 \family sans
5008 Quote
5009 \family default
5010  and 
5011 \family sans
5012 Quotation
5013 \family default
5014
5015 \begin_inset CommandInset label
5016 LatexCommand label
5017 name "sec:Quote"
5018
5019 \end_inset
5020
5021
5022 \begin_inset Index idx
5023 status collapsed
5024
5025 \begin_layout Plain Layout
5026 Quotation
5027 \end_layout
5028
5029 \end_inset
5030
5031
5032 \end_layout
5033
5034 \begin_layout Standard
5035 Now that we've described the similarities of these three environments, it's
5036  time for the differences.
5037  
5038 \family sans
5039 Quote
5040 \family default
5041  and 
5042 \family sans
5043 Quotation
5044 \family default
5045  are identical except for one difference: 
5046 \family sans
5047 Quote
5048 \family default
5049  uses extra spacing to separate paragraphs and never indents the first line.
5050  
5051 \family sans
5052 Quotation
5053 \family default
5054  
5055 \emph on
5056 always
5057 \emph default
5058  indents the first line of a paragraph and uses the same line spacing throughout.
5059 \end_layout
5060
5061 \begin_layout Standard
5062 Here's an example of the 
5063 \family sans
5064 Quote
5065 \family default
5066  environment:
5067 \end_layout
5068
5069 \begin_layout Quote
5070 This is in the 
5071 \family sans
5072 Quote
5073 \family default
5074  environment.
5075  I can keep writing, extending this line out further and further until it
5076  wraps.
5077  See – no indentation!
5078 \end_layout
5079
5080 \begin_layout Quote
5081 Here's the second paragraph of this quote.
5082  Again, there's no indentation, but there is extra space between me and
5083  the other paragraph.
5084 \end_layout
5085
5086 \begin_layout Standard
5087 Here's another example, this time in the 
5088 \family sans
5089 Quotation
5090 \family default
5091  environment:
5092 \end_layout
5093
5094 \begin_layout Quotation
5095 This is in the 
5096 \family sans
5097 Quotation
5098 \family default
5099  environment.
5100  If I keep writing, you will see the indentation.
5101  If your country uses a writing style that indicates new paragraphs by indenting
5102  the first line, then 
5103 \family sans
5104 Quotation
5105 \family default
5106  is the environment for you! Well, you'd use it 
5107 \emph on
5108 if
5109 \emph default
5110  you were quoting other text.
5111 \end_layout
5112
5113 \begin_layout Quotation
5114 Here's a new paragraph.
5115  I could ramble on and on, like a politician at election time.
5116  If I did that, though, you'd get bored.
5117 \end_layout
5118
5119 \begin_layout Standard
5120 As the examples show, 
5121 \family sans
5122 Quote
5123 \family default
5124  is for those people who use extra space to separate paragraphs.
5125  They should put quotes in the 
5126 \family sans
5127 Quote
5128 \family default
5129  environment.
5130  Those who use indentation to mark a new paragraph should use the 
5131 \family sans
5132 Quotation
5133 \family default
5134  paragraph environment for quoted text.
5135 \end_layout
5136
5137 \begin_layout Subsubsection
5138
5139 \family sans
5140 Verse
5141 \family default
5142
5143 \begin_inset Index idx
5144 status collapsed
5145
5146 \begin_layout Plain Layout
5147 Paragraph ! Verse
5148 \end_layout
5149
5150 \end_inset
5151
5152
5153 \family sans
5154
5155 \begin_inset Index idx
5156 status collapsed
5157
5158 \begin_layout Plain Layout
5159 Poetry
5160 \end_layout
5161
5162 \end_inset
5163
5164
5165 \begin_inset CommandInset label
5166 LatexCommand label
5167 name "sec:Verse"
5168
5169 \end_inset
5170
5171
5172 \end_layout
5173
5174 \begin_layout Standard
5175
5176 \family sans
5177 Verse
5178 \family default
5179  is a paragraph environment for poetry, rhymes, verses, and so on.
5180  Here's an example:
5181 \end_layout
5182
5183 \begin_layout Verse
5184 This is in Verse
5185 \begin_inset Newline newline
5186 \end_inset
5187
5188 Which I did not rehearse!
5189 \end_layout
5190
5191 \begin_layout Verse
5192 It could be much worse.
5193  This line could be long, very long, oh so long, so very long that it wraps
5194  around.
5195  It looks okay on screen, but in the printed version, the extra lines are
5196  indented a bit more than the first.
5197  Okay, so it's turned to prose and doesn't rhyme anymore.
5198  So sue me.
5199 \end_layout
5200
5201 \begin_layout Verse
5202 To break a line
5203 \begin_inset Newline newline
5204 \end_inset
5205
5206 And make things look fine
5207 \begin_inset Newline newline
5208 \end_inset
5209
5210 Use 
5211 \begin_inset Info
5212 type  "shortcut"
5213 arg   "newline-insert newline"
5214 \end_inset
5215
5216 .
5217 \end_layout
5218
5219 \begin_layout Standard
5220 As you can see, 
5221 \family sans
5222 Verse
5223 \family default
5224  does not indent both margins.
5225  Each stanza of the verse or poem is in its own paragraph.
5226  To separate the individual lines of a stanza, use the 
5227 \family typewriter
5228 break-line
5229 \family default
5230  function 
5231 \begin_inset Info
5232 type  "shortcut"
5233 arg   "newline-insert newline"
5234 \end_inset
5235
5236 .
5237 \end_layout
5238
5239 \begin_layout Subsection
5240 Lists
5241 \begin_inset Index idx
5242 status collapsed
5243
5244 \begin_layout Plain Layout
5245 Lists
5246 \end_layout
5247
5248 \end_inset
5249
5250
5251 \begin_inset CommandInset label
5252 LatexCommand label
5253 name "sub:Lists"
5254
5255 \end_inset
5256
5257
5258 \end_layout
5259
5260 \begin_layout Standard
5261 LyX has four different paragraph environments for creating different kinds
5262  of lists.
5263  In the 
5264 \family sans
5265 Itemize
5266 \family default
5267  and 
5268 \family sans
5269 Enumerate
5270 \family default
5271  environments, LyX labels your list items with bullets or numbers, respectively.
5272  In the 
5273 \family sans
5274 Description
5275 \family default
5276  and 
5277 \family sans
5278 List
5279 \family default
5280  environments, LyX lets you provide your own label.
5281  We will present the individual details of each type of list next after
5282  describing some general features of all four of them.
5283 \end_layout
5284
5285 \begin_layout Subsubsection
5286 General Features
5287 \end_layout
5288
5289 \begin_layout Standard
5290 The four paragraph environments for lists differ from the other environments
5291  in several ways.
5292  First, LyX treats each paragraph as a list item.
5293  Hitting 
5294 \family sans
5295 Return
5296 \family default
5297  does 
5298 \emph on
5299 not
5300 \emph default
5301  reset the environment to 
5302 \family sans
5303 Standard
5304 \family default
5305  but keeps the current environment and creates a new list item.
5306  The nesting depth is thereby kept.
5307  If you want to keep the paragraph environment but reset the current nesting
5308  depth, you can use 
5309 \begin_inset Info
5310 type  "shortcut"
5311 arg   "break-paragraph inverse"
5312 \end_inset
5313
5314 .
5315  If you do this at the top level of a list, it returns you to the 
5316 \family sans
5317 Standard
5318 \family default
5319  environment.
5320 \end_layout
5321
5322 \begin_layout Standard
5323 You can nest lists of any type inside one another.
5324  In fact, LyX changes the labels on some list items depending on how it
5325  is nested.
5326  If you intend to use any of the list paragraph environments, we suggest
5327  you read all of section
5328 \begin_inset space ~
5329 \end_inset
5330
5331
5332 \begin_inset CommandInset ref
5333 LatexCommand ref
5334 reference "sec:Nesting"
5335
5336 \end_inset
5337
5338 .
5339 \end_layout
5340
5341 \begin_layout Subsubsection
5342
5343 \family sans
5344 Itemize
5345 \family default
5346
5347 \begin_inset Index idx
5348 status collapsed
5349
5350 \begin_layout Plain Layout
5351 Lists ! Itemize
5352 \end_layout
5353
5354 \end_inset
5355
5356
5357 \begin_inset CommandInset label
5358 LatexCommand label
5359 name "sec:Itemize"
5360
5361 \end_inset
5362
5363
5364 \end_layout
5365
5366 \begin_layout Standard
5367 The first type of list we will describe in detail is the 
5368 \family sans
5369 Itemize
5370 \family default
5371  paragraph environment.
5372  It has the following properties:
5373 \end_layout
5374
5375 \begin_layout Itemize
5376 Each item has a particular bullet or symbol as its label.
5377 \end_layout
5378
5379 \begin_deeper
5380 \begin_layout Itemize
5381 LyX uses the same symbol for all of the items in a given nesting level.
5382 \end_layout
5383
5384 \begin_layout Itemize
5385 The symbol appears at the beginning of the first line.
5386 \end_layout
5387
5388 \end_deeper
5389 \begin_layout Itemize
5390 The items can have any length.
5391  LyX automatically offsets the left margin of each item.
5392  The offset is always relative to whatever environment the 
5393 \family sans
5394 Itemize
5395 \family default
5396  list may be in.
5397 \end_layout
5398
5399 \begin_layout Itemize
5400 If you nest an 
5401 \family sans
5402 Itemize
5403 \family default
5404  environment inside another 
5405 \family sans
5406 Itemize
5407 \family default
5408  environment, the label changes to a new symbol.
5409 \end_layout
5410
5411 \begin_deeper
5412 \begin_layout Itemize
5413 There are four different symbols for up to a four-fold nesting.
5414 \end_layout
5415
5416 \begin_layout Itemize
5417 LyX always shows the same symbol on screen.
5418 \end_layout
5419
5420 \begin_layout Itemize
5421 See section
5422 \begin_inset space ~
5423 \end_inset
5424
5425
5426 \begin_inset CommandInset ref
5427 LatexCommand ref
5428 reference "sec:Nesting"
5429
5430 \end_inset
5431
5432  for a full explanation of nesting.
5433 \end_layout
5434
5435 \end_deeper
5436 \begin_layout Standard
5437 Of course, that explanation was also an example of an 
5438 \family sans
5439 Itemize
5440 \family default
5441  list.
5442  The 
5443 \family sans
5444 Itemize
5445 \family default
5446  environment is best suited for lists where the order doesn't matter.
5447 \end_layout
5448
5449 \begin_layout Standard
5450 We said that different levels use different symbols as their label.
5451  Here's an example of all four possible symbols.
5452 \end_layout
5453
5454 \begin_layout Itemize
5455 The label for the first level 
5456 \family sans
5457 Itemize
5458 \family default
5459  is a large black dot, or bullet.
5460 \end_layout
5461
5462 \begin_deeper
5463 \begin_layout Itemize
5464 The label for the second level is a dash.
5465 \end_layout
5466
5467 \begin_deeper
5468 \begin_layout Itemize
5469 The label for the third is an asterisk.
5470 \end_layout
5471
5472 \begin_deeper
5473 \begin_layout Itemize
5474 The label for the fourth is a centered dot.
5475 \end_layout
5476
5477 \end_deeper
5478 \begin_layout Itemize
5479 Back out to the third level.
5480 \end_layout
5481
5482 \end_deeper
5483 \begin_layout Itemize
5484 Back to the second level.
5485 \end_layout
5486
5487 \end_deeper
5488 \begin_layout Itemize
5489 Back to the outermost level.
5490 \end_layout
5491
5492 \begin_layout Standard
5493 These are the default labels for an 
5494 \family sans
5495 Itemize
5496 \family default
5497  list.
5498  You can customize how these labels are displayed in the output in the 
5499 \family sans
5500 Document\SpecialChar \menuseparator
5501 Settings
5502 \family default
5503  dialog in the submenu 
5504 \family sans
5505 Bullets
5506 \family default
5507 .
5508 \begin_inset Index idx
5509 status collapsed
5510
5511 \begin_layout Plain Layout
5512 Document ! Settings
5513 \end_layout
5514
5515 \end_inset
5516
5517  These customizations are not displayed in LyX.
5518 \end_layout
5519
5520 \begin_layout Standard
5521 Notice how the space between items decreases with increasing depth.
5522  We will explain nesting and all the tricks you can do with different depths
5523  in section
5524 \begin_inset space ~
5525 \end_inset
5526
5527
5528 \begin_inset CommandInset ref
5529 LatexCommand ref
5530 reference "sec:Nesting"
5531
5532 \end_inset
5533
5534 .
5535 \end_layout
5536
5537 \begin_layout Subsubsection
5538
5539 \family sans
5540 Enumerate
5541 \family default
5542
5543 \begin_inset Index idx
5544 status collapsed
5545
5546 \begin_layout Plain Layout
5547 Lists ! Enumerate
5548 \end_layout
5549
5550 \end_inset
5551
5552
5553 \begin_inset CommandInset label
5554 LatexCommand label
5555 name "sec:Enumerate"
5556
5557 \end_inset
5558
5559
5560 \end_layout
5561
5562 \begin_layout Standard
5563 The 
5564 \family sans
5565 Enumerate
5566 \family default
5567  environment is used to create numbered lists and outlines.
5568  It has these properties:
5569 \end_layout
5570
5571 \begin_layout Enumerate
5572 Each item has a numeral as its label.
5573 \end_layout
5574
5575 \begin_deeper
5576 \begin_layout Enumerate
5577 The label type depends on the nesting depth.
5578 \end_layout
5579
5580 \end_deeper
5581 \begin_layout Enumerate
5582 LyX automatically counts the items for you and updates the label as appropriate.
5583 \end_layout
5584
5585 \begin_layout Enumerate
5586 Each new 
5587 \family sans
5588 Enumerate
5589 \family default
5590  environment resets the counter to one.
5591 \end_layout
5592
5593 \begin_layout Enumerate
5594 Like the 
5595 \family sans
5596 Itemize
5597 \family default
5598  environment, the 
5599 \family sans
5600 Enumerate
5601 \family default
5602  environment:
5603 \end_layout
5604
5605 \begin_deeper
5606 \begin_layout Enumerate
5607 Offsets the items relative to the left margin.
5608  Items can have any length.
5609 \end_layout
5610
5611 \begin_layout Enumerate
5612 Reduces the space between items as the nesting depth increases.
5613 \end_layout
5614
5615 \begin_layout Enumerate
5616 Uses different types of labels depending on the nesting depth.
5617 \end_layout
5618
5619 \begin_layout Enumerate
5620 Allows up to a four-fold nesting.
5621 \end_layout
5622
5623 \end_deeper
5624 \begin_layout Standard
5625 Unlike the 
5626 \family sans
5627 Itemize
5628 \family default
5629  environment, 
5630 \family sans
5631 Enumerate
5632 \family default
5633  shows the different labels for each item in LyX.
5634  Here is how LyX labels the four different levels in an 
5635 \family sans
5636 Enumerate
5637 \family default
5638 :
5639 \end_layout
5640
5641 \begin_layout Enumerate
5642 The first level of an 
5643 \family sans
5644 Enumerate
5645 \family default
5646  uses Arabic numerals followed by a period.
5647 \end_layout
5648
5649 \begin_deeper
5650 \begin_layout Enumerate
5651 The second level uses lower case letters surrounded by parentheses.
5652 \end_layout
5653
5654 \begin_deeper
5655 \begin_layout Enumerate
5656 The third level uses lower-case Roman numerals followed by a period.
5657 \end_layout
5658
5659 \begin_deeper
5660 \begin_layout Enumerate
5661 The fourth level uses capital letters followed by a period.
5662 \end_layout
5663
5664 \begin_layout Enumerate
5665 Again, notice the decrease in the spacing between items as the nesting depth
5666  increases.
5667 \end_layout
5668
5669 \end_deeper
5670 \begin_layout Enumerate
5671 Back to the third level
5672 \end_layout
5673
5674 \end_deeper
5675 \begin_layout Enumerate
5676 Back to the second level.
5677 \end_layout
5678
5679 \end_deeper
5680 \begin_layout Enumerate
5681 Back to the outermost level.
5682 \end_layout
5683
5684 \begin_layout Standard
5685 You can customize the type of numbering used in the 
5686 \family sans
5687 Enumerate
5688 \family default
5689  environment, see section
5690 \begin_inset space ~
5691 \end_inset
5692
5693
5694 \begin_inset CommandInset ref
5695 LatexCommand ref
5696 reference "sub:Customized-Lists"
5697
5698 \end_inset
5699
5700 .
5701  Such customization only shows up in the printed version, not in LyX.
5702 \end_layout
5703
5704 \begin_layout Standard
5705 There is more to nesting 
5706 \family sans
5707 Enumerate
5708 \family default
5709  environments than we've stated here.
5710  You should read section
5711 \begin_inset space ~
5712 \end_inset
5713
5714
5715 \begin_inset CommandInset ref
5716 LatexCommand ref
5717 reference "sec:Nesting"
5718
5719 \end_inset
5720
5721  to learn more about nesting.
5722 \end_layout
5723
5724 \begin_layout Subsubsection
5725
5726 \family sans
5727 Description
5728 \family default
5729
5730 \begin_inset Index idx
5731 status collapsed
5732
5733 \begin_layout Plain Layout
5734 Lists ! Description
5735 \end_layout
5736
5737 \end_inset
5738
5739
5740 \end_layout
5741
5742 \begin_layout Standard
5743 Unlike the previous two environments, the 
5744 \family sans
5745 Description
5746 \family default
5747  list has no fixed label.
5748  Instead, LyX uses the first 
5749 \begin_inset Quotes eld
5750 \end_inset
5751
5752 word
5753 \begin_inset Quotes erd
5754 \end_inset
5755
5756  of the first line as the label.
5757  Here's an example:
5758 \end_layout
5759
5760 \begin_layout Description
5761 Example: This is an example of the 
5762 \family sans
5763 Description
5764 \family default
5765  environment.
5766 \end_layout
5767
5768 \begin_layout Standard
5769 LyX typesets the label in boldface and puts extra space between it and the
5770  rest of the line.
5771 \end_layout
5772
5773 \begin_layout Standard
5774 With the first 
5775 \begin_inset Quotes eld
5776 \end_inset
5777
5778 word
5779 \begin_inset Quotes erd
5780 \end_inset
5781
5782  it is meant that the first usage of the 
5783 \family sans
5784 Space
5785 \family default
5786  key ends the label if you are at the beginning of the first line of an
5787  item.
5788  If you need to use more than one word in a label use a 
5789 \family sans
5790 Protected Space
5791 \family default
5792 .
5793  (Use either 
5794 \begin_inset Info
5795 type  "shortcut"
5796 arg   "command-alternatives space-insert protected ; math-space"
5797 \end_inset
5798
5799  or the menu 
5800 \family sans
5801 Insert\SpecialChar \menuseparator
5802 Formatting\SpecialChar \menuseparator
5803 Protected
5804 \begin_inset space ~
5805 \end_inset
5806
5807 Space
5808 \family default
5809 ; see section
5810 \begin_inset space ~
5811 \end_inset
5812
5813
5814 \begin_inset CommandInset ref
5815 LatexCommand ref
5816 reference "sub:Protected-Space"
5817
5818 \end_inset
5819
5820  for more information.) Here is an example:
5821 \end_layout
5822
5823 \begin_layout Description
5824 Second
5825 \begin_inset space ~
5826 \end_inset
5827
5828 Example: This one shows how to use a 
5829 \family sans
5830 Protected
5831 \begin_inset space ~
5832 \end_inset
5833
5834 Space
5835 \family default
5836  in the label of a 
5837 \family sans
5838 Description
5839 \family default
5840  list item.
5841 \end_layout
5842
5843 \begin_layout Description
5844 Usage: You should use the 
5845 \family sans
5846 Description
5847 \family default
5848  environment for things like definitions and theorems.
5849  Use it when you need to make one word in particular stand out in the text
5850  that describes it.
5851  It's not a good idea to use a 
5852 \family sans
5853 Description
5854 \family default
5855  environment when you have an entire sentence that you want to describe.
5856  You're better off using 
5857 \family sans
5858 Itemize
5859 \family default
5860  or 
5861 \family sans
5862 Enumerate
5863 \family default
5864  and nesting several 
5865 \family sans
5866 Standard
5867 \family default
5868  paragraphs into them.
5869 \end_layout
5870
5871 \begin_layout Description
5872 Nesting: You can nest 
5873 \family sans
5874 Description
5875 \family default
5876  environments inside one another, nest them in other types of lists, and
5877  so on.
5878 \end_layout
5879
5880 \begin_layout Standard
5881 Notice that after the first line, LyX indents subsequent lines, offsetting
5882  them from the first line.
5883 \end_layout
5884
5885 \begin_layout Subsubsection
5886 Labeling
5887 \begin_inset Index idx
5888 status collapsed
5889
5890 \begin_layout Plain Layout
5891 Lists ! Labeling
5892 \end_layout
5893
5894 \end_inset
5895
5896
5897 \end_layout
5898
5899 \begin_layout Standard
5900 The 
5901 \family sans
5902 Labeling
5903 \family default
5904  environment is a LyX extension to LaTeX.
5905 \end_layout
5906
5907 \begin_layout Standard
5908 Like the 
5909 \family sans
5910 Description
5911 \family default
5912  list the 
5913 \family sans
5914 Labeling
5915 \family default
5916  list has user-defined labels for each list item but it provides some additional
5917  features.
5918  Here are its properties:
5919 \end_layout
5920
5921 \begin_layout Labeling
5922 \labelwidthstring 00.00.0000
5923 item
5924 \begin_inset space ~
5925 \end_inset
5926
5927 labels LyX uses the first 
5928 \begin_inset Quotes eld
5929 \end_inset
5930
5931 word
5932 \begin_inset Quotes erd
5933 \end_inset
5934
5935  of each line as the item label.
5936  The first 
5937 \family sans
5938 Space
5939 \family default
5940  after the beginning of the first line of an item marks the end of the label.
5941  If you need to use more than one word in an item label, use a protected
5942  space as described above.
5943 \end_layout
5944
5945 \begin_layout Labeling
5946 \labelwidthstring 00.00.0000
5947 margins As you can see, LyX uses different margins for the item label and
5948  the body of the item text.
5949  The body of the text has a larger left margin, which is equal to the default
5950  label width plus a little extra space.
5951  
5952 \end_layout
5953
5954 \begin_layout Labeling
5955 \labelwidthstring 00.00.0000
5956 label
5957 \begin_inset space ~
5958 \end_inset
5959
5960 width LyX uses the width of the label, or the default width, whatever is
5961  larger.
5962  If the label width is larger, the label 
5963 \begin_inset Quotes eld
5964 \end_inset
5965
5966 extends
5967 \begin_inset Quotes erd
5968 \end_inset
5969
5970  into the first line.
5971  In other words, the text of the first line isn't aligned with the left
5972  margin of the rest of the item text.
5973 \end_layout
5974
5975 \begin_layout Labeling
5976 \labelwidthstring 00.00.0000
5977 default
5978 \begin_inset space ~
5979 \end_inset
5980
5981 width You can set the default label width to ensure that the text of all
5982  items in a 
5983 \family sans
5984 Labeling
5985 \family default
5986  environment has the same left margin.
5987 \begin_inset Newline newline
5988 \end_inset
5989
5990 To change the default width, select all items in the list.
5991  Now open the 
5992 \family sans
5993 Edit\SpecialChar \menuseparator
5994 Paragraph
5995 \begin_inset space ~
5996 \end_inset
5997
5998 Settings
5999 \family default
6000  dialog (toolbar button 
6001 \begin_inset Info
6002 type  "icon"
6003 arg   "layout-paragraph"
6004 \end_inset
6005
6006 ).
6007  The text in the box 
6008 \family sans
6009 Longest
6010 \begin_inset space ~
6011 \end_inset
6012
6013 label
6014 \family default
6015  determines the default label width.
6016  You can use the text of your largest label here, but you can also use the
6017  letter 
6018 \begin_inset Quotes eld
6019 \end_inset
6020
6021 M
6022 \begin_inset Quotes erd
6023 \end_inset
6024
6025  multiple times instead.
6026  M is the widest character and is a standard unit of widths in LaTeX.
6027  By using 
6028 \begin_inset Quotes eld
6029 \end_inset
6030
6031 M
6032 \begin_inset Quotes erd
6033 \end_inset
6034
6035  as the unit of width you don't need to keep changing the contents of 
6036 \family sans
6037 Longest
6038 \begin_inset space ~
6039 \end_inset
6040
6041 label
6042 \family default
6043  every time you alter a label in a 
6044 \family sans
6045 List
6046 \family default
6047  environment.
6048 \begin_inset Newline newline
6049 \end_inset
6050
6051 The predefined default width is the length of 
6052 \begin_inset Quotes eld
6053 \end_inset
6054
6055 00.00.0000
6056 \begin_inset Quotes erd
6057 \end_inset
6058
6059  (equal to 6
6060 \begin_inset space ~
6061 \end_inset
6062
6063 M).
6064 \end_layout
6065
6066 \begin_layout Standard
6067 You should use the 
6068 \family sans
6069 Labeling
6070 \family default
6071  list the same way as the 
6072 \family sans
6073 Description
6074 \family default
6075  list: When you need one word to stand out from the text that describes
6076  it.
6077  The 
6078 \family sans
6079 Labeling
6080 \family default
6081  environment gives you another way to do this, using a different overall
6082  layout.
6083 \end_layout
6084
6085 \begin_layout Standard
6086 You can nest 
6087 \family sans
6088 Labeling
6089 \family default
6090  lists inside one another, nest them in other types of lists, and so on.
6091  They work just like the other list paragraph environments.
6092  Read section
6093 \begin_inset space ~
6094 \end_inset
6095
6096
6097 \begin_inset CommandInset ref
6098 LatexCommand ref
6099 reference "sec:Nesting"
6100
6101 \end_inset
6102
6103  to learn about nesting.
6104 \end_layout
6105
6106 \begin_layout Standard
6107 There is yet another feature of the 
6108 \family sans
6109 Labeling
6110 \family default
6111  list: As you can see in the examples, LyX left-justifies the item labels
6112  by default.
6113  You can use additional 
6114 \family sans
6115 HFills
6116 \family default
6117  to change how LyX justifies the item label.
6118  
6119 \family sans
6120 Hfills
6121 \family default
6122  are documented in section
6123 \begin_inset space ~
6124 \end_inset
6125
6126
6127 \begin_inset CommandInset ref
6128 LatexCommand ref
6129 reference "sub:Horizontal-Space"
6130
6131 \end_inset
6132
6133 .
6134  Here are some examples:
6135 \end_layout
6136
6137 \begin_layout Labeling
6138 \labelwidthstring 00.00.0000
6139 Left The default for 
6140 \family sans
6141 Labeling
6142 \family default
6143  item labels.
6144 \end_layout
6145
6146 \begin_layout Labeling
6147 \labelwidthstring 00.00.0000
6148 \begin_inset space \hfill{}
6149 \end_inset
6150
6151 Right One 
6152 \family sans
6153 HFill
6154 \family default
6155  at the beginning of the label right justifies it.
6156 \end_layout
6157
6158 \begin_layout Labeling
6159 \labelwidthstring 00.00.0000
6160 \begin_inset space \hfill{}
6161 \end_inset
6162
6163 Center
6164 \begin_inset space \hfill{}
6165 \end_inset
6166
6167  One 
6168 \family sans
6169 HFill
6170 \family default
6171  at the beginning of the label and one at the end centers it.
6172 \end_layout
6173
6174 \begin_layout Subsection
6175 Customized Lists
6176 \begin_inset CommandInset label
6177 LatexCommand label
6178 name "sub:Customized-Lists"
6179
6180 \end_inset
6181
6182
6183 \begin_inset Index idx
6184 status collapsed
6185
6186 \begin_layout Plain Layout
6187 Lists ! Customized
6188 \end_layout
6189
6190 \end_inset
6191
6192
6193 \end_layout
6194
6195 \begin_layout Standard
6196 The features described in this section require that the module 
6197 \family sans
6198 Customisable Lists (enumitem)
6199 \family default
6200  is loaded in the document settings.
6201  The module uses the LaTeX-package 
6202 \series bold
6203 enumitem
6204 \series default
6205
6206 \begin_inset Index idx
6207 status collapsed
6208
6209 \begin_layout Plain Layout
6210 LaTeX-packages ! enumitem
6211 \end_layout
6212
6213 \end_inset
6214
6215 .
6216 \end_layout
6217
6218 \begin_layout Subsubsection
6219 Custom Enumerate Lists
6220 \begin_inset Index idx
6221 status collapsed
6222
6223 \begin_layout Plain Layout
6224 Lists ! Enumerate ! Custom
6225 \end_layout
6226
6227 \end_inset
6228
6229
6230 \end_layout
6231
6232 \begin_layout Standard
6233 \noindent
6234 The default numbering of numbered lists can be changed by adding an optional
6235  argument (menu 
6236 \family sans
6237 Insert\SpecialChar \menuseparator
6238 Short Title
6239 \family default
6240 ) to the first item of each level in the list.
6241  There you add the command
6242 \end_layout
6243
6244 \begin_layout Standard
6245
6246 \series bold
6247 label=
6248 \backslash
6249 roman{enumi}
6250 \end_layout
6251
6252 \begin_layout Standard
6253 in TeX Code (shortcut 
6254 \begin_inset Info
6255 type  "shortcut"
6256 arg   "ert-insert"
6257 \end_inset
6258
6259 ).
6260 \begin_inset Foot
6261 status collapsed
6262
6263 \begin_layout Plain Layout
6264 For more about TeX Code, look at section
6265 \begin_inset space ~
6266 \end_inset
6267
6268
6269 \begin_inset CommandInset ref
6270 LatexCommand ref
6271 reference "sec:TeX-Code"
6272
6273 \end_inset
6274
6275 .
6276 \end_layout
6277
6278 \end_inset
6279
6280
6281 \emph on
6282  enumi
6283 \emph default
6284  is hereby the first level counter of the enumeration.
6285  The command 
6286 \series bold
6287
6288 \backslash
6289 roman
6290 \series default
6291  outputs the counter as a small Roman numeral.
6292  For capital Roman numerals replace 
6293 \series bold
6294
6295 \backslash
6296 roman
6297 \series default
6298  with 
6299 \series bold
6300
6301 \backslash
6302 Roman
6303 \series default
6304  in the command above.
6305  For Arabic numerals use 
6306 \series bold
6307
6308 \backslash
6309 arabic
6310 \series default
6311 .
6312  To 
6313 \begin_inset Quotes eld
6314 \end_inset
6315
6316 number
6317 \begin_inset Quotes erd
6318 \end_inset
6319
6320  items with capital or small Latin letters use 
6321 \series bold
6322
6323 \backslash
6324 Alph
6325 \series default
6326  or 
6327 \series bold
6328
6329 \backslash
6330 alph
6331 \series default
6332 , respectively.
6333 \end_layout
6334
6335 \begin_layout Standard
6336 \noindent
6337 \begin_inset Note Greyedout
6338 status open
6339
6340 \begin_layout Plain Layout
6341
6342 \series bold
6343 Note:
6344 \series default
6345  You can only number 26
6346 \begin_inset space ~
6347 \end_inset
6348
6349 items with Latin letters, because this numbering is limited to single letters.
6350 \end_layout
6351
6352 \end_inset
6353
6354
6355 \end_layout
6356
6357 \begin_layout Standard
6358 To change the numbering for the list sublevels, replace the 'i' in the command
6359  by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv).
6360 \end_layout
6361
6362 \begin_layout Standard
6363 Here is a list with custom numbering:
6364 \end_layout
6365
6366 \begin_layout Enumerate
6367 \begin_inset Argument 1
6368 status open
6369
6370 \begin_layout Plain Layout
6371 \begin_inset ERT
6372 status open
6373
6374 \begin_layout Plain Layout
6375
6376 label=
6377 \backslash
6378 #
6379 \backslash
6380 Alph{enumi}
6381 \backslash
6382 #
6383 \end_layout
6384
6385 \end_inset
6386
6387
6388 \end_layout
6389
6390 \end_inset
6391
6392 Level 1
6393 \end_layout
6394
6395 \begin_deeper
6396 \begin_layout Enumerate
6397 \begin_inset Argument 1
6398 status open
6399
6400 \begin_layout Plain Layout
6401 \begin_inset ERT
6402 status open
6403
6404 \begin_layout Plain Layout
6405
6406 label=
6407 \backslash
6408 Alph{enumi}.
6409 \backslash
6410 arabic{enumii}
6411 \end_layout
6412
6413 \end_inset
6414
6415
6416 \end_layout
6417
6418 \end_inset
6419
6420 Level 2
6421 \end_layout
6422
6423 \begin_layout Enumerate
6424 Level 2
6425 \end_layout
6426
6427 \begin_deeper
6428 \begin_layout Enumerate
6429 \begin_inset Argument 1
6430 status open
6431
6432 \begin_layout Plain Layout
6433 \begin_inset ERT
6434 status open
6435
6436 \begin_layout Plain Layout
6437
6438 label=
6439 \backslash
6440 bf{
6441 \backslash
6442 arabic{enumiii}}
6443 \end_layout
6444
6445 \end_inset
6446
6447
6448 \end_layout
6449
6450 \end_inset
6451
6452 Level 3
6453 \end_layout
6454
6455 \begin_deeper
6456 \begin_layout Enumerate
6457 \begin_inset Argument 1
6458 status open
6459
6460 \begin_layout Plain Layout
6461 \begin_inset ERT
6462 status open
6463
6464 \begin_layout Plain Layout
6465
6466 label=
6467 \backslash
6468 emph{
6469 \backslash
6470 roman{enumiv})}
6471 \end_layout
6472
6473 \end_inset
6474
6475
6476 \end_layout
6477
6478 \end_inset
6479
6480 Level 4
6481 \end_layout
6482
6483 \end_deeper
6484 \end_deeper
6485 \end_deeper
6486 \begin_layout Standard
6487 For this list these commands were used:
6488 \end_layout
6489
6490 \begin_layout Standard
6491 \noindent
6492
6493 \series bold
6494 label=
6495 \backslash
6496 #
6497 \backslash
6498 Alph{enumi}
6499 \backslash
6500 #
6501 \begin_inset Newline newline
6502 \end_inset
6503
6504 label=
6505 \backslash
6506 Alph{enumi}.
6507 \backslash
6508 arabic{enumii}
6509 \begin_inset Newline newline
6510 \end_inset
6511
6512 label=
6513 \backslash
6514 bf{
6515 \backslash
6516 arabic{enumiii}}
6517 \begin_inset Newline newline
6518 \end_inset
6519
6520 label=
6521 \backslash
6522 emph{
6523 \backslash
6524 roman{enumiv})}
6525 \end_layout
6526
6527 \begin_layout Standard
6528 where the command 
6529 \series bold
6530
6531 \backslash
6532 emph{}
6533 \series default
6534  makes the label emphasized and 
6535 \series bold
6536
6537 \backslash
6538 bf{}
6539 \series default
6540  makes it bold.
6541 \end_layout
6542
6543 \begin_layout Standard
6544 \begin_inset Note Greyedout
6545 status open
6546
6547 \begin_layout Plain Layout
6548
6549 \series bold
6550 Note:
6551 \series default
6552  When you change the label of a list level, it will be used for all following
6553  lists until you change the definition.
6554 \end_layout
6555
6556 \end_inset
6557
6558
6559 \end_layout
6560
6561 \begin_layout Subsubsection
6562 Resumed Enumeration
6563 \begin_inset Index idx
6564 status collapsed
6565
6566 \begin_layout Plain Layout
6567 Lists ! Enumerate ! Resumed
6568 \end_layout
6569
6570 \end_inset
6571
6572
6573 \end_layout
6574
6575 \begin_layout Standard
6576 Enumerations can be resumed after intermediate paragraphs:
6577 \end_layout
6578
6579 \begin_layout Enumerate
6580 \begin_inset Argument 1
6581 status open
6582
6583 \begin_layout Plain Layout
6584 \begin_inset ERT
6585 status open
6586
6587 \begin_layout Plain Layout
6588
6589 label=
6590 \backslash
6591 arabic{enumi}.
6592 \end_layout
6593
6594 \end_inset
6595
6596
6597 \end_layout
6598
6599 \end_inset
6600
6601 first
6602 \begin_inset Note Note
6603 status open
6604
6605 \begin_layout Plain Layout
6606 goes back to default numbering
6607 \end_layout
6608
6609 \end_inset
6610
6611
6612 \end_layout
6613
6614 \begin_layout Enumerate
6615 second
6616 \end_layout
6617
6618 \begin_layout Standard
6619 regular text
6620 \end_layout
6621
6622 \begin_layout Enumerate-Resume
6623 resumed
6624 \end_layout
6625
6626 \begin_layout Standard
6627 To resume an enumeration, use the style 
6628 \family sans
6629 Enumerate-Resume
6630 \family default
6631 .
6632  Its numbering appears in blue within LyX to indicate that it is a resumed
6633  list and that the numbering will not be correct in LyX, but in the output.
6634 \end_layout
6635
6636 \begin_layout Standard
6637 \begin_inset Note Greyedout
6638 status open
6639
6640 \begin_layout Plain Layout
6641
6642 \series bold
6643 Note:
6644 \series default
6645  If there is no previous enumeration to resume, you will get a LaTeX error.
6646 \end_layout
6647
6648 \end_inset
6649
6650
6651 \end_layout
6652
6653 \begin_layout Standard
6654 Perhaps you might want to resume the list with a different number from the
6655  next one.
6656  Or you want to start a new enumeration with a defined number.
6657  This is possible by adding an optional argument to the first list item
6658  of a normal enumeration.
6659  There, insert the command
6660 \end_layout
6661
6662 \begin_layout Standard
6663
6664 \series bold
6665 start=number
6666 \end_layout
6667
6668 \begin_layout Standard
6669 where 
6670 \emph on
6671 number
6672 \emph default
6673  is the number with which you want to resume the list.
6674  An example:
6675 \end_layout
6676
6677 \begin_layout Enumerate
6678 first item
6679 \end_layout
6680
6681 \begin_layout Enumerate
6682 second item
6683 \end_layout
6684
6685 \begin_layout Standard
6686 Enumeration starting at a given value:
6687 \end_layout
6688
6689 \begin_layout Enumerate
6690 \begin_inset Argument 1
6691 status open
6692
6693 \begin_layout Plain Layout
6694 \begin_inset ERT
6695 status open
6696
6697 \begin_layout Plain Layout
6698
6699 start=4
6700 \end_layout
6701
6702 \end_inset
6703
6704
6705 \end_layout
6706
6707 \end_inset
6708
6709 This enumeration starts at 4
6710 \end_layout
6711
6712 \begin_layout Subsubsection
6713 List Spacing
6714 \begin_inset Index idx
6715 status collapsed
6716
6717 \begin_layout Plain Layout
6718 Lists ! Spacing
6719 \end_layout
6720
6721 \end_inset
6722
6723
6724 \end_layout
6725
6726 \begin_layout Standard
6727 In some cases you might want less or more vertical space between the items
6728  of a list.
6729  For example if the default space is too much in your opinion in this case:
6730 \end_layout
6731
6732 \begin_layout Itemize
6733 A bullet list
6734 \end_layout
6735
6736 \begin_layout Itemize
6737 with standard spacing 
6738 \end_layout
6739
6740 \begin_layout Standard
6741 You can decrease the space by adding an optional argument to the first item
6742  of the list.
6743  Add there the command 
6744 \series bold
6745 nolistsep
6746 \series default
6747  to get no additional list space like in this example:
6748 \end_layout
6749
6750 \begin_layout Itemize
6751 \begin_inset Argument 1
6752 status open
6753
6754 \begin_layout Plain Layout
6755 \begin_inset ERT
6756 status open
6757
6758 \begin_layout Plain Layout
6759
6760 nolistsep
6761 \end_layout
6762
6763 \end_inset
6764
6765
6766 \end_layout
6767
6768 \end_inset
6769
6770 A bullet list
6771 \end_layout
6772
6773 \begin_layout Itemize
6774 without additional
6775 \end_layout
6776
6777 \begin_layout Itemize
6778 vertical space
6779 \end_layout
6780
6781 \begin_layout Standard
6782 To add space you can use several other commands provided by the LaTeX-package
6783  
6784 \series bold
6785 enumitem
6786 \series default
6787
6788 \begin_inset Index idx
6789 status collapsed
6790
6791 \begin_layout Plain Layout
6792 LaTeX-packages ! enumitem
6793 \end_layout
6794
6795 \end_inset
6796
6797 .
6798  For more information see its documentation, 
6799 \begin_inset CommandInset citation
6800 LatexCommand cite
6801 key "enumitem"
6802
6803 \end_inset
6804
6805 .
6806 \end_layout
6807
6808 \begin_layout Standard
6809 There are also many commands available to change the horizontal spacing
6810  and indentation.
6811  Here is an example where the indentation was changed to that of the paragraphs
6812  in the document and the label separation was set to 2
6813 \begin_inset space \thinspace{}
6814 \end_inset
6815
6816 cm so that the number is in the page margin:
6817 \end_layout
6818
6819 \begin_layout Enumerate
6820 \begin_inset Argument 1
6821 status open
6822
6823 \begin_layout Plain Layout
6824 \begin_inset ERT
6825 status open
6826
6827 \begin_layout Plain Layout
6828
6829 labelindent=
6830 \backslash
6831 parindent, labelsep=2cm
6832 \end_layout
6833
6834 \end_inset
6835
6836
6837 \end_layout
6838
6839 \end_inset
6840
6841 An enumeration
6842 \end_layout
6843
6844 \begin_layout Enumerate
6845 with negative indentation
6846 \end_layout
6847
6848 \begin_layout Subsubsection
6849 Further Customization
6850 \begin_inset Index idx
6851 status collapsed
6852
6853 \begin_layout Plain Layout
6854 Lists ! Customization
6855 \end_layout
6856
6857 \end_inset
6858
6859
6860 \end_layout
6861
6862 \begin_layout Standard
6863 You can also change the style of description lists.
6864  The command
6865 \end_layout
6866
6867 \begin_layout Standard
6868
6869 \series bold
6870 font=definition
6871 \end_layout
6872
6873 \begin_layout Standard
6874 changes the description label font, the command
6875 \end_layout
6876
6877 \begin_layout Standard
6878
6879 \series bold
6880 style=definition
6881 \end_layout
6882
6883 \begin_layout Standard
6884 sets the list style.
6885 \end_layout
6886
6887 \begin_layout Standard
6888 An example where the command
6889 \end_layout
6890
6891 \begin_layout Standard
6892
6893 \series bold
6894 font=
6895 \backslash
6896 itshape, style=nextline
6897 \end_layout
6898
6899 \begin_layout Standard
6900 is used:
6901 \end_layout
6902
6903 \begin_layout Description
6904 Ionizing
6905 \begin_inset space ~
6906 \end_inset
6907
6908 radiation: 
6909 \begin_inset Argument 1
6910 status collapsed
6911
6912 \begin_layout Plain Layout
6913 \begin_inset ERT
6914 status open
6915
6916 \begin_layout Plain Layout
6917
6918 labelindent=0pt, labelsep=1cm, font=
6919 \backslash
6920 itshape, style=nextline
6921 \end_layout
6922
6923 \end_inset
6924
6925
6926 \end_layout
6927
6928 \end_inset
6929
6930 Ionizing radiation consists of particles or electromagnetic waves that are
6931  energetic enough to detach electrons from atoms or molecules, therefore
6932  ionizing them.
6933 \end_layout
6934
6935 \begin_layout Description
6936 Reference
6937 \begin_inset space ~
6938 \end_inset
6939
6940 counting: In computer science, reference counting is a technique of storing
6941  the number of references, pointers, or handles to a resource such as an
6942  object, block of memory, disk space or other resource.
6943 \end_layout
6944
6945 \begin_layout Standard
6946 There are many more commands and features provided by the LaTeX-package
6947  
6948 \series bold
6949 enumitem
6950 \series default
6951
6952 \begin_inset Index idx
6953 status collapsed
6954
6955 \begin_layout Plain Layout
6956 LaTeX-packages ! enumitem
6957 \end_layout
6958
6959 \end_inset
6960
6961 .
6962  For more information see its documentation 
6963 \begin_inset CommandInset citation
6964 LatexCommand cite
6965 key "enumitem"
6966
6967 \end_inset
6968
6969 .
6970 \end_layout
6971
6972 \begin_layout Subsection
6973 Letters
6974 \begin_inset Index idx
6975 status collapsed
6976
6977 \begin_layout Plain Layout
6978 Letters
6979 \end_layout
6980
6981 \end_inset
6982
6983
6984 \end_layout
6985
6986 \begin_layout Subsubsection
6987
6988 \family sans
6989 Address
6990 \family default
6991  and 
6992 \family sans
6993 Right
6994 \begin_inset space ~
6995 \end_inset
6996
6997 Address
6998 \family default
6999 : An Overview
7000 \end_layout
7001
7002 \begin_layout Standard
7003 Although LyX has document classes for letters, we've also created two paragraph
7004  environments called 
7005 \family sans
7006 Address
7007 \family default
7008  and 
7009 \family sans
7010 Right
7011 \begin_inset space ~
7012 \end_inset
7013
7014 Address
7015 \family default
7016 .
7017  To use the letter class, you need to use specific paragraph environments
7018  in a specific order, otherwise LaTeX gags on the document.
7019  In contrast, you can use the 
7020 \family sans
7021 Address
7022 \family default
7023  and 
7024 \family sans
7025 Right
7026 \begin_inset space ~
7027 \end_inset
7028
7029 Address
7030 \family default
7031  paragraph environments anywhere with no problem.
7032  You can even nest them inside other environments, though you can't nest
7033  anything in them.
7034 \end_layout
7035
7036 \begin_layout Standard
7037 Of course, you're not limited to using 
7038 \family sans
7039 Address
7040 \family default
7041  and 
7042 \family sans
7043 Right
7044 \begin_inset space ~
7045 \end_inset
7046
7047 Address
7048 \family default
7049  for letters only.
7050  
7051 \family sans
7052 Right
7053 \begin_inset space ~
7054 \end_inset
7055
7056 Address
7057 \family default
7058 , in particular, is useful for creating article titles like those used in
7059  some European academic papers.
7060 \end_layout
7061
7062 \begin_layout Subsubsection
7063 Usage
7064 \begin_inset CommandInset label
7065 LatexCommand label
7066 name "sec:Address-Usage"
7067
7068 \end_inset
7069
7070
7071 \end_layout
7072
7073 \begin_layout Standard
7074 The 
7075 \family sans
7076 Address
7077 \family default
7078  environment formats text in the style of an address, which is also used
7079  for the opening and signature in some countries.
7080  Similarly, the 
7081 \family sans
7082 Right
7083 \begin_inset space ~
7084 \end_inset
7085
7086 Address
7087 \family default
7088  environment formats text in the style of a right-justified address, which
7089  is used for the sender's address and today's date in some countries.
7090  Here's an example of each:
7091 \end_layout
7092
7093 \begin_layout Right Address
7094 Right Address
7095 \begin_inset Newline newline
7096 \end_inset
7097
7098 Who I am
7099 \begin_inset Newline newline
7100 \end_inset
7101
7102 Where I am
7103 \begin_inset Newline newline
7104 \end_inset
7105
7106 When is it? What is today?
7107 \end_layout
7108
7109 \begin_layout Standard
7110 That was 
7111 \family sans
7112 Right
7113 \begin_inset space ~
7114 \end_inset
7115
7116 Address
7117 \family default
7118 .
7119  Notice that the lines all have the same left margin, which LyX sets to
7120  fit the largest block of text on a single line.
7121  Here's an example of the 
7122 \family sans
7123 Address
7124 \family default
7125  environment:
7126 \end_layout
7127
7128 \begin_layout Address
7129 Who are you
7130 \begin_inset Newline newline
7131 \end_inset
7132
7133 Where do I send this
7134 \begin_inset Newline newline
7135 \end_inset
7136
7137 Your post office and country
7138 \end_layout
7139
7140 \begin_layout Standard
7141 As you can see, both 
7142 \family sans
7143 Address
7144 \family default
7145  and 
7146 \family sans
7147 Right
7148 \begin_inset space ~
7149 \end_inset
7150
7151 Address
7152 \family default
7153  add extra space between themselves and the next paragraph.
7154  If you enter 
7155 \family sans
7156 Return
7157 \family default
7158  in either of these environments, LyX resets the nesting depth and sets
7159  the environment to 
7160 \family sans
7161 Standard
7162 \family default
7163 .
7164  This makes sense, since 
7165 \family sans
7166 Return
7167 \family default
7168  is the 
7169 \family typewriter
7170 break-paragraph
7171 \family default
7172  function, and the individual lines of an address are not paragraphs.
7173  Thus, you have to use 
7174 \family typewriter
7175 break-line
7176 \family default
7177  (
7178 \begin_inset Info
7179 type  "shortcut"
7180 arg   "newline-insert newline"
7181 \end_inset
7182
7183  or 
7184 \family sans
7185 Insert\SpecialChar \menuseparator
7186 Formatting\SpecialChar \menuseparator
7187 Ragged
7188 \begin_inset space ~
7189 \end_inset
7190
7191 Line
7192 \begin_inset space ~
7193 \end_inset
7194
7195 Break
7196 \family default
7197 ) to start a new line in an 
7198 \family sans
7199 Address
7200 \family default
7201  or 
7202 \family sans
7203 Right
7204 \begin_inset space ~
7205 \end_inset
7206
7207 Address
7208 \family default
7209  environment.
7210 \end_layout
7211
7212 \begin_layout Subsection
7213 Academic Writing
7214 \end_layout
7215
7216 \begin_layout Standard
7217 Most academic writing begins with an abstract and ends with a bibliography
7218  or list of references.
7219  LyX contains paragraph environments for both of these.
7220 \end_layout
7221
7222 \begin_layout Subsubsection
7223
7224 \family sans
7225 Abstract
7226 \begin_inset Index idx
7227 status collapsed
7228
7229 \begin_layout Plain Layout
7230 Abstracts
7231 \end_layout
7232
7233 \end_inset
7234
7235
7236 \end_layout
7237
7238 \begin_layout Standard
7239 The 
7240 \family sans
7241 Abstract
7242 \family default
7243  environment is used for the abstract of an article.
7244  Technically, you could use this environment anywhere, but you really should
7245  only use it at the beginning of the document, after the title.
7246  Also, don't bother trying to nest 
7247 \family sans
7248 Abstract
7249 \family default
7250  in anything else or 
7251 \emph on
7252 vice versa
7253 \emph default
7254 .
7255  It will not work.
7256  The 
7257 \family sans
7258 Abstract
7259 \family default
7260  environment is only useful in the article and report document classes.
7261  The book document classes ignores the 
7262 \family sans
7263 Abstract
7264 \family default
7265  completely, and it's utterly silly to use 
7266 \family sans
7267 Abstract
7268 \family default
7269  in a letter document class.
7270 \end_layout
7271
7272 \begin_layout Standard
7273 The 
7274 \family sans
7275 Abstract
7276 \family default
7277  environment does several things for you.
7278  First, it puts the centered label 
7279 \begin_inset Quotes eld
7280 \end_inset
7281
7282 Abstract
7283 \begin_inset Quotes erd
7284 \end_inset
7285
7286  above the text.
7287  The label and the text of the abstract are separated by some extra vertical
7288  space.
7289  Second, it typesets everything in a smaller font, just as you'd expect.
7290  Lastly, it adds a bit of extra vertical space between the abstract and
7291  the subsequent text.
7292  Well, that's how it will appear on the LyX screen.
7293  The actual appearance in the output depends on the document class you are
7294  using.
7295 \end_layout
7296
7297 \begin_layout Standard
7298 Starting a new paragraph by entering 
7299 \family sans
7300 Return
7301 \family default
7302  does not reset the paragraph environment.
7303  The new paragraph will still be in the 
7304 \family sans
7305 Abstract
7306 \family default
7307  environment.
7308  So, you will have to change the paragraph environment yourself when you
7309  finish entering the abstract of your document.
7310 \end_layout
7311
7312 \begin_layout Standard
7313 \begin_inset Float figure
7314 wide false
7315 sideways false
7316 status open
7317
7318 \begin_layout Plain Layout
7319 \align center
7320 \begin_inset Graphics
7321         filename clipart/Abstract.pdf
7322
7323 \end_inset
7324
7325
7326 \end_layout
7327
7328 \begin_layout Plain Layout
7329 \begin_inset Caption Standard
7330
7331 \begin_layout Plain Layout
7332 \begin_inset CommandInset label
7333 LatexCommand label
7334 name "fig:Paragraph-in-the"
7335
7336 \end_inset
7337
7338 Paragraph in the 
7339 \family sans
7340 Abstract
7341 \family default
7342  environment
7343 \end_layout
7344
7345 \end_inset
7346
7347
7348 \end_layout
7349
7350 \end_inset
7351
7352
7353 \end_layout
7354
7355 \begin_layout Standard
7356 We would love to demonstrate the 
7357 \family sans
7358 Abstract
7359 \family default
7360  environment, but since this document is in the 
7361 \begin_inset Quotes eld
7362 \end_inset
7363
7364 book
7365 \begin_inset Quotes erd
7366 \end_inset
7367
7368  class, we can't do this.
7369  We inserted it therefore as figure
7370 \begin_inset space ~
7371 \end_inset
7372
7373
7374 \begin_inset CommandInset ref
7375 LatexCommand ref
7376 reference "fig:Paragraph-in-the"
7377
7378 \end_inset
7379
7380 .
7381  If you have never heard of an 
7382 \begin_inset Quotes eld
7383 \end_inset
7384
7385 abstract
7386 \begin_inset Quotes erd
7387 \end_inset
7388
7389  before, you can safely ignore this environment.
7390 \end_layout
7391
7392 \begin_layout Subsubsection
7393
7394 \family sans
7395 Bibliography
7396 \family default
7397
7398 \begin_inset Index idx
7399 status collapsed
7400
7401 \begin_layout Plain Layout
7402 Bibliography
7403 \end_layout
7404
7405 \end_inset
7406
7407
7408 \begin_inset CommandInset label
7409 LatexCommand label
7410 name "sub:Biblio_environment"
7411
7412 \end_inset
7413
7414
7415 \end_layout
7416
7417 \begin_layout Standard
7418 The 
7419 \family sans
7420 Bibliography
7421 \family default
7422  environment is used to list references.
7423  Technically, you could use this environment anywhere, but you really should
7424  only use it at the end of the document.
7425  Nesting 
7426 \family sans
7427 Bibliography
7428 \family default
7429  in anything else or 
7430 \emph on
7431 vice versa
7432 \emph default
7433  will not work.
7434 \end_layout
7435
7436 \begin_layout Standard
7437 When you first open a 
7438 \family sans
7439 Bibliography
7440 \family default
7441  environment, LyX adds a large vertical space, followed by the heading 
7442 \begin_inset Quotes eld
7443 \end_inset
7444
7445 Bibliography
7446 \begin_inset Quotes erd
7447 \end_inset
7448
7449  or 
7450 \begin_inset Quotes eld
7451 \end_inset
7452
7453 References,
7454 \begin_inset Quotes erd
7455 \end_inset
7456
7457  depending on the document class.
7458  The heading is in a large boldface font.
7459  Each paragraph of the 
7460 \family sans
7461 Bibliography
7462 \family default
7463  environment is a bibliography entry.
7464  Thus, entering 
7465 \family sans
7466 Return
7467 \family default
7468  does not reset the paragraph environment.
7469  Each new paragraph is still in the 
7470 \family sans
7471 Bibliography
7472 \family default
7473  environment.
7474 \end_layout
7475
7476 \begin_layout Standard
7477 There is another, usually better way to include references in your document
7478  by using a BibTeX database.
7479  For more information on that, and for a detailed description of LyX's bibliogra
7480 phy handling, have a look at section
7481 \begin_inset space ~
7482 \end_inset
7483
7484
7485 \begin_inset CommandInset ref
7486 LatexCommand ref
7487 reference "sec:Bibliography"
7488
7489 \end_inset
7490
7491 .
7492 \end_layout
7493
7494 \begin_layout Subsection
7495 LyX
7496 \family sans
7497 -Code
7498 \begin_inset Index idx
7499 status collapsed
7500
7501 \begin_layout Plain Layout
7502 Paragraph ! LyX code
7503 \end_layout
7504
7505 \end_inset
7506
7507
7508 \begin_inset CommandInset label
7509 LatexCommand label
7510 name "sub:LyX-Code"
7511
7512 \end_inset
7513
7514
7515 \end_layout
7516
7517 \begin_layout Standard
7518 The 
7519 \family sans
7520 LyX-Code
7521 \family default
7522  environment is another LyX extension.
7523  It type-sets text in a typewriter-style font.
7524  It also treats the 
7525 \family sans
7526 Space
7527 \family default
7528  key as a fixed whitespace;
7529 \begin_inset Foot
7530 status collapsed
7531
7532 \begin_layout Plain Layout
7533 In the 
7534 \family sans
7535 LyX-Code
7536 \family default
7537  environment, the 
7538 \family sans
7539 Space
7540 \family default
7541  key is treated as a 
7542 \family sans
7543 Protected
7544 \begin_inset space ~
7545 \end_inset
7546
7547 Blank
7548 \family default
7549  instead of an end-of-word marker.
7550 \end_layout
7551
7552 \end_inset
7553
7554  this is the only case in which you can type multiple whitespaces in LyX.
7555  If you need to insert blank lines, you will still need to use 
7556 \begin_inset Info
7557 type  "shortcut"
7558 arg   "newline-insert newline"
7559 \end_inset
7560
7561  (the 
7562 \family typewriter
7563 break-line
7564 \family default
7565  function).
7566  
7567 \family sans
7568 Return
7569 \family default
7570  breaks paragraphs.
7571  Note, however, that 
7572 \family sans
7573 Return
7574 \family default
7575  does not reset the paragraph environment.
7576  So, when you finish using the 
7577 \family sans
7578 LyX-Code
7579 \family default
7580  environment, you will need to change the paragraph environment yourself.
7581  Also, you can nest the 
7582 \family sans
7583 LyX-Code
7584 \family default
7585  environment inside of others.
7586 \end_layout
7587
7588 \begin_layout Standard
7589 There are a few quirks with this environment:
7590 \end_layout
7591
7592 \begin_layout Itemize
7593 You cannot use 
7594 \begin_inset Info
7595 type  "shortcut"
7596 arg   "newline-insert newline"
7597 \end_inset
7598
7599  at the beginning of a new paragraph (i.
7600 \begin_inset space \thinspace{}
7601 \end_inset
7602
7603 e.
7604 \begin_inset space \space{}
7605 \end_inset
7606
7607 you can't follow 
7608 \family sans
7609 Return
7610 \family default
7611  with a 
7612 \begin_inset Info
7613 type  "shortcut"
7614 arg   "newline-insert newline"
7615 \end_inset
7616
7617 ).
7618 \end_layout
7619
7620 \begin_layout Itemize
7621 You can't follow a 
7622 \begin_inset Info
7623 type  "shortcut"
7624 arg   "newline-insert newline"
7625 \end_inset
7626
7627  with a 
7628 \family sans
7629 Space
7630 \family default
7631 .
7632 \end_layout
7633
7634 \begin_deeper
7635 \begin_layout Itemize
7636 Use a 
7637 \family sans
7638 Return
7639 \family default
7640  to begin a new paragraph, then you can use a 
7641 \family sans
7642 Space
7643 \family default
7644 .
7645 \end_layout
7646
7647 \begin_layout Itemize
7648 Or: use 
7649 \begin_inset Info
7650 type  "shortcut"
7651 arg   "command-alternatives space-insert protected ; math-space"
7652 \end_inset
7653
7654  instead.
7655 \end_layout
7656
7657 \end_deeper
7658 \begin_layout Itemize
7659 You can't have an empty paragraph or an empty line.
7660  You must put at least one 
7661 \family sans
7662 Space
7663 \family default
7664  in any line you want blank.
7665  Otherwise, LaTeX generates errors.
7666 \end_layout
7667
7668 \begin_layout Itemize
7669 You cannot get the typewriter double quotes by typing 
7670 \family sans
7671 "
7672 \family default
7673  since that will insert 
7674 \emph on
7675 real
7676 \emph default
7677  quotes.
7678  You get the typewriter double quotes with 
7679 \begin_inset Info
7680 type  "shortcut"
7681 arg   "self-insert \""
7682 \end_inset
7683
7684 .
7685 \end_layout
7686
7687 \begin_layout Standard
7688 Here is an example:
7689 \end_layout
7690
7691 \begin_layout LyX-Code
7692 #include <stdio.h>
7693 \end_layout
7694
7695 \begin_layout LyX-Code
7696  
7697 \end_layout
7698
7699 \begin_layout LyX-Code
7700 int main(void)
7701 \end_layout
7702
7703 \begin_layout LyX-Code
7704 {
7705 \end_layout
7706
7707 \begin_layout LyX-Code
7708     printf("Hello World!
7709 \backslash
7710 n");
7711 \end_layout
7712
7713 \begin_layout LyX-Code
7714     return 0;
7715 \end_layout
7716
7717 \begin_layout LyX-Code
7718 }
7719 \end_layout
7720
7721 \begin_layout Standard
7722 This is just the standard 
7723 \begin_inset Quotes eld
7724 \end_inset
7725
7726 Hello world!
7727 \begin_inset Quotes erd
7728 \end_inset
7729
7730  program.
7731  
7732 \end_layout
7733
7734 \begin_layout Standard
7735
7736 \family sans
7737 LyX-Code
7738 \family default
7739  has one purpose: to typeset code, such as program source, shell scripts,
7740  rc-files, and so on.
7741  Use it only in those very special cases where you need to generate text
7742  as if you used a typewriter.
7743 \begin_inset Index idx
7744 status collapsed
7745
7746 \begin_layout Plain Layout
7747 Paragraph environments|)
7748 \end_layout
7749
7750 \end_inset
7751
7752  For longer parts of programming code, use the listings inset that is described
7753  in the chapter 
7754 \emph on
7755 Program Code Listings
7756 \emph default
7757  of the 
7758 \emph on
7759 Embedded
7760 \begin_inset space ~
7761 \end_inset
7762
7763 Objects
7764 \emph default
7765  manual.
7766 \end_layout
7767
7768 \begin_layout Section
7769 Nesting Environments
7770 \begin_inset Index idx
7771 status collapsed
7772
7773 \begin_layout Plain Layout
7774 Nesting ! Environments
7775 \end_layout
7776
7777 \end_inset
7778
7779
7780 \begin_inset CommandInset label
7781 LatexCommand label
7782 name "sec:Nesting"
7783
7784 \end_inset
7785
7786
7787 \end_layout
7788
7789 \begin_layout Subsection
7790 Introduction
7791 \end_layout
7792
7793 \begin_layout Standard
7794 LyX treats text as a unified block with a particular context and specific
7795  properties.
7796  This allows you to create blocks that inherit some of the properties of
7797  another block.
7798  For example you have three main points in an outline, but point #2 also
7799  has two subpoints.
7800  In other words, you have a list inside of another list, with the inner
7801  list 
7802 \begin_inset Quotes eld
7803 \end_inset
7804
7805 attached
7806 \begin_inset Quotes erd
7807 \end_inset
7808
7809  to item #2:
7810 \end_layout
7811
7812 \begin_layout Enumerate
7813 one
7814 \end_layout
7815
7816 \begin_layout Enumerate
7817 two
7818 \end_layout
7819
7820 \begin_deeper
7821 \begin_layout Enumerate
7822 sublist – item #1
7823 \end_layout
7824
7825 \begin_layout Enumerate
7826 sublist – item #2
7827 \end_layout
7828
7829 \end_deeper
7830 \begin_layout Enumerate
7831 three
7832 \end_layout
7833
7834 \begin_layout Standard
7835 You put a list inside a list by nesting one list inside the other.
7836  Nesting an environment is quite simple: Select 
7837 \family sans
7838 Edit\SpecialChar \menuseparator
7839 Increase
7840 \begin_inset space ~
7841 \end_inset
7842
7843 List
7844 \begin_inset space ~
7845 \end_inset
7846
7847 Depth
7848 \family default
7849  or 
7850 \family sans
7851 Decrease
7852 \begin_inset space ~
7853 \end_inset
7854
7855 List
7856 \begin_inset space ~
7857 \end_inset
7858
7859 Depth
7860 \family default
7861  to change the nesting depth (the status bar will tell you how far you are
7862  nested).
7863  Instead of the menu, you can also use the toolbar buttons 
7864 \begin_inset Info
7865 type  "icon"
7866 arg   "depth-increment"
7867 \end_inset
7868
7869  and 
7870 \begin_inset Info
7871 type  "icon"
7872 arg   "depth-decrement"
7873 \end_inset
7874
7875  or the key bindings 
7876 \family sans
7877 Tab
7878 \family default
7879  and 
7880 \family sans
7881 Shift+Tab
7882 \family default
7883  or 
7884 \begin_inset Info
7885 type  "shortcut"
7886 arg   "depth-increment"
7887 \end_inset
7888
7889  and 
7890 \begin_inset Info
7891 type  "shortcut"
7892 arg   "depth-decrement"
7893 \end_inset
7894
7895 .
7896  The change will work on the current selection, if you have made one (allowing
7897  you to change the nesting of several paragraphs at once), or the current
7898  paragraph.
7899 \end_layout
7900
7901 \begin_layout Standard
7902 Note that LyX only changes the nesting depth if it can.
7903  If it is invalid to do so, nothing happens if you try to change the depth.
7904  Additionally, if you change the depth of one paragraph, it affects the
7905  depth of every paragraph nested inside of it.
7906 \end_layout
7907
7908 \begin_layout Standard
7909 Nesting isn't limited to lists.
7910  In LyX, you can nest just about anything inside anything else, as you're
7911  about to find out.
7912  This is the real power of nesting paragraph environments.
7913 \end_layout
7914
7915 \begin_layout Subsection
7916 What You Can and Can't Nest
7917 \end_layout
7918
7919 \begin_layout Standard
7920 Before we fire a list of paragraph environments at you, we need to tell
7921  you a little bit more about how nesting works.
7922 \end_layout
7923
7924 \begin_layout Standard
7925 The question of nesting a paragraph environment is a bit more complicated
7926  than a simple yes or no.
7927  There are three types of paragraph environments:
7928 \end_layout
7929
7930 \begin_layout Itemize
7931 Completely unnestable
7932 \end_layout
7933
7934 \begin_layout Itemize
7935 Fully nestable, you can nest them inside things and you can also nest other
7936  things inside them.
7937 \end_layout
7938
7939 \begin_layout Itemize
7940 A third type, you can nest them into other environments, but you can't nest
7941  anything into them.
7942 \end_layout
7943
7944 \begin_layout Standard
7945 Here's a list of the three types of nesting behavior, and which paragraph
7946  environments have them:
7947 \end_layout
7948
7949 \begin_layout Description
7950 Unnestable Can't nest them.
7951  Can't nest into them.
7952 \end_layout
7953
7954 \begin_deeper
7955 \begin_layout Itemize
7956
7957 \family sans
7958 Bibliography
7959 \end_layout
7960
7961 \begin_layout Itemize
7962
7963 \family sans
7964 Abstract
7965 \end_layout
7966
7967 \begin_layout Itemize
7968
7969 \family sans
7970 Title
7971 \end_layout
7972
7973 \begin_layout Itemize
7974
7975 \family sans
7976 Author
7977 \end_layout
7978
7979 \begin_layout Itemize
7980
7981 \family sans
7982 Date
7983 \end_layout
7984
7985 \end_deeper
7986 \begin_layout Description
7987 Fully
7988 \begin_inset space ~
7989 \end_inset
7990
7991 Nestable You can nest them.
7992  You can nest other things into them.
7993 \end_layout
7994
7995 \begin_deeper
7996 \begin_layout Itemize
7997
7998 \family sans
7999 Verse
8000 \end_layout
8001
8002 \begin_layout Itemize
8003
8004 \family sans
8005 Quote
8006 \end_layout
8007
8008 \begin_layout Itemize
8009
8010 \family sans
8011 Quotation
8012 \end_layout
8013
8014 \begin_layout Itemize
8015
8016 \family sans
8017 Itemize
8018 \end_layout
8019
8020 \begin_layout Itemize
8021
8022 \family sans
8023 Enumerate
8024 \end_layout
8025
8026 \begin_layout Itemize
8027
8028 \family sans
8029 Description
8030 \end_layout
8031
8032 \begin_layout Itemize
8033
8034 \family sans
8035 List
8036 \end_layout
8037
8038 \begin_layout Itemize
8039
8040 \family sans
8041 LyX-Code
8042 \end_layout
8043
8044 \end_deeper
8045 \begin_layout Description
8046 Nestable-Inside You can nest them inside other things.
8047  You can't nest anything into them.
8048 \end_layout
8049
8050 \begin_deeper
8051 \begin_layout Itemize
8052
8053 \family sans
8054 Standard
8055 \end_layout
8056
8057 \begin_layout Itemize
8058
8059 \family sans
8060 Part
8061 \end_layout
8062
8063 \begin_layout Itemize
8064
8065 \family sans
8066 Chapter
8067 \end_layout
8068
8069 \begin_layout Itemize
8070
8071 \family sans
8072 Section
8073 \end_layout
8074
8075 \begin_layout Itemize
8076
8077 \family sans
8078 Subsection
8079 \end_layout
8080
8081 \begin_layout Itemize
8082
8083 \family sans
8084 Subsubsection
8085 \end_layout
8086
8087 \begin_layout Itemize
8088
8089 \family sans
8090 Paragraph
8091 \end_layout
8092
8093 \begin_layout Itemize
8094
8095 \family sans
8096 Subparagraph
8097 \end_layout
8098
8099 \begin_layout Itemize
8100
8101 \family sans
8102 Part*
8103 \end_layout
8104
8105 \begin_layout Itemize
8106
8107 \family sans
8108 Chapter*
8109 \end_layout
8110
8111 \begin_layout Itemize
8112
8113 \family sans
8114 Section*
8115 \end_layout
8116
8117 \begin_layout Itemize
8118
8119 \family sans
8120 Subsection*
8121 \end_layout
8122
8123 \begin_layout Itemize
8124
8125 \family sans
8126 Subsubsection*
8127 \end_layout
8128
8129 \begin_layout Itemize
8130
8131 \family sans
8132 Right
8133 \begin_inset space ~
8134 \end_inset
8135
8136 Address
8137 \end_layout
8138
8139 \begin_layout Itemize
8140
8141 \family sans
8142 Address
8143 \end_layout
8144
8145 \end_deeper
8146 \begin_layout Standard
8147 \begin_inset Note Greyedout
8148 status open
8149
8150 \begin_layout Plain Layout
8151
8152 \series bold
8153 Note:
8154 \series default
8155  Although it is possible, for example, to nest numbered section headings
8156  like 
8157 \family sans
8158 Chapter
8159 \family default
8160
8161 \family sans
8162 Section
8163 \family default
8164 , etc.
8165 \begin_inset space ~
8166 \end_inset
8167
8168 into lists, it is highly recommended not to do this because the aim is to
8169  create well-structured documents following typesetting guidelines whereas
8170  nested section headings violate this.
8171 \end_layout
8172
8173 \end_inset
8174
8175
8176 \end_layout
8177
8178 \begin_layout Subsection
8179 Nesting Other Things: Tables, Math, Floats, etc.
8180 \begin_inset Index idx
8181 status collapsed
8182
8183 \begin_layout Plain Layout
8184 Nesting ! Tables etc.
8185 \end_layout
8186
8187 \end_inset
8188
8189
8190 \end_layout
8191
8192 \begin_layout Standard
8193 There are several things that aren't paragraph environments, but which are
8194  affected by nesting anyhow.
8195  They are:
8196 \end_layout
8197
8198 \begin_layout Itemize
8199 equations
8200 \end_layout
8201
8202 \begin_layout Itemize
8203 tables
8204 \end_layout
8205
8206 \begin_layout Itemize
8207 figures
8208 \end_layout
8209
8210 \begin_layout Standard
8211 (
8212 \begin_inset Note Greyedout
8213 status open
8214
8215 \begin_layout Plain Layout
8216
8217 \series bold
8218 Note:
8219 \series default
8220  Figures and tables in 
8221 \family sans
8222 Floats
8223 \family default
8224  are not affected by this.
8225 \end_layout
8226
8227 \end_inset
8228
8229  Have a look at section
8230 \begin_inset space ~
8231 \end_inset
8232
8233
8234 \begin_inset CommandInset ref
8235 LatexCommand ref
8236 reference "sec:Floats"
8237
8238 \end_inset
8239
8240  for more information about 
8241 \family sans
8242 Floats
8243 \family default
8244 .)
8245 \end_layout
8246
8247 \begin_layout Standard
8248 LyX can treat these three objects as either a word or as a paragraph.
8249  If a figure, table, or an equation is inline, it goes wherever the paragraph
8250  it is in goes.
8251 \end_layout
8252
8253 \begin_layout Standard
8254 On the other hand, if you have an equation, figure or table in a 
8255 \begin_inset Quotes eld
8256 \end_inset
8257
8258 paragraph
8259 \begin_inset Quotes erd
8260 \end_inset
8261
8262  of its own, it behaves just like a 
8263 \begin_inset Quotes eld
8264 \end_inset
8265
8266 nestable-inside
8267 \begin_inset Quotes erd
8268 \end_inset
8269
8270  paragraph environment.
8271  You can nest it into any environment, but you obviously can't nest anything
8272  into it.
8273 \end_layout
8274
8275 \begin_layout Standard
8276 Here's an example with a table:
8277 \end_layout
8278
8279 \begin_layout Enumerate
8280 Item One
8281 \end_layout
8282
8283 \begin_deeper
8284 \begin_layout Enumerate
8285 This is (a) and it's nested.
8286 \end_layout
8287
8288 \begin_deeper
8289 \begin_layout Standard
8290 \begin_inset VSpace 0.3cm
8291 \end_inset
8292
8293
8294 \end_layout
8295
8296 \begin_layout Standard
8297 \align center
8298 \begin_inset Tabular
8299 <lyxtabular version="3" rows="2" columns="2">
8300 <features rotate="0" tabularvalignment="middle">
8301 <column alignment="center" valignment="top" width="0pt">
8302 <column alignment="center" valignment="top" width="0pt">
8303 <row>
8304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8305 \begin_inset Text
8306
8307 \begin_layout Plain Layout
8308
8309 \family roman
8310 \series medium
8311 \shape up
8312 \size normal
8313 \emph off
8314 \bar no
8315 \noun off
8316 \color none
8317 a
8318 \end_layout
8319
8320 \end_inset
8321 </cell>
8322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8323 \begin_inset Text
8324
8325 \begin_layout Plain Layout
8326
8327 \family roman
8328 \series medium
8329 \shape up
8330 \size normal
8331 \emph off
8332 \bar no
8333 \noun off
8334 \color none
8335 b
8336 \end_layout
8337
8338 \end_inset
8339 </cell>
8340 </row>
8341 <row>
8342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8343 \begin_inset Text
8344
8345 \begin_layout Plain Layout
8346
8347 \family roman
8348 \series medium
8349 \shape up
8350 \size normal
8351 \emph off
8352 \bar no
8353 \noun off
8354 \color none
8355 c
8356 \end_layout
8357
8358 \end_inset
8359 </cell>
8360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8361 \begin_inset Text
8362
8363 \begin_layout Plain Layout
8364
8365 \family roman
8366 \series medium
8367 \shape up
8368 \size normal
8369 \emph off
8370 \bar no
8371 \noun off
8372 \color none
8373 d
8374 \end_layout
8375
8376 \end_inset
8377 </cell>
8378 </row>
8379 </lyxtabular>
8380
8381 \end_inset
8382
8383
8384 \end_layout
8385
8386 \begin_layout Standard
8387 \begin_inset VSpace 0.3cm
8388 \end_inset
8389
8390
8391 \end_layout
8392
8393 \end_deeper
8394 \begin_layout Enumerate
8395 This is (b).
8396  The table is actually nested inside (a).
8397 \end_layout
8398
8399 \end_deeper
8400 \begin_layout Enumerate
8401 Back out again.
8402 \end_layout
8403
8404 \begin_layout Standard
8405 If we hadn't nested the table at all, the list would look like this:
8406 \end_layout
8407
8408 \begin_layout Enumerate
8409 Item One
8410 \end_layout
8411
8412 \begin_deeper
8413 \begin_layout Enumerate
8414 This is (a) and it's nested.
8415 \end_layout
8416
8417 \end_deeper
8418 \begin_layout Standard
8419 \begin_inset VSpace 0.3cm
8420 \end_inset
8421
8422
8423 \end_layout
8424
8425 \begin_layout Standard
8426 \align center
8427 \begin_inset Tabular
8428 <lyxtabular version="3" rows="2" columns="2">
8429 <features rotate="0" tabularvalignment="middle">
8430 <column alignment="center" valignment="top" width="0pt">
8431 <column alignment="center" valignment="top" width="0pt">
8432 <row>
8433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8434 \begin_inset Text
8435
8436 \begin_layout Plain Layout
8437
8438 \family roman
8439 \series medium
8440 \shape up
8441 \size normal
8442 \emph off
8443 \bar no
8444 \noun off
8445 \color none
8446 a
8447 \end_layout
8448
8449 \end_inset
8450 </cell>
8451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8452 \begin_inset Text
8453
8454 \begin_layout Plain Layout
8455
8456 \family roman
8457 \series medium
8458 \shape up
8459 \size normal
8460 \emph off
8461 \bar no
8462 \noun off
8463 \color none
8464 b
8465 \end_layout
8466
8467 \end_inset
8468 </cell>
8469 </row>
8470 <row>
8471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8472 \begin_inset Text
8473
8474 \begin_layout Plain Layout
8475
8476 \family roman
8477 \series medium
8478 \shape up
8479 \size normal
8480 \emph off
8481 \bar no
8482 \noun off
8483 \color none
8484 c
8485 \end_layout
8486
8487 \end_inset
8488 </cell>
8489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8490 \begin_inset Text
8491
8492 \begin_layout Plain Layout
8493
8494 \family roman
8495 \series medium
8496 \shape up
8497 \size normal
8498 \emph off
8499 \bar no
8500 \noun off
8501 \color none
8502 d
8503 \end_layout
8504
8505 \end_inset
8506 </cell>
8507 </row>
8508 </lyxtabular>
8509
8510 \end_inset
8511
8512
8513 \end_layout
8514
8515 \begin_layout Standard
8516 \begin_inset VSpace 0.3cm
8517 \end_inset
8518
8519
8520 \end_layout
8521
8522 \begin_layout Enumerate
8523 This is (b).
8524  The table is 
8525 \emph on
8526 not
8527 \emph default
8528  nested inside (a).
8529  In fact, it's not nested at all.
8530 \end_layout
8531
8532 \begin_layout Enumerate
8533 Back out again.
8534 \end_layout
8535
8536 \begin_layout Standard
8537 Notice how item (b) is not only no longer nested, but is also the first
8538  item of a new list!
8539 \end_layout
8540
8541 \begin_layout Standard
8542 There's another trap you can fall into: Nesting the table, but not going
8543  deep enough.
8544  LyX then turns anything after the table into a new sublist.
8545 \end_layout
8546
8547 \begin_layout Enumerate
8548 Item One
8549 \end_layout
8550
8551 \begin_deeper
8552 \begin_layout Enumerate
8553 This is (a) and it's nested.
8554 \end_layout
8555
8556 \begin_layout Standard
8557 \begin_inset VSpace 0.3cm
8558 \end_inset
8559
8560
8561 \end_layout
8562
8563 \begin_layout Standard
8564 \align center
8565 \begin_inset Tabular
8566 <lyxtabular version="3" rows="2" columns="2">
8567 <features rotate="0" tabularvalignment="middle">
8568 <column alignment="center" valignment="top" width="0pt">
8569 <column alignment="center" valignment="top" width="0pt">
8570 <row>
8571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8572 \begin_inset Text
8573
8574 \begin_layout Plain Layout
8575
8576 \family roman
8577 \series medium
8578 \shape up
8579 \size normal
8580 \emph off
8581 \bar no
8582 \noun off
8583 \color none
8584 a
8585 \end_layout
8586
8587 \end_inset
8588 </cell>
8589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8590 \begin_inset Text
8591
8592 \begin_layout Plain Layout
8593
8594 \family roman
8595 \series medium
8596 \shape up
8597 \size normal
8598 \emph off
8599 \bar no
8600 \noun off
8601 \color none
8602 b
8603 \end_layout
8604
8605 \end_inset
8606 </cell>
8607 </row>
8608 <row>
8609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8610 \begin_inset Text
8611
8612 \begin_layout Plain Layout
8613
8614 \family roman
8615 \series medium
8616 \shape up
8617 \size normal
8618 \emph off
8619 \bar no
8620 \noun off
8621 \color none
8622 c
8623 \end_layout
8624
8625 \end_inset
8626 </cell>
8627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8628 \begin_inset Text
8629
8630 \begin_layout Plain Layout
8631
8632 \family roman
8633 \series medium
8634 \shape up
8635 \size normal
8636 \emph off
8637 \bar no
8638 \noun off
8639 \color none
8640 d
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 </row>
8646 </lyxtabular>
8647
8648 \end_inset
8649
8650
8651 \end_layout
8652
8653 \end_deeper
8654 \begin_layout Standard
8655 \begin_inset VSpace 0.3cm
8656 \end_inset
8657
8658
8659 \end_layout
8660
8661 \begin_layout Enumerate
8662 This is (b).
8663  The table is actually nested inside Item One, but 
8664 \emph on
8665 not
8666 \emph default
8667  inside (a).
8668 \end_layout
8669
8670 \begin_layout Enumerate
8671 Back out again.
8672 \end_layout
8673
8674 \begin_layout Standard
8675 As you can see, item (b) turned into the first item of a new list, but a
8676  new list 
8677 \emph on
8678 inside
8679 \emph default
8680  item 1.
8681  The same thing would have happened to a figure or an equation.
8682  So, if you nest tables, figures or equations, make sure you go to the right
8683  depth!
8684 \end_layout
8685
8686 \begin_layout Subsection
8687 Usage and General Features
8688 \end_layout
8689
8690 \begin_layout Standard
8691 Speaking of levels, LyX can perform up to a six-fold nesting.
8692  In other words, 
8693 \begin_inset Quotes eld
8694 \end_inset
8695
8696 level #6
8697 \begin_inset Quotes erd
8698 \end_inset
8699
8700  is the innermost possible depth.
8701  Here's an example to illustrate what we mean:
8702 \end_layout
8703
8704 \begin_layout Enumerate
8705 level #1 – outermost
8706 \end_layout
8707
8708 \begin_deeper
8709 \begin_layout Enumerate
8710 level #2
8711 \end_layout
8712
8713 \begin_deeper
8714 \begin_layout Enumerate
8715 level #3
8716 \end_layout
8717
8718 \begin_deeper
8719 \begin_layout Enumerate
8720 level #4
8721 \end_layout
8722
8723 \begin_deeper
8724 \begin_layout Itemize
8725 level #5
8726 \end_layout
8727
8728 \begin_deeper
8729 \begin_layout Itemize
8730 level #6
8731 \end_layout
8732
8733 \end_deeper
8734 \end_deeper
8735 \end_deeper
8736 \end_deeper
8737 \end_deeper
8738 \begin_layout Standard
8739 There are two exceptions to the six-fold nesting limit, and you can see
8740  both of them in the example.
8741  Unlike the other fully-nestable environments, you can only perform a four-fold
8742  nesting with the 
8743 \family sans
8744 Enumerate
8745 \family default
8746  and 
8747 \family sans
8748 Itemize
8749 \family default
8750  environments.
8751  For example, if we tried to nest another 
8752 \family sans
8753 Enumerate
8754 \family default
8755  list inside item 
8756 \begin_inset Quotes eld
8757 \end_inset
8758
8759 A.
8760 \begin_inset Quotes erd
8761 \end_inset
8762
8763 , we would get errors.
8764 \end_layout
8765
8766 \begin_layout Subsection
8767 Some Examples
8768 \begin_inset Index idx
8769 status collapsed
8770
8771 \begin_layout Plain Layout
8772 Nesting ! Examples
8773 \end_layout
8774
8775 \end_inset
8776
8777
8778 \end_layout
8779
8780 \begin_layout Standard
8781 The best way to explain just what you can do with nesting is by illustration.
8782  We have several examples of nested environments.
8783  In them, we explain how we created the example, so that you can reproduce
8784  them.
8785 \end_layout
8786
8787 \begin_layout Subsubsection
8788 Example 1: The Six-fold Way and Mixed Nesting
8789 \end_layout
8790
8791 \begin_layout Labeling
8792 \labelwidthstring MMM
8793 #1-a This is the outermost level.
8794  It's a 
8795 \family sans
8796 List
8797 \family default
8798  environment.
8799 \end_layout
8800
8801 \begin_deeper
8802 \begin_layout Labeling
8803 \labelwidthstring MMM
8804 #2-a This is level #2.
8805  We created it by using 
8806 \begin_inset Info
8807 type  "shortcut"
8808 arg   "break-paragraph inverse"
8809 \end_inset
8810
8811  followed by 
8812 \begin_inset Info
8813 type  "shortcut"
8814 arg   "depth-increment"
8815 \end_inset
8816
8817 .
8818 \end_layout
8819
8820 \begin_deeper
8821 \begin_layout Labeling
8822 \labelwidthstring MMM
8823 #3-a This is level #3.
8824  This time, we just enter 
8825 \family sans
8826 Return
8827 \family default
8828 , then used 
8829 \begin_inset Info
8830 type  "shortcut"
8831 arg   "depth-increment"
8832 \end_inset
8833
8834  twice in a row.
8835  We could have also created it the same way as we did the previous level,
8836  by entering 
8837 \begin_inset Info
8838 type  "shortcut"
8839 arg   "break-paragraph inverse"
8840 \end_inset
8841
8842  followed by 
8843 \begin_inset Info
8844 type  "shortcut"
8845 arg   "depth-increment"
8846 \end_inset
8847
8848 .
8849 \end_layout
8850
8851 \begin_deeper
8852 \begin_layout Standard
8853 This is actually a 
8854 \family sans
8855 Standard
8856 \family default
8857  environment, nested inside of 
8858 \begin_inset Quotes eld
8859 \end_inset
8860
8861 #3-a
8862 \begin_inset Quotes erd
8863 \end_inset
8864
8865 .
8866  So, it's at level #4.
8867  We did this by entering 
8868 \begin_inset Info
8869 type  "shortcut"
8870 arg   "break-paragraph inverse"
8871 \end_inset
8872
8873 , then 
8874 \begin_inset Info
8875 type  "shortcut"
8876 arg   "depth-increment"
8877 \end_inset
8878
8879 , then changing the paragraph environment to 
8880 \family sans
8881 Standard
8882 \family default
8883 .
8884  Do this to create list items with more than one paragraph — it also works
8885  for the 
8886 \family sans
8887 Description
8888 \family default
8889
8890 \family sans
8891 Enumerate
8892 \family default
8893 , and 
8894 \family sans
8895 Itemize
8896 \family default
8897  environments!
8898 \end_layout
8899
8900 \begin_layout Standard
8901 Here's another 
8902 \family sans
8903 Standard
8904 \family default
8905  paragraph, also at level #4, made with just a 
8906 \begin_inset Info
8907 type  "shortcut"
8908 arg   "break-paragraph inverse"
8909 \end_inset
8910
8911 .
8912 \end_layout
8913
8914 \begin_layout Labeling
8915 \labelwidthstring MMM
8916 #4-a This is level #4.
8917  We enter 
8918 \begin_inset Info
8919 type  "shortcut"
8920 arg   "break-paragraph inverse"
8921 \end_inset
8922
8923  and changed the paragraph environment back to 
8924 \family sans
8925 List
8926 \family default
8927 .
8928  Remember — we can't nest anything inside a 
8929 \family sans
8930 Standard
8931 \family default
8932  environment, which is why we're still at level #4.
8933  However, we 
8934 \emph on
8935 can
8936 \emph default
8937  keep nesting things inside 
8938 \begin_inset Quotes eld
8939 \end_inset
8940
8941 #3-a
8942 \begin_inset Quotes erd
8943 \end_inset
8944
8945 .
8946 \end_layout
8947
8948 \begin_deeper
8949 \begin_layout Labeling
8950 \labelwidthstring MMM
8951 #5-a This is level #5\SpecialChar \ldots{}
8952
8953 \end_layout
8954
8955 \begin_deeper
8956 \begin_layout Labeling
8957 \labelwidthstring MMM
8958 #6-a \SpecialChar \ldots{}
8959 and this is level #6.
8960  By now, you should know how we made these two.
8961 \end_layout
8962
8963 \end_deeper
8964 \begin_layout Labeling
8965 \labelwidthstring MMM
8966 #5-b Back to level #5.
8967  Just enter 
8968 \begin_inset Info
8969 type  "shortcut"
8970 arg   "break-paragraph inverse"
8971 \end_inset
8972
8973  followed by a 
8974 \begin_inset Info
8975 type  "shortcut"
8976 arg   "depth-decrement"
8977 \end_inset
8978
8979 .
8980 \end_layout
8981
8982 \end_deeper
8983 \begin_layout Labeling
8984 \labelwidthstring MMM
8985 #4-b After another 
8986 \begin_inset Info
8987 type  "shortcut"
8988 arg   "break-paragraph inverse"
8989 \end_inset
8990
8991  followed by a 
8992 \begin_inset Info
8993 type  "shortcut"
8994 arg   "depth-decrement"
8995 \end_inset
8996
8997 , we're back at level #4.
8998 \end_layout
8999
9000 \end_deeper
9001 \begin_layout Labeling
9002 \labelwidthstring MMM
9003 #3-b Back to level #3.
9004  By now it should be obvious how we did this.
9005 \end_layout
9006
9007 \end_deeper
9008 \begin_layout Labeling
9009 \labelwidthstring MMM
9010 #2-b Back to level #2.
9011  
9012 \end_layout
9013
9014 \end_deeper
9015 \begin_layout Labeling
9016 \labelwidthstring MMM
9017 #1-b And last, back to the outermost level, #1.
9018  After this sentence, we will enter 
9019 \family sans
9020 Return
9021 \family default
9022  and change the paragraph environment back to 
9023 \family sans
9024 Standard
9025 \family default
9026  to end the list.
9027 \end_layout
9028
9029 \begin_layout Standard
9030 We could have also used the 
9031 \family sans
9032 Description
9033 \family default
9034
9035 \family sans
9036 Quote
9037 \family default
9038
9039 \family sans
9040 Quotation
9041 \family default
9042 , or even the 
9043 \family sans
9044 Verse
9045 \family default
9046  environment in place of the 
9047 \family sans
9048 List
9049 \family default
9050  environment.
9051  The example would have worked exactly the same.
9052 \end_layout
9053
9054 \begin_layout Subsubsection
9055 Example 2: Inheritance
9056 \end_layout
9057
9058 \begin_layout LyX-Code
9059 This is the LyX-Code environment, at level #1, the outermost
9060 \end_layout
9061
9062 \begin_layout LyX-Code
9063 level.
9064   Now we will enter 
9065 \family sans
9066 Return
9067 \family default
9068 , then 
9069 \begin_inset Info
9070 type  "shortcut"
9071 arg   "depth-increment"
9072 \end_inset
9073
9074 , after
9075 \begin_inset Newline newline
9076 \end_inset
9077
9078 which, we will change to the 
9079 \family sans
9080 Enumerate
9081 \family default
9082  environment.
9083 \end_layout
9084
9085 \begin_deeper
9086 \begin_layout Enumerate
9087 This is the 
9088 \family sans
9089 Enumerate
9090 \family default
9091  environment, at level #2.
9092 \end_layout
9093
9094 \begin_layout Enumerate
9095 Notice how the nested 
9096 \family sans
9097 Enumerate
9098 \family default
9099  not only inherits its margins from its parent environment (
9100 \family sans
9101 LyX-Code
9102 \family default
9103 ), but also inherits its font and spacing!
9104 \end_layout
9105
9106 \end_deeper
9107 \begin_layout Standard
9108 We ended this example by entering 
9109 \family sans
9110 Return
9111 \family default
9112 .
9113  After that, we needed to reset the paragraph environment to 
9114 \family sans
9115 Standard
9116 \family default
9117  and reset the nesting depth by using 
9118 \begin_inset Info
9119 type  "shortcut"
9120 arg   "depth-decrement"
9121 \end_inset
9122
9123  once.
9124 \end_layout
9125
9126 \begin_layout Subsubsection
9127 Example 3: Labels, Levels, and the 
9128 \family sans
9129 Enumerate
9130 \family default
9131  and 
9132 \family sans
9133 Itemize
9134 \family default
9135  Environments
9136 \begin_inset Argument 1
9137 status collapsed
9138
9139 \begin_layout Plain Layout
9140 Example #3: Labels, Levels and other list environments
9141 \end_layout
9142
9143 \end_inset
9144
9145
9146 \end_layout
9147
9148 \begin_layout Enumerate
9149 This is level #1, in an 
9150 \family sans
9151 Enumerate
9152 \family default
9153  paragraph environment.
9154  We're actually going to nest a bunch of these.
9155 \end_layout
9156
9157 \begin_deeper
9158 \begin_layout Enumerate
9159 This is level #2.
9160  We used 
9161 \begin_inset Info
9162 type  "shortcut"
9163 arg   "break-paragraph inverse"
9164 \end_inset
9165
9166  followed by 
9167 \begin_inset Info
9168 type  "shortcut"
9169 arg   "depth-increment"
9170 \end_inset
9171
9172 .
9173  Now, what happens if we nest an 
9174 \family sans
9175 Itemize
9176 \family default
9177  environment inside of this one? It will be at level #3, but what will its
9178  label be? An asterisk?
9179 \end_layout
9180
9181 \begin_deeper
9182 \begin_layout Itemize
9183 No! It's a bullet.
9184  This is the 
9185 \emph on
9186 first
9187 \emph default
9188  
9189 \family sans
9190 Itemize
9191 \family default
9192  environment, even though it's at level #3.
9193  So, its label is a bullet.
9194  (We got here by using 
9195 \begin_inset Info
9196 type  "shortcut"
9197 arg   "break-paragraph inverse"
9198 \end_inset
9199
9200 , then 
9201 \begin_inset Info
9202 type  "shortcut"
9203 arg   "depth-increment"
9204 \end_inset
9205
9206 , then changing the environment to 
9207 \family sans
9208 Itemize
9209 \family default
9210 .)
9211 \end_layout
9212
9213 \begin_deeper
9214 \begin_layout Itemize
9215 Here's level #4, produced using 
9216 \begin_inset Info
9217 type  "shortcut"
9218 arg   "break-paragraph inverse"
9219 \end_inset
9220
9221 , then 
9222 \begin_inset Info
9223 type  "shortcut"
9224 arg   "depth-increment"
9225 \end_inset
9226
9227 .
9228  We will do that again\SpecialChar \ldots{}
9229
9230 \end_layout
9231
9232 \begin_deeper
9233 \begin_layout Enumerate
9234 \SpecialChar \ldots{}
9235 to get to level #5.
9236  This time, however, we also changed the paragraph environment back to 
9237 \family sans
9238 Enumerate
9239 \family default
9240 .
9241  Notice the type of numbering, it is 
9242 \emph on
9243 lowercase Roman
9244 \emph default
9245 , because we are in the 
9246 \emph on
9247 thirdfold
9248 \emph default
9249  
9250 \family sans
9251 Enumerate
9252 \family default
9253  environment (that is, it is an 
9254 \family sans
9255 Enumerate
9256 \family default
9257  inside an 
9258 \family sans
9259 Enumerate
9260 \family default
9261  inside an 
9262 \family sans
9263 Enumerate
9264 \family default
9265 ).
9266 \end_layout
9267
9268 \begin_layout Enumerate
9269 What happens if we 
9270 \emph on
9271 don't
9272 \emph default
9273  change the paragraph environment, but decrease the nesting depth? What
9274  type of numbering does LyX use?
9275 \end_layout
9276
9277 \begin_layout Enumerate
9278 Oh, as if you couldn't guess by now, we're just using 
9279 \begin_inset Info
9280 type  "shortcut"
9281 arg   "break-paragraph inverse"
9282 \end_inset
9283
9284  to keep the current environment and depth but create a new item.
9285 \end_layout
9286
9287 \begin_layout Enumerate
9288 Let's use 
9289 \begin_inset Info
9290 type  "shortcut"
9291 arg   "depth-decrement"
9292 \end_inset
9293
9294  to decrease the depth after the next 
9295 \begin_inset Info
9296 type  "shortcut"
9297 arg   "break-paragraph inverse"
9298 \end_inset
9299
9300 .
9301 \end_layout
9302
9303 \end_deeper
9304 \begin_layout Enumerate
9305 This is level #4.
9306  Look what type of label LyX is using!
9307 \end_layout
9308
9309 \end_deeper
9310 \begin_layout Enumerate
9311 This is level #3.
9312  Even though we've changed levels, LyX is still using a lowercase Roman
9313  numeral as the label.Why?
9314 \end_layout
9315
9316 \begin_layout Enumerate
9317 Because, even though the nesting depth has changed, the paragraph is 
9318 \emph on
9319 still
9320 \emph default
9321  a thirdfold 
9322 \family sans
9323 Enumerate
9324 \family default
9325  environment.
9326  Notice, however, that LyX 
9327 \emph on
9328 did
9329 \emph default
9330  reset the counter for the label.
9331 \end_layout
9332
9333 \end_deeper
9334 \begin_layout Enumerate
9335 Another 
9336 \begin_inset Info
9337 type  "shortcut"
9338 arg   "break-paragraph inverse"
9339 \end_inset
9340
9341  
9342 \begin_inset Info
9343 type  "shortcut"
9344 arg   "depth-decrement"
9345 \end_inset
9346
9347  sequence, and we're back to level #2.
9348  This time, we not only changed the nesting depth, but we also moved back
9349  into the twofold-nested 
9350 \family sans
9351 Enumerate
9352 \family default
9353  environment.
9354 \end_layout
9355
9356 \end_deeper
9357 \begin_layout Enumerate
9358 The same thing happens if we do another 
9359 \begin_inset Info
9360 type  "shortcut"
9361 arg   "break-paragraph inverse"
9362 \end_inset
9363
9364  
9365 \begin_inset Info
9366 type  "shortcut"
9367 arg   "depth-decrement"
9368 \end_inset
9369
9370  sequence and return to level #1, the outermost level.
9371 \end_layout
9372
9373 \begin_layout Standard
9374 Lastly, we reset the environment to 
9375 \family sans
9376 Standard
9377 \family default
9378 .
9379  As you can see, the level number doesn't correspond to what type of labeling
9380  LyX uses for the 
9381 \family sans
9382 Enumerate
9383 \family default
9384  and 
9385 \family sans
9386 Itemize
9387 \family default
9388  environments.
9389  The number of other 
9390 \family sans
9391 Enumerate
9392 \family default
9393  environments surrounding it determines what kind of label LyX uses for
9394  an 
9395 \family sans
9396 Enumerate
9397 \family default
9398  item.
9399  The same rule applies for the 
9400 \family sans
9401 Itemize
9402 \family default
9403  environment, as well.
9404 \end_layout
9405
9406 \begin_layout Subsubsection
9407 Example 4: Going Bonkers
9408 \end_layout
9409
9410 \begin_layout Enumerate
9411 We're going to go totally nuts now.
9412  We will not nest as deep as in the other examples, nor will we go into
9413  the same detail with how we did it.
9414  (level #1: 
9415 \family sans
9416 Enumerate
9417 \family default
9418 )
9419 \end_layout
9420
9421 \begin_deeper
9422 \begin_layout Standard
9423 (
9424 \family sans
9425 Return, 
9426 \family default
9427
9428 \begin_inset Info
9429 type  "shortcut"
9430 arg   "depth-increment"
9431 \end_inset
9432
9433
9434 \family sans
9435 , Standard
9436 \family default
9437 : level #2) We will stick an encapsulated description of how we created
9438  the example in parentheses someplace.
9439  For example, the two key bindings are how we changed the depth.
9440  The environment name is the name of the current environment.
9441  Either before or after this, we will put in the level.
9442 \end_layout
9443
9444 \end_deeper
9445 \begin_layout Enumerate
9446 (
9447 \family sans
9448 Return, Enumerate
9449 \family default
9450 : level #1) This is the next item in the list.
9451 \end_layout
9452
9453 \begin_deeper
9454 \begin_layout Verse
9455 Now we will add verse.
9456 \begin_inset Newline newline
9457 \end_inset
9458
9459 It will get much worse.
9460 \begin_inset Newline newline
9461 \end_inset
9462
9463 (
9464 \family sans
9465 Return, 
9466 \family default
9467
9468 \begin_inset Info
9469 type  "shortcut"
9470 arg   "depth-increment"
9471 \end_inset
9472
9473
9474 \family sans
9475 , Verse
9476 \family default
9477 : level #2)
9478 \end_layout
9479
9480 \begin_layout Verse
9481 Fiddle dee, Fiddle doo.
9482 \begin_inset Newline newline
9483 \end_inset
9484
9485 Bippitey boppitey boo!
9486 \begin_inset Newline newline
9487 \end_inset
9488
9489 (
9490 \begin_inset Info
9491 type  "shortcut"
9492 arg   "break-paragraph inverse"
9493 \end_inset
9494
9495
9496 \family sans
9497 )
9498 \end_layout
9499
9500 \begin_layout Verse
9501 Here comes a table:
9502 \end_layout
9503
9504 \begin_deeper
9505 \begin_layout Standard
9506 \begin_inset VSpace 0.3cm
9507 \end_inset
9508
9509
9510 \end_layout
9511
9512 \begin_layout Standard
9513 \align center
9514 \begin_inset Tabular
9515 <lyxtabular version="3" rows="2" columns="2">
9516 <features rotate="0" tabularvalignment="middle">
9517 <column alignment="center" valignment="top" width="0pt">
9518 <column alignment="center" valignment="top" width="0pt">
9519 <row>
9520 <cell alignment="center" valignment="top" usebox="none">
9521 \begin_inset Text
9522
9523 \begin_layout Plain Layout
9524
9525 \family roman
9526 \series medium
9527 \shape up
9528 \size normal
9529 \emph off
9530 \bar no
9531 \noun off
9532 \color none
9533 one-fish
9534 \end_layout
9535
9536 \end_inset
9537 </cell>
9538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9539 \begin_inset Text
9540
9541 \begin_layout Plain Layout
9542
9543 \family roman
9544 \series medium
9545 \shape up
9546 \size normal
9547 \emph off
9548 \bar no
9549 \noun off
9550 \color none
9551 two-fish
9552 \end_layout
9553
9554 \end_inset
9555 </cell>
9556 </row>
9557 <row>
9558 <cell alignment="center" valignment="top" topline="true" usebox="none">
9559 \begin_inset Text
9560
9561 \begin_layout Plain Layout
9562
9563 \family roman
9564 \series medium
9565 \shape up
9566 \size normal
9567 \emph off
9568 \bar no
9569 \noun off
9570 \color none
9571 red-fish
9572 \end_layout
9573
9574 \end_inset
9575 </cell>
9576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9577 \begin_inset Text
9578
9579 \begin_layout Plain Layout
9580
9581 \family roman
9582 \series medium
9583 \shape up
9584 \size normal
9585 \emph off
9586 \bar no
9587 \noun off
9588 \color none
9589 blue-fish
9590 \end_layout
9591
9592 \end_inset
9593 </cell>
9594 </row>
9595 </lyxtabular>
9596
9597 \end_inset
9598
9599
9600 \end_layout
9601
9602 \end_deeper
9603 \begin_layout Verse
9604 (
9605 \begin_inset Info
9606 type  "shortcut"
9607 arg   "break-paragraph inverse"
9608 \end_inset
9609
9610
9611 \family sans
9612 , Table, 
9613 \family default
9614
9615 \begin_inset Info
9616 type  "shortcut"
9617 arg   "depth-increment"
9618 \end_inset
9619
9620  3 times, 
9621 \begin_inset Info
9622 type  "shortcut"
9623 arg   "break-paragraph inverse"
9624 \end_inset
9625
9626
9627 \family sans
9628 , Verse, 
9629 \family default
9630
9631 \begin_inset Info
9632 type  "shortcut"
9633 arg   "depth-decrement"
9634 \end_inset
9635
9636 )
9637 \end_layout
9638
9639 \end_deeper
9640 \begin_layout Enumerate
9641 (
9642 \family sans
9643 Return, Enumerate
9644 \family default
9645 : level #1) This is another item.
9646  Note that selecting a 
9647 \family sans
9648 Table
9649 \family default
9650  resets the nesting depth to level #1, so we increased the nesting depth
9651  3 times to put the table inside the 
9652 \family sans
9653 Verse
9654 \family default
9655  environment.
9656  
9657 \end_layout
9658
9659 \begin_layout Quotation
9660 We're now ending the 
9661 \family sans
9662 Enumerate
9663 \family default
9664  list and changing to 
9665 \family sans
9666 Quotation
9667 \family default
9668 .
9669  We're still at level #1.
9670  We want to show you some of the things you can do by mixing environments.
9671  The next set of paragraphs is a 
9672 \begin_inset Quotes eld
9673 \end_inset
9674
9675 quoted letter.
9676 \begin_inset Quotes erd
9677 \end_inset
9678
9679  We will nest both the 
9680 \family sans
9681 Address
9682 \family default
9683  and 
9684 \family sans
9685 Right
9686 \begin_inset space ~
9687 \end_inset
9688
9689 Address
9690 \family default
9691  environments inside of this one, then use another nested 
9692 \family sans
9693 Quotation
9694 \family default
9695  for the letter body.
9696  We will use 
9697 \begin_inset Info
9698 type  "shortcut"
9699 arg   "break-paragraph inverse"
9700 \end_inset
9701
9702  to preserve the depth.
9703  Remember that you need to use 
9704 \begin_inset Info
9705 type  "shortcut"
9706 arg   "newline-insert newline"
9707 \end_inset
9708
9709  to create multiple lines inside the 
9710 \family sans
9711 Address
9712 \family default
9713  and 
9714 \family sans
9715 Right
9716 \begin_inset space ~
9717 \end_inset
9718
9719 Address
9720 \family default
9721  environments.
9722  Here it goes:
9723 \end_layout
9724
9725 \begin_deeper
9726 \begin_layout Right Address
9727 1234 Nowhere Rd.
9728 \begin_inset Newline newline
9729 \end_inset
9730
9731 Moosegroin, MT 00100
9732 \begin_inset Newline newline
9733 \end_inset
9734
9735 9-6-96
9736 \end_layout
9737
9738 \begin_layout Address
9739 Dear Mr.
9740 \begin_inset space ~
9741 \end_inset
9742
9743 Fizlewitz:
9744 \end_layout
9745
9746 \begin_layout Quotation
9747 We regret to inform you that we cannot fill your order for 50
9748 \begin_inset space \thinspace{}
9749 \end_inset
9750
9751 L of compressed methane gas due to circumstances beyond our control.
9752  Unfortunately, several of our cows have mysteriously exploded, creating
9753  a backlog in our orders for methane.
9754  We will place your name on the waiting list and try to fill your order
9755  as soon as possible.
9756  In the meantime, we thank you for your patience.
9757 \end_layout
9758
9759 \begin_layout Quotation
9760 We do, however, now have a special on beef.
9761  If you are interested, please return the enclosed pricing and order form
9762  with your order, along with payment.
9763 \end_layout
9764
9765 \begin_layout Quotation
9766 We thank you again for your patience.
9767 \end_layout
9768
9769 \begin_layout Address
9770 Sincerely,
9771 \begin_inset Newline newline
9772 \end_inset
9773
9774 Bill Hick
9775 \end_layout
9776
9777 \end_deeper
9778 \begin_layout Quotation
9779 That ends that example!
9780 \end_layout
9781
9782 \begin_layout Standard
9783 As you can see, nesting environments in LyX gives you a lot of power with
9784  just a few keystrokes.
9785  We could have easily nested an 
9786 \family sans
9787 Itemize
9788 \family default
9789  list inside of a 
9790 \family sans
9791 Quotation
9792 \family default
9793  or 
9794 \family sans
9795 Quote
9796 \family default
9797 , or put a 
9798 \family sans
9799 Quote
9800 \family default
9801  inside of an 
9802 \family sans
9803 Itemize
9804 \family default
9805  list.
9806  You have a huge variety of options at your disposal.
9807 \end_layout
9808
9809 \begin_layout Section
9810 Spacing, pagination and line breaks
9811 \begin_inset Index idx
9812 status collapsed
9813
9814 \begin_layout Plain Layout
9815 Spacing
9816 \end_layout
9817
9818 \end_inset
9819
9820
9821 \end_layout
9822
9823 \begin_layout Standard
9824 What is a space? While you might be used to pressing the space key anytime
9825  you want to separate two words in ordinary word processors, LyX offers
9826  you more spaces: spaces of different widths and spaces which can or cannot
9827  be broken at the end of a line.
9828  The following sections will show you some examples where those spaces are
9829  useful.
9830 \end_layout
9831
9832 \begin_layout Subsection
9833 Protected Space
9834 \begin_inset CommandInset label
9835 LatexCommand label
9836 name "sub:Protected-Space"
9837
9838 \end_inset
9839
9840
9841 \begin_inset Index idx
9842 status collapsed
9843
9844 \begin_layout Plain Layout
9845 Spaces ! Protected
9846 \end_layout
9847
9848 \end_inset
9849
9850
9851 \end_layout
9852
9853 \begin_layout Standard
9854 The protected space: It is used to tell LyX (and LaTeX) not to break the
9855  line at that point.
9856  This may be necessary to avoid unlucky line breaks, like in: 
9857 \end_layout
9858
9859 \begin_layout Quote
9860 Further documentation is given in section
9861 \begin_inset Newline newline
9862 \end_inset
9863
9864
9865 \begin_inset CommandInset ref
9866 LatexCommand ref
9867 reference "sec:Bibliography"
9868
9869 \end_inset
9870
9871 .
9872  
9873 \end_layout
9874
9875 \begin_layout Standard
9876 Obviously, it would be a good thing to put a protected space between 
9877 \begin_inset Quotes eld
9878 \end_inset
9879
9880 section
9881 \begin_inset Quotes erd
9882 \end_inset
9883
9884  and 
9885 \begin_inset Quotes eld
9886 \end_inset
9887
9888
9889 \begin_inset CommandInset ref
9890 LatexCommand ref
9891 reference "sec:Bibliography"
9892
9893 \end_inset
9894
9895
9896 \begin_inset Quotes erd
9897 \end_inset
9898
9899 .
9900  A protected space is set with 
9901 \family sans
9902 Insert\SpecialChar \menuseparator
9903 Formatting\SpecialChar \menuseparator
9904 Protected
9905 \begin_inset space ~
9906 \end_inset
9907
9908 Space
9909 \family default
9910  (shortcut 
9911 \begin_inset Info
9912 type  "shortcut"
9913 arg   "command-alternatives space-insert protected ; math-space"
9914 \end_inset
9915
9916 ).
9917 \end_layout
9918
9919 \begin_layout Subsection
9920 Horizontal Space
9921 \begin_inset CommandInset label
9922 LatexCommand label
9923 name "sub:Horizontal-Space"
9924
9925 \end_inset
9926
9927
9928 \begin_inset Index idx
9929 status collapsed
9930
9931 \begin_layout Plain Layout
9932 Spacing ! Horizontal
9933 \end_layout
9934
9935 \end_inset
9936
9937
9938 \end_layout
9939
9940 \begin_layout Standard
9941 All horizontal spaces can be inserted with the menu 
9942 \family sans
9943 Insert\SpecialChar \menuseparator
9944 Formatting\SpecialChar \menuseparator
9945 Horizontal Space
9946 \family default
9947 .
9948  The length units are listed in Appendix
9949 \begin_inset space ~
9950 \end_inset
9951
9952
9953 \begin_inset CommandInset ref
9954 LatexCommand ref
9955 reference "chap:Units-available-in"
9956
9957 \end_inset
9958
9959 .
9960 \end_layout
9961
9962 \begin_layout Subsubsection
9963 Inter-word Space
9964 \begin_inset CommandInset label
9965 LatexCommand label
9966 name "sub:Inter-word-Space"
9967
9968 \end_inset
9969
9970
9971 \begin_inset Index idx
9972 status collapsed
9973
9974 \begin_layout Plain Layout
9975 Spaces ! Inter-word
9976 \end_layout
9977
9978 \end_inset
9979
9980
9981 \end_layout
9982
9983 \begin_layout Standard
9984 With the introduction of typewriters, it became conventional in some countries
9985  to type two spaces after a period to mimic the wider spaces used by typesetters
9986  at the ends of sentences.
9987  There is no need to do this as LyX automatically takes care about this.
9988  However, you do not want an end of sentence space after an abbreviation
9989  followed by a period; see section
9990 \begin_inset space ~
9991 \end_inset
9992
9993
9994 \begin_inset CommandInset ref
9995 LatexCommand ref
9996 reference "sub:Abbreviations"
9997
9998 \end_inset
9999
10000  for examples.
10001  To insert a normal space, select 
10002 \family sans
10003 Insert\SpecialChar \menuseparator
10004 Formatting\SpecialChar \menuseparator
10005 Interword
10006 \begin_inset space ~
10007 \end_inset
10008
10009 Space
10010 \family default
10011  (shortcut 
10012 \begin_inset Info
10013 type  "shortcut"
10014 arg   "space-insert normal"
10015 \end_inset
10016
10017 ).
10018 \end_layout
10019
10020 \begin_layout Subsubsection
10021 Thin Space
10022 \begin_inset CommandInset label
10023 LatexCommand label
10024 name "sub:Thin-Space"
10025
10026 \end_inset
10027
10028
10029 \begin_inset Index idx
10030 status collapsed
10031
10032 \begin_layout Plain Layout
10033 Spaces ! Thin
10034 \end_layout
10035
10036 \end_inset
10037
10038
10039 \end_layout
10040
10041 \begin_layout Standard
10042
10043 \begin_inset Quotes eld
10044 \end_inset
10045
10046 thin space
10047 \begin_inset Quotes erd
10048 \end_inset
10049
10050  is a blank which has half the size of a normal space (and it is also 
10051 \begin_inset Quotes eld
10052 \end_inset
10053
10054 protected
10055 \begin_inset Quotes erd
10056 \end_inset
10057
10058 ).
10059  The typographical conventions in a lot of languages propose the use of
10060  thin spaces in cases where normal spaces would be too wide, for instance,
10061  inside abbreviations:
10062 \end_layout
10063
10064 \begin_layout Quote
10065 D.
10066 \begin_inset space \thinspace{}
10067 \end_inset
10068
10069 E.
10070  Knuth has developed our beloved typesetting program.
10071 \end_layout
10072
10073 \begin_layout Standard
10074 or between values and units.
10075  Compare for example this:
10076 \begin_inset Newline newline
10077 \end_inset
10078
10079 10
10080 \begin_inset space \thinspace{}
10081 \end_inset
10082
10083 kg (thin space)
10084 \begin_inset Newline newline
10085 \end_inset
10086
10087 10 kg (normal space
10088 \end_layout
10089
10090 \begin_layout Standard
10091 You can insert thin spaces with the menu 
10092 \family sans
10093 Insert\SpecialChar \menuseparator
10094 Formatting\SpecialChar \menuseparator
10095 Thin
10096 \begin_inset space ~
10097 \end_inset
10098
10099 Space
10100 \family default
10101  (shortcut 
10102 \begin_inset Info
10103 type  "shortcuts"
10104 arg   "space-insert thin"
10105 \end_inset
10106
10107 ).
10108 \end_layout
10109
10110 \begin_layout Subsubsection
10111 More Spaces
10112 \end_layout
10113
10114 \begin_layout Standard
10115 You can also insert the following space types:
10116 \end_layout
10117
10118 \begin_layout Description
10119 Negative
10120 \begin_inset space ~
10121 \end_inset
10122
10123 thin
10124 \begin_inset space ~
10125 \end_inset
10126
10127 space A line with a 
10128 \begin_inset Formula $\to$
10129 \end_inset
10130
10131
10132 \begin_inset space \negthinspace{}
10133 \end_inset
10134
10135
10136 \begin_inset Formula $\gets$
10137 \end_inset
10138
10139  negative thin space between the arrows.
10140 \end_layout
10141
10142 \begin_layout Description
10143 Enspace
10144 \begin_inset space ~
10145 \end_inset
10146
10147 (0.5
10148 \begin_inset space \thinspace{}
10149 \end_inset
10150
10151 em) A line with an 
10152 \begin_inset Formula $\to$
10153 \end_inset
10154
10155
10156 \begin_inset space \enskip{}
10157 \end_inset
10158
10159
10160 \begin_inset Formula $\gets$
10161 \end_inset
10162
10163  enspace
10164 \begin_inset space ~
10165 \end_inset
10166
10167 (0.5
10168 \begin_inset space \thinspace{}
10169 \end_inset
10170
10171 em) space between the arrows.
10172 \end_layout
10173
10174 \begin_layout Description
10175 Quad
10176 \begin_inset space ~
10177 \end_inset
10178
10179 (1
10180 \begin_inset space \thinspace{}
10181 \end_inset
10182
10183 em) A line with a 
10184 \begin_inset Formula $\to$
10185 \end_inset
10186
10187
10188 \begin_inset space \quad{}
10189 \end_inset
10190
10191
10192 \begin_inset Formula $\gets$
10193 \end_inset
10194
10195  Quad
10196 \begin_inset space ~
10197 \end_inset
10198
10199 (1
10200 \begin_inset space \thinspace{}
10201 \end_inset
10202
10203 em) space between the arrows.
10204 \end_layout
10205
10206 \begin_layout Description
10207 QQuad
10208 \begin_inset space ~
10209 \end_inset
10210
10211 (2
10212 \begin_inset space \thinspace{}
10213 \end_inset
10214
10215 em) A line with a 
10216 \begin_inset Formula $\to$
10217 \end_inset
10218
10219
10220 \begin_inset space \qquad{}
10221 \end_inset
10222
10223
10224 \begin_inset Formula $\gets$
10225 \end_inset
10226
10227  QQuad
10228 \begin_inset space ~
10229 \end_inset
10230
10231 (2
10232 \begin_inset space \thinspace{}
10233 \end_inset
10234
10235 em) space between the arrows.
10236 \end_layout
10237
10238 \begin_layout Description
10239 Custom
10240 \begin_inset space ~
10241 \end_inset
10242
10243 space A line with
10244 \begin_inset Formula $\to$
10245 \end_inset
10246
10247
10248 \begin_inset space \hspace{}
10249 \length 2cm
10250 \end_inset
10251
10252
10253 \begin_inset Formula $\gets$
10254 \end_inset
10255
10256  2
10257 \begin_inset space \thinspace{}
10258 \end_inset
10259
10260 cm space between the arrows.
10261 \end_layout
10262
10263 \begin_layout Standard
10264 Table
10265 \begin_inset space ~
10266 \end_inset
10267
10268
10269 \begin_inset CommandInset ref
10270 LatexCommand ref
10271 reference "tab:Width-of-the"
10272
10273 \end_inset
10274
10275  lists the different space sizes.
10276 \end_layout
10277
10278 \begin_layout Standard
10279 \begin_inset Float table
10280 wide false
10281 sideways false
10282 status open
10283
10284 \begin_layout Plain Layout
10285 \align center
10286 \begin_inset Caption
10287
10288 \begin_layout Plain Layout
10289 \begin_inset CommandInset label
10290 LatexCommand label
10291 name "tab:Width-of-the"
10292
10293 \end_inset
10294
10295 Width of the different horizontal spaces.
10296 \end_layout
10297
10298 \end_inset
10299
10300
10301 \end_layout
10302
10303 \begin_layout Plain Layout
10304 \align center
10305 \begin_inset Tabular
10306 <lyxtabular version="3" rows="8" columns="2">
10307 <features rotate="0" tabularvalignment="middle">
10308 <column alignment="center" valignment="top" width="0">
10309 <column alignment="center" valignment="top" width="0">
10310 <row>
10311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10312 \begin_inset Text
10313
10314 \begin_layout Plain Layout
10315
10316 \series bold
10317 Space
10318 \end_layout
10319
10320 \end_inset
10321 </cell>
10322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10323 \begin_inset Text
10324
10325 \begin_layout Plain Layout
10326
10327 \series bold
10328 Width
10329 \end_layout
10330
10331 \end_inset
10332 </cell>
10333 </row>
10334 <row>
10335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10336 \begin_inset Text
10337
10338 \begin_layout Plain Layout
10339 Normal
10340 \end_layout
10341
10342 \end_inset
10343 </cell>
10344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10345 \begin_inset Text
10346
10347 \begin_layout Plain Layout
10348 1/3
10349 \begin_inset space \thinspace{}
10350 \end_inset
10351
10352 em
10353 \end_layout
10354
10355 \end_inset
10356 </cell>
10357 </row>
10358 <row>
10359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10360 \begin_inset Text
10361
10362 \begin_layout Plain Layout
10363 Protected
10364 \end_layout
10365
10366 \end_inset
10367 </cell>
10368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10369 \begin_inset Text
10370
10371 \begin_layout Plain Layout
10372 1/3
10373 \begin_inset space \thinspace{}
10374 \end_inset
10375
10376 em
10377 \end_layout
10378
10379 \end_inset
10380 </cell>
10381 </row>
10382 <row>
10383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10384 \begin_inset Text
10385
10386 \begin_layout Plain Layout
10387 Thin
10388 \end_layout
10389
10390 \end_inset
10391 </cell>
10392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10393 \begin_inset Text
10394
10395 \begin_layout Plain Layout
10396 1/6
10397 \begin_inset space \thinspace{}
10398 \end_inset
10399
10400 em
10401 \end_layout
10402
10403 \end_inset
10404 </cell>
10405 </row>
10406 <row>
10407 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10408 \begin_inset Text
10409
10410 \begin_layout Plain Layout
10411 Negative thin
10412 \end_layout
10413
10414 \end_inset
10415 </cell>
10416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10417 \begin_inset Text
10418
10419 \begin_layout Plain Layout
10420 -1/6
10421 \begin_inset space \thinspace{}
10422 \end_inset
10423
10424 em
10425 \end_layout
10426
10427 \end_inset
10428 </cell>
10429 </row>
10430 <row>
10431 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10432 \begin_inset Text
10433
10434 \begin_layout Plain Layout
10435 Enspace (0.5
10436 \begin_inset space \thinspace{}
10437 \end_inset
10438
10439 em)
10440 \end_layout
10441
10442 \end_inset
10443 </cell>
10444 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10445 \begin_inset Text
10446
10447 \begin_layout Plain Layout
10448 0.5
10449 \begin_inset space \thinspace{}
10450 \end_inset
10451
10452 em
10453 \end_layout
10454
10455 \end_inset
10456 </cell>
10457 </row>
10458 <row>
10459 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10460 \begin_inset Text
10461
10462 \begin_layout Plain Layout
10463 Quad (1
10464 \begin_inset space \thinspace{}
10465 \end_inset
10466
10467 em)
10468 \end_layout
10469
10470 \end_inset
10471 </cell>
10472 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10473 \begin_inset Text
10474
10475 \begin_layout Plain Layout
10476 1
10477 \begin_inset space \thinspace{}
10478 \end_inset
10479
10480 em
10481 \end_layout
10482
10483 \end_inset
10484 </cell>
10485 </row>
10486 <row>
10487 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10488 \begin_inset Text
10489
10490 \begin_layout Plain Layout
10491 QQuad (2
10492 \begin_inset space \thinspace{}
10493 \end_inset
10494
10495 em)
10496 \end_layout
10497
10498 \end_inset
10499 </cell>
10500 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10501 \begin_inset Text
10502
10503 \begin_layout Plain Layout
10504 2
10505 \begin_inset space \thinspace{}
10506 \end_inset
10507
10508 em
10509 \end_layout
10510
10511 \end_inset
10512 </cell>
10513 </row>
10514 </lyxtabular>
10515
10516 \end_inset
10517
10518
10519 \end_layout
10520
10521 \end_inset
10522
10523
10524 \end_layout
10525
10526 \begin_layout Subsubsection
10527
10528 \family sans
10529 Horizontal Fills
10530 \family default
10531
10532 \begin_inset Index idx
10533 status collapsed
10534
10535 \begin_layout Plain Layout
10536 Spacing ! Fills
10537 \end_layout
10538
10539 \end_inset
10540
10541
10542 \end_layout
10543
10544 \begin_layout Standard
10545 Horizontal fills (HFills) are a special LyX feature for adding extra space
10546  in a uniform fashion.
10547  An HFill is actually a variable length space, whose length always equals
10548  the remaining space between the left and right margins.
10549  If there is more than one HFill on a line, they divide the available space
10550  equally between themselves.
10551 \end_layout
10552
10553 \begin_layout Standard
10554 Here are a few examples of what you can do with them:
10555 \end_layout
10556
10557 \begin_layout Quote
10558 \noindent
10559 This is on the left side
10560 \begin_inset space \hfill{}
10561 \end_inset
10562
10563 This is on the right
10564 \end_layout
10565
10566 \begin_layout Quote
10567 \noindent
10568 Left
10569 \begin_inset space \hfill{}
10570 \end_inset
10571
10572 Middle
10573 \begin_inset space \hfill{}
10574 \end_inset
10575
10576 Right
10577 \end_layout
10578
10579 \begin_layout Quote
10580 \noindent
10581 Left
10582 \begin_inset space \hfill{}
10583 \end_inset
10584
10585 1/3 Left
10586 \begin_inset space \hfill{}
10587 \end_inset
10588
10589
10590 \begin_inset space \hfill{}
10591 \end_inset
10592
10593 Right
10594 \end_layout
10595
10596 \begin_layout Standard
10597 That was an example in the 
10598 \family sans
10599 Quote
10600 \family default
10601  environment.
10602  Here
10603 \begin_inset Formula $\to$
10604 \end_inset
10605
10606
10607 \begin_inset space \hfill{}
10608 \end_inset
10609
10610
10611 \begin_inset Formula $\gets$
10612 \end_inset
10613
10614 is one in a standard paragraph.
10615  It may or may not be apparent in the printed text, but it 
10616 \emph on
10617 is
10618 \emph default
10619  sitting in-between the two arrows.
10620 \end_layout
10621
10622 \begin_layout Standard
10623 HFills can be made visible when you choose one of the 
10624 \family sans
10625 Fill
10626 \begin_inset space ~
10627 \end_inset
10628
10629 Pattern
10630 \family default
10631 s in the space dialog: The following patterns are available:
10632 \end_layout
10633
10634 \begin_layout Standard
10635 Dots: 
10636 \begin_inset space \dotfill{}
10637 \end_inset
10638
10639
10640 \begin_inset space ~
10641 \end_inset
10642
10643
10644 \end_layout
10645
10646 \begin_layout Standard
10647 Rule: 
10648 \begin_inset space \hrulefill{}
10649 \end_inset
10650
10651
10652 \begin_inset space ~
10653 \end_inset
10654
10655
10656 \end_layout
10657
10658 \begin_layout Standard
10659 Left arrow: 
10660 \begin_inset space \leftarrowfill{}
10661 \end_inset
10662
10663
10664 \begin_inset space ~
10665 \end_inset
10666
10667
10668 \end_layout
10669
10670 \begin_layout Standard
10671 Right arrow: 
10672 \begin_inset space \rightarrowfill{}
10673 \end_inset
10674
10675
10676 \begin_inset space ~
10677 \end_inset
10678
10679
10680 \end_layout
10681
10682 \begin_layout Standard
10683 Up brace: 
10684 \begin_inset space \downbracefill{}
10685 \end_inset
10686
10687
10688 \begin_inset space ~
10689 \end_inset
10690
10691
10692 \end_layout
10693
10694 \begin_layout Standard
10695 Down brace: 
10696 \begin_inset space \upbracefill{}
10697 \end_inset
10698
10699
10700 \begin_inset space ~
10701 \end_inset
10702
10703
10704 \end_layout
10705
10706 \begin_layout Standard
10707 \begin_inset Note Greyedout
10708 status open
10709
10710 \begin_layout Plain Layout
10711
10712 \series bold
10713 Note:
10714 \series default
10715  If an HFill is at the beginning of a line, and 
10716 \emph on
10717 not
10718 \emph default
10719  in the first line in a paragraph, LyX ignores it.
10720  This prevents HFills from accidentally being wrapped onto a new line.
10721  If you need space in this case anyway, set the 
10722 \family sans
10723 Protect
10724 \family default
10725  option in the space dialog.
10726 \end_layout
10727
10728 \end_inset
10729
10730
10731 \end_layout
10732
10733 \begin_layout Subsubsection
10734 Phantom Space
10735 \begin_inset CommandInset label
10736 LatexCommand label
10737 name "sub:Phantom-Space"
10738
10739 \end_inset
10740
10741
10742 \begin_inset Index idx
10743 status collapsed
10744
10745 \begin_layout Plain Layout
10746 Spacing ! Phantom
10747 \end_layout
10748
10749 \end_inset
10750
10751
10752 \end_layout
10753
10754 \begin_layout Standard
10755 Sometimes you want to insert space with exactly the length of a phrase.
10756  For example, you want to create the following multiple choice question:
10757 \end_layout
10758
10759 \begin_layout Standard
10760 \begin_inset VSpace medskip
10761 \end_inset
10762
10763 What is correct English?:
10764 \begin_inset Newline newline
10765 \end_inset
10766
10767
10768 \begin_inset Newline newline
10769 \end_inset
10770
10771 Mr.
10772 \begin_inset space ~
10773 \end_inset
10774
10775 Edge would have been jumps the gun.
10776 \begin_inset Newline newline
10777 \end_inset
10778
10779
10780 \begin_inset Phantom HPhantom
10781 status open
10782
10783 \begin_layout Plain Layout
10784 Mr.
10785  Edge 
10786 \end_layout
10787
10788 \end_inset
10789
10790 has to be jumped
10791 \begin_inset Newline newline
10792 \end_inset
10793
10794
10795 \begin_inset Phantom HPhantom
10796 status open
10797
10798 \begin_layout Plain Layout
10799 Mr.
10800  Edge 
10801 \end_layout
10802
10803 \end_inset
10804
10805 jumps
10806 \begin_inset VSpace medskip
10807 \end_inset
10808
10809
10810 \end_layout
10811
10812 \begin_layout Standard
10813 \noindent
10814 so that the choices appear exactly after the phrase 
10815 \begin_inset Quotes eld
10816 \end_inset
10817
10818 Mr.
10819 \begin_inset space ~
10820 \end_inset
10821
10822 Edge
10823 \begin_inset space ~
10824 \end_inset
10825
10826
10827 \begin_inset Quotes erd
10828 \end_inset
10829
10830 .
10831  To get this, you can use the phantom insets available via the menu 
10832 \family sans
10833 Insert\SpecialChar \menuseparator
10834 Formatting\SpecialChar \menuseparator
10835 Phantom
10836 \family default
10837 .
10838  In our case insert a horizontal phantom at the beginning of the last two
10839  lines and insert 
10840 \begin_inset Quotes eld
10841 \end_inset
10842
10843 Mr.
10844 \begin_inset space ~
10845 \end_inset
10846
10847 Edge
10848 \begin_inset space ~
10849 \end_inset
10850
10851
10852 \begin_inset Quotes erd
10853 \end_inset
10854
10855  into the phantom inset (note the space after 
10856 \begin_inset Quotes eld
10857 \end_inset
10858
10859 Edge
10860 \begin_inset Quotes erd
10861 \end_inset
10862
10863 ).
10864  A phantom insets prints only the space of its content (like a placeholder).
10865  That is why it is named 
10866 \begin_inset Quotes eld
10867 \end_inset
10868
10869 phantom
10870 \begin_inset Quotes erd
10871 \end_inset
10872
10873 .
10874  The normal phantom outputs the width and height of the content as space,
10875  while the horizontal and vertical variant only outputs the corresponding
10876  dimension.
10877 \end_layout
10878
10879 \begin_layout Subsection
10880 Vertical Space
10881 \begin_inset CommandInset label
10882 LatexCommand label
10883 name "sub:Vertical-Space"
10884
10885 \end_inset
10886
10887
10888 \begin_inset Index idx
10889 status collapsed
10890
10891 \begin_layout Plain Layout
10892 Spacing ! Vertical
10893 \end_layout
10894
10895 \end_inset
10896
10897
10898 \end_layout
10899
10900 \begin_layout Standard
10901 To add extra vertical space above or below a paragraph, use the 
10902 \family sans
10903 Insert\SpecialChar \menuseparator
10904 Formatting\SpecialChar \menuseparator
10905 Vertical
10906 \begin_inset space ~
10907 \end_inset
10908
10909 Space
10910 \family default
10911  dialog.
10912  There you find the following sizes:
10913 \end_layout
10914
10915 \begin_layout Standard
10916
10917 \family sans
10918 SmallSkip
10919 \family default
10920
10921 \family sans
10922 MedSkip
10923 \family default
10924  and 
10925 \family sans
10926 BigSkip
10927 \family default
10928  are LaTeX sizes which depend on the font size of the document.
10929  
10930 \family sans
10931 DefSkip
10932 \family default
10933  is the skip adjusted in the dialog 
10934 \family sans
10935 Document\SpecialChar \menuseparator
10936 Settings\SpecialChar \menuseparator
10937 Text
10938 \begin_inset space ~
10939 \end_inset
10940
10941 Layout
10942 \family default
10943
10944 \begin_inset Index idx
10945 status collapsed
10946
10947 \begin_layout Plain Layout
10948 Document ! Settings
10949 \end_layout
10950
10951 \end_inset
10952
10953  for the paragraph separation.
10954  If you use indentation to separate paragraphs 
10955 \family sans
10956 DefSkip
10957 \family default
10958  is equal to 
10959 \family sans
10960 MedSkip
10961 \family default
10962 .
10963 \end_layout
10964
10965 \begin_layout Standard
10966
10967 \family sans
10968 VFill
10969 \family default
10970
10971 \begin_inset Index idx
10972 status collapsed
10973
10974 \begin_layout Plain Layout
10975 Spacing ! Fills
10976 \end_layout
10977
10978 \end_inset
10979
10980  is a variable space, set so that the space is maximal within one page.
10981  An example: you have only two short paragraphs on one page with a 
10982 \family sans
10983 Vfill
10984 \family default
10985  between them.
10986  Then the first paragraph is placed at the top of the page and the second
10987  one at the bottom, because the space between them is then maximal.
10988  
10989 \family sans
10990 VFill
10991 \family default
10992 s work like 
10993 \family sans
10994 HFill
10995 \family default
10996 s: they fill the remaining vertical space on a page with blank space.
10997 \begin_inset Foot
10998 status collapsed
10999
11000 \begin_layout Plain Layout
11001
11002 \family sans
11003 HFill
11004 \family default
11005 s are described in section
11006 \begin_inset space ~
11007 \end_inset
11008
11009
11010 \begin_inset CommandInset ref
11011 LatexCommand ref
11012 reference "sub:Horizontal-Space"
11013
11014 \end_inset
11015
11016 .
11017 \end_layout
11018
11019 \end_inset
11020
11021  If there are several 
11022 \family sans
11023 VFill
11024 \family default
11025 s on a page, they divide the remaining vertical space equally between themselves.
11026  You can therefore use 
11027 \family sans
11028 VFill
11029 \family default
11030 s to center text on a page, or even place text 2/3 down a page.
11031 \end_layout
11032
11033 \begin_layout Standard
11034
11035 \family sans
11036 Custom
11037 \family default
11038  are custom spaces in units explained in Appendix
11039 \begin_inset space ~
11040 \end_inset
11041
11042
11043 \begin_inset CommandInset ref
11044 LatexCommand ref
11045 reference "chap:Units-available-in"
11046
11047 \end_inset
11048
11049 .
11050 \end_layout
11051
11052 \begin_layout Standard
11053 \begin_inset Note Greyedout
11054 status open
11055
11056 \begin_layout Plain Layout
11057
11058 \series bold
11059 Note:
11060 \series default
11061  
11062 \series medium
11063 If the extra vertical space would be in the output at the top/bottom of
11064  a page, the space is only added if you have also checked the option 
11065 \family sans
11066 Protect
11067 \family default
11068 .
11069 \end_layout
11070
11071 \end_inset
11072
11073
11074 \end_layout
11075
11076 \begin_layout Subsection
11077 Paragraph Alignment
11078 \begin_inset Index idx
11079 status collapsed
11080
11081 \begin_layout Plain Layout
11082 Paragraph ! Alignment
11083 \end_layout
11084
11085 \end_inset
11086
11087
11088 \end_layout
11089
11090 \begin_layout Standard
11091 You can change the paragraph alignment with the 
11092 \family sans
11093 Edit\SpecialChar \menuseparator
11094 Paragraph Settings
11095 \family default
11096  dialog (toolbar button 
11097 \begin_inset Info
11098 type  "icon"
11099 arg   "layout-paragraph"
11100 \end_inset
11101
11102 ).
11103  There are five possibilities: 
11104 \end_layout
11105
11106 \begin_layout Itemize
11107
11108 \family sans
11109 Justified
11110 \family default
11111  (shortcut 
11112 \begin_inset Info
11113 type  "shortcut"
11114 arg   "paragraph-params \\align block"
11115 \end_inset
11116
11117 )
11118 \end_layout
11119
11120 \begin_layout Itemize
11121
11122 \family sans
11123 Left
11124 \family default
11125  (
11126 \begin_inset Info
11127 type  "shortcut"
11128 arg   "paragraph-params \\align left"
11129 \end_inset
11130
11131 )
11132 \end_layout
11133
11134 \begin_layout Itemize
11135
11136 \family sans
11137 Right
11138 \family default
11139  (
11140 \begin_inset Info
11141 type  "shortcut"
11142 arg   "paragraph-params \\align right"
11143 \end_inset
11144
11145 )
11146 \end_layout
11147
11148 \begin_layout Itemize
11149
11150 \family sans
11151 Center
11152 \family default
11153  (
11154 \begin_inset Info
11155 type  "shortcut"
11156 arg   "paragraph-params \\align center"
11157 \end_inset
11158
11159 )
11160 \end_layout
11161
11162 \begin_layout Itemize
11163
11164 \family sans
11165 Default
11166 \family default
11167  (
11168 \begin_inset Info
11169 type  "shortcut"
11170 arg   "paragraph-params \\align default"
11171 \end_inset
11172
11173 )
11174 \end_layout
11175
11176 \begin_layout Standard
11177 The default in most cases is justified alignment, in which the inter-word
11178  spacing is variable and each line of a paragraph fills the region between
11179  the left and right margins.
11180  The other three alignments should be self-explanatory, and look like this:
11181 \end_layout
11182
11183 \begin_layout Standard
11184 \align right
11185 This paragraph is right aligned,
11186 \end_layout
11187
11188 \begin_layout Standard
11189 \align center
11190 this one is centered,
11191 \end_layout
11192
11193 \begin_layout Standard
11194 \align left
11195 this one is left aligned.
11196 \end_layout
11197
11198 \begin_layout Subsection
11199 Forced Page Breaks
11200 \begin_inset Index idx
11201 status collapsed
11202
11203 \begin_layout Plain Layout
11204 Page breaks ! Forced
11205 \end_layout
11206
11207 \end_inset
11208
11209
11210 \begin_inset CommandInset label
11211 LatexCommand label
11212 name "sub:Forced-Page-Breaks"
11213
11214 \end_inset
11215
11216
11217 \end_layout
11218
11219 \begin_layout Standard
11220 If you don't like the way LaTeX does the page breaks in your document, you
11221  can force a page break where you want one.
11222  Normally this will not be necessary, because LaTeX is good at page breaking.
11223  Only if you use a lot of 
11224 \family sans
11225 Floats
11226 \family default
11227 , LaTeX's page breaking algorithm can fail.
11228 \end_layout
11229
11230 \begin_layout Standard
11231 We recommend you not to use forced page breaks until the text is finished
11232  and you have checked in the preview to see if you 
11233 \emph on
11234 really
11235 \emph default
11236  have to change the page breaking.
11237 \end_layout
11238
11239 \begin_layout Standard
11240 There are two types of page breaks: One that ends the page without any special
11241  action.
11242  This can be inserted above or below a paragraph via the menu 
11243 \family sans
11244 Insert\SpecialChar \menuseparator
11245 Formatting\SpecialChar \menuseparator
11246 New
11247 \begin_inset space ~
11248 \end_inset
11249
11250 Page
11251 \family default
11252 .
11253  The second type, that is inserted via the menu 
11254 \family sans
11255 Insert\SpecialChar \menuseparator
11256 Formatting\SpecialChar \menuseparator
11257 Page
11258 \begin_inset space ~
11259 \end_inset
11260
11261 Break
11262 \family default
11263 , ends a page but stretches the content of the page, so that it fills out
11264  the complete page.
11265  This type is useful to avoid whitespace when a page break produces a page
11266  on which only the last few lines are absent.
11267 \end_layout
11268
11269 \begin_layout Standard
11270 You might try to use a page break to ensure that a figure or table appears
11271  at the top of a page.
11272  This is, of course, the wrong way to do it.
11273  LyX gives you a way of automatically ensuring that your figures and tables
11274  appear at the top of a page (or the bottom, or on their own page) without
11275  having to worry about what precedes or follows your figure or table.
11276  See chapter 
11277 \begin_inset CommandInset ref
11278 LatexCommand ref
11279 reference "chap:Floats-and-Notes"
11280
11281 \end_inset
11282
11283  to learn more about 
11284 \family sans
11285 Floats
11286 \family default
11287 .
11288 \end_layout
11289
11290 \begin_layout Subsubsection
11291 Clear Page Breaks
11292 \begin_inset CommandInset label
11293 LatexCommand label
11294 name "sub:Clear-Page-Breaks"
11295
11296 \end_inset
11297
11298
11299 \begin_inset Index idx
11300 status collapsed
11301
11302 \begin_layout Plain Layout
11303 Page breaks ! Clear
11304 \end_layout
11305
11306 \end_inset
11307
11308
11309 \end_layout
11310
11311 \begin_layout Standard
11312 Rather than forced page breaks where the content behind the break is placed
11313  directly on the next page, you can also clear pages while breaking them.
11314  That means that the current paragraph is terminated and everything, including
11315  unprocessed floats, from the earlier part of the document are placed after
11316  it, if necessary by adding pages.
11317 \end_layout
11318
11319 \begin_layout Standard
11320 You can insert a clear page break with the menu 
11321 \family sans
11322 Insert\SpecialChar \menuseparator
11323 Formatting\SpecialChar \menuseparator
11324 Clear
11325 \begin_inset space ~
11326 \end_inset
11327
11328 Page
11329 \family default
11330 .
11331  When you have a two-sided document like a book, you can use the menu 
11332 \family sans
11333 Insert\SpecialChar \menuseparator
11334 Formatting\SpecialChar \menuseparator
11335 Clear
11336 \begin_inset space ~
11337 \end_inset
11338
11339 Double
11340 \begin_inset space ~
11341 \end_inset
11342
11343 Page
11344 \family default
11345  to insert a clear page break that assures that the next page is a right-hand
11346  page (odd-numbered), if necessary by adding a page.
11347 \end_layout
11348
11349 \begin_layout Subsection
11350 Forced Line Breaks
11351 \begin_inset Index idx
11352 status collapsed
11353
11354 \begin_layout Plain Layout
11355 Line breaks
11356 \end_layout
11357
11358 \end_inset
11359
11360
11361 \begin_inset CommandInset label
11362 LatexCommand label
11363 name "sub:Forced-Line-Breaks"
11364
11365 \end_inset
11366
11367
11368 \end_layout
11369
11370 \begin_layout Standard
11371 Similar to page breaks there are two types of line breaks: one simply breaks
11372  the line.
11373  You can force this line break within a paragraph by selecting 
11374 \family sans
11375 Insert\SpecialChar \menuseparator
11376 Formatting\SpecialChar \menuseparator
11377 Ragged
11378 \begin_inset space ~
11379 \end_inset
11380
11381 Line
11382 \begin_inset space ~
11383 \end_inset
11384
11385 Break
11386 \family default
11387  or with 
11388 \begin_inset Info
11389 type  "shortcut"
11390 arg   "newline-insert newline"
11391 \end_inset
11392
11393 .
11394  Another type that is inserted via the menu 
11395 \family sans
11396 Insert\SpecialChar \menuseparator
11397 Formatting\SpecialChar \menuseparator
11398 Justified
11399 \begin_inset space ~
11400 \end_inset
11401
11402 Line
11403 \begin_inset space ~
11404 \end_inset
11405
11406 Break
11407 \family default
11408  or with 
11409 \begin_inset Info
11410 type  "shortcut"
11411 arg   "newline-insert linebreak"
11412 \end_inset
11413
11414  breaks the line and stretches it so that it fills out the whole space between
11415  the page margins.
11416  This is useful to avoid 
11417 \begin_inset Quotes eld
11418 \end_inset
11419
11420 fringes
11421 \begin_inset Quotes erd
11422 \end_inset
11423
11424  in justified paragraphs due to possible whitespace introduced by line breaks.
11425 \end_layout
11426
11427 \begin_layout Standard
11428 You shouldn't use forced line breaks to correct LaTeX's line breaking, as
11429  LaTeX is very good at line breaking.
11430  There are, however, a number of situations where it is necessaryactively
11431  to set a line break, for example, in a poem or for an address (see sections
11432 \begin_inset space ~
11433 \end_inset
11434
11435
11436 \begin_inset CommandInset ref
11437 LatexCommand ref
11438 reference "sec:Quote"
11439
11440 \end_inset
11441
11442
11443 \begin_inset CommandInset ref
11444 LatexCommand ref
11445 reference "sec:Verse"
11446
11447 \end_inset
11448
11449  and 
11450 \begin_inset CommandInset ref
11451 LatexCommand ref
11452 reference "sec:Address-Usage"
11453
11454 \end_inset
11455
11456 ).
11457 \end_layout
11458
11459 \begin_layout Subsection
11460 Horizontal Lines
11461 \begin_inset CommandInset label
11462 LatexCommand label
11463 name "sub:Horizontal-Lines"
11464
11465 \end_inset
11466
11467
11468 \begin_inset Index idx
11469 status collapsed
11470
11471 \begin_layout Plain Layout
11472 Horizontal lines
11473 \end_layout
11474
11475 \end_inset
11476
11477
11478 \end_layout
11479
11480 \begin_layout Standard
11481 \noindent
11482 \begin_inset CommandInset line
11483 LatexCommand rule
11484 offset "0.5ex"
11485 width "100line%"
11486 height "1pt"
11487
11488 \end_inset
11489
11490
11491 \end_layout
11492
11493 \begin_layout Standard
11494 \noindent
11495 In the dialog 
11496 \family sans
11497 Insert\SpecialChar \menuseparator
11498 Formatting\SpecialChar \menuseparator
11499 Horizontal
11500 \begin_inset space ~
11501 \end_inset
11502
11503 Line
11504 \family default
11505  you can insert horizontal lines.
11506  The line offset is the vertical distance between the line and the baseline
11507  of the current text line or the paragraph.
11508  The line settings can be changed by left-clicking on the line.
11509 \end_layout
11510
11511 \begin_layout Standard
11512 \noindent
11513 \begin_inset CommandInset line
11514 LatexCommand rule
11515 offset "0.5ex"
11516 width "100line%"
11517 height "1pt"
11518
11519 \end_inset
11520
11521
11522 \end_layout
11523
11524 \begin_layout Section
11525 Characters and Symbols
11526 \end_layout
11527
11528 \begin_layout Standard
11529 You can directly enter all characters that are available on your keyboard.
11530  You can also use special keyboard maps to be able to enter, for example,
11531  characters needed for French with an English keyboard.
11532  See section
11533 \begin_inset space \thinspace{}
11534 \end_inset
11535
11536
11537 \begin_inset CommandInset ref
11538 LatexCommand ref
11539 reference "sub:Keyboard-mapping"
11540
11541 \end_inset
11542
11543  for information on how this is done.
11544 \end_layout
11545
11546 \begin_layout Standard
11547 For the case where you need a character that is not on your keyboard, you
11548  can use the 
11549 \family sans
11550 Symbols
11551 \family default
11552  dialog via the menu 
11553 \family sans
11554 Insert\SpecialChar \menuseparator
11555 Special Character\SpecialChar \menuseparator
11556 Symbols
11557 \family default
11558 .
11559 \end_layout
11560
11561 \begin_layout Standard
11562 \begin_inset Note Greyedout
11563 status open
11564
11565 \begin_layout Plain Layout
11566
11567 \series bold
11568 Note:
11569 \series default
11570  Maybe not all symbols inserted with the symbols dialog can be displayed
11571  when you are using a special screen font in LyX's preferences.
11572  But the inserted symbols will in every case be displayed in the output.
11573 \end_layout
11574
11575 \end_inset
11576
11577
11578 \end_layout
11579
11580 \begin_layout Section
11581 Fonts and Text Styles
11582 \begin_inset CommandInset label
11583 LatexCommand label
11584 name "sec:Fonts-and-Text"
11585
11586 \end_inset
11587
11588
11589 \end_layout
11590
11591 \begin_layout Subsection
11592 Font Types
11593 \begin_inset Index idx
11594 status collapsed
11595
11596 \begin_layout Plain Layout
11597 Font ! Types
11598 \end_layout
11599
11600 \end_inset
11601
11602
11603 \end_layout
11604
11605 \begin_layout Standard
11606 There are two types of fonts:
11607 \end_layout
11608
11609 \begin_layout Description
11610 Vector
11611 \begin_inset space ~
11612 \end_inset
11613
11614 fonts
11615 \begin_inset Index idx
11616 status collapsed
11617
11618 \begin_layout Plain Layout
11619 Fonts ! Vector-
11620 \end_layout
11621
11622 \end_inset
11623
11624  are built from outlines of the single glyphs (e.
11625 \begin_inset space \thinspace{}
11626 \end_inset
11627
11628 g.
11629  characters) in the font.
11630  This means that each glyph is defined using mathematical curves that are
11631  well suited for scaling to any requested size.
11632  This mathematical definition is interpreted by the font renderer and the
11633  curve is filled out with pixels according to the size and glyph.
11634  This means that vector fonts will look pretty good in all sizes.
11635  Only at very small sizes where each pixel has to be very carefully computed
11636  to provide a good image might it be hard to provide a good rendering.
11637 \begin_inset Newline newline
11638 \end_inset
11639
11640 That could mean that one only needs to define one font size and scale them.
11641  But to achieve a better quality, many fonts define several font sizes.
11642  That improves the appearance because you need more details at large font
11643  sizes than at small ones.
11644 \begin_inset Newline newline
11645 \end_inset
11646
11647 The font types 
11648 \family typewriter
11649 TrueType
11650 \family default
11651
11652 \family typewriter
11653 OpenType
11654 \family default
11655 , and 
11656 \family typewriter
11657 Type
11658 \begin_inset space ~
11659 \end_inset
11660
11661 1
11662 \family default
11663  are vector fonts.
11664 \end_layout
11665
11666 \begin_layout Description
11667 Bitmap
11668 \begin_inset space ~
11669 \end_inset
11670
11671 fonts
11672 \begin_inset Index idx
11673 status collapsed
11674
11675 \begin_layout Plain Layout
11676 Fonts ! Bitmap-
11677 \end_layout
11678
11679 \end_inset
11680
11681  on the other hand, are defined by bitmap graphics from the start; so they
11682  will look good at all the sizes they are meant for.
11683  However, they don't scale well, because in order to scale a glyph, each
11684  pixel is enlarged into several pixels.
11685  It is the same effect that happens if you try to enlarge a picture in an
11686  image manipulation program.
11687  In order to mitigate this effect, bitmap fonts are typically provided in
11688  several fixed sizes typically from around 8
11689 \begin_inset space ~
11690 \end_inset
11691
11692 pixels high up to 34
11693 \begin_inset space ~
11694 \end_inset
11695
11696 pixels or so high in steps according to what is believed to be useful.
11697  The advantage of bitmap fonts is that no complicated computations are necessary
11698  to display each glyph; so bitmap fonts display therefore more quickly than
11699  scalable fonts.
11700  The disadvantage is that sizes that don't exist as fixed versions have
11701  to be scaled by doubling pixels, and thus look bad.
11702 \begin_inset Newline newline
11703 \end_inset
11704
11705 Bitmap fonts are named 
11706 \family typewriter
11707 Type
11708 \begin_inset space ~
11709 \end_inset
11710
11711 3
11712 \family default
11713  in PostScript- and PDF-documents.
11714 \end_layout
11715
11716 \begin_layout Standard
11717 The result of all this is that bitmap fonts are best for the size they are
11718  designed for, while scalable fonts are good for nearly all sizes.
11719  So one needs fewer font size definitions for scalable fonts.
11720  That's the reason why nearly all text rendering and typesetting programs
11721  use scalable fonts.
11722 \end_layout
11723
11724 \begin_layout Standard
11725 To see which fonts are used in a PDF-document, look at its document properties.
11726 \end_layout
11727
11728 \begin_layout Standard
11729 Many modern typesetting and markup languages have begun to move towards
11730  specifying character styles rather than specifying a particular font.
11731  For example, instead of changing to an italicized version of the current
11732  font to emphasize text, you use an 
11733 \begin_inset Quotes eld
11734 \end_inset
11735
11736 emphasized style
11737 \begin_inset Quotes erd
11738 \end_inset
11739
11740  instead.
11741  This concept fits in perfectly with LyX.
11742  In LyX, you do things based on contexts, rather than focusing on typesetting
11743  details.
11744 \end_layout
11745
11746 \begin_layout Subsection
11747 LaTeX font support
11748 \begin_inset CommandInset label
11749 LatexCommand label
11750 name "sub:LaTeX-font-support"
11751
11752 \end_inset
11753
11754
11755 \end_layout
11756
11757 \begin_layout Standard
11758 Traditionally, LaTeX used its own fonts.
11759  That is to say, you cannot directly access the fonts installed on your
11760  operating system, but you have to use specific fonts provided by your LaTeX
11761  distribution.
11762  The reason is that LaTeX needs some extra information about the fonts,
11763  which have to be provided by additional files and packages.
11764  The downside of this is that your font choice is somewhat limited compared
11765  to a word processor.
11766  On the other hand this comes with the advantage that the provided fonts
11767  are generally of very good quality, and that LaTeX files are very portable
11768  across different machines.
11769  Also, the range of fonts supported by traditional LaTeX has increased a
11770  lot in the meantime; so you can find packages for many free and commercial
11771  fonts.
11772  In LyX, only a subset of these are directly selectable via the user interface
11773  (see section
11774 \begin_inset space ~
11775 \end_inset
11776
11777
11778 \begin_inset CommandInset ref
11779 LatexCommand ref
11780 reference "sub:Document-Font"
11781
11782 \end_inset
11783
11784  for details).
11785  However, all the others are available if you enter the relevant LaTeX code
11786  in the document preamble (please refer to the documentation of your desired
11787  font).
11788 \end_layout
11789
11790 \begin_layout Standard
11791 Recent developments brought some new LaTeX engines that are also able directly
11792  to access fonts that are installed for your operating system, namely XeTeX
11793  and LuaTeX.
11794  Both engines are supported by LyX.
11795  By using them, you can theoretically use any OpenType or TrueType font
11796  that is installed on your system.
11797  The next section describes how to use these fonts.
11798 \end_layout
11799
11800 \begin_layout Standard
11801 \begin_inset Note Greyedout
11802 status open
11803
11804 \begin_layout Plain Layout
11805
11806 \series bold
11807 Note:
11808 \series default
11809  In practice, some fonts might fail due to bad metrics and other font deficienci
11810 es; so you might have to experiment.
11811 \end_layout
11812
11813 \end_inset
11814
11815
11816 \end_layout
11817
11818 \begin_layout Standard
11819 \begin_inset Note Greyedout
11820 status open
11821
11822 \begin_layout Plain Layout
11823
11824 \series bold
11825 Note:
11826 \series default
11827  XeTeX and especially LuaTeX, are still rather new and thus not as mature
11828  as traditional LaTeX or PDFTeX.
11829 \end_layout
11830
11831 \end_inset
11832
11833
11834 \end_layout
11835
11836 \begin_layout Subsection
11837 Document Font and Font size
11838 \begin_inset CommandInset label
11839 LatexCommand label
11840 name "sub:Document-Font"
11841
11842 \end_inset
11843
11844
11845 \begin_inset Index idx
11846 status collapsed
11847
11848 \begin_layout Plain Layout
11849 Font ! Size
11850 \end_layout
11851
11852 \end_inset
11853
11854
11855 \begin_inset Index idx
11856 status collapsed
11857
11858 \begin_layout Plain Layout
11859 Document ! Font
11860 \end_layout
11861
11862 \end_inset
11863
11864
11865 \end_layout
11866
11867 \begin_layout Standard
11868 You can set the document fonts in the 
11869 \family sans
11870 Document\SpecialChar \menuseparator
11871 Settings
11872 \family default
11873
11874 \begin_inset Index idx
11875 status collapsed
11876
11877 \begin_layout Plain Layout
11878 Document ! Settings
11879 \end_layout
11880
11881 \end_inset
11882
11883  dialog.
11884  In the 
11885 \family sans
11886 Fonts
11887 \family default
11888  section of the dialog, you can specify which font should be used for the
11889  three different font shapes — roman (serif), 
11890 \family sans
11891 sans
11892 \begin_inset space ~
11893 \end_inset
11894
11895 serif
11896 \family default
11897  and 
11898 \family typewriter
11899 typewriter
11900 \family default
11901  (monospaced) — and you can specify the base font size and scaling factors
11902  for (some) sans serif and typewriter fonts if this is necessary to fit
11903  with the roman font.
11904 \end_layout
11905
11906 \begin_layout Standard
11907 If you select 
11908 \family sans
11909 Use non-T
11910 \begin_inset ERT
11911 status collapsed
11912
11913 \begin_layout Plain Layout
11914
11915 {}
11916 \end_layout
11917
11918 \end_inset
11919
11920 eX fonts
11921 \family default
11922 , you will have access to the fonts installed on your operating system.
11923  This requires that you use 
11924 \family sans
11925 PDF (XeT
11926 \begin_inset ERT
11927 status collapsed
11928
11929 \begin_layout Plain Layout
11930
11931 {}
11932 \end_layout
11933
11934 \end_inset
11935
11936 eX)
11937 \family default
11938
11939 \family sans
11940 PDF (LuaT
11941 \begin_inset ERT
11942 status collapsed
11943
11944 \begin_layout Plain Layout
11945
11946 {}
11947 \end_layout
11948
11949 \end_inset
11950
11951 eX)
11952 \family default
11953  or 
11954 \family sans
11955 DVI (LuaT
11956 \begin_inset ERT
11957 status collapsed
11958
11959 \begin_layout Plain Layout
11960
11961 {}
11962 \end_layout
11963
11964 \end_inset
11965
11966 eX)
11967 \family default
11968  as the output format, i.
11969 \begin_inset space \thinspace{}
11970 \end_inset
11971
11972 e.
11973 \begin_inset space \space{}
11974 \end_inset
11975
11976 you will have to have either XeTeX or LuaTeX installed (see section
11977 \begin_inset space ~
11978 \end_inset
11979
11980
11981 \begin_inset CommandInset ref
11982 LatexCommand ref
11983 reference "sub:LaTeX-font-support"
11984
11985 \end_inset
11986
11987 ).
11988  You will then not have access to TeX's own fonts.
11989  Note that LyX then lists all available fonts in each of the three lists
11990  (roman, sans
11991 \begin_inset space ~
11992 \end_inset
11993
11994 serif, and typewriter), since LyX cannot determine the family.
11995  Also note that the output might fail with some of the listed fonts, due
11996  to the encoding of the fonts and\SpecialChar \slash{}
11997 or font failures.
11998  LyX cannot determine this in advance, so you might need to experiment.
11999 \end_layout
12000
12001 \begin_layout Standard
12002 If you use TeX fonts (which is the default), the possible options for the
12003  font include 
12004 \family sans
12005 Default
12006 \family default
12007  and a list of fonts available with your LaTeX distribution.
12008  If you select 
12009 \family sans
12010 Default,
12011 \family default
12012  the font that is preset by the current document class is used.
12013  In most cases, this will be the standard TeX font, known as 
12014 \begin_inset Quotes eld
12015 \end_inset
12016
12017
12018 \family typewriter
12019 Computer
12020 \begin_inset space ~
12021 \end_inset
12022
12023 Modern
12024 \family default
12025
12026 \begin_inset Quotes erd
12027 \end_inset
12028
12029  (
12030 \family typewriter
12031 cm
12032 \family default
12033 ) or 
12034 \begin_inset Quotes eld
12035 \end_inset
12036
12037
12038 \family typewriter
12039 European Computer Modern
12040 \family default
12041
12042 \begin_inset Quotes erd
12043 \end_inset
12044
12045  (
12046 \family typewriter
12047 ec
12048 \family default
12049 ), but some classes preset different default fonts.
12050 \end_layout
12051
12052 \begin_layout Standard
12053 As 
12054 \family typewriter
12055 cm
12056 \family default
12057  and 
12058 \family typewriter
12059 ec
12060 \family default
12061  are bitmap fonts, they often look pixelated in PDF output, especially when
12062  you read the PDF in a zoomed size.
12063 \begin_inset Foot
12064 status collapsed
12065
12066 \begin_layout Plain Layout
12067 This problem doesn't appear if you read PDFs in 
12068 \family typewriter
12069 Adobe
12070 \begin_inset space ~
12071 \end_inset
12072
12073 Reader
12074 \family default
12075  version 6 or later, because this program includes a special bitmap font
12076  renderer.
12077 \end_layout
12078
12079 \end_inset
12080
12081  To get rid of pixelated fonts, you have to use a vector font.
12082  Depending on how your document should look, you can either:
12083 \end_layout
12084
12085 \begin_layout Itemize
12086 select the 
12087 \family sans
12088 Latin
12089 \begin_inset space ~
12090 \end_inset
12091
12092 Modern
12093 \family default
12094  fonts, which is the recommended choice if you want to keep the look of
12095  
12096 \family typewriter
12097 cm
12098 \family default
12099 /
12100 \family typewriter
12101 ec
12102 \family default
12103 .
12104  
12105 \family sans
12106 Latin
12107 \begin_inset space ~
12108 \end_inset
12109
12110 Modern
12111 \family default
12112  was developed for the LaTeX community in order to replace 
12113 \family typewriter
12114 cm
12115 \family default
12116  as the default font.
12117  It covers a huge range of glyphs and several font shapes.
12118  Except for some details, where the appearance was improved, 
12119 \family sans
12120 Latin
12121 \begin_inset space ~
12122 \end_inset
12123
12124 Modern
12125 \family default
12126  looks identical to 
12127 \family typewriter
12128 cm
12129 \family default
12130 .
12131 \begin_inset Foot
12132 status collapsed
12133
12134 \begin_layout Plain Layout
12135 One difference is improved kerning.
12136 \end_layout
12137
12138 \end_inset
12139
12140
12141 \end_layout
12142
12143 \begin_layout Itemize
12144 or select the 
12145 \family sans
12146 AE
12147 \begin_inset space ~
12148 \end_inset
12149
12150 (Almost
12151 \begin_inset space ~
12152 \end_inset
12153
12154 European)
12155 \family default
12156  fonts in (the rare) case that 
12157 \family sans
12158 Latin
12159 \begin_inset space ~
12160 \end_inset
12161
12162 Modern
12163 \family default
12164  is not available to you or does not work, and you still want to emulate
12165  the look of 
12166 \family typewriter
12167 cm
12168 \family default
12169 /
12170 \family typewriter
12171 ec
12172 \family default
12173 .
12174  
12175 \family typewriter
12176 AE
12177 \family default
12178  is a virtual font.
12179  Virtual means that it 
12180 \begin_inset Quotes eld
12181 \end_inset
12182
12183 steals
12184 \begin_inset Quotes erd
12185 \end_inset
12186
12187  outline 
12188 \family typewriter
12189 cm
12190 \family default
12191 -glyphs from other fonts.
12192  This has the disadvantage that some characters are missing, like the French
12193  guillemets (
12194 \begin_inset Quotes eld
12195 \end_inset
12196
12197 «
12198 \begin_inset Quotes erd
12199 \end_inset
12200
12201  and 
12202 \begin_inset Quotes eld
12203 \end_inset
12204
12205 »
12206 \begin_inset Quotes erd
12207 \end_inset
12208
12209 )
12210 \begin_inset Foot
12211 status collapsed
12212
12213 \begin_layout Plain Layout
12214 Loading the LaTeX-package 
12215 \series bold
12216 aeguill
12217 \series default
12218
12219 \begin_inset Index idx
12220 status collapsed
12221
12222 \begin_layout Plain Layout
12223 LaTeX-packages ! aeguill
12224 \end_layout
12225
12226 \end_inset
12227
12228  with the document preamble line
12229 \begin_inset Newline newline
12230 \end_inset
12231
12232
12233 \series bold
12234
12235 \backslash
12236 usepackage[ec]{aeguill}
12237 \begin_inset Newline newline
12238 \end_inset
12239
12240
12241 \series default
12242 will fix the guillemet problem.
12243 \end_layout
12244
12245 \end_inset
12246
12247  and that accented characters are not 
12248 \emph on
12249 one
12250 \emph default
12251  glyph, but built of 
12252 \emph on
12253 two
12254 \emph default
12255  characters, the accent and the letter.
12256  Therefore you cannot search for words with accented characters in documents
12257  using the 
12258 \family typewriter
12259 AE
12260 \family default
12261  fonts.
12262  If you search for example for the French word 
12263 \begin_inset Quotes eld
12264 \end_inset
12265
12266 rève
12267 \begin_inset Quotes erd
12268 \end_inset
12269
12270  in a PDF, you will not get any result, because the PDF-viewer searches
12271  for the glyph 
12272 \begin_inset Quotes eld
12273 \end_inset
12274
12275  è 
12276 \begin_inset Quotes erd
12277 \end_inset
12278
12279  and not for the glyph 
12280 \begin_inset Quotes eld
12281 \end_inset
12282
12283  e +
12284 \begin_inset space ~
12285 \end_inset
12286
12287  ̀ 
12288 \begin_inset Quotes erd
12289 \end_inset
12290
12291 .
12292 \end_layout
12293
12294 \begin_layout Itemize
12295 If you do not like the look of 
12296 \family typewriter
12297 cm
12298 \family default
12299 /
12300 \family typewriter
12301 ec
12302 \family default
12303 , you can of course select one of the other vector fonts provided, e.
12304 \begin_inset space \thinspace{}
12305 \end_inset
12306
12307 g.
12308 \begin_inset space ~
12309 \end_inset
12310
12311
12312 \family typewriter
12313 Times
12314 \begin_inset space ~
12315 \end_inset
12316
12317 Roman
12318 \family default
12319  or
12320 \family typewriter
12321  Palatino
12322 \family default
12323 .
12324  Most roman vector fonts will automatically select matching sans
12325 \begin_inset space ~
12326 \end_inset
12327
12328 serif and typewriter fonts,
12329 \begin_inset Foot
12330 status collapsed
12331
12332 \begin_layout Plain Layout
12333 These are sometimes just matching other fonts (e.
12334 \begin_inset space \thinspace{}
12335 \end_inset
12336
12337 g., 
12338 \family sans
12339 Times
12340 \begin_inset space ~
12341 \end_inset
12342
12343 Roman
12344 \family default
12345  selects 
12346 \family sans
12347 Helvetica
12348 \family default
12349  for sans serif text), or different shapes of the same font, i.
12350 \begin_inset space \thinspace{}
12351 \end_inset
12352
12353 e.
12354 \begin_inset space \space{}
12355 \end_inset
12356
12357 a real font 
12358 \emph on
12359 family
12360 \emph default
12361  (e.
12362 \begin_inset space \thinspace{}
12363 \end_inset
12364
12365 g.
12366 \begin_inset space \space{}
12367 \end_inset
12368
12369 in case of 
12370 \family sans
12371 Latin
12372 \begin_inset space ~
12373 \end_inset
12374
12375 Modern
12376 \family default
12377  oder 
12378 \family sans
12379 Computer
12380 \begin_inset space ~
12381 \end_inset
12382
12383 Modern
12384 \family default
12385 ).
12386 \end_layout
12387
12388 \end_inset
12389
12390  but you can also select your own.
12391 \begin_inset Newline newline
12392 \end_inset
12393
12394 The differences between roman, 
12395 \family sans
12396 sans
12397 \begin_inset space ~
12398 \end_inset
12399
12400 serif
12401 \family default
12402  and 
12403 \family typewriter
12404 typewriter
12405 \family default
12406  fonts are explained in section
12407 \begin_inset space ~
12408 \end_inset
12409
12410
12411 \begin_inset CommandInset ref
12412 LatexCommand ref
12413 reference "sub:Fine-Tuning-with-the"
12414
12415 \end_inset
12416
12417 .
12418 \begin_inset Newline newline
12419 \end_inset
12420
12421 The font 
12422 \family sans
12423 Times
12424 \begin_inset space ~
12425 \end_inset
12426
12427 Roman
12428 \family default
12429  was originally designed for newspapers.
12430  Its glyphs are thus smaller than glyphs from other fonts in order to fit
12431  into the small newspaper columns.
12432  Therefore 
12433 \family sans
12434 Times
12435 \begin_inset space ~
12436 \end_inset
12437
12438 Roman
12439 \family default
12440  is not the optimal choice for larger documents like books.
12441 \end_layout
12442
12443 \begin_layout Standard
12444 For the font size there are generally four possible values: 
12445 \family sans
12446 Default, 10
12447 \family default
12448
12449 \family sans
12450 11
12451 \family default
12452  and 
12453 \family sans
12454 12
12455 \family default
12456 .
12457  Some classes provide additional sizes.
12458  The size of 
12459 \family sans
12460 Default
12461 \family default
12462  depends on the class you are using.
12463  In the standard classes it is equal to the font size 10.
12464 \end_layout
12465
12466 \begin_layout Standard
12467 Note that the font size is the 
12468 \emph on
12469 base size
12470 \emph default
12471 .
12472  That means that LyX scales all other possible font sizes (such as those
12473  used in footnotes, super-, and subscripts) by this value.
12474  You can fine-tune the font size of text parts via the 
12475 \family sans
12476 Text
12477 \begin_inset space ~
12478 \end_inset
12479
12480 Style
12481 \family default
12482  dialog if needed.
12483  The possible font sizes for text parts are explained in section
12484 \begin_inset space ~
12485 \end_inset
12486
12487
12488 \begin_inset CommandInset ref
12489 LatexCommand ref
12490 reference "sub:Fine-Tuning-with-the"
12491
12492 \end_inset
12493
12494 .
12495 \end_layout
12496
12497 \begin_layout Standard
12498 The 
12499 \family sans
12500 Default
12501 \begin_inset space ~
12502 \end_inset
12503
12504 Family
12505 \family default
12506  selection lets you specify whether the base font of your document should
12507  be roman, sans
12508 \begin_inset space ~
12509 \end_inset
12510
12511 serif or typewriter.
12512  The 
12513 \family sans
12514 Default
12515 \family default
12516  selection uses what is preset by the class, the other selections override
12517  this.
12518  In most cases, 
12519 \family sans
12520 Default
12521 \family default
12522  is equal to 
12523 \family sans
12524 roman
12525 \family default
12526 , but some classes (such as presentation classes) use other defaults.
12527 \end_layout
12528
12529 \begin_layout Standard
12530 The
12531 \family typewriter
12532  
12533 \family sans
12534 LaTe
12535 \begin_inset ERT
12536 status collapsed
12537
12538 \begin_layout Plain Layout
12539
12540 {}
12541 \end_layout
12542
12543 \end_inset
12544
12545 X font encoding
12546 \family default
12547  selection is an expert setting which lets you change the value passed to
12548  the LaTeX-package 
12549 \series bold
12550 fontenc
12551 \series default
12552
12553 \begin_inset Index idx
12554 status collapsed
12555
12556 \begin_layout Plain Layout
12557 LaTeX-packages ! fontenc
12558 \end_layout
12559
12560 \end_inset
12561
12562  (see also sec.
12563 \begin_inset space ~
12564 \end_inset
12565
12566
12567 \begin_inset CommandInset ref
12568 LatexCommand ref
12569 reference "sub:LaTeX-settings"
12570
12571 \end_inset
12572
12573 ).
12574  Normally, you do not need to change (or even understand) this.
12575  Unless you have specific reasons, use 
12576 \family sans
12577 Default
12578 \family default
12579 .
12580 \end_layout
12581
12582 \begin_layout Standard
12583 With some fonts, the checkboxes 
12584 \family sans
12585 Use Old Style Figures
12586 \family default
12587  and 
12588 \family sans
12589 Use True Small Caps
12590 \family default
12591  are available.
12592  These are extra features some fonts provide.
12593  If 
12594 \family sans
12595 Use Old Style Figures
12596 \family default
12597  is checked, old style figures (also known as medieval or text figures)
12598  are used.
12599  Old style figures are the numerals (0
12600 \begin_inset space \thinspace{}
12601 \end_inset
12602
12603 --
12604 \begin_inset space \thinspace{}
12605 \end_inset
12606
12607 9) with ascenders and descenders, which makes them fit nicely with lowercase
12608  letters.
12609  
12610 \family sans
12611 Use True Small Caps
12612 \family default
12613  determines that real small caps are used instead of faked small caps made
12614  of scaled capitals.
12615  Real small caps are often part of expert font sets; they generally look
12616  better than faked small caps but might have to be purchased separately.
12617 \end_layout
12618
12619 \begin_layout Standard
12620 The field 
12621 \family sans
12622 CJK
12623 \family default
12624  allows users of the languages Chinese, Japanese, Korean (CJK) to specify
12625  a font to display the script characters.
12626 \begin_inset Foot
12627 status collapsed
12628
12629 \begin_layout Plain Layout
12630 The font will be the argument for the commands of the LaTeX-package 
12631 \series bold
12632 CJK
12633 \series default
12634 .
12635 \begin_inset Index idx
12636 status collapsed
12637
12638 \begin_layout Plain Layout
12639 LaTeX-packages ! CJK
12640 \end_layout
12641
12642 \end_inset
12643
12644  So this has no effect for the document language 
12645 \family sans
12646 Japanese
12647 \family default
12648  that does not use 
12649 \series bold
12650 CJK
12651 \series default
12652 .
12653 \end_layout
12654
12655 \end_inset
12656
12657
12658 \begin_inset VSpace bigskip
12659 \end_inset
12660
12661
12662 \begin_inset Note Greyedout
12663 status open
12664
12665 \begin_layout Plain Layout
12666
12667 \series bold
12668 Note:
12669 \series default
12670  When you choose a new font or font size, LyX does 
12671 \emph on
12672 not
12673 \emph default
12674  change the screen font! You will only see a difference in the printed output;
12675  this is part of the WYSIWYM concept.
12676  LyX's screen fonts can be adjusted in the 
12677 \family sans
12678 Tools\SpecialChar \menuseparator
12679 Preferences
12680 \family default
12681  dialog, see section
12682 \begin_inset space ~
12683 \end_inset
12684
12685
12686 \begin_inset CommandInset ref
12687 LatexCommand ref
12688 reference "sub:Screen-Fonts"
12689
12690 \end_inset
12691
12692 .
12693 \end_layout
12694
12695 \end_inset
12696
12697
12698 \end_layout
12699
12700 \begin_layout Subsection
12701 Using Different Character Styles
12702 \begin_inset Index idx
12703 status collapsed
12704
12705 \begin_layout Plain Layout
12706 Character Styles
12707 \end_layout
12708
12709 \end_inset
12710
12711
12712 \begin_inset Index idx
12713 status collapsed
12714
12715 \begin_layout Plain Layout
12716 Text Style
12717 \end_layout
12718
12719 \end_inset
12720
12721
12722 \end_layout
12723
12724 \begin_layout Standard
12725 As we've already seen, LyX automatically changes the character style for
12726  certain paragraph environments.
12727  LyX supports two character styles, 
12728 \family sans
12729 Emphasized
12730 \family default
12731  and 
12732 \family sans
12733 Noun
12734 \family default
12735 .
12736  You can activate both of these styles via keybindings, the menus, and the
12737  toolbar.
12738 \end_layout
12739
12740 \begin_layout Standard
12741 To activate the 
12742 \family sans
12743 Noun
12744 \family default
12745  style, do one of the following:
12746 \end_layout
12747
12748 \begin_layout Itemize
12749 click on the toolbar button 
12750 \begin_inset Info
12751 type  "icon"
12752 arg   "font-noun"
12753 \end_inset
12754
12755
12756 \end_layout
12757
12758 \begin_layout Itemize
12759 use the key binding 
12760 \begin_inset Info
12761 type  "shortcut"
12762 arg   "font-noun"
12763 \end_inset
12764
12765
12766 \end_layout
12767
12768 \begin_layout Standard
12769 These commands are all toggles.
12770  That is, if 
12771 \family sans
12772 Noun
12773 \family default
12774  style is already active, they deactivate it.
12775 \end_layout
12776
12777 \begin_layout Standard
12778 One typically uses the 
12779 \family sans
12780 Noun
12781 \family default
12782  style for proper names.
12783  For example: 
12784 \begin_inset Quotes eld
12785 \end_inset
12786
12787
12788 \noun on
12789 Matthias Ettrich
12790 \noun default
12791  is the original author of LyX.
12792 \begin_inset Quotes erd
12793 \end_inset
12794
12795
12796 \end_layout
12797
12798 \begin_layout Standard
12799 A more widely used character style is the 
12800 \family sans
12801 Emphasized
12802 \family default
12803  style.
12804  You can activate (or deactivate — it's also a toggle) the 
12805 \family sans
12806 Emphasized
12807 \family default
12808  style by:
12809 \end_layout
12810
12811 \begin_layout Itemize
12812 clicking on the toolbar button 
12813 \begin_inset Info
12814 type  "icon"
12815 arg   "font-emph"
12816 \end_inset
12817
12818
12819 \end_layout
12820
12821 \begin_layout Itemize
12822 using the keybindings 
12823 \begin_inset Info
12824 type  "shortcut"
12825 arg   "font-emph"
12826 \end_inset
12827
12828
12829 \end_layout
12830
12831 \begin_layout Standard
12832 Normally the 
12833 \family sans
12834 Emphasized
12835 \family default
12836  style is equivalent to an italic font but some document classes or LaTeX-packag
12837 es use a different font.
12838 \end_layout
12839
12840 \begin_layout Standard
12841 We've been using the 
12842 \family sans
12843 Emphasized
12844 \family default
12845  style all over the place in this document.
12846  Here's one more example:
12847 \end_layout
12848
12849 \begin_layout Quotation
12850
12851 \emph on
12852 Do not overuse character styles!
12853 \end_layout
12854
12855 \begin_layout Standard
12856 It's also a warning in addition to an example.
12857  One's writing should parallel ordinary conversation.
12858  Since we don't all constantly scream at each other, we should also avoid
12859  the common tendency to overuse character styles.
12860  
12861 \end_layout
12862
12863 \begin_layout Standard
12864 You can always reset to the default font using the key binding 
12865 \begin_inset Info
12866 type  "shortcut"
12867 arg   "font-default"
12868 \end_inset
12869
12870  or the dialog 
12871 \family sans
12872 Edit\SpecialChar \menuseparator
12873 Text
12874 \begin_inset space ~
12875 \end_inset
12876
12877 Style\SpecialChar \menuseparator
12878 Customized
12879 \family default
12880  (
12881 \begin_inset Info
12882 type  "icon"
12883 arg   "dialog-show character"
12884 \end_inset
12885
12886 ).
12887 \end_layout
12888
12889 \begin_layout Subsection
12890 Fine-Tuning with the 
12891 \family sans
12892 Text Style
12893 \family default
12894  dialog
12895 \begin_inset CommandInset label
12896 LatexCommand label
12897 name "sub:Fine-Tuning-with-the"
12898
12899 \end_inset
12900
12901
12902 \begin_inset Index idx
12903 status collapsed
12904
12905 \begin_layout Plain Layout
12906 Text Style
12907 \end_layout
12908
12909 \end_inset
12910
12911
12912 \end_layout
12913
12914 \begin_layout Standard
12915 There are always occasions when you will need to do some fine-tuning; so
12916  LyX gives you a way to create a custom character style.
12917  For example, an academic journal or a corporation may have a style sheet
12918  requiring a sans-serif font be used in certain situations.
12919  Also, writers sometimes use a different font to offset a character's thoughts
12920  from ordinary dialog.
12921 \end_layout
12922
12923 \begin_layout Standard
12924 Before we document how to use custom character style, we want to issue a
12925  warning yet again: Don't overuse character styles! 
12926 \begin_inset Newline newline
12927 \end_inset
12928
12929 Documents that overuse different fonts and sizes are not easy to read and
12930  tend to look as if someone has knocked huge holes in them.
12931 \end_layout
12932
12933 \begin_layout Standard
12934 To use custom character styles, open the 
12935 \family sans
12936 Edit\SpecialChar \menuseparator
12937 Text
12938 \begin_inset space ~
12939 \end_inset
12940
12941 Style\SpecialChar \menuseparator
12942 Customized
12943 \family default
12944  dialog or press the toolbar button 
12945 \begin_inset Info
12946 type  "icon"
12947 arg   "dialog-show character"
12948 \end_inset
12949
12950 .
12951  There are several boxes in this dialog, each corresponding to a different
12952  font property that you can choose.
12953  You can choose an option for one of these properties, or select 
12954 \family sans
12955 No
12956 \begin_inset space ~
12957 \end_inset
12958
12959 change
12960 \family default
12961 , which keeps the current state of that property.
12962  The item 
12963 \family sans
12964 Reset
12965 \family default
12966  will reset the property to whatever is the default.
12967  You can use this to reset attributes across a bunch of different paragraph
12968  environments all at once.
12969 \end_layout
12970
12971 \begin_layout Standard
12972 The font properties, and their options (in addition to 
12973 \family sans
12974 No
12975 \begin_inset space ~
12976 \end_inset
12977
12978 change
12979 \family default
12980  and 
12981 \family sans
12982 Reset
12983 \family default
12984 ) are:
12985 \end_layout
12986
12987 \begin_layout Labeling
12988 \labelwidthstring 00.00.0000
12989
12990 \family sans
12991 Family
12992 \family default
12993  The 
12994 \begin_inset Quotes eld
12995 \end_inset
12996
12997 overall look
12998 \begin_inset Quotes erd
12999 \end_inset
13000
13001  of the font.
13002  The possible options are:
13003 \end_layout
13004
13005 \begin_deeper
13006 \begin_layout Labeling
13007 \labelwidthstring 00.00.0000
13008
13009 \family sans
13010 Roman
13011 \family default
13012  This is the Roman font family.
13013  Normally a serif font.
13014  It's also the default family.
13015  (key binding 
13016 \begin_inset Info
13017 type  "shortcut"
13018 arg   "font-roman"
13019 \end_inset
13020
13021 )
13022 \end_layout
13023
13024 \begin_layout Labeling
13025 \labelwidthstring 00.00.0000
13026
13027 \family sans
13028 Sans
13029 \begin_inset space ~
13030 \end_inset
13031
13032 Serif
13033 \family default
13034  
13035 \family sans
13036 This is the Sans Serif font family.
13037
13038 \family default
13039  (key binding 
13040 \begin_inset Info
13041 type  "shortcut"
13042 arg   "font-sans"
13043 \end_inset
13044
13045 )
13046 \end_layout
13047
13048 \begin_layout Labeling
13049 \labelwidthstring 00.00.0000
13050
13051 \family sans
13052 Typewriter
13053 \family default
13054  
13055 \family typewriter
13056 This is the Typewriter font family.
13057
13058 \family default
13059  (key binding 
13060 \begin_inset Info
13061 type  "shortcut"
13062 arg   "font-typewriter"
13063 \end_inset
13064
13065
13066 \family sans
13067 )
13068 \end_layout
13069
13070 \end_deeper
13071 \begin_layout Labeling
13072 \labelwidthstring 00.00.0000
13073
13074 \family sans
13075 Series
13076 \family default
13077  This corresponds to the print weight.
13078  Options are:
13079 \end_layout
13080
13081 \begin_deeper
13082 \begin_layout Labeling
13083 \labelwidthstring 00.00.0000
13084
13085 \family sans
13086 Medium
13087 \family default
13088  This is the Medium font series.
13089  It's also the default series.
13090 \end_layout
13091
13092 \begin_layout Labeling
13093 \labelwidthstring 00.00.0000
13094
13095 \family sans
13096 Bold
13097 \family default
13098  
13099 \series bold
13100 This is the Bold font series.
13101
13102 \series default
13103  (key binding 
13104 \begin_inset Info
13105 type  "shortcut"
13106 arg   "font-bold"
13107 \end_inset
13108
13109 )
13110 \end_layout
13111
13112 \end_deeper
13113 \begin_layout Labeling
13114 \labelwidthstring 00.00.0000
13115
13116 \family sans
13117 Shape
13118 \family default
13119  As the name implies.
13120  Options are:
13121 \end_layout
13122
13123 \begin_deeper
13124 \begin_layout Labeling
13125 \labelwidthstring 00.00.0000
13126
13127 \family sans
13128 Upright
13129 \family default
13130  This is the Upright font shape.
13131  It's also the default shape.
13132 \end_layout
13133
13134 \begin_layout Labeling
13135 \labelwidthstring 00.00.0000
13136
13137 \family sans
13138 Italic
13139 \family default
13140  
13141 \shape italic
13142 This
13143 \shape default
13144  
13145 \family sans
13146 \shape italic
13147 i
13148 \family default
13149 s the Italic font shape
13150 \shape default
13151 \emph on
13152 .
13153 \end_layout
13154
13155 \begin_layout Labeling
13156 \labelwidthstring 00.00.0000
13157
13158 \family sans
13159 Slanted
13160 \family default
13161  
13162 \shape slanted
13163 This is the Slanted font shape
13164 \shape default
13165  (although it might not be visible in LyX, this is different from italic).
13166 \end_layout
13167
13168 \begin_layout Labeling
13169 \labelwidthstring 00.00.0000
13170
13171 \family sans
13172 Small
13173 \begin_inset space ~
13174 \end_inset
13175
13176 Caps
13177 \family default
13178  
13179 \shape smallcaps
13180 This is the Small caps font shape
13181 \shape default
13182 \noun on
13183 .
13184 \end_layout
13185
13186 \end_deeper
13187 \begin_layout Labeling
13188 \labelwidthstring 00.00.0000
13189
13190 \family sans
13191 Color
13192 \family default
13193  Alters the text color.
13194  Note that not all DVI-viewers are able to display colors.
13195  Besides 
13196 \family sans
13197 No
13198 \begin_inset space ~
13199 \end_inset
13200
13201 color
13202 \family default
13203 , which means that the document default color set in 
13204 \family sans
13205 Document\SpecialChar \menuseparator
13206 Settings\SpecialChar \menuseparator
13207 Color
13208 \family default
13209  for 
13210 \family sans
13211 Main
13212 \begin_inset space ~
13213 \end_inset
13214
13215 text
13216 \family default
13217  is used, you can choose between 
13218 \family sans
13219 Black
13220 \family default
13221
13222 \family sans
13223 White
13224 \family default
13225
13226 \family sans
13227 Red
13228 \family default
13229
13230 \family sans
13231 Green
13232 \family default
13233
13234 \family sans
13235 Blue
13236 \family default
13237
13238 \family sans
13239 Cyan
13240 \family default
13241
13242 \family sans
13243 Magenta
13244 \family default
13245  and 
13246 \family sans
13247 Yellow
13248 \family default
13249  text.
13250 \begin_inset Index idx
13251 status collapsed
13252
13253 \begin_layout Plain Layout
13254 Color ! Text
13255 \end_layout
13256
13257 \end_inset
13258
13259
13260 \end_layout
13261
13262 \begin_layout Labeling
13263 \labelwidthstring 00.00.0000
13264
13265 \family sans
13266 Language
13267 \family default
13268  This is used to mark regions of text as having a different language from
13269  the language of the document.
13270  Text marked in this way will be underlined in blue to indicate the change
13271  (only within LyX).
13272 \begin_inset Newline newline
13273 \end_inset
13274
13275 If you have for example, an extract of German text in a non-German document,
13276  LaTeX respects the German hyphenation rules automatically.
13277  When using the spell checking (see section
13278 \begin_inset space ~
13279 \end_inset
13280
13281
13282 \begin_inset CommandInset ref
13283 LatexCommand ref
13284 reference "sec:Spellchecking"
13285
13286 \end_inset
13287
13288 ) the German-marked text will be checked according to the German dictionary.
13289 \end_layout
13290
13291 \begin_layout Labeling
13292 \labelwidthstring 00.00.0000
13293
13294 \family sans
13295 Size
13296 \family default
13297  Alters the size of the font.
13298  You will find no numerical values here; all possible sizes are actually
13299  proportional to the document font size.
13300  Once again, you don't feed LyX the details, but a general description of
13301  what you want to do.
13302  The options are:
13303 \end_layout
13304
13305 \begin_deeper
13306 \begin_layout Labeling
13307 \labelwidthstring 00.00.0000
13308
13309 \family sans
13310 Tiny
13311 \family default
13312  
13313 \size tiny
13314 This is the 
13315 \begin_inset Quotes eld
13316 \end_inset
13317
13318 Tiny
13319 \begin_inset Quotes erd
13320 \end_inset
13321
13322  font size.
13323
13324 \size default
13325  (key bindings 
13326 \begin_inset Info
13327 type  "shortcuts"
13328 arg   "font-size tiny"
13329 \end_inset
13330
13331 )
13332 \end_layout
13333
13334 \begin_layout Labeling
13335 \labelwidthstring 00.00.0000
13336
13337 \family sans
13338 Smallest
13339 \family default
13340  
13341 \size scriptsize
13342 This is the 
13343 \begin_inset Quotes eld
13344 \end_inset
13345
13346 Smallest
13347 \begin_inset Quotes erd
13348 \end_inset
13349
13350  font size
13351 \size default
13352 .
13353  (key binding 
13354 \begin_inset Info
13355 type  "shortcut"
13356 arg   "font-size scriptsize"
13357 \end_inset
13358
13359 )
13360 \end_layout
13361
13362 \begin_layout Labeling
13363 \labelwidthstring 00.00.0000
13364
13365 \family sans
13366 Smaller
13367 \family default
13368  
13369 \size footnotesize
13370 This is the 
13371 \begin_inset Quotes eld
13372 \end_inset
13373
13374 Smaller
13375 \begin_inset Quotes erd
13376 \end_inset
13377
13378  font size.
13379
13380 \size default
13381  (key bindings 
13382 \begin_inset Info
13383 type  "shortcuts"
13384 arg   "font-size footnotesize"
13385 \end_inset
13386
13387 )
13388 \end_layout
13389
13390 \begin_layout Labeling
13391 \labelwidthstring 00.00.0000
13392
13393 \family sans
13394 Small
13395 \family default
13396  
13397 \size small
13398 This is the 
13399 \begin_inset Quotes eld
13400 \end_inset
13401
13402 Small
13403 \begin_inset Quotes erd
13404 \end_inset
13405
13406  font size.
13407
13408 \size default
13409  (key bindings 
13410 \begin_inset Info
13411 type  "shortcuts"
13412 arg   "font-size small"
13413 \end_inset
13414
13415 )
13416 \end_layout
13417
13418 \begin_layout Labeling
13419 \labelwidthstring 00.00.0000
13420
13421 \family sans
13422 Normal
13423 \family default
13424  This is the 
13425 \begin_inset Quotes eld
13426 \end_inset
13427
13428 Normal
13429 \begin_inset Quotes erd
13430 \end_inset
13431
13432  font size.
13433  It's also the default size.
13434  (key bindings 
13435 \begin_inset Info
13436 type  "shortcuts"
13437 arg   "font-size normal"
13438 \end_inset
13439
13440 )
13441 \end_layout
13442
13443 \begin_layout Labeling
13444 \labelwidthstring 00.00.0000
13445
13446 \family sans
13447 Large
13448 \family default
13449  
13450 \size large
13451 This is the 
13452 \begin_inset Quotes eld
13453 \end_inset
13454
13455 Large
13456 \begin_inset Quotes erd
13457 \end_inset
13458
13459  font size.
13460
13461 \size default
13462  (key bindings 
13463 \begin_inset Info
13464 type  "shortcuts"
13465 arg   "font-size large"
13466 \end_inset
13467
13468 )
13469 \end_layout
13470
13471 \begin_layout Labeling
13472 \labelwidthstring 00.00.0000
13473
13474 \family sans
13475 Larger
13476 \family default
13477  
13478 \size larger
13479 This is the 
13480 \begin_inset Quotes eld
13481 \end_inset
13482
13483 Larger
13484 \begin_inset Quotes erd
13485 \end_inset
13486
13487  font size.
13488
13489 \size default
13490  (key bindings 
13491 \begin_inset Info
13492 type  "shortcuts"
13493 arg   "font-size larger"
13494 \end_inset
13495
13496 )
13497 \end_layout
13498
13499 \begin_layout Labeling
13500 \labelwidthstring 00.00.0000
13501
13502 \family sans
13503 Largest
13504 \family default
13505  
13506 \size largest
13507 This is the 
13508 \begin_inset Quotes eld
13509 \end_inset
13510
13511 Largest
13512 \begin_inset Quotes erd
13513 \end_inset
13514
13515  font size.
13516
13517 \size default
13518  (key binding 
13519 \begin_inset Info
13520 type  "shortcut"
13521 arg   "font-size largest"
13522 \end_inset
13523
13524 )
13525 \end_layout
13526
13527 \begin_layout Labeling
13528 \labelwidthstring 00.00.0000
13529
13530 \family sans
13531 Huge
13532 \family default
13533  
13534 \size huge
13535 This is the 
13536 \begin_inset Quotes eld
13537 \end_inset
13538
13539 Huge
13540 \begin_inset Quotes erd
13541 \end_inset
13542
13543  font size.
13544
13545 \size default
13546  (key bindings 
13547 \begin_inset Info
13548 type  "shortcuts"
13549 arg   "font-size huge"
13550 \end_inset
13551
13552 )
13553 \end_layout
13554
13555 \begin_layout Labeling
13556 \labelwidthstring 00.00.0000
13557
13558 \family sans
13559 Huger
13560 \family default
13561  
13562 \size giant
13563 This is the 
13564 \begin_inset Quotes eld
13565 \end_inset
13566
13567 Huger
13568 \begin_inset Quotes erd
13569 \end_inset
13570
13571  font size.
13572
13573 \size default
13574  (key bindings 
13575 \begin_inset Info
13576 type  "shortcuts"
13577 arg   "font-size giant"
13578 \end_inset
13579
13580 )
13581 \end_layout
13582
13583 \begin_layout Labeling
13584 \labelwidthstring 00.00.0000
13585
13586 \family sans
13587 Increase
13588 \family default
13589  This increases the size by one step (for instance, from 
13590 \begin_inset Quotes eld
13591 \end_inset
13592
13593 Largest
13594 \begin_inset Quotes erd
13595 \end_inset
13596
13597  to 
13598 \begin_inset Quotes eld
13599 \end_inset
13600
13601 Huge
13602 \begin_inset Quotes erd
13603 \end_inset
13604
13605 ).
13606  (key binding 
13607 \begin_inset Info
13608 type  "shortcut"
13609 arg   "font-size increase"
13610 \end_inset
13611
13612 )
13613 \end_layout
13614
13615 \begin_layout Labeling
13616 \labelwidthstring 00.00.0000
13617
13618 \family sans
13619 Decrease
13620 \family default
13621  This decreases the size by one step (for instance, from 
13622 \begin_inset Quotes eld
13623 \end_inset
13624
13625 Normal
13626 \begin_inset Quotes erd
13627 \end_inset
13628
13629  to 
13630 \begin_inset Quotes eld
13631 \end_inset
13632
13633 Small
13634 \begin_inset Quotes erd
13635 \end_inset
13636
13637 ).
13638  (key binding 
13639 \begin_inset Info
13640 type  "shortcut"
13641 arg   "font-size decrease"
13642 \end_inset
13643
13644 )
13645 \end_layout
13646
13647 \end_deeper
13648 \begin_layout Standard
13649 We warn you 
13650 \emph on
13651 yet again
13652 \emph default
13653 : don't go crazy with this feature.
13654  You should almost never need to change the font size.
13655  LyX automatically changes the font size for different paragraph environments
13656  — use those instead.
13657  This is here for fine-tuning only!
13658 \end_layout
13659
13660 \begin_layout Labeling
13661 \labelwidthstring 00.00.0000
13662
13663 \family sans
13664 Misc
13665 \family default
13666  Here you can change a few other things at the character level.
13667  Options are:
13668 \end_layout
13669
13670 \begin_deeper
13671 \begin_layout Labeling
13672 \labelwidthstring 00.00.0000
13673
13674 \family sans
13675 Emph
13676 \family default
13677  
13678 \emph on
13679 This is text with emphasize on
13680 \emph default
13681 .
13682  This might seem like the same as 
13683 \shape italic
13684 Italic
13685 \shape default
13686 , but it is actually a bit different.
13687  Emphasized is a 
13688 \emph on
13689 logical
13690 \emph default
13691  attribute.
13692  That means every document class can define its own font used for emphasized
13693  text.
13694  Normally this font is equal to italic.
13695 \end_layout
13696
13697 \begin_layout Labeling
13698 \labelwidthstring 00.00.0000
13699
13700 \family sans
13701 Underbar
13702 \family default
13703  
13704 \bar under
13705 This is text with Underbar on.
13706
13707 \bar default
13708  (key binding 
13709 \begin_inset Info
13710 type  "shortcuts"
13711 arg   "font-underline"
13712 \end_inset
13713
13714
13715 \family sans
13716 )
13717 \begin_inset Newline newline
13718 \end_inset
13719
13720
13721 \family default
13722 Avoid using underbar if you can! It is a hangover from the typewriter days,
13723  when you could not change fonts.
13724  One no longer needs to emphasize text by underscoring characters.
13725  This is only possible in LyX because some people 
13726 \emph on
13727 may
13728 \emph default
13729  need it in order to follow style sheets for journal submissions.
13730 \end_layout
13731
13732 \begin_layout Labeling
13733 \labelwidthstring 00.00.0000
13734
13735 \family sans
13736 Double
13737 \begin_inset space ~
13738 \end_inset
13739
13740 underbar
13741 \family default
13742  
13743 \uuline on
13744 This is text with Double underbar on.
13745
13746 \uuline default
13747  (key binding 
13748 \begin_inset Info
13749 type  "shortcut"
13750 arg   "font-underunderline"
13751 \end_inset
13752
13753 )
13754 \begin_inset Newline newline
13755 \end_inset
13756
13757 As we just warned you against using underbar, you can imagine what we think
13758  about double underbar.
13759 \end_layout
13760
13761 \begin_layout Labeling
13762 \labelwidthstring 00.00.0000
13763
13764 \family sans
13765 Wavy
13766 \begin_inset space ~
13767 \end_inset
13768
13769 underbar
13770 \family default
13771  
13772 \uwave on
13773 This is text with Wavy underbar on.
13774
13775 \uwave default
13776  (key binding 
13777 \begin_inset Info
13778 type  "shortcut"
13779 arg   "font-underwave"
13780 \end_inset
13781
13782 )
13783 \begin_inset Newline newline
13784 \end_inset
13785
13786 Use this only if a journal absolutely insists on it.
13787  Keep antinausea pills handy.
13788 \end_layout
13789
13790 \begin_layout Labeling
13791 \labelwidthstring 00.00.0000
13792
13793 \family sans
13794 Strikeout
13795 \family default
13796  
13797 \strikeout on
13798 This is text with Strikeout on.
13799
13800 \strikeout default
13801  (key binding 
13802 \begin_inset Info
13803 type  "shortcut"
13804 arg   "font-strikeout"
13805 \end_inset
13806
13807 )
13808 \begin_inset Newline newline
13809 \end_inset
13810
13811 This is frequently used to indicate an older version of text that has been
13812  changed in the meantime.
13813 \end_layout
13814
13815 \begin_layout Labeling
13816 \labelwidthstring 00.00.0000
13817
13818 \family sans
13819 Noun
13820 \family default
13821  
13822 \noun on
13823 This is text with Noun on.
13824
13825 \noun default
13826  Like 
13827 \family sans
13828 Emph
13829 \family default
13830 , this is a logical attribute.
13831  Normally it's equivalent to 
13832 \family sans
13833 Small
13834 \begin_inset space ~
13835 \end_inset
13836
13837 Caps
13838 \family default
13839 .
13840 \end_layout
13841
13842 \end_deeper
13843 \begin_layout Standard
13844 So you have a huge number of combinations to choose from.
13845  Once you have chosen a new character style via the 
13846 \family sans
13847 Edit\SpecialChar \menuseparator
13848 Text
13849 \begin_inset space ~
13850 \end_inset
13851
13852 Style\SpecialChar \menuseparator
13853 Customized
13854 \family default
13855  (
13856 \begin_inset Info
13857 type  "icon"
13858 arg   "dialog-show character"
13859 \end_inset
13860
13861 ) dialog, the settings are saved.
13862  You can activate them by using the toolbar button 
13863 \begin_inset Info
13864 type  "icon"
13865 arg   "textstyle-apply"
13866 \end_inset
13867
13868 .
13869  The button lets you apply your custom character style even when the dialog
13870  isn't visible.
13871 \end_layout
13872
13873 \begin_layout Standard
13874 To completely reset the character style to the default, use 
13875 \begin_inset Info
13876 type  "shortcut"
13877 arg   "font-default"
13878 \end_inset
13879
13880 .
13881  If you want to toggle only those properties that you have just changed
13882  (suppose you just set the shape to 
13883 \begin_inset Quotes eld
13884 \end_inset
13885
13886 slanted
13887 \begin_inset Quotes erd
13888 \end_inset
13889
13890  and the series to 
13891 \begin_inset Quotes eld
13892 \end_inset
13893
13894 bold
13895 \begin_inset Quotes erd
13896 \end_inset
13897
13898 ), set the 
13899 \family sans
13900 Toggle
13901 \begin_inset space ~
13902 \end_inset
13903
13904 all
13905 \family default
13906  switch and press 
13907 \family sans
13908 Apply
13909 \family default
13910 .
13911 \end_layout
13912
13913 \begin_layout Standard
13914 You should also know something about the differences between the three main
13915  font types 
13916 \family sans
13917 serif
13918 \family default
13919
13920 \family sans
13921 sans
13922 \begin_inset space ~
13923 \end_inset
13924
13925 serif
13926 \family default
13927 , and 
13928 \family sans
13929 typewriter
13930 \family default
13931 :
13932 \end_layout
13933
13934 \begin_layout Itemize
13935
13936 \family sans
13937 Typewriter
13938 \family default
13939  is a so called 
13940 \begin_inset Quotes eld
13941 \end_inset
13942
13943 monospaced
13944 \begin_inset Quotes erd
13945 \end_inset
13946
13947  font, which means every character has the same width; the 
13948 \begin_inset Quotes eld
13949 \end_inset
13950
13951 i
13952 \begin_inset Quotes erd
13953 \end_inset
13954
13955  is as wide as the 
13956 \begin_inset Quotes eld
13957 \end_inset
13958
13959 m
13960 \begin_inset Quotes erd
13961 \end_inset
13962
13963 .
13964  Here is an example
13965 \begin_inset Newline newline
13966 \end_inset
13967
13968
13969 \begin_inset Phantom HPhantom
13970 status open
13971
13972 \begin_layout Plain Layout
13973 no 
13974 \end_layout
13975
13976 \end_inset
13977
13978
13979 \family typewriter
13980 typewriter text
13981 \family default
13982
13983 \begin_inset Note Note
13984 status collapsed
13985
13986 \begin_layout Plain Layout
13987 For more on phantoms see section
13988 \begin_inset space ~
13989 \end_inset
13990
13991
13992 \begin_inset CommandInset ref
13993 LatexCommand ref
13994 reference "sub:Phantom-Space"
13995
13996 \end_inset
13997
13998 .
13999 \end_layout
14000
14001 \end_inset
14002
14003
14004 \begin_inset Newline newline
14005 \end_inset
14006
14007 no typewriter text
14008 \end_layout
14009
14010 \begin_layout Itemize
14011
14012 \family sans
14013 Serif
14014 \family default
14015  fonts use characters with serifs.
14016  These are the small 
14017 \begin_inset Quotes eld
14018 \end_inset
14019
14020 appendices
14021 \begin_inset Quotes erd
14022 \end_inset
14023
14024  at the ends of the strokes that form the character.
14025  The following example shows the difference:
14026 \begin_inset Newline newline
14027 \end_inset
14028
14029 text with serifs
14030 \begin_inset Newline newline
14031 \end_inset
14032
14033
14034 \family sans
14035 text without serifs
14036 \family default
14037
14038 \begin_inset Newline newline
14039 \end_inset
14040
14041 Serifs facilitate quick and easy reading.
14042  These fonts are therefore used as default (named 
14043 \family sans
14044 roman
14045 \family default
14046 ).
14047 \end_layout
14048
14049 \begin_layout Itemize
14050
14051 \family sans
14052 Sans serif
14053 \family default
14054  is not recommended for use as a base type.
14055  This font type is therefore often only used for headings and short texts.
14056  We use it in this document to highlight menu names.
14057 \end_layout
14058
14059 \begin_layout Standard
14060 \begin_inset Quotes eld
14061 \end_inset
14062
14063 Toggling
14064 \begin_inset Quotes erd
14065 \end_inset
14066
14067  refers to applying or removing font properties.
14068  When a property is marked for toggling in the 
14069 \family sans
14070 Text
14071 \begin_inset space ~
14072 \end_inset
14073
14074 Style
14075 \family default
14076  dialog, applying the style to text that already has the property will cause
14077  the property to be removed.
14078  If you, for example, apply a style with properties A, B and C to text that
14079  currently has font properties B, C, F and G, and if B is set to toggle
14080  and C is set not to toggle, the text ends up with properties A, C, F and
14081  G.
14082  
14083 \begin_inset Quotes eld
14084 \end_inset
14085
14086 Never toggled
14087 \begin_inset Quotes erd
14088 \end_inset
14089
14090  and 
14091 \begin_inset Quotes eld
14092 \end_inset
14093
14094 always toggled
14095 \begin_inset Quotes erd
14096 \end_inset
14097
14098  mean that you do not control the toggling behavior.
14099  For the properties on the left side of the dialog (
14100 \begin_inset Quotes eld
14101 \end_inset
14102
14103 Family
14104 \begin_inset Quotes erd
14105 \end_inset
14106
14107  etc.), toggling behavior is up to you.
14108  If 
14109 \family sans
14110 Toggle
14111 \begin_inset space ~
14112 \end_inset
14113
14114 all
14115 \family default
14116  is checked, all of the left side properties are toggled; by default, none
14117  of them are.
14118  Finally, 
14119 \begin_inset Quotes eld
14120 \end_inset
14121
14122 Reset
14123 \begin_inset Quotes erd
14124 \end_inset
14125
14126  is never toggled.
14127  If you, for example, set 
14128 \begin_inset Quotes eld
14129 \end_inset
14130
14131 Series
14132 \begin_inset Quotes erd
14133 \end_inset
14134
14135  to 
14136 \begin_inset Quotes eld
14137 \end_inset
14138
14139 Reset
14140 \begin_inset Quotes erd
14141 \end_inset
14142
14143  and select 
14144 \family sans
14145 Toggle
14146 \begin_inset space ~
14147 \end_inset
14148
14149 all
14150 \family default
14151 , then apply the style to bold face text, the text will revert to the default
14152  series (
14153 \begin_inset Quotes eld
14154 \end_inset
14155
14156 Medium
14157 \begin_inset Quotes erd
14158 \end_inset
14159
14160 ), no matter how many times you apply the style.
14161 \end_layout
14162
14163 \begin_layout Standard
14164 We conclude with the same warning once again: Do not overuse the fonts!
14165  They are, more often than not, a kludge and a bad substitute for good writing.
14166 \end_layout
14167
14168 \begin_layout Section
14169 Printing and Previewing
14170 \end_layout
14171
14172 \begin_layout Subsection
14173 Overview
14174 \end_layout
14175
14176 \begin_layout Standard
14177 Now that we have covered some of the basic features of document preparation
14178  using LyX, you probably want to know how to print out your masterpiece.
14179  Before we tell you that, we want to give you a quick explanation of what
14180  goes on behind-the-scenes.
14181  We cover this information in much greater detail in the 
14182 \emph on
14183 Additional Features
14184 \emph default
14185  manual as well.
14186 \end_layout
14187
14188 \begin_layout Standard
14189 LyX uses the program LaTeX as its backend.
14190  LaTeX is just a macro package for the TeX typesetting system, but to prevent
14191  confusion, we will only refer to LaTeX.
14192  LyX is what you use to do your actual writing.
14193  Then, LyX calls LaTeX to turn your writing into printable output.
14194  This happens in two stages:
14195 \end_layout
14196
14197 \begin_layout Enumerate
14198 First, LyX converts your document to a series of text commands for LaTeX,
14199  generating a file with the extension, 
14200 \begin_inset Quotes eld
14201 \end_inset
14202
14203
14204 \family typewriter
14205 .tex
14206 \family default
14207
14208 \begin_inset Quotes erd
14209 \end_inset
14210
14211 .
14212 \end_layout
14213
14214 \begin_layout Enumerate
14215 Next, LyX calls LaTeX to use the commands in the 
14216 \family typewriter
14217 .tex
14218 \family default
14219  file to produce printable output.
14220  
14221 \end_layout
14222
14223 \begin_layout Subsection
14224 Output file formats
14225 \begin_inset Index idx
14226 status collapsed
14227
14228 \begin_layout Plain Layout
14229 File formats
14230 \end_layout
14231
14232 \end_inset
14233
14234
14235 \begin_inset CommandInset label
14236 LatexCommand label
14237 name "sub:Output-file-formats"
14238
14239 \end_inset
14240
14241
14242 \end_layout
14243
14244 \begin_layout Subsubsection
14245 Simple text (ASCII)
14246 \begin_inset Index idx
14247 status collapsed
14248
14249 \begin_layout Plain Layout
14250 File formats ! ASCII
14251 \end_layout
14252
14253 \end_inset
14254
14255
14256 \end_layout
14257
14258 \begin_layout Standard
14259 This file type has the extension 
14260 \begin_inset Quotes eld
14261 \end_inset
14262
14263
14264 \family typewriter
14265 .txt
14266 \family default
14267
14268 \begin_inset Quotes erd
14269 \end_inset
14270
14271 .
14272  It contains your document as plain text following the rules of the 
14273 \begin_inset Quotes eld
14274 \end_inset
14275
14276 American Standard Code for Information Interchange
14277 \begin_inset Quotes erd
14278 \end_inset
14279
14280  (ASCII).
14281 \end_layout
14282
14283 \begin_layout Standard
14284 You can export your document to ASCII with the menu 
14285 \family sans
14286 File\SpecialChar \menuseparator
14287 Export\SpecialChar \menuseparator
14288 Plain
14289 \begin_inset space ~
14290 \end_inset
14291
14292 text
14293 \family default
14294  or 
14295 \family sans
14296 File\SpecialChar \menuseparator
14297 Export\SpecialChar \menuseparator
14298 Plain
14299 \begin_inset space ~
14300 \end_inset
14301
14302 text
14303 \begin_inset space ~
14304 \end_inset
14305
14306 (ps2ascii)
14307 \family default
14308 .
14309  The latter will first internally export to PostScript and then do the conversio
14310 n to ASCII.
14311 \end_layout
14312
14313 \begin_layout Subsubsection
14314 LaTeX
14315 \begin_inset Index idx
14316 status collapsed
14317
14318 \begin_layout Plain Layout
14319 File formats ! LaTeX
14320 \end_layout
14321
14322 \end_inset
14323
14324
14325 \end_layout
14326
14327 \begin_layout Standard
14328 This file type has the extension 
14329 \begin_inset Quotes eld
14330 \end_inset
14331
14332
14333 \family typewriter
14334 .tex
14335 \family default
14336
14337 \begin_inset Quotes erd
14338 \end_inset
14339
14340  and contains all commands that are necessary for the LaTeX program to process
14341  your document.
14342  If you know LaTeX, you can use it to find out LaTeX-Errors or to process
14343  it manually with console commands.
14344  The LaTeX-file is automatically created in LyX's temporary directory whenever
14345  you view or export your document.
14346 \end_layout
14347
14348 \begin_layout Standard
14349 You can export your document as a LaTeX-file using the menu 
14350 \family sans
14351 File\SpecialChar \menuseparator
14352 Export\SpecialChar \menuseparator
14353 LaT
14354 \begin_inset ERT
14355 status collapsed
14356
14357 \begin_layout Plain Layout
14358
14359 {}
14360 \end_layout
14361
14362 \end_inset
14363
14364 eX
14365 \family default
14366 .
14367  The different LaTeX export variants are explained in section
14368 \begin_inset space ~
14369 \end_inset
14370
14371
14372 \begin_inset CommandInset ref
14373 LatexCommand ref
14374 reference "sub:Export"
14375
14376 \end_inset
14377
14378 .
14379 \end_layout
14380
14381 \begin_layout Subsubsection
14382 DVI
14383 \begin_inset Index idx
14384 status collapsed
14385
14386 \begin_layout Plain Layout
14387 File formats ! DVI
14388 \end_layout
14389
14390 \end_inset
14391
14392
14393 \end_layout
14394
14395 \begin_layout Standard
14396 This file type has the extension 
14397 \begin_inset Quotes eld
14398 \end_inset
14399
14400
14401 \family typewriter
14402 .dvi
14403 \family default
14404
14405 \begin_inset Quotes erd
14406 \end_inset
14407
14408 .
14409  It is called 
14410 \begin_inset Quotes eld
14411 \end_inset
14412
14413 device-independent
14414 \begin_inset Quotes erd
14415 \end_inset
14416
14417  (DVI), because it is completely portable; you can move them from one machine
14418  to another without needing to do any sort of conversion.
14419  DVIs are used for quick previews and as pre-stage for other output formats,
14420  like PostScript.
14421 \end_layout
14422
14423 \begin_layout Standard
14424 DVI files do not contain images, they only link to them.
14425  So don't forget to deliver the images together with your DVIs.
14426  Because the DVI-viewer has to convert the images in the background to make
14427  them visible when you scroll the DVI, this can slow down your computer
14428  when you view the DVI.
14429  So we recommend using PDF for files with many images.
14430 \end_layout
14431
14432 \begin_layout Standard
14433 You can export your document to DVI by the menu 
14434 \family sans
14435 File\SpecialChar \menuseparator
14436 Export\SpecialChar \menuseparator
14437 DVI
14438 \family default
14439  or 
14440 \family sans
14441 File\SpecialChar \menuseparator
14442 Export\SpecialChar \menuseparator
14443 DVI
14444 \begin_inset space ~
14445 \end_inset
14446
14447 (LuaTe
14448 \begin_inset ERT
14449 status collapsed
14450
14451 \begin_layout Plain Layout
14452
14453 {}
14454 \end_layout
14455
14456 \end_inset
14457
14458 X).
14459
14460 \family default
14461  The latter option uses the program 
14462 \family typewriter
14463 LuaTeX
14464 \family default
14465 .
14466  
14467 \family typewriter
14468 LuaTeX
14469 \family default
14470  is an engine that provides direct Unicode support and support for direct
14471  font access (see section
14472 \begin_inset space ~
14473 \end_inset
14474
14475
14476 \begin_inset CommandInset ref
14477 LatexCommand ref
14478 reference "sub:LaTeX-font-support"
14479
14480 \end_inset
14481
14482 ).
14483  LuaTeX is still a work in progress, but it might develop into the next
14484  standard TeX processor.
14485 \end_layout
14486
14487 \begin_layout Subsubsection
14488 PostScript
14489 \begin_inset Index idx
14490 status collapsed
14491
14492 \begin_layout Plain Layout
14493 File formats ! PostScript
14494 \end_layout
14495
14496 \end_inset
14497
14498
14499 \end_layout
14500
14501 \begin_layout Standard
14502 This file type has the extension 
14503 \begin_inset Quotes eld
14504 \end_inset
14505
14506
14507 \family typewriter
14508 .ps
14509 \family default
14510
14511 \begin_inset Quotes erd
14512 \end_inset
14513
14514 .
14515  PostScript was developed by the company 
14516 \family typewriter
14517 Adobe
14518 \family default
14519  as a printer language.
14520  The file therefore contains commands that the printer uses to print the
14521  file.
14522  PostScript can be seen as a 
14523 \begin_inset Quotes eld
14524 \end_inset
14525
14526 programming language
14527 \begin_inset Quotes erd
14528 \end_inset
14529
14530 ; you can calculate with it and draw diagrams and images.
14531 \begin_inset Foot
14532 status collapsed
14533
14534 \begin_layout Plain Layout
14535 When you are interested to learn more about this, have a look at the LaTeX-packa
14536 ge 
14537 \series bold
14538 pstricks
14539 \series default
14540
14541 \begin_inset Index idx
14542 status collapsed
14543
14544 \begin_layout Plain Layout
14545 LaTeX-packages ! pstricks
14546 \end_layout
14547
14548 \end_inset
14549
14550 .
14551 \end_layout
14552
14553 \end_inset
14554
14555  Due to this ability, the files are often bigger than PDFs.
14556 \end_layout
14557
14558 \begin_layout Standard
14559 PostScript can only contain images in the format 
14560 \begin_inset Quotes eld
14561 \end_inset
14562
14563 Encapsulated PostScript
14564 \begin_inset Quotes erd
14565 \end_inset
14566
14567  (EPS, file extension 
14568 \begin_inset Quotes eld
14569 \end_inset
14570
14571
14572 \family typewriter
14573 .eps
14574 \family default
14575
14576 \begin_inset Quotes erd
14577 \end_inset
14578
14579 ).
14580  As LyX allows you to use any known image format in your document, it has
14581  to convert them in the background to EPS.
14582  If you have e.
14583 \begin_inset space \thinspace{}
14584 \end_inset
14585
14586 g.
14587 \begin_inset space \space{}
14588 \end_inset
14589
14590 50
14591 \begin_inset space ~
14592 \end_inset
14593
14594 images in your document, LyX has to do 50
14595 \begin_inset space ~
14596 \end_inset
14597
14598 conversions when you view or export your document the first time.
14599  This might slow down your workflow with LyX.
14600  So if you plan to use PostScript, you can insert your images directly as
14601  EPS to avoid this problem.
14602 \end_layout
14603
14604 \begin_layout Standard
14605 You can export your document to PostScript using the menu 
14606 \family sans
14607 File\SpecialChar \menuseparator
14608 Export\SpecialChar \menuseparator
14609 PostScript
14610 \family default
14611 .
14612 \end_layout
14613
14614 \begin_layout Subsubsection
14615 PDF
14616 \begin_inset Index idx
14617 status collapsed
14618
14619 \begin_layout Plain Layout
14620 File formats ! PDF
14621 \end_layout
14622
14623 \end_inset
14624
14625
14626 \begin_inset Index idx
14627 status collapsed
14628
14629 \begin_layout Plain Layout
14630 PDF
14631 \end_layout
14632
14633 \end_inset
14634
14635
14636 \end_layout
14637
14638 \begin_layout Standard
14639 This file type has the extension 
14640 \begin_inset Quotes eld
14641 \end_inset
14642
14643
14644 \family typewriter
14645 .pdf
14646 \family default
14647
14648 \begin_inset Quotes erd
14649 \end_inset
14650
14651 .
14652  The 
14653 \begin_inset Quotes eld
14654 \end_inset
14655
14656 Portable Document Format
14657 \begin_inset Quotes erd
14658 \end_inset
14659
14660  (PDF) developed by 
14661 \family typewriter
14662 Adobe
14663 \family default
14664  was derived from PostScript.
14665  It is more compressed and it uses fewer commands than PostScript.
14666  As the name 
14667 \begin_inset Quotes eld
14668 \end_inset
14669
14670 portable
14671 \begin_inset Quotes erd
14672 \end_inset
14673
14674  implies, it can be processed at any computer system and the printed output
14675  looks exactly the same.
14676 \end_layout
14677
14678 \begin_layout Standard
14679 PDF can contain images in its own PDF format and in the formats 
14680 \begin_inset Quotes eld
14681 \end_inset
14682
14683 Joint Photographic Experts Group
14684 \begin_inset Quotes erd
14685 \end_inset
14686
14687  (JPG, file extension 
14688 \begin_inset Quotes eld
14689 \end_inset
14690
14691
14692 \family typewriter
14693 .jpg
14694 \family default
14695
14696 \begin_inset Quotes erd
14697 \end_inset
14698
14699  or 
14700 \begin_inset Quotes eld
14701 \end_inset
14702
14703
14704 \family typewriter
14705 .jpeg
14706 \family default
14707
14708 \begin_inset Quotes erd
14709 \end_inset
14710
14711 ) and 
14712 \begin_inset Quotes eld
14713 \end_inset
14714
14715 Portable Network Graphics
14716 \begin_inset Quotes erd
14717 \end_inset
14718
14719  (PNG, file extension 
14720 \begin_inset Quotes eld
14721 \end_inset
14722
14723
14724 \family typewriter
14725 .png
14726 \family default
14727
14728 \begin_inset Quotes erd
14729 \end_inset
14730
14731 ).
14732  You can also use any other image format, because LyX converts them in the
14733  background to one of these formats.
14734  But as described in the section about PostScript, the image conversion
14735  will slow down your workflow.
14736  So we recommend using images in one of the three mentioned formats.
14737 \end_layout
14738
14739 \begin_layout Standard
14740 You can export your document to PDF via the menu 
14741 \family sans
14742 File\SpecialChar \menuseparator
14743 Export
14744 \family default
14745  in different ways:
14746 \end_layout
14747
14748 \begin_layout Description
14749 PDF
14750 \begin_inset space ~
14751 \end_inset
14752
14753 (ps2pdf) This uses the program 
14754 \family typewriter
14755 ps2pdf
14756 \family default
14757  that creates a PDF from a PostScript-version of your file.
14758  The PostScript-version is produced by the program 
14759 \family typewriter
14760 dvips
14761 \family default
14762  which uses a DVI-version as intermediate step.
14763  So this export variant consist of three conversions.
14764 \end_layout
14765
14766 \begin_layout Description
14767 PDF
14768 \begin_inset space ~
14769 \end_inset
14770
14771 (dvipdfm) This uses the program 
14772 \family typewriter
14773 dvipdfm
14774 \family default
14775  that converts your file in the background to DVI and in a second step to
14776  PDF.
14777 \end_layout
14778
14779 \begin_layout Description
14780 PDF
14781 \begin_inset space ~
14782 \end_inset
14783
14784 (pdflatex) This uses the program 
14785 \family typewriter
14786 pdftex
14787 \family default
14788  which converts your file directly to PDF.
14789 \end_layout
14790
14791 \begin_layout Description
14792 PDF
14793 \begin_inset space ~
14794 \end_inset
14795
14796 (XeTe
14797 \begin_inset ERT
14798 status collapsed
14799
14800 \begin_layout Plain Layout
14801
14802 {}
14803 \end_layout
14804
14805 \end_inset
14806
14807 X) This uses the program 
14808 \family typewriter
14809 XeTeX
14810 \family default
14811  that converts your file directly to PDF.
14812  
14813 \family typewriter
14814 XeTeX
14815 \family default
14816  is a new engine that provides direct Unicode support and support for direct
14817  font access (see section
14818 \begin_inset space ~
14819 \end_inset
14820
14821
14822 \begin_inset CommandInset ref
14823 LatexCommand ref
14824 reference "sub:LaTeX-font-support"
14825
14826 \end_inset
14827
14828 ).
14829  It is particularly good at typesetting different scripts, for example verticall
14830 y written Japanese.
14831 \end_layout
14832
14833 \begin_layout Description
14834 PDF
14835 \begin_inset space ~
14836 \end_inset
14837
14838 (LuaTe
14839 \begin_inset ERT
14840 status collapsed
14841
14842 \begin_layout Plain Layout
14843
14844 {}
14845 \end_layout
14846
14847 \end_inset
14848
14849 X) This uses the program 
14850 \family typewriter
14851 LuaTeX
14852 \family default
14853  which converts your file directly to PDF.
14854  
14855 \family typewriter
14856 LuaTeX
14857 \family default
14858  is an even newer engine, derived from 
14859 \family typewriter
14860 pdflatex
14861 \family default
14862 , that also provides direct Unicode support and support for direct font
14863  access (see section
14864 \begin_inset space ~
14865 \end_inset
14866
14867
14868 \begin_inset CommandInset ref
14869 LatexCommand ref
14870 reference "sub:LaTeX-font-support"
14871
14872 \end_inset
14873
14874 ).
14875  LuaTeX is still a work in progress, but it might develop into the next
14876  standard TeX processor.
14877 \end_layout
14878
14879 \begin_layout Standard
14880 We recommend using 
14881 \family sans
14882 PDF
14883 \begin_inset space ~
14884 \end_inset
14885
14886 (pdflatex)
14887 \family default
14888  because 
14889 \family typewriter
14890 pdftex
14891 \family default
14892  supports all the features of actual PDF-versions, is quick, stable, and
14893  works without problems.
14894  If you rely on multiscript support and\SpecialChar \slash{}
14895 or specific OpenType fonts, you might
14896  want to try out 
14897 \family sans
14898 PDF
14899 \begin_inset space ~
14900 \end_inset
14901
14902 (XeTe
14903 \begin_inset ERT
14904 status collapsed
14905
14906 \begin_layout Plain Layout
14907
14908 {}
14909 \end_layout
14910
14911 \end_inset
14912
14913 X)
14914 \family default
14915  or 
14916 \family sans
14917 PDF
14918 \begin_inset space ~
14919 \end_inset
14920
14921 (LuaTe
14922 \begin_inset ERT
14923 status collapsed
14924
14925 \begin_layout Plain Layout
14926
14927 {}
14928 \end_layout
14929
14930 \end_inset
14931
14932 X)
14933 \family default
14934  instead, bearing in mind that these two programs are not yet as mature
14935  as 
14936 \family typewriter
14937 pdflatex
14938 \family default
14939 .
14940 \end_layout
14941
14942 \begin_layout Subsubsection
14943 XHTML
14944 \begin_inset Index idx
14945 status collapsed
14946
14947 \begin_layout Plain Layout
14948 FileFormats ! XHTML
14949 \end_layout
14950
14951 \end_inset
14952
14953
14954 \begin_inset Index idx
14955 status collapsed
14956
14957 \begin_layout Plain Layout
14958 HTML
14959 \end_layout
14960
14961 \end_inset
14962
14963
14964 \end_layout
14965
14966 \begin_layout Standard
14967 This file type has the extension 
14968 \begin_inset Quotes eld
14969 \end_inset
14970
14971
14972 \family typewriter
14973 .xhtml
14974 \family default
14975
14976 \begin_inset Quotes erd
14977 \end_inset
14978
14979 .
14980  It is a file suitable for viewing in web browsers.
14981  It does not itself contain images and the like but only links to them.
14982  When LyX produces XHTML, it also generates corresponding images in formats
14983  suitable for the purpose.
14984  For the math output you can choose in the menu 
14985 \family sans
14986 Document\SpecialChar \menuseparator
14987 Settings\SpecialChar \menuseparator
14988 Output
14989 \family default
14990  between different formats, which are described in section 
14991 \emph on
14992 Math Output in XHTML
14993 \emph default
14994  of the 
14995 \emph on
14996 Additional
14997 \begin_inset space ~
14998 \end_inset
14999
15000 Features
15001 \emph default
15002  manual.
15003 \end_layout
15004
15005 \begin_layout Standard
15006 XHTML output remains 
15007 \begin_inset Quotes eld
15008 \end_inset
15009
15010 under development
15011 \begin_inset Quotes erd
15012 \end_inset
15013
15014 , and not all LyX features are supported yet.
15015  See the chapter 
15016 \emph on
15017 LyX and the World Wide Web
15018 \emph default
15019 , in the 
15020 \emph on
15021 Additional Features
15022 \emph default
15023  manual, for more information.
15024 \end_layout
15025
15026 \begin_layout Standard
15027 You can export your document as an XHTML file using the menu item 
15028 \family sans
15029 File\SpecialChar \menuseparator
15030 Export\SpecialChar \menuseparator
15031 LyXHTML
15032 \family default
15033 .
15034 \end_layout
15035
15036 \begin_layout Subsection
15037 Previewing
15038 \begin_inset Index idx
15039 status collapsed
15040
15041 \begin_layout Plain Layout
15042 Document ! Preview 
15043 \end_layout
15044
15045 \end_inset
15046
15047
15048 \end_layout
15049
15050 \begin_layout Standard
15051 To get a look at the final version of your document, with all of the page
15052  breaks in place, the footnotes correctly numbered, and so on, use the menu
15053  
15054 \family sans
15055 View
15056 \family default
15057  and choose 
15058 \family sans
15059 View
15060 \family default
15061  or use the toolbar button 
15062 \begin_inset Info
15063 type  "icon"
15064 arg   "buffer-view"
15065 \end_inset
15066
15067 .
15068  A viewing program will pop up showing the output in the defined default
15069  output format, which is globally set in the preferences (see sec.
15070 \begin_inset space \thinspace{}
15071 \end_inset
15072
15073
15074 \begin_inset CommandInset ref
15075 LatexCommand ref
15076 reference "sec:File-Formats"
15077
15078 \end_inset
15079
15080 ) and can also be altered for single documents in the document settings
15081  (see sec.
15082 \begin_inset space \thinspace{}
15083 \end_inset
15084
15085
15086 \begin_inset CommandInset ref
15087 LatexCommand ref
15088 reference "sec:Doc-Output"
15089
15090 \end_inset
15091
15092 ).
15093  Further output formats can be selected via 
15094 \family sans
15095 View\SpecialChar \menuseparator
15096 Other Formats
15097 \family default
15098  or the toolbar button 
15099 \begin_inset Graphics
15100         filename ../images/view-others.png
15101         scale 85
15102         groupId toolbarbuttons
15103
15104 \end_inset
15105
15106 .
15107 \end_layout
15108
15109 \begin_layout Standard
15110 If you have changed your document, you can refresh the output in the same
15111  viewer window using the menu 
15112 \family sans
15113 View\SpecialChar \menuseparator
15114 Update
15115 \family default
15116  or 
15117 \family sans
15118 View\SpecialChar \menuseparator
15119 Update (Other Formats)
15120 \family default
15121 , respectively.
15122 \end_layout
15123
15124 \begin_layout Standard
15125 When you preview a file, the output file is only generated in LyX's temporary
15126  directory.
15127  To have a real output, export your document.
15128 \end_layout
15129
15130 \begin_layout Subsection
15131 Printing the File from within LyX
15132 \begin_inset CommandInset label
15133 LatexCommand label
15134 name "sub:Printing-the-File"
15135
15136 \end_inset
15137
15138
15139 \end_layout
15140
15141 \begin_layout Standard
15142 Instead of exporting your file and then printing it, you can also print
15143  it directly from within LyX.
15144  To print a file, select the menu 
15145 \family sans
15146 File\SpecialChar \menuseparator
15147 Print
15148 \family default
15149  or click on the toolbar button 
15150 \begin_inset Info
15151 type  "icon"
15152 arg   "dialog-show print"
15153 \end_inset
15154
15155 .
15156  LyX will internally call LaTeX to produce a DVI.
15157  This file is then processed by the program 
15158 \family typewriter
15159 dvips
15160 \family default
15161  to PostScript-file, which is finally printed using the program 
15162 \family typewriter
15163 Ghostscript
15164 \family default
15165 .
15166  Due to these steps in the background, this method is not the fastest.
15167 \end_layout
15168
15169 \begin_layout Standard
15170 You can choose to print only even-numbered or odd-numbered pages — this
15171  is useful for printing on two sides: You can re-insert the pages after
15172  printing one set to print on the other side.
15173  Some printers spit out pages face-up, others, face-down.
15174  By choosing a particular order to print in, you can take the entire stack
15175  of pages out of the printer without needing to reorder them.
15176 \end_layout
15177
15178 \begin_layout Standard
15179 You can set the following print parameters in the 
15180 \family sans
15181 Print
15182 \begin_inset space ~
15183 \end_inset
15184
15185 Destination
15186 \family default
15187  box:
15188 \end_layout
15189
15190 \begin_layout Labeling
15191 \labelwidthstring 00.00.0000
15192
15193 \family sans
15194 Printer
15195 \family default
15196  This is the name of the printer to print to.
15197 \begin_inset Foot
15198 status collapsed
15199
15200 \begin_layout Plain Layout
15201 Note that this printer name is for the program 
15202 \family typewriter
15203 dvips
15204 \family default
15205 .
15206  That means 
15207 \family typewriter
15208 dvips
15209 \family default
15210  has to be configured for this printer name.
15211  The default printer can be set in LyX's preferences dialog, see section
15212 \begin_inset space ~
15213 \end_inset
15214
15215
15216 \begin_inset CommandInset ref
15217 LatexCommand ref
15218 reference "sub:Printer"
15219
15220 \end_inset
15221
15222 .
15223 \end_layout
15224
15225 \end_inset
15226
15227  The printer should understand PostScript.
15228 \end_layout
15229
15230 \begin_layout Labeling
15231 \labelwidthstring 00.00.0000
15232
15233 \family sans
15234 File
15235 \family default
15236  The name of a file to print to.
15237  The output will be a PostScript file.
15238  It will be written in LyX's working directory unless you specify the full
15239  path.
15240 \end_layout
15241
15242 \begin_layout Section
15243 A few Words about Typography
15244 \begin_inset Index idx
15245 status collapsed
15246
15247 \begin_layout Plain Layout
15248 Typography
15249 \end_layout
15250
15251 \end_inset
15252
15253
15254 \end_layout
15255
15256 \begin_layout Subsection
15257 Hyphens, Dashes and Minus Signs
15258 \begin_inset Index idx
15259 status collapsed
15260
15261 \begin_layout Plain Layout
15262 Hyphens
15263 \end_layout
15264
15265 \end_inset
15266
15267
15268 \begin_inset Index idx
15269 status collapsed
15270
15271 \begin_layout Plain Layout
15272 Dashes
15273 \end_layout
15274
15275 \end_inset
15276
15277
15278 \end_layout
15279
15280 \begin_layout Standard
15281 In LyX, the 
15282 \begin_inset Quotes eld
15283 \end_inset
15284
15285
15286 \family typewriter
15287 -
15288 \family default
15289
15290 \begin_inset Quotes erd
15291 \end_inset
15292
15293  character comes in four lengths: the 
15294 \emph on
15295 hyphen
15296 \emph default
15297 , the 
15298 \emph on
15299 en dash
15300 \emph default
15301 , the 
15302 \emph on
15303 em dash
15304 \emph default
15305 , and the minus sign:
15306 \begin_inset VSpace defskip
15307 \end_inset
15308
15309
15310 \end_layout
15311
15312 \begin_layout Standard
15313 \begin_inset Tabular
15314 <lyxtabular version="3" rows="5" columns="3">
15315 <features rotate="0" tabularvalignment="middle">
15316 <column alignment="left" valignment="top" width="0">
15317 <column alignment="left" valignment="top" width="0">
15318 <column alignment="left" valignment="top" width="0">
15319 <row interlinespace="3mm">
15320 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15321 \begin_inset Text
15322
15323 \begin_layout Plain Layout
15324 name
15325 \end_layout
15326
15327 \end_inset
15328 </cell>
15329 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15330 \begin_inset Text
15331
15332 \begin_layout Plain Layout
15333 output
15334 \end_layout
15335
15336 \end_inset
15337 </cell>
15338 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15339 \begin_inset Text
15340
15341 \begin_layout Plain Layout
15342 inserted with
15343 \end_layout
15344
15345 \end_inset
15346 </cell>
15347 </row>
15348 <row interlinespace="3mm">
15349 <cell alignment="center" valignment="top" usebox="none">
15350 \begin_inset Text
15351
15352 \begin_layout Plain Layout
15353 hyphen
15354 \end_layout
15355
15356 \end_inset
15357 </cell>
15358 <cell alignment="center" valignment="top" usebox="none">
15359 \begin_inset Text
15360
15361 \begin_layout Plain Layout
15362 -
15363 \end_layout
15364
15365 \end_inset
15366 </cell>
15367 <cell alignment="center" valignment="top" usebox="none">
15368 \begin_inset Text
15369
15370 \begin_layout Plain Layout
15371 \begin_inset Quotes eld
15372 \end_inset
15373
15374
15375 \family typewriter
15376 -
15377 \family default
15378
15379 \begin_inset Quotes erd
15380 \end_inset
15381
15382  in text
15383 \end_layout
15384
15385 \end_inset
15386 </cell>
15387 </row>
15388 <row interlinespace="3mm">
15389 <cell alignment="center" valignment="top" usebox="none">
15390 \begin_inset Text
15391
15392 \begin_layout Plain Layout
15393 en dash
15394 \end_layout
15395
15396 \end_inset
15397 </cell>
15398 <cell alignment="center" valignment="top" usebox="none">
15399 \begin_inset Text
15400
15401 \begin_layout Plain Layout
15402
15403 \end_layout
15404
15405 \end_inset
15406 </cell>
15407 <cell alignment="center" valignment="top" usebox="none">
15408 \begin_inset Text
15409
15410 \begin_layout Plain Layout
15411
15412 \family sans
15413 Insert\SpecialChar \menuseparator
15414 Special
15415 \begin_inset space ~
15416 \end_inset
15417
15418 Character\SpecialChar \menuseparator
15419 Symbols
15420 \end_layout
15421
15422 \end_inset
15423 </cell>
15424 </row>
15425 <row interlinespace="3mm">
15426 <cell alignment="center" valignment="top" usebox="none">
15427 \begin_inset Text
15428
15429 \begin_layout Plain Layout
15430 em dash
15431 \end_layout
15432
15433 \end_inset
15434 </cell>
15435 <cell alignment="center" valignment="top" usebox="none">
15436 \begin_inset Text
15437
15438 \begin_layout Plain Layout
15439
15440 \end_layout
15441
15442 \end_inset
15443 </cell>
15444 <cell alignment="center" valignment="top" usebox="none">
15445 \begin_inset Text
15446
15447 \begin_layout Plain Layout
15448
15449 \family sans
15450 Insert\SpecialChar \menuseparator
15451 Special
15452 \begin_inset space ~
15453 \end_inset
15454
15455 Character\SpecialChar \menuseparator
15456 Symbols
15457 \end_layout
15458
15459 \end_inset
15460 </cell>
15461 </row>
15462 <row>
15463 <cell alignment="center" valignment="top" usebox="none">
15464 \begin_inset Text
15465
15466 \begin_layout Plain Layout
15467 minus sign
15468 \end_layout
15469
15470 \end_inset
15471 </cell>
15472 <cell alignment="center" valignment="top" usebox="none">
15473 \begin_inset Text
15474
15475 \begin_layout Plain Layout
15476 \begin_inset Formula $-$
15477 \end_inset
15478
15479
15480 \end_layout
15481
15482 \end_inset
15483 </cell>
15484 <cell alignment="center" valignment="top" usebox="none">
15485 \begin_inset Text
15486
15487 \begin_layout Plain Layout
15488 \begin_inset Quotes eld
15489 \end_inset
15490
15491
15492 \family typewriter
15493 -
15494 \family default
15495
15496 \begin_inset Quotes erd
15497 \end_inset
15498
15499  in math mode
15500 \end_layout
15501
15502 \end_inset
15503 </cell>
15504 </row>
15505 </lyxtabular>
15506
15507 \end_inset
15508
15509
15510 \begin_inset VSpace defskip
15511 \end_inset
15512
15513
15514 \end_layout
15515
15516 \begin_layout Standard
15517 You can alternatively generate the en and em dash by inserting the 
15518 \begin_inset Quotes eld
15519 \end_inset
15520
15521
15522 \family typewriter
15523 -
15524 \family default
15525
15526 \begin_inset Quotes erd
15527 \end_inset
15528
15529  character multiple times in a row.
15530  They will automatically be converted to the appropriate length dash in
15531  the final output, but not in LyX.
15532  
15533 \begin_inset Quotes eld
15534 \end_inset
15535
15536 -
15537 \begin_inset space \thinspace{}
15538 \end_inset
15539
15540 -
15541 \begin_inset Quotes erd
15542 \end_inset
15543
15544  gives a en dash, 
15545 \begin_inset Quotes eld
15546 \end_inset
15547
15548 -
15549 \begin_inset space \thinspace{}
15550 \end_inset
15551
15552 -
15553 \begin_inset space \thinspace{}
15554 \end_inset
15555
15556 -
15557 \begin_inset Quotes erd
15558 \end_inset
15559
15560  a em dash.
15561 \end_layout
15562
15563 \begin_layout Standard
15564 The three dash types are distinct from the minus sign, which appears in
15565  math mode and has a length of its own.
15566  Here are some examples:
15567 \end_layout
15568
15569 \begin_layout Enumerate
15570 line- and page-breaks
15571 \begin_inset space \hfill{}
15572 \end_inset
15573
15574 (
15575 \emph on
15576 hyphen
15577 \emph default
15578 )
15579 \end_layout
15580
15581 \begin_layout Enumerate
15582 From A–Z
15583 \begin_inset space \hfill{}
15584 \end_inset
15585
15586 (
15587 \emph on
15588 en dash
15589 \emph default
15590 )
15591 \end_layout
15592
15593 \begin_layout Enumerate
15594 Oh — there's a dash.
15595 \begin_inset space \hfill{}
15596 \end_inset
15597
15598 (
15599 \emph on
15600 em dash
15601 \emph default
15602 )
15603 \end_layout
15604
15605 \begin_layout Enumerate
15606 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
15607 \end_inset
15608
15609
15610 \begin_inset space \hfill{}
15611 \end_inset
15612
15613 (
15614 \emph on
15615 minus sign
15616 \emph default
15617 )
15618 \end_layout
15619
15620 \begin_layout Subsection
15621 Hyphenation
15622 \begin_inset Index idx
15623 status collapsed
15624
15625 \begin_layout Plain Layout
15626 Hyphenation
15627 \end_layout
15628
15629 \end_inset
15630
15631
15632 \begin_inset CommandInset label
15633 LatexCommand label
15634 name "sub:Hyphenation"
15635
15636 \end_inset
15637
15638
15639 \end_layout
15640
15641 \begin_layout Standard
15642 Words are not hyphenated within LyX but automatically in the output.
15643  Hyphenation is done by the LaTeX-package 
15644 \series bold
15645 babel
15646 \series default
15647
15648 \begin_inset Index idx
15649 status collapsed
15650
15651 \begin_layout Plain Layout
15652 LaTeX-packages ! babel
15653 \end_layout
15654
15655 \end_inset
15656
15657  following the rules of the document language.
15658 \end_layout
15659
15660 \begin_layout Standard
15661 LaTeX hyphenates almost perfectly, it only has problems with text in the
15662  
15663 \family sans
15664 typewriter
15665 \family default
15666  font and with unusual constructs, like 
15667 \begin_inset Quotes eld
15668 \end_inset
15669
15670 h3knix/m0n0wall
15671 \begin_inset Quotes erd
15672 \end_inset
15673
15674 .
15675  If LaTeX cannot break a word correctly, you can set hyphenation points
15676  manually.
15677  This is done with the menu 
15678 \family sans
15679 Insert\SpecialChar \menuseparator
15680 Formatting\SpecialChar \menuseparator
15681 Hyphenation
15682 \begin_inset space ~
15683 \end_inset
15684
15685 Point
15686 \family default
15687 .
15688  These extra hyphenation points are only recommendations to LaTeX.
15689  If no hyphenation is necessary, LaTeX will ignore them.
15690 \end_layout
15691
15692 \begin_layout Standard
15693 Sometimes you want to prevent words or constructs from being hyphenated.
15694  Imagine that you are describing keybindings/shortcuts in your document
15695  in the form 
15696 \begin_inset Quotes eld
15697 \end_inset
15698
15699 A-b c
15700 \begin_inset Quotes erd
15701 \end_inset
15702
15703 .
15704  LaTeX would then see the hyphen 
15705 \begin_inset Quotes eld
15706 \end_inset
15707
15708 -
15709 \begin_inset Quotes erd
15710 \end_inset
15711
15712  as a hyphenation possibility.
15713  Hyphenating at this point would look ugly.
15714  To prevent the shortcut from being hyphenated, you can put it into a makebox
15715  as described in section 
15716 \begin_inset Quotes eld
15717 \end_inset
15718
15719 Prevent Hyphenation
15720 \begin_inset Quotes erd
15721 \end_inset
15722
15723  of the 
15724 \emph on
15725 Embedded
15726 \begin_inset space ~
15727 \end_inset
15728
15729 Objects
15730 \emph default
15731  manual.
15732 \end_layout
15733
15734 \begin_layout Subsection
15735 Punctuation Marks
15736 \begin_inset Index idx
15737 status collapsed
15738
15739 \begin_layout Plain Layout
15740 Punctuation marks
15741 \end_layout
15742
15743 \end_inset
15744
15745
15746 \end_layout
15747
15748 \begin_layout Subsubsection
15749 Abbreviations and End of Sentence
15750 \begin_inset CommandInset label
15751 LatexCommand label
15752 name "sub:Abbreviations"
15753
15754 \end_inset
15755
15756
15757 \end_layout
15758
15759 \begin_layout Standard
15760 When LyX calls LaTeX to generate the final version of your document, LaTeX
15761  automatically distinguishes between words, sentences, and abbreviations.
15762  LaTeX then adds the 
15763 \begin_inset Quotes eld
15764 \end_inset
15765
15766 appropriate amount of space
15767 \begin_inset Quotes erd
15768 \end_inset
15769
15770 .
15771  That means sentences get a little bit more space between the period and
15772  the next word.
15773  Abbreviations get the same amount of space after the period that a word
15774  gets after another word.
15775 \end_layout
15776
15777 \begin_layout Standard
15778 Unfortunately, the algorithm for figuring out what's an abbreviation does
15779  not work in all cases.
15780  If a 
15781 \begin_inset Quotes eld
15782 \end_inset
15783
15784
15785 \family typewriter
15786 .
15787 \family default
15788
15789 \begin_inset Quotes erd
15790 \end_inset
15791
15792  is at the end of a lowercase letter, it's the end of a sentence; if it's
15793  at the end of a capitalized letter, it's an abbreviation.
15794 \end_layout
15795
15796 \begin_layout Standard
15797 Here are some examples of 
15798 \emph on
15799 correct
15800 \emph default
15801  abbreviations and of the end of a sentence:
15802 \end_layout
15803
15804 \begin_layout Itemize
15805 M.
15806  Butterfly
15807 \end_layout
15808
15809 \begin_layout Itemize
15810 Don't worry.
15811  Be happy.
15812 \end_layout
15813
15814 \begin_layout Standard
15815 And here is an example of the algorithm going wrong:
15816 \end_layout
15817
15818 \begin_layout Itemize
15819 e.
15820 \begin_inset space \thinspace{}
15821 \end_inset
15822
15823 g.
15824  this is too much space!
15825 \end_layout
15826
15827 \begin_layout Itemize
15828 This is I.
15829  It's okay.
15830 \end_layout
15831
15832 \begin_layout Standard
15833 You will not see anything wrong until you view a final version of your document.
15834 \end_layout
15835
15836 \begin_layout Standard
15837 To fix this problem, use one of the following:
15838 \end_layout
15839
15840 \begin_layout Enumerate
15841 Use an 
15842 \family sans
15843 Inter-word
15844 \begin_inset space ~
15845 \end_inset
15846
15847 Space
15848 \family default
15849  after lowercase abbreviations (see section
15850 \begin_inset space ~
15851 \end_inset
15852
15853
15854 \begin_inset CommandInset ref
15855 LatexCommand ref
15856 reference "sub:Inter-word-Space"
15857
15858 \end_inset
15859
15860 ).
15861 \begin_inset Index idx
15862 status collapsed
15863
15864 \begin_layout Plain Layout
15865 Spaces ! inter-word
15866 \end_layout
15867
15868 \end_inset
15869
15870
15871 \end_layout
15872
15873 \begin_layout Enumerate
15874 Use a 
15875 \family sans
15876 Thin
15877 \begin_inset space ~
15878 \end_inset
15879
15880 Space
15881 \family default
15882  between two tokens of an abbreviation (see section
15883 \begin_inset space ~
15884 \end_inset
15885
15886
15887 \begin_inset CommandInset ref
15888 LatexCommand ref
15889 reference "sub:Thin-Space"
15890
15891 \end_inset
15892
15893 ).
15894 \begin_inset Index idx
15895 status collapsed
15896
15897 \begin_layout Plain Layout
15898 Spaces ! thin
15899 \end_layout
15900
15901 \end_inset
15902
15903
15904 \end_layout
15905
15906 \begin_layout Enumerate
15907 Use an 
15908 \family sans
15909 End
15910 \begin_inset space ~
15911 \end_inset
15912
15913 of
15914 \begin_inset space ~
15915 \end_inset
15916
15917 sentence
15918 \begin_inset space ~
15919 \end_inset
15920
15921 period
15922 \family default
15923  found under the 
15924 \family sans
15925 Insert\SpecialChar \menuseparator
15926 Special
15927 \begin_inset space ~
15928 \end_inset
15929
15930 Character
15931 \family default
15932  menu to force the use of inter-sentence spacing.
15933  This function is also bound to 
15934 \begin_inset Info
15935 type  "shortcut"
15936 arg   "specialchar-insert end-of-sentence"
15937 \end_inset
15938
15939  for easy access.
15940 \end_layout
15941
15942 \begin_layout Standard
15943 With the corrections, our earlier examples look like this:
15944 \end_layout
15945
15946 \begin_layout Itemize
15947 e.
15948 \begin_inset space \thinspace{}
15949 \end_inset
15950
15951 g.
15952 \begin_inset space \space{}
15953 \end_inset
15954
15955 this is too much space!
15956 \end_layout
15957
15958 \begin_layout Itemize
15959 This is I\SpecialChar \@.
15960  It's okay.
15961 \end_layout
15962
15963 \begin_layout Standard
15964 Some languages don't use extra spacing between sentences.
15965  If your language is such a language, you don't need to worry, because LaTeX
15966  will take care of this.
15967 \end_layout
15968
15969 \begin_layout Standard
15970 For those that do need to bother, there is help to catch those sneaky errors:
15971  Check out the 
15972 \family sans
15973 Check
15974 \begin_inset space ~
15975 \end_inset
15976
15977 TeX
15978 \family default
15979  feature described in section 
15980 \emph on
15981 Checking TeX
15982 \emph default
15983  of the 
15984 \emph on
15985 Additional Features
15986 \emph default
15987  manual.
15988 \end_layout
15989
15990 \begin_layout Subsubsection
15991 Quotes
15992 \begin_inset Index idx
15993 status collapsed
15994
15995 \begin_layout Plain Layout
15996 Typography ! Quotes
15997 \end_layout
15998
15999 \end_inset
16000
16001
16002 \begin_inset Index idx
16003 status collapsed
16004
16005 \begin_layout Plain Layout
16006 Quotes | see
16007 \begin_inset ERT
16008 status collapsed
16009
16010 \begin_layout Plain Layout
16011
16012 {
16013 \end_layout
16014
16015 \end_inset
16016
16017 Typography
16018 \begin_inset ERT
16019 status collapsed
16020
16021 \begin_layout Plain Layout
16022
16023 }
16024 \end_layout
16025
16026 \end_inset
16027
16028
16029 \end_layout
16030
16031 \end_inset
16032
16033
16034 \end_layout
16035
16036 \begin_layout Standard
16037 LyX usually sets quotes correctly.
16038  Specifically, it will use an opening quote at the beginning of quoted text,
16039  and use a closing quote at the end.
16040  For example, 
16041 \begin_inset Quotes eld
16042 \end_inset
16043
16044 open close
16045 \begin_inset Quotes erd
16046 \end_inset
16047
16048 .
16049  The keyboard character, 
16050 \family sans
16051 "
16052 \family default
16053 , generates this automatically.
16054 \end_layout
16055
16056 \begin_layout Standard
16057 You can specify what character the 
16058 \family sans
16059 "
16060 \family default
16061  key produces using the submenu 
16062 \family sans
16063 Language
16064 \family default
16065  of the 
16066 \family sans
16067 Document\SpecialChar \menuseparator
16068 Settings
16069 \family default
16070
16071 \begin_inset Index idx
16072 status collapsed
16073
16074 \begin_layout Plain Layout
16075 Document ! Settings
16076 \end_layout
16077
16078 \end_inset
16079
16080  dialog in the box 
16081 \family sans
16082 Quote Style
16083 \family default
16084 .
16085  There are six choices:
16086 \end_layout
16087
16088 \begin_layout Labeling
16089 \labelwidthstring 00.00.0000
16090
16091 \family sans
16092 \begin_inset Quotes eld
16093 \end_inset
16094
16095 Text
16096 \begin_inset Quotes erd
16097 \end_inset
16098
16099
16100 \family default
16101  Use quotes like this 
16102 \begin_inset Quotes eld
16103 \end_inset
16104
16105 double
16106 \begin_inset Quotes erd
16107 \end_inset
16108
16109
16110 \end_layout
16111
16112 \begin_layout Labeling
16113 \labelwidthstring 00.00.0000
16114
16115 \family sans
16116 \begin_inset Quotes sld
16117 \end_inset
16118
16119 Text
16120 \begin_inset Quotes srd
16121 \end_inset
16122
16123
16124 \family default
16125  Use quotes like 
16126 \begin_inset Quotes sld
16127 \end_inset
16128
16129 this
16130 \begin_inset Quotes srd
16131 \end_inset
16132
16133
16134 \end_layout
16135
16136 \begin_layout Labeling
16137 \labelwidthstring 00.00.0000
16138
16139 \family sans
16140 \begin_inset Quotes gld
16141 \end_inset
16142
16143 Text
16144 \begin_inset Quotes grd
16145 \end_inset
16146
16147
16148 \family default
16149  Use quotes like 
16150 \begin_inset Quotes gld
16151 \end_inset
16152
16153 this
16154 \begin_inset Quotes grd
16155 \end_inset
16156
16157
16158 \end_layout
16159
16160 \begin_layout Labeling
16161 \labelwidthstring 00.00.0000
16162
16163 \family sans
16164 \begin_inset Quotes pld
16165 \end_inset
16166
16167 Text
16168 \begin_inset Quotes prd
16169 \end_inset
16170
16171
16172 \family default
16173  Use quotes like 
16174 \begin_inset Quotes pld
16175 \end_inset
16176
16177 this
16178 \begin_inset Quotes prd
16179 \end_inset
16180
16181
16182 \end_layout
16183
16184 \begin_layout Labeling
16185 \labelwidthstring 00.00.0000
16186
16187 \family sans
16188 \begin_inset Quotes fld
16189 \end_inset
16190
16191 Text
16192 \begin_inset Quotes frd
16193 \end_inset
16194
16195
16196 \family default
16197  Use quotes like 
16198 \begin_inset Quotes fld
16199 \end_inset
16200
16201 this
16202 \begin_inset Quotes frd
16203 \end_inset
16204
16205
16206 \end_layout
16207
16208 \begin_layout Labeling
16209 \labelwidthstring 00.00.0000
16210
16211 \family sans
16212 \begin_inset Quotes ald
16213 \end_inset
16214
16215 Text
16216 \begin_inset Quotes ard
16217 \end_inset
16218
16219
16220 \family default
16221  Use quotes like 
16222 \begin_inset Quotes ald
16223 \end_inset
16224
16225 this
16226 \begin_inset Quotes ard
16227 \end_inset
16228
16229
16230 \end_layout
16231
16232 \begin_layout Subsection
16233 Ligatures
16234 \begin_inset Index idx
16235 status collapsed
16236
16237 \begin_layout Plain Layout
16238 Typography ! Ligatures
16239 \end_layout
16240
16241 \end_inset
16242
16243
16244 \begin_inset Index idx
16245 status collapsed
16246
16247 \begin_layout Plain Layout
16248 Ligatures | see
16249 \begin_inset ERT
16250 status collapsed
16251
16252 \begin_layout Plain Layout
16253
16254 {
16255 \end_layout
16256
16257 \end_inset
16258
16259 Typography
16260 \begin_inset ERT
16261 status collapsed
16262
16263 \begin_layout Plain Layout
16264
16265 }
16266 \end_layout
16267
16268 \end_inset
16269
16270
16271 \end_layout
16272
16273 \end_inset
16274
16275
16276 \begin_inset CommandInset label
16277 LatexCommand label
16278 name "sub:Ligatures"
16279
16280 \end_inset
16281
16282
16283 \end_layout
16284
16285 \begin_layout Standard
16286 It is standard typesetting practice to group certain letters together and
16287  print them as single characters.
16288  These groups are known as 
16289 \emph on
16290 ligatures
16291 \emph default
16292 .
16293  Since LaTeX knows about ligatures, your documents will contain them too
16294  in the output.
16295  Here are the standard ligatures:
16296 \end_layout
16297
16298 \begin_layout Itemize
16299 ff
16300 \end_layout
16301
16302 \begin_layout Itemize
16303 fi
16304 \end_layout
16305
16306 \begin_layout Itemize
16307 fl
16308 \end_layout
16309
16310 \begin_layout Itemize
16311 ffi
16312 \end_layout
16313
16314 \begin_layout Itemize
16315 ffl
16316 \end_layout
16317
16318 \begin_layout Standard
16319 Some languages uses other ligatures if the document font supports them.
16320 \end_layout
16321
16322 \begin_layout Standard
16323 Sometimes, you don't want a ligature in a word.
16324  While a ligature may be okay in the word, 
16325 \begin_inset Quotes eld
16326 \end_inset
16327
16328 graffiti,
16329 \begin_inset Quotes erd
16330 \end_inset
16331
16332  it looks really weird in compound words, such as 
16333 \begin_inset Quotes eld
16334 \end_inset
16335
16336 cufflink
16337 \begin_inset Quotes erd
16338 \end_inset
16339
16340  or the German 
16341 \begin_inset Quotes eld
16342 \end_inset
16343
16344 Dorffest.
16345 \begin_inset Quotes erd
16346 \end_inset
16347
16348  To break a ligature, use 
16349 \family sans
16350 Insert\SpecialChar \menuseparator
16351 Formatting\SpecialChar \menuseparator
16352 Ligature
16353 \begin_inset space ~
16354 \end_inset
16355
16356 Break.
16357
16358 \family default
16359  This changes 
16360 \begin_inset Quotes eld
16361 \end_inset
16362
16363 cufflinks
16364 \begin_inset Quotes erd
16365 \end_inset
16366
16367  to 
16368 \begin_inset Quotes eld
16369 \end_inset
16370
16371 cuff\SpecialChar \textcompwordmark{}
16372 links
16373 \begin_inset Quotes erd
16374 \end_inset
16375
16376  and 
16377 \begin_inset Quotes eld
16378 \end_inset
16379
16380 Dorffest
16381 \begin_inset Quotes erd
16382 \end_inset
16383
16384  to 
16385 \begin_inset Quotes eld
16386 \end_inset
16387
16388 Dorf\SpecialChar \textcompwordmark{}
16389 fest
16390 \begin_inset Quotes erd
16391 \end_inset
16392
16393 .
16394 \end_layout
16395
16396 \begin_layout Subsection
16397 LyX's Proper Names
16398 \begin_inset Index idx
16399 status collapsed
16400
16401 \begin_layout Plain Layout
16402 LyX ! Proper names
16403 \end_layout
16404
16405 \end_inset
16406
16407
16408 \begin_inset CommandInset label
16409 LatexCommand label
16410 name "sub:LyX's-Proper-Names"
16411
16412 \end_inset
16413
16414
16415 \end_layout
16416
16417 \begin_layout Standard
16418 You will certainly have noticed that the word “LaTeX” always appears with
16419  characters in different sizes and heights.
16420  LaTeX is the name of the program used by LyX and is therefore recognized
16421  as a proper name when you type it in LyX as 
16422 \begin_inset Quotes eld
16423 \end_inset
16424
16425 LaT
16426 \begin_inset ERT
16427 status collapsed
16428
16429 \begin_layout Plain Layout
16430
16431 {}
16432 \end_layout
16433
16434 \end_inset
16435
16436 eX
16437 \begin_inset Quotes erd
16438 \end_inset
16439
16440 .
16441 \begin_inset Note Note
16442 status collapsed
16443
16444 \begin_layout Plain Layout
16445 The braces in TeX Code are here to avoid that the 
16446 \begin_inset Quotes eld
16447 \end_inset
16448
16449 command
16450 \begin_inset Quotes erd
16451 \end_inset
16452
16453  appear as proper name in the output, see the last paragraph of this section.
16454  To create proper names omit the TeX Code.
16455 \end_layout
16456
16457 \end_inset
16458
16459  Note the order of the upper-and lowercase letters! LyX recognizes the following
16460  proper names:
16461 \end_layout
16462
16463 \begin_layout Description
16464 LyX The name of the game, write 
16465 \begin_inset Quotes eld
16466 \end_inset
16467
16468 L
16469 \begin_inset ERT
16470 status collapsed
16471
16472 \begin_layout Plain Layout
16473
16474 {}
16475 \end_layout
16476
16477 \end_inset
16478
16479 yX
16480 \begin_inset Quotes erd
16481 \end_inset
16482
16483  to produce it.
16484 \end_layout
16485
16486 \begin_layout Description
16487 TeX The program used by LaTeX, write 
16488 \begin_inset Quotes eld
16489 \end_inset
16490
16491 T
16492 \begin_inset ERT
16493 status collapsed
16494
16495 \begin_layout Plain Layout
16496
16497 {}
16498 \end_layout
16499
16500 \end_inset
16501
16502 eX
16503 \begin_inset Quotes erd
16504 \end_inset
16505
16506  to produce it.
16507 \end_layout
16508
16509 \begin_layout Description
16510 LaTeX The program used by LyX, write 
16511 \begin_inset Quotes eld
16512 \end_inset
16513
16514 LaT
16515 \begin_inset ERT
16516 status collapsed
16517
16518 \begin_layout Plain Layout
16519
16520 {}
16521 \end_layout
16522
16523 \end_inset
16524
16525 eX
16526 \begin_inset Quotes erd
16527 \end_inset
16528
16529  to produce it.
16530 \end_layout
16531
16532 \begin_layout Description
16533 LaTeX2e The actual version of LaTeX, write 
16534 \begin_inset Quotes eld
16535 \end_inset
16536
16537 LaT
16538 \begin_inset ERT
16539 status collapsed
16540
16541 \begin_layout Plain Layout
16542
16543 {}
16544 \end_layout
16545
16546 \end_inset
16547
16548 eX2e
16549 \begin_inset Quotes erd
16550 \end_inset
16551
16552  to produce it.
16553 \end_layout
16554
16555 \begin_layout Standard
16556 You might wonder why the LaTeX-version is 
16557 \begin_inset Quotes eld
16558 \end_inset
16559
16560 2
16561 \begin_inset Formula $\epsilon$
16562 \end_inset
16563
16564
16565 \begin_inset Quotes erd
16566 \end_inset
16567
16568 .
16569  It's an old tradition in the TeX-world to give programs geek version numbers.
16570  For example the version number of TeX converges to the number 
16571 \begin_inset Formula $\pi$
16572 \end_inset
16573
16574 : The actual version is 
16575 \begin_inset Quotes eld
16576 \end_inset
16577
16578 TeX-3.141592
16579 \begin_inset Quotes erd
16580 \end_inset
16581
16582 , the previous one was 
16583 \begin_inset Quotes eld
16584 \end_inset
16585
16586 TeX-3.14159
16587 \begin_inset Quotes erd
16588 \end_inset
16589
16590 .
16591 \end_layout
16592
16593 \begin_layout Standard
16594 If you don't want to use proper names, e.
16595 \begin_inset space \thinspace{}
16596 \end_inset
16597
16598 g.
16599 \begin_inset space \space{}
16600 \end_inset
16601
16602 in section headings, you can insert two empty braces in TeX Code in the
16603  word.
16604  This will look in LyX like: 
16605 \begin_inset Graphics
16606         filename clipart/LaTeX.png
16607         scale 80
16608
16609 \end_inset
16610
16611
16612 \begin_inset Newline newline
16613 \end_inset
16614
16615 For more about TeX Code, look at section
16616 \begin_inset space ~
16617 \end_inset
16618
16619
16620 \begin_inset CommandInset ref
16621 LatexCommand ref
16622 reference "sec:TeX-Code"
16623
16624 \end_inset
16625
16626 .
16627 \end_layout
16628
16629 \begin_layout Subsection
16630 Units
16631 \begin_inset Index idx
16632 status collapsed
16633
16634 \begin_layout Plain Layout
16635 Typography ! Units
16636 \end_layout
16637
16638 \end_inset
16639
16640
16641 \end_layout
16642
16643 \begin_layout Standard
16644 Generally the space between units and the number is smaller than the normal
16645  space between two words.
16646  As you can see in the example below, it looks better when the space is
16647  smaller.
16648  To get such a 
16649 \begin_inset Quotes eld
16650 \end_inset
16651
16652 half space
16653 \begin_inset Quotes erd
16654 \end_inset
16655
16656  for units use the menu 
16657 \family sans
16658 Insert\SpecialChar \menuseparator
16659 Formatting\SpecialChar \menuseparator
16660 Thin
16661 \begin_inset space ~
16662 \end_inset
16663
16664 Space
16665 \family default
16666  (shortcut 
16667 \begin_inset Info
16668 type  "shortcuts"
16669 arg   "space-insert thin"
16670 \end_inset
16671
16672 ).
16673 \end_layout
16674
16675 \begin_layout Standard
16676 Here is an example to show the differences:
16677 \end_layout
16678
16679 \begin_layout Standard
16680 \begin_inset Tabular
16681 <lyxtabular version="3" rows="2" columns="2">
16682 <features rotate="0" tabularvalignment="middle">
16683 <column alignment="left" valignment="top" width="0">
16684 <column alignment="left" valignment="top" width="0">
16685 <row>
16686 <cell alignment="center" valignment="top" usebox="none">
16687 \begin_inset Text
16688
16689 \begin_layout Plain Layout
16690 24
16691 \begin_inset space ~
16692 \end_inset
16693
16694 kW
16695 \begin_inset Formula $\cdot$
16696 \end_inset
16697
16698 h
16699 \end_layout
16700
16701 \end_inset
16702 </cell>
16703 <cell alignment="center" valignment="top" usebox="none">
16704 \begin_inset Text
16705
16706 \begin_layout Plain Layout
16707 space between number and unit
16708 \end_layout
16709
16710 \end_inset
16711 </cell>
16712 </row>
16713 <row>
16714 <cell alignment="center" valignment="top" usebox="none">
16715 \begin_inset Text
16716
16717 \begin_layout Plain Layout
16718 24
16719 \begin_inset space \thinspace{}
16720 \end_inset
16721
16722 kW
16723 \begin_inset Formula $\cdot$
16724 \end_inset
16725
16726 h
16727 \end_layout
16728
16729 \end_inset
16730 </cell>
16731 <cell alignment="center" valignment="top" usebox="none">
16732 \begin_inset Text
16733
16734 \begin_layout Plain Layout
16735 half space between number and unit
16736 \end_layout
16737
16738 \end_inset
16739 </cell>
16740 </row>
16741 </lyxtabular>
16742
16743 \end_inset
16744
16745
16746 \end_layout
16747
16748 \begin_layout Subsection
16749 Widows and Orphans
16750 \begin_inset Index idx
16751 status collapsed
16752
16753 \begin_layout Plain Layout
16754 Typography ! Widows and orphans
16755 \end_layout
16756
16757 \end_inset
16758
16759
16760 \end_layout
16761
16762 \begin_layout Standard
16763 In the early days of word processors, page breaks went wherever the page
16764  happened to end.
16765  There was no regard for what was actually going on in the text.
16766  You may remember once printing out a document, only to find the heading
16767  for a new section printed at the very bottom of the page, the first line
16768  of a new paragraph all alone at the bottom of a page, or the last line
16769  of a paragraph at the top of a new page.
16770  These bits of text became known as 
16771 \emph on
16772 widows
16773 \emph default
16774  and 
16775 \emph on
16776 orphans
16777 \emph default
16778 .
16779 \end_layout
16780
16781 \begin_layout Standard
16782 Clearly, LyX can avoid breaking pages after a section heading.
16783  That's part of the advantage of paragraph environments.
16784  But what about widows and orphans, where the page breaks leave one line
16785  of a paragraph all alone at the top or bottom of a page? There are rules
16786  built into LaTeX governing page breaks, and some of those rules are there
16787  to specifically prevent widows and orphans.
16788  This is the advantage LyX has in using LaTeX as its backend.
16789 \end_layout
16790
16791 \begin_layout Standard
16792 There's no way we can go into how TeX and LaTeX decide to break a page,
16793  or how you can tweak that behavior.
16794  Some LaTeX books listed in the bibliography (such as
16795 \begin_inset space ~
16796 \end_inset
16797
16798
16799 \begin_inset CommandInset citation
16800 LatexCommand cite
16801 key "latexcompanion"
16802
16803 \end_inset
16804
16805  or
16806 \begin_inset space ~
16807 \end_inset
16808
16809
16810 \begin_inset CommandInset citation
16811 LatexCommand cite
16812 key "latexguide"
16813
16814 \end_inset
16815
16816 ) may have more information.
16817  You will almost never need to worry about this, however.
16818 \end_layout
16819
16820 \begin_layout Chapter
16821 Notes, Graphics, Tables, and Floats
16822 \begin_inset CommandInset label
16823 LatexCommand label
16824 name "chap:Floats-and-Notes"
16825
16826 \end_inset
16827
16828
16829 \end_layout
16830
16831 \begin_layout Standard
16832 The issues of this chapter are described in detail in the 
16833 \emph on
16834 Embedded
16835 \begin_inset space ~
16836 \end_inset
16837
16838 Objects
16839 \emph default
16840  manual.
16841  There you will also find tips and tricks for special cases.
16842 \end_layout
16843
16844 \begin_layout Section
16845 Notes
16846 \begin_inset Index idx
16847 status collapsed
16848
16849 \begin_layout Plain Layout
16850 Notes
16851 \end_layout
16852
16853 \end_inset
16854
16855
16856 \begin_inset CommandInset label
16857 LatexCommand label
16858 name "sec:Notes"
16859
16860 \end_inset
16861
16862
16863 \end_layout
16864
16865 \begin_layout Standard
16866 LyX offers you a few types of notes to add to your document:
16867 \end_layout
16868
16869 \begin_layout Description
16870 LyX
16871 \begin_inset space ~
16872 \end_inset
16873
16874 Note This note type is for internal notes that will not appear in the output.
16875 \begin_inset Newline newline
16876 \end_inset
16877
16878
16879 \begin_inset Note Note
16880 status collapsed
16881
16882 \begin_layout Plain Layout
16883 This is text in a note box that doesn't appear in the output.
16884 \end_layout
16885
16886 \end_inset
16887
16888
16889 \end_layout
16890
16891 \begin_layout Description
16892 Comment This note also doesn't appear in the output but it does appear as
16893  a LaTeX-comment when you export the document to LaTeX via the menu 
16894 \family sans
16895 File\SpecialChar \menuseparator
16896 Export\SpecialChar \menuseparator
16897 LaTeX
16898 \begin_inset space ~
16899 \end_inset
16900
16901 (xxx)
16902 \family default
16903 .
16904 \begin_inset Newline newline
16905 \end_inset
16906
16907
16908 \begin_inset Note Comment
16909 status collapsed
16910
16911 \begin_layout Plain Layout
16912 This is text in a note box that only appears as a comment in LaTeX-files.
16913 \end_layout
16914
16915 \end_inset
16916
16917
16918 \end_layout
16919
16920 \begin_layout Description
16921 Greyed
16922 \begin_inset space ~
16923 \end_inset
16924
16925 Out This note will appear in the output as text in a color which you can
16926  set in the document settings under 
16927 \family sans
16928 Colors\SpecialChar \menuseparator
16929 Greyed-out
16930 \begin_inset space ~
16931 \end_inset
16932
16933 notes
16934 \family default
16935 .
16936 \begin_inset Newline newline
16937 \end_inset
16938
16939
16940 \begin_inset Newline newline
16941 \end_inset
16942
16943
16944 \begin_inset Note Greyedout
16945 status collapsed
16946
16947 \begin_layout Plain Layout
16948 This is text
16949 \begin_inset Foot
16950 status collapsed
16951
16952 \begin_layout Plain Layout
16953 This is an example footnote within a greyed out note.
16954  In this document the color of this note type is set to blue.
16955 \end_layout
16956
16957 \end_inset
16958
16959  of a comment that appears in the output.
16960 \end_layout
16961
16962 \end_inset
16963
16964
16965 \begin_inset Newline newline
16966 \end_inset
16967
16968
16969 \begin_inset Newline newline
16970 \end_inset
16971
16972 As you can see in the example, the first line of greyed out notes is a bit
16973  indented and greyed out notes can have footnotes.
16974 \end_layout
16975
16976 \begin_layout Standard
16977 Notes are inserted with the toolbar button 
16978 \begin_inset Info
16979 type  "icon"
16980 arg   "note-insert"
16981 \end_inset
16982
16983  or the menu 
16984 \family sans
16985 Insert\SpecialChar \menuseparator
16986 Note
16987 \family default
16988 .
16989  Right-click on the appearing note box to select the note type.
16990 \end_layout
16991
16992 \begin_layout Section
16993 Footnotes
16994 \begin_inset Index idx
16995 status collapsed
16996
16997 \begin_layout Plain Layout
16998 Footnotes
16999 \end_layout
17000
17001 \end_inset
17002
17003
17004 \begin_inset CommandInset label
17005 LatexCommand label
17006 name "sec:Footnotes"
17007
17008 \end_inset
17009
17010
17011 \end_layout
17012
17013 \begin_layout Standard
17014 LyX uses boxes to display footnotes: When you insert a footnote using the
17015  menu 
17016 \family sans
17017 Insert\SpecialChar \menuseparator
17018 Footnote
17019 \family default
17020  or the toolbar button 
17021 \begin_inset Info
17022 type  "icon"
17023 arg   "footnote-insert"
17024 \end_inset
17025
17026
17027 \family roman
17028 \series medium
17029 \bar no
17030 you will see
17031 \family default
17032 \series default
17033 \bar default
17034  the following box: 
17035 \begin_inset Graphics
17036         filename clipart/footnoteQt4.png
17037         scale 80
17038
17039 \end_inset
17040
17041
17042 \family roman
17043 \series medium
17044 \bar no
17045  This box is LyX's representation of your footnote.
17046  If you
17047 \family default
17048 \series default
17049 \bar default
17050  left-click on 
17051 \family roman
17052 \series medium
17053 \bar no
17054 the 
17055 \begin_inset Quotes eld
17056 \end_inset
17057
17058
17059 \family sans
17060 foot
17061 \family roman
17062
17063 \begin_inset Quotes erd
17064 \end_inset
17065
17066
17067 \family default
17068 \series default
17069 \bar default
17070  
17071 \family roman
17072 \series medium
17073 \bar no
17074 label, the box will
17075 \family default
17076 \series default
17077 \bar default
17078  be opened and you can enter the footnote text into it.
17079  Clicking on the box label again, will close 
17080 \family roman
17081 \series medium
17082 \bar no
17083 the
17084 \family default
17085 \series default
17086 \bar default
17087  box
17088 \family roman
17089 \series medium
17090 \bar no
17091 .
17092  If you want to turn existing text into a footnote, simply highlight it
17093  and click on the footnote
17094 \family default
17095 \series default
17096 \bar default
17097  toolbar 
17098 \family roman
17099 \series medium
17100 \bar no
17101 button
17102 \family default
17103 \series default
17104 \bar default
17105 .
17106 \end_layout
17107
17108 \begin_layout Standard
17109 Here is an example footnote:
17110 \family roman
17111 \series medium
17112 \bar no
17113
17114 \begin_inset Foot
17115 status collapsed
17116
17117 \begin_layout Plain Layout
17118 To close a footnote, click on the footnote box label.
17119 \end_layout
17120
17121 \end_inset
17122
17123
17124 \end_layout
17125
17126 \begin_layout Standard
17127 The footnote will appear in the output as a superscript number at the text
17128  position where the footnote box is placed.
17129  The footnote text is placed at the bottom of the current page.
17130  The footnote number is calculated by LyX.
17131  The numbers are consecutive, no matter in which chapter the footnote is
17132  in.
17133  LyX doesn't support other numbering schemes yet, but you can get other
17134  schemes using special LaTeX-commands.
17135  T
17136 \family roman
17137 h
17138 \family default
17139 ey are described in the 
17140 \emph on
17141 Embedded
17142 \begin_inset space ~
17143 \end_inset
17144
17145 Objects
17146 \emph default
17147  manual.
17148 \end_layout
17149
17150 \begin_layout Section
17151 Marginal Notes
17152 \begin_inset Index idx
17153 status collapsed
17154
17155 \begin_layout Plain Layout
17156 Marginal notes
17157 \end_layout
17158
17159 \end_inset
17160
17161
17162 \begin_inset CommandInset label
17163 LatexCommand label
17164 name "sec:Marginal-Notes"
17165
17166 \end_inset
17167
17168
17169 \end_layout
17170
17171 \begin_layout Standard
17172 Marginal notes look and behave just like footnotes in LyX.
17173  When you insert a margin note via the menu 
17174 \family sans
17175 Insert\SpecialChar \menuseparator
17176 Marginal
17177 \begin_inset space ~
17178 \end_inset
17179
17180 Note
17181 \family default
17182  or the toolbar button 
17183 \begin_inset Info
17184 type  "icon"
17185 arg   "marginalnote-insert"
17186 \end_inset
17187
17188 , you will see 
17189 \family roman
17190 \series medium
17191 a
17192 \family default
17193 \series default
17194  
17195 \family roman
17196 \series medium
17197 box with the
17198 \family default
17199 \series default
17200  
17201 \family roman
17202 \series medium
17203 label 
17204 \begin_inset Quotes eld
17205 \end_inset
17206
17207 margin
17208 \begin_inset Quotes erd
17209 \end_inset
17210
17211  appearing within your text.
17212  This box is LyX's representation of your margin
17213 \family default
17214 \series default
17215 al 
17216 \family roman
17217 \series medium
17218 note.
17219 \end_layout
17220
17221 \begin_layout Standard
17222 At the side of this sentence is an example marginal note.
17223 \family roman
17224 \series medium
17225
17226 \begin_inset Marginal
17227 status collapsed
17228
17229 \begin_layout Plain Layout
17230 This is a marginal note.
17231 \end_layout
17232
17233 \end_inset
17234
17235
17236 \end_layout
17237
17238 \begin_layout Standard
17239 Marginal notes appear at the right side in single-sided documents.
17240  In double-sided documents they appear in the outer margin – left on even
17241  pages, right on odd pages.
17242 \end_layout
17243
17244 \begin_layout Standard
17245 For further information about marginal notes see section 
17246 \emph on
17247 Margin
17248 \begin_inset space ~
17249 \end_inset
17250
17251 Notes
17252 \emph default
17253  of the 
17254 \emph on
17255 Embedded
17256 \begin_inset space ~
17257 \end_inset
17258
17259 Objects
17260 \emph default
17261  manual.
17262 \end_layout
17263
17264 \begin_layout Section
17265 Graphics and Images
17266 \begin_inset Index idx
17267 status collapsed
17268
17269 \begin_layout Plain Layout
17270 Images
17271 \end_layout
17272
17273 \end_inset
17274
17275
17276 \begin_inset Index idx
17277 status collapsed
17278
17279 \begin_layout Plain Layout
17280 Graphics
17281 \end_layout
17282
17283 \end_inset
17284
17285
17286 \begin_inset CommandInset label
17287 LatexCommand label
17288 name "sec:Graphics"
17289
17290 \end_inset
17291
17292
17293 \end_layout
17294
17295 \begin_layout Standard
17296 To insert an image in your document, place the cursor at the text position
17297  you want and click on the toolbar icon 
17298 \begin_inset Info
17299 type  "icon"
17300 arg   "dialog-show-new-inset graphics"
17301 \end_inset
17302
17303  or select 
17304 \family sans
17305 Insert\SpecialChar \menuseparator
17306 Graphics
17307 \family default
17308  from the menu.
17309  Then a dialog will appear to choose the file to load.
17310 \end_layout
17311
17312 \begin_layout Standard
17313 This dialog has numerous mostly self-explanatory parameters.
17314  The 
17315 \family sans
17316 Graphics
17317 \family default
17318  tab allows you to choose your image file.
17319  The image can be transformed by setting a rotation angle and a scaling
17320  factor.
17321  The scaling units are explained in Appendix
17322 \begin_inset space ~
17323 \end_inset
17324
17325
17326 \begin_inset CommandInset ref
17327 LatexCommand ref
17328 reference "chap:Units-available-in"
17329
17330 \end_inset
17331
17332 .
17333 \end_layout
17334
17335 \begin_layout Standard
17336 In the tab 
17337 \family sans
17338 Clipping
17339 \family default
17340  it is possible to set image coordinates to adjust the height and width
17341  of the image in the output.
17342  The coordinates can also be calculated automatically by pressing the button
17343  
17344 \family sans
17345 Get
17346 \begin_inset space ~
17347 \end_inset
17348
17349 from
17350 \begin_inset space ~
17351 \end_inset
17352
17353 file
17354 \family default
17355 .
17356  The option 
17357 \family sans
17358 Clip
17359 \begin_inset space ~
17360 \end_inset
17361
17362 to
17363 \begin_inset space ~
17364 \end_inset
17365
17366 bounding
17367 \begin_inset space ~
17368 \end_inset
17369
17370 box
17371 \family default
17372  will only print the image region within the given coordinates.
17373  Normally you don't need to take care about image coordinates and can ignore
17374  the tab 
17375 \family sans
17376 Clipping
17377 \family default
17378 .
17379 \end_layout
17380
17381 \begin_layout Standard
17382 In the 
17383 \family sans
17384 LaTeX and LyX options
17385 \family default
17386  tab LaTeX experts can specify additional LaTeX options.
17387  In this tab you can also specify the appearance of the image inside LyX.
17388  The option 
17389 \family sans
17390 Draft
17391 \begin_inset space ~
17392 \end_inset
17393
17394 mode
17395 \family default
17396  has the effect that the image doesn't appear in the output, only a frame
17397  with the image size is printed.
17398  The option 
17399 \family sans
17400 Don't
17401 \begin_inset space ~
17402 \end_inset
17403
17404 unzip
17405 \begin_inset space ~
17406 \end_inset
17407
17408 on
17409 \begin_inset space ~
17410 \end_inset
17411
17412 export
17413 \family default
17414  is explained in the 
17415 \emph on
17416 Embedded
17417 \begin_inset space ~
17418 \end_inset
17419
17420 Objects
17421 \emph default
17422  manual in section 
17423 \emph on
17424 Graphics Dialog
17425 \emph default
17426 .
17427 \end_layout
17428
17429 \begin_layout Standard
17430 The graphics dialog can be called at any time by clicking on an image.
17431  Images will appear in the output exactly at the position where they are
17432  in the text.
17433  This is an example image within a separate, horizontally centered paragraph:
17434  
17435 \end_layout
17436
17437 \begin_layout Standard
17438 \align center
17439 \begin_inset Graphics
17440         filename clipart/mobius.eps
17441         scale 70
17442
17443 \end_inset
17444
17445
17446 \end_layout
17447
17448 \begin_layout Standard
17449 If you need image captions or want to reference images, you have to put
17450  the image into a float, see section
17451 \begin_inset space ~
17452 \end_inset
17453
17454
17455 \begin_inset CommandInset ref
17456 LatexCommand ref
17457 reference "sub:Figure-Floats"
17458
17459 \end_inset
17460
17461 .
17462 \end_layout
17463
17464 \begin_layout Subsection
17465 Image Formats
17466 \begin_inset Index idx
17467 status collapsed
17468
17469 \begin_layout Plain Layout
17470 Images ! Formats
17471 \end_layout
17472
17473 \end_inset
17474
17475
17476 \begin_inset CommandInset label
17477 LatexCommand label
17478 name "sub:Image-Formats"
17479
17480 \end_inset
17481
17482
17483 \end_layout
17484
17485 \begin_layout Standard
17486 You can insert images in any known file format.
17487  But as we explained in section
17488 \begin_inset space ~
17489 \end_inset
17490
17491
17492 \begin_inset CommandInset ref
17493 LatexCommand ref
17494 reference "sub:Output-file-formats"
17495
17496 \end_inset
17497
17498 , every output document format allows only a few image formats.
17499  LyX therefore uses the program 
17500 \family typewriter
17501 ImageMagick
17502 \family default
17503  in the background to convert the images to the right format.
17504  To increase your workflow by avoiding these conversions in the background,
17505  use only the image formats listed in the subsections of section
17506 \begin_inset space ~
17507 \end_inset
17508
17509
17510 \begin_inset CommandInset ref
17511 LatexCommand ref
17512 reference "sub:Output-file-formats"
17513
17514 \end_inset
17515
17516 .
17517 \end_layout
17518
17519 \begin_layout Standard
17520 Similar to fonts there are two types of image formats:
17521 \end_layout
17522
17523 \begin_layout Description
17524 Bitmap
17525 \begin_inset space ~
17526 \end_inset
17527
17528 images consist of pixel values, often in a compressed form.
17529  They are therefore not fully scalable and look pixelated in large zooms.
17530  Well-known bitmap image formats are 
17531 \begin_inset Quotes eld
17532 \end_inset
17533
17534 Graphics Interchange Format
17535 \begin_inset Quotes erd
17536 \end_inset
17537
17538  (GIF, file extension 
17539 \begin_inset Quotes eld
17540 \end_inset
17541
17542
17543 \family typewriter
17544 .gif
17545 \family default
17546
17547 \begin_inset Quotes erd
17548 \end_inset
17549
17550 )
17551 \begin_inset Index idx
17552 status collapsed
17553
17554 \begin_layout Plain Layout
17555 GIF|see
17556 \begin_inset ERT
17557 status collapsed
17558
17559 \begin_layout Plain Layout
17560
17561 {
17562 \end_layout
17563
17564 \end_inset
17565
17566 Image formats
17567 \begin_inset ERT
17568 status collapsed
17569
17570 \begin_layout Plain Layout
17571
17572 }
17573 \end_layout
17574
17575 \end_inset
17576
17577
17578 \end_layout
17579
17580 \end_inset
17581
17582
17583 \begin_inset Quotes eld
17584 \end_inset
17585
17586 Portable Network Graphics
17587 \begin_inset Quotes erd
17588 \end_inset
17589
17590  (PNG, file extension 
17591 \begin_inset Quotes eld
17592 \end_inset
17593
17594
17595 \family typewriter
17596 .png
17597 \family default
17598
17599 \begin_inset Quotes erd
17600 \end_inset
17601
17602 )
17603 \begin_inset Index idx
17604 status collapsed
17605
17606 \begin_layout Plain Layout
17607 PNG|see
17608 \begin_inset ERT
17609 status collapsed
17610
17611 \begin_layout Plain Layout
17612
17613 {
17614 \end_layout
17615
17616 \end_inset
17617
17618 Image formats
17619 \begin_inset ERT
17620 status collapsed
17621
17622 \begin_layout Plain Layout
17623
17624 }
17625 \end_layout
17626
17627 \end_inset
17628
17629
17630 \end_layout
17631
17632 \end_inset
17633
17634 , and 
17635 \begin_inset Quotes eld
17636 \end_inset
17637
17638 Joint Photographic Experts Group
17639 \begin_inset Quotes erd
17640 \end_inset
17641
17642  (JPG, file extension 
17643 \begin_inset Quotes eld
17644 \end_inset
17645
17646
17647 \family typewriter
17648 .jpg
17649 \family default
17650
17651 \begin_inset Quotes erd
17652 \end_inset
17653
17654  or 
17655 \begin_inset Quotes eld
17656 \end_inset
17657
17658
17659 \family typewriter
17660 .jpeg
17661 \family default
17662
17663 \begin_inset Quotes erd
17664 \end_inset
17665
17666 )
17667 \begin_inset Index idx
17668 status collapsed
17669
17670 \begin_layout Plain Layout
17671 JPG|see
17672 \begin_inset ERT
17673 status collapsed
17674
17675 \begin_layout Plain Layout
17676
17677 {
17678 \end_layout
17679
17680 \end_inset
17681
17682 Image formats
17683 \begin_inset ERT
17684 status collapsed
17685
17686 \begin_layout Plain Layout
17687
17688 }
17689 \end_layout
17690
17691 \end_inset
17692
17693
17694 \end_layout
17695
17696 \end_inset
17697
17698 .
17699 \end_layout
17700
17701 \begin_layout Description
17702 Scalable
17703 \begin_inset space ~
17704 \end_inset
17705
17706 images consist of vectors and can therefore be scaled to any size without
17707  data loss.
17708  The scaling ability is desired if you want to create presentations, because
17709  presentations are always scaled by the beamer.
17710  Scaling is also useful for online documents to let the user zoom into diagrams.
17711 \begin_inset Newline newline
17712 \end_inset
17713
17714 Scalable image formats can be 
17715 \begin_inset Quotes eld
17716 \end_inset
17717
17718 Scalable Vector Graphics
17719 \begin_inset Quotes erd
17720 \end_inset
17721
17722  (SVG, file extension 
17723 \begin_inset Quotes eld
17724 \end_inset
17725
17726
17727 \family typewriter
17728 .svg
17729 \family default
17730
17731 \begin_inset Quotes erd
17732 \end_inset
17733
17734 )
17735 \begin_inset Index idx
17736 status collapsed
17737
17738 \begin_layout Plain Layout
17739 SVG|see
17740 \begin_inset ERT
17741 status collapsed
17742
17743 \begin_layout Plain Layout
17744
17745 {
17746 \end_layout
17747
17748 \end_inset
17749
17750 Image formats
17751 \begin_inset ERT
17752 status collapsed
17753
17754 \begin_layout Plain Layout
17755
17756 }
17757 \end_layout
17758
17759 \end_inset
17760
17761
17762 \end_layout
17763
17764 \end_inset
17765
17766
17767 \begin_inset Quotes eld
17768 \end_inset
17769
17770 Encapsulated PostScript
17771 \begin_inset Quotes erd
17772 \end_inset
17773
17774  (EPS, file extension 
17775 \begin_inset Quotes eld
17776 \end_inset
17777
17778
17779 \family typewriter
17780 .eps
17781 \family default
17782
17783 \begin_inset Quotes erd
17784 \end_inset
17785
17786 )
17787 \begin_inset Index idx
17788 status collapsed
17789
17790 \begin_layout Plain Layout
17791 EPS|see
17792 \begin_inset ERT
17793 status collapsed
17794
17795 \begin_layout Plain Layout
17796
17797 {
17798 \end_layout
17799
17800 \end_inset
17801
17802 Image formats
17803 \begin_inset ERT
17804 status collapsed
17805
17806 \begin_layout Plain Layout
17807
17808 }
17809 \end_layout
17810
17811 \end_inset
17812
17813
17814 \end_layout
17815
17816 \end_inset
17817
17818 , and 
17819 \begin_inset Quotes eld
17820 \end_inset
17821
17822 Portable Document Format
17823 \begin_inset Quotes erd
17824 \end_inset
17825
17826  (PDF, file extension 
17827 \begin_inset Quotes eld
17828 \end_inset
17829
17830
17831 \family typewriter
17832 .pdf
17833 \family default
17834
17835 \begin_inset Quotes erd
17836 \end_inset
17837
17838 )
17839 \begin_inset Index idx
17840 status collapsed
17841
17842 \begin_layout Plain Layout
17843 PDF
17844 \end_layout
17845
17846 \end_inset
17847
17848 .
17849  We say 
17850 \begin_inset Quotes eld
17851 \end_inset
17852
17853 can be
17854 \begin_inset Quotes erd
17855 \end_inset
17856
17857 , because you can convert any bitmap image format to PDF or EPS and the
17858  result will not be scalable.
17859  In this case only a header with the image properties is added to the original
17860  image.
17861 \begin_inset Foot
17862 status collapsed
17863
17864 \begin_layout Plain Layout
17865 In the case of PDF, the original image is additionally compressed.
17866 \end_layout
17867
17868 \end_inset
17869
17870
17871 \end_layout
17872
17873 \begin_layout Standard
17874 Normally one cannot convert a bitmap image into a scalable one, only vice
17875  versa.
17876 \end_layout
17877
17878 \begin_layout Subsection
17879 Grouping of Image Settings
17880 \begin_inset Index idx
17881 status collapsed
17882
17883 \begin_layout Plain Layout
17884 Images ! Settings grouping
17885 \end_layout
17886
17887 \end_inset
17888
17889
17890 \end_layout
17891
17892 \begin_layout Standard
17893 Each image can define a new group of image settings or join an existing
17894  group.
17895  Images within such a group share their settings, so adjusting one image
17896  of the group automatically also adjusts all other images of the group in
17897  the same way.
17898  So you can for example change the size for a bunch of images without the
17899  need to manually change each of them.
17900  
17901 \end_layout
17902
17903 \begin_layout Standard
17904 A new group can be set by entering a name in the 
17905 \family sans
17906 Group
17907 \begin_inset space ~
17908 \end_inset
17909
17910 Name
17911 \family default
17912  field in the Graphics dialog.
17913  Joining an existing group can be done using the context menu of the image
17914  by checking the name of the desired group.
17915 \end_layout
17916
17917 \begin_layout Section
17918 Tables
17919 \begin_inset Index idx
17920 status collapsed
17921
17922 \begin_layout Plain Layout
17923 Tables
17924 \end_layout
17925
17926 \end_inset
17927
17928
17929 \begin_inset CommandInset label
17930 LatexCommand label
17931 name "sec:Tables"
17932
17933 \end_inset
17934
17935
17936 \end_layout
17937
17938 \begin_layout Standard
17939 You can insert a table using either the toolbar button 
17940 \begin_inset Info
17941 type  "icon"
17942 arg   "tabular-insert"
17943 \end_inset
17944
17945  or the menu 
17946 \family sans
17947 Insert\SpecialChar \menuseparator
17948 Table
17949 \family default
17950 .
17951  A dialog will appear, asking you for the number of rows and columns.
17952  The default table has lines around any cell and the first row appears separated
17953  from the rest of the table.
17954  This separation appears due to a double line: The cells of the first row
17955  have a line below them and the cells of the second row have a line above
17956  them.
17957  Here is an example table:
17958 \end_layout
17959
17960 \begin_layout Standard
17961 \align center
17962 \begin_inset Tabular
17963 <lyxtabular version="3" rows="4" columns="4">
17964 <features rotate="0" tabularvalignment="middle">
17965 <column alignment="center" valignment="top" width="0pt">
17966 <column alignment="center" valignment="top" width="0pt">
17967 <column alignment="center" valignment="top" width="0in">
17968 <column alignment="center" valignment="top" width="0pt">
17969 <row>
17970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17971 \begin_inset Text
17972
17973 \begin_layout Plain Layout
17974
17975 \end_layout
17976
17977 \end_inset
17978 </cell>
17979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17980 \begin_inset Text
17981
17982 \begin_layout Plain Layout
17983
17984 \family roman
17985 \series medium
17986 \shape up
17987 \size normal
17988 \emph off
17989 \bar no
17990 \noun off
17991 \color none
17992 1
17993 \end_layout
17994
17995 \end_inset
17996 </cell>
17997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17998 \begin_inset Text
17999
18000 \begin_layout Plain Layout
18001 2
18002 \end_layout
18003
18004 \end_inset
18005 </cell>
18006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18007 \begin_inset Text
18008
18009 \begin_layout Plain Layout
18010 3
18011 \end_layout
18012
18013 \end_inset
18014 </cell>
18015 </row>
18016 <row>
18017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18018 \begin_inset Text
18019
18020 \begin_layout Plain Layout
18021
18022 \family roman
18023 \series medium
18024 \shape up
18025 \size normal
18026 \emph off
18027 \bar no
18028 \noun off
18029 \color none
18030 A
18031 \end_layout
18032
18033 \end_inset
18034 </cell>
18035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18036 \begin_inset Text
18037
18038 \begin_layout Plain Layout
18039
18040 \end_layout
18041
18042 \end_inset
18043 </cell>
18044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18045 \begin_inset Text
18046
18047 \begin_layout Plain Layout
18048
18049 \end_layout
18050
18051 \end_inset
18052 </cell>
18053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18054 \begin_inset Text
18055
18056 \begin_layout Plain Layout
18057
18058 \end_layout
18059
18060 \end_inset
18061 </cell>
18062 </row>
18063 <row>
18064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18065 \begin_inset Text
18066
18067 \begin_layout Plain Layout
18068
18069 \family roman
18070 \series medium
18071 \shape up
18072 \size normal
18073 \emph off
18074 \bar no
18075 \noun off
18076 \color none
18077 B
18078 \end_layout
18079
18080 \end_inset
18081 </cell>
18082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18083 \begin_inset Text
18084
18085 \begin_layout Plain Layout
18086
18087 \end_layout
18088
18089 \end_inset
18090 </cell>
18091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18092 \begin_inset Text
18093
18094 \begin_layout Plain Layout
18095
18096 \size normal
18097 \noun off
18098 \color none
18099  
18100 \end_layout
18101
18102 \end_inset
18103 </cell>
18104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18105 \begin_inset Text
18106
18107 \begin_layout Plain Layout
18108
18109 \end_layout
18110
18111 \end_inset
18112 </cell>
18113 </row>
18114 <row>
18115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18116 \begin_inset Text
18117
18118 \begin_layout Plain Layout
18119
18120 \family roman
18121 \series medium
18122 \shape up
18123 \size normal
18124 \emph off
18125 \bar no
18126 \noun off
18127 \color none
18128 C
18129 \end_layout
18130
18131 \end_inset
18132 </cell>
18133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18134 \begin_inset Text
18135
18136 \begin_layout Plain Layout
18137
18138 \end_layout
18139
18140 \end_inset
18141 </cell>
18142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18143 \begin_inset Text
18144
18145 \begin_layout Plain Layout
18146
18147 \end_layout
18148
18149 \end_inset
18150 </cell>
18151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18152 \begin_inset Text
18153
18154 \begin_layout Plain Layout
18155
18156 \end_layout
18157
18158 \end_inset
18159 </cell>
18160 </row>
18161 </lyxtabular>
18162
18163 \end_inset
18164
18165
18166 \end_layout
18167
18168 \begin_layout Subsection
18169 The Table dialog
18170 \end_layout
18171
18172 \begin_layout Standard
18173 You can alter a table by clicking on it with the right mouse button and
18174  then choosing 
18175 \family sans
18176 More\SpecialChar \menuseparator
18177 Settings
18178 \family default
18179 .
18180  This brings up the table dialog.
18181  Here you can adjust the settings of the cell, row and/or column where the
18182  cursor is placed currently.
18183  Most of the dialog options also work on selections.
18184  This means that if you select more cells, columns or rows the action is
18185  done on all of your selection.
18186 \end_layout
18187
18188 \begin_layout Standard
18189 In addition to the table dialog, the 
18190 \family sans
18191 table
18192 \begin_inset space ~
18193 \end_inset
18194
18195 toolbar
18196 \family default
18197  helps you in setting table properties.
18198  It appears if the cursor is inside a table.
18199 \end_layout
18200
18201 \begin_layout Standard
18202 In the tab 
18203 \family sans
18204 Table
18205 \begin_inset space ~
18206 \end_inset
18207
18208 Settings
18209 \family default
18210  of the table dialog you can set the alignment for the current row.
18211  If you add a row or column, it will be inserted right beside or below the
18212  current cell respectively.
18213  The vertical alignment of a column can only be adjusted when a column width
18214  is given.
18215  A given width will allow the cell to have line breaks and multiple paragraphs
18216  of text, see section
18217 \begin_inset space ~
18218 \end_inset
18219
18220
18221 \begin_inset CommandInset ref
18222 LatexCommand ref
18223 reference "sub:Table-Cells"
18224
18225 \end_inset
18226
18227 .
18228 \end_layout
18229
18230 \begin_layout Standard
18231 You can mark multiple cells of one row/column as a multicolumn/row cell
18232  using the check box 
18233 \family sans
18234 Multicolumn
18235 \family default
18236  or 
18237 \family sans
18238 Multirow
18239 \family default
18240 .
18241  This will merge the cells to 
18242 \emph on
18243 one
18244 \emph default
18245  cell, spread over more than one column/row.
18246  Multicolumn cells are treated as own rows, so that the alignment, width,
18247  and border settings affect only the multicolumn cell.
18248  Here is an example table with a multicolumn cell in the first row and one
18249  in the last row without the upper border:
18250 \end_layout
18251
18252 \begin_layout Standard
18253 \align center
18254 \begin_inset Tabular
18255 <lyxtabular version="3" rows="3" columns="4">
18256 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
18257 <column alignment="center" valignment="top" width="0pt">
18258 <column alignment="center" valignment="middle" width="0">
18259 <column alignment="center" valignment="top" width="0in">
18260 <column alignment="center" valignment="top" width="0pt">
18261 <row>
18262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18263 \begin_inset Text
18264
18265 \begin_layout Plain Layout
18266 abc
18267 \end_layout
18268
18269 \end_inset
18270 </cell>
18271 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
18272 \begin_inset Text
18273
18274 \begin_layout Plain Layout
18275 def ghi
18276 \end_layout
18277
18278 \end_inset
18279 </cell>
18280 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18281 \begin_inset Text
18282
18283 \begin_layout Plain Layout
18284
18285 \end_layout
18286
18287 \end_inset
18288 </cell>
18289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18290 \begin_inset Text
18291
18292 \begin_layout Plain Layout
18293 jkl
18294 \end_layout
18295
18296 \end_inset
18297 </cell>
18298 </row>
18299 <row>
18300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18301 \begin_inset Text
18302
18303 \begin_layout Plain Layout
18304
18305 \family roman
18306 \series medium
18307 \shape up
18308 \size normal
18309 \emph off
18310 \bar no
18311 \noun off
18312 \color none
18313 A
18314 \end_layout
18315
18316 \end_inset
18317 </cell>
18318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18319 \begin_inset Text
18320
18321 \begin_layout Plain Layout
18322 B
18323 \end_layout
18324
18325 \end_inset
18326 </cell>
18327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18328 \begin_inset Text
18329
18330 \begin_layout Plain Layout
18331 C
18332 \end_layout
18333
18334 \end_inset
18335 </cell>
18336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18337 \begin_inset Text
18338
18339 \begin_layout Plain Layout
18340 D
18341 \end_layout
18342
18343 \end_inset
18344 </cell>
18345 </row>
18346 <row>
18347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18348 \begin_inset Text
18349
18350 \begin_layout Plain Layout
18351 1
18352 \end_layout
18353
18354 \end_inset
18355 </cell>
18356 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18357 \begin_inset Text
18358
18359 \begin_layout Plain Layout
18360 2
18361 \end_layout
18362
18363 \end_inset
18364 </cell>
18365 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18366 \begin_inset Text
18367
18368 \begin_layout Plain Layout
18369 3
18370 \end_layout
18371
18372 \end_inset
18373 </cell>
18374 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18375 \begin_inset Text
18376
18377 \begin_layout Plain Layout
18378 4
18379 \end_layout
18380
18381 \end_inset
18382 </cell>
18383 </row>
18384 </lyxtabular>
18385
18386 \end_inset
18387
18388
18389 \end_layout
18390
18391 \begin_layout Standard
18392 Adept users can declare special LaTeX-arguments for the table.
18393  They are necessary for special table formatting, like for multirow cells,
18394  explained in the chapter 
18395 \emph on
18396 Tables
18397 \emph default
18398  of the 
18399 \emph on
18400 Embedded
18401 \begin_inset space ~
18402 \end_inset
18403
18404 Objects
18405 \emph default
18406  manual.
18407  You can also rotate the current cell or the whole table 90
18408 \begin_inset space \thinspace{}
18409 \end_inset
18410
18411 degrees counterclockwise.
18412  These rotations are not visible in LyX but are visible in the output.
18413 \end_layout
18414
18415 \begin_layout Standard
18416 \begin_inset Note Greyedout
18417 status collapsed
18418
18419 \begin_layout Plain Layout
18420
18421 \series bold
18422 Note:
18423 \series default
18424  Most DVI-viewers are 
18425 \emph on
18426 not
18427 \emph default
18428  able to display rotations.
18429 \end_layout
18430
18431 \end_inset
18432
18433
18434 \end_layout
18435
18436 \begin_layout Standard
18437 The 
18438 \family sans
18439 Borders
18440 \family default
18441  tab allows you to add and delete border lines for the current row/column.
18442  The button 
18443 \family sans
18444 Default
18445 \family default
18446  adds lines for all cell borders.
18447 \end_layout
18448
18449 \begin_layout Subsection
18450 Longtables
18451 \begin_inset Index idx
18452 status collapsed
18453
18454 \begin_layout Plain Layout
18455 Tables ! Longtables
18456 \end_layout
18457
18458 \end_inset
18459
18460
18461 \begin_inset Index idx
18462 status collapsed
18463
18464 \begin_layout Plain Layout
18465 Longtables
18466 \end_layout
18467
18468 \end_inset
18469
18470
18471 \end_layout
18472
18473 \begin_layout Standard
18474 If the table is too long to fit on one page, you can use the option 
18475 \family sans
18476 Use
18477 \begin_inset space ~
18478 \end_inset
18479
18480 long
18481 \begin_inset space ~
18482 \end_inset
18483
18484 table
18485 \family default
18486  in the tab 
18487 \family sans
18488 Longtable
18489 \family default
18490  of the table dialog to split the table automatically over more pages.
18491  Doing this enables some check boxes and you can now define:
18492 \end_layout
18493
18494 \begin_layout Description
18495
18496 \family sans
18497 Header
18498 \family default
18499 : The current row and all rows above, that don't have any special options
18500  defined, are defined to be the header rows of all pages of the longtable;
18501  except for the first page, if 
18502 \family sans
18503 First
18504 \begin_inset space ~
18505 \end_inset
18506
18507 header
18508 \family default
18509  is defined.
18510 \end_layout
18511
18512 \begin_layout Description
18513
18514 \family sans
18515 First
18516 \begin_inset space ~
18517 \end_inset
18518
18519 header
18520 \family default
18521 : The current row and all rows above, that don't have any special options
18522  defined, are defined to be the header rows of the first page of the longtable.
18523 \end_layout
18524
18525 \begin_layout Description
18526
18527 \family sans
18528 Footer
18529 \family default
18530 : The current row and all rows below, that don't have any special options
18531  defined, are defined to be the footer rows of all pages of the longtable;
18532  except for the last page, if 
18533 \family sans
18534 Last
18535 \begin_inset space ~
18536 \end_inset
18537
18538 footer
18539 \family default
18540  is defined.
18541 \end_layout
18542
18543 \begin_layout Description
18544
18545 \family sans
18546 Last
18547 \begin_inset space ~
18548 \end_inset
18549
18550 footer
18551 \family default
18552 : The current row and all rows below, that don't have any special options
18553  defined, are defined to be the footer rows of the last page of the longtable.
18554 \end_layout
18555
18556 \begin_layout Description
18557 Caption: The first row is reset as a single column.
18558  You can now insert there the table caption via the menu 
18559 \family sans
18560 Insert\SpecialChar \menuseparator
18561 Caption
18562 \family default
18563 .
18564  More about longtable captions can be found in the 
18565 \emph on
18566 Embedded
18567 \begin_inset space ~
18568 \end_inset
18569
18570 Objects
18571 \emph default
18572  manual.
18573 \end_layout
18574
18575 \begin_layout Standard
18576 You can also specify a row where the table is split.
18577  If you set more than one option in the same table row, you should be aware
18578  that then only the first option is used; the others will be defined as
18579  
18580 \emph on
18581 empty
18582 \emph default
18583 .
18584  In this context, first means first in this order: 
18585 \family sans
18586 Footer, Last
18587 \begin_inset space ~
18588 \end_inset
18589
18590 footer,
18591 \family default
18592  
18593 \family sans
18594 Header,
18595 \family default
18596  
18597 \family sans
18598 First
18599 \begin_inset space ~
18600 \end_inset
18601
18602 header
18603 \family default
18604 ; see the following longtable to see how it works:
18605 \end_layout
18606
18607 \begin_layout Standard
18608 \align center
18609 \begin_inset Tabular
18610 <lyxtabular version="3" rows="69" columns="3">
18611 <features rotate="0" islongtable="true" longtabularalignment="center">
18612 <column alignment="block" valignment="top" width="5cm">
18613 <column alignment="left" valignment="top" width="0pt">
18614 <column alignment="right" valignment="top" width="0pt">
18615 <row endfirsthead="true">
18616 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18617 \begin_inset Text
18618
18619 \begin_layout Plain Layout
18620
18621 \series bold
18622 Example Phone List (ignore the names)
18623 \end_layout
18624
18625 \end_inset
18626 </cell>
18627 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18628 \begin_inset Text
18629
18630 \begin_layout Plain Layout
18631
18632 \end_layout
18633
18634 \end_inset
18635 </cell>
18636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18637 \begin_inset Text
18638
18639 \begin_layout Plain Layout
18640
18641 \end_layout
18642
18643 \end_inset
18644 </cell>
18645 </row>
18646 <row endfirsthead="true">
18647 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18648 \begin_inset Text
18649
18650 \begin_layout Plain Layout
18651
18652 \series bold
18653 NAME
18654 \end_layout
18655
18656 \end_inset
18657 </cell>
18658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18659 \begin_inset Text
18660
18661 \begin_layout Plain Layout
18662
18663 \end_layout
18664
18665 \end_inset
18666 </cell>
18667 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18668 \begin_inset Text
18669
18670 \begin_layout Plain Layout
18671
18672 \series bold
18673 TEL.
18674 \end_layout
18675
18676 \end_inset
18677 </cell>
18678 </row>
18679 <row endhead="true">
18680 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18681 \begin_inset Text
18682
18683 \begin_layout Plain Layout
18684  
18685 \series bold
18686 Example Phone List
18687 \end_layout
18688
18689 \end_inset
18690 </cell>
18691 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18692 \begin_inset Text
18693
18694 \begin_layout Plain Layout
18695
18696 \end_layout
18697
18698 \end_inset
18699 </cell>
18700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18701 \begin_inset Text
18702
18703 \begin_layout Plain Layout
18704
18705 \end_layout
18706
18707 \end_inset
18708 </cell>
18709 </row>
18710 <row endhead="true">
18711 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18712 \begin_inset Text
18713
18714 \begin_layout Plain Layout
18715
18716 \series bold
18717 NAME
18718 \end_layout
18719
18720 \end_inset
18721 </cell>
18722 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18723 \begin_inset Text
18724
18725 \begin_layout Plain Layout
18726
18727 \end_layout
18728
18729 \end_inset
18730 </cell>
18731 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18732 \begin_inset Text
18733
18734 \begin_layout Plain Layout
18735
18736 \series bold
18737 TEL.
18738 \end_layout
18739
18740 \end_inset
18741 </cell>
18742 </row>
18743 <row endfoot="true">
18744 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18745 \begin_inset Text
18746
18747 \begin_layout Plain Layout
18748  
18749 \series bold
18750 continue ...
18751 \end_layout
18752
18753 \end_inset
18754 </cell>
18755 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18756 \begin_inset Text
18757
18758 \begin_layout Plain Layout
18759
18760 \end_layout
18761
18762 \end_inset
18763 </cell>
18764 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18765 \begin_inset Text
18766
18767 \begin_layout Plain Layout
18768
18769 \end_layout
18770
18771 \end_inset
18772 </cell>
18773 </row>
18774 <row>
18775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18776 \begin_inset Text
18777
18778 \begin_layout Plain Layout
18779
18780 \series bold
18781 Annovi
18782 \end_layout
18783
18784 \end_inset
18785 </cell>
18786 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18787 \begin_inset Text
18788
18789 \begin_layout Plain Layout
18790 Silvia
18791 \end_layout
18792
18793 \end_inset
18794 </cell>
18795 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18796 \begin_inset Text
18797
18798 \begin_layout Plain Layout
18799 111
18800 \end_layout
18801
18802 \end_inset
18803 </cell>
18804 </row>
18805 <row>
18806 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18807 \begin_inset Text
18808
18809 \begin_layout Plain Layout
18810
18811 \series bold
18812 Bertoli
18813 \end_layout
18814
18815 \end_inset
18816 </cell>
18817 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18818 \begin_inset Text
18819
18820 \begin_layout Plain Layout
18821 Stefano
18822 \end_layout
18823
18824 \end_inset
18825 </cell>
18826 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18827 \begin_inset Text
18828
18829 \begin_layout Plain Layout
18830 111
18831 \end_layout
18832
18833 \end_inset
18834 </cell>
18835 </row>
18836 <row>
18837 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18838 \begin_inset Text
18839
18840 \begin_layout Plain Layout
18841
18842 \series bold
18843 Bozzi
18844 \end_layout
18845
18846 \end_inset
18847 </cell>
18848 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18849 \begin_inset Text
18850
18851 \begin_layout Plain Layout
18852 Walter
18853 \end_layout
18854
18855 \end_inset
18856 </cell>
18857 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18858 \begin_inset Text
18859
18860 \begin_layout Plain Layout
18861 111
18862 \end_layout
18863
18864 \end_inset
18865 </cell>
18866 </row>
18867 <row>
18868 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18869 \begin_inset Text
18870
18871 \begin_layout Plain Layout
18872
18873 \series bold
18874 Cachia
18875 \end_layout
18876
18877 \end_inset
18878 </cell>
18879 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18880 \begin_inset Text
18881
18882 \begin_layout Plain Layout
18883 Maria
18884 \end_layout
18885
18886 \end_inset
18887 </cell>
18888 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18889 \begin_inset Text
18890
18891 \begin_layout Plain Layout
18892 111
18893 \end_layout
18894
18895 \end_inset
18896 </cell>
18897 </row>
18898 <row>
18899 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18900 \begin_inset Text
18901
18902 \begin_layout Plain Layout
18903
18904 \series bold
18905 Cachia
18906 \end_layout
18907
18908 \end_inset
18909 </cell>
18910 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18911 \begin_inset Text
18912
18913 \begin_layout Plain Layout
18914 Maurizio
18915 \end_layout
18916
18917 \end_inset
18918 </cell>
18919 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18920 \begin_inset Text
18921
18922 \begin_layout Plain Layout
18923 111
18924 \end_layout
18925
18926 \end_inset
18927 </cell>
18928 </row>
18929 <row>
18930 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18931 \begin_inset Text
18932
18933 \begin_layout Plain Layout
18934
18935 \series bold
18936 Cinquemani
18937 \end_layout
18938
18939 \end_inset
18940 </cell>
18941 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18942 \begin_inset Text
18943
18944 \begin_layout Plain Layout
18945 Giusi
18946 \end_layout
18947
18948 \end_inset
18949 </cell>
18950 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18951 \begin_inset Text
18952
18953 \begin_layout Plain Layout
18954 111
18955 \end_layout
18956
18957 \end_inset
18958 </cell>
18959 </row>
18960 <row>
18961 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18962 \begin_inset Text
18963
18964 \begin_layout Plain Layout
18965
18966 \series bold
18967 Colin
18968 \end_layout
18969
18970 \end_inset
18971 </cell>
18972 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18973 \begin_inset Text
18974
18975 \begin_layout Plain Layout
18976 Bernard
18977 \end_layout
18978
18979 \end_inset
18980 </cell>
18981 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18982 \begin_inset Text
18983
18984 \begin_layout Plain Layout
18985 111
18986 \end_layout
18987
18988 \end_inset
18989 </cell>
18990 </row>
18991 <row>
18992 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18993 \begin_inset Text
18994
18995 \begin_layout Plain Layout
18996
18997 \series bold
18998 Concli
18999 \end_layout
19000
19001 \end_inset
19002 </cell>
19003 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19004 \begin_inset Text
19005
19006 \begin_layout Plain Layout
19007 Gianfranco
19008 \end_layout
19009
19010 \end_inset
19011 </cell>
19012 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19013 \begin_inset Text
19014
19015 \begin_layout Plain Layout
19016 111
19017 \end_layout
19018
19019 \end_inset
19020 </cell>
19021 </row>
19022 <row>
19023 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19024 \begin_inset Text
19025
19026 \begin_layout Plain Layout
19027
19028 \series bold
19029 Dal Bosco
19030 \end_layout
19031
19032 \end_inset
19033 </cell>
19034 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19035 \begin_inset Text
19036
19037 \begin_layout Plain Layout
19038 Carolina
19039 \end_layout
19040
19041 \end_inset
19042 </cell>
19043 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19044 \begin_inset Text
19045
19046 \begin_layout Plain Layout
19047 111
19048 \end_layout
19049
19050 \end_inset
19051 </cell>
19052 </row>
19053 <row>
19054 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19055 \begin_inset Text
19056
19057 \begin_layout Plain Layout
19058
19059 \series bold
19060 Dalpiaz
19061 \end_layout
19062
19063 \end_inset
19064 </cell>
19065 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19066 \begin_inset Text
19067
19068 \begin_layout Plain Layout
19069 Annamaria
19070 \end_layout
19071
19072 \end_inset
19073 </cell>
19074 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19075 \begin_inset Text
19076
19077 \begin_layout Plain Layout
19078 111
19079 \end_layout
19080
19081 \end_inset
19082 </cell>
19083 </row>
19084 <row>
19085 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19086 \begin_inset Text
19087
19088 \begin_layout Plain Layout
19089
19090 \series bold
19091 Feliciello
19092 \end_layout
19093
19094 \end_inset
19095 </cell>
19096 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19097 \begin_inset Text
19098
19099 \begin_layout Plain Layout
19100 Domenico
19101 \end_layout
19102
19103 \end_inset
19104 </cell>
19105 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19106 \begin_inset Text
19107
19108 \begin_layout Plain Layout
19109 111
19110 \end_layout
19111
19112 \end_inset
19113 </cell>
19114 </row>
19115 <row>
19116 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19117 \begin_inset Text
19118
19119 \begin_layout Plain Layout
19120
19121 \series bold
19122 Focarelli
19123 \end_layout
19124
19125 \end_inset
19126 </cell>
19127 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19128 \begin_inset Text
19129
19130 \begin_layout Plain Layout
19131 Paola
19132 \end_layout
19133
19134 \end_inset
19135 </cell>
19136 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19137 \begin_inset Text
19138
19139 \begin_layout Plain Layout
19140 111
19141 \end_layout
19142
19143 \end_inset
19144 </cell>
19145 </row>
19146 <row>
19147 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19148 \begin_inset Text
19149
19150 \begin_layout Plain Layout
19151
19152 \series bold
19153 Galletti
19154 \end_layout
19155
19156 \end_inset
19157 </cell>
19158 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19159 \begin_inset Text
19160
19161 \begin_layout Plain Layout
19162 Oreste
19163 \end_layout
19164
19165 \end_inset
19166 </cell>
19167 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19168 \begin_inset Text
19169
19170 \begin_layout Plain Layout
19171 111
19172 \end_layout
19173
19174 \end_inset
19175 </cell>
19176 </row>
19177 <row>
19178 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19179 \begin_inset Text
19180
19181 \begin_layout Plain Layout
19182
19183 \series bold
19184 Gasparini
19185 \end_layout
19186
19187 \end_inset
19188 </cell>
19189 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19190 \begin_inset Text
19191
19192 \begin_layout Plain Layout
19193 Franca
19194 \end_layout
19195
19196 \end_inset
19197 </cell>
19198 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19199 \begin_inset Text
19200
19201 \begin_layout Plain Layout
19202 111
19203 \end_layout
19204
19205 \end_inset
19206 </cell>
19207 </row>
19208 <row>
19209 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19210 \begin_inset Text
19211
19212 \begin_layout Plain Layout
19213
19214 \series bold
19215 Rizzardi
19216 \end_layout
19217
19218 \end_inset
19219 </cell>
19220 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19221 \begin_inset Text
19222
19223 \begin_layout Plain Layout
19224 Paola
19225 \end_layout
19226
19227 \end_inset
19228 </cell>
19229 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19230 \begin_inset Text
19231
19232 \begin_layout Plain Layout
19233 111
19234 \end_layout
19235
19236 \end_inset
19237 </cell>
19238 </row>
19239 <row>
19240 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19241 \begin_inset Text
19242
19243 \begin_layout Plain Layout
19244
19245 \series bold
19246 Lassini
19247 \end_layout
19248
19249 \end_inset
19250 </cell>
19251 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19252 \begin_inset Text
19253
19254 \begin_layout Plain Layout
19255 Giancarlo
19256 \end_layout
19257
19258 \end_inset
19259 </cell>
19260 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19261 \begin_inset Text
19262
19263 \begin_layout Plain Layout
19264 111
19265 \end_layout
19266
19267 \end_inset
19268 </cell>
19269 </row>
19270 <row>
19271 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19272 \begin_inset Text
19273
19274 \begin_layout Plain Layout
19275
19276 \series bold
19277 Malfatti
19278 \end_layout
19279
19280 \end_inset
19281 </cell>
19282 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19283 \begin_inset Text
19284
19285 \begin_layout Plain Layout
19286 Luciano
19287 \end_layout
19288
19289 \end_inset
19290 </cell>
19291 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19292 \begin_inset Text
19293
19294 \begin_layout Plain Layout
19295 111
19296 \end_layout
19297
19298 \end_inset
19299 </cell>
19300 </row>
19301 <row>
19302 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19303 \begin_inset Text
19304
19305 \begin_layout Plain Layout
19306
19307 \series bold
19308 Malfatti
19309 \end_layout
19310
19311 \end_inset
19312 </cell>
19313 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19314 \begin_inset Text
19315
19316 \begin_layout Plain Layout
19317 Valeriano
19318 \end_layout
19319
19320 \end_inset
19321 </cell>
19322 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19323 \begin_inset Text
19324
19325 \begin_layout Plain Layout
19326 111
19327 \end_layout
19328
19329 \end_inset
19330 </cell>
19331 </row>
19332 <row>
19333 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19334 \begin_inset Text
19335
19336 \begin_layout Plain Layout
19337
19338 \series bold
19339 Meneguzzo
19340 \end_layout
19341
19342 \end_inset
19343 </cell>
19344 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19345 \begin_inset Text
19346
19347 \begin_layout Plain Layout
19348 Roberto
19349 \end_layout
19350
19351 \end_inset
19352 </cell>
19353 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19354 \begin_inset Text
19355
19356 \begin_layout Plain Layout
19357 111
19358 \end_layout
19359
19360 \end_inset
19361 </cell>
19362 </row>
19363 <row>
19364 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19365 \begin_inset Text
19366
19367 \begin_layout Plain Layout
19368
19369 \series bold
19370 Mezzadra
19371 \end_layout
19372
19373 \end_inset
19374 </cell>
19375 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19376 \begin_inset Text
19377
19378 \begin_layout Plain Layout
19379 Roberto
19380 \end_layout
19381
19382 \end_inset
19383 </cell>
19384 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19385 \begin_inset Text
19386
19387 \begin_layout Plain Layout
19388 111
19389 \end_layout
19390
19391 \end_inset
19392 </cell>
19393 </row>
19394 <row>
19395 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19396 \begin_inset Text
19397
19398 \begin_layout Plain Layout
19399
19400 \series bold
19401 Pirpamer
19402 \end_layout
19403
19404 \end_inset
19405 </cell>
19406 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19407 \begin_inset Text
19408
19409 \begin_layout Plain Layout
19410 Erich
19411 \end_layout
19412
19413 \end_inset
19414 </cell>
19415 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19416 \begin_inset Text
19417
19418 \begin_layout Plain Layout
19419 111
19420 \end_layout
19421
19422 \end_inset
19423 </cell>
19424 </row>
19425 <row>
19426 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19427 \begin_inset Text
19428
19429 \begin_layout Plain Layout
19430
19431 \series bold
19432 Pochiesa
19433 \end_layout
19434
19435 \end_inset
19436 </cell>
19437 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19438 \begin_inset Text
19439
19440 \begin_layout Plain Layout
19441 Paolo
19442 \end_layout
19443
19444 \end_inset
19445 </cell>
19446 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19447 \begin_inset Text
19448
19449 \begin_layout Plain Layout
19450 111, 222
19451 \end_layout
19452
19453 \end_inset
19454 </cell>
19455 </row>
19456 <row>
19457 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19458 \begin_inset Text
19459
19460 \begin_layout Plain Layout
19461
19462 \series bold
19463 Radina
19464 \end_layout
19465
19466 \end_inset
19467 </cell>
19468 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19469 \begin_inset Text
19470
19471 \begin_layout Plain Layout
19472 Claudio
19473 \end_layout
19474
19475 \end_inset
19476 </cell>
19477 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19478 \begin_inset Text
19479
19480 \begin_layout Plain Layout
19481 111
19482 \end_layout
19483
19484 \end_inset
19485 </cell>
19486 </row>
19487 <row>
19488 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19489 \begin_inset Text
19490
19491 \begin_layout Plain Layout
19492
19493 \series bold
19494 Stuffer
19495 \end_layout
19496
19497 \end_inset
19498 </cell>
19499 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19500 \begin_inset Text
19501
19502 \begin_layout Plain Layout
19503 Oskar
19504 \end_layout
19505
19506 \end_inset
19507 </cell>
19508 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19509 \begin_inset Text
19510
19511 \begin_layout Plain Layout
19512 111
19513 \end_layout
19514
19515 \end_inset
19516 </cell>
19517 </row>
19518 <row>
19519 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19520 \begin_inset Text
19521
19522 \begin_layout Plain Layout
19523
19524 \series bold
19525 Tacchelli
19526 \end_layout
19527
19528 \end_inset
19529 </cell>
19530 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19531 \begin_inset Text
19532
19533 \begin_layout Plain Layout
19534 Ugo
19535 \end_layout
19536
19537 \end_inset
19538 </cell>
19539 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19540 \begin_inset Text
19541
19542 \begin_layout Plain Layout
19543 111
19544 \end_layout
19545
19546 \end_inset
19547 </cell>
19548 </row>
19549 <row>
19550 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19551 \begin_inset Text
19552
19553 \begin_layout Plain Layout
19554
19555 \series bold
19556 Tezzele
19557 \end_layout
19558
19559 \end_inset
19560 </cell>
19561 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19562 \begin_inset Text
19563
19564 \begin_layout Plain Layout
19565 Margit
19566 \end_layout
19567
19568 \end_inset
19569 </cell>
19570 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19571 \begin_inset Text
19572
19573 \begin_layout Plain Layout
19574 111
19575 \end_layout
19576
19577 \end_inset
19578 </cell>
19579 </row>
19580 <row>
19581 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19582 \begin_inset Text
19583
19584 \begin_layout Plain Layout
19585
19586 \series bold
19587 Unterkalmsteiner
19588 \end_layout
19589
19590 \end_inset
19591 </cell>
19592 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19593 \begin_inset Text
19594
19595 \begin_layout Plain Layout
19596 Frieda
19597 \end_layout
19598
19599 \end_inset
19600 </cell>
19601 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19602 \begin_inset Text
19603
19604 \begin_layout Plain Layout
19605 111
19606 \end_layout
19607
19608 \end_inset
19609 </cell>
19610 </row>
19611 <row>
19612 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19613 \begin_inset Text
19614
19615 \begin_layout Plain Layout
19616
19617 \series bold
19618 Vieider
19619 \end_layout
19620
19621 \end_inset
19622 </cell>
19623 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19624 \begin_inset Text
19625
19626 \begin_layout Plain Layout
19627 Hilde
19628 \end_layout
19629
19630 \end_inset
19631 </cell>
19632 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19633 \begin_inset Text
19634
19635 \begin_layout Plain Layout
19636 111
19637 \end_layout
19638
19639 \end_inset
19640 </cell>
19641 </row>
19642 <row>
19643 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19644 \begin_inset Text
19645
19646 \begin_layout Plain Layout
19647
19648 \series bold
19649 Vigna
19650 \end_layout
19651
19652 \end_inset
19653 </cell>
19654 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19655 \begin_inset Text
19656
19657 \begin_layout Plain Layout
19658 Jürgen
19659 \end_layout
19660
19661 \end_inset
19662 </cell>
19663 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19664 \begin_inset Text
19665
19666 \begin_layout Plain Layout
19667 111
19668 \end_layout
19669
19670 \end_inset
19671 </cell>
19672 </row>
19673 <row>
19674 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19675 \begin_inset Text
19676
19677 \begin_layout Plain Layout
19678
19679 \series bold
19680 Weber
19681 \end_layout
19682
19683 \end_inset
19684 </cell>
19685 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19686 \begin_inset Text
19687
19688 \begin_layout Plain Layout
19689 Maurizio
19690 \end_layout
19691
19692 \end_inset
19693 </cell>
19694 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19695 \begin_inset Text
19696
19697 \begin_layout Plain Layout
19698 111
19699 \end_layout
19700
19701 \end_inset
19702 </cell>
19703 </row>
19704 <row>
19705 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19706 \begin_inset Text
19707
19708 \begin_layout Plain Layout
19709
19710 \series bold
19711 Winkler
19712 \end_layout
19713
19714 \end_inset
19715 </cell>
19716 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19717 \begin_inset Text
19718
19719 \begin_layout Plain Layout
19720 Franz
19721 \end_layout
19722
19723 \end_inset
19724 </cell>
19725 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19726 \begin_inset Text
19727
19728 \begin_layout Plain Layout
19729 111
19730 \end_layout
19731
19732 \end_inset
19733 </cell>
19734 </row>
19735 <row>
19736 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19737 \begin_inset Text
19738
19739 \begin_layout Plain Layout
19740  
19741 \end_layout
19742
19743 \end_inset
19744 </cell>
19745 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
19746 \begin_inset Text
19747
19748 \begin_layout Plain Layout
19749
19750 \end_layout
19751
19752 \end_inset
19753 </cell>
19754 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19755 \begin_inset Text
19756
19757 \begin_layout Plain Layout
19758
19759 \end_layout
19760
19761 \end_inset
19762 </cell>
19763 </row>
19764 <row>
19765 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19766 \begin_inset Text
19767
19768 \begin_layout Plain Layout
19769
19770 \series bold
19771 Annovi
19772 \end_layout
19773
19774 \end_inset
19775 </cell>
19776 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19777 \begin_inset Text
19778
19779 \begin_layout Plain Layout
19780 Silvia
19781 \end_layout
19782
19783 \end_inset
19784 </cell>
19785 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19786 \begin_inset Text
19787
19788 \begin_layout Plain Layout
19789 555
19790 \end_layout
19791
19792 \end_inset
19793 </cell>
19794 </row>
19795 <row>
19796 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19797 \begin_inset Text
19798
19799 \begin_layout Plain Layout
19800
19801 \series bold
19802 Bertoli
19803 \end_layout
19804
19805 \end_inset
19806 </cell>
19807 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19808 \begin_inset Text
19809
19810 \begin_layout Plain Layout
19811 Stefano
19812 \end_layout
19813
19814 \end_inset
19815 </cell>
19816 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19817 \begin_inset Text
19818
19819 \begin_layout Plain Layout
19820 555
19821 \end_layout
19822
19823 \end_inset
19824 </cell>
19825 </row>
19826 <row>
19827 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19828 \begin_inset Text
19829
19830 \begin_layout Plain Layout
19831
19832 \series bold
19833 Bozzi
19834 \end_layout
19835
19836 \end_inset
19837 </cell>
19838 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19839 \begin_inset Text
19840
19841 \begin_layout Plain Layout
19842 Walter
19843 \end_layout
19844
19845 \end_inset
19846 </cell>
19847 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19848 \begin_inset Text
19849
19850 \begin_layout Plain Layout
19851 555
19852 \end_layout
19853
19854 \end_inset
19855 </cell>
19856 </row>
19857 <row>
19858 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19859 \begin_inset Text
19860
19861 \begin_layout Plain Layout
19862
19863 \series bold
19864 Cachia
19865 \end_layout
19866
19867 \end_inset
19868 </cell>
19869 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19870 \begin_inset Text
19871
19872 \begin_layout Plain Layout
19873 Maria
19874 \end_layout
19875
19876 \end_inset
19877 </cell>
19878 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19879 \begin_inset Text
19880
19881 \begin_layout Plain Layout
19882 555
19883 \end_layout
19884
19885 \end_inset
19886 </cell>
19887 </row>
19888 <row>
19889 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19890 \begin_inset Text
19891
19892 \begin_layout Plain Layout
19893
19894 \series bold
19895 Cachia
19896 \end_layout
19897
19898 \end_inset
19899 </cell>
19900 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19901 \begin_inset Text
19902
19903 \begin_layout Plain Layout
19904 Maurizio
19905 \end_layout
19906
19907 \end_inset
19908 </cell>
19909 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19910 \begin_inset Text
19911
19912 \begin_layout Plain Layout
19913 555
19914 \end_layout
19915
19916 \end_inset
19917 </cell>
19918 </row>
19919 <row>
19920 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19921 \begin_inset Text
19922
19923 \begin_layout Plain Layout
19924
19925 \series bold
19926 Cinquemani
19927 \end_layout
19928
19929 \end_inset
19930 </cell>
19931 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19932 \begin_inset Text
19933
19934 \begin_layout Plain Layout
19935 Giusi
19936 \end_layout
19937
19938 \end_inset
19939 </cell>
19940 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19941 \begin_inset Text
19942
19943 \begin_layout Plain Layout
19944 555
19945 \end_layout
19946
19947 \end_inset
19948 </cell>
19949 </row>
19950 <row>
19951 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19952 \begin_inset Text
19953
19954 \begin_layout Plain Layout
19955
19956 \series bold
19957 Colin
19958 \end_layout
19959
19960 \end_inset
19961 </cell>
19962 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19963 \begin_inset Text
19964
19965 \begin_layout Plain Layout
19966 Bernard
19967 \end_layout
19968
19969 \end_inset
19970 </cell>
19971 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19972 \begin_inset Text
19973
19974 \begin_layout Plain Layout
19975 555
19976 \end_layout
19977
19978 \end_inset
19979 </cell>
19980 </row>
19981 <row>
19982 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19983 \begin_inset Text
19984
19985 \begin_layout Plain Layout
19986
19987 \series bold
19988 Concli
19989 \end_layout
19990
19991 \end_inset
19992 </cell>
19993 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19994 \begin_inset Text
19995
19996 \begin_layout Plain Layout
19997 Gianfranco
19998 \end_layout
19999
20000 \end_inset
20001 </cell>
20002 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20003 \begin_inset Text
20004
20005 \begin_layout Plain Layout
20006 555
20007 \end_layout
20008
20009 \end_inset
20010 </cell>
20011 </row>
20012 <row>
20013 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20014 \begin_inset Text
20015
20016 \begin_layout Plain Layout
20017
20018 \series bold
20019 Dal Bosco
20020 \end_layout
20021
20022 \end_inset
20023 </cell>
20024 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20025 \begin_inset Text
20026
20027 \begin_layout Plain Layout
20028 Carolina
20029 \end_layout
20030
20031 \end_inset
20032 </cell>
20033 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20034 \begin_inset Text
20035
20036 \begin_layout Plain Layout
20037 555
20038 \end_layout
20039
20040 \end_inset
20041 </cell>
20042 </row>
20043 <row>
20044 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20045 \begin_inset Text
20046
20047 \begin_layout Plain Layout
20048
20049 \series bold
20050 Dalpiaz
20051 \end_layout
20052
20053 \end_inset
20054 </cell>
20055 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20056 \begin_inset Text
20057
20058 \begin_layout Plain Layout
20059 Annamaria
20060 \end_layout
20061
20062 \end_inset
20063 </cell>
20064 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20065 \begin_inset Text
20066
20067 \begin_layout Plain Layout
20068 555
20069 \end_layout
20070
20071 \end_inset
20072 </cell>
20073 </row>
20074 <row>
20075 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20076 \begin_inset Text
20077
20078 \begin_layout Plain Layout
20079
20080 \series bold
20081 Feliciello
20082 \end_layout
20083
20084 \end_inset
20085 </cell>
20086 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20087 \begin_inset Text
20088
20089 \begin_layout Plain Layout
20090 Domenico
20091 \end_layout
20092
20093 \end_inset
20094 </cell>
20095 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20096 \begin_inset Text
20097
20098 \begin_layout Plain Layout
20099 555
20100 \end_layout
20101
20102 \end_inset
20103 </cell>
20104 </row>
20105 <row>
20106 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20107 \begin_inset Text
20108
20109 \begin_layout Plain Layout
20110
20111 \series bold
20112 Focarelli
20113 \end_layout
20114
20115 \end_inset
20116 </cell>
20117 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20118 \begin_inset Text
20119
20120 \begin_layout Plain Layout
20121 Paola
20122 \end_layout
20123
20124 \end_inset
20125 </cell>
20126 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20127 \begin_inset Text
20128
20129 \begin_layout Plain Layout
20130 555
20131 \end_layout
20132
20133 \end_inset
20134 </cell>
20135 </row>
20136 <row>
20137 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20138 \begin_inset Text
20139
20140 \begin_layout Plain Layout
20141
20142 \series bold
20143 Galletti
20144 \end_layout
20145
20146 \end_inset
20147 </cell>
20148 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20149 \begin_inset Text
20150
20151 \begin_layout Plain Layout
20152 Oreste
20153 \end_layout
20154
20155 \end_inset
20156 </cell>
20157 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20158 \begin_inset Text
20159
20160 \begin_layout Plain Layout
20161 555
20162 \end_layout
20163
20164 \end_inset
20165 </cell>
20166 </row>
20167 <row>
20168 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20169 \begin_inset Text
20170
20171 \begin_layout Plain Layout
20172
20173 \series bold
20174 Gasparini
20175 \end_layout
20176
20177 \end_inset
20178 </cell>
20179 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20180 \begin_inset Text
20181
20182 \begin_layout Plain Layout
20183 Franca
20184 \end_layout
20185
20186 \end_inset
20187 </cell>
20188 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20189 \begin_inset Text
20190
20191 \begin_layout Plain Layout
20192 555
20193 \end_layout
20194
20195 \end_inset
20196 </cell>
20197 </row>
20198 <row>
20199 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20200 \begin_inset Text
20201
20202 \begin_layout Plain Layout
20203
20204 \series bold
20205 Rizzardi
20206 \end_layout
20207
20208 \end_inset
20209 </cell>
20210 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20211 \begin_inset Text
20212
20213 \begin_layout Plain Layout
20214 Paola
20215 \end_layout
20216
20217 \end_inset
20218 </cell>
20219 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20220 \begin_inset Text
20221
20222 \begin_layout Plain Layout
20223 555
20224 \end_layout
20225
20226 \end_inset
20227 </cell>
20228 </row>
20229 <row>
20230 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20231 \begin_inset Text
20232
20233 \begin_layout Plain Layout
20234
20235 \series bold
20236 Lassini
20237 \end_layout
20238
20239 \end_inset
20240 </cell>
20241 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20242 \begin_inset Text
20243
20244 \begin_layout Plain Layout
20245 Giancarlo
20246 \end_layout
20247
20248 \end_inset
20249 </cell>
20250 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20251 \begin_inset Text
20252
20253 \begin_layout Plain Layout
20254 555
20255 \end_layout
20256
20257 \end_inset
20258 </cell>
20259 </row>
20260 <row>
20261 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20262 \begin_inset Text
20263
20264 \begin_layout Plain Layout
20265
20266 \series bold
20267 Malfatti
20268 \end_layout
20269
20270 \end_inset
20271 </cell>
20272 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20273 \begin_inset Text
20274
20275 \begin_layout Plain Layout
20276 Luciano
20277 \end_layout
20278
20279 \end_inset
20280 </cell>
20281 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20282 \begin_inset Text
20283
20284 \begin_layout Plain Layout
20285 555
20286 \end_layout
20287
20288 \end_inset
20289 </cell>
20290 </row>
20291 <row>
20292 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20293 \begin_inset Text
20294
20295 \begin_layout Plain Layout
20296
20297 \series bold
20298 Malfatti
20299 \end_layout
20300
20301 \end_inset
20302 </cell>
20303 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20304 \begin_inset Text
20305
20306 \begin_layout Plain Layout
20307 Valeriano
20308 \end_layout
20309
20310 \end_inset
20311 </cell>
20312 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20313 \begin_inset Text
20314
20315 \begin_layout Plain Layout
20316 555
20317 \end_layout
20318
20319 \end_inset
20320 </cell>
20321 </row>
20322 <row>
20323 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20324 \begin_inset Text
20325
20326 \begin_layout Plain Layout
20327
20328 \series bold
20329 Meneguzzo
20330 \end_layout
20331
20332 \end_inset
20333 </cell>
20334 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20335 \begin_inset Text
20336
20337 \begin_layout Plain Layout
20338 Roberto
20339 \end_layout
20340
20341 \end_inset
20342 </cell>
20343 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20344 \begin_inset Text
20345
20346 \begin_layout Plain Layout
20347 555
20348 \end_layout
20349
20350 \end_inset
20351 </cell>
20352 </row>
20353 <row>
20354 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20355 \begin_inset Text
20356
20357 \begin_layout Plain Layout
20358
20359 \series bold
20360 Mezzadra
20361 \end_layout
20362
20363 \end_inset
20364 </cell>
20365 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20366 \begin_inset Text
20367
20368 \begin_layout Plain Layout
20369 Roberto
20370 \end_layout
20371
20372 \end_inset
20373 </cell>
20374 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20375 \begin_inset Text
20376
20377 \begin_layout Plain Layout
20378 555
20379 \end_layout
20380
20381 \end_inset
20382 </cell>
20383 </row>
20384 <row>
20385 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20386 \begin_inset Text
20387
20388 \begin_layout Plain Layout
20389
20390 \series bold
20391 Pirpamer
20392 \end_layout
20393
20394 \end_inset
20395 </cell>
20396 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20397 \begin_inset Text
20398
20399 \begin_layout Plain Layout
20400 Erich
20401 \end_layout
20402
20403 \end_inset
20404 </cell>
20405 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20406 \begin_inset Text
20407
20408 \begin_layout Plain Layout
20409 555
20410 \end_layout
20411
20412 \end_inset
20413 </cell>
20414 </row>
20415 <row>
20416 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20417 \begin_inset Text
20418
20419 \begin_layout Plain Layout
20420
20421 \series bold
20422 Pochiesa
20423 \end_layout
20424
20425 \end_inset
20426 </cell>
20427 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20428 \begin_inset Text
20429
20430 \begin_layout Plain Layout
20431 Paolo
20432 \end_layout
20433
20434 \end_inset
20435 </cell>
20436 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20437 \begin_inset Text
20438
20439 \begin_layout Plain Layout
20440 555, 222
20441 \end_layout
20442
20443 \end_inset
20444 </cell>
20445 </row>
20446 <row>
20447 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20448 \begin_inset Text
20449
20450 \begin_layout Plain Layout
20451
20452 \series bold
20453 Radina
20454 \end_layout
20455
20456 \end_inset
20457 </cell>
20458 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20459 \begin_inset Text
20460
20461 \begin_layout Plain Layout
20462 Claudio
20463 \end_layout
20464
20465 \end_inset
20466 </cell>
20467 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20468 \begin_inset Text
20469
20470 \begin_layout Plain Layout
20471 555
20472 \end_layout
20473
20474 \end_inset
20475 </cell>
20476 </row>
20477 <row>
20478 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20479 \begin_inset Text
20480
20481 \begin_layout Plain Layout
20482
20483 \series bold
20484 Stuffer
20485 \end_layout
20486
20487 \end_inset
20488 </cell>
20489 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20490 \begin_inset Text
20491
20492 \begin_layout Plain Layout
20493 Oskar
20494 \end_layout
20495
20496 \end_inset
20497 </cell>
20498 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20499 \begin_inset Text
20500
20501 \begin_layout Plain Layout
20502 555
20503 \end_layout
20504
20505 \end_inset
20506 </cell>
20507 </row>
20508 <row>
20509 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20510 \begin_inset Text
20511
20512 \begin_layout Plain Layout
20513
20514 \series bold
20515 Tacchelli
20516 \end_layout
20517
20518 \end_inset
20519 </cell>
20520 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20521 \begin_inset Text
20522
20523 \begin_layout Plain Layout
20524 Ugo
20525 \end_layout
20526
20527 \end_inset
20528 </cell>
20529 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20530 \begin_inset Text
20531
20532 \begin_layout Plain Layout
20533 555
20534 \end_layout
20535
20536 \end_inset
20537 </cell>
20538 </row>
20539 <row>
20540 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20541 \begin_inset Text
20542
20543 \begin_layout Plain Layout
20544
20545 \series bold
20546 Tezzele
20547 \end_layout
20548
20549 \end_inset
20550 </cell>
20551 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20552 \begin_inset Text
20553
20554 \begin_layout Plain Layout
20555 Margit
20556 \end_layout
20557
20558 \end_inset
20559 </cell>
20560 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20561 \begin_inset Text
20562
20563 \begin_layout Plain Layout
20564 555
20565 \end_layout
20566
20567 \end_inset
20568 </cell>
20569 </row>
20570 <row>
20571 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20572 \begin_inset Text
20573
20574 \begin_layout Plain Layout
20575
20576 \series bold
20577 Unterkalmsteiner
20578 \end_layout
20579
20580 \end_inset
20581 </cell>
20582 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20583 \begin_inset Text
20584
20585 \begin_layout Plain Layout
20586 Frieda
20587 \end_layout
20588
20589 \end_inset
20590 </cell>
20591 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20592 \begin_inset Text
20593
20594 \begin_layout Plain Layout
20595 555
20596 \end_layout
20597
20598 \end_inset
20599 </cell>
20600 </row>
20601 <row>
20602 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20603 \begin_inset Text
20604
20605 \begin_layout Plain Layout
20606
20607 \series bold
20608 Vieider
20609 \end_layout
20610
20611 \end_inset
20612 </cell>
20613 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20614 \begin_inset Text
20615
20616 \begin_layout Plain Layout
20617 Hilde
20618 \end_layout
20619
20620 \end_inset
20621 </cell>
20622 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20623 \begin_inset Text
20624
20625 \begin_layout Plain Layout
20626 555
20627 \end_layout
20628
20629 \end_inset
20630 </cell>
20631 </row>
20632 <row>
20633 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20634 \begin_inset Text
20635
20636 \begin_layout Plain Layout
20637
20638 \series bold
20639 Vigna
20640 \end_layout
20641
20642 \end_inset
20643 </cell>
20644 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20645 \begin_inset Text
20646
20647 \begin_layout Plain Layout
20648 Jürgen
20649 \end_layout
20650
20651 \end_inset
20652 </cell>
20653 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20654 \begin_inset Text
20655
20656 \begin_layout Plain Layout
20657 999
20658 \end_layout
20659
20660 \end_inset
20661 </cell>
20662 </row>
20663 <row>
20664 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20665 \begin_inset Text
20666
20667 \begin_layout Plain Layout
20668
20669 \series bold
20670 Weber
20671 \end_layout
20672
20673 \end_inset
20674 </cell>
20675 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20676 \begin_inset Text
20677
20678 \begin_layout Plain Layout
20679 Maurizio
20680 \end_layout
20681
20682 \end_inset
20683 </cell>
20684 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20685 \begin_inset Text
20686
20687 \begin_layout Plain Layout
20688 555
20689 \end_layout
20690
20691 \end_inset
20692 </cell>
20693 </row>
20694 <row>
20695 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20696 \begin_inset Text
20697
20698 \begin_layout Plain Layout
20699
20700 \series bold
20701 Winkler
20702 \end_layout
20703
20704 \end_inset
20705 </cell>
20706 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20707 \begin_inset Text
20708
20709 \begin_layout Plain Layout
20710 Franz
20711 \end_layout
20712
20713 \end_inset
20714 </cell>
20715 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20716 \begin_inset Text
20717
20718 \begin_layout Plain Layout
20719 555
20720 \end_layout
20721
20722 \end_inset
20723 </cell>
20724 </row>
20725 <row endlastfoot="true">
20726 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20727 \begin_inset Text
20728
20729 \begin_layout Plain Layout
20730
20731 \series bold
20732 End
20733 \end_layout
20734
20735 \end_inset
20736 </cell>
20737 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
20738 \begin_inset Text
20739
20740 \begin_layout Plain Layout
20741
20742 \end_layout
20743
20744 \end_inset
20745 </cell>
20746 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20747 \begin_inset Text
20748
20749 \begin_layout Plain Layout
20750
20751 \end_layout
20752
20753 \end_inset
20754 </cell>
20755 </row>
20756 </lyxtabular>
20757
20758 \end_inset
20759
20760
20761 \end_layout
20762
20763 \begin_layout Subsection
20764 Table Cells
20765 \begin_inset Index idx
20766 status collapsed
20767
20768 \begin_layout Plain Layout
20769 Tables ! Cells
20770 \end_layout
20771
20772 \end_inset
20773
20774
20775 \begin_inset CommandInset label
20776 LatexCommand label
20777 name "sub:Table-Cells"
20778
20779 \end_inset
20780
20781
20782 \end_layout
20783
20784 \begin_layout Standard
20785 A table cell can contain text, inline equations, a figure, or another table.
20786  All these kinds of objects can be placed in the same cell.
20787  Font sizes and shapes can also be altered.
20788  But you can't put a special environment in a cell (like 
20789 \family sans
20790 Section*
20791 \family default
20792 , etc.), nor set spacing options for the cell's paragraph.
20793 \end_layout
20794
20795 \begin_layout Standard
20796 To have multi-line entries in table cells, you have to declare a fixed width
20797  for the column in the table dialog.
20798  Your text is then automatically split into multiple lines and the cell
20799  is enlarged vertically when the length of the text exceeds the given width.
20800  An example:
20801 \end_layout
20802
20803 \begin_layout Standard
20804 \align center
20805 \begin_inset Tabular
20806 <lyxtabular version="3" rows="4" columns="3">
20807 <features rotate="0" tabularvalignment="middle">
20808 <column alignment="center" valignment="top" width="0pt">
20809 <column alignment="block" valignment="top" width="3cm">
20810 <column alignment="center" valignment="top" width="0pt">
20811 <row>
20812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20813 \begin_inset Text
20814
20815 \begin_layout Plain Layout
20816
20817 \family roman
20818 \series medium
20819 \shape up
20820 \size normal
20821 \emph off
20822 \bar no
20823 \noun off
20824 \color none
20825 1
20826 \end_layout
20827
20828 \end_inset
20829 </cell>
20830 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20831 \begin_inset Text
20832
20833 \begin_layout Plain Layout
20834
20835 \family roman
20836 \series medium
20837 \shape up
20838 \size normal
20839 \emph off
20840 \bar no
20841 \noun off
20842 \color none
20843 2
20844 \end_layout
20845
20846 \end_inset
20847 </cell>
20848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20849 \begin_inset Text
20850
20851 \begin_layout Plain Layout
20852
20853 \family roman
20854 \series medium
20855 \shape up
20856 \size normal
20857 \emph off
20858 \bar no
20859 \noun off
20860 \color none
20861 3
20862 \end_layout
20863
20864 \end_inset
20865 </cell>
20866 </row>
20867 <row>
20868 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20869 \begin_inset Text
20870
20871 \begin_layout Plain Layout
20872
20873 \family roman
20874 \series medium
20875 \shape up
20876 \size normal
20877 \emph off
20878 \bar no
20879 \noun off
20880 \color none
20881 4
20882 \end_layout
20883
20884 \end_inset
20885 </cell>
20886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20887 \begin_inset Text
20888
20889 \begin_layout Plain Layout
20890
20891 \family roman
20892 \series medium
20893 \shape up
20894 \size normal
20895 \emph off
20896 \bar no
20897 \noun off
20898 \color none
20899 This is a multi-line entry in a table.
20900 \end_layout
20901
20902 \end_inset
20903 </cell>
20904 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20905 \begin_inset Text
20906
20907 \begin_layout Plain Layout
20908
20909 \family roman
20910 \series medium
20911 \shape up
20912 \size normal
20913 \emph off
20914 \bar no
20915 \noun off
20916 \color none
20917 5
20918 \end_layout
20919
20920 \end_inset
20921 </cell>
20922 </row>
20923 <row>
20924 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20925 \begin_inset Text
20926
20927 \begin_layout Plain Layout
20928
20929 \family roman
20930 \series medium
20931 \shape up
20932 \size normal
20933 \emph off
20934 \bar no
20935 \noun off
20936 \color none
20937 6
20938 \end_layout
20939
20940 \end_inset
20941 </cell>
20942 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20943 \begin_inset Text
20944
20945 \begin_layout Plain Layout
20946
20947 \family roman
20948 \series medium
20949 \shape up
20950 \size normal
20951 \emph off
20952 \bar no
20953 \noun off
20954 \color none
20955 This is longer now.
20956 \end_layout
20957
20958 \end_inset
20959 </cell>
20960 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20961 \begin_inset Text
20962
20963 \begin_layout Plain Layout
20964
20965 \family roman
20966 \series medium
20967 \shape up
20968 \size normal
20969 \emph off
20970 \bar no
20971 \noun off
20972 \color none
20973 7
20974 \end_layout
20975
20976 \end_inset
20977 </cell>
20978 </row>
20979 <row>
20980 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20981 \begin_inset Text
20982
20983 \begin_layout Plain Layout
20984
20985 \family roman
20986 \series medium
20987 \shape up
20988 \size normal
20989 \emph off
20990 \bar no
20991 \noun off
20992 \color none
20993 8
20994 \end_layout
20995
20996 \end_inset
20997 </cell>
20998 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20999 \begin_inset Text
21000
21001 \begin_layout Plain Layout
21002
21003 \family roman
21004 \series medium
21005 \shape up
21006 \size normal
21007 \emph off
21008 \bar no
21009 \noun off
21010 \color none
21011 This is a multi-line entry in a table.
21012  This is longer now.
21013 \end_layout
21014
21015 \end_inset
21016 </cell>
21017 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21018 \begin_inset Text
21019
21020 \begin_layout Plain Layout
21021
21022 \family roman
21023 \series medium
21024 \shape up
21025 \size normal
21026 \emph off
21027 \bar no
21028 \noun off
21029 \color none
21030 9
21031 \end_layout
21032
21033 \end_inset
21034 </cell>
21035 </row>
21036 </lyxtabular>
21037
21038 \end_inset
21039
21040
21041 \end_layout
21042
21043 \begin_layout Standard
21044 Cutting and pasting between tables and table cells works reasonably well.
21045  You can cut and paste even more than one row.
21046 \begin_inset Foot
21047 status collapsed
21048
21049 \begin_layout Plain Layout
21050 Note, that you cannot paste into a multicell selection because it would
21051  not be clear what to do when pasting a single word in a selected 2×3.
21052  
21053 \end_layout
21054
21055 \end_inset
21056
21057  Selection with the mouse or with 
21058 \family sans
21059 Shift
21060 \family default
21061  plus the arrow keys works as usual.
21062  You can also copy and paste the entire table as a single unit by starting
21063  the selection from outside the table.
21064 \end_layout
21065
21066 \begin_layout Section
21067 Floats
21068 \begin_inset Index idx
21069 status collapsed
21070
21071 \begin_layout Plain Layout
21072 Floats
21073 \end_layout
21074
21075 \end_inset
21076
21077
21078 \begin_inset CommandInset label
21079 LatexCommand label
21080 name "sec:Floats"
21081
21082 \end_inset
21083
21084
21085 \end_layout
21086
21087 \begin_layout Subsection
21088 Introduction
21089 \end_layout
21090
21091 \begin_layout Standard
21092 A float is a block of text associated with some sort of label, which doesn't
21093  have a fixed location.
21094  It can 
21095 \begin_inset Quotes eld
21096 \end_inset
21097
21098 float
21099 \begin_inset Quotes erd
21100 \end_inset
21101
21102  forward or backward a page or two, to wherever it fits best.
21103  
21104 \family sans
21105 Footnotes
21106 \family default
21107  and 
21108 \family sans
21109 Margin
21110 \begin_inset space ~
21111 \end_inset
21112
21113 Notes
21114 \family default
21115  are also floats, because they can float to the next page when there are
21116  too many notes on the current page.
21117 \end_layout
21118
21119 \begin_layout Standard
21120 Floats make it possible to get a high quality layout.
21121  Images and tables can be distributed evenly over the pages to avoid whitespace
21122  and pages without text.
21123  As the floating often destroys the spatial context between the text and
21124  the image/table, every float can be referenced in the text.
21125  Floats are therefore numbered.
21126  Referencing is described in section
21127 \begin_inset space ~
21128 \end_inset
21129
21130
21131 \begin_inset CommandInset ref
21132 LatexCommand ref
21133 reference "sec:Cross-References"
21134
21135 \end_inset
21136
21137 .
21138 \end_layout
21139
21140 \begin_layout Standard
21141 To insert a float, use the menu 
21142 \family sans
21143 Insert\SpecialChar \menuseparator
21144 Float
21145 \family default
21146 .
21147  A box with a caption will be inserted into your document.
21148  The label will automatically be translated to the document language in
21149  the output.
21150  After the label you can insert the caption text.
21151 \begin_inset Index idx
21152 status collapsed
21153
21154 \begin_layout Plain Layout
21155 Floats ! Captions
21156 \end_layout
21157
21158 \end_inset
21159
21160  The image or table is inserted above or below the caption in a separate
21161  paragraph within the float.
21162  To keep your LyX-document readable, you can open and close the float box
21163  by left-clicking on the box label.
21164  A closed float box looks like this: 
21165 \begin_inset Graphics
21166         filename clipart/floatQt4.png
21167         scale 80
21168
21169 \end_inset
21170
21171  – a gray button with a red label.
21172 \end_layout
21173
21174 \begin_layout Standard
21175 It is recommended to insert floats as a separate paragraph to avoid possible
21176  LaTeX-errors that can occur when the surrounding text is specially formatted.
21177 \end_layout
21178
21179 \begin_layout Subsection
21180 Examples
21181 \end_layout
21182
21183 \begin_layout Subsubsection
21184 Figure Floats
21185 \begin_inset CommandInset label
21186 LatexCommand label
21187 name "sub:Figure-Floats"
21188
21189 \end_inset
21190
21191
21192 \begin_inset Index idx
21193 status collapsed
21194
21195 \begin_layout Plain Layout
21196 Floats ! Figure floats
21197 \end_layout
21198
21199 \end_inset
21200
21201
21202 \end_layout
21203
21204 \begin_layout Standard
21205 Figure
21206 \begin_inset space ~
21207 \end_inset
21208
21209
21210 \begin_inset CommandInset ref
21211 LatexCommand ref
21212 reference "fig:Platypus-distorted"
21213
21214 \end_inset
21215
21216  was created using the menu 
21217 \family sans
21218 Insert\SpecialChar \menuseparator
21219 Float\SpecialChar \menuseparator
21220 Figure
21221 \family default
21222  or the toolbar button 
21223 \begin_inset Info
21224 type  "icon"
21225 arg   "float-insert figure"
21226 \end_inset
21227
21228 .
21229  The image was inserted by setting the cursor above the caption label and
21230  using the menu 
21231 \family sans
21232 Insert\SpecialChar \menuseparator
21233 Graphics
21234 \family default
21235  or the toolbar button 
21236 \begin_inset Info
21237 type  "icon"
21238 arg   "dialog-show-new-inset graphics"
21239 \end_inset
21240
21241 .
21242  The image in the float was horizontally centered by putting the cursor
21243  in front of or behind the image and using the menu 
21244 \family sans
21245 Edit\SpecialChar \menuseparator
21246 Paragraph
21247 \begin_inset space ~
21248 \end_inset
21249
21250 Settings
21251 \family default
21252  or the toolbar button 
21253 \begin_inset Info
21254 type  "icon"
21255 arg   "layout-paragraph"
21256 \end_inset
21257
21258 .
21259 \end_layout
21260
21261 \begin_layout Standard
21262 \begin_inset Float figure
21263 wide false
21264 sideways false
21265 status open
21266
21267 \begin_layout Plain Layout
21268 \align center
21269 \begin_inset Graphics
21270         filename clipart/platypus.eps
21271         lyxscale 50
21272         width 50col%
21273
21274 \end_inset
21275
21276
21277 \end_layout
21278
21279 \begin_layout Plain Layout
21280 \begin_inset Caption Standard
21281
21282 \begin_layout Plain Layout
21283 \begin_inset CommandInset label
21284 LatexCommand label
21285 name "fig:Platypus-distorted"
21286
21287 \end_inset
21288
21289 A severely distorted platypus in a float.
21290 \end_layout
21291
21292 \end_inset
21293
21294
21295 \end_layout
21296
21297 \end_inset
21298
21299
21300 \end_layout
21301
21302 \begin_layout Standard
21303 This figure float also shows how to set a label and create a cross-reference
21304  to it: Insert a label into the caption using the menu 
21305 \family sans
21306 Insert\SpecialChar \menuseparator
21307 Label
21308 \family default
21309  or the toolbar button 
21310 \begin_inset Info
21311 type  "icon"
21312 arg   "label-insert"
21313 \end_inset
21314
21315  and refer to it using the menu 
21316 \family sans
21317 Insert\SpecialChar \menuseparator
21318 Cross-Reference
21319 \family default
21320  or the toolbar button 
21321 \begin_inset Info
21322 type  "icon"
21323 arg   "dialog-show-new-inset ref"
21324 \end_inset
21325
21326 .
21327  It is important to use references to figure floats, rather than using vague
21328  references like 
21329 \begin_inset Quotes eld
21330 \end_inset
21331
21332 the figure above
21333 \begin_inset Quotes erd
21334 \end_inset
21335
21336 , because, as LaTeX will reposition the floats in the final document, it
21337  might not be 
21338 \begin_inset Quotes eld
21339 \end_inset
21340
21341 above
21342 \begin_inset Quotes erd
21343 \end_inset
21344
21345  at all.
21346  For more about cross-references, see section
21347 \begin_inset space ~
21348 \end_inset
21349
21350
21351 \begin_inset CommandInset ref
21352 LatexCommand ref
21353 reference "sec:Cross-References"
21354
21355 \end_inset
21356
21357 .
21358 \end_layout
21359
21360 \begin_layout Standard
21361 Normally only one image is inserted in a figure float, but sometimes you
21362  might want to use two images with separate subcaptions.
21363  This can be done by inserting image floats into existing image floats.
21364  Note that only the main caption of the float is added to the List of Figures
21365  as described in section
21366 \begin_inset space ~
21367 \end_inset
21368
21369
21370 \begin_inset CommandInset ref
21371 LatexCommand ref
21372 reference "sub:List-of-Figures"
21373
21374 \end_inset
21375
21376 .
21377  Figure
21378 \begin_inset space ~
21379 \end_inset
21380
21381
21382 \begin_inset CommandInset ref
21383 LatexCommand ref
21384 reference "fig:Two-distorted-images"
21385
21386 \end_inset
21387
21388  is an example of a figure float with two images set side by side.
21389  You can also set the images one below the other.
21390  Figure
21391 \begin_inset space ~
21392 \end_inset
21393
21394
21395 \begin_inset CommandInset ref
21396 LatexCommand ref
21397 reference "fig:Undefinable"
21398
21399 \end_inset
21400
21401  and 
21402 \begin_inset CommandInset ref
21403 LatexCommand ref
21404 reference "fig:Platypus"
21405
21406 \end_inset
21407
21408  are the subfigures.
21409 \end_layout
21410
21411 \begin_layout Standard
21412 \begin_inset Float figure
21413 wide false
21414 sideways false
21415 status open
21416
21417 \begin_layout Plain Layout
21418 \begin_inset space \hfill{}
21419 \end_inset
21420
21421
21422 \begin_inset Float figure
21423 wide false
21424 sideways false
21425 status collapsed
21426
21427 \begin_layout Plain Layout
21428 \begin_inset Caption Standard
21429
21430 \begin_layout Plain Layout
21431 \begin_inset CommandInset label
21432 LatexCommand label
21433 name "fig:Undefinable"
21434
21435 \end_inset
21436
21437 Undefinable
21438 \end_layout
21439
21440 \end_inset
21441
21442
21443 \end_layout
21444
21445 \begin_layout Plain Layout
21446 \begin_inset Graphics
21447         filename clipart/escher-lsd.eps
21448         width 45col%
21449
21450 \end_inset
21451
21452
21453 \end_layout
21454
21455 \end_inset
21456
21457
21458 \begin_inset space \hfill{}
21459 \end_inset
21460
21461
21462 \begin_inset Float figure
21463 wide false
21464 sideways false
21465 status collapsed
21466
21467 \begin_layout Plain Layout
21468 \begin_inset Caption Standard
21469
21470 \begin_layout Plain Layout
21471 \begin_inset CommandInset label
21472 LatexCommand label
21473 name "fig:Platypus"
21474
21475 \end_inset
21476
21477 Platypus
21478 \end_layout
21479
21480 \end_inset
21481
21482
21483 \end_layout
21484
21485 \begin_layout Plain Layout
21486 \begin_inset Graphics
21487         filename clipart/platypus.eps
21488         lyxscale 60
21489         width 45col%
21490
21491 \end_inset
21492
21493
21494 \end_layout
21495
21496 \end_inset
21497
21498
21499 \begin_inset space \hfill{}
21500 \end_inset
21501
21502
21503 \end_layout
21504
21505 \begin_layout Plain Layout
21506 \begin_inset Caption Standard
21507
21508 \begin_layout Plain Layout
21509 \begin_inset CommandInset label
21510 LatexCommand label
21511 name "fig:Two-distorted-images"
21512
21513 \end_inset
21514
21515 Two distorted images.
21516 \end_layout
21517
21518 \end_inset
21519
21520
21521 \end_layout
21522
21523 \end_inset
21524
21525
21526 \end_layout
21527
21528 \begin_layout Subsubsection
21529 Table Floats
21530 \begin_inset Index idx
21531 status collapsed
21532
21533 \begin_layout Plain Layout
21534 Floats ! Table floats
21535 \end_layout
21536
21537 \end_inset
21538
21539
21540 \end_layout
21541
21542 \begin_layout Standard
21543 Table floats can be inserted using the menu 
21544 \family sans
21545 Insert\SpecialChar \menuseparator
21546 Float\SpecialChar \menuseparator
21547 Table
21548 \family default
21549  or the toolbar button 
21550 \begin_inset Info
21551 type  "icon"
21552 arg   "float-insert table"
21553 \end_inset
21554
21555 .
21556  They have the same properties as figure floats except for the different
21557  label.
21558  Table
21559 \begin_inset space ~
21560 \end_inset
21561
21562
21563 \begin_inset CommandInset ref
21564 LatexCommand ref
21565 reference "tab:Table-float"
21566
21567 \end_inset
21568
21569  is a table float.
21570 \end_layout
21571
21572 \begin_layout Standard
21573 \begin_inset Float table
21574 wide false
21575 sideways false
21576 status open
21577
21578 \begin_layout Plain Layout
21579 \begin_inset Caption Standard
21580
21581 \begin_layout Plain Layout
21582 \begin_inset CommandInset label
21583 LatexCommand label
21584 name "tab:Table-float"
21585
21586 \end_inset
21587
21588 A table float.
21589 \end_layout
21590
21591 \end_inset
21592
21593
21594 \end_layout
21595
21596 \begin_layout Plain Layout
21597 \align center
21598 \begin_inset Tabular
21599 <lyxtabular version="3" rows="3" columns="3">
21600 <features rotate="0" tabularvalignment="middle">
21601 <column alignment="center" valignment="top" width="0pt">
21602 <column alignment="center" valignment="top" width="0pt">
21603 <column alignment="center" valignment="top" width="0pt">
21604 <row>
21605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21606 \begin_inset Text
21607
21608 \begin_layout Plain Layout
21609
21610 \family roman
21611 \series medium
21612 \shape up
21613 \size normal
21614 \emph off
21615 \bar no
21616 \noun off
21617 \color none
21618 1
21619 \end_layout
21620
21621 \end_inset
21622 </cell>
21623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21624 \begin_inset Text
21625
21626 \begin_layout Plain Layout
21627
21628 \family roman
21629 \series medium
21630 \shape up
21631 \size normal
21632 \emph off
21633 \bar no
21634 \noun off
21635 \color none
21636 2
21637 \end_layout
21638
21639 \end_inset
21640 </cell>
21641 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21642 \begin_inset Text
21643
21644 \begin_layout Plain Layout
21645
21646 \family roman
21647 \series medium
21648 \shape up
21649 \size normal
21650 \emph off
21651 \bar no
21652 \noun off
21653 \color none
21654 3
21655 \end_layout
21656
21657 \end_inset
21658 </cell>
21659 </row>
21660 <row>
21661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21662 \begin_inset Text
21663
21664 \begin_layout Plain Layout
21665
21666 \family roman
21667 \series medium
21668 \shape up
21669 \size normal
21670 \emph off
21671 \bar no
21672 \noun off
21673 \color none
21674 Joe
21675 \end_layout
21676
21677 \end_inset
21678 </cell>
21679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21680 \begin_inset Text
21681
21682 \begin_layout Plain Layout
21683
21684 \family roman
21685 \series medium
21686 \shape up
21687 \size normal
21688 \emph off
21689 \bar no
21690 \noun off
21691 \color none
21692 Mary
21693 \end_layout
21694
21695 \end_inset
21696 </cell>
21697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21698 \begin_inset Text
21699
21700 \begin_layout Plain Layout
21701
21702 \family roman
21703 \series medium
21704 \shape up
21705 \size normal
21706 \emph off
21707 \bar no
21708 \noun off
21709 \color none
21710 Ted
21711 \end_layout
21712
21713 \end_inset
21714 </cell>
21715 </row>
21716 <row>
21717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21718 \begin_inset Text
21719
21720 \begin_layout Plain Layout
21721
21722 \family roman
21723 \series medium
21724 \shape up
21725 \size normal
21726 \emph off
21727 \bar no
21728 \noun off
21729 \color none
21730 \begin_inset Formula $\int x^{2}dx$
21731 \end_inset
21732
21733
21734 \end_layout
21735
21736 \end_inset
21737 </cell>
21738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21739 \begin_inset Text
21740
21741 \begin_layout Plain Layout
21742
21743 \family roman
21744 \series medium
21745 \shape up
21746 \size normal
21747 \emph off
21748 \bar no
21749 \noun off
21750 \color none
21751 \begin_inset Formula $\left[\begin{array}{cc}
21752 a & b\\
21753 c & d
21754 \end{array}\right]$
21755 \end_inset
21756
21757
21758 \end_layout
21759
21760 \end_inset
21761 </cell>
21762 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21763 \begin_inset Text
21764
21765 \begin_layout Plain Layout
21766
21767 \family roman
21768 \series medium
21769 \shape up
21770 \size normal
21771 \emph off
21772 \bar no
21773 \noun off
21774 \color none
21775 \begin_inset Formula $1+1=2$
21776 \end_inset
21777
21778
21779 \end_layout
21780
21781 \end_inset
21782 </cell>
21783 </row>
21784 </lyxtabular>
21785
21786 \end_inset
21787
21788
21789 \end_layout
21790
21791 \end_inset
21792
21793
21794 \end_layout
21795
21796 \begin_layout Subsection
21797 More Information
21798 \begin_inset Index idx
21799 status collapsed
21800
21801 \begin_layout Plain Layout
21802 Floats ! Details
21803 \end_layout
21804
21805 \end_inset
21806
21807
21808 \end_layout
21809
21810 \begin_layout Standard
21811 LyX offers you further float types as well as rotated floats.
21812  It also allows you to change the float numbering scheme, to control the
21813  float placement and to change the formatting and placement of the float
21814  caption.
21815  All these features are explained in detail with many examples in chapter
21816  
21817 \emph on
21818 Floats
21819 \emph default
21820  of the 
21821 \emph on
21822 Embedded
21823 \begin_inset space ~
21824 \end_inset
21825
21826 Objects
21827 \emph default
21828  manual.
21829 \end_layout
21830
21831 \begin_layout Section
21832 Minipages
21833 \begin_inset Index idx
21834 status collapsed
21835
21836 \begin_layout Plain Layout
21837 Minipages
21838 \end_layout
21839
21840 \end_inset
21841
21842
21843 \begin_inset CommandInset label
21844 LatexCommand label
21845 name "sec:Minipages"
21846
21847 \end_inset
21848
21849
21850 \end_layout
21851
21852 \begin_layout Standard
21853 LaTeX provides a mechanism to produce essentially a page within a page,
21854  called minipage.
21855  Within a minipage, all the usual rules of indentation, line wrapping, etc.
21856 \begin_inset space \space{}
21857 \end_inset
21858
21859 apply.
21860  
21861 \end_layout
21862
21863 \begin_layout Standard
21864 Minipages in LyX have their own collapsible box inserted via the menu 
21865 \family sans
21866 Insert\SpecialChar \menuseparator
21867 Box
21868 \family default
21869 .
21870  Right-clicking on the box label allows you to alter the width of the minipage
21871  and its alignment within the page.
21872 \end_layout
21873
21874 \begin_layout Standard
21875 \align center
21876 \begin_inset Box Frameless
21877 position "t"
21878 hor_pos "c"
21879 has_inner_box 1
21880 inner_pos "t"
21881 use_parbox 0
21882 use_makebox 0
21883 width "30col%"
21884 special "none"
21885 height "1pt"
21886 height_special "totalheight"
21887 status open
21888
21889 \begin_layout Plain Layout
21890
21891 \shape italic
21892 This is a minipage.
21893  The text is set in an italic style.
21894 \end_layout
21895
21896 \begin_layout Plain Layout
21897
21898 \shape italic
21899 Minipages are often used for text in another language or text that needs
21900  another formatting.
21901 \end_layout
21902
21903 \end_inset
21904
21905
21906 \end_layout
21907
21908 \begin_layout Standard
21909 \begin_inset VSpace medskip
21910 \end_inset
21911
21912 If you place two minipages side-by-side, you can use 
21913 \family sans
21914 Horizontal Fills
21915 \family default
21916  as described in section
21917 \begin_inset space ~
21918 \end_inset
21919
21920
21921 \begin_inset CommandInset ref
21922 LatexCommand ref
21923 reference "sub:Horizontal-Space"
21924
21925 \end_inset
21926
21927 :
21928 \begin_inset VSpace medskip
21929 \end_inset
21930
21931
21932 \end_layout
21933
21934 \begin_layout Standard
21935 \begin_inset Box Frameless
21936 position "t"
21937 hor_pos "c"
21938 has_inner_box 1
21939 inner_pos "t"
21940 use_parbox 0
21941 use_makebox 0
21942 width "1.5in"
21943 special "none"
21944 height "1pt"
21945 height_special "totalheight"
21946 status open
21947
21948 \begin_layout Plain Layout
21949 This is a minipage with some stupid dummy text.
21950  This dummy text is used to increase the size of the minipage.
21951 \end_layout
21952
21953 \end_inset
21954
21955
21956 \begin_inset space \hfill{}
21957 \end_inset
21958
21959
21960 \begin_inset Box Frameless
21961 position "t"
21962 hor_pos "c"
21963 has_inner_box 1
21964 inner_pos "t"
21965 use_parbox 0
21966 use_makebox 0
21967 width "1.5in"
21968 special "none"
21969 height "1pt"
21970 height_special "totalheight"
21971 status open
21972
21973 \begin_layout Plain Layout
21974 This is a minipage with some stupid dummy text.
21975  This dummy text is used to increase the size of the minipage.
21976 \end_layout
21977
21978 \end_inset
21979
21980
21981 \end_layout
21982
21983 \begin_layout Standard
21984 \begin_inset VSpace bigskip
21985 \end_inset
21986
21987
21988 \end_layout
21989
21990 \begin_layout Standard
21991 When you right-click on a minipage box, you can transform the box to another
21992  box type.
21993  All box types and their settings are explained in detail in chapter 
21994 \emph on
21995 Boxes
21996 \emph default
21997  of the 
21998 \emph on
21999 Embedded
22000 \begin_inset space ~
22001 \end_inset
22002
22003 Objects
22004 \emph default
22005  manual.
22006 \end_layout
22007
22008 \begin_layout Chapter
22009 Mathematical Formulas
22010 \begin_inset Index idx
22011 status collapsed
22012
22013 \begin_layout Plain Layout
22014 Math
22015 \end_layout
22016
22017 \end_inset
22018
22019
22020 \begin_inset Index idx
22021 status collapsed
22022
22023 \begin_layout Plain Layout
22024 Formulas | see
22025 \begin_inset ERT
22026 status collapsed
22027
22028 \begin_layout Plain Layout
22029
22030 {
22031 \end_layout
22032
22033 \end_inset
22034
22035 Math
22036 \begin_inset ERT
22037 status collapsed
22038
22039 \begin_layout Plain Layout
22040
22041 }
22042 \end_layout
22043
22044 \end_inset
22045
22046
22047 \end_layout
22048
22049 \end_inset
22050
22051
22052 \begin_inset CommandInset label
22053 LatexCommand label
22054 name "chap:Mathematical-Formulas"
22055
22056 \end_inset
22057
22058
22059 \end_layout
22060
22061 \begin_layout Standard
22062 The issues of this chapter are described in detail in the 
22063 \emph on
22064 Math
22065 \emph default
22066  manual.
22067  There you will also find tips and tricks for special cases.
22068 \end_layout
22069
22070 \begin_layout Section
22071 Basic Math Editing
22072 \begin_inset Index idx
22073 status collapsed
22074
22075 \begin_layout Plain Layout
22076 Math ! Basics
22077 \end_layout
22078
22079 \end_inset
22080
22081
22082 \end_layout
22083
22084 \begin_layout Standard
22085 To create a math formula, you can just click on the toolbar icon 
22086 \begin_inset Info
22087 type  "icon"
22088 arg   "math-mode on"
22089 \end_inset
22090
22091 .
22092  That will create a little blue rectangle, with purple markers around its
22093  corners.
22094  That blue rectangle is the formula itself; the purple markers indicate
22095  what level of nesting within the formula you are at.
22096  You can also choose a particular formula type to insert via the 
22097 \family sans
22098 Insert\SpecialChar \menuseparator
22099 Math
22100 \family default
22101  menu.
22102 \end_layout
22103
22104 \begin_layout Standard
22105 Editing the parameters of a formula and adding math constructs can be done
22106  with the 
22107 \family sans
22108 math
22109 \begin_inset space ~
22110 \end_inset
22111
22112 toolbar
22113 \family default
22114 , that appears if the cursor is in a formula.
22115 \end_layout
22116
22117 \begin_layout Standard
22118 There are two main types of formulas, inline formulas and display formulas.
22119  Inline formulas appear within a text line, like this one:
22120 \end_layout
22121
22122 \begin_layout Standard
22123 This is a line with an inline formula 
22124 \begin_inset Formula $A=B$
22125 \end_inset
22126
22127  in it.
22128 \end_layout
22129
22130 \begin_layout Standard
22131 Displayed formulas appear outside the text like if they were in a separate
22132  paragraph, like this one:
22133 \begin_inset Formula 
22134 \[
22135 A=B
22136 \]
22137
22138 \end_inset
22139
22140 You can only number and reference displayed formulas.
22141 \end_layout
22142
22143 \begin_layout Standard
22144 LyX supports also many LaTeX math commands.
22145  E.
22146 \begin_inset space \thinspace{}
22147 \end_inset
22148
22149 g.
22150 \begin_inset space \space{}
22151 \end_inset
22152
22153 typing 
22154 \begin_inset Quotes eld
22155 \end_inset
22156
22157
22158 \series bold
22159
22160 \backslash
22161 alpha
22162 \series default
22163
22164 \begin_inset Quotes erd
22165 \end_inset
22166
22167 , followed by a space, in a formula will create the Greek letter 
22168 \begin_inset Formula $\alpha$
22169 \end_inset
22170
22171 .
22172  Typing commands might sometimes be faster than using the 
22173 \family sans
22174 Math
22175 \begin_inset space ~
22176 \end_inset
22177
22178 Panel
22179 \family default
22180 .
22181 \end_layout
22182
22183 \begin_layout Subsection
22184 Navigating in Formulas
22185 \begin_inset Index idx
22186 status collapsed
22187
22188 \begin_layout Plain Layout
22189 Math ! Navigating
22190 \end_layout
22191
22192 \end_inset
22193
22194
22195 \end_layout
22196
22197 \begin_layout Standard
22198 The best control over the cursor position within an existing formula is
22199  achieved with the arrow keys.
22200  LyX uses small rectangles to indicate places where something can be inserted.
22201  The arrow keys can be used to navigate between parts of a formula.
22202  Pressing 
22203 \family sans
22204 Space
22205 \family default
22206  will leave a formula construct (a square root 
22207 \begin_inset Formula $\sqrt{2}$
22208 \end_inset
22209
22210 , or parentheses 
22211 \begin_inset Formula $\left(f\right)$
22212 \end_inset
22213
22214 , or a matrix 
22215 \begin_inset Formula $\left[\begin{array}{cc}
22216 1 & 2\\
22217 3 & 4
22218 \end{array}\right]$
22219 \end_inset
22220
22221 ).
22222  Pressing 
22223 \family sans
22224 Escape
22225 \family default
22226  will leave the formula, placing the cursor after the formula.
22227  
22228 \family sans
22229 Tab
22230 \family default
22231  can be used to move horizontally in a formula; for example, through the
22232  cells of a matrix or the positions in a multi-line equation.
22233 \end_layout
22234
22235 \begin_layout Standard
22236
22237 \family sans
22238 Space
22239 \family default
22240 , printed in this document as 
22241 \begin_inset Quotes eld
22242 \end_inset
22243
22244
22245 \begin_inset ERT
22246 status collapsed
22247
22248 \begin_layout Plain Layout
22249
22250
22251 \backslash
22252 spce 
22253 \end_layout
22254
22255 \end_inset
22256
22257
22258 \begin_inset Quotes erd
22259 \end_inset
22260
22261
22262 \begin_inset Note Note
22263 status collapsed
22264
22265 \begin_layout Plain Layout
22266 This command will appear in the output as an official character denoting
22267  the space character (visible space).
22268 \end_layout
22269
22270 \end_inset
22271
22272 , seems to do nothing in a formula, since it does not add a space between
22273  characters, but it does exit a nested structure.
22274  For this reason, you have to be careful about using 
22275 \family sans
22276 Space
22277 \family default
22278 .
22279  For example, if you want 
22280 \begin_inset Formula $\sqrt{2x+1}$
22281 \end_inset
22282
22283 , type 
22284 \series bold
22285
22286 \backslash
22287 sqrt
22288 \begin_inset ERT
22289 status collapsed
22290
22291 \begin_layout Plain Layout
22292
22293
22294 \backslash
22295 spce 
22296 \end_layout
22297
22298 \end_inset
22299
22300 2x+1
22301 \series default
22302  and not 
22303 \series bold
22304
22305 \backslash
22306 sqrt
22307 \begin_inset ERT
22308 status collapsed
22309
22310 \begin_layout Plain Layout
22311
22312
22313 \backslash
22314 spce 
22315 \end_layout
22316
22317 \end_inset
22318
22319 2x
22320 \begin_inset ERT
22321 status collapsed
22322
22323 \begin_layout Plain Layout
22324
22325
22326 \backslash
22327 spce 
22328 \end_layout
22329
22330 \end_inset
22331
22332 +1
22333 \series default
22334 , since in the latter case only the 
22335 \family typewriter
22336
22337 \begin_inset Formula $2x$
22338 \end_inset
22339
22340
22341 \family default
22342  will be under the square root sign: 
22343 \begin_inset Formula $\sqrt{2x}+1$
22344 \end_inset
22345
22346 .
22347 \end_layout
22348
22349 \begin_layout Standard
22350 You can leave many parts of a formula, like this matrix, partially filled
22351  in, such as:
22352 \begin_inset Formula 
22353 \[
22354 \left(\begin{array}{ccc}
22355 \lambda_{1}\\
22356  & \ddots\\
22357  &  & \lambda_{n}
22358 \end{array}\right)
22359 \]
22360
22361 \end_inset
22362
22363 If you leave a fraction only partially filled in, or a subscript with nothing
22364  in it, the results will be unpredictable, but most constructs don't mind.
22365 \end_layout
22366
22367 \begin_layout Subsection
22368 Selecting Text
22369 \end_layout
22370
22371 \begin_layout Standard
22372 You can select text within a formula in two different ways.
22373  Place the cursor at one end of the string of text you want, and press 
22374 \family sans
22375 Shift
22376 \family default
22377  and a cursor movement key to select text.
22378  It will be highlighted as with regular text selection.
22379  Alternatively, you can select text with the mouse in the usual way.
22380  That text can then be cut or copied, and then pasted within any formula,
22381  but not in a normal text region in LyX.
22382 \end_layout
22383
22384 \begin_layout Subsection
22385 Exponents and Subscripts
22386 \begin_inset Index idx
22387 status collapsed
22388
22389 \begin_layout Plain Layout
22390 Math ! Exponents
22391 \end_layout
22392
22393 \end_inset
22394
22395
22396 \begin_inset Index idx
22397 status collapsed
22398
22399 \begin_layout Plain Layout
22400 Math ! Subscripts
22401 \end_layout
22402
22403 \end_inset
22404
22405
22406 \end_layout
22407
22408 \begin_layout Standard
22409 You can use the math panel to add super- or subscripts (buttons 
22410 \begin_inset Info
22411 type  "icon"
22412 arg   "math-superscript"
22413 \end_inset
22414
22415  and 
22416 \begin_inset Info
22417 type  "icon"
22418 arg   "math-subscript"
22419 \end_inset
22420
22421 ), but the much easier way is to use a command.
22422  To get 
22423 \begin_inset Formula $x^{2}$
22424 \end_inset
22425
22426 , type in a formula 
22427 \series bold
22428 x^2
22429 \begin_inset ERT
22430 status collapsed
22431
22432 \begin_layout Plain Layout
22433
22434
22435 \backslash
22436 spce 
22437 \end_layout
22438
22439 \end_inset
22440
22441
22442 \series default
22443 .
22444  The final 
22445 \family sans
22446 Space
22447 \family default
22448  puts the cursor back down on the base line of the expression.
22449  If you type 
22450 \series bold
22451 x^2y
22452 \series default
22453 , you will get 
22454 \begin_inset Formula $x^{2y}$
22455 \end_inset
22456
22457 , to get 
22458 \begin_inset Formula $x^{2}y$
22459 \end_inset
22460
22461 , type 
22462 \series bold
22463 x^2
22464 \begin_inset ERT
22465 status collapsed
22466
22467 \begin_layout Plain Layout
22468
22469
22470 \backslash
22471 spce 
22472 \end_layout
22473
22474 \end_inset
22475
22476 y
22477 \series default
22478 .
22479  If you use characters in the superscript, that could be accented with the
22480  hat 
22481 \begin_inset Quotes eld
22482 \end_inset
22483
22484 ^
22485 \begin_inset Quotes erd
22486 \end_inset
22487
22488 , you have to use an extra 
22489 \family sans
22490 Space
22491 \family default
22492  to separate the hat and the character.
22493  E.
22494 \begin_inset space \thinspace{}
22495 \end_inset
22496
22497 g.
22498 \begin_inset space \space{}
22499 \end_inset
22500
22501 if you want 
22502 \begin_inset Formula $x^{a}$
22503 \end_inset
22504
22505 , type 
22506 \series bold
22507 x^
22508 \begin_inset ERT
22509 status collapsed
22510
22511 \begin_layout Plain Layout
22512
22513
22514 \backslash
22515 spce 
22516 \end_layout
22517
22518 \end_inset
22519
22520 a
22521 \series default
22522 .
22523  Subscripts are similar: To get 
22524 \begin_inset Formula $a_{1}$
22525 \end_inset
22526
22527 , type 
22528 \series bold
22529 a_1
22530 \begin_inset ERT
22531 status collapsed
22532
22533 \begin_layout Plain Layout
22534
22535
22536 \backslash
22537 spce 
22538 \end_layout
22539
22540 \end_inset
22541
22542
22543 \series default
22544 .
22545 \end_layout
22546
22547 \begin_layout Subsection
22548 Fractions
22549 \begin_inset Index idx
22550 status collapsed
22551
22552 \begin_layout Plain Layout
22553 Math ! Fractions
22554 \end_layout
22555
22556 \end_inset
22557
22558
22559 \end_layout
22560
22561 \begin_layout Standard
22562 Create a fraction with either the command 
22563 \series bold
22564
22565 \backslash
22566 frac
22567 \series default
22568  or using the icon 
22569 \begin_inset Info
22570 type  "icon"
22571 arg   "math-insert \\frac"
22572 \end_inset
22573
22574  in the 
22575 \family sans
22576 Math
22577 \begin_inset space ~
22578 \end_inset
22579
22580 Panel
22581 \family default
22582 .
22583  You will be presented with an empty fraction.
22584  The cursor is above the fraction line.
22585  To move it to the bottom, simply press 
22586 \family sans
22587 Down
22588 \family default
22589 .
22590  To move back up, press 
22591 \family sans
22592 Up
22593 \family default
22594 .
22595  Any math structure can be placed in a fraction, as this example shows:
22596 \begin_inset Formula 
22597 \[
22598 \left[\frac{1}{\left(\begin{array}{cc}
22599 2 & 3\\
22600 4 & 5
22601 \end{array}\right)}\right]
22602 \]
22603
22604 \end_inset
22605
22606
22607 \end_layout
22608
22609 \begin_layout Subsection
22610 Roots
22611 \begin_inset Index idx
22612 status collapsed
22613
22614 \begin_layout Plain Layout
22615 Math ! Roots
22616 \end_layout
22617
22618 \end_inset
22619
22620
22621 \end_layout
22622
22623 \begin_layout Standard
22624 Roots can be created using the 
22625 \family sans
22626 Math
22627 \begin_inset space ~
22628 \end_inset
22629
22630 Panel
22631 \family default
22632  button 
22633 \begin_inset Info
22634 type  "icon"
22635 arg   "math-insert \\sqrt"
22636 \end_inset
22637
22638  or 
22639 \begin_inset Info
22640 type  "icon"
22641 arg   "math-insert \\root"
22642 \end_inset
22643
22644  or the commands 
22645 \series bold
22646
22647 \backslash
22648 sqrt
22649 \series default
22650  or 
22651 \series bold
22652
22653 \backslash
22654 root
22655 \series default
22656 .
22657  With the command 
22658 \series bold
22659
22660 \backslash
22661 root
22662 \series default
22663  you can produce roots of higher orders, like cube roots, while 
22664 \series bold
22665
22666 \backslash
22667 sqrt
22668 \series default
22669  produces always a square root.
22670 \end_layout
22671
22672 \begin_layout Subsection
22673 Operators with Limits
22674 \begin_inset Index idx
22675 status collapsed
22676
22677 \begin_layout Plain Layout
22678 Math ! Sums
22679 \end_layout
22680
22681 \end_inset
22682
22683
22684 \begin_inset Index idx
22685 status collapsed
22686
22687 \begin_layout Plain Layout
22688 Math ! Integrals
22689 \end_layout
22690
22691 \end_inset
22692
22693
22694 \begin_inset CommandInset label
22695 LatexCommand label
22696 name "sub:Operators-with-Limits"
22697
22698 \end_inset
22699
22700
22701 \end_layout
22702
22703 \begin_layout Standard
22704 Sum (
22705 \begin_inset Formula $\sum$
22706 \end_inset
22707
22708 ) and integral (
22709 \begin_inset Formula $\int$
22710 \end_inset
22711
22712 ) operators are very often decorated with limits.
22713  These limits can be entered in LyX by entering them as you would enter
22714  a super- or subscript, directly after the symbol.
22715  The sum operator will automatically place its 
22716 \begin_inset Quotes eld
22717 \end_inset
22718
22719 limits
22720 \begin_inset Quotes erd
22721 \end_inset
22722
22723  over and under the symbol in displayed formulas, and on the side in inline
22724  formulas.
22725  Such as 
22726 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
22727 \end_inset
22728
22729 , versus
22730 \begin_inset Formula 
22731 \[
22732 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
22733 \]
22734
22735 \end_inset
22736
22737 Integral signs, however, will place the limits on the side in both formula
22738  types.
22739 \end_layout
22740
22741 \begin_layout Standard
22742 All operators with limits will be automatically re-sized when placed in
22743  display mode.
22744  The placement of the limits can be changed by placing the cursor directly
22745  behind the operator and hitting 
22746 \begin_inset Info
22747 type  "shortcut"
22748 arg   "math-limits"
22749 \end_inset
22750
22751  or using the menu 
22752 \family sans
22753 Edit\SpecialChar \menuseparator
22754 Math\SpecialChar \menuseparator
22755 Change
22756 \begin_inset space ~
22757 \end_inset
22758
22759 Limits
22760 \begin_inset space ~
22761 \end_inset
22762
22763 Type
22764 \family default
22765 .
22766 \end_layout
22767
22768 \begin_layout Standard
22769 Certain other mathematical expressions have this 
22770 \begin_inset Quotes eld
22771 \end_inset
22772
22773 moving limits
22774 \begin_inset Quotes erd
22775 \end_inset
22776
22777  feature as addition, such as
22778 \begin_inset Index idx
22779 status collapsed
22780
22781 \begin_layout Plain Layout
22782 Math ! Limits
22783 \end_layout
22784
22785 \end_inset
22786
22787
22788 \begin_inset Formula 
22789 \[
22790 \lim_{x\rightarrow\infty}f(x),
22791 \]
22792
22793 \end_inset
22794
22795 which will place the 
22796 \begin_inset Formula $x\rightarrow\infty$
22797 \end_inset
22798
22799  underneath the 
22800 \begin_inset Quotes eld
22801 \end_inset
22802
22803 lim
22804 \begin_inset Quotes erd
22805 \end_inset
22806
22807  in display mode.
22808  In inline formulas it looks like this: 
22809 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
22810 \end_inset
22811
22812 .
22813 \end_layout
22814
22815 \begin_layout Standard
22816 Note that the lim-function was entered as the function macro 
22817 \series bold
22818
22819 \backslash
22820 lim
22821 \series default
22822 .
22823  Have a look at section
22824 \begin_inset space ~
22825 \end_inset
22826
22827
22828 \begin_inset CommandInset ref
22829 LatexCommand ref
22830 reference "sub:Functions"
22831
22832 \end_inset
22833
22834  for an explanation of function macros.
22835 \end_layout
22836
22837 \begin_layout Subsection
22838 Math Symbols
22839 \begin_inset Index idx
22840 status collapsed
22841
22842 \begin_layout Plain Layout
22843 Math ! Symbols
22844 \end_layout
22845
22846 \end_inset
22847
22848
22849 \end_layout
22850
22851 \begin_layout Standard
22852 Most math symbols can be found in the 
22853 \family sans
22854 Math
22855 \begin_inset space ~
22856 \end_inset
22857
22858 Panel
22859 \family default
22860  under one of several categories; including 
22861 \family sans
22862 Greek
22863 \family default
22864
22865 \family sans
22866 Operators
22867 \family default
22868
22869 \family sans
22870 Relations
22871 \family default
22872
22873 \family sans
22874 Arrows
22875 \family default
22876 .
22877  There are also the additional symbols provided by the American Mathematical
22878  Society (AMS).
22879 \end_layout
22880
22881 \begin_layout Standard
22882 If you know the LaTeX-command for a construct or symbol you wish to use,
22883  you don't have to use the 
22884 \family sans
22885 Math
22886 \begin_inset space ~
22887 \end_inset
22888
22889 Panel
22890 \family default
22891 ; you can type the command directly into the formula.
22892  LyX will convert it to the corresponding symbol or construct.
22893 \end_layout
22894
22895 \begin_layout Subsection
22896 Altering Spacing
22897 \begin_inset Index idx
22898 status collapsed
22899
22900 \begin_layout Plain Layout
22901 Math ! Spaces
22902 \end_layout
22903
22904 \end_inset
22905
22906
22907 \end_layout
22908
22909 \begin_layout Standard
22910 You may want to create spaces that differ from the standard spacing that
22911  LaTeX provides.
22912  To do this, press 
22913 \begin_inset Info
22914 type  "shortcut"
22915 arg   "command-alternatives space-insert protected ; math-space"
22916 \end_inset
22917
22918  or use the 
22919 \family sans
22920 Math
22921 \begin_inset space ~
22922 \end_inset
22923
22924 Panel
22925 \family default
22926  button 
22927 \family sans
22928
22929 \begin_inset Info
22930 type  "icon"
22931 arg   "math-insert \\space"
22932 \end_inset
22933
22934
22935 \family default
22936 .
22937  This generates a small space, and shows a small marker on the screen.
22938  For example, the sequence 
22939 \series bold
22940 a Ctrl+Space b
22941 \series default
22942
22943 \begin_inset Formula $a\, b$
22944 \end_inset
22945
22946  appears in LyX as 
22947 \begin_inset Graphics
22948         filename clipart/SpaceMarker.png
22949
22950 \end_inset
22951
22952 .
22953  You can change the space to different sizes when you set the cursor behind
22954  the space marker and hit space again several times.
22955  With every space hit the size will be changed.
22956  Some markers for the space size appear red in LyX, because they are negative
22957  spaces.
22958  Here are two examples:
22959 \end_layout
22960
22961 \begin_layout Standard
22962
22963 \series bold
22964 a Ctrl+Space b
22965 \series default
22966  and 3×
22967 \family sans
22968 Space
22969 \family default
22970
22971 \begin_inset Formula $a\quad b$
22972 \end_inset
22973
22974
22975 \end_layout
22976
22977 \begin_layout Standard
22978
22979 \series bold
22980 a Ctrl+Space b
22981 \series default
22982  and 5×
22983 \family sans
22984 Space
22985 \family default
22986
22987 \begin_inset Formula $a\! b$
22988 \end_inset
22989
22990
22991 \end_layout
22992
22993 \begin_layout Subsection
22994 Functions
22995 \begin_inset Index idx
22996 status collapsed
22997
22998 \begin_layout Plain Layout
22999 Math ! Functions
23000 \end_layout
23001
23002 \end_inset
23003
23004
23005 \begin_inset CommandInset label
23006 LatexCommand label
23007 name "sub:Functions"
23008
23009 \end_inset
23010
23011
23012 \end_layout
23013
23014 \begin_layout Standard
23015 The 
23016 \family sans
23017 Math
23018 \begin_inset space ~
23019 \end_inset
23020
23021 Panel
23022 \family default
23023  contains under the button 
23024 \family sans
23025
23026 \begin_inset Info
23027 type  "icon"
23028 arg   "math-insert \\functions"
23029 \end_inset
23030
23031
23032 \family default
23033  a number of function macros, such as 
23034 \begin_inset Formula $\sin$
23035 \end_inset
23036
23037
23038 \begin_inset Formula $\lim$
23039 \end_inset
23040
23041
23042 \emph on
23043 etc
23044 \emph default
23045 .
23046  (you can also insert them in a formula by typing 
23047 \series bold
23048
23049 \backslash
23050 sin
23051 \series default
23052  etc.).
23053  Standard mathematical practice is that functions are printed upright to
23054  avoid confusions, because 
23055 \begin_inset Formula $sin$
23056 \end_inset
23057
23058  does normally mean 
23059 \begin_inset Formula $s\cdot i\cdot n$
23060 \end_inset
23061
23062 .
23063 \end_layout
23064
23065 \begin_layout Standard
23066 Using the function macros will also produce correct spacing around the function:
23067  
23068 \begin_inset Formula $a\sin x$
23069 \end_inset
23070
23071  is different from 
23072 \begin_inset Formula $asinx$
23073 \end_inset
23074
23075 .
23076 \end_layout
23077
23078 \begin_layout Standard
23079 For some mathematical objects, like the limes, the macro changes where subscript
23080 s are placed, as described in section
23081 \begin_inset space ~
23082 \end_inset
23083
23084
23085 \begin_inset CommandInset ref
23086 LatexCommand ref
23087 reference "sub:Operators-with-Limits"
23088
23089 \end_inset
23090
23091 .
23092 \end_layout
23093
23094 \begin_layout Subsection
23095 Accents
23096 \begin_inset Index idx
23097 status collapsed
23098
23099 \begin_layout Plain Layout
23100 Math ! Accents
23101 \end_layout
23102
23103 \end_inset
23104
23105
23106 \end_layout
23107
23108 \begin_layout Standard
23109 In a formula you can insert accented characters in the same way as in text
23110  mode.
23111  This may depend on your keyboard, or the bindings file you use.
23112  You can also use LaTeX commands to e.
23113 \begin_inset space \thinspace{}
23114 \end_inset
23115
23116 g.
23117 \begin_inset space \space{}
23118 \end_inset
23119
23120 enter 
23121 \begin_inset Formula $\hat{a}$
23122 \end_inset
23123
23124  even if your keyboard doesn't have hat-accents enabled.
23125  Our example is entered by typing 
23126 \series bold
23127
23128 \backslash
23129 hat
23130 \begin_inset ERT
23131 status collapsed
23132
23133 \begin_layout Plain Layout
23134
23135
23136 \backslash
23137 spce 
23138 \end_layout
23139
23140 \end_inset
23141
23142 a
23143 \series default
23144  in a formula.
23145  Table
23146 \begin_inset space ~
23147 \end_inset
23148
23149
23150 \begin_inset CommandInset ref
23151 LatexCommand ref
23152 reference "tab:Accent-names-and"
23153
23154 \end_inset
23155
23156  shows the equivalences between the accent names and the commands.
23157 \end_layout
23158
23159 \begin_layout Standard
23160 \begin_inset Float table
23161 wide false
23162 sideways false
23163 status open
23164
23165 \begin_layout Plain Layout
23166 \begin_inset Caption Standard
23167
23168 \begin_layout Plain Layout
23169 \begin_inset CommandInset label
23170 LatexCommand label
23171 name "tab:Accent-names-and"
23172
23173 \end_inset
23174
23175 Accent names and the corresponding commands.
23176 \end_layout
23177
23178 \end_inset
23179
23180
23181 \end_layout
23182
23183 \begin_layout Plain Layout
23184 \align center
23185 \begin_inset Tabular
23186 <lyxtabular version="3" rows="11" columns="3">
23187 <features rotate="0" tabularvalignment="middle">
23188 <column alignment="center" valignment="top" width="0pt">
23189 <column alignment="center" valignment="top" width="0pt">
23190 <column alignment="center" valignment="top" width="0pt">
23191 <row>
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 Name
23197 \end_layout
23198
23199 \end_inset
23200 </cell>
23201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23202 \begin_inset Text
23203
23204 \begin_layout Plain Layout
23205 Command
23206 \end_layout
23207
23208 \end_inset
23209 </cell>
23210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23211 \begin_inset Text
23212
23213 \begin_layout Plain Layout
23214 E
23215 \family roman
23216 \series medium
23217 \shape up
23218 \size normal
23219 \emph off
23220 \bar no
23221 \noun off
23222 \color none
23223 xample
23224 \end_layout
23225
23226 \end_inset
23227 </cell>
23228 </row>
23229 <row>
23230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23231 \begin_inset Text
23232
23233 \begin_layout Plain Layout
23234
23235 \family roman
23236 \series medium
23237 \shape up
23238 \size normal
23239 \emph off
23240 \bar no
23241 \noun off
23242 \color none
23243 circumflex
23244 \end_layout
23245
23246 \end_inset
23247 </cell>
23248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23249 \begin_inset Text
23250
23251 \begin_layout Plain Layout
23252
23253 \series bold
23254
23255 \backslash
23256 hat
23257 \end_layout
23258
23259 \end_inset
23260 </cell>
23261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23262 \begin_inset Text
23263
23264 \begin_layout Plain Layout
23265
23266 \family roman
23267 \series medium
23268 \shape up
23269 \size normal
23270 \emph off
23271 \bar no
23272 \noun off
23273 \color none
23274 \begin_inset Formula $\hat{a}$
23275 \end_inset
23276
23277
23278 \end_layout
23279
23280 \end_inset
23281 </cell>
23282 </row>
23283 <row>
23284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23285 \begin_inset Text
23286
23287 \begin_layout Plain Layout
23288
23289 \family roman
23290 \series medium
23291 \shape up
23292 \size normal
23293 \emph off
23294 \bar no
23295 \noun off
23296 \color none
23297 grave
23298 \end_layout
23299
23300 \end_inset
23301 </cell>
23302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23303 \begin_inset Text
23304
23305 \begin_layout Plain Layout
23306
23307 \series bold
23308
23309 \backslash
23310 grave
23311 \end_layout
23312
23313 \end_inset
23314 </cell>
23315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23316 \begin_inset Text
23317
23318 \begin_layout Plain Layout
23319
23320 \family roman
23321 \series medium
23322 \shape up
23323 \size normal
23324 \emph off
23325 \bar no
23326 \noun off
23327 \color none
23328 \begin_inset Formula $\grave{a}$
23329 \end_inset
23330
23331
23332 \end_layout
23333
23334 \end_inset
23335 </cell>
23336 </row>
23337 <row>
23338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23339 \begin_inset Text
23340
23341 \begin_layout Plain Layout
23342
23343 \family roman
23344 \series medium
23345 \shape up
23346 \size normal
23347 \emph off
23348 \bar no
23349 \noun off
23350 \color none
23351 acute
23352 \end_layout
23353
23354 \end_inset
23355 </cell>
23356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23357 \begin_inset Text
23358
23359 \begin_layout Plain Layout
23360
23361 \series bold
23362
23363 \backslash
23364 acute
23365 \end_layout
23366
23367 \end_inset
23368 </cell>
23369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23370 \begin_inset Text
23371
23372 \begin_layout Plain Layout
23373
23374 \family roman
23375 \series medium
23376 \shape up
23377 \size normal
23378 \emph off
23379 \bar no
23380 \noun off
23381 \color none
23382 \begin_inset Formula $\acute{a}$
23383 \end_inset
23384
23385
23386 \end_layout
23387
23388 \end_inset
23389 </cell>
23390 </row>
23391 <row>
23392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23393 \begin_inset Text
23394
23395 \begin_layout Plain Layout
23396
23397 \family roman
23398 \series medium
23399 \shape up
23400 \size normal
23401 \emph off
23402 \bar no
23403 \noun off
23404 \color none
23405 umlaut
23406 \end_layout
23407
23408 \end_inset
23409 </cell>
23410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23411 \begin_inset Text
23412
23413 \begin_layout Plain Layout
23414
23415 \series bold
23416
23417 \backslash
23418 ddot
23419 \end_layout
23420
23421 \end_inset
23422 </cell>
23423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23424 \begin_inset Text
23425
23426 \begin_layout Plain Layout
23427
23428 \family roman
23429 \series medium
23430 \shape up
23431 \size normal
23432 \emph off
23433 \bar no
23434 \noun off
23435 \color none
23436 \begin_inset Formula $\ddot{a}$
23437 \end_inset
23438
23439
23440 \end_layout
23441
23442 \end_inset
23443 </cell>
23444 </row>
23445 <row>
23446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23447 \begin_inset Text
23448
23449 \begin_layout Plain Layout
23450
23451 \family roman
23452 \series medium
23453 \shape up
23454 \size normal
23455 \emph off
23456 \bar no
23457 \noun off
23458 \color none
23459 tilde
23460 \end_layout
23461
23462 \end_inset
23463 </cell>
23464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23465 \begin_inset Text
23466
23467 \begin_layout Plain Layout
23468
23469 \series bold
23470
23471 \backslash
23472 tilde
23473 \end_layout
23474
23475 \end_inset
23476 </cell>
23477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23478 \begin_inset Text
23479
23480 \begin_layout Plain Layout
23481
23482 \family roman
23483 \series medium
23484 \shape up
23485 \size normal
23486 \emph off
23487 \bar no
23488 \noun off
23489 \color none
23490 \begin_inset Formula $\tilde{a}$
23491 \end_inset
23492
23493
23494 \end_layout
23495
23496 \end_inset
23497 </cell>
23498 </row>
23499 <row>
23500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23501 \begin_inset Text
23502
23503 \begin_layout Plain Layout
23504
23505 \family roman
23506 \series medium
23507 \shape up
23508 \size normal
23509 \emph off
23510 \bar no
23511 \noun off
23512 \color none
23513 dot
23514 \end_layout
23515
23516 \end_inset
23517 </cell>
23518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23519 \begin_inset Text
23520
23521 \begin_layout Plain Layout
23522
23523 \series bold
23524
23525 \backslash
23526 dot
23527 \end_layout
23528
23529 \end_inset
23530 </cell>
23531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23532 \begin_inset Text
23533
23534 \begin_layout Plain Layout
23535
23536 \family roman
23537 \series medium
23538 \shape up
23539 \size normal
23540 \emph off
23541 \bar no
23542 \noun off
23543 \color none
23544 \begin_inset Formula $\dot{a}$
23545 \end_inset
23546
23547
23548 \end_layout
23549
23550 \end_inset
23551 </cell>
23552 </row>
23553 <row>
23554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23555 \begin_inset Text
23556
23557 \begin_layout Plain Layout
23558
23559 \family roman
23560 \series medium
23561 \shape up
23562 \size normal
23563 \emph off
23564 \bar no
23565 \noun off
23566 \color none
23567 breve
23568 \end_layout
23569
23570 \end_inset
23571 </cell>
23572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23573 \begin_inset Text
23574
23575 \begin_layout Plain Layout
23576
23577 \series bold
23578
23579 \backslash
23580 breve
23581 \end_layout
23582
23583 \end_inset
23584 </cell>
23585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23586 \begin_inset Text
23587
23588 \begin_layout Plain Layout
23589
23590 \family roman
23591 \series medium
23592 \shape up
23593 \size normal
23594 \emph off
23595 \bar no
23596 \noun off
23597 \color none
23598 \begin_inset Formula $\breve{a}$
23599 \end_inset
23600
23601
23602 \end_layout
23603
23604 \end_inset
23605 </cell>
23606 </row>
23607 <row>
23608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23609 \begin_inset Text
23610
23611 \begin_layout Plain Layout
23612
23613 \family roman
23614 \series medium
23615 \shape up
23616 \size normal
23617 \emph off
23618 \bar no
23619 \noun off
23620 \color none
23621 caron
23622 \end_layout
23623
23624 \end_inset
23625 </cell>
23626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23627 \begin_inset Text
23628
23629 \begin_layout Plain Layout
23630
23631 \series bold
23632
23633 \backslash
23634 check
23635 \end_layout
23636
23637 \end_inset
23638 </cell>
23639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23640 \begin_inset Text
23641
23642 \begin_layout Plain Layout
23643
23644 \family roman
23645 \series medium
23646 \shape up
23647 \size normal
23648 \emph off
23649 \bar no
23650 \noun off
23651 \color none
23652 \begin_inset Formula $\check{a}$
23653 \end_inset
23654
23655
23656 \end_layout
23657
23658 \end_inset
23659 </cell>
23660 </row>
23661 <row>
23662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23663 \begin_inset Text
23664
23665 \begin_layout Plain Layout
23666
23667 \family roman
23668 \series medium
23669 \shape up
23670 \size normal
23671 \emph off
23672 \bar no
23673 \noun off
23674 \color none
23675 macron
23676 \end_layout
23677
23678 \end_inset
23679 </cell>
23680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23681 \begin_inset Text
23682
23683 \begin_layout Plain Layout
23684
23685 \series bold
23686
23687 \backslash
23688 bar
23689 \end_layout
23690
23691 \end_inset
23692 </cell>
23693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23694 \begin_inset Text
23695
23696 \begin_layout Plain Layout
23697
23698 \family roman
23699 \series medium
23700 \shape up
23701 \size normal
23702 \emph off
23703 \bar no
23704 \noun off
23705 \color none
23706 \begin_inset Formula $\bar{a}$
23707 \end_inset
23708
23709
23710 \end_layout
23711
23712 \end_inset
23713 </cell>
23714 </row>
23715 <row>
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 vector
23721 \end_layout
23722
23723 \end_inset
23724 </cell>
23725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23726 \begin_inset Text
23727
23728 \begin_layout Plain Layout
23729
23730 \series bold
23731
23732 \backslash
23733 vec
23734 \end_layout
23735
23736 \end_inset
23737 </cell>
23738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23739 \begin_inset Text
23740
23741 \begin_layout Plain Layout
23742
23743 \family roman
23744 \series medium
23745 \shape up
23746 \size normal
23747 \emph off
23748 \bar no
23749 \noun off
23750 \color none
23751 \begin_inset Formula $\vec{a}$
23752 \end_inset
23753
23754
23755 \end_layout
23756
23757 \end_inset
23758 </cell>
23759 </row>
23760 </lyxtabular>
23761
23762 \end_inset
23763
23764
23765 \end_layout
23766
23767 \end_inset
23768
23769
23770 \end_layout
23771
23772 \begin_layout Standard
23773 You can choose one of the accents by selecting an item from the 
23774 \family sans
23775 Frame
23776 \begin_inset space ~
23777 \end_inset
23778
23779 decorations
23780 \family default
23781  symbol set button 
23782 \begin_inset Info
23783 type  "icon"
23784 arg   "math-insert \\hat"
23785 \end_inset
23786
23787  in the math panel; this will apply to any selection you have made within
23788  a formula too.
23789 \end_layout
23790
23791 \begin_layout Section
23792 Brackets and Delimiters
23793 \begin_inset Index idx
23794 status collapsed
23795
23796 \begin_layout Plain Layout
23797 Math ! Brackets
23798 \end_layout
23799
23800 \end_inset
23801
23802
23803 \begin_inset Index idx
23804 status collapsed
23805
23806 \begin_layout Plain Layout
23807 Math ! Delimiters
23808 \end_layout
23809
23810 \end_inset
23811
23812
23813 \begin_inset CommandInset label
23814 LatexCommand label
23815 name "sec:Brackets-and-Delimiters"
23816
23817 \end_inset
23818
23819
23820 \end_layout
23821
23822 \begin_layout Standard
23823 There are several brackets available through LyX.
23824  For some purposes, using just the keys 
23825 \family typewriter
23826 []{}()|<>
23827 \family default
23828  should suffice.
23829  But if you want to surround a large structure, like a matrix or a fraction,
23830  or if you have several layers of brackets, it is better to use the math
23831  toolbar delimiter icon 
23832 \begin_inset Info
23833 type  "icon"
23834 arg   "dialog-show mathdelimiter"
23835 \end_inset
23836
23837 .
23838  For example, that is how you would construct the brackets around a matrix:
23839 \begin_inset Formula 
23840 \[
23841 \left[\begin{array}{cc}
23842 1 & 2\\
23843 3 & 4
23844 \end{array}\right]
23845 \]
23846
23847 \end_inset
23848
23849 and to make it easier to see the layers of parentheses.
23850  Below, the expression on the left was entered using the delimiter icon
23851  
23852 \begin_inset Info
23853 type  "icon"
23854 arg   "dialog-show mathdelimiter"
23855 \end_inset
23856
23857  and the expression on the right was entered using the 
23858 \family typewriter
23859 ()
23860 \family default
23861  keys.
23862  
23863 \begin_inset Formula 
23864 \[
23865 \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})}))}
23866 \]
23867
23868 \end_inset
23869
23870
23871 \end_layout
23872
23873 \begin_layout Standard
23874 If you use the delimiter icon, the parentheses, and other brackets from
23875  that menu will automatically re-size to accommodate the size of what is
23876  inside.
23877 \end_layout
23878
23879 \begin_layout Standard
23880 To construct brackets click on the button for the bracket you want on the
23881  left side and right side.
23882  If you use the option 
23883 \family sans
23884 Keep
23885 \begin_inset space ~
23886 \end_inset
23887
23888 matched
23889 \family default
23890 , the selected bracket type will be used for the left and the right side.
23891  The selection will be shown below the button field.
23892  If you want one side to not have a bracket, use the blank button.
23893  It will appear in LyX with a dotted line, but nothing will be printed.
23894 \end_layout
23895
23896 \begin_layout Standard
23897 If you want to place brackets around math structures, like a square root,
23898  you can do so by first highlighting (selecting) the structure that is to
23899  go inside the brackets.
23900  Then choose the appropriate brackets for left and right and click on 
23901 \family sans
23902 Insert
23903 \family default
23904 .
23905  The parentheses will be drawn around the selected structure.
23906  The most common bracket combinations (parentheses, square brackets, and
23907  braces, on both sides) can be entered more quickly using keyboard shortcuts.
23908  For example, to insert a pair of flexible parentheses on both sides, select
23909  the structure and enter 
23910 \begin_inset Info
23911 type  "shortcut"
23912 arg   "math-delim ( )"
23913 \end_inset
23914
23915 .
23916 \end_layout
23917
23918 \begin_layout Section
23919 Arrays and Multi-line Equations
23920 \begin_inset Index idx
23921 status collapsed
23922
23923 \begin_layout Plain Layout
23924 Math ! Arrays
23925 \end_layout
23926
23927 \end_inset
23928
23929
23930 \begin_inset Index idx
23931 status collapsed
23932
23933 \begin_layout Plain Layout
23934 Math ! Matrices
23935 \end_layout
23936
23937 \end_inset
23938
23939
23940 \begin_inset Index idx
23941 status collapsed
23942
23943 \begin_layout Plain Layout
23944 Math ! Multi-line Equations
23945 \end_layout
23946
23947 \end_inset
23948
23949
23950 \end_layout
23951
23952 \begin_layout Standard
23953 Matrices are entered in LyX using the 
23954 \family sans
23955 Math
23956 \begin_inset space ~
23957 \end_inset
23958
23959 Panel
23960 \family default
23961  matrix button 
23962 \family sans
23963
23964 \begin_inset Info
23965 type  "icon"
23966 arg   "dialog-show mathmatrix"
23967 \end_inset
23968
23969
23970 \family default
23971 .
23972  It will open a dialog for you to choose the number of rows/columns.
23973  Here is an example:
23974 \begin_inset Formula 
23975 \[
23976 \left(\begin{array}{ccc}
23977 1 & 2 & 3\\
23978 4 & 5 & 6\\
23979 7 & 8 & 9
23980 \end{array}\right)
23981 \]
23982
23983 \end_inset
23984
23985 The parentheses aren't automatic, but you can add them as described in section
23986 \begin_inset space ~
23987 \end_inset
23988
23989
23990 \begin_inset CommandInset ref
23991 LatexCommand ref
23992 reference "sec:Brackets-and-Delimiters"
23993
23994 \end_inset
23995
23996 .
23997  When you construct the matrix, you can decide whether the column entries
23998  will be left-, right-, or center-justified.
23999  This alignment is set in the box 
24000 \family sans
24001 Horizontal
24002 \family default
24003  with the letters 
24004 \begin_inset Quotes eld
24005 \end_inset
24006
24007
24008 \family sans
24009 l
24010 \family default
24011
24012 \begin_inset Quotes erd
24013 \end_inset
24014
24015
24016 \begin_inset Quotes eld
24017 \end_inset
24018
24019
24020 \family sans
24021 r
24022 \family default
24023
24024 \begin_inset Quotes erd
24025 \end_inset
24026
24027 , and 
24028 \begin_inset Quotes eld
24029 \end_inset
24030
24031
24032 \family sans
24033 c
24034 \family default
24035
24036 \begin_inset Quotes erd
24037 \end_inset
24038
24039 .
24040  LyX proposes a 
24041 \begin_inset Quotes eld
24042 \end_inset
24043
24044
24045 \family sans
24046 c
24047 \family default
24048
24049 \begin_inset Quotes erd
24050 \end_inset
24051
24052  for every column as default.
24053  For example, the sequence 
24054 \begin_inset Quotes eld
24055 \end_inset
24056
24057
24058 \family sans
24059 lcr
24060 \family default
24061
24062 \begin_inset Quotes erd
24063 \end_inset
24064
24065  means that the first column will be left-justified, the second will be
24066  centered, and the third column will be right-justified, because each letter
24067  corresponds to the relevant column.
24068  The result will look like this:
24069 \begin_inset Formula 
24070 \[
24071 \begin{array}{lcr}
24072 this & this\, column & this\, column\\
24073 column & has & has\, right\\
24074 has\, left\, alignment & center\, alignment & alignment
24075 \end{array}.
24076 \]
24077
24078 \end_inset
24079
24080
24081 \end_layout
24082
24083 \begin_layout Standard
24084 You can add more rows to an existing matrix by hitting 
24085 \begin_inset Info
24086 type  "shortcut"
24087 arg   "newline-insert newline"
24088 \end_inset
24089
24090  while the cursor is in the matrix.
24091  Adding or deleting columns can be done via the menu 
24092 \family sans
24093 Edit\SpecialChar \menuseparator
24094 Math
24095 \family default
24096  or the math toolbar.
24097 \end_layout
24098
24099 \begin_layout Standard
24100 There are other arrays used in formulas, such as distinctions of cases.
24101  It can be created with the menu 
24102 \family sans
24103 Insert\SpecialChar \menuseparator
24104 Math\SpecialChar \menuseparator
24105 Cases
24106 \begin_inset space ~
24107 \end_inset
24108
24109 Environment
24110 \family default
24111  or the command 
24112 \series bold
24113
24114 \backslash
24115 cases
24116 \series default
24117 .
24118  Here is an example: 
24119 \begin_inset Formula 
24120 \[
24121 f(x)=\begin{cases}
24122 -1 & x<0\\
24123 0 & x=0\\
24124 1 & x>0
24125 \end{cases}
24126 \]
24127
24128 \end_inset
24129
24130
24131 \end_layout
24132
24133 \begin_layout Standard
24134 \begin_inset VSpace bigskip
24135 \end_inset
24136
24137 Multi-line formulas are created when you press 
24138 \begin_inset Info
24139 type  "shortcut"
24140 arg   "newline-insert newline"
24141 \end_inset
24142
24143  within a formula.
24144  In an empty formula you can see that three blue boxes appear, one for each
24145  column.
24146  When you press 
24147 \begin_inset Info
24148 type  "shortcut"
24149 arg   "newline-insert newline"
24150 \end_inset
24151
24152  in a non-empty formula, the part before the relation sign (equal sign 
24153 \begin_inset Quotes eld
24154 \end_inset
24155
24156 =
24157 \begin_inset Quotes erd
24158 \end_inset
24159
24160  etc.) will be inserted automatically in the first column, the relation sign
24161  is in the second column, and the rest in the third column.
24162  A new row is created by every further hit of 
24163 \begin_inset Info
24164 type  "shortcut"
24165 arg   "newline-insert newline"
24166 \end_inset
24167
24168 .
24169  Multi-line formulas are always displayed formulas.
24170  Here is an example:
24171 \begin_inset Formula 
24172 \begin{eqnarray}
24173 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
24174 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
24175 \end{eqnarray}
24176
24177 \end_inset
24178
24179 Note that the middle column is designed for relation signs so structures
24180  in this column will be printed in a smaller size:
24181 \begin_inset Formula 
24182 \begin{eqnarray*}
24183 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
24184 \end{eqnarray*}
24185
24186 \end_inset
24187
24188
24189 \end_layout
24190
24191 \begin_layout Standard
24192 The multi-line formula type described here is called 
24193 \family typewriter
24194 \series medium
24195 eqnarray
24196 \family default
24197 \series default
24198 .
24199  There are other multi-line types more suitable for certain situations,
24200  for example if you want a better inter-line spacing than in formula 
24201 \begin_inset CommandInset ref
24202 LatexCommand eqref
24203 reference "eq:asquared"
24204
24205 \end_inset
24206
24207 .
24208  The other types are described in section
24209 \begin_inset space ~
24210 \end_inset
24211
24212
24213 \begin_inset CommandInset ref
24214 LatexCommand ref
24215 reference "sub:AMS-Formula-Types"
24216
24217 \end_inset
24218
24219 .
24220 \end_layout
24221
24222 \begin_layout Section
24223 Formula Numbering and Referencing
24224 \begin_inset Index idx
24225 status collapsed
24226
24227 \begin_layout Plain Layout
24228 Math ! Formula numbering
24229 \end_layout
24230
24231 \end_inset
24232
24233
24234 \begin_inset Index idx
24235 status collapsed
24236
24237 \begin_layout Plain Layout
24238 Math ! Referencing formulas
24239 \end_layout
24240
24241 \end_inset
24242
24243
24244 \begin_inset CommandInset label
24245 LatexCommand label
24246 name "sec:Formula-Numbering-and"
24247
24248 \end_inset
24249
24250
24251 \end_layout
24252
24253 \begin_layout Standard
24254 To number a formula, set the cursor in the formula and use the menu 
24255 \family sans
24256 Edit\SpecialChar \menuseparator
24257 Math\SpecialChar \menuseparator
24258 Toggle
24259 \begin_inset space ~
24260 \end_inset
24261
24262 Numbering
24263 \family default
24264  or the shortcut 
24265 \begin_inset Info
24266 type  "shortcut"
24267 arg   "math-number-toggle"
24268 \end_inset
24269
24270 .
24271  The formula number appears in LyX as 
24272 \begin_inset Quotes eld
24273 \end_inset
24274
24275 #
24276 \begin_inset Quotes erd
24277 \end_inset
24278
24279  within parentheses.
24280  The 
24281 \begin_inset Quotes eld
24282 \end_inset
24283
24284 #
24285 \begin_inset Quotes erd
24286 \end_inset
24287
24288  denotes that the number will be calculated automatically when the output
24289  is generated.
24290  The placement and format of the formula number in the output depends on
24291  the document class.
24292  In this document the number is printed together with the chapter number,
24293  separated by a dot:
24294 \begin_inset Formula 
24295 \begin{equation}
24296 1+1=2
24297 \end{equation}
24298
24299 \end_inset
24300
24301 Using 
24302 \begin_inset Info
24303 type  "shortcut"
24304 arg   "math-number-toggle"
24305 \end_inset
24306
24307  in a numbered formula will switch off the numbering.
24308  You can only number displayed formulas.
24309 \end_layout
24310
24311 \begin_layout Standard
24312 Multi-line formulas can be numbered line by line: Using the menu 
24313 \family sans
24314 Edit\SpecialChar \menuseparator
24315 Math\SpecialChar \menuseparator
24316 Toggle
24317 \begin_inset space ~
24318 \end_inset
24319
24320 Numbering
24321 \begin_inset space ~
24322 \end_inset
24323
24324 of
24325 \begin_inset space ~
24326 \end_inset
24327
24328 Line
24329 \family default
24330  or the shortcut 
24331 \begin_inset Info
24332 type  "shortcut"
24333 arg   "math-number-line-toggle"
24334 \end_inset
24335
24336  will only toggle the numbering of the line where the cursor is:
24337 \begin_inset Formula 
24338 \begin{eqnarray}
24339 1 & = & 3-2\\
24340 2 & = & 4-2\nonumber \\
24341 4 & \leq & 7
24342 \end{eqnarray}
24343
24344 \end_inset
24345
24346 To number all lines use the shortcut 
24347 \begin_inset Info
24348 type  "shortcut"
24349 arg   "math-number-toggle"
24350 \end_inset
24351
24352 .
24353 \end_layout
24354
24355 \begin_layout Standard
24356 \begin_inset VSpace bigskip
24357 \end_inset
24358
24359 Every displayed formula can be referenced by its number using a label.
24360  A label is inserted with the menu 
24361 \family sans
24362 Insert\SpecialChar \menuseparator
24363 Label
24364 \family default
24365  when the cursor is in the formula.
24366  This opens a dialog to enter the label.
24367  It is recommended to use the proposed 
24368 \begin_inset Quotes eld
24369 \end_inset
24370
24371
24372 \family sans
24373 eq:
24374 \family default
24375
24376 \begin_inset Quotes erd
24377 \end_inset
24378
24379  as the first part of the label, because this helps later to identify the
24380  label type when you have many labels in your document.
24381  We inserted in the following example the label 
24382 \begin_inset Quotes eld
24383 \end_inset
24384
24385 eq:tanhExp
24386 \begin_inset Quotes erd
24387 \end_inset
24388
24389  in the second line:
24390 \begin_inset Formula 
24391 \begin{eqnarray}
24392 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
24393  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
24394 \end{eqnarray}
24395
24396 \end_inset
24397
24398 Every labeled line is automatically numbered.
24399  Therefore the label is shown in LyX at the place of the formula number
24400  placeholder 
24401 \begin_inset Quotes eld
24402 \end_inset
24403
24404 #
24405 \begin_inset Quotes erd
24406 \end_inset
24407
24408 .
24409  You can reference a labeled formula using the menu 
24410 \family sans
24411 Insert\SpecialChar \menuseparator
24412 Cross
24413 \begin_inset space ~
24414 \end_inset
24415
24416 Reference
24417 \family default
24418 .
24419  A dialog appears to choose a label you want to refer to.
24420  The reference appears in LyX as a gray cross-reference box and in the output
24421  as the formula number:
24422 \end_layout
24423
24424 \begin_layout Standard
24425 This is a cross-reference to equation (
24426 \begin_inset CommandInset ref
24427 LatexCommand ref
24428 reference "eq:tanhExp"
24429
24430 \end_inset
24431
24432 ).
24433 \end_layout
24434
24435 \begin_layout Standard
24436 The properties of LyX's cross-reference box are described in section
24437 \begin_inset space ~
24438 \end_inset
24439
24440
24441 \begin_inset CommandInset ref
24442 LatexCommand ref
24443 reference "sec:Cross-References"
24444
24445 \end_inset
24446
24447 .
24448  To delete a label, set the cursor at the end in the labeled formula and
24449  press 
24450 \family sans
24451 Del
24452 \family default
24453 .
24454 \end_layout
24455
24456 \begin_layout Section
24457 User defined math macros
24458 \begin_inset Index idx
24459 status collapsed
24460
24461 \begin_layout Plain Layout
24462 Math ! Macros
24463 \end_layout
24464
24465 \end_inset
24466
24467
24468 \end_layout
24469
24470 \begin_layout Standard
24471 LyX allows you to define macros for formulas which is very useful when you
24472  have equations of the same form in a document several times.
24473  Math macros are explained in section 
24474 \emph on
24475 Math
24476 \begin_inset space ~
24477 \end_inset
24478
24479 Macros
24480 \emph default
24481  of the 
24482 \emph on
24483 Math
24484 \emph default
24485  manual.
24486 \end_layout
24487
24488 \begin_layout Section
24489 Fine-Tuning
24490 \end_layout
24491
24492 \begin_layout Subsection
24493 Typefaces
24494 \begin_inset Index idx
24495 status collapsed
24496
24497 \begin_layout Plain Layout
24498 Math ! Typefaces
24499 \end_layout
24500
24501 \end_inset
24502
24503
24504 \end_layout
24505
24506 \begin_layout Standard
24507 The standard font for text is italic, for numbers the standard is roman.
24508  To set a font in a formula, use the 
24509 \family sans
24510 Math
24511 \begin_inset space ~
24512 \end_inset
24513
24514 Panel
24515 \family default
24516  button 
24517 \family sans
24518
24519 \begin_inset Info
24520 type  "icon"
24521 arg   "math-insert \\font"
24522 \end_inset
24523
24524
24525 \family default
24526 , or enter its command, listed in table
24527 \begin_inset space ~
24528 \end_inset
24529
24530
24531 \begin_inset CommandInset ref
24532 LatexCommand ref
24533 reference "tab:Typefaces-and-the"
24534
24535 \end_inset
24536
24537 , directly.
24538 \end_layout
24539
24540 \begin_layout Standard
24541 \begin_inset Float table
24542 wide false
24543 sideways false
24544 status open
24545
24546 \begin_layout Plain Layout
24547 \begin_inset Caption Standard
24548
24549 \begin_layout Plain Layout
24550 \begin_inset CommandInset label
24551 LatexCommand label
24552 name "tab:Typefaces-and-the"
24553
24554 \end_inset
24555
24556 Typefaces and the corresponding commands.
24557 \end_layout
24558
24559 \end_inset
24560
24561
24562 \end_layout
24563
24564 \begin_layout Plain Layout
24565 \align center
24566 \begin_inset Tabular
24567 <lyxtabular version="3" rows="9" columns="2">
24568 <features rotate="0" tabularvalignment="middle">
24569 <column alignment="center" valignment="top" width="0pt">
24570 <column alignment="center" valignment="top" width="0pt">
24571 <row>
24572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24573 \begin_inset Text
24574
24575 \begin_layout Plain Layout
24576 Font
24577 \end_layout
24578
24579 \end_inset
24580 </cell>
24581 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24582 \begin_inset Text
24583
24584 \begin_layout Plain Layout
24585 Command
24586 \end_layout
24587
24588 \end_inset
24589 </cell>
24590 </row>
24591 <row>
24592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24593 \begin_inset Text
24594
24595 \begin_layout Plain Layout
24596
24597 \shape up
24598 \size normal
24599 \bar no
24600 \noun off
24601 \color none
24602 \begin_inset Formula $\mathrm{Roman}$
24603 \end_inset
24604
24605
24606 \end_layout
24607
24608 \end_inset
24609 </cell>
24610 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24611 \begin_inset Text
24612
24613 \begin_layout Plain Layout
24614
24615 \series bold
24616
24617 \backslash
24618 mathrm
24619 \end_layout
24620
24621 \end_inset
24622 </cell>
24623 </row>
24624 <row>
24625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24626 \begin_inset Text
24627
24628 \begin_layout Plain Layout
24629 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
24630 \end_inset
24631
24632
24633 \end_layout
24634
24635 \end_inset
24636 </cell>
24637 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24638 \begin_inset Text
24639
24640 \begin_layout Plain Layout
24641
24642 \series bold
24643
24644 \backslash
24645 mathbf
24646 \end_layout
24647
24648 \end_inset
24649 </cell>
24650 </row>
24651 <row>
24652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24653 \begin_inset Text
24654
24655 \begin_layout Plain Layout
24656 \begin_inset Formula $\mathit{Italic}$
24657 \end_inset
24658
24659
24660 \end_layout
24661
24662 \end_inset
24663 </cell>
24664 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24665 \begin_inset Text
24666
24667 \begin_layout Plain Layout
24668
24669 \series bold
24670
24671 \backslash
24672 mathit
24673 \end_layout
24674
24675 \end_inset
24676 </cell>
24677 </row>
24678 <row>
24679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24680 \begin_inset Text
24681
24682 \begin_layout Plain Layout
24683
24684 \shape up
24685 \size normal
24686 \bar no
24687 \noun off
24688 \color none
24689 \begin_inset Formula $\mathtt{Typewriter}$
24690 \end_inset
24691
24692
24693 \end_layout
24694
24695 \end_inset
24696 </cell>
24697 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24698 \begin_inset Text
24699
24700 \begin_layout Plain Layout
24701
24702 \series bold
24703
24704 \backslash
24705 mathtt
24706 \end_layout
24707
24708 \end_inset
24709 </cell>
24710 </row>
24711 <row>
24712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24713 \begin_inset Text
24714
24715 \begin_layout Plain Layout
24716 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
24717 \end_inset
24718
24719
24720 \end_layout
24721
24722 \end_inset
24723 </cell>
24724 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24725 \begin_inset Text
24726
24727 \begin_layout Plain Layout
24728
24729 \series bold
24730
24731 \backslash
24732 mathbb
24733 \end_layout
24734
24735 \end_inset
24736 </cell>
24737 </row>
24738 <row>
24739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24740 \begin_inset Text
24741
24742 \begin_layout Plain Layout
24743 \begin_inset Formula $\mathfrak{Fraktur}$
24744 \end_inset
24745
24746
24747 \end_layout
24748
24749 \end_inset
24750 </cell>
24751 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24752 \begin_inset Text
24753
24754 \begin_layout Plain Layout
24755
24756 \series bold
24757
24758 \backslash
24759 mathfrak
24760 \end_layout
24761
24762 \end_inset
24763 </cell>
24764 </row>
24765 <row>
24766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24767 \begin_inset Text
24768
24769 \begin_layout Plain Layout
24770
24771 \shape up
24772 \size normal
24773 \emph on
24774 \bar no
24775 \noun off
24776 \color none
24777 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
24778 \end_inset
24779
24780
24781 \end_layout
24782
24783 \end_inset
24784 </cell>
24785 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24786 \begin_inset Text
24787
24788 \begin_layout Plain Layout
24789
24790 \series bold
24791
24792 \backslash
24793 mathcal
24794 \end_layout
24795
24796 \end_inset
24797 </cell>
24798 </row>
24799 <row>
24800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24801 \begin_inset Text
24802
24803 \begin_layout Plain Layout
24804 \begin_inset Formula $\mathsf{SansSerif}$
24805 \end_inset
24806
24807
24808 \end_layout
24809
24810 \end_inset
24811 </cell>
24812 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24813 \begin_inset Text
24814
24815 \begin_layout Plain Layout
24816
24817 \series bold
24818
24819 \backslash
24820 mathsf
24821 \end_layout
24822
24823 \end_inset
24824 </cell>
24825 </row>
24826 </lyxtabular>
24827
24828 \end_inset
24829
24830
24831 \end_layout
24832
24833 \end_inset
24834
24835
24836 \end_layout
24837
24838 \begin_layout Standard
24839 \begin_inset Note Greyedout
24840 status open
24841
24842 \begin_layout Plain Layout
24843
24844 \series bold
24845 Note:
24846 \series default
24847  You can only print capital letters in the typefaces 
24848 \family sans
24849 Blackboard
24850 \family default
24851  and 
24852 \family sans
24853 Calligraphic
24854 \family default
24855 .
24856 \end_layout
24857
24858 \end_inset
24859
24860
24861 \end_layout
24862
24863 \begin_layout Standard
24864 When you use a typeface, a blue box is inserted in the formula.
24865  Every character in this box will be printed in this typeface.
24866  Pressing 
24867 \family sans
24868 Space
24869 \family default
24870  within the box will set the cursor outside, so that you have to use a protected
24871  space when you need a space in the box.
24872  Here is an example where 
24873 \begin_inset Quotes eld
24874 \end_inset
24875
24876 N
24877 \begin_inset Quotes erd
24878 \end_inset
24879
24880  in 
24881 \family sans
24882 Blackboard
24883 \family default
24884  denotes the set of numbers:
24885 \begin_inset Formula 
24886 \[
24887 f(x)=\sqrt{x}\:;\: x\in\mathbb{N}
24888 \]
24889
24890 \end_inset
24891
24892
24893 \end_layout
24894
24895 \begin_layout Standard
24896 The typefaces are nestable, which can cause confusion.
24897  You can e.
24898 \begin_inset space \thinspace{}
24899 \end_inset
24900
24901 g.
24902 \begin_inset space \space{}
24903 \end_inset
24904
24905 put a character in 
24906 \family sans
24907 Fraktur
24908 \family default
24909  in a box for 
24910 \family sans
24911 Typewriter
24912 \family default
24913
24914 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
24915 \end_inset
24916
24917  
24918 \begin_inset Newline newline
24919 \end_inset
24920
24921 So it is better not to use this feature.
24922 \end_layout
24923
24924 \begin_layout Standard
24925 The typefaces have no effect on Greek letters: 
24926 \begin_inset Formula $\mathfrak{abc\delta e}$
24927 \end_inset
24928
24929
24930 \begin_inset Newline newline
24931 \end_inset
24932
24933 You can only print them emboldened using the command 
24934 \series bold
24935
24936 \backslash
24937 boldsymbol
24938 \series default
24939 , which works like the other typeface commands: 
24940 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
24941 \end_inset
24942
24943
24944 \end_layout
24945
24946 \begin_layout Standard
24947
24948 \series bold
24949
24950 \backslash
24951 boldsymbol
24952 \series default
24953  works for all symbols, letters, and numbers.
24954 \end_layout
24955
24956 \begin_layout Standard
24957 A number of other font options are available as well, in the menu 
24958 \family sans
24959 Edit\SpecialChar \menuseparator
24960 Math\SpecialChar \menuseparator
24961 Text
24962 \begin_inset space ~
24963 \end_inset
24964
24965 Style
24966 \family default
24967 .
24968 \end_layout
24969
24970 \begin_layout Subsection
24971 Math Text
24972 \begin_inset Index idx
24973 status collapsed
24974
24975 \begin_layout Plain Layout
24976 Math ! Text
24977 \end_layout
24978
24979 \end_inset
24980
24981
24982 \end_layout
24983
24984 \begin_layout Standard
24985 Typefaces are useful for entering some characters in some given font, but
24986  not for text.
24987  For typing longer pieces of text use the math text, which is obtained using
24988  the entry 
24989 \family sans
24990 Normal
24991 \begin_inset space ~
24992 \end_inset
24993
24994 text
24995 \begin_inset space ~
24996 \end_inset
24997
24998 mode
24999 \family default
25000  of the 
25001 \family sans
25002 Math
25003 \begin_inset space ~
25004 \end_inset
25005
25006 Panel
25007 \family default
25008  button 
25009 \family sans
25010
25011 \begin_inset Info
25012 type  "icon"
25013 arg   "math-insert \\font"
25014 \end_inset
25015
25016
25017 \family default
25018  (shortcut 
25019 \begin_inset Info
25020 type  "shortcut"
25021 arg   "font-default"
25022 \end_inset
25023
25024 ).
25025  Math text appears in LyX in black instead of blue.
25026  You can use spaces and accents in math text like in normal text.
25027  Here is an example:
25028 \begin_inset Formula 
25029 \[
25030 f(x)=\begin{cases}
25031 x & \mbox{if I say so}\\
25032 -x & \mbox{under Umständen}
25033 \end{cases}
25034 \]
25035
25036 \end_inset
25037
25038
25039 \end_layout
25040
25041 \begin_layout Subsection
25042 Font Sizes
25043 \begin_inset Index idx
25044 status collapsed
25045
25046 \begin_layout Plain Layout
25047 Math ! Font sizes
25048 \end_layout
25049
25050 \end_inset
25051
25052
25053 \end_layout
25054
25055 \begin_layout Standard
25056 There are four font styles (relative sizes) used in math-mode, which are
25057  automatically chosen in most situations.
25058  These are called 
25059 \family sans
25060 textstyle
25061 \family default
25062
25063 \family sans
25064 displaystyle
25065 \family default
25066
25067 \family sans
25068 scriptstyle
25069 \family default
25070 , and 
25071 \family sans
25072 scriptscriptstyle
25073 \family default
25074 .
25075  For most characters, 
25076 \family sans
25077 textstyle
25078 \family default
25079  and 
25080 \family sans
25081 displaystyle
25082 \family default
25083  are actually the same size, but fractions, superscripts and subscripts,
25084  and certain other structures, are set larger in 
25085 \family sans
25086 displaystyle
25087 \family default
25088 .
25089  Except for some operators, which resize themselves to accommodate various
25090  situations, all text will be set in the styles that LaTeX thinks are appropriat
25091 e.
25092  These choices can be overridden by using the math panel button 
25093 \family sans
25094
25095 \begin_inset Info
25096 type  "icon"
25097 arg   "math-insert \\style"
25098 \end_inset
25099
25100
25101 \family default
25102 .
25103  A box for the size will be created in which you can insert the math structure.
25104  For example, you can set 
25105 \begin_inset Formula $\frac{1}{2}$
25106 \end_inset
25107
25108 , which is normally in 
25109 \family sans
25110 textstyle
25111 \family default
25112 , larger in 
25113 \family sans
25114 displaystyle
25115 \family default
25116
25117 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
25118 \end_inset
25119
25120 .
25121  The four styles are used in the following example:
25122 \end_layout
25123
25124 \begin_layout Standard
25125 \begin_inset Formula $displaystyle$
25126 \end_inset
25127
25128
25129 \begin_inset Formula ${\textstyle textstyle}$
25130 \end_inset
25131
25132
25133 \begin_inset Formula ${\scriptstyle scriptstyle}$
25134 \end_inset
25135
25136
25137 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
25138 \end_inset
25139
25140 .
25141 \end_layout
25142
25143 \begin_layout Standard
25144 All these math-mode font sizes are relative so that if the whole math inset
25145  is set in a particular size with the menu 
25146 \family sans
25147 Edit\SpecialChar \menuseparator
25148 Text
25149 \begin_inset space ~
25150 \end_inset
25151
25152 Style
25153 \family default
25154 , all sizes in the formula will be adjusted relative to this size.
25155  Similarly, if the base font size of the document is changed, all fonts
25156  will be adjusted to correspond.
25157  As an example here is a formula in the font size 
25158 \begin_inset Quotes eld
25159 \end_inset
25160
25161 largest
25162 \begin_inset Quotes erd
25163 \end_inset
25164
25165 :
25166 \end_layout
25167
25168 \begin_layout Standard
25169
25170 \family roman
25171 \size largest
25172 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
25173 \end_inset
25174
25175
25176 \end_layout
25177
25178 \begin_layout Section
25179 Theorem Modules
25180 \end_layout
25181
25182 \begin_layout Standard
25183 As of LyX 1.6, support for theorem-like environments has been moved out of
25184  the document classes and into layout modules.
25185 \begin_inset Index idx
25186 status collapsed
25187
25188 \begin_layout Plain Layout
25189 Layout Modules
25190 \end_layout
25191
25192 \end_inset
25193
25194  As a result, theorem-like environments can now easily be used with classes
25195  other than the AMS classes.
25196  See section 
25197 \begin_inset CommandInset ref
25198 LatexCommand ref
25199 reference "sub:Modules"
25200
25201 \end_inset
25202
25203  for more on layout modules.
25204 \end_layout
25205
25206 \begin_layout Section
25207 AMS-LaTeX
25208 \begin_inset Index idx
25209 status collapsed
25210
25211 \begin_layout Plain Layout
25212 AMS math
25213 \end_layout
25214
25215 \end_inset
25216
25217
25218 \begin_inset Index idx
25219 status collapsed
25220
25221 \begin_layout Plain Layout
25222 Math ! AMS
25223 \end_layout
25224
25225 \end_inset
25226
25227
25228 \end_layout
25229
25230 \begin_layout Standard
25231 LyX supports the packages provided by the American Mathematical Society
25232  (AMS) that are in common use.
25233 \end_layout
25234
25235 \begin_layout Subsection
25236 Enabling AMS-Support
25237 \end_layout
25238
25239 \begin_layout Standard
25240 Selecting the checkbox 
25241 \family sans
25242 Use
25243 \begin_inset space ~
25244 \end_inset
25245
25246 AMS
25247 \begin_inset space ~
25248 \end_inset
25249
25250 math
25251 \begin_inset space ~
25252 \end_inset
25253
25254 package
25255 \family default
25256  in the 
25257 \family sans
25258 Document\SpecialChar \menuseparator
25259 Settings
25260 \family default
25261
25262 \begin_inset Index idx
25263 status collapsed
25264
25265 \begin_layout Plain Layout
25266 Document ! Settings
25267 \end_layout
25268
25269 \end_inset
25270
25271  dialog under 
25272 \family sans
25273 Math
25274 \begin_inset space ~
25275 \end_inset
25276
25277 Options
25278 \family default
25279  will include the AMS-packages in the document and make the facilities available.
25280  AMS is needed for many math-constructs, so when you get LaTeX-errors in
25281  formulas, ensure that you have enabled AMS.
25282 \end_layout
25283
25284 \begin_layout Subsection
25285 AMS-Formula Types
25286 \begin_inset CommandInset label
25287 LatexCommand label
25288 name "sub:AMS-Formula-Types"
25289
25290 \end_inset
25291
25292
25293 \begin_inset Index idx
25294 status collapsed
25295
25296 \begin_layout Plain Layout
25297 Math ! Multi-line Equations
25298 \end_layout
25299
25300 \end_inset
25301
25302
25303 \end_layout
25304
25305 \begin_layout Standard
25306 AMS-LaTeX provides a selection of different formula types.
25307  LyX allows you to choose between 
25308 \family typewriter
25309 align
25310 \family default
25311
25312 \family typewriter
25313 alignat
25314 \family default
25315
25316 \family typewriter
25317 flalign
25318 \family default
25319
25320 \family typewriter
25321 gather
25322 \family default
25323 , and 
25324 \family typewriter
25325 multline
25326 \family default
25327 .
25328  We refer to the AMS-documentation for an explanation of these formula types.
25329 \end_layout
25330
25331 \begin_layout Chapter
25332 More Tools
25333 \end_layout
25334
25335 \begin_layout Section
25336 Cross-References
25337 \begin_inset Index idx
25338 status collapsed
25339
25340 \begin_layout Plain Layout
25341 Cross references
25342 \end_layout
25343
25344 \end_inset
25345
25346
25347 \begin_inset CommandInset label
25348 LatexCommand label
25349 name "sec:Cross-References"
25350
25351 \end_inset
25352
25353
25354 \end_layout
25355
25356 \begin_layout Standard
25357 One of LyX's strengths is cross-references.
25358  You can reference every section, float, footnote, formula, and list in
25359  the document.
25360  To reference a document part, you have to insert a label into it.
25361  The label is used as an anchor and a name for the reference.
25362  We want for example to refer to the second item of the following list:
25363 \end_layout
25364
25365 \begin_layout Enumerate
25366 First item
25367 \end_layout
25368
25369 \begin_layout Enumerate
25370 \begin_inset CommandInset label
25371 LatexCommand label
25372 name "enu:Second-item"
25373
25374 \end_inset
25375
25376 Second item
25377 \end_layout
25378
25379 \begin_layout Enumerate
25380 Third item
25381 \end_layout
25382
25383 \begin_layout Standard
25384 First we insert a label into the second item with the menu 
25385 \family sans
25386 Insert\SpecialChar \menuseparator
25387 Label
25388 \family default
25389  or by pressing the toolbar button 
25390 \begin_inset Info
25391 type  "icon"
25392 arg   "label-insert"
25393 \end_inset
25394
25395 .
25396  A gray label box like this: 
25397 \begin_inset Graphics
25398         filename clipart/labelQt4.png
25399         scale 85
25400
25401 \end_inset
25402
25403  is inserted and the label window pops up asking for the label text.
25404  LyX offers as text the first words of the item with a prefix, in our case
25405  the text 
25406 \begin_inset Quotes eld
25407 \end_inset
25408
25409
25410 \family sans
25411 enu:Second-item
25412 \family default
25413
25414 \begin_inset Quotes erd
25415 \end_inset
25416
25417 .
25418  The prefix 
25419 \begin_inset Quotes eld
25420 \end_inset
25421
25422
25423 \family sans
25424 enu:
25425 \family default
25426
25427 \begin_inset Quotes erd
25428 \end_inset
25429
25430  stands for 
25431 \begin_inset Quotes eld
25432 \end_inset
25433
25434 enumerate
25435 \begin_inset Quotes erd
25436 \end_inset
25437
25438 .
25439  The prefix depends on the document part where the label is inserted, e.
25440 \begin_inset space \thinspace{}
25441 \end_inset
25442
25443 g.
25444 \begin_inset space \space{}
25445 \end_inset
25446
25447 if you insert a label into a section heading, the suggested prefix will
25448  be 
25449 \begin_inset Quotes eld
25450 \end_inset
25451
25452
25453 \family sans
25454 sec:
25455 \family default
25456
25457 \begin_inset Quotes erd
25458 \end_inset
25459
25460 .
25461 \end_layout
25462
25463 \begin_layout Standard
25464 To reference the item, we refer to its label using the menu 
25465 \family sans
25466 Insert\SpecialChar \menuseparator
25467 Cross-Reference
25468 \family default
25469  or the toolbar button 
25470 \begin_inset Info
25471 type  "icon"
25472 arg   "dialog-show-new-inset ref"
25473 \end_inset
25474
25475 .
25476  A gray cross-reference box like this: 
25477 \begin_inset Graphics
25478         filename clipart/referenceQt4.png
25479         scale 85
25480
25481 \end_inset
25482
25483  is inserted and the cross-reference window appears showing all the labels
25484  in the document.
25485  We can now sort the labels alphabetically and then choose the entry 
25486 \begin_inset Quotes eld
25487 \end_inset
25488
25489
25490 \family sans
25491 enu:Second-item
25492 \family default
25493
25494 \begin_inset Quotes erd
25495 \end_inset
25496
25497 .
25498  At the position of the cross-reference box the item number will appear
25499  in the output.
25500 \end_layout
25501
25502 \begin_layout Standard
25503 Alternatively to 
25504 \family sans
25505 Insert\SpecialChar \menuseparator
25506 Cross-Reference
25507 \family default
25508 , you can right-click on a label and use in the appearing context menu 
25509 \family sans
25510 Copy as Reference
25511 \family default
25512 .
25513  The cross-reference to this label is now in the clipboard and can be pasted
25514  to the actual cursor position via the menu 
25515 \family sans
25516 Edit\SpecialChar \menuseparator
25517 Paste
25518 \family default
25519  (shortcut 
25520 \begin_inset Info
25521 type  "shortcut"
25522 arg   "paste"
25523 \end_inset
25524
25525 ).
25526 \end_layout
25527
25528 \begin_layout Standard
25529 Here is our cross-reference: Item
25530 \begin_inset space ~
25531 \end_inset
25532
25533
25534 \begin_inset CommandInset ref
25535 LatexCommand ref
25536 reference "enu:Second-item"
25537
25538 \end_inset
25539
25540
25541 \end_layout
25542
25543 \begin_layout Standard
25544 It is recommended to use a protected space
25545 \begin_inset Foot
25546 status collapsed
25547
25548 \begin_layout Plain Layout
25549 described in section
25550 \begin_inset space ~
25551 \end_inset
25552
25553
25554 \begin_inset CommandInset ref
25555 LatexCommand ref
25556 reference "sub:Protected-Space"
25557
25558 \end_inset
25559
25560
25561 \end_layout
25562
25563 \end_inset
25564
25565  between the cross-reference name and the cross-reference to avoid ugly
25566  line breaks between them.
25567 \end_layout
25568
25569 \begin_layout Standard
25570 There are six formats of cross-references:
25571 \end_layout
25572
25573 \begin_layout Description
25574 <reference>: prints the number, this is the default: 
25575 \begin_inset CommandInset ref
25576 LatexCommand ref
25577 reference "fig:Two-distorted-images"
25578
25579 \end_inset
25580
25581
25582 \end_layout
25583
25584 \begin_layout Description
25585 (<reference>): prints the number within two parentheses, this is the style
25586  normally used to reference formulas, especially when the reference name
25587  
25588 \begin_inset Quotes eld
25589 \end_inset
25590
25591 Equation
25592 \begin_inset Quotes erd
25593 \end_inset
25594
25595  is omitted: 
25596 \begin_inset CommandInset ref
25597 LatexCommand eqref
25598 reference "eq:tanhExp"
25599
25600 \end_inset
25601
25602
25603 \end_layout
25604
25605 \begin_layout Description
25606 <page>: prints the page number: Page
25607 \begin_inset space ~
25608 \end_inset
25609
25610
25611 \begin_inset CommandInset ref
25612 LatexCommand pageref
25613 reference "fig:Two-distorted-images"
25614
25615 \end_inset
25616
25617
25618 \end_layout
25619
25620 \begin_layout Description
25621 on
25622 \begin_inset space ~
25623 \end_inset
25624
25625 page
25626 \begin_inset space ~
25627 \end_inset
25628
25629 <page>: prints the text "on page" and the page number: 
25630 \begin_inset CommandInset ref
25631 LatexCommand vpageref
25632 reference "fig:Two-distorted-images"
25633
25634 \end_inset
25635
25636
25637 \end_layout
25638
25639 \begin_layout Description
25640 <reference>
25641 \begin_inset space ~
25642 \end_inset
25643
25644 on
25645 \begin_inset space ~
25646 \end_inset
25647
25648 page
25649 \begin_inset space ~
25650 \end_inset
25651
25652 <page>: prints the number, the text "on page", and the page number: 
25653 \begin_inset CommandInset ref
25654 LatexCommand vref
25655 reference "fig:Two-distorted-images"
25656
25657 \end_inset
25658
25659
25660 \end_layout
25661
25662 \begin_layout Description
25663 Formatted
25664 \begin_inset space ~
25665 \end_inset
25666
25667 reference: prints a self defined cross-reference format.
25668 \begin_inset Newline newline
25669 \end_inset
25670
25671
25672 \begin_inset Note Greyedout
25673 status collapsed
25674
25675 \begin_layout Plain Layout
25676
25677 \series bold
25678 Note:
25679 \series default
25680  This feature is only available when you have the LaTeX-package 
25681 \series bold
25682 prettyref
25683 \series default
25684  or 
25685 \series bold
25686 refstyle
25687 \series default
25688
25689 \begin_inset Index idx
25690 status collapsed
25691
25692 \begin_layout Plain Layout
25693 LaTeX-packages ! prettyref
25694 \end_layout
25695
25696 \end_inset
25697
25698
25699 \begin_inset Index idx
25700 status collapsed
25701
25702 \begin_layout Plain Layout
25703 LaTeX-packages ! refstyle
25704 \end_layout
25705
25706 \end_inset
25707
25708  installed.
25709 \end_layout
25710
25711 \end_inset
25712
25713
25714 \begin_inset Newline newline
25715 \end_inset
25716
25717 You can select which LaTeX-package should be used for this feature by setting
25718  the option 
25719 \family sans
25720 Use refstyle (not prettyref) for cross-references
25721 \family default
25722  in the menu 
25723 \family sans
25724 Document\SpecialChar \menuseparator
25725 Settings\SpecialChar \menuseparator
25726 Document Class
25727 \family default
25728 .
25729  The package 
25730 \series bold
25731 refstyle
25732 \series default
25733  is the default and preferred because 
25734 \series bold
25735 prettyref
25736 \series default
25737  supports only English documents.
25738  The format is specified by using the command 
25739 \series bold
25740
25741 \backslash
25742 newrefformat
25743 \series default
25744  (prettyref) or 
25745 \series bold
25746
25747 \backslash
25748 newref
25749 \series default
25750  (refstyle) in the LaTeX preamble of the document.
25751  For example redefining all references to figures (which have the label
25752  shortcut 
25753 \begin_inset Quotes eld
25754 \end_inset
25755
25756
25757 \family sans
25758 fig
25759 \family default
25760
25761 \begin_inset Quotes erd
25762 \end_inset
25763
25764 ) can be done with this command
25765 \begin_inset Newline newline
25766 \end_inset
25767
25768
25769 \series bold
25770
25771 \backslash
25772 newref{fig}{refcmd={Image on page 
25773 \backslash
25774 pageref{#1}}}
25775 \series default
25776
25777 \begin_inset Newline newline
25778 \end_inset
25779
25780 For more information about the format, have a look at the package documentations
25781
25782 \begin_inset CommandInset citation
25783 LatexCommand cite
25784 key "prettyref,refstyle"
25785
25786 \end_inset
25787
25788 .
25789 \end_layout
25790
25791 \begin_layout Description
25792 Textual
25793 \begin_inset space ~
25794 \end_inset
25795
25796 reference: prints the caption or the name of the reference: 
25797 \begin_inset CommandInset ref
25798 LatexCommand nameref
25799 reference "fig:Two-distorted-images"
25800
25801 \end_inset
25802
25803
25804 \end_layout
25805
25806 \begin_layout Standard
25807
25808 \family sans
25809 <page>
25810 \family default
25811  will not print the page number if the label is on the previous, the same,
25812  or the next page.
25813  You will e.
25814 \begin_inset space \thinspace{}
25815 \end_inset
25816
25817 g.
25818 \begin_inset space \space{}
25819 \end_inset
25820
25821 see the text 
25822 \begin_inset Quotes eld
25823 \end_inset
25824
25825
25826 \family sans
25827 on this page
25828 \family default
25829
25830 \begin_inset Quotes erd
25831 \end_inset
25832
25833  instead.
25834  The style 
25835 \family sans
25836 <reference> on page <page>
25837 \family default
25838  will not print anything about the page if the label is on the same page.
25839 \end_layout
25840
25841 \begin_layout Standard
25842 The number and current page of the referenced document part in the output
25843  is automatically calculated by LaTeX.
25844  The varieties are adjusted in the field 
25845 \family sans
25846 Format
25847 \family default
25848  of the cross-reference window, that appear when you click on the cross-referenc
25849 e.
25850 \end_layout
25851
25852 \begin_layout Standard
25853 You can only use the style 
25854 \family sans
25855 <reference>
25856 \family default
25857  to reference numbered document parts, while the reference style 
25858 \family sans
25859 <page>
25860 \family default
25861  is always possible.
25862 \end_layout
25863
25864 \begin_layout Standard
25865 If you want to reference a section, put the label in the section heading;
25866  for floats put the label in the caption; for footnotes put the label in
25867  it.
25868  Referencing formulas is explained in section
25869 \begin_inset space ~
25870 \end_inset
25871
25872
25873 \begin_inset CommandInset ref
25874 LatexCommand ref
25875 reference "sec:Formula-Numbering-and"
25876
25877 \end_inset
25878
25879 .
25880 \end_layout
25881
25882 \begin_layout Standard
25883 Right-clicking on a cross-reference opens a context menu.
25884  The entry 
25885 \family sans
25886 Go
25887 \begin_inset space ~
25888 \end_inset
25889
25890 to
25891 \begin_inset space ~
25892 \end_inset
25893
25894 Label
25895 \family default
25896  sets the cursor before the referenced label.
25897  This entry will be renamed in the context menu of the label to 
25898 \family sans
25899 Go
25900 \begin_inset space ~
25901 \end_inset
25902
25903 Back
25904 \family default
25905  so that you can use it to set the cursor back to the cross-reference.
25906  You can also go back with the toolbar button 
25907 \begin_inset Info
25908 type  "icon"
25909 arg   "bookmark-goto 0"
25910 \end_inset
25911
25912 .
25913 \end_layout
25914
25915 \begin_layout Standard
25916 You can change labels at any time.
25917  References to the changed label will automatically be updated so that you
25918  do not need to think about this.
25919 \end_layout
25920
25921 \begin_layout Standard
25922 If a cross-reference refers to a non-existent label, you will see two question
25923  marks in the output instead of the reference.
25924 \end_layout
25925
25926 \begin_layout Standard
25927 References are described in detail in sec.
25928 \begin_inset space ~
25929 \end_inset
25930
25931
25932 \begin_inset Quotes eld
25933 \end_inset
25934
25935 Referencing Floats
25936 \begin_inset Quotes erd
25937 \end_inset
25938
25939  of the 
25940 \emph on
25941 Embedded
25942 \begin_inset space ~
25943 \end_inset
25944
25945 Objects
25946 \emph default
25947  manual.
25948 \end_layout
25949
25950 \begin_layout Section
25951 Table of Contents and other Listings
25952 \begin_inset Index idx
25953 status collapsed
25954
25955 \begin_layout Plain Layout
25956 Table of contents
25957 \end_layout
25958
25959 \end_inset
25960
25961
25962 \begin_inset Index idx
25963 status collapsed
25964
25965 \begin_layout Plain Layout
25966 Outline
25967 \end_layout
25968
25969 \end_inset
25970
25971
25972 \begin_inset CommandInset label
25973 LatexCommand label
25974 name "sec:toc"
25975
25976 \end_inset
25977
25978
25979 \end_layout
25980
25981 \begin_layout Subsection
25982 Table of Contents
25983 \begin_inset CommandInset label
25984 LatexCommand label
25985 name "sub:Table-of-Contents"
25986
25987 \end_inset
25988
25989
25990 \end_layout
25991
25992 \begin_layout Standard
25993 The Table of Contents (TOC) is inserted with the menu 
25994 \family sans
25995 Insert\SpecialChar \menuseparator
25996 List/TOC\SpecialChar \menuseparator
25997 Table
25998 \begin_inset space ~
25999 \end_inset
26000
26001 of
26002 \begin_inset space ~
26003 \end_inset
26004
26005 Contents
26006 \family default
26007 .
26008  It is displayed in LyX as a gray box.
26009  If you click on it, the 
26010 \family sans
26011 Outline
26012 \family default
26013  window appears, showing you the TOC entries as outline, which allows you
26014  to move and rearrange sections in your documents.
26015  So this operation is an alternative to the menu 
26016 \family sans
26017 Document\SpecialChar \menuseparator
26018 Outline
26019 \family default
26020  that is described in sec.
26021 \begin_inset space \thinspace{}
26022 \end_inset
26023
26024
26025 \begin_inset CommandInset ref
26026 LatexCommand ref
26027 reference "sub:The-Outliner"
26028
26029 \end_inset
26030
26031 .
26032 \end_layout
26033
26034 \begin_layout Standard
26035 The TOC in the document output lists every numbered section automatically.
26036  If you have declared a short title for a section heading, as described
26037  in section
26038 \begin_inset space ~
26039 \end_inset
26040
26041
26042 \begin_inset CommandInset ref
26043 LatexCommand ref
26044 reference "sec:Short-Titles"
26045
26046 \end_inset
26047
26048 , it will be used in the TOC instead of the section heading.
26049  Section
26050 \begin_inset space ~
26051 \end_inset
26052
26053
26054 \begin_inset CommandInset ref
26055 LatexCommand ref
26056 reference "sub:Numbering-depth"
26057
26058 \end_inset
26059
26060  describes how the level is adjusted that defines which section types are
26061  listed in the TOC.
26062  Unnumbered sections are not listed in the TOC.
26063 \end_layout
26064
26065 \begin_layout Subsection
26066 List of Figures, Tables, and Algorithms
26067 \begin_inset CommandInset label
26068 LatexCommand label
26069 name "sub:List-of-Figures"
26070
26071 \end_inset
26072
26073
26074 \end_layout
26075
26076 \begin_layout Standard
26077 Table, figure, and algorithm lists are very much like the table of contents.
26078  You can insert them via the 
26079 \family sans
26080 Insert\SpecialChar \menuseparator
26081 List
26082 \begin_inset space ~
26083 \end_inset
26084
26085 /
26086 \begin_inset space ~
26087 \end_inset
26088
26089 TOC
26090 \family default
26091  submenus.
26092  The list entries are the float captions and the float number.
26093 \end_layout
26094
26095 \begin_layout Section
26096 URLs and Hyperlinks
26097 \begin_inset Index idx
26098 status collapsed
26099
26100 \begin_layout Plain Layout
26101 URLs
26102 \end_layout
26103
26104 \end_inset
26105
26106
26107 \begin_inset Index idx
26108 status collapsed
26109
26110 \begin_layout Plain Layout
26111 Hyperlinks
26112 \end_layout
26113
26114 \end_inset
26115
26116
26117 \end_layout
26118
26119 \begin_layout Subsection
26120 URLs
26121 \begin_inset CommandInset label
26122 LatexCommand label
26123 name "sub:URLs"
26124
26125 \end_inset
26126
26127
26128 \end_layout
26129
26130 \begin_layout Standard
26131 Links to web pages or email addresses can be inserted via the menu 
26132 \family sans
26133 Insert\SpecialChar \menuseparator
26134 URL
26135 \family default
26136 .
26137 \end_layout
26138
26139 \begin_layout Standard
26140 Here is an example URL: LyX's homepage: 
26141 \begin_inset Flex URL
26142 status collapsed
26143
26144 \begin_layout Plain Layout
26145
26146 http://www.lyx.org
26147 \end_layout
26148
26149 \end_inset
26150
26151
26152 \end_layout
26153
26154 \begin_layout Standard
26155 You cannot change the style of the link text, the URL text will always be
26156  in the style 
26157 \family typewriter
26158 Typewriter
26159 \family default
26160 .
26161  To be able to format the URL text, use hyperlinks as explained in the next
26162  subsection.
26163 \end_layout
26164
26165 \begin_layout Standard
26166 \begin_inset Note Greyedout
26167 status open
26168
26169 \begin_layout Plain Layout
26170
26171 \series bold
26172 Note:
26173 \series default
26174  URLs must not end with a backslash, otherwise you get LaTeX errors.
26175 \end_layout
26176
26177 \end_inset
26178
26179
26180 \end_layout
26181
26182 \begin_layout Subsection
26183 Hyperlinks
26184 \begin_inset CommandInset label
26185 LatexCommand label
26186 name "sub:Hyperlinks"
26187
26188 \end_inset
26189
26190
26191 \end_layout
26192
26193 \begin_layout Standard
26194 Hyperlinks can be inserted with the menu 
26195 \family sans
26196 Insert\SpecialChar \menuseparator
26197 Hyperlink
26198 \family default
26199  or with the toolbar button 
26200 \begin_inset Info
26201 type  "icon"
26202 arg   "href-insert"
26203 \end_inset
26204
26205 .
26206  The appearing dialog has two fields: 
26207 \family sans
26208 Target
26209 \family default
26210  and 
26211 \family sans
26212 Name
26213 \family default
26214 .
26215  The name is the printed text for the hyperlink.
26216  The hyperlink type can be a weblink like this: 
26217 \begin_inset CommandInset href
26218 LatexCommand href
26219 name "LyX's homepage"
26220 target "http://www.lyx.org"
26221
26222 \end_inset
26223
26224 , an Email address like this: 
26225 \begin_inset CommandInset href
26226 LatexCommand href
26227 name "lyx-docs mailing list"
26228 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
26229 type "mailto:"
26230
26231 \end_inset
26232
26233 , or a link to a file.
26234 \end_layout
26235
26236 \begin_layout Standard
26237 You can start applications via a hyperlink when you insert a weblink by
26238  adding the prefix 
26239 \begin_inset Quotes eld
26240 \end_inset
26241
26242
26243 \family sans
26244 run:
26245 \family default
26246
26247 \begin_inset Quotes erd
26248 \end_inset
26249
26250  to the link target.
26251 \end_layout
26252
26253 \begin_layout Standard
26254 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
26255  and become clickable in the DVI and PDF-output.
26256  To set the format of the link text, highlight the hyperlink inset and use
26257  the text style dialog.
26258  This is for example a hyperlink with bold sans serif text: 
26259 \family sans
26260 \series bold
26261
26262 \begin_inset CommandInset href
26263 LatexCommand href
26264 name "LyX's homepage"
26265 target "http://www.lyx.org"
26266
26267 \end_inset
26268
26269
26270 \end_layout
26271
26272 \begin_layout Standard
26273 The link text color can be changed, when the option 
26274 \family sans
26275 Color links
26276 \family default
26277  is set in the PDF Properties dialog (menu 
26278 \family sans
26279 Document\SpecialChar \menuseparator
26280 Settings\SpecialChar \menuseparator
26281 PDF Properties
26282 \family default
26283 ).
26284  The link text is for example set in this document to blue by adding the
26285  option
26286 \begin_inset Newline newline
26287 \end_inset
26288
26289
26290 \series bold
26291 urlcolor=blue
26292 \series default
26293
26294 \begin_inset Newline newline
26295 \end_inset
26296
26297 to the field 
26298 \family sans
26299 Additional options
26300 \family default
26301  in the PDF Properties dialog.
26302 \end_layout
26303
26304 \begin_layout Section
26305 Appendices
26306 \begin_inset Index idx
26307 status collapsed
26308
26309 \begin_layout Plain Layout
26310 Appendix
26311 \end_layout
26312
26313 \end_inset
26314
26315
26316 \begin_inset CommandInset label
26317 LatexCommand label
26318 name "sec:Appendices"
26319
26320 \end_inset
26321
26322
26323 \end_layout
26324
26325 \begin_layout Standard
26326 Appendices are created with the menu 
26327 \family sans
26328 Document\SpecialChar \menuseparator
26329 Start
26330 \begin_inset space ~
26331 \end_inset
26332
26333 Appendix
26334 \begin_inset space ~
26335 \end_inset
26336
26337 Here
26338 \family default
26339 .
26340  This menu sets the document from the current cursor position to the end
26341  as the appendix region.
26342  The region is marked with a red borderline.
26343 \end_layout
26344
26345 \begin_layout Standard
26346 Every chapter (or section) within the appendix region is treated as an appendix,
26347  numbered with a capital Latin letter.
26348  The appendix subsections are numbered with this letter followed by a dot
26349  and the subsection number.
26350  All appendix sections can be referenced as if they were normal sections,
26351  here two examples:
26352 \end_layout
26353
26354 \begin_layout Standard
26355 Appendix
26356 \begin_inset space ~
26357 \end_inset
26358
26359
26360 \begin_inset CommandInset ref
26361 LatexCommand ref
26362 reference "chap:Credits"
26363
26364 \end_inset
26365
26366 ; Appendix
26367 \begin_inset space ~
26368 \end_inset
26369
26370
26371 \begin_inset CommandInset ref
26372 LatexCommand ref
26373 reference "sub:Export"
26374
26375 \end_inset
26376
26377
26378 \end_layout
26379
26380 \begin_layout Section
26381 Bibliography
26382 \begin_inset Index idx
26383 status collapsed
26384
26385 \begin_layout Plain Layout
26386 Bibliography
26387 \end_layout
26388
26389 \end_inset
26390
26391
26392 \begin_inset CommandInset label
26393 LatexCommand label
26394 name "sec:Bibliography"
26395
26396 \end_inset
26397
26398
26399 \end_layout
26400
26401 \begin_layout Standard
26402 There are two ways of generating the bibliography in a LyX-document.
26403  You can include a bibliography database,
26404 \begin_inset Foot
26405 status collapsed
26406
26407 \begin_layout Plain Layout
26408 Known under the name 
26409 \begin_inset Quotes eld
26410 \end_inset
26411
26412 BibTeX-database
26413 \begin_inset Quotes erd
26414 \end_inset
26415
26416 .
26417 \end_layout
26418
26419 \end_inset
26420
26421  which is explained in the next subsection, or you can insert the bibliography
26422  manually, using the paragraph environment 
26423 \family sans
26424 Bibliography
26425 \family default
26426 , which was described in section
26427 \begin_inset space ~
26428 \end_inset
26429
26430
26431 \begin_inset CommandInset ref
26432 LatexCommand ref
26433 reference "sub:Biblio_environment"
26434
26435 \end_inset
26436
26437 .
26438  If you want anything other than numerical citations that are used in this
26439  document, like author-year citations, then you must
26440 \emph on
26441  
26442 \emph default
26443 use a bibliography database.
26444 \end_layout
26445
26446 \begin_layout Subsection
26447 The Bibliography Environment
26448 \end_layout
26449
26450 \begin_layout Standard
26451 Within the 
26452 \family sans
26453 Bibliography
26454 \family default
26455  environment, every paragraph begins with a gray bibliography box labeled
26456  with a number.
26457  If you click on it, you will get a dialog in which you can set a 
26458 \family sans
26459 Key
26460 \family default
26461  and a 
26462 \family sans
26463 Label
26464 \family default
26465 .
26466  The key is the symbolic name by which you will refer to this bibliography
26467  entry.
26468  For example, our second entry in the bibliography is a book about LaTeX
26469  and we used 
26470 \begin_inset Quotes eld
26471 \end_inset
26472
26473 latexcompanion
26474 \begin_inset Quotes erd
26475 \end_inset
26476
26477 , a short form of its title, as the key.
26478 \end_layout
26479
26480 \begin_layout Standard
26481 You can refer to the key of a bibliography entry using the menu 
26482 \family sans
26483 Insert\SpecialChar \menuseparator
26484 Citation
26485 \family default
26486  or the toolbar button 
26487 \begin_inset Info
26488 type  "icon"
26489 arg   "dialog-show-new-inset citation"
26490 \end_inset
26491
26492 .
26493  A citation reference box is inserted and a citation window will appear
26494  in which you can select one or more keys in the available key list.
26495  The citation reference box will be labeled with the referenced key.
26496  When you click on the box, the citation window appears and you can change
26497  the reference.
26498 \end_layout
26499
26500 \begin_layout Standard
26501 Citation references appear in the output as the number of the bibliography
26502  entry with surrounding brackets.
26503  If you set a 
26504 \family sans
26505 Label
26506 \family default
26507  for the entry, the label will appear instead of the number.
26508  Here are two examples; the first without a label, the second with the label
26509  
26510 \begin_inset Quotes eld
26511 \end_inset
26512
26513 Credits
26514 \begin_inset Quotes erd
26515 \end_inset
26516
26517 :
26518 \end_layout
26519
26520 \begin_layout Standard
26521 Have a look at the 
26522 \family sans
26523 LaTeX Companion Second Edition
26524 \family default
26525
26526 \begin_inset CommandInset citation
26527 LatexCommand cite
26528 key "latexcompanion"
26529
26530 \end_inset
26531
26532
26533 \end_layout
26534
26535 \begin_layout Standard
26536 The LyX-Team members are listed in the Credits: 
26537 \begin_inset CommandInset citation
26538 LatexCommand cite
26539 key "lyxcredit"
26540
26541 \end_inset
26542
26543
26544 \end_layout
26545
26546 \begin_layout Subsection
26547 Bibliography databases (BibTeX)
26548 \begin_inset Index idx
26549 status collapsed
26550
26551 \begin_layout Plain Layout
26552 Bibliography ! Databases
26553 \end_layout
26554
26555 \end_inset
26556
26557
26558 \begin_inset Index idx
26559 status collapsed
26560
26561 \begin_layout Plain Layout
26562 Bibliography ! BibTeX
26563 \end_layout
26564
26565 \end_inset
26566
26567
26568 \begin_inset CommandInset label
26569 LatexCommand label
26570 name "sub:Bibliography-databases"
26571
26572 \end_inset
26573
26574
26575 \end_layout
26576
26577 \begin_layout Standard
26578 Bibliography databases are useful if you use the same bibliography in different
26579  documents.
26580 \begin_inset Foot
26581 status collapsed
26582
26583 \begin_layout Plain Layout
26584 They are also useful for keeping a database of articles and notes concerning
26585  them.
26586  Most of the database programs mentioned below allow you to store annotations
26587  and reviews along with bibliographical information.
26588 \end_layout
26589
26590 \end_inset
26591
26592  It also makes it very easy to have a uniform layout for all bibliography
26593  entries.
26594  You can collect the bibliography of all relevant books and articles of
26595  your working field in a database.
26596  This database can be used for different documents, and by default only
26597  the entries cited in a particular document will appear in the bibliography
26598  list for that document.
26599  This relieves you of the need to keep track of which articles and books
26600  you have cited.
26601 \end_layout
26602
26603 \begin_layout Standard
26604 The database is a text file with the file extension 
26605 \begin_inset Quotes eld
26606 \end_inset
26607
26608
26609 \family sans
26610 .bib
26611 \family default
26612
26613 \begin_inset Quotes erd
26614 \end_inset
26615
26616 , containing the bibliography in a special format.
26617  The format is explained in 
26618 \begin_inset CommandInset citation
26619 LatexCommand cite
26620 key "BibTeX-2"
26621
26622 \end_inset
26623
26624  and in LaTeX books (
26625 \begin_inset CommandInset citation
26626 LatexCommand cite
26627 key "Mittelbach,Kopka,Lamport"
26628
26629 \end_inset
26630
26631 ).
26632  The file can be created using any text editor, but normally one uses a
26633  special program to create and edit the entries in the database.
26634  A list of such programs is maintained on the LyX Wiki at 
26635 \begin_inset Flex URL
26636 status open
26637
26638 \begin_layout Plain Layout
26639
26640 http://wiki.lyx.org/BibTeX/Programs
26641 \end_layout
26642
26643 \end_inset
26644
26645 .
26646 \end_layout
26647
26648 \begin_layout Standard
26649 To use a database, use the menu 
26650 \family sans
26651 Insert\SpecialChar \menuseparator
26652 List
26653 \family default
26654 /
26655 \family sans
26656 TOC\SpecialChar \menuseparator
26657 BibT
26658 \begin_inset ERT
26659 status collapsed
26660
26661 \begin_layout Plain Layout
26662
26663 {}
26664 \end_layout
26665
26666 \end_inset
26667
26668 eX
26669 \begin_inset space ~
26670 \end_inset
26671
26672 Bibliography
26673 \family default
26674 .
26675  A gray box will be inserted and a window appears.
26676  In this window you can load one or more databases and a style file.
26677  The option 
26678 \family sans
26679 Add bibliography to TOC
26680 \family default
26681  adds a table of contents entry for the bibliography.
26682  In the 
26683 \family sans
26684 Content
26685 \family default
26686  drop box you can select whether to include all the entries in the database
26687  in the document or just the cited references.
26688 \end_layout
26689
26690 \begin_layout Standard
26691 The style file is a text file with the file extension 
26692 \begin_inset Quotes eld
26693 \end_inset
26694
26695
26696 \family sans
26697 .bst
26698 \family default
26699
26700 \begin_inset Quotes erd
26701 \end_inset
26702
26703  that controls how the bibliography entries will appear.
26704  Your LaTeX distribution should provide several of these, and many publishers
26705  provide their own style files, so that you don't have to take care of the
26706  layout.
26707  It is of course possible to write your own style file, but this is something
26708  for experts.
26709 \begin_inset Foot
26710 status collapsed
26711
26712 \begin_layout Plain Layout
26713 For information on how this is done, have a look at
26714 \begin_inset Newline newline
26715 \end_inset
26716
26717
26718 \begin_inset CommandInset href
26719 LatexCommand href
26720 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
26721
26722 \end_inset
26723
26724 .
26725 \end_layout
26726
26727 \end_inset
26728
26729
26730 \end_layout
26731
26732 \begin_layout Standard
26733 Inserting a citation reference works as described in the previous section.
26734 \end_layout
26735
26736 \begin_layout Standard
26737 To generate the bibliography from a database, LyX uses the program BibTeX.
26738  You can choose which of its variants should be used by LyX as the processor
26739  either in the document settings under 
26740 \family sans
26741 Bibliography
26742 \family default
26743  or in LyX's preferences under 
26744 \family sans
26745 Output\SpecialChar \menuseparator
26746 LaT
26747 \begin_inset ERT
26748 status collapsed
26749
26750 \begin_layout Plain Layout
26751
26752 {}
26753 \end_layout
26754
26755 \end_inset
26756
26757 eX
26758 \family default
26759 .
26760  The following variants are possible:
26761 \end_layout
26762
26763 \begin_layout Description
26764 biber provides full Unicode support, unlimited memory, does not work with
26765  other bibliography packages (like e.
26766 \begin_inset space \thinspace{}
26767 \end_inset
26768
26769 g.
26770 \begin_inset space ~
26771 \end_inset
26772
26773
26774 \series bold
26775 natbib
26776 \series default
26777 ), only with the package 
26778 \series bold
26779 biblatex
26780 \series default
26781 ; recommended for multilingual texts and for languages that don't use Latin
26782  letters
26783 \end_layout
26784
26785 \begin_layout Description
26786 bibtex the standard; does not allow special characters in bibliography entries
26787  that are not possible to encode in a 7-bit encoding, limited memory, works
26788  with all bibliography packages, except of 
26789 \series bold
26790 biblatex
26791 \end_layout
26792
26793 \begin_layout Description
26794 bibtex8 allows all characters that are possible to encode in a 8-bit encoding,
26795  larger memory than 
26796 \family sans
26797 bibtex
26798 \family default
26799 , works with all bibliography packages
26800 \end_layout
26801
26802 \begin_layout Standard
26803 BibTeX can be controlled with options that you can add below the specification
26804  of the variants.
26805  Before adding options, it is strongly recommended to read the manual of
26806  
26807 \family sans
26808 BibTeX
26809 \family default
26810  
26811 \begin_inset CommandInset citation
26812 LatexCommand cite
26813 key "BibTeX"
26814
26815 \end_inset
26816
26817 .
26818 \end_layout
26819
26820 \begin_layout Standard
26821 When you select the option 
26822 \family sans
26823 Sectioned bibliography
26824 \family default
26825  in the 
26826 \family sans
26827 Document\SpecialChar \menuseparator
26828 Settings
26829 \family default
26830  dialog, it is possible to have multiple and sectioned bibliographies.
26831  This and other options are explained in detail in section 
26832 \emph on
26833 Customizing Bibliographies
26834 \emph default
26835  
26836 \emph on
26837 with BibTeX
26838 \emph default
26839  of the 
26840 \emph on
26841 Additional Features
26842 \emph default
26843  manual.
26844 \end_layout
26845
26846 \begin_layout Standard
26847 We use two bibliographies in this document to show the difference between
26848  the two methods of creating them.
26849  As you can see, the bibliography that is created from a database lists
26850  only the database entries that are referenced in the document.
26851  We used the style file 
26852 \family sans
26853 alphadin.bst
26854 \family default
26855  to get the complicated German reference key scheme in the bibliography.
26856 \end_layout
26857
26858 \begin_layout Subsection
26859 Bibliography layout
26860 \begin_inset Index idx
26861 status collapsed
26862
26863 \begin_layout Plain Layout
26864 Bibliography ! Layout
26865 \end_layout
26866
26867 \end_inset
26868
26869
26870 \end_layout
26871
26872 \begin_layout Standard
26873 In the citation reference dialog you can set a special citation format.
26874  For this feature you need to enable the option 
26875 \family sans
26876 Natbib
26877 \family default
26878  in the 
26879 \family sans
26880 Document\SpecialChar \menuseparator
26881 Settings
26882 \family default
26883
26884 \begin_inset Index idx
26885 status collapsed
26886
26887 \begin_layout Plain Layout
26888 Document ! Settings
26889 \end_layout
26890
26891 \end_inset
26892
26893  dialog under 
26894 \family sans
26895 Bibliography
26896 \family default
26897 .
26898  Setting a citation style for a reference will overwrite the default.
26899  For the global citation format use the BibTeX style files as explained
26900  in the previous section.
26901 \end_layout
26902
26903 \begin_layout Standard
26904 You can also set text to appear before or after a citation reference, in
26905  the citation reference window.
26906  Here is an example where the text 
26907 \begin_inset Quotes eld
26908 \end_inset
26909
26910 Chapter
26911 \begin_inset space ~
26912 \end_inset
26913
26914 3
26915 \begin_inset Quotes erd
26916 \end_inset
26917
26918  appears after the reference:
26919 \end_layout
26920
26921 \begin_layout Standard
26922 Have a look at 
26923 \begin_inset CommandInset citation
26924 LatexCommand cite
26925 after "Chapter 3"
26926 key "latexcompanion"
26927
26928 \end_inset
26929
26930 .
26931 \end_layout
26932
26933 \begin_layout Section
26934 Index
26935 \begin_inset Index idx
26936 status collapsed
26937
26938 \begin_layout Plain Layout
26939 Index generation
26940 \end_layout
26941
26942 \end_inset
26943
26944
26945 \begin_inset CommandInset label
26946 LatexCommand label
26947 name "sec:Index"
26948
26949 \end_inset
26950
26951
26952 \end_layout
26953
26954 \begin_layout Standard
26955 An index entry is created if you use the menu 
26956 \family sans
26957 Insert\SpecialChar \menuseparator
26958 Index
26959 \begin_inset space ~
26960 \end_inset
26961
26962 Entry
26963 \family default
26964  or the toolbar button 
26965 \begin_inset Info
26966 type  "icon"
26967 arg   "index-insert"
26968 \end_inset
26969
26970 .
26971  A box is inserted containing the text that appears in the index.
26972  The word where the cursor is in or the currently highlighted text is proposed
26973  by LyX as the index entry.
26974 \end_layout
26975
26976 \begin_layout Standard
26977 The index list is inserted in the document with the menu 
26978 \family sans
26979 Insert\SpecialChar \menuseparator
26980 List
26981 \begin_inset space ~
26982 \end_inset
26983
26984 /
26985 \begin_inset space ~
26986 \end_inset
26987
26988 TOC\SpecialChar \menuseparator
26989 Index
26990 \begin_inset space ~
26991 \end_inset
26992
26993 List
26994 \family default
26995 .
26996  A light blue box labeled 
26997 \begin_inset Quotes eld
26998 \end_inset
26999
27000
27001 \family sans
27002 Index
27003 \family default
27004
27005 \begin_inset Quotes erd
27006 \end_inset
27007
27008  will show the place where the index is printed in the output.
27009  The index list box is not clickable like other LyX-boxes.
27010 \end_layout
27011
27012 \begin_layout Standard
27013 We give a short overview of the index commands in the next subsections.
27014  For a detailed description of LaTeX's index mechanism, have a look at one
27015  of the LaTeX books 
27016 \begin_inset CommandInset citation
27017 LatexCommand cite
27018 key "latexcompanion,latexguide,latexbook"
27019
27020 \end_inset
27021
27022 .
27023 \end_layout
27024
27025 \begin_layout Subsection
27026 Grouping Index Entries
27027 \begin_inset Index idx
27028 status collapsed
27029
27030 \begin_layout Plain Layout
27031 Index ! Grouping
27032 \end_layout
27033
27034 \end_inset
27035
27036
27037 \end_layout
27038
27039 \begin_layout Standard
27040 Index entries are often grouped to offer the reader a fast search in the
27041  index.
27042  We want to group for example the index entries for itemized and enumerated
27043  lists under the entry 
27044 \begin_inset Quotes eld
27045 \end_inset
27046
27047 Lists
27048 \begin_inset Quotes erd
27049 \end_inset
27050
27051 .
27052  First we create the entry 
27053 \begin_inset Quotes eld
27054 \end_inset
27055
27056 Lists
27057 \begin_inset Quotes erd
27058 \end_inset
27059
27060  in section
27061 \begin_inset space ~
27062 \end_inset
27063
27064
27065 \begin_inset CommandInset ref
27066 LatexCommand ref
27067 reference "sub:Lists"
27068
27069 \end_inset
27070
27071 .
27072  In the text field for the itemized list index entry in section
27073 \begin_inset space ~
27074 \end_inset
27075
27076
27077 \begin_inset CommandInset ref
27078 LatexCommand ref
27079 reference "sec:Itemize"
27080
27081 \end_inset
27082
27083 , we insert the command
27084 \end_layout
27085
27086 \begin_layout Standard
27087
27088 \series bold
27089 Lists ! Itemize
27090 \end_layout
27091
27092 \begin_layout Standard
27093 and the command
27094 \end_layout
27095
27096 \begin_layout Standard
27097
27098 \series bold
27099 Lists ! Enumerate
27100 \end_layout
27101
27102 \begin_layout Standard
27103 for the enumerated list in section
27104 \begin_inset space ~
27105 \end_inset
27106
27107
27108 \begin_inset CommandInset ref
27109 LatexCommand ref
27110 reference "sec:Enumerate"
27111
27112 \end_inset
27113
27114 .
27115 \end_layout
27116
27117 \begin_layout Standard
27118 The exclamation mark 
27119 \begin_inset Quotes eld
27120 \end_inset
27121
27122 !
27123 \begin_inset Quotes erd
27124 \end_inset
27125
27126  marks the grouping levels.
27127  You can have three levels; every index level is indented a bit more.
27128  An index entry for the higher levels is not required.
27129  If we don't have an index entry for 
27130 \begin_inset Quotes eld
27131 \end_inset
27132
27133 Lists
27134 \begin_inset Quotes erd
27135 \end_inset
27136
27137 , it will be printed anyway, but without a page number.
27138 \end_layout
27139
27140 \begin_layout Subsection
27141 Page Ranges
27142 \begin_inset Index idx
27143 status collapsed
27144
27145 \begin_layout Plain Layout
27146 Index ! Page ranges
27147 \end_layout
27148
27149 \end_inset
27150
27151
27152 \end_layout
27153
27154 \begin_layout Standard
27155 Normally an index entry will appear with the page number of the indexed
27156  section.
27157  But sometimes you want to index more pages under the same entry.
27158  E.
27159 \begin_inset space \thinspace{}
27160 \end_inset
27161
27162 g.
27163 \begin_inset space \space{}
27164 \end_inset
27165
27166 if we want to index the paragraph environments, we create an index entry
27167  in section
27168 \begin_inset space ~
27169 \end_inset
27170
27171
27172 \begin_inset CommandInset ref
27173 LatexCommand ref
27174 reference "sec:Paragraph-Environments"
27175
27176 \end_inset
27177
27178  with the command
27179 \end_layout
27180
27181 \begin_layout Standard
27182
27183 \series bold
27184 Paragraph environments|(
27185 \end_layout
27186
27187 \begin_layout Standard
27188 and another entry at the end of section
27189 \begin_inset space ~
27190 \end_inset
27191
27192
27193 \begin_inset CommandInset ref
27194 LatexCommand ref
27195 reference "sub:LyX-Code"
27196
27197 \end_inset
27198
27199  with the command
27200 \end_layout
27201
27202 \begin_layout Standard
27203
27204 \series bold
27205 Paragraph environments|)
27206 \end_layout
27207
27208 \begin_layout Standard
27209 The commands 
27210 \begin_inset Quotes eld
27211 \end_inset
27212
27213
27214 \series bold
27215 |(
27216 \series default
27217
27218 \begin_inset Quotes erd
27219 \end_inset
27220
27221  and 
27222 \begin_inset Quotes eld
27223 \end_inset
27224
27225
27226 \series bold
27227 |)
27228 \series default
27229
27230 \begin_inset Quotes erd
27231 \end_inset
27232
27233  respectively start and end the index range.
27234  You can also add the same index entry at different places in the document.
27235  They appear in the output under one entry with a comma separated list of
27236  the pages of the indexed document parts.
27237  An example is the index entry 
27238 \begin_inset Quotes eld
27239 \end_inset
27240
27241 Document ! Settings
27242 \begin_inset Quotes erd
27243 \end_inset
27244
27245 .
27246 \end_layout
27247
27248 \begin_layout Subsection
27249 Cross referencing
27250 \begin_inset Index idx
27251 status collapsed
27252
27253 \begin_layout Plain Layout
27254 Index ! Cross referencing
27255 \end_layout
27256
27257 \end_inset
27258
27259
27260 \end_layout
27261
27262 \begin_layout Standard
27263 It is also possible to refer to another index entry.
27264  We referred for example in the index entry 
27265 \begin_inset Quotes eld
27266 \end_inset
27267
27268 GIF
27269 \begin_inset Quotes erd
27270 \end_inset
27271
27272  (in section
27273 \begin_inset space ~
27274 \end_inset
27275
27276
27277 \begin_inset CommandInset ref
27278 LatexCommand ref
27279 reference "sub:Image-Formats"
27280
27281 \end_inset
27282
27283 ) to the index entry 
27284 \begin_inset Quotes eld
27285 \end_inset
27286
27287 Image formats
27288 \begin_inset Quotes erd
27289 \end_inset
27290
27291  in the same section using the entry
27292 \end_layout
27293
27294 \begin_layout Standard
27295
27296 \series bold
27297 GIF|see{Image formats}
27298 \end_layout
27299
27300 \begin_layout Standard
27301 where the braces have to be inserted as TeX Code.
27302  The text within the braces is the referenced entry.
27303  The reference will appear in the output without a page number.
27304 \end_layout
27305
27306 \begin_layout Subsection
27307 Index Entry Order
27308 \begin_inset Index idx
27309 status collapsed
27310
27311 \begin_layout Plain Layout
27312 Index ! Entry order
27313 \end_layout
27314
27315 \end_inset
27316
27317
27318 \end_layout
27319
27320 \begin_layout Standard
27321 If you use accented characters in the index entry the entries might not
27322  follow the rules for the index order.
27323  The index entries are sorted alphabetically but LaTeX
27324 \begin_inset Foot
27325 status collapsed
27326
27327 \begin_layout Plain Layout
27328 The index generating is done in the background by an extra program, see
27329  section
27330 \begin_inset space ~
27331 \end_inset
27332
27333
27334 \begin_inset CommandInset ref
27335 LatexCommand ref
27336 reference "sub:Index-Program"
27337
27338 \end_inset
27339
27340 .
27341 \end_layout
27342
27343 \end_inset
27344
27345  does not know how to sort accents in different languages.
27346  We have created as an example the three dummy index entries 
27347 \begin_inset Quotes eld
27348 \end_inset
27349
27350 maison
27351 \begin_inset Quotes erd
27352 \end_inset
27353
27354
27355 \begin_inset Quotes eld
27356 \end_inset
27357
27358 maïs
27359 \begin_inset Quotes erd
27360 \end_inset
27361
27362 , and 
27363 \begin_inset Quotes eld
27364 \end_inset
27365
27366 maître
27367 \begin_inset Quotes erd
27368 \end_inset
27369
27370 .
27371 \begin_inset Index idx
27372 status collapsed
27373
27374 \begin_layout Plain Layout
27375 Dummy entries ! maïs
27376 \end_layout
27377
27378 \end_inset
27379
27380
27381 \begin_inset Index idx
27382 status collapsed
27383
27384 \begin_layout Plain Layout
27385 Dummy entries ! maître
27386 \end_layout
27387
27388 \end_inset
27389
27390
27391 \begin_inset Index idx
27392 status collapsed
27393
27394 \begin_layout Plain Layout
27395 Dummy entries ! maïs@maison
27396 \end_layout
27397
27398 \end_inset
27399
27400  They will be sorted in the order maïs, maître, maison but we want the order
27401  maïs, maison, maître.
27402  To achieve this, we use the command
27403 \end_layout
27404
27405 \begin_layout Standard
27406
27407 \series bold
27408 previous entry@current entry
27409 \end_layout
27410
27411 \begin_layout Standard
27412 In our case we want to have 
27413 \begin_inset Quotes eld
27414 \end_inset
27415
27416 maison
27417 \begin_inset Quotes erd
27418 \end_inset
27419
27420  after 
27421 \begin_inset Quotes eld
27422 \end_inset
27423
27424 maïs
27425 \begin_inset Quotes erd
27426 \end_inset
27427
27428  and write therefore for the index entry of maison:
27429 \end_layout
27430
27431 \begin_layout Standard
27432
27433 \series bold
27434 maïs@maison
27435 \end_layout
27436
27437 \begin_layout Standard
27438 The previous entry need not be a real existing entry.
27439  You can also use another word to tell LaTeX the entry order.
27440  See the next subsection for an example.
27441 \end_layout
27442
27443 \begin_layout Standard
27444 \begin_inset VSpace bigskip
27445 \end_inset
27446
27447
27448 \end_layout
27449
27450 \begin_layout Standard
27451 In some cases the index entry order is not correct when you are using the
27452  program 
27453 \family sans
27454 makeindex 
27455 \family default
27456 to generate the index (see sec.
27457 \begin_inset space \thinspace{}
27458 \end_inset
27459
27460
27461 \begin_inset CommandInset ref
27462 LatexCommand ref
27463 reference "sub:Index-Program"
27464
27465 \end_inset
27466
27467 ).
27468  
27469 \family sans
27470 makeindex
27471 \family default
27472  would for example print the index entry for the LaTeX-package aeguill in
27473  sec.
27474 \begin_inset space \thinspace{}
27475 \end_inset
27476
27477
27478 \begin_inset CommandInset ref
27479 LatexCommand ref
27480 reference "sub:Document-Font"
27481
27482 \end_inset
27483
27484  after the index entries of the other LaTeX-packages although all these
27485  index commands start with 
27486 \begin_inset Quotes eld
27487 \end_inset
27488
27489
27490 \series bold
27491 LaTeX-packages !
27492 \series default
27493  
27494 \begin_inset Quotes erd
27495 \end_inset
27496
27497 .
27498  The reason is that the index entry for aeguill is in a footnote.
27499  To fix this 
27500 \family sans
27501 makeindex
27502 \family default
27503  bug, add these commands to the preamble of your document:
27504 \end_layout
27505
27506 \begin_layout Standard
27507
27508 \series bold
27509
27510 \backslash
27511 let
27512 \backslash
27513 OrgIndex
27514 \backslash
27515 index
27516 \end_layout
27517
27518 \begin_layout Standard
27519
27520 \series bold
27521
27522 \backslash
27523 renewcommand*{
27524 \backslash
27525 index}[1]{
27526 \backslash
27527 OrgIndex{#1}}
27528 \end_layout
27529
27530 \begin_layout Subsection
27531 Index Entry Layout
27532 \begin_inset Index idx
27533 status collapsed
27534
27535 \begin_layout Plain Layout
27536 Index ! Entry layout
27537 \end_layout
27538
27539 \end_inset
27540
27541
27542 \end_layout
27543
27544 \begin_layout Standard
27545 You can change the appearance of index entries via the text style dialog.
27546 \begin_inset Index idx
27547 status open
27548
27549 \begin_layout Plain Layout
27550 Dummy entries ! 
27551 \shape italic
27552 This is an italic dummy entry
27553 \end_layout
27554
27555 \end_inset
27556
27557  You can also format the page number using the character 
27558 \begin_inset Quotes eld
27559 \end_inset
27560
27561 |
27562 \begin_inset Quotes erd
27563 \end_inset
27564
27565  followed by a LaTeX-command without a backslash.
27566  We can write for example
27567 \end_layout
27568
27569 \begin_layout Standard
27570
27571 \series bold
27572 italic page number:|textit
27573 \end_layout
27574
27575 \begin_layout Standard
27576 to get the page number in italic.
27577 \begin_inset Index idx
27578 status open
27579
27580 \begin_layout Plain Layout
27581 Dummy entries ! italic page number:|textit
27582 \end_layout
27583
27584 \end_inset
27585
27586  Normally all LaTeX-commands begin with a backslash, but in this special
27587  case 
27588 \begin_inset Quotes eld
27589 \end_inset
27590
27591
27592 \series bold
27593 |command
27594 \series default
27595
27596 \begin_inset Quotes erd
27597 \end_inset
27598
27599  means 
27600 \series bold
27601
27602 \backslash
27603 command{page
27604 \begin_inset space ~
27605 \end_inset
27606
27607 number}
27608 \series default
27609 .
27610  Have a look at section
27611 \begin_inset space ~
27612 \end_inset
27613
27614
27615 \begin_inset CommandInset ref
27616 LatexCommand ref
27617 reference "sub:LaTeX-Syntax"
27618
27619 \end_inset
27620
27621  to learn more about the LaTeX-syntax.
27622 \end_layout
27623
27624 \begin_layout Standard
27625 \begin_inset Note Greyedout
27626 status open
27627
27628 \begin_layout Plain Layout
27629
27630 \series bold
27631 Note:
27632 \series default
27633  Formatting single index entries only works when you use the program 
27634 \family sans
27635 makeindex 
27636 \family default
27637 to generate the index, see sec.
27638 \begin_inset space \thinspace{}
27639 \end_inset
27640
27641
27642 \begin_inset CommandInset ref
27643 LatexCommand ref
27644 reference "sub:Index-Program"
27645
27646 \end_inset
27647
27648 .
27649  If you use 
27650 \family sans
27651 xindy
27652 \family default
27653 , this will not work for anything other than bold or italic text.
27654  This is because 
27655 \family sans
27656 xindy
27657 \family default
27658  requires you to define semantic elements before they can be used, see 
27659 \begin_inset CommandInset citation
27660 LatexCommand cite
27661 after "p. 678 ff."
27662 key "latexcompanion"
27663
27664 \end_inset
27665
27666  for details.
27667 \end_layout
27668
27669 \end_inset
27670
27671
27672 \end_layout
27673
27674 \begin_layout Standard
27675 In general, we encourage you to not format page numbers directly as shown
27676  above.
27677  Instead, you should define a macro in the preamble and use that.
27678  Maybe you want all page references italic that refer to a definition of
27679  the indexed term, so that users can easily find definitions.
27680  If so, put the following in the preamble
27681 \end_layout
27682
27683 \begin_layout Standard
27684
27685 \series bold
27686
27687 \backslash
27688 newcommand{
27689 \backslash
27690 IndexDef}[1]{
27691 \backslash
27692 textit{#1}}
27693 \end_layout
27694
27695 \begin_layout Standard
27696 and write
27697 \end_layout
27698
27699 \begin_layout Standard
27700
27701 \series bold
27702 my entry|IndexDef
27703 \end_layout
27704
27705 \begin_layout Standard
27706 in the index entry.
27707 \begin_inset Index idx
27708 status open
27709
27710 \begin_layout Plain Layout
27711 Dummy entries ! my entry|IndexDef
27712 \end_layout
27713
27714 \end_inset
27715
27716  The advantage is that, if you change your mind later or if your publisher
27717  insists that definitions must not be italic but bold, you just need to
27718  change the macro in the preamble, not every single index entry.
27719 \end_layout
27720
27721 \begin_layout Standard
27722 You can also change the layout for the whole index.
27723  E.
27724 \begin_inset space \thinspace{}
27725 \end_inset
27726
27727 g.
27728 \begin_inset space \space{}
27729 \end_inset
27730
27731 we marked the index list box of this document as bold to get a bold font
27732  for all index entries.
27733  For more advanced tasks you have to set up a so-called 
27734 \emph on
27735 Index Style File
27736 \emph default
27737 , see the 
27738 \family sans
27739 makeindex
27740 \family default
27741  or 
27742 \family sans
27743 xindy
27744 \family default
27745  documentation for details, 
27746 \begin_inset CommandInset citation
27747 LatexCommand cite
27748 key "makeindex,xindy"
27749
27750 \end_inset
27751
27752 .
27753 \end_layout
27754
27755 \begin_layout Subsection
27756 Index Program
27757 \begin_inset Index idx
27758 status collapsed
27759
27760 \begin_layout Plain Layout
27761 Index ! Program
27762 \end_layout
27763
27764 \end_inset
27765
27766
27767 \begin_inset CommandInset label
27768 LatexCommand label
27769 name "sub:Index-Program"
27770
27771 \end_inset
27772
27773
27774 \end_layout
27775
27776 \begin_layout Standard
27777 If the index entry program 
27778 \family sans
27779 xindy
27780 \family default
27781  is installed, LyX uses it for index generation; otherwise the program 
27782 \family sans
27783 makeindex
27784 \family default
27785 , that is part of every LaTeX distribution, is used.
27786 \begin_inset Foot
27787 status collapsed
27788
27789 \begin_layout Plain Layout
27790
27791 \family sans
27792 Makeindex
27793 \family default
27794  is very old, no longer under development and has many pitfalls, notably
27795  that it was developed with only the English language in mind.
27796  So it fails to sort anything other than a monolingual English text correctly.
27797  We have shown above how to fix this sorting.
27798  However, if you are writing in another than the English language, consider
27799  to use 
27800 \family sans
27801 xindy
27802 \family default
27803 .
27804 \end_layout
27805
27806 \end_inset
27807
27808  Both programs can be controlled by options that can be set in LyX's preferences
27809  dialog, see section
27810 \begin_inset space ~
27811 \end_inset
27812
27813
27814 \begin_inset CommandInset ref
27815 LatexCommand ref
27816 reference "sub:LaTeX-settings"
27817
27818 \end_inset
27819
27820 .
27821  The available options are listed and explained in 
27822 \begin_inset CommandInset citation
27823 LatexCommand cite
27824 key "makeindex,xindy"
27825
27826 \end_inset
27827
27828 .
27829  In this dialog, you can also specify an alternative program to generate
27830  the index.
27831 \end_layout
27832
27833 \begin_layout Standard
27834 If you need specific options or an alternative index program only for a
27835  given document, you can define the program and\SpecialChar \slash{}
27836 or the options in 
27837 \family sans
27838 Document\SpecialChar \menuseparator
27839 Settings\SpecialChar \menuseparator
27840 Indexes
27841 \family default
27842 .
27843  This is especially useful if you need to pass language-specific options
27844  to the index program or if you need a specific layout style.
27845 \end_layout
27846
27847 \begin_layout Subsection
27848 Multiple Indexes
27849 \end_layout
27850
27851 \begin_layout Standard
27852 In many fields it is common to have more than one index.
27853  For instance, you might need to set up a separate 
27854 \begin_inset Quotes eld
27855 \end_inset
27856
27857 Index of Names
27858 \begin_inset Quotes erd
27859 \end_inset
27860
27861  next to the standard index.
27862  LaTeX does not provide this possibility out of the box, but there are packages
27863  that add this feature.
27864  LyX uses the 
27865 \series bold
27866 splitidx
27867 \series default
27868
27869 \begin_inset Index idx
27870 status collapsed
27871
27872 \begin_layout Plain Layout
27873 LaTeX-packages ! splitidx
27874 \end_layout
27875
27876 \end_inset
27877
27878  package to generate multiple indexes.
27879  The package is included in all recent LaTeX distributions.
27880 \begin_inset Foot
27881 status collapsed
27882
27883 \begin_layout Plain Layout
27884 If yours does not ship it, consult the TeX-catalogue, 
27885 \begin_inset CommandInset citation
27886 LatexCommand cite
27887 key "TeXCatalogue"
27888
27889 \end_inset
27890
27891 .
27892  Note that the package does not only consist of a LaTeX style, but it also
27893  includes specific preprocessor programs that need to be installed as well.
27894  Please consult the package's manual for details.
27895 \end_layout
27896
27897 \end_inset
27898
27899
27900 \end_layout
27901
27902 \begin_layout Standard
27903 To set up LyX for the use of multiple indexes, go to 
27904 \family sans
27905 Document\SpecialChar \menuseparator
27906 Settings\SpecialChar \menuseparator
27907 Indexes
27908 \family default
27909  and select the option 
27910 \family sans
27911 Use multiple Indexes
27912 \family default
27913 .
27914  Note that the list 
27915 \family sans
27916 Available Indexes
27917 \family default
27918  already contains the standard index 
27919 \begin_inset Quotes eld
27920 \end_inset
27921
27922 Index
27923 \begin_inset Quotes erd
27924 \end_inset
27925
27926 .
27927  To add further indexes, add the name of the index (in the form that should
27928  also appear as a heading) to the 
27929 \family sans
27930 New
27931 \family default
27932  input field and press the 
27933 \family sans
27934 Add
27935 \family default
27936  button.
27937  The new index now also appears in the list.
27938  If you like, you can attribute an alternative LyX label color to the new
27939  index.
27940 \end_layout
27941
27942 \begin_layout Standard
27943 Once the document changes have been applied, you can find the new index
27944  list in 
27945 \family sans
27946 Insert\SpecialChar \menuseparator
27947 List
27948 \begin_inset space ~
27949 \end_inset
27950
27951 /
27952 \begin_inset space ~
27953 \end_inset
27954
27955 TOC
27956 \family default
27957  and the 
27958 \family sans
27959 Insert
27960 \family default
27961  menu has a separate entry for each of the defined indexes.
27962  The workflow is basically the same as for the default index, but there
27963  are additional features:
27964 \end_layout
27965
27966 \begin_layout Itemize
27967 If you want to change the attribution of a specific index entry, right-clicking
27968  on the entries' label will open a dialog where you can do that.
27969 \end_layout
27970
27971 \begin_layout Itemize
27972 By right-clicking on an index, you can change its type.
27973  Furthermore, you can specify an index to be a 
27974 \begin_inset Quotes eld
27975 \end_inset
27976
27977 Subindex
27978 \begin_inset Quotes erd
27979 \end_inset
27980
27981 .
27982  If you do that, the heading of that list will be decreased by one level.
27983  E.
27984 \begin_inset space \thinspace{}
27985 \end_inset
27986
27987 g., if you use a book class, where the standard index heading is defined
27988  as a chapter, subindexes will be defined as sections and can thus be nested
27989  to the non-subindexes.
27990 \end_layout
27991
27992 \begin_layout Section
27993 Nomenclature / Glossary 
27994 \begin_inset Index idx
27995 status collapsed
27996
27997 \begin_layout Plain Layout
27998 Nomenclature
27999 \end_layout
28000
28001 \end_inset
28002
28003
28004 \begin_inset Index idx
28005 status collapsed
28006
28007 \begin_layout Plain Layout
28008 Glossary|see
28009 \begin_inset ERT
28010 status collapsed
28011
28012 \begin_layout Plain Layout
28013
28014 {
28015 \end_layout
28016
28017 \end_inset
28018
28019 Nomenclature
28020 \begin_inset ERT
28021 status collapsed
28022
28023 \begin_layout Plain Layout
28024
28025 }
28026 \end_layout
28027
28028 \end_inset
28029
28030
28031 \end_layout
28032
28033 \end_inset
28034
28035
28036 \begin_inset CommandInset label
28037 LatexCommand label
28038 name "sec:Nomenclature"
28039
28040 \end_inset
28041
28042
28043 \end_layout
28044
28045 \begin_layout Standard
28046 Sometimes you need to compile a list of symbols that are mentioned in your
28047  document with a brief explanation of them – a so called nomenclature or
28048  glossary.
28049 \end_layout
28050
28051 \begin_layout Standard
28052 To be able to create nomenclatures, you need the LaTeX package 
28053 \series bold
28054 nomencl
28055 \series default
28056
28057 \begin_inset Index idx
28058 status collapsed
28059
28060 \begin_layout Plain Layout
28061 LaTeX-packages ! nomencl
28062 \end_layout
28063
28064 \end_inset
28065
28066  installed.
28067  You find it in the TeX-catalogue, 
28068 \begin_inset CommandInset citation
28069 LatexCommand cite
28070 key "TeXCatalogue"
28071
28072 \end_inset
28073
28074  or in the package manager of your LaTeX-system.
28075 \end_layout
28076
28077 \begin_layout Standard
28078 A nomenclature entry is created if you place the cursor after a symbol entry
28079  and then use the menu 
28080 \family sans
28081 Insert\SpecialChar \menuseparator
28082
28083 \family default
28084 N
28085 \family sans
28086 omenclature
28087 \begin_inset space ~
28088 \end_inset
28089
28090 Entry
28091 \family default
28092  or the toolbar button 
28093 \begin_inset Info
28094 type  "icon"
28095 arg   "nomencl-insert"
28096 \end_inset
28097
28098 .
28099  A gray box labeled 
28100 \begin_inset Quotes eld
28101 \end_inset
28102
28103
28104 \family sans
28105 Nom
28106 \family default
28107
28108 \begin_inset Quotes erd
28109 \end_inset
28110
28111  is inserted and a window pops up asking for the nomenclature entry.
28112 \end_layout
28113
28114 \begin_layout Standard
28115 A nomenclature entry consists of two main entries.
28116  The first is the symbol that you want to refer to.
28117  The second is the description of the symbol.
28118 \end_layout
28119
28120 \begin_layout Standard
28121 \begin_inset Note Greyedout
28122 status collapsed
28123
28124 \begin_layout Plain Layout
28125
28126 \series bold
28127 Note:
28128 \series default
28129  You have to enter valid LaTeX-code for all fields of the nomenclature dialog.
28130 \end_layout
28131
28132 \end_inset
28133
28134
28135 \end_layout
28136
28137 \begin_layout Subsection
28138 Nomenclature Definition and Layout
28139 \begin_inset Index idx
28140 status collapsed
28141
28142 \begin_layout Plain Layout
28143 Nomenclature ! Layout
28144 \end_layout
28145
28146 \end_inset
28147
28148
28149 \end_layout
28150
28151 \begin_layout Standard
28152 If you have symbols in formulas, you have to define them in the 
28153 \family sans
28154 Symbol
28155 \family default
28156  field as LaTeX-formulas.
28157  For example to get 
28158 \begin_inset Quotes eld
28159 \end_inset
28160
28161
28162 \begin_inset Formula $\sigma$
28163 \end_inset
28164
28165
28166 \begin_inset Quotes erd
28167 \end_inset
28168
28169 , insert this:
28170 \begin_inset Newline newline
28171 \end_inset
28172
28173
28174 \series bold
28175 $
28176 \backslash
28177 sigma$
28178 \begin_inset Newline newline
28179 \end_inset
28180
28181
28182 \series default
28183 The 
28184 \begin_inset Quotes eld
28185 \end_inset
28186
28187 $
28188 \begin_inset Quotes erd
28189 \end_inset
28190
28191  character starts/ends the formula.
28192  The LaTeX-command for the Greek letter is the name of the letter beginning
28193  with a backslash 
28194 \begin_inset Quotes eld
28195 \end_inset
28196
28197
28198 \backslash
28199
28200 \begin_inset Quotes erd
28201 \end_inset
28202
28203 .
28204  For capital Greek letters, start the command also with a capital letter,
28205  like 
28206 \series bold
28207
28208 \backslash
28209 Sigma
28210 \series default
28211 .
28212 \end_layout
28213
28214 \begin_layout Standard
28215 (A short introduction to the LaTeX-syntax is given in section
28216 \begin_inset space ~
28217 \end_inset
28218
28219
28220 \begin_inset CommandInset ref
28221 LatexCommand ref
28222 reference "sub:LaTeX-Syntax"
28223
28224 \end_inset
28225
28226 .)
28227 \end_layout
28228
28229 \begin_layout Standard
28230 You cannot use the 
28231 \family sans
28232 Text
28233 \begin_inset space ~
28234 \end_inset
28235
28236 Style
28237 \family default
28238  dialog to format the description text; you have to use LaTeX-commands.
28239  For example the description of the nomenclature entry for the 
28240 \begin_inset Quotes eld
28241 \end_inset
28242
28243
28244 \begin_inset Formula $\sigma$
28245 \end_inset
28246
28247
28248 \begin_inset Quotes erd
28249 \end_inset
28250
28251  in this document is:
28252 \begin_inset Newline newline
28253 \end_inset
28254
28255
28256 \series bold
28257 dummy entry for the character 
28258 \backslash
28259 textsf{sigma}
28260 \series default
28261
28262 \begin_inset Newline newline
28263 \end_inset
28264
28265 The command 
28266 \series bold
28267
28268 \backslash
28269 textsf
28270 \series default
28271  sets the fonts to 
28272 \family sans
28273 sans
28274 \begin_inset space ~
28275 \end_inset
28276
28277 serif
28278 \family default
28279 .
28280  To get 
28281 \series bold
28282 bold
28283 \series default
28284  font use the command 
28285 \series bold
28286
28287 \backslash
28288 textbf
28289 \series default
28290 , for 
28291 \family typewriter
28292 typewriter
28293 \family default
28294  use 
28295 \series bold
28296
28297 \backslash
28298 texttt
28299 \series default
28300 , for 
28301 \emph on
28302 emphasized
28303 \emph default
28304  use 
28305 \series bold
28306
28307 \backslash
28308 emph
28309 \series default
28310 .
28311 \end_layout
28312
28313 \begin_layout Standard
28314 If the characters |
28315 \begin_inset space \space{}
28316 \end_inset
28317
28318 ,
28319 \begin_inset space \space{}
28320 \end_inset
28321
28322 !
28323 \begin_inset space \space{}
28324 \end_inset
28325
28326 , @ and
28327 \begin_inset space \space{}
28328 \end_inset
28329
28330 "
28331 \begin_inset space \space{}
28332 \end_inset
28333
28334 should appear in nomenclature entries they need to be escaped by adding
28335  a quote character in front of them.
28336 \begin_inset CommandInset nomenclature
28337 LatexCommand nomenclature
28338 symbol "\"@, \"|, \"!, \"\""
28339 description "The quote sign is output by writing ' \"\"\"\" '"
28340
28341 \end_inset
28342
28343
28344 \end_layout
28345
28346 \begin_layout Subsection
28347 Sort Order of Nomenclature Entries
28348 \begin_inset Index idx
28349 status collapsed
28350
28351 \begin_layout Plain Layout
28352 Nomenclature ! Sort order
28353 \end_layout
28354
28355 \end_inset
28356
28357
28358 \end_layout
28359
28360 \begin_layout Standard
28361 The nomenclature entries are sorted alphabetically by the LaTeX-code of
28362  the symbol definition.
28363  This leads to undesired results when you for example have symbols in formulas.
28364  Suppose you have nomenclature entries for the symbols 
28365 \emph on
28366 a
28367 \begin_inset CommandInset nomenclature
28368 LatexCommand nomenclature
28369 symbol "a"
28370 description "dummy entry for the character \"a\""
28371
28372 \end_inset
28373
28374
28375 \emph default
28376  and 
28377 \begin_inset Formula $\sigma$
28378 \end_inset
28379
28380
28381 \begin_inset CommandInset nomenclature
28382 LatexCommand nomenclature
28383 prefix "sigma"
28384 symbol "$\\sigma$"
28385 description "dummy entry for the character \\textsf{sigma}"
28386
28387 \end_inset
28388
28389 .
28390  They will be sorted by 
28391 \begin_inset Quotes eld
28392 \end_inset
28393
28394
28395 \family sans
28396 a
28397 \family default
28398
28399 \begin_inset Quotes erd
28400 \end_inset
28401
28402  and 
28403 \begin_inset Quotes eld
28404 \end_inset
28405
28406
28407 \family typewriter
28408 $
28409 \backslash
28410 sigma$
28411 \family default
28412
28413 \begin_inset Quotes erd
28414 \end_inset
28415
28416  – the 
28417 \begin_inset Formula $\sigma$
28418 \end_inset
28419
28420  will be sorted before the 
28421 \emph on
28422 a
28423 \emph default
28424  since the character 
28425 \begin_inset Quotes eld
28426 \end_inset
28427
28428 $
28429 \begin_inset Quotes erd
28430 \end_inset
28431
28432  is considered in sorting.
28433 \end_layout
28434
28435 \begin_layout Standard
28436 To control the sort order, you can edit the 
28437 \family sans
28438 Sort
28439 \begin_inset space ~
28440 \end_inset
28441
28442 as
28443 \family default
28444  field of the nomenclature dialog.
28445  Then the nomenclature entry will be sorted by this entry and not the symbol
28446  definition.
28447  For the example given, you can insert 
28448 \family typewriter
28449 sigma
28450 \family default
28451  in this field for the 
28452 \begin_inset Formula $\sigma$
28453 \end_inset
28454
28455 , then 
28456 \emph on
28457 a
28458 \emph default
28459  will be located before 
28460 \begin_inset Formula $\sigma$
28461 \end_inset
28462
28463 .
28464 \end_layout
28465
28466 \begin_layout Standard
28467 For subgrouping and tips for using sort entries see the 
28468 \series bold
28469 nomencl
28470 \series default
28471  documentation, 
28472 \begin_inset CommandInset citation
28473 LatexCommand cite
28474 key "nomencl"
28475
28476 \end_inset
28477
28478 .
28479 \end_layout
28480
28481 \begin_layout Subsection
28482 Nomenclature Options
28483 \begin_inset Index idx
28484 status collapsed
28485
28486 \begin_layout Plain Layout
28487 Nomenclature ! Options
28488 \end_layout
28489
28490 \end_inset
28491
28492
28493 \end_layout
28494
28495 \begin_layout Standard
28496 The 
28497 \series bold
28498 nomencl
28499 \series default
28500  package offers some options to adjust the appearance of the nomenclature.
28501  Here are some of its options, for more have a look at its documentation:
28502 \end_layout
28503
28504 \begin_layout Description
28505 refeq Appends the phrase 
28506 \begin_inset Quotes eld
28507 \end_inset
28508
28509
28510 \family sans
28511 , see equation (
28512 \emph on
28513 eq
28514 \emph default
28515 )
28516 \family default
28517
28518 \begin_inset Quotes erd
28519 \end_inset
28520
28521  to every nomenclature entry, where 
28522 \family sans
28523 \emph on
28524 eq
28525 \family default
28526 \emph default
28527  is the number of the last equation in front of the nomenclature entry
28528 \end_layout
28529
28530 \begin_layout Description
28531 refpage Appends the phrase 
28532 \begin_inset Quotes eld
28533 \end_inset
28534
28535
28536 \family sans
28537 , page (
28538 \emph on
28539 page
28540 \emph default
28541 )
28542 \family default
28543
28544 \begin_inset Quotes erd
28545 \end_inset
28546
28547  to every nomenclature entry, where 
28548 \family sans
28549 \emph on
28550 page
28551 \family default
28552 \emph default
28553  is the number of the page on which the nomenclature entry appeared
28554 \end_layout
28555
28556 \begin_layout Description
28557 intoc Inserts the nomenclature in the Table of Contents
28558 \end_layout
28559
28560 \begin_layout Standard
28561 To use one or more of the options, add them to the comma-separated document
28562  class options list in the 
28563 \family sans
28564 Document\SpecialChar \menuseparator
28565 Settings
28566 \family default
28567  dialog.
28568  In this document the options 
28569 \series bold
28570 refpage, intoc
28571 \series default
28572  are used.
28573 \end_layout
28574
28575 \begin_layout Standard
28576 \begin_inset VSpace bigskip
28577 \end_inset
28578
28579
28580 \end_layout
28581
28582 \begin_layout Standard
28583 You can also use the first two options above only for certain nomenclature
28584  entries when you add one of the following commands as last entry to the
28585  
28586 \family sans
28587 Description
28588 \family default
28589  field in the nomenclature dialog:
28590 \end_layout
28591
28592 \begin_layout Description
28593
28594 \backslash
28595 nomrefeq Like the 
28596 \series bold
28597 refeq
28598 \series default
28599  option
28600 \end_layout
28601
28602 \begin_layout Description
28603
28604 \backslash
28605 nomrefpage Like the 
28606 \series bold
28607 refpage
28608 \series default
28609  option
28610 \end_layout
28611
28612 \begin_layout Description
28613
28614 \backslash
28615 nomrefeqpage Short notation of 
28616 \series bold
28617
28618 \backslash
28619 nomrefeq
28620 \backslash
28621 nomrefpage
28622 \end_layout
28623
28624 \begin_layout Description
28625
28626 \backslash
28627 nomnorefeq,
28628 \begin_inset space ~
28629 \end_inset
28630
28631
28632 \backslash
28633 nomnorefpage,
28634 \begin_inset space ~
28635 \end_inset
28636
28637
28638 \backslash
28639 nomnorefeqpage Turns off the corresponding options
28640 \end_layout
28641
28642 \begin_layout Standard
28643 Words like 
28644 \begin_inset Quotes eld
28645 \end_inset
28646
28647 page
28648 \begin_inset Quotes erd
28649 \end_inset
28650
28651  are automatically translated for some document languages.
28652  If not, add these lines to your LaTeX preamble:
28653 \end_layout
28654
28655 \begin_layout Standard
28656 \noindent
28657
28658 \series bold
28659
28660 \backslash
28661 renewcommand{
28662 \backslash
28663 eqdeclaration}[1]{, see equation
28664 \backslash
28665 nobreakspace(#1)}
28666 \begin_inset Newline newline
28667 \end_inset
28668
28669
28670 \backslash
28671 renewcommand{
28672 \backslash
28673 pagedeclaration}[1]{, page
28674 \backslash
28675 nobreakspace{}#1}
28676 \series default
28677
28678 \begin_inset Newline newline
28679 \end_inset
28680
28681 and replace 
28682 \begin_inset Quotes eld
28683 \end_inset
28684
28685 see equation
28686 \begin_inset Quotes erd
28687 \end_inset
28688
28689  and 
28690 \begin_inset Quotes eld
28691 \end_inset
28692
28693 page
28694 \begin_inset Quotes erd
28695 \end_inset
28696
28697  by their translation.
28698 \end_layout
28699
28700 \begin_layout Subsection
28701 Printing the Nomenclature
28702 \begin_inset Index idx
28703 status collapsed
28704
28705 \begin_layout Plain Layout
28706 Nomenclature ! Printing
28707 \end_layout
28708
28709 \end_inset
28710
28711
28712 \end_layout
28713
28714 \begin_layout Standard
28715 To print the nomenclature, use the menu 
28716 \family sans
28717 Insert\SpecialChar \menuseparator
28718 Lists
28719 \begin_inset space ~
28720 \end_inset
28721
28722 /
28723 \begin_inset space ~
28724 \end_inset
28725
28726 TOC\SpecialChar \menuseparator
28727 Nomenclature
28728 \family default
28729 .
28730  A box labeled 
28731 \begin_inset Quotes eld
28732 \end_inset
28733
28734
28735 \family sans
28736 Nomenclature
28737 \family default
28738
28739 \begin_inset Quotes erd
28740 \end_inset
28741
28742  will show the place where the nomenclature is printed in the output.
28743  By right-clicking on it, the amount of space for symbols can be altered.
28744  You can choose between these settings:
28745 \end_layout
28746
28747 \begin_layout Description
28748 Default a space of 1
28749 \begin_inset space \thinspace{}
28750 \end_inset
28751
28752 cm is used
28753 \end_layout
28754
28755 \begin_layout Description
28756 Longest
28757 \begin_inset space ~
28758 \end_inset
28759
28760 label
28761 \begin_inset space ~
28762 \end_inset
28763
28764 width the width of the widest symbol of all nomenclature entries is used
28765 \end_layout
28766
28767 \begin_layout Description
28768 Custom custom space
28769 \end_layout
28770
28771 \begin_layout Standard
28772 In the printed output the title of the nomenclature appears as 
28773 \begin_inset Quotes eld
28774 \end_inset
28775
28776 Nomenclature
28777 \begin_inset Quotes erd
28778 \end_inset
28779
28780 .
28781  If you are not happy with the name, you can change it by redefining the
28782  command 
28783 \series bold
28784
28785 \backslash
28786 nomname
28787 \series default
28788  in the preamble.
28789  For example, in order to change the name to 
28790 \emph on
28791 List of Symbols
28792 \emph default
28793 , add the following line to the preamble:
28794 \end_layout
28795
28796 \begin_layout Standard
28797
28798 \family roman
28799 \series bold
28800
28801 \backslash
28802 renewcommand{
28803 \backslash
28804 nomname}{List of Symbols}
28805 \end_layout
28806
28807 \begin_layout Subsection
28808 Nomenclature Program
28809 \begin_inset Index idx
28810 status collapsed
28811
28812 \begin_layout Plain Layout
28813 Nomenclature ! Program
28814 \end_layout
28815
28816 \end_inset
28817
28818
28819 \begin_inset CommandInset label
28820 LatexCommand label
28821 name "sub:Nomenclature-Program"
28822
28823 \end_inset
28824
28825
28826 \end_layout
28827
28828 \begin_layout Standard
28829 LyX uses the program 
28830 \family sans
28831 makeindex
28832 \family default
28833 , that is part of every LaTeX distribution, to generate the nomenclature.
28834  LyX's preferences dialog allows you to specify another program or to control
28835  
28836 \family sans
28837 makeindex
28838 \family default
28839  by adding options, see section
28840 \begin_inset space ~
28841 \end_inset
28842
28843
28844 \begin_inset CommandInset ref
28845 LatexCommand ref
28846 reference "sub:LaTeX-settings"
28847
28848 \end_inset
28849
28850 .
28851  The available options are listed and explained in 
28852 \begin_inset CommandInset citation
28853 LatexCommand cite
28854 key "nomencl,makeindex"
28855
28856 \end_inset
28857
28858 .
28859 \end_layout
28860
28861 \begin_layout Section
28862 Branches
28863 \begin_inset Index idx
28864 status collapsed
28865
28866 \begin_layout Plain Layout
28867 Branches
28868 \end_layout
28869
28870 \end_inset
28871
28872
28873 \begin_inset Index idx
28874 status collapsed
28875
28876 \begin_layout Plain Layout
28877 Document ! Branches
28878 \end_layout
28879
28880 \end_inset
28881
28882
28883 \begin_inset CommandInset label
28884 LatexCommand label
28885 name "sec:Branches"
28886
28887 \end_inset
28888
28889
28890 \end_layout
28891
28892 \begin_layout Standard
28893 Sometimes it is useful to hide some document parts in the output.
28894  For example a teacher who is setting an exam obviously doesn't want the
28895  pupils to see the answers, but having questions and answers in the same
28896  document will make the life of the markers of that exam much easier.
28897 \end_layout
28898
28899 \begin_layout Standard
28900 For these cases LyX allows you to put text into branches.
28901  The text will then only appear in the output when its branch is activated.
28902  To create a branch, either select the menu 
28903 \family sans
28904 Insert\SpecialChar \menuseparator
28905 Branch\SpecialChar \menuseparator
28906 Insert New Branch
28907 \family default
28908  (if you just want to specify a new branch) or go in the 
28909 \family sans
28910 Document\SpecialChar \menuseparator
28911 Settings
28912 \family default
28913  dialog to 
28914 \family sans
28915 Branches
28916 \family default
28917 , where you can specify and change the name of the branch, its activation
28918  state (whether the content of the branch is shown in the output or not),
28919  its background color inside LyX and whether the name of the branch should
28920  be appended to the document file name on export if the branch is active
28921  (see below for an example).
28922  Furthermore, the dialog lets you merge two branches (just rename one branch
28923  to the name of the other) and to add 
28924 \begin_inset Quotes eld
28925 \end_inset
28926
28927 unknown branches
28928 \begin_inset Quotes erd
28929 \end_inset
28930
28931  (i.
28932 \begin_inset space \thinspace{}
28933 \end_inset
28934
28935 e.
28936 \begin_inset space ~
28937 \end_inset
28938
28939 branches that were added to the document via copy and paste from other documents
28940 , without having been defined) to the document's branch list.
28941 \end_layout
28942
28943 \begin_layout Standard
28944 Text that should be in a branch is set into branch inset boxes.
28945  These boxes are inserted via the menu 
28946 \family sans
28947 Insert\SpecialChar \menuseparator
28948 Branch
28949 \family default
28950  where you can choose a branch.
28951  You can later change the activation state of the branch by right-clicking
28952  on them.
28953 \end_layout
28954
28955 \begin_layout Standard
28956 Here is an example, where only the question text appears, the answer branch
28957  is deactivated and therefore does not appear in the output:
28958 \end_layout
28959
28960 \begin_layout Standard
28961 \begin_inset Branch Question
28962 status collapsed
28963
28964 \begin_layout Standard
28965 Question: Who was the first physics Nobel prize winner?
28966 \end_layout
28967
28968 \end_inset
28969
28970
28971 \end_layout
28972
28973 \begin_layout Standard
28974 \begin_inset Branch Answer
28975 status collapsed
28976
28977 \begin_layout Standard
28978 Answer: Wilhelm Conrad Röntgen
28979 \end_layout
28980
28981 \end_inset
28982
28983
28984 \end_layout
28985
28986 \begin_layout Standard
28987 If you activate 
28988 \family sans
28989 Filename Suffix
28990 \family default
28991  in 
28992 \family sans
28993 Document\SpecialChar \menuseparator
28994 Settings\SpecialChar \menuseparator
28995 Branches
28996 \family default
28997 , the name of the active branches will be appended to the file name at export.
28998  Consider for example a file 
28999 \begin_inset Quotes eld
29000 \end_inset
29001
29002 Exam.lyx
29003 \begin_inset Quotes erd
29004 \end_inset
29005
29006  which has the above branches.
29007  If 
29008 \begin_inset Quotes eld
29009 \end_inset
29010
29011 Filename Suffix
29012 \begin_inset Quotes erd
29013 \end_inset
29014
29015  is active, the PDF export file would be called 
29016 \begin_inset Quotes eld
29017 \end_inset
29018
29019 Exam.pdf
29020 \begin_inset Quotes erd
29021 \end_inset
29022
29023  if both the 
29024 \begin_inset Quotes eld
29025 \end_inset
29026
29027 Question
29028 \begin_inset Quotes erd
29029 \end_inset
29030
29031  and 
29032 \begin_inset Quotes eld
29033 \end_inset
29034
29035 Answer
29036 \begin_inset Quotes erd
29037 \end_inset
29038
29039  branch were inactive, 
29040 \begin_inset Quotes eld
29041 \end_inset
29042
29043 Exam-Question.pdf
29044 \begin_inset Quotes erd
29045 \end_inset
29046
29047  if only the 
29048 \begin_inset Quotes eld
29049 \end_inset
29050
29051 Question
29052 \begin_inset Quotes erd
29053 \end_inset
29054
29055  branch was active, likewise 
29056 \begin_inset Quotes eld
29057 \end_inset
29058
29059 Exam-Answer.pdf
29060 \begin_inset Quotes erd
29061 \end_inset
29062
29063  if only the 
29064 \begin_inset Quotes eld
29065 \end_inset
29066
29067 Answer
29068 \begin_inset Quotes erd
29069 \end_inset
29070
29071  branch was active, and 
29072 \begin_inset Quotes eld
29073 \end_inset
29074
29075 Exam-Question-Answer.pdf
29076 \begin_inset Quotes erd
29077 \end_inset
29078
29079  if both branches were active.
29080  This helps you to easily export different versions of your document without
29081  much hassle.
29082 \end_layout
29083
29084 \begin_layout Standard
29085 \begin_inset VSpace bigskip
29086 \end_inset
29087
29088
29089 \end_layout
29090
29091 \begin_layout Standard
29092 To use conditional output inside places where you cannot insert branch insets,
29093  like inside equations, you can code special LaTeX definitions for each
29094  branch.
29095  For example you can define for the question branch
29096 \begin_inset Foot
29097 status collapsed
29098
29099 \begin_layout Plain Layout
29100 For an introduction to the LaTeX-syntax, see section
29101 \begin_inset space ~
29102 \end_inset
29103
29104
29105 \begin_inset CommandInset ref
29106 LatexCommand ref
29107 reference "sub:LaTeX-Syntax"
29108
29109 \end_inset
29110
29111 .
29112 \end_layout
29113
29114 \end_inset
29115
29116
29117 \end_layout
29118
29119 \begin_layout Standard
29120
29121 \series bold
29122
29123 \backslash
29124 newcommand{
29125 \backslash
29126 question}[1]{#1}
29127 \end_layout
29128
29129 \begin_layout Standard
29130
29131 \series bold
29132
29133 \backslash
29134 newcommand{
29135 \backslash
29136 answer}[1]{}
29137 \end_layout
29138
29139 \begin_layout Standard
29140 and for the answer branch
29141 \end_layout
29142
29143 \begin_layout Standard
29144
29145 \series bold
29146
29147 \backslash
29148 newcommand{
29149 \backslash
29150 question}[1]{}
29151 \end_layout
29152
29153 \begin_layout Standard
29154
29155 \series bold
29156
29157 \backslash
29158 newcommand{
29159 \backslash
29160 answer}[1]{#1}
29161 \end_layout
29162
29163 \begin_layout Standard
29164 \begin_inset Branch Question
29165 status collapsed
29166
29167 \begin_layout Standard
29168 \begin_inset ERT
29169 status open
29170
29171 \begin_layout Plain Layout
29172
29173
29174 \backslash
29175 newcommand{
29176 \backslash
29177 question}[1]{#1}
29178 \end_layout
29179
29180 \begin_layout Plain Layout
29181
29182
29183 \backslash
29184 newcommand{
29185 \backslash
29186 answer}[1]{}
29187 \end_layout
29188
29189 \end_inset
29190
29191
29192 \end_layout
29193
29194 \end_inset
29195
29196
29197 \end_layout
29198
29199 \begin_layout Standard
29200 \begin_inset Branch Answer
29201 status collapsed
29202
29203 \begin_layout Standard
29204 \begin_inset ERT
29205 status collapsed
29206
29207 \begin_layout Plain Layout
29208
29209
29210 \backslash
29211 newcommand{
29212 \backslash
29213 question}[1]{}
29214 \end_layout
29215
29216 \begin_layout Plain Layout
29217
29218
29219 \backslash
29220 newcommand{
29221 \backslash
29222 answer}[1]{#1}
29223 \end_layout
29224
29225 \end_inset
29226
29227
29228 \end_layout
29229
29230 \end_inset
29231
29232
29233 \end_layout
29234
29235 \begin_layout Standard
29236 Now it is possible to use the commands 
29237 \series bold
29238
29239 \backslash
29240 question{\SpecialChar \ldots{}
29241 }
29242 \series default
29243  and 
29244 \series bold
29245
29246 \backslash
29247 answer{\SpecialChar \ldots{}
29248 }
29249 \series default
29250  to obtain conditional output.
29251  Here is an example formula where only the 
29252 \series bold
29253
29254 \backslash
29255 question
29256 \series default
29257  part appears:
29258 \begin_inset Formula 
29259 \[
29260 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
29261 \]
29262
29263 \end_inset
29264
29265
29266 \end_layout
29267
29268 \begin_layout Standard
29269 Inside math, the same effect can be achieved using math macros, see the
29270  
29271 \emph on
29272 Math
29273 \emph default
29274  manual.
29275 \change_inserted 5863208 1334492666
29276
29277 \end_layout
29278
29279 \begin_layout Standard
29280
29281 \change_inserted 5863208 1334493356
29282 Each type of branch is allowed to have its specific style defined in layout
29283  files (e.g.
29284  any branch inset can be automatically wrapped by your own LaTeX commands.).
29285  For this advanced usage, please study Customization manual (in particular
29286  section 
29287 \begin_inset Quotes eld
29288 \end_inset
29289
29290 Flex insets and InsetLayout
29291 \begin_inset Quotes erd
29292 \end_inset
29293
29294 ).
29295 \change_unchanged
29296
29297 \end_layout
29298
29299 \begin_layout Section
29300 PDF Properties
29301 \begin_inset CommandInset label
29302 LatexCommand label
29303 name "sec:PDF-Properties"
29304
29305 \end_inset
29306
29307
29308 \begin_inset Index idx
29309 status collapsed
29310
29311 \begin_layout Plain Layout
29312 PDF properties
29313 \end_layout
29314
29315 \end_inset
29316
29317
29318 \end_layout
29319
29320 \begin_layout Standard
29321 The 
29322 \family sans
29323 Document Settings
29324 \family default
29325  dialog allows you in the 
29326 \family sans
29327 PDF Properties
29328 \family default
29329  to set up special options for the PDF output of your document.
29330  All options there are provided by the LaTeX-package 
29331 \series bold
29332 hyperref
29333 \series default
29334
29335 \begin_inset Index idx
29336 status collapsed
29337
29338 \begin_layout Plain Layout
29339 LaTeX-packages ! hyperref
29340 \end_layout
29341
29342 \end_inset
29343
29344 .
29345 \end_layout
29346
29347 \begin_layout Standard
29348 Using 
29349 \series bold
29350 hyperref
29351 \series default
29352  will link all cross-references in the DVI- and PDF-output.
29353  This means that the reader of your document will be able to click on a
29354  table of contents entry or on a reference and he is shown the referenced
29355  document part.
29356  You can specify in the dialog tab 
29357 \family sans
29358 Hyperlinks
29359 \family default
29360  how the links will look and if links for bibliographical backreferences
29361  are created.
29362  The backreferences will appear in the bibliography behind the different
29363  entries, showing the number of the section, slide, or page where the entry
29364  is referenced.
29365 \end_layout
29366
29367 \begin_layout Standard
29368 In the dialog tab 
29369 \family sans
29370 Bookmarks
29371 \family default
29372  you can set if PDF-bookmarks should be created for every section of your
29373  document to make it easier for readers to navigate through the document.
29374  You can decide if the bookmarks should be numbered like your document sections
29375  or not.
29376  With the open bookmarks level you can specify what sectioning level should
29377  be displayed in the bookmarks when opening the PDF.
29378  For example level
29379 \begin_inset space ~
29380 \end_inset
29381
29382 2 will display all sections and subsections, while level
29383 \begin_inset space ~
29384 \end_inset
29385
29386 1 will only display the sections.
29387 \end_layout
29388
29389 \begin_layout Standard
29390 The header information in the dialog tab 
29391 \family sans
29392 General
29393 \family default
29394  are saved together with the PDF as file properties.
29395  Many programs are able to extract this information to e.
29396 \begin_inset space \thinspace{}
29397 \end_inset
29398
29399 g.
29400 \begin_inset space \space{}
29401 \end_inset
29402
29403 automatically recognize who the author is and what the PDF is about.
29404  This is very useful to sort, classify, or use PDFs for bibliography issues.
29405  When the option 
29406 \family sans
29407 Automatic fill header
29408 \family default
29409  is set, LyX tries to extract the header information from your document
29410  title and author settings.
29411 \end_layout
29412
29413 \begin_layout Standard
29414 The option 
29415 \family sans
29416 Load in fullscreen mode
29417 \family default
29418  will open the PDF in fullscreen mode, which is useful for presentations.
29419 \end_layout
29420
29421 \begin_layout Standard
29422 PDF properties are also used in this document.
29423  When you look in its document settings, you can see that some additional
29424  
29425 \series bold
29426 hyperref
29427 \series default
29428  options are used.
29429  For an explanation of them we refer you to the hyperref manual 
29430 \begin_inset CommandInset citation
29431 LatexCommand cite
29432 key "hyperref"
29433
29434 \end_inset
29435
29436 .
29437 \end_layout
29438
29439 \begin_layout Section
29440 TeX Code and the LaTeX Syntax
29441 \begin_inset CommandInset label
29442 LatexCommand label
29443 name "sec:TeX-Code"
29444
29445 \end_inset
29446
29447
29448 \end_layout
29449
29450 \begin_layout Subsection
29451 TeX Code Boxes
29452 \begin_inset Index idx
29453 status collapsed
29454
29455 \begin_layout Plain Layout
29456 TeX Code
29457 \end_layout
29458
29459 \end_inset
29460
29461
29462 \begin_inset CommandInset label
29463 LatexCommand label
29464 name "sub:TeX-Code-Boxes"
29465
29466 \end_inset
29467
29468
29469 \end_layout
29470
29471 \begin_layout Standard
29472 As LyX uses LaTeX in the background, it supports many LaTeX commands and
29473  constructs, but not all.
29474  LaTeX contains hundreds of packages that provide different commands.
29475  All the time packages are being updated and new ones added.
29476  This has the advantage that you can typeset nearly everything as there
29477  is for every problem a LaTeX-package.
29478  But LyX can of course not be up to date and support all packages and their
29479  commands.
29480 \end_layout
29481
29482 \begin_layout Standard
29483 But don't worry, you can use any LaTeX-command directly in LyX inside the
29484  TeX Code box.
29485  A TeX Code box is created by the menu 
29486 \family sans
29487 Insert\SpecialChar \menuseparator
29488 TeX
29489 \begin_inset space ~
29490 \end_inset
29491
29492 Code
29493 \family default
29494  or by the toolbar button 
29495 \begin_inset Info
29496 type  "icon"
29497 arg   "ert-insert"
29498 \end_inset
29499
29500  (shortcut 
29501 \begin_inset Info
29502 type  "shortcut"
29503 arg   "ert-insert"
29504 \end_inset
29505
29506 ).
29507  The box can be opened by left-clicking and closed by right-clicking on
29508  it and selecting 
29509 \family sans
29510 Close Inset
29511 \family default
29512 .
29513 \end_layout
29514
29515 \begin_layout Standard
29516 You can insert complete or incomplete commands as TeX Code.
29517  Incomplete means that the command argument can be Standard LyX text.
29518  For example, if you want to draw a frame around a word and are therefore
29519  using the LaTeX-command 
29520 \series bold
29521
29522 \backslash
29523 fbox
29524 \series default
29525 , you can write the command part 
29526 \series bold
29527
29528 \backslash
29529 fbox{
29530 \series default
29531  in a TeX Code box before the word and the closing brace 
29532 \series bold
29533 }
29534 \series default
29535  in a second TeX Code box behind the word.
29536  The word between the two TeX Code boxes is then the argument as it is in
29537  the following example:
29538 \end_layout
29539
29540 \begin_layout Standard
29541 \begin_inset Graphics
29542         filename clipart/ERT.png
29543         scale 89
29544
29545 \end_inset
29546
29547
29548 \end_layout
29549
29550 \begin_layout Standard
29551 gives
29552 \end_layout
29553
29554 \begin_layout Standard
29555 This is a line with a 
29556 \begin_inset ERT
29557 status collapsed
29558
29559 \begin_layout Plain Layout
29560
29561
29562 \backslash
29563 fbox{
29564 \end_layout
29565
29566 \end_inset
29567
29568 framed
29569 \begin_inset ERT
29570 status collapsed
29571
29572 \begin_layout Plain Layout
29573
29574 }
29575 \end_layout
29576
29577 \end_inset
29578
29579  word.
29580 \end_layout
29581
29582 \begin_layout Standard
29583 \begin_inset Note Greyedout
29584 status open
29585
29586 \begin_layout Plain Layout
29587
29588 \series bold
29589 Note:
29590 \series default
29591  At the end of LaTeX-commands without parameters, you have to insert a space
29592  to let LaTeX know that the command is finished.
29593 \end_layout
29594
29595 \end_inset
29596
29597
29598 \end_layout
29599
29600 \begin_layout Subsection
29601 Short Introduction to the LaTeX Syntax
29602 \begin_inset Argument 1
29603 status collapsed
29604
29605 \begin_layout Plain Layout
29606 The LaTeX Syntax
29607 \end_layout
29608
29609 \end_inset
29610
29611
29612 \begin_inset Index idx
29613 status collapsed
29614
29615 \begin_layout Plain Layout
29616 LaTeX Syntax
29617 \end_layout
29618
29619 \end_inset
29620
29621
29622 \begin_inset CommandInset label
29623 LatexCommand label
29624 name "sub:LaTeX-Syntax"
29625
29626 \end_inset
29627
29628
29629 \end_layout
29630
29631 \begin_layout Standard
29632 When you write larger documents or books, you will need to know something
29633  about the LaTeX-commands that LyX uses in the background.
29634  Because LaTeX is based on commands, you can 
29635 \begin_inset Quotes eld
29636 \end_inset
29637
29638 program
29639 \begin_inset Quotes erd
29640 \end_inset
29641
29642  your text.
29643  This has the advantage that the layout of the document can be changed at
29644  any time if you know the right commands.
29645  E.
29646 \begin_inset space \thinspace{}
29647 \end_inset
29648
29649 g.
29650 \begin_inset space \space{}
29651 \end_inset
29652
29653 imagine you have to write a manual for a product and the deadline is the
29654  end of the day.
29655  Your boss has just complimented you for your good work but wants to have
29656  all caption labels bold.
29657  But you have over a hundred figure and table captions with non-bold labels
29658  in your manual.
29659  Of course it is impossible to change all caption labels manually in one
29660  day.
29661 \end_layout
29662
29663 \begin_layout Standard
29664 Now LaTeX comes into play.
29665  As mentioned above, for every problem there exists a LaTeX-package.
29666  First you have to find out which and therefore look into the LaTeX package
29667  database, 
29668 \begin_inset CommandInset citation
29669 LatexCommand cite
29670 key "Catalogue"
29671
29672 \end_inset
29673
29674 .
29675 \end_layout
29676
29677 \begin_layout Standard
29678 As result you find that the package 
29679 \series bold
29680 caption
29681 \series default
29682
29683 \begin_inset Index idx
29684 status collapsed
29685
29686 \begin_layout Plain Layout
29687 LaTeX-packages ! caption
29688 \end_layout
29689
29690 \end_inset
29691
29692  is what you need.
29693  To use a package, you have to load it in the document preamble (menu 
29694 \family sans
29695 Document\SpecialChar \menuseparator
29696 Settings
29697 \family default
29698 ) with the command
29699 \end_layout
29700
29701 \begin_layout Standard
29702
29703 \series bold
29704
29705 \backslash
29706 usepackage[options]{package name}
29707 \end_layout
29708
29709 \begin_layout Standard
29710 All LaTeX commands begin with a backslash, the command argument is set within
29711  two braces and the options are set within two brackets.
29712  Note that not all commands have an argument and options.
29713 \end_layout
29714
29715 \begin_layout Standard
29716 In your case the package name is 
29717 \series bold
29718 caption
29719 \series default
29720 .
29721  After a look in the documentation of the package, you know that the option
29722  
29723 \series bold
29724 labelfont=bf
29725 \series default
29726  will change the font of all caption labels to bold.
29727  So you add the command
29728 \end_layout
29729
29730 \begin_layout Standard
29731
29732 \series bold
29733
29734 \backslash
29735 usepackage[labelfont=bf]{caption}
29736 \end_layout
29737
29738 \begin_layout Standard
29739 to the preamble and the problem is solved.
29740 \begin_inset Foot
29741 status collapsed
29742
29743 \begin_layout Plain Layout
29744 For more commands provided by the 
29745 \series bold
29746 caption
29747 \series default
29748  package, have a look at its documentation, 
29749 \begin_inset CommandInset citation
29750 LatexCommand cite
29751 key "caption"
29752
29753 \end_inset
29754
29755 .
29756 \end_layout
29757
29758 \end_inset
29759
29760
29761 \end_layout
29762
29763 \begin_layout Standard
29764 Note that some document classes have built-in solutions for well-known problems
29765  like your case.
29766  For example if you use a 
29767 \family sans
29768 KOMA-Script
29769 \family default
29770  class, you don't need the package 
29771 \series bold
29772 caption
29773 \series default
29774 , you can instead write
29775 \end_layout
29776
29777 \begin_layout Standard
29778
29779 \series bold
29780
29781 \backslash
29782 setkomafont{captionlabel}{
29783 \backslash
29784 bfseries}
29785 \end_layout
29786
29787 \begin_layout Standard
29788 in the preamble and the problem is solved.
29789  So if you plan to write a large document, you should have a look at the
29790  documentation of the document class you want to use.
29791  (
29792 \series bold
29793
29794 \backslash
29795 setkomafont
29796 \series default
29797  is an example of a command with more than one argument.)
29798 \end_layout
29799
29800 \begin_layout Standard
29801 Commands in the preamble affect the whole document, while commands in the
29802  text affect only the text after the command or only the text used as command
29803  argument.
29804  To insert a LaTeX-command in text, use the TeX Code box as described in
29805  the previous section.
29806 \end_layout
29807
29808 \begin_layout Standard
29809 If you want to learn more about LaTeX and its syntax, have a look at the
29810  LaTeX-books 
29811 \begin_inset CommandInset citation
29812 LatexCommand cite
29813 key "latexcompanion,latexguide"
29814
29815 \end_inset
29816
29817 .
29818 \end_layout
29819
29820 \begin_layout Standard
29821 \begin_inset Newpage cleardoublepage
29822 \end_inset
29823
29824
29825 \end_layout
29826
29827 \begin_layout Standard
29828 \begin_inset ERT
29829 status collapsed
29830
29831 \begin_layout Plain Layout
29832
29833
29834 \backslash
29835 pagestyle{fancy}
29836 \end_layout
29837
29838 \end_inset
29839
29840
29841 \begin_inset Note Note
29842 status collapsed
29843
29844 \begin_layout Plain Layout
29845 switches temporarily to a page style with custom header and footer line
29846 \end_layout
29847
29848 \end_inset
29849
29850
29851 \end_layout
29852
29853 \begin_layout Left Header
29854 \begin_inset Argument 1
29855 status collapsed
29856
29857 \begin_layout Plain Layout
29858
29859 \end_layout
29860
29861 \end_inset
29862
29863
29864 \begin_inset ERT
29865 status collapsed
29866
29867 \begin_layout Plain Layout
29868
29869
29870 \backslash
29871 rightmark
29872 \end_layout
29873
29874 \end_inset
29875
29876
29877 \begin_inset Note Note
29878 status collapsed
29879
29880 \begin_layout Plain Layout
29881 defines the header line as described below
29882 \end_layout
29883
29884 \end_inset
29885
29886
29887 \end_layout
29888
29889 \begin_layout Center Header
29890 \begin_inset Argument 1
29891 status collapsed
29892
29893 \begin_layout Plain Layout
29894
29895 \end_layout
29896
29897 \end_inset
29898
29899
29900 \end_layout
29901
29902 \begin_layout Right Header
29903 \begin_inset Argument 1
29904 status collapsed
29905
29906 \begin_layout Plain Layout
29907 \begin_inset ERT
29908 status collapsed
29909
29910 \begin_layout Plain Layout
29911
29912
29913 \backslash
29914 leftmark
29915 \end_layout
29916
29917 \end_inset
29918
29919
29920 \end_layout
29921
29922 \end_inset
29923
29924
29925 \end_layout
29926
29927 \begin_layout Left Footer
29928 \begin_inset Argument 1
29929 status collapsed
29930
29931 \begin_layout Plain Layout
29932 \begin_inset ERT
29933 status collapsed
29934
29935 \begin_layout Plain Layout
29936
29937
29938 \backslash
29939 thepage
29940 \end_layout
29941
29942 \end_inset
29943
29944
29945 \end_layout
29946
29947 \end_inset
29948
29949
29950 \end_layout
29951
29952 \begin_layout Center Footer
29953 \begin_inset Argument 1
29954 status collapsed
29955
29956 \begin_layout Plain Layout
29957
29958 \family sans
29959 \series bold
29960 \color red
29961 LyX's user guide
29962 \end_layout
29963
29964 \end_inset
29965
29966 Magic code:
29967 \begin_inset Newline newline
29968 \end_inset
29969
29970
29971 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
29972 \end_inset
29973
29974
29975 \end_layout
29976
29977 \begin_layout Right Footer
29978 \begin_inset Argument 1
29979 status collapsed
29980
29981 \begin_layout Plain Layout
29982
29983 \end_layout
29984
29985 \end_inset
29986
29987
29988 \begin_inset ERT
29989 status collapsed
29990
29991 \begin_layout Plain Layout
29992
29993
29994 \backslash
29995 Roman{page}
29996 \end_layout
29997
29998 \end_inset
29999
30000
30001 \end_layout
30002
30003 \begin_layout Section
30004 Customized Page Headers and Footers
30005 \begin_inset CommandInset label
30006 LatexCommand label
30007 name "sec:Customized-Page-Headers"
30008
30009 \end_inset
30010
30011
30012 \begin_inset Index idx
30013 status collapsed
30014
30015 \begin_layout Plain Layout
30016 Document ! Header/Footer line
30017 \end_layout
30018
30019 \end_inset
30020
30021
30022 \begin_inset Index idx
30023 status collapsed
30024
30025 \begin_layout Plain Layout
30026 Header/Footer line
30027 \end_layout
30028
30029 \end_inset
30030
30031
30032 \end_layout
30033
30034 \begin_layout Standard
30035 To define a custom page header and footer line for your document, you need
30036  to set the headings style to 
30037 \family sans
30038 Fancy
30039 \family default
30040  in the 
30041 \family sans
30042 Document\SpecialChar \menuseparator
30043 Settings
30044 \family default
30045  dialog under 
30046 \family sans
30047 Page
30048 \begin_inset space ~
30049 \end_inset
30050
30051 Layout
30052 \family default
30053 .
30054  As a second step add in the menu 
30055 \family sans
30056 Document\SpecialChar \menuseparator
30057 Settings\SpecialChar \menuseparator
30058 Modules
30059 \family default
30060  the module 
30061 \begin_inset Quotes eld
30062 \end_inset
30063
30064 Custom Header/Footerlines
30065 \begin_inset Quotes erd
30066 \end_inset
30067
30068 .
30069  This module offers the following 6
30070 \begin_inset space ~
30071 \end_inset
30072
30073 styles:
30074 \end_layout
30075
30076 \begin_layout Description
30077 Left
30078 \begin_inset space ~
30079 \end_inset
30080
30081 Header,
30082 \begin_inset space ~
30083 \end_inset
30084
30085 Center
30086 \begin_inset space ~
30087 \end_inset
30088
30089 Header,
30090 \begin_inset space ~
30091 \end_inset
30092
30093 Right
30094 \begin_inset space ~
30095 \end_inset
30096
30097 Header
30098 \end_layout
30099
30100 \begin_layout Description
30101 Left
30102 \begin_inset space ~
30103 \end_inset
30104
30105 Footer,
30106 \begin_inset space ~
30107 \end_inset
30108
30109 Center
30110 \begin_inset space ~
30111 \end_inset
30112
30113 Footer,
30114 \begin_inset space ~
30115 \end_inset
30116
30117 Right
30118 \begin_inset space ~
30119 \end_inset
30120
30121 Footer
30122 \end_layout
30123
30124 \begin_layout Standard
30125 for the different positions in the header/footer.
30126 \end_layout
30127
30128 \begin_layout Standard
30129 Normally, headers and footers are set up in the beginning of the document.
30130  But you can change them anywhere you want to.
30131  Figure
30132 \begin_inset space ~
30133 \end_inset
30134
30135
30136 \begin_inset CommandInset ref
30137 LatexCommand ref
30138 reference "fig:Page-layout"
30139
30140 \end_inset
30141
30142  shows the page layout and where the header/footer styles will appear.
30143 \end_layout
30144
30145 \begin_layout Standard
30146 \begin_inset Float figure
30147 placement h
30148 wide false
30149 sideways false
30150 status collapsed
30151
30152 \begin_layout Plain Layout
30153 \noindent
30154 \align center
30155 \begin_inset Tabular
30156 <lyxtabular version="3" rows="5" columns="3">
30157 <features rotate="0" tabularvalignment="middle">
30158 <column alignment="left" valignment="top" width="30line%">
30159 <column alignment="center" valignment="top" width="30line%">
30160 <column alignment="right" valignment="top" width="30line%">
30161 <row>
30162 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
30163 \begin_inset Text
30164
30165 \begin_layout Plain Layout
30166 Left Header
30167 \end_layout
30168
30169 \end_inset
30170 </cell>
30171 <cell alignment="center" valignment="top" topline="true" usebox="none">
30172 \begin_inset Text
30173
30174 \begin_layout Plain Layout
30175 Center Header
30176 \end_layout
30177
30178 \end_inset
30179 </cell>
30180 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
30181 \begin_inset Text
30182
30183 \begin_layout Plain Layout
30184 Right Header
30185 \end_layout
30186
30187 \end_inset
30188 </cell>
30189 </row>
30190 <row>
30191 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30192 \begin_inset Text
30193
30194 \begin_layout Plain Layout
30195
30196 \end_layout
30197
30198 \end_inset
30199 </cell>
30200 <cell alignment="center" valignment="top" usebox="none">
30201 \begin_inset Text
30202
30203 \begin_layout Plain Layout
30204
30205 \end_layout
30206
30207 \end_inset
30208 </cell>
30209 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30210 \begin_inset Text
30211
30212 \begin_layout Plain Layout
30213
30214 \end_layout
30215
30216 \end_inset
30217 </cell>
30218 </row>
30219 <row>
30220 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
30221 \begin_inset Text
30222
30223 \begin_layout Plain Layout
30224 The normal text on the page goes here.
30225  The running header is above the text, and the footer is below (including
30226  footnotes).
30227  Headers/footers typically contain things like the page number, title of
30228  the chapter, company logo but your can use almost anything, except of floats.
30229 \end_layout
30230
30231 \end_inset
30232 </cell>
30233 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
30234 \begin_inset Text
30235
30236 \begin_layout Plain Layout
30237
30238 \end_layout
30239
30240 \end_inset
30241 </cell>
30242 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
30243 \begin_inset Text
30244
30245 \begin_layout Plain Layout
30246
30247 \end_layout
30248
30249 \end_inset
30250 </cell>
30251 </row>
30252 <row>
30253 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30254 \begin_inset Text
30255
30256 \begin_layout Plain Layout
30257
30258 \end_layout
30259
30260 \end_inset
30261 </cell>
30262 <cell alignment="center" valignment="top" usebox="none">
30263 \begin_inset Text
30264
30265 \begin_layout Plain Layout
30266
30267 \end_layout
30268
30269 \end_inset
30270 </cell>
30271 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30272 \begin_inset Text
30273
30274 \begin_layout Plain Layout
30275
30276 \end_layout
30277
30278 \end_inset
30279 </cell>
30280 </row>
30281 <row>
30282 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
30283 \begin_inset Text
30284
30285 \begin_layout Plain Layout
30286 Left Footer
30287 \end_layout
30288
30289 \end_inset
30290 </cell>
30291 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30292 \begin_inset Text
30293
30294 \begin_layout Plain Layout
30295 Center Footer
30296 \end_layout
30297
30298 \end_inset
30299 </cell>
30300 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
30301 \begin_inset Text
30302
30303 \begin_layout Plain Layout
30304 Right Footer
30305 \end_layout
30306
30307 \end_inset
30308 </cell>
30309 </row>
30310 </lyxtabular>
30311
30312 \end_inset
30313
30314
30315 \end_layout
30316
30317 \begin_layout Plain Layout
30318 \begin_inset Caption Standard
30319
30320 \begin_layout Plain Layout
30321 \begin_inset CommandInset label
30322 LatexCommand label
30323 name "fig:Page-layout"
30324
30325 \end_inset
30326
30327 Page layout with custom header and footer line.
30328 \end_layout
30329
30330 \end_inset
30331
30332
30333 \end_layout
30334
30335 \end_inset
30336
30337
30338 \end_layout
30339
30340 \begin_layout Subsection
30341 Definition
30342 \end_layout
30343
30344 \begin_layout Standard
30345 To define your header line, add all 3
30346 \begin_inset space ~
30347 \end_inset
30348
30349 header styles.
30350  The things you add to the styles appear on uneven pages, the things in
30351  the optional arguments on even pages.
30352  For single-sided documents, the optional arguments will not be used and
30353  can be omitted.
30354  If you leave a style or its argument empty, nothing appears in the output.
30355  Defining the footer line works similar.
30356 \end_layout
30357
30358 \begin_layout Standard
30359 For the definition, you will need some LaTeX-commands that are inserted
30360  as TeX code (menu 
30361 \family sans
30362 Insert\SpecialChar \menuseparator
30363 Te
30364 \begin_inset ERT
30365 status collapsed
30366
30367 \begin_layout Plain Layout
30368
30369 {}
30370 \end_layout
30371
30372 \end_inset
30373
30374 X
30375 \begin_inset space ~
30376 \end_inset
30377
30378 Code
30379 \family default
30380 ):
30381 \end_layout
30382
30383 \begin_layout Description
30384
30385 \backslash
30386 thepage prints the current page number
30387 \end_layout
30388
30389 \begin_layout Description
30390
30391 \backslash
30392 Roman{page} prints the current page number with capital roman numerals
30393 \end_layout
30394
30395 \begin_layout Description
30396
30397 \backslash
30398 roman{page} prints the current page number with small roman numerals
30399 \end_layout
30400
30401 \begin_layout Description
30402
30403 \backslash
30404 leftmark prints the current section number and title.
30405  If the document has chapters, it prints the current chapter number and
30406  title instead.
30407  It is called 
30408 \begin_inset Quotes eld
30409 \end_inset
30410
30411 leftmark
30412 \begin_inset Quotes prd
30413 \end_inset
30414
30415  because it usually goes in a left header.
30416 \end_layout
30417
30418 \begin_layout Description
30419
30420 \backslash
30421 rightmark prints the current subsection number and title.
30422  If the document has chapters, it prints the current section number and
30423  title instead.
30424  It is normally used in the right header.
30425 \end_layout
30426
30427 \begin_layout Subsection
30428 Default header/footer
30429 \end_layout
30430
30431 \begin_layout Standard
30432 The custom header/footer is not empty by default.
30433  The default header contains the chapter and section title and the center
30434  footer has the page number.
30435  In order to remove unwanted entries from the header/footer, include the
30436  relevant header/footer style in your document, but leave it blank.
30437  So, if you do not want a page number in the footer, include a blank 
30438 \family sans
30439 Center
30440 \begin_inset space ~
30441 \end_inset
30442
30443 Footer
30444 \family default
30445  style.
30446 \end_layout
30447
30448 \begin_layout Subsection
30449 Appearance
30450 \end_layout
30451
30452 \begin_layout Standard
30453 The header and footer will appear on normal pages.
30454  Some pages are different.
30455  The title page has a style of its own, and so does any page that starts
30456  a new part or chapter in your book.
30457  Such pages will not have the custom headers/footers, but that is normal.
30458  There is for example no need to print a header with the chapter name on
30459  the chapter page where the chapter heading is in big bold letters anyway.
30460 \end_layout
30461
30462 \begin_layout Subsubsection
30463 Header and footer decoration line
30464 \end_layout
30465
30466 \begin_layout Standard
30467 By default, you get a 0.4
30468 \begin_inset space \thinspace{}
30469 \end_inset
30470
30471 pt thick line below the header and no footer line.
30472  This can be changed in the document preamble with the commands 
30473 \series bold
30474
30475 \backslash
30476 headrulewidth
30477 \series default
30478  and 
30479 \series bold
30480
30481 \backslash
30482 footrulewidth
30483 \series default
30484  in the following scheme:
30485 \end_layout
30486
30487 \begin_layout Standard
30488
30489 \series bold
30490
30491 \backslash
30492 renewcommand{
30493 \backslash
30494 headrulewidth}{thickness}
30495 \end_layout
30496
30497 \begin_layout Standard
30498 Where thickness is a size in standard units like 
30499 \family sans
30500 pt
30501 \family default
30502  or 
30503 \family sans
30504 mm
30505 \family default
30506 .
30507  If you don't want a line, set the thickness to 0
30508 \begin_inset space \thinspace{}
30509 \end_inset
30510
30511 pt.
30512 \end_layout
30513
30514 \begin_layout Standard
30515 The lines can also be colored, but this requires more knowledge of LaTeX.
30516  If you really need this, have a look at the Internet or in sec.
30517 \begin_inset space ~
30518 \end_inset
30519
30520 4.4 of the book 
30521 \begin_inset CommandInset citation
30522 LatexCommand cite
30523 key "Mittelbach"
30524
30525 \end_inset
30526
30527 .
30528 \end_layout
30529
30530 \begin_layout Subsubsection
30531 Several header/footer lines
30532 \end_layout
30533
30534 \begin_layout Standard
30535 In case you need more than one text line as a header/footer, you can do
30536  this by adding a normal line break in the style definition.
30537  However, the default height of the header/footer is only the one of one
30538  text line.
30539  To expand the height, redefine the LaTeX length 
30540 \series bold
30541
30542 \backslash
30543 headheight
30544 \series default
30545  or 
30546 \series bold
30547
30548 \backslash
30549 footheight
30550 \series default
30551  in this scheme in your document preamble:
30552 \end_layout
30553
30554 \begin_layout Standard
30555
30556 \series bold
30557
30558 \backslash
30559 setlength{
30560 \backslash
30561 headheight}{height}
30562 \end_layout
30563
30564 \begin_layout Standard
30565 Where height is a size in standard units.
30566  If you don't know which amount of space is needed for the height, define
30567  your header/footer and preview your document as PDF.
30568  Then open the LaTeX logfile via the menu 
30569 \family sans
30570 Document\SpecialChar \menuseparator
30571 La
30572 \begin_inset ERT
30573 status collapsed
30574
30575 \begin_layout Plain Layout
30576
30577 {}
30578 \end_layout
30579
30580 \end_inset
30581
30582 TeX Log
30583 \family default
30584  and look via the button 
30585 \family sans
30586 Next
30587 \begin_inset space ~
30588 \end_inset
30589
30590 Warning
30591 \family default
30592  if you find a warning of the package 
30593 \series bold
30594 fancyhdr
30595 \series default
30596
30597 \begin_inset Index idx
30598 status collapsed
30599
30600 \begin_layout Plain Layout
30601 LaTeX-packages ! fancyhdr
30602 \end_layout
30603
30604 \end_inset
30605
30606 .
30607  If there is such a warning, it contains the space that you need at least
30608  for your header/footer.
30609 \end_layout
30610
30611 \begin_layout Subsection
30612 This example
30613 \end_layout
30614
30615 \begin_layout Standard
30616 This example demonstrates what can be done with custom header/footers.
30617  Don't use it for your document as it is just an example.
30618  This example consists of the following definition:
30619 \end_layout
30620
30621 \begin_layout Description
30622 Left
30623 \begin_inset space ~
30624 \end_inset
30625
30626 Header 
30627 \series bold
30628
30629 \backslash
30630 rightmark
30631 \series default
30632 , empty optional argument
30633 \end_layout
30634
30635 \begin_layout Description
30636 Center
30637 \begin_inset space ~
30638 \end_inset
30639
30640 Header empty, empty optional argument
30641 \end_layout
30642
30643 \begin_layout Description
30644 Right
30645 \begin_inset space ~
30646 \end_inset
30647
30648 Header empty, 
30649 \series bold
30650
30651 \backslash
30652 leftmark
30653 \series default
30654  in the optional argument
30655 \end_layout
30656
30657 \begin_layout Description
30658 Left
30659 \begin_inset space ~
30660 \end_inset
30661
30662 Footer empty, 
30663 \series bold
30664
30665 \backslash
30666 thepage
30667 \series default
30668  in the optional argument
30669 \end_layout
30670
30671 \begin_layout Description
30672 Center
30673 \begin_inset space ~
30674 \end_inset
30675
30676 Footer 
30677 \family sans
30678 \series bold
30679 \color red
30680 LyX's user guide
30681 \family default
30682 \series default
30683 \color inherit
30684
30685 \begin_inset Quotes eld
30686 \end_inset
30687
30688 Magic code:
30689 \begin_inset Newline newline
30690 \end_inset
30691
30692
30693 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
30694 \end_inset
30695
30696
30697 \begin_inset Quotes erd
30698 \end_inset
30699
30700  in the optional argument
30701 \end_layout
30702
30703 \begin_layout Description
30704 Right
30705 \begin_inset space ~
30706 \end_inset
30707
30708 Footer 
30709 \series bold
30710
30711 \backslash
30712 Roman{page}
30713 \series default
30714 , empty optional argument
30715 \end_layout
30716
30717 \begin_layout Description
30718
30719 \backslash
30720 headrulewidth set to 2
30721 \begin_inset space \thinspace{}
30722 \end_inset
30723
30724 pt
30725 \end_layout
30726
30727 \begin_layout Standard
30728 In principle you can use almost everything in headers/footers, except floats.
30729  For more special things like e.
30730 \begin_inset space \thinspace{}
30731 \end_inset
30732
30733 g.
30734 \begin_inset space ~
30735 \end_inset
30736
30737 thumb-indexes, see the manual of the 
30738 \series bold
30739 fancyhdr
30740 \series default
30741  package, 
30742 \begin_inset CommandInset citation
30743 LatexCommand cite
30744 key "fancyhdr"
30745
30746 \end_inset
30747
30748 .
30749 \end_layout
30750
30751 \begin_layout Standard
30752 \begin_inset Newpage clearpage
30753 \end_inset
30754
30755
30756 \end_layout
30757
30758 \begin_layout Standard
30759 \begin_inset ERT
30760 status open
30761
30762 \begin_layout Plain Layout
30763
30764
30765 \backslash
30766 pagestyle{headings}
30767 \end_layout
30768
30769 \end_inset
30770
30771
30772 \begin_inset Note Note
30773 status collapsed
30774
30775 \begin_layout Plain Layout
30776 switches back to page style with the default headings
30777 \end_layout
30778
30779 \end_inset
30780
30781
30782 \end_layout
30783
30784 \begin_layout Section
30785 Previewing Snippets of your Document
30786 \begin_inset CommandInset label
30787 LatexCommand label
30788 name "sec:Previewing-snippets-of"
30789
30790 \end_inset
30791
30792
30793 \begin_inset Index idx
30794 status collapsed
30795
30796 \begin_layout Plain Layout
30797 Instant preview
30798 \end_layout
30799
30800 \end_inset
30801
30802
30803 \begin_inset Index idx
30804 status collapsed
30805
30806 \begin_layout Plain Layout
30807 Document ! Preview
30808 \end_layout
30809
30810 \end_inset
30811
30812
30813 \end_layout
30814
30815 \begin_layout Standard
30816 LyX allows you to generate previews of sections of your document on the
30817  fly so you can see how they will look in the final document without having
30818  to break your train of thought with viewing the output.
30819 \end_layout
30820
30821 \begin_layout Subsection
30822 Prerequisites
30823 \end_layout
30824
30825 \begin_layout Standard
30826 To get previews working, you need the LaTeX package 
30827 \series bold
30828 preview-latex
30829 \series default
30830
30831 \begin_inset Index idx
30832 status collapsed
30833
30834 \begin_layout Plain Layout
30835 LaTeX-packages ! preview-latex
30836 \end_layout
30837
30838 \end_inset
30839
30840  (on some systems named simply 
30841 \series bold
30842 preview
30843 \series default
30844 ) installed.
30845  If it is not already installed, you will find it in the TeX-catalogue,
30846  
30847 \begin_inset CommandInset citation
30848 LatexCommand cite
30849 key "TeXCatalogue"
30850
30851 \end_inset
30852
30853  or in the package manager of your LaTeX-system.
30854  You obtain prettier results if you install the program 
30855 \family typewriter
30856 pnmcrop
30857 \family default
30858  from the 
30859 \family typewriter
30860 netpbm
30861 \family default
30862  package; for LyX on Windows this program and also the LaTeX-package are
30863  automatically installed together with LyX.
30864 \end_layout
30865
30866 \begin_layout Subsection
30867 Enabling previews
30868 \end_layout
30869
30870 \begin_layout Standard
30871 If you would for example like to see in LyX your math formulas typeset by
30872  LaTeX, activate the option 
30873 \family sans
30874 Display
30875 \begin_inset space ~
30876 \end_inset
30877
30878 Graphics
30879 \family default
30880  in the 
30881 \family sans
30882 Tools\SpecialChar \menuseparator
30883 Preferences 
30884 \family default
30885 dialog under 
30886 \family sans
30887 Look
30888 \begin_inset space ~
30889 \end_inset
30890
30891 and
30892 \begin_inset space ~
30893 \end_inset
30894
30895 feel\SpecialChar \menuseparator
30896 Display
30897 \family default
30898 .
30899  Then set 
30900 \family sans
30901 Instant
30902 \begin_inset space ~
30903 \end_inset
30904
30905 Preview
30906 \family default
30907  to 
30908 \family sans
30909 On
30910 \family default
30911 .
30912  The 
30913 \family sans
30914 Preview
30915 \begin_inset space ~
30916 \end_inset
30917
30918 Size
30919 \family default
30920  is the multiplication factor for the size.
30921 \end_layout
30922
30923 \begin_layout Standard
30924 Previews are generated when you load a document into LyX and when you finish
30925  editing an inset.
30926 \end_layout
30927
30928 \begin_layout Standard
30929 \begin_inset Note Greyedout
30930 status open
30931
30932 \begin_layout Plain Layout
30933
30934 \series bold
30935 Note:
30936 \series default
30937  Previews of an already loaded document are not in every case immediately
30938  generated by activating the option 
30939 \family sans
30940 Display
30941 \begin_inset space ~
30942 \end_inset
30943
30944 Graphics
30945 \family default
30946 .
30947  Reopening the documents will fix such problems.
30948 \end_layout
30949
30950 \end_inset
30951
30952
30953 \end_layout
30954
30955 \begin_layout Subsection
30956 Selected document parts
30957 \end_layout
30958
30959 \begin_layout Standard
30960 Besides math there are other cases where you might like to see a preview,
30961  for example things that LyX cannot render like rotated parts or things
30962  that are not yet supported by LyX.
30963  To do this, insert a preview inset via the menu 
30964 \family sans
30965 Insert\SpecialChar \menuseparator
30966 Preview
30967 \family default
30968 .
30969  Insert or paste the stuff that you want to preview into this inset.
30970  The preview will be generated when the cursor is outside the preview inset.
30971  If you click on the preview, you can edit the previewed stuff.
30972 \end_layout
30973
30974 \begin_layout Standard
30975 An example: To create rotated boxes, you use the LaTeX command 
30976 \series bold
30977
30978 \backslash
30979 rotatebox
30980 \series default
30981  which is not yet supported by LyX.
30982 \begin_inset Foot
30983 status collapsed
30984
30985 \begin_layout Plain Layout
30986
30987 \series bold
30988
30989 \backslash
30990 rotatebox
30991 \series default
30992  is explained in section 
30993 \emph on
30994 Rotated and Scaled Boxes
30995 \emph default
30996  of the 
30997 \emph on
30998 Embedded
30999 \begin_inset space ~
31000 \end_inset
31001
31002 Objects
31003 \emph default
31004  manual.
31005 \end_layout
31006
31007 \end_inset
31008
31009  Instead of the TeX Code boxes you want to see in LyX the final rotated
31010  boxes, for example to adjust the rotation angle to fit with the surrounding
31011  text.
31012  Therefore you create a preview inset and copy the text with the rotated
31013  boxes into it.
31014  Here is the result:
31015 \end_layout
31016
31017 \begin_layout Standard
31018 \begin_inset Preview
31019
31020 \begin_layout Standard
31021 This is a line
31022 \begin_inset ERT
31023 status collapsed
31024
31025 \begin_layout Plain Layout
31026
31027
31028 \backslash
31029 rotatebox[origin=r]{-60}{
31030 \end_layout
31031
31032 \end_inset
31033
31034
31035 \begin_inset Box Doublebox
31036 position "c"
31037 hor_pos "c"
31038 has_inner_box 0
31039 inner_pos "c"
31040 use_parbox 0
31041 use_makebox 0
31042 width "1in"
31043 special "width"
31044 height "1in"
31045 height_special "totalheight"
31046 status collapsed
31047
31048 \begin_layout Plain Layout
31049 with rotated
31050 \end_layout
31051
31052 \end_inset
31053
31054
31055 \begin_inset ERT
31056 status collapsed
31057
31058 \begin_layout Plain Layout
31059
31060 }
31061 \end_layout
31062
31063 \end_inset
31064
31065  framed text 
31066 \begin_inset ERT
31067 status collapsed
31068
31069 \begin_layout Plain Layout
31070
31071
31072 \backslash
31073 rotatebox[origin=lb]{60}{
31074 \end_layout
31075
31076 \end_inset
31077
31078
31079 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31080 \end_inset
31081
31082
31083 \begin_inset ERT
31084 status collapsed
31085
31086 \begin_layout Plain Layout
31087
31088 }
31089 \end_layout
31090
31091 \end_inset
31092
31093  and a formula.
31094 \end_layout
31095
31096 \end_inset
31097
31098
31099 \end_layout
31100
31101 \begin_layout Standard
31102 Previewing works also for colors.
31103  In this example a special framed, colored box was created using the LaTeX
31104  command 
31105 \series bold
31106
31107 \backslash
31108 fcolorbox
31109 \series default
31110 :
31111 \begin_inset Foot
31112 status collapsed
31113
31114 \begin_layout Plain Layout
31115
31116 \series bold
31117
31118 \backslash
31119 fcolorbox
31120 \series default
31121  is explained in section 
31122 \emph on
31123 Colored Boxes
31124 \emph default
31125  of the 
31126 \emph on
31127 Embedded
31128 \begin_inset space ~
31129 \end_inset
31130
31131 Objects
31132 \emph default
31133  manual.
31134 \end_layout
31135
31136 \end_inset
31137
31138
31139 \end_layout
31140
31141 \begin_layout Standard
31142 \begin_inset Preview
31143
31144 \begin_layout Standard
31145 \begin_inset ERT
31146 status collapsed
31147
31148 \begin_layout Plain Layout
31149
31150
31151 \backslash
31152 fboxrule 1mm 
31153 \backslash
31154 fboxsep 1mm
31155 \end_layout
31156
31157 \end_inset
31158
31159
31160 \begin_inset ERT
31161 status collapsed
31162
31163 \begin_layout Plain Layout
31164
31165
31166 \backslash
31167 fcolorbox{cyan}{magenta}{
31168 \end_layout
31169
31170 \end_inset
31171
31172 This is text within a colored, framed box.
31173 \begin_inset ERT
31174 status collapsed
31175
31176 \begin_layout Plain Layout
31177
31178 }
31179 \end_layout
31180
31181 \end_inset
31182
31183
31184 \end_layout
31185
31186 \end_inset
31187
31188
31189 \end_layout
31190
31191 \begin_layout Standard
31192 \begin_inset VSpace medskip
31193 \end_inset
31194
31195
31196 \end_layout
31197
31198 \begin_layout Standard
31199 If LyX does not show a preview, make sure that you enabled previews as described
31200  above and also make sure that TeX Code in the preview inset is valid and
31201  that you loaded the LaTeX packages in your document preamble that are required
31202  by the TeX Code.
31203  If LyX cannot create a preview, you will in most cases also not be able
31204  to view your document due to LaTeX errors.
31205  So if you have to use some TeX Code and don't know if it is correct, the
31206  preview inset is a nice method to check it without the need to view the
31207  whole document.
31208 \end_layout
31209
31210 \begin_layout Subsection
31211 LaTeX source code
31212 \end_layout
31213
31214 \begin_layout Standard
31215 You can preview the LaTeX source of the whole document or parts of it.
31216  Use the menu 
31217 \family sans
31218 View\SpecialChar \menuseparator
31219 View
31220 \begin_inset space ~
31221 \end_inset
31222
31223 Source
31224 \family default
31225  and a window will be shown where you can see the LaTeX-source code.
31226  The window shows the source of the whole paragraph where the cursor is
31227  currently in.
31228  You can also select document parts in LyX's main window, then only this
31229  selection (when it is more than one paragraph) is shown as source code.
31230  To view the whole document as source, enable the corresponding option in
31231  the source view window.
31232 \end_layout
31233
31234 \begin_layout Section
31235 Advanced Find and Replace
31236 \begin_inset CommandInset label
31237 LatexCommand label
31238 name "sec:Advanced-Find-and"
31239
31240 \end_inset
31241
31242
31243 \begin_inset Index idx
31244 status collapsed
31245
31246 \begin_layout Plain Layout
31247 Replace
31248 \end_layout
31249
31250 \end_inset
31251
31252
31253 \begin_inset Index idx
31254 status collapsed
31255
31256 \begin_layout Plain Layout
31257 Find
31258 \end_layout
31259
31260 \end_inset
31261
31262
31263 \end_layout
31264
31265 \begin_layout Subsection
31266 Introduction
31267 \end_layout
31268
31269 \begin_layout Standard
31270 The advanced find and replace feature of LyX allows for searching of complex,
31271  format-sensitive text segments and mathematics contents within LyX documents.
31272  It is an enhancement of the standard (quick) find and replace feature.
31273  The key-features are:
31274 \end_layout
31275
31276 \begin_layout Itemize
31277 Both searching of text and of mathematical formulas is allowed, where the
31278  latter is done by entering mathematics in the usual way; not only entire
31279  mathematical formulas are found, but also parts occurring within more complex
31280  formulas
31281 \end_layout
31282
31283 \begin_layout Itemize
31284 Search may be format-insensitive, so that the searched text is found in
31285  any context/style (standard text, section headings, notes, and even mathematics
31286 ), or it may be format-sensitive, so that, for example, a word entered with
31287  a section heading will only be found within section headings
31288 \end_layout
31289
31290 \begin_layout Itemize
31291 Search may be widened to a specific 
31292 \emph on
31293 scope
31294 \emph default
31295 , i.
31296 \begin_inset space \thinspace{}
31297 \end_inset
31298
31299 e.
31300 \begin_inset space ~
31301 \end_inset
31302
31303 a set of files which may be all the children of the document being edited,
31304  all the open files, or all the manuals available from the 
31305 \family sans
31306 Help
31307 \family default
31308  menu
31309 \end_layout
31310
31311 \begin_layout Itemize
31312 Replace may optionally preserve capitalization, so that the replaced text
31313  capitalization is adapted to the matching text (i.
31314 \begin_inset space \thinspace{}
31315 \end_inset
31316
31317 e.
31318 \begin_inset space ~
31319 \end_inset
31320
31321 all lowercase, all uppercase, first letter uppercase followed by lowercase)
31322 \end_layout
31323
31324 \begin_layout Subsection
31325 Basic usage
31326 \end_layout
31327
31328 \begin_layout Standard
31329 The advanced find and replace feature is activated through the menu 
31330 \family sans
31331 Edit\SpecialChar \menuseparator
31332 Find & Replace
31333 \noun on
31334  (
31335 \noun default
31336 Advanced
31337 \noun on
31338 )
31339 \family default
31340 \noun default
31341  (shortcut 
31342 \begin_inset Info
31343 type  "shortcut"
31344 arg   "dialog-show findreplaceadv"
31345 \end_inset
31346
31347 ) or the toolbar button 
31348 \begin_inset Info
31349 type  "icon"
31350 arg   "dialog-toggle findreplaceadv"
31351 \end_inset
31352
31353 .
31354  This opens the 
31355 \family sans
31356 Advanced Find and Replace
31357 \family default
31358  dialog.
31359 \end_layout
31360
31361 \begin_layout Subsubsection
31362 Searching for text
31363 \end_layout
31364
31365 \begin_layout Standard
31366 Enter into the 
31367 \family sans
31368 Find
31369 \family default
31370  LyX mini-editor a simple word, and search for occurrences of it by clicking
31371  on the 
31372 \family sans
31373 Find Next
31374 \family default
31375  button at the bottom of the dialog (or just press the 
31376 \begin_inset Info
31377 type  "shortcut"
31378 arg   "break-paragraph"
31379 \end_inset
31380
31381  key).
31382  The entered word is found both in text mode and in math mode, and in emphasized
31383 , bold or normal face, and in both in section titles and in standard text.
31384  Pressing repeatedly 
31385 \begin_inset Info
31386 type  "shortcut"
31387 arg   "break-paragraph"
31388 \end_inset
31389
31390  keeps searching forward while pressing 
31391 \family sans
31392 Shift+Return
31393 \family default
31394  searches backwards.
31395 \end_layout
31396
31397 \begin_layout Standard
31398 The 
31399 \family sans
31400 Case sensitive
31401 \family default
31402  option allows matches to occur only with the same case as entered in the
31403  
31404 \family sans
31405 Find
31406 \family default
31407  editor.
31408  The 
31409 \family sans
31410 Whole words
31411 \family default
31412  option allows matches to occur only at word boundaries.
31413 \end_layout
31414
31415 \begin_layout Subsubsection
31416 Searching for mathematics
31417 \end_layout
31418
31419 \begin_layout Standard
31420 Mathematical formulas may be searched for by typing them the 
31421 \family sans
31422 Find
31423 \family default
31424  editor, such as 
31425 \begin_inset Formula $x^{2}$
31426 \end_inset
31427
31428  or also something more complex like 
31429 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
31430 \end_inset
31431
31432 .
31433  When searching for a formula, it is found both when it is alone and when
31434  it occurs in sub-formulas and nested parts of sub-formulas.
31435  For example the mentioned segments would be found in something like 
31436 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}.$
31437 \end_inset
31438
31439
31440 \end_layout
31441
31442 \begin_layout Subsubsection
31443 Style-aware search
31444 \end_layout
31445
31446 \begin_layout Standard
31447 It is also possible to search for text with specific styles.
31448  This is done by switching to the 
31449 \family sans
31450 Settings
31451 \family default
31452  tab of the dialog and unchecking the 
31453 \family sans
31454 Ignore format
31455 \family default
31456  option.
31457  This way, entering in the 
31458 \family sans
31459 Find
31460 \family default
31461  editor
31462 \end_layout
31463
31464 \begin_layout Itemize
31465 a plain word and searching for it would not find instances of the word occurring
31466  in emphasized or boldface.
31467 \end_layout
31468
31469 \begin_layout Itemize
31470 an emphasized or boldface word and searching for it would find the respective
31471  instances with same face only, and within the same text style only.
31472 \end_layout
31473
31474 \begin_layout Itemize
31475 a plain word in a section heading, and searching for it, finds occurrences
31476  of if only within section headings.
31477  Also, if the text to search is given an emphasized or bold face, in addition
31478  to a section style, then it is found only when occurring with the same
31479  style.
31480 \end_layout
31481
31482 \begin_layout Itemize
31483 a displayed formula will only find instances of this formula that are also
31484  displayed formulas (and not inline formulas).
31485 \end_layout
31486
31487 \begin_layout Subsubsection
31488 Replace
31489 \end_layout
31490
31491 \begin_layout Standard
31492 The document segments entered in the 
31493 \family sans
31494 Find
31495 \family default
31496  editor can be replaced with the text segments entered in the 
31497 \family sans
31498 Replace
31499 \family default
31500 \noun on
31501  
31502 \noun default
31503 editor.
31504  In order to find the next occurrence and replace it, click on the 
31505 \family sans
31506 Replace
31507 \family default
31508  button or alternatively
31509 \noun on
31510  
31511 \noun default
31512 press 
31513 \begin_inset Info
31514 type  "shortcut"
31515 arg   "break-paragraph"
31516 \end_inset
31517
31518  or 
31519 \family sans
31520 Shift+Return
31521 \family default
31522  while the cursor is in the 
31523 \family sans
31524 Replace
31525 \family default
31526 \noun on
31527  
31528 \noun default
31529 editor.
31530 \end_layout
31531
31532 \begin_layout Standard
31533 You can replace with full-featured formatted LyX segments.
31534  Typical scenarios in which to use this capability may be (just to mention
31535  a few):
31536 \end_layout
31537
31538 \begin_layout Itemize
31539 replacing occurrences of a word with a customized formatted version of the
31540  same word, for example replacing occurrences of a name like 
31541 \begin_inset Quotes eld
31542 \end_inset
31543
31544 func()
31545 \begin_inset Quotes erd
31546 \end_inset
31547
31548  with its typewriter version 
31549 \begin_inset Quotes eld
31550 \end_inset
31551
31552
31553 \family typewriter
31554 func()
31555 \family default
31556
31557 \begin_inset Quotes erd
31558 \end_inset
31559
31560
31561 \end_layout
31562
31563 \begin_layout Itemize
31564 performing a notation rework of mathematical symbols, for example replacing
31565  occurrences of 
31566 \begin_inset Quotes eld
31567 \end_inset
31568
31569
31570 \begin_inset Formula $R$
31571 \end_inset
31572
31573
31574 \begin_inset Quotes erd
31575 \end_inset
31576
31577  with 
31578 \begin_inset Quotes eld
31579 \end_inset
31580
31581
31582 \begin_inset Formula $\mathbb{R}$
31583 \end_inset
31584
31585
31586 \begin_inset Quotes erd
31587 \end_inset
31588
31589  (you may want to enable the 
31590 \family sans
31591 Whole words
31592 \family default
31593  and 
31594 \family sans
31595 Case sensitive
31596 \family default
31597  options and disable the 
31598 \family sans
31599 Ignore format
31600 \family default
31601  option in the 
31602 \family sans
31603 Settings
31604 \family default
31605  tab, in order to avoid replacing all 
31606 \begin_inset Quotes eld
31607 \end_inset
31608
31609 R
31610 \begin_inset Quotes erd
31611 \end_inset
31612
31613  letters occurring in normal text), or occurrences of 
31614 \begin_inset Formula $x_{j}^{i}$
31615 \end_inset
31616
31617  with 
31618 \begin_inset Formula $x_{i,\, j}$
31619 \end_inset
31620
31621 , or occurrences of 
31622 \begin_inset Formula $x[k]$
31623 \end_inset
31624
31625  with 
31626 \begin_inset Formula $x_{k}$
31627 \end_inset
31628
31629 .
31630 \end_layout
31631
31632 \begin_layout Subsection
31633 Advanced usage
31634 \end_layout
31635
31636 \begin_layout Standard
31637 There is a regular expression (regexp) based searching facility.
31638 \begin_inset Foot
31639 status collapsed
31640
31641 \begin_layout Plain Layout
31642 A good explanation of regular expressions is given in this Wikipedia entry:
31643  
31644 \begin_inset CommandInset href
31645 LatexCommand href
31646 target "http://en.wikipedia.org/wiki/Regular_expression"
31647
31648 \end_inset
31649
31650 .
31651 \end_layout
31652
31653 \end_inset
31654
31655  You can search for regular expression by inserting a regexp inset into
31656  the 
31657 \family sans
31658 Find
31659 \family default
31660  editor.
31661  This is done via the menu 
31662 \family sans
31663 Insert\SpecialChar \menuseparator
31664 Insert Regular Expression
31665 \family default
31666  while the cursor is in the 
31667 \family sans
31668 Find
31669 \family default
31670  editor.
31671  Characters entered within regexp insets are matched according to the regular
31672  expression matching rules
31673 \begin_inset Foot
31674 status collapsed
31675
31676 \begin_layout Plain Layout
31677 Under the constraint that any (sub)expression must match a well-formed LyX
31678  segment, i.
31679 \begin_inset space \thinspace{}
31680 \end_inset
31681
31682 e.
31683 \begin_inset space ~
31684 \end_inset
31685
31686 when matching LaTeX code, no segments with unbalanced {} braces are allowed
31687  to match expressions.
31688 \end_layout
31689
31690 \end_inset
31691
31692 , while text entered outside regexp insets is matched exactly against the
31693  same text in the document.
31694  It is allowed to cut and paste regexp-mode insets as usual.
31695  Examples of using such a feature may be:
31696 \end_layout
31697
31698 \begin_layout Enumerate
31699 Searching for all fractions with a given denominator: for example, entering
31700  in the 
31701 \family sans
31702 Find
31703 \family default
31704  editor the fraction 
31705 \begin_inset Formula $\frac{.*}{1+x^{2}}$
31706 \end_inset
31707
31708  (where the 
31709 \begin_inset Formula $.*$
31710 \end_inset
31711
31712  on the numerator is the match-everything regular expression) finds all
31713  fractions with the given denominator.
31714 \end_layout
31715
31716 \begin_layout Enumerate
31717 Searching for all text with a given style: for example, after unchecking
31718  the 
31719 \family sans
31720 Ignore format
31721 \family default
31722  option from the 
31723 \family sans
31724 Settings
31725 \family default
31726  tab, entering a 
31727 \series bold
31728
31729 \begin_inset Formula $.*$
31730 \end_inset
31731
31732
31733 \series default
31734  regular expression and adding for it an emphasized or bold face, finds
31735  all emphasized and bold face text, respectively.
31736  Also, inserting a 
31737 \begin_inset Formula $.*$
31738 \end_inset
31739
31740  regular expression in a bullet or enumerated list or a section heading,
31741  you can find all bullet or enumerated lists or section headings.
31742 \end_layout
31743
31744 \begin_layout Standard
31745 Finally, references to (sub)expressions in regexp may be used as usual:
31746  Enclosing parts of the expression within round braces 
31747 \begin_inset Formula $()$
31748 \end_inset
31749
31750 , and referring back to them through 
31751 \begin_inset Formula $\backslash1$
31752 \end_inset
31753
31754
31755 \begin_inset Formula $\backslash2$
31756 \end_inset
31757
31758 , etc..
31759  For example, try searching for the regexp
31760 \begin_inset Newline newline
31761 \end_inset
31762
31763 [[:space:]]([[:alpha:]]+)[[:space:]]
31764 \backslash
31765 1[[:space:]]
31766 \begin_inset Newline newline
31767 \end_inset
31768
31769 in order to find word repetitions, if there are any.
31770 \end_layout
31771
31772 \begin_layout Standard
31773 The usage of back references in the replaced text is not (yet) implemented.
31774 \end_layout
31775
31776 \begin_layout Standard
31777 \begin_inset Note Greyedout
31778 status open
31779
31780 \begin_layout Plain Layout
31781
31782 \series bold
31783 \color none
31784 Note:
31785 \series default
31786  Back references work both when occurring within the same regexp, and when
31787  occurring in multiple different regexps, where the numbering of back-referenced
31788  sub-expressions is absolute.
31789  I.
31790 \begin_inset space \thinspace{}
31791 \end_inset
31792
31793 e.
31794 \begin_inset space ~
31795 \end_inset
31796
31797
31798 \begin_inset Formula $\backslash1$
31799 \end_inset
31800
31801  always refers to the first occurrence of 
31802 \begin_inset Formula $()$
31803 \end_inset
31804
31805  in all entered regexps.
31806 \end_layout
31807
31808 \end_inset
31809
31810
31811 \end_layout
31812
31813 \begin_layout Section
31814 Spell Checking
31815 \begin_inset CommandInset label
31816 LatexCommand label
31817 name "sec:Spellchecking"
31818
31819 \end_inset
31820
31821
31822 \begin_inset Index idx
31823 status collapsed
31824
31825 \begin_layout Plain Layout
31826 Spell checking
31827 \end_layout
31828
31829 \end_inset
31830
31831
31832 \end_layout
31833
31834 \begin_layout Standard
31835 LyX has a built-in spell checker.
31836  The menu
31837 \family sans
31838  Tools\SpecialChar \menuseparator
31839 Spellchecker
31840 \family default
31841 , the key 
31842 \family sans
31843 F7
31844 \family default
31845  or the toolbar button 
31846 \begin_inset Info
31847 type  "icon"
31848 arg   "dialog-show spellchecker"
31849 \end_inset
31850
31851  starts the spell checking from either the current cursor position or the
31852  beginning of the currently selected text.
31853  A sidebar will appear showing any incorrect (or unknown) word found, allowing
31854  you to edit and replace it in a second line.
31855  Whenever an unknown word is found, the word is highlighted and the text
31856  scrolled so that it is visible.
31857  In the spellchecker sidebar, there is a box showing suggestions for a correctio
31858 n, if any could be found.
31859  Clicking on one of the corrections will copy it to the 
31860 \family sans
31861 Replacement
31862 \family default
31863  field, double-click directly invokes the replacement.
31864  Unknown but correctly typed words can be added to the personal dictionary.
31865 \end_layout
31866
31867 \begin_layout Standard
31868 By default, the dictionary file used is determined by the document language
31869  that is set in the 
31870 \family sans
31871 Document\SpecialChar \menuseparator
31872 Settings
31873 \family default
31874  dialog.
31875  You can specify the language of a word in the spellchecker dialog by choosing
31876  a different one at the top of the dialog.
31877  LyX can correctly spell check documents containing multiple languages.
31878  This works if you have marked the different languages appropriately and
31879  have the spell checker dictionaries installed.
31880  LyX automatically switches to the appropriate dictionary file.
31881 \end_layout
31882
31883 \begin_layout Subsection
31884 Further Settings
31885 \end_layout
31886
31887 \begin_layout Standard
31888 In LyX's preferences dialog under 
31889 \family sans
31890 Language
31891 \begin_inset space ~
31892 \end_inset
31893
31894 Setting\SpecialChar \menuseparator
31895 Spellchecker
31896 \family default
31897  you can set the following things:
31898 \end_layout
31899
31900 \begin_layout Description
31901 Spellchecker
31902 \begin_inset space ~
31903 \end_inset
31904
31905 engine Select the library LyX should use for spell checking.
31906  Depending on your platform, 
31907 \family typewriter
31908 aspell
31909 \family default
31910
31911 \family typewriter
31912 hunspell
31913 \family default
31914  or 
31915 \family typewriter
31916 enchant
31917 \begin_inset Foot
31918 status collapsed
31919
31920 \begin_layout Plain Layout
31921 Enchant itself is a wrapper library having different configurable back-ends.
31922  Please consult the documentation or man-page of it to learn more.
31923 \end_layout
31924
31925 \end_inset
31926
31927
31928 \family default
31929  are available.
31930  On Windows only 
31931 \family typewriter
31932 hunspell
31933 \family default
31934  is available.
31935 \end_layout
31936
31937 \begin_layout Description
31938 Alternative
31939 \begin_inset space ~
31940 \end_inset
31941
31942 language If this field is not empty, LyX will always use the given language
31943  for the spell checking, no matter what the document language is.
31944 \end_layout
31945
31946 \begin_layout Description
31947 Escape
31948 \begin_inset space ~
31949 \end_inset
31950
31951 characters Allows you to add non-standard characters that the spell checker
31952  should escape, e.
31953 \begin_inset space \thinspace{}
31954 \end_inset
31955
31956 g.
31957 \begin_inset space \space{}
31958 \end_inset
31959
31960 German umlauts.
31961  This should normally not be needed.
31962 \end_layout
31963
31964 \begin_layout Description
31965 Accept
31966 \begin_inset space ~
31967 \end_inset
31968
31969 compound
31970 \begin_inset space ~
31971 \end_inset
31972
31973 words Prevent the spell checker from complaining about compounded words
31974  like 
31975 \begin_inset Quotes eld
31976 \end_inset
31977
31978 passthrough
31979 \begin_inset Quotes erd
31980 \end_inset
31981
31982 .
31983 \end_layout
31984
31985 \begin_layout Description
31986 Spellcheck
31987 \begin_inset space ~
31988 \end_inset
31989
31990 continuously Check the spelling of your document as you type it.
31991  Misspelled words get underlined with a dotted red line.
31992  By right-clicking on an underlined word, suggestions from the spellchecker
31993  appear in the context menu.
31994  Choosing one of them will replace the misspelled word with the suggested
31995  word.
31996 \end_layout
31997
31998 \begin_layout Description
31999 Spellcheck
32000 \begin_inset space ~
32001 \end_inset
32002
32003 notes
32004 \begin_inset space ~
32005 \end_inset
32006
32007 and
32008 \begin_inset space ~
32009 \end_inset
32010
32011 comments If enabled, the spelling of non-printed document contents is checked
32012  as well.
32013 \end_layout
32014
32015 \begin_layout Section
32016 Thesaurus
32017 \begin_inset Index idx
32018 status collapsed
32019
32020 \begin_layout Plain Layout
32021 Thesaurus
32022 \end_layout
32023
32024 \end_inset
32025
32026
32027 \begin_inset CommandInset label
32028 LatexCommand label
32029 name "sec:Thesaurus"
32030
32031 \end_inset
32032
32033
32034 \end_layout
32035
32036 \begin_layout Standard
32037 LyX provides a multilingual thesaurus.
32038  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
32039  (namely the 
32040 \family typewriter
32041 MyThes
32042 \family default
32043
32044 \begin_inset Foot
32045 status collapsed
32046
32047 \begin_layout Plain Layout
32048 \begin_inset CommandInset href
32049 LatexCommand href
32050 target "http://lingucomponent.openoffice.org/thesaurus.html"
32051
32052 \end_inset
32053
32054
32055 \end_layout
32056
32057 \end_inset
32058
32059  thesaurus library, which is included in LyX).
32060  Therefore, LyX can directly access OpenOffice thesaurus dictionaries, which
32061  are available for many languages.
32062 \end_layout
32063
32064 \begin_layout Standard
32065 This section describes how new dictionaries are installed and set up for
32066  the use with LyX.
32067 \end_layout
32068
32069 \begin_layout Subsection
32070 Setting up the thesaurus
32071 \end_layout
32072
32073 \begin_layout Standard
32074 The 
32075 \family typewriter
32076 MyThes
32077 \family default
32078 \emph on
32079 /
32080 \emph default
32081 OpenOffice thesauri consist of two files per language: A file with the suffix
32082  
32083 \emph on
32084 *.dat
32085 \emph default
32086  containing the data and an index file with the suffix 
32087 \emph on
32088 *.idx
32089 \emph default
32090 .
32091  The standardized file names include the language code for the given language
32092  (e.
32093 \begin_inset space \thinspace{}
32094 \end_inset
32095
32096 g.
32097  en_EN for English).
32098  For instance, the English files are named:
32099 \end_layout
32100
32101 \begin_layout Itemize
32102 th_en_EN_v2.idx
32103 \end_layout
32104
32105 \begin_layout Itemize
32106 th_en_EN_v2.dat
32107 \end_layout
32108
32109 \begin_layout Standard
32110 If you have LibreOffice or OpenOffice and its thesaurus installed, these
32111  files should be already on your system.
32112  If not, you can get dictionaries either from 
32113 \begin_inset Flex URL
32114 status collapsed
32115
32116 \begin_layout Plain Layout
32117
32118 http://www.lyx.org/trac/browser/dictionaries/trunk/thes
32119 \end_layout
32120
32121 \end_inset
32122
32123  or from the site 
32124 \begin_inset Flex URL
32125 status collapsed
32126
32127 \begin_layout Plain Layout
32128
32129 http://extensions.services.openoffice.org/en/search/node/thesaurus
32130 \end_layout
32131
32132 \end_inset
32133
32134 .
32135 \begin_inset Foot
32136 status collapsed
32137
32138 \begin_layout Plain Layout
32139 Note that, as of OpenOffice
32140 \begin_inset space ~
32141 \end_inset
32142
32143 3.0, the files on 
32144 \begin_inset Flex URL
32145 status collapsed
32146
32147 \begin_layout Plain Layout
32148
32149 http://extensions.services.openoffice.org
32150 \end_layout
32151
32152 \end_inset
32153
32154  are usually packed in extension archives (
32155 \emph on
32156 *.oxt
32157 \emph default
32158 ) that contain other files such as spellchecker dictionaries besides the
32159  thesauri.
32160  These archives are simple zip files, so you can unpack them as you would
32161  unpack a zip archive.
32162 \end_layout
32163
32164 \end_inset
32165
32166  Put the 
32167 \emph on
32168 *.idx
32169 \emph default
32170  and 
32171 \emph on
32172 *.dat
32173 \emph default
32174  files of all languages you want to use into one directory (do not use subfolder
32175 s), and specify the path to this directory in 
32176 \family sans
32177 Tools\SpecialChar \menuseparator
32178 Preferences\SpecialChar \menuseparator
32179 Paths
32180 \family default
32181 .
32182  Now the thesaurus should be ready to use.
32183 \end_layout
32184
32185 \begin_layout Subsection
32186 Using the thesaurus
32187 \end_layout
32188
32189 \begin_layout Standard
32190 To start the thesaurus, use the menu 
32191 \family sans
32192 Tools\SpecialChar \menuseparator
32193 Thesaurus
32194 \family default
32195  or the toolbar button 
32196 \begin_inset Info
32197 type  "icon"
32198 arg   "thesaurus-entry"
32199 \end_inset
32200
32201  while the cursor is at the word you want to look up or while a word is
32202  selected.
32203  A dialog pops up showing you probably related words that you can use as
32204  a replacement.
32205  The proposals are grouped into categories.
32206  Note that, for some languages (such as English), the thesaurus does not
32207  only show equivalent words (synonyms), but also generic terms (such as
32208  
32209 \emph on
32210 organism
32211 \emph default
32212  for 
32213 \emph on
32214 plant
32215 \emph default
32216 ), related terms (such as 
32217 \emph on
32218 political
32219 \begin_inset space ~
32220 \end_inset
32221
32222 theory
32223 \emph default
32224  for 
32225 \emph on
32226 anarchistic
32227 \emph default
32228 ), compounds (such as 
32229 \emph on
32230 tree
32231 \begin_inset space ~
32232 \end_inset
32233
32234 diagram
32235 \emph default
32236 , if you look for 
32237 \emph on
32238 tree
32239 \emph default
32240 ) and opposites (antonyms) (such as 
32241 \emph on
32242 girl
32243 \emph default
32244  for 
32245 \emph on
32246 boy
32247 \emph default
32248 ).
32249  Generic terms, related terms and antonyms are marked as such.
32250 \end_layout
32251
32252 \begin_layout Standard
32253 The language is automatically chosen from the language at the cursor, but
32254  you can also switch it in the dialog, as you can enter new words to look
32255  up directly there.
32256 \end_layout
32257
32258 \begin_layout Standard
32259 Note that the thesaurus cannot handle phrases (only compounds that are in
32260  the dictionary, such as the above 
32261 \emph on
32262 tree diagram
32263 \emph default
32264 ), and you have to use the so called lemma form, i.
32265 \begin_inset space \thinspace{}
32266 \end_inset
32267
32268 e.
32269 \begin_inset space \space{}
32270 \end_inset
32271
32272 the form that is used in the dictionaries (for many languages: first person
32273  singular indicative active for nouns, infinitive for verbs).
32274  For example looking up the word form
32275 \change_deleted 2090807402 1338765333
32276
32277 \emph on
32278 reports
32279 \emph default
32280  or
32281 \change_unchanged
32282  
32283 \emph on
32284 reporting
32285 \emph default
32286  yields no results, while results are shown for the word form 
32287 \emph on
32288 report
32289 \emph default
32290 .
32291  
32292 \change_inserted 2090807402 1338765282
32293 The thesuarus is able to resolve inflected forms (so if you enter 
32294 \emph on
32295 reports
32296 \emph default
32297 , it will resolve it to the form 
32298 \emph on
32299 report
32300 \emph default
32301  which is in the dictionary).
32302  However, this may not always work.
32303  So if you do not get any results for inflected forms, try the lemma form.
32304
32305 \change_unchanged
32306  Your best bet is to highlight only the relevant parts of such word (e.
32307 \begin_inset space \thinspace{}
32308 \end_inset
32309
32310 g.
32311 \begin_inset space \space{}
32312 \end_inset
32313
32314
32315 \emph on
32316 report
32317 \emph default
32318  in 
32319 \emph on
32320 report
32321 \emph default
32322 s), then you get proposals without adjusting the query in the dialog, and
32323  also the replacement will probably be correct (as only the highlighted
32324  part will be replaced, thus the ending remains).
32325 \end_layout
32326
32327 \begin_layout Section
32328 Change Tracking
32329 \begin_inset Index idx
32330 status collapsed
32331
32332 \begin_layout Plain Layout
32333 Change Tracking
32334 \end_layout
32335
32336 \end_inset
32337
32338
32339 \begin_inset Index idx
32340 status collapsed
32341
32342 \begin_layout Plain Layout
32343 Document ! Change Tracking
32344 \end_layout
32345
32346 \end_inset
32347
32348
32349 \begin_inset CommandInset label
32350 LatexCommand label
32351 name "sec:Change-Tracking"
32352
32353 \end_inset
32354
32355
32356 \end_layout
32357
32358 \begin_layout Standard
32359 When you work on a document collaboratively it is extremely useful to be
32360  able to see changes that others have made highlighted in the document.
32361  You can then decide if you want to accept a change or not.
32362  This can be achieved by turning on change tracking in the menu 
32363 \family sans
32364 Document\SpecialChar \menuseparator
32365 Change
32366 \begin_inset space ~
32367 \end_inset
32368
32369 Tracking\SpecialChar \menuseparator
32370 Track
32371 \begin_inset space ~
32372 \end_inset
32373
32374 Changes
32375 \family default
32376 .
32377 \end_layout
32378
32379 \begin_layout Standard
32380 Changes made in the document will then be highlighted by strokes and colors:
32381  
32382 \bar under
32383 \color blue
32384 underlined text
32385 \bar default
32386 \color inherit
32387  is an addition, 
32388 \strikeout on
32389 \color blue
32390 canceled text
32391 \strikeout default
32392 \color inherit
32393  is a deletion.
32394  The color depends on the author that made the change.
32395  You can change the color in LyX's preferences dialog under 
32396 \family sans
32397 Look
32398 \begin_inset space ~
32399 \end_inset
32400
32401 and
32402 \begin_inset space ~
32403 \end_inset
32404
32405 feel
32406 \family default
32407
32408 \family sans
32409 Colors
32410 \family default
32411 .
32412 \begin_inset Index idx
32413 status collapsed
32414
32415 \begin_layout Plain Layout
32416 Color ! Change tracking
32417 \end_layout
32418
32419 \end_inset
32420
32421  The author and the date of the change are shown in LyX's status bar when
32422  the cursor is in changed text.
32423  The same information is shown when you use the toolbar button 
32424 \begin_inset Info
32425 type  "icon"
32426 arg   "changes-merge"
32427 \end_inset
32428
32429 .
32430 \end_layout
32431
32432 \begin_layout Standard
32433 When change tracking is activated, you will see the review toolbar in LyX:
32434 \begin_inset Index idx
32435 status collapsed
32436
32437 \begin_layout Plain Layout
32438 Toolbar ! Review
32439 \end_layout
32440
32441 \end_inset
32442
32443
32444 \end_layout
32445
32446 \begin_layout Standard
32447 \begin_inset VSpace defskip
32448 \end_inset
32449
32450
32451 \end_layout
32452
32453 \begin_layout Standard
32454 \begin_inset Graphics
32455         filename clipart/ChangesToolbar.png
32456         scale 90
32457
32458 \end_inset
32459
32460
32461 \end_layout
32462
32463 \begin_layout Standard
32464 \begin_inset VSpace defskip
32465 \end_inset
32466
32467
32468 \end_layout
32469
32470 \begin_layout Standard
32471 The review toolbar as shown above contains from left to right the following
32472  buttons:
32473 \end_layout
32474
32475 \begin_layout Standard
32476 \begin_inset VSpace defskip
32477 \end_inset
32478
32479
32480 \end_layout
32481
32482 \begin_layout Standard
32483 \begin_inset Tabular
32484 <lyxtabular version="3" rows="10" columns="2">
32485 <features rotate="0" islongtable="true" longtabularalignment="center">
32486 <column alignment="left" valignment="top" width="0">
32487 <column alignment="left" valignment="top" width="0">
32488 <row interlinespace="2.5mm">
32489 <cell alignment="center" valignment="top" usebox="none">
32490 \begin_inset Text
32491
32492 \begin_layout Plain Layout
32493
32494 \family sans
32495 \begin_inset Info
32496 type  "icon"
32497 arg   "changes-track"
32498 \end_inset
32499
32500
32501 \end_layout
32502
32503 \end_inset
32504 </cell>
32505 <cell alignment="center" valignment="top" usebox="none">
32506 \begin_inset Text
32507
32508 \begin_layout Plain Layout
32509
32510 \family sans
32511 Document\SpecialChar \menuseparator
32512 Change
32513 \begin_inset space ~
32514 \end_inset
32515
32516 Tracking\SpecialChar \menuseparator
32517 Track
32518 \begin_inset space ~
32519 \end_inset
32520
32521 Changes
32522 \end_layout
32523
32524 \end_inset
32525 </cell>
32526 </row>
32527 <row interlinespace="2.5mm">
32528 <cell alignment="center" valignment="top" usebox="none">
32529 \begin_inset Text
32530
32531 \begin_layout Plain Layout
32532
32533 \family sans
32534 \begin_inset Info
32535 type  "icon"
32536 arg   "changes-output"
32537 \end_inset
32538
32539
32540 \end_layout
32541
32542 \end_inset
32543 </cell>
32544 <cell alignment="center" valignment="top" usebox="none">
32545 \begin_inset Text
32546
32547 \begin_layout Plain Layout
32548
32549 \family sans
32550 Document\SpecialChar \menuseparator
32551 Change
32552 \begin_inset space ~
32553 \end_inset
32554
32555 Tracking\SpecialChar \menuseparator
32556 Show
32557 \begin_inset space ~
32558 \end_inset
32559
32560 Changes
32561 \begin_inset space ~
32562 \end_inset
32563
32564 in
32565 \begin_inset space ~
32566 \end_inset
32567
32568 Output
32569 \end_layout
32570
32571 \end_inset
32572 </cell>
32573 </row>
32574 <row interlinespace="2.5mm">
32575 <cell alignment="center" valignment="top" usebox="none">
32576 \begin_inset Text
32577
32578 \begin_layout Plain Layout
32579
32580 \family sans
32581 \begin_inset Info
32582 type  "icon"
32583 arg   "change-next"
32584 \end_inset
32585
32586
32587 \end_layout
32588
32589 \end_inset
32590 </cell>
32591 <cell alignment="center" valignment="top" usebox="none">
32592 \begin_inset Text
32593
32594 \begin_layout Plain Layout
32595 Jumps to the next change
32596 \end_layout
32597
32598 \end_inset
32599 </cell>
32600 </row>
32601 <row interlinespace="2.5mm">
32602 <cell alignment="center" valignment="top" usebox="none">
32603 \begin_inset Text
32604
32605 \begin_layout Plain Layout
32606
32607 \family sans
32608 \begin_inset Info
32609 type  "icon"
32610 arg   "change-accept"
32611 \end_inset
32612
32613
32614 \end_layout
32615
32616 \end_inset
32617 </cell>
32618 <cell alignment="center" valignment="top" usebox="none">
32619 \begin_inset Text
32620
32621 \begin_layout Plain Layout
32622
32623 \family sans
32624 Document\SpecialChar \menuseparator
32625 Change
32626 \begin_inset space ~
32627 \end_inset
32628
32629 Tracking\SpecialChar \menuseparator
32630 Accept
32631 \begin_inset space ~
32632 \end_inset
32633
32634 Change
32635 \end_layout
32636
32637 \end_inset
32638 </cell>
32639 </row>
32640 <row interlinespace="2.5mm">
32641 <cell alignment="center" valignment="top" usebox="none">
32642 \begin_inset Text
32643
32644 \begin_layout Plain Layout
32645
32646 \family sans
32647 \begin_inset Info
32648 type  "icon"
32649 arg   "change-reject"
32650 \end_inset
32651
32652
32653 \end_layout
32654
32655 \end_inset
32656 </cell>
32657 <cell alignment="center" valignment="top" usebox="none">
32658 \begin_inset Text
32659
32660 \begin_layout Plain Layout
32661
32662 \family sans
32663 Document\SpecialChar \menuseparator
32664 Change
32665 \begin_inset space ~
32666 \end_inset
32667
32668 Tracking\SpecialChar \menuseparator
32669 Reject
32670 \begin_inset space ~
32671 \end_inset
32672
32673 Change
32674 \end_layout
32675
32676 \end_inset
32677 </cell>
32678 </row>
32679 <row interlinespace="2.5mm">
32680 <cell alignment="center" valignment="top" usebox="none">
32681 \begin_inset Text
32682
32683 \begin_layout Plain Layout
32684
32685 \family sans
32686 \begin_inset Info
32687 type  "icon"
32688 arg   "changes-merge"
32689 \end_inset
32690
32691
32692 \end_layout
32693
32694 \end_inset
32695 </cell>
32696 <cell alignment="center" valignment="top" usebox="none">
32697 \begin_inset Text
32698
32699 \begin_layout Plain Layout
32700
32701 \family sans
32702 Document\SpecialChar \menuseparator
32703 Change
32704 \begin_inset space ~
32705 \end_inset
32706
32707 Tracking\SpecialChar \menuseparator
32708 Merge
32709 \begin_inset space ~
32710 \end_inset
32711
32712 Changes
32713 \end_layout
32714
32715 \end_inset
32716 </cell>
32717 </row>
32718 <row interlinespace="2.5mm">
32719 <cell alignment="center" valignment="top" usebox="none">
32720 \begin_inset Text
32721
32722 \begin_layout Plain Layout
32723
32724 \family sans
32725 \begin_inset Info
32726 type  "icon"
32727 arg   "all-changes-accept"
32728 \end_inset
32729
32730
32731 \end_layout
32732
32733 \end_inset
32734 </cell>
32735 <cell alignment="center" valignment="top" usebox="none">
32736 \begin_inset Text
32737
32738 \begin_layout Plain Layout
32739
32740 \family sans
32741 Document\SpecialChar \menuseparator
32742 Change
32743 \begin_inset space ~
32744 \end_inset
32745
32746 Tracking\SpecialChar \menuseparator
32747 Accept
32748 \begin_inset space ~
32749 \end_inset
32750
32751 All
32752 \begin_inset space ~
32753 \end_inset
32754
32755 Changes
32756 \end_layout
32757
32758 \end_inset
32759 </cell>
32760 </row>
32761 <row interlinespace="2.5mm">
32762 <cell alignment="center" valignment="top" usebox="none">
32763 \begin_inset Text
32764
32765 \begin_layout Plain Layout
32766
32767 \family sans
32768 \begin_inset Info
32769 type  "icon"
32770 arg   "all-changes-reject"
32771 \end_inset
32772
32773
32774 \end_layout
32775
32776 \end_inset
32777 </cell>
32778 <cell alignment="center" valignment="top" usebox="none">
32779 \begin_inset Text
32780
32781 \begin_layout Plain Layout
32782
32783 \family sans
32784 Document\SpecialChar \menuseparator
32785 Change
32786 \begin_inset space ~
32787 \end_inset
32788
32789 Tracking\SpecialChar \menuseparator
32790 Reject
32791 \begin_inset space ~
32792 \end_inset
32793
32794 All
32795 \begin_inset space ~
32796 \end_inset
32797
32798 Changes
32799 \end_layout
32800
32801 \end_inset
32802 </cell>
32803 </row>
32804 <row interlinespace="2.5mm">
32805 <cell alignment="center" valignment="top" usebox="none">
32806 \begin_inset Text
32807
32808 \begin_layout Plain Layout
32809
32810 \family sans
32811 \begin_inset Info
32812 type  "icon"
32813 arg   "note-insert"
32814 \end_inset
32815
32816
32817 \end_layout
32818
32819 \end_inset
32820 </cell>
32821 <cell alignment="center" valignment="top" usebox="none">
32822 \begin_inset Text
32823
32824 \begin_layout Plain Layout
32825
32826 \family sans
32827 Insert\SpecialChar \menuseparator
32828 Note\SpecialChar \menuseparator
32829 LyX
32830 \begin_inset space ~
32831 \end_inset
32832
32833 Note
32834 \end_layout
32835
32836 \end_inset
32837 </cell>
32838 </row>
32839 <row interlinespace="2.5mm">
32840 <cell alignment="center" valignment="top" usebox="none">
32841 \begin_inset Text
32842
32843 \begin_layout Plain Layout
32844
32845 \family sans
32846 \begin_inset Info
32847 type  "icon"
32848 arg   "note-next"
32849 \end_inset
32850
32851
32852 \end_layout
32853
32854 \end_inset
32855 </cell>
32856 <cell alignment="center" valignment="top" usebox="none">
32857 \begin_inset Text
32858
32859 \begin_layout Plain Layout
32860
32861 \family sans
32862 Navigate\SpecialChar \menuseparator
32863 Next
32864 \begin_inset space ~
32865 \end_inset
32866
32867 Note
32868 \end_layout
32869
32870 \end_inset
32871 </cell>
32872 </row>
32873 </lyxtabular>
32874
32875 \end_inset
32876
32877
32878 \end_layout
32879
32880 \begin_layout Standard
32881 \begin_inset VSpace defskip
32882 \end_inset
32883
32884
32885 \end_layout
32886
32887 \begin_layout Standard
32888 The review toolbar helps you to accept, reject, or merge changes – highlight
32889  the change and press one of the desired toolbar buttons.
32890  When you merge changes, a window pops up showing you information about
32891  the next change after the current cursor position.
32892  So you don't need to highlight a certain change.
32893  Within the merge window you can decide to accept or reject changes and
32894  step to the next change.
32895  This way you can jump through all the changes in the document.
32896 \end_layout
32897
32898 \begin_layout Standard
32899 The toolbar has two buttons to handle notes because notes are often important
32900  to describe a change.
32901 \end_layout
32902
32903 \begin_layout Standard
32904 To show the made changes in the output you need the LaTeX package 
32905 \series bold
32906 dvipost
32907 \series default
32908
32909 \begin_inset Index idx
32910 status collapsed
32911
32912 \begin_layout Plain Layout
32913 LaTeX-packages ! dvipost
32914 \end_layout
32915
32916 \end_inset
32917
32918  installed.
32919  You will find it in the TeX Catalogue, 
32920 \begin_inset CommandInset citation
32921 LatexCommand cite
32922 key "TeXCatalogue"
32923
32924 \end_inset
32925
32926  or in the package manager of your LaTeX-system.
32927 \end_layout
32928
32929 \begin_layout Section
32930 Comparison of Documents
32931 \begin_inset Index idx
32932 status collapsed
32933
32934 \begin_layout Plain Layout
32935 Comparison of documents
32936 \end_layout
32937
32938 \end_inset
32939
32940
32941 \end_layout
32942
32943 \begin_layout Standard
32944 You can compare two different LyX files via the menu 
32945 \family sans
32946 Tools\SpecialChar \menuseparator
32947 Compare
32948 \family default
32949 .
32950  The comparison result is a LyX file with change tracking enabled showing
32951  the differences.
32952  In the comparison dialog you can select from which document LyX should
32953  take the document settings for the resulting difference file with the option
32954  
32955 \family sans
32956 Copy
32957 \begin_inset space ~
32958 \end_inset
32959
32960 Document
32961 \begin_inset space ~
32962 \end_inset
32963
32964 Settings
32965 \begin_inset space ~
32966 \end_inset
32967
32968 from
32969 \family default
32970 .
32971  The option 
32972 \family sans
32973 Enable
32974 \begin_inset space ~
32975 \end_inset
32976
32977 change
32978 \begin_inset space ~
32979 \end_inset
32980
32981 tracking
32982 \begin_inset space ~
32983 \end_inset
32984
32985 features
32986 \begin_inset space ~
32987 \end_inset
32988
32989 in
32990 \begin_inset space ~
32991 \end_inset
32992
32993 the
32994 \begin_inset space ~
32995 \end_inset
32996
32997 output
32998 \family default
32999  enables the change tracking option 
33000 \family sans
33001 Show
33002 \begin_inset space ~
33003 \end_inset
33004
33005 Changes
33006 \begin_inset space ~
33007 \end_inset
33008
33009 in
33010 \begin_inset space ~
33011 \end_inset
33012
33013 Output
33014 \family default
33015  to visualize the differences also in the PDF output of the difference file.
33016 \end_layout
33017
33018 \begin_layout Section
33019 International Support
33020 \begin_inset Index idx
33021 status collapsed
33022
33023 \begin_layout Plain Layout
33024 International support
33025 \end_layout
33026
33027 \end_inset
33028
33029
33030 \end_layout
33031
33032 \begin_layout Standard
33033 This section describes how to use LyX with any language you want.
33034  For some languages there are special Wiki-pages that explain how to set
33035  up LyX to use them: 
33036 \begin_inset CommandInset citation
33037 LatexCommand cite
33038 key "Arabic,Armenian,Farsi,Hebrew,Latvian,Lithuanian,Mongolian,Vietnamese"
33039
33040 \end_inset
33041
33042
33043 \end_layout
33044
33045 \begin_layout Standard
33046 Besides languages, LyX also supports phonetic symbols, see section
33047 \begin_inset space ~
33048 \end_inset
33049
33050
33051 \begin_inset CommandInset ref
33052 LatexCommand ref
33053 reference "sub:Special-Character"
33054
33055 \end_inset
33056
33057 .
33058 \end_layout
33059
33060 \begin_layout Subsection
33061 Language Options
33062 \begin_inset Index idx
33063 status collapsed
33064
33065 \begin_layout Plain Layout
33066 Language ! Options
33067 \end_layout
33068
33069 \end_inset
33070
33071
33072 \begin_inset Index idx
33073 status collapsed
33074
33075 \begin_layout Plain Layout
33076 Document ! Settings
33077 \end_layout
33078
33079 \end_inset
33080
33081
33082 \begin_inset Index idx
33083 status collapsed
33084
33085 \begin_layout Plain Layout
33086 Document ! Language
33087 \end_layout
33088
33089 \end_inset
33090
33091
33092 \end_layout
33093
33094 \begin_layout Standard
33095 The 
33096 \family sans
33097 Document\SpecialChar \menuseparator
33098 Settings\SpecialChar \menuseparator
33099 Language
33100 \family default
33101  dialog lets you set 
33102 \family roman
33103 the language, the quote style and character encoding
33104 \family default
33105 .
33106 \end_layout
33107
33108 \begin_layout Standard
33109 Under 
33110 \family sans
33111 Encoding
33112 \family default
33113  you can choose the character encoding map you want to use for LaTeX export.
33114  The option 
33115 \family sans
33116 Language
33117 \begin_inset space ~
33118 \end_inset
33119
33120 Default
33121 \family default
33122  is the preferred choice and works well in most cases.
33123  For details about the different encoding options see section
33124 \begin_inset space ~
33125 \end_inset
33126
33127
33128 \begin_inset CommandInset ref
33129 LatexCommand ref
33130 reference "sec:Language-encodings"
33131
33132 \end_inset
33133
33134 .
33135 \end_layout
33136
33137 \begin_layout Subsection
33138 Keyboard mapping configuration
33139 \begin_inset CommandInset label
33140 LatexCommand label
33141 name "sub:Keyboard-mapping"
33142
33143 \end_inset
33144
33145
33146 \end_layout
33147
33148 \begin_layout Standard
33149 If you have for example a U.
33150 \begin_inset space \thinspace{}
33151 \end_inset
33152
33153 S.-style keyboard and want to write in a language other than English, you
33154  can use an alternate keymap.
33155  For example, if you want to write in Italian, you can configure LyX to
33156  use an Italian keymap.
33157  The 
33158 \family sans
33159 Tools\SpecialChar \menuseparator
33160 Preferences\SpecialChar \menuseparator
33161 Editing\SpecialChar \menuseparator
33162 Keyboard/Mouse
33163 \family default
33164  dialog allows you to choose up to two keyboard mappings, see section
33165 \begin_inset space ~
33166 \end_inset
33167
33168
33169 \begin_inset CommandInset ref
33170 LatexCommand ref
33171 reference "sub:Keyboard-Map"
33172
33173 \end_inset
33174
33175 .
33176  You can choose primary and secondary keyboard languages and then select
33177  which one you want to use.
33178 \end_layout
33179
33180 \begin_layout Standard
33181 Finally, you may just want to change a few key mappings or create an entirely
33182  different keymap (for Vulcan, for instance).
33183  You may, for example, normally write in Italian on a U.
33184 \begin_inset space \thinspace{}
33185 \end_inset
33186
33187 S.-style keyboard but want to include an occasional quotation in German.
33188  In such a case, you can write your own keyboard mapping or modify an existing
33189  one to support the characters you want.
33190  This and many other customizations are explained in the 
33191 \emph on
33192 Customization
33193 \emph default
33194  manual.
33195 \end_layout
33196
33197 \begin_layout Chapter
33198 \start_of_appendix
33199 The User Interface
33200 \begin_inset CommandInset label
33201 LatexCommand label
33202 name "chap:The-User-Interface"
33203
33204 \end_inset
33205
33206
33207 \end_layout
33208
33209 \begin_layout Standard
33210 This appendix lists all the available menus and describes their functionality.
33211  It is designed as a quick reference if you are searching for a special
33212  topic inside the user's guide.
33213 \end_layout
33214
33215 \begin_layout Section
33216 The File Menu
33217 \begin_inset Index idx
33218 status collapsed
33219
33220 \begin_layout Plain Layout
33221 Menu ! File
33222 \end_layout
33223
33224 \end_inset
33225
33226
33227 \end_layout
33228
33229 \begin_layout Standard
33230 Under the 
33231 \family sans
33232 File
33233 \family default
33234  menu are the basic operations in addition to some more advanced operations.
33235 \end_layout
33236
33237 \begin_layout Subsection
33238 New
33239 \end_layout
33240
33241 \begin_layout Standard
33242 Creates a new document.
33243 \end_layout
33244
33245 \begin_layout Subsection
33246 New from Template
33247 \end_layout
33248
33249 \begin_layout Standard
33250 This menu entry prompts you for a template to use.
33251  Selecting a template will automatically set certain layout features for
33252  the document, features you would otherwise need to change manually.
33253 \end_layout
33254
33255 \begin_layout Subsection
33256 Open
33257 \end_layout
33258
33259 \begin_layout Standard
33260 Opens a document.
33261 \end_layout
33262
33263 \begin_layout Subsection
33264 Open Recent
33265 \end_layout
33266
33267 \begin_layout Standard
33268 The submenu shows a list of the recently opened files.
33269  Click there on a file to open it.
33270 \end_layout
33271
33272 \begin_layout Subsection
33273 Close
33274 \end_layout
33275
33276 \begin_layout Standard
33277 Closes the current document.
33278 \end_layout
33279
33280 \begin_layout Subsection
33281 Close All
33282 \end_layout
33283
33284 \begin_layout Standard
33285 Closes all opened documents.
33286 \end_layout
33287
33288 \begin_layout Subsection
33289 Save
33290 \end_layout
33291
33292 \begin_layout Standard
33293 Saves the actual document.
33294 \end_layout
33295
33296 \begin_layout Subsection
33297 Save As
33298 \end_layout
33299
33300 \begin_layout Standard
33301 Saves the actual document under a new name to create a copy.
33302 \end_layout
33303
33304 \begin_layout Subsection
33305 Save All
33306 \end_layout
33307
33308 \begin_layout Standard
33309 Saves all opened documents.
33310 \end_layout
33311
33312 \begin_layout Subsection
33313 Revert to saved
33314 \end_layout
33315
33316 \begin_layout Standard
33317 Reloads the actual document from disk.
33318 \end_layout
33319
33320 \begin_layout Subsection
33321 Version Control
33322 \end_layout
33323
33324 \begin_layout Standard
33325 This is used when multiple people are working on the same document or when
33326  one person wants to keep a careful archive of changes.
33327  It is described in the section 
33328 \emph on
33329 Version Control in LyX
33330 \emph default
33331  of the 
33332 \emph on
33333 Additional Features
33334 \emph default
33335  manual.
33336 \end_layout
33337
33338 \begin_layout Subsection
33339 Import
33340 \end_layout
33341
33342 \begin_layout Standard
33343 Here you can import files from older LyX-versions, HTML-files, LaTeX-files,
33344  NoWeb-files, plain text files and comma separated, table-like text files
33345  (CSV).
33346  The files will be imported as a new LyX-document.
33347 \end_layout
33348
33349 \begin_layout Standard
33350 When using the menu entry 
33351 \family sans
33352 Plain
33353 \begin_inset space ~
33354 \end_inset
33355
33356 Text
33357 \family default
33358 , line breaks in the text will start a new paragraph; when using the menu
33359  entry 
33360 \family sans
33361 Plain
33362 \begin_inset space ~
33363 \end_inset
33364
33365 Text, Join
33366 \begin_inset space ~
33367 \end_inset
33368
33369 Lines
33370 \family default
33371 , consecutive lines of text will be imported to one big paragraph.
33372  A new paragraph will begin when there is a blank line in the file.
33373 \end_layout
33374
33375 \begin_layout Subsection
33376 Export
33377 \begin_inset CommandInset label
33378 LatexCommand label
33379 name "sub:Export"
33380
33381 \end_inset
33382
33383
33384 \end_layout
33385
33386 \begin_layout Standard
33387 You can export your document to various file formats.
33388  The resulting files are placed in the directory of your LyX-file.
33389  The menu entries are not the same on all installations.
33390  They depend on the programs found by LyX during its configuration.
33391 \end_layout
33392
33393 \begin_layout Standard
33394 Here is a list of all available entries; some of them are explained in detail
33395  in section
33396 \begin_inset space ~
33397 \end_inset
33398
33399
33400 \begin_inset CommandInset ref
33401 LatexCommand ref
33402 reference "sub:Output-file-formats"
33403
33404 \end_inset
33405
33406 :
33407 \end_layout
33408
33409 \begin_layout Description
33410
33411 \family sans
33412 CJK
33413 \family default
33414
33415 \begin_inset space ~
33416 \end_inset
33417
33418 L
33419 \begin_inset ERT
33420 status collapsed
33421
33422 \begin_layout Plain Layout
33423
33424 {}
33425 \end_layout
33426
33427 \end_inset
33428
33429 yX format of the special LyX
33430 \begin_inset space ~
33431 \end_inset
33432
33433 1.4.x versions for Chinese, Japanese and Korean (CJK)
33434 \begin_inset Newline newline
33435 \end_inset
33436
33437  Since LyX 1.5.0 CJK support is fully integrated into LyX.
33438 \end_layout
33439
33440 \begin_layout Description
33441 DocBook text file with code in the language SGML that is used for the markup
33442  language 
33443 \family typewriter
33444 DocBook
33445 \end_layout
33446
33447 \begin_layout Description
33448 DocBook
33449 \begin_inset space ~
33450 \end_inset
33451
33452 (XML) text file with code in the language XML that is used for the markup
33453  language 
33454 \family typewriter
33455 DocBook
33456 \end_layout
33457
33458 \begin_layout Description
33459 DraftDVI LaTeX's native DVI-format.
33460  This format is not suitable if you have special characters or spaces in
33461  files paths or file names in your document.
33462  LyX use this format internally as a pre-stage to export to 
33463 \family sans
33464 DVI
33465 \family default
33466 .
33467 \end_layout
33468
33469 \begin_layout Description
33470 DVI DVI-format that also allows the useage of special characters or spaces
33471  in files paths or file names
33472 \end_layout
33473
33474 \begin_layout Description
33475 DVI
33476 \begin_inset space ~
33477 \end_inset
33478
33479 (LuaT
33480 \begin_inset ERT
33481 status collapsed
33482
33483 \begin_layout Plain Layout
33484
33485 {}
33486 \end_layout
33487
33488 \end_inset
33489
33490 eX) DVI-format using the program 
33491 \family typewriter
33492 LuaTeX
33493 \family default
33494 ; supports Unicode and the usage of non-TeX fonts; 
33495 \series bold
33496
33497 \begin_inset Note Greyedout
33498 status collapsed
33499
33500 \begin_layout Plain Layout
33501
33502 \series bold
33503 Note:
33504 \series default
33505  not all DVI-viewers are currently able to display this output format properly.
33506 \end_layout
33507
33508 \end_inset
33509
33510
33511 \end_layout
33512
33513 \begin_layout Description
33514 Graphviz
33515 \begin_inset space ~
33516 \end_inset
33517
33518 Dot text file with code in the programming language 
33519 \family typewriter
33520 Dot
33521 \family default
33522  which is used to draw visualizations of graphs via the program 
33523 \family typewriter
33524 Graphviz
33525 \end_layout
33526
33527 \begin_layout Description
33528 HTML HTML-format (the HTML-converter is a third-party product and may not
33529  work in all cases)
33530 \end_layout
33531
33532 \begin_layout Description
33533 HTML
33534 \begin_inset space ~
33535 \end_inset
33536
33537 (MS
33538 \begin_inset space ~
33539 \end_inset
33540
33541 Word) HTML-format specialized so that the result can be imported to 
33542 \family sans
33543 MS Word
33544 \family default
33545 ; as a consequence of this formulas will be embedded as bitmap fonts and
33546  not in the format 
33547 \family sans
33548 MathML
33549 \family default
33550 .
33551 \end_layout
33552
33553 \begin_layout Description
33554
33555 \family sans
33556 LaT
33557 \begin_inset ERT
33558 status collapsed
33559
33560 \begin_layout Plain Layout
33561
33562 {}
33563 \end_layout
33564
33565 \end_inset
33566
33567 eX
33568 \begin_inset space ~
33569 \end_inset
33570
33571 (
33572 \family default
33573 LuaT
33574 \family sans
33575
33576 \begin_inset ERT
33577 status collapsed
33578
33579 \begin_layout Plain Layout
33580
33581 {}
33582 \end_layout
33583
33584 \end_inset
33585
33586
33587 \family default
33588 eX
33589 \family sans
33590
33591 \family default
33592 text file with the LaTeX source that is compilable with the program 
33593 \family typewriter
33594 LuaTeX
33595 \end_layout
33596
33597 \begin_layout Description
33598
33599 \family sans
33600 LaT
33601 \begin_inset ERT
33602 status collapsed
33603
33604 \begin_layout Plain Layout
33605
33606 {}
33607 \end_layout
33608
33609 \end_inset
33610
33611 eX
33612 \begin_inset space ~
33613 \end_inset
33614
33615 (pdflatex)
33616 \family default
33617  text file with the LaTeX source, additionally all images used in the document
33618  will be converted to a format that is readable by the 
33619 \family typewriter
33620 pdflatex
33621 \family default
33622  program (GIF, JPG, PDF, PNG)
33623 \end_layout
33624
33625 \begin_layout Description
33626
33627 \family sans
33628 LaT
33629 \begin_inset ERT
33630 status collapsed
33631
33632 \begin_layout Plain Layout
33633
33634 {}
33635 \end_layout
33636
33637 \end_inset
33638
33639 eX
33640 \begin_inset space ~
33641 \end_inset
33642
33643 (plain)
33644 \family default
33645  text file with the LaTeX source code, additionally all images used in the
33646  document will be converted to the EPS-format, only this format is readable
33647  by the 
33648 \family typewriter
33649 latex
33650 \family default
33651  program
33652 \end_layout
33653
33654 \begin_layout Description
33655
33656 \family sans
33657 LaT
33658 \begin_inset ERT
33659 status collapsed
33660
33661 \begin_layout Plain Layout
33662
33663 {}
33664 \end_layout
33665
33666 \end_inset
33667
33668 eX
33669 \begin_inset space ~
33670 \end_inset
33671
33672 (
33673 \family default
33674 XeT
33675 \family sans
33676
33677 \begin_inset ERT
33678 status collapsed
33679
33680 \begin_layout Plain Layout
33681
33682 {}
33683 \end_layout
33684
33685 \end_inset
33686
33687
33688 \family default
33689 eX
33690 \family sans
33691
33692 \family default
33693 text file with the LaTeX source that is compilable with the program 
33694 \family typewriter
33695 XeTeX
33696 \end_layout
33697
33698 \begin_layout Description
33699 LilyPond
33700 \begin_inset space ~
33701 \end_inset
33702
33703 book
33704 \begin_inset space ~
33705 \end_inset
33706
33707 (La
33708 \family sans
33709
33710 \begin_inset ERT
33711 status collapsed
33712
33713 \begin_layout Plain Layout
33714
33715 {}
33716 \end_layout
33717
33718 \end_inset
33719
33720
33721 \family default
33722 TeX) text file with the LaTeX source and also code in the syntax of the
33723  music notation software 
33724 \family typewriter
33725 LilyPond
33726 \end_layout
33727
33728 \begin_layout Description
33729 L
33730 \family sans
33731
33732 \begin_inset ERT
33733 status collapsed
33734
33735 \begin_layout Plain Layout
33736
33737 {}
33738 \end_layout
33739
33740 \end_inset
33741
33742
33743 \family default
33744 yX
33745 \begin_inset space ~
33746 \end_inset
33747
33748 Archive
33749 \begin_inset space ~
33750 \end_inset
33751
33752 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
33753  your system) that contains your document and all files that are necessary
33754  to compile it (images, child documents, BibTeX files, etc.)
33755 \end_layout
33756
33757 \begin_layout Description
33758 L
33759 \family sans
33760
33761 \begin_inset ERT
33762 status collapsed
33763
33764 \begin_layout Plain Layout
33765
33766 {}
33767 \end_layout
33768
33769 \end_inset
33770
33771
33772 \family default
33773 yX
33774 \begin_inset space ~
33775 \end_inset
33776
33777 z.y.x LyX-Document in a format readable by the LyX versions z.y.x (
33778 \begin_inset Quotes eld
33779 \end_inset
33780
33781 z
33782 \begin_inset Quotes erd
33783 \end_inset
33784
33785  and 
33786 \begin_inset Quotes eld
33787 \end_inset
33788
33789 y
33790 \begin_inset Quotes erd
33791 \end_inset
33792
33793  represent the version number)
33794 \end_layout
33795
33796 \begin_layout Description
33797 L
33798 \family sans
33799
33800 \begin_inset ERT
33801 status collapsed
33802
33803 \begin_layout Plain Layout
33804
33805 {}
33806 \end_layout
33807
33808 \end_inset
33809
33810
33811 \family default
33812 yXHTML HTML-format using LyX's internal XHTML engine
33813 \end_layout
33814
33815 \begin_layout Description
33816 NoWeb text file with code in the format of the literate programming language
33817 \family typewriter
33818  NoWeb
33819 \end_layout
33820
33821 \begin_layout Description
33822 OpenDocument OpenDocument-formatted file, to be opened with 
33823 \family sans
33824 LibreOffice, OpenOffice, KOffice, Abiword
33825 \family default
33826 , etc.
33827  (The OpenDocument-converter is a third-party product and may not work in
33828  all cases)
33829 \end_layout
33830
33831 \begin_layout Description
33832
33833 \family sans
33834 PDF
33835 \begin_inset space ~
33836 \end_inset
33837
33838 (dvipdfm)
33839 \family default
33840  PDF-format using the program 
33841 \family typewriter
33842 dvipdfm
33843 \family default
33844 , produces internally a DVI-file which is then converted to a PDF-file
33845 \end_layout
33846
33847 \begin_layout Description
33848
33849 \family sans
33850 PDF
33851 \begin_inset space ~
33852 \end_inset
33853
33854 (LuaT
33855 \begin_inset ERT
33856 status collapsed
33857
33858 \begin_layout Plain Layout
33859
33860 {}
33861 \end_layout
33862
33863 \end_inset
33864
33865 eX)
33866 \family default
33867  PDF-format using the program 
33868 \family typewriter
33869 LuaTeX
33870 \family default
33871 , produces PDF-files directly
33872 \end_layout
33873
33874 \begin_layout Description
33875
33876 \family sans
33877 PDF
33878 \begin_inset space ~
33879 \end_inset
33880
33881 (pdflatex)
33882 \family default
33883  PDF-format using the program 
33884 \family typewriter
33885 pdflatex
33886 \family default
33887 , produces PDF-files directly
33888 \end_layout
33889
33890 \begin_layout Description
33891
33892 \family sans
33893 PDF
33894 \begin_inset space ~
33895 \end_inset
33896
33897 (ps2pdf)
33898 \family default
33899  PDF-format using the program 
33900 \family typewriter
33901 ps2pdf
33902 \family default
33903 , produces internally a PostScript-file which is then converted to a PDF-file
33904 \end_layout
33905
33906 \begin_layout Description
33907
33908 \family sans
33909 PDF
33910 \begin_inset space ~
33911 \end_inset
33912
33913 (XeT
33914 \begin_inset ERT
33915 status collapsed
33916
33917 \begin_layout Plain Layout
33918
33919 {}
33920 \end_layout
33921
33922 \end_inset
33923
33924 eX)
33925 \family default
33926  PDF-format using the program 
33927 \family typewriter
33928 XeTeX
33929 \family default
33930 , produces PDF-files directly
33931 \end_layout
33932
33933 \begin_layout Description
33934
33935 \family sans
33936 Plain
33937 \begin_inset space ~
33938 \end_inset
33939
33940 text
33941 \family default
33942  text format
33943 \end_layout
33944
33945 \begin_layout Description
33946
33947 \family sans
33948 Plain
33949 \begin_inset space ~
33950 \end_inset
33951
33952 text
33953 \begin_inset space ~
33954 \end_inset
33955
33956 (ps2ascii)
33957 \family default
33958  text format, the document will first be converted to Postscript format
33959  and then exported as text using the program 
33960 \family sans
33961 ps2ascii
33962 \end_layout
33963
33964 \begin_layout Description
33965
33966 \family sans
33967 Postscript
33968 \family default
33969  PostScript format using the program 
33970 \family typewriter
33971 dvips
33972 \end_layout
33973
33974 \begin_layout Description
33975 Sweave text file with the LaTeX source and also code in the statistical
33976  programming language 
33977 \family typewriter
33978 R
33979 \family default
33980 .
33981  Using the 
33982 \family typewriter
33983 R
33984 \family default
33985 -function 
33986 \family typewriter
33987 Sweave
33988 \family default
33989  it is possible to use 
33990 \family typewriter
33991 R
33992 \family default
33993 -commands in LaTeX
33994 \end_layout
33995
33996 \begin_layout Standard
33997 If one of the menu entries 
33998 \family sans
33999 DVI
34000 \family default
34001
34002 \family sans
34003 PDF
34004 \begin_inset space ~
34005 \end_inset
34006
34007 (pdflatex)
34008 \family default
34009  or 
34010 \family sans
34011 Postscript
34012 \family default
34013  is missing, you need to update your LaTeX installation.
34014  After updating you have to reconfigure LyX, see section
34015 \begin_inset space ~
34016 \end_inset
34017
34018
34019 \begin_inset CommandInset ref
34020 LatexCommand ref
34021 reference "sec:Basic-LyX-Setup"
34022
34023 \end_inset
34024
34025 .
34026 \begin_inset Index idx
34027 status collapsed
34028
34029 \begin_layout Plain Layout
34030 Reconfiguration of LyX
34031 \end_layout
34032
34033 \end_inset
34034
34035
34036 \end_layout
34037
34038 \begin_layout Subsection
34039 Print
34040 \end_layout
34041
34042 \begin_layout Standard
34043 With this menu entry you can print your document to a file in PostScript
34044  format or send it to a printer.
34045  The printer will also use the document in PostScript format.
34046  The conversion to PostScript is done in the background by LyX using the
34047  program 
34048 \family typewriter
34049 dvips
34050 \family default
34051 .
34052  For more information have a look at section
34053 \begin_inset space ~
34054 \end_inset
34055
34056
34057 \begin_inset CommandInset ref
34058 LatexCommand ref
34059 reference "sub:Printing-the-File"
34060
34061 \end_inset
34062
34063 .
34064 \end_layout
34065
34066 \begin_layout Subsection
34067 Fax
34068 \end_layout
34069
34070 \begin_layout Standard
34071 This menu entry will only appear if you have a fax program installed (on
34072  Windows you additionally need to register its program path to LyX's PATH
34073  prefix, see section
34074 \begin_inset space ~
34075 \end_inset
34076
34077
34078 \begin_inset CommandInset ref
34079 LatexCommand ref
34080 reference "sec:Paths"
34081
34082 \end_inset
34083
34084 ).
34085  With this menu entry you can send your document to a fax program like 
34086 \family typewriter
34087 hylapex
34088 \family default
34089  or 
34090 \family typewriter
34091 kdeprintfax
34092 \family default
34093 .
34094  The default format of the sent file is PostScript.
34095  The format can be changed in LyX's preferences as described in section
34096 \begin_inset space ~
34097 \end_inset
34098
34099
34100 \begin_inset CommandInset ref
34101 LatexCommand ref
34102 reference "sub:Converters"
34103
34104 \end_inset
34105
34106 .
34107 \end_layout
34108
34109 \begin_layout Subsection
34110 New and Close Window
34111 \end_layout
34112
34113 \begin_layout Standard
34114 Opens or closes a new instance of LyX.
34115 \end_layout
34116
34117 \begin_layout Subsection
34118 Exit
34119 \end_layout
34120
34121 \begin_layout Standard
34122 Prompts you to save all unsaved documents and then exits.
34123 \end_layout
34124
34125 \begin_layout Section
34126 The Edit Menu
34127 \begin_inset Index idx
34128 status collapsed
34129
34130 \begin_layout Plain Layout
34131 Menu ! Edit
34132 \end_layout
34133
34134 \end_inset
34135
34136
34137 \end_layout
34138
34139 \begin_layout Subsection
34140 Undo and Redo
34141 \end_layout
34142
34143 \begin_layout Standard
34144 Described in section
34145 \begin_inset space ~
34146 \end_inset
34147
34148
34149 \begin_inset CommandInset ref
34150 LatexCommand ref
34151 reference "sec:Undo-and-Redo"
34152
34153 \end_inset
34154
34155 .
34156 \end_layout
34157
34158 \begin_layout Subsection
34159 Cut, Copy, Paste, Paste Recent, Paste Special
34160 \end_layout
34161
34162 \begin_layout Standard
34163 Described in section
34164 \begin_inset space ~
34165 \end_inset
34166
34167
34168 \begin_inset CommandInset ref
34169 LatexCommand ref
34170 reference "sec:Basic-Editing-Features"
34171
34172 \end_inset
34173
34174 .
34175 \end_layout
34176
34177 \begin_layout Subsection
34178 Select Whole Inset
34179 \end_layout
34180
34181 \begin_layout Standard
34182 Selects the content of the inset where the cursor is currently in.
34183  If the cursor is outside of an inset, the whole document will be selected.
34184 \end_layout
34185
34186 \begin_layout Subsection
34187 Select All
34188 \end_layout
34189
34190 \begin_layout Standard
34191 Selects the whole document.
34192 \end_layout
34193
34194 \begin_layout Subsection
34195 Find & Replace (Quick)
34196 \end_layout
34197
34198 \begin_layout Standard
34199 Described in section
34200 \begin_inset space ~
34201 \end_inset
34202
34203
34204 \begin_inset CommandInset ref
34205 LatexCommand ref
34206 reference "sec:Basic-Editing-Features"
34207
34208 \end_inset
34209
34210 .
34211 \end_layout
34212
34213 \begin_layout Subsection
34214 Find & Replace (Advanced)
34215 \end_layout
34216
34217 \begin_layout Standard
34218 Described in section
34219 \begin_inset space ~
34220 \end_inset
34221
34222
34223 \begin_inset CommandInset ref
34224 LatexCommand ref
34225 reference "sec:Advanced-Find-and"
34226
34227 \end_inset
34228
34229 .
34230 \end_layout
34231
34232 \begin_layout Subsection
34233 Move Paragraph Up/Down
34234 \end_layout
34235
34236 \begin_layout Standard
34237 This shifts the paragraph where the cursor is currently in one paragraph
34238  up or down.
34239 \end_layout
34240
34241 \begin_layout Subsection
34242 Text Style
34243 \end_layout
34244
34245 \begin_layout Standard
34246 Described in section
34247 \begin_inset space ~
34248 \end_inset
34249
34250
34251 \begin_inset CommandInset ref
34252 LatexCommand ref
34253 reference "sub:Fine-Tuning-with-the"
34254
34255 \end_inset
34256
34257 .
34258 \end_layout
34259
34260 \begin_layout Subsection
34261 Paragraph Settings
34262 \begin_inset Index idx
34263 status collapsed
34264
34265 \begin_layout Plain Layout
34266 Paragraph ! Settings
34267 \end_layout
34268
34269 \end_inset
34270
34271
34272 \end_layout
34273
34274 \begin_layout Standard
34275 Enables you to set the paragraph alignment, line spacing and label width.
34276  These settings only affect the paragraph in which the cursor is currently
34277  in.
34278 \end_layout
34279
34280 \begin_layout Standard
34281 You can also prevent the first line of the paragraph being indented if you
34282  have chosen to separate paragraphs with indents in the 
34283 \family sans
34284 Document\SpecialChar \menuseparator
34285 Settings
34286 \family default
34287  dialog under 
34288 \family sans
34289 Text
34290 \begin_inset space ~
34291 \end_inset
34292
34293 Layout
34294 \family default
34295 .
34296 \end_layout
34297
34298 \begin_layout Subsection
34299 Table Settings and Math
34300 \end_layout
34301
34302 \begin_layout Standard
34303 These two menus are only fully active if the cursor is inside a table or
34304  a formula.
34305  Here you can change the properties of tables and formulas.
34306  The properties of tables are described in section
34307 \begin_inset space ~
34308 \end_inset
34309
34310
34311 \begin_inset CommandInset ref
34312 LatexCommand ref
34313 reference "sec:Tables"
34314
34315 \end_inset
34316
34317 , the properties of formulas in chapter
34318 \begin_inset space ~
34319 \end_inset
34320
34321
34322 \begin_inset CommandInset ref
34323 LatexCommand ref
34324 reference "chap:Mathematical-Formulas"
34325
34326 \end_inset
34327
34328 .
34329 \end_layout
34330
34331 \begin_layout Subsection
34332 Increase / Decrease List Depth
34333 \end_layout
34334
34335 \begin_layout Standard
34336 These menu entries are only active if the cursor is in an environment that
34337  can be nested.
34338  They increase/decrease the environment nesting level as explained in section
34339 \begin_inset space ~
34340 \end_inset
34341
34342
34343 \begin_inset CommandInset ref
34344 LatexCommand ref
34345 reference "sec:Nesting"
34346
34347 \end_inset
34348
34349  and 
34350 \begin_inset CommandInset ref
34351 LatexCommand ref
34352 reference "sub:Numbering-depth"
34353
34354 \end_inset
34355
34356 .
34357 \end_layout
34358
34359 \begin_layout Section
34360 The View Menu
34361 \begin_inset Index idx
34362 status collapsed
34363
34364 \begin_layout Plain Layout
34365 Menu ! View
34366 \end_layout
34367
34368 \end_inset
34369
34370
34371 \end_layout
34372
34373 \begin_layout Standard
34374 At the bottom of the 
34375 \family sans
34376 View
34377 \family default
34378  menu the opened documents are listed.
34379 \end_layout
34380
34381 \begin_layout Subsection
34382 Open/Close all Insets
34383 \end_layout
34384
34385 \begin_layout Standard
34386 Opens/closes all insets in your document.
34387 \end_layout
34388
34389 \begin_layout Subsection
34390 Unfold/Fold Math Macros
34391 \end_layout
34392
34393 \begin_layout Standard
34394 Unfolds/folds the current math macro.
34395 \end_layout
34396
34397 \begin_layout Standard
34398 Math macros are described in the 
34399 \emph on
34400 Math
34401 \emph default
34402  manual.
34403 \end_layout
34404
34405 \begin_layout Subsection
34406 View Source
34407 \end_layout
34408
34409 \begin_layout Standard
34410 Opens a window showing the source code of the actual document, as described
34411  in section
34412 \begin_inset space ~
34413 \end_inset
34414
34415
34416 \begin_inset CommandInset ref
34417 LatexCommand ref
34418 reference "sec:Previewing-snippets-of"
34419
34420 \end_inset
34421
34422 .
34423 \end_layout
34424
34425 \begin_layout Subsection
34426 View Messages
34427 \end_layout
34428
34429 \begin_layout Standard
34430 Opens a window showing console messages.
34431  This is useful for debugging LyX (i.
34432 \begin_inset space \thinspace{}
34433 \end_inset
34434
34435 e., hunt for errors in the program) or to see what is going on in the background
34436  while LaTeX is processing the document.
34437 \end_layout
34438
34439 \begin_layout Subsection
34440 View
34441 \end_layout
34442
34443 \begin_layout Standard
34444 This menu entry generates the output in the format you have specified as
34445  default output format either in the preferences (see sec.
34446 \begin_inset space \thinspace{}
34447 \end_inset
34448
34449
34450 \begin_inset CommandInset ref
34451 LatexCommand ref
34452 reference "sec:File-Formats"
34453
34454 \end_inset
34455
34456 ) or in the document settings (see sec.
34457 \begin_inset space \thinspace{}
34458 \end_inset
34459
34460
34461 \begin_inset CommandInset ref
34462 LatexCommand ref
34463 reference "sec:Doc-Output"
34464
34465 \end_inset
34466
34467 ) and opens it in an appropriate viewer.
34468  The viewer can be set or changed in the preferences, see section
34469 \begin_inset space ~
34470 \end_inset
34471
34472
34473 \begin_inset CommandInset ref
34474 LatexCommand ref
34475 reference "sec:File-Formats"
34476
34477 \end_inset
34478
34479 .
34480  The default viewers are set by LyX when it is first configured.
34481  The default output format is 
34482 \family sans
34483 PDF
34484 \begin_inset space ~
34485 \end_inset
34486
34487 (pdflatex)
34488 \family default
34489 .
34490 \end_layout
34491
34492 \begin_layout Subsection
34493 View (Other Formats)
34494 \end_layout
34495
34496 \begin_layout Standard
34497 With this submenu you can view your document in alternative output formats.
34498  The menu contains a list of available formats in which you can view the
34499  actual document with an external program.
34500  The menu entries are not the same on all installations — it depends on
34501  the LaTeX programs that are found while LyX was configured.
34502  All possible formats are listed in section
34503 \begin_inset space ~
34504 \end_inset
34505
34506
34507 \begin_inset CommandInset ref
34508 LatexCommand ref
34509 reference "sub:Export"
34510
34511 \end_inset
34512
34513 .
34514  You should at least see the menu entry 
34515 \family sans
34516 DVI
34517 \family default
34518 .
34519  If it is missing, you need to update or repair your LaTeX installation.
34520  After updating you have to reconfigure LyX, see section
34521 \begin_inset space ~
34522 \end_inset
34523
34524
34525 \begin_inset CommandInset ref
34526 LatexCommand ref
34527 reference "sec:Basic-LyX-Setup"
34528
34529 \end_inset
34530
34531 .
34532 \begin_inset Index idx
34533 status collapsed
34534
34535 \begin_layout Plain Layout
34536 Reconfiguration of LyX
34537 \end_layout
34538
34539 \end_inset
34540
34541
34542 \end_layout
34543
34544 \begin_layout Standard
34545 Invoking a menu will start a viewer program.
34546  The viewer can be set or changed in the preferences, see section
34547 \begin_inset space ~
34548 \end_inset
34549
34550
34551 \begin_inset CommandInset ref
34552 LatexCommand ref
34553 reference "sec:File-Formats"
34554
34555 \end_inset
34556
34557 .
34558  The default viewers are set by LyX when it is first configured.
34559 \end_layout
34560
34561 \begin_layout Subsection
34562 Update
34563 \end_layout
34564
34565 \begin_layout Standard
34566 This menu entry allows you to update the view with your latest changes (in
34567  the default output format) without opening a new viewer window.
34568 \end_layout
34569
34570 \begin_layout Subsection
34571 Update (Other Formats)
34572 \end_layout
34573
34574 \begin_layout Standard
34575 With this submenu you can update the view of alternative output formats
34576  of your document without opening a new viewer window.
34577 \end_layout
34578
34579 \begin_layout Subsection
34580 View Master Document
34581 \end_layout
34582
34583 \begin_layout Standard
34584 This menu item is only visible if your document is included to another document,
34585  which is then its 
34586 \begin_inset Quotes eld
34587 \end_inset
34588
34589 master
34590 \begin_inset Quotes erd
34591 \end_inset
34592
34593  (see section 
34594 \emph on
34595 Child Documents
34596 \emph default
34597  in the 
34598 \emph on
34599 Embedded
34600 \begin_inset space ~
34601 \end_inset
34602
34603 Objects
34604 \emph default
34605  manual for more information on this topic).
34606  This item allows you to view the master document from within its child.
34607  That is, if you are working on a child document which is a chapter of a
34608  book, 
34609 \family sans
34610 View Master
34611 \family default
34612  generates the output of the whole book, while 
34613 \family sans
34614 View
34615 \family default
34616  will just output the chapter alone.
34617 \end_layout
34618
34619 \begin_layout Standard
34620 The format used by this function is the default output format as specified
34621  in the preferences (see sec.
34622 \begin_inset space \thinspace{}
34623 \end_inset
34624
34625
34626 \begin_inset CommandInset ref
34627 LatexCommand ref
34628 reference "sec:File-Formats"
34629
34630 \end_inset
34631
34632 ) or in the document settings (see sec.
34633 \begin_inset space \thinspace{}
34634 \end_inset
34635
34636
34637 \begin_inset CommandInset ref
34638 LatexCommand ref
34639 reference "sec:Doc-Output"
34640
34641 \end_inset
34642
34643 ).
34644 \end_layout
34645
34646 \begin_layout Subsection
34647 Update Master Document
34648 \end_layout
34649
34650 \begin_layout Standard
34651 This menu item is only visible if your document is included to another document,
34652  which is then its 
34653 \begin_inset Quotes eld
34654 \end_inset
34655
34656 master
34657 \begin_inset Quotes erd
34658 \end_inset
34659
34660  (see section 
34661 \emph on
34662 Child Documents
34663 \emph default
34664  in the 
34665 \emph on
34666 Embedded
34667 \begin_inset space ~
34668 \end_inset
34669
34670 Objects
34671 \emph default
34672  manual for more information on this topic).
34673  This item allows you to update the view of a master document from within
34674  its child without the need to switch to the master document itself.
34675 \end_layout
34676
34677 \begin_layout Standard
34678 The format used by this function is the default output format as specified
34679  in the preferences (see sec.
34680 \begin_inset space \thinspace{}
34681 \end_inset
34682
34683
34684 \begin_inset CommandInset ref
34685 LatexCommand ref
34686 reference "sec:File-Formats"
34687
34688 \end_inset
34689
34690 ) or in the document settings (see sec.
34691 \begin_inset space \thinspace{}
34692 \end_inset
34693
34694
34695 \begin_inset CommandInset ref
34696 LatexCommand ref
34697 reference "sec:Doc-Output"
34698
34699 \end_inset
34700
34701 ).
34702 \end_layout
34703
34704 \begin_layout Subsection
34705 Split View
34706 \end_layout
34707
34708 \begin_layout Standard
34709 This will split LyX's main window vertically or horizontally.
34710  This allows you to view documents at the same time to compare them, or
34711  to view the same document, but at different positions.
34712  You can even split the main window several times to view for example 3
34713  or more documents at the same time.
34714  To return to an unsplit view, use the menu 
34715 \family sans
34716 Close Current View
34717 \family default
34718 .
34719 \end_layout
34720
34721 \begin_layout Subsection
34722 Close Current View
34723 \end_layout
34724
34725 \begin_layout Standard
34726 Closes a split view.
34727 \end_layout
34728
34729 \begin_layout Subsection
34730 Fullscreen
34731 \end_layout
34732
34733 \begin_layout Standard
34734 Using this menu entry or pressing F11 removes the menu bar and all toolbars
34735  so that you will see nothing but your text.
34736  It furthermore displays LyX's main window fullscreen.
34737  To return from fullscreen to the normal view, press F11, or right-click
34738  and turn off the fullscreen mode in the context menu.
34739 \end_layout
34740
34741 \begin_layout Subsection
34742 Toolbars
34743 \begin_inset CommandInset label
34744 LatexCommand label
34745 name "sub:Toolbars"
34746
34747 \end_inset
34748
34749
34750 \begin_inset Index idx
34751 status collapsed
34752
34753 \begin_layout Plain Layout
34754 Toolbar
34755 \end_layout
34756
34757 \end_inset
34758
34759
34760 \end_layout
34761
34762 \begin_layout Standard
34763 In this menu entry you can set the appearance of the different toolbars.
34764  All toolbars and the 
34765 \family sans
34766 Command
34767 \begin_inset space ~
34768 \end_inset
34769
34770 Buffer
34771 \family default
34772  can be turned on and off.
34773  The 
34774 \emph on
34775 on
34776 \emph default
34777  state is denoted in the menu with a checkmark.
34778  The 
34779 \family sans
34780 Review
34781 \family default
34782
34783 \family sans
34784 Table
34785 \family default
34786
34787 \family sans
34788 Math
34789 \begin_inset space ~
34790 \end_inset
34791
34792 Panels
34793 \family default
34794
34795 \family sans
34796 Math
34797 \begin_inset space ~
34798 \end_inset
34799
34800 Macros
34801 \family default
34802  and 
34803 \family sans
34804 Math
34805 \family default
34806  toolbars can be additionally set to the state 
34807 \emph on
34808 automatic
34809 \emph default
34810  that is denoted in the menu with the suffix 
34811 \family sans
34812 (auto)
34813 \family default
34814 .
34815 \end_layout
34816
34817 \begin_layout Standard
34818 In the 
34819 \emph on
34820 on
34821 \emph default
34822  state the toolbar is permanently shown, in the 
34823 \emph on
34824 automatic
34825 \emph default
34826  state the toolbar is only shown when the cursor is in a certain environment
34827  or when a certain feature is enabled.
34828  That means that the review toolbar will only be shown if change tracking
34829  is activated, the math and table toolbars are only shown if the cursor
34830  is inside a formula or table, respectively.
34831 \end_layout
34832
34833 \begin_layout Standard
34834 LyX's toolbars and their buttons are explained in section
34835 \begin_inset space ~
34836 \end_inset
34837
34838
34839 \begin_inset CommandInset ref
34840 LatexCommand ref
34841 reference "sec:Toolbars"
34842
34843 \end_inset
34844
34845 .
34846 \end_layout
34847
34848 \begin_layout Section
34849 The Insert Menu
34850 \begin_inset Index idx
34851 status collapsed
34852
34853 \begin_layout Plain Layout
34854 Menu ! Insert
34855 \end_layout
34856
34857 \end_inset
34858
34859
34860 \end_layout
34861
34862 \begin_layout Subsection
34863 Math
34864 \end_layout
34865
34866 \begin_layout Standard
34867 Inserts math constructs that are explained in chapter
34868 \begin_inset space ~
34869 \end_inset
34870
34871
34872 \begin_inset CommandInset ref
34873 LatexCommand ref
34874 reference "chap:Mathematical-Formulas"
34875
34876 \end_inset
34877
34878  and the 
34879 \emph on
34880 Math
34881 \emph default
34882  manual.
34883 \end_layout
34884
34885 \begin_layout Subsection
34886 Special Character
34887 \begin_inset CommandInset label
34888 LatexCommand label
34889 name "sub:Special-Character"
34890
34891 \end_inset
34892
34893
34894 \end_layout
34895
34896 \begin_layout Standard
34897 Here you can insert the following characters:
34898 \end_layout
34899
34900 \begin_layout Description
34901 Symbols Inserts any character that can be output by your LaTeX system.
34902  Therefore the number of character categories in this dialog and the available
34903  characters depend on the LaTeX-packages you have installed.
34904 \begin_inset Newline newline
34905 \end_inset
34906
34907  
34908 \begin_inset Note Greyedout
34909 status collapsed
34910
34911 \begin_layout Plain Layout
34912
34913 \series bold
34914 Note:
34915 \series default
34916  Not all characters will be visible in the 
34917 \family sans
34918 Symbols
34919 \family default
34920  dialog because none of the screen fonts that you can set in the preferences
34921  dialog (see sec.
34922 \begin_inset space \thinspace{}
34923 \end_inset
34924
34925
34926 \begin_inset CommandInset ref
34927 LatexCommand ref
34928 reference "sub:Screen-Fonts"
34929
34930 \end_inset
34931
34932 ) can display every character.
34933 \end_layout
34934
34935 \end_inset
34936
34937
34938 \end_layout
34939
34940 \begin_layout Description
34941 Ellipsis Inserts an ellipsis: \SpecialChar \ldots{}
34942
34943 \end_layout
34944
34945 \begin_layout Description
34946 End
34947 \begin_inset space ~
34948 \end_inset
34949
34950 of
34951 \begin_inset space ~
34952 \end_inset
34953
34954 Sentence Inserts an end of sentence dot as described in section
34955 \begin_inset space ~
34956 \end_inset
34957
34958
34959 \begin_inset CommandInset ref
34960 LatexCommand ref
34961 reference "sub:Abbreviations"
34962
34963 \end_inset
34964
34965 .
34966 \end_layout
34967
34968 \begin_layout Description
34969 Ordinary
34970 \begin_inset space ~
34971 \end_inset
34972
34973 Quote Inserts this quote: ", no matter what quote type you selected in the
34974  
34975 \family sans
34976 Document\SpecialChar \menuseparator
34977 Settings
34978 \family default
34979  dialog under 
34980 \family sans
34981 Language
34982 \family default
34983 .
34984 \end_layout
34985
34986 \begin_layout Description
34987 Single
34988 \begin_inset space ~
34989 \end_inset
34990
34991 Quote Inserts 
34992 \change_deleted -712698321 1345809482
34993 this
34994 \change_inserted -712698321 1345809484
34995 a single
34996 \change_unchanged
34997  quote
34998 \change_deleted -712698321 1345809487
34999
35000 \begin_inset Quotes ers
35001 \end_inset
35002
35003
35004 \change_inserted -712698321 1345809513
35005  in the quotation marks style selected in the 
35006 \family sans
35007 Document\SpecialChar \menuseparator
35008 Settings
35009 \family default
35010  dialog under 
35011 \family sans
35012 Language
35013 \family default
35014 .
35015 \change_unchanged
35016
35017 \end_layout
35018
35019 \begin_layout Description
35020 Protected
35021 \begin_inset space ~
35022 \end_inset
35023
35024 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar \nobreakdash-
35025
35026 \end_layout
35027
35028 \begin_layout Description
35029 Breakable
35030 \begin_inset space ~
35031 \end_inset
35032
35033 Slash Inserts a slash where also a line break can occur: \SpecialChar \slash{}
35034
35035 \end_layout
35036
35037 \begin_layout Description
35038 Menu
35039 \begin_inset space ~
35040 \end_inset
35041
35042 Separator Inserts the menu separator sign: \SpecialChar \menuseparator
35043
35044 \end_layout
35045
35046 \begin_layout Description
35047 Phonetic
35048 \begin_inset space ~
35049 \end_inset
35050
35051 Symbols 
35052 \begin_inset Index idx
35053 status collapsed
35054
35055 \begin_layout Plain Layout
35056 Phonetic symbols
35057 \end_layout
35058
35059 \end_inset
35060
35061
35062 \begin_inset Index idx
35063 status collapsed
35064
35065 \begin_layout Plain Layout
35066 Language ! Phonetic symbols
35067 \end_layout
35068
35069 \end_inset
35070
35071
35072 \change_deleted -712698321 1345808954
35073 Creates a formula with a so called tipa inset
35074 \change_inserted -712698321 1345808969
35075 Inserts a box where
35076 \change_deleted -712698321 1345809001
35077 .
35078  Here
35079 \change_unchanged
35080  you can insert 
35081 \change_deleted -712698321 1345809047
35082 commands to create IPA phonetic 
35083 \change_unchanged
35084 symbols
35085 \change_inserted -712698321 1345809189
35086  from the International Phonetic Alphabet (IPA) and opens a toolbar which
35087  provides a large set of these symbols
35088 \change_unchanged
35089 .
35090  
35091 \change_deleted -712698321 1345809068
35092 For
35093 \change_inserted -712698321 1345809068
35094 To use
35095 \change_unchanged
35096  this feature 
35097 \change_inserted -712698321 1345809224
35098 with traditional LaTeX 
35099 \change_unchanged
35100 you must have the LaTeX-package 
35101 \series bold
35102 tipa
35103 \series default
35104
35105 \begin_inset Index idx
35106 status collapsed
35107
35108 \begin_layout Plain Layout
35109 LaTeX-packages ! tipa
35110 \end_layout
35111
35112 \end_inset
35113
35114  installed.
35115 \begin_inset Newline newline
35116 \end_inset
35117
35118
35119 \change_deleted -712698321 1345809282
35120 For m
35121 \change_inserted -712698321 1345809283
35122 M
35123 \change_unchanged
35124 ore information about this feature 
35125 \change_deleted -712698321 1345809286
35126 we refer you to the documentation of 
35127 \series bold
35128 tipa, 
35129 \begin_inset CommandInset citation
35130 LatexCommand cite
35131 key "tipa"
35132
35133 \end_inset
35134
35135
35136 \series default
35137  and this Wiki-page:
35138 \begin_inset Newline newline
35139 \end_inset
35140
35141
35142 \begin_inset Flex URL
35143 status collapsed
35144
35145 \begin_layout Plain Layout
35146
35147 http://wiki.lyx.org/LyX/LinguistLyX
35148 \end_layout
35149
35150 \end_inset
35151
35152
35153 \change_inserted -712698321 1345809397
35154 can be found in the Linguistics manual (
35155 \family sans
35156 Help\SpecialChar \menuseparator
35157 Specific Manuals\SpecialChar \menuseparator
35158 Linguistics Manual
35159 \family default
35160 ).
35161 \change_unchanged
35162
35163 \end_layout
35164
35165 \begin_layout Subsection
35166 Formatting
35167 \end_layout
35168
35169 \begin_layout Standard
35170 Here you can insert the following format constructs:
35171 \end_layout
35172
35173 \begin_layout Description
35174 Superscript Inserts a superscript: test
35175 \begin_inset script superscript
35176
35177 \begin_layout Plain Layout
35178 a, b
35179 \end_layout
35180
35181 \end_inset
35182
35183
35184 \end_layout
35185
35186 \begin_layout Description
35187 Subscript Inserts a subscript: test
35188 \begin_inset script subscript
35189
35190 \begin_layout Plain Layout
35191 3x
35192 \end_layout
35193
35194 \end_inset
35195
35196
35197 \end_layout
35198
35199 \begin_layout Description
35200 Protected
35201 \begin_inset space ~
35202 \end_inset
35203
35204 Space Inserts a protected space that is described in section
35205 \begin_inset space ~
35206 \end_inset
35207
35208
35209 \begin_inset CommandInset ref
35210 LatexCommand ref
35211 reference "sub:Protected-Space"
35212
35213 \end_inset
35214
35215 .
35216 \end_layout
35217
35218 \begin_layout Description
35219 Inter-word
35220 \begin_inset space ~
35221 \end_inset
35222
35223 Space Inserts an inter-word space that is described in section
35224 \begin_inset space ~
35225 \end_inset
35226
35227
35228 \begin_inset CommandInset ref
35229 LatexCommand ref
35230 reference "sub:Inter-word-Space"
35231
35232 \end_inset
35233
35234 .
35235 \end_layout
35236
35237 \begin_layout Description
35238 Thin
35239 \begin_inset space ~
35240 \end_inset
35241
35242 Space Inserts a thin space that is described in section
35243 \begin_inset space ~
35244 \end_inset
35245
35246
35247 \begin_inset CommandInset ref
35248 LatexCommand ref
35249 reference "sub:Thin-Space"
35250
35251 \end_inset
35252
35253 .
35254 \end_layout
35255
35256 \begin_layout Description
35257 Horizontal
35258 \begin_inset space ~
35259 \end_inset
35260
35261 Space Inserts horizontal space, see section
35262 \begin_inset space ~
35263 \end_inset
35264
35265
35266 \begin_inset CommandInset ref
35267 LatexCommand ref
35268 reference "sub:Horizontal-Space"
35269
35270 \end_inset
35271
35272  for a description.
35273 \end_layout
35274
35275 \begin_layout Description
35276 Horizontal
35277 \begin_inset space ~
35278 \end_inset
35279
35280 Line Inserts a horizontal line, see section
35281 \begin_inset space ~
35282 \end_inset
35283
35284
35285 \begin_inset CommandInset ref
35286 LatexCommand ref
35287 reference "sub:Horizontal-Lines"
35288
35289 \end_inset
35290
35291  for a description.
35292 \end_layout
35293
35294 \begin_layout Description
35295 Vertical
35296 \begin_inset space ~
35297 \end_inset
35298
35299 Space Inserts vertical space, see section
35300 \begin_inset space ~
35301 \end_inset
35302
35303
35304 \begin_inset CommandInset ref
35305 LatexCommand ref
35306 reference "sub:Vertical-Space"
35307
35308 \end_inset
35309
35310  for a description.
35311 \end_layout
35312
35313 \begin_layout Description
35314 Phantom Inserts Phantom space, see section
35315 \begin_inset space ~
35316 \end_inset
35317
35318
35319 \begin_inset CommandInset ref
35320 LatexCommand ref
35321 reference "sub:Phantom-Space"
35322
35323 \end_inset
35324
35325 .
35326 \end_layout
35327
35328 \begin_layout Description
35329 Hyphenation
35330 \begin_inset space ~
35331 \end_inset
35332
35333 Point Inserts a hyphenation point, see section
35334 \begin_inset space ~
35335 \end_inset
35336
35337
35338 \begin_inset CommandInset ref
35339 LatexCommand ref
35340 reference "sub:Hyphenation"
35341
35342 \end_inset
35343
35344 .
35345 \end_layout
35346
35347 \begin_layout Description
35348 Ligature
35349 \begin_inset space ~
35350 \end_inset
35351
35352 Break Inserts a ligature break, see section
35353 \begin_inset space ~
35354 \end_inset
35355
35356
35357 \begin_inset CommandInset ref
35358 LatexCommand ref
35359 reference "sub:Ligatures"
35360
35361 \end_inset
35362
35363 .
35364 \end_layout
35365
35366 \begin_layout Description
35367 Ragged
35368 \begin_inset space ~
35369 \end_inset
35370
35371 Line
35372 \begin_inset space ~
35373 \end_inset
35374
35375 Break Inserts a forced line break, see section
35376 \begin_inset space ~
35377 \end_inset
35378
35379
35380 \begin_inset CommandInset ref
35381 LatexCommand ref
35382 reference "sub:Forced-Line-Breaks"
35383
35384 \end_inset
35385
35386 .
35387 \end_layout
35388
35389 \begin_layout Description
35390 Justified
35391 \begin_inset space ~
35392 \end_inset
35393
35394 Break Inserts a forced line break that furthermore stretches the broken
35395  text line to the page border, see section
35396 \begin_inset space ~
35397 \end_inset
35398
35399
35400 \begin_inset CommandInset ref
35401 LatexCommand ref
35402 reference "sub:Forced-Line-Breaks"
35403
35404 \end_inset
35405
35406 .
35407 \end_layout
35408
35409 \begin_layout Description
35410 New
35411 \begin_inset space ~
35412 \end_inset
35413
35414 Page Inserts a forced page break, described in section
35415 \begin_inset space ~
35416 \end_inset
35417
35418
35419 \begin_inset CommandInset ref
35420 LatexCommand ref
35421 reference "sub:Forced-Page-Breaks"
35422
35423 \end_inset
35424
35425 .
35426 \end_layout
35427
35428 \begin_layout Description
35429 Page
35430 \begin_inset space ~
35431 \end_inset
35432
35433 Break Inserts a forced page break that furthermore stretches the broken
35434  text page to the page border, described in section
35435 \begin_inset space ~
35436 \end_inset
35437
35438
35439 \begin_inset CommandInset ref
35440 LatexCommand ref
35441 reference "sub:Forced-Page-Breaks"
35442
35443 \end_inset
35444
35445 .
35446 \end_layout
35447
35448 \begin_layout Description
35449 Clear
35450 \begin_inset space ~
35451 \end_inset
35452
35453 Page Inserts a clear page break, described in section
35454 \begin_inset space ~
35455 \end_inset
35456
35457
35458 \begin_inset CommandInset ref
35459 LatexCommand ref
35460 reference "sub:Clear-Page-Breaks"
35461
35462 \end_inset
35463
35464 .
35465 \end_layout
35466
35467 \begin_layout Description
35468 Clear
35469 \begin_inset space ~
35470 \end_inset
35471
35472 Double
35473 \begin_inset space ~
35474 \end_inset
35475
35476 Page Inserts a clear doublepage break, described in section
35477 \begin_inset space ~
35478 \end_inset
35479
35480
35481 \begin_inset CommandInset ref
35482 LatexCommand ref
35483 reference "sub:Clear-Page-Breaks"
35484
35485 \end_inset
35486
35487 .
35488 \end_layout
35489
35490 \begin_layout Subsection
35491 List / TOC
35492 \end_layout
35493
35494 \begin_layout Standard
35495 Various lists can be inserted with this menu entry.
35496  The table of contents, the algorithm, figures and tables list are described
35497  in section
35498 \begin_inset space ~
35499 \end_inset
35500
35501
35502 \begin_inset CommandInset ref
35503 LatexCommand ref
35504 reference "sec:toc"
35505
35506 \end_inset
35507
35508 .
35509  The index list is described in section
35510 \begin_inset space ~
35511 \end_inset
35512
35513
35514 \begin_inset CommandInset ref
35515 LatexCommand ref
35516 reference "sec:Index"
35517
35518 \end_inset
35519
35520 , the nomenclature in section
35521 \begin_inset space ~
35522 \end_inset
35523
35524
35525 \begin_inset CommandInset ref
35526 LatexCommand ref
35527 reference "sec:Nomenclature"
35528
35529 \end_inset
35530
35531  and the BibTeX bibliography in section
35532 \begin_inset space ~
35533 \end_inset
35534
35535
35536 \begin_inset CommandInset ref
35537 LatexCommand ref
35538 reference "sub:Bibliography-databases"
35539
35540 \end_inset
35541
35542 .
35543 \end_layout
35544
35545 \begin_layout Subsection
35546 Float
35547 \end_layout
35548
35549 \begin_layout Standard
35550 To insert floats, described in section
35551 \begin_inset space ~
35552 \end_inset
35553
35554
35555 \begin_inset CommandInset ref
35556 LatexCommand ref
35557 reference "sec:Floats"
35558
35559 \end_inset
35560
35561 .
35562 \end_layout
35563
35564 \begin_layout Subsection
35565 Note
35566 \end_layout
35567
35568 \begin_layout Standard
35569 To insert notes, described in section
35570 \begin_inset space ~
35571 \end_inset
35572
35573
35574 \begin_inset CommandInset ref
35575 LatexCommand ref
35576 reference "sec:Notes"
35577
35578 \end_inset
35579
35580 .
35581 \end_layout
35582
35583 \begin_layout Subsection
35584 Branch
35585 \end_layout
35586
35587 \begin_layout Standard
35588 Inserts branch insets as described in section
35589 \begin_inset space ~
35590 \end_inset
35591
35592
35593 \begin_inset CommandInset ref
35594 LatexCommand ref
35595 reference "sec:Branches"
35596
35597 \end_inset
35598
35599 .
35600 \end_layout
35601
35602 \begin_layout Subsection
35603 Custom Insets
35604 \end_layout
35605
35606 \begin_layout Standard
35607 Inserts document class-specific insets.
35608  Such insets only exist if they are defined in the layout file for a certain
35609  document class.
35610  An example is the document class 
35611 \begin_inset Quotes eld
35612 \end_inset
35613
35614 article (Elsevier)
35615 \begin_inset Quotes erd
35616 \end_inset
35617
35618  with three custom insets.
35619  The section 
35620 \emph on
35621 Flex insets and InsetLayout
35622 \emph default
35623  of the 
35624 \emph on
35625 Customization
35626 \emph default
35627  manual explains how custom insets are defined.
35628 \end_layout
35629
35630 \begin_layout Subsection
35631 File
35632 \begin_inset Index idx
35633 status collapsed
35634
35635 \begin_layout Plain Layout
35636 External Material
35637 \end_layout
35638
35639 \end_inset
35640
35641
35642 \end_layout
35643
35644 \begin_layout Standard
35645 This menu entry allows you to insert or include the contents of other files
35646  in your document.
35647  How you can do this is explained in detail in the chapter 
35648 \emph on
35649 External Stuff
35650 \emph default
35651  of the 
35652 \emph on
35653 Embedded
35654 \begin_inset space ~
35655 \end_inset
35656
35657 Objects
35658 \emph default
35659  manual.
35660 \end_layout
35661
35662 \begin_layout Subsection
35663 Box
35664 \begin_inset Index idx
35665 status collapsed
35666
35667 \begin_layout Plain Layout
35668 Boxes
35669 \end_layout
35670
35671 \end_inset
35672
35673
35674 \end_layout
35675
35676 \begin_layout Standard
35677 Inserts a minipage box that is described section
35678 \begin_inset space ~
35679 \end_inset
35680
35681
35682 \begin_inset CommandInset ref
35683 LatexCommand ref
35684 reference "sec:Minipages"
35685
35686 \end_inset
35687
35688 .
35689  All box types supported by LyX are explained in detail in the chapter 
35690 \emph on
35691 Boxes
35692 \emph default
35693  of the 
35694 \emph on
35695 Embedded
35696 \begin_inset space ~
35697 \end_inset
35698
35699 Objects
35700 \emph default
35701  manual.
35702 \end_layout
35703
35704 \begin_layout Subsection
35705 Citation
35706 \end_layout
35707
35708 \begin_layout Standard
35709 Inserts a citation as described in section
35710 \begin_inset space ~
35711 \end_inset
35712
35713
35714 \begin_inset CommandInset ref
35715 LatexCommand ref
35716 reference "sec:Bibliography"
35717
35718 \end_inset
35719
35720 .
35721 \end_layout
35722
35723 \begin_layout Subsection
35724 Cross-Reference
35725 \end_layout
35726
35727 \begin_layout Standard
35728 Inserts a cross-reference as described in section
35729 \begin_inset space ~
35730 \end_inset
35731
35732
35733 \begin_inset CommandInset ref
35734 LatexCommand ref
35735 reference "sec:Cross-References"
35736
35737 \end_inset
35738
35739 .
35740 \end_layout
35741
35742 \begin_layout Subsection
35743 Label
35744 \end_layout
35745
35746 \begin_layout Standard
35747 Inserts a label as described in section
35748 \begin_inset space ~
35749 \end_inset
35750
35751
35752 \begin_inset CommandInset ref
35753 LatexCommand ref
35754 reference "sec:Cross-References"
35755
35756 \end_inset
35757
35758 .
35759 \end_layout
35760
35761 \begin_layout Subsection
35762 Caption
35763 \begin_inset Index idx
35764 status collapsed
35765
35766 \begin_layout Plain Layout
35767 Captions
35768 \end_layout
35769
35770 \end_inset
35771
35772
35773 \begin_inset Index idx
35774 status collapsed
35775
35776 \begin_layout Plain Layout
35777 Longtables ! Caption
35778 \end_layout
35779
35780 \end_inset
35781
35782
35783 \end_layout
35784
35785 \begin_layout Standard
35786 Inserts a caption in a float or longtable.
35787  Floats are described in section
35788 \begin_inset space ~
35789 \end_inset
35790
35791
35792 \begin_inset CommandInset ref
35793 LatexCommand ref
35794 reference "sec:Floats"
35795
35796 \end_inset
35797
35798 , captions in longtables are described in the section 
35799 \emph on
35800 Longtable Captions
35801 \emph default
35802  of the 
35803 \emph on
35804 Embedded
35805 \begin_inset space ~
35806 \end_inset
35807
35808 Objects
35809 \emph default
35810  manual.
35811 \end_layout
35812
35813 \begin_layout Subsection
35814 Index Entry
35815 \end_layout
35816
35817 \begin_layout Standard
35818 Inserts an index entry as described in section
35819 \begin_inset space ~
35820 \end_inset
35821
35822
35823 \begin_inset CommandInset ref
35824 LatexCommand ref
35825 reference "sec:Index"
35826
35827 \end_inset
35828
35829 .
35830 \end_layout
35831
35832 \begin_layout Subsection
35833 Nomenclature Entry
35834 \end_layout
35835
35836 \begin_layout Standard
35837 Inserts a nomenclature entry as described in section
35838 \begin_inset space ~
35839 \end_inset
35840
35841
35842 \begin_inset CommandInset ref
35843 LatexCommand ref
35844 reference "sec:Nomenclature"
35845
35846 \end_inset
35847
35848 .
35849 \end_layout
35850
35851 \begin_layout Subsection
35852 Table
35853 \end_layout
35854
35855 \begin_layout Standard
35856 Inserts a table.
35857  Tables are described in section
35858 \begin_inset space ~
35859 \end_inset
35860
35861
35862 \begin_inset CommandInset ref
35863 LatexCommand ref
35864 reference "sec:Tables"
35865
35866 \end_inset
35867
35868 .
35869 \end_layout
35870
35871 \begin_layout Subsection
35872 Graphics
35873 \end_layout
35874
35875 \begin_layout Standard
35876 Inserts a graphic.
35877  Graphics are described in section
35878 \begin_inset space ~
35879 \end_inset
35880
35881
35882 \begin_inset CommandInset ref
35883 LatexCommand ref
35884 reference "sec:Graphics"
35885
35886 \end_inset
35887
35888 .
35889 \end_layout
35890
35891 \begin_layout Subsection
35892 URL
35893 \end_layout
35894
35895 \begin_layout Standard
35896 Inserts a URL as described in section
35897 \begin_inset space ~
35898 \end_inset
35899
35900
35901 \begin_inset CommandInset ref
35902 LatexCommand ref
35903 reference "sub:URLs"
35904
35905 \end_inset
35906
35907 .
35908 \end_layout
35909
35910 \begin_layout Subsection
35911 Hyperlinks
35912 \end_layout
35913
35914 \begin_layout Standard
35915 Inserts a hyperlink as described in section
35916 \begin_inset space ~
35917 \end_inset
35918
35919
35920 \begin_inset CommandInset ref
35921 LatexCommand ref
35922 reference "sub:Hyperlinks"
35923
35924 \end_inset
35925
35926 .
35927 \end_layout
35928
35929 \begin_layout Subsection
35930 Footnote
35931 \end_layout
35932
35933 \begin_layout Standard
35934 Inserts a footnote, see section
35935 \begin_inset space ~
35936 \end_inset
35937
35938
35939 \begin_inset CommandInset ref
35940 LatexCommand ref
35941 reference "sec:Footnotes"
35942
35943 \end_inset
35944
35945 .
35946 \end_layout
35947
35948 \begin_layout Subsection
35949 Marginal Note
35950 \end_layout
35951
35952 \begin_layout Standard
35953 Inserts a marginal note, see section
35954 \begin_inset space ~
35955 \end_inset
35956
35957
35958 \begin_inset CommandInset ref
35959 LatexCommand ref
35960 reference "sec:Marginal-Notes"
35961
35962 \end_inset
35963
35964 .
35965 \end_layout
35966
35967 \begin_layout Subsection
35968 Short Title
35969 \end_layout
35970
35971 \begin_layout Standard
35972 Inserts a short title, see section
35973 \begin_inset space ~
35974 \end_inset
35975
35976
35977 \begin_inset CommandInset ref
35978 LatexCommand ref
35979 reference "sec:Short-Titles"
35980
35981 \end_inset
35982
35983 .
35984 \end_layout
35985
35986 \begin_layout Subsection
35987 TeX Code
35988 \end_layout
35989
35990 \begin_layout Standard
35991 Inserts a TeX Code box, see section
35992 \begin_inset space ~
35993 \end_inset
35994
35995
35996 \begin_inset CommandInset ref
35997 LatexCommand ref
35998 reference "sub:TeX-Code-Boxes"
35999
36000 \end_inset
36001
36002  for a description.
36003 \end_layout
36004
36005 \begin_layout Subsection
36006 Program Listing
36007 \begin_inset Index idx
36008 status collapsed
36009
36010 \begin_layout Plain Layout
36011 Program listings
36012 \end_layout
36013
36014 \end_inset
36015
36016
36017 \end_layout
36018
36019 \begin_layout Standard
36020 Inserts a program listings box.
36021  Program listings are explained in the chapter 
36022 \emph on
36023 Program Code Listings
36024 \emph default
36025  of the 
36026 \emph on
36027 Embedded
36028 \begin_inset space ~
36029 \end_inset
36030
36031 Objects
36032 \emph default
36033  manual.
36034 \end_layout
36035
36036 \begin_layout Subsection
36037 Date
36038 \end_layout
36039
36040 \begin_layout Standard
36041 Inserts the actual date.
36042  The format depends on the date format of the language that is used for
36043  LyX's menus.
36044  LyX offers various ways to insert a date which are explained and also compared
36045  in the section 
36046 \emph on
36047 External Material
36048 \emph default
36049  of the 
36050 \emph on
36051 Embedded
36052 \begin_inset space ~
36053 \end_inset
36054
36055 Objects
36056 \emph default
36057  manual.
36058 \end_layout
36059
36060 \begin_layout Subsection
36061 Preview
36062 \end_layout
36063
36064 \begin_layout Standard
36065 Inserts a preview inset, see section
36066 \begin_inset space ~
36067 \end_inset
36068
36069
36070 \begin_inset CommandInset ref
36071 LatexCommand ref
36072 reference "sec:Previewing-snippets-of"
36073
36074 \end_inset
36075
36076  for a description.
36077 \end_layout
36078
36079 \begin_layout Section
36080 The Navigate Menu
36081 \begin_inset Index idx
36082 status collapsed
36083
36084 \begin_layout Plain Layout
36085 Menu ! Navigate
36086 \end_layout
36087
36088 \end_inset
36089
36090
36091 \end_layout
36092
36093 \begin_layout Standard
36094 This menu lists the existing chapters, sections, figures, tables, etc.
36095 \begin_inset space ~
36096 \end_inset
36097
36098 of the current document.
36099  This allows you to navigate easily through your document.
36100 \end_layout
36101
36102 \begin_layout Subsection
36103 Bookmarks
36104 \end_layout
36105
36106 \begin_layout Standard
36107 With this menu entry you are able to define your own bookmarks.
36108  This is useful when you are working on a large document and often have
36109  to jump e.
36110 \begin_inset space \thinspace{}
36111 \end_inset
36112
36113 g.
36114 \begin_inset space \space{}
36115 \end_inset
36116
36117 between section
36118 \begin_inset space ~
36119 \end_inset
36120
36121 2.5 and 6.3.
36122  To create bookmarks for this example, go to section
36123 \begin_inset space ~
36124 \end_inset
36125
36126 2.5 and use the submenu 
36127 \family sans
36128 Save
36129 \begin_inset space ~
36130 \end_inset
36131
36132 Bookmark
36133 \begin_inset space ~
36134 \end_inset
36135
36136 1
36137 \family default
36138 .
36139  Then go to section
36140 \begin_inset space ~
36141 \end_inset
36142
36143 6.3 and use 
36144 \family sans
36145 Save
36146 \begin_inset space ~
36147 \end_inset
36148
36149 Bookmark
36150 \begin_inset space ~
36151 \end_inset
36152
36153
36154 \family default
36155 2.
36156  Now you can jump easily between these sections by using the menu or by
36157  the key bindings 
36158 \begin_inset Info
36159 type  "shortcut"
36160 arg   "bookmark-goto 1"
36161 \end_inset
36162
36163  and 
36164 \begin_inset Info
36165 type  "shortcut"
36166 arg   "bookmark-goto 2"
36167 \end_inset
36168
36169 .
36170 \end_layout
36171
36172 \begin_layout Standard
36173 You can also use bookmarks to jump between several opened documents.
36174  The saved bookmarks are valid till the document is closed.
36175 \end_layout
36176
36177 \begin_layout Subsection
36178 Next Note, Change, Cross-reference
36179 \end_layout
36180
36181 \begin_layout Standard
36182 Jump to the next note, change, or cross-reference following the current
36183  cursor position.
36184 \end_layout
36185
36186 \begin_layout Subsection
36187 Go to Label
36188 \end_layout
36189
36190 \begin_layout Standard
36191 Only active if the cursor is in front of a cross-reference.
36192  Sets the cursor before the referenced label.
36193  (It is the same as if you right-click on a cross-reference box and use
36194  
36195 \family sans
36196 Go
36197 \begin_inset space ~
36198 \end_inset
36199
36200 to
36201 \begin_inset space ~
36202 \end_inset
36203
36204 Label)
36205 \family default
36206 .
36207 \end_layout
36208
36209 \begin_layout Subsection
36210 Forward Search
36211 \end_layout
36212
36213 \begin_layout Standard
36214 This feature allows you to directly jump to the corresponding text part
36215  in the output, see section 
36216 \emph on
36217 Forward
36218 \begin_inset space ~
36219 \end_inset
36220
36221 search
36222 \emph default
36223  in the 
36224 \emph on
36225 Additional
36226 \begin_inset space ~
36227 \end_inset
36228
36229 Features
36230 \emph default
36231  manual for a detailed description.
36232 \end_layout
36233
36234 \begin_layout Section
36235 The Document Menu
36236 \begin_inset Index idx
36237 status collapsed
36238
36239 \begin_layout Plain Layout
36240 Menu ! Document
36241 \end_layout
36242
36243 \end_inset
36244
36245
36246 \end_layout
36247
36248 \begin_layout Subsection
36249 Change Tracking
36250 \end_layout
36251
36252 \begin_layout Standard
36253 Change Tracking is described in section
36254 \begin_inset space ~
36255 \end_inset
36256
36257
36258 \begin_inset CommandInset ref
36259 LatexCommand ref
36260 reference "sec:Change-Tracking"
36261
36262 \end_inset
36263
36264 .
36265 \end_layout
36266
36267 \begin_layout Subsection
36268 LaT
36269 \begin_inset ERT
36270 status collapsed
36271
36272 \begin_layout Plain Layout
36273
36274 {}
36275 \end_layout
36276
36277 \end_inset
36278
36279 eX Log
36280 \end_layout
36281
36282 \begin_layout Standard
36283 After running LaTeX by viewing or exporting a document, this menu will be
36284  enabled.
36285  It shows the logfile of the used LaTeX-program.
36286 \end_layout
36287
36288 \begin_layout Standard
36289 Here you can see how LaTeX works in the background.
36290  
36291 \emph on
36292 Experts
36293 \emph default
36294  will find in it reasons for LaTeX-errors.
36295 \end_layout
36296
36297 \begin_layout Subsection
36298 Outline
36299 \end_layout
36300
36301 \begin_layout Standard
36302 Opens the TOC/Outline window as described in section
36303 \begin_inset space ~
36304 \end_inset
36305
36306
36307 \begin_inset CommandInset ref
36308 LatexCommand ref
36309 reference "sec:Navigating"
36310
36311 \end_inset
36312
36313  and 
36314 \begin_inset CommandInset ref
36315 LatexCommand ref
36316 reference "sub:Table-of-Contents"
36317
36318 \end_inset
36319
36320 .
36321 \end_layout
36322
36323 \begin_layout Subsection
36324 Start Appendix Here
36325 \end_layout
36326
36327 \begin_layout Standard
36328 This menu will start the appendix of the document at the current cursor
36329  position as described in section
36330 \begin_inset space ~
36331 \end_inset
36332
36333
36334 \begin_inset CommandInset ref
36335 LatexCommand ref
36336 reference "sec:Appendices"
36337
36338 \end_inset
36339
36340 .
36341 \end_layout
36342
36343 \begin_layout Subsection
36344 Compressed
36345 \end_layout
36346
36347 \begin_layout Standard
36348 Un/compresses the current document.
36349 \end_layout
36350
36351 \begin_layout Subsection
36352 Settings
36353 \end_layout
36354
36355 \begin_layout Standard
36356 The document settings are described in appendix
36357 \begin_inset space ~
36358 \end_inset
36359
36360
36361 \begin_inset CommandInset ref
36362 LatexCommand ref
36363 reference "chap:The-Document-Settings"
36364
36365 \end_inset
36366
36367 .
36368 \end_layout
36369
36370 \begin_layout Section
36371 The Tools Menu
36372 \begin_inset Index idx
36373 status collapsed
36374
36375 \begin_layout Plain Layout
36376 Menu ! Tools
36377 \end_layout
36378
36379 \end_inset
36380
36381
36382 \end_layout
36383
36384 \begin_layout Subsection
36385 Spellchecker
36386 \end_layout
36387
36388 \begin_layout Standard
36389 Spell checking is explained in section
36390 \begin_inset space ~
36391 \end_inset
36392
36393
36394 \begin_inset CommandInset ref
36395 LatexCommand ref
36396 reference "sec:Spellchecking"
36397
36398 \end_inset
36399
36400 .
36401 \end_layout
36402
36403 \begin_layout Subsection
36404 Thesaurus
36405 \end_layout
36406
36407 \begin_layout Standard
36408 The thesaurus is described in section
36409 \begin_inset space ~
36410 \end_inset
36411
36412
36413 \begin_inset CommandInset ref
36414 LatexCommand ref
36415 reference "sec:Thesaurus"
36416
36417 \end_inset
36418
36419 .
36420 \end_layout
36421
36422 \begin_layout Subsection
36423 Statistics
36424 \begin_inset Index idx
36425 status collapsed
36426
36427 \begin_layout Plain Layout
36428 Word count
36429 \end_layout
36430
36431 \end_inset
36432
36433
36434 \begin_inset Index idx
36435 status collapsed
36436
36437 \begin_layout Plain Layout
36438 Character count
36439 \end_layout
36440
36441 \end_inset
36442
36443
36444 \end_layout
36445
36446 \begin_layout Standard
36447 Counts the words and characters in the actual document or the highlighted
36448  document part.
36449 \end_layout
36450
36451 \begin_layout Subsection
36452 TeX Information
36453 \begin_inset Index idx
36454 status collapsed
36455
36456 \begin_layout Plain Layout
36457 TeX Information
36458 \end_layout
36459
36460 \end_inset
36461
36462
36463 \end_layout
36464
36465 \begin_layout Standard
36466 Shows you a list of the document classes and styles installed in your LaTeX-syst
36467 em.
36468 \end_layout
36469
36470 \begin_layout Subsection
36471 Reconfigure
36472 \begin_inset Index idx
36473 status collapsed
36474
36475 \begin_layout Plain Layout
36476 LyX ! Reconfigure|see
36477 \begin_inset ERT
36478 status collapsed
36479
36480 \begin_layout Plain Layout
36481
36482 {
36483 \end_layout
36484
36485 \end_inset
36486
36487 Reconfiguration of LyX
36488 \begin_inset ERT
36489 status collapsed
36490
36491 \begin_layout Plain Layout
36492
36493 }
36494 \end_layout
36495
36496 \end_inset
36497
36498
36499 \end_layout
36500
36501 \end_inset
36502
36503
36504 \begin_inset Index idx
36505 status collapsed
36506
36507 \begin_layout Plain Layout
36508 Reconfiguration of LyX
36509 \end_layout
36510
36511 \end_inset
36512
36513
36514 \end_layout
36515
36516 \begin_layout Standard
36517 This menu entry reconfigures LyX; that is, LyX looks for LaTeX-packages
36518  and programs it needs; see also section
36519 \begin_inset space ~
36520 \end_inset
36521
36522
36523 \begin_inset CommandInset ref
36524 LatexCommand ref
36525 reference "sec:Basic-LyX-Setup"
36526
36527 \end_inset
36528
36529 .
36530 \end_layout
36531
36532 \begin_layout Subsection
36533 Preferences
36534 \end_layout
36535
36536 \begin_layout Standard
36537 The preferences dialog is described in detail in appendix
36538 \begin_inset space ~
36539 \end_inset
36540
36541
36542 \begin_inset CommandInset ref
36543 LatexCommand ref
36544 reference "chap:The-Preferences-dialog"
36545
36546 \end_inset
36547
36548 .
36549 \end_layout
36550
36551 \begin_layout Section
36552 The Help Menu
36553 \begin_inset Index idx
36554 status collapsed
36555
36556 \begin_layout Plain Layout
36557 Menu ! Help
36558 \end_layout
36559
36560 \end_inset
36561
36562
36563 \end_layout
36564
36565 \begin_layout Standard
36566 This menu lists the documentation files of LyX in the language of LyX's
36567  menus.
36568  If a file is not available in this language, the English version will be
36569  listed.
36570 \end_layout
36571
36572 \begin_layout Standard
36573 The menu 
36574 \family sans
36575 LaTeX
36576 \begin_inset space ~
36577 \end_inset
36578
36579 Configuration
36580 \family default
36581  shows a LyX-document with information about the LaTeX-packages and classes
36582  found by LyX (see also section
36583 \begin_inset space ~
36584 \end_inset
36585
36586
36587 \begin_inset CommandInset ref
36588 LatexCommand ref
36589 reference "sec:LaTeX-Setup"
36590
36591 \end_inset
36592
36593 ).
36594 \end_layout
36595
36596 \begin_layout Section
36597 Toolbars
36598 \begin_inset CommandInset label
36599 LatexCommand label
36600 name "sec:Toolbars"
36601
36602 \end_inset
36603
36604
36605 \end_layout
36606
36607 \begin_layout Standard
36608 How to show or hide toolbars is explained in section
36609 \begin_inset space ~
36610 \end_inset
36611
36612
36613 \begin_inset CommandInset ref
36614 LatexCommand ref
36615 reference "sub:Toolbars"
36616
36617 \end_inset
36618
36619 .
36620 \end_layout
36621
36622 \begin_layout Standard
36623 It is also possible to define custom toolbars.
36624  This is described in the 
36625 \emph on
36626 Additional Features
36627 \emph default
36628  manual.
36629 \end_layout
36630
36631 \begin_layout Subsection
36632 Standard Toolbar
36633 \begin_inset Index idx
36634 status collapsed
36635
36636 \begin_layout Plain Layout
36637 Toolbar ! Standard
36638 \end_layout
36639
36640 \end_inset
36641
36642
36643 \end_layout
36644
36645 \begin_layout Standard
36646 \begin_inset Graphics
36647         filename clipart/StandardToolbar.png
36648         width 100col%
36649
36650 \end_inset
36651
36652
36653 \end_layout
36654
36655 \begin_layout Standard
36656 \begin_inset VSpace defskip
36657 \end_inset
36658
36659
36660 \end_layout
36661
36662 \begin_layout Standard
36663 The standard toolbar as shown above contains from left to right the following
36664  buttons:
36665 \begin_inset ERT
36666 status collapsed
36667
36668 \begin_layout Plain Layout
36669
36670
36671 \backslash
36672 setlength{
36673 \backslash
36674 LTleft}{0pt}
36675 \end_layout
36676
36677 \end_inset
36678
36679
36680 \begin_inset Note Note
36681 status collapsed
36682
36683 \begin_layout Plain Layout
36684 This is necessary to left align the following longtables.
36685  See the 
36686 \emph on
36687 Embedded Objects
36688 \emph default
36689  manual for more information.
36690 \end_layout
36691
36692 \end_inset
36693
36694
36695 \end_layout
36696
36697 \begin_layout Standard
36698 \begin_inset VSpace defskip
36699 \end_inset
36700
36701
36702 \end_layout
36703
36704 \begin_layout Standard
36705 \begin_inset Tabular
36706 <lyxtabular version="3" rows="1" columns="2">
36707 <features rotate="0" islongtable="true" longtabularalignment="center">
36708 <column alignment="center" valignment="top" width="0">
36709 <column alignment="center" valignment="top" width="0">
36710 <row>
36711 <cell alignment="center" valignment="top" usebox="none">
36712 \begin_inset Text
36713
36714 \begin_layout Plain Layout
36715 \begin_inset Graphics
36716         filename clipart/ToolbarEnvBox.png
36717         clip
36718
36719 \end_inset
36720
36721
36722 \end_layout
36723
36724 \end_inset
36725 </cell>
36726 <cell alignment="center" valignment="top" usebox="none">
36727 \begin_inset Text
36728
36729 \begin_layout Plain Layout
36730 pull-down box for the environments
36731 \end_layout
36732
36733 \end_inset
36734 </cell>
36735 </row>
36736 </lyxtabular>
36737
36738 \end_inset
36739
36740
36741 \end_layout
36742
36743 \begin_layout Standard
36744 \begin_inset VSpace -10mm
36745 \end_inset
36746
36747
36748 \end_layout
36749
36750 \begin_layout Standard
36751 \align left
36752 \begin_inset Tabular
36753 <lyxtabular version="3" rows="21" columns="2">
36754 <features rotate="0" islongtable="true" longtabularalignment="center">
36755 <column alignment="left" valignment="top" width="0">
36756 <column alignment="left" valignment="top" width="0">
36757 <row interlinespace="2.5mm">
36758 <cell alignment="center" valignment="top" usebox="none">
36759 \begin_inset Text
36760
36761 \begin_layout Plain Layout
36762
36763 \family sans
36764 \begin_inset Info
36765 type  "icon"
36766 arg   "buffer-new"
36767 \end_inset
36768
36769
36770 \end_layout
36771
36772 \end_inset
36773 </cell>
36774 <cell alignment="center" valignment="top" usebox="none">
36775 \begin_inset Text
36776
36777 \begin_layout Plain Layout
36778
36779 \family sans
36780 File\SpecialChar \menuseparator
36781 New
36782 \end_layout
36783
36784 \end_inset
36785 </cell>
36786 </row>
36787 <row interlinespace="2.5mm">
36788 <cell alignment="center" valignment="top" usebox="none">
36789 \begin_inset Text
36790
36791 \begin_layout Plain Layout
36792
36793 \family sans
36794 \begin_inset Info
36795 type  "icon"
36796 arg   "file-open"
36797 \end_inset
36798
36799
36800 \end_layout
36801
36802 \end_inset
36803 </cell>
36804 <cell alignment="center" valignment="top" usebox="none">
36805 \begin_inset Text
36806
36807 \begin_layout Plain Layout
36808
36809 \family sans
36810 File\SpecialChar \menuseparator
36811 Open
36812 \end_layout
36813
36814 \end_inset
36815 </cell>
36816 </row>
36817 <row interlinespace="2.5mm">
36818 <cell alignment="center" valignment="top" usebox="none">
36819 \begin_inset Text
36820
36821 \begin_layout Plain Layout
36822
36823 \family sans
36824 \begin_inset Info
36825 type  "icon"
36826 arg   "buffer-write"
36827 \end_inset
36828
36829
36830 \end_layout
36831
36832 \end_inset
36833 </cell>
36834 <cell alignment="center" valignment="top" usebox="none">
36835 \begin_inset Text
36836
36837 \begin_layout Plain Layout
36838
36839 \family sans
36840 File\SpecialChar \menuseparator
36841 Save
36842 \end_layout
36843
36844 \end_inset
36845 </cell>
36846 </row>
36847 <row interlinespace="2.5mm">
36848 <cell alignment="center" valignment="top" usebox="none">
36849 \begin_inset Text
36850
36851 \begin_layout Plain Layout
36852
36853 \family sans
36854 \begin_inset Info
36855 type  "icon"
36856 arg   "dialog-show print"
36857 \end_inset
36858
36859
36860 \end_layout
36861
36862 \end_inset
36863 </cell>
36864 <cell alignment="center" valignment="top" usebox="none">
36865 \begin_inset Text
36866
36867 \begin_layout Plain Layout
36868
36869 \family sans
36870 File\SpecialChar \menuseparator
36871 Print
36872 \end_layout
36873
36874 \end_inset
36875 </cell>
36876 </row>
36877 <row interlinespace="2.5mm">
36878 <cell alignment="center" valignment="top" usebox="none">
36879 \begin_inset Text
36880
36881 \begin_layout Plain Layout
36882
36883 \family sans
36884 \begin_inset Info
36885 type  "icon"
36886 arg   "dialog-show spellchecker"
36887 \end_inset
36888
36889
36890 \end_layout
36891
36892 \end_inset
36893 </cell>
36894 <cell alignment="center" valignment="top" usebox="none">
36895 \begin_inset Text
36896
36897 \begin_layout Plain Layout
36898
36899 \family sans
36900 Tools\SpecialChar \menuseparator
36901 Spellchecker
36902 \end_layout
36903
36904 \end_inset
36905 </cell>
36906 </row>
36907 <row interlinespace="2.5mm">
36908 <cell alignment="center" valignment="top" usebox="none">
36909 \begin_inset Text
36910
36911 \begin_layout Plain Layout
36912
36913 \family sans
36914 \begin_inset Info
36915 type  "icon"
36916 arg   "undo"
36917 \end_inset
36918
36919
36920 \end_layout
36921
36922 \end_inset
36923 </cell>
36924 <cell alignment="center" valignment="top" usebox="none">
36925 \begin_inset Text
36926
36927 \begin_layout Plain Layout
36928
36929 \family sans
36930 Edit\SpecialChar \menuseparator
36931 Undo
36932 \end_layout
36933
36934 \end_inset
36935 </cell>
36936 </row>
36937 <row interlinespace="2.5mm">
36938 <cell alignment="center" valignment="top" usebox="none">
36939 \begin_inset Text
36940
36941 \begin_layout Plain Layout
36942
36943 \family sans
36944 \begin_inset Info
36945 type  "icon"
36946 arg   "redo"
36947 \end_inset
36948
36949
36950 \end_layout
36951
36952 \end_inset
36953 </cell>
36954 <cell alignment="center" valignment="top" usebox="none">
36955 \begin_inset Text
36956
36957 \begin_layout Plain Layout
36958
36959 \family sans
36960 Edit\SpecialChar \menuseparator
36961 Redo
36962 \end_layout
36963
36964 \end_inset
36965 </cell>
36966 </row>
36967 <row interlinespace="2.5mm">
36968 <cell alignment="center" valignment="top" usebox="none">
36969 \begin_inset Text
36970
36971 \begin_layout Plain Layout
36972
36973 \family sans
36974 \begin_inset Info
36975 type  "icon"
36976 arg   "cut"
36977 \end_inset
36978
36979
36980 \end_layout
36981
36982 \end_inset
36983 </cell>
36984 <cell alignment="center" valignment="top" usebox="none">
36985 \begin_inset Text
36986
36987 \begin_layout Plain Layout
36988
36989 \family sans
36990 Edit\SpecialChar \menuseparator
36991 Cut
36992 \end_layout
36993
36994 \end_inset
36995 </cell>
36996 </row>
36997 <row interlinespace="2.5mm">
36998 <cell alignment="center" valignment="top" usebox="none">
36999 \begin_inset Text
37000
37001 \begin_layout Plain Layout
37002
37003 \family sans
37004 \begin_inset Info
37005 type  "icon"
37006 arg   "copy"
37007 \end_inset
37008
37009
37010 \end_layout
37011
37012 \end_inset
37013 </cell>
37014 <cell alignment="center" valignment="top" usebox="none">
37015 \begin_inset Text
37016
37017 \begin_layout Plain Layout
37018
37019 \family sans
37020 Edit\SpecialChar \menuseparator
37021 Copy
37022 \end_layout
37023
37024 \end_inset
37025 </cell>
37026 </row>
37027 <row interlinespace="2.5mm">
37028 <cell alignment="center" valignment="top" usebox="none">
37029 \begin_inset Text
37030
37031 \begin_layout Plain Layout
37032
37033 \family sans
37034 \begin_inset Info
37035 type  "icon"
37036 arg   "paste"
37037 \end_inset
37038
37039
37040 \end_layout
37041
37042 \end_inset
37043 </cell>
37044 <cell alignment="center" valignment="top" usebox="none">
37045 \begin_inset Text
37046
37047 \begin_layout Plain Layout
37048
37049 \family sans
37050 Edit\SpecialChar \menuseparator
37051 Paste
37052 \end_layout
37053
37054 \end_inset
37055 </cell>
37056 </row>
37057 <row interlinespace="2.5mm">
37058 <cell alignment="center" valignment="top" usebox="none">
37059 \begin_inset Text
37060
37061 \begin_layout Plain Layout
37062
37063 \family sans
37064 \begin_inset Info
37065 type  "icon"
37066 arg   "dialog-show findreplace"
37067 \end_inset
37068
37069
37070 \end_layout
37071
37072 \end_inset
37073 </cell>
37074 <cell alignment="center" valignment="top" usebox="none">
37075 \begin_inset Text
37076
37077 \begin_layout Plain Layout
37078
37079 \family sans
37080 Edit\SpecialChar \menuseparator
37081 Find
37082 \begin_inset space \thinspace{}
37083 \end_inset
37084
37085 &
37086 \begin_inset space \thinspace{}
37087 \end_inset
37088
37089 Replace
37090 \end_layout
37091
37092 \end_inset
37093 </cell>
37094 </row>
37095 <row interlinespace="2.5mm">
37096 <cell alignment="center" valignment="top" usebox="none">
37097 \begin_inset Text
37098
37099 \begin_layout Plain Layout
37100
37101 \family sans
37102 \begin_inset Info
37103 type  "icon"
37104 arg   "bookmark-goto 0"
37105 \end_inset
37106
37107
37108 \end_layout
37109
37110 \end_inset
37111 </cell>
37112 <cell alignment="center" valignment="top" usebox="none">
37113 \begin_inset Text
37114
37115 \begin_layout Plain Layout
37116
37117 \family sans
37118 Navigate\SpecialChar \menuseparator
37119 Bookmarks\SpecialChar \menuseparator
37120 Navigate Back
37121 \end_layout
37122
37123 \end_inset
37124 </cell>
37125 </row>
37126 <row interlinespace="2.5mm">
37127 <cell alignment="center" valignment="top" usebox="none">
37128 \begin_inset Text
37129
37130 \begin_layout Plain Layout
37131
37132 \family sans
37133 \begin_inset Info
37134 type  "icon"
37135 arg   "font-emph"
37136 \end_inset
37137
37138
37139 \end_layout
37140
37141 \end_inset
37142 </cell>
37143 <cell alignment="center" valignment="top" usebox="none">
37144 \begin_inset Text
37145
37146 \begin_layout Plain Layout
37147 Emphasize text, function of the 
37148 \family sans
37149 Edit\SpecialChar \menuseparator
37150 Text
37151 \begin_inset space ~
37152 \end_inset
37153
37154 Style
37155 \family default
37156  dialog
37157 \end_layout
37158
37159 \end_inset
37160 </cell>
37161 </row>
37162 <row interlinespace="2.5mm">
37163 <cell alignment="center" valignment="top" usebox="none">
37164 \begin_inset Text
37165
37166 \begin_layout Plain Layout
37167
37168 \family sans
37169 \begin_inset Info
37170 type  "icon"
37171 arg   "font-noun"
37172 \end_inset
37173
37174
37175 \end_layout
37176
37177 \end_inset
37178 </cell>
37179 <cell alignment="center" valignment="top" usebox="none">
37180 \begin_inset Text
37181
37182 \begin_layout Plain Layout
37183 Set text to noun style, function of the 
37184 \family sans
37185 Edit\SpecialChar \menuseparator
37186 Text
37187 \begin_inset space ~
37188 \end_inset
37189
37190 Style
37191 \family default
37192  dialog
37193 \end_layout
37194
37195 \end_inset
37196 </cell>
37197 </row>
37198 <row interlinespace="2.5mm">
37199 <cell alignment="center" valignment="top" usebox="none">
37200 \begin_inset Text
37201
37202 \begin_layout Plain Layout
37203
37204 \family sans
37205 \begin_inset Info
37206 type  "icon"
37207 arg   "textstyle-apply"
37208 \end_inset
37209
37210
37211 \end_layout
37212
37213 \end_inset
37214 </cell>
37215 <cell alignment="center" valignment="top" usebox="none">
37216 \begin_inset Text
37217
37218 \begin_layout Plain Layout
37219 Formats text using the current settings in the 
37220 \family sans
37221 Edit\SpecialChar \menuseparator
37222 Text
37223 \begin_inset space ~
37224 \end_inset
37225
37226 Style
37227 \family default
37228  dialog
37229 \end_layout
37230
37231 \end_inset
37232 </cell>
37233 </row>
37234 <row interlinespace="2.5mm">
37235 <cell alignment="center" valignment="top" usebox="none">
37236 \begin_inset Text
37237
37238 \begin_layout Plain Layout
37239
37240 \family sans
37241 \begin_inset Info
37242 type  "icon"
37243 arg   "math-mode"
37244 \end_inset
37245
37246
37247 \end_layout
37248
37249 \end_inset
37250 </cell>
37251 <cell alignment="center" valignment="top" usebox="none">
37252 \begin_inset Text
37253
37254 \begin_layout Plain Layout
37255
37256 \family sans
37257 Insert\SpecialChar \menuseparator
37258 Math\SpecialChar \menuseparator
37259 Inline
37260 \begin_inset space ~
37261 \end_inset
37262
37263 Formula
37264 \end_layout
37265
37266 \end_inset
37267 </cell>
37268 </row>
37269 <row interlinespace="2.5mm">
37270 <cell alignment="center" valignment="top" usebox="none">
37271 \begin_inset Text
37272
37273 \begin_layout Plain Layout
37274
37275 \family sans
37276 \begin_inset Info
37277 type  "icon"
37278 arg   "dialog-show-new-inset graphics"
37279 \end_inset
37280
37281
37282 \end_layout
37283
37284 \end_inset
37285 </cell>
37286 <cell alignment="center" valignment="top" usebox="none">
37287 \begin_inset Text
37288
37289 \begin_layout Plain Layout
37290
37291 \family sans
37292 Insert\SpecialChar \menuseparator
37293 Graphics
37294 \end_layout
37295
37296 \end_inset
37297 </cell>
37298 </row>
37299 <row interlinespace="2.5mm">
37300 <cell alignment="center" valignment="top" usebox="none">
37301 \begin_inset Text
37302
37303 \begin_layout Plain Layout
37304 \begin_inset Info
37305 type  "icon"
37306 arg   "tabular-insert"
37307 \end_inset
37308
37309
37310 \end_layout
37311
37312 \end_inset
37313 </cell>
37314 <cell alignment="center" valignment="top" usebox="none">
37315 \begin_inset Text
37316
37317 \begin_layout Plain Layout
37318
37319 \family sans
37320 Insert\SpecialChar \menuseparator
37321 Table
37322 \end_layout
37323
37324 \end_inset
37325 </cell>
37326 </row>
37327 <row interlinespace="2.5mm">
37328 <cell alignment="center" valignment="top" usebox="none">
37329 \begin_inset Text
37330
37331 \begin_layout Plain Layout
37332
37333 \family sans
37334 \begin_inset Info
37335 type  "icon"
37336 arg   "dialog-toggle toc"
37337 \end_inset
37338
37339
37340 \end_layout
37341
37342 \end_inset
37343 </cell>
37344 <cell alignment="center" valignment="top" usebox="none">
37345 \begin_inset Text
37346
37347 \begin_layout Plain Layout
37348 Toggle outline window on/off, 
37349 \family sans
37350 Document\SpecialChar \menuseparator
37351 Outline
37352 \end_layout
37353
37354 \end_inset
37355 </cell>
37356 </row>
37357 <row interlinespace="2.5mm">
37358 <cell alignment="center" valignment="top" usebox="none">
37359 \begin_inset Text
37360
37361 \begin_layout Plain Layout
37362
37363 \family sans
37364 \begin_inset Info
37365 type  "icon"
37366 arg   "toolbar-toggle math"
37367 \end_inset
37368
37369
37370 \end_layout
37371
37372 \end_inset
37373 </cell>
37374 <cell alignment="center" valignment="top" usebox="none">
37375 \begin_inset Text
37376
37377 \begin_layout Plain Layout
37378 Toggle math toolbar on/off
37379 \end_layout
37380
37381 \end_inset
37382 </cell>
37383 </row>
37384 <row interlinespace="2.5mm">
37385 <cell alignment="center" valignment="top" usebox="none">
37386 \begin_inset Text
37387
37388 \begin_layout Plain Layout
37389
37390 \family sans
37391 \begin_inset Info
37392 type  "icon"
37393 arg   "toolbar-toggle table"
37394 \end_inset
37395
37396
37397 \end_layout
37398
37399 \end_inset
37400 </cell>
37401 <cell alignment="center" valignment="top" usebox="none">
37402 \begin_inset Text
37403
37404 \begin_layout Plain Layout
37405 Toggle table toolbar on/off
37406 \end_layout
37407
37408 \end_inset
37409 </cell>
37410 </row>
37411 </lyxtabular>
37412
37413 \end_inset
37414
37415
37416 \end_layout
37417
37418 \begin_layout Subsection
37419 Extra Toolbar
37420 \begin_inset Index idx
37421 status collapsed
37422
37423 \begin_layout Plain Layout
37424 Toolbar ! Extra
37425 \end_layout
37426
37427 \end_inset
37428
37429
37430 \end_layout
37431
37432 \begin_layout Standard
37433 \begin_inset Graphics
37434         filename clipart/ExtraToolbar.png
37435         width 100col%
37436
37437 \end_inset
37438
37439
37440 \end_layout
37441
37442 \begin_layout Standard
37443 \begin_inset VSpace defskip
37444 \end_inset
37445
37446
37447 \end_layout
37448
37449 \begin_layout Standard
37450 The extra toolbar as shown above contains from left to right the following
37451  buttons:
37452 \end_layout
37453
37454 \begin_layout Standard
37455 \begin_inset VSpace defskip
37456 \end_inset
37457
37458
37459 \end_layout
37460
37461 \begin_layout Standard
37462 \begin_inset Tabular
37463 <lyxtabular version="3" rows="25" columns="2">
37464 <features rotate="0" islongtable="true" longtabularalignment="center">
37465 <column alignment="left" valignment="top" width="0">
37466 <column alignment="left" valignment="top" width="0">
37467 <row interlinespace="2.5mm">
37468 <cell alignment="center" valignment="top" usebox="none">
37469 \begin_inset Text
37470
37471 \begin_layout Plain Layout
37472
37473 \family sans
37474 \begin_inset Info
37475 type  "icon"
37476 arg   "layout"
37477 \end_inset
37478
37479
37480 \end_layout
37481
37482 \end_inset
37483 </cell>
37484 <cell alignment="center" valignment="top" usebox="none">
37485 \begin_inset Text
37486
37487 \begin_layout Plain Layout
37488 Default
37489 \end_layout
37490
37491 \end_inset
37492 </cell>
37493 </row>
37494 <row interlinespace="2.5mm">
37495 <cell alignment="center" valignment="top" usebox="none">
37496 \begin_inset Text
37497
37498 \begin_layout Plain Layout
37499
37500 \family sans
37501 \begin_inset Info
37502 type  "icon"
37503 arg   "layout Enumerate"
37504 \end_inset
37505
37506
37507 \end_layout
37508
37509 \end_inset
37510 </cell>
37511 <cell alignment="center" valignment="top" usebox="none">
37512 \begin_inset Text
37513
37514 \begin_layout Plain Layout
37515 Numbered list
37516 \end_layout
37517
37518 \end_inset
37519 </cell>
37520 </row>
37521 <row interlinespace="2.5mm">
37522 <cell alignment="center" valignment="top" usebox="none">
37523 \begin_inset Text
37524
37525 \begin_layout Plain Layout
37526
37527 \family sans
37528 \begin_inset Info
37529 type  "icon"
37530 arg   "layout Itemize"
37531 \end_inset
37532
37533
37534 \end_layout
37535
37536 \end_inset
37537 </cell>
37538 <cell alignment="center" valignment="top" usebox="none">
37539 \begin_inset Text
37540
37541 \begin_layout Plain Layout
37542 Itemized list
37543 \end_layout
37544
37545 \end_inset
37546 </cell>
37547 </row>
37548 <row interlinespace="2.5mm">
37549 <cell alignment="center" valignment="top" usebox="none">
37550 \begin_inset Text
37551
37552 \begin_layout Plain Layout
37553
37554 \family sans
37555 \begin_inset Info
37556 type  "icon"
37557 arg   "layout List"
37558 \end_inset
37559
37560
37561 \end_layout
37562
37563 \end_inset
37564 </cell>
37565 <cell alignment="center" valignment="top" usebox="none">
37566 \begin_inset Text
37567
37568 \begin_layout Plain Layout
37569 List
37570 \end_layout
37571
37572 \end_inset
37573 </cell>
37574 </row>
37575 <row interlinespace="2.5mm">
37576 <cell alignment="center" valignment="top" usebox="none">
37577 \begin_inset Text
37578
37579 \begin_layout Plain Layout
37580
37581 \family sans
37582 \begin_inset Info
37583 type  "icon"
37584 arg   "layout Description"
37585 \end_inset
37586
37587
37588 \end_layout
37589
37590 \end_inset
37591 </cell>
37592 <cell alignment="center" valignment="top" usebox="none">
37593 \begin_inset Text
37594
37595 \begin_layout Plain Layout
37596 Description list
37597 \end_layout
37598
37599 \end_inset
37600 </cell>
37601 </row>
37602 <row interlinespace="2.5mm">
37603 <cell alignment="center" valignment="top" usebox="none">
37604 \begin_inset Text
37605
37606 \begin_layout Plain Layout
37607
37608 \family sans
37609 \begin_inset Info
37610 type  "icon"
37611 arg   "depth-increment"
37612 \end_inset
37613
37614
37615 \end_layout
37616
37617 \end_inset
37618 </cell>
37619 <cell alignment="center" valignment="top" usebox="none">
37620 \begin_inset Text
37621
37622 \begin_layout Plain Layout
37623
37624 \family sans
37625 Edit\SpecialChar \menuseparator
37626 Increase
37627 \begin_inset space ~
37628 \end_inset
37629
37630 List
37631 \begin_inset space ~
37632 \end_inset
37633
37634 Depth
37635 \end_layout
37636
37637 \end_inset
37638 </cell>
37639 </row>
37640 <row interlinespace="2.5mm">
37641 <cell alignment="center" valignment="top" usebox="none">
37642 \begin_inset Text
37643
37644 \begin_layout Plain Layout
37645
37646 \family sans
37647 \begin_inset Info
37648 type  "icon"
37649 arg   "depth-decrement"
37650 \end_inset
37651
37652
37653 \end_layout
37654
37655 \end_inset
37656 </cell>
37657 <cell alignment="center" valignment="top" usebox="none">
37658 \begin_inset Text
37659
37660 \begin_layout Plain Layout
37661
37662 \family sans
37663 Edit\SpecialChar \menuseparator
37664 Decrease
37665 \begin_inset space ~
37666 \end_inset
37667
37668 List
37669 \begin_inset space ~
37670 \end_inset
37671
37672 Depth
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   "float-insert figure"
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 Insert\SpecialChar \menuseparator
37702 Float\SpecialChar \menuseparator
37703 Figure
37704 \end_layout
37705
37706 \end_inset
37707 </cell>
37708 </row>
37709 <row interlinespace="2.5mm">
37710 <cell alignment="center" valignment="top" usebox="none">
37711 \begin_inset Text
37712
37713 \begin_layout Plain Layout
37714
37715 \family sans
37716 \begin_inset Info
37717 type  "icon"
37718 arg   "float-insert table"
37719 \end_inset
37720
37721
37722 \end_layout
37723
37724 \end_inset
37725 </cell>
37726 <cell alignment="center" valignment="top" usebox="none">
37727 \begin_inset Text
37728
37729 \begin_layout Plain Layout
37730
37731 \family sans
37732 Insert\SpecialChar \menuseparator
37733 Float\SpecialChar \menuseparator
37734 Table
37735 \end_layout
37736
37737 \end_inset
37738 </cell>
37739 </row>
37740 <row interlinespace="2.5mm">
37741 <cell alignment="center" valignment="top" usebox="none">
37742 \begin_inset Text
37743
37744 \begin_layout Plain Layout
37745
37746 \family sans
37747 \begin_inset Info
37748 type  "icon"
37749 arg   "label-insert"
37750 \end_inset
37751
37752
37753 \end_layout
37754
37755 \end_inset
37756 </cell>
37757 <cell alignment="center" valignment="top" usebox="none">
37758 \begin_inset Text
37759
37760 \begin_layout Plain Layout
37761
37762 \family sans
37763 Insert\SpecialChar \menuseparator
37764 Label
37765 \end_layout
37766
37767 \end_inset
37768 </cell>
37769 </row>
37770 <row interlinespace="2.5mm">
37771 <cell alignment="center" valignment="top" usebox="none">
37772 \begin_inset Text
37773
37774 \begin_layout Plain Layout
37775
37776 \family sans
37777 \begin_inset Info
37778 type  "icon"
37779 arg   "dialog-show-new-inset ref"
37780 \end_inset
37781
37782
37783 \end_layout
37784
37785 \end_inset
37786 </cell>
37787 <cell alignment="center" valignment="top" usebox="none">
37788 \begin_inset Text
37789
37790 \begin_layout Plain Layout
37791
37792 \family sans
37793 Insert\SpecialChar \menuseparator
37794 Cross-Reference
37795 \end_layout
37796
37797 \end_inset
37798 </cell>
37799 </row>
37800 <row interlinespace="2.5mm">
37801 <cell alignment="center" valignment="top" usebox="none">
37802 \begin_inset Text
37803
37804 \begin_layout Plain Layout
37805
37806 \family sans
37807 \begin_inset Info
37808 type  "icon"
37809 arg   "dialog-show-new-inset citation"
37810 \end_inset
37811
37812
37813 \end_layout
37814
37815 \end_inset
37816 </cell>
37817 <cell alignment="center" valignment="top" usebox="none">
37818 \begin_inset Text
37819
37820 \begin_layout Plain Layout
37821
37822 \family sans
37823 Insert\SpecialChar \menuseparator
37824 Citation
37825 \end_layout
37826
37827 \end_inset
37828 </cell>
37829 </row>
37830 <row interlinespace="2.5mm">
37831 <cell alignment="center" valignment="top" usebox="none">
37832 \begin_inset Text
37833
37834 \begin_layout Plain Layout
37835
37836 \family sans
37837 \begin_inset Info
37838 type  "icon"
37839 arg   "index-insert"
37840 \end_inset
37841
37842
37843 \end_layout
37844
37845 \end_inset
37846 </cell>
37847 <cell alignment="center" valignment="top" usebox="none">
37848 \begin_inset Text
37849
37850 \begin_layout Plain Layout
37851
37852 \family sans
37853 Insert\SpecialChar \menuseparator
37854 Index
37855 \begin_inset space ~
37856 \end_inset
37857
37858 Entry
37859 \end_layout
37860
37861 \end_inset
37862 </cell>
37863 </row>
37864 <row interlinespace="2.5mm">
37865 <cell alignment="center" valignment="top" usebox="none">
37866 \begin_inset Text
37867
37868 \begin_layout Plain Layout
37869
37870 \family sans
37871 \begin_inset Info
37872 type  "icon"
37873 arg   "nomencl-insert"
37874 \end_inset
37875
37876
37877 \end_layout
37878
37879 \end_inset
37880 </cell>
37881 <cell alignment="center" valignment="top" usebox="none">
37882 \begin_inset Text
37883
37884 \begin_layout Plain Layout
37885
37886 \family sans
37887 Insert\SpecialChar \menuseparator
37888 Nomenclature
37889 \begin_inset space ~
37890 \end_inset
37891
37892 Entry
37893 \end_layout
37894
37895 \end_inset
37896 </cell>
37897 </row>
37898 <row interlinespace="2.5mm">
37899 <cell alignment="center" valignment="top" usebox="none">
37900 \begin_inset Text
37901
37902 \begin_layout Plain Layout
37903
37904 \family sans
37905 \begin_inset Info
37906 type  "icon"
37907 arg   "footnote-insert"
37908 \end_inset
37909
37910
37911 \end_layout
37912
37913 \end_inset
37914 </cell>
37915 <cell alignment="center" valignment="top" usebox="none">
37916 \begin_inset Text
37917
37918 \begin_layout Plain Layout
37919
37920 \family sans
37921 Insert\SpecialChar \menuseparator
37922 Footnote
37923 \end_layout
37924
37925 \end_inset
37926 </cell>
37927 </row>
37928 <row interlinespace="2.5mm">
37929 <cell alignment="center" valignment="top" usebox="none">
37930 \begin_inset Text
37931
37932 \begin_layout Plain Layout
37933
37934 \family sans
37935 \begin_inset Info
37936 type  "icon"
37937 arg   "marginalnote-insert"
37938 \end_inset
37939
37940
37941 \end_layout
37942
37943 \end_inset
37944 </cell>
37945 <cell alignment="center" valignment="top" usebox="none">
37946 \begin_inset Text
37947
37948 \begin_layout Plain Layout
37949
37950 \family sans
37951 Insert\SpecialChar \menuseparator
37952 Marginal
37953 \begin_inset space ~
37954 \end_inset
37955
37956 Note
37957 \end_layout
37958
37959 \end_inset
37960 </cell>
37961 </row>
37962 <row interlinespace="2.5mm">
37963 <cell alignment="center" valignment="top" usebox="none">
37964 \begin_inset Text
37965
37966 \begin_layout Plain Layout
37967
37968 \family sans
37969 \begin_inset Info
37970 type  "icon"
37971 arg   "note-insert"
37972 \end_inset
37973
37974
37975 \end_layout
37976
37977 \end_inset
37978 </cell>
37979 <cell alignment="center" valignment="top" usebox="none">
37980 \begin_inset Text
37981
37982 \begin_layout Plain Layout
37983
37984 \family sans
37985 Insert\SpecialChar \menuseparator
37986 Note\SpecialChar \menuseparator
37987 LyX
37988 \begin_inset space ~
37989 \end_inset
37990
37991 Note
37992 \end_layout
37993
37994 \end_inset
37995 </cell>
37996 </row>
37997 <row interlinespace="2.5mm">
37998 <cell alignment="center" valignment="top" usebox="none">
37999 \begin_inset Text
38000
38001 \begin_layout Plain Layout
38002
38003 \family sans
38004 \begin_inset Info
38005 type  "icon"
38006 arg   "box-insert Frameless"
38007 \end_inset
38008
38009
38010 \end_layout
38011
38012 \end_inset
38013 </cell>
38014 <cell alignment="center" valignment="top" usebox="none">
38015 \begin_inset Text
38016
38017 \begin_layout Plain Layout
38018
38019 \family sans
38020 Insert\SpecialChar \menuseparator
38021 Box
38022 \end_layout
38023
38024 \end_inset
38025 </cell>
38026 </row>
38027 <row interlinespace="2.5mm">
38028 <cell alignment="center" valignment="top" usebox="none">
38029 \begin_inset Text
38030
38031 \begin_layout Plain Layout
38032
38033 \family sans
38034 \begin_inset Info
38035 type  "icon"
38036 arg   "href-insert"
38037 \end_inset
38038
38039
38040 \end_layout
38041
38042 \end_inset
38043 </cell>
38044 <cell alignment="center" valignment="top" usebox="none">
38045 \begin_inset Text
38046
38047 \begin_layout Plain Layout
38048
38049 \family sans
38050 Insert\SpecialChar \menuseparator
38051 URL
38052 \end_layout
38053
38054 \end_inset
38055 </cell>
38056 </row>
38057 <row interlinespace="2.5mm">
38058 <cell alignment="center" valignment="top" usebox="none">
38059 \begin_inset Text
38060
38061 \begin_layout Plain Layout
38062
38063 \family sans
38064 \begin_inset Info
38065 type  "icon"
38066 arg   "ert-insert"
38067 \end_inset
38068
38069
38070 \end_layout
38071
38072 \end_inset
38073 </cell>
38074 <cell alignment="center" valignment="top" usebox="none">
38075 \begin_inset Text
38076
38077 \begin_layout Plain Layout
38078
38079 \family sans
38080 Insert\SpecialChar \menuseparator
38081 T
38082 \family default
38083
38084 \begin_inset ERT
38085 status collapsed
38086
38087 \begin_layout Plain Layout
38088
38089 {}
38090 \end_layout
38091
38092 \end_inset
38093
38094
38095 \family sans
38096 eX
38097 \begin_inset space ~
38098 \end_inset
38099
38100 Code
38101 \end_layout
38102
38103 \end_inset
38104 </cell>
38105 </row>
38106 <row interlinespace="2.5mm">
38107 <cell alignment="center" valignment="top" usebox="none">
38108 \begin_inset Text
38109
38110 \begin_layout Plain Layout
38111
38112 \family sans
38113 \begin_inset Info
38114 type  "icon"
38115 arg   "math-macro newmacroname newcommand"
38116 \end_inset
38117
38118
38119 \end_layout
38120
38121 \end_inset
38122 </cell>
38123 <cell alignment="center" valignment="top" usebox="none">
38124 \begin_inset Text
38125
38126 \begin_layout Plain Layout
38127
38128 \family sans
38129 Insert\SpecialChar \menuseparator
38130 Math\SpecialChar \menuseparator
38131 Macro
38132 \end_layout
38133
38134 \end_inset
38135 </cell>
38136 </row>
38137 <row interlinespace="2.5mm">
38138 <cell alignment="center" valignment="top" usebox="none">
38139 \begin_inset Text
38140
38141 \begin_layout Plain Layout
38142
38143 \family sans
38144 \begin_inset Info
38145 type  "icon"
38146 arg   "dialog-show-new-inset include"
38147 \end_inset
38148
38149
38150 \end_layout
38151
38152 \end_inset
38153 </cell>
38154 <cell alignment="center" valignment="top" usebox="none">
38155 \begin_inset Text
38156
38157 \begin_layout Plain Layout
38158
38159 \family sans
38160 Insert\SpecialChar \menuseparator
38161 File\SpecialChar \menuseparator
38162 Child
38163 \begin_inset space ~
38164 \end_inset
38165
38166 Document
38167 \end_layout
38168
38169 \end_inset
38170 </cell>
38171 </row>
38172 <row interlinespace="2.5mm">
38173 <cell alignment="center" valignment="top" usebox="none">
38174 \begin_inset Text
38175
38176 \begin_layout Plain Layout
38177
38178 \family sans
38179 \begin_inset Info
38180 type  "icon"
38181 arg   "dialog-show character"
38182 \end_inset
38183
38184
38185 \end_layout
38186
38187 \end_inset
38188 </cell>
38189 <cell alignment="center" valignment="top" usebox="none">
38190 \begin_inset Text
38191
38192 \begin_layout Plain Layout
38193
38194 \family sans
38195 Edit\SpecialChar \menuseparator
38196 Text
38197 \begin_inset space ~
38198 \end_inset
38199
38200 Style
38201 \end_layout
38202
38203 \end_inset
38204 </cell>
38205 </row>
38206 <row interlinespace="2.5mm">
38207 <cell alignment="center" valignment="top" usebox="none">
38208 \begin_inset Text
38209
38210 \begin_layout Plain Layout
38211
38212 \family sans
38213 \begin_inset Info
38214 type  "icon"
38215 arg   "layout-paragraph"
38216 \end_inset
38217
38218
38219 \end_layout
38220
38221 \end_inset
38222 </cell>
38223 <cell alignment="center" valignment="top" usebox="none">
38224 \begin_inset Text
38225
38226 \begin_layout Plain Layout
38227
38228 \family sans
38229 Edit\SpecialChar \menuseparator
38230 Paragraph
38231 \begin_inset space ~
38232 \end_inset
38233
38234 Settings
38235 \end_layout
38236
38237 \end_inset
38238 </cell>
38239 </row>
38240 <row interlinespace="2.5mm">
38241 <cell alignment="center" valignment="top" usebox="none">
38242 \begin_inset Text
38243
38244 \begin_layout Plain Layout
38245
38246 \family sans
38247 \begin_inset Info
38248 type  "icon"
38249 arg   "thesaurus-entry"
38250 \end_inset
38251
38252
38253 \end_layout
38254
38255 \end_inset
38256 </cell>
38257 <cell alignment="center" valignment="top" usebox="none">
38258 \begin_inset Text
38259
38260 \begin_layout Plain Layout
38261
38262 \family sans
38263 Tools\SpecialChar \menuseparator
38264 Thesaurus
38265 \end_layout
38266
38267 \end_inset
38268 </cell>
38269 </row>
38270 </lyxtabular>
38271
38272 \end_inset
38273
38274
38275 \end_layout
38276
38277 \begin_layout Subsection
38278 View / Update Toolbar
38279 \begin_inset Index idx
38280 status collapsed
38281
38282 \begin_layout Plain Layout
38283 Toolbar ! View / Update
38284 \end_layout
38285
38286 \end_inset
38287
38288
38289 \end_layout
38290
38291 \begin_layout Standard
38292 \begin_inset Graphics
38293         filename clipart/ViewToolbar.png
38294
38295 \end_inset
38296
38297
38298 \end_layout
38299
38300 \begin_layout Standard
38301 \begin_inset VSpace defskip
38302 \end_inset
38303
38304
38305 \end_layout
38306
38307 \begin_layout Standard
38308 The view / update toolbar as shown above contains from left to right the
38309  following buttons:
38310 \end_layout
38311
38312 \begin_layout Standard
38313 \begin_inset VSpace defskip
38314 \end_inset
38315
38316
38317 \end_layout
38318
38319 \begin_layout Standard
38320 \begin_inset Tabular
38321 <lyxtabular version="3" rows="7" columns="2">
38322 <features rotate="0" islongtable="true" longtabularalignment="center">
38323 <column alignment="left" valignment="top" width="0">
38324 <column alignment="left" valignment="top" width="0">
38325 <row interlinespace="2.5mm">
38326 <cell alignment="center" valignment="top" usebox="none">
38327 \begin_inset Text
38328
38329 \begin_layout Plain Layout
38330
38331 \family sans
38332 \begin_inset Info
38333 type  "icon"
38334 arg   "buffer-view"
38335 \end_inset
38336
38337
38338 \end_layout
38339
38340 \end_inset
38341 </cell>
38342 <cell alignment="center" valignment="top" usebox="none">
38343 \begin_inset Text
38344
38345 \begin_layout Plain Layout
38346
38347 \family sans
38348 View\SpecialChar \menuseparator
38349 View
38350 \end_layout
38351
38352 \end_inset
38353 </cell>
38354 </row>
38355 <row interlinespace="2.5mm">
38356 <cell alignment="center" valignment="top" usebox="none">
38357 \begin_inset Text
38358
38359 \begin_layout Plain Layout
38360
38361 \family sans
38362 \begin_inset Info
38363 type  "icon"
38364 arg   "buffer-update"
38365 \end_inset
38366
38367
38368 \end_layout
38369
38370 \end_inset
38371 </cell>
38372 <cell alignment="center" valignment="top" usebox="none">
38373 \begin_inset Text
38374
38375 \begin_layout Plain Layout
38376
38377 \family sans
38378 View\SpecialChar \menuseparator
38379 Update
38380 \end_layout
38381
38382 \end_inset
38383 </cell>
38384 </row>
38385 <row interlinespace="2.5mm">
38386 <cell alignment="center" valignment="top" usebox="none">
38387 \begin_inset Text
38388
38389 \begin_layout Plain Layout
38390
38391 \family sans
38392 \begin_inset Info
38393 type  "icon"
38394 arg   "master-buffer-view"
38395 \end_inset
38396
38397
38398 \end_layout
38399
38400 \end_inset
38401 </cell>
38402 <cell alignment="center" valignment="top" usebox="none">
38403 \begin_inset Text
38404
38405 \begin_layout Plain Layout
38406
38407 \family sans
38408 View\SpecialChar \menuseparator
38409 Master
38410 \end_layout
38411
38412 \end_inset
38413 </cell>
38414 </row>
38415 <row interlinespace="2.5mm">
38416 <cell alignment="center" valignment="top" usebox="none">
38417 \begin_inset Text
38418
38419 \begin_layout Plain Layout
38420
38421 \family sans
38422 \begin_inset Info
38423 type  "icon"
38424 arg   "master-buffer-update"
38425 \end_inset
38426
38427
38428 \end_layout
38429
38430 \end_inset
38431 </cell>
38432 <cell alignment="center" valignment="top" usebox="none">
38433 \begin_inset Text
38434
38435 \begin_layout Plain Layout
38436
38437 \family sans
38438 View\SpecialChar \menuseparator
38439 Update
38440 \begin_inset space ~
38441 \end_inset
38442
38443 Master
38444 \end_layout
38445
38446 \end_inset
38447 </cell>
38448 </row>
38449 <row interlinespace="2.5mm">
38450 <cell alignment="center" valignment="top" usebox="none">
38451 \begin_inset Text
38452
38453 \begin_layout Plain Layout
38454
38455 \family sans
38456 \begin_inset Info
38457 type  "icon"
38458 arg   "buffer-toggle-output-sync"
38459 \end_inset
38460
38461
38462 \end_layout
38463
38464 \end_inset
38465 </cell>
38466 <cell alignment="center" valignment="top" usebox="none">
38467 \begin_inset Text
38468
38469 \begin_layout Plain Layout
38470
38471 \family sans
38472 Document\SpecialChar \menuseparator
38473 Settings\SpecialChar \menuseparator
38474 Output\SpecialChar \menuseparator
38475 Synchronize with Output
38476 \end_layout
38477
38478 \end_inset
38479 </cell>
38480 </row>
38481 <row interlinespace="2.5mm">
38482 <cell alignment="center" valignment="top" usebox="none">
38483 \begin_inset Text
38484
38485 \begin_layout Plain Layout
38486 \begin_inset Graphics
38487         filename ../images/view-others.png
38488         scale 85
38489         groupId toolbarbuttons
38490
38491 \end_inset
38492
38493
38494 \family sans
38495 *
38496 \end_layout
38497
38498 \end_inset
38499 </cell>
38500 <cell alignment="center" valignment="top" usebox="none">
38501 \begin_inset Text
38502
38503 \begin_layout Plain Layout
38504
38505 \family sans
38506 View\SpecialChar \menuseparator
38507 View (Other Formats)
38508 \end_layout
38509
38510 \end_inset
38511 </cell>
38512 </row>
38513 <row interlinespace="2.5mm">
38514 <cell alignment="center" valignment="top" usebox="none">
38515 \begin_inset Text
38516
38517 \begin_layout Plain Layout
38518 \begin_inset Graphics
38519         filename ../images/update-others.png
38520         scale 85
38521         groupId toolbarbuttons
38522
38523 \end_inset
38524
38525 *
38526 \end_layout
38527
38528 \end_inset
38529 </cell>
38530 <cell alignment="center" valignment="top" usebox="none">
38531 \begin_inset Text
38532
38533 \begin_layout Plain Layout
38534
38535 \family sans
38536 View\SpecialChar \menuseparator
38537 Update (Other Formats)
38538 \end_layout
38539
38540 \end_inset
38541 </cell>
38542 </row>
38543 </lyxtabular>
38544
38545 \end_inset
38546
38547
38548 \end_layout
38549
38550 \begin_layout Standard
38551 * These icons might look different for you if you do not use the default
38552  icon set.
38553 \end_layout
38554
38555 \begin_layout Subsection
38556 Other Toolbars
38557 \end_layout
38558
38559 \begin_layout Standard
38560 The change tracking toolbar is explained in section
38561 \begin_inset space ~
38562 \end_inset
38563
38564
38565 \begin_inset CommandInset ref
38566 LatexCommand ref
38567 reference "sec:Change-Tracking"
38568
38569 \end_inset
38570
38571 , the table toolbar
38572 \begin_inset Index idx
38573 status collapsed
38574
38575 \begin_layout Plain Layout
38576 Toolbar ! Table
38577 \end_layout
38578
38579 \end_inset
38580
38581  in the 
38582 \emph on
38583 Embedded
38584 \begin_inset space ~
38585 \end_inset
38586
38587 Objects
38588 \emph default
38589  manual, the math macro toolbar
38590 \begin_inset Index idx
38591 status collapsed
38592
38593 \begin_layout Plain Layout
38594 Toolbar ! Macro
38595 \end_layout
38596
38597 \end_inset
38598
38599  in the 
38600 \emph on
38601 Math
38602 \emph default
38603  manual.
38604 \end_layout
38605
38606 \begin_layout Chapter
38607 The Document Settings
38608 \begin_inset CommandInset label
38609 LatexCommand label
38610 name "chap:The-Document-Settings"
38611
38612 \end_inset
38613
38614
38615 \begin_inset Index idx
38616 status collapsed
38617
38618 \begin_layout Plain Layout
38619 Document ! Settings
38620 \end_layout
38621
38622 \end_inset
38623
38624
38625 \end_layout
38626
38627 \begin_layout Standard
38628 The document settings dialog contains submenus to set properties for the
38629  whole document and is called with the menu
38630 \family sans
38631  Document\SpecialChar \menuseparator
38632 Settings
38633 \family default
38634 .
38635  You can save your document settings as default with the
38636 \family sans
38637  Save as Document Defaults
38638 \family default
38639  button in the dialog.
38640  This will create a template named 
38641 \family typewriter
38642 defaults.lyx
38643 \family default
38644  which is automatically loaded by LyX when you create a new document without
38645  using a template.
38646 \end_layout
38647
38648 \begin_layout Standard
38649 The button 
38650 \family sans
38651 Use Class Defaults
38652 \family default
38653  resets the document settings to the default of the document class.
38654  This affects mostly class options, the page layout and Numbering & TOC.
38655 \end_layout
38656
38657 \begin_layout Standard
38658 The different submenus of the dialog are explained in the following sections.
38659 \end_layout
38660
38661 \begin_layout Section
38662 Document Class
38663 \end_layout
38664
38665 \begin_layout Standard
38666 Here you set the document class, class options, a graphics driver, and a
38667  master document.
38668  Document classes are described in section
38669 \begin_inset space ~
38670 \end_inset
38671
38672
38673 \begin_inset CommandInset ref
38674 LatexCommand ref
38675 reference "sec:Document-Classes"
38676
38677 \end_inset
38678
38679 .
38680  
38681 \end_layout
38682
38683 \begin_layout Standard
38684 With the button 
38685 \family sans
38686 Local
38687 \begin_inset space ~
38688 \end_inset
38689
38690 Layout
38691 \family default
38692  you can load you own layout-file, that is not in LyX's 
38693 \emph on
38694 layouts
38695 \emph default
38696  folder and thus not recognized by LyX as layout for a document class.
38697  For more about layout-files, see the chapter 
38698 \emph on
38699 Installing New Document Classes, Layouts, and Templates
38700 \emph default
38701  of the 
38702 \emph on
38703 Customization
38704 \emph default
38705  Handbook.
38706 \end_layout
38707
38708 \begin_layout Standard
38709 Some classes use special class options by default.
38710  If this is the case, they are listed in the field 
38711 \family sans
38712 Predefined
38713 \family default
38714  and you can decide to use them or not.
38715  If you do not exactly know what the default class options are for, it is
38716  recommended to leave them untouched.
38717  The 
38718 \family sans
38719 Graphics driver
38720 \family default
38721  is used for LaTeX's graphics, color and page layout packages.
38722  If using 
38723 \family sans
38724 Default
38725 \family default
38726 , the default driver for the LaTeX-packages is used.
38727  It is recommended that you use the default unless you know what you are
38728  doing.
38729 \begin_inset Foot
38730 status collapsed
38731
38732 \begin_layout Plain Layout
38733 When you want to use one of the following drivers
38734 \begin_inset Newline newline
38735 \end_inset
38736
38737
38738 \family sans
38739 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
38740 \family default
38741
38742 \begin_inset Newline newline
38743 \end_inset
38744
38745 you first have to activate them in your LaTeX distribution, see section
38746  
38747 \emph on
38748 Driver support
38749 \emph default
38750  in 
38751 \begin_inset CommandInset href
38752 LatexCommand href
38753 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
38754
38755 \end_inset
38756
38757 .
38758 \end_layout
38759
38760 \end_inset
38761
38762
38763 \end_layout
38764
38765 \begin_layout Standard
38766 Specifying a master document is necessary if the current document is a child
38767  or subdocument.
38768  The master document will be used by LyX in the background if the child
38769  document is opened without its master.
38770  This way child documents are always compilable.
38771  More about master and child documents is explained in the section 
38772 \emph on
38773 Child Documents
38774 \emph default
38775  of the 
38776 \emph on
38777 Embedded
38778 \begin_inset space ~
38779 \end_inset
38780
38781 Objects
38782 \emph default
38783  manual.
38784 \end_layout
38785
38786 \begin_layout Standard
38787 There is also an option to suppress the date and one to use the LaTeX-package
38788  
38789 \series bold
38790 refstyle
38791 \series default
38792  instead of 
38793 \series bold
38794 prettyref
38795 \series default
38796
38797 \begin_inset Index idx
38798 status collapsed
38799
38800 \begin_layout Plain Layout
38801 LaTeX-packages ! prettyref
38802 \end_layout
38803
38804 \end_inset
38805
38806
38807 \begin_inset Index idx
38808 status collapsed
38809
38810 \begin_layout Plain Layout
38811 LaTeX-packages ! refstyle
38812 \end_layout
38813
38814 \end_inset
38815
38816  for cross-references, see sec.
38817 \begin_inset space \thinspace{}
38818 \end_inset
38819
38820
38821 \begin_inset CommandInset ref
38822 LatexCommand ref
38823 reference "sec:Cross-References"
38824
38825 \end_inset
38826
38827 .
38828 \end_layout
38829
38830 \begin_layout Section
38831 Child Documents
38832 \end_layout
38833
38834 \begin_layout Standard
38835 This submenu is only visible when your document includes child documents.
38836  Please refer to the section 
38837 \emph on
38838 Child
38839 \begin_inset space ~
38840 \end_inset
38841
38842 Documents
38843 \emph default
38844  of the 
38845 \emph on
38846 Embedded
38847 \begin_inset space ~
38848 \end_inset
38849
38850 Objects
38851 \emph default
38852  manual for details.
38853 \end_layout
38854
38855 \begin_layout Section
38856 Modules
38857 \end_layout
38858
38859 \begin_layout Standard
38860 Modules are explained in section
38861 \begin_inset space ~
38862 \end_inset
38863
38864
38865 \begin_inset CommandInset ref
38866 LatexCommand ref
38867 reference "sub:Modules"
38868
38869 \end_inset
38870
38871 .
38872 \end_layout
38873
38874 \begin_layout Section
38875 Local Layout
38876 \end_layout
38877
38878 \begin_layout Standard
38879 See section
38880 \begin_inset space ~
38881 \end_inset
38882
38883
38884 \begin_inset CommandInset ref
38885 LatexCommand ref
38886 reference "sub:Local-Layout"
38887
38888 \end_inset
38889
38890  for a description.
38891 \end_layout
38892
38893 \begin_layout Section
38894 Fonts
38895 \end_layout
38896
38897 \begin_layout Standard
38898 The document font settings are described in section
38899 \begin_inset space ~
38900 \end_inset
38901
38902
38903 \begin_inset CommandInset ref
38904 LatexCommand ref
38905 reference "sec:Fonts-and-Text"
38906
38907 \end_inset
38908
38909 .
38910 \end_layout
38911
38912 \begin_layout Section
38913 Text Layout
38914 \end_layout
38915
38916 \begin_layout Standard
38917 You can specify if paragraphs should be separated by indentations or vertical
38918  skips.
38919  The line spacing and the number of text columns can also be specified here.
38920 \end_layout
38921
38922 \begin_layout Standard
38923 Note that LyX will not show two columns or the set up line spacing on screen.
38924  That would be impractical, often unreadable and is not part of the WYSIWYM
38925  concept.
38926  However, it will be as you specified it in the output.
38927 \end_layout
38928
38929 \begin_layout Section
38930 Page Layout
38931 \end_layout
38932
38933 \begin_layout Standard
38934 A description of this menu is given in section
38935 \begin_inset space ~
38936 \end_inset
38937
38938
38939 \begin_inset CommandInset ref
38940 LatexCommand ref
38941 reference "sub:Paper-Size,-Orientation"
38942
38943 \end_inset
38944
38945  and 
38946 \begin_inset CommandInset ref
38947 LatexCommand ref
38948 reference "sub:Document-Layout"
38949
38950 \end_inset
38951
38952 .
38953 \end_layout
38954
38955 \begin_layout Section
38956 Page Margins
38957 \end_layout
38958
38959 \begin_layout Standard
38960 Here you can adjust the paper margins, see section
38961 \begin_inset space ~
38962 \end_inset
38963
38964
38965 \begin_inset CommandInset ref
38966 LatexCommand ref
38967 reference "sub:Margins"
38968
38969 \end_inset
38970
38971 .
38972 \end_layout
38973
38974 \begin_layout Section
38975 Language
38976 \begin_inset CommandInset label
38977 LatexCommand label
38978 name "sec:Language-encodings"
38979
38980 \end_inset
38981
38982
38983 \begin_inset Index idx
38984 status collapsed
38985
38986 \begin_layout Plain Layout
38987 Language ! Encoding
38988 \end_layout
38989
38990 \end_inset
38991
38992
38993 \end_layout
38994
38995 \begin_layout Standard
38996 The document language and quote styles are set here.
38997  The encoding specifies how the document content is exported to LaTeX (the
38998  LyX file is always encoded in utf8).
38999  All characters that cannot be encoded using the specified encoding will
39000  be exported as LaTeX-commands (this can fail if a LaTeX-command is not
39001  known for a particular character).
39002 \begin_inset Foot
39003 status collapsed
39004
39005 \begin_layout Plain Layout
39006 The known commands are defined in a text file (
39007 \emph on
39008 unicodesymbols
39009 \emph default
39010 ).
39011  You can add commands for unknown symbols to that file yourself, see the
39012  
39013 \emph on
39014 Customization
39015 \emph default
39016  manual for details.
39017 \end_layout
39018
39019 \end_inset
39020
39021
39022 \end_layout
39023
39024 \begin_layout Standard
39025 If you use the option 
39026 \family sans
39027 Language Default
39028 \family default
39029 , LyX determines the encoding of a text part from the language of this text.
39030  If the document contains text in more than one language you may get more
39031  than one encoding in the LaTeX file.
39032  If you do not use this option then the complete document will always use
39033  exactly one encoding.
39034  Checking this option is the preferred setting.
39035 \end_layout
39036
39037 \begin_layout Standard
39038 LyX also supports Unicode output, which is particularly useful if you need
39039  lots of special symbols or non-alphabetic scripts, respectively.
39040  If you want to use this (and your LaTeX installation supports Unicode),
39041  choose one of the four utf8 variants from the list below.
39042  Unfortunately the Unicode support of standard LaTeX is quite incomplete,
39043  so it is not uncommon that a file with lots of Unicode symbols works fine
39044  with 
39045 \family sans
39046 Language Default
39047 \family default
39048  (when LyX uses its list of known LaTeX-commands), but does not work with
39049  a fixed utf8 encoding (when the list of known LaTeX-commands is not used,
39050  because all Unicode symbols can be encoded in utf8).
39051  The situation is much better with XeTeX and LuaTeX, two new alternative
39052  engines to standard LaTeX.
39053  Both engines support Unicode natively.
39054  LyX now also supports these two engines (via the output formats 
39055 \family sans
39056 PDF
39057 \begin_inset space ~
39058 \end_inset
39059
39060 (XeTe
39061 \begin_inset ERT
39062 status collapsed
39063
39064 \begin_layout Plain Layout
39065
39066 {}
39067 \end_layout
39068
39069 \end_inset
39070
39071 X)
39072 \family default
39073
39074 \family sans
39075 PDF
39076 \begin_inset space ~
39077 \end_inset
39078
39079 (LuaTe
39080 \begin_inset ERT
39081 status collapsed
39082
39083 \begin_layout Plain Layout
39084
39085 {}
39086 \end_layout
39087
39088 \end_inset
39089
39090 X)
39091 \family default
39092  and 
39093 \family sans
39094 DVI
39095 \begin_inset space ~
39096 \end_inset
39097
39098 (LuaTeX)
39099 \family default
39100 , see section
39101 \begin_inset space ~
39102 \end_inset
39103
39104
39105 \begin_inset CommandInset ref
39106 LatexCommand ref
39107 reference "sub:Output-file-formats"
39108
39109 \end_inset
39110
39111 ).
39112  So if you are using many special or accented characters and 
39113 \family sans
39114 Language Default
39115 \family default
39116  fails, you might try out one of these new engines.
39117 \end_layout
39118
39119 \begin_layout Standard
39120 The 
39121 \family sans
39122 Language
39123 \begin_inset space ~
39124 \end_inset
39125
39126 package
39127 \family default
39128  determines the LaTeX-package that is used for hyphenation and the translation
39129  of strings like 
39130 \begin_inset Quotes eld
39131 \end_inset
39132
39133 Part
39134 \begin_inset Quotes erd
39135 \end_inset
39136
39137 .
39138  The possible settings are:
39139 \end_layout
39140
39141 \begin_layout Description
39142 Default uses the language package that is selected in
39143 \family sans
39144  Tools\SpecialChar \menuseparator
39145 Preferences\SpecialChar \menuseparator
39146 Language Settings
39147 \family default
39148  (see section
39149 \begin_inset space ~
39150 \end_inset
39151
39152
39153 \begin_inset CommandInset ref
39154 LatexCommand ref
39155 reference "sub:Prefs-Language"
39156
39157 \end_inset
39158
39159 ).
39160 \end_layout
39161
39162 \begin_layout Description
39163 Automatic selects the most suitable language package for the view/export
39164  format you will use.
39165  In many cases this will be 
39166 \series bold
39167 babel
39168 \series default
39169
39170 \begin_inset Index idx
39171 status collapsed
39172
39173 \begin_layout Plain Layout
39174 LaTeX-packages ! babel
39175 \end_layout
39176
39177 \end_inset
39178
39179 .
39180  If the newer package 
39181 \series bold
39182 polyglossia
39183 \series default
39184
39185 \begin_inset Index idx
39186 status collapsed
39187
39188 \begin_layout Plain Layout
39189 LaTeX-packages ! polyglossia
39190 \end_layout
39191
39192 \end_inset
39193
39194  is more appropriate (is the case when using XeTeX and/or non-TeX fonts),
39195  this package will be used instead of 
39196 \series bold
39197 babel
39198 \series default
39199 .
39200 \end_layout
39201
39202 \begin_layout Description
39203 Always
39204 \begin_inset space ~
39205 \end_inset
39206
39207 Babel uses 
39208 \series bold
39209 babel
39210 \series default
39211  even if 
39212 \series bold
39213 polyglossia
39214 \series default
39215  would be more appropriate.
39216 \end_layout
39217
39218 \begin_layout Description
39219 Custom allows you to specify a language package command of your choice.
39220  For example if you want to use a language-specific package like 
39221 \series bold
39222 ngerman
39223 \series default
39224  (for German texts), type in
39225 \series bold
39226
39227 \begin_inset Newline newline
39228 \end_inset
39229
39230
39231 \backslash
39232 usepackage{ngerman}
39233 \end_layout
39234
39235 \begin_layout Description
39236 None will not use a language package.
39237  This is necessary for some document classes for scientific articles.
39238 \end_layout
39239
39240 \begin_layout Standard
39241 Here is a list with the important encodings:
39242 \end_layout
39243
39244 \begin_layout Description
39245 Language
39246 \begin_inset space ~
39247 \end_inset
39248
39249 Default
39250 \begin_inset space ~
39251 \end_inset
39252
39253 (no
39254 \begin_inset space ~
39255 \end_inset
39256
39257 inputenc) Same as 
39258 \family sans
39259 Language Default
39260 \family default
39261 , but the LaTeX-package 
39262 \series bold
39263 inputenc
39264 \series default
39265
39266 \begin_inset Index idx
39267 status collapsed
39268
39269 \begin_layout Plain Layout
39270 LaTeX-packages ! inputenc
39271 \end_layout
39272
39273 \end_inset
39274
39275  is not used.
39276  When using this, you probably need to load some additional packages manually
39277  in the preamble and specify the used encoding for text parts in foreign
39278  languages in TeX code.
39279 \end_layout
39280
39281 \begin_layout Description
39282 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
39283  LyX converts all other characters into LaTeX commands, which may result
39284  in a big file when lots of LaTeX-commands are needed.
39285 \end_layout
39286
39287 \begin_layout Description
39288 Arabic
39289 \begin_inset space ~
39290 \end_inset
39291
39292 (CP
39293 \begin_inset space ~
39294 \end_inset
39295
39296 1256) MS Windows code page for Arabic and Farsi
39297 \end_layout
39298
39299 \begin_layout Description
39300 Arabic
39301 \begin_inset space ~
39302 \end_inset
39303
39304 (ISO
39305 \begin_inset space ~
39306 \end_inset
39307
39308 8859-6) for Arabic and Farsi
39309 \end_layout
39310
39311 \begin_layout Description
39312 Armenian
39313 \begin_inset space ~
39314 \end_inset
39315
39316 (ArmSCII8) for Armenian
39317 \end_layout
39318
39319 \begin_layout Description
39320 Baltic
39321 \begin_inset space ~
39322 \end_inset
39323
39324 (CP
39325 \begin_inset space ~
39326 \end_inset
39327
39328 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
39329  as the ISO-8859-13 encoding
39330 \end_layout
39331
39332 \begin_layout Description
39333 Baltic
39334 \begin_inset space ~
39335 \end_inset
39336
39337 (ISO
39338 \begin_inset space ~
39339 \end_inset
39340
39341 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
39342  encoding
39343 \end_layout
39344
39345 \begin_layout Description
39346 Baltic
39347 \begin_inset space ~
39348 \end_inset
39349
39350 (ISO
39351 \begin_inset space ~
39352 \end_inset
39353
39354 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
39355  ISO-8859-13 encoding
39356 \end_layout
39357
39358 \begin_layout Description
39359 Central
39360 \begin_inset space ~
39361 \end_inset
39362
39363 European
39364 \begin_inset space ~
39365 \end_inset
39366
39367 (CP
39368 \begin_inset space ~
39369 \end_inset
39370
39371 1250) MS Windows code page for ISO
39372 \begin_inset space ~
39373 \end_inset
39374
39375 8859-2 (latin2)
39376 \end_layout
39377
39378 \begin_layout Description
39379 Central
39380 \begin_inset space ~
39381 \end_inset
39382
39383 European
39384 \begin_inset space ~
39385 \end_inset
39386
39387 (ISO
39388 \begin_inset space ~
39389 \end_inset
39390
39391 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
39392  Romanian, Slovak and Slovenian
39393 \end_layout
39394
39395 \begin_layout Description
39396 Chinese
39397 \begin_inset space ~
39398 \end_inset
39399
39400 (simplified)
39401 \begin_inset space ~
39402 \end_inset
39403
39404 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
39405  this encoding is officially replaced by the encoding GB18030, as GB18030
39406  is not available for LaTeX you should try to use the encoding Unicode
39407 \begin_inset space ~
39408 \end_inset
39409
39410 (CJK)
39411 \begin_inset space ~
39412 \end_inset
39413
39414 (utf8)
39415 \end_layout
39416
39417 \begin_layout Description
39418 Chinese
39419 \begin_inset space ~
39420 \end_inset
39421
39422 (simplified)
39423 \begin_inset space ~
39424 \end_inset
39425
39426 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
39427  except for the Euro currency sign, since 2001 this encoding is officially
39428  replaced by the encoding GB18030, as GB18030 is not available for LaTeX
39429  you should try to use the encoding Unicode
39430 \begin_inset space ~
39431 \end_inset
39432
39433 (CJK)
39434 \begin_inset space ~
39435 \end_inset
39436
39437 (utf8)
39438 \end_layout
39439
39440 \begin_layout Description
39441 Chinese
39442 \begin_inset space ~
39443 \end_inset
39444
39445 (traditional)
39446 \begin_inset space ~
39447 \end_inset
39448
39449 (EUC-TW) for traditional Chinese
39450 \end_layout
39451
39452 \begin_layout Description
39453 Cyrillic
39454 \begin_inset space ~
39455 \end_inset
39456
39457 (CP
39458 \begin_inset space ~
39459 \end_inset
39460
39461 1251) MS Windows code page for Cyrillic
39462 \end_layout
39463
39464 \begin_layout Description
39465 Cyrillic
39466 \begin_inset space ~
39467 \end_inset
39468
39469 (ISO
39470 \begin_inset space ~
39471 \end_inset
39472
39473 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
39474 \end_layout
39475
39476 \begin_layout Description
39477 Cyrillic
39478 \begin_inset space ~
39479 \end_inset
39480
39481 (KOI8-R) standard Cyrillic especially for Russian
39482 \end_layout
39483
39484 \begin_layout Description
39485 Cyrillic
39486 \begin_inset space ~
39487 \end_inset
39488
39489 (KOI8-U) Cyrillic for Ukrainian
39490 \end_layout
39491
39492 \begin_layout Description
39493 Cyrillic
39494 \begin_inset space ~
39495 \end_inset
39496
39497 (pt
39498 \begin_inset space ~
39499 \end_inset
39500
39501 154) Cyrillic for Kazakh
39502 \end_layout
39503
39504 \begin_layout Description
39505 Greek
39506 \begin_inset space ~
39507 \end_inset
39508
39509 (ISO
39510 \begin_inset space ~
39511 \end_inset
39512
39513 8859-7) for Greek
39514 \end_layout
39515
39516 \begin_layout Description
39517 Hebrew
39518 \begin_inset space ~
39519 \end_inset
39520
39521 (CP
39522 \begin_inset space ~
39523 \end_inset
39524
39525 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
39526 \end_layout
39527
39528 \begin_layout Description
39529 Hebrew
39530 \begin_inset space ~
39531 \end_inset
39532
39533 (ISO
39534 \begin_inset space ~
39535 \end_inset
39536
39537 8859-8) for Hebrew
39538 \end_layout
39539
39540 \begin_layout Description
39541 Japanese
39542 \begin_inset space ~
39543 \end_inset
39544
39545 (CJK)
39546 \begin_inset space ~
39547 \end_inset
39548
39549 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
39550 \series bold
39551 CJK
39552 \series default
39553
39554 \begin_inset Index idx
39555 status collapsed
39556
39557 \begin_layout Plain Layout
39558 LaTeX-packages ! CJK
39559 \end_layout
39560
39561 \end_inset
39562
39563 , when using this, set the document language to 
39564 \family sans
39565 Japanese (CJK)
39566 \end_layout
39567
39568 \begin_layout Description
39569 Japanese
39570 \begin_inset space ~
39571 \end_inset
39572
39573 (CJK)
39574 \begin_inset space ~
39575 \end_inset
39576
39577 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
39578 \series bold
39579 CJK
39580 \series default
39581 , when using this, set the document language to 
39582 \family sans
39583 Japanese
39584 \begin_inset space ~
39585 \end_inset
39586
39587 (CJK)
39588 \end_layout
39589
39590 \begin_layout Description
39591 Japanese
39592 \begin_inset space ~
39593 \end_inset
39594
39595 (non-CJK)
39596 \begin_inset space ~
39597 \end_inset
39598
39599 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
39600 \series bold
39601 japanese
39602 \series default
39603
39604 \begin_inset Index idx
39605 status collapsed
39606
39607 \begin_layout Plain Layout
39608 LaTeX-packages ! japanese
39609 \end_layout
39610
39611 \end_inset
39612
39613 , when using this, set the document language to 
39614 \family sans
39615 Japanese
39616 \end_layout
39617
39618 \begin_layout Description
39619 Japanese
39620 \begin_inset space ~
39621 \end_inset
39622
39623 (non-CJK)
39624 \begin_inset space ~
39625 \end_inset
39626
39627 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
39628 \series bold
39629 japanese
39630 \series default
39631 , when using this, set the document language to 
39632 \family sans
39633 Japanese
39634 \end_layout
39635
39636 \begin_layout Description
39637 Japanese
39638 \begin_inset space ~
39639 \end_inset
39640
39641 (non-CJK)
39642 \begin_inset space ~
39643 \end_inset
39644
39645 (SJIS) SJIS encoding for Japanese, uses the LaTeX-package 
39646 \series bold
39647 japanese
39648 \series default
39649 , when using this, set the document language to 
39650 \family sans
39651 Japanese
39652 \end_layout
39653
39654 \begin_layout Description
39655 Korean
39656 \begin_inset space ~
39657 \end_inset
39658
39659 (EUC-KR) for Korean
39660 \end_layout
39661
39662 \begin_layout Description
39663 Southern
39664 \begin_inset space ~
39665 \end_inset
39666
39667 European
39668 \begin_inset space ~
39669 \end_inset
39670
39671 (ISO
39672 \begin_inset space ~
39673 \end_inset
39674
39675 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
39676 \end_layout
39677
39678 \begin_layout Description
39679 South-Eastern
39680 \begin_inset space ~
39681 \end_inset
39682
39683 European
39684 \begin_inset space ~
39685 \end_inset
39686
39687 (ISO
39688 \begin_inset space ~
39689 \end_inset
39690
39691 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
39692  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
39693  to cover many languages and characters with diacritics
39694 \end_layout
39695
39696 \begin_layout Description
39697 Thai
39698 \begin_inset space ~
39699 \end_inset
39700
39701 (TIS
39702 \begin_inset space ~
39703 \end_inset
39704
39705 620-0) for Thai
39706 \end_layout
39707
39708 \begin_layout Description
39709 Turkish
39710 \begin_inset space ~
39711 \end_inset
39712
39713 (ISO
39714 \begin_inset space ~
39715 \end_inset
39716
39717 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
39718  Icelandic letters are replaced by Turkish ones
39719 \end_layout
39720
39721 \begin_layout Description
39722 Unicode
39723 \begin_inset space ~
39724 \end_inset
39725
39726 (CJK)
39727 \begin_inset space ~
39728 \end_inset
39729
39730 (utf8) Unicode utf8 with the LaTeX-package 
39731 \series bold
39732 CJK
39733 \series default
39734
39735 \begin_inset Index idx
39736 status collapsed
39737
39738 \begin_layout Plain Layout
39739 LaTeX-packages ! CJK
39740 \end_layout
39741
39742 \end_inset
39743
39744  (for the languages Chinese, Japanese and Korean)
39745 \end_layout
39746
39747 \begin_layout Description
39748 Unicode
39749 \begin_inset space ~
39750 \end_inset
39751
39752 (XeTeX)
39753 \begin_inset space ~
39754 \end_inset
39755
39756 (utf8) Unicode utf8 to be used with 
39757 \family sans
39758 XeTeX
39759 \family default
39760  and 
39761 \family sans
39762 LuaTeX
39763 \family default
39764 , which use Unicode directly, without the help of the LaTeX-package 
39765 \series bold
39766 inputenc
39767 \series default
39768 .
39769  LyX automatically selects this encoding if you export or preview XeTeX
39770  or LuaTeX.
39771  Normally you do not need to set this encoding manually.
39772 \end_layout
39773
39774 \begin_layout Description
39775 Unicode
39776 \begin_inset space ~
39777 \end_inset
39778
39779 (ucs-extended)
39780 \begin_inset space ~
39781 \end_inset
39782
39783 (utf8x) Unicode utf8 based on the LaTeX-package 
39784 \series bold
39785 ucs
39786 \series default
39787
39788 \begin_inset Index idx
39789 status collapsed
39790
39791 \begin_layout Plain Layout
39792 LaTeX-packages ! ucs
39793 \end_layout
39794
39795 \end_inset
39796
39797  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
39798 \end_layout
39799
39800 \begin_layout Description
39801 Unicode
39802 \begin_inset space ~
39803 \end_inset
39804
39805 (utf8) Unicode utf8 based on the LaTeX-package 
39806 \series bold
39807 inputenc
39808 \series default
39809
39810 \begin_inset Index idx
39811 status collapsed
39812
39813 \begin_layout Plain Layout
39814 LaTeX-packages ! inputenc
39815 \end_layout
39816
39817 \end_inset
39818
39819 .
39820  Currently only a limited range of characters (mainly for Latin scripts)
39821  is supported.
39822 \end_layout
39823
39824 \begin_layout Description
39825 Western
39826 \begin_inset space ~
39827 \end_inset
39828
39829 European
39830 \begin_inset space ~
39831 \end_inset
39832
39833 (CP
39834 \begin_inset space ~
39835 \end_inset
39836
39837 1252) MS Windows code page for ISO
39838 \begin_inset space ~
39839 \end_inset
39840
39841 8859-1 (latin1)
39842 \end_layout
39843
39844 \begin_layout Description
39845 Western
39846 \begin_inset space ~
39847 \end_inset
39848
39849 European
39850 \begin_inset space ~
39851 \end_inset
39852
39853 (ISO
39854 \begin_inset space ~
39855 \end_inset
39856
39857 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
39858  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
39859  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
39860  encoding instead
39861 \end_layout
39862
39863 \begin_layout Description
39864 Western
39865 \begin_inset space ~
39866 \end_inset
39867
39868 European
39869 \begin_inset space ~
39870 \end_inset
39871
39872 (ISO
39873 \begin_inset space ~
39874 \end_inset
39875
39876 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
39877  sign, the œ-ligature and some characters used for French and Finnish
39878 \end_layout
39879
39880 \begin_layout Standard
39881 Finally, the dialog lets you select a specific language package for the
39882  current document.
39883  See sec.
39884 \begin_inset space \thinspace{}
39885 \end_inset
39886
39887
39888 \begin_inset CommandInset ref
39889 LatexCommand ref
39890 reference "sub:Prefs-Language"
39891
39892 \end_inset
39893
39894  for more information on the language package.
39895 \end_layout
39896
39897 \begin_layout Section
39898 Colors
39899 \begin_inset Index idx
39900 status collapsed
39901
39902 \begin_layout Plain Layout
39903 Color ! main text
39904 \end_layout
39905
39906 \end_inset
39907
39908
39909 \begin_inset Index idx
39910 status collapsed
39911
39912 \begin_layout Plain Layout
39913 Color ! background
39914 \end_layout
39915
39916 \end_inset
39917
39918
39919 \end_layout
39920
39921 \begin_layout Standard
39922 Here you can alter the font color for the main text (default: black) and
39923  for Greyed
39924 \begin_inset space ~
39925 \end_inset
39926
39927 out notes (default: light grey).
39928  The button 
39929 \family sans
39930 Reset
39931 \family default
39932  sets the color back to the default.
39933 \end_layout
39934
39935 \begin_layout Standard
39936 You can also change the background color for the pages (default: white)
39937  and for Shaded
39938 \begin_inset space ~
39939 \end_inset
39940
39941 boxes (default: red).
39942 \end_layout
39943
39944 \begin_layout Standard
39945 \begin_inset Note Greyedout
39946 status collapsed
39947
39948 \begin_layout Plain Layout
39949 The colors are not shown within LyX, only in the output.
39950  (This Greyed
39951 \begin_inset space ~
39952 \end_inset
39953
39954 out note appears blue in the output.)
39955 \end_layout
39956
39957 \end_inset
39958
39959
39960 \end_layout
39961
39962 \begin_layout Standard
39963 Note, if you change the main text font color and use the option 
39964 \family sans
39965 Color
39966 \begin_inset space ~
39967 \end_inset
39968
39969 links
39970 \family default
39971  in the document settings under 
39972 \family sans
39973 PDF
39974 \begin_inset space ~
39975 \end_inset
39976
39977 properties
39978 \family default
39979 , you probably also need to change the link font color by using 
39980 \family sans
39981 Additional
39982 \begin_inset space ~
39983 \end_inset
39984
39985 options
39986 \family default
39987  in the 
39988 \family sans
39989 PDF
39990 \begin_inset space ~
39991 \end_inset
39992
39993 properties
39994 \family default
39995 .
39996  For example the option
39997 \end_layout
39998
39999 \begin_layout Standard
40000
40001 \series bold
40002 linkcolor=black
40003 \end_layout
40004
40005 \begin_layout Standard
40006 sets the link text color to black.
40007  For more information, see the manual of the LaTeX-package 
40008 \series bold
40009 hyperref
40010 \series default
40011
40012 \begin_inset Index idx
40013 status collapsed
40014
40015 \begin_layout Plain Layout
40016 LaTeX-packages ! hyperref
40017 \end_layout
40018
40019 \end_inset
40020
40021
40022 \begin_inset CommandInset citation
40023 LatexCommand cite
40024 key "hyperref"
40025
40026 \end_inset
40027
40028 .
40029 \end_layout
40030
40031 \begin_layout Standard
40032 \begin_inset VSpace bigskip
40033 \end_inset
40034
40035
40036 \end_layout
40037
40038 \begin_layout Standard
40039 You can adapt the main text font color and the page background for every
40040  page in your document if you use these commands as TeX
40041 \begin_inset space ~
40042 \end_inset
40043
40044 Code behind a forced page break:
40045 \end_layout
40046
40047 \begin_layout Itemize
40048 For the page color:
40049 \begin_inset Newline newline
40050 \end_inset
40051
40052
40053 \series bold
40054
40055 \backslash
40056 pagecolor{color name}
40057 \end_layout
40058
40059 \begin_layout Itemize
40060 For the text color:
40061 \begin_inset Newline newline
40062 \end_inset
40063
40064
40065 \series bold
40066
40067 \backslash
40068 color{color name}
40069 \end_layout
40070
40071 \begin_layout Standard
40072 The color name can hereby be one of these: 
40073 \series bold
40074 black
40075 \series default
40076
40077 \series bold
40078 blue
40079 \series default
40080
40081 \series bold
40082 cyan
40083 \series default
40084
40085 \series bold
40086 green
40087 \series default
40088
40089 \series bold
40090 magenta
40091 \series default
40092
40093 \series bold
40094 red
40095 \series default
40096
40097 \series bold
40098 white
40099 \series default
40100
40101 \series bold
40102 yellow
40103 \series default
40104
40105 \begin_inset Newline newline
40106 \end_inset
40107
40108 If you have changed a text or background color, you can use them under the
40109  following names:
40110 \end_layout
40111
40112 \begin_layout Itemize
40113 For the page background color:
40114 \begin_inset Newline newline
40115 \end_inset
40116
40117
40118 \series bold
40119 page_backgroundcolor
40120 \end_layout
40121
40122 \begin_layout Itemize
40123 For the main text color:
40124 \begin_inset Newline newline
40125 \end_inset
40126
40127
40128 \series bold
40129 document_fontcolor
40130 \end_layout
40131
40132 \begin_layout Itemize
40133 For the Shaded
40134 \begin_inset space ~
40135 \end_inset
40136
40137 box background color:
40138 \begin_inset Newline newline
40139 \end_inset
40140
40141
40142 \series bold
40143 shadecolor
40144 \end_layout
40145
40146 \begin_layout Itemize
40147 For the Greyed
40148 \begin_inset space ~
40149 \end_inset
40150
40151 out note text color:
40152 \begin_inset Newline newline
40153 \end_inset
40154
40155
40156 \series bold
40157 note_fontcolor
40158 \end_layout
40159
40160 \begin_layout Standard
40161 To see how to define and use custom colors, see section 
40162 \emph on
40163 Colored
40164 \begin_inset space ~
40165 \end_inset
40166
40167 Cells
40168 \emph default
40169  of the 
40170 \emph on
40171 Embedded
40172 \begin_inset space ~
40173 \end_inset
40174
40175 Objects
40176 \emph default
40177  manual.
40178 \end_layout
40179
40180 \begin_layout Section
40181 Numbering & TOC
40182 \end_layout
40183
40184 \begin_layout Standard
40185 Here you can adjust the numbering depth of section headings and the section
40186  depth in the table of contents as described in section
40187 \begin_inset space ~
40188 \end_inset
40189
40190
40191 \begin_inset CommandInset ref
40192 LatexCommand ref
40193 reference "sub:Numbering-depth"
40194
40195 \end_inset
40196
40197 .
40198 \end_layout
40199
40200 \begin_layout Section
40201 Bibliography
40202 \end_layout
40203
40204 \begin_layout Standard
40205 Here you can specify a citation style using the LaTeX packages 
40206 \series bold
40207 natbib
40208 \series default
40209
40210 \begin_inset Index idx
40211 status collapsed
40212
40213 \begin_layout Plain Layout
40214 LaTeX-packages ! natbib
40215 \end_layout
40216
40217 \end_inset
40218
40219  or 
40220 \series bold
40221 jurabib
40222 \series default
40223
40224 \begin_inset Index idx
40225 status collapsed
40226
40227 \begin_layout Plain Layout
40228 LaTeX-packages ! jurabib
40229 \end_layout
40230
40231 \end_inset
40232
40233 .
40234  You can enable a sectioned bibliography using the LaTeX package 
40235 \series bold
40236 bibtopic
40237 \series default
40238
40239 \begin_inset Index idx
40240 status collapsed
40241
40242 \begin_layout Plain Layout
40243 LaTeX-packages ! bibtopic
40244 \end_layout
40245
40246 \end_inset
40247
40248  and you can customize how the bibliography of the given document is being
40249  generated.
40250  For a further description see section
40251 \begin_inset space ~
40252 \end_inset
40253
40254
40255 \begin_inset CommandInset ref
40256 LatexCommand ref
40257 reference "sec:Bibliography"
40258
40259 \end_inset
40260
40261 .
40262 \end_layout
40263
40264 \begin_layout Section
40265 Indexes
40266 \end_layout
40267
40268 \begin_layout Standard
40269 Here, you can customize how the index of your document is being generated
40270  and you can define additional indexes.
40271  Please refer to section
40272 \begin_inset space ~
40273 \end_inset
40274
40275
40276 \begin_inset CommandInset ref
40277 LatexCommand ref
40278 reference "sec:Index"
40279
40280 \end_inset
40281
40282  for details.
40283 \end_layout
40284
40285 \begin_layout Section
40286 PDF Properties
40287 \end_layout
40288
40289 \begin_layout Standard
40290 The PDF properties are explained in section
40291 \begin_inset space ~
40292 \end_inset
40293
40294
40295 \begin_inset CommandInset ref
40296 LatexCommand ref
40297 reference "sec:PDF-Properties"
40298
40299 \end_inset
40300
40301 .
40302 \end_layout
40303
40304 \begin_layout Section
40305 Math Options
40306 \end_layout
40307
40308 \begin_layout Standard
40309 These options will force LyX to use the LaTeX-packages 
40310 \series bold
40311 amsmath
40312 \series default
40313
40314 \begin_inset Index idx
40315 status collapsed
40316
40317 \begin_layout Plain Layout
40318 LaTeX-packages ! amsmath
40319 \end_layout
40320
40321 \end_inset
40322
40323
40324 \series bold
40325 esint
40326 \series default
40327
40328 \begin_inset Index idx
40329 status collapsed
40330
40331 \begin_layout Plain Layout
40332 LaTeX-packages ! esint
40333 \end_layout
40334
40335 \end_inset
40336
40337
40338 \series bold
40339 mathdots
40340 \series default
40341
40342 \begin_inset Index idx
40343 status collapsed
40344
40345 \begin_layout Plain Layout
40346 LaTeX-packages ! mathdots
40347 \end_layout
40348
40349 \end_inset
40350
40351  und 
40352 \series bold
40353 mhchem
40354 \series default
40355
40356 \begin_inset Index idx
40357 status collapsed
40358
40359 \begin_layout Plain Layout
40360 LaTeX-packages ! mhchem
40361 \end_layout
40362
40363 \end_inset
40364
40365  or to use them automatically when they are needed.
40366 \end_layout
40367
40368 \begin_layout Description
40369 amsmath is needed for many constructs, so when you get LaTeX-errors in formulas,
40370  ensure that you have enabled 
40371 \family sans
40372 AMS
40373 \begin_inset space ~
40374 \end_inset
40375
40376 math
40377 \family default
40378 .
40379 \end_layout
40380
40381 \begin_layout Description
40382 esint is used for special integral characters, see section 
40383 \emph on
40384 Big
40385 \begin_inset space ~
40386 \end_inset
40387
40388 Operators
40389 \emph default
40390  of the 
40391 \emph on
40392 Math
40393 \emph default
40394  manual.
40395 \end_layout
40396
40397 \begin_layout Description
40398 mathdots is used for special ellipses, see section 
40399 \emph on
40400 Ellipses
40401 \emph default
40402  of the 
40403 \emph on
40404 Math
40405 \emph default
40406  manual.
40407 \end_layout
40408
40409 \begin_layout Description
40410 mhchem is used for chemical equations, see section 
40411 \emph on
40412 Chemical Symbols and Equations
40413 \emph default
40414  of the 
40415 \emph on
40416 Math
40417 \emph default
40418  manual.
40419 \end_layout
40420
40421 \begin_layout Section
40422 Float Placement
40423 \end_layout
40424
40425 \begin_layout Standard
40426 The float placement options are described in section 
40427 \emph on
40428 Float
40429 \begin_inset space ~
40430 \end_inset
40431
40432 Placement
40433 \emph default
40434  of the 
40435 \emph on
40436 Embedded
40437 \begin_inset space ~
40438 \end_inset
40439
40440 Objects
40441 \emph default
40442  manual.
40443 \end_layout
40444
40445 \begin_layout Section
40446 Listings
40447 \end_layout
40448
40449 \begin_layout Standard
40450 The listings settings are explained in chapter 
40451 \emph on
40452 Program Code Listings
40453 \emph default
40454  of the 
40455 \emph on
40456 Embedded
40457 \begin_inset space ~
40458 \end_inset
40459
40460 Objects
40461 \emph default
40462  manual.
40463 \end_layout
40464
40465 \begin_layout Section
40466 Bullets
40467 \end_layout
40468
40469 \begin_layout Standard
40470 Here you can adjust the characters for the itemize levels.
40471  The itemize environment is described in section
40472 \begin_inset space ~
40473 \end_inset
40474
40475
40476 \begin_inset CommandInset ref
40477 LatexCommand ref
40478 reference "sec:Itemize"
40479
40480 \end_inset
40481
40482 .
40483 \end_layout
40484
40485 \begin_layout Section
40486 Branches
40487 \end_layout
40488
40489 \begin_layout Standard
40490 Branches are described in section
40491 \begin_inset space ~
40492 \end_inset
40493
40494
40495 \begin_inset CommandInset ref
40496 LatexCommand ref
40497 reference "sec:Branches"
40498
40499 \end_inset
40500
40501 .
40502 \end_layout
40503
40504 \begin_layout Section
40505 Output
40506 \begin_inset CommandInset label
40507 LatexCommand label
40508 name "sec:Doc-Output"
40509
40510 \end_inset
40511
40512
40513 \end_layout
40514
40515 \begin_layout Standard
40516 Here you can define some output specifics for the current document:
40517 \end_layout
40518
40519 \begin_layout Description
40520 Default
40521 \begin_inset space ~
40522 \end_inset
40523
40524 Output
40525 \begin_inset space ~
40526 \end_inset
40527
40528 Format: The format that is used when you hit 
40529 \begin_inset Quotes eld
40530 \end_inset
40531
40532 View
40533 \begin_inset Quotes erd
40534 \end_inset
40535
40536
40537 \begin_inset Quotes eld
40538 \end_inset
40539
40540 Update
40541 \begin_inset Quotes erd
40542 \end_inset
40543
40544
40545 \begin_inset Quotes eld
40546 \end_inset
40547
40548 View Master Document
40549 \begin_inset Quotes erd
40550 \end_inset
40551
40552  and 
40553 \begin_inset Quotes eld
40554 \end_inset
40555
40556 Update Master Document
40557 \begin_inset Quotes erd
40558 \end_inset
40559
40560  in the 
40561 \family sans
40562 View
40563 \family default
40564  menu or the toolbar.
40565  The default is set in 
40566 \family sans
40567 Tools\SpecialChar \menuseparator
40568 Preferences\SpecialChar \menuseparator
40569 File Formats
40570 \family default
40571 , see sec.
40572 \begin_inset space \thinspace{}
40573 \end_inset
40574
40575
40576 \begin_inset CommandInset ref
40577 LatexCommand ref
40578 reference "sec:File-Formats"
40579
40580 \end_inset
40581
40582 .
40583 \end_layout
40584
40585 \begin_layout Description
40586 Synchronize
40587 \begin_inset space ~
40588 \end_inset
40589
40590 with
40591 \begin_inset space ~
40592 \end_inset
40593
40594 Output settings for the menu 
40595 \family sans
40596 Navigate\SpecialChar \menuseparator
40597 Forward
40598 \begin_inset space ~
40599 \end_inset
40600
40601 search
40602 \family default
40603 .
40604  For a detailed description see section 
40605 \emph on
40606 Reverse DVI/PDF search
40607 \emph default
40608  of the 
40609 \emph on
40610 Additional
40611 \begin_inset space ~
40612 \end_inset
40613
40614 Features
40615 \emph default
40616  manual.
40617 \end_layout
40618
40619 \begin_layout Description
40620 XHTML
40621 \begin_inset space ~
40622 \end_inset
40623
40624 Output
40625 \begin_inset space ~
40626 \end_inset
40627
40628 Options settings for the export format 
40629 \family sans
40630 LyXHTML
40631 \family default
40632 .
40633  
40634 \family sans
40635 Strict XHTML
40636 \begin_inset space ~
40637 \end_inset
40638
40639 1.1
40640 \family default
40641  will assure that the output follows exactly version
40642 \begin_inset space ~
40643 \end_inset
40644
40645 1.1 of the XHTML standard.
40646  The different 
40647 \family sans
40648 Math
40649 \begin_inset space ~
40650 \end_inset
40651
40652 output
40653 \family default
40654  settings are described in detail in section 
40655 \emph on
40656 Math Output in XHTML
40657 \emph default
40658  of the 
40659 \emph on
40660 Additional
40661 \begin_inset space ~
40662 \end_inset
40663
40664 Features
40665 \emph default
40666  manual.
40667  The scaling is used for the size of equations in the output.
40668 \end_layout
40669
40670 \begin_layout Section
40671 LaT
40672 \begin_inset ERT
40673 status collapsed
40674
40675 \begin_layout Plain Layout
40676
40677 {}
40678 \end_layout
40679
40680 \end_inset
40681
40682 eX Preamble
40683 \end_layout
40684
40685 \begin_layout Standard
40686 In this text field you can enter commands to load special LaTeX-packages
40687  or to define LaTeX-commands.
40688  The preamble is a thing for LaTeX-experts.
40689  You should not enter commands here until you exactly know what you are
40690  doing.
40691 \end_layout
40692
40693 \begin_layout Standard
40694 An introduction to the LaTeX-syntax is given in section
40695 \begin_inset space ~
40696 \end_inset
40697
40698
40699 \begin_inset CommandInset ref
40700 LatexCommand ref
40701 reference "sub:LaTeX-Syntax"
40702
40703 \end_inset
40704
40705 .
40706 \end_layout
40707
40708 \begin_layout Chapter
40709 The 
40710 \family sans
40711 Preferences
40712 \family default
40713  Dialog
40714 \begin_inset CommandInset label
40715 LatexCommand label
40716 name "chap:The-Preferences-dialog"
40717
40718 \end_inset
40719
40720
40721 \begin_inset Index idx
40722 status collapsed
40723
40724 \begin_layout Plain Layout
40725 Preferences
40726 \end_layout
40727
40728 \end_inset
40729
40730
40731 \end_layout
40732
40733 \begin_layout Standard
40734 The preferences dialog is called with the menu 
40735 \family sans
40736 Tools\SpecialChar \menuseparator
40737 Preferences
40738 \family default
40739 .
40740  It has the following submenus.
40741 \end_layout
40742
40743 \begin_layout Section
40744 Look and Feel
40745 \end_layout
40746
40747 \begin_layout Subsection
40748 User Interface
40749 \end_layout
40750
40751 \begin_layout Subsubsection
40752 User Interface File
40753 \begin_inset Index idx
40754 status collapsed
40755
40756 \begin_layout Plain Layout
40757 Customization ! of toolbars
40758 \end_layout
40759
40760 \end_inset
40761
40762
40763 \begin_inset Index idx
40764 status collapsed
40765
40766 \begin_layout Plain Layout
40767 Customization ! of menus
40768 \end_layout
40769
40770 \end_inset
40771
40772
40773 \end_layout
40774
40775 \begin_layout Standard
40776 The appearance of the menus and toolbars can be changed by choosing a user
40777  interface (ui) file.
40778  A ui-file is a text file where the toolbars and menus are listed.
40779  The toolbar buttons and menu entries are specified in the files 
40780 \shape italic
40781 stdtoolbars.inc
40782 \shape default
40783  and 
40784 \shape italic
40785 stdmenus.inc
40786 \shape default
40787 , respectively.
40788  Both files are loaded by the 
40789 \emph on
40790 default.ui
40791 \emph default
40792  file.
40793  To create your own menu and toolbar layout, start with a copy of these
40794  files and edit the entries.
40795 \end_layout
40796
40797 \begin_layout Standard
40798 The syntax of the .inc-files is straightforward: The 
40799 \family sans
40800 Menubar
40801 \family default
40802
40803 \family sans
40804 Menu
40805 \family default
40806  and 
40807 \family sans
40808 Toolbar
40809 \family default
40810  entries must be finished with an explicit 
40811 \family sans
40812 End
40813 \family default
40814 .
40815  They may contain 
40816 \family sans
40817 Submenu
40818 \family default
40819
40820 \family sans
40821 Item
40822 \family default
40823
40824 \family sans
40825 OptItem
40826 \family default
40827
40828 \family sans
40829 Separator
40830 \family default
40831
40832 \family sans
40833 Icon,
40834 \family default
40835  and in the case of the 
40836 \begin_inset Quotes eld
40837 \end_inset
40838
40839 file_lastfiles
40840 \begin_inset Quotes erd
40841 \end_inset
40842
40843  menu a 
40844 \family sans
40845 Lastfiles
40846 \family default
40847  entry.
40848  The syntax for the entries is:
40849 \end_layout
40850
40851 \begin_layout Standard
40852 \begin_inset VSpace smallskip*
40853 \end_inset
40854
40855
40856 \series bold
40857 Item 
40858 \begin_inset Quotes eld
40859 \end_inset
40860
40861 menu 
40862 \series default
40863 or
40864 \series bold
40865  button name
40866 \begin_inset Quotes erd
40867 \end_inset
40868
40869  
40870 \begin_inset Quotes eld
40871 \end_inset
40872
40873 LyX-function
40874 \begin_inset Quotes erd
40875 \end_inset
40876
40877
40878 \end_layout
40879
40880 \begin_layout Standard
40881 \noindent
40882 \begin_inset VSpace smallskip*
40883 \end_inset
40884
40885 All LyX-functions are listed in the menu 
40886 \family sans
40887 Help\SpecialChar \menuseparator
40888 LyX
40889 \begin_inset space ~
40890 \end_inset
40891
40892 Functions
40893 \family default
40894 .
40895 \end_layout
40896
40897 \begin_layout Standard
40898 \begin_inset VSpace medskip
40899 \end_inset
40900
40901
40902 \end_layout
40903
40904 \begin_layout Standard
40905 An example: Assuming you use the menu 
40906 \family sans
40907 Navigate\SpecialChar \menuseparator
40908 Bookmarks
40909 \family default
40910  quite often and therefore want six available bookmarks, you can add the
40911  line
40912 \end_layout
40913
40914 \begin_layout Standard
40915 \begin_inset VSpace smallskip*
40916 \end_inset
40917
40918
40919 \series bold
40920 Item 
40921 \begin_inset Quotes eld
40922 \end_inset
40923
40924 Save Bookmark 6
40925 \begin_inset Quotes erd
40926 \end_inset
40927
40928  
40929 \begin_inset Quotes eld
40930 \end_inset
40931
40932 bookmark-save 6
40933 \begin_inset Quotes erd
40934 \end_inset
40935
40936
40937 \end_layout
40938
40939 \begin_layout Standard
40940 \noindent
40941 \begin_inset VSpace smallskip*
40942 \end_inset
40943
40944 to the 
40945 \begin_inset Quotes eld
40946 \end_inset
40947
40948 navigate_bookmarks
40949 \begin_inset Quotes erd
40950 \end_inset
40951
40952  menu in the .inc-file to have the sixth bookmark.
40953 \end_layout
40954
40955 \begin_layout Subsubsection
40956 Icon Set
40957 \end_layout
40958
40959 \begin_layout Standard
40960 Here you can change the appearance of LyX's toolbar buttons.
40961  The currently available icon sets are compared in 
40962 \begin_inset CommandInset href
40963 LatexCommand href
40964 name "this image"
40965 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
40966
40967 \end_inset
40968
40969 .
40970 \end_layout
40971
40972 \begin_layout Subsubsection
40973 Automatic help
40974 \end_layout
40975
40976 \begin_layout Standard
40977 The option 
40978 \family sans
40979 Enable tool tips in main work area
40980 \family default
40981  enables tool tips showing the content of closed insets like index entries
40982  or footnotes.
40983 \end_layout
40984
40985 \begin_layout Subsubsection
40986 Session
40987 \end_layout
40988
40989 \begin_layout Standard
40990 With the option 
40991 \family sans
40992 Restore window layouts and geometries
40993 \family default
40994  LyX's main window will be opened with the size and layout that was used
40995  in the last LyX session.
40996 \end_layout
40997
40998 \begin_layout Standard
40999 The option 
41000 \family sans
41001 Restore cursor positions
41002 \family default
41003  sets the cursor to the position in the file where it was at the end of
41004  the last session.
41005 \end_layout
41006
41007 \begin_layout Standard
41008 The option 
41009 \family sans
41010 Load opened files from last session
41011 \family default
41012  opens all files that were opened in the last LyX session.
41013 \end_layout
41014
41015 \begin_layout Standard
41016 The button 
41017 \family sans
41018 Clear all session information
41019 \family default
41020  deletes all information from previous LyX sessions (cursor positions, names
41021  of last opened documents, etc.).
41022 \end_layout
41023
41024 \begin_layout Subsubsection
41025 Documents
41026 \begin_inset CommandInset label
41027 LatexCommand label
41028 name "sub:Backup documents"
41029
41030 \end_inset
41031
41032
41033 \begin_inset Index idx
41034 status collapsed
41035
41036 \begin_layout Plain Layout
41037 Backup ! Documents
41038 \end_layout
41039
41040 \end_inset
41041
41042
41043 \end_layout
41044
41045 \begin_layout Standard
41046
41047 \family sans
41048 Backup original documents when saving
41049 \family default
41050  creates a backup copy of the file in the state when it was opened or when
41051  it was saved the last time.
41052  It is stored in the same folder as your document or in the 
41053 \family sans
41054 Backup
41055 \begin_inset space ~
41056 \end_inset
41057
41058 directory
41059 \family default
41060 , see 
41061 \begin_inset CommandInset ref
41062 LatexCommand ref
41063 reference "sec:Paths"
41064
41065 \end_inset
41066
41067 .
41068  The backup file has the file extension 
41069 \begin_inset Quotes eld
41070 \end_inset
41071
41072
41073 \family sans
41074 .lyx~
41075 \family default
41076
41077 \begin_inset Quotes erd
41078 \end_inset
41079
41080 .
41081 \end_layout
41082
41083 \begin_layout Standard
41084 With the option 
41085 \family sans
41086 Backup documents, every
41087 \family default
41088 , you can specify the time between backup saves.
41089 \end_layout
41090
41091 \begin_layout Standard
41092
41093 \family sans
41094 Save documents compressed by default
41095 \family default
41096  saves the files always in a compressed format.
41097 \end_layout
41098
41099 \begin_layout Standard
41100
41101 \family sans
41102 Maximum last files
41103 \family default
41104  is the number of last opened files that LyX should display in the menu
41105  
41106 \family sans
41107 File\SpecialChar \menuseparator
41108 Open
41109 \begin_inset space ~
41110 \end_inset
41111
41112 Recent
41113 \family default
41114 .
41115 \end_layout
41116
41117 \begin_layout Standard
41118 If the option 
41119 \family sans
41120 Open documents in tabs
41121 \family default
41122  is not used, then every file will be opened in its own new instance of
41123  LyX.
41124 \end_layout
41125
41126 \begin_layout Standard
41127 The option 
41128 \family sans
41129 Single instance
41130 \family default
41131  is only active if a LyXServer pipe
41132 \begin_inset Foot
41133 status collapsed
41134
41135 \begin_layout Plain Layout
41136 See sec.
41137 \begin_inset space \thinspace{}
41138 \end_inset
41139
41140
41141 \begin_inset CommandInset ref
41142 LatexCommand ref
41143 reference "sec:Paths"
41144
41145 \end_inset
41146
41147  for information about LyXServer pipes.
41148 \end_layout
41149
41150 \end_inset
41151
41152  is specified.
41153  If it is checked, LyX documents will be opened in the same running instance
41154  of LyX.
41155  Otherwise a new LyX instance is created for each file.
41156 \end_layout
41157
41158 \begin_layout Standard
41159 With the option 
41160 \family sans
41161 Single close-tab button
41162 \family default
41163  there will only be one button (
41164 \family sans
41165
41166 \begin_inset Graphics
41167         filename ../images/closetab.png
41168         scale 75
41169
41170 \end_inset
41171
41172
41173 \family default
41174 ) at the right side of the tab bar to close tabs.
41175  Otherwise every document tab has its own close button.
41176 \end_layout
41177
41178 \begin_layout Standard
41179 \begin_inset Note Greyedout
41180 status collapsed
41181
41182 \begin_layout Plain Layout
41183
41184 \series bold
41185 Note:
41186 \series default
41187  For the last option you have to restart LyX before the change takes effect.
41188 \end_layout
41189
41190 \end_inset
41191
41192
41193 \end_layout
41194
41195 \begin_layout Subsection
41196 Screen Fonts
41197 \begin_inset Index idx
41198 status collapsed
41199
41200 \begin_layout Plain Layout
41201 Font ! Screen
41202 \end_layout
41203
41204 \end_inset
41205
41206
41207 \begin_inset CommandInset label
41208 LatexCommand label
41209 name "sub:Screen-Fonts"
41210
41211 \end_inset
41212
41213
41214 \end_layout
41215
41216 \begin_layout Standard
41217 These fonts are used to display your documents on the screen.
41218 \end_layout
41219
41220 \begin_layout Standard
41221 \begin_inset Note Greyedout
41222 status collapsed
41223
41224 \begin_layout Plain Layout
41225
41226 \series bold
41227 Note:
41228 \series default
41229  This section only deals with the fonts 
41230 \emph on
41231 inside
41232 \emph default
41233  the LyX window.
41234  The fonts that appear on the output are independent from these fonts, and
41235  set in the menu 
41236 \family sans
41237 Document\SpecialChar \menuseparator
41238 Settings\SpecialChar \menuseparator
41239 Fonts
41240 \family default
41241 .
41242 \end_layout
41243
41244 \end_inset
41245
41246
41247 \end_layout
41248
41249 \begin_layout Standard
41250 By default, LyX uses 
41251 \family typewriter
41252 Times
41253 \family default
41254  as roman (serif) font, 
41255 \family typewriter
41256 Arial
41257 \family default
41258  or 
41259 \family typewriter
41260 Helvetica
41261 \family default
41262  (depends on the system) as 
41263 \family sans
41264 sans
41265 \begin_inset space ~
41266 \end_inset
41267
41268 serif
41269 \family default
41270  font and 
41271 \family typewriter
41272 Courier
41273 \family default
41274  as 
41275 \family typewriter
41276 typewriter
41277 \family default
41278  font.
41279 \end_layout
41280
41281 \begin_layout Standard
41282 You can change the font size with the 
41283 \family sans
41284 Zoom
41285 \family default
41286  setting.
41287 \end_layout
41288
41289 \begin_layout Standard
41290 The 
41291 \family sans
41292 Font Sizes
41293 \family default
41294  are calculated as letter height in units of points.
41295  72
41296 \begin_inset space \thinspace{}
41297 \end_inset
41298
41299 points have the size of 1
41300 \begin_inset space \thinspace{}
41301 \end_inset
41302
41303 inch, see Appendix
41304 \begin_inset space ~
41305 \end_inset
41306
41307
41308 \begin_inset CommandInset ref
41309 LatexCommand ref
41310 reference "chap:Units-available-in"
41311
41312 \end_inset
41313
41314 .
41315  The default font sizes are the same as if a document font size of 10
41316 \begin_inset space \thinspace{}
41317 \end_inset
41318
41319 pt were used.
41320  The sizes are explained in detail in section
41321 \begin_inset space ~
41322 \end_inset
41323
41324
41325 \begin_inset CommandInset ref
41326 LatexCommand ref
41327 reference "sub:Document-Font"
41328
41329 \end_inset
41330
41331 .
41332 \end_layout
41333
41334 \begin_layout Standard
41335 With the option 
41336 \family sans
41337 Use Pixmap Cache to speed up font rendering
41338 \family default
41339  enabled, LyX needs to redraw the screen less often.
41340  This results in better performance, especially on slow systems.
41341  On the other hand, the characters might look more fuzzy on screen.
41342  So whether you enable this or not depends on whether you prefer speed over
41343  aesthetics.
41344  Note that the Pixmap Cache is only available and useful under Mac
41345 \begin_inset space ~
41346 \end_inset
41347
41348 OS and Windows.
41349 \end_layout
41350
41351 \begin_layout Subsection
41352 Colors
41353 \begin_inset Index idx
41354 status collapsed
41355
41356 \begin_layout Plain Layout
41357 Color ! LyX screen
41358 \end_layout
41359
41360 \end_inset
41361
41362
41363 \begin_inset Index idx
41364 status collapsed
41365
41366 \begin_layout Plain Layout
41367 Settings ! Color
41368 \end_layout
41369
41370 \end_inset
41371
41372
41373 \end_layout
41374
41375 \begin_layout Standard
41376 Here you can change all the colors used by LyX.
41377  Choose an item in the list and use the 
41378 \family sans
41379 Alter
41380 \family default
41381  button.
41382 \end_layout
41383
41384 \begin_layout Standard
41385 By using the option 
41386 \family sans
41387 Use system colors
41388 \family default
41389  the color scheme of your OS or window manager is used.
41390  The colors 
41391 \family sans
41392 cursor, selection, table line, text, URL
41393 \begin_inset space ~
41394 \end_inset
41395
41396 label and URL
41397 \begin_inset space ~
41398 \end_inset
41399
41400 text
41401 \family default
41402  are then not customizable and thus not listed.
41403 \end_layout
41404
41405 \begin_layout Subsection
41406 Display
41407 \begin_inset Index idx
41408 status collapsed
41409
41410 \begin_layout Plain Layout
41411 Settings ! Display
41412 \end_layout
41413
41414 \end_inset
41415
41416
41417 \end_layout
41418
41419 \begin_layout Standard
41420 Here you can specify if graphics inside LyX are displayed.
41421 \end_layout
41422
41423 \begin_layout Standard
41424
41425 \family sans
41426 Instant Preview
41427 \family default
41428  enables previewing snippets of your document.
41429  This feature is described in section
41430 \begin_inset space ~
41431 \end_inset
41432
41433
41434 \begin_inset CommandInset ref
41435 LatexCommand ref
41436 reference "sec:Previewing-snippets-of"
41437
41438 \end_inset
41439
41440 .
41441 \end_layout
41442
41443 \begin_layout Standard
41444 The option 
41445 \family sans
41446 Mark
41447 \begin_inset space ~
41448 \end_inset
41449
41450 end
41451 \begin_inset space ~
41452 \end_inset
41453
41454 of
41455 \begin_inset space ~
41456 \end_inset
41457
41458 paragraphs
41459 \family default
41460  displays a pilcrow (¶) at the end of every paragraph.
41461 \end_layout
41462
41463 \begin_layout Section
41464 Editing
41465 \begin_inset Index idx
41466 status collapsed
41467
41468 \begin_layout Plain Layout
41469 Settings ! Editing
41470 \end_layout
41471
41472 \end_inset
41473
41474
41475 \end_layout
41476
41477 \begin_layout Subsection
41478 Control
41479 \end_layout
41480
41481 \begin_layout Subsubsection
41482 Editing
41483 \end_layout
41484
41485 \begin_layout Standard
41486 The option 
41487 \family sans
41488 Cursor follows scrollbar
41489 \family default
41490  sets the cursor to the top of the currently displayed document part when
41491  scrolling.
41492 \end_layout
41493
41494 \begin_layout Standard
41495 You can adjust the width of the cursor.
41496  If you set the value to zero the thickness of the cursor scales relative
41497  to the zoom value you choose for the screen fonts.
41498 \end_layout
41499
41500 \begin_layout Standard
41501
41502 \family sans
41503 Scroll below end of document
41504 \family default
41505  is self-explanatory.
41506 \end_layout
41507
41508 \begin_layout Standard
41509 In LyX one can jump from word to word by pressing 
41510 \family sans
41511 Ctrl+arrow key
41512 \family default
41513 .
41514  With the option
41515 \family sans
41516  Use Mac-style for cursor moving between words
41517 \family default
41518  the cursor jumps from the end of a word to the end of the next word.
41519  Normally it jumps from the beginning to the beginning.
41520 \end_layout
41521
41522 \begin_layout Standard
41523 The option 
41524 \family sans
41525 Sort environments alphabetically
41526 \family default
41527  sorts the entries in the pull-down box for the paragraph environments.
41528 \end_layout
41529
41530 \begin_layout Standard
41531 The option 
41532 \family sans
41533 Group environments by their category
41534 \family default
41535  groups the entries in the pull-down box for the paragraph environments.
41536 \end_layout
41537
41538 \begin_layout Standard
41539 The math macro editing option determines the editing style, see the section
41540  
41541 \emph on
41542 Math Macros
41543 \emph default
41544  of the 
41545 \emph on
41546 Math
41547 \emph default
41548  manual.
41549 \end_layout
41550
41551 \begin_layout Subsubsection
41552 Fullscreen
41553 \end_layout
41554
41555 \begin_layout Standard
41556 Here you can specify what is hidden in the fullscreen mode.
41557  The option 
41558 \family sans
41559 Limit text width
41560 \family default
41561  specifies the width of the text in fullscreen mode.
41562  This way you can display the text smaller than the screen; the text then
41563  appears centered.
41564 \end_layout
41565
41566 \begin_layout Subsection
41567 Shortcuts
41568 \begin_inset Index idx
41569 status collapsed
41570
41571 \begin_layout Plain Layout
41572 Key Bindings
41573 \end_layout
41574
41575 \end_inset
41576
41577
41578 \begin_inset Index idx
41579 status collapsed
41580
41581 \begin_layout Plain Layout
41582 Settings ! Shortcuts
41583 \end_layout
41584
41585 \end_inset
41586
41587
41588 \end_layout
41589
41590 \begin_layout Subsubsection
41591 Bind File
41592 \end_layout
41593
41594 \begin_layout Standard
41595 Bindings are used to bind a LyX-function to a key.
41596  Several binding files are available:
41597 \end_layout
41598
41599 \begin_layout Description
41600 cua.bind typical set of PC keyboard shortcuts
41601 \end_layout
41602
41603 \begin_layout Description
41604 (x)emacs.bind set of bindings like they are used in the editor programs 
41605 \family sans
41606 Emacs
41607 \family default
41608  (
41609 \family sans
41610 XEmacs
41611 \family default
41612 )
41613 \end_layout
41614
41615 \begin_layout Description
41616 mac.bind set of bindings for 
41617 \family sans
41618 Mac
41619 \begin_inset space \thinspace{}
41620 \end_inset
41621
41622 OS
41623 \family default
41624  systems.
41625 \end_layout
41626
41627 \begin_layout Standard
41628 There are also bind-files designed for special document classes, like 
41629 \shape italic
41630 broadway.bind
41631 \shape default
41632 , and bind files for special languages.
41633  The names of language bind-files begin with a language code, e.
41634 \begin_inset space \thinspace{}
41635 \end_inset
41636
41637 g.
41638 \begin_inset space \space{}
41639 \end_inset
41640
41641
41642 \begin_inset Quotes eld
41643 \end_inset
41644
41645 pt
41646 \begin_inset Quotes erd
41647 \end_inset
41648
41649  for Portuguese.
41650  If you use LyX in a certain language, LyX will try to use the appropriate
41651  bind-file.
41652 \end_layout
41653
41654 \begin_layout Standard
41655 Some bind-files, like 
41656 \emph on
41657 math.bind
41658 \emph default
41659 , have only a small scope.
41660  When looking at the end of the file 
41661 \shape italic
41662 cua.bind
41663 \shape default
41664 , you can see that they are included to keep the overview in the bind-file.
41665 \end_layout
41666
41667 \begin_layout Subsubsection
41668 Editing Shortcuts
41669 \begin_inset CommandInset label
41670 LatexCommand label
41671 name "sub:Editing-Shortcuts"
41672
41673 \end_inset
41674
41675
41676 \begin_inset Index idx
41677 status collapsed
41678
41679 \begin_layout Plain Layout
41680 Key Bindings ! Editing
41681 \end_layout
41682
41683 \end_inset
41684
41685
41686 \end_layout
41687
41688 \begin_layout Standard
41689 To add new or modify existing keybindings to your own taste you can use
41690  the table in the dialog that lists all LyX-functions and the bound shortcuts.
41691  To find functions easily, they are grouped by categories and the dialog
41692  provides the field 
41693 \family sans
41694 Show key-bindings containing
41695 \family default
41696 .
41697  In this field you can insert a keyword for a function you want to edit.
41698  Insert there for example as keyword 
41699 \begin_inset Quotes eld
41700 \end_inset
41701
41702 paste
41703 \begin_inset Quotes erd
41704 \end_inset
41705
41706  and you get the 4 different existing shortcuts for the 3 different functions
41707  that contain 
41708 \begin_inset Quotes eld
41709 \end_inset
41710
41711 paste
41712 \begin_inset Quotes erd
41713 \end_inset
41714
41715  in their name.
41716  As you can see, one function can have more than one shortcut.
41717  All LyX-functions are also listed in the file 
41718 \emph on
41719 LyX Functions
41720 \emph default
41721  that you will find in the 
41722 \family sans
41723 Help
41724 \family default
41725  menu.
41726 \end_layout
41727
41728 \begin_layout Standard
41729 To add e.
41730 \begin_inset space \thinspace{}
41731 \end_inset
41732
41733 g.
41734 \begin_inset space \space{}
41735 \end_inset
41736
41737 the shortcut 
41738 \family sans
41739 Alt+Q
41740 \family default
41741  for the function 
41742 \family sans
41743 textstyle-apply
41744 \family default
41745 , select the function and press the 
41746 \family sans
41747 Modify
41748 \family default
41749  button.
41750  A dialog pops up where you can add the shortcut by using it.
41751  So press Alt+Q to define the shortcut.
41752  Modifying an existing shortcut is done the same way.
41753  You can also bind multiple functions to one shortcut by modifying an existing
41754  binding and adding the different function names as a semicolon separated
41755  list.
41756  LyX will then use the first function that is enabled in the current document
41757  part.
41758  The binding for the function 
41759 \family sans
41760 command-alter
41761 \family default
41762  is an example of this.
41763 \end_layout
41764
41765 \begin_layout Standard
41766 Alternatively you can also edit shortcuts by modifying bind-files with a
41767  text editor.
41768  The syntax of the entries is:
41769 \end_layout
41770
41771 \begin_layout Standard
41772
41773 \series bold
41774
41775 \backslash
41776 bind 
41777 \begin_inset Quotes eld
41778 \end_inset
41779
41780 key combination
41781 \begin_inset Quotes erd
41782 \end_inset
41783
41784  
41785 \begin_inset Quotes eld
41786 \end_inset
41787
41788 LyX-function
41789 \begin_inset Quotes erd
41790 \end_inset
41791
41792
41793 \end_layout
41794
41795 \begin_layout Subsection
41796 Keyboard / Mouse
41797 \begin_inset CommandInset label
41798 LatexCommand label
41799 name "sub:Keyboard-Map"
41800
41801 \end_inset
41802
41803
41804 \begin_inset Index idx
41805 status collapsed
41806
41807 \begin_layout Plain Layout
41808 Keyboard Map
41809 \end_layout
41810
41811 \end_inset
41812
41813
41814 \begin_inset Index idx
41815 status collapsed
41816
41817 \begin_layout Plain Layout
41818 Settings ! Keyboard Map
41819 \end_layout
41820
41821 \end_inset
41822
41823
41824 \end_layout
41825
41826 \begin_layout Standard
41827 Normally keyboard settings have to be done in a menu of your operating system.
41828  For the case that this is not possible, LyX provides keyboard maps.
41829  If you have e.
41830 \begin_inset space \thinspace{}
41831 \end_inset
41832
41833 g.
41834 \begin_inset space \space{}
41835 \end_inset
41836
41837 a Czech keyboard but want to write with it like with a Romanian one, you
41838  can use the keyboard map file named 
41839 \emph on
41840 romanian.kmap
41841 \emph default
41842 .
41843 \end_layout
41844
41845 \begin_layout Standard
41846 \begin_inset Note Greyedout
41847 status collapsed
41848
41849 \begin_layout Plain Layout
41850
41851 \series bold
41852 Note:
41853 \series default
41854  Keyboard maps are only provided as makeshift and don't work on all systems.
41855 \end_layout
41856
41857 \end_inset
41858
41859
41860 \end_layout
41861
41862 \begin_layout Standard
41863 You can furthermore specify here the 
41864 \family sans
41865 Wheel scrolling speed
41866 \family default
41867 .
41868  The standard value is 1.0, higher values speed up the scrolling, lower ones
41869  slow it down.
41870 \end_layout
41871
41872 \begin_layout Standard
41873 In the section 
41874 \family sans
41875 Scroll wheel zoom
41876 \family default
41877  you can select a key for zooming.
41878  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
41879 \end_layout
41880
41881 \begin_layout Subsection
41882 Input Completion
41883 \end_layout
41884
41885 \begin_layout Standard
41886 Input completion is described in sec.
41887 \begin_inset space \thinspace{}
41888 \end_inset
41889
41890
41891 \begin_inset CommandInset ref
41892 LatexCommand ref
41893 reference "sec:Input-Completion"
41894
41895 \end_inset
41896
41897 .
41898 \end_layout
41899
41900 \begin_layout Section
41901 Paths
41902 \begin_inset CommandInset label
41903 LatexCommand label
41904 name "sec:Paths"
41905
41906 \end_inset
41907
41908
41909 \begin_inset Index idx
41910 status collapsed
41911
41912 \begin_layout Plain Layout
41913 Paths
41914 \end_layout
41915
41916 \end_inset
41917
41918
41919 \begin_inset Index idx
41920 status collapsed
41921
41922 \begin_layout Plain Layout
41923 Settings ! Paths
41924 \end_layout
41925
41926 \end_inset
41927
41928
41929 \end_layout
41930
41931 \begin_layout Description
41932 Working
41933 \begin_inset space ~
41934 \end_inset
41935
41936 directory This is LyX's working directory.
41937  It is the default when you 
41938 \family sans
41939 Open
41940 \family default
41941
41942 \family sans
41943 Save
41944 \family default
41945  or 
41946 \family sans
41947 Save
41948 \begin_inset space ~
41949 \end_inset
41950
41951 as
41952 \family default
41953  files.
41954 \end_layout
41955
41956 \begin_layout Description
41957 Document
41958 \begin_inset space ~
41959 \end_inset
41960
41961 templates This directory will be opened when you use the menu 
41962 \family sans
41963 File\SpecialChar \menuseparator
41964 New
41965 \begin_inset space ~
41966 \end_inset
41967
41968 from
41969 \begin_inset space ~
41970 \end_inset
41971
41972 Template
41973 \family default
41974 .
41975 \end_layout
41976
41977 \begin_layout Description
41978 Example
41979 \begin_inset space ~
41980 \end_inset
41981
41982 files This directory will be opened when you use the button 
41983 \family sans
41984 Examples
41985 \family default
41986  in the 
41987 \family sans
41988 File\SpecialChar \menuseparator
41989 Open
41990 \family default
41991  dialog.
41992 \begin_inset Newline newline
41993 \end_inset
41994
41995
41996 \begin_inset Note Greyedout
41997 status collapsed
41998
41999 \begin_layout Plain Layout
42000
42001 \series bold
42002 Note:
42003 \series default
42004  The 
42005 \family sans
42006 Examples
42007 \family default
42008  button does not exist when using LyX on Mac OS and Windows systems.
42009 \end_layout
42010
42011 \end_inset
42012
42013
42014 \end_layout
42015
42016 \begin_layout Description
42017 Backup
42018 \begin_inset space ~
42019 \end_inset
42020
42021 directory
42022 \begin_inset Index idx
42023 status collapsed
42024
42025 \begin_layout Plain Layout
42026 Backup ! Directory
42027 \end_layout
42028
42029 \end_inset
42030
42031  Backup copies will be saved to this directory.
42032  If no directory is given but backups are enabled as described in section
42033 \begin_inset space ~
42034 \end_inset
42035
42036
42037 \begin_inset CommandInset ref
42038 LatexCommand ref
42039 reference "sub:Backup documents"
42040
42041 \end_inset
42042
42043 , the 
42044 \family sans
42045 Working directory
42046 \family default
42047  will be used to save the backups.
42048 \begin_inset Newline newline
42049 \end_inset
42050
42051 Backup files have the ending 
42052 \begin_inset Quotes eld
42053 \end_inset
42054
42055 .lyx~
42056 \begin_inset Quotes erd
42057 \end_inset
42058
42059 .
42060 \end_layout
42061
42062 \begin_layout Description
42063 Ly
42064 \begin_inset ERT
42065 status collapsed
42066
42067 \begin_layout Plain Layout
42068
42069 {}
42070 \end_layout
42071
42072 \end_inset
42073
42074 XServer
42075 \begin_inset space ~
42076 \end_inset
42077
42078 pipe Here you can enter the name of a so-called UNIX-pipe.
42079  This pipe is used to send data from external programs to LyX.
42080 \begin_inset Newline newline
42081 \end_inset
42082
42083
42084 \series bold
42085 Example:
42086 \series default
42087  You add a BibTeX-database 
42088 \emph on
42089 test.bib
42090 \emph default
42091  to your document.
42092  You can edit this file with the program 
42093 \family typewriter
42094 JabRef
42095 \family default
42096 .
42097  In 
42098 \family typewriter
42099 JabRef
42100 \family default
42101  you have to use the same Unix-Pipe for LyX in its preferences under 
42102 \family sans
42103 External
42104 \begin_inset space ~
42105 \end_inset
42106
42107 programs
42108 \family default
42109 .
42110  If you want to get one entry of the database as citation, select it in
42111  
42112 \family typewriter
42113 JabRef
42114 \family default
42115  and click on the LyX-symbol.
42116  The entry will now be inserted as citation at the current cursor position
42117  in your LyX file.
42118  
42119 \family typewriter
42120 JabRef
42121 \family default
42122  and LyX need of course to be run the same time.
42123 \begin_inset Newline newline
42124 \end_inset
42125
42126 The pipe is also used for the 
42127 \family sans
42128 Single instance
42129 \family default
42130  feature, see sec.
42131 \begin_inset space \thinspace{}
42132 \end_inset
42133
42134
42135 \begin_inset CommandInset ref
42136 LatexCommand ref
42137 reference "sub:Backup documents"
42138
42139 \end_inset
42140
42141 .
42142 \begin_inset Newline newline
42143 \end_inset
42144
42145 To use the LyXServer-Pipe on Windows, you must use this pipe name:
42146 \begin_inset Newline newline
42147 \end_inset
42148
42149
42150 \series bold
42151
42152 \backslash
42153
42154 \backslash
42155 .
42156 \backslash
42157 pipe
42158 \backslash
42159 lyxpipe
42160 \end_layout
42161
42162 \begin_layout Description
42163 Temporary
42164 \begin_inset space ~
42165 \end_inset
42166
42167 directory Temporary files will be saved in this directory.
42168 \end_layout
42169
42170 \begin_layout Description
42171 Thesaurus
42172 \begin_inset space ~
42173 \end_inset
42174
42175 dictionary Directory where the thesaurus dictionaries are located.
42176  You only need to specify it if the thesaurus does otherwise not work or
42177  if you want to use custom/alternative dictionaries.
42178 \end_layout
42179
42180 \begin_layout Description
42181 Hunspell
42182 \begin_inset space ~
42183 \end_inset
42184
42185 dictionary Directory where the dictionaries of the spell checker program
42186  
42187 \family typewriter
42188 Hunspell
42189 \family default
42190  are located.
42191  You only need to specify it if you are using 
42192 \family typewriter
42193 Hunspell
42194 \family default
42195  and spell checking does otherwise not work or if you want to use custom/alterna
42196 tive dictionaries.
42197  For LyX on Windows 
42198 \family typewriter
42199 Hunspell
42200 \family default
42201  is the only available spell checker and should work without specifying
42202  a directory.
42203 \end_layout
42204
42205 \begin_layout Description
42206 PATH
42207 \begin_inset space ~
42208 \end_inset
42209
42210 prefix This field contains a list of paths to external programs.
42211  When LyX needs to use an external program, it looks in this list where
42212  to find it on the system.
42213  The path list is automatically set up on Windows and Mac systems when LyX
42214  is configured, so that you normally don't have to modify it.
42215  On Unix
42216 \begin_inset space \thinspace{}
42217 \end_inset
42218
42219 /
42220 \begin_inset space \thinspace{}
42221 \end_inset
42222
42223 Linux systems, the path list will need to be set only if there are external
42224  programs you wish to use that are not in your normal system path ($PATH).
42225 \end_layout
42226
42227 \begin_layout Description
42228 TEXINPUTS
42229 \begin_inset space ~
42230 \end_inset
42231
42232 prefix The TEXINPUTS environment variable allows to use external files which
42233  are included to a LyX document via commands in TeX code or in the document
42234  preamble.
42235  This prefix includes by default the document directory (represented by
42236  a single dot '.').
42237  The prefix can contain any list of paths separated by the default separator
42238  of the OS (':' on UNIX like systems and ';' on Windows).
42239  If files are included, the paths listed in the TEXINPUTS prefix will be
42240  scanned for the input files.
42241  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
42242  to be relative to the directory of your LyX file.
42243  It is recommended to include always '.' as one of the paths, otherwise compilati
42244 on may fail for some documents.
42245 \end_layout
42246
42247 \begin_layout Section
42248 Identity
42249 \end_layout
42250
42251 \begin_layout Standard
42252 Here you can insert your name and email address.
42253  The identity will be used when you have enabled change tracking as described
42254  in section
42255 \begin_inset space ~
42256 \end_inset
42257
42258
42259 \begin_inset CommandInset ref
42260 LatexCommand ref
42261 reference "sec:Change-Tracking"
42262
42263 \end_inset
42264
42265 , to mark changes you make as yours.
42266 \end_layout
42267
42268 \begin_layout Section
42269 Language Settings
42270 \begin_inset Index idx
42271 status collapsed
42272
42273 \begin_layout Plain Layout
42274 Language ! Settings
42275 \end_layout
42276
42277 \end_inset
42278
42279
42280 \begin_inset Index idx
42281 status collapsed
42282
42283 \begin_layout Plain Layout
42284 Settings ! Language
42285 \end_layout
42286
42287 \end_inset
42288
42289
42290 \end_layout
42291
42292 \begin_layout Subsection
42293 Language
42294 \begin_inset CommandInset label
42295 LatexCommand label
42296 name "sub:Prefs-Language"
42297
42298 \end_inset
42299
42300
42301 \end_layout
42302
42303 \begin_layout Description
42304 User
42305 \begin_inset space ~
42306 \end_inset
42307
42308 Interface
42309 \begin_inset space ~
42310 \end_inset
42311
42312 language Here you can select the language of LyX's menus.
42313  You find the actual translation status here: 
42314 \begin_inset CommandInset href
42315 LatexCommand href
42316 target "http://www.lyx.org/I18n"
42317
42318 \end_inset
42319
42320
42321 \end_layout
42322
42323 \begin_layout Description
42324 Language
42325 \begin_inset space ~
42326 \end_inset
42327
42328 package determines which LaTeX package should be loaded to handle language
42329  issues.
42330  Language issues that are handled by this package include proper hyphenation
42331  as well as localization of dates and text strings such as 
42332 \begin_inset Quotes eld
42333 \end_inset
42334
42335 Chapter
42336 \begin_inset Quotes erd
42337 \end_inset
42338
42339  and 
42340 \begin_inset Quotes eld
42341 \end_inset
42342
42343 Table
42344 \begin_inset Quotes erd
42345 \end_inset
42346
42347 .
42348  The most widespread language package is 
42349 \series bold
42350 babel
42351 \series default
42352
42353 \begin_inset Index idx
42354 status collapsed
42355
42356 \begin_layout Plain Layout
42357 LaTeX-packages ! babel
42358 \end_layout
42359
42360 \end_inset
42361
42362 , it is the default language package in classic LaTeX.
42363  More recent typesetting engines such as XeTeX and LuaTeX come with the
42364  alternative language package 
42365 \series bold
42366 polyglossia
42367 \series default
42368
42369 \begin_inset Index idx
42370 status collapsed
42371
42372 \begin_layout Plain Layout
42373 LaTeX-packages ! polyglossia
42374 \end_layout
42375
42376 \end_inset
42377
42378  that is more suited for the multi-script support of these engines.
42379  Furthermore, there are also specific language packages for languages not
42380  covered by babel.
42381  The available selections are described in sec.
42382 \begin_inset space \thinspace{}
42383 \end_inset
42384
42385
42386 \begin_inset CommandInset ref
42387 LatexCommand ref
42388 reference "sec:Language-encodings"
42389
42390 \end_inset
42391
42392 .
42393 \end_layout
42394
42395 \begin_layout Description
42396 Command
42397 \begin_inset space ~
42398 \end_inset
42399
42400 start If a special LaTeX-package is needed to write in a certain document
42401  language, you can here specify the command to start the package.
42402  An example is the start command 
42403 \family sans
42404
42405 \backslash
42406 begin{arabtext}
42407 \family default
42408  that is needed to write Arabic using the package 
42409 \series bold
42410 ArabTeX
42411 \series default
42412 , see 
42413 \begin_inset CommandInset citation
42414 LatexCommand cite
42415 key "Arabic"
42416
42417 \end_inset
42418
42419 .
42420  The default is the 
42421 \series bold
42422 babel
42423 \series default
42424  command 
42425 \family sans
42426
42427 \backslash
42428 selectlanguage{$$lang}
42429 \family default
42430 .
42431 \end_layout
42432
42433 \begin_layout Description
42434 Command
42435 \begin_inset space ~
42436 \end_inset
42437
42438 end Counterpart to 
42439 \family sans
42440 Command start
42441 \family default
42442 .
42443  Some packages, like the default, don't have an end command since the start
42444  command toggles the package on and off.
42445 \end_layout
42446
42447 \begin_layout Description
42448 Default
42449 \begin_inset space ~
42450 \end_inset
42451
42452 Decimal
42453 \begin_inset space ~
42454 \end_inset
42455
42456 Point Define the default decimal point for the use in tables (decimal point
42457  alignment).
42458 \end_layout
42459
42460 \begin_layout Description
42461 Set
42462 \begin_inset space ~
42463 \end_inset
42464
42465 languages
42466 \begin_inset space ~
42467 \end_inset
42468
42469 globally When this option is set, the languages used in the document will
42470  be added as options to the document class options, so that they can be
42471  used by all LaTeX-packages.
42472  Otherwise they will only be used as options for the 
42473 \series bold
42474 babel
42475 \series default
42476  package.
42477 \end_layout
42478
42479 \begin_layout Description
42480 Auto
42481 \begin_inset space ~
42482 \end_inset
42483
42484 begin When this option is set, documents start with the chosen document
42485  language.
42486  When this option is not set, the 
42487 \family sans
42488 Command
42489 \begin_inset space ~
42490 \end_inset
42491
42492 start
42493 \family default
42494  is explicitly set to the beginning of the document in the LaTeX-output.
42495  This assures that the correct language is used when you use another 
42496 \family sans
42497 Command
42498 \begin_inset space ~
42499 \end_inset
42500
42501 start
42502 \family default
42503  than the default.
42504 \end_layout
42505
42506 \begin_layout Description
42507 Auto
42508 \begin_inset space ~
42509 \end_inset
42510
42511 end Counterpart to 
42512 \family sans
42513 Auto
42514 \begin_inset space ~
42515 \end_inset
42516
42517 begin
42518 \family default
42519 .
42520  When it is not set, the 
42521 \family sans
42522 Command
42523 \begin_inset space ~
42524 \end_inset
42525
42526 end
42527 \family default
42528  is set to the end of the document.
42529 \end_layout
42530
42531 \begin_layout Description
42532 Mark
42533 \begin_inset space ~
42534 \end_inset
42535
42536 foreign
42537 \begin_inset space ~
42538 \end_inset
42539
42540 languages Text marked formatted in a language different from the document
42541  language will be underlined in blue.
42542 \end_layout
42543
42544 \begin_layout Description
42545 Enable
42546 \begin_inset space ~
42547 \end_inset
42548
42549 RTL
42550 \begin_inset space ~
42551 \end_inset
42552
42553 support Enables the use of languages, written from right to left (RTL),
42554  like Arabic, Hebrew, Farsi.
42555 \end_layout
42556
42557 \begin_layout Description
42558 Cursor
42559 \begin_inset space ~
42560 \end_inset
42561
42562 movement When writing RTL, you can define if the left and right arrow keys
42563  move the cursor visually to the left or right, respectively, or logically.
42564  Logical means that the cursor is moved to the left when pressing the right
42565  arrow key and the cursor is inside text in an RTL language.
42566 \end_layout
42567
42568 \begin_layout Subsection
42569 Spellchecker
42570 \end_layout
42571
42572 \begin_layout Standard
42573 The spellchecker settings are explained in section
42574 \begin_inset space ~
42575 \end_inset
42576
42577
42578 \begin_inset CommandInset ref
42579 LatexCommand ref
42580 reference "sec:Spellchecking"
42581
42582 \end_inset
42583
42584 .
42585 \end_layout
42586
42587 \begin_layout Section
42588 Outputs
42589 \end_layout
42590
42591 \begin_layout Subsection
42592 General
42593 \end_layout
42594
42595 \begin_layout Description
42596 Output
42597 \begin_inset space ~
42598 \end_inset
42599
42600 line
42601 \begin_inset space ~
42602 \end_inset
42603
42604 length sets the maximum number of characters printed in one line when using
42605  the menu 
42606 \family sans
42607 File\SpecialChar \menuseparator
42608 Export\SpecialChar \menuseparator
42609 Plain
42610 \begin_inset space ~
42611 \end_inset
42612
42613 text
42614 \family default
42615 .
42616  Setting the line length to 0 means all text is printed in one endless line.
42617 \end_layout
42618
42619 \begin_layout Description
42620 Date
42621 \begin_inset space ~
42622 \end_inset
42623
42624 format
42625 \begin_inset Index idx
42626 status collapsed
42627
42628 \begin_layout Plain Layout
42629 Date Format
42630 \end_layout
42631
42632 \end_inset
42633
42634
42635 \begin_inset Index idx
42636 status collapsed
42637
42638 \begin_layout Plain Layout
42639 Settings ! Date format
42640 \end_layout
42641
42642 \end_inset
42643
42644  The date format can be one or a mixture of the formats listed here:
42645 \begin_inset Newline newline
42646 \end_inset
42647
42648
42649 \begin_inset Flex URL
42650 status collapsed
42651
42652 \begin_layout Plain Layout
42653
42654 http://unixhelp.ed.ac.uk/CGI/man-cgi?date
42655 \end_layout
42656
42657 \end_inset
42658
42659
42660 \begin_inset Newline newline
42661 \end_inset
42662
42663 For example the format
42664 \begin_inset Newline newline
42665 \end_inset
42666
42667 %d/%m/%y
42668 \begin_inset Newline newline
42669 \end_inset
42670
42671 prints the date as day/month/year.
42672 \end_layout
42673
42674 \begin_layout Description
42675 Overwrite
42676 \begin_inset space ~
42677 \end_inset
42678
42679 on
42680 \begin_inset space ~
42681 \end_inset
42682
42683 export Setting what LyX is allowed to overwrite on export.
42684 \end_layout
42685
42686 \begin_layout Description
42687 Forward
42688 \begin_inset space ~
42689 \end_inset
42690
42691 search Commands that will be used for the menu 
42692 \family sans
42693 Navigate\SpecialChar \menuseparator
42694 Forward
42695 \begin_inset space ~
42696 \end_inset
42697
42698 search
42699 \family default
42700 .
42701  For a detailed description see section 
42702 \emph on
42703 Reverse DVI/PDF search
42704 \emph default
42705  of the 
42706 \emph on
42707 Additional
42708 \begin_inset space ~
42709 \end_inset
42710
42711 Features
42712 \emph default
42713  manual.
42714 \end_layout
42715
42716 \begin_layout Subsection
42717 Printer
42718 \begin_inset CommandInset label
42719 LatexCommand label
42720 name "sub:Printer"
42721
42722 \end_inset
42723
42724
42725 \begin_inset Index idx
42726 status collapsed
42727
42728 \begin_layout Plain Layout
42729 Printer
42730 \end_layout
42731
42732 \end_inset
42733
42734
42735 \begin_inset Index idx
42736 status collapsed
42737
42738 \begin_layout Plain Layout
42739 Settings ! Printer
42740 \end_layout
42741
42742 \end_inset
42743
42744
42745 \end_layout
42746
42747 \begin_layout Description
42748 Default
42749 \begin_inset space ~
42750 \end_inset
42751
42752 printer Here you can specify the name of your default printer.
42753  The name will be used when the 
42754 \family sans
42755 Printer command
42756 \family default
42757  is executed.
42758 \begin_inset Newline newline
42759 \end_inset
42760
42761
42762 \begin_inset Note Greyedout
42763 status collapsed
42764
42765 \begin_layout Plain Layout
42766
42767 \series bold
42768 Note:
42769 \series default
42770  You can leave this field empty on Windows systems because it has no effect.
42771 \end_layout
42772
42773 \end_inset
42774
42775
42776 \end_layout
42777
42778 \begin_layout Description
42779 Printer
42780 \begin_inset space ~
42781 \end_inset
42782
42783 command is the command LyX
42784 \begin_inset space \thinspace{}
42785 \end_inset
42786
42787 /
42788 \begin_inset space \thinspace{}
42789 \end_inset
42790
42791 LaTeX uses for printing.
42792  The default is 
42793 \family sans
42794 dvips
42795 \family default
42796  on most systems.
42797 \end_layout
42798
42799 \begin_layout Description
42800 Printer
42801 \begin_inset space ~
42802 \end_inset
42803
42804 Command
42805 \begin_inset space ~
42806 \end_inset
42807
42808 Options Here you can specify printer options.
42809  A list of printer options with explanations can be found in the documentation
42810  of the program that provides the 
42811 \family sans
42812 Printer command
42813 \family default
42814  you are using.
42815 \end_layout
42816
42817 \begin_layout Description
42818 Adapt
42819 \begin_inset space ~
42820 \end_inset
42821
42822 output
42823 \begin_inset space ~
42824 \end_inset
42825
42826 to
42827 \begin_inset space ~
42828 \end_inset
42829
42830 printer This option works only for the 
42831 \family sans
42832 Printer command
42833 \family default
42834  
42835 \begin_inset Quotes eld
42836 \end_inset
42837
42838
42839 \family sans
42840 dvips
42841 \family default
42842
42843 \begin_inset Quotes erd
42844 \end_inset
42845
42846 .
42847  It activates a configuration file for dvips.
42848  This is an option only for dvips experts.
42849 \end_layout
42850
42851 \begin_layout Subsection
42852 LaT
42853 \begin_inset ERT
42854 status collapsed
42855
42856 \begin_layout Plain Layout
42857
42858 {}
42859 \end_layout
42860
42861 \end_inset
42862
42863 eX
42864 \begin_inset CommandInset label
42865 LatexCommand label
42866 name "sub:LaTeX-settings"
42867
42868 \end_inset
42869
42870
42871 \begin_inset Index idx
42872 status collapsed
42873
42874 \begin_layout Plain Layout
42875 Settings ! LaTeX
42876 \end_layout
42877
42878 \end_inset
42879
42880
42881 \end_layout
42882
42883 \begin_layout Description
42884 Use
42885 \begin_inset space ~
42886 \end_inset
42887
42888 LaTe
42889 \begin_inset ERT
42890 status collapsed
42891
42892 \begin_layout Plain Layout
42893
42894 {}
42895 \end_layout
42896
42897 \end_inset
42898
42899 X
42900 \begin_inset space ~
42901 \end_inset
42902
42903 font
42904 \begin_inset space ~
42905 \end_inset
42906
42907 encoding This is the default encoding of the document font.
42908  
42909 \family sans
42910 T1
42911 \family default
42912  is the default and covers western languages and symbols.
42913  
42914 \family sans
42915 T2A
42916 \family default
42917
42918 \family sans
42919 T2B
42920 \family default
42921
42922 \family sans
42923 T2C
42924 \family default
42925
42926 \family sans
42927 LCY
42928 \family default
42929  and 
42930 \family sans
42931 X2
42932 \family default
42933  are used for Cyrillic.
42934  Combinations of the encodings are possible, like 
42935 \begin_inset Quotes eld
42936 \end_inset
42937
42938
42939 \family sans
42940 T1, T2B
42941 \family default
42942
42943 \begin_inset Quotes erd
42944 \end_inset
42945
42946 .
42947  The font encoding is normally automatically loaded by the language packages
42948  LyX sets up in the background.
42949  So there is no need to change the default encoding.
42950 \end_layout
42951
42952 \begin_layout Description
42953 Default
42954 \begin_inset space ~
42955 \end_inset
42956
42957 paper
42958 \begin_inset space ~
42959 \end_inset
42960
42961 size This is the paper size that is used for new documents.
42962  The 
42963 \family sans
42964 Default
42965 \family default
42966  value depends on your LaTeX-system setup.
42967 \end_layout
42968
42969 \begin_layout Description
42970 DVI
42971 \begin_inset space ~
42972 \end_inset
42973
42974 viewer
42975 \begin_inset space ~
42976 \end_inset
42977
42978 paper
42979 \begin_inset space ~
42980 \end_inset
42981
42982 size
42983 \begin_inset space ~
42984 \end_inset
42985
42986 options They only have an effect when the program 
42987 \family sans
42988 xdvi
42989 \family default
42990  is used as DVI-viewer, read its manual to find out more.
42991 \end_layout
42992
42993 \begin_layout Standard
42994 Here you can also specify options and commands with parameters for processors.
42995  But before you change something, it is strongly recommended to read the
42996  manuals of the applications.
42997 \end_layout
42998
42999 \begin_layout Description
43000 Bibliography
43001 \begin_inset space ~
43002 \end_inset
43003
43004 generation Settings for the generation of the bibliography, see section
43005 \begin_inset space ~
43006 \end_inset
43007
43008
43009 \begin_inset CommandInset ref
43010 LatexCommand ref
43011 reference "sub:Bibliography-databases"
43012
43013 \end_inset
43014
43015 .
43016 \end_layout
43017
43018 \begin_layout Description
43019 Index
43020 \begin_inset space ~
43021 \end_inset
43022
43023 generation Settings for the generation of the index, see section
43024 \begin_inset space ~
43025 \end_inset
43026
43027
43028 \begin_inset CommandInset ref
43029 LatexCommand ref
43030 reference "sub:Index-Program"
43031
43032 \end_inset
43033
43034 .
43035 \end_layout
43036
43037 \begin_layout Description
43038 Nomenclature
43039 \begin_inset space ~
43040 \end_inset
43041
43042 command Command for the program that generates the nomenclature, see section
43043 \begin_inset space ~
43044 \end_inset
43045
43046
43047 \begin_inset CommandInset ref
43048 LatexCommand ref
43049 reference "sub:Nomenclature-Program"
43050
43051 \end_inset
43052
43053 .
43054 \end_layout
43055
43056 \begin_layout Description
43057 CheckTe
43058 \begin_inset ERT
43059 status collapsed
43060
43061 \begin_layout Plain Layout
43062
43063 {}
43064 \end_layout
43065
43066 \end_inset
43067
43068 X
43069 \begin_inset space ~
43070 \end_inset
43071
43072 command Command for the program 
43073 \family sans
43074 CheckTeX
43075 \family default
43076  that is described in the section 
43077 \emph on
43078 Checking TeX
43079 \emph default
43080  of the 
43081 \emph on
43082 Additional Features
43083 \emph default
43084  manual.
43085 \end_layout
43086
43087 \begin_layout Standard
43088 There are additionally the following options:
43089 \end_layout
43090
43091 \begin_layout Description
43092 Use
43093 \begin_inset space ~
43094 \end_inset
43095
43096 Windows-style
43097 \begin_inset space ~
43098 \end_inset
43099
43100 paths
43101 \begin_inset space ~
43102 \end_inset
43103
43104 in
43105 \begin_inset space ~
43106 \end_inset
43107
43108 LaTeX
43109 \begin_inset space ~
43110 \end_inset
43111
43112 files Uses paths in the notation of Windows, that means that 
43113 \begin_inset Quotes eld
43114 \end_inset
43115
43116
43117 \backslash
43118
43119 \begin_inset Quotes erd
43120 \end_inset
43121
43122  is used instead of 
43123 \begin_inset Quotes eld
43124 \end_inset
43125
43126 /
43127 \begin_inset Quotes erd
43128 \end_inset
43129
43130  to separate folders.
43131  This option is enabled by default when you use LyX on Windows.
43132 \begin_inset Index idx
43133 status collapsed
43134
43135 \begin_layout Plain Layout
43136 Paths
43137 \end_layout
43138
43139 \end_inset
43140
43141
43142 \begin_inset Index idx
43143 status collapsed
43144
43145 \begin_layout Plain Layout
43146 Settings ! Paths
43147 \end_layout
43148
43149 \end_inset
43150
43151
43152 \end_layout
43153
43154 \begin_layout Description
43155 Reset
43156 \begin_inset space ~
43157 \end_inset
43158
43159 class
43160 \begin_inset space ~
43161 \end_inset
43162
43163 options
43164 \begin_inset space ~
43165 \end_inset
43166
43167 when
43168 \begin_inset space ~
43169 \end_inset
43170
43171 document
43172 \begin_inset space ~
43173 \end_inset
43174
43175 class
43176 \begin_inset space ~
43177 \end_inset
43178
43179 changes Removes all manually set document class options in the 
43180 \family sans
43181 Document\SpecialChar \menuseparator
43182 Settings
43183 \family default
43184  dialog when changing the document class.
43185 \end_layout
43186
43187 \begin_layout Section
43188 File
43189 \begin_inset space ~
43190 \end_inset
43191
43192 Handling
43193 \begin_inset Index idx
43194 status collapsed
43195
43196 \begin_layout Plain Layout
43197 File handling
43198 \end_layout
43199
43200 \end_inset
43201
43202
43203 \end_layout
43204
43205 \begin_layout Subsection
43206 Converters
43207 \begin_inset CommandInset label
43208 LatexCommand label
43209 name "sub:Converters"
43210
43211 \end_inset
43212
43213
43214 \begin_inset Index idx
43215 status collapsed
43216
43217 \begin_layout Plain Layout
43218 Converters
43219 \end_layout
43220
43221 \end_inset
43222
43223
43224 \end_layout
43225
43226 \begin_layout Standard
43227 Here you find the list of defined converter commands to convert material
43228  from one format to another.
43229  You can modify converters or create new ones.
43230  To modify a converter, select it, change the entry of the field 
43231 \family sans
43232 Converter
43233 \family default
43234  and/or 
43235 \family sans
43236 Extra
43237 \begin_inset space ~
43238 \end_inset
43239
43240 flag
43241 \family default
43242  and press the 
43243 \family sans
43244 Modify
43245 \family default
43246  button.
43247  To create a new converter, select an existing one, select a different format
43248  in the 
43249 \family sans
43250 To
43251 \begin_inset space ~
43252 \end_inset
43253
43254 format
43255 \family default
43256  drop-down list, modify the 
43257 \family sans
43258 Converter
43259 \family default
43260  field and press the 
43261 \family sans
43262 Add
43263 \family default
43264  button.
43265 \end_layout
43266
43267 \begin_layout Standard
43268 If the 
43269 \family sans
43270 Converter File Cache
43271 \family default
43272  is enabled, conversions will be cached as long as specified in the field
43273  
43274 \family sans
43275 Maximum Age (in days
43276 \family default
43277 ).
43278  This means that images don't need to be converted again when you reopen
43279  a document; the converted images from the cache will be used instead.
43280 \end_layout
43281
43282 \begin_layout Standard
43283 More about converters, like the flags that can be used in the converter
43284  definition, is described in the section 
43285 \emph on
43286 Converters
43287 \emph default
43288  of the 
43289 \emph on
43290 Customization
43291 \emph default
43292  manual.
43293 \end_layout
43294
43295 \begin_layout Subsection
43296 File Formats
43297 \begin_inset CommandInset label
43298 LatexCommand label
43299 name "sec:File-Formats"
43300
43301 \end_inset
43302
43303
43304 \begin_inset Index idx
43305 status collapsed
43306
43307 \begin_layout Plain Layout
43308 File formats
43309 \end_layout
43310
43311 \end_inset
43312
43313
43314 \begin_inset Index idx
43315 status collapsed
43316
43317 \begin_layout Plain Layout
43318 Copiers
43319 \end_layout
43320
43321 \end_inset
43322
43323
43324 \end_layout
43325
43326 \begin_layout Standard
43327 Here you find the list of defined file formats that LyX can handle.
43328  You can modify the viewer and editor program that should be used for certain
43329  formats.
43330 \end_layout
43331
43332 \begin_layout Standard
43333 Furthermore, you can define the 
43334 \family sans
43335 Default output format
43336 \family default
43337  that is used when you use 
43338 \family sans
43339 View, Update, View Master Document
43340 \family default
43341  or 
43342 \family sans
43343 Update Master Document
43344 \family default
43345  in the 
43346 \family sans
43347 View
43348 \family default
43349  menu or the toolbar.
43350 \end_layout
43351
43352 \begin_layout Standard
43353 More about formats and their options is described in the section 
43354 \emph on
43355 Formats
43356 \emph default
43357  of the 
43358 \emph on
43359 Customization
43360 \emph default
43361  manual.
43362 \end_layout
43363
43364 \begin_layout Standard
43365 Since all conversions from one format to another take place in LyX's temporary
43366  directory, it is sometimes necessary to modify a file before copying it
43367  to the temporary directory so that the conversion may be performed.
43368  This is done by specifying a 
43369 \family sans
43370 Copier
43371 \family default
43372 .
43373  More about this is described in the section 
43374 \emph on
43375 Copiers
43376 \emph default
43377  of the 
43378 \emph on
43379 Customization
43380 \emph default
43381  manual.
43382 \end_layout
43383
43384 \begin_layout Chapter
43385 Units available in LyX
43386 \begin_inset Index idx
43387 status collapsed
43388
43389 \begin_layout Plain Layout
43390 Units
43391 \end_layout
43392
43393 \end_inset
43394
43395
43396 \begin_inset CommandInset label
43397 LatexCommand label
43398 name "chap:Units-available-in"
43399
43400 \end_inset
43401
43402
43403 \end_layout
43404
43405 \begin_layout Standard
43406 To understand the units described in this documentation, 
43407 \begin_inset CommandInset ref
43408 LatexCommand ref
43409 reference "tab:Units"
43410
43411 \end_inset
43412
43413  explains all units available in LyX.
43414 \end_layout
43415
43416 \begin_layout Standard
43417 \begin_inset Float table
43418 placement h
43419 wide false
43420 sideways false
43421 status collapsed
43422
43423 \begin_layout Plain Layout
43424 \begin_inset Caption Standard
43425
43426 \begin_layout Plain Layout
43427 \begin_inset CommandInset label
43428 LatexCommand label
43429 name "tab:Units"
43430
43431 \end_inset
43432
43433 Units
43434 \end_layout
43435
43436 \end_inset
43437
43438
43439 \end_layout
43440
43441 \begin_layout Plain Layout
43442 \begin_inset VSpace medskip
43443 \end_inset
43444
43445
43446 \end_layout
43447
43448 \begin_layout Plain Layout
43449 \align center
43450 \begin_inset Tabular
43451 <lyxtabular version="3" rows="20" columns="2">
43452 <features rotate="0" tabularvalignment="middle">
43453 <column alignment="center" valignment="top" width="0">
43454 <column alignment="center" valignment="top" width="0">
43455 <row>
43456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43457 \begin_inset Text
43458
43459 \begin_layout Plain Layout
43460 unit
43461 \end_layout
43462
43463 \end_inset
43464 </cell>
43465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43466 \begin_inset Text
43467
43468 \begin_layout Plain Layout
43469 name/description
43470 \end_layout
43471
43472 \end_inset
43473 </cell>
43474 </row>
43475 <row>
43476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43477 \begin_inset Text
43478
43479 \begin_layout Plain Layout
43480 mm
43481 \end_layout
43482
43483 \end_inset
43484 </cell>
43485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43486 \begin_inset Text
43487
43488 \begin_layout Plain Layout
43489 millimeter
43490 \end_layout
43491
43492 \end_inset
43493 </cell>
43494 </row>
43495 <row>
43496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43497 \begin_inset Text
43498
43499 \begin_layout Plain Layout
43500 cm
43501 \end_layout
43502
43503 \end_inset
43504 </cell>
43505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43506 \begin_inset Text
43507
43508 \begin_layout Plain Layout
43509 centimeter
43510 \end_layout
43511
43512 \end_inset
43513 </cell>
43514 </row>
43515 <row>
43516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43517 \begin_inset Text
43518
43519 \begin_layout Plain Layout
43520 in
43521 \end_layout
43522
43523 \end_inset
43524 </cell>
43525 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43526 \begin_inset Text
43527
43528 \begin_layout Plain Layout
43529 inch
43530 \end_layout
43531
43532 \end_inset
43533 </cell>
43534 </row>
43535 <row>
43536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43537 \begin_inset Text
43538
43539 \begin_layout Plain Layout
43540 pt
43541 \end_layout
43542
43543 \end_inset
43544 </cell>
43545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43546 \begin_inset Text
43547
43548 \begin_layout Plain Layout
43549 point (72.27
43550 \begin_inset space \thinspace{}
43551 \end_inset
43552
43553 pt = 1
43554 \begin_inset space \thinspace{}
43555 \end_inset
43556
43557 in)
43558 \end_layout
43559
43560 \end_inset
43561 </cell>
43562 </row>
43563 <row>
43564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43565 \begin_inset Text
43566
43567 \begin_layout Plain Layout
43568 pc
43569 \end_layout
43570
43571 \end_inset
43572 </cell>
43573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43574 \begin_inset Text
43575
43576 \begin_layout Plain Layout
43577 pica (1
43578 \begin_inset space \thinspace{}
43579 \end_inset
43580
43581 pc = 12
43582 \begin_inset space \thinspace{}
43583 \end_inset
43584
43585 pt)
43586 \end_layout
43587
43588 \end_inset
43589 </cell>
43590 </row>
43591 <row>
43592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43593 \begin_inset Text
43594
43595 \begin_layout Plain Layout
43596 sp
43597 \end_layout
43598
43599 \end_inset
43600 </cell>
43601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43602 \begin_inset Text
43603
43604 \begin_layout Plain Layout
43605 scaled point (65536
43606 \begin_inset space \thinspace{}
43607 \end_inset
43608
43609 sp = 1
43610 \begin_inset space \thinspace{}
43611 \end_inset
43612
43613 pt)
43614 \end_layout
43615
43616 \end_inset
43617 </cell>
43618 </row>
43619 <row>
43620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43621 \begin_inset Text
43622
43623 \begin_layout Plain Layout
43624 bp
43625 \end_layout
43626
43627 \end_inset
43628 </cell>
43629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43630 \begin_inset Text
43631
43632 \begin_layout Plain Layout
43633 big point (72
43634 \begin_inset space \thinspace{}
43635 \end_inset
43636
43637 bp = 1
43638 \begin_inset space \thinspace{}
43639 \end_inset
43640
43641 in)
43642 \end_layout
43643
43644 \end_inset
43645 </cell>
43646 </row>
43647 <row>
43648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43649 \begin_inset Text
43650
43651 \begin_layout Plain Layout
43652 dd
43653 \end_layout
43654
43655 \end_inset
43656 </cell>
43657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43658 \begin_inset Text
43659
43660 \begin_layout Plain Layout
43661 didot (72
43662 \begin_inset space \thinspace{}
43663 \end_inset
43664
43665 dd 
43666 \begin_inset Formula $\approx$
43667 \end_inset
43668
43669  37.6
43670 \begin_inset space \thinspace{}
43671 \end_inset
43672
43673 mm)
43674 \end_layout
43675
43676 \end_inset
43677 </cell>
43678 </row>
43679 <row>
43680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43681 \begin_inset Text
43682
43683 \begin_layout Plain Layout
43684 cc
43685 \end_layout
43686
43687 \end_inset
43688 </cell>
43689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43690 \begin_inset Text
43691
43692 \begin_layout Plain Layout
43693 cicero (1
43694 \begin_inset space \thinspace{}
43695 \end_inset
43696
43697 cc = 12
43698 \begin_inset space \thinspace{}
43699 \end_inset
43700
43701 dd)
43702 \end_layout
43703
43704 \end_inset
43705 </cell>
43706 </row>
43707 <row>
43708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43709 \begin_inset Text
43710
43711 \begin_layout Plain Layout
43712 Scale%
43713 \end_layout
43714
43715 \end_inset
43716 </cell>
43717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43718 \begin_inset Text
43719
43720 \begin_layout Plain Layout
43721 % of original image width
43722 \end_layout
43723
43724 \end_inset
43725 </cell>
43726 </row>
43727 <row>
43728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43729 \begin_inset Text
43730
43731 \begin_layout Plain Layout
43732 text%
43733 \end_layout
43734
43735 \end_inset
43736 </cell>
43737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43738 \begin_inset Text
43739
43740 \begin_layout Plain Layout
43741 % of text width
43742 \end_layout
43743
43744 \end_inset
43745 </cell>
43746 </row>
43747 <row>
43748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43749 \begin_inset Text
43750
43751 \begin_layout Plain Layout
43752 col%
43753 \end_layout
43754
43755 \end_inset
43756 </cell>
43757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43758 \begin_inset Text
43759
43760 \begin_layout Plain Layout
43761 % of column width
43762 \end_layout
43763
43764 \end_inset
43765 </cell>
43766 </row>
43767 <row>
43768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43769 \begin_inset Text
43770
43771 \begin_layout Plain Layout
43772 page%
43773 \end_layout
43774
43775 \end_inset
43776 </cell>
43777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43778 \begin_inset Text
43779
43780 \begin_layout Plain Layout
43781 % of paper width
43782 \end_layout
43783
43784 \end_inset
43785 </cell>
43786 </row>
43787 <row>
43788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43789 \begin_inset Text
43790
43791 \begin_layout Plain Layout
43792 line%
43793 \end_layout
43794
43795 \end_inset
43796 </cell>
43797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43798 \begin_inset Text
43799
43800 \begin_layout Plain Layout
43801 % of line width
43802 \end_layout
43803
43804 \end_inset
43805 </cell>
43806 </row>
43807 <row>
43808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43809 \begin_inset Text
43810
43811 \begin_layout Plain Layout
43812 theight%
43813 \end_layout
43814
43815 \end_inset
43816 </cell>
43817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43818 \begin_inset Text
43819
43820 \begin_layout Plain Layout
43821 % of text height
43822 \end_layout
43823
43824 \end_inset
43825 </cell>
43826 </row>
43827 <row>
43828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43829 \begin_inset Text
43830
43831 \begin_layout Plain Layout
43832 pheight%
43833 \end_layout
43834
43835 \end_inset
43836 </cell>
43837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43838 \begin_inset Text
43839
43840 \begin_layout Plain Layout
43841 % of paper height
43842 \end_layout
43843
43844 \end_inset
43845 </cell>
43846 </row>
43847 <row>
43848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43849 \begin_inset Text
43850
43851 \begin_layout Plain Layout
43852 ex
43853 \end_layout
43854
43855 \end_inset
43856 </cell>
43857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43858 \begin_inset Text
43859
43860 \begin_layout Plain Layout
43861 height of letter 
43862 \emph on
43863 x
43864 \emph default
43865  in current font
43866 \end_layout
43867
43868 \end_inset
43869 </cell>
43870 </row>
43871 <row>
43872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43873 \begin_inset Text
43874
43875 \begin_layout Plain Layout
43876 em
43877 \end_layout
43878
43879 \end_inset
43880 </cell>
43881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43882 \begin_inset Text
43883
43884 \begin_layout Plain Layout
43885 width of letter 
43886 \emph on
43887 M
43888 \emph default
43889  in current font
43890 \end_layout
43891
43892 \end_inset
43893 </cell>
43894 </row>
43895 <row>
43896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43897 \begin_inset Text
43898
43899 \begin_layout Plain Layout
43900 mu
43901 \end_layout
43902
43903 \end_inset
43904 </cell>
43905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43906 \begin_inset Text
43907
43908 \begin_layout Plain Layout
43909 math unit (1
43910 \begin_inset space \thinspace{}
43911 \end_inset
43912
43913 mu = 1/18
43914 \begin_inset space \thinspace{}
43915 \end_inset
43916
43917 em)
43918 \end_layout
43919
43920 \end_inset
43921 </cell>
43922 </row>
43923 </lyxtabular>
43924
43925 \end_inset
43926
43927
43928 \end_layout
43929
43930 \end_inset
43931
43932
43933 \end_layout
43934
43935 \begin_layout Chapter
43936 Credits
43937 \begin_inset CommandInset label
43938 LatexCommand label
43939 name "chap:Credits"
43940
43941 \end_inset
43942
43943
43944 \end_layout
43945
43946 \begin_layout Standard
43947 The documentation is a collaborative effort between many different people
43948  (and we would encourage people to contribute!).
43949 \end_layout
43950
43951 \begin_layout Itemize
43952
43953 \noun on
43954 Alejandro Aguilar Sierra
43955 \end_layout
43956
43957 \begin_layout Itemize
43958
43959 \noun on
43960 Amir Karger
43961 \end_layout
43962
43963 \begin_layout Itemize
43964
43965 \noun on
43966 David Johnson
43967 \end_layout
43968
43969 \begin_layout Itemize
43970
43971 \noun on
43972 Hartmut Haase
43973 \end_layout
43974
43975 \begin_layout Itemize
43976
43977 \noun on
43978 Ignacio García
43979 \end_layout
43980
43981 \begin_layout Itemize
43982
43983 \noun on
43984 Ivan Schreter
43985 \end_layout
43986
43987 \begin_layout Itemize
43988
43989 \noun on
43990 John Raithel
43991 \end_layout
43992
43993 \begin_layout Itemize
43994
43995 \noun on
43996 John Weiss
43997 \end_layout
43998
43999 \begin_layout Itemize
44000
44001 \noun on
44002 Lars Gullik Bjønnes
44003 \end_layout
44004
44005 \begin_layout Itemize
44006
44007 \noun on
44008 Matthias Ettrich
44009 \end_layout
44010
44011 \begin_layout Itemize
44012
44013 \noun on
44014 Matthias Zenker
44015 \end_layout
44016
44017 \begin_layout Itemize
44018
44019 \noun on
44020 Rich Fields
44021 \end_layout
44022
44023 \begin_layout Itemize
44024
44025 \noun on
44026 Pascal André
44027 \end_layout
44028
44029 \begin_layout Itemize
44030
44031 \noun on
44032 Paul Evans
44033 \end_layout
44034
44035 \begin_layout Itemize
44036
44037 \noun on
44038 Paul Russel
44039 \end_layout
44040
44041 \begin_layout Itemize
44042
44043 \noun on
44044 Robin Socha
44045 \end_layout
44046
44047 \begin_layout Itemize
44048
44049 \noun on
44050 Uwe Stöhr
44051 \end_layout
44052
44053 \begin_layout Itemize
44054 The LyX Team: 
44055 \begin_inset CommandInset citation
44056 LatexCommand cite
44057 key "lyxcredit"
44058
44059 \end_inset
44060
44061
44062 \end_layout
44063
44064 \begin_layout Standard
44065 \begin_inset Newpage newpage
44066 \end_inset
44067
44068 The bibliography on the following page was created with the 
44069 \family sans
44070 Bibliography
44071 \family default
44072  environment.
44073 \end_layout
44074
44075 \begin_layout Bibliography
44076 \begin_inset CommandInset bibitem
44077 LatexCommand bibitem
44078 label "Credits"
44079 key "lyxcredit"
44080
44081 \end_inset
44082
44083 The LyX Team: 
44084 \begin_inset CommandInset href
44085 LatexCommand href
44086 name "Credits"
44087 target "http://www.lyx.org/Credits"
44088
44089 \end_inset
44090
44091 :
44092 \begin_inset Newline newline
44093 \end_inset
44094
44095
44096 \begin_inset Flex URL
44097 status collapsed
44098
44099 \begin_layout Plain Layout
44100
44101 http://www.lyx.org/Credits
44102 \end_layout
44103
44104 \end_inset
44105
44106
44107 \end_layout
44108
44109 \begin_layout Bibliography
44110 \begin_inset CommandInset bibitem
44111 LatexCommand bibitem
44112 key "latexcompanion"
44113
44114 \end_inset
44115
44116 Frank Mittelbach and Michel Goossens: 
44117 \emph on
44118 The LaTeX Companion Second Edition.
44119
44120 \emph default
44121  Addison-Wesley, 2004
44122 \end_layout
44123
44124 \begin_layout Bibliography
44125 \begin_inset CommandInset bibitem
44126 LatexCommand bibitem
44127 key "latexguide"
44128
44129 \end_inset
44130
44131 Helmut Kopka and Patrick W.
44132  Daly: 
44133 \emph on
44134 A Guide to LaTeX Fourth Edition.
44135
44136 \emph default
44137  Addison-Wesley, 2003
44138 \end_layout
44139
44140 \begin_layout Bibliography
44141 \begin_inset CommandInset bibitem
44142 LatexCommand bibitem
44143 key "latexbook"
44144
44145 \end_inset
44146
44147 Leslie Lamport: 
44148 \emph on
44149 LaTeX: A Document Preparation System.
44150
44151 \emph default
44152  Addison-Wesley, second edition, 1994
44153 \end_layout
44154
44155 \begin_layout Bibliography
44156 \begin_inset CommandInset bibitem
44157 LatexCommand bibitem
44158 key "texbook"
44159
44160 \end_inset
44161
44162 Donald E.
44163  Knuth.
44164  
44165 \emph on
44166 The TeXbook.
44167
44168 \emph default
44169  Addison-Wesley, 1984
44170 \end_layout
44171
44172 \begin_layout Bibliography
44173 \begin_inset CommandInset bibitem
44174 LatexCommand bibitem
44175 key "TeXCatalogue"
44176
44177 \end_inset
44178
44179 The TeX Catalogue:
44180 \begin_inset Newline newline
44181 \end_inset
44182
44183
44184 \begin_inset Flex URL
44185 status collapsed
44186
44187 \begin_layout Plain Layout
44188
44189 http://www.ctan.org/tex-archive/help/Catalogue/bytopic.html
44190 \end_layout
44191
44192 \end_inset
44193
44194
44195 \end_layout
44196
44197 \begin_layout Bibliography
44198 \begin_inset CommandInset bibitem
44199 LatexCommand bibitem
44200 key "LaTeXFAQ"
44201
44202 \end_inset
44203
44204 The LaTeX FAQ:
44205 \begin_inset Newline newline
44206 \end_inset
44207
44208
44209 \begin_inset Flex URL
44210 status collapsed
44211
44212 \begin_layout Plain Layout
44213
44214 http://www.tex.ac.uk/cgi-bin/texfaq2html
44215 \end_layout
44216
44217 \end_inset
44218
44219
44220 \end_layout
44221
44222 \begin_layout Bibliography
44223 \begin_inset CommandInset bibitem
44224 LatexCommand bibitem
44225 key "BibTeX"
44226
44227 \end_inset
44228
44229
44230 \begin_inset CommandInset href
44231 LatexCommand href
44232 name "Documentation"
44233 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
44234
44235 \end_inset
44236
44237  of the program 
44238 \family sans
44239 BibTeX
44240 \family default
44241 :
44242 \begin_inset Newline newline
44243 \end_inset
44244
44245
44246 \begin_inset Flex URL
44247 status collapsed
44248
44249 \begin_layout Plain Layout
44250
44251 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
44252 \end_layout
44253
44254 \end_inset
44255
44256
44257 \end_layout
44258
44259 \begin_layout Bibliography
44260 \begin_inset CommandInset bibitem
44261 LatexCommand bibitem
44262 key "BibTeX-2"
44263
44264 \end_inset
44265
44266
44267 \begin_inset CommandInset href
44268 LatexCommand href
44269 name "Documentation"
44270 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
44271
44272 \end_inset
44273
44274  how to use the program 
44275 \family sans
44276 BibTeX
44277 \family default
44278 :
44279 \begin_inset Newline newline
44280 \end_inset
44281
44282
44283 \begin_inset Flex URL
44284 status collapsed
44285
44286 \begin_layout Plain Layout
44287
44288 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
44289 \end_layout
44290
44291 \end_inset
44292
44293
44294 \end_layout
44295
44296 \begin_layout Bibliography
44297 \begin_inset CommandInset bibitem
44298 LatexCommand bibitem
44299 key "makeindex"
44300
44301 \end_inset
44302
44303
44304 \begin_inset CommandInset href
44305 LatexCommand href
44306 name "Documentation"
44307 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
44308
44309 \end_inset
44310
44311  of the program 
44312 \family sans
44313 makeindex
44314 \family default
44315 :
44316 \begin_inset Newline newline
44317 \end_inset
44318
44319
44320 \begin_inset Flex URL
44321 status collapsed
44322
44323 \begin_layout Plain Layout
44324
44325 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
44326 \end_layout
44327
44328 \end_inset
44329
44330
44331 \end_layout
44332
44333 \begin_layout Bibliography
44334 \begin_inset CommandInset bibitem
44335 LatexCommand bibitem
44336 key "xindy"
44337
44338 \end_inset
44339
44340
44341 \begin_inset CommandInset href
44342 LatexCommand href
44343 name "Documentation"
44344 target "http://www.xindy.org/documentation.html"
44345
44346 \end_inset
44347
44348  of the program 
44349 \family sans
44350 xindy
44351 \family default
44352 :
44353 \begin_inset Newline newline
44354 \end_inset
44355
44356
44357 \begin_inset Flex URL
44358 status collapsed
44359
44360 \begin_layout Plain Layout
44361
44362 http://www.xindy.org/documentation.html
44363 \end_layout
44364
44365 \end_inset
44366
44367
44368 \end_layout
44369
44370 \begin_layout Bibliography
44371 \begin_inset CommandInset bibitem
44372 LatexCommand bibitem
44373 key "caption"
44374
44375 \end_inset
44376
44377
44378 \begin_inset CommandInset href
44379 LatexCommand href
44380 name "Documentation"
44381 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
44382
44383 \end_inset
44384
44385  of the LaTeX-package 
44386 \series bold
44387 caption
44388 \series default
44389
44390 \begin_inset Index idx
44391 status collapsed
44392
44393 \begin_layout Plain Layout
44394 LaTeX-packages ! caption
44395 \end_layout
44396
44397 \end_inset
44398
44399 :
44400 \begin_inset Newline newline
44401 \end_inset
44402
44403
44404 \begin_inset Flex URL
44405 status collapsed
44406
44407 \begin_layout Plain Layout
44408
44409 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf
44410 \end_layout
44411
44412 \end_inset
44413
44414
44415 \end_layout
44416
44417 \begin_layout Bibliography
44418 \begin_inset CommandInset bibitem
44419 LatexCommand bibitem
44420 key "enumitem"
44421
44422 \end_inset
44423
44424
44425 \begin_inset CommandInset href
44426 LatexCommand href
44427 name "Documentation"
44428 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
44429
44430 \end_inset
44431
44432  of the LaTeX-package 
44433 \series bold
44434 enumitem
44435 \series default
44436
44437 \begin_inset Index idx
44438 status collapsed
44439
44440 \begin_layout Plain Layout
44441 LaTeX-packages ! enumitem
44442 \end_layout
44443
44444 \end_inset
44445
44446 :
44447 \begin_inset Newline newline
44448 \end_inset
44449
44450
44451 \begin_inset Flex URL
44452 status collapsed
44453
44454 \begin_layout Plain Layout
44455
44456 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
44457 \end_layout
44458
44459 \end_inset
44460
44461
44462 \end_layout
44463
44464 \begin_layout Bibliography
44465 \begin_inset CommandInset bibitem
44466 LatexCommand bibitem
44467 key "fancyhdr"
44468
44469 \end_inset
44470
44471
44472 \begin_inset CommandInset href
44473 LatexCommand href
44474 name "Documentation"
44475 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
44476
44477 \end_inset
44478
44479  of the LaTeX-package 
44480 \series bold
44481 fancyhdr
44482 \series default
44483
44484 \begin_inset Index idx
44485 status collapsed
44486
44487 \begin_layout Plain Layout
44488 LaTeX-packages ! fancyhdr
44489 \end_layout
44490
44491 \end_inset
44492
44493 :
44494 \begin_inset Newline newline
44495 \end_inset
44496
44497
44498 \begin_inset Flex URL
44499 status collapsed
44500
44501 \begin_layout Plain Layout
44502
44503 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
44504 \end_layout
44505
44506 \end_inset
44507
44508
44509 \end_layout
44510
44511 \begin_layout Bibliography
44512 \begin_inset CommandInset bibitem
44513 LatexCommand bibitem
44514 key "hyperref"
44515
44516 \end_inset
44517
44518
44519 \begin_inset CommandInset href
44520 LatexCommand href
44521 name "Documentation"
44522 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
44523
44524 \end_inset
44525
44526  of the LaTeX-package 
44527 \series bold
44528 hyperref
44529 \series default
44530
44531 \begin_inset Index idx
44532 status collapsed
44533
44534 \begin_layout Plain Layout
44535 LaTeX-packages ! hyperref
44536 \end_layout
44537
44538 \end_inset
44539
44540 :
44541 \begin_inset Newline newline
44542 \end_inset
44543
44544
44545 \begin_inset Flex URL
44546 status collapsed
44547
44548 \begin_layout Plain Layout
44549
44550 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf
44551 \end_layout
44552
44553 \end_inset
44554
44555
44556 \end_layout
44557
44558 \begin_layout Bibliography
44559 \begin_inset CommandInset bibitem
44560 LatexCommand bibitem
44561 key "nomencl"
44562
44563 \end_inset
44564
44565
44566 \begin_inset CommandInset href
44567 LatexCommand href
44568 name "Documentation"
44569 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
44570
44571 \end_inset
44572
44573  of the LaTeX-package 
44574 \series bold
44575 nomencl
44576 \series default
44577
44578 \begin_inset Index idx
44579 status collapsed
44580
44581 \begin_layout Plain Layout
44582 LaTeX-packages ! nomencl
44583 \end_layout
44584
44585 \end_inset
44586
44587 :
44588 \begin_inset Newline newline
44589 \end_inset
44590
44591
44592 \begin_inset Flex URL
44593 status collapsed
44594
44595 \begin_layout Plain Layout
44596
44597 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
44598 \end_layout
44599
44600 \end_inset
44601
44602
44603 \end_layout
44604
44605 \begin_layout Bibliography
44606 \begin_inset CommandInset bibitem
44607 LatexCommand bibitem
44608 key "prettyref"
44609
44610 \end_inset
44611
44612
44613 \begin_inset CommandInset href
44614 LatexCommand href
44615 name "Documentation"
44616 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
44617
44618 \end_inset
44619
44620  of the LaTeX-package 
44621 \series bold
44622 prettyref
44623 \series default
44624
44625 \begin_inset Index idx
44626 status collapsed
44627
44628 \begin_layout Plain Layout
44629 LaTeX-packages ! prettyref
44630 \end_layout
44631
44632 \end_inset
44633
44634 :
44635 \begin_inset Newline newline
44636 \end_inset
44637
44638
44639 \begin_inset Flex URL
44640 status collapsed
44641
44642 \begin_layout Plain Layout
44643
44644 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
44645 \end_layout
44646
44647 \end_inset
44648
44649
44650 \end_layout
44651
44652 \begin_layout Bibliography
44653 \begin_inset CommandInset bibitem
44654 LatexCommand bibitem
44655 key "refstyle"
44656
44657 \end_inset
44658
44659
44660 \begin_inset CommandInset href
44661 LatexCommand href
44662 name "Documentation"
44663 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
44664
44665 \end_inset
44666
44667  of the LaTeX-package 
44668 \series bold
44669 refstyle
44670 \series default
44671
44672 \begin_inset Index idx
44673 status collapsed
44674
44675 \begin_layout Plain Layout
44676 LaTeX-packages ! refstyle
44677 \end_layout
44678
44679 \end_inset
44680
44681 :
44682 \begin_inset Newline newline
44683 \end_inset
44684
44685
44686 \begin_inset Flex URL
44687 status collapsed
44688
44689 \begin_layout Plain Layout
44690
44691 http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf
44692 \end_layout
44693
44694 \end_inset
44695
44696
44697 \end_layout
44698
44699 \begin_layout Bibliography
44700 \begin_inset CommandInset bibitem
44701 LatexCommand bibitem
44702 key "tipa"
44703
44704 \end_inset
44705
44706
44707 \begin_inset CommandInset href
44708 LatexCommand href
44709 name "Documentation"
44710 target "http://www.ctan.org/tex-archive/fonts/tipa/tipaman.pdf"
44711
44712 \end_inset
44713
44714  of the LaTeX-package 
44715 \series bold
44716 tipa
44717 \series default
44718
44719 \begin_inset Index idx
44720 status collapsed
44721
44722 \begin_layout Plain Layout
44723 LaTeX-packages ! tipa
44724 \end_layout
44725
44726 \end_inset
44727
44728 :
44729 \begin_inset Newline newline
44730 \end_inset
44731
44732
44733 \begin_inset Flex URL
44734 status collapsed
44735
44736 \begin_layout Plain Layout
44737
44738 http://www.ctan.org/tex-archive/fonts/tipa/tipaman.pdf
44739 \end_layout
44740
44741 \end_inset
44742
44743
44744 \end_layout
44745
44746 \begin_layout Bibliography
44747 \begin_inset CommandInset bibitem
44748 LatexCommand bibitem
44749 key "Arabic"
44750
44751 \end_inset
44752
44753
44754 \begin_inset CommandInset href
44755 LatexCommand href
44756 name "Wiki-page"
44757 target "http://wiki.lyx.org/Windows/Arabic"
44758
44759 \end_inset
44760
44761  how to set up LyX for Arabic:
44762 \begin_inset Newline newline
44763 \end_inset
44764
44765
44766 \begin_inset Flex URL
44767 status collapsed
44768
44769 \begin_layout Plain Layout
44770
44771 http://wiki.lyx.org/Windows/Arabic
44772 \end_layout
44773
44774 \end_inset
44775
44776
44777 \end_layout
44778
44779 \begin_layout Bibliography
44780 \begin_inset CommandInset bibitem
44781 LatexCommand bibitem
44782 key "Armenian"
44783
44784 \end_inset
44785
44786
44787 \begin_inset CommandInset href
44788 LatexCommand href
44789 name "Wiki-page"
44790 target "http://wiki.lyx.org/Windows/Armenian"
44791
44792 \end_inset
44793
44794  how to set up LyX for Armenian:
44795 \begin_inset Newline newline
44796 \end_inset
44797
44798
44799 \begin_inset Flex URL
44800 status collapsed
44801
44802 \begin_layout Plain Layout
44803
44804 http://wiki.lyx.org/Windows/Armenian
44805 \end_layout
44806
44807 \end_inset
44808
44809
44810 \end_layout
44811
44812 \begin_layout Bibliography
44813 \begin_inset CommandInset bibitem
44814 LatexCommand bibitem
44815 key "Farsi"
44816
44817 \end_inset
44818
44819
44820 \begin_inset CommandInset href
44821 LatexCommand href
44822 name "Wiki-page"
44823 target "http://wiki.lyx.org/Windows/Farsi"
44824
44825 \end_inset
44826
44827  how to set up LyX for Farsi:
44828 \begin_inset Newline newline
44829 \end_inset
44830
44831
44832 \begin_inset Flex URL
44833 status collapsed
44834
44835 \begin_layout Plain Layout
44836
44837 http://wiki.lyx.org/Windows/Farsi
44838 \end_layout
44839
44840 \end_inset
44841
44842
44843 \end_layout
44844
44845 \begin_layout Bibliography
44846 \begin_inset CommandInset bibitem
44847 LatexCommand bibitem
44848 key "Hebrew"
44849
44850 \end_inset
44851
44852
44853 \begin_inset CommandInset href
44854 LatexCommand href
44855 name "Wiki-page"
44856 target "http://wiki.lyx.org/Windows/Hebrew"
44857
44858 \end_inset
44859
44860  how to set up LyX for Hebrew:
44861 \begin_inset Newline newline
44862 \end_inset
44863
44864
44865 \begin_inset Flex URL
44866 status collapsed
44867
44868 \begin_layout Plain Layout
44869
44870 http://wiki.lyx.org/Windows/Hebrew
44871 \end_layout
44872
44873 \end_inset
44874
44875
44876 \end_layout
44877
44878 \begin_layout Bibliography
44879 \begin_inset CommandInset bibitem
44880 LatexCommand bibitem
44881 key "Japanese"
44882
44883 \end_inset
44884
44885
44886 \begin_inset CommandInset href
44887 LatexCommand href
44888 name "Wiki-page"
44889 target "http://wiki.lyx.org/Windows/Japanese"
44890
44891 \end_inset
44892
44893  how to set up LyX for Japanese:
44894 \begin_inset Newline newline
44895 \end_inset
44896
44897
44898 \begin_inset Flex URL
44899 status collapsed
44900
44901 \begin_layout Plain Layout
44902
44903 http://wiki.lyx.org/Windows/Japanese
44904 \end_layout
44905
44906 \end_inset
44907
44908
44909 \end_layout
44910
44911 \begin_layout Bibliography
44912 \begin_inset CommandInset bibitem
44913 LatexCommand bibitem
44914 key "Latvian"
44915
44916 \end_inset
44917
44918
44919 \begin_inset CommandInset href
44920 LatexCommand href
44921 name "Wiki-page"
44922 target "http://wiki.lyx.org/Windows/Latvian"
44923
44924 \end_inset
44925
44926  how to set up LyX for Latvian:
44927 \begin_inset Newline newline
44928 \end_inset
44929
44930
44931 \begin_inset Flex URL
44932 status collapsed
44933
44934 \begin_layout Plain Layout
44935
44936 http://wiki.lyx.org/Windows/Latvian
44937 \end_layout
44938
44939 \end_inset
44940
44941
44942 \end_layout
44943
44944 \begin_layout Bibliography
44945 \begin_inset CommandInset bibitem
44946 LatexCommand bibitem
44947 key "Lithuanian"
44948
44949 \end_inset
44950
44951
44952 \begin_inset CommandInset href
44953 LatexCommand href
44954 name "Wiki-page"
44955 target "http://wiki.lyx.org/Windows/Lithuanian"
44956
44957 \end_inset
44958
44959  how to set up LyX for Lithuanian:
44960 \begin_inset Newline newline
44961 \end_inset
44962
44963
44964 \begin_inset Flex URL
44965 status collapsed
44966
44967 \begin_layout Plain Layout
44968
44969 http://wiki.lyx.org/Windows/Lithuanian
44970 \end_layout
44971
44972 \end_inset
44973
44974
44975 \end_layout
44976
44977 \begin_layout Bibliography
44978 \begin_inset CommandInset bibitem
44979 LatexCommand bibitem
44980 key "Mongolian"
44981
44982 \end_inset
44983
44984
44985 \begin_inset CommandInset href
44986 LatexCommand href
44987 name "Wiki-page"
44988 target "http://wiki.lyx.org/Windows/Mongolian"
44989
44990 \end_inset
44991
44992  how to set up LyX for Mongolian:
44993 \begin_inset Newline newline
44994 \end_inset
44995
44996
44997 \begin_inset Flex URL
44998 status collapsed
44999
45000 \begin_layout Plain Layout
45001
45002 http://wiki.lyx.org/Windows/Mongolian
45003 \end_layout
45004
45005 \end_inset
45006
45007
45008 \end_layout
45009
45010 \begin_layout Bibliography
45011 \begin_inset CommandInset bibitem
45012 LatexCommand bibitem
45013 key "Vietnamese"
45014
45015 \end_inset
45016
45017
45018 \begin_inset CommandInset href
45019 LatexCommand href
45020 name "Wiki-page"
45021 target "http://wiki.lyx.org/Windows/Vietnamese"
45022
45023 \end_inset
45024
45025  how to set up LyX for Vietnamese:
45026 \begin_inset Newline newline
45027 \end_inset
45028
45029
45030 \begin_inset Flex URL
45031 status collapsed
45032
45033 \begin_layout Plain Layout
45034
45035 http://wiki.lyx.org/Windows/Vietnamese
45036 \end_layout
45037
45038 \end_inset
45039
45040
45041 \end_layout
45042
45043 \begin_layout Bibliography
45044 \begin_inset CommandInset bibitem
45045 LatexCommand bibitem
45046 key "NewInLyX20"
45047
45048 \end_inset
45049
45050
45051 \begin_inset CommandInset href
45052 LatexCommand href
45053 name "Wiki-page"
45054 target "http://wiki.lyx.org/LyX/NewInLyX20"
45055
45056 \end_inset
45057
45058  about new features in 
45059 \family sans
45060 LyX 2.0
45061 \family default
45062 :
45063 \begin_inset Newline newline
45064 \end_inset
45065
45066
45067 \begin_inset Flex URL
45068 status collapsed
45069
45070 \begin_layout Plain Layout
45071
45072 http://wiki.lyx.org/LyX/NewInLyX20
45073 \end_layout
45074
45075 \end_inset
45076
45077
45078 \end_layout
45079
45080 \begin_layout Standard
45081 \begin_inset Newpage newpage
45082 \end_inset
45083
45084
45085 \begin_inset ERT
45086 status collapsed
45087
45088 \begin_layout Plain Layout
45089
45090
45091 \backslash
45092 let
45093 \backslash
45094 mybibname
45095 \backslash
45096 bibname
45097 \end_layout
45098
45099 \begin_layout Plain Layout
45100
45101
45102 \backslash
45103 renewcommand{
45104 \backslash
45105 bibname}{
45106 \backslash
45107 mybibname
45108 \backslash
45109 ; 2}
45110 \end_layout
45111
45112 \end_inset
45113
45114
45115 \begin_inset Note Note
45116 status collapsed
45117
45118 \begin_layout Plain Layout
45119 The command 
45120 \series bold
45121
45122 \backslash
45123 bibname
45124 \series default
45125  is the name of the bibliography in the current document language.
45126  It is redefined here with the number 2 at the end to state that the following
45127  bibliography is the second one:
45128 \end_layout
45129
45130 \end_inset
45131
45132
45133 \end_layout
45134
45135 \begin_layout Standard
45136 \begin_inset CommandInset bibtex
45137 LatexCommand bibtex
45138 bibfiles "biblio/LyXDocs"
45139 options "biblio/alphadin"
45140
45141 \end_inset
45142
45143
45144 \end_layout
45145
45146 \begin_layout Standard
45147 The above bibliography is created from a BibTeX-database.
45148 \end_layout
45149
45150 \begin_layout Standard
45151 \begin_inset CommandInset nomencl_print
45152 LatexCommand printnomenclature
45153 set_width "auto"
45154
45155 \end_inset
45156
45157
45158 \begin_inset CommandInset index_print
45159 LatexCommand printindex
45160 type "idx"
45161
45162 \end_inset
45163
45164
45165 \end_layout
45166
45167 \end_body
45168 \end_document