]> git.lyx.org Git - lyx.git/blob - lib/doc/UserGuide.lyx
cdc3f5f6dba0001d48c1511b52032269bebe76f6
[lyx.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're 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 or to move the cursor
2081  in tables or math matrices.
2082 \end_layout
2083
2084 \begin_layout Labeling
2085 \labelwidthstring 00.00.0000
2086
2087 \family sans
2088 Esc
2089 \begin_inset CommandInset nomenclature
2090 LatexCommand nomenclature
2091 symbol "Esc"
2092 description "Escape key"
2093
2094 \end_inset
2095
2096
2097 \family default
2098  This is the 
2099 \begin_inset Quotes eld
2100 \end_inset
2101
2102 cancel key.
2103 \begin_inset Quotes erd
2104 \end_inset
2105
2106  It's used, generically, to cancel operations.
2107  Other parts of the manual will go into greater detail about this.
2108 \end_layout
2109
2110 \begin_layout Labeling
2111 \labelwidthstring 00.00.0000
2112
2113 \family sans
2114 Home
2115 \family default
2116
2117 \begin_inset space ~
2118 \end_inset
2119
2120 and
2121 \begin_inset space ~
2122 \end_inset
2123
2124
2125 \family sans
2126 End
2127 \family default
2128  These move the cursor, respectively, to the beginning and end of a line,
2129  unless you are using the Emacs bindings where they jump to the beginning
2130  or end of the file.
2131 \end_layout
2132
2133 \begin_layout Standard
2134 There are three modifier keys:
2135 \end_layout
2136
2137 \begin_layout Labeling
2138 \labelwidthstring 00.00.0000
2139
2140 \family sans
2141 Control
2142 \family default
2143  (Denoted by 
2144 \begin_inset Quotes eld
2145 \end_inset
2146
2147
2148 \family sans
2149 Ctrl
2150 \family default
2151
2152 \begin_inset Quotes erd
2153 \end_inset
2154
2155
2156 \begin_inset CommandInset nomenclature
2157 LatexCommand nomenclature
2158 symbol "Ctrl"
2159 description "Control key"
2160
2161 \end_inset
2162
2163  in the documentation files) This has a couple of different uses, depending
2164  on which keys it is used in combination with:
2165 \end_layout
2166
2167 \begin_deeper
2168 \begin_layout Itemize
2169
2170 \family sans
2171 Backspace
2172 \family default
2173  or 
2174 \family sans
2175 Delete
2176 \family default
2177 , it deletes an entire word instead of a single character.
2178 \end_layout
2179
2180 \begin_layout Itemize
2181
2182 \family sans
2183 Left
2184 \family default
2185  and 
2186 \family sans
2187 Right
2188 \family default
2189 , it moves by words instead of characters.
2190 \end_layout
2191
2192 \begin_layout Itemize
2193
2194 \family sans
2195 Home
2196 \family default
2197  and 
2198 \family sans
2199 End
2200 \family default
2201 , it moves to the beginning and the end of the document, respectively.
2202 \end_layout
2203
2204 \end_deeper
2205 \begin_layout Labeling
2206 \labelwidthstring 00.00.0000
2207
2208 \family sans
2209 Shift
2210 \family default
2211  (Denoted by 
2212 \begin_inset Quotes eld
2213 \end_inset
2214
2215
2216 \family sans
2217 Shift
2218 \family default
2219
2220 \begin_inset Quotes erd
2221 \end_inset
2222
2223
2224 \begin_inset CommandInset nomenclature
2225 LatexCommand nomenclature
2226 symbol "Shift"
2227 description "Shift key"
2228
2229 \end_inset
2230
2231  in the documentation files) Use this with any of the arrow keys to select
2232  the text between the old and new cursor positions.
2233 \end_layout
2234
2235 \begin_layout Labeling
2236 \labelwidthstring 00.00.0000
2237
2238 \family sans
2239 Alt
2240 \family default
2241  (Denoted by 
2242 \begin_inset Quotes eld
2243 \end_inset
2244
2245
2246 \family sans
2247 Alt
2248 \family default
2249
2250 \begin_inset Quotes erd
2251 \end_inset
2252
2253
2254 \begin_inset CommandInset nomenclature
2255 LatexCommand nomenclature
2256 symbol "Alt"
2257 description "Alt or Meta key"
2258
2259 \end_inset
2260
2261  in the documentation files) This is the Alt key on many keyboards, unless
2262  your keyboard has a distinct Meta key.
2263  If you have both keys, you will need to try out which one actually performs
2264  the 
2265 \family sans
2266 Alt+
2267 \family default
2268  function.
2269 \begin_inset Newline newline
2270 \end_inset
2271
2272 This key does many different things, but it also activates the 
2273 \emph on
2274 menu accelerator keys
2275 \emph default
2276 .
2277  If you use this in combination with any of the underlined letters in a
2278  menu or menu item, it selects that menu item.
2279 \end_layout
2280
2281 \begin_deeper
2282 \begin_layout Standard
2283 For example, the sequence 
2284 \begin_inset Quotes eld
2285 \end_inset
2286
2287
2288 \family sans
2289 Alt
2290 \begin_inset space ~
2291 \end_inset
2292
2293 e
2294 \begin_inset space ~
2295 \end_inset
2296
2297 s
2298 \family default
2299
2300 \begin_inset space ~
2301 \end_inset
2302
2303
2304 \family sans
2305 c
2306 \family default
2307
2308 \begin_inset Quotes erd
2309 \end_inset
2310
2311  brings up the 
2312 \begin_inset Quotes eld
2313 \end_inset
2314
2315 Text Style
2316 \begin_inset Quotes erd
2317 \end_inset
2318
2319  dialog.
2320  Typing 
2321 \begin_inset Quotes eld
2322 \end_inset
2323
2324
2325 \family sans
2326 Alt
2327 \begin_inset space ~
2328 \end_inset
2329
2330 f
2331 \family default
2332
2333 \begin_inset Quotes erd
2334 \end_inset
2335
2336  opens the 
2337 \family sans
2338 File
2339 \family default
2340  menu.
2341 \end_layout
2342
2343 \begin_layout Standard
2344 The 
2345 \emph on
2346 Shortcuts
2347 \emph default
2348  manual lists all other things bound to the 
2349 \family sans
2350 Alt
2351 \family default
2352  key.
2353 \end_layout
2354
2355 \end_deeper
2356 \begin_layout Standard
2357 You will learn more and more key bindings and short-cut keys as you use
2358  LyX, because most actions will prompt a small message in the status bar
2359  at the bottom of LyX's main window which describes the name of the action
2360  you have just triggered, and any existing key bindings for that action.
2361  The LyX menus also list the defined key bindings.
2362  The notation for the key bindings is very similar to the notation used
2363  in this documentation, so you should not have any problems understanding
2364  it.
2365  However, notice that Shift-modifiers are explicitly mentioned, so 
2366 \begin_inset Quotes eld
2367 \end_inset
2368
2369
2370 \family sans
2371 Alt+P Shift+A
2372 \family default
2373
2374 \begin_inset Quotes erd
2375 \end_inset
2376
2377  means 
2378 \family sans
2379 Alt+P
2380 \family default
2381  followed by a capital 
2382 \family sans
2383 A
2384 \family default
2385 .
2386 \end_layout
2387
2388 \begin_layout Chapter
2389 LyX Basics
2390 \begin_inset Index idx
2391 status collapsed
2392
2393 \begin_layout Plain Layout
2394 LyX ! Basics
2395 \end_layout
2396
2397 \end_inset
2398
2399
2400 \end_layout
2401
2402 \begin_layout Section
2403 Document Types
2404 \begin_inset Index idx
2405 status collapsed
2406
2407 \begin_layout Plain Layout
2408 Document ! Types
2409 \end_layout
2410
2411 \end_inset
2412
2413
2414 \end_layout
2415
2416 \begin_layout Subsection
2417 Introduction
2418 \end_layout
2419
2420 \begin_layout Standard
2421 Before you do anything else, before you ever start writing a document, you
2422  need to decide what type of document you want to edit.
2423  Different types of documents use different types of spacing, headings,
2424  numbering schemes, and so on.
2425  Additionally, different documents use different paragraph environments,
2426  and format the title of your document differently.
2427 \end_layout
2428
2429 \begin_layout Standard
2430
2431 \emph on
2432 document class
2433 \emph default
2434  describes a group of properties common to a particular set of documents.
2435  By setting the document class, you automatically select these properties,
2436  making it easier to create the type of document you want.
2437  If you don't choose a document class, LyX picks one for you by default.
2438  So it is up to you to change the class of your document.
2439 \end_layout
2440
2441 \begin_layout Subsection
2442 Document Classes
2443 \begin_inset Index idx
2444 status collapsed
2445
2446 \begin_layout Plain Layout
2447 Document ! Classes
2448 \end_layout
2449
2450 \end_inset
2451
2452
2453 \begin_inset CommandInset label
2454 LatexCommand label
2455 name "sec:Document-Classes"
2456
2457 \end_inset
2458
2459
2460 \end_layout
2461
2462 \begin_layout Standard
2463 You can select a class using the 
2464 \family sans
2465 Document\SpecialChar \menuseparator
2466 Settings\SpecialChar \menuseparator
2467 Document Class
2468 \family default
2469
2470 \begin_inset Index idx
2471 status collapsed
2472
2473 \begin_layout Plain Layout
2474 Document ! Settings
2475 \end_layout
2476
2477 \end_inset
2478
2479  dialog.
2480  Select the class you want to use, and make any fine tunings of the options
2481  you may need.
2482 \end_layout
2483
2484 \begin_layout Subsubsection
2485 Overview
2486 \end_layout
2487
2488 \begin_layout Standard
2489 There are four standard document classes in LyX.
2490  They are:
2491 \end_layout
2492
2493 \begin_layout Description
2494 Article for basic articles
2495 \end_layout
2496
2497 \begin_layout Description
2498 Report for basic reports
2499 \end_layout
2500
2501 \begin_layout Description
2502 Book for writing a book
2503 \end_layout
2504
2505 \begin_layout Description
2506 Letter for US-style letters
2507 \end_layout
2508
2509 \begin_layout Standard
2510 There are also some non-standard classes, which LyX only uses if you have
2511  installed the corresponding LaTeX class files, though most LaTeX distributions
2512  will include many of these.
2513  Here are some of the classes.
2514  The full list with detailed explanations can be found in chapter 
2515 \emph on
2516 Special Document Classes
2517 \emph default
2518  in the 
2519 \emph on
2520 Additional Features
2521 \emph default
2522  manual:
2523 \end_layout
2524
2525 \begin_layout Description
2526 A&A Journal articles in the style and format used in Astronomy & Astrophysics
2527 \end_layout
2528
2529 \begin_layout Description
2530 ACS For submissions to the journals published by the American Chemistry
2531  Society
2532 \end_layout
2533
2534 \begin_layout Description
2535 AGU For submissions to the journals published by the American Geophysical
2536  Union
2537 \end_layout
2538
2539 \begin_layout Description
2540 AMS Layouts for articles and books in the style and format used by the American
2541  Mathematical Society (AMS).
2542  There are three article layouts available.
2543  The standard one uses a typical numbering scheme for theorems etc., that
2544  prepends the section number to the number of the result.
2545  All result-type statements (propositions, corollaries, and so on) are sequenced
2546  together, but definitions, examples, and the like have their own sequence.
2547  The 
2548 \begin_inset Quotes eld
2549 \end_inset
2550
2551 sequential numbering
2552 \begin_inset Quotes erd
2553 \end_inset
2554
2555  scheme does not place the section number with each result, but numbers
2556  them throughout the article in a single sequence.
2557  Each type of result gets its own sequence.
2558  There is also a layout that dispenses with numbering of statements altogether.
2559 \end_layout
2560
2561 \begin_layout Description
2562 Beamer Layout for presentations
2563 \end_layout
2564
2565 \begin_layout Description
2566 Broadway Layout for writing plays.
2567  It is not an existing LaTeX document class, but a new one that is distributed
2568  with LyX.
2569 \end_layout
2570
2571 \begin_layout Description
2572 Chess Layout to write about chess games
2573 \end_layout
2574
2575 \begin_layout Description
2576 Curriculum
2577 \begin_inset space ~
2578 \end_inset
2579
2580 vitae classes to create curriculum vitae
2581 \end_layout
2582
2583 \begin_layout Description
2584 Elsarticle Layout for journals of the Elsevier publishing group
2585 \end_layout
2586
2587 \begin_layout Description
2588 Foils Used to make transparencies
2589 \end_layout
2590
2591 \begin_layout Description
2592 Hollywood Used to type spec scripts for the US film industry.
2593  It is not an existing LaTeX document class, but a new one that is distributed
2594  with LyX.
2595 \end_layout
2596
2597 \begin_layout Description
2598 IEEEtran Layout for the journals published by the Institute of Electrical
2599  and Electronics Engineers (IEEE)
2600 \end_layout
2601
2602 \begin_layout Description
2603 IOP Layout for journals of the Institute of Physics publishing group
2604 \end_layout
2605
2606 \begin_layout Description
2607 Kluwer Layout for journals of the Kluwer publishing group
2608 \end_layout
2609
2610 \begin_layout Description
2611 KOMA-Script a replacement for the standard classes, offers many useful features
2612  like caption formatting, automatic print space calculation etc.
2613  (Is used by this document.)
2614 \end_layout
2615
2616 \begin_layout Description
2617 Memoir another replacement for the standard classes
2618 \end_layout
2619
2620 \begin_layout Description
2621 Powerdot Layout for presentations
2622 \end_layout
2623
2624 \begin_layout Description
2625 REVTe
2626 \begin_inset ERT
2627 status collapsed
2628
2629 \begin_layout Plain Layout
2630
2631 {}
2632 \end_layout
2633
2634 \end_inset
2635
2636 X is used to write articles for the publications of the American Physical
2637  Society (APS), American Institute of Physics (AIP), and Optical Society
2638  of America (OSA).
2639  This class is not completely compatible with all LyX features.
2640 \end_layout
2641
2642 \begin_layout Description
2643 Slides Used to make transparencies
2644 \end_layout
2645
2646 \begin_layout Description
2647 SPIE
2648 \begin_inset space ~
2649 \end_inset
2650
2651 Proceedings Layout for the journals published by The International Society
2652  for Optical Engineering (SPIE)
2653 \end_layout
2654
2655 \begin_layout Description
2656 Springer Layouts for journals of the Springer publishing group
2657 \end_layout
2658
2659 \begin_layout Standard
2660 We will not go into detail about how to use these different document classes
2661  here.
2662  You can find details about the non-standard classes in Chapter 6 of the
2663  
2664 \emph on
2665 Additional Features
2666 \emph default
2667  manual.
2668  Here, we will settle for a list of some of the common properties of all
2669  of the document classes.
2670 \end_layout
2671
2672 \begin_layout Subsubsection
2673 Availability
2674 \end_layout
2675
2676 \begin_layout Standard
2677 You will probably find that many of the document classes listed under 
2678 \family sans
2679 Document\SpecialChar \menuseparator
2680 Settings\SpecialChar \menuseparator
2681 Document Class
2682 \begin_inset Index idx
2683 status collapsed
2684
2685 \begin_layout Plain Layout
2686 Document ! Settings
2687 \end_layout
2688
2689 \end_inset
2690
2691  
2692 \family default
2693 are marked as 
2694 \begin_inset Quotes eld
2695 \end_inset
2696
2697 Unavailable
2698 \begin_inset Quotes erd
2699 \end_inset
2700
2701 .
2702  If you open a document that uses such a class, you will receive a warning
2703  saying that there are files that are required to produce output that are
2704  not installed.
2705  So it may seem that something is wrong.
2706 \end_layout
2707
2708 \begin_layout Standard
2709 Nothing is wrong.
2710  LyX includes many more document classes than you will ever need to use,
2711  and some of them, like 
2712 \family sans
2713 IOP
2714 \family default
2715 , are highly specialized.
2716  LyX tries to support as many different types of documents as possible,
2717  and it includes almost one hundred different layout files, with a growing
2718  number.
2719  No LaTeX distribution will install by default all files that might be needed
2720  by some document class.
2721  There are just too many of them.
2722  That is why some of the document classes are unavailable.
2723 \end_layout
2724
2725 \begin_layout Standard
2726 If there is a document class you would like to use that is marked as 
2727 \begin_inset Quotes erd
2728 \end_inset
2729
2730 Unavailable
2731 \begin_inset Quotes erd
2732 \end_inset
2733
2734 , you just need to install the appropriate package files.
2735  The easiest way to find out which files you need to install is to use that
2736  document class for a new file.
2737  LyX will display a dialog that will list the missing files.
2738  See section 
2739 \begin_inset Quotes eld
2740 \end_inset
2741
2742 Installing new LaTeX files
2743 \begin_inset Quotes erd
2744 \end_inset
2745
2746  in of the 
2747 \emph on
2748 Customization
2749 \emph default
2750  manual for information on how to install them.
2751 \begin_inset VSpace medskip
2752 \end_inset
2753
2754
2755 \end_layout
2756
2757 \begin_layout Standard
2758 Although LyX provides support for many different sorts of documents, it
2759  does not include support for every document class people might want to
2760  use.
2761  For example, many universities provide LaTeX class files to be used for
2762  dissertations submitted to those universities.
2763  The LyX team cannot write layout files to support every one of these.
2764  There are too many.
2765  Fortunately, users can write their own layout files, and many users have
2766  done so.
2767  Chapter
2768 \begin_inset space ~
2769 \end_inset
2770
2771 5 of the 
2772 \emph on
2773 Customization
2774 \emph default
2775  manual contains information on how to create layout files.
2776 \end_layout
2777
2778 \begin_layout Subsubsection
2779 Modules
2780 \begin_inset CommandInset label
2781 LatexCommand label
2782 name "sub:Modules"
2783
2784 \end_inset
2785
2786
2787 \begin_inset Index idx
2788 status collapsed
2789
2790 \begin_layout Plain Layout
2791 Document ! Modules
2792 \end_layout
2793
2794 \end_inset
2795
2796
2797 \end_layout
2798
2799 \begin_layout Standard
2800 Modules load additional features that are not by default available in the
2801  chosen document class.
2802  For example you might want to write Braille (embossed printing) in a document.
2803  This is not available in any document class, so you have to load the correspond
2804 ing module in the 
2805 \family sans
2806 Modules
2807 \family default
2808  section of the 
2809 \family sans
2810 Document\SpecialChar \menuseparator
2811 Settings
2812 \family default
2813
2814 \begin_inset Index idx
2815 status collapsed
2816
2817 \begin_layout Plain Layout
2818 Document ! Settings
2819 \end_layout
2820
2821 \end_inset
2822
2823  dialog.
2824  Highlighting a module in the dialog will bring up a description of what
2825  it does.
2826 \end_layout
2827
2828 \begin_layout Standard
2829 Some modules require LaTeX packages or file format converters that are not
2830  always installed by default.
2831  LyX will warn you if you do not have a required package or converter, and
2832  it will tell you what exactly you are missing.
2833  You can still use the module while editing your file, but you will not
2834  be able to export to PDF or print your document, since LyX will not be
2835  able to compile the LaTeX file without the missing prerequisites.
2836  If you want to be able to produce this kind of output, then you need to
2837  install the missing prerequisites and then reconfigure LyX by selecting
2838  
2839 \family sans
2840 Tools\SpecialChar \menuseparator
2841 Reconfigure
2842 \family default
2843 .
2844 \begin_inset Index idx
2845 status collapsed
2846
2847 \begin_layout Plain Layout
2848 Reconfiguration of LyX
2849 \end_layout
2850
2851 \end_inset
2852
2853  See section 
2854 \begin_inset Quotes eld
2855 \end_inset
2856
2857 Installing new LaTeX files
2858 \begin_inset Quotes erd
2859 \end_inset
2860
2861  of the 
2862 \emph on
2863 Customization
2864 \emph default
2865  manual for more information on installing required packages.
2866 \end_layout
2867
2868 \begin_layout Standard
2869 \begin_inset Note Greyedout
2870 status open
2871
2872 \begin_layout Plain Layout
2873
2874 \series bold
2875 Note:
2876 \series default
2877  Some modules require other modules, and some pairs of modules are incompatible.
2878  LyX will advise you about these things.
2879 \end_layout
2880
2881 \end_inset
2882
2883
2884 \end_layout
2885
2886 \begin_layout Subsubsection
2887 Local Layout
2888 \begin_inset CommandInset label
2889 LatexCommand label
2890 name "sub:Local-Layout"
2891
2892 \end_inset
2893
2894
2895 \begin_inset Index idx
2896 status collapsed
2897
2898 \begin_layout Plain Layout
2899 Document ! Local Layout
2900 \end_layout
2901
2902 \end_inset
2903
2904
2905 \end_layout
2906
2907 \begin_layout Standard
2908 Modules are to LyX much as packages are to LaTeX: They are intended to be
2909  used in a variety of different documents.
2910  If you often find yourself needing the same sort of thing in different
2911  documents, you should consider writing a module for this purpose.
2912  Sometimes, however, a particular document has very special needs, but you
2913  need a specific inset or character style only that one time.
2914  You want something that is like a document's own LaTeX preamble.
2915  What you want is LyX's 
2916 \begin_inset Quotes eld
2917 \end_inset
2918
2919 Local Layout
2920 \begin_inset Quotes erd
2921 \end_inset
2922
2923 .
2924  See section 
2925 \emph on
2926 Local Layout
2927 \emph default
2928  of the 
2929 \emph on
2930 Customization
2931 \emph default
2932  manual for information on how to use it.
2933 \end_layout
2934
2935 \begin_layout Subsubsection
2936 Properties
2937 \end_layout
2938
2939 \begin_layout Standard
2940 Each class has a default set of options.
2941  Here's a quick table describing them:
2942 \end_layout
2943
2944 \begin_layout Standard
2945 \begin_inset VSpace 0.3cm
2946 \end_inset
2947
2948
2949 \end_layout
2950
2951 \begin_layout Standard
2952 \align center
2953 \begin_inset Tabular
2954 <lyxtabular version="3" rows="5" columns="5">
2955 <features rotate="0" tabularvalignment="middle">
2956 <column alignment="center" valignment="top" width="0pt">
2957 <column alignment="center" valignment="top" width="0pt">
2958 <column alignment="center" valignment="top" width="0pt">
2959 <column alignment="center" valignment="top" width="0pt">
2960 <column alignment="center" valignment="top" width="0pt">
2961 <row>
2962 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2963 \begin_inset Text
2964
2965 \begin_layout Plain Layout
2966
2967 \end_layout
2968
2969 \end_inset
2970 </cell>
2971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Plain Layout
2975
2976 \family sans
2977 \series medium
2978 \shape up
2979 \size normal
2980 \emph off
2981 \bar no
2982 \noun off
2983 \color none
2984 Page style
2985 \end_layout
2986
2987 \end_inset
2988 </cell>
2989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2990 \begin_inset Text
2991
2992 \begin_layout Plain Layout
2993
2994 \family sans
2995 \series medium
2996 \shape up
2997 \size normal
2998 \emph off
2999 \bar no
3000 \noun off
3001 \color none
3002 Sides
3003 \end_layout
3004
3005 \end_inset
3006 </cell>
3007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3008 \begin_inset Text
3009
3010 \begin_layout Plain Layout
3011
3012 \family sans
3013 \series medium
3014 \shape up
3015 \size normal
3016 \emph off
3017 \bar no
3018 \noun off
3019 \color none
3020 Columns
3021 \end_layout
3022
3023 \end_inset
3024 </cell>
3025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3026 \begin_inset Text
3027
3028 \begin_layout Plain Layout
3029
3030 \series medium
3031 \shape up
3032 \size normal
3033 \emph off
3034 \bar no
3035 \noun off
3036 \color none
3037 Max.
3038  sectioning level
3039 \end_layout
3040
3041 \end_inset
3042 </cell>
3043 </row>
3044 <row>
3045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3046 \begin_inset Text
3047
3048 \begin_layout Plain Layout
3049
3050 \series medium
3051 \shape up
3052 \size normal
3053 \emph off
3054 \bar no
3055 \noun off
3056 \color none
3057 article
3058 \end_layout
3059
3060 \end_inset
3061 </cell>
3062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3063 \begin_inset Text
3064
3065 \begin_layout Plain Layout
3066
3067 \family sans
3068 \series medium
3069 \shape up
3070 \size normal
3071 \emph off
3072 \bar no
3073 \noun off
3074 \color none
3075 Plain
3076 \end_layout
3077
3078 \end_inset
3079 </cell>
3080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3081 \begin_inset Text
3082
3083 \begin_layout Plain Layout
3084
3085 \family sans
3086 \series medium
3087 \shape up
3088 \size normal
3089 \emph off
3090 \bar no
3091 \noun off
3092 \color none
3093 One
3094 \end_layout
3095
3096 \end_inset
3097 </cell>
3098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3099 \begin_inset Text
3100
3101 \begin_layout Plain Layout
3102
3103 \family sans
3104 \series medium
3105 \shape up
3106 \size normal
3107 \emph off
3108 \bar no
3109 \noun off
3110 \color none
3111 One
3112 \end_layout
3113
3114 \end_inset
3115 </cell>
3116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3117 \begin_inset Text
3118
3119 \begin_layout Plain Layout
3120
3121 \family sans
3122 \series medium
3123 \shape up
3124 \size normal
3125 \emph off
3126 \bar no
3127 \noun off
3128 \color none
3129 Section
3130 \end_layout
3131
3132 \end_inset
3133 </cell>
3134 </row>
3135 <row>
3136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3137 \begin_inset Text
3138
3139 \begin_layout Plain Layout
3140
3141 \series medium
3142 \shape up
3143 \size normal
3144 \emph off
3145 \bar no
3146 \noun off
3147 \color none
3148 report
3149 \end_layout
3150
3151 \end_inset
3152 </cell>
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3154 \begin_inset Text
3155
3156 \begin_layout Plain Layout
3157
3158 \family sans
3159 \series medium
3160 \shape up
3161 \size normal
3162 \emph off
3163 \bar no
3164 \noun off
3165 \color none
3166 Plain
3167 \end_layout
3168
3169 \end_inset
3170 </cell>
3171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3172 \begin_inset Text
3173
3174 \begin_layout Plain Layout
3175
3176 \family sans
3177 \series medium
3178 \shape up
3179 \size normal
3180 \emph off
3181 \bar no
3182 \noun off
3183 \color none
3184 One
3185 \end_layout
3186
3187 \end_inset
3188 </cell>
3189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3190 \begin_inset Text
3191
3192 \begin_layout Plain Layout
3193
3194 \family sans
3195 \series medium
3196 \shape up
3197 \size normal
3198 \emph off
3199 \bar no
3200 \noun off
3201 \color none
3202 One
3203 \end_layout
3204
3205 \end_inset
3206 </cell>
3207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3208 \begin_inset Text
3209
3210 \begin_layout Plain Layout
3211
3212 \family sans
3213 \series medium
3214 \shape up
3215 \size normal
3216 \emph off
3217 \bar no
3218 \noun off
3219 \color none
3220 Chapter
3221 \end_layout
3222
3223 \end_inset
3224 </cell>
3225 </row>
3226 <row>
3227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3228 \begin_inset Text
3229
3230 \begin_layout Plain Layout
3231
3232 \series medium
3233 \shape up
3234 \size normal
3235 \emph off
3236 \bar no
3237 \noun off
3238 \color none
3239 book
3240 \end_layout
3241
3242 \end_inset
3243 </cell>
3244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3245 \begin_inset Text
3246
3247 \begin_layout Plain Layout
3248
3249 \family sans
3250 \series medium
3251 \shape up
3252 \size normal
3253 \emph off
3254 \bar no
3255 \noun off
3256 \color none
3257 Headings
3258 \end_layout
3259
3260 \end_inset
3261 </cell>
3262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3263 \begin_inset Text
3264
3265 \begin_layout Plain Layout
3266
3267 \family sans
3268 \series medium
3269 \shape up
3270 \size normal
3271 \emph off
3272 \bar no
3273 \noun off
3274 \color none
3275 Two
3276 \end_layout
3277
3278 \end_inset
3279 </cell>
3280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3281 \begin_inset Text
3282
3283 \begin_layout Plain Layout
3284
3285 \family sans
3286 \series medium
3287 \shape up
3288 \size normal
3289 \emph off
3290 \bar no
3291 \noun off
3292 \color none
3293 One
3294 \end_layout
3295
3296 \end_inset
3297 </cell>
3298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3299 \begin_inset Text
3300
3301 \begin_layout Plain Layout
3302
3303 \family sans
3304 \series medium
3305 \shape up
3306 \size normal
3307 \emph off
3308 \bar no
3309 \noun off
3310 \color none
3311 Chapter
3312 \end_layout
3313
3314 \end_inset
3315 </cell>
3316 </row>
3317 <row>
3318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3319 \begin_inset Text
3320
3321 \begin_layout Plain Layout
3322
3323 \series medium
3324 \shape up
3325 \size normal
3326 \emph off
3327 \bar no
3328 \noun off
3329 \color none
3330 letter
3331 \end_layout
3332
3333 \end_inset
3334 </cell>
3335 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3336 \begin_inset Text
3337
3338 \begin_layout Plain Layout
3339
3340 \family sans
3341 \series medium
3342 \shape up
3343 \size normal
3344 \emph off
3345 \bar no
3346 \noun off
3347 \color none
3348 Plain
3349 \end_layout
3350
3351 \end_inset
3352 </cell>
3353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3354 \begin_inset Text
3355
3356 \begin_layout Plain Layout
3357
3358 \family sans
3359 \series medium
3360 \shape up
3361 \size normal
3362 \emph off
3363 \bar no
3364 \noun off
3365 \color none
3366 One
3367 \end_layout
3368
3369 \end_inset
3370 </cell>
3371 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3372 \begin_inset Text
3373
3374 \begin_layout Plain Layout
3375
3376 \family sans
3377 \series medium
3378 \shape up
3379 \size normal
3380 \emph off
3381 \bar no
3382 \noun off
3383 \color none
3384 One
3385 \end_layout
3386
3387 \end_inset
3388 </cell>
3389 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3390 \begin_inset Text
3391
3392 \begin_layout Plain Layout
3393
3394 \series medium
3395 \shape up
3396 \size normal
3397 \emph off
3398 \bar no
3399 \noun off
3400 \color none
3401 none
3402 \end_layout
3403
3404 \end_inset
3405 </cell>
3406 </row>
3407 </lyxtabular>
3408
3409 \end_inset
3410
3411
3412 \end_layout
3413
3414 \begin_layout Standard
3415 \begin_inset VSpace 0.3cm
3416 \end_inset
3417
3418
3419 \end_layout
3420
3421 \begin_layout Standard
3422 You're probably also wondering what 
3423 \begin_inset Quotes eld
3424 \end_inset
3425
3426 Max.
3427 \begin_inset space ~
3428 \end_inset
3429
3430 sectioning level
3431 \begin_inset Quotes erd
3432 \end_inset
3433
3434  means.
3435  There are several paragraph environments used to create section headings.
3436  Different document classes allow different types of section headings.
3437  Only two use the 
3438 \family sans
3439 Chapter
3440 \family default
3441  heading; the rest do not and begin instead with the 
3442 \family sans
3443 Section
3444 \family default
3445  heading.
3446  Some document classes, such as the ones for letters, don't use any section
3447  headings.
3448  In addition to 
3449 \family sans
3450 Chapter
3451 \family default
3452  and 
3453 \family sans
3454 Section
3455 \family default
3456  headings, there are also 
3457 \family sans
3458 Subsection
3459 \family default
3460  headings, 
3461 \family sans
3462 Subsubsection
3463 \family default
3464  headings, and so on.
3465  We will describe these headings fully in section
3466 \begin_inset space ~
3467 \end_inset
3468
3469
3470 \begin_inset CommandInset ref
3471 LatexCommand ref
3472 reference "sub:Headings"
3473
3474 \end_inset
3475
3476 .
3477 \end_layout
3478
3479 \begin_layout Subsection
3480 Document Layout
3481 \begin_inset CommandInset label
3482 LatexCommand label
3483 name "sub:Document-Layout"
3484
3485 \end_inset
3486
3487
3488 \begin_inset Index idx
3489 status collapsed
3490
3491 \begin_layout Plain Layout
3492 Document ! Layout
3493 \end_layout
3494
3495 \end_inset
3496
3497
3498 \family sans
3499
3500 \begin_inset Index idx
3501 status collapsed
3502
3503 \begin_layout Plain Layout
3504 Document ! Settings
3505 \end_layout
3506
3507 \end_inset
3508
3509
3510 \end_layout
3511
3512 \begin_layout Standard
3513 The most important properties of document classes are set in the menu 
3514 \family sans
3515 Document\SpecialChar \menuseparator
3516 Settings
3517 \family default
3518 .
3519  There in the 
3520 \family sans
3521 Class
3522 \begin_inset space ~
3523 \end_inset
3524
3525 options
3526 \family default
3527  field under 
3528 \family sans
3529 Documents
3530 \begin_inset space ~
3531 \end_inset
3532
3533 Class
3534 \family default
3535 , you can enter special options for your document class in a comma-separated
3536  list.
3537  This is only necessary if LyX doesn't support special options you want
3538  to use for your document.
3539  To learn more about your favorite LaTeX-class and its options, you have
3540  to read its manual.
3541 \end_layout
3542
3543 \begin_layout Standard
3544 The drop box 
3545 \family sans
3546 Headings
3547 \begin_inset space ~
3548 \end_inset
3549
3550 style
3551 \family default
3552  in the 
3553 \family sans
3554 Document\SpecialChar \menuseparator
3555 Settings
3556 \family default
3557  dialog under 
3558 \family sans
3559 Page
3560 \begin_inset space ~
3561 \end_inset
3562
3563 Layout
3564 \family default
3565  controls what sorts of headings and page numbers go on a page.
3566  You can choose between the following five options:
3567 \end_layout
3568
3569 \begin_layout Labeling
3570 \labelwidthstring 00.00.0000
3571
3572 \family sans
3573 Default
3574 \family default
3575  Use default page style of current class.
3576 \end_layout
3577
3578 \begin_layout Labeling
3579 \labelwidthstring 00.00.0000
3580
3581 \family sans
3582 empty
3583 \family default
3584  No page numbers or headings.
3585 \end_layout
3586
3587 \begin_layout Labeling
3588 \labelwidthstring 00.00.0000
3589
3590 \family sans
3591 plain
3592 \family default
3593  Page numbers only.
3594 \end_layout
3595
3596 \begin_layout Labeling
3597 \labelwidthstring 00.00.0000
3598
3599 \family sans
3600 headings
3601 \family default
3602  Page numbers and either the current chapter or section title and number.
3603  Whether LyX uses the current chapter or the current section depends on
3604  the maximum sectioning level of the class.
3605 \end_layout
3606
3607 \begin_layout Labeling
3608 \labelwidthstring 00.00.0000
3609
3610 \family sans
3611 fancy
3612 \family default
3613  This allows you to define fully customizable headers and footers if you
3614  have the LaTeX-package 
3615 \series bold
3616 fancyhdr
3617 \series default
3618
3619 \begin_inset Index idx
3620 status collapsed
3621
3622 \begin_layout Plain Layout
3623 LaTeX-packages ! fancyhdr
3624 \end_layout
3625
3626 \end_inset
3627
3628  installed.
3629  How they are defined is explained in section
3630 \begin_inset space ~
3631 \end_inset
3632
3633
3634 \begin_inset CommandInset ref
3635 LatexCommand ref
3636 reference "sec:Customized-Page-Headers"
3637
3638 \end_inset
3639
3640 .
3641 \end_layout
3642
3643 \begin_layout Standard
3644 The separation of paragraphs is described in section
3645 \begin_inset space ~
3646 \end_inset
3647
3648
3649 \begin_inset CommandInset ref
3650 LatexCommand ref
3651 reference "sub:Paragraph-Separation"
3652
3653 \end_inset
3654
3655 .
3656 \end_layout
3657
3658 \begin_layout Subsection
3659 Paper Size and Orientation
3660 \begin_inset Index idx
3661 status collapsed
3662
3663 \begin_layout Plain Layout
3664 Document ! Paper size
3665 \end_layout
3666
3667 \end_inset
3668
3669
3670 \begin_inset CommandInset label
3671 LatexCommand label
3672 name "sub:Paper-Size,-Orientation"
3673
3674 \end_inset
3675
3676
3677 \end_layout
3678
3679 \begin_layout Standard
3680 You can find the following options in the menu 
3681 \family sans
3682 Page
3683 \begin_inset space ~
3684 \end_inset
3685
3686 Layout
3687 \family default
3688  of the 
3689 \family sans
3690 Document\SpecialChar \menuseparator
3691 Settings
3692 \family default
3693  dialog:
3694 \family sans
3695
3696 \begin_inset Index idx
3697 status collapsed
3698
3699 \begin_layout Plain Layout
3700 Document ! Settings
3701 \end_layout
3702
3703 \end_inset
3704
3705
3706 \end_layout
3707
3708 \begin_layout Labeling
3709 \labelwidthstring 00.00.0000
3710
3711 \family sans
3712 Paper
3713 \begin_inset space ~
3714 \end_inset
3715
3716 Format
3717 \family default
3718  What size paper to print on.
3719  The choices are
3720 \end_layout
3721
3722 \begin_deeper
3723 \begin_layout Itemize
3724
3725 \family sans
3726 Default
3727 \end_layout
3728
3729 \begin_layout Itemize
3730
3731 \family sans
3732 A0 - A6
3733 \end_layout
3734
3735 \begin_layout Itemize
3736
3737 \family sans
3738 B0 - B6
3739 \end_layout
3740
3741 \begin_layout Itemize
3742
3743 \family sans
3744 C0 - C6
3745 \end_layout
3746
3747 \begin_layout Itemize
3748
3749 \family sans
3750 US letter, US legal, US executive
3751 \end_layout
3752
3753 \begin_layout Itemize
3754
3755 \family sans
3756 JIS B0 - JIS B6
3757 \end_layout
3758
3759 \begin_layout Itemize
3760
3761 \family sans
3762 Custom
3763 \end_layout
3764
3765 \end_deeper
3766 \begin_layout Labeling
3767 \labelwidthstring 00.00.0000
3768
3769 \family sans
3770 Orientation
3771 \family default
3772  To choose whether to output as 
3773 \family sans
3774 Landscape
3775 \family default
3776  or as 
3777 \family sans
3778 Portrait
3779 \family default
3780 .
3781 \end_layout
3782
3783 \begin_layout Labeling
3784 \labelwidthstring 00.00.0000
3785
3786 \family sans
3787 Two-sided
3788 \begin_inset space ~
3789 \end_inset
3790
3791 document
3792 \family default
3793  Adjusts the print space to print both sides of paper.
3794  That means that the print space for odd- and even-numbered pages is different.
3795 \end_layout
3796
3797 \begin_layout Subsection
3798 Margins
3799 \begin_inset CommandInset label
3800 LatexCommand label
3801 name "sub:Margins"
3802
3803 \end_inset
3804
3805
3806 \begin_inset Index idx
3807 status collapsed
3808
3809 \begin_layout Plain Layout
3810 Document ! Margins
3811 \end_layout
3812
3813 \end_inset
3814
3815
3816 \begin_inset Index idx
3817 status collapsed
3818
3819 \begin_layout Plain Layout
3820 Margins
3821 \end_layout
3822
3823 \end_inset
3824
3825
3826 \end_layout
3827
3828 \begin_layout Standard
3829 Paper margins are set in the menu 
3830 \family sans
3831 Document\SpecialChar \menuseparator
3832 Settings
3833 \family default
3834 .
3835 \begin_inset Index idx
3836 status collapsed
3837
3838 \begin_layout Plain Layout
3839 Document ! Settings
3840 \end_layout
3841
3842 \end_inset
3843
3844
3845 \end_layout
3846
3847 \begin_layout Standard
3848 If you use a KOMA-Script document class, you can use the default settings
3849  because KOMA-Script calculates the print space automatically by taking
3850  the paper format and the font size into account.
3851 \end_layout
3852
3853 \begin_layout Subsection
3854 Important Note
3855 \end_layout
3856
3857 \begin_layout Standard
3858 If you change a document class, LyX has to convert 
3859 \emph on
3860 everything
3861 \emph default
3862  into the new class.
3863  That includes the paragraph environments.
3864  Some paragraph environments are standard, in so far as all of the document
3865  classes have them; but some classes have special paragraph environments.
3866  If this is the case, and you change the document class, LyX will mark the
3867  paragraphs whose styles it no longer understands as 
3868 \begin_inset Quotes eld
3869 \end_inset
3870
3871 unknown
3872 \begin_inset Quotes erd
3873 \end_inset
3874
3875 .
3876  The name of the style is retained, in case you should want to go back to
3877  the old class.
3878  But these paragraphs will be output with no special formatting, so you
3879  will either need to create a new style yourself or else convert these paragraph
3880 s manually to a style present in your new document class.
3881 \end_layout
3882
3883 \begin_layout Section
3884 Paragraph Indentation and Separation
3885 \begin_inset Index idx
3886 status collapsed
3887
3888 \begin_layout Plain Layout
3889 Paragraph ! Indentation
3890 \end_layout
3891
3892 \end_inset
3893
3894
3895 \end_layout
3896
3897 \begin_layout Subsection
3898 Introduction
3899 \begin_inset CommandInset label
3900 LatexCommand label
3901 name "sec:Par-indent-intro"
3902
3903 \end_inset
3904
3905
3906 \end_layout
3907
3908 \begin_layout Standard
3909 Before describing all of the various paragraph environments, we'd like to
3910  say a word or two about paragraph indentation.
3911 \end_layout
3912
3913 \begin_layout Standard
3914 Everyone seems to have their own convention for separating paragraphs.
3915  Most Americans indent the first line of a paragraph.
3916  Others don't indent but put extra space between the paragraphs.
3917  If you choose indentation for paragraphs the 
3918 \emph on
3919 first
3920 \emph default
3921  paragraph of a section, or after a figure, an equation, a table, a list,
3922  etc., is 
3923 \emph on
3924 not
3925 \emph default
3926  indented.
3927  Only a paragraph following another paragraph gets indented.
3928  Note that the indentation behavior is different when you use another document
3929  language than English.
3930  LaTeX takes care that the indentation follows the rules of the language
3931  used.
3932 \end_layout
3933
3934 \begin_layout Standard
3935 The space between paragraphs, like the line spacing, the space between headings
3936  and text — in fact, all the spacing for just about everything —is pre-coded
3937  into LyX.
3938  As we said, you don't worry about how much space to add between what.
3939  LyX takes care of that.
3940  In fact, these pre-coded vertical spacings aren't a single number but a
3941  range.
3942  That way, LyX can squish or stretch the space between lines to make sure
3943  figures fit on a page with text, so that sections don't start at the bottom
3944  of a page, and so on.
3945 \begin_inset Foot
3946 status collapsed
3947
3948 \begin_layout Plain Layout
3949 LaTeX does this when LyX goes to produce a printable file.
3950 \end_layout
3951
3952 \end_inset
3953
3954  However, pre-coded doesn't mean you can't change them.
3955  LyX gives you the ability globally to change 
3956 \emph on
3957 all
3958 \emph default
3959  these pre-coded spacings.
3960  We will explain more later.
3961 \end_layout
3962
3963 \begin_layout Subsection
3964 Paragraph Separation
3965 \begin_inset CommandInset label
3966 LatexCommand label
3967 name "sub:Paragraph-Separation"
3968
3969 \end_inset
3970
3971
3972 \begin_inset Index idx
3973 status collapsed
3974
3975 \begin_layout Plain Layout
3976 Paragraph ! Separation
3977 \end_layout
3978
3979 \end_inset
3980
3981
3982 \end_layout
3983
3984 \begin_layout Standard
3985 Select 
3986 \family sans
3987 Indentation
3988 \family default
3989  or 
3990 \family sans
3991 Vertical
3992 \begin_inset space ~
3993 \end_inset
3994
3995 space
3996 \family default
3997  in the submenu 
3998 \family sans
3999 Text
4000 \begin_inset space ~
4001 \end_inset
4002
4003 Layout
4004 \family default
4005  of the dialog 
4006 \family sans
4007 Document\SpecialChar \menuseparator
4008 Settings
4009 \family default
4010
4011 \begin_inset Index idx
4012 status collapsed
4013
4014 \begin_layout Plain Layout
4015 Document ! Settings
4016 \end_layout
4017
4018 \end_inset
4019
4020  to indent paragraphs or to add extra space between paragraphs, respectively.
4021 \end_layout
4022
4023 \begin_layout Subsection
4024 Fine-Tuning
4025 \end_layout
4026
4027 \begin_layout Standard
4028 You can also change the separation method of a single paragraph.
4029  Open the 
4030 \family sans
4031 Edit\SpecialChar \menuseparator
4032 Paragraph
4033 \begin_inset space ~
4034 \end_inset
4035
4036 Settings
4037 \family default
4038  dialog and toggle the 
4039 \family sans
4040 Indent
4041 \begin_inset space ~
4042 \end_inset
4043
4044 Paragraph
4045 \family default
4046  option to change the state of the current paragraph (shortcut 
4047 \begin_inset Info
4048 type  "shortcut"
4049 arg   "paragraph-params \\indent-toggle"
4050 \end_inset
4051
4052 ).
4053  If paragraphs have no indentation but use extra space for separation, this
4054  button will be ignored (you can't indent a single paragraph by toggling
4055  this).
4056 \end_layout
4057
4058 \begin_layout Standard
4059 You should only need to change the indentation method for a single paragraph
4060  if you need to do some fine-tuning.
4061 \end_layout
4062
4063 \begin_layout Subsection
4064 Line Spacing
4065 \begin_inset Index idx
4066 status collapsed
4067
4068 \begin_layout Plain Layout
4069 Paragraph ! Line spacing
4070 \end_layout
4071
4072 \end_inset
4073
4074
4075 \end_layout
4076
4077 \begin_layout Standard
4078 In the 
4079 \family sans
4080 Document\SpecialChar \menuseparator
4081 Settings
4082 \noun on
4083
4084 \begin_inset Index idx
4085 status collapsed
4086
4087 \begin_layout Plain Layout
4088 Document ! Settings
4089 \end_layout
4090
4091 \end_inset
4092
4093
4094 \family default
4095 \noun default
4096  dialog you can set the line spacing for the whole document in the submenu
4097  
4098 \family sans
4099 Text
4100 \begin_inset space ~
4101 \end_inset
4102
4103 Layout
4104 \family default
4105 .
4106 \begin_inset Foot
4107 status collapsed
4108
4109 \begin_layout Plain Layout
4110 You need to have the LaTeX-package 
4111 \series bold
4112 setspace
4113 \series default
4114
4115 \begin_inset Index idx
4116 status collapsed
4117
4118 \begin_layout Plain Layout
4119 LaTeX-packages ! setspace
4120 \end_layout
4121
4122 \end_inset
4123
4124  installed to use this feature.
4125 \end_layout
4126
4127 \end_inset
4128
4129  You can set it for a single paragraph in the 
4130 \family sans
4131 Edit\SpecialChar \menuseparator
4132 Paragraph
4133 \begin_inset space ~
4134 \end_inset
4135
4136 Settings
4137 \family default
4138  dialog but this should be used very exceptionally because vertical spacing
4139  is normally defined in the environment's style.
4140 \end_layout
4141
4142 \begin_layout Section
4143 Paragraph Environments
4144 \begin_inset CommandInset label
4145 LatexCommand label
4146 name "sec:Paragraph-Environments"
4147
4148 \end_inset
4149
4150
4151 \begin_inset Index idx
4152 status collapsed
4153
4154 \begin_layout Plain Layout
4155 Paragraph ! Environments
4156 \end_layout
4157
4158 \end_inset
4159
4160
4161 \begin_inset Index idx
4162 status collapsed
4163
4164 \begin_layout Plain Layout
4165 Paragraph environments|(
4166 \end_layout
4167
4168 \end_inset
4169
4170
4171 \end_layout
4172
4173 \begin_layout Subsection
4174 Overview
4175 \end_layout
4176
4177 \begin_layout Standard
4178 Paragraph environments correspond to the
4179 \end_layout
4180
4181 \begin_layout Standard
4182
4183 \series bold
4184
4185 \backslash
4186 begin{
4187 \emph on
4188 environment
4189 \emph default
4190 } ...
4191  
4192 \backslash
4193 end{
4194 \emph on
4195 environment
4196 \emph default
4197 }
4198 \series default
4199
4200 \begin_inset Newline newline
4201 \end_inset
4202
4203 command sequence in LaTeX files.
4204  If you don't know LaTeX, or the concept of a paragraph environment is totally
4205  alien to you, we urge you to read the 
4206 \emph on
4207 Tutorial
4208 \emph default
4209 .
4210  The 
4211 \emph on
4212 Tutorial
4213 \emph default
4214  also contains many more examples than this section does.
4215 \end_layout
4216
4217 \begin_layout Standard
4218 A paragraph environment is simply a 
4219 \begin_inset Quotes eld
4220 \end_inset
4221
4222 container
4223 \begin_inset Quotes erd
4224 \end_inset
4225
4226  for a paragraph which gives that paragraph certain properties.
4227  This can include a particular style of font, different margins, a numbering
4228  scheme, labels, and so on.
4229  Additionally, you can 
4230 \begin_inset Quotes eld
4231 \end_inset
4232
4233 nest
4234 \begin_inset Quotes erd
4235 \end_inset
4236
4237  the different environments inside one another, allowing one environment
4238  to inherit some of the properties of another.
4239  The different paragraph environments totally replace the need for messy
4240  tab stops, on the fly margin adjustment, and other hangovers from the days
4241  of typewriters.
4242  There are several paragraph environments that are specific to a particular
4243  document type.
4244  We will only be covering the most common ones here.
4245 \end_layout
4246
4247 \begin_layout Standard
4248 To choose a new paragraph environment, use the pull-down box 
4249 \begin_inset Graphics
4250         filename clipart/ToolbarEnvBox.png
4251         scale 70
4252         clip
4253
4254 \end_inset
4255
4256  at the left end of the toolbar.
4257  LyX will change the environment of the 
4258 \emph on
4259 entire
4260 \emph default
4261  paragraph in which the cursor sits.
4262  You can also change the environment of an entire group of paragraphs if
4263  you select them before choosing the new environment.
4264  
4265 \end_layout
4266
4267 \begin_layout Standard
4268 Note that entering 
4269 \family sans
4270 Return
4271 \family default
4272  will 
4273 \emph on
4274 typically
4275 \emph default
4276  create a new paragraph using the 
4277 \family sans
4278 Standard
4279 \family default
4280  paragraph environment.
4281  We say 
4282 \begin_inset Quotes eld
4283 \end_inset
4284
4285 typically
4286 \begin_inset Quotes erd
4287 \end_inset
4288
4289  because if you are in one of these environments:
4290 \end_layout
4291
4292 \begin_layout Itemize
4293
4294 \family sans
4295 Quote
4296 \end_layout
4297
4298 \begin_layout Itemize
4299
4300 \family sans
4301 Quotation
4302 \end_layout
4303
4304 \begin_layout Itemize
4305
4306 \family sans
4307 Verse
4308 \end_layout
4309
4310 \begin_layout Itemize
4311
4312 \family sans
4313 Itemize
4314 \end_layout
4315
4316 \begin_layout Itemize
4317
4318 \family sans
4319 Enumerate
4320 \end_layout
4321
4322 \begin_layout Itemize
4323
4324 \family sans
4325 Description
4326 \end_layout
4327
4328 \begin_layout Itemize
4329
4330 \family sans
4331 List
4332 \end_layout
4333
4334 \begin_layout Standard
4335 LyX keeps the old paragraph environment when you enter 
4336 \family sans
4337 Return
4338 \family default
4339 , rather than resetting it to 
4340 \family sans
4341 Standard
4342 \family default
4343 .
4344  Also the nesting depth is preserved (for more on nesting see section
4345 \begin_inset space ~
4346 \end_inset
4347
4348
4349 \begin_inset CommandInset ref
4350 LatexCommand ref
4351 reference "sec:Nesting"
4352
4353 \end_inset
4354
4355 ).
4356 \end_layout
4357
4358 \begin_layout Subsection
4359 Standard
4360 \end_layout
4361
4362 \begin_layout Standard
4363 The default paragraph environment is 
4364 \family sans
4365 Standard
4366 \family default
4367  for most classes.
4368  It creates a plain paragraph.
4369  If LyX resets the paragraph environment, this is the one it chooses.
4370  In fact, the paragraph you're reading right now (and most of the ones in
4371  this manual) are in the 
4372 \family sans
4373 Standard
4374 \family default
4375  environment.
4376 \end_layout
4377
4378 \begin_layout Standard
4379 You can nest a paragraph using the 
4380 \family sans
4381 Standard
4382 \family default
4383  environment in just about anything else, but you can't really nest anything
4384  in a 
4385 \family sans
4386 Standard
4387 \family default
4388  environment.
4389 \end_layout
4390
4391 \begin_layout Subsection
4392 Document Title
4393 \begin_inset Index idx
4394 status collapsed
4395
4396 \begin_layout Plain Layout
4397 Document ! Title
4398 \end_layout
4399
4400 \end_inset
4401
4402
4403 \end_layout
4404
4405 \begin_layout Standard
4406 A LaTeX title page has three parts: the title itself, the name(s) of the
4407  author(s) and a 
4408 \begin_inset Quotes eld
4409 \end_inset
4410
4411 footnote
4412 \begin_inset Quotes erd
4413 \end_inset
4414
4415  for thanks or contact information.
4416  For certain types of documents, LaTeX places all of this on a separate
4417  page along with today's date.
4418  For other types of documents, the title 
4419 \begin_inset Quotes eld
4420 \end_inset
4421
4422 page
4423 \begin_inset Quotes erd
4424 \end_inset
4425
4426  goes at the top of the first page of the document.
4427  
4428 \end_layout
4429
4430 \begin_layout Standard
4431 LyX provides an interface to the title page commands through the paragraph
4432  environments 
4433 \family sans
4434 Title
4435 \family default
4436
4437 \family sans
4438 Author
4439 \family default
4440 , and 
4441 \family sans
4442 Date
4443 \family default
4444 .
4445  Here's how you use them:
4446 \end_layout
4447
4448 \begin_layout Itemize
4449 Put the title of your document in the 
4450 \family sans
4451 Title
4452 \family default
4453  environment.
4454 \end_layout
4455
4456 \begin_layout Itemize
4457 Put the author name in the 
4458 \family sans
4459 Author
4460 \family default
4461  environment.
4462 \end_layout
4463
4464 \begin_layout Itemize
4465 If you want the date to have a certain appearance, want to use a fixed date,
4466  or want other text to appear in place of today's date, put that text in
4467  the 
4468 \family sans
4469 Date
4470 \family default
4471  environment.
4472  Note that using this environment is optional.
4473  If you don't provide any, LaTeX will automatically insert today's date.
4474  If you don't want a date, use the option 
4475 \family sans
4476 Suppress default date on front page
4477 \family default
4478  in the menu 
4479 \family sans
4480 Document\SpecialChar \menuseparator
4481 Settings\SpecialChar \menuseparator
4482 Document
4483 \begin_inset space ~
4484 \end_inset
4485
4486 class
4487 \family default
4488 .
4489 \end_layout
4490
4491 \begin_layout Standard
4492 You can use footnotes to insert 
4493 \begin_inset Quotes eld
4494 \end_inset
4495
4496 thanks
4497 \begin_inset Quotes erd
4498 \end_inset
4499
4500  or contact information.
4501 \end_layout
4502
4503 \begin_layout Subsection
4504 Headings
4505 \begin_inset Index idx
4506 status collapsed
4507
4508 \begin_layout Plain Layout
4509 Section headings
4510 \end_layout
4511
4512 \end_inset
4513
4514
4515 \begin_inset CommandInset label
4516 LatexCommand label
4517 name "sub:Headings"
4518
4519 \end_inset
4520
4521
4522 \end_layout
4523
4524 \begin_layout Standard
4525 There are several paragraph environments for producing section headings.
4526  LyX takes care of the numbering for you.
4527 \end_layout
4528
4529 \begin_layout Subsubsection
4530 Numbered Headings
4531 \begin_inset Index idx
4532 status collapsed
4533
4534 \begin_layout Plain Layout
4535 Section headings ! Numbered
4536 \end_layout
4537
4538 \end_inset
4539
4540
4541 \end_layout
4542
4543 \begin_layout Standard
4544 There are 7 numbered types of section headings.
4545  They are:
4546 \end_layout
4547
4548 \begin_layout Enumerate
4549
4550 \family sans
4551 Part
4552 \end_layout
4553
4554 \begin_layout Enumerate
4555
4556 \family sans
4557 Chapter
4558 \end_layout
4559
4560 \begin_layout Enumerate
4561
4562 \family sans
4563 Section
4564 \end_layout
4565
4566 \begin_layout Enumerate
4567
4568 \family sans
4569 Subsection
4570 \end_layout
4571
4572 \begin_layout Enumerate
4573
4574 \family sans
4575 Subsubsection
4576 \end_layout
4577
4578 \begin_layout Enumerate
4579
4580 \family sans
4581 Paragraph
4582 \end_layout
4583
4584 \begin_layout Enumerate
4585
4586 \family sans
4587 Subparagraph
4588 \end_layout
4589
4590 \begin_layout Standard
4591 LyX labels each heading with a series of numbers, separated by periods.
4592  The numbers describe where in the document you are.
4593  Unlike the other headings, parts are numbered with Latin letters.
4594 \end_layout
4595
4596 \begin_layout Standard
4597 Headings all subdivide your document into different pieces of text.
4598  For example, suppose you're writing a book.
4599  You group the book into chapters.
4600  LyX does a similar grouping:
4601 \end_layout
4602
4603 \begin_layout Itemize
4604
4605 \family sans
4606 Part
4607 \family default
4608  is divided into either 
4609 \family sans
4610 Chapter
4611 \family default
4612 s or 
4613 \family sans
4614 Section
4615 \family default
4616 s
4617 \end_layout
4618
4619 \begin_layout Itemize
4620
4621 \family sans
4622 Chapter
4623 \family default
4624 s are divided into 
4625 \family sans
4626 Section
4627 \family default
4628 s
4629 \end_layout
4630
4631 \begin_layout Itemize
4632
4633 \family sans
4634 Section
4635 \family default
4636 s are divided into 
4637 \family sans
4638 Subsection
4639 \family default
4640 s
4641 \end_layout
4642
4643 \begin_layout Itemize
4644
4645 \family sans
4646 Subsection
4647 \family default
4648 s are divided into 
4649 \family sans
4650 Subsubsection
4651 \family default
4652 s
4653 \end_layout
4654
4655 \begin_layout Itemize
4656
4657 \family sans
4658 Subsubsection
4659 \family default
4660 s are divided into 
4661 \family sans
4662 Paragraph
4663 \family default
4664 s
4665 \end_layout
4666
4667 \begin_layout Itemize
4668
4669 \family sans
4670 Paragraph
4671 \family default
4672 s are divided into 
4673 \family sans
4674 Subparagraph
4675 \family default
4676 s
4677 \end_layout
4678
4679 \begin_layout Standard
4680 \begin_inset Note Greyedout
4681 status open
4682
4683 \begin_layout Plain Layout
4684
4685 \series bold
4686 Note:
4687 \series default
4688  Not all document types use the 
4689 \family sans
4690 Chapter
4691 \family default
4692  heading as the maximum sectioning level.
4693  In that case the 
4694 \family sans
4695 Section
4696 \family default
4697  is the top-level heading.
4698 \end_layout
4699
4700 \end_inset
4701
4702
4703 \end_layout
4704
4705 \begin_layout Standard
4706 So, if you use the 
4707 \family sans
4708 Subsubsection
4709 \family default
4710  environment to label a new sub-subsection, LyX labels it with its number,
4711  along with the number of the subsection, section and, if applicable, chapter
4712  that it's in.
4713  For example: the fifth section of the second chapter of this book has the
4714  label 
4715 \begin_inset Quotes eld
4716 \end_inset
4717
4718 2.5
4719 \begin_inset Quotes erd
4720 \end_inset
4721
4722 .
4723 \end_layout
4724
4725 \begin_layout Subsubsection
4726 Unnumbered Headings
4727 \begin_inset Index idx
4728 status collapsed
4729
4730 \begin_layout Plain Layout
4731 Section headings ! Unnumbered
4732 \end_layout
4733
4734 \end_inset
4735
4736
4737 \end_layout
4738
4739 \begin_layout Standard
4740 The unnumbered section headings have a 
4741 \begin_inset Quotes eld
4742 \end_inset
4743
4744 *
4745 \begin_inset Quotes erd
4746 \end_inset
4747
4748  at the end of their name.
4749  They work the same as their numbered counterparts but will not appear in
4750  the table of contents, see section
4751 \begin_inset space ~
4752 \end_inset
4753
4754
4755 \begin_inset CommandInset ref
4756 LatexCommand ref
4757 reference "sec:toc"
4758
4759 \end_inset
4760
4761 .
4762 \end_layout
4763
4764 \begin_layout Subsubsection
4765 Changing the Numbering
4766 \begin_inset CommandInset label
4767 LatexCommand label
4768 name "sub:Numbering-depth"
4769
4770 \end_inset
4771
4772
4773 \end_layout
4774
4775 \begin_layout Standard
4776 You can also alter which sectioning levels get numbered and which ones appear
4777  in the Table of Contents.
4778  Now, this doesn't remove any of the levels; that's preset in the document
4779  class.
4780  Just as certain classes start with 
4781 \family sans
4782 Chapter
4783 \family default
4784  and go down to the 
4785 \family sans
4786 Subparagraph
4787 \family default
4788  level.
4789  Others start at 
4790 \family sans
4791 Section
4792 \family default
4793 .
4794  Similarly, not all document classes number all sectioning levels.
4795  Most don't number 
4796 \family sans
4797 Paragraph
4798 \family default
4799  or 
4800 \family sans
4801 Subparagraph
4802 \family default
4803 .
4804  This is something you can change.
4805 \end_layout
4806
4807 \begin_layout Standard
4808 Open the 
4809 \family sans
4810 Document\SpecialChar \menuseparator
4811 Settings
4812 \family default
4813  dialog.
4814 \begin_inset Index idx
4815 status collapsed
4816
4817 \begin_layout Plain Layout
4818 Document ! Settings
4819 \end_layout
4820
4821 \end_inset
4822
4823  Under 
4824 \family sans
4825 Numbering
4826 \begin_inset space ~
4827 \end_inset
4828
4829 &
4830 \begin_inset space ~
4831 \end_inset
4832
4833 TOC
4834 \family default
4835  you will see two counters.
4836  The one named 
4837 \family sans
4838 Numbering
4839 \family default
4840  controls how far down in the sectioning hierarchy LyX numbers a section
4841  heading.
4842  The other one controls the appearance of the section headings in the table
4843  of contents.
4844 \end_layout
4845
4846 \begin_layout Subsubsection
4847 Short Titles of Headings
4848 \begin_inset Index idx
4849 status collapsed
4850
4851 \begin_layout Plain Layout
4852 Section headings ! Short titles
4853 \end_layout
4854
4855 \end_inset
4856
4857
4858 \begin_inset Argument 1
4859 status collapsed
4860
4861 \begin_layout Plain Layout
4862 Short Titles
4863 \end_layout
4864
4865 \end_inset
4866
4867
4868 \begin_inset CommandInset label
4869 LatexCommand label
4870 name "sec:Short-Titles"
4871
4872 \end_inset
4873
4874
4875 \end_layout
4876
4877 \begin_layout Standard
4878 Some section or chapter titles, such as this one, can get quite long.
4879  This can cause trouble when there is limited horizontal space.
4880  For example, if the header of the page is set to show the current section
4881  title, a long title will protrude over the page margins and look awful.
4882 \end_layout
4883
4884 \begin_layout Standard
4885 LaTeX allows you to specify a short title for section headings.
4886  This short title is used in the header and in the actual table of contents,
4887  avoiding the problem mentioned.
4888  To specify a short title, use the menu 
4889 \family sans
4890 Insert\SpecialChar \menuseparator
4891 Short
4892 \begin_inset space ~
4893 \end_inset
4894
4895 Title
4896 \family default
4897 .
4898  This will insert a box labeled 
4899 \begin_inset Quotes eld
4900 \end_inset
4901
4902 opt
4903 \begin_inset Quotes erd
4904 \end_inset
4905
4906  (stands for 
4907 \begin_inset Quotes eld
4908 \end_inset
4909
4910 optional
4911 \begin_inset Quotes erd
4912 \end_inset
4913
4914 ) which you can use to enter the short title text.
4915  This also works for captions inside floats.
4916 \end_layout
4917
4918 \begin_layout Standard
4919 The title of this section is a good example of using this feature.
4920 \end_layout
4921
4922 \begin_layout Subsubsection
4923 Special Information
4924 \end_layout
4925
4926 \begin_layout Standard
4927 The following information applies to all section headings:
4928 \end_layout
4929
4930 \begin_layout Itemize
4931 You cannot do any nesting with these environments.
4932 \end_layout
4933
4934 \begin_layout Itemize
4935 You cannot use a margin note in any of these environments.
4936 \end_layout
4937
4938 \begin_layout Itemize
4939 You can only use inline math in these environments.
4940 \end_layout
4941
4942 \begin_layout Itemize
4943 You can use labels and cross-references to refer to their numbers.
4944 \end_layout
4945
4946 \begin_layout Subsection
4947 Quotes and Poetry line spacing
4948 \end_layout
4949
4950 \begin_layout Standard
4951 LyX has three paragraph environments for writing poetry and quotations.
4952  They are 
4953 \family sans
4954 Quote
4955 \family default
4956
4957 \family sans
4958 Quotation
4959 \family default
4960 , and 
4961 \family sans
4962 Verse
4963 \family default
4964 .
4965  Forget the days of changing line spacing and twiddling with margins.
4966  These three paragraph environments already have those changes built-in.
4967  They all widen the left margin and add a bit of extra space above and below
4968  the text they contain.
4969  They also allow nesting, so you can put a 
4970 \family sans
4971 Verse
4972 \family default
4973  in a 
4974 \family sans
4975 Quotation
4976 \family default
4977 , as well as in some other paragraph environments.
4978 \end_layout
4979
4980 \begin_layout Standard
4981 There is another feature of these three paragraph environments: they do
4982  
4983 \emph on
4984 not
4985 \emph default
4986  reset to 
4987 \family sans
4988 Standard
4989 \family default
4990  when you start a new paragraph.
4991  So, you can type in that poem and merrily enter 
4992 \family sans
4993 Return
4994 \family default
4995  without worrying about the paragraph environment changing on you.
4996  Of course, that means that, once you are done typing in that poem, you
4997  have to change back to the 
4998 \family sans
4999 Standard
5000 \family default
5001  environment yourself.
5002 \end_layout
5003
5004 \begin_layout Subsubsection
5005
5006 \family sans
5007 Quote
5008 \family default
5009  and 
5010 \family sans
5011 Quotation
5012 \family default
5013
5014 \begin_inset CommandInset label
5015 LatexCommand label
5016 name "sec:Quote"
5017
5018 \end_inset
5019
5020
5021 \begin_inset Index idx
5022 status collapsed
5023
5024 \begin_layout Plain Layout
5025 Quotation
5026 \end_layout
5027
5028 \end_inset
5029
5030
5031 \end_layout
5032
5033 \begin_layout Standard
5034 Now that we've described the similarities of these three environments, it's
5035  time for the differences.
5036  
5037 \family sans
5038 Quote
5039 \family default
5040  and 
5041 \family sans
5042 Quotation
5043 \family default
5044  are identical except for one difference: 
5045 \family sans
5046 Quote
5047 \family default
5048  uses extra spacing to separate paragraphs and never indents the first line.
5049  
5050 \family sans
5051 Quotation
5052 \family default
5053  
5054 \emph on
5055 always
5056 \emph default
5057  indents the first line of a paragraph and uses the same line spacing throughout.
5058 \end_layout
5059
5060 \begin_layout Standard
5061 Here's an example of the 
5062 \family sans
5063 Quote
5064 \family default
5065  environment:
5066 \end_layout
5067
5068 \begin_layout Quote
5069 This is in the 
5070 \family sans
5071 Quote
5072 \family default
5073  environment.
5074  I can keep writing, extending this line out further and further until it
5075  wraps.
5076  See – no indentation!
5077 \end_layout
5078
5079 \begin_layout Quote
5080 Here's the second paragraph of this quote.
5081  Again, there's no indentation, but there is extra space between me and
5082  the other paragraph.
5083 \end_layout
5084
5085 \begin_layout Standard
5086 Here's another example, this time in the 
5087 \family sans
5088 Quotation
5089 \family default
5090  environment:
5091 \end_layout
5092
5093 \begin_layout Quotation
5094 This is in the 
5095 \family sans
5096 Quotation
5097 \family default
5098  environment.
5099  If I keep writing, you will see the indentation.
5100  If your country uses a writing style that indicates new paragraphs by indenting
5101  the first line, then 
5102 \family sans
5103 Quotation
5104 \family default
5105  is the environment for you! Well, you'd use it 
5106 \emph on
5107 if
5108 \emph default
5109  you were quoting other text.
5110 \end_layout
5111
5112 \begin_layout Quotation
5113 Here's a new paragraph.
5114  I could ramble on and on, like a politician at election time.
5115  If I did that, though, you'd get bored.
5116 \end_layout
5117
5118 \begin_layout Standard
5119 As the examples show, 
5120 \family sans
5121 Quote
5122 \family default
5123  is for those people who use extra space to separate paragraphs.
5124  They should put quotes in the 
5125 \family sans
5126 Quote
5127 \family default
5128  environment.
5129  Those who use indentation to mark a new paragraph should use the 
5130 \family sans
5131 Quotation
5132 \family default
5133  paragraph environment for quoted text.
5134 \end_layout
5135
5136 \begin_layout Subsubsection
5137
5138 \family sans
5139 Verse
5140 \family default
5141
5142 \begin_inset Index idx
5143 status collapsed
5144
5145 \begin_layout Plain Layout
5146 Paragraph ! Verse
5147 \end_layout
5148
5149 \end_inset
5150
5151
5152 \family sans
5153
5154 \begin_inset Index idx
5155 status collapsed
5156
5157 \begin_layout Plain Layout
5158 Poetry
5159 \end_layout
5160
5161 \end_inset
5162
5163
5164 \begin_inset CommandInset label
5165 LatexCommand label
5166 name "sec:Verse"
5167
5168 \end_inset
5169
5170
5171 \end_layout
5172
5173 \begin_layout Standard
5174
5175 \family sans
5176 Verse
5177 \family default
5178  is a paragraph environment for poetry, rhymes, verses, and so on.
5179  Here's an example:
5180 \end_layout
5181
5182 \begin_layout Verse
5183 This is in Verse
5184 \begin_inset Newline newline
5185 \end_inset
5186
5187 Which I did not rehearse!
5188 \end_layout
5189
5190 \begin_layout Verse
5191 It could be much worse.
5192  This line could be long, very long, oh so long, so very long that it wraps
5193  around.
5194  It looks okay on screen, but in the printed version, the extra lines are
5195  indented a bit more than the first.
5196  Okay, so it's turned to prose and doesn't rhyme anymore.
5197  So sue me.
5198 \end_layout
5199
5200 \begin_layout Verse
5201 To break a line
5202 \begin_inset Newline newline
5203 \end_inset
5204
5205 And make things look fine
5206 \begin_inset Newline newline
5207 \end_inset
5208
5209 Use 
5210 \begin_inset Info
5211 type  "shortcut"
5212 arg   "newline-insert newline"
5213 \end_inset
5214
5215 .
5216 \end_layout
5217
5218 \begin_layout Standard
5219 As you can see, 
5220 \family sans
5221 Verse
5222 \family default
5223  does not indent both margins.
5224  Each stanza of the verse or poem is in its own paragraph.
5225  To separate the individual lines of a stanza, use the 
5226 \family typewriter
5227 break-line
5228 \family default
5229  function 
5230 \begin_inset Info
5231 type  "shortcut"
5232 arg   "newline-insert newline"
5233 \end_inset
5234
5235 .
5236 \end_layout
5237
5238 \begin_layout Subsection
5239 Lists
5240 \begin_inset Index idx
5241 status collapsed
5242
5243 \begin_layout Plain Layout
5244 Lists
5245 \end_layout
5246
5247 \end_inset
5248
5249
5250 \begin_inset CommandInset label
5251 LatexCommand label
5252 name "sub:Lists"
5253
5254 \end_inset
5255
5256
5257 \end_layout
5258
5259 \begin_layout Standard
5260 LyX has four different paragraph environments for creating different kinds
5261  of lists.
5262  In the 
5263 \family sans
5264 Itemize
5265 \family default
5266  and 
5267 \family sans
5268 Enumerate
5269 \family default
5270  environments, LyX labels your list items with bullets or numbers, respectively.
5271  In the 
5272 \family sans
5273 Description
5274 \family default
5275  and 
5276 \family sans
5277 List
5278 \family default
5279  environments, LyX lets you provide your own label.
5280  We will present the individual details of each type of list next after
5281  describing some general features of all four of them.
5282 \end_layout
5283
5284 \begin_layout Subsubsection
5285 General Features
5286 \end_layout
5287
5288 \begin_layout Standard
5289 The four paragraph environments for lists differ from the other environments
5290  in several ways.
5291  First, LyX treats each paragraph as a list item.
5292  Hitting 
5293 \family sans
5294 Return
5295 \family default
5296  does 
5297 \emph on
5298 not
5299 \emph default
5300  reset the environment to 
5301 \family sans
5302 Standard
5303 \family default
5304  but keeps the current environment and creates a new list item.
5305  The nesting depth is thereby kept.
5306  If you want to keep the paragraph environment but reset the current nesting
5307  depth, you can use 
5308 \begin_inset Info
5309 type  "shortcut"
5310 arg   "break-paragraph inverse"
5311 \end_inset
5312
5313 .
5314  If you do this at the top level of a list, it returns you to the 
5315 \family sans
5316 Standard
5317 \family default
5318  environment.
5319 \end_layout
5320
5321 \begin_layout Standard
5322 You can nest lists of any type inside one another.
5323  In fact, LyX changes the labels on some list items depending on how it
5324  is nested.
5325  If you intend to use any of the list paragraph environments, we suggest
5326  you read all of section
5327 \begin_inset space ~
5328 \end_inset
5329
5330
5331 \begin_inset CommandInset ref
5332 LatexCommand ref
5333 reference "sec:Nesting"
5334
5335 \end_inset
5336
5337 .
5338 \end_layout
5339
5340 \begin_layout Subsubsection
5341
5342 \family sans
5343 Itemize
5344 \family default
5345
5346 \begin_inset Index idx
5347 status collapsed
5348
5349 \begin_layout Plain Layout
5350 Lists ! Itemize
5351 \end_layout
5352
5353 \end_inset
5354
5355
5356 \begin_inset CommandInset label
5357 LatexCommand label
5358 name "sec:Itemize"
5359
5360 \end_inset
5361
5362
5363 \end_layout
5364
5365 \begin_layout Standard
5366 The first type of list we will describe in detail is the 
5367 \family sans
5368 Itemize
5369 \family default
5370  paragraph environment.
5371  It has the following properties:
5372 \end_layout
5373
5374 \begin_layout Itemize
5375 Each item has a particular bullet or symbol as its label.
5376 \end_layout
5377
5378 \begin_deeper
5379 \begin_layout Itemize
5380 LyX uses the same symbol for all of the items in a given nesting level.
5381 \end_layout
5382
5383 \begin_layout Itemize
5384 The symbol appears at the beginning of the first line.
5385 \end_layout
5386
5387 \end_deeper
5388 \begin_layout Itemize
5389 The items can have any length.
5390  LyX automatically offsets the left margin of each item.
5391  The offset is always relative to whatever environment the 
5392 \family sans
5393 Itemize
5394 \family default
5395  list may be in.
5396 \end_layout
5397
5398 \begin_layout Itemize
5399 If you nest an 
5400 \family sans
5401 Itemize
5402 \family default
5403  environment inside another 
5404 \family sans
5405 Itemize
5406 \family default
5407  environment, the label changes to a new symbol.
5408 \end_layout
5409
5410 \begin_deeper
5411 \begin_layout Itemize
5412 There are four different symbols for up to a four-fold nesting.
5413 \end_layout
5414
5415 \begin_layout Itemize
5416 LyX always shows the same symbol on screen.
5417 \end_layout
5418
5419 \begin_layout Itemize
5420 See section
5421 \begin_inset space ~
5422 \end_inset
5423
5424
5425 \begin_inset CommandInset ref
5426 LatexCommand ref
5427 reference "sec:Nesting"
5428
5429 \end_inset
5430
5431  for a full explanation of nesting.
5432 \end_layout
5433
5434 \end_deeper
5435 \begin_layout Standard
5436 Of course, that explanation was also an example of an 
5437 \family sans
5438 Itemize
5439 \family default
5440  list.
5441  The 
5442 \family sans
5443 Itemize
5444 \family default
5445  environment is best suited for lists where the order doesn't matter.
5446 \end_layout
5447
5448 \begin_layout Standard
5449 We said that different levels use different symbols as their label.
5450  Here's an example of all four possible symbols.
5451 \end_layout
5452
5453 \begin_layout Itemize
5454 The label for the first level 
5455 \family sans
5456 Itemize
5457 \family default
5458  is a large black dot, or bullet.
5459 \end_layout
5460
5461 \begin_deeper
5462 \begin_layout Itemize
5463 The label for the second level is a dash.
5464 \end_layout
5465
5466 \begin_deeper
5467 \begin_layout Itemize
5468 The label for the third is an asterisk.
5469 \end_layout
5470
5471 \begin_deeper
5472 \begin_layout Itemize
5473 The label for the fourth is a centered dot.
5474 \end_layout
5475
5476 \end_deeper
5477 \begin_layout Itemize
5478 Back out to the third level.
5479 \end_layout
5480
5481 \end_deeper
5482 \begin_layout Itemize
5483 Back to the second level.
5484 \end_layout
5485
5486 \end_deeper
5487 \begin_layout Itemize
5488 Back to the outermost level.
5489 \end_layout
5490
5491 \begin_layout Standard
5492 These are the default labels for an 
5493 \family sans
5494 Itemize
5495 \family default
5496  list.
5497  You can customize how these labels are displayed in the output in the 
5498 \family sans
5499 Document\SpecialChar \menuseparator
5500 Settings
5501 \family default
5502  dialog in the submenu 
5503 \family sans
5504 Bullets
5505 \family default
5506 .
5507 \begin_inset Index idx
5508 status collapsed
5509
5510 \begin_layout Plain Layout
5511 Document ! Settings
5512 \end_layout
5513
5514 \end_inset
5515
5516  These customizations are not displayed in LyX.
5517 \end_layout
5518
5519 \begin_layout Standard
5520 Notice how the space between items decreases with increasing depth.
5521  We will explain nesting and all the tricks you can do with different depths
5522  in section
5523 \begin_inset space ~
5524 \end_inset
5525
5526
5527 \begin_inset CommandInset ref
5528 LatexCommand ref
5529 reference "sec:Nesting"
5530
5531 \end_inset
5532
5533 .
5534 \end_layout
5535
5536 \begin_layout Subsubsection
5537
5538 \family sans
5539 Enumerate
5540 \family default
5541
5542 \begin_inset Index idx
5543 status collapsed
5544
5545 \begin_layout Plain Layout
5546 Lists ! Enumerate
5547 \end_layout
5548
5549 \end_inset
5550
5551
5552 \begin_inset CommandInset label
5553 LatexCommand label
5554 name "sec:Enumerate"
5555
5556 \end_inset
5557
5558
5559 \end_layout
5560
5561 \begin_layout Standard
5562 The 
5563 \family sans
5564 Enumerate
5565 \family default
5566  environment is used to create numbered lists and outlines.
5567  It has these properties:
5568 \end_layout
5569
5570 \begin_layout Enumerate
5571 Each item has a numeral as its label.
5572 \end_layout
5573
5574 \begin_deeper
5575 \begin_layout Enumerate
5576 The label type depends on the nesting depth.
5577 \end_layout
5578
5579 \end_deeper
5580 \begin_layout Enumerate
5581 LyX automatically counts the items for you and updates the label as appropriate.
5582 \end_layout
5583
5584 \begin_layout Enumerate
5585 Each new 
5586 \family sans
5587 Enumerate
5588 \family default
5589  environment resets the counter to one.
5590 \end_layout
5591
5592 \begin_layout Enumerate
5593 Like the 
5594 \family sans
5595 Itemize
5596 \family default
5597  environment, the 
5598 \family sans
5599 Enumerate
5600 \family default
5601  environment:
5602 \end_layout
5603
5604 \begin_deeper
5605 \begin_layout Enumerate
5606 Offsets the items relative to the left margin.
5607  Items can have any length.
5608 \end_layout
5609
5610 \begin_layout Enumerate
5611 Reduces the space between items as the nesting depth increases.
5612 \end_layout
5613
5614 \begin_layout Enumerate
5615 Uses different types of labels depending on the nesting depth.
5616 \end_layout
5617
5618 \begin_layout Enumerate
5619 Allows up to a four-fold nesting.
5620 \end_layout
5621
5622 \end_deeper
5623 \begin_layout Standard
5624 Unlike the 
5625 \family sans
5626 Itemize
5627 \family default
5628  environment, 
5629 \family sans
5630 Enumerate
5631 \family default
5632  shows the different labels for each item in LyX.
5633  Here is how LyX labels the four different levels in an 
5634 \family sans
5635 Enumerate
5636 \family default
5637 :
5638 \end_layout
5639
5640 \begin_layout Enumerate
5641 The first level of an 
5642 \family sans
5643 Enumerate
5644 \family default
5645  uses Arabic numerals followed by a period.
5646 \end_layout
5647
5648 \begin_deeper
5649 \begin_layout Enumerate
5650 The second level uses lower case letters surrounded by parentheses.
5651 \end_layout
5652
5653 \begin_deeper
5654 \begin_layout Enumerate
5655 The third level uses lower-case Roman numerals followed by a period.
5656 \end_layout
5657
5658 \begin_deeper
5659 \begin_layout Enumerate
5660 The fourth level uses capital letters followed by a period.
5661 \end_layout
5662
5663 \begin_layout Enumerate
5664 Again, notice the decrease in the spacing between items as the nesting depth
5665  increases.
5666 \end_layout
5667
5668 \end_deeper
5669 \begin_layout Enumerate
5670 Back to the third level
5671 \end_layout
5672
5673 \end_deeper
5674 \begin_layout Enumerate
5675 Back to the second level.
5676 \end_layout
5677
5678 \end_deeper
5679 \begin_layout Enumerate
5680 Back to the outermost level.
5681 \end_layout
5682
5683 \begin_layout Standard
5684 You can customize the type of numbering used in the 
5685 \family sans
5686 Enumerate
5687 \family default
5688  environment, see section
5689 \begin_inset space ~
5690 \end_inset
5691
5692
5693 \begin_inset CommandInset ref
5694 LatexCommand ref
5695 reference "sub:Customized-Lists"
5696
5697 \end_inset
5698
5699 .
5700  Such customization only shows up in the printed version, not in LyX.
5701 \end_layout
5702
5703 \begin_layout Standard
5704 There is more to nesting 
5705 \family sans
5706 Enumerate
5707 \family default
5708  environments than we've stated here.
5709  You should read section
5710 \begin_inset space ~
5711 \end_inset
5712
5713
5714 \begin_inset CommandInset ref
5715 LatexCommand ref
5716 reference "sec:Nesting"
5717
5718 \end_inset
5719
5720  to learn more about nesting.
5721 \end_layout
5722
5723 \begin_layout Subsubsection
5724
5725 \family sans
5726 Description
5727 \family default
5728
5729 \begin_inset Index idx
5730 status collapsed
5731
5732 \begin_layout Plain Layout
5733 Lists ! Description
5734 \end_layout
5735
5736 \end_inset
5737
5738
5739 \end_layout
5740
5741 \begin_layout Standard
5742 Unlike the previous two environments, the 
5743 \family sans
5744 Description
5745 \family default
5746  list has no fixed label.
5747  Instead, LyX uses the first 
5748 \begin_inset Quotes eld
5749 \end_inset
5750
5751 word
5752 \begin_inset Quotes erd
5753 \end_inset
5754
5755  of the first line as the label.
5756  Here's an example:
5757 \end_layout
5758
5759 \begin_layout Description
5760 Example: This is an example of the 
5761 \family sans
5762 Description
5763 \family default
5764  environment.
5765 \end_layout
5766
5767 \begin_layout Standard
5768 LyX typesets the label in boldface and puts extra space between it and the
5769  rest of the line.
5770 \end_layout
5771
5772 \begin_layout Standard
5773 With the first 
5774 \begin_inset Quotes eld
5775 \end_inset
5776
5777 word
5778 \begin_inset Quotes erd
5779 \end_inset
5780
5781  it is meant that the first usage of the 
5782 \family sans
5783 Space
5784 \family default
5785  key ends the label if you are at the beginning of the first line of an
5786  item.
5787  If you need to use more than one word in a label use a 
5788 \family sans
5789 Protected Space
5790 \family default
5791 .
5792  (Use either 
5793 \begin_inset Info
5794 type  "shortcut"
5795 arg   "command-alternatives space-insert protected ; math-space"
5796 \end_inset
5797
5798  or the menu 
5799 \family sans
5800 Insert\SpecialChar \menuseparator
5801 Formatting\SpecialChar \menuseparator
5802 Protected
5803 \begin_inset space ~
5804 \end_inset
5805
5806 Space
5807 \family default
5808 ; see section
5809 \begin_inset space ~
5810 \end_inset
5811
5812
5813 \begin_inset CommandInset ref
5814 LatexCommand ref
5815 reference "sub:Protected-Space"
5816
5817 \end_inset
5818
5819  for more information.) Here is an example:
5820 \end_layout
5821
5822 \begin_layout Description
5823 Second
5824 \begin_inset space ~
5825 \end_inset
5826
5827 Example: This one shows how to use a 
5828 \family sans
5829 Protected
5830 \begin_inset space ~
5831 \end_inset
5832
5833 Space
5834 \family default
5835  in the label of a 
5836 \family sans
5837 Description
5838 \family default
5839  list item.
5840 \end_layout
5841
5842 \begin_layout Description
5843 Usage: You should use the 
5844 \family sans
5845 Description
5846 \family default
5847  environment for things like definitions and theorems.
5848  Use it when you need to make one word in particular stand out in the text
5849  that describes it.
5850  It's not a good idea to use a 
5851 \family sans
5852 Description
5853 \family default
5854  environment when you have an entire sentence that you want to describe.
5855  You're better off using 
5856 \family sans
5857 Itemize
5858 \family default
5859  or 
5860 \family sans
5861 Enumerate
5862 \family default
5863  and nesting several 
5864 \family sans
5865 Standard
5866 \family default
5867  paragraphs into them.
5868 \end_layout
5869
5870 \begin_layout Description
5871 Nesting: You can nest 
5872 \family sans
5873 Description
5874 \family default
5875  environments inside one another, nest them in other types of lists, and
5876  so on.
5877 \end_layout
5878
5879 \begin_layout Standard
5880 Notice that after the first line, LyX indents subsequent lines, offsetting
5881  them from the first line.
5882 \end_layout
5883
5884 \begin_layout Subsubsection
5885 Labeling
5886 \begin_inset Index idx
5887 status collapsed
5888
5889 \begin_layout Plain Layout
5890 Lists ! Labeling
5891 \end_layout
5892
5893 \end_inset
5894
5895
5896 \end_layout
5897
5898 \begin_layout Standard
5899 The 
5900 \family sans
5901 Labeling
5902 \family default
5903  environment is a LyX extension to LaTeX.
5904 \end_layout
5905
5906 \begin_layout Standard
5907 Like the 
5908 \family sans
5909 Description
5910 \family default
5911  list the 
5912 \family sans
5913 Labeling
5914 \family default
5915  list has user-defined labels for each list item but it provides some additional
5916  features.
5917  Here are its properties:
5918 \end_layout
5919
5920 \begin_layout Labeling
5921 \labelwidthstring 00.00.0000
5922 item
5923 \begin_inset space ~
5924 \end_inset
5925
5926 labels LyX uses the first 
5927 \begin_inset Quotes eld
5928 \end_inset
5929
5930 word
5931 \begin_inset Quotes erd
5932 \end_inset
5933
5934  of each line as the item label.
5935  The first 
5936 \family sans
5937 Space
5938 \family default
5939  after the beginning of the first line of an item marks the end of the label.
5940  If you need to use more than one word in an item label, use a protected
5941  space as described above.
5942 \end_layout
5943
5944 \begin_layout Labeling
5945 \labelwidthstring 00.00.0000
5946 margins As you can see, LyX uses different margins for the item label and
5947  the body of the item text.
5948  The body of the text has a larger left margin, which is equal to the default
5949  label width plus a little extra space.
5950  
5951 \end_layout
5952
5953 \begin_layout Labeling
5954 \labelwidthstring 00.00.0000
5955 label
5956 \begin_inset space ~
5957 \end_inset
5958
5959 width LyX uses the width of the label, or the default width, whatever is
5960  larger.
5961  If the label width is larger, the label 
5962 \begin_inset Quotes eld
5963 \end_inset
5964
5965 extends
5966 \begin_inset Quotes erd
5967 \end_inset
5968
5969  into the first line.
5970  In other words, the text of the first line isn't aligned with the left
5971  margin of the rest of the item text.
5972 \end_layout
5973
5974 \begin_layout Labeling
5975 \labelwidthstring 00.00.0000
5976 default
5977 \begin_inset space ~
5978 \end_inset
5979
5980 width You can set the default label width to ensure that the text of all
5981  items in a 
5982 \family sans
5983 Labeling
5984 \family default
5985  environment has the same left margin.
5986 \begin_inset Newline newline
5987 \end_inset
5988
5989 To change the default width, select all items in the list.
5990  Now open the 
5991 \family sans
5992 Edit\SpecialChar \menuseparator
5993 Paragraph
5994 \begin_inset space ~
5995 \end_inset
5996
5997 Settings
5998 \family default
5999  dialog (toolbar button 
6000 \begin_inset Info
6001 type  "icon"
6002 arg   "layout-paragraph"
6003 \end_inset
6004
6005 ).
6006  The text in the box 
6007 \family sans
6008 Longest
6009 \begin_inset space ~
6010 \end_inset
6011
6012 label
6013 \family default
6014  determines the default label width.
6015  You can use the text of your largest label here, but you can also use the
6016  letter 
6017 \begin_inset Quotes eld
6018 \end_inset
6019
6020 M
6021 \begin_inset Quotes erd
6022 \end_inset
6023
6024  multiple times instead.
6025  M is the widest character and is a standard unit of widths in LaTeX.
6026  By using 
6027 \begin_inset Quotes eld
6028 \end_inset
6029
6030 M
6031 \begin_inset Quotes erd
6032 \end_inset
6033
6034  as the unit of width you don't need to keep changing the contents of 
6035 \family sans
6036 Longest
6037 \begin_inset space ~
6038 \end_inset
6039
6040 label
6041 \family default
6042  every time you alter a label in a 
6043 \family sans
6044 List
6045 \family default
6046  environment.
6047 \begin_inset Newline newline
6048 \end_inset
6049
6050 The predefined default width is the length of 
6051 \begin_inset Quotes eld
6052 \end_inset
6053
6054 00.00.0000
6055 \begin_inset Quotes erd
6056 \end_inset
6057
6058  (equal to 6
6059 \begin_inset space ~
6060 \end_inset
6061
6062 M).
6063 \end_layout
6064
6065 \begin_layout Standard
6066 You should use the 
6067 \family sans
6068 Labeling
6069 \family default
6070  list the same way as the 
6071 \family sans
6072 Description
6073 \family default
6074  list: When you need one word to stand out from the text that describes
6075  it.
6076  The 
6077 \family sans
6078 Labeling
6079 \family default
6080  environment gives you another way to do this, using a different overall
6081  layout.
6082 \end_layout
6083
6084 \begin_layout Standard
6085 You can nest 
6086 \family sans
6087 Labeling
6088 \family default
6089  lists inside one another, nest them in other types of lists, and so on.
6090  They work just like the other list paragraph environments.
6091  Read section
6092 \begin_inset space ~
6093 \end_inset
6094
6095
6096 \begin_inset CommandInset ref
6097 LatexCommand ref
6098 reference "sec:Nesting"
6099
6100 \end_inset
6101
6102  to learn about nesting.
6103 \end_layout
6104
6105 \begin_layout Standard
6106 There is yet another feature of the 
6107 \family sans
6108 Labeling
6109 \family default
6110  list: As you can see in the examples, LyX left-justifies the item labels
6111  by default.
6112  You can use additional 
6113 \family sans
6114 HFills
6115 \family default
6116  to change how LyX justifies the item label.
6117  
6118 \family sans
6119 Hfills
6120 \family default
6121  are documented in section
6122 \begin_inset space ~
6123 \end_inset
6124
6125
6126 \begin_inset CommandInset ref
6127 LatexCommand ref
6128 reference "sub:Horizontal-Space"
6129
6130 \end_inset
6131
6132 .
6133  Here are some examples:
6134 \end_layout
6135
6136 \begin_layout Labeling
6137 \labelwidthstring 00.00.0000
6138 Left The default for 
6139 \family sans
6140 Labeling
6141 \family default
6142  item labels.
6143 \end_layout
6144
6145 \begin_layout Labeling
6146 \labelwidthstring 00.00.0000
6147 \begin_inset space \hfill{}
6148 \end_inset
6149
6150 Right One 
6151 \family sans
6152 HFill
6153 \family default
6154  at the beginning of the label right justifies it.
6155 \end_layout
6156
6157 \begin_layout Labeling
6158 \labelwidthstring 00.00.0000
6159 \begin_inset space \hfill{}
6160 \end_inset
6161
6162 Center
6163 \begin_inset space \hfill{}
6164 \end_inset
6165
6166  One 
6167 \family sans
6168 HFill
6169 \family default
6170  at the beginning of the label and one at the end centers it.
6171 \end_layout
6172
6173 \begin_layout Subsection
6174 Customized Lists
6175 \begin_inset CommandInset label
6176 LatexCommand label
6177 name "sub:Customized-Lists"
6178
6179 \end_inset
6180
6181
6182 \begin_inset Index idx
6183 status collapsed
6184
6185 \begin_layout Plain Layout
6186 Lists ! Customized
6187 \end_layout
6188
6189 \end_inset
6190
6191
6192 \end_layout
6193
6194 \begin_layout Standard
6195 The features described in this section require that the module 
6196 \family sans
6197 Customisable Lists (enumitem)
6198 \family default
6199  is loaded in the document settings.
6200  The module uses the LaTeX-package 
6201 \series bold
6202 enumitem
6203 \series default
6204
6205 \begin_inset Index idx
6206 status collapsed
6207
6208 \begin_layout Plain Layout
6209 LaTeX-packages ! enumitem
6210 \end_layout
6211
6212 \end_inset
6213
6214 .
6215 \end_layout
6216
6217 \begin_layout Subsubsection
6218 Custom Enumerate Lists
6219 \begin_inset Index idx
6220 status collapsed
6221
6222 \begin_layout Plain Layout
6223 Lists ! Enumerate ! Custom
6224 \end_layout
6225
6226 \end_inset
6227
6228
6229 \end_layout
6230
6231 \begin_layout Standard
6232 \noindent
6233 The default numbering of numbered lists can be changed by adding an optional
6234  argument (menu 
6235 \family sans
6236 Insert\SpecialChar \menuseparator
6237 Short Title
6238 \family default
6239 ) to the first item of each level in the list.
6240  There you add the command
6241 \end_layout
6242
6243 \begin_layout Standard
6244
6245 \series bold
6246 label=
6247 \backslash
6248 roman{enumi}
6249 \end_layout
6250
6251 \begin_layout Standard
6252 in TeX Code (shortcut 
6253 \begin_inset Info
6254 type  "shortcut"
6255 arg   "ert-insert"
6256 \end_inset
6257
6258 ).
6259 \begin_inset Foot
6260 status collapsed
6261
6262 \begin_layout Plain Layout
6263 For more about TeX Code, look at section
6264 \begin_inset space ~
6265 \end_inset
6266
6267
6268 \begin_inset CommandInset ref
6269 LatexCommand ref
6270 reference "sec:TeX-Code"
6271
6272 \end_inset
6273
6274 .
6275 \end_layout
6276
6277 \end_inset
6278
6279
6280 \emph on
6281  enumi
6282 \emph default
6283  is hereby the first level counter of the enumeration.
6284  The command 
6285 \series bold
6286
6287 \backslash
6288 roman
6289 \series default
6290  outputs the counter as a small Roman numeral.
6291  For capital Roman numerals replace 
6292 \series bold
6293
6294 \backslash
6295 roman
6296 \series default
6297  with 
6298 \series bold
6299
6300 \backslash
6301 Roman
6302 \series default
6303  in the command above.
6304  For Arabic numerals use 
6305 \series bold
6306
6307 \backslash
6308 arabic
6309 \series default
6310 .
6311  To 
6312 \begin_inset Quotes eld
6313 \end_inset
6314
6315 number
6316 \begin_inset Quotes erd
6317 \end_inset
6318
6319  items with capital or small Latin letters use 
6320 \series bold
6321
6322 \backslash
6323 Alph
6324 \series default
6325  or 
6326 \series bold
6327
6328 \backslash
6329 alph
6330 \series default
6331 , respectively.
6332 \end_layout
6333
6334 \begin_layout Standard
6335 \noindent
6336 \begin_inset Note Greyedout
6337 status open
6338
6339 \begin_layout Plain Layout
6340
6341 \series bold
6342 Note:
6343 \series default
6344  You can only number 26
6345 \begin_inset space ~
6346 \end_inset
6347
6348 items with Latin letters, because this numbering is limited to single letters.
6349 \end_layout
6350
6351 \end_inset
6352
6353
6354 \end_layout
6355
6356 \begin_layout Standard
6357 To change the numbering for the list sublevels, replace the 'i' in the command
6358  by the small Roman numeral of the level (enumi, enumii, enumiii, enumiv).
6359 \end_layout
6360
6361 \begin_layout Standard
6362 Here is a list with custom numbering:
6363 \end_layout
6364
6365 \begin_layout Enumerate
6366 \begin_inset Argument 1
6367 status open
6368
6369 \begin_layout Plain Layout
6370 \begin_inset ERT
6371 status open
6372
6373 \begin_layout Plain Layout
6374
6375 label=
6376 \backslash
6377 #
6378 \backslash
6379 Alph{enumi}
6380 \backslash
6381 #
6382 \end_layout
6383
6384 \end_inset
6385
6386
6387 \end_layout
6388
6389 \end_inset
6390
6391 Level 1
6392 \end_layout
6393
6394 \begin_deeper
6395 \begin_layout Enumerate
6396 \begin_inset Argument 1
6397 status open
6398
6399 \begin_layout Plain Layout
6400 \begin_inset ERT
6401 status open
6402
6403 \begin_layout Plain Layout
6404
6405 label=
6406 \backslash
6407 Alph{enumi}.
6408 \backslash
6409 arabic{enumii}
6410 \end_layout
6411
6412 \end_inset
6413
6414
6415 \end_layout
6416
6417 \end_inset
6418
6419 Level 2
6420 \end_layout
6421
6422 \begin_layout Enumerate
6423 Level 2
6424 \end_layout
6425
6426 \begin_deeper
6427 \begin_layout Enumerate
6428 \begin_inset Argument 1
6429 status open
6430
6431 \begin_layout Plain Layout
6432 \begin_inset ERT
6433 status open
6434
6435 \begin_layout Plain Layout
6436
6437 label=
6438 \backslash
6439 bf{
6440 \backslash
6441 arabic{enumiii}}
6442 \end_layout
6443
6444 \end_inset
6445
6446
6447 \end_layout
6448
6449 \end_inset
6450
6451 Level 3
6452 \end_layout
6453
6454 \begin_deeper
6455 \begin_layout Enumerate
6456 \begin_inset Argument 1
6457 status open
6458
6459 \begin_layout Plain Layout
6460 \begin_inset ERT
6461 status open
6462
6463 \begin_layout Plain Layout
6464
6465 label=
6466 \backslash
6467 emph{
6468 \backslash
6469 roman{enumiv})}
6470 \end_layout
6471
6472 \end_inset
6473
6474
6475 \end_layout
6476
6477 \end_inset
6478
6479 Level 4
6480 \end_layout
6481
6482 \end_deeper
6483 \end_deeper
6484 \end_deeper
6485 \begin_layout Standard
6486 For this list these commands were used:
6487 \end_layout
6488
6489 \begin_layout Standard
6490 \noindent
6491
6492 \series bold
6493 label=
6494 \backslash
6495 #
6496 \backslash
6497 Alph{enumi}
6498 \backslash
6499 #
6500 \begin_inset Newline newline
6501 \end_inset
6502
6503 label=
6504 \backslash
6505 Alph{enumi}.
6506 \backslash
6507 arabic{enumii}
6508 \begin_inset Newline newline
6509 \end_inset
6510
6511 label=
6512 \backslash
6513 bf{
6514 \backslash
6515 arabic{enumiii}}
6516 \begin_inset Newline newline
6517 \end_inset
6518
6519 label=
6520 \backslash
6521 emph{
6522 \backslash
6523 roman{enumiv})}
6524 \end_layout
6525
6526 \begin_layout Standard
6527 where the command 
6528 \series bold
6529
6530 \backslash
6531 emph{}
6532 \series default
6533  makes the label emphasized and 
6534 \series bold
6535
6536 \backslash
6537 bf{}
6538 \series default
6539  makes it bold.
6540 \end_layout
6541
6542 \begin_layout Standard
6543 \begin_inset Note Greyedout
6544 status open
6545
6546 \begin_layout Plain Layout
6547
6548 \series bold
6549 Note:
6550 \series default
6551  When you change the label of a list level, it will be used for all following
6552  lists until you change the definition.
6553 \end_layout
6554
6555 \end_inset
6556
6557
6558 \end_layout
6559
6560 \begin_layout Subsubsection
6561 Resumed Enumeration
6562 \begin_inset Index idx
6563 status collapsed
6564
6565 \begin_layout Plain Layout
6566 Lists ! Enumerate ! Resumed
6567 \end_layout
6568
6569 \end_inset
6570
6571
6572 \end_layout
6573
6574 \begin_layout Standard
6575 Enumerations can be resumed after intermediate paragraphs:
6576 \end_layout
6577
6578 \begin_layout Enumerate
6579 \begin_inset Argument 1
6580 status open
6581
6582 \begin_layout Plain Layout
6583 \begin_inset ERT
6584 status open
6585
6586 \begin_layout Plain Layout
6587
6588 label=
6589 \backslash
6590 arabic{enumi}.
6591 \end_layout
6592
6593 \end_inset
6594
6595
6596 \end_layout
6597
6598 \end_inset
6599
6600 first
6601 \begin_inset Note Note
6602 status open
6603
6604 \begin_layout Plain Layout
6605 goes back to default numbering
6606 \end_layout
6607
6608 \end_inset
6609
6610
6611 \end_layout
6612
6613 \begin_layout Enumerate
6614 second
6615 \end_layout
6616
6617 \begin_layout Standard
6618 regular text
6619 \end_layout
6620
6621 \begin_layout Enumerate-Resume
6622 resumed
6623 \end_layout
6624
6625 \begin_layout Standard
6626 To resume an enumeration, use the style 
6627 \family sans
6628 Enumerate-Resume
6629 \family default
6630 .
6631  Its numbering appears in blue within LyX to indicate that it is a resumed
6632  list and that the numbering will not be correct in LyX, but in the output.
6633 \end_layout
6634
6635 \begin_layout Standard
6636 \begin_inset Note Greyedout
6637 status open
6638
6639 \begin_layout Plain Layout
6640
6641 \series bold
6642 Note:
6643 \series default
6644  If there is no previous enumeration to resume, you will get a LaTeX error.
6645 \end_layout
6646
6647 \end_inset
6648
6649
6650 \end_layout
6651
6652 \begin_layout Standard
6653 Perhaps you might want to resume the list with a different number from the
6654  next one.
6655  Or you want to start a new enumeration with a defined number.
6656  This is possible by adding an optional argument to the first list item
6657  of a normal enumeration.
6658  There, insert the command
6659 \end_layout
6660
6661 \begin_layout Standard
6662
6663 \series bold
6664 start=number
6665 \end_layout
6666
6667 \begin_layout Standard
6668 where 
6669 \emph on
6670 number
6671 \emph default
6672  is the number with which you want to resume the list.
6673  An example:
6674 \end_layout
6675
6676 \begin_layout Enumerate
6677 first item
6678 \end_layout
6679
6680 \begin_layout Enumerate
6681 second item
6682 \end_layout
6683
6684 \begin_layout Standard
6685 Enumeration starting at a given value:
6686 \end_layout
6687
6688 \begin_layout Enumerate
6689 \begin_inset Argument 1
6690 status open
6691
6692 \begin_layout Plain Layout
6693 \begin_inset ERT
6694 status open
6695
6696 \begin_layout Plain Layout
6697
6698 start=4
6699 \end_layout
6700
6701 \end_inset
6702
6703
6704 \end_layout
6705
6706 \end_inset
6707
6708 This enumeration starts at 4
6709 \end_layout
6710
6711 \begin_layout Subsubsection
6712 List Spacing
6713 \begin_inset Index idx
6714 status collapsed
6715
6716 \begin_layout Plain Layout
6717 Lists ! Spacing
6718 \end_layout
6719
6720 \end_inset
6721
6722
6723 \end_layout
6724
6725 \begin_layout Standard
6726 In some cases you might want less or more vertical space between the items
6727  of a list.
6728  For example if the default space is too much in your opinion in this case:
6729 \end_layout
6730
6731 \begin_layout Itemize
6732 A bullet list
6733 \end_layout
6734
6735 \begin_layout Itemize
6736 with standard spacing 
6737 \end_layout
6738
6739 \begin_layout Standard
6740 You can decrease the space by adding an optional argument to the first item
6741  of the list.
6742  Add there the command 
6743 \series bold
6744 nolistsep
6745 \series default
6746  to get no additional list space like in this example:
6747 \end_layout
6748
6749 \begin_layout Itemize
6750 \begin_inset Argument 1
6751 status open
6752
6753 \begin_layout Plain Layout
6754 \begin_inset ERT
6755 status open
6756
6757 \begin_layout Plain Layout
6758
6759 nolistsep
6760 \end_layout
6761
6762 \end_inset
6763
6764
6765 \end_layout
6766
6767 \end_inset
6768
6769 A bullet list
6770 \end_layout
6771
6772 \begin_layout Itemize
6773 without additional
6774 \end_layout
6775
6776 \begin_layout Itemize
6777 vertical space
6778 \end_layout
6779
6780 \begin_layout Standard
6781 To add space you can use several other commands provided by the LaTeX-package
6782  
6783 \series bold
6784 enumitem
6785 \series default
6786
6787 \begin_inset Index idx
6788 status collapsed
6789
6790 \begin_layout Plain Layout
6791 LaTeX-packages ! enumitem
6792 \end_layout
6793
6794 \end_inset
6795
6796 .
6797  For more information see its documentation, 
6798 \begin_inset CommandInset citation
6799 LatexCommand cite
6800 key "enumitem"
6801
6802 \end_inset
6803
6804 .
6805 \end_layout
6806
6807 \begin_layout Standard
6808 There are also many commands available to change the horizontal spacing
6809  and indentation.
6810  Here is an example where the indentation was changed to that of the paragraphs
6811  in the document and the label separation was set to 2
6812 \begin_inset space \thinspace{}
6813 \end_inset
6814
6815 cm so that the number is in the page margin:
6816 \end_layout
6817
6818 \begin_layout Enumerate
6819 \begin_inset Argument 1
6820 status open
6821
6822 \begin_layout Plain Layout
6823 \begin_inset ERT
6824 status open
6825
6826 \begin_layout Plain Layout
6827
6828 labelindent=
6829 \backslash
6830 parindent, labelsep=2cm
6831 \end_layout
6832
6833 \end_inset
6834
6835
6836 \end_layout
6837
6838 \end_inset
6839
6840 An enumeration
6841 \end_layout
6842
6843 \begin_layout Enumerate
6844 with negative indentation
6845 \end_layout
6846
6847 \begin_layout Subsubsection
6848 Further Customization
6849 \begin_inset Index idx
6850 status collapsed
6851
6852 \begin_layout Plain Layout
6853 Lists ! Customization
6854 \end_layout
6855
6856 \end_inset
6857
6858
6859 \end_layout
6860
6861 \begin_layout Standard
6862 You can also change the style of description lists.
6863  The command
6864 \end_layout
6865
6866 \begin_layout Standard
6867
6868 \series bold
6869 font=definition
6870 \end_layout
6871
6872 \begin_layout Standard
6873 changes the description label font, the command
6874 \end_layout
6875
6876 \begin_layout Standard
6877
6878 \series bold
6879 style=definition
6880 \end_layout
6881
6882 \begin_layout Standard
6883 sets the list style.
6884 \end_layout
6885
6886 \begin_layout Standard
6887 An example where the command
6888 \end_layout
6889
6890 \begin_layout Standard
6891
6892 \series bold
6893 font=
6894 \backslash
6895 itshape, style=nextline
6896 \end_layout
6897
6898 \begin_layout Standard
6899 is used:
6900 \end_layout
6901
6902 \begin_layout Description
6903 Ionizing
6904 \begin_inset space ~
6905 \end_inset
6906
6907 radiation: 
6908 \begin_inset Argument 1
6909 status collapsed
6910
6911 \begin_layout Plain Layout
6912 \begin_inset ERT
6913 status open
6914
6915 \begin_layout Plain Layout
6916
6917 labelindent=0pt, labelsep=1cm, font=
6918 \backslash
6919 itshape, style=nextline
6920 \end_layout
6921
6922 \end_inset
6923
6924
6925 \end_layout
6926
6927 \end_inset
6928
6929 Ionizing radiation consists of particles or electromagnetic waves that are
6930  energetic enough to detach electrons from atoms or molecules, therefore
6931  ionizing them.
6932 \end_layout
6933
6934 \begin_layout Description
6935 Reference
6936 \begin_inset space ~
6937 \end_inset
6938
6939 counting: In computer science, reference counting is a technique of storing
6940  the number of references, pointers, or handles to a resource such as an
6941  object, block of memory, disk space or other resource.
6942 \end_layout
6943
6944 \begin_layout Standard
6945 There are many more commands and features provided by the LaTeX-package
6946  
6947 \series bold
6948 enumitem
6949 \series default
6950
6951 \begin_inset Index idx
6952 status collapsed
6953
6954 \begin_layout Plain Layout
6955 LaTeX-packages ! enumitem
6956 \end_layout
6957
6958 \end_inset
6959
6960 .
6961  For more information see its documentation 
6962 \begin_inset CommandInset citation
6963 LatexCommand cite
6964 key "enumitem"
6965
6966 \end_inset
6967
6968 .
6969 \end_layout
6970
6971 \begin_layout Subsection
6972 Letters
6973 \begin_inset Index idx
6974 status collapsed
6975
6976 \begin_layout Plain Layout
6977 Letters
6978 \end_layout
6979
6980 \end_inset
6981
6982
6983 \end_layout
6984
6985 \begin_layout Subsubsection
6986
6987 \family sans
6988 Address
6989 \family default
6990  and 
6991 \family sans
6992 Right
6993 \begin_inset space ~
6994 \end_inset
6995
6996 Address
6997 \family default
6998 : An Overview
6999 \end_layout
7000
7001 \begin_layout Standard
7002 Although LyX has document classes for letters, we've also created two paragraph
7003  environments called 
7004 \family sans
7005 Address
7006 \family default
7007  and 
7008 \family sans
7009 Right
7010 \begin_inset space ~
7011 \end_inset
7012
7013 Address
7014 \family default
7015 .
7016  To use the letter class, you need to use specific paragraph environments
7017  in a specific order, otherwise LaTeX gags on the document.
7018  In contrast, you can use the 
7019 \family sans
7020 Address
7021 \family default
7022  and 
7023 \family sans
7024 Right
7025 \begin_inset space ~
7026 \end_inset
7027
7028 Address
7029 \family default
7030  paragraph environments anywhere with no problem.
7031  You can even nest them inside other environments, though you can't nest
7032  anything in them.
7033 \end_layout
7034
7035 \begin_layout Standard
7036 Of course, you're not limited to using 
7037 \family sans
7038 Address
7039 \family default
7040  and 
7041 \family sans
7042 Right
7043 \begin_inset space ~
7044 \end_inset
7045
7046 Address
7047 \family default
7048  for letters only.
7049  
7050 \family sans
7051 Right
7052 \begin_inset space ~
7053 \end_inset
7054
7055 Address
7056 \family default
7057 , in particular, is useful for creating article titles like those used in
7058  some European academic papers.
7059 \end_layout
7060
7061 \begin_layout Subsubsection
7062 Usage
7063 \begin_inset CommandInset label
7064 LatexCommand label
7065 name "sec:Address-Usage"
7066
7067 \end_inset
7068
7069
7070 \end_layout
7071
7072 \begin_layout Standard
7073 The 
7074 \family sans
7075 Address
7076 \family default
7077  environment formats text in the style of an address, which is also used
7078  for the opening and signature in some countries.
7079  Similarly, the 
7080 \family sans
7081 Right
7082 \begin_inset space ~
7083 \end_inset
7084
7085 Address
7086 \family default
7087  environment formats text in the style of a right-justified address, which
7088  is used for the sender's address and today's date in some countries.
7089  Here's an example of each:
7090 \end_layout
7091
7092 \begin_layout Right Address
7093 Right Address
7094 \begin_inset Newline newline
7095 \end_inset
7096
7097 Who I am
7098 \begin_inset Newline newline
7099 \end_inset
7100
7101 Where I am
7102 \begin_inset Newline newline
7103 \end_inset
7104
7105 When is it? What is today?
7106 \end_layout
7107
7108 \begin_layout Standard
7109 That was 
7110 \family sans
7111 Right
7112 \begin_inset space ~
7113 \end_inset
7114
7115 Address
7116 \family default
7117 .
7118  Notice that the lines all have the same left margin, which LyX sets to
7119  fit the largest block of text on a single line.
7120  Here's an example of the 
7121 \family sans
7122 Address
7123 \family default
7124  environment:
7125 \end_layout
7126
7127 \begin_layout Address
7128 Who are you
7129 \begin_inset Newline newline
7130 \end_inset
7131
7132 Where do I send this
7133 \begin_inset Newline newline
7134 \end_inset
7135
7136 Your post office and country
7137 \end_layout
7138
7139 \begin_layout Standard
7140 As you can see, both 
7141 \family sans
7142 Address
7143 \family default
7144  and 
7145 \family sans
7146 Right
7147 \begin_inset space ~
7148 \end_inset
7149
7150 Address
7151 \family default
7152  add extra space between themselves and the next paragraph.
7153  If you enter 
7154 \family sans
7155 Return
7156 \family default
7157  in either of these environments, LyX resets the nesting depth and sets
7158  the environment to 
7159 \family sans
7160 Standard
7161 \family default
7162 .
7163  This makes sense, since 
7164 \family sans
7165 Return
7166 \family default
7167  is the 
7168 \family typewriter
7169 break-paragraph
7170 \family default
7171  function, and the individual lines of an address are not paragraphs.
7172  Thus, you have to use 
7173 \family typewriter
7174 break-line
7175 \family default
7176  (
7177 \begin_inset Info
7178 type  "shortcut"
7179 arg   "newline-insert newline"
7180 \end_inset
7181
7182  or 
7183 \family sans
7184 Insert\SpecialChar \menuseparator
7185 Formatting\SpecialChar \menuseparator
7186 Ragged
7187 \begin_inset space ~
7188 \end_inset
7189
7190 Line
7191 \begin_inset space ~
7192 \end_inset
7193
7194 Break
7195 \family default
7196 ) to start a new line in an 
7197 \family sans
7198 Address
7199 \family default
7200  or 
7201 \family sans
7202 Right
7203 \begin_inset space ~
7204 \end_inset
7205
7206 Address
7207 \family default
7208  environment.
7209 \end_layout
7210
7211 \begin_layout Subsection
7212 Academic Writing
7213 \end_layout
7214
7215 \begin_layout Standard
7216 Most academic writing begins with an abstract and ends with a bibliography
7217  or list of references.
7218  LyX contains paragraph environments for both of these.
7219 \end_layout
7220
7221 \begin_layout Subsubsection
7222
7223 \family sans
7224 Abstract
7225 \begin_inset Index idx
7226 status collapsed
7227
7228 \begin_layout Plain Layout
7229 Abstracts
7230 \end_layout
7231
7232 \end_inset
7233
7234
7235 \end_layout
7236
7237 \begin_layout Standard
7238 The 
7239 \family sans
7240 Abstract
7241 \family default
7242  environment is used for the abstract of an article.
7243  Technically, you could use this environment anywhere, but you really should
7244  only use it at the beginning of the document, after the title.
7245  Also, don't bother trying to nest 
7246 \family sans
7247 Abstract
7248 \family default
7249  in anything else or 
7250 \emph on
7251 vice versa
7252 \emph default
7253 .
7254  It will not work.
7255  The 
7256 \family sans
7257 Abstract
7258 \family default
7259  environment is only useful in the article and report document classes.
7260  The book document classes ignores the 
7261 \family sans
7262 Abstract
7263 \family default
7264  completely, and it's utterly silly to use 
7265 \family sans
7266 Abstract
7267 \family default
7268  in a letter document class.
7269 \end_layout
7270
7271 \begin_layout Standard
7272 The 
7273 \family sans
7274 Abstract
7275 \family default
7276  environment does several things for you.
7277  First, it puts the centered label 
7278 \begin_inset Quotes eld
7279 \end_inset
7280
7281 Abstract
7282 \begin_inset Quotes erd
7283 \end_inset
7284
7285  above the text.
7286  The label and the text of the abstract are separated by some extra vertical
7287  space.
7288  Second, it typesets everything in a smaller font, just as you'd expect.
7289  Lastly, it adds a bit of extra vertical space between the abstract and
7290  the subsequent text.
7291  Well, that's how it will appear on the LyX screen.
7292  The actual appearance in the output depends on the document class you are
7293  using.
7294 \end_layout
7295
7296 \begin_layout Standard
7297 Starting a new paragraph by entering 
7298 \family sans
7299 Return
7300 \family default
7301  does not reset the paragraph environment.
7302  The new paragraph will still be in the 
7303 \family sans
7304 Abstract
7305 \family default
7306  environment.
7307  So, you will have to change the paragraph environment yourself when you
7308  finish entering the abstract of your document.
7309 \end_layout
7310
7311 \begin_layout Standard
7312 \begin_inset Float figure
7313 wide false
7314 sideways false
7315 status open
7316
7317 \begin_layout Plain Layout
7318 \align center
7319 \begin_inset Graphics
7320         filename clipart/Abstract.pdf
7321
7322 \end_inset
7323
7324
7325 \end_layout
7326
7327 \begin_layout Plain Layout
7328 \begin_inset Caption Standard
7329
7330 \begin_layout Plain Layout
7331 \begin_inset CommandInset label
7332 LatexCommand label
7333 name "fig:Paragraph-in-the"
7334
7335 \end_inset
7336
7337 Paragraph in the 
7338 \family sans
7339 Abstract
7340 \family default
7341  environment
7342 \end_layout
7343
7344 \end_inset
7345
7346
7347 \end_layout
7348
7349 \end_inset
7350
7351
7352 \end_layout
7353
7354 \begin_layout Standard
7355 We would love to demonstrate the 
7356 \family sans
7357 Abstract
7358 \family default
7359  environment, but since this document is in the 
7360 \begin_inset Quotes eld
7361 \end_inset
7362
7363 book
7364 \begin_inset Quotes erd
7365 \end_inset
7366
7367  class, we can't do this.
7368  We inserted it therefore as figure
7369 \begin_inset space ~
7370 \end_inset
7371
7372
7373 \begin_inset CommandInset ref
7374 LatexCommand ref
7375 reference "fig:Paragraph-in-the"
7376
7377 \end_inset
7378
7379 .
7380  If you have never heard of an 
7381 \begin_inset Quotes eld
7382 \end_inset
7383
7384 abstract
7385 \begin_inset Quotes erd
7386 \end_inset
7387
7388  before, you can safely ignore this environment.
7389 \end_layout
7390
7391 \begin_layout Subsubsection
7392
7393 \family sans
7394 Bibliography
7395 \family default
7396
7397 \begin_inset Index idx
7398 status collapsed
7399
7400 \begin_layout Plain Layout
7401 Bibliography
7402 \end_layout
7403
7404 \end_inset
7405
7406
7407 \begin_inset CommandInset label
7408 LatexCommand label
7409 name "sub:Biblio_environment"
7410
7411 \end_inset
7412
7413
7414 \end_layout
7415
7416 \begin_layout Standard
7417 The 
7418 \family sans
7419 Bibliography
7420 \family default
7421  environment is used to list references.
7422  Technically, you could use this environment anywhere, but you really should
7423  only use it at the end of the document.
7424  Nesting 
7425 \family sans
7426 Bibliography
7427 \family default
7428  in anything else or 
7429 \emph on
7430 vice versa
7431 \emph default
7432  will not work.
7433 \end_layout
7434
7435 \begin_layout Standard
7436 When you first open a 
7437 \family sans
7438 Bibliography
7439 \family default
7440  environment, LyX adds a large vertical space, followed by the heading 
7441 \begin_inset Quotes eld
7442 \end_inset
7443
7444 Bibliography
7445 \begin_inset Quotes erd
7446 \end_inset
7447
7448  or 
7449 \begin_inset Quotes eld
7450 \end_inset
7451
7452 References,
7453 \begin_inset Quotes erd
7454 \end_inset
7455
7456  depending on the document class.
7457  The heading is in a large boldface font.
7458  Each paragraph of the 
7459 \family sans
7460 Bibliography
7461 \family default
7462  environment is a bibliography entry.
7463  Thus, entering 
7464 \family sans
7465 Return
7466 \family default
7467  does not reset the paragraph environment.
7468  Each new paragraph is still in the 
7469 \family sans
7470 Bibliography
7471 \family default
7472  environment.
7473 \end_layout
7474
7475 \begin_layout Standard
7476 There is another, usually better way to include references in your document
7477  by using a BibTeX database.
7478  For more information on that, and for a detailed description of LyX's bibliogra
7479 phy handling, have a look at section
7480 \begin_inset space ~
7481 \end_inset
7482
7483
7484 \begin_inset CommandInset ref
7485 LatexCommand ref
7486 reference "sec:Bibliography"
7487
7488 \end_inset
7489
7490 .
7491 \end_layout
7492
7493 \begin_layout Subsection
7494 LyX
7495 \family sans
7496 -Code
7497 \begin_inset Index idx
7498 status collapsed
7499
7500 \begin_layout Plain Layout
7501 Paragraph ! LyX code
7502 \end_layout
7503
7504 \end_inset
7505
7506
7507 \begin_inset CommandInset label
7508 LatexCommand label
7509 name "sub:LyX-Code"
7510
7511 \end_inset
7512
7513
7514 \end_layout
7515
7516 \begin_layout Standard
7517 The 
7518 \family sans
7519 LyX-Code
7520 \family default
7521  environment is another LyX extension.
7522  It type-sets text in a typewriter-style font.
7523  It also treats the 
7524 \family sans
7525 Space
7526 \family default
7527  key as a fixed whitespace;
7528 \begin_inset Foot
7529 status collapsed
7530
7531 \begin_layout Plain Layout
7532 In the 
7533 \family sans
7534 LyX-Code
7535 \family default
7536  environment, the 
7537 \family sans
7538 Space
7539 \family default
7540  key is treated as a 
7541 \family sans
7542 Protected
7543 \begin_inset space ~
7544 \end_inset
7545
7546 Blank
7547 \family default
7548  instead of an end-of-word marker.
7549 \end_layout
7550
7551 \end_inset
7552
7553  this is the only case in which you can type multiple whitespaces in LyX.
7554  If you need to insert blank lines, you will still need to use 
7555 \begin_inset Info
7556 type  "shortcut"
7557 arg   "newline-insert newline"
7558 \end_inset
7559
7560  (the 
7561 \family typewriter
7562 break-line
7563 \family default
7564  function).
7565  
7566 \family sans
7567 Return
7568 \family default
7569  breaks paragraphs.
7570  Note, however, that 
7571 \family sans
7572 Return
7573 \family default
7574  does not reset the paragraph environment.
7575  So, when you finish using the 
7576 \family sans
7577 LyX-Code
7578 \family default
7579  environment, you will need to change the paragraph environment yourself.
7580  Also, you can nest the 
7581 \family sans
7582 LyX-Code
7583 \family default
7584  environment inside of others.
7585 \end_layout
7586
7587 \begin_layout Standard
7588 There are a few quirks with this environment:
7589 \end_layout
7590
7591 \begin_layout Itemize
7592 You cannot use 
7593 \begin_inset Info
7594 type  "shortcut"
7595 arg   "newline-insert newline"
7596 \end_inset
7597
7598  at the beginning of a new paragraph (i.
7599 \begin_inset space \thinspace{}
7600 \end_inset
7601
7602 e.
7603 \begin_inset space \space{}
7604 \end_inset
7605
7606 you can't follow 
7607 \family sans
7608 Return
7609 \family default
7610  with a 
7611 \begin_inset Info
7612 type  "shortcut"
7613 arg   "newline-insert newline"
7614 \end_inset
7615
7616 ).
7617 \end_layout
7618
7619 \begin_layout Itemize
7620 You can't follow a 
7621 \begin_inset Info
7622 type  "shortcut"
7623 arg   "newline-insert newline"
7624 \end_inset
7625
7626  with a 
7627 \family sans
7628 Space
7629 \family default
7630 .
7631 \end_layout
7632
7633 \begin_deeper
7634 \begin_layout Itemize
7635 Use a 
7636 \family sans
7637 Return
7638 \family default
7639  to begin a new paragraph, then you can use a 
7640 \family sans
7641 Space
7642 \family default
7643 .
7644 \end_layout
7645
7646 \begin_layout Itemize
7647 Or: use 
7648 \begin_inset Info
7649 type  "shortcut"
7650 arg   "command-alternatives space-insert protected ; math-space"
7651 \end_inset
7652
7653  instead.
7654 \end_layout
7655
7656 \end_deeper
7657 \begin_layout Itemize
7658 You can't have an empty paragraph or an empty line.
7659  You must put at least one 
7660 \family sans
7661 Space
7662 \family default
7663  in any line you want blank.
7664  Otherwise, LaTeX generates errors.
7665 \end_layout
7666
7667 \begin_layout Itemize
7668 You cannot get the typewriter double quotes by typing 
7669 \family sans
7670 "
7671 \family default
7672  since that will insert 
7673 \emph on
7674 real
7675 \emph default
7676  quotes.
7677  You get the typewriter double quotes with 
7678 \begin_inset Info
7679 type  "shortcut"
7680 arg   "self-insert \""
7681 \end_inset
7682
7683 .
7684 \end_layout
7685
7686 \begin_layout Standard
7687 Here is an example:
7688 \end_layout
7689
7690 \begin_layout LyX-Code
7691 #include <stdio.h>
7692 \end_layout
7693
7694 \begin_layout LyX-Code
7695  
7696 \end_layout
7697
7698 \begin_layout LyX-Code
7699 int main(void)
7700 \end_layout
7701
7702 \begin_layout LyX-Code
7703 {
7704 \end_layout
7705
7706 \begin_layout LyX-Code
7707     printf("Hello World!
7708 \backslash
7709 n");
7710 \end_layout
7711
7712 \begin_layout LyX-Code
7713     return 0;
7714 \end_layout
7715
7716 \begin_layout LyX-Code
7717 }
7718 \end_layout
7719
7720 \begin_layout Standard
7721 This is just the standard 
7722 \begin_inset Quotes eld
7723 \end_inset
7724
7725 Hello world!
7726 \begin_inset Quotes erd
7727 \end_inset
7728
7729  program.
7730  
7731 \end_layout
7732
7733 \begin_layout Standard
7734
7735 \family sans
7736 LyX-Code
7737 \family default
7738  has one purpose: to typeset code, such as program source, shell scripts,
7739  rc-files, and so on.
7740  Use it only in those very special cases where you need to generate text
7741  as if you used a typewriter.
7742 \begin_inset Index idx
7743 status collapsed
7744
7745 \begin_layout Plain Layout
7746 Paragraph environments|)
7747 \end_layout
7748
7749 \end_inset
7750
7751  For longer parts of programming code, use the listings inset that is described
7752  in the chapter 
7753 \emph on
7754 Program Code Listings
7755 \emph default
7756  of the 
7757 \emph on
7758 Embedded
7759 \begin_inset space ~
7760 \end_inset
7761
7762 Objects
7763 \emph default
7764  manual.
7765 \end_layout
7766
7767 \begin_layout Section
7768 Nesting Environments
7769 \begin_inset Index idx
7770 status collapsed
7771
7772 \begin_layout Plain Layout
7773 Nesting ! Environments
7774 \end_layout
7775
7776 \end_inset
7777
7778
7779 \begin_inset CommandInset label
7780 LatexCommand label
7781 name "sec:Nesting"
7782
7783 \end_inset
7784
7785
7786 \end_layout
7787
7788 \begin_layout Subsection
7789 Introduction
7790 \end_layout
7791
7792 \begin_layout Standard
7793 LyX treats text as a unified block with a particular context and specific
7794  properties.
7795  This allows you to create blocks that inherit some of the properties of
7796  another block.
7797  For example you have three main points in an outline, but point #2 also
7798  has two subpoints.
7799  In other words, you have a list inside of another list, with the inner
7800  list 
7801 \begin_inset Quotes eld
7802 \end_inset
7803
7804 attached
7805 \begin_inset Quotes erd
7806 \end_inset
7807
7808  to item #2:
7809 \end_layout
7810
7811 \begin_layout Enumerate
7812 one
7813 \end_layout
7814
7815 \begin_layout Enumerate
7816 two
7817 \end_layout
7818
7819 \begin_deeper
7820 \begin_layout Enumerate
7821 sublist – item #1
7822 \end_layout
7823
7824 \begin_layout Enumerate
7825 sublist – item #2
7826 \end_layout
7827
7828 \end_deeper
7829 \begin_layout Enumerate
7830 three
7831 \end_layout
7832
7833 \begin_layout Standard
7834 You put a list inside a list by nesting one list inside the other.
7835  Nesting an environment is quite simple: Select 
7836 \family sans
7837 Edit\SpecialChar \menuseparator
7838 Increase
7839 \begin_inset space ~
7840 \end_inset
7841
7842 List
7843 \begin_inset space ~
7844 \end_inset
7845
7846 Depth
7847 \family default
7848  or 
7849 \family sans
7850 Decrease
7851 \begin_inset space ~
7852 \end_inset
7853
7854 List
7855 \begin_inset space ~
7856 \end_inset
7857
7858 Depth
7859 \family default
7860  to change the nesting depth (the status bar will tell you how far you are
7861  nested).
7862  Instead of the menu, you can also use the toolbar buttons 
7863 \begin_inset Info
7864 type  "icon"
7865 arg   "depth-increment"
7866 \end_inset
7867
7868  and 
7869 \begin_inset Info
7870 type  "icon"
7871 arg   "depth-decrement"
7872 \end_inset
7873
7874  or the key bindings 
7875 \family sans
7876 Tab
7877 \family default
7878  and 
7879 \family sans
7880 Shift+Tab
7881 \family default
7882  or 
7883 \begin_inset Info
7884 type  "shortcut"
7885 arg   "depth-increment"
7886 \end_inset
7887
7888  and 
7889 \begin_inset Info
7890 type  "shortcut"
7891 arg   "depth-decrement"
7892 \end_inset
7893
7894 .
7895  The change will work on the current selection, if you have made one (allowing
7896  you to change the nesting of several paragraphs at once), or the current
7897  paragraph.
7898 \end_layout
7899
7900 \begin_layout Standard
7901 Note that LyX only changes the nesting depth if it can.
7902  If it is invalid to do so, nothing happens if you try to change the depth.
7903  Additionally, if you change the depth of one paragraph, it affects the
7904  depth of every paragraph nested inside of it.
7905 \end_layout
7906
7907 \begin_layout Standard
7908 Nesting isn't limited to lists.
7909  In LyX, you can nest just about anything inside anything else, as you're
7910  about to find out.
7911  This is the real power of nesting paragraph environments.
7912 \end_layout
7913
7914 \begin_layout Subsection
7915 What You Can and Can't Nest
7916 \end_layout
7917
7918 \begin_layout Standard
7919 Before we fire a list of paragraph environments at you, we need to tell
7920  you a little bit more about how nesting works.
7921 \end_layout
7922
7923 \begin_layout Standard
7924 The question of nesting a paragraph environment is a bit more complicated
7925  than a simple yes or no.
7926  There are three types of paragraph environments:
7927 \end_layout
7928
7929 \begin_layout Itemize
7930 Completely unnestable
7931 \end_layout
7932
7933 \begin_layout Itemize
7934 Fully nestable, you can nest them inside things and you can also nest other
7935  things inside them.
7936 \end_layout
7937
7938 \begin_layout Itemize
7939 A third type, you can nest them into other environments, but you can't nest
7940  anything into them.
7941 \end_layout
7942
7943 \begin_layout Standard
7944 Here's a list of the three types of nesting behavior, and which paragraph
7945  environments have them:
7946 \end_layout
7947
7948 \begin_layout Description
7949 Unnestable Can't nest them.
7950  Can't nest into them.
7951 \end_layout
7952
7953 \begin_deeper
7954 \begin_layout Itemize
7955
7956 \family sans
7957 Bibliography
7958 \end_layout
7959
7960 \begin_layout Itemize
7961
7962 \family sans
7963 Abstract
7964 \end_layout
7965
7966 \begin_layout Itemize
7967
7968 \family sans
7969 Title
7970 \end_layout
7971
7972 \begin_layout Itemize
7973
7974 \family sans
7975 Author
7976 \end_layout
7977
7978 \begin_layout Itemize
7979
7980 \family sans
7981 Date
7982 \end_layout
7983
7984 \end_deeper
7985 \begin_layout Description
7986 Fully
7987 \begin_inset space ~
7988 \end_inset
7989
7990 Nestable You can nest them.
7991  You can nest other things into them.
7992 \end_layout
7993
7994 \begin_deeper
7995 \begin_layout Itemize
7996
7997 \family sans
7998 Verse
7999 \end_layout
8000
8001 \begin_layout Itemize
8002
8003 \family sans
8004 Quote
8005 \end_layout
8006
8007 \begin_layout Itemize
8008
8009 \family sans
8010 Quotation
8011 \end_layout
8012
8013 \begin_layout Itemize
8014
8015 \family sans
8016 Itemize
8017 \end_layout
8018
8019 \begin_layout Itemize
8020
8021 \family sans
8022 Enumerate
8023 \end_layout
8024
8025 \begin_layout Itemize
8026
8027 \family sans
8028 Description
8029 \end_layout
8030
8031 \begin_layout Itemize
8032
8033 \family sans
8034 List
8035 \end_layout
8036
8037 \begin_layout Itemize
8038
8039 \family sans
8040 LyX-Code
8041 \end_layout
8042
8043 \end_deeper
8044 \begin_layout Description
8045 Nestable-Inside You can nest them inside other things.
8046  You can't nest anything into them.
8047 \end_layout
8048
8049 \begin_deeper
8050 \begin_layout Itemize
8051
8052 \family sans
8053 Standard
8054 \end_layout
8055
8056 \begin_layout Itemize
8057
8058 \family sans
8059 Part
8060 \end_layout
8061
8062 \begin_layout Itemize
8063
8064 \family sans
8065 Chapter
8066 \end_layout
8067
8068 \begin_layout Itemize
8069
8070 \family sans
8071 Section
8072 \end_layout
8073
8074 \begin_layout Itemize
8075
8076 \family sans
8077 Subsection
8078 \end_layout
8079
8080 \begin_layout Itemize
8081
8082 \family sans
8083 Subsubsection
8084 \end_layout
8085
8086 \begin_layout Itemize
8087
8088 \family sans
8089 Paragraph
8090 \end_layout
8091
8092 \begin_layout Itemize
8093
8094 \family sans
8095 Subparagraph
8096 \end_layout
8097
8098 \begin_layout Itemize
8099
8100 \family sans
8101 Part*
8102 \end_layout
8103
8104 \begin_layout Itemize
8105
8106 \family sans
8107 Chapter*
8108 \end_layout
8109
8110 \begin_layout Itemize
8111
8112 \family sans
8113 Section*
8114 \end_layout
8115
8116 \begin_layout Itemize
8117
8118 \family sans
8119 Subsection*
8120 \end_layout
8121
8122 \begin_layout Itemize
8123
8124 \family sans
8125 Subsubsection*
8126 \end_layout
8127
8128 \begin_layout Itemize
8129
8130 \family sans
8131 Right
8132 \begin_inset space ~
8133 \end_inset
8134
8135 Address
8136 \end_layout
8137
8138 \begin_layout Itemize
8139
8140 \family sans
8141 Address
8142 \end_layout
8143
8144 \end_deeper
8145 \begin_layout Standard
8146 \begin_inset Note Greyedout
8147 status open
8148
8149 \begin_layout Plain Layout
8150
8151 \series bold
8152 Note:
8153 \series default
8154  Although it is possible, for example, to nest numbered section headings
8155  like 
8156 \family sans
8157 Chapter
8158 \family default
8159
8160 \family sans
8161 Section
8162 \family default
8163 , etc.
8164 \begin_inset space ~
8165 \end_inset
8166
8167 into lists, it is highly recommended not to do this because the aim is to
8168  create well-structured documents following typesetting guidelines whereas
8169  nested section headings violate this.
8170 \end_layout
8171
8172 \end_inset
8173
8174
8175 \end_layout
8176
8177 \begin_layout Subsection
8178 Nesting Other Things: Tables, Math, Floats, etc.
8179 \begin_inset Index idx
8180 status collapsed
8181
8182 \begin_layout Plain Layout
8183 Nesting ! Tables etc.
8184 \end_layout
8185
8186 \end_inset
8187
8188
8189 \end_layout
8190
8191 \begin_layout Standard
8192 There are several things that aren't paragraph environments, but which are
8193  affected by nesting anyhow.
8194  They are:
8195 \end_layout
8196
8197 \begin_layout Itemize
8198 equations
8199 \end_layout
8200
8201 \begin_layout Itemize
8202 tables
8203 \end_layout
8204
8205 \begin_layout Itemize
8206 figures
8207 \end_layout
8208
8209 \begin_layout Standard
8210 (
8211 \begin_inset Note Greyedout
8212 status open
8213
8214 \begin_layout Plain Layout
8215
8216 \series bold
8217 Note:
8218 \series default
8219  Figures and tables in 
8220 \family sans
8221 Floats
8222 \family default
8223  are not affected by this.
8224 \end_layout
8225
8226 \end_inset
8227
8228  Have a look at section
8229 \begin_inset space ~
8230 \end_inset
8231
8232
8233 \begin_inset CommandInset ref
8234 LatexCommand ref
8235 reference "sec:Floats"
8236
8237 \end_inset
8238
8239  for more information about 
8240 \family sans
8241 Floats
8242 \family default
8243 .)
8244 \end_layout
8245
8246 \begin_layout Standard
8247 LyX can treat these three objects as either a word or as a paragraph.
8248  If a figure, table, or an equation is inline, it goes wherever the paragraph
8249  it is in goes.
8250 \end_layout
8251
8252 \begin_layout Standard
8253 On the other hand, if you have an equation, figure or table in a 
8254 \begin_inset Quotes eld
8255 \end_inset
8256
8257 paragraph
8258 \begin_inset Quotes erd
8259 \end_inset
8260
8261  of its own, it behaves just like a 
8262 \begin_inset Quotes eld
8263 \end_inset
8264
8265 nestable-inside
8266 \begin_inset Quotes erd
8267 \end_inset
8268
8269  paragraph environment.
8270  You can nest it into any environment, but you obviously can't nest anything
8271  into it.
8272 \end_layout
8273
8274 \begin_layout Standard
8275 Here's an example with a table:
8276 \end_layout
8277
8278 \begin_layout Enumerate
8279 Item One
8280 \end_layout
8281
8282 \begin_deeper
8283 \begin_layout Enumerate
8284 This is (a) and it's nested.
8285 \end_layout
8286
8287 \begin_deeper
8288 \begin_layout Standard
8289 \begin_inset VSpace 0.3cm
8290 \end_inset
8291
8292
8293 \end_layout
8294
8295 \begin_layout Standard
8296 \align center
8297 \begin_inset Tabular
8298 <lyxtabular version="3" rows="2" columns="2">
8299 <features rotate="0" tabularvalignment="middle">
8300 <column alignment="center" valignment="top" width="0pt">
8301 <column alignment="center" valignment="top" width="0pt">
8302 <row>
8303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8304 \begin_inset Text
8305
8306 \begin_layout Plain Layout
8307
8308 \family roman
8309 \series medium
8310 \shape up
8311 \size normal
8312 \emph off
8313 \bar no
8314 \noun off
8315 \color none
8316 a
8317 \end_layout
8318
8319 \end_inset
8320 </cell>
8321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8322 \begin_inset Text
8323
8324 \begin_layout Plain Layout
8325
8326 \family roman
8327 \series medium
8328 \shape up
8329 \size normal
8330 \emph off
8331 \bar no
8332 \noun off
8333 \color none
8334 b
8335 \end_layout
8336
8337 \end_inset
8338 </cell>
8339 </row>
8340 <row>
8341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8342 \begin_inset Text
8343
8344 \begin_layout Plain Layout
8345
8346 \family roman
8347 \series medium
8348 \shape up
8349 \size normal
8350 \emph off
8351 \bar no
8352 \noun off
8353 \color none
8354 c
8355 \end_layout
8356
8357 \end_inset
8358 </cell>
8359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8360 \begin_inset Text
8361
8362 \begin_layout Plain Layout
8363
8364 \family roman
8365 \series medium
8366 \shape up
8367 \size normal
8368 \emph off
8369 \bar no
8370 \noun off
8371 \color none
8372 d
8373 \end_layout
8374
8375 \end_inset
8376 </cell>
8377 </row>
8378 </lyxtabular>
8379
8380 \end_inset
8381
8382
8383 \end_layout
8384
8385 \begin_layout Standard
8386 \begin_inset VSpace 0.3cm
8387 \end_inset
8388
8389
8390 \end_layout
8391
8392 \end_deeper
8393 \begin_layout Enumerate
8394 This is (b).
8395  The table is actually nested inside (a).
8396 \end_layout
8397
8398 \end_deeper
8399 \begin_layout Enumerate
8400 Back out again.
8401 \end_layout
8402
8403 \begin_layout Standard
8404 If we hadn't nested the table at all, the list would look like this:
8405 \end_layout
8406
8407 \begin_layout Enumerate
8408 Item One
8409 \end_layout
8410
8411 \begin_deeper
8412 \begin_layout Enumerate
8413 This is (a) and it's nested.
8414 \end_layout
8415
8416 \end_deeper
8417 \begin_layout Standard
8418 \begin_inset VSpace 0.3cm
8419 \end_inset
8420
8421
8422 \end_layout
8423
8424 \begin_layout Standard
8425 \align center
8426 \begin_inset Tabular
8427 <lyxtabular version="3" rows="2" columns="2">
8428 <features rotate="0" tabularvalignment="middle">
8429 <column alignment="center" valignment="top" width="0pt">
8430 <column alignment="center" valignment="top" width="0pt">
8431 <row>
8432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8433 \begin_inset Text
8434
8435 \begin_layout Plain Layout
8436
8437 \family roman
8438 \series medium
8439 \shape up
8440 \size normal
8441 \emph off
8442 \bar no
8443 \noun off
8444 \color none
8445 a
8446 \end_layout
8447
8448 \end_inset
8449 </cell>
8450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8451 \begin_inset Text
8452
8453 \begin_layout Plain Layout
8454
8455 \family roman
8456 \series medium
8457 \shape up
8458 \size normal
8459 \emph off
8460 \bar no
8461 \noun off
8462 \color none
8463 b
8464 \end_layout
8465
8466 \end_inset
8467 </cell>
8468 </row>
8469 <row>
8470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8471 \begin_inset Text
8472
8473 \begin_layout Plain Layout
8474
8475 \family roman
8476 \series medium
8477 \shape up
8478 \size normal
8479 \emph off
8480 \bar no
8481 \noun off
8482 \color none
8483 c
8484 \end_layout
8485
8486 \end_inset
8487 </cell>
8488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8489 \begin_inset Text
8490
8491 \begin_layout Plain Layout
8492
8493 \family roman
8494 \series medium
8495 \shape up
8496 \size normal
8497 \emph off
8498 \bar no
8499 \noun off
8500 \color none
8501 d
8502 \end_layout
8503
8504 \end_inset
8505 </cell>
8506 </row>
8507 </lyxtabular>
8508
8509 \end_inset
8510
8511
8512 \end_layout
8513
8514 \begin_layout Standard
8515 \begin_inset VSpace 0.3cm
8516 \end_inset
8517
8518
8519 \end_layout
8520
8521 \begin_layout Enumerate
8522 This is (b).
8523  The table is 
8524 \emph on
8525 not
8526 \emph default
8527  nested inside (a).
8528  In fact, it's not nested at all.
8529 \end_layout
8530
8531 \begin_layout Enumerate
8532 Back out again.
8533 \end_layout
8534
8535 \begin_layout Standard
8536 Notice how item (b) is not only no longer nested, but is also the first
8537  item of a new list!
8538 \end_layout
8539
8540 \begin_layout Standard
8541 There's another trap you can fall into: Nesting the table, but not going
8542  deep enough.
8543  LyX then turns anything after the table into a new sublist.
8544 \end_layout
8545
8546 \begin_layout Enumerate
8547 Item One
8548 \end_layout
8549
8550 \begin_deeper
8551 \begin_layout Enumerate
8552 This is (a) and it's nested.
8553 \end_layout
8554
8555 \begin_layout Standard
8556 \begin_inset VSpace 0.3cm
8557 \end_inset
8558
8559
8560 \end_layout
8561
8562 \begin_layout Standard
8563 \align center
8564 \begin_inset Tabular
8565 <lyxtabular version="3" rows="2" columns="2">
8566 <features rotate="0" tabularvalignment="middle">
8567 <column alignment="center" valignment="top" width="0pt">
8568 <column alignment="center" valignment="top" width="0pt">
8569 <row>
8570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8571 \begin_inset Text
8572
8573 \begin_layout Plain Layout
8574
8575 \family roman
8576 \series medium
8577 \shape up
8578 \size normal
8579 \emph off
8580 \bar no
8581 \noun off
8582 \color none
8583 a
8584 \end_layout
8585
8586 \end_inset
8587 </cell>
8588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8589 \begin_inset Text
8590
8591 \begin_layout Plain Layout
8592
8593 \family roman
8594 \series medium
8595 \shape up
8596 \size normal
8597 \emph off
8598 \bar no
8599 \noun off
8600 \color none
8601 b
8602 \end_layout
8603
8604 \end_inset
8605 </cell>
8606 </row>
8607 <row>
8608 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8609 \begin_inset Text
8610
8611 \begin_layout Plain Layout
8612
8613 \family roman
8614 \series medium
8615 \shape up
8616 \size normal
8617 \emph off
8618 \bar no
8619 \noun off
8620 \color none
8621 c
8622 \end_layout
8623
8624 \end_inset
8625 </cell>
8626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8627 \begin_inset Text
8628
8629 \begin_layout Plain Layout
8630
8631 \family roman
8632 \series medium
8633 \shape up
8634 \size normal
8635 \emph off
8636 \bar no
8637 \noun off
8638 \color none
8639 d
8640 \end_layout
8641
8642 \end_inset
8643 </cell>
8644 </row>
8645 </lyxtabular>
8646
8647 \end_inset
8648
8649
8650 \end_layout
8651
8652 \end_deeper
8653 \begin_layout Standard
8654 \begin_inset VSpace 0.3cm
8655 \end_inset
8656
8657
8658 \end_layout
8659
8660 \begin_layout Enumerate
8661 This is (b).
8662  The table is actually nested inside Item One, but 
8663 \emph on
8664 not
8665 \emph default
8666  inside (a).
8667 \end_layout
8668
8669 \begin_layout Enumerate
8670 Back out again.
8671 \end_layout
8672
8673 \begin_layout Standard
8674 As you can see, item (b) turned into the first item of a new list, but a
8675  new list 
8676 \emph on
8677 inside
8678 \emph default
8679  item 1.
8680  The same thing would have happened to a figure or an equation.
8681  So, if you nest tables, figures or equations, make sure you go to the right
8682  depth!
8683 \end_layout
8684
8685 \begin_layout Subsection
8686 Usage and General Features
8687 \end_layout
8688
8689 \begin_layout Standard
8690 Speaking of levels, LyX can perform up to a six-fold nesting.
8691  In other words, 
8692 \begin_inset Quotes eld
8693 \end_inset
8694
8695 level #6
8696 \begin_inset Quotes erd
8697 \end_inset
8698
8699  is the innermost possible depth.
8700  Here's an example to illustrate what we mean:
8701 \end_layout
8702
8703 \begin_layout Enumerate
8704 level #1 – outermost
8705 \end_layout
8706
8707 \begin_deeper
8708 \begin_layout Enumerate
8709 level #2
8710 \end_layout
8711
8712 \begin_deeper
8713 \begin_layout Enumerate
8714 level #3
8715 \end_layout
8716
8717 \begin_deeper
8718 \begin_layout Enumerate
8719 level #4
8720 \end_layout
8721
8722 \begin_deeper
8723 \begin_layout Itemize
8724 level #5
8725 \end_layout
8726
8727 \begin_deeper
8728 \begin_layout Itemize
8729 level #6
8730 \end_layout
8731
8732 \end_deeper
8733 \end_deeper
8734 \end_deeper
8735 \end_deeper
8736 \end_deeper
8737 \begin_layout Standard
8738 There are two exceptions to the six-fold nesting limit, and you can see
8739  both of them in the example.
8740  Unlike the other fully-nestable environments, you can only perform a four-fold
8741  nesting with the 
8742 \family sans
8743 Enumerate
8744 \family default
8745  and 
8746 \family sans
8747 Itemize
8748 \family default
8749  environments.
8750  For example, if we tried to nest another 
8751 \family sans
8752 Enumerate
8753 \family default
8754  list inside item 
8755 \begin_inset Quotes eld
8756 \end_inset
8757
8758 A.
8759 \begin_inset Quotes erd
8760 \end_inset
8761
8762 , we would get errors.
8763 \end_layout
8764
8765 \begin_layout Subsection
8766 Some Examples
8767 \begin_inset Index idx
8768 status collapsed
8769
8770 \begin_layout Plain Layout
8771 Nesting ! Examples
8772 \end_layout
8773
8774 \end_inset
8775
8776
8777 \end_layout
8778
8779 \begin_layout Standard
8780 The best way to explain just what you can do with nesting is by illustration.
8781  We have several examples of nested environments.
8782  In them, we explain how we created the example, so that you can reproduce
8783  them.
8784 \end_layout
8785
8786 \begin_layout Subsubsection
8787 Example 1: The Six-fold Way and Mixed Nesting
8788 \end_layout
8789
8790 \begin_layout Labeling
8791 \labelwidthstring MMM
8792 #1-a This is the outermost level.
8793  It's a 
8794 \family sans
8795 List
8796 \family default
8797  environment.
8798 \end_layout
8799
8800 \begin_deeper
8801 \begin_layout Labeling
8802 \labelwidthstring MMM
8803 #2-a This is level #2.
8804  We created it by using 
8805 \begin_inset Info
8806 type  "shortcut"
8807 arg   "break-paragraph inverse"
8808 \end_inset
8809
8810  followed by 
8811 \begin_inset Info
8812 type  "shortcut"
8813 arg   "depth-increment"
8814 \end_inset
8815
8816 .
8817 \end_layout
8818
8819 \begin_deeper
8820 \begin_layout Labeling
8821 \labelwidthstring MMM
8822 #3-a This is level #3.
8823  This time, we just enter 
8824 \family sans
8825 Return
8826 \family default
8827 , then used 
8828 \begin_inset Info
8829 type  "shortcut"
8830 arg   "depth-increment"
8831 \end_inset
8832
8833  twice in a row.
8834  We could have also created it the same way as we did the previous level,
8835  by entering 
8836 \begin_inset Info
8837 type  "shortcut"
8838 arg   "break-paragraph inverse"
8839 \end_inset
8840
8841  followed by 
8842 \begin_inset Info
8843 type  "shortcut"
8844 arg   "depth-increment"
8845 \end_inset
8846
8847 .
8848 \end_layout
8849
8850 \begin_deeper
8851 \begin_layout Standard
8852 This is actually a 
8853 \family sans
8854 Standard
8855 \family default
8856  environment, nested inside of 
8857 \begin_inset Quotes eld
8858 \end_inset
8859
8860 #3-a
8861 \begin_inset Quotes erd
8862 \end_inset
8863
8864 .
8865  So, it's at level #4.
8866  We did this by entering 
8867 \begin_inset Info
8868 type  "shortcut"
8869 arg   "break-paragraph inverse"
8870 \end_inset
8871
8872 , then 
8873 \begin_inset Info
8874 type  "shortcut"
8875 arg   "depth-increment"
8876 \end_inset
8877
8878 , then changing the paragraph environment to 
8879 \family sans
8880 Standard
8881 \family default
8882 .
8883  Do this to create list items with more than one paragraph — it also works
8884  for the 
8885 \family sans
8886 Description
8887 \family default
8888
8889 \family sans
8890 Enumerate
8891 \family default
8892 , and 
8893 \family sans
8894 Itemize
8895 \family default
8896  environments!
8897 \end_layout
8898
8899 \begin_layout Standard
8900 Here's another 
8901 \family sans
8902 Standard
8903 \family default
8904  paragraph, also at level #4, made with just a 
8905 \begin_inset Info
8906 type  "shortcut"
8907 arg   "break-paragraph inverse"
8908 \end_inset
8909
8910 .
8911 \end_layout
8912
8913 \begin_layout Labeling
8914 \labelwidthstring MMM
8915 #4-a This is level #4.
8916  We enter 
8917 \begin_inset Info
8918 type  "shortcut"
8919 arg   "break-paragraph inverse"
8920 \end_inset
8921
8922  and changed the paragraph environment back to 
8923 \family sans
8924 List
8925 \family default
8926 .
8927  Remember — we can't nest anything inside a 
8928 \family sans
8929 Standard
8930 \family default
8931  environment, which is why we're still at level #4.
8932  However, we 
8933 \emph on
8934 can
8935 \emph default
8936  keep nesting things inside 
8937 \begin_inset Quotes eld
8938 \end_inset
8939
8940 #3-a
8941 \begin_inset Quotes erd
8942 \end_inset
8943
8944 .
8945 \end_layout
8946
8947 \begin_deeper
8948 \begin_layout Labeling
8949 \labelwidthstring MMM
8950 #5-a This is level #5\SpecialChar \ldots{}
8951
8952 \end_layout
8953
8954 \begin_deeper
8955 \begin_layout Labeling
8956 \labelwidthstring MMM
8957 #6-a \SpecialChar \ldots{}
8958 and this is level #6.
8959  By now, you should know how we made these two.
8960 \end_layout
8961
8962 \end_deeper
8963 \begin_layout Labeling
8964 \labelwidthstring MMM
8965 #5-b Back to level #5.
8966  Just enter 
8967 \begin_inset Info
8968 type  "shortcut"
8969 arg   "break-paragraph inverse"
8970 \end_inset
8971
8972  followed by a 
8973 \begin_inset Info
8974 type  "shortcut"
8975 arg   "depth-decrement"
8976 \end_inset
8977
8978 .
8979 \end_layout
8980
8981 \end_deeper
8982 \begin_layout Labeling
8983 \labelwidthstring MMM
8984 #4-b After another 
8985 \begin_inset Info
8986 type  "shortcut"
8987 arg   "break-paragraph inverse"
8988 \end_inset
8989
8990  followed by a 
8991 \begin_inset Info
8992 type  "shortcut"
8993 arg   "depth-decrement"
8994 \end_inset
8995
8996 , we're back at level #4.
8997 \end_layout
8998
8999 \end_deeper
9000 \begin_layout Labeling
9001 \labelwidthstring MMM
9002 #3-b Back to level #3.
9003  By now it should be obvious how we did this.
9004 \end_layout
9005
9006 \end_deeper
9007 \begin_layout Labeling
9008 \labelwidthstring MMM
9009 #2-b Back to level #2.
9010  
9011 \end_layout
9012
9013 \end_deeper
9014 \begin_layout Labeling
9015 \labelwidthstring MMM
9016 #1-b And last, back to the outermost level, #1.
9017  After this sentence, we will enter 
9018 \family sans
9019 Return
9020 \family default
9021  and change the paragraph environment back to 
9022 \family sans
9023 Standard
9024 \family default
9025  to end the list.
9026 \end_layout
9027
9028 \begin_layout Standard
9029 We could have also used the 
9030 \family sans
9031 Description
9032 \family default
9033
9034 \family sans
9035 Quote
9036 \family default
9037
9038 \family sans
9039 Quotation
9040 \family default
9041 , or even the 
9042 \family sans
9043 Verse
9044 \family default
9045  environment in place of the 
9046 \family sans
9047 List
9048 \family default
9049  environment.
9050  The example would have worked exactly the same.
9051 \end_layout
9052
9053 \begin_layout Subsubsection
9054 Example 2: Inheritance
9055 \end_layout
9056
9057 \begin_layout LyX-Code
9058 This is the LyX-Code environment, at level #1, the outermost
9059 \end_layout
9060
9061 \begin_layout LyX-Code
9062 level.
9063   Now we will enter 
9064 \family sans
9065 Return
9066 \family default
9067 , then 
9068 \begin_inset Info
9069 type  "shortcut"
9070 arg   "depth-increment"
9071 \end_inset
9072
9073 , after
9074 \begin_inset Newline newline
9075 \end_inset
9076
9077 which, we will change to the 
9078 \family sans
9079 Enumerate
9080 \family default
9081  environment.
9082 \end_layout
9083
9084 \begin_deeper
9085 \begin_layout Enumerate
9086 This is the 
9087 \family sans
9088 Enumerate
9089 \family default
9090  environment, at level #2.
9091 \end_layout
9092
9093 \begin_layout Enumerate
9094 Notice how the nested 
9095 \family sans
9096 Enumerate
9097 \family default
9098  not only inherits its margins from its parent environment (
9099 \family sans
9100 LyX-Code
9101 \family default
9102 ), but also inherits its font and spacing!
9103 \end_layout
9104
9105 \end_deeper
9106 \begin_layout Standard
9107 We ended this example by entering 
9108 \family sans
9109 Return
9110 \family default
9111 .
9112  After that, we needed to reset the paragraph environment to 
9113 \family sans
9114 Standard
9115 \family default
9116  and reset the nesting depth by using 
9117 \begin_inset Info
9118 type  "shortcut"
9119 arg   "depth-decrement"
9120 \end_inset
9121
9122  once.
9123 \end_layout
9124
9125 \begin_layout Subsubsection
9126 Example 3: Labels, Levels, and the 
9127 \family sans
9128 Enumerate
9129 \family default
9130  and 
9131 \family sans
9132 Itemize
9133 \family default
9134  Environments
9135 \begin_inset Argument 1
9136 status collapsed
9137
9138 \begin_layout Plain Layout
9139 Example #3: Labels, Levels and other list environments
9140 \end_layout
9141
9142 \end_inset
9143
9144
9145 \end_layout
9146
9147 \begin_layout Enumerate
9148 This is level #1, in an 
9149 \family sans
9150 Enumerate
9151 \family default
9152  paragraph environment.
9153  We're actually going to nest a bunch of these.
9154 \end_layout
9155
9156 \begin_deeper
9157 \begin_layout Enumerate
9158 This is level #2.
9159  We used 
9160 \begin_inset Info
9161 type  "shortcut"
9162 arg   "break-paragraph inverse"
9163 \end_inset
9164
9165  followed by 
9166 \begin_inset Info
9167 type  "shortcut"
9168 arg   "depth-increment"
9169 \end_inset
9170
9171 .
9172  Now, what happens if we nest an 
9173 \family sans
9174 Itemize
9175 \family default
9176  environment inside of this one? It will be at level #3, but what will its
9177  label be? An asterisk?
9178 \end_layout
9179
9180 \begin_deeper
9181 \begin_layout Itemize
9182 No! It's a bullet.
9183  This is the 
9184 \emph on
9185 first
9186 \emph default
9187  
9188 \family sans
9189 Itemize
9190 \family default
9191  environment, even though it's at level #3.
9192  So, its label is a bullet.
9193  (We got here by using 
9194 \begin_inset Info
9195 type  "shortcut"
9196 arg   "break-paragraph inverse"
9197 \end_inset
9198
9199 , then 
9200 \begin_inset Info
9201 type  "shortcut"
9202 arg   "depth-increment"
9203 \end_inset
9204
9205 , then changing the environment to 
9206 \family sans
9207 Itemize
9208 \family default
9209 .)
9210 \end_layout
9211
9212 \begin_deeper
9213 \begin_layout Itemize
9214 Here's level #4, produced using 
9215 \begin_inset Info
9216 type  "shortcut"
9217 arg   "break-paragraph inverse"
9218 \end_inset
9219
9220 , then 
9221 \begin_inset Info
9222 type  "shortcut"
9223 arg   "depth-increment"
9224 \end_inset
9225
9226 .
9227  We will do that again\SpecialChar \ldots{}
9228
9229 \end_layout
9230
9231 \begin_deeper
9232 \begin_layout Enumerate
9233 \SpecialChar \ldots{}
9234 to get to level #5.
9235  This time, however, we also changed the paragraph environment back to 
9236 \family sans
9237 Enumerate
9238 \family default
9239 .
9240  Notice the type of numbering, it is 
9241 \emph on
9242 lowercase Roman
9243 \emph default
9244 , because we are in the 
9245 \emph on
9246 thirdfold
9247 \emph default
9248  
9249 \family sans
9250 Enumerate
9251 \family default
9252  environment (that is, it is an 
9253 \family sans
9254 Enumerate
9255 \family default
9256  inside an 
9257 \family sans
9258 Enumerate
9259 \family default
9260  inside an 
9261 \family sans
9262 Enumerate
9263 \family default
9264 ).
9265 \end_layout
9266
9267 \begin_layout Enumerate
9268 What happens if we 
9269 \emph on
9270 don't
9271 \emph default
9272  change the paragraph environment, but decrease the nesting depth? What
9273  type of numbering does LyX use?
9274 \end_layout
9275
9276 \begin_layout Enumerate
9277 Oh, as if you couldn't guess by now, we're just using 
9278 \begin_inset Info
9279 type  "shortcut"
9280 arg   "break-paragraph inverse"
9281 \end_inset
9282
9283  to keep the current environment and depth but create a new item.
9284 \end_layout
9285
9286 \begin_layout Enumerate
9287 Let's use 
9288 \begin_inset Info
9289 type  "shortcut"
9290 arg   "depth-decrement"
9291 \end_inset
9292
9293  to decrease the depth after the next 
9294 \begin_inset Info
9295 type  "shortcut"
9296 arg   "break-paragraph inverse"
9297 \end_inset
9298
9299 .
9300 \end_layout
9301
9302 \end_deeper
9303 \begin_layout Enumerate
9304 This is level #4.
9305  Look what type of label LyX is using!
9306 \end_layout
9307
9308 \end_deeper
9309 \begin_layout Enumerate
9310 This is level #3.
9311  Even though we've changed levels, LyX is still using a lowercase Roman
9312  numeral as the label.Why?
9313 \end_layout
9314
9315 \begin_layout Enumerate
9316 Because, even though the nesting depth has changed, the paragraph is 
9317 \emph on
9318 still
9319 \emph default
9320  a thirdfold 
9321 \family sans
9322 Enumerate
9323 \family default
9324  environment.
9325  Notice, however, that LyX 
9326 \emph on
9327 did
9328 \emph default
9329  reset the counter for the label.
9330 \end_layout
9331
9332 \end_deeper
9333 \begin_layout Enumerate
9334 Another 
9335 \begin_inset Info
9336 type  "shortcut"
9337 arg   "break-paragraph inverse"
9338 \end_inset
9339
9340  
9341 \begin_inset Info
9342 type  "shortcut"
9343 arg   "depth-decrement"
9344 \end_inset
9345
9346  sequence, and we're back to level #2.
9347  This time, we not only changed the nesting depth, but we also moved back
9348  into the twofold-nested 
9349 \family sans
9350 Enumerate
9351 \family default
9352  environment.
9353 \end_layout
9354
9355 \end_deeper
9356 \begin_layout Enumerate
9357 The same thing happens if we do another 
9358 \begin_inset Info
9359 type  "shortcut"
9360 arg   "break-paragraph inverse"
9361 \end_inset
9362
9363  
9364 \begin_inset Info
9365 type  "shortcut"
9366 arg   "depth-decrement"
9367 \end_inset
9368
9369  sequence and return to level #1, the outermost level.
9370 \end_layout
9371
9372 \begin_layout Standard
9373 Lastly, we reset the environment to 
9374 \family sans
9375 Standard
9376 \family default
9377 .
9378  As you can see, the level number doesn't correspond to what type of labeling
9379  LyX uses for the 
9380 \family sans
9381 Enumerate
9382 \family default
9383  and 
9384 \family sans
9385 Itemize
9386 \family default
9387  environments.
9388  The number of other 
9389 \family sans
9390 Enumerate
9391 \family default
9392  environments surrounding it determines what kind of label LyX uses for
9393  an 
9394 \family sans
9395 Enumerate
9396 \family default
9397  item.
9398  The same rule applies for the 
9399 \family sans
9400 Itemize
9401 \family default
9402  environment, as well.
9403 \end_layout
9404
9405 \begin_layout Subsubsection
9406 Example 4: Going Bonkers
9407 \end_layout
9408
9409 \begin_layout Enumerate
9410 We're going to go totally nuts now.
9411  We will not nest as deep as in the other examples, nor will we go into
9412  the same detail with how we did it.
9413  (level #1: 
9414 \family sans
9415 Enumerate
9416 \family default
9417 )
9418 \end_layout
9419
9420 \begin_deeper
9421 \begin_layout Standard
9422 (
9423 \family sans
9424 Return, 
9425 \family default
9426
9427 \begin_inset Info
9428 type  "shortcut"
9429 arg   "depth-increment"
9430 \end_inset
9431
9432
9433 \family sans
9434 , Standard
9435 \family default
9436 : level #2) We will stick an encapsulated description of how we created
9437  the example in parentheses someplace.
9438  For example, the two key bindings are how we changed the depth.
9439  The environment name is the name of the current environment.
9440  Either before or after this, we will put in the level.
9441 \end_layout
9442
9443 \end_deeper
9444 \begin_layout Enumerate
9445 (
9446 \family sans
9447 Return, Enumerate
9448 \family default
9449 : level #1) This is the next item in the list.
9450 \end_layout
9451
9452 \begin_deeper
9453 \begin_layout Verse
9454 Now we will add verse.
9455 \begin_inset Newline newline
9456 \end_inset
9457
9458 It will get much worse.
9459 \begin_inset Newline newline
9460 \end_inset
9461
9462 (
9463 \family sans
9464 Return, 
9465 \family default
9466
9467 \begin_inset Info
9468 type  "shortcut"
9469 arg   "depth-increment"
9470 \end_inset
9471
9472
9473 \family sans
9474 , Verse
9475 \family default
9476 : level #2)
9477 \end_layout
9478
9479 \begin_layout Verse
9480 Fiddle dee, Fiddle doo.
9481 \begin_inset Newline newline
9482 \end_inset
9483
9484 Bippitey boppitey boo!
9485 \begin_inset Newline newline
9486 \end_inset
9487
9488 (
9489 \begin_inset Info
9490 type  "shortcut"
9491 arg   "break-paragraph inverse"
9492 \end_inset
9493
9494
9495 \family sans
9496 )
9497 \end_layout
9498
9499 \begin_layout Verse
9500 Here comes a table:
9501 \end_layout
9502
9503 \begin_deeper
9504 \begin_layout Standard
9505 \begin_inset VSpace 0.3cm
9506 \end_inset
9507
9508
9509 \end_layout
9510
9511 \begin_layout Standard
9512 \align center
9513 \begin_inset Tabular
9514 <lyxtabular version="3" rows="2" columns="2">
9515 <features rotate="0" tabularvalignment="middle">
9516 <column alignment="center" valignment="top" width="0pt">
9517 <column alignment="center" valignment="top" width="0pt">
9518 <row>
9519 <cell alignment="center" valignment="top" usebox="none">
9520 \begin_inset Text
9521
9522 \begin_layout Plain Layout
9523
9524 \family roman
9525 \series medium
9526 \shape up
9527 \size normal
9528 \emph off
9529 \bar no
9530 \noun off
9531 \color none
9532 one-fish
9533 \end_layout
9534
9535 \end_inset
9536 </cell>
9537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9538 \begin_inset Text
9539
9540 \begin_layout Plain Layout
9541
9542 \family roman
9543 \series medium
9544 \shape up
9545 \size normal
9546 \emph off
9547 \bar no
9548 \noun off
9549 \color none
9550 two-fish
9551 \end_layout
9552
9553 \end_inset
9554 </cell>
9555 </row>
9556 <row>
9557 <cell alignment="center" valignment="top" topline="true" usebox="none">
9558 \begin_inset Text
9559
9560 \begin_layout Plain Layout
9561
9562 \family roman
9563 \series medium
9564 \shape up
9565 \size normal
9566 \emph off
9567 \bar no
9568 \noun off
9569 \color none
9570 red-fish
9571 \end_layout
9572
9573 \end_inset
9574 </cell>
9575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Plain Layout
9579
9580 \family roman
9581 \series medium
9582 \shape up
9583 \size normal
9584 \emph off
9585 \bar no
9586 \noun off
9587 \color none
9588 blue-fish
9589 \end_layout
9590
9591 \end_inset
9592 </cell>
9593 </row>
9594 </lyxtabular>
9595
9596 \end_inset
9597
9598
9599 \end_layout
9600
9601 \end_deeper
9602 \begin_layout Verse
9603 (
9604 \begin_inset Info
9605 type  "shortcut"
9606 arg   "break-paragraph inverse"
9607 \end_inset
9608
9609
9610 \family sans
9611 , Table, 
9612 \family default
9613
9614 \begin_inset Info
9615 type  "shortcut"
9616 arg   "depth-increment"
9617 \end_inset
9618
9619  3 times, 
9620 \begin_inset Info
9621 type  "shortcut"
9622 arg   "break-paragraph inverse"
9623 \end_inset
9624
9625
9626 \family sans
9627 , Verse, 
9628 \family default
9629
9630 \begin_inset Info
9631 type  "shortcut"
9632 arg   "depth-decrement"
9633 \end_inset
9634
9635 )
9636 \end_layout
9637
9638 \end_deeper
9639 \begin_layout Enumerate
9640 (
9641 \family sans
9642 Return, Enumerate
9643 \family default
9644 : level #1) This is another item.
9645  Note that selecting a 
9646 \family sans
9647 Table
9648 \family default
9649  resets the nesting depth to level #1, so we increased the nesting depth
9650  3 times to put the table inside the 
9651 \family sans
9652 Verse
9653 \family default
9654  environment.
9655  
9656 \end_layout
9657
9658 \begin_layout Quotation
9659 We're now ending the 
9660 \family sans
9661 Enumerate
9662 \family default
9663  list and changing to 
9664 \family sans
9665 Quotation
9666 \family default
9667 .
9668  We're still at level #1.
9669  We want to show you some of the things you can do by mixing environments.
9670  The next set of paragraphs is a 
9671 \begin_inset Quotes eld
9672 \end_inset
9673
9674 quoted letter.
9675 \begin_inset Quotes erd
9676 \end_inset
9677
9678  We will nest both the 
9679 \family sans
9680 Address
9681 \family default
9682  and 
9683 \family sans
9684 Right
9685 \begin_inset space ~
9686 \end_inset
9687
9688 Address
9689 \family default
9690  environments inside of this one, then use another nested 
9691 \family sans
9692 Quotation
9693 \family default
9694  for the letter body.
9695  We will use 
9696 \begin_inset Info
9697 type  "shortcut"
9698 arg   "break-paragraph inverse"
9699 \end_inset
9700
9701  to preserve the depth.
9702  Remember that you need to use 
9703 \begin_inset Info
9704 type  "shortcut"
9705 arg   "newline-insert newline"
9706 \end_inset
9707
9708  to create multiple lines inside the 
9709 \family sans
9710 Address
9711 \family default
9712  and 
9713 \family sans
9714 Right
9715 \begin_inset space ~
9716 \end_inset
9717
9718 Address
9719 \family default
9720  environments.
9721  Here it goes:
9722 \end_layout
9723
9724 \begin_deeper
9725 \begin_layout Right Address
9726 1234 Nowhere Rd.
9727 \begin_inset Newline newline
9728 \end_inset
9729
9730 Moosegroin, MT 00100
9731 \begin_inset Newline newline
9732 \end_inset
9733
9734 9-6-96
9735 \end_layout
9736
9737 \begin_layout Address
9738 Dear Mr.
9739 \begin_inset space ~
9740 \end_inset
9741
9742 Fizlewitz:
9743 \end_layout
9744
9745 \begin_layout Quotation
9746 We regret to inform you that we cannot fill your order for 50
9747 \begin_inset space \thinspace{}
9748 \end_inset
9749
9750 L of compressed methane gas due to circumstances beyond our control.
9751  Unfortunately, several of our cows have mysteriously exploded, creating
9752  a backlog in our orders for methane.
9753  We will place your name on the waiting list and try to fill your order
9754  as soon as possible.
9755  In the meantime, we thank you for your patience.
9756 \end_layout
9757
9758 \begin_layout Quotation
9759 We do, however, now have a special on beef.
9760  If you are interested, please return the enclosed pricing and order form
9761  with your order, along with payment.
9762 \end_layout
9763
9764 \begin_layout Quotation
9765 We thank you again for your patience.
9766 \end_layout
9767
9768 \begin_layout Address
9769 Sincerely,
9770 \begin_inset Newline newline
9771 \end_inset
9772
9773 Bill Hick
9774 \end_layout
9775
9776 \end_deeper
9777 \begin_layout Quotation
9778 That ends that example!
9779 \end_layout
9780
9781 \begin_layout Standard
9782 As you can see, nesting environments in LyX gives you a lot of power with
9783  just a few keystrokes.
9784  We could have easily nested an 
9785 \family sans
9786 Itemize
9787 \family default
9788  list inside of a 
9789 \family sans
9790 Quotation
9791 \family default
9792  or 
9793 \family sans
9794 Quote
9795 \family default
9796 , or put a 
9797 \family sans
9798 Quote
9799 \family default
9800  inside of an 
9801 \family sans
9802 Itemize
9803 \family default
9804  list.
9805  You have a huge variety of options at your disposal.
9806 \end_layout
9807
9808 \begin_layout Section
9809 Spacing, pagination and line breaks
9810 \begin_inset Index idx
9811 status collapsed
9812
9813 \begin_layout Plain Layout
9814 Spacing
9815 \end_layout
9816
9817 \end_inset
9818
9819
9820 \end_layout
9821
9822 \begin_layout Standard
9823 What is a space? While you might be used to pressing the space key anytime
9824  you want to separate two words in ordinary word processors, LyX offers
9825  you more spaces: spaces of different widths and spaces which can or cannot
9826  be broken at the end of a line.
9827  The following sections will show you some examples where those spaces are
9828  useful.
9829 \end_layout
9830
9831 \begin_layout Subsection
9832 Protected Space
9833 \begin_inset CommandInset label
9834 LatexCommand label
9835 name "sub:Protected-Space"
9836
9837 \end_inset
9838
9839
9840 \begin_inset Index idx
9841 status collapsed
9842
9843 \begin_layout Plain Layout
9844 Spaces ! Protected
9845 \end_layout
9846
9847 \end_inset
9848
9849
9850 \end_layout
9851
9852 \begin_layout Standard
9853 The protected space: It is used to tell LyX (and LaTeX) not to break the
9854  line at that point.
9855  This may be necessary to avoid unlucky line breaks, like in: 
9856 \end_layout
9857
9858 \begin_layout Quote
9859 Further documentation is given in section
9860 \begin_inset Newline newline
9861 \end_inset
9862
9863
9864 \begin_inset CommandInset ref
9865 LatexCommand ref
9866 reference "sec:Bibliography"
9867
9868 \end_inset
9869
9870 .
9871  
9872 \end_layout
9873
9874 \begin_layout Standard
9875 Obviously, it would be a good thing to put a protected space between 
9876 \begin_inset Quotes eld
9877 \end_inset
9878
9879 section
9880 \begin_inset Quotes erd
9881 \end_inset
9882
9883  and 
9884 \begin_inset Quotes eld
9885 \end_inset
9886
9887
9888 \begin_inset CommandInset ref
9889 LatexCommand ref
9890 reference "sec:Bibliography"
9891
9892 \end_inset
9893
9894
9895 \begin_inset Quotes erd
9896 \end_inset
9897
9898 .
9899  A protected space is set with 
9900 \family sans
9901 Insert\SpecialChar \menuseparator
9902 Formatting\SpecialChar \menuseparator
9903 Protected
9904 \begin_inset space ~
9905 \end_inset
9906
9907 Space
9908 \family default
9909  (shortcut 
9910 \begin_inset Info
9911 type  "shortcut"
9912 arg   "command-alternatives space-insert protected ; math-space"
9913 \end_inset
9914
9915 ).
9916 \end_layout
9917
9918 \begin_layout Subsection
9919 Horizontal Space
9920 \begin_inset CommandInset label
9921 LatexCommand label
9922 name "sub:Horizontal-Space"
9923
9924 \end_inset
9925
9926
9927 \begin_inset Index idx
9928 status collapsed
9929
9930 \begin_layout Plain Layout
9931 Spacing ! Horizontal
9932 \end_layout
9933
9934 \end_inset
9935
9936
9937 \end_layout
9938
9939 \begin_layout Standard
9940 All horizontal spaces can be inserted with the menu 
9941 \family sans
9942 Insert\SpecialChar \menuseparator
9943 Formatting\SpecialChar \menuseparator
9944 Horizontal Space
9945 \family default
9946 .
9947  The length units are listed in Appendix
9948 \begin_inset space ~
9949 \end_inset
9950
9951
9952 \begin_inset CommandInset ref
9953 LatexCommand ref
9954 reference "chap:Units-available-in"
9955
9956 \end_inset
9957
9958 .
9959 \end_layout
9960
9961 \begin_layout Subsubsection
9962 Inter-word Space
9963 \begin_inset CommandInset label
9964 LatexCommand label
9965 name "sub:Inter-word-Space"
9966
9967 \end_inset
9968
9969
9970 \begin_inset Index idx
9971 status collapsed
9972
9973 \begin_layout Plain Layout
9974 Spaces ! Inter-word
9975 \end_layout
9976
9977 \end_inset
9978
9979
9980 \end_layout
9981
9982 \begin_layout Standard
9983 With the introduction of typewriters, it became conventional in some countries
9984  to type two spaces after a period to mimic the wider spaces used by typesetters
9985  at the ends of sentences.
9986  There is no need to do this as LyX automatically takes care about this.
9987  However, you do not want an end of sentence space after an abbreviation
9988  followed by a period; see section
9989 \begin_inset space ~
9990 \end_inset
9991
9992
9993 \begin_inset CommandInset ref
9994 LatexCommand ref
9995 reference "sub:Abbreviations"
9996
9997 \end_inset
9998
9999  for examples.
10000  To insert a normal space, select 
10001 \family sans
10002 Insert\SpecialChar \menuseparator
10003 Formatting\SpecialChar \menuseparator
10004 Interword
10005 \begin_inset space ~
10006 \end_inset
10007
10008 Space
10009 \family default
10010  (shortcut 
10011 \begin_inset Info
10012 type  "shortcut"
10013 arg   "space-insert normal"
10014 \end_inset
10015
10016 ).
10017 \end_layout
10018
10019 \begin_layout Subsubsection
10020 Thin Space
10021 \begin_inset CommandInset label
10022 LatexCommand label
10023 name "sub:Thin-Space"
10024
10025 \end_inset
10026
10027
10028 \begin_inset Index idx
10029 status collapsed
10030
10031 \begin_layout Plain Layout
10032 Spaces ! Thin
10033 \end_layout
10034
10035 \end_inset
10036
10037
10038 \end_layout
10039
10040 \begin_layout Standard
10041
10042 \begin_inset Quotes eld
10043 \end_inset
10044
10045 thin space
10046 \begin_inset Quotes erd
10047 \end_inset
10048
10049  is a blank which has half the size of a normal space (and it is also 
10050 \begin_inset Quotes eld
10051 \end_inset
10052
10053 protected
10054 \begin_inset Quotes erd
10055 \end_inset
10056
10057 ).
10058  The typographical conventions in a lot of languages propose the use of
10059  thin spaces in cases where normal spaces would be too wide, for instance,
10060  inside abbreviations:
10061 \end_layout
10062
10063 \begin_layout Quote
10064 D.
10065 \begin_inset space \thinspace{}
10066 \end_inset
10067
10068 E.
10069  Knuth has developed our beloved typesetting program.
10070 \end_layout
10071
10072 \begin_layout Standard
10073 or between values and units.
10074  Compare for example this:
10075 \begin_inset Newline newline
10076 \end_inset
10077
10078 10
10079 \begin_inset space \thinspace{}
10080 \end_inset
10081
10082 kg (thin space)
10083 \begin_inset Newline newline
10084 \end_inset
10085
10086 10 kg (normal space
10087 \end_layout
10088
10089 \begin_layout Standard
10090 You can insert thin spaces with the menu 
10091 \family sans
10092 Insert\SpecialChar \menuseparator
10093 Formatting\SpecialChar \menuseparator
10094 Thin
10095 \begin_inset space ~
10096 \end_inset
10097
10098 Space
10099 \family default
10100  (shortcut 
10101 \begin_inset Info
10102 type  "shortcuts"
10103 arg   "space-insert thin"
10104 \end_inset
10105
10106 ).
10107 \end_layout
10108
10109 \begin_layout Subsubsection
10110 More Spaces
10111 \end_layout
10112
10113 \begin_layout Standard
10114 You can also insert the following space types:
10115 \end_layout
10116
10117 \begin_layout Description
10118 Negative
10119 \begin_inset space ~
10120 \end_inset
10121
10122 thin
10123 \begin_inset space ~
10124 \end_inset
10125
10126 space A line with a 
10127 \begin_inset Formula $\to$
10128 \end_inset
10129
10130
10131 \begin_inset space \negthinspace{}
10132 \end_inset
10133
10134
10135 \begin_inset Formula $\gets$
10136 \end_inset
10137
10138  negative thin space between the arrows.
10139 \end_layout
10140
10141 \begin_layout Description
10142 Enspace
10143 \begin_inset space ~
10144 \end_inset
10145
10146 (0.5
10147 \begin_inset space \thinspace{}
10148 \end_inset
10149
10150 em) A line with an 
10151 \begin_inset Formula $\to$
10152 \end_inset
10153
10154
10155 \begin_inset space \enskip{}
10156 \end_inset
10157
10158
10159 \begin_inset Formula $\gets$
10160 \end_inset
10161
10162  enspace
10163 \begin_inset space ~
10164 \end_inset
10165
10166 (0.5
10167 \begin_inset space \thinspace{}
10168 \end_inset
10169
10170 em) space between the arrows.
10171 \end_layout
10172
10173 \begin_layout Description
10174 Quad
10175 \begin_inset space ~
10176 \end_inset
10177
10178 (1
10179 \begin_inset space \thinspace{}
10180 \end_inset
10181
10182 em) A line with a 
10183 \begin_inset Formula $\to$
10184 \end_inset
10185
10186
10187 \begin_inset space \quad{}
10188 \end_inset
10189
10190
10191 \begin_inset Formula $\gets$
10192 \end_inset
10193
10194  Quad
10195 \begin_inset space ~
10196 \end_inset
10197
10198 (1
10199 \begin_inset space \thinspace{}
10200 \end_inset
10201
10202 em) space between the arrows.
10203 \end_layout
10204
10205 \begin_layout Description
10206 QQuad
10207 \begin_inset space ~
10208 \end_inset
10209
10210 (2
10211 \begin_inset space \thinspace{}
10212 \end_inset
10213
10214 em) A line with a 
10215 \begin_inset Formula $\to$
10216 \end_inset
10217
10218
10219 \begin_inset space \qquad{}
10220 \end_inset
10221
10222
10223 \begin_inset Formula $\gets$
10224 \end_inset
10225
10226  QQuad
10227 \begin_inset space ~
10228 \end_inset
10229
10230 (2
10231 \begin_inset space \thinspace{}
10232 \end_inset
10233
10234 em) space between the arrows.
10235 \end_layout
10236
10237 \begin_layout Description
10238 Custom
10239 \begin_inset space ~
10240 \end_inset
10241
10242 space A line with
10243 \begin_inset Formula $\to$
10244 \end_inset
10245
10246
10247 \begin_inset space \hspace{}
10248 \length 2cm
10249 \end_inset
10250
10251
10252 \begin_inset Formula $\gets$
10253 \end_inset
10254
10255  2
10256 \begin_inset space \thinspace{}
10257 \end_inset
10258
10259 cm space between the arrows.
10260 \end_layout
10261
10262 \begin_layout Standard
10263 Table
10264 \begin_inset space ~
10265 \end_inset
10266
10267
10268 \begin_inset CommandInset ref
10269 LatexCommand ref
10270 reference "tab:Width-of-the"
10271
10272 \end_inset
10273
10274  lists the different space sizes.
10275 \end_layout
10276
10277 \begin_layout Standard
10278 \begin_inset Float table
10279 wide false
10280 sideways false
10281 status open
10282
10283 \begin_layout Plain Layout
10284 \align center
10285 \begin_inset Caption
10286
10287 \begin_layout Plain Layout
10288 \begin_inset CommandInset label
10289 LatexCommand label
10290 name "tab:Width-of-the"
10291
10292 \end_inset
10293
10294 Width of the different horizontal spaces.
10295 \end_layout
10296
10297 \end_inset
10298
10299
10300 \end_layout
10301
10302 \begin_layout Plain Layout
10303 \align center
10304 \begin_inset Tabular
10305 <lyxtabular version="3" rows="8" columns="2">
10306 <features rotate="0" tabularvalignment="middle">
10307 <column alignment="center" valignment="top" width="0">
10308 <column alignment="center" valignment="top" width="0">
10309 <row>
10310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10311 \begin_inset Text
10312
10313 \begin_layout Plain Layout
10314
10315 \series bold
10316 Space
10317 \end_layout
10318
10319 \end_inset
10320 </cell>
10321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10322 \begin_inset Text
10323
10324 \begin_layout Plain Layout
10325
10326 \series bold
10327 Width
10328 \end_layout
10329
10330 \end_inset
10331 </cell>
10332 </row>
10333 <row>
10334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10335 \begin_inset Text
10336
10337 \begin_layout Plain Layout
10338 Normal
10339 \end_layout
10340
10341 \end_inset
10342 </cell>
10343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10344 \begin_inset Text
10345
10346 \begin_layout Plain Layout
10347 1/3
10348 \begin_inset space \thinspace{}
10349 \end_inset
10350
10351 em
10352 \end_layout
10353
10354 \end_inset
10355 </cell>
10356 </row>
10357 <row>
10358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10359 \begin_inset Text
10360
10361 \begin_layout Plain Layout
10362 Protected
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10368 \begin_inset Text
10369
10370 \begin_layout Plain Layout
10371 1/3
10372 \begin_inset space \thinspace{}
10373 \end_inset
10374
10375 em
10376 \end_layout
10377
10378 \end_inset
10379 </cell>
10380 </row>
10381 <row>
10382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10383 \begin_inset Text
10384
10385 \begin_layout Plain Layout
10386 Thin
10387 \end_layout
10388
10389 \end_inset
10390 </cell>
10391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10392 \begin_inset Text
10393
10394 \begin_layout Plain Layout
10395 1/6
10396 \begin_inset space \thinspace{}
10397 \end_inset
10398
10399 em
10400 \end_layout
10401
10402 \end_inset
10403 </cell>
10404 </row>
10405 <row>
10406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10407 \begin_inset Text
10408
10409 \begin_layout Plain Layout
10410 Negative thin
10411 \end_layout
10412
10413 \end_inset
10414 </cell>
10415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10416 \begin_inset Text
10417
10418 \begin_layout Plain Layout
10419 -1/6
10420 \begin_inset space \thinspace{}
10421 \end_inset
10422
10423 em
10424 \end_layout
10425
10426 \end_inset
10427 </cell>
10428 </row>
10429 <row>
10430 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10431 \begin_inset Text
10432
10433 \begin_layout Plain Layout
10434 Enspace (0.5
10435 \begin_inset space \thinspace{}
10436 \end_inset
10437
10438 em)
10439 \end_layout
10440
10441 \end_inset
10442 </cell>
10443 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10444 \begin_inset Text
10445
10446 \begin_layout Plain Layout
10447 0.5
10448 \begin_inset space \thinspace{}
10449 \end_inset
10450
10451 em
10452 \end_layout
10453
10454 \end_inset
10455 </cell>
10456 </row>
10457 <row>
10458 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10459 \begin_inset Text
10460
10461 \begin_layout Plain Layout
10462 Quad (1
10463 \begin_inset space \thinspace{}
10464 \end_inset
10465
10466 em)
10467 \end_layout
10468
10469 \end_inset
10470 </cell>
10471 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10472 \begin_inset Text
10473
10474 \begin_layout Plain Layout
10475 1
10476 \begin_inset space \thinspace{}
10477 \end_inset
10478
10479 em
10480 \end_layout
10481
10482 \end_inset
10483 </cell>
10484 </row>
10485 <row>
10486 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10487 \begin_inset Text
10488
10489 \begin_layout Plain Layout
10490 QQuad (2
10491 \begin_inset space \thinspace{}
10492 \end_inset
10493
10494 em)
10495 \end_layout
10496
10497 \end_inset
10498 </cell>
10499 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10500 \begin_inset Text
10501
10502 \begin_layout Plain Layout
10503 2
10504 \begin_inset space \thinspace{}
10505 \end_inset
10506
10507 em
10508 \end_layout
10509
10510 \end_inset
10511 </cell>
10512 </row>
10513 </lyxtabular>
10514
10515 \end_inset
10516
10517
10518 \end_layout
10519
10520 \end_inset
10521
10522
10523 \end_layout
10524
10525 \begin_layout Subsubsection
10526
10527 \family sans
10528 Horizontal Fills
10529 \family default
10530
10531 \begin_inset Index idx
10532 status collapsed
10533
10534 \begin_layout Plain Layout
10535 Spacing ! Fills
10536 \end_layout
10537
10538 \end_inset
10539
10540
10541 \end_layout
10542
10543 \begin_layout Standard
10544 Horizontal fills (HFills) are a special LyX feature for adding extra space
10545  in a uniform fashion.
10546  An HFill is actually a variable length space, whose length always equals
10547  the remaining space between the left and right margins.
10548  If there is more than one HFill on a line, they divide the available space
10549  equally between themselves.
10550 \end_layout
10551
10552 \begin_layout Standard
10553 Here are a few examples of what you can do with them:
10554 \end_layout
10555
10556 \begin_layout Quote
10557 \noindent
10558 This is on the left side
10559 \begin_inset space \hfill{}
10560 \end_inset
10561
10562 This is on the right
10563 \end_layout
10564
10565 \begin_layout Quote
10566 \noindent
10567 Left
10568 \begin_inset space \hfill{}
10569 \end_inset
10570
10571 Middle
10572 \begin_inset space \hfill{}
10573 \end_inset
10574
10575 Right
10576 \end_layout
10577
10578 \begin_layout Quote
10579 \noindent
10580 Left
10581 \begin_inset space \hfill{}
10582 \end_inset
10583
10584 1/3 Left
10585 \begin_inset space \hfill{}
10586 \end_inset
10587
10588
10589 \begin_inset space \hfill{}
10590 \end_inset
10591
10592 Right
10593 \end_layout
10594
10595 \begin_layout Standard
10596 That was an example in the 
10597 \family sans
10598 Quote
10599 \family default
10600  environment.
10601  Here
10602 \begin_inset Formula $\to$
10603 \end_inset
10604
10605
10606 \begin_inset space \hfill{}
10607 \end_inset
10608
10609
10610 \begin_inset Formula $\gets$
10611 \end_inset
10612
10613 is one in a standard paragraph.
10614  It may or may not be apparent in the printed text, but it 
10615 \emph on
10616 is
10617 \emph default
10618  sitting in-between the two arrows.
10619 \end_layout
10620
10621 \begin_layout Standard
10622 HFills can be made visible when you choose one of the 
10623 \family sans
10624 Fill
10625 \begin_inset space ~
10626 \end_inset
10627
10628 Pattern
10629 \family default
10630 s in the space dialog: The following patterns are available:
10631 \end_layout
10632
10633 \begin_layout Standard
10634 Dots: 
10635 \begin_inset space \dotfill{}
10636 \end_inset
10637
10638
10639 \begin_inset space ~
10640 \end_inset
10641
10642
10643 \end_layout
10644
10645 \begin_layout Standard
10646 Rule: 
10647 \begin_inset space \hrulefill{}
10648 \end_inset
10649
10650
10651 \begin_inset space ~
10652 \end_inset
10653
10654
10655 \end_layout
10656
10657 \begin_layout Standard
10658 Left arrow: 
10659 \begin_inset space \leftarrowfill{}
10660 \end_inset
10661
10662
10663 \begin_inset space ~
10664 \end_inset
10665
10666
10667 \end_layout
10668
10669 \begin_layout Standard
10670 Right arrow: 
10671 \begin_inset space \rightarrowfill{}
10672 \end_inset
10673
10674
10675 \begin_inset space ~
10676 \end_inset
10677
10678
10679 \end_layout
10680
10681 \begin_layout Standard
10682 Up brace: 
10683 \begin_inset space \downbracefill{}
10684 \end_inset
10685
10686
10687 \begin_inset space ~
10688 \end_inset
10689
10690
10691 \end_layout
10692
10693 \begin_layout Standard
10694 Down brace: 
10695 \begin_inset space \upbracefill{}
10696 \end_inset
10697
10698
10699 \begin_inset space ~
10700 \end_inset
10701
10702
10703 \end_layout
10704
10705 \begin_layout Standard
10706 \begin_inset Note Greyedout
10707 status open
10708
10709 \begin_layout Plain Layout
10710
10711 \series bold
10712 Note:
10713 \series default
10714  If an HFill is at the beginning of a line, and 
10715 \emph on
10716 not
10717 \emph default
10718  in the first line in a paragraph, LyX ignores it.
10719  This prevents HFills from accidentally being wrapped onto a new line.
10720  If you need space in this case anyway, set the 
10721 \family sans
10722 Protect
10723 \family default
10724  option in the space dialog.
10725 \end_layout
10726
10727 \end_inset
10728
10729
10730 \end_layout
10731
10732 \begin_layout Subsubsection
10733 Phantom Space
10734 \begin_inset CommandInset label
10735 LatexCommand label
10736 name "sub:Phantom-Space"
10737
10738 \end_inset
10739
10740
10741 \begin_inset Index idx
10742 status collapsed
10743
10744 \begin_layout Plain Layout
10745 Spacing ! Phantom
10746 \end_layout
10747
10748 \end_inset
10749
10750
10751 \end_layout
10752
10753 \begin_layout Standard
10754 Sometimes you want to insert space with exactly the length of a phrase.
10755  For example, you want to create the following multiple choice question:
10756 \end_layout
10757
10758 \begin_layout Standard
10759 \begin_inset VSpace medskip
10760 \end_inset
10761
10762 What is correct English?:
10763 \begin_inset Newline newline
10764 \end_inset
10765
10766
10767 \begin_inset Newline newline
10768 \end_inset
10769
10770 Mr.
10771 \begin_inset space ~
10772 \end_inset
10773
10774 Edge would have been jumps the gun.
10775 \begin_inset Newline newline
10776 \end_inset
10777
10778
10779 \begin_inset Phantom HPhantom
10780 status open
10781
10782 \begin_layout Plain Layout
10783 Mr.
10784  Edge 
10785 \end_layout
10786
10787 \end_inset
10788
10789 has to be jumped
10790 \begin_inset Newline newline
10791 \end_inset
10792
10793
10794 \begin_inset Phantom HPhantom
10795 status open
10796
10797 \begin_layout Plain Layout
10798 Mr.
10799  Edge 
10800 \end_layout
10801
10802 \end_inset
10803
10804 jumps
10805 \begin_inset VSpace medskip
10806 \end_inset
10807
10808
10809 \end_layout
10810
10811 \begin_layout Standard
10812 \noindent
10813 so that the choices appear exactly after the phrase 
10814 \begin_inset Quotes eld
10815 \end_inset
10816
10817 Mr.
10818 \begin_inset space ~
10819 \end_inset
10820
10821 Edge
10822 \begin_inset space ~
10823 \end_inset
10824
10825
10826 \begin_inset Quotes erd
10827 \end_inset
10828
10829 .
10830  To get this, you can use the phantom insets available via the menu 
10831 \family sans
10832 Insert\SpecialChar \menuseparator
10833 Formatting\SpecialChar \menuseparator
10834 Phantom
10835 \family default
10836 .
10837  In our case insert a horizontal phantom at the beginning of the last two
10838  lines and insert 
10839 \begin_inset Quotes eld
10840 \end_inset
10841
10842 Mr.
10843 \begin_inset space ~
10844 \end_inset
10845
10846 Edge
10847 \begin_inset space ~
10848 \end_inset
10849
10850
10851 \begin_inset Quotes erd
10852 \end_inset
10853
10854  into the phantom inset (note the space after 
10855 \begin_inset Quotes eld
10856 \end_inset
10857
10858 Edge
10859 \begin_inset Quotes erd
10860 \end_inset
10861
10862 ).
10863  A phantom insets prints only the space of its content (like a placeholder).
10864  That is why it is named 
10865 \begin_inset Quotes eld
10866 \end_inset
10867
10868 phantom
10869 \begin_inset Quotes erd
10870 \end_inset
10871
10872 .
10873  The normal phantom outputs the width and height of the content as space,
10874  while the horizontal and vertical variant only outputs the corresponding
10875  dimension.
10876 \end_layout
10877
10878 \begin_layout Subsection
10879 Vertical Space
10880 \begin_inset CommandInset label
10881 LatexCommand label
10882 name "sub:Vertical-Space"
10883
10884 \end_inset
10885
10886
10887 \begin_inset Index idx
10888 status collapsed
10889
10890 \begin_layout Plain Layout
10891 Spacing ! Vertical
10892 \end_layout
10893
10894 \end_inset
10895
10896
10897 \end_layout
10898
10899 \begin_layout Standard
10900 To add extra vertical space above or below a paragraph, use the 
10901 \family sans
10902 Insert\SpecialChar \menuseparator
10903 Formatting\SpecialChar \menuseparator
10904 Vertical
10905 \begin_inset space ~
10906 \end_inset
10907
10908 Space
10909 \family default
10910  dialog.
10911  There you find the following sizes:
10912 \end_layout
10913
10914 \begin_layout Standard
10915
10916 \family sans
10917 SmallSkip
10918 \family default
10919
10920 \family sans
10921 MedSkip
10922 \family default
10923  and 
10924 \family sans
10925 BigSkip
10926 \family default
10927  are LaTeX sizes which depend on the font size of the document.
10928  
10929 \family sans
10930 DefSkip
10931 \family default
10932  is the skip adjusted in the dialog 
10933 \family sans
10934 Document\SpecialChar \menuseparator
10935 Settings\SpecialChar \menuseparator
10936 Text
10937 \begin_inset space ~
10938 \end_inset
10939
10940 Layout
10941 \family default
10942
10943 \begin_inset Index idx
10944 status collapsed
10945
10946 \begin_layout Plain Layout
10947 Document ! Settings
10948 \end_layout
10949
10950 \end_inset
10951
10952  for the paragraph separation.
10953  If you use indentation to separate paragraphs 
10954 \family sans
10955 DefSkip
10956 \family default
10957  is equal to 
10958 \family sans
10959 MedSkip
10960 \family default
10961 .
10962 \end_layout
10963
10964 \begin_layout Standard
10965
10966 \family sans
10967 VFill
10968 \family default
10969
10970 \begin_inset Index idx
10971 status collapsed
10972
10973 \begin_layout Plain Layout
10974 Spacing ! Fills
10975 \end_layout
10976
10977 \end_inset
10978
10979  is a variable space, set so that the space is maximal within one page.
10980  An example: you have only two short paragraphs on one page with a 
10981 \family sans
10982 Vfill
10983 \family default
10984  between them.
10985  Then the first paragraph is placed at the top of the page and the second
10986  one at the bottom, because the space between them is then maximal.
10987  
10988 \family sans
10989 VFill
10990 \family default
10991 s work like 
10992 \family sans
10993 HFill
10994 \family default
10995 s: they fill the remaining vertical space on a page with blank space.
10996 \begin_inset Foot
10997 status collapsed
10998
10999 \begin_layout Plain Layout
11000
11001 \family sans
11002 HFill
11003 \family default
11004 s are described in section
11005 \begin_inset space ~
11006 \end_inset
11007
11008
11009 \begin_inset CommandInset ref
11010 LatexCommand ref
11011 reference "sub:Horizontal-Space"
11012
11013 \end_inset
11014
11015 .
11016 \end_layout
11017
11018 \end_inset
11019
11020  If there are several 
11021 \family sans
11022 VFill
11023 \family default
11024 s on a page, they divide the remaining vertical space equally between themselves.
11025  You can therefore use 
11026 \family sans
11027 VFill
11028 \family default
11029 s to center text on a page, or even place text 2/3 down a page.
11030 \end_layout
11031
11032 \begin_layout Standard
11033
11034 \family sans
11035 Custom
11036 \family default
11037  are custom spaces in units explained in Appendix
11038 \begin_inset space ~
11039 \end_inset
11040
11041
11042 \begin_inset CommandInset ref
11043 LatexCommand ref
11044 reference "chap:Units-available-in"
11045
11046 \end_inset
11047
11048 .
11049 \end_layout
11050
11051 \begin_layout Standard
11052 \begin_inset Note Greyedout
11053 status open
11054
11055 \begin_layout Plain Layout
11056
11057 \series bold
11058 Note:
11059 \series default
11060  
11061 \series medium
11062 If the extra vertical space would be in the output at the top/bottom of
11063  a page, the space is only added if you have also checked the option 
11064 \family sans
11065 Protect
11066 \family default
11067 .
11068 \end_layout
11069
11070 \end_inset
11071
11072
11073 \end_layout
11074
11075 \begin_layout Subsection
11076 Paragraph Alignment
11077 \begin_inset Index idx
11078 status collapsed
11079
11080 \begin_layout Plain Layout
11081 Paragraph ! Alignment
11082 \end_layout
11083
11084 \end_inset
11085
11086
11087 \end_layout
11088
11089 \begin_layout Standard
11090 You can change the paragraph alignment with the 
11091 \family sans
11092 Edit\SpecialChar \menuseparator
11093 Paragraph Settings
11094 \family default
11095  dialog (toolbar button 
11096 \begin_inset Info
11097 type  "icon"
11098 arg   "layout-paragraph"
11099 \end_inset
11100
11101 ).
11102  There are five possibilities: 
11103 \end_layout
11104
11105 \begin_layout Itemize
11106
11107 \family sans
11108 Justified
11109 \family default
11110  (shortcut 
11111 \begin_inset Info
11112 type  "shortcut"
11113 arg   "paragraph-params \\align block"
11114 \end_inset
11115
11116 )
11117 \end_layout
11118
11119 \begin_layout Itemize
11120
11121 \family sans
11122 Left
11123 \family default
11124  (
11125 \begin_inset Info
11126 type  "shortcut"
11127 arg   "paragraph-params \\align left"
11128 \end_inset
11129
11130 )
11131 \end_layout
11132
11133 \begin_layout Itemize
11134
11135 \family sans
11136 Right
11137 \family default
11138  (
11139 \begin_inset Info
11140 type  "shortcut"
11141 arg   "paragraph-params \\align right"
11142 \end_inset
11143
11144 )
11145 \end_layout
11146
11147 \begin_layout Itemize
11148
11149 \family sans
11150 Center
11151 \family default
11152  (
11153 \begin_inset Info
11154 type  "shortcut"
11155 arg   "paragraph-params \\align center"
11156 \end_inset
11157
11158 )
11159 \end_layout
11160
11161 \begin_layout Itemize
11162
11163 \family sans
11164 Default
11165 \family default
11166  (
11167 \begin_inset Info
11168 type  "shortcut"
11169 arg   "paragraph-params \\align default"
11170 \end_inset
11171
11172 )
11173 \end_layout
11174
11175 \begin_layout Standard
11176 The default in most cases is justified alignment, in which the inter-word
11177  spacing is variable and each line of a paragraph fills the region between
11178  the left and right margins.
11179  The other three alignments should be self-explanatory, and look like this:
11180 \end_layout
11181
11182 \begin_layout Standard
11183 \align right
11184 This paragraph is right aligned,
11185 \end_layout
11186
11187 \begin_layout Standard
11188 \align center
11189 this one is centered,
11190 \end_layout
11191
11192 \begin_layout Standard
11193 \align left
11194 this one is left aligned.
11195 \end_layout
11196
11197 \begin_layout Subsection
11198 Forced Page Breaks
11199 \begin_inset Index idx
11200 status collapsed
11201
11202 \begin_layout Plain Layout
11203 Page breaks ! Forced
11204 \end_layout
11205
11206 \end_inset
11207
11208
11209 \begin_inset CommandInset label
11210 LatexCommand label
11211 name "sub:Forced-Page-Breaks"
11212
11213 \end_inset
11214
11215
11216 \end_layout
11217
11218 \begin_layout Standard
11219 If you don't like the way LaTeX does the page breaks in your document, you
11220  can force a page break where you want one.
11221  Normally this will not be necessary, because LaTeX is good at page breaking.
11222  Only if you use a lot of 
11223 \family sans
11224 Floats
11225 \family default
11226 , LaTeX's page breaking algorithm can fail.
11227 \end_layout
11228
11229 \begin_layout Standard
11230 We recommend you not to use forced page breaks until the text is finished
11231  and you have checked in the preview to see if you 
11232 \emph on
11233 really
11234 \emph default
11235  have to change the page breaking.
11236 \end_layout
11237
11238 \begin_layout Standard
11239 There are two types of page breaks: One that ends the page without any special
11240  action.
11241  This can be inserted above or below a paragraph via the menu 
11242 \family sans
11243 Insert\SpecialChar \menuseparator
11244 Formatting\SpecialChar \menuseparator
11245 New
11246 \begin_inset space ~
11247 \end_inset
11248
11249 Page
11250 \family default
11251 .
11252  The second type, that is inserted via the menu 
11253 \family sans
11254 Insert\SpecialChar \menuseparator
11255 Formatting\SpecialChar \menuseparator
11256 Page
11257 \begin_inset space ~
11258 \end_inset
11259
11260 Break
11261 \family default
11262 , ends a page but stretches the content of the page, so that it fills out
11263  the complete page.
11264  This type is useful to avoid whitespace when a page break produces a page
11265  on which only the last few lines are absent.
11266 \end_layout
11267
11268 \begin_layout Standard
11269 You might try to use a page break to ensure that a figure or table appears
11270  at the top of a page.
11271  This is, of course, the wrong way to do it.
11272  LyX gives you a way of automatically ensuring that your figures and tables
11273  appear at the top of a page (or the bottom, or on their own page) without
11274  having to worry about what precedes or follows your figure or table.
11275  See chapter 
11276 \begin_inset CommandInset ref
11277 LatexCommand ref
11278 reference "chap:Floats-and-Notes"
11279
11280 \end_inset
11281
11282  to learn more about 
11283 \family sans
11284 Floats
11285 \family default
11286 .
11287 \end_layout
11288
11289 \begin_layout Subsubsection
11290 Clear Page Breaks
11291 \begin_inset CommandInset label
11292 LatexCommand label
11293 name "sub:Clear-Page-Breaks"
11294
11295 \end_inset
11296
11297
11298 \begin_inset Index idx
11299 status collapsed
11300
11301 \begin_layout Plain Layout
11302 Page breaks ! Clear
11303 \end_layout
11304
11305 \end_inset
11306
11307
11308 \end_layout
11309
11310 \begin_layout Standard
11311 Rather than forced page breaks where the content behind the break is placed
11312  directly on the next page, you can also clear pages while breaking them.
11313  That means that the current paragraph is terminated and everything, including
11314  unprocessed floats, from the earlier part of the document are placed after
11315  it, if necessary by adding pages.
11316 \end_layout
11317
11318 \begin_layout Standard
11319 You can insert a clear page break with the menu 
11320 \family sans
11321 Insert\SpecialChar \menuseparator
11322 Formatting\SpecialChar \menuseparator
11323 Clear
11324 \begin_inset space ~
11325 \end_inset
11326
11327 Page
11328 \family default
11329 .
11330  When you have a two-sided document like a book, you can use the menu 
11331 \family sans
11332 Insert\SpecialChar \menuseparator
11333 Formatting\SpecialChar \menuseparator
11334 Clear
11335 \begin_inset space ~
11336 \end_inset
11337
11338 Double
11339 \begin_inset space ~
11340 \end_inset
11341
11342 Page
11343 \family default
11344  to insert a clear page break that assures that the next page is a right-hand
11345  page (odd-numbered), if necessary by adding a page.
11346 \end_layout
11347
11348 \begin_layout Subsection
11349 Forced Line Breaks
11350 \begin_inset Index idx
11351 status collapsed
11352
11353 \begin_layout Plain Layout
11354 Line breaks
11355 \end_layout
11356
11357 \end_inset
11358
11359
11360 \begin_inset CommandInset label
11361 LatexCommand label
11362 name "sub:Forced-Line-Breaks"
11363
11364 \end_inset
11365
11366
11367 \end_layout
11368
11369 \begin_layout Standard
11370 Similar to page breaks there are two types of line breaks: one simply breaks
11371  the line.
11372  You can force this line break within a paragraph by selecting 
11373 \family sans
11374 Insert\SpecialChar \menuseparator
11375 Formatting\SpecialChar \menuseparator
11376 Ragged
11377 \begin_inset space ~
11378 \end_inset
11379
11380 Line
11381 \begin_inset space ~
11382 \end_inset
11383
11384 Break
11385 \family default
11386  or with 
11387 \begin_inset Info
11388 type  "shortcut"
11389 arg   "newline-insert newline"
11390 \end_inset
11391
11392 .
11393  Another type that is inserted via the menu 
11394 \family sans
11395 Insert\SpecialChar \menuseparator
11396 Formatting\SpecialChar \menuseparator
11397 Justified
11398 \begin_inset space ~
11399 \end_inset
11400
11401 Line
11402 \begin_inset space ~
11403 \end_inset
11404
11405 Break
11406 \family default
11407  or with 
11408 \begin_inset Info
11409 type  "shortcut"
11410 arg   "newline-insert linebreak"
11411 \end_inset
11412
11413  breaks the line and stretches it so that it fills out the whole space between
11414  the page margins.
11415  This is useful to avoid 
11416 \begin_inset Quotes eld
11417 \end_inset
11418
11419 fringes
11420 \begin_inset Quotes erd
11421 \end_inset
11422
11423  in justified paragraphs due to possible whitespace introduced by line breaks.
11424 \end_layout
11425
11426 \begin_layout Standard
11427 You shouldn't use forced line breaks to correct LaTeX's line breaking, as
11428  LaTeX is very good at line breaking.
11429  There are, however, a number of situations where it is necessaryactively
11430  to set a line break, for example, in a poem or for an address (see sections
11431 \begin_inset space ~
11432 \end_inset
11433
11434
11435 \begin_inset CommandInset ref
11436 LatexCommand ref
11437 reference "sec:Quote"
11438
11439 \end_inset
11440
11441
11442 \begin_inset CommandInset ref
11443 LatexCommand ref
11444 reference "sec:Verse"
11445
11446 \end_inset
11447
11448  and 
11449 \begin_inset CommandInset ref
11450 LatexCommand ref
11451 reference "sec:Address-Usage"
11452
11453 \end_inset
11454
11455 ).
11456 \end_layout
11457
11458 \begin_layout Subsection
11459 Horizontal Lines
11460 \begin_inset CommandInset label
11461 LatexCommand label
11462 name "sub:Horizontal-Lines"
11463
11464 \end_inset
11465
11466
11467 \begin_inset Index idx
11468 status collapsed
11469
11470 \begin_layout Plain Layout
11471 Horizontal lines
11472 \end_layout
11473
11474 \end_inset
11475
11476
11477 \end_layout
11478
11479 \begin_layout Standard
11480 \noindent
11481 \begin_inset CommandInset line
11482 LatexCommand rule
11483 offset "0.5ex"
11484 width "100line%"
11485 height "1pt"
11486
11487 \end_inset
11488
11489
11490 \end_layout
11491
11492 \begin_layout Standard
11493 \noindent
11494 In the dialog 
11495 \family sans
11496 Insert\SpecialChar \menuseparator
11497 Formatting\SpecialChar \menuseparator
11498 Horizontal
11499 \begin_inset space ~
11500 \end_inset
11501
11502 Line
11503 \family default
11504  you can insert horizontal lines.
11505  The line offset is the vertical distance between the line and the baseline
11506  of the current text line or the paragraph.
11507  The line settings can be changed by left-clicking on the line.
11508 \end_layout
11509
11510 \begin_layout Standard
11511 \noindent
11512 \begin_inset CommandInset line
11513 LatexCommand rule
11514 offset "0.5ex"
11515 width "100line%"
11516 height "1pt"
11517
11518 \end_inset
11519
11520
11521 \end_layout
11522
11523 \begin_layout Section
11524 Characters and Symbols
11525 \end_layout
11526
11527 \begin_layout Standard
11528 You can directly enter all characters that are available on your keyboard.
11529  You can also use special keyboard maps to be able to enter, for example,
11530  characters needed for French with an English keyboard.
11531  See section
11532 \begin_inset space \thinspace{}
11533 \end_inset
11534
11535
11536 \begin_inset CommandInset ref
11537 LatexCommand ref
11538 reference "sub:Keyboard-mapping"
11539
11540 \end_inset
11541
11542  for information on how this is done.
11543 \end_layout
11544
11545 \begin_layout Standard
11546 For the case where you need a character that is not on your keyboard, you
11547  can use the 
11548 \family sans
11549 Symbols
11550 \family default
11551  dialog via the menu 
11552 \family sans
11553 Insert\SpecialChar \menuseparator
11554 Special Character\SpecialChar \menuseparator
11555 Symbols
11556 \family default
11557 .
11558 \end_layout
11559
11560 \begin_layout Standard
11561 \begin_inset Note Greyedout
11562 status open
11563
11564 \begin_layout Plain Layout
11565
11566 \series bold
11567 Note:
11568 \series default
11569  Maybe not all symbols inserted with the symbols dialog can be displayed
11570  when you are using a special screen font in LyX's preferences.
11571  But the inserted symbols will in every case be displayed in the output.
11572 \end_layout
11573
11574 \end_inset
11575
11576
11577 \end_layout
11578
11579 \begin_layout Section
11580 Fonts and Text Styles
11581 \begin_inset CommandInset label
11582 LatexCommand label
11583 name "sec:Fonts-and-Text"
11584
11585 \end_inset
11586
11587
11588 \end_layout
11589
11590 \begin_layout Subsection
11591 Font Types
11592 \begin_inset Index idx
11593 status collapsed
11594
11595 \begin_layout Plain Layout
11596 Font ! Types
11597 \end_layout
11598
11599 \end_inset
11600
11601
11602 \end_layout
11603
11604 \begin_layout Standard
11605 There are two types of fonts:
11606 \end_layout
11607
11608 \begin_layout Description
11609 Vector
11610 \begin_inset space ~
11611 \end_inset
11612
11613 fonts
11614 \begin_inset Index idx
11615 status collapsed
11616
11617 \begin_layout Plain Layout
11618 Fonts ! Vector-
11619 \end_layout
11620
11621 \end_inset
11622
11623  are built from outlines of the single glyphs (e.
11624 \begin_inset space \thinspace{}
11625 \end_inset
11626
11627 g.
11628  characters) in the font.
11629  This means that each glyph is defined using mathematical curves that are
11630  well suited for scaling to any requested size.
11631  This mathematical definition is interpreted by the font renderer and the
11632  curve is filled out with pixels according to the size and glyph.
11633  This means that vector fonts will look pretty good in all sizes.
11634  Only at very small sizes where each pixel has to be very carefully computed
11635  to provide a good image might it be hard to provide a good rendering.
11636 \begin_inset Newline newline
11637 \end_inset
11638
11639 That could mean that one only needs to define one font size and scale them.
11640  But to achieve a better quality, many fonts define several font sizes.
11641  That improves the appearance because you need more details at large font
11642  sizes than at small ones.
11643 \begin_inset Newline newline
11644 \end_inset
11645
11646 The font types 
11647 \family typewriter
11648 TrueType
11649 \family default
11650
11651 \family typewriter
11652 OpenType
11653 \family default
11654 , and 
11655 \family typewriter
11656 Type
11657 \begin_inset space ~
11658 \end_inset
11659
11660 1
11661 \family default
11662  are vector fonts.
11663 \end_layout
11664
11665 \begin_layout Description
11666 Bitmap
11667 \begin_inset space ~
11668 \end_inset
11669
11670 fonts
11671 \begin_inset Index idx
11672 status collapsed
11673
11674 \begin_layout Plain Layout
11675 Fonts ! Bitmap-
11676 \end_layout
11677
11678 \end_inset
11679
11680  on the other hand, are defined by bitmap graphics from the start; so they
11681  will look good at all the sizes they are meant for.
11682  However, they don't scale well, because in order to scale a glyph, each
11683  pixel is enlarged into several pixels.
11684  It is the same effect that happens if you try to enlarge a picture in an
11685  image manipulation program.
11686  In order to mitigate this effect, bitmap fonts are typically provided in
11687  several fixed sizes typically from around 8
11688 \begin_inset space ~
11689 \end_inset
11690
11691 pixels high up to 34
11692 \begin_inset space ~
11693 \end_inset
11694
11695 pixels or so high in steps according to what is believed to be useful.
11696  The advantage of bitmap fonts is that no complicated computations are necessary
11697  to display each glyph; so bitmap fonts display therefore more quickly than
11698  scalable fonts.
11699  The disadvantage is that sizes that don't exist as fixed versions have
11700  to be scaled by doubling pixels, and thus look bad.
11701 \begin_inset Newline newline
11702 \end_inset
11703
11704 Bitmap fonts are named 
11705 \family typewriter
11706 Type
11707 \begin_inset space ~
11708 \end_inset
11709
11710 3
11711 \family default
11712  in PostScript- and PDF-documents.
11713 \end_layout
11714
11715 \begin_layout Standard
11716 The result of all this is that bitmap fonts are best for the size they are
11717  designed for, while scalable fonts are good for nearly all sizes.
11718  So one needs fewer font size definitions for scalable fonts.
11719  That's the reason why nearly all text rendering and typesetting programs
11720  use scalable fonts.
11721 \end_layout
11722
11723 \begin_layout Standard
11724 To see which fonts are used in a PDF-document, look at its document properties.
11725 \end_layout
11726
11727 \begin_layout Standard
11728 Many modern typesetting and markup languages have begun to move towards
11729  specifying character styles rather than specifying a particular font.
11730  For example, instead of changing to an italicized version of the current
11731  font to emphasize text, you use an 
11732 \begin_inset Quotes eld
11733 \end_inset
11734
11735 emphasized style
11736 \begin_inset Quotes erd
11737 \end_inset
11738
11739  instead.
11740  This concept fits in perfectly with LyX.
11741  In LyX, you do things based on contexts, rather than focusing on typesetting
11742  details.
11743 \end_layout
11744
11745 \begin_layout Subsection
11746 LaTeX font support
11747 \begin_inset CommandInset label
11748 LatexCommand label
11749 name "sub:LaTeX-font-support"
11750
11751 \end_inset
11752
11753
11754 \end_layout
11755
11756 \begin_layout Standard
11757 Traditionally, LaTeX used its own fonts.
11758  That is to say, you cannot directly access the fonts installed on your
11759  operating system, but you have to use specific fonts provided by your LaTeX
11760  distribution.
11761  The reason is that LaTeX needs some extra information about the fonts,
11762  which have to be provided by additional files and packages.
11763  The downside of this is that your font choice is somewhat limited compared
11764  to a word processor.
11765  On the other hand this comes with the advantage that the provided fonts
11766  are generally of very good quality, and that LaTeX files are very portable
11767  across different machines.
11768  Also, the range of fonts supported by traditional LaTeX has increased a
11769  lot in the meantime; so you can find packages for many free and commercial
11770  fonts.
11771  In LyX, only a subset of these are directly selectable via the user interface
11772  (see section
11773 \begin_inset space ~
11774 \end_inset
11775
11776
11777 \begin_inset CommandInset ref
11778 LatexCommand ref
11779 reference "sub:Document-Font"
11780
11781 \end_inset
11782
11783  for details).
11784  However, all the others are available if you enter the relevant LaTeX code
11785  in the document preamble (please refer to the documentation of your desired
11786  font).
11787 \end_layout
11788
11789 \begin_layout Standard
11790 Recent developments brought some new LaTeX engines that are also able directly
11791  to access fonts that are installed for your operating system, namely XeTeX
11792  and LuaTeX.
11793  Both engines are supported by LyX.
11794  By using them, you can theoretically use any OpenType or TrueType font
11795  that is installed on your system.
11796  The next section describes how to use these fonts.
11797 \end_layout
11798
11799 \begin_layout Standard
11800 \begin_inset Note Greyedout
11801 status open
11802
11803 \begin_layout Plain Layout
11804
11805 \series bold
11806 Note:
11807 \series default
11808  In practice, some fonts might fail due to bad metrics and other font deficienci
11809 es; so you might have to experiment.
11810 \end_layout
11811
11812 \end_inset
11813
11814
11815 \end_layout
11816
11817 \begin_layout Standard
11818 \begin_inset Note Greyedout
11819 status open
11820
11821 \begin_layout Plain Layout
11822
11823 \series bold
11824 Note:
11825 \series default
11826  XeTeX and especially LuaTeX, are still rather new and thus not as mature
11827  as traditional LaTeX or PDFTeX.
11828 \end_layout
11829
11830 \end_inset
11831
11832
11833 \end_layout
11834
11835 \begin_layout Subsection
11836 Document Font and Font size
11837 \begin_inset CommandInset label
11838 LatexCommand label
11839 name "sub:Document-Font"
11840
11841 \end_inset
11842
11843
11844 \begin_inset Index idx
11845 status collapsed
11846
11847 \begin_layout Plain Layout
11848 Font ! Size
11849 \end_layout
11850
11851 \end_inset
11852
11853
11854 \begin_inset Index idx
11855 status collapsed
11856
11857 \begin_layout Plain Layout
11858 Document ! Font
11859 \end_layout
11860
11861 \end_inset
11862
11863
11864 \end_layout
11865
11866 \begin_layout Standard
11867 You can set the document fonts in the 
11868 \family sans
11869 Document\SpecialChar \menuseparator
11870 Settings
11871 \family default
11872
11873 \begin_inset Index idx
11874 status collapsed
11875
11876 \begin_layout Plain Layout
11877 Document ! Settings
11878 \end_layout
11879
11880 \end_inset
11881
11882  dialog.
11883  In the 
11884 \family sans
11885 Fonts
11886 \family default
11887  section of the dialog, you can specify which font should be used for the
11888  three different font shapes — roman (serif), 
11889 \family sans
11890 sans
11891 \begin_inset space ~
11892 \end_inset
11893
11894 serif
11895 \family default
11896  and 
11897 \family typewriter
11898 typewriter
11899 \family default
11900  (monospaced) — and you can specify the base font size and scaling factors
11901  for (some) sans serif and typewriter fonts if this is necessary to fit
11902  with the roman font.
11903 \end_layout
11904
11905 \begin_layout Standard
11906 If you select 
11907 \family sans
11908 Use non-T
11909 \begin_inset ERT
11910 status collapsed
11911
11912 \begin_layout Plain Layout
11913
11914 {}
11915 \end_layout
11916
11917 \end_inset
11918
11919 eX fonts
11920 \family default
11921 , you will have access to the fonts installed on your operating system.
11922  This requires that you use 
11923 \family sans
11924 PDF (XeT
11925 \begin_inset ERT
11926 status collapsed
11927
11928 \begin_layout Plain Layout
11929
11930 {}
11931 \end_layout
11932
11933 \end_inset
11934
11935 eX)
11936 \family default
11937
11938 \family sans
11939 PDF (LuaT
11940 \begin_inset ERT
11941 status collapsed
11942
11943 \begin_layout Plain Layout
11944
11945 {}
11946 \end_layout
11947
11948 \end_inset
11949
11950 eX)
11951 \family default
11952  or 
11953 \family sans
11954 DVI (LuaT
11955 \begin_inset ERT
11956 status collapsed
11957
11958 \begin_layout Plain Layout
11959
11960 {}
11961 \end_layout
11962
11963 \end_inset
11964
11965 eX)
11966 \family default
11967  as the output format, i.
11968 \begin_inset space \thinspace{}
11969 \end_inset
11970
11971 e.
11972 \begin_inset space \space{}
11973 \end_inset
11974
11975 you will have to have either XeTeX or LuaTeX installed (see section
11976 \begin_inset space ~
11977 \end_inset
11978
11979
11980 \begin_inset CommandInset ref
11981 LatexCommand ref
11982 reference "sub:LaTeX-font-support"
11983
11984 \end_inset
11985
11986 ).
11987  You will then not have access to TeX's own fonts.
11988  Note that LyX then lists all available fonts in each of the three lists
11989  (roman, sans
11990 \begin_inset space ~
11991 \end_inset
11992
11993 serif, and typewriter), since LyX cannot determine the family.
11994  Also note that the output might fail with some of the listed fonts, due
11995  to the encoding of the fonts and\SpecialChar \slash{}
11996 or font failures.
11997  LyX cannot determine this in advance, so you might need to experiment.
11998 \end_layout
11999
12000 \begin_layout Standard
12001 If you use TeX fonts (which is the default), the possible options for the
12002  font include 
12003 \family sans
12004 Default
12005 \family default
12006  and a list of fonts available with your LaTeX distribution.
12007  If you select 
12008 \family sans
12009 Default,
12010 \family default
12011  the font that is preset by the current document class is used.
12012  In most cases, this will be the standard TeX font, known as 
12013 \begin_inset Quotes eld
12014 \end_inset
12015
12016
12017 \family typewriter
12018 Computer
12019 \begin_inset space ~
12020 \end_inset
12021
12022 Modern
12023 \family default
12024
12025 \begin_inset Quotes erd
12026 \end_inset
12027
12028  (
12029 \family typewriter
12030 cm
12031 \family default
12032 ) or 
12033 \begin_inset Quotes eld
12034 \end_inset
12035
12036
12037 \family typewriter
12038 European Computer Modern
12039 \family default
12040
12041 \begin_inset Quotes erd
12042 \end_inset
12043
12044  (
12045 \family typewriter
12046 ec
12047 \family default
12048 ), but some classes preset different default fonts.
12049 \end_layout
12050
12051 \begin_layout Standard
12052 As 
12053 \family typewriter
12054 cm
12055 \family default
12056  and 
12057 \family typewriter
12058 ec
12059 \family default
12060  are bitmap fonts, they often look pixelated in PDF output, especially when
12061  you read the PDF in a zoomed size.
12062 \begin_inset Foot
12063 status collapsed
12064
12065 \begin_layout Plain Layout
12066 This problem doesn't appear if you read PDFs in 
12067 \family typewriter
12068 Adobe
12069 \begin_inset space ~
12070 \end_inset
12071
12072 Reader
12073 \family default
12074  version 6 or later, because this program includes a special bitmap font
12075  renderer.
12076 \end_layout
12077
12078 \end_inset
12079
12080  To get rid of pixelated fonts, you have to use a vector font.
12081  Depending on how your document should look, you can either:
12082 \end_layout
12083
12084 \begin_layout Itemize
12085 select the 
12086 \family sans
12087 Latin
12088 \begin_inset space ~
12089 \end_inset
12090
12091 Modern
12092 \family default
12093  fonts, which is the recommended choice if you want to keep the look of
12094  
12095 \family typewriter
12096 cm
12097 \family default
12098 /
12099 \family typewriter
12100 ec
12101 \family default
12102 .
12103  
12104 \family sans
12105 Latin
12106 \begin_inset space ~
12107 \end_inset
12108
12109 Modern
12110 \family default
12111  was developed for the LaTeX community in order to replace 
12112 \family typewriter
12113 cm
12114 \family default
12115  as the default font.
12116  It covers a huge range of glyphs and several font shapes.
12117  Except for some details, where the appearance was improved, 
12118 \family sans
12119 Latin
12120 \begin_inset space ~
12121 \end_inset
12122
12123 Modern
12124 \family default
12125  looks identical to 
12126 \family typewriter
12127 cm
12128 \family default
12129 .
12130 \begin_inset Foot
12131 status collapsed
12132
12133 \begin_layout Plain Layout
12134 One difference is improved kerning.
12135 \end_layout
12136
12137 \end_inset
12138
12139
12140 \end_layout
12141
12142 \begin_layout Itemize
12143 or select the 
12144 \family sans
12145 AE
12146 \begin_inset space ~
12147 \end_inset
12148
12149 (Almost
12150 \begin_inset space ~
12151 \end_inset
12152
12153 European)
12154 \family default
12155  fonts in (the rare) case that 
12156 \family sans
12157 Latin
12158 \begin_inset space ~
12159 \end_inset
12160
12161 Modern
12162 \family default
12163  is not available to you or does not work, and you still want to emulate
12164  the look of 
12165 \family typewriter
12166 cm
12167 \family default
12168 /
12169 \family typewriter
12170 ec
12171 \family default
12172 .
12173  
12174 \family typewriter
12175 AE
12176 \family default
12177  is a virtual font.
12178  Virtual means that it 
12179 \begin_inset Quotes eld
12180 \end_inset
12181
12182 steals
12183 \begin_inset Quotes erd
12184 \end_inset
12185
12186  outline 
12187 \family typewriter
12188 cm
12189 \family default
12190 -glyphs from other fonts.
12191  This has the disadvantage that some characters are missing, like the French
12192  guillemets (
12193 \begin_inset Quotes eld
12194 \end_inset
12195
12196 «
12197 \begin_inset Quotes erd
12198 \end_inset
12199
12200  and 
12201 \begin_inset Quotes eld
12202 \end_inset
12203
12204 »
12205 \begin_inset Quotes erd
12206 \end_inset
12207
12208 )
12209 \begin_inset Foot
12210 status collapsed
12211
12212 \begin_layout Plain Layout
12213 Loading the LaTeX-package 
12214 \series bold
12215 aeguill
12216 \series default
12217
12218 \begin_inset Index idx
12219 status collapsed
12220
12221 \begin_layout Plain Layout
12222 LaTeX-packages ! aeguill
12223 \end_layout
12224
12225 \end_inset
12226
12227  with the document preamble line
12228 \begin_inset Newline newline
12229 \end_inset
12230
12231
12232 \series bold
12233
12234 \backslash
12235 usepackage[ec]{aeguill}
12236 \begin_inset Newline newline
12237 \end_inset
12238
12239
12240 \series default
12241 will fix the guillemet problem.
12242 \end_layout
12243
12244 \end_inset
12245
12246  and that accented characters are not 
12247 \emph on
12248 one
12249 \emph default
12250  glyph, but built of 
12251 \emph on
12252 two
12253 \emph default
12254  characters, the accent and the letter.
12255  Therefore you cannot search for words with accented characters in documents
12256  using the 
12257 \family typewriter
12258 AE
12259 \family default
12260  fonts.
12261  If you search for example for the French word 
12262 \begin_inset Quotes eld
12263 \end_inset
12264
12265 rève
12266 \begin_inset Quotes erd
12267 \end_inset
12268
12269  in a PDF, you will not get any result, because the PDF-viewer searches
12270  for the glyph 
12271 \begin_inset Quotes eld
12272 \end_inset
12273
12274  è 
12275 \begin_inset Quotes erd
12276 \end_inset
12277
12278  and not for the glyph 
12279 \begin_inset Quotes eld
12280 \end_inset
12281
12282  e +
12283 \begin_inset space ~
12284 \end_inset
12285
12286  ̀ 
12287 \begin_inset Quotes erd
12288 \end_inset
12289
12290 .
12291 \end_layout
12292
12293 \begin_layout Itemize
12294 If you do not like the look of 
12295 \family typewriter
12296 cm
12297 \family default
12298 /
12299 \family typewriter
12300 ec
12301 \family default
12302 , you can of course select one of the other vector fonts provided, e.
12303 \begin_inset space \thinspace{}
12304 \end_inset
12305
12306 g.
12307 \begin_inset space ~
12308 \end_inset
12309
12310
12311 \family typewriter
12312 Times
12313 \begin_inset space ~
12314 \end_inset
12315
12316 Roman
12317 \family default
12318  or
12319 \family typewriter
12320  Palatino
12321 \family default
12322 .
12323  Most roman vector fonts will automatically select matching sans
12324 \begin_inset space ~
12325 \end_inset
12326
12327 serif and typewriter fonts,
12328 \begin_inset Foot
12329 status collapsed
12330
12331 \begin_layout Plain Layout
12332 These are sometimes just matching other fonts (e.
12333 \begin_inset space \thinspace{}
12334 \end_inset
12335
12336 g., 
12337 \family sans
12338 Times
12339 \begin_inset space ~
12340 \end_inset
12341
12342 Roman
12343 \family default
12344  selects 
12345 \family sans
12346 Helvetica
12347 \family default
12348  for sans serif text), or different shapes of the same font, i.
12349 \begin_inset space \thinspace{}
12350 \end_inset
12351
12352 e.
12353 \begin_inset space \space{}
12354 \end_inset
12355
12356 a real font 
12357 \emph on
12358 family
12359 \emph default
12360  (e.
12361 \begin_inset space \thinspace{}
12362 \end_inset
12363
12364 g.
12365 \begin_inset space \space{}
12366 \end_inset
12367
12368 in case of 
12369 \family sans
12370 Latin
12371 \begin_inset space ~
12372 \end_inset
12373
12374 Modern
12375 \family default
12376  oder 
12377 \family sans
12378 Computer
12379 \begin_inset space ~
12380 \end_inset
12381
12382 Modern
12383 \family default
12384 ).
12385 \end_layout
12386
12387 \end_inset
12388
12389  but you can also select your own.
12390 \begin_inset Newline newline
12391 \end_inset
12392
12393 The differences between roman, 
12394 \family sans
12395 sans
12396 \begin_inset space ~
12397 \end_inset
12398
12399 serif
12400 \family default
12401  and 
12402 \family typewriter
12403 typewriter
12404 \family default
12405  fonts are explained in section
12406 \begin_inset space ~
12407 \end_inset
12408
12409
12410 \begin_inset CommandInset ref
12411 LatexCommand ref
12412 reference "sub:Fine-Tuning-with-the"
12413
12414 \end_inset
12415
12416 .
12417 \begin_inset Newline newline
12418 \end_inset
12419
12420 The font 
12421 \family sans
12422 Times
12423 \begin_inset space ~
12424 \end_inset
12425
12426 Roman
12427 \family default
12428  was originally designed for newspapers.
12429  Its glyphs are thus smaller than glyphs from other fonts in order to fit
12430  into the small newspaper columns.
12431  Therefore 
12432 \family sans
12433 Times
12434 \begin_inset space ~
12435 \end_inset
12436
12437 Roman
12438 \family default
12439  is not the optimal choice for larger documents like books.
12440 \end_layout
12441
12442 \begin_layout Standard
12443 For the font size there are generally four possible values: 
12444 \family sans
12445 Default, 10
12446 \family default
12447
12448 \family sans
12449 11
12450 \family default
12451  and 
12452 \family sans
12453 12
12454 \family default
12455 .
12456  Some classes provide additional sizes.
12457  The size of 
12458 \family sans
12459 Default
12460 \family default
12461  depends on the class you are using.
12462  In the standard classes it is equal to the font size 10.
12463 \end_layout
12464
12465 \begin_layout Standard
12466 Note that the font size is the 
12467 \emph on
12468 base size
12469 \emph default
12470 .
12471  That means that LyX scales all other possible font sizes (such as those
12472  used in footnotes, super-, and subscripts) by this value.
12473  You can fine-tune the font size of text parts via the 
12474 \family sans
12475 Text
12476 \begin_inset space ~
12477 \end_inset
12478
12479 Style
12480 \family default
12481  dialog if needed.
12482  The possible font sizes for text parts are explained in section
12483 \begin_inset space ~
12484 \end_inset
12485
12486
12487 \begin_inset CommandInset ref
12488 LatexCommand ref
12489 reference "sub:Fine-Tuning-with-the"
12490
12491 \end_inset
12492
12493 .
12494 \end_layout
12495
12496 \begin_layout Standard
12497 The 
12498 \family sans
12499 Default
12500 \begin_inset space ~
12501 \end_inset
12502
12503 Family
12504 \family default
12505  selection lets you specify whether the base font of your document should
12506  be roman, sans
12507 \begin_inset space ~
12508 \end_inset
12509
12510 serif or typewriter.
12511  The 
12512 \family sans
12513 Default
12514 \family default
12515  selection uses what is preset by the class, the other selections override
12516  this.
12517  In most cases, 
12518 \family sans
12519 Default
12520 \family default
12521  is equal to 
12522 \family sans
12523 roman
12524 \family default
12525 , but some classes (such as presentation classes) use other defaults.
12526 \end_layout
12527
12528 \begin_layout Standard
12529 The
12530 \family typewriter
12531  
12532 \family sans
12533 LaTe
12534 \begin_inset ERT
12535 status collapsed
12536
12537 \begin_layout Plain Layout
12538
12539 {}
12540 \end_layout
12541
12542 \end_inset
12543
12544 X font encoding
12545 \family default
12546  selection is an expert setting which lets you change the value passed to
12547  the LaTeX-package 
12548 \series bold
12549 fontenc
12550 \series default
12551
12552 \begin_inset Index idx
12553 status collapsed
12554
12555 \begin_layout Plain Layout
12556 LaTeX-packages ! fontenc
12557 \end_layout
12558
12559 \end_inset
12560
12561  (see also sec.
12562 \begin_inset space ~
12563 \end_inset
12564
12565
12566 \begin_inset CommandInset ref
12567 LatexCommand ref
12568 reference "sub:LaTeX-settings"
12569
12570 \end_inset
12571
12572 ).
12573  Normally, you do not need to change (or even understand) this.
12574  Unless you have specific reasons, use 
12575 \family sans
12576 Default
12577 \family default
12578 .
12579 \end_layout
12580
12581 \begin_layout Standard
12582 With some fonts, the checkboxes 
12583 \family sans
12584 Use Old Style Figures
12585 \family default
12586  and 
12587 \family sans
12588 Use True Small Caps
12589 \family default
12590  are available.
12591  These are extra features some fonts provide.
12592  If 
12593 \family sans
12594 Use Old Style Figures
12595 \family default
12596  is checked, old style figures (also known as medieval or text figures)
12597  are used.
12598  Old style figures are the numerals (0
12599 \begin_inset space \thinspace{}
12600 \end_inset
12601
12602 --
12603 \begin_inset space \thinspace{}
12604 \end_inset
12605
12606 9) with ascenders and descenders, which makes them fit nicely with lowercase
12607  letters.
12608  
12609 \family sans
12610 Use True Small Caps
12611 \family default
12612  determines that real small caps are used instead of faked small caps made
12613  of scaled capitals.
12614  Real small caps are often part of expert font sets; they generally look
12615  better than faked small caps but might have to be purchased separately.
12616 \end_layout
12617
12618 \begin_layout Standard
12619 The field 
12620 \family sans
12621 CJK
12622 \family default
12623  allows users of the languages Chinese, Japanese, Korean (CJK) to specify
12624  a font to display the script characters.
12625 \begin_inset Foot
12626 status collapsed
12627
12628 \begin_layout Plain Layout
12629 The font will be the argument for the commands of the LaTeX-package 
12630 \series bold
12631 CJK
12632 \series default
12633 .
12634 \begin_inset Index idx
12635 status collapsed
12636
12637 \begin_layout Plain Layout
12638 LaTeX-packages ! CJK
12639 \end_layout
12640
12641 \end_inset
12642
12643  So this has no effect for the document language 
12644 \family sans
12645 Japanese
12646 \family default
12647  that does not use 
12648 \series bold
12649 CJK
12650 \series default
12651 .
12652 \end_layout
12653
12654 \end_inset
12655
12656
12657 \begin_inset VSpace bigskip
12658 \end_inset
12659
12660
12661 \begin_inset Note Greyedout
12662 status open
12663
12664 \begin_layout Plain Layout
12665
12666 \series bold
12667 Note:
12668 \series default
12669  When you choose a new font or font size, LyX does 
12670 \emph on
12671 not
12672 \emph default
12673  change the screen font! You will only see a difference in the printed output;
12674  this is part of the WYSIWYM concept.
12675  LyX's screen fonts can be adjusted in the 
12676 \family sans
12677 Tools\SpecialChar \menuseparator
12678 Preferences
12679 \family default
12680  dialog, see section
12681 \begin_inset space ~
12682 \end_inset
12683
12684
12685 \begin_inset CommandInset ref
12686 LatexCommand ref
12687 reference "sub:Screen-Fonts"
12688
12689 \end_inset
12690
12691 .
12692 \end_layout
12693
12694 \end_inset
12695
12696
12697 \end_layout
12698
12699 \begin_layout Subsection
12700 Using Different Character Styles
12701 \begin_inset Index idx
12702 status collapsed
12703
12704 \begin_layout Plain Layout
12705 Character Styles
12706 \end_layout
12707
12708 \end_inset
12709
12710
12711 \begin_inset Index idx
12712 status collapsed
12713
12714 \begin_layout Plain Layout
12715 Text Style
12716 \end_layout
12717
12718 \end_inset
12719
12720
12721 \end_layout
12722
12723 \begin_layout Standard
12724 As we've already seen, LyX automatically changes the character style for
12725  certain paragraph environments.
12726  LyX supports two character styles, 
12727 \family sans
12728 Emphasized
12729 \family default
12730  and 
12731 \family sans
12732 Noun
12733 \family default
12734 .
12735  You can activate both of these styles via keybindings, the menus, and the
12736  toolbar.
12737 \end_layout
12738
12739 \begin_layout Standard
12740 To activate the 
12741 \family sans
12742 Noun
12743 \family default
12744  style, do one of the following:
12745 \end_layout
12746
12747 \begin_layout Itemize
12748 click on the toolbar button 
12749 \begin_inset Info
12750 type  "icon"
12751 arg   "font-noun"
12752 \end_inset
12753
12754
12755 \end_layout
12756
12757 \begin_layout Itemize
12758 use the key binding 
12759 \begin_inset Info
12760 type  "shortcut"
12761 arg   "font-noun"
12762 \end_inset
12763
12764
12765 \end_layout
12766
12767 \begin_layout Standard
12768 These commands are all toggles.
12769  That is, if 
12770 \family sans
12771 Noun
12772 \family default
12773  style is already active, they deactivate it.
12774 \end_layout
12775
12776 \begin_layout Standard
12777 One typically uses the 
12778 \family sans
12779 Noun
12780 \family default
12781  style for proper names.
12782  For example: 
12783 \begin_inset Quotes eld
12784 \end_inset
12785
12786
12787 \noun on
12788 Matthias Ettrich
12789 \noun default
12790  is the original author of LyX.
12791 \begin_inset Quotes erd
12792 \end_inset
12793
12794
12795 \end_layout
12796
12797 \begin_layout Standard
12798 A more widely used character style is the 
12799 \family sans
12800 Emphasized
12801 \family default
12802  style.
12803  You can activate (or deactivate — it's also a toggle) the 
12804 \family sans
12805 Emphasized
12806 \family default
12807  style by:
12808 \end_layout
12809
12810 \begin_layout Itemize
12811 clicking on the toolbar button 
12812 \begin_inset Info
12813 type  "icon"
12814 arg   "font-emph"
12815 \end_inset
12816
12817
12818 \end_layout
12819
12820 \begin_layout Itemize
12821 using the keybindings 
12822 \begin_inset Info
12823 type  "shortcut"
12824 arg   "font-emph"
12825 \end_inset
12826
12827
12828 \end_layout
12829
12830 \begin_layout Standard
12831 Normally the 
12832 \family sans
12833 Emphasized
12834 \family default
12835  style is equivalent to an italic font but some document classes or LaTeX-packag
12836 es use a different font.
12837 \end_layout
12838
12839 \begin_layout Standard
12840 We've been using the 
12841 \family sans
12842 Emphasized
12843 \family default
12844  style all over the place in this document.
12845  Here's one more example:
12846 \end_layout
12847
12848 \begin_layout Quotation
12849
12850 \emph on
12851 Do not overuse character styles!
12852 \end_layout
12853
12854 \begin_layout Standard
12855 It's also a warning in addition to an example.
12856  One's writing should parallel ordinary conversation.
12857  Since we don't all constantly scream at each other, we should also avoid
12858  the common tendency to overuse character styles.
12859  
12860 \end_layout
12861
12862 \begin_layout Standard
12863 You can always reset to the default font using the key binding 
12864 \begin_inset Info
12865 type  "shortcut"
12866 arg   "font-default"
12867 \end_inset
12868
12869  or the dialog 
12870 \family sans
12871 Edit\SpecialChar \menuseparator
12872 Text
12873 \begin_inset space ~
12874 \end_inset
12875
12876 Style\SpecialChar \menuseparator
12877 Customized
12878 \family default
12879  (
12880 \begin_inset Info
12881 type  "icon"
12882 arg   "dialog-show character"
12883 \end_inset
12884
12885 ).
12886 \end_layout
12887
12888 \begin_layout Subsection
12889 Fine-Tuning with the 
12890 \family sans
12891 Text Style
12892 \family default
12893  dialog
12894 \begin_inset CommandInset label
12895 LatexCommand label
12896 name "sub:Fine-Tuning-with-the"
12897
12898 \end_inset
12899
12900
12901 \begin_inset Index idx
12902 status collapsed
12903
12904 \begin_layout Plain Layout
12905 Text Style
12906 \end_layout
12907
12908 \end_inset
12909
12910
12911 \end_layout
12912
12913 \begin_layout Standard
12914 There are always occasions when you will need to do some fine-tuning; so
12915  LyX gives you a way to create a custom character style.
12916  For example, an academic journal or a corporation may have a style sheet
12917  requiring a sans-serif font be used in certain situations.
12918  Also, writers sometimes use a different font to offset a character's thoughts
12919  from ordinary dialog.
12920 \end_layout
12921
12922 \begin_layout Standard
12923 Before we document how to use custom character style, we want to issue a
12924  warning yet again: Don't overuse character styles! 
12925 \begin_inset Newline newline
12926 \end_inset
12927
12928 Documents that overuse different fonts and sizes are not easy to read and
12929  tend to look as if someone has knocked huge holes in them.
12930 \end_layout
12931
12932 \begin_layout Standard
12933 To use custom character styles, open the 
12934 \family sans
12935 Edit\SpecialChar \menuseparator
12936 Text
12937 \begin_inset space ~
12938 \end_inset
12939
12940 Style\SpecialChar \menuseparator
12941 Customized
12942 \family default
12943  dialog or press the toolbar button 
12944 \begin_inset Info
12945 type  "icon"
12946 arg   "dialog-show character"
12947 \end_inset
12948
12949 .
12950  There are several boxes in this dialog, each corresponding to a different
12951  font property that you can choose.
12952  You can choose an option for one of these properties, or select 
12953 \family sans
12954 No
12955 \begin_inset space ~
12956 \end_inset
12957
12958 change
12959 \family default
12960 , which keeps the current state of that property.
12961  The item 
12962 \family sans
12963 Reset
12964 \family default
12965  will reset the property to whatever is the default.
12966  You can use this to reset attributes across a bunch of different paragraph
12967  environments all at once.
12968 \end_layout
12969
12970 \begin_layout Standard
12971 The font properties, and their options (in addition to 
12972 \family sans
12973 No
12974 \begin_inset space ~
12975 \end_inset
12976
12977 change
12978 \family default
12979  and 
12980 \family sans
12981 Reset
12982 \family default
12983 ) are:
12984 \end_layout
12985
12986 \begin_layout Labeling
12987 \labelwidthstring 00.00.0000
12988
12989 \family sans
12990 Family
12991 \family default
12992  The 
12993 \begin_inset Quotes eld
12994 \end_inset
12995
12996 overall look
12997 \begin_inset Quotes erd
12998 \end_inset
12999
13000  of the font.
13001  The possible options are:
13002 \end_layout
13003
13004 \begin_deeper
13005 \begin_layout Labeling
13006 \labelwidthstring 00.00.0000
13007
13008 \family sans
13009 Roman
13010 \family default
13011  This is the Roman font family.
13012  Normally a serif font.
13013  It's also the default family.
13014  (key binding 
13015 \begin_inset Info
13016 type  "shortcut"
13017 arg   "font-roman"
13018 \end_inset
13019
13020 )
13021 \end_layout
13022
13023 \begin_layout Labeling
13024 \labelwidthstring 00.00.0000
13025
13026 \family sans
13027 Sans
13028 \begin_inset space ~
13029 \end_inset
13030
13031 Serif
13032 \family default
13033  
13034 \family sans
13035 This is the Sans Serif font family.
13036
13037 \family default
13038  (key binding 
13039 \begin_inset Info
13040 type  "shortcut"
13041 arg   "font-sans"
13042 \end_inset
13043
13044 )
13045 \end_layout
13046
13047 \begin_layout Labeling
13048 \labelwidthstring 00.00.0000
13049
13050 \family sans
13051 Typewriter
13052 \family default
13053  
13054 \family typewriter
13055 This is the Typewriter font family.
13056
13057 \family default
13058  (key binding 
13059 \begin_inset Info
13060 type  "shortcut"
13061 arg   "font-typewriter"
13062 \end_inset
13063
13064
13065 \family sans
13066 )
13067 \end_layout
13068
13069 \end_deeper
13070 \begin_layout Labeling
13071 \labelwidthstring 00.00.0000
13072
13073 \family sans
13074 Series
13075 \family default
13076  This corresponds to the print weight.
13077  Options are:
13078 \end_layout
13079
13080 \begin_deeper
13081 \begin_layout Labeling
13082 \labelwidthstring 00.00.0000
13083
13084 \family sans
13085 Medium
13086 \family default
13087  This is the Medium font series.
13088  It's also the default series.
13089 \end_layout
13090
13091 \begin_layout Labeling
13092 \labelwidthstring 00.00.0000
13093
13094 \family sans
13095 Bold
13096 \family default
13097  
13098 \series bold
13099 This is the Bold font series.
13100
13101 \series default
13102  (key binding 
13103 \begin_inset Info
13104 type  "shortcut"
13105 arg   "font-bold"
13106 \end_inset
13107
13108 )
13109 \end_layout
13110
13111 \end_deeper
13112 \begin_layout Labeling
13113 \labelwidthstring 00.00.0000
13114
13115 \family sans
13116 Shape
13117 \family default
13118  As the name implies.
13119  Options are:
13120 \end_layout
13121
13122 \begin_deeper
13123 \begin_layout Labeling
13124 \labelwidthstring 00.00.0000
13125
13126 \family sans
13127 Upright
13128 \family default
13129  This is the Upright font shape.
13130  It's also the default shape.
13131 \end_layout
13132
13133 \begin_layout Labeling
13134 \labelwidthstring 00.00.0000
13135
13136 \family sans
13137 Italic
13138 \family default
13139  
13140 \shape italic
13141 This
13142 \shape default
13143  
13144 \family sans
13145 \shape italic
13146 i
13147 \family default
13148 s the Italic font shape
13149 \shape default
13150 \emph on
13151 .
13152 \end_layout
13153
13154 \begin_layout Labeling
13155 \labelwidthstring 00.00.0000
13156
13157 \family sans
13158 Slanted
13159 \family default
13160  
13161 \shape slanted
13162 This is the Slanted font shape
13163 \shape default
13164  (although it might not be visible in LyX, this is different from italic).
13165 \end_layout
13166
13167 \begin_layout Labeling
13168 \labelwidthstring 00.00.0000
13169
13170 \family sans
13171 Small
13172 \begin_inset space ~
13173 \end_inset
13174
13175 Caps
13176 \family default
13177  
13178 \shape smallcaps
13179 This is the Small caps font shape
13180 \shape default
13181 \noun on
13182 .
13183 \end_layout
13184
13185 \end_deeper
13186 \begin_layout Labeling
13187 \labelwidthstring 00.00.0000
13188
13189 \family sans
13190 Color
13191 \family default
13192  Alters the text color.
13193  Note that not all DVI-viewers are able to display colors.
13194  Besides 
13195 \family sans
13196 No
13197 \begin_inset space ~
13198 \end_inset
13199
13200 color
13201 \family default
13202 , which means that the document default color set in 
13203 \family sans
13204 Document\SpecialChar \menuseparator
13205 Settings\SpecialChar \menuseparator
13206 Color
13207 \family default
13208  for 
13209 \family sans
13210 Main
13211 \begin_inset space ~
13212 \end_inset
13213
13214 text
13215 \family default
13216  is used, you can choose between 
13217 \family sans
13218 Black
13219 \family default
13220
13221 \family sans
13222 White
13223 \family default
13224
13225 \family sans
13226 Red
13227 \family default
13228
13229 \family sans
13230 Green
13231 \family default
13232
13233 \family sans
13234 Blue
13235 \family default
13236
13237 \family sans
13238 Cyan
13239 \family default
13240
13241 \family sans
13242 Magenta
13243 \family default
13244  and 
13245 \family sans
13246 Yellow
13247 \family default
13248  text.
13249 \begin_inset Index idx
13250 status collapsed
13251
13252 \begin_layout Plain Layout
13253 Color ! Text
13254 \end_layout
13255
13256 \end_inset
13257
13258
13259 \end_layout
13260
13261 \begin_layout Labeling
13262 \labelwidthstring 00.00.0000
13263
13264 \family sans
13265 Language
13266 \family default
13267  This is used to mark regions of text as having a different language from
13268  the language of the document.
13269  Text marked in this way will be underlined in blue to indicate the change
13270  (only within LyX).
13271 \begin_inset Newline newline
13272 \end_inset
13273
13274 If you have for example, an extract of German text in a non-German document,
13275  LaTeX respects the German hyphenation rules automatically.
13276  When using the spell checking (see section
13277 \begin_inset space ~
13278 \end_inset
13279
13280
13281 \begin_inset CommandInset ref
13282 LatexCommand ref
13283 reference "sec:Spellchecking"
13284
13285 \end_inset
13286
13287 ) the German-marked text will be checked according to the German dictionary.
13288 \end_layout
13289
13290 \begin_layout Labeling
13291 \labelwidthstring 00.00.0000
13292
13293 \family sans
13294 Size
13295 \family default
13296  Alters the size of the font.
13297  You will find no numerical values here; all possible sizes are actually
13298  proportional to the document font size.
13299  Once again, you don't feed LyX the details, but a general description of
13300  what you want to do.
13301  The options are:
13302 \end_layout
13303
13304 \begin_deeper
13305 \begin_layout Labeling
13306 \labelwidthstring 00.00.0000
13307
13308 \family sans
13309 Tiny
13310 \family default
13311  
13312 \size tiny
13313 This is the 
13314 \begin_inset Quotes eld
13315 \end_inset
13316
13317 Tiny
13318 \begin_inset Quotes erd
13319 \end_inset
13320
13321  font size.
13322
13323 \size default
13324  (key bindings 
13325 \begin_inset Info
13326 type  "shortcuts"
13327 arg   "font-size tiny"
13328 \end_inset
13329
13330 )
13331 \end_layout
13332
13333 \begin_layout Labeling
13334 \labelwidthstring 00.00.0000
13335
13336 \family sans
13337 Smallest
13338 \family default
13339  
13340 \size scriptsize
13341 This is the 
13342 \begin_inset Quotes eld
13343 \end_inset
13344
13345 Smallest
13346 \begin_inset Quotes erd
13347 \end_inset
13348
13349  font size
13350 \size default
13351 .
13352  (key binding 
13353 \begin_inset Info
13354 type  "shortcut"
13355 arg   "font-size scriptsize"
13356 \end_inset
13357
13358 )
13359 \end_layout
13360
13361 \begin_layout Labeling
13362 \labelwidthstring 00.00.0000
13363
13364 \family sans
13365 Smaller
13366 \family default
13367  
13368 \size footnotesize
13369 This is the 
13370 \begin_inset Quotes eld
13371 \end_inset
13372
13373 Smaller
13374 \begin_inset Quotes erd
13375 \end_inset
13376
13377  font size.
13378
13379 \size default
13380  (key bindings 
13381 \begin_inset Info
13382 type  "shortcuts"
13383 arg   "font-size footnotesize"
13384 \end_inset
13385
13386 )
13387 \end_layout
13388
13389 \begin_layout Labeling
13390 \labelwidthstring 00.00.0000
13391
13392 \family sans
13393 Small
13394 \family default
13395  
13396 \size small
13397 This is the 
13398 \begin_inset Quotes eld
13399 \end_inset
13400
13401 Small
13402 \begin_inset Quotes erd
13403 \end_inset
13404
13405  font size.
13406
13407 \size default
13408  (key bindings 
13409 \begin_inset Info
13410 type  "shortcuts"
13411 arg   "font-size small"
13412 \end_inset
13413
13414 )
13415 \end_layout
13416
13417 \begin_layout Labeling
13418 \labelwidthstring 00.00.0000
13419
13420 \family sans
13421 Normal
13422 \family default
13423  This is the 
13424 \begin_inset Quotes eld
13425 \end_inset
13426
13427 Normal
13428 \begin_inset Quotes erd
13429 \end_inset
13430
13431  font size.
13432  It's also the default size.
13433  (key bindings 
13434 \begin_inset Info
13435 type  "shortcuts"
13436 arg   "font-size normal"
13437 \end_inset
13438
13439 )
13440 \end_layout
13441
13442 \begin_layout Labeling
13443 \labelwidthstring 00.00.0000
13444
13445 \family sans
13446 Large
13447 \family default
13448  
13449 \size large
13450 This is the 
13451 \begin_inset Quotes eld
13452 \end_inset
13453
13454 Large
13455 \begin_inset Quotes erd
13456 \end_inset
13457
13458  font size.
13459
13460 \size default
13461  (key bindings 
13462 \begin_inset Info
13463 type  "shortcuts"
13464 arg   "font-size large"
13465 \end_inset
13466
13467 )
13468 \end_layout
13469
13470 \begin_layout Labeling
13471 \labelwidthstring 00.00.0000
13472
13473 \family sans
13474 Larger
13475 \family default
13476  
13477 \size larger
13478 This is the 
13479 \begin_inset Quotes eld
13480 \end_inset
13481
13482 Larger
13483 \begin_inset Quotes erd
13484 \end_inset
13485
13486  font size.
13487
13488 \size default
13489  (key bindings 
13490 \begin_inset Info
13491 type  "shortcuts"
13492 arg   "font-size larger"
13493 \end_inset
13494
13495 )
13496 \end_layout
13497
13498 \begin_layout Labeling
13499 \labelwidthstring 00.00.0000
13500
13501 \family sans
13502 Largest
13503 \family default
13504  
13505 \size largest
13506 This is the 
13507 \begin_inset Quotes eld
13508 \end_inset
13509
13510 Largest
13511 \begin_inset Quotes erd
13512 \end_inset
13513
13514  font size.
13515
13516 \size default
13517  (key binding 
13518 \begin_inset Info
13519 type  "shortcut"
13520 arg   "font-size largest"
13521 \end_inset
13522
13523 )
13524 \end_layout
13525
13526 \begin_layout Labeling
13527 \labelwidthstring 00.00.0000
13528
13529 \family sans
13530 Huge
13531 \family default
13532  
13533 \size huge
13534 This is the 
13535 \begin_inset Quotes eld
13536 \end_inset
13537
13538 Huge
13539 \begin_inset Quotes erd
13540 \end_inset
13541
13542  font size.
13543
13544 \size default
13545  (key bindings 
13546 \begin_inset Info
13547 type  "shortcuts"
13548 arg   "font-size huge"
13549 \end_inset
13550
13551 )
13552 \end_layout
13553
13554 \begin_layout Labeling
13555 \labelwidthstring 00.00.0000
13556
13557 \family sans
13558 Huger
13559 \family default
13560  
13561 \size giant
13562 This is the 
13563 \begin_inset Quotes eld
13564 \end_inset
13565
13566 Huger
13567 \begin_inset Quotes erd
13568 \end_inset
13569
13570  font size.
13571
13572 \size default
13573  (key bindings 
13574 \begin_inset Info
13575 type  "shortcuts"
13576 arg   "font-size giant"
13577 \end_inset
13578
13579 )
13580 \end_layout
13581
13582 \begin_layout Labeling
13583 \labelwidthstring 00.00.0000
13584
13585 \family sans
13586 Increase
13587 \family default
13588  This increases the size by one step (for instance, from 
13589 \begin_inset Quotes eld
13590 \end_inset
13591
13592 Largest
13593 \begin_inset Quotes erd
13594 \end_inset
13595
13596  to 
13597 \begin_inset Quotes eld
13598 \end_inset
13599
13600 Huge
13601 \begin_inset Quotes erd
13602 \end_inset
13603
13604 ).
13605  (key binding 
13606 \begin_inset Info
13607 type  "shortcut"
13608 arg   "font-size increase"
13609 \end_inset
13610
13611 )
13612 \end_layout
13613
13614 \begin_layout Labeling
13615 \labelwidthstring 00.00.0000
13616
13617 \family sans
13618 Decrease
13619 \family default
13620  This decreases the size by one step (for instance, from 
13621 \begin_inset Quotes eld
13622 \end_inset
13623
13624 Normal
13625 \begin_inset Quotes erd
13626 \end_inset
13627
13628  to 
13629 \begin_inset Quotes eld
13630 \end_inset
13631
13632 Small
13633 \begin_inset Quotes erd
13634 \end_inset
13635
13636 ).
13637  (key binding 
13638 \begin_inset Info
13639 type  "shortcut"
13640 arg   "font-size decrease"
13641 \end_inset
13642
13643 )
13644 \end_layout
13645
13646 \end_deeper
13647 \begin_layout Standard
13648 We warn you 
13649 \emph on
13650 yet again
13651 \emph default
13652 : don't go crazy with this feature.
13653  You should almost never need to change the font size.
13654  LyX automatically changes the font size for different paragraph environments
13655  — use those instead.
13656  This is here for fine-tuning only!
13657 \end_layout
13658
13659 \begin_layout Labeling
13660 \labelwidthstring 00.00.0000
13661
13662 \family sans
13663 Misc
13664 \family default
13665  Here you can change a few other things at the character level.
13666  Options are:
13667 \end_layout
13668
13669 \begin_deeper
13670 \begin_layout Labeling
13671 \labelwidthstring 00.00.0000
13672
13673 \family sans
13674 Emph
13675 \family default
13676  
13677 \emph on
13678 This is text with emphasize on
13679 \emph default
13680 .
13681  This might seem like the same as 
13682 \shape italic
13683 Italic
13684 \shape default
13685 , but it is actually a bit different.
13686  Emphasized is a 
13687 \emph on
13688 logical
13689 \emph default
13690  attribute.
13691  That means every document class can define its own font used for emphasized
13692  text.
13693  Normally this font is equal to italic.
13694 \end_layout
13695
13696 \begin_layout Labeling
13697 \labelwidthstring 00.00.0000
13698
13699 \family sans
13700 Underbar
13701 \family default
13702  
13703 \bar under
13704 This is text with Underbar on.
13705
13706 \bar default
13707  (key binding 
13708 \begin_inset Info
13709 type  "shortcuts"
13710 arg   "font-underline"
13711 \end_inset
13712
13713
13714 \family sans
13715 )
13716 \begin_inset Newline newline
13717 \end_inset
13718
13719
13720 \family default
13721 Avoid using underbar if you can! It is a hangover from the typewriter days,
13722  when you could not change fonts.
13723  One no longer needs to emphasize text by underscoring characters.
13724  This is only possible in LyX because some people 
13725 \emph on
13726 may
13727 \emph default
13728  need it in order to follow style sheets for journal submissions.
13729 \end_layout
13730
13731 \begin_layout Labeling
13732 \labelwidthstring 00.00.0000
13733
13734 \family sans
13735 Double
13736 \begin_inset space ~
13737 \end_inset
13738
13739 underbar
13740 \family default
13741  
13742 \uuline on
13743 This is text with Double underbar on.
13744
13745 \uuline default
13746  (key binding 
13747 \begin_inset Info
13748 type  "shortcut"
13749 arg   "font-underunderline"
13750 \end_inset
13751
13752 )
13753 \begin_inset Newline newline
13754 \end_inset
13755
13756 As we just warned you against using underbar, you can imagine what we think
13757  about double underbar.
13758 \end_layout
13759
13760 \begin_layout Labeling
13761 \labelwidthstring 00.00.0000
13762
13763 \family sans
13764 Wavy
13765 \begin_inset space ~
13766 \end_inset
13767
13768 underbar
13769 \family default
13770  
13771 \uwave on
13772 This is text with Wavy underbar on.
13773
13774 \uwave default
13775  (key binding 
13776 \begin_inset Info
13777 type  "shortcut"
13778 arg   "font-underwave"
13779 \end_inset
13780
13781 )
13782 \begin_inset Newline newline
13783 \end_inset
13784
13785 Use this only if a journal absolutely insists on it.
13786  Keep antinausea pills handy.
13787 \end_layout
13788
13789 \begin_layout Labeling
13790 \labelwidthstring 00.00.0000
13791
13792 \family sans
13793 Strikeout
13794 \family default
13795  
13796 \strikeout on
13797 This is text with Strikeout on.
13798
13799 \strikeout default
13800  (key binding 
13801 \begin_inset Info
13802 type  "shortcut"
13803 arg   "font-strikeout"
13804 \end_inset
13805
13806 )
13807 \begin_inset Newline newline
13808 \end_inset
13809
13810 This is frequently used to indicate an older version of text that has been
13811  changed in the meantime.
13812 \end_layout
13813
13814 \begin_layout Labeling
13815 \labelwidthstring 00.00.0000
13816
13817 \family sans
13818 Noun
13819 \family default
13820  
13821 \noun on
13822 This is text with Noun on.
13823
13824 \noun default
13825  Like 
13826 \family sans
13827 Emph
13828 \family default
13829 , this is a logical attribute.
13830  Normally it's equivalent to 
13831 \family sans
13832 Small
13833 \begin_inset space ~
13834 \end_inset
13835
13836 Caps
13837 \family default
13838 .
13839 \end_layout
13840
13841 \end_deeper
13842 \begin_layout Standard
13843 So you have a huge number of combinations to choose from.
13844  Once you have chosen a new character style via the 
13845 \family sans
13846 Edit\SpecialChar \menuseparator
13847 Text
13848 \begin_inset space ~
13849 \end_inset
13850
13851 Style\SpecialChar \menuseparator
13852 Customized
13853 \family default
13854  (
13855 \begin_inset Info
13856 type  "icon"
13857 arg   "dialog-show character"
13858 \end_inset
13859
13860 ) dialog, the settings are saved.
13861  You can activate them by using the toolbar button 
13862 \begin_inset Info
13863 type  "icon"
13864 arg   "textstyle-apply"
13865 \end_inset
13866
13867 .
13868  The button lets you apply your custom character style even when the dialog
13869  isn't visible.
13870 \end_layout
13871
13872 \begin_layout Standard
13873 To completely reset the character style to the default, use 
13874 \begin_inset Info
13875 type  "shortcut"
13876 arg   "font-default"
13877 \end_inset
13878
13879 .
13880  If you want to toggle only those properties that you have just changed
13881  (suppose you just set the shape to 
13882 \begin_inset Quotes eld
13883 \end_inset
13884
13885 slanted
13886 \begin_inset Quotes erd
13887 \end_inset
13888
13889  and the series to 
13890 \begin_inset Quotes eld
13891 \end_inset
13892
13893 bold
13894 \begin_inset Quotes erd
13895 \end_inset
13896
13897 ), set the 
13898 \family sans
13899 Toggle
13900 \begin_inset space ~
13901 \end_inset
13902
13903 all
13904 \family default
13905  switch and press 
13906 \family sans
13907 Apply
13908 \family default
13909 .
13910 \end_layout
13911
13912 \begin_layout Standard
13913 You should also know something about the differences between the three main
13914  font types 
13915 \family sans
13916 serif
13917 \family default
13918
13919 \family sans
13920 sans
13921 \begin_inset space ~
13922 \end_inset
13923
13924 serif
13925 \family default
13926 , and 
13927 \family sans
13928 typewriter
13929 \family default
13930 :
13931 \end_layout
13932
13933 \begin_layout Itemize
13934
13935 \family sans
13936 Typewriter
13937 \family default
13938  is a so called 
13939 \begin_inset Quotes eld
13940 \end_inset
13941
13942 monospaced
13943 \begin_inset Quotes erd
13944 \end_inset
13945
13946  font, which means every character has the same width; the 
13947 \begin_inset Quotes eld
13948 \end_inset
13949
13950 i
13951 \begin_inset Quotes erd
13952 \end_inset
13953
13954  is as wide as the 
13955 \begin_inset Quotes eld
13956 \end_inset
13957
13958 m
13959 \begin_inset Quotes erd
13960 \end_inset
13961
13962 .
13963  Here is an example
13964 \begin_inset Newline newline
13965 \end_inset
13966
13967
13968 \begin_inset Phantom HPhantom
13969 status open
13970
13971 \begin_layout Plain Layout
13972 no 
13973 \end_layout
13974
13975 \end_inset
13976
13977
13978 \family typewriter
13979 typewriter text
13980 \family default
13981
13982 \begin_inset Note Note
13983 status collapsed
13984
13985 \begin_layout Plain Layout
13986 For more on phantoms see section
13987 \begin_inset space ~
13988 \end_inset
13989
13990
13991 \begin_inset CommandInset ref
13992 LatexCommand ref
13993 reference "sub:Phantom-Space"
13994
13995 \end_inset
13996
13997 .
13998 \end_layout
13999
14000 \end_inset
14001
14002
14003 \begin_inset Newline newline
14004 \end_inset
14005
14006 no typewriter text
14007 \end_layout
14008
14009 \begin_layout Itemize
14010
14011 \family sans
14012 Serif
14013 \family default
14014  fonts use characters with serifs.
14015  These are the small 
14016 \begin_inset Quotes eld
14017 \end_inset
14018
14019 appendices
14020 \begin_inset Quotes erd
14021 \end_inset
14022
14023  at the ends of the strokes that form the character.
14024  The following example shows the difference:
14025 \begin_inset Newline newline
14026 \end_inset
14027
14028 text with serifs
14029 \begin_inset Newline newline
14030 \end_inset
14031
14032
14033 \family sans
14034 text without serifs
14035 \family default
14036
14037 \begin_inset Newline newline
14038 \end_inset
14039
14040 Serifs facilitate quick and easy reading.
14041  These fonts are therefore used as default (named 
14042 \family sans
14043 roman
14044 \family default
14045 ).
14046 \end_layout
14047
14048 \begin_layout Itemize
14049
14050 \family sans
14051 Sans serif
14052 \family default
14053  is not recommended for use as a base type.
14054  This font type is therefore often only used for headings and short texts.
14055  We use it in this document to highlight menu names.
14056 \end_layout
14057
14058 \begin_layout Standard
14059 \begin_inset Quotes eld
14060 \end_inset
14061
14062 Toggling
14063 \begin_inset Quotes erd
14064 \end_inset
14065
14066  refers to applying or removing font properties.
14067  When a property is marked for toggling in the 
14068 \family sans
14069 Text
14070 \begin_inset space ~
14071 \end_inset
14072
14073 Style
14074 \family default
14075  dialog, applying the style to text that already has the property will cause
14076  the property to be removed.
14077  If you, for example, apply a style with properties A, B and C to text that
14078  currently has font properties B, C, F and G, and if B is set to toggle
14079  and C is set not to toggle, the text ends up with properties A, C, F and
14080  G.
14081  
14082 \begin_inset Quotes eld
14083 \end_inset
14084
14085 Never toggled
14086 \begin_inset Quotes erd
14087 \end_inset
14088
14089  and 
14090 \begin_inset Quotes eld
14091 \end_inset
14092
14093 always toggled
14094 \begin_inset Quotes erd
14095 \end_inset
14096
14097  mean that you do not control the toggling behavior.
14098  For the properties on the left side of the dialog (
14099 \begin_inset Quotes eld
14100 \end_inset
14101
14102 Family
14103 \begin_inset Quotes erd
14104 \end_inset
14105
14106  etc.), toggling behavior is up to you.
14107  If 
14108 \family sans
14109 Toggle
14110 \begin_inset space ~
14111 \end_inset
14112
14113 all
14114 \family default
14115  is checked, all of the left side properties are toggled; by default, none
14116  of them are.
14117  Finally, 
14118 \begin_inset Quotes eld
14119 \end_inset
14120
14121 Reset
14122 \begin_inset Quotes erd
14123 \end_inset
14124
14125  is never toggled.
14126  If you, for example, set 
14127 \begin_inset Quotes eld
14128 \end_inset
14129
14130 Series
14131 \begin_inset Quotes erd
14132 \end_inset
14133
14134  to 
14135 \begin_inset Quotes eld
14136 \end_inset
14137
14138 Reset
14139 \begin_inset Quotes erd
14140 \end_inset
14141
14142  and select 
14143 \family sans
14144 Toggle
14145 \begin_inset space ~
14146 \end_inset
14147
14148 all
14149 \family default
14150 , then apply the style to bold face text, the text will revert to the default
14151  series (
14152 \begin_inset Quotes eld
14153 \end_inset
14154
14155 Medium
14156 \begin_inset Quotes erd
14157 \end_inset
14158
14159 ), no matter how many times you apply the style.
14160 \end_layout
14161
14162 \begin_layout Standard
14163 We conclude with the same warning once again: Do not overuse the fonts!
14164  They are, more often than not, a kludge and a bad substitute for good writing.
14165 \end_layout
14166
14167 \begin_layout Section
14168 Printing and Previewing
14169 \end_layout
14170
14171 \begin_layout Subsection
14172 Overview
14173 \end_layout
14174
14175 \begin_layout Standard
14176 Now that we have covered some of the basic features of document preparation
14177  using LyX, you probably want to know how to print out your masterpiece.
14178  Before we tell you that, we want to give you a quick explanation of what
14179  goes on behind-the-scenes.
14180  We cover this information in much greater detail in the 
14181 \emph on
14182 Additional Features
14183 \emph default
14184  manual as well.
14185 \end_layout
14186
14187 \begin_layout Standard
14188 LyX uses the program LaTeX as its backend.
14189  LaTeX is just a macro package for the TeX typesetting system, but to prevent
14190  confusion, we will only refer to LaTeX.
14191  LyX is what you use to do your actual writing.
14192  Then, LyX calls LaTeX to turn your writing into printable output.
14193  This happens in two stages:
14194 \end_layout
14195
14196 \begin_layout Enumerate
14197 First, LyX converts your document to a series of text commands for LaTeX,
14198  generating a file with the extension, 
14199 \begin_inset Quotes eld
14200 \end_inset
14201
14202
14203 \family typewriter
14204 .tex
14205 \family default
14206
14207 \begin_inset Quotes erd
14208 \end_inset
14209
14210 .
14211 \end_layout
14212
14213 \begin_layout Enumerate
14214 Next, LyX calls LaTeX to use the commands in the 
14215 \family typewriter
14216 .tex
14217 \family default
14218  file to produce printable output.
14219  
14220 \end_layout
14221
14222 \begin_layout Subsection
14223 Output file formats
14224 \begin_inset Index idx
14225 status collapsed
14226
14227 \begin_layout Plain Layout
14228 File formats
14229 \end_layout
14230
14231 \end_inset
14232
14233
14234 \begin_inset CommandInset label
14235 LatexCommand label
14236 name "sub:Output-file-formats"
14237
14238 \end_inset
14239
14240
14241 \end_layout
14242
14243 \begin_layout Subsubsection
14244 Simple text (ASCII)
14245 \begin_inset Index idx
14246 status collapsed
14247
14248 \begin_layout Plain Layout
14249 File formats ! ASCII
14250 \end_layout
14251
14252 \end_inset
14253
14254
14255 \end_layout
14256
14257 \begin_layout Standard
14258 This file type has the extension 
14259 \begin_inset Quotes eld
14260 \end_inset
14261
14262
14263 \family typewriter
14264 .txt
14265 \family default
14266
14267 \begin_inset Quotes erd
14268 \end_inset
14269
14270 .
14271  It contains your document as plain text following the rules of the 
14272 \begin_inset Quotes eld
14273 \end_inset
14274
14275 American Standard Code for Information Interchange
14276 \begin_inset Quotes erd
14277 \end_inset
14278
14279  (ASCII).
14280 \end_layout
14281
14282 \begin_layout Standard
14283 You can export your document to ASCII with the menu 
14284 \family sans
14285 File\SpecialChar \menuseparator
14286 Export\SpecialChar \menuseparator
14287 Plain
14288 \begin_inset space ~
14289 \end_inset
14290
14291 text
14292 \family default
14293  or 
14294 \family sans
14295 File\SpecialChar \menuseparator
14296 Export\SpecialChar \menuseparator
14297 Plain
14298 \begin_inset space ~
14299 \end_inset
14300
14301 text
14302 \begin_inset space ~
14303 \end_inset
14304
14305 (ps2ascii)
14306 \family default
14307 .
14308  The latter will first internally export to PostScript and then do the conversio
14309 n to ASCII.
14310 \end_layout
14311
14312 \begin_layout Subsubsection
14313 LaTeX
14314 \begin_inset Index idx
14315 status collapsed
14316
14317 \begin_layout Plain Layout
14318 File formats ! LaTeX
14319 \end_layout
14320
14321 \end_inset
14322
14323
14324 \end_layout
14325
14326 \begin_layout Standard
14327 This file type has the extension 
14328 \begin_inset Quotes eld
14329 \end_inset
14330
14331
14332 \family typewriter
14333 .tex
14334 \family default
14335
14336 \begin_inset Quotes erd
14337 \end_inset
14338
14339  and contains all commands that are necessary for the LaTeX program to process
14340  your document.
14341  If you know LaTeX, you can use it to find out LaTeX-Errors or to process
14342  it manually with console commands.
14343  The LaTeX-file is automatically created in LyX's temporary directory whenever
14344  you view or export your document.
14345 \end_layout
14346
14347 \begin_layout Standard
14348 You can export your document as a LaTeX-file using the menu 
14349 \family sans
14350 File\SpecialChar \menuseparator
14351 Export\SpecialChar \menuseparator
14352 LaT
14353 \begin_inset ERT
14354 status collapsed
14355
14356 \begin_layout Plain Layout
14357
14358 {}
14359 \end_layout
14360
14361 \end_inset
14362
14363 eX
14364 \family default
14365 .
14366  The different LaTeX export variants are explained in section
14367 \begin_inset space ~
14368 \end_inset
14369
14370
14371 \begin_inset CommandInset ref
14372 LatexCommand ref
14373 reference "sub:Export"
14374
14375 \end_inset
14376
14377 .
14378 \end_layout
14379
14380 \begin_layout Subsubsection
14381 DVI
14382 \begin_inset Index idx
14383 status collapsed
14384
14385 \begin_layout Plain Layout
14386 File formats ! DVI
14387 \end_layout
14388
14389 \end_inset
14390
14391
14392 \end_layout
14393
14394 \begin_layout Standard
14395 This file type has the extension 
14396 \begin_inset Quotes eld
14397 \end_inset
14398
14399
14400 \family typewriter
14401 .dvi
14402 \family default
14403
14404 \begin_inset Quotes erd
14405 \end_inset
14406
14407 .
14408  It is called 
14409 \begin_inset Quotes eld
14410 \end_inset
14411
14412 device-independent
14413 \begin_inset Quotes erd
14414 \end_inset
14415
14416  (DVI), because it is completely portable; you can move them from one machine
14417  to another without needing to do any sort of conversion.
14418  DVIs are used for quick previews and as pre-stage for other output formats,
14419  like PostScript.
14420 \end_layout
14421
14422 \begin_layout Standard
14423 DVI files do not contain images, they only link to them.
14424  So don't forget to deliver the images together with your DVIs.
14425  Because the DVI-viewer has to convert the images in the background to make
14426  them visible when you scroll the DVI, this can slow down your computer
14427  when you view the DVI.
14428  So we recommend using PDF for files with many images.
14429 \end_layout
14430
14431 \begin_layout Standard
14432 You can export your document to DVI by the menu 
14433 \family sans
14434 File\SpecialChar \menuseparator
14435 Export\SpecialChar \menuseparator
14436 DVI
14437 \family default
14438  or 
14439 \family sans
14440 File\SpecialChar \menuseparator
14441 Export\SpecialChar \menuseparator
14442 DVI
14443 \begin_inset space ~
14444 \end_inset
14445
14446 (LuaTe
14447 \begin_inset ERT
14448 status collapsed
14449
14450 \begin_layout Plain Layout
14451
14452 {}
14453 \end_layout
14454
14455 \end_inset
14456
14457 X).
14458
14459 \family default
14460  The latter option uses the program 
14461 \family typewriter
14462 LuaTeX
14463 \family default
14464 .
14465  
14466 \family typewriter
14467 LuaTeX
14468 \family default
14469  is an engine that provides direct Unicode support and support for direct
14470  font access (see section
14471 \begin_inset space ~
14472 \end_inset
14473
14474
14475 \begin_inset CommandInset ref
14476 LatexCommand ref
14477 reference "sub:LaTeX-font-support"
14478
14479 \end_inset
14480
14481 ).
14482  LuaTeX is still a work in progress, but it might develop into the next
14483  standard TeX processor.
14484 \end_layout
14485
14486 \begin_layout Subsubsection
14487 PostScript
14488 \begin_inset Index idx
14489 status collapsed
14490
14491 \begin_layout Plain Layout
14492 File formats ! PostScript
14493 \end_layout
14494
14495 \end_inset
14496
14497
14498 \end_layout
14499
14500 \begin_layout Standard
14501 This file type has the extension 
14502 \begin_inset Quotes eld
14503 \end_inset
14504
14505
14506 \family typewriter
14507 .ps
14508 \family default
14509
14510 \begin_inset Quotes erd
14511 \end_inset
14512
14513 .
14514  PostScript was developed by the company 
14515 \family typewriter
14516 Adobe
14517 \family default
14518  as a printer language.
14519  The file therefore contains commands that the printer uses to print the
14520  file.
14521  PostScript can be seen as a 
14522 \begin_inset Quotes eld
14523 \end_inset
14524
14525 programming language
14526 \begin_inset Quotes erd
14527 \end_inset
14528
14529 ; you can calculate with it and draw diagrams and images.
14530 \begin_inset Foot
14531 status collapsed
14532
14533 \begin_layout Plain Layout
14534 When you are interested to learn more about this, have a look at the LaTeX-packa
14535 ge 
14536 \series bold
14537 pstricks
14538 \series default
14539
14540 \begin_inset Index idx
14541 status collapsed
14542
14543 \begin_layout Plain Layout
14544 LaTeX-packages ! pstricks
14545 \end_layout
14546
14547 \end_inset
14548
14549 .
14550 \end_layout
14551
14552 \end_inset
14553
14554  Due to this ability, the files are often bigger than PDFs.
14555 \end_layout
14556
14557 \begin_layout Standard
14558 PostScript can only contain images in the format 
14559 \begin_inset Quotes eld
14560 \end_inset
14561
14562 Encapsulated PostScript
14563 \begin_inset Quotes erd
14564 \end_inset
14565
14566  (EPS, file extension 
14567 \begin_inset Quotes eld
14568 \end_inset
14569
14570
14571 \family typewriter
14572 .eps
14573 \family default
14574
14575 \begin_inset Quotes erd
14576 \end_inset
14577
14578 ).
14579  As LyX allows you to use any known image format in your document, it has
14580  to convert them in the background to EPS.
14581  If you have e.
14582 \begin_inset space \thinspace{}
14583 \end_inset
14584
14585 g.
14586 \begin_inset space \space{}
14587 \end_inset
14588
14589 50
14590 \begin_inset space ~
14591 \end_inset
14592
14593 images in your document, LyX has to do 50
14594 \begin_inset space ~
14595 \end_inset
14596
14597 conversions when you view or export your document the first time.
14598  This might slow down your workflow with LyX.
14599  So if you plan to use PostScript, you can insert your images directly as
14600  EPS to avoid this problem.
14601 \end_layout
14602
14603 \begin_layout Standard
14604 You can export your document to PostScript using the menu 
14605 \family sans
14606 File\SpecialChar \menuseparator
14607 Export\SpecialChar \menuseparator
14608 PostScript
14609 \family default
14610 .
14611 \end_layout
14612
14613 \begin_layout Subsubsection
14614 PDF
14615 \begin_inset Index idx
14616 status collapsed
14617
14618 \begin_layout Plain Layout
14619 File formats ! PDF
14620 \end_layout
14621
14622 \end_inset
14623
14624
14625 \begin_inset Index idx
14626 status collapsed
14627
14628 \begin_layout Plain Layout
14629 PDF
14630 \end_layout
14631
14632 \end_inset
14633
14634
14635 \end_layout
14636
14637 \begin_layout Standard
14638 This file type has the extension 
14639 \begin_inset Quotes eld
14640 \end_inset
14641
14642
14643 \family typewriter
14644 .pdf
14645 \family default
14646
14647 \begin_inset Quotes erd
14648 \end_inset
14649
14650 .
14651  The 
14652 \begin_inset Quotes eld
14653 \end_inset
14654
14655 Portable Document Format
14656 \begin_inset Quotes erd
14657 \end_inset
14658
14659  (PDF) developed by 
14660 \family typewriter
14661 Adobe
14662 \family default
14663  was derived from PostScript.
14664  It is more compressed and it uses fewer commands than PostScript.
14665  As the name 
14666 \begin_inset Quotes eld
14667 \end_inset
14668
14669 portable
14670 \begin_inset Quotes erd
14671 \end_inset
14672
14673  implies, it can be processed at any computer system and the printed output
14674  looks exactly the same.
14675 \end_layout
14676
14677 \begin_layout Standard
14678 PDF can contain images in its own PDF format and in the formats 
14679 \begin_inset Quotes eld
14680 \end_inset
14681
14682 Joint Photographic Experts Group
14683 \begin_inset Quotes erd
14684 \end_inset
14685
14686  (JPG, file extension 
14687 \begin_inset Quotes eld
14688 \end_inset
14689
14690
14691 \family typewriter
14692 .jpg
14693 \family default
14694
14695 \begin_inset Quotes erd
14696 \end_inset
14697
14698  or 
14699 \begin_inset Quotes eld
14700 \end_inset
14701
14702
14703 \family typewriter
14704 .jpeg
14705 \family default
14706
14707 \begin_inset Quotes erd
14708 \end_inset
14709
14710 ) and 
14711 \begin_inset Quotes eld
14712 \end_inset
14713
14714 Portable Network Graphics
14715 \begin_inset Quotes erd
14716 \end_inset
14717
14718  (PNG, file extension 
14719 \begin_inset Quotes eld
14720 \end_inset
14721
14722
14723 \family typewriter
14724 .png
14725 \family default
14726
14727 \begin_inset Quotes erd
14728 \end_inset
14729
14730 ).
14731  You can also use any other image format, because LyX converts them in the
14732  background to one of these formats.
14733  But as described in the section about PostScript, the image conversion
14734  will slow down your workflow.
14735  So we recommend using images in one of the three mentioned formats.
14736 \end_layout
14737
14738 \begin_layout Standard
14739 You can export your document to PDF via the menu 
14740 \family sans
14741 File\SpecialChar \menuseparator
14742 Export
14743 \family default
14744  in different ways:
14745 \end_layout
14746
14747 \begin_layout Description
14748 PDF
14749 \begin_inset space ~
14750 \end_inset
14751
14752 (ps2pdf) This uses the program 
14753 \family typewriter
14754 ps2pdf
14755 \family default
14756  that creates a PDF from a PostScript-version of your file.
14757  The PostScript-version is produced by the program 
14758 \family typewriter
14759 dvips
14760 \family default
14761  which uses a DVI-version as intermediate step.
14762  So this export variant consist of three conversions.
14763 \end_layout
14764
14765 \begin_layout Description
14766 PDF
14767 \begin_inset space ~
14768 \end_inset
14769
14770 (dvipdfm) This uses the program 
14771 \family typewriter
14772 dvipdfm
14773 \family default
14774  that converts your file in the background to DVI and in a second step to
14775  PDF.
14776 \end_layout
14777
14778 \begin_layout Description
14779 PDF
14780 \begin_inset space ~
14781 \end_inset
14782
14783 (pdflatex) This uses the program 
14784 \family typewriter
14785 pdftex
14786 \family default
14787  which converts your file directly to PDF.
14788 \end_layout
14789
14790 \begin_layout Description
14791 PDF
14792 \begin_inset space ~
14793 \end_inset
14794
14795 (XeTe
14796 \begin_inset ERT
14797 status collapsed
14798
14799 \begin_layout Plain Layout
14800
14801 {}
14802 \end_layout
14803
14804 \end_inset
14805
14806 X) This uses the program 
14807 \family typewriter
14808 XeTeX
14809 \family default
14810  that converts your file directly to PDF.
14811  
14812 \family typewriter
14813 XeTeX
14814 \family default
14815  is a new engine that provides direct Unicode support and support for direct
14816  font access (see section
14817 \begin_inset space ~
14818 \end_inset
14819
14820
14821 \begin_inset CommandInset ref
14822 LatexCommand ref
14823 reference "sub:LaTeX-font-support"
14824
14825 \end_inset
14826
14827 ).
14828  It is particularly good at typesetting different scripts, for example verticall
14829 y written Japanese.
14830 \end_layout
14831
14832 \begin_layout Description
14833 PDF
14834 \begin_inset space ~
14835 \end_inset
14836
14837 (LuaTe
14838 \begin_inset ERT
14839 status collapsed
14840
14841 \begin_layout Plain Layout
14842
14843 {}
14844 \end_layout
14845
14846 \end_inset
14847
14848 X) This uses the program 
14849 \family typewriter
14850 LuaTeX
14851 \family default
14852  which converts your file directly to PDF.
14853  
14854 \family typewriter
14855 LuaTeX
14856 \family default
14857  is an even newer engine, derived from 
14858 \family typewriter
14859 pdflatex
14860 \family default
14861 , that also provides direct Unicode support and support for direct font
14862  access (see section
14863 \begin_inset space ~
14864 \end_inset
14865
14866
14867 \begin_inset CommandInset ref
14868 LatexCommand ref
14869 reference "sub:LaTeX-font-support"
14870
14871 \end_inset
14872
14873 ).
14874  LuaTeX is still a work in progress, but it might develop into the next
14875  standard TeX processor.
14876 \end_layout
14877
14878 \begin_layout Standard
14879 We recommend using 
14880 \family sans
14881 PDF
14882 \begin_inset space ~
14883 \end_inset
14884
14885 (pdflatex)
14886 \family default
14887  because 
14888 \family typewriter
14889 pdftex
14890 \family default
14891  supports all the features of actual PDF-versions, is quick, stable, and
14892  works without problems.
14893  If you rely on multiscript support and\SpecialChar \slash{}
14894 or specific OpenType fonts, you might
14895  want to try out 
14896 \family sans
14897 PDF
14898 \begin_inset space ~
14899 \end_inset
14900
14901 (XeTe
14902 \begin_inset ERT
14903 status collapsed
14904
14905 \begin_layout Plain Layout
14906
14907 {}
14908 \end_layout
14909
14910 \end_inset
14911
14912 X)
14913 \family default
14914  or 
14915 \family sans
14916 PDF
14917 \begin_inset space ~
14918 \end_inset
14919
14920 (LuaTe
14921 \begin_inset ERT
14922 status collapsed
14923
14924 \begin_layout Plain Layout
14925
14926 {}
14927 \end_layout
14928
14929 \end_inset
14930
14931 X)
14932 \family default
14933  instead, bearing in mind that these two programs are not yet as mature
14934  as 
14935 \family typewriter
14936 pdflatex
14937 \family default
14938 .
14939 \end_layout
14940
14941 \begin_layout Subsubsection
14942 XHTML
14943 \begin_inset Index idx
14944 status collapsed
14945
14946 \begin_layout Plain Layout
14947 FileFormats ! XHTML
14948 \end_layout
14949
14950 \end_inset
14951
14952
14953 \begin_inset Index idx
14954 status collapsed
14955
14956 \begin_layout Plain Layout
14957 HTML
14958 \end_layout
14959
14960 \end_inset
14961
14962
14963 \end_layout
14964
14965 \begin_layout Standard
14966 This file type has the extension 
14967 \begin_inset Quotes eld
14968 \end_inset
14969
14970
14971 \family typewriter
14972 .xhtml
14973 \family default
14974
14975 \begin_inset Quotes erd
14976 \end_inset
14977
14978 .
14979  It is a file suitable for viewing in web browsers.
14980  It does not itself contain images and the like but only links to them.
14981  When LyX produces XHTML, it also generates corresponding images in formats
14982  suitable for the purpose.
14983  For the math output you can choose in the menu 
14984 \family sans
14985 Document\SpecialChar \menuseparator
14986 Settings\SpecialChar \menuseparator
14987 Output
14988 \family default
14989  between different formats, which are described in section 
14990 \emph on
14991 Math Output in XHTML
14992 \emph default
14993  of the 
14994 \emph on
14995 Additional
14996 \begin_inset space ~
14997 \end_inset
14998
14999 Features
15000 \emph default
15001  manual.
15002 \end_layout
15003
15004 \begin_layout Standard
15005 XHTML output remains 
15006 \begin_inset Quotes eld
15007 \end_inset
15008
15009 under development
15010 \begin_inset Quotes erd
15011 \end_inset
15012
15013 , and not all LyX features are supported yet.
15014  See the chapter 
15015 \emph on
15016 LyX and the World Wide Web
15017 \emph default
15018 , in the 
15019 \emph on
15020 Additional Features
15021 \emph default
15022  manual, for more information.
15023 \end_layout
15024
15025 \begin_layout Standard
15026 You can export your document as an XHTML file using the menu item 
15027 \family sans
15028 File\SpecialChar \menuseparator
15029 Export\SpecialChar \menuseparator
15030 LyXHTML
15031 \family default
15032 .
15033 \end_layout
15034
15035 \begin_layout Subsection
15036 Previewing
15037 \begin_inset Index idx
15038 status collapsed
15039
15040 \begin_layout Plain Layout
15041 Document ! Preview 
15042 \end_layout
15043
15044 \end_inset
15045
15046
15047 \end_layout
15048
15049 \begin_layout Standard
15050 To get a look at the final version of your document, with all of the page
15051  breaks in place, the footnotes correctly numbered, and so on, use the menu
15052  
15053 \family sans
15054 View
15055 \family default
15056  and choose 
15057 \family sans
15058 View
15059 \family default
15060  or use the toolbar button 
15061 \begin_inset Info
15062 type  "icon"
15063 arg   "buffer-view"
15064 \end_inset
15065
15066 .
15067  A viewing program will pop up showing the output in the defined default
15068  output format, which is globally set in the preferences (see sec.
15069 \begin_inset space \thinspace{}
15070 \end_inset
15071
15072
15073 \begin_inset CommandInset ref
15074 LatexCommand ref
15075 reference "sec:File-Formats"
15076
15077 \end_inset
15078
15079 ) and can also be altered for single documents in the document settings
15080  (see sec.
15081 \begin_inset space \thinspace{}
15082 \end_inset
15083
15084
15085 \begin_inset CommandInset ref
15086 LatexCommand ref
15087 reference "sec:Doc-Output"
15088
15089 \end_inset
15090
15091 ).
15092  Further output formats can be selected via 
15093 \family sans
15094 View\SpecialChar \menuseparator
15095 Other Formats
15096 \family default
15097  or the toolbar button 
15098 \begin_inset Graphics
15099         filename ../images/view-others.png
15100         scale 85
15101         groupId toolbarbuttons
15102
15103 \end_inset
15104
15105 .
15106 \end_layout
15107
15108 \begin_layout Standard
15109 If you have changed your document, you can refresh the output in the same
15110  viewer window using the menu 
15111 \family sans
15112 View\SpecialChar \menuseparator
15113 Update
15114 \family default
15115  or 
15116 \family sans
15117 View\SpecialChar \menuseparator
15118 Update (Other Formats)
15119 \family default
15120 , respectively.
15121 \end_layout
15122
15123 \begin_layout Standard
15124 When you preview a file, the output file is only generated in LyX's temporary
15125  directory.
15126  To have a real output, export your document.
15127 \end_layout
15128
15129 \begin_layout Subsection
15130 Printing the File from within LyX
15131 \begin_inset CommandInset label
15132 LatexCommand label
15133 name "sub:Printing-the-File"
15134
15135 \end_inset
15136
15137
15138 \end_layout
15139
15140 \begin_layout Standard
15141 Instead of exporting your file and then printing it, you can also print
15142  it directly from within LyX.
15143  To print a file, select the menu 
15144 \family sans
15145 File\SpecialChar \menuseparator
15146 Print
15147 \family default
15148  or click on the toolbar button 
15149 \begin_inset Info
15150 type  "icon"
15151 arg   "dialog-show print"
15152 \end_inset
15153
15154 .
15155  LyX will internally call LaTeX to produce a DVI.
15156  This file is then processed by the program 
15157 \family typewriter
15158 dvips
15159 \family default
15160  to PostScript-file, which is finally printed using the program 
15161 \family typewriter
15162 Ghostscript
15163 \family default
15164 .
15165  Due to these steps in the background, this method is not the fastest.
15166 \end_layout
15167
15168 \begin_layout Standard
15169 You can choose to print only even-numbered or odd-numbered pages — this
15170  is useful for printing on two sides: You can re-insert the pages after
15171  printing one set to print on the other side.
15172  Some printers spit out pages face-up, others, face-down.
15173  By choosing a particular order to print in, you can take the entire stack
15174  of pages out of the printer without needing to reorder them.
15175 \end_layout
15176
15177 \begin_layout Standard
15178 You can set the following print parameters in the 
15179 \family sans
15180 Print
15181 \begin_inset space ~
15182 \end_inset
15183
15184 Destination
15185 \family default
15186  box:
15187 \end_layout
15188
15189 \begin_layout Labeling
15190 \labelwidthstring 00.00.0000
15191
15192 \family sans
15193 Printer
15194 \family default
15195  This is the name of the printer to print to.
15196 \begin_inset Foot
15197 status collapsed
15198
15199 \begin_layout Plain Layout
15200 Note that this printer name is for the program 
15201 \family typewriter
15202 dvips
15203 \family default
15204 .
15205  That means 
15206 \family typewriter
15207 dvips
15208 \family default
15209  has to be configured for this printer name.
15210  The default printer can be set in LyX's preferences dialog, see section
15211 \begin_inset space ~
15212 \end_inset
15213
15214
15215 \begin_inset CommandInset ref
15216 LatexCommand ref
15217 reference "sub:Printer"
15218
15219 \end_inset
15220
15221 .
15222 \end_layout
15223
15224 \end_inset
15225
15226  The printer should understand PostScript.
15227 \end_layout
15228
15229 \begin_layout Labeling
15230 \labelwidthstring 00.00.0000
15231
15232 \family sans
15233 File
15234 \family default
15235  The name of a file to print to.
15236  The output will be a PostScript file.
15237  It will be written in LyX's working directory unless you specify the full
15238  path.
15239 \end_layout
15240
15241 \begin_layout Section
15242 A few Words about Typography
15243 \begin_inset Index idx
15244 status collapsed
15245
15246 \begin_layout Plain Layout
15247 Typography
15248 \end_layout
15249
15250 \end_inset
15251
15252
15253 \end_layout
15254
15255 \begin_layout Subsection
15256 Hyphens, Dashes and Minus Signs
15257 \begin_inset Index idx
15258 status collapsed
15259
15260 \begin_layout Plain Layout
15261 Hyphens
15262 \end_layout
15263
15264 \end_inset
15265
15266
15267 \begin_inset Index idx
15268 status collapsed
15269
15270 \begin_layout Plain Layout
15271 Dashes
15272 \end_layout
15273
15274 \end_inset
15275
15276
15277 \end_layout
15278
15279 \begin_layout Standard
15280 In LyX, the 
15281 \begin_inset Quotes eld
15282 \end_inset
15283
15284
15285 \family typewriter
15286 -
15287 \family default
15288
15289 \begin_inset Quotes erd
15290 \end_inset
15291
15292  character comes in four lengths: the 
15293 \emph on
15294 hyphen
15295 \emph default
15296 , the 
15297 \emph on
15298 en dash
15299 \emph default
15300 , the 
15301 \emph on
15302 em dash
15303 \emph default
15304 , and the minus sign:
15305 \begin_inset VSpace defskip
15306 \end_inset
15307
15308
15309 \end_layout
15310
15311 \begin_layout Standard
15312 \begin_inset Tabular
15313 <lyxtabular version="3" rows="5" columns="3">
15314 <features rotate="0" tabularvalignment="middle">
15315 <column alignment="left" valignment="top" width="0">
15316 <column alignment="left" valignment="top" width="0">
15317 <column alignment="left" valignment="top" width="0">
15318 <row interlinespace="3mm">
15319 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15320 \begin_inset Text
15321
15322 \begin_layout Plain Layout
15323 name
15324 \end_layout
15325
15326 \end_inset
15327 </cell>
15328 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15329 \begin_inset Text
15330
15331 \begin_layout Plain Layout
15332 output
15333 \end_layout
15334
15335 \end_inset
15336 </cell>
15337 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15338 \begin_inset Text
15339
15340 \begin_layout Plain Layout
15341 inserted with
15342 \end_layout
15343
15344 \end_inset
15345 </cell>
15346 </row>
15347 <row interlinespace="3mm">
15348 <cell alignment="center" valignment="top" usebox="none">
15349 \begin_inset Text
15350
15351 \begin_layout Plain Layout
15352 hyphen
15353 \end_layout
15354
15355 \end_inset
15356 </cell>
15357 <cell alignment="center" valignment="top" usebox="none">
15358 \begin_inset Text
15359
15360 \begin_layout Plain Layout
15361 -
15362 \end_layout
15363
15364 \end_inset
15365 </cell>
15366 <cell alignment="center" valignment="top" usebox="none">
15367 \begin_inset Text
15368
15369 \begin_layout Plain Layout
15370 \begin_inset Quotes eld
15371 \end_inset
15372
15373
15374 \family typewriter
15375 -
15376 \family default
15377
15378 \begin_inset Quotes erd
15379 \end_inset
15380
15381  in text
15382 \end_layout
15383
15384 \end_inset
15385 </cell>
15386 </row>
15387 <row interlinespace="3mm">
15388 <cell alignment="center" valignment="top" usebox="none">
15389 \begin_inset Text
15390
15391 \begin_layout Plain Layout
15392 en dash
15393 \end_layout
15394
15395 \end_inset
15396 </cell>
15397 <cell alignment="center" valignment="top" usebox="none">
15398 \begin_inset Text
15399
15400 \begin_layout Plain Layout
15401
15402 \end_layout
15403
15404 \end_inset
15405 </cell>
15406 <cell alignment="center" valignment="top" usebox="none">
15407 \begin_inset Text
15408
15409 \begin_layout Plain Layout
15410
15411 \family sans
15412 Insert\SpecialChar \menuseparator
15413 Special
15414 \begin_inset space ~
15415 \end_inset
15416
15417 Character\SpecialChar \menuseparator
15418 Symbols
15419 \end_layout
15420
15421 \end_inset
15422 </cell>
15423 </row>
15424 <row interlinespace="3mm">
15425 <cell alignment="center" valignment="top" usebox="none">
15426 \begin_inset Text
15427
15428 \begin_layout Plain Layout
15429 em dash
15430 \end_layout
15431
15432 \end_inset
15433 </cell>
15434 <cell alignment="center" valignment="top" usebox="none">
15435 \begin_inset Text
15436
15437 \begin_layout Plain Layout
15438
15439 \end_layout
15440
15441 \end_inset
15442 </cell>
15443 <cell alignment="center" valignment="top" usebox="none">
15444 \begin_inset Text
15445
15446 \begin_layout Plain Layout
15447
15448 \family sans
15449 Insert\SpecialChar \menuseparator
15450 Special
15451 \begin_inset space ~
15452 \end_inset
15453
15454 Character\SpecialChar \menuseparator
15455 Symbols
15456 \end_layout
15457
15458 \end_inset
15459 </cell>
15460 </row>
15461 <row>
15462 <cell alignment="center" valignment="top" usebox="none">
15463 \begin_inset Text
15464
15465 \begin_layout Plain Layout
15466 minus sign
15467 \end_layout
15468
15469 \end_inset
15470 </cell>
15471 <cell alignment="center" valignment="top" usebox="none">
15472 \begin_inset Text
15473
15474 \begin_layout Plain Layout
15475 \begin_inset Formula $-$
15476 \end_inset
15477
15478
15479 \end_layout
15480
15481 \end_inset
15482 </cell>
15483 <cell alignment="center" valignment="top" usebox="none">
15484 \begin_inset Text
15485
15486 \begin_layout Plain Layout
15487 \begin_inset Quotes eld
15488 \end_inset
15489
15490
15491 \family typewriter
15492 -
15493 \family default
15494
15495 \begin_inset Quotes erd
15496 \end_inset
15497
15498  in math mode
15499 \end_layout
15500
15501 \end_inset
15502 </cell>
15503 </row>
15504 </lyxtabular>
15505
15506 \end_inset
15507
15508
15509 \begin_inset VSpace defskip
15510 \end_inset
15511
15512
15513 \end_layout
15514
15515 \begin_layout Standard
15516 You can alternatively generate the en and em dash by inserting the 
15517 \begin_inset Quotes eld
15518 \end_inset
15519
15520
15521 \family typewriter
15522 -
15523 \family default
15524
15525 \begin_inset Quotes erd
15526 \end_inset
15527
15528  character multiple times in a row.
15529  They will automatically be converted to the appropriate length dash in
15530  the final output, but not in LyX.
15531  
15532 \begin_inset Quotes eld
15533 \end_inset
15534
15535 -
15536 \begin_inset space \thinspace{}
15537 \end_inset
15538
15539 -
15540 \begin_inset Quotes erd
15541 \end_inset
15542
15543  gives a en dash, 
15544 \begin_inset Quotes eld
15545 \end_inset
15546
15547 -
15548 \begin_inset space \thinspace{}
15549 \end_inset
15550
15551 -
15552 \begin_inset space \thinspace{}
15553 \end_inset
15554
15555 -
15556 \begin_inset Quotes erd
15557 \end_inset
15558
15559  a em dash.
15560 \end_layout
15561
15562 \begin_layout Standard
15563 The three dash types are distinct from the minus sign, which appears in
15564  math mode and has a length of its own.
15565  Here are some examples:
15566 \end_layout
15567
15568 \begin_layout Enumerate
15569 line- and page-breaks
15570 \begin_inset space \hfill{}
15571 \end_inset
15572
15573 (
15574 \emph on
15575 hyphen
15576 \emph default
15577 )
15578 \end_layout
15579
15580 \begin_layout Enumerate
15581 From A–Z
15582 \begin_inset space \hfill{}
15583 \end_inset
15584
15585 (
15586 \emph on
15587 en dash
15588 \emph default
15589 )
15590 \end_layout
15591
15592 \begin_layout Enumerate
15593 Oh — there's a dash.
15594 \begin_inset space \hfill{}
15595 \end_inset
15596
15597 (
15598 \emph on
15599 em dash
15600 \emph default
15601 )
15602 \end_layout
15603
15604 \begin_layout Enumerate
15605 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
15606 \end_inset
15607
15608
15609 \begin_inset space \hfill{}
15610 \end_inset
15611
15612 (
15613 \emph on
15614 minus sign
15615 \emph default
15616 )
15617 \end_layout
15618
15619 \begin_layout Subsection
15620 Hyphenation
15621 \begin_inset Index idx
15622 status collapsed
15623
15624 \begin_layout Plain Layout
15625 Hyphenation
15626 \end_layout
15627
15628 \end_inset
15629
15630
15631 \begin_inset CommandInset label
15632 LatexCommand label
15633 name "sub:Hyphenation"
15634
15635 \end_inset
15636
15637
15638 \end_layout
15639
15640 \begin_layout Standard
15641 Words are not hyphenated within LyX but automatically in the output.
15642  Hyphenation is done by the LaTeX-package 
15643 \series bold
15644 babel
15645 \series default
15646
15647 \begin_inset Index idx
15648 status collapsed
15649
15650 \begin_layout Plain Layout
15651 LaTeX-packages ! babel
15652 \end_layout
15653
15654 \end_inset
15655
15656  following the rules of the document language.
15657 \end_layout
15658
15659 \begin_layout Standard
15660 LaTeX hyphenates almost perfectly, it only has problems with text in the
15661  
15662 \family sans
15663 typewriter
15664 \family default
15665  font and with unusual constructs, like 
15666 \begin_inset Quotes eld
15667 \end_inset
15668
15669 h3knix/m0n0wall
15670 \begin_inset Quotes erd
15671 \end_inset
15672
15673 .
15674  If LaTeX cannot break a word correctly, you can set hyphenation points
15675  manually.
15676  This is done with the menu 
15677 \family sans
15678 Insert\SpecialChar \menuseparator
15679 Formatting\SpecialChar \menuseparator
15680 Hyphenation
15681 \begin_inset space ~
15682 \end_inset
15683
15684 Point
15685 \family default
15686 .
15687  These extra hyphenation points are only recommendations to LaTeX.
15688  If no hyphenation is necessary, LaTeX will ignore them.
15689 \end_layout
15690
15691 \begin_layout Standard
15692 Sometimes you want to prevent words or constructs from being hyphenated.
15693  Imagine that you are describing keybindings/shortcuts in your document
15694  in the form 
15695 \begin_inset Quotes eld
15696 \end_inset
15697
15698 A-b c
15699 \begin_inset Quotes erd
15700 \end_inset
15701
15702 .
15703  LaTeX would then see the hyphen 
15704 \begin_inset Quotes eld
15705 \end_inset
15706
15707 -
15708 \begin_inset Quotes erd
15709 \end_inset
15710
15711  as a hyphenation possibility.
15712  Hyphenating at this point would look ugly.
15713  To prevent the shortcut from being hyphenated, you can put it into a makebox
15714  as described in section 
15715 \begin_inset Quotes eld
15716 \end_inset
15717
15718 Prevent Hyphenation
15719 \begin_inset Quotes erd
15720 \end_inset
15721
15722  of the 
15723 \emph on
15724 Embedded
15725 \begin_inset space ~
15726 \end_inset
15727
15728 Objects
15729 \emph default
15730  manual.
15731 \end_layout
15732
15733 \begin_layout Subsection
15734 Punctuation Marks
15735 \begin_inset Index idx
15736 status collapsed
15737
15738 \begin_layout Plain Layout
15739 Punctuation marks
15740 \end_layout
15741
15742 \end_inset
15743
15744
15745 \end_layout
15746
15747 \begin_layout Subsubsection
15748 Abbreviations and End of Sentence
15749 \begin_inset CommandInset label
15750 LatexCommand label
15751 name "sub:Abbreviations"
15752
15753 \end_inset
15754
15755
15756 \end_layout
15757
15758 \begin_layout Standard
15759 When LyX calls LaTeX to generate the final version of your document, LaTeX
15760  automatically distinguishes between words, sentences, and abbreviations.
15761  LaTeX then adds the 
15762 \begin_inset Quotes eld
15763 \end_inset
15764
15765 appropriate amount of space
15766 \begin_inset Quotes erd
15767 \end_inset
15768
15769 .
15770  That means sentences get a little bit more space between the period and
15771  the next word.
15772  Abbreviations get the same amount of space after the period that a word
15773  gets after another word.
15774 \end_layout
15775
15776 \begin_layout Standard
15777 Unfortunately, the algorithm for figuring out what's an abbreviation does
15778  not work in all cases.
15779  If a 
15780 \begin_inset Quotes eld
15781 \end_inset
15782
15783
15784 \family typewriter
15785 .
15786 \family default
15787
15788 \begin_inset Quotes erd
15789 \end_inset
15790
15791  is at the end of a lowercase letter, it's the end of a sentence; if it's
15792  at the end of a capitalized letter, it's an abbreviation.
15793 \end_layout
15794
15795 \begin_layout Standard
15796 Here are some examples of 
15797 \emph on
15798 correct
15799 \emph default
15800  abbreviations and of the end of a sentence:
15801 \end_layout
15802
15803 \begin_layout Itemize
15804 M.
15805  Butterfly
15806 \end_layout
15807
15808 \begin_layout Itemize
15809 Don't worry.
15810  Be happy.
15811 \end_layout
15812
15813 \begin_layout Standard
15814 And here is an example of the algorithm going wrong:
15815 \end_layout
15816
15817 \begin_layout Itemize
15818 e.
15819 \begin_inset space \thinspace{}
15820 \end_inset
15821
15822 g.
15823  this is too much space!
15824 \end_layout
15825
15826 \begin_layout Itemize
15827 This is I.
15828  It's okay.
15829 \end_layout
15830
15831 \begin_layout Standard
15832 You will not see anything wrong until you view a final version of your document.
15833 \end_layout
15834
15835 \begin_layout Standard
15836 To fix this problem, use one of the following:
15837 \end_layout
15838
15839 \begin_layout Enumerate
15840 Use an 
15841 \family sans
15842 Inter-word
15843 \begin_inset space ~
15844 \end_inset
15845
15846 Space
15847 \family default
15848  after lowercase abbreviations (see section
15849 \begin_inset space ~
15850 \end_inset
15851
15852
15853 \begin_inset CommandInset ref
15854 LatexCommand ref
15855 reference "sub:Inter-word-Space"
15856
15857 \end_inset
15858
15859 ).
15860 \begin_inset Index idx
15861 status collapsed
15862
15863 \begin_layout Plain Layout
15864 Spaces ! inter-word
15865 \end_layout
15866
15867 \end_inset
15868
15869
15870 \end_layout
15871
15872 \begin_layout Enumerate
15873 Use a 
15874 \family sans
15875 Thin
15876 \begin_inset space ~
15877 \end_inset
15878
15879 Space
15880 \family default
15881  between two tokens of an abbreviation (see section
15882 \begin_inset space ~
15883 \end_inset
15884
15885
15886 \begin_inset CommandInset ref
15887 LatexCommand ref
15888 reference "sub:Thin-Space"
15889
15890 \end_inset
15891
15892 ).
15893 \begin_inset Index idx
15894 status collapsed
15895
15896 \begin_layout Plain Layout
15897 Spaces ! thin
15898 \end_layout
15899
15900 \end_inset
15901
15902
15903 \end_layout
15904
15905 \begin_layout Enumerate
15906 Use an 
15907 \family sans
15908 End
15909 \begin_inset space ~
15910 \end_inset
15911
15912 of
15913 \begin_inset space ~
15914 \end_inset
15915
15916 sentence
15917 \begin_inset space ~
15918 \end_inset
15919
15920 period
15921 \family default
15922  found under the 
15923 \family sans
15924 Insert\SpecialChar \menuseparator
15925 Special
15926 \begin_inset space ~
15927 \end_inset
15928
15929 Character
15930 \family default
15931  menu to force the use of inter-sentence spacing.
15932  This function is also bound to 
15933 \begin_inset Info
15934 type  "shortcut"
15935 arg   "specialchar-insert end-of-sentence"
15936 \end_inset
15937
15938  for easy access.
15939 \end_layout
15940
15941 \begin_layout Standard
15942 With the corrections, our earlier examples look like this:
15943 \end_layout
15944
15945 \begin_layout Itemize
15946 e.
15947 \begin_inset space \thinspace{}
15948 \end_inset
15949
15950 g.
15951 \begin_inset space \space{}
15952 \end_inset
15953
15954 this is too much space!
15955 \end_layout
15956
15957 \begin_layout Itemize
15958 This is I\SpecialChar \@.
15959  It's okay.
15960 \end_layout
15961
15962 \begin_layout Standard
15963 Some languages don't use extra spacing between sentences.
15964  If your language is such a language, you don't need to worry, because LaTeX
15965  will take care of this.
15966 \end_layout
15967
15968 \begin_layout Standard
15969 For those that do need to bother, there is help to catch those sneaky errors:
15970  Check out the 
15971 \family sans
15972 Check
15973 \begin_inset space ~
15974 \end_inset
15975
15976 TeX
15977 \family default
15978  feature described in section 
15979 \emph on
15980 Checking TeX
15981 \emph default
15982  of the 
15983 \emph on
15984 Additional Features
15985 \emph default
15986  manual.
15987 \end_layout
15988
15989 \begin_layout Subsubsection
15990 Quotes
15991 \begin_inset Index idx
15992 status collapsed
15993
15994 \begin_layout Plain Layout
15995 Typography ! Quotes
15996 \end_layout
15997
15998 \end_inset
15999
16000
16001 \begin_inset Index idx
16002 status collapsed
16003
16004 \begin_layout Plain Layout
16005 Quotes | see
16006 \begin_inset ERT
16007 status collapsed
16008
16009 \begin_layout Plain Layout
16010
16011 {
16012 \end_layout
16013
16014 \end_inset
16015
16016 Typography
16017 \begin_inset ERT
16018 status collapsed
16019
16020 \begin_layout Plain Layout
16021
16022 }
16023 \end_layout
16024
16025 \end_inset
16026
16027
16028 \end_layout
16029
16030 \end_inset
16031
16032
16033 \end_layout
16034
16035 \begin_layout Standard
16036 LyX usually sets quotes correctly.
16037  Specifically, it will use an opening quote at the beginning of quoted text,
16038  and use a closing quote at the end.
16039  For example, 
16040 \begin_inset Quotes eld
16041 \end_inset
16042
16043 open close
16044 \begin_inset Quotes erd
16045 \end_inset
16046
16047 .
16048  The keyboard character, 
16049 \family sans
16050 "
16051 \family default
16052 , generates this automatically.
16053 \end_layout
16054
16055 \begin_layout Standard
16056 You can specify what character the 
16057 \family sans
16058 "
16059 \family default
16060  key produces using the submenu 
16061 \family sans
16062 Language
16063 \family default
16064  of the 
16065 \family sans
16066 Document\SpecialChar \menuseparator
16067 Settings
16068 \family default
16069
16070 \begin_inset Index idx
16071 status collapsed
16072
16073 \begin_layout Plain Layout
16074 Document ! Settings
16075 \end_layout
16076
16077 \end_inset
16078
16079  dialog in the box 
16080 \family sans
16081 Quote Style
16082 \family default
16083 .
16084  There are six choices:
16085 \end_layout
16086
16087 \begin_layout Labeling
16088 \labelwidthstring 00.00.0000
16089
16090 \family sans
16091 \begin_inset Quotes eld
16092 \end_inset
16093
16094 Text
16095 \begin_inset Quotes erd
16096 \end_inset
16097
16098
16099 \family default
16100  Use quotes like this 
16101 \begin_inset Quotes eld
16102 \end_inset
16103
16104 double
16105 \begin_inset Quotes erd
16106 \end_inset
16107
16108
16109 \end_layout
16110
16111 \begin_layout Labeling
16112 \labelwidthstring 00.00.0000
16113
16114 \family sans
16115 \begin_inset Quotes sld
16116 \end_inset
16117
16118 Text
16119 \begin_inset Quotes srd
16120 \end_inset
16121
16122
16123 \family default
16124  Use quotes like 
16125 \begin_inset Quotes sld
16126 \end_inset
16127
16128 this
16129 \begin_inset Quotes srd
16130 \end_inset
16131
16132
16133 \end_layout
16134
16135 \begin_layout Labeling
16136 \labelwidthstring 00.00.0000
16137
16138 \family sans
16139 \begin_inset Quotes gld
16140 \end_inset
16141
16142 Text
16143 \begin_inset Quotes grd
16144 \end_inset
16145
16146
16147 \family default
16148  Use quotes like 
16149 \begin_inset Quotes gld
16150 \end_inset
16151
16152 this
16153 \begin_inset Quotes grd
16154 \end_inset
16155
16156
16157 \end_layout
16158
16159 \begin_layout Labeling
16160 \labelwidthstring 00.00.0000
16161
16162 \family sans
16163 \begin_inset Quotes pld
16164 \end_inset
16165
16166 Text
16167 \begin_inset Quotes prd
16168 \end_inset
16169
16170
16171 \family default
16172  Use quotes like 
16173 \begin_inset Quotes pld
16174 \end_inset
16175
16176 this
16177 \begin_inset Quotes prd
16178 \end_inset
16179
16180
16181 \end_layout
16182
16183 \begin_layout Labeling
16184 \labelwidthstring 00.00.0000
16185
16186 \family sans
16187 \begin_inset Quotes fld
16188 \end_inset
16189
16190 Text
16191 \begin_inset Quotes frd
16192 \end_inset
16193
16194
16195 \family default
16196  Use quotes like 
16197 \begin_inset Quotes fld
16198 \end_inset
16199
16200 this
16201 \begin_inset Quotes frd
16202 \end_inset
16203
16204
16205 \end_layout
16206
16207 \begin_layout Labeling
16208 \labelwidthstring 00.00.0000
16209
16210 \family sans
16211 \begin_inset Quotes ald
16212 \end_inset
16213
16214 Text
16215 \begin_inset Quotes ard
16216 \end_inset
16217
16218
16219 \family default
16220  Use quotes like 
16221 \begin_inset Quotes ald
16222 \end_inset
16223
16224 this
16225 \begin_inset Quotes ard
16226 \end_inset
16227
16228
16229 \end_layout
16230
16231 \begin_layout Subsection
16232 Ligatures
16233 \begin_inset Index idx
16234 status collapsed
16235
16236 \begin_layout Plain Layout
16237 Typography ! Ligatures
16238 \end_layout
16239
16240 \end_inset
16241
16242
16243 \begin_inset Index idx
16244 status collapsed
16245
16246 \begin_layout Plain Layout
16247 Ligatures | see
16248 \begin_inset ERT
16249 status collapsed
16250
16251 \begin_layout Plain Layout
16252
16253 {
16254 \end_layout
16255
16256 \end_inset
16257
16258 Typography
16259 \begin_inset ERT
16260 status collapsed
16261
16262 \begin_layout Plain Layout
16263
16264 }
16265 \end_layout
16266
16267 \end_inset
16268
16269
16270 \end_layout
16271
16272 \end_inset
16273
16274
16275 \begin_inset CommandInset label
16276 LatexCommand label
16277 name "sub:Ligatures"
16278
16279 \end_inset
16280
16281
16282 \end_layout
16283
16284 \begin_layout Standard
16285 It is standard typesetting practice to group certain letters together and
16286  print them as single characters.
16287  These groups are known as 
16288 \emph on
16289 ligatures
16290 \emph default
16291 .
16292  Since LaTeX knows about ligatures, your documents will contain them too
16293  in the output.
16294  Here are the standard ligatures:
16295 \end_layout
16296
16297 \begin_layout Itemize
16298 ff
16299 \end_layout
16300
16301 \begin_layout Itemize
16302 fi
16303 \end_layout
16304
16305 \begin_layout Itemize
16306 fl
16307 \end_layout
16308
16309 \begin_layout Itemize
16310 ffi
16311 \end_layout
16312
16313 \begin_layout Itemize
16314 ffl
16315 \end_layout
16316
16317 \begin_layout Standard
16318 Some languages uses other ligatures if the document font supports them.
16319 \end_layout
16320
16321 \begin_layout Standard
16322 Sometimes, you don't want a ligature in a word.
16323  While a ligature may be okay in the word, 
16324 \begin_inset Quotes eld
16325 \end_inset
16326
16327 graffiti,
16328 \begin_inset Quotes erd
16329 \end_inset
16330
16331  it looks really weird in compound words, such as 
16332 \begin_inset Quotes eld
16333 \end_inset
16334
16335 cufflink
16336 \begin_inset Quotes erd
16337 \end_inset
16338
16339  or the German 
16340 \begin_inset Quotes eld
16341 \end_inset
16342
16343 Dorffest.
16344 \begin_inset Quotes erd
16345 \end_inset
16346
16347  To break a ligature, use 
16348 \family sans
16349 Insert\SpecialChar \menuseparator
16350 Formatting\SpecialChar \menuseparator
16351 Ligature
16352 \begin_inset space ~
16353 \end_inset
16354
16355 Break.
16356
16357 \family default
16358  This changes 
16359 \begin_inset Quotes eld
16360 \end_inset
16361
16362 cufflinks
16363 \begin_inset Quotes erd
16364 \end_inset
16365
16366  to 
16367 \begin_inset Quotes eld
16368 \end_inset
16369
16370 cuff\SpecialChar \textcompwordmark{}
16371 links
16372 \begin_inset Quotes erd
16373 \end_inset
16374
16375  and 
16376 \begin_inset Quotes eld
16377 \end_inset
16378
16379 Dorffest
16380 \begin_inset Quotes erd
16381 \end_inset
16382
16383  to 
16384 \begin_inset Quotes eld
16385 \end_inset
16386
16387 Dorf\SpecialChar \textcompwordmark{}
16388 fest
16389 \begin_inset Quotes erd
16390 \end_inset
16391
16392 .
16393 \end_layout
16394
16395 \begin_layout Subsection
16396 LyX's Proper Names
16397 \begin_inset Index idx
16398 status collapsed
16399
16400 \begin_layout Plain Layout
16401 LyX ! Proper names
16402 \end_layout
16403
16404 \end_inset
16405
16406
16407 \begin_inset CommandInset label
16408 LatexCommand label
16409 name "sub:LyX's-Proper-Names"
16410
16411 \end_inset
16412
16413
16414 \end_layout
16415
16416 \begin_layout Standard
16417 You will certainly have noticed that the word “LaTeX” always appears with
16418  characters in different sizes and heights.
16419  LaTeX is the name of the program used by LyX and is therefore recognized
16420  as a proper name when you type it in LyX as 
16421 \begin_inset Quotes eld
16422 \end_inset
16423
16424 LaT
16425 \begin_inset ERT
16426 status collapsed
16427
16428 \begin_layout Plain Layout
16429
16430 {}
16431 \end_layout
16432
16433 \end_inset
16434
16435 eX
16436 \begin_inset Quotes erd
16437 \end_inset
16438
16439 .
16440 \begin_inset Note Note
16441 status collapsed
16442
16443 \begin_layout Plain Layout
16444 The braces in TeX Code are here to avoid that the 
16445 \begin_inset Quotes eld
16446 \end_inset
16447
16448 command
16449 \begin_inset Quotes erd
16450 \end_inset
16451
16452  appear as proper name in the output, see the last paragraph of this section.
16453  To create proper names omit the TeX Code.
16454 \end_layout
16455
16456 \end_inset
16457
16458  Note the order of the upper-and lowercase letters! LyX recognizes the following
16459  proper names:
16460 \end_layout
16461
16462 \begin_layout Description
16463 LyX The name of the game, write 
16464 \begin_inset Quotes eld
16465 \end_inset
16466
16467 L
16468 \begin_inset ERT
16469 status collapsed
16470
16471 \begin_layout Plain Layout
16472
16473 {}
16474 \end_layout
16475
16476 \end_inset
16477
16478 yX
16479 \begin_inset Quotes erd
16480 \end_inset
16481
16482  to produce it.
16483 \end_layout
16484
16485 \begin_layout Description
16486 TeX The program used by LaTeX, write 
16487 \begin_inset Quotes eld
16488 \end_inset
16489
16490 T
16491 \begin_inset ERT
16492 status collapsed
16493
16494 \begin_layout Plain Layout
16495
16496 {}
16497 \end_layout
16498
16499 \end_inset
16500
16501 eX
16502 \begin_inset Quotes erd
16503 \end_inset
16504
16505  to produce it.
16506 \end_layout
16507
16508 \begin_layout Description
16509 LaTeX The program used by LyX, write 
16510 \begin_inset Quotes eld
16511 \end_inset
16512
16513 LaT
16514 \begin_inset ERT
16515 status collapsed
16516
16517 \begin_layout Plain Layout
16518
16519 {}
16520 \end_layout
16521
16522 \end_inset
16523
16524 eX
16525 \begin_inset Quotes erd
16526 \end_inset
16527
16528  to produce it.
16529 \end_layout
16530
16531 \begin_layout Description
16532 LaTeX2e The actual version of LaTeX, write 
16533 \begin_inset Quotes eld
16534 \end_inset
16535
16536 LaT
16537 \begin_inset ERT
16538 status collapsed
16539
16540 \begin_layout Plain Layout
16541
16542 {}
16543 \end_layout
16544
16545 \end_inset
16546
16547 eX2e
16548 \begin_inset Quotes erd
16549 \end_inset
16550
16551  to produce it.
16552 \end_layout
16553
16554 \begin_layout Standard
16555 You might wonder why the LaTeX-version is 
16556 \begin_inset Quotes eld
16557 \end_inset
16558
16559 2
16560 \begin_inset Formula $\epsilon$
16561 \end_inset
16562
16563
16564 \begin_inset Quotes erd
16565 \end_inset
16566
16567 .
16568  It's an old tradition in the TeX-world to give programs geek version numbers.
16569  For example the version number of TeX converges to the number 
16570 \begin_inset Formula $\pi$
16571 \end_inset
16572
16573 : The actual version is 
16574 \begin_inset Quotes eld
16575 \end_inset
16576
16577 TeX-3.141592
16578 \begin_inset Quotes erd
16579 \end_inset
16580
16581 , the previous one was 
16582 \begin_inset Quotes eld
16583 \end_inset
16584
16585 TeX-3.14159
16586 \begin_inset Quotes erd
16587 \end_inset
16588
16589 .
16590 \end_layout
16591
16592 \begin_layout Standard
16593 If you don't want to use proper names, e.
16594 \begin_inset space \thinspace{}
16595 \end_inset
16596
16597 g.
16598 \begin_inset space \space{}
16599 \end_inset
16600
16601 in section headings, you can insert two empty braces in TeX Code in the
16602  word.
16603  This will look in LyX like: 
16604 \begin_inset Graphics
16605         filename clipart/LaTeX.png
16606         scale 80
16607
16608 \end_inset
16609
16610
16611 \begin_inset Newline newline
16612 \end_inset
16613
16614 For more about TeX Code, look at section
16615 \begin_inset space ~
16616 \end_inset
16617
16618
16619 \begin_inset CommandInset ref
16620 LatexCommand ref
16621 reference "sec:TeX-Code"
16622
16623 \end_inset
16624
16625 .
16626 \end_layout
16627
16628 \begin_layout Subsection
16629 Units
16630 \begin_inset Index idx
16631 status collapsed
16632
16633 \begin_layout Plain Layout
16634 Typography ! Units
16635 \end_layout
16636
16637 \end_inset
16638
16639
16640 \end_layout
16641
16642 \begin_layout Standard
16643 Generally the space between units and the number is smaller than the normal
16644  space between two words.
16645  As you can see in the example below, it looks better when the space is
16646  smaller.
16647  To get such a 
16648 \begin_inset Quotes eld
16649 \end_inset
16650
16651 half space
16652 \begin_inset Quotes erd
16653 \end_inset
16654
16655  for units use the menu 
16656 \family sans
16657 Insert\SpecialChar \menuseparator
16658 Formatting\SpecialChar \menuseparator
16659 Thin
16660 \begin_inset space ~
16661 \end_inset
16662
16663 Space
16664 \family default
16665  (shortcut 
16666 \begin_inset Info
16667 type  "shortcuts"
16668 arg   "space-insert thin"
16669 \end_inset
16670
16671 ).
16672 \end_layout
16673
16674 \begin_layout Standard
16675 Here is an example to show the differences:
16676 \end_layout
16677
16678 \begin_layout Standard
16679 \begin_inset Tabular
16680 <lyxtabular version="3" rows="2" columns="2">
16681 <features rotate="0" tabularvalignment="middle">
16682 <column alignment="left" valignment="top" width="0">
16683 <column alignment="left" valignment="top" width="0">
16684 <row>
16685 <cell alignment="center" valignment="top" usebox="none">
16686 \begin_inset Text
16687
16688 \begin_layout Plain Layout
16689 24
16690 \begin_inset space ~
16691 \end_inset
16692
16693 kW
16694 \begin_inset Formula $\cdot$
16695 \end_inset
16696
16697 h
16698 \end_layout
16699
16700 \end_inset
16701 </cell>
16702 <cell alignment="center" valignment="top" usebox="none">
16703 \begin_inset Text
16704
16705 \begin_layout Plain Layout
16706 space between number and unit
16707 \end_layout
16708
16709 \end_inset
16710 </cell>
16711 </row>
16712 <row>
16713 <cell alignment="center" valignment="top" usebox="none">
16714 \begin_inset Text
16715
16716 \begin_layout Plain Layout
16717 24
16718 \begin_inset space \thinspace{}
16719 \end_inset
16720
16721 kW
16722 \begin_inset Formula $\cdot$
16723 \end_inset
16724
16725 h
16726 \end_layout
16727
16728 \end_inset
16729 </cell>
16730 <cell alignment="center" valignment="top" usebox="none">
16731 \begin_inset Text
16732
16733 \begin_layout Plain Layout
16734 half space between number and unit
16735 \end_layout
16736
16737 \end_inset
16738 </cell>
16739 </row>
16740 </lyxtabular>
16741
16742 \end_inset
16743
16744
16745 \end_layout
16746
16747 \begin_layout Subsection
16748 Widows and Orphans
16749 \begin_inset Index idx
16750 status collapsed
16751
16752 \begin_layout Plain Layout
16753 Typography ! Widows and orphans
16754 \end_layout
16755
16756 \end_inset
16757
16758
16759 \end_layout
16760
16761 \begin_layout Standard
16762 In the early days of word processors, page breaks went wherever the page
16763  happened to end.
16764  There was no regard for what was actually going on in the text.
16765  You may remember once printing out a document, only to find the heading
16766  for a new section printed at the very bottom of the page, the first line
16767  of a new paragraph all alone at the bottom of a page, or the last line
16768  of a paragraph at the top of a new page.
16769  These bits of text became known as 
16770 \emph on
16771 widows
16772 \emph default
16773  and 
16774 \emph on
16775 orphans
16776 \emph default
16777 .
16778 \end_layout
16779
16780 \begin_layout Standard
16781 Clearly, LyX can avoid breaking pages after a section heading.
16782  That's part of the advantage of paragraph environments.
16783  But what about widows and orphans, where the page breaks leave one line
16784  of a paragraph all alone at the top or bottom of a page? There are rules
16785  built into LaTeX governing page breaks, and some of those rules are there
16786  to specifically prevent widows and orphans.
16787  This is the advantage LyX has in using LaTeX as its backend.
16788 \end_layout
16789
16790 \begin_layout Standard
16791 There's no way we can go into how TeX and LaTeX decide to break a page,
16792  or how you can tweak that behavior.
16793  Some LaTeX books listed in the bibliography (such as
16794 \begin_inset space ~
16795 \end_inset
16796
16797
16798 \begin_inset CommandInset citation
16799 LatexCommand cite
16800 key "latexcompanion"
16801
16802 \end_inset
16803
16804  or
16805 \begin_inset space ~
16806 \end_inset
16807
16808
16809 \begin_inset CommandInset citation
16810 LatexCommand cite
16811 key "latexguide"
16812
16813 \end_inset
16814
16815 ) may have more information.
16816  You will almost never need to worry about this, however.
16817 \end_layout
16818
16819 \begin_layout Chapter
16820 Notes, Graphics, Tables, and Floats
16821 \begin_inset CommandInset label
16822 LatexCommand label
16823 name "chap:Floats-and-Notes"
16824
16825 \end_inset
16826
16827
16828 \end_layout
16829
16830 \begin_layout Standard
16831 The issues of this chapter are described in detail in the 
16832 \emph on
16833 Embedded
16834 \begin_inset space ~
16835 \end_inset
16836
16837 Objects
16838 \emph default
16839  manual.
16840  There you will also find tips and tricks for special cases.
16841 \end_layout
16842
16843 \begin_layout Section
16844 Notes
16845 \begin_inset Index idx
16846 status collapsed
16847
16848 \begin_layout Plain Layout
16849 Notes
16850 \end_layout
16851
16852 \end_inset
16853
16854
16855 \begin_inset CommandInset label
16856 LatexCommand label
16857 name "sec:Notes"
16858
16859 \end_inset
16860
16861
16862 \end_layout
16863
16864 \begin_layout Standard
16865 LyX offers you a few types of notes to add to your document:
16866 \end_layout
16867
16868 \begin_layout Description
16869 LyX
16870 \begin_inset space ~
16871 \end_inset
16872
16873 Note This note type is for internal notes that will not appear in the output.
16874 \begin_inset Newline newline
16875 \end_inset
16876
16877
16878 \begin_inset Note Note
16879 status collapsed
16880
16881 \begin_layout Plain Layout
16882 This is text in a note box that doesn't appear in the output.
16883 \end_layout
16884
16885 \end_inset
16886
16887
16888 \end_layout
16889
16890 \begin_layout Description
16891 Comment This note also doesn't appear in the output but it does appear as
16892  a LaTeX-comment when you export the document to LaTeX via the menu 
16893 \family sans
16894 File\SpecialChar \menuseparator
16895 Export\SpecialChar \menuseparator
16896 LaTeX
16897 \begin_inset space ~
16898 \end_inset
16899
16900 (xxx)
16901 \family default
16902 .
16903 \begin_inset Newline newline
16904 \end_inset
16905
16906
16907 \begin_inset Note Comment
16908 status collapsed
16909
16910 \begin_layout Plain Layout
16911 This is text in a note box that only appears as a comment in LaTeX-files.
16912 \end_layout
16913
16914 \end_inset
16915
16916
16917 \end_layout
16918
16919 \begin_layout Description
16920 Greyed
16921 \begin_inset space ~
16922 \end_inset
16923
16924 Out This note will appear in the output as text in a color which you can
16925  set in the document settings under 
16926 \family sans
16927 Colors\SpecialChar \menuseparator
16928 Greyed-out
16929 \begin_inset space ~
16930 \end_inset
16931
16932 notes
16933 \family default
16934 .
16935 \begin_inset Newline newline
16936 \end_inset
16937
16938
16939 \begin_inset Newline newline
16940 \end_inset
16941
16942
16943 \begin_inset Note Greyedout
16944 status collapsed
16945
16946 \begin_layout Plain Layout
16947 This is text
16948 \begin_inset Foot
16949 status collapsed
16950
16951 \begin_layout Plain Layout
16952 This is an example footnote within a greyed out note.
16953  In this document the color of this note type is set to blue.
16954 \end_layout
16955
16956 \end_inset
16957
16958  of a comment that appears in the output.
16959 \end_layout
16960
16961 \end_inset
16962
16963
16964 \begin_inset Newline newline
16965 \end_inset
16966
16967
16968 \begin_inset Newline newline
16969 \end_inset
16970
16971 As you can see in the example, the first line of greyed out notes is a bit
16972  indented and greyed out notes can have footnotes.
16973 \end_layout
16974
16975 \begin_layout Standard
16976 Notes are inserted with the toolbar button 
16977 \begin_inset Info
16978 type  "icon"
16979 arg   "note-insert"
16980 \end_inset
16981
16982  or the menu 
16983 \family sans
16984 Insert\SpecialChar \menuseparator
16985 Note
16986 \family default
16987 .
16988  Right-click on the appearing note box to select the note type.
16989 \end_layout
16990
16991 \begin_layout Section
16992 Footnotes
16993 \begin_inset Index idx
16994 status collapsed
16995
16996 \begin_layout Plain Layout
16997 Footnotes
16998 \end_layout
16999
17000 \end_inset
17001
17002
17003 \begin_inset CommandInset label
17004 LatexCommand label
17005 name "sec:Footnotes"
17006
17007 \end_inset
17008
17009
17010 \end_layout
17011
17012 \begin_layout Standard
17013 LyX uses boxes to display footnotes: When you insert a footnote using the
17014  menu 
17015 \family sans
17016 Insert\SpecialChar \menuseparator
17017 Footnote
17018 \family default
17019  or the toolbar button 
17020 \begin_inset Info
17021 type  "icon"
17022 arg   "footnote-insert"
17023 \end_inset
17024
17025
17026 \family roman
17027 \series medium
17028 \bar no
17029 you will see
17030 \family default
17031 \series default
17032 \bar default
17033  the following box: 
17034 \begin_inset Graphics
17035         filename clipart/footnoteQt4.png
17036         scale 80
17037
17038 \end_inset
17039
17040
17041 \family roman
17042 \series medium
17043 \bar no
17044  This box is LyX's representation of your footnote.
17045  If you
17046 \family default
17047 \series default
17048 \bar default
17049  left-click on 
17050 \family roman
17051 \series medium
17052 \bar no
17053 the 
17054 \begin_inset Quotes eld
17055 \end_inset
17056
17057
17058 \family sans
17059 foot
17060 \family roman
17061
17062 \begin_inset Quotes erd
17063 \end_inset
17064
17065
17066 \family default
17067 \series default
17068 \bar default
17069  
17070 \family roman
17071 \series medium
17072 \bar no
17073 label, the box will
17074 \family default
17075 \series default
17076 \bar default
17077  be opened and you can enter the footnote text into it.
17078  Clicking on the box label again, will close 
17079 \family roman
17080 \series medium
17081 \bar no
17082 the
17083 \family default
17084 \series default
17085 \bar default
17086  box
17087 \family roman
17088 \series medium
17089 \bar no
17090 .
17091  If you want to turn existing text into a footnote, simply highlight it
17092  and click on the footnote
17093 \family default
17094 \series default
17095 \bar default
17096  toolbar 
17097 \family roman
17098 \series medium
17099 \bar no
17100 button
17101 \family default
17102 \series default
17103 \bar default
17104 .
17105 \end_layout
17106
17107 \begin_layout Standard
17108 Here is an example footnote:
17109 \family roman
17110 \series medium
17111 \bar no
17112
17113 \begin_inset Foot
17114 status collapsed
17115
17116 \begin_layout Plain Layout
17117 To close a footnote, click on the footnote box label.
17118 \end_layout
17119
17120 \end_inset
17121
17122
17123 \end_layout
17124
17125 \begin_layout Standard
17126 The footnote will appear in the output as a superscript number at the text
17127  position where the footnote box is placed.
17128  The footnote text is placed at the bottom of the current page.
17129  The footnote number is calculated by LyX.
17130  The numbers are consecutive, no matter in which chapter the footnote is
17131  in.
17132  LyX doesn't support other numbering schemes yet, but you can get other
17133  schemes using special LaTeX-commands.
17134  T
17135 \family roman
17136 h
17137 \family default
17138 ey are described in the 
17139 \emph on
17140 Embedded
17141 \begin_inset space ~
17142 \end_inset
17143
17144 Objects
17145 \emph default
17146  manual.
17147 \end_layout
17148
17149 \begin_layout Section
17150 Marginal Notes
17151 \begin_inset Index idx
17152 status collapsed
17153
17154 \begin_layout Plain Layout
17155 Marginal notes
17156 \end_layout
17157
17158 \end_inset
17159
17160
17161 \begin_inset CommandInset label
17162 LatexCommand label
17163 name "sec:Marginal-Notes"
17164
17165 \end_inset
17166
17167
17168 \end_layout
17169
17170 \begin_layout Standard
17171 Marginal notes look and behave just like footnotes in LyX.
17172  When you insert a margin note via the menu 
17173 \family sans
17174 Insert\SpecialChar \menuseparator
17175 Marginal
17176 \begin_inset space ~
17177 \end_inset
17178
17179 Note
17180 \family default
17181  or the toolbar button 
17182 \begin_inset Info
17183 type  "icon"
17184 arg   "marginalnote-insert"
17185 \end_inset
17186
17187 , you will see 
17188 \family roman
17189 \series medium
17190 a
17191 \family default
17192 \series default
17193  
17194 \family roman
17195 \series medium
17196 box with the
17197 \family default
17198 \series default
17199  
17200 \family roman
17201 \series medium
17202 label 
17203 \begin_inset Quotes eld
17204 \end_inset
17205
17206 margin
17207 \begin_inset Quotes erd
17208 \end_inset
17209
17210  appearing within your text.
17211  This box is LyX's representation of your margin
17212 \family default
17213 \series default
17214 al 
17215 \family roman
17216 \series medium
17217 note.
17218 \end_layout
17219
17220 \begin_layout Standard
17221 At the side of this sentence is an example marginal note.
17222 \family roman
17223 \series medium
17224
17225 \begin_inset Marginal
17226 status collapsed
17227
17228 \begin_layout Plain Layout
17229 This is a marginal note.
17230 \end_layout
17231
17232 \end_inset
17233
17234
17235 \end_layout
17236
17237 \begin_layout Standard
17238 Marginal notes appear at the right side in single-sided documents.
17239  In double-sided documents they appear in the outer margin – left on even
17240  pages, right on odd pages.
17241 \end_layout
17242
17243 \begin_layout Standard
17244 For further information about marginal notes see section 
17245 \emph on
17246 Margin
17247 \begin_inset space ~
17248 \end_inset
17249
17250 Notes
17251 \emph default
17252  of the 
17253 \emph on
17254 Embedded
17255 \begin_inset space ~
17256 \end_inset
17257
17258 Objects
17259 \emph default
17260  manual.
17261 \end_layout
17262
17263 \begin_layout Section
17264 Graphics and Images
17265 \begin_inset Index idx
17266 status collapsed
17267
17268 \begin_layout Plain Layout
17269 Images
17270 \end_layout
17271
17272 \end_inset
17273
17274
17275 \begin_inset Index idx
17276 status collapsed
17277
17278 \begin_layout Plain Layout
17279 Graphics
17280 \end_layout
17281
17282 \end_inset
17283
17284
17285 \begin_inset CommandInset label
17286 LatexCommand label
17287 name "sec:Graphics"
17288
17289 \end_inset
17290
17291
17292 \end_layout
17293
17294 \begin_layout Standard
17295 To insert an image in your document, place the cursor at the text position
17296  you want and click on the toolbar icon 
17297 \begin_inset Info
17298 type  "icon"
17299 arg   "dialog-show-new-inset graphics"
17300 \end_inset
17301
17302  or select 
17303 \family sans
17304 Insert\SpecialChar \menuseparator
17305 Graphics
17306 \family default
17307  from the menu.
17308  Then a dialog will appear to choose the file to load.
17309 \end_layout
17310
17311 \begin_layout Standard
17312 This dialog has numerous mostly self-explanatory parameters.
17313  The 
17314 \family sans
17315 Graphics
17316 \family default
17317  tab allows you to choose your image file.
17318  The image can be transformed by setting a rotation angle and a scaling
17319  factor.
17320  The scaling units are explained in Appendix
17321 \begin_inset space ~
17322 \end_inset
17323
17324
17325 \begin_inset CommandInset ref
17326 LatexCommand ref
17327 reference "chap:Units-available-in"
17328
17329 \end_inset
17330
17331 .
17332 \end_layout
17333
17334 \begin_layout Standard
17335 In the tab 
17336 \family sans
17337 Clipping
17338 \family default
17339  it is possible to set image coordinates to adjust the height and width
17340  of the image in the output.
17341  The coordinates can also be calculated automatically by pressing the button
17342  
17343 \family sans
17344 Get
17345 \begin_inset space ~
17346 \end_inset
17347
17348 from
17349 \begin_inset space ~
17350 \end_inset
17351
17352 file
17353 \family default
17354 .
17355  The option 
17356 \family sans
17357 Clip
17358 \begin_inset space ~
17359 \end_inset
17360
17361 to
17362 \begin_inset space ~
17363 \end_inset
17364
17365 bounding
17366 \begin_inset space ~
17367 \end_inset
17368
17369 box
17370 \family default
17371  will only print the image region within the given coordinates.
17372  Normally you don't need to take care about image coordinates and can ignore
17373  the tab 
17374 \family sans
17375 Clipping
17376 \family default
17377 .
17378 \end_layout
17379
17380 \begin_layout Standard
17381 In the 
17382 \family sans
17383 LaTeX and LyX options
17384 \family default
17385  tab LaTeX experts can specify additional LaTeX options.
17386  In this tab you can also specify the appearance of the image inside LyX.
17387  The option 
17388 \family sans
17389 Draft
17390 \begin_inset space ~
17391 \end_inset
17392
17393 mode
17394 \family default
17395  has the effect that the image doesn't appear in the output, only a frame
17396  with the image size is printed.
17397  The option 
17398 \family sans
17399 Don't
17400 \begin_inset space ~
17401 \end_inset
17402
17403 unzip
17404 \begin_inset space ~
17405 \end_inset
17406
17407 on
17408 \begin_inset space ~
17409 \end_inset
17410
17411 export
17412 \family default
17413  is explained in the 
17414 \emph on
17415 Embedded
17416 \begin_inset space ~
17417 \end_inset
17418
17419 Objects
17420 \emph default
17421  manual in section 
17422 \emph on
17423 Graphics Dialog
17424 \emph default
17425 .
17426 \end_layout
17427
17428 \begin_layout Standard
17429 The graphics dialog can be called at any time by clicking on an image.
17430  Images will appear in the output exactly at the position where they are
17431  in the text.
17432  This is an example image within a separate, horizontally centered paragraph:
17433  
17434 \end_layout
17435
17436 \begin_layout Standard
17437 \align center
17438 \begin_inset Graphics
17439         filename clipart/mobius.eps
17440         scale 70
17441
17442 \end_inset
17443
17444
17445 \end_layout
17446
17447 \begin_layout Standard
17448 If you need image captions or want to reference images, you have to put
17449  the image into a float, see section
17450 \begin_inset space ~
17451 \end_inset
17452
17453
17454 \begin_inset CommandInset ref
17455 LatexCommand ref
17456 reference "sub:Figure-Floats"
17457
17458 \end_inset
17459
17460 .
17461 \end_layout
17462
17463 \begin_layout Subsection
17464 Image Formats
17465 \begin_inset Index idx
17466 status collapsed
17467
17468 \begin_layout Plain Layout
17469 Images ! Formats
17470 \end_layout
17471
17472 \end_inset
17473
17474
17475 \begin_inset CommandInset label
17476 LatexCommand label
17477 name "sub:Image-Formats"
17478
17479 \end_inset
17480
17481
17482 \end_layout
17483
17484 \begin_layout Standard
17485 You can insert images in any known file format.
17486  But as we explained in section
17487 \begin_inset space ~
17488 \end_inset
17489
17490
17491 \begin_inset CommandInset ref
17492 LatexCommand ref
17493 reference "sub:Output-file-formats"
17494
17495 \end_inset
17496
17497 , every output document format allows only a few image formats.
17498  LyX therefore uses the program 
17499 \family typewriter
17500 ImageMagick
17501 \family default
17502  in the background to convert the images to the right format.
17503  To increase your workflow by avoiding these conversions in the background,
17504  use only the image formats listed in the subsections of section
17505 \begin_inset space ~
17506 \end_inset
17507
17508
17509 \begin_inset CommandInset ref
17510 LatexCommand ref
17511 reference "sub:Output-file-formats"
17512
17513 \end_inset
17514
17515 .
17516 \end_layout
17517
17518 \begin_layout Standard
17519 Similar to fonts there are two types of image formats:
17520 \end_layout
17521
17522 \begin_layout Description
17523 Bitmap
17524 \begin_inset space ~
17525 \end_inset
17526
17527 images consist of pixel values, often in a compressed form.
17528  They are therefore not fully scalable and look pixelated in large zooms.
17529  Well-known bitmap image formats are 
17530 \begin_inset Quotes eld
17531 \end_inset
17532
17533 Graphics Interchange Format
17534 \begin_inset Quotes erd
17535 \end_inset
17536
17537  (GIF, file extension 
17538 \begin_inset Quotes eld
17539 \end_inset
17540
17541
17542 \family typewriter
17543 .gif
17544 \family default
17545
17546 \begin_inset Quotes erd
17547 \end_inset
17548
17549 )
17550 \begin_inset Index idx
17551 status collapsed
17552
17553 \begin_layout Plain Layout
17554 GIF|see
17555 \begin_inset ERT
17556 status collapsed
17557
17558 \begin_layout Plain Layout
17559
17560 {
17561 \end_layout
17562
17563 \end_inset
17564
17565 Image formats
17566 \begin_inset ERT
17567 status collapsed
17568
17569 \begin_layout Plain Layout
17570
17571 }
17572 \end_layout
17573
17574 \end_inset
17575
17576
17577 \end_layout
17578
17579 \end_inset
17580
17581
17582 \begin_inset Quotes eld
17583 \end_inset
17584
17585 Portable Network Graphics
17586 \begin_inset Quotes erd
17587 \end_inset
17588
17589  (PNG, file extension 
17590 \begin_inset Quotes eld
17591 \end_inset
17592
17593
17594 \family typewriter
17595 .png
17596 \family default
17597
17598 \begin_inset Quotes erd
17599 \end_inset
17600
17601 )
17602 \begin_inset Index idx
17603 status collapsed
17604
17605 \begin_layout Plain Layout
17606 PNG|see
17607 \begin_inset ERT
17608 status collapsed
17609
17610 \begin_layout Plain Layout
17611
17612 {
17613 \end_layout
17614
17615 \end_inset
17616
17617 Image formats
17618 \begin_inset ERT
17619 status collapsed
17620
17621 \begin_layout Plain Layout
17622
17623 }
17624 \end_layout
17625
17626 \end_inset
17627
17628
17629 \end_layout
17630
17631 \end_inset
17632
17633 , and 
17634 \begin_inset Quotes eld
17635 \end_inset
17636
17637 Joint Photographic Experts Group
17638 \begin_inset Quotes erd
17639 \end_inset
17640
17641  (JPG, file extension 
17642 \begin_inset Quotes eld
17643 \end_inset
17644
17645
17646 \family typewriter
17647 .jpg
17648 \family default
17649
17650 \begin_inset Quotes erd
17651 \end_inset
17652
17653  or 
17654 \begin_inset Quotes eld
17655 \end_inset
17656
17657
17658 \family typewriter
17659 .jpeg
17660 \family default
17661
17662 \begin_inset Quotes erd
17663 \end_inset
17664
17665 )
17666 \begin_inset Index idx
17667 status collapsed
17668
17669 \begin_layout Plain Layout
17670 JPG|see
17671 \begin_inset ERT
17672 status collapsed
17673
17674 \begin_layout Plain Layout
17675
17676 {
17677 \end_layout
17678
17679 \end_inset
17680
17681 Image formats
17682 \begin_inset ERT
17683 status collapsed
17684
17685 \begin_layout Plain Layout
17686
17687 }
17688 \end_layout
17689
17690 \end_inset
17691
17692
17693 \end_layout
17694
17695 \end_inset
17696
17697 .
17698 \end_layout
17699
17700 \begin_layout Description
17701 Scalable
17702 \begin_inset space ~
17703 \end_inset
17704
17705 images consist of vectors and can therefore be scaled to any size without
17706  data loss.
17707  The scaling ability is desired if you want to create presentations, because
17708  presentations are always scaled by the beamer.
17709  Scaling is also useful for online documents to let the user zoom into diagrams.
17710 \begin_inset Newline newline
17711 \end_inset
17712
17713 Scalable image formats can be 
17714 \begin_inset Quotes eld
17715 \end_inset
17716
17717 Scalable Vector Graphics
17718 \begin_inset Quotes erd
17719 \end_inset
17720
17721  (SVG, file extension 
17722 \begin_inset Quotes eld
17723 \end_inset
17724
17725
17726 \family typewriter
17727 .svg
17728 \family default
17729
17730 \begin_inset Quotes erd
17731 \end_inset
17732
17733 )
17734 \begin_inset Index idx
17735 status collapsed
17736
17737 \begin_layout Plain Layout
17738 SVG|see
17739 \begin_inset ERT
17740 status collapsed
17741
17742 \begin_layout Plain Layout
17743
17744 {
17745 \end_layout
17746
17747 \end_inset
17748
17749 Image formats
17750 \begin_inset ERT
17751 status collapsed
17752
17753 \begin_layout Plain Layout
17754
17755 }
17756 \end_layout
17757
17758 \end_inset
17759
17760
17761 \end_layout
17762
17763 \end_inset
17764
17765
17766 \begin_inset Quotes eld
17767 \end_inset
17768
17769 Encapsulated PostScript
17770 \begin_inset Quotes erd
17771 \end_inset
17772
17773  (EPS, file extension 
17774 \begin_inset Quotes eld
17775 \end_inset
17776
17777
17778 \family typewriter
17779 .eps
17780 \family default
17781
17782 \begin_inset Quotes erd
17783 \end_inset
17784
17785 )
17786 \begin_inset Index idx
17787 status collapsed
17788
17789 \begin_layout Plain Layout
17790 EPS|see
17791 \begin_inset ERT
17792 status collapsed
17793
17794 \begin_layout Plain Layout
17795
17796 {
17797 \end_layout
17798
17799 \end_inset
17800
17801 Image formats
17802 \begin_inset ERT
17803 status collapsed
17804
17805 \begin_layout Plain Layout
17806
17807 }
17808 \end_layout
17809
17810 \end_inset
17811
17812
17813 \end_layout
17814
17815 \end_inset
17816
17817 , and 
17818 \begin_inset Quotes eld
17819 \end_inset
17820
17821 Portable Document Format
17822 \begin_inset Quotes erd
17823 \end_inset
17824
17825  (PDF, file extension 
17826 \begin_inset Quotes eld
17827 \end_inset
17828
17829
17830 \family typewriter
17831 .pdf
17832 \family default
17833
17834 \begin_inset Quotes erd
17835 \end_inset
17836
17837 )
17838 \begin_inset Index idx
17839 status collapsed
17840
17841 \begin_layout Plain Layout
17842 PDF
17843 \end_layout
17844
17845 \end_inset
17846
17847 .
17848  We say 
17849 \begin_inset Quotes eld
17850 \end_inset
17851
17852 can be
17853 \begin_inset Quotes erd
17854 \end_inset
17855
17856 , because you can convert any bitmap image format to PDF or EPS and the
17857  result will not be scalable.
17858  In this case only a header with the image properties is added to the original
17859  image.
17860 \begin_inset Foot
17861 status collapsed
17862
17863 \begin_layout Plain Layout
17864 In the case of PDF, the original image is additionally compressed.
17865 \end_layout
17866
17867 \end_inset
17868
17869
17870 \end_layout
17871
17872 \begin_layout Standard
17873 Normally one cannot convert a bitmap image into a scalable one, only vice
17874  versa.
17875 \end_layout
17876
17877 \begin_layout Subsection
17878 Grouping of Image Settings
17879 \begin_inset Index idx
17880 status collapsed
17881
17882 \begin_layout Plain Layout
17883 Images ! Settings grouping
17884 \end_layout
17885
17886 \end_inset
17887
17888
17889 \end_layout
17890
17891 \begin_layout Standard
17892 Each image can define a new group of image settings or join an existing
17893  group.
17894  Images within such a group share their settings, so adjusting one image
17895  of the group automatically also adjusts all other images of the group in
17896  the same way.
17897  So you can for example change the size for a bunch of images without the
17898  need to manually change each of them.
17899  
17900 \end_layout
17901
17902 \begin_layout Standard
17903 A new group can be set by entering a name in the 
17904 \family sans
17905 Group
17906 \begin_inset space ~
17907 \end_inset
17908
17909 Name
17910 \family default
17911  field in the Graphics dialog.
17912  Joining an existing group can be done using the context menu of the image
17913  by checking the name of the desired group.
17914 \end_layout
17915
17916 \begin_layout Section
17917 Tables
17918 \begin_inset Index idx
17919 status collapsed
17920
17921 \begin_layout Plain Layout
17922 Tables
17923 \end_layout
17924
17925 \end_inset
17926
17927
17928 \begin_inset CommandInset label
17929 LatexCommand label
17930 name "sec:Tables"
17931
17932 \end_inset
17933
17934
17935 \end_layout
17936
17937 \begin_layout Standard
17938 You can insert a table using either the toolbar button 
17939 \begin_inset Info
17940 type  "icon"
17941 arg   "tabular-insert"
17942 \end_inset
17943
17944  or the menu 
17945 \family sans
17946 Insert\SpecialChar \menuseparator
17947 Table
17948 \family default
17949 .
17950  A dialog will appear, asking you for the number of rows and columns.
17951  The default table has lines around any cell and the first row appears separated
17952  from the rest of the table.
17953  This separation appears due to a double line: The cells of the first row
17954  have a line below them and the cells of the second row have a line above
17955  them.
17956  Here is an example table:
17957 \end_layout
17958
17959 \begin_layout Standard
17960 \align center
17961 \begin_inset Tabular
17962 <lyxtabular version="3" rows="4" columns="4">
17963 <features rotate="0" tabularvalignment="middle">
17964 <column alignment="center" valignment="top" width="0pt">
17965 <column alignment="center" valignment="top" width="0pt">
17966 <column alignment="center" valignment="top" width="0in">
17967 <column alignment="center" valignment="top" width="0pt">
17968 <row>
17969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17970 \begin_inset Text
17971
17972 \begin_layout Plain Layout
17973
17974 \end_layout
17975
17976 \end_inset
17977 </cell>
17978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17979 \begin_inset Text
17980
17981 \begin_layout Plain Layout
17982
17983 \family roman
17984 \series medium
17985 \shape up
17986 \size normal
17987 \emph off
17988 \bar no
17989 \noun off
17990 \color none
17991 1
17992 \end_layout
17993
17994 \end_inset
17995 </cell>
17996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17997 \begin_inset Text
17998
17999 \begin_layout Plain Layout
18000 2
18001 \end_layout
18002
18003 \end_inset
18004 </cell>
18005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18006 \begin_inset Text
18007
18008 \begin_layout Plain Layout
18009 3
18010 \end_layout
18011
18012 \end_inset
18013 </cell>
18014 </row>
18015 <row>
18016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18017 \begin_inset Text
18018
18019 \begin_layout Plain Layout
18020
18021 \family roman
18022 \series medium
18023 \shape up
18024 \size normal
18025 \emph off
18026 \bar no
18027 \noun off
18028 \color none
18029 A
18030 \end_layout
18031
18032 \end_inset
18033 </cell>
18034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18035 \begin_inset Text
18036
18037 \begin_layout Plain Layout
18038
18039 \end_layout
18040
18041 \end_inset
18042 </cell>
18043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18044 \begin_inset Text
18045
18046 \begin_layout Plain Layout
18047
18048 \end_layout
18049
18050 \end_inset
18051 </cell>
18052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18053 \begin_inset Text
18054
18055 \begin_layout Plain Layout
18056
18057 \end_layout
18058
18059 \end_inset
18060 </cell>
18061 </row>
18062 <row>
18063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18064 \begin_inset Text
18065
18066 \begin_layout Plain Layout
18067
18068 \family roman
18069 \series medium
18070 \shape up
18071 \size normal
18072 \emph off
18073 \bar no
18074 \noun off
18075 \color none
18076 B
18077 \end_layout
18078
18079 \end_inset
18080 </cell>
18081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18082 \begin_inset Text
18083
18084 \begin_layout Plain Layout
18085
18086 \end_layout
18087
18088 \end_inset
18089 </cell>
18090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18091 \begin_inset Text
18092
18093 \begin_layout Plain Layout
18094
18095 \size normal
18096 \noun off
18097 \color none
18098  
18099 \end_layout
18100
18101 \end_inset
18102 </cell>
18103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18104 \begin_inset Text
18105
18106 \begin_layout Plain Layout
18107
18108 \end_layout
18109
18110 \end_inset
18111 </cell>
18112 </row>
18113 <row>
18114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18115 \begin_inset Text
18116
18117 \begin_layout Plain Layout
18118
18119 \family roman
18120 \series medium
18121 \shape up
18122 \size normal
18123 \emph off
18124 \bar no
18125 \noun off
18126 \color none
18127 C
18128 \end_layout
18129
18130 \end_inset
18131 </cell>
18132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18133 \begin_inset Text
18134
18135 \begin_layout Plain Layout
18136
18137 \end_layout
18138
18139 \end_inset
18140 </cell>
18141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18142 \begin_inset Text
18143
18144 \begin_layout Plain Layout
18145
18146 \end_layout
18147
18148 \end_inset
18149 </cell>
18150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18151 \begin_inset Text
18152
18153 \begin_layout Plain Layout
18154
18155 \end_layout
18156
18157 \end_inset
18158 </cell>
18159 </row>
18160 </lyxtabular>
18161
18162 \end_inset
18163
18164
18165 \end_layout
18166
18167 \begin_layout Subsection
18168 The Table dialog
18169 \end_layout
18170
18171 \begin_layout Standard
18172 You can alter a table by clicking on it with the right mouse button and
18173  then choosing 
18174 \family sans
18175 More\SpecialChar \menuseparator
18176 Settings
18177 \family default
18178 .
18179  This brings up the table dialog.
18180  Here you can adjust the settings of the cell, row and/or column where the
18181  cursor is placed currently.
18182  Most of the dialog options also work on selections.
18183  This means that if you select more cells, columns or rows the action is
18184  done on all of your selection.
18185 \end_layout
18186
18187 \begin_layout Standard
18188 In addition to the table dialog, the 
18189 \family sans
18190 table
18191 \begin_inset space ~
18192 \end_inset
18193
18194 toolbar
18195 \family default
18196  helps you in setting table properties.
18197  It appears if the cursor is inside a table.
18198 \end_layout
18199
18200 \begin_layout Standard
18201 In the tab 
18202 \family sans
18203 Table
18204 \begin_inset space ~
18205 \end_inset
18206
18207 Settings
18208 \family default
18209  of the table dialog you can set the alignment for the current row.
18210  If you add a row or column, it will be inserted right beside or below the
18211  current cell respectively.
18212  The vertical alignment of a column can only be adjusted when a column width
18213  is given.
18214  A given width will allow the cell to have line breaks and multiple paragraphs
18215  of text, see section
18216 \begin_inset space ~
18217 \end_inset
18218
18219
18220 \begin_inset CommandInset ref
18221 LatexCommand ref
18222 reference "sub:Table-Cells"
18223
18224 \end_inset
18225
18226 .
18227 \end_layout
18228
18229 \begin_layout Standard
18230 You can mark multiple cells of one row/column as a multicolumn/row cell
18231  using the check box 
18232 \family sans
18233 Multicolumn
18234 \family default
18235  or 
18236 \family sans
18237 Multirow
18238 \family default
18239 .
18240  This will merge the cells to 
18241 \emph on
18242 one
18243 \emph default
18244  cell, spread over more than one column/row.
18245  Multicolumn cells are treated as own rows, so that the alignment, width,
18246  and border settings affect only the multicolumn cell.
18247  Here is an example table with a multicolumn cell in the first row and one
18248  in the last row without the upper border:
18249 \end_layout
18250
18251 \begin_layout Standard
18252 \align center
18253 \begin_inset Tabular
18254 <lyxtabular version="3" rows="3" columns="4">
18255 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
18256 <column alignment="center" valignment="top" width="0pt">
18257 <column alignment="center" valignment="middle" width="0">
18258 <column alignment="center" valignment="top" width="0in">
18259 <column alignment="center" valignment="top" width="0pt">
18260 <row>
18261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18262 \begin_inset Text
18263
18264 \begin_layout Plain Layout
18265 abc
18266 \end_layout
18267
18268 \end_inset
18269 </cell>
18270 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
18271 \begin_inset Text
18272
18273 \begin_layout Plain Layout
18274 def ghi
18275 \end_layout
18276
18277 \end_inset
18278 </cell>
18279 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18280 \begin_inset Text
18281
18282 \begin_layout Plain Layout
18283
18284 \end_layout
18285
18286 \end_inset
18287 </cell>
18288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18289 \begin_inset Text
18290
18291 \begin_layout Plain Layout
18292 jkl
18293 \end_layout
18294
18295 \end_inset
18296 </cell>
18297 </row>
18298 <row>
18299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18300 \begin_inset Text
18301
18302 \begin_layout Plain Layout
18303
18304 \family roman
18305 \series medium
18306 \shape up
18307 \size normal
18308 \emph off
18309 \bar no
18310 \noun off
18311 \color none
18312 A
18313 \end_layout
18314
18315 \end_inset
18316 </cell>
18317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18318 \begin_inset Text
18319
18320 \begin_layout Plain Layout
18321 B
18322 \end_layout
18323
18324 \end_inset
18325 </cell>
18326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18327 \begin_inset Text
18328
18329 \begin_layout Plain Layout
18330 C
18331 \end_layout
18332
18333 \end_inset
18334 </cell>
18335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18336 \begin_inset Text
18337
18338 \begin_layout Plain Layout
18339 D
18340 \end_layout
18341
18342 \end_inset
18343 </cell>
18344 </row>
18345 <row>
18346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18347 \begin_inset Text
18348
18349 \begin_layout Plain Layout
18350 1
18351 \end_layout
18352
18353 \end_inset
18354 </cell>
18355 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18356 \begin_inset Text
18357
18358 \begin_layout Plain Layout
18359 2
18360 \end_layout
18361
18362 \end_inset
18363 </cell>
18364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18365 \begin_inset Text
18366
18367 \begin_layout Plain Layout
18368 3
18369 \end_layout
18370
18371 \end_inset
18372 </cell>
18373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18374 \begin_inset Text
18375
18376 \begin_layout Plain Layout
18377 4
18378 \end_layout
18379
18380 \end_inset
18381 </cell>
18382 </row>
18383 </lyxtabular>
18384
18385 \end_inset
18386
18387
18388 \end_layout
18389
18390 \begin_layout Standard
18391 Adept users can declare special LaTeX-arguments for the table.
18392  They are necessary for special table formatting, like for multirow cells,
18393  explained in the chapter 
18394 \emph on
18395 Tables
18396 \emph default
18397  of the 
18398 \emph on
18399 Embedded
18400 \begin_inset space ~
18401 \end_inset
18402
18403 Objects
18404 \emph default
18405  manual.
18406  You can also rotate the current cell or the whole table 90
18407 \begin_inset space \thinspace{}
18408 \end_inset
18409
18410 degrees counterclockwise.
18411  These rotations are not visible in LyX but are visible in the output.
18412 \end_layout
18413
18414 \begin_layout Standard
18415 \begin_inset Note Greyedout
18416 status collapsed
18417
18418 \begin_layout Plain Layout
18419
18420 \series bold
18421 Note:
18422 \series default
18423  Most DVI-viewers are 
18424 \emph on
18425 not
18426 \emph default
18427  able to display rotations.
18428 \end_layout
18429
18430 \end_inset
18431
18432
18433 \end_layout
18434
18435 \begin_layout Standard
18436 The 
18437 \family sans
18438 Borders
18439 \family default
18440  tab allows you to add and delete border lines for the current row/column.
18441  The button 
18442 \family sans
18443 Default
18444 \family default
18445  adds lines for all cell borders.
18446 \end_layout
18447
18448 \begin_layout Subsection
18449 Longtables
18450 \begin_inset Index idx
18451 status collapsed
18452
18453 \begin_layout Plain Layout
18454 Tables ! Longtables
18455 \end_layout
18456
18457 \end_inset
18458
18459
18460 \begin_inset Index idx
18461 status collapsed
18462
18463 \begin_layout Plain Layout
18464 Longtables
18465 \end_layout
18466
18467 \end_inset
18468
18469
18470 \end_layout
18471
18472 \begin_layout Standard
18473 If the table is too long to fit on one page, you can use the option 
18474 \family sans
18475 Use
18476 \begin_inset space ~
18477 \end_inset
18478
18479 long
18480 \begin_inset space ~
18481 \end_inset
18482
18483 table
18484 \family default
18485  in the tab 
18486 \family sans
18487 Longtable
18488 \family default
18489  of the table dialog to split the table automatically over more pages.
18490  Doing this enables some check boxes and you can now define:
18491 \end_layout
18492
18493 \begin_layout Description
18494
18495 \family sans
18496 Header
18497 \family default
18498 : The current row and all rows above, that don't have any special options
18499  defined, are defined to be the header rows of all pages of the longtable;
18500  except for the first page, if 
18501 \family sans
18502 First
18503 \begin_inset space ~
18504 \end_inset
18505
18506 header
18507 \family default
18508  is defined.
18509 \end_layout
18510
18511 \begin_layout Description
18512
18513 \family sans
18514 First
18515 \begin_inset space ~
18516 \end_inset
18517
18518 header
18519 \family default
18520 : The current row and all rows above, that don't have any special options
18521  defined, are defined to be the header rows of the first page of the longtable.
18522 \end_layout
18523
18524 \begin_layout Description
18525
18526 \family sans
18527 Footer
18528 \family default
18529 : The current row and all rows below, that don't have any special options
18530  defined, are defined to be the footer rows of all pages of the longtable;
18531  except for the last page, if 
18532 \family sans
18533 Last
18534 \begin_inset space ~
18535 \end_inset
18536
18537 footer
18538 \family default
18539  is defined.
18540 \end_layout
18541
18542 \begin_layout Description
18543
18544 \family sans
18545 Last
18546 \begin_inset space ~
18547 \end_inset
18548
18549 footer
18550 \family default
18551 : The current row and all rows below, that don't have any special options
18552  defined, are defined to be the footer rows of the last page of the longtable.
18553 \end_layout
18554
18555 \begin_layout Description
18556 Caption: The first row is reset as a single column.
18557  You can now insert there the table caption via the menu 
18558 \family sans
18559 Insert\SpecialChar \menuseparator
18560 Caption
18561 \family default
18562 .
18563  More about longtable captions can be found in the 
18564 \emph on
18565 Embedded
18566 \begin_inset space ~
18567 \end_inset
18568
18569 Objects
18570 \emph default
18571  manual.
18572 \end_layout
18573
18574 \begin_layout Standard
18575 You can also specify a row where the table is split.
18576  If you set more than one option in the same table row, you should be aware
18577  that then only the first option is used; the others will be defined as
18578  
18579 \emph on
18580 empty
18581 \emph default
18582 .
18583  In this context, first means first in this order: 
18584 \family sans
18585 Footer, Last
18586 \begin_inset space ~
18587 \end_inset
18588
18589 footer,
18590 \family default
18591  
18592 \family sans
18593 Header,
18594 \family default
18595  
18596 \family sans
18597 First
18598 \begin_inset space ~
18599 \end_inset
18600
18601 header
18602 \family default
18603 ; see the following longtable to see how it works:
18604 \end_layout
18605
18606 \begin_layout Standard
18607 \align center
18608 \begin_inset Tabular
18609 <lyxtabular version="3" rows="69" columns="3">
18610 <features rotate="0" islongtable="true" longtabularalignment="center">
18611 <column alignment="block" valignment="top" width="5cm">
18612 <column alignment="left" valignment="top" width="0pt">
18613 <column alignment="right" valignment="top" width="0pt">
18614 <row endfirsthead="true">
18615 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18616 \begin_inset Text
18617
18618 \begin_layout Plain Layout
18619
18620 \series bold
18621 Example Phone List (ignore the names)
18622 \end_layout
18623
18624 \end_inset
18625 </cell>
18626 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18627 \begin_inset Text
18628
18629 \begin_layout Plain Layout
18630
18631 \end_layout
18632
18633 \end_inset
18634 </cell>
18635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18636 \begin_inset Text
18637
18638 \begin_layout Plain Layout
18639
18640 \end_layout
18641
18642 \end_inset
18643 </cell>
18644 </row>
18645 <row endfirsthead="true">
18646 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18647 \begin_inset Text
18648
18649 \begin_layout Plain Layout
18650
18651 \series bold
18652 NAME
18653 \end_layout
18654
18655 \end_inset
18656 </cell>
18657 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18658 \begin_inset Text
18659
18660 \begin_layout Plain Layout
18661
18662 \end_layout
18663
18664 \end_inset
18665 </cell>
18666 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18667 \begin_inset Text
18668
18669 \begin_layout Plain Layout
18670
18671 \series bold
18672 TEL.
18673 \end_layout
18674
18675 \end_inset
18676 </cell>
18677 </row>
18678 <row endhead="true">
18679 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18680 \begin_inset Text
18681
18682 \begin_layout Plain Layout
18683  
18684 \series bold
18685 Example Phone List
18686 \end_layout
18687
18688 \end_inset
18689 </cell>
18690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18691 \begin_inset Text
18692
18693 \begin_layout Plain Layout
18694
18695 \end_layout
18696
18697 \end_inset
18698 </cell>
18699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18700 \begin_inset Text
18701
18702 \begin_layout Plain Layout
18703
18704 \end_layout
18705
18706 \end_inset
18707 </cell>
18708 </row>
18709 <row endhead="true">
18710 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18711 \begin_inset Text
18712
18713 \begin_layout Plain Layout
18714
18715 \series bold
18716 NAME
18717 \end_layout
18718
18719 \end_inset
18720 </cell>
18721 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18722 \begin_inset Text
18723
18724 \begin_layout Plain Layout
18725
18726 \end_layout
18727
18728 \end_inset
18729 </cell>
18730 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18731 \begin_inset Text
18732
18733 \begin_layout Plain Layout
18734
18735 \series bold
18736 TEL.
18737 \end_layout
18738
18739 \end_inset
18740 </cell>
18741 </row>
18742 <row endfoot="true">
18743 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18744 \begin_inset Text
18745
18746 \begin_layout Plain Layout
18747  
18748 \series bold
18749 continue ...
18750 \end_layout
18751
18752 \end_inset
18753 </cell>
18754 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18755 \begin_inset Text
18756
18757 \begin_layout Plain Layout
18758
18759 \end_layout
18760
18761 \end_inset
18762 </cell>
18763 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18764 \begin_inset Text
18765
18766 \begin_layout Plain Layout
18767
18768 \end_layout
18769
18770 \end_inset
18771 </cell>
18772 </row>
18773 <row>
18774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18775 \begin_inset Text
18776
18777 \begin_layout Plain Layout
18778
18779 \series bold
18780 Annovi
18781 \end_layout
18782
18783 \end_inset
18784 </cell>
18785 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18786 \begin_inset Text
18787
18788 \begin_layout Plain Layout
18789 Silvia
18790 \end_layout
18791
18792 \end_inset
18793 </cell>
18794 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18795 \begin_inset Text
18796
18797 \begin_layout Plain Layout
18798 111
18799 \end_layout
18800
18801 \end_inset
18802 </cell>
18803 </row>
18804 <row>
18805 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18806 \begin_inset Text
18807
18808 \begin_layout Plain Layout
18809
18810 \series bold
18811 Bertoli
18812 \end_layout
18813
18814 \end_inset
18815 </cell>
18816 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18817 \begin_inset Text
18818
18819 \begin_layout Plain Layout
18820 Stefano
18821 \end_layout
18822
18823 \end_inset
18824 </cell>
18825 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18826 \begin_inset Text
18827
18828 \begin_layout Plain Layout
18829 111
18830 \end_layout
18831
18832 \end_inset
18833 </cell>
18834 </row>
18835 <row>
18836 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18837 \begin_inset Text
18838
18839 \begin_layout Plain Layout
18840
18841 \series bold
18842 Bozzi
18843 \end_layout
18844
18845 \end_inset
18846 </cell>
18847 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18848 \begin_inset Text
18849
18850 \begin_layout Plain Layout
18851 Walter
18852 \end_layout
18853
18854 \end_inset
18855 </cell>
18856 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18857 \begin_inset Text
18858
18859 \begin_layout Plain Layout
18860 111
18861 \end_layout
18862
18863 \end_inset
18864 </cell>
18865 </row>
18866 <row>
18867 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18868 \begin_inset Text
18869
18870 \begin_layout Plain Layout
18871
18872 \series bold
18873 Cachia
18874 \end_layout
18875
18876 \end_inset
18877 </cell>
18878 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18879 \begin_inset Text
18880
18881 \begin_layout Plain Layout
18882 Maria
18883 \end_layout
18884
18885 \end_inset
18886 </cell>
18887 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18888 \begin_inset Text
18889
18890 \begin_layout Plain Layout
18891 111
18892 \end_layout
18893
18894 \end_inset
18895 </cell>
18896 </row>
18897 <row>
18898 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18899 \begin_inset Text
18900
18901 \begin_layout Plain Layout
18902
18903 \series bold
18904 Cachia
18905 \end_layout
18906
18907 \end_inset
18908 </cell>
18909 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18910 \begin_inset Text
18911
18912 \begin_layout Plain Layout
18913 Maurizio
18914 \end_layout
18915
18916 \end_inset
18917 </cell>
18918 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18919 \begin_inset Text
18920
18921 \begin_layout Plain Layout
18922 111
18923 \end_layout
18924
18925 \end_inset
18926 </cell>
18927 </row>
18928 <row>
18929 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18930 \begin_inset Text
18931
18932 \begin_layout Plain Layout
18933
18934 \series bold
18935 Cinquemani
18936 \end_layout
18937
18938 \end_inset
18939 </cell>
18940 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18941 \begin_inset Text
18942
18943 \begin_layout Plain Layout
18944 Giusi
18945 \end_layout
18946
18947 \end_inset
18948 </cell>
18949 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18950 \begin_inset Text
18951
18952 \begin_layout Plain Layout
18953 111
18954 \end_layout
18955
18956 \end_inset
18957 </cell>
18958 </row>
18959 <row>
18960 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18961 \begin_inset Text
18962
18963 \begin_layout Plain Layout
18964
18965 \series bold
18966 Colin
18967 \end_layout
18968
18969 \end_inset
18970 </cell>
18971 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18972 \begin_inset Text
18973
18974 \begin_layout Plain Layout
18975 Bernard
18976 \end_layout
18977
18978 \end_inset
18979 </cell>
18980 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18981 \begin_inset Text
18982
18983 \begin_layout Plain Layout
18984 111
18985 \end_layout
18986
18987 \end_inset
18988 </cell>
18989 </row>
18990 <row>
18991 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18992 \begin_inset Text
18993
18994 \begin_layout Plain Layout
18995
18996 \series bold
18997 Concli
18998 \end_layout
18999
19000 \end_inset
19001 </cell>
19002 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19003 \begin_inset Text
19004
19005 \begin_layout Plain Layout
19006 Gianfranco
19007 \end_layout
19008
19009 \end_inset
19010 </cell>
19011 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19012 \begin_inset Text
19013
19014 \begin_layout Plain Layout
19015 111
19016 \end_layout
19017
19018 \end_inset
19019 </cell>
19020 </row>
19021 <row>
19022 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19023 \begin_inset Text
19024
19025 \begin_layout Plain Layout
19026
19027 \series bold
19028 Dal Bosco
19029 \end_layout
19030
19031 \end_inset
19032 </cell>
19033 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19034 \begin_inset Text
19035
19036 \begin_layout Plain Layout
19037 Carolina
19038 \end_layout
19039
19040 \end_inset
19041 </cell>
19042 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19043 \begin_inset Text
19044
19045 \begin_layout Plain Layout
19046 111
19047 \end_layout
19048
19049 \end_inset
19050 </cell>
19051 </row>
19052 <row>
19053 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19054 \begin_inset Text
19055
19056 \begin_layout Plain Layout
19057
19058 \series bold
19059 Dalpiaz
19060 \end_layout
19061
19062 \end_inset
19063 </cell>
19064 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19065 \begin_inset Text
19066
19067 \begin_layout Plain Layout
19068 Annamaria
19069 \end_layout
19070
19071 \end_inset
19072 </cell>
19073 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19074 \begin_inset Text
19075
19076 \begin_layout Plain Layout
19077 111
19078 \end_layout
19079
19080 \end_inset
19081 </cell>
19082 </row>
19083 <row>
19084 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19085 \begin_inset Text
19086
19087 \begin_layout Plain Layout
19088
19089 \series bold
19090 Feliciello
19091 \end_layout
19092
19093 \end_inset
19094 </cell>
19095 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19096 \begin_inset Text
19097
19098 \begin_layout Plain Layout
19099 Domenico
19100 \end_layout
19101
19102 \end_inset
19103 </cell>
19104 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19105 \begin_inset Text
19106
19107 \begin_layout Plain Layout
19108 111
19109 \end_layout
19110
19111 \end_inset
19112 </cell>
19113 </row>
19114 <row>
19115 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19116 \begin_inset Text
19117
19118 \begin_layout Plain Layout
19119
19120 \series bold
19121 Focarelli
19122 \end_layout
19123
19124 \end_inset
19125 </cell>
19126 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19127 \begin_inset Text
19128
19129 \begin_layout Plain Layout
19130 Paola
19131 \end_layout
19132
19133 \end_inset
19134 </cell>
19135 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19136 \begin_inset Text
19137
19138 \begin_layout Plain Layout
19139 111
19140 \end_layout
19141
19142 \end_inset
19143 </cell>
19144 </row>
19145 <row>
19146 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19147 \begin_inset Text
19148
19149 \begin_layout Plain Layout
19150
19151 \series bold
19152 Galletti
19153 \end_layout
19154
19155 \end_inset
19156 </cell>
19157 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19158 \begin_inset Text
19159
19160 \begin_layout Plain Layout
19161 Oreste
19162 \end_layout
19163
19164 \end_inset
19165 </cell>
19166 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19167 \begin_inset Text
19168
19169 \begin_layout Plain Layout
19170 111
19171 \end_layout
19172
19173 \end_inset
19174 </cell>
19175 </row>
19176 <row>
19177 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19178 \begin_inset Text
19179
19180 \begin_layout Plain Layout
19181
19182 \series bold
19183 Gasparini
19184 \end_layout
19185
19186 \end_inset
19187 </cell>
19188 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19189 \begin_inset Text
19190
19191 \begin_layout Plain Layout
19192 Franca
19193 \end_layout
19194
19195 \end_inset
19196 </cell>
19197 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19198 \begin_inset Text
19199
19200 \begin_layout Plain Layout
19201 111
19202 \end_layout
19203
19204 \end_inset
19205 </cell>
19206 </row>
19207 <row>
19208 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19209 \begin_inset Text
19210
19211 \begin_layout Plain Layout
19212
19213 \series bold
19214 Rizzardi
19215 \end_layout
19216
19217 \end_inset
19218 </cell>
19219 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19220 \begin_inset Text
19221
19222 \begin_layout Plain Layout
19223 Paola
19224 \end_layout
19225
19226 \end_inset
19227 </cell>
19228 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19229 \begin_inset Text
19230
19231 \begin_layout Plain Layout
19232 111
19233 \end_layout
19234
19235 \end_inset
19236 </cell>
19237 </row>
19238 <row>
19239 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19240 \begin_inset Text
19241
19242 \begin_layout Plain Layout
19243
19244 \series bold
19245 Lassini
19246 \end_layout
19247
19248 \end_inset
19249 </cell>
19250 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19251 \begin_inset Text
19252
19253 \begin_layout Plain Layout
19254 Giancarlo
19255 \end_layout
19256
19257 \end_inset
19258 </cell>
19259 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19260 \begin_inset Text
19261
19262 \begin_layout Plain Layout
19263 111
19264 \end_layout
19265
19266 \end_inset
19267 </cell>
19268 </row>
19269 <row>
19270 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19271 \begin_inset Text
19272
19273 \begin_layout Plain Layout
19274
19275 \series bold
19276 Malfatti
19277 \end_layout
19278
19279 \end_inset
19280 </cell>
19281 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19282 \begin_inset Text
19283
19284 \begin_layout Plain Layout
19285 Luciano
19286 \end_layout
19287
19288 \end_inset
19289 </cell>
19290 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19291 \begin_inset Text
19292
19293 \begin_layout Plain Layout
19294 111
19295 \end_layout
19296
19297 \end_inset
19298 </cell>
19299 </row>
19300 <row>
19301 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19302 \begin_inset Text
19303
19304 \begin_layout Plain Layout
19305
19306 \series bold
19307 Malfatti
19308 \end_layout
19309
19310 \end_inset
19311 </cell>
19312 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19313 \begin_inset Text
19314
19315 \begin_layout Plain Layout
19316 Valeriano
19317 \end_layout
19318
19319 \end_inset
19320 </cell>
19321 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19322 \begin_inset Text
19323
19324 \begin_layout Plain Layout
19325 111
19326 \end_layout
19327
19328 \end_inset
19329 </cell>
19330 </row>
19331 <row>
19332 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19333 \begin_inset Text
19334
19335 \begin_layout Plain Layout
19336
19337 \series bold
19338 Meneguzzo
19339 \end_layout
19340
19341 \end_inset
19342 </cell>
19343 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19344 \begin_inset Text
19345
19346 \begin_layout Plain Layout
19347 Roberto
19348 \end_layout
19349
19350 \end_inset
19351 </cell>
19352 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19353 \begin_inset Text
19354
19355 \begin_layout Plain Layout
19356 111
19357 \end_layout
19358
19359 \end_inset
19360 </cell>
19361 </row>
19362 <row>
19363 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19364 \begin_inset Text
19365
19366 \begin_layout Plain Layout
19367
19368 \series bold
19369 Mezzadra
19370 \end_layout
19371
19372 \end_inset
19373 </cell>
19374 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19375 \begin_inset Text
19376
19377 \begin_layout Plain Layout
19378 Roberto
19379 \end_layout
19380
19381 \end_inset
19382 </cell>
19383 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19384 \begin_inset Text
19385
19386 \begin_layout Plain Layout
19387 111
19388 \end_layout
19389
19390 \end_inset
19391 </cell>
19392 </row>
19393 <row>
19394 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19395 \begin_inset Text
19396
19397 \begin_layout Plain Layout
19398
19399 \series bold
19400 Pirpamer
19401 \end_layout
19402
19403 \end_inset
19404 </cell>
19405 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19406 \begin_inset Text
19407
19408 \begin_layout Plain Layout
19409 Erich
19410 \end_layout
19411
19412 \end_inset
19413 </cell>
19414 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19415 \begin_inset Text
19416
19417 \begin_layout Plain Layout
19418 111
19419 \end_layout
19420
19421 \end_inset
19422 </cell>
19423 </row>
19424 <row>
19425 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19426 \begin_inset Text
19427
19428 \begin_layout Plain Layout
19429
19430 \series bold
19431 Pochiesa
19432 \end_layout
19433
19434 \end_inset
19435 </cell>
19436 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19437 \begin_inset Text
19438
19439 \begin_layout Plain Layout
19440 Paolo
19441 \end_layout
19442
19443 \end_inset
19444 </cell>
19445 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19446 \begin_inset Text
19447
19448 \begin_layout Plain Layout
19449 111, 222
19450 \end_layout
19451
19452 \end_inset
19453 </cell>
19454 </row>
19455 <row>
19456 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19457 \begin_inset Text
19458
19459 \begin_layout Plain Layout
19460
19461 \series bold
19462 Radina
19463 \end_layout
19464
19465 \end_inset
19466 </cell>
19467 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19468 \begin_inset Text
19469
19470 \begin_layout Plain Layout
19471 Claudio
19472 \end_layout
19473
19474 \end_inset
19475 </cell>
19476 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19477 \begin_inset Text
19478
19479 \begin_layout Plain Layout
19480 111
19481 \end_layout
19482
19483 \end_inset
19484 </cell>
19485 </row>
19486 <row>
19487 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19488 \begin_inset Text
19489
19490 \begin_layout Plain Layout
19491
19492 \series bold
19493 Stuffer
19494 \end_layout
19495
19496 \end_inset
19497 </cell>
19498 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19499 \begin_inset Text
19500
19501 \begin_layout Plain Layout
19502 Oskar
19503 \end_layout
19504
19505 \end_inset
19506 </cell>
19507 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19508 \begin_inset Text
19509
19510 \begin_layout Plain Layout
19511 111
19512 \end_layout
19513
19514 \end_inset
19515 </cell>
19516 </row>
19517 <row>
19518 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19519 \begin_inset Text
19520
19521 \begin_layout Plain Layout
19522
19523 \series bold
19524 Tacchelli
19525 \end_layout
19526
19527 \end_inset
19528 </cell>
19529 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19530 \begin_inset Text
19531
19532 \begin_layout Plain Layout
19533 Ugo
19534 \end_layout
19535
19536 \end_inset
19537 </cell>
19538 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19539 \begin_inset Text
19540
19541 \begin_layout Plain Layout
19542 111
19543 \end_layout
19544
19545 \end_inset
19546 </cell>
19547 </row>
19548 <row>
19549 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19550 \begin_inset Text
19551
19552 \begin_layout Plain Layout
19553
19554 \series bold
19555 Tezzele
19556 \end_layout
19557
19558 \end_inset
19559 </cell>
19560 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19561 \begin_inset Text
19562
19563 \begin_layout Plain Layout
19564 Margit
19565 \end_layout
19566
19567 \end_inset
19568 </cell>
19569 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19570 \begin_inset Text
19571
19572 \begin_layout Plain Layout
19573 111
19574 \end_layout
19575
19576 \end_inset
19577 </cell>
19578 </row>
19579 <row>
19580 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19581 \begin_inset Text
19582
19583 \begin_layout Plain Layout
19584
19585 \series bold
19586 Unterkalmsteiner
19587 \end_layout
19588
19589 \end_inset
19590 </cell>
19591 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19592 \begin_inset Text
19593
19594 \begin_layout Plain Layout
19595 Frieda
19596 \end_layout
19597
19598 \end_inset
19599 </cell>
19600 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19601 \begin_inset Text
19602
19603 \begin_layout Plain Layout
19604 111
19605 \end_layout
19606
19607 \end_inset
19608 </cell>
19609 </row>
19610 <row>
19611 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19612 \begin_inset Text
19613
19614 \begin_layout Plain Layout
19615
19616 \series bold
19617 Vieider
19618 \end_layout
19619
19620 \end_inset
19621 </cell>
19622 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19623 \begin_inset Text
19624
19625 \begin_layout Plain Layout
19626 Hilde
19627 \end_layout
19628
19629 \end_inset
19630 </cell>
19631 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19632 \begin_inset Text
19633
19634 \begin_layout Plain Layout
19635 111
19636 \end_layout
19637
19638 \end_inset
19639 </cell>
19640 </row>
19641 <row>
19642 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19643 \begin_inset Text
19644
19645 \begin_layout Plain Layout
19646
19647 \series bold
19648 Vigna
19649 \end_layout
19650
19651 \end_inset
19652 </cell>
19653 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19654 \begin_inset Text
19655
19656 \begin_layout Plain Layout
19657 Jürgen
19658 \end_layout
19659
19660 \end_inset
19661 </cell>
19662 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19663 \begin_inset Text
19664
19665 \begin_layout Plain Layout
19666 111
19667 \end_layout
19668
19669 \end_inset
19670 </cell>
19671 </row>
19672 <row>
19673 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19674 \begin_inset Text
19675
19676 \begin_layout Plain Layout
19677
19678 \series bold
19679 Weber
19680 \end_layout
19681
19682 \end_inset
19683 </cell>
19684 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19685 \begin_inset Text
19686
19687 \begin_layout Plain Layout
19688 Maurizio
19689 \end_layout
19690
19691 \end_inset
19692 </cell>
19693 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19694 \begin_inset Text
19695
19696 \begin_layout Plain Layout
19697 111
19698 \end_layout
19699
19700 \end_inset
19701 </cell>
19702 </row>
19703 <row>
19704 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19705 \begin_inset Text
19706
19707 \begin_layout Plain Layout
19708
19709 \series bold
19710 Winkler
19711 \end_layout
19712
19713 \end_inset
19714 </cell>
19715 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19716 \begin_inset Text
19717
19718 \begin_layout Plain Layout
19719 Franz
19720 \end_layout
19721
19722 \end_inset
19723 </cell>
19724 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19725 \begin_inset Text
19726
19727 \begin_layout Plain Layout
19728 111
19729 \end_layout
19730
19731 \end_inset
19732 </cell>
19733 </row>
19734 <row>
19735 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19736 \begin_inset Text
19737
19738 \begin_layout Plain Layout
19739  
19740 \end_layout
19741
19742 \end_inset
19743 </cell>
19744 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
19745 \begin_inset Text
19746
19747 \begin_layout Plain Layout
19748
19749 \end_layout
19750
19751 \end_inset
19752 </cell>
19753 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19754 \begin_inset Text
19755
19756 \begin_layout Plain Layout
19757
19758 \end_layout
19759
19760 \end_inset
19761 </cell>
19762 </row>
19763 <row>
19764 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19765 \begin_inset Text
19766
19767 \begin_layout Plain Layout
19768
19769 \series bold
19770 Annovi
19771 \end_layout
19772
19773 \end_inset
19774 </cell>
19775 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19776 \begin_inset Text
19777
19778 \begin_layout Plain Layout
19779 Silvia
19780 \end_layout
19781
19782 \end_inset
19783 </cell>
19784 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19785 \begin_inset Text
19786
19787 \begin_layout Plain Layout
19788 555
19789 \end_layout
19790
19791 \end_inset
19792 </cell>
19793 </row>
19794 <row>
19795 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19796 \begin_inset Text
19797
19798 \begin_layout Plain Layout
19799
19800 \series bold
19801 Bertoli
19802 \end_layout
19803
19804 \end_inset
19805 </cell>
19806 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19807 \begin_inset Text
19808
19809 \begin_layout Plain Layout
19810 Stefano
19811 \end_layout
19812
19813 \end_inset
19814 </cell>
19815 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19816 \begin_inset Text
19817
19818 \begin_layout Plain Layout
19819 555
19820 \end_layout
19821
19822 \end_inset
19823 </cell>
19824 </row>
19825 <row>
19826 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19827 \begin_inset Text
19828
19829 \begin_layout Plain Layout
19830
19831 \series bold
19832 Bozzi
19833 \end_layout
19834
19835 \end_inset
19836 </cell>
19837 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19838 \begin_inset Text
19839
19840 \begin_layout Plain Layout
19841 Walter
19842 \end_layout
19843
19844 \end_inset
19845 </cell>
19846 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19847 \begin_inset Text
19848
19849 \begin_layout Plain Layout
19850 555
19851 \end_layout
19852
19853 \end_inset
19854 </cell>
19855 </row>
19856 <row>
19857 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19858 \begin_inset Text
19859
19860 \begin_layout Plain Layout
19861
19862 \series bold
19863 Cachia
19864 \end_layout
19865
19866 \end_inset
19867 </cell>
19868 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19869 \begin_inset Text
19870
19871 \begin_layout Plain Layout
19872 Maria
19873 \end_layout
19874
19875 \end_inset
19876 </cell>
19877 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19878 \begin_inset Text
19879
19880 \begin_layout Plain Layout
19881 555
19882 \end_layout
19883
19884 \end_inset
19885 </cell>
19886 </row>
19887 <row>
19888 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19889 \begin_inset Text
19890
19891 \begin_layout Plain Layout
19892
19893 \series bold
19894 Cachia
19895 \end_layout
19896
19897 \end_inset
19898 </cell>
19899 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19900 \begin_inset Text
19901
19902 \begin_layout Plain Layout
19903 Maurizio
19904 \end_layout
19905
19906 \end_inset
19907 </cell>
19908 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19909 \begin_inset Text
19910
19911 \begin_layout Plain Layout
19912 555
19913 \end_layout
19914
19915 \end_inset
19916 </cell>
19917 </row>
19918 <row>
19919 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19920 \begin_inset Text
19921
19922 \begin_layout Plain Layout
19923
19924 \series bold
19925 Cinquemani
19926 \end_layout
19927
19928 \end_inset
19929 </cell>
19930 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19931 \begin_inset Text
19932
19933 \begin_layout Plain Layout
19934 Giusi
19935 \end_layout
19936
19937 \end_inset
19938 </cell>
19939 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19940 \begin_inset Text
19941
19942 \begin_layout Plain Layout
19943 555
19944 \end_layout
19945
19946 \end_inset
19947 </cell>
19948 </row>
19949 <row>
19950 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19951 \begin_inset Text
19952
19953 \begin_layout Plain Layout
19954
19955 \series bold
19956 Colin
19957 \end_layout
19958
19959 \end_inset
19960 </cell>
19961 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19962 \begin_inset Text
19963
19964 \begin_layout Plain Layout
19965 Bernard
19966 \end_layout
19967
19968 \end_inset
19969 </cell>
19970 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19971 \begin_inset Text
19972
19973 \begin_layout Plain Layout
19974 555
19975 \end_layout
19976
19977 \end_inset
19978 </cell>
19979 </row>
19980 <row>
19981 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19982 \begin_inset Text
19983
19984 \begin_layout Plain Layout
19985
19986 \series bold
19987 Concli
19988 \end_layout
19989
19990 \end_inset
19991 </cell>
19992 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19993 \begin_inset Text
19994
19995 \begin_layout Plain Layout
19996 Gianfranco
19997 \end_layout
19998
19999 \end_inset
20000 </cell>
20001 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20002 \begin_inset Text
20003
20004 \begin_layout Plain Layout
20005 555
20006 \end_layout
20007
20008 \end_inset
20009 </cell>
20010 </row>
20011 <row>
20012 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20013 \begin_inset Text
20014
20015 \begin_layout Plain Layout
20016
20017 \series bold
20018 Dal Bosco
20019 \end_layout
20020
20021 \end_inset
20022 </cell>
20023 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20024 \begin_inset Text
20025
20026 \begin_layout Plain Layout
20027 Carolina
20028 \end_layout
20029
20030 \end_inset
20031 </cell>
20032 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20033 \begin_inset Text
20034
20035 \begin_layout Plain Layout
20036 555
20037 \end_layout
20038
20039 \end_inset
20040 </cell>
20041 </row>
20042 <row>
20043 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20044 \begin_inset Text
20045
20046 \begin_layout Plain Layout
20047
20048 \series bold
20049 Dalpiaz
20050 \end_layout
20051
20052 \end_inset
20053 </cell>
20054 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20055 \begin_inset Text
20056
20057 \begin_layout Plain Layout
20058 Annamaria
20059 \end_layout
20060
20061 \end_inset
20062 </cell>
20063 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20064 \begin_inset Text
20065
20066 \begin_layout Plain Layout
20067 555
20068 \end_layout
20069
20070 \end_inset
20071 </cell>
20072 </row>
20073 <row>
20074 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20075 \begin_inset Text
20076
20077 \begin_layout Plain Layout
20078
20079 \series bold
20080 Feliciello
20081 \end_layout
20082
20083 \end_inset
20084 </cell>
20085 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20086 \begin_inset Text
20087
20088 \begin_layout Plain Layout
20089 Domenico
20090 \end_layout
20091
20092 \end_inset
20093 </cell>
20094 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20095 \begin_inset Text
20096
20097 \begin_layout Plain Layout
20098 555
20099 \end_layout
20100
20101 \end_inset
20102 </cell>
20103 </row>
20104 <row>
20105 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20106 \begin_inset Text
20107
20108 \begin_layout Plain Layout
20109
20110 \series bold
20111 Focarelli
20112 \end_layout
20113
20114 \end_inset
20115 </cell>
20116 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20117 \begin_inset Text
20118
20119 \begin_layout Plain Layout
20120 Paola
20121 \end_layout
20122
20123 \end_inset
20124 </cell>
20125 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20126 \begin_inset Text
20127
20128 \begin_layout Plain Layout
20129 555
20130 \end_layout
20131
20132 \end_inset
20133 </cell>
20134 </row>
20135 <row>
20136 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20137 \begin_inset Text
20138
20139 \begin_layout Plain Layout
20140
20141 \series bold
20142 Galletti
20143 \end_layout
20144
20145 \end_inset
20146 </cell>
20147 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20148 \begin_inset Text
20149
20150 \begin_layout Plain Layout
20151 Oreste
20152 \end_layout
20153
20154 \end_inset
20155 </cell>
20156 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20157 \begin_inset Text
20158
20159 \begin_layout Plain Layout
20160 555
20161 \end_layout
20162
20163 \end_inset
20164 </cell>
20165 </row>
20166 <row>
20167 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20168 \begin_inset Text
20169
20170 \begin_layout Plain Layout
20171
20172 \series bold
20173 Gasparini
20174 \end_layout
20175
20176 \end_inset
20177 </cell>
20178 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20179 \begin_inset Text
20180
20181 \begin_layout Plain Layout
20182 Franca
20183 \end_layout
20184
20185 \end_inset
20186 </cell>
20187 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20188 \begin_inset Text
20189
20190 \begin_layout Plain Layout
20191 555
20192 \end_layout
20193
20194 \end_inset
20195 </cell>
20196 </row>
20197 <row>
20198 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20199 \begin_inset Text
20200
20201 \begin_layout Plain Layout
20202
20203 \series bold
20204 Rizzardi
20205 \end_layout
20206
20207 \end_inset
20208 </cell>
20209 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20210 \begin_inset Text
20211
20212 \begin_layout Plain Layout
20213 Paola
20214 \end_layout
20215
20216 \end_inset
20217 </cell>
20218 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20219 \begin_inset Text
20220
20221 \begin_layout Plain Layout
20222 555
20223 \end_layout
20224
20225 \end_inset
20226 </cell>
20227 </row>
20228 <row>
20229 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20230 \begin_inset Text
20231
20232 \begin_layout Plain Layout
20233
20234 \series bold
20235 Lassini
20236 \end_layout
20237
20238 \end_inset
20239 </cell>
20240 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20241 \begin_inset Text
20242
20243 \begin_layout Plain Layout
20244 Giancarlo
20245 \end_layout
20246
20247 \end_inset
20248 </cell>
20249 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20250 \begin_inset Text
20251
20252 \begin_layout Plain Layout
20253 555
20254 \end_layout
20255
20256 \end_inset
20257 </cell>
20258 </row>
20259 <row>
20260 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20261 \begin_inset Text
20262
20263 \begin_layout Plain Layout
20264
20265 \series bold
20266 Malfatti
20267 \end_layout
20268
20269 \end_inset
20270 </cell>
20271 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20272 \begin_inset Text
20273
20274 \begin_layout Plain Layout
20275 Luciano
20276 \end_layout
20277
20278 \end_inset
20279 </cell>
20280 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20281 \begin_inset Text
20282
20283 \begin_layout Plain Layout
20284 555
20285 \end_layout
20286
20287 \end_inset
20288 </cell>
20289 </row>
20290 <row>
20291 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20292 \begin_inset Text
20293
20294 \begin_layout Plain Layout
20295
20296 \series bold
20297 Malfatti
20298 \end_layout
20299
20300 \end_inset
20301 </cell>
20302 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20303 \begin_inset Text
20304
20305 \begin_layout Plain Layout
20306 Valeriano
20307 \end_layout
20308
20309 \end_inset
20310 </cell>
20311 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20312 \begin_inset Text
20313
20314 \begin_layout Plain Layout
20315 555
20316 \end_layout
20317
20318 \end_inset
20319 </cell>
20320 </row>
20321 <row>
20322 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20323 \begin_inset Text
20324
20325 \begin_layout Plain Layout
20326
20327 \series bold
20328 Meneguzzo
20329 \end_layout
20330
20331 \end_inset
20332 </cell>
20333 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20334 \begin_inset Text
20335
20336 \begin_layout Plain Layout
20337 Roberto
20338 \end_layout
20339
20340 \end_inset
20341 </cell>
20342 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20343 \begin_inset Text
20344
20345 \begin_layout Plain Layout
20346 555
20347 \end_layout
20348
20349 \end_inset
20350 </cell>
20351 </row>
20352 <row>
20353 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20354 \begin_inset Text
20355
20356 \begin_layout Plain Layout
20357
20358 \series bold
20359 Mezzadra
20360 \end_layout
20361
20362 \end_inset
20363 </cell>
20364 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20365 \begin_inset Text
20366
20367 \begin_layout Plain Layout
20368 Roberto
20369 \end_layout
20370
20371 \end_inset
20372 </cell>
20373 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20374 \begin_inset Text
20375
20376 \begin_layout Plain Layout
20377 555
20378 \end_layout
20379
20380 \end_inset
20381 </cell>
20382 </row>
20383 <row>
20384 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20385 \begin_inset Text
20386
20387 \begin_layout Plain Layout
20388
20389 \series bold
20390 Pirpamer
20391 \end_layout
20392
20393 \end_inset
20394 </cell>
20395 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20396 \begin_inset Text
20397
20398 \begin_layout Plain Layout
20399 Erich
20400 \end_layout
20401
20402 \end_inset
20403 </cell>
20404 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20405 \begin_inset Text
20406
20407 \begin_layout Plain Layout
20408 555
20409 \end_layout
20410
20411 \end_inset
20412 </cell>
20413 </row>
20414 <row>
20415 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20416 \begin_inset Text
20417
20418 \begin_layout Plain Layout
20419
20420 \series bold
20421 Pochiesa
20422 \end_layout
20423
20424 \end_inset
20425 </cell>
20426 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20427 \begin_inset Text
20428
20429 \begin_layout Plain Layout
20430 Paolo
20431 \end_layout
20432
20433 \end_inset
20434 </cell>
20435 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20436 \begin_inset Text
20437
20438 \begin_layout Plain Layout
20439 555, 222
20440 \end_layout
20441
20442 \end_inset
20443 </cell>
20444 </row>
20445 <row>
20446 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20447 \begin_inset Text
20448
20449 \begin_layout Plain Layout
20450
20451 \series bold
20452 Radina
20453 \end_layout
20454
20455 \end_inset
20456 </cell>
20457 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20458 \begin_inset Text
20459
20460 \begin_layout Plain Layout
20461 Claudio
20462 \end_layout
20463
20464 \end_inset
20465 </cell>
20466 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20467 \begin_inset Text
20468
20469 \begin_layout Plain Layout
20470 555
20471 \end_layout
20472
20473 \end_inset
20474 </cell>
20475 </row>
20476 <row>
20477 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20478 \begin_inset Text
20479
20480 \begin_layout Plain Layout
20481
20482 \series bold
20483 Stuffer
20484 \end_layout
20485
20486 \end_inset
20487 </cell>
20488 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20489 \begin_inset Text
20490
20491 \begin_layout Plain Layout
20492 Oskar
20493 \end_layout
20494
20495 \end_inset
20496 </cell>
20497 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20498 \begin_inset Text
20499
20500 \begin_layout Plain Layout
20501 555
20502 \end_layout
20503
20504 \end_inset
20505 </cell>
20506 </row>
20507 <row>
20508 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20509 \begin_inset Text
20510
20511 \begin_layout Plain Layout
20512
20513 \series bold
20514 Tacchelli
20515 \end_layout
20516
20517 \end_inset
20518 </cell>
20519 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20520 \begin_inset Text
20521
20522 \begin_layout Plain Layout
20523 Ugo
20524 \end_layout
20525
20526 \end_inset
20527 </cell>
20528 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20529 \begin_inset Text
20530
20531 \begin_layout Plain Layout
20532 555
20533 \end_layout
20534
20535 \end_inset
20536 </cell>
20537 </row>
20538 <row>
20539 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20540 \begin_inset Text
20541
20542 \begin_layout Plain Layout
20543
20544 \series bold
20545 Tezzele
20546 \end_layout
20547
20548 \end_inset
20549 </cell>
20550 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20551 \begin_inset Text
20552
20553 \begin_layout Plain Layout
20554 Margit
20555 \end_layout
20556
20557 \end_inset
20558 </cell>
20559 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20560 \begin_inset Text
20561
20562 \begin_layout Plain Layout
20563 555
20564 \end_layout
20565
20566 \end_inset
20567 </cell>
20568 </row>
20569 <row>
20570 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20571 \begin_inset Text
20572
20573 \begin_layout Plain Layout
20574
20575 \series bold
20576 Unterkalmsteiner
20577 \end_layout
20578
20579 \end_inset
20580 </cell>
20581 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20582 \begin_inset Text
20583
20584 \begin_layout Plain Layout
20585 Frieda
20586 \end_layout
20587
20588 \end_inset
20589 </cell>
20590 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20591 \begin_inset Text
20592
20593 \begin_layout Plain Layout
20594 555
20595 \end_layout
20596
20597 \end_inset
20598 </cell>
20599 </row>
20600 <row>
20601 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20602 \begin_inset Text
20603
20604 \begin_layout Plain Layout
20605
20606 \series bold
20607 Vieider
20608 \end_layout
20609
20610 \end_inset
20611 </cell>
20612 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20613 \begin_inset Text
20614
20615 \begin_layout Plain Layout
20616 Hilde
20617 \end_layout
20618
20619 \end_inset
20620 </cell>
20621 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20622 \begin_inset Text
20623
20624 \begin_layout Plain Layout
20625 555
20626 \end_layout
20627
20628 \end_inset
20629 </cell>
20630 </row>
20631 <row>
20632 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20633 \begin_inset Text
20634
20635 \begin_layout Plain Layout
20636
20637 \series bold
20638 Vigna
20639 \end_layout
20640
20641 \end_inset
20642 </cell>
20643 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20644 \begin_inset Text
20645
20646 \begin_layout Plain Layout
20647 Jürgen
20648 \end_layout
20649
20650 \end_inset
20651 </cell>
20652 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20653 \begin_inset Text
20654
20655 \begin_layout Plain Layout
20656 999
20657 \end_layout
20658
20659 \end_inset
20660 </cell>
20661 </row>
20662 <row>
20663 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20664 \begin_inset Text
20665
20666 \begin_layout Plain Layout
20667
20668 \series bold
20669 Weber
20670 \end_layout
20671
20672 \end_inset
20673 </cell>
20674 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20675 \begin_inset Text
20676
20677 \begin_layout Plain Layout
20678 Maurizio
20679 \end_layout
20680
20681 \end_inset
20682 </cell>
20683 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20684 \begin_inset Text
20685
20686 \begin_layout Plain Layout
20687 555
20688 \end_layout
20689
20690 \end_inset
20691 </cell>
20692 </row>
20693 <row>
20694 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20695 \begin_inset Text
20696
20697 \begin_layout Plain Layout
20698
20699 \series bold
20700 Winkler
20701 \end_layout
20702
20703 \end_inset
20704 </cell>
20705 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20706 \begin_inset Text
20707
20708 \begin_layout Plain Layout
20709 Franz
20710 \end_layout
20711
20712 \end_inset
20713 </cell>
20714 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20715 \begin_inset Text
20716
20717 \begin_layout Plain Layout
20718 555
20719 \end_layout
20720
20721 \end_inset
20722 </cell>
20723 </row>
20724 <row endlastfoot="true">
20725 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20726 \begin_inset Text
20727
20728 \begin_layout Plain Layout
20729
20730 \series bold
20731 End
20732 \end_layout
20733
20734 \end_inset
20735 </cell>
20736 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
20737 \begin_inset Text
20738
20739 \begin_layout Plain Layout
20740
20741 \end_layout
20742
20743 \end_inset
20744 </cell>
20745 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20746 \begin_inset Text
20747
20748 \begin_layout Plain Layout
20749
20750 \end_layout
20751
20752 \end_inset
20753 </cell>
20754 </row>
20755 </lyxtabular>
20756
20757 \end_inset
20758
20759
20760 \end_layout
20761
20762 \begin_layout Subsection
20763 Table Cells
20764 \begin_inset Index idx
20765 status collapsed
20766
20767 \begin_layout Plain Layout
20768 Tables ! Cells
20769 \end_layout
20770
20771 \end_inset
20772
20773
20774 \begin_inset CommandInset label
20775 LatexCommand label
20776 name "sub:Table-Cells"
20777
20778 \end_inset
20779
20780
20781 \end_layout
20782
20783 \begin_layout Standard
20784 A table cell can contain text, inline equations, a figure, or another table.
20785  All these kinds of objects can be placed in the same cell.
20786  Font sizes and shapes can also be altered.
20787  But you can't put a special environment in a cell (like 
20788 \family sans
20789 Section*
20790 \family default
20791 , etc.), nor set spacing options for the cell's paragraph.
20792 \end_layout
20793
20794 \begin_layout Standard
20795 To have multi-line entries in table cells, you have to declare a fixed width
20796  for the column in the table dialog.
20797  Your text is then automatically split into multiple lines and the cell
20798  is enlarged vertically when the length of the text exceeds the given width.
20799  An example:
20800 \end_layout
20801
20802 \begin_layout Standard
20803 \align center
20804 \begin_inset Tabular
20805 <lyxtabular version="3" rows="4" columns="3">
20806 <features rotate="0" tabularvalignment="middle">
20807 <column alignment="center" valignment="top" width="0pt">
20808 <column alignment="block" valignment="top" width="3cm">
20809 <column alignment="center" valignment="top" width="0pt">
20810 <row>
20811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20812 \begin_inset Text
20813
20814 \begin_layout Plain Layout
20815
20816 \family roman
20817 \series medium
20818 \shape up
20819 \size normal
20820 \emph off
20821 \bar no
20822 \noun off
20823 \color none
20824 1
20825 \end_layout
20826
20827 \end_inset
20828 </cell>
20829 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20830 \begin_inset Text
20831
20832 \begin_layout Plain Layout
20833
20834 \family roman
20835 \series medium
20836 \shape up
20837 \size normal
20838 \emph off
20839 \bar no
20840 \noun off
20841 \color none
20842 2
20843 \end_layout
20844
20845 \end_inset
20846 </cell>
20847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20848 \begin_inset Text
20849
20850 \begin_layout Plain Layout
20851
20852 \family roman
20853 \series medium
20854 \shape up
20855 \size normal
20856 \emph off
20857 \bar no
20858 \noun off
20859 \color none
20860 3
20861 \end_layout
20862
20863 \end_inset
20864 </cell>
20865 </row>
20866 <row>
20867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20868 \begin_inset Text
20869
20870 \begin_layout Plain Layout
20871
20872 \family roman
20873 \series medium
20874 \shape up
20875 \size normal
20876 \emph off
20877 \bar no
20878 \noun off
20879 \color none
20880 4
20881 \end_layout
20882
20883 \end_inset
20884 </cell>
20885 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20886 \begin_inset Text
20887
20888 \begin_layout Plain Layout
20889
20890 \family roman
20891 \series medium
20892 \shape up
20893 \size normal
20894 \emph off
20895 \bar no
20896 \noun off
20897 \color none
20898 This is a multi-line entry in a table.
20899 \end_layout
20900
20901 \end_inset
20902 </cell>
20903 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
20904 \begin_inset Text
20905
20906 \begin_layout Plain Layout
20907
20908 \family roman
20909 \series medium
20910 \shape up
20911 \size normal
20912 \emph off
20913 \bar no
20914 \noun off
20915 \color none
20916 5
20917 \end_layout
20918
20919 \end_inset
20920 </cell>
20921 </row>
20922 <row>
20923 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20924 \begin_inset Text
20925
20926 \begin_layout Plain Layout
20927
20928 \family roman
20929 \series medium
20930 \shape up
20931 \size normal
20932 \emph off
20933 \bar no
20934 \noun off
20935 \color none
20936 6
20937 \end_layout
20938
20939 \end_inset
20940 </cell>
20941 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20942 \begin_inset Text
20943
20944 \begin_layout Plain Layout
20945
20946 \family roman
20947 \series medium
20948 \shape up
20949 \size normal
20950 \emph off
20951 \bar no
20952 \noun off
20953 \color none
20954 This is longer now.
20955 \end_layout
20956
20957 \end_inset
20958 </cell>
20959 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20960 \begin_inset Text
20961
20962 \begin_layout Plain Layout
20963
20964 \family roman
20965 \series medium
20966 \shape up
20967 \size normal
20968 \emph off
20969 \bar no
20970 \noun off
20971 \color none
20972 7
20973 \end_layout
20974
20975 \end_inset
20976 </cell>
20977 </row>
20978 <row>
20979 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20980 \begin_inset Text
20981
20982 \begin_layout Plain Layout
20983
20984 \family roman
20985 \series medium
20986 \shape up
20987 \size normal
20988 \emph off
20989 \bar no
20990 \noun off
20991 \color none
20992 8
20993 \end_layout
20994
20995 \end_inset
20996 </cell>
20997 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20998 \begin_inset Text
20999
21000 \begin_layout Plain Layout
21001
21002 \family roman
21003 \series medium
21004 \shape up
21005 \size normal
21006 \emph off
21007 \bar no
21008 \noun off
21009 \color none
21010 This is a multi-line entry in a table.
21011  This is longer now.
21012 \end_layout
21013
21014 \end_inset
21015 </cell>
21016 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21017 \begin_inset Text
21018
21019 \begin_layout Plain Layout
21020
21021 \family roman
21022 \series medium
21023 \shape up
21024 \size normal
21025 \emph off
21026 \bar no
21027 \noun off
21028 \color none
21029 9
21030 \end_layout
21031
21032 \end_inset
21033 </cell>
21034 </row>
21035 </lyxtabular>
21036
21037 \end_inset
21038
21039
21040 \end_layout
21041
21042 \begin_layout Standard
21043 Cutting and pasting between tables and table cells works reasonably well.
21044  You can cut and paste even more than one row.
21045 \begin_inset Foot
21046 status collapsed
21047
21048 \begin_layout Plain Layout
21049 Note, that you cannot paste into a multicell selection because it would
21050  not be clear what to do when pasting a single word in a selected 2×3.
21051  
21052 \end_layout
21053
21054 \end_inset
21055
21056  Selection with the mouse or with 
21057 \family sans
21058 Shift
21059 \family default
21060  plus the arrow keys works as usual.
21061  You can also copy and paste the entire table as a single unit by starting
21062  the selection from outside the table.
21063 \end_layout
21064
21065 \begin_layout Section
21066 Floats
21067 \begin_inset Index idx
21068 status collapsed
21069
21070 \begin_layout Plain Layout
21071 Floats
21072 \end_layout
21073
21074 \end_inset
21075
21076
21077 \begin_inset CommandInset label
21078 LatexCommand label
21079 name "sec:Floats"
21080
21081 \end_inset
21082
21083
21084 \end_layout
21085
21086 \begin_layout Subsection
21087 Introduction
21088 \end_layout
21089
21090 \begin_layout Standard
21091 A float is a block of text associated with some sort of label, which doesn't
21092  have a fixed location.
21093  It can 
21094 \begin_inset Quotes eld
21095 \end_inset
21096
21097 float
21098 \begin_inset Quotes erd
21099 \end_inset
21100
21101  forward or backward a page or two, to wherever it fits best.
21102  
21103 \family sans
21104 Footnotes
21105 \family default
21106  and 
21107 \family sans
21108 Margin
21109 \begin_inset space ~
21110 \end_inset
21111
21112 Notes
21113 \family default
21114  are also floats, because they can float to the next page when there are
21115  too many notes on the current page.
21116 \end_layout
21117
21118 \begin_layout Standard
21119 Floats make it possible to get a high quality layout.
21120  Images and tables can be distributed evenly over the pages to avoid whitespace
21121  and pages without text.
21122  As the floating often destroys the spatial context between the text and
21123  the image/table, every float can be referenced in the text.
21124  Floats are therefore numbered.
21125  Referencing is described in section
21126 \begin_inset space ~
21127 \end_inset
21128
21129
21130 \begin_inset CommandInset ref
21131 LatexCommand ref
21132 reference "sec:Cross-References"
21133
21134 \end_inset
21135
21136 .
21137 \end_layout
21138
21139 \begin_layout Standard
21140 To insert a float, use the menu 
21141 \family sans
21142 Insert\SpecialChar \menuseparator
21143 Float
21144 \family default
21145 .
21146  A box with a caption will be inserted into your document.
21147  The label will automatically be translated to the document language in
21148  the output.
21149  After the label you can insert the caption text.
21150 \begin_inset Index idx
21151 status collapsed
21152
21153 \begin_layout Plain Layout
21154 Floats ! Captions
21155 \end_layout
21156
21157 \end_inset
21158
21159  The image or table is inserted above or below the caption in a separate
21160  paragraph within the float.
21161  To keep your LyX-document readable, you can open and close the float box
21162  by left-clicking on the box label.
21163  A closed float box looks like this: 
21164 \begin_inset Graphics
21165         filename clipart/floatQt4.png
21166         scale 80
21167
21168 \end_inset
21169
21170  – a gray button with a red label.
21171 \end_layout
21172
21173 \begin_layout Standard
21174 It is recommended to insert floats as a separate paragraph to avoid possible
21175  LaTeX-errors that can occur when the surrounding text is specially formatted.
21176 \end_layout
21177
21178 \begin_layout Subsection
21179 Examples
21180 \end_layout
21181
21182 \begin_layout Subsubsection
21183 Figure Floats
21184 \begin_inset CommandInset label
21185 LatexCommand label
21186 name "sub:Figure-Floats"
21187
21188 \end_inset
21189
21190
21191 \begin_inset Index idx
21192 status collapsed
21193
21194 \begin_layout Plain Layout
21195 Floats ! Figure floats
21196 \end_layout
21197
21198 \end_inset
21199
21200
21201 \end_layout
21202
21203 \begin_layout Standard
21204 Figure
21205 \begin_inset space ~
21206 \end_inset
21207
21208
21209 \begin_inset CommandInset ref
21210 LatexCommand ref
21211 reference "fig:Platypus-distorted"
21212
21213 \end_inset
21214
21215  was created using the menu 
21216 \family sans
21217 Insert\SpecialChar \menuseparator
21218 Float\SpecialChar \menuseparator
21219 Figure
21220 \family default
21221  or the toolbar button 
21222 \begin_inset Info
21223 type  "icon"
21224 arg   "float-insert figure"
21225 \end_inset
21226
21227 .
21228  The image was inserted by setting the cursor above the caption label and
21229  using the menu 
21230 \family sans
21231 Insert\SpecialChar \menuseparator
21232 Graphics
21233 \family default
21234  or the toolbar button 
21235 \begin_inset Info
21236 type  "icon"
21237 arg   "dialog-show-new-inset graphics"
21238 \end_inset
21239
21240 .
21241  The image in the float was horizontally centered by putting the cursor
21242  in front of or behind the image and using the menu 
21243 \family sans
21244 Edit\SpecialChar \menuseparator
21245 Paragraph
21246 \begin_inset space ~
21247 \end_inset
21248
21249 Settings
21250 \family default
21251  or the toolbar button 
21252 \begin_inset Info
21253 type  "icon"
21254 arg   "layout-paragraph"
21255 \end_inset
21256
21257 .
21258 \end_layout
21259
21260 \begin_layout Standard
21261 \begin_inset Float figure
21262 wide false
21263 sideways false
21264 status open
21265
21266 \begin_layout Plain Layout
21267 \align center
21268 \begin_inset Graphics
21269         filename clipart/platypus.eps
21270         lyxscale 50
21271         width 50col%
21272
21273 \end_inset
21274
21275
21276 \end_layout
21277
21278 \begin_layout Plain Layout
21279 \begin_inset Caption Standard
21280
21281 \begin_layout Plain Layout
21282 \begin_inset CommandInset label
21283 LatexCommand label
21284 name "fig:Platypus-distorted"
21285
21286 \end_inset
21287
21288 A severely distorted platypus in a float.
21289 \end_layout
21290
21291 \end_inset
21292
21293
21294 \end_layout
21295
21296 \end_inset
21297
21298
21299 \end_layout
21300
21301 \begin_layout Standard
21302 This figure float also shows how to set a label and create a cross-reference
21303  to it: Insert a label into the caption using the menu 
21304 \family sans
21305 Insert\SpecialChar \menuseparator
21306 Label
21307 \family default
21308  or the toolbar button 
21309 \begin_inset Info
21310 type  "icon"
21311 arg   "label-insert"
21312 \end_inset
21313
21314  and refer to it using the menu 
21315 \family sans
21316 Insert\SpecialChar \menuseparator
21317 Cross-Reference
21318 \family default
21319  or the toolbar button 
21320 \begin_inset Info
21321 type  "icon"
21322 arg   "dialog-show-new-inset ref"
21323 \end_inset
21324
21325 .
21326  It is important to use references to figure floats, rather than using vague
21327  references like 
21328 \begin_inset Quotes eld
21329 \end_inset
21330
21331 the figure above
21332 \begin_inset Quotes erd
21333 \end_inset
21334
21335 , because, as LaTeX will reposition the floats in the final document, it
21336  might not be 
21337 \begin_inset Quotes eld
21338 \end_inset
21339
21340 above
21341 \begin_inset Quotes erd
21342 \end_inset
21343
21344  at all.
21345  For more about cross-references, see section
21346 \begin_inset space ~
21347 \end_inset
21348
21349
21350 \begin_inset CommandInset ref
21351 LatexCommand ref
21352 reference "sec:Cross-References"
21353
21354 \end_inset
21355
21356 .
21357 \end_layout
21358
21359 \begin_layout Standard
21360 Normally only one image is inserted in a figure float, but sometimes you
21361  might want to use two images with separate subcaptions.
21362  This can be done by inserting image floats into existing image floats.
21363  Note that only the main caption of the float is added to the List of Figures
21364  as described in section
21365 \begin_inset space ~
21366 \end_inset
21367
21368
21369 \begin_inset CommandInset ref
21370 LatexCommand ref
21371 reference "sub:List-of-Figures"
21372
21373 \end_inset
21374
21375 .
21376  Figure
21377 \begin_inset space ~
21378 \end_inset
21379
21380
21381 \begin_inset CommandInset ref
21382 LatexCommand ref
21383 reference "fig:Two-distorted-images"
21384
21385 \end_inset
21386
21387  is an example of a figure float with two images set side by side.
21388  You can also set the images one below the other.
21389  Figure
21390 \begin_inset space ~
21391 \end_inset
21392
21393
21394 \begin_inset CommandInset ref
21395 LatexCommand ref
21396 reference "fig:Undefinable"
21397
21398 \end_inset
21399
21400  and 
21401 \begin_inset CommandInset ref
21402 LatexCommand ref
21403 reference "fig:Platypus"
21404
21405 \end_inset
21406
21407  are the subfigures.
21408 \end_layout
21409
21410 \begin_layout Standard
21411 \begin_inset Float figure
21412 wide false
21413 sideways false
21414 status open
21415
21416 \begin_layout Plain Layout
21417 \begin_inset space \hfill{}
21418 \end_inset
21419
21420
21421 \begin_inset Float figure
21422 wide false
21423 sideways false
21424 status collapsed
21425
21426 \begin_layout Plain Layout
21427 \begin_inset Caption Standard
21428
21429 \begin_layout Plain Layout
21430 \begin_inset CommandInset label
21431 LatexCommand label
21432 name "fig:Undefinable"
21433
21434 \end_inset
21435
21436 Undefinable
21437 \end_layout
21438
21439 \end_inset
21440
21441
21442 \end_layout
21443
21444 \begin_layout Plain Layout
21445 \begin_inset Graphics
21446         filename clipart/escher-lsd.eps
21447         width 45col%
21448
21449 \end_inset
21450
21451
21452 \end_layout
21453
21454 \end_inset
21455
21456
21457 \begin_inset space \hfill{}
21458 \end_inset
21459
21460
21461 \begin_inset Float figure
21462 wide false
21463 sideways false
21464 status collapsed
21465
21466 \begin_layout Plain Layout
21467 \begin_inset Caption Standard
21468
21469 \begin_layout Plain Layout
21470 \begin_inset CommandInset label
21471 LatexCommand label
21472 name "fig:Platypus"
21473
21474 \end_inset
21475
21476 Platypus
21477 \end_layout
21478
21479 \end_inset
21480
21481
21482 \end_layout
21483
21484 \begin_layout Plain Layout
21485 \begin_inset Graphics
21486         filename clipart/platypus.eps
21487         lyxscale 60
21488         width 45col%
21489
21490 \end_inset
21491
21492
21493 \end_layout
21494
21495 \end_inset
21496
21497
21498 \begin_inset space \hfill{}
21499 \end_inset
21500
21501
21502 \end_layout
21503
21504 \begin_layout Plain Layout
21505 \begin_inset Caption Standard
21506
21507 \begin_layout Plain Layout
21508 \begin_inset CommandInset label
21509 LatexCommand label
21510 name "fig:Two-distorted-images"
21511
21512 \end_inset
21513
21514 Two distorted images.
21515 \end_layout
21516
21517 \end_inset
21518
21519
21520 \end_layout
21521
21522 \end_inset
21523
21524
21525 \end_layout
21526
21527 \begin_layout Subsubsection
21528 Table Floats
21529 \begin_inset Index idx
21530 status collapsed
21531
21532 \begin_layout Plain Layout
21533 Floats ! Table floats
21534 \end_layout
21535
21536 \end_inset
21537
21538
21539 \end_layout
21540
21541 \begin_layout Standard
21542 Table floats can be inserted using the menu 
21543 \family sans
21544 Insert\SpecialChar \menuseparator
21545 Float\SpecialChar \menuseparator
21546 Table
21547 \family default
21548  or the toolbar button 
21549 \begin_inset Info
21550 type  "icon"
21551 arg   "float-insert table"
21552 \end_inset
21553
21554 .
21555  They have the same properties as figure floats except for the different
21556  label.
21557  Table
21558 \begin_inset space ~
21559 \end_inset
21560
21561
21562 \begin_inset CommandInset ref
21563 LatexCommand ref
21564 reference "tab:Table-float"
21565
21566 \end_inset
21567
21568  is a table float.
21569 \end_layout
21570
21571 \begin_layout Standard
21572 \begin_inset Float table
21573 wide false
21574 sideways false
21575 status open
21576
21577 \begin_layout Plain Layout
21578 \begin_inset Caption Standard
21579
21580 \begin_layout Plain Layout
21581 \begin_inset CommandInset label
21582 LatexCommand label
21583 name "tab:Table-float"
21584
21585 \end_inset
21586
21587 A table float.
21588 \end_layout
21589
21590 \end_inset
21591
21592
21593 \end_layout
21594
21595 \begin_layout Plain Layout
21596 \align center
21597 \begin_inset Tabular
21598 <lyxtabular version="3" rows="3" columns="3">
21599 <features rotate="0" tabularvalignment="middle">
21600 <column alignment="center" valignment="top" width="0pt">
21601 <column alignment="center" valignment="top" width="0pt">
21602 <column alignment="center" valignment="top" width="0pt">
21603 <row>
21604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21605 \begin_inset Text
21606
21607 \begin_layout Plain Layout
21608
21609 \family roman
21610 \series medium
21611 \shape up
21612 \size normal
21613 \emph off
21614 \bar no
21615 \noun off
21616 \color none
21617 1
21618 \end_layout
21619
21620 \end_inset
21621 </cell>
21622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21623 \begin_inset Text
21624
21625 \begin_layout Plain Layout
21626
21627 \family roman
21628 \series medium
21629 \shape up
21630 \size normal
21631 \emph off
21632 \bar no
21633 \noun off
21634 \color none
21635 2
21636 \end_layout
21637
21638 \end_inset
21639 </cell>
21640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21641 \begin_inset Text
21642
21643 \begin_layout Plain Layout
21644
21645 \family roman
21646 \series medium
21647 \shape up
21648 \size normal
21649 \emph off
21650 \bar no
21651 \noun off
21652 \color none
21653 3
21654 \end_layout
21655
21656 \end_inset
21657 </cell>
21658 </row>
21659 <row>
21660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21661 \begin_inset Text
21662
21663 \begin_layout Plain Layout
21664
21665 \family roman
21666 \series medium
21667 \shape up
21668 \size normal
21669 \emph off
21670 \bar no
21671 \noun off
21672 \color none
21673 Joe
21674 \end_layout
21675
21676 \end_inset
21677 </cell>
21678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21679 \begin_inset Text
21680
21681 \begin_layout Plain Layout
21682
21683 \family roman
21684 \series medium
21685 \shape up
21686 \size normal
21687 \emph off
21688 \bar no
21689 \noun off
21690 \color none
21691 Mary
21692 \end_layout
21693
21694 \end_inset
21695 </cell>
21696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21697 \begin_inset Text
21698
21699 \begin_layout Plain Layout
21700
21701 \family roman
21702 \series medium
21703 \shape up
21704 \size normal
21705 \emph off
21706 \bar no
21707 \noun off
21708 \color none
21709 Ted
21710 \end_layout
21711
21712 \end_inset
21713 </cell>
21714 </row>
21715 <row>
21716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21717 \begin_inset Text
21718
21719 \begin_layout Plain Layout
21720
21721 \family roman
21722 \series medium
21723 \shape up
21724 \size normal
21725 \emph off
21726 \bar no
21727 \noun off
21728 \color none
21729 \begin_inset Formula $\int x^{2}dx$
21730 \end_inset
21731
21732
21733 \end_layout
21734
21735 \end_inset
21736 </cell>
21737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21738 \begin_inset Text
21739
21740 \begin_layout Plain Layout
21741
21742 \family roman
21743 \series medium
21744 \shape up
21745 \size normal
21746 \emph off
21747 \bar no
21748 \noun off
21749 \color none
21750 \begin_inset Formula $\left[\begin{array}{cc}
21751 a & b\\
21752 c & d
21753 \end{array}\right]$
21754 \end_inset
21755
21756
21757 \end_layout
21758
21759 \end_inset
21760 </cell>
21761 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21762 \begin_inset Text
21763
21764 \begin_layout Plain Layout
21765
21766 \family roman
21767 \series medium
21768 \shape up
21769 \size normal
21770 \emph off
21771 \bar no
21772 \noun off
21773 \color none
21774 \begin_inset Formula $1+1=2$
21775 \end_inset
21776
21777
21778 \end_layout
21779
21780 \end_inset
21781 </cell>
21782 </row>
21783 </lyxtabular>
21784
21785 \end_inset
21786
21787
21788 \end_layout
21789
21790 \end_inset
21791
21792
21793 \end_layout
21794
21795 \begin_layout Subsection
21796 More Information
21797 \begin_inset Index idx
21798 status collapsed
21799
21800 \begin_layout Plain Layout
21801 Floats ! Details
21802 \end_layout
21803
21804 \end_inset
21805
21806
21807 \end_layout
21808
21809 \begin_layout Standard
21810 LyX offers you further float types as well as rotated floats.
21811  It also allows you to change the float numbering scheme, to control the
21812  float placement and to change the formatting and placement of the float
21813  caption.
21814  All these features are explained in detail with many examples in chapter
21815  
21816 \emph on
21817 Floats
21818 \emph default
21819  of the 
21820 \emph on
21821 Embedded
21822 \begin_inset space ~
21823 \end_inset
21824
21825 Objects
21826 \emph default
21827  manual.
21828 \end_layout
21829
21830 \begin_layout Section
21831 Minipages
21832 \begin_inset Index idx
21833 status collapsed
21834
21835 \begin_layout Plain Layout
21836 Minipages
21837 \end_layout
21838
21839 \end_inset
21840
21841
21842 \begin_inset CommandInset label
21843 LatexCommand label
21844 name "sec:Minipages"
21845
21846 \end_inset
21847
21848
21849 \end_layout
21850
21851 \begin_layout Standard
21852 LaTeX provides a mechanism to produce essentially a page within a page,
21853  called minipage.
21854  Within a minipage, all the usual rules of indentation, line wrapping, etc.
21855 \begin_inset space \space{}
21856 \end_inset
21857
21858 apply.
21859  
21860 \end_layout
21861
21862 \begin_layout Standard
21863 Minipages in LyX have their own collapsible box inserted via the menu 
21864 \family sans
21865 Insert\SpecialChar \menuseparator
21866 Box
21867 \family default
21868 .
21869  Right-clicking on the box label allows you to alter the width of the minipage
21870  and its alignment within the page.
21871 \end_layout
21872
21873 \begin_layout Standard
21874 \align center
21875 \begin_inset Box Frameless
21876 position "t"
21877 hor_pos "c"
21878 has_inner_box 1
21879 inner_pos "t"
21880 use_parbox 0
21881 use_makebox 0
21882 width "30col%"
21883 special "none"
21884 height "1pt"
21885 height_special "totalheight"
21886 status open
21887
21888 \begin_layout Plain Layout
21889
21890 \shape italic
21891 This is a minipage.
21892  The text is set in an italic style.
21893 \end_layout
21894
21895 \begin_layout Plain Layout
21896
21897 \shape italic
21898 Minipages are often used for text in another language or text that needs
21899  another formatting.
21900 \end_layout
21901
21902 \end_inset
21903
21904
21905 \end_layout
21906
21907 \begin_layout Standard
21908 \begin_inset VSpace medskip
21909 \end_inset
21910
21911 If you place two minipages side-by-side, you can use 
21912 \family sans
21913 Horizontal Fills
21914 \family default
21915  as described in section
21916 \begin_inset space ~
21917 \end_inset
21918
21919
21920 \begin_inset CommandInset ref
21921 LatexCommand ref
21922 reference "sub:Horizontal-Space"
21923
21924 \end_inset
21925
21926 :
21927 \begin_inset VSpace medskip
21928 \end_inset
21929
21930
21931 \end_layout
21932
21933 \begin_layout Standard
21934 \begin_inset Box Frameless
21935 position "t"
21936 hor_pos "c"
21937 has_inner_box 1
21938 inner_pos "t"
21939 use_parbox 0
21940 use_makebox 0
21941 width "1.5in"
21942 special "none"
21943 height "1pt"
21944 height_special "totalheight"
21945 status open
21946
21947 \begin_layout Plain Layout
21948 This is a minipage with some stupid dummy text.
21949  This dummy text is used to increase the size of the minipage.
21950 \end_layout
21951
21952 \end_inset
21953
21954
21955 \begin_inset space \hfill{}
21956 \end_inset
21957
21958
21959 \begin_inset Box Frameless
21960 position "t"
21961 hor_pos "c"
21962 has_inner_box 1
21963 inner_pos "t"
21964 use_parbox 0
21965 use_makebox 0
21966 width "1.5in"
21967 special "none"
21968 height "1pt"
21969 height_special "totalheight"
21970 status open
21971
21972 \begin_layout Plain Layout
21973 This is a minipage with some stupid dummy text.
21974  This dummy text is used to increase the size of the minipage.
21975 \end_layout
21976
21977 \end_inset
21978
21979
21980 \end_layout
21981
21982 \begin_layout Standard
21983 \begin_inset VSpace bigskip
21984 \end_inset
21985
21986
21987 \end_layout
21988
21989 \begin_layout Standard
21990 When you right-click on a minipage box, you can transform the box to another
21991  box type.
21992  All box types and their settings are explained in detail in chapter 
21993 \emph on
21994 Boxes
21995 \emph default
21996  of the 
21997 \emph on
21998 Embedded
21999 \begin_inset space ~
22000 \end_inset
22001
22002 Objects
22003 \emph default
22004  manual.
22005 \end_layout
22006
22007 \begin_layout Chapter
22008 Mathematical Formulas
22009 \begin_inset Index idx
22010 status collapsed
22011
22012 \begin_layout Plain Layout
22013 Math
22014 \end_layout
22015
22016 \end_inset
22017
22018
22019 \begin_inset Index idx
22020 status collapsed
22021
22022 \begin_layout Plain Layout
22023 Formulas | see
22024 \begin_inset ERT
22025 status collapsed
22026
22027 \begin_layout Plain Layout
22028
22029 {
22030 \end_layout
22031
22032 \end_inset
22033
22034 Math
22035 \begin_inset ERT
22036 status collapsed
22037
22038 \begin_layout Plain Layout
22039
22040 }
22041 \end_layout
22042
22043 \end_inset
22044
22045
22046 \end_layout
22047
22048 \end_inset
22049
22050
22051 \begin_inset CommandInset label
22052 LatexCommand label
22053 name "chap:Mathematical-Formulas"
22054
22055 \end_inset
22056
22057
22058 \end_layout
22059
22060 \begin_layout Standard
22061 The issues of this chapter are described in detail in the 
22062 \emph on
22063 Math
22064 \emph default
22065  manual.
22066  There you will also find tips and tricks for special cases.
22067 \end_layout
22068
22069 \begin_layout Section
22070 Basic Math Editing
22071 \begin_inset Index idx
22072 status collapsed
22073
22074 \begin_layout Plain Layout
22075 Math ! Basics
22076 \end_layout
22077
22078 \end_inset
22079
22080
22081 \end_layout
22082
22083 \begin_layout Standard
22084 To create a math formula, you can just click on the toolbar icon 
22085 \begin_inset Info
22086 type  "icon"
22087 arg   "math-mode on"
22088 \end_inset
22089
22090 .
22091  That will create a little blue rectangle, with purple markers around its
22092  corners.
22093  That blue rectangle is the formula itself; the purple markers indicate
22094  what level of nesting within the formula you are at.
22095  You can also choose a particular formula type to insert via the 
22096 \family sans
22097 Insert\SpecialChar \menuseparator
22098 Math
22099 \family default
22100  menu.
22101 \end_layout
22102
22103 \begin_layout Standard
22104 Editing the parameters of a formula and adding math constructs can be done
22105  with the 
22106 \family sans
22107 math
22108 \begin_inset space ~
22109 \end_inset
22110
22111 toolbar
22112 \family default
22113 , that appears if the cursor is in a formula.
22114 \end_layout
22115
22116 \begin_layout Standard
22117 There are two main types of formulas, inline formulas and display formulas.
22118  Inline formulas appear within a text line, like this one:
22119 \end_layout
22120
22121 \begin_layout Standard
22122 This is a line with an inline formula 
22123 \begin_inset Formula $A=B$
22124 \end_inset
22125
22126  in it.
22127 \end_layout
22128
22129 \begin_layout Standard
22130 Displayed formulas appear outside the text like if they were in a separate
22131  paragraph, like this one:
22132 \begin_inset Formula 
22133 \[
22134 A=B
22135 \]
22136
22137 \end_inset
22138
22139 You can only number and reference displayed formulas.
22140 \end_layout
22141
22142 \begin_layout Standard
22143 LyX supports also many LaTeX math commands.
22144  E.
22145 \begin_inset space \thinspace{}
22146 \end_inset
22147
22148 g.
22149 \begin_inset space \space{}
22150 \end_inset
22151
22152 typing 
22153 \begin_inset Quotes eld
22154 \end_inset
22155
22156
22157 \series bold
22158
22159 \backslash
22160 alpha
22161 \series default
22162
22163 \begin_inset Quotes erd
22164 \end_inset
22165
22166 , followed by a space, in a formula will create the Greek letter 
22167 \begin_inset Formula $\alpha$
22168 \end_inset
22169
22170 .
22171  Typing commands might sometimes be faster than using the 
22172 \family sans
22173 Math
22174 \begin_inset space ~
22175 \end_inset
22176
22177 Panel
22178 \family default
22179 .
22180 \end_layout
22181
22182 \begin_layout Subsection
22183 Navigating in Formulas
22184 \begin_inset Index idx
22185 status collapsed
22186
22187 \begin_layout Plain Layout
22188 Math ! Navigating
22189 \end_layout
22190
22191 \end_inset
22192
22193
22194 \end_layout
22195
22196 \begin_layout Standard
22197 The best control over the cursor position within an existing formula is
22198  achieved with the arrow keys.
22199  LyX uses small rectangles to indicate places where something can be inserted.
22200  The arrow keys can be used to navigate between parts of a formula.
22201  Pressing 
22202 \family sans
22203 Space
22204 \family default
22205  will leave a formula construct (a square root 
22206 \begin_inset Formula $\sqrt{2}$
22207 \end_inset
22208
22209 , or parentheses 
22210 \begin_inset Formula $\left(f\right)$
22211 \end_inset
22212
22213 , or a matrix 
22214 \begin_inset Formula $\left[\begin{array}{cc}
22215 1 & 2\\
22216 3 & 4
22217 \end{array}\right]$
22218 \end_inset
22219
22220 ).
22221  Pressing 
22222 \family sans
22223 Escape
22224 \family default
22225  will leave the formula, placing the cursor after the formula.
22226  
22227 \family sans
22228 Tab
22229 \family default
22230  can be used to move horizontally in a formula; for example, through the
22231  cells of a matrix or the positions in a multi-line equation.
22232 \end_layout
22233
22234 \begin_layout Standard
22235
22236 \family sans
22237 Space
22238 \family default
22239 , printed in this document as 
22240 \begin_inset Quotes eld
22241 \end_inset
22242
22243
22244 \begin_inset ERT
22245 status collapsed
22246
22247 \begin_layout Plain Layout
22248
22249
22250 \backslash
22251 spce 
22252 \end_layout
22253
22254 \end_inset
22255
22256
22257 \begin_inset Quotes erd
22258 \end_inset
22259
22260
22261 \begin_inset Note Note
22262 status collapsed
22263
22264 \begin_layout Plain Layout
22265 This command will appear in the output as an official character denoting
22266  the space character (visible space).
22267 \end_layout
22268
22269 \end_inset
22270
22271 , seems to do nothing in a formula, since it does not add a space between
22272  characters, but it does exit a nested structure.
22273  For this reason, you have to be careful about using 
22274 \family sans
22275 Space
22276 \family default
22277 .
22278  For example, if you want 
22279 \begin_inset Formula $\sqrt{2x+1}$
22280 \end_inset
22281
22282 , type 
22283 \series bold
22284
22285 \backslash
22286 sqrt
22287 \begin_inset ERT
22288 status collapsed
22289
22290 \begin_layout Plain Layout
22291
22292
22293 \backslash
22294 spce 
22295 \end_layout
22296
22297 \end_inset
22298
22299 2x+1
22300 \series default
22301  and not 
22302 \series bold
22303
22304 \backslash
22305 sqrt
22306 \begin_inset ERT
22307 status collapsed
22308
22309 \begin_layout Plain Layout
22310
22311
22312 \backslash
22313 spce 
22314 \end_layout
22315
22316 \end_inset
22317
22318 2x
22319 \begin_inset ERT
22320 status collapsed
22321
22322 \begin_layout Plain Layout
22323
22324
22325 \backslash
22326 spce 
22327 \end_layout
22328
22329 \end_inset
22330
22331 +1
22332 \series default
22333 , since in the latter case only the 
22334 \family typewriter
22335
22336 \begin_inset Formula $2x$
22337 \end_inset
22338
22339
22340 \family default
22341  will be under the square root sign: 
22342 \begin_inset Formula $\sqrt{2x}+1$
22343 \end_inset
22344
22345 .
22346 \end_layout
22347
22348 \begin_layout Standard
22349 You can leave many parts of a formula, like this matrix, partially filled
22350  in, such as:
22351 \begin_inset Formula 
22352 \[
22353 \left(\begin{array}{ccc}
22354 \lambda_{1}\\
22355  & \ddots\\
22356  &  & \lambda_{n}
22357 \end{array}\right)
22358 \]
22359
22360 \end_inset
22361
22362 If you leave a fraction only partially filled in, or a subscript with nothing
22363  in it, the results will be unpredictable, but most constructs don't mind.
22364 \end_layout
22365
22366 \begin_layout Subsection
22367 Selecting Text
22368 \end_layout
22369
22370 \begin_layout Standard
22371 You can select text within a formula in two different ways.
22372  Place the cursor at one end of the string of text you want, and press 
22373 \family sans
22374 Shift
22375 \family default
22376  and a cursor movement key to select text.
22377  It will be highlighted as with regular text selection.
22378  Alternatively, you can select text with the mouse in the usual way.
22379  That text can then be cut or copied, and then pasted within any formula,
22380  but not in a normal text region in LyX.
22381 \end_layout
22382
22383 \begin_layout Subsection
22384 Exponents and Subscripts
22385 \begin_inset Index idx
22386 status collapsed
22387
22388 \begin_layout Plain Layout
22389 Math ! Exponents
22390 \end_layout
22391
22392 \end_inset
22393
22394
22395 \begin_inset Index idx
22396 status collapsed
22397
22398 \begin_layout Plain Layout
22399 Math ! Subscripts
22400 \end_layout
22401
22402 \end_inset
22403
22404
22405 \end_layout
22406
22407 \begin_layout Standard
22408 You can use the math panel to add super- or subscripts (buttons 
22409 \begin_inset Info
22410 type  "icon"
22411 arg   "math-superscript"
22412 \end_inset
22413
22414  and 
22415 \begin_inset Info
22416 type  "icon"
22417 arg   "math-subscript"
22418 \end_inset
22419
22420 ), but the much easier way is to use a command.
22421  To get 
22422 \begin_inset Formula $x^{2}$
22423 \end_inset
22424
22425 , type in a formula 
22426 \series bold
22427 x^2
22428 \begin_inset ERT
22429 status collapsed
22430
22431 \begin_layout Plain Layout
22432
22433
22434 \backslash
22435 spce 
22436 \end_layout
22437
22438 \end_inset
22439
22440
22441 \series default
22442 .
22443  The final 
22444 \family sans
22445 Space
22446 \family default
22447  puts the cursor back down on the base line of the expression.
22448  If you type 
22449 \series bold
22450 x^2y
22451 \series default
22452 , you will get 
22453 \begin_inset Formula $x^{2y}$
22454 \end_inset
22455
22456 , to get 
22457 \begin_inset Formula $x^{2}y$
22458 \end_inset
22459
22460 , type 
22461 \series bold
22462 x^2
22463 \begin_inset ERT
22464 status collapsed
22465
22466 \begin_layout Plain Layout
22467
22468
22469 \backslash
22470 spce 
22471 \end_layout
22472
22473 \end_inset
22474
22475 y
22476 \series default
22477 .
22478  If you use characters in the superscript, that could be accented with the
22479  hat 
22480 \begin_inset Quotes eld
22481 \end_inset
22482
22483 ^
22484 \begin_inset Quotes erd
22485 \end_inset
22486
22487 , you have to use an extra 
22488 \family sans
22489 Space
22490 \family default
22491  to separate the hat and the character.
22492  E.
22493 \begin_inset space \thinspace{}
22494 \end_inset
22495
22496 g.
22497 \begin_inset space \space{}
22498 \end_inset
22499
22500 if you want 
22501 \begin_inset Formula $x^{a}$
22502 \end_inset
22503
22504 , type 
22505 \series bold
22506 x^
22507 \begin_inset ERT
22508 status collapsed
22509
22510 \begin_layout Plain Layout
22511
22512
22513 \backslash
22514 spce 
22515 \end_layout
22516
22517 \end_inset
22518
22519 a
22520 \series default
22521 .
22522  Subscripts are similar: To get 
22523 \begin_inset Formula $a_{1}$
22524 \end_inset
22525
22526 , type 
22527 \series bold
22528 a_1
22529 \begin_inset ERT
22530 status collapsed
22531
22532 \begin_layout Plain Layout
22533
22534
22535 \backslash
22536 spce 
22537 \end_layout
22538
22539 \end_inset
22540
22541
22542 \series default
22543 .
22544 \end_layout
22545
22546 \begin_layout Subsection
22547 Fractions
22548 \begin_inset Index idx
22549 status collapsed
22550
22551 \begin_layout Plain Layout
22552 Math ! Fractions
22553 \end_layout
22554
22555 \end_inset
22556
22557
22558 \end_layout
22559
22560 \begin_layout Standard
22561 Create a fraction with either the command 
22562 \series bold
22563
22564 \backslash
22565 frac
22566 \series default
22567  or using the icon 
22568 \begin_inset Info
22569 type  "icon"
22570 arg   "math-insert \\frac"
22571 \end_inset
22572
22573  in the 
22574 \family sans
22575 Math
22576 \begin_inset space ~
22577 \end_inset
22578
22579 Panel
22580 \family default
22581 .
22582  You will be presented with an empty fraction.
22583  The cursor is above the fraction line.
22584  To move it to the bottom, simply press 
22585 \family sans
22586 Down
22587 \family default
22588 .
22589  To move back up, press 
22590 \family sans
22591 Up
22592 \family default
22593 .
22594  Any math structure can be placed in a fraction, as this example shows:
22595 \begin_inset Formula 
22596 \[
22597 \left[\frac{1}{\left(\begin{array}{cc}
22598 2 & 3\\
22599 4 & 5
22600 \end{array}\right)}\right]
22601 \]
22602
22603 \end_inset
22604
22605
22606 \end_layout
22607
22608 \begin_layout Subsection
22609 Roots
22610 \begin_inset Index idx
22611 status collapsed
22612
22613 \begin_layout Plain Layout
22614 Math ! Roots
22615 \end_layout
22616
22617 \end_inset
22618
22619
22620 \end_layout
22621
22622 \begin_layout Standard
22623 Roots can be created using the 
22624 \family sans
22625 Math
22626 \begin_inset space ~
22627 \end_inset
22628
22629 Panel
22630 \family default
22631  button 
22632 \begin_inset Info
22633 type  "icon"
22634 arg   "math-insert \\sqrt"
22635 \end_inset
22636
22637  or 
22638 \begin_inset Info
22639 type  "icon"
22640 arg   "math-insert \\root"
22641 \end_inset
22642
22643  or the commands 
22644 \series bold
22645
22646 \backslash
22647 sqrt
22648 \series default
22649  or 
22650 \series bold
22651
22652 \backslash
22653 root
22654 \series default
22655 .
22656  With the command 
22657 \series bold
22658
22659 \backslash
22660 root
22661 \series default
22662  you can produce roots of higher orders, like cube roots, while 
22663 \series bold
22664
22665 \backslash
22666 sqrt
22667 \series default
22668  produces always a square root.
22669 \end_layout
22670
22671 \begin_layout Subsection
22672 Operators with Limits
22673 \begin_inset Index idx
22674 status collapsed
22675
22676 \begin_layout Plain Layout
22677 Math ! Sums
22678 \end_layout
22679
22680 \end_inset
22681
22682
22683 \begin_inset Index idx
22684 status collapsed
22685
22686 \begin_layout Plain Layout
22687 Math ! Integrals
22688 \end_layout
22689
22690 \end_inset
22691
22692
22693 \begin_inset CommandInset label
22694 LatexCommand label
22695 name "sub:Operators-with-Limits"
22696
22697 \end_inset
22698
22699
22700 \end_layout
22701
22702 \begin_layout Standard
22703 Sum (
22704 \begin_inset Formula $\sum$
22705 \end_inset
22706
22707 ) and integral (
22708 \begin_inset Formula $\int$
22709 \end_inset
22710
22711 ) operators are very often decorated with limits.
22712  These limits can be entered in LyX by entering them as you would enter
22713  a super- or subscript, directly after the symbol.
22714  The sum operator will automatically place its 
22715 \begin_inset Quotes eld
22716 \end_inset
22717
22718 limits
22719 \begin_inset Quotes erd
22720 \end_inset
22721
22722  over and under the symbol in displayed formulas, and on the side in inline
22723  formulas.
22724  Such as 
22725 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
22726 \end_inset
22727
22728 , versus
22729 \begin_inset Formula 
22730 \[
22731 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
22732 \]
22733
22734 \end_inset
22735
22736 Integral signs, however, will place the limits on the side in both formula
22737  types.
22738 \end_layout
22739
22740 \begin_layout Standard
22741 All operators with limits will be automatically re-sized when placed in
22742  display mode.
22743  The placement of the limits can be changed by placing the cursor directly
22744  behind the operator and hitting 
22745 \begin_inset Info
22746 type  "shortcut"
22747 arg   "math-limits"
22748 \end_inset
22749
22750  or using the menu 
22751 \family sans
22752 Edit\SpecialChar \menuseparator
22753 Math\SpecialChar \menuseparator
22754 Change
22755 \begin_inset space ~
22756 \end_inset
22757
22758 Limits
22759 \begin_inset space ~
22760 \end_inset
22761
22762 Type
22763 \family default
22764 .
22765 \end_layout
22766
22767 \begin_layout Standard
22768 Certain other mathematical expressions have this 
22769 \begin_inset Quotes eld
22770 \end_inset
22771
22772 moving limits
22773 \begin_inset Quotes erd
22774 \end_inset
22775
22776  feature as addition, such as
22777 \begin_inset Index idx
22778 status collapsed
22779
22780 \begin_layout Plain Layout
22781 Math ! Limits
22782 \end_layout
22783
22784 \end_inset
22785
22786
22787 \begin_inset Formula 
22788 \[
22789 \lim_{x\rightarrow\infty}f(x),
22790 \]
22791
22792 \end_inset
22793
22794 which will place the 
22795 \begin_inset Formula $x\rightarrow\infty$
22796 \end_inset
22797
22798  underneath the 
22799 \begin_inset Quotes eld
22800 \end_inset
22801
22802 lim
22803 \begin_inset Quotes erd
22804 \end_inset
22805
22806  in display mode.
22807  In inline formulas it looks like this: 
22808 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
22809 \end_inset
22810
22811 .
22812 \end_layout
22813
22814 \begin_layout Standard
22815 Note that the lim-function was entered as the function macro 
22816 \series bold
22817
22818 \backslash
22819 lim
22820 \series default
22821 .
22822  Have a look at section
22823 \begin_inset space ~
22824 \end_inset
22825
22826
22827 \begin_inset CommandInset ref
22828 LatexCommand ref
22829 reference "sub:Functions"
22830
22831 \end_inset
22832
22833  for an explanation of function macros.
22834 \end_layout
22835
22836 \begin_layout Subsection
22837 Math Symbols
22838 \begin_inset Index idx
22839 status collapsed
22840
22841 \begin_layout Plain Layout
22842 Math ! Symbols
22843 \end_layout
22844
22845 \end_inset
22846
22847
22848 \end_layout
22849
22850 \begin_layout Standard
22851 Most math symbols can be found in the 
22852 \family sans
22853 Math
22854 \begin_inset space ~
22855 \end_inset
22856
22857 Panel
22858 \family default
22859  under one of several categories; including 
22860 \family sans
22861 Greek
22862 \family default
22863
22864 \family sans
22865 Operators
22866 \family default
22867
22868 \family sans
22869 Relations
22870 \family default
22871
22872 \family sans
22873 Arrows
22874 \family default
22875 .
22876  There are also the additional symbols provided by the American Mathematical
22877  Society (AMS).
22878 \end_layout
22879
22880 \begin_layout Standard
22881 If you know the LaTeX-command for a construct or symbol you wish to use,
22882  you don't have to use the 
22883 \family sans
22884 Math
22885 \begin_inset space ~
22886 \end_inset
22887
22888 Panel
22889 \family default
22890 ; you can type the command directly into the formula.
22891  LyX will convert it to the corresponding symbol or construct.
22892 \end_layout
22893
22894 \begin_layout Subsection
22895 Altering Spacing
22896 \begin_inset Index idx
22897 status collapsed
22898
22899 \begin_layout Plain Layout
22900 Math ! Spaces
22901 \end_layout
22902
22903 \end_inset
22904
22905
22906 \end_layout
22907
22908 \begin_layout Standard
22909 You may want to create spaces that differ from the standard spacing that
22910  LaTeX provides.
22911  To do this, press 
22912 \begin_inset Info
22913 type  "shortcut"
22914 arg   "command-alternatives space-insert protected ; math-space"
22915 \end_inset
22916
22917  or use the 
22918 \family sans
22919 Math
22920 \begin_inset space ~
22921 \end_inset
22922
22923 Panel
22924 \family default
22925  button 
22926 \family sans
22927
22928 \begin_inset Info
22929 type  "icon"
22930 arg   "math-insert \\space"
22931 \end_inset
22932
22933
22934 \family default
22935 .
22936  This generates a small space, and shows a small marker on the screen.
22937  For example, the sequence 
22938 \series bold
22939 a Ctrl+Space b
22940 \series default
22941
22942 \begin_inset Formula $a\, b$
22943 \end_inset
22944
22945  appears in LyX as 
22946 \begin_inset Graphics
22947         filename clipart/SpaceMarker.png
22948
22949 \end_inset
22950
22951 .
22952  You can change the space to different sizes when you set the cursor behind
22953  the space marker and hit space again several times.
22954  With every space hit the size will be changed.
22955  Some markers for the space size appear red in LyX, because they are negative
22956  spaces.
22957  Here are two examples:
22958 \end_layout
22959
22960 \begin_layout Standard
22961
22962 \series bold
22963 a Ctrl+Space b
22964 \series default
22965  and 3×
22966 \family sans
22967 Space
22968 \family default
22969
22970 \begin_inset Formula $a\quad b$
22971 \end_inset
22972
22973
22974 \end_layout
22975
22976 \begin_layout Standard
22977
22978 \series bold
22979 a Ctrl+Space b
22980 \series default
22981  and 5×
22982 \family sans
22983 Space
22984 \family default
22985
22986 \begin_inset Formula $a\! b$
22987 \end_inset
22988
22989
22990 \end_layout
22991
22992 \begin_layout Subsection
22993 Functions
22994 \begin_inset Index idx
22995 status collapsed
22996
22997 \begin_layout Plain Layout
22998 Math ! Functions
22999 \end_layout
23000
23001 \end_inset
23002
23003
23004 \begin_inset CommandInset label
23005 LatexCommand label
23006 name "sub:Functions"
23007
23008 \end_inset
23009
23010
23011 \end_layout
23012
23013 \begin_layout Standard
23014 The 
23015 \family sans
23016 Math
23017 \begin_inset space ~
23018 \end_inset
23019
23020 Panel
23021 \family default
23022  contains under the button 
23023 \family sans
23024
23025 \begin_inset Info
23026 type  "icon"
23027 arg   "math-insert \\functions"
23028 \end_inset
23029
23030
23031 \family default
23032  a number of function macros, such as 
23033 \begin_inset Formula $\sin$
23034 \end_inset
23035
23036
23037 \begin_inset Formula $\lim$
23038 \end_inset
23039
23040
23041 \emph on
23042 etc
23043 \emph default
23044 .
23045  (you can also insert them in a formula by typing 
23046 \series bold
23047
23048 \backslash
23049 sin
23050 \series default
23051  etc.).
23052  Standard mathematical practice is that functions are printed upright to
23053  avoid confusions, because 
23054 \begin_inset Formula $sin$
23055 \end_inset
23056
23057  does normally mean 
23058 \begin_inset Formula $s\cdot i\cdot n$
23059 \end_inset
23060
23061 .
23062 \end_layout
23063
23064 \begin_layout Standard
23065 Using the function macros will also produce correct spacing around the function:
23066  
23067 \begin_inset Formula $a\sin x$
23068 \end_inset
23069
23070  is different from 
23071 \begin_inset Formula $asinx$
23072 \end_inset
23073
23074 .
23075 \end_layout
23076
23077 \begin_layout Standard
23078 For some mathematical objects, like the limes, the macro changes where subscript
23079 s are placed, as described in section
23080 \begin_inset space ~
23081 \end_inset
23082
23083
23084 \begin_inset CommandInset ref
23085 LatexCommand ref
23086 reference "sub:Operators-with-Limits"
23087
23088 \end_inset
23089
23090 .
23091 \end_layout
23092
23093 \begin_layout Subsection
23094 Accents
23095 \begin_inset Index idx
23096 status collapsed
23097
23098 \begin_layout Plain Layout
23099 Math ! Accents
23100 \end_layout
23101
23102 \end_inset
23103
23104
23105 \end_layout
23106
23107 \begin_layout Standard
23108 In a formula you can insert accented characters in the same way as in text
23109  mode.
23110  This may depend on your keyboard, or the bindings file you use.
23111  You can also use LaTeX commands to e.
23112 \begin_inset space \thinspace{}
23113 \end_inset
23114
23115 g.
23116 \begin_inset space \space{}
23117 \end_inset
23118
23119 enter 
23120 \begin_inset Formula $\hat{a}$
23121 \end_inset
23122
23123  even if your keyboard doesn't have hat-accents enabled.
23124  Our example is entered by typing 
23125 \series bold
23126
23127 \backslash
23128 hat
23129 \begin_inset ERT
23130 status collapsed
23131
23132 \begin_layout Plain Layout
23133
23134
23135 \backslash
23136 spce 
23137 \end_layout
23138
23139 \end_inset
23140
23141 a
23142 \series default
23143  in a formula.
23144  Table
23145 \begin_inset space ~
23146 \end_inset
23147
23148
23149 \begin_inset CommandInset ref
23150 LatexCommand ref
23151 reference "tab:Accent-names-and"
23152
23153 \end_inset
23154
23155  shows the equivalences between the accent names and the commands.
23156 \end_layout
23157
23158 \begin_layout Standard
23159 \begin_inset Float table
23160 wide false
23161 sideways false
23162 status open
23163
23164 \begin_layout Plain Layout
23165 \begin_inset Caption Standard
23166
23167 \begin_layout Plain Layout
23168 \begin_inset CommandInset label
23169 LatexCommand label
23170 name "tab:Accent-names-and"
23171
23172 \end_inset
23173
23174 Accent names and the corresponding commands.
23175 \end_layout
23176
23177 \end_inset
23178
23179
23180 \end_layout
23181
23182 \begin_layout Plain Layout
23183 \align center
23184 \begin_inset Tabular
23185 <lyxtabular version="3" rows="11" columns="3">
23186 <features rotate="0" tabularvalignment="middle">
23187 <column alignment="center" valignment="top" width="0pt">
23188 <column alignment="center" valignment="top" width="0pt">
23189 <column alignment="center" valignment="top" width="0pt">
23190 <row>
23191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23192 \begin_inset Text
23193
23194 \begin_layout Plain Layout
23195 Name
23196 \end_layout
23197
23198 \end_inset
23199 </cell>
23200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23201 \begin_inset Text
23202
23203 \begin_layout Plain Layout
23204 Command
23205 \end_layout
23206
23207 \end_inset
23208 </cell>
23209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23210 \begin_inset Text
23211
23212 \begin_layout Plain Layout
23213 E
23214 \family roman
23215 \series medium
23216 \shape up
23217 \size normal
23218 \emph off
23219 \bar no
23220 \noun off
23221 \color none
23222 xample
23223 \end_layout
23224
23225 \end_inset
23226 </cell>
23227 </row>
23228 <row>
23229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23230 \begin_inset Text
23231
23232 \begin_layout Plain Layout
23233
23234 \family roman
23235 \series medium
23236 \shape up
23237 \size normal
23238 \emph off
23239 \bar no
23240 \noun off
23241 \color none
23242 circumflex
23243 \end_layout
23244
23245 \end_inset
23246 </cell>
23247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23248 \begin_inset Text
23249
23250 \begin_layout Plain Layout
23251
23252 \series bold
23253
23254 \backslash
23255 hat
23256 \end_layout
23257
23258 \end_inset
23259 </cell>
23260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23261 \begin_inset Text
23262
23263 \begin_layout Plain Layout
23264
23265 \family roman
23266 \series medium
23267 \shape up
23268 \size normal
23269 \emph off
23270 \bar no
23271 \noun off
23272 \color none
23273 \begin_inset Formula $\hat{a}$
23274 \end_inset
23275
23276
23277 \end_layout
23278
23279 \end_inset
23280 </cell>
23281 </row>
23282 <row>
23283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23284 \begin_inset Text
23285
23286 \begin_layout Plain Layout
23287
23288 \family roman
23289 \series medium
23290 \shape up
23291 \size normal
23292 \emph off
23293 \bar no
23294 \noun off
23295 \color none
23296 grave
23297 \end_layout
23298
23299 \end_inset
23300 </cell>
23301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23302 \begin_inset Text
23303
23304 \begin_layout Plain Layout
23305
23306 \series bold
23307
23308 \backslash
23309 grave
23310 \end_layout
23311
23312 \end_inset
23313 </cell>
23314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23315 \begin_inset Text
23316
23317 \begin_layout Plain Layout
23318
23319 \family roman
23320 \series medium
23321 \shape up
23322 \size normal
23323 \emph off
23324 \bar no
23325 \noun off
23326 \color none
23327 \begin_inset Formula $\grave{a}$
23328 \end_inset
23329
23330
23331 \end_layout
23332
23333 \end_inset
23334 </cell>
23335 </row>
23336 <row>
23337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23338 \begin_inset Text
23339
23340 \begin_layout Plain Layout
23341
23342 \family roman
23343 \series medium
23344 \shape up
23345 \size normal
23346 \emph off
23347 \bar no
23348 \noun off
23349 \color none
23350 acute
23351 \end_layout
23352
23353 \end_inset
23354 </cell>
23355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23356 \begin_inset Text
23357
23358 \begin_layout Plain Layout
23359
23360 \series bold
23361
23362 \backslash
23363 acute
23364 \end_layout
23365
23366 \end_inset
23367 </cell>
23368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23369 \begin_inset Text
23370
23371 \begin_layout Plain Layout
23372
23373 \family roman
23374 \series medium
23375 \shape up
23376 \size normal
23377 \emph off
23378 \bar no
23379 \noun off
23380 \color none
23381 \begin_inset Formula $\acute{a}$
23382 \end_inset
23383
23384
23385 \end_layout
23386
23387 \end_inset
23388 </cell>
23389 </row>
23390 <row>
23391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23392 \begin_inset Text
23393
23394 \begin_layout Plain Layout
23395
23396 \family roman
23397 \series medium
23398 \shape up
23399 \size normal
23400 \emph off
23401 \bar no
23402 \noun off
23403 \color none
23404 umlaut
23405 \end_layout
23406
23407 \end_inset
23408 </cell>
23409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23410 \begin_inset Text
23411
23412 \begin_layout Plain Layout
23413
23414 \series bold
23415
23416 \backslash
23417 ddot
23418 \end_layout
23419
23420 \end_inset
23421 </cell>
23422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23423 \begin_inset Text
23424
23425 \begin_layout Plain Layout
23426
23427 \family roman
23428 \series medium
23429 \shape up
23430 \size normal
23431 \emph off
23432 \bar no
23433 \noun off
23434 \color none
23435 \begin_inset Formula $\ddot{a}$
23436 \end_inset
23437
23438
23439 \end_layout
23440
23441 \end_inset
23442 </cell>
23443 </row>
23444 <row>
23445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23446 \begin_inset Text
23447
23448 \begin_layout Plain Layout
23449
23450 \family roman
23451 \series medium
23452 \shape up
23453 \size normal
23454 \emph off
23455 \bar no
23456 \noun off
23457 \color none
23458 tilde
23459 \end_layout
23460
23461 \end_inset
23462 </cell>
23463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23464 \begin_inset Text
23465
23466 \begin_layout Plain Layout
23467
23468 \series bold
23469
23470 \backslash
23471 tilde
23472 \end_layout
23473
23474 \end_inset
23475 </cell>
23476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23477 \begin_inset Text
23478
23479 \begin_layout Plain Layout
23480
23481 \family roman
23482 \series medium
23483 \shape up
23484 \size normal
23485 \emph off
23486 \bar no
23487 \noun off
23488 \color none
23489 \begin_inset Formula $\tilde{a}$
23490 \end_inset
23491
23492
23493 \end_layout
23494
23495 \end_inset
23496 </cell>
23497 </row>
23498 <row>
23499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23500 \begin_inset Text
23501
23502 \begin_layout Plain Layout
23503
23504 \family roman
23505 \series medium
23506 \shape up
23507 \size normal
23508 \emph off
23509 \bar no
23510 \noun off
23511 \color none
23512 dot
23513 \end_layout
23514
23515 \end_inset
23516 </cell>
23517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23518 \begin_inset Text
23519
23520 \begin_layout Plain Layout
23521
23522 \series bold
23523
23524 \backslash
23525 dot
23526 \end_layout
23527
23528 \end_inset
23529 </cell>
23530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23531 \begin_inset Text
23532
23533 \begin_layout Plain Layout
23534
23535 \family roman
23536 \series medium
23537 \shape up
23538 \size normal
23539 \emph off
23540 \bar no
23541 \noun off
23542 \color none
23543 \begin_inset Formula $\dot{a}$
23544 \end_inset
23545
23546
23547 \end_layout
23548
23549 \end_inset
23550 </cell>
23551 </row>
23552 <row>
23553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23554 \begin_inset Text
23555
23556 \begin_layout Plain Layout
23557
23558 \family roman
23559 \series medium
23560 \shape up
23561 \size normal
23562 \emph off
23563 \bar no
23564 \noun off
23565 \color none
23566 breve
23567 \end_layout
23568
23569 \end_inset
23570 </cell>
23571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23572 \begin_inset Text
23573
23574 \begin_layout Plain Layout
23575
23576 \series bold
23577
23578 \backslash
23579 breve
23580 \end_layout
23581
23582 \end_inset
23583 </cell>
23584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23585 \begin_inset Text
23586
23587 \begin_layout Plain Layout
23588
23589 \family roman
23590 \series medium
23591 \shape up
23592 \size normal
23593 \emph off
23594 \bar no
23595 \noun off
23596 \color none
23597 \begin_inset Formula $\breve{a}$
23598 \end_inset
23599
23600
23601 \end_layout
23602
23603 \end_inset
23604 </cell>
23605 </row>
23606 <row>
23607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23608 \begin_inset Text
23609
23610 \begin_layout Plain Layout
23611
23612 \family roman
23613 \series medium
23614 \shape up
23615 \size normal
23616 \emph off
23617 \bar no
23618 \noun off
23619 \color none
23620 caron
23621 \end_layout
23622
23623 \end_inset
23624 </cell>
23625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23626 \begin_inset Text
23627
23628 \begin_layout Plain Layout
23629
23630 \series bold
23631
23632 \backslash
23633 check
23634 \end_layout
23635
23636 \end_inset
23637 </cell>
23638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23639 \begin_inset Text
23640
23641 \begin_layout Plain Layout
23642
23643 \family roman
23644 \series medium
23645 \shape up
23646 \size normal
23647 \emph off
23648 \bar no
23649 \noun off
23650 \color none
23651 \begin_inset Formula $\check{a}$
23652 \end_inset
23653
23654
23655 \end_layout
23656
23657 \end_inset
23658 </cell>
23659 </row>
23660 <row>
23661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23662 \begin_inset Text
23663
23664 \begin_layout Plain Layout
23665
23666 \family roman
23667 \series medium
23668 \shape up
23669 \size normal
23670 \emph off
23671 \bar no
23672 \noun off
23673 \color none
23674 macron
23675 \end_layout
23676
23677 \end_inset
23678 </cell>
23679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23680 \begin_inset Text
23681
23682 \begin_layout Plain Layout
23683
23684 \series bold
23685
23686 \backslash
23687 bar
23688 \end_layout
23689
23690 \end_inset
23691 </cell>
23692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23693 \begin_inset Text
23694
23695 \begin_layout Plain Layout
23696
23697 \family roman
23698 \series medium
23699 \shape up
23700 \size normal
23701 \emph off
23702 \bar no
23703 \noun off
23704 \color none
23705 \begin_inset Formula $\bar{a}$
23706 \end_inset
23707
23708
23709 \end_layout
23710
23711 \end_inset
23712 </cell>
23713 </row>
23714 <row>
23715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23716 \begin_inset Text
23717
23718 \begin_layout Plain Layout
23719 vector
23720 \end_layout
23721
23722 \end_inset
23723 </cell>
23724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23725 \begin_inset Text
23726
23727 \begin_layout Plain Layout
23728
23729 \series bold
23730
23731 \backslash
23732 vec
23733 \end_layout
23734
23735 \end_inset
23736 </cell>
23737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23738 \begin_inset Text
23739
23740 \begin_layout Plain Layout
23741
23742 \family roman
23743 \series medium
23744 \shape up
23745 \size normal
23746 \emph off
23747 \bar no
23748 \noun off
23749 \color none
23750 \begin_inset Formula $\vec{a}$
23751 \end_inset
23752
23753
23754 \end_layout
23755
23756 \end_inset
23757 </cell>
23758 </row>
23759 </lyxtabular>
23760
23761 \end_inset
23762
23763
23764 \end_layout
23765
23766 \end_inset
23767
23768
23769 \end_layout
23770
23771 \begin_layout Standard
23772 You can choose one of the accents by selecting an item from the 
23773 \family sans
23774 Frame
23775 \begin_inset space ~
23776 \end_inset
23777
23778 decorations
23779 \family default
23780  symbol set button 
23781 \begin_inset Info
23782 type  "icon"
23783 arg   "math-insert \\hat"
23784 \end_inset
23785
23786  in the math panel; this will apply to any selection you have made within
23787  a formula too.
23788 \end_layout
23789
23790 \begin_layout Section
23791 Brackets and Delimiters
23792 \begin_inset Index idx
23793 status collapsed
23794
23795 \begin_layout Plain Layout
23796 Math ! Brackets
23797 \end_layout
23798
23799 \end_inset
23800
23801
23802 \begin_inset Index idx
23803 status collapsed
23804
23805 \begin_layout Plain Layout
23806 Math ! Delimiters
23807 \end_layout
23808
23809 \end_inset
23810
23811
23812 \begin_inset CommandInset label
23813 LatexCommand label
23814 name "sec:Brackets-and-Delimiters"
23815
23816 \end_inset
23817
23818
23819 \end_layout
23820
23821 \begin_layout Standard
23822 There are several brackets available through LyX.
23823  For some purposes, using just the keys 
23824 \family typewriter
23825 []{}()|<>
23826 \family default
23827  should suffice.
23828  But if you want to surround a large structure, like a matrix or a fraction,
23829  or if you have several layers of brackets, it is better to use the math
23830  toolbar delimiter icon 
23831 \begin_inset Info
23832 type  "icon"
23833 arg   "dialog-show mathdelimiter"
23834 \end_inset
23835
23836 .
23837  For example, that is how you would construct the brackets around a matrix:
23838 \begin_inset Formula 
23839 \[
23840 \left[\begin{array}{cc}
23841 1 & 2\\
23842 3 & 4
23843 \end{array}\right]
23844 \]
23845
23846 \end_inset
23847
23848 and to make it easier to see the layers of parentheses.
23849  Below, the expression on the left was entered using the delimiter icon
23850  
23851 \begin_inset Info
23852 type  "icon"
23853 arg   "dialog-show mathdelimiter"
23854 \end_inset
23855
23856  and the expression on the right was entered using the 
23857 \family typewriter
23858 ()
23859 \family default
23860  keys.
23861  
23862 \begin_inset Formula 
23863 \[
23864 \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})}))}
23865 \]
23866
23867 \end_inset
23868
23869
23870 \end_layout
23871
23872 \begin_layout Standard
23873 If you use the delimiter icon, the parentheses, and other brackets from
23874  that menu will automatically re-size to accommodate the size of what is
23875  inside.
23876 \end_layout
23877
23878 \begin_layout Standard
23879 To construct brackets click on the button for the bracket you want on the
23880  left side and right side.
23881  If you use the option 
23882 \family sans
23883 Keep
23884 \begin_inset space ~
23885 \end_inset
23886
23887 matched
23888 \family default
23889 , the selected bracket type will be used for the left and the right side.
23890  The selection will be shown below the button field.
23891  If you want one side to not have a bracket, use the blank button.
23892  It will appear in LyX with a dotted line, but nothing will be printed.
23893 \end_layout
23894
23895 \begin_layout Standard
23896 If you want to place brackets around math structures, like a square root,
23897  you can do so by first highlighting (selecting) the structure that is to
23898  go inside the brackets.
23899  Then choose the appropriate brackets for left and right and click on 
23900 \family sans
23901 Insert
23902 \family default
23903 .
23904  The parentheses will be drawn around the selected structure.
23905  The most common bracket combinations (parentheses, square brackets, and
23906  braces, on both sides) can be entered more quickly using keyboard shortcuts.
23907  For example, to insert a pair of flexible parentheses on both sides, select
23908  the structure and enter 
23909 \begin_inset Info
23910 type  "shortcut"
23911 arg   "math-delim ( )"
23912 \end_inset
23913
23914 .
23915 \end_layout
23916
23917 \begin_layout Section
23918 Arrays and Multi-line Equations
23919 \begin_inset Index idx
23920 status collapsed
23921
23922 \begin_layout Plain Layout
23923 Math ! Arrays
23924 \end_layout
23925
23926 \end_inset
23927
23928
23929 \begin_inset Index idx
23930 status collapsed
23931
23932 \begin_layout Plain Layout
23933 Math ! Matrices
23934 \end_layout
23935
23936 \end_inset
23937
23938
23939 \begin_inset Index idx
23940 status collapsed
23941
23942 \begin_layout Plain Layout
23943 Math ! Multi-line Equations
23944 \end_layout
23945
23946 \end_inset
23947
23948
23949 \end_layout
23950
23951 \begin_layout Standard
23952 Matrices are entered in LyX using the 
23953 \family sans
23954 Math
23955 \begin_inset space ~
23956 \end_inset
23957
23958 Panel
23959 \family default
23960  matrix button 
23961 \family sans
23962
23963 \begin_inset Info
23964 type  "icon"
23965 arg   "dialog-show mathmatrix"
23966 \end_inset
23967
23968
23969 \family default
23970 .
23971  It will open a dialog for you to choose the number of rows/columns.
23972  Here is an example:
23973 \begin_inset Formula 
23974 \[
23975 \left(\begin{array}{ccc}
23976 1 & 2 & 3\\
23977 4 & 5 & 6\\
23978 7 & 8 & 9
23979 \end{array}\right)
23980 \]
23981
23982 \end_inset
23983
23984 The parentheses aren't automatic, but you can add them as described in section
23985 \begin_inset space ~
23986 \end_inset
23987
23988
23989 \begin_inset CommandInset ref
23990 LatexCommand ref
23991 reference "sec:Brackets-and-Delimiters"
23992
23993 \end_inset
23994
23995 .
23996  When you construct the matrix, you can decide whether the column entries
23997  will be left-, right-, or center-justified.
23998  This alignment is set in the box 
23999 \family sans
24000 Horizontal
24001 \family default
24002  with the letters 
24003 \begin_inset Quotes eld
24004 \end_inset
24005
24006
24007 \family sans
24008 l
24009 \family default
24010
24011 \begin_inset Quotes erd
24012 \end_inset
24013
24014
24015 \begin_inset Quotes eld
24016 \end_inset
24017
24018
24019 \family sans
24020 r
24021 \family default
24022
24023 \begin_inset Quotes erd
24024 \end_inset
24025
24026 , and 
24027 \begin_inset Quotes eld
24028 \end_inset
24029
24030
24031 \family sans
24032 c
24033 \family default
24034
24035 \begin_inset Quotes erd
24036 \end_inset
24037
24038 .
24039  LyX proposes a 
24040 \begin_inset Quotes eld
24041 \end_inset
24042
24043
24044 \family sans
24045 c
24046 \family default
24047
24048 \begin_inset Quotes erd
24049 \end_inset
24050
24051  for every column as default.
24052  For example, the sequence 
24053 \begin_inset Quotes eld
24054 \end_inset
24055
24056
24057 \family sans
24058 lcr
24059 \family default
24060
24061 \begin_inset Quotes erd
24062 \end_inset
24063
24064  means that the first column will be left-justified, the second will be
24065  centered, and the third column will be right-justified, because each letter
24066  corresponds to the relevant column.
24067  The result will look like this:
24068 \begin_inset Formula 
24069 \[
24070 \begin{array}{lcr}
24071 this & this\, column & this\, column\\
24072 column & has & has\, right\\
24073 has\, left\, alignment & center\, alignment & alignment
24074 \end{array}.
24075 \]
24076
24077 \end_inset
24078
24079
24080 \end_layout
24081
24082 \begin_layout Standard
24083 You can add more rows to an existing matrix by hitting 
24084 \begin_inset Info
24085 type  "shortcut"
24086 arg   "newline-insert newline"
24087 \end_inset
24088
24089  while the cursor is in the matrix.
24090  Adding or deleting columns can be done via the menu 
24091 \family sans
24092 Edit\SpecialChar \menuseparator
24093 Math
24094 \family default
24095  or the math toolbar.
24096 \end_layout
24097
24098 \begin_layout Standard
24099 There are other arrays used in formulas, such as distinctions of cases.
24100  It can be created with the menu 
24101 \family sans
24102 Insert\SpecialChar \menuseparator
24103 Math\SpecialChar \menuseparator
24104 Cases
24105 \begin_inset space ~
24106 \end_inset
24107
24108 Environment
24109 \family default
24110  or the command 
24111 \series bold
24112
24113 \backslash
24114 cases
24115 \series default
24116 .
24117  Here is an example: 
24118 \begin_inset Formula 
24119 \[
24120 f(x)=\begin{cases}
24121 -1 & x<0\\
24122 0 & x=0\\
24123 1 & x>0
24124 \end{cases}
24125 \]
24126
24127 \end_inset
24128
24129
24130 \end_layout
24131
24132 \begin_layout Standard
24133 \begin_inset VSpace bigskip
24134 \end_inset
24135
24136 Multi-line formulas are created when you press 
24137 \begin_inset Info
24138 type  "shortcut"
24139 arg   "newline-insert newline"
24140 \end_inset
24141
24142  within a formula.
24143  In an empty formula you can see that three blue boxes appear, one for each
24144  column.
24145  When you press 
24146 \begin_inset Info
24147 type  "shortcut"
24148 arg   "newline-insert newline"
24149 \end_inset
24150
24151  in a non-empty formula, the part before the relation sign (equal sign 
24152 \begin_inset Quotes eld
24153 \end_inset
24154
24155 =
24156 \begin_inset Quotes erd
24157 \end_inset
24158
24159  etc.) will be inserted automatically in the first column, the relation sign
24160  is in the second column, and the rest in the third column.
24161  A new row is created by every further hit of 
24162 \begin_inset Info
24163 type  "shortcut"
24164 arg   "newline-insert newline"
24165 \end_inset
24166
24167 .
24168  Multi-line formulas are always displayed formulas.
24169  Here is an example:
24170 \begin_inset Formula 
24171 \begin{eqnarray}
24172 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
24173 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
24174 \end{eqnarray}
24175
24176 \end_inset
24177
24178 Note that the middle column is designed for relation signs so structures
24179  in this column will be printed in a smaller size:
24180 \begin_inset Formula 
24181 \begin{eqnarray*}
24182 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
24183 \end{eqnarray*}
24184
24185 \end_inset
24186
24187
24188 \end_layout
24189
24190 \begin_layout Standard
24191 The multi-line formula type described here is called 
24192 \family typewriter
24193 \series medium
24194 eqnarray
24195 \family default
24196 \series default
24197 .
24198  There are other multi-line types more suitable for certain situations,
24199  for example if you want a better inter-line spacing than in formula 
24200 \begin_inset CommandInset ref
24201 LatexCommand eqref
24202 reference "eq:asquared"
24203
24204 \end_inset
24205
24206 .
24207  The other types are described in section
24208 \begin_inset space ~
24209 \end_inset
24210
24211
24212 \begin_inset CommandInset ref
24213 LatexCommand ref
24214 reference "sub:AMS-Formula-Types"
24215
24216 \end_inset
24217
24218 .
24219 \end_layout
24220
24221 \begin_layout Section
24222 Formula Numbering and Referencing
24223 \begin_inset Index idx
24224 status collapsed
24225
24226 \begin_layout Plain Layout
24227 Math ! Formula numbering
24228 \end_layout
24229
24230 \end_inset
24231
24232
24233 \begin_inset Index idx
24234 status collapsed
24235
24236 \begin_layout Plain Layout
24237 Math ! Referencing formulas
24238 \end_layout
24239
24240 \end_inset
24241
24242
24243 \begin_inset CommandInset label
24244 LatexCommand label
24245 name "sec:Formula-Numbering-and"
24246
24247 \end_inset
24248
24249
24250 \end_layout
24251
24252 \begin_layout Standard
24253 To number a formula, set the cursor in the formula and use the menu 
24254 \family sans
24255 Edit\SpecialChar \menuseparator
24256 Math\SpecialChar \menuseparator
24257 Toggle
24258 \begin_inset space ~
24259 \end_inset
24260
24261 Numbering
24262 \family default
24263  or the shortcut 
24264 \begin_inset Info
24265 type  "shortcut"
24266 arg   "math-number-toggle"
24267 \end_inset
24268
24269 .
24270  The formula number appears in LyX as 
24271 \begin_inset Quotes eld
24272 \end_inset
24273
24274 #
24275 \begin_inset Quotes erd
24276 \end_inset
24277
24278  within parentheses.
24279  The 
24280 \begin_inset Quotes eld
24281 \end_inset
24282
24283 #
24284 \begin_inset Quotes erd
24285 \end_inset
24286
24287  denotes that the number will be calculated automatically when the output
24288  is generated.
24289  The placement and format of the formula number in the output depends on
24290  the document class.
24291  In this document the number is printed together with the chapter number,
24292  separated by a dot:
24293 \begin_inset Formula 
24294 \begin{equation}
24295 1+1=2
24296 \end{equation}
24297
24298 \end_inset
24299
24300 Using 
24301 \begin_inset Info
24302 type  "shortcut"
24303 arg   "math-number-toggle"
24304 \end_inset
24305
24306  in a numbered formula will switch off the numbering.
24307  You can only number displayed formulas.
24308 \end_layout
24309
24310 \begin_layout Standard
24311 Multi-line formulas can be numbered line by line: Using the menu 
24312 \family sans
24313 Edit\SpecialChar \menuseparator
24314 Math\SpecialChar \menuseparator
24315 Toggle
24316 \begin_inset space ~
24317 \end_inset
24318
24319 Numbering
24320 \begin_inset space ~
24321 \end_inset
24322
24323 of
24324 \begin_inset space ~
24325 \end_inset
24326
24327 Line
24328 \family default
24329  or the shortcut 
24330 \begin_inset Info
24331 type  "shortcut"
24332 arg   "math-number-line-toggle"
24333 \end_inset
24334
24335  will only toggle the numbering of the line where the cursor is:
24336 \begin_inset Formula 
24337 \begin{eqnarray}
24338 1 & = & 3-2\\
24339 2 & = & 4-2\nonumber \\
24340 4 & \leq & 7
24341 \end{eqnarray}
24342
24343 \end_inset
24344
24345 To number all lines use the shortcut 
24346 \begin_inset Info
24347 type  "shortcut"
24348 arg   "math-number-toggle"
24349 \end_inset
24350
24351 .
24352 \end_layout
24353
24354 \begin_layout Standard
24355 \begin_inset VSpace bigskip
24356 \end_inset
24357
24358 Every displayed formula can be referenced by its number using a label.
24359  A label is inserted with the menu 
24360 \family sans
24361 Insert\SpecialChar \menuseparator
24362 Label
24363 \family default
24364  when the cursor is in the formula.
24365  This opens a dialog to enter the label.
24366  It is recommended to use the proposed 
24367 \begin_inset Quotes eld
24368 \end_inset
24369
24370
24371 \family sans
24372 eq:
24373 \family default
24374
24375 \begin_inset Quotes erd
24376 \end_inset
24377
24378  as the first part of the label, because this helps later to identify the
24379  label type when you have many labels in your document.
24380  We inserted in the following example the label 
24381 \begin_inset Quotes eld
24382 \end_inset
24383
24384 eq:tanhExp
24385 \begin_inset Quotes erd
24386 \end_inset
24387
24388  in the second line:
24389 \begin_inset Formula 
24390 \begin{eqnarray}
24391 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
24392  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
24393 \end{eqnarray}
24394
24395 \end_inset
24396
24397 Every labeled line is automatically numbered.
24398  Therefore the label is shown in LyX at the place of the formula number
24399  placeholder 
24400 \begin_inset Quotes eld
24401 \end_inset
24402
24403 #
24404 \begin_inset Quotes erd
24405 \end_inset
24406
24407 .
24408  You can reference a labeled formula using the menu 
24409 \family sans
24410 Insert\SpecialChar \menuseparator
24411 Cross
24412 \begin_inset space ~
24413 \end_inset
24414
24415 Reference
24416 \family default
24417 .
24418  A dialog appears to choose a label you want to refer to.
24419  The reference appears in LyX as a gray cross-reference box and in the output
24420  as the formula number:
24421 \end_layout
24422
24423 \begin_layout Standard
24424 This is a cross-reference to equation (
24425 \begin_inset CommandInset ref
24426 LatexCommand ref
24427 reference "eq:tanhExp"
24428
24429 \end_inset
24430
24431 ).
24432 \end_layout
24433
24434 \begin_layout Standard
24435 The properties of LyX's cross-reference box are described in section
24436 \begin_inset space ~
24437 \end_inset
24438
24439
24440 \begin_inset CommandInset ref
24441 LatexCommand ref
24442 reference "sec:Cross-References"
24443
24444 \end_inset
24445
24446 .
24447  To delete a label, set the cursor at the end in the labeled formula and
24448  press 
24449 \family sans
24450 Del
24451 \family default
24452 .
24453 \end_layout
24454
24455 \begin_layout Section
24456 User defined math macros
24457 \begin_inset Index idx
24458 status collapsed
24459
24460 \begin_layout Plain Layout
24461 Math ! Macros
24462 \end_layout
24463
24464 \end_inset
24465
24466
24467 \end_layout
24468
24469 \begin_layout Standard
24470 LyX allows you to define macros for formulas which is very useful when you
24471  have equations of the same form in a document several times.
24472  Math macros are explained in section 
24473 \emph on
24474 Math
24475 \begin_inset space ~
24476 \end_inset
24477
24478 Macros
24479 \emph default
24480  of the 
24481 \emph on
24482 Math
24483 \emph default
24484  manual.
24485 \end_layout
24486
24487 \begin_layout Section
24488 Fine-Tuning
24489 \end_layout
24490
24491 \begin_layout Subsection
24492 Typefaces
24493 \begin_inset Index idx
24494 status collapsed
24495
24496 \begin_layout Plain Layout
24497 Math ! Typefaces
24498 \end_layout
24499
24500 \end_inset
24501
24502
24503 \end_layout
24504
24505 \begin_layout Standard
24506 The standard font for text is italic, for numbers the standard is roman.
24507  To set a font in a formula, use the 
24508 \family sans
24509 Math
24510 \begin_inset space ~
24511 \end_inset
24512
24513 Panel
24514 \family default
24515  button 
24516 \family sans
24517
24518 \begin_inset Info
24519 type  "icon"
24520 arg   "math-insert \\font"
24521 \end_inset
24522
24523
24524 \family default
24525 , or enter its command, listed in table
24526 \begin_inset space ~
24527 \end_inset
24528
24529
24530 \begin_inset CommandInset ref
24531 LatexCommand ref
24532 reference "tab:Typefaces-and-the"
24533
24534 \end_inset
24535
24536 , directly.
24537 \end_layout
24538
24539 \begin_layout Standard
24540 \begin_inset Float table
24541 wide false
24542 sideways false
24543 status open
24544
24545 \begin_layout Plain Layout
24546 \begin_inset Caption Standard
24547
24548 \begin_layout Plain Layout
24549 \begin_inset CommandInset label
24550 LatexCommand label
24551 name "tab:Typefaces-and-the"
24552
24553 \end_inset
24554
24555 Typefaces and the corresponding commands.
24556 \end_layout
24557
24558 \end_inset
24559
24560
24561 \end_layout
24562
24563 \begin_layout Plain Layout
24564 \align center
24565 \begin_inset Tabular
24566 <lyxtabular version="3" rows="9" columns="2">
24567 <features rotate="0" tabularvalignment="middle">
24568 <column alignment="center" valignment="top" width="0pt">
24569 <column alignment="center" valignment="top" width="0pt">
24570 <row>
24571 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24572 \begin_inset Text
24573
24574 \begin_layout Plain Layout
24575 Font
24576 \end_layout
24577
24578 \end_inset
24579 </cell>
24580 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24581 \begin_inset Text
24582
24583 \begin_layout Plain Layout
24584 Command
24585 \end_layout
24586
24587 \end_inset
24588 </cell>
24589 </row>
24590 <row>
24591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24592 \begin_inset Text
24593
24594 \begin_layout Plain Layout
24595
24596 \shape up
24597 \size normal
24598 \bar no
24599 \noun off
24600 \color none
24601 \begin_inset Formula $\mathrm{Roman}$
24602 \end_inset
24603
24604
24605 \end_layout
24606
24607 \end_inset
24608 </cell>
24609 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24610 \begin_inset Text
24611
24612 \begin_layout Plain Layout
24613
24614 \series bold
24615
24616 \backslash
24617 mathrm
24618 \end_layout
24619
24620 \end_inset
24621 </cell>
24622 </row>
24623 <row>
24624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24625 \begin_inset Text
24626
24627 \begin_layout Plain Layout
24628 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
24629 \end_inset
24630
24631
24632 \end_layout
24633
24634 \end_inset
24635 </cell>
24636 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24637 \begin_inset Text
24638
24639 \begin_layout Plain Layout
24640
24641 \series bold
24642
24643 \backslash
24644 mathbf
24645 \end_layout
24646
24647 \end_inset
24648 </cell>
24649 </row>
24650 <row>
24651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24652 \begin_inset Text
24653
24654 \begin_layout Plain Layout
24655 \begin_inset Formula $\mathit{Italic}$
24656 \end_inset
24657
24658
24659 \end_layout
24660
24661 \end_inset
24662 </cell>
24663 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24664 \begin_inset Text
24665
24666 \begin_layout Plain Layout
24667
24668 \series bold
24669
24670 \backslash
24671 mathit
24672 \end_layout
24673
24674 \end_inset
24675 </cell>
24676 </row>
24677 <row>
24678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24679 \begin_inset Text
24680
24681 \begin_layout Plain Layout
24682
24683 \shape up
24684 \size normal
24685 \bar no
24686 \noun off
24687 \color none
24688 \begin_inset Formula $\mathtt{Typewriter}$
24689 \end_inset
24690
24691
24692 \end_layout
24693
24694 \end_inset
24695 </cell>
24696 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24697 \begin_inset Text
24698
24699 \begin_layout Plain Layout
24700
24701 \series bold
24702
24703 \backslash
24704 mathtt
24705 \end_layout
24706
24707 \end_inset
24708 </cell>
24709 </row>
24710 <row>
24711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24712 \begin_inset Text
24713
24714 \begin_layout Plain Layout
24715 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
24716 \end_inset
24717
24718
24719 \end_layout
24720
24721 \end_inset
24722 </cell>
24723 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24724 \begin_inset Text
24725
24726 \begin_layout Plain Layout
24727
24728 \series bold
24729
24730 \backslash
24731 mathbb
24732 \end_layout
24733
24734 \end_inset
24735 </cell>
24736 </row>
24737 <row>
24738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24739 \begin_inset Text
24740
24741 \begin_layout Plain Layout
24742 \begin_inset Formula $\mathfrak{Fraktur}$
24743 \end_inset
24744
24745
24746 \end_layout
24747
24748 \end_inset
24749 </cell>
24750 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24751 \begin_inset Text
24752
24753 \begin_layout Plain Layout
24754
24755 \series bold
24756
24757 \backslash
24758 mathfrak
24759 \end_layout
24760
24761 \end_inset
24762 </cell>
24763 </row>
24764 <row>
24765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24766 \begin_inset Text
24767
24768 \begin_layout Plain Layout
24769
24770 \shape up
24771 \size normal
24772 \emph on
24773 \bar no
24774 \noun off
24775 \color none
24776 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
24777 \end_inset
24778
24779
24780 \end_layout
24781
24782 \end_inset
24783 </cell>
24784 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24785 \begin_inset Text
24786
24787 \begin_layout Plain Layout
24788
24789 \series bold
24790
24791 \backslash
24792 mathcal
24793 \end_layout
24794
24795 \end_inset
24796 </cell>
24797 </row>
24798 <row>
24799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24800 \begin_inset Text
24801
24802 \begin_layout Plain Layout
24803 \begin_inset Formula $\mathsf{SansSerif}$
24804 \end_inset
24805
24806
24807 \end_layout
24808
24809 \end_inset
24810 </cell>
24811 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24812 \begin_inset Text
24813
24814 \begin_layout Plain Layout
24815
24816 \series bold
24817
24818 \backslash
24819 mathsf
24820 \end_layout
24821
24822 \end_inset
24823 </cell>
24824 </row>
24825 </lyxtabular>
24826
24827 \end_inset
24828
24829
24830 \end_layout
24831
24832 \end_inset
24833
24834
24835 \end_layout
24836
24837 \begin_layout Standard
24838 \begin_inset Note Greyedout
24839 status open
24840
24841 \begin_layout Plain Layout
24842
24843 \series bold
24844 Note:
24845 \series default
24846  You can only print capital letters in the typefaces 
24847 \family sans
24848 Blackboard
24849 \family default
24850  and 
24851 \family sans
24852 Calligraphic
24853 \family default
24854 .
24855 \end_layout
24856
24857 \end_inset
24858
24859
24860 \end_layout
24861
24862 \begin_layout Standard
24863 When you use a typeface, a blue box is inserted in the formula.
24864  Every character in this box will be printed in this typeface.
24865  Pressing 
24866 \family sans
24867 Space
24868 \family default
24869  within the box will set the cursor outside, so that you have to use a protected
24870  space when you need a space in the box.
24871  Here is an example where 
24872 \begin_inset Quotes eld
24873 \end_inset
24874
24875 N
24876 \begin_inset Quotes erd
24877 \end_inset
24878
24879  in 
24880 \family sans
24881 Blackboard
24882 \family default
24883  denotes the set of numbers:
24884 \begin_inset Formula 
24885 \[
24886 f(x)=\sqrt{x}\:;\: x\in\mathbb{N}
24887 \]
24888
24889 \end_inset
24890
24891
24892 \end_layout
24893
24894 \begin_layout Standard
24895 The typefaces are nestable, which can cause confusion.
24896  You can e.
24897 \begin_inset space \thinspace{}
24898 \end_inset
24899
24900 g.
24901 \begin_inset space \space{}
24902 \end_inset
24903
24904 put a character in 
24905 \family sans
24906 Fraktur
24907 \family default
24908  in a box for 
24909 \family sans
24910 Typewriter
24911 \family default
24912
24913 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
24914 \end_inset
24915
24916  
24917 \begin_inset Newline newline
24918 \end_inset
24919
24920 So it is better not to use this feature.
24921 \end_layout
24922
24923 \begin_layout Standard
24924 The typefaces have no effect on Greek letters: 
24925 \begin_inset Formula $\mathfrak{abc\delta e}$
24926 \end_inset
24927
24928
24929 \begin_inset Newline newline
24930 \end_inset
24931
24932 You can only print them emboldened using the command 
24933 \series bold
24934
24935 \backslash
24936 boldsymbol
24937 \series default
24938 , which works like the other typeface commands: 
24939 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
24940 \end_inset
24941
24942
24943 \end_layout
24944
24945 \begin_layout Standard
24946
24947 \series bold
24948
24949 \backslash
24950 boldsymbol
24951 \series default
24952  works for all symbols, letters, and numbers.
24953 \end_layout
24954
24955 \begin_layout Standard
24956 A number of other font options are available as well, in the menu 
24957 \family sans
24958 Edit\SpecialChar \menuseparator
24959 Math\SpecialChar \menuseparator
24960 Text
24961 \begin_inset space ~
24962 \end_inset
24963
24964 Style
24965 \family default
24966 .
24967 \end_layout
24968
24969 \begin_layout Subsection
24970 Math Text
24971 \begin_inset Index idx
24972 status collapsed
24973
24974 \begin_layout Plain Layout
24975 Math ! Text
24976 \end_layout
24977
24978 \end_inset
24979
24980
24981 \end_layout
24982
24983 \begin_layout Standard
24984 Typefaces are useful for entering some characters in some given font, but
24985  not for text.
24986  For typing longer pieces of text use the math text, which is obtained using
24987  the entry 
24988 \family sans
24989 Normal
24990 \begin_inset space ~
24991 \end_inset
24992
24993 text
24994 \begin_inset space ~
24995 \end_inset
24996
24997 mode
24998 \family default
24999  of the 
25000 \family sans
25001 Math
25002 \begin_inset space ~
25003 \end_inset
25004
25005 Panel
25006 \family default
25007  button 
25008 \family sans
25009
25010 \begin_inset Info
25011 type  "icon"
25012 arg   "math-insert \\font"
25013 \end_inset
25014
25015
25016 \family default
25017  (shortcut 
25018 \begin_inset Info
25019 type  "shortcut"
25020 arg   "font-default"
25021 \end_inset
25022
25023 ).
25024  Math text appears in LyX in black instead of blue.
25025  You can use spaces and accents in math text like in normal text.
25026  Here is an example:
25027 \begin_inset Formula 
25028 \[
25029 f(x)=\begin{cases}
25030 x & \mbox{if I say so}\\
25031 -x & \mbox{under Umständen}
25032 \end{cases}
25033 \]
25034
25035 \end_inset
25036
25037
25038 \end_layout
25039
25040 \begin_layout Subsection
25041 Font Sizes
25042 \begin_inset Index idx
25043 status collapsed
25044
25045 \begin_layout Plain Layout
25046 Math ! Font sizes
25047 \end_layout
25048
25049 \end_inset
25050
25051
25052 \end_layout
25053
25054 \begin_layout Standard
25055 There are four font styles (relative sizes) used in math-mode, which are
25056  automatically chosen in most situations.
25057  These are called 
25058 \family sans
25059 textstyle
25060 \family default
25061
25062 \family sans
25063 displaystyle
25064 \family default
25065
25066 \family sans
25067 scriptstyle
25068 \family default
25069 , and 
25070 \family sans
25071 scriptscriptstyle
25072 \family default
25073 .
25074  For most characters, 
25075 \family sans
25076 textstyle
25077 \family default
25078  and 
25079 \family sans
25080 displaystyle
25081 \family default
25082  are actually the same size, but fractions, superscripts and subscripts,
25083  and certain other structures, are set larger in 
25084 \family sans
25085 displaystyle
25086 \family default
25087 .
25088  Except for some operators, which resize themselves to accommodate various
25089  situations, all text will be set in the styles that LaTeX thinks are appropriat
25090 e.
25091  These choices can be overridden by using the math panel button 
25092 \family sans
25093
25094 \begin_inset Info
25095 type  "icon"
25096 arg   "math-insert \\style"
25097 \end_inset
25098
25099
25100 \family default
25101 .
25102  A box for the size will be created in which you can insert the math structure.
25103  For example, you can set 
25104 \begin_inset Formula $\frac{1}{2}$
25105 \end_inset
25106
25107 , which is normally in 
25108 \family sans
25109 textstyle
25110 \family default
25111 , larger in 
25112 \family sans
25113 displaystyle
25114 \family default
25115
25116 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
25117 \end_inset
25118
25119 .
25120  The four styles are used in the following example:
25121 \end_layout
25122
25123 \begin_layout Standard
25124 \begin_inset Formula $displaystyle$
25125 \end_inset
25126
25127
25128 \begin_inset Formula ${\textstyle textstyle}$
25129 \end_inset
25130
25131
25132 \begin_inset Formula ${\scriptstyle scriptstyle}$
25133 \end_inset
25134
25135
25136 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
25137 \end_inset
25138
25139 .
25140 \end_layout
25141
25142 \begin_layout Standard
25143 All these math-mode font sizes are relative so that if the whole math inset
25144  is set in a particular size with the menu 
25145 \family sans
25146 Edit\SpecialChar \menuseparator
25147 Text
25148 \begin_inset space ~
25149 \end_inset
25150
25151 Style
25152 \family default
25153 , all sizes in the formula will be adjusted relative to this size.
25154  Similarly, if the base font size of the document is changed, all fonts
25155  will be adjusted to correspond.
25156  As an example here is a formula in the font size 
25157 \begin_inset Quotes eld
25158 \end_inset
25159
25160 largest
25161 \begin_inset Quotes erd
25162 \end_inset
25163
25164 :
25165 \end_layout
25166
25167 \begin_layout Standard
25168
25169 \family roman
25170 \size largest
25171 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
25172 \end_inset
25173
25174
25175 \end_layout
25176
25177 \begin_layout Section
25178 Theorem Modules
25179 \end_layout
25180
25181 \begin_layout Standard
25182 As of LyX 1.6, support for theorem-like environments has been moved out of
25183  the document classes and into layout modules.
25184 \begin_inset Index idx
25185 status collapsed
25186
25187 \begin_layout Plain Layout
25188 Layout Modules
25189 \end_layout
25190
25191 \end_inset
25192
25193  As a result, theorem-like environments can now easily be used with classes
25194  other than the AMS classes.
25195  See section 
25196 \begin_inset CommandInset ref
25197 LatexCommand ref
25198 reference "sub:Modules"
25199
25200 \end_inset
25201
25202  for more on layout modules.
25203 \end_layout
25204
25205 \begin_layout Section
25206 AMS-LaTeX
25207 \begin_inset Index idx
25208 status collapsed
25209
25210 \begin_layout Plain Layout
25211 AMS math
25212 \end_layout
25213
25214 \end_inset
25215
25216
25217 \begin_inset Index idx
25218 status collapsed
25219
25220 \begin_layout Plain Layout
25221 Math ! AMS
25222 \end_layout
25223
25224 \end_inset
25225
25226
25227 \end_layout
25228
25229 \begin_layout Standard
25230 LyX supports the packages provided by the American Mathematical Society
25231  (AMS) that are in common use.
25232 \end_layout
25233
25234 \begin_layout Subsection
25235 Enabling AMS-Support
25236 \end_layout
25237
25238 \begin_layout Standard
25239 Selecting the checkbox 
25240 \family sans
25241 Use
25242 \begin_inset space ~
25243 \end_inset
25244
25245 AMS
25246 \begin_inset space ~
25247 \end_inset
25248
25249 math
25250 \begin_inset space ~
25251 \end_inset
25252
25253 package
25254 \family default
25255  in the 
25256 \family sans
25257 Document\SpecialChar \menuseparator
25258 Settings
25259 \family default
25260
25261 \begin_inset Index idx
25262 status collapsed
25263
25264 \begin_layout Plain Layout
25265 Document ! Settings
25266 \end_layout
25267
25268 \end_inset
25269
25270  dialog under 
25271 \family sans
25272 Math
25273 \begin_inset space ~
25274 \end_inset
25275
25276 Options
25277 \family default
25278  will include the AMS-packages in the document and make the facilities available.
25279  AMS is needed for many math-constructs, so when you get LaTeX-errors in
25280  formulas, ensure that you have enabled AMS.
25281 \end_layout
25282
25283 \begin_layout Subsection
25284 AMS-Formula Types
25285 \begin_inset CommandInset label
25286 LatexCommand label
25287 name "sub:AMS-Formula-Types"
25288
25289 \end_inset
25290
25291
25292 \begin_inset Index idx
25293 status collapsed
25294
25295 \begin_layout Plain Layout
25296 Math ! Multi-line Equations
25297 \end_layout
25298
25299 \end_inset
25300
25301
25302 \end_layout
25303
25304 \begin_layout Standard
25305 AMS-LaTeX provides a selection of different formula types.
25306  LyX allows you to choose between 
25307 \family typewriter
25308 align
25309 \family default
25310
25311 \family typewriter
25312 alignat
25313 \family default
25314
25315 \family typewriter
25316 flalign
25317 \family default
25318
25319 \family typewriter
25320 gather
25321 \family default
25322 , and 
25323 \family typewriter
25324 multline
25325 \family default
25326 .
25327  We refer to the AMS-documentation for an explanation of these formula types.
25328 \end_layout
25329
25330 \begin_layout Chapter
25331 More Tools
25332 \end_layout
25333
25334 \begin_layout Section
25335 Cross-References
25336 \begin_inset Index idx
25337 status collapsed
25338
25339 \begin_layout Plain Layout
25340 Cross references
25341 \end_layout
25342
25343 \end_inset
25344
25345
25346 \begin_inset CommandInset label
25347 LatexCommand label
25348 name "sec:Cross-References"
25349
25350 \end_inset
25351
25352
25353 \end_layout
25354
25355 \begin_layout Standard
25356 One of LyX's strengths is cross-references.
25357  You can reference every section, float, footnote, formula, and list in
25358  the document.
25359  To reference a document part, you have to insert a label into it.
25360  The label is used as an anchor and a name for the reference.
25361  We want for example to refer to the second item of the following list:
25362 \end_layout
25363
25364 \begin_layout Enumerate
25365 First item
25366 \end_layout
25367
25368 \begin_layout Enumerate
25369 \begin_inset CommandInset label
25370 LatexCommand label
25371 name "enu:Second-item"
25372
25373 \end_inset
25374
25375 Second item
25376 \end_layout
25377
25378 \begin_layout Enumerate
25379 Third item
25380 \end_layout
25381
25382 \begin_layout Standard
25383 First we insert a label into the second item with the menu 
25384 \family sans
25385 Insert\SpecialChar \menuseparator
25386 Label
25387 \family default
25388  or by pressing the toolbar button 
25389 \begin_inset Info
25390 type  "icon"
25391 arg   "label-insert"
25392 \end_inset
25393
25394 .
25395  A gray label box like this: 
25396 \begin_inset Graphics
25397         filename clipart/labelQt4.png
25398         scale 85
25399
25400 \end_inset
25401
25402  is inserted and the label window pops up asking for the label text.
25403  LyX offers as text the first words of the item with a prefix, in our case
25404  the text 
25405 \begin_inset Quotes eld
25406 \end_inset
25407
25408
25409 \family sans
25410 enu:Second-item
25411 \family default
25412
25413 \begin_inset Quotes erd
25414 \end_inset
25415
25416 .
25417  The prefix 
25418 \begin_inset Quotes eld
25419 \end_inset
25420
25421
25422 \family sans
25423 enu:
25424 \family default
25425
25426 \begin_inset Quotes erd
25427 \end_inset
25428
25429  stands for 
25430 \begin_inset Quotes eld
25431 \end_inset
25432
25433 enumerate
25434 \begin_inset Quotes erd
25435 \end_inset
25436
25437 .
25438  The prefix depends on the document part where the label is inserted, e.
25439 \begin_inset space \thinspace{}
25440 \end_inset
25441
25442 g.
25443 \begin_inset space \space{}
25444 \end_inset
25445
25446 if you insert a label into a section heading, the suggested prefix will
25447  be 
25448 \begin_inset Quotes eld
25449 \end_inset
25450
25451
25452 \family sans
25453 sec:
25454 \family default
25455
25456 \begin_inset Quotes erd
25457 \end_inset
25458
25459 .
25460 \end_layout
25461
25462 \begin_layout Standard
25463 To reference the item, we refer to its label using the menu 
25464 \family sans
25465 Insert\SpecialChar \menuseparator
25466 Cross-Reference
25467 \family default
25468  or the toolbar button 
25469 \begin_inset Info
25470 type  "icon"
25471 arg   "dialog-show-new-inset ref"
25472 \end_inset
25473
25474 .
25475  A gray cross-reference box like this: 
25476 \begin_inset Graphics
25477         filename clipart/referenceQt4.png
25478         scale 85
25479
25480 \end_inset
25481
25482  is inserted and the cross-reference window appears showing all the labels
25483  in the document.
25484  We can now sort the labels alphabetically and then choose the entry 
25485 \begin_inset Quotes eld
25486 \end_inset
25487
25488
25489 \family sans
25490 enu:Second-item
25491 \family default
25492
25493 \begin_inset Quotes erd
25494 \end_inset
25495
25496 .
25497  At the position of the cross-reference box the item number will appear
25498  in the output.
25499 \end_layout
25500
25501 \begin_layout Standard
25502 Alternatively to 
25503 \family sans
25504 Insert\SpecialChar \menuseparator
25505 Cross-Reference
25506 \family default
25507 , you can right-click on a label and use in the appearing context menu 
25508 \family sans
25509 Copy as Reference
25510 \family default
25511 .
25512  The cross-reference to this label is now in the clipboard and can be pasted
25513  to the actual cursor position via the menu 
25514 \family sans
25515 Edit\SpecialChar \menuseparator
25516 Paste
25517 \family default
25518  (shortcut 
25519 \begin_inset Info
25520 type  "shortcut"
25521 arg   "paste"
25522 \end_inset
25523
25524 ).
25525 \end_layout
25526
25527 \begin_layout Standard
25528 Here is our cross-reference: Item
25529 \begin_inset space ~
25530 \end_inset
25531
25532
25533 \begin_inset CommandInset ref
25534 LatexCommand ref
25535 reference "enu:Second-item"
25536
25537 \end_inset
25538
25539
25540 \end_layout
25541
25542 \begin_layout Standard
25543 It is recommended to use a protected space
25544 \begin_inset Foot
25545 status collapsed
25546
25547 \begin_layout Plain Layout
25548 described in section
25549 \begin_inset space ~
25550 \end_inset
25551
25552
25553 \begin_inset CommandInset ref
25554 LatexCommand ref
25555 reference "sub:Protected-Space"
25556
25557 \end_inset
25558
25559
25560 \end_layout
25561
25562 \end_inset
25563
25564  between the cross-reference name and the cross-reference to avoid ugly
25565  line breaks between them.
25566 \end_layout
25567
25568 \begin_layout Standard
25569 There are six formats of cross-references:
25570 \end_layout
25571
25572 \begin_layout Description
25573 <reference>: prints the number, this is the default: 
25574 \begin_inset CommandInset ref
25575 LatexCommand ref
25576 reference "fig:Two-distorted-images"
25577
25578 \end_inset
25579
25580
25581 \end_layout
25582
25583 \begin_layout Description
25584 (<reference>): prints the number within two parentheses, this is the style
25585  normally used to reference formulas, especially when the reference name
25586  
25587 \begin_inset Quotes eld
25588 \end_inset
25589
25590 Equation
25591 \begin_inset Quotes erd
25592 \end_inset
25593
25594  is omitted: 
25595 \begin_inset CommandInset ref
25596 LatexCommand eqref
25597 reference "eq:tanhExp"
25598
25599 \end_inset
25600
25601
25602 \end_layout
25603
25604 \begin_layout Description
25605 <page>: prints the page number: Page
25606 \begin_inset space ~
25607 \end_inset
25608
25609
25610 \begin_inset CommandInset ref
25611 LatexCommand pageref
25612 reference "fig:Two-distorted-images"
25613
25614 \end_inset
25615
25616
25617 \end_layout
25618
25619 \begin_layout Description
25620 on
25621 \begin_inset space ~
25622 \end_inset
25623
25624 page
25625 \begin_inset space ~
25626 \end_inset
25627
25628 <page>: prints the text "on page" and the page number: 
25629 \begin_inset CommandInset ref
25630 LatexCommand vpageref
25631 reference "fig:Two-distorted-images"
25632
25633 \end_inset
25634
25635
25636 \end_layout
25637
25638 \begin_layout Description
25639 <reference>
25640 \begin_inset space ~
25641 \end_inset
25642
25643 on
25644 \begin_inset space ~
25645 \end_inset
25646
25647 page
25648 \begin_inset space ~
25649 \end_inset
25650
25651 <page>: prints the number, the text "on page", and the page number: 
25652 \begin_inset CommandInset ref
25653 LatexCommand vref
25654 reference "fig:Two-distorted-images"
25655
25656 \end_inset
25657
25658
25659 \end_layout
25660
25661 \begin_layout Description
25662 Formatted
25663 \begin_inset space ~
25664 \end_inset
25665
25666 reference: prints a self defined cross-reference format.
25667 \begin_inset Newline newline
25668 \end_inset
25669
25670
25671 \begin_inset Note Greyedout
25672 status collapsed
25673
25674 \begin_layout Plain Layout
25675
25676 \series bold
25677 Note:
25678 \series default
25679  This feature is only available when you have the LaTeX-package 
25680 \series bold
25681 prettyref
25682 \series default
25683  or 
25684 \series bold
25685 refstyle
25686 \series default
25687
25688 \begin_inset Index idx
25689 status collapsed
25690
25691 \begin_layout Plain Layout
25692 LaTeX-packages ! prettyref
25693 \end_layout
25694
25695 \end_inset
25696
25697
25698 \begin_inset Index idx
25699 status collapsed
25700
25701 \begin_layout Plain Layout
25702 LaTeX-packages ! refstyle
25703 \end_layout
25704
25705 \end_inset
25706
25707  installed.
25708 \end_layout
25709
25710 \end_inset
25711
25712
25713 \begin_inset Newline newline
25714 \end_inset
25715
25716 You can select which LaTeX-package should be used for this feature by setting
25717  the option 
25718 \family sans
25719 Use refstyle (not prettyref) for cross-references
25720 \family default
25721  in the menu 
25722 \family sans
25723 Document\SpecialChar \menuseparator
25724 Settings\SpecialChar \menuseparator
25725 Document Class
25726 \family default
25727 .
25728  The package 
25729 \series bold
25730 refstyle
25731 \series default
25732  is the default and preferred because 
25733 \series bold
25734 prettyref
25735 \series default
25736  supports only English documents.
25737  The format is specified by using the command 
25738 \series bold
25739
25740 \backslash
25741 newrefformat
25742 \series default
25743  (prettyref) or 
25744 \series bold
25745
25746 \backslash
25747 newref
25748 \series default
25749  (refstyle) in the LaTeX preamble of the document.
25750  For example redefining all references to figures (which have the label
25751  shortcut 
25752 \begin_inset Quotes eld
25753 \end_inset
25754
25755
25756 \family sans
25757 fig
25758 \family default
25759
25760 \begin_inset Quotes erd
25761 \end_inset
25762
25763 ) can be done with this command
25764 \begin_inset Newline newline
25765 \end_inset
25766
25767
25768 \series bold
25769
25770 \backslash
25771 newref{fig}{refcmd={Image on page 
25772 \backslash
25773 pageref{#1}}}
25774 \series default
25775
25776 \begin_inset Newline newline
25777 \end_inset
25778
25779 For more information about the format, have a look at the package documentations
25780
25781 \begin_inset CommandInset citation
25782 LatexCommand cite
25783 key "prettyref,refstyle"
25784
25785 \end_inset
25786
25787 .
25788 \end_layout
25789
25790 \begin_layout Description
25791 Textual
25792 \begin_inset space ~
25793 \end_inset
25794
25795 reference: prints the caption or the name of the reference: 
25796 \begin_inset CommandInset ref
25797 LatexCommand nameref
25798 reference "fig:Two-distorted-images"
25799
25800 \end_inset
25801
25802
25803 \end_layout
25804
25805 \begin_layout Standard
25806
25807 \family sans
25808 <page>
25809 \family default
25810  will not print the page number if the label is on the previous, the same,
25811  or the next page.
25812  You will e.
25813 \begin_inset space \thinspace{}
25814 \end_inset
25815
25816 g.
25817 \begin_inset space \space{}
25818 \end_inset
25819
25820 see the text 
25821 \begin_inset Quotes eld
25822 \end_inset
25823
25824
25825 \family sans
25826 on this page
25827 \family default
25828
25829 \begin_inset Quotes erd
25830 \end_inset
25831
25832  instead.
25833  The style 
25834 \family sans
25835 <reference> on page <page>
25836 \family default
25837  will not print anything about the page if the label is on the same page.
25838 \end_layout
25839
25840 \begin_layout Standard
25841 The number and current page of the referenced document part in the output
25842  is automatically calculated by LaTeX.
25843  The varieties are adjusted in the field 
25844 \family sans
25845 Format
25846 \family default
25847  of the cross-reference window, that appear when you click on the cross-referenc
25848 e.
25849 \end_layout
25850
25851 \begin_layout Standard
25852 You can only use the style 
25853 \family sans
25854 <reference>
25855 \family default
25856  to reference numbered document parts, while the reference style 
25857 \family sans
25858 <page>
25859 \family default
25860  is always possible.
25861 \end_layout
25862
25863 \begin_layout Standard
25864 If you want to reference a section, put the label in the section heading;
25865  for floats put the label in the caption; for footnotes put the label in
25866  it.
25867  Referencing formulas is explained in section
25868 \begin_inset space ~
25869 \end_inset
25870
25871
25872 \begin_inset CommandInset ref
25873 LatexCommand ref
25874 reference "sec:Formula-Numbering-and"
25875
25876 \end_inset
25877
25878 .
25879 \end_layout
25880
25881 \begin_layout Standard
25882 Right-clicking on a cross-reference opens a context menu.
25883  The entry 
25884 \family sans
25885 Go
25886 \begin_inset space ~
25887 \end_inset
25888
25889 to
25890 \begin_inset space ~
25891 \end_inset
25892
25893 Label
25894 \family default
25895  sets the cursor before the referenced label.
25896  This entry will be renamed in the context menu of the label to 
25897 \family sans
25898 Go
25899 \begin_inset space ~
25900 \end_inset
25901
25902 Back
25903 \family default
25904  so that you can use it to set the cursor back to the cross-reference.
25905  You can also go back with the toolbar button 
25906 \begin_inset Info
25907 type  "icon"
25908 arg   "bookmark-goto 0"
25909 \end_inset
25910
25911 .
25912 \end_layout
25913
25914 \begin_layout Standard
25915 You can change labels at any time.
25916  References to the changed label will automatically be updated so that you
25917  do not need to think about this.
25918 \end_layout
25919
25920 \begin_layout Standard
25921 If a cross-reference refers to a non-existent label, you will see two question
25922  marks in the output instead of the reference.
25923 \end_layout
25924
25925 \begin_layout Standard
25926 References are described in detail in sec.
25927 \begin_inset space ~
25928 \end_inset
25929
25930
25931 \begin_inset Quotes eld
25932 \end_inset
25933
25934 Referencing Floats
25935 \begin_inset Quotes erd
25936 \end_inset
25937
25938  of the 
25939 \emph on
25940 Embedded
25941 \begin_inset space ~
25942 \end_inset
25943
25944 Objects
25945 \emph default
25946  manual.
25947 \end_layout
25948
25949 \begin_layout Section
25950 Table of Contents and other Listings
25951 \begin_inset Index idx
25952 status collapsed
25953
25954 \begin_layout Plain Layout
25955 Table of contents
25956 \end_layout
25957
25958 \end_inset
25959
25960
25961 \begin_inset Index idx
25962 status collapsed
25963
25964 \begin_layout Plain Layout
25965 Outline
25966 \end_layout
25967
25968 \end_inset
25969
25970
25971 \begin_inset CommandInset label
25972 LatexCommand label
25973 name "sec:toc"
25974
25975 \end_inset
25976
25977
25978 \end_layout
25979
25980 \begin_layout Subsection
25981 Table of Contents
25982 \begin_inset CommandInset label
25983 LatexCommand label
25984 name "sub:Table-of-Contents"
25985
25986 \end_inset
25987
25988
25989 \end_layout
25990
25991 \begin_layout Standard
25992 The Table of Contents (TOC) is inserted with the menu 
25993 \family sans
25994 Insert\SpecialChar \menuseparator
25995 List/TOC\SpecialChar \menuseparator
25996 Table
25997 \begin_inset space ~
25998 \end_inset
25999
26000 of
26001 \begin_inset space ~
26002 \end_inset
26003
26004 Contents
26005 \family default
26006 .
26007  It is displayed in LyX as a gray box.
26008  If you click on it, the 
26009 \family sans
26010 Outline
26011 \family default
26012  window appears, showing you the TOC entries as outline, which allows you
26013  to move and rearrange sections in your documents.
26014  So this operation is an alternative to the menu 
26015 \family sans
26016 Document\SpecialChar \menuseparator
26017 Outline
26018 \family default
26019  that is described in sec.
26020 \begin_inset space \thinspace{}
26021 \end_inset
26022
26023
26024 \begin_inset CommandInset ref
26025 LatexCommand ref
26026 reference "sub:The-Outliner"
26027
26028 \end_inset
26029
26030 .
26031 \end_layout
26032
26033 \begin_layout Standard
26034 The TOC in the document output lists every numbered section automatically.
26035  If you have declared a short title for a section heading, as described
26036  in section
26037 \begin_inset space ~
26038 \end_inset
26039
26040
26041 \begin_inset CommandInset ref
26042 LatexCommand ref
26043 reference "sec:Short-Titles"
26044
26045 \end_inset
26046
26047 , it will be used in the TOC instead of the section heading.
26048  Section
26049 \begin_inset space ~
26050 \end_inset
26051
26052
26053 \begin_inset CommandInset ref
26054 LatexCommand ref
26055 reference "sub:Numbering-depth"
26056
26057 \end_inset
26058
26059  describes how the level is adjusted that defines which section types are
26060  listed in the TOC.
26061  Unnumbered sections are not listed in the TOC.
26062 \end_layout
26063
26064 \begin_layout Subsection
26065 List of Figures, Tables, and Algorithms
26066 \begin_inset CommandInset label
26067 LatexCommand label
26068 name "sub:List-of-Figures"
26069
26070 \end_inset
26071
26072
26073 \end_layout
26074
26075 \begin_layout Standard
26076 Table, figure, and algorithm lists are very much like the table of contents.
26077  You can insert them via the 
26078 \family sans
26079 Insert\SpecialChar \menuseparator
26080 List
26081 \begin_inset space ~
26082 \end_inset
26083
26084 /
26085 \begin_inset space ~
26086 \end_inset
26087
26088 TOC
26089 \family default
26090  submenus.
26091  The list entries are the float captions and the float number.
26092 \end_layout
26093
26094 \begin_layout Section
26095 URLs and Hyperlinks
26096 \begin_inset Index idx
26097 status collapsed
26098
26099 \begin_layout Plain Layout
26100 URLs
26101 \end_layout
26102
26103 \end_inset
26104
26105
26106 \begin_inset Index idx
26107 status collapsed
26108
26109 \begin_layout Plain Layout
26110 Hyperlinks
26111 \end_layout
26112
26113 \end_inset
26114
26115
26116 \end_layout
26117
26118 \begin_layout Subsection
26119 URLs
26120 \begin_inset CommandInset label
26121 LatexCommand label
26122 name "sub:URLs"
26123
26124 \end_inset
26125
26126
26127 \end_layout
26128
26129 \begin_layout Standard
26130 Links to web pages or email addresses can be inserted via the menu 
26131 \family sans
26132 Insert\SpecialChar \menuseparator
26133 URL
26134 \family default
26135 .
26136 \end_layout
26137
26138 \begin_layout Standard
26139 Here is an example URL: LyX's homepage: 
26140 \begin_inset Flex URL
26141 status collapsed
26142
26143 \begin_layout Plain Layout
26144
26145 http://www.lyx.org
26146 \end_layout
26147
26148 \end_inset
26149
26150
26151 \end_layout
26152
26153 \begin_layout Standard
26154 You cannot change the style of the link text, the URL text will always be
26155  in the style 
26156 \family typewriter
26157 Typewriter
26158 \family default
26159 .
26160  To be able to format the URL text, use hyperlinks as explained in the next
26161  subsection.
26162 \end_layout
26163
26164 \begin_layout Standard
26165 \begin_inset Note Greyedout
26166 status open
26167
26168 \begin_layout Plain Layout
26169
26170 \series bold
26171 Note:
26172 \series default
26173  URLs must not end with a backslash, otherwise you get LaTeX errors.
26174 \end_layout
26175
26176 \end_inset
26177
26178
26179 \end_layout
26180
26181 \begin_layout Subsection
26182 Hyperlinks
26183 \begin_inset CommandInset label
26184 LatexCommand label
26185 name "sub:Hyperlinks"
26186
26187 \end_inset
26188
26189
26190 \end_layout
26191
26192 \begin_layout Standard
26193 Hyperlinks can be inserted with the menu 
26194 \family sans
26195 Insert\SpecialChar \menuseparator
26196 Hyperlink
26197 \family default
26198  or with the toolbar button 
26199 \begin_inset Info
26200 type  "icon"
26201 arg   "href-insert"
26202 \end_inset
26203
26204 .
26205  The appearing dialog has two fields: 
26206 \family sans
26207 Target
26208 \family default
26209  and 
26210 \family sans
26211 Name
26212 \family default
26213 .
26214  The name is the printed text for the hyperlink.
26215  The hyperlink type can be a weblink like this: 
26216 \begin_inset CommandInset href
26217 LatexCommand href
26218 name "LyX's homepage"
26219 target "http://www.lyx.org"
26220
26221 \end_inset
26222
26223 , an Email address like this: 
26224 \begin_inset CommandInset href
26225 LatexCommand href
26226 name "lyx-docs mailing list"
26227 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
26228 type "mailto:"
26229
26230 \end_inset
26231
26232 , or a link to a file.
26233 \end_layout
26234
26235 \begin_layout Standard
26236 You can start applications via a hyperlink when you insert a weblink by
26237  adding the prefix 
26238 \begin_inset Quotes eld
26239 \end_inset
26240
26241
26242 \family sans
26243 run:
26244 \family default
26245
26246 \begin_inset Quotes erd
26247 \end_inset
26248
26249  to the link target.
26250 \end_layout
26251
26252 \begin_layout Standard
26253 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
26254  and become clickable in the DVI and PDF-output.
26255  To set the format of the link text, highlight the hyperlink inset and use
26256  the text style dialog.
26257  This is for example a hyperlink with bold sans serif text: 
26258 \family sans
26259 \series bold
26260
26261 \begin_inset CommandInset href
26262 LatexCommand href
26263 name "LyX's homepage"
26264 target "http://www.lyx.org"
26265
26266 \end_inset
26267
26268
26269 \end_layout
26270
26271 \begin_layout Standard
26272 The link text color can be changed, when the option 
26273 \family sans
26274 Color links
26275 \family default
26276  is set in the PDF Properties dialog (menu 
26277 \family sans
26278 Document\SpecialChar \menuseparator
26279 Settings\SpecialChar \menuseparator
26280 PDF Properties
26281 \family default
26282 ).
26283  The link text is for example set in this document to blue by adding the
26284  option
26285 \begin_inset Newline newline
26286 \end_inset
26287
26288
26289 \series bold
26290 urlcolor=blue
26291 \series default
26292
26293 \begin_inset Newline newline
26294 \end_inset
26295
26296 to the field 
26297 \family sans
26298 Additional options
26299 \family default
26300  in the PDF Properties dialog.
26301 \end_layout
26302
26303 \begin_layout Section
26304 Appendices
26305 \begin_inset Index idx
26306 status collapsed
26307
26308 \begin_layout Plain Layout
26309 Appendix
26310 \end_layout
26311
26312 \end_inset
26313
26314
26315 \begin_inset CommandInset label
26316 LatexCommand label
26317 name "sec:Appendices"
26318
26319 \end_inset
26320
26321
26322 \end_layout
26323
26324 \begin_layout Standard
26325 Appendices are created with the menu 
26326 \family sans
26327 Document\SpecialChar \menuseparator
26328 Start
26329 \begin_inset space ~
26330 \end_inset
26331
26332 Appendix
26333 \begin_inset space ~
26334 \end_inset
26335
26336 Here
26337 \family default
26338 .
26339  This menu sets the document from the current cursor position to the end
26340  as the appendix region.
26341  The region is marked with a red borderline.
26342 \end_layout
26343
26344 \begin_layout Standard
26345 Every chapter (or section) within the appendix region is treated as an appendix,
26346  numbered with a capital Latin letter.
26347  The appendix subsections are numbered with this letter followed by a dot
26348  and the subsection number.
26349  All appendix sections can be referenced as if they were normal sections,
26350  here two examples:
26351 \end_layout
26352
26353 \begin_layout Standard
26354 Appendix
26355 \begin_inset space ~
26356 \end_inset
26357
26358
26359 \begin_inset CommandInset ref
26360 LatexCommand ref
26361 reference "chap:Credits"
26362
26363 \end_inset
26364
26365 ; Appendix
26366 \begin_inset space ~
26367 \end_inset
26368
26369
26370 \begin_inset CommandInset ref
26371 LatexCommand ref
26372 reference "sub:Export"
26373
26374 \end_inset
26375
26376
26377 \end_layout
26378
26379 \begin_layout Section
26380 Bibliography
26381 \begin_inset Index idx
26382 status collapsed
26383
26384 \begin_layout Plain Layout
26385 Bibliography
26386 \end_layout
26387
26388 \end_inset
26389
26390
26391 \begin_inset CommandInset label
26392 LatexCommand label
26393 name "sec:Bibliography"
26394
26395 \end_inset
26396
26397
26398 \end_layout
26399
26400 \begin_layout Standard
26401 There are two ways of generating the bibliography in a LyX-document.
26402  You can include a bibliography database,
26403 \begin_inset Foot
26404 status collapsed
26405
26406 \begin_layout Plain Layout
26407 Known under the name 
26408 \begin_inset Quotes eld
26409 \end_inset
26410
26411 BibTeX-database
26412 \begin_inset Quotes erd
26413 \end_inset
26414
26415 .
26416 \end_layout
26417
26418 \end_inset
26419
26420  which is explained in the next subsection, or you can insert the bibliography
26421  manually, using the paragraph environment 
26422 \family sans
26423 Bibliography
26424 \family default
26425 , which was described in section
26426 \begin_inset space ~
26427 \end_inset
26428
26429
26430 \begin_inset CommandInset ref
26431 LatexCommand ref
26432 reference "sub:Biblio_environment"
26433
26434 \end_inset
26435
26436 .
26437  If you want anything other than numerical citations that are used in this
26438  document, like author-year citations, then you must
26439 \emph on
26440  
26441 \emph default
26442 use a bibliography database.
26443 \end_layout
26444
26445 \begin_layout Subsection
26446 The Bibliography Environment
26447 \end_layout
26448
26449 \begin_layout Standard
26450 Within the 
26451 \family sans
26452 Bibliography
26453 \family default
26454  environment, every paragraph begins with a gray bibliography box labeled
26455  with a number.
26456  If you click on it, you will get a dialog in which you can set a 
26457 \family sans
26458 Key
26459 \family default
26460  and a 
26461 \family sans
26462 Label
26463 \family default
26464 .
26465  The key is the symbolic name by which you will refer to this bibliography
26466  entry.
26467  For example, our second entry in the bibliography is a book about LaTeX
26468  and we used 
26469 \begin_inset Quotes eld
26470 \end_inset
26471
26472 latexcompanion
26473 \begin_inset Quotes erd
26474 \end_inset
26475
26476 , a short form of its title, as the key.
26477 \end_layout
26478
26479 \begin_layout Standard
26480 You can refer to the key of a bibliography entry using the menu 
26481 \family sans
26482 Insert\SpecialChar \menuseparator
26483 Citation
26484 \family default
26485  or the toolbar button 
26486 \begin_inset Info
26487 type  "icon"
26488 arg   "dialog-show-new-inset citation"
26489 \end_inset
26490
26491 .
26492  A citation reference box is inserted and a citation window will appear
26493  in which you can select one or more keys in the available key list.
26494  The citation reference box will be labeled with the referenced key.
26495  When you click on the box, the citation window appears and you can change
26496  the reference.
26497 \end_layout
26498
26499 \begin_layout Standard
26500 Citation references appear in the output as the number of the bibliography
26501  entry with surrounding brackets.
26502  If you set a 
26503 \family sans
26504 Label
26505 \family default
26506  for the entry, the label will appear instead of the number.
26507  Here are two examples; the first without a label, the second with the label
26508  
26509 \begin_inset Quotes eld
26510 \end_inset
26511
26512 Credits
26513 \begin_inset Quotes erd
26514 \end_inset
26515
26516 :
26517 \end_layout
26518
26519 \begin_layout Standard
26520 Have a look at the 
26521 \family sans
26522 LaTeX Companion Second Edition
26523 \family default
26524
26525 \begin_inset CommandInset citation
26526 LatexCommand cite
26527 key "latexcompanion"
26528
26529 \end_inset
26530
26531
26532 \end_layout
26533
26534 \begin_layout Standard
26535 The LyX-Team members are listed in the Credits: 
26536 \begin_inset CommandInset citation
26537 LatexCommand cite
26538 key "lyxcredit"
26539
26540 \end_inset
26541
26542
26543 \end_layout
26544
26545 \begin_layout Subsection
26546 Bibliography databases (BibTeX)
26547 \begin_inset Index idx
26548 status collapsed
26549
26550 \begin_layout Plain Layout
26551 Bibliography ! Databases
26552 \end_layout
26553
26554 \end_inset
26555
26556
26557 \begin_inset Index idx
26558 status collapsed
26559
26560 \begin_layout Plain Layout
26561 Bibliography ! BibTeX
26562 \end_layout
26563
26564 \end_inset
26565
26566
26567 \begin_inset CommandInset label
26568 LatexCommand label
26569 name "sub:Bibliography-databases"
26570
26571 \end_inset
26572
26573
26574 \end_layout
26575
26576 \begin_layout Standard
26577 Bibliography databases are useful if you use the same bibliography in different
26578  documents.
26579 \begin_inset Foot
26580 status collapsed
26581
26582 \begin_layout Plain Layout
26583 They are also useful for keeping a database of articles and notes concerning
26584  them.
26585  Most of the database programs mentioned below allow you to store annotations
26586  and reviews along with bibliographical information.
26587 \end_layout
26588
26589 \end_inset
26590
26591  It also makes it very easy to have a uniform layout for all bibliography
26592  entries.
26593  You can collect the bibliography of all relevant books and articles of
26594  your working field in a database.
26595  This database can be used for different documents, and by default only
26596  the entries cited in a particular document will appear in the bibliography
26597  list for that document.
26598  This relieves you of the need to keep track of which articles and books
26599  you have cited.
26600 \end_layout
26601
26602 \begin_layout Standard
26603 The database is a text file with the file extension 
26604 \begin_inset Quotes eld
26605 \end_inset
26606
26607
26608 \family sans
26609 .bib
26610 \family default
26611
26612 \begin_inset Quotes erd
26613 \end_inset
26614
26615 , containing the bibliography in a special format.
26616  The format is explained in 
26617 \begin_inset CommandInset citation
26618 LatexCommand cite
26619 key "BibTeX-2"
26620
26621 \end_inset
26622
26623  and in LaTeX books (
26624 \begin_inset CommandInset citation
26625 LatexCommand cite
26626 key "Mittelbach,Kopka,Lamport"
26627
26628 \end_inset
26629
26630 ).
26631  The file can be created using any text editor, but normally one uses a
26632  special program to create and edit the entries in the database.
26633  A list of such programs is maintained on the LyX Wiki at 
26634 \begin_inset Flex URL
26635 status open
26636
26637 \begin_layout Plain Layout
26638
26639 http://wiki.lyx.org/BibTeX/Programs
26640 \end_layout
26641
26642 \end_inset
26643
26644 .
26645 \end_layout
26646
26647 \begin_layout Standard
26648 To use a database, use the menu 
26649 \family sans
26650 Insert\SpecialChar \menuseparator
26651 List
26652 \family default
26653 /
26654 \family sans
26655 TOC\SpecialChar \menuseparator
26656 BibT
26657 \begin_inset ERT
26658 status collapsed
26659
26660 \begin_layout Plain Layout
26661
26662 {}
26663 \end_layout
26664
26665 \end_inset
26666
26667 eX
26668 \begin_inset space ~
26669 \end_inset
26670
26671 Bibliography
26672 \family default
26673 .
26674  A gray box will be inserted and a window appears.
26675  In this window you can load one or more databases and a style file.
26676  The option 
26677 \family sans
26678 Add bibliography to TOC
26679 \family default
26680  adds a table of contents entry for the bibliography.
26681  In the 
26682 \family sans
26683 Content
26684 \family default
26685  drop box you can select whether to include all the entries in the database
26686  in the document or just the cited references.
26687 \end_layout
26688
26689 \begin_layout Standard
26690 The style file is a text file with the file extension 
26691 \begin_inset Quotes eld
26692 \end_inset
26693
26694
26695 \family sans
26696 .bst
26697 \family default
26698
26699 \begin_inset Quotes erd
26700 \end_inset
26701
26702  that controls how the bibliography entries will appear.
26703  Your LaTeX distribution should provide several of these, and many publishers
26704  provide their own style files, so that you don't have to take care of the
26705  layout.
26706  It is of course possible to write your own style file, but this is something
26707  for experts.
26708 \begin_inset Foot
26709 status collapsed
26710
26711 \begin_layout Plain Layout
26712 For information on how this is done, have a look at
26713 \begin_inset Newline newline
26714 \end_inset
26715
26716
26717 \begin_inset CommandInset href
26718 LatexCommand href
26719 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
26720
26721 \end_inset
26722
26723 .
26724 \end_layout
26725
26726 \end_inset
26727
26728
26729 \end_layout
26730
26731 \begin_layout Standard
26732 Inserting a citation reference works as described in the previous section.
26733 \end_layout
26734
26735 \begin_layout Standard
26736 To generate the bibliography from a database, LyX uses the program BibTeX.
26737  You can choose which of its variants should be used by LyX as the processor
26738  either in the document settings under 
26739 \family sans
26740 Bibliography
26741 \family default
26742  or in LyX's preferences under 
26743 \family sans
26744 Output\SpecialChar \menuseparator
26745 LaT
26746 \begin_inset ERT
26747 status collapsed
26748
26749 \begin_layout Plain Layout
26750
26751 {}
26752 \end_layout
26753
26754 \end_inset
26755
26756 eX
26757 \family default
26758 .
26759  The following variants are possible:
26760 \end_layout
26761
26762 \begin_layout Description
26763 biber provides full Unicode support, unlimited memory, does not work with
26764  other bibliography packages (like e.
26765 \begin_inset space \thinspace{}
26766 \end_inset
26767
26768 g.
26769 \begin_inset space ~
26770 \end_inset
26771
26772
26773 \series bold
26774 natbib
26775 \series default
26776 ), only with the package 
26777 \series bold
26778 biblatex
26779 \series default
26780 ; recommended for multilingual texts and for languages that don't use Latin
26781  letters
26782 \end_layout
26783
26784 \begin_layout Description
26785 bibtex the standard; does not allow special characters in bibliography entries
26786  that are not possible to encode in a 7-bit encoding, limited memory, works
26787  with all bibliography packages, except of 
26788 \series bold
26789 biblatex
26790 \end_layout
26791
26792 \begin_layout Description
26793 bibtex8 allows all characters that are possible to encode in a 8-bit encoding,
26794  larger memory than 
26795 \family sans
26796 bibtex
26797 \family default
26798 , works with all bibliography packages
26799 \end_layout
26800
26801 \begin_layout Standard
26802 BibTeX can be controlled with options that you can add below the specification
26803  of the variants.
26804  Before adding options, it is strongly recommended to read the manual of
26805  
26806 \family sans
26807 BibTeX
26808 \family default
26809  
26810 \begin_inset CommandInset citation
26811 LatexCommand cite
26812 key "BibTeX"
26813
26814 \end_inset
26815
26816 .
26817 \end_layout
26818
26819 \begin_layout Standard
26820 When you select the option 
26821 \family sans
26822 Sectioned bibliography
26823 \family default
26824  in the 
26825 \family sans
26826 Document\SpecialChar \menuseparator
26827 Settings
26828 \family default
26829  dialog, it is possible to have multiple and sectioned bibliographies.
26830  This and other options are explained in detail in section 
26831 \emph on
26832 Customizing Bibliographies
26833 \emph default
26834  
26835 \emph on
26836 with BibTeX
26837 \emph default
26838  of the 
26839 \emph on
26840 Additional Features
26841 \emph default
26842  manual.
26843 \end_layout
26844
26845 \begin_layout Standard
26846 We use two bibliographies in this document to show the difference between
26847  the two methods of creating them.
26848  As you can see, the bibliography that is created from a database lists
26849  only the database entries that are referenced in the document.
26850  We used the style file 
26851 \family sans
26852 alphadin.bst
26853 \family default
26854  to get the complicated German reference key scheme in the bibliography.
26855 \end_layout
26856
26857 \begin_layout Subsection
26858 Bibliography layout
26859 \begin_inset Index idx
26860 status collapsed
26861
26862 \begin_layout Plain Layout
26863 Bibliography ! Layout
26864 \end_layout
26865
26866 \end_inset
26867
26868
26869 \end_layout
26870
26871 \begin_layout Standard
26872 In the citation reference dialog you can set a special citation format.
26873  For this feature you need to enable the option 
26874 \family sans
26875 Natbib
26876 \family default
26877  in the 
26878 \family sans
26879 Document\SpecialChar \menuseparator
26880 Settings
26881 \family default
26882
26883 \begin_inset Index idx
26884 status collapsed
26885
26886 \begin_layout Plain Layout
26887 Document ! Settings
26888 \end_layout
26889
26890 \end_inset
26891
26892  dialog under 
26893 \family sans
26894 Bibliography
26895 \family default
26896 .
26897  Setting a citation style for a reference will overwrite the default.
26898  For the global citation format use the BibTeX style files as explained
26899  in the previous section.
26900 \end_layout
26901
26902 \begin_layout Standard
26903 You can also set text to appear before or after a citation reference, in
26904  the citation reference window.
26905  Here is an example where the text 
26906 \begin_inset Quotes eld
26907 \end_inset
26908
26909 Chapter
26910 \begin_inset space ~
26911 \end_inset
26912
26913 3
26914 \begin_inset Quotes erd
26915 \end_inset
26916
26917  appears after the reference:
26918 \end_layout
26919
26920 \begin_layout Standard
26921 Have a look at 
26922 \begin_inset CommandInset citation
26923 LatexCommand cite
26924 after "Chapter 3"
26925 key "latexcompanion"
26926
26927 \end_inset
26928
26929 .
26930 \end_layout
26931
26932 \begin_layout Section
26933 Index
26934 \begin_inset Index idx
26935 status collapsed
26936
26937 \begin_layout Plain Layout
26938 Index generation
26939 \end_layout
26940
26941 \end_inset
26942
26943
26944 \begin_inset CommandInset label
26945 LatexCommand label
26946 name "sec:Index"
26947
26948 \end_inset
26949
26950
26951 \end_layout
26952
26953 \begin_layout Standard
26954 An index entry is created if you use the menu 
26955 \family sans
26956 Insert\SpecialChar \menuseparator
26957 Index
26958 \begin_inset space ~
26959 \end_inset
26960
26961 Entry
26962 \family default
26963  or the toolbar button 
26964 \begin_inset Info
26965 type  "icon"
26966 arg   "index-insert"
26967 \end_inset
26968
26969 .
26970  A box is inserted containing the text that appears in the index.
26971  The word where the cursor is in or the currently highlighted text is proposed
26972  by LyX as the index entry.
26973 \end_layout
26974
26975 \begin_layout Standard
26976 The index list is inserted in the document with the menu 
26977 \family sans
26978 Insert\SpecialChar \menuseparator
26979 List
26980 \begin_inset space ~
26981 \end_inset
26982
26983 /
26984 \begin_inset space ~
26985 \end_inset
26986
26987 TOC\SpecialChar \menuseparator
26988 Index
26989 \begin_inset space ~
26990 \end_inset
26991
26992 List
26993 \family default
26994 .
26995  A light blue box labeled 
26996 \begin_inset Quotes eld
26997 \end_inset
26998
26999
27000 \family sans
27001 Index
27002 \family default
27003
27004 \begin_inset Quotes erd
27005 \end_inset
27006
27007  will show the place where the index is printed in the output.
27008  The index list box is not clickable like other LyX-boxes.
27009 \end_layout
27010
27011 \begin_layout Standard
27012 We give a short overview of the index commands in the next subsections.
27013  For a detailed description of LaTeX's index mechanism, have a look at one
27014  of the LaTeX books 
27015 \begin_inset CommandInset citation
27016 LatexCommand cite
27017 key "latexcompanion,latexguide,latexbook"
27018
27019 \end_inset
27020
27021 .
27022 \end_layout
27023
27024 \begin_layout Subsection
27025 Grouping Index Entries
27026 \begin_inset Index idx
27027 status collapsed
27028
27029 \begin_layout Plain Layout
27030 Index ! Grouping
27031 \end_layout
27032
27033 \end_inset
27034
27035
27036 \end_layout
27037
27038 \begin_layout Standard
27039 Index entries are often grouped to offer the reader a fast search in the
27040  index.
27041  We want to group for example the index entries for itemized and enumerated
27042  lists under the entry 
27043 \begin_inset Quotes eld
27044 \end_inset
27045
27046 Lists
27047 \begin_inset Quotes erd
27048 \end_inset
27049
27050 .
27051  First we create the entry 
27052 \begin_inset Quotes eld
27053 \end_inset
27054
27055 Lists
27056 \begin_inset Quotes erd
27057 \end_inset
27058
27059  in section
27060 \begin_inset space ~
27061 \end_inset
27062
27063
27064 \begin_inset CommandInset ref
27065 LatexCommand ref
27066 reference "sub:Lists"
27067
27068 \end_inset
27069
27070 .
27071  In the text field for the itemized list index entry in section
27072 \begin_inset space ~
27073 \end_inset
27074
27075
27076 \begin_inset CommandInset ref
27077 LatexCommand ref
27078 reference "sec:Itemize"
27079
27080 \end_inset
27081
27082 , we insert the command
27083 \end_layout
27084
27085 \begin_layout Standard
27086
27087 \series bold
27088 Lists ! Itemize
27089 \end_layout
27090
27091 \begin_layout Standard
27092 and the command
27093 \end_layout
27094
27095 \begin_layout Standard
27096
27097 \series bold
27098 Lists ! Enumerate
27099 \end_layout
27100
27101 \begin_layout Standard
27102 for the enumerated list in section
27103 \begin_inset space ~
27104 \end_inset
27105
27106
27107 \begin_inset CommandInset ref
27108 LatexCommand ref
27109 reference "sec:Enumerate"
27110
27111 \end_inset
27112
27113 .
27114 \end_layout
27115
27116 \begin_layout Standard
27117 The exclamation mark 
27118 \begin_inset Quotes eld
27119 \end_inset
27120
27121 !
27122 \begin_inset Quotes erd
27123 \end_inset
27124
27125  marks the grouping levels.
27126  You can have three levels; every index level is indented a bit more.
27127  An index entry for the higher levels is not required.
27128  If we don't have an index entry for 
27129 \begin_inset Quotes eld
27130 \end_inset
27131
27132 Lists
27133 \begin_inset Quotes erd
27134 \end_inset
27135
27136 , it will be printed anyway, but without a page number.
27137 \end_layout
27138
27139 \begin_layout Subsection
27140 Page Ranges
27141 \begin_inset Index idx
27142 status collapsed
27143
27144 \begin_layout Plain Layout
27145 Index ! Page ranges
27146 \end_layout
27147
27148 \end_inset
27149
27150
27151 \end_layout
27152
27153 \begin_layout Standard
27154 Normally an index entry will appear with the page number of the indexed
27155  section.
27156  But sometimes you want to index more pages under the same entry.
27157  E.
27158 \begin_inset space \thinspace{}
27159 \end_inset
27160
27161 g.
27162 \begin_inset space \space{}
27163 \end_inset
27164
27165 if we want to index the paragraph environments, we create an index entry
27166  in section
27167 \begin_inset space ~
27168 \end_inset
27169
27170
27171 \begin_inset CommandInset ref
27172 LatexCommand ref
27173 reference "sec:Paragraph-Environments"
27174
27175 \end_inset
27176
27177  with the command
27178 \end_layout
27179
27180 \begin_layout Standard
27181
27182 \series bold
27183 Paragraph environments|(
27184 \end_layout
27185
27186 \begin_layout Standard
27187 and another entry at the end of section
27188 \begin_inset space ~
27189 \end_inset
27190
27191
27192 \begin_inset CommandInset ref
27193 LatexCommand ref
27194 reference "sub:LyX-Code"
27195
27196 \end_inset
27197
27198  with the command
27199 \end_layout
27200
27201 \begin_layout Standard
27202
27203 \series bold
27204 Paragraph environments|)
27205 \end_layout
27206
27207 \begin_layout Standard
27208 The commands 
27209 \begin_inset Quotes eld
27210 \end_inset
27211
27212
27213 \series bold
27214 |(
27215 \series default
27216
27217 \begin_inset Quotes erd
27218 \end_inset
27219
27220  and 
27221 \begin_inset Quotes eld
27222 \end_inset
27223
27224
27225 \series bold
27226 |)
27227 \series default
27228
27229 \begin_inset Quotes erd
27230 \end_inset
27231
27232  respectively start and end the index range.
27233  You can also add the same index entry at different places in the document.
27234  They appear in the output under one entry with a comma separated list of
27235  the pages of the indexed document parts.
27236  An example is the index entry 
27237 \begin_inset Quotes eld
27238 \end_inset
27239
27240 Document ! Settings
27241 \begin_inset Quotes erd
27242 \end_inset
27243
27244 .
27245 \end_layout
27246
27247 \begin_layout Subsection
27248 Cross referencing
27249 \begin_inset Index idx
27250 status collapsed
27251
27252 \begin_layout Plain Layout
27253 Index ! Cross referencing
27254 \end_layout
27255
27256 \end_inset
27257
27258
27259 \end_layout
27260
27261 \begin_layout Standard
27262 It is also possible to refer to another index entry.
27263  We referred for example in the index entry 
27264 \begin_inset Quotes eld
27265 \end_inset
27266
27267 GIF
27268 \begin_inset Quotes erd
27269 \end_inset
27270
27271  (in section
27272 \begin_inset space ~
27273 \end_inset
27274
27275
27276 \begin_inset CommandInset ref
27277 LatexCommand ref
27278 reference "sub:Image-Formats"
27279
27280 \end_inset
27281
27282 ) to the index entry 
27283 \begin_inset Quotes eld
27284 \end_inset
27285
27286 Image formats
27287 \begin_inset Quotes erd
27288 \end_inset
27289
27290  in the same section using the entry
27291 \end_layout
27292
27293 \begin_layout Standard
27294
27295 \series bold
27296 GIF|see{Image formats}
27297 \end_layout
27298
27299 \begin_layout Standard
27300 where the braces have to be inserted as TeX Code.
27301  The text within the braces is the referenced entry.
27302  The reference will appear in the output without a page number.
27303 \end_layout
27304
27305 \begin_layout Subsection
27306 Index Entry Order
27307 \begin_inset Index idx
27308 status collapsed
27309
27310 \begin_layout Plain Layout
27311 Index ! Entry order
27312 \end_layout
27313
27314 \end_inset
27315
27316
27317 \end_layout
27318
27319 \begin_layout Standard
27320 If you use accented characters in the index entry the entries might not
27321  follow the rules for the index order.
27322  The index entries are sorted alphabetically but LaTeX
27323 \begin_inset Foot
27324 status collapsed
27325
27326 \begin_layout Plain Layout
27327 The index generating is done in the background by an extra program, see
27328  section
27329 \begin_inset space ~
27330 \end_inset
27331
27332
27333 \begin_inset CommandInset ref
27334 LatexCommand ref
27335 reference "sub:Index-Program"
27336
27337 \end_inset
27338
27339 .
27340 \end_layout
27341
27342 \end_inset
27343
27344  does not know how to sort accents in different languages.
27345  We have created as an example the three dummy index entries 
27346 \begin_inset Quotes eld
27347 \end_inset
27348
27349 maison
27350 \begin_inset Quotes erd
27351 \end_inset
27352
27353
27354 \begin_inset Quotes eld
27355 \end_inset
27356
27357 maïs
27358 \begin_inset Quotes erd
27359 \end_inset
27360
27361 , and 
27362 \begin_inset Quotes eld
27363 \end_inset
27364
27365 maître
27366 \begin_inset Quotes erd
27367 \end_inset
27368
27369 .
27370 \begin_inset Index idx
27371 status collapsed
27372
27373 \begin_layout Plain Layout
27374 Dummy entries ! maïs
27375 \end_layout
27376
27377 \end_inset
27378
27379
27380 \begin_inset Index idx
27381 status collapsed
27382
27383 \begin_layout Plain Layout
27384 Dummy entries ! maître
27385 \end_layout
27386
27387 \end_inset
27388
27389
27390 \begin_inset Index idx
27391 status collapsed
27392
27393 \begin_layout Plain Layout
27394 Dummy entries ! maïs@maison
27395 \end_layout
27396
27397 \end_inset
27398
27399  They will be sorted in the order maïs, maître, maison but we want the order
27400  maïs, maison, maître.
27401  To achieve this, we use the command
27402 \end_layout
27403
27404 \begin_layout Standard
27405
27406 \series bold
27407 previous entry@current entry
27408 \end_layout
27409
27410 \begin_layout Standard
27411 In our case we want to have 
27412 \begin_inset Quotes eld
27413 \end_inset
27414
27415 maison
27416 \begin_inset Quotes erd
27417 \end_inset
27418
27419  after 
27420 \begin_inset Quotes eld
27421 \end_inset
27422
27423 maïs
27424 \begin_inset Quotes erd
27425 \end_inset
27426
27427  and write therefore for the index entry of maison:
27428 \end_layout
27429
27430 \begin_layout Standard
27431
27432 \series bold
27433 maïs@maison
27434 \end_layout
27435
27436 \begin_layout Standard
27437 The previous entry need not be a real existing entry.
27438  You can also use another word to tell LaTeX the entry order.
27439  See the next subsection for an example.
27440 \end_layout
27441
27442 \begin_layout Standard
27443 \begin_inset VSpace bigskip
27444 \end_inset
27445
27446
27447 \end_layout
27448
27449 \begin_layout Standard
27450 In some cases the index entry order is not correct when you are using the
27451  program 
27452 \family sans
27453 makeindex 
27454 \family default
27455 to generate the index (see sec.
27456 \begin_inset space \thinspace{}
27457 \end_inset
27458
27459
27460 \begin_inset CommandInset ref
27461 LatexCommand ref
27462 reference "sub:Index-Program"
27463
27464 \end_inset
27465
27466 ).
27467  
27468 \family sans
27469 makeindex
27470 \family default
27471  would for example print the index entry for the LaTeX-package aeguill in
27472  sec.
27473 \begin_inset space \thinspace{}
27474 \end_inset
27475
27476
27477 \begin_inset CommandInset ref
27478 LatexCommand ref
27479 reference "sub:Document-Font"
27480
27481 \end_inset
27482
27483  after the index entries of the other LaTeX-packages although all these
27484  index commands start with 
27485 \begin_inset Quotes eld
27486 \end_inset
27487
27488
27489 \series bold
27490 LaTeX-packages !
27491 \series default
27492  
27493 \begin_inset Quotes erd
27494 \end_inset
27495
27496 .
27497  The reason is that the index entry for aeguill is in a footnote.
27498  To fix this 
27499 \family sans
27500 makeindex
27501 \family default
27502  bug, add these commands to the preamble of your document:
27503 \end_layout
27504
27505 \begin_layout Standard
27506
27507 \series bold
27508
27509 \backslash
27510 let
27511 \backslash
27512 OrgIndex
27513 \backslash
27514 index
27515 \end_layout
27516
27517 \begin_layout Standard
27518
27519 \series bold
27520
27521 \backslash
27522 renewcommand*{
27523 \backslash
27524 index}[1]{
27525 \backslash
27526 OrgIndex{#1}}
27527 \end_layout
27528
27529 \begin_layout Subsection
27530 Index Entry Layout
27531 \begin_inset Index idx
27532 status collapsed
27533
27534 \begin_layout Plain Layout
27535 Index ! Entry layout
27536 \end_layout
27537
27538 \end_inset
27539
27540
27541 \end_layout
27542
27543 \begin_layout Standard
27544 You can change the appearance of index entries via the text style dialog.
27545 \begin_inset Index idx
27546 status open
27547
27548 \begin_layout Plain Layout
27549 Dummy entries ! 
27550 \shape italic
27551 This is an italic dummy entry
27552 \end_layout
27553
27554 \end_inset
27555
27556  You can also format the page number using the character 
27557 \begin_inset Quotes eld
27558 \end_inset
27559
27560 |
27561 \begin_inset Quotes erd
27562 \end_inset
27563
27564  followed by a LaTeX-command without a backslash.
27565  We can write for example
27566 \end_layout
27567
27568 \begin_layout Standard
27569
27570 \series bold
27571 italic page number:|textit
27572 \end_layout
27573
27574 \begin_layout Standard
27575 to get the page number in italic.
27576 \begin_inset Index idx
27577 status open
27578
27579 \begin_layout Plain Layout
27580 Dummy entries ! italic page number:|textit
27581 \end_layout
27582
27583 \end_inset
27584
27585  Normally all LaTeX-commands begin with a backslash, but in this special
27586  case 
27587 \begin_inset Quotes eld
27588 \end_inset
27589
27590
27591 \series bold
27592 |command
27593 \series default
27594
27595 \begin_inset Quotes erd
27596 \end_inset
27597
27598  means 
27599 \series bold
27600
27601 \backslash
27602 command{page
27603 \begin_inset space ~
27604 \end_inset
27605
27606 number}
27607 \series default
27608 .
27609  Have a look at section
27610 \begin_inset space ~
27611 \end_inset
27612
27613
27614 \begin_inset CommandInset ref
27615 LatexCommand ref
27616 reference "sub:LaTeX-Syntax"
27617
27618 \end_inset
27619
27620  to learn more about the LaTeX-syntax.
27621 \end_layout
27622
27623 \begin_layout Standard
27624 \begin_inset Note Greyedout
27625 status open
27626
27627 \begin_layout Plain Layout
27628
27629 \series bold
27630 Note:
27631 \series default
27632  Formatting single index entries only works when you use the program 
27633 \family sans
27634 makeindex 
27635 \family default
27636 to generate the index, see sec.
27637 \begin_inset space \thinspace{}
27638 \end_inset
27639
27640
27641 \begin_inset CommandInset ref
27642 LatexCommand ref
27643 reference "sub:Index-Program"
27644
27645 \end_inset
27646
27647 .
27648  If you use 
27649 \family sans
27650 xindy
27651 \family default
27652 , this will not work for anything other than bold or italic text.
27653  This is because 
27654 \family sans
27655 xindy
27656 \family default
27657  requires you to define semantic elements before they can be used, see 
27658 \begin_inset CommandInset citation
27659 LatexCommand cite
27660 after "p. 678 ff."
27661 key "latexcompanion"
27662
27663 \end_inset
27664
27665  for details.
27666 \end_layout
27667
27668 \end_inset
27669
27670
27671 \end_layout
27672
27673 \begin_layout Standard
27674 In general, we encourage you to not format page numbers directly as shown
27675  above.
27676  Instead, you should define a macro in the preamble and use that.
27677  Maybe you want all page references italic that refer to a definition of
27678  the indexed term, so that users can easily find definitions.
27679  If so, put the following in the preamble
27680 \end_layout
27681
27682 \begin_layout Standard
27683
27684 \series bold
27685
27686 \backslash
27687 newcommand{
27688 \backslash
27689 IndexDef}[1]{
27690 \backslash
27691 textit{#1}}
27692 \end_layout
27693
27694 \begin_layout Standard
27695 and write
27696 \end_layout
27697
27698 \begin_layout Standard
27699
27700 \series bold
27701 my entry|IndexDef
27702 \end_layout
27703
27704 \begin_layout Standard
27705 in the index entry.
27706 \begin_inset Index idx
27707 status open
27708
27709 \begin_layout Plain Layout
27710 Dummy entries ! my entry|IndexDef
27711 \end_layout
27712
27713 \end_inset
27714
27715  The advantage is that, if you change your mind later or if your publisher
27716  insists that definitions must not be italic but bold, you just need to
27717  change the macro in the preamble, not every single index entry.
27718 \end_layout
27719
27720 \begin_layout Standard
27721 You can also change the layout for the whole index.
27722  E.
27723 \begin_inset space \thinspace{}
27724 \end_inset
27725
27726 g.
27727 \begin_inset space \space{}
27728 \end_inset
27729
27730 we marked the index list box of this document as bold to get a bold font
27731  for all index entries.
27732  For more advanced tasks you have to set up a so-called 
27733 \emph on
27734 Index Style File
27735 \emph default
27736 , see the 
27737 \family sans
27738 makeindex
27739 \family default
27740  or 
27741 \family sans
27742 xindy
27743 \family default
27744  documentation for details, 
27745 \begin_inset CommandInset citation
27746 LatexCommand cite
27747 key "makeindex,xindy"
27748
27749 \end_inset
27750
27751 .
27752 \end_layout
27753
27754 \begin_layout Subsection
27755 Index Program
27756 \begin_inset Index idx
27757 status collapsed
27758
27759 \begin_layout Plain Layout
27760 Index ! Program
27761 \end_layout
27762
27763 \end_inset
27764
27765
27766 \begin_inset CommandInset label
27767 LatexCommand label
27768 name "sub:Index-Program"
27769
27770 \end_inset
27771
27772
27773 \end_layout
27774
27775 \begin_layout Standard
27776 If the index entry program 
27777 \family sans
27778 xindy
27779 \family default
27780  is installed, LyX uses it for index generation; otherwise the program 
27781 \family sans
27782 makeindex
27783 \family default
27784 , that is part of every LaTeX distribution, is used.
27785 \begin_inset Foot
27786 status collapsed
27787
27788 \begin_layout Plain Layout
27789
27790 \family sans
27791 Makeindex
27792 \family default
27793  is very old, no longer under development and has many pitfalls, notably
27794  that it was developed with only the English language in mind.
27795  So it fails to sort anything other than a monolingual English text correctly.
27796  We have shown above how to fix this sorting.
27797  However, if you are writing in another than the English language, consider
27798  to use 
27799 \family sans
27800 xindy
27801 \family default
27802 .
27803 \end_layout
27804
27805 \end_inset
27806
27807  Both programs can be controlled by options that can be set in LyX's preferences
27808  dialog, see section
27809 \begin_inset space ~
27810 \end_inset
27811
27812
27813 \begin_inset CommandInset ref
27814 LatexCommand ref
27815 reference "sub:LaTeX-settings"
27816
27817 \end_inset
27818
27819 .
27820  The available options are listed and explained in 
27821 \begin_inset CommandInset citation
27822 LatexCommand cite
27823 key "makeindex,xindy"
27824
27825 \end_inset
27826
27827 .
27828  In this dialog, you can also specify an alternative program to generate
27829  the index.
27830 \end_layout
27831
27832 \begin_layout Standard
27833 If you need specific options or an alternative index program only for a
27834  given document, you can define the program and\SpecialChar \slash{}
27835 or the options in 
27836 \family sans
27837 Document\SpecialChar \menuseparator
27838 Settings\SpecialChar \menuseparator
27839 Indexes
27840 \family default
27841 .
27842  This is especially useful if you need to pass language-specific options
27843  to the index program or if you need a specific layout style.
27844 \end_layout
27845
27846 \begin_layout Subsection
27847 Multiple Indexes
27848 \end_layout
27849
27850 \begin_layout Standard
27851 In many fields it is common to have more than one index.
27852  For instance, you might need to set up a separate 
27853 \begin_inset Quotes eld
27854 \end_inset
27855
27856 Index of Names
27857 \begin_inset Quotes erd
27858 \end_inset
27859
27860  next to the standard index.
27861  LaTeX does not provide this possibility out of the box, but there are packages
27862  that add this feature.
27863  LyX uses the 
27864 \series bold
27865 splitidx
27866 \series default
27867
27868 \begin_inset Index idx
27869 status collapsed
27870
27871 \begin_layout Plain Layout
27872 LaTeX-packages ! splitidx
27873 \end_layout
27874
27875 \end_inset
27876
27877  package to generate multiple indexes.
27878  The package is included in all recent LaTeX distributions.
27879 \begin_inset Foot
27880 status collapsed
27881
27882 \begin_layout Plain Layout
27883 If yours does not ship it, consult the TeX-catalogue, 
27884 \begin_inset CommandInset citation
27885 LatexCommand cite
27886 key "TeXCatalogue"
27887
27888 \end_inset
27889
27890 .
27891  Note that the package does not only consist of a LaTeX style, but it also
27892  includes specific preprocessor programs that need to be installed as well.
27893  Please consult the package's manual for details.
27894 \end_layout
27895
27896 \end_inset
27897
27898
27899 \end_layout
27900
27901 \begin_layout Standard
27902 To set up LyX for the use of multiple indexes, go to 
27903 \family sans
27904 Document\SpecialChar \menuseparator
27905 Settings\SpecialChar \menuseparator
27906 Indexes
27907 \family default
27908  and select the option 
27909 \family sans
27910 Use multiple Indexes
27911 \family default
27912 .
27913  Note that the list 
27914 \family sans
27915 Available Indexes
27916 \family default
27917  already contains the standard index 
27918 \begin_inset Quotes eld
27919 \end_inset
27920
27921 Index
27922 \begin_inset Quotes erd
27923 \end_inset
27924
27925 .
27926  To add further indexes, add the name of the index (in the form that should
27927  also appear as a heading) to the 
27928 \family sans
27929 New
27930 \family default
27931  input field and press the 
27932 \family sans
27933 Add
27934 \family default
27935  button.
27936  The new index now also appears in the list.
27937  If you like, you can attribute an alternative LyX label color to the new
27938  index.
27939 \end_layout
27940
27941 \begin_layout Standard
27942 Once the document changes have been applied, you can find the new index
27943  list in 
27944 \family sans
27945 Insert\SpecialChar \menuseparator
27946 List
27947 \begin_inset space ~
27948 \end_inset
27949
27950 /
27951 \begin_inset space ~
27952 \end_inset
27953
27954 TOC
27955 \family default
27956  and the 
27957 \family sans
27958 Insert
27959 \family default
27960  menu has a separate entry for each of the defined indexes.
27961  The workflow is basically the same as for the default index, but there
27962  are additional features:
27963 \end_layout
27964
27965 \begin_layout Itemize
27966 If you want to change the attribution of a specific index entry, right-clicking
27967  on the entries' label will open a dialog where you can do that.
27968 \end_layout
27969
27970 \begin_layout Itemize
27971 By right-clicking on an index, you can change its type.
27972  Furthermore, you can specify an index to be a 
27973 \begin_inset Quotes eld
27974 \end_inset
27975
27976 Subindex
27977 \begin_inset Quotes erd
27978 \end_inset
27979
27980 .
27981  If you do that, the heading of that list will be decreased by one level.
27982  E.
27983 \begin_inset space \thinspace{}
27984 \end_inset
27985
27986 g., if you use a book class, where the standard index heading is defined
27987  as a chapter, subindexes will be defined as sections and can thus be nested
27988  to the non-subindexes.
27989 \end_layout
27990
27991 \begin_layout Section
27992 Nomenclature / Glossary 
27993 \begin_inset Index idx
27994 status collapsed
27995
27996 \begin_layout Plain Layout
27997 Nomenclature
27998 \end_layout
27999
28000 \end_inset
28001
28002
28003 \begin_inset Index idx
28004 status collapsed
28005
28006 \begin_layout Plain Layout
28007 Glossary|see
28008 \begin_inset ERT
28009 status collapsed
28010
28011 \begin_layout Plain Layout
28012
28013 {
28014 \end_layout
28015
28016 \end_inset
28017
28018 Nomenclature
28019 \begin_inset ERT
28020 status collapsed
28021
28022 \begin_layout Plain Layout
28023
28024 }
28025 \end_layout
28026
28027 \end_inset
28028
28029
28030 \end_layout
28031
28032 \end_inset
28033
28034
28035 \begin_inset CommandInset label
28036 LatexCommand label
28037 name "sec:Nomenclature"
28038
28039 \end_inset
28040
28041
28042 \end_layout
28043
28044 \begin_layout Standard
28045 Sometimes you need to compile a list of symbols that are mentioned in your
28046  document with a brief explanation of them – a so called nomenclature or
28047  glossary.
28048 \end_layout
28049
28050 \begin_layout Standard
28051 To be able to create nomenclatures, you need the LaTeX package 
28052 \series bold
28053 nomencl
28054 \series default
28055
28056 \begin_inset Index idx
28057 status collapsed
28058
28059 \begin_layout Plain Layout
28060 LaTeX-packages ! nomencl
28061 \end_layout
28062
28063 \end_inset
28064
28065  installed.
28066  You find it in the TeX-catalogue, 
28067 \begin_inset CommandInset citation
28068 LatexCommand cite
28069 key "TeXCatalogue"
28070
28071 \end_inset
28072
28073  or in the package manager of your LaTeX-system.
28074 \end_layout
28075
28076 \begin_layout Standard
28077 A nomenclature entry is created if you place the cursor after a symbol entry
28078  and then use the menu 
28079 \family sans
28080 Insert\SpecialChar \menuseparator
28081
28082 \family default
28083 N
28084 \family sans
28085 omenclature
28086 \begin_inset space ~
28087 \end_inset
28088
28089 Entry
28090 \family default
28091  or the toolbar button 
28092 \begin_inset Info
28093 type  "icon"
28094 arg   "nomencl-insert"
28095 \end_inset
28096
28097 .
28098  A gray box labeled 
28099 \begin_inset Quotes eld
28100 \end_inset
28101
28102
28103 \family sans
28104 Nom
28105 \family default
28106
28107 \begin_inset Quotes erd
28108 \end_inset
28109
28110  is inserted and a window pops up asking for the nomenclature entry.
28111 \end_layout
28112
28113 \begin_layout Standard
28114 A nomenclature entry consists of two main entries.
28115  The first is the symbol that you want to refer to.
28116  The second is the description of the symbol.
28117 \end_layout
28118
28119 \begin_layout Standard
28120 \begin_inset Note Greyedout
28121 status collapsed
28122
28123 \begin_layout Plain Layout
28124
28125 \series bold
28126 Note:
28127 \series default
28128  You have to enter valid LaTeX-code for all fields of the nomenclature dialog.
28129 \end_layout
28130
28131 \end_inset
28132
28133
28134 \end_layout
28135
28136 \begin_layout Subsection
28137 Nomenclature Definition and Layout
28138 \begin_inset Index idx
28139 status collapsed
28140
28141 \begin_layout Plain Layout
28142 Nomenclature ! Layout
28143 \end_layout
28144
28145 \end_inset
28146
28147
28148 \end_layout
28149
28150 \begin_layout Standard
28151 If you have symbols in formulas, you have to define them in the 
28152 \family sans
28153 Symbol
28154 \family default
28155  field as LaTeX-formulas.
28156  For example to get 
28157 \begin_inset Quotes eld
28158 \end_inset
28159
28160
28161 \begin_inset Formula $\sigma$
28162 \end_inset
28163
28164
28165 \begin_inset Quotes erd
28166 \end_inset
28167
28168 , insert this:
28169 \begin_inset Newline newline
28170 \end_inset
28171
28172
28173 \series bold
28174 $
28175 \backslash
28176 sigma$
28177 \begin_inset Newline newline
28178 \end_inset
28179
28180
28181 \series default
28182 The 
28183 \begin_inset Quotes eld
28184 \end_inset
28185
28186 $
28187 \begin_inset Quotes erd
28188 \end_inset
28189
28190  character starts/ends the formula.
28191  The LaTeX-command for the Greek letter is the name of the letter beginning
28192  with a backslash 
28193 \begin_inset Quotes eld
28194 \end_inset
28195
28196
28197 \backslash
28198
28199 \begin_inset Quotes erd
28200 \end_inset
28201
28202 .
28203  For capital Greek letters, start the command also with a capital letter,
28204  like 
28205 \series bold
28206
28207 \backslash
28208 Sigma
28209 \series default
28210 .
28211 \end_layout
28212
28213 \begin_layout Standard
28214 (A short introduction to the LaTeX-syntax is given in section
28215 \begin_inset space ~
28216 \end_inset
28217
28218
28219 \begin_inset CommandInset ref
28220 LatexCommand ref
28221 reference "sub:LaTeX-Syntax"
28222
28223 \end_inset
28224
28225 .)
28226 \end_layout
28227
28228 \begin_layout Standard
28229 You cannot use the 
28230 \family sans
28231 Text
28232 \begin_inset space ~
28233 \end_inset
28234
28235 Style
28236 \family default
28237  dialog to format the description text; you have to use LaTeX-commands.
28238  For example the description of the nomenclature entry for the 
28239 \begin_inset Quotes eld
28240 \end_inset
28241
28242
28243 \begin_inset Formula $\sigma$
28244 \end_inset
28245
28246
28247 \begin_inset Quotes erd
28248 \end_inset
28249
28250  in this document is:
28251 \begin_inset Newline newline
28252 \end_inset
28253
28254
28255 \series bold
28256 dummy entry for the character 
28257 \backslash
28258 textsf{sigma}
28259 \series default
28260
28261 \begin_inset Newline newline
28262 \end_inset
28263
28264 The command 
28265 \series bold
28266
28267 \backslash
28268 textsf
28269 \series default
28270  sets the fonts to 
28271 \family sans
28272 sans
28273 \begin_inset space ~
28274 \end_inset
28275
28276 serif
28277 \family default
28278 .
28279  To get 
28280 \series bold
28281 bold
28282 \series default
28283  font use the command 
28284 \series bold
28285
28286 \backslash
28287 textbf
28288 \series default
28289 , for 
28290 \family typewriter
28291 typewriter
28292 \family default
28293  use 
28294 \series bold
28295
28296 \backslash
28297 texttt
28298 \series default
28299 , for 
28300 \emph on
28301 emphasized
28302 \emph default
28303  use 
28304 \series bold
28305
28306 \backslash
28307 emph
28308 \series default
28309 .
28310 \end_layout
28311
28312 \begin_layout Standard
28313 If the characters |
28314 \begin_inset space \space{}
28315 \end_inset
28316
28317 ,
28318 \begin_inset space \space{}
28319 \end_inset
28320
28321 !
28322 \begin_inset space \space{}
28323 \end_inset
28324
28325 , @ and
28326 \begin_inset space \space{}
28327 \end_inset
28328
28329 "
28330 \begin_inset space \space{}
28331 \end_inset
28332
28333 should appear in nomenclature entries they need to be escaped by adding
28334  a quote character in front of them.
28335 \begin_inset CommandInset nomenclature
28336 LatexCommand nomenclature
28337 symbol "\"@, \"|, \"!, \"\""
28338 description "The quote sign is output by writing ' \"\"\"\" '"
28339
28340 \end_inset
28341
28342
28343 \end_layout
28344
28345 \begin_layout Subsection
28346 Sort Order of Nomenclature Entries
28347 \begin_inset Index idx
28348 status collapsed
28349
28350 \begin_layout Plain Layout
28351 Nomenclature ! Sort order
28352 \end_layout
28353
28354 \end_inset
28355
28356
28357 \end_layout
28358
28359 \begin_layout Standard
28360 The nomenclature entries are sorted alphabetically by the LaTeX-code of
28361  the symbol definition.
28362  This leads to undesired results when you for example have symbols in formulas.
28363  Suppose you have nomenclature entries for the symbols 
28364 \emph on
28365 a
28366 \begin_inset CommandInset nomenclature
28367 LatexCommand nomenclature
28368 symbol "a"
28369 description "dummy entry for the character \"a\""
28370
28371 \end_inset
28372
28373
28374 \emph default
28375  and 
28376 \begin_inset Formula $\sigma$
28377 \end_inset
28378
28379
28380 \begin_inset CommandInset nomenclature
28381 LatexCommand nomenclature
28382 prefix "sigma"
28383 symbol "$\\sigma$"
28384 description "dummy entry for the character \\textsf{sigma}"
28385
28386 \end_inset
28387
28388 .
28389  They will be sorted by 
28390 \begin_inset Quotes eld
28391 \end_inset
28392
28393
28394 \family sans
28395 a
28396 \family default
28397
28398 \begin_inset Quotes erd
28399 \end_inset
28400
28401  and 
28402 \begin_inset Quotes eld
28403 \end_inset
28404
28405
28406 \family typewriter
28407 $
28408 \backslash
28409 sigma$
28410 \family default
28411
28412 \begin_inset Quotes erd
28413 \end_inset
28414
28415  – the 
28416 \begin_inset Formula $\sigma$
28417 \end_inset
28418
28419  will be sorted before the 
28420 \emph on
28421 a
28422 \emph default
28423  since the character 
28424 \begin_inset Quotes eld
28425 \end_inset
28426
28427 $
28428 \begin_inset Quotes erd
28429 \end_inset
28430
28431  is considered in sorting.
28432 \end_layout
28433
28434 \begin_layout Standard
28435 To control the sort order, you can edit the 
28436 \family sans
28437 Sort
28438 \begin_inset space ~
28439 \end_inset
28440
28441 as
28442 \family default
28443  field of the nomenclature dialog.
28444  Then the nomenclature entry will be sorted by this entry and not the symbol
28445  definition.
28446  For the example given, you can insert 
28447 \family typewriter
28448 sigma
28449 \family default
28450  in this field for the 
28451 \begin_inset Formula $\sigma$
28452 \end_inset
28453
28454 , then 
28455 \emph on
28456 a
28457 \emph default
28458  will be located before 
28459 \begin_inset Formula $\sigma$
28460 \end_inset
28461
28462 .
28463 \end_layout
28464
28465 \begin_layout Standard
28466 For subgrouping and tips for using sort entries see the 
28467 \series bold
28468 nomencl
28469 \series default
28470  documentation, 
28471 \begin_inset CommandInset citation
28472 LatexCommand cite
28473 key "nomencl"
28474
28475 \end_inset
28476
28477 .
28478 \end_layout
28479
28480 \begin_layout Subsection
28481 Nomenclature Options
28482 \begin_inset Index idx
28483 status collapsed
28484
28485 \begin_layout Plain Layout
28486 Nomenclature ! Options
28487 \end_layout
28488
28489 \end_inset
28490
28491
28492 \end_layout
28493
28494 \begin_layout Standard
28495 The 
28496 \series bold
28497 nomencl
28498 \series default
28499  package offers some options to adjust the appearance of the nomenclature.
28500  Here are some of its options, for more have a look at its documentation:
28501 \end_layout
28502
28503 \begin_layout Description
28504 refeq Appends the phrase 
28505 \begin_inset Quotes eld
28506 \end_inset
28507
28508
28509 \family sans
28510 , see equation (
28511 \emph on
28512 eq
28513 \emph default
28514 )
28515 \family default
28516
28517 \begin_inset Quotes erd
28518 \end_inset
28519
28520  to every nomenclature entry, where 
28521 \family sans
28522 \emph on
28523 eq
28524 \family default
28525 \emph default
28526  is the number of the last equation in front of the nomenclature entry
28527 \end_layout
28528
28529 \begin_layout Description
28530 refpage Appends the phrase 
28531 \begin_inset Quotes eld
28532 \end_inset
28533
28534
28535 \family sans
28536 , page (
28537 \emph on
28538 page
28539 \emph default
28540 )
28541 \family default
28542
28543 \begin_inset Quotes erd
28544 \end_inset
28545
28546  to every nomenclature entry, where 
28547 \family sans
28548 \emph on
28549 page
28550 \family default
28551 \emph default
28552  is the number of the page on which the nomenclature entry appeared
28553 \end_layout
28554
28555 \begin_layout Description
28556 intoc Inserts the nomenclature in the Table of Contents
28557 \end_layout
28558
28559 \begin_layout Standard
28560 To use one or more of the options, add them to the comma-separated document
28561  class options list in the 
28562 \family sans
28563 Document\SpecialChar \menuseparator
28564 Settings
28565 \family default
28566  dialog.
28567  In this document the options 
28568 \series bold
28569 refpage, intoc
28570 \series default
28571  are used.
28572 \end_layout
28573
28574 \begin_layout Standard
28575 \begin_inset VSpace bigskip
28576 \end_inset
28577
28578
28579 \end_layout
28580
28581 \begin_layout Standard
28582 You can also use the first two options above only for certain nomenclature
28583  entries when you add one of the following commands as last entry to the
28584  
28585 \family sans
28586 Description
28587 \family default
28588  field in the nomenclature dialog:
28589 \end_layout
28590
28591 \begin_layout Description
28592
28593 \backslash
28594 nomrefeq Like the 
28595 \series bold
28596 refeq
28597 \series default
28598  option
28599 \end_layout
28600
28601 \begin_layout Description
28602
28603 \backslash
28604 nomrefpage Like the 
28605 \series bold
28606 refpage
28607 \series default
28608  option
28609 \end_layout
28610
28611 \begin_layout Description
28612
28613 \backslash
28614 nomrefeqpage Short notation of 
28615 \series bold
28616
28617 \backslash
28618 nomrefeq
28619 \backslash
28620 nomrefpage
28621 \end_layout
28622
28623 \begin_layout Description
28624
28625 \backslash
28626 nomnorefeq,
28627 \begin_inset space ~
28628 \end_inset
28629
28630
28631 \backslash
28632 nomnorefpage,
28633 \begin_inset space ~
28634 \end_inset
28635
28636
28637 \backslash
28638 nomnorefeqpage Turns off the corresponding options
28639 \end_layout
28640
28641 \begin_layout Standard
28642 Words like 
28643 \begin_inset Quotes eld
28644 \end_inset
28645
28646 page
28647 \begin_inset Quotes erd
28648 \end_inset
28649
28650  are automatically translated for some document languages.
28651  If not, add these lines to your LaTeX preamble:
28652 \end_layout
28653
28654 \begin_layout Standard
28655 \noindent
28656
28657 \series bold
28658
28659 \backslash
28660 renewcommand{
28661 \backslash
28662 eqdeclaration}[1]{, see equation
28663 \backslash
28664 nobreakspace(#1)}
28665 \begin_inset Newline newline
28666 \end_inset
28667
28668
28669 \backslash
28670 renewcommand{
28671 \backslash
28672 pagedeclaration}[1]{, page
28673 \backslash
28674 nobreakspace{}#1}
28675 \series default
28676
28677 \begin_inset Newline newline
28678 \end_inset
28679
28680 and replace 
28681 \begin_inset Quotes eld
28682 \end_inset
28683
28684 see equation
28685 \begin_inset Quotes erd
28686 \end_inset
28687
28688  and 
28689 \begin_inset Quotes eld
28690 \end_inset
28691
28692 page
28693 \begin_inset Quotes erd
28694 \end_inset
28695
28696  by their translation.
28697 \end_layout
28698
28699 \begin_layout Subsection
28700 Printing the Nomenclature
28701 \begin_inset Index idx
28702 status collapsed
28703
28704 \begin_layout Plain Layout
28705 Nomenclature ! Printing
28706 \end_layout
28707
28708 \end_inset
28709
28710
28711 \end_layout
28712
28713 \begin_layout Standard
28714 To print the nomenclature, use the menu 
28715 \family sans
28716 Insert\SpecialChar \menuseparator
28717 Lists
28718 \begin_inset space ~
28719 \end_inset
28720
28721 /
28722 \begin_inset space ~
28723 \end_inset
28724
28725 TOC\SpecialChar \menuseparator
28726 Nomenclature
28727 \family default
28728 .
28729  A box labeled 
28730 \begin_inset Quotes eld
28731 \end_inset
28732
28733
28734 \family sans
28735 Nomenclature
28736 \family default
28737
28738 \begin_inset Quotes erd
28739 \end_inset
28740
28741  will show the place where the nomenclature is printed in the output.
28742  By right-clicking on it, the amount of space for symbols can be altered.
28743  You can choose between these settings:
28744 \end_layout
28745
28746 \begin_layout Description
28747 Default a space of 1
28748 \begin_inset space \thinspace{}
28749 \end_inset
28750
28751 cm is used
28752 \end_layout
28753
28754 \begin_layout Description
28755 Longest
28756 \begin_inset space ~
28757 \end_inset
28758
28759 label
28760 \begin_inset space ~
28761 \end_inset
28762
28763 width the width of the widest symbol of all nomenclature entries is used
28764 \end_layout
28765
28766 \begin_layout Description
28767 Custom custom space
28768 \end_layout
28769
28770 \begin_layout Standard
28771 In the printed output the title of the nomenclature appears as 
28772 \begin_inset Quotes eld
28773 \end_inset
28774
28775 Nomenclature
28776 \begin_inset Quotes erd
28777 \end_inset
28778
28779 .
28780  If you are not happy with the name, you can change it by redefining the
28781  command 
28782 \series bold
28783
28784 \backslash
28785 nomname
28786 \series default
28787  in the preamble.
28788  For example, in order to change the name to 
28789 \emph on
28790 List of Symbols
28791 \emph default
28792 , add the following line to the preamble:
28793 \end_layout
28794
28795 \begin_layout Standard
28796
28797 \family roman
28798 \series bold
28799
28800 \backslash
28801 renewcommand{
28802 \backslash
28803 nomname}{List of Symbols}
28804 \end_layout
28805
28806 \begin_layout Subsection
28807 Nomenclature Program
28808 \begin_inset Index idx
28809 status collapsed
28810
28811 \begin_layout Plain Layout
28812 Nomenclature ! Program
28813 \end_layout
28814
28815 \end_inset
28816
28817
28818 \begin_inset CommandInset label
28819 LatexCommand label
28820 name "sub:Nomenclature-Program"
28821
28822 \end_inset
28823
28824
28825 \end_layout
28826
28827 \begin_layout Standard
28828 LyX uses the program 
28829 \family sans
28830 makeindex
28831 \family default
28832 , that is part of every LaTeX distribution, to generate the nomenclature.
28833  LyX's preferences dialog allows you to specify another program or to control
28834  
28835 \family sans
28836 makeindex
28837 \family default
28838  by adding options, see section
28839 \begin_inset space ~
28840 \end_inset
28841
28842
28843 \begin_inset CommandInset ref
28844 LatexCommand ref
28845 reference "sub:LaTeX-settings"
28846
28847 \end_inset
28848
28849 .
28850  The available options are listed and explained in 
28851 \begin_inset CommandInset citation
28852 LatexCommand cite
28853 key "nomencl,makeindex"
28854
28855 \end_inset
28856
28857 .
28858 \end_layout
28859
28860 \begin_layout Section
28861 Branches
28862 \begin_inset Index idx
28863 status collapsed
28864
28865 \begin_layout Plain Layout
28866 Branches
28867 \end_layout
28868
28869 \end_inset
28870
28871
28872 \begin_inset Index idx
28873 status collapsed
28874
28875 \begin_layout Plain Layout
28876 Document ! Branches
28877 \end_layout
28878
28879 \end_inset
28880
28881
28882 \begin_inset CommandInset label
28883 LatexCommand label
28884 name "sec:Branches"
28885
28886 \end_inset
28887
28888
28889 \end_layout
28890
28891 \begin_layout Standard
28892 Sometimes it is useful to hide some document parts in the output.
28893  For example a teacher who is setting an exam obviously doesn't want the
28894  pupils to see the answers, but having questions and answers in the same
28895  document will make the life of the markers of that exam much easier.
28896 \end_layout
28897
28898 \begin_layout Standard
28899 For these cases LyX allows you to put text into branches.
28900  The text will then only appear in the output when its branch is activated.
28901  To create a branch, either select the menu 
28902 \family sans
28903 Insert\SpecialChar \menuseparator
28904 Branch\SpecialChar \menuseparator
28905 Insert New Branch
28906 \family default
28907  (if you just want to specify a new branch) or go in the 
28908 \family sans
28909 Document\SpecialChar \menuseparator
28910 Settings
28911 \family default
28912  dialog to 
28913 \family sans
28914 Branches
28915 \family default
28916 , where you can specify and change the name of the branch, its activation
28917  state (whether the content of the branch is shown in the output or not),
28918  its background color inside LyX and whether the name of the branch should
28919  be appended to the document file name on export if the branch is active
28920  (see below for an example).
28921  Furthermore, the dialog lets you merge two branches (just rename one branch
28922  to the name of the other) and to add 
28923 \begin_inset Quotes eld
28924 \end_inset
28925
28926 unknown branches
28927 \begin_inset Quotes erd
28928 \end_inset
28929
28930  (i.
28931 \begin_inset space \thinspace{}
28932 \end_inset
28933
28934 e.
28935 \begin_inset space ~
28936 \end_inset
28937
28938 branches that were added to the document via copy and paste from other documents
28939 , without having been defined) to the document's branch list.
28940 \end_layout
28941
28942 \begin_layout Standard
28943 Text that should be in a branch is set into branch inset boxes.
28944  These boxes are inserted via the menu 
28945 \family sans
28946 Insert\SpecialChar \menuseparator
28947 Branch
28948 \family default
28949  where you can choose a branch.
28950  You can later change the activation state of the branch by right-clicking
28951  on them.
28952 \end_layout
28953
28954 \begin_layout Standard
28955 Here is an example, where only the question text appears, the answer branch
28956  is deactivated and therefore does not appear in the output:
28957 \end_layout
28958
28959 \begin_layout Standard
28960 \begin_inset Branch Question
28961 status collapsed
28962
28963 \begin_layout Standard
28964 Question: Who was the first physics Nobel prize winner?
28965 \end_layout
28966
28967 \end_inset
28968
28969
28970 \end_layout
28971
28972 \begin_layout Standard
28973 \begin_inset Branch Answer
28974 status collapsed
28975
28976 \begin_layout Standard
28977 Answer: Wilhelm Conrad Röntgen
28978 \end_layout
28979
28980 \end_inset
28981
28982
28983 \end_layout
28984
28985 \begin_layout Standard
28986 If you activate 
28987 \family sans
28988 Filename Suffix
28989 \family default
28990  in 
28991 \family sans
28992 Document\SpecialChar \menuseparator
28993 Settings\SpecialChar \menuseparator
28994 Branches
28995 \family default
28996 , the name of the active branches will be appended to the file name at export.
28997  Consider for example a file 
28998 \begin_inset Quotes eld
28999 \end_inset
29000
29001 Exam.lyx
29002 \begin_inset Quotes erd
29003 \end_inset
29004
29005  which has the above branches.
29006  If 
29007 \begin_inset Quotes eld
29008 \end_inset
29009
29010 Filename Suffix
29011 \begin_inset Quotes erd
29012 \end_inset
29013
29014  is active, the PDF export file would be called 
29015 \begin_inset Quotes eld
29016 \end_inset
29017
29018 Exam.pdf
29019 \begin_inset Quotes erd
29020 \end_inset
29021
29022  if both the 
29023 \begin_inset Quotes eld
29024 \end_inset
29025
29026 Question
29027 \begin_inset Quotes erd
29028 \end_inset
29029
29030  and 
29031 \begin_inset Quotes eld
29032 \end_inset
29033
29034 Answer
29035 \begin_inset Quotes erd
29036 \end_inset
29037
29038  branch were inactive, 
29039 \begin_inset Quotes eld
29040 \end_inset
29041
29042 Exam-Question.pdf
29043 \begin_inset Quotes erd
29044 \end_inset
29045
29046  if only the 
29047 \begin_inset Quotes eld
29048 \end_inset
29049
29050 Question
29051 \begin_inset Quotes erd
29052 \end_inset
29053
29054  branch was active, likewise 
29055 \begin_inset Quotes eld
29056 \end_inset
29057
29058 Exam-Answer.pdf
29059 \begin_inset Quotes erd
29060 \end_inset
29061
29062  if only the 
29063 \begin_inset Quotes eld
29064 \end_inset
29065
29066 Answer
29067 \begin_inset Quotes erd
29068 \end_inset
29069
29070  branch was active, and 
29071 \begin_inset Quotes eld
29072 \end_inset
29073
29074 Exam-Question-Answer.pdf
29075 \begin_inset Quotes erd
29076 \end_inset
29077
29078  if both branches were active.
29079  This helps you to easily export different versions of your document without
29080  much hassle.
29081 \end_layout
29082
29083 \begin_layout Standard
29084 \begin_inset VSpace bigskip
29085 \end_inset
29086
29087
29088 \end_layout
29089
29090 \begin_layout Standard
29091 To use conditional output inside places where you cannot insert branch insets,
29092  like inside equations, you can code special LaTeX definitions for each
29093  branch.
29094  For example you can define for the question branch
29095 \begin_inset Foot
29096 status collapsed
29097
29098 \begin_layout Plain Layout
29099 For an introduction to the LaTeX-syntax, see section
29100 \begin_inset space ~
29101 \end_inset
29102
29103
29104 \begin_inset CommandInset ref
29105 LatexCommand ref
29106 reference "sub:LaTeX-Syntax"
29107
29108 \end_inset
29109
29110 .
29111 \end_layout
29112
29113 \end_inset
29114
29115
29116 \end_layout
29117
29118 \begin_layout Standard
29119
29120 \series bold
29121
29122 \backslash
29123 newcommand{
29124 \backslash
29125 question}[1]{#1}
29126 \end_layout
29127
29128 \begin_layout Standard
29129
29130 \series bold
29131
29132 \backslash
29133 newcommand{
29134 \backslash
29135 answer}[1]{}
29136 \end_layout
29137
29138 \begin_layout Standard
29139 and for the answer branch
29140 \end_layout
29141
29142 \begin_layout Standard
29143
29144 \series bold
29145
29146 \backslash
29147 newcommand{
29148 \backslash
29149 question}[1]{}
29150 \end_layout
29151
29152 \begin_layout Standard
29153
29154 \series bold
29155
29156 \backslash
29157 newcommand{
29158 \backslash
29159 answer}[1]{#1}
29160 \end_layout
29161
29162 \begin_layout Standard
29163 \begin_inset Branch Question
29164 status collapsed
29165
29166 \begin_layout Standard
29167 \begin_inset ERT
29168 status open
29169
29170 \begin_layout Plain Layout
29171
29172
29173 \backslash
29174 newcommand{
29175 \backslash
29176 question}[1]{#1}
29177 \end_layout
29178
29179 \begin_layout Plain Layout
29180
29181
29182 \backslash
29183 newcommand{
29184 \backslash
29185 answer}[1]{}
29186 \end_layout
29187
29188 \end_inset
29189
29190
29191 \end_layout
29192
29193 \end_inset
29194
29195
29196 \end_layout
29197
29198 \begin_layout Standard
29199 \begin_inset Branch Answer
29200 status collapsed
29201
29202 \begin_layout Standard
29203 \begin_inset ERT
29204 status collapsed
29205
29206 \begin_layout Plain Layout
29207
29208
29209 \backslash
29210 newcommand{
29211 \backslash
29212 question}[1]{}
29213 \end_layout
29214
29215 \begin_layout Plain Layout
29216
29217
29218 \backslash
29219 newcommand{
29220 \backslash
29221 answer}[1]{#1}
29222 \end_layout
29223
29224 \end_inset
29225
29226
29227 \end_layout
29228
29229 \end_inset
29230
29231
29232 \end_layout
29233
29234 \begin_layout Standard
29235 Now it is possible to use the commands 
29236 \series bold
29237
29238 \backslash
29239 question{\SpecialChar \ldots{}
29240 }
29241 \series default
29242  and 
29243 \series bold
29244
29245 \backslash
29246 answer{\SpecialChar \ldots{}
29247 }
29248 \series default
29249  to obtain conditional output.
29250  Here is an example formula where only the 
29251 \series bold
29252
29253 \backslash
29254 question
29255 \series default
29256  part appears:
29257 \begin_inset Formula 
29258 \[
29259 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
29260 \]
29261
29262 \end_inset
29263
29264
29265 \end_layout
29266
29267 \begin_layout Standard
29268 Inside math, the same effect can be achieved using math macros, see the
29269  
29270 \emph on
29271 Math
29272 \emph default
29273  manual.
29274 \change_inserted 5863208 1334492666
29275
29276 \end_layout
29277
29278 \begin_layout Standard
29279
29280 \change_inserted 5863208 1334493356
29281 Each type of branch is allowed to have its specific style defined in layout
29282  files (e.g.
29283  any branch inset can be automatically wrapped by your own LaTeX commands.).
29284  For this advanced usage, please study Customization manual (in particular
29285  section 
29286 \begin_inset Quotes eld
29287 \end_inset
29288
29289 Flex insets and InsetLayout
29290 \begin_inset Quotes erd
29291 \end_inset
29292
29293 ).
29294 \change_unchanged
29295
29296 \end_layout
29297
29298 \begin_layout Section
29299 PDF Properties
29300 \begin_inset CommandInset label
29301 LatexCommand label
29302 name "sec:PDF-Properties"
29303
29304 \end_inset
29305
29306
29307 \begin_inset Index idx
29308 status collapsed
29309
29310 \begin_layout Plain Layout
29311 PDF properties
29312 \end_layout
29313
29314 \end_inset
29315
29316
29317 \end_layout
29318
29319 \begin_layout Standard
29320 The 
29321 \family sans
29322 Document Settings
29323 \family default
29324  dialog allows you in the 
29325 \family sans
29326 PDF Properties
29327 \family default
29328  to set up special options for the PDF output of your document.
29329  All options there are provided by the LaTeX-package 
29330 \series bold
29331 hyperref
29332 \series default
29333
29334 \begin_inset Index idx
29335 status collapsed
29336
29337 \begin_layout Plain Layout
29338 LaTeX-packages ! hyperref
29339 \end_layout
29340
29341 \end_inset
29342
29343 .
29344 \end_layout
29345
29346 \begin_layout Standard
29347 Using 
29348 \series bold
29349 hyperref
29350 \series default
29351  will link all cross-references in the DVI- and PDF-output.
29352  This means that the reader of your document will be able to click on a
29353  table of contents entry or on a reference and he is shown the referenced
29354  document part.
29355  You can specify in the dialog tab 
29356 \family sans
29357 Hyperlinks
29358 \family default
29359  how the links will look and if links for bibliographical backreferences
29360  are created.
29361  The backreferences will appear in the bibliography behind the different
29362  entries, showing the number of the section, slide, or page where the entry
29363  is referenced.
29364 \end_layout
29365
29366 \begin_layout Standard
29367 In the dialog tab 
29368 \family sans
29369 Bookmarks
29370 \family default
29371  you can set if PDF-bookmarks should be created for every section of your
29372  document to make it easier for readers to navigate through the document.
29373  You can decide if the bookmarks should be numbered like your document sections
29374  or not.
29375  With the open bookmarks level you can specify what sectioning level should
29376  be displayed in the bookmarks when opening the PDF.
29377  For example level
29378 \begin_inset space ~
29379 \end_inset
29380
29381 2 will display all sections and subsections, while level
29382 \begin_inset space ~
29383 \end_inset
29384
29385 1 will only display the sections.
29386 \end_layout
29387
29388 \begin_layout Standard
29389 The header information in the dialog tab 
29390 \family sans
29391 General
29392 \family default
29393  are saved together with the PDF as file properties.
29394  Many programs are able to extract this information to e.
29395 \begin_inset space \thinspace{}
29396 \end_inset
29397
29398 g.
29399 \begin_inset space \space{}
29400 \end_inset
29401
29402 automatically recognize who the author is and what the PDF is about.
29403  This is very useful to sort, classify, or use PDFs for bibliography issues.
29404  When the option 
29405 \family sans
29406 Automatic fill header
29407 \family default
29408  is set, LyX tries to extract the header information from your document
29409  title and author settings.
29410 \end_layout
29411
29412 \begin_layout Standard
29413 The option 
29414 \family sans
29415 Load in fullscreen mode
29416 \family default
29417  will open the PDF in fullscreen mode, which is useful for presentations.
29418 \end_layout
29419
29420 \begin_layout Standard
29421 PDF properties are also used in this document.
29422  When you look in its document settings, you can see that some additional
29423  
29424 \series bold
29425 hyperref
29426 \series default
29427  options are used.
29428  For an explanation of them we refer you to the hyperref manual 
29429 \begin_inset CommandInset citation
29430 LatexCommand cite
29431 key "hyperref"
29432
29433 \end_inset
29434
29435 .
29436 \end_layout
29437
29438 \begin_layout Section
29439 TeX Code and the LaTeX Syntax
29440 \begin_inset CommandInset label
29441 LatexCommand label
29442 name "sec:TeX-Code"
29443
29444 \end_inset
29445
29446
29447 \end_layout
29448
29449 \begin_layout Subsection
29450 TeX Code Boxes
29451 \begin_inset Index idx
29452 status collapsed
29453
29454 \begin_layout Plain Layout
29455 TeX Code
29456 \end_layout
29457
29458 \end_inset
29459
29460
29461 \begin_inset CommandInset label
29462 LatexCommand label
29463 name "sub:TeX-Code-Boxes"
29464
29465 \end_inset
29466
29467
29468 \end_layout
29469
29470 \begin_layout Standard
29471 As LyX uses LaTeX in the background, it supports many LaTeX commands and
29472  constructs, but not all.
29473  LaTeX contains hundreds of packages that provide different commands.
29474  All the time packages are being updated and new ones added.
29475  This has the advantage that you can typeset nearly everything as there
29476  is for every problem a LaTeX-package.
29477  But LyX can of course not be up to date and support all packages and their
29478  commands.
29479 \end_layout
29480
29481 \begin_layout Standard
29482 But don't worry, you can use any LaTeX-command directly in LyX inside the
29483  TeX Code box.
29484  A TeX Code box is created by the menu 
29485 \family sans
29486 Insert\SpecialChar \menuseparator
29487 TeX
29488 \begin_inset space ~
29489 \end_inset
29490
29491 Code
29492 \family default
29493  or by the toolbar button 
29494 \begin_inset Info
29495 type  "icon"
29496 arg   "ert-insert"
29497 \end_inset
29498
29499  (shortcut 
29500 \begin_inset Info
29501 type  "shortcut"
29502 arg   "ert-insert"
29503 \end_inset
29504
29505 ).
29506  The box can be opened by left-clicking and closed by right-clicking on
29507  it and selecting 
29508 \family sans
29509 Close Inset
29510 \family default
29511 .
29512 \end_layout
29513
29514 \begin_layout Standard
29515 You can insert complete or incomplete commands as TeX Code.
29516  Incomplete means that the command argument can be Standard LyX text.
29517  For example, if you want to draw a frame around a word and are therefore
29518  using the LaTeX-command 
29519 \series bold
29520
29521 \backslash
29522 fbox
29523 \series default
29524 , you can write the command part 
29525 \series bold
29526
29527 \backslash
29528 fbox{
29529 \series default
29530  in a TeX Code box before the word and the closing brace 
29531 \series bold
29532 }
29533 \series default
29534  in a second TeX Code box behind the word.
29535  The word between the two TeX Code boxes is then the argument as it is in
29536  the following example:
29537 \end_layout
29538
29539 \begin_layout Standard
29540 \begin_inset Graphics
29541         filename clipart/ERT.png
29542         scale 89
29543
29544 \end_inset
29545
29546
29547 \end_layout
29548
29549 \begin_layout Standard
29550 gives
29551 \end_layout
29552
29553 \begin_layout Standard
29554 This is a line with a 
29555 \begin_inset ERT
29556 status collapsed
29557
29558 \begin_layout Plain Layout
29559
29560
29561 \backslash
29562 fbox{
29563 \end_layout
29564
29565 \end_inset
29566
29567 framed
29568 \begin_inset ERT
29569 status collapsed
29570
29571 \begin_layout Plain Layout
29572
29573 }
29574 \end_layout
29575
29576 \end_inset
29577
29578  word.
29579 \end_layout
29580
29581 \begin_layout Standard
29582 \begin_inset Note Greyedout
29583 status open
29584
29585 \begin_layout Plain Layout
29586
29587 \series bold
29588 Note:
29589 \series default
29590  At the end of LaTeX-commands without parameters, you have to insert a space
29591  to let LaTeX know that the command is finished.
29592 \end_layout
29593
29594 \end_inset
29595
29596
29597 \end_layout
29598
29599 \begin_layout Subsection
29600 Short Introduction to the LaTeX Syntax
29601 \begin_inset Argument 1
29602 status collapsed
29603
29604 \begin_layout Plain Layout
29605 The LaTeX Syntax
29606 \end_layout
29607
29608 \end_inset
29609
29610
29611 \begin_inset Index idx
29612 status collapsed
29613
29614 \begin_layout Plain Layout
29615 LaTeX Syntax
29616 \end_layout
29617
29618 \end_inset
29619
29620
29621 \begin_inset CommandInset label
29622 LatexCommand label
29623 name "sub:LaTeX-Syntax"
29624
29625 \end_inset
29626
29627
29628 \end_layout
29629
29630 \begin_layout Standard
29631 When you write larger documents or books, you will need to know something
29632  about the LaTeX-commands that LyX uses in the background.
29633  Because LaTeX is based on commands, you can 
29634 \begin_inset Quotes eld
29635 \end_inset
29636
29637 program
29638 \begin_inset Quotes erd
29639 \end_inset
29640
29641  your text.
29642  This has the advantage that the layout of the document can be changed at
29643  any time if you know the right commands.
29644  E.
29645 \begin_inset space \thinspace{}
29646 \end_inset
29647
29648 g.
29649 \begin_inset space \space{}
29650 \end_inset
29651
29652 imagine you have to write a manual for a product and the deadline is the
29653  end of the day.
29654  Your boss has just complimented you for your good work but wants to have
29655  all caption labels bold.
29656  But you have over a hundred figure and table captions with non-bold labels
29657  in your manual.
29658  Of course it is impossible to change all caption labels manually in one
29659  day.
29660 \end_layout
29661
29662 \begin_layout Standard
29663 Now LaTeX comes into play.
29664  As mentioned above, for every problem there exists a LaTeX-package.
29665  First you have to find out which and therefore look into the LaTeX package
29666  database, 
29667 \begin_inset CommandInset citation
29668 LatexCommand cite
29669 key "Catalogue"
29670
29671 \end_inset
29672
29673 .
29674 \end_layout
29675
29676 \begin_layout Standard
29677 As result you find that the package 
29678 \series bold
29679 caption
29680 \series default
29681
29682 \begin_inset Index idx
29683 status collapsed
29684
29685 \begin_layout Plain Layout
29686 LaTeX-packages ! caption
29687 \end_layout
29688
29689 \end_inset
29690
29691  is what you need.
29692  To use a package, you have to load it in the document preamble (menu 
29693 \family sans
29694 Document\SpecialChar \menuseparator
29695 Settings
29696 \family default
29697 ) with the command
29698 \end_layout
29699
29700 \begin_layout Standard
29701
29702 \series bold
29703
29704 \backslash
29705 usepackage[options]{package name}
29706 \end_layout
29707
29708 \begin_layout Standard
29709 All LaTeX commands begin with a backslash, the command argument is set within
29710  two braces and the options are set within two brackets.
29711  Note that not all commands have an argument and options.
29712 \end_layout
29713
29714 \begin_layout Standard
29715 In your case the package name is 
29716 \series bold
29717 caption
29718 \series default
29719 .
29720  After a look in the documentation of the package, you know that the option
29721  
29722 \series bold
29723 labelfont=bf
29724 \series default
29725  will change the font of all caption labels to bold.
29726  So you add the command
29727 \end_layout
29728
29729 \begin_layout Standard
29730
29731 \series bold
29732
29733 \backslash
29734 usepackage[labelfont=bf]{caption}
29735 \end_layout
29736
29737 \begin_layout Standard
29738 to the preamble and the problem is solved.
29739 \begin_inset Foot
29740 status collapsed
29741
29742 \begin_layout Plain Layout
29743 For more commands provided by the 
29744 \series bold
29745 caption
29746 \series default
29747  package, have a look at its documentation, 
29748 \begin_inset CommandInset citation
29749 LatexCommand cite
29750 key "caption"
29751
29752 \end_inset
29753
29754 .
29755 \end_layout
29756
29757 \end_inset
29758
29759
29760 \end_layout
29761
29762 \begin_layout Standard
29763 Note that some document classes have built-in solutions for well-known problems
29764  like your case.
29765  For example if you use a 
29766 \family sans
29767 KOMA-Script
29768 \family default
29769  class, you don't need the package 
29770 \series bold
29771 caption
29772 \series default
29773 , you can instead write
29774 \end_layout
29775
29776 \begin_layout Standard
29777
29778 \series bold
29779
29780 \backslash
29781 setkomafont{captionlabel}{
29782 \backslash
29783 bfseries}
29784 \end_layout
29785
29786 \begin_layout Standard
29787 in the preamble and the problem is solved.
29788  So if you plan to write a large document, you should have a look at the
29789  documentation of the document class you want to use.
29790  (
29791 \series bold
29792
29793 \backslash
29794 setkomafont
29795 \series default
29796  is an example of a command with more than one argument.)
29797 \end_layout
29798
29799 \begin_layout Standard
29800 Commands in the preamble affect the whole document, while commands in the
29801  text affect only the text after the command or only the text used as command
29802  argument.
29803  To insert a LaTeX-command in text, use the TeX Code box as described in
29804  the previous section.
29805 \end_layout
29806
29807 \begin_layout Standard
29808 If you want to learn more about LaTeX and its syntax, have a look at the
29809  LaTeX-books 
29810 \begin_inset CommandInset citation
29811 LatexCommand cite
29812 key "latexcompanion,latexguide"
29813
29814 \end_inset
29815
29816 .
29817 \end_layout
29818
29819 \begin_layout Standard
29820 \begin_inset Newpage cleardoublepage
29821 \end_inset
29822
29823
29824 \end_layout
29825
29826 \begin_layout Standard
29827 \begin_inset ERT
29828 status collapsed
29829
29830 \begin_layout Plain Layout
29831
29832
29833 \backslash
29834 pagestyle{fancy}
29835 \end_layout
29836
29837 \end_inset
29838
29839
29840 \begin_inset Note Note
29841 status collapsed
29842
29843 \begin_layout Plain Layout
29844 switches temporarily to a page style with custom header and footer line
29845 \end_layout
29846
29847 \end_inset
29848
29849
29850 \end_layout
29851
29852 \begin_layout Left Header
29853 \begin_inset Argument 1
29854 status collapsed
29855
29856 \begin_layout Plain Layout
29857
29858 \end_layout
29859
29860 \end_inset
29861
29862
29863 \begin_inset ERT
29864 status collapsed
29865
29866 \begin_layout Plain Layout
29867
29868
29869 \backslash
29870 rightmark
29871 \end_layout
29872
29873 \end_inset
29874
29875
29876 \begin_inset Note Note
29877 status collapsed
29878
29879 \begin_layout Plain Layout
29880 defines the header line as described below
29881 \end_layout
29882
29883 \end_inset
29884
29885
29886 \end_layout
29887
29888 \begin_layout Center Header
29889 \begin_inset Argument 1
29890 status collapsed
29891
29892 \begin_layout Plain Layout
29893
29894 \end_layout
29895
29896 \end_inset
29897
29898
29899 \end_layout
29900
29901 \begin_layout Right Header
29902 \begin_inset Argument 1
29903 status collapsed
29904
29905 \begin_layout Plain Layout
29906 \begin_inset ERT
29907 status collapsed
29908
29909 \begin_layout Plain Layout
29910
29911
29912 \backslash
29913 leftmark
29914 \end_layout
29915
29916 \end_inset
29917
29918
29919 \end_layout
29920
29921 \end_inset
29922
29923
29924 \end_layout
29925
29926 \begin_layout Left Footer
29927 \begin_inset Argument 1
29928 status collapsed
29929
29930 \begin_layout Plain Layout
29931 \begin_inset ERT
29932 status collapsed
29933
29934 \begin_layout Plain Layout
29935
29936
29937 \backslash
29938 thepage
29939 \end_layout
29940
29941 \end_inset
29942
29943
29944 \end_layout
29945
29946 \end_inset
29947
29948
29949 \end_layout
29950
29951 \begin_layout Center Footer
29952 \begin_inset Argument 1
29953 status collapsed
29954
29955 \begin_layout Plain Layout
29956
29957 \family sans
29958 \series bold
29959 \color red
29960 LyX's user guide
29961 \end_layout
29962
29963 \end_inset
29964
29965 Magic code:
29966 \begin_inset Newline newline
29967 \end_inset
29968
29969
29970 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
29971 \end_inset
29972
29973
29974 \end_layout
29975
29976 \begin_layout Right Footer
29977 \begin_inset Argument 1
29978 status collapsed
29979
29980 \begin_layout Plain Layout
29981
29982 \end_layout
29983
29984 \end_inset
29985
29986
29987 \begin_inset ERT
29988 status collapsed
29989
29990 \begin_layout Plain Layout
29991
29992
29993 \backslash
29994 Roman{page}
29995 \end_layout
29996
29997 \end_inset
29998
29999
30000 \end_layout
30001
30002 \begin_layout Section
30003 Customized Page Headers and Footers
30004 \begin_inset CommandInset label
30005 LatexCommand label
30006 name "sec:Customized-Page-Headers"
30007
30008 \end_inset
30009
30010
30011 \begin_inset Index idx
30012 status collapsed
30013
30014 \begin_layout Plain Layout
30015 Document ! Header/Footer line
30016 \end_layout
30017
30018 \end_inset
30019
30020
30021 \begin_inset Index idx
30022 status collapsed
30023
30024 \begin_layout Plain Layout
30025 Header/Footer line
30026 \end_layout
30027
30028 \end_inset
30029
30030
30031 \end_layout
30032
30033 \begin_layout Standard
30034 To define a custom page header and footer line for your document, you need
30035  to set the headings style to 
30036 \family sans
30037 Fancy
30038 \family default
30039  in the 
30040 \family sans
30041 Document\SpecialChar \menuseparator
30042 Settings
30043 \family default
30044  dialog under 
30045 \family sans
30046 Page
30047 \begin_inset space ~
30048 \end_inset
30049
30050 Layout
30051 \family default
30052 .
30053  As a second step add in the menu 
30054 \family sans
30055 Document\SpecialChar \menuseparator
30056 Settings\SpecialChar \menuseparator
30057 Modules
30058 \family default
30059  the module 
30060 \begin_inset Quotes eld
30061 \end_inset
30062
30063 Custom Header/Footerlines
30064 \begin_inset Quotes erd
30065 \end_inset
30066
30067 .
30068  This module offers the following 6
30069 \begin_inset space ~
30070 \end_inset
30071
30072 styles:
30073 \end_layout
30074
30075 \begin_layout Description
30076 Left
30077 \begin_inset space ~
30078 \end_inset
30079
30080 Header,
30081 \begin_inset space ~
30082 \end_inset
30083
30084 Center
30085 \begin_inset space ~
30086 \end_inset
30087
30088 Header,
30089 \begin_inset space ~
30090 \end_inset
30091
30092 Right
30093 \begin_inset space ~
30094 \end_inset
30095
30096 Header
30097 \end_layout
30098
30099 \begin_layout Description
30100 Left
30101 \begin_inset space ~
30102 \end_inset
30103
30104 Footer,
30105 \begin_inset space ~
30106 \end_inset
30107
30108 Center
30109 \begin_inset space ~
30110 \end_inset
30111
30112 Footer,
30113 \begin_inset space ~
30114 \end_inset
30115
30116 Right
30117 \begin_inset space ~
30118 \end_inset
30119
30120 Footer
30121 \end_layout
30122
30123 \begin_layout Standard
30124 for the different positions in the header/footer.
30125 \end_layout
30126
30127 \begin_layout Standard
30128 Normally, headers and footers are set up in the beginning of the document.
30129  But you can change them anywhere you want to.
30130  Figure
30131 \begin_inset space ~
30132 \end_inset
30133
30134
30135 \begin_inset CommandInset ref
30136 LatexCommand ref
30137 reference "fig:Page-layout"
30138
30139 \end_inset
30140
30141  shows the page layout and where the header/footer styles will appear.
30142 \end_layout
30143
30144 \begin_layout Standard
30145 \begin_inset Float figure
30146 placement h
30147 wide false
30148 sideways false
30149 status collapsed
30150
30151 \begin_layout Plain Layout
30152 \noindent
30153 \align center
30154 \begin_inset Tabular
30155 <lyxtabular version="3" rows="5" columns="3">
30156 <features rotate="0" tabularvalignment="middle">
30157 <column alignment="left" valignment="top" width="30line%">
30158 <column alignment="center" valignment="top" width="30line%">
30159 <column alignment="right" valignment="top" width="30line%">
30160 <row>
30161 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
30162 \begin_inset Text
30163
30164 \begin_layout Plain Layout
30165 Left Header
30166 \end_layout
30167
30168 \end_inset
30169 </cell>
30170 <cell alignment="center" valignment="top" topline="true" usebox="none">
30171 \begin_inset Text
30172
30173 \begin_layout Plain Layout
30174 Center Header
30175 \end_layout
30176
30177 \end_inset
30178 </cell>
30179 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
30180 \begin_inset Text
30181
30182 \begin_layout Plain Layout
30183 Right Header
30184 \end_layout
30185
30186 \end_inset
30187 </cell>
30188 </row>
30189 <row>
30190 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30191 \begin_inset Text
30192
30193 \begin_layout Plain Layout
30194
30195 \end_layout
30196
30197 \end_inset
30198 </cell>
30199 <cell alignment="center" valignment="top" usebox="none">
30200 \begin_inset Text
30201
30202 \begin_layout Plain Layout
30203
30204 \end_layout
30205
30206 \end_inset
30207 </cell>
30208 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30209 \begin_inset Text
30210
30211 \begin_layout Plain Layout
30212
30213 \end_layout
30214
30215 \end_inset
30216 </cell>
30217 </row>
30218 <row>
30219 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
30220 \begin_inset Text
30221
30222 \begin_layout Plain Layout
30223 The normal text on the page goes here.
30224  The running header is above the text, and the footer is below (including
30225  footnotes).
30226  Headers/footers typically contain things like the page number, title of
30227  the chapter, company logo but your can use almost anything, except of floats.
30228 \end_layout
30229
30230 \end_inset
30231 </cell>
30232 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
30233 \begin_inset Text
30234
30235 \begin_layout Plain Layout
30236
30237 \end_layout
30238
30239 \end_inset
30240 </cell>
30241 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
30242 \begin_inset Text
30243
30244 \begin_layout Plain Layout
30245
30246 \end_layout
30247
30248 \end_inset
30249 </cell>
30250 </row>
30251 <row>
30252 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30253 \begin_inset Text
30254
30255 \begin_layout Plain Layout
30256
30257 \end_layout
30258
30259 \end_inset
30260 </cell>
30261 <cell alignment="center" valignment="top" usebox="none">
30262 \begin_inset Text
30263
30264 \begin_layout Plain Layout
30265
30266 \end_layout
30267
30268 \end_inset
30269 </cell>
30270 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30271 \begin_inset Text
30272
30273 \begin_layout Plain Layout
30274
30275 \end_layout
30276
30277 \end_inset
30278 </cell>
30279 </row>
30280 <row>
30281 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
30282 \begin_inset Text
30283
30284 \begin_layout Plain Layout
30285 Left Footer
30286 \end_layout
30287
30288 \end_inset
30289 </cell>
30290 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30291 \begin_inset Text
30292
30293 \begin_layout Plain Layout
30294 Center Footer
30295 \end_layout
30296
30297 \end_inset
30298 </cell>
30299 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
30300 \begin_inset Text
30301
30302 \begin_layout Plain Layout
30303 Right Footer
30304 \end_layout
30305
30306 \end_inset
30307 </cell>
30308 </row>
30309 </lyxtabular>
30310
30311 \end_inset
30312
30313
30314 \end_layout
30315
30316 \begin_layout Plain Layout
30317 \begin_inset Caption Standard
30318
30319 \begin_layout Plain Layout
30320 \begin_inset CommandInset label
30321 LatexCommand label
30322 name "fig:Page-layout"
30323
30324 \end_inset
30325
30326 Page layout with custom header and footer line.
30327 \end_layout
30328
30329 \end_inset
30330
30331
30332 \end_layout
30333
30334 \end_inset
30335
30336
30337 \end_layout
30338
30339 \begin_layout Subsection
30340 Definition
30341 \end_layout
30342
30343 \begin_layout Standard
30344 To define your header line, add all 3
30345 \begin_inset space ~
30346 \end_inset
30347
30348 header styles.
30349  The things you add to the styles appear on uneven pages, the things in
30350  the optional arguments on even pages.
30351  For single-sided documents, the optional arguments will not be used and
30352  can be omitted.
30353  If you leave a style or its argument empty, nothing appears in the output.
30354  Defining the footer line works similar.
30355 \end_layout
30356
30357 \begin_layout Standard
30358 For the definition, you will need some LaTeX-commands that are inserted
30359  as TeX code (menu 
30360 \family sans
30361 Insert\SpecialChar \menuseparator
30362 Te
30363 \begin_inset ERT
30364 status collapsed
30365
30366 \begin_layout Plain Layout
30367
30368 {}
30369 \end_layout
30370
30371 \end_inset
30372
30373 X
30374 \begin_inset space ~
30375 \end_inset
30376
30377 Code
30378 \family default
30379 ):
30380 \end_layout
30381
30382 \begin_layout Description
30383
30384 \backslash
30385 thepage prints the current page number
30386 \end_layout
30387
30388 \begin_layout Description
30389
30390 \backslash
30391 Roman{page} prints the current page number with capital roman numerals
30392 \end_layout
30393
30394 \begin_layout Description
30395
30396 \backslash
30397 roman{page} prints the current page number with small roman numerals
30398 \end_layout
30399
30400 \begin_layout Description
30401
30402 \backslash
30403 leftmark prints the current section number and title.
30404  If the document has chapters, it prints the current chapter number and
30405  title instead.
30406  It is called 
30407 \begin_inset Quotes eld
30408 \end_inset
30409
30410 leftmark
30411 \begin_inset Quotes prd
30412 \end_inset
30413
30414  because it usually goes in a left header.
30415 \end_layout
30416
30417 \begin_layout Description
30418
30419 \backslash
30420 rightmark prints the current subsection number and title.
30421  If the document has chapters, it prints the current section number and
30422  title instead.
30423  It is normally used in the right header.
30424 \end_layout
30425
30426 \begin_layout Subsection
30427 Default header/footer
30428 \end_layout
30429
30430 \begin_layout Standard
30431 The custom header/footer is not empty by default.
30432  The default header contains the chapter and section title and the center
30433  footer has the page number.
30434  In order to remove unwanted entries from the header/footer, include the
30435  relevant header/footer style in your document, but leave it blank.
30436  So, if you do not want a page number in the footer, include a blank 
30437 \family sans
30438 Center
30439 \begin_inset space ~
30440 \end_inset
30441
30442 Footer
30443 \family default
30444  style.
30445 \end_layout
30446
30447 \begin_layout Subsection
30448 Appearance
30449 \end_layout
30450
30451 \begin_layout Standard
30452 The header and footer will appear on normal pages.
30453  Some pages are different.
30454  The title page has a style of its own, and so does any page that starts
30455  a new part or chapter in your book.
30456  Such pages will not have the custom headers/footers, but that is normal.
30457  There is for example no need to print a header with the chapter name on
30458  the chapter page where the chapter heading is in big bold letters anyway.
30459 \end_layout
30460
30461 \begin_layout Subsubsection
30462 Header and footer decoration line
30463 \end_layout
30464
30465 \begin_layout Standard
30466 By default, you get a 0.4
30467 \begin_inset space \thinspace{}
30468 \end_inset
30469
30470 pt thick line below the header and no footer line.
30471  This can be changed in the document preamble with the commands 
30472 \series bold
30473
30474 \backslash
30475 headrulewidth
30476 \series default
30477  and 
30478 \series bold
30479
30480 \backslash
30481 footrulewidth
30482 \series default
30483  in the following scheme:
30484 \end_layout
30485
30486 \begin_layout Standard
30487
30488 \series bold
30489
30490 \backslash
30491 renewcommand{
30492 \backslash
30493 headrulewidth}{thickness}
30494 \end_layout
30495
30496 \begin_layout Standard
30497 Where thickness is a size in standard units like 
30498 \family sans
30499 pt
30500 \family default
30501  or 
30502 \family sans
30503 mm
30504 \family default
30505 .
30506  If you don't want a line, set the thickness to 0
30507 \begin_inset space \thinspace{}
30508 \end_inset
30509
30510 pt.
30511 \end_layout
30512
30513 \begin_layout Standard
30514 The lines can also be colored, but this requires more knowledge of LaTeX.
30515  If you really need this, have a look at the Internet or in sec.
30516 \begin_inset space ~
30517 \end_inset
30518
30519 4.4 of the book 
30520 \begin_inset CommandInset citation
30521 LatexCommand cite
30522 key "Mittelbach"
30523
30524 \end_inset
30525
30526 .
30527 \end_layout
30528
30529 \begin_layout Subsubsection
30530 Several header/footer lines
30531 \end_layout
30532
30533 \begin_layout Standard
30534 In case you need more than one text line as a header/footer, you can do
30535  this by adding a normal line break in the style definition.
30536  However, the default height of the header/footer is only the one of one
30537  text line.
30538  To expand the height, redefine the LaTeX length 
30539 \series bold
30540
30541 \backslash
30542 headheight
30543 \series default
30544  or 
30545 \series bold
30546
30547 \backslash
30548 footheight
30549 \series default
30550  in this scheme in your document preamble:
30551 \end_layout
30552
30553 \begin_layout Standard
30554
30555 \series bold
30556
30557 \backslash
30558 setlength{
30559 \backslash
30560 headheight}{height}
30561 \end_layout
30562
30563 \begin_layout Standard
30564 Where height is a size in standard units.
30565  If you don't know which amount of space is needed for the height, define
30566  your header/footer and preview your document as PDF.
30567  Then open the LaTeX logfile via the menu 
30568 \family sans
30569 Document\SpecialChar \menuseparator
30570 La
30571 \begin_inset ERT
30572 status collapsed
30573
30574 \begin_layout Plain Layout
30575
30576 {}
30577 \end_layout
30578
30579 \end_inset
30580
30581 TeX Log
30582 \family default
30583  and look via the button 
30584 \family sans
30585 Next
30586 \begin_inset space ~
30587 \end_inset
30588
30589 Warning
30590 \family default
30591  if you find a warning of the package 
30592 \series bold
30593 fancyhdr
30594 \series default
30595
30596 \begin_inset Index idx
30597 status collapsed
30598
30599 \begin_layout Plain Layout
30600 LaTeX-packages ! fancyhdr
30601 \end_layout
30602
30603 \end_inset
30604
30605 .
30606  If there is such a warning, it contains the space that you need at least
30607  for your header/footer.
30608 \end_layout
30609
30610 \begin_layout Subsection
30611 This example
30612 \end_layout
30613
30614 \begin_layout Standard
30615 This example demonstrates what can be done with custom header/footers.
30616  Don't use it for your document as it is just an example.
30617  This example consists of the following definition:
30618 \end_layout
30619
30620 \begin_layout Description
30621 Left
30622 \begin_inset space ~
30623 \end_inset
30624
30625 Header 
30626 \series bold
30627
30628 \backslash
30629 rightmark
30630 \series default
30631 , empty optional argument
30632 \end_layout
30633
30634 \begin_layout Description
30635 Center
30636 \begin_inset space ~
30637 \end_inset
30638
30639 Header empty, empty optional argument
30640 \end_layout
30641
30642 \begin_layout Description
30643 Right
30644 \begin_inset space ~
30645 \end_inset
30646
30647 Header empty, 
30648 \series bold
30649
30650 \backslash
30651 leftmark
30652 \series default
30653  in the optional argument
30654 \end_layout
30655
30656 \begin_layout Description
30657 Left
30658 \begin_inset space ~
30659 \end_inset
30660
30661 Footer empty, 
30662 \series bold
30663
30664 \backslash
30665 thepage
30666 \series default
30667  in the optional argument
30668 \end_layout
30669
30670 \begin_layout Description
30671 Center
30672 \begin_inset space ~
30673 \end_inset
30674
30675 Footer 
30676 \family sans
30677 \series bold
30678 \color red
30679 LyX's user guide
30680 \family default
30681 \series default
30682 \color inherit
30683
30684 \begin_inset Quotes eld
30685 \end_inset
30686
30687 Magic code:
30688 \begin_inset Newline newline
30689 \end_inset
30690
30691
30692 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
30693 \end_inset
30694
30695
30696 \begin_inset Quotes erd
30697 \end_inset
30698
30699  in the optional argument
30700 \end_layout
30701
30702 \begin_layout Description
30703 Right
30704 \begin_inset space ~
30705 \end_inset
30706
30707 Footer 
30708 \series bold
30709
30710 \backslash
30711 Roman{page}
30712 \series default
30713 , empty optional argument
30714 \end_layout
30715
30716 \begin_layout Description
30717
30718 \backslash
30719 headrulewidth set to 2
30720 \begin_inset space \thinspace{}
30721 \end_inset
30722
30723 pt
30724 \end_layout
30725
30726 \begin_layout Standard
30727 In principle you can use almost everything in headers/footers, except floats.
30728  For more special things like e.
30729 \begin_inset space \thinspace{}
30730 \end_inset
30731
30732 g.
30733 \begin_inset space ~
30734 \end_inset
30735
30736 thumb-indexes, see the manual of the 
30737 \series bold
30738 fancyhdr
30739 \series default
30740  package, 
30741 \begin_inset CommandInset citation
30742 LatexCommand cite
30743 key "fancyhdr"
30744
30745 \end_inset
30746
30747 .
30748 \end_layout
30749
30750 \begin_layout Standard
30751 \begin_inset Newpage clearpage
30752 \end_inset
30753
30754
30755 \end_layout
30756
30757 \begin_layout Standard
30758 \begin_inset ERT
30759 status open
30760
30761 \begin_layout Plain Layout
30762
30763
30764 \backslash
30765 pagestyle{headings}
30766 \end_layout
30767
30768 \end_inset
30769
30770
30771 \begin_inset Note Note
30772 status collapsed
30773
30774 \begin_layout Plain Layout
30775 switches back to page style with the default headings
30776 \end_layout
30777
30778 \end_inset
30779
30780
30781 \end_layout
30782
30783 \begin_layout Section
30784 Previewing Snippets of your Document
30785 \begin_inset CommandInset label
30786 LatexCommand label
30787 name "sec:Previewing-snippets-of"
30788
30789 \end_inset
30790
30791
30792 \begin_inset Index idx
30793 status collapsed
30794
30795 \begin_layout Plain Layout
30796 Instant preview
30797 \end_layout
30798
30799 \end_inset
30800
30801
30802 \begin_inset Index idx
30803 status collapsed
30804
30805 \begin_layout Plain Layout
30806 Document ! Preview
30807 \end_layout
30808
30809 \end_inset
30810
30811
30812 \end_layout
30813
30814 \begin_layout Standard
30815 LyX allows you to generate previews of sections of your document on the
30816  fly so you can see how they will look in the final document without having
30817  to break your train of thought with viewing the output.
30818 \end_layout
30819
30820 \begin_layout Subsection
30821 Prerequisites
30822 \end_layout
30823
30824 \begin_layout Standard
30825 To get previews working, you need the LaTeX package 
30826 \series bold
30827 preview-latex
30828 \series default
30829
30830 \begin_inset Index idx
30831 status collapsed
30832
30833 \begin_layout Plain Layout
30834 LaTeX-packages ! preview-latex
30835 \end_layout
30836
30837 \end_inset
30838
30839  (on some systems named simply 
30840 \series bold
30841 preview
30842 \series default
30843 ) installed.
30844  If it is not already installed, you will find it in the TeX-catalogue,
30845  
30846 \begin_inset CommandInset citation
30847 LatexCommand cite
30848 key "TeXCatalogue"
30849
30850 \end_inset
30851
30852  or in the package manager of your LaTeX-system.
30853  You obtain prettier results if you install the program 
30854 \family typewriter
30855 pnmcrop
30856 \family default
30857  from the 
30858 \family typewriter
30859 netpbm
30860 \family default
30861  package; for LyX on Windows this program and also the LaTeX-package are
30862  automatically installed together with LyX.
30863 \end_layout
30864
30865 \begin_layout Subsection
30866 Enabling previews
30867 \end_layout
30868
30869 \begin_layout Standard
30870 If you would for example like to see in LyX your math formulas typeset by
30871  LaTeX, activate the option 
30872 \family sans
30873 Display
30874 \begin_inset space ~
30875 \end_inset
30876
30877 Graphics
30878 \family default
30879  in the 
30880 \family sans
30881 Tools\SpecialChar \menuseparator
30882 Preferences 
30883 \family default
30884 dialog under 
30885 \family sans
30886 Look
30887 \begin_inset space ~
30888 \end_inset
30889
30890 and
30891 \begin_inset space ~
30892 \end_inset
30893
30894 feel\SpecialChar \menuseparator
30895 Display
30896 \family default
30897 .
30898  Then set 
30899 \family sans
30900 Instant
30901 \begin_inset space ~
30902 \end_inset
30903
30904 Preview
30905 \family default
30906  to 
30907 \family sans
30908 On
30909 \family default
30910 .
30911  The 
30912 \family sans
30913 Preview
30914 \begin_inset space ~
30915 \end_inset
30916
30917 Size
30918 \family default
30919  is the multiplication factor for the size.
30920 \end_layout
30921
30922 \begin_layout Standard
30923 Previews are generated when you load a document into LyX and when you finish
30924  editing an inset.
30925 \end_layout
30926
30927 \begin_layout Standard
30928 \begin_inset Note Greyedout
30929 status open
30930
30931 \begin_layout Plain Layout
30932
30933 \series bold
30934 Note:
30935 \series default
30936  Previews of an already loaded document are not in every case immediately
30937  generated by activating the option 
30938 \family sans
30939 Display
30940 \begin_inset space ~
30941 \end_inset
30942
30943 Graphics
30944 \family default
30945 .
30946  Reopening the documents will fix such problems.
30947 \end_layout
30948
30949 \end_inset
30950
30951
30952 \end_layout
30953
30954 \begin_layout Subsection
30955 Selected document parts
30956 \end_layout
30957
30958 \begin_layout Standard
30959 Besides math there are other cases where you might like to see a preview,
30960  for example things that LyX cannot render like rotated parts or things
30961  that are not yet supported by LyX.
30962  To do this, insert a preview inset via the menu 
30963 \family sans
30964 Insert\SpecialChar \menuseparator
30965 Preview
30966 \family default
30967 .
30968  Insert or paste the stuff that you want to preview into this inset.
30969  The preview will be generated when the cursor is outside the preview inset.
30970  If you click on the preview, you can edit the previewed stuff.
30971 \end_layout
30972
30973 \begin_layout Standard
30974 An example: To create rotated boxes, you use the LaTeX command 
30975 \series bold
30976
30977 \backslash
30978 rotatebox
30979 \series default
30980  which is not yet supported by LyX.
30981 \begin_inset Foot
30982 status collapsed
30983
30984 \begin_layout Plain Layout
30985
30986 \series bold
30987
30988 \backslash
30989 rotatebox
30990 \series default
30991  is explained in section 
30992 \emph on
30993 Rotated and Scaled Boxes
30994 \emph default
30995  of the 
30996 \emph on
30997 Embedded
30998 \begin_inset space ~
30999 \end_inset
31000
31001 Objects
31002 \emph default
31003  manual.
31004 \end_layout
31005
31006 \end_inset
31007
31008  Instead of the TeX Code boxes you want to see in LyX the final rotated
31009  boxes, for example to adjust the rotation angle to fit with the surrounding
31010  text.
31011  Therefore you create a preview inset and copy the text with the rotated
31012  boxes into it.
31013  Here is the result:
31014 \end_layout
31015
31016 \begin_layout Standard
31017 \begin_inset Preview
31018
31019 \begin_layout Standard
31020 This is a line
31021 \begin_inset ERT
31022 status collapsed
31023
31024 \begin_layout Plain Layout
31025
31026
31027 \backslash
31028 rotatebox[origin=r]{-60}{
31029 \end_layout
31030
31031 \end_inset
31032
31033
31034 \begin_inset Box Doublebox
31035 position "c"
31036 hor_pos "c"
31037 has_inner_box 0
31038 inner_pos "c"
31039 use_parbox 0
31040 use_makebox 0
31041 width "1in"
31042 special "width"
31043 height "1in"
31044 height_special "totalheight"
31045 status collapsed
31046
31047 \begin_layout Plain Layout
31048 with rotated
31049 \end_layout
31050
31051 \end_inset
31052
31053
31054 \begin_inset ERT
31055 status collapsed
31056
31057 \begin_layout Plain Layout
31058
31059 }
31060 \end_layout
31061
31062 \end_inset
31063
31064  framed text 
31065 \begin_inset ERT
31066 status collapsed
31067
31068 \begin_layout Plain Layout
31069
31070
31071 \backslash
31072 rotatebox[origin=lb]{60}{
31073 \end_layout
31074
31075 \end_inset
31076
31077
31078 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31079 \end_inset
31080
31081
31082 \begin_inset ERT
31083 status collapsed
31084
31085 \begin_layout Plain Layout
31086
31087 }
31088 \end_layout
31089
31090 \end_inset
31091
31092  and a formula.
31093 \end_layout
31094
31095 \end_inset
31096
31097
31098 \end_layout
31099
31100 \begin_layout Standard
31101 Previewing works also for colors.
31102  In this example a special framed, colored box was created using the LaTeX
31103  command 
31104 \series bold
31105
31106 \backslash
31107 fcolorbox
31108 \series default
31109 :
31110 \begin_inset Foot
31111 status collapsed
31112
31113 \begin_layout Plain Layout
31114
31115 \series bold
31116
31117 \backslash
31118 fcolorbox
31119 \series default
31120  is explained in section 
31121 \emph on
31122 Colored Boxes
31123 \emph default
31124  of the 
31125 \emph on
31126 Embedded
31127 \begin_inset space ~
31128 \end_inset
31129
31130 Objects
31131 \emph default
31132  manual.
31133 \end_layout
31134
31135 \end_inset
31136
31137
31138 \end_layout
31139
31140 \begin_layout Standard
31141 \begin_inset Preview
31142
31143 \begin_layout Standard
31144 \begin_inset ERT
31145 status collapsed
31146
31147 \begin_layout Plain Layout
31148
31149
31150 \backslash
31151 fboxrule 1mm 
31152 \backslash
31153 fboxsep 1mm
31154 \end_layout
31155
31156 \end_inset
31157
31158
31159 \begin_inset ERT
31160 status collapsed
31161
31162 \begin_layout Plain Layout
31163
31164
31165 \backslash
31166 fcolorbox{cyan}{magenta}{
31167 \end_layout
31168
31169 \end_inset
31170
31171 This is text within a colored, framed box.
31172 \begin_inset ERT
31173 status collapsed
31174
31175 \begin_layout Plain Layout
31176
31177 }
31178 \end_layout
31179
31180 \end_inset
31181
31182
31183 \end_layout
31184
31185 \end_inset
31186
31187
31188 \end_layout
31189
31190 \begin_layout Standard
31191 \begin_inset VSpace medskip
31192 \end_inset
31193
31194
31195 \end_layout
31196
31197 \begin_layout Standard
31198 If LyX does not show a preview, make sure that you enabled previews as described
31199  above and also make sure that TeX Code in the preview inset is valid and
31200  that you loaded the LaTeX packages in your document preamble that are required
31201  by the TeX Code.
31202  If LyX cannot create a preview, you will in most cases also not be able
31203  to view your document due to LaTeX errors.
31204  So if you have to use some TeX Code and don't know if it is correct, the
31205  preview inset is a nice method to check it without the need to view the
31206  whole document.
31207 \end_layout
31208
31209 \begin_layout Subsection
31210 LaTeX source code
31211 \end_layout
31212
31213 \begin_layout Standard
31214 You can preview the LaTeX source of the whole document or parts of it.
31215  Use the menu 
31216 \family sans
31217 View\SpecialChar \menuseparator
31218 View
31219 \begin_inset space ~
31220 \end_inset
31221
31222 Source
31223 \family default
31224  and a window will be shown where you can see the LaTeX-source code.
31225  The window shows the source of the whole paragraph where the cursor is
31226  currently in.
31227  You can also select document parts in LyX's main window, then only this
31228  selection (when it is more than one paragraph) is shown as source code.
31229  To view the whole document as source, enable the corresponding option in
31230  the source view window.
31231 \end_layout
31232
31233 \begin_layout Section
31234 Advanced Find and Replace
31235 \begin_inset CommandInset label
31236 LatexCommand label
31237 name "sec:Advanced-Find-and"
31238
31239 \end_inset
31240
31241
31242 \begin_inset Index idx
31243 status collapsed
31244
31245 \begin_layout Plain Layout
31246 Replace
31247 \end_layout
31248
31249 \end_inset
31250
31251
31252 \begin_inset Index idx
31253 status collapsed
31254
31255 \begin_layout Plain Layout
31256 Find
31257 \end_layout
31258
31259 \end_inset
31260
31261
31262 \end_layout
31263
31264 \begin_layout Subsection
31265 Introduction
31266 \end_layout
31267
31268 \begin_layout Standard
31269 The advanced find and replace feature of LyX allows for searching of complex,
31270  format-sensitive text segments and mathematics contents within LyX documents.
31271  It is an enhancement of the standard (quick) find and replace feature.
31272  The key-features are:
31273 \end_layout
31274
31275 \begin_layout Itemize
31276 Both searching of text and of mathematical formulas is allowed, where the
31277  latter is done by entering mathematics in the usual way; not only entire
31278  mathematical formulas are found, but also parts occurring within more complex
31279  formulas
31280 \end_layout
31281
31282 \begin_layout Itemize
31283 Search may be format-insensitive, so that the searched text is found in
31284  any context/style (standard text, section headings, notes, and even mathematics
31285 ), or it may be format-sensitive, so that, for example, a word entered with
31286  a section heading will only be found within section headings
31287 \end_layout
31288
31289 \begin_layout Itemize
31290 Search may be widened to a specific 
31291 \emph on
31292 scope
31293 \emph default
31294 , i.
31295 \begin_inset space \thinspace{}
31296 \end_inset
31297
31298 e.
31299 \begin_inset space ~
31300 \end_inset
31301
31302 a set of files which may be all the children of the document being edited,
31303  all the open files, or all the manuals available from the 
31304 \family sans
31305 Help
31306 \family default
31307  menu
31308 \end_layout
31309
31310 \begin_layout Itemize
31311 Replace may optionally preserve capitalization, so that the replaced text
31312  capitalization is adapted to the matching text (i.
31313 \begin_inset space \thinspace{}
31314 \end_inset
31315
31316 e.
31317 \begin_inset space ~
31318 \end_inset
31319
31320 all lowercase, all uppercase, first letter uppercase followed by lowercase)
31321 \end_layout
31322
31323 \begin_layout Subsection
31324 Basic usage
31325 \end_layout
31326
31327 \begin_layout Standard
31328 The advanced find and replace feature is activated through the menu 
31329 \family sans
31330 Edit\SpecialChar \menuseparator
31331 Find & Replace
31332 \noun on
31333  (
31334 \noun default
31335 Advanced
31336 \noun on
31337 )
31338 \family default
31339 \noun default
31340  (shortcut 
31341 \begin_inset Info
31342 type  "shortcut"
31343 arg   "dialog-show findreplaceadv"
31344 \end_inset
31345
31346 ) or the toolbar button 
31347 \begin_inset Info
31348 type  "icon"
31349 arg   "dialog-toggle findreplaceadv"
31350 \end_inset
31351
31352 .
31353  This opens the 
31354 \family sans
31355 Advanced Find and Replace
31356 \family default
31357  dialog.
31358 \end_layout
31359
31360 \begin_layout Subsubsection
31361 Searching for text
31362 \end_layout
31363
31364 \begin_layout Standard
31365 Enter into the 
31366 \family sans
31367 Find
31368 \family default
31369  LyX mini-editor a simple word, and search for occurrences of it by clicking
31370  on the 
31371 \family sans
31372 Find Next
31373 \family default
31374  button at the bottom of the dialog (or just press the 
31375 \begin_inset Info
31376 type  "shortcut"
31377 arg   "break-paragraph"
31378 \end_inset
31379
31380  key).
31381  The entered word is found both in text mode and in math mode, and in emphasized
31382 , bold or normal face, and in both in section titles and in standard text.
31383  Pressing repeatedly 
31384 \begin_inset Info
31385 type  "shortcut"
31386 arg   "break-paragraph"
31387 \end_inset
31388
31389  keeps searching forward while pressing 
31390 \family sans
31391 Shift+Return
31392 \family default
31393  searches backwards.
31394 \end_layout
31395
31396 \begin_layout Standard
31397 The 
31398 \family sans
31399 Case sensitive
31400 \family default
31401  option allows matches to occur only with the same case as entered in the
31402  
31403 \family sans
31404 Find
31405 \family default
31406  editor.
31407  The 
31408 \family sans
31409 Whole words
31410 \family default
31411  option allows matches to occur only at word boundaries.
31412 \end_layout
31413
31414 \begin_layout Subsubsection
31415 Searching for mathematics
31416 \end_layout
31417
31418 \begin_layout Standard
31419 Mathematical formulas may be searched for by typing them the 
31420 \family sans
31421 Find
31422 \family default
31423  editor, such as 
31424 \begin_inset Formula $x^{2}$
31425 \end_inset
31426
31427  or also something more complex like 
31428 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
31429 \end_inset
31430
31431 .
31432  When searching for a formula, it is found both when it is alone and when
31433  it occurs in sub-formulas and nested parts of sub-formulas.
31434  For example the mentioned segments would be found in something like 
31435 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}.$
31436 \end_inset
31437
31438
31439 \end_layout
31440
31441 \begin_layout Subsubsection
31442 Style-aware search
31443 \end_layout
31444
31445 \begin_layout Standard
31446 It is also possible to search for text with specific styles.
31447  This is done by switching to the 
31448 \family sans
31449 Settings
31450 \family default
31451  tab of the dialog and unchecking the 
31452 \family sans
31453 Ignore format
31454 \family default
31455  option.
31456  This way, entering in the 
31457 \family sans
31458 Find
31459 \family default
31460  editor
31461 \end_layout
31462
31463 \begin_layout Itemize
31464 a plain word and searching for it would not find instances of the word occurring
31465  in emphasized or boldface.
31466 \end_layout
31467
31468 \begin_layout Itemize
31469 an emphasized or boldface word and searching for it would find the respective
31470  instances with same face only, and within the same text style only.
31471 \end_layout
31472
31473 \begin_layout Itemize
31474 a plain word in a section heading, and searching for it, finds occurrences
31475  of if only within section headings.
31476  Also, if the text to search is given an emphasized or bold face, in addition
31477  to a section style, then it is found only when occurring with the same
31478  style.
31479 \end_layout
31480
31481 \begin_layout Itemize
31482 a displayed formula will only find instances of this formula that are also
31483  displayed formulas (and not inline formulas).
31484 \end_layout
31485
31486 \begin_layout Subsubsection
31487 Replace
31488 \end_layout
31489
31490 \begin_layout Standard
31491 The document segments entered in the 
31492 \family sans
31493 Find
31494 \family default
31495  editor can be replaced with the text segments entered in the 
31496 \family sans
31497 Replace
31498 \family default
31499 \noun on
31500  
31501 \noun default
31502 editor.
31503  In order to find the next occurrence and replace it, click on the 
31504 \family sans
31505 Replace
31506 \family default
31507  button or alternatively
31508 \noun on
31509  
31510 \noun default
31511 press 
31512 \begin_inset Info
31513 type  "shortcut"
31514 arg   "break-paragraph"
31515 \end_inset
31516
31517  or 
31518 \family sans
31519 Shift+Return
31520 \family default
31521  while the cursor is in the 
31522 \family sans
31523 Replace
31524 \family default
31525 \noun on
31526  
31527 \noun default
31528 editor.
31529 \end_layout
31530
31531 \begin_layout Standard
31532 You can replace with full-featured formatted LyX segments.
31533  Typical scenarios in which to use this capability may be (just to mention
31534  a few):
31535 \end_layout
31536
31537 \begin_layout Itemize
31538 replacing occurrences of a word with a customized formatted version of the
31539  same word, for example replacing occurrences of a name like 
31540 \begin_inset Quotes eld
31541 \end_inset
31542
31543 func()
31544 \begin_inset Quotes erd
31545 \end_inset
31546
31547  with its typewriter version 
31548 \begin_inset Quotes eld
31549 \end_inset
31550
31551
31552 \family typewriter
31553 func()
31554 \family default
31555
31556 \begin_inset Quotes erd
31557 \end_inset
31558
31559
31560 \end_layout
31561
31562 \begin_layout Itemize
31563 performing a notation rework of mathematical symbols, for example replacing
31564  occurrences of 
31565 \begin_inset Quotes eld
31566 \end_inset
31567
31568
31569 \begin_inset Formula $R$
31570 \end_inset
31571
31572
31573 \begin_inset Quotes erd
31574 \end_inset
31575
31576  with 
31577 \begin_inset Quotes eld
31578 \end_inset
31579
31580
31581 \begin_inset Formula $\mathbb{R}$
31582 \end_inset
31583
31584
31585 \begin_inset Quotes erd
31586 \end_inset
31587
31588  (you may want to enable the 
31589 \family sans
31590 Whole words
31591 \family default
31592  and 
31593 \family sans
31594 Case sensitive
31595 \family default
31596  options and disable the 
31597 \family sans
31598 Ignore format
31599 \family default
31600  option in the 
31601 \family sans
31602 Settings
31603 \family default
31604  tab, in order to avoid replacing all 
31605 \begin_inset Quotes eld
31606 \end_inset
31607
31608 R
31609 \begin_inset Quotes erd
31610 \end_inset
31611
31612  letters occurring in normal text), or occurrences of 
31613 \begin_inset Formula $x_{j}^{i}$
31614 \end_inset
31615
31616  with 
31617 \begin_inset Formula $x_{i,\, j}$
31618 \end_inset
31619
31620 , or occurrences of 
31621 \begin_inset Formula $x[k]$
31622 \end_inset
31623
31624  with 
31625 \begin_inset Formula $x_{k}$
31626 \end_inset
31627
31628 .
31629 \end_layout
31630
31631 \begin_layout Subsection
31632 Advanced usage
31633 \end_layout
31634
31635 \begin_layout Standard
31636 There is a regular expression (regexp) based searching facility.
31637 \begin_inset Foot
31638 status collapsed
31639
31640 \begin_layout Plain Layout
31641 A good explanation of regular expressions is given in this Wikipedia entry:
31642  
31643 \begin_inset CommandInset href
31644 LatexCommand href
31645 target "http://en.wikipedia.org/wiki/Regular_expression"
31646
31647 \end_inset
31648
31649 .
31650 \end_layout
31651
31652 \end_inset
31653
31654  You can search for regular expression by inserting a regexp inset into
31655  the 
31656 \family sans
31657 Find
31658 \family default
31659  editor.
31660  This is done via the menu 
31661 \family sans
31662 Insert\SpecialChar \menuseparator
31663 Insert Regular Expression
31664 \family default
31665  while the cursor is in the 
31666 \family sans
31667 Find
31668 \family default
31669  editor.
31670  Characters entered within regexp insets are matched according to the regular
31671  expression matching rules
31672 \begin_inset Foot
31673 status collapsed
31674
31675 \begin_layout Plain Layout
31676 Under the constraint that any (sub)expression must match a well-formed LyX
31677  segment, i.
31678 \begin_inset space \thinspace{}
31679 \end_inset
31680
31681 e.
31682 \begin_inset space ~
31683 \end_inset
31684
31685 when matching LaTeX code, no segments with unbalanced {} braces are allowed
31686  to match expressions.
31687 \end_layout
31688
31689 \end_inset
31690
31691 , while text entered outside regexp insets is matched exactly against the
31692  same text in the document.
31693  It is allowed to cut and paste regexp-mode insets as usual.
31694  Examples of using such a feature may be:
31695 \end_layout
31696
31697 \begin_layout Enumerate
31698 Searching for all fractions with a given denominator: for example, entering
31699  in the 
31700 \family sans
31701 Find
31702 \family default
31703  editor the fraction 
31704 \begin_inset Formula $\frac{.*}{1+x^{2}}$
31705 \end_inset
31706
31707  (where the 
31708 \begin_inset Formula $.*$
31709 \end_inset
31710
31711  on the numerator is the match-everything regular expression) finds all
31712  fractions with the given denominator.
31713 \end_layout
31714
31715 \begin_layout Enumerate
31716 Searching for all text with a given style: for example, after unchecking
31717  the 
31718 \family sans
31719 Ignore format
31720 \family default
31721  option from the 
31722 \family sans
31723 Settings
31724 \family default
31725  tab, entering a 
31726 \series bold
31727
31728 \begin_inset Formula $.*$
31729 \end_inset
31730
31731
31732 \series default
31733  regular expression and adding for it an emphasized or bold face, finds
31734  all emphasized and bold face text, respectively.
31735  Also, inserting a 
31736 \begin_inset Formula $.*$
31737 \end_inset
31738
31739  regular expression in a bullet or enumerated list or a section heading,
31740  you can find all bullet or enumerated lists or section headings.
31741 \end_layout
31742
31743 \begin_layout Standard
31744 Finally, references to (sub)expressions in regexp may be used as usual:
31745  Enclosing parts of the expression within round braces 
31746 \begin_inset Formula $()$
31747 \end_inset
31748
31749 , and referring back to them through 
31750 \begin_inset Formula $\backslash1$
31751 \end_inset
31752
31753
31754 \begin_inset Formula $\backslash2$
31755 \end_inset
31756
31757 , etc..
31758  For example, try searching for the regexp
31759 \begin_inset Newline newline
31760 \end_inset
31761
31762 [[:space:]]([[:alpha:]]+)[[:space:]]
31763 \backslash
31764 1[[:space:]]
31765 \begin_inset Newline newline
31766 \end_inset
31767
31768 in order to find word repetitions, if there are any.
31769 \end_layout
31770
31771 \begin_layout Standard
31772 The usage of back references in the replaced text is not (yet) implemented.
31773 \end_layout
31774
31775 \begin_layout Standard
31776 \begin_inset Note Greyedout
31777 status open
31778
31779 \begin_layout Plain Layout
31780
31781 \series bold
31782 \color none
31783 Note:
31784 \series default
31785  Back references work both when occurring within the same regexp, and when
31786  occurring in multiple different regexps, where the numbering of back-referenced
31787  sub-expressions is absolute.
31788  I.
31789 \begin_inset space \thinspace{}
31790 \end_inset
31791
31792 e.
31793 \begin_inset space ~
31794 \end_inset
31795
31796
31797 \begin_inset Formula $\backslash1$
31798 \end_inset
31799
31800  always refers to the first occurrence of 
31801 \begin_inset Formula $()$
31802 \end_inset
31803
31804  in all entered regexps.
31805 \end_layout
31806
31807 \end_inset
31808
31809
31810 \end_layout
31811
31812 \begin_layout Section
31813 Spell Checking
31814 \begin_inset CommandInset label
31815 LatexCommand label
31816 name "sec:Spellchecking"
31817
31818 \end_inset
31819
31820
31821 \begin_inset Index idx
31822 status collapsed
31823
31824 \begin_layout Plain Layout
31825 Spell checking
31826 \end_layout
31827
31828 \end_inset
31829
31830
31831 \end_layout
31832
31833 \begin_layout Standard
31834 LyX has a built-in spell checker.
31835  The menu
31836 \family sans
31837  Tools\SpecialChar \menuseparator
31838 Spellchecker
31839 \family default
31840 , the key 
31841 \family sans
31842 F7
31843 \family default
31844  or the toolbar button 
31845 \begin_inset Info
31846 type  "icon"
31847 arg   "dialog-show spellchecker"
31848 \end_inset
31849
31850  starts the spell checking from either the current cursor position or the
31851  beginning of the currently selected text.
31852  A sidebar will appear showing any incorrect (or unknown) word found, allowing
31853  you to edit and replace it in a second line.
31854  Whenever an unknown word is found, the word is highlighted and the text
31855  scrolled so that it is visible.
31856  In the spellchecker sidebar, there is a box showing suggestions for a correctio
31857 n, if any could be found.
31858  Clicking on one of the corrections will copy it to the 
31859 \family sans
31860 Replacement
31861 \family default
31862  field, double-click directly invokes the replacement.
31863  Unknown but correctly typed words can be added to the personal dictionary.
31864 \end_layout
31865
31866 \begin_layout Standard
31867 By default, the dictionary file used is determined by the document language
31868  that is set in the 
31869 \family sans
31870 Document\SpecialChar \menuseparator
31871 Settings
31872 \family default
31873  dialog.
31874  You can specify the language of a word in the spellchecker dialog by choosing
31875  a different one at the top of the dialog.
31876  LyX can correctly spell check documents containing multiple languages.
31877  This works if you have marked the different languages appropriately and
31878  have the spell checker dictionaries installed.
31879  LyX automatically switches to the appropriate dictionary file.
31880 \end_layout
31881
31882 \begin_layout Subsection
31883 Further Settings
31884 \end_layout
31885
31886 \begin_layout Standard
31887 In LyX's preferences dialog under 
31888 \family sans
31889 Language
31890 \begin_inset space ~
31891 \end_inset
31892
31893 Setting\SpecialChar \menuseparator
31894 Spellchecker
31895 \family default
31896  you can set the following things:
31897 \end_layout
31898
31899 \begin_layout Description
31900 Spellchecker
31901 \begin_inset space ~
31902 \end_inset
31903
31904 engine Select the library LyX should use for spell checking.
31905  Depending on your platform, 
31906 \family typewriter
31907 aspell
31908 \family default
31909
31910 \family typewriter
31911 hunspell
31912 \family default
31913  or 
31914 \family typewriter
31915 enchant
31916 \begin_inset Foot
31917 status collapsed
31918
31919 \begin_layout Plain Layout
31920 Enchant itself is a wrapper library having different configurable back-ends.
31921  Please consult the documentation or man-page of it to learn more.
31922 \end_layout
31923
31924 \end_inset
31925
31926
31927 \family default
31928  are available.
31929  On Windows only 
31930 \family typewriter
31931 hunspell
31932 \family default
31933  is available.
31934 \end_layout
31935
31936 \begin_layout Description
31937 Alternative
31938 \begin_inset space ~
31939 \end_inset
31940
31941 language If this field is not empty, LyX will always use the given language
31942  for the spell checking, no matter what the document language is.
31943 \end_layout
31944
31945 \begin_layout Description
31946 Escape
31947 \begin_inset space ~
31948 \end_inset
31949
31950 characters Allows you to add non-standard characters that the spell checker
31951  should escape, e.
31952 \begin_inset space \thinspace{}
31953 \end_inset
31954
31955 g.
31956 \begin_inset space \space{}
31957 \end_inset
31958
31959 German umlauts.
31960  This should normally not be needed.
31961 \end_layout
31962
31963 \begin_layout Description
31964 Accept
31965 \begin_inset space ~
31966 \end_inset
31967
31968 compound
31969 \begin_inset space ~
31970 \end_inset
31971
31972 words Prevent the spell checker from complaining about compounded words
31973  like 
31974 \begin_inset Quotes eld
31975 \end_inset
31976
31977 passthrough
31978 \begin_inset Quotes erd
31979 \end_inset
31980
31981 .
31982 \end_layout
31983
31984 \begin_layout Description
31985 Spellcheck
31986 \begin_inset space ~
31987 \end_inset
31988
31989 continuously Check the spelling of your document as you type it.
31990  Misspelled words get underlined with a dotted red line.
31991  By right-clicking on an underlined word, suggestions from the spellchecker
31992  appear in the context menu.
31993  Choosing one of them will replace the misspelled word with the suggested
31994  word.
31995 \end_layout
31996
31997 \begin_layout Description
31998 Spellcheck
31999 \begin_inset space ~
32000 \end_inset
32001
32002 notes
32003 \begin_inset space ~
32004 \end_inset
32005
32006 and
32007 \begin_inset space ~
32008 \end_inset
32009
32010 comments If enabled, the spelling of non-printed document contents is checked
32011  as well.
32012 \end_layout
32013
32014 \begin_layout Section
32015 Thesaurus
32016 \begin_inset Index idx
32017 status collapsed
32018
32019 \begin_layout Plain Layout
32020 Thesaurus
32021 \end_layout
32022
32023 \end_inset
32024
32025
32026 \begin_inset CommandInset label
32027 LatexCommand label
32028 name "sec:Thesaurus"
32029
32030 \end_inset
32031
32032
32033 \end_layout
32034
32035 \begin_layout Standard
32036 LyX provides a multilingual thesaurus.
32037  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
32038  (namely the 
32039 \family typewriter
32040 MyThes
32041 \family default
32042
32043 \begin_inset Foot
32044 status collapsed
32045
32046 \begin_layout Plain Layout
32047 \begin_inset CommandInset href
32048 LatexCommand href
32049 target "http://lingucomponent.openoffice.org/thesaurus.html"
32050
32051 \end_inset
32052
32053
32054 \end_layout
32055
32056 \end_inset
32057
32058  thesaurus library, which is included in LyX).
32059  Therefore, LyX can directly access OpenOffice thesaurus dictionaries, which
32060  are available for many languages.
32061 \end_layout
32062
32063 \begin_layout Standard
32064 This section describes how new dictionaries are installed and set up for
32065  the use with LyX.
32066 \end_layout
32067
32068 \begin_layout Subsection
32069 Setting up the thesaurus
32070 \end_layout
32071
32072 \begin_layout Standard
32073 The 
32074 \family typewriter
32075 MyThes
32076 \family default
32077 \emph on
32078 /
32079 \emph default
32080 OpenOffice thesauri consist of two files per language: A file with the suffix
32081  
32082 \emph on
32083 *.dat
32084 \emph default
32085  containing the data and an index file with the suffix 
32086 \emph on
32087 *.idx
32088 \emph default
32089 .
32090  The standardized file names include the language code for the given language
32091  (e.
32092 \begin_inset space \thinspace{}
32093 \end_inset
32094
32095 g.
32096  en_EN for English).
32097  For instance, the English files are named:
32098 \end_layout
32099
32100 \begin_layout Itemize
32101 th_en_EN_v2.idx
32102 \end_layout
32103
32104 \begin_layout Itemize
32105 th_en_EN_v2.dat
32106 \end_layout
32107
32108 \begin_layout Standard
32109 If you have LibreOffice or OpenOffice and its thesaurus installed, these
32110  files should be already on your system.
32111  If not, you can get dictionaries either from 
32112 \begin_inset Flex URL
32113 status collapsed
32114
32115 \begin_layout Plain Layout
32116
32117 http://www.lyx.org/trac/browser/dictionaries/trunk/thes
32118 \end_layout
32119
32120 \end_inset
32121
32122  or from the site 
32123 \begin_inset Flex URL
32124 status collapsed
32125
32126 \begin_layout Plain Layout
32127
32128 http://extensions.services.openoffice.org/en/search/node/thesaurus
32129 \end_layout
32130
32131 \end_inset
32132
32133 .
32134 \begin_inset Foot
32135 status collapsed
32136
32137 \begin_layout Plain Layout
32138 Note that, as of OpenOffice
32139 \begin_inset space ~
32140 \end_inset
32141
32142 3.0, the files on 
32143 \begin_inset Flex URL
32144 status collapsed
32145
32146 \begin_layout Plain Layout
32147
32148 http://extensions.services.openoffice.org
32149 \end_layout
32150
32151 \end_inset
32152
32153  are usually packed in extension archives (
32154 \emph on
32155 *.oxt
32156 \emph default
32157 ) that contain other files such as spellchecker dictionaries besides the
32158  thesauri.
32159  These archives are simple zip files, so you can unpack them as you would
32160  unpack a zip archive.
32161 \end_layout
32162
32163 \end_inset
32164
32165  Put the 
32166 \emph on
32167 *.idx
32168 \emph default
32169  and 
32170 \emph on
32171 *.dat
32172 \emph default
32173  files of all languages you want to use into one directory (do not use subfolder
32174 s), and specify the path to this directory in 
32175 \family sans
32176 Tools\SpecialChar \menuseparator
32177 Preferences\SpecialChar \menuseparator
32178 Paths
32179 \family default
32180 .
32181  Now the thesaurus should be ready to use.
32182 \end_layout
32183
32184 \begin_layout Subsection
32185 Using the thesaurus
32186 \end_layout
32187
32188 \begin_layout Standard
32189 To start the thesaurus, use the menu 
32190 \family sans
32191 Tools\SpecialChar \menuseparator
32192 Thesaurus
32193 \family default
32194  or the toolbar button 
32195 \begin_inset Info
32196 type  "icon"
32197 arg   "thesaurus-entry"
32198 \end_inset
32199
32200  while the cursor is at the word you want to look up or while a word is
32201  selected.
32202  A dialog pops up showing you probably related words that you can use as
32203  a replacement.
32204  The proposals are grouped into categories.
32205  Note that, for some languages (such as English), the thesaurus does not
32206  only show equivalent words (synonyms), but also generic terms (such as
32207  
32208 \emph on
32209 organism
32210 \emph default
32211  for 
32212 \emph on
32213 plant
32214 \emph default
32215 ), related terms (such as 
32216 \emph on
32217 political
32218 \begin_inset space ~
32219 \end_inset
32220
32221 theory
32222 \emph default
32223  for 
32224 \emph on
32225 anarchistic
32226 \emph default
32227 ), compounds (such as 
32228 \emph on
32229 tree
32230 \begin_inset space ~
32231 \end_inset
32232
32233 diagram
32234 \emph default
32235 , if you look for 
32236 \emph on
32237 tree
32238 \emph default
32239 ) and opposites (antonyms) (such as 
32240 \emph on
32241 girl
32242 \emph default
32243  for 
32244 \emph on
32245 boy
32246 \emph default
32247 ).
32248  Generic terms, related terms and antonyms are marked as such.
32249 \end_layout
32250
32251 \begin_layout Standard
32252 The language is automatically chosen from the language at the cursor, but
32253  you can also switch it in the dialog, as you can enter new words to look
32254  up directly there.
32255 \end_layout
32256
32257 \begin_layout Standard
32258 Note that the thesaurus cannot handle phrases (only compounds that are in
32259  the dictionary, such as the above 
32260 \emph on
32261 tree diagram
32262 \emph default
32263 ), and you have to use the so called lemma form, i.
32264 \begin_inset space \thinspace{}
32265 \end_inset
32266
32267 e.
32268 \begin_inset space \space{}
32269 \end_inset
32270
32271 the form that is used in the dictionaries (for many languages: first person
32272  singular indicative active for nouns, infinitive for verbs).
32273  For example looking up the word form
32274 \change_deleted 2090807402 1338765333
32275
32276 \emph on
32277 reports
32278 \emph default
32279  or
32280 \change_unchanged
32281  
32282 \emph on
32283 reporting
32284 \emph default
32285  yields no results, while results are shown for the word form 
32286 \emph on
32287 report
32288 \emph default
32289 .
32290  
32291 \change_inserted 2090807402 1338765282
32292 The thesuarus is able to resolve inflected forms (so if you enter 
32293 \emph on
32294 reports
32295 \emph default
32296 , it will resolve it to the form 
32297 \emph on
32298 report
32299 \emph default
32300  which is in the dictionary).
32301  However, this may not always work.
32302  So if you do not get any results for inflected forms, try the lemma form.
32303
32304 \change_unchanged
32305  Your best bet is to highlight only the relevant parts of such word (e.
32306 \begin_inset space \thinspace{}
32307 \end_inset
32308
32309 g.
32310 \begin_inset space \space{}
32311 \end_inset
32312
32313
32314 \emph on
32315 report
32316 \emph default
32317  in 
32318 \emph on
32319 report
32320 \emph default
32321 s), then you get proposals without adjusting the query in the dialog, and
32322  also the replacement will probably be correct (as only the highlighted
32323  part will be replaced, thus the ending remains).
32324 \end_layout
32325
32326 \begin_layout Section
32327 Change Tracking
32328 \begin_inset Index idx
32329 status collapsed
32330
32331 \begin_layout Plain Layout
32332 Change Tracking
32333 \end_layout
32334
32335 \end_inset
32336
32337
32338 \begin_inset Index idx
32339 status collapsed
32340
32341 \begin_layout Plain Layout
32342 Document ! Change Tracking
32343 \end_layout
32344
32345 \end_inset
32346
32347
32348 \begin_inset CommandInset label
32349 LatexCommand label
32350 name "sec:Change-Tracking"
32351
32352 \end_inset
32353
32354
32355 \end_layout
32356
32357 \begin_layout Standard
32358 When you work on a document collaboratively it is extremely useful to be
32359  able to see changes that others have made highlighted in the document.
32360  You can then decide if you want to accept a change or not.
32361  This can be achieved by turning on change tracking in the menu 
32362 \family sans
32363 Document\SpecialChar \menuseparator
32364 Change
32365 \begin_inset space ~
32366 \end_inset
32367
32368 Tracking\SpecialChar \menuseparator
32369 Track
32370 \begin_inset space ~
32371 \end_inset
32372
32373 Changes
32374 \family default
32375 .
32376 \end_layout
32377
32378 \begin_layout Standard
32379 Changes made in the document will then be highlighted by strokes and colors:
32380  
32381 \bar under
32382 \color blue
32383 underlined text
32384 \bar default
32385 \color inherit
32386  is an addition, 
32387 \strikeout on
32388 \color blue
32389 canceled text
32390 \strikeout default
32391 \color inherit
32392  is a deletion.
32393  The color depends on the author that made the change.
32394  You can change the color in LyX's preferences dialog under 
32395 \family sans
32396 Look
32397 \begin_inset space ~
32398 \end_inset
32399
32400 and
32401 \begin_inset space ~
32402 \end_inset
32403
32404 feel
32405 \family default
32406
32407 \family sans
32408 Colors
32409 \family default
32410 .
32411 \begin_inset Index idx
32412 status collapsed
32413
32414 \begin_layout Plain Layout
32415 Color ! Change tracking
32416 \end_layout
32417
32418 \end_inset
32419
32420  The author and the date of the change are shown in LyX's status bar when
32421  the cursor is in changed text.
32422  The same information is shown when you use the toolbar button 
32423 \begin_inset Info
32424 type  "icon"
32425 arg   "changes-merge"
32426 \end_inset
32427
32428 .
32429 \end_layout
32430
32431 \begin_layout Standard
32432 When change tracking is activated, you will see the review toolbar in LyX:
32433 \begin_inset Index idx
32434 status collapsed
32435
32436 \begin_layout Plain Layout
32437 Toolbar ! Review
32438 \end_layout
32439
32440 \end_inset
32441
32442
32443 \end_layout
32444
32445 \begin_layout Standard
32446 \begin_inset VSpace defskip
32447 \end_inset
32448
32449
32450 \end_layout
32451
32452 \begin_layout Standard
32453 \begin_inset Graphics
32454         filename clipart/ChangesToolbar.png
32455         scale 90
32456
32457 \end_inset
32458
32459
32460 \end_layout
32461
32462 \begin_layout Standard
32463 \begin_inset VSpace defskip
32464 \end_inset
32465
32466
32467 \end_layout
32468
32469 \begin_layout Standard
32470 The review toolbar as shown above contains from left to right the following
32471  buttons:
32472 \end_layout
32473
32474 \begin_layout Standard
32475 \begin_inset VSpace defskip
32476 \end_inset
32477
32478
32479 \end_layout
32480
32481 \begin_layout Standard
32482 \begin_inset Tabular
32483 <lyxtabular version="3" rows="10" columns="2">
32484 <features rotate="0" islongtable="true" longtabularalignment="center">
32485 <column alignment="left" valignment="top" width="0">
32486 <column alignment="left" valignment="top" width="0">
32487 <row interlinespace="2.5mm">
32488 <cell alignment="center" valignment="top" usebox="none">
32489 \begin_inset Text
32490
32491 \begin_layout Plain Layout
32492
32493 \family sans
32494 \begin_inset Info
32495 type  "icon"
32496 arg   "changes-track"
32497 \end_inset
32498
32499
32500 \end_layout
32501
32502 \end_inset
32503 </cell>
32504 <cell alignment="center" valignment="top" usebox="none">
32505 \begin_inset Text
32506
32507 \begin_layout Plain Layout
32508
32509 \family sans
32510 Document\SpecialChar \menuseparator
32511 Change
32512 \begin_inset space ~
32513 \end_inset
32514
32515 Tracking\SpecialChar \menuseparator
32516 Track
32517 \begin_inset space ~
32518 \end_inset
32519
32520 Changes
32521 \end_layout
32522
32523 \end_inset
32524 </cell>
32525 </row>
32526 <row interlinespace="2.5mm">
32527 <cell alignment="center" valignment="top" usebox="none">
32528 \begin_inset Text
32529
32530 \begin_layout Plain Layout
32531
32532 \family sans
32533 \begin_inset Info
32534 type  "icon"
32535 arg   "changes-output"
32536 \end_inset
32537
32538
32539 \end_layout
32540
32541 \end_inset
32542 </cell>
32543 <cell alignment="center" valignment="top" usebox="none">
32544 \begin_inset Text
32545
32546 \begin_layout Plain Layout
32547
32548 \family sans
32549 Document\SpecialChar \menuseparator
32550 Change
32551 \begin_inset space ~
32552 \end_inset
32553
32554 Tracking\SpecialChar \menuseparator
32555 Show
32556 \begin_inset space ~
32557 \end_inset
32558
32559 Changes
32560 \begin_inset space ~
32561 \end_inset
32562
32563 in
32564 \begin_inset space ~
32565 \end_inset
32566
32567 Output
32568 \end_layout
32569
32570 \end_inset
32571 </cell>
32572 </row>
32573 <row interlinespace="2.5mm">
32574 <cell alignment="center" valignment="top" usebox="none">
32575 \begin_inset Text
32576
32577 \begin_layout Plain Layout
32578
32579 \family sans
32580 \begin_inset Info
32581 type  "icon"
32582 arg   "change-next"
32583 \end_inset
32584
32585
32586 \end_layout
32587
32588 \end_inset
32589 </cell>
32590 <cell alignment="center" valignment="top" usebox="none">
32591 \begin_inset Text
32592
32593 \begin_layout Plain Layout
32594 Jumps to the next change
32595 \end_layout
32596
32597 \end_inset
32598 </cell>
32599 </row>
32600 <row interlinespace="2.5mm">
32601 <cell alignment="center" valignment="top" usebox="none">
32602 \begin_inset Text
32603
32604 \begin_layout Plain Layout
32605
32606 \family sans
32607 \begin_inset Info
32608 type  "icon"
32609 arg   "change-accept"
32610 \end_inset
32611
32612
32613 \end_layout
32614
32615 \end_inset
32616 </cell>
32617 <cell alignment="center" valignment="top" usebox="none">
32618 \begin_inset Text
32619
32620 \begin_layout Plain Layout
32621
32622 \family sans
32623 Document\SpecialChar \menuseparator
32624 Change
32625 \begin_inset space ~
32626 \end_inset
32627
32628 Tracking\SpecialChar \menuseparator
32629 Accept
32630 \begin_inset space ~
32631 \end_inset
32632
32633 Change
32634 \end_layout
32635
32636 \end_inset
32637 </cell>
32638 </row>
32639 <row interlinespace="2.5mm">
32640 <cell alignment="center" valignment="top" usebox="none">
32641 \begin_inset Text
32642
32643 \begin_layout Plain Layout
32644
32645 \family sans
32646 \begin_inset Info
32647 type  "icon"
32648 arg   "change-reject"
32649 \end_inset
32650
32651
32652 \end_layout
32653
32654 \end_inset
32655 </cell>
32656 <cell alignment="center" valignment="top" usebox="none">
32657 \begin_inset Text
32658
32659 \begin_layout Plain Layout
32660
32661 \family sans
32662 Document\SpecialChar \menuseparator
32663 Change
32664 \begin_inset space ~
32665 \end_inset
32666
32667 Tracking\SpecialChar \menuseparator
32668 Reject
32669 \begin_inset space ~
32670 \end_inset
32671
32672 Change
32673 \end_layout
32674
32675 \end_inset
32676 </cell>
32677 </row>
32678 <row interlinespace="2.5mm">
32679 <cell alignment="center" valignment="top" usebox="none">
32680 \begin_inset Text
32681
32682 \begin_layout Plain Layout
32683
32684 \family sans
32685 \begin_inset Info
32686 type  "icon"
32687 arg   "changes-merge"
32688 \end_inset
32689
32690
32691 \end_layout
32692
32693 \end_inset
32694 </cell>
32695 <cell alignment="center" valignment="top" usebox="none">
32696 \begin_inset Text
32697
32698 \begin_layout Plain Layout
32699
32700 \family sans
32701 Document\SpecialChar \menuseparator
32702 Change
32703 \begin_inset space ~
32704 \end_inset
32705
32706 Tracking\SpecialChar \menuseparator
32707 Merge
32708 \begin_inset space ~
32709 \end_inset
32710
32711 Changes
32712 \end_layout
32713
32714 \end_inset
32715 </cell>
32716 </row>
32717 <row interlinespace="2.5mm">
32718 <cell alignment="center" valignment="top" usebox="none">
32719 \begin_inset Text
32720
32721 \begin_layout Plain Layout
32722
32723 \family sans
32724 \begin_inset Info
32725 type  "icon"
32726 arg   "all-changes-accept"
32727 \end_inset
32728
32729
32730 \end_layout
32731
32732 \end_inset
32733 </cell>
32734 <cell alignment="center" valignment="top" usebox="none">
32735 \begin_inset Text
32736
32737 \begin_layout Plain Layout
32738
32739 \family sans
32740 Document\SpecialChar \menuseparator
32741 Change
32742 \begin_inset space ~
32743 \end_inset
32744
32745 Tracking\SpecialChar \menuseparator
32746 Accept
32747 \begin_inset space ~
32748 \end_inset
32749
32750 All
32751 \begin_inset space ~
32752 \end_inset
32753
32754 Changes
32755 \end_layout
32756
32757 \end_inset
32758 </cell>
32759 </row>
32760 <row interlinespace="2.5mm">
32761 <cell alignment="center" valignment="top" usebox="none">
32762 \begin_inset Text
32763
32764 \begin_layout Plain Layout
32765
32766 \family sans
32767 \begin_inset Info
32768 type  "icon"
32769 arg   "all-changes-reject"
32770 \end_inset
32771
32772
32773 \end_layout
32774
32775 \end_inset
32776 </cell>
32777 <cell alignment="center" valignment="top" usebox="none">
32778 \begin_inset Text
32779
32780 \begin_layout Plain Layout
32781
32782 \family sans
32783 Document\SpecialChar \menuseparator
32784 Change
32785 \begin_inset space ~
32786 \end_inset
32787
32788 Tracking\SpecialChar \menuseparator
32789 Reject
32790 \begin_inset space ~
32791 \end_inset
32792
32793 All
32794 \begin_inset space ~
32795 \end_inset
32796
32797 Changes
32798 \end_layout
32799
32800 \end_inset
32801 </cell>
32802 </row>
32803 <row interlinespace="2.5mm">
32804 <cell alignment="center" valignment="top" usebox="none">
32805 \begin_inset Text
32806
32807 \begin_layout Plain Layout
32808
32809 \family sans
32810 \begin_inset Info
32811 type  "icon"
32812 arg   "note-insert"
32813 \end_inset
32814
32815
32816 \end_layout
32817
32818 \end_inset
32819 </cell>
32820 <cell alignment="center" valignment="top" usebox="none">
32821 \begin_inset Text
32822
32823 \begin_layout Plain Layout
32824
32825 \family sans
32826 Insert\SpecialChar \menuseparator
32827 Note\SpecialChar \menuseparator
32828 LyX
32829 \begin_inset space ~
32830 \end_inset
32831
32832 Note
32833 \end_layout
32834
32835 \end_inset
32836 </cell>
32837 </row>
32838 <row interlinespace="2.5mm">
32839 <cell alignment="center" valignment="top" usebox="none">
32840 \begin_inset Text
32841
32842 \begin_layout Plain Layout
32843
32844 \family sans
32845 \begin_inset Info
32846 type  "icon"
32847 arg   "note-next"
32848 \end_inset
32849
32850
32851 \end_layout
32852
32853 \end_inset
32854 </cell>
32855 <cell alignment="center" valignment="top" usebox="none">
32856 \begin_inset Text
32857
32858 \begin_layout Plain Layout
32859
32860 \family sans
32861 Navigate\SpecialChar \menuseparator
32862 Next
32863 \begin_inset space ~
32864 \end_inset
32865
32866 Note
32867 \end_layout
32868
32869 \end_inset
32870 </cell>
32871 </row>
32872 </lyxtabular>
32873
32874 \end_inset
32875
32876
32877 \end_layout
32878
32879 \begin_layout Standard
32880 \begin_inset VSpace defskip
32881 \end_inset
32882
32883
32884 \end_layout
32885
32886 \begin_layout Standard
32887 The review toolbar helps you to accept, reject, or merge changes – highlight
32888  the change and press one of the desired toolbar buttons.
32889  When you merge changes, a window pops up showing you information about
32890  the next change after the current cursor position.
32891  So you don't need to highlight a certain change.
32892  Within the merge window you can decide to accept or reject changes and
32893  step to the next change.
32894  This way you can jump through all the changes in the document.
32895 \end_layout
32896
32897 \begin_layout Standard
32898 The toolbar has two buttons to handle notes because notes are often important
32899  to describe a change.
32900 \end_layout
32901
32902 \begin_layout Standard
32903 To show the made changes in the output you need the LaTeX package 
32904 \series bold
32905 dvipost
32906 \series default
32907
32908 \begin_inset Index idx
32909 status collapsed
32910
32911 \begin_layout Plain Layout
32912 LaTeX-packages ! dvipost
32913 \end_layout
32914
32915 \end_inset
32916
32917  installed.
32918  You will find it in the TeX Catalogue, 
32919 \begin_inset CommandInset citation
32920 LatexCommand cite
32921 key "TeXCatalogue"
32922
32923 \end_inset
32924
32925  or in the package manager of your LaTeX-system.
32926 \end_layout
32927
32928 \begin_layout Section
32929 Comparison of Documents
32930 \begin_inset Index idx
32931 status collapsed
32932
32933 \begin_layout Plain Layout
32934 Comparison of documents
32935 \end_layout
32936
32937 \end_inset
32938
32939
32940 \end_layout
32941
32942 \begin_layout Standard
32943 You can compare two different LyX files via the menu 
32944 \family sans
32945 Tools\SpecialChar \menuseparator
32946 Compare
32947 \family default
32948 .
32949  The comparison result is a LyX file with change tracking enabled showing
32950  the differences.
32951  In the comparison dialog you can select from which document LyX should
32952  take the document settings for the resulting difference file with the option
32953  
32954 \family sans
32955 Copy
32956 \begin_inset space ~
32957 \end_inset
32958
32959 Document
32960 \begin_inset space ~
32961 \end_inset
32962
32963 Settings
32964 \begin_inset space ~
32965 \end_inset
32966
32967 from
32968 \family default
32969 .
32970  The option 
32971 \family sans
32972 Enable
32973 \begin_inset space ~
32974 \end_inset
32975
32976 change
32977 \begin_inset space ~
32978 \end_inset
32979
32980 tracking
32981 \begin_inset space ~
32982 \end_inset
32983
32984 features
32985 \begin_inset space ~
32986 \end_inset
32987
32988 in
32989 \begin_inset space ~
32990 \end_inset
32991
32992 the
32993 \begin_inset space ~
32994 \end_inset
32995
32996 output
32997 \family default
32998  enables the change tracking option 
32999 \family sans
33000 Show
33001 \begin_inset space ~
33002 \end_inset
33003
33004 Changes
33005 \begin_inset space ~
33006 \end_inset
33007
33008 in
33009 \begin_inset space ~
33010 \end_inset
33011
33012 Output
33013 \family default
33014  to visualize the differences also in the PDF output of the difference file.
33015 \end_layout
33016
33017 \begin_layout Section
33018 International Support
33019 \begin_inset Index idx
33020 status collapsed
33021
33022 \begin_layout Plain Layout
33023 International support
33024 \end_layout
33025
33026 \end_inset
33027
33028
33029 \end_layout
33030
33031 \begin_layout Standard
33032 This section describes how to use LyX with any language you want.
33033  For some languages there are special Wiki-pages that explain how to set
33034  up LyX to use them: 
33035 \begin_inset CommandInset citation
33036 LatexCommand cite
33037 key "Arabic,Armenian,Farsi,Hebrew,Latvian,Lithuanian,Mongolian,Vietnamese"
33038
33039 \end_inset
33040
33041
33042 \end_layout
33043
33044 \begin_layout Standard
33045 Besides languages, LyX also supports phonetic symbols, see section
33046 \begin_inset space ~
33047 \end_inset
33048
33049
33050 \begin_inset CommandInset ref
33051 LatexCommand ref
33052 reference "sub:Special-Character"
33053
33054 \end_inset
33055
33056 .
33057 \end_layout
33058
33059 \begin_layout Subsection
33060 Language Options
33061 \begin_inset Index idx
33062 status collapsed
33063
33064 \begin_layout Plain Layout
33065 Language ! Options
33066 \end_layout
33067
33068 \end_inset
33069
33070
33071 \begin_inset Index idx
33072 status collapsed
33073
33074 \begin_layout Plain Layout
33075 Document ! Settings
33076 \end_layout
33077
33078 \end_inset
33079
33080
33081 \begin_inset Index idx
33082 status collapsed
33083
33084 \begin_layout Plain Layout
33085 Document ! Language
33086 \end_layout
33087
33088 \end_inset
33089
33090
33091 \end_layout
33092
33093 \begin_layout Standard
33094 The 
33095 \family sans
33096 Document\SpecialChar \menuseparator
33097 Settings\SpecialChar \menuseparator
33098 Language
33099 \family default
33100  dialog lets you set 
33101 \family roman
33102 the language, the quote style and character encoding
33103 \family default
33104 .
33105 \end_layout
33106
33107 \begin_layout Standard
33108 Under 
33109 \family sans
33110 Encoding
33111 \family default
33112  you can choose the character encoding map you want to use for LaTeX export.
33113  The option 
33114 \family sans
33115 Language
33116 \begin_inset space ~
33117 \end_inset
33118
33119 Default
33120 \family default
33121  is the preferred choice and works well in most cases.
33122  For details about the different encoding options see section
33123 \begin_inset space ~
33124 \end_inset
33125
33126
33127 \begin_inset CommandInset ref
33128 LatexCommand ref
33129 reference "sec:Language-encodings"
33130
33131 \end_inset
33132
33133 .
33134 \end_layout
33135
33136 \begin_layout Subsection
33137 Keyboard mapping configuration
33138 \begin_inset CommandInset label
33139 LatexCommand label
33140 name "sub:Keyboard-mapping"
33141
33142 \end_inset
33143
33144
33145 \end_layout
33146
33147 \begin_layout Standard
33148 If you have for example a U.
33149 \begin_inset space \thinspace{}
33150 \end_inset
33151
33152 S.-style keyboard and want to write in a language other than English, you
33153  can use an alternate keymap.
33154  For example, if you want to write in Italian, you can configure LyX to
33155  use an Italian keymap.
33156  The 
33157 \family sans
33158 Tools\SpecialChar \menuseparator
33159 Preferences\SpecialChar \menuseparator
33160 Editing\SpecialChar \menuseparator
33161 Keyboard/Mouse
33162 \family default
33163  dialog allows you to choose up to two keyboard mappings, see section
33164 \begin_inset space ~
33165 \end_inset
33166
33167
33168 \begin_inset CommandInset ref
33169 LatexCommand ref
33170 reference "sub:Keyboard-Map"
33171
33172 \end_inset
33173
33174 .
33175  You can choose primary and secondary keyboard languages and then select
33176  which one you want to use.
33177 \end_layout
33178
33179 \begin_layout Standard
33180 Finally, you may just want to change a few key mappings or create an entirely
33181  different keymap (for Vulcan, for instance).
33182  You may, for example, normally write in Italian on a U.
33183 \begin_inset space \thinspace{}
33184 \end_inset
33185
33186 S.-style keyboard but want to include an occasional quotation in German.
33187  In such a case, you can write your own keyboard mapping or modify an existing
33188  one to support the characters you want.
33189  This and many other customizations are explained in the 
33190 \emph on
33191 Customization
33192 \emph default
33193  manual.
33194 \end_layout
33195
33196 \begin_layout Chapter
33197 \start_of_appendix
33198 The User Interface
33199 \begin_inset CommandInset label
33200 LatexCommand label
33201 name "chap:The-User-Interface"
33202
33203 \end_inset
33204
33205
33206 \end_layout
33207
33208 \begin_layout Standard
33209 This appendix lists all the available menus and describes their functionality.
33210  It is designed as a quick reference if you are searching for a special
33211  topic inside the user's guide.
33212 \end_layout
33213
33214 \begin_layout Section
33215 The File Menu
33216 \begin_inset Index idx
33217 status collapsed
33218
33219 \begin_layout Plain Layout
33220 Menu ! File
33221 \end_layout
33222
33223 \end_inset
33224
33225
33226 \end_layout
33227
33228 \begin_layout Standard
33229 Under the 
33230 \family sans
33231 File
33232 \family default
33233  menu are the basic operations in addition to some more advanced operations.
33234 \end_layout
33235
33236 \begin_layout Subsection
33237 New
33238 \end_layout
33239
33240 \begin_layout Standard
33241 Creates a new document.
33242 \end_layout
33243
33244 \begin_layout Subsection
33245 New from Template
33246 \end_layout
33247
33248 \begin_layout Standard
33249 This menu entry prompts you for a template to use.
33250  Selecting a template will automatically set certain layout features for
33251  the document, features you would otherwise need to change manually.
33252 \end_layout
33253
33254 \begin_layout Subsection
33255 Open
33256 \end_layout
33257
33258 \begin_layout Standard
33259 Opens a document.
33260 \end_layout
33261
33262 \begin_layout Subsection
33263 Open Recent
33264 \end_layout
33265
33266 \begin_layout Standard
33267 The submenu shows a list of the recently opened files.
33268  Click there on a file to open it.
33269 \end_layout
33270
33271 \begin_layout Subsection
33272 Close
33273 \end_layout
33274
33275 \begin_layout Standard
33276 Closes the current document.
33277 \end_layout
33278
33279 \begin_layout Subsection
33280 Close All
33281 \end_layout
33282
33283 \begin_layout Standard
33284 Closes all opened documents.
33285 \end_layout
33286
33287 \begin_layout Subsection
33288 Save
33289 \end_layout
33290
33291 \begin_layout Standard
33292 Saves the actual document.
33293 \end_layout
33294
33295 \begin_layout Subsection
33296 Save As
33297 \end_layout
33298
33299 \begin_layout Standard
33300 Saves the actual document under a new name to create a copy.
33301 \end_layout
33302
33303 \begin_layout Subsection
33304 Save All
33305 \end_layout
33306
33307 \begin_layout Standard
33308 Saves all opened documents.
33309 \end_layout
33310
33311 \begin_layout Subsection
33312 Revert to saved
33313 \end_layout
33314
33315 \begin_layout Standard
33316 Reloads the actual document from disk.
33317 \end_layout
33318
33319 \begin_layout Subsection
33320 Version Control
33321 \end_layout
33322
33323 \begin_layout Standard
33324 This is used when multiple people are working on the same document or when
33325  one person wants to keep a careful archive of changes.
33326  It is described in the section 
33327 \emph on
33328 Version Control in LyX
33329 \emph default
33330  of the 
33331 \emph on
33332 Additional Features
33333 \emph default
33334  manual.
33335 \end_layout
33336
33337 \begin_layout Subsection
33338 Import
33339 \end_layout
33340
33341 \begin_layout Standard
33342 Here you can import files from older LyX-versions, HTML-files, LaTeX-files,
33343  NoWeb-files, plain text files and comma separated, table-like text files
33344  (CSV).
33345  The files will be imported as a new LyX-document.
33346 \end_layout
33347
33348 \begin_layout Standard
33349 When using the menu entry 
33350 \family sans
33351 Plain
33352 \begin_inset space ~
33353 \end_inset
33354
33355 Text
33356 \family default
33357 , line breaks in the text will start a new paragraph; when using the menu
33358  entry 
33359 \family sans
33360 Plain
33361 \begin_inset space ~
33362 \end_inset
33363
33364 Text, Join
33365 \begin_inset space ~
33366 \end_inset
33367
33368 Lines
33369 \family default
33370 , consecutive lines of text will be imported to one big paragraph.
33371  A new paragraph will begin when there is a blank line in the file.
33372 \end_layout
33373
33374 \begin_layout Subsection
33375 Export
33376 \begin_inset CommandInset label
33377 LatexCommand label
33378 name "sub:Export"
33379
33380 \end_inset
33381
33382
33383 \end_layout
33384
33385 \begin_layout Standard
33386 You can export your document to various file formats.
33387  The resulting files are placed in the directory of your LyX-file.
33388  The menu entries are not the same on all installations.
33389  They depend on the programs found by LyX during its configuration.
33390 \end_layout
33391
33392 \begin_layout Standard
33393 Here is a list of all available entries; some of them are explained in detail
33394  in section
33395 \begin_inset space ~
33396 \end_inset
33397
33398
33399 \begin_inset CommandInset ref
33400 LatexCommand ref
33401 reference "sub:Output-file-formats"
33402
33403 \end_inset
33404
33405 :
33406 \end_layout
33407
33408 \begin_layout Description
33409
33410 \family sans
33411 CJK
33412 \family default
33413
33414 \begin_inset space ~
33415 \end_inset
33416
33417 L
33418 \begin_inset ERT
33419 status collapsed
33420
33421 \begin_layout Plain Layout
33422
33423 {}
33424 \end_layout
33425
33426 \end_inset
33427
33428 yX format of the special LyX
33429 \begin_inset space ~
33430 \end_inset
33431
33432 1.4.x versions for Chinese, Japanese and Korean (CJK)
33433 \begin_inset Newline newline
33434 \end_inset
33435
33436  Since LyX 1.5.0 CJK support is fully integrated into LyX.
33437 \end_layout
33438
33439 \begin_layout Description
33440 DocBook text file with code in the language SGML that is used for the markup
33441  language 
33442 \family typewriter
33443 DocBook
33444 \end_layout
33445
33446 \begin_layout Description
33447 DocBook
33448 \begin_inset space ~
33449 \end_inset
33450
33451 (XML) text file with code in the language XML that is used for the markup
33452  language 
33453 \family typewriter
33454 DocBook
33455 \end_layout
33456
33457 \begin_layout Description
33458 DraftDVI LaTeX's native DVI-format.
33459  This format is not suitable if you have special characters or spaces in
33460  files paths or file names in your document.
33461  LyX use this format internally as a pre-stage to export to 
33462 \family sans
33463 DVI
33464 \family default
33465 .
33466 \end_layout
33467
33468 \begin_layout Description
33469 DVI DVI-format that also allows the useage of special characters or spaces
33470  in files paths or file names
33471 \end_layout
33472
33473 \begin_layout Description
33474 DVI
33475 \begin_inset space ~
33476 \end_inset
33477
33478 (LuaT
33479 \begin_inset ERT
33480 status collapsed
33481
33482 \begin_layout Plain Layout
33483
33484 {}
33485 \end_layout
33486
33487 \end_inset
33488
33489 eX) DVI-format using the program 
33490 \family typewriter
33491 LuaTeX
33492 \family default
33493 ; supports Unicode and the usage of non-TeX fonts; 
33494 \series bold
33495
33496 \begin_inset Note Greyedout
33497 status collapsed
33498
33499 \begin_layout Plain Layout
33500
33501 \series bold
33502 Note:
33503 \series default
33504  not all DVI-viewers are currently able to display this output format properly.
33505 \end_layout
33506
33507 \end_inset
33508
33509
33510 \end_layout
33511
33512 \begin_layout Description
33513 Graphviz
33514 \begin_inset space ~
33515 \end_inset
33516
33517 Dot text file with code in the programming language 
33518 \family typewriter
33519 Dot
33520 \family default
33521  which is used to draw visualizations of graphs via the program 
33522 \family typewriter
33523 Graphviz
33524 \end_layout
33525
33526 \begin_layout Description
33527 HTML HTML-format (the HTML-converter is a third-party product and may not
33528  work in all cases)
33529 \end_layout
33530
33531 \begin_layout Description
33532 HTML
33533 \begin_inset space ~
33534 \end_inset
33535
33536 (MS
33537 \begin_inset space ~
33538 \end_inset
33539
33540 Word) HTML-format specialized so that the result can be imported to 
33541 \family sans
33542 MS Word
33543 \family default
33544 ; as a consequence of this formulas will be embedded as bitmap fonts and
33545  not in the format 
33546 \family sans
33547 MathML
33548 \family default
33549 .
33550 \end_layout
33551
33552 \begin_layout Description
33553
33554 \family sans
33555 LaT
33556 \begin_inset ERT
33557 status collapsed
33558
33559 \begin_layout Plain Layout
33560
33561 {}
33562 \end_layout
33563
33564 \end_inset
33565
33566 eX
33567 \begin_inset space ~
33568 \end_inset
33569
33570 (
33571 \family default
33572 LuaT
33573 \family sans
33574
33575 \begin_inset ERT
33576 status collapsed
33577
33578 \begin_layout Plain Layout
33579
33580 {}
33581 \end_layout
33582
33583 \end_inset
33584
33585
33586 \family default
33587 eX
33588 \family sans
33589
33590 \family default
33591 text file with the LaTeX source that is compilable with the program 
33592 \family typewriter
33593 LuaTeX
33594 \end_layout
33595
33596 \begin_layout Description
33597
33598 \family sans
33599 LaT
33600 \begin_inset ERT
33601 status collapsed
33602
33603 \begin_layout Plain Layout
33604
33605 {}
33606 \end_layout
33607
33608 \end_inset
33609
33610 eX
33611 \begin_inset space ~
33612 \end_inset
33613
33614 (pdflatex)
33615 \family default
33616  text file with the LaTeX source, additionally all images used in the document
33617  will be converted to a format that is readable by the 
33618 \family typewriter
33619 pdflatex
33620 \family default
33621  program (GIF, JPG, PDF, PNG)
33622 \end_layout
33623
33624 \begin_layout Description
33625
33626 \family sans
33627 LaT
33628 \begin_inset ERT
33629 status collapsed
33630
33631 \begin_layout Plain Layout
33632
33633 {}
33634 \end_layout
33635
33636 \end_inset
33637
33638 eX
33639 \begin_inset space ~
33640 \end_inset
33641
33642 (plain)
33643 \family default
33644  text file with the LaTeX source code, additionally all images used in the
33645  document will be converted to the EPS-format, only this format is readable
33646  by the 
33647 \family typewriter
33648 latex
33649 \family default
33650  program
33651 \end_layout
33652
33653 \begin_layout Description
33654
33655 \family sans
33656 LaT
33657 \begin_inset ERT
33658 status collapsed
33659
33660 \begin_layout Plain Layout
33661
33662 {}
33663 \end_layout
33664
33665 \end_inset
33666
33667 eX
33668 \begin_inset space ~
33669 \end_inset
33670
33671 (
33672 \family default
33673 XeT
33674 \family sans
33675
33676 \begin_inset ERT
33677 status collapsed
33678
33679 \begin_layout Plain Layout
33680
33681 {}
33682 \end_layout
33683
33684 \end_inset
33685
33686
33687 \family default
33688 eX
33689 \family sans
33690
33691 \family default
33692 text file with the LaTeX source that is compilable with the program 
33693 \family typewriter
33694 XeTeX
33695 \end_layout
33696
33697 \begin_layout Description
33698 LilyPond
33699 \begin_inset space ~
33700 \end_inset
33701
33702 book
33703 \begin_inset space ~
33704 \end_inset
33705
33706 (La
33707 \family sans
33708
33709 \begin_inset ERT
33710 status collapsed
33711
33712 \begin_layout Plain Layout
33713
33714 {}
33715 \end_layout
33716
33717 \end_inset
33718
33719
33720 \family default
33721 TeX) text file with the LaTeX source and also code in the syntax of the
33722  music notation software 
33723 \family typewriter
33724 LilyPond
33725 \end_layout
33726
33727 \begin_layout Description
33728 L
33729 \family sans
33730
33731 \begin_inset ERT
33732 status collapsed
33733
33734 \begin_layout Plain Layout
33735
33736 {}
33737 \end_layout
33738
33739 \end_inset
33740
33741
33742 \family default
33743 yX
33744 \begin_inset space ~
33745 \end_inset
33746
33747 Archive
33748 \begin_inset space ~
33749 \end_inset
33750
33751 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
33752  your system) that contains your document and all files that are necessary
33753  to compile it (images, child documents, BibTeX files, etc.)
33754 \end_layout
33755
33756 \begin_layout Description
33757 L
33758 \family sans
33759
33760 \begin_inset ERT
33761 status collapsed
33762
33763 \begin_layout Plain Layout
33764
33765 {}
33766 \end_layout
33767
33768 \end_inset
33769
33770
33771 \family default
33772 yX
33773 \begin_inset space ~
33774 \end_inset
33775
33776 z.y.x LyX-Document in a format readable by the LyX versions z.y.x (
33777 \begin_inset Quotes eld
33778 \end_inset
33779
33780 z
33781 \begin_inset Quotes erd
33782 \end_inset
33783
33784  and 
33785 \begin_inset Quotes eld
33786 \end_inset
33787
33788 y
33789 \begin_inset Quotes erd
33790 \end_inset
33791
33792  represent the version number)
33793 \end_layout
33794
33795 \begin_layout Description
33796 L
33797 \family sans
33798
33799 \begin_inset ERT
33800 status collapsed
33801
33802 \begin_layout Plain Layout
33803
33804 {}
33805 \end_layout
33806
33807 \end_inset
33808
33809
33810 \family default
33811 yXHTML HTML-format using LyX's internal XHTML engine
33812 \end_layout
33813
33814 \begin_layout Description
33815 NoWeb text file with code in the format of the literate programming language
33816 \family typewriter
33817  NoWeb
33818 \end_layout
33819
33820 \begin_layout Description
33821 OpenDocument OpenDocument-formatted file, to be opened with 
33822 \family sans
33823 LibreOffice, OpenOffice, KOffice, Abiword
33824 \family default
33825 , etc.
33826  (The OpenDocument-converter is a third-party product and may not work in
33827  all cases)
33828 \end_layout
33829
33830 \begin_layout Description
33831
33832 \family sans
33833 PDF
33834 \begin_inset space ~
33835 \end_inset
33836
33837 (dvipdfm)
33838 \family default
33839  PDF-format using the program 
33840 \family typewriter
33841 dvipdfm
33842 \family default
33843 , produces internally a DVI-file which is then converted to a PDF-file
33844 \end_layout
33845
33846 \begin_layout Description
33847
33848 \family sans
33849 PDF
33850 \begin_inset space ~
33851 \end_inset
33852
33853 (LuaT
33854 \begin_inset ERT
33855 status collapsed
33856
33857 \begin_layout Plain Layout
33858
33859 {}
33860 \end_layout
33861
33862 \end_inset
33863
33864 eX)
33865 \family default
33866  PDF-format using the program 
33867 \family typewriter
33868 LuaTeX
33869 \family default
33870 , produces PDF-files directly
33871 \end_layout
33872
33873 \begin_layout Description
33874
33875 \family sans
33876 PDF
33877 \begin_inset space ~
33878 \end_inset
33879
33880 (pdflatex)
33881 \family default
33882  PDF-format using the program 
33883 \family typewriter
33884 pdflatex
33885 \family default
33886 , produces PDF-files directly
33887 \end_layout
33888
33889 \begin_layout Description
33890
33891 \family sans
33892 PDF
33893 \begin_inset space ~
33894 \end_inset
33895
33896 (ps2pdf)
33897 \family default
33898  PDF-format using the program 
33899 \family typewriter
33900 ps2pdf
33901 \family default
33902 , produces internally a PostScript-file which is then converted to a PDF-file
33903 \end_layout
33904
33905 \begin_layout Description
33906
33907 \family sans
33908 PDF
33909 \begin_inset space ~
33910 \end_inset
33911
33912 (XeT
33913 \begin_inset ERT
33914 status collapsed
33915
33916 \begin_layout Plain Layout
33917
33918 {}
33919 \end_layout
33920
33921 \end_inset
33922
33923 eX)
33924 \family default
33925  PDF-format using the program 
33926 \family typewriter
33927 XeTeX
33928 \family default
33929 , produces PDF-files directly
33930 \end_layout
33931
33932 \begin_layout Description
33933
33934 \family sans
33935 Plain
33936 \begin_inset space ~
33937 \end_inset
33938
33939 text
33940 \family default
33941  text format
33942 \end_layout
33943
33944 \begin_layout Description
33945
33946 \family sans
33947 Plain
33948 \begin_inset space ~
33949 \end_inset
33950
33951 text
33952 \begin_inset space ~
33953 \end_inset
33954
33955 (ps2ascii)
33956 \family default
33957  text format, the document will first be converted to Postscript format
33958  and then exported as text using the program 
33959 \family sans
33960 ps2ascii
33961 \end_layout
33962
33963 \begin_layout Description
33964
33965 \family sans
33966 Postscript
33967 \family default
33968  PostScript format using the program 
33969 \family typewriter
33970 dvips
33971 \end_layout
33972
33973 \begin_layout Description
33974 Sweave text file with the LaTeX source and also code in the statistical
33975  programming language 
33976 \family typewriter
33977 R
33978 \family default
33979 .
33980  Using the 
33981 \family typewriter
33982 R
33983 \family default
33984 -function 
33985 \family typewriter
33986 Sweave
33987 \family default
33988  it is possible to use 
33989 \family typewriter
33990 R
33991 \family default
33992 -commands in LaTeX
33993 \end_layout
33994
33995 \begin_layout Standard
33996 If one of the menu entries 
33997 \family sans
33998 DVI
33999 \family default
34000
34001 \family sans
34002 PDF
34003 \begin_inset space ~
34004 \end_inset
34005
34006 (pdflatex)
34007 \family default
34008  or 
34009 \family sans
34010 Postscript
34011 \family default
34012  is missing, you need to update your LaTeX installation.
34013  After updating you have to reconfigure LyX, see section
34014 \begin_inset space ~
34015 \end_inset
34016
34017
34018 \begin_inset CommandInset ref
34019 LatexCommand ref
34020 reference "sec:Basic-LyX-Setup"
34021
34022 \end_inset
34023
34024 .
34025 \begin_inset Index idx
34026 status collapsed
34027
34028 \begin_layout Plain Layout
34029 Reconfiguration of LyX
34030 \end_layout
34031
34032 \end_inset
34033
34034
34035 \end_layout
34036
34037 \begin_layout Subsection
34038 Print
34039 \end_layout
34040
34041 \begin_layout Standard
34042 With this menu entry you can print your document to a file in PostScript
34043  format or send it to a printer.
34044  The printer will also use the document in PostScript format.
34045  The conversion to PostScript is done in the background by LyX using the
34046  program 
34047 \family typewriter
34048 dvips
34049 \family default
34050 .
34051  For more information have a look at section
34052 \begin_inset space ~
34053 \end_inset
34054
34055
34056 \begin_inset CommandInset ref
34057 LatexCommand ref
34058 reference "sub:Printing-the-File"
34059
34060 \end_inset
34061
34062 .
34063 \end_layout
34064
34065 \begin_layout Subsection
34066 Fax
34067 \end_layout
34068
34069 \begin_layout Standard
34070 This menu entry will only appear if you have a fax program installed (on
34071  Windows you additionally need to register its program path to LyX's PATH
34072  prefix, see section
34073 \begin_inset space ~
34074 \end_inset
34075
34076
34077 \begin_inset CommandInset ref
34078 LatexCommand ref
34079 reference "sec:Paths"
34080
34081 \end_inset
34082
34083 ).
34084  With this menu entry you can send your document to a fax program like 
34085 \family typewriter
34086 hylapex
34087 \family default
34088  or 
34089 \family typewriter
34090 kdeprintfax
34091 \family default
34092 .
34093  The default format of the sent file is PostScript.
34094  The format can be changed in LyX's preferences as described in section
34095 \begin_inset space ~
34096 \end_inset
34097
34098
34099 \begin_inset CommandInset ref
34100 LatexCommand ref
34101 reference "sub:Converters"
34102
34103 \end_inset
34104
34105 .
34106 \end_layout
34107
34108 \begin_layout Subsection
34109 New and Close Window
34110 \end_layout
34111
34112 \begin_layout Standard
34113 Opens or closes a new instance of LyX.
34114 \end_layout
34115
34116 \begin_layout Subsection
34117 Exit
34118 \end_layout
34119
34120 \begin_layout Standard
34121 Prompts you to save all unsaved documents and then exits.
34122 \end_layout
34123
34124 \begin_layout Section
34125 The Edit Menu
34126 \begin_inset Index idx
34127 status collapsed
34128
34129 \begin_layout Plain Layout
34130 Menu ! Edit
34131 \end_layout
34132
34133 \end_inset
34134
34135
34136 \end_layout
34137
34138 \begin_layout Subsection
34139 Undo and Redo
34140 \end_layout
34141
34142 \begin_layout Standard
34143 Described in section
34144 \begin_inset space ~
34145 \end_inset
34146
34147
34148 \begin_inset CommandInset ref
34149 LatexCommand ref
34150 reference "sec:Undo-and-Redo"
34151
34152 \end_inset
34153
34154 .
34155 \end_layout
34156
34157 \begin_layout Subsection
34158 Cut, Copy, Paste, Paste Recent, Paste Special
34159 \end_layout
34160
34161 \begin_layout Standard
34162 Described in section
34163 \begin_inset space ~
34164 \end_inset
34165
34166
34167 \begin_inset CommandInset ref
34168 LatexCommand ref
34169 reference "sec:Basic-Editing-Features"
34170
34171 \end_inset
34172
34173 .
34174 \end_layout
34175
34176 \begin_layout Subsection
34177 Select Whole Inset
34178 \end_layout
34179
34180 \begin_layout Standard
34181 Selects the content of the inset where the cursor is currently in.
34182  If the cursor is outside of an inset, the whole document will be selected.
34183 \end_layout
34184
34185 \begin_layout Subsection
34186 Select All
34187 \end_layout
34188
34189 \begin_layout Standard
34190 Selects the whole document.
34191 \end_layout
34192
34193 \begin_layout Subsection
34194 Find & Replace (Quick)
34195 \end_layout
34196
34197 \begin_layout Standard
34198 Described in section
34199 \begin_inset space ~
34200 \end_inset
34201
34202
34203 \begin_inset CommandInset ref
34204 LatexCommand ref
34205 reference "sec:Basic-Editing-Features"
34206
34207 \end_inset
34208
34209 .
34210 \end_layout
34211
34212 \begin_layout Subsection
34213 Find & Replace (Advanced)
34214 \end_layout
34215
34216 \begin_layout Standard
34217 Described in section
34218 \begin_inset space ~
34219 \end_inset
34220
34221
34222 \begin_inset CommandInset ref
34223 LatexCommand ref
34224 reference "sec:Advanced-Find-and"
34225
34226 \end_inset
34227
34228 .
34229 \end_layout
34230
34231 \begin_layout Subsection
34232 Move Paragraph Up/Down
34233 \end_layout
34234
34235 \begin_layout Standard
34236 This shifts the paragraph where the cursor is currently in one paragraph
34237  up or down.
34238 \end_layout
34239
34240 \begin_layout Subsection
34241 Text Style
34242 \end_layout
34243
34244 \begin_layout Standard
34245 Described in section
34246 \begin_inset space ~
34247 \end_inset
34248
34249
34250 \begin_inset CommandInset ref
34251 LatexCommand ref
34252 reference "sub:Fine-Tuning-with-the"
34253
34254 \end_inset
34255
34256 .
34257 \end_layout
34258
34259 \begin_layout Subsection
34260 Paragraph Settings
34261 \begin_inset Index idx
34262 status collapsed
34263
34264 \begin_layout Plain Layout
34265 Paragraph ! Settings
34266 \end_layout
34267
34268 \end_inset
34269
34270
34271 \end_layout
34272
34273 \begin_layout Standard
34274 Enables you to set the paragraph alignment, line spacing and label width.
34275  These settings only affect the paragraph in which the cursor is currently
34276  in.
34277 \end_layout
34278
34279 \begin_layout Standard
34280 You can also prevent the first line of the paragraph being indented if you
34281  have chosen to separate paragraphs with indents in the 
34282 \family sans
34283 Document\SpecialChar \menuseparator
34284 Settings
34285 \family default
34286  dialog under 
34287 \family sans
34288 Text
34289 \begin_inset space ~
34290 \end_inset
34291
34292 Layout
34293 \family default
34294 .
34295 \end_layout
34296
34297 \begin_layout Subsection
34298 Table Settings and Math
34299 \end_layout
34300
34301 \begin_layout Standard
34302 These two menus are only fully active if the cursor is inside a table or
34303  a formula.
34304  Here you can change the properties of tables and formulas.
34305  The properties of tables are described in section
34306 \begin_inset space ~
34307 \end_inset
34308
34309
34310 \begin_inset CommandInset ref
34311 LatexCommand ref
34312 reference "sec:Tables"
34313
34314 \end_inset
34315
34316 , the properties of formulas in chapter
34317 \begin_inset space ~
34318 \end_inset
34319
34320
34321 \begin_inset CommandInset ref
34322 LatexCommand ref
34323 reference "chap:Mathematical-Formulas"
34324
34325 \end_inset
34326
34327 .
34328 \end_layout
34329
34330 \begin_layout Subsection
34331 Increase / Decrease List Depth
34332 \end_layout
34333
34334 \begin_layout Standard
34335 These menu entries are only active if the cursor is in an environment that
34336  can be nested.
34337  They increase/decrease the environment nesting level as explained in section
34338 \begin_inset space ~
34339 \end_inset
34340
34341
34342 \begin_inset CommandInset ref
34343 LatexCommand ref
34344 reference "sec:Nesting"
34345
34346 \end_inset
34347
34348  and 
34349 \begin_inset CommandInset ref
34350 LatexCommand ref
34351 reference "sub:Numbering-depth"
34352
34353 \end_inset
34354
34355 .
34356 \end_layout
34357
34358 \begin_layout Section
34359 The View Menu
34360 \begin_inset Index idx
34361 status collapsed
34362
34363 \begin_layout Plain Layout
34364 Menu ! View
34365 \end_layout
34366
34367 \end_inset
34368
34369
34370 \end_layout
34371
34372 \begin_layout Standard
34373 At the bottom of the 
34374 \family sans
34375 View
34376 \family default
34377  menu the opened documents are listed.
34378 \end_layout
34379
34380 \begin_layout Subsection
34381 Open/Close all Insets
34382 \end_layout
34383
34384 \begin_layout Standard
34385 Opens/closes all insets in your document.
34386 \end_layout
34387
34388 \begin_layout Subsection
34389 Unfold/Fold Math Macros
34390 \end_layout
34391
34392 \begin_layout Standard
34393 Unfolds/folds the current math macro.
34394 \end_layout
34395
34396 \begin_layout Standard
34397 Math macros are described in the 
34398 \emph on
34399 Math
34400 \emph default
34401  manual.
34402 \end_layout
34403
34404 \begin_layout Subsection
34405 View Source
34406 \end_layout
34407
34408 \begin_layout Standard
34409 Opens a window showing the source code of the actual document, as described
34410  in section
34411 \begin_inset space ~
34412 \end_inset
34413
34414
34415 \begin_inset CommandInset ref
34416 LatexCommand ref
34417 reference "sec:Previewing-snippets-of"
34418
34419 \end_inset
34420
34421 .
34422 \end_layout
34423
34424 \begin_layout Subsection
34425 View Messages
34426 \end_layout
34427
34428 \begin_layout Standard
34429 Opens a window showing console messages.
34430  This is useful for debugging LyX (i.
34431 \begin_inset space \thinspace{}
34432 \end_inset
34433
34434 e., hunt for errors in the program) or to see what is going on in the background
34435  while LaTeX is processing the document.
34436 \end_layout
34437
34438 \begin_layout Subsection
34439 View
34440 \end_layout
34441
34442 \begin_layout Standard
34443 This menu entry generates the output in the format you have specified as
34444  default output format either in the preferences (see sec.
34445 \begin_inset space \thinspace{}
34446 \end_inset
34447
34448
34449 \begin_inset CommandInset ref
34450 LatexCommand ref
34451 reference "sec:File-Formats"
34452
34453 \end_inset
34454
34455 ) or in the document settings (see sec.
34456 \begin_inset space \thinspace{}
34457 \end_inset
34458
34459
34460 \begin_inset CommandInset ref
34461 LatexCommand ref
34462 reference "sec:Doc-Output"
34463
34464 \end_inset
34465
34466 ) and opens it in an appropriate viewer.
34467  The viewer can be set or changed in the preferences, see section
34468 \begin_inset space ~
34469 \end_inset
34470
34471
34472 \begin_inset CommandInset ref
34473 LatexCommand ref
34474 reference "sec:File-Formats"
34475
34476 \end_inset
34477
34478 .
34479  The default viewers are set by LyX when it is first configured.
34480  The default output format is 
34481 \family sans
34482 PDF
34483 \begin_inset space ~
34484 \end_inset
34485
34486 (pdflatex)
34487 \family default
34488 .
34489 \end_layout
34490
34491 \begin_layout Subsection
34492 View (Other Formats)
34493 \end_layout
34494
34495 \begin_layout Standard
34496 With this submenu you can view your document in alternative output formats.
34497  The menu contains a list of available formats in which you can view the
34498  actual document with an external program.
34499  The menu entries are not the same on all installations — it depends on
34500  the LaTeX programs that are found while LyX was configured.
34501  All possible formats are listed in section
34502 \begin_inset space ~
34503 \end_inset
34504
34505
34506 \begin_inset CommandInset ref
34507 LatexCommand ref
34508 reference "sub:Export"
34509
34510 \end_inset
34511
34512 .
34513  You should at least see the menu entry 
34514 \family sans
34515 DVI
34516 \family default
34517 .
34518  If it is missing, you need to update or repair your LaTeX installation.
34519  After updating you have to reconfigure LyX, see section
34520 \begin_inset space ~
34521 \end_inset
34522
34523
34524 \begin_inset CommandInset ref
34525 LatexCommand ref
34526 reference "sec:Basic-LyX-Setup"
34527
34528 \end_inset
34529
34530 .
34531 \begin_inset Index idx
34532 status collapsed
34533
34534 \begin_layout Plain Layout
34535 Reconfiguration of LyX
34536 \end_layout
34537
34538 \end_inset
34539
34540
34541 \end_layout
34542
34543 \begin_layout Standard
34544 Invoking a menu will start a viewer program.
34545  The viewer can be set or changed in the preferences, see section
34546 \begin_inset space ~
34547 \end_inset
34548
34549
34550 \begin_inset CommandInset ref
34551 LatexCommand ref
34552 reference "sec:File-Formats"
34553
34554 \end_inset
34555
34556 .
34557  The default viewers are set by LyX when it is first configured.
34558 \end_layout
34559
34560 \begin_layout Subsection
34561 Update
34562 \end_layout
34563
34564 \begin_layout Standard
34565 This menu entry allows you to update the view with your latest changes (in
34566  the default output format) without opening a new viewer window.
34567 \end_layout
34568
34569 \begin_layout Subsection
34570 Update (Other Formats)
34571 \end_layout
34572
34573 \begin_layout Standard
34574 With this submenu you can update the view of alternative output formats
34575  of your document without opening a new viewer window.
34576 \end_layout
34577
34578 \begin_layout Subsection
34579 View Master Document
34580 \end_layout
34581
34582 \begin_layout Standard
34583 This menu item is only visible if your document is included to another document,
34584  which is then its 
34585 \begin_inset Quotes eld
34586 \end_inset
34587
34588 master
34589 \begin_inset Quotes erd
34590 \end_inset
34591
34592  (see section 
34593 \emph on
34594 Child Documents
34595 \emph default
34596  in the 
34597 \emph on
34598 Embedded
34599 \begin_inset space ~
34600 \end_inset
34601
34602 Objects
34603 \emph default
34604  manual for more information on this topic).
34605  This item allows you to view the master document from within its child.
34606  That is, if you are working on a child document which is a chapter of a
34607  book, 
34608 \family sans
34609 View Master
34610 \family default
34611  generates the output of the whole book, while 
34612 \family sans
34613 View
34614 \family default
34615  will just output the chapter alone.
34616 \end_layout
34617
34618 \begin_layout Standard
34619 The format used by this function is the default output format as specified
34620  in the preferences (see sec.
34621 \begin_inset space \thinspace{}
34622 \end_inset
34623
34624
34625 \begin_inset CommandInset ref
34626 LatexCommand ref
34627 reference "sec:File-Formats"
34628
34629 \end_inset
34630
34631 ) or in the document settings (see sec.
34632 \begin_inset space \thinspace{}
34633 \end_inset
34634
34635
34636 \begin_inset CommandInset ref
34637 LatexCommand ref
34638 reference "sec:Doc-Output"
34639
34640 \end_inset
34641
34642 ).
34643 \end_layout
34644
34645 \begin_layout Subsection
34646 Update Master Document
34647 \end_layout
34648
34649 \begin_layout Standard
34650 This menu item is only visible if your document is included to another document,
34651  which is then its 
34652 \begin_inset Quotes eld
34653 \end_inset
34654
34655 master
34656 \begin_inset Quotes erd
34657 \end_inset
34658
34659  (see section 
34660 \emph on
34661 Child Documents
34662 \emph default
34663  in the 
34664 \emph on
34665 Embedded
34666 \begin_inset space ~
34667 \end_inset
34668
34669 Objects
34670 \emph default
34671  manual for more information on this topic).
34672  This item allows you to update the view of a master document from within
34673  its child without the need to switch to the master document itself.
34674 \end_layout
34675
34676 \begin_layout Standard
34677 The format used by this function is the default output format as specified
34678  in the preferences (see sec.
34679 \begin_inset space \thinspace{}
34680 \end_inset
34681
34682
34683 \begin_inset CommandInset ref
34684 LatexCommand ref
34685 reference "sec:File-Formats"
34686
34687 \end_inset
34688
34689 ) or in the document settings (see sec.
34690 \begin_inset space \thinspace{}
34691 \end_inset
34692
34693
34694 \begin_inset CommandInset ref
34695 LatexCommand ref
34696 reference "sec:Doc-Output"
34697
34698 \end_inset
34699
34700 ).
34701 \end_layout
34702
34703 \begin_layout Subsection
34704 Split View
34705 \end_layout
34706
34707 \begin_layout Standard
34708 This will split LyX's main window vertically or horizontally.
34709  This allows you to view documents at the same time to compare them, or
34710  to view the same document, but at different positions.
34711  You can even split the main window several times to view for example 3
34712  or more documents at the same time.
34713  To return to an unsplit view, use the menu 
34714 \family sans
34715 Close Current View
34716 \family default
34717 .
34718 \end_layout
34719
34720 \begin_layout Subsection
34721 Close Current View
34722 \end_layout
34723
34724 \begin_layout Standard
34725 Closes a split view.
34726 \end_layout
34727
34728 \begin_layout Subsection
34729 Fullscreen
34730 \end_layout
34731
34732 \begin_layout Standard
34733 Using this menu entry or pressing F11 removes the menu bar and all toolbars
34734  so that you will see nothing but your text.
34735  It furthermore displays LyX's main window fullscreen.
34736  To return from fullscreen to the normal view, press F11, or right-click
34737  and turn off the fullscreen mode in the context menu.
34738 \end_layout
34739
34740 \begin_layout Subsection
34741 Toolbars
34742 \begin_inset CommandInset label
34743 LatexCommand label
34744 name "sub:Toolbars"
34745
34746 \end_inset
34747
34748
34749 \begin_inset Index idx
34750 status collapsed
34751
34752 \begin_layout Plain Layout
34753 Toolbar
34754 \end_layout
34755
34756 \end_inset
34757
34758
34759 \end_layout
34760
34761 \begin_layout Standard
34762 In this menu entry you can set the appearance of the different toolbars.
34763  All toolbars and the 
34764 \family sans
34765 Command
34766 \begin_inset space ~
34767 \end_inset
34768
34769 Buffer
34770 \family default
34771  can be turned on and off.
34772  The 
34773 \emph on
34774 on
34775 \emph default
34776  state is denoted in the menu with a checkmark.
34777  The 
34778 \family sans
34779 Review
34780 \family default
34781
34782 \family sans
34783 Table
34784 \family default
34785
34786 \family sans
34787 Math
34788 \begin_inset space ~
34789 \end_inset
34790
34791 Panels
34792 \family default
34793
34794 \family sans
34795 Math
34796 \begin_inset space ~
34797 \end_inset
34798
34799 Macros
34800 \family default
34801  and 
34802 \family sans
34803 Math
34804 \family default
34805  toolbars can be additionally set to the state 
34806 \emph on
34807 automatic
34808 \emph default
34809  that is denoted in the menu with the suffix 
34810 \family sans
34811 (auto)
34812 \family default
34813 .
34814 \end_layout
34815
34816 \begin_layout Standard
34817 In the 
34818 \emph on
34819 on
34820 \emph default
34821  state the toolbar is permanently shown, in the 
34822 \emph on
34823 automatic
34824 \emph default
34825  state the toolbar is only shown when the cursor is in a certain environment
34826  or when a certain feature is enabled.
34827  That means that the review toolbar will only be shown if change tracking
34828  is activated, the math and table toolbars are only shown if the cursor
34829  is inside a formula or table, respectively.
34830 \end_layout
34831
34832 \begin_layout Standard
34833 LyX's toolbars and their buttons are explained in section
34834 \begin_inset space ~
34835 \end_inset
34836
34837
34838 \begin_inset CommandInset ref
34839 LatexCommand ref
34840 reference "sec:Toolbars"
34841
34842 \end_inset
34843
34844 .
34845 \end_layout
34846
34847 \begin_layout Section
34848 The Insert Menu
34849 \begin_inset Index idx
34850 status collapsed
34851
34852 \begin_layout Plain Layout
34853 Menu ! Insert
34854 \end_layout
34855
34856 \end_inset
34857
34858
34859 \end_layout
34860
34861 \begin_layout Subsection
34862 Math
34863 \end_layout
34864
34865 \begin_layout Standard
34866 Inserts math constructs that are explained in chapter
34867 \begin_inset space ~
34868 \end_inset
34869
34870
34871 \begin_inset CommandInset ref
34872 LatexCommand ref
34873 reference "chap:Mathematical-Formulas"
34874
34875 \end_inset
34876
34877  and the 
34878 \emph on
34879 Math
34880 \emph default
34881  manual.
34882 \end_layout
34883
34884 \begin_layout Subsection
34885 Special Character
34886 \begin_inset CommandInset label
34887 LatexCommand label
34888 name "sub:Special-Character"
34889
34890 \end_inset
34891
34892
34893 \end_layout
34894
34895 \begin_layout Standard
34896 Here you can insert the following characters:
34897 \end_layout
34898
34899 \begin_layout Description
34900 Symbols Inserts any character that can be output by your LaTeX system.
34901  Therefore the number of character categories in this dialog and the available
34902  characters depend on the LaTeX-packages you have installed.
34903 \begin_inset Newline newline
34904 \end_inset
34905
34906  
34907 \begin_inset Note Greyedout
34908 status collapsed
34909
34910 \begin_layout Plain Layout
34911
34912 \series bold
34913 Note:
34914 \series default
34915  Not all characters will be visible in the 
34916 \family sans
34917 Symbols
34918 \family default
34919  dialog because none of the screen fonts that you can set in the preferences
34920  dialog (see sec.
34921 \begin_inset space \thinspace{}
34922 \end_inset
34923
34924
34925 \begin_inset CommandInset ref
34926 LatexCommand ref
34927 reference "sub:Screen-Fonts"
34928
34929 \end_inset
34930
34931 ) can display every character.
34932 \end_layout
34933
34934 \end_inset
34935
34936
34937 \end_layout
34938
34939 \begin_layout Description
34940 Ellipsis Inserts an ellipsis: \SpecialChar \ldots{}
34941
34942 \end_layout
34943
34944 \begin_layout Description
34945 End
34946 \begin_inset space ~
34947 \end_inset
34948
34949 of
34950 \begin_inset space ~
34951 \end_inset
34952
34953 Sentence Inserts an end of sentence dot as described in section
34954 \begin_inset space ~
34955 \end_inset
34956
34957
34958 \begin_inset CommandInset ref
34959 LatexCommand ref
34960 reference "sub:Abbreviations"
34961
34962 \end_inset
34963
34964 .
34965 \end_layout
34966
34967 \begin_layout Description
34968 Ordinary
34969 \begin_inset space ~
34970 \end_inset
34971
34972 Quote Inserts this quote: ", no matter what quote type you selected in the
34973  
34974 \family sans
34975 Document\SpecialChar \menuseparator
34976 Settings
34977 \family default
34978  dialog under 
34979 \family sans
34980 Language
34981 \family default
34982 .
34983 \end_layout
34984
34985 \begin_layout Description
34986 Single
34987 \begin_inset space ~
34988 \end_inset
34989
34990 Quote Inserts 
34991 \change_deleted -712698321 1345809482
34992 this
34993 \change_inserted -712698321 1345809484
34994 a single
34995 \change_unchanged
34996  quote
34997 \change_deleted -712698321 1345809487
34998
34999 \begin_inset Quotes ers
35000 \end_inset
35001
35002
35003 \change_inserted -712698321 1345809513
35004  in the quotation marks style selected in the 
35005 \family sans
35006 Document\SpecialChar \menuseparator
35007 Settings
35008 \family default
35009  dialog under 
35010 \family sans
35011 Language
35012 \family default
35013 .
35014 \change_unchanged
35015
35016 \end_layout
35017
35018 \begin_layout Description
35019 Protected
35020 \begin_inset space ~
35021 \end_inset
35022
35023 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar \nobreakdash-
35024
35025 \end_layout
35026
35027 \begin_layout Description
35028 Breakable
35029 \begin_inset space ~
35030 \end_inset
35031
35032 Slash Inserts a slash where also a line break can occur: \SpecialChar \slash{}
35033
35034 \end_layout
35035
35036 \begin_layout Description
35037 Menu
35038 \begin_inset space ~
35039 \end_inset
35040
35041 Separator Inserts the menu separator sign: \SpecialChar \menuseparator
35042
35043 \end_layout
35044
35045 \begin_layout Description
35046 Phonetic
35047 \begin_inset space ~
35048 \end_inset
35049
35050 Symbols 
35051 \begin_inset Index idx
35052 status collapsed
35053
35054 \begin_layout Plain Layout
35055 Phonetic symbols
35056 \end_layout
35057
35058 \end_inset
35059
35060
35061 \begin_inset Index idx
35062 status collapsed
35063
35064 \begin_layout Plain Layout
35065 Language ! Phonetic symbols
35066 \end_layout
35067
35068 \end_inset
35069
35070
35071 \change_deleted -712698321 1345808954
35072 Creates a formula with a so called tipa inset
35073 \change_inserted -712698321 1345808969
35074 Inserts a box where
35075 \change_deleted -712698321 1345809001
35076 .
35077  Here
35078 \change_unchanged
35079  you can insert 
35080 \change_deleted -712698321 1345809047
35081 commands to create IPA phonetic 
35082 \change_unchanged
35083 symbols
35084 \change_inserted -712698321 1345809189
35085  from the International Phonetic Alphabet (IPA) and opens a toolbar which
35086  provides a large set of these symbols
35087 \change_unchanged
35088 .
35089  
35090 \change_deleted -712698321 1345809068
35091 For
35092 \change_inserted -712698321 1345809068
35093 To use
35094 \change_unchanged
35095  this feature 
35096 \change_inserted -712698321 1345809224
35097 with traditional LaTeX 
35098 \change_unchanged
35099 you must have the LaTeX-package 
35100 \series bold
35101 tipa
35102 \series default
35103
35104 \begin_inset Index idx
35105 status collapsed
35106
35107 \begin_layout Plain Layout
35108 LaTeX-packages ! tipa
35109 \end_layout
35110
35111 \end_inset
35112
35113  installed.
35114 \begin_inset Newline newline
35115 \end_inset
35116
35117
35118 \change_deleted -712698321 1345809282
35119 For m
35120 \change_inserted -712698321 1345809283
35121 M
35122 \change_unchanged
35123 ore information about this feature 
35124 \change_deleted -712698321 1345809286
35125 we refer you to the documentation of 
35126 \series bold
35127 tipa, 
35128 \begin_inset CommandInset citation
35129 LatexCommand cite
35130 key "tipa"
35131
35132 \end_inset
35133
35134
35135 \series default
35136  and this Wiki-page:
35137 \begin_inset Newline newline
35138 \end_inset
35139
35140
35141 \begin_inset Flex URL
35142 status collapsed
35143
35144 \begin_layout Plain Layout
35145
35146 http://wiki.lyx.org/LyX/LinguistLyX
35147 \end_layout
35148
35149 \end_inset
35150
35151
35152 \change_inserted -712698321 1345809397
35153 can be found in the Linguistics manual (
35154 \family sans
35155 Help\SpecialChar \menuseparator
35156 Specific Manuals\SpecialChar \menuseparator
35157 Linguistics Manual
35158 \family default
35159 ).
35160 \change_unchanged
35161
35162 \end_layout
35163
35164 \begin_layout Subsection
35165 Formatting
35166 \end_layout
35167
35168 \begin_layout Standard
35169 Here you can insert the following format constructs:
35170 \end_layout
35171
35172 \begin_layout Description
35173 Superscript Inserts a superscript: test
35174 \begin_inset script superscript
35175
35176 \begin_layout Plain Layout
35177 a, b
35178 \end_layout
35179
35180 \end_inset
35181
35182
35183 \end_layout
35184
35185 \begin_layout Description
35186 Subscript Inserts a subscript: test
35187 \begin_inset script subscript
35188
35189 \begin_layout Plain Layout
35190 3x
35191 \end_layout
35192
35193 \end_inset
35194
35195
35196 \end_layout
35197
35198 \begin_layout Description
35199 Protected
35200 \begin_inset space ~
35201 \end_inset
35202
35203 Space Inserts a protected space that is described in section
35204 \begin_inset space ~
35205 \end_inset
35206
35207
35208 \begin_inset CommandInset ref
35209 LatexCommand ref
35210 reference "sub:Protected-Space"
35211
35212 \end_inset
35213
35214 .
35215 \end_layout
35216
35217 \begin_layout Description
35218 Inter-word
35219 \begin_inset space ~
35220 \end_inset
35221
35222 Space Inserts an inter-word space that is described in section
35223 \begin_inset space ~
35224 \end_inset
35225
35226
35227 \begin_inset CommandInset ref
35228 LatexCommand ref
35229 reference "sub:Inter-word-Space"
35230
35231 \end_inset
35232
35233 .
35234 \end_layout
35235
35236 \begin_layout Description
35237 Thin
35238 \begin_inset space ~
35239 \end_inset
35240
35241 Space Inserts a thin space that is described in section
35242 \begin_inset space ~
35243 \end_inset
35244
35245
35246 \begin_inset CommandInset ref
35247 LatexCommand ref
35248 reference "sub:Thin-Space"
35249
35250 \end_inset
35251
35252 .
35253 \end_layout
35254
35255 \begin_layout Description
35256 Horizontal
35257 \begin_inset space ~
35258 \end_inset
35259
35260 Space Inserts horizontal space, see section
35261 \begin_inset space ~
35262 \end_inset
35263
35264
35265 \begin_inset CommandInset ref
35266 LatexCommand ref
35267 reference "sub:Horizontal-Space"
35268
35269 \end_inset
35270
35271  for a description.
35272 \end_layout
35273
35274 \begin_layout Description
35275 Horizontal
35276 \begin_inset space ~
35277 \end_inset
35278
35279 Line Inserts a horizontal line, see section
35280 \begin_inset space ~
35281 \end_inset
35282
35283
35284 \begin_inset CommandInset ref
35285 LatexCommand ref
35286 reference "sub:Horizontal-Lines"
35287
35288 \end_inset
35289
35290  for a description.
35291 \end_layout
35292
35293 \begin_layout Description
35294 Vertical
35295 \begin_inset space ~
35296 \end_inset
35297
35298 Space Inserts vertical space, see section
35299 \begin_inset space ~
35300 \end_inset
35301
35302
35303 \begin_inset CommandInset ref
35304 LatexCommand ref
35305 reference "sub:Vertical-Space"
35306
35307 \end_inset
35308
35309  for a description.
35310 \end_layout
35311
35312 \begin_layout Description
35313 Phantom Inserts Phantom space, see section
35314 \begin_inset space ~
35315 \end_inset
35316
35317
35318 \begin_inset CommandInset ref
35319 LatexCommand ref
35320 reference "sub:Phantom-Space"
35321
35322 \end_inset
35323
35324 .
35325 \end_layout
35326
35327 \begin_layout Description
35328 Hyphenation
35329 \begin_inset space ~
35330 \end_inset
35331
35332 Point Inserts a hyphenation point, see section
35333 \begin_inset space ~
35334 \end_inset
35335
35336
35337 \begin_inset CommandInset ref
35338 LatexCommand ref
35339 reference "sub:Hyphenation"
35340
35341 \end_inset
35342
35343 .
35344 \end_layout
35345
35346 \begin_layout Description
35347 Ligature
35348 \begin_inset space ~
35349 \end_inset
35350
35351 Break Inserts a ligature break, see section
35352 \begin_inset space ~
35353 \end_inset
35354
35355
35356 \begin_inset CommandInset ref
35357 LatexCommand ref
35358 reference "sub:Ligatures"
35359
35360 \end_inset
35361
35362 .
35363 \end_layout
35364
35365 \begin_layout Description
35366 Ragged
35367 \begin_inset space ~
35368 \end_inset
35369
35370 Line
35371 \begin_inset space ~
35372 \end_inset
35373
35374 Break Inserts a forced line break, see section
35375 \begin_inset space ~
35376 \end_inset
35377
35378
35379 \begin_inset CommandInset ref
35380 LatexCommand ref
35381 reference "sub:Forced-Line-Breaks"
35382
35383 \end_inset
35384
35385 .
35386 \end_layout
35387
35388 \begin_layout Description
35389 Justified
35390 \begin_inset space ~
35391 \end_inset
35392
35393 Break Inserts a forced line break that furthermore stretches the broken
35394  text line to the page border, see section
35395 \begin_inset space ~
35396 \end_inset
35397
35398
35399 \begin_inset CommandInset ref
35400 LatexCommand ref
35401 reference "sub:Forced-Line-Breaks"
35402
35403 \end_inset
35404
35405 .
35406 \end_layout
35407
35408 \begin_layout Description
35409 New
35410 \begin_inset space ~
35411 \end_inset
35412
35413 Page Inserts a forced page break, described in section
35414 \begin_inset space ~
35415 \end_inset
35416
35417
35418 \begin_inset CommandInset ref
35419 LatexCommand ref
35420 reference "sub:Forced-Page-Breaks"
35421
35422 \end_inset
35423
35424 .
35425 \end_layout
35426
35427 \begin_layout Description
35428 Page
35429 \begin_inset space ~
35430 \end_inset
35431
35432 Break Inserts a forced page break that furthermore stretches the broken
35433  text page to the page border, described in section
35434 \begin_inset space ~
35435 \end_inset
35436
35437
35438 \begin_inset CommandInset ref
35439 LatexCommand ref
35440 reference "sub:Forced-Page-Breaks"
35441
35442 \end_inset
35443
35444 .
35445 \end_layout
35446
35447 \begin_layout Description
35448 Clear
35449 \begin_inset space ~
35450 \end_inset
35451
35452 Page Inserts a clear page break, described in section
35453 \begin_inset space ~
35454 \end_inset
35455
35456
35457 \begin_inset CommandInset ref
35458 LatexCommand ref
35459 reference "sub:Clear-Page-Breaks"
35460
35461 \end_inset
35462
35463 .
35464 \end_layout
35465
35466 \begin_layout Description
35467 Clear
35468 \begin_inset space ~
35469 \end_inset
35470
35471 Double
35472 \begin_inset space ~
35473 \end_inset
35474
35475 Page Inserts a clear doublepage break, described in section
35476 \begin_inset space ~
35477 \end_inset
35478
35479
35480 \begin_inset CommandInset ref
35481 LatexCommand ref
35482 reference "sub:Clear-Page-Breaks"
35483
35484 \end_inset
35485
35486 .
35487 \end_layout
35488
35489 \begin_layout Subsection
35490 List / TOC
35491 \end_layout
35492
35493 \begin_layout Standard
35494 Various lists can be inserted with this menu entry.
35495  The table of contents, the algorithm, figures and tables list are described
35496  in section
35497 \begin_inset space ~
35498 \end_inset
35499
35500
35501 \begin_inset CommandInset ref
35502 LatexCommand ref
35503 reference "sec:toc"
35504
35505 \end_inset
35506
35507 .
35508  The index list is described in section
35509 \begin_inset space ~
35510 \end_inset
35511
35512
35513 \begin_inset CommandInset ref
35514 LatexCommand ref
35515 reference "sec:Index"
35516
35517 \end_inset
35518
35519 , the nomenclature in section
35520 \begin_inset space ~
35521 \end_inset
35522
35523
35524 \begin_inset CommandInset ref
35525 LatexCommand ref
35526 reference "sec:Nomenclature"
35527
35528 \end_inset
35529
35530  and the BibTeX bibliography in section
35531 \begin_inset space ~
35532 \end_inset
35533
35534
35535 \begin_inset CommandInset ref
35536 LatexCommand ref
35537 reference "sub:Bibliography-databases"
35538
35539 \end_inset
35540
35541 .
35542 \end_layout
35543
35544 \begin_layout Subsection
35545 Float
35546 \end_layout
35547
35548 \begin_layout Standard
35549 To insert floats, described in section
35550 \begin_inset space ~
35551 \end_inset
35552
35553
35554 \begin_inset CommandInset ref
35555 LatexCommand ref
35556 reference "sec:Floats"
35557
35558 \end_inset
35559
35560 .
35561 \end_layout
35562
35563 \begin_layout Subsection
35564 Note
35565 \end_layout
35566
35567 \begin_layout Standard
35568 To insert notes, described in section
35569 \begin_inset space ~
35570 \end_inset
35571
35572
35573 \begin_inset CommandInset ref
35574 LatexCommand ref
35575 reference "sec:Notes"
35576
35577 \end_inset
35578
35579 .
35580 \end_layout
35581
35582 \begin_layout Subsection
35583 Branch
35584 \end_layout
35585
35586 \begin_layout Standard
35587 Inserts branch insets as described in section
35588 \begin_inset space ~
35589 \end_inset
35590
35591
35592 \begin_inset CommandInset ref
35593 LatexCommand ref
35594 reference "sec:Branches"
35595
35596 \end_inset
35597
35598 .
35599 \end_layout
35600
35601 \begin_layout Subsection
35602 Custom Insets
35603 \end_layout
35604
35605 \begin_layout Standard
35606 Inserts document class-specific insets.
35607  Such insets only exist if they are defined in the layout file for a certain
35608  document class.
35609  An example is the document class 
35610 \begin_inset Quotes eld
35611 \end_inset
35612
35613 article (Elsevier)
35614 \begin_inset Quotes erd
35615 \end_inset
35616
35617  with three custom insets.
35618  The section 
35619 \emph on
35620 Flex insets and InsetLayout
35621 \emph default
35622  of the 
35623 \emph on
35624 Customization
35625 \emph default
35626  manual explains how custom insets are defined.
35627 \end_layout
35628
35629 \begin_layout Subsection
35630 File
35631 \begin_inset Index idx
35632 status collapsed
35633
35634 \begin_layout Plain Layout
35635 External Material
35636 \end_layout
35637
35638 \end_inset
35639
35640
35641 \end_layout
35642
35643 \begin_layout Standard
35644 This menu entry allows you to insert or include the contents of other files
35645  in your document.
35646  How you can do this is explained in detail in the chapter 
35647 \emph on
35648 External Stuff
35649 \emph default
35650  of the 
35651 \emph on
35652 Embedded
35653 \begin_inset space ~
35654 \end_inset
35655
35656 Objects
35657 \emph default
35658  manual.
35659 \end_layout
35660
35661 \begin_layout Subsection
35662 Box
35663 \begin_inset Index idx
35664 status collapsed
35665
35666 \begin_layout Plain Layout
35667 Boxes
35668 \end_layout
35669
35670 \end_inset
35671
35672
35673 \end_layout
35674
35675 \begin_layout Standard
35676 Inserts a minipage box that is described section
35677 \begin_inset space ~
35678 \end_inset
35679
35680
35681 \begin_inset CommandInset ref
35682 LatexCommand ref
35683 reference "sec:Minipages"
35684
35685 \end_inset
35686
35687 .
35688  All box types supported by LyX are explained in detail in the chapter 
35689 \emph on
35690 Boxes
35691 \emph default
35692  of the 
35693 \emph on
35694 Embedded
35695 \begin_inset space ~
35696 \end_inset
35697
35698 Objects
35699 \emph default
35700  manual.
35701 \end_layout
35702
35703 \begin_layout Subsection
35704 Citation
35705 \end_layout
35706
35707 \begin_layout Standard
35708 Inserts a citation as described in section
35709 \begin_inset space ~
35710 \end_inset
35711
35712
35713 \begin_inset CommandInset ref
35714 LatexCommand ref
35715 reference "sec:Bibliography"
35716
35717 \end_inset
35718
35719 .
35720 \end_layout
35721
35722 \begin_layout Subsection
35723 Cross-Reference
35724 \end_layout
35725
35726 \begin_layout Standard
35727 Inserts a cross-reference as described in section
35728 \begin_inset space ~
35729 \end_inset
35730
35731
35732 \begin_inset CommandInset ref
35733 LatexCommand ref
35734 reference "sec:Cross-References"
35735
35736 \end_inset
35737
35738 .
35739 \end_layout
35740
35741 \begin_layout Subsection
35742 Label
35743 \end_layout
35744
35745 \begin_layout Standard
35746 Inserts a label as described in section
35747 \begin_inset space ~
35748 \end_inset
35749
35750
35751 \begin_inset CommandInset ref
35752 LatexCommand ref
35753 reference "sec:Cross-References"
35754
35755 \end_inset
35756
35757 .
35758 \end_layout
35759
35760 \begin_layout Subsection
35761 Caption
35762 \begin_inset Index idx
35763 status collapsed
35764
35765 \begin_layout Plain Layout
35766 Captions
35767 \end_layout
35768
35769 \end_inset
35770
35771
35772 \begin_inset Index idx
35773 status collapsed
35774
35775 \begin_layout Plain Layout
35776 Longtables ! Caption
35777 \end_layout
35778
35779 \end_inset
35780
35781
35782 \end_layout
35783
35784 \begin_layout Standard
35785 Inserts a caption in a float or longtable.
35786  Floats are described in section
35787 \begin_inset space ~
35788 \end_inset
35789
35790
35791 \begin_inset CommandInset ref
35792 LatexCommand ref
35793 reference "sec:Floats"
35794
35795 \end_inset
35796
35797 , captions in longtables are described in the section 
35798 \emph on
35799 Longtable Captions
35800 \emph default
35801  of the 
35802 \emph on
35803 Embedded
35804 \begin_inset space ~
35805 \end_inset
35806
35807 Objects
35808 \emph default
35809  manual.
35810 \end_layout
35811
35812 \begin_layout Subsection
35813 Index Entry
35814 \end_layout
35815
35816 \begin_layout Standard
35817 Inserts an index entry as described in section
35818 \begin_inset space ~
35819 \end_inset
35820
35821
35822 \begin_inset CommandInset ref
35823 LatexCommand ref
35824 reference "sec:Index"
35825
35826 \end_inset
35827
35828 .
35829 \end_layout
35830
35831 \begin_layout Subsection
35832 Nomenclature Entry
35833 \end_layout
35834
35835 \begin_layout Standard
35836 Inserts a nomenclature entry as described in section
35837 \begin_inset space ~
35838 \end_inset
35839
35840
35841 \begin_inset CommandInset ref
35842 LatexCommand ref
35843 reference "sec:Nomenclature"
35844
35845 \end_inset
35846
35847 .
35848 \end_layout
35849
35850 \begin_layout Subsection
35851 Table
35852 \end_layout
35853
35854 \begin_layout Standard
35855 Inserts a table.
35856  Tables are described in section
35857 \begin_inset space ~
35858 \end_inset
35859
35860
35861 \begin_inset CommandInset ref
35862 LatexCommand ref
35863 reference "sec:Tables"
35864
35865 \end_inset
35866
35867 .
35868 \end_layout
35869
35870 \begin_layout Subsection
35871 Graphics
35872 \end_layout
35873
35874 \begin_layout Standard
35875 Inserts a graphic.
35876  Graphics are described in section
35877 \begin_inset space ~
35878 \end_inset
35879
35880
35881 \begin_inset CommandInset ref
35882 LatexCommand ref
35883 reference "sec:Graphics"
35884
35885 \end_inset
35886
35887 .
35888 \end_layout
35889
35890 \begin_layout Subsection
35891 URL
35892 \end_layout
35893
35894 \begin_layout Standard
35895 Inserts a URL as described in section
35896 \begin_inset space ~
35897 \end_inset
35898
35899
35900 \begin_inset CommandInset ref
35901 LatexCommand ref
35902 reference "sub:URLs"
35903
35904 \end_inset
35905
35906 .
35907 \end_layout
35908
35909 \begin_layout Subsection
35910 Hyperlinks
35911 \end_layout
35912
35913 \begin_layout Standard
35914 Inserts a hyperlink as described in section
35915 \begin_inset space ~
35916 \end_inset
35917
35918
35919 \begin_inset CommandInset ref
35920 LatexCommand ref
35921 reference "sub:Hyperlinks"
35922
35923 \end_inset
35924
35925 .
35926 \end_layout
35927
35928 \begin_layout Subsection
35929 Footnote
35930 \end_layout
35931
35932 \begin_layout Standard
35933 Inserts a footnote, see section
35934 \begin_inset space ~
35935 \end_inset
35936
35937
35938 \begin_inset CommandInset ref
35939 LatexCommand ref
35940 reference "sec:Footnotes"
35941
35942 \end_inset
35943
35944 .
35945 \end_layout
35946
35947 \begin_layout Subsection
35948 Marginal Note
35949 \end_layout
35950
35951 \begin_layout Standard
35952 Inserts a marginal note, see section
35953 \begin_inset space ~
35954 \end_inset
35955
35956
35957 \begin_inset CommandInset ref
35958 LatexCommand ref
35959 reference "sec:Marginal-Notes"
35960
35961 \end_inset
35962
35963 .
35964 \end_layout
35965
35966 \begin_layout Subsection
35967 Short Title
35968 \end_layout
35969
35970 \begin_layout Standard
35971 Inserts a short title, see section
35972 \begin_inset space ~
35973 \end_inset
35974
35975
35976 \begin_inset CommandInset ref
35977 LatexCommand ref
35978 reference "sec:Short-Titles"
35979
35980 \end_inset
35981
35982 .
35983 \end_layout
35984
35985 \begin_layout Subsection
35986 TeX Code
35987 \end_layout
35988
35989 \begin_layout Standard
35990 Inserts a TeX Code box, see section
35991 \begin_inset space ~
35992 \end_inset
35993
35994
35995 \begin_inset CommandInset ref
35996 LatexCommand ref
35997 reference "sub:TeX-Code-Boxes"
35998
35999 \end_inset
36000
36001  for a description.
36002 \end_layout
36003
36004 \begin_layout Subsection
36005 Program Listing
36006 \begin_inset Index idx
36007 status collapsed
36008
36009 \begin_layout Plain Layout
36010 Program listings
36011 \end_layout
36012
36013 \end_inset
36014
36015
36016 \end_layout
36017
36018 \begin_layout Standard
36019 Inserts a program listings box.
36020  Program listings are explained in the chapter 
36021 \emph on
36022 Program Code Listings
36023 \emph default
36024  of the 
36025 \emph on
36026 Embedded
36027 \begin_inset space ~
36028 \end_inset
36029
36030 Objects
36031 \emph default
36032  manual.
36033 \end_layout
36034
36035 \begin_layout Subsection
36036 Date
36037 \end_layout
36038
36039 \begin_layout Standard
36040 Inserts the actual date.
36041  The format depends on the date format of the language that is used for
36042  LyX's menus.
36043  LyX offers various ways to insert a date which are explained and also compared
36044  in the section 
36045 \emph on
36046 External Material
36047 \emph default
36048  of the 
36049 \emph on
36050 Embedded
36051 \begin_inset space ~
36052 \end_inset
36053
36054 Objects
36055 \emph default
36056  manual.
36057 \end_layout
36058
36059 \begin_layout Subsection
36060 Preview
36061 \end_layout
36062
36063 \begin_layout Standard
36064 Inserts a preview inset, see section
36065 \begin_inset space ~
36066 \end_inset
36067
36068
36069 \begin_inset CommandInset ref
36070 LatexCommand ref
36071 reference "sec:Previewing-snippets-of"
36072
36073 \end_inset
36074
36075  for a description.
36076 \end_layout
36077
36078 \begin_layout Section
36079 The Navigate Menu
36080 \begin_inset Index idx
36081 status collapsed
36082
36083 \begin_layout Plain Layout
36084 Menu ! Navigate
36085 \end_layout
36086
36087 \end_inset
36088
36089
36090 \end_layout
36091
36092 \begin_layout Standard
36093 This menu lists the existing chapters, sections, figures, tables, etc.
36094 \begin_inset space ~
36095 \end_inset
36096
36097 of the current document.
36098  This allows you to navigate easily through your document.
36099 \end_layout
36100
36101 \begin_layout Subsection
36102 Bookmarks
36103 \end_layout
36104
36105 \begin_layout Standard
36106 With this menu entry you are able to define your own bookmarks.
36107  This is useful when you are working on a large document and often have
36108  to jump e.
36109 \begin_inset space \thinspace{}
36110 \end_inset
36111
36112 g.
36113 \begin_inset space \space{}
36114 \end_inset
36115
36116 between section
36117 \begin_inset space ~
36118 \end_inset
36119
36120 2.5 and 6.3.
36121  To create bookmarks for this example, go to section
36122 \begin_inset space ~
36123 \end_inset
36124
36125 2.5 and use the submenu 
36126 \family sans
36127 Save
36128 \begin_inset space ~
36129 \end_inset
36130
36131 Bookmark
36132 \begin_inset space ~
36133 \end_inset
36134
36135 1
36136 \family default
36137 .
36138  Then go to section
36139 \begin_inset space ~
36140 \end_inset
36141
36142 6.3 and use 
36143 \family sans
36144 Save
36145 \begin_inset space ~
36146 \end_inset
36147
36148 Bookmark
36149 \begin_inset space ~
36150 \end_inset
36151
36152
36153 \family default
36154 2.
36155  Now you can jump easily between these sections by using the menu or by
36156  the key bindings 
36157 \begin_inset Info
36158 type  "shortcut"
36159 arg   "bookmark-goto 1"
36160 \end_inset
36161
36162  and 
36163 \begin_inset Info
36164 type  "shortcut"
36165 arg   "bookmark-goto 2"
36166 \end_inset
36167
36168 .
36169 \end_layout
36170
36171 \begin_layout Standard
36172 You can also use bookmarks to jump between several opened documents.
36173  The saved bookmarks are valid till the document is closed.
36174 \end_layout
36175
36176 \begin_layout Subsection
36177 Next Note, Change, Cross-reference
36178 \end_layout
36179
36180 \begin_layout Standard
36181 Jump to the next note, change, or cross-reference following the current
36182  cursor position.
36183 \end_layout
36184
36185 \begin_layout Subsection
36186 Go to Label
36187 \end_layout
36188
36189 \begin_layout Standard
36190 Only active if the cursor is in front of a cross-reference.
36191  Sets the cursor before the referenced label.
36192  (It is the same as if you right-click on a cross-reference box and use
36193  
36194 \family sans
36195 Go
36196 \begin_inset space ~
36197 \end_inset
36198
36199 to
36200 \begin_inset space ~
36201 \end_inset
36202
36203 Label)
36204 \family default
36205 .
36206 \end_layout
36207
36208 \begin_layout Subsection
36209 Forward Search
36210 \end_layout
36211
36212 \begin_layout Standard
36213 This feature allows you to directly jump to the corresponding text part
36214  in the output, see section 
36215 \emph on
36216 Forward
36217 \begin_inset space ~
36218 \end_inset
36219
36220 search
36221 \emph default
36222  in the 
36223 \emph on
36224 Additional
36225 \begin_inset space ~
36226 \end_inset
36227
36228 Features
36229 \emph default
36230  manual for a detailed description.
36231 \end_layout
36232
36233 \begin_layout Section
36234 The Document Menu
36235 \begin_inset Index idx
36236 status collapsed
36237
36238 \begin_layout Plain Layout
36239 Menu ! Document
36240 \end_layout
36241
36242 \end_inset
36243
36244
36245 \end_layout
36246
36247 \begin_layout Subsection
36248 Change Tracking
36249 \end_layout
36250
36251 \begin_layout Standard
36252 Change Tracking is described in section
36253 \begin_inset space ~
36254 \end_inset
36255
36256
36257 \begin_inset CommandInset ref
36258 LatexCommand ref
36259 reference "sec:Change-Tracking"
36260
36261 \end_inset
36262
36263 .
36264 \end_layout
36265
36266 \begin_layout Subsection
36267 LaT
36268 \begin_inset ERT
36269 status collapsed
36270
36271 \begin_layout Plain Layout
36272
36273 {}
36274 \end_layout
36275
36276 \end_inset
36277
36278 eX Log
36279 \end_layout
36280
36281 \begin_layout Standard
36282 After running LaTeX by viewing or exporting a document, this menu will be
36283  enabled.
36284  It shows the logfile of the used LaTeX-program.
36285 \end_layout
36286
36287 \begin_layout Standard
36288 Here you can see how LaTeX works in the background.
36289  
36290 \emph on
36291 Experts
36292 \emph default
36293  will find in it reasons for LaTeX-errors.
36294 \end_layout
36295
36296 \begin_layout Subsection
36297 Outline
36298 \end_layout
36299
36300 \begin_layout Standard
36301 Opens the TOC/Outline window as described in section
36302 \begin_inset space ~
36303 \end_inset
36304
36305
36306 \begin_inset CommandInset ref
36307 LatexCommand ref
36308 reference "sec:Navigating"
36309
36310 \end_inset
36311
36312  and 
36313 \begin_inset CommandInset ref
36314 LatexCommand ref
36315 reference "sub:Table-of-Contents"
36316
36317 \end_inset
36318
36319 .
36320 \end_layout
36321
36322 \begin_layout Subsection
36323 Start Appendix Here
36324 \end_layout
36325
36326 \begin_layout Standard
36327 This menu will start the appendix of the document at the current cursor
36328  position as described in section
36329 \begin_inset space ~
36330 \end_inset
36331
36332
36333 \begin_inset CommandInset ref
36334 LatexCommand ref
36335 reference "sec:Appendices"
36336
36337 \end_inset
36338
36339 .
36340 \end_layout
36341
36342 \begin_layout Subsection
36343 Compressed
36344 \end_layout
36345
36346 \begin_layout Standard
36347 Un/compresses the current document.
36348 \end_layout
36349
36350 \begin_layout Subsection
36351 Settings
36352 \end_layout
36353
36354 \begin_layout Standard
36355 The document settings are described in appendix
36356 \begin_inset space ~
36357 \end_inset
36358
36359
36360 \begin_inset CommandInset ref
36361 LatexCommand ref
36362 reference "chap:The-Document-Settings"
36363
36364 \end_inset
36365
36366 .
36367 \end_layout
36368
36369 \begin_layout Section
36370 The Tools Menu
36371 \begin_inset Index idx
36372 status collapsed
36373
36374 \begin_layout Plain Layout
36375 Menu ! Tools
36376 \end_layout
36377
36378 \end_inset
36379
36380
36381 \end_layout
36382
36383 \begin_layout Subsection
36384 Spellchecker
36385 \end_layout
36386
36387 \begin_layout Standard
36388 Spell checking is explained in section
36389 \begin_inset space ~
36390 \end_inset
36391
36392
36393 \begin_inset CommandInset ref
36394 LatexCommand ref
36395 reference "sec:Spellchecking"
36396
36397 \end_inset
36398
36399 .
36400 \end_layout
36401
36402 \begin_layout Subsection
36403 Thesaurus
36404 \end_layout
36405
36406 \begin_layout Standard
36407 The thesaurus is described in section
36408 \begin_inset space ~
36409 \end_inset
36410
36411
36412 \begin_inset CommandInset ref
36413 LatexCommand ref
36414 reference "sec:Thesaurus"
36415
36416 \end_inset
36417
36418 .
36419 \end_layout
36420
36421 \begin_layout Subsection
36422 Statistics
36423 \begin_inset Index idx
36424 status collapsed
36425
36426 \begin_layout Plain Layout
36427 Word count
36428 \end_layout
36429
36430 \end_inset
36431
36432
36433 \begin_inset Index idx
36434 status collapsed
36435
36436 \begin_layout Plain Layout
36437 Character count
36438 \end_layout
36439
36440 \end_inset
36441
36442
36443 \end_layout
36444
36445 \begin_layout Standard
36446 Counts the words and characters in the actual document or the highlighted
36447  document part.
36448 \end_layout
36449
36450 \begin_layout Subsection
36451 TeX Information
36452 \begin_inset Index idx
36453 status collapsed
36454
36455 \begin_layout Plain Layout
36456 TeX Information
36457 \end_layout
36458
36459 \end_inset
36460
36461
36462 \end_layout
36463
36464 \begin_layout Standard
36465 Shows you a list of the document classes and styles installed in your LaTeX-syst
36466 em.
36467 \end_layout
36468
36469 \begin_layout Subsection
36470 Reconfigure
36471 \begin_inset Index idx
36472 status collapsed
36473
36474 \begin_layout Plain Layout
36475 LyX ! Reconfigure|see
36476 \begin_inset ERT
36477 status collapsed
36478
36479 \begin_layout Plain Layout
36480
36481 {
36482 \end_layout
36483
36484 \end_inset
36485
36486 Reconfiguration of LyX
36487 \begin_inset ERT
36488 status collapsed
36489
36490 \begin_layout Plain Layout
36491
36492 }
36493 \end_layout
36494
36495 \end_inset
36496
36497
36498 \end_layout
36499
36500 \end_inset
36501
36502
36503 \begin_inset Index idx
36504 status collapsed
36505
36506 \begin_layout Plain Layout
36507 Reconfiguration of LyX
36508 \end_layout
36509
36510 \end_inset
36511
36512
36513 \end_layout
36514
36515 \begin_layout Standard
36516 This menu entry reconfigures LyX; that is, LyX looks for LaTeX-packages
36517  and programs it needs; see also section
36518 \begin_inset space ~
36519 \end_inset
36520
36521
36522 \begin_inset CommandInset ref
36523 LatexCommand ref
36524 reference "sec:Basic-LyX-Setup"
36525
36526 \end_inset
36527
36528 .
36529 \end_layout
36530
36531 \begin_layout Subsection
36532 Preferences
36533 \end_layout
36534
36535 \begin_layout Standard
36536 The preferences dialog is described in detail in appendix
36537 \begin_inset space ~
36538 \end_inset
36539
36540
36541 \begin_inset CommandInset ref
36542 LatexCommand ref
36543 reference "chap:The-Preferences-dialog"
36544
36545 \end_inset
36546
36547 .
36548 \end_layout
36549
36550 \begin_layout Section
36551 The Help Menu
36552 \begin_inset Index idx
36553 status collapsed
36554
36555 \begin_layout Plain Layout
36556 Menu ! Help
36557 \end_layout
36558
36559 \end_inset
36560
36561
36562 \end_layout
36563
36564 \begin_layout Standard
36565 This menu lists the documentation files of LyX in the language of LyX's
36566  menus.
36567  If a file is not available in this language, the English version will be
36568  listed.
36569 \end_layout
36570
36571 \begin_layout Standard
36572 The menu 
36573 \family sans
36574 LaTeX
36575 \begin_inset space ~
36576 \end_inset
36577
36578 Configuration
36579 \family default
36580  shows a LyX-document with information about the LaTeX-packages and classes
36581  found by LyX (see also section
36582 \begin_inset space ~
36583 \end_inset
36584
36585
36586 \begin_inset CommandInset ref
36587 LatexCommand ref
36588 reference "sec:LaTeX-Setup"
36589
36590 \end_inset
36591
36592 ).
36593 \end_layout
36594
36595 \begin_layout Section
36596 Toolbars
36597 \begin_inset CommandInset label
36598 LatexCommand label
36599 name "sec:Toolbars"
36600
36601 \end_inset
36602
36603
36604 \end_layout
36605
36606 \begin_layout Standard
36607 How to show or hide toolbars is explained in section
36608 \begin_inset space ~
36609 \end_inset
36610
36611
36612 \begin_inset CommandInset ref
36613 LatexCommand ref
36614 reference "sub:Toolbars"
36615
36616 \end_inset
36617
36618 .
36619 \end_layout
36620
36621 \begin_layout Standard
36622 It is also possible to define custom toolbars.
36623  This is described in the 
36624 \emph on
36625 Additional Features
36626 \emph default
36627  manual.
36628 \end_layout
36629
36630 \begin_layout Subsection
36631 Standard Toolbar
36632 \begin_inset Index idx
36633 status collapsed
36634
36635 \begin_layout Plain Layout
36636 Toolbar ! Standard
36637 \end_layout
36638
36639 \end_inset
36640
36641
36642 \end_layout
36643
36644 \begin_layout Standard
36645 \begin_inset Graphics
36646         filename clipart/StandardToolbar.png
36647         width 100col%
36648
36649 \end_inset
36650
36651
36652 \end_layout
36653
36654 \begin_layout Standard
36655 \begin_inset VSpace defskip
36656 \end_inset
36657
36658
36659 \end_layout
36660
36661 \begin_layout Standard
36662 The standard toolbar as shown above contains from left to right the following
36663  buttons:
36664 \begin_inset ERT
36665 status collapsed
36666
36667 \begin_layout Plain Layout
36668
36669
36670 \backslash
36671 setlength{
36672 \backslash
36673 LTleft}{0pt}
36674 \end_layout
36675
36676 \end_inset
36677
36678
36679 \begin_inset Note Note
36680 status collapsed
36681
36682 \begin_layout Plain Layout
36683 This is necessary to left align the following longtables.
36684  See the 
36685 \emph on
36686 Embedded Objects
36687 \emph default
36688  manual for more information.
36689 \end_layout
36690
36691 \end_inset
36692
36693
36694 \end_layout
36695
36696 \begin_layout Standard
36697 \begin_inset VSpace defskip
36698 \end_inset
36699
36700
36701 \end_layout
36702
36703 \begin_layout Standard
36704 \begin_inset Tabular
36705 <lyxtabular version="3" rows="1" columns="2">
36706 <features rotate="0" islongtable="true" longtabularalignment="center">
36707 <column alignment="center" valignment="top" width="0">
36708 <column alignment="center" valignment="top" width="0">
36709 <row>
36710 <cell alignment="center" valignment="top" usebox="none">
36711 \begin_inset Text
36712
36713 \begin_layout Plain Layout
36714 \begin_inset Graphics
36715         filename clipart/ToolbarEnvBox.png
36716         clip
36717
36718 \end_inset
36719
36720
36721 \end_layout
36722
36723 \end_inset
36724 </cell>
36725 <cell alignment="center" valignment="top" usebox="none">
36726 \begin_inset Text
36727
36728 \begin_layout Plain Layout
36729 pull-down box for the environments
36730 \end_layout
36731
36732 \end_inset
36733 </cell>
36734 </row>
36735 </lyxtabular>
36736
36737 \end_inset
36738
36739
36740 \end_layout
36741
36742 \begin_layout Standard
36743 \begin_inset VSpace -10mm
36744 \end_inset
36745
36746
36747 \end_layout
36748
36749 \begin_layout Standard
36750 \align left
36751 \begin_inset Tabular
36752 <lyxtabular version="3" rows="21" columns="2">
36753 <features rotate="0" islongtable="true" longtabularalignment="center">
36754 <column alignment="left" valignment="top" width="0">
36755 <column alignment="left" valignment="top" width="0">
36756 <row interlinespace="2.5mm">
36757 <cell alignment="center" valignment="top" usebox="none">
36758 \begin_inset Text
36759
36760 \begin_layout Plain Layout
36761
36762 \family sans
36763 \begin_inset Info
36764 type  "icon"
36765 arg   "buffer-new"
36766 \end_inset
36767
36768
36769 \end_layout
36770
36771 \end_inset
36772 </cell>
36773 <cell alignment="center" valignment="top" usebox="none">
36774 \begin_inset Text
36775
36776 \begin_layout Plain Layout
36777
36778 \family sans
36779 File\SpecialChar \menuseparator
36780 New
36781 \end_layout
36782
36783 \end_inset
36784 </cell>
36785 </row>
36786 <row interlinespace="2.5mm">
36787 <cell alignment="center" valignment="top" usebox="none">
36788 \begin_inset Text
36789
36790 \begin_layout Plain Layout
36791
36792 \family sans
36793 \begin_inset Info
36794 type  "icon"
36795 arg   "file-open"
36796 \end_inset
36797
36798
36799 \end_layout
36800
36801 \end_inset
36802 </cell>
36803 <cell alignment="center" valignment="top" usebox="none">
36804 \begin_inset Text
36805
36806 \begin_layout Plain Layout
36807
36808 \family sans
36809 File\SpecialChar \menuseparator
36810 Open
36811 \end_layout
36812
36813 \end_inset
36814 </cell>
36815 </row>
36816 <row interlinespace="2.5mm">
36817 <cell alignment="center" valignment="top" usebox="none">
36818 \begin_inset Text
36819
36820 \begin_layout Plain Layout
36821
36822 \family sans
36823 \begin_inset Info
36824 type  "icon"
36825 arg   "buffer-write"
36826 \end_inset
36827
36828
36829 \end_layout
36830
36831 \end_inset
36832 </cell>
36833 <cell alignment="center" valignment="top" usebox="none">
36834 \begin_inset Text
36835
36836 \begin_layout Plain Layout
36837
36838 \family sans
36839 File\SpecialChar \menuseparator
36840 Save
36841 \end_layout
36842
36843 \end_inset
36844 </cell>
36845 </row>
36846 <row interlinespace="2.5mm">
36847 <cell alignment="center" valignment="top" usebox="none">
36848 \begin_inset Text
36849
36850 \begin_layout Plain Layout
36851
36852 \family sans
36853 \begin_inset Info
36854 type  "icon"
36855 arg   "dialog-show print"
36856 \end_inset
36857
36858
36859 \end_layout
36860
36861 \end_inset
36862 </cell>
36863 <cell alignment="center" valignment="top" usebox="none">
36864 \begin_inset Text
36865
36866 \begin_layout Plain Layout
36867
36868 \family sans
36869 File\SpecialChar \menuseparator
36870 Print
36871 \end_layout
36872
36873 \end_inset
36874 </cell>
36875 </row>
36876 <row interlinespace="2.5mm">
36877 <cell alignment="center" valignment="top" usebox="none">
36878 \begin_inset Text
36879
36880 \begin_layout Plain Layout
36881
36882 \family sans
36883 \begin_inset Info
36884 type  "icon"
36885 arg   "dialog-show spellchecker"
36886 \end_inset
36887
36888
36889 \end_layout
36890
36891 \end_inset
36892 </cell>
36893 <cell alignment="center" valignment="top" usebox="none">
36894 \begin_inset Text
36895
36896 \begin_layout Plain Layout
36897
36898 \family sans
36899 Tools\SpecialChar \menuseparator
36900 Spellchecker
36901 \end_layout
36902
36903 \end_inset
36904 </cell>
36905 </row>
36906 <row interlinespace="2.5mm">
36907 <cell alignment="center" valignment="top" usebox="none">
36908 \begin_inset Text
36909
36910 \begin_layout Plain Layout
36911
36912 \family sans
36913 \begin_inset Info
36914 type  "icon"
36915 arg   "undo"
36916 \end_inset
36917
36918
36919 \end_layout
36920
36921 \end_inset
36922 </cell>
36923 <cell alignment="center" valignment="top" usebox="none">
36924 \begin_inset Text
36925
36926 \begin_layout Plain Layout
36927
36928 \family sans
36929 Edit\SpecialChar \menuseparator
36930 Undo
36931 \end_layout
36932
36933 \end_inset
36934 </cell>
36935 </row>
36936 <row interlinespace="2.5mm">
36937 <cell alignment="center" valignment="top" usebox="none">
36938 \begin_inset Text
36939
36940 \begin_layout Plain Layout
36941
36942 \family sans
36943 \begin_inset Info
36944 type  "icon"
36945 arg   "redo"
36946 \end_inset
36947
36948
36949 \end_layout
36950
36951 \end_inset
36952 </cell>
36953 <cell alignment="center" valignment="top" usebox="none">
36954 \begin_inset Text
36955
36956 \begin_layout Plain Layout
36957
36958 \family sans
36959 Edit\SpecialChar \menuseparator
36960 Redo
36961 \end_layout
36962
36963 \end_inset
36964 </cell>
36965 </row>
36966 <row interlinespace="2.5mm">
36967 <cell alignment="center" valignment="top" usebox="none">
36968 \begin_inset Text
36969
36970 \begin_layout Plain Layout
36971
36972 \family sans
36973 \begin_inset Info
36974 type  "icon"
36975 arg   "cut"
36976 \end_inset
36977
36978
36979 \end_layout
36980
36981 \end_inset
36982 </cell>
36983 <cell alignment="center" valignment="top" usebox="none">
36984 \begin_inset Text
36985
36986 \begin_layout Plain Layout
36987
36988 \family sans
36989 Edit\SpecialChar \menuseparator
36990 Cut
36991 \end_layout
36992
36993 \end_inset
36994 </cell>
36995 </row>
36996 <row interlinespace="2.5mm">
36997 <cell alignment="center" valignment="top" usebox="none">
36998 \begin_inset Text
36999
37000 \begin_layout Plain Layout
37001
37002 \family sans
37003 \begin_inset Info
37004 type  "icon"
37005 arg   "copy"
37006 \end_inset
37007
37008
37009 \end_layout
37010
37011 \end_inset
37012 </cell>
37013 <cell alignment="center" valignment="top" usebox="none">
37014 \begin_inset Text
37015
37016 \begin_layout Plain Layout
37017
37018 \family sans
37019 Edit\SpecialChar \menuseparator
37020 Copy
37021 \end_layout
37022
37023 \end_inset
37024 </cell>
37025 </row>
37026 <row interlinespace="2.5mm">
37027 <cell alignment="center" valignment="top" usebox="none">
37028 \begin_inset Text
37029
37030 \begin_layout Plain Layout
37031
37032 \family sans
37033 \begin_inset Info
37034 type  "icon"
37035 arg   "paste"
37036 \end_inset
37037
37038
37039 \end_layout
37040
37041 \end_inset
37042 </cell>
37043 <cell alignment="center" valignment="top" usebox="none">
37044 \begin_inset Text
37045
37046 \begin_layout Plain Layout
37047
37048 \family sans
37049 Edit\SpecialChar \menuseparator
37050 Paste
37051 \end_layout
37052
37053 \end_inset
37054 </cell>
37055 </row>
37056 <row interlinespace="2.5mm">
37057 <cell alignment="center" valignment="top" usebox="none">
37058 \begin_inset Text
37059
37060 \begin_layout Plain Layout
37061
37062 \family sans
37063 \begin_inset Info
37064 type  "icon"
37065 arg   "dialog-show findreplace"
37066 \end_inset
37067
37068
37069 \end_layout
37070
37071 \end_inset
37072 </cell>
37073 <cell alignment="center" valignment="top" usebox="none">
37074 \begin_inset Text
37075
37076 \begin_layout Plain Layout
37077
37078 \family sans
37079 Edit\SpecialChar \menuseparator
37080 Find
37081 \begin_inset space \thinspace{}
37082 \end_inset
37083
37084 &
37085 \begin_inset space \thinspace{}
37086 \end_inset
37087
37088 Replace
37089 \end_layout
37090
37091 \end_inset
37092 </cell>
37093 </row>
37094 <row interlinespace="2.5mm">
37095 <cell alignment="center" valignment="top" usebox="none">
37096 \begin_inset Text
37097
37098 \begin_layout Plain Layout
37099
37100 \family sans
37101 \begin_inset Info
37102 type  "icon"
37103 arg   "bookmark-goto 0"
37104 \end_inset
37105
37106
37107 \end_layout
37108
37109 \end_inset
37110 </cell>
37111 <cell alignment="center" valignment="top" usebox="none">
37112 \begin_inset Text
37113
37114 \begin_layout Plain Layout
37115
37116 \family sans
37117 Navigate\SpecialChar \menuseparator
37118 Bookmarks\SpecialChar \menuseparator
37119 Navigate Back
37120 \end_layout
37121
37122 \end_inset
37123 </cell>
37124 </row>
37125 <row interlinespace="2.5mm">
37126 <cell alignment="center" valignment="top" usebox="none">
37127 \begin_inset Text
37128
37129 \begin_layout Plain Layout
37130
37131 \family sans
37132 \begin_inset Info
37133 type  "icon"
37134 arg   "font-emph"
37135 \end_inset
37136
37137
37138 \end_layout
37139
37140 \end_inset
37141 </cell>
37142 <cell alignment="center" valignment="top" usebox="none">
37143 \begin_inset Text
37144
37145 \begin_layout Plain Layout
37146 Emphasize text, function of the 
37147 \family sans
37148 Edit\SpecialChar \menuseparator
37149 Text
37150 \begin_inset space ~
37151 \end_inset
37152
37153 Style
37154 \family default
37155  dialog
37156 \end_layout
37157
37158 \end_inset
37159 </cell>
37160 </row>
37161 <row interlinespace="2.5mm">
37162 <cell alignment="center" valignment="top" usebox="none">
37163 \begin_inset Text
37164
37165 \begin_layout Plain Layout
37166
37167 \family sans
37168 \begin_inset Info
37169 type  "icon"
37170 arg   "font-noun"
37171 \end_inset
37172
37173
37174 \end_layout
37175
37176 \end_inset
37177 </cell>
37178 <cell alignment="center" valignment="top" usebox="none">
37179 \begin_inset Text
37180
37181 \begin_layout Plain Layout
37182 Set text to noun style, function of the 
37183 \family sans
37184 Edit\SpecialChar \menuseparator
37185 Text
37186 \begin_inset space ~
37187 \end_inset
37188
37189 Style
37190 \family default
37191  dialog
37192 \end_layout
37193
37194 \end_inset
37195 </cell>
37196 </row>
37197 <row interlinespace="2.5mm">
37198 <cell alignment="center" valignment="top" usebox="none">
37199 \begin_inset Text
37200
37201 \begin_layout Plain Layout
37202
37203 \family sans
37204 \begin_inset Info
37205 type  "icon"
37206 arg   "textstyle-apply"
37207 \end_inset
37208
37209
37210 \end_layout
37211
37212 \end_inset
37213 </cell>
37214 <cell alignment="center" valignment="top" usebox="none">
37215 \begin_inset Text
37216
37217 \begin_layout Plain Layout
37218 Formats text using the current settings in the 
37219 \family sans
37220 Edit\SpecialChar \menuseparator
37221 Text
37222 \begin_inset space ~
37223 \end_inset
37224
37225 Style
37226 \family default
37227  dialog
37228 \end_layout
37229
37230 \end_inset
37231 </cell>
37232 </row>
37233 <row interlinespace="2.5mm">
37234 <cell alignment="center" valignment="top" usebox="none">
37235 \begin_inset Text
37236
37237 \begin_layout Plain Layout
37238
37239 \family sans
37240 \begin_inset Info
37241 type  "icon"
37242 arg   "math-mode"
37243 \end_inset
37244
37245
37246 \end_layout
37247
37248 \end_inset
37249 </cell>
37250 <cell alignment="center" valignment="top" usebox="none">
37251 \begin_inset Text
37252
37253 \begin_layout Plain Layout
37254
37255 \family sans
37256 Insert\SpecialChar \menuseparator
37257 Math\SpecialChar \menuseparator
37258 Inline
37259 \begin_inset space ~
37260 \end_inset
37261
37262 Formula
37263 \end_layout
37264
37265 \end_inset
37266 </cell>
37267 </row>
37268 <row interlinespace="2.5mm">
37269 <cell alignment="center" valignment="top" usebox="none">
37270 \begin_inset Text
37271
37272 \begin_layout Plain Layout
37273
37274 \family sans
37275 \begin_inset Info
37276 type  "icon"
37277 arg   "dialog-show-new-inset graphics"
37278 \end_inset
37279
37280
37281 \end_layout
37282
37283 \end_inset
37284 </cell>
37285 <cell alignment="center" valignment="top" usebox="none">
37286 \begin_inset Text
37287
37288 \begin_layout Plain Layout
37289
37290 \family sans
37291 Insert\SpecialChar \menuseparator
37292 Graphics
37293 \end_layout
37294
37295 \end_inset
37296 </cell>
37297 </row>
37298 <row interlinespace="2.5mm">
37299 <cell alignment="center" valignment="top" usebox="none">
37300 \begin_inset Text
37301
37302 \begin_layout Plain Layout
37303 \begin_inset Info
37304 type  "icon"
37305 arg   "tabular-insert"
37306 \end_inset
37307
37308
37309 \end_layout
37310
37311 \end_inset
37312 </cell>
37313 <cell alignment="center" valignment="top" usebox="none">
37314 \begin_inset Text
37315
37316 \begin_layout Plain Layout
37317
37318 \family sans
37319 Insert\SpecialChar \menuseparator
37320 Table
37321 \end_layout
37322
37323 \end_inset
37324 </cell>
37325 </row>
37326 <row interlinespace="2.5mm">
37327 <cell alignment="center" valignment="top" usebox="none">
37328 \begin_inset Text
37329
37330 \begin_layout Plain Layout
37331
37332 \family sans
37333 \begin_inset Info
37334 type  "icon"
37335 arg   "dialog-toggle toc"
37336 \end_inset
37337
37338
37339 \end_layout
37340
37341 \end_inset
37342 </cell>
37343 <cell alignment="center" valignment="top" usebox="none">
37344 \begin_inset Text
37345
37346 \begin_layout Plain Layout
37347 Toggle outline window on/off, 
37348 \family sans
37349 Document\SpecialChar \menuseparator
37350 Outline
37351 \end_layout
37352
37353 \end_inset
37354 </cell>
37355 </row>
37356 <row interlinespace="2.5mm">
37357 <cell alignment="center" valignment="top" usebox="none">
37358 \begin_inset Text
37359
37360 \begin_layout Plain Layout
37361
37362 \family sans
37363 \begin_inset Info
37364 type  "icon"
37365 arg   "toolbar-toggle math"
37366 \end_inset
37367
37368
37369 \end_layout
37370
37371 \end_inset
37372 </cell>
37373 <cell alignment="center" valignment="top" usebox="none">
37374 \begin_inset Text
37375
37376 \begin_layout Plain Layout
37377 Toggle math toolbar on/off
37378 \end_layout
37379
37380 \end_inset
37381 </cell>
37382 </row>
37383 <row interlinespace="2.5mm">
37384 <cell alignment="center" valignment="top" usebox="none">
37385 \begin_inset Text
37386
37387 \begin_layout Plain Layout
37388
37389 \family sans
37390 \begin_inset Info
37391 type  "icon"
37392 arg   "toolbar-toggle table"
37393 \end_inset
37394
37395
37396 \end_layout
37397
37398 \end_inset
37399 </cell>
37400 <cell alignment="center" valignment="top" usebox="none">
37401 \begin_inset Text
37402
37403 \begin_layout Plain Layout
37404 Toggle table toolbar on/off
37405 \end_layout
37406
37407 \end_inset
37408 </cell>
37409 </row>
37410 </lyxtabular>
37411
37412 \end_inset
37413
37414
37415 \end_layout
37416
37417 \begin_layout Subsection
37418 Extra Toolbar
37419 \begin_inset Index idx
37420 status collapsed
37421
37422 \begin_layout Plain Layout
37423 Toolbar ! Extra
37424 \end_layout
37425
37426 \end_inset
37427
37428
37429 \end_layout
37430
37431 \begin_layout Standard
37432 \begin_inset Graphics
37433         filename clipart/ExtraToolbar.png
37434         width 100col%
37435
37436 \end_inset
37437
37438
37439 \end_layout
37440
37441 \begin_layout Standard
37442 \begin_inset VSpace defskip
37443 \end_inset
37444
37445
37446 \end_layout
37447
37448 \begin_layout Standard
37449 The extra toolbar as shown above contains from left to right the following
37450  buttons:
37451 \end_layout
37452
37453 \begin_layout Standard
37454 \begin_inset VSpace defskip
37455 \end_inset
37456
37457
37458 \end_layout
37459
37460 \begin_layout Standard
37461 \begin_inset Tabular
37462 <lyxtabular version="3" rows="25" columns="2">
37463 <features rotate="0" islongtable="true" longtabularalignment="center">
37464 <column alignment="left" valignment="top" width="0">
37465 <column alignment="left" valignment="top" width="0">
37466 <row interlinespace="2.5mm">
37467 <cell alignment="center" valignment="top" usebox="none">
37468 \begin_inset Text
37469
37470 \begin_layout Plain Layout
37471
37472 \family sans
37473 \begin_inset Info
37474 type  "icon"
37475 arg   "layout"
37476 \end_inset
37477
37478
37479 \end_layout
37480
37481 \end_inset
37482 </cell>
37483 <cell alignment="center" valignment="top" usebox="none">
37484 \begin_inset Text
37485
37486 \begin_layout Plain Layout
37487 Default
37488 \end_layout
37489
37490 \end_inset
37491 </cell>
37492 </row>
37493 <row interlinespace="2.5mm">
37494 <cell alignment="center" valignment="top" usebox="none">
37495 \begin_inset Text
37496
37497 \begin_layout Plain Layout
37498
37499 \family sans
37500 \begin_inset Info
37501 type  "icon"
37502 arg   "layout Enumerate"
37503 \end_inset
37504
37505
37506 \end_layout
37507
37508 \end_inset
37509 </cell>
37510 <cell alignment="center" valignment="top" usebox="none">
37511 \begin_inset Text
37512
37513 \begin_layout Plain Layout
37514 Numbered list
37515 \end_layout
37516
37517 \end_inset
37518 </cell>
37519 </row>
37520 <row interlinespace="2.5mm">
37521 <cell alignment="center" valignment="top" usebox="none">
37522 \begin_inset Text
37523
37524 \begin_layout Plain Layout
37525
37526 \family sans
37527 \begin_inset Info
37528 type  "icon"
37529 arg   "layout Itemize"
37530 \end_inset
37531
37532
37533 \end_layout
37534
37535 \end_inset
37536 </cell>
37537 <cell alignment="center" valignment="top" usebox="none">
37538 \begin_inset Text
37539
37540 \begin_layout Plain Layout
37541 Itemized list
37542 \end_layout
37543
37544 \end_inset
37545 </cell>
37546 </row>
37547 <row interlinespace="2.5mm">
37548 <cell alignment="center" valignment="top" usebox="none">
37549 \begin_inset Text
37550
37551 \begin_layout Plain Layout
37552
37553 \family sans
37554 \begin_inset Info
37555 type  "icon"
37556 arg   "layout List"
37557 \end_inset
37558
37559
37560 \end_layout
37561
37562 \end_inset
37563 </cell>
37564 <cell alignment="center" valignment="top" usebox="none">
37565 \begin_inset Text
37566
37567 \begin_layout Plain Layout
37568 List
37569 \end_layout
37570
37571 \end_inset
37572 </cell>
37573 </row>
37574 <row interlinespace="2.5mm">
37575 <cell alignment="center" valignment="top" usebox="none">
37576 \begin_inset Text
37577
37578 \begin_layout Plain Layout
37579
37580 \family sans
37581 \begin_inset Info
37582 type  "icon"
37583 arg   "layout Description"
37584 \end_inset
37585
37586
37587 \end_layout
37588
37589 \end_inset
37590 </cell>
37591 <cell alignment="center" valignment="top" usebox="none">
37592 \begin_inset Text
37593
37594 \begin_layout Plain Layout
37595 Description list
37596 \end_layout
37597
37598 \end_inset
37599 </cell>
37600 </row>
37601 <row interlinespace="2.5mm">
37602 <cell alignment="center" valignment="top" usebox="none">
37603 \begin_inset Text
37604
37605 \begin_layout Plain Layout
37606
37607 \family sans
37608 \begin_inset Info
37609 type  "icon"
37610 arg   "depth-increment"
37611 \end_inset
37612
37613
37614 \end_layout
37615
37616 \end_inset
37617 </cell>
37618 <cell alignment="center" valignment="top" usebox="none">
37619 \begin_inset Text
37620
37621 \begin_layout Plain Layout
37622
37623 \family sans
37624 Edit\SpecialChar \menuseparator
37625 Increase
37626 \begin_inset space ~
37627 \end_inset
37628
37629 List
37630 \begin_inset space ~
37631 \end_inset
37632
37633 Depth
37634 \end_layout
37635
37636 \end_inset
37637 </cell>
37638 </row>
37639 <row interlinespace="2.5mm">
37640 <cell alignment="center" valignment="top" usebox="none">
37641 \begin_inset Text
37642
37643 \begin_layout Plain Layout
37644
37645 \family sans
37646 \begin_inset Info
37647 type  "icon"
37648 arg   "depth-decrement"
37649 \end_inset
37650
37651
37652 \end_layout
37653
37654 \end_inset
37655 </cell>
37656 <cell alignment="center" valignment="top" usebox="none">
37657 \begin_inset Text
37658
37659 \begin_layout Plain Layout
37660
37661 \family sans
37662 Edit\SpecialChar \menuseparator
37663 Decrease
37664 \begin_inset space ~
37665 \end_inset
37666
37667 List
37668 \begin_inset space ~
37669 \end_inset
37670
37671 Depth
37672 \end_layout
37673
37674 \end_inset
37675 </cell>
37676 </row>
37677 <row interlinespace="2.5mm">
37678 <cell alignment="center" valignment="top" usebox="none">
37679 \begin_inset Text
37680
37681 \begin_layout Plain Layout
37682
37683 \family sans
37684 \begin_inset Info
37685 type  "icon"
37686 arg   "float-insert figure"
37687 \end_inset
37688
37689
37690 \end_layout
37691
37692 \end_inset
37693 </cell>
37694 <cell alignment="center" valignment="top" usebox="none">
37695 \begin_inset Text
37696
37697 \begin_layout Plain Layout
37698
37699 \family sans
37700 Insert\SpecialChar \menuseparator
37701 Float\SpecialChar \menuseparator
37702 Figure
37703 \end_layout
37704
37705 \end_inset
37706 </cell>
37707 </row>
37708 <row interlinespace="2.5mm">
37709 <cell alignment="center" valignment="top" usebox="none">
37710 \begin_inset Text
37711
37712 \begin_layout Plain Layout
37713
37714 \family sans
37715 \begin_inset Info
37716 type  "icon"
37717 arg   "float-insert table"
37718 \end_inset
37719
37720
37721 \end_layout
37722
37723 \end_inset
37724 </cell>
37725 <cell alignment="center" valignment="top" usebox="none">
37726 \begin_inset Text
37727
37728 \begin_layout Plain Layout
37729
37730 \family sans
37731 Insert\SpecialChar \menuseparator
37732 Float\SpecialChar \menuseparator
37733 Table
37734 \end_layout
37735
37736 \end_inset
37737 </cell>
37738 </row>
37739 <row interlinespace="2.5mm">
37740 <cell alignment="center" valignment="top" usebox="none">
37741 \begin_inset Text
37742
37743 \begin_layout Plain Layout
37744
37745 \family sans
37746 \begin_inset Info
37747 type  "icon"
37748 arg   "label-insert"
37749 \end_inset
37750
37751
37752 \end_layout
37753
37754 \end_inset
37755 </cell>
37756 <cell alignment="center" valignment="top" usebox="none">
37757 \begin_inset Text
37758
37759 \begin_layout Plain Layout
37760
37761 \family sans
37762 Insert\SpecialChar \menuseparator
37763 Label
37764 \end_layout
37765
37766 \end_inset
37767 </cell>
37768 </row>
37769 <row interlinespace="2.5mm">
37770 <cell alignment="center" valignment="top" usebox="none">
37771 \begin_inset Text
37772
37773 \begin_layout Plain Layout
37774
37775 \family sans
37776 \begin_inset Info
37777 type  "icon"
37778 arg   "dialog-show-new-inset ref"
37779 \end_inset
37780
37781
37782 \end_layout
37783
37784 \end_inset
37785 </cell>
37786 <cell alignment="center" valignment="top" usebox="none">
37787 \begin_inset Text
37788
37789 \begin_layout Plain Layout
37790
37791 \family sans
37792 Insert\SpecialChar \menuseparator
37793 Cross-Reference
37794 \end_layout
37795
37796 \end_inset
37797 </cell>
37798 </row>
37799 <row interlinespace="2.5mm">
37800 <cell alignment="center" valignment="top" usebox="none">
37801 \begin_inset Text
37802
37803 \begin_layout Plain Layout
37804
37805 \family sans
37806 \begin_inset Info
37807 type  "icon"
37808 arg   "dialog-show-new-inset citation"
37809 \end_inset
37810
37811
37812 \end_layout
37813
37814 \end_inset
37815 </cell>
37816 <cell alignment="center" valignment="top" usebox="none">
37817 \begin_inset Text
37818
37819 \begin_layout Plain Layout
37820
37821 \family sans
37822 Insert\SpecialChar \menuseparator
37823 Citation
37824 \end_layout
37825
37826 \end_inset
37827 </cell>
37828 </row>
37829 <row interlinespace="2.5mm">
37830 <cell alignment="center" valignment="top" usebox="none">
37831 \begin_inset Text
37832
37833 \begin_layout Plain Layout
37834
37835 \family sans
37836 \begin_inset Info
37837 type  "icon"
37838 arg   "index-insert"
37839 \end_inset
37840
37841
37842 \end_layout
37843
37844 \end_inset
37845 </cell>
37846 <cell alignment="center" valignment="top" usebox="none">
37847 \begin_inset Text
37848
37849 \begin_layout Plain Layout
37850
37851 \family sans
37852 Insert\SpecialChar \menuseparator
37853 Index
37854 \begin_inset space ~
37855 \end_inset
37856
37857 Entry
37858 \end_layout
37859
37860 \end_inset
37861 </cell>
37862 </row>
37863 <row interlinespace="2.5mm">
37864 <cell alignment="center" valignment="top" usebox="none">
37865 \begin_inset Text
37866
37867 \begin_layout Plain Layout
37868
37869 \family sans
37870 \begin_inset Info
37871 type  "icon"
37872 arg   "nomencl-insert"
37873 \end_inset
37874
37875
37876 \end_layout
37877
37878 \end_inset
37879 </cell>
37880 <cell alignment="center" valignment="top" usebox="none">
37881 \begin_inset Text
37882
37883 \begin_layout Plain Layout
37884
37885 \family sans
37886 Insert\SpecialChar \menuseparator
37887 Nomenclature
37888 \begin_inset space ~
37889 \end_inset
37890
37891 Entry
37892 \end_layout
37893
37894 \end_inset
37895 </cell>
37896 </row>
37897 <row interlinespace="2.5mm">
37898 <cell alignment="center" valignment="top" usebox="none">
37899 \begin_inset Text
37900
37901 \begin_layout Plain Layout
37902
37903 \family sans
37904 \begin_inset Info
37905 type  "icon"
37906 arg   "footnote-insert"
37907 \end_inset
37908
37909
37910 \end_layout
37911
37912 \end_inset
37913 </cell>
37914 <cell alignment="center" valignment="top" usebox="none">
37915 \begin_inset Text
37916
37917 \begin_layout Plain Layout
37918
37919 \family sans
37920 Insert\SpecialChar \menuseparator
37921 Footnote
37922 \end_layout
37923
37924 \end_inset
37925 </cell>
37926 </row>
37927 <row interlinespace="2.5mm">
37928 <cell alignment="center" valignment="top" usebox="none">
37929 \begin_inset Text
37930
37931 \begin_layout Plain Layout
37932
37933 \family sans
37934 \begin_inset Info
37935 type  "icon"
37936 arg   "marginalnote-insert"
37937 \end_inset
37938
37939
37940 \end_layout
37941
37942 \end_inset
37943 </cell>
37944 <cell alignment="center" valignment="top" usebox="none">
37945 \begin_inset Text
37946
37947 \begin_layout Plain Layout
37948
37949 \family sans
37950 Insert\SpecialChar \menuseparator
37951 Marginal
37952 \begin_inset space ~
37953 \end_inset
37954
37955 Note
37956 \end_layout
37957
37958 \end_inset
37959 </cell>
37960 </row>
37961 <row interlinespace="2.5mm">
37962 <cell alignment="center" valignment="top" usebox="none">
37963 \begin_inset Text
37964
37965 \begin_layout Plain Layout
37966
37967 \family sans
37968 \begin_inset Info
37969 type  "icon"
37970 arg   "note-insert"
37971 \end_inset
37972
37973
37974 \end_layout
37975
37976 \end_inset
37977 </cell>
37978 <cell alignment="center" valignment="top" usebox="none">
37979 \begin_inset Text
37980
37981 \begin_layout Plain Layout
37982
37983 \family sans
37984 Insert\SpecialChar \menuseparator
37985 Note\SpecialChar \menuseparator
37986 LyX
37987 \begin_inset space ~
37988 \end_inset
37989
37990 Note
37991 \end_layout
37992
37993 \end_inset
37994 </cell>
37995 </row>
37996 <row interlinespace="2.5mm">
37997 <cell alignment="center" valignment="top" usebox="none">
37998 \begin_inset Text
37999
38000 \begin_layout Plain Layout
38001
38002 \family sans
38003 \begin_inset Info
38004 type  "icon"
38005 arg   "box-insert Frameless"
38006 \end_inset
38007
38008
38009 \end_layout
38010
38011 \end_inset
38012 </cell>
38013 <cell alignment="center" valignment="top" usebox="none">
38014 \begin_inset Text
38015
38016 \begin_layout Plain Layout
38017
38018 \family sans
38019 Insert\SpecialChar \menuseparator
38020 Box
38021 \end_layout
38022
38023 \end_inset
38024 </cell>
38025 </row>
38026 <row interlinespace="2.5mm">
38027 <cell alignment="center" valignment="top" usebox="none">
38028 \begin_inset Text
38029
38030 \begin_layout Plain Layout
38031
38032 \family sans
38033 \begin_inset Info
38034 type  "icon"
38035 arg   "href-insert"
38036 \end_inset
38037
38038
38039 \end_layout
38040
38041 \end_inset
38042 </cell>
38043 <cell alignment="center" valignment="top" usebox="none">
38044 \begin_inset Text
38045
38046 \begin_layout Plain Layout
38047
38048 \family sans
38049 Insert\SpecialChar \menuseparator
38050 URL
38051 \end_layout
38052
38053 \end_inset
38054 </cell>
38055 </row>
38056 <row interlinespace="2.5mm">
38057 <cell alignment="center" valignment="top" usebox="none">
38058 \begin_inset Text
38059
38060 \begin_layout Plain Layout
38061
38062 \family sans
38063 \begin_inset Info
38064 type  "icon"
38065 arg   "ert-insert"
38066 \end_inset
38067
38068
38069 \end_layout
38070
38071 \end_inset
38072 </cell>
38073 <cell alignment="center" valignment="top" usebox="none">
38074 \begin_inset Text
38075
38076 \begin_layout Plain Layout
38077
38078 \family sans
38079 Insert\SpecialChar \menuseparator
38080 T
38081 \family default
38082
38083 \begin_inset ERT
38084 status collapsed
38085
38086 \begin_layout Plain Layout
38087
38088 {}
38089 \end_layout
38090
38091 \end_inset
38092
38093
38094 \family sans
38095 eX
38096 \begin_inset space ~
38097 \end_inset
38098
38099 Code
38100 \end_layout
38101
38102 \end_inset
38103 </cell>
38104 </row>
38105 <row interlinespace="2.5mm">
38106 <cell alignment="center" valignment="top" usebox="none">
38107 \begin_inset Text
38108
38109 \begin_layout Plain Layout
38110
38111 \family sans
38112 \begin_inset Info
38113 type  "icon"
38114 arg   "math-macro newmacroname newcommand"
38115 \end_inset
38116
38117
38118 \end_layout
38119
38120 \end_inset
38121 </cell>
38122 <cell alignment="center" valignment="top" usebox="none">
38123 \begin_inset Text
38124
38125 \begin_layout Plain Layout
38126
38127 \family sans
38128 Insert\SpecialChar \menuseparator
38129 Math\SpecialChar \menuseparator
38130 Macro
38131 \end_layout
38132
38133 \end_inset
38134 </cell>
38135 </row>
38136 <row interlinespace="2.5mm">
38137 <cell alignment="center" valignment="top" usebox="none">
38138 \begin_inset Text
38139
38140 \begin_layout Plain Layout
38141
38142 \family sans
38143 \begin_inset Info
38144 type  "icon"
38145 arg   "dialog-show-new-inset include"
38146 \end_inset
38147
38148
38149 \end_layout
38150
38151 \end_inset
38152 </cell>
38153 <cell alignment="center" valignment="top" usebox="none">
38154 \begin_inset Text
38155
38156 \begin_layout Plain Layout
38157
38158 \family sans
38159 Insert\SpecialChar \menuseparator
38160 File\SpecialChar \menuseparator
38161 Child
38162 \begin_inset space ~
38163 \end_inset
38164
38165 Document
38166 \end_layout
38167
38168 \end_inset
38169 </cell>
38170 </row>
38171 <row interlinespace="2.5mm">
38172 <cell alignment="center" valignment="top" usebox="none">
38173 \begin_inset Text
38174
38175 \begin_layout Plain Layout
38176
38177 \family sans
38178 \begin_inset Info
38179 type  "icon"
38180 arg   "dialog-show character"
38181 \end_inset
38182
38183
38184 \end_layout
38185
38186 \end_inset
38187 </cell>
38188 <cell alignment="center" valignment="top" usebox="none">
38189 \begin_inset Text
38190
38191 \begin_layout Plain Layout
38192
38193 \family sans
38194 Edit\SpecialChar \menuseparator
38195 Text
38196 \begin_inset space ~
38197 \end_inset
38198
38199 Style
38200 \end_layout
38201
38202 \end_inset
38203 </cell>
38204 </row>
38205 <row interlinespace="2.5mm">
38206 <cell alignment="center" valignment="top" usebox="none">
38207 \begin_inset Text
38208
38209 \begin_layout Plain Layout
38210
38211 \family sans
38212 \begin_inset Info
38213 type  "icon"
38214 arg   "layout-paragraph"
38215 \end_inset
38216
38217
38218 \end_layout
38219
38220 \end_inset
38221 </cell>
38222 <cell alignment="center" valignment="top" usebox="none">
38223 \begin_inset Text
38224
38225 \begin_layout Plain Layout
38226
38227 \family sans
38228 Edit\SpecialChar \menuseparator
38229 Paragraph
38230 \begin_inset space ~
38231 \end_inset
38232
38233 Settings
38234 \end_layout
38235
38236 \end_inset
38237 </cell>
38238 </row>
38239 <row interlinespace="2.5mm">
38240 <cell alignment="center" valignment="top" usebox="none">
38241 \begin_inset Text
38242
38243 \begin_layout Plain Layout
38244
38245 \family sans
38246 \begin_inset Info
38247 type  "icon"
38248 arg   "thesaurus-entry"
38249 \end_inset
38250
38251
38252 \end_layout
38253
38254 \end_inset
38255 </cell>
38256 <cell alignment="center" valignment="top" usebox="none">
38257 \begin_inset Text
38258
38259 \begin_layout Plain Layout
38260
38261 \family sans
38262 Tools\SpecialChar \menuseparator
38263 Thesaurus
38264 \end_layout
38265
38266 \end_inset
38267 </cell>
38268 </row>
38269 </lyxtabular>
38270
38271 \end_inset
38272
38273
38274 \end_layout
38275
38276 \begin_layout Subsection
38277 View / Update Toolbar
38278 \begin_inset Index idx
38279 status collapsed
38280
38281 \begin_layout Plain Layout
38282 Toolbar ! View / Update
38283 \end_layout
38284
38285 \end_inset
38286
38287
38288 \end_layout
38289
38290 \begin_layout Standard
38291 \begin_inset Graphics
38292         filename clipart/ViewToolbar.png
38293
38294 \end_inset
38295
38296
38297 \end_layout
38298
38299 \begin_layout Standard
38300 \begin_inset VSpace defskip
38301 \end_inset
38302
38303
38304 \end_layout
38305
38306 \begin_layout Standard
38307 The view / update toolbar as shown above contains from left to right the
38308  following buttons:
38309 \end_layout
38310
38311 \begin_layout Standard
38312 \begin_inset VSpace defskip
38313 \end_inset
38314
38315
38316 \end_layout
38317
38318 \begin_layout Standard
38319 \begin_inset Tabular
38320 <lyxtabular version="3" rows="7" columns="2">
38321 <features rotate="0" islongtable="true" longtabularalignment="center">
38322 <column alignment="left" valignment="top" width="0">
38323 <column alignment="left" valignment="top" width="0">
38324 <row interlinespace="2.5mm">
38325 <cell alignment="center" valignment="top" usebox="none">
38326 \begin_inset Text
38327
38328 \begin_layout Plain Layout
38329
38330 \family sans
38331 \begin_inset Info
38332 type  "icon"
38333 arg   "buffer-view"
38334 \end_inset
38335
38336
38337 \end_layout
38338
38339 \end_inset
38340 </cell>
38341 <cell alignment="center" valignment="top" usebox="none">
38342 \begin_inset Text
38343
38344 \begin_layout Plain Layout
38345
38346 \family sans
38347 View\SpecialChar \menuseparator
38348 View
38349 \end_layout
38350
38351 \end_inset
38352 </cell>
38353 </row>
38354 <row interlinespace="2.5mm">
38355 <cell alignment="center" valignment="top" usebox="none">
38356 \begin_inset Text
38357
38358 \begin_layout Plain Layout
38359
38360 \family sans
38361 \begin_inset Info
38362 type  "icon"
38363 arg   "buffer-update"
38364 \end_inset
38365
38366
38367 \end_layout
38368
38369 \end_inset
38370 </cell>
38371 <cell alignment="center" valignment="top" usebox="none">
38372 \begin_inset Text
38373
38374 \begin_layout Plain Layout
38375
38376 \family sans
38377 View\SpecialChar \menuseparator
38378 Update
38379 \end_layout
38380
38381 \end_inset
38382 </cell>
38383 </row>
38384 <row interlinespace="2.5mm">
38385 <cell alignment="center" valignment="top" usebox="none">
38386 \begin_inset Text
38387
38388 \begin_layout Plain Layout
38389
38390 \family sans
38391 \begin_inset Info
38392 type  "icon"
38393 arg   "master-buffer-view"
38394 \end_inset
38395
38396
38397 \end_layout
38398
38399 \end_inset
38400 </cell>
38401 <cell alignment="center" valignment="top" usebox="none">
38402 \begin_inset Text
38403
38404 \begin_layout Plain Layout
38405
38406 \family sans
38407 View\SpecialChar \menuseparator
38408 Master
38409 \end_layout
38410
38411 \end_inset
38412 </cell>
38413 </row>
38414 <row interlinespace="2.5mm">
38415 <cell alignment="center" valignment="top" usebox="none">
38416 \begin_inset Text
38417
38418 \begin_layout Plain Layout
38419
38420 \family sans
38421 \begin_inset Info
38422 type  "icon"
38423 arg   "master-buffer-update"
38424 \end_inset
38425
38426
38427 \end_layout
38428
38429 \end_inset
38430 </cell>
38431 <cell alignment="center" valignment="top" usebox="none">
38432 \begin_inset Text
38433
38434 \begin_layout Plain Layout
38435
38436 \family sans
38437 View\SpecialChar \menuseparator
38438 Update
38439 \begin_inset space ~
38440 \end_inset
38441
38442 Master
38443 \end_layout
38444
38445 \end_inset
38446 </cell>
38447 </row>
38448 <row interlinespace="2.5mm">
38449 <cell alignment="center" valignment="top" usebox="none">
38450 \begin_inset Text
38451
38452 \begin_layout Plain Layout
38453
38454 \family sans
38455 \begin_inset Info
38456 type  "icon"
38457 arg   "buffer-toggle-output-sync"
38458 \end_inset
38459
38460
38461 \end_layout
38462
38463 \end_inset
38464 </cell>
38465 <cell alignment="center" valignment="top" usebox="none">
38466 \begin_inset Text
38467
38468 \begin_layout Plain Layout
38469
38470 \family sans
38471 Document\SpecialChar \menuseparator
38472 Settings\SpecialChar \menuseparator
38473 Output\SpecialChar \menuseparator
38474 Synchronize with Output
38475 \end_layout
38476
38477 \end_inset
38478 </cell>
38479 </row>
38480 <row interlinespace="2.5mm">
38481 <cell alignment="center" valignment="top" usebox="none">
38482 \begin_inset Text
38483
38484 \begin_layout Plain Layout
38485 \begin_inset Graphics
38486         filename ../images/view-others.png
38487         scale 85
38488         groupId toolbarbuttons
38489
38490 \end_inset
38491
38492
38493 \family sans
38494 *
38495 \end_layout
38496
38497 \end_inset
38498 </cell>
38499 <cell alignment="center" valignment="top" usebox="none">
38500 \begin_inset Text
38501
38502 \begin_layout Plain Layout
38503
38504 \family sans
38505 View\SpecialChar \menuseparator
38506 View (Other Formats)
38507 \end_layout
38508
38509 \end_inset
38510 </cell>
38511 </row>
38512 <row interlinespace="2.5mm">
38513 <cell alignment="center" valignment="top" usebox="none">
38514 \begin_inset Text
38515
38516 \begin_layout Plain Layout
38517 \begin_inset Graphics
38518         filename ../images/update-others.png
38519         scale 85
38520         groupId toolbarbuttons
38521
38522 \end_inset
38523
38524 *
38525 \end_layout
38526
38527 \end_inset
38528 </cell>
38529 <cell alignment="center" valignment="top" usebox="none">
38530 \begin_inset Text
38531
38532 \begin_layout Plain Layout
38533
38534 \family sans
38535 View\SpecialChar \menuseparator
38536 Update (Other Formats)
38537 \end_layout
38538
38539 \end_inset
38540 </cell>
38541 </row>
38542 </lyxtabular>
38543
38544 \end_inset
38545
38546
38547 \end_layout
38548
38549 \begin_layout Standard
38550 * These icons might look different for you if you do not use the default
38551  icon set.
38552 \end_layout
38553
38554 \begin_layout Subsection
38555 Other Toolbars
38556 \end_layout
38557
38558 \begin_layout Standard
38559 The change tracking toolbar is explained in section
38560 \begin_inset space ~
38561 \end_inset
38562
38563
38564 \begin_inset CommandInset ref
38565 LatexCommand ref
38566 reference "sec:Change-Tracking"
38567
38568 \end_inset
38569
38570 , the table toolbar
38571 \begin_inset Index idx
38572 status collapsed
38573
38574 \begin_layout Plain Layout
38575 Toolbar ! Table
38576 \end_layout
38577
38578 \end_inset
38579
38580  in the 
38581 \emph on
38582 Embedded
38583 \begin_inset space ~
38584 \end_inset
38585
38586 Objects
38587 \emph default
38588  manual, the math macro toolbar
38589 \begin_inset Index idx
38590 status collapsed
38591
38592 \begin_layout Plain Layout
38593 Toolbar ! Macro
38594 \end_layout
38595
38596 \end_inset
38597
38598  in the 
38599 \emph on
38600 Math
38601 \emph default
38602  manual.
38603 \end_layout
38604
38605 \begin_layout Chapter
38606 The Document Settings
38607 \begin_inset CommandInset label
38608 LatexCommand label
38609 name "chap:The-Document-Settings"
38610
38611 \end_inset
38612
38613
38614 \begin_inset Index idx
38615 status collapsed
38616
38617 \begin_layout Plain Layout
38618 Document ! Settings
38619 \end_layout
38620
38621 \end_inset
38622
38623
38624 \end_layout
38625
38626 \begin_layout Standard
38627 The document settings dialog contains submenus to set properties for the
38628  whole document and is called with the menu
38629 \family sans
38630  Document\SpecialChar \menuseparator
38631 Settings
38632 \family default
38633 .
38634  You can save your document settings as default with the
38635 \family sans
38636  Save as Document Defaults
38637 \family default
38638  button in the dialog.
38639  This will create a template named 
38640 \family typewriter
38641 defaults.lyx
38642 \family default
38643  which is automatically loaded by LyX when you create a new document without
38644  using a template.
38645 \end_layout
38646
38647 \begin_layout Standard
38648 The button 
38649 \family sans
38650 Use Class Defaults
38651 \family default
38652  resets the document settings to the default of the document class.
38653  This affects mostly class options, the page layout and Numbering & TOC.
38654 \end_layout
38655
38656 \begin_layout Standard
38657 The different submenus of the dialog are explained in the following sections.
38658 \end_layout
38659
38660 \begin_layout Section
38661 Document Class
38662 \end_layout
38663
38664 \begin_layout Standard
38665 Here you set the document class, class options, a graphics driver, and a
38666  master document.
38667  Document classes are described in section
38668 \begin_inset space ~
38669 \end_inset
38670
38671
38672 \begin_inset CommandInset ref
38673 LatexCommand ref
38674 reference "sec:Document-Classes"
38675
38676 \end_inset
38677
38678 .
38679  
38680 \end_layout
38681
38682 \begin_layout Standard
38683 With the button 
38684 \family sans
38685 Local
38686 \begin_inset space ~
38687 \end_inset
38688
38689 Layout
38690 \family default
38691  you can load you own layout-file, that is not in LyX's 
38692 \emph on
38693 layouts
38694 \emph default
38695  folder and thus not recognized by LyX as layout for a document class.
38696  For more about layout-files, see the chapter 
38697 \emph on
38698 Installing New Document Classes, Layouts, and Templates
38699 \emph default
38700  of the 
38701 \emph on
38702 Customization
38703 \emph default
38704  Handbook.
38705 \end_layout
38706
38707 \begin_layout Standard
38708 Some classes use special class options by default.
38709  If this is the case, they are listed in the field 
38710 \family sans
38711 Predefined
38712 \family default
38713  and you can decide to use them or not.
38714  If you do not exactly know what the default class options are for, it is
38715  recommended to leave them untouched.
38716  The 
38717 \family sans
38718 Graphics driver
38719 \family default
38720  is used for LaTeX's graphics, color and page layout packages.
38721  If using 
38722 \family sans
38723 Default
38724 \family default
38725 , the default driver for the LaTeX-packages is used.
38726  It is recommended that you use the default unless you know what you are
38727  doing.
38728 \begin_inset Foot
38729 status collapsed
38730
38731 \begin_layout Plain Layout
38732 When you want to use one of the following drivers
38733 \begin_inset Newline newline
38734 \end_inset
38735
38736
38737 \family sans
38738 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
38739 \family default
38740
38741 \begin_inset Newline newline
38742 \end_inset
38743
38744 you first have to activate them in your LaTeX distribution, see section
38745  
38746 \emph on
38747 Driver support
38748 \emph default
38749  in 
38750 \begin_inset CommandInset href
38751 LatexCommand href
38752 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
38753
38754 \end_inset
38755
38756 .
38757 \end_layout
38758
38759 \end_inset
38760
38761
38762 \end_layout
38763
38764 \begin_layout Standard
38765 Specifying a master document is necessary if the current document is a child
38766  or subdocument.
38767  The master document will be used by LyX in the background if the child
38768  document is opened without its master.
38769  This way child documents are always compilable.
38770  More about master and child documents is explained in the section 
38771 \emph on
38772 Child Documents
38773 \emph default
38774  of the 
38775 \emph on
38776 Embedded
38777 \begin_inset space ~
38778 \end_inset
38779
38780 Objects
38781 \emph default
38782  manual.
38783 \end_layout
38784
38785 \begin_layout Standard
38786 There is also an option to suppress the date and one to use the LaTeX-package
38787  
38788 \series bold
38789 refstyle
38790 \series default
38791  instead of 
38792 \series bold
38793 prettyref
38794 \series default
38795
38796 \begin_inset Index idx
38797 status collapsed
38798
38799 \begin_layout Plain Layout
38800 LaTeX-packages ! prettyref
38801 \end_layout
38802
38803 \end_inset
38804
38805
38806 \begin_inset Index idx
38807 status collapsed
38808
38809 \begin_layout Plain Layout
38810 LaTeX-packages ! refstyle
38811 \end_layout
38812
38813 \end_inset
38814
38815  for cross-references, see sec.
38816 \begin_inset space \thinspace{}
38817 \end_inset
38818
38819
38820 \begin_inset CommandInset ref
38821 LatexCommand ref
38822 reference "sec:Cross-References"
38823
38824 \end_inset
38825
38826 .
38827 \end_layout
38828
38829 \begin_layout Section
38830 Child Documents
38831 \end_layout
38832
38833 \begin_layout Standard
38834 This submenu is only visible when your document includes child documents.
38835  Please refer to the section 
38836 \emph on
38837 Child
38838 \begin_inset space ~
38839 \end_inset
38840
38841 Documents
38842 \emph default
38843  of the 
38844 \emph on
38845 Embedded
38846 \begin_inset space ~
38847 \end_inset
38848
38849 Objects
38850 \emph default
38851  manual for details.
38852 \end_layout
38853
38854 \begin_layout Section
38855 Modules
38856 \end_layout
38857
38858 \begin_layout Standard
38859 Modules are explained in section
38860 \begin_inset space ~
38861 \end_inset
38862
38863
38864 \begin_inset CommandInset ref
38865 LatexCommand ref
38866 reference "sub:Modules"
38867
38868 \end_inset
38869
38870 .
38871 \end_layout
38872
38873 \begin_layout Section
38874 Local Layout
38875 \end_layout
38876
38877 \begin_layout Standard
38878 See section
38879 \begin_inset space ~
38880 \end_inset
38881
38882
38883 \begin_inset CommandInset ref
38884 LatexCommand ref
38885 reference "sub:Local-Layout"
38886
38887 \end_inset
38888
38889  for a description.
38890 \end_layout
38891
38892 \begin_layout Section
38893 Fonts
38894 \end_layout
38895
38896 \begin_layout Standard
38897 The document font settings are described in section
38898 \begin_inset space ~
38899 \end_inset
38900
38901
38902 \begin_inset CommandInset ref
38903 LatexCommand ref
38904 reference "sec:Fonts-and-Text"
38905
38906 \end_inset
38907
38908 .
38909 \end_layout
38910
38911 \begin_layout Section
38912 Text Layout
38913 \end_layout
38914
38915 \begin_layout Standard
38916 You can specify if paragraphs should be separated by indentations or vertical
38917  skips.
38918  The line spacing and the number of text columns can also be specified here.
38919 \end_layout
38920
38921 \begin_layout Standard
38922 Note that LyX will not show two columns or the set up line spacing on screen.
38923  That would be impractical, often unreadable and is not part of the WYSIWYM
38924  concept.
38925  However, it will be as you specified it in the output.
38926 \end_layout
38927
38928 \begin_layout Section
38929 Page Layout
38930 \end_layout
38931
38932 \begin_layout Standard
38933 A description of this menu is given in section
38934 \begin_inset space ~
38935 \end_inset
38936
38937
38938 \begin_inset CommandInset ref
38939 LatexCommand ref
38940 reference "sub:Paper-Size,-Orientation"
38941
38942 \end_inset
38943
38944  and 
38945 \begin_inset CommandInset ref
38946 LatexCommand ref
38947 reference "sub:Document-Layout"
38948
38949 \end_inset
38950
38951 .
38952 \end_layout
38953
38954 \begin_layout Section
38955 Page Margins
38956 \end_layout
38957
38958 \begin_layout Standard
38959 Here you can adjust the paper margins, see section
38960 \begin_inset space ~
38961 \end_inset
38962
38963
38964 \begin_inset CommandInset ref
38965 LatexCommand ref
38966 reference "sub:Margins"
38967
38968 \end_inset
38969
38970 .
38971 \end_layout
38972
38973 \begin_layout Section
38974 Language
38975 \begin_inset CommandInset label
38976 LatexCommand label
38977 name "sec:Language-encodings"
38978
38979 \end_inset
38980
38981
38982 \begin_inset Index idx
38983 status collapsed
38984
38985 \begin_layout Plain Layout
38986 Language ! Encoding
38987 \end_layout
38988
38989 \end_inset
38990
38991
38992 \end_layout
38993
38994 \begin_layout Standard
38995 The document language and quote styles are set here.
38996  The encoding specifies how the document content is exported to LaTeX (the
38997  LyX file is always encoded in utf8).
38998  All characters that cannot be encoded using the specified encoding will
38999  be exported as LaTeX-commands (this can fail if a LaTeX-command is not
39000  known for a particular character).
39001 \begin_inset Foot
39002 status collapsed
39003
39004 \begin_layout Plain Layout
39005 The known commands are defined in a text file (
39006 \emph on
39007 unicodesymbols
39008 \emph default
39009 ).
39010  You can add commands for unknown symbols to that file yourself, see the
39011  
39012 \emph on
39013 Customization
39014 \emph default
39015  manual for details.
39016 \end_layout
39017
39018 \end_inset
39019
39020
39021 \end_layout
39022
39023 \begin_layout Standard
39024 If you use the option 
39025 \family sans
39026 Language Default
39027 \family default
39028 , LyX determines the encoding of a text part from the language of this text.
39029  If the document contains text in more than one language you may get more
39030  than one encoding in the LaTeX file.
39031  If you do not use this option then the complete document will always use
39032  exactly one encoding.
39033  Checking this option is the preferred setting.
39034 \end_layout
39035
39036 \begin_layout Standard
39037 LyX also supports Unicode output, which is particularly useful if you need
39038  lots of special symbols or non-alphabetic scripts, respectively.
39039  If you want to use this (and your LaTeX installation supports Unicode),
39040  choose one of the four utf8 variants from the list below.
39041  Unfortunately the Unicode support of standard LaTeX is quite incomplete,
39042  so it is not uncommon that a file with lots of Unicode symbols works fine
39043  with 
39044 \family sans
39045 Language Default
39046 \family default
39047  (when LyX uses its list of known LaTeX-commands), but does not work with
39048  a fixed utf8 encoding (when the list of known LaTeX-commands is not used,
39049  because all Unicode symbols can be encoded in utf8).
39050  The situation is much better with XeTeX and LuaTeX, two new alternative
39051  engines to standard LaTeX.
39052  Both engines support Unicode natively.
39053  LyX now also supports these two engines (via the output formats 
39054 \family sans
39055 PDF
39056 \begin_inset space ~
39057 \end_inset
39058
39059 (XeTe
39060 \begin_inset ERT
39061 status collapsed
39062
39063 \begin_layout Plain Layout
39064
39065 {}
39066 \end_layout
39067
39068 \end_inset
39069
39070 X)
39071 \family default
39072
39073 \family sans
39074 PDF
39075 \begin_inset space ~
39076 \end_inset
39077
39078 (LuaTe
39079 \begin_inset ERT
39080 status collapsed
39081
39082 \begin_layout Plain Layout
39083
39084 {}
39085 \end_layout
39086
39087 \end_inset
39088
39089 X)
39090 \family default
39091  and 
39092 \family sans
39093 DVI
39094 \begin_inset space ~
39095 \end_inset
39096
39097 (LuaTeX)
39098 \family default
39099 , see section
39100 \begin_inset space ~
39101 \end_inset
39102
39103
39104 \begin_inset CommandInset ref
39105 LatexCommand ref
39106 reference "sub:Output-file-formats"
39107
39108 \end_inset
39109
39110 ).
39111  So if you are using many special or accented characters and 
39112 \family sans
39113 Language Default
39114 \family default
39115  fails, you might try out one of these new engines.
39116 \end_layout
39117
39118 \begin_layout Standard
39119 The 
39120 \family sans
39121 Language
39122 \begin_inset space ~
39123 \end_inset
39124
39125 package
39126 \family default
39127  determines the LaTeX-package that is used for hyphenation and the translation
39128  of strings like 
39129 \begin_inset Quotes eld
39130 \end_inset
39131
39132 Part
39133 \begin_inset Quotes erd
39134 \end_inset
39135
39136 .
39137  The possible settings are:
39138 \end_layout
39139
39140 \begin_layout Description
39141 Default uses the language package that is selected in
39142 \family sans
39143  Tools\SpecialChar \menuseparator
39144 Preferences\SpecialChar \menuseparator
39145 Language Settings
39146 \family default
39147  (see section
39148 \begin_inset space ~
39149 \end_inset
39150
39151
39152 \begin_inset CommandInset ref
39153 LatexCommand ref
39154 reference "sub:Prefs-Language"
39155
39156 \end_inset
39157
39158 ).
39159 \end_layout
39160
39161 \begin_layout Description
39162 Automatic selects the most suitable language package for the view/export
39163  format you will use.
39164  In many cases this will be 
39165 \series bold
39166 babel
39167 \series default
39168
39169 \begin_inset Index idx
39170 status collapsed
39171
39172 \begin_layout Plain Layout
39173 LaTeX-packages ! babel
39174 \end_layout
39175
39176 \end_inset
39177
39178 .
39179  If the newer package 
39180 \series bold
39181 polyglossia
39182 \series default
39183
39184 \begin_inset Index idx
39185 status collapsed
39186
39187 \begin_layout Plain Layout
39188 LaTeX-packages ! polyglossia
39189 \end_layout
39190
39191 \end_inset
39192
39193  is more appropriate (is the case when using XeTeX and/or non-TeX fonts),
39194  this package will be used instead of 
39195 \series bold
39196 babel
39197 \series default
39198 .
39199 \end_layout
39200
39201 \begin_layout Description
39202 Always
39203 \begin_inset space ~
39204 \end_inset
39205
39206 Babel uses 
39207 \series bold
39208 babel
39209 \series default
39210  even if 
39211 \series bold
39212 polyglossia
39213 \series default
39214  would be more appropriate.
39215 \end_layout
39216
39217 \begin_layout Description
39218 Custom allows you to specify a language package command of your choice.
39219  For example if you want to use a language-specific package like 
39220 \series bold
39221 ngerman
39222 \series default
39223  (for German texts), type in
39224 \series bold
39225
39226 \begin_inset Newline newline
39227 \end_inset
39228
39229
39230 \backslash
39231 usepackage{ngerman}
39232 \end_layout
39233
39234 \begin_layout Description
39235 None will not use a language package.
39236  This is necessary for some document classes for scientific articles.
39237 \end_layout
39238
39239 \begin_layout Standard
39240 Here is a list with the important encodings:
39241 \end_layout
39242
39243 \begin_layout Description
39244 Language
39245 \begin_inset space ~
39246 \end_inset
39247
39248 Default
39249 \begin_inset space ~
39250 \end_inset
39251
39252 (no
39253 \begin_inset space ~
39254 \end_inset
39255
39256 inputenc) Same as 
39257 \family sans
39258 Language Default
39259 \family default
39260 , but the LaTeX-package 
39261 \series bold
39262 inputenc
39263 \series default
39264
39265 \begin_inset Index idx
39266 status collapsed
39267
39268 \begin_layout Plain Layout
39269 LaTeX-packages ! inputenc
39270 \end_layout
39271
39272 \end_inset
39273
39274  is not used.
39275  When using this, you probably need to load some additional packages manually
39276  in the preamble and specify the used encoding for text parts in foreign
39277  languages in TeX code.
39278 \end_layout
39279
39280 \begin_layout Description
39281 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
39282  LyX converts all other characters into LaTeX commands, which may result
39283  in a big file when lots of LaTeX-commands are needed.
39284 \end_layout
39285
39286 \begin_layout Description
39287 Arabic
39288 \begin_inset space ~
39289 \end_inset
39290
39291 (CP
39292 \begin_inset space ~
39293 \end_inset
39294
39295 1256) MS Windows code page for Arabic and Farsi
39296 \end_layout
39297
39298 \begin_layout Description
39299 Arabic
39300 \begin_inset space ~
39301 \end_inset
39302
39303 (ISO
39304 \begin_inset space ~
39305 \end_inset
39306
39307 8859-6) for Arabic and Farsi
39308 \end_layout
39309
39310 \begin_layout Description
39311 Armenian
39312 \begin_inset space ~
39313 \end_inset
39314
39315 (ArmSCII8) for Armenian
39316 \end_layout
39317
39318 \begin_layout Description
39319 Baltic
39320 \begin_inset space ~
39321 \end_inset
39322
39323 (CP
39324 \begin_inset space ~
39325 \end_inset
39326
39327 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
39328  as the ISO-8859-13 encoding
39329 \end_layout
39330
39331 \begin_layout Description
39332 Baltic
39333 \begin_inset space ~
39334 \end_inset
39335
39336 (ISO
39337 \begin_inset space ~
39338 \end_inset
39339
39340 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
39341  encoding
39342 \end_layout
39343
39344 \begin_layout Description
39345 Baltic
39346 \begin_inset space ~
39347 \end_inset
39348
39349 (ISO
39350 \begin_inset space ~
39351 \end_inset
39352
39353 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
39354  ISO-8859-13 encoding
39355 \end_layout
39356
39357 \begin_layout Description
39358 Central
39359 \begin_inset space ~
39360 \end_inset
39361
39362 European
39363 \begin_inset space ~
39364 \end_inset
39365
39366 (CP
39367 \begin_inset space ~
39368 \end_inset
39369
39370 1250) MS Windows code page for ISO
39371 \begin_inset space ~
39372 \end_inset
39373
39374 8859-2 (latin2)
39375 \end_layout
39376
39377 \begin_layout Description
39378 Central
39379 \begin_inset space ~
39380 \end_inset
39381
39382 European
39383 \begin_inset space ~
39384 \end_inset
39385
39386 (ISO
39387 \begin_inset space ~
39388 \end_inset
39389
39390 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
39391  Romanian, Slovak and Slovenian
39392 \end_layout
39393
39394 \begin_layout Description
39395 Chinese
39396 \begin_inset space ~
39397 \end_inset
39398
39399 (simplified)
39400 \begin_inset space ~
39401 \end_inset
39402
39403 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
39404  this encoding is officially replaced by the encoding GB18030, as GB18030
39405  is not available for LaTeX you should try to use the encoding Unicode
39406 \begin_inset space ~
39407 \end_inset
39408
39409 (CJK)
39410 \begin_inset space ~
39411 \end_inset
39412
39413 (utf8)
39414 \end_layout
39415
39416 \begin_layout Description
39417 Chinese
39418 \begin_inset space ~
39419 \end_inset
39420
39421 (simplified)
39422 \begin_inset space ~
39423 \end_inset
39424
39425 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
39426  except for the Euro currency sign, since 2001 this encoding is officially
39427  replaced by the encoding GB18030, as GB18030 is not available for LaTeX
39428  you should try to use the encoding Unicode
39429 \begin_inset space ~
39430 \end_inset
39431
39432 (CJK)
39433 \begin_inset space ~
39434 \end_inset
39435
39436 (utf8)
39437 \end_layout
39438
39439 \begin_layout Description
39440 Chinese
39441 \begin_inset space ~
39442 \end_inset
39443
39444 (traditional)
39445 \begin_inset space ~
39446 \end_inset
39447
39448 (EUC-TW) for traditional Chinese
39449 \end_layout
39450
39451 \begin_layout Description
39452 Cyrillic
39453 \begin_inset space ~
39454 \end_inset
39455
39456 (CP
39457 \begin_inset space ~
39458 \end_inset
39459
39460 1251) MS Windows code page for Cyrillic
39461 \end_layout
39462
39463 \begin_layout Description
39464 Cyrillic
39465 \begin_inset space ~
39466 \end_inset
39467
39468 (ISO
39469 \begin_inset space ~
39470 \end_inset
39471
39472 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
39473 \end_layout
39474
39475 \begin_layout Description
39476 Cyrillic
39477 \begin_inset space ~
39478 \end_inset
39479
39480 (KOI8-R) standard Cyrillic especially for Russian
39481 \end_layout
39482
39483 \begin_layout Description
39484 Cyrillic
39485 \begin_inset space ~
39486 \end_inset
39487
39488 (KOI8-U) Cyrillic for Ukrainian
39489 \end_layout
39490
39491 \begin_layout Description
39492 Cyrillic
39493 \begin_inset space ~
39494 \end_inset
39495
39496 (pt
39497 \begin_inset space ~
39498 \end_inset
39499
39500 154) Cyrillic for Kazakh
39501 \end_layout
39502
39503 \begin_layout Description
39504 Greek
39505 \begin_inset space ~
39506 \end_inset
39507
39508 (ISO
39509 \begin_inset space ~
39510 \end_inset
39511
39512 8859-7) for Greek
39513 \end_layout
39514
39515 \begin_layout Description
39516 Hebrew
39517 \begin_inset space ~
39518 \end_inset
39519
39520 (CP
39521 \begin_inset space ~
39522 \end_inset
39523
39524 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
39525 \end_layout
39526
39527 \begin_layout Description
39528 Hebrew
39529 \begin_inset space ~
39530 \end_inset
39531
39532 (ISO
39533 \begin_inset space ~
39534 \end_inset
39535
39536 8859-8) for Hebrew
39537 \end_layout
39538
39539 \begin_layout Description
39540 Japanese
39541 \begin_inset space ~
39542 \end_inset
39543
39544 (CJK)
39545 \begin_inset space ~
39546 \end_inset
39547
39548 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
39549 \series bold
39550 CJK
39551 \series default
39552
39553 \begin_inset Index idx
39554 status collapsed
39555
39556 \begin_layout Plain Layout
39557 LaTeX-packages ! CJK
39558 \end_layout
39559
39560 \end_inset
39561
39562 , when using this, set the document language to 
39563 \family sans
39564 Japanese (CJK)
39565 \end_layout
39566
39567 \begin_layout Description
39568 Japanese
39569 \begin_inset space ~
39570 \end_inset
39571
39572 (CJK)
39573 \begin_inset space ~
39574 \end_inset
39575
39576 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
39577 \series bold
39578 CJK
39579 \series default
39580 , when using this, set the document language to 
39581 \family sans
39582 Japanese
39583 \begin_inset space ~
39584 \end_inset
39585
39586 (CJK)
39587 \end_layout
39588
39589 \begin_layout Description
39590 Japanese
39591 \begin_inset space ~
39592 \end_inset
39593
39594 (non-CJK)
39595 \begin_inset space ~
39596 \end_inset
39597
39598 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
39599 \series bold
39600 japanese
39601 \series default
39602
39603 \begin_inset Index idx
39604 status collapsed
39605
39606 \begin_layout Plain Layout
39607 LaTeX-packages ! japanese
39608 \end_layout
39609
39610 \end_inset
39611
39612 , when using this, set the document language to 
39613 \family sans
39614 Japanese
39615 \end_layout
39616
39617 \begin_layout Description
39618 Japanese
39619 \begin_inset space ~
39620 \end_inset
39621
39622 (non-CJK)
39623 \begin_inset space ~
39624 \end_inset
39625
39626 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
39627 \series bold
39628 japanese
39629 \series default
39630 , when using this, set the document language to 
39631 \family sans
39632 Japanese
39633 \end_layout
39634
39635 \begin_layout Description
39636 Japanese
39637 \begin_inset space ~
39638 \end_inset
39639
39640 (non-CJK)
39641 \begin_inset space ~
39642 \end_inset
39643
39644 (SJIS) SJIS encoding for Japanese, uses the LaTeX-package 
39645 \series bold
39646 japanese
39647 \series default
39648 , when using this, set the document language to 
39649 \family sans
39650 Japanese
39651 \end_layout
39652
39653 \begin_layout Description
39654 Korean
39655 \begin_inset space ~
39656 \end_inset
39657
39658 (EUC-KR) for Korean
39659 \end_layout
39660
39661 \begin_layout Description
39662 Southern
39663 \begin_inset space ~
39664 \end_inset
39665
39666 European
39667 \begin_inset space ~
39668 \end_inset
39669
39670 (ISO
39671 \begin_inset space ~
39672 \end_inset
39673
39674 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
39675 \end_layout
39676
39677 \begin_layout Description
39678 South-Eastern
39679 \begin_inset space ~
39680 \end_inset
39681
39682 European
39683 \begin_inset space ~
39684 \end_inset
39685
39686 (ISO
39687 \begin_inset space ~
39688 \end_inset
39689
39690 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
39691  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
39692  to cover many languages and characters with diacritics
39693 \end_layout
39694
39695 \begin_layout Description
39696 Thai
39697 \begin_inset space ~
39698 \end_inset
39699
39700 (TIS
39701 \begin_inset space ~
39702 \end_inset
39703
39704 620-0) for Thai
39705 \end_layout
39706
39707 \begin_layout Description
39708 Turkish
39709 \begin_inset space ~
39710 \end_inset
39711
39712 (ISO
39713 \begin_inset space ~
39714 \end_inset
39715
39716 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
39717  Icelandic letters are replaced by Turkish ones
39718 \end_layout
39719
39720 \begin_layout Description
39721 Unicode
39722 \begin_inset space ~
39723 \end_inset
39724
39725 (CJK)
39726 \begin_inset space ~
39727 \end_inset
39728
39729 (utf8) Unicode utf8 with the LaTeX-package 
39730 \series bold
39731 CJK
39732 \series default
39733
39734 \begin_inset Index idx
39735 status collapsed
39736
39737 \begin_layout Plain Layout
39738 LaTeX-packages ! CJK
39739 \end_layout
39740
39741 \end_inset
39742
39743  (for the languages Chinese, Japanese and Korean)
39744 \end_layout
39745
39746 \begin_layout Description
39747 Unicode
39748 \begin_inset space ~
39749 \end_inset
39750
39751 (XeTeX)
39752 \begin_inset space ~
39753 \end_inset
39754
39755 (utf8) Unicode utf8 to be used with 
39756 \family sans
39757 XeTeX
39758 \family default
39759  and 
39760 \family sans
39761 LuaTeX
39762 \family default
39763 , which use Unicode directly, without the help of the LaTeX-package 
39764 \series bold
39765 inputenc
39766 \series default
39767 .
39768  LyX automatically selects this encoding if you export or preview XeTeX
39769  or LuaTeX.
39770  Normally you do not need to set this encoding manually.
39771 \end_layout
39772
39773 \begin_layout Description
39774 Unicode
39775 \begin_inset space ~
39776 \end_inset
39777
39778 (ucs-extended)
39779 \begin_inset space ~
39780 \end_inset
39781
39782 (utf8x) Unicode utf8 based on the LaTeX-package 
39783 \series bold
39784 ucs
39785 \series default
39786
39787 \begin_inset Index idx
39788 status collapsed
39789
39790 \begin_layout Plain Layout
39791 LaTeX-packages ! ucs
39792 \end_layout
39793
39794 \end_inset
39795
39796  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
39797 \end_layout
39798
39799 \begin_layout Description
39800 Unicode
39801 \begin_inset space ~
39802 \end_inset
39803
39804 (utf8) Unicode utf8 based on the LaTeX-package 
39805 \series bold
39806 inputenc
39807 \series default
39808
39809 \begin_inset Index idx
39810 status collapsed
39811
39812 \begin_layout Plain Layout
39813 LaTeX-packages ! inputenc
39814 \end_layout
39815
39816 \end_inset
39817
39818 .
39819  Currently only a limited range of characters (mainly for Latin scripts)
39820  is supported.
39821 \end_layout
39822
39823 \begin_layout Description
39824 Western
39825 \begin_inset space ~
39826 \end_inset
39827
39828 European
39829 \begin_inset space ~
39830 \end_inset
39831
39832 (CP
39833 \begin_inset space ~
39834 \end_inset
39835
39836 1252) MS Windows code page for ISO
39837 \begin_inset space ~
39838 \end_inset
39839
39840 8859-1 (latin1)
39841 \end_layout
39842
39843 \begin_layout Description
39844 Western
39845 \begin_inset space ~
39846 \end_inset
39847
39848 European
39849 \begin_inset space ~
39850 \end_inset
39851
39852 (ISO
39853 \begin_inset space ~
39854 \end_inset
39855
39856 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
39857  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
39858  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
39859  encoding instead
39860 \end_layout
39861
39862 \begin_layout Description
39863 Western
39864 \begin_inset space ~
39865 \end_inset
39866
39867 European
39868 \begin_inset space ~
39869 \end_inset
39870
39871 (ISO
39872 \begin_inset space ~
39873 \end_inset
39874
39875 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
39876  sign, the œ-ligature and some characters used for French and Finnish
39877 \end_layout
39878
39879 \begin_layout Standard
39880 Finally, the dialog lets you select a specific language package for the
39881  current document.
39882  See sec.
39883 \begin_inset space \thinspace{}
39884 \end_inset
39885
39886
39887 \begin_inset CommandInset ref
39888 LatexCommand ref
39889 reference "sub:Prefs-Language"
39890
39891 \end_inset
39892
39893  for more information on the language package.
39894 \end_layout
39895
39896 \begin_layout Section
39897 Colors
39898 \begin_inset Index idx
39899 status collapsed
39900
39901 \begin_layout Plain Layout
39902 Color ! main text
39903 \end_layout
39904
39905 \end_inset
39906
39907
39908 \begin_inset Index idx
39909 status collapsed
39910
39911 \begin_layout Plain Layout
39912 Color ! background
39913 \end_layout
39914
39915 \end_inset
39916
39917
39918 \end_layout
39919
39920 \begin_layout Standard
39921 Here you can alter the font color for the main text (default: black) and
39922  for Greyed
39923 \begin_inset space ~
39924 \end_inset
39925
39926 out notes (default: light grey).
39927  The button 
39928 \family sans
39929 Reset
39930 \family default
39931  sets the color back to the default.
39932 \end_layout
39933
39934 \begin_layout Standard
39935 You can also change the background color for the pages (default: white)
39936  and for Shaded
39937 \begin_inset space ~
39938 \end_inset
39939
39940 boxes (default: red).
39941 \end_layout
39942
39943 \begin_layout Standard
39944 \begin_inset Note Greyedout
39945 status collapsed
39946
39947 \begin_layout Plain Layout
39948 The colors are not shown within LyX, only in the output.
39949  (This Greyed
39950 \begin_inset space ~
39951 \end_inset
39952
39953 out note appears blue in the output.)
39954 \end_layout
39955
39956 \end_inset
39957
39958
39959 \end_layout
39960
39961 \begin_layout Standard
39962 Note, if you change the main text font color and use the option 
39963 \family sans
39964 Color
39965 \begin_inset space ~
39966 \end_inset
39967
39968 links
39969 \family default
39970  in the document settings under 
39971 \family sans
39972 PDF
39973 \begin_inset space ~
39974 \end_inset
39975
39976 properties
39977 \family default
39978 , you probably also need to change the link font color by using 
39979 \family sans
39980 Additional
39981 \begin_inset space ~
39982 \end_inset
39983
39984 options
39985 \family default
39986  in the 
39987 \family sans
39988 PDF
39989 \begin_inset space ~
39990 \end_inset
39991
39992 properties
39993 \family default
39994 .
39995  For example the option
39996 \end_layout
39997
39998 \begin_layout Standard
39999
40000 \series bold
40001 linkcolor=black
40002 \end_layout
40003
40004 \begin_layout Standard
40005 sets the link text color to black.
40006  For more information, see the manual of the LaTeX-package 
40007 \series bold
40008 hyperref
40009 \series default
40010
40011 \begin_inset Index idx
40012 status collapsed
40013
40014 \begin_layout Plain Layout
40015 LaTeX-packages ! hyperref
40016 \end_layout
40017
40018 \end_inset
40019
40020
40021 \begin_inset CommandInset citation
40022 LatexCommand cite
40023 key "hyperref"
40024
40025 \end_inset
40026
40027 .
40028 \end_layout
40029
40030 \begin_layout Standard
40031 \begin_inset VSpace bigskip
40032 \end_inset
40033
40034
40035 \end_layout
40036
40037 \begin_layout Standard
40038 You can adapt the main text font color and the page background for every
40039  page in your document if you use these commands as TeX
40040 \begin_inset space ~
40041 \end_inset
40042
40043 Code behind a forced page break:
40044 \end_layout
40045
40046 \begin_layout Itemize
40047 For the page color:
40048 \begin_inset Newline newline
40049 \end_inset
40050
40051
40052 \series bold
40053
40054 \backslash
40055 pagecolor{color name}
40056 \end_layout
40057
40058 \begin_layout Itemize
40059 For the text color:
40060 \begin_inset Newline newline
40061 \end_inset
40062
40063
40064 \series bold
40065
40066 \backslash
40067 color{color name}
40068 \end_layout
40069
40070 \begin_layout Standard
40071 The color name can hereby be one of these: 
40072 \series bold
40073 black
40074 \series default
40075
40076 \series bold
40077 blue
40078 \series default
40079
40080 \series bold
40081 cyan
40082 \series default
40083
40084 \series bold
40085 green
40086 \series default
40087
40088 \series bold
40089 magenta
40090 \series default
40091
40092 \series bold
40093 red
40094 \series default
40095
40096 \series bold
40097 white
40098 \series default
40099
40100 \series bold
40101 yellow
40102 \series default
40103
40104 \begin_inset Newline newline
40105 \end_inset
40106
40107 If you have changed a text or background color, you can use them under the
40108  following names:
40109 \end_layout
40110
40111 \begin_layout Itemize
40112 For the page background color:
40113 \begin_inset Newline newline
40114 \end_inset
40115
40116
40117 \series bold
40118 page_backgroundcolor
40119 \end_layout
40120
40121 \begin_layout Itemize
40122 For the main text color:
40123 \begin_inset Newline newline
40124 \end_inset
40125
40126
40127 \series bold
40128 document_fontcolor
40129 \end_layout
40130
40131 \begin_layout Itemize
40132 For the Shaded
40133 \begin_inset space ~
40134 \end_inset
40135
40136 box background color:
40137 \begin_inset Newline newline
40138 \end_inset
40139
40140
40141 \series bold
40142 shadecolor
40143 \end_layout
40144
40145 \begin_layout Itemize
40146 For the Greyed
40147 \begin_inset space ~
40148 \end_inset
40149
40150 out note text color:
40151 \begin_inset Newline newline
40152 \end_inset
40153
40154
40155 \series bold
40156 note_fontcolor
40157 \end_layout
40158
40159 \begin_layout Standard
40160 To see how to define and use custom colors, see section 
40161 \emph on
40162 Colored
40163 \begin_inset space ~
40164 \end_inset
40165
40166 Cells
40167 \emph default
40168  of the 
40169 \emph on
40170 Embedded
40171 \begin_inset space ~
40172 \end_inset
40173
40174 Objects
40175 \emph default
40176  manual.
40177 \end_layout
40178
40179 \begin_layout Section
40180 Numbering & TOC
40181 \end_layout
40182
40183 \begin_layout Standard
40184 Here you can adjust the numbering depth of section headings and the section
40185  depth in the table of contents as described in section
40186 \begin_inset space ~
40187 \end_inset
40188
40189
40190 \begin_inset CommandInset ref
40191 LatexCommand ref
40192 reference "sub:Numbering-depth"
40193
40194 \end_inset
40195
40196 .
40197 \end_layout
40198
40199 \begin_layout Section
40200 Bibliography
40201 \end_layout
40202
40203 \begin_layout Standard
40204 Here you can specify a citation style using the LaTeX packages 
40205 \series bold
40206 natbib
40207 \series default
40208
40209 \begin_inset Index idx
40210 status collapsed
40211
40212 \begin_layout Plain Layout
40213 LaTeX-packages ! natbib
40214 \end_layout
40215
40216 \end_inset
40217
40218  or 
40219 \series bold
40220 jurabib
40221 \series default
40222
40223 \begin_inset Index idx
40224 status collapsed
40225
40226 \begin_layout Plain Layout
40227 LaTeX-packages ! jurabib
40228 \end_layout
40229
40230 \end_inset
40231
40232 .
40233  You can enable a sectioned bibliography using the LaTeX package 
40234 \series bold
40235 bibtopic
40236 \series default
40237
40238 \begin_inset Index idx
40239 status collapsed
40240
40241 \begin_layout Plain Layout
40242 LaTeX-packages ! bibtopic
40243 \end_layout
40244
40245 \end_inset
40246
40247  and you can customize how the bibliography of the given document is being
40248  generated.
40249  For a further description see section
40250 \begin_inset space ~
40251 \end_inset
40252
40253
40254 \begin_inset CommandInset ref
40255 LatexCommand ref
40256 reference "sec:Bibliography"
40257
40258 \end_inset
40259
40260 .
40261 \end_layout
40262
40263 \begin_layout Section
40264 Indexes
40265 \end_layout
40266
40267 \begin_layout Standard
40268 Here, you can customize how the index of your document is being generated
40269  and you can define additional indexes.
40270  Please refer to section
40271 \begin_inset space ~
40272 \end_inset
40273
40274
40275 \begin_inset CommandInset ref
40276 LatexCommand ref
40277 reference "sec:Index"
40278
40279 \end_inset
40280
40281  for details.
40282 \end_layout
40283
40284 \begin_layout Section
40285 PDF Properties
40286 \end_layout
40287
40288 \begin_layout Standard
40289 The PDF properties are explained in section
40290 \begin_inset space ~
40291 \end_inset
40292
40293
40294 \begin_inset CommandInset ref
40295 LatexCommand ref
40296 reference "sec:PDF-Properties"
40297
40298 \end_inset
40299
40300 .
40301 \end_layout
40302
40303 \begin_layout Section
40304 Math Options
40305 \end_layout
40306
40307 \begin_layout Standard
40308 These options will force LyX to use the LaTeX-packages 
40309 \series bold
40310 amsmath
40311 \series default
40312
40313 \begin_inset Index idx
40314 status collapsed
40315
40316 \begin_layout Plain Layout
40317 LaTeX-packages ! amsmath
40318 \end_layout
40319
40320 \end_inset
40321
40322
40323 \series bold
40324 esint
40325 \series default
40326
40327 \begin_inset Index idx
40328 status collapsed
40329
40330 \begin_layout Plain Layout
40331 LaTeX-packages ! esint
40332 \end_layout
40333
40334 \end_inset
40335
40336
40337 \series bold
40338 mathdots
40339 \series default
40340
40341 \begin_inset Index idx
40342 status collapsed
40343
40344 \begin_layout Plain Layout
40345 LaTeX-packages ! mathdots
40346 \end_layout
40347
40348 \end_inset
40349
40350  und 
40351 \series bold
40352 mhchem
40353 \series default
40354
40355 \begin_inset Index idx
40356 status collapsed
40357
40358 \begin_layout Plain Layout
40359 LaTeX-packages ! mhchem
40360 \end_layout
40361
40362 \end_inset
40363
40364  or to use them automatically when they are needed.
40365 \end_layout
40366
40367 \begin_layout Description
40368 amsmath is needed for many constructs, so when you get LaTeX-errors in formulas,
40369  ensure that you have enabled 
40370 \family sans
40371 AMS
40372 \begin_inset space ~
40373 \end_inset
40374
40375 math
40376 \family default
40377 .
40378 \end_layout
40379
40380 \begin_layout Description
40381 esint is used for special integral characters, see section 
40382 \emph on
40383 Big
40384 \begin_inset space ~
40385 \end_inset
40386
40387 Operators
40388 \emph default
40389  of the 
40390 \emph on
40391 Math
40392 \emph default
40393  manual.
40394 \end_layout
40395
40396 \begin_layout Description
40397 mathdots is used for special ellipses, see section 
40398 \emph on
40399 Ellipses
40400 \emph default
40401  of the 
40402 \emph on
40403 Math
40404 \emph default
40405  manual.
40406 \end_layout
40407
40408 \begin_layout Description
40409 mhchem is used for chemical equations, see section 
40410 \emph on
40411 Chemical Symbols and Equations
40412 \emph default
40413  of the 
40414 \emph on
40415 Math
40416 \emph default
40417  manual.
40418 \end_layout
40419
40420 \begin_layout Section
40421 Float Placement
40422 \end_layout
40423
40424 \begin_layout Standard
40425 The float placement options are described in section 
40426 \emph on
40427 Float
40428 \begin_inset space ~
40429 \end_inset
40430
40431 Placement
40432 \emph default
40433  of the 
40434 \emph on
40435 Embedded
40436 \begin_inset space ~
40437 \end_inset
40438
40439 Objects
40440 \emph default
40441  manual.
40442 \end_layout
40443
40444 \begin_layout Section
40445 Listings
40446 \end_layout
40447
40448 \begin_layout Standard
40449 The listings settings are explained in chapter 
40450 \emph on
40451 Program Code Listings
40452 \emph default
40453  of the 
40454 \emph on
40455 Embedded
40456 \begin_inset space ~
40457 \end_inset
40458
40459 Objects
40460 \emph default
40461  manual.
40462 \end_layout
40463
40464 \begin_layout Section
40465 Bullets
40466 \end_layout
40467
40468 \begin_layout Standard
40469 Here you can adjust the characters for the itemize levels.
40470  The itemize environment is described in section
40471 \begin_inset space ~
40472 \end_inset
40473
40474
40475 \begin_inset CommandInset ref
40476 LatexCommand ref
40477 reference "sec:Itemize"
40478
40479 \end_inset
40480
40481 .
40482 \end_layout
40483
40484 \begin_layout Section
40485 Branches
40486 \end_layout
40487
40488 \begin_layout Standard
40489 Branches are described in section
40490 \begin_inset space ~
40491 \end_inset
40492
40493
40494 \begin_inset CommandInset ref
40495 LatexCommand ref
40496 reference "sec:Branches"
40497
40498 \end_inset
40499
40500 .
40501 \end_layout
40502
40503 \begin_layout Section
40504 Output
40505 \begin_inset CommandInset label
40506 LatexCommand label
40507 name "sec:Doc-Output"
40508
40509 \end_inset
40510
40511
40512 \end_layout
40513
40514 \begin_layout Standard
40515 Here you can define some output specifics for the current document:
40516 \end_layout
40517
40518 \begin_layout Description
40519 Default
40520 \begin_inset space ~
40521 \end_inset
40522
40523 Output
40524 \begin_inset space ~
40525 \end_inset
40526
40527 Format: The format that is used when you hit 
40528 \begin_inset Quotes eld
40529 \end_inset
40530
40531 View
40532 \begin_inset Quotes erd
40533 \end_inset
40534
40535
40536 \begin_inset Quotes eld
40537 \end_inset
40538
40539 Update
40540 \begin_inset Quotes erd
40541 \end_inset
40542
40543
40544 \begin_inset Quotes eld
40545 \end_inset
40546
40547 View Master Document
40548 \begin_inset Quotes erd
40549 \end_inset
40550
40551  and 
40552 \begin_inset Quotes eld
40553 \end_inset
40554
40555 Update Master Document
40556 \begin_inset Quotes erd
40557 \end_inset
40558
40559  in the 
40560 \family sans
40561 View
40562 \family default
40563  menu or the toolbar.
40564  The default is set in 
40565 \family sans
40566 Tools\SpecialChar \menuseparator
40567 Preferences\SpecialChar \menuseparator
40568 File Formats
40569 \family default
40570 , see sec.
40571 \begin_inset space \thinspace{}
40572 \end_inset
40573
40574
40575 \begin_inset CommandInset ref
40576 LatexCommand ref
40577 reference "sec:File-Formats"
40578
40579 \end_inset
40580
40581 .
40582 \end_layout
40583
40584 \begin_layout Description
40585 Synchronize
40586 \begin_inset space ~
40587 \end_inset
40588
40589 with
40590 \begin_inset space ~
40591 \end_inset
40592
40593 Output settings for the menu 
40594 \family sans
40595 Navigate\SpecialChar \menuseparator
40596 Forward
40597 \begin_inset space ~
40598 \end_inset
40599
40600 search
40601 \family default
40602 .
40603  For a detailed description see section 
40604 \emph on
40605 Reverse DVI/PDF search
40606 \emph default
40607  of the 
40608 \emph on
40609 Additional
40610 \begin_inset space ~
40611 \end_inset
40612
40613 Features
40614 \emph default
40615  manual.
40616 \end_layout
40617
40618 \begin_layout Description
40619 XHTML
40620 \begin_inset space ~
40621 \end_inset
40622
40623 Output
40624 \begin_inset space ~
40625 \end_inset
40626
40627 Options settings for the export format 
40628 \family sans
40629 LyXHTML
40630 \family default
40631 .
40632  
40633 \family sans
40634 Strict XHTML
40635 \begin_inset space ~
40636 \end_inset
40637
40638 1.1
40639 \family default
40640  will assure that the output follows exactly version
40641 \begin_inset space ~
40642 \end_inset
40643
40644 1.1 of the XHTML standard.
40645  The different 
40646 \family sans
40647 Math
40648 \begin_inset space ~
40649 \end_inset
40650
40651 output
40652 \family default
40653  settings are described in detail in section 
40654 \emph on
40655 Math Output in XHTML
40656 \emph default
40657  of the 
40658 \emph on
40659 Additional
40660 \begin_inset space ~
40661 \end_inset
40662
40663 Features
40664 \emph default
40665  manual.
40666  The scaling is used for the size of equations in the output.
40667 \end_layout
40668
40669 \begin_layout Section
40670 LaT
40671 \begin_inset ERT
40672 status collapsed
40673
40674 \begin_layout Plain Layout
40675
40676 {}
40677 \end_layout
40678
40679 \end_inset
40680
40681 eX Preamble
40682 \end_layout
40683
40684 \begin_layout Standard
40685 In this text field you can enter commands to load special LaTeX-packages
40686  or to define LaTeX-commands.
40687  The preamble is a thing for LaTeX-experts.
40688  You should not enter commands here until you exactly know what you are
40689  doing.
40690 \end_layout
40691
40692 \begin_layout Standard
40693 An introduction to the LaTeX-syntax is given in section
40694 \begin_inset space ~
40695 \end_inset
40696
40697
40698 \begin_inset CommandInset ref
40699 LatexCommand ref
40700 reference "sub:LaTeX-Syntax"
40701
40702 \end_inset
40703
40704 .
40705 \end_layout
40706
40707 \begin_layout Chapter
40708 The 
40709 \family sans
40710 Preferences
40711 \family default
40712  Dialog
40713 \begin_inset CommandInset label
40714 LatexCommand label
40715 name "chap:The-Preferences-dialog"
40716
40717 \end_inset
40718
40719
40720 \begin_inset Index idx
40721 status collapsed
40722
40723 \begin_layout Plain Layout
40724 Preferences
40725 \end_layout
40726
40727 \end_inset
40728
40729
40730 \end_layout
40731
40732 \begin_layout Standard
40733 The preferences dialog is called with the menu 
40734 \family sans
40735 Tools\SpecialChar \menuseparator
40736 Preferences
40737 \family default
40738 .
40739  It has the following submenus.
40740 \end_layout
40741
40742 \begin_layout Section
40743 Look and Feel
40744 \end_layout
40745
40746 \begin_layout Subsection
40747 User Interface
40748 \end_layout
40749
40750 \begin_layout Subsubsection
40751 User Interface File
40752 \begin_inset Index idx
40753 status collapsed
40754
40755 \begin_layout Plain Layout
40756 Customization ! of toolbars
40757 \end_layout
40758
40759 \end_inset
40760
40761
40762 \begin_inset Index idx
40763 status collapsed
40764
40765 \begin_layout Plain Layout
40766 Customization ! of menus
40767 \end_layout
40768
40769 \end_inset
40770
40771
40772 \end_layout
40773
40774 \begin_layout Standard
40775 The appearance of the menus and toolbars can be changed by choosing a user
40776  interface (ui) file.
40777  A ui-file is a text file where the toolbars and menus are listed.
40778  The toolbar buttons and menu entries are specified in the files 
40779 \shape italic
40780 stdtoolbars.inc
40781 \shape default
40782  and 
40783 \shape italic
40784 stdmenus.inc
40785 \shape default
40786 , respectively.
40787  Both files are loaded by the 
40788 \emph on
40789 default.ui
40790 \emph default
40791  file.
40792  To create your own menu and toolbar layout, start with a copy of these
40793  files and edit the entries.
40794 \end_layout
40795
40796 \begin_layout Standard
40797 The syntax of the .inc-files is straightforward: The 
40798 \family sans
40799 Menubar
40800 \family default
40801
40802 \family sans
40803 Menu
40804 \family default
40805  and 
40806 \family sans
40807 Toolbar
40808 \family default
40809  entries must be finished with an explicit 
40810 \family sans
40811 End
40812 \family default
40813 .
40814  They may contain 
40815 \family sans
40816 Submenu
40817 \family default
40818
40819 \family sans
40820 Item
40821 \family default
40822
40823 \family sans
40824 OptItem
40825 \family default
40826
40827 \family sans
40828 Separator
40829 \family default
40830
40831 \family sans
40832 Icon,
40833 \family default
40834  and in the case of the 
40835 \begin_inset Quotes eld
40836 \end_inset
40837
40838 file_lastfiles
40839 \begin_inset Quotes erd
40840 \end_inset
40841
40842  menu a 
40843 \family sans
40844 Lastfiles
40845 \family default
40846  entry.
40847  The syntax for the entries is:
40848 \end_layout
40849
40850 \begin_layout Standard
40851 \begin_inset VSpace smallskip*
40852 \end_inset
40853
40854
40855 \series bold
40856 Item 
40857 \begin_inset Quotes eld
40858 \end_inset
40859
40860 menu 
40861 \series default
40862 or
40863 \series bold
40864  button name
40865 \begin_inset Quotes erd
40866 \end_inset
40867
40868  
40869 \begin_inset Quotes eld
40870 \end_inset
40871
40872 LyX-function
40873 \begin_inset Quotes erd
40874 \end_inset
40875
40876
40877 \end_layout
40878
40879 \begin_layout Standard
40880 \noindent
40881 \begin_inset VSpace smallskip*
40882 \end_inset
40883
40884 All LyX-functions are listed in the menu 
40885 \family sans
40886 Help\SpecialChar \menuseparator
40887 LyX
40888 \begin_inset space ~
40889 \end_inset
40890
40891 Functions
40892 \family default
40893 .
40894 \end_layout
40895
40896 \begin_layout Standard
40897 \begin_inset VSpace medskip
40898 \end_inset
40899
40900
40901 \end_layout
40902
40903 \begin_layout Standard
40904 An example: Assuming you use the menu 
40905 \family sans
40906 Navigate\SpecialChar \menuseparator
40907 Bookmarks
40908 \family default
40909  quite often and therefore want six available bookmarks, you can add the
40910  line
40911 \end_layout
40912
40913 \begin_layout Standard
40914 \begin_inset VSpace smallskip*
40915 \end_inset
40916
40917
40918 \series bold
40919 Item 
40920 \begin_inset Quotes eld
40921 \end_inset
40922
40923 Save Bookmark 6
40924 \begin_inset Quotes erd
40925 \end_inset
40926
40927  
40928 \begin_inset Quotes eld
40929 \end_inset
40930
40931 bookmark-save 6
40932 \begin_inset Quotes erd
40933 \end_inset
40934
40935
40936 \end_layout
40937
40938 \begin_layout Standard
40939 \noindent
40940 \begin_inset VSpace smallskip*
40941 \end_inset
40942
40943 to the 
40944 \begin_inset Quotes eld
40945 \end_inset
40946
40947 navigate_bookmarks
40948 \begin_inset Quotes erd
40949 \end_inset
40950
40951  menu in the .inc-file to have the sixth bookmark.
40952 \end_layout
40953
40954 \begin_layout Subsubsection
40955 Icon Set
40956 \end_layout
40957
40958 \begin_layout Standard
40959 Here you can change the appearance of LyX's toolbar buttons.
40960  The currently available icon sets are compared in 
40961 \begin_inset CommandInset href
40962 LatexCommand href
40963 name "this image"
40964 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
40965
40966 \end_inset
40967
40968 .
40969 \end_layout
40970
40971 \begin_layout Subsubsection
40972 Automatic help
40973 \end_layout
40974
40975 \begin_layout Standard
40976 The option 
40977 \family sans
40978 Enable tool tips in main work area
40979 \family default
40980  enables tool tips showing the content of closed insets like index entries
40981  or footnotes.
40982 \end_layout
40983
40984 \begin_layout Subsubsection
40985 Session
40986 \end_layout
40987
40988 \begin_layout Standard
40989 With the option 
40990 \family sans
40991 Restore window layouts and geometries
40992 \family default
40993  LyX's main window will be opened with the size and layout that was used
40994  in the last LyX session.
40995 \end_layout
40996
40997 \begin_layout Standard
40998 The option 
40999 \family sans
41000 Restore cursor positions
41001 \family default
41002  sets the cursor to the position in the file where it was at the end of
41003  the last session.
41004 \end_layout
41005
41006 \begin_layout Standard
41007 The option 
41008 \family sans
41009 Load opened files from last session
41010 \family default
41011  opens all files that were opened in the last LyX session.
41012 \end_layout
41013
41014 \begin_layout Standard
41015 The button 
41016 \family sans
41017 Clear all session information
41018 \family default
41019  deletes all information from previous LyX sessions (cursor positions, names
41020  of last opened documents, etc.).
41021 \end_layout
41022
41023 \begin_layout Subsubsection
41024 Documents
41025 \begin_inset CommandInset label
41026 LatexCommand label
41027 name "sub:Backup documents"
41028
41029 \end_inset
41030
41031
41032 \begin_inset Index idx
41033 status collapsed
41034
41035 \begin_layout Plain Layout
41036 Backup ! Documents
41037 \end_layout
41038
41039 \end_inset
41040
41041
41042 \end_layout
41043
41044 \begin_layout Standard
41045
41046 \family sans
41047 Backup original documents when saving
41048 \family default
41049  creates a backup copy of the file in the state when it was opened or when
41050  it was saved the last time.
41051  It is stored in the same folder as your document or in the 
41052 \family sans
41053 Backup
41054 \begin_inset space ~
41055 \end_inset
41056
41057 directory
41058 \family default
41059 , see 
41060 \begin_inset CommandInset ref
41061 LatexCommand ref
41062 reference "sec:Paths"
41063
41064 \end_inset
41065
41066 .
41067  The backup file has the file extension 
41068 \begin_inset Quotes eld
41069 \end_inset
41070
41071
41072 \family sans
41073 .lyx~
41074 \family default
41075
41076 \begin_inset Quotes erd
41077 \end_inset
41078
41079 .
41080 \end_layout
41081
41082 \begin_layout Standard
41083 With the option 
41084 \family sans
41085 Backup documents, every
41086 \family default
41087 , you can specify the time between backup saves.
41088 \end_layout
41089
41090 \begin_layout Standard
41091
41092 \family sans
41093 Save documents compressed by default
41094 \family default
41095  saves the files always in a compressed format.
41096 \end_layout
41097
41098 \begin_layout Standard
41099
41100 \family sans
41101 Maximum last files
41102 \family default
41103  is the number of last opened files that LyX should display in the menu
41104  
41105 \family sans
41106 File\SpecialChar \menuseparator
41107 Open
41108 \begin_inset space ~
41109 \end_inset
41110
41111 Recent
41112 \family default
41113 .
41114 \end_layout
41115
41116 \begin_layout Standard
41117 If the option 
41118 \family sans
41119 Open documents in tabs
41120 \family default
41121  is not used, then every file will be opened in its own new instance of
41122  LyX.
41123 \end_layout
41124
41125 \begin_layout Standard
41126 The option 
41127 \family sans
41128 Single instance
41129 \family default
41130  is only active if a LyXServer pipe
41131 \begin_inset Foot
41132 status collapsed
41133
41134 \begin_layout Plain Layout
41135 See sec.
41136 \begin_inset space \thinspace{}
41137 \end_inset
41138
41139
41140 \begin_inset CommandInset ref
41141 LatexCommand ref
41142 reference "sec:Paths"
41143
41144 \end_inset
41145
41146  for information about LyXServer pipes.
41147 \end_layout
41148
41149 \end_inset
41150
41151  is specified.
41152  If it is checked, LyX documents will be opened in the same running instance
41153  of LyX.
41154  Otherwise a new LyX instance is created for each file.
41155 \end_layout
41156
41157 \begin_layout Standard
41158 With the option 
41159 \family sans
41160 Single close-tab button
41161 \family default
41162  there will only be one button (
41163 \family sans
41164
41165 \begin_inset Graphics
41166         filename ../images/closetab.png
41167         scale 75
41168
41169 \end_inset
41170
41171
41172 \family default
41173 ) at the right side of the tab bar to close tabs.
41174  Otherwise every document tab has its own close button.
41175 \end_layout
41176
41177 \begin_layout Standard
41178 \begin_inset Note Greyedout
41179 status collapsed
41180
41181 \begin_layout Plain Layout
41182
41183 \series bold
41184 Note:
41185 \series default
41186  For the last option you have to restart LyX before the change takes effect.
41187 \end_layout
41188
41189 \end_inset
41190
41191
41192 \end_layout
41193
41194 \begin_layout Subsection
41195 Screen Fonts
41196 \begin_inset Index idx
41197 status collapsed
41198
41199 \begin_layout Plain Layout
41200 Font ! Screen
41201 \end_layout
41202
41203 \end_inset
41204
41205
41206 \begin_inset CommandInset label
41207 LatexCommand label
41208 name "sub:Screen-Fonts"
41209
41210 \end_inset
41211
41212
41213 \end_layout
41214
41215 \begin_layout Standard
41216 These fonts are used to display your documents on the screen.
41217 \end_layout
41218
41219 \begin_layout Standard
41220 \begin_inset Note Greyedout
41221 status collapsed
41222
41223 \begin_layout Plain Layout
41224
41225 \series bold
41226 Note:
41227 \series default
41228  This section only deals with the fonts 
41229 \emph on
41230 inside
41231 \emph default
41232  the LyX window.
41233  The fonts that appear on the output are independent from these fonts, and
41234  set in the menu 
41235 \family sans
41236 Document\SpecialChar \menuseparator
41237 Settings\SpecialChar \menuseparator
41238 Fonts
41239 \family default
41240 .
41241 \end_layout
41242
41243 \end_inset
41244
41245
41246 \end_layout
41247
41248 \begin_layout Standard
41249 By default, LyX uses 
41250 \family typewriter
41251 Times
41252 \family default
41253  as roman (serif) font, 
41254 \family typewriter
41255 Arial
41256 \family default
41257  or 
41258 \family typewriter
41259 Helvetica
41260 \family default
41261  (depends on the system) as 
41262 \family sans
41263 sans
41264 \begin_inset space ~
41265 \end_inset
41266
41267 serif
41268 \family default
41269  font and 
41270 \family typewriter
41271 Courier
41272 \family default
41273  as 
41274 \family typewriter
41275 typewriter
41276 \family default
41277  font.
41278 \end_layout
41279
41280 \begin_layout Standard
41281 You can change the font size with the 
41282 \family sans
41283 Zoom
41284 \family default
41285  setting.
41286 \end_layout
41287
41288 \begin_layout Standard
41289 The 
41290 \family sans
41291 Font Sizes
41292 \family default
41293  are calculated as letter height in units of points.
41294  72
41295 \begin_inset space \thinspace{}
41296 \end_inset
41297
41298 points have the size of 1
41299 \begin_inset space \thinspace{}
41300 \end_inset
41301
41302 inch, see Appendix
41303 \begin_inset space ~
41304 \end_inset
41305
41306
41307 \begin_inset CommandInset ref
41308 LatexCommand ref
41309 reference "chap:Units-available-in"
41310
41311 \end_inset
41312
41313 .
41314  The default font sizes are the same as if a document font size of 10
41315 \begin_inset space \thinspace{}
41316 \end_inset
41317
41318 pt were used.
41319  The sizes are explained in detail in section
41320 \begin_inset space ~
41321 \end_inset
41322
41323
41324 \begin_inset CommandInset ref
41325 LatexCommand ref
41326 reference "sub:Document-Font"
41327
41328 \end_inset
41329
41330 .
41331 \end_layout
41332
41333 \begin_layout Standard
41334 With the option 
41335 \family sans
41336 Use Pixmap Cache to speed up font rendering
41337 \family default
41338  enabled, LyX needs to redraw the screen less often.
41339  This results in better performance, especially on slow systems.
41340  On the other hand, the characters might look more fuzzy on screen.
41341  So whether you enable this or not depends on whether you prefer speed over
41342  aesthetics.
41343  Note that the Pixmap Cache is only available and useful under Mac
41344 \begin_inset space ~
41345 \end_inset
41346
41347 OS and Windows.
41348 \end_layout
41349
41350 \begin_layout Subsection
41351 Colors
41352 \begin_inset Index idx
41353 status collapsed
41354
41355 \begin_layout Plain Layout
41356 Color ! LyX screen
41357 \end_layout
41358
41359 \end_inset
41360
41361
41362 \begin_inset Index idx
41363 status collapsed
41364
41365 \begin_layout Plain Layout
41366 Settings ! Color
41367 \end_layout
41368
41369 \end_inset
41370
41371
41372 \end_layout
41373
41374 \begin_layout Standard
41375 Here you can change all the colors used by LyX.
41376  Choose an item in the list and use the 
41377 \family sans
41378 Alter
41379 \family default
41380  button.
41381 \end_layout
41382
41383 \begin_layout Standard
41384 By using the option 
41385 \family sans
41386 Use system colors
41387 \family default
41388  the color scheme of your OS or window manager is used.
41389  The colors 
41390 \family sans
41391 cursor, selection, table line, text, URL
41392 \begin_inset space ~
41393 \end_inset
41394
41395 label and URL
41396 \begin_inset space ~
41397 \end_inset
41398
41399 text
41400 \family default
41401  are then not customizable and thus not listed.
41402 \end_layout
41403
41404 \begin_layout Subsection
41405 Display
41406 \begin_inset Index idx
41407 status collapsed
41408
41409 \begin_layout Plain Layout
41410 Settings ! Display
41411 \end_layout
41412
41413 \end_inset
41414
41415
41416 \end_layout
41417
41418 \begin_layout Standard
41419 Here you can specify if graphics inside LyX are displayed.
41420 \end_layout
41421
41422 \begin_layout Standard
41423
41424 \family sans
41425 Instant Preview
41426 \family default
41427  enables previewing snippets of your document.
41428  This feature is described in section
41429 \begin_inset space ~
41430 \end_inset
41431
41432
41433 \begin_inset CommandInset ref
41434 LatexCommand ref
41435 reference "sec:Previewing-snippets-of"
41436
41437 \end_inset
41438
41439 .
41440 \end_layout
41441
41442 \begin_layout Standard
41443 The option 
41444 \family sans
41445 Mark
41446 \begin_inset space ~
41447 \end_inset
41448
41449 end
41450 \begin_inset space ~
41451 \end_inset
41452
41453 of
41454 \begin_inset space ~
41455 \end_inset
41456
41457 paragraphs
41458 \family default
41459  displays a pilcrow (¶) at the end of every paragraph.
41460 \end_layout
41461
41462 \begin_layout Section
41463 Editing
41464 \begin_inset Index idx
41465 status collapsed
41466
41467 \begin_layout Plain Layout
41468 Settings ! Editing
41469 \end_layout
41470
41471 \end_inset
41472
41473
41474 \end_layout
41475
41476 \begin_layout Subsection
41477 Control
41478 \end_layout
41479
41480 \begin_layout Subsubsection
41481 Editing
41482 \end_layout
41483
41484 \begin_layout Standard
41485 The option 
41486 \family sans
41487 Cursor follows scrollbar
41488 \family default
41489  sets the cursor to the top of the currently displayed document part when
41490  scrolling.
41491 \end_layout
41492
41493 \begin_layout Standard
41494 You can adjust the width of the cursor.
41495  If you set the value to zero the thickness of the cursor scales relative
41496  to the zoom value you choose for the screen fonts.
41497 \end_layout
41498
41499 \begin_layout Standard
41500
41501 \family sans
41502 Scroll below end of document
41503 \family default
41504  is self-explanatory.
41505 \end_layout
41506
41507 \begin_layout Standard
41508 In LyX one can jump from word to word by pressing 
41509 \family sans
41510 Ctrl+arrow key
41511 \family default
41512 .
41513  With the option
41514 \family sans
41515  Use Mac-style for cursor moving between words
41516 \family default
41517  the cursor jumps from the end of a word to the end of the next word.
41518  Normally it jumps from the beginning to the beginning.
41519 \end_layout
41520
41521 \begin_layout Standard
41522 The option 
41523 \family sans
41524 Sort environments alphabetically
41525 \family default
41526  sorts the entries in the pull-down box for the paragraph environments.
41527 \end_layout
41528
41529 \begin_layout Standard
41530 The option 
41531 \family sans
41532 Group environments by their category
41533 \family default
41534  groups the entries in the pull-down box for the paragraph environments.
41535 \end_layout
41536
41537 \begin_layout Standard
41538 The math macro editing option determines the editing style, see the section
41539  
41540 \emph on
41541 Math Macros
41542 \emph default
41543  of the 
41544 \emph on
41545 Math
41546 \emph default
41547  manual.
41548 \end_layout
41549
41550 \begin_layout Subsubsection
41551 Fullscreen
41552 \end_layout
41553
41554 \begin_layout Standard
41555 Here you can specify what is hidden in the fullscreen mode.
41556  The option 
41557 \family sans
41558 Limit text width
41559 \family default
41560  specifies the width of the text in fullscreen mode.
41561  This way you can display the text smaller than the screen; the text then
41562  appears centered.
41563 \end_layout
41564
41565 \begin_layout Subsection
41566 Shortcuts
41567 \begin_inset Index idx
41568 status collapsed
41569
41570 \begin_layout Plain Layout
41571 Key Bindings
41572 \end_layout
41573
41574 \end_inset
41575
41576
41577 \begin_inset Index idx
41578 status collapsed
41579
41580 \begin_layout Plain Layout
41581 Settings ! Shortcuts
41582 \end_layout
41583
41584 \end_inset
41585
41586
41587 \end_layout
41588
41589 \begin_layout Subsubsection
41590 Bind File
41591 \end_layout
41592
41593 \begin_layout Standard
41594 Bindings are used to bind a LyX-function to a key.
41595  Several binding files are available:
41596 \end_layout
41597
41598 \begin_layout Description
41599 cua.bind typical set of PC keyboard shortcuts
41600 \end_layout
41601
41602 \begin_layout Description
41603 (x)emacs.bind set of bindings like they are used in the editor programs 
41604 \family sans
41605 Emacs
41606 \family default
41607  (
41608 \family sans
41609 XEmacs
41610 \family default
41611 )
41612 \end_layout
41613
41614 \begin_layout Description
41615 mac.bind set of bindings for 
41616 \family sans
41617 Mac
41618 \begin_inset space \thinspace{}
41619 \end_inset
41620
41621 OS
41622 \family default
41623  systems.
41624 \end_layout
41625
41626 \begin_layout Standard
41627 There are also bind-files designed for special document classes, like 
41628 \shape italic
41629 broadway.bind
41630 \shape default
41631 , and bind files for special languages.
41632  The names of language bind-files begin with a language code, e.
41633 \begin_inset space \thinspace{}
41634 \end_inset
41635
41636 g.
41637 \begin_inset space \space{}
41638 \end_inset
41639
41640
41641 \begin_inset Quotes eld
41642 \end_inset
41643
41644 pt
41645 \begin_inset Quotes erd
41646 \end_inset
41647
41648  for Portuguese.
41649  If you use LyX in a certain language, LyX will try to use the appropriate
41650  bind-file.
41651 \end_layout
41652
41653 \begin_layout Standard
41654 Some bind-files, like 
41655 \emph on
41656 math.bind
41657 \emph default
41658 , have only a small scope.
41659  When looking at the end of the file 
41660 \shape italic
41661 cua.bind
41662 \shape default
41663 , you can see that they are included to keep the overview in the bind-file.
41664 \end_layout
41665
41666 \begin_layout Subsubsection
41667 Editing Shortcuts
41668 \begin_inset CommandInset label
41669 LatexCommand label
41670 name "sub:Editing-Shortcuts"
41671
41672 \end_inset
41673
41674
41675 \begin_inset Index idx
41676 status collapsed
41677
41678 \begin_layout Plain Layout
41679 Key Bindings ! Editing
41680 \end_layout
41681
41682 \end_inset
41683
41684
41685 \end_layout
41686
41687 \begin_layout Standard
41688 To add new or modify existing keybindings to your own taste you can use
41689  the table in the dialog that lists all LyX-functions and the bound shortcuts.
41690  To find functions easily, they are grouped by categories and the dialog
41691  provides the field 
41692 \family sans
41693 Show key-bindings containing
41694 \family default
41695 .
41696  In this field you can insert a keyword for a function you want to edit.
41697  Insert there for example as keyword 
41698 \begin_inset Quotes eld
41699 \end_inset
41700
41701 paste
41702 \begin_inset Quotes erd
41703 \end_inset
41704
41705  and you get the 4 different existing shortcuts for the 3 different functions
41706  that contain 
41707 \begin_inset Quotes eld
41708 \end_inset
41709
41710 paste
41711 \begin_inset Quotes erd
41712 \end_inset
41713
41714  in their name.
41715  As you can see, one function can have more than one shortcut.
41716  All LyX-functions are also listed in the file 
41717 \emph on
41718 LyX Functions
41719 \emph default
41720  that you will find in the 
41721 \family sans
41722 Help
41723 \family default
41724  menu.
41725 \end_layout
41726
41727 \begin_layout Standard
41728 To add e.
41729 \begin_inset space \thinspace{}
41730 \end_inset
41731
41732 g.
41733 \begin_inset space \space{}
41734 \end_inset
41735
41736 the shortcut 
41737 \family sans
41738 Alt+Q
41739 \family default
41740  for the function 
41741 \family sans
41742 textstyle-apply
41743 \family default
41744 , select the function and press the 
41745 \family sans
41746 Modify
41747 \family default
41748  button.
41749  A dialog pops up where you can add the shortcut by using it.
41750  So press Alt+Q to define the shortcut.
41751  Modifying an existing shortcut is done the same way.
41752  You can also bind multiple functions to one shortcut by modifying an existing
41753  binding and adding the different function names as a semicolon separated
41754  list.
41755  LyX will then use the first function that is enabled in the current document
41756  part.
41757  The binding for the function 
41758 \family sans
41759 command-alter
41760 \family default
41761  is an example of this.
41762 \end_layout
41763
41764 \begin_layout Standard
41765 Alternatively you can also edit shortcuts by modifying bind-files with a
41766  text editor.
41767  The syntax of the entries is:
41768 \end_layout
41769
41770 \begin_layout Standard
41771
41772 \series bold
41773
41774 \backslash
41775 bind 
41776 \begin_inset Quotes eld
41777 \end_inset
41778
41779 key combination
41780 \begin_inset Quotes erd
41781 \end_inset
41782
41783  
41784 \begin_inset Quotes eld
41785 \end_inset
41786
41787 LyX-function
41788 \begin_inset Quotes erd
41789 \end_inset
41790
41791
41792 \end_layout
41793
41794 \begin_layout Subsection
41795 Keyboard / Mouse
41796 \begin_inset CommandInset label
41797 LatexCommand label
41798 name "sub:Keyboard-Map"
41799
41800 \end_inset
41801
41802
41803 \begin_inset Index idx
41804 status collapsed
41805
41806 \begin_layout Plain Layout
41807 Keyboard Map
41808 \end_layout
41809
41810 \end_inset
41811
41812
41813 \begin_inset Index idx
41814 status collapsed
41815
41816 \begin_layout Plain Layout
41817 Settings ! Keyboard Map
41818 \end_layout
41819
41820 \end_inset
41821
41822
41823 \end_layout
41824
41825 \begin_layout Standard
41826 Normally keyboard settings have to be done in a menu of your operating system.
41827  For the case that this is not possible, LyX provides keyboard maps.
41828  If you have e.
41829 \begin_inset space \thinspace{}
41830 \end_inset
41831
41832 g.
41833 \begin_inset space \space{}
41834 \end_inset
41835
41836 a Czech keyboard but want to write with it like with a Romanian one, you
41837  can use the keyboard map file named 
41838 \emph on
41839 romanian.kmap
41840 \emph default
41841 .
41842 \end_layout
41843
41844 \begin_layout Standard
41845 \begin_inset Note Greyedout
41846 status collapsed
41847
41848 \begin_layout Plain Layout
41849
41850 \series bold
41851 Note:
41852 \series default
41853  Keyboard maps are only provided as makeshift and don't work on all systems.
41854 \end_layout
41855
41856 \end_inset
41857
41858
41859 \end_layout
41860
41861 \begin_layout Standard
41862 You can furthermore specify here the 
41863 \family sans
41864 Wheel scrolling speed
41865 \family default
41866 .
41867  The standard value is 1.0, higher values speed up the scrolling, lower ones
41868  slow it down.
41869 \end_layout
41870
41871 \begin_layout Standard
41872 In the section 
41873 \family sans
41874 Scroll wheel zoom
41875 \family default
41876  you can select a key for zooming.
41877  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
41878 \end_layout
41879
41880 \begin_layout Subsection
41881 Input Completion
41882 \end_layout
41883
41884 \begin_layout Standard
41885 Input completion is described in sec.
41886 \begin_inset space \thinspace{}
41887 \end_inset
41888
41889
41890 \begin_inset CommandInset ref
41891 LatexCommand ref
41892 reference "sec:Input-Completion"
41893
41894 \end_inset
41895
41896 .
41897 \end_layout
41898
41899 \begin_layout Section
41900 Paths
41901 \begin_inset CommandInset label
41902 LatexCommand label
41903 name "sec:Paths"
41904
41905 \end_inset
41906
41907
41908 \begin_inset Index idx
41909 status collapsed
41910
41911 \begin_layout Plain Layout
41912 Paths
41913 \end_layout
41914
41915 \end_inset
41916
41917
41918 \begin_inset Index idx
41919 status collapsed
41920
41921 \begin_layout Plain Layout
41922 Settings ! Paths
41923 \end_layout
41924
41925 \end_inset
41926
41927
41928 \end_layout
41929
41930 \begin_layout Description
41931 Working
41932 \begin_inset space ~
41933 \end_inset
41934
41935 directory This is LyX's working directory.
41936  It is the default when you 
41937 \family sans
41938 Open
41939 \family default
41940
41941 \family sans
41942 Save
41943 \family default
41944  or 
41945 \family sans
41946 Save
41947 \begin_inset space ~
41948 \end_inset
41949
41950 as
41951 \family default
41952  files.
41953 \end_layout
41954
41955 \begin_layout Description
41956 Document
41957 \begin_inset space ~
41958 \end_inset
41959
41960 templates This directory will be opened when you use the menu 
41961 \family sans
41962 File\SpecialChar \menuseparator
41963 New
41964 \begin_inset space ~
41965 \end_inset
41966
41967 from
41968 \begin_inset space ~
41969 \end_inset
41970
41971 Template
41972 \family default
41973 .
41974 \end_layout
41975
41976 \begin_layout Description
41977 Example
41978 \begin_inset space ~
41979 \end_inset
41980
41981 files This directory will be opened when you use the button 
41982 \family sans
41983 Examples
41984 \family default
41985  in the 
41986 \family sans
41987 File\SpecialChar \menuseparator
41988 Open
41989 \family default
41990  dialog.
41991 \begin_inset Newline newline
41992 \end_inset
41993
41994
41995 \begin_inset Note Greyedout
41996 status collapsed
41997
41998 \begin_layout Plain Layout
41999
42000 \series bold
42001 Note:
42002 \series default
42003  The 
42004 \family sans
42005 Examples
42006 \family default
42007  button does not exist when using LyX on Mac OS and Windows systems.
42008 \end_layout
42009
42010 \end_inset
42011
42012
42013 \end_layout
42014
42015 \begin_layout Description
42016 Backup
42017 \begin_inset space ~
42018 \end_inset
42019
42020 directory
42021 \begin_inset Index idx
42022 status collapsed
42023
42024 \begin_layout Plain Layout
42025 Backup ! Directory
42026 \end_layout
42027
42028 \end_inset
42029
42030  Backup copies will be saved to this directory.
42031  If no directory is given but backups are enabled as described in section
42032 \begin_inset space ~
42033 \end_inset
42034
42035
42036 \begin_inset CommandInset ref
42037 LatexCommand ref
42038 reference "sub:Backup documents"
42039
42040 \end_inset
42041
42042 , the 
42043 \family sans
42044 Working directory
42045 \family default
42046  will be used to save the backups.
42047 \begin_inset Newline newline
42048 \end_inset
42049
42050 Backup files have the ending 
42051 \begin_inset Quotes eld
42052 \end_inset
42053
42054 .lyx~
42055 \begin_inset Quotes erd
42056 \end_inset
42057
42058 .
42059 \end_layout
42060
42061 \begin_layout Description
42062 Ly
42063 \begin_inset ERT
42064 status collapsed
42065
42066 \begin_layout Plain Layout
42067
42068 {}
42069 \end_layout
42070
42071 \end_inset
42072
42073 XServer
42074 \begin_inset space ~
42075 \end_inset
42076
42077 pipe Here you can enter the name of a so-called UNIX-pipe.
42078  This pipe is used to send data from external programs to LyX.
42079 \begin_inset Newline newline
42080 \end_inset
42081
42082
42083 \series bold
42084 Example:
42085 \series default
42086  You add a BibTeX-database 
42087 \emph on
42088 test.bib
42089 \emph default
42090  to your document.
42091  You can edit this file with the program 
42092 \family typewriter
42093 JabRef
42094 \family default
42095 .
42096  In 
42097 \family typewriter
42098 JabRef
42099 \family default
42100  you have to use the same Unix-Pipe for LyX in its preferences under 
42101 \family sans
42102 External
42103 \begin_inset space ~
42104 \end_inset
42105
42106 programs
42107 \family default
42108 .
42109  If you want to get one entry of the database as citation, select it in
42110  
42111 \family typewriter
42112 JabRef
42113 \family default
42114  and click on the LyX-symbol.
42115  The entry will now be inserted as citation at the current cursor position
42116  in your LyX file.
42117  
42118 \family typewriter
42119 JabRef
42120 \family default
42121  and LyX need of course to be run the same time.
42122 \begin_inset Newline newline
42123 \end_inset
42124
42125 The pipe is also used for the 
42126 \family sans
42127 Single instance
42128 \family default
42129  feature, see sec.
42130 \begin_inset space \thinspace{}
42131 \end_inset
42132
42133
42134 \begin_inset CommandInset ref
42135 LatexCommand ref
42136 reference "sub:Backup documents"
42137
42138 \end_inset
42139
42140 .
42141 \begin_inset Newline newline
42142 \end_inset
42143
42144 To use the LyXServer-Pipe on Windows, you must use this pipe name:
42145 \begin_inset Newline newline
42146 \end_inset
42147
42148
42149 \series bold
42150
42151 \backslash
42152
42153 \backslash
42154 .
42155 \backslash
42156 pipe
42157 \backslash
42158 lyxpipe
42159 \end_layout
42160
42161 \begin_layout Description
42162 Temporary
42163 \begin_inset space ~
42164 \end_inset
42165
42166 directory Temporary files will be saved in this directory.
42167 \end_layout
42168
42169 \begin_layout Description
42170 Thesaurus
42171 \begin_inset space ~
42172 \end_inset
42173
42174 dictionary Directory where the thesaurus dictionaries are located.
42175  You only need to specify it if the thesaurus does otherwise not work or
42176  if you want to use custom/alternative dictionaries.
42177 \end_layout
42178
42179 \begin_layout Description
42180 Hunspell
42181 \begin_inset space ~
42182 \end_inset
42183
42184 dictionary Directory where the dictionaries of the spell checker program
42185  
42186 \family typewriter
42187 Hunspell
42188 \family default
42189  are located.
42190  You only need to specify it if you are using 
42191 \family typewriter
42192 Hunspell
42193 \family default
42194  and spell checking does otherwise not work or if you want to use custom/alterna
42195 tive dictionaries.
42196  For LyX on Windows 
42197 \family typewriter
42198 Hunspell
42199 \family default
42200  is the only available spell checker and should work without specifying
42201  a directory.
42202 \end_layout
42203
42204 \begin_layout Description
42205 PATH
42206 \begin_inset space ~
42207 \end_inset
42208
42209 prefix This field contains a list of paths to external programs.
42210  When LyX needs to use an external program, it looks in this list where
42211  to find it on the system.
42212  The path list is automatically set up on Windows and Mac systems when LyX
42213  is configured, so that you normally don't have to modify it.
42214  On Unix
42215 \begin_inset space \thinspace{}
42216 \end_inset
42217
42218 /
42219 \begin_inset space \thinspace{}
42220 \end_inset
42221
42222 Linux systems, the path list will need to be set only if there are external
42223  programs you wish to use that are not in your normal system path ($PATH).
42224 \end_layout
42225
42226 \begin_layout Description
42227 TEXINPUTS
42228 \begin_inset space ~
42229 \end_inset
42230
42231 prefix The TEXINPUTS environment variable allows to use external files which
42232  are included to a LyX document via commands in TeX code or in the document
42233  preamble.
42234  This prefix includes by default the document directory (represented by
42235  a single dot '.').
42236  The prefix can contain any list of paths separated by the default separator
42237  of the OS (':' on UNIX like systems and ';' on Windows).
42238  If files are included, the paths listed in the TEXINPUTS prefix will be
42239  scanned for the input files.
42240  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
42241  to be relative to the directory of your LyX file.
42242  It is recommended to include always '.' as one of the paths, otherwise compilati
42243 on may fail for some documents.
42244 \end_layout
42245
42246 \begin_layout Section
42247 Identity
42248 \end_layout
42249
42250 \begin_layout Standard
42251 Here you can insert your name and email address.
42252  The identity will be used when you have enabled change tracking as described
42253  in section
42254 \begin_inset space ~
42255 \end_inset
42256
42257
42258 \begin_inset CommandInset ref
42259 LatexCommand ref
42260 reference "sec:Change-Tracking"
42261
42262 \end_inset
42263
42264 , to mark changes you make as yours.
42265 \end_layout
42266
42267 \begin_layout Section
42268 Language Settings
42269 \begin_inset Index idx
42270 status collapsed
42271
42272 \begin_layout Plain Layout
42273 Language ! Settings
42274 \end_layout
42275
42276 \end_inset
42277
42278
42279 \begin_inset Index idx
42280 status collapsed
42281
42282 \begin_layout Plain Layout
42283 Settings ! Language
42284 \end_layout
42285
42286 \end_inset
42287
42288
42289 \end_layout
42290
42291 \begin_layout Subsection
42292 Language
42293 \begin_inset CommandInset label
42294 LatexCommand label
42295 name "sub:Prefs-Language"
42296
42297 \end_inset
42298
42299
42300 \end_layout
42301
42302 \begin_layout Description
42303 User
42304 \begin_inset space ~
42305 \end_inset
42306
42307 Interface
42308 \begin_inset space ~
42309 \end_inset
42310
42311 language Here you can select the language of LyX's menus.
42312  You find the actual translation status here: 
42313 \begin_inset CommandInset href
42314 LatexCommand href
42315 target "http://www.lyx.org/I18n"
42316
42317 \end_inset
42318
42319
42320 \end_layout
42321
42322 \begin_layout Description
42323 Language
42324 \begin_inset space ~
42325 \end_inset
42326
42327 package determines which LaTeX package should be loaded to handle language
42328  issues.
42329  Language issues that are handled by this package include proper hyphenation
42330  as well as localization of dates and text strings such as 
42331 \begin_inset Quotes eld
42332 \end_inset
42333
42334 Chapter
42335 \begin_inset Quotes erd
42336 \end_inset
42337
42338  and 
42339 \begin_inset Quotes eld
42340 \end_inset
42341
42342 Table
42343 \begin_inset Quotes erd
42344 \end_inset
42345
42346 .
42347  The most widespread language package is 
42348 \series bold
42349 babel
42350 \series default
42351
42352 \begin_inset Index idx
42353 status collapsed
42354
42355 \begin_layout Plain Layout
42356 LaTeX-packages ! babel
42357 \end_layout
42358
42359 \end_inset
42360
42361 , it is the default language package in classic LaTeX.
42362  More recent typesetting engines such as XeTeX and LuaTeX come with the
42363  alternative language package 
42364 \series bold
42365 polyglossia
42366 \series default
42367
42368 \begin_inset Index idx
42369 status collapsed
42370
42371 \begin_layout Plain Layout
42372 LaTeX-packages ! polyglossia
42373 \end_layout
42374
42375 \end_inset
42376
42377  that is more suited for the multi-script support of these engines.
42378  Furthermore, there are also specific language packages for languages not
42379  covered by babel.
42380  The available selections are described in sec.
42381 \begin_inset space \thinspace{}
42382 \end_inset
42383
42384
42385 \begin_inset CommandInset ref
42386 LatexCommand ref
42387 reference "sec:Language-encodings"
42388
42389 \end_inset
42390
42391 .
42392 \end_layout
42393
42394 \begin_layout Description
42395 Command
42396 \begin_inset space ~
42397 \end_inset
42398
42399 start If a special LaTeX-package is needed to write in a certain document
42400  language, you can here specify the command to start the package.
42401  An example is the start command 
42402 \family sans
42403
42404 \backslash
42405 begin{arabtext}
42406 \family default
42407  that is needed to write Arabic using the package 
42408 \series bold
42409 ArabTeX
42410 \series default
42411 , see 
42412 \begin_inset CommandInset citation
42413 LatexCommand cite
42414 key "Arabic"
42415
42416 \end_inset
42417
42418 .
42419  The default is the 
42420 \series bold
42421 babel
42422 \series default
42423  command 
42424 \family sans
42425
42426 \backslash
42427 selectlanguage{$$lang}
42428 \family default
42429 .
42430 \end_layout
42431
42432 \begin_layout Description
42433 Command
42434 \begin_inset space ~
42435 \end_inset
42436
42437 end Counterpart to 
42438 \family sans
42439 Command start
42440 \family default
42441 .
42442  Some packages, like the default, don't have an end command since the start
42443  command toggles the package on and off.
42444 \end_layout
42445
42446 \begin_layout Description
42447 Default
42448 \begin_inset space ~
42449 \end_inset
42450
42451 Decimal
42452 \begin_inset space ~
42453 \end_inset
42454
42455 Point Define the default decimal point for the use in tables (decimal point
42456  alignment).
42457 \end_layout
42458
42459 \begin_layout Description
42460 Set
42461 \begin_inset space ~
42462 \end_inset
42463
42464 languages
42465 \begin_inset space ~
42466 \end_inset
42467
42468 globally When this option is set, the languages used in the document will
42469  be added as options to the document class options, so that they can be
42470  used by all LaTeX-packages.
42471  Otherwise they will only be used as options for the 
42472 \series bold
42473 babel
42474 \series default
42475  package.
42476 \end_layout
42477
42478 \begin_layout Description
42479 Auto
42480 \begin_inset space ~
42481 \end_inset
42482
42483 begin When this option is set, documents start with the chosen document
42484  language.
42485  When this option is not set, the 
42486 \family sans
42487 Command
42488 \begin_inset space ~
42489 \end_inset
42490
42491 start
42492 \family default
42493  is explicitly set to the beginning of the document in the LaTeX-output.
42494  This assures that the correct language is used when you use another 
42495 \family sans
42496 Command
42497 \begin_inset space ~
42498 \end_inset
42499
42500 start
42501 \family default
42502  than the default.
42503 \end_layout
42504
42505 \begin_layout Description
42506 Auto
42507 \begin_inset space ~
42508 \end_inset
42509
42510 end Counterpart to 
42511 \family sans
42512 Auto
42513 \begin_inset space ~
42514 \end_inset
42515
42516 begin
42517 \family default
42518 .
42519  When it is not set, the 
42520 \family sans
42521 Command
42522 \begin_inset space ~
42523 \end_inset
42524
42525 end
42526 \family default
42527  is set to the end of the document.
42528 \end_layout
42529
42530 \begin_layout Description
42531 Mark
42532 \begin_inset space ~
42533 \end_inset
42534
42535 foreign
42536 \begin_inset space ~
42537 \end_inset
42538
42539 languages Text marked formatted in a language different from the document
42540  language will be underlined in blue.
42541 \end_layout
42542
42543 \begin_layout Description
42544 Enable
42545 \begin_inset space ~
42546 \end_inset
42547
42548 RTL
42549 \begin_inset space ~
42550 \end_inset
42551
42552 support Enables the use of languages, written from right to left (RTL),
42553  like Arabic, Hebrew, Farsi.
42554 \end_layout
42555
42556 \begin_layout Description
42557 Cursor
42558 \begin_inset space ~
42559 \end_inset
42560
42561 movement When writing RTL, you can define if the left and right arrow keys
42562  move the cursor visually to the left or right, respectively, or logically.
42563  Logical means that the cursor is moved to the left when pressing the right
42564  arrow key and the cursor is inside text in an RTL language.
42565 \end_layout
42566
42567 \begin_layout Subsection
42568 Spellchecker
42569 \end_layout
42570
42571 \begin_layout Standard
42572 The spellchecker settings are explained in section
42573 \begin_inset space ~
42574 \end_inset
42575
42576
42577 \begin_inset CommandInset ref
42578 LatexCommand ref
42579 reference "sec:Spellchecking"
42580
42581 \end_inset
42582
42583 .
42584 \end_layout
42585
42586 \begin_layout Section
42587 Outputs
42588 \end_layout
42589
42590 \begin_layout Subsection
42591 General
42592 \end_layout
42593
42594 \begin_layout Description
42595 Output
42596 \begin_inset space ~
42597 \end_inset
42598
42599 line
42600 \begin_inset space ~
42601 \end_inset
42602
42603 length sets the maximum number of characters printed in one line when using
42604  the menu 
42605 \family sans
42606 File\SpecialChar \menuseparator
42607 Export\SpecialChar \menuseparator
42608 Plain
42609 \begin_inset space ~
42610 \end_inset
42611
42612 text
42613 \family default
42614 .
42615  Setting the line length to 0 means all text is printed in one endless line.
42616 \end_layout
42617
42618 \begin_layout Description
42619 Date
42620 \begin_inset space ~
42621 \end_inset
42622
42623 format
42624 \begin_inset Index idx
42625 status collapsed
42626
42627 \begin_layout Plain Layout
42628 Date Format
42629 \end_layout
42630
42631 \end_inset
42632
42633
42634 \begin_inset Index idx
42635 status collapsed
42636
42637 \begin_layout Plain Layout
42638 Settings ! Date format
42639 \end_layout
42640
42641 \end_inset
42642
42643  The date format can be one or a mixture of the formats listed here:
42644 \begin_inset Newline newline
42645 \end_inset
42646
42647
42648 \begin_inset Flex URL
42649 status collapsed
42650
42651 \begin_layout Plain Layout
42652
42653 http://unixhelp.ed.ac.uk/CGI/man-cgi?date
42654 \end_layout
42655
42656 \end_inset
42657
42658
42659 \begin_inset Newline newline
42660 \end_inset
42661
42662 For example the format
42663 \begin_inset Newline newline
42664 \end_inset
42665
42666 %d/%m/%y
42667 \begin_inset Newline newline
42668 \end_inset
42669
42670 prints the date as day/month/year.
42671 \end_layout
42672
42673 \begin_layout Description
42674 Overwrite
42675 \begin_inset space ~
42676 \end_inset
42677
42678 on
42679 \begin_inset space ~
42680 \end_inset
42681
42682 export Setting what LyX is allowed to overwrite on export.
42683 \end_layout
42684
42685 \begin_layout Description
42686 Forward
42687 \begin_inset space ~
42688 \end_inset
42689
42690 search Commands that will be used for the menu 
42691 \family sans
42692 Navigate\SpecialChar \menuseparator
42693 Forward
42694 \begin_inset space ~
42695 \end_inset
42696
42697 search
42698 \family default
42699 .
42700  For a detailed description see section 
42701 \emph on
42702 Reverse DVI/PDF search
42703 \emph default
42704  of the 
42705 \emph on
42706 Additional
42707 \begin_inset space ~
42708 \end_inset
42709
42710 Features
42711 \emph default
42712  manual.
42713 \end_layout
42714
42715 \begin_layout Subsection
42716 Printer
42717 \begin_inset CommandInset label
42718 LatexCommand label
42719 name "sub:Printer"
42720
42721 \end_inset
42722
42723
42724 \begin_inset Index idx
42725 status collapsed
42726
42727 \begin_layout Plain Layout
42728 Printer
42729 \end_layout
42730
42731 \end_inset
42732
42733
42734 \begin_inset Index idx
42735 status collapsed
42736
42737 \begin_layout Plain Layout
42738 Settings ! Printer
42739 \end_layout
42740
42741 \end_inset
42742
42743
42744 \end_layout
42745
42746 \begin_layout Description
42747 Default
42748 \begin_inset space ~
42749 \end_inset
42750
42751 printer Here you can specify the name of your default printer.
42752  The name will be used when the 
42753 \family sans
42754 Printer command
42755 \family default
42756  is executed.
42757 \begin_inset Newline newline
42758 \end_inset
42759
42760
42761 \begin_inset Note Greyedout
42762 status collapsed
42763
42764 \begin_layout Plain Layout
42765
42766 \series bold
42767 Note:
42768 \series default
42769  You can leave this field empty on Windows systems because it has no effect.
42770 \end_layout
42771
42772 \end_inset
42773
42774
42775 \end_layout
42776
42777 \begin_layout Description
42778 Printer
42779 \begin_inset space ~
42780 \end_inset
42781
42782 command is the command LyX
42783 \begin_inset space \thinspace{}
42784 \end_inset
42785
42786 /
42787 \begin_inset space \thinspace{}
42788 \end_inset
42789
42790 LaTeX uses for printing.
42791  The default is 
42792 \family sans
42793 dvips
42794 \family default
42795  on most systems.
42796 \end_layout
42797
42798 \begin_layout Description
42799 Printer
42800 \begin_inset space ~
42801 \end_inset
42802
42803 Command
42804 \begin_inset space ~
42805 \end_inset
42806
42807 Options Here you can specify printer options.
42808  A list of printer options with explanations can be found in the documentation
42809  of the program that provides the 
42810 \family sans
42811 Printer command
42812 \family default
42813  you are using.
42814 \end_layout
42815
42816 \begin_layout Description
42817 Adapt
42818 \begin_inset space ~
42819 \end_inset
42820
42821 output
42822 \begin_inset space ~
42823 \end_inset
42824
42825 to
42826 \begin_inset space ~
42827 \end_inset
42828
42829 printer This option works only for the 
42830 \family sans
42831 Printer command
42832 \family default
42833  
42834 \begin_inset Quotes eld
42835 \end_inset
42836
42837
42838 \family sans
42839 dvips
42840 \family default
42841
42842 \begin_inset Quotes erd
42843 \end_inset
42844
42845 .
42846  It activates a configuration file for dvips.
42847  This is an option only for dvips experts.
42848 \end_layout
42849
42850 \begin_layout Subsection
42851 LaT
42852 \begin_inset ERT
42853 status collapsed
42854
42855 \begin_layout Plain Layout
42856
42857 {}
42858 \end_layout
42859
42860 \end_inset
42861
42862 eX
42863 \begin_inset CommandInset label
42864 LatexCommand label
42865 name "sub:LaTeX-settings"
42866
42867 \end_inset
42868
42869
42870 \begin_inset Index idx
42871 status collapsed
42872
42873 \begin_layout Plain Layout
42874 Settings ! LaTeX
42875 \end_layout
42876
42877 \end_inset
42878
42879
42880 \end_layout
42881
42882 \begin_layout Description
42883 Use
42884 \begin_inset space ~
42885 \end_inset
42886
42887 LaTe
42888 \begin_inset ERT
42889 status collapsed
42890
42891 \begin_layout Plain Layout
42892
42893 {}
42894 \end_layout
42895
42896 \end_inset
42897
42898 X
42899 \begin_inset space ~
42900 \end_inset
42901
42902 font
42903 \begin_inset space ~
42904 \end_inset
42905
42906 encoding This is the default encoding of the document font.
42907  
42908 \family sans
42909 T1
42910 \family default
42911  is the default and covers western languages and symbols.
42912  
42913 \family sans
42914 T2A
42915 \family default
42916
42917 \family sans
42918 T2B
42919 \family default
42920
42921 \family sans
42922 T2C
42923 \family default
42924
42925 \family sans
42926 LCY
42927 \family default
42928  and 
42929 \family sans
42930 X2
42931 \family default
42932  are used for Cyrillic.
42933  Combinations of the encodings are possible, like 
42934 \begin_inset Quotes eld
42935 \end_inset
42936
42937
42938 \family sans
42939 T1, T2B
42940 \family default
42941
42942 \begin_inset Quotes erd
42943 \end_inset
42944
42945 .
42946  The font encoding is normally automatically loaded by the language packages
42947  LyX sets up in the background.
42948  So there is no need to change the default encoding.
42949 \end_layout
42950
42951 \begin_layout Description
42952 Default
42953 \begin_inset space ~
42954 \end_inset
42955
42956 paper
42957 \begin_inset space ~
42958 \end_inset
42959
42960 size This is the paper size that is used for new documents.
42961  The 
42962 \family sans
42963 Default
42964 \family default
42965  value depends on your LaTeX-system setup.
42966 \end_layout
42967
42968 \begin_layout Description
42969 DVI
42970 \begin_inset space ~
42971 \end_inset
42972
42973 viewer
42974 \begin_inset space ~
42975 \end_inset
42976
42977 paper
42978 \begin_inset space ~
42979 \end_inset
42980
42981 size
42982 \begin_inset space ~
42983 \end_inset
42984
42985 options They only have an effect when the program 
42986 \family sans
42987 xdvi
42988 \family default
42989  is used as DVI-viewer, read its manual to find out more.
42990 \end_layout
42991
42992 \begin_layout Standard
42993 Here you can also specify options and commands with parameters for processors.
42994  But before you change something, it is strongly recommended to read the
42995  manuals of the applications.
42996 \end_layout
42997
42998 \begin_layout Description
42999 Bibliography
43000 \begin_inset space ~
43001 \end_inset
43002
43003 generation Settings for the generation of the bibliography, see section
43004 \begin_inset space ~
43005 \end_inset
43006
43007
43008 \begin_inset CommandInset ref
43009 LatexCommand ref
43010 reference "sub:Bibliography-databases"
43011
43012 \end_inset
43013
43014 .
43015 \end_layout
43016
43017 \begin_layout Description
43018 Index
43019 \begin_inset space ~
43020 \end_inset
43021
43022 generation Settings for the generation of the index, see section
43023 \begin_inset space ~
43024 \end_inset
43025
43026
43027 \begin_inset CommandInset ref
43028 LatexCommand ref
43029 reference "sub:Index-Program"
43030
43031 \end_inset
43032
43033 .
43034 \end_layout
43035
43036 \begin_layout Description
43037 Nomenclature
43038 \begin_inset space ~
43039 \end_inset
43040
43041 command Command for the program that generates the nomenclature, see section
43042 \begin_inset space ~
43043 \end_inset
43044
43045
43046 \begin_inset CommandInset ref
43047 LatexCommand ref
43048 reference "sub:Nomenclature-Program"
43049
43050 \end_inset
43051
43052 .
43053 \end_layout
43054
43055 \begin_layout Description
43056 CheckTe
43057 \begin_inset ERT
43058 status collapsed
43059
43060 \begin_layout Plain Layout
43061
43062 {}
43063 \end_layout
43064
43065 \end_inset
43066
43067 X
43068 \begin_inset space ~
43069 \end_inset
43070
43071 command Command for the program 
43072 \family sans
43073 CheckTeX
43074 \family default
43075  that is described in the section 
43076 \emph on
43077 Checking TeX
43078 \emph default
43079  of the 
43080 \emph on
43081 Additional Features
43082 \emph default
43083  manual.
43084 \end_layout
43085
43086 \begin_layout Standard
43087 There are additionally the following options:
43088 \end_layout
43089
43090 \begin_layout Description
43091 Use
43092 \begin_inset space ~
43093 \end_inset
43094
43095 Windows-style
43096 \begin_inset space ~
43097 \end_inset
43098
43099 paths
43100 \begin_inset space ~
43101 \end_inset
43102
43103 in
43104 \begin_inset space ~
43105 \end_inset
43106
43107 LaTeX
43108 \begin_inset space ~
43109 \end_inset
43110
43111 files Uses paths in the notation of Windows, that means that 
43112 \begin_inset Quotes eld
43113 \end_inset
43114
43115
43116 \backslash
43117
43118 \begin_inset Quotes erd
43119 \end_inset
43120
43121  is used instead of 
43122 \begin_inset Quotes eld
43123 \end_inset
43124
43125 /
43126 \begin_inset Quotes erd
43127 \end_inset
43128
43129  to separate folders.
43130  This option is enabled by default when you use LyX on Windows.
43131 \begin_inset Index idx
43132 status collapsed
43133
43134 \begin_layout Plain Layout
43135 Paths
43136 \end_layout
43137
43138 \end_inset
43139
43140
43141 \begin_inset Index idx
43142 status collapsed
43143
43144 \begin_layout Plain Layout
43145 Settings ! Paths
43146 \end_layout
43147
43148 \end_inset
43149
43150
43151 \end_layout
43152
43153 \begin_layout Description
43154 Reset
43155 \begin_inset space ~
43156 \end_inset
43157
43158 class
43159 \begin_inset space ~
43160 \end_inset
43161
43162 options
43163 \begin_inset space ~
43164 \end_inset
43165
43166 when
43167 \begin_inset space ~
43168 \end_inset
43169
43170 document
43171 \begin_inset space ~
43172 \end_inset
43173
43174 class
43175 \begin_inset space ~
43176 \end_inset
43177
43178 changes Removes all manually set document class options in the 
43179 \family sans
43180 Document\SpecialChar \menuseparator
43181 Settings
43182 \family default
43183  dialog when changing the document class.
43184 \end_layout
43185
43186 \begin_layout Section
43187 File
43188 \begin_inset space ~
43189 \end_inset
43190
43191 Handling
43192 \begin_inset Index idx
43193 status collapsed
43194
43195 \begin_layout Plain Layout
43196 File handling
43197 \end_layout
43198
43199 \end_inset
43200
43201
43202 \end_layout
43203
43204 \begin_layout Subsection
43205 Converters
43206 \begin_inset CommandInset label
43207 LatexCommand label
43208 name "sub:Converters"
43209
43210 \end_inset
43211
43212
43213 \begin_inset Index idx
43214 status collapsed
43215
43216 \begin_layout Plain Layout
43217 Converters
43218 \end_layout
43219
43220 \end_inset
43221
43222
43223 \end_layout
43224
43225 \begin_layout Standard
43226 Here you find the list of defined converter commands to convert material
43227  from one format to another.
43228  You can modify converters or create new ones.
43229  To modify a converter, select it, change the entry of the field 
43230 \family sans
43231 Converter
43232 \family default
43233  and/or 
43234 \family sans
43235 Extra
43236 \begin_inset space ~
43237 \end_inset
43238
43239 flag
43240 \family default
43241  and press the 
43242 \family sans
43243 Modify
43244 \family default
43245  button.
43246  To create a new converter, select an existing one, select a different format
43247  in the 
43248 \family sans
43249 To
43250 \begin_inset space ~
43251 \end_inset
43252
43253 format
43254 \family default
43255  drop-down list, modify the 
43256 \family sans
43257 Converter
43258 \family default
43259  field and press the 
43260 \family sans
43261 Add
43262 \family default
43263  button.
43264 \end_layout
43265
43266 \begin_layout Standard
43267 If the 
43268 \family sans
43269 Converter File Cache
43270 \family default
43271  is enabled, conversions will be cached as long as specified in the field
43272  
43273 \family sans
43274 Maximum Age (in days
43275 \family default
43276 ).
43277  This means that images don't need to be converted again when you reopen
43278  a document; the converted images from the cache will be used instead.
43279 \end_layout
43280
43281 \begin_layout Standard
43282 More about converters, like the flags that can be used in the converter
43283  definition, is described in the section 
43284 \emph on
43285 Converters
43286 \emph default
43287  of the 
43288 \emph on
43289 Customization
43290 \emph default
43291  manual.
43292 \end_layout
43293
43294 \begin_layout Subsection
43295 File Formats
43296 \begin_inset CommandInset label
43297 LatexCommand label
43298 name "sec:File-Formats"
43299
43300 \end_inset
43301
43302
43303 \begin_inset Index idx
43304 status collapsed
43305
43306 \begin_layout Plain Layout
43307 File formats
43308 \end_layout
43309
43310 \end_inset
43311
43312
43313 \begin_inset Index idx
43314 status collapsed
43315
43316 \begin_layout Plain Layout
43317 Copiers
43318 \end_layout
43319
43320 \end_inset
43321
43322
43323 \end_layout
43324
43325 \begin_layout Standard
43326 Here you find the list of defined file formats that LyX can handle.
43327  You can modify the viewer and editor program that should be used for certain
43328  formats.
43329 \end_layout
43330
43331 \begin_layout Standard
43332 Furthermore, you can define the 
43333 \family sans
43334 Default output format
43335 \family default
43336  that is used when you use 
43337 \family sans
43338 View, Update, View Master Document
43339 \family default
43340  or 
43341 \family sans
43342 Update Master Document
43343 \family default
43344  in the 
43345 \family sans
43346 View
43347 \family default
43348  menu or the toolbar.
43349 \end_layout
43350
43351 \begin_layout Standard
43352 More about formats and their options is described in the section 
43353 \emph on
43354 Formats
43355 \emph default
43356  of the 
43357 \emph on
43358 Customization
43359 \emph default
43360  manual.
43361 \end_layout
43362
43363 \begin_layout Standard
43364 Since all conversions from one format to another take place in LyX's temporary
43365  directory, it is sometimes necessary to modify a file before copying it
43366  to the temporary directory so that the conversion may be performed.
43367  This is done by specifying a 
43368 \family sans
43369 Copier
43370 \family default
43371 .
43372  More about this is described in the section 
43373 \emph on
43374 Copiers
43375 \emph default
43376  of the 
43377 \emph on
43378 Customization
43379 \emph default
43380  manual.
43381 \end_layout
43382
43383 \begin_layout Chapter
43384 Units available in LyX
43385 \begin_inset Index idx
43386 status collapsed
43387
43388 \begin_layout Plain Layout
43389 Units
43390 \end_layout
43391
43392 \end_inset
43393
43394
43395 \begin_inset CommandInset label
43396 LatexCommand label
43397 name "chap:Units-available-in"
43398
43399 \end_inset
43400
43401
43402 \end_layout
43403
43404 \begin_layout Standard
43405 To understand the units described in this documentation, 
43406 \begin_inset CommandInset ref
43407 LatexCommand ref
43408 reference "tab:Units"
43409
43410 \end_inset
43411
43412  explains all units available in LyX.
43413 \end_layout
43414
43415 \begin_layout Standard
43416 \begin_inset Float table
43417 placement h
43418 wide false
43419 sideways false
43420 status collapsed
43421
43422 \begin_layout Plain Layout
43423 \begin_inset Caption Standard
43424
43425 \begin_layout Plain Layout
43426 \begin_inset CommandInset label
43427 LatexCommand label
43428 name "tab:Units"
43429
43430 \end_inset
43431
43432 Units
43433 \end_layout
43434
43435 \end_inset
43436
43437
43438 \end_layout
43439
43440 \begin_layout Plain Layout
43441 \begin_inset VSpace medskip
43442 \end_inset
43443
43444
43445 \end_layout
43446
43447 \begin_layout Plain Layout
43448 \align center
43449 \begin_inset Tabular
43450 <lyxtabular version="3" rows="20" columns="2">
43451 <features rotate="0" tabularvalignment="middle">
43452 <column alignment="center" valignment="top" width="0">
43453 <column alignment="center" valignment="top" width="0">
43454 <row>
43455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43456 \begin_inset Text
43457
43458 \begin_layout Plain Layout
43459 unit
43460 \end_layout
43461
43462 \end_inset
43463 </cell>
43464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43465 \begin_inset Text
43466
43467 \begin_layout Plain Layout
43468 name/description
43469 \end_layout
43470
43471 \end_inset
43472 </cell>
43473 </row>
43474 <row>
43475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43476 \begin_inset Text
43477
43478 \begin_layout Plain Layout
43479 mm
43480 \end_layout
43481
43482 \end_inset
43483 </cell>
43484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43485 \begin_inset Text
43486
43487 \begin_layout Plain Layout
43488 millimeter
43489 \end_layout
43490
43491 \end_inset
43492 </cell>
43493 </row>
43494 <row>
43495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43496 \begin_inset Text
43497
43498 \begin_layout Plain Layout
43499 cm
43500 \end_layout
43501
43502 \end_inset
43503 </cell>
43504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43505 \begin_inset Text
43506
43507 \begin_layout Plain Layout
43508 centimeter
43509 \end_layout
43510
43511 \end_inset
43512 </cell>
43513 </row>
43514 <row>
43515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43516 \begin_inset Text
43517
43518 \begin_layout Plain Layout
43519 in
43520 \end_layout
43521
43522 \end_inset
43523 </cell>
43524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43525 \begin_inset Text
43526
43527 \begin_layout Plain Layout
43528 inch
43529 \end_layout
43530
43531 \end_inset
43532 </cell>
43533 </row>
43534 <row>
43535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43536 \begin_inset Text
43537
43538 \begin_layout Plain Layout
43539 pt
43540 \end_layout
43541
43542 \end_inset
43543 </cell>
43544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43545 \begin_inset Text
43546
43547 \begin_layout Plain Layout
43548 point (72.27
43549 \begin_inset space \thinspace{}
43550 \end_inset
43551
43552 pt = 1
43553 \begin_inset space \thinspace{}
43554 \end_inset
43555
43556 in)
43557 \end_layout
43558
43559 \end_inset
43560 </cell>
43561 </row>
43562 <row>
43563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43564 \begin_inset Text
43565
43566 \begin_layout Plain Layout
43567 pc
43568 \end_layout
43569
43570 \end_inset
43571 </cell>
43572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43573 \begin_inset Text
43574
43575 \begin_layout Plain Layout
43576 pica (1
43577 \begin_inset space \thinspace{}
43578 \end_inset
43579
43580 pc = 12
43581 \begin_inset space \thinspace{}
43582 \end_inset
43583
43584 pt)
43585 \end_layout
43586
43587 \end_inset
43588 </cell>
43589 </row>
43590 <row>
43591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43592 \begin_inset Text
43593
43594 \begin_layout Plain Layout
43595 sp
43596 \end_layout
43597
43598 \end_inset
43599 </cell>
43600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43601 \begin_inset Text
43602
43603 \begin_layout Plain Layout
43604 scaled point (65536
43605 \begin_inset space \thinspace{}
43606 \end_inset
43607
43608 sp = 1
43609 \begin_inset space \thinspace{}
43610 \end_inset
43611
43612 pt)
43613 \end_layout
43614
43615 \end_inset
43616 </cell>
43617 </row>
43618 <row>
43619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43620 \begin_inset Text
43621
43622 \begin_layout Plain Layout
43623 bp
43624 \end_layout
43625
43626 \end_inset
43627 </cell>
43628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43629 \begin_inset Text
43630
43631 \begin_layout Plain Layout
43632 big point (72
43633 \begin_inset space \thinspace{}
43634 \end_inset
43635
43636 bp = 1
43637 \begin_inset space \thinspace{}
43638 \end_inset
43639
43640 in)
43641 \end_layout
43642
43643 \end_inset
43644 </cell>
43645 </row>
43646 <row>
43647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43648 \begin_inset Text
43649
43650 \begin_layout Plain Layout
43651 dd
43652 \end_layout
43653
43654 \end_inset
43655 </cell>
43656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43657 \begin_inset Text
43658
43659 \begin_layout Plain Layout
43660 didot (72
43661 \begin_inset space \thinspace{}
43662 \end_inset
43663
43664 dd 
43665 \begin_inset Formula $\approx$
43666 \end_inset
43667
43668  37.6
43669 \begin_inset space \thinspace{}
43670 \end_inset
43671
43672 mm)
43673 \end_layout
43674
43675 \end_inset
43676 </cell>
43677 </row>
43678 <row>
43679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43680 \begin_inset Text
43681
43682 \begin_layout Plain Layout
43683 cc
43684 \end_layout
43685
43686 \end_inset
43687 </cell>
43688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43689 \begin_inset Text
43690
43691 \begin_layout Plain Layout
43692 cicero (1
43693 \begin_inset space \thinspace{}
43694 \end_inset
43695
43696 cc = 12
43697 \begin_inset space \thinspace{}
43698 \end_inset
43699
43700 dd)
43701 \end_layout
43702
43703 \end_inset
43704 </cell>
43705 </row>
43706 <row>
43707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43708 \begin_inset Text
43709
43710 \begin_layout Plain Layout
43711 Scale%
43712 \end_layout
43713
43714 \end_inset
43715 </cell>
43716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43717 \begin_inset Text
43718
43719 \begin_layout Plain Layout
43720 % of original image width
43721 \end_layout
43722
43723 \end_inset
43724 </cell>
43725 </row>
43726 <row>
43727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43728 \begin_inset Text
43729
43730 \begin_layout Plain Layout
43731 text%
43732 \end_layout
43733
43734 \end_inset
43735 </cell>
43736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43737 \begin_inset Text
43738
43739 \begin_layout Plain Layout
43740 % of text width
43741 \end_layout
43742
43743 \end_inset
43744 </cell>
43745 </row>
43746 <row>
43747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43748 \begin_inset Text
43749
43750 \begin_layout Plain Layout
43751 col%
43752 \end_layout
43753
43754 \end_inset
43755 </cell>
43756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43757 \begin_inset Text
43758
43759 \begin_layout Plain Layout
43760 % of column width
43761 \end_layout
43762
43763 \end_inset
43764 </cell>
43765 </row>
43766 <row>
43767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43768 \begin_inset Text
43769
43770 \begin_layout Plain Layout
43771 page%
43772 \end_layout
43773
43774 \end_inset
43775 </cell>
43776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43777 \begin_inset Text
43778
43779 \begin_layout Plain Layout
43780 % of paper width
43781 \end_layout
43782
43783 \end_inset
43784 </cell>
43785 </row>
43786 <row>
43787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43788 \begin_inset Text
43789
43790 \begin_layout Plain Layout
43791 line%
43792 \end_layout
43793
43794 \end_inset
43795 </cell>
43796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43797 \begin_inset Text
43798
43799 \begin_layout Plain Layout
43800 % of line width
43801 \end_layout
43802
43803 \end_inset
43804 </cell>
43805 </row>
43806 <row>
43807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43808 \begin_inset Text
43809
43810 \begin_layout Plain Layout
43811 theight%
43812 \end_layout
43813
43814 \end_inset
43815 </cell>
43816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43817 \begin_inset Text
43818
43819 \begin_layout Plain Layout
43820 % of text height
43821 \end_layout
43822
43823 \end_inset
43824 </cell>
43825 </row>
43826 <row>
43827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43828 \begin_inset Text
43829
43830 \begin_layout Plain Layout
43831 pheight%
43832 \end_layout
43833
43834 \end_inset
43835 </cell>
43836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43837 \begin_inset Text
43838
43839 \begin_layout Plain Layout
43840 % of paper height
43841 \end_layout
43842
43843 \end_inset
43844 </cell>
43845 </row>
43846 <row>
43847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43848 \begin_inset Text
43849
43850 \begin_layout Plain Layout
43851 ex
43852 \end_layout
43853
43854 \end_inset
43855 </cell>
43856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43857 \begin_inset Text
43858
43859 \begin_layout Plain Layout
43860 height of letter 
43861 \emph on
43862 x
43863 \emph default
43864  in current font
43865 \end_layout
43866
43867 \end_inset
43868 </cell>
43869 </row>
43870 <row>
43871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43872 \begin_inset Text
43873
43874 \begin_layout Plain Layout
43875 em
43876 \end_layout
43877
43878 \end_inset
43879 </cell>
43880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43881 \begin_inset Text
43882
43883 \begin_layout Plain Layout
43884 width of letter 
43885 \emph on
43886 M
43887 \emph default
43888  in current font
43889 \end_layout
43890
43891 \end_inset
43892 </cell>
43893 </row>
43894 <row>
43895 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43896 \begin_inset Text
43897
43898 \begin_layout Plain Layout
43899 mu
43900 \end_layout
43901
43902 \end_inset
43903 </cell>
43904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43905 \begin_inset Text
43906
43907 \begin_layout Plain Layout
43908 math unit (1
43909 \begin_inset space \thinspace{}
43910 \end_inset
43911
43912 mu = 1/18
43913 \begin_inset space \thinspace{}
43914 \end_inset
43915
43916 em)
43917 \end_layout
43918
43919 \end_inset
43920 </cell>
43921 </row>
43922 </lyxtabular>
43923
43924 \end_inset
43925
43926
43927 \end_layout
43928
43929 \end_inset
43930
43931
43932 \end_layout
43933
43934 \begin_layout Chapter
43935 Credits
43936 \begin_inset CommandInset label
43937 LatexCommand label
43938 name "chap:Credits"
43939
43940 \end_inset
43941
43942
43943 \end_layout
43944
43945 \begin_layout Standard
43946 The documentation is a collaborative effort between many different people
43947  (and we would encourage people to contribute!).
43948 \end_layout
43949
43950 \begin_layout Itemize
43951
43952 \noun on
43953 Alejandro Aguilar Sierra
43954 \end_layout
43955
43956 \begin_layout Itemize
43957
43958 \noun on
43959 Amir Karger
43960 \end_layout
43961
43962 \begin_layout Itemize
43963
43964 \noun on
43965 David Johnson
43966 \end_layout
43967
43968 \begin_layout Itemize
43969
43970 \noun on
43971 Hartmut Haase
43972 \end_layout
43973
43974 \begin_layout Itemize
43975
43976 \noun on
43977 Ignacio García
43978 \end_layout
43979
43980 \begin_layout Itemize
43981
43982 \noun on
43983 Ivan Schreter
43984 \end_layout
43985
43986 \begin_layout Itemize
43987
43988 \noun on
43989 John Raithel
43990 \end_layout
43991
43992 \begin_layout Itemize
43993
43994 \noun on
43995 John Weiss
43996 \end_layout
43997
43998 \begin_layout Itemize
43999
44000 \noun on
44001 Lars Gullik Bjønnes
44002 \end_layout
44003
44004 \begin_layout Itemize
44005
44006 \noun on
44007 Matthias Ettrich
44008 \end_layout
44009
44010 \begin_layout Itemize
44011
44012 \noun on
44013 Matthias Zenker
44014 \end_layout
44015
44016 \begin_layout Itemize
44017
44018 \noun on
44019 Rich Fields
44020 \end_layout
44021
44022 \begin_layout Itemize
44023
44024 \noun on
44025 Pascal André
44026 \end_layout
44027
44028 \begin_layout Itemize
44029
44030 \noun on
44031 Paul Evans
44032 \end_layout
44033
44034 \begin_layout Itemize
44035
44036 \noun on
44037 Paul Russel
44038 \end_layout
44039
44040 \begin_layout Itemize
44041
44042 \noun on
44043 Robin Socha
44044 \end_layout
44045
44046 \begin_layout Itemize
44047
44048 \noun on
44049 Uwe Stöhr
44050 \end_layout
44051
44052 \begin_layout Itemize
44053 The LyX Team: 
44054 \begin_inset CommandInset citation
44055 LatexCommand cite
44056 key "lyxcredit"
44057
44058 \end_inset
44059
44060
44061 \end_layout
44062
44063 \begin_layout Standard
44064 \begin_inset Newpage newpage
44065 \end_inset
44066
44067 The bibliography on the following page was created with the 
44068 \family sans
44069 Bibliography
44070 \family default
44071  environment.
44072 \end_layout
44073
44074 \begin_layout Bibliography
44075 \begin_inset CommandInset bibitem
44076 LatexCommand bibitem
44077 label "Credits"
44078 key "lyxcredit"
44079
44080 \end_inset
44081
44082 The LyX Team: 
44083 \begin_inset CommandInset href
44084 LatexCommand href
44085 name "Credits"
44086 target "http://www.lyx.org/Credits"
44087
44088 \end_inset
44089
44090 :
44091 \begin_inset Newline newline
44092 \end_inset
44093
44094
44095 \begin_inset Flex URL
44096 status collapsed
44097
44098 \begin_layout Plain Layout
44099
44100 http://www.lyx.org/Credits
44101 \end_layout
44102
44103 \end_inset
44104
44105
44106 \end_layout
44107
44108 \begin_layout Bibliography
44109 \begin_inset CommandInset bibitem
44110 LatexCommand bibitem
44111 key "latexcompanion"
44112
44113 \end_inset
44114
44115 Frank Mittelbach and Michel Goossens: 
44116 \emph on
44117 The LaTeX Companion Second Edition.
44118
44119 \emph default
44120  Addison-Wesley, 2004
44121 \end_layout
44122
44123 \begin_layout Bibliography
44124 \begin_inset CommandInset bibitem
44125 LatexCommand bibitem
44126 key "latexguide"
44127
44128 \end_inset
44129
44130 Helmut Kopka and Patrick W.
44131  Daly: 
44132 \emph on
44133 A Guide to LaTeX Fourth Edition.
44134
44135 \emph default
44136  Addison-Wesley, 2003
44137 \end_layout
44138
44139 \begin_layout Bibliography
44140 \begin_inset CommandInset bibitem
44141 LatexCommand bibitem
44142 key "latexbook"
44143
44144 \end_inset
44145
44146 Leslie Lamport: 
44147 \emph on
44148 LaTeX: A Document Preparation System.
44149
44150 \emph default
44151  Addison-Wesley, second edition, 1994
44152 \end_layout
44153
44154 \begin_layout Bibliography
44155 \begin_inset CommandInset bibitem
44156 LatexCommand bibitem
44157 key "texbook"
44158
44159 \end_inset
44160
44161 Donald E.
44162  Knuth.
44163  
44164 \emph on
44165 The TeXbook.
44166
44167 \emph default
44168  Addison-Wesley, 1984
44169 \end_layout
44170
44171 \begin_layout Bibliography
44172 \begin_inset CommandInset bibitem
44173 LatexCommand bibitem
44174 key "TeXCatalogue"
44175
44176 \end_inset
44177
44178 The TeX Catalogue:
44179 \begin_inset Newline newline
44180 \end_inset
44181
44182
44183 \begin_inset Flex URL
44184 status collapsed
44185
44186 \begin_layout Plain Layout
44187
44188 http://www.ctan.org/tex-archive/help/Catalogue/bytopic.html
44189 \end_layout
44190
44191 \end_inset
44192
44193
44194 \end_layout
44195
44196 \begin_layout Bibliography
44197 \begin_inset CommandInset bibitem
44198 LatexCommand bibitem
44199 key "LaTeXFAQ"
44200
44201 \end_inset
44202
44203 The LaTeX FAQ:
44204 \begin_inset Newline newline
44205 \end_inset
44206
44207
44208 \begin_inset Flex URL
44209 status collapsed
44210
44211 \begin_layout Plain Layout
44212
44213 http://www.tex.ac.uk/cgi-bin/texfaq2html
44214 \end_layout
44215
44216 \end_inset
44217
44218
44219 \end_layout
44220
44221 \begin_layout Bibliography
44222 \begin_inset CommandInset bibitem
44223 LatexCommand bibitem
44224 key "BibTeX"
44225
44226 \end_inset
44227
44228
44229 \begin_inset CommandInset href
44230 LatexCommand href
44231 name "Documentation"
44232 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
44233
44234 \end_inset
44235
44236  of the program 
44237 \family sans
44238 BibTeX
44239 \family default
44240 :
44241 \begin_inset Newline newline
44242 \end_inset
44243
44244
44245 \begin_inset Flex URL
44246 status collapsed
44247
44248 \begin_layout Plain Layout
44249
44250 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
44251 \end_layout
44252
44253 \end_inset
44254
44255
44256 \end_layout
44257
44258 \begin_layout Bibliography
44259 \begin_inset CommandInset bibitem
44260 LatexCommand bibitem
44261 key "BibTeX-2"
44262
44263 \end_inset
44264
44265
44266 \begin_inset CommandInset href
44267 LatexCommand href
44268 name "Documentation"
44269 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
44270
44271 \end_inset
44272
44273  how to use the program 
44274 \family sans
44275 BibTeX
44276 \family default
44277 :
44278 \begin_inset Newline newline
44279 \end_inset
44280
44281
44282 \begin_inset Flex URL
44283 status collapsed
44284
44285 \begin_layout Plain Layout
44286
44287 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
44288 \end_layout
44289
44290 \end_inset
44291
44292
44293 \end_layout
44294
44295 \begin_layout Bibliography
44296 \begin_inset CommandInset bibitem
44297 LatexCommand bibitem
44298 key "makeindex"
44299
44300 \end_inset
44301
44302
44303 \begin_inset CommandInset href
44304 LatexCommand href
44305 name "Documentation"
44306 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
44307
44308 \end_inset
44309
44310  of the program 
44311 \family sans
44312 makeindex
44313 \family default
44314 :
44315 \begin_inset Newline newline
44316 \end_inset
44317
44318
44319 \begin_inset Flex URL
44320 status collapsed
44321
44322 \begin_layout Plain Layout
44323
44324 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
44325 \end_layout
44326
44327 \end_inset
44328
44329
44330 \end_layout
44331
44332 \begin_layout Bibliography
44333 \begin_inset CommandInset bibitem
44334 LatexCommand bibitem
44335 key "xindy"
44336
44337 \end_inset
44338
44339
44340 \begin_inset CommandInset href
44341 LatexCommand href
44342 name "Documentation"
44343 target "http://www.xindy.org/documentation.html"
44344
44345 \end_inset
44346
44347  of the program 
44348 \family sans
44349 xindy
44350 \family default
44351 :
44352 \begin_inset Newline newline
44353 \end_inset
44354
44355
44356 \begin_inset Flex URL
44357 status collapsed
44358
44359 \begin_layout Plain Layout
44360
44361 http://www.xindy.org/documentation.html
44362 \end_layout
44363
44364 \end_inset
44365
44366
44367 \end_layout
44368
44369 \begin_layout Bibliography
44370 \begin_inset CommandInset bibitem
44371 LatexCommand bibitem
44372 key "caption"
44373
44374 \end_inset
44375
44376
44377 \begin_inset CommandInset href
44378 LatexCommand href
44379 name "Documentation"
44380 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
44381
44382 \end_inset
44383
44384  of the LaTeX-package 
44385 \series bold
44386 caption
44387 \series default
44388
44389 \begin_inset Index idx
44390 status collapsed
44391
44392 \begin_layout Plain Layout
44393 LaTeX-packages ! caption
44394 \end_layout
44395
44396 \end_inset
44397
44398 :
44399 \begin_inset Newline newline
44400 \end_inset
44401
44402
44403 \begin_inset Flex URL
44404 status collapsed
44405
44406 \begin_layout Plain Layout
44407
44408 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf
44409 \end_layout
44410
44411 \end_inset
44412
44413
44414 \end_layout
44415
44416 \begin_layout Bibliography
44417 \begin_inset CommandInset bibitem
44418 LatexCommand bibitem
44419 key "enumitem"
44420
44421 \end_inset
44422
44423
44424 \begin_inset CommandInset href
44425 LatexCommand href
44426 name "Documentation"
44427 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
44428
44429 \end_inset
44430
44431  of the LaTeX-package 
44432 \series bold
44433 enumitem
44434 \series default
44435
44436 \begin_inset Index idx
44437 status collapsed
44438
44439 \begin_layout Plain Layout
44440 LaTeX-packages ! enumitem
44441 \end_layout
44442
44443 \end_inset
44444
44445 :
44446 \begin_inset Newline newline
44447 \end_inset
44448
44449
44450 \begin_inset Flex URL
44451 status collapsed
44452
44453 \begin_layout Plain Layout
44454
44455 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
44456 \end_layout
44457
44458 \end_inset
44459
44460
44461 \end_layout
44462
44463 \begin_layout Bibliography
44464 \begin_inset CommandInset bibitem
44465 LatexCommand bibitem
44466 key "fancyhdr"
44467
44468 \end_inset
44469
44470
44471 \begin_inset CommandInset href
44472 LatexCommand href
44473 name "Documentation"
44474 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
44475
44476 \end_inset
44477
44478  of the LaTeX-package 
44479 \series bold
44480 fancyhdr
44481 \series default
44482
44483 \begin_inset Index idx
44484 status collapsed
44485
44486 \begin_layout Plain Layout
44487 LaTeX-packages ! fancyhdr
44488 \end_layout
44489
44490 \end_inset
44491
44492 :
44493 \begin_inset Newline newline
44494 \end_inset
44495
44496
44497 \begin_inset Flex URL
44498 status collapsed
44499
44500 \begin_layout Plain Layout
44501
44502 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf
44503 \end_layout
44504
44505 \end_inset
44506
44507
44508 \end_layout
44509
44510 \begin_layout Bibliography
44511 \begin_inset CommandInset bibitem
44512 LatexCommand bibitem
44513 key "hyperref"
44514
44515 \end_inset
44516
44517
44518 \begin_inset CommandInset href
44519 LatexCommand href
44520 name "Documentation"
44521 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
44522
44523 \end_inset
44524
44525  of the LaTeX-package 
44526 \series bold
44527 hyperref
44528 \series default
44529
44530 \begin_inset Index idx
44531 status collapsed
44532
44533 \begin_layout Plain Layout
44534 LaTeX-packages ! hyperref
44535 \end_layout
44536
44537 \end_inset
44538
44539 :
44540 \begin_inset Newline newline
44541 \end_inset
44542
44543
44544 \begin_inset Flex URL
44545 status collapsed
44546
44547 \begin_layout Plain Layout
44548
44549 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf
44550 \end_layout
44551
44552 \end_inset
44553
44554
44555 \end_layout
44556
44557 \begin_layout Bibliography
44558 \begin_inset CommandInset bibitem
44559 LatexCommand bibitem
44560 key "nomencl"
44561
44562 \end_inset
44563
44564
44565 \begin_inset CommandInset href
44566 LatexCommand href
44567 name "Documentation"
44568 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf"
44569
44570 \end_inset
44571
44572  of the LaTeX-package 
44573 \series bold
44574 nomencl
44575 \series default
44576
44577 \begin_inset Index idx
44578 status collapsed
44579
44580 \begin_layout Plain Layout
44581 LaTeX-packages ! nomencl
44582 \end_layout
44583
44584 \end_inset
44585
44586 :
44587 \begin_inset Newline newline
44588 \end_inset
44589
44590
44591 \begin_inset Flex URL
44592 status collapsed
44593
44594 \begin_layout Plain Layout
44595
44596 ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/nomencl/nomencl.pdf
44597 \end_layout
44598
44599 \end_inset
44600
44601
44602 \end_layout
44603
44604 \begin_layout Bibliography
44605 \begin_inset CommandInset bibitem
44606 LatexCommand bibitem
44607 key "prettyref"
44608
44609 \end_inset
44610
44611
44612 \begin_inset CommandInset href
44613 LatexCommand href
44614 name "Documentation"
44615 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
44616
44617 \end_inset
44618
44619  of the LaTeX-package 
44620 \series bold
44621 prettyref
44622 \series default
44623
44624 \begin_inset Index idx
44625 status collapsed
44626
44627 \begin_layout Plain Layout
44628 LaTeX-packages ! prettyref
44629 \end_layout
44630
44631 \end_inset
44632
44633 :
44634 \begin_inset Newline newline
44635 \end_inset
44636
44637
44638 \begin_inset Flex URL
44639 status collapsed
44640
44641 \begin_layout Plain Layout
44642
44643 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
44644 \end_layout
44645
44646 \end_inset
44647
44648
44649 \end_layout
44650
44651 \begin_layout Bibliography
44652 \begin_inset CommandInset bibitem
44653 LatexCommand bibitem
44654 key "refstyle"
44655
44656 \end_inset
44657
44658
44659 \begin_inset CommandInset href
44660 LatexCommand href
44661 name "Documentation"
44662 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
44663
44664 \end_inset
44665
44666  of the LaTeX-package 
44667 \series bold
44668 refstyle
44669 \series default
44670
44671 \begin_inset Index idx
44672 status collapsed
44673
44674 \begin_layout Plain Layout
44675 LaTeX-packages ! refstyle
44676 \end_layout
44677
44678 \end_inset
44679
44680 :
44681 \begin_inset Newline newline
44682 \end_inset
44683
44684
44685 \begin_inset Flex URL
44686 status collapsed
44687
44688 \begin_layout Plain Layout
44689
44690 http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf
44691 \end_layout
44692
44693 \end_inset
44694
44695
44696 \end_layout
44697
44698 \begin_layout Bibliography
44699 \begin_inset CommandInset bibitem
44700 LatexCommand bibitem
44701 key "tipa"
44702
44703 \end_inset
44704
44705
44706 \begin_inset CommandInset href
44707 LatexCommand href
44708 name "Documentation"
44709 target "http://www.ctan.org/tex-archive/fonts/tipa/tipaman.pdf"
44710
44711 \end_inset
44712
44713  of the LaTeX-package 
44714 \series bold
44715 tipa
44716 \series default
44717
44718 \begin_inset Index idx
44719 status collapsed
44720
44721 \begin_layout Plain Layout
44722 LaTeX-packages ! tipa
44723 \end_layout
44724
44725 \end_inset
44726
44727 :
44728 \begin_inset Newline newline
44729 \end_inset
44730
44731
44732 \begin_inset Flex URL
44733 status collapsed
44734
44735 \begin_layout Plain Layout
44736
44737 http://www.ctan.org/tex-archive/fonts/tipa/tipaman.pdf
44738 \end_layout
44739
44740 \end_inset
44741
44742
44743 \end_layout
44744
44745 \begin_layout Bibliography
44746 \begin_inset CommandInset bibitem
44747 LatexCommand bibitem
44748 key "Arabic"
44749
44750 \end_inset
44751
44752
44753 \begin_inset CommandInset href
44754 LatexCommand href
44755 name "Wiki-page"
44756 target "http://wiki.lyx.org/Windows/Arabic"
44757
44758 \end_inset
44759
44760  how to set up LyX for Arabic:
44761 \begin_inset Newline newline
44762 \end_inset
44763
44764
44765 \begin_inset Flex URL
44766 status collapsed
44767
44768 \begin_layout Plain Layout
44769
44770 http://wiki.lyx.org/Windows/Arabic
44771 \end_layout
44772
44773 \end_inset
44774
44775
44776 \end_layout
44777
44778 \begin_layout Bibliography
44779 \begin_inset CommandInset bibitem
44780 LatexCommand bibitem
44781 key "Armenian"
44782
44783 \end_inset
44784
44785
44786 \begin_inset CommandInset href
44787 LatexCommand href
44788 name "Wiki-page"
44789 target "http://wiki.lyx.org/Windows/Armenian"
44790
44791 \end_inset
44792
44793  how to set up LyX for Armenian:
44794 \begin_inset Newline newline
44795 \end_inset
44796
44797
44798 \begin_inset Flex URL
44799 status collapsed
44800
44801 \begin_layout Plain Layout
44802
44803 http://wiki.lyx.org/Windows/Armenian
44804 \end_layout
44805
44806 \end_inset
44807
44808
44809 \end_layout
44810
44811 \begin_layout Bibliography
44812 \begin_inset CommandInset bibitem
44813 LatexCommand bibitem
44814 key "Farsi"
44815
44816 \end_inset
44817
44818
44819 \begin_inset CommandInset href
44820 LatexCommand href
44821 name "Wiki-page"
44822 target "http://wiki.lyx.org/Windows/Farsi"
44823
44824 \end_inset
44825
44826  how to set up LyX for Farsi:
44827 \begin_inset Newline newline
44828 \end_inset
44829
44830
44831 \begin_inset Flex URL
44832 status collapsed
44833
44834 \begin_layout Plain Layout
44835
44836 http://wiki.lyx.org/Windows/Farsi
44837 \end_layout
44838
44839 \end_inset
44840
44841
44842 \end_layout
44843
44844 \begin_layout Bibliography
44845 \begin_inset CommandInset bibitem
44846 LatexCommand bibitem
44847 key "Hebrew"
44848
44849 \end_inset
44850
44851
44852 \begin_inset CommandInset href
44853 LatexCommand href
44854 name "Wiki-page"
44855 target "http://wiki.lyx.org/Windows/Hebrew"
44856
44857 \end_inset
44858
44859  how to set up LyX for Hebrew:
44860 \begin_inset Newline newline
44861 \end_inset
44862
44863
44864 \begin_inset Flex URL
44865 status collapsed
44866
44867 \begin_layout Plain Layout
44868
44869 http://wiki.lyx.org/Windows/Hebrew
44870 \end_layout
44871
44872 \end_inset
44873
44874
44875 \end_layout
44876
44877 \begin_layout Bibliography
44878 \begin_inset CommandInset bibitem
44879 LatexCommand bibitem
44880 key "Japanese"
44881
44882 \end_inset
44883
44884
44885 \begin_inset CommandInset href
44886 LatexCommand href
44887 name "Wiki-page"
44888 target "http://wiki.lyx.org/Windows/Japanese"
44889
44890 \end_inset
44891
44892  how to set up LyX for Japanese:
44893 \begin_inset Newline newline
44894 \end_inset
44895
44896
44897 \begin_inset Flex URL
44898 status collapsed
44899
44900 \begin_layout Plain Layout
44901
44902 http://wiki.lyx.org/Windows/Japanese
44903 \end_layout
44904
44905 \end_inset
44906
44907
44908 \end_layout
44909
44910 \begin_layout Bibliography
44911 \begin_inset CommandInset bibitem
44912 LatexCommand bibitem
44913 key "Latvian"
44914
44915 \end_inset
44916
44917
44918 \begin_inset CommandInset href
44919 LatexCommand href
44920 name "Wiki-page"
44921 target "http://wiki.lyx.org/Windows/Latvian"
44922
44923 \end_inset
44924
44925  how to set up LyX for Latvian:
44926 \begin_inset Newline newline
44927 \end_inset
44928
44929
44930 \begin_inset Flex URL
44931 status collapsed
44932
44933 \begin_layout Plain Layout
44934
44935 http://wiki.lyx.org/Windows/Latvian
44936 \end_layout
44937
44938 \end_inset
44939
44940
44941 \end_layout
44942
44943 \begin_layout Bibliography
44944 \begin_inset CommandInset bibitem
44945 LatexCommand bibitem
44946 key "Lithuanian"
44947
44948 \end_inset
44949
44950
44951 \begin_inset CommandInset href
44952 LatexCommand href
44953 name "Wiki-page"
44954 target "http://wiki.lyx.org/Windows/Lithuanian"
44955
44956 \end_inset
44957
44958  how to set up LyX for Lithuanian:
44959 \begin_inset Newline newline
44960 \end_inset
44961
44962
44963 \begin_inset Flex URL
44964 status collapsed
44965
44966 \begin_layout Plain Layout
44967
44968 http://wiki.lyx.org/Windows/Lithuanian
44969 \end_layout
44970
44971 \end_inset
44972
44973
44974 \end_layout
44975
44976 \begin_layout Bibliography
44977 \begin_inset CommandInset bibitem
44978 LatexCommand bibitem
44979 key "Mongolian"
44980
44981 \end_inset
44982
44983
44984 \begin_inset CommandInset href
44985 LatexCommand href
44986 name "Wiki-page"
44987 target "http://wiki.lyx.org/Windows/Mongolian"
44988
44989 \end_inset
44990
44991  how to set up LyX for Mongolian:
44992 \begin_inset Newline newline
44993 \end_inset
44994
44995
44996 \begin_inset Flex URL
44997 status collapsed
44998
44999 \begin_layout Plain Layout
45000
45001 http://wiki.lyx.org/Windows/Mongolian
45002 \end_layout
45003
45004 \end_inset
45005
45006
45007 \end_layout
45008
45009 \begin_layout Bibliography
45010 \begin_inset CommandInset bibitem
45011 LatexCommand bibitem
45012 key "Vietnamese"
45013
45014 \end_inset
45015
45016
45017 \begin_inset CommandInset href
45018 LatexCommand href
45019 name "Wiki-page"
45020 target "http://wiki.lyx.org/Windows/Vietnamese"
45021
45022 \end_inset
45023
45024  how to set up LyX for Vietnamese:
45025 \begin_inset Newline newline
45026 \end_inset
45027
45028
45029 \begin_inset Flex URL
45030 status collapsed
45031
45032 \begin_layout Plain Layout
45033
45034 http://wiki.lyx.org/Windows/Vietnamese
45035 \end_layout
45036
45037 \end_inset
45038
45039
45040 \end_layout
45041
45042 \begin_layout Bibliography
45043 \begin_inset CommandInset bibitem
45044 LatexCommand bibitem
45045 key "NewInLyX20"
45046
45047 \end_inset
45048
45049
45050 \begin_inset CommandInset href
45051 LatexCommand href
45052 name "Wiki-page"
45053 target "http://wiki.lyx.org/LyX/NewInLyX20"
45054
45055 \end_inset
45056
45057  about new features in 
45058 \family sans
45059 LyX 2.0
45060 \family default
45061 :
45062 \begin_inset Newline newline
45063 \end_inset
45064
45065
45066 \begin_inset Flex URL
45067 status collapsed
45068
45069 \begin_layout Plain Layout
45070
45071 http://wiki.lyx.org/LyX/NewInLyX20
45072 \end_layout
45073
45074 \end_inset
45075
45076
45077 \end_layout
45078
45079 \begin_layout Standard
45080 \begin_inset Newpage newpage
45081 \end_inset
45082
45083
45084 \begin_inset ERT
45085 status collapsed
45086
45087 \begin_layout Plain Layout
45088
45089
45090 \backslash
45091 let
45092 \backslash
45093 mybibname
45094 \backslash
45095 bibname
45096 \end_layout
45097
45098 \begin_layout Plain Layout
45099
45100
45101 \backslash
45102 renewcommand{
45103 \backslash
45104 bibname}{
45105 \backslash
45106 mybibname
45107 \backslash
45108 ; 2}
45109 \end_layout
45110
45111 \end_inset
45112
45113
45114 \begin_inset Note Note
45115 status collapsed
45116
45117 \begin_layout Plain Layout
45118 The command 
45119 \series bold
45120
45121 \backslash
45122 bibname
45123 \series default
45124  is the name of the bibliography in the current document language.
45125  It is redefined here with the number 2 at the end to state that the following
45126  bibliography is the second one:
45127 \end_layout
45128
45129 \end_inset
45130
45131
45132 \end_layout
45133
45134 \begin_layout Standard
45135 \begin_inset CommandInset bibtex
45136 LatexCommand bibtex
45137 bibfiles "biblio/LyXDocs"
45138 options "biblio/alphadin"
45139
45140 \end_inset
45141
45142
45143 \end_layout
45144
45145 \begin_layout Standard
45146 The above bibliography is created from a BibTeX-database.
45147 \end_layout
45148
45149 \begin_layout Standard
45150 \begin_inset CommandInset nomencl_print
45151 LatexCommand printnomenclature
45152 set_width "auto"
45153
45154 \end_inset
45155
45156
45157 \begin_inset CommandInset index_print
45158 LatexCommand printindex
45159 type "idx"
45160
45161 \end_inset
45162
45163
45164 \end_layout
45165
45166 \end_body
45167 \end_document