]> git.lyx.org Git - features.git/blob - lib/doc/UserGuide.lyx
documentation: first step to update the UserGuide
[features.git] / lib / doc / UserGuide.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 474
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % DO NOT ALTER THIS PREAMBLE!!!
8 %
9 % This preamble is designed to ensure that the User's Guide prints
10 % out as advertised. If you mess with this preamble,
11 % parts of the User's Guide may not print out as expected.  If you
12 % have problems LaTeXing this file, please contact 
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
15
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
18
19  % set fonts for nicer pdf view
20  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{}
21
22 \fi % end if pdflatex is used
23
24 % for correct jump positions whe clicking on a link to a float
25 \usepackage[figure]{hypcap}
26
27 % the pages of the TOC is numbered roman
28 % and a pdf-bookmark for the TOC is added
29 \let\myTOC\tableofcontents
30 \renewcommand\tableofcontents{%
31   \frontmatter
32   \pdfbookmark[1]{\contentsname}{}
33   \myTOC
34   \mainmatter }
35
36 % 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 bibtex
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 default
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 false
142 \output_changes false
143 \html_math_output 0
144 \html_css_as_file 0
145 \html_be_strict true
146 \end_header
147
148 \begin_body
149
150 \begin_layout Title
151 The LyX User's Guide
152 \end_layout
153
154 \begin_layout Author
155 by the LyX Team
156 \begin_inset Foot
157 status collapsed
158
159 \begin_layout Plain Layout
160 \noindent
161 If you have comments on or error corrections to this documentation, please
162  send them to the LyX Documentation mailing list: 
163 \begin_inset CommandInset href
164 LatexCommand href
165 target "lyx-docs@lists.lyx.org"
166 type "mailto:"
167
168 \end_inset
169
170
171 \end_layout
172
173 \end_inset
174
175
176 \begin_inset Newline newline
177 \end_inset
178
179
180 \begin_inset Newline newline
181 \end_inset
182
183 Version 2.0.x
184 \begin_inset Note Note
185 status collapsed
186
187 \begin_layout Plain Layout
188 The latest PDF-version of this document can be found here:
189 \begin_inset Newline newline
190 \end_inset
191
192
193 \series bold
194 http://wiki.lyx.org/LyX/DocumentationDevelopment#UserGuide
195 \end_layout
196
197 \end_inset
198
199
200 \end_layout
201
202 \begin_layout Standard
203 \begin_inset CommandInset toc
204 LatexCommand tableofcontents
205
206 \end_inset
207
208
209 \end_layout
210
211 \begin_layout Chapter
212 Getting Started
213 \end_layout
214
215 \begin_layout Section
216 What is LyX?
217 \end_layout
218
219 \begin_layout Standard
220 LyX is a document preparation system.
221  It is a tool for producing beautiful manu\SpecialChar \-
222 scripts, publishable books, business
223  letters and proposals, and even poetry.
224  It is unlike most other 
225 \begin_inset Quotes eld
226 \end_inset
227
228 word processors
229 \begin_inset Quotes erd
230 \end_inset
231
232  in the sense that it uses the paradigm of a markup language as its core
233  editing style.
234  That means that when you type a section header, you mark it as a 
235 \begin_inset Quotes eld
236 \end_inset
237
238 Section
239 \begin_inset Quotes erd
240 \end_inset
241
242 , not as 
243 \begin_inset Quotes eld
244 \end_inset
245
246 Bold, 17
247 \begin_inset space \thinspace{}
248 \end_inset
249
250 pt type, left justified, 5
251 \begin_inset space \thinspace{}
252 \end_inset
253
254 mm space below
255 \begin_inset Quotes erd
256 \end_inset
257
258 .
259  LyX takes care of the typesetting for you; so you deal only with concepts,
260  not with mechanics.
261 \end_layout
262
263 \begin_layout Standard
264 This philosophy is explained in greater detail in the 
265 \emph on
266 Introduction
267 \emph default
268 manual.
269  If you haven't read it yet, you need to.
270  Yes, we mean now.
271 \end_layout
272
273 \begin_layout Standard
274 The 
275 \emph on
276 Introduction
277 \emph default
278  manual describes several things in addition to LyX's philosophy: most important
279 ly, the format of all of the manuals.
280  If you don't read it, you will have a bear of a time navigating this manual.
281  You might also be better served looking in one of the other manuals instead
282  of this one.
283  The 
284 \emph on
285 Introduction
286 \emph default
287  manual describes that, too.
288 \end_layout
289
290 \begin_layout Section
291 How LyX Looks
292 \end_layout
293
294 \begin_layout Standard
295 Like most applications, LyX has the familiar menu bar across the top of
296  its window.
297  Below it is a toolbar with a pulldown box and various buttons.
298  There is, of course, a vertical scrollbar and a main work area for editing
299  documents.
300 \end_layout
301
302 \begin_layout Standard
303 Note that there is no horizontal scrollbar.
304  This is not a bug or an oversight, but intentional.
305  When you read a book, you expect the end of a line to wrap around to the
306  next line.
307  Text overflows onto new pages in a vertical fashion, hence the need for
308  only a vertical scrollbar.
309  There are three cases where you might want a horizontal scrollbar.
310  The first case is large images.
311  To avoid them being displayed larger than your screen, left click on the
312  image and use the option 
313 \family sans
314 Scale on Screen
315 \family default
316  in the tab 
317 \family sans
318 LaTeX and LyX options
319 \family default
320 .
321  The second and third cases are tables and equations which are wider than
322  the LyX window.
323  You can use the arrow keys to scroll horizontally through the table, but
324  this doesn't work for equations yet.
325 \end_layout
326
327 \begin_layout Standard
328 For a brief description of all LyX menus and toolbar buttons, have a look
329  at Appendix
330 \begin_inset space ~
331 \end_inset
332
333
334 \begin_inset CommandInset ref
335 LatexCommand ref
336 reference "chap:The-User-Interface"
337
338 \end_inset
339
340 .
341 \end_layout
342
343 \begin_layout Section
344 HELP
345 \end_layout
346
347 \begin_layout Standard
348 The help system consists of the LyX manuals.
349  You can read all of the manuals from inside LyX.
350  Just select the manual you want to read from the 
351 \family sans
352 Help
353 \family default
354  menu.
355 \end_layout
356
357 \begin_layout Section
358 Basic LyX Setup
359 \begin_inset CommandInset label
360 LatexCommand label
361 name "sec:Basic-LyX-Setup"
362
363 \end_inset
364
365
366 \end_layout
367
368 \begin_layout Standard
369 Almost all features of LyX can be configured via the menu 
370 \family sans
371 Tools\SpecialChar \menuseparator
372 Preferences
373 \family default
374 .
375 \begin_inset Index idx
376 status collapsed
377
378 \begin_layout Plain Layout
379 Preferences
380 \end_layout
381
382 \end_inset
383
384  LyX is able to inspect your system to see what programs, LaTeX document
385  classes and LaTeX packages are available.
386  It uses this knowledge to give reasonable defaults for the preferences
387  settings.
388  Although this configuration has already been done when LyX was installed
389  on your system, you might have some items that you installed locally, e.
390 \begin_inset space \thinspace{}
391 \end_inset
392
393 g.
394 \begin_inset space \space{}
395 \end_inset
396
397 new LaTeX classes, and which are not seen by LyX.
398  To force LyX to re-inspect your system, you should use 
399 \family sans
400 Tools\SpecialChar \menuseparator
401 Reconfigure
402 \family default
403 .
404 \begin_inset Index idx
405 status collapsed
406
407 \begin_layout Plain Layout
408 Reconfiguration of LyX
409 \end_layout
410
411 \end_inset
412
413  You should then restart LyX to ensure that the changes are taken into account.
414 \end_layout
415
416 \begin_layout Section
417 LaTeX Setup
418 \begin_inset CommandInset label
419 LatexCommand label
420 name "sec:LaTeX-Setup"
421
422 \end_inset
423
424
425 \end_layout
426
427 \begin_layout Standard
428 You can edit documents in LyX without having LaTeX installed, but you will
429  not be able to create PDFs or print your documents unless you do have it
430  installed.
431  However, some LyX documents use DocBook as the “backend” that can produce
432  PDFs and the like, and every LyX document can always be output as plain
433  text or as XHTML.
434 \end_layout
435
436 \begin_layout Standard
437 Some document classes may depend upon specific LaTeX or DocBook classes
438  or packages.
439  Such document classes can be used even if you do not have the required
440  files installed, but you will not be able to produce certain kinds of output.
441 \end_layout
442
443 \begin_layout Standard
444 The LaTeX packages that LyX has found on your system are listed in a file
445  you can view from the menu 
446 \family sans
447 Help\SpecialChar \menuseparator
448 LaT
449 \begin_inset ERT
450 status collapsed
451
452 \begin_layout Plain Layout
453
454 {}
455 \end_layout
456
457 \end_inset
458
459 eX
460 \begin_inset space ~
461 \end_inset
462
463 Configuration
464 \family default
465 .
466  If you are missing packages you need, then you must install them and then
467  reconfigure LyX (menu 
468 \family sans
469 Tools\SpecialChar \menuseparator
470 Reconfigure
471 \family default
472 ).
473 \begin_inset Note Note
474 status collapsed
475
476 \begin_layout Plain Layout
477 The two braces in the TeX Code box prevent that the term 
478 \begin_inset Quotes eld
479 \end_inset
480
481 LaTeX
482 \begin_inset Quotes erd
483 \end_inset
484
485  from being printed with sub- and superscript letters.
486  More about TeX Code is described in section
487 \begin_inset space ~
488 \end_inset
489
490
491 \begin_inset CommandInset ref
492 LatexCommand ref
493 reference "sec:TeX-Code"
494
495 \end_inset
496
497 , the printout of proper names like LaTeX is explained in section
498 \begin_inset space ~
499 \end_inset
500
501
502 \begin_inset CommandInset ref
503 LatexCommand ref
504 reference "sub:LyX's-Proper-Names"
505
506 \end_inset
507
508 .
509 \end_layout
510
511 \end_inset
512
513
514 \begin_inset Index idx
515 status collapsed
516
517 \begin_layout Plain Layout
518 Reconfiguration of LyX
519 \end_layout
520
521 \end_inset
522
523  See section 5.1 of the 
524 \emph on
525 Customization
526 \emph default
527  manual for more information on installing additional LaTeX packages.
528 \end_layout
529
530 \begin_layout Chapter
531 How to work with LyX
532 \end_layout
533
534 \begin_layout Section
535 Basic File Operations
536 \begin_inset Index idx
537 status collapsed
538
539 \begin_layout Plain Layout
540 File Operations
541 \end_layout
542
543 \end_inset
544
545
546 \end_layout
547
548 \begin_layout Standard
549 Under the 
550 \family sans
551 File
552 \family default
553  menu and in the standard toolbar are basic operations for any word processor
554  in addition to some more advanced operations:
555 \end_layout
556
557 \begin_layout Itemize
558
559 \family sans
560 New 
561 \begin_inset Info
562 type  "icon"
563 arg   "buffer-new"
564 \end_inset
565
566
567 \end_layout
568
569 \begin_layout Itemize
570
571 \family sans
572 New
573 \begin_inset space ~
574 \end_inset
575
576 from
577 \begin_inset space ~
578 \end_inset
579
580 Template
581 \end_layout
582
583 \begin_layout Itemize
584
585 \family sans
586 Open 
587 \begin_inset Info
588 type  "icon"
589 arg   "file-open"
590 \end_inset
591
592
593 \end_layout
594
595 \begin_layout Itemize
596
597 \family sans
598 Close
599 \end_layout
600
601 \begin_layout Itemize
602
603 \family sans
604 Save 
605 \begin_inset Info
606 type  "icon"
607 arg   "buffer-write"
608 \end_inset
609
610
611 \end_layout
612
613 \begin_layout Itemize
614
615 \family sans
616 Save
617 \begin_inset space ~
618 \end_inset
619
620 As
621 \end_layout
622
623 \begin_layout Itemize
624
625 \family sans
626 Revert
627 \begin_inset space ~
628 \end_inset
629
630 to
631 \begin_inset space ~
632 \end_inset
633
634 saved
635 \end_layout
636
637 \begin_layout Itemize
638
639 \family sans
640 Version
641 \begin_inset space ~
642 \end_inset
643
644 Control
645 \end_layout
646
647 \begin_layout Itemize
648
649 \family sans
650 Import
651 \end_layout
652
653 \begin_layout Itemize
654
655 \family sans
656 Export
657 \end_layout
658
659 \begin_layout Itemize
660
661 \family sans
662 Print 
663 \begin_inset Info
664 type  "icon"
665 arg   "dialog-show print"
666 \end_inset
667
668
669 \end_layout
670
671 \begin_layout Itemize
672
673 \family sans
674 Exit
675 \end_layout
676
677 \begin_layout Standard
678 They all do pretty much the same thing as in other word processors, with
679  a few minor differences.
680  The 
681 \family sans
682 File\SpecialChar \menuseparator
683 New
684 \begin_inset space ~
685 \end_inset
686
687 from
688 \begin_inset space ~
689 \end_inset
690
691 Template
692 \family default
693  command lists the available templates.
694  Selecting a template will automatically set certain layout features for
695  the document, features you would otherwise need to change manually.
696  They can be of use for certain classes, especially those for writing letters
697  (see sec.
698 \begin_inset space \thinspace{}
699 \end_inset
700
701
702 \begin_inset CommandInset ref
703 LatexCommand ref
704 reference "sec:Document-Classes"
705
706 \end_inset
707
708 ).
709 \end_layout
710
711 \begin_layout Standard
712 \begin_inset Note Greyedout
713 status collapsed
714
715 \begin_layout Plain Layout
716
717 \series bold
718 Note:
719 \series default
720  There is no 
721 \begin_inset Quotes eld
722 \end_inset
723
724 default file
725 \begin_inset Quotes erd
726 \end_inset
727
728  or document named 
729 \begin_inset Quotes eld
730 \end_inset
731
732 Untitled
733 \begin_inset Quotes erd
734 \end_inset
735
736  or 
737 \begin_inset Quotes eld
738 \end_inset
739
740 scratch.
741 \begin_inset Quotes erd
742 \end_inset
743
744  Unless you tell LyX to open a file or create a new one, that big, blank
745  space is just that — a big, blank space.
746 \end_layout
747
748 \end_inset
749
750
751 \end_layout
752
753 \begin_layout Standard
754
755 \family sans
756 Revert
757 \begin_inset space ~
758 \end_inset
759
760 to
761 \begin_inset space ~
762 \end_inset
763
764 saved
765 \family default
766  and 
767 \family sans
768 Version
769 \begin_inset space ~
770 \end_inset
771
772 Control
773 \family default
774  are useful if more people work on the same document at the same time.
775 \begin_inset Foot
776 status collapsed
777
778 \begin_layout Plain Layout
779 If you plan to do this, you should check out the Version Control feature
780  in LyX also.
781  Read Additional Features\SpecialChar \@.
782
783 \end_layout
784
785 \end_inset
786
787  
788 \family sans
789 Revert
790 \begin_inset space ~
791 \end_inset
792
793 to
794 \begin_inset space ~
795 \end_inset
796
797 saved
798 \family default
799  will reload the document from disk.
800  You can of course also use it if you regret that you changed a document
801  and want to restore it to the last save.
802  With
803 \family sans
804  Version
805 \begin_inset space ~
806 \end_inset
807
808 Control 
809 \family default
810 you can register the changes you made to a document so that others can identify
811  them as your changes.
812 \end_layout
813
814 \begin_layout Section
815 Basic Editing Features
816 \begin_inset Index idx
817 status collapsed
818
819 \begin_layout Plain Layout
820 Editing
821 \end_layout
822
823 \end_inset
824
825
826 \begin_inset CommandInset label
827 LatexCommand label
828 name "sec:Basic-Editing-Features"
829
830 \end_inset
831
832
833 \end_layout
834
835 \begin_layout Standard
836 Like most modern word processors, LyX can perform cut and paste operations
837  on blocks of text, can move by character, word, or page of text, and can
838  delete whole words as well as individual characters.
839  The next four sections cover the basic LyX editing features and how to
840  access them.
841  We will start with cut and paste.
842 \end_layout
843
844 \begin_layout Standard
845 As you might expect, the 
846 \family sans
847 Edit
848 \family default
849  menu and the standard toolbar has the cut and paste commands, along with
850  various other editing features.
851  Some of these are special and covered in later sections.
852  The basic ones are:
853 \end_layout
854
855 \begin_layout Itemize
856
857 \family sans
858 Cut 
859 \family default
860
861 \begin_inset Info
862 type  "icon"
863 arg   "cut"
864 \end_inset
865
866
867 \end_layout
868
869 \begin_layout Itemize
870
871 \family sans
872 Copy 
873 \family default
874
875 \begin_inset Info
876 type  "icon"
877 arg   "copy"
878 \end_inset
879
880
881 \end_layout
882
883 \begin_layout Itemize
884
885 \family sans
886 Paste 
887 \family default
888
889 \begin_inset Info
890 type  "icon"
891 arg   "paste"
892 \end_inset
893
894
895 \end_layout
896
897 \begin_layout Itemize
898
899 \family sans
900 Paste
901 \begin_inset space ~
902 \end_inset
903
904 Recent
905 \end_layout
906
907 \begin_layout Itemize
908
909 \family sans
910 Paste
911 \begin_inset space ~
912 \end_inset
913
914 Special
915 \end_layout
916
917 \begin_layout Itemize
918
919 \family sans
920 Find
921 \begin_inset space ~
922 \end_inset
923
924 &
925 \begin_inset space ~
926 \end_inset
927
928 Replace 
929 \family default
930
931 \begin_inset Info
932 type  "icon"
933 arg   "dialog-show findreplace"
934 \end_inset
935
936
937 \end_layout
938
939 \begin_layout Standard
940 The first three are self-explanatory.
941  
942 \begin_inset Index idx
943 status collapsed
944
945 \begin_layout Plain Layout
946 Paste
947 \end_layout
948
949 \end_inset
950
951 You can also copy text between LyX and other programs by cut, copy and paste.
952  The submenu of 
953 \family sans
954 Paste
955 \begin_inset space ~
956 \end_inset
957
958 Recent
959 \family default
960  shows you a list with the last strings you have pasted.
961 \end_layout
962
963 \begin_layout Standard
964 The menu 
965 \family sans
966 Edit\SpecialChar \menuseparator
967 Paste
968 \begin_inset space ~
969 \end_inset
970
971 Special\SpecialChar \menuseparator
972 Plain
973 \begin_inset space ~
974 \end_inset
975
976 Text,
977 \begin_inset space \thinspace{}
978 \end_inset
979
980 Join
981 \begin_inset space ~
982 \end_inset
983
984 Lines
985 \family default
986  will insert the text in the clipboard so that the whole text is inserted
987  as one paragraph.
988  A new paragraph is started when there is a blank line in the file.
989  Without 
990 \family sans
991 Join
992 \begin_inset space ~
993 \end_inset
994
995 Lines
996 \family default
997 , the text is inserted as Paragraphs, where the line breaks of the text
998  will start a new paragraph.
999 \end_layout
1000
1001 \begin_layout Standard
1002 \begin_inset Index idx
1003 status collapsed
1004
1005 \begin_layout Plain Layout
1006 Replace
1007 \end_layout
1008
1009 \end_inset
1010
1011
1012 \begin_inset Index idx
1013 status collapsed
1014
1015 \begin_layout Plain Layout
1016 Find
1017 \end_layout
1018
1019 \end_inset
1020
1021 The 
1022 \family sans
1023 Edit\SpecialChar \menuseparator
1024 Find
1025 \begin_inset space ~
1026 \end_inset
1027
1028 &
1029 \begin_inset space ~
1030 \end_inset
1031
1032 Replace
1033 \family default
1034  item opens the 
1035 \family sans
1036 Find
1037 \begin_inset space ~
1038 \end_inset
1039
1040 and
1041 \begin_inset space ~
1042 \end_inset
1043
1044 Replace
1045 \family default
1046  dialog.
1047  Once you have found a word or expression, LyX selects it.
1048  Hitting the 
1049 \family sans
1050 Replace
1051 \family default
1052  button replaces the selected text with the contents of the 
1053 \family sans
1054 Replace
1055 \begin_inset space ~
1056 \end_inset
1057
1058 with
1059 \family default
1060  field.
1061  You can click the 
1062 \family sans
1063 Find
1064 \begin_inset space ~
1065 \end_inset
1066
1067 Next
1068 \family default
1069  button to skip the current word.
1070  Hit 
1071 \family sans
1072 Replace
1073 \begin_inset space ~
1074 \end_inset
1075
1076 All
1077 \family default
1078  to replace all occurrences of the text in the document automatically.
1079  The 
1080 \family sans
1081 Case
1082 \begin_inset space ~
1083 \end_inset
1084
1085 sensitive
1086 \family default
1087  option can be used if you want the search to consider the case of the search
1088  word.
1089  If the toggle is set, searching for 
1090 \begin_inset Quotes eld
1091 \end_inset
1092
1093
1094 \family typewriter
1095 Test
1096 \family default
1097
1098 \begin_inset Quotes erd
1099 \end_inset
1100
1101  will not match the word 
1102 \begin_inset Quotes eld
1103 \end_inset
1104
1105
1106 \family typewriter
1107 test
1108 \family default
1109
1110 \begin_inset Quotes erd
1111 \end_inset
1112
1113 .
1114  The 
1115 \family sans
1116 Match whole words only
1117 \family default
1118  option can be used to force LyX to only find complete words, e.
1119 \begin_inset space \thinspace{}
1120 \end_inset
1121
1122 g., searching for 
1123 \begin_inset Quotes eld
1124 \end_inset
1125
1126
1127 \family typewriter
1128 star
1129 \family default
1130
1131 \begin_inset Quotes erd
1132 \end_inset
1133
1134  will not match 
1135 \begin_inset Quotes eld
1136 \end_inset
1137
1138
1139 \family typewriter
1140 starlet
1141 \family default
1142
1143 \begin_inset Quotes erd
1144 \end_inset
1145
1146 .
1147  LyX offers also an advanced 
1148 \family sans
1149 Find
1150 \begin_inset space ~
1151 \end_inset
1152
1153 &
1154 \begin_inset space ~
1155 \end_inset
1156
1157 Replace
1158 \family default
1159  feature that is described in sec.
1160 \begin_inset space \thinspace{}
1161 \end_inset
1162
1163
1164 \begin_inset CommandInset ref
1165 LatexCommand ref
1166 reference "sec:Advanced-Find-and"
1167
1168 \end_inset
1169
1170 .
1171 \end_layout
1172
1173 \begin_layout Standard
1174 Things like notes, floats, etc.
1175 \begin_inset space \space{}
1176 \end_inset
1177
1178 (the so called 
1179 \begin_inset Quotes eld
1180 \end_inset
1181
1182 insets
1183 \begin_inset Quotes erd
1184 \end_inset
1185
1186 ) can be dissolved.
1187  This means that the inset is deleted and its content is left as normal
1188  text.
1189  Dissolving an inset is done by setting the cursor to the beginning of an
1190  inset and pressing 
1191 \family sans
1192 Backspace
1193 \family default
1194  or by setting the cursor to the end and pressing 
1195 \family sans
1196 Delete
1197 \family default
1198 .
1199 \end_layout
1200
1201 \begin_layout Standard
1202 The content of an inset is selected using the shortcut 
1203 \begin_inset Info
1204 type  "shortcuts"
1205 arg   "inset-select-all"
1206 \end_inset
1207
1208 , the shortcut 
1209 \begin_inset Info
1210 type  "shortcuts"
1211 arg   "command-sequence buffer-begin ; buffer-end-select"
1212 \end_inset
1213
1214  selects the whole document.
1215 \end_layout
1216
1217 \begin_layout Section
1218 Undo and Redo
1219 \begin_inset Index idx
1220 status collapsed
1221
1222 \begin_layout Plain Layout
1223 Redo
1224 \end_layout
1225
1226 \end_inset
1227
1228
1229 \begin_inset Index idx
1230 status collapsed
1231
1232 \begin_layout Plain Layout
1233 Undo
1234 \end_layout
1235
1236 \end_inset
1237
1238
1239 \begin_inset CommandInset label
1240 LatexCommand label
1241 name "sec:Undo-and-Redo"
1242
1243 \end_inset
1244
1245
1246 \end_layout
1247
1248 \begin_layout Standard
1249 If you make a mistake, you can easily recover from it.
1250  LyX has a large-capacity undo/redo buffer.
1251  Select 
1252 \family sans
1253 Edit\SpecialChar \menuseparator
1254 Undo
1255 \family default
1256  or the toolbar button 
1257 \begin_inset Info
1258 type  "icon"
1259 arg   "undo"
1260 \end_inset
1261
1262  to undo some mistake.
1263  If you accidentally undo too much, use 
1264 \family sans
1265 Edit\SpecialChar \menuseparator
1266 Redo
1267 \family default
1268  or the toolbar button 
1269 \begin_inset Info
1270 type  "icon"
1271 arg   "redo"
1272 \end_inset
1273
1274  to 
1275 \begin_inset Quotes eld
1276 \end_inset
1277
1278 undo the undo.
1279 \begin_inset Quotes erd
1280 \end_inset
1281
1282  The undo mechanism is currently limited to 100
1283 \begin_inset space \thinspace{}
1284 \end_inset
1285
1286 steps to minimize memory overhead.
1287 \end_layout
1288
1289 \begin_layout Standard
1290 Note that if you revert back all changes to arrive at the document as it
1291  was last saved, the 
1292 \begin_inset Quotes eld
1293 \end_inset
1294
1295 changed
1296 \begin_inset Quotes erd
1297 \end_inset
1298
1299  status of the document is unfortunately not reset.
1300  This is a consequence of the 100
1301 \begin_inset space \thinspace{}
1302 \end_inset
1303
1304 step undo limit mentioned above.
1305 \end_layout
1306
1307 \begin_layout Standard
1308
1309 \family sans
1310 Undo
1311 \family default
1312  and 
1313 \family sans
1314 Redo
1315 \family default
1316  work on almost everything in LyX.
1317  But they will not undo or redo text character by character, but by blocks
1318  of text.
1319 \end_layout
1320
1321 \begin_layout Section
1322 Mouse Operations
1323 \begin_inset Index idx
1324 status collapsed
1325
1326 \begin_layout Plain Layout
1327 Mouse Operations
1328 \end_layout
1329
1330 \end_inset
1331
1332
1333 \end_layout
1334
1335 \begin_layout Standard
1336 These are the most basic mouse operations.
1337 \end_layout
1338
1339 \begin_layout Enumerate
1340 Motion
1341 \end_layout
1342
1343 \begin_deeper
1344 \begin_layout Itemize
1345 Click the 
1346 \emph on
1347 left mouse button
1348 \emph default
1349  once anywhere in the edit window.
1350  The cursor moves to the text under the mouse.
1351 \end_layout
1352
1353 \end_deeper
1354 \begin_layout Enumerate
1355 Selecting Text
1356 \end_layout
1357
1358 \begin_deeper
1359 \begin_layout Itemize
1360 Hold down the 
1361 \emph on
1362 left mouse button
1363 \emph default
1364  and drag the mouse.
1365  LyX marks the text between the old and new mouse positions.
1366  Use 
1367 \family sans
1368 Edit\SpecialChar \menuseparator
1369 Copy
1370 \family default
1371  to create a copy of the text in LyX's buffer (and the clipboard).
1372 \end_layout
1373
1374 \begin_layout Itemize
1375 Re-position the cursor and then paste the text back into LyX using 
1376 \family sans
1377 Edit\SpecialChar \menuseparator
1378 Paste
1379 \family default
1380 .
1381 \end_layout
1382
1383 \end_deeper
1384 \begin_layout Enumerate
1385 Insets (Footnotes, Notes, Floats, etc.)
1386 \end_layout
1387
1388 \begin_deeper
1389 \begin_layout Standard
1390 Right-click on them to set their properties.
1391  Also check the appropriate section of this manual for more details.
1392 \end_layout
1393
1394 \end_deeper
1395 \begin_layout Section
1396 Navigating
1397 \begin_inset CommandInset label
1398 LatexCommand label
1399 name "sec:Navigating"
1400
1401 \end_inset
1402
1403
1404 \begin_inset Index idx
1405 status collapsed
1406
1407 \begin_layout Plain Layout
1408 Navigating
1409 \end_layout
1410
1411 \end_inset
1412
1413
1414 \end_layout
1415
1416 \begin_layout Standard
1417 LyX offers you several ways to navigate in documents:
1418 \end_layout
1419
1420 \begin_layout Itemize
1421 The 
1422 \family sans
1423 Navigate
1424 \family default
1425  menu lists all sections of the document as submenu entries that you can
1426  click to jump to the corresponding document part.
1427 \end_layout
1428
1429 \begin_layout Itemize
1430 The “Outline”, which is accessed either by the menu 
1431 \family sans
1432 View\SpecialChar \menuseparator
1433 Outline
1434 \begin_inset space ~
1435 \end_inset
1436
1437 Pane
1438 \family default
1439  or by the toolbar button 
1440 \begin_inset Info
1441 type  "icon"
1442 arg   "dialog-toggle toc"
1443 \end_inset
1444
1445 .
1446 \end_layout
1447
1448 \begin_layout Itemize
1449 You can set bookmarks in your document under 
1450 \family sans
1451 Navigate\SpecialChar \menuseparator
1452 Bookmarks
1453 \family default
1454  and use the same menu to return to them.
1455  Note that bookmarks are saved between sessions.
1456 \end_layout
1457
1458 \begin_layout Standard
1459 The toolbar button 
1460 \begin_inset Info
1461 type  "icon"
1462 arg   "bookmark-goto 0"
1463 \end_inset
1464
1465  (also 
1466 \family sans
1467 Navigate\SpecialChar \menuseparator
1468 Bookmarks\SpecialChar \menuseparator
1469 Navigate
1470 \begin_inset space ~
1471 \end_inset
1472
1473 Back
1474 \family default
1475 ) jumps to the position in the document where you recently changed something.
1476  This is useful when you have a large document and have navigated or scrolled
1477  to another document part to look for something, and want to go back to
1478  your last editing position.
1479 \end_layout
1480
1481 \begin_layout Standard
1482 By pressing the 
1483 \family sans
1484 F5
1485 \family default
1486  key the cursor will be vertically centered in LyX's main window.
1487 \end_layout
1488
1489 \begin_layout Subsection
1490 The Outliner
1491 \begin_inset CommandInset label
1492 LatexCommand label
1493 name "sub:The-Outliner"
1494
1495 \end_inset
1496
1497
1498 \end_layout
1499
1500 \begin_layout Standard
1501 In the pull-down box at the top of the outline window, you can choose between
1502  several different lists, including other TOC-like objects, such as lists
1503  of tables and figures, but also lists of footnotes, or labels and cross-referen
1504 ces (see sec.
1505 \begin_inset space \thinspace{}
1506 \end_inset
1507
1508
1509 \begin_inset CommandInset ref
1510 LatexCommand ref
1511 reference "sec:Cross-References"
1512
1513 \end_inset
1514
1515 ), or notes, or citations (see sec.
1516 \begin_inset space \thinspace{}
1517 \end_inset
1518
1519
1520 \begin_inset CommandInset ref
1521 LatexCommand ref
1522 reference "sec:Bibliography"
1523
1524 \end_inset
1525
1526 ).
1527  Clicking on any of these will take you to the corresponding object in your
1528  document.
1529 \end_layout
1530
1531 \begin_layout Standard
1532 Right-clicking on elements in the Outline opens in many cases a context
1533  menu that will allow for direct modification of those elements.
1534  For example, with citations, the context menu allows you to open the citation
1535  dialog and to modify the citation.
1536 \end_layout
1537
1538 \begin_layout Standard
1539 The “Filter” field at the top allows you to restrict which entries appear
1540  in the Outline.
1541  For example, if you are displaying the list of Labels and References and
1542  wish to see only references to subsections, you can enter the text 
1543 \begin_inset Quotes eld
1544 \end_inset
1545
1546 sub:
1547 \begin_inset Quotes erd
1548 \end_inset
1549
1550  in the filter, and only entries containing that text will be displayed.
1551 \end_layout
1552
1553 \begin_layout Standard
1554 At the bottom of the outline are several buttons and the like that allow
1555  you further to control the display.
1556  The 
1557 \family sans
1558 Sort
1559 \family default
1560  option sorts the current list alphabetically.
1561  Otherwise, the elements appear in the order in which they occur in the
1562  document.
1563  The 
1564 \family sans
1565 Keep
1566 \family default
1567  option keeps it in the current view state.
1568  Keeping means that when you have, for example, the subsections of sections
1569 \begin_inset space ~
1570 \end_inset
1571
1572 2 and 4 displayed and click on section
1573 \begin_inset space ~
1574 \end_inset
1575
1576 3, the subsections of sections
1577 \begin_inset space ~
1578 \end_inset
1579
1580 2 and 4 will still be displayed.
1581  Without the 
1582 \family sans
1583 Keep
1584 \family default
1585  option they will be hidden to highlight the clicked section
1586 \begin_inset space ~
1587 \end_inset
1588
1589 3.
1590  Finally, the slider at the left can be used to open the Outline to a given
1591  
1592 \begin_inset Quotes eld
1593 \end_inset
1594
1595 depth
1596 \begin_inset Quotes erd
1597 \end_inset
1598
1599 .
1600  It is best just to experiment with it to see how it works.
1601 \end_layout
1602
1603 \begin_layout Standard
1604 The 
1605 \begin_inset space \space{}
1606 \end_inset
1607
1608
1609 \begin_inset Graphics
1610         filename ../images/reload.png
1611
1612 \end_inset
1613
1614
1615 \begin_inset space ~
1616 \end_inset
1617
1618 button refreshes the TOC (though this should not usually be necessary).
1619  Next to it are buttons that allow you to change the position of sections
1620  in your document.
1621  The 
1622 \begin_inset space \space{}
1623 \end_inset
1624
1625
1626 \begin_inset Graphics
1627         filename ../images/down.png
1628         scale 85
1629         groupId toolbarbuttons
1630
1631 \end_inset
1632
1633
1634 \begin_inset space ~
1635 \end_inset
1636
1637  and 
1638 \begin_inset space \space{}
1639 \end_inset
1640
1641
1642 \begin_inset Graphics
1643         filename ../images/up.png
1644         scale 85
1645         groupId toolbarbuttons
1646
1647 \end_inset
1648
1649
1650 \begin_inset space ~
1651 \end_inset
1652
1653  buttons move sections up and down in the document.
1654  So, for example, you can move section
1655 \begin_inset space ~
1656 \end_inset
1657
1658 2.5 before section
1659 \begin_inset space ~
1660 \end_inset
1661
1662 2.4 or after section
1663 \begin_inset space ~
1664 \end_inset
1665
1666 2.6.
1667  LyX will then automatically renumber the sections to the new order.
1668  With the buttons 
1669 \begin_inset Graphics
1670         filename ../images/promote.png
1671         scale 85
1672         groupId toolbarbuttons
1673
1674 \end_inset
1675
1676  and 
1677 \begin_inset Graphics
1678         filename ../images/demote.png
1679         scale 85
1680         groupId toolbarbuttons
1681
1682 \end_inset
1683
1684  (or the corresponding key bindings 
1685 \family sans
1686 Tab
1687 \family default
1688  and 
1689 \family sans
1690 Shift-Tab
1691 \family default
1692 ) you can change the level of sections.
1693  So you can for example make section
1694 \begin_inset space ~
1695 \end_inset
1696
1697 2.5 chapter
1698 \begin_inset space ~
1699 \end_inset
1700
1701 3 or subsection
1702 \begin_inset space ~
1703 \end_inset
1704
1705 2.4.1.
1706 \end_layout
1707
1708 \begin_layout Section
1709 Input/Word Completion
1710 \begin_inset CommandInset label
1711 LatexCommand label
1712 name "sec:Input-Completion"
1713
1714 \end_inset
1715
1716
1717 \begin_inset Index idx
1718 status collapsed
1719
1720 \begin_layout Plain Layout
1721 Input completion
1722 \end_layout
1723
1724 \end_inset
1725
1726
1727 \begin_inset Index idx
1728 status collapsed
1729
1730 \begin_layout Plain Layout
1731 Word completion|see
1732 \begin_inset ERT
1733 status collapsed
1734
1735 \begin_layout Plain Layout
1736
1737 {
1738 \end_layout
1739
1740 \end_inset
1741
1742 Input completion
1743 \begin_inset ERT
1744 status collapsed
1745
1746 \begin_layout Plain Layout
1747
1748 }
1749 \end_layout
1750
1751 \end_inset
1752
1753
1754 \end_layout
1755
1756 \end_inset
1757
1758
1759 \end_layout
1760
1761 \begin_layout Standard
1762 LyX provides completion of words by scanning all documents that are currently
1763  opened.
1764  Every word that appears in these documents is added to a database that
1765  is used to propose completions.
1766 \end_layout
1767
1768 \begin_layout Standard
1769 Input completion can be activated in the LyX preferences (menu 
1770 \family sans
1771 Tools\SpecialChar \menuseparator
1772 Preferences
1773 \family default
1774 ) in the section 
1775 \family sans
1776 Editing\SpecialChar \menuseparator
1777 Input Completion
1778 \family default
1779 .
1780  With the option 
1781 \family sans
1782 Automatic
1783 \begin_inset space ~
1784 \end_inset
1785
1786 inline
1787 \begin_inset space ~
1788 \end_inset
1789
1790 completion
1791 \family default
1792  the proposed completion is shown directly after the cursor.
1793  With the option 
1794 \family sans
1795 Automatic
1796 \begin_inset space ~
1797 \end_inset
1798
1799 popup
1800 \family default
1801  the completions are always shown in a popup.
1802  The cursor completion indicator can be turned off by deselecting the option
1803  
1804 \family sans
1805 Cursor
1806 \begin_inset space ~
1807 \end_inset
1808
1809 indicator
1810 \family default
1811 .
1812  With the general options you can define the delay time for the inline and
1813  popup completion and choose if long completions should be abbreviated.
1814 \end_layout
1815
1816 \begin_layout Standard
1817 LyX displays a small triangle after the cursor as an indicator that there
1818  are completions available.
1819  Press the 
1820 \family sans
1821 Tab
1822 \family default
1823  key to accept a proposed completion.
1824  If several completions are possible, a popup is opened showing them.
1825  You can select a completion in the popup using the mouse or the arrow keys,
1826  and accept the chosen completion by pressing 
1827 \family sans
1828 Return
1829 \family default
1830 .
1831 \end_layout
1832
1833 \begin_layout Standard
1834 The completion options for math in the preferences do the same as the correspond
1835 ing options for text.
1836  The special math option 
1837 \family sans
1838 Autocorrection
1839 \family default
1840  enables characters to be composed.
1841  If, for example, you want to insert the character 
1842 \begin_inset Formula $\Rightarrow$
1843 \end_inset
1844
1845 , you can then input the characters 
1846 \begin_inset Quotes eld
1847 \end_inset
1848
1849
1850 \series bold
1851 =>
1852 \series default
1853
1854 \begin_inset Quotes erd
1855 \end_inset
1856
1857  to a formula to get it.
1858  So this is a quick alternative to the insertion of commands or the use
1859  of the math toolbar.
1860  A list with supported character combinations can be found in the file 
1861 \family typewriter
1862 autocorrect
1863 \family default
1864  that is in LyX's installation folder.
1865  Math autocorrection can at any time be turned on by pressing the exclamation
1866  mark key “!”.
1867  Pressing 
1868 \family sans
1869 Space
1870 \family default
1871  turns it off.
1872 \end_layout
1873
1874 \begin_layout Section
1875 Basic Key Bindings
1876 \begin_inset Index idx
1877 status collapsed
1878
1879 \begin_layout Plain Layout
1880 Key Bindings
1881 \end_layout
1882
1883 \end_inset
1884
1885
1886 \begin_inset Index idx
1887 status collapsed
1888
1889 \begin_layout Plain Layout
1890 Bindings|see
1891 \begin_inset ERT
1892 status collapsed
1893
1894 \begin_layout Plain Layout
1895
1896 {
1897 \end_layout
1898
1899 \end_inset
1900
1901 Key Bindings
1902 \begin_inset ERT
1903 status collapsed
1904
1905 \begin_layout Plain Layout
1906
1907 }
1908 \end_layout
1909
1910 \end_inset
1911
1912
1913 \end_layout
1914
1915 \end_inset
1916
1917
1918 \begin_inset Index idx
1919 status collapsed
1920
1921 \begin_layout Plain Layout
1922 Shortcuts|see
1923 \begin_inset ERT
1924 status collapsed
1925
1926 \begin_layout Plain Layout
1927
1928 {
1929 \end_layout
1930
1931 \end_inset
1932
1933 Key Bindings
1934 \begin_inset ERT
1935 status collapsed
1936
1937 \begin_layout Plain Layout
1938
1939 }
1940 \end_layout
1941
1942 \end_inset
1943
1944
1945 \end_layout
1946
1947 \end_inset
1948
1949
1950 \end_layout
1951
1952 \begin_layout Standard
1953 There are at least two different primary binding maps: 
1954 \family typewriter
1955 cua
1956 \family default
1957  and 
1958 \family typewriter
1959 emacs
1960 \family default
1961 .
1962  LyX's default is 
1963 \family typewriter
1964 cua
1965 \family default
1966 , which can be changed in the LyX preferences under 
1967 \family sans
1968 Editing\SpecialChar \menuseparator
1969 Shortcuts
1970 \family default
1971 .
1972  (You can list or change any key bindings as explained in sec.
1973 \begin_inset space \thinspace{}
1974 \end_inset
1975
1976
1977 \begin_inset CommandInset ref
1978 LatexCommand ref
1979 reference "sub:Editing-Shortcuts"
1980
1981 \end_inset
1982
1983 .)
1984 \end_layout
1985
1986 \begin_layout Standard
1987 Some keys, like 
1988 \family sans
1989 Page
1990 \begin_inset space ~
1991 \end_inset
1992
1993 Up
1994 \family default
1995
1996 \family sans
1997 Page
1998 \begin_inset space ~
1999 \end_inset
2000
2001 Down
2002 \family default
2003
2004 \family sans
2005 Left
2006 \family default
2007
2008 \family sans
2009 Right
2010 \family default
2011
2012 \family sans
2013 Up
2014 \family default
2015  and 
2016 \family sans
2017 Down
2018 \family default
2019 , do exactly what you expect them to do.
2020  Other keys don't:
2021 \end_layout
2022
2023 \begin_layout Labeling
2024 \labelwidthstring 00.00.0000
2025
2026 \family sans
2027 Tab
2028 \begin_inset CommandInset nomenclature
2029 LatexCommand nomenclature
2030 symbol "Tab"
2031 description "Tabulator key"
2032
2033 \end_inset
2034
2035
2036 \family default
2037  There is no such thing as a tab stop in LyX.
2038  If you do not understand this, go read sections
2039 \begin_inset space ~
2040 \end_inset
2041
2042
2043 \begin_inset CommandInset ref
2044 LatexCommand ref
2045 reference "sec:Par-indent-intro"
2046
2047 \end_inset
2048
2049  and 
2050 \begin_inset CommandInset ref
2051 LatexCommand ref
2052 reference "sec:Paragraph-Environments"
2053
2054 \end_inset
2055
2056 , especially section
2057 \begin_inset space ~
2058 \end_inset
2059
2060
2061 \begin_inset CommandInset ref
2062 LatexCommand ref
2063 reference "sub:Lists"
2064
2065 \end_inset
2066
2067 , right now.
2068  Yes, right now.
2069  If you are still confused, look in the 
2070 \emph on
2071 Tutorial
2072 \emph default
2073 .
2074 \begin_inset Newline newline
2075 \end_inset
2076
2077 In LyX the 
2078 \family sans
2079 Tab
2080 \family default
2081  key is only used to accept proposed input completions, to move the cursor
2082  in tables or math matrices or to change the nesting level in Itemize or
2083  Enumerate.
2084 \end_layout
2085
2086 \begin_layout Labeling
2087 \labelwidthstring 00.00.0000
2088
2089 \family sans
2090 Esc
2091 \begin_inset CommandInset nomenclature
2092 LatexCommand nomenclature
2093 symbol "Esc"
2094 description "Escape key"
2095
2096 \end_inset
2097
2098
2099 \family default
2100  This is the 
2101 \begin_inset Quotes eld
2102 \end_inset
2103
2104 cancel key.
2105 \begin_inset Quotes erd
2106 \end_inset
2107
2108  It is used, generically, to cancel operations.
2109  Other parts of the manual will go into greater detail about this.
2110 \end_layout
2111
2112 \begin_layout Labeling
2113 \labelwidthstring 00.00.0000
2114
2115 \family sans
2116 Home
2117 \family default
2118
2119 \begin_inset space ~
2120 \end_inset
2121
2122 and
2123 \begin_inset space ~
2124 \end_inset
2125
2126
2127 \family sans
2128 End
2129 \family default
2130  These move the cursor, respectively, to the beginning and end of a line,
2131  unless you are using the Emacs bindings where they jump to the beginning
2132  or end of the file.
2133 \end_layout
2134
2135 \begin_layout Standard
2136 There are three modifier keys:
2137 \end_layout
2138
2139 \begin_layout Labeling
2140 \labelwidthstring 00.00.0000
2141
2142 \family sans
2143 Control
2144 \family default
2145  (Denoted by 
2146 \begin_inset Quotes eld
2147 \end_inset
2148
2149
2150 \family sans
2151 Ctrl
2152 \family default
2153
2154 \begin_inset Quotes erd
2155 \end_inset
2156
2157
2158 \begin_inset CommandInset nomenclature
2159 LatexCommand nomenclature
2160 symbol "Ctrl"
2161 description "Control key"
2162
2163 \end_inset
2164
2165  in the documentation files) This has a couple of different uses, depending
2166  on which keys it is used in combination with:
2167 \end_layout
2168
2169 \begin_deeper
2170 \begin_layout Itemize
2171
2172 \family sans
2173 Backspace
2174 \family default
2175  or 
2176 \family sans
2177 Delete
2178 \family default
2179 , it deletes an entire word instead of a single character.
2180 \end_layout
2181
2182 \begin_layout Itemize
2183
2184 \family sans
2185 Left
2186 \family default
2187  and 
2188 \family sans
2189 Right
2190 \family default
2191 , it moves by words instead of characters.
2192 \end_layout
2193
2194 \begin_layout Itemize
2195
2196 \family sans
2197 Home
2198 \family default
2199  and 
2200 \family sans
2201 End
2202 \family default
2203 , it moves to the beginning and the end of the document, respectively.
2204 \end_layout
2205
2206 \end_deeper
2207 \begin_layout Labeling
2208 \labelwidthstring 00.00.0000
2209
2210 \family sans
2211 Shift
2212 \family default
2213  (Denoted by 
2214 \begin_inset Quotes eld
2215 \end_inset
2216
2217
2218 \family sans
2219 Shift
2220 \family default
2221
2222 \begin_inset Quotes erd
2223 \end_inset
2224
2225
2226 \begin_inset CommandInset nomenclature
2227 LatexCommand nomenclature
2228 symbol "Shift"
2229 description "Shift key"
2230
2231 \end_inset
2232
2233  in the documentation files) Use this with any of the arrow keys to select
2234  the text between the old and new cursor positions.
2235 \end_layout
2236
2237 \begin_layout Labeling
2238 \labelwidthstring 00.00.0000
2239
2240 \family sans
2241 Alt
2242 \family default
2243  (Denoted by 
2244 \begin_inset Quotes eld
2245 \end_inset
2246
2247
2248 \family sans
2249 Alt
2250 \family default
2251
2252 \begin_inset Quotes erd
2253 \end_inset
2254
2255
2256 \begin_inset CommandInset nomenclature
2257 LatexCommand nomenclature
2258 symbol "Alt"
2259 description "Alt or Meta key"
2260
2261 \end_inset
2262
2263  in the documentation files) This is the Alt key on many keyboards, unless
2264  your keyboard has a distinct Meta key.
2265  If you have both keys, you will need to try out which one actually performs
2266  the 
2267 \family sans
2268 Alt+
2269 \family default
2270  function.
2271 \begin_inset Newline newline
2272 \end_inset
2273
2274 This key does many different things, but it also activates the 
2275 \emph on
2276 menu accelerator keys
2277 \emph default
2278 .
2279  If you use this in combination with any of the underlined letters in a
2280  menu or menu item, it selects that menu item.
2281 \end_layout
2282
2283 \begin_deeper
2284 \begin_layout Standard
2285 For example, the sequence 
2286 \begin_inset Quotes eld
2287 \end_inset
2288
2289
2290 \family sans
2291 Alt
2292 \begin_inset space ~
2293 \end_inset
2294
2295 e
2296 \begin_inset space ~
2297 \end_inset
2298
2299 s
2300 \family default
2301
2302 \begin_inset space ~
2303 \end_inset
2304
2305
2306 \family sans
2307 c
2308 \family default
2309
2310 \begin_inset Quotes erd
2311 \end_inset
2312
2313  brings up the 
2314 \begin_inset Quotes eld
2315 \end_inset
2316
2317 Text Style
2318 \begin_inset Quotes erd
2319 \end_inset
2320
2321  dialog.
2322  Typing 
2323 \begin_inset Quotes eld
2324 \end_inset
2325
2326
2327 \family sans
2328 Alt
2329 \begin_inset space ~
2330 \end_inset
2331
2332 f
2333 \family default
2334
2335 \begin_inset Quotes erd
2336 \end_inset
2337
2338  opens the 
2339 \family sans
2340 File
2341 \family default
2342  menu.
2343 \end_layout
2344
2345 \begin_layout Standard
2346 The 
2347 \emph on
2348 Shortcuts
2349 \emph default
2350  manual lists all other things bound to the 
2351 \family sans
2352 Alt
2353 \family default
2354  key.
2355 \end_layout
2356
2357 \end_deeper
2358 \begin_layout Standard
2359 You will learn more and more key bindings and short-cut keys as you use
2360  LyX, because most actions will prompt a small message in the status bar
2361  at the bottom of LyX's main window which describes the name of the action
2362  you have just triggered, and any existing key bindings for that action.
2363  The LyX menus also list the defined key bindings.
2364  The notation for the key bindings is very similar to the notation used
2365  in this documentation, so you should not have any problems understanding
2366  it.
2367  However, notice that Shift-modifiers are explicitly mentioned, so 
2368 \begin_inset Quotes eld
2369 \end_inset
2370
2371
2372 \family sans
2373 Alt+P Shift+A
2374 \family default
2375
2376 \begin_inset Quotes erd
2377 \end_inset
2378
2379  means 
2380 \family sans
2381 Alt+P
2382 \family default
2383  followed by a capital 
2384 \family sans
2385 A
2386 \family default
2387 .
2388 \end_layout
2389
2390 \begin_layout Chapter
2391 LyX Basics
2392 \begin_inset Index idx
2393 status collapsed
2394
2395 \begin_layout Plain Layout
2396 LyX ! Basics
2397 \end_layout
2398
2399 \end_inset
2400
2401
2402 \end_layout
2403
2404 \begin_layout Section
2405 Document Types
2406 \begin_inset Index idx
2407 status collapsed
2408
2409 \begin_layout Plain Layout
2410 Document ! Types
2411 \end_layout
2412
2413 \end_inset
2414
2415
2416 \end_layout
2417
2418 \begin_layout Subsection
2419 Introduction
2420 \end_layout
2421
2422 \begin_layout Standard
2423 Before you do anything else, before you ever start writing a document, you
2424  need to decide what type of document you want to edit.
2425  Different types of documents use different types of spacing, headings,
2426  numbering schemes, and so on.
2427  Additionally, different documents use different paragraph environments,
2428  and format the title of your document differently.
2429 \end_layout
2430
2431 \begin_layout Standard
2432
2433 \emph on
2434 document class
2435 \emph default
2436  describes a group of properties common to a particular set of documents.
2437  By setting the document class, you automatically select these properties,
2438  making it easier to create the type of document you want.
2439  If you don't choose a document class, LyX picks one for you by default.
2440  So it is up to you to change the class of your document.
2441 \end_layout
2442
2443 \begin_layout Subsection
2444 Document Classes
2445 \begin_inset Index idx
2446 status collapsed
2447
2448 \begin_layout Plain Layout
2449 Document ! Classes
2450 \end_layout
2451
2452 \end_inset
2453
2454
2455 \begin_inset CommandInset label
2456 LatexCommand label
2457 name "sec:Document-Classes"
2458
2459 \end_inset
2460
2461
2462 \end_layout
2463
2464 \begin_layout Standard
2465 You can select a class using the 
2466 \family sans
2467 Document\SpecialChar \menuseparator
2468 Settings\SpecialChar \menuseparator
2469 Document Class
2470 \family default
2471
2472 \begin_inset Index idx
2473 status collapsed
2474
2475 \begin_layout Plain Layout
2476 Document ! Settings
2477 \end_layout
2478
2479 \end_inset
2480
2481  dialog.
2482  Select the class you want to use, and make any fine tunings of the options
2483  you may need.
2484 \end_layout
2485
2486 \begin_layout Subsubsection
2487 Overview
2488 \end_layout
2489
2490 \begin_layout Standard
2491 There are four standard document classes in LyX.
2492  They are:
2493 \end_layout
2494
2495 \begin_layout Description
2496 Article for basic articles
2497 \end_layout
2498
2499 \begin_layout Description
2500 Report for basic reports
2501 \end_layout
2502
2503 \begin_layout Description
2504 Book for writing a book
2505 \end_layout
2506
2507 \begin_layout Description
2508 Letter for US-style letters
2509 \end_layout
2510
2511 \begin_layout Standard
2512 There are also some non-standard classes, which LyX only uses if you have
2513  installed the corresponding LaTeX class files, though most LaTeX distributions
2514  will include many of these.
2515  Here are some of the classes.
2516  The full list with detailed explanations can be found in chapter 
2517 \emph on
2518 Special Document Classes
2519 \emph default
2520  in the 
2521 \emph on
2522 Additional Features
2523 \emph default
2524  manual:
2525 \end_layout
2526
2527 \begin_layout Description
2528 A&A Journal articles in the style and format used in Astronomy & Astrophysics
2529 \end_layout
2530
2531 \begin_layout Description
2532 ACS For submissions to the journals published by the American Chemistry
2533  Society
2534 \end_layout
2535
2536 \begin_layout Description
2537 AGU For submissions to the journals published by the American Geophysical
2538  Union
2539 \end_layout
2540
2541 \begin_layout Description
2542 AMS Layouts for articles and books in the style and format used by the American
2543  Mathematical Society (AMS).
2544  There are three article layouts available.
2545  The standard one uses a typical numbering scheme for theorems etc., that
2546  prepends the section number to the number of the result.
2547  All result-type statements (propositions, corollaries, and so on) are sequenced
2548  together, but definitions, examples, and the like have their own sequence.
2549  The 
2550 \begin_inset Quotes eld
2551 \end_inset
2552
2553 sequential numbering
2554 \begin_inset Quotes erd
2555 \end_inset
2556
2557  scheme does not place the section number with each result, but numbers
2558  them throughout the article in a single sequence.
2559  Each type of result gets its own sequence.
2560  There is also a layout that dispenses with numbering of statements altogether.
2561 \end_layout
2562
2563 \begin_layout Description
2564 Beamer Layout for presentations
2565 \end_layout
2566
2567 \begin_layout Description
2568 Broadway Layout for writing plays.
2569  It is not an existing LaTeX document class, but a new one that is distributed
2570  with LyX.
2571 \end_layout
2572
2573 \begin_layout Description
2574 Chess Layout to write about chess games
2575 \end_layout
2576
2577 \begin_layout Description
2578 Curriculum
2579 \begin_inset space ~
2580 \end_inset
2581
2582 vitae classes to create curriculum vitae
2583 \end_layout
2584
2585 \begin_layout Description
2586 Elsarticle Layout for journals of the Elsevier publishing group
2587 \end_layout
2588
2589 \begin_layout Description
2590 Foils Used to make transparencies
2591 \end_layout
2592
2593 \begin_layout Description
2594 Hollywood Used to type spec scripts for the US film industry.
2595  It is not an existing LaTeX document class, but a new one that is distributed
2596  with LyX.
2597 \end_layout
2598
2599 \begin_layout Description
2600 IEEEtran Layout for the journals published by the Institute of Electrical
2601  and Electronics Engineers (IEEE)
2602 \end_layout
2603
2604 \begin_layout Description
2605 IOP Layout for journals of the Institute of Physics publishing group
2606 \end_layout
2607
2608 \begin_layout Description
2609 Kluwer Layout for journals of the Kluwer publishing group
2610 \end_layout
2611
2612 \begin_layout Description
2613 KOMA-Script a replacement for the standard classes, offers many useful features
2614  like caption formatting, automatic print space calculation etc.
2615  (Is used by this document.)
2616 \end_layout
2617
2618 \begin_layout Description
2619 Memoir another replacement for the standard classes
2620 \end_layout
2621
2622 \begin_layout Description
2623 Powerdot Layout for presentations
2624 \end_layout
2625
2626 \begin_layout Description
2627 REVTe
2628 \begin_inset ERT
2629 status collapsed
2630
2631 \begin_layout Plain Layout
2632
2633 {}
2634 \end_layout
2635
2636 \end_inset
2637
2638 X is used to write articles for the publications of the American Physical
2639  Society (APS), American Institute of Physics (AIP), and Optical Society
2640  of America (OSA).
2641  This class is not completely compatible with all LyX features.
2642 \end_layout
2643
2644 \begin_layout Description
2645 Slides Used to make transparencies
2646 \end_layout
2647
2648 \begin_layout Description
2649 SPIE
2650 \begin_inset space ~
2651 \end_inset
2652
2653 Proceedings Layout for the journals published by The International Society
2654  for Optical Engineering (SPIE)
2655 \end_layout
2656
2657 \begin_layout Description
2658 Springer Layouts for journals of the Springer publishing group
2659 \end_layout
2660
2661 \begin_layout Standard
2662 We will not go into detail about how to use these different document classes
2663  here.
2664  You can find details about the non-standard classes in Chapter 6 of the
2665  
2666 \emph on
2667 Additional Features
2668 \emph default
2669  manual.
2670  Here, we will settle for a list of some of the common properties of all
2671  of the document classes.
2672 \end_layout
2673
2674 \begin_layout Subsubsection
2675 Availability
2676 \end_layout
2677
2678 \begin_layout Standard
2679 You will probably find that many of the document classes listed under 
2680 \family sans
2681 Document\SpecialChar \menuseparator
2682 Settings\SpecialChar \menuseparator
2683 Document Class
2684 \begin_inset Index idx
2685 status collapsed
2686
2687 \begin_layout Plain Layout
2688 Document ! Settings
2689 \end_layout
2690
2691 \end_inset
2692
2693  
2694 \family default
2695 are marked as 
2696 \begin_inset Quotes eld
2697 \end_inset
2698
2699 Unavailable
2700 \begin_inset Quotes erd
2701 \end_inset
2702
2703 .
2704  If you open a document that uses such a class, you will receive a warning
2705  saying that there are files that are required to produce output that are
2706  not installed.
2707  So it may seem that something is wrong.
2708 \end_layout
2709
2710 \begin_layout Standard
2711 Nothing is wrong.
2712  LyX includes many more document classes than you will ever need to use,
2713  and some of them, like 
2714 \family sans
2715 IOP
2716 \family default
2717 , are highly specialized.
2718  LyX tries to support as many different types of documents as possible,
2719  and it includes almost one hundred different layout files, with a growing
2720  number.
2721  No LaTeX distribution will install by default all files that might be needed
2722  by some document class.
2723  There are just too many of them.
2724  That is why some of the document classes are unavailable.
2725 \end_layout
2726
2727 \begin_layout Standard
2728 If there is a document class you would like to use that is marked as 
2729 \begin_inset Quotes erd
2730 \end_inset
2731
2732 Unavailable
2733 \begin_inset Quotes erd
2734 \end_inset
2735
2736 , you just need to install the appropriate package files.
2737  The easiest way to find out which files you need to install is to use that
2738  document class for a new file.
2739  LyX will display a dialog that will list the missing files.
2740  See section 
2741 \begin_inset Quotes eld
2742 \end_inset
2743
2744 Installing new LaTeX files
2745 \begin_inset Quotes erd
2746 \end_inset
2747
2748  in of the 
2749 \emph on
2750 Customization
2751 \emph default
2752  manual for information on how to install them.
2753 \begin_inset VSpace medskip
2754 \end_inset
2755
2756
2757 \end_layout
2758
2759 \begin_layout Standard
2760 Although LyX provides support for many different sorts of documents, it
2761  does not include support for every document class people might want to
2762  use.
2763  For example, many universities provide LaTeX class files to be used for
2764  dissertations submitted to those universities.
2765  The LyX team cannot write layout files to support every one of these.
2766  There are too many.
2767  Fortunately, users can write their own layout files, and many users have
2768  done so.
2769  Chapter 
2770 \emph on
2771 Installing New Document Classes, Layouts, and Templates
2772 \emph default
2773  of the 
2774 \emph on
2775 Customization
2776 \emph default
2777  manual contains information on how to create layout files.
2778 \end_layout
2779
2780 \begin_layout Subsubsection
2781 Modules
2782 \begin_inset CommandInset label
2783 LatexCommand label
2784 name "sub:Modules"
2785
2786 \end_inset
2787
2788
2789 \begin_inset Index idx
2790 status collapsed
2791
2792 \begin_layout Plain Layout
2793 Document ! Modules
2794 \end_layout
2795
2796 \end_inset
2797
2798
2799 \end_layout
2800
2801 \begin_layout Standard
2802 Modules load additional features that are not by default available in the
2803  chosen document class.
2804  For example you might want to write Braille (embossed printing) in a document.
2805  This is not available in any document class, so you have to load the correspond
2806 ing module in the 
2807 \family sans
2808 Modules
2809 \family default
2810  section of the 
2811 \family sans
2812 Document\SpecialChar \menuseparator
2813 Settings
2814 \family default
2815
2816 \begin_inset Index idx
2817 status collapsed
2818
2819 \begin_layout Plain Layout
2820 Document ! Settings
2821 \end_layout
2822
2823 \end_inset
2824
2825  dialog.
2826  Highlighting a module in the dialog will bring up a description of what
2827  it does.
2828 \end_layout
2829
2830 \begin_layout Standard
2831 Some modules require LaTeX packages or file format converters that are not
2832  always installed by default.
2833  LyX will warn you if you do not have a required package or converter, and
2834  it will tell you what exactly you are missing.
2835  You can still use the module while editing your file, but you will not
2836  be able to export to PDF or print your document, since LyX will not be
2837  able to compile the LaTeX file without the missing prerequisites.
2838  If you want to be able to produce this kind of output, then you need to
2839  install the missing prerequisites and then reconfigure LyX by selecting
2840  
2841 \family sans
2842 Tools\SpecialChar \menuseparator
2843 Reconfigure
2844 \family default
2845 .
2846 \begin_inset Index idx
2847 status collapsed
2848
2849 \begin_layout Plain Layout
2850 Reconfiguration of LyX
2851 \end_layout
2852
2853 \end_inset
2854
2855  See section 
2856 \begin_inset Quotes eld
2857 \end_inset
2858
2859 Installing new LaTeX files
2860 \begin_inset Quotes erd
2861 \end_inset
2862
2863  of the 
2864 \emph on
2865 Customization
2866 \emph default
2867  manual for more information on installing required packages.
2868 \end_layout
2869
2870 \begin_layout Standard
2871 \begin_inset Note Greyedout
2872 status open
2873
2874 \begin_layout Plain Layout
2875
2876 \series bold
2877 Note:
2878 \series default
2879  Some modules require other modules, and some pairs of modules are incompatible.
2880  LyX will advise you about these things.
2881 \end_layout
2882
2883 \end_inset
2884
2885
2886 \end_layout
2887
2888 \begin_layout Subsubsection
2889 Local Layout
2890 \begin_inset CommandInset label
2891 LatexCommand label
2892 name "sub:Local-Layout"
2893
2894 \end_inset
2895
2896
2897 \begin_inset Index idx
2898 status collapsed
2899
2900 \begin_layout Plain Layout
2901 Document ! Local Layout
2902 \end_layout
2903
2904 \end_inset
2905
2906
2907 \end_layout
2908
2909 \begin_layout Standard
2910 Modules are to LyX much as packages are to LaTeX: They are intended to be
2911  used in a variety of different documents.
2912  If you often find yourself needing the same sort of thing in different
2913  documents, you should consider writing a module for this purpose.
2914  Sometimes, however, a particular document has very special needs, but you
2915  need a specific inset or character style only that one time.
2916  You want something that is like a document's own LaTeX preamble.
2917  What you want is LyX's 
2918 \begin_inset Quotes eld
2919 \end_inset
2920
2921 Local Layout
2922 \begin_inset Quotes erd
2923 \end_inset
2924
2925 .
2926  See section 
2927 \emph on
2928 Local Layout
2929 \emph default
2930  of the 
2931 \emph on
2932 Customization
2933 \emph default
2934  manual for information on how to use it.
2935 \end_layout
2936
2937 \begin_layout Subsubsection
2938 Properties
2939 \end_layout
2940
2941 \begin_layout Standard
2942 Each class has a default set of options.
2943  Here's a quick table describing them:
2944 \end_layout
2945
2946 \begin_layout Standard
2947 \begin_inset VSpace 0.3cm
2948 \end_inset
2949
2950
2951 \end_layout
2952
2953 \begin_layout Standard
2954 \align center
2955 \begin_inset Tabular
2956 <lyxtabular version="3" rows="5" columns="5">
2957 <features rotate="0" tabularvalignment="middle">
2958 <column alignment="center" valignment="top" width="0pt">
2959 <column alignment="center" valignment="top" width="0pt">
2960 <column alignment="center" valignment="top" width="0pt">
2961 <column alignment="center" valignment="top" width="0pt">
2962 <column alignment="center" valignment="top" width="0pt">
2963 <row>
2964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2965 \begin_inset Text
2966
2967 \begin_layout Plain Layout
2968
2969 \end_layout
2970
2971 \end_inset
2972 </cell>
2973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2974 \begin_inset Text
2975
2976 \begin_layout Plain Layout
2977
2978 \family sans
2979 \series medium
2980 \shape up
2981 \size normal
2982 \emph off
2983 \bar no
2984 \noun off
2985 \color none
2986 Page style
2987 \end_layout
2988
2989 \end_inset
2990 </cell>
2991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Plain Layout
2995
2996 \family sans
2997 \series medium
2998 \shape up
2999 \size normal
3000 \emph off
3001 \bar no
3002 \noun off
3003 \color none
3004 Sides
3005 \end_layout
3006
3007 \end_inset
3008 </cell>
3009 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3010 \begin_inset Text
3011
3012 \begin_layout Plain Layout
3013
3014 \family sans
3015 \series medium
3016 \shape up
3017 \size normal
3018 \emph off
3019 \bar no
3020 \noun off
3021 \color none
3022 Columns
3023 \end_layout
3024
3025 \end_inset
3026 </cell>
3027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3028 \begin_inset Text
3029
3030 \begin_layout Plain Layout
3031
3032 \series medium
3033 \shape up
3034 \size normal
3035 \emph off
3036 \bar no
3037 \noun off
3038 \color none
3039 Max.
3040  sectioning level
3041 \end_layout
3042
3043 \end_inset
3044 </cell>
3045 </row>
3046 <row>
3047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3048 \begin_inset Text
3049
3050 \begin_layout Plain Layout
3051
3052 \series medium
3053 \shape up
3054 \size normal
3055 \emph off
3056 \bar no
3057 \noun off
3058 \color none
3059 article
3060 \end_layout
3061
3062 \end_inset
3063 </cell>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Plain Layout
3068
3069 \family sans
3070 \series medium
3071 \shape up
3072 \size normal
3073 \emph off
3074 \bar no
3075 \noun off
3076 \color none
3077 Plain
3078 \end_layout
3079
3080 \end_inset
3081 </cell>
3082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3083 \begin_inset Text
3084
3085 \begin_layout Plain Layout
3086
3087 \family sans
3088 \series medium
3089 \shape up
3090 \size normal
3091 \emph off
3092 \bar no
3093 \noun off
3094 \color none
3095 One
3096 \end_layout
3097
3098 \end_inset
3099 </cell>
3100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3101 \begin_inset Text
3102
3103 \begin_layout Plain Layout
3104
3105 \family sans
3106 \series medium
3107 \shape up
3108 \size normal
3109 \emph off
3110 \bar no
3111 \noun off
3112 \color none
3113 One
3114 \end_layout
3115
3116 \end_inset
3117 </cell>
3118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3119 \begin_inset Text
3120
3121 \begin_layout Plain Layout
3122
3123 \family sans
3124 \series medium
3125 \shape up
3126 \size normal
3127 \emph off
3128 \bar no
3129 \noun off
3130 \color none
3131 Section
3132 \end_layout
3133
3134 \end_inset
3135 </cell>
3136 </row>
3137 <row>
3138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3139 \begin_inset Text
3140
3141 \begin_layout Plain Layout
3142
3143 \series medium
3144 \shape up
3145 \size normal
3146 \emph off
3147 \bar no
3148 \noun off
3149 \color none
3150 report
3151 \end_layout
3152
3153 \end_inset
3154 </cell>
3155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3156 \begin_inset Text
3157
3158 \begin_layout Plain Layout
3159
3160 \family sans
3161 \series medium
3162 \shape up
3163 \size normal
3164 \emph off
3165 \bar no
3166 \noun off
3167 \color none
3168 Plain
3169 \end_layout
3170
3171 \end_inset
3172 </cell>
3173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3174 \begin_inset Text
3175
3176 \begin_layout Plain Layout
3177
3178 \family sans
3179 \series medium
3180 \shape up
3181 \size normal
3182 \emph off
3183 \bar no
3184 \noun off
3185 \color none
3186 One
3187 \end_layout
3188
3189 \end_inset
3190 </cell>
3191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3192 \begin_inset Text
3193
3194 \begin_layout Plain Layout
3195
3196 \family sans
3197 \series medium
3198 \shape up
3199 \size normal
3200 \emph off
3201 \bar no
3202 \noun off
3203 \color none
3204 One
3205 \end_layout
3206
3207 \end_inset
3208 </cell>
3209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3210 \begin_inset Text
3211
3212 \begin_layout Plain Layout
3213
3214 \family sans
3215 \series medium
3216 \shape up
3217 \size normal
3218 \emph off
3219 \bar no
3220 \noun off
3221 \color none
3222 Chapter
3223 \end_layout
3224
3225 \end_inset
3226 </cell>
3227 </row>
3228 <row>
3229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3230 \begin_inset Text
3231
3232 \begin_layout Plain Layout
3233
3234 \series medium
3235 \shape up
3236 \size normal
3237 \emph off
3238 \bar no
3239 \noun off
3240 \color none
3241 book
3242 \end_layout
3243
3244 \end_inset
3245 </cell>
3246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3247 \begin_inset Text
3248
3249 \begin_layout Plain Layout
3250
3251 \family sans
3252 \series medium
3253 \shape up
3254 \size normal
3255 \emph off
3256 \bar no
3257 \noun off
3258 \color none
3259 Headings
3260 \end_layout
3261
3262 \end_inset
3263 </cell>
3264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3265 \begin_inset Text
3266
3267 \begin_layout Plain Layout
3268
3269 \family sans
3270 \series medium
3271 \shape up
3272 \size normal
3273 \emph off
3274 \bar no
3275 \noun off
3276 \color none
3277 Two
3278 \end_layout
3279
3280 \end_inset
3281 </cell>
3282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3283 \begin_inset Text
3284
3285 \begin_layout Plain Layout
3286
3287 \family sans
3288 \series medium
3289 \shape up
3290 \size normal
3291 \emph off
3292 \bar no
3293 \noun off
3294 \color none
3295 One
3296 \end_layout
3297
3298 \end_inset
3299 </cell>
3300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3301 \begin_inset Text
3302
3303 \begin_layout Plain Layout
3304
3305 \family sans
3306 \series medium
3307 \shape up
3308 \size normal
3309 \emph off
3310 \bar no
3311 \noun off
3312 \color none
3313 Chapter
3314 \end_layout
3315
3316 \end_inset
3317 </cell>
3318 </row>
3319 <row>
3320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3321 \begin_inset Text
3322
3323 \begin_layout Plain Layout
3324
3325 \series medium
3326 \shape up
3327 \size normal
3328 \emph off
3329 \bar no
3330 \noun off
3331 \color none
3332 letter
3333 \end_layout
3334
3335 \end_inset
3336 </cell>
3337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3338 \begin_inset Text
3339
3340 \begin_layout Plain Layout
3341
3342 \family sans
3343 \series medium
3344 \shape up
3345 \size normal
3346 \emph off
3347 \bar no
3348 \noun off
3349 \color none
3350 Plain
3351 \end_layout
3352
3353 \end_inset
3354 </cell>
3355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3356 \begin_inset Text
3357
3358 \begin_layout Plain Layout
3359
3360 \family sans
3361 \series medium
3362 \shape up
3363 \size normal
3364 \emph off
3365 \bar no
3366 \noun off
3367 \color none
3368 One
3369 \end_layout
3370
3371 \end_inset
3372 </cell>
3373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3374 \begin_inset Text
3375
3376 \begin_layout Plain Layout
3377
3378 \family sans
3379 \series medium
3380 \shape up
3381 \size normal
3382 \emph off
3383 \bar no
3384 \noun off
3385 \color none
3386 One
3387 \end_layout
3388
3389 \end_inset
3390 </cell>
3391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3392 \begin_inset Text
3393
3394 \begin_layout Plain Layout
3395
3396 \series medium
3397 \shape up
3398 \size normal
3399 \emph off
3400 \bar no
3401 \noun off
3402 \color none
3403 none
3404 \end_layout
3405
3406 \end_inset
3407 </cell>
3408 </row>
3409 </lyxtabular>
3410
3411 \end_inset
3412
3413
3414 \end_layout
3415
3416 \begin_layout Standard
3417 \begin_inset VSpace 0.3cm
3418 \end_inset
3419
3420
3421 \end_layout
3422
3423 \begin_layout Standard
3424 You're probably also wondering what 
3425 \begin_inset Quotes eld
3426 \end_inset
3427
3428 Max.
3429 \begin_inset space ~
3430 \end_inset
3431
3432 sectioning level
3433 \begin_inset Quotes erd
3434 \end_inset
3435
3436  means.
3437  There are several paragraph environments used to create section headings.
3438  Different document classes allow different types of section headings.
3439  Only two use the 
3440 \family sans
3441 Chapter
3442 \family default
3443  heading; the rest do not and begin instead with the 
3444 \family sans
3445 Section
3446 \family default
3447  heading.
3448  Some document classes, such as the ones for letters, don't use any section
3449  headings.
3450  In addition to 
3451 \family sans
3452 Chapter
3453 \family default
3454  and 
3455 \family sans
3456 Section
3457 \family default
3458  headings, there are also 
3459 \family sans
3460 Subsection
3461 \family default
3462  headings, 
3463 \family sans
3464 Subsubsection
3465 \family default
3466  headings, and so on.
3467  We will describe these headings fully in section
3468 \begin_inset space ~
3469 \end_inset
3470
3471
3472 \begin_inset CommandInset ref
3473 LatexCommand ref
3474 reference "sub:Headings"
3475
3476 \end_inset
3477
3478 .
3479 \end_layout
3480
3481 \begin_layout Subsection
3482 Document Layout
3483 \begin_inset CommandInset label
3484 LatexCommand label
3485 name "sub:Document-Layout"
3486
3487 \end_inset
3488
3489
3490 \begin_inset Index idx
3491 status collapsed
3492
3493 \begin_layout Plain Layout
3494 Document ! Layout
3495 \end_layout
3496
3497 \end_inset
3498
3499
3500 \family sans
3501
3502 \begin_inset Index idx
3503 status collapsed
3504
3505 \begin_layout Plain Layout
3506 Document ! Settings
3507 \end_layout
3508
3509 \end_inset
3510
3511
3512 \end_layout
3513
3514 \begin_layout Standard
3515 The most important properties of document classes are set in the menu 
3516 \family sans
3517 Document\SpecialChar \menuseparator
3518 Settings
3519 \family default
3520 .
3521  There in the 
3522 \family sans
3523 Class
3524 \begin_inset space ~
3525 \end_inset
3526
3527 options
3528 \family default
3529  field under 
3530 \family sans
3531 Documents
3532 \begin_inset space ~
3533 \end_inset
3534
3535 Class
3536 \family default
3537 , you can enter special options for your document class in a comma-separated
3538  list.
3539  This is only necessary if LyX doesn't support special options you want
3540  to use for your document.
3541  To learn more about your favorite LaTeX-class and its options, you have
3542  to read its manual.
3543 \end_layout
3544
3545 \begin_layout Standard
3546 The drop box 
3547 \family sans
3548 Headings
3549 \begin_inset space ~
3550 \end_inset
3551
3552 style
3553 \family default
3554  in the 
3555 \family sans
3556 Document\SpecialChar \menuseparator
3557 Settings
3558 \family default
3559  dialog under 
3560 \family sans
3561 Page
3562 \begin_inset space ~
3563 \end_inset
3564
3565 Layout
3566 \family default
3567  controls what sorts of headings and page numbers go on a page.
3568  You can choose between the following five options:
3569 \end_layout
3570
3571 \begin_layout Labeling
3572 \labelwidthstring 00.00.0000
3573
3574 \family sans
3575 Default
3576 \family default
3577  Use default page style of current class.
3578 \end_layout
3579
3580 \begin_layout Labeling
3581 \labelwidthstring 00.00.0000
3582
3583 \family sans
3584 empty
3585 \family default
3586  No page numbers or headings.
3587 \end_layout
3588
3589 \begin_layout Labeling
3590 \labelwidthstring 00.00.0000
3591
3592 \family sans
3593 plain
3594 \family default
3595  Page numbers only.
3596 \end_layout
3597
3598 \begin_layout Labeling
3599 \labelwidthstring 00.00.0000
3600
3601 \family sans
3602 headings
3603 \family default
3604  Page numbers and either the current chapter or section title and number.
3605  Whether LyX uses the current chapter or the current section depends on
3606  the maximum sectioning level of the class.
3607 \end_layout
3608
3609 \begin_layout Labeling
3610 \labelwidthstring 00.00.0000
3611
3612 \family sans
3613 fancy
3614 \family default
3615  This allows you to define fully customizable headers and footers if you
3616  have the LaTeX-package 
3617 \series bold
3618 fancyhdr
3619 \series default
3620
3621 \begin_inset Index idx
3622 status collapsed
3623
3624 \begin_layout Plain Layout
3625 LaTeX-packages ! fancyhdr
3626 \end_layout
3627
3628 \end_inset
3629
3630  installed.
3631  How they are defined is explained in section
3632 \begin_inset space ~
3633 \end_inset
3634
3635
3636 \begin_inset CommandInset ref
3637 LatexCommand ref
3638 reference "sec:Customized-Page-Headers"
3639
3640 \end_inset
3641
3642 .
3643 \end_layout
3644
3645 \begin_layout Standard
3646 The separation of paragraphs is described in section
3647 \begin_inset space ~
3648 \end_inset
3649
3650
3651 \begin_inset CommandInset ref
3652 LatexCommand ref
3653 reference "sub:Paragraph-Separation"
3654
3655 \end_inset
3656
3657 .
3658 \end_layout
3659
3660 \begin_layout Subsection
3661 Paper Size and Orientation
3662 \begin_inset Index idx
3663 status collapsed
3664
3665 \begin_layout Plain Layout
3666 Document ! Paper size
3667 \end_layout
3668
3669 \end_inset
3670
3671
3672 \begin_inset CommandInset label
3673 LatexCommand label
3674 name "sub:Paper-Size,-Orientation"
3675
3676 \end_inset
3677
3678
3679 \end_layout
3680
3681 \begin_layout Standard
3682 You can find the following options in the menu 
3683 \family sans
3684 Page
3685 \begin_inset space ~
3686 \end_inset
3687
3688 Layout
3689 \family default
3690  of the 
3691 \family sans
3692 Document\SpecialChar \menuseparator
3693 Settings
3694 \family default
3695  dialog:
3696 \family sans
3697
3698 \begin_inset Index idx
3699 status collapsed
3700
3701 \begin_layout Plain Layout
3702 Document ! Settings
3703 \end_layout
3704
3705 \end_inset
3706
3707
3708 \end_layout
3709
3710 \begin_layout Labeling
3711 \labelwidthstring 00.00.0000
3712
3713 \family sans
3714 Paper
3715 \begin_inset space ~
3716 \end_inset
3717
3718 Format
3719 \family default
3720  What size paper to print on.
3721  The choices are
3722 \end_layout
3723
3724 \begin_deeper
3725 \begin_layout Itemize
3726
3727 \family sans
3728 Default
3729 \end_layout
3730
3731 \begin_layout Itemize
3732
3733 \family sans
3734 A0 - A6
3735 \end_layout
3736
3737 \begin_layout Itemize
3738
3739 \family sans
3740 B0 - B6
3741 \end_layout
3742
3743 \begin_layout Itemize
3744
3745 \family sans
3746 C0 - C6
3747 \end_layout
3748
3749 \begin_layout Itemize
3750
3751 \family sans
3752 US letter, US legal, US executive
3753 \end_layout
3754
3755 \begin_layout Itemize
3756
3757 \family sans
3758 JIS B0 - JIS B6
3759 \end_layout
3760
3761 \begin_layout Itemize
3762
3763 \family sans
3764 Custom
3765 \end_layout
3766
3767 \end_deeper
3768 \begin_layout Labeling
3769 \labelwidthstring 00.00.0000
3770
3771 \family sans
3772 Orientation
3773 \family default
3774  To choose whether to output as 
3775 \family sans
3776 Landscape
3777 \family default
3778  or as 
3779 \family sans
3780 Portrait
3781 \family default
3782 .
3783 \end_layout
3784
3785 \begin_layout Labeling
3786 \labelwidthstring 00.00.0000
3787
3788 \family sans
3789 Two-sided
3790 \begin_inset space ~
3791 \end_inset
3792
3793 document
3794 \family default
3795  Adjusts the print space to print both sides of paper.
3796  That means that the print space for odd- and even-numbered pages is different.
3797 \end_layout
3798
3799 \begin_layout Subsection
3800 Margins
3801 \begin_inset CommandInset label
3802 LatexCommand label
3803 name "sub:Margins"
3804
3805 \end_inset
3806
3807
3808 \begin_inset Index idx
3809 status collapsed
3810
3811 \begin_layout Plain Layout
3812 Document ! Margins
3813 \end_layout
3814
3815 \end_inset
3816
3817
3818 \begin_inset Index idx
3819 status collapsed
3820
3821 \begin_layout Plain Layout
3822 Margins
3823 \end_layout
3824
3825 \end_inset
3826
3827
3828 \end_layout
3829
3830 \begin_layout Standard
3831 Paper margins are set in the menu 
3832 \family sans
3833 Document\SpecialChar \menuseparator
3834 Settings
3835 \family default
3836 .
3837 \begin_inset Index idx
3838 status collapsed
3839
3840 \begin_layout Plain Layout
3841 Document ! Settings
3842 \end_layout
3843
3844 \end_inset
3845
3846
3847 \end_layout
3848
3849 \begin_layout Standard
3850 If you use a KOMA-Script document class, you can use the default settings
3851  because KOMA-Script calculates the print space automatically by taking
3852  the paper format and the font size into account.
3853 \end_layout
3854
3855 \begin_layout Subsection
3856 Important Note
3857 \end_layout
3858
3859 \begin_layout Standard
3860 If you change a document class, LyX has to convert 
3861 \emph on
3862 everything
3863 \emph default
3864  into the new class.
3865  That includes the paragraph environments.
3866  Some paragraph environments are standard, in so far as all of the document
3867  classes have them; but some classes have special paragraph environments.
3868  If this is the case, and you change the document class, LyX will mark the
3869  paragraphs whose styles it no longer understands as 
3870 \begin_inset Quotes eld
3871 \end_inset
3872
3873 unknown
3874 \begin_inset Quotes erd
3875 \end_inset
3876
3877 .
3878  The name of the style is retained, in case you should want to go back to
3879  the old class.
3880  But these paragraphs will be output with no special formatting, so you
3881  will either need to create a new style yourself or else convert these paragraph
3882 s manually to a style present in your new document class.
3883 \end_layout
3884
3885 \begin_layout Section
3886 Paragraph Indentation and Separation
3887 \begin_inset Index idx
3888 status collapsed
3889
3890 \begin_layout Plain Layout
3891 Paragraph ! Indentation
3892 \end_layout
3893
3894 \end_inset
3895
3896
3897 \end_layout
3898
3899 \begin_layout Subsection
3900 Introduction
3901 \begin_inset CommandInset label
3902 LatexCommand label
3903 name "sec:Par-indent-intro"
3904
3905 \end_inset
3906
3907
3908 \end_layout
3909
3910 \begin_layout Standard
3911 Before describing all of the various paragraph environments, we'd like to
3912  say a word or two about paragraph indentation.
3913 \end_layout
3914
3915 \begin_layout Standard
3916 Everyone seems to have their own convention for separating paragraphs.
3917  Most Americans indent the first line of a paragraph.
3918  Others don't indent but put extra space between the paragraphs.
3919  If you choose indentation for paragraphs the 
3920 \emph on
3921 first
3922 \emph default
3923  paragraph of a section, or after a figure, an equation, a table, a list,
3924  etc., is 
3925 \emph on
3926 not
3927 \emph default
3928  indented.
3929  Only a paragraph following another paragraph gets indented.
3930  Note that the indentation behavior is different when you use another document
3931  language than English.
3932  LaTeX takes care that the indentation follows the rules of the language
3933  used.
3934 \end_layout
3935
3936 \begin_layout Standard
3937 The space between paragraphs, like the line spacing, the space between headings
3938  and text — in fact, all the spacing for just about everything —is pre-coded
3939  into LyX.
3940  As we said, you don't worry about how much space to add between what.
3941  LyX takes care of that.
3942  In fact, these pre-coded vertical spacings aren't a single number but a
3943  range.
3944  That way, LyX can squish or stretch the space between lines to make sure
3945  figures fit on a page with text, so that sections don't start at the bottom
3946  of a page, and so on.
3947 \begin_inset Foot
3948 status collapsed
3949
3950 \begin_layout Plain Layout
3951 LaTeX does this when LyX goes to produce a printable file.
3952 \end_layout
3953
3954 \end_inset
3955
3956  However, pre-coded doesn't mean you can't change them.
3957  LyX gives you the ability globally to change 
3958 \emph on
3959 all
3960 \emph default
3961  these pre-coded spacings.
3962  We will explain more later.
3963 \end_layout
3964
3965 \begin_layout Subsection
3966 Paragraph Separation
3967 \begin_inset CommandInset label
3968 LatexCommand label
3969 name "sub:Paragraph-Separation"
3970
3971 \end_inset
3972
3973
3974 \begin_inset Index idx
3975 status collapsed
3976
3977 \begin_layout Plain Layout
3978 Paragraph ! Separation
3979 \end_layout
3980
3981 \end_inset
3982
3983
3984 \end_layout
3985
3986 \begin_layout Standard
3987 Select 
3988 \family sans
3989 Indentation
3990 \family default
3991  or 
3992 \family sans
3993 Vertical
3994 \begin_inset space ~
3995 \end_inset
3996
3997 space
3998 \family default
3999  in the submenu 
4000 \family sans
4001 Text
4002 \begin_inset space ~
4003 \end_inset
4004
4005 Layout
4006 \family default
4007  of the dialog 
4008 \family sans
4009 Document\SpecialChar \menuseparator
4010 Settings
4011 \family default
4012
4013 \begin_inset Index idx
4014 status collapsed
4015
4016 \begin_layout Plain Layout
4017 Document ! Settings
4018 \end_layout
4019
4020 \end_inset
4021
4022  to indent paragraphs or to add extra space between paragraphs, respectively.
4023 \end_layout
4024
4025 \begin_layout Subsection
4026 Fine-Tuning
4027 \end_layout
4028
4029 \begin_layout Standard
4030 You can also change the separation method of a single paragraph.
4031  Open the 
4032 \family sans
4033 Edit\SpecialChar \menuseparator
4034 Paragraph
4035 \begin_inset space ~
4036 \end_inset
4037
4038 Settings
4039 \family default
4040  dialog and toggle the 
4041 \family sans
4042 Indent
4043 \begin_inset space ~
4044 \end_inset
4045
4046 Paragraph
4047 \family default
4048  option to change the state of the current paragraph (shortcut 
4049 \begin_inset Info
4050 type  "shortcut"
4051 arg   "paragraph-params \\indent-toggle"
4052 \end_inset
4053
4054 ).
4055  If paragraphs have no indentation but use extra space for separation, this
4056  button will be ignored (you can't indent a single paragraph by toggling
4057  this).
4058 \end_layout
4059
4060 \begin_layout Standard
4061 You should only need to change the indentation method for a single paragraph
4062  if you need to do some fine-tuning.
4063 \end_layout
4064
4065 \begin_layout Subsection
4066 Line Spacing
4067 \begin_inset Index idx
4068 status collapsed
4069
4070 \begin_layout Plain Layout
4071 Paragraph ! Line spacing
4072 \end_layout
4073
4074 \end_inset
4075
4076
4077 \end_layout
4078
4079 \begin_layout Standard
4080 In the 
4081 \family sans
4082 Document\SpecialChar \menuseparator
4083 Settings
4084 \noun on
4085
4086 \begin_inset Index idx
4087 status collapsed
4088
4089 \begin_layout Plain Layout
4090 Document ! Settings
4091 \end_layout
4092
4093 \end_inset
4094
4095
4096 \family default
4097 \noun default
4098  dialog you can set the line spacing for the whole document in the submenu
4099  
4100 \family sans
4101 Text
4102 \begin_inset space ~
4103 \end_inset
4104
4105 Layout
4106 \family default
4107 .
4108 \begin_inset Foot
4109 status collapsed
4110
4111 \begin_layout Plain Layout
4112 You need to have the LaTeX-package 
4113 \series bold
4114 setspace
4115 \series default
4116
4117 \begin_inset Index idx
4118 status collapsed
4119
4120 \begin_layout Plain Layout
4121 LaTeX-packages ! setspace
4122 \end_layout
4123
4124 \end_inset
4125
4126  installed to use this feature.
4127 \end_layout
4128
4129 \end_inset
4130
4131  You can set it for a single paragraph in the 
4132 \family sans
4133 Edit\SpecialChar \menuseparator
4134 Paragraph
4135 \begin_inset space ~
4136 \end_inset
4137
4138 Settings
4139 \family default
4140  dialog but this should be used very exceptionally because vertical spacing
4141  is normally defined in the environment's style.
4142 \end_layout
4143
4144 \begin_layout Section
4145 Paragraph Environments
4146 \begin_inset CommandInset label
4147 LatexCommand label
4148 name "sec:Paragraph-Environments"
4149
4150 \end_inset
4151
4152
4153 \begin_inset Index idx
4154 status collapsed
4155
4156 \begin_layout Plain Layout
4157 Paragraph ! Environments
4158 \end_layout
4159
4160 \end_inset
4161
4162
4163 \begin_inset Index idx
4164 status collapsed
4165
4166 \begin_layout Plain Layout
4167 Paragraph environments|(
4168 \end_layout
4169
4170 \end_inset
4171
4172
4173 \end_layout
4174
4175 \begin_layout Subsection
4176 Overview
4177 \end_layout
4178
4179 \begin_layout Standard
4180 Paragraph environments correspond to the
4181 \end_layout
4182
4183 \begin_layout Standard
4184
4185 \series bold
4186
4187 \backslash
4188 begin{
4189 \emph on
4190 environment
4191 \emph default
4192 } ...
4193  
4194 \backslash
4195 end{
4196 \emph on
4197 environment
4198 \emph default
4199 }
4200 \series default
4201
4202 \begin_inset Newline newline
4203 \end_inset
4204
4205 command sequence in LaTeX files.
4206  If you don't know LaTeX, or the concept of a paragraph environment is totally
4207  alien to you, we urge you to read the 
4208 \emph on
4209 Tutorial
4210 \emph default
4211 .
4212  The 
4213 \emph on
4214 Tutorial
4215 \emph default
4216  also contains many more examples than this section does.
4217 \end_layout
4218
4219 \begin_layout Standard
4220 A paragraph environment is simply a 
4221 \begin_inset Quotes eld
4222 \end_inset
4223
4224 container
4225 \begin_inset Quotes erd
4226 \end_inset
4227
4228  for a paragraph which gives that paragraph certain properties.
4229  This can include a particular style of font, different margins, a numbering
4230  scheme, labels, and so on.
4231  Additionally, you can 
4232 \begin_inset Quotes eld
4233 \end_inset
4234
4235 nest
4236 \begin_inset Quotes erd
4237 \end_inset
4238
4239  the different environments inside one another, allowing one environment
4240  to inherit some of the properties of another.
4241  The different paragraph environments totally replace the need for messy
4242  tab stops, on the fly margin adjustment, and other hangovers from the days
4243  of typewriters.
4244  There are several paragraph environments that are specific to a particular
4245  document type.
4246  We will only be covering the most common ones here.
4247 \end_layout
4248
4249 \begin_layout Standard
4250 To choose a new paragraph environment, use the pull-down box 
4251 \begin_inset Graphics
4252         filename clipart/ToolbarEnvBox.png
4253         scale 70
4254         clip
4255
4256 \end_inset
4257
4258  at the left end of the toolbar.
4259  LyX will change the environment of the 
4260 \emph on
4261 entire
4262 \emph default
4263  paragraph in which the cursor sits.
4264  You can also change the environment of an entire group of paragraphs if
4265  you select them before choosing the new environment.
4266  
4267 \end_layout
4268
4269 \begin_layout Standard
4270 Note that entering 
4271 \family sans
4272 Return
4273 \family default
4274  will 
4275 \emph on
4276 typically
4277 \emph default
4278  create a new paragraph using the 
4279 \family sans
4280 Standard
4281 \family default
4282  paragraph environment.
4283  We say 
4284 \begin_inset Quotes eld
4285 \end_inset
4286
4287 typically
4288 \begin_inset Quotes erd
4289 \end_inset
4290
4291  because if you are in one of these environments:
4292 \end_layout
4293
4294 \begin_layout Itemize
4295
4296 \family sans
4297 Quote
4298 \end_layout
4299
4300 \begin_layout Itemize
4301
4302 \family sans
4303 Quotation
4304 \end_layout
4305
4306 \begin_layout Itemize
4307
4308 \family sans
4309 Verse
4310 \end_layout
4311
4312 \begin_layout Itemize
4313
4314 \family sans
4315 Itemize
4316 \end_layout
4317
4318 \begin_layout Itemize
4319
4320 \family sans
4321 Enumerate
4322 \end_layout
4323
4324 \begin_layout Itemize
4325
4326 \family sans
4327 Description
4328 \end_layout
4329
4330 \begin_layout Itemize
4331
4332 \family sans
4333 List
4334 \end_layout
4335
4336 \begin_layout Standard
4337 LyX keeps the old paragraph environment when you enter 
4338 \family sans
4339 Return
4340 \family default
4341 , rather than resetting it to 
4342 \family sans
4343 Standard
4344 \family default
4345 .
4346  Also the nesting depth is preserved (for more on nesting see section
4347 \begin_inset space ~
4348 \end_inset
4349
4350
4351 \begin_inset CommandInset ref
4352 LatexCommand ref
4353 reference "sec:Nesting"
4354
4355 \end_inset
4356
4357 ).
4358 \end_layout
4359
4360 \begin_layout Subsection
4361 Standard
4362 \end_layout
4363
4364 \begin_layout Standard
4365 The default paragraph environment is 
4366 \family sans
4367 Standard
4368 \family default
4369  for most classes.
4370  It creates a plain paragraph.
4371  If LyX resets the paragraph environment, this is the one it chooses.
4372  In fact, the paragraph you're reading right now (and most of the ones in
4373  this manual) are in the 
4374 \family sans
4375 Standard
4376 \family default
4377  environment.
4378 \end_layout
4379
4380 \begin_layout Standard
4381 You can nest a paragraph using the 
4382 \family sans
4383 Standard
4384 \family default
4385  environment in just about anything else, but you can't really nest anything
4386  in a 
4387 \family sans
4388 Standard
4389 \family default
4390  environment.
4391 \end_layout
4392
4393 \begin_layout Subsection
4394 Document Title
4395 \begin_inset Index idx
4396 status collapsed
4397
4398 \begin_layout Plain Layout
4399 Document ! Title
4400 \end_layout
4401
4402 \end_inset
4403
4404
4405 \end_layout
4406
4407 \begin_layout Standard
4408 A LaTeX title page has three parts: the title itself, the name(s) of the
4409  author(s) and a 
4410 \begin_inset Quotes eld
4411 \end_inset
4412
4413 footnote
4414 \begin_inset Quotes erd
4415 \end_inset
4416
4417  for thanks or contact information.
4418  For certain types of documents, LaTeX places all of this on a separate
4419  page along with today's date.
4420  For other types of documents, the title 
4421 \begin_inset Quotes eld
4422 \end_inset
4423
4424 page
4425 \begin_inset Quotes erd
4426 \end_inset
4427
4428  goes at the top of the first page of the document.
4429  
4430 \end_layout
4431
4432 \begin_layout Standard
4433 LyX provides an interface to the title page commands through the paragraph
4434  environments 
4435 \family sans
4436 Title
4437 \family default
4438
4439 \family sans
4440 Author
4441 \family default
4442 , and 
4443 \family sans
4444 Date
4445 \family default
4446 .
4447  Here's how you use them:
4448 \end_layout
4449
4450 \begin_layout Itemize
4451 Put the title of your document in the 
4452 \family sans
4453 Title
4454 \family default
4455  environment.
4456 \end_layout
4457
4458 \begin_layout Itemize
4459 Put the author name in the 
4460 \family sans
4461 Author
4462 \family default
4463  environment.
4464 \end_layout
4465
4466 \begin_layout Itemize
4467 If you want the date to have a certain appearance, want to use a fixed date,
4468  or want other text to appear in place of today's date, put that text in
4469  the 
4470 \family sans
4471 Date
4472 \family default
4473  environment.
4474  Note that using this environment is optional.
4475  If you don't provide any, LaTeX will automatically insert today's date.
4476  If you don't want a date, use the option 
4477 \family sans
4478 Suppress default date on front page
4479 \family default
4480  in the menu 
4481 \family sans
4482 Document\SpecialChar \menuseparator
4483 Settings\SpecialChar \menuseparator
4484 Document
4485 \begin_inset space ~
4486 \end_inset
4487
4488 class
4489 \family default
4490 .
4491 \end_layout
4492
4493 \begin_layout Standard
4494 You can use footnotes to insert 
4495 \begin_inset Quotes eld
4496 \end_inset
4497
4498 thanks
4499 \begin_inset Quotes erd
4500 \end_inset
4501
4502  or contact information.
4503 \end_layout
4504
4505 \begin_layout Subsection
4506 Headings
4507 \begin_inset Index idx
4508 status collapsed
4509
4510 \begin_layout Plain Layout
4511 Section headings
4512 \end_layout
4513
4514 \end_inset
4515
4516
4517 \begin_inset CommandInset label
4518 LatexCommand label
4519 name "sub:Headings"
4520
4521 \end_inset
4522
4523
4524 \end_layout
4525
4526 \begin_layout Standard
4527 There are several paragraph environments for producing section headings.
4528  LyX takes care of the numbering for you.
4529 \end_layout
4530
4531 \begin_layout Subsubsection
4532 Numbered Headings
4533 \begin_inset Index idx
4534 status collapsed
4535
4536 \begin_layout Plain Layout
4537 Section headings ! Numbered
4538 \end_layout
4539
4540 \end_inset
4541
4542
4543 \end_layout
4544
4545 \begin_layout Standard
4546 There are 7 numbered types of section headings.
4547  They are:
4548 \end_layout
4549
4550 \begin_layout Enumerate
4551
4552 \family sans
4553 Part
4554 \end_layout
4555
4556 \begin_layout Enumerate
4557
4558 \family sans
4559 Chapter
4560 \end_layout
4561
4562 \begin_layout Enumerate
4563
4564 \family sans
4565 Section
4566 \end_layout
4567
4568 \begin_layout Enumerate
4569
4570 \family sans
4571 Subsection
4572 \end_layout
4573
4574 \begin_layout Enumerate
4575
4576 \family sans
4577 Subsubsection
4578 \end_layout
4579
4580 \begin_layout Enumerate
4581
4582 \family sans
4583 Paragraph
4584 \end_layout
4585
4586 \begin_layout Enumerate
4587
4588 \family sans
4589 Subparagraph
4590 \end_layout
4591
4592 \begin_layout Standard
4593 LyX labels each heading with a series of numbers, separated by periods.
4594  The numbers describe where in the document you are.
4595  Unlike the other headings, parts are numbered with Latin letters.
4596 \end_layout
4597
4598 \begin_layout Standard
4599 Headings all subdivide your document into different pieces of text.
4600  For example, suppose you're writing a book.
4601  You group the book into chapters.
4602  LyX does a similar grouping:
4603 \end_layout
4604
4605 \begin_layout Itemize
4606
4607 \family sans
4608 Part
4609 \family default
4610  is divided into either 
4611 \family sans
4612 Chapter
4613 \family default
4614 s or 
4615 \family sans
4616 Section
4617 \family default
4618 s
4619 \end_layout
4620
4621 \begin_layout Itemize
4622
4623 \family sans
4624 Chapter
4625 \family default
4626 s are divided into 
4627 \family sans
4628 Section
4629 \family default
4630 s
4631 \end_layout
4632
4633 \begin_layout Itemize
4634
4635 \family sans
4636 Section
4637 \family default
4638 s are divided into 
4639 \family sans
4640 Subsection
4641 \family default
4642 s
4643 \end_layout
4644
4645 \begin_layout Itemize
4646
4647 \family sans
4648 Subsection
4649 \family default
4650 s are divided into 
4651 \family sans
4652 Subsubsection
4653 \family default
4654 s
4655 \end_layout
4656
4657 \begin_layout Itemize
4658
4659 \family sans
4660 Subsubsection
4661 \family default
4662 s are divided into 
4663 \family sans
4664 Paragraph
4665 \family default
4666 s
4667 \end_layout
4668
4669 \begin_layout Itemize
4670
4671 \family sans
4672 Paragraph
4673 \family default
4674 s are divided into 
4675 \family sans
4676 Subparagraph
4677 \family default
4678 s
4679 \end_layout
4680
4681 \begin_layout Standard
4682 \begin_inset Note Greyedout
4683 status open
4684
4685 \begin_layout Plain Layout
4686
4687 \series bold
4688 Note:
4689 \series default
4690  Not all document types use the 
4691 \family sans
4692 Chapter
4693 \family default
4694  heading as the maximum sectioning level.
4695  In that case the 
4696 \family sans
4697 Section
4698 \family default
4699  is the top-level heading.
4700 \end_layout
4701
4702 \end_inset
4703
4704
4705 \end_layout
4706
4707 \begin_layout Standard
4708 So, if you use the 
4709 \family sans
4710 Subsubsection
4711 \family default
4712  environment to label a new sub-subsection, LyX labels it with its number,
4713  along with the number of the subsection, section and, if applicable, chapter
4714  that it's in.
4715  For example: the fifth section of the second chapter of this book has the
4716  label 
4717 \begin_inset Quotes eld
4718 \end_inset
4719
4720 2.5
4721 \begin_inset Quotes erd
4722 \end_inset
4723
4724 .
4725 \end_layout
4726
4727 \begin_layout Subsubsection
4728 Unnumbered Headings
4729 \begin_inset Index idx
4730 status collapsed
4731
4732 \begin_layout Plain Layout
4733 Section headings ! Unnumbered
4734 \end_layout
4735
4736 \end_inset
4737
4738
4739 \end_layout
4740
4741 \begin_layout Standard
4742 The unnumbered section headings have a 
4743 \begin_inset Quotes eld
4744 \end_inset
4745
4746 *
4747 \begin_inset Quotes erd
4748 \end_inset
4749
4750  at the end of their name.
4751  They work the same as their numbered counterparts but will not appear in
4752  the table of contents, see section
4753 \begin_inset space ~
4754 \end_inset
4755
4756
4757 \begin_inset CommandInset ref
4758 LatexCommand ref
4759 reference "sec:toc"
4760
4761 \end_inset
4762
4763 .
4764 \end_layout
4765
4766 \begin_layout Subsubsection
4767 Changing the Numbering
4768 \begin_inset CommandInset label
4769 LatexCommand label
4770 name "sub:Numbering-depth"
4771
4772 \end_inset
4773
4774
4775 \end_layout
4776
4777 \begin_layout Standard
4778 You can also alter which sectioning levels get numbered and which ones appear
4779  in the Table of Contents.
4780  Now, this doesn't remove any of the levels; that's preset in the document
4781  class.
4782  Just as certain classes start with 
4783 \family sans
4784 Chapter
4785 \family default
4786  and go down to the 
4787 \family sans
4788 Subparagraph
4789 \family default
4790  level.
4791  Others start at 
4792 \family sans
4793 Section
4794 \family default
4795 .
4796  Similarly, not all document classes number all sectioning levels.
4797  Most don't number 
4798 \family sans
4799 Paragraph
4800 \family default
4801  or 
4802 \family sans
4803 Subparagraph
4804 \family default
4805 .
4806  This is something you can change.
4807 \end_layout
4808
4809 \begin_layout Standard
4810 Open the 
4811 \family sans
4812 Document\SpecialChar \menuseparator
4813 Settings
4814 \family default
4815  dialog.
4816 \begin_inset Index idx
4817 status collapsed
4818
4819 \begin_layout Plain Layout
4820 Document ! Settings
4821 \end_layout
4822
4823 \end_inset
4824
4825  Under 
4826 \family sans
4827 Numbering
4828 \begin_inset space ~
4829 \end_inset
4830
4831 &
4832 \begin_inset space ~
4833 \end_inset
4834
4835 TOC
4836 \family default
4837  you will see two counters.
4838  The one named 
4839 \family sans
4840 Numbering
4841 \family default
4842  controls how far down in the sectioning hierarchy LyX numbers a section
4843  heading.
4844  The other one controls the appearance of the section headings in the table
4845  of contents.
4846 \end_layout
4847
4848 \begin_layout Subsubsection
4849 Short Titles of Headings
4850 \begin_inset Index idx
4851 status collapsed
4852
4853 \begin_layout Plain Layout
4854 Section headings ! Short titles
4855 \end_layout
4856
4857 \end_inset
4858
4859
4860 \begin_inset Argument 1
4861 status collapsed
4862
4863 \begin_layout Plain Layout
4864 Short Titles
4865 \end_layout
4866
4867 \end_inset
4868
4869
4870 \begin_inset CommandInset label
4871 LatexCommand label
4872 name "sec:Short-Titles"
4873
4874 \end_inset
4875
4876
4877 \end_layout
4878
4879 \begin_layout Standard
4880 Some section or chapter titles, such as this one, can get quite long.
4881  This can cause trouble when there is limited horizontal space.
4882  For example, if the header of the page is set to show the current section
4883  title, a long title will protrude over the page margins and look awful.
4884 \end_layout
4885
4886 \begin_layout Standard
4887 LaTeX allows you to specify a short title for section headings.
4888  This short title is used in the header and in the actual table of contents,
4889  avoiding the problem mentioned.
4890  To specify a short title, set the cursor behind the title and use the menu
4891  
4892 \family sans
4893 Insert\SpecialChar \menuseparator
4894 Short
4895 \begin_inset space ~
4896 \end_inset
4897
4898 Title
4899 \family default
4900 .
4901  This will insert a box labeled 
4902 \begin_inset Quotes eld
4903 \end_inset
4904
4905 Short
4906 \begin_inset space ~
4907 \end_inset
4908
4909 Title
4910 \begin_inset Quotes erd
4911 \end_inset
4912
4913  which you can use to enter the short title text.
4914  This also works for captions inside floats.
4915  There can only be one short title per title.
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">
10308 <column alignment="center" valignment="top">
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 \end_layout
14220
14221 \begin_layout Subsection
14222 Output file formats
14223 \begin_inset Index idx
14224 status collapsed
14225
14226 \begin_layout Plain Layout
14227 File formats
14228 \end_layout
14229
14230 \end_inset
14231
14232
14233 \begin_inset CommandInset label
14234 LatexCommand label
14235 name "sub:Output-file-formats"
14236
14237 \end_inset
14238
14239
14240 \end_layout
14241
14242 \begin_layout Subsubsection
14243 Simple text (ASCII)
14244 \begin_inset Index idx
14245 status collapsed
14246
14247 \begin_layout Plain Layout
14248 File formats ! ASCII
14249 \end_layout
14250
14251 \end_inset
14252
14253
14254 \end_layout
14255
14256 \begin_layout Standard
14257 This file type has the extension 
14258 \begin_inset Quotes eld
14259 \end_inset
14260
14261
14262 \family typewriter
14263 .txt
14264 \family default
14265
14266 \begin_inset Quotes erd
14267 \end_inset
14268
14269 .
14270  It contains your document as plain text following the rules of the 
14271 \begin_inset Quotes eld
14272 \end_inset
14273
14274 American Standard Code for Information Interchange
14275 \begin_inset Quotes erd
14276 \end_inset
14277
14278  (ASCII).
14279 \end_layout
14280
14281 \begin_layout Standard
14282 You can export your document to ASCII with the menu 
14283 \family sans
14284 File\SpecialChar \menuseparator
14285 Export\SpecialChar \menuseparator
14286 Plain
14287 \begin_inset space ~
14288 \end_inset
14289
14290 text
14291 \family default
14292 .
14293  However, this will not export any externally generated material such as
14294  a BibTeX bibliography (section
14295 \begin_inset space ~
14296 \end_inset
14297
14298
14299 \begin_inset CommandInset ref
14300 LatexCommand ref
14301 reference "sub:Bibliography-databases"
14302
14303 \end_inset
14304
14305 ).
14306  If your document includes such material, use 
14307 \family sans
14308 File\SpecialChar \menuseparator
14309 Export\SpecialChar \menuseparator
14310 More
14311 \begin_inset space ~
14312 \end_inset
14313
14314 Formats
14315 \begin_inset space ~
14316 \end_inset
14317
14318 &
14319 \begin_inset space ~
14320 \end_inset
14321
14322 Options
14323 \family default
14324  and then select 
14325 \family sans
14326 Plain
14327 \begin_inset space ~
14328 \end_inset
14329
14330 text
14331 \begin_inset space ~
14332 \end_inset
14333
14334 (ps2ascii)
14335 \family default
14336 .
14337  This will first internally export your document to PostScript (generating
14338  thereby the external material) and then do the conversion to ASCII.
14339 \end_layout
14340
14341 \begin_layout Subsubsection
14342 LaTeX
14343 \begin_inset Index idx
14344 status collapsed
14345
14346 \begin_layout Plain Layout
14347 File formats ! LaTeX
14348 \end_layout
14349
14350 \end_inset
14351
14352
14353 \end_layout
14354
14355 \begin_layout Standard
14356 This file type has the extension 
14357 \begin_inset Quotes eld
14358 \end_inset
14359
14360
14361 \family typewriter
14362 .tex
14363 \family default
14364
14365 \begin_inset Quotes erd
14366 \end_inset
14367
14368  and contains all commands that are necessary for the LaTeX program to process
14369  your document.
14370  If you know LaTeX, you can use it to find out LaTeX-Errors or to process
14371  it manually with console commands.
14372  The LaTeX-file is automatically created in LyX's temporary directory whenever
14373  you view or export your document.
14374 \end_layout
14375
14376 \begin_layout Standard
14377 You can export your document as a LaTeX-file using the menu 
14378 \family sans
14379 File\SpecialChar \menuseparator
14380 Export\SpecialChar \menuseparator
14381 LaT
14382 \begin_inset ERT
14383 status collapsed
14384
14385 \begin_layout Plain Layout
14386
14387 {}
14388 \end_layout
14389
14390 \end_inset
14391
14392 eX
14393 \family default
14394 .
14395  The different LaTeX export variants are explained in section
14396 \begin_inset space ~
14397 \end_inset
14398
14399
14400 \begin_inset CommandInset ref
14401 LatexCommand ref
14402 reference "sub:Export"
14403
14404 \end_inset
14405
14406 .
14407 \end_layout
14408
14409 \begin_layout Subsubsection
14410 DVI
14411 \begin_inset Index idx
14412 status collapsed
14413
14414 \begin_layout Plain Layout
14415 File formats ! DVI
14416 \end_layout
14417
14418 \end_inset
14419
14420
14421 \end_layout
14422
14423 \begin_layout Standard
14424 This file type has the extension 
14425 \begin_inset Quotes eld
14426 \end_inset
14427
14428
14429 \family typewriter
14430 .dvi
14431 \family default
14432
14433 \begin_inset Quotes erd
14434 \end_inset
14435
14436 .
14437  It is called 
14438 \begin_inset Quotes eld
14439 \end_inset
14440
14441 device-independent
14442 \begin_inset Quotes erd
14443 \end_inset
14444
14445  (DVI), because it is completely portable; you can move them from one machine
14446  to another without needing to do any sort of conversion.
14447  DVIs are used for quick previews and as a pre-stage for other output formats,
14448  like PostScript.
14449 \end_layout
14450
14451 \begin_layout Standard
14452 DVI files do not contain images, they only link to them.
14453  So don't forget to deliver the images together with your DVIs.
14454  Because the DVI-viewer has to convert the images in the background to make
14455  them visible when you scroll the DVI, this can slow down your computer
14456  when you view the DVI.
14457  So we recommend using PDF for files with many images.
14458 \end_layout
14459
14460 \begin_layout Standard
14461 You can export your document to DVI by the menus 
14462 \family sans
14463 File\SpecialChar \menuseparator
14464 Export\SpecialChar \menuseparator
14465 DVI
14466 \family default
14467  or 
14468 \family sans
14469 File\SpecialChar \menuseparator
14470 Export\SpecialChar \menuseparator
14471 DVI
14472 \begin_inset space ~
14473 \end_inset
14474
14475 (LuaTe
14476 \begin_inset ERT
14477 status collapsed
14478
14479 \begin_layout Plain Layout
14480
14481 {}
14482 \end_layout
14483
14484 \end_inset
14485
14486 X).
14487
14488 \family default
14489  The latter option uses the program 
14490 \family typewriter
14491 LuaTeX
14492 \family default
14493 .
14494  
14495 \family typewriter
14496 LuaTeX
14497 \family default
14498  is an engine that provides direct Unicode support and support for direct
14499  font access (see section
14500 \begin_inset space ~
14501 \end_inset
14502
14503
14504 \begin_inset CommandInset ref
14505 LatexCommand ref
14506 reference "sub:LaTeX-font-support"
14507
14508 \end_inset
14509
14510 ).
14511  LuaTeX is still a work in progress, but it might develop into the next
14512  standard TeX processor.
14513 \end_layout
14514
14515 \begin_layout Subsubsection
14516 PostScript
14517 \begin_inset Index idx
14518 status collapsed
14519
14520 \begin_layout Plain Layout
14521 File formats ! PostScript
14522 \end_layout
14523
14524 \end_inset
14525
14526
14527 \end_layout
14528
14529 \begin_layout Standard
14530 This file type has the extension 
14531 \begin_inset Quotes eld
14532 \end_inset
14533
14534
14535 \family typewriter
14536 .ps
14537 \family default
14538
14539 \begin_inset Quotes erd
14540 \end_inset
14541
14542 .
14543  PostScript was developed by the company 
14544 \family typewriter
14545 Adobe
14546 \family default
14547  as a printer language.
14548  The file therefore contains commands that the printer uses to print the
14549  file.
14550  PostScript can be seen as a 
14551 \begin_inset Quotes eld
14552 \end_inset
14553
14554 programming language
14555 \begin_inset Quotes erd
14556 \end_inset
14557
14558 ; you can calculate with it and draw diagrams and images.
14559 \begin_inset Foot
14560 status collapsed
14561
14562 \begin_layout Plain Layout
14563 If you are interested in learning more about this, have a look at the LaTeX-pack
14564 age 
14565 \series bold
14566 pstricks
14567 \series default
14568
14569 \begin_inset Index idx
14570 status collapsed
14571
14572 \begin_layout Plain Layout
14573 LaTeX-packages ! pstricks
14574 \end_layout
14575
14576 \end_inset
14577
14578 .
14579 \end_layout
14580
14581 \end_inset
14582
14583  As a result of this, the files are often bigger than PDFs.
14584 \end_layout
14585
14586 \begin_layout Standard
14587 PostScript can only contain images in the format 
14588 \begin_inset Quotes eld
14589 \end_inset
14590
14591 Encapsulated PostScript
14592 \begin_inset Quotes erd
14593 \end_inset
14594
14595  (EPS, file extension 
14596 \begin_inset Quotes eld
14597 \end_inset
14598
14599
14600 \family typewriter
14601 .eps
14602 \family default
14603
14604 \begin_inset Quotes erd
14605 \end_inset
14606
14607 ).
14608  As LyX allows you to use any known image format in your document, it has
14609  to convert them in the background to EPS.
14610  If, for example, you have 50
14611 \begin_inset space ~
14612 \end_inset
14613
14614 images in your document, LyX has to do 50
14615 \begin_inset space ~
14616 \end_inset
14617
14618 conversions when you view or export your document the first time.
14619  This might slow down your workflow with LyX.
14620  So if you plan to use PostScript, you can insert your images directly as
14621  EPS to avoid this problem.
14622 \end_layout
14623
14624 \begin_layout Standard
14625 You can export to PostScript using the menu 
14626 \family sans
14627 File\SpecialChar \menuseparator
14628 Export\SpecialChar \menuseparator
14629 PostScript
14630 \family default
14631 .
14632 \end_layout
14633
14634 \begin_layout Subsubsection
14635 PDF
14636 \begin_inset Index idx
14637 status collapsed
14638
14639 \begin_layout Plain Layout
14640 File formats ! PDF
14641 \end_layout
14642
14643 \end_inset
14644
14645
14646 \begin_inset Index idx
14647 status collapsed
14648
14649 \begin_layout Plain Layout
14650 PDF
14651 \end_layout
14652
14653 \end_inset
14654
14655
14656 \end_layout
14657
14658 \begin_layout Standard
14659 This file type has the extension 
14660 \begin_inset Quotes eld
14661 \end_inset
14662
14663
14664 \family typewriter
14665 .pdf
14666 \family default
14667
14668 \begin_inset Quotes erd
14669 \end_inset
14670
14671 .
14672  The 
14673 \begin_inset Quotes eld
14674 \end_inset
14675
14676 Portable Document Format
14677 \begin_inset Quotes erd
14678 \end_inset
14679
14680  (PDF) developed by 
14681 \family typewriter
14682 Adobe
14683 \family default
14684  was derived from PostScript.
14685  It is more compressed and it uses fewer commands than PostScript.
14686  As the name 
14687 \begin_inset Quotes eld
14688 \end_inset
14689
14690 portable
14691 \begin_inset Quotes erd
14692 \end_inset
14693
14694  implies, it can be processed on any computer system and the printed output
14695  looks exactly the same.
14696 \end_layout
14697
14698 \begin_layout Standard
14699 PDF can contain images in its own PDF format and in the formats 
14700 \begin_inset Quotes eld
14701 \end_inset
14702
14703 Joint Photographic Experts Group
14704 \begin_inset Quotes erd
14705 \end_inset
14706
14707  (JPG, file extension 
14708 \begin_inset Quotes eld
14709 \end_inset
14710
14711
14712 \family typewriter
14713 .jpg
14714 \family default
14715
14716 \begin_inset Quotes erd
14717 \end_inset
14718
14719  or 
14720 \begin_inset Quotes eld
14721 \end_inset
14722
14723
14724 \family typewriter
14725 .jpeg
14726 \family default
14727
14728 \begin_inset Quotes erd
14729 \end_inset
14730
14731 ) and 
14732 \begin_inset Quotes eld
14733 \end_inset
14734
14735 Portable Network Graphics
14736 \begin_inset Quotes erd
14737 \end_inset
14738
14739  (PNG, file extension 
14740 \begin_inset Quotes eld
14741 \end_inset
14742
14743
14744 \family typewriter
14745 .png
14746 \family default
14747
14748 \begin_inset Quotes erd
14749 \end_inset
14750
14751 ).
14752  You can also use any other image format, because LyX converts them in the
14753  background to one of these formats.
14754  But as described in the section about PostScript, the image conversion
14755  will slow down your workflow.
14756  So we recommend using images in one of the three formats mentioned above.
14757 \end_layout
14758
14759 \begin_layout Standard
14760 You can export your document to PDF via the menu 
14761 \family sans
14762 File\SpecialChar \menuseparator
14763 Export
14764 \family default
14765  in different ways:
14766 \end_layout
14767
14768 \begin_layout Description
14769 PDF
14770 \begin_inset space ~
14771 \end_inset
14772
14773 (pdflatex) This uses the program 
14774 \family typewriter
14775 pdftex
14776 \family default
14777  which converts your file directly to PDF.
14778 \end_layout
14779
14780 \begin_layout Description
14781 PDF
14782 \begin_inset space ~
14783 \end_inset
14784
14785 (LuaTe
14786 \begin_inset ERT
14787 status collapsed
14788
14789 \begin_layout Plain Layout
14790
14791 {}
14792 \end_layout
14793
14794 \end_inset
14795
14796 X) This uses the program 
14797 \family typewriter
14798 LuaTeX
14799 \family default
14800  which converts your file directly to PDF.
14801  
14802 \family typewriter
14803 LuaTeX
14804 \family default
14805  is a new engine, derived from 
14806 \family typewriter
14807 pdflatex
14808 \family default
14809 , that also provides direct Unicode support and support for direct font
14810  access (see section
14811 \begin_inset space ~
14812 \end_inset
14813
14814
14815 \begin_inset CommandInset ref
14816 LatexCommand ref
14817 reference "sub:LaTeX-font-support"
14818
14819 \end_inset
14820
14821 ).
14822  LuaTeX is still a work in progress, but it might develop into the next
14823  standard TeX processor.
14824 \end_layout
14825
14826 \begin_layout Description
14827 PDF
14828 \begin_inset space ~
14829 \end_inset
14830
14831 (XeTe
14832 \begin_inset ERT
14833 status collapsed
14834
14835 \begin_layout Plain Layout
14836
14837 {}
14838 \end_layout
14839
14840 \end_inset
14841
14842 X) This uses the program 
14843 \family typewriter
14844 XeTeX
14845 \family default
14846  that converts your file directly to PDF.
14847  
14848 \family typewriter
14849 XeTeX
14850 \family default
14851  is a new engine that provides direct Unicode support and support for direct
14852  font access (see section
14853 \begin_inset space ~
14854 \end_inset
14855
14856
14857 \begin_inset CommandInset ref
14858 LatexCommand ref
14859 reference "sub:LaTeX-font-support"
14860
14861 \end_inset
14862
14863 ).
14864  It is particularly good at typesetting different scripts, for example,
14865  vertically written Japanese.
14866 \end_layout
14867
14868 \begin_layout Description
14869 PDF
14870 \begin_inset space ~
14871 \end_inset
14872
14873 (dvipdfm) This uses the program 
14874 \family typewriter
14875 dvipdfm
14876 \family default
14877  that converts your file in the background to DVI and in a second step to
14878  PDF.
14879 \end_layout
14880
14881 \begin_layout Description
14882 PDF
14883 \begin_inset space ~
14884 \end_inset
14885
14886 (ps2pdf) This uses the program 
14887 \family typewriter
14888 ps2pdf
14889 \family default
14890  that creates a PDF from a PostScript-version of your file.
14891  The PostScript-version is produced by the program 
14892 \family typewriter
14893 dvips
14894 \family default
14895  which uses a DVI-version as intermediate step.
14896  So this export variant consists of three conversions.
14897 \end_layout
14898
14899 \begin_layout Standard
14900 We recommend using 
14901 \family sans
14902 PDF
14903 \begin_inset space ~
14904 \end_inset
14905
14906 (pdflatex)
14907 \family default
14908  because 
14909 \family typewriter
14910 pdftex
14911 \family default
14912  supports all the features of actual PDF-versions, is quick, stable, and
14913  works without problems.
14914  If you rely on multiscript support and\SpecialChar \slash{}
14915 or specific OpenType fonts, you might
14916  want to try out 
14917 \family sans
14918 PDF
14919 \begin_inset space ~
14920 \end_inset
14921
14922 (XeTe
14923 \begin_inset ERT
14924 status collapsed
14925
14926 \begin_layout Plain Layout
14927
14928 {}
14929 \end_layout
14930
14931 \end_inset
14932
14933 X)
14934 \family default
14935  or 
14936 \family sans
14937 PDF
14938 \begin_inset space ~
14939 \end_inset
14940
14941 (LuaTe
14942 \begin_inset ERT
14943 status collapsed
14944
14945 \begin_layout Plain Layout
14946
14947 {}
14948 \end_layout
14949
14950 \end_inset
14951
14952 X)
14953 \family default
14954  instead, bearing in mind that these two programs are not yet as mature
14955  as 
14956 \family typewriter
14957 pdflatex
14958 \family default
14959 .
14960 \end_layout
14961
14962 \begin_layout Subsubsection
14963 XHTML
14964 \begin_inset Index idx
14965 status collapsed
14966
14967 \begin_layout Plain Layout
14968 FileFormats ! XHTML
14969 \end_layout
14970
14971 \end_inset
14972
14973
14974 \begin_inset Index idx
14975 status collapsed
14976
14977 \begin_layout Plain Layout
14978 HTML
14979 \end_layout
14980
14981 \end_inset
14982
14983
14984 \end_layout
14985
14986 \begin_layout Standard
14987 This file type has the extension 
14988 \begin_inset Quotes eld
14989 \end_inset
14990
14991
14992 \family typewriter
14993 .xhtml
14994 \family default
14995
14996 \begin_inset Quotes erd
14997 \end_inset
14998
14999 .
15000  It is a file suitable for viewing in web browsers.
15001  It does not itself contain images and the like but only links to them.
15002  When LyX produces XHTML, it also generates corresponding images in formats
15003  suitable for the purpose.
15004  For the math output you can choose in the menu 
15005 \family sans
15006 Document\SpecialChar \menuseparator
15007 Settings\SpecialChar \menuseparator
15008 Output
15009 \family default
15010  between different formats, which are described in section 
15011 \emph on
15012 Math Output in XHTML
15013 \emph default
15014  of the 
15015 \emph on
15016 Additional
15017 \begin_inset space ~
15018 \end_inset
15019
15020 Features
15021 \emph default
15022  manual.
15023 \end_layout
15024
15025 \begin_layout Standard
15026 XHTML output remains 
15027 \begin_inset Quotes eld
15028 \end_inset
15029
15030 under development
15031 \begin_inset Quotes erd
15032 \end_inset
15033
15034 , and not all LyX features are supported yet.
15035  See the chapter 
15036 \emph on
15037 LyX and the World Wide Web
15038 \emph default
15039 , in the 
15040 \emph on
15041 Additional Features
15042 \emph default
15043  manual, for more information.
15044 \end_layout
15045
15046 \begin_layout Standard
15047 You can export your document as an XHTML file using the menu item 
15048 \family sans
15049 File\SpecialChar \menuseparator
15050 Export\SpecialChar \menuseparator
15051 LyXHTML
15052 \family default
15053 .
15054 \end_layout
15055
15056 \begin_layout Subsection
15057 Previewing
15058 \begin_inset Index idx
15059 status collapsed
15060
15061 \begin_layout Plain Layout
15062 Document ! Preview 
15063 \end_layout
15064
15065 \end_inset
15066
15067
15068 \end_layout
15069
15070 \begin_layout Standard
15071 To get a look at the final version of your document, with all of the page
15072  breaks in place, the footnotes correctly numbered, and so on, use the menu
15073  
15074 \family sans
15075 View
15076 \family default
15077  and choose 
15078 \family sans
15079 View
15080 \family default
15081  or use the toolbar button 
15082 \begin_inset Info
15083 type  "icon"
15084 arg   "buffer-view"
15085 \end_inset
15086
15087 .
15088  A viewing program will pop up showing the output in the defined default
15089  output format, which is globally set in the preferences (see sec.
15090 \begin_inset space \thinspace{}
15091 \end_inset
15092
15093
15094 \begin_inset CommandInset ref
15095 LatexCommand ref
15096 reference "sec:File-Formats"
15097
15098 \end_inset
15099
15100 ) and can also be altered for single documents in the document settings
15101  (see sec.
15102 \begin_inset space \thinspace{}
15103 \end_inset
15104
15105
15106 \begin_inset CommandInset ref
15107 LatexCommand ref
15108 reference "sec:Doc-Output"
15109
15110 \end_inset
15111
15112 ).
15113  Further output formats can be selected via 
15114 \family sans
15115 View\SpecialChar \menuseparator
15116 View (Other Formats)
15117 \family default
15118  or the toolbar button 
15119 \begin_inset Graphics
15120         filename ../images/view-others.png
15121         scale 85
15122         groupId toolbarbuttons
15123
15124 \end_inset
15125
15126 .
15127 \end_layout
15128
15129 \begin_layout Standard
15130 If you have changed your document, you can refresh the output in the same
15131  viewer window using the menu 
15132 \family sans
15133 View\SpecialChar \menuseparator
15134 Update
15135 \family default
15136  or 
15137 \family sans
15138 View\SpecialChar \menuseparator
15139 Update (Other Formats)
15140 \family default
15141 , respectively.
15142 \end_layout
15143
15144 \begin_layout Standard
15145 When you preview a file, the output file is only generated in LyX's temporary
15146  directory.
15147  To have a real output, export your document.
15148 \end_layout
15149
15150 \begin_layout Subsection
15151 Printing the File from within LyX
15152 \begin_inset CommandInset label
15153 LatexCommand label
15154 name "sub:Printing-the-File"
15155
15156 \end_inset
15157
15158
15159 \end_layout
15160
15161 \begin_layout Standard
15162 Instead of exporting your file and then printing it, you can also print
15163  it directly from within LyX.
15164  To print a file, select the menu 
15165 \family sans
15166 File\SpecialChar \menuseparator
15167 Print
15168 \family default
15169  (shortcut 
15170 \begin_inset Info
15171 type  "shortcut"
15172 arg   "dialog-show print"
15173 \end_inset
15174
15175 ) or click on the toolbar button 
15176 \begin_inset Info
15177 type  "icon"
15178 arg   "dialog-show print"
15179 \end_inset
15180
15181 .
15182  LyX will internally call LaTeX to produce a DVI.
15183  This file is then processed by the program 
15184 \family typewriter
15185 dvips
15186 \family default
15187  to a PostScript-file, which is finally printed using the program 
15188 \family typewriter
15189 Ghostscript
15190 \family default
15191 .
15192  Due to these steps in the background, this method is not the fastest.
15193 \end_layout
15194
15195 \begin_layout Standard
15196 You can set the following print parameters in the 
15197 \family sans
15198 Print
15199 \begin_inset space ~
15200 \end_inset
15201
15202 Destination
15203 \family default
15204  box:
15205 \end_layout
15206
15207 \begin_layout Labeling
15208 \labelwidthstring 00.00.0000
15209
15210 \family sans
15211 Printer
15212 \family default
15213  This is the name of the printer to print to.
15214 \begin_inset Foot
15215 status collapsed
15216
15217 \begin_layout Plain Layout
15218 Note that this printer name is for the program 
15219 \family typewriter
15220 dvips
15221 \family default
15222 .
15223  That means 
15224 \family typewriter
15225 dvips
15226 \family default
15227  has to be configured for this printer name.
15228  The default printer can be set in LyX's preferences dialog, see section
15229 \begin_inset space ~
15230 \end_inset
15231
15232
15233 \begin_inset CommandInset ref
15234 LatexCommand ref
15235 reference "sub:Printer"
15236
15237 \end_inset
15238
15239 .
15240 \end_layout
15241
15242 \end_inset
15243
15244  The printer should understand PostScript.
15245 \end_layout
15246
15247 \begin_layout Labeling
15248 \labelwidthstring 00.00.0000
15249
15250 \family sans
15251 File
15252 \family default
15253  The name of a file to print to.
15254  The output will be a PostScript file.
15255  It will be written in LyX's working directory unless you specify the full
15256  path.
15257 \end_layout
15258
15259 \begin_layout Standard
15260 You can choose to print only a range of pages, only even-numbered or only
15261  odd-numbered pages or to print the pages in reverse — the latter options
15262  are useful for printing on two sides with a printer without a duplexer:
15263  you re-insert the pages after printing one set to print on the other side.
15264  Some printers spit out pages face-up, others, face-down.
15265  By choosing a particular order to print in, you can take the entire stack
15266  of pages out of the printer without needing to reorder them.
15267 \end_layout
15268
15269 \begin_layout Section
15270 A few Words about Typography
15271 \begin_inset Index idx
15272 status collapsed
15273
15274 \begin_layout Plain Layout
15275 Typography
15276 \end_layout
15277
15278 \end_inset
15279
15280
15281 \end_layout
15282
15283 \begin_layout Subsection
15284 Hyphens, Dashes and Minus Signs
15285 \begin_inset Index idx
15286 status collapsed
15287
15288 \begin_layout Plain Layout
15289 Hyphens
15290 \end_layout
15291
15292 \end_inset
15293
15294
15295 \begin_inset Index idx
15296 status collapsed
15297
15298 \begin_layout Plain Layout
15299 Dashes
15300 \end_layout
15301
15302 \end_inset
15303
15304
15305 \end_layout
15306
15307 \begin_layout Standard
15308 In LyX, the 
15309 \begin_inset Quotes eld
15310 \end_inset
15311
15312
15313 \family typewriter
15314 -
15315 \family default
15316
15317 \begin_inset Quotes erd
15318 \end_inset
15319
15320  character comes in four lengths: the 
15321 \emph on
15322 hyphen
15323 \emph default
15324 , the 
15325 \emph on
15326 en dash
15327 \emph default
15328 , the 
15329 \emph on
15330 em dash
15331 \emph default
15332 , and the minus sign:
15333 \begin_inset VSpace defskip
15334 \end_inset
15335
15336
15337 \end_layout
15338
15339 \begin_layout Standard
15340 \begin_inset Tabular
15341 <lyxtabular version="3" rows="5" columns="3">
15342 <features rotate="0" tabularvalignment="middle">
15343 <column alignment="left" valignment="top">
15344 <column alignment="left" valignment="top">
15345 <column alignment="left" valignment="top">
15346 <row interlinespace="3mm">
15347 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15348 \begin_inset Text
15349
15350 \begin_layout Plain Layout
15351 name
15352 \end_layout
15353
15354 \end_inset
15355 </cell>
15356 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15357 \begin_inset Text
15358
15359 \begin_layout Plain Layout
15360 output
15361 \end_layout
15362
15363 \end_inset
15364 </cell>
15365 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15366 \begin_inset Text
15367
15368 \begin_layout Plain Layout
15369 inserted with
15370 \end_layout
15371
15372 \end_inset
15373 </cell>
15374 </row>
15375 <row interlinespace="3mm">
15376 <cell alignment="center" valignment="top" usebox="none">
15377 \begin_inset Text
15378
15379 \begin_layout Plain Layout
15380 hyphen
15381 \end_layout
15382
15383 \end_inset
15384 </cell>
15385 <cell alignment="center" valignment="top" usebox="none">
15386 \begin_inset Text
15387
15388 \begin_layout Plain Layout
15389 -
15390 \end_layout
15391
15392 \end_inset
15393 </cell>
15394 <cell alignment="center" valignment="top" usebox="none">
15395 \begin_inset Text
15396
15397 \begin_layout Plain Layout
15398 \begin_inset Quotes eld
15399 \end_inset
15400
15401
15402 \family typewriter
15403 -
15404 \family default
15405
15406 \begin_inset Quotes erd
15407 \end_inset
15408
15409  in text
15410 \end_layout
15411
15412 \end_inset
15413 </cell>
15414 </row>
15415 <row interlinespace="3mm">
15416 <cell alignment="center" valignment="top" usebox="none">
15417 \begin_inset Text
15418
15419 \begin_layout Plain Layout
15420 en dash
15421 \end_layout
15422
15423 \end_inset
15424 </cell>
15425 <cell alignment="center" valignment="top" usebox="none">
15426 \begin_inset Text
15427
15428 \begin_layout Plain Layout
15429
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 \family sans
15440 Insert\SpecialChar \menuseparator
15441 Special
15442 \begin_inset space ~
15443 \end_inset
15444
15445 Character\SpecialChar \menuseparator
15446 Symbols
15447 \end_layout
15448
15449 \end_inset
15450 </cell>
15451 </row>
15452 <row interlinespace="3mm">
15453 <cell alignment="center" valignment="top" usebox="none">
15454 \begin_inset Text
15455
15456 \begin_layout Plain Layout
15457 em dash
15458 \end_layout
15459
15460 \end_inset
15461 </cell>
15462 <cell alignment="center" valignment="top" usebox="none">
15463 \begin_inset Text
15464
15465 \begin_layout Plain Layout
15466
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
15476 \family sans
15477 Insert\SpecialChar \menuseparator
15478 Special
15479 \begin_inset space ~
15480 \end_inset
15481
15482 Character\SpecialChar \menuseparator
15483 Symbols
15484 \end_layout
15485
15486 \end_inset
15487 </cell>
15488 </row>
15489 <row>
15490 <cell alignment="center" valignment="top" usebox="none">
15491 \begin_inset Text
15492
15493 \begin_layout Plain Layout
15494 minus sign
15495 \end_layout
15496
15497 \end_inset
15498 </cell>
15499 <cell alignment="center" valignment="top" usebox="none">
15500 \begin_inset Text
15501
15502 \begin_layout Plain Layout
15503 \begin_inset Formula $-$
15504 \end_inset
15505
15506
15507 \end_layout
15508
15509 \end_inset
15510 </cell>
15511 <cell alignment="center" valignment="top" usebox="none">
15512 \begin_inset Text
15513
15514 \begin_layout Plain Layout
15515 \begin_inset Quotes eld
15516 \end_inset
15517
15518
15519 \family typewriter
15520 -
15521 \family default
15522
15523 \begin_inset Quotes erd
15524 \end_inset
15525
15526  in math mode
15527 \end_layout
15528
15529 \end_inset
15530 </cell>
15531 </row>
15532 </lyxtabular>
15533
15534 \end_inset
15535
15536
15537 \begin_inset VSpace defskip
15538 \end_inset
15539
15540
15541 \end_layout
15542
15543 \begin_layout Standard
15544 You can alternatively generate the en and em dash by inserting the 
15545 \begin_inset Quotes eld
15546 \end_inset
15547
15548
15549 \family typewriter
15550 -
15551 \family default
15552
15553 \begin_inset Quotes erd
15554 \end_inset
15555
15556  character multiple times in a row.
15557  They will automatically be converted to the appropriate length dash in
15558  the final output, but not in LyX.
15559  
15560 \begin_inset Quotes eld
15561 \end_inset
15562
15563 -
15564 \begin_inset space \thinspace{}
15565 \end_inset
15566
15567 -
15568 \begin_inset Quotes erd
15569 \end_inset
15570
15571  gives a en dash, 
15572 \begin_inset Quotes eld
15573 \end_inset
15574
15575 -
15576 \begin_inset space \thinspace{}
15577 \end_inset
15578
15579 -
15580 \begin_inset space \thinspace{}
15581 \end_inset
15582
15583 -
15584 \begin_inset Quotes erd
15585 \end_inset
15586
15587  a em dash.
15588 \end_layout
15589
15590 \begin_layout Standard
15591 The three dash types are distinct from the minus sign, which appears in
15592  math mode and has a length of its own.
15593  Here are some examples:
15594 \end_layout
15595
15596 \begin_layout Enumerate
15597 line- and page-breaks
15598 \begin_inset space \hfill{}
15599 \end_inset
15600
15601 (
15602 \emph on
15603 hyphen
15604 \emph default
15605 )
15606 \end_layout
15607
15608 \begin_layout Enumerate
15609 From A–Z
15610 \begin_inset space \hfill{}
15611 \end_inset
15612
15613 (
15614 \emph on
15615 en dash
15616 \emph default
15617 )
15618 \end_layout
15619
15620 \begin_layout Enumerate
15621 Oh — there's a dash.
15622 \begin_inset space \hfill{}
15623 \end_inset
15624
15625 (
15626 \emph on
15627 em dash
15628 \emph default
15629 )
15630 \end_layout
15631
15632 \begin_layout Enumerate
15633 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
15634 \end_inset
15635
15636
15637 \begin_inset space \hfill{}
15638 \end_inset
15639
15640 (
15641 \emph on
15642 minus sign
15643 \emph default
15644 )
15645 \end_layout
15646
15647 \begin_layout Subsection
15648 Hyphenation
15649 \begin_inset Index idx
15650 status collapsed
15651
15652 \begin_layout Plain Layout
15653 Hyphenation
15654 \end_layout
15655
15656 \end_inset
15657
15658
15659 \begin_inset CommandInset label
15660 LatexCommand label
15661 name "sub:Hyphenation"
15662
15663 \end_inset
15664
15665
15666 \end_layout
15667
15668 \begin_layout Standard
15669 Words are not hyphenated within LyX but automatically in the output.
15670  Hyphenation is done by the LaTeX-package 
15671 \series bold
15672 babel
15673 \series default
15674
15675 \begin_inset Index idx
15676 status collapsed
15677
15678 \begin_layout Plain Layout
15679 LaTeX-packages ! babel
15680 \end_layout
15681
15682 \end_inset
15683
15684  following the rules of the document language.
15685 \end_layout
15686
15687 \begin_layout Standard
15688 LaTeX hyphenates almost perfectly; it only has problems with text in the
15689  
15690 \family sans
15691 typewriter
15692 \family default
15693  font and with unusual constructs, like 
15694 \begin_inset Quotes eld
15695 \end_inset
15696
15697 h3knix/m0n0wall
15698 \begin_inset Quotes erd
15699 \end_inset
15700
15701 .
15702  If LaTeX cannot break a word correctly, you can set hyphenation points
15703  manually.
15704  This is done with the menu 
15705 \family sans
15706 Insert\SpecialChar \menuseparator
15707 Formatting\SpecialChar \menuseparator
15708 Hyphenation
15709 \begin_inset space ~
15710 \end_inset
15711
15712 Point
15713 \family default
15714 .
15715  These extra hyphenation points are only recommendations to LaTeX.
15716  If no hyphenation is necessary, LaTeX will ignore them.
15717 \end_layout
15718
15719 \begin_layout Standard
15720 Sometimes you want to prevent words or constructs from being hyphenated.
15721  Imagine that you are describing keybindings/shortcuts in your document
15722  in the form 
15723 \begin_inset Quotes eld
15724 \end_inset
15725
15726 A-b c
15727 \begin_inset Quotes erd
15728 \end_inset
15729
15730 .
15731  LaTeX would then see the hyphen 
15732 \begin_inset Quotes eld
15733 \end_inset
15734
15735 -
15736 \begin_inset Quotes erd
15737 \end_inset
15738
15739  as a hyphenation possibility.
15740  Hyphenating at this point would look ugly.
15741  To prevent the shortcut from being hyphenated, you can put it into a makebox
15742  as described in section 
15743 \begin_inset Quotes eld
15744 \end_inset
15745
15746 Prevent Hyphenation
15747 \begin_inset Quotes erd
15748 \end_inset
15749
15750  of the 
15751 \emph on
15752 Embedded
15753 \begin_inset space ~
15754 \end_inset
15755
15756 Objects
15757 \emph default
15758  manual.
15759 \end_layout
15760
15761 \begin_layout Subsection
15762 Punctuation Marks
15763 \begin_inset Index idx
15764 status collapsed
15765
15766 \begin_layout Plain Layout
15767 Punctuation marks
15768 \end_layout
15769
15770 \end_inset
15771
15772
15773 \end_layout
15774
15775 \begin_layout Subsubsection
15776 Abbreviations and End of Sentence
15777 \begin_inset CommandInset label
15778 LatexCommand label
15779 name "sub:Abbreviations"
15780
15781 \end_inset
15782
15783
15784 \end_layout
15785
15786 \begin_layout Standard
15787 When LyX calls LaTeX to generate the final version of your document, LaTeX
15788  automatically distinguishes between words, sentences, and abbreviations.
15789  LaTeX then adds the 
15790 \begin_inset Quotes eld
15791 \end_inset
15792
15793 appropriate amount of space.
15794 \begin_inset Quotes erd
15795 \end_inset
15796
15797  That means sentences get a little bit more space between the period and
15798  the next word.
15799  Abbreviations get the same amount of space after the period that a word
15800  gets after another word.
15801 \end_layout
15802
15803 \begin_layout Standard
15804 Unfortunately, the algorithm for figuring out what's an abbreviation does
15805  not work in all cases.
15806  If a 
15807 \begin_inset Quotes eld
15808 \end_inset
15809
15810
15811 \family typewriter
15812 .
15813 \family default
15814
15815 \begin_inset Quotes erd
15816 \end_inset
15817
15818  is at the end of a lowercase letter, it's the end of a sentence; if it's
15819  at the end of a capitalized letter, it's an abbreviation.
15820 \end_layout
15821
15822 \begin_layout Standard
15823 Here are some examples of 
15824 \emph on
15825 correct
15826 \emph default
15827  abbreviations and of the end of a sentence:
15828 \end_layout
15829
15830 \begin_layout Itemize
15831 M.
15832  Butterfly
15833 \end_layout
15834
15835 \begin_layout Itemize
15836 Don't worry.
15837  Be happy.
15838 \end_layout
15839
15840 \begin_layout Standard
15841 And here is an example of the algorithm going wrong:
15842 \end_layout
15843
15844 \begin_layout Itemize
15845 e.
15846 \begin_inset space \thinspace{}
15847 \end_inset
15848
15849 g.
15850  this is too much space!
15851 \end_layout
15852
15853 \begin_layout Itemize
15854 This is I.
15855  It's okay.
15856 \end_layout
15857
15858 \begin_layout Standard
15859 You will not see anything wrong until you view a final version of your document.
15860 \end_layout
15861
15862 \begin_layout Standard
15863 To fix this problem, use one of the following:
15864 \end_layout
15865
15866 \begin_layout Enumerate
15867 Use an 
15868 \family sans
15869 Inter-word
15870 \begin_inset space ~
15871 \end_inset
15872
15873 Space
15874 \family default
15875  after lowercase abbreviations (see section
15876 \begin_inset space ~
15877 \end_inset
15878
15879
15880 \begin_inset CommandInset ref
15881 LatexCommand ref
15882 reference "sub:Inter-word-Space"
15883
15884 \end_inset
15885
15886 ).
15887 \begin_inset Index idx
15888 status collapsed
15889
15890 \begin_layout Plain Layout
15891 Spaces ! inter-word
15892 \end_layout
15893
15894 \end_inset
15895
15896
15897 \end_layout
15898
15899 \begin_layout Enumerate
15900 Use a 
15901 \family sans
15902 Thin
15903 \begin_inset space ~
15904 \end_inset
15905
15906 Space
15907 \family default
15908  between two tokens of an abbreviation (see section
15909 \begin_inset space ~
15910 \end_inset
15911
15912
15913 \begin_inset CommandInset ref
15914 LatexCommand ref
15915 reference "sub:Thin-Space"
15916
15917 \end_inset
15918
15919 ).
15920 \begin_inset Index idx
15921 status collapsed
15922
15923 \begin_layout Plain Layout
15924 Spaces ! thin
15925 \end_layout
15926
15927 \end_inset
15928
15929
15930 \end_layout
15931
15932 \begin_layout Enumerate
15933 Use an 
15934 \family sans
15935 End
15936 \begin_inset space ~
15937 \end_inset
15938
15939 of
15940 \begin_inset space ~
15941 \end_inset
15942
15943 sentence
15944 \begin_inset space ~
15945 \end_inset
15946
15947 period
15948 \family default
15949  found under the 
15950 \family sans
15951 Insert\SpecialChar \menuseparator
15952 Special
15953 \begin_inset space ~
15954 \end_inset
15955
15956 Character
15957 \family default
15958  menu to force the use of inter-sentence spacing.
15959  This function is also bound to 
15960 \begin_inset Info
15961 type  "shortcut"
15962 arg   "specialchar-insert end-of-sentence"
15963 \end_inset
15964
15965  for easy access.
15966 \end_layout
15967
15968 \begin_layout Standard
15969 With the corrections, our earlier examples look like this:
15970 \end_layout
15971
15972 \begin_layout Itemize
15973 e.
15974 \begin_inset space \thinspace{}
15975 \end_inset
15976
15977 g.
15978 \begin_inset space \space{}
15979 \end_inset
15980
15981 this is too much space!
15982 \end_layout
15983
15984 \begin_layout Itemize
15985 This is I\SpecialChar \@.
15986  It's okay.
15987 \end_layout
15988
15989 \begin_layout Standard
15990 Some languages don't use extra spacing between sentences.
15991  If your language is such a language, you don't need to worry, because LaTeX
15992  will take care of this.
15993 \end_layout
15994
15995 \begin_layout Standard
15996 For those that do need to bother, there is help to catch those sneaky errors:
15997  Check out the 
15998 \family sans
15999 Check
16000 \begin_inset space ~
16001 \end_inset
16002
16003 TeX
16004 \family default
16005  feature described in the section 
16006 \emph on
16007 Checking TeX
16008 \emph default
16009  of the 
16010 \emph on
16011 Additional Features
16012 \emph default
16013  manual.
16014 \end_layout
16015
16016 \begin_layout Subsubsection
16017 Quotes
16018 \begin_inset Index idx
16019 status collapsed
16020
16021 \begin_layout Plain Layout
16022 Typography ! Quotes
16023 \end_layout
16024
16025 \end_inset
16026
16027
16028 \begin_inset Index idx
16029 status collapsed
16030
16031 \begin_layout Plain Layout
16032 Quotes | see
16033 \begin_inset ERT
16034 status collapsed
16035
16036 \begin_layout Plain Layout
16037
16038 {
16039 \end_layout
16040
16041 \end_inset
16042
16043 Typography
16044 \begin_inset ERT
16045 status collapsed
16046
16047 \begin_layout Plain Layout
16048
16049 }
16050 \end_layout
16051
16052 \end_inset
16053
16054
16055 \end_layout
16056
16057 \end_inset
16058
16059
16060 \end_layout
16061
16062 \begin_layout Standard
16063 LyX usually sets quotes correctly.
16064  Specifically, it will use an opening quote at the beginning of quoted text,
16065  and use a closing quote at the end.
16066  For example, 
16067 \begin_inset Quotes eld
16068 \end_inset
16069
16070 open close
16071 \begin_inset Quotes erd
16072 \end_inset
16073
16074 .
16075  The keyboard character, 
16076 \family sans
16077 "
16078 \family default
16079 , generates this automatically.
16080 \end_layout
16081
16082 \begin_layout Standard
16083 You can specify what character the 
16084 \family sans
16085 "
16086 \family default
16087  key produces using the submenu 
16088 \family sans
16089 Language
16090 \family default
16091  of the 
16092 \family sans
16093 Document\SpecialChar \menuseparator
16094 Settings
16095 \family default
16096
16097 \begin_inset Index idx
16098 status collapsed
16099
16100 \begin_layout Plain Layout
16101 Document ! Settings
16102 \end_layout
16103
16104 \end_inset
16105
16106  dialog in the box 
16107 \family sans
16108 Quote Style
16109 \family default
16110 .
16111  There are six choices:
16112 \end_layout
16113
16114 \begin_layout Labeling
16115 \labelwidthstring 00.00.0000
16116
16117 \family sans
16118 \begin_inset Quotes eld
16119 \end_inset
16120
16121 Text
16122 \begin_inset Quotes erd
16123 \end_inset
16124
16125
16126 \family default
16127  Use quotes like 
16128 \begin_inset Quotes eld
16129 \end_inset
16130
16131 this
16132 \begin_inset Quotes erd
16133 \end_inset
16134
16135
16136 \end_layout
16137
16138 \begin_layout Labeling
16139 \labelwidthstring 00.00.0000
16140
16141 \family sans
16142 \begin_inset Quotes sld
16143 \end_inset
16144
16145 Text
16146 \begin_inset Quotes srd
16147 \end_inset
16148
16149
16150 \family default
16151  Use quotes like 
16152 \begin_inset Quotes sld
16153 \end_inset
16154
16155 this
16156 \begin_inset Quotes srd
16157 \end_inset
16158
16159
16160 \end_layout
16161
16162 \begin_layout Labeling
16163 \labelwidthstring 00.00.0000
16164
16165 \family sans
16166 \begin_inset Quotes gld
16167 \end_inset
16168
16169 Text
16170 \begin_inset Quotes grd
16171 \end_inset
16172
16173
16174 \family default
16175  Use quotes like 
16176 \begin_inset Quotes gld
16177 \end_inset
16178
16179 this
16180 \begin_inset Quotes grd
16181 \end_inset
16182
16183
16184 \end_layout
16185
16186 \begin_layout Labeling
16187 \labelwidthstring 00.00.0000
16188
16189 \family sans
16190 \begin_inset Quotes pld
16191 \end_inset
16192
16193 Text
16194 \begin_inset Quotes prd
16195 \end_inset
16196
16197
16198 \family default
16199  Use quotes like 
16200 \begin_inset Quotes pld
16201 \end_inset
16202
16203 this
16204 \begin_inset Quotes prd
16205 \end_inset
16206
16207
16208 \end_layout
16209
16210 \begin_layout Labeling
16211 \labelwidthstring 00.00.0000
16212
16213 \family sans
16214 \begin_inset Quotes fld
16215 \end_inset
16216
16217 Text
16218 \begin_inset Quotes frd
16219 \end_inset
16220
16221
16222 \family default
16223  Use quotes like 
16224 \begin_inset Quotes fld
16225 \end_inset
16226
16227 this
16228 \begin_inset Quotes frd
16229 \end_inset
16230
16231
16232 \end_layout
16233
16234 \begin_layout Labeling
16235 \labelwidthstring 00.00.0000
16236
16237 \family sans
16238 \begin_inset Quotes ald
16239 \end_inset
16240
16241 Text
16242 \begin_inset Quotes ard
16243 \end_inset
16244
16245
16246 \family default
16247  Use quotes like 
16248 \begin_inset Quotes ald
16249 \end_inset
16250
16251 this
16252 \begin_inset Quotes ard
16253 \end_inset
16254
16255
16256 \end_layout
16257
16258 \begin_layout Standard
16259 For single quotes you have to use the shortcut 
16260 \begin_inset Info
16261 type  "shortcut"
16262 arg   "quote-insert single"
16263 \end_inset
16264
16265 .
16266 \end_layout
16267
16268 \begin_layout Subsection
16269 Ligatures
16270 \begin_inset Index idx
16271 status collapsed
16272
16273 \begin_layout Plain Layout
16274 Typography ! Ligatures
16275 \end_layout
16276
16277 \end_inset
16278
16279
16280 \begin_inset Index idx
16281 status collapsed
16282
16283 \begin_layout Plain Layout
16284 Ligatures | see
16285 \begin_inset ERT
16286 status collapsed
16287
16288 \begin_layout Plain Layout
16289
16290 {
16291 \end_layout
16292
16293 \end_inset
16294
16295 Typography
16296 \begin_inset ERT
16297 status collapsed
16298
16299 \begin_layout Plain Layout
16300
16301 }
16302 \end_layout
16303
16304 \end_inset
16305
16306
16307 \end_layout
16308
16309 \end_inset
16310
16311
16312 \begin_inset CommandInset label
16313 LatexCommand label
16314 name "sub:Ligatures"
16315
16316 \end_inset
16317
16318
16319 \end_layout
16320
16321 \begin_layout Standard
16322 It is standard typesetting practice to group certain letters together and
16323  print them as single characters.
16324  These groups are known as 
16325 \emph on
16326 ligatures
16327 \emph default
16328 .
16329  Since LaTeX knows about ligatures, your documents will contain them too
16330  in the output.
16331  Here are the standard ligatures:
16332 \end_layout
16333
16334 \begin_layout Itemize
16335 ff
16336 \end_layout
16337
16338 \begin_layout Itemize
16339 fi
16340 \end_layout
16341
16342 \begin_layout Itemize
16343 fl
16344 \end_layout
16345
16346 \begin_layout Itemize
16347 ffi
16348 \end_layout
16349
16350 \begin_layout Itemize
16351 ffl
16352 \end_layout
16353
16354 \begin_layout Standard
16355 Some languages uses other ligatures if the document font supports them.
16356 \end_layout
16357
16358 \begin_layout Standard
16359 Sometimes, you don't want a ligature in a word.
16360  While a ligature may be okay in the word, 
16361 \begin_inset Quotes eld
16362 \end_inset
16363
16364 graffiti,
16365 \begin_inset Quotes erd
16366 \end_inset
16367
16368  it looks really weird in compound words, such as 
16369 \begin_inset Quotes eld
16370 \end_inset
16371
16372 cufflink
16373 \begin_inset Quotes erd
16374 \end_inset
16375
16376  or the German 
16377 \begin_inset Quotes eld
16378 \end_inset
16379
16380 Dorffest.
16381 \begin_inset Quotes erd
16382 \end_inset
16383
16384  To break a ligature, use 
16385 \family sans
16386 Insert\SpecialChar \menuseparator
16387 Formatting\SpecialChar \menuseparator
16388 Ligature
16389 \begin_inset space ~
16390 \end_inset
16391
16392 Break.
16393
16394 \family default
16395  This changes 
16396 \begin_inset Quotes eld
16397 \end_inset
16398
16399 cufflinks
16400 \begin_inset Quotes erd
16401 \end_inset
16402
16403  to 
16404 \begin_inset Quotes eld
16405 \end_inset
16406
16407 cuff\SpecialChar \textcompwordmark{}
16408 links
16409 \begin_inset Quotes erd
16410 \end_inset
16411
16412  and 
16413 \begin_inset Quotes eld
16414 \end_inset
16415
16416 Dorffest
16417 \begin_inset Quotes erd
16418 \end_inset
16419
16420  to 
16421 \begin_inset Quotes eld
16422 \end_inset
16423
16424 Dorf\SpecialChar \textcompwordmark{}
16425 fest
16426 \begin_inset Quotes erd
16427 \end_inset
16428
16429 .
16430 \end_layout
16431
16432 \begin_layout Subsection
16433 LyX's Proper Names
16434 \begin_inset Index idx
16435 status collapsed
16436
16437 \begin_layout Plain Layout
16438 LyX ! Proper names
16439 \end_layout
16440
16441 \end_inset
16442
16443
16444 \begin_inset CommandInset label
16445 LatexCommand label
16446 name "sub:LyX's-Proper-Names"
16447
16448 \end_inset
16449
16450
16451 \end_layout
16452
16453 \begin_layout Standard
16454 You will certainly have noticed that the word “LaTeX” always appears with
16455  characters in different sizes and heights.
16456  LaTeX is the name of the program used by LyX and is therefore recognized
16457  as a proper name when you type it in LyX as 
16458 \begin_inset Quotes eld
16459 \end_inset
16460
16461 LaT
16462 \begin_inset ERT
16463 status collapsed
16464
16465 \begin_layout Plain Layout
16466
16467 {}
16468 \end_layout
16469
16470 \end_inset
16471
16472 eX
16473 \begin_inset Quotes erd
16474 \end_inset
16475
16476 .
16477 \begin_inset Note Note
16478 status collapsed
16479
16480 \begin_layout Plain Layout
16481 The braces in TeX Code are here to avoid that the 
16482 \begin_inset Quotes eld
16483 \end_inset
16484
16485 command
16486 \begin_inset Quotes erd
16487 \end_inset
16488
16489  appear as proper name in the output, see the last paragraph of this section.
16490  To create proper names omit the TeX Code.
16491 \end_layout
16492
16493 \end_inset
16494
16495  Note the order of the upper- and lowercase letters! LyX recognizes the
16496  following proper names:
16497 \end_layout
16498
16499 \begin_layout Description
16500 LyX The name of the game, write 
16501 \begin_inset Quotes eld
16502 \end_inset
16503
16504 L
16505 \begin_inset ERT
16506 status collapsed
16507
16508 \begin_layout Plain Layout
16509
16510 {}
16511 \end_layout
16512
16513 \end_inset
16514
16515 yX
16516 \begin_inset Quotes erd
16517 \end_inset
16518
16519  to produce it.
16520 \end_layout
16521
16522 \begin_layout Description
16523 TeX The program used by LaTeX, write 
16524 \begin_inset Quotes eld
16525 \end_inset
16526
16527 T
16528 \begin_inset ERT
16529 status collapsed
16530
16531 \begin_layout Plain Layout
16532
16533 {}
16534 \end_layout
16535
16536 \end_inset
16537
16538 eX
16539 \begin_inset Quotes erd
16540 \end_inset
16541
16542  to produce it.
16543 \end_layout
16544
16545 \begin_layout Description
16546 LaTeX The program used by LyX, write 
16547 \begin_inset Quotes eld
16548 \end_inset
16549
16550 LaT
16551 \begin_inset ERT
16552 status collapsed
16553
16554 \begin_layout Plain Layout
16555
16556 {}
16557 \end_layout
16558
16559 \end_inset
16560
16561 eX
16562 \begin_inset Quotes erd
16563 \end_inset
16564
16565  to produce it.
16566 \end_layout
16567
16568 \begin_layout Description
16569 LaTeX2e The actual version of LaTeX, write 
16570 \begin_inset Quotes eld
16571 \end_inset
16572
16573 LaT
16574 \begin_inset ERT
16575 status collapsed
16576
16577 \begin_layout Plain Layout
16578
16579 {}
16580 \end_layout
16581
16582 \end_inset
16583
16584 eX2e
16585 \begin_inset Quotes erd
16586 \end_inset
16587
16588  to produce it.
16589 \end_layout
16590
16591 \begin_layout Standard
16592 You might wonder why the LaTeX-version is 
16593 \begin_inset Quotes eld
16594 \end_inset
16595
16596 2
16597 \begin_inset Formula $\epsilon$
16598 \end_inset
16599
16600
16601 \begin_inset Quotes erd
16602 \end_inset
16603
16604 .
16605  It is an old tradition in the TeX-world to give programs geek version numbers.
16606  For example the version number of TeX converges to the number 
16607 \begin_inset Formula $\pi$
16608 \end_inset
16609
16610 : The actual version is 
16611 \begin_inset Quotes eld
16612 \end_inset
16613
16614 TeX-3.141592
16615 \begin_inset Quotes erd
16616 \end_inset
16617
16618 , the previous one was 
16619 \begin_inset Quotes eld
16620 \end_inset
16621
16622 TeX-3.14159
16623 \begin_inset Quotes erd
16624 \end_inset
16625
16626 .
16627 \end_layout
16628
16629 \begin_layout Standard
16630 If you don't want to use proper names, for example, in section headings,
16631  you can insert two empty braces in TeX Code in the word.
16632  In LyX this will look like 
16633 \begin_inset Graphics
16634         filename clipart/LaTeX.png
16635         scale 80
16636
16637 \end_inset
16638
16639 .
16640 \begin_inset Newline newline
16641 \end_inset
16642
16643 For more about TeX Code, see section
16644 \begin_inset space ~
16645 \end_inset
16646
16647
16648 \begin_inset CommandInset ref
16649 LatexCommand ref
16650 reference "sec:TeX-Code"
16651
16652 \end_inset
16653
16654 .
16655 \end_layout
16656
16657 \begin_layout Subsection
16658 Units
16659 \begin_inset Index idx
16660 status collapsed
16661
16662 \begin_layout Plain Layout
16663 Typography ! Units
16664 \end_layout
16665
16666 \end_inset
16667
16668
16669 \end_layout
16670
16671 \begin_layout Standard
16672 Generally the space between units and the number is smaller than the normal
16673  space between two words.
16674  As you can see in the example below, it looks better when the space is
16675  smaller.
16676  To get such a 
16677 \begin_inset Quotes eld
16678 \end_inset
16679
16680 half space
16681 \begin_inset Quotes erd
16682 \end_inset
16683
16684  for units use the menu 
16685 \family sans
16686 Insert\SpecialChar \menuseparator
16687 Formatting\SpecialChar \menuseparator
16688 Thin
16689 \begin_inset space ~
16690 \end_inset
16691
16692 Space
16693 \family default
16694  (shortcut 
16695 \begin_inset Info
16696 type  "shortcuts"
16697 arg   "space-insert thin"
16698 \end_inset
16699
16700 ).
16701 \end_layout
16702
16703 \begin_layout Standard
16704 Here is an example to show the differences:
16705 \end_layout
16706
16707 \begin_layout Standard
16708 \begin_inset Tabular
16709 <lyxtabular version="3" rows="2" columns="2">
16710 <features rotate="0" tabularvalignment="middle">
16711 <column alignment="left" valignment="top">
16712 <column alignment="left" valignment="top">
16713 <row>
16714 <cell alignment="center" valignment="top" usebox="none">
16715 \begin_inset Text
16716
16717 \begin_layout Plain Layout
16718 24
16719 \begin_inset space ~
16720 \end_inset
16721
16722 kW
16723 \begin_inset Formula $\cdot$
16724 \end_inset
16725
16726 h
16727 \end_layout
16728
16729 \end_inset
16730 </cell>
16731 <cell alignment="center" valignment="top" usebox="none">
16732 \begin_inset Text
16733
16734 \begin_layout Plain Layout
16735 space between number and unit
16736 \end_layout
16737
16738 \end_inset
16739 </cell>
16740 </row>
16741 <row>
16742 <cell alignment="center" valignment="top" usebox="none">
16743 \begin_inset Text
16744
16745 \begin_layout Plain Layout
16746 24
16747 \begin_inset space \thinspace{}
16748 \end_inset
16749
16750 kW
16751 \begin_inset Formula $\cdot$
16752 \end_inset
16753
16754 h
16755 \end_layout
16756
16757 \end_inset
16758 </cell>
16759 <cell alignment="center" valignment="top" usebox="none">
16760 \begin_inset Text
16761
16762 \begin_layout Plain Layout
16763 half space between number and unit
16764 \end_layout
16765
16766 \end_inset
16767 </cell>
16768 </row>
16769 </lyxtabular>
16770
16771 \end_inset
16772
16773
16774 \end_layout
16775
16776 \begin_layout Subsection
16777 Widows and Orphans
16778 \begin_inset Index idx
16779 status collapsed
16780
16781 \begin_layout Plain Layout
16782 Typography ! Widows and orphans
16783 \end_layout
16784
16785 \end_inset
16786
16787
16788 \end_layout
16789
16790 \begin_layout Standard
16791 In the early days of word processors, page breaks went wherever the page
16792  happened to end.
16793  There was no regard for what was actually going on in the text.
16794  You may remember once printing out a document, only to find the heading
16795  for a new section printed at the very bottom of the page, the first line
16796  of a new paragraph all alone at the bottom of a page, or the last line
16797  of a paragraph at the top of a new page.
16798  These bits of text became known as 
16799 \emph on
16800 widows
16801 \emph default
16802  and 
16803 \emph on
16804 orphans
16805 \emph default
16806 .
16807 \end_layout
16808
16809 \begin_layout Standard
16810 Clearly, LyX can avoid breaking pages after a section heading.
16811  That's part of the advantage of paragraph environments.
16812  But what about widows and orphans, where the page breaks leave one line
16813  of a paragraph all alone at the top or bottom of a page? There are rules
16814  built into LaTeX governing page breaks, and some of those rules are there
16815  specifically to prevent widows and orphans.
16816  This is the advantage LyX has in using LaTeX as its backend.
16817 \end_layout
16818
16819 \begin_layout Standard
16820 We cannot go into how TeX and LaTeX decide to break a page, or how you can
16821  tweak that behavior.
16822  Some LaTeX books listed in the bibliography (such as
16823 \begin_inset space ~
16824 \end_inset
16825
16826
16827 \begin_inset CommandInset citation
16828 LatexCommand cite
16829 key "latexcompanion"
16830
16831 \end_inset
16832
16833  or
16834 \begin_inset space ~
16835 \end_inset
16836
16837
16838 \begin_inset CommandInset citation
16839 LatexCommand cite
16840 key "latexguide"
16841
16842 \end_inset
16843
16844 ) may have more information.
16845  You will almost never need to worry about this, however.
16846 \end_layout
16847
16848 \begin_layout Chapter
16849 Notes, Graphics, Tables and Floats
16850 \begin_inset CommandInset label
16851 LatexCommand label
16852 name "chap:Floats-and-Notes"
16853
16854 \end_inset
16855
16856
16857 \end_layout
16858
16859 \begin_layout Standard
16860 The issues of this chapter are described in detail in the 
16861 \emph on
16862 Embedded
16863 \begin_inset space ~
16864 \end_inset
16865
16866 Objects
16867 \emph default
16868  manual.
16869  There you will also find tips and tricks for special cases.
16870 \end_layout
16871
16872 \begin_layout Section
16873 Notes
16874 \begin_inset Index idx
16875 status collapsed
16876
16877 \begin_layout Plain Layout
16878 Notes
16879 \end_layout
16880
16881 \end_inset
16882
16883
16884 \begin_inset CommandInset label
16885 LatexCommand label
16886 name "sec:Notes"
16887
16888 \end_inset
16889
16890
16891 \end_layout
16892
16893 \begin_layout Standard
16894 LyX offers you a few types of notes to add to your document:
16895 \end_layout
16896
16897 \begin_layout Description
16898 LyX
16899 \begin_inset space ~
16900 \end_inset
16901
16902 Note This note type is for internal notes that will not appear in the output.
16903 \begin_inset Newline newline
16904 \end_inset
16905
16906
16907 \begin_inset Note Note
16908 status open
16909
16910 \begin_layout Plain Layout
16911 This is text in a note box that doesn't appear in the output.
16912 \end_layout
16913
16914 \end_inset
16915
16916
16917 \end_layout
16918
16919 \begin_layout Description
16920 Comment This note also doesn't appear in the output but it does appear as
16921  a LaTeX-comment when you export the document to LaTeX via the menu 
16922 \family sans
16923 File\SpecialChar \menuseparator
16924 Export\SpecialChar \menuseparator
16925 LaT
16926 \begin_inset ERT
16927 status collapsed
16928
16929 \begin_layout Plain Layout
16930
16931 {}
16932 \end_layout
16933
16934 \end_inset
16935
16936 eX
16937 \begin_inset space ~
16938 \end_inset
16939
16940 (xxx)
16941 \family default
16942 .
16943 \begin_inset Newline newline
16944 \end_inset
16945
16946
16947 \begin_inset Note Comment
16948 status open
16949
16950 \begin_layout Plain Layout
16951 This is text in a note box that only appears as a comment in LaTeX-files.
16952 \end_layout
16953
16954 \end_inset
16955
16956
16957 \end_layout
16958
16959 \begin_layout Description
16960 Greyed
16961 \begin_inset space ~
16962 \end_inset
16963
16964 Out This note will appear in the output as text in a color which you can
16965  set in the document settings under 
16966 \family sans
16967 Colors\SpecialChar \menuseparator
16968 Greyed-out
16969 \begin_inset space ~
16970 \end_inset
16971
16972 notes
16973 \family default
16974 .
16975 \begin_inset Newline newline
16976 \end_inset
16977
16978
16979 \begin_inset Newline newline
16980 \end_inset
16981
16982
16983 \begin_inset Note Greyedout
16984 status open
16985
16986 \begin_layout Plain Layout
16987 This is the text
16988 \begin_inset Foot
16989 status collapsed
16990
16991 \begin_layout Plain Layout
16992 This is an example footnote within a greyed out note.
16993  In this document the color of this note type is set to blue.
16994 \end_layout
16995
16996 \end_inset
16997
16998  of a comment that appears in the output.
16999 \end_layout
17000
17001 \end_inset
17002
17003
17004 \begin_inset Newline newline
17005 \end_inset
17006
17007
17008 \begin_inset Newline newline
17009 \end_inset
17010
17011 As you can see in the example, greyed out notes can have footnotes.
17012 \end_layout
17013
17014 \begin_layout Standard
17015 Notes are inserted with the toolbar button 
17016 \begin_inset Info
17017 type  "icon"
17018 arg   "note-insert"
17019 \end_inset
17020
17021  or the menu 
17022 \family sans
17023 Insert\SpecialChar \menuseparator
17024 Note
17025 \family default
17026 .
17027  Right-click on the note box that appears to select the note type.
17028 \end_layout
17029
17030 \begin_layout Section
17031 Footnotes
17032 \begin_inset Index idx
17033 status collapsed
17034
17035 \begin_layout Plain Layout
17036 Footnotes
17037 \end_layout
17038
17039 \end_inset
17040
17041
17042 \begin_inset CommandInset label
17043 LatexCommand label
17044 name "sec:Footnotes"
17045
17046 \end_inset
17047
17048
17049 \end_layout
17050
17051 \begin_layout Standard
17052 LyX uses boxes to display footnotes: When you insert a footnote using the
17053  menu 
17054 \family sans
17055 Insert\SpecialChar \menuseparator
17056 Footnote
17057 \family default
17058  or the toolbar button 
17059 \begin_inset Info
17060 type  "icon"
17061 arg   "footnote-insert"
17062 \end_inset
17063
17064
17065 \family roman
17066 \series medium
17067 \bar no
17068 you will see
17069 \family default
17070 \series default
17071 \bar default
17072  a box like this: 
17073 \begin_inset Graphics
17074         filename clipart/footnoteQt4.png
17075         scale 80
17076
17077 \end_inset
17078
17079
17080 \family roman
17081 \series medium
17082 \bar no
17083  This box is LyX's representation of your footnote.
17084  If you
17085 \family default
17086 \series default
17087 \bar default
17088  left-click on 
17089 \family roman
17090 \series medium
17091 \bar no
17092 the 
17093 \begin_inset Quotes eld
17094 \end_inset
17095
17096
17097 \family sans
17098 foot
17099 \family roman
17100
17101 \begin_inset Quotes erd
17102 \end_inset
17103
17104
17105 \family default
17106 \series default
17107 \bar default
17108  
17109 \family roman
17110 \series medium
17111 \bar no
17112 label, the box will
17113 \family default
17114 \series default
17115 \bar default
17116  be opened and you can enter the footnote text into it.
17117  Clicking on the box label again will close 
17118 \family roman
17119 \series medium
17120 \bar no
17121 the
17122 \family default
17123 \series default
17124 \bar default
17125  box
17126 \family roman
17127 \series medium
17128 \bar no
17129 .
17130  If you want to turn existing text into a footnote, simply highlight it
17131  and click on the footnote
17132 \family default
17133 \series default
17134 \bar default
17135  toolbar 
17136 \family roman
17137 \series medium
17138 \bar no
17139 button
17140 \family default
17141 \series default
17142 \bar default
17143 .
17144 \end_layout
17145
17146 \begin_layout Standard
17147 Here is an example footnote:
17148 \family roman
17149 \series medium
17150 \bar no
17151
17152 \begin_inset Foot
17153 status collapsed
17154
17155 \begin_layout Plain Layout
17156 To close a footnote, click on the footnote box label.
17157 \end_layout
17158
17159 \end_inset
17160
17161
17162 \end_layout
17163
17164 \begin_layout Standard
17165 The footnote will appear in the output as a superscript number at the text
17166  position where the footnote box is placed.
17167  The footnote text is placed at the bottom of the current page.
17168  The footnote number is calculated by LyX according to the document class.
17169  LyX does not yet support a particular numbering scheme, but you can get
17170  other schemes using special LaTeX-commands.
17171  T
17172 \family roman
17173 h
17174 \family default
17175 ey are described in the 
17176 \emph on
17177 Embedded
17178 \begin_inset space ~
17179 \end_inset
17180
17181 Objects
17182 \emph default
17183  manual.
17184 \end_layout
17185
17186 \begin_layout Section
17187 Marginal Notes
17188 \begin_inset Index idx
17189 status collapsed
17190
17191 \begin_layout Plain Layout
17192 Marginal notes
17193 \end_layout
17194
17195 \end_inset
17196
17197
17198 \begin_inset CommandInset label
17199 LatexCommand label
17200 name "sec:Marginal-Notes"
17201
17202 \end_inset
17203
17204
17205 \end_layout
17206
17207 \begin_layout Standard
17208 Marginal notes look and behave just like footnotes in LyX.
17209  When you insert a margin note via the menu 
17210 \family sans
17211 Insert\SpecialChar \menuseparator
17212 Marginal
17213 \begin_inset space ~
17214 \end_inset
17215
17216 Note
17217 \family default
17218  or the toolbar button 
17219 \begin_inset Info
17220 type  "icon"
17221 arg   "marginalnote-insert"
17222 \end_inset
17223
17224 , you will see 
17225 \family roman
17226 \series medium
17227 a
17228 \family default
17229 \series default
17230  
17231 \family roman
17232 \series medium
17233 box with the
17234 \family default
17235 \series default
17236  
17237 \family roman
17238 \series medium
17239 label 
17240 \begin_inset Quotes eld
17241 \end_inset
17242
17243 margin
17244 \begin_inset Quotes erd
17245 \end_inset
17246
17247  appearing within your text.
17248  This box is LyX's representation of your margin
17249 \family default
17250 \series default
17251 al 
17252 \family roman
17253 \series medium
17254 note.
17255 \end_layout
17256
17257 \begin_layout Standard
17258 At the side of this sentence is an example marginal note.
17259 \family roman
17260 \series medium
17261
17262 \begin_inset Marginal
17263 status open
17264
17265 \begin_layout Plain Layout
17266 \align left
17267 This is a marginal note.
17268 \end_layout
17269
17270 \end_inset
17271
17272
17273 \end_layout
17274
17275 \begin_layout Standard
17276 Marginal notes appear at the right side in single-sided documents.
17277  In double-sided documents they appear in the outer margin – left on even
17278  pages, right on odd pages.
17279 \end_layout
17280
17281 \begin_layout Standard
17282 For further information about marginal notes see the section 
17283 \emph on
17284 Margin
17285 \begin_inset space ~
17286 \end_inset
17287
17288 Notes
17289 \emph default
17290  in the 
17291 \emph on
17292 Embedded
17293 \begin_inset space ~
17294 \end_inset
17295
17296 Objects
17297 \emph default
17298  manual.
17299 \end_layout
17300
17301 \begin_layout Section
17302 Graphics and Images
17303 \begin_inset Index idx
17304 status collapsed
17305
17306 \begin_layout Plain Layout
17307 Images
17308 \end_layout
17309
17310 \end_inset
17311
17312
17313 \begin_inset Index idx
17314 status collapsed
17315
17316 \begin_layout Plain Layout
17317 Graphics
17318 \end_layout
17319
17320 \end_inset
17321
17322
17323 \begin_inset CommandInset label
17324 LatexCommand label
17325 name "sec:Graphics"
17326
17327 \end_inset
17328
17329
17330 \end_layout
17331
17332 \begin_layout Standard
17333 To insert an image in your document, place the cursor at the text position
17334  you want and click on the toolbar icon 
17335 \begin_inset Info
17336 type  "icon"
17337 arg   "dialog-show-new-inset graphics"
17338 \end_inset
17339
17340  or select 
17341 \family sans
17342 Insert\SpecialChar \menuseparator
17343 Graphics
17344 \family default
17345  from the menu.
17346  Then a dialog will appear to choose the file to load.
17347 \end_layout
17348
17349 \begin_layout Standard
17350 This dialog has numerous mostly self-explanatory parameters.
17351  The 
17352 \family sans
17353 Graphics
17354 \family default
17355  tab allows you to choose your image file.
17356  The image can be transformed by setting a rotation angle and a scaling
17357  factor.
17358  The scaling units are explained in Appendix
17359 \begin_inset space ~
17360 \end_inset
17361
17362
17363 \begin_inset CommandInset ref
17364 LatexCommand ref
17365 reference "chap:Units-available-in"
17366
17367 \end_inset
17368
17369 .
17370 \end_layout
17371
17372 \begin_layout Standard
17373 In the tab 
17374 \family sans
17375 Clipping
17376 \family default
17377  it is possible to set image coordinates to adjust the height and width
17378  of the image in the output.
17379  The coordinates can also be calculated automatically by pressing the button
17380  
17381 \family sans
17382 Get
17383 \begin_inset space ~
17384 \end_inset
17385
17386 from
17387 \begin_inset space ~
17388 \end_inset
17389
17390 file
17391 \family default
17392 .
17393  The option 
17394 \family sans
17395 Clip
17396 \begin_inset space ~
17397 \end_inset
17398
17399 to
17400 \begin_inset space ~
17401 \end_inset
17402
17403 bounding
17404 \begin_inset space ~
17405 \end_inset
17406
17407 box
17408 \family default
17409  will only print the image region within the given coordinates.
17410  Normally you don't need to take care about image coordinates and can ignore
17411  the tab 
17412 \family sans
17413 Clipping
17414 \family default
17415 .
17416 \end_layout
17417
17418 \begin_layout Standard
17419 In the 
17420 \family sans
17421 LaT
17422 \begin_inset ERT
17423 status collapsed
17424
17425 \begin_layout Plain Layout
17426
17427 {}
17428 \end_layout
17429
17430 \end_inset
17431
17432 eX
17433 \begin_inset space ~
17434 \end_inset
17435
17436 and
17437 \begin_inset space ~
17438 \end_inset
17439
17440 Ly
17441 \begin_inset ERT
17442 status collapsed
17443
17444 \begin_layout Plain Layout
17445
17446 {}
17447 \end_layout
17448
17449 \end_inset
17450
17451 X options
17452 \family default
17453  tab LaTeX experts can specify additional LaTeX options.
17454  In this tab you can also specify the appearance of the image inside LyX.
17455  The option 
17456 \family sans
17457 Draft
17458 \begin_inset space ~
17459 \end_inset
17460
17461 mode
17462 \family default
17463  has the effect that the image doesn't appear in the output, only a frame
17464  with the image size is printed.
17465  The option 
17466 \family sans
17467 Don't
17468 \begin_inset space ~
17469 \end_inset
17470
17471 unzip
17472 \begin_inset space ~
17473 \end_inset
17474
17475 on
17476 \begin_inset space ~
17477 \end_inset
17478
17479 export
17480 \family default
17481  is explained in the 
17482 \emph on
17483 Embedded
17484 \begin_inset space ~
17485 \end_inset
17486
17487 Objects
17488 \emph default
17489  manual in section 
17490 \emph on
17491 Graphics Dialog
17492 \emph default
17493 .
17494 \end_layout
17495
17496 \begin_layout Standard
17497 The graphics dialog can be called at any time by clicking on an image.
17498  Images will appear in the output exactly at the position where they are
17499  in the text.
17500  This is an example image within a separate, horizontally centered paragraph:
17501 \end_layout
17502
17503 \begin_layout Standard
17504 \align center
17505 \begin_inset Graphics
17506         filename clipart/mobius.eps
17507         scale 70
17508
17509 \end_inset
17510
17511
17512 \end_layout
17513
17514 \begin_layout Standard
17515 If you need image captions or want to reference images, you have to put
17516  the image into a float, see section
17517 \begin_inset space ~
17518 \end_inset
17519
17520
17521 \begin_inset CommandInset ref
17522 LatexCommand ref
17523 reference "sub:Figure-Floats"
17524
17525 \end_inset
17526
17527 .
17528 \end_layout
17529
17530 \begin_layout Subsection
17531 Image Formats
17532 \begin_inset Index idx
17533 status collapsed
17534
17535 \begin_layout Plain Layout
17536 Images ! Formats
17537 \end_layout
17538
17539 \end_inset
17540
17541
17542 \begin_inset CommandInset label
17543 LatexCommand label
17544 name "sub:Image-Formats"
17545
17546 \end_inset
17547
17548
17549 \end_layout
17550
17551 \begin_layout Standard
17552 You can insert images in any known file format.
17553  But as we explained in section
17554 \begin_inset space ~
17555 \end_inset
17556
17557
17558 \begin_inset CommandInset ref
17559 LatexCommand ref
17560 reference "sub:Output-file-formats"
17561
17562 \end_inset
17563
17564 , every output document format allows only a few image formats.
17565  LyX therefore uses the program 
17566 \family typewriter
17567 ImageMagick
17568 \family default
17569  in the background to convert the images to the right format.
17570  To increase your workflow by avoiding these conversions in the background,
17571  use only the image formats listed in the subsections of section
17572 \begin_inset space ~
17573 \end_inset
17574
17575
17576 \begin_inset CommandInset ref
17577 LatexCommand ref
17578 reference "sub:Output-file-formats"
17579
17580 \end_inset
17581
17582 .
17583 \end_layout
17584
17585 \begin_layout Standard
17586 Similar to fonts there are two types of image formats:
17587 \end_layout
17588
17589 \begin_layout Description
17590 Bitmap
17591 \begin_inset space ~
17592 \end_inset
17593
17594 images consist of pixel values, often in a compressed form.
17595  They are therefore not fully scalable and look pixelated in large zooms.
17596  Well-known bitmap image formats are 
17597 \begin_inset Quotes eld
17598 \end_inset
17599
17600 Graphics Interchange Format
17601 \begin_inset Quotes erd
17602 \end_inset
17603
17604  (GIF, file extension 
17605 \begin_inset Quotes eld
17606 \end_inset
17607
17608
17609 \family typewriter
17610 .gif
17611 \family default
17612
17613 \begin_inset Quotes erd
17614 \end_inset
17615
17616 )
17617 \begin_inset Index idx
17618 status collapsed
17619
17620 \begin_layout Plain Layout
17621 GIF|see
17622 \begin_inset ERT
17623 status collapsed
17624
17625 \begin_layout Plain Layout
17626
17627 {
17628 \end_layout
17629
17630 \end_inset
17631
17632 Image formats
17633 \begin_inset ERT
17634 status collapsed
17635
17636 \begin_layout Plain Layout
17637
17638 }
17639 \end_layout
17640
17641 \end_inset
17642
17643
17644 \end_layout
17645
17646 \end_inset
17647
17648
17649 \begin_inset Quotes eld
17650 \end_inset
17651
17652 Portable Network Graphics
17653 \begin_inset Quotes erd
17654 \end_inset
17655
17656  (PNG, file extension 
17657 \begin_inset Quotes eld
17658 \end_inset
17659
17660
17661 \family typewriter
17662 .png
17663 \family default
17664
17665 \begin_inset Quotes erd
17666 \end_inset
17667
17668 )
17669 \begin_inset Index idx
17670 status collapsed
17671
17672 \begin_layout Plain Layout
17673 PNG|see
17674 \begin_inset ERT
17675 status collapsed
17676
17677 \begin_layout Plain Layout
17678
17679 {
17680 \end_layout
17681
17682 \end_inset
17683
17684 Image formats
17685 \begin_inset ERT
17686 status collapsed
17687
17688 \begin_layout Plain Layout
17689
17690 }
17691 \end_layout
17692
17693 \end_inset
17694
17695
17696 \end_layout
17697
17698 \end_inset
17699
17700 , and 
17701 \begin_inset Quotes eld
17702 \end_inset
17703
17704 Joint Photographic Experts Group
17705 \begin_inset Quotes erd
17706 \end_inset
17707
17708  (JPG, file extension 
17709 \begin_inset Quotes eld
17710 \end_inset
17711
17712
17713 \family typewriter
17714 .jpg
17715 \family default
17716
17717 \begin_inset Quotes erd
17718 \end_inset
17719
17720  or 
17721 \begin_inset Quotes eld
17722 \end_inset
17723
17724
17725 \family typewriter
17726 .jpeg
17727 \family default
17728
17729 \begin_inset Quotes erd
17730 \end_inset
17731
17732 )
17733 \begin_inset Index idx
17734 status collapsed
17735
17736 \begin_layout Plain Layout
17737 JPG|see
17738 \begin_inset ERT
17739 status collapsed
17740
17741 \begin_layout Plain Layout
17742
17743 {
17744 \end_layout
17745
17746 \end_inset
17747
17748 Image formats
17749 \begin_inset ERT
17750 status collapsed
17751
17752 \begin_layout Plain Layout
17753
17754 }
17755 \end_layout
17756
17757 \end_inset
17758
17759
17760 \end_layout
17761
17762 \end_inset
17763
17764 .
17765 \end_layout
17766
17767 \begin_layout Description
17768 Scalable
17769 \begin_inset space ~
17770 \end_inset
17771
17772 images consist of vectors and can therefore be scaled to any size without
17773  data loss.
17774  The scaling ability is desired if you want to create presentations, because
17775  presentations are always scaled by the beamer.
17776  Scaling is also useful for online documents to let the user zoom into diagrams.
17777 \begin_inset Newline newline
17778 \end_inset
17779
17780 Scalable image formats can be 
17781 \begin_inset Quotes eld
17782 \end_inset
17783
17784 Scalable Vector Graphics
17785 \begin_inset Quotes erd
17786 \end_inset
17787
17788  (SVG, file extension 
17789 \begin_inset Quotes eld
17790 \end_inset
17791
17792
17793 \family typewriter
17794 .svg
17795 \family default
17796
17797 \begin_inset Quotes erd
17798 \end_inset
17799
17800 )
17801 \begin_inset Index idx
17802 status collapsed
17803
17804 \begin_layout Plain Layout
17805 SVG|see
17806 \begin_inset ERT
17807 status collapsed
17808
17809 \begin_layout Plain Layout
17810
17811 {
17812 \end_layout
17813
17814 \end_inset
17815
17816 Image formats
17817 \begin_inset ERT
17818 status collapsed
17819
17820 \begin_layout Plain Layout
17821
17822 }
17823 \end_layout
17824
17825 \end_inset
17826
17827
17828 \end_layout
17829
17830 \end_inset
17831
17832
17833 \begin_inset Quotes eld
17834 \end_inset
17835
17836 Encapsulated PostScript
17837 \begin_inset Quotes erd
17838 \end_inset
17839
17840  (EPS, file extension 
17841 \begin_inset Quotes eld
17842 \end_inset
17843
17844
17845 \family typewriter
17846 .eps
17847 \family default
17848
17849 \begin_inset Quotes erd
17850 \end_inset
17851
17852 )
17853 \begin_inset Index idx
17854 status collapsed
17855
17856 \begin_layout Plain Layout
17857 EPS|see
17858 \begin_inset ERT
17859 status collapsed
17860
17861 \begin_layout Plain Layout
17862
17863 {
17864 \end_layout
17865
17866 \end_inset
17867
17868 Image formats
17869 \begin_inset ERT
17870 status collapsed
17871
17872 \begin_layout Plain Layout
17873
17874 }
17875 \end_layout
17876
17877 \end_inset
17878
17879
17880 \end_layout
17881
17882 \end_inset
17883
17884 , and 
17885 \begin_inset Quotes eld
17886 \end_inset
17887
17888 Portable Document Format
17889 \begin_inset Quotes erd
17890 \end_inset
17891
17892  (PDF, file extension 
17893 \begin_inset Quotes eld
17894 \end_inset
17895
17896
17897 \family typewriter
17898 .pdf
17899 \family default
17900
17901 \begin_inset Quotes erd
17902 \end_inset
17903
17904 )
17905 \begin_inset Index idx
17906 status collapsed
17907
17908 \begin_layout Plain Layout
17909 PDF
17910 \end_layout
17911
17912 \end_inset
17913
17914 .
17915  We say 
17916 \begin_inset Quotes eld
17917 \end_inset
17918
17919 can be
17920 \begin_inset Quotes erd
17921 \end_inset
17922
17923 , because you can convert any bitmap image format to PDF or EPS and the
17924  result will not be scalable.
17925  In this case only a header with the image properties is added to the original
17926  image.
17927 \begin_inset Foot
17928 status collapsed
17929
17930 \begin_layout Plain Layout
17931 In the case of PDF, the original image is additionally compressed.
17932 \end_layout
17933
17934 \end_inset
17935
17936
17937 \end_layout
17938
17939 \begin_layout Standard
17940 Normally one cannot convert a bitmap image into a scalable one, only 
17941 \emph on
17942 vice versa
17943 \emph default
17944 .
17945 \end_layout
17946
17947 \begin_layout Subsection
17948 Grouping of Image Settings
17949 \begin_inset Index idx
17950 status collapsed
17951
17952 \begin_layout Plain Layout
17953 Images ! Settings grouping
17954 \end_layout
17955
17956 \end_inset
17957
17958
17959 \end_layout
17960
17961 \begin_layout Standard
17962 Each image can define a new group of image settings or join an existing
17963  group.
17964  Images within such a group share their settings, so adjusting one image
17965  of the group automatically also adjusts all other images of the group in
17966  the same way.
17967  So you can for example change the size for a bunch of images without the
17968  need to manually change each of them.
17969  
17970 \end_layout
17971
17972 \begin_layout Standard
17973 A new group can be set by pressing the button 
17974 \family sans
17975 Open
17976 \begin_inset space ~
17977 \end_inset
17978
17979 new
17980 \begin_inset space ~
17981 \end_inset
17982
17983 group
17984 \family default
17985  in the
17986 \family sans
17987  Graphics
17988 \family default
17989  dialog in the 
17990 \family sans
17991 LaT
17992 \begin_inset ERT
17993 status collapsed
17994
17995 \begin_layout Plain Layout
17996
17997 {}
17998 \end_layout
17999
18000 \end_inset
18001
18002 eX
18003 \begin_inset space ~
18004 \end_inset
18005
18006 and
18007 \begin_inset space ~
18008 \end_inset
18009
18010 Ly
18011 \begin_inset ERT
18012 status collapsed
18013
18014 \begin_layout Plain Layout
18015
18016 {}
18017 \end_layout
18018
18019 \end_inset
18020
18021 X options
18022 \family default
18023  tab.
18024  Joining an existing group can be done using the context menu of the image
18025  and checking the name of the desired group.
18026 \end_layout
18027
18028 \begin_layout Section
18029 Tables
18030 \begin_inset Index idx
18031 status collapsed
18032
18033 \begin_layout Plain Layout
18034 Tables
18035 \end_layout
18036
18037 \end_inset
18038
18039
18040 \begin_inset CommandInset label
18041 LatexCommand label
18042 name "sec:Tables"
18043
18044 \end_inset
18045
18046
18047 \end_layout
18048
18049 \begin_layout Standard
18050 You can insert a table using either the toolbar button 
18051 \begin_inset Info
18052 type  "icon"
18053 arg   "tabular-insert"
18054 \end_inset
18055
18056  or the menu 
18057 \family sans
18058 Insert\SpecialChar \menuseparator
18059 Table
18060 \family default
18061 .
18062  A dialog will appear, asking you for the number of rows and columns.
18063  The default table has lines around any cell and the first row appears separated
18064  from the rest of the table.
18065  This separation appears due to a double line: The cells of the first row
18066  have a line below them and the cells of the second row have a line above
18067  them.
18068  Here is an example table:
18069 \end_layout
18070
18071 \begin_layout Standard
18072 \align center
18073 \begin_inset Tabular
18074 <lyxtabular version="3" rows="4" columns="4">
18075 <features rotate="0" tabularvalignment="middle">
18076 <column alignment="center" valignment="top" width="0pt">
18077 <column alignment="center" valignment="top" width="0pt">
18078 <column alignment="center" valignment="top" width="0in">
18079 <column alignment="center" valignment="top" width="0pt">
18080 <row>
18081 <cell alignment="center" valignment="top" topline="true" bottomline="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" bottomline="true" leftline="true" usebox="none">
18091 \begin_inset Text
18092
18093 \begin_layout Plain Layout
18094
18095 \family roman
18096 \series medium
18097 \shape up
18098 \size normal
18099 \emph off
18100 \bar no
18101 \noun off
18102 \color none
18103 1
18104 \end_layout
18105
18106 \end_inset
18107 </cell>
18108 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18109 \begin_inset Text
18110
18111 \begin_layout Plain Layout
18112 2
18113 \end_layout
18114
18115 \end_inset
18116 </cell>
18117 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18118 \begin_inset Text
18119
18120 \begin_layout Plain Layout
18121 3
18122 \end_layout
18123
18124 \end_inset
18125 </cell>
18126 </row>
18127 <row>
18128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18129 \begin_inset Text
18130
18131 \begin_layout Plain Layout
18132
18133 \family roman
18134 \series medium
18135 \shape up
18136 \size normal
18137 \emph off
18138 \bar no
18139 \noun off
18140 \color none
18141 A
18142 \end_layout
18143
18144 \end_inset
18145 </cell>
18146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18147 \begin_inset Text
18148
18149 \begin_layout Plain Layout
18150
18151 \end_layout
18152
18153 \end_inset
18154 </cell>
18155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18156 \begin_inset Text
18157
18158 \begin_layout Plain Layout
18159
18160 \end_layout
18161
18162 \end_inset
18163 </cell>
18164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18165 \begin_inset Text
18166
18167 \begin_layout Plain Layout
18168
18169 \end_layout
18170
18171 \end_inset
18172 </cell>
18173 </row>
18174 <row>
18175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18176 \begin_inset Text
18177
18178 \begin_layout Plain Layout
18179
18180 \family roman
18181 \series medium
18182 \shape up
18183 \size normal
18184 \emph off
18185 \bar no
18186 \noun off
18187 \color none
18188 B
18189 \end_layout
18190
18191 \end_inset
18192 </cell>
18193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18194 \begin_inset Text
18195
18196 \begin_layout Plain Layout
18197
18198 \end_layout
18199
18200 \end_inset
18201 </cell>
18202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18203 \begin_inset Text
18204
18205 \begin_layout Plain Layout
18206
18207 \size normal
18208 \noun off
18209 \color none
18210  
18211 \end_layout
18212
18213 \end_inset
18214 </cell>
18215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18216 \begin_inset Text
18217
18218 \begin_layout Plain Layout
18219
18220 \end_layout
18221
18222 \end_inset
18223 </cell>
18224 </row>
18225 <row>
18226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18227 \begin_inset Text
18228
18229 \begin_layout Plain Layout
18230
18231 \family roman
18232 \series medium
18233 \shape up
18234 \size normal
18235 \emph off
18236 \bar no
18237 \noun off
18238 \color none
18239 C
18240 \end_layout
18241
18242 \end_inset
18243 </cell>
18244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18245 \begin_inset Text
18246
18247 \begin_layout Plain Layout
18248
18249 \end_layout
18250
18251 \end_inset
18252 </cell>
18253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18254 \begin_inset Text
18255
18256 \begin_layout Plain Layout
18257
18258 \end_layout
18259
18260 \end_inset
18261 </cell>
18262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18263 \begin_inset Text
18264
18265 \begin_layout Plain Layout
18266
18267 \end_layout
18268
18269 \end_inset
18270 </cell>
18271 </row>
18272 </lyxtabular>
18273
18274 \end_inset
18275
18276
18277 \end_layout
18278
18279 \begin_layout Subsection
18280 The Table dialog
18281 \end_layout
18282
18283 \begin_layout Standard
18284 You can alter a table by clicking on it with the right mouse button and
18285  then choosing 
18286 \family sans
18287 More\SpecialChar \menuseparator
18288 Settings
18289 \family default
18290 .
18291  This brings up the table dialog.
18292  Here you can adjust the settings of the cell, row and/or column where the
18293  cursor is placed currently.
18294  Most of the dialog options also work on selections.
18295  This means that if you select more cells, columns or rows the action is
18296  done on all of your selection.
18297 \end_layout
18298
18299 \begin_layout Standard
18300 In addition to the table dialog, the 
18301 \family sans
18302 table
18303 \begin_inset space ~
18304 \end_inset
18305
18306 toolbar
18307 \family default
18308  helps you in setting table properties.
18309  It appears if the cursor is inside a table.
18310 \end_layout
18311
18312 \begin_layout Standard
18313 In the tab 
18314 \family sans
18315 Table
18316 \begin_inset space ~
18317 \end_inset
18318
18319 Settings
18320 \family default
18321  of the table dialog you can set the alignment for the current row.
18322  If you add a row or column, it will be inserted right beside or below the
18323  current cell respectively.
18324  The vertical alignment of a column can only be adjusted when a column width
18325  is given.
18326  A given width will allow the cell to have line breaks and multiple paragraphs
18327  of text, see section
18328 \begin_inset space ~
18329 \end_inset
18330
18331
18332 \begin_inset CommandInset ref
18333 LatexCommand ref
18334 reference "sub:Table-Cells"
18335
18336 \end_inset
18337
18338 .
18339 \end_layout
18340
18341 \begin_layout Standard
18342 You can mark multiple cells of one row/column as a multicolumn/row cell
18343  using the check box 
18344 \family sans
18345 Multicolumn
18346 \family default
18347  or 
18348 \family sans
18349 Multirow
18350 \family default
18351 .
18352  This will merge the cells to 
18353 \emph on
18354 one
18355 \emph default
18356  cell, spread over more than one column/row.
18357  Multicolumn cells are treated as own rows, so that the alignment, width,
18358  and border settings affect only the multicolumn cell.
18359  Here is an example table with a multicolumn cell in the first row and one
18360  in the last row without the upper border:
18361 \end_layout
18362
18363 \begin_layout Standard
18364 \align center
18365 \begin_inset Tabular
18366 <lyxtabular version="3" rows="3" columns="4">
18367 <features rotate="0" firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
18368 <column alignment="center" valignment="top" width="0pt">
18369 <column alignment="center" valignment="middle">
18370 <column alignment="center" valignment="top" width="0in">
18371 <column alignment="center" valignment="top" width="0pt">
18372 <row>
18373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18374 \begin_inset Text
18375
18376 \begin_layout Plain Layout
18377 abc
18378 \end_layout
18379
18380 \end_inset
18381 </cell>
18382 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
18383 \begin_inset Text
18384
18385 \begin_layout Plain Layout
18386 def ghi
18387 \end_layout
18388
18389 \end_inset
18390 </cell>
18391 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18392 \begin_inset Text
18393
18394 \begin_layout Plain Layout
18395
18396 \end_layout
18397
18398 \end_inset
18399 </cell>
18400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18401 \begin_inset Text
18402
18403 \begin_layout Plain Layout
18404 jkl
18405 \end_layout
18406
18407 \end_inset
18408 </cell>
18409 </row>
18410 <row>
18411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18412 \begin_inset Text
18413
18414 \begin_layout Plain Layout
18415
18416 \family roman
18417 \series medium
18418 \shape up
18419 \size normal
18420 \emph off
18421 \bar no
18422 \noun off
18423 \color none
18424 A
18425 \end_layout
18426
18427 \end_inset
18428 </cell>
18429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18430 \begin_inset Text
18431
18432 \begin_layout Plain Layout
18433 B
18434 \end_layout
18435
18436 \end_inset
18437 </cell>
18438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18439 \begin_inset Text
18440
18441 \begin_layout Plain Layout
18442 C
18443 \end_layout
18444
18445 \end_inset
18446 </cell>
18447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18448 \begin_inset Text
18449
18450 \begin_layout Plain Layout
18451 D
18452 \end_layout
18453
18454 \end_inset
18455 </cell>
18456 </row>
18457 <row>
18458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18459 \begin_inset Text
18460
18461 \begin_layout Plain Layout
18462 1
18463 \end_layout
18464
18465 \end_inset
18466 </cell>
18467 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18468 \begin_inset Text
18469
18470 \begin_layout Plain Layout
18471 2
18472 \end_layout
18473
18474 \end_inset
18475 </cell>
18476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18477 \begin_inset Text
18478
18479 \begin_layout Plain Layout
18480 3
18481 \end_layout
18482
18483 \end_inset
18484 </cell>
18485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18486 \begin_inset Text
18487
18488 \begin_layout Plain Layout
18489 4
18490 \end_layout
18491
18492 \end_inset
18493 </cell>
18494 </row>
18495 </lyxtabular>
18496
18497 \end_inset
18498
18499
18500 \end_layout
18501
18502 \begin_layout Standard
18503 Adept users can declare special LaTeX-arguments for the table.
18504  They are necessary for special table formatting, such as the multirow cells,
18505  explained in the chapter 
18506 \emph on
18507 Tables
18508 \emph default
18509  of the 
18510 \emph on
18511 Embedded
18512 \begin_inset space ~
18513 \end_inset
18514
18515 Objects
18516 \emph default
18517  manual.
18518  You can also rotate the current cell or the whole table 90
18519 \begin_inset space \thinspace{}
18520 \end_inset
18521
18522 degrees counterclockwise.
18523  These rotations are not visible in LyX but are visible in the output.
18524 \end_layout
18525
18526 \begin_layout Standard
18527 \begin_inset Note Greyedout
18528 status open
18529
18530 \begin_layout Plain Layout
18531
18532 \series bold
18533 Note:
18534 \series default
18535  Most DVI-viewers are 
18536 \emph on
18537 not
18538 \emph default
18539  able to display rotations.
18540 \end_layout
18541
18542 \end_inset
18543
18544
18545 \end_layout
18546
18547 \begin_layout Standard
18548 The 
18549 \family sans
18550 Borders
18551 \family default
18552  tab allows you to add and delete border lines for the current row/column.
18553  The button 
18554 \family sans
18555 Default
18556 \family default
18557  adds lines for all cell borders.
18558 \end_layout
18559
18560 \begin_layout Subsection
18561 Longtables
18562 \begin_inset Index idx
18563 status collapsed
18564
18565 \begin_layout Plain Layout
18566 Tables ! Longtables
18567 \end_layout
18568
18569 \end_inset
18570
18571
18572 \begin_inset Index idx
18573 status collapsed
18574
18575 \begin_layout Plain Layout
18576 Longtables
18577 \end_layout
18578
18579 \end_inset
18580
18581
18582 \end_layout
18583
18584 \begin_layout Standard
18585 If the table is too long to fit on one page, you can use the option 
18586 \family sans
18587 Use
18588 \begin_inset space ~
18589 \end_inset
18590
18591 long
18592 \begin_inset space ~
18593 \end_inset
18594
18595 table
18596 \family default
18597  in the tab 
18598 \family sans
18599 Longtable
18600 \family default
18601  of the table dialog to split the table automatically over more pages.
18602  Doing this enables some check boxes and you can now define:
18603 \end_layout
18604
18605 \begin_layout Description
18606
18607 \family sans
18608 Header
18609 \family default
18610 : The current row and all rows above, that don't have any special options
18611  defined, are defined to be the header rows of all pages of the longtable.
18612  except for the first page, if 
18613 \family sans
18614 First
18615 \begin_inset space ~
18616 \end_inset
18617
18618 header
18619 \family default
18620  is defined.
18621 \end_layout
18622
18623 \begin_layout Description
18624
18625 \family sans
18626 First
18627 \begin_inset space ~
18628 \end_inset
18629
18630 header
18631 \family default
18632 : The current row and all rows above, that don't have any special options
18633  defined, are defined to be the header rows of the first page of the longtable.
18634 \end_layout
18635
18636 \begin_layout Description
18637
18638 \family sans
18639 Footer
18640 \family default
18641 : The current row and all rows below, that don't have any special options
18642  defined, are defined to be the footer rows of all pages of the longtable,
18643  except for the last page, if 
18644 \family sans
18645 Last
18646 \begin_inset space ~
18647 \end_inset
18648
18649 footer
18650 \family default
18651  is defined.
18652 \end_layout
18653
18654 \begin_layout Description
18655
18656 \family sans
18657 Last
18658 \begin_inset space ~
18659 \end_inset
18660
18661 footer
18662 \family default
18663 : The current row and all rows below, that don't have any special options
18664  defined, are defined to be the footer rows of the last page of the longtable.
18665 \end_layout
18666
18667 \begin_layout Description
18668 Caption: The first row is reset as a single column.
18669  You can now insert there the table caption via the menu 
18670 \family sans
18671 Insert\SpecialChar \menuseparator
18672 Caption
18673 \family default
18674 .
18675  More about longtable captions can be found in the 
18676 \emph on
18677 Embedded
18678 \begin_inset space ~
18679 \end_inset
18680
18681 Objects
18682 \emph default
18683  manual.
18684 \end_layout
18685
18686 \begin_layout Standard
18687 You can also specify a row where the table is split.
18688  If you set more than one option in the same table row, you should be aware
18689  that then only the first option is used; the others will be defined as
18690  
18691 \emph on
18692 empty
18693 \emph default
18694 .
18695  In this context, first means first in this order: 
18696 \family sans
18697 Footer, Last
18698 \begin_inset space ~
18699 \end_inset
18700
18701 footer,
18702 \family default
18703  
18704 \family sans
18705 Header,
18706 \family default
18707  
18708 \family sans
18709 First
18710 \begin_inset space ~
18711 \end_inset
18712
18713 header
18714 \family default
18715 ; see the following longtable to see how it works:
18716 \end_layout
18717
18718 \begin_layout Standard
18719 \align center
18720 \begin_inset Tabular
18721 <lyxtabular version="3" rows="69" columns="3">
18722 <features rotate="0" islongtable="true" longtabularalignment="center">
18723 <column alignment="block" valignment="top" width="5cm">
18724 <column alignment="left" valignment="top" width="0pt">
18725 <column alignment="right" valignment="top" width="0pt">
18726 <row endfirsthead="true">
18727 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18728 \begin_inset Text
18729
18730 \begin_layout Plain Layout
18731
18732 \series bold
18733 Example Phone List (ignore the names)
18734 \end_layout
18735
18736 \end_inset
18737 </cell>
18738 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18739 \begin_inset Text
18740
18741 \begin_layout Plain Layout
18742
18743 \end_layout
18744
18745 \end_inset
18746 </cell>
18747 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18748 \begin_inset Text
18749
18750 \begin_layout Plain Layout
18751
18752 \end_layout
18753
18754 \end_inset
18755 </cell>
18756 </row>
18757 <row endfirsthead="true">
18758 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18759 \begin_inset Text
18760
18761 \begin_layout Plain Layout
18762
18763 \series bold
18764 NAME
18765 \end_layout
18766
18767 \end_inset
18768 </cell>
18769 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18770 \begin_inset Text
18771
18772 \begin_layout Plain Layout
18773
18774 \end_layout
18775
18776 \end_inset
18777 </cell>
18778 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18779 \begin_inset Text
18780
18781 \begin_layout Plain Layout
18782
18783 \series bold
18784 TEL.
18785 \end_layout
18786
18787 \end_inset
18788 </cell>
18789 </row>
18790 <row endhead="true">
18791 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18792 \begin_inset Text
18793
18794 \begin_layout Plain Layout
18795  
18796 \series bold
18797 Example Phone List
18798 \end_layout
18799
18800 \end_inset
18801 </cell>
18802 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18803 \begin_inset Text
18804
18805 \begin_layout Plain Layout
18806
18807 \end_layout
18808
18809 \end_inset
18810 </cell>
18811 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18812 \begin_inset Text
18813
18814 \begin_layout Plain Layout
18815
18816 \end_layout
18817
18818 \end_inset
18819 </cell>
18820 </row>
18821 <row endhead="true">
18822 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18823 \begin_inset Text
18824
18825 \begin_layout Plain Layout
18826
18827 \series bold
18828 NAME
18829 \end_layout
18830
18831 \end_inset
18832 </cell>
18833 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18834 \begin_inset Text
18835
18836 \begin_layout Plain Layout
18837
18838 \end_layout
18839
18840 \end_inset
18841 </cell>
18842 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18843 \begin_inset Text
18844
18845 \begin_layout Plain Layout
18846
18847 \series bold
18848 TEL.
18849 \end_layout
18850
18851 \end_inset
18852 </cell>
18853 </row>
18854 <row endfoot="true">
18855 <cell multicolumn="1" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18856 \begin_inset Text
18857
18858 \begin_layout Plain Layout
18859  
18860 \series bold
18861 continue ...
18862 \end_layout
18863
18864 \end_inset
18865 </cell>
18866 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18867 \begin_inset Text
18868
18869 \begin_layout Plain Layout
18870
18871 \end_layout
18872
18873 \end_inset
18874 </cell>
18875 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18876 \begin_inset Text
18877
18878 \begin_layout Plain Layout
18879
18880 \end_layout
18881
18882 \end_inset
18883 </cell>
18884 </row>
18885 <row>
18886 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18887 \begin_inset Text
18888
18889 \begin_layout Plain Layout
18890
18891 \series bold
18892 Annovi
18893 \end_layout
18894
18895 \end_inset
18896 </cell>
18897 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18898 \begin_inset Text
18899
18900 \begin_layout Plain Layout
18901 Silvia
18902 \end_layout
18903
18904 \end_inset
18905 </cell>
18906 <cell alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18907 \begin_inset Text
18908
18909 \begin_layout Plain Layout
18910 111
18911 \end_layout
18912
18913 \end_inset
18914 </cell>
18915 </row>
18916 <row>
18917 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18918 \begin_inset Text
18919
18920 \begin_layout Plain Layout
18921
18922 \series bold
18923 Bertoli
18924 \end_layout
18925
18926 \end_inset
18927 </cell>
18928 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18929 \begin_inset Text
18930
18931 \begin_layout Plain Layout
18932 Stefano
18933 \end_layout
18934
18935 \end_inset
18936 </cell>
18937 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18938 \begin_inset Text
18939
18940 \begin_layout Plain Layout
18941 111
18942 \end_layout
18943
18944 \end_inset
18945 </cell>
18946 </row>
18947 <row>
18948 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18949 \begin_inset Text
18950
18951 \begin_layout Plain Layout
18952
18953 \series bold
18954 Bozzi
18955 \end_layout
18956
18957 \end_inset
18958 </cell>
18959 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18960 \begin_inset Text
18961
18962 \begin_layout Plain Layout
18963 Walter
18964 \end_layout
18965
18966 \end_inset
18967 </cell>
18968 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
18969 \begin_inset Text
18970
18971 \begin_layout Plain Layout
18972 111
18973 \end_layout
18974
18975 \end_inset
18976 </cell>
18977 </row>
18978 <row>
18979 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
18980 \begin_inset Text
18981
18982 \begin_layout Plain Layout
18983
18984 \series bold
18985 Cachia
18986 \end_layout
18987
18988 \end_inset
18989 </cell>
18990 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
18991 \begin_inset Text
18992
18993 \begin_layout Plain Layout
18994 Maria
18995 \end_layout
18996
18997 \end_inset
18998 </cell>
18999 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19000 \begin_inset Text
19001
19002 \begin_layout Plain Layout
19003 111
19004 \end_layout
19005
19006 \end_inset
19007 </cell>
19008 </row>
19009 <row>
19010 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19011 \begin_inset Text
19012
19013 \begin_layout Plain Layout
19014
19015 \series bold
19016 Cachia
19017 \end_layout
19018
19019 \end_inset
19020 </cell>
19021 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19022 \begin_inset Text
19023
19024 \begin_layout Plain Layout
19025 Maurizio
19026 \end_layout
19027
19028 \end_inset
19029 </cell>
19030 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19031 \begin_inset Text
19032
19033 \begin_layout Plain Layout
19034 111
19035 \end_layout
19036
19037 \end_inset
19038 </cell>
19039 </row>
19040 <row>
19041 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19042 \begin_inset Text
19043
19044 \begin_layout Plain Layout
19045
19046 \series bold
19047 Cinquemani
19048 \end_layout
19049
19050 \end_inset
19051 </cell>
19052 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19053 \begin_inset Text
19054
19055 \begin_layout Plain Layout
19056 Giusi
19057 \end_layout
19058
19059 \end_inset
19060 </cell>
19061 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19062 \begin_inset Text
19063
19064 \begin_layout Plain Layout
19065 111
19066 \end_layout
19067
19068 \end_inset
19069 </cell>
19070 </row>
19071 <row>
19072 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19073 \begin_inset Text
19074
19075 \begin_layout Plain Layout
19076
19077 \series bold
19078 Colin
19079 \end_layout
19080
19081 \end_inset
19082 </cell>
19083 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19084 \begin_inset Text
19085
19086 \begin_layout Plain Layout
19087 Bernard
19088 \end_layout
19089
19090 \end_inset
19091 </cell>
19092 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19093 \begin_inset Text
19094
19095 \begin_layout Plain Layout
19096 111
19097 \end_layout
19098
19099 \end_inset
19100 </cell>
19101 </row>
19102 <row>
19103 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19104 \begin_inset Text
19105
19106 \begin_layout Plain Layout
19107
19108 \series bold
19109 Concli
19110 \end_layout
19111
19112 \end_inset
19113 </cell>
19114 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19115 \begin_inset Text
19116
19117 \begin_layout Plain Layout
19118 Gianfranco
19119 \end_layout
19120
19121 \end_inset
19122 </cell>
19123 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19124 \begin_inset Text
19125
19126 \begin_layout Plain Layout
19127 111
19128 \end_layout
19129
19130 \end_inset
19131 </cell>
19132 </row>
19133 <row>
19134 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19135 \begin_inset Text
19136
19137 \begin_layout Plain Layout
19138
19139 \series bold
19140 Dal Bosco
19141 \end_layout
19142
19143 \end_inset
19144 </cell>
19145 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19146 \begin_inset Text
19147
19148 \begin_layout Plain Layout
19149 Carolina
19150 \end_layout
19151
19152 \end_inset
19153 </cell>
19154 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19155 \begin_inset Text
19156
19157 \begin_layout Plain Layout
19158 111
19159 \end_layout
19160
19161 \end_inset
19162 </cell>
19163 </row>
19164 <row>
19165 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19166 \begin_inset Text
19167
19168 \begin_layout Plain Layout
19169
19170 \series bold
19171 Dalpiaz
19172 \end_layout
19173
19174 \end_inset
19175 </cell>
19176 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19177 \begin_inset Text
19178
19179 \begin_layout Plain Layout
19180 Annamaria
19181 \end_layout
19182
19183 \end_inset
19184 </cell>
19185 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19186 \begin_inset Text
19187
19188 \begin_layout Plain Layout
19189 111
19190 \end_layout
19191
19192 \end_inset
19193 </cell>
19194 </row>
19195 <row>
19196 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19197 \begin_inset Text
19198
19199 \begin_layout Plain Layout
19200
19201 \series bold
19202 Feliciello
19203 \end_layout
19204
19205 \end_inset
19206 </cell>
19207 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19208 \begin_inset Text
19209
19210 \begin_layout Plain Layout
19211 Domenico
19212 \end_layout
19213
19214 \end_inset
19215 </cell>
19216 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19217 \begin_inset Text
19218
19219 \begin_layout Plain Layout
19220 111
19221 \end_layout
19222
19223 \end_inset
19224 </cell>
19225 </row>
19226 <row>
19227 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19228 \begin_inset Text
19229
19230 \begin_layout Plain Layout
19231
19232 \series bold
19233 Focarelli
19234 \end_layout
19235
19236 \end_inset
19237 </cell>
19238 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19239 \begin_inset Text
19240
19241 \begin_layout Plain Layout
19242 Paola
19243 \end_layout
19244
19245 \end_inset
19246 </cell>
19247 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19248 \begin_inset Text
19249
19250 \begin_layout Plain Layout
19251 111
19252 \end_layout
19253
19254 \end_inset
19255 </cell>
19256 </row>
19257 <row>
19258 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19259 \begin_inset Text
19260
19261 \begin_layout Plain Layout
19262
19263 \series bold
19264 Galletti
19265 \end_layout
19266
19267 \end_inset
19268 </cell>
19269 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19270 \begin_inset Text
19271
19272 \begin_layout Plain Layout
19273 Oreste
19274 \end_layout
19275
19276 \end_inset
19277 </cell>
19278 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19279 \begin_inset Text
19280
19281 \begin_layout Plain Layout
19282 111
19283 \end_layout
19284
19285 \end_inset
19286 </cell>
19287 </row>
19288 <row>
19289 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19290 \begin_inset Text
19291
19292 \begin_layout Plain Layout
19293
19294 \series bold
19295 Gasparini
19296 \end_layout
19297
19298 \end_inset
19299 </cell>
19300 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19301 \begin_inset Text
19302
19303 \begin_layout Plain Layout
19304 Franca
19305 \end_layout
19306
19307 \end_inset
19308 </cell>
19309 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19310 \begin_inset Text
19311
19312 \begin_layout Plain Layout
19313 111
19314 \end_layout
19315
19316 \end_inset
19317 </cell>
19318 </row>
19319 <row>
19320 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19321 \begin_inset Text
19322
19323 \begin_layout Plain Layout
19324
19325 \series bold
19326 Rizzardi
19327 \end_layout
19328
19329 \end_inset
19330 </cell>
19331 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19332 \begin_inset Text
19333
19334 \begin_layout Plain Layout
19335 Paola
19336 \end_layout
19337
19338 \end_inset
19339 </cell>
19340 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19341 \begin_inset Text
19342
19343 \begin_layout Plain Layout
19344 111
19345 \end_layout
19346
19347 \end_inset
19348 </cell>
19349 </row>
19350 <row>
19351 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19352 \begin_inset Text
19353
19354 \begin_layout Plain Layout
19355
19356 \series bold
19357 Lassini
19358 \end_layout
19359
19360 \end_inset
19361 </cell>
19362 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19363 \begin_inset Text
19364
19365 \begin_layout Plain Layout
19366 Giancarlo
19367 \end_layout
19368
19369 \end_inset
19370 </cell>
19371 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19372 \begin_inset Text
19373
19374 \begin_layout Plain Layout
19375 111
19376 \end_layout
19377
19378 \end_inset
19379 </cell>
19380 </row>
19381 <row>
19382 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19383 \begin_inset Text
19384
19385 \begin_layout Plain Layout
19386
19387 \series bold
19388 Malfatti
19389 \end_layout
19390
19391 \end_inset
19392 </cell>
19393 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19394 \begin_inset Text
19395
19396 \begin_layout Plain Layout
19397 Luciano
19398 \end_layout
19399
19400 \end_inset
19401 </cell>
19402 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19403 \begin_inset Text
19404
19405 \begin_layout Plain Layout
19406 111
19407 \end_layout
19408
19409 \end_inset
19410 </cell>
19411 </row>
19412 <row>
19413 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19414 \begin_inset Text
19415
19416 \begin_layout Plain Layout
19417
19418 \series bold
19419 Malfatti
19420 \end_layout
19421
19422 \end_inset
19423 </cell>
19424 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19425 \begin_inset Text
19426
19427 \begin_layout Plain Layout
19428 Valeriano
19429 \end_layout
19430
19431 \end_inset
19432 </cell>
19433 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19434 \begin_inset Text
19435
19436 \begin_layout Plain Layout
19437 111
19438 \end_layout
19439
19440 \end_inset
19441 </cell>
19442 </row>
19443 <row>
19444 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19445 \begin_inset Text
19446
19447 \begin_layout Plain Layout
19448
19449 \series bold
19450 Meneguzzo
19451 \end_layout
19452
19453 \end_inset
19454 </cell>
19455 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19456 \begin_inset Text
19457
19458 \begin_layout Plain Layout
19459 Roberto
19460 \end_layout
19461
19462 \end_inset
19463 </cell>
19464 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19465 \begin_inset Text
19466
19467 \begin_layout Plain Layout
19468 111
19469 \end_layout
19470
19471 \end_inset
19472 </cell>
19473 </row>
19474 <row>
19475 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19476 \begin_inset Text
19477
19478 \begin_layout Plain Layout
19479
19480 \series bold
19481 Mezzadra
19482 \end_layout
19483
19484 \end_inset
19485 </cell>
19486 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19487 \begin_inset Text
19488
19489 \begin_layout Plain Layout
19490 Roberto
19491 \end_layout
19492
19493 \end_inset
19494 </cell>
19495 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19496 \begin_inset Text
19497
19498 \begin_layout Plain Layout
19499 111
19500 \end_layout
19501
19502 \end_inset
19503 </cell>
19504 </row>
19505 <row>
19506 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19507 \begin_inset Text
19508
19509 \begin_layout Plain Layout
19510
19511 \series bold
19512 Pirpamer
19513 \end_layout
19514
19515 \end_inset
19516 </cell>
19517 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19518 \begin_inset Text
19519
19520 \begin_layout Plain Layout
19521 Erich
19522 \end_layout
19523
19524 \end_inset
19525 </cell>
19526 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19527 \begin_inset Text
19528
19529 \begin_layout Plain Layout
19530 111
19531 \end_layout
19532
19533 \end_inset
19534 </cell>
19535 </row>
19536 <row>
19537 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19538 \begin_inset Text
19539
19540 \begin_layout Plain Layout
19541
19542 \series bold
19543 Pochiesa
19544 \end_layout
19545
19546 \end_inset
19547 </cell>
19548 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19549 \begin_inset Text
19550
19551 \begin_layout Plain Layout
19552 Paolo
19553 \end_layout
19554
19555 \end_inset
19556 </cell>
19557 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19558 \begin_inset Text
19559
19560 \begin_layout Plain Layout
19561 111, 222
19562 \end_layout
19563
19564 \end_inset
19565 </cell>
19566 </row>
19567 <row>
19568 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19569 \begin_inset Text
19570
19571 \begin_layout Plain Layout
19572
19573 \series bold
19574 Radina
19575 \end_layout
19576
19577 \end_inset
19578 </cell>
19579 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19580 \begin_inset Text
19581
19582 \begin_layout Plain Layout
19583 Claudio
19584 \end_layout
19585
19586 \end_inset
19587 </cell>
19588 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19589 \begin_inset Text
19590
19591 \begin_layout Plain Layout
19592 111
19593 \end_layout
19594
19595 \end_inset
19596 </cell>
19597 </row>
19598 <row>
19599 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19600 \begin_inset Text
19601
19602 \begin_layout Plain Layout
19603
19604 \series bold
19605 Stuffer
19606 \end_layout
19607
19608 \end_inset
19609 </cell>
19610 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19611 \begin_inset Text
19612
19613 \begin_layout Plain Layout
19614 Oskar
19615 \end_layout
19616
19617 \end_inset
19618 </cell>
19619 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19620 \begin_inset Text
19621
19622 \begin_layout Plain Layout
19623 111
19624 \end_layout
19625
19626 \end_inset
19627 </cell>
19628 </row>
19629 <row>
19630 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19631 \begin_inset Text
19632
19633 \begin_layout Plain Layout
19634
19635 \series bold
19636 Tacchelli
19637 \end_layout
19638
19639 \end_inset
19640 </cell>
19641 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19642 \begin_inset Text
19643
19644 \begin_layout Plain Layout
19645 Ugo
19646 \end_layout
19647
19648 \end_inset
19649 </cell>
19650 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19651 \begin_inset Text
19652
19653 \begin_layout Plain Layout
19654 111
19655 \end_layout
19656
19657 \end_inset
19658 </cell>
19659 </row>
19660 <row>
19661 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19662 \begin_inset Text
19663
19664 \begin_layout Plain Layout
19665
19666 \series bold
19667 Tezzele
19668 \end_layout
19669
19670 \end_inset
19671 </cell>
19672 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19673 \begin_inset Text
19674
19675 \begin_layout Plain Layout
19676 Margit
19677 \end_layout
19678
19679 \end_inset
19680 </cell>
19681 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19682 \begin_inset Text
19683
19684 \begin_layout Plain Layout
19685 111
19686 \end_layout
19687
19688 \end_inset
19689 </cell>
19690 </row>
19691 <row>
19692 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19693 \begin_inset Text
19694
19695 \begin_layout Plain Layout
19696
19697 \series bold
19698 Unterkalmsteiner
19699 \end_layout
19700
19701 \end_inset
19702 </cell>
19703 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19704 \begin_inset Text
19705
19706 \begin_layout Plain Layout
19707 Frieda
19708 \end_layout
19709
19710 \end_inset
19711 </cell>
19712 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19713 \begin_inset Text
19714
19715 \begin_layout Plain Layout
19716 111
19717 \end_layout
19718
19719 \end_inset
19720 </cell>
19721 </row>
19722 <row>
19723 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19724 \begin_inset Text
19725
19726 \begin_layout Plain Layout
19727
19728 \series bold
19729 Vieider
19730 \end_layout
19731
19732 \end_inset
19733 </cell>
19734 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19735 \begin_inset Text
19736
19737 \begin_layout Plain Layout
19738 Hilde
19739 \end_layout
19740
19741 \end_inset
19742 </cell>
19743 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19744 \begin_inset Text
19745
19746 \begin_layout Plain Layout
19747 111
19748 \end_layout
19749
19750 \end_inset
19751 </cell>
19752 </row>
19753 <row>
19754 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19755 \begin_inset Text
19756
19757 \begin_layout Plain Layout
19758
19759 \series bold
19760 Vigna
19761 \end_layout
19762
19763 \end_inset
19764 </cell>
19765 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19766 \begin_inset Text
19767
19768 \begin_layout Plain Layout
19769 Jürgen
19770 \end_layout
19771
19772 \end_inset
19773 </cell>
19774 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19775 \begin_inset Text
19776
19777 \begin_layout Plain Layout
19778 111
19779 \end_layout
19780
19781 \end_inset
19782 </cell>
19783 </row>
19784 <row>
19785 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19786 \begin_inset Text
19787
19788 \begin_layout Plain Layout
19789
19790 \series bold
19791 Weber
19792 \end_layout
19793
19794 \end_inset
19795 </cell>
19796 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19797 \begin_inset Text
19798
19799 \begin_layout Plain Layout
19800 Maurizio
19801 \end_layout
19802
19803 \end_inset
19804 </cell>
19805 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19806 \begin_inset Text
19807
19808 \begin_layout Plain Layout
19809 111
19810 \end_layout
19811
19812 \end_inset
19813 </cell>
19814 </row>
19815 <row>
19816 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19817 \begin_inset Text
19818
19819 \begin_layout Plain Layout
19820
19821 \series bold
19822 Winkler
19823 \end_layout
19824
19825 \end_inset
19826 </cell>
19827 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19828 \begin_inset Text
19829
19830 \begin_layout Plain Layout
19831 Franz
19832 \end_layout
19833
19834 \end_inset
19835 </cell>
19836 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19837 \begin_inset Text
19838
19839 \begin_layout Plain Layout
19840 111
19841 \end_layout
19842
19843 \end_inset
19844 </cell>
19845 </row>
19846 <row>
19847 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19848 \begin_inset Text
19849
19850 \begin_layout Plain Layout
19851  
19852 \end_layout
19853
19854 \end_inset
19855 </cell>
19856 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
19857 \begin_inset Text
19858
19859 \begin_layout Plain Layout
19860
19861 \end_layout
19862
19863 \end_inset
19864 </cell>
19865 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19866 \begin_inset Text
19867
19868 \begin_layout Plain Layout
19869
19870 \end_layout
19871
19872 \end_inset
19873 </cell>
19874 </row>
19875 <row>
19876 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19877 \begin_inset Text
19878
19879 \begin_layout Plain Layout
19880
19881 \series bold
19882 Annovi
19883 \end_layout
19884
19885 \end_inset
19886 </cell>
19887 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19888 \begin_inset Text
19889
19890 \begin_layout Plain Layout
19891 Silvia
19892 \end_layout
19893
19894 \end_inset
19895 </cell>
19896 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19897 \begin_inset Text
19898
19899 \begin_layout Plain Layout
19900 555
19901 \end_layout
19902
19903 \end_inset
19904 </cell>
19905 </row>
19906 <row>
19907 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19908 \begin_inset Text
19909
19910 \begin_layout Plain Layout
19911
19912 \series bold
19913 Bertoli
19914 \end_layout
19915
19916 \end_inset
19917 </cell>
19918 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19919 \begin_inset Text
19920
19921 \begin_layout Plain Layout
19922 Stefano
19923 \end_layout
19924
19925 \end_inset
19926 </cell>
19927 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19928 \begin_inset Text
19929
19930 \begin_layout Plain Layout
19931 555
19932 \end_layout
19933
19934 \end_inset
19935 </cell>
19936 </row>
19937 <row>
19938 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19939 \begin_inset Text
19940
19941 \begin_layout Plain Layout
19942
19943 \series bold
19944 Bozzi
19945 \end_layout
19946
19947 \end_inset
19948 </cell>
19949 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19950 \begin_inset Text
19951
19952 \begin_layout Plain Layout
19953 Walter
19954 \end_layout
19955
19956 \end_inset
19957 </cell>
19958 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19959 \begin_inset Text
19960
19961 \begin_layout Plain Layout
19962 555
19963 \end_layout
19964
19965 \end_inset
19966 </cell>
19967 </row>
19968 <row>
19969 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
19970 \begin_inset Text
19971
19972 \begin_layout Plain Layout
19973
19974 \series bold
19975 Cachia
19976 \end_layout
19977
19978 \end_inset
19979 </cell>
19980 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19981 \begin_inset Text
19982
19983 \begin_layout Plain Layout
19984 Maria
19985 \end_layout
19986
19987 \end_inset
19988 </cell>
19989 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
19990 \begin_inset Text
19991
19992 \begin_layout Plain Layout
19993 555
19994 \end_layout
19995
19996 \end_inset
19997 </cell>
19998 </row>
19999 <row>
20000 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20001 \begin_inset Text
20002
20003 \begin_layout Plain Layout
20004
20005 \series bold
20006 Cachia
20007 \end_layout
20008
20009 \end_inset
20010 </cell>
20011 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20012 \begin_inset Text
20013
20014 \begin_layout Plain Layout
20015 Maurizio
20016 \end_layout
20017
20018 \end_inset
20019 </cell>
20020 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20021 \begin_inset Text
20022
20023 \begin_layout Plain Layout
20024 555
20025 \end_layout
20026
20027 \end_inset
20028 </cell>
20029 </row>
20030 <row>
20031 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20032 \begin_inset Text
20033
20034 \begin_layout Plain Layout
20035
20036 \series bold
20037 Cinquemani
20038 \end_layout
20039
20040 \end_inset
20041 </cell>
20042 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20043 \begin_inset Text
20044
20045 \begin_layout Plain Layout
20046 Giusi
20047 \end_layout
20048
20049 \end_inset
20050 </cell>
20051 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20052 \begin_inset Text
20053
20054 \begin_layout Plain Layout
20055 555
20056 \end_layout
20057
20058 \end_inset
20059 </cell>
20060 </row>
20061 <row>
20062 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20063 \begin_inset Text
20064
20065 \begin_layout Plain Layout
20066
20067 \series bold
20068 Colin
20069 \end_layout
20070
20071 \end_inset
20072 </cell>
20073 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20074 \begin_inset Text
20075
20076 \begin_layout Plain Layout
20077 Bernard
20078 \end_layout
20079
20080 \end_inset
20081 </cell>
20082 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20083 \begin_inset Text
20084
20085 \begin_layout Plain Layout
20086 555
20087 \end_layout
20088
20089 \end_inset
20090 </cell>
20091 </row>
20092 <row>
20093 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20094 \begin_inset Text
20095
20096 \begin_layout Plain Layout
20097
20098 \series bold
20099 Concli
20100 \end_layout
20101
20102 \end_inset
20103 </cell>
20104 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20105 \begin_inset Text
20106
20107 \begin_layout Plain Layout
20108 Gianfranco
20109 \end_layout
20110
20111 \end_inset
20112 </cell>
20113 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20114 \begin_inset Text
20115
20116 \begin_layout Plain Layout
20117 555
20118 \end_layout
20119
20120 \end_inset
20121 </cell>
20122 </row>
20123 <row>
20124 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20125 \begin_inset Text
20126
20127 \begin_layout Plain Layout
20128
20129 \series bold
20130 Dal Bosco
20131 \end_layout
20132
20133 \end_inset
20134 </cell>
20135 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20136 \begin_inset Text
20137
20138 \begin_layout Plain Layout
20139 Carolina
20140 \end_layout
20141
20142 \end_inset
20143 </cell>
20144 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20145 \begin_inset Text
20146
20147 \begin_layout Plain Layout
20148 555
20149 \end_layout
20150
20151 \end_inset
20152 </cell>
20153 </row>
20154 <row>
20155 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20156 \begin_inset Text
20157
20158 \begin_layout Plain Layout
20159
20160 \series bold
20161 Dalpiaz
20162 \end_layout
20163
20164 \end_inset
20165 </cell>
20166 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20167 \begin_inset Text
20168
20169 \begin_layout Plain Layout
20170 Annamaria
20171 \end_layout
20172
20173 \end_inset
20174 </cell>
20175 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20176 \begin_inset Text
20177
20178 \begin_layout Plain Layout
20179 555
20180 \end_layout
20181
20182 \end_inset
20183 </cell>
20184 </row>
20185 <row>
20186 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20187 \begin_inset Text
20188
20189 \begin_layout Plain Layout
20190
20191 \series bold
20192 Feliciello
20193 \end_layout
20194
20195 \end_inset
20196 </cell>
20197 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20198 \begin_inset Text
20199
20200 \begin_layout Plain Layout
20201 Domenico
20202 \end_layout
20203
20204 \end_inset
20205 </cell>
20206 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20207 \begin_inset Text
20208
20209 \begin_layout Plain Layout
20210 555
20211 \end_layout
20212
20213 \end_inset
20214 </cell>
20215 </row>
20216 <row>
20217 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20218 \begin_inset Text
20219
20220 \begin_layout Plain Layout
20221
20222 \series bold
20223 Focarelli
20224 \end_layout
20225
20226 \end_inset
20227 </cell>
20228 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20229 \begin_inset Text
20230
20231 \begin_layout Plain Layout
20232 Paola
20233 \end_layout
20234
20235 \end_inset
20236 </cell>
20237 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20238 \begin_inset Text
20239
20240 \begin_layout Plain Layout
20241 555
20242 \end_layout
20243
20244 \end_inset
20245 </cell>
20246 </row>
20247 <row>
20248 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20249 \begin_inset Text
20250
20251 \begin_layout Plain Layout
20252
20253 \series bold
20254 Galletti
20255 \end_layout
20256
20257 \end_inset
20258 </cell>
20259 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20260 \begin_inset Text
20261
20262 \begin_layout Plain Layout
20263 Oreste
20264 \end_layout
20265
20266 \end_inset
20267 </cell>
20268 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20269 \begin_inset Text
20270
20271 \begin_layout Plain Layout
20272 555
20273 \end_layout
20274
20275 \end_inset
20276 </cell>
20277 </row>
20278 <row>
20279 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20280 \begin_inset Text
20281
20282 \begin_layout Plain Layout
20283
20284 \series bold
20285 Gasparini
20286 \end_layout
20287
20288 \end_inset
20289 </cell>
20290 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20291 \begin_inset Text
20292
20293 \begin_layout Plain Layout
20294 Franca
20295 \end_layout
20296
20297 \end_inset
20298 </cell>
20299 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20300 \begin_inset Text
20301
20302 \begin_layout Plain Layout
20303 555
20304 \end_layout
20305
20306 \end_inset
20307 </cell>
20308 </row>
20309 <row>
20310 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20311 \begin_inset Text
20312
20313 \begin_layout Plain Layout
20314
20315 \series bold
20316 Rizzardi
20317 \end_layout
20318
20319 \end_inset
20320 </cell>
20321 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20322 \begin_inset Text
20323
20324 \begin_layout Plain Layout
20325 Paola
20326 \end_layout
20327
20328 \end_inset
20329 </cell>
20330 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20331 \begin_inset Text
20332
20333 \begin_layout Plain Layout
20334 555
20335 \end_layout
20336
20337 \end_inset
20338 </cell>
20339 </row>
20340 <row>
20341 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20342 \begin_inset Text
20343
20344 \begin_layout Plain Layout
20345
20346 \series bold
20347 Lassini
20348 \end_layout
20349
20350 \end_inset
20351 </cell>
20352 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20353 \begin_inset Text
20354
20355 \begin_layout Plain Layout
20356 Giancarlo
20357 \end_layout
20358
20359 \end_inset
20360 </cell>
20361 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20362 \begin_inset Text
20363
20364 \begin_layout Plain Layout
20365 555
20366 \end_layout
20367
20368 \end_inset
20369 </cell>
20370 </row>
20371 <row>
20372 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20373 \begin_inset Text
20374
20375 \begin_layout Plain Layout
20376
20377 \series bold
20378 Malfatti
20379 \end_layout
20380
20381 \end_inset
20382 </cell>
20383 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20384 \begin_inset Text
20385
20386 \begin_layout Plain Layout
20387 Luciano
20388 \end_layout
20389
20390 \end_inset
20391 </cell>
20392 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20393 \begin_inset Text
20394
20395 \begin_layout Plain Layout
20396 555
20397 \end_layout
20398
20399 \end_inset
20400 </cell>
20401 </row>
20402 <row>
20403 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20404 \begin_inset Text
20405
20406 \begin_layout Plain Layout
20407
20408 \series bold
20409 Malfatti
20410 \end_layout
20411
20412 \end_inset
20413 </cell>
20414 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20415 \begin_inset Text
20416
20417 \begin_layout Plain Layout
20418 Valeriano
20419 \end_layout
20420
20421 \end_inset
20422 </cell>
20423 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20424 \begin_inset Text
20425
20426 \begin_layout Plain Layout
20427 555
20428 \end_layout
20429
20430 \end_inset
20431 </cell>
20432 </row>
20433 <row>
20434 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20435 \begin_inset Text
20436
20437 \begin_layout Plain Layout
20438
20439 \series bold
20440 Meneguzzo
20441 \end_layout
20442
20443 \end_inset
20444 </cell>
20445 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20446 \begin_inset Text
20447
20448 \begin_layout Plain Layout
20449 Roberto
20450 \end_layout
20451
20452 \end_inset
20453 </cell>
20454 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20455 \begin_inset Text
20456
20457 \begin_layout Plain Layout
20458 555
20459 \end_layout
20460
20461 \end_inset
20462 </cell>
20463 </row>
20464 <row>
20465 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20466 \begin_inset Text
20467
20468 \begin_layout Plain Layout
20469
20470 \series bold
20471 Mezzadra
20472 \end_layout
20473
20474 \end_inset
20475 </cell>
20476 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20477 \begin_inset Text
20478
20479 \begin_layout Plain Layout
20480 Roberto
20481 \end_layout
20482
20483 \end_inset
20484 </cell>
20485 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20486 \begin_inset Text
20487
20488 \begin_layout Plain Layout
20489 555
20490 \end_layout
20491
20492 \end_inset
20493 </cell>
20494 </row>
20495 <row>
20496 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20497 \begin_inset Text
20498
20499 \begin_layout Plain Layout
20500
20501 \series bold
20502 Pirpamer
20503 \end_layout
20504
20505 \end_inset
20506 </cell>
20507 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20508 \begin_inset Text
20509
20510 \begin_layout Plain Layout
20511 Erich
20512 \end_layout
20513
20514 \end_inset
20515 </cell>
20516 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20517 \begin_inset Text
20518
20519 \begin_layout Plain Layout
20520 555
20521 \end_layout
20522
20523 \end_inset
20524 </cell>
20525 </row>
20526 <row>
20527 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20528 \begin_inset Text
20529
20530 \begin_layout Plain Layout
20531
20532 \series bold
20533 Pochiesa
20534 \end_layout
20535
20536 \end_inset
20537 </cell>
20538 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20539 \begin_inset Text
20540
20541 \begin_layout Plain Layout
20542 Paolo
20543 \end_layout
20544
20545 \end_inset
20546 </cell>
20547 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20548 \begin_inset Text
20549
20550 \begin_layout Plain Layout
20551 555, 222
20552 \end_layout
20553
20554 \end_inset
20555 </cell>
20556 </row>
20557 <row>
20558 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20559 \begin_inset Text
20560
20561 \begin_layout Plain Layout
20562
20563 \series bold
20564 Radina
20565 \end_layout
20566
20567 \end_inset
20568 </cell>
20569 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20570 \begin_inset Text
20571
20572 \begin_layout Plain Layout
20573 Claudio
20574 \end_layout
20575
20576 \end_inset
20577 </cell>
20578 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20579 \begin_inset Text
20580
20581 \begin_layout Plain Layout
20582 555
20583 \end_layout
20584
20585 \end_inset
20586 </cell>
20587 </row>
20588 <row>
20589 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20590 \begin_inset Text
20591
20592 \begin_layout Plain Layout
20593
20594 \series bold
20595 Stuffer
20596 \end_layout
20597
20598 \end_inset
20599 </cell>
20600 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20601 \begin_inset Text
20602
20603 \begin_layout Plain Layout
20604 Oskar
20605 \end_layout
20606
20607 \end_inset
20608 </cell>
20609 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20610 \begin_inset Text
20611
20612 \begin_layout Plain Layout
20613 555
20614 \end_layout
20615
20616 \end_inset
20617 </cell>
20618 </row>
20619 <row>
20620 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20621 \begin_inset Text
20622
20623 \begin_layout Plain Layout
20624
20625 \series bold
20626 Tacchelli
20627 \end_layout
20628
20629 \end_inset
20630 </cell>
20631 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20632 \begin_inset Text
20633
20634 \begin_layout Plain Layout
20635 Ugo
20636 \end_layout
20637
20638 \end_inset
20639 </cell>
20640 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20641 \begin_inset Text
20642
20643 \begin_layout Plain Layout
20644 555
20645 \end_layout
20646
20647 \end_inset
20648 </cell>
20649 </row>
20650 <row>
20651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20652 \begin_inset Text
20653
20654 \begin_layout Plain Layout
20655
20656 \series bold
20657 Tezzele
20658 \end_layout
20659
20660 \end_inset
20661 </cell>
20662 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20663 \begin_inset Text
20664
20665 \begin_layout Plain Layout
20666 Margit
20667 \end_layout
20668
20669 \end_inset
20670 </cell>
20671 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20672 \begin_inset Text
20673
20674 \begin_layout Plain Layout
20675 555
20676 \end_layout
20677
20678 \end_inset
20679 </cell>
20680 </row>
20681 <row>
20682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20683 \begin_inset Text
20684
20685 \begin_layout Plain Layout
20686
20687 \series bold
20688 Unterkalmsteiner
20689 \end_layout
20690
20691 \end_inset
20692 </cell>
20693 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20694 \begin_inset Text
20695
20696 \begin_layout Plain Layout
20697 Frieda
20698 \end_layout
20699
20700 \end_inset
20701 </cell>
20702 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20703 \begin_inset Text
20704
20705 \begin_layout Plain Layout
20706 555
20707 \end_layout
20708
20709 \end_inset
20710 </cell>
20711 </row>
20712 <row>
20713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20714 \begin_inset Text
20715
20716 \begin_layout Plain Layout
20717
20718 \series bold
20719 Vieider
20720 \end_layout
20721
20722 \end_inset
20723 </cell>
20724 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20725 \begin_inset Text
20726
20727 \begin_layout Plain Layout
20728 Hilde
20729 \end_layout
20730
20731 \end_inset
20732 </cell>
20733 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20734 \begin_inset Text
20735
20736 \begin_layout Plain Layout
20737 555
20738 \end_layout
20739
20740 \end_inset
20741 </cell>
20742 </row>
20743 <row>
20744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20745 \begin_inset Text
20746
20747 \begin_layout Plain Layout
20748
20749 \series bold
20750 Vigna
20751 \end_layout
20752
20753 \end_inset
20754 </cell>
20755 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20756 \begin_inset Text
20757
20758 \begin_layout Plain Layout
20759 Jürgen
20760 \end_layout
20761
20762 \end_inset
20763 </cell>
20764 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20765 \begin_inset Text
20766
20767 \begin_layout Plain Layout
20768 999
20769 \end_layout
20770
20771 \end_inset
20772 </cell>
20773 </row>
20774 <row>
20775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20776 \begin_inset Text
20777
20778 \begin_layout Plain Layout
20779
20780 \series bold
20781 Weber
20782 \end_layout
20783
20784 \end_inset
20785 </cell>
20786 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20787 \begin_inset Text
20788
20789 \begin_layout Plain Layout
20790 Maurizio
20791 \end_layout
20792
20793 \end_inset
20794 </cell>
20795 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20796 \begin_inset Text
20797
20798 \begin_layout Plain Layout
20799 555
20800 \end_layout
20801
20802 \end_inset
20803 </cell>
20804 </row>
20805 <row>
20806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
20807 \begin_inset Text
20808
20809 \begin_layout Plain Layout
20810
20811 \series bold
20812 Winkler
20813 \end_layout
20814
20815 \end_inset
20816 </cell>
20817 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20818 \begin_inset Text
20819
20820 \begin_layout Plain Layout
20821 Franz
20822 \end_layout
20823
20824 \end_inset
20825 </cell>
20826 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20827 \begin_inset Text
20828
20829 \begin_layout Plain Layout
20830 555
20831 \end_layout
20832
20833 \end_inset
20834 </cell>
20835 </row>
20836 <row endlastfoot="true">
20837 <cell multicolumn="1" alignment="block" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
20838 \begin_inset Text
20839
20840 \begin_layout Plain Layout
20841
20842 \series bold
20843 End
20844 \end_layout
20845
20846 \end_inset
20847 </cell>
20848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
20849 \begin_inset Text
20850
20851 \begin_layout Plain Layout
20852
20853 \end_layout
20854
20855 \end_inset
20856 </cell>
20857 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20858 \begin_inset Text
20859
20860 \begin_layout Plain Layout
20861
20862 \end_layout
20863
20864 \end_inset
20865 </cell>
20866 </row>
20867 </lyxtabular>
20868
20869 \end_inset
20870
20871
20872 \end_layout
20873
20874 \begin_layout Subsection
20875 Table Cells
20876 \begin_inset Index idx
20877 status collapsed
20878
20879 \begin_layout Plain Layout
20880 Tables ! Cells
20881 \end_layout
20882
20883 \end_inset
20884
20885
20886 \begin_inset CommandInset label
20887 LatexCommand label
20888 name "sub:Table-Cells"
20889
20890 \end_inset
20891
20892
20893 \end_layout
20894
20895 \begin_layout Standard
20896 A table cell can contain text, inline equations, a figure, or another table.
20897  All these kinds of objects can be placed in the same cell.
20898  Font sizes and shapes can also be altered.
20899  But you can't put a special environment in a cell (like 
20900 \family sans
20901 Section*
20902 \family default
20903 , etc.), nor set spacing options for the cell's paragraph.
20904 \end_layout
20905
20906 \begin_layout Standard
20907 To have multi-line entries in table cells, you have to declare a fixed width
20908  for the column in the table dialog.
20909  Your text is then automatically split into multiple lines and the cell
20910  is enlarged vertically when the length of the text exceeds the given width.
20911  An example:
20912 \end_layout
20913
20914 \begin_layout Standard
20915 \align center
20916 \begin_inset Tabular
20917 <lyxtabular version="3" rows="4" columns="3">
20918 <features rotate="0" tabularvalignment="middle">
20919 <column alignment="center" valignment="top" width="0pt">
20920 <column alignment="block" valignment="top" width="3cm">
20921 <column alignment="center" valignment="top" width="0pt">
20922 <row>
20923 <cell alignment="center" valignment="top" topline="true" 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 1
20937 \end_layout
20938
20939 \end_inset
20940 </cell>
20941 <cell multicolumn="1" alignment="center" valignment="top" topline="true" 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 2
20955 \end_layout
20956
20957 \end_inset
20958 </cell>
20959 <cell alignment="center" valignment="top" topline="true" 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 3
20973 \end_layout
20974
20975 \end_inset
20976 </cell>
20977 </row>
20978 <row>
20979 <cell alignment="center" valignment="top" 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 4
20993 \end_layout
20994
20995 \end_inset
20996 </cell>
20997 <cell alignment="center" valignment="top" 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 \end_layout
21012
21013 \end_inset
21014 </cell>
21015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
21016 \begin_inset Text
21017
21018 \begin_layout Plain Layout
21019
21020 \family roman
21021 \series medium
21022 \shape up
21023 \size normal
21024 \emph off
21025 \bar no
21026 \noun off
21027 \color none
21028 5
21029 \end_layout
21030
21031 \end_inset
21032 </cell>
21033 </row>
21034 <row>
21035 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21036 \begin_inset Text
21037
21038 \begin_layout Plain Layout
21039
21040 \family roman
21041 \series medium
21042 \shape up
21043 \size normal
21044 \emph off
21045 \bar no
21046 \noun off
21047 \color none
21048 6
21049 \end_layout
21050
21051 \end_inset
21052 </cell>
21053 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21054 \begin_inset Text
21055
21056 \begin_layout Plain Layout
21057
21058 \family roman
21059 \series medium
21060 \shape up
21061 \size normal
21062 \emph off
21063 \bar no
21064 \noun off
21065 \color none
21066 This is longer now.
21067 \end_layout
21068
21069 \end_inset
21070 </cell>
21071 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21072 \begin_inset Text
21073
21074 \begin_layout Plain Layout
21075
21076 \family roman
21077 \series medium
21078 \shape up
21079 \size normal
21080 \emph off
21081 \bar no
21082 \noun off
21083 \color none
21084 7
21085 \end_layout
21086
21087 \end_inset
21088 </cell>
21089 </row>
21090 <row>
21091 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21092 \begin_inset Text
21093
21094 \begin_layout Plain Layout
21095
21096 \family roman
21097 \series medium
21098 \shape up
21099 \size normal
21100 \emph off
21101 \bar no
21102 \noun off
21103 \color none
21104 8
21105 \end_layout
21106
21107 \end_inset
21108 </cell>
21109 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21110 \begin_inset Text
21111
21112 \begin_layout Plain Layout
21113
21114 \family roman
21115 \series medium
21116 \shape up
21117 \size normal
21118 \emph off
21119 \bar no
21120 \noun off
21121 \color none
21122 This is a multi-line entry in a table.
21123  This is longer now.
21124 \end_layout
21125
21126 \end_inset
21127 </cell>
21128 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
21129 \begin_inset Text
21130
21131 \begin_layout Plain Layout
21132
21133 \family roman
21134 \series medium
21135 \shape up
21136 \size normal
21137 \emph off
21138 \bar no
21139 \noun off
21140 \color none
21141 9
21142 \end_layout
21143
21144 \end_inset
21145 </cell>
21146 </row>
21147 </lyxtabular>
21148
21149 \end_inset
21150
21151
21152 \end_layout
21153
21154 \begin_layout Standard
21155 Cutting and pasting between tables and table cells works reasonably well.
21156  You can even cut and paste more than one row.
21157 \begin_inset Foot
21158 status collapsed
21159
21160 \begin_layout Plain Layout
21161 Note that you cannot paste into a multicell selection because it would not
21162  be clear what to do when pasting a single word in a selected 2×3.
21163  
21164 \end_layout
21165
21166 \end_inset
21167
21168  Selection with the mouse or with 
21169 \family sans
21170 Shift
21171 \family default
21172  plus the arrow keys works as usual.
21173  You can also copy and paste the entire table as a single unit by starting
21174  the selection from outside the table.
21175 \end_layout
21176
21177 \begin_layout Section
21178 Floats
21179 \begin_inset Index idx
21180 status collapsed
21181
21182 \begin_layout Plain Layout
21183 Floats
21184 \end_layout
21185
21186 \end_inset
21187
21188
21189 \begin_inset CommandInset label
21190 LatexCommand label
21191 name "sec:Floats"
21192
21193 \end_inset
21194
21195
21196 \end_layout
21197
21198 \begin_layout Subsection
21199 Introduction
21200 \end_layout
21201
21202 \begin_layout Standard
21203 A float is a block of text associated with some sort of label, which doesn't
21204  have a fixed location.
21205  It can 
21206 \begin_inset Quotes eld
21207 \end_inset
21208
21209 float
21210 \begin_inset Quotes erd
21211 \end_inset
21212
21213  forward or backward a page or two, to wherever it fits best.
21214  
21215 \family sans
21216 Footnotes
21217 \family default
21218  and 
21219 \family sans
21220 Margin
21221 \begin_inset space ~
21222 \end_inset
21223
21224 Notes
21225 \family default
21226  are also floats, because they can float to the next page when there are
21227  too many notes on the current page.
21228 \end_layout
21229
21230 \begin_layout Standard
21231 Floats make it possible to get a high quality layout.
21232  Images and tables can be distributed evenly over the pages to avoid whitespace
21233  and pages without text.
21234  As the floating often destroys the spatial context between the text and
21235  the image/table, every float can be referenced in the text.
21236  Floats are therefore numbered.
21237  Referencing is described in section
21238 \begin_inset space ~
21239 \end_inset
21240
21241
21242 \begin_inset CommandInset ref
21243 LatexCommand ref
21244 reference "sec:Cross-References"
21245
21246 \end_inset
21247
21248 .
21249 \end_layout
21250
21251 \begin_layout Standard
21252 To insert a float, use the menu 
21253 \family sans
21254 Insert\SpecialChar \menuseparator
21255 Float
21256 \family default
21257 .
21258  A box with a caption will be inserted into your document.
21259  The label will automatically be translated to the document language in
21260  the output.
21261  After the label you can insert the caption text.
21262 \begin_inset Index idx
21263 status collapsed
21264
21265 \begin_layout Plain Layout
21266 Floats ! Captions
21267 \end_layout
21268
21269 \end_inset
21270
21271  The image or table is inserted above or below the caption in a separate
21272  paragraph within the float.
21273  To keep your LyX-document readable, you can open and close the float box
21274  by left-clicking on the box label.
21275  A closed float box looks like this: 
21276 \begin_inset Graphics
21277         filename clipart/floatQt4.png
21278         scale 80
21279
21280 \end_inset
21281
21282  – a gray button with a red label.
21283 \end_layout
21284
21285 \begin_layout Standard
21286 You should insert floats in a separate paragraph to avoid possible LaTeX-errors
21287  that can occur when the surrounding text is specially formatted.
21288 \end_layout
21289
21290 \begin_layout Subsection
21291 Examples
21292 \end_layout
21293
21294 \begin_layout Subsubsection
21295 Figure Floats
21296 \begin_inset CommandInset label
21297 LatexCommand label
21298 name "sub:Figure-Floats"
21299
21300 \end_inset
21301
21302
21303 \begin_inset Index idx
21304 status collapsed
21305
21306 \begin_layout Plain Layout
21307 Floats ! Figure floats
21308 \end_layout
21309
21310 \end_inset
21311
21312
21313 \end_layout
21314
21315 \begin_layout Standard
21316 Figure
21317 \begin_inset space ~
21318 \end_inset
21319
21320
21321 \begin_inset CommandInset ref
21322 LatexCommand ref
21323 reference "fig:Platypus-distorted"
21324
21325 \end_inset
21326
21327  was created using the menu 
21328 \family sans
21329 Insert\SpecialChar \menuseparator
21330 Float\SpecialChar \menuseparator
21331 Figure
21332 \family default
21333  (toolbar button 
21334 \begin_inset Info
21335 type  "icon"
21336 arg   "float-insert figure"
21337 \end_inset
21338
21339 ).
21340  The image was inserted by setting the cursor above the caption label and
21341  using the menu 
21342 \family sans
21343 Insert\SpecialChar \menuseparator
21344 Graphics
21345 \family default
21346  (toolbar button 
21347 \begin_inset Info
21348 type  "icon"
21349 arg   "dialog-show-new-inset graphics"
21350 \end_inset
21351
21352 ).
21353  The image in the float was horizontally centered by putting the cursor
21354  to the left or right of the image and using the menu 
21355 \family sans
21356 Edit\SpecialChar \menuseparator
21357 Paragraph
21358 \begin_inset space ~
21359 \end_inset
21360
21361 Settings
21362 \family default
21363  (toolbar button 
21364 \begin_inset Info
21365 type  "icon"
21366 arg   "layout-paragraph"
21367 \end_inset
21368
21369 ).
21370 \end_layout
21371
21372 \begin_layout Standard
21373 \begin_inset Float figure
21374 wide false
21375 sideways false
21376 status collapsed
21377
21378 \begin_layout Plain Layout
21379 \align center
21380 \begin_inset Graphics
21381         filename clipart/platypus.eps
21382         lyxscale 50
21383         width 50col%
21384
21385 \end_inset
21386
21387
21388 \end_layout
21389
21390 \begin_layout Plain Layout
21391 \begin_inset Caption Standard
21392
21393 \begin_layout Plain Layout
21394 \begin_inset CommandInset label
21395 LatexCommand label
21396 name "fig:Platypus-distorted"
21397
21398 \end_inset
21399
21400 A severely distorted platypus in a float.
21401 \end_layout
21402
21403 \end_inset
21404
21405
21406 \end_layout
21407
21408 \end_inset
21409
21410
21411 \end_layout
21412
21413 \begin_layout Standard
21414 This figure float also shows how to set a label and create a cross-reference
21415  to it: Insert a label into the caption using the menu 
21416 \family sans
21417 Insert\SpecialChar \menuseparator
21418 Label
21419 \family default
21420  (toolbar button 
21421 \begin_inset Info
21422 type  "icon"
21423 arg   "label-insert"
21424 \end_inset
21425
21426 ) and refer to it using the menu 
21427 \family sans
21428 Insert\SpecialChar \menuseparator
21429 Cross-Reference
21430 \family default
21431  (toolbar button 
21432 \begin_inset Info
21433 type  "icon"
21434 arg   "dialog-show-new-inset ref"
21435 \end_inset
21436
21437 ).
21438  It is important to use cross-references to figure floats rather than using
21439  vague references like 
21440 \begin_inset Quotes eld
21441 \end_inset
21442
21443 the figure above
21444 \begin_inset Quotes erd
21445 \end_inset
21446
21447 , because, as LaTeX will reposition the floats in the final document, it
21448  might not be 
21449 \begin_inset Quotes eld
21450 \end_inset
21451
21452 above
21453 \begin_inset Quotes erd
21454 \end_inset
21455
21456  at all.
21457  For more about cross-references, see section
21458 \begin_inset space ~
21459 \end_inset
21460
21461
21462 \begin_inset CommandInset ref
21463 LatexCommand ref
21464 reference "sec:Cross-References"
21465
21466 \end_inset
21467
21468 .
21469 \end_layout
21470
21471 \begin_layout Standard
21472 Normally only one image is inserted in a figure float, but sometimes you
21473  might want to use two images with separate subcaptions.
21474  This can be done by inserting image floats into existing image floats.
21475  Note that only the main caption of the float is added to the List of Figures
21476  as described in section
21477 \begin_inset space ~
21478 \end_inset
21479
21480
21481 \begin_inset CommandInset ref
21482 LatexCommand ref
21483 reference "sub:List-of-Figures"
21484
21485 \end_inset
21486
21487 .
21488  Figure
21489 \begin_inset space ~
21490 \end_inset
21491
21492
21493 \begin_inset CommandInset ref
21494 LatexCommand ref
21495 reference "fig:Two-distorted-images"
21496
21497 \end_inset
21498
21499  is an example of a figure float with two images set side by side.
21500  You can also set the images one below the other.
21501  Figure
21502 \begin_inset space ~
21503 \end_inset
21504
21505
21506 \begin_inset CommandInset ref
21507 LatexCommand ref
21508 reference "fig:Undefinable"
21509
21510 \end_inset
21511
21512  and 
21513 \begin_inset CommandInset ref
21514 LatexCommand ref
21515 reference "fig:Platypus"
21516
21517 \end_inset
21518
21519  are the subfigures.
21520 \end_layout
21521
21522 \begin_layout Standard
21523 \begin_inset Float figure
21524 wide false
21525 sideways false
21526 status open
21527
21528 \begin_layout Plain Layout
21529 \begin_inset space \hfill{}
21530 \end_inset
21531
21532
21533 \begin_inset Float figure
21534 wide false
21535 sideways false
21536 status collapsed
21537
21538 \begin_layout Plain Layout
21539 \begin_inset Caption Standard
21540
21541 \begin_layout Plain Layout
21542 \begin_inset CommandInset label
21543 LatexCommand label
21544 name "fig:Undefinable"
21545
21546 \end_inset
21547
21548 Undefinable
21549 \end_layout
21550
21551 \end_inset
21552
21553
21554 \end_layout
21555
21556 \begin_layout Plain Layout
21557 \begin_inset Graphics
21558         filename clipart/escher-lsd.eps
21559         width 45col%
21560
21561 \end_inset
21562
21563
21564 \end_layout
21565
21566 \end_inset
21567
21568
21569 \begin_inset space \hfill{}
21570 \end_inset
21571
21572
21573 \begin_inset Float figure
21574 wide false
21575 sideways false
21576 status collapsed
21577
21578 \begin_layout Plain Layout
21579 \begin_inset Caption Standard
21580
21581 \begin_layout Plain Layout
21582 \begin_inset CommandInset label
21583 LatexCommand label
21584 name "fig:Platypus"
21585
21586 \end_inset
21587
21588 Platypus
21589 \end_layout
21590
21591 \end_inset
21592
21593
21594 \end_layout
21595
21596 \begin_layout Plain Layout
21597 \begin_inset Graphics
21598         filename clipart/platypus.eps
21599         lyxscale 60
21600         width 45col%
21601
21602 \end_inset
21603
21604
21605 \end_layout
21606
21607 \end_inset
21608
21609
21610 \begin_inset space \hfill{}
21611 \end_inset
21612
21613
21614 \end_layout
21615
21616 \begin_layout Plain Layout
21617 \begin_inset Caption Standard
21618
21619 \begin_layout Plain Layout
21620 \begin_inset CommandInset label
21621 LatexCommand label
21622 name "fig:Two-distorted-images"
21623
21624 \end_inset
21625
21626 Two distorted images.
21627 \end_layout
21628
21629 \end_inset
21630
21631
21632 \end_layout
21633
21634 \end_inset
21635
21636
21637 \end_layout
21638
21639 \begin_layout Subsubsection
21640 Table Floats
21641 \begin_inset Index idx
21642 status collapsed
21643
21644 \begin_layout Plain Layout
21645 Floats ! Table floats
21646 \end_layout
21647
21648 \end_inset
21649
21650
21651 \end_layout
21652
21653 \begin_layout Standard
21654 Table floats can be inserted using the menu 
21655 \family sans
21656 Insert\SpecialChar \menuseparator
21657 Float\SpecialChar \menuseparator
21658 Table
21659 \family default
21660  or the toolbar button 
21661 \begin_inset Info
21662 type  "icon"
21663 arg   "float-insert table"
21664 \end_inset
21665
21666 .
21667  They have the same properties as figure floats except that the table in
21668  the float is normally placed below the caption and not above like for figures
21669  and that the label begins with “tab:”.
21670  Table
21671 \begin_inset space ~
21672 \end_inset
21673
21674
21675 \begin_inset CommandInset ref
21676 LatexCommand ref
21677 reference "tab:Table-float"
21678
21679 \end_inset
21680
21681  is a table float.
21682 \end_layout
21683
21684 \begin_layout Standard
21685 \begin_inset Float table
21686 wide false
21687 sideways false
21688 status open
21689
21690 \begin_layout Plain Layout
21691 \begin_inset Caption Standard
21692
21693 \begin_layout Plain Layout
21694 \begin_inset CommandInset label
21695 LatexCommand label
21696 name "tab:Table-float"
21697
21698 \end_inset
21699
21700 A table float.
21701 \end_layout
21702
21703 \end_inset
21704
21705
21706 \end_layout
21707
21708 \begin_layout Plain Layout
21709 \align center
21710 \begin_inset Tabular
21711 <lyxtabular version="3" rows="3" columns="3">
21712 <features rotate="0" tabularvalignment="middle">
21713 <column alignment="center" valignment="top" width="0pt">
21714 <column alignment="center" valignment="top" width="0pt">
21715 <column alignment="center" valignment="top" width="0pt">
21716 <row>
21717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21718 \begin_inset Text
21719
21720 \begin_layout Plain Layout
21721
21722 \family roman
21723 \series medium
21724 \shape up
21725 \size normal
21726 \emph off
21727 \bar no
21728 \noun off
21729 \color none
21730 1
21731 \end_layout
21732
21733 \end_inset
21734 </cell>
21735 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21736 \begin_inset Text
21737
21738 \begin_layout Plain Layout
21739
21740 \family roman
21741 \series medium
21742 \shape up
21743 \size normal
21744 \emph off
21745 \bar no
21746 \noun off
21747 \color none
21748 2
21749 \end_layout
21750
21751 \end_inset
21752 </cell>
21753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21754 \begin_inset Text
21755
21756 \begin_layout Plain Layout
21757
21758 \family roman
21759 \series medium
21760 \shape up
21761 \size normal
21762 \emph off
21763 \bar no
21764 \noun off
21765 \color none
21766 3
21767 \end_layout
21768
21769 \end_inset
21770 </cell>
21771 </row>
21772 <row>
21773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21774 \begin_inset Text
21775
21776 \begin_layout Plain Layout
21777
21778 \family roman
21779 \series medium
21780 \shape up
21781 \size normal
21782 \emph off
21783 \bar no
21784 \noun off
21785 \color none
21786 Joe
21787 \end_layout
21788
21789 \end_inset
21790 </cell>
21791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21792 \begin_inset Text
21793
21794 \begin_layout Plain Layout
21795
21796 \family roman
21797 \series medium
21798 \shape up
21799 \size normal
21800 \emph off
21801 \bar no
21802 \noun off
21803 \color none
21804 Mary
21805 \end_layout
21806
21807 \end_inset
21808 </cell>
21809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21810 \begin_inset Text
21811
21812 \begin_layout Plain Layout
21813
21814 \family roman
21815 \series medium
21816 \shape up
21817 \size normal
21818 \emph off
21819 \bar no
21820 \noun off
21821 \color none
21822 Ted
21823 \end_layout
21824
21825 \end_inset
21826 </cell>
21827 </row>
21828 <row>
21829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21830 \begin_inset Text
21831
21832 \begin_layout Plain Layout
21833
21834 \family roman
21835 \series medium
21836 \shape up
21837 \size normal
21838 \emph off
21839 \bar no
21840 \noun off
21841 \color none
21842 \begin_inset Formula $\int x^{2}dx$
21843 \end_inset
21844
21845
21846 \end_layout
21847
21848 \end_inset
21849 </cell>
21850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21851 \begin_inset Text
21852
21853 \begin_layout Plain Layout
21854
21855 \family roman
21856 \series medium
21857 \shape up
21858 \size normal
21859 \emph off
21860 \bar no
21861 \noun off
21862 \color none
21863 \begin_inset Formula $\left[\begin{array}{cc}
21864 a & b\\
21865 c & d
21866 \end{array}\right]$
21867 \end_inset
21868
21869
21870 \end_layout
21871
21872 \end_inset
21873 </cell>
21874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21875 \begin_inset Text
21876
21877 \begin_layout Plain Layout
21878
21879 \family roman
21880 \series medium
21881 \shape up
21882 \size normal
21883 \emph off
21884 \bar no
21885 \noun off
21886 \color none
21887 \begin_inset Formula $1+1=2$
21888 \end_inset
21889
21890
21891 \end_layout
21892
21893 \end_inset
21894 </cell>
21895 </row>
21896 </lyxtabular>
21897
21898 \end_inset
21899
21900
21901 \end_layout
21902
21903 \end_inset
21904
21905
21906 \end_layout
21907
21908 \begin_layout Subsection
21909 More Information
21910 \begin_inset Index idx
21911 status collapsed
21912
21913 \begin_layout Plain Layout
21914 Floats ! Details
21915 \end_layout
21916
21917 \end_inset
21918
21919
21920 \end_layout
21921
21922 \begin_layout Standard
21923 LyX offers you further float types as well as rotated floats.
21924  It also allows you to change the float numbering scheme, to control the
21925  float placement and to change the formatting and placement of the float
21926  caption.
21927  All these features are explained in detail with many examples in the chapter
21928  
21929 \emph on
21930 Floats
21931 \emph default
21932  in the 
21933 \emph on
21934 Embedded
21935 \begin_inset space ~
21936 \end_inset
21937
21938 Objects
21939 \emph default
21940  manual.
21941 \end_layout
21942
21943 \begin_layout Section
21944 Minipages
21945 \begin_inset Index idx
21946 status collapsed
21947
21948 \begin_layout Plain Layout
21949 Minipages
21950 \end_layout
21951
21952 \end_inset
21953
21954
21955 \end_layout
21956
21957 \begin_layout Standard
21958 LaTeX provides a mechanism essentially to produce a page within a page,
21959  called a minipage.
21960  Within a minipage, all the usual rules of indentation, line wrapping, etc.
21961 \begin_inset space \space{}
21962 \end_inset
21963
21964 apply.
21965  
21966 \end_layout
21967
21968 \begin_layout Standard
21969 Minipages in LyX have their own collapsible box inserted via the menu 
21970 \family sans
21971 Insert\SpecialChar \menuseparator
21972 Box
21973 \family default
21974 .
21975  Right-clicking on the box label allows you to alter the width of the minipage
21976  and its alignment within the page.
21977 \end_layout
21978
21979 \begin_layout Standard
21980 \align center
21981 \begin_inset Box Frameless
21982 position "t"
21983 hor_pos "c"
21984 has_inner_box 1
21985 inner_pos "t"
21986 use_parbox 0
21987 use_makebox 0
21988 width "30col%"
21989 special "none"
21990 height "1pt"
21991 height_special "totalheight"
21992 status collapsed
21993
21994 \begin_layout Plain Layout
21995
21996 \shape italic
21997 This is a minipage.
21998  The text is set in an italic style.
21999 \end_layout
22000
22001 \begin_layout Plain Layout
22002
22003 \shape italic
22004 Minipages are often used for text in another language or text that needs
22005  another formatting.
22006 \end_layout
22007
22008 \end_inset
22009
22010
22011 \end_layout
22012
22013 \begin_layout Standard
22014 \begin_inset VSpace medskip
22015 \end_inset
22016
22017 If you place two minipages side-by-side, you can use 
22018 \family sans
22019 Horizontal Fills
22020 \family default
22021  as described in section
22022 \begin_inset space ~
22023 \end_inset
22024
22025
22026 \begin_inset CommandInset ref
22027 LatexCommand ref
22028 reference "sub:Horizontal-Space"
22029
22030 \end_inset
22031
22032 :
22033 \begin_inset VSpace medskip
22034 \end_inset
22035
22036
22037 \end_layout
22038
22039 \begin_layout Standard
22040 \begin_inset Box Frameless
22041 position "t"
22042 hor_pos "c"
22043 has_inner_box 1
22044 inner_pos "t"
22045 use_parbox 0
22046 use_makebox 0
22047 width "1.5in"
22048 special "none"
22049 height "1pt"
22050 height_special "totalheight"
22051 status open
22052
22053 \begin_layout Plain Layout
22054 This is a minipage with some stupid dummy text.
22055  This dummy text is used to increase the size of the minipage.
22056 \end_layout
22057
22058 \end_inset
22059
22060
22061 \begin_inset space \hfill{}
22062 \end_inset
22063
22064
22065 \begin_inset Box Frameless
22066 position "t"
22067 hor_pos "c"
22068 has_inner_box 1
22069 inner_pos "t"
22070 use_parbox 0
22071 use_makebox 0
22072 width "1.5in"
22073 special "none"
22074 height "1pt"
22075 height_special "totalheight"
22076 status open
22077
22078 \begin_layout Plain Layout
22079 This is a minipage with some stupid dummy text.
22080  This dummy text is used to increase the size of the minipage.
22081 \end_layout
22082
22083 \end_inset
22084
22085
22086 \end_layout
22087
22088 \begin_layout Standard
22089 \begin_inset VSpace bigskip
22090 \end_inset
22091
22092
22093 \end_layout
22094
22095 \begin_layout Standard
22096 When you right-click on a minipage box, you can transform the box to another
22097  box type.
22098  All box types and their settings are explained in detail in chapter 
22099 \emph on
22100 Boxes
22101 \emph default
22102  of the 
22103 \emph on
22104 Embedded
22105 \begin_inset space ~
22106 \end_inset
22107
22108 Objects
22109 \emph default
22110  manual.
22111 \end_layout
22112
22113 \begin_layout Chapter
22114 Mathematical Formulas
22115 \begin_inset Index idx
22116 status collapsed
22117
22118 \begin_layout Plain Layout
22119 Math
22120 \end_layout
22121
22122 \end_inset
22123
22124
22125 \begin_inset Index idx
22126 status collapsed
22127
22128 \begin_layout Plain Layout
22129 Formulas | see
22130 \begin_inset ERT
22131 status collapsed
22132
22133 \begin_layout Plain Layout
22134
22135 {
22136 \end_layout
22137
22138 \end_inset
22139
22140 Math
22141 \begin_inset ERT
22142 status collapsed
22143
22144 \begin_layout Plain Layout
22145
22146 }
22147 \end_layout
22148
22149 \end_inset
22150
22151
22152 \end_layout
22153
22154 \end_inset
22155
22156
22157 \begin_inset CommandInset label
22158 LatexCommand label
22159 name "chap:Mathematical-Formulas"
22160
22161 \end_inset
22162
22163
22164 \end_layout
22165
22166 \begin_layout Standard
22167 The issues of this chapter are described in detail in the 
22168 \emph on
22169 Math
22170 \emph default
22171  manual.
22172  There you will also find tips and tricks for special cases.
22173 \end_layout
22174
22175 \begin_layout Section
22176 Basic Math Editing
22177 \begin_inset Index idx
22178 status collapsed
22179
22180 \begin_layout Plain Layout
22181 Math ! Basics
22182 \end_layout
22183
22184 \end_inset
22185
22186
22187 \end_layout
22188
22189 \begin_layout Standard
22190 To create a math formula, you can just click on the toolbar icon 
22191 \begin_inset Info
22192 type  "icon"
22193 arg   "math-mode on"
22194 \end_inset
22195
22196  (shortcut 
22197 \begin_inset Info
22198 type  "shortcut"
22199 arg   "math-mode"
22200 \end_inset
22201
22202 ).
22203  That will create a little blue rectangle, with purple markers around its
22204  corners.
22205  That blue rectangle is the formula itself; the purple markers indicate
22206  what level of nesting within the formula you are at.
22207  You can also choose a particular formula type to insert via the 
22208 \family sans
22209 Insert\SpecialChar \menuseparator
22210 Math
22211 \family default
22212  menu.
22213 \end_layout
22214
22215 \begin_layout Standard
22216 Editing the parameters of a formula and adding math constructs can be done
22217  with the 
22218 \family sans
22219 math
22220 \begin_inset space ~
22221 \end_inset
22222
22223 toolbar
22224 \family default
22225 , that appears if the cursor is in a formula.
22226 \end_layout
22227
22228 \begin_layout Standard
22229 There are two main types of formulas, inline formulas and display formulas.
22230  Inline formulas appear within a text line, like this one:
22231 \end_layout
22232
22233 \begin_layout Standard
22234 This is a line with an inline formula 
22235 \begin_inset Formula $A=B$
22236 \end_inset
22237
22238  in it.
22239 \end_layout
22240
22241 \begin_layout Standard
22242 Displayed formulas appear outside the text like if they were in a separate
22243  paragraph, like this one:
22244 \begin_inset Formula 
22245 \[
22246 A=B
22247 \]
22248
22249 \end_inset
22250
22251 You can only number and reference displayed formulas.
22252 \end_layout
22253
22254 \begin_layout Standard
22255 LyX also supports many LaTeX math commands.
22256  For example, typing 
22257 \begin_inset Quotes eld
22258 \end_inset
22259
22260
22261 \series bold
22262
22263 \backslash
22264 alpha
22265 \series default
22266
22267 \begin_inset Quotes erd
22268 \end_inset
22269
22270 , followed by a space, in a formula will create the Greek letter 
22271 \begin_inset Formula $\alpha$
22272 \end_inset
22273
22274 .
22275  Typing commands might sometimes be faster than using the 
22276 \family sans
22277 Math
22278 \begin_inset space ~
22279 \end_inset
22280
22281 Panel
22282 \family default
22283 .
22284 \end_layout
22285
22286 \begin_layout Subsection
22287 Navigating in Formulas
22288 \begin_inset Index idx
22289 status collapsed
22290
22291 \begin_layout Plain Layout
22292 Math ! Navigating
22293 \end_layout
22294
22295 \end_inset
22296
22297
22298 \end_layout
22299
22300 \begin_layout Standard
22301 The best control over the cursor position within an existing formula is
22302  achieved with the arrow keys.
22303  LyX uses small rectangles to indicate places where something can be inserted.
22304  The arrow keys can be used to navigate between parts of a formula.
22305  Pressing 
22306 \family sans
22307 Space
22308 \family default
22309  will leave a formula construct (a square root 
22310 \begin_inset Formula $\sqrt{2}$
22311 \end_inset
22312
22313 , or parentheses 
22314 \begin_inset Formula $\left(f\right)$
22315 \end_inset
22316
22317 , or a matrix 
22318 \begin_inset Formula $\left[\begin{array}{cc}
22319 1 & 2\\
22320 3 & 4
22321 \end{array}\right]$
22322 \end_inset
22323
22324 ).
22325  Pressing 
22326 \family sans
22327 Escape
22328 \family default
22329  will leave the formula, placing the cursor after the formula.
22330  
22331 \family sans
22332 Tab
22333 \family default
22334  can be used to move horizontally in a formula; for example, through the
22335  cells of a matrix or the positions in a multi-line equation.
22336 \end_layout
22337
22338 \begin_layout Standard
22339
22340 \family sans
22341 Space
22342 \family default
22343 , printed in this document as 
22344 \begin_inset Quotes eld
22345 \end_inset
22346
22347
22348 \begin_inset ERT
22349 status collapsed
22350
22351 \begin_layout Plain Layout
22352
22353
22354 \backslash
22355 spce 
22356 \end_layout
22357
22358 \end_inset
22359
22360
22361 \begin_inset Quotes erd
22362 \end_inset
22363
22364
22365 \begin_inset Note Note
22366 status collapsed
22367
22368 \begin_layout Plain Layout
22369 This command will appear in the output as an official character denoting
22370  the space character (visible space).
22371 \end_layout
22372
22373 \end_inset
22374
22375 , seems to do nothing in a formula, since it does not add a space between
22376  characters, but it does exit a nested structure.
22377  For this reason, you have to be careful about using 
22378 \family sans
22379 Space
22380 \family default
22381 .
22382  For example, if you want 
22383 \begin_inset Formula $\sqrt{2x+1}$
22384 \end_inset
22385
22386 , type 
22387 \series bold
22388
22389 \backslash
22390 sqrt
22391 \begin_inset ERT
22392 status collapsed
22393
22394 \begin_layout Plain Layout
22395
22396
22397 \backslash
22398 spce 
22399 \end_layout
22400
22401 \end_inset
22402
22403 2x+1
22404 \series default
22405  and not 
22406 \series bold
22407
22408 \backslash
22409 sqrt
22410 \begin_inset ERT
22411 status collapsed
22412
22413 \begin_layout Plain Layout
22414
22415
22416 \backslash
22417 spce 
22418 \end_layout
22419
22420 \end_inset
22421
22422 2x
22423 \begin_inset ERT
22424 status collapsed
22425
22426 \begin_layout Plain Layout
22427
22428
22429 \backslash
22430 spce 
22431 \end_layout
22432
22433 \end_inset
22434
22435 +1
22436 \series default
22437 , since in the latter case only the 
22438 \family typewriter
22439
22440 \begin_inset Formula $2x$
22441 \end_inset
22442
22443
22444 \family default
22445  will be under the square root sign: 
22446 \begin_inset Formula $\sqrt{2x}+1$
22447 \end_inset
22448
22449 .
22450 \end_layout
22451
22452 \begin_layout Standard
22453 You can leave many parts of a formula, like this matrix, partially filled
22454  in, such as:
22455 \begin_inset Formula 
22456 \[
22457 \left(\begin{array}{ccc}
22458 \lambda_{1}\\
22459  & \ddots\\
22460  &  & \lambda_{n}
22461 \end{array}\right)
22462 \]
22463
22464 \end_inset
22465
22466 If you leave a fraction only partially filled in, or a subscript with nothing
22467  in it, the results will be unpredictable, but most constructs don't mind.
22468 \end_layout
22469
22470 \begin_layout Subsection
22471 Selecting Text
22472 \end_layout
22473
22474 \begin_layout Standard
22475 You can select text within a formula in two different ways.
22476  Place the cursor at one end of the string of text you want, and press 
22477 \family sans
22478 Shift
22479 \family default
22480  and a cursor movement key to select text.
22481  It will be highlighted as with regular text selection.
22482  Alternatively, you can select text with the mouse in the usual way.
22483  That text can then be cut or copied, and then pasted within any formula,
22484  but not in a normal text region in LyX.
22485 \end_layout
22486
22487 \begin_layout Subsection
22488 Exponents and Subscripts
22489 \begin_inset Index idx
22490 status collapsed
22491
22492 \begin_layout Plain Layout
22493 Math ! Exponents
22494 \end_layout
22495
22496 \end_inset
22497
22498
22499 \begin_inset Index idx
22500 status collapsed
22501
22502 \begin_layout Plain Layout
22503 Math ! Subscripts
22504 \end_layout
22505
22506 \end_inset
22507
22508
22509 \end_layout
22510
22511 \begin_layout Standard
22512 You can use the math panel to add super- or subscripts (buttons 
22513 \begin_inset Info
22514 type  "icon"
22515 arg   "math-superscript"
22516 \end_inset
22517
22518  and 
22519 \begin_inset Info
22520 type  "icon"
22521 arg   "math-subscript"
22522 \end_inset
22523
22524 ), but it is often much easier to use a command.
22525  To get 
22526 \begin_inset Formula $x^{2}$
22527 \end_inset
22528
22529 , type in a formula 
22530 \series bold
22531 x^2
22532 \begin_inset ERT
22533 status collapsed
22534
22535 \begin_layout Plain Layout
22536
22537
22538 \backslash
22539 spce 
22540 \end_layout
22541
22542 \end_inset
22543
22544
22545 \series default
22546 .
22547  The final 
22548 \family sans
22549 Space
22550 \family default
22551  puts the cursor back down on the base line of the expression.
22552  If you type 
22553 \series bold
22554 x^2y
22555 \series default
22556 , you will get 
22557 \begin_inset Formula $x^{2y}$
22558 \end_inset
22559
22560 , to get 
22561 \begin_inset Formula $x^{2}y$
22562 \end_inset
22563
22564 , type 
22565 \series bold
22566 x^2
22567 \begin_inset ERT
22568 status collapsed
22569
22570 \begin_layout Plain Layout
22571
22572
22573 \backslash
22574 spce 
22575 \end_layout
22576
22577 \end_inset
22578
22579 y
22580 \series default
22581 .
22582  If you use characters in the superscript, that could be accented with the
22583  circumflex 
22584 \begin_inset Quotes eld
22585 \end_inset
22586
22587 ^
22588 \begin_inset Quotes erd
22589 \end_inset
22590
22591 , you have to use an extra 
22592 \family sans
22593 Space
22594 \family default
22595  to separate the circumflex and the character.
22596  For example, if you want 
22597 \begin_inset Formula $x^{a}$
22598 \end_inset
22599
22600 , type 
22601 \series bold
22602 x^
22603 \begin_inset ERT
22604 status collapsed
22605
22606 \begin_layout Plain Layout
22607
22608
22609 \backslash
22610 spce 
22611 \end_layout
22612
22613 \end_inset
22614
22615 a
22616 \series default
22617 .
22618  Subscripts are similar: To get 
22619 \begin_inset Formula $a_{1}$
22620 \end_inset
22621
22622 , type 
22623 \series bold
22624 a_1
22625 \begin_inset ERT
22626 status collapsed
22627
22628 \begin_layout Plain Layout
22629
22630
22631 \backslash
22632 spce 
22633 \end_layout
22634
22635 \end_inset
22636
22637
22638 \series default
22639 .
22640 \end_layout
22641
22642 \begin_layout Subsection
22643 Fractions
22644 \begin_inset Index idx
22645 status collapsed
22646
22647 \begin_layout Plain Layout
22648 Math ! Fractions
22649 \end_layout
22650
22651 \end_inset
22652
22653
22654 \end_layout
22655
22656 \begin_layout Standard
22657 Create a fraction either with the command 
22658 \series bold
22659
22660 \backslash
22661 frac
22662 \series default
22663  or by using the icon 
22664 \begin_inset Info
22665 type  "icon"
22666 arg   "math-insert \\frac"
22667 \end_inset
22668
22669  in the 
22670 \family sans
22671 Math
22672 \begin_inset space ~
22673 \end_inset
22674
22675 Panel
22676 \family default
22677 .
22678  You will be presented with an empty fraction.
22679  The cursor is above the fraction line.
22680  To move it to the bottom, simply press 
22681 \family sans
22682 Down
22683 \family default
22684 .
22685  To move back up, press 
22686 \family sans
22687 Up
22688 \family default
22689 .
22690  Any math structure can be placed in a fraction, as this example shows:
22691 \begin_inset Formula 
22692 \[
22693 \left[\frac{1}{\left(\begin{array}{cc}
22694 2 & 3\\
22695 4 & 5
22696 \end{array}\right)}\right]
22697 \]
22698
22699 \end_inset
22700
22701
22702 \end_layout
22703
22704 \begin_layout Subsection
22705 Roots
22706 \begin_inset Index idx
22707 status collapsed
22708
22709 \begin_layout Plain Layout
22710 Math ! Roots
22711 \end_layout
22712
22713 \end_inset
22714
22715
22716 \end_layout
22717
22718 \begin_layout Standard
22719 Roots can be created using the 
22720 \family sans
22721 Math
22722 \begin_inset space ~
22723 \end_inset
22724
22725 Panel
22726 \family default
22727  buttons 
22728 \begin_inset Info
22729 type  "icon"
22730 arg   "math-insert \\sqrt"
22731 \end_inset
22732
22733  or 
22734 \begin_inset Info
22735 type  "icon"
22736 arg   "math-insert \\root"
22737 \end_inset
22738
22739  or the commands 
22740 \series bold
22741
22742 \backslash
22743 sqrt
22744 \series default
22745  or 
22746 \series bold
22747
22748 \backslash
22749 root
22750 \series default
22751 .
22752  With the command 
22753 \series bold
22754
22755 \backslash
22756 root
22757 \series default
22758  you can produce roots of higher orders, like cube roots, while 
22759 \series bold
22760
22761 \backslash
22762 sqrt
22763 \series default
22764  always produces a square root.
22765 \end_layout
22766
22767 \begin_layout Subsection
22768 Operators with Limits
22769 \begin_inset Index idx
22770 status collapsed
22771
22772 \begin_layout Plain Layout
22773 Math ! Sums
22774 \end_layout
22775
22776 \end_inset
22777
22778
22779 \begin_inset Index idx
22780 status collapsed
22781
22782 \begin_layout Plain Layout
22783 Math ! Integrals
22784 \end_layout
22785
22786 \end_inset
22787
22788
22789 \begin_inset CommandInset label
22790 LatexCommand label
22791 name "sub:Operators-with-Limits"
22792
22793 \end_inset
22794
22795
22796 \end_layout
22797
22798 \begin_layout Standard
22799 Sum (
22800 \begin_inset Formula $\sum$
22801 \end_inset
22802
22803 ) and integral (
22804 \begin_inset Formula $\int$
22805 \end_inset
22806
22807 ) operators are very often decorated with limits.
22808  These limits can be entered in LyX by entering them as you would enter
22809  a super- or subscript, directly after the symbol.
22810  The sum operator will automatically place its 
22811 \begin_inset Quotes eld
22812 \end_inset
22813
22814 limits
22815 \begin_inset Quotes erd
22816 \end_inset
22817
22818  over and under the symbol in displayed formulas, and to the side in inline
22819  formulas, as in 
22820 \begin_inset Formula $\sum_{n=0}^{\infty}\frac{1}{n!}=e$
22821 \end_inset
22822
22823 , versus
22824 \begin_inset Formula 
22825 \[
22826 \sum\nolimits _{n=0}^{\infty}\frac{1}{n!}=e
22827 \]
22828
22829 \end_inset
22830
22831 Integral signs, however, will place the limits to the side in both formula
22832  types.
22833 \end_layout
22834
22835 \begin_layout Standard
22836 All operators with limits will be automatically re-sized when placed in
22837  display mode.
22838  The placement of the limits can be changed by placing the cursor directly
22839  behind the operator and using the menu 
22840 \family sans
22841 Edit\SpecialChar \menuseparator
22842 Math\SpecialChar \menuseparator
22843 Change
22844 \begin_inset space ~
22845 \end_inset
22846
22847 Limits
22848 \begin_inset space ~
22849 \end_inset
22850
22851 Type
22852 \family default
22853  or entering 
22854 \begin_inset Info
22855 type  "shortcut"
22856 arg   "math-limits"
22857 \end_inset
22858
22859 .
22860 \end_layout
22861
22862 \begin_layout Standard
22863 Certain other mathematical expressions also have this 
22864 \begin_inset Quotes eld
22865 \end_inset
22866
22867 moving limits
22868 \begin_inset Quotes erd
22869 \end_inset
22870
22871  feature, such as
22872 \begin_inset Index idx
22873 status collapsed
22874
22875 \begin_layout Plain Layout
22876 Math ! Limits
22877 \end_layout
22878
22879 \end_inset
22880
22881
22882 \begin_inset Formula 
22883 \[
22884 \lim_{x\rightarrow\infty}f(x),
22885 \]
22886
22887 \end_inset
22888
22889 which will place the 
22890 \begin_inset Formula $x\rightarrow\infty$
22891 \end_inset
22892
22893  underneath the 
22894 \begin_inset Quotes eld
22895 \end_inset
22896
22897 lim
22898 \begin_inset Quotes erd
22899 \end_inset
22900
22901  in display mode.
22902  In inline formulas it looks like this: 
22903 \begin_inset Formula $\lim_{x\rightarrow\infty}f(x)$
22904 \end_inset
22905
22906 .
22907 \end_layout
22908
22909 \begin_layout Standard
22910 Note that the lim-function was entered as the function macro 
22911 \series bold
22912
22913 \backslash
22914 lim
22915 \series default
22916 .
22917  Have a look at section
22918 \begin_inset space ~
22919 \end_inset
22920
22921
22922 \begin_inset CommandInset ref
22923 LatexCommand ref
22924 reference "sub:Functions"
22925
22926 \end_inset
22927
22928  for an explanation of function macros.
22929 \end_layout
22930
22931 \begin_layout Subsection
22932 Math Symbols
22933 \begin_inset Index idx
22934 status collapsed
22935
22936 \begin_layout Plain Layout
22937 Math ! Symbols
22938 \end_layout
22939
22940 \end_inset
22941
22942
22943 \end_layout
22944
22945 \begin_layout Standard
22946 Most math symbols can be found in the 
22947 \family sans
22948 Math
22949 \begin_inset space ~
22950 \end_inset
22951
22952 Panel
22953 \family default
22954  under one of several categories; including 
22955 \family sans
22956 Greek
22957 \family default
22958
22959 \family sans
22960 Operators
22961 \family default
22962
22963 \family sans
22964 Relations
22965 \family default
22966
22967 \family sans
22968 Arrows
22969 \family default
22970 .
22971  There are also the additional symbols provided by the American Mathematical
22972  Society (AMS).
22973 \end_layout
22974
22975 \begin_layout Standard
22976 If you know the LaTeX-command for a construct or symbol you wish to use,
22977  you don't have to use the 
22978 \family sans
22979 Math
22980 \begin_inset space ~
22981 \end_inset
22982
22983 Panel
22984 \family default
22985 ; you can type the command directly into the formula.
22986  LyX will convert it to the corresponding symbol or construct.
22987 \end_layout
22988
22989 \begin_layout Subsection
22990 Altering Spacing
22991 \begin_inset Index idx
22992 status collapsed
22993
22994 \begin_layout Plain Layout
22995 Math ! Spaces
22996 \end_layout
22997
22998 \end_inset
22999
23000
23001 \end_layout
23002
23003 \begin_layout Standard
23004 You may want to create spaces that differ from the standard spacing that
23005  LaTeX provides.
23006  To do this, press 
23007 \begin_inset Info
23008 type  "shortcut"
23009 arg   "command-alternatives space-insert protected ; math-space"
23010 \end_inset
23011
23012  or use the 
23013 \family sans
23014 Math
23015 \begin_inset space ~
23016 \end_inset
23017
23018 Panel
23019 \family default
23020  button 
23021 \family sans
23022
23023 \begin_inset Info
23024 type  "icon"
23025 arg   "math-insert \\space"
23026 \end_inset
23027
23028
23029 \family default
23030 .
23031  This generates a small space, and shows a small marker on the screen.
23032  For example, the sequence 
23033 \series bold
23034 a Ctrl+Space b
23035 \series default
23036
23037 \begin_inset Formula $a\, b$
23038 \end_inset
23039
23040  appears in LyX as 
23041 \begin_inset Graphics
23042         filename clipart/SpaceMarker.png
23043
23044 \end_inset
23045
23046 .
23047  You can change the space to different sizes when you set the cursor behind
23048  the space marker and enter space again several times.
23049  With every space enter the size will be changed.
23050  Some markers for the space size appear red in LyX, because they are negative
23051  spaces.
23052  Here are two examples:
23053 \end_layout
23054
23055 \begin_layout Standard
23056
23057 \series bold
23058 a Ctrl+Space b
23059 \series default
23060  and 3×
23061 \family sans
23062 Space
23063 \family default
23064
23065 \begin_inset Formula $a\quad b$
23066 \end_inset
23067
23068
23069 \end_layout
23070
23071 \begin_layout Standard
23072
23073 \series bold
23074 a Ctrl+Space b
23075 \series default
23076  and 5×
23077 \family sans
23078 Space
23079 \family default
23080
23081 \begin_inset Formula $a\! b$
23082 \end_inset
23083
23084
23085 \end_layout
23086
23087 \begin_layout Subsection
23088 Functions
23089 \begin_inset Index idx
23090 status collapsed
23091
23092 \begin_layout Plain Layout
23093 Math ! Functions
23094 \end_layout
23095
23096 \end_inset
23097
23098
23099 \begin_inset CommandInset label
23100 LatexCommand label
23101 name "sub:Functions"
23102
23103 \end_inset
23104
23105
23106 \end_layout
23107
23108 \begin_layout Standard
23109 The 
23110 \family sans
23111 Math
23112 \begin_inset space ~
23113 \end_inset
23114
23115 Panel
23116 \family default
23117  contains under the button 
23118 \family sans
23119
23120 \begin_inset Info
23121 type  "icon"
23122 arg   "math-insert \\functions"
23123 \end_inset
23124
23125
23126 \family default
23127  a number of function macros, such as 
23128 \begin_inset Formula $\sin$
23129 \end_inset
23130
23131
23132 \begin_inset Formula $\lim$
23133 \end_inset
23134
23135
23136 \emph on
23137 etc
23138 \emph default
23139 .
23140  (you can also insert them in a formula by typing 
23141 \series bold
23142
23143 \backslash
23144 sin
23145 \series default
23146  etc.).
23147  Standard mathematical practice is that functions are printed upright to
23148  avoid confusions, because 
23149 \begin_inset Formula $sin$
23150 \end_inset
23151
23152  does normally mean 
23153 \begin_inset Formula $s\cdot i\cdot n$
23154 \end_inset
23155
23156 .
23157 \end_layout
23158
23159 \begin_layout Standard
23160 Using the function macros will also produce correct spacing around the function:
23161  
23162 \begin_inset Formula $a\sin x$
23163 \end_inset
23164
23165  is different from 
23166 \begin_inset Formula $asinx$
23167 \end_inset
23168
23169 .
23170 \end_layout
23171
23172 \begin_layout Standard
23173 For some mathematical objects, like limits, the macro changes where subscripts
23174  are placed, as described in section
23175 \begin_inset space ~
23176 \end_inset
23177
23178
23179 \begin_inset CommandInset ref
23180 LatexCommand ref
23181 reference "sub:Operators-with-Limits"
23182
23183 \end_inset
23184
23185 .
23186 \end_layout
23187
23188 \begin_layout Subsection
23189 Accents
23190 \begin_inset Index idx
23191 status collapsed
23192
23193 \begin_layout Plain Layout
23194 Math ! Accents
23195 \end_layout
23196
23197 \end_inset
23198
23199
23200 \end_layout
23201
23202 \begin_layout Standard
23203 In a formula you can insert accented characters in the same way as in text
23204  mode.
23205  This may depend on your keyboard, or the bindings file you use.
23206  You can also use LaTeX commands, for example, to enter 
23207 \begin_inset Formula $\hat{a}$
23208 \end_inset
23209
23210  even if your keyboard doesn't have the circumflex enabled.
23211  Our example is entered by typing 
23212 \series bold
23213
23214 \backslash
23215 hat
23216 \begin_inset ERT
23217 status collapsed
23218
23219 \begin_layout Plain Layout
23220
23221
23222 \backslash
23223 spce 
23224 \end_layout
23225
23226 \end_inset
23227
23228 a
23229 \series default
23230  in a formula.
23231  Table
23232 \begin_inset space ~
23233 \end_inset
23234
23235
23236 \begin_inset CommandInset ref
23237 LatexCommand ref
23238 reference "tab:Accent-names-and"
23239
23240 \end_inset
23241
23242  shows the equivalences between the accent names and the commands.
23243 \end_layout
23244
23245 \begin_layout Standard
23246 \begin_inset Float table
23247 wide false
23248 sideways false
23249 status open
23250
23251 \begin_layout Plain Layout
23252 \begin_inset Caption Standard
23253
23254 \begin_layout Plain Layout
23255 \begin_inset CommandInset label
23256 LatexCommand label
23257 name "tab:Accent-names-and"
23258
23259 \end_inset
23260
23261 Accent names and the corresponding commands.
23262 \end_layout
23263
23264 \end_inset
23265
23266
23267 \end_layout
23268
23269 \begin_layout Plain Layout
23270 \align center
23271 \begin_inset Tabular
23272 <lyxtabular version="3" rows="11" columns="3">
23273 <features rotate="0" tabularvalignment="middle">
23274 <column alignment="center" valignment="top" width="0pt">
23275 <column alignment="center" valignment="top" width="0pt">
23276 <column alignment="center" valignment="top" width="0pt">
23277 <row>
23278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23279 \begin_inset Text
23280
23281 \begin_layout Plain Layout
23282 Name
23283 \end_layout
23284
23285 \end_inset
23286 </cell>
23287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23288 \begin_inset Text
23289
23290 \begin_layout Plain Layout
23291 Command
23292 \end_layout
23293
23294 \end_inset
23295 </cell>
23296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23297 \begin_inset Text
23298
23299 \begin_layout Plain Layout
23300 E
23301 \family roman
23302 \series medium
23303 \shape up
23304 \size normal
23305 \emph off
23306 \bar no
23307 \noun off
23308 \color none
23309 xample
23310 \end_layout
23311
23312 \end_inset
23313 </cell>
23314 </row>
23315 <row>
23316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23317 \begin_inset Text
23318
23319 \begin_layout Plain Layout
23320
23321 \family roman
23322 \series medium
23323 \shape up
23324 \size normal
23325 \emph off
23326 \bar no
23327 \noun off
23328 \color none
23329 circumflex
23330 \end_layout
23331
23332 \end_inset
23333 </cell>
23334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23335 \begin_inset Text
23336
23337 \begin_layout Plain Layout
23338
23339 \series bold
23340
23341 \backslash
23342 hat
23343 \end_layout
23344
23345 \end_inset
23346 </cell>
23347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23348 \begin_inset Text
23349
23350 \begin_layout Plain Layout
23351
23352 \family roman
23353 \series medium
23354 \shape up
23355 \size normal
23356 \emph off
23357 \bar no
23358 \noun off
23359 \color none
23360 \begin_inset Formula $\hat{a}$
23361 \end_inset
23362
23363
23364 \end_layout
23365
23366 \end_inset
23367 </cell>
23368 </row>
23369 <row>
23370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23371 \begin_inset Text
23372
23373 \begin_layout Plain Layout
23374
23375 \family roman
23376 \series medium
23377 \shape up
23378 \size normal
23379 \emph off
23380 \bar no
23381 \noun off
23382 \color none
23383 grave
23384 \end_layout
23385
23386 \end_inset
23387 </cell>
23388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23389 \begin_inset Text
23390
23391 \begin_layout Plain Layout
23392
23393 \series bold
23394
23395 \backslash
23396 grave
23397 \end_layout
23398
23399 \end_inset
23400 </cell>
23401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23402 \begin_inset Text
23403
23404 \begin_layout Plain Layout
23405
23406 \family roman
23407 \series medium
23408 \shape up
23409 \size normal
23410 \emph off
23411 \bar no
23412 \noun off
23413 \color none
23414 \begin_inset Formula $\grave{a}$
23415 \end_inset
23416
23417
23418 \end_layout
23419
23420 \end_inset
23421 </cell>
23422 </row>
23423 <row>
23424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23425 \begin_inset Text
23426
23427 \begin_layout Plain Layout
23428
23429 \family roman
23430 \series medium
23431 \shape up
23432 \size normal
23433 \emph off
23434 \bar no
23435 \noun off
23436 \color none
23437 acute
23438 \end_layout
23439
23440 \end_inset
23441 </cell>
23442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23443 \begin_inset Text
23444
23445 \begin_layout Plain Layout
23446
23447 \series bold
23448
23449 \backslash
23450 acute
23451 \end_layout
23452
23453 \end_inset
23454 </cell>
23455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23456 \begin_inset Text
23457
23458 \begin_layout Plain Layout
23459
23460 \family roman
23461 \series medium
23462 \shape up
23463 \size normal
23464 \emph off
23465 \bar no
23466 \noun off
23467 \color none
23468 \begin_inset Formula $\acute{a}$
23469 \end_inset
23470
23471
23472 \end_layout
23473
23474 \end_inset
23475 </cell>
23476 </row>
23477 <row>
23478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23479 \begin_inset Text
23480
23481 \begin_layout Plain Layout
23482
23483 \family roman
23484 \series medium
23485 \shape up
23486 \size normal
23487 \emph off
23488 \bar no
23489 \noun off
23490 \color none
23491 umlaut
23492 \end_layout
23493
23494 \end_inset
23495 </cell>
23496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23497 \begin_inset Text
23498
23499 \begin_layout Plain Layout
23500
23501 \series bold
23502
23503 \backslash
23504 ddot
23505 \end_layout
23506
23507 \end_inset
23508 </cell>
23509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23510 \begin_inset Text
23511
23512 \begin_layout Plain Layout
23513
23514 \family roman
23515 \series medium
23516 \shape up
23517 \size normal
23518 \emph off
23519 \bar no
23520 \noun off
23521 \color none
23522 \begin_inset Formula $\ddot{a}$
23523 \end_inset
23524
23525
23526 \end_layout
23527
23528 \end_inset
23529 </cell>
23530 </row>
23531 <row>
23532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23533 \begin_inset Text
23534
23535 \begin_layout Plain Layout
23536
23537 \family roman
23538 \series medium
23539 \shape up
23540 \size normal
23541 \emph off
23542 \bar no
23543 \noun off
23544 \color none
23545 tilde
23546 \end_layout
23547
23548 \end_inset
23549 </cell>
23550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23551 \begin_inset Text
23552
23553 \begin_layout Plain Layout
23554
23555 \series bold
23556
23557 \backslash
23558 tilde
23559 \end_layout
23560
23561 \end_inset
23562 </cell>
23563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23564 \begin_inset Text
23565
23566 \begin_layout Plain Layout
23567
23568 \family roman
23569 \series medium
23570 \shape up
23571 \size normal
23572 \emph off
23573 \bar no
23574 \noun off
23575 \color none
23576 \begin_inset Formula $\tilde{a}$
23577 \end_inset
23578
23579
23580 \end_layout
23581
23582 \end_inset
23583 </cell>
23584 </row>
23585 <row>
23586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23587 \begin_inset Text
23588
23589 \begin_layout Plain Layout
23590
23591 \family roman
23592 \series medium
23593 \shape up
23594 \size normal
23595 \emph off
23596 \bar no
23597 \noun off
23598 \color none
23599 dot
23600 \end_layout
23601
23602 \end_inset
23603 </cell>
23604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23605 \begin_inset Text
23606
23607 \begin_layout Plain Layout
23608
23609 \series bold
23610
23611 \backslash
23612 dot
23613 \end_layout
23614
23615 \end_inset
23616 </cell>
23617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23618 \begin_inset Text
23619
23620 \begin_layout Plain Layout
23621
23622 \family roman
23623 \series medium
23624 \shape up
23625 \size normal
23626 \emph off
23627 \bar no
23628 \noun off
23629 \color none
23630 \begin_inset Formula $\dot{a}$
23631 \end_inset
23632
23633
23634 \end_layout
23635
23636 \end_inset
23637 </cell>
23638 </row>
23639 <row>
23640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23641 \begin_inset Text
23642
23643 \begin_layout Plain Layout
23644
23645 \family roman
23646 \series medium
23647 \shape up
23648 \size normal
23649 \emph off
23650 \bar no
23651 \noun off
23652 \color none
23653 breve
23654 \end_layout
23655
23656 \end_inset
23657 </cell>
23658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23659 \begin_inset Text
23660
23661 \begin_layout Plain Layout
23662
23663 \series bold
23664
23665 \backslash
23666 breve
23667 \end_layout
23668
23669 \end_inset
23670 </cell>
23671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23672 \begin_inset Text
23673
23674 \begin_layout Plain Layout
23675
23676 \family roman
23677 \series medium
23678 \shape up
23679 \size normal
23680 \emph off
23681 \bar no
23682 \noun off
23683 \color none
23684 \begin_inset Formula $\breve{a}$
23685 \end_inset
23686
23687
23688 \end_layout
23689
23690 \end_inset
23691 </cell>
23692 </row>
23693 <row>
23694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23695 \begin_inset Text
23696
23697 \begin_layout Plain Layout
23698
23699 \family roman
23700 \series medium
23701 \shape up
23702 \size normal
23703 \emph off
23704 \bar no
23705 \noun off
23706 \color none
23707 caron
23708 \end_layout
23709
23710 \end_inset
23711 </cell>
23712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23713 \begin_inset Text
23714
23715 \begin_layout Plain Layout
23716
23717 \series bold
23718
23719 \backslash
23720 check
23721 \end_layout
23722
23723 \end_inset
23724 </cell>
23725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23726 \begin_inset Text
23727
23728 \begin_layout Plain Layout
23729
23730 \family roman
23731 \series medium
23732 \shape up
23733 \size normal
23734 \emph off
23735 \bar no
23736 \noun off
23737 \color none
23738 \begin_inset Formula $\check{a}$
23739 \end_inset
23740
23741
23742 \end_layout
23743
23744 \end_inset
23745 </cell>
23746 </row>
23747 <row>
23748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23749 \begin_inset Text
23750
23751 \begin_layout Plain Layout
23752
23753 \family roman
23754 \series medium
23755 \shape up
23756 \size normal
23757 \emph off
23758 \bar no
23759 \noun off
23760 \color none
23761 macron
23762 \end_layout
23763
23764 \end_inset
23765 </cell>
23766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23767 \begin_inset Text
23768
23769 \begin_layout Plain Layout
23770
23771 \series bold
23772
23773 \backslash
23774 bar
23775 \end_layout
23776
23777 \end_inset
23778 </cell>
23779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23780 \begin_inset Text
23781
23782 \begin_layout Plain Layout
23783
23784 \family roman
23785 \series medium
23786 \shape up
23787 \size normal
23788 \emph off
23789 \bar no
23790 \noun off
23791 \color none
23792 \begin_inset Formula $\bar{a}$
23793 \end_inset
23794
23795
23796 \end_layout
23797
23798 \end_inset
23799 </cell>
23800 </row>
23801 <row>
23802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23803 \begin_inset Text
23804
23805 \begin_layout Plain Layout
23806 vector
23807 \end_layout
23808
23809 \end_inset
23810 </cell>
23811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23812 \begin_inset Text
23813
23814 \begin_layout Plain Layout
23815
23816 \series bold
23817
23818 \backslash
23819 vec
23820 \end_layout
23821
23822 \end_inset
23823 </cell>
23824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23825 \begin_inset Text
23826
23827 \begin_layout Plain Layout
23828
23829 \family roman
23830 \series medium
23831 \shape up
23832 \size normal
23833 \emph off
23834 \bar no
23835 \noun off
23836 \color none
23837 \begin_inset Formula $\vec{a}$
23838 \end_inset
23839
23840
23841 \end_layout
23842
23843 \end_inset
23844 </cell>
23845 </row>
23846 </lyxtabular>
23847
23848 \end_inset
23849
23850
23851 \end_layout
23852
23853 \end_inset
23854
23855
23856 \end_layout
23857
23858 \begin_layout Standard
23859 You can choose one of the accents by selecting an item from the 
23860 \family sans
23861 Frame
23862 \begin_inset space ~
23863 \end_inset
23864
23865 decorations
23866 \family default
23867  symbol set button 
23868 \begin_inset Info
23869 type  "icon"
23870 arg   "math-insert \\hat"
23871 \end_inset
23872
23873  in the math panel; this will apply to any selection you have made within
23874  a formula too.
23875 \end_layout
23876
23877 \begin_layout Section
23878 Brackets and Delimiters
23879 \begin_inset Index idx
23880 status collapsed
23881
23882 \begin_layout Plain Layout
23883 Math ! Brackets
23884 \end_layout
23885
23886 \end_inset
23887
23888
23889 \begin_inset Index idx
23890 status collapsed
23891
23892 \begin_layout Plain Layout
23893 Math ! Delimiters
23894 \end_layout
23895
23896 \end_inset
23897
23898
23899 \begin_inset CommandInset label
23900 LatexCommand label
23901 name "sec:Brackets-and-Delimiters"
23902
23903 \end_inset
23904
23905
23906 \end_layout
23907
23908 \begin_layout Standard
23909 There are several brackets available through LyX.
23910  For some purposes, using just the keys 
23911 \family typewriter
23912 []{}()|<>
23913 \family default
23914  should suffice.
23915  But if you want to surround a large structure, like a matrix or a fraction,
23916  or if you have several layers of brackets, it is better to use the math
23917  toolbar delimiter icon 
23918 \begin_inset Info
23919 type  "icon"
23920 arg   "dialog-show mathdelimiter"
23921 \end_inset
23922
23923 .
23924  For example, if you construct the brackets around a matrix in this way:
23925 \begin_inset Formula 
23926 \[
23927 \left[\begin{array}{cc}
23928 1 & 2\\
23929 3 & 4
23930 \end{array}\right]
23931 \]
23932
23933 \end_inset
23934
23935 it makes it easier to see the layers of parentheses.
23936  Below, the expression on the left was entered using the delimiter icon
23937  
23938 \begin_inset Info
23939 type  "icon"
23940 arg   "dialog-show mathdelimiter"
23941 \end_inset
23942
23943  and the expression on the right was entered using the 
23944 \family typewriter
23945 ()
23946 \family default
23947  keys.
23948  
23949 \begin_inset Formula 
23950 \[
23951 \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})}))}
23952 \]
23953
23954 \end_inset
23955
23956
23957 \end_layout
23958
23959 \begin_layout Standard
23960 If you use the delimiter icon, the parentheses, and other brackets from
23961  that menu will automatically re-size to accommodate the size of what is
23962  inside.
23963 \end_layout
23964
23965 \begin_layout Standard
23966 To construct brackets click on the button for the bracket you want on the
23967  left side and right side.
23968  If you use the option 
23969 \family sans
23970 Keep
23971 \begin_inset space ~
23972 \end_inset
23973
23974 matched
23975 \family default
23976 , the selected bracket type will be used for the left and the right side.
23977  The selection will be shown as TeX code.
23978  If you want one side not to have a bracket, use 
23979 \family sans
23980 (none)
23981 \family default
23982 .
23983  It will appear in LyX with a dotted line, but nothing will be printed.
23984 \end_layout
23985
23986 \begin_layout Standard
23987 If you want to place brackets around existing math structures, like a square
23988  root, you can do so by first highlighting (selecting) the structure that
23989  is to go inside the brackets.
23990  Then choose the appropriate brackets for left and right and click on 
23991 \family sans
23992 Insert
23993 \family default
23994 .
23995  The most common bracket combinations (parentheses, square brackets, and
23996  braces, on both sides) can be entered more quickly using keyboard shortcuts.
23997  For example, to insert a pair of parentheses, select the structure and
23998  enter 
23999 \begin_inset Info
24000 type  "shortcut"
24001 arg   "math-delim ( )"
24002 \end_inset
24003
24004 .
24005 \end_layout
24006
24007 \begin_layout Section
24008 Arrays and Multi-line Equations
24009 \begin_inset Index idx
24010 status collapsed
24011
24012 \begin_layout Plain Layout
24013 Math ! Arrays
24014 \end_layout
24015
24016 \end_inset
24017
24018
24019 \begin_inset Index idx
24020 status collapsed
24021
24022 \begin_layout Plain Layout
24023 Math ! Matrices
24024 \end_layout
24025
24026 \end_inset
24027
24028
24029 \begin_inset Index idx
24030 status collapsed
24031
24032 \begin_layout Plain Layout
24033 Math ! Multi-line Equations
24034 \end_layout
24035
24036 \end_inset
24037
24038
24039 \end_layout
24040
24041 \begin_layout Standard
24042 Matrices are entered in LyX using the 
24043 \family sans
24044 Math
24045 \begin_inset space ~
24046 \end_inset
24047
24048 Panel
24049 \family default
24050  matrix button 
24051 \family sans
24052
24053 \begin_inset Info
24054 type  "icon"
24055 arg   "dialog-show mathmatrix"
24056 \end_inset
24057
24058
24059 \family default
24060 .
24061  It will open a dialog for you to choose the number of rows/columns.
24062  Here is an example:
24063 \begin_inset Formula 
24064 \[
24065 \left(\begin{array}{ccc}
24066 1 & 2 & 3\\
24067 4 & 5 & 6\\
24068 7 & 8 & 9
24069 \end{array}\right)
24070 \]
24071
24072 \end_inset
24073
24074 The parentheses aren't automatic, but you can add them as described in section
24075 \begin_inset space ~
24076 \end_inset
24077
24078
24079 \begin_inset CommandInset ref
24080 LatexCommand ref
24081 reference "sec:Brackets-and-Delimiters"
24082
24083 \end_inset
24084
24085 .
24086  When you construct the matrix, you can decide whether the column entries
24087  will be left-, right-, or center-justified.
24088  This alignment is set in the box 
24089 \family sans
24090 Horizontal
24091 \family default
24092  with the letters 
24093 \begin_inset Quotes eld
24094 \end_inset
24095
24096
24097 \family sans
24098 l
24099 \family default
24100
24101 \begin_inset Quotes erd
24102 \end_inset
24103
24104
24105 \begin_inset Quotes eld
24106 \end_inset
24107
24108
24109 \family sans
24110 r
24111 \family default
24112
24113 \begin_inset Quotes erd
24114 \end_inset
24115
24116 , and 
24117 \begin_inset Quotes eld
24118 \end_inset
24119
24120
24121 \family sans
24122 c
24123 \family default
24124
24125 \begin_inset Quotes erd
24126 \end_inset
24127
24128 .
24129  LyX proposes a 
24130 \begin_inset Quotes eld
24131 \end_inset
24132
24133
24134 \family sans
24135 c
24136 \family default
24137
24138 \begin_inset Quotes erd
24139 \end_inset
24140
24141  for every column as default.
24142  For example, the sequence 
24143 \begin_inset Quotes eld
24144 \end_inset
24145
24146
24147 \family sans
24148 lcr
24149 \family default
24150
24151 \begin_inset Quotes erd
24152 \end_inset
24153
24154  means that the first column will be left-justified, the second will be
24155  centered, and the third column will be right-justified, because each letter
24156  corresponds to the relevant column.
24157  The result will look like this:
24158 \begin_inset Formula 
24159 \[
24160 \begin{array}{lcr}
24161 this & this\, column & this\, column\\
24162 column & has & has\, right\\
24163 has\, left\, alignment & center\, alignment & alignment
24164 \end{array}.
24165 \]
24166
24167 \end_inset
24168
24169
24170 \end_layout
24171
24172 \begin_layout Standard
24173 You can add more rows to an existing matrix by entering 
24174 \begin_inset Info
24175 type  "shortcut"
24176 arg   "newline-insert newline"
24177 \end_inset
24178
24179  while the cursor is in the matrix.
24180  Adding or deleting columns can be done via the menu 
24181 \family sans
24182 Edit\SpecialChar \menuseparator
24183 Math
24184 \family default
24185  or the math toolbar.
24186 \end_layout
24187
24188 \begin_layout Standard
24189 There are other arrays used in formulas, such as distinctions of cases.
24190  It can be created with the menu 
24191 \family sans
24192 Insert\SpecialChar \menuseparator
24193 Math\SpecialChar \menuseparator
24194 Cases
24195 \begin_inset space ~
24196 \end_inset
24197
24198 Environment
24199 \family default
24200  or the command 
24201 \series bold
24202
24203 \backslash
24204 cases
24205 \series default
24206 .
24207  Here is an example: 
24208 \begin_inset Formula 
24209 \[
24210 f(x)=\begin{cases}
24211 -1 & x<0\\
24212 0 & x=0\\
24213 1 & x>0
24214 \end{cases}
24215 \]
24216
24217 \end_inset
24218
24219
24220 \end_layout
24221
24222 \begin_layout Standard
24223 \begin_inset VSpace bigskip
24224 \end_inset
24225
24226 Multi-line formulas are created when you press 
24227 \begin_inset Info
24228 type  "shortcut"
24229 arg   "newline-insert newline"
24230 \end_inset
24231
24232  within a formula.
24233  In an empty formula you can see that three blue boxes appear, one for each
24234  column.
24235  When you press 
24236 \begin_inset Info
24237 type  "shortcut"
24238 arg   "newline-insert newline"
24239 \end_inset
24240
24241  in a non-empty formula, the part before the relation sign (equal sign 
24242 \begin_inset Quotes eld
24243 \end_inset
24244
24245 =
24246 \begin_inset Quotes erd
24247 \end_inset
24248
24249  etc.) will be inserted automatically in the first column, the relation sign
24250  is in the second column, and the rest in the third column.
24251  A new row is created by every further entry of 
24252 \begin_inset Info
24253 type  "shortcut"
24254 arg   "newline-insert newline"
24255 \end_inset
24256
24257 .
24258  Multi-line formulas are always displayed formulas.
24259  Here is an example:
24260 \begin_inset Formula 
24261 \begin{eqnarray}
24262 a^{2} & = & (b^{2}+c^{2})(b^{2}-c^{2})\nonumber \\
24263 a & = & \sqrt{b^{4}-c^{4}}\label{eq:asquared}
24264 \end{eqnarray}
24265
24266 \end_inset
24267
24268 Note that the middle column is designed for relation signs so structures
24269  in this column will be printed in a smaller size:
24270 \begin_inset Formula 
24271 \begin{eqnarray*}
24272 \frac{A}{B} & \frac{A}{B} & \frac{A}{B}
24273 \end{eqnarray*}
24274
24275 \end_inset
24276
24277
24278 \end_layout
24279
24280 \begin_layout Standard
24281 The multi-line formula type described here is called 
24282 \family typewriter
24283 \series medium
24284 eqnarray
24285 \family default
24286 \series default
24287 .
24288  There are other multi-line types more suitable for certain situations,
24289  for example if you want a better inter-line spacing than in formula 
24290 \begin_inset CommandInset ref
24291 LatexCommand eqref
24292 reference "eq:asquared"
24293
24294 \end_inset
24295
24296 .
24297  The other types are described in section
24298 \begin_inset space ~
24299 \end_inset
24300
24301
24302 \begin_inset CommandInset ref
24303 LatexCommand ref
24304 reference "sub:AMS-Formula-Types"
24305
24306 \end_inset
24307
24308 .
24309 \end_layout
24310
24311 \begin_layout Section
24312 Formula Numbering and Referencing
24313 \begin_inset Index idx
24314 status collapsed
24315
24316 \begin_layout Plain Layout
24317 Math ! Formula numbering
24318 \end_layout
24319
24320 \end_inset
24321
24322
24323 \begin_inset Index idx
24324 status collapsed
24325
24326 \begin_layout Plain Layout
24327 Math ! Referencing formulas
24328 \end_layout
24329
24330 \end_inset
24331
24332
24333 \begin_inset CommandInset label
24334 LatexCommand label
24335 name "sec:Formula-Numbering-and"
24336
24337 \end_inset
24338
24339
24340 \end_layout
24341
24342 \begin_layout Standard
24343 To number a formula, set the cursor in the formula and use the menu 
24344 \family sans
24345 Edit\SpecialChar \menuseparator
24346 Math\SpecialChar \menuseparator
24347 Number
24348 \begin_inset space ~
24349 \end_inset
24350
24351 Whole
24352 \begin_inset space ~
24353 \end_inset
24354
24355 Formula
24356 \family default
24357  or the shortcut 
24358 \begin_inset Info
24359 type  "shortcut"
24360 arg   "math-number-toggle"
24361 \end_inset
24362
24363 .
24364  The formula number appears in LyX within parentheses.
24365  The number shown is temporary and may be different when the output is generated.
24366  The placement and format of the formula number in the output depends on
24367  the document class.
24368  In this document the number is printed together with the chapter number,
24369  separated by a dot:
24370 \begin_inset Formula 
24371 \begin{equation}
24372 1+1=2
24373 \end{equation}
24374
24375 \end_inset
24376
24377 Using 
24378 \begin_inset Info
24379 type  "shortcut"
24380 arg   "math-number-toggle"
24381 \end_inset
24382
24383  in a numbered formula will switch off the numbering.
24384  You can only number displayed formulas.
24385 \end_layout
24386
24387 \begin_layout Standard
24388 Multi-line formulas can be numbered line by line: Using the menu 
24389 \family sans
24390 Edit\SpecialChar \menuseparator
24391 Math\SpecialChar \menuseparator
24392 Number
24393 \begin_inset space ~
24394 \end_inset
24395
24396 This
24397 \begin_inset space ~
24398 \end_inset
24399
24400 Line
24401 \family default
24402  or the shortcut 
24403 \begin_inset Info
24404 type  "shortcut"
24405 arg   "math-number-line-toggle"
24406 \end_inset
24407
24408  will only toggle the numbering of the line where the cursor is:
24409 \begin_inset Formula 
24410 \begin{eqnarray}
24411 1 & = & 3-2\\
24412 2 & = & 4-2\nonumber \\
24413 4 & \leq & 7
24414 \end{eqnarray}
24415
24416 \end_inset
24417
24418 To number all lines use the shortcut 
24419 \begin_inset Info
24420 type  "shortcut"
24421 arg   "math-number-toggle"
24422 \end_inset
24423
24424 .
24425 \end_layout
24426
24427 \begin_layout Standard
24428 \begin_inset VSpace bigskip
24429 \end_inset
24430
24431 Every displayed formula can be referenced by its number using a label.
24432  A label is inserted with the menu 
24433 \family sans
24434 Insert\SpecialChar \menuseparator
24435 Label
24436 \family default
24437  (toolbar button 
24438 \begin_inset Info
24439 type  "icon"
24440 arg   "label-insert"
24441 \end_inset
24442
24443 ) when the cursor is in the formula.
24444  This opens a dialog to enter the label.
24445  It is recommended that you use the suggested 
24446 \begin_inset Quotes eld
24447 \end_inset
24448
24449
24450 \family sans
24451 eq:
24452 \family default
24453
24454 \begin_inset Quotes erd
24455 \end_inset
24456
24457  as the first part of the label, because this helps later to identify the
24458  label type when you have many labels in your document.
24459  We inserted in the following example the label 
24460 \begin_inset Quotes eld
24461 \end_inset
24462
24463 eq:tanhExp
24464 \begin_inset Quotes erd
24465 \end_inset
24466
24467  in the second line:
24468 \begin_inset Formula 
24469 \begin{eqnarray}
24470 \tanh(x) & = & \frac{\sinh(x)}{\cosh(x)}\nonumber \\
24471  & = & \frac{\mathrm{e}^{2x}-1}{\mathrm{e}^{2x}+1}\label{eq:tanhExp}
24472 \end{eqnarray}
24473
24474 \end_inset
24475
24476 Every labeled line is automatically numbered.
24477  Therefore the label is shown behind the formula number.
24478  You can reference a labeled formula using the menu 
24479 \family sans
24480 Insert\SpecialChar \menuseparator
24481 Cross
24482 \begin_inset space ~
24483 \end_inset
24484
24485 Reference
24486 \family default
24487  (toolbar button 
24488 \begin_inset Info
24489 type  "icon"
24490 arg   "dialog-show-new-inset ref"
24491 \end_inset
24492
24493 ).
24494  A dialog appears to choose a label you want to refer to.
24495  The reference appears in LyX as a gray cross-reference box and in the output
24496  as the formula number:
24497 \end_layout
24498
24499 \begin_layout Standard
24500 This is a cross-reference to equation (
24501 \begin_inset CommandInset ref
24502 LatexCommand ref
24503 reference "eq:tanhExp"
24504
24505 \end_inset
24506
24507 ).
24508 \end_layout
24509
24510 \begin_layout Standard
24511 The properties of LyX's cross-reference box are described in section
24512 \begin_inset space ~
24513 \end_inset
24514
24515
24516 \begin_inset CommandInset ref
24517 LatexCommand ref
24518 reference "sec:Cross-References"
24519
24520 \end_inset
24521
24522 .
24523  To delete a label, set the cursor at the end in the labeled formula and
24524  press 
24525 \family sans
24526 Del
24527 \family default
24528 .
24529 \end_layout
24530
24531 \begin_layout Section
24532 User defined math macros
24533 \begin_inset Index idx
24534 status collapsed
24535
24536 \begin_layout Plain Layout
24537 Math ! Macros
24538 \end_layout
24539
24540 \end_inset
24541
24542
24543 \end_layout
24544
24545 \begin_layout Standard
24546 LyX allows you to define macros for formulas which is very useful when you
24547  have equations of the same form in a document several times.
24548  Math macros are explained in section 
24549 \emph on
24550 Math
24551 \begin_inset space ~
24552 \end_inset
24553
24554 Macros
24555 \emph default
24556  of the 
24557 \emph on
24558 Math
24559 \emph default
24560  manual.
24561 \end_layout
24562
24563 \begin_layout Section
24564 Fine-Tuning
24565 \end_layout
24566
24567 \begin_layout Subsection
24568 Typefaces
24569 \begin_inset Index idx
24570 status collapsed
24571
24572 \begin_layout Plain Layout
24573 Math ! Typefaces
24574 \end_layout
24575
24576 \end_inset
24577
24578
24579 \end_layout
24580
24581 \begin_layout Standard
24582 The standard font for text is italic, for numbers the standard is roman.
24583  To set a font in a formula, use the 
24584 \family sans
24585 Math
24586 \begin_inset space ~
24587 \end_inset
24588
24589 Panel
24590 \family default
24591  button 
24592 \family sans
24593
24594 \begin_inset Info
24595 type  "icon"
24596 arg   "math-insert \\font"
24597 \end_inset
24598
24599
24600 \family default
24601 , or enter its command, listed in table
24602 \begin_inset space ~
24603 \end_inset
24604
24605
24606 \begin_inset CommandInset ref
24607 LatexCommand ref
24608 reference "tab:Typefaces-and-the"
24609
24610 \end_inset
24611
24612 , directly.
24613 \end_layout
24614
24615 \begin_layout Standard
24616 \begin_inset Float table
24617 wide false
24618 sideways false
24619 status open
24620
24621 \begin_layout Plain Layout
24622 \begin_inset Caption Standard
24623
24624 \begin_layout Plain Layout
24625 \begin_inset CommandInset label
24626 LatexCommand label
24627 name "tab:Typefaces-and-the"
24628
24629 \end_inset
24630
24631 Typefaces and the corresponding commands.
24632 \end_layout
24633
24634 \end_inset
24635
24636
24637 \end_layout
24638
24639 \begin_layout Plain Layout
24640 \align center
24641 \begin_inset Tabular
24642 <lyxtabular version="3" rows="9" columns="2">
24643 <features rotate="0" tabularvalignment="middle">
24644 <column alignment="center" valignment="top" width="0pt">
24645 <column alignment="center" valignment="top" width="0pt">
24646 <row>
24647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24648 \begin_inset Text
24649
24650 \begin_layout Plain Layout
24651 Font
24652 \end_layout
24653
24654 \end_inset
24655 </cell>
24656 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24657 \begin_inset Text
24658
24659 \begin_layout Plain Layout
24660 Command
24661 \end_layout
24662
24663 \end_inset
24664 </cell>
24665 </row>
24666 <row>
24667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24668 \begin_inset Text
24669
24670 \begin_layout Plain Layout
24671
24672 \shape up
24673 \size normal
24674 \bar no
24675 \noun off
24676 \color none
24677 \begin_inset Formula $\mathrm{Roman}$
24678 \end_inset
24679
24680
24681 \end_layout
24682
24683 \end_inset
24684 </cell>
24685 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24686 \begin_inset Text
24687
24688 \begin_layout Plain Layout
24689
24690 \series bold
24691
24692 \backslash
24693 mathrm
24694 \end_layout
24695
24696 \end_inset
24697 </cell>
24698 </row>
24699 <row>
24700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24701 \begin_inset Text
24702
24703 \begin_layout Plain Layout
24704 \begin_inset Formula $\mathbf{\mathbf{Bold}}$
24705 \end_inset
24706
24707
24708 \end_layout
24709
24710 \end_inset
24711 </cell>
24712 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24713 \begin_inset Text
24714
24715 \begin_layout Plain Layout
24716
24717 \series bold
24718
24719 \backslash
24720 mathbf
24721 \end_layout
24722
24723 \end_inset
24724 </cell>
24725 </row>
24726 <row>
24727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24728 \begin_inset Text
24729
24730 \begin_layout Plain Layout
24731 \begin_inset Formula $\mathit{Italic}$
24732 \end_inset
24733
24734
24735 \end_layout
24736
24737 \end_inset
24738 </cell>
24739 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24740 \begin_inset Text
24741
24742 \begin_layout Plain Layout
24743
24744 \series bold
24745
24746 \backslash
24747 mathit
24748 \end_layout
24749
24750 \end_inset
24751 </cell>
24752 </row>
24753 <row>
24754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24755 \begin_inset Text
24756
24757 \begin_layout Plain Layout
24758
24759 \shape up
24760 \size normal
24761 \bar no
24762 \noun off
24763 \color none
24764 \begin_inset Formula $\mathtt{Typewriter}$
24765 \end_inset
24766
24767
24768 \end_layout
24769
24770 \end_inset
24771 </cell>
24772 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24773 \begin_inset Text
24774
24775 \begin_layout Plain Layout
24776
24777 \series bold
24778
24779 \backslash
24780 mathtt
24781 \end_layout
24782
24783 \end_inset
24784 </cell>
24785 </row>
24786 <row>
24787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24788 \begin_inset Text
24789
24790 \begin_layout Plain Layout
24791 \begin_inset Formula $\mathbf{\mathbb{BLACKBOARD}}$
24792 \end_inset
24793
24794
24795 \end_layout
24796
24797 \end_inset
24798 </cell>
24799 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24800 \begin_inset Text
24801
24802 \begin_layout Plain Layout
24803
24804 \series bold
24805
24806 \backslash
24807 mathbb
24808 \end_layout
24809
24810 \end_inset
24811 </cell>
24812 </row>
24813 <row>
24814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24815 \begin_inset Text
24816
24817 \begin_layout Plain Layout
24818 \begin_inset Formula $\mathfrak{Fraktur}$
24819 \end_inset
24820
24821
24822 \end_layout
24823
24824 \end_inset
24825 </cell>
24826 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24827 \begin_inset Text
24828
24829 \begin_layout Plain Layout
24830
24831 \series bold
24832
24833 \backslash
24834 mathfrak
24835 \end_layout
24836
24837 \end_inset
24838 </cell>
24839 </row>
24840 <row>
24841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24842 \begin_inset Text
24843
24844 \begin_layout Plain Layout
24845
24846 \shape up
24847 \size normal
24848 \emph on
24849 \bar no
24850 \noun off
24851 \color none
24852 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
24853 \end_inset
24854
24855
24856 \end_layout
24857
24858 \end_inset
24859 </cell>
24860 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
24861 \begin_inset Text
24862
24863 \begin_layout Plain Layout
24864
24865 \series bold
24866
24867 \backslash
24868 mathcal
24869 \end_layout
24870
24871 \end_inset
24872 </cell>
24873 </row>
24874 <row>
24875 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24876 \begin_inset Text
24877
24878 \begin_layout Plain Layout
24879 \begin_inset Formula $\mathsf{SansSerif}$
24880 \end_inset
24881
24882
24883 \end_layout
24884
24885 \end_inset
24886 </cell>
24887 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
24888 \begin_inset Text
24889
24890 \begin_layout Plain Layout
24891
24892 \series bold
24893
24894 \backslash
24895 mathsf
24896 \end_layout
24897
24898 \end_inset
24899 </cell>
24900 </row>
24901 </lyxtabular>
24902
24903 \end_inset
24904
24905
24906 \end_layout
24907
24908 \end_inset
24909
24910
24911 \end_layout
24912
24913 \begin_layout Standard
24914 \begin_inset Note Greyedout
24915 status open
24916
24917 \begin_layout Plain Layout
24918
24919 \series bold
24920 Note:
24921 \series default
24922  You can only print capital letters in the typefaces 
24923 \family sans
24924 Blackboard
24925 \family default
24926  and 
24927 \family sans
24928 Calligraphic
24929 \family default
24930 .
24931 \end_layout
24932
24933 \end_inset
24934
24935
24936 \end_layout
24937
24938 \begin_layout Standard
24939 When you use a typeface, a blue box is inserted in the formula.
24940  Every character in this box will be printed in this typeface.
24941  Pressing 
24942 \family sans
24943 Space
24944 \family default
24945  within the box will set the cursor outside, so that you have to use a protected
24946  space when you need a space in the box.
24947  Here is an example where 
24948 \begin_inset Quotes eld
24949 \end_inset
24950
24951 N
24952 \begin_inset Quotes erd
24953 \end_inset
24954
24955  in 
24956 \family sans
24957 Blackboard
24958 \family default
24959  denotes the set of numbers:
24960 \begin_inset Formula 
24961 \[
24962 f(x)=\sqrt{x}\:;\: x\in\mathbb{N}
24963 \]
24964
24965 \end_inset
24966
24967
24968 \end_layout
24969
24970 \begin_layout Standard
24971 The typefaces are nestable, which can cause confusion.
24972  You can, for example, put a character in 
24973 \family sans
24974 Fraktur
24975 \family default
24976  in a box for 
24977 \family sans
24978 Typewriter
24979 \family default
24980
24981 \begin_inset Formula $\mathtt{abc\mathfrak{d}e}$
24982 \end_inset
24983
24984  
24985 \begin_inset Newline newline
24986 \end_inset
24987
24988 So it is better not to use this feature.
24989 \end_layout
24990
24991 \begin_layout Standard
24992 The typefaces have no effect on Greek letters: 
24993 \begin_inset Formula $\mathfrak{abc\delta e}$
24994 \end_inset
24995
24996
24997 \begin_inset Newline newline
24998 \end_inset
24999
25000 You can only print them emboldened using the command 
25001 \series bold
25002
25003 \backslash
25004 boldsymbol
25005 \series default
25006 , which works like the other typeface commands: 
25007 \begin_inset Formula $\alpha\beta\gamma\boldsymbol{\alpha\beta\gamma}$
25008 \end_inset
25009
25010
25011 \end_layout
25012
25013 \begin_layout Standard
25014
25015 \series bold
25016
25017 \backslash
25018 boldsymbol
25019 \series default
25020  works for all symbols, letters, and numbers.
25021 \end_layout
25022
25023 \begin_layout Standard
25024 A number of other font options are available as well, in the menu 
25025 \family sans
25026 Edit\SpecialChar \menuseparator
25027 Math\SpecialChar \menuseparator
25028 Text
25029 \begin_inset space ~
25030 \end_inset
25031
25032 Style
25033 \family default
25034 .
25035 \end_layout
25036
25037 \begin_layout Subsection
25038 Math Text
25039 \begin_inset Index idx
25040 status collapsed
25041
25042 \begin_layout Plain Layout
25043 Math ! Text
25044 \end_layout
25045
25046 \end_inset
25047
25048
25049 \end_layout
25050
25051 \begin_layout Standard
25052 Typefaces are useful for entering some characters in some given font, but
25053  not for text.
25054  For typing longer pieces of text use the math text, which is obtained using
25055  the entry 
25056 \family sans
25057 Normal
25058 \begin_inset space ~
25059 \end_inset
25060
25061 text
25062 \begin_inset space ~
25063 \end_inset
25064
25065 mode
25066 \family default
25067  of the 
25068 \family sans
25069 Math
25070 \begin_inset space ~
25071 \end_inset
25072
25073 Panel
25074 \family default
25075  button 
25076 \family sans
25077
25078 \begin_inset Info
25079 type  "icon"
25080 arg   "math-insert \\font"
25081 \end_inset
25082
25083
25084 \family default
25085  (shortcut 
25086 \begin_inset Info
25087 type  "shortcut"
25088 arg   "font-default"
25089 \end_inset
25090
25091 ).
25092  Math text appears in LyX in black instead of blue.
25093  You can use spaces and accents in math text as in normal text.
25094  Here is an example:
25095 \begin_inset Formula 
25096 \[
25097 f(x)=\begin{cases}
25098 x & \mbox{if I say so}\\
25099 -x & \mbox{under Umständen}
25100 \end{cases}
25101 \]
25102
25103 \end_inset
25104
25105
25106 \end_layout
25107
25108 \begin_layout Subsection
25109 Font Sizes
25110 \begin_inset Index idx
25111 status collapsed
25112
25113 \begin_layout Plain Layout
25114 Math ! Font sizes
25115 \end_layout
25116
25117 \end_inset
25118
25119
25120 \end_layout
25121
25122 \begin_layout Standard
25123 There are four font styles (relative sizes) used in math-mode, which are
25124  automatically chosen in most situations.
25125  These are called 
25126 \family sans
25127 textstyle
25128 \family default
25129
25130 \family sans
25131 displaystyle
25132 \family default
25133
25134 \family sans
25135 scriptstyle
25136 \family default
25137 , and 
25138 \family sans
25139 scriptscriptstyle
25140 \family default
25141 .
25142  For most characters, 
25143 \family sans
25144 textstyle
25145 \family default
25146  and 
25147 \family sans
25148 displaystyle
25149 \family default
25150  are actually the same size, but fractions, superscripts and subscripts,
25151  and certain other structures, are set larger in 
25152 \family sans
25153 displaystyle
25154 \family default
25155 .
25156  Except for some operators, which resize themselves to accommodate various
25157  situations, all text will be set in the styles that LaTeX thinks are appropriat
25158 e.
25159  These choices can be overridden by using the math panel button 
25160 \family sans
25161
25162 \begin_inset Info
25163 type  "icon"
25164 arg   "math-insert \\style"
25165 \end_inset
25166
25167
25168 \family default
25169 .
25170  A box for the size will be created in which you can insert the math structure.
25171  For example, you can set 
25172 \begin_inset Formula $\frac{1}{2}$
25173 \end_inset
25174
25175 , which is normally in 
25176 \family sans
25177 textstyle
25178 \family default
25179 , larger in 
25180 \family sans
25181 displaystyle
25182 \family default
25183
25184 \begin_inset Formula ${\displaystyle \frac{1}{2}}$
25185 \end_inset
25186
25187 .
25188  The four styles are used in the following example:
25189 \end_layout
25190
25191 \begin_layout Standard
25192 \begin_inset Formula $displaystyle$
25193 \end_inset
25194
25195
25196 \begin_inset Formula ${\textstyle textstyle}$
25197 \end_inset
25198
25199
25200 \begin_inset Formula ${\scriptstyle scriptstyle}$
25201 \end_inset
25202
25203
25204 \begin_inset Formula ${\scriptscriptstyle scriptscriptstyle}$
25205 \end_inset
25206
25207 .
25208 \end_layout
25209
25210 \begin_layout Standard
25211 All these math-mode font sizes are relative so that if the whole math inset
25212  is set in a particular size with the menu 
25213 \family sans
25214 Edit\SpecialChar \menuseparator
25215 Text
25216 \begin_inset space ~
25217 \end_inset
25218
25219 Style
25220 \family default
25221 , all sizes in the formula will be adjusted relative to this size.
25222  Similarly, if the base font size of the document is changed, all fonts
25223  will be adjusted to correspond.
25224  As an example here is a formula in the font size 
25225 \begin_inset Quotes eld
25226 \end_inset
25227
25228 largest
25229 \begin_inset Quotes erd
25230 \end_inset
25231
25232 :
25233 \end_layout
25234
25235 \begin_layout Standard
25236
25237 \family roman
25238 \size largest
25239 \begin_inset Formula $\mathrm{e}=\sum_{n=0}^{\infty}\frac{1}{n!}$
25240 \end_inset
25241
25242
25243 \end_layout
25244
25245 \begin_layout Section
25246 AMS-LaTeX
25247 \begin_inset Index idx
25248 status collapsed
25249
25250 \begin_layout Plain Layout
25251 AMS math
25252 \end_layout
25253
25254 \end_inset
25255
25256
25257 \begin_inset Index idx
25258 status collapsed
25259
25260 \begin_layout Plain Layout
25261 Math ! AMS
25262 \end_layout
25263
25264 \end_inset
25265
25266
25267 \end_layout
25268
25269 \begin_layout Standard
25270 LyX supports the packages provided by the American Mathematical Society
25271  (AMS) that are in common use.
25272 \end_layout
25273
25274 \begin_layout Subsection
25275 Enabling AMS-Support
25276 \end_layout
25277
25278 \begin_layout Standard
25279 You can make the facilities of the AMS-packages explicitly available in
25280  the document by selecting the checkbox 
25281 \family sans
25282 Use
25283 \begin_inset space ~
25284 \end_inset
25285
25286 AMS
25287 \begin_inset space ~
25288 \end_inset
25289
25290 math
25291 \begin_inset space ~
25292 \end_inset
25293
25294 package
25295 \family default
25296  in the 
25297 \family sans
25298 Document\SpecialChar \menuseparator
25299 Settings
25300 \family default
25301
25302 \begin_inset Index idx
25303 status collapsed
25304
25305 \begin_layout Plain Layout
25306 Document ! Settings
25307 \end_layout
25308
25309 \end_inset
25310
25311  dialog under 
25312 \family sans
25313 Math
25314 \begin_inset space ~
25315 \end_inset
25316
25317 Options
25318 \family default
25319 .
25320  AMS is needed for many math-constructs; so when you get LaTeX-errors in
25321  formulas, ensure that you have enabled AMS.
25322 \end_layout
25323
25324 \begin_layout Subsection
25325 AMS-Formula Types
25326 \begin_inset CommandInset label
25327 LatexCommand label
25328 name "sub:AMS-Formula-Types"
25329
25330 \end_inset
25331
25332
25333 \begin_inset Index idx
25334 status collapsed
25335
25336 \begin_layout Plain Layout
25337 Math ! Multi-line Equations
25338 \end_layout
25339
25340 \end_inset
25341
25342
25343 \end_layout
25344
25345 \begin_layout Standard
25346 AMS-LaTeX provides a selection of different formula types.
25347  LyX allows you to choose between 
25348 \family typewriter
25349 align
25350 \family default
25351
25352 \family typewriter
25353 alignat
25354 \family default
25355
25356 \family typewriter
25357 flalign
25358 \family default
25359
25360 \family typewriter
25361 gather
25362 \family default
25363 , and 
25364 \family typewriter
25365 multline
25366 \family default
25367 .
25368  We refer you to the AMS-documentation, 
25369 \begin_inset CommandInset citation
25370 LatexCommand cite
25371 key "AMS"
25372
25373 \end_inset
25374
25375 , for an explanation of these formula types.
25376 \end_layout
25377
25378 \begin_layout Chapter
25379 More Tools
25380 \end_layout
25381
25382 \begin_layout Section
25383 Cross-References
25384 \begin_inset Index idx
25385 status collapsed
25386
25387 \begin_layout Plain Layout
25388 Cross references
25389 \end_layout
25390
25391 \end_inset
25392
25393
25394 \begin_inset CommandInset label
25395 LatexCommand label
25396 name "sec:Cross-References"
25397
25398 \end_inset
25399
25400
25401 \end_layout
25402
25403 \begin_layout Standard
25404 One of LyX's strengths is cross-references.
25405  You can reference every section, float, footnote, formula, and list in
25406  the document.
25407  To reference a document part, you have to insert a label into it.
25408  The label is used as an anchor and a name for the reference.
25409  We want for example to refer to the second item of the following list:
25410 \end_layout
25411
25412 \begin_layout Enumerate
25413 First item
25414 \end_layout
25415
25416 \begin_layout Enumerate
25417 \begin_inset CommandInset label
25418 LatexCommand label
25419 name "enu:Second-item"
25420
25421 \end_inset
25422
25423 Second item
25424 \end_layout
25425
25426 \begin_layout Enumerate
25427 Third item
25428 \end_layout
25429
25430 \begin_layout Standard
25431 First we insert a label into the second item with the menu 
25432 \family sans
25433 Insert\SpecialChar \menuseparator
25434 Label
25435 \family default
25436  or by pressing the toolbar button 
25437 \begin_inset Info
25438 type  "icon"
25439 arg   "label-insert"
25440 \end_inset
25441
25442 .
25443  A gray label box like this: 
25444 \begin_inset Graphics
25445         filename clipart/labelQt4.png
25446         scale 85
25447
25448 \end_inset
25449
25450  is inserted and the label window pops up asking for the label text.
25451  LyX offers as text the first words of the item with a prefix, in our case
25452  the text 
25453 \begin_inset Quotes eld
25454 \end_inset
25455
25456
25457 \family sans
25458 enu:Second-item
25459 \family default
25460
25461 \begin_inset Quotes erd
25462 \end_inset
25463
25464 .
25465  The prefix 
25466 \begin_inset Quotes eld
25467 \end_inset
25468
25469
25470 \family sans
25471 enu:
25472 \family default
25473
25474 \begin_inset Quotes erd
25475 \end_inset
25476
25477  stands for 
25478 \begin_inset Quotes eld
25479 \end_inset
25480
25481 enumerate
25482 \begin_inset Quotes erd
25483 \end_inset
25484
25485 .
25486  The prefix depends on the document part where the label is inserted; for
25487  example, if you insert a label into a section heading, the suggested prefix
25488  will be 
25489 \begin_inset Quotes eld
25490 \end_inset
25491
25492
25493 \family sans
25494 sec:
25495 \family default
25496
25497 \begin_inset Quotes erd
25498 \end_inset
25499
25500 .
25501 \end_layout
25502
25503 \begin_layout Standard
25504 To reference the item, we refer to its label using the menu 
25505 \family sans
25506 Insert\SpecialChar \menuseparator
25507 Cross-Reference
25508 \family default
25509  or the toolbar button 
25510 \begin_inset Info
25511 type  "icon"
25512 arg   "dialog-show-new-inset ref"
25513 \end_inset
25514
25515 .
25516  A gray cross-reference box like this: 
25517 \begin_inset Graphics
25518         filename clipart/referenceQt4.png
25519         scale 85
25520
25521 \end_inset
25522
25523  is inserted and the cross-reference window appears showing all the labels
25524  in the document.
25525  We can now sort the labels alphabetically and then choose the entry 
25526 \begin_inset Quotes eld
25527 \end_inset
25528
25529
25530 \family sans
25531 enu:Second-item
25532 \family default
25533
25534 \begin_inset Quotes erd
25535 \end_inset
25536
25537 .
25538  At the position of the cross-reference box the item number will appear
25539  in the output.
25540 \end_layout
25541
25542 \begin_layout Standard
25543 As an alternative to 
25544 \family sans
25545 Insert\SpecialChar \menuseparator
25546 Cross-Reference
25547 \family default
25548 , you can right-click on a label and in the popup menu select 
25549 \family sans
25550 Copy as Reference
25551 \family default
25552 .
25553  The cross-reference to this label is now in the clipboard and can be pasted
25554  to the actual cursor position via the menu 
25555 \family sans
25556 Edit\SpecialChar \menuseparator
25557 Paste
25558 \family default
25559  (shortcut 
25560 \begin_inset Info
25561 type  "shortcut"
25562 arg   "paste"
25563 \end_inset
25564
25565 ).
25566 \end_layout
25567
25568 \begin_layout Standard
25569 Here is our cross-reference: Item
25570 \begin_inset space ~
25571 \end_inset
25572
25573
25574 \begin_inset CommandInset ref
25575 LatexCommand ref
25576 reference "enu:Second-item"
25577
25578 \end_inset
25579
25580
25581 \end_layout
25582
25583 \begin_layout Standard
25584 It is recommended to use a protected space
25585 \begin_inset Foot
25586 status collapsed
25587
25588 \begin_layout Plain Layout
25589 described in section
25590 \begin_inset space ~
25591 \end_inset
25592
25593
25594 \begin_inset CommandInset ref
25595 LatexCommand ref
25596 reference "sub:Protected-Space"
25597
25598 \end_inset
25599
25600
25601 \end_layout
25602
25603 \end_inset
25604
25605  between the cross-reference name and the cross-reference to avoid ugly
25606  line breaks between them.
25607 \end_layout
25608
25609 \begin_layout Standard
25610 There are six formats of cross-references:
25611 \end_layout
25612
25613 \begin_layout Description
25614 <reference>: prints the number, this is the default: 
25615 \begin_inset CommandInset ref
25616 LatexCommand ref
25617 reference "fig:Two-distorted-images"
25618
25619 \end_inset
25620
25621
25622 \end_layout
25623
25624 \begin_layout Description
25625 (<reference>): prints the number within two parentheses, this is the style
25626  normally used to reference formulas, especially when the reference name
25627  
25628 \begin_inset Quotes eld
25629 \end_inset
25630
25631 Equation
25632 \begin_inset Quotes erd
25633 \end_inset
25634
25635  is omitted: 
25636 \begin_inset CommandInset ref
25637 LatexCommand eqref
25638 reference "eq:tanhExp"
25639
25640 \end_inset
25641
25642
25643 \end_layout
25644
25645 \begin_layout Description
25646 <page>: prints the page number: Page
25647 \begin_inset space ~
25648 \end_inset
25649
25650
25651 \begin_inset CommandInset ref
25652 LatexCommand pageref
25653 reference "fig:Two-distorted-images"
25654
25655 \end_inset
25656
25657
25658 \end_layout
25659
25660 \begin_layout Description
25661 on
25662 \begin_inset space ~
25663 \end_inset
25664
25665 page
25666 \begin_inset space ~
25667 \end_inset
25668
25669 <page>: prints the text “on page” and the page number: 
25670 \begin_inset CommandInset ref
25671 LatexCommand vpageref
25672 reference "fig:Two-distorted-images"
25673
25674 \end_inset
25675
25676
25677 \begin_inset Newline newline
25678 \end_inset
25679
25680 If the label is on the same page, it prints “on this page”; if the label
25681  is on a facing page in a two-sided document, it prints “on the facing page”;
25682  if it is on the previous page which is not a facing page, it prints “on
25683  the previous page”; if it is on the next page which is not a facing page,
25684  it prints “on the next page”.
25685  The wording of the printed text also depends on the used document class.
25686 \end_layout
25687
25688 \begin_layout Description
25689 <reference>
25690 \begin_inset space ~
25691 \end_inset
25692
25693 on
25694 \begin_inset space ~
25695 \end_inset
25696
25697 page
25698 \begin_inset space ~
25699 \end_inset
25700
25701 <page>: prints the number, the text “on page” and the page number: 
25702 \begin_inset CommandInset ref
25703 LatexCommand vref
25704 reference "fig:Two-distorted-images"
25705
25706 \end_inset
25707
25708
25709 \begin_inset Newline newline
25710 \end_inset
25711
25712 If the label is on the same page, this format behaves like 
25713 \family sans
25714 \series bold
25715 <reference>
25716 \family default
25717 \series default
25718 ; otherwise it behaves like 
25719 \family sans
25720 \series bold
25721 on
25722 \begin_inset space ~
25723 \end_inset
25724
25725 page
25726 \begin_inset space ~
25727 \end_inset
25728
25729 <page>
25730 \family default
25731 \series default
25732 .
25733 \end_layout
25734
25735 \begin_layout Description
25736 Formatted
25737 \begin_inset space ~
25738 \end_inset
25739
25740 reference: prints a self defined cross-reference format.
25741 \begin_inset Newline newline
25742 \end_inset
25743
25744
25745 \begin_inset Note Greyedout
25746 status open
25747
25748 \begin_layout Plain Layout
25749
25750 \series bold
25751 Note:
25752 \series default
25753  This feature is only available when you have the LaTeX-package 
25754 \series bold
25755 prettyref
25756 \series default
25757  or 
25758 \series bold
25759 refstyle
25760 \series default
25761
25762 \begin_inset Index idx
25763 status collapsed
25764
25765 \begin_layout Plain Layout
25766 LaTeX-packages ! prettyref
25767 \end_layout
25768
25769 \end_inset
25770
25771
25772 \begin_inset Index idx
25773 status collapsed
25774
25775 \begin_layout Plain Layout
25776 LaTeX-packages ! refstyle
25777 \end_layout
25778
25779 \end_inset
25780
25781  installed.
25782 \end_layout
25783
25784 \end_inset
25785
25786
25787 \begin_inset Newline newline
25788 \end_inset
25789
25790 You can select which LaTeX-package should be used for this feature by setting
25791  the option 
25792 \family sans
25793 Use refstyle (not prettyref) for cross-references
25794 \family default
25795  in the menu 
25796 \family sans
25797 Document\SpecialChar \menuseparator
25798 Settings\SpecialChar \menuseparator
25799 Document Class
25800 \family default
25801 .
25802  The package 
25803 \series bold
25804 refstyle
25805 \series default
25806  is the default and preferred because 
25807 \series bold
25808 prettyref
25809 \series default
25810  supports only English documents.
25811  The format is specified by using the command 
25812 \series bold
25813
25814 \backslash
25815 newrefformat
25816 \series default
25817  (prettyref) or 
25818 \series bold
25819
25820 \backslash
25821 newref
25822 \series default
25823  (refstyle) in the LaTeX preamble of the document.
25824  For example redefining all references to figures (which have the label
25825  shortcut 
25826 \begin_inset Quotes eld
25827 \end_inset
25828
25829
25830 \family sans
25831 fig
25832 \family default
25833
25834 \begin_inset Quotes erd
25835 \end_inset
25836
25837 ) can be done with this command
25838 \begin_inset Newline newline
25839 \end_inset
25840
25841
25842 \series bold
25843
25844 \backslash
25845 newref{fig}{refcmd={Image on page 
25846 \backslash
25847 pageref{#1}}}
25848 \series default
25849
25850 \begin_inset Newline newline
25851 \end_inset
25852
25853 For more information about the format, have a look at the package documentations
25854
25855 \begin_inset CommandInset citation
25856 LatexCommand cite
25857 key "prettyref,refstyle"
25858
25859 \end_inset
25860
25861 .
25862 \end_layout
25863
25864 \begin_layout Description
25865 Textual
25866 \begin_inset space ~
25867 \end_inset
25868
25869 reference: prints the caption or the name of the reference: 
25870 \begin_inset CommandInset ref
25871 LatexCommand nameref
25872 reference "fig:Two-distorted-images"
25873
25874 \end_inset
25875
25876
25877 \end_layout
25878
25879 \begin_layout Standard
25880 The number and current page of the referenced document part in the output
25881  is automatically calculated by LaTeX.
25882  The varieties are adjusted in the field 
25883 \family sans
25884 Format
25885 \family default
25886  of the cross-reference window, that appears when you click on the cross-referen
25887 ce.
25888 \end_layout
25889
25890 \begin_layout Standard
25891 You can only use the style 
25892 \family sans
25893 <reference>
25894 \family default
25895  to reference numbered document parts, while the reference style 
25896 \family sans
25897 <page>
25898 \family default
25899  is always possible.
25900 \end_layout
25901
25902 \begin_layout Standard
25903 If you want to reference a section, put the label in the section heading;
25904  for floats put the label in the caption; for footnotes put the label in
25905  it.
25906  Referencing formulas is explained in section
25907 \begin_inset space ~
25908 \end_inset
25909
25910
25911 \begin_inset CommandInset ref
25912 LatexCommand ref
25913 reference "sec:Formula-Numbering-and"
25914
25915 \end_inset
25916
25917 .
25918 \end_layout
25919
25920 \begin_layout Standard
25921 Right-clicking on a cross-reference opens a context menu.
25922  The entry 
25923 \family sans
25924 Go
25925 \begin_inset space ~
25926 \end_inset
25927
25928 to
25929 \begin_inset space ~
25930 \end_inset
25931
25932 Label
25933 \family default
25934  sets the cursor before the referenced label.
25935  This entry will be renamed in the context menu of the label to 
25936 \family sans
25937 Go
25938 \begin_inset space ~
25939 \end_inset
25940
25941 Back
25942 \family default
25943  so that you can use it to set the cursor back to the cross-reference.
25944  You can also go back with the toolbar button 
25945 \begin_inset Info
25946 type  "icon"
25947 arg   "bookmark-goto 0"
25948 \end_inset
25949
25950 .
25951 \end_layout
25952
25953 \begin_layout Standard
25954 You can change labels at any time.
25955  References to the changed label will automatically be updated so that you
25956  do not need to think about this.
25957 \end_layout
25958
25959 \begin_layout Standard
25960 If a cross-reference refers to a non-existent label, you will see in LyX
25961  “BROKEN” in the cross-reference label and two question marks in the output
25962  instead of the reference.
25963 \end_layout
25964
25965 \begin_layout Standard
25966 References are described in detail in the section
25967 \begin_inset space ~
25968 \end_inset
25969
25970
25971 \begin_inset Quotes eld
25972 \end_inset
25973
25974 Referencing Floats
25975 \begin_inset Quotes erd
25976 \end_inset
25977
25978  of the 
25979 \emph on
25980 Embedded
25981 \begin_inset space ~
25982 \end_inset
25983
25984 Objects
25985 \emph default
25986  manual.
25987 \end_layout
25988
25989 \begin_layout Section
25990 Table of Contents and other Listings
25991 \begin_inset Index idx
25992 status collapsed
25993
25994 \begin_layout Plain Layout
25995 Table of contents
25996 \end_layout
25997
25998 \end_inset
25999
26000
26001 \begin_inset Index idx
26002 status collapsed
26003
26004 \begin_layout Plain Layout
26005 Outline
26006 \end_layout
26007
26008 \end_inset
26009
26010
26011 \begin_inset CommandInset label
26012 LatexCommand label
26013 name "sec:toc"
26014
26015 \end_inset
26016
26017
26018 \end_layout
26019
26020 \begin_layout Subsection
26021 Table of Contents
26022 \begin_inset CommandInset label
26023 LatexCommand label
26024 name "sub:Table-of-Contents"
26025
26026 \end_inset
26027
26028
26029 \end_layout
26030
26031 \begin_layout Standard
26032 The Table of Contents (TOC) is inserted with the menu 
26033 \family sans
26034 Insert\SpecialChar \menuseparator
26035 List/TOC\SpecialChar \menuseparator
26036 Table
26037 \begin_inset space ~
26038 \end_inset
26039
26040 of
26041 \begin_inset space ~
26042 \end_inset
26043
26044 Contents
26045 \family default
26046 .
26047  It is displayed in LyX as a gray box.
26048  If you click on it, the 
26049 \family sans
26050 Outline
26051 \family default
26052  window appears, showing you the TOC entries as outline, which allows you
26053  to move and rearrange sections in your documents.
26054  So this operation is an alternative to the menu 
26055 \family sans
26056 View\SpecialChar \menuseparator
26057 Outline
26058 \begin_inset space ~
26059 \end_inset
26060
26061 Pane
26062 \family default
26063  that is described in section
26064 \begin_inset space ~
26065 \end_inset
26066
26067
26068 \begin_inset CommandInset ref
26069 LatexCommand ref
26070 reference "sub:The-Outliner"
26071
26072 \end_inset
26073
26074 .
26075 \end_layout
26076
26077 \begin_layout Standard
26078 The TOC in the document output lists every numbered section automatically.
26079  If you have declared a short title for a section heading, as described
26080  in section
26081 \begin_inset space ~
26082 \end_inset
26083
26084
26085 \begin_inset CommandInset ref
26086 LatexCommand ref
26087 reference "sec:Short-Titles"
26088
26089 \end_inset
26090
26091 , it will be used in the TOC instead of the section heading.
26092  Section
26093 \begin_inset space ~
26094 \end_inset
26095
26096
26097 \begin_inset CommandInset ref
26098 LatexCommand ref
26099 reference "sub:Numbering-depth"
26100
26101 \end_inset
26102
26103  describes how the level is adjusted that defines which section types are
26104  listed in the TOC.
26105  Unnumbered sections are not listed in the TOC.
26106 \end_layout
26107
26108 \begin_layout Subsection
26109 List of Figures, Tables, and Algorithms
26110 \begin_inset CommandInset label
26111 LatexCommand label
26112 name "sub:List-of-Figures"
26113
26114 \end_inset
26115
26116
26117 \end_layout
26118
26119 \begin_layout Standard
26120 Table, figure, and algorithm lists are very much like the table of contents.
26121  You can insert them via the 
26122 \family sans
26123 Insert\SpecialChar \menuseparator
26124 List/TOC
26125 \family default
26126  submenus.
26127  The list entries are the float captions and the float number.
26128 \end_layout
26129
26130 \begin_layout Section
26131 URLs and Hyperlinks
26132 \begin_inset Index idx
26133 status collapsed
26134
26135 \begin_layout Plain Layout
26136 URLs
26137 \end_layout
26138
26139 \end_inset
26140
26141
26142 \begin_inset Index idx
26143 status collapsed
26144
26145 \begin_layout Plain Layout
26146 Hyperlinks
26147 \end_layout
26148
26149 \end_inset
26150
26151
26152 \end_layout
26153
26154 \begin_layout Subsection
26155 URLs
26156 \begin_inset CommandInset label
26157 LatexCommand label
26158 name "sub:URLs"
26159
26160 \end_inset
26161
26162
26163 \end_layout
26164
26165 \begin_layout Standard
26166 Links to web pages or email addresses can be inserted via the menu 
26167 \family sans
26168 Insert\SpecialChar \menuseparator
26169 URL
26170 \family default
26171 .
26172 \end_layout
26173
26174 \begin_layout Standard
26175 Here is an example URL: LyX's homepage: 
26176 \begin_inset Flex URL
26177 status collapsed
26178
26179 \begin_layout Plain Layout
26180
26181 http://www.lyx.org
26182 \end_layout
26183
26184 \end_inset
26185
26186
26187 \end_layout
26188
26189 \begin_layout Standard
26190 You cannot change the style of the link text, the URL text will always be
26191  in the style 
26192 \family typewriter
26193 Typewriter
26194 \family default
26195 .
26196  To be able to format the URL text, use hyperlinks as explained in the next
26197  subsection.
26198 \end_layout
26199
26200 \begin_layout Standard
26201 \begin_inset Note Greyedout
26202 status open
26203
26204 \begin_layout Plain Layout
26205
26206 \series bold
26207 Note:
26208 \series default
26209  URLs must not end with a backslash, otherwise you get LaTeX errors.
26210 \end_layout
26211
26212 \end_inset
26213
26214
26215 \end_layout
26216
26217 \begin_layout Subsection
26218 Hyperlinks
26219 \begin_inset CommandInset label
26220 LatexCommand label
26221 name "sub:Hyperlinks"
26222
26223 \end_inset
26224
26225
26226 \end_layout
26227
26228 \begin_layout Standard
26229 Hyperlinks can be inserted with the menu 
26230 \family sans
26231 Insert\SpecialChar \menuseparator
26232 Hyperlink
26233 \family default
26234  or with the toolbar button 
26235 \begin_inset Info
26236 type  "icon"
26237 arg   "href-insert"
26238 \end_inset
26239
26240 .
26241  The appearing dialog has two fields: 
26242 \family sans
26243 Target
26244 \family default
26245  and 
26246 \family sans
26247 Name
26248 \family default
26249 .
26250  The name is the printed text for the hyperlink.
26251  The hyperlink type can be a weblink like this: 
26252 \begin_inset CommandInset href
26253 LatexCommand href
26254 name "LyX's homepage"
26255 target "http://www.lyx.org"
26256
26257 \end_inset
26258
26259 , an Email address like this: 
26260 \begin_inset CommandInset href
26261 LatexCommand href
26262 name "lyx-docs mailing list"
26263 target "lyx-docs@lists.lyx.org?subject=LyX's documentation"
26264 type "mailto:"
26265
26266 \end_inset
26267
26268 , or a link to a file.
26269 \end_layout
26270
26271 \begin_layout Standard
26272 You can start applications via a hyperlink when you insert a weblink by
26273  adding the prefix 
26274 \begin_inset Quotes eld
26275 \end_inset
26276
26277
26278 \family sans
26279 run:
26280 \family default
26281
26282 \begin_inset Quotes erd
26283 \end_inset
26284
26285  to the link target.
26286 \end_layout
26287
26288 \begin_layout Standard
26289 Hyperlinks will automatically be hyphenated if necessary in the PDF output,
26290  and become clickable in the DVI and PDF-output.
26291  To set the format of the link text, highlight the hyperlink inset and use
26292  the text style dialog.
26293  This is for example a hyperlink with bold sans serif text: 
26294 \family sans
26295 \series bold
26296
26297 \begin_inset CommandInset href
26298 LatexCommand href
26299 name "LyX's homepage"
26300 target "http://www.lyx.org"
26301
26302 \end_inset
26303
26304
26305 \end_layout
26306
26307 \begin_layout Standard
26308 The link text color can be changed, when the option 
26309 \family sans
26310 Color links
26311 \family default
26312  is set in the PDF Properties dialog (menu 
26313 \family sans
26314 Document\SpecialChar \menuseparator
26315 Settings\SpecialChar \menuseparator
26316 PDF Properties
26317 \family default
26318 ).
26319  The link text is for example set in this document to blue by adding the
26320  option
26321 \begin_inset Newline newline
26322 \end_inset
26323
26324
26325 \series bold
26326 urlcolor=blue
26327 \series default
26328
26329 \begin_inset Newline newline
26330 \end_inset
26331
26332 to the field 
26333 \family sans
26334 Additional options
26335 \family default
26336  in the PDF Properties dialog.
26337 \end_layout
26338
26339 \begin_layout Section
26340 Appendices
26341 \begin_inset Index idx
26342 status collapsed
26343
26344 \begin_layout Plain Layout
26345 Appendix
26346 \end_layout
26347
26348 \end_inset
26349
26350
26351 \begin_inset CommandInset label
26352 LatexCommand label
26353 name "sec:Appendices"
26354
26355 \end_inset
26356
26357
26358 \end_layout
26359
26360 \begin_layout Standard
26361 Appendices are created with the menu 
26362 \family sans
26363 Document\SpecialChar \menuseparator
26364 Start
26365 \begin_inset space ~
26366 \end_inset
26367
26368 Appendix
26369 \begin_inset space ~
26370 \end_inset
26371
26372 Here
26373 \family default
26374 .
26375  This menu sets the document from the current cursor position to the end
26376  as the appendix part of the book.
26377  This part is marked with a red borderline.
26378 \end_layout
26379
26380 \begin_layout Standard
26381 Every chapter (or section) within the appendix part is treated as an appendix,
26382  numbered with a capital Latin letter.
26383  The appendix subsections are numbered with this letter followed by a dot
26384  and the subsection number.
26385  All appendix sections can be referenced as if they were normal sections,
26386  here two examples:
26387 \end_layout
26388
26389 \begin_layout Standard
26390 Appendix
26391 \begin_inset space ~
26392 \end_inset
26393
26394
26395 \begin_inset CommandInset ref
26396 LatexCommand ref
26397 reference "chap:Credits"
26398
26399 \end_inset
26400
26401 ; Appendix
26402 \begin_inset space ~
26403 \end_inset
26404
26405
26406 \begin_inset CommandInset ref
26407 LatexCommand ref
26408 reference "sub:Export"
26409
26410 \end_inset
26411
26412
26413 \end_layout
26414
26415 \begin_layout Section
26416 Bibliography
26417 \begin_inset Index idx
26418 status collapsed
26419
26420 \begin_layout Plain Layout
26421 Bibliography
26422 \end_layout
26423
26424 \end_inset
26425
26426
26427 \begin_inset CommandInset label
26428 LatexCommand label
26429 name "sec:Bibliography"
26430
26431 \end_inset
26432
26433
26434 \end_layout
26435
26436 \begin_layout Standard
26437 There are two ways of generating the bibliography in a LyX-document.
26438  You can include a bibliography database,
26439 \begin_inset Foot
26440 status collapsed
26441
26442 \begin_layout Plain Layout
26443 Known under the name 
26444 \begin_inset Quotes eld
26445 \end_inset
26446
26447 BibTeX-database
26448 \begin_inset Quotes erd
26449 \end_inset
26450
26451 .
26452 \end_layout
26453
26454 \end_inset
26455
26456  which is explained in the next subsection, or you can insert the bibliography
26457  manually, using the paragraph environment 
26458 \family sans
26459 Bibliography
26460 \family default
26461 , which was described in section
26462 \begin_inset space ~
26463 \end_inset
26464
26465
26466 \begin_inset CommandInset ref
26467 LatexCommand ref
26468 reference "sub:Biblio_environment"
26469
26470 \end_inset
26471
26472 .
26473  If you want anything other than the numerical citations that are used in
26474  this document, like author-year citations, then you must
26475 \emph on
26476  
26477 \emph default
26478 use a bibliography database.
26479 \end_layout
26480
26481 \begin_layout Subsection
26482 The Bibliography Environment
26483 \end_layout
26484
26485 \begin_layout Standard
26486 Within the 
26487 \family sans
26488 Bibliography
26489 \family default
26490  environment, every paragraph begins with a gray bibliography box labeled
26491  with a number.
26492  If you click on it, you will get a dialog in which you can set a 
26493 \family sans
26494 Key
26495 \family default
26496  and a 
26497 \family sans
26498 Label
26499 \family default
26500 .
26501  The key is the symbolic name by which you will refer to this bibliography
26502  entry.
26503  For example, our second entry in the bibliography is a book about LaTeX
26504  and we used 
26505 \begin_inset Quotes eld
26506 \end_inset
26507
26508 latexcompanion
26509 \begin_inset Quotes erd
26510 \end_inset
26511
26512 , a short form of its title, as the key.
26513 \end_layout
26514
26515 \begin_layout Standard
26516 You can cross-reference a bibliography entry using the menu 
26517 \family sans
26518 Insert\SpecialChar \menuseparator
26519 Citation
26520 \family default
26521  or the toolbar button 
26522 \begin_inset Info
26523 type  "icon"
26524 arg   "dialog-show-new-inset citation"
26525 \end_inset
26526
26527 .
26528  A citation reference box is inserted and a citation window will appear
26529  containing the available citations.
26530  Select one or more keys from the list and 
26531 \family sans
26532 Add
26533 \family default
26534  them.
26535  Then press 
26536 \family sans
26537 OK
26538 \family default
26539 .
26540  The citation reference box will be labeled with the referenced key(s).
26541  If you click on the box, the citation window will appear and you can change
26542  the reference.
26543 \end_layout
26544
26545 \begin_layout Standard
26546 Citation references appear in the output as the number of the bibliography
26547  entry with surrounding brackets.
26548  If you set a 
26549 \family sans
26550 Label
26551 \family default
26552  for the entry, the label will appear instead of the number.
26553  Here are two examples; the first without a label, the second with the label
26554  
26555 \begin_inset Quotes eld
26556 \end_inset
26557
26558 Credits
26559 \begin_inset Quotes erd
26560 \end_inset
26561
26562 :
26563 \end_layout
26564
26565 \begin_layout Standard
26566 Have a look at the 
26567 \family sans
26568 LaTeX Companion Second Edition
26569 \family default
26570
26571 \begin_inset CommandInset citation
26572 LatexCommand cite
26573 key "latexcompanion"
26574
26575 \end_inset
26576
26577
26578 \end_layout
26579
26580 \begin_layout Standard
26581 The LyX-Team members are listed in the Credits: 
26582 \begin_inset CommandInset citation
26583 LatexCommand cite
26584 key "lyxcredit"
26585
26586 \end_inset
26587
26588
26589 \end_layout
26590
26591 \begin_layout Standard
26592 To align all entries in the bibliography environment you can set a longest
26593  label via the menu 
26594 \family sans
26595 Edit\SpecialChar \menuseparator
26596 Paragraph
26597 \begin_inset space ~
26598 \end_inset
26599
26600 Settings
26601 \family default
26602  (toolbar button 
26603 \begin_inset Info
26604 type  "icon"
26605 arg   "layout-paragraph"
26606 \end_inset
26607
26608 ).
26609  All entries are then indented in the output by the width of the given label.
26610 \end_layout
26611
26612 \begin_layout Subsection
26613 Bibliography databases (BibTeX)
26614 \begin_inset Index idx
26615 status collapsed
26616
26617 \begin_layout Plain Layout
26618 Bibliography ! Databases
26619 \end_layout
26620
26621 \end_inset
26622
26623
26624 \begin_inset Index idx
26625 status collapsed
26626
26627 \begin_layout Plain Layout
26628 Bibliography ! BibTeX
26629 \end_layout
26630
26631 \end_inset
26632
26633
26634 \begin_inset CommandInset label
26635 LatexCommand label
26636 name "sub:Bibliography-databases"
26637
26638 \end_inset
26639
26640
26641 \end_layout
26642
26643 \begin_layout Standard
26644 Bibliography databases are useful if you use the same bibliography in different
26645  documents.
26646 \begin_inset Foot
26647 status collapsed
26648
26649 \begin_layout Plain Layout
26650 They are also useful for keeping a database of articles and notes concerning
26651  them.
26652  Most of the database programs mentioned below allow you to store annotations
26653  and reviews along with bibliographical information.
26654 \end_layout
26655
26656 \end_inset
26657
26658  It also makes it very easy to have a uniform layout for all bibliography
26659  entries.
26660  You can collect the bibliography of all relevant books and articles of
26661  your working field in a database.
26662  This database can be used for different documents, and by default only
26663  the entries cited in a particular document will appear in the bibliography
26664  list for that document.
26665  This relieves you of the need to keep track of which articles and books
26666  you have cited.
26667 \end_layout
26668
26669 \begin_layout Standard
26670 The database is a text file with the file extension 
26671 \begin_inset Quotes eld
26672 \end_inset
26673
26674
26675 \family sans
26676 .bib
26677 \family default
26678
26679 \begin_inset Quotes erd
26680 \end_inset
26681
26682 , containing the bibliography in a special format.
26683  The format is explained in 
26684 \begin_inset CommandInset citation
26685 LatexCommand cite
26686 key "BibTeX-2"
26687
26688 \end_inset
26689
26690  and in the LaTeX books (
26691 \begin_inset CommandInset citation
26692 LatexCommand cite
26693 key "Mittelbach,Kopka,Lamport"
26694
26695 \end_inset
26696
26697 ).
26698  The file can be created using any text editor, but normally one uses a
26699  special program to create and edit the entries in the database.
26700  A list of such programs is maintained on the LyX Wiki at 
26701 \begin_inset Flex URL
26702 status collapsed
26703
26704 \begin_layout Plain Layout
26705
26706 http://wiki.lyx.org/BibTeX/Programs
26707 \end_layout
26708
26709 \end_inset
26710
26711 .
26712 \end_layout
26713
26714 \begin_layout Standard
26715 To use a database, use the menu 
26716 \family sans
26717 Insert\SpecialChar \menuseparator
26718 List
26719 \family default
26720 /
26721 \family sans
26722 TOC\SpecialChar \menuseparator
26723 BibT
26724 \begin_inset ERT
26725 status collapsed
26726
26727 \begin_layout Plain Layout
26728
26729 {}
26730 \end_layout
26731
26732 \end_inset
26733
26734 eX
26735 \begin_inset space ~
26736 \end_inset
26737
26738 Bibliography
26739 \family default
26740 .
26741  A gray box will be inserted and a window appears.
26742  In this window you can add one or more databases and select a 
26743 \family sans
26744 style
26745 \family default
26746  file.
26747  The option 
26748 \family sans
26749 Add bibliography to TOC
26750 \family default
26751  adds a table of contents entry for the bibliography.
26752  In the 
26753 \family sans
26754 Content
26755 \family default
26756  drop box you can select whether to include all the entries in the database
26757  in the document or just the cited references.
26758 \end_layout
26759
26760 \begin_layout Standard
26761 The style file is a text file with the file extension 
26762 \begin_inset Quotes eld
26763 \end_inset
26764
26765
26766 \family sans
26767 .bst
26768 \family default
26769
26770 \begin_inset Quotes erd
26771 \end_inset
26772
26773  that controls how the bibliography entries will appear.
26774  Your LaTeX distribution should provide several of these, and many publishers
26775  provide their own style files, so that you don't have to take care of the
26776  layout.
26777  It is of course possible to write your own style file, but this is something
26778  for experts.
26779 \begin_inset Foot
26780 status collapsed
26781
26782 \begin_layout Plain Layout
26783 For information on how this is done, have a look at
26784 \begin_inset Newline newline
26785 \end_inset
26786
26787
26788 \begin_inset CommandInset href
26789 LatexCommand href
26790 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxhak.pdf"
26791
26792 \end_inset
26793
26794 .
26795 \end_layout
26796
26797 \end_inset
26798
26799
26800 \end_layout
26801
26802 \begin_layout Standard
26803 Inserting a citation reference works as described in the previous section.
26804 \end_layout
26805
26806 \begin_layout Standard
26807 To generate the bibliography from a database, LyX uses the program BibTeX.
26808  You can choose which of its variants should be used by LyX as the 
26809 \family sans
26810 Processor
26811 \family default
26812  either in 
26813 \family sans
26814 Document\SpecialChar \menuseparator
26815 Settings\SpecialChar \menuseparator
26816 Bibliography
26817 \family default
26818  or in 
26819 \family sans
26820 Tools\SpecialChar \menuseparator
26821 Preferences\SpecialChar \menuseparator
26822 Output\SpecialChar \menuseparator
26823 LaT
26824 \begin_inset ERT
26825 status collapsed
26826
26827 \begin_layout Plain Layout
26828
26829 {}
26830 \end_layout
26831
26832 \end_inset
26833
26834 eX
26835 \family default
26836 .
26837  The following variants are possible:
26838 \end_layout
26839
26840 \begin_layout Description
26841 biber provides full Unicode support, unlimited memory, but does not work
26842  with other bibliography packages (e.
26843 \begin_inset space \thinspace{}
26844 \end_inset
26845
26846 g.
26847 \begin_inset space \space{}
26848 \end_inset
26849
26850
26851 \series bold
26852 natbib
26853 \series default
26854 ), only with the package 
26855 \series bold
26856 biblatex
26857 \series default
26858 ; recommended for multilingual texts and for languages that don't use Latin
26859  letters
26860 \end_layout
26861
26862 \begin_layout Description
26863 bibtex the standard; does not allow special characters in bibliography entries
26864  that are not possible to encode in a 7-bit encoding, limited memory, works
26865  with all bibliography packages, except 
26866 \series bold
26867 biblatex
26868 \end_layout
26869
26870 \begin_layout Description
26871 bibtex8 allows all characters that are possible to encode in an 8-bit encoding,
26872  larger memory than 
26873 \family sans
26874 bibtex
26875 \family default
26876 , works with all bibliography packages
26877 \end_layout
26878
26879 \begin_layout Standard
26880 BibTeX can be controlled with options that you can add below the specification
26881  of the variants.
26882  Before adding options, it is strongly recommended that you read the manual
26883  of 
26884 \family sans
26885 BibTeX
26886 \family default
26887  
26888 \begin_inset CommandInset citation
26889 LatexCommand cite
26890 key "BibTeX"
26891
26892 \end_inset
26893
26894 .
26895 \end_layout
26896
26897 \begin_layout Standard
26898 When you select the option 
26899 \family sans
26900 Sectioned bibliography
26901 \family default
26902  in the 
26903 \family sans
26904 Document\SpecialChar \menuseparator
26905 Settings\SpecialChar \menuseparator
26906 Bibliography
26907 \family default
26908  dialog, it is possible to have multiple and sectioned bibliographies.
26909  This and other options are explained in detail in section 
26910 \emph on
26911 Customizing Bibliographies
26912 \emph default
26913  
26914 \emph on
26915 with BibTeX
26916 \emph default
26917  of the 
26918 \emph on
26919 Additional Features
26920 \emph default
26921  manual.
26922 \end_layout
26923
26924 \begin_layout Standard
26925 We use two bibliographies in this document to show the difference between
26926  the two methods of creating them.
26927  As you can see, the bibliography that is created from a database lists
26928  only the database entries that are referenced in the document.
26929  We used the style file 
26930 \family sans
26931 alphadin.bst
26932 \family default
26933  to get the complicated German reference key scheme in the bibliography.
26934 \end_layout
26935
26936 \begin_layout Subsection
26937 Bibliography layout
26938 \begin_inset Index idx
26939 status collapsed
26940
26941 \begin_layout Plain Layout
26942 Bibliography ! Layout
26943 \end_layout
26944
26945 \end_inset
26946
26947
26948 \end_layout
26949
26950 \begin_layout Standard
26951 In the citation reference dialog you can set a special citation format.
26952  For this feature you need to enable the option 
26953 \family sans
26954 Natbib
26955 \family default
26956  in the 
26957 \family sans
26958 Document\SpecialChar \menuseparator
26959 Settings
26960 \family default
26961
26962 \begin_inset Index idx
26963 status collapsed
26964
26965 \begin_layout Plain Layout
26966 Document ! Settings
26967 \end_layout
26968
26969 \end_inset
26970
26971  dialog under 
26972 \family sans
26973 Bibliography
26974 \family default
26975 .
26976  Setting a citation style for a reference will overwrite the default.
26977  For the global citation format use the BibTeX style files as explained
26978  in the previous section.
26979 \end_layout
26980
26981 \begin_layout Standard
26982 You can also set text to appear before or after a citation reference, in
26983  the citation reference window.
26984  Here is an example where the text 
26985 \begin_inset Quotes eld
26986 \end_inset
26987
26988 Chapter
26989 \begin_inset space ~
26990 \end_inset
26991
26992 3
26993 \begin_inset Quotes erd
26994 \end_inset
26995
26996  appears after the reference:
26997 \end_layout
26998
26999 \begin_layout Standard
27000 Have a look at 
27001 \begin_inset CommandInset citation
27002 LatexCommand cite
27003 after "Chapter 3"
27004 key "latexcompanion"
27005
27006 \end_inset
27007
27008 .
27009 \end_layout
27010
27011 \begin_layout Section
27012 Index
27013 \begin_inset Index idx
27014 status collapsed
27015
27016 \begin_layout Plain Layout
27017 Index generation
27018 \end_layout
27019
27020 \end_inset
27021
27022
27023 \begin_inset CommandInset label
27024 LatexCommand label
27025 name "sec:Index"
27026
27027 \end_inset
27028
27029
27030 \end_layout
27031
27032 \begin_layout Standard
27033 An index entry is created if you use the menu 
27034 \family sans
27035 Insert\SpecialChar \menuseparator
27036 Index
27037 \begin_inset space ~
27038 \end_inset
27039
27040 Entry
27041 \family default
27042  or the toolbar button 
27043 \begin_inset Info
27044 type  "icon"
27045 arg   "index-insert"
27046 \end_inset
27047
27048 .
27049  A box is inserted containing the text that appears in the index.
27050  The word where the cursor is in or the currently highlighted text is proposed
27051  by LyX as the index entry.
27052 \end_layout
27053
27054 \begin_layout Standard
27055 The index list is inserted in the document with the menu 
27056 \family sans
27057 Insert\SpecialChar \menuseparator
27058 List/TOC\SpecialChar \menuseparator
27059 Index
27060 \begin_inset space ~
27061 \end_inset
27062
27063 List
27064 \family default
27065 .
27066  A light blue box labeled 
27067 \begin_inset Quotes eld
27068 \end_inset
27069
27070
27071 \family sans
27072 Index
27073 \family default
27074
27075 \begin_inset Quotes erd
27076 \end_inset
27077
27078  will show the place where the index is printed in the output.
27079  The index list box is not clickable like other LyX-boxes.
27080 \end_layout
27081
27082 \begin_layout Standard
27083 We give a short overview of the index commands in the next subsections.
27084  For a detailed description of LaTeX's index mechanism, have a look at one
27085  of the LaTeX books 
27086 \begin_inset CommandInset citation
27087 LatexCommand cite
27088 key "latexcompanion,latexguide,latexbook"
27089
27090 \end_inset
27091
27092 .
27093 \end_layout
27094
27095 \begin_layout Subsection
27096 Grouping Index Entries
27097 \begin_inset Index idx
27098 status collapsed
27099
27100 \begin_layout Plain Layout
27101 Index ! Grouping
27102 \end_layout
27103
27104 \end_inset
27105
27106
27107 \end_layout
27108
27109 \begin_layout Standard
27110 Index entries are often grouped to offer the reader a fast search in the
27111  index.
27112  We want to group for example the index entries for itemized and enumerated
27113  lists under the entry 
27114 \begin_inset Quotes eld
27115 \end_inset
27116
27117 Lists
27118 \begin_inset Quotes erd
27119 \end_inset
27120
27121 .
27122  First we create the entry 
27123 \begin_inset Quotes eld
27124 \end_inset
27125
27126 Lists
27127 \begin_inset Quotes erd
27128 \end_inset
27129
27130  in section
27131 \begin_inset space ~
27132 \end_inset
27133
27134
27135 \begin_inset CommandInset ref
27136 LatexCommand ref
27137 reference "sub:Lists"
27138
27139 \end_inset
27140
27141 .
27142  In the text field for the itemized list index entry in section
27143 \begin_inset space ~
27144 \end_inset
27145
27146
27147 \begin_inset CommandInset ref
27148 LatexCommand ref
27149 reference "sec:Itemize"
27150
27151 \end_inset
27152
27153 , we insert the command
27154 \end_layout
27155
27156 \begin_layout Standard
27157
27158 \series bold
27159 Lists ! Itemize
27160 \end_layout
27161
27162 \begin_layout Standard
27163 and the command
27164 \end_layout
27165
27166 \begin_layout Standard
27167
27168 \series bold
27169 Lists ! Enumerate
27170 \end_layout
27171
27172 \begin_layout Standard
27173 for the enumerated list in section
27174 \begin_inset space ~
27175 \end_inset
27176
27177
27178 \begin_inset CommandInset ref
27179 LatexCommand ref
27180 reference "sec:Enumerate"
27181
27182 \end_inset
27183
27184 .
27185 \end_layout
27186
27187 \begin_layout Standard
27188 The exclamation mark 
27189 \begin_inset Quotes eld
27190 \end_inset
27191
27192 !
27193 \begin_inset Quotes erd
27194 \end_inset
27195
27196  marks the grouping levels.
27197  You can have three levels; every index level is indented a bit more.
27198  An index entry for the higher levels is not required.
27199  If we don't have an index entry for 
27200 \begin_inset Quotes eld
27201 \end_inset
27202
27203 Lists
27204 \begin_inset Quotes erd
27205 \end_inset
27206
27207 , it will be printed anyway, but without a page number.
27208 \end_layout
27209
27210 \begin_layout Subsection
27211 Page Ranges
27212 \begin_inset Index idx
27213 status collapsed
27214
27215 \begin_layout Plain Layout
27216 Index ! Page ranges
27217 \end_layout
27218
27219 \end_inset
27220
27221
27222 \end_layout
27223
27224 \begin_layout Standard
27225 Normally an index entry will appear with the page number of the indexed
27226  section.
27227  But sometimes you want to index more pages under the same entry.
27228  For example, if we want to index the paragraph environments, we create
27229  an index entry in section
27230 \begin_inset space ~
27231 \end_inset
27232
27233
27234 \begin_inset CommandInset ref
27235 LatexCommand ref
27236 reference "sec:Paragraph-Environments"
27237
27238 \end_inset
27239
27240  with the command
27241 \end_layout
27242
27243 \begin_layout Standard
27244
27245 \series bold
27246 Paragraph environments|(
27247 \end_layout
27248
27249 \begin_layout Standard
27250 and another entry at the end of section
27251 \begin_inset space ~
27252 \end_inset
27253
27254
27255 \begin_inset CommandInset ref
27256 LatexCommand ref
27257 reference "sub:LyX-Code"
27258
27259 \end_inset
27260
27261  with the command
27262 \end_layout
27263
27264 \begin_layout Standard
27265
27266 \series bold
27267 Paragraph environments|)
27268 \end_layout
27269
27270 \begin_layout Standard
27271 The commands 
27272 \begin_inset Quotes eld
27273 \end_inset
27274
27275
27276 \series bold
27277 |(
27278 \series default
27279
27280 \begin_inset Quotes erd
27281 \end_inset
27282
27283  and 
27284 \begin_inset Quotes eld
27285 \end_inset
27286
27287
27288 \series bold
27289 |)
27290 \series default
27291
27292 \begin_inset Quotes erd
27293 \end_inset
27294
27295  respectively start and end the index range.
27296  You can also add the same index entry at different places in the document.
27297  They appear in the output under one entry with a comma separated list of
27298  the pages of the indexed document parts.
27299  An example is the index entry 
27300 \begin_inset Quotes eld
27301 \end_inset
27302
27303 Document ! Settings
27304 \begin_inset Quotes erd
27305 \end_inset
27306
27307 .
27308 \end_layout
27309
27310 \begin_layout Subsection
27311 Cross referencing
27312 \begin_inset Index idx
27313 status collapsed
27314
27315 \begin_layout Plain Layout
27316 Index ! Cross referencing
27317 \end_layout
27318
27319 \end_inset
27320
27321
27322 \end_layout
27323
27324 \begin_layout Standard
27325 It is also possible to refer to another index entry.
27326  We referred for example in the index entry 
27327 \begin_inset Quotes eld
27328 \end_inset
27329
27330 GIF
27331 \begin_inset Quotes erd
27332 \end_inset
27333
27334  (in section
27335 \begin_inset space ~
27336 \end_inset
27337
27338
27339 \begin_inset CommandInset ref
27340 LatexCommand ref
27341 reference "sub:Image-Formats"
27342
27343 \end_inset
27344
27345 ) to the index entry 
27346 \begin_inset Quotes eld
27347 \end_inset
27348
27349 Image formats
27350 \begin_inset Quotes erd
27351 \end_inset
27352
27353  in the same section using the entry
27354 \end_layout
27355
27356 \begin_layout Standard
27357
27358 \series bold
27359 GIF|see{Image formats}
27360 \end_layout
27361
27362 \begin_layout Standard
27363 where the braces have to be inserted as TeX Code.
27364  The text within the braces is the referenced entry.
27365  The reference will appear in the output without a page number.
27366 \end_layout
27367
27368 \begin_layout Subsection
27369 Index Entry Order
27370 \begin_inset Index idx
27371 status collapsed
27372
27373 \begin_layout Plain Layout
27374 Index ! Entry order
27375 \end_layout
27376
27377 \end_inset
27378
27379
27380 \end_layout
27381
27382 \begin_layout Standard
27383 If you use accented characters in the index entry the entries might not
27384  follow the rules for the index order.
27385  The index entries are sorted alphabetically but LaTeX
27386 \begin_inset Foot
27387 status collapsed
27388
27389 \begin_layout Plain Layout
27390 The index generating is done in the background by an extra program, see
27391  section
27392 \begin_inset space ~
27393 \end_inset
27394
27395
27396 \begin_inset CommandInset ref
27397 LatexCommand ref
27398 reference "sub:Index-Program"
27399
27400 \end_inset
27401
27402 .
27403 \end_layout
27404
27405 \end_inset
27406
27407  does not know how to sort accents in different languages.
27408  We have created as an example the three dummy index entries 
27409 \begin_inset Quotes eld
27410 \end_inset
27411
27412 maison
27413 \begin_inset Quotes erd
27414 \end_inset
27415
27416
27417 \begin_inset Quotes eld
27418 \end_inset
27419
27420 maïs
27421 \begin_inset Quotes erd
27422 \end_inset
27423
27424 , and 
27425 \begin_inset Quotes eld
27426 \end_inset
27427
27428 maître
27429 \begin_inset Quotes erd
27430 \end_inset
27431
27432 .
27433 \begin_inset Index idx
27434 status collapsed
27435
27436 \begin_layout Plain Layout
27437 Dummy entries ! maïs
27438 \end_layout
27439
27440 \end_inset
27441
27442
27443 \begin_inset Index idx
27444 status collapsed
27445
27446 \begin_layout Plain Layout
27447 Dummy entries ! maître
27448 \end_layout
27449
27450 \end_inset
27451
27452
27453 \begin_inset Index idx
27454 status collapsed
27455
27456 \begin_layout Plain Layout
27457 Dummy entries ! maïs@maison
27458 \end_layout
27459
27460 \end_inset
27461
27462  They will be sorted in the order maïs, maître, maison but we want the order
27463  maïs, maison, maître.
27464  To achieve this, we use the command
27465 \end_layout
27466
27467 \begin_layout Standard
27468
27469 \series bold
27470 previous entry@current entry
27471 \end_layout
27472
27473 \begin_layout Standard
27474 In our case we want to have 
27475 \begin_inset Quotes eld
27476 \end_inset
27477
27478 maison
27479 \begin_inset Quotes erd
27480 \end_inset
27481
27482  after 
27483 \begin_inset Quotes eld
27484 \end_inset
27485
27486 maïs
27487 \begin_inset Quotes erd
27488 \end_inset
27489
27490  and write therefore for the index entry of maison:
27491 \end_layout
27492
27493 \begin_layout Standard
27494
27495 \series bold
27496 maïs@maison
27497 \end_layout
27498
27499 \begin_layout Standard
27500 The previous entry need not be a real existing entry.
27501  You can also use another word to tell LaTeX the entry order.
27502  See the next subsection for an example.
27503 \end_layout
27504
27505 \begin_layout Standard
27506 \begin_inset VSpace bigskip
27507 \end_inset
27508
27509
27510 \end_layout
27511
27512 \begin_layout Standard
27513 In some cases the index entry order is not correct when you are using the
27514  program 
27515 \family sans
27516 makeindex 
27517 \family default
27518 to generate the index (see sec.
27519 \begin_inset space \thinspace{}
27520 \end_inset
27521
27522
27523 \begin_inset CommandInset ref
27524 LatexCommand ref
27525 reference "sub:Index-Program"
27526
27527 \end_inset
27528
27529 ).
27530  
27531 \family sans
27532 makeindex
27533 \family default
27534  would for example print the index entry for the LaTeX-package aeguill in
27535  sec.
27536 \begin_inset space \thinspace{}
27537 \end_inset
27538
27539
27540 \begin_inset CommandInset ref
27541 LatexCommand ref
27542 reference "sub:Document-Font"
27543
27544 \end_inset
27545
27546  after the index entries of the other LaTeX-packages although all these
27547  index commands start with 
27548 \begin_inset Quotes eld
27549 \end_inset
27550
27551
27552 \series bold
27553 LaTeX-packages !
27554 \series default
27555  
27556 \begin_inset Quotes erd
27557 \end_inset
27558
27559 .
27560  The reason is that the index entry for aeguill is in a footnote.
27561  To fix this 
27562 \family sans
27563 makeindex
27564 \family default
27565  bug, add these commands to the preamble of your document:
27566 \end_layout
27567
27568 \begin_layout Standard
27569
27570 \series bold
27571
27572 \backslash
27573 let
27574 \backslash
27575 OrgIndex
27576 \backslash
27577 index
27578 \end_layout
27579
27580 \begin_layout Standard
27581
27582 \series bold
27583
27584 \backslash
27585 renewcommand*{
27586 \backslash
27587 index}[1]{
27588 \backslash
27589 OrgIndex{#1}}
27590 \end_layout
27591
27592 \begin_layout Subsection
27593 Index Entry Layout
27594 \begin_inset Index idx
27595 status collapsed
27596
27597 \begin_layout Plain Layout
27598 Index ! Entry layout
27599 \end_layout
27600
27601 \end_inset
27602
27603
27604 \end_layout
27605
27606 \begin_layout Standard
27607 You can change the appearance of index entries via the text style dialog.
27608 \begin_inset Index idx
27609 status open
27610
27611 \begin_layout Plain Layout
27612 Dummy entries ! 
27613 \shape italic
27614 This is an italic dummy entry
27615 \end_layout
27616
27617 \end_inset
27618
27619  You can also format the page number using the character 
27620 \begin_inset Quotes eld
27621 \end_inset
27622
27623 |
27624 \begin_inset Quotes erd
27625 \end_inset
27626
27627  followed by a LaTeX-command without a backslash.
27628  We can write for example
27629 \end_layout
27630
27631 \begin_layout Standard
27632
27633 \series bold
27634 italic page number:|textit
27635 \end_layout
27636
27637 \begin_layout Standard
27638 to get the page number in italic.
27639 \begin_inset Index idx
27640 status open
27641
27642 \begin_layout Plain Layout
27643 Dummy entries ! italic page number:|textit
27644 \end_layout
27645
27646 \end_inset
27647
27648  Normally all LaTeX-commands begin with a backslash, but in this special
27649  case 
27650 \begin_inset Quotes eld
27651 \end_inset
27652
27653
27654 \series bold
27655 |command
27656 \series default
27657
27658 \begin_inset Quotes erd
27659 \end_inset
27660
27661  means 
27662 \series bold
27663
27664 \backslash
27665 command{page
27666 \begin_inset space ~
27667 \end_inset
27668
27669 number}
27670 \series default
27671 .
27672  Have a look at section
27673 \begin_inset space ~
27674 \end_inset
27675
27676
27677 \begin_inset CommandInset ref
27678 LatexCommand ref
27679 reference "sub:LaTeX-Syntax"
27680
27681 \end_inset
27682
27683  to learn more about the LaTeX-syntax.
27684 \end_layout
27685
27686 \begin_layout Standard
27687 \begin_inset Note Greyedout
27688 status open
27689
27690 \begin_layout Plain Layout
27691
27692 \series bold
27693 Note:
27694 \series default
27695  Formatting single index entries only works when you use the program 
27696 \family sans
27697 makeindex 
27698 \family default
27699 to generate the index, see sec.
27700 \begin_inset space \thinspace{}
27701 \end_inset
27702
27703
27704 \begin_inset CommandInset ref
27705 LatexCommand ref
27706 reference "sub:Index-Program"
27707
27708 \end_inset
27709
27710 .
27711  If you use 
27712 \family sans
27713 xindy
27714 \family default
27715 , this will not work for anything other than bold or italic text.
27716  This is because 
27717 \family sans
27718 xindy
27719 \family default
27720  requires you to define semantic elements before they can be used, see 
27721 \begin_inset CommandInset citation
27722 LatexCommand cite
27723 after "p. 678 ff."
27724 key "latexcompanion"
27725
27726 \end_inset
27727
27728  for details.
27729 \end_layout
27730
27731 \end_inset
27732
27733
27734 \end_layout
27735
27736 \begin_layout Standard
27737 In general, we encourage you to not format page numbers directly as shown
27738  above.
27739  Instead, you should define a macro in the preamble and use that.
27740  Maybe you want all page references italic that refer to a definition of
27741  the indexed term, so that users can easily find definitions.
27742  If so, put the following in the preamble
27743 \end_layout
27744
27745 \begin_layout Standard
27746
27747 \series bold
27748
27749 \backslash
27750 newcommand{
27751 \backslash
27752 IndexDef}[1]{
27753 \backslash
27754 textit{#1}}
27755 \end_layout
27756
27757 \begin_layout Standard
27758 and write
27759 \end_layout
27760
27761 \begin_layout Standard
27762
27763 \series bold
27764 my entry|IndexDef
27765 \end_layout
27766
27767 \begin_layout Standard
27768 in the index entry.
27769 \begin_inset Index idx
27770 status open
27771
27772 \begin_layout Plain Layout
27773 Dummy entries ! my entry|IndexDef
27774 \end_layout
27775
27776 \end_inset
27777
27778  The advantage is that, if you change your mind later or if your publisher
27779  insists that definitions must not be italic but bold, you just need to
27780  change the macro in the preamble, not every single index entry.
27781 \end_layout
27782
27783 \begin_layout Standard
27784 You can also change the layout for the whole index.
27785  For example, we marked the index list box of this document as bold to get
27786  a bold font for all index entries.
27787  For more advanced tasks you have to set up a so-called 
27788 \emph on
27789 Index Style File
27790 \emph default
27791 , see the 
27792 \family sans
27793 makeindex
27794 \family default
27795  or 
27796 \family sans
27797 xindy
27798 \family default
27799  documentation for details, 
27800 \begin_inset CommandInset citation
27801 LatexCommand cite
27802 key "makeindex,xindy"
27803
27804 \end_inset
27805
27806 .
27807 \end_layout
27808
27809 \begin_layout Subsection
27810 Index Program
27811 \begin_inset Index idx
27812 status collapsed
27813
27814 \begin_layout Plain Layout
27815 Index ! Program
27816 \end_layout
27817
27818 \end_inset
27819
27820
27821 \begin_inset CommandInset label
27822 LatexCommand label
27823 name "sub:Index-Program"
27824
27825 \end_inset
27826
27827
27828 \end_layout
27829
27830 \begin_layout Standard
27831 If the index generation program 
27832 \family sans
27833 xindy
27834 \family default
27835  is installed, LyX uses it for index generation; otherwise the program 
27836 \family sans
27837 makeindex
27838 \family default
27839 , the program that is part of every LaTeX distribution, is used.
27840 \begin_inset Foot
27841 status collapsed
27842
27843 \begin_layout Plain Layout
27844
27845 \family sans
27846 Makeindex
27847 \family default
27848  is very old, no longer under development and has many pitfalls, notably
27849  that it was developed with only the English language in mind.
27850  So it fails to sort anything other than a monolingual English text correctly.
27851  We have shown above how to fix this sorting.
27852  However, if you are writing in another than the English language, consider
27853  to use 
27854 \family sans
27855 xindy
27856 \family default
27857 .
27858 \end_layout
27859
27860 \end_inset
27861
27862  Both programs can be controlled by options that can be set in LyX's preferences
27863  dialog, see section
27864 \begin_inset space ~
27865 \end_inset
27866
27867
27868 \begin_inset CommandInset ref
27869 LatexCommand ref
27870 reference "sub:LaTeX-settings"
27871
27872 \end_inset
27873
27874 .
27875  The available options are listed and explained in 
27876 \begin_inset CommandInset citation
27877 LatexCommand cite
27878 key "makeindex,xindy"
27879
27880 \end_inset
27881
27882 .
27883  In this dialog, you can also specify an alternative program to generate
27884  the index.
27885 \end_layout
27886
27887 \begin_layout Standard
27888 If you need specific options or an alternative index program only for a
27889  given document, you can define the program and\SpecialChar \slash{}
27890 or the options in 
27891 \family sans
27892 Document\SpecialChar \menuseparator
27893 Settings\SpecialChar \menuseparator
27894 Indexes
27895 \family default
27896 .
27897  This is especially useful if you need to pass language-specific options
27898  to the index program or if you need a specific layout style.
27899 \end_layout
27900
27901 \begin_layout Subsection
27902 Multiple Indexes
27903 \end_layout
27904
27905 \begin_layout Standard
27906 In many fields it is common to have more than one index.
27907  For instance, you might need to set up a separate 
27908 \begin_inset Quotes eld
27909 \end_inset
27910
27911 Index of Names
27912 \begin_inset Quotes erd
27913 \end_inset
27914
27915  next to the standard index.
27916  LaTeX does not provide this possibility out of the box, but there are packages
27917  that add this feature.
27918  LyX uses the 
27919 \series bold
27920 splitidx
27921 \series default
27922
27923 \begin_inset Index idx
27924 status collapsed
27925
27926 \begin_layout Plain Layout
27927 LaTeX-packages ! splitidx
27928 \end_layout
27929
27930 \end_inset
27931
27932  package to generate multiple indexes.
27933  The package is included in all recent LaTeX distributions.
27934 \begin_inset Foot
27935 status collapsed
27936
27937 \begin_layout Plain Layout
27938 If yours does not ship it, consult the TeX-catalogue, 
27939 \begin_inset CommandInset citation
27940 LatexCommand cite
27941 key "TeXCatalogue"
27942
27943 \end_inset
27944
27945 .
27946  Note that the package does not only consist of a LaTeX style, but it also
27947  includes specific preprocessor programs that need to be installed as well.
27948  Please consult the package's manual for details.
27949 \end_layout
27950
27951 \end_inset
27952
27953
27954 \end_layout
27955
27956 \begin_layout Standard
27957 To set up LyX for the use of multiple indexes, go to 
27958 \family sans
27959 Document\SpecialChar \menuseparator
27960 Settings\SpecialChar \menuseparator
27961 Indexes
27962 \family default
27963  and select the option 
27964 \family sans
27965 Use multiple Indexes
27966 \family default
27967 .
27968  Note that the list 
27969 \family sans
27970 Available Indexes
27971 \family default
27972  already contains the standard index 
27973 \begin_inset Quotes eld
27974 \end_inset
27975
27976 Index
27977 \begin_inset Quotes erd
27978 \end_inset
27979
27980 .
27981  To add further indexes, add the name of the index (in the form that should
27982  also appear as a heading) to the 
27983 \family sans
27984 New
27985 \family default
27986  input field and press the 
27987 \family sans
27988 Add
27989 \family default
27990  button.
27991  The new index now also appears in the list.
27992  If you like, you can attribute an alternative LyX label color to the new
27993  index.
27994 \end_layout
27995
27996 \begin_layout Standard
27997 Once the document changes have been applied, you can find the new index
27998  list in 
27999 \family sans
28000 Insert\SpecialChar \menuseparator
28001 List/TOC
28002 \family default
28003  and the 
28004 \family sans
28005 Insert
28006 \family default
28007  menu has a separate entry for each of the defined indexes.
28008  The workflow is basically the same as for the default index, but there
28009  are additional features:
28010 \end_layout
28011
28012 \begin_layout Itemize
28013 If you want to change the attribution of a specific index entry, right-clicking
28014  on the entry's label will open a dialog where you can do that.
28015 \end_layout
28016
28017 \begin_layout Itemize
28018 By right-clicking on an index, you can change its type.
28019  Furthermore, you can specify an index to be a 
28020 \begin_inset Quotes eld
28021 \end_inset
28022
28023 Subindex.
28024 \begin_inset Quotes erd
28025 \end_inset
28026
28027  If you do that, the heading of that list will be decreased by one level.
28028  For example, if you use a book class, where the standard index heading
28029  is defined as a chapter, subindexes will be defined as sections and can
28030  thus be nested to the non-subindexes.
28031 \end_layout
28032
28033 \begin_layout Section
28034 Nomenclature/Glossary 
28035 \begin_inset Index idx
28036 status collapsed
28037
28038 \begin_layout Plain Layout
28039 Nomenclature
28040 \end_layout
28041
28042 \end_inset
28043
28044
28045 \begin_inset Index idx
28046 status collapsed
28047
28048 \begin_layout Plain Layout
28049 Glossary|see
28050 \begin_inset ERT
28051 status collapsed
28052
28053 \begin_layout Plain Layout
28054
28055 {
28056 \end_layout
28057
28058 \end_inset
28059
28060 Nomenclature
28061 \begin_inset ERT
28062 status collapsed
28063
28064 \begin_layout Plain Layout
28065
28066 }
28067 \end_layout
28068
28069 \end_inset
28070
28071
28072 \end_layout
28073
28074 \end_inset
28075
28076
28077 \begin_inset CommandInset label
28078 LatexCommand label
28079 name "sec:Nomenclature"
28080
28081 \end_inset
28082
28083
28084 \end_layout
28085
28086 \begin_layout Standard
28087 Sometimes you need to provide a list of technical terms or symbols that
28088  are mentioned in your document with a brief explanation of them – a so
28089  called nomenclature or glossary.
28090 \end_layout
28091
28092 \begin_layout Standard
28093 To be able to create nomenclatures or glossaries, you need the LaTeX package
28094  
28095 \series bold
28096 nomencl
28097 \series default
28098
28099 \begin_inset Index idx
28100 status collapsed
28101
28102 \begin_layout Plain Layout
28103 LaTeX-packages ! nomencl
28104 \end_layout
28105
28106 \end_inset
28107
28108  installed.
28109  You find it in the TeX-catalogue, 
28110 \begin_inset CommandInset citation
28111 LatexCommand cite
28112 key "TeXCatalogue"
28113
28114 \end_inset
28115
28116  or in the package manager of your LaTeX-system.
28117 \end_layout
28118
28119 \begin_layout Standard
28120 A nomenclature entry is created if you place the cursor after a symbol entry
28121  and then use the menu 
28122 \family sans
28123 Insert\SpecialChar \menuseparator
28124
28125 \family default
28126 N
28127 \family sans
28128 omenclature
28129 \begin_inset space ~
28130 \end_inset
28131
28132 Entry
28133 \family default
28134  or the toolbar button 
28135 \begin_inset Info
28136 type  "icon"
28137 arg   "nomencl-insert"
28138 \end_inset
28139
28140 .
28141  A gray box labeled 
28142 \begin_inset Quotes eld
28143 \end_inset
28144
28145
28146 \family sans
28147 Nom
28148 \family default
28149
28150 \begin_inset Quotes erd
28151 \end_inset
28152
28153  is inserted and a window pops up asking for the nomenclature entry.
28154 \end_layout
28155
28156 \begin_layout Standard
28157 A nomenclature entry consists of two main entries.
28158  The first is the term or 
28159 \family sans
28160 Symbol
28161 \family default
28162  that you wish to define.
28163  The second is the 
28164 \family sans
28165 Description
28166 \family default
28167  of the term or symbol.
28168 \end_layout
28169
28170 \begin_layout Standard
28171 \begin_inset Note Greyedout
28172 status open
28173
28174 \begin_layout Plain Layout
28175
28176 \series bold
28177 Note:
28178 \series default
28179  You have to enter valid LaTeX-code for all fields of the nomenclature dialog.
28180 \end_layout
28181
28182 \end_inset
28183
28184
28185 \end_layout
28186
28187 \begin_layout Subsection
28188 Nomenclature Definition and Layout
28189 \begin_inset Index idx
28190 status collapsed
28191
28192 \begin_layout Plain Layout
28193 Nomenclature ! Layout
28194 \end_layout
28195
28196 \end_inset
28197
28198
28199 \end_layout
28200
28201 \begin_layout Standard
28202 If you have symbols in formulas, you have to define them in the 
28203 \family sans
28204 Symbol
28205 \family default
28206  field as LaTeX-formulas.
28207  For example to get 
28208 \begin_inset Quotes eld
28209 \end_inset
28210
28211
28212 \begin_inset Formula $\sigma$
28213 \end_inset
28214
28215
28216 \begin_inset Quotes erd
28217 \end_inset
28218
28219 , insert this:
28220 \begin_inset Newline newline
28221 \end_inset
28222
28223
28224 \series bold
28225 $
28226 \backslash
28227 sigma$
28228 \begin_inset Newline newline
28229 \end_inset
28230
28231
28232 \series default
28233 The 
28234 \begin_inset Quotes eld
28235 \end_inset
28236
28237 $
28238 \begin_inset Quotes erd
28239 \end_inset
28240
28241  character starts/ends the formula.
28242  The LaTeX-command for the Greek letter is the name of the letter beginning
28243  with a backslash 
28244 \begin_inset Quotes eld
28245 \end_inset
28246
28247
28248 \backslash
28249
28250 \begin_inset Quotes erd
28251 \end_inset
28252
28253 .
28254  For capital Greek letters, start the command also with a capital letter,
28255  like 
28256 \series bold
28257
28258 \backslash
28259 Sigma
28260 \series default
28261 .
28262 \end_layout
28263
28264 \begin_layout Standard
28265 (A short introduction to the LaTeX-syntax is given in section
28266 \begin_inset space ~
28267 \end_inset
28268
28269
28270 \begin_inset CommandInset ref
28271 LatexCommand ref
28272 reference "sub:LaTeX-Syntax"
28273
28274 \end_inset
28275
28276 .)
28277 \end_layout
28278
28279 \begin_layout Standard
28280 You cannot use the 
28281 \family sans
28282 Text
28283 \begin_inset space ~
28284 \end_inset
28285
28286 Style
28287 \family default
28288  dialog to format the description text; you have to use LaTeX-commands.
28289  For example the description of the nomenclature entry for the 
28290 \begin_inset Quotes eld
28291 \end_inset
28292
28293
28294 \begin_inset Formula $\sigma$
28295 \end_inset
28296
28297
28298 \begin_inset Quotes erd
28299 \end_inset
28300
28301  in this document is:
28302 \begin_inset Newline newline
28303 \end_inset
28304
28305
28306 \series bold
28307 dummy entry for the character 
28308 \backslash
28309 textsf{sigma}
28310 \series default
28311
28312 \begin_inset Newline newline
28313 \end_inset
28314
28315 The command 
28316 \series bold
28317
28318 \backslash
28319 textsf
28320 \series default
28321  sets the fonts to 
28322 \family sans
28323 sans
28324 \begin_inset space ~
28325 \end_inset
28326
28327 serif
28328 \family default
28329 .
28330  To get 
28331 \series bold
28332 bold
28333 \series default
28334  font use the command 
28335 \series bold
28336
28337 \backslash
28338 textbf
28339 \series default
28340 , for 
28341 \family typewriter
28342 typewriter
28343 \family default
28344  use 
28345 \series bold
28346
28347 \backslash
28348 texttt
28349 \series default
28350 , for 
28351 \emph on
28352 emphasized
28353 \emph default
28354  use 
28355 \series bold
28356
28357 \backslash
28358 emph
28359 \series default
28360 .
28361 \end_layout
28362
28363 \begin_layout Standard
28364 If the characters |
28365 \begin_inset space \space{}
28366 \end_inset
28367
28368 ,
28369 \begin_inset space \space{}
28370 \end_inset
28371
28372 !
28373 \begin_inset space \space{}
28374 \end_inset
28375
28376 , @ and
28377 \begin_inset space \space{}
28378 \end_inset
28379
28380 "
28381 \begin_inset space \space{}
28382 \end_inset
28383
28384 should appear in nomenclature entries they need to be escaped by adding
28385  a quote character in front of them.
28386 \begin_inset CommandInset nomenclature
28387 LatexCommand nomenclature
28388 symbol "\"@, \"|, \"!, \"\""
28389 description "The quote sign is output by writing ‘ \"\"\"\" '"
28390
28391 \end_inset
28392
28393
28394 \end_layout
28395
28396 \begin_layout Subsection
28397 Sort Order of Nomenclature Entries
28398 \begin_inset Index idx
28399 status collapsed
28400
28401 \begin_layout Plain Layout
28402 Nomenclature ! Sort order
28403 \end_layout
28404
28405 \end_inset
28406
28407
28408 \end_layout
28409
28410 \begin_layout Standard
28411 The nomenclature entries are sorted alphabetically by the LaTeX-code of
28412  the symbol definition.
28413  This leads to undesired results when you, for example, have symbols in
28414  formulas.
28415  Suppose you have nomenclature entries for the symbols 
28416 \emph on
28417 a
28418 \begin_inset CommandInset nomenclature
28419 LatexCommand nomenclature
28420 symbol "a"
28421 description "dummy entry for the character \"a\""
28422
28423 \end_inset
28424
28425
28426 \emph default
28427  and 
28428 \begin_inset Formula $\sigma$
28429 \end_inset
28430
28431
28432 \begin_inset CommandInset nomenclature
28433 LatexCommand nomenclature
28434 prefix "sigma"
28435 symbol "$\\sigma$"
28436 description "dummy entry for the character \\textsf{sigma}"
28437
28438 \end_inset
28439
28440 .
28441  They will be sorted by 
28442 \begin_inset Quotes eld
28443 \end_inset
28444
28445
28446 \family sans
28447 a
28448 \family default
28449
28450 \begin_inset Quotes erd
28451 \end_inset
28452
28453  and 
28454 \begin_inset Quotes eld
28455 \end_inset
28456
28457
28458 \family typewriter
28459 $
28460 \backslash
28461 sigma$
28462 \family default
28463
28464 \begin_inset Quotes erd
28465 \end_inset
28466
28467  – the 
28468 \begin_inset Formula $\sigma$
28469 \end_inset
28470
28471  will be sorted before the 
28472 \emph on
28473 a
28474 \emph default
28475  since the character 
28476 \begin_inset Quotes eld
28477 \end_inset
28478
28479 $
28480 \begin_inset Quotes erd
28481 \end_inset
28482
28483  is considered in sorting.
28484 \end_layout
28485
28486 \begin_layout Standard
28487 To control the sort order, you can edit the 
28488 \family sans
28489 Sort
28490 \begin_inset space ~
28491 \end_inset
28492
28493 as
28494 \family default
28495  field of the nomenclature dialog.
28496  Then the nomenclature entry will be sorted by this entry and not the symbol
28497  definition.
28498  For the example given, you can insert 
28499 \family typewriter
28500 sigma
28501 \family default
28502  in this field for the 
28503 \begin_inset Formula $\sigma$
28504 \end_inset
28505
28506 , then 
28507 \emph on
28508 a
28509 \emph default
28510  will be located before 
28511 \begin_inset Formula $\sigma$
28512 \end_inset
28513
28514 .
28515 \end_layout
28516
28517 \begin_layout Standard
28518 For subgrouping and tips for using sort entries see the 
28519 \series bold
28520 nomencl
28521 \series default
28522  documentation, 
28523 \begin_inset CommandInset citation
28524 LatexCommand cite
28525 key "nomencl"
28526
28527 \end_inset
28528
28529 .
28530 \end_layout
28531
28532 \begin_layout Subsection
28533 Nomenclature Options
28534 \begin_inset Index idx
28535 status collapsed
28536
28537 \begin_layout Plain Layout
28538 Nomenclature ! Options
28539 \end_layout
28540
28541 \end_inset
28542
28543
28544 \end_layout
28545
28546 \begin_layout Standard
28547 The 
28548 \series bold
28549 nomencl
28550 \series default
28551  package offers some options to adjust the appearance of the nomenclature.
28552  Here are some of its options; for more have a look at its documentation:
28553 \end_layout
28554
28555 \begin_layout Description
28556 refeq Appends the phrase 
28557 \begin_inset Quotes eld
28558 \end_inset
28559
28560
28561 \family sans
28562 , see equation (
28563 \emph on
28564 eq
28565 \emph default
28566 )
28567 \family default
28568
28569 \begin_inset Quotes erd
28570 \end_inset
28571
28572  to every nomenclature entry, where 
28573 \family sans
28574 \emph on
28575 eq
28576 \family default
28577 \emph default
28578  is the number of the last equation in front of the nomenclature entry
28579 \end_layout
28580
28581 \begin_layout Description
28582 refpage Appends the phrase 
28583 \begin_inset Quotes eld
28584 \end_inset
28585
28586
28587 \family sans
28588 , page (
28589 \emph on
28590 page
28591 \emph default
28592 )
28593 \family default
28594
28595 \begin_inset Quotes erd
28596 \end_inset
28597
28598  to every nomenclature entry, where 
28599 \family sans
28600 \emph on
28601 page
28602 \family default
28603 \emph default
28604  is the number of the page on which the nomenclature entry appeared
28605 \end_layout
28606
28607 \begin_layout Description
28608 intoc Inserts the nomenclature in the Table of Contents
28609 \end_layout
28610
28611 \begin_layout Standard
28612 To use one or more of the options, add them to the comma-separated document
28613  class options list in the 
28614 \family sans
28615 Document\SpecialChar \menuseparator
28616 Settings
28617 \family default
28618  dialog.
28619  In this document the options 
28620 \series bold
28621 refpage, intoc
28622 \series default
28623  are used.
28624 \end_layout
28625
28626 \begin_layout Standard
28627 \begin_inset VSpace bigskip
28628 \end_inset
28629
28630
28631 \end_layout
28632
28633 \begin_layout Standard
28634 You can also use the first two options above only for certain nomenclature
28635  entries when you add one of the following commands as last entry to the
28636  
28637 \family sans
28638 Description
28639 \family default
28640  field in the nomenclature dialog:
28641 \end_layout
28642
28643 \begin_layout Description
28644
28645 \backslash
28646 nomrefeq Like the 
28647 \series bold
28648 refeq
28649 \series default
28650  option
28651 \end_layout
28652
28653 \begin_layout Description
28654
28655 \backslash
28656 nomrefpage Like the 
28657 \series bold
28658 refpage
28659 \series default
28660  option
28661 \end_layout
28662
28663 \begin_layout Description
28664
28665 \backslash
28666 nomrefeqpage Short notation of 
28667 \series bold
28668
28669 \backslash
28670 nomrefeq
28671 \backslash
28672 nomrefpage
28673 \end_layout
28674
28675 \begin_layout Description
28676
28677 \backslash
28678 nomnorefeq,
28679 \begin_inset space ~
28680 \end_inset
28681
28682
28683 \backslash
28684 nomnorefpage,
28685 \begin_inset space ~
28686 \end_inset
28687
28688
28689 \backslash
28690 nomnorefeqpage Turns off the corresponding options
28691 \end_layout
28692
28693 \begin_layout Standard
28694 Words like 
28695 \begin_inset Quotes eld
28696 \end_inset
28697
28698 page
28699 \begin_inset Quotes erd
28700 \end_inset
28701
28702  are automatically translated for some document languages.
28703  If not, add these lines to your LaTeX preamble:
28704 \end_layout
28705
28706 \begin_layout Standard
28707 \noindent
28708
28709 \series bold
28710
28711 \backslash
28712 renewcommand{
28713 \backslash
28714 eqdeclaration}[1]{, see equation
28715 \backslash
28716 nobreakspace(#1)}
28717 \begin_inset Newline newline
28718 \end_inset
28719
28720
28721 \backslash
28722 renewcommand{
28723 \backslash
28724 pagedeclaration}[1]{, page
28725 \backslash
28726 nobreakspace{}#1}
28727 \series default
28728
28729 \begin_inset Newline newline
28730 \end_inset
28731
28732 and replace 
28733 \begin_inset Quotes eld
28734 \end_inset
28735
28736 see equation
28737 \begin_inset Quotes erd
28738 \end_inset
28739
28740  and 
28741 \begin_inset Quotes eld
28742 \end_inset
28743
28744 page
28745 \begin_inset Quotes erd
28746 \end_inset
28747
28748  by their translation.
28749 \end_layout
28750
28751 \begin_layout Subsection
28752 Printing the Nomenclature
28753 \begin_inset Index idx
28754 status collapsed
28755
28756 \begin_layout Plain Layout
28757 Nomenclature ! Printing
28758 \end_layout
28759
28760 \end_inset
28761
28762
28763 \end_layout
28764
28765 \begin_layout Standard
28766 To print the nomenclature, use the menu 
28767 \family sans
28768 Insert\SpecialChar \menuseparator
28769 Lists/TOC\SpecialChar \menuseparator
28770 Nomenclature
28771 \family default
28772 .
28773  A box labeled 
28774 \begin_inset Quotes eld
28775 \end_inset
28776
28777
28778 \family sans
28779 Nomenclature
28780 \family default
28781
28782 \begin_inset Quotes erd
28783 \end_inset
28784
28785  will show the place where the nomenclature is printed in the output.
28786  By right-clicking on it, the amount of space for symbols can be altered.
28787  You can choose between these settings:
28788 \end_layout
28789
28790 \begin_layout Description
28791 Default a space of 1
28792 \begin_inset space \thinspace{}
28793 \end_inset
28794
28795 cm is used
28796 \end_layout
28797
28798 \begin_layout Description
28799 Longest
28800 \begin_inset space ~
28801 \end_inset
28802
28803 label
28804 \begin_inset space ~
28805 \end_inset
28806
28807 width the width of the widest symbol of all nomenclature entries is used
28808 \end_layout
28809
28810 \begin_layout Description
28811 Custom custom space
28812 \end_layout
28813
28814 \begin_layout Standard
28815 In the printed output the title of the nomenclature appears as 
28816 \begin_inset Quotes eld
28817 \end_inset
28818
28819 Nomenclature
28820 \begin_inset Quotes erd
28821 \end_inset
28822
28823 .
28824  If you are not happy with the name, you can change it by redefining the
28825  command 
28826 \series bold
28827
28828 \backslash
28829 nomname
28830 \series default
28831  in the preamble.
28832  For example, in order to change the name to 
28833 \emph on
28834 List of Symbols
28835 \emph default
28836 , add the following line to the preamble:
28837 \end_layout
28838
28839 \begin_layout Standard
28840
28841 \family roman
28842 \series bold
28843
28844 \backslash
28845 renewcommand{
28846 \backslash
28847 nomname}{List of Symbols}
28848 \end_layout
28849
28850 \begin_layout Subsection
28851 Nomenclature Program
28852 \begin_inset Index idx
28853 status collapsed
28854
28855 \begin_layout Plain Layout
28856 Nomenclature ! Program
28857 \end_layout
28858
28859 \end_inset
28860
28861
28862 \begin_inset CommandInset label
28863 LatexCommand label
28864 name "sub:Nomenclature-Program"
28865
28866 \end_inset
28867
28868
28869 \end_layout
28870
28871 \begin_layout Standard
28872 LyX uses the program 
28873 \family sans
28874 makeindex
28875 \family default
28876 , that is part of every LaTeX distribution, to generate the nomenclature.
28877  LyX's preferences dialog allows you to specify another program or to control
28878  
28879 \family sans
28880 makeindex
28881 \family default
28882  by adding options, see section
28883 \begin_inset space ~
28884 \end_inset
28885
28886
28887 \begin_inset CommandInset ref
28888 LatexCommand ref
28889 reference "sub:LaTeX-settings"
28890
28891 \end_inset
28892
28893 .
28894  The available options are listed and explained in 
28895 \begin_inset CommandInset citation
28896 LatexCommand cite
28897 key "nomencl,makeindex"
28898
28899 \end_inset
28900
28901 .
28902 \end_layout
28903
28904 \begin_layout Section
28905 Branches
28906 \begin_inset Index idx
28907 status collapsed
28908
28909 \begin_layout Plain Layout
28910 Branches
28911 \end_layout
28912
28913 \end_inset
28914
28915
28916 \begin_inset Index idx
28917 status collapsed
28918
28919 \begin_layout Plain Layout
28920 Document ! Branches
28921 \end_layout
28922
28923 \end_inset
28924
28925
28926 \begin_inset CommandInset label
28927 LatexCommand label
28928 name "sec:Branches"
28929
28930 \end_inset
28931
28932
28933 \end_layout
28934
28935 \begin_layout Standard
28936 Sometimes it is useful to hide some document parts in the output.
28937  For example a teacher who is setting an exam obviously doesn't want the
28938  pupils to see the answers, but having questions and answers in the same
28939  document will make the life of the markers of that exam much easier.
28940 \end_layout
28941
28942 \begin_layout Standard
28943 For these cases LyX allows you to put text into branches.
28944  The text will then only appear in the output when its branch is activated.
28945  To create a branch, either select the menu 
28946 \family sans
28947 Insert\SpecialChar \menuseparator
28948 Branch\SpecialChar \menuseparator
28949 Insert New Branch
28950 \family default
28951  (if you just want to specify a new branch) or go in the 
28952 \family sans
28953 Document\SpecialChar \menuseparator
28954 Settings
28955 \family default
28956  dialog to 
28957 \family sans
28958 Branches
28959 \family default
28960 , where you can specify and change the name of the branch, its activation
28961  state (whether the content of the branch is shown in the output or not),
28962  its background color inside LyX and whether the name of the branch should
28963  be appended to the document file name on export if the branch is active
28964  (see below for an example).
28965  Furthermore, the dialog lets you merge two branches (just rename one branch
28966  to the name of the other) and to add 
28967 \begin_inset Quotes eld
28968 \end_inset
28969
28970 unknown branches
28971 \begin_inset Quotes erd
28972 \end_inset
28973
28974  (i.
28975 \begin_inset space \thinspace{}
28976 \end_inset
28977
28978 e.
28979 \begin_inset space ~
28980 \end_inset
28981
28982 branches that were added to the document via copy and paste from other documents
28983 , without having been defined) to the document's branch list.
28984 \end_layout
28985
28986 \begin_layout Standard
28987 Text that should be in a branch is set into branch inset boxes.
28988  These boxes are inserted via the menu 
28989 \family sans
28990 Insert\SpecialChar \menuseparator
28991 Branch
28992 \family default
28993  where you can choose a branch.
28994  You can later change the activation state of the branch by right-clicking
28995  on them.
28996 \end_layout
28997
28998 \begin_layout Standard
28999 Here is an example, where only the question text appears, the answer branch
29000  is deactivated and therefore does not appear in the output:
29001 \end_layout
29002
29003 \begin_layout Standard
29004 \begin_inset Branch Question
29005 status open
29006
29007 \begin_layout Standard
29008 Question: Who was the first physics Nobel prize winner?
29009 \end_layout
29010
29011 \end_inset
29012
29013
29014 \end_layout
29015
29016 \begin_layout Standard
29017 \begin_inset Branch Answer
29018 status collapsed
29019
29020 \begin_layout Standard
29021 Answer: Wilhelm Conrad Röntgen
29022 \end_layout
29023
29024 \end_inset
29025
29026
29027 \end_layout
29028
29029 \begin_layout Standard
29030 If you activate 
29031 \family sans
29032 Filename Suffix
29033 \family default
29034  in 
29035 \family sans
29036 Document\SpecialChar \menuseparator
29037 Settings\SpecialChar \menuseparator
29038 Branches
29039 \family default
29040 , the name of the active branches will be appended to the file name at export.
29041  Consider for example a file 
29042 \begin_inset Quotes eld
29043 \end_inset
29044
29045 Exam.lyx
29046 \begin_inset Quotes erd
29047 \end_inset
29048
29049  which has the above branches.
29050  If 
29051 \begin_inset Quotes eld
29052 \end_inset
29053
29054 Filename Suffix
29055 \begin_inset Quotes erd
29056 \end_inset
29057
29058  is active, the PDF export file would be called 
29059 \begin_inset Quotes eld
29060 \end_inset
29061
29062 Exam.pdf
29063 \begin_inset Quotes erd
29064 \end_inset
29065
29066  if both the 
29067 \begin_inset Quotes eld
29068 \end_inset
29069
29070 Question
29071 \begin_inset Quotes erd
29072 \end_inset
29073
29074  and 
29075 \begin_inset Quotes eld
29076 \end_inset
29077
29078 Answer
29079 \begin_inset Quotes erd
29080 \end_inset
29081
29082  branch were inactive, 
29083 \begin_inset Quotes eld
29084 \end_inset
29085
29086 Exam-Question.pdf
29087 \begin_inset Quotes erd
29088 \end_inset
29089
29090  if only the 
29091 \begin_inset Quotes eld
29092 \end_inset
29093
29094 Question
29095 \begin_inset Quotes erd
29096 \end_inset
29097
29098  branch was active, likewise 
29099 \begin_inset Quotes eld
29100 \end_inset
29101
29102 Exam-Answer.pdf
29103 \begin_inset Quotes erd
29104 \end_inset
29105
29106  if only the 
29107 \begin_inset Quotes eld
29108 \end_inset
29109
29110 Answer
29111 \begin_inset Quotes erd
29112 \end_inset
29113
29114  branch was active, and 
29115 \begin_inset Quotes eld
29116 \end_inset
29117
29118 Exam-Question-Answer.pdf
29119 \begin_inset Quotes erd
29120 \end_inset
29121
29122  if both branches were active.
29123  This helps you to export different versions of your document easily.
29124 \end_layout
29125
29126 \begin_layout Standard
29127 \begin_inset VSpace bigskip
29128 \end_inset
29129
29130
29131 \end_layout
29132
29133 \begin_layout Standard
29134 To use conditional output inside places where you cannot insert branch insets,
29135  like inside equations, you can code special LaTeX definitions for each
29136  branch.
29137  For example you can define for the question branch
29138 \begin_inset Foot
29139 status collapsed
29140
29141 \begin_layout Plain Layout
29142 For an introduction to the LaTeX-syntax, see section
29143 \begin_inset space ~
29144 \end_inset
29145
29146
29147 \begin_inset CommandInset ref
29148 LatexCommand ref
29149 reference "sub:LaTeX-Syntax"
29150
29151 \end_inset
29152
29153 .
29154 \end_layout
29155
29156 \end_inset
29157
29158
29159 \end_layout
29160
29161 \begin_layout Standard
29162
29163 \series bold
29164
29165 \backslash
29166 newcommand{
29167 \backslash
29168 question}[1]{#1}
29169 \end_layout
29170
29171 \begin_layout Standard
29172
29173 \series bold
29174
29175 \backslash
29176 newcommand{
29177 \backslash
29178 answer}[1]{}
29179 \end_layout
29180
29181 \begin_layout Standard
29182 and for the answer branch
29183 \end_layout
29184
29185 \begin_layout Standard
29186
29187 \series bold
29188
29189 \backslash
29190 newcommand{
29191 \backslash
29192 question}[1]{}
29193 \end_layout
29194
29195 \begin_layout Standard
29196
29197 \series bold
29198
29199 \backslash
29200 newcommand{
29201 \backslash
29202 answer}[1]{#1}
29203 \end_layout
29204
29205 \begin_layout Standard
29206 \begin_inset Branch Question
29207 status open
29208
29209 \begin_layout Standard
29210 \begin_inset ERT
29211 status open
29212
29213 \begin_layout Plain Layout
29214
29215
29216 \backslash
29217 newcommand{
29218 \backslash
29219 question}[1]{#1}
29220 \end_layout
29221
29222 \begin_layout Plain Layout
29223
29224
29225 \backslash
29226 newcommand{
29227 \backslash
29228 answer}[1]{}
29229 \end_layout
29230
29231 \end_inset
29232
29233
29234 \end_layout
29235
29236 \end_inset
29237
29238
29239 \end_layout
29240
29241 \begin_layout Standard
29242 \begin_inset Branch Answer
29243 status collapsed
29244
29245 \begin_layout Standard
29246 \begin_inset ERT
29247 status collapsed
29248
29249 \begin_layout Plain Layout
29250
29251
29252 \backslash
29253 newcommand{
29254 \backslash
29255 question}[1]{}
29256 \end_layout
29257
29258 \begin_layout Plain Layout
29259
29260
29261 \backslash
29262 newcommand{
29263 \backslash
29264 answer}[1]{#1}
29265 \end_layout
29266
29267 \end_inset
29268
29269
29270 \end_layout
29271
29272 \end_inset
29273
29274
29275 \end_layout
29276
29277 \begin_layout Standard
29278 Now it is possible to use the 
29279 \series bold
29280
29281 \backslash
29282 question{\SpecialChar \ldots{}
29283 }
29284 \series default
29285  and 
29286 \series bold
29287
29288 \backslash
29289 answer{\SpecialChar \ldots{}
29290 }
29291 \series default
29292  commands to obtain conditional output.
29293  Here is an example formula where only the 
29294 \series bold
29295
29296 \backslash
29297 question
29298 \series default
29299  part appears:
29300 \begin_inset Formula 
29301 \[
29302 x^{2}-2x-2\Rightarrow\question{x_{1}}\answer{x_{2}}=1\question{+\sqrt{3}}\answer{-\sqrt{3}}.
29303 \]
29304
29305 \end_inset
29306
29307
29308 \end_layout
29309
29310 \begin_layout Standard
29311 Inside math, the same effect can be achieved using math macros, see the
29312  
29313 \emph on
29314 Math
29315 \emph default
29316  manual.
29317 \end_layout
29318
29319 \begin_layout Standard
29320 Each type of branch is allowed to have its specific style defined in layout
29321  files (e.
29322 \begin_inset space \thinspace{}
29323 \end_inset
29324
29325 g.
29326 \begin_inset space \space{}
29327 \end_inset
29328
29329 any branch inset can be automatically wrapped by your own LaTeX commands.).
29330  For this advanced usage, see the 
29331 \emph on
29332 Customization
29333 \emph default
29334  manual, section 
29335 \begin_inset Quotes eld
29336 \end_inset
29337
29338 Flex insets and InsetLayout
29339 \begin_inset Quotes erd
29340 \end_inset
29341
29342 ).
29343 \end_layout
29344
29345 \begin_layout Section
29346 PDF Properties
29347 \begin_inset CommandInset label
29348 LatexCommand label
29349 name "sec:PDF-Properties"
29350
29351 \end_inset
29352
29353
29354 \begin_inset Index idx
29355 status collapsed
29356
29357 \begin_layout Plain Layout
29358 PDF properties
29359 \end_layout
29360
29361 \end_inset
29362
29363
29364 \end_layout
29365
29366 \begin_layout Standard
29367 The 
29368 \family sans
29369 Document\SpecialChar \menuseparator
29370 Settings\SpecialChar \menuseparator
29371 PDF Properties
29372 \family default
29373  dialog allows you to set up special options for the PDF output of your
29374  document.
29375  All these options are provided by the LaTeX-package 
29376 \series bold
29377 hyperref
29378 \series default
29379
29380 \begin_inset Index idx
29381 status collapsed
29382
29383 \begin_layout Plain Layout
29384 LaTeX-packages ! hyperref
29385 \end_layout
29386
29387 \end_inset
29388
29389  which will link all cross-references in the DVI- and PDF-output.
29390  This means that the reader of your document will be able to click on a
29391  table of contents entry or on a reference to move to the cross-referenced
29392  part of the document.
29393  
29394 \end_layout
29395
29396 \begin_layout Standard
29397 The header information in the dialog tab 
29398 \family sans
29399 General
29400 \family default
29401  is saved together with the PDF as file properties.
29402  Many programs are able to extract this information, for example, automatically
29403  to recognize who the author is and what the PDF is about.
29404  This is very useful to sort, classify or use PDFs for bibliography issues.
29405  When the option 
29406 \family sans
29407 Automatically
29408 \begin_inset space ~
29409 \end_inset
29410
29411 fill
29412 \begin_inset space ~
29413 \end_inset
29414
29415 header
29416 \family default
29417  is set, LyX tries to extract the header information from your document
29418  title and author entries.
29419  The option 
29420 \family sans
29421 Load
29422 \begin_inset space ~
29423 \end_inset
29424
29425 in
29426 \begin_inset space ~
29427 \end_inset
29428
29429 fullscreen
29430 \begin_inset space ~
29431 \end_inset
29432
29433 mode
29434 \family default
29435  will open the PDF in fullscreen mode, which is useful for presentations.
29436 \end_layout
29437
29438 \begin_layout Standard
29439 You can specify in the dialog tab 
29440 \family sans
29441 Hyperlinks
29442 \family default
29443  how the links will look and if links for bibliographical backreferences
29444  are created.
29445  The 
29446 \family sans
29447 Break
29448 \begin_inset space ~
29449 \end_inset
29450
29451 links
29452 \begin_inset space ~
29453 \end_inset
29454
29455 over
29456 \begin_inset space ~
29457 \end_inset
29458
29459 lines
29460 \family default
29461  option allows long links to be split; 
29462 \family sans
29463 No
29464 \begin_inset space ~
29465 \end_inset
29466
29467 frames
29468 \begin_inset space ~
29469 \end_inset
29470
29471 around
29472 \begin_inset space ~
29473 \end_inset
29474
29475 links
29476 \family default
29477  and 
29478 \family sans
29479 Color
29480 \begin_inset space ~
29481 \end_inset
29482
29483 links
29484 \family default
29485  both turn off the default behavior of enclosing all links in frames; 
29486 \family sans
29487 Color
29488 \begin_inset space ~
29489 \end_inset
29490
29491 links
29492 \family default
29493  colors the different links.
29494  The default colors are:
29495 \end_layout
29496
29497 \begin_layout Labeling
29498 \labelwidthstring 00.00.0000
29499
29500 \color magenta
29501 magenta
29502 \color inherit
29503  for hyperlinks and URLs
29504 \end_layout
29505
29506 \begin_layout Labeling
29507 \labelwidthstring 00.00.0000
29508
29509 \color red
29510 red
29511 \color inherit
29512  for links
29513 \end_layout
29514
29515 \begin_layout Labeling
29516 \labelwidthstring 00.00.0000
29517
29518 \color green
29519 green
29520 \color inherit
29521  for citations
29522 \end_layout
29523
29524 \begin_layout Standard
29525 but you can change these in the field 
29526 \family sans
29527 Additional options
29528 \family default
29529 .
29530  For example, in this document they were changed with the additional options:
29531 \end_layout
29532
29533 \begin_layout Standard
29534
29535 \series bold
29536 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue
29537 \end_layout
29538
29539 \begin_layout Standard
29540 If the option 
29541 \family sans
29542 Backreferences
29543 \family default
29544  is set, the hyperlinks will appear in the bibliography after the different
29545  entries, showing, depending on the option selected, the number of the section,
29546  slide or page where the entry is referenced.
29547 \end_layout
29548
29549 \begin_layout Standard
29550 In the dialog tab 
29551 \family sans
29552 Bookmarks
29553 \family default
29554  you can specify if PDF-bookmarks should be created for every section of
29555  your document to make it easier for readers to navigate through the document.
29556  You can decide if the bookmarks should be numbered like your document sections
29557  or not.
29558  With the 
29559 \family sans
29560 Open bookmarks
29561 \family default
29562  
29563 \family sans
29564 Level
29565 \family default
29566  you can specify what sectioning level should be displayed in the bookmarks
29567  when opening the PDF.
29568  For example level
29569 \begin_inset space ~
29570 \end_inset
29571
29572 2 will display all sections and subsections, while level
29573 \begin_inset space ~
29574 \end_inset
29575
29576 1 will only display the sections.
29577 \end_layout
29578
29579 \begin_layout Standard
29580 PDF properties are also used in this document.
29581  When you look in its document settings, you can see that some additional
29582  
29583 \series bold
29584 hyperref
29585 \series default
29586  options are used.
29587  For an explanation of all them we refer you to the hyperref manual 
29588 \begin_inset CommandInset citation
29589 LatexCommand cite
29590 key "hyperref"
29591
29592 \end_inset
29593
29594 .
29595 \end_layout
29596
29597 \begin_layout Section
29598 TeX Code and the LaTeX Syntax
29599 \begin_inset CommandInset label
29600 LatexCommand label
29601 name "sec:TeX-Code"
29602
29603 \end_inset
29604
29605
29606 \end_layout
29607
29608 \begin_layout Subsection
29609 TeX Code Boxes
29610 \begin_inset Index idx
29611 status collapsed
29612
29613 \begin_layout Plain Layout
29614 TeX Code
29615 \end_layout
29616
29617 \end_inset
29618
29619
29620 \begin_inset CommandInset label
29621 LatexCommand label
29622 name "sub:TeX-Code-Boxes"
29623
29624 \end_inset
29625
29626
29627 \end_layout
29628
29629 \begin_layout Standard
29630 As LyX uses LaTeX in the background, it supports many LaTeX commands and
29631  constructs, but not all.
29632  LaTeX contains hundreds of packages that provide different commands.
29633  All the time packages are being updated and new ones added.
29634  This has the advantage that you can typeset nearly everything as there
29635  is a LaTeX-package for every problem, though LyX cannot support all packages
29636  and their commands.
29637 \end_layout
29638
29639 \begin_layout Standard
29640 But don't worry, you can use any LaTeX-command directly in LyX inside the
29641  TeX Code box.
29642  A TeX Code box is created by the menu 
29643 \family sans
29644 Insert\SpecialChar \menuseparator
29645 Te
29646 \begin_inset ERT
29647 status collapsed
29648
29649 \begin_layout Plain Layout
29650
29651 {}
29652 \end_layout
29653
29654 \end_inset
29655
29656 X
29657 \begin_inset space ~
29658 \end_inset
29659
29660 Code
29661 \family default
29662  or by the toolbar button 
29663 \begin_inset Info
29664 type  "icon"
29665 arg   "ert-insert"
29666 \end_inset
29667
29668  (shortcut 
29669 \begin_inset Info
29670 type  "shortcut"
29671 arg   "ert-insert"
29672 \end_inset
29673
29674 ).
29675  The box can be opened by left-clicking and closed by right-clicking on
29676  it and selecting 
29677 \family sans
29678 Close Inset
29679 \family default
29680 .
29681 \end_layout
29682
29683 \begin_layout Standard
29684 You can insert complete or incomplete commands as TeX Code.
29685  Incomplete means that the command argument can be Standard LyX text.
29686  For example, if you want to draw a frame around a word and are therefore
29687  using the LaTeX-command 
29688 \series bold
29689
29690 \backslash
29691 fbox
29692 \series default
29693 , you can write the command part 
29694 \series bold
29695
29696 \backslash
29697 fbox{
29698 \series default
29699  in a TeX Code box before the word and the closing brace 
29700 \series bold
29701 }
29702 \series default
29703  in a second TeX Code box behind the word.
29704  The word between the two TeX Code boxes is then the argument as it is in
29705  the following example:
29706 \end_layout
29707
29708 \begin_layout Standard
29709 \begin_inset Graphics
29710         filename clipart/ERT.png
29711         scale 89
29712
29713 \end_inset
29714
29715
29716 \end_layout
29717
29718 \begin_layout Standard
29719 gives
29720 \end_layout
29721
29722 \begin_layout Standard
29723 This is a line with a 
29724 \begin_inset ERT
29725 status collapsed
29726
29727 \begin_layout Plain Layout
29728
29729
29730 \backslash
29731 fbox{
29732 \end_layout
29733
29734 \end_inset
29735
29736 framed
29737 \begin_inset ERT
29738 status collapsed
29739
29740 \begin_layout Plain Layout
29741
29742 }
29743 \end_layout
29744
29745 \end_inset
29746
29747  word.
29748 \end_layout
29749
29750 \begin_layout Standard
29751 \begin_inset Note Greyedout
29752 status open
29753
29754 \begin_layout Plain Layout
29755
29756 \series bold
29757 Note:
29758 \series default
29759  At the end of LaTeX-commands without parameters, you have to insert a space
29760  to let LaTeX know that the command is finished.
29761 \end_layout
29762
29763 \end_inset
29764
29765
29766 \end_layout
29767
29768 \begin_layout Subsection
29769 A Short Introduction to the LaTeX Syntax
29770 \begin_inset Argument 1
29771 status collapsed
29772
29773 \begin_layout Plain Layout
29774 The LaTeX Syntax
29775 \end_layout
29776
29777 \end_inset
29778
29779
29780 \begin_inset Index idx
29781 status collapsed
29782
29783 \begin_layout Plain Layout
29784 LaTeX Syntax
29785 \end_layout
29786
29787 \end_inset
29788
29789
29790 \begin_inset CommandInset label
29791 LatexCommand label
29792 name "sub:LaTeX-Syntax"
29793
29794 \end_inset
29795
29796
29797 \end_layout
29798
29799 \begin_layout Standard
29800 When you write larger documents or books, you will need to know something
29801  about the LaTeX-commands that LyX uses in the background.
29802  Because LaTeX is based on commands, you can 
29803 \begin_inset Quotes eld
29804 \end_inset
29805
29806 program
29807 \begin_inset Quotes erd
29808 \end_inset
29809
29810  your text.
29811  This has the advantage that the layout of the document can be changed at
29812  any time if you know the right commands.
29813  For example, imagine you have to write a manual for a product and the deadline
29814  is the end of the day.
29815  Your boss has just complimented you for your good work but wants to have
29816  all caption labels bold.
29817  But you have over a hundred figure and table captions with non-bold labels
29818  in your manual.
29819  Of course it is impossible to change all caption labels manually in one
29820  day.
29821 \end_layout
29822
29823 \begin_layout Standard
29824 Now LaTeX comes into play.
29825  As mentioned above, for every problem there exists a LaTeX-package.
29826  First you have to find out which and therefore look in the LaTeX package
29827  database, 
29828 \begin_inset CommandInset citation
29829 LatexCommand cite
29830 key "Catalogue"
29831
29832 \end_inset
29833
29834 .
29835 \end_layout
29836
29837 \begin_layout Standard
29838 As result you find that the package 
29839 \series bold
29840 caption
29841 \series default
29842
29843 \begin_inset Index idx
29844 status collapsed
29845
29846 \begin_layout Plain Layout
29847 LaTeX-packages ! caption
29848 \end_layout
29849
29850 \end_inset
29851
29852  is what you need.
29853  To use a package, you have to load it in the document preamble (menu 
29854 \family sans
29855 Document\SpecialChar \menuseparator
29856 Settings
29857 \family default
29858 \SpecialChar \menuseparator
29859
29860 \family sans
29861 LaT
29862 \begin_inset ERT
29863 status collapsed
29864
29865 \begin_layout Plain Layout
29866
29867 {}
29868 \end_layout
29869
29870 \end_inset
29871
29872 eX
29873 \begin_inset space ~
29874 \end_inset
29875
29876 Preamble
29877 \family default
29878 ) with the command
29879 \end_layout
29880
29881 \begin_layout Standard
29882
29883 \series bold
29884
29885 \backslash
29886 usepackage[options]{package name}
29887 \end_layout
29888
29889 \begin_layout Standard
29890 All LaTeX commands begin with a backslash, the command argument is set within
29891  two braces and the options are set within two brackets.
29892  Note that not all commands have an argument and options.
29893 \end_layout
29894
29895 \begin_layout Standard
29896 In your case the package name is 
29897 \series bold
29898 caption
29899 \series default
29900 .
29901  After a look in the documentation of the package, you know that the option
29902  
29903 \series bold
29904 labelfont=bf
29905 \series default
29906  will change the font of all caption labels to bold.
29907  So you add the command
29908 \end_layout
29909
29910 \begin_layout Standard
29911
29912 \series bold
29913
29914 \backslash
29915 usepackage[labelfont=bf]{caption}
29916 \end_layout
29917
29918 \begin_layout Standard
29919 to the preamble and the problem is solved.
29920 \begin_inset Foot
29921 status collapsed
29922
29923 \begin_layout Plain Layout
29924 For more commands provided by the 
29925 \series bold
29926 caption
29927 \series default
29928  package, have a look at its documentation, 
29929 \begin_inset CommandInset citation
29930 LatexCommand cite
29931 key "caption"
29932
29933 \end_inset
29934
29935 .
29936 \end_layout
29937
29938 \end_inset
29939
29940
29941 \end_layout
29942
29943 \begin_layout Standard
29944 Note that some document classes have built-in solutions for well-known problems
29945  like your case.
29946  For example if you use a 
29947 \family sans
29948 KOMA-Script
29949 \family default
29950  class, you don't need the package 
29951 \series bold
29952 caption
29953 \series default
29954 , you can instead write
29955 \end_layout
29956
29957 \begin_layout Standard
29958
29959 \series bold
29960
29961 \backslash
29962 setkomafont{captionlabel}{
29963 \backslash
29964 bfseries}
29965 \end_layout
29966
29967 \begin_layout Standard
29968 in the preamble and the problem is solved.
29969  So if you plan to write a large document, you should have a look at the
29970  documentation of the document class you want to use.
29971  (
29972 \series bold
29973
29974 \backslash
29975 setkomafont
29976 \series default
29977  is an example of a command with more than one argument.)
29978 \end_layout
29979
29980 \begin_layout Standard
29981 Commands in the preamble affect the whole document, while commands in the
29982  text affect only the text after the command or only the text used as command
29983  argument.
29984  To insert a LaTeX-command in text, use the TeX Code box as described in
29985  the previous section.
29986 \end_layout
29987
29988 \begin_layout Standard
29989 If you want to learn more about LaTeX and its syntax, have a look at the
29990  LaTeX-books 
29991 \begin_inset CommandInset citation
29992 LatexCommand cite
29993 key "latexcompanion,latexguide"
29994
29995 \end_inset
29996
29997 .
29998 \end_layout
29999
30000 \begin_layout Standard
30001 \begin_inset Newpage cleardoublepage
30002 \end_inset
30003
30004
30005 \end_layout
30006
30007 \begin_layout Standard
30008 \begin_inset ERT
30009 status collapsed
30010
30011 \begin_layout Plain Layout
30012
30013
30014 \backslash
30015 pagestyle{fancy}
30016 \end_layout
30017
30018 \end_inset
30019
30020
30021 \begin_inset Note Note
30022 status collapsed
30023
30024 \begin_layout Plain Layout
30025 switches temporarily to a page style with custom header and footer line
30026 \end_layout
30027
30028 \end_inset
30029
30030
30031 \end_layout
30032
30033 \begin_layout Left Header
30034 \begin_inset Argument 1
30035 status collapsed
30036
30037 \begin_layout Plain Layout
30038
30039 \end_layout
30040
30041 \end_inset
30042
30043
30044 \begin_inset ERT
30045 status collapsed
30046
30047 \begin_layout Plain Layout
30048
30049
30050 \backslash
30051 rightmark
30052 \end_layout
30053
30054 \end_inset
30055
30056
30057 \begin_inset Note Note
30058 status collapsed
30059
30060 \begin_layout Plain Layout
30061 defines the header line as described below
30062 \end_layout
30063
30064 \end_inset
30065
30066
30067 \end_layout
30068
30069 \begin_layout Center Header
30070 \begin_inset Argument 1
30071 status collapsed
30072
30073 \begin_layout Plain Layout
30074
30075 \end_layout
30076
30077 \end_inset
30078
30079
30080 \end_layout
30081
30082 \begin_layout Right Header
30083 \begin_inset Argument 1
30084 status collapsed
30085
30086 \begin_layout Plain Layout
30087 \begin_inset ERT
30088 status collapsed
30089
30090 \begin_layout Plain Layout
30091
30092
30093 \backslash
30094 leftmark
30095 \end_layout
30096
30097 \end_inset
30098
30099
30100 \end_layout
30101
30102 \end_inset
30103
30104
30105 \end_layout
30106
30107 \begin_layout Left Footer
30108 \begin_inset Argument 1
30109 status collapsed
30110
30111 \begin_layout Plain Layout
30112 \begin_inset ERT
30113 status collapsed
30114
30115 \begin_layout Plain Layout
30116
30117
30118 \backslash
30119 thepage
30120 \end_layout
30121
30122 \end_inset
30123
30124
30125 \end_layout
30126
30127 \end_inset
30128
30129
30130 \end_layout
30131
30132 \begin_layout Center Footer
30133 \begin_inset Argument 1
30134 status collapsed
30135
30136 \begin_layout Plain Layout
30137
30138 \family sans
30139 \series bold
30140 \color red
30141 LyX's user guide
30142 \end_layout
30143
30144 \end_inset
30145
30146 Magic code:
30147 \begin_inset Newline newline
30148 \end_inset
30149
30150
30151 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
30152 \end_inset
30153
30154
30155 \end_layout
30156
30157 \begin_layout Right Footer
30158 \begin_inset Argument 1
30159 status collapsed
30160
30161 \begin_layout Plain Layout
30162
30163 \end_layout
30164
30165 \end_inset
30166
30167
30168 \begin_inset ERT
30169 status collapsed
30170
30171 \begin_layout Plain Layout
30172
30173
30174 \backslash
30175 Roman{page}
30176 \end_layout
30177
30178 \end_inset
30179
30180
30181 \end_layout
30182
30183 \begin_layout Section
30184 Customized Page Headers and Footers
30185 \begin_inset CommandInset label
30186 LatexCommand label
30187 name "sec:Customized-Page-Headers"
30188
30189 \end_inset
30190
30191
30192 \begin_inset Index idx
30193 status collapsed
30194
30195 \begin_layout Plain Layout
30196 Document ! Header/Footer line
30197 \end_layout
30198
30199 \end_inset
30200
30201
30202 \begin_inset Index idx
30203 status collapsed
30204
30205 \begin_layout Plain Layout
30206 Header/Footer line
30207 \end_layout
30208
30209 \end_inset
30210
30211
30212 \end_layout
30213
30214 \begin_layout Standard
30215 To define a custom page header and footer line for your document, you need
30216  to set the 
30217 \family sans
30218 Page
30219 \begin_inset space ~
30220 \end_inset
30221
30222 style
30223 \family default
30224  to 
30225 \family sans
30226 Fancy
30227 \family default
30228  in the 
30229 \family sans
30230 Document\SpecialChar \menuseparator
30231 Settings
30232 \family default
30233  dialog under 
30234 \family sans
30235 Page
30236 \begin_inset space ~
30237 \end_inset
30238
30239 Layout
30240 \family default
30241 .
30242  As a second step add in the menu 
30243 \family sans
30244 Document\SpecialChar \menuseparator
30245 Settings\SpecialChar \menuseparator
30246 Modules
30247 \family default
30248  the module 
30249 \begin_inset Quotes eld
30250 \end_inset
30251
30252 Custom Header/Footerlines
30253 \begin_inset Quotes erd
30254 \end_inset
30255
30256 .
30257  This module offers the following 6
30258 \begin_inset space ~
30259 \end_inset
30260
30261 styles:
30262 \end_layout
30263
30264 \begin_layout Description
30265 Left
30266 \begin_inset space ~
30267 \end_inset
30268
30269 Header,
30270 \begin_inset space ~
30271 \end_inset
30272
30273 Center
30274 \begin_inset space ~
30275 \end_inset
30276
30277 Header,
30278 \begin_inset space ~
30279 \end_inset
30280
30281 Right
30282 \begin_inset space ~
30283 \end_inset
30284
30285 Header
30286 \end_layout
30287
30288 \begin_layout Description
30289 Left
30290 \begin_inset space ~
30291 \end_inset
30292
30293 Footer,
30294 \begin_inset space ~
30295 \end_inset
30296
30297 Center
30298 \begin_inset space ~
30299 \end_inset
30300
30301 Footer,
30302 \begin_inset space ~
30303 \end_inset
30304
30305 Right
30306 \begin_inset space ~
30307 \end_inset
30308
30309 Footer
30310 \end_layout
30311
30312 \begin_layout Standard
30313 for the different positions in the header/footer.
30314 \end_layout
30315
30316 \begin_layout Standard
30317 Normally, headers and footers are set up at the beginning of the document.
30318  But you can change them anywhere you want to.
30319  Figure
30320 \begin_inset space ~
30321 \end_inset
30322
30323
30324 \begin_inset CommandInset ref
30325 LatexCommand ref
30326 reference "fig:Page-layout"
30327
30328 \end_inset
30329
30330  shows the page layout and where the header/footer styles will appear.
30331 \end_layout
30332
30333 \begin_layout Standard
30334 \begin_inset Float figure
30335 placement h
30336 wide false
30337 sideways false
30338 status open
30339
30340 \begin_layout Plain Layout
30341 \noindent
30342 \align center
30343 \begin_inset Tabular
30344 <lyxtabular version="3" rows="5" columns="3">
30345 <features rotate="0" tabularvalignment="middle">
30346 <column alignment="left" valignment="top" width="30line%">
30347 <column alignment="center" valignment="top" width="30line%">
30348 <column alignment="right" valignment="top" width="30line%">
30349 <row>
30350 <cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
30351 \begin_inset Text
30352
30353 \begin_layout Plain Layout
30354 Left Header
30355 \end_layout
30356
30357 \end_inset
30358 </cell>
30359 <cell alignment="center" valignment="top" topline="true" usebox="none">
30360 \begin_inset Text
30361
30362 \begin_layout Plain Layout
30363 Center Header
30364 \end_layout
30365
30366 \end_inset
30367 </cell>
30368 <cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
30369 \begin_inset Text
30370
30371 \begin_layout Plain Layout
30372 Right Header
30373 \end_layout
30374
30375 \end_inset
30376 </cell>
30377 </row>
30378 <row>
30379 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30380 \begin_inset Text
30381
30382 \begin_layout Plain Layout
30383
30384 \end_layout
30385
30386 \end_inset
30387 </cell>
30388 <cell alignment="center" valignment="top" usebox="none">
30389 \begin_inset Text
30390
30391 \begin_layout Plain Layout
30392
30393 \end_layout
30394
30395 \end_inset
30396 </cell>
30397 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30398 \begin_inset Text
30399
30400 \begin_layout Plain Layout
30401
30402 \end_layout
30403
30404 \end_inset
30405 </cell>
30406 </row>
30407 <row>
30408 <cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
30409 \begin_inset Text
30410
30411 \begin_layout Plain Layout
30412 The normal text on the page goes here.
30413  The running header is above the text, and the footer is below (including
30414  footnotes).
30415  Headers/footers typically contain things like the page number, title of
30416  the chapter, company logo but your can use almost anything, except of floats.
30417 \end_layout
30418
30419 \end_inset
30420 </cell>
30421 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
30422 \begin_inset Text
30423
30424 \begin_layout Plain Layout
30425
30426 \end_layout
30427
30428 \end_inset
30429 </cell>
30430 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
30431 \begin_inset Text
30432
30433 \begin_layout Plain Layout
30434
30435 \end_layout
30436
30437 \end_inset
30438 </cell>
30439 </row>
30440 <row>
30441 <cell alignment="left" valignment="top" leftline="true" usebox="none">
30442 \begin_inset Text
30443
30444 \begin_layout Plain Layout
30445
30446 \end_layout
30447
30448 \end_inset
30449 </cell>
30450 <cell alignment="center" valignment="top" usebox="none">
30451 \begin_inset Text
30452
30453 \begin_layout Plain Layout
30454
30455 \end_layout
30456
30457 \end_inset
30458 </cell>
30459 <cell alignment="right" valignment="top" rightline="true" usebox="none">
30460 \begin_inset Text
30461
30462 \begin_layout Plain Layout
30463
30464 \end_layout
30465
30466 \end_inset
30467 </cell>
30468 </row>
30469 <row>
30470 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
30471 \begin_inset Text
30472
30473 \begin_layout Plain Layout
30474 Left Footer
30475 \end_layout
30476
30477 \end_inset
30478 </cell>
30479 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
30480 \begin_inset Text
30481
30482 \begin_layout Plain Layout
30483 Center Footer
30484 \end_layout
30485
30486 \end_inset
30487 </cell>
30488 <cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
30489 \begin_inset Text
30490
30491 \begin_layout Plain Layout
30492 Right Footer
30493 \end_layout
30494
30495 \end_inset
30496 </cell>
30497 </row>
30498 </lyxtabular>
30499
30500 \end_inset
30501
30502
30503 \end_layout
30504
30505 \begin_layout Plain Layout
30506 \begin_inset Caption Standard
30507
30508 \begin_layout Plain Layout
30509 \begin_inset CommandInset label
30510 LatexCommand label
30511 name "fig:Page-layout"
30512
30513 \end_inset
30514
30515 Page layout with custom header and footer line.
30516 \end_layout
30517
30518 \end_inset
30519
30520
30521 \end_layout
30522
30523 \end_inset
30524
30525
30526 \end_layout
30527
30528 \begin_layout Standard
30529 \begin_inset Note Greyedout
30530 status open
30531
30532 \begin_layout Plain Layout
30533
30534 \series bold
30535 Note
30536 \series default
30537 : some document classes implement their own customized page headers and
30538  footers if 
30539 \family sans
30540 Page
30541 \begin_inset space ~
30542 \end_inset
30543
30544 style
30545 \family default
30546  is set to “Default”.
30547  Check what these are before you specify your own customized page headers
30548  and footers.
30549 \end_layout
30550
30551 \end_inset
30552
30553
30554 \end_layout
30555
30556 \begin_layout Subsection
30557 Definition
30558 \end_layout
30559
30560 \begin_layout Standard
30561 To define your header line, add all three header styles.
30562  The things you add to the styles appear on odd numbered pages, the things
30563  in the optional arguments on even numbered pages.
30564  For single-sided documents, the optional arguments will not be used and
30565  can be omitted.
30566  If you leave a style or its argument empty, nothing appears in the output.
30567  Defining the footer line works similarly.
30568 \end_layout
30569
30570 \begin_layout Standard
30571 For the definition, you will need some LaTeX-commands that are inserted
30572  as TeX code (menu 
30573 \family sans
30574 Insert\SpecialChar \menuseparator
30575 Te
30576 \begin_inset ERT
30577 status collapsed
30578
30579 \begin_layout Plain Layout
30580
30581 {}
30582 \end_layout
30583
30584 \end_inset
30585
30586 X
30587 \begin_inset space ~
30588 \end_inset
30589
30590 Code
30591 \family default
30592 ):
30593 \end_layout
30594
30595 \begin_layout Description
30596
30597 \backslash
30598 thepage prints the current page number
30599 \end_layout
30600
30601 \begin_layout Description
30602
30603 \backslash
30604 Roman{page} prints the current page number with capital roman numerals
30605 \end_layout
30606
30607 \begin_layout Description
30608
30609 \backslash
30610 roman{page} prints the current page number with small roman numerals
30611 \end_layout
30612
30613 \begin_layout Description
30614
30615 \backslash
30616 leftmark prints the current section number and title.
30617  If the document has chapters, it prints the current chapter number and
30618  title instead.
30619  It is called 
30620 \begin_inset Quotes eld
30621 \end_inset
30622
30623 leftmark
30624 \begin_inset Quotes prd
30625 \end_inset
30626
30627  because it usually goes in a left header.
30628 \end_layout
30629
30630 \begin_layout Description
30631
30632 \backslash
30633 rightmark prints the current subsection number and title.
30634  If the document has chapters, it prints the current section number and
30635  title instead.
30636  It is normally used in the right header.
30637 \end_layout
30638
30639 \begin_layout Subsection
30640 Default header/footer
30641 \end_layout
30642
30643 \begin_layout Standard
30644 The custom header/footer is not empty by default.
30645  The default header contains the chapter and section title and the center
30646  footer has the page number.
30647  In order to remove unwanted entries from the header/footer, include the
30648  relevant header/footer style in your document, but leave it blank.
30649  So, if you do not want a page number in the footer, include a blank 
30650 \family sans
30651 Center
30652 \begin_inset space ~
30653 \end_inset
30654
30655 Footer
30656 \family default
30657  style.
30658 \end_layout
30659
30660 \begin_layout Subsection
30661 Appearance
30662 \end_layout
30663
30664 \begin_layout Standard
30665 The header and footer will appear on normal pages.
30666  Some pages are different.
30667  The title page has a style of its own, and so does any page that starts
30668  a new part or chapter in your book.
30669  Such pages will not have the custom headers/footers, but that is normal.
30670  There is for example no need to print a header with the chapter name on
30671  the chapter page where the chapter heading is in big bold letters anyway.
30672 \end_layout
30673
30674 \begin_layout Subsubsection
30675 Header and footer decoration line
30676 \end_layout
30677
30678 \begin_layout Standard
30679 By default, you get a 0.4
30680 \begin_inset space \thinspace{}
30681 \end_inset
30682
30683 pt thick line below the header and no footer line.
30684  This can be changed in the document preamble with the commands 
30685 \series bold
30686
30687 \backslash
30688 headrulewidth
30689 \series default
30690  and 
30691 \series bold
30692
30693 \backslash
30694 footrulewidth
30695 \series default
30696  in the following way:
30697 \end_layout
30698
30699 \begin_layout Standard
30700
30701 \series bold
30702
30703 \backslash
30704 renewcommand{
30705 \backslash
30706 headrulewidth}{thickness}
30707 \end_layout
30708
30709 \begin_layout Standard
30710 where thickness is a size in standard units like 
30711 \family sans
30712 pt
30713 \family default
30714  or 
30715 \family sans
30716 mm
30717 \family default
30718 .
30719  If you don't want a line, set the thickness to 0
30720 \begin_inset space \thinspace{}
30721 \end_inset
30722
30723 pt.
30724 \end_layout
30725
30726 \begin_layout Standard
30727 The lines can also be colored, but this requires more knowledge of LaTeX.
30728  If you really need this, have a look at the Internet or in sec.
30729 \begin_inset space ~
30730 \end_inset
30731
30732 4.4 of the book 
30733 \begin_inset CommandInset citation
30734 LatexCommand cite
30735 key "Mittelbach"
30736
30737 \end_inset
30738
30739 .
30740 \end_layout
30741
30742 \begin_layout Subsubsection
30743 Several header/footer lines
30744 \end_layout
30745
30746 \begin_layout Standard
30747 In case you need more than one text line as a header/footer, you can do
30748  this by adding a normal line break in the style definition.
30749  However, the default height of the header/footer is only the one of one
30750  text line.
30751  To expand the height, redefine the LaTeX length 
30752 \series bold
30753
30754 \backslash
30755 headheight
30756 \series default
30757  or 
30758 \series bold
30759
30760 \backslash
30761 footheight
30762 \series default
30763  in this entry in 
30764 \family sans
30765 Document\SpecialChar \menuseparator
30766 Settings\SpecialChar \menuseparator
30767 Lat
30768 \begin_inset ERT
30769 status collapsed
30770
30771 \begin_layout Plain Layout
30772
30773 {}
30774 \end_layout
30775
30776 \end_inset
30777
30778 eX
30779 \begin_inset space ~
30780 \end_inset
30781
30782 Preamble
30783 \family default
30784 :
30785 \end_layout
30786
30787 \begin_layout Standard
30788
30789 \series bold
30790
30791 \backslash
30792 setlength{
30793 \backslash
30794 headheight}{height}
30795 \end_layout
30796
30797 \begin_layout Standard
30798 where height is a size in standard units.
30799  If you don't know which amount of space is needed for the height, define
30800  your header/footer and preview your document as a PDF.
30801  Then open the LaTeX logfile with the menu 
30802 \family sans
30803 Document\SpecialChar \menuseparator
30804 La
30805 \begin_inset ERT
30806 status collapsed
30807
30808 \begin_layout Plain Layout
30809
30810 {}
30811 \end_layout
30812
30813 \end_inset
30814
30815 TeX Log
30816 \family default
30817  and use the button 
30818 \family sans
30819 Next
30820 \begin_inset space ~
30821 \end_inset
30822
30823 Warning
30824 \family default
30825  to see if you can find a warning about the package 
30826 \series bold
30827 fancyhdr
30828 \series default
30829
30830 \begin_inset Index idx
30831 status collapsed
30832
30833 \begin_layout Plain Layout
30834 LaTeX-packages ! fancyhdr
30835 \end_layout
30836
30837 \end_inset
30838
30839 .
30840  If there is such a warning, it contains the space that you need at least
30841  for your header/footer.
30842 \end_layout
30843
30844 \begin_layout Subsection
30845 This example
30846 \end_layout
30847
30848 \begin_layout Standard
30849 This example demonstrates what can be done with custom header/footers.
30850  Don't use it for your document as it is just an example.
30851  This example consists of the following definition:
30852 \end_layout
30853
30854 \begin_layout Description
30855 Left
30856 \begin_inset space ~
30857 \end_inset
30858
30859 Header 
30860 \series bold
30861
30862 \backslash
30863 rightmark
30864 \series default
30865 , empty optional argument
30866 \end_layout
30867
30868 \begin_layout Description
30869 Center
30870 \begin_inset space ~
30871 \end_inset
30872
30873 Header empty, empty optional argument
30874 \end_layout
30875
30876 \begin_layout Description
30877 Right
30878 \begin_inset space ~
30879 \end_inset
30880
30881 Header empty, 
30882 \series bold
30883
30884 \backslash
30885 leftmark
30886 \series default
30887  in the optional argument
30888 \end_layout
30889
30890 \begin_layout Description
30891 Left
30892 \begin_inset space ~
30893 \end_inset
30894
30895 Footer empty, 
30896 \series bold
30897
30898 \backslash
30899 thepage
30900 \series default
30901  in the optional argument
30902 \end_layout
30903
30904 \begin_layout Description
30905 Center
30906 \begin_inset space ~
30907 \end_inset
30908
30909 Footer 
30910 \family sans
30911 \series bold
30912 \color red
30913 LyX's user guide
30914 \family default
30915 \series default
30916 \color inherit
30917
30918 \begin_inset Quotes eld
30919 \end_inset
30920
30921 Magic code:
30922 \begin_inset Newline newline
30923 \end_inset
30924
30925
30926 \begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
30927 \end_inset
30928
30929
30930 \begin_inset Quotes erd
30931 \end_inset
30932
30933  in the optional argument
30934 \end_layout
30935
30936 \begin_layout Description
30937 Right
30938 \begin_inset space ~
30939 \end_inset
30940
30941 Footer 
30942 \series bold
30943
30944 \backslash
30945 Roman{page}
30946 \series default
30947 , empty optional argument
30948 \end_layout
30949
30950 \begin_layout Description
30951
30952 \backslash
30953 headrulewidth set to 2
30954 \begin_inset space \thinspace{}
30955 \end_inset
30956
30957 pt
30958 \end_layout
30959
30960 \begin_layout Standard
30961 In principle you can use almost everything in headers/footers, except floats.
30962  For more specialized features, for example, thumb-indexes, see the manual
30963  of the 
30964 \series bold
30965 fancyhdr
30966 \series default
30967  package, 
30968 \begin_inset CommandInset citation
30969 LatexCommand cite
30970 key "fancyhdr"
30971
30972 \end_inset
30973
30974 .
30975 \end_layout
30976
30977 \begin_layout Standard
30978 \begin_inset Newpage clearpage
30979 \end_inset
30980
30981
30982 \end_layout
30983
30984 \begin_layout Standard
30985 \begin_inset ERT
30986 status open
30987
30988 \begin_layout Plain Layout
30989
30990
30991 \backslash
30992 pagestyle{headings}
30993 \end_layout
30994
30995 \end_inset
30996
30997
30998 \begin_inset Note Note
30999 status collapsed
31000
31001 \begin_layout Plain Layout
31002 switches back to page style with the default headings
31003 \end_layout
31004
31005 \end_inset
31006
31007
31008 \end_layout
31009
31010 \begin_layout Section
31011 Previewing Snippets of your Document
31012 \begin_inset CommandInset label
31013 LatexCommand label
31014 name "sec:Previewing-snippets-of"
31015
31016 \end_inset
31017
31018
31019 \begin_inset Index idx
31020 status collapsed
31021
31022 \begin_layout Plain Layout
31023 Instant preview
31024 \end_layout
31025
31026 \end_inset
31027
31028
31029 \begin_inset Index idx
31030 status collapsed
31031
31032 \begin_layout Plain Layout
31033 Document ! Preview
31034 \end_layout
31035
31036 \end_inset
31037
31038
31039 \end_layout
31040
31041 \begin_layout Standard
31042 LyX allows you to generate previews of sections of your document on the
31043  fly so you can see how they will look in the final document without having
31044  to break your train of thought with viewing the output.
31045 \end_layout
31046
31047 \begin_layout Subsection
31048 Prerequisites
31049 \end_layout
31050
31051 \begin_layout Standard
31052 To get previews working, you need the LaTeX package 
31053 \series bold
31054 preview-latex
31055 \series default
31056
31057 \begin_inset Index idx
31058 status collapsed
31059
31060 \begin_layout Plain Layout
31061 LaTeX-packages ! preview-latex
31062 \end_layout
31063
31064 \end_inset
31065
31066  (on some systems named simply 
31067 \series bold
31068 preview
31069 \series default
31070 ) installed.
31071  If it is not already installed, you will find it in the TeX-catalogue,
31072  
31073 \begin_inset CommandInset citation
31074 LatexCommand cite
31075 key "TeXCatalogue"
31076
31077 \end_inset
31078
31079  or in the package manager of your LaTeX-system.
31080  You obtain prettier results if you install the program 
31081 \family typewriter
31082 pnmcrop
31083 \family default
31084  from the 
31085 \family typewriter
31086 netpbm
31087 \family default
31088  package; for LyX on Windows this program and also the LaTeX-package are
31089  automatically installed together with LyX.
31090 \end_layout
31091
31092 \begin_layout Subsection
31093 Enabling previews
31094 \end_layout
31095
31096 \begin_layout Standard
31097 If you would for example like to see in LyX your math formulas typeset by
31098  LaTeX, activate the option 
31099 \family sans
31100 Display
31101 \begin_inset space ~
31102 \end_inset
31103
31104 Graphics
31105 \family default
31106  in the 
31107 \family sans
31108 Tools\SpecialChar \menuseparator
31109 Preferences 
31110 \family default
31111 dialog under 
31112 \family sans
31113 Look
31114 \begin_inset space ~
31115 \end_inset
31116
31117 and
31118 \begin_inset space ~
31119 \end_inset
31120
31121 feel\SpecialChar \menuseparator
31122 Display
31123 \family default
31124 .
31125  Then set 
31126 \family sans
31127 Instant
31128 \begin_inset space ~
31129 \end_inset
31130
31131 Preview
31132 \family default
31133  to 
31134 \family sans
31135 On
31136 \family default
31137 .
31138  The 
31139 \family sans
31140 Preview
31141 \begin_inset space ~
31142 \end_inset
31143
31144 Size
31145 \family default
31146  is the multiplication factor for the size.
31147 \end_layout
31148
31149 \begin_layout Standard
31150 If you would like to see everything but your math formulas typeset by LaTeX,
31151  set 
31152 \family sans
31153 Instant
31154 \begin_inset space ~
31155 \end_inset
31156
31157 Preview
31158 \family default
31159  to 
31160 \family sans
31161 No
31162 \begin_inset space ~
31163 \end_inset
31164
31165 math
31166 \family default
31167 .
31168 \end_layout
31169
31170 \begin_layout Standard
31171 Previews are generated when you load a document into LyX and when you finish
31172  editing an inset.
31173 \end_layout
31174
31175 \begin_layout Standard
31176 \begin_inset Note Greyedout
31177 status open
31178
31179 \begin_layout Plain Layout
31180
31181 \series bold
31182 Note:
31183 \series default
31184  Previews of an already loaded document are not in every case immediately
31185  generated by activating the option 
31186 \family sans
31187 Display
31188 \begin_inset space ~
31189 \end_inset
31190
31191 Graphics
31192 \family default
31193 .
31194  Reopening the document will fix such problems.
31195 \end_layout
31196
31197 \end_inset
31198
31199
31200 \end_layout
31201
31202 \begin_layout Subsection
31203 Selected document parts
31204 \end_layout
31205
31206 \begin_layout Standard
31207 Besides math there are other cases where you might like to see a preview,
31208  for example things that LyX cannot render like rotated parts or things
31209  that are not yet supported by LyX.
31210  To do this, insert a preview inset via the menu 
31211 \family sans
31212 Insert\SpecialChar \menuseparator
31213 Preview
31214 \family default
31215 .
31216  Insert or paste the stuff that you want to preview into this inset.
31217  The preview will be generated when the cursor is outside the preview inset.
31218  If you click on the preview, you can edit the previewed stuff.
31219 \end_layout
31220
31221 \begin_layout Standard
31222 An example: To create rotated boxes, you use the LaTeX command 
31223 \series bold
31224
31225 \backslash
31226 rotatebox
31227 \series default
31228  which is not yet supported by LyX.
31229 \begin_inset Foot
31230 status collapsed
31231
31232 \begin_layout Plain Layout
31233
31234 \series bold
31235
31236 \backslash
31237 rotatebox
31238 \series default
31239  is explained in section 
31240 \emph on
31241 Rotated and Scaled Boxes
31242 \emph default
31243  of the 
31244 \emph on
31245 Embedded
31246 \begin_inset space ~
31247 \end_inset
31248
31249 Objects
31250 \emph default
31251  manual.
31252 \end_layout
31253
31254 \end_inset
31255
31256  Instead of the TeX Code boxes you want to see in LyX the final rotated
31257  boxes, for example to adjust the rotation angle to fit with the surrounding
31258  text.
31259  Therefore you create a preview inset and copy the text with the rotated
31260  boxes into it.
31261  Here is the result:
31262 \end_layout
31263
31264 \begin_layout Standard
31265 \begin_inset Preview
31266
31267 \begin_layout Standard
31268 This is a line
31269 \begin_inset ERT
31270 status collapsed
31271
31272 \begin_layout Plain Layout
31273
31274
31275 \backslash
31276 rotatebox[origin=r]{-60}{
31277 \end_layout
31278
31279 \end_inset
31280
31281
31282 \begin_inset Box Doublebox
31283 position "c"
31284 hor_pos "c"
31285 has_inner_box 0
31286 inner_pos "c"
31287 use_parbox 0
31288 use_makebox 0
31289 width "1in"
31290 special "width"
31291 height "1in"
31292 height_special "totalheight"
31293 status collapsed
31294
31295 \begin_layout Plain Layout
31296 with rotated
31297 \end_layout
31298
31299 \end_inset
31300
31301
31302 \begin_inset ERT
31303 status collapsed
31304
31305 \begin_layout Plain Layout
31306
31307 }
31308 \end_layout
31309
31310 \end_inset
31311
31312  framed text 
31313 \begin_inset ERT
31314 status collapsed
31315
31316 \begin_layout Plain Layout
31317
31318
31319 \backslash
31320 rotatebox[origin=lb]{60}{
31321 \end_layout
31322
31323 \end_inset
31324
31325
31326 \begin_inset Formula $\int A\,\mathrm{d}x=B$
31327 \end_inset
31328
31329
31330 \begin_inset ERT
31331 status collapsed
31332
31333 \begin_layout Plain Layout
31334
31335 }
31336 \end_layout
31337
31338 \end_inset
31339
31340  and a formula.
31341 \end_layout
31342
31343 \end_inset
31344
31345
31346 \end_layout
31347
31348 \begin_layout Standard
31349 Previewing works also for colors.
31350  In this example a special framed, colored box was created using the LaTeX
31351  command 
31352 \series bold
31353
31354 \backslash
31355 fcolorbox
31356 \series default
31357 :
31358 \begin_inset Foot
31359 status collapsed
31360
31361 \begin_layout Plain Layout
31362
31363 \series bold
31364
31365 \backslash
31366 fcolorbox
31367 \series default
31368  is explained in section 
31369 \emph on
31370 Colored Boxes
31371 \emph default
31372  of the 
31373 \emph on
31374 Embedded
31375 \begin_inset space ~
31376 \end_inset
31377
31378 Objects
31379 \emph default
31380  manual.
31381 \end_layout
31382
31383 \end_inset
31384
31385
31386 \end_layout
31387
31388 \begin_layout Standard
31389 \begin_inset Preview
31390
31391 \begin_layout Standard
31392 \begin_inset ERT
31393 status collapsed
31394
31395 \begin_layout Plain Layout
31396
31397
31398 \backslash
31399 fboxrule 1mm 
31400 \backslash
31401 fboxsep 1mm
31402 \end_layout
31403
31404 \end_inset
31405
31406
31407 \begin_inset ERT
31408 status collapsed
31409
31410 \begin_layout Plain Layout
31411
31412
31413 \backslash
31414 fcolorbox{cyan}{magenta}{
31415 \end_layout
31416
31417 \end_inset
31418
31419 This is text within a colored, framed box.
31420 \begin_inset ERT
31421 status collapsed
31422
31423 \begin_layout Plain Layout
31424
31425 }
31426 \end_layout
31427
31428 \end_inset
31429
31430
31431 \end_layout
31432
31433 \end_inset
31434
31435
31436 \end_layout
31437
31438 \begin_layout Standard
31439 \begin_inset VSpace medskip
31440 \end_inset
31441
31442
31443 \end_layout
31444
31445 \begin_layout Standard
31446 If LyX does not show a preview, make sure that you enabled previews as described
31447  above and also make sure that TeX Code in the preview inset is valid and
31448  that you loaded the LaTeX packages in your document preamble that are required
31449  by the TeX Code.
31450  If LyX cannot create a preview, you will in most cases also not be able
31451  to view your document due to LaTeX errors.
31452  So if you have to use some TeX Code and don't know if it is correct, the
31453  preview inset is a nice method to check it without the need to view the
31454  whole document.
31455 \end_layout
31456
31457 \begin_layout Subsection
31458 LaTeX source code
31459 \end_layout
31460
31461 \begin_layout Standard
31462 You can preview the LaTeX source of the whole document or parts of it.
31463  Use the menu 
31464 \family sans
31465 View\SpecialChar \menuseparator
31466 Source
31467 \begin_inset space ~
31468 \end_inset
31469
31470 Pane
31471 \family default
31472  and a window will be shown where you can see the LaTeX-source code.
31473  The window shows the source of the whole paragraph in which the cursor
31474  currently sits.
31475  You can also select document parts in LyX's main window, then only this
31476  selection (when it is more than one paragraph) is shown as source code.
31477  To view the whole document as source, enable the corresponding option in
31478  the source view window.
31479  If you check 
31480 \family sans
31481 Automatic update
31482 \family default
31483 , you can see the changes as you make them in LyX; but note that if you
31484  have several documents open, this will slow things down as LyX updates
31485  them all, not just the one which is open at the time.
31486 \end_layout
31487
31488 \begin_layout Section
31489 Advanced Find and Replace
31490 \begin_inset CommandInset label
31491 LatexCommand label
31492 name "sec:Advanced-Find-and"
31493
31494 \end_inset
31495
31496
31497 \begin_inset Index idx
31498 status collapsed
31499
31500 \begin_layout Plain Layout
31501 Replace
31502 \end_layout
31503
31504 \end_inset
31505
31506
31507 \begin_inset Index idx
31508 status collapsed
31509
31510 \begin_layout Plain Layout
31511 Find
31512 \end_layout
31513
31514 \end_inset
31515
31516
31517 \end_layout
31518
31519 \begin_layout Subsection
31520 Introduction
31521 \end_layout
31522
31523 \begin_layout Standard
31524 The advanced find and replace feature of LyX allows for searching of complex,
31525  format-sensitive text segments and mathematics contents within LyX documents.
31526  It is an enhancement of the standard (quick) find and replace feature.
31527  The key-features are:
31528 \end_layout
31529
31530 \begin_layout Itemize
31531 Both searching of text and of mathematical formulas is allowed, where the
31532  latter is done by entering mathematics in the usual way; not only entire
31533  mathematical formulas are found, but also parts occurring within more complex
31534  formulas
31535 \end_layout
31536
31537 \begin_layout Itemize
31538 Search may be format-insensitive, so that the searched text is found in
31539  any context/style (standard text, section headings, notes, and even mathematics
31540 ), or it may be format-sensitive, so that, for example, a word entered with
31541  a section heading will only be found within section headings
31542 \end_layout
31543
31544 \begin_layout Itemize
31545 Search may be restricted to mathematics environments only; this is useful
31546  for remangling math notation where one does not want to match any text
31547  outside of mathematics environments
31548 \end_layout
31549
31550 \begin_layout Itemize
31551 Search may be widened to a specific 
31552 \emph on
31553 scope
31554 \emph default
31555 , i.
31556 \begin_inset space \thinspace{}
31557 \end_inset
31558
31559 e.
31560 \begin_inset space ~
31561 \end_inset
31562
31563 a set of files which may be all the children of the document being edited,
31564  all the open files, or all the manuals available from the 
31565 \family sans
31566 Help
31567 \family default
31568  menu
31569 \end_layout
31570
31571 \begin_layout Itemize
31572 Replace may optionally preserve capitalization, so that the replaced text
31573  capitalization is adapted to the matching text (i.
31574 \begin_inset space \thinspace{}
31575 \end_inset
31576
31577 e.
31578 \begin_inset space ~
31579 \end_inset
31580
31581 all lowercase, all uppercase, first letter uppercase followed by lowercase)
31582 \end_layout
31583
31584 \begin_layout Subsection
31585 Basic usage
31586 \end_layout
31587
31588 \begin_layout Standard
31589 The advanced find and replace feature is activated through the menu 
31590 \family sans
31591 Edit\SpecialChar \menuseparator
31592 Find & Replace
31593 \noun on
31594  (
31595 \noun default
31596 Advanced
31597 \noun on
31598 )
31599 \family default
31600 \noun default
31601  (shortcut 
31602 \begin_inset Info
31603 type  "shortcut"
31604 arg   "dialog-show findreplaceadv"
31605 \end_inset
31606
31607 ) or the toolbar button 
31608 \begin_inset Info
31609 type  "icon"
31610 arg   "dialog-toggle findreplaceadv"
31611 \end_inset
31612
31613 .
31614  This opens the 
31615 \family sans
31616 Advanced Find and Replace
31617 \family default
31618  dialog.
31619 \end_layout
31620
31621 \begin_layout Subsubsection
31622 Searching for text
31623 \end_layout
31624
31625 \begin_layout Standard
31626 Enter into the 
31627 \family sans
31628 Find
31629 \family default
31630  LyX mini-editor a simple word, and search for occurrences of it by clicking
31631  on the 
31632 \family sans
31633 Find
31634 \begin_inset space ~
31635 \end_inset
31636
31637 Next
31638 \family default
31639  button at the bottom of the dialog (or just press the 
31640 \begin_inset Info
31641 type  "shortcut"
31642 arg   "break-paragraph"
31643 \end_inset
31644
31645  key).
31646  The entered word is found both in text mode and in math mode, and in emphasized
31647 , bold or normal face, and in both in section titles and in standard text.
31648  Pressing 
31649 \begin_inset Info
31650 type  "shortcut"
31651 arg   "break-paragraph"
31652 \end_inset
31653
31654  repeatedly keeps searching forward while pressing 
31655 \family sans
31656 Shift+Return
31657 \family default
31658  searches backwards.
31659 \end_layout
31660
31661 \begin_layout Standard
31662 The 
31663 \family sans
31664 Case
31665 \begin_inset space ~
31666 \end_inset
31667
31668 sensitive
31669 \family default
31670  option allows matches to occur only with the same case as entered in the
31671  
31672 \family sans
31673 Find
31674 \family default
31675  editor.
31676  The 
31677 \family sans
31678 Whole
31679 \begin_inset space ~
31680 \end_inset
31681
31682 words
31683 \family default
31684  option allows matches to occur only at word boundaries.
31685 \end_layout
31686
31687 \begin_layout Subsubsection
31688 Searching for mathematics
31689 \end_layout
31690
31691 \begin_layout Standard
31692 Mathematical formulas, such as 
31693 \begin_inset Formula $x^{2}$
31694 \end_inset
31695
31696  or something more complex like 
31697 \begin_inset Formula $\frac{x^{2}}{1+x^{2}}$
31698 \end_inset
31699
31700 , may be searched for by typing them in the 
31701 \family sans
31702 Find
31703 \family default
31704  editor.
31705  When searching for a formula, it is found both when it is alone and when
31706  it occurs in sub-formulas and nested parts of sub-formulas.
31707  For example the mentioned segments would be found in something like 
31708 \begin_inset Formula $\frac{x^{2}}{\sqrt{\frac{x^{2}}{1+x^{2}}}}.$
31709 \end_inset
31710
31711
31712 \end_layout
31713
31714 \begin_layout Subsubsection
31715 Style-aware search
31716 \end_layout
31717
31718 \begin_layout Standard
31719 It is also possible to search for text with specific styles.
31720  This is done by switching to the 
31721 \family sans
31722 Settings
31723 \family default
31724  tab of the dialog and unchecking the 
31725 \family sans
31726 Ignore format
31727 \family default
31728  option.
31729  This way, entering in the 
31730 \family sans
31731 Find
31732 \family default
31733  editor
31734 \end_layout
31735
31736 \begin_layout Itemize
31737 a normal word and searching for it would not find instances of the word
31738  occurring in emphasized or boldface.
31739 \end_layout
31740
31741 \begin_layout Itemize
31742 an emphasized or boldface word and searching for it would find the respective
31743  instances with the same face only, and within the same text style only.
31744 \end_layout
31745
31746 \begin_layout Itemize
31747 a normal word in a section heading, and searching for it, would find occurrences
31748  of it only within section headings.
31749  Also, if the text to search is given an emphasized or bold face, in addition
31750  to a section style, then it is found only when occurring with the same
31751  style.
31752 \end_layout
31753
31754 \begin_layout Itemize
31755 a displayed formula will only find instances of this formula that are also
31756  displayed formulas (and not inline formulas).
31757 \end_layout
31758
31759 \begin_layout Subsubsection
31760 Replace
31761 \end_layout
31762
31763 \begin_layout Standard
31764 The entries made in the 
31765 \family sans
31766 Find
31767 \family default
31768  editor can be replaced with entries made in the 
31769 \family sans
31770 Replace
31771 \begin_inset space ~
31772 \end_inset
31773
31774 with
31775 \family default
31776  editor.
31777  In order to find the next occurrence and replace it, click on the 
31778 \family sans
31779 Replace
31780 \family default
31781  button or alternatively press 
31782 \begin_inset Info
31783 type  "shortcut"
31784 arg   "break-paragraph"
31785 \end_inset
31786
31787  or 
31788 \family sans
31789 Shift+Return
31790 \family default
31791  while the cursor is in the 
31792 \family sans
31793 Replace
31794 \begin_inset space ~
31795 \end_inset
31796
31797 with
31798 \family default
31799  editor.
31800 \end_layout
31801
31802 \begin_layout Standard
31803 You can replace with fully-featured formatted LyX entries.
31804  Typical scenarios in which to use this capability might be (just to mention
31805  two):
31806 \end_layout
31807
31808 \begin_layout Itemize
31809 replacing occurrences of a word with a customized formatted version of the
31810  same word, for example replacing occurrences of a name like 
31811 \begin_inset Quotes eld
31812 \end_inset
31813
31814 func()
31815 \begin_inset Quotes erd
31816 \end_inset
31817
31818  with its typewriter version 
31819 \begin_inset Quotes eld
31820 \end_inset
31821
31822
31823 \family typewriter
31824 func()
31825 \family default
31826
31827 \begin_inset Quotes erd
31828 \end_inset
31829
31830
31831 \end_layout
31832
31833 \begin_layout Itemize
31834 performing a notation rework of mathematical symbols, for example replacing
31835  occurrences of 
31836 \begin_inset Quotes eld
31837 \end_inset
31838
31839
31840 \begin_inset Formula $R$
31841 \end_inset
31842
31843
31844 \begin_inset Quotes erd
31845 \end_inset
31846
31847  with 
31848 \begin_inset Quotes eld
31849 \end_inset
31850
31851
31852 \begin_inset Formula $\mathbb{R}$
31853 \end_inset
31854
31855
31856 \begin_inset Quotes erd
31857 \end_inset
31858
31859  (you may want to enable the 
31860 \family sans
31861 Whole
31862 \begin_inset space ~
31863 \end_inset
31864
31865 words
31866 \family default
31867  and 
31868 \family sans
31869 Case
31870 \begin_inset space ~
31871 \end_inset
31872
31873 sensitive
31874 \family default
31875  options and disable the 
31876 \family sans
31877 Ignore format
31878 \family default
31879  option in the 
31880 \family sans
31881 Settings
31882 \family default
31883  tab, in order to avoid replacing all 
31884 \begin_inset Quotes eld
31885 \end_inset
31886
31887 R
31888 \begin_inset Quotes erd
31889 \end_inset
31890
31891  letters occurring in normal text), or occurrences of 
31892 \begin_inset Formula $x_{j}^{i}$
31893 \end_inset
31894
31895  with 
31896 \begin_inset Formula $x_{i,\, j}$
31897 \end_inset
31898
31899 , or occurrences of 
31900 \begin_inset Formula $x[k]$
31901 \end_inset
31902
31903  with 
31904 \begin_inset Formula $x_{k}$
31905 \end_inset
31906
31907 .
31908 \end_layout
31909
31910 \begin_layout Subsection
31911 Advanced usage
31912 \end_layout
31913
31914 \begin_layout Standard
31915 There is a regular expression (regexp) based searching facility.
31916 \begin_inset Foot
31917 status collapsed
31918
31919 \begin_layout Plain Layout
31920 A good explanation of regular expressions is given in this Wikipedia entry:
31921  
31922 \begin_inset CommandInset href
31923 LatexCommand href
31924 target "http://en.wikipedia.org/wiki/Regular_expression"
31925
31926 \end_inset
31927
31928 .
31929 \end_layout
31930
31931 \end_inset
31932
31933  You can search for a regular expression by inserting a regexp inset into
31934  the 
31935 \family sans
31936 Find
31937 \family default
31938  editor.
31939  This is done with the context menu 
31940 \family sans
31941 Insert\SpecialChar \menuseparator
31942 Insert Regular Expression
31943 \family default
31944  while the cursor is in the 
31945 \family sans
31946 Find
31947 \family default
31948  editor.
31949  Characters entered within regexp insets are matched according to the regular
31950  expression matching rules
31951 \begin_inset Foot
31952 status collapsed
31953
31954 \begin_layout Plain Layout
31955 Under the constraint that any (sub)expression must match a well-formed LyX
31956  segment, i.
31957 \begin_inset space \thinspace{}
31958 \end_inset
31959
31960 e.
31961 \begin_inset space ~
31962 \end_inset
31963
31964 when matching LaTeX code, no segments with unbalanced {} braces are allowed
31965  to match expressions.
31966 \end_layout
31967
31968 \end_inset
31969
31970 , while text entered outside regexp insets is matched exactly against the
31971  same text in the document.
31972  You can cut and paste regexp-mode insets.
31973  Examples of using such a feature may be:
31974 \end_layout
31975
31976 \begin_layout Enumerate
31977 Searching for all fractions with a given denominator: for example, entering
31978  in the 
31979 \family sans
31980 Find
31981 \family default
31982  editor the fraction 
31983 \begin_inset Formula $\frac{.*}{1+x^{2}}$
31984 \end_inset
31985
31986  (where the 
31987 \begin_inset Formula $.*$
31988 \end_inset
31989
31990  on the numerator is the match-everything regular expression) finds all
31991  fractions with the given denominator.
31992 \end_layout
31993
31994 \begin_layout Enumerate
31995 Searching for all text with a given style: for example, after unchecking
31996  the 
31997 \family sans
31998 Ignore format
31999 \family default
32000  option from the 
32001 \family sans
32002 Settings
32003 \family default
32004  tab, entering a 
32005 \series bold
32006
32007 \begin_inset Formula $.*$
32008 \end_inset
32009
32010
32011 \series default
32012  regular expression and giving it an emphasized or bold face, finds all
32013  emphasized or bold face text respectively.
32014  Also, by inserting a 
32015 \begin_inset Formula $.*$
32016 \end_inset
32017
32018  regular expression in a bullet or enumerated list or a section heading,
32019  you can find all bullet or enumerated lists or section headings.
32020 \end_layout
32021
32022 \begin_layout Standard
32023 Finally, references to (sub)expressions in regexp may be used as usual:
32024  Enclosing parts of the expression within round braces 
32025 \begin_inset Formula $()$
32026 \end_inset
32027
32028 , and referring back to them through 
32029 \begin_inset Formula $\backslash1$
32030 \end_inset
32031
32032
32033 \begin_inset Formula $\backslash2$
32034 \end_inset
32035
32036 , etc..
32037  For example, try searching with the regexp
32038 \begin_inset Newline newline
32039 \end_inset
32040
32041 [[:space:]]([[:alpha:]]+)[[:space:]]
32042 \backslash
32043 1[[:space:]]
32044 \begin_inset Newline newline
32045 \end_inset
32046
32047 in order to find word repetitions, if there are any.
32048 \end_layout
32049
32050 \begin_layout Standard
32051 The usage of back references in the replaced text is not (yet) implemented.
32052 \end_layout
32053
32054 \begin_layout Standard
32055 \begin_inset Note Greyedout
32056 status open
32057
32058 \begin_layout Plain Layout
32059
32060 \series bold
32061 Note:
32062 \series default
32063  Back references work both when occurring within the same regexp, and when
32064  occurring in multiple different regexps, where the numbering of back-referenced
32065  sub-expressions is absolute.
32066  That is,
32067 \begin_inset space ~
32068 \end_inset
32069
32070
32071 \begin_inset Formula $\backslash1$
32072 \end_inset
32073
32074  always refers to the first occurrence of 
32075 \begin_inset Formula $()$
32076 \end_inset
32077
32078  in all entered regexps.
32079 \end_layout
32080
32081 \end_inset
32082
32083
32084 \end_layout
32085
32086 \begin_layout Section
32087 Spell Checking
32088 \begin_inset CommandInset label
32089 LatexCommand label
32090 name "sec:Spellchecking"
32091
32092 \end_inset
32093
32094
32095 \begin_inset Index idx
32096 status collapsed
32097
32098 \begin_layout Plain Layout
32099 Spell checking
32100 \end_layout
32101
32102 \end_inset
32103
32104
32105 \end_layout
32106
32107 \begin_layout Standard
32108 LyX has a built-in spell checker.
32109  The menu
32110 \family sans
32111  Tools\SpecialChar \menuseparator
32112 Spellchecker
32113 \family default
32114 , the 
32115 \family sans
32116 F7
32117 \family default
32118  key or the toolbar button 
32119 \begin_inset Info
32120 type  "icon"
32121 arg   "dialog-show spellchecker"
32122 \end_inset
32123
32124  start the spell checking from either the current cursor position or the
32125  beginning of the currently selected text.
32126  A sidebar will appear showing any incorrect (or unknown) word found, allowing
32127  you to edit and replace it in a second line.
32128  Whenever an unknown word is found, the word is highlighted and the text
32129  scrolled so that it is visible.
32130  In the spellchecker sidebar, there is a box showing suggestions for a correctio
32131 n, if any could be found.
32132  Clicking on one of the corrections will copy it to the 
32133 \family sans
32134 Replacement
32135 \family default
32136  field, double-clicking directly invokes the replacement.
32137  Unknown but correctly typed words can be added to the personal dictionary.
32138 \end_layout
32139
32140 \begin_layout Standard
32141 By default, the dictionary file used is determined by the document language
32142  that is set in the 
32143 \family sans
32144 Document\SpecialChar \menuseparator
32145 Settings
32146 \family default
32147  dialog.
32148  You can specify the language of a word in the spellchecker dialog by choosing
32149  a different one at the top of the dialog.
32150  LyX can correctly spell check documents containing multiple languages.
32151  This works if you have set the language of the text parts using the 
32152 \family sans
32153 Text
32154 \begin_inset space ~
32155 \end_inset
32156
32157 Style
32158 \family default
32159  dialog (
32160 \begin_inset Info
32161 type  "icon"
32162 arg   "dialog-show character"
32163 \end_inset
32164
32165 ) and have the spell checker dictionaries installed.
32166  LyX automatically switches to the appropriate dictionary file.
32167 \end_layout
32168
32169 \begin_layout Standard
32170 All spell-checker dictionaries supported by LyX can be downloaded from here:
32171 \begin_inset Newline newline
32172 \end_inset
32173
32174
32175 \begin_inset Flex URL
32176 status collapsed
32177
32178 \begin_layout Plain Layout
32179
32180 http://sourceforge.net/projects/lyxwininstaller/files/hunspell/
32181 \end_layout
32182
32183 \end_inset
32184
32185
32186 \begin_inset Newline newline
32187 \end_inset
32188
32189 There are 2
32190 \begin_inset space ~
32191 \end_inset
32192
32193 files for each language.
32194  To install a dictionary on Windows, copy the 2
32195 \begin_inset space ~
32196 \end_inset
32197
32198 files into LyX's installation subfolder 
32199 \family sans
32200 ~
32201 \backslash
32202 Resources
32203 \backslash
32204 dicts
32205 \family default
32206  and restart LyX.
32207 \begin_inset Newline newline
32208 \end_inset
32209
32210 With Linux one needs to install the packages for the desired language.
32211  The number of these packages vary depending on the Linux distribution,
32212  but in most cases these are 
32213 \family typewriter
32214 aspell-xx
32215 \family default
32216
32217 \family typewriter
32218 hunspell-xx
32219 \family default
32220 ,
32221 \family typewriter
32222  myspell-xx
32223 \family default
32224 , etc., where 
32225 \family sans
32226 xx
32227 \family default
32228  is the language code.
32229 \end_layout
32230
32231 \begin_layout Subsection
32232 Further Settings
32233 \end_layout
32234
32235 \begin_layout Standard
32236 In the menu 
32237 \family sans
32238 Tools\SpecialChar \menuseparator
32239 Preferences\SpecialChar \menuseparator
32240 Language
32241 \begin_inset space ~
32242 \end_inset
32243
32244 Settings\SpecialChar \menuseparator
32245 Spellchecker
32246 \family default
32247  you can set the following things:
32248 \end_layout
32249
32250 \begin_layout Description
32251 Spellchecker
32252 \begin_inset space ~
32253 \end_inset
32254
32255 engine Select the library LyX should use for spell checking.
32256  Depending on your platform, 
32257 \family typewriter
32258 aspell
32259 \family default
32260
32261 \family typewriter
32262 hunspell
32263 \family default
32264  or 
32265 \family typewriter
32266 enchant
32267 \begin_inset Foot
32268 status collapsed
32269
32270 \begin_layout Plain Layout
32271 Enchant itself is a wrapper library having different configurable back-ends.
32272  Please consult the documentation or man-page of it to learn more.
32273 \end_layout
32274
32275 \end_inset
32276
32277
32278 \family default
32279  are available.
32280  On Windows only 
32281 \family typewriter
32282 hunspell
32283 \family default
32284  is available.
32285 \end_layout
32286
32287 \begin_layout Description
32288 Alternative
32289 \begin_inset space ~
32290 \end_inset
32291
32292 language If this field is not empty, LyX will always use the given language
32293  for the spell checking, no matter what the document language is.
32294 \end_layout
32295
32296 \begin_layout Description
32297 Escape
32298 \begin_inset space ~
32299 \end_inset
32300
32301 characters Allows you to add non-standard characters that the spell checker
32302  should escape, e.
32303 \begin_inset space \thinspace{}
32304 \end_inset
32305
32306 g.
32307 \begin_inset space \space{}
32308 \end_inset
32309
32310 German umlauts.
32311  This should normally not be needed.
32312 \end_layout
32313
32314 \begin_layout Description
32315 Accept
32316 \begin_inset space ~
32317 \end_inset
32318
32319 compound
32320 \begin_inset space ~
32321 \end_inset
32322
32323 words Prevents the spell checker from complaining about compounded words
32324  like 
32325 \begin_inset Quotes eld
32326 \end_inset
32327
32328 passthrough
32329 \begin_inset Quotes erd
32330 \end_inset
32331
32332 .
32333 \end_layout
32334
32335 \begin_layout Description
32336 Spellcheck
32337 \begin_inset space ~
32338 \end_inset
32339
32340 continuously Checks the spelling of your document as you type it.
32341  Misspelled words get underlined with a dotted red line.
32342  By right-clicking on an underlined word, suggestions from the spellchecker
32343  appear in a context menu.
32344  Choosing one of them will replace the misspelled word with the suggested
32345  word.
32346 \end_layout
32347
32348 \begin_layout Description
32349 Spellcheck
32350 \begin_inset space ~
32351 \end_inset
32352
32353 notes
32354 \begin_inset space ~
32355 \end_inset
32356
32357 and
32358 \begin_inset space ~
32359 \end_inset
32360
32361 comments If enabled, the spelling of non-printed document content is checked
32362  as well.
32363 \end_layout
32364
32365 \begin_layout Section
32366 Thesaurus
32367 \begin_inset Index idx
32368 status collapsed
32369
32370 \begin_layout Plain Layout
32371 Thesaurus
32372 \end_layout
32373
32374 \end_inset
32375
32376
32377 \begin_inset CommandInset label
32378 LatexCommand label
32379 name "sec:Thesaurus"
32380
32381 \end_inset
32382
32383
32384 \end_layout
32385
32386 \begin_layout Standard
32387 LyX provides a multilingual thesaurus.
32388  It uses the same thesaurus framework as LibreOffice, OpenOffice and Firefox
32389  (namely the 
32390 \family sans
32391 MyThes
32392 \family default
32393
32394 \begin_inset Foot
32395 status collapsed
32396
32397 \begin_layout Plain Layout
32398 \begin_inset CommandInset href
32399 LatexCommand href
32400 target "http://lingucomponent.openoffice.org/thesaurus.html"
32401
32402 \end_inset
32403
32404
32405 \end_layout
32406
32407 \end_inset
32408
32409  thesaurus library, which is included in LyX).
32410  Therefore, LyX is able to directly access OpenOffice thesaurus dictionaries,
32411  which are available for many languages.
32412 \end_layout
32413
32414 \begin_layout Standard
32415 This section describes how new dictionaries are installed and set up for
32416  the use with LyX.
32417 \end_layout
32418
32419 \begin_layout Subsection
32420 Setting up the thesaurus
32421 \end_layout
32422
32423 \begin_layout Standard
32424 The 
32425 \family sans
32426 MyThes
32427 \emph on
32428 /
32429 \emph default
32430 OpenOffice
32431 \family default
32432  thesauri consist of two files per language: A file with the suffix 
32433 \emph on
32434 *.dat
32435 \emph default
32436  containing the data and an index file with the suffix 
32437 \emph on
32438 *.idx
32439 \emph default
32440 .
32441  The standardized file names include the language code for the given language
32442  (e.
32443 \begin_inset space \thinspace{}
32444 \end_inset
32445
32446 g.
32447 \begin_inset space ~
32448 \end_inset
32449
32450
32451 \family sans
32452 en_US
32453 \family default
32454  for US English).
32455  For instance, the US English files are named:
32456 \end_layout
32457
32458 \begin_layout Itemize
32459 th_en_EN_v2.idx
32460 \end_layout
32461
32462 \begin_layout Itemize
32463 th_en_EN_v2.dat
32464 \end_layout
32465
32466 \begin_layout Standard
32467 If you have 
32468 \family sans
32469 LibreOffice
32470 \family default
32471  or 
32472 \family sans
32473 OpenOffice
32474 \family default
32475  and its thesaurus installed, these files should be already on your system
32476  and you just need to point LyX (in 
32477 \family sans
32478 Tools\SpecialChar \menuseparator
32479 Preferences\SpecialChar \menuseparator
32480 Paths\SpecialChar \menuseparator
32481 Thesaurus
32482 \begin_inset space ~
32483 \end_inset
32484
32485 dictionaries
32486 \family default
32487 ) to the path where they are installed.
32488 \begin_inset Foot
32489 status collapsed
32490
32491 \begin_layout Plain Layout
32492 On Linux, depending on your distribution and the way you installed the dictionar
32493 ies, typical locations are 
32494 \family typewriter
32495 /usr/share/mythes/
32496 \family default
32497
32498 \family typewriter
32499 /usr/share/myspell/dicts/
32500 \family default
32501
32502 \family typewriter
32503 /usr/share/ooo/thesaurus/
32504 \family default
32505 ,
32506 \family typewriter
32507  ~/.config/libreoffice/<version>/user/
32508 \family default
32509  or alike.
32510  On Windows, dictionaries are to be found at 
32511 \family typewriter
32512 ~
32513 \backslash
32514 Program Files
32515 \backslash
32516 LibreOffice-<Version>
32517 \backslash
32518 share
32519 \backslash
32520 extensions 
32521 \family default
32522 or similar.
32523  On the Mac, the default location is 
32524 \family typewriter
32525 /Users\SpecialChar \slash{}
32526 <user name>\SpecialChar \slash{}
32527 Library\SpecialChar \slash{}
32528 Application Support\SpecialChar \slash{}
32529 libreoffice\SpecialChar \slash{}
32530 <version>\SpecialChar \slash{}
32531 user
32532 \family default
32533 /.
32534 \end_layout
32535
32536 \end_inset
32537
32538  On Windows, you can alternatively also select dictionaries for installation
32539  during the LyX installation process, which will then be installed in the
32540  correct place right away.
32541 \end_layout
32542
32543 \begin_layout Standard
32544 If you want to install new\SpecialChar \slash{}
32545 further thesaurus dictionaries, you can downloaded
32546  them from here:
32547 \end_layout
32548
32549 \begin_layout Itemize
32550 \begin_inset Flex URL
32551 status open
32552
32553 \begin_layout Plain Layout
32554
32555 http://www.lyx.org/trac/browser/lyxsvn/dictionaries/trunk/thes/
32556 \end_layout
32557
32558 \end_inset
32559
32560
32561 \end_layout
32562
32563 \begin_layout Standard
32564 To install a new dictionary, download the two files for this dictionary
32565  into the thesaurus path (which is set in 
32566 \family sans
32567 Tools\SpecialChar \menuseparator
32568 Preferences\SpecialChar \menuseparator
32569 Paths\SpecialChar \menuseparator
32570 Thesaurus
32571 \begin_inset space ~
32572 \end_inset
32573
32574 dictionaries
32575 \family default
32576 ) and restart LyX.
32577  If this path is not defined yet, you can use a dictionary of your choice
32578  and point LyX there.
32579 \end_layout
32580
32581 \begin_layout Standard
32582 Alternatively, you can also install new dictionaries via 
32583 \family sans
32584 LibreOffice\SpecialChar \slash{}
32585 OpenOffice
32586 \family default
32587  or, on Linux, via your package manager (look for 
32588 \emph on
32589 mythes-*
32590 \emph default
32591  or 
32592 \emph on
32593 libreoffice-thesaurus-*
32594 \emph default
32595  packages).
32596  If you do this, make sure that LyX is able to find the installed dictionaries,
32597  i.
32598 \begin_inset space \thinspace{}
32599 \end_inset
32600
32601 e.
32602  that 
32603 \family sans
32604 Tools\SpecialChar \menuseparator
32605 Preferences\SpecialChar \menuseparator
32606 Paths\SpecialChar \menuseparator
32607 Thesaurus
32608 \begin_inset space ~
32609 \end_inset
32610
32611 dictionaries
32612 \family default
32613  points to the path where you installed these dictionaries.
32614 \end_layout
32615
32616 \begin_layout Subsection
32617 Using the thesaurus
32618 \end_layout
32619
32620 \begin_layout Standard
32621 To start the thesaurus, use the menu 
32622 \family sans
32623 Tools\SpecialChar \menuseparator
32624 Thesaurus
32625 \family default
32626  or the toolbar button 
32627 \begin_inset Info
32628 type  "icon"
32629 arg   "thesaurus-entry"
32630 \end_inset
32631
32632  while the cursor is at the word you want to look up or while a word is
32633  selected.
32634  A dialog pops up showing you probably related words that you can use as
32635  a replacement.
32636  The suggestions are grouped into categories.
32637  Note that, for some languages (such as English), the thesaurus does not
32638  only show equivalent words (synonyms), but also generic terms (such as
32639  
32640 \emph on
32641 organism
32642 \emph default
32643  for 
32644 \emph on
32645 plant
32646 \emph default
32647 ), related terms (such as 
32648 \emph on
32649 political
32650 \begin_inset space ~
32651 \end_inset
32652
32653 theory
32654 \emph default
32655  for 
32656 \emph on
32657 anarchistic
32658 \emph default
32659 ), compounds (such as 
32660 \emph on
32661 tree
32662 \begin_inset space ~
32663 \end_inset
32664
32665 diagram
32666 \emph default
32667 , if you look for 
32668 \emph on
32669 tree
32670 \emph default
32671 ) and opposites (antonyms) (such as 
32672 \emph on
32673 girl
32674 \emph default
32675  for 
32676 \emph on
32677 boy
32678 \emph default
32679 ).
32680  Generic terms, related terms and antonyms are marked as such.
32681 \end_layout
32682
32683 \begin_layout Standard
32684 The language is automatically chosen from the language at the cursor, but
32685  you can also switch it in the dialog, as you can enter new words to look
32686  up directly there.
32687 \end_layout
32688
32689 \begin_layout Standard
32690 Note that the thesaurus cannot handle phrases (only compounds that are in
32691  the dictionary, such as the above 
32692 \emph on
32693 tree diagram
32694 \emph default
32695 ), and you have to use the so called lemma form, i.
32696 \begin_inset space \thinspace{}
32697 \end_inset
32698
32699 e.
32700 \begin_inset space \space{}
32701 \end_inset
32702
32703 the form that is used in the dictionaries (for many languages: first person
32704  singular indicative active for nouns, infinitive for verbs).
32705  For example, looking up the word form 
32706 \emph on
32707 reporting
32708 \emph default
32709  yields no results, while results are shown for the word form 
32710 \emph on
32711 report
32712 \emph default
32713 .
32714  Your best bet is to highlight only the relevant part of such a word (e.
32715 \begin_inset space \thinspace{}
32716 \end_inset
32717
32718 g.
32719 \begin_inset space \space{}
32720 \end_inset
32721
32722
32723 \emph on
32724 report
32725 \emph default
32726  in 
32727 \emph on
32728 report
32729 \emph default
32730 s); then you will get suggestions without needing to adjust the query in
32731  the dialog, and also the replacement will probably be correct (as only
32732  the highlighted part will be replaced; thus the ending remains).
32733 \end_layout
32734
32735 \begin_layout Section
32736 Change Tracking
32737 \begin_inset Index idx
32738 status collapsed
32739
32740 \begin_layout Plain Layout
32741 Change Tracking
32742 \end_layout
32743
32744 \end_inset
32745
32746
32747 \begin_inset Index idx
32748 status collapsed
32749
32750 \begin_layout Plain Layout
32751 Document ! Change Tracking
32752 \end_layout
32753
32754 \end_inset
32755
32756
32757 \begin_inset CommandInset label
32758 LatexCommand label
32759 name "sec:Change-Tracking"
32760
32761 \end_inset
32762
32763
32764 \end_layout
32765
32766 \begin_layout Standard
32767 When you work on a document collaboratively it is extremely useful to be
32768  able to see changes that others have made highlighted in the document.
32769  You can then decide if you want to accept a change or not.
32770  This can be achieved by turning on change tracking in the menu 
32771 \family sans
32772 Document\SpecialChar \menuseparator
32773 Change
32774 \begin_inset space ~
32775 \end_inset
32776
32777 Tracking\SpecialChar \menuseparator
32778 Track
32779 \begin_inset space ~
32780 \end_inset
32781
32782 Changes
32783 \family default
32784 .
32785 \end_layout
32786
32787 \begin_layout Standard
32788 Changes made in the document will then be highlighted by strokes and colors:
32789  
32790 \bar under
32791 \color blue
32792 underlined text
32793 \bar default
32794 \color inherit
32795  is an addition, 
32796 \strikeout on
32797 \color blue
32798 canceled text
32799 \strikeout default
32800 \color inherit
32801  is a deletion.
32802  The color depends on the author that made the change.
32803  You can change the color in 
32804 \family sans
32805 Tools\SpecialChar \menuseparator
32806 Preferences\SpecialChar \menuseparator
32807 Look
32808 \begin_inset space ~
32809 \end_inset
32810
32811 &
32812 \begin_inset space ~
32813 \end_inset
32814
32815 feel
32816 \family default
32817 \SpecialChar \menuseparator
32818
32819 \family sans
32820 Colors
32821 \family default
32822 .
32823 \begin_inset Index idx
32824 status collapsed
32825
32826 \begin_layout Plain Layout
32827 Color ! Change tracking
32828 \end_layout
32829
32830 \end_inset
32831
32832  The author and the date of the change are shown in LyX's status bar when
32833  the cursor is in changed text.
32834  The same information is shown when you use the toolbar button 
32835 \begin_inset Info
32836 type  "icon"
32837 arg   "changes-merge"
32838 \end_inset
32839
32840 .
32841 \end_layout
32842
32843 \begin_layout Standard
32844 When change tracking is activated, you will see the review toolbar in LyX:
32845 \begin_inset Index idx
32846 status collapsed
32847
32848 \begin_layout Plain Layout
32849 Toolbar ! Review
32850 \end_layout
32851
32852 \end_inset
32853
32854
32855 \end_layout
32856
32857 \begin_layout Standard
32858 \begin_inset VSpace defskip
32859 \end_inset
32860
32861
32862 \end_layout
32863
32864 \begin_layout Standard
32865 \begin_inset Graphics
32866         filename clipart/ChangesToolbar.png
32867         scale 90
32868
32869 \end_inset
32870
32871
32872 \end_layout
32873
32874 \begin_layout Standard
32875 \begin_inset VSpace defskip
32876 \end_inset
32877
32878
32879 \end_layout
32880
32881 \begin_layout Standard
32882 The review toolbar as shown above contains the following buttons:
32883 \end_layout
32884
32885 \begin_layout Standard
32886 \begin_inset VSpace defskip
32887 \end_inset
32888
32889
32890 \end_layout
32891
32892 \begin_layout Standard
32893 \begin_inset Tabular
32894 <lyxtabular version="3" rows="10" columns="2">
32895 <features rotate="0" islongtable="true" longtabularalignment="center">
32896 <column alignment="left" valignment="top">
32897 <column alignment="left" valignment="top">
32898 <row interlinespace="2.5mm">
32899 <cell alignment="center" valignment="top" usebox="none">
32900 \begin_inset Text
32901
32902 \begin_layout Plain Layout
32903
32904 \family sans
32905 \begin_inset Info
32906 type  "icon"
32907 arg   "changes-track"
32908 \end_inset
32909
32910
32911 \end_layout
32912
32913 \end_inset
32914 </cell>
32915 <cell alignment="center" valignment="top" usebox="none">
32916 \begin_inset Text
32917
32918 \begin_layout Plain Layout
32919
32920 \family sans
32921 Document\SpecialChar \menuseparator
32922 Change
32923 \begin_inset space ~
32924 \end_inset
32925
32926 Tracking\SpecialChar \menuseparator
32927 Track
32928 \begin_inset space ~
32929 \end_inset
32930
32931 Changes
32932 \end_layout
32933
32934 \end_inset
32935 </cell>
32936 </row>
32937 <row interlinespace="2.5mm">
32938 <cell alignment="center" valignment="top" usebox="none">
32939 \begin_inset Text
32940
32941 \begin_layout Plain Layout
32942
32943 \family sans
32944 \begin_inset Info
32945 type  "icon"
32946 arg   "changes-output"
32947 \end_inset
32948
32949
32950 \end_layout
32951
32952 \end_inset
32953 </cell>
32954 <cell alignment="center" valignment="top" usebox="none">
32955 \begin_inset Text
32956
32957 \begin_layout Plain Layout
32958
32959 \family sans
32960 Document\SpecialChar \menuseparator
32961 Change
32962 \begin_inset space ~
32963 \end_inset
32964
32965 Tracking\SpecialChar \menuseparator
32966 Show
32967 \begin_inset space ~
32968 \end_inset
32969
32970 Changes
32971 \begin_inset space ~
32972 \end_inset
32973
32974 in
32975 \begin_inset space ~
32976 \end_inset
32977
32978 Output
32979 \end_layout
32980
32981 \end_inset
32982 </cell>
32983 </row>
32984 <row interlinespace="2.5mm">
32985 <cell alignment="center" valignment="top" usebox="none">
32986 \begin_inset Text
32987
32988 \begin_layout Plain Layout
32989
32990 \family sans
32991 \begin_inset Info
32992 type  "icon"
32993 arg   "change-next"
32994 \end_inset
32995
32996
32997 \end_layout
32998
32999 \end_inset
33000 </cell>
33001 <cell alignment="center" valignment="top" usebox="none">
33002 \begin_inset Text
33003
33004 \begin_layout Plain Layout
33005 Jumps to the next change
33006 \end_layout
33007
33008 \end_inset
33009 </cell>
33010 </row>
33011 <row interlinespace="2.5mm">
33012 <cell alignment="center" valignment="top" usebox="none">
33013 \begin_inset Text
33014
33015 \begin_layout Plain Layout
33016
33017 \family sans
33018 \begin_inset Info
33019 type  "icon"
33020 arg   "change-accept"
33021 \end_inset
33022
33023
33024 \end_layout
33025
33026 \end_inset
33027 </cell>
33028 <cell alignment="center" valignment="top" usebox="none">
33029 \begin_inset Text
33030
33031 \begin_layout Plain Layout
33032
33033 \family sans
33034 Document\SpecialChar \menuseparator
33035 Change
33036 \begin_inset space ~
33037 \end_inset
33038
33039 Tracking\SpecialChar \menuseparator
33040 Accept
33041 \begin_inset space ~
33042 \end_inset
33043
33044 Change
33045 \end_layout
33046
33047 \end_inset
33048 </cell>
33049 </row>
33050 <row interlinespace="2.5mm">
33051 <cell alignment="center" valignment="top" usebox="none">
33052 \begin_inset Text
33053
33054 \begin_layout Plain Layout
33055
33056 \family sans
33057 \begin_inset Info
33058 type  "icon"
33059 arg   "change-reject"
33060 \end_inset
33061
33062
33063 \end_layout
33064
33065 \end_inset
33066 </cell>
33067 <cell alignment="center" valignment="top" usebox="none">
33068 \begin_inset Text
33069
33070 \begin_layout Plain Layout
33071
33072 \family sans
33073 Document\SpecialChar \menuseparator
33074 Change
33075 \begin_inset space ~
33076 \end_inset
33077
33078 Tracking\SpecialChar \menuseparator
33079 Reject
33080 \begin_inset space ~
33081 \end_inset
33082
33083 Change
33084 \end_layout
33085
33086 \end_inset
33087 </cell>
33088 </row>
33089 <row interlinespace="2.5mm">
33090 <cell alignment="center" valignment="top" usebox="none">
33091 \begin_inset Text
33092
33093 \begin_layout Plain Layout
33094
33095 \family sans
33096 \begin_inset Info
33097 type  "icon"
33098 arg   "changes-merge"
33099 \end_inset
33100
33101
33102 \end_layout
33103
33104 \end_inset
33105 </cell>
33106 <cell alignment="center" valignment="top" usebox="none">
33107 \begin_inset Text
33108
33109 \begin_layout Plain Layout
33110
33111 \family sans
33112 Document\SpecialChar \menuseparator
33113 Change
33114 \begin_inset space ~
33115 \end_inset
33116
33117 Tracking\SpecialChar \menuseparator
33118 Merge
33119 \begin_inset space ~
33120 \end_inset
33121
33122 Changes
33123 \end_layout
33124
33125 \end_inset
33126 </cell>
33127 </row>
33128 <row interlinespace="2.5mm">
33129 <cell alignment="center" valignment="top" usebox="none">
33130 \begin_inset Text
33131
33132 \begin_layout Plain Layout
33133
33134 \family sans
33135 \begin_inset Info
33136 type  "icon"
33137 arg   "all-changes-accept"
33138 \end_inset
33139
33140
33141 \end_layout
33142
33143 \end_inset
33144 </cell>
33145 <cell alignment="center" valignment="top" usebox="none">
33146 \begin_inset Text
33147
33148 \begin_layout Plain Layout
33149
33150 \family sans
33151 Document\SpecialChar \menuseparator
33152 Change
33153 \begin_inset space ~
33154 \end_inset
33155
33156 Tracking\SpecialChar \menuseparator
33157 Accept
33158 \begin_inset space ~
33159 \end_inset
33160
33161 All
33162 \begin_inset space ~
33163 \end_inset
33164
33165 Changes
33166 \end_layout
33167
33168 \end_inset
33169 </cell>
33170 </row>
33171 <row interlinespace="2.5mm">
33172 <cell alignment="center" valignment="top" usebox="none">
33173 \begin_inset Text
33174
33175 \begin_layout Plain Layout
33176
33177 \family sans
33178 \begin_inset Info
33179 type  "icon"
33180 arg   "all-changes-reject"
33181 \end_inset
33182
33183
33184 \end_layout
33185
33186 \end_inset
33187 </cell>
33188 <cell alignment="center" valignment="top" usebox="none">
33189 \begin_inset Text
33190
33191 \begin_layout Plain Layout
33192
33193 \family sans
33194 Document\SpecialChar \menuseparator
33195 Change
33196 \begin_inset space ~
33197 \end_inset
33198
33199 Tracking\SpecialChar \menuseparator
33200 Reject
33201 \begin_inset space ~
33202 \end_inset
33203
33204 All
33205 \begin_inset space ~
33206 \end_inset
33207
33208 Changes
33209 \end_layout
33210
33211 \end_inset
33212 </cell>
33213 </row>
33214 <row interlinespace="2.5mm">
33215 <cell alignment="center" valignment="top" usebox="none">
33216 \begin_inset Text
33217
33218 \begin_layout Plain Layout
33219
33220 \family sans
33221 \begin_inset Info
33222 type  "icon"
33223 arg   "note-insert"
33224 \end_inset
33225
33226
33227 \end_layout
33228
33229 \end_inset
33230 </cell>
33231 <cell alignment="center" valignment="top" usebox="none">
33232 \begin_inset Text
33233
33234 \begin_layout Plain Layout
33235
33236 \family sans
33237 Insert\SpecialChar \menuseparator
33238 Note\SpecialChar \menuseparator
33239 Ly
33240 \begin_inset ERT
33241 status collapsed
33242
33243 \begin_layout Plain Layout
33244
33245 {}
33246 \end_layout
33247
33248 \end_inset
33249
33250 X
33251 \begin_inset space ~
33252 \end_inset
33253
33254 Note
33255 \end_layout
33256
33257 \end_inset
33258 </cell>
33259 </row>
33260 <row interlinespace="2.5mm">
33261 <cell alignment="center" valignment="top" usebox="none">
33262 \begin_inset Text
33263
33264 \begin_layout Plain Layout
33265
33266 \family sans
33267 \begin_inset Info
33268 type  "icon"
33269 arg   "note-next"
33270 \end_inset
33271
33272
33273 \end_layout
33274
33275 \end_inset
33276 </cell>
33277 <cell alignment="center" valignment="top" usebox="none">
33278 \begin_inset Text
33279
33280 \begin_layout Plain Layout
33281
33282 \family sans
33283 Navigate\SpecialChar \menuseparator
33284 Next
33285 \begin_inset space ~
33286 \end_inset
33287
33288 Note
33289 \end_layout
33290
33291 \end_inset
33292 </cell>
33293 </row>
33294 </lyxtabular>
33295
33296 \end_inset
33297
33298
33299 \end_layout
33300
33301 \begin_layout Standard
33302 \begin_inset VSpace defskip
33303 \end_inset
33304
33305
33306 \end_layout
33307
33308 \begin_layout Standard
33309 Not all changes are (yet) visualized, especially no format changes like
33310  from 
33311 \emph on
33312 normal
33313 \emph default
33314  to 
33315 \emph on
33316 bold
33317 \emph default
33318  font or 
33319 \emph on
33320 Standard
33321 \emph default
33322  to 
33323 \emph on
33324 Description
33325 \emph default
33326  paragraph.
33327 \end_layout
33328
33329 \begin_layout Standard
33330 The review toolbar helps you to accept, reject, or merge changes – highlight
33331  the change and press one of the desired toolbar buttons.
33332  When you merge changes, a window pops up showing you information about
33333  the next change after the current cursor position.
33334  So you don't need to highlight a certain change.
33335  Within the merge window you can decide to accept or reject changes and
33336  step to the next change.
33337  This way you can jump through all the changes in the document.
33338 \end_layout
33339
33340 \begin_layout Standard
33341 The toolbar has two buttons to handle notes because notes are often important
33342  to describe a change.
33343 \end_layout
33344
33345 \begin_layout Standard
33346 To show the changes made in the output you need the LaTeX package 
33347 \series bold
33348 dvipost
33349 \series default
33350
33351 \begin_inset Index idx
33352 status collapsed
33353
33354 \begin_layout Plain Layout
33355 LaTeX-packages ! dvipost
33356 \end_layout
33357
33358 \end_inset
33359
33360  installed.
33361  You will find it in the TeX Catalogue, 
33362 \begin_inset CommandInset citation
33363 LatexCommand cite
33364 key "TeXCatalogue"
33365
33366 \end_inset
33367
33368  or in the package manager of your LaTeX-system.
33369 \end_layout
33370
33371 \begin_layout Section
33372 Comparison of Documents
33373 \begin_inset CommandInset label
33374 LatexCommand label
33375 name "sec:Comparison-of-Documents"
33376
33377 \end_inset
33378
33379
33380 \begin_inset Index idx
33381 status collapsed
33382
33383 \begin_layout Plain Layout
33384 Comparison of documents
33385 \end_layout
33386
33387 \end_inset
33388
33389
33390 \end_layout
33391
33392 \begin_layout Standard
33393 You can compare two different LyX files via the menu 
33394 \family sans
33395 Tools\SpecialChar \menuseparator
33396 Compare
33397 \family default
33398 .
33399  The comparison result is a LyX file with change tracking enabled showing
33400  the differences.
33401  In the comparison dialog you can select from which document LyX should
33402  take the document settings for the resulting difference file with the option
33403  
33404 \family sans
33405 Copy
33406 \begin_inset space ~
33407 \end_inset
33408
33409 Document
33410 \begin_inset space ~
33411 \end_inset
33412
33413 Settings
33414 \begin_inset space ~
33415 \end_inset
33416
33417 from
33418 \family default
33419 .
33420  The option 
33421 \family sans
33422 Enable
33423 \begin_inset space ~
33424 \end_inset
33425
33426 change
33427 \begin_inset space ~
33428 \end_inset
33429
33430 tracking
33431 \begin_inset space ~
33432 \end_inset
33433
33434 features
33435 \begin_inset space ~
33436 \end_inset
33437
33438 in
33439 \begin_inset space ~
33440 \end_inset
33441
33442 the
33443 \begin_inset space ~
33444 \end_inset
33445
33446 output
33447 \family default
33448  enables the change tracking option 
33449 \family sans
33450 Show
33451 \begin_inset space ~
33452 \end_inset
33453
33454 Changes
33455 \begin_inset space ~
33456 \end_inset
33457
33458 in
33459 \begin_inset space ~
33460 \end_inset
33461
33462 Output
33463 \family default
33464  to visualize the differences also in the PDF output of the difference file.
33465 \end_layout
33466
33467 \begin_layout Section
33468 International Support
33469 \begin_inset Index idx
33470 status collapsed
33471
33472 \begin_layout Plain Layout
33473 International support
33474 \end_layout
33475
33476 \end_inset
33477
33478
33479 \end_layout
33480
33481 \begin_layout Standard
33482 This section describes how to use LyX with any language you want.
33483  For some languages there are special Wiki-pages that explain how to set
33484  up LyX to use them: 
33485 \begin_inset CommandInset citation
33486 LatexCommand cite
33487 key "Arabic,Armenian,Farsi,Hebrew,Latvian,Lithuanian,Mongolian,Vietnamese"
33488
33489 \end_inset
33490
33491
33492 \end_layout
33493
33494 \begin_layout Standard
33495 Besides languages, LyX also supports phonetic symbols, see section
33496 \begin_inset space ~
33497 \end_inset
33498
33499
33500 \begin_inset CommandInset ref
33501 LatexCommand ref
33502 reference "sub:Special-Character"
33503
33504 \end_inset
33505
33506 .
33507 \end_layout
33508
33509 \begin_layout Subsection
33510 Language Options
33511 \begin_inset Index idx
33512 status collapsed
33513
33514 \begin_layout Plain Layout
33515 Language ! Options
33516 \end_layout
33517
33518 \end_inset
33519
33520
33521 \begin_inset Index idx
33522 status collapsed
33523
33524 \begin_layout Plain Layout
33525 Document ! Settings
33526 \end_layout
33527
33528 \end_inset
33529
33530
33531 \begin_inset Index idx
33532 status collapsed
33533
33534 \begin_layout Plain Layout
33535 Document ! Language
33536 \end_layout
33537
33538 \end_inset
33539
33540
33541 \end_layout
33542
33543 \begin_layout Standard
33544 The 
33545 \family sans
33546 Document\SpecialChar \menuseparator
33547 Settings\SpecialChar \menuseparator
33548 Language
33549 \family default
33550  dialog lets you set 
33551 \family roman
33552 the language, the quote style and character encoding
33553 \family default
33554 .
33555 \end_layout
33556
33557 \begin_layout Standard
33558 Under 
33559 \family sans
33560 Encoding
33561 \family default
33562  you can choose the character encoding map you want to use for LaTeX export.
33563  The option 
33564 \family sans
33565 Language
33566 \begin_inset space ~
33567 \end_inset
33568
33569 Default
33570 \family default
33571  is the preferred choice and works well in most cases.
33572  For details about the different encoding options see section
33573 \begin_inset space ~
33574 \end_inset
33575
33576
33577 \begin_inset CommandInset ref
33578 LatexCommand ref
33579 reference "sec:Language-encodings"
33580
33581 \end_inset
33582
33583 .
33584 \end_layout
33585
33586 \begin_layout Subsection
33587 Keyboard mapping configuration
33588 \begin_inset CommandInset label
33589 LatexCommand label
33590 name "sub:Keyboard-mapping"
33591
33592 \end_inset
33593
33594
33595 \end_layout
33596
33597 \begin_layout Standard
33598 If you have for example a U.
33599 \begin_inset space \thinspace{}
33600 \end_inset
33601
33602 S.-style keyboard and want to write in a language other than English, you
33603  can use an alternate keymap.
33604  For example, if you want to write in Italian, you can configure LyX to
33605  use an Italian keymap.
33606  The 
33607 \family sans
33608 Tools\SpecialChar \menuseparator
33609 Preferences\SpecialChar \menuseparator
33610 Editing\SpecialChar \menuseparator
33611 Keyboard/Mouse
33612 \family default
33613  dialog allows you to choose up to two keyboard mappings, see section
33614 \begin_inset space ~
33615 \end_inset
33616
33617
33618 \begin_inset CommandInset ref
33619 LatexCommand ref
33620 reference "sub:Keyboard-Map"
33621
33622 \end_inset
33623
33624 .
33625  You can choose primary and secondary keyboard languages and then select
33626  which one you want to use.
33627 \end_layout
33628
33629 \begin_layout Standard
33630 Finally, you may just want to change a few key mappings or create an entirely
33631  different keymap (for Vulcan, for instance).
33632  You may, for example, normally write in Italian on a U.
33633 \begin_inset space \thinspace{}
33634 \end_inset
33635
33636 S.-style keyboard but want to include an occasional quotation in German.
33637  In such a case, you can write your own keyboard mapping or modify an existing
33638  one to support the characters you want.
33639  This and many other customizations are explained in the 
33640 \emph on
33641 Customization
33642 \emph default
33643  manual.
33644 \end_layout
33645
33646 \begin_layout Chapter
33647 \start_of_appendix
33648 The User Interface
33649 \begin_inset CommandInset label
33650 LatexCommand label
33651 name "chap:The-User-Interface"
33652
33653 \end_inset
33654
33655
33656 \end_layout
33657
33658 \begin_layout Standard
33659 This appendix lists all the available menus and describes their functionality.
33660  It is designed as a quick reference if you are searching for a special
33661  topic inside the user's guide.
33662 \end_layout
33663
33664 \begin_layout Section
33665 The File Menu
33666 \begin_inset Index idx
33667 status collapsed
33668
33669 \begin_layout Plain Layout
33670 Menu ! File
33671 \end_layout
33672
33673 \end_inset
33674
33675
33676 \end_layout
33677
33678 \begin_layout Standard
33679 Under the 
33680 \family sans
33681 File
33682 \family default
33683  menu are the basic operations in addition to some more advanced operations.
33684 \end_layout
33685
33686 \begin_layout Subsection
33687 New
33688 \end_layout
33689
33690 \begin_layout Standard
33691 Creates a new document.
33692 \end_layout
33693
33694 \begin_layout Subsection
33695 New from Template
33696 \end_layout
33697
33698 \begin_layout Standard
33699 This menu entry prompts you for a template to use.
33700  Selecting a template will automatically set certain layout features for
33701  the document, features you would otherwise need to change manually.
33702 \end_layout
33703
33704 \begin_layout Subsection
33705 Open
33706 \end_layout
33707
33708 \begin_layout Standard
33709 Opens a document.
33710 \end_layout
33711
33712 \begin_layout Subsection
33713 Open Recent
33714 \end_layout
33715
33716 \begin_layout Standard
33717 The submenu shows a list of the recently opened files.
33718  Click there on a file to open it.
33719 \end_layout
33720
33721 \begin_layout Subsection
33722 Close
33723 \end_layout
33724
33725 \begin_layout Standard
33726 Closes the current document.
33727 \end_layout
33728
33729 \begin_layout Subsection
33730 Close All
33731 \end_layout
33732
33733 \begin_layout Standard
33734 Closes all opened documents.
33735 \end_layout
33736
33737 \begin_layout Subsection
33738 Save
33739 \end_layout
33740
33741 \begin_layout Standard
33742 Saves the actual document.
33743 \end_layout
33744
33745 \begin_layout Subsection
33746 Save As
33747 \end_layout
33748
33749 \begin_layout Standard
33750 Saves the actual document under a new name to create a copy.
33751 \end_layout
33752
33753 \begin_layout Subsection
33754 Save All
33755 \end_layout
33756
33757 \begin_layout Standard
33758 Saves all opened documents.
33759 \end_layout
33760
33761 \begin_layout Subsection
33762 Revert to saved
33763 \end_layout
33764
33765 \begin_layout Standard
33766 Reloads the actual document from disk.
33767 \end_layout
33768
33769 \begin_layout Subsection
33770 Version Control
33771 \end_layout
33772
33773 \begin_layout Standard
33774 This is used when multiple people are working on the same document or when
33775  one person wants to keep a careful archive of changes.
33776  It is described in the section 
33777 \emph on
33778 Version Control in LyX
33779 \emph default
33780  of the 
33781 \emph on
33782 Additional Features
33783 \emph default
33784  manual.
33785 \end_layout
33786
33787 \begin_layout Subsection
33788 Import
33789 \end_layout
33790
33791 \begin_layout Standard
33792 Here you can import files from older LyX-versions, HTML-files, LaTeX-files,
33793  NoWeb-files, plain text files and comma separated, table-like text files
33794  (CSV).
33795  The files will be imported as a new LyX-document.
33796 \end_layout
33797
33798 \begin_layout Standard
33799 When using the menu entry 
33800 \family sans
33801 Plain
33802 \begin_inset space ~
33803 \end_inset
33804
33805 text
33806 \family default
33807 , line breaks in the text will start a new paragraph; when using the menu
33808  entry 
33809 \family sans
33810 Plain
33811 \begin_inset space ~
33812 \end_inset
33813
33814 Text,
33815 \begin_inset space ~
33816 \end_inset
33817
33818 Join
33819 \begin_inset space ~
33820 \end_inset
33821
33822 Lines
33823 \family default
33824 , consecutive lines of text will be imported to one big paragraph.
33825  A new paragraph will begin when there is a blank line in the file.
33826 \end_layout
33827
33828 \begin_layout Subsection
33829 Export
33830 \begin_inset CommandInset label
33831 LatexCommand label
33832 name "sub:Export"
33833
33834 \end_inset
33835
33836
33837 \end_layout
33838
33839 \begin_layout Standard
33840 You can export your document to various file formats.
33841  The resulting files are placed in the directory of your LyX-file.
33842  The menu entries are not the same on all installations.
33843  They depend on the programs found by LyX during its configuration.
33844 \end_layout
33845
33846 \begin_layout Standard
33847 Here is a list of all available entries; some of them are explained in detail
33848  in section
33849 \begin_inset space ~
33850 \end_inset
33851
33852
33853 \begin_inset CommandInset ref
33854 LatexCommand ref
33855 reference "sub:Output-file-formats"
33856
33857 \end_inset
33858
33859 :
33860 \end_layout
33861
33862 \begin_layout Description
33863
33864 \family sans
33865 CJK
33866 \family default
33867
33868 \begin_inset space ~
33869 \end_inset
33870
33871 L
33872 \begin_inset ERT
33873 status collapsed
33874
33875 \begin_layout Plain Layout
33876
33877 {}
33878 \end_layout
33879
33880 \end_inset
33881
33882 yX format of the special LyX
33883 \begin_inset space ~
33884 \end_inset
33885
33886 1.4.x versions for Chinese, Japanese and Korean (CJK)
33887 \begin_inset Newline newline
33888 \end_inset
33889
33890  Since LyX 1.5.0 CJK support has been fully integrated into LyX.
33891 \end_layout
33892
33893 \begin_layout Description
33894 DocBook text file with code in the language SGML that is used for the markup
33895  language 
33896 \family typewriter
33897 DocBook
33898 \end_layout
33899
33900 \begin_layout Description
33901 DocBook
33902 \begin_inset space ~
33903 \end_inset
33904
33905 (XML) text file with code in the language XML that is used for the markup
33906  language 
33907 \family typewriter
33908 DocBook
33909 \end_layout
33910
33911 \begin_layout Description
33912 DraftDVI LaTeX's native DVI-format.
33913  This format is not suitable if you have special characters or spaces in
33914  files paths or file names in your document.
33915  LyX use this format internally as a pre-stage to export to 
33916 \family sans
33917 DVI
33918 \family default
33919 .
33920 \end_layout
33921
33922 \begin_layout Description
33923 DVI DVI-format that also allows the useage of special characters or spaces
33924  in files paths or file names
33925 \end_layout
33926
33927 \begin_layout Description
33928 DVI
33929 \begin_inset space ~
33930 \end_inset
33931
33932 (LuaT
33933 \begin_inset ERT
33934 status collapsed
33935
33936 \begin_layout Plain Layout
33937
33938 {}
33939 \end_layout
33940
33941 \end_inset
33942
33943 eX) DVI-format using the program 
33944 \family typewriter
33945 LuaTeX
33946 \family default
33947 ; supports Unicode and the usage of non-TeX fonts; 
33948 \series bold
33949
33950 \begin_inset Note Greyedout
33951 status open
33952
33953 \begin_layout Plain Layout
33954
33955 \series bold
33956 Note:
33957 \series default
33958  not all DVI-viewers are currently able to display this output format properly.
33959 \end_layout
33960
33961 \end_inset
33962
33963
33964 \end_layout
33965
33966 \begin_layout Description
33967 Graphviz
33968 \begin_inset space ~
33969 \end_inset
33970
33971 Dot text file with code in the programming language 
33972 \family typewriter
33973 Dot
33974 \family default
33975  which is used to draw visualizations of graphs via the program 
33976 \family typewriter
33977 Graphviz
33978 \end_layout
33979
33980 \begin_layout Description
33981 HTML HTML-format (the HTML-converter is a third-party product and may not
33982  work in all cases)
33983 \end_layout
33984
33985 \begin_layout Description
33986 HTML
33987 \begin_inset space ~
33988 \end_inset
33989
33990 (MS
33991 \begin_inset space ~
33992 \end_inset
33993
33994 Word) HTML-format specialized so that the result can be imported to 
33995 \family sans
33996 MS Word
33997 \family default
33998 ; as a consequence of this formulas will be embedded as bitmap fonts and
33999  not in the format 
34000 \family sans
34001 MathML
34002 \family default
34003 .
34004 \end_layout
34005
34006 \begin_layout Description
34007
34008 \family sans
34009 LaT
34010 \begin_inset ERT
34011 status collapsed
34012
34013 \begin_layout Plain Layout
34014
34015 {}
34016 \end_layout
34017
34018 \end_inset
34019
34020 eX
34021 \begin_inset space ~
34022 \end_inset
34023
34024 (
34025 \family default
34026 LuaT
34027 \family sans
34028
34029 \begin_inset ERT
34030 status collapsed
34031
34032 \begin_layout Plain Layout
34033
34034 {}
34035 \end_layout
34036
34037 \end_inset
34038
34039
34040 \family default
34041 eX
34042 \family sans
34043
34044 \family default
34045 text file with the LaTeX source that is compilable with the program 
34046 \family typewriter
34047 LuaTeX
34048 \end_layout
34049
34050 \begin_layout Description
34051
34052 \family sans
34053 LaT
34054 \begin_inset ERT
34055 status collapsed
34056
34057 \begin_layout Plain Layout
34058
34059 {}
34060 \end_layout
34061
34062 \end_inset
34063
34064 eX
34065 \begin_inset space ~
34066 \end_inset
34067
34068 (pdflatex)
34069 \family default
34070  text file with the LaTeX source, additionally all images used in the document
34071  will be converted to a format that is readable by the 
34072 \family typewriter
34073 pdflatex
34074 \family default
34075  program (GIF, JPG, PDF, PNG)
34076 \end_layout
34077
34078 \begin_layout Description
34079
34080 \family sans
34081 LaT
34082 \begin_inset ERT
34083 status collapsed
34084
34085 \begin_layout Plain Layout
34086
34087 {}
34088 \end_layout
34089
34090 \end_inset
34091
34092 eX
34093 \begin_inset space ~
34094 \end_inset
34095
34096 (plain)
34097 \family default
34098  text file with the LaTeX source code, additionally all images used in the
34099  document will be converted to the EPS-format, only this format is readable
34100  by the 
34101 \family typewriter
34102 latex
34103 \family default
34104  program
34105 \end_layout
34106
34107 \begin_layout Description
34108
34109 \family sans
34110 LaT
34111 \begin_inset ERT
34112 status collapsed
34113
34114 \begin_layout Plain Layout
34115
34116 {}
34117 \end_layout
34118
34119 \end_inset
34120
34121 eX
34122 \begin_inset space ~
34123 \end_inset
34124
34125 (
34126 \family default
34127 XeT
34128 \family sans
34129
34130 \begin_inset ERT
34131 status collapsed
34132
34133 \begin_layout Plain Layout
34134
34135 {}
34136 \end_layout
34137
34138 \end_inset
34139
34140
34141 \family default
34142 eX
34143 \family sans
34144
34145 \family default
34146 text file with the LaTeX source that is compilable with the program 
34147 \family typewriter
34148 XeTeX
34149 \end_layout
34150
34151 \begin_layout Description
34152 LilyPond
34153 \begin_inset space ~
34154 \end_inset
34155
34156 book
34157 \begin_inset space ~
34158 \end_inset
34159
34160 (La
34161 \family sans
34162
34163 \begin_inset ERT
34164 status collapsed
34165
34166 \begin_layout Plain Layout
34167
34168 {}
34169 \end_layout
34170
34171 \end_inset
34172
34173
34174 \family default
34175 TeX) text file with the LaTeX source and also code in the syntax of the
34176  music notation software 
34177 \family typewriter
34178 LilyPond
34179 \end_layout
34180
34181 \begin_layout Description
34182 L
34183 \family sans
34184
34185 \begin_inset ERT
34186 status collapsed
34187
34188 \begin_layout Plain Layout
34189
34190 {}
34191 \end_layout
34192
34193 \end_inset
34194
34195
34196 \family default
34197 yX
34198 \begin_inset space ~
34199 \end_inset
34200
34201 Archive
34202 \begin_inset space ~
34203 \end_inset
34204
34205 (zip|tar.gz) creates a zip-archive or a tar.gz-archive file (depending upon
34206  your system) that contains your document and all files that are necessary
34207  to compile it (images, child documents, BibTeX files, etc.)
34208 \end_layout
34209
34210 \begin_layout Description
34211 L
34212 \family sans
34213
34214 \begin_inset ERT
34215 status collapsed
34216
34217 \begin_layout Plain Layout
34218
34219 {}
34220 \end_layout
34221
34222 \end_inset
34223
34224
34225 \family default
34226 yX
34227 \begin_inset space ~
34228 \end_inset
34229
34230 z.y.x LyX-Document in a format readable by the LyX versions z.y.x (
34231 \begin_inset Quotes eld
34232 \end_inset
34233
34234 z
34235 \begin_inset Quotes erd
34236 \end_inset
34237
34238  and 
34239 \begin_inset Quotes eld
34240 \end_inset
34241
34242 y
34243 \begin_inset Quotes erd
34244 \end_inset
34245
34246  represent the version number)
34247 \end_layout
34248
34249 \begin_layout Description
34250 L
34251 \family sans
34252
34253 \begin_inset ERT
34254 status collapsed
34255
34256 \begin_layout Plain Layout
34257
34258 {}
34259 \end_layout
34260
34261 \end_inset
34262
34263
34264 \family default
34265 yXHTML HTML-format using LyX's internal XHTML engine
34266 \end_layout
34267
34268 \begin_layout Description
34269 NoWeb text file with code in the format of the literate programming language
34270 \family typewriter
34271  NoWeb
34272 \end_layout
34273
34274 \begin_layout Description
34275 OpenDocument OpenDocument-formatted file, to be opened with 
34276 \family sans
34277 LibreOffice, OpenOffice, KOffice, Abiword
34278 \family default
34279 , etc.
34280  (The OpenDocument-converter is a third-party product and may not work in
34281  all cases)
34282 \end_layout
34283
34284 \begin_layout Description
34285
34286 \family sans
34287 PDF
34288 \begin_inset space ~
34289 \end_inset
34290
34291 (dvipdfm)
34292 \family default
34293  PDF-format using the program 
34294 \family typewriter
34295 dvipdfm
34296 \family default
34297 , produces internally a DVI-file which is then converted to a PDF-file
34298 \end_layout
34299
34300 \begin_layout Description
34301
34302 \family sans
34303 PDF
34304 \begin_inset space ~
34305 \end_inset
34306
34307 (LuaT
34308 \begin_inset ERT
34309 status collapsed
34310
34311 \begin_layout Plain Layout
34312
34313 {}
34314 \end_layout
34315
34316 \end_inset
34317
34318 eX)
34319 \family default
34320  PDF-format using the program 
34321 \family typewriter
34322 LuaTeX
34323 \family default
34324 , produces PDF-files directly
34325 \end_layout
34326
34327 \begin_layout Description
34328
34329 \family sans
34330 PDF
34331 \begin_inset space ~
34332 \end_inset
34333
34334 (pdflatex)
34335 \family default
34336  PDF-format using the program 
34337 \family typewriter
34338 pdflatex
34339 \family default
34340 , produces PDF-files directly
34341 \end_layout
34342
34343 \begin_layout Description
34344
34345 \family sans
34346 PDF
34347 \begin_inset space ~
34348 \end_inset
34349
34350 (ps2pdf)
34351 \family default
34352  PDF-format using the program 
34353 \family typewriter
34354 ps2pdf
34355 \family default
34356 , produces internally a PostScript-file which is then converted to a PDF-file
34357 \end_layout
34358
34359 \begin_layout Description
34360
34361 \family sans
34362 PDF
34363 \begin_inset space ~
34364 \end_inset
34365
34366 (XeT
34367 \begin_inset ERT
34368 status collapsed
34369
34370 \begin_layout Plain Layout
34371
34372 {}
34373 \end_layout
34374
34375 \end_inset
34376
34377 eX)
34378 \family default
34379  PDF-format using the program 
34380 \family typewriter
34381 XeTeX
34382 \family default
34383 , produces PDF-files directly
34384 \end_layout
34385
34386 \begin_layout Description
34387
34388 \family sans
34389 Plain
34390 \begin_inset space ~
34391 \end_inset
34392
34393 text
34394 \family default
34395  text format
34396 \end_layout
34397
34398 \begin_layout Description
34399
34400 \family sans
34401 Plain
34402 \begin_inset space ~
34403 \end_inset
34404
34405 text
34406 \begin_inset space ~
34407 \end_inset
34408
34409 (ps2ascii)
34410 \family default
34411  text format, the document will first be converted to Postscript format
34412  and then exported as text using the program 
34413 \family sans
34414 ps2ascii
34415 \end_layout
34416
34417 \begin_layout Description
34418
34419 \family sans
34420 Postscript
34421 \family default
34422  PostScript format using the program 
34423 \family typewriter
34424 dvips
34425 \end_layout
34426
34427 \begin_layout Description
34428 Sweave text file with the LaTeX source and also code in the statistical
34429  programming language 
34430 \family typewriter
34431 R
34432 \family default
34433 .
34434  Using the 
34435 \family typewriter
34436 R
34437 \family default
34438 -function 
34439 \family typewriter
34440 Sweave
34441 \family default
34442  it is possible to use 
34443 \family typewriter
34444 R
34445 \family default
34446 -commands in LaTeX
34447 \end_layout
34448
34449 \begin_layout Standard
34450 If one of the menu entries 
34451 \family sans
34452 DVI
34453 \family default
34454
34455 \family sans
34456 PDF
34457 \begin_inset space ~
34458 \end_inset
34459
34460 (pdflatex)
34461 \family default
34462  or 
34463 \family sans
34464 Postscript
34465 \family default
34466  is missing, you need to update your LaTeX installation.
34467  After updating you have to reconfigure LyX, see section
34468 \begin_inset space ~
34469 \end_inset
34470
34471
34472 \begin_inset CommandInset ref
34473 LatexCommand ref
34474 reference "sec:Basic-LyX-Setup"
34475
34476 \end_inset
34477
34478 .
34479 \begin_inset Index idx
34480 status collapsed
34481
34482 \begin_layout Plain Layout
34483 Reconfiguration of LyX
34484 \end_layout
34485
34486 \end_inset
34487
34488
34489 \end_layout
34490
34491 \begin_layout Subsection
34492 Print
34493 \end_layout
34494
34495 \begin_layout Standard
34496 With this menu entry you can print your document to a file in PostScript
34497  format or send it to a printer.
34498  The printer will also use the document in PostScript format.
34499  The conversion to PostScript is done in the background by LyX using the
34500  program 
34501 \family typewriter
34502 dvips
34503 \family default
34504 .
34505  For more information have a look at section
34506 \begin_inset space ~
34507 \end_inset
34508
34509
34510 \begin_inset CommandInset ref
34511 LatexCommand ref
34512 reference "sub:Printing-the-File"
34513
34514 \end_inset
34515
34516 .
34517 \end_layout
34518
34519 \begin_layout Subsection
34520 Fax
34521 \end_layout
34522
34523 \begin_layout Standard
34524 This menu entry will only appear if you have a fax program installed (on
34525  Windows you additionally need to register its program path to LyX's PATH
34526  prefix, see section
34527 \begin_inset space ~
34528 \end_inset
34529
34530
34531 \begin_inset CommandInset ref
34532 LatexCommand ref
34533 reference "sec:Paths"
34534
34535 \end_inset
34536
34537 ).
34538  With this menu entry you can send your document to a fax program like 
34539 \family typewriter
34540 hylapex
34541 \family default
34542  or 
34543 \family typewriter
34544 kdeprintfax
34545 \family default
34546 .
34547  The default format of the sent file is PostScript.
34548  The format can be changed in LyX's preferences as described in section
34549 \begin_inset space ~
34550 \end_inset
34551
34552
34553 \begin_inset CommandInset ref
34554 LatexCommand ref
34555 reference "sub:Converters"
34556
34557 \end_inset
34558
34559 .
34560 \end_layout
34561
34562 \begin_layout Subsection
34563 New and Close Window
34564 \end_layout
34565
34566 \begin_layout Standard
34567 Opens or closes a new instance of LyX.
34568 \end_layout
34569
34570 \begin_layout Subsection
34571 Exit
34572 \end_layout
34573
34574 \begin_layout Standard
34575 Prompts you to save all unsaved documents and then exits.
34576 \end_layout
34577
34578 \begin_layout Section
34579 The Edit Menu
34580 \begin_inset Index idx
34581 status collapsed
34582
34583 \begin_layout Plain Layout
34584 Menu ! Edit
34585 \end_layout
34586
34587 \end_inset
34588
34589
34590 \end_layout
34591
34592 \begin_layout Subsection
34593 Undo and Redo
34594 \end_layout
34595
34596 \begin_layout Standard
34597 Described in section
34598 \begin_inset space ~
34599 \end_inset
34600
34601
34602 \begin_inset CommandInset ref
34603 LatexCommand ref
34604 reference "sec:Undo-and-Redo"
34605
34606 \end_inset
34607
34608 .
34609 \end_layout
34610
34611 \begin_layout Subsection
34612 Cut, Copy, Paste, Paste Recent, Paste Special
34613 \end_layout
34614
34615 \begin_layout Standard
34616 Described in section
34617 \begin_inset space ~
34618 \end_inset
34619
34620
34621 \begin_inset CommandInset ref
34622 LatexCommand ref
34623 reference "sec:Basic-Editing-Features"
34624
34625 \end_inset
34626
34627 .
34628 \end_layout
34629
34630 \begin_layout Subsection
34631 Select Whole Inset
34632 \end_layout
34633
34634 \begin_layout Standard
34635 Selects the content of the inset in which the cursor currently is.
34636  If the cursor is outside an inset, the whole document will be selected.
34637 \end_layout
34638
34639 \begin_layout Subsection
34640 Select All
34641 \end_layout
34642
34643 \begin_layout Standard
34644 Selects the whole document.
34645 \end_layout
34646
34647 \begin_layout Subsection
34648 Find & Replace (Quick)
34649 \end_layout
34650
34651 \begin_layout Standard
34652 Described in section
34653 \begin_inset space ~
34654 \end_inset
34655
34656
34657 \begin_inset CommandInset ref
34658 LatexCommand ref
34659 reference "sec:Basic-Editing-Features"
34660
34661 \end_inset
34662
34663 .
34664 \end_layout
34665
34666 \begin_layout Subsection
34667 Find & Replace (Advanced)
34668 \end_layout
34669
34670 \begin_layout Standard
34671 Described in section
34672 \begin_inset space ~
34673 \end_inset
34674
34675
34676 \begin_inset CommandInset ref
34677 LatexCommand ref
34678 reference "sec:Advanced-Find-and"
34679
34680 \end_inset
34681
34682 .
34683 \end_layout
34684
34685 \begin_layout Subsection
34686 Move Paragraph Up/Down
34687 \end_layout
34688
34689 \begin_layout Standard
34690 This shifts the paragraph in which the cursor currently is one paragraph
34691  up or down.
34692 \end_layout
34693
34694 \begin_layout Subsection
34695 Text Style
34696 \end_layout
34697
34698 \begin_layout Standard
34699 Described in section
34700 \begin_inset space ~
34701 \end_inset
34702
34703
34704 \begin_inset CommandInset ref
34705 LatexCommand ref
34706 reference "sub:Fine-Tuning-with-the"
34707
34708 \end_inset
34709
34710 .
34711 \end_layout
34712
34713 \begin_layout Subsection
34714 Paragraph Settings
34715 \begin_inset Index idx
34716 status collapsed
34717
34718 \begin_layout Plain Layout
34719 Paragraph ! Settings
34720 \end_layout
34721
34722 \end_inset
34723
34724
34725 \end_layout
34726
34727 \begin_layout Standard
34728 Enables you to set the paragraph alignment, line spacing and label width.
34729  These settings only affect the paragraph in which the cursor is currently
34730  in.
34731 \end_layout
34732
34733 \begin_layout Standard
34734 You can also prevent the first line of the paragraph being indented if you
34735  have chosen to separate paragraphs with 
34736 \family sans
34737 Indentation
34738 \family default
34739  in the 
34740 \family sans
34741 Document\SpecialChar \menuseparator
34742 Settings\SpecialChar \menuseparator
34743 Text
34744 \begin_inset space ~
34745 \end_inset
34746
34747 Layout
34748 \family default
34749  dialog.
34750 \end_layout
34751
34752 \begin_layout Subsection
34753 Table
34754 \end_layout
34755
34756 \begin_layout Standard
34757 This menu only appears if the cursor is inside a table.
34758  It allows you to create multicolumn and multirow cells, add or remove borders
34759  of a cell and to set the vertical alignment of the cell.Table Settings and
34760  Math
34761 \end_layout
34762
34763 \begin_layout Standard
34764 These two menus are only fully active if the cursor is inside a table or
34765  a formula.
34766  Here you can change the properties of tables and formulas.
34767  The properties of tables are described in section
34768 \begin_inset space ~
34769 \end_inset
34770
34771
34772 \begin_inset CommandInset ref
34773 LatexCommand ref
34774 reference "sec:Tables"
34775
34776 \end_inset
34777
34778 , the properties of formulas in chapter
34779 \begin_inset space ~
34780 \end_inset
34781
34782
34783 \begin_inset CommandInset ref
34784 LatexCommand ref
34785 reference "chap:Mathematical-Formulas"
34786
34787 \end_inset
34788
34789 .
34790 \end_layout
34791
34792 \begin_layout Subsection
34793 Increase/Decrease List Depth
34794 \end_layout
34795
34796 \begin_layout Standard
34797 These menu entries are only active if the cursor is in an environment that
34798  can be nested.
34799  They increase/decrease the environment nesting level as explained in section
34800 \begin_inset space ~
34801 \end_inset
34802
34803
34804 \begin_inset CommandInset ref
34805 LatexCommand ref
34806 reference "sec:Nesting"
34807
34808 \end_inset
34809
34810  and 
34811 \begin_inset CommandInset ref
34812 LatexCommand ref
34813 reference "sub:Numbering-depth"
34814
34815 \end_inset
34816
34817 .
34818 \end_layout
34819
34820 \begin_layout Section
34821 The View Menu
34822 \begin_inset Index idx
34823 status collapsed
34824
34825 \begin_layout Plain Layout
34826 Menu ! View
34827 \end_layout
34828
34829 \end_inset
34830
34831
34832 \end_layout
34833
34834 \begin_layout Standard
34835 At the bottom of the 
34836 \family sans
34837 View
34838 \family default
34839  menu the opened documents are listed.
34840 \end_layout
34841
34842 \begin_layout Subsection
34843 Open/Close all Insets
34844 \end_layout
34845
34846 \begin_layout Standard
34847 Opens/closes all insets in your document.
34848 \end_layout
34849
34850 \begin_layout Subsection
34851 Unfold/Fold Math Macros
34852 \end_layout
34853
34854 \begin_layout Standard
34855 Unfolds/folds the current math macro.
34856 \end_layout
34857
34858 \begin_layout Standard
34859 Math macros are described in the 
34860 \emph on
34861 Math
34862 \emph default
34863  manual.
34864 \end_layout
34865
34866 \begin_layout Subsection
34867 Outline Pane
34868 \end_layout
34869
34870 \begin_layout Standard
34871 Shows the outline window as described in sections
34872 \begin_inset space ~
34873 \end_inset
34874
34875
34876 \begin_inset CommandInset ref
34877 LatexCommand ref
34878 reference "sec:Navigating"
34879
34880 \end_inset
34881
34882  and 
34883 \begin_inset CommandInset ref
34884 LatexCommand ref
34885 reference "sub:Table-of-Contents"
34886
34887 \end_inset
34888
34889 .
34890 \end_layout
34891
34892 \begin_layout Subsection
34893 Source Pane
34894 \end_layout
34895
34896 \begin_layout Standard
34897 Opens a window showing the source code of the actual document, as described
34898  in section
34899 \begin_inset space ~
34900 \end_inset
34901
34902
34903 \begin_inset CommandInset ref
34904 LatexCommand ref
34905 reference "sec:Previewing-snippets-of"
34906
34907 \end_inset
34908
34909 .
34910 \end_layout
34911
34912 \begin_layout Subsection
34913 Messages Pane
34914 \end_layout
34915
34916 \begin_layout Standard
34917 Opens a window showing console messages.
34918  This is useful for debugging LyX (i.
34919 \begin_inset space \thinspace{}
34920 \end_inset
34921
34922 e., hunt for errors in the program) or to see what is going on in the background
34923  while LaTeX is processing the document.
34924 \end_layout
34925
34926 \begin_layout Subsection
34927 Toolbars
34928 \begin_inset CommandInset label
34929 LatexCommand label
34930 name "sub:Toolbars"
34931
34932 \end_inset
34933
34934
34935 \begin_inset Index idx
34936 status collapsed
34937
34938 \begin_layout Plain Layout
34939 Toolbar
34940 \end_layout
34941
34942 \end_inset
34943
34944
34945 \end_layout
34946
34947 \begin_layout Standard
34948 In this menu entry you can set the appearance of the different toolbars.
34949  All toolbars and the 
34950 \family sans
34951 Command
34952 \begin_inset space ~
34953 \end_inset
34954
34955 Buffer
34956 \family default
34957  can be turned on and off.
34958  The 
34959 \emph on
34960 on
34961 \emph default
34962  state is denoted in the menu with a checkmark.
34963  The 
34964 \family sans
34965 Table
34966 \family default
34967
34968 \family sans
34969 Math,
34970 \family default
34971  
34972 \family sans
34973 Math
34974 \begin_inset space ~
34975 \end_inset
34976
34977 Macros,
34978 \family default
34979  
34980 \family sans
34981 Review
34982 \family default
34983  and 
34984 \family sans
34985 Math
34986 \begin_inset space ~
34987 \end_inset
34988
34989 Panels
34990 \family default
34991  toolbars can additionally be set to the state 
34992 \emph on
34993 automatic
34994 \emph default
34995 , denoted in the menu with the suffix 
34996 \family sans
34997 (auto)
34998 \family default
34999 .
35000 \end_layout
35001
35002 \begin_layout Standard
35003 In the 
35004 \emph on
35005 on
35006 \emph default
35007  state the toolbar is permanently shown; in the 
35008 \emph on
35009 automatic
35010 \emph default
35011  state the toolbar is only shown when the cursor is in a certain environment
35012  or when a certain feature is enabled.
35013  That means that the review toolbar will only be shown if change tracking
35014  is activated, the math and table toolbars are only shown if the cursor
35015  is inside a formula or table respectively.
35016 \end_layout
35017
35018 \begin_layout Standard
35019 LyX's toolbars and their buttons are explained in section
35020 \begin_inset space ~
35021 \end_inset
35022
35023
35024 \begin_inset CommandInset ref
35025 LatexCommand ref
35026 reference "sec:Toolbars"
35027
35028 \end_inset
35029
35030 .
35031 \end_layout
35032
35033 \begin_layout Subsection
35034 Split View
35035 \end_layout
35036
35037 \begin_layout Standard
35038
35039 \family sans
35040 Split
35041 \begin_inset space ~
35042 \end_inset
35043
35044 View
35045 \begin_inset space ~
35046 \end_inset
35047
35048 into
35049 \begin_inset space ~
35050 \end_inset
35051
35052 Left
35053 \begin_inset space ~
35054 \end_inset
35055
35056 and
35057 \begin_inset space ~
35058 \end_inset
35059
35060 Right
35061 \begin_inset space ~
35062 \end_inset
35063
35064 Half
35065 \family default
35066  will split LyX's main window vertically while 
35067 \family sans
35068 Split
35069 \begin_inset space ~
35070 \end_inset
35071
35072 View
35073 \begin_inset space ~
35074 \end_inset
35075
35076 into
35077 \begin_inset space ~
35078 \end_inset
35079
35080 Upper
35081 \begin_inset space ~
35082 \end_inset
35083
35084 and
35085 \begin_inset space ~
35086 \end_inset
35087
35088 Lower
35089 \begin_inset space ~
35090 \end_inset
35091
35092 Half
35093 \family default
35094  will split it horizontally.
35095  This allows you to view documents at the same time to compare them, or
35096  to view the same document, but at different positions.
35097  You can even split the main window several times to view, for example,
35098  three or more documents at the same time.
35099  To close a split view, use the menu 
35100 \family sans
35101 Close
35102 \begin_inset space ~
35103 \end_inset
35104
35105 Current
35106 \begin_inset space ~
35107 \end_inset
35108
35109 View
35110 \family default
35111 .
35112 \end_layout
35113
35114 \begin_layout Subsection
35115 Close Current View
35116 \end_layout
35117
35118 \begin_layout Standard
35119 Closes a split view.
35120 \end_layout
35121
35122 \begin_layout Subsection
35123 Fullscreen
35124 \end_layout
35125
35126 \begin_layout Standard
35127 Using this menu entry or pressing F11 removes the menu bar and all toolbars
35128  so that you will see nothing but your text.
35129  It furthermore displays LyX's main window fullscreen.
35130  To return from fullscreen to the normal view, press F11, or right-click
35131  and turn off the fullscreen mode in the context menu.
35132 \end_layout
35133
35134 \begin_layout Section
35135 The Insert Menu
35136 \begin_inset Index idx
35137 status collapsed
35138
35139 \begin_layout Plain Layout
35140 Menu ! Insert
35141 \end_layout
35142
35143 \end_inset
35144
35145
35146 \end_layout
35147
35148 \begin_layout Subsection
35149 Math
35150 \end_layout
35151
35152 \begin_layout Standard
35153 Inserts math constructs that are explained in chapter
35154 \begin_inset space ~
35155 \end_inset
35156
35157
35158 \begin_inset CommandInset ref
35159 LatexCommand ref
35160 reference "chap:Mathematical-Formulas"
35161
35162 \end_inset
35163
35164  and the 
35165 \emph on
35166 Math
35167 \emph default
35168  manual.
35169 \end_layout
35170
35171 \begin_layout Subsection
35172 Special Character
35173 \begin_inset CommandInset label
35174 LatexCommand label
35175 name "sub:Special-Character"
35176
35177 \end_inset
35178
35179
35180 \end_layout
35181
35182 \begin_layout Standard
35183 Here you can insert the following characters:
35184 \end_layout
35185
35186 \begin_layout Description
35187 Symbols Opens the 
35188 \family sans
35189 Symbols
35190 \family default
35191  dialog which allows you to insert any character that can be output by your
35192  LaTeX system.
35193  By default groups of characters are displayed in character categories;
35194  the available characters depend on the LaTeX-packages you have installed.
35195  You can get a complete display by checking 
35196 \family sans
35197 Display
35198 \begin_inset space ~
35199 \end_inset
35200
35201 all
35202 \family default
35203 .
35204 \begin_inset Newline newline
35205 \end_inset
35206
35207  
35208 \begin_inset Note Greyedout
35209 status open
35210
35211 \begin_layout Plain Layout
35212
35213 \series bold
35214 Note:
35215 \series default
35216  Not all characters will be visible in the 
35217 \family sans
35218 Symbols
35219 \family default
35220  dialog because none of the screen fonts that you can set in the preferences
35221  dialog (see sec.
35222 \begin_inset space \thinspace{}
35223 \end_inset
35224
35225
35226 \begin_inset CommandInset ref
35227 LatexCommand ref
35228 reference "sub:Screen-Fonts"
35229
35230 \end_inset
35231
35232 ) can display every character.
35233 \end_layout
35234
35235 \end_inset
35236
35237
35238 \end_layout
35239
35240 \begin_layout Description
35241 Ellipsis Inserts an ellipsis: \SpecialChar \ldots{}
35242
35243 \end_layout
35244
35245 \begin_layout Description
35246 End
35247 \begin_inset space ~
35248 \end_inset
35249
35250 of
35251 \begin_inset space ~
35252 \end_inset
35253
35254 Sentence Inserts an end of sentence period as described in section
35255 \begin_inset space ~
35256 \end_inset
35257
35258
35259 \begin_inset CommandInset ref
35260 LatexCommand ref
35261 reference "sub:Abbreviations"
35262
35263 \end_inset
35264
35265 .
35266 \end_layout
35267
35268 \begin_layout Description
35269 Ordinary
35270 \begin_inset space ~
35271 \end_inset
35272
35273 Quote Inserts this quote: ", no matter what quote style you selected in
35274  the 
35275 \family sans
35276 Document\SpecialChar \menuseparator
35277 Settings\SpecialChar \menuseparator
35278 Language
35279 \family default
35280  dialog.
35281 \end_layout
35282
35283 \begin_layout Description
35284 Single
35285 \begin_inset space ~
35286 \end_inset
35287
35288 Quote Inserts a single quote in the quotation marks style selected in the
35289  
35290 \family sans
35291 Document\SpecialChar \menuseparator
35292 Settings\SpecialChar \menuseparator
35293 Language
35294 \family default
35295  dialog.
35296 \end_layout
35297
35298 \begin_layout Description
35299 Protected
35300 \begin_inset space ~
35301 \end_inset
35302
35303 Hyphen Inserts a hyphen that is protected from line breaks: \SpecialChar \nobreakdash-
35304
35305 \end_layout
35306
35307 \begin_layout Description
35308 Breakable
35309 \begin_inset space ~
35310 \end_inset
35311
35312 Slash Inserts a slash where a line break can also occur: \SpecialChar \slash{}
35313
35314 \end_layout
35315
35316 \begin_layout Description
35317 Menu
35318 \begin_inset space ~
35319 \end_inset
35320
35321 Separator Inserts the menu separator sign: \SpecialChar \menuseparator
35322
35323 \end_layout
35324
35325 \begin_layout Description
35326 Phonetic
35327 \begin_inset space ~
35328 \end_inset
35329
35330 Symbols 
35331 \begin_inset Index idx
35332 status collapsed
35333
35334 \begin_layout Plain Layout
35335 Phonetic symbols
35336 \end_layout
35337
35338 \end_inset
35339
35340
35341 \begin_inset Index idx
35342 status collapsed
35343
35344 \begin_layout Plain Layout
35345 Language ! Phonetic symbols
35346 \end_layout
35347
35348 \end_inset
35349
35350 Inserts a box where you can insert symbols from the International Phonetic
35351  Alphabet (IPA) and opens a toolbar which provides a large set of these
35352  symbols.
35353  To use this feature you must have the LaTeX-package 
35354 \series bold
35355 tipa
35356 \series default
35357
35358 \begin_inset Index idx
35359 status collapsed
35360
35361 \begin_layout Plain Layout
35362 LaTeX-packages ! tipa
35363 \end_layout
35364
35365 \end_inset
35366
35367  installed.
35368 \begin_inset Newline newline
35369 \end_inset
35370
35371 More information about this feature can be found in the 
35372 \emph on
35373 Linguistics
35374 \emph default
35375  manual (
35376 \family sans
35377 Help\SpecialChar \menuseparator
35378 Specific Manuals
35379 \family default
35380 ).
35381 \end_layout
35382
35383 \begin_layout Subsection
35384 Formatting
35385 \end_layout
35386
35387 \begin_layout Standard
35388 Opens a submenu with the following options:
35389 \end_layout
35390
35391 \begin_layout Description
35392 Superscript Inserts a superscript: test
35393 \begin_inset script superscript
35394
35395 \begin_layout Plain Layout
35396 a, b
35397 \end_layout
35398
35399 \end_inset
35400
35401
35402 \end_layout
35403
35404 \begin_layout Description
35405 Subscript Inserts a subscript: test
35406 \begin_inset script subscript
35407
35408 \begin_layout Plain Layout
35409 3x
35410 \end_layout
35411
35412 \end_inset
35413
35414
35415 \end_layout
35416
35417 \begin_layout Description
35418 Protected
35419 \begin_inset space ~
35420 \end_inset
35421
35422 Space Inserts a protected space as described in section
35423 \begin_inset space ~
35424 \end_inset
35425
35426
35427 \begin_inset CommandInset ref
35428 LatexCommand ref
35429 reference "sub:Protected-Space"
35430
35431 \end_inset
35432
35433 .
35434 \end_layout
35435
35436 \begin_layout Description
35437 Inter-word
35438 \begin_inset space ~
35439 \end_inset
35440
35441 Space Inserts an inter-word space as described in section
35442 \begin_inset space ~
35443 \end_inset
35444
35445
35446 \begin_inset CommandInset ref
35447 LatexCommand ref
35448 reference "sub:Inter-word-Space"
35449
35450 \end_inset
35451
35452 .
35453 \end_layout
35454
35455 \begin_layout Description
35456 Thin
35457 \begin_inset space ~
35458 \end_inset
35459
35460 Space Inserts a thin space as described in section
35461 \begin_inset space ~
35462 \end_inset
35463
35464
35465 \begin_inset CommandInset ref
35466 LatexCommand ref
35467 reference "sub:Thin-Space"
35468
35469 \end_inset
35470
35471 .
35472 \end_layout
35473
35474 \begin_layout Description
35475 Visible
35476 \begin_inset space ~
35477 \end_inset
35478
35479 Space Inserts a character to visualize that there is or should be a space.
35480  This is e.
35481 \begin_inset space \thinspace{}
35482 \end_inset
35483
35484 g.
35485 \begin_inset space \space{}
35486 \end_inset
35487
35488 useful if you need to indicate a space in a command sequence.
35489  An example from the LyX 
35490 \emph on
35491 Math
35492 \emph default
35493  manual: 
35494 \begin_inset Quotes eld
35495 \end_inset
35496
35497 To insert a fraction use the command 
35498 \series bold
35499
35500 \backslash
35501 frac
35502 \begin_inset space \textvisiblespace{}
35503 \end_inset
35504
35505 A
35506 \begin_inset Formula $\downarrow$
35507 \end_inset
35508
35509 B.
35510 \series default
35511
35512 \begin_inset Quotes erd
35513 \end_inset
35514
35515  The visible space is hereby the character before the 
35516 \series bold
35517 A
35518 \series default
35519 .
35520 \end_layout
35521
35522 \begin_layout Description
35523 Horizontal
35524 \begin_inset space ~
35525 \end_inset
35526
35527 Space Inserts horizontal space as described in section
35528 \begin_inset space ~
35529 \end_inset
35530
35531
35532 \begin_inset CommandInset ref
35533 LatexCommand ref
35534 reference "sub:Horizontal-Space"
35535
35536 \end_inset
35537
35538 .
35539 \end_layout
35540
35541 \begin_layout Description
35542 Horizontal
35543 \begin_inset space ~
35544 \end_inset
35545
35546 Line Inserts a horizontal line as described in section
35547 \begin_inset space ~
35548 \end_inset
35549
35550
35551 \begin_inset CommandInset ref
35552 LatexCommand ref
35553 reference "sub:Horizontal-Lines"
35554
35555 \end_inset
35556
35557 .
35558 \end_layout
35559
35560 \begin_layout Description
35561 Vertical
35562 \begin_inset space ~
35563 \end_inset
35564
35565 Space Inserts vertical space as described in section
35566 \begin_inset space ~
35567 \end_inset
35568
35569
35570 \begin_inset CommandInset ref
35571 LatexCommand ref
35572 reference "sub:Vertical-Space"
35573
35574 \end_inset
35575
35576 .
35577 \end_layout
35578
35579 \begin_layout Description
35580 Phantom Inserts a Phantom space as described in section
35581 \begin_inset space ~
35582 \end_inset
35583
35584
35585 \begin_inset CommandInset ref
35586 LatexCommand ref
35587 reference "sub:Phantom-Space"
35588
35589 \end_inset
35590
35591 .
35592 \end_layout
35593
35594 \begin_layout Description
35595 Hyphenation
35596 \begin_inset space ~
35597 \end_inset
35598
35599 Point Inserts a hyphenation point as described in section
35600 \begin_inset space ~
35601 \end_inset
35602
35603
35604 \begin_inset CommandInset ref
35605 LatexCommand ref
35606 reference "sub:Hyphenation"
35607
35608 \end_inset
35609
35610 .
35611 \end_layout
35612
35613 \begin_layout Description
35614 Ligature
35615 \begin_inset space ~
35616 \end_inset
35617
35618 Break Inserts a ligature break as described in section
35619 \begin_inset space ~
35620 \end_inset
35621
35622
35623 \begin_inset CommandInset ref
35624 LatexCommand ref
35625 reference "sub:Ligatures"
35626
35627 \end_inset
35628
35629 .
35630 \end_layout
35631
35632 \begin_layout Description
35633 Ragged
35634 \begin_inset space ~
35635 \end_inset
35636
35637 Line
35638 \begin_inset space ~
35639 \end_inset
35640
35641 Break Inserts a forced line break as described in section
35642 \begin_inset space ~
35643 \end_inset
35644
35645
35646 \begin_inset CommandInset ref
35647 LatexCommand ref
35648 reference "sub:Forced-Line-Breaks"
35649
35650 \end_inset
35651
35652 .
35653 \end_layout
35654
35655 \begin_layout Description
35656 Justified
35657 \begin_inset space ~
35658 \end_inset
35659
35660 Break Inserts a forced line break that right justifies the remaining text
35661  as described in section
35662 \begin_inset space ~
35663 \end_inset
35664
35665
35666 \begin_inset CommandInset ref
35667 LatexCommand ref
35668 reference "sub:Forced-Line-Breaks"
35669
35670 \end_inset
35671
35672 .
35673 \end_layout
35674
35675 \begin_layout Description
35676 New
35677 \begin_inset space ~
35678 \end_inset
35679
35680 Page Inserts a forced page break as described in section
35681 \begin_inset space ~
35682 \end_inset
35683
35684
35685 \begin_inset CommandInset ref
35686 LatexCommand ref
35687 reference "sub:Forced-Page-Breaks"
35688
35689 \end_inset
35690
35691 .
35692 \end_layout
35693
35694 \begin_layout Description
35695 Page
35696 \begin_inset space ~
35697 \end_inset
35698
35699 Break Inserts a forced page break that shares the extra space among paragraph
35700  breaks instead of leaving it at the bottom of the page, as described in
35701  section
35702 \begin_inset space ~
35703 \end_inset
35704
35705
35706 \begin_inset CommandInset ref
35707 LatexCommand ref
35708 reference "sub:Forced-Page-Breaks"
35709
35710 \end_inset
35711
35712 .
35713 \end_layout
35714
35715 \begin_layout Description
35716 Clear
35717 \begin_inset space ~
35718 \end_inset
35719
35720 Page Inserts a clear page break as described in section
35721 \begin_inset space ~
35722 \end_inset
35723
35724
35725 \begin_inset CommandInset ref
35726 LatexCommand ref
35727 reference "sub:Clear-Page-Breaks"
35728
35729 \end_inset
35730
35731 .
35732 \end_layout
35733
35734 \begin_layout Description
35735 Clear
35736 \begin_inset space ~
35737 \end_inset
35738
35739 Double
35740 \begin_inset space ~
35741 \end_inset
35742
35743 Page Inserts a clear doublepage break as described in section
35744 \begin_inset space ~
35745 \end_inset
35746
35747
35748 \begin_inset CommandInset ref
35749 LatexCommand ref
35750 reference "sub:Clear-Page-Breaks"
35751
35752 \end_inset
35753
35754 .
35755 \end_layout
35756
35757 \begin_layout Subsection
35758 List/TOC
35759 \end_layout
35760
35761 \begin_layout Standard
35762 Various lists can be inserted with this menu entry.
35763  The 
35764 \family sans
35765 Table
35766 \begin_inset space ~
35767 \end_inset
35768
35769 of Contents
35770 \family default
35771 , the 
35772 \family sans
35773 List of Algorithms
35774 \family default
35775
35776 \family sans
35777 List of Figures
35778 \family default
35779  and 
35780 \family sans
35781 List of Tables
35782 \family default
35783  are described in section
35784 \begin_inset space ~
35785 \end_inset
35786
35787
35788 \begin_inset CommandInset ref
35789 LatexCommand ref
35790 reference "sec:toc"
35791
35792 \end_inset
35793
35794 .
35795  The 
35796 \family sans
35797 Index List
35798 \family default
35799  is described in section
35800 \begin_inset space ~
35801 \end_inset
35802
35803
35804 \begin_inset CommandInset ref
35805 LatexCommand ref
35806 reference "sec:Index"
35807
35808 \end_inset
35809
35810 , the 
35811 \family sans
35812 Nomenclature
35813 \family default
35814  is described in section
35815 \begin_inset space ~
35816 \end_inset
35817
35818
35819 \begin_inset CommandInset ref
35820 LatexCommand ref
35821 reference "sec:Nomenclature"
35822
35823 \end_inset
35824
35825  and the 
35826 \family sans
35827 BibTeX Bibliography
35828 \family default
35829  is described in section
35830 \begin_inset space ~
35831 \end_inset
35832
35833
35834 \begin_inset CommandInset ref
35835 LatexCommand ref
35836 reference "sub:Bibliography-databases"
35837
35838 \end_inset
35839
35840 .
35841 \end_layout
35842
35843 \begin_layout Subsection
35844 Float
35845 \end_layout
35846
35847 \begin_layout Standard
35848 To insert floats, as described in section
35849 \begin_inset space ~
35850 \end_inset
35851
35852
35853 \begin_inset CommandInset ref
35854 LatexCommand ref
35855 reference "sec:Floats"
35856
35857 \end_inset
35858
35859  and in detail the chapter 
35860 \emph on
35861 Floats
35862 \emph default
35863  of the 
35864 \emph on
35865 Embedded
35866 \begin_inset space ~
35867 \end_inset
35868
35869 Objects
35870 \emph default
35871  manual.
35872 \end_layout
35873
35874 \begin_layout Subsection
35875 Note
35876 \end_layout
35877
35878 \begin_layout Standard
35879 To insert notes, described in section
35880 \begin_inset space ~
35881 \end_inset
35882
35883
35884 \begin_inset CommandInset ref
35885 LatexCommand ref
35886 reference "sec:Notes"
35887
35888 \end_inset
35889
35890 .
35891 \end_layout
35892
35893 \begin_layout Subsection
35894 Branch
35895 \end_layout
35896
35897 \begin_layout Standard
35898 Inserts a branch inset, if any, and allowing you to create and insert a
35899  new branch.
35900  Branches are described in section
35901 \begin_inset space ~
35902 \end_inset
35903
35904
35905 \begin_inset CommandInset ref
35906 LatexCommand ref
35907 reference "sec:Branches"
35908
35909 \end_inset
35910
35911 .
35912 \end_layout
35913
35914 \begin_layout Subsection
35915 Custom Insets
35916 \end_layout
35917
35918 \begin_layout Standard
35919 Inserts document class-specific insets.
35920  Such insets only exist if they are defined in the layout file for a certain
35921  document class.
35922  An example is the document class 
35923 \begin_inset Quotes eld
35924 \end_inset
35925
35926 article (Elsevier)
35927 \begin_inset Quotes erd
35928 \end_inset
35929
35930  with three custom insets.
35931  The section 
35932 \emph on
35933 Flex insets and InsetLayout
35934 \emph default
35935  in 
35936 \emph on
35937 Installing New Document Classes, The Layout file format 
35938 \emph default
35939 of the 
35940 \emph on
35941 Customization
35942 \emph default
35943  manual explains how custom insets are defined.
35944 \end_layout
35945
35946 \begin_layout Subsection
35947 File
35948 \begin_inset Index idx
35949 status collapsed
35950
35951 \begin_layout Plain Layout
35952 External Material
35953 \end_layout
35954
35955 \end_inset
35956
35957
35958 \end_layout
35959
35960 \begin_layout Standard
35961 This menu entry allows you to insert or include the contents of other files
35962  in your document.
35963  For more information see chapter 
35964 \emph on
35965 External Document Parts
35966 \emph default
35967  of the Embedded
35968 \begin_inset space ~
35969 \end_inset
35970
35971 Objects manual.
35972 \end_layout
35973
35974 \begin_layout Subsection
35975 Box
35976 \begin_inset Index idx
35977 status collapsed
35978
35979 \begin_layout Plain Layout
35980 Boxes
35981 \end_layout
35982
35983 \end_inset
35984
35985
35986 \end_layout
35987
35988 \begin_layout Standard
35989 Inserts a box in a certain style.
35990  Boxes are described in detail in the chapter 
35991 \emph on
35992 Boxes
35993 \emph default
35994  of the 
35995 \emph on
35996 Embedded
35997 \begin_inset space ~
35998 \end_inset
35999
36000 Objects
36001 \emph default
36002  manual.
36003 \end_layout
36004
36005 \begin_layout Subsection
36006 Citation
36007 \end_layout
36008
36009 \begin_layout Standard
36010 Opens the 
36011 \family sans
36012 Citation
36013 \family default
36014  dialog as described in section
36015 \begin_inset space ~
36016 \end_inset
36017
36018
36019 \begin_inset CommandInset ref
36020 LatexCommand ref
36021 reference "sec:Bibliography"
36022
36023 \end_inset
36024
36025 .
36026 \end_layout
36027
36028 \begin_layout Subsection
36029 Cross-Reference
36030 \end_layout
36031
36032 \begin_layout Standard
36033 Inserts a 
36034 \family sans
36035 cross-reference
36036 \family default
36037  as described in section
36038 \begin_inset space ~
36039 \end_inset
36040
36041
36042 \begin_inset CommandInset ref
36043 LatexCommand ref
36044 reference "sec:Cross-References"
36045
36046 \end_inset
36047
36048 .
36049 \end_layout
36050
36051 \begin_layout Subsection
36052 Label
36053 \end_layout
36054
36055 \begin_layout Standard
36056 Inserts a 
36057 \family sans
36058 label
36059 \family default
36060  as described in section
36061 \begin_inset space ~
36062 \end_inset
36063
36064
36065 \begin_inset CommandInset ref
36066 LatexCommand ref
36067 reference "sec:Cross-References"
36068
36069 \end_inset
36070
36071 .
36072 \end_layout
36073
36074 \begin_layout Subsection
36075 Caption
36076 \begin_inset Index idx
36077 status collapsed
36078
36079 \begin_layout Plain Layout
36080 Captions
36081 \end_layout
36082
36083 \end_inset
36084
36085
36086 \begin_inset Index idx
36087 status collapsed
36088
36089 \begin_layout Plain Layout
36090 Longtables ! Caption
36091 \end_layout
36092
36093 \end_inset
36094
36095
36096 \end_layout
36097
36098 \begin_layout Standard
36099 Inserts a caption in a float or longtable.
36100  Floats are described in section
36101 \begin_inset space ~
36102 \end_inset
36103
36104
36105 \begin_inset CommandInset ref
36106 LatexCommand ref
36107 reference "sec:Floats"
36108
36109 \end_inset
36110
36111 ; captions in longtables are described in the section 
36112 \emph on
36113 Longtable Captions
36114 \emph default
36115  of the 
36116 \emph on
36117 Embedded
36118 \begin_inset space ~
36119 \end_inset
36120
36121 Objects
36122 \emph default
36123  manual.
36124 \end_layout
36125
36126 \begin_layout Subsection
36127 Index Entry
36128 \end_layout
36129
36130 \begin_layout Standard
36131 Inserts an index entry as described in section
36132 \begin_inset space ~
36133 \end_inset
36134
36135
36136 \begin_inset CommandInset ref
36137 LatexCommand ref
36138 reference "sec:Index"
36139
36140 \end_inset
36141
36142 .
36143 \end_layout
36144
36145 \begin_layout Subsection
36146 Nomenclature Entry
36147 \end_layout
36148
36149 \begin_layout Standard
36150 Inserts a nomenclature entry as described in section
36151 \begin_inset space ~
36152 \end_inset
36153
36154
36155 \begin_inset CommandInset ref
36156 LatexCommand ref
36157 reference "sec:Nomenclature"
36158
36159 \end_inset
36160
36161 .
36162 \end_layout
36163
36164 \begin_layout Subsection
36165 Table
36166 \end_layout
36167
36168 \begin_layout Standard
36169 Opens a dialog allowing you to specify the rows and columns of the table.
36170  Tables are described in section
36171 \begin_inset space ~
36172 \end_inset
36173
36174
36175 \begin_inset CommandInset ref
36176 LatexCommand ref
36177 reference "sec:Tables"
36178
36179 \end_inset
36180
36181  and in detail in the chapter 
36182 \emph on
36183 Tables
36184 \emph default
36185  of the 
36186 \emph on
36187 Embedded
36188 \begin_inset space ~
36189 \end_inset
36190
36191 Objects
36192 \emph default
36193  manual.
36194 \end_layout
36195
36196 \begin_layout Subsection
36197 Graphics
36198 \end_layout
36199
36200 \begin_layout Standard
36201 Opens the 
36202 \family sans
36203 Graphics
36204 \family default
36205  dialog.
36206  Graphics are described in section
36207 \begin_inset space ~
36208 \end_inset
36209
36210
36211 \begin_inset CommandInset ref
36212 LatexCommand ref
36213 reference "sec:Graphics"
36214
36215 \end_inset
36216
36217 .
36218 \end_layout
36219
36220 \begin_layout Subsection
36221 URL
36222 \end_layout
36223
36224 \begin_layout Standard
36225 Inserts a URL as described in section
36226 \begin_inset space ~
36227 \end_inset
36228
36229
36230 \begin_inset CommandInset ref
36231 LatexCommand ref
36232 reference "sub:URLs"
36233
36234 \end_inset
36235
36236 .
36237 \end_layout
36238
36239 \begin_layout Subsection
36240 Hyperlinks
36241 \end_layout
36242
36243 \begin_layout Standard
36244 Inserts a hyperlink as described in section
36245 \begin_inset space ~
36246 \end_inset
36247
36248
36249 \begin_inset CommandInset ref
36250 LatexCommand ref
36251 reference "sub:Hyperlinks"
36252
36253 \end_inset
36254
36255 .
36256 \end_layout
36257
36258 \begin_layout Subsection
36259 Footnote
36260 \end_layout
36261
36262 \begin_layout Standard
36263 Inserts a footnote as described in section
36264 \begin_inset space ~
36265 \end_inset
36266
36267
36268 \begin_inset CommandInset ref
36269 LatexCommand ref
36270 reference "sec:Footnotes"
36271
36272 \end_inset
36273
36274 .
36275 \end_layout
36276
36277 \begin_layout Subsection
36278 Marginal Note
36279 \end_layout
36280
36281 \begin_layout Standard
36282 Inserts a marginal note as described in section
36283 \begin_inset space ~
36284 \end_inset
36285
36286
36287 \begin_inset CommandInset ref
36288 LatexCommand ref
36289 reference "sec:Marginal-Notes"
36290
36291 \end_inset
36292
36293 .
36294 \end_layout
36295
36296 \begin_layout Subsection
36297 Short Title
36298 \end_layout
36299
36300 \begin_layout Standard
36301 Is only visible if the cursor is in front in or behind a section heading,
36302  title or caption of a float.
36303  Inserts a short title as described in section
36304 \begin_inset space ~
36305 \end_inset
36306
36307
36308 \begin_inset CommandInset ref
36309 LatexCommand ref
36310 reference "sec:Short-Titles"
36311
36312 \end_inset
36313
36314 .
36315 \end_layout
36316
36317 \begin_layout Subsection
36318 TeX Code
36319 \end_layout
36320
36321 \begin_layout Standard
36322 Inserts a TeX Code box as described in section
36323 \begin_inset space ~
36324 \end_inset
36325
36326
36327 \begin_inset CommandInset ref
36328 LatexCommand ref
36329 reference "sub:TeX-Code-Boxes"
36330
36331 \end_inset
36332
36333 .
36334 \end_layout
36335
36336 \begin_layout Subsection
36337 Program Listing
36338 \begin_inset Index idx
36339 status collapsed
36340
36341 \begin_layout Plain Layout
36342 Program listings
36343 \end_layout
36344
36345 \end_inset
36346
36347
36348 \end_layout
36349
36350 \begin_layout Standard
36351 Inserts a program listings box.
36352  Program listings are explained in the chapter 
36353 \emph on
36354 Program Code Listings
36355 \emph default
36356  of the 
36357 \emph on
36358 Embedded
36359 \begin_inset space ~
36360 \end_inset
36361
36362 Objects
36363 \emph default
36364  manual.
36365 \end_layout
36366
36367 \begin_layout Subsection
36368 Date
36369 \end_layout
36370
36371 \begin_layout Standard
36372 Inserts the actual date.
36373  The format depends on the date format of the language that is used for
36374  LyX's menus.
36375  LyX offers various ways to insert a date which are explained and also compared
36376  in the section 
36377 \emph on
36378 External Material
36379 \emph default
36380  of the 
36381 \emph on
36382 Embedded
36383 \begin_inset space ~
36384 \end_inset
36385
36386 Objects
36387 \emph default
36388  manual.
36389 \end_layout
36390
36391 \begin_layout Subsection
36392 Preview
36393 \end_layout
36394
36395 \begin_layout Standard
36396 Inserts a preview inset as described in section
36397 \begin_inset space ~
36398 \end_inset
36399
36400
36401 \begin_inset CommandInset ref
36402 LatexCommand ref
36403 reference "sec:Previewing-snippets-of"
36404
36405 \end_inset
36406
36407 .
36408 \end_layout
36409
36410 \begin_layout Section
36411 The Navigate Menu
36412 \begin_inset Index idx
36413 status collapsed
36414
36415 \begin_layout Plain Layout
36416 Menu ! Navigate
36417 \end_layout
36418
36419 \end_inset
36420
36421
36422 \end_layout
36423
36424 \begin_layout Standard
36425 This menu lists the existing chapters, sections, figures, tables, etc.
36426 \begin_inset space ~
36427 \end_inset
36428
36429 of the current document.
36430  This allows you to navigate easily through your document.
36431 \end_layout
36432
36433 \begin_layout Subsection
36434 Bookmarks
36435 \end_layout
36436
36437 \begin_layout Standard
36438 With this menu entry you are able to define your own bookmarks.
36439  This is useful when you are working on a large document and often have
36440  to jump, for example, between section
36441 \begin_inset space ~
36442 \end_inset
36443
36444 2.5 and 6.3.
36445  To create bookmarks for this example, go to section
36446 \begin_inset space ~
36447 \end_inset
36448
36449 2.5 and use the submenu 
36450 \family sans
36451 Save
36452 \begin_inset space ~
36453 \end_inset
36454
36455 Bookmark
36456 \begin_inset space ~
36457 \end_inset
36458
36459 1
36460 \family default
36461 .
36462  Then go to section
36463 \begin_inset space ~
36464 \end_inset
36465
36466 6.3 and use 
36467 \family sans
36468 Save
36469 \begin_inset space ~
36470 \end_inset
36471
36472 Bookmark
36473 \begin_inset space ~
36474 \end_inset
36475
36476
36477 \family default
36478 2.
36479  Now you can jump easily between these sections by using the menu or by
36480  the key bindings 
36481 \begin_inset Info
36482 type  "shortcut"
36483 arg   "bookmark-goto 1"
36484 \end_inset
36485
36486  and 
36487 \begin_inset Info
36488 type  "shortcut"
36489 arg   "bookmark-goto 2"
36490 \end_inset
36491
36492 .You can also use bookmarks to jump between several opened documents.
36493 \end_layout
36494
36495 \begin_layout Standard
36496 The saved bookmarks are valid till the document is closed.
36497  The submenu 
36498 \family sans
36499 Clear
36500 \begin_inset space ~
36501 \end_inset
36502
36503 Bookmarks
36504 \family default
36505  allows you to clear bookmarks while the submenu 
36506 \family sans
36507 Navigate
36508 \begin_inset space ~
36509 \end_inset
36510
36511 Back
36512 \family default
36513  jumps to the position in the document where you recently changed something.
36514 \end_layout
36515
36516 \begin_layout Subsection
36517 Next Note, Change, Cross-reference
36518 \end_layout
36519
36520 \begin_layout Standard
36521 Jump to the next note, change, or cross-reference after the current cursor
36522  position.
36523 \end_layout
36524
36525 \begin_layout Subsection
36526 Go to Label
36527 \end_layout
36528
36529 \begin_layout Standard
36530 Only active if the cursor is in front of a cross-reference.
36531  Sets the cursor before the referenced label.
36532  (It is the same as if you right-click on a cross-reference box and use
36533  
36534 \family sans
36535 Go
36536 \begin_inset space ~
36537 \end_inset
36538
36539 to
36540 \begin_inset space ~
36541 \end_inset
36542
36543 Label)
36544 \family default
36545 .
36546 \end_layout
36547
36548 \begin_layout Subsection
36549 Forward Search
36550 \end_layout
36551
36552 \begin_layout Standard
36553 Allows you to jump directly to the corresponding text part in the output,
36554  see section 
36555 \emph on
36556 The LyX Server\SpecialChar \menuseparator
36557 Forward
36558 \begin_inset space ~
36559 \end_inset
36560
36561 search
36562 \emph default
36563  in the 
36564 \emph on
36565 Additional
36566 \begin_inset space ~
36567 \end_inset
36568
36569 Features
36570 \emph default
36571  manual for a detailed description.
36572 \end_layout
36573
36574 \begin_layout Section
36575 The Document Menu
36576 \begin_inset Index idx
36577 status collapsed
36578
36579 \begin_layout Plain Layout
36580 Menu ! Document
36581 \end_layout
36582
36583 \end_inset
36584
36585
36586 \end_layout
36587
36588 \begin_layout Subsection
36589 Change Tracking
36590 \end_layout
36591
36592 \begin_layout Standard
36593 Change Tracking is described in section
36594 \begin_inset space ~
36595 \end_inset
36596
36597
36598 \begin_inset CommandInset ref
36599 LatexCommand ref
36600 reference "sec:Change-Tracking"
36601
36602 \end_inset
36603
36604 .
36605 \end_layout
36606
36607 \begin_layout Subsection
36608 LaT
36609 \begin_inset ERT
36610 status collapsed
36611
36612 \begin_layout Plain Layout
36613
36614 {}
36615 \end_layout
36616
36617 \end_inset
36618
36619 eX Log
36620 \end_layout
36621
36622 \begin_layout Standard
36623 After running LaTeX by viewing or exporting a document, this menu will be
36624  enabled.
36625  It shows the logfile of the LaTeX-program used.
36626  You can go to the next error or the next warning, search, copy something
36627  to the clipboard or update the view.
36628  With the help of the logfile experts can find in it reasons for LaTeX-errors.
36629 \end_layout
36630
36631 \begin_layout Subsection
36632 Start Appendix Here
36633 \end_layout
36634
36635 \begin_layout Standard
36636 Sets the start of the appendices of the document at the current cursor position
36637  as described in section
36638 \begin_inset space ~
36639 \end_inset
36640
36641
36642 \begin_inset CommandInset ref
36643 LatexCommand ref
36644 reference "sec:Appendices"
36645
36646 \end_inset
36647
36648 .
36649 \end_layout
36650
36651 \begin_layout Subsection
36652 View
36653 \begin_inset space ~
36654 \end_inset
36655
36656 [<output format>]
36657 \end_layout
36658
36659 \begin_layout Standard
36660 This menu entry generates the output in the format you have specified as
36661  default output format for the document (menu 
36662 \family sans
36663 Document\SpecialChar \menuseparator
36664 Settings\SpecialChar \menuseparator
36665 Output\SpecialChar \menuseparator
36666 Default
36667 \begin_inset space ~
36668 \end_inset
36669
36670 Output
36671 \begin_inset space ~
36672 \end_inset
36673
36674 Format
36675 \family default
36676 ; see section
36677 \begin_inset space ~
36678 \end_inset
36679
36680
36681 \begin_inset CommandInset ref
36682 LatexCommand ref
36683 reference "sec:Doc-Output"
36684
36685 \end_inset
36686
36687 ) or in the LyX preferences (menu 
36688 \family sans
36689 Tools\SpecialChar \menuseparator
36690 Preferences\SpecialChar \menuseparator
36691 File
36692 \begin_inset space ~
36693 \end_inset
36694
36695 Handling\SpecialChar \menuseparator
36696 File
36697 \begin_inset space ~
36698 \end_inset
36699
36700 Formats\SpecialChar \menuseparator
36701 Default
36702 \begin_inset space ~
36703 \end_inset
36704
36705 Output
36706 \begin_inset space ~
36707 \end_inset
36708
36709 Format
36710 \family default
36711 ; see section
36712 \begin_inset space ~
36713 \end_inset
36714
36715
36716 \begin_inset CommandInset ref
36717 LatexCommand ref
36718 reference "sec:File-Formats"
36719
36720 \end_inset
36721
36722 ) and opens it in an appropriate viewer.
36723  The viewer can be set or changed in the preferences (menu 
36724 \family sans
36725 Tools\SpecialChar \menuseparator
36726 Preferences\SpecialChar \menuseparator
36727 File
36728 \begin_inset space ~
36729 \end_inset
36730
36731 Handling\SpecialChar \menuseparator
36732 File
36733 \begin_inset space ~
36734 \end_inset
36735
36736 Formats\SpecialChar \menuseparator
36737 Viewer
36738 \family default
36739 ; see section
36740 \begin_inset space ~
36741 \end_inset
36742
36743
36744 \begin_inset CommandInset ref
36745 LatexCommand ref
36746 reference "sec:File-Formats"
36747
36748 \end_inset
36749
36750 ).
36751  The default viewers are set by LyX when it is first configured.
36752  The default output format is 
36753 \family sans
36754 PDF
36755 \begin_inset space ~
36756 \end_inset
36757
36758 (pdflatex)
36759 \family default
36760 .
36761 \end_layout
36762
36763 \begin_layout Subsection
36764 View (Other Formats)
36765 \end_layout
36766
36767 \begin_layout Standard
36768 With this menu you can view your document in alternative output formats.
36769  The menu contains a list of available formats in which you can view the
36770  actual document with an external program.
36771  The menu entries are not the same on all installations — it depends on
36772  the LaTeX programs that are found when LyX was configured.
36773  All possible formats are listed in section
36774 \begin_inset space ~
36775 \end_inset
36776
36777
36778 \begin_inset CommandInset ref
36779 LatexCommand ref
36780 reference "sub:Export"
36781
36782 \end_inset
36783
36784 .
36785  You should at least see the menu entry 
36786 \family sans
36787 DVI
36788 \family default
36789 .
36790  If it is missing, you need to update or repair your LaTeX installation.
36791  After updating you have to reconfigure LyX (see section
36792 \begin_inset space ~
36793 \end_inset
36794
36795
36796 \begin_inset CommandInset ref
36797 LatexCommand ref
36798 reference "sec:Basic-LyX-Setup"
36799
36800 \end_inset
36801
36802 .
36803 \begin_inset Index idx
36804 status collapsed
36805
36806 \begin_layout Plain Layout
36807 Reconfiguration of LyX
36808 \end_layout
36809
36810 \end_inset
36811
36812 )
36813 \end_layout
36814
36815 \begin_layout Standard
36816 Invoking a view menu will start a viewer program.
36817  The viewer can be set or changed in the preferences (menu 
36818 \family sans
36819 Tools\SpecialChar \menuseparator
36820 Preferences\SpecialChar \menuseparator
36821 File
36822 \begin_inset space ~
36823 \end_inset
36824
36825 Handling\SpecialChar \menuseparator
36826 File
36827 \begin_inset space ~
36828 \end_inset
36829
36830 Formats\SpecialChar \menuseparator
36831 Viewer
36832 \family default
36833 ; see section
36834 \begin_inset space ~
36835 \end_inset
36836
36837
36838 \begin_inset CommandInset ref
36839 LatexCommand ref
36840 reference "sec:File-Formats"
36841
36842 \end_inset
36843
36844 ).
36845  The default viewers are set by LyX when it is first configured.
36846 \end_layout
36847
36848 \begin_layout Subsection
36849 Update
36850 \begin_inset space ~
36851 \end_inset
36852
36853 [<output format>]
36854 \end_layout
36855
36856 \begin_layout Standard
36857 This menu entry allows you to update the view with your latest changes (in
36858  the default output format) without opening a new viewer window.
36859 \end_layout
36860
36861 \begin_layout Subsection
36862 Update (Other Formats)
36863 \end_layout
36864
36865 \begin_layout Standard
36866 With this menu you can update the view of alternative output formats of
36867  your document without opening a new viewer window.
36868 \end_layout
36869
36870 \begin_layout Subsection
36871 View Master Document
36872 \end_layout
36873
36874 \begin_layout Standard
36875 This menu item is only visible if your document is included to another document,
36876  which is then its 
36877 \begin_inset Quotes eld
36878 \end_inset
36879
36880 master
36881 \begin_inset Quotes erd
36882 \end_inset
36883
36884  (see section 
36885 \emph on
36886 Child Documents
36887 \emph default
36888  in the 
36889 \emph on
36890 Embedded
36891 \begin_inset space ~
36892 \end_inset
36893
36894 Objects
36895 \emph default
36896  manual for more information on this topic).
36897  This item allows you to view the master document from within its child.
36898  That is, if you are working on a child document which is a chapter of a
36899  book, 
36900 \family sans
36901 View
36902 \begin_inset space ~
36903 \end_inset
36904
36905 Master
36906 \begin_inset space ~
36907 \end_inset
36908
36909 Document
36910 \family default
36911  generates the output of the whole book, while 
36912 \family sans
36913 View
36914 \family default
36915  will just output the chapter alone.
36916 \end_layout
36917
36918 \begin_layout Standard
36919 The format used by this function is the default output format as specified
36920  in the document settings (menu 
36921 \family sans
36922 Document\SpecialChar \menuseparator
36923 Settings\SpecialChar \menuseparator
36924 Output\SpecialChar \menuseparator
36925 Default
36926 \begin_inset space ~
36927 \end_inset
36928
36929 Output
36930 \begin_inset space ~
36931 \end_inset
36932
36933 Format
36934 \family default
36935 ; see section
36936 \begin_inset space ~
36937 \end_inset
36938
36939
36940 \begin_inset CommandInset ref
36941 LatexCommand ref
36942 reference "sec:Doc-Output"
36943
36944 \end_inset
36945
36946 ) or in the preferences (menu 
36947 \family sans
36948 Tools\SpecialChar \menuseparator
36949 Preferences\SpecialChar \menuseparator
36950 File
36951 \begin_inset space ~
36952 \end_inset
36953
36954 Handling\SpecialChar \menuseparator
36955 File
36956 \begin_inset space ~
36957 \end_inset
36958
36959 Formats\SpecialChar \menuseparator
36960 Default
36961 \begin_inset space ~
36962 \end_inset
36963
36964 Output
36965 \begin_inset space ~
36966 \end_inset
36967
36968 Format
36969 \family default
36970 ; see section
36971 \begin_inset space ~
36972 \end_inset
36973
36974
36975 \begin_inset CommandInset ref
36976 LatexCommand ref
36977 reference "sec:File-Formats"
36978
36979 \end_inset
36980
36981 ).
36982 \end_layout
36983
36984 \begin_layout Subsection
36985 Update Master Document
36986 \end_layout
36987
36988 \begin_layout Standard
36989 This menu item is only visible if your document is included to another document,
36990  which is then its 
36991 \begin_inset Quotes eld
36992 \end_inset
36993
36994 master
36995 \begin_inset Quotes erd
36996 \end_inset
36997
36998  (see section 
36999 \emph on
37000 Child Documents
37001 \emph default
37002  in the 
37003 \emph on
37004 Embedded
37005 \begin_inset space ~
37006 \end_inset
37007
37008 Objects
37009 \emph default
37010  manual for more information on this topic).
37011  This item allows you to update the view of a master document from within
37012  its child without the need to switch to the master document itself.
37013 \end_layout
37014
37015 \begin_layout Standard
37016 The format used by this function is the default output format as specified
37017  in the document settings (menu 
37018 \family sans
37019 Document\SpecialChar \menuseparator
37020 Settings\SpecialChar \menuseparator
37021 Output\SpecialChar \menuseparator
37022 Default
37023 \begin_inset space ~
37024 \end_inset
37025
37026 Output
37027 \begin_inset space ~
37028 \end_inset
37029
37030 Format
37031 \family default
37032 ; see section
37033 \begin_inset space ~
37034 \end_inset
37035
37036
37037 \begin_inset CommandInset ref
37038 LatexCommand ref
37039 reference "sec:Doc-Output"
37040
37041 \end_inset
37042
37043 ) or in the preferences (menu 
37044 \family sans
37045 Tools\SpecialChar \menuseparator
37046 Preferences\SpecialChar \menuseparator
37047 File
37048 \begin_inset space ~
37049 \end_inset
37050
37051 Handling\SpecialChar \menuseparator
37052 File
37053 \begin_inset space ~
37054 \end_inset
37055
37056 Formats\SpecialChar \menuseparator
37057 Default
37058 \begin_inset space ~
37059 \end_inset
37060
37061 Output
37062 \begin_inset space ~
37063 \end_inset
37064
37065 Format
37066 \family default
37067 ; see section
37068 \begin_inset space ~
37069 \end_inset
37070
37071
37072 \begin_inset CommandInset ref
37073 LatexCommand ref
37074 reference "sec:File-Formats"
37075
37076 \end_inset
37077
37078 ).
37079 \end_layout
37080
37081 \begin_layout Subsection
37082 Compressed
37083 \end_layout
37084
37085 \begin_layout Standard
37086 Un/compresses the current document.
37087 \end_layout
37088
37089 \begin_layout Subsection
37090 Settings
37091 \end_layout
37092
37093 \begin_layout Standard
37094 The document settings are described in appendix
37095 \begin_inset space ~
37096 \end_inset
37097
37098
37099 \begin_inset CommandInset ref
37100 LatexCommand ref
37101 reference "chap:The-Document-Settings"
37102
37103 \end_inset
37104
37105 .
37106 \end_layout
37107
37108 \begin_layout Section
37109 The Tools Menu
37110 \begin_inset Index idx
37111 status collapsed
37112
37113 \begin_layout Plain Layout
37114 Menu ! Tools
37115 \end_layout
37116
37117 \end_inset
37118
37119
37120 \end_layout
37121
37122 \begin_layout Subsection
37123 Spellchecker
37124 \end_layout
37125
37126 \begin_layout Standard
37127 Spell checking is explained in section
37128 \begin_inset space ~
37129 \end_inset
37130
37131
37132 \begin_inset CommandInset ref
37133 LatexCommand ref
37134 reference "sec:Spellchecking"
37135
37136 \end_inset
37137
37138 .
37139 \end_layout
37140
37141 \begin_layout Subsection
37142 Thesaurus
37143 \end_layout
37144
37145 \begin_layout Standard
37146 The thesaurus is described in section
37147 \begin_inset space ~
37148 \end_inset
37149
37150
37151 \begin_inset CommandInset ref
37152 LatexCommand ref
37153 reference "sec:Thesaurus"
37154
37155 \end_inset
37156
37157 .
37158 \end_layout
37159
37160 \begin_layout Subsection
37161 Statistics
37162 \begin_inset Index idx
37163 status collapsed
37164
37165 \begin_layout Plain Layout
37166 Word count
37167 \end_layout
37168
37169 \end_inset
37170
37171
37172 \begin_inset Index idx
37173 status collapsed
37174
37175 \begin_layout Plain Layout
37176 Character count
37177 \end_layout
37178
37179 \end_inset
37180
37181
37182 \end_layout
37183
37184 \begin_layout Standard
37185 Returns the number of the words and characters in the actual document or
37186  the highlighted document part.
37187 \end_layout
37188
37189 \begin_layout Subsection
37190 Check T
37191 \begin_inset ERT
37192 status collapsed
37193
37194 \begin_layout Plain Layout
37195
37196 {}
37197 \end_layout
37198
37199 \end_inset
37200
37201 eX
37202 \begin_inset Index idx
37203 status collapsed
37204
37205 \begin_layout Plain Layout
37206 ChkTeX
37207 \end_layout
37208
37209 \end_inset
37210
37211
37212 \end_layout
37213
37214 \begin_layout Standard
37215 Generates with the help of the program 
37216 \family typewriter
37217 ChkTeX
37218 \family default
37219  a log of possible LaTeX-errors and displays it in a dialog.
37220  This feature is not available on Windows.
37221 \end_layout
37222
37223 \begin_layout Subsection
37224 T
37225 \begin_inset ERT
37226 status collapsed
37227
37228 \begin_layout Plain Layout
37229
37230 {}
37231 \end_layout
37232
37233 \end_inset
37234
37235 eX Information
37236 \begin_inset Index idx
37237 status collapsed
37238
37239 \begin_layout Plain Layout
37240 TeX Information
37241 \end_layout
37242
37243 \end_inset
37244
37245
37246 \end_layout
37247
37248 \begin_layout Standard
37249 Shows you a list of the document classes and styles installed in your LaTeX-syst
37250 em.
37251  Use the option 
37252 \family sans
37253 Show
37254 \begin_inset space ~
37255 \end_inset
37256
37257 path
37258 \family default
37259  to see the full filename paths.
37260 \end_layout
37261
37262 \begin_layout Subsection
37263 Compare
37264 \begin_inset Index idx
37265 status collapsed
37266
37267 \begin_layout Plain Layout
37268 Compare
37269 \end_layout
37270
37271 \end_inset
37272
37273
37274 \end_layout
37275
37276 \begin_layout Standard
37277 Opens a dialog to compare LyX files as described in section
37278 \begin_inset space ~
37279 \end_inset
37280
37281
37282 \begin_inset CommandInset ref
37283 LatexCommand ref
37284 reference "sec:Comparison-of-Documents"
37285
37286 \end_inset
37287
37288 .
37289 \end_layout
37290
37291 \begin_layout Subsection
37292 Reconfigure
37293 \begin_inset Index idx
37294 status collapsed
37295
37296 \begin_layout Plain Layout
37297 LyX ! Reconfigure|see
37298 \begin_inset ERT
37299 status collapsed
37300
37301 \begin_layout Plain Layout
37302
37303 {
37304 \end_layout
37305
37306 \end_inset
37307
37308 Reconfiguration of LyX
37309 \begin_inset ERT
37310 status collapsed
37311
37312 \begin_layout Plain Layout
37313
37314 }
37315 \end_layout
37316
37317 \end_inset
37318
37319
37320 \end_layout
37321
37322 \end_inset
37323
37324
37325 \begin_inset Index idx
37326 status collapsed
37327
37328 \begin_layout Plain Layout
37329 Reconfiguration of LyX
37330 \end_layout
37331
37332 \end_inset
37333
37334
37335 \end_layout
37336
37337 \begin_layout Standard
37338 Reconfigures LyX; that is, LyX looks for LaTeX-packages and programs it
37339  needs; see also section
37340 \begin_inset space ~
37341 \end_inset
37342
37343
37344 \begin_inset CommandInset ref
37345 LatexCommand ref
37346 reference "sec:Basic-LyX-Setup"
37347
37348 \end_inset
37349
37350 .
37351 \end_layout
37352
37353 \begin_layout Subsection
37354 Preferences
37355 \end_layout
37356
37357 \begin_layout Standard
37358 Opens the 
37359 \family sans
37360 Preferences
37361 \family default
37362  dialog as described in detail in appendix
37363 \begin_inset space ~
37364 \end_inset
37365
37366
37367 \begin_inset CommandInset ref
37368 LatexCommand ref
37369 reference "chap:The-Preferences-dialog"
37370
37371 \end_inset
37372
37373 .
37374 \end_layout
37375
37376 \begin_layout Section
37377 The Help Menu
37378 \begin_inset Index idx
37379 status collapsed
37380
37381 \begin_layout Plain Layout
37382 Menu ! Help
37383 \end_layout
37384
37385 \end_inset
37386
37387
37388 \end_layout
37389
37390 \begin_layout Standard
37391 This menu lists the documentation files of LyX in the language of LyX's
37392  menus.
37393  If a file is not available in this language, the English version will be
37394  listed.
37395 \end_layout
37396
37397 \begin_layout Standard
37398 The menu 
37399 \family sans
37400 LaTeX
37401 \begin_inset space ~
37402 \end_inset
37403
37404 Configuration
37405 \family default
37406  shows a LyX-document with information about the LaTeX-packages and classes
37407  found by LyX (see also section
37408 \begin_inset space ~
37409 \end_inset
37410
37411
37412 \begin_inset CommandInset ref
37413 LatexCommand ref
37414 reference "sec:LaTeX-Setup"
37415
37416 \end_inset
37417
37418 ).
37419 \end_layout
37420
37421 \begin_layout Standard
37422 The menu 
37423 \family sans
37424 About
37425 \begin_inset space ~
37426 \end_inset
37427
37428 Ly
37429 \begin_inset ERT
37430 status collapsed
37431
37432 \begin_layout Plain Layout
37433
37434 {}
37435 \end_layout
37436
37437 \end_inset
37438
37439 X
37440 \family default
37441  gives information about the copyright, the credits and the LyX version
37442  you are using.
37443 \end_layout
37444
37445 \begin_layout Section
37446 Toolbars
37447 \begin_inset CommandInset label
37448 LatexCommand label
37449 name "sec:Toolbars"
37450
37451 \end_inset
37452
37453
37454 \end_layout
37455
37456 \begin_layout Standard
37457 How to show or hide toolbars is explained in section
37458 \begin_inset space ~
37459 \end_inset
37460
37461
37462 \begin_inset CommandInset ref
37463 LatexCommand ref
37464 reference "sub:Toolbars"
37465
37466 \end_inset
37467
37468 .
37469 \end_layout
37470
37471 \begin_layout Standard
37472 It is also possible to define custom toolbars.
37473  This is described in the 
37474 \emph on
37475 Additional Features
37476 \emph default
37477  manual.
37478 \end_layout
37479
37480 \begin_layout Subsection
37481 Standard Toolbar
37482 \begin_inset Index idx
37483 status collapsed
37484
37485 \begin_layout Plain Layout
37486 Toolbar ! Standard
37487 \end_layout
37488
37489 \end_inset
37490
37491
37492 \end_layout
37493
37494 \begin_layout Standard
37495 \begin_inset Graphics
37496         filename clipart/StandardToolbar.png
37497         width 100col%
37498
37499 \end_inset
37500
37501
37502 \end_layout
37503
37504 \begin_layout Standard
37505 \begin_inset VSpace defskip
37506 \end_inset
37507
37508
37509 \end_layout
37510
37511 \begin_layout Standard
37512 The standard toolbar as shown above contains from left to right the following
37513  buttons:
37514 \begin_inset ERT
37515 status collapsed
37516
37517 \begin_layout Plain Layout
37518
37519
37520 \backslash
37521 setlength{
37522 \backslash
37523 LTleft}{0pt}
37524 \end_layout
37525
37526 \end_inset
37527
37528
37529 \begin_inset Note Note
37530 status collapsed
37531
37532 \begin_layout Plain Layout
37533 This is necessary to left align the following longtables.
37534  See the 
37535 \emph on
37536 Embedded Objects
37537 \emph default
37538  manual for more information.
37539 \end_layout
37540
37541 \end_inset
37542
37543
37544 \end_layout
37545
37546 \begin_layout Standard
37547 \begin_inset VSpace defskip
37548 \end_inset
37549
37550
37551 \end_layout
37552
37553 \begin_layout Standard
37554 \begin_inset Tabular
37555 <lyxtabular version="3" rows="1" columns="2">
37556 <features rotate="0" islongtable="true" longtabularalignment="center">
37557 <column alignment="center" valignment="top">
37558 <column alignment="center" valignment="top">
37559 <row>
37560 <cell alignment="center" valignment="top" usebox="none">
37561 \begin_inset Text
37562
37563 \begin_layout Plain Layout
37564 \begin_inset Graphics
37565         filename clipart/ToolbarEnvBox.png
37566         clip
37567
37568 \end_inset
37569
37570
37571 \end_layout
37572
37573 \end_inset
37574 </cell>
37575 <cell alignment="center" valignment="top" usebox="none">
37576 \begin_inset Text
37577
37578 \begin_layout Plain Layout
37579 pull-down box for the environments
37580 \end_layout
37581
37582 \end_inset
37583 </cell>
37584 </row>
37585 </lyxtabular>
37586
37587 \end_inset
37588
37589
37590 \end_layout
37591
37592 \begin_layout Standard
37593 \begin_inset VSpace -10mm
37594 \end_inset
37595
37596
37597 \end_layout
37598
37599 \begin_layout Standard
37600 \align left
37601 \begin_inset Tabular
37602 <lyxtabular version="3" rows="22" columns="2">
37603 <features rotate="0" islongtable="true" longtabularalignment="center">
37604 <column alignment="left" valignment="top">
37605 <column alignment="left" valignment="top">
37606 <row interlinespace="2.5mm">
37607 <cell alignment="center" valignment="top" usebox="none">
37608 \begin_inset Text
37609
37610 \begin_layout Plain Layout
37611
37612 \family sans
37613 \begin_inset Info
37614 type  "icon"
37615 arg   "buffer-new"
37616 \end_inset
37617
37618
37619 \end_layout
37620
37621 \end_inset
37622 </cell>
37623 <cell alignment="center" valignment="top" usebox="none">
37624 \begin_inset Text
37625
37626 \begin_layout Plain Layout
37627
37628 \family sans
37629 File\SpecialChar \menuseparator
37630 New
37631 \end_layout
37632
37633 \end_inset
37634 </cell>
37635 </row>
37636 <row interlinespace="2.5mm">
37637 <cell alignment="center" valignment="top" usebox="none">
37638 \begin_inset Text
37639
37640 \begin_layout Plain Layout
37641
37642 \family sans
37643 \begin_inset Info
37644 type  "icon"
37645 arg   "file-open"
37646 \end_inset
37647
37648
37649 \end_layout
37650
37651 \end_inset
37652 </cell>
37653 <cell alignment="center" valignment="top" usebox="none">
37654 \begin_inset Text
37655
37656 \begin_layout Plain Layout
37657
37658 \family sans
37659 File\SpecialChar \menuseparator
37660 Open
37661 \end_layout
37662
37663 \end_inset
37664 </cell>
37665 </row>
37666 <row interlinespace="2.5mm">
37667 <cell alignment="center" valignment="top" usebox="none">
37668 \begin_inset Text
37669
37670 \begin_layout Plain Layout
37671
37672 \family sans
37673 \begin_inset Info
37674 type  "icon"
37675 arg   "buffer-write"
37676 \end_inset
37677
37678
37679 \end_layout
37680
37681 \end_inset
37682 </cell>
37683 <cell alignment="center" valignment="top" usebox="none">
37684 \begin_inset Text
37685
37686 \begin_layout Plain Layout
37687
37688 \family sans
37689 File\SpecialChar \menuseparator
37690 Save
37691 \end_layout
37692
37693 \end_inset
37694 </cell>
37695 </row>
37696 <row interlinespace="2.5mm">
37697 <cell alignment="center" valignment="top" usebox="none">
37698 \begin_inset Text
37699
37700 \begin_layout Plain Layout
37701
37702 \family sans
37703 \begin_inset Info
37704 type  "icon"
37705 arg   "dialog-show print"
37706 \end_inset
37707
37708
37709 \end_layout
37710
37711 \end_inset
37712 </cell>
37713 <cell alignment="center" valignment="top" usebox="none">
37714 \begin_inset Text
37715
37716 \begin_layout Plain Layout
37717
37718 \family sans
37719 File\SpecialChar \menuseparator
37720 Print
37721 \end_layout
37722
37723 \end_inset
37724 </cell>
37725 </row>
37726 <row interlinespace="2.5mm">
37727 <cell alignment="center" valignment="top" usebox="none">
37728 \begin_inset Text
37729
37730 \begin_layout Plain Layout
37731
37732 \family sans
37733 \begin_inset Info
37734 type  "icon"
37735 arg   "dialog-show spellchecker"
37736 \end_inset
37737
37738
37739 \end_layout
37740
37741 \end_inset
37742 </cell>
37743 <cell alignment="center" valignment="top" usebox="none">
37744 \begin_inset Text
37745
37746 \begin_layout Plain Layout
37747
37748 \family sans
37749 Tools\SpecialChar \menuseparator
37750 Spellchecker
37751 \end_layout
37752
37753 \end_inset
37754 </cell>
37755 </row>
37756 <row interlinespace="2.5mm">
37757 <cell alignment="center" valignment="top" usebox="none">
37758 \begin_inset Text
37759
37760 \begin_layout Plain Layout
37761
37762 \family sans
37763 \begin_inset Info
37764 type  "icon"
37765 arg   "undo"
37766 \end_inset
37767
37768
37769 \end_layout
37770
37771 \end_inset
37772 </cell>
37773 <cell alignment="center" valignment="top" usebox="none">
37774 \begin_inset Text
37775
37776 \begin_layout Plain Layout
37777
37778 \family sans
37779 Edit\SpecialChar \menuseparator
37780 Undo
37781 \end_layout
37782
37783 \end_inset
37784 </cell>
37785 </row>
37786 <row interlinespace="2.5mm">
37787 <cell alignment="center" valignment="top" usebox="none">
37788 \begin_inset Text
37789
37790 \begin_layout Plain Layout
37791
37792 \family sans
37793 \begin_inset Info
37794 type  "icon"
37795 arg   "redo"
37796 \end_inset
37797
37798
37799 \end_layout
37800
37801 \end_inset
37802 </cell>
37803 <cell alignment="center" valignment="top" usebox="none">
37804 \begin_inset Text
37805
37806 \begin_layout Plain Layout
37807
37808 \family sans
37809 Edit\SpecialChar \menuseparator
37810 Redo
37811 \end_layout
37812
37813 \end_inset
37814 </cell>
37815 </row>
37816 <row interlinespace="2.5mm">
37817 <cell alignment="center" valignment="top" usebox="none">
37818 \begin_inset Text
37819
37820 \begin_layout Plain Layout
37821
37822 \family sans
37823 \begin_inset Info
37824 type  "icon"
37825 arg   "cut"
37826 \end_inset
37827
37828
37829 \end_layout
37830
37831 \end_inset
37832 </cell>
37833 <cell alignment="center" valignment="top" usebox="none">
37834 \begin_inset Text
37835
37836 \begin_layout Plain Layout
37837
37838 \family sans
37839 Edit\SpecialChar \menuseparator
37840 Cut
37841 \end_layout
37842
37843 \end_inset
37844 </cell>
37845 </row>
37846 <row interlinespace="2.5mm">
37847 <cell alignment="center" valignment="top" usebox="none">
37848 \begin_inset Text
37849
37850 \begin_layout Plain Layout
37851
37852 \family sans
37853 \begin_inset Info
37854 type  "icon"
37855 arg   "copy"
37856 \end_inset
37857
37858
37859 \end_layout
37860
37861 \end_inset
37862 </cell>
37863 <cell alignment="center" valignment="top" usebox="none">
37864 \begin_inset Text
37865
37866 \begin_layout Plain Layout
37867
37868 \family sans
37869 Edit\SpecialChar \menuseparator
37870 Copy
37871 \end_layout
37872
37873 \end_inset
37874 </cell>
37875 </row>
37876 <row interlinespace="2.5mm">
37877 <cell alignment="center" valignment="top" usebox="none">
37878 \begin_inset Text
37879
37880 \begin_layout Plain Layout
37881
37882 \family sans
37883 \begin_inset Info
37884 type  "icon"
37885 arg   "paste"
37886 \end_inset
37887
37888
37889 \end_layout
37890
37891 \end_inset
37892 </cell>
37893 <cell alignment="center" valignment="top" usebox="none">
37894 \begin_inset Text
37895
37896 \begin_layout Plain Layout
37897
37898 \family sans
37899 Edit\SpecialChar \menuseparator
37900 Paste
37901 \end_layout
37902
37903 \end_inset
37904 </cell>
37905 </row>
37906 <row interlinespace="2.5mm">
37907 <cell alignment="center" valignment="top" usebox="none">
37908 \begin_inset Text
37909
37910 \begin_layout Plain Layout
37911
37912 \family sans
37913 \begin_inset Info
37914 type  "icon"
37915 arg   "dialog-show findreplace"
37916 \end_inset
37917
37918
37919 \end_layout
37920
37921 \end_inset
37922 </cell>
37923 <cell alignment="center" valignment="top" usebox="none">
37924 \begin_inset Text
37925
37926 \begin_layout Plain Layout
37927
37928 \family sans
37929 Edit\SpecialChar \menuseparator
37930 Find
37931 \begin_inset space \thinspace{}
37932 \end_inset
37933
37934 &
37935 \begin_inset space \thinspace{}
37936 \end_inset
37937
37938 Replace
37939 \begin_inset space \thinspace{}
37940 \end_inset
37941
37942 (Quick)
37943 \end_layout
37944
37945 \end_inset
37946 </cell>
37947 </row>
37948 <row interlinespace="2.5mm">
37949 <cell alignment="center" valignment="top" usebox="none">
37950 \begin_inset Text
37951
37952 \begin_layout Plain Layout
37953 \begin_inset Info
37954 type  "icon"
37955 arg   "dialog-toggle findreplaceadv"
37956 \end_inset
37957
37958
37959 \end_layout
37960
37961 \end_inset
37962 </cell>
37963 <cell alignment="center" valignment="top" usebox="none">
37964 \begin_inset Text
37965
37966 \begin_layout Plain Layout
37967
37968 \family sans
37969 Edit\SpecialChar \menuseparator
37970 Find
37971 \begin_inset space \thinspace{}
37972 \end_inset
37973
37974 &
37975 \begin_inset space \thinspace{}
37976 \end_inset
37977
37978 Replace
37979 \begin_inset space \thinspace{}
37980 \end_inset
37981
37982 (Advanced)
37983 \end_layout
37984
37985 \end_inset
37986 </cell>
37987 </row>
37988 <row interlinespace="2.5mm">
37989 <cell alignment="center" valignment="top" usebox="none">
37990 \begin_inset Text
37991
37992 \begin_layout Plain Layout
37993
37994 \family sans
37995 \begin_inset Info
37996 type  "icon"
37997 arg   "bookmark-goto 0"
37998 \end_inset
37999
38000
38001 \end_layout
38002
38003 \end_inset
38004 </cell>
38005 <cell alignment="center" valignment="top" usebox="none">
38006 \begin_inset Text
38007
38008 \begin_layout Plain Layout
38009
38010 \family sans
38011 Navigate\SpecialChar \menuseparator
38012 Bookmarks\SpecialChar \menuseparator
38013 Navigate Back
38014 \end_layout
38015
38016 \end_inset
38017 </cell>
38018 </row>
38019 <row interlinespace="2.5mm">
38020 <cell alignment="center" valignment="top" usebox="none">
38021 \begin_inset Text
38022
38023 \begin_layout Plain Layout
38024
38025 \family sans
38026 \begin_inset Info
38027 type  "icon"
38028 arg   "font-emph"
38029 \end_inset
38030
38031
38032 \end_layout
38033
38034 \end_inset
38035 </cell>
38036 <cell alignment="center" valignment="top" usebox="none">
38037 \begin_inset Text
38038
38039 \begin_layout Plain Layout
38040 Emphasize text, function of the 
38041 \family sans
38042 Edit\SpecialChar \menuseparator
38043 Text
38044 \begin_inset space ~
38045 \end_inset
38046
38047 Style\SpecialChar \menuseparator
38048 Customized
38049 \family default
38050  dialog
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   "font-noun"
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 Set text to noun style, function of the 
38078 \family sans
38079 Edit\SpecialChar \menuseparator
38080 Text
38081 \begin_inset space ~
38082 \end_inset
38083
38084 Style\SpecialChar \menuseparator
38085 Customized
38086 \family default
38087  dialog
38088 \end_layout
38089
38090 \end_inset
38091 </cell>
38092 </row>
38093 <row interlinespace="2.5mm">
38094 <cell alignment="center" valignment="top" usebox="none">
38095 \begin_inset Text
38096
38097 \begin_layout Plain Layout
38098
38099 \family sans
38100 \begin_inset Info
38101 type  "icon"
38102 arg   "textstyle-apply"
38103 \end_inset
38104
38105
38106 \end_layout
38107
38108 \end_inset
38109 </cell>
38110 <cell alignment="center" valignment="top" usebox="none">
38111 \begin_inset Text
38112
38113 \begin_layout Plain Layout
38114 Format text using the current settings in the 
38115 \family sans
38116 Edit\SpecialChar \menuseparator
38117 Text
38118 \begin_inset space ~
38119 \end_inset
38120
38121 Style\SpecialChar \menuseparator
38122 Customized
38123 \family default
38124  dialog
38125 \end_layout
38126
38127 \end_inset
38128 </cell>
38129 </row>
38130 <row interlinespace="2.5mm">
38131 <cell alignment="center" valignment="top" usebox="none">
38132 \begin_inset Text
38133
38134 \begin_layout Plain Layout
38135
38136 \family sans
38137 \begin_inset Info
38138 type  "icon"
38139 arg   "math-mode"
38140 \end_inset
38141
38142
38143 \end_layout
38144
38145 \end_inset
38146 </cell>
38147 <cell alignment="center" valignment="top" usebox="none">
38148 \begin_inset Text
38149
38150 \begin_layout Plain Layout
38151
38152 \family sans
38153 Insert\SpecialChar \menuseparator
38154 Math\SpecialChar \menuseparator
38155 Inline
38156 \begin_inset space ~
38157 \end_inset
38158
38159 Formula
38160 \end_layout
38161
38162 \end_inset
38163 </cell>
38164 </row>
38165 <row interlinespace="2.5mm">
38166 <cell alignment="center" valignment="top" usebox="none">
38167 \begin_inset Text
38168
38169 \begin_layout Plain Layout
38170
38171 \family sans
38172 \begin_inset Info
38173 type  "icon"
38174 arg   "dialog-show-new-inset graphics"
38175 \end_inset
38176
38177
38178 \end_layout
38179
38180 \end_inset
38181 </cell>
38182 <cell alignment="center" valignment="top" usebox="none">
38183 \begin_inset Text
38184
38185 \begin_layout Plain Layout
38186
38187 \family sans
38188 Insert\SpecialChar \menuseparator
38189 Graphics
38190 \end_layout
38191
38192 \end_inset
38193 </cell>
38194 </row>
38195 <row interlinespace="2.5mm">
38196 <cell alignment="center" valignment="top" usebox="none">
38197 \begin_inset Text
38198
38199 \begin_layout Plain Layout
38200 \begin_inset Info
38201 type  "icon"
38202 arg   "tabular-insert"
38203 \end_inset
38204
38205
38206 \end_layout
38207
38208 \end_inset
38209 </cell>
38210 <cell alignment="center" valignment="top" usebox="none">
38211 \begin_inset Text
38212
38213 \begin_layout Plain Layout
38214
38215 \family sans
38216 Insert\SpecialChar \menuseparator
38217 Table
38218 \end_layout
38219
38220 \end_inset
38221 </cell>
38222 </row>
38223 <row interlinespace="2.5mm">
38224 <cell alignment="center" valignment="top" usebox="none">
38225 \begin_inset Text
38226
38227 \begin_layout Plain Layout
38228
38229 \family sans
38230 \begin_inset Info
38231 type  "icon"
38232 arg   "dialog-toggle toc"
38233 \end_inset
38234
38235
38236 \end_layout
38237
38238 \end_inset
38239 </cell>
38240 <cell alignment="center" valignment="top" usebox="none">
38241 \begin_inset Text
38242
38243 \begin_layout Plain Layout
38244 Toggle outline window on/off, 
38245 \family sans
38246 Document\SpecialChar \menuseparator
38247 Outline
38248 \end_layout
38249
38250 \end_inset
38251 </cell>
38252 </row>
38253 <row interlinespace="2.5mm">
38254 <cell alignment="center" valignment="top" usebox="none">
38255 \begin_inset Text
38256
38257 \begin_layout Plain Layout
38258
38259 \family sans
38260 \begin_inset Info
38261 type  "icon"
38262 arg   "toolbar-toggle math"
38263 \end_inset
38264
38265
38266 \end_layout
38267
38268 \end_inset
38269 </cell>
38270 <cell alignment="center" valignment="top" usebox="none">
38271 \begin_inset Text
38272
38273 \begin_layout Plain Layout
38274 Toggle math toolbar on/off
38275 \end_layout
38276
38277 \end_inset
38278 </cell>
38279 </row>
38280 <row interlinespace="2.5mm">
38281 <cell alignment="center" valignment="top" usebox="none">
38282 \begin_inset Text
38283
38284 \begin_layout Plain Layout
38285
38286 \family sans
38287 \begin_inset Info
38288 type  "icon"
38289 arg   "toolbar-toggle table"
38290 \end_inset
38291
38292
38293 \end_layout
38294
38295 \end_inset
38296 </cell>
38297 <cell alignment="center" valignment="top" usebox="none">
38298 \begin_inset Text
38299
38300 \begin_layout Plain Layout
38301 Toggle table toolbar on/off
38302 \end_layout
38303
38304 \end_inset
38305 </cell>
38306 </row>
38307 </lyxtabular>
38308
38309 \end_inset
38310
38311
38312 \end_layout
38313
38314 \begin_layout Subsection
38315 Extra Toolbar
38316 \begin_inset Index idx
38317 status collapsed
38318
38319 \begin_layout Plain Layout
38320 Toolbar ! Extra
38321 \end_layout
38322
38323 \end_inset
38324
38325
38326 \end_layout
38327
38328 \begin_layout Standard
38329 \begin_inset Graphics
38330         filename clipart/ExtraToolbar.png
38331         width 100col%
38332
38333 \end_inset
38334
38335
38336 \end_layout
38337
38338 \begin_layout Standard
38339 \begin_inset VSpace defskip
38340 \end_inset
38341
38342
38343 \end_layout
38344
38345 \begin_layout Standard
38346 The extra toolbar as shown above contains from left to right the following
38347  buttons:
38348 \end_layout
38349
38350 \begin_layout Standard
38351 \begin_inset VSpace defskip
38352 \end_inset
38353
38354
38355 \end_layout
38356
38357 \begin_layout Standard
38358 \begin_inset Tabular
38359 <lyxtabular version="3" rows="25" columns="2">
38360 <features rotate="0" islongtable="true" longtabularalignment="center">
38361 <column alignment="left" valignment="top">
38362 <column alignment="left" valignment="top">
38363 <row interlinespace="2.5mm">
38364 <cell alignment="center" valignment="top" usebox="none">
38365 \begin_inset Text
38366
38367 \begin_layout Plain Layout
38368
38369 \family sans
38370 \begin_inset Info
38371 type  "icon"
38372 arg   "layout"
38373 \end_inset
38374
38375
38376 \end_layout
38377
38378 \end_inset
38379 </cell>
38380 <cell alignment="center" valignment="top" usebox="none">
38381 \begin_inset Text
38382
38383 \begin_layout Plain Layout
38384 Default
38385 \end_layout
38386
38387 \end_inset
38388 </cell>
38389 </row>
38390 <row interlinespace="2.5mm">
38391 <cell alignment="center" valignment="top" usebox="none">
38392 \begin_inset Text
38393
38394 \begin_layout Plain Layout
38395
38396 \family sans
38397 \begin_inset Info
38398 type  "icon"
38399 arg   "layout Enumerate"
38400 \end_inset
38401
38402
38403 \end_layout
38404
38405 \end_inset
38406 </cell>
38407 <cell alignment="center" valignment="top" usebox="none">
38408 \begin_inset Text
38409
38410 \begin_layout Plain Layout
38411 Numbered list
38412 \end_layout
38413
38414 \end_inset
38415 </cell>
38416 </row>
38417 <row interlinespace="2.5mm">
38418 <cell alignment="center" valignment="top" usebox="none">
38419 \begin_inset Text
38420
38421 \begin_layout Plain Layout
38422
38423 \family sans
38424 \begin_inset Info
38425 type  "icon"
38426 arg   "layout Itemize"
38427 \end_inset
38428
38429
38430 \end_layout
38431
38432 \end_inset
38433 </cell>
38434 <cell alignment="center" valignment="top" usebox="none">
38435 \begin_inset Text
38436
38437 \begin_layout Plain Layout
38438 Itemized list
38439 \end_layout
38440
38441 \end_inset
38442 </cell>
38443 </row>
38444 <row interlinespace="2.5mm">
38445 <cell alignment="center" valignment="top" usebox="none">
38446 \begin_inset Text
38447
38448 \begin_layout Plain Layout
38449
38450 \family sans
38451 \begin_inset Info
38452 type  "icon"
38453 arg   "layout List"
38454 \end_inset
38455
38456
38457 \end_layout
38458
38459 \end_inset
38460 </cell>
38461 <cell alignment="center" valignment="top" usebox="none">
38462 \begin_inset Text
38463
38464 \begin_layout Plain Layout
38465 List
38466 \end_layout
38467
38468 \end_inset
38469 </cell>
38470 </row>
38471 <row interlinespace="2.5mm">
38472 <cell alignment="center" valignment="top" usebox="none">
38473 \begin_inset Text
38474
38475 \begin_layout Plain Layout
38476
38477 \family sans
38478 \begin_inset Info
38479 type  "icon"
38480 arg   "layout Description"
38481 \end_inset
38482
38483
38484 \end_layout
38485
38486 \end_inset
38487 </cell>
38488 <cell alignment="center" valignment="top" usebox="none">
38489 \begin_inset Text
38490
38491 \begin_layout Plain Layout
38492 Description list
38493 \end_layout
38494
38495 \end_inset
38496 </cell>
38497 </row>
38498 <row interlinespace="2.5mm">
38499 <cell alignment="center" valignment="top" usebox="none">
38500 \begin_inset Text
38501
38502 \begin_layout Plain Layout
38503
38504 \family sans
38505 \begin_inset Info
38506 type  "icon"
38507 arg   "depth-increment"
38508 \end_inset
38509
38510
38511 \end_layout
38512
38513 \end_inset
38514 </cell>
38515 <cell alignment="center" valignment="top" usebox="none">
38516 \begin_inset Text
38517
38518 \begin_layout Plain Layout
38519
38520 \family sans
38521 Edit\SpecialChar \menuseparator
38522 Increase
38523 \begin_inset space ~
38524 \end_inset
38525
38526 List
38527 \begin_inset space ~
38528 \end_inset
38529
38530 Depth
38531 \end_layout
38532
38533 \end_inset
38534 </cell>
38535 </row>
38536 <row interlinespace="2.5mm">
38537 <cell alignment="center" valignment="top" usebox="none">
38538 \begin_inset Text
38539
38540 \begin_layout Plain Layout
38541
38542 \family sans
38543 \begin_inset Info
38544 type  "icon"
38545 arg   "depth-decrement"
38546 \end_inset
38547
38548
38549 \end_layout
38550
38551 \end_inset
38552 </cell>
38553 <cell alignment="center" valignment="top" usebox="none">
38554 \begin_inset Text
38555
38556 \begin_layout Plain Layout
38557
38558 \family sans
38559 Edit\SpecialChar \menuseparator
38560 Decrease
38561 \begin_inset space ~
38562 \end_inset
38563
38564 List
38565 \begin_inset space ~
38566 \end_inset
38567
38568 Depth
38569 \end_layout
38570
38571 \end_inset
38572 </cell>
38573 </row>
38574 <row interlinespace="2.5mm">
38575 <cell alignment="center" valignment="top" usebox="none">
38576 \begin_inset Text
38577
38578 \begin_layout Plain Layout
38579
38580 \family sans
38581 \begin_inset Info
38582 type  "icon"
38583 arg   "float-insert figure"
38584 \end_inset
38585
38586
38587 \end_layout
38588
38589 \end_inset
38590 </cell>
38591 <cell alignment="center" valignment="top" usebox="none">
38592 \begin_inset Text
38593
38594 \begin_layout Plain Layout
38595
38596 \family sans
38597 Insert\SpecialChar \menuseparator
38598 Float\SpecialChar \menuseparator
38599 Figure
38600 \end_layout
38601
38602 \end_inset
38603 </cell>
38604 </row>
38605 <row interlinespace="2.5mm">
38606 <cell alignment="center" valignment="top" usebox="none">
38607 \begin_inset Text
38608
38609 \begin_layout Plain Layout
38610
38611 \family sans
38612 \begin_inset Info
38613 type  "icon"
38614 arg   "float-insert table"
38615 \end_inset
38616
38617
38618 \end_layout
38619
38620 \end_inset
38621 </cell>
38622 <cell alignment="center" valignment="top" usebox="none">
38623 \begin_inset Text
38624
38625 \begin_layout Plain Layout
38626
38627 \family sans
38628 Insert\SpecialChar \menuseparator
38629 Float\SpecialChar \menuseparator
38630 Table
38631 \end_layout
38632
38633 \end_inset
38634 </cell>
38635 </row>
38636 <row interlinespace="2.5mm">
38637 <cell alignment="center" valignment="top" usebox="none">
38638 \begin_inset Text
38639
38640 \begin_layout Plain Layout
38641
38642 \family sans
38643 \begin_inset Info
38644 type  "icon"
38645 arg   "label-insert"
38646 \end_inset
38647
38648
38649 \end_layout
38650
38651 \end_inset
38652 </cell>
38653 <cell alignment="center" valignment="top" usebox="none">
38654 \begin_inset Text
38655
38656 \begin_layout Plain Layout
38657
38658 \family sans
38659 Insert\SpecialChar \menuseparator
38660 Label
38661 \end_layout
38662
38663 \end_inset
38664 </cell>
38665 </row>
38666 <row interlinespace="2.5mm">
38667 <cell alignment="center" valignment="top" usebox="none">
38668 \begin_inset Text
38669
38670 \begin_layout Plain Layout
38671
38672 \family sans
38673 \begin_inset Info
38674 type  "icon"
38675 arg   "dialog-show-new-inset ref"
38676 \end_inset
38677
38678
38679 \end_layout
38680
38681 \end_inset
38682 </cell>
38683 <cell alignment="center" valignment="top" usebox="none">
38684 \begin_inset Text
38685
38686 \begin_layout Plain Layout
38687
38688 \family sans
38689 Insert\SpecialChar \menuseparator
38690 Cross-Reference
38691 \end_layout
38692
38693 \end_inset
38694 </cell>
38695 </row>
38696 <row interlinespace="2.5mm">
38697 <cell alignment="center" valignment="top" usebox="none">
38698 \begin_inset Text
38699
38700 \begin_layout Plain Layout
38701
38702 \family sans
38703 \begin_inset Info
38704 type  "icon"
38705 arg   "dialog-show-new-inset citation"
38706 \end_inset
38707
38708
38709 \end_layout
38710
38711 \end_inset
38712 </cell>
38713 <cell alignment="center" valignment="top" usebox="none">
38714 \begin_inset Text
38715
38716 \begin_layout Plain Layout
38717
38718 \family sans
38719 Insert\SpecialChar \menuseparator
38720 Citation
38721 \end_layout
38722
38723 \end_inset
38724 </cell>
38725 </row>
38726 <row interlinespace="2.5mm">
38727 <cell alignment="center" valignment="top" usebox="none">
38728 \begin_inset Text
38729
38730 \begin_layout Plain Layout
38731
38732 \family sans
38733 \begin_inset Info
38734 type  "icon"
38735 arg   "index-insert"
38736 \end_inset
38737
38738
38739 \end_layout
38740
38741 \end_inset
38742 </cell>
38743 <cell alignment="center" valignment="top" usebox="none">
38744 \begin_inset Text
38745
38746 \begin_layout Plain Layout
38747
38748 \family sans
38749 Insert\SpecialChar \menuseparator
38750 Index
38751 \begin_inset space ~
38752 \end_inset
38753
38754 Entry
38755 \end_layout
38756
38757 \end_inset
38758 </cell>
38759 </row>
38760 <row interlinespace="2.5mm">
38761 <cell alignment="center" valignment="top" usebox="none">
38762 \begin_inset Text
38763
38764 \begin_layout Plain Layout
38765
38766 \family sans
38767 \begin_inset Info
38768 type  "icon"
38769 arg   "nomencl-insert"
38770 \end_inset
38771
38772
38773 \end_layout
38774
38775 \end_inset
38776 </cell>
38777 <cell alignment="center" valignment="top" usebox="none">
38778 \begin_inset Text
38779
38780 \begin_layout Plain Layout
38781
38782 \family sans
38783 Insert\SpecialChar \menuseparator
38784 Nomenclature
38785 \begin_inset space ~
38786 \end_inset
38787
38788 Entry
38789 \end_layout
38790
38791 \end_inset
38792 </cell>
38793 </row>
38794 <row interlinespace="2.5mm">
38795 <cell alignment="center" valignment="top" usebox="none">
38796 \begin_inset Text
38797
38798 \begin_layout Plain Layout
38799
38800 \family sans
38801 \begin_inset Info
38802 type  "icon"
38803 arg   "footnote-insert"
38804 \end_inset
38805
38806
38807 \end_layout
38808
38809 \end_inset
38810 </cell>
38811 <cell alignment="center" valignment="top" usebox="none">
38812 \begin_inset Text
38813
38814 \begin_layout Plain Layout
38815
38816 \family sans
38817 Insert\SpecialChar \menuseparator
38818 Footnote
38819 \end_layout
38820
38821 \end_inset
38822 </cell>
38823 </row>
38824 <row interlinespace="2.5mm">
38825 <cell alignment="center" valignment="top" usebox="none">
38826 \begin_inset Text
38827
38828 \begin_layout Plain Layout
38829
38830 \family sans
38831 \begin_inset Info
38832 type  "icon"
38833 arg   "marginalnote-insert"
38834 \end_inset
38835
38836
38837 \end_layout
38838
38839 \end_inset
38840 </cell>
38841 <cell alignment="center" valignment="top" usebox="none">
38842 \begin_inset Text
38843
38844 \begin_layout Plain Layout
38845
38846 \family sans
38847 Insert\SpecialChar \menuseparator
38848 Marginal
38849 \begin_inset space ~
38850 \end_inset
38851
38852 Note
38853 \end_layout
38854
38855 \end_inset
38856 </cell>
38857 </row>
38858 <row interlinespace="2.5mm">
38859 <cell alignment="center" valignment="top" usebox="none">
38860 \begin_inset Text
38861
38862 \begin_layout Plain Layout
38863
38864 \family sans
38865 \begin_inset Info
38866 type  "icon"
38867 arg   "note-insert"
38868 \end_inset
38869
38870
38871 \end_layout
38872
38873 \end_inset
38874 </cell>
38875 <cell alignment="center" valignment="top" usebox="none">
38876 \begin_inset Text
38877
38878 \begin_layout Plain Layout
38879
38880 \family sans
38881 Insert\SpecialChar \menuseparator
38882 Note\SpecialChar \menuseparator
38883 L
38884 \begin_inset ERT
38885 status collapsed
38886
38887 \begin_layout Plain Layout
38888
38889 {}
38890 \end_layout
38891
38892 \end_inset
38893
38894 yX
38895 \begin_inset space ~
38896 \end_inset
38897
38898 Note
38899 \end_layout
38900
38901 \end_inset
38902 </cell>
38903 </row>
38904 <row interlinespace="2.5mm">
38905 <cell alignment="center" valignment="top" usebox="none">
38906 \begin_inset Text
38907
38908 \begin_layout Plain Layout
38909
38910 \family sans
38911 \begin_inset Info
38912 type  "icon"
38913 arg   "box-insert Frameless"
38914 \end_inset
38915
38916
38917 \end_layout
38918
38919 \end_inset
38920 </cell>
38921 <cell alignment="center" valignment="top" usebox="none">
38922 \begin_inset Text
38923
38924 \begin_layout Plain Layout
38925
38926 \family sans
38927 Insert\SpecialChar \menuseparator
38928 Box
38929 \end_layout
38930
38931 \end_inset
38932 </cell>
38933 </row>
38934 <row interlinespace="2.5mm">
38935 <cell alignment="center" valignment="top" usebox="none">
38936 \begin_inset Text
38937
38938 \begin_layout Plain Layout
38939
38940 \family sans
38941 \begin_inset Info
38942 type  "icon"
38943 arg   "href-insert"
38944 \end_inset
38945
38946
38947 \end_layout
38948
38949 \end_inset
38950 </cell>
38951 <cell alignment="center" valignment="top" usebox="none">
38952 \begin_inset Text
38953
38954 \begin_layout Plain Layout
38955
38956 \family sans
38957 Insert\SpecialChar \menuseparator
38958 Hyperlink
38959 \end_layout
38960
38961 \end_inset
38962 </cell>
38963 </row>
38964 <row interlinespace="2.5mm">
38965 <cell alignment="center" valignment="top" usebox="none">
38966 \begin_inset Text
38967
38968 \begin_layout Plain Layout
38969
38970 \family sans
38971 \begin_inset Info
38972 type  "icon"
38973 arg   "ert-insert"
38974 \end_inset
38975
38976
38977 \end_layout
38978
38979 \end_inset
38980 </cell>
38981 <cell alignment="center" valignment="top" usebox="none">
38982 \begin_inset Text
38983
38984 \begin_layout Plain Layout
38985
38986 \family sans
38987 Insert\SpecialChar \menuseparator
38988 T
38989 \family default
38990
38991 \begin_inset ERT
38992 status collapsed
38993
38994 \begin_layout Plain Layout
38995
38996 {}
38997 \end_layout
38998
38999 \end_inset
39000
39001
39002 \family sans
39003 eX
39004 \begin_inset space ~
39005 \end_inset
39006
39007 Code
39008 \end_layout
39009
39010 \end_inset
39011 </cell>
39012 </row>
39013 <row interlinespace="2.5mm">
39014 <cell alignment="center" valignment="top" usebox="none">
39015 \begin_inset Text
39016
39017 \begin_layout Plain Layout
39018
39019 \family sans
39020 \begin_inset Info
39021 type  "icon"
39022 arg   "math-macro newmacroname newcommand"
39023 \end_inset
39024
39025
39026 \end_layout
39027
39028 \end_inset
39029 </cell>
39030 <cell alignment="center" valignment="top" usebox="none">
39031 \begin_inset Text
39032
39033 \begin_layout Plain Layout
39034
39035 \family sans
39036 Insert\SpecialChar \menuseparator
39037 Math\SpecialChar \menuseparator
39038 Macro
39039 \end_layout
39040
39041 \end_inset
39042 </cell>
39043 </row>
39044 <row interlinespace="2.5mm">
39045 <cell alignment="center" valignment="top" usebox="none">
39046 \begin_inset Text
39047
39048 \begin_layout Plain Layout
39049
39050 \family sans
39051 \begin_inset Info
39052 type  "icon"
39053 arg   "dialog-show-new-inset include"
39054 \end_inset
39055
39056
39057 \end_layout
39058
39059 \end_inset
39060 </cell>
39061 <cell alignment="center" valignment="top" usebox="none">
39062 \begin_inset Text
39063
39064 \begin_layout Plain Layout
39065
39066 \family sans
39067 Insert\SpecialChar \menuseparator
39068 File\SpecialChar \menuseparator
39069 Child
39070 \begin_inset space ~
39071 \end_inset
39072
39073 Document
39074 \end_layout
39075
39076 \end_inset
39077 </cell>
39078 </row>
39079 <row interlinespace="2.5mm">
39080 <cell alignment="center" valignment="top" usebox="none">
39081 \begin_inset Text
39082
39083 \begin_layout Plain Layout
39084
39085 \family sans
39086 \begin_inset Info
39087 type  "icon"
39088 arg   "dialog-show character"
39089 \end_inset
39090
39091
39092 \end_layout
39093
39094 \end_inset
39095 </cell>
39096 <cell alignment="center" valignment="top" usebox="none">
39097 \begin_inset Text
39098
39099 \begin_layout Plain Layout
39100
39101 \family sans
39102 Edit\SpecialChar \menuseparator
39103 Text
39104 \begin_inset space ~
39105 \end_inset
39106
39107 Style\SpecialChar \menuseparator
39108 Customized
39109 \end_layout
39110
39111 \end_inset
39112 </cell>
39113 </row>
39114 <row interlinespace="2.5mm">
39115 <cell alignment="center" valignment="top" usebox="none">
39116 \begin_inset Text
39117
39118 \begin_layout Plain Layout
39119
39120 \family sans
39121 \begin_inset Info
39122 type  "icon"
39123 arg   "layout-paragraph"
39124 \end_inset
39125
39126
39127 \end_layout
39128
39129 \end_inset
39130 </cell>
39131 <cell alignment="center" valignment="top" usebox="none">
39132 \begin_inset Text
39133
39134 \begin_layout Plain Layout
39135
39136 \family sans
39137 Edit\SpecialChar \menuseparator
39138 Paragraph
39139 \begin_inset space ~
39140 \end_inset
39141
39142 Settings
39143 \end_layout
39144
39145 \end_inset
39146 </cell>
39147 </row>
39148 <row interlinespace="2.5mm">
39149 <cell alignment="center" valignment="top" usebox="none">
39150 \begin_inset Text
39151
39152 \begin_layout Plain Layout
39153
39154 \family sans
39155 \begin_inset Info
39156 type  "icon"
39157 arg   "thesaurus-entry"
39158 \end_inset
39159
39160
39161 \end_layout
39162
39163 \end_inset
39164 </cell>
39165 <cell alignment="center" valignment="top" usebox="none">
39166 \begin_inset Text
39167
39168 \begin_layout Plain Layout
39169
39170 \family sans
39171 Tools\SpecialChar \menuseparator
39172 Thesaurus
39173 \end_layout
39174
39175 \end_inset
39176 </cell>
39177 </row>
39178 </lyxtabular>
39179
39180 \end_inset
39181
39182
39183 \end_layout
39184
39185 \begin_layout Subsection
39186 View/Update Toolbar
39187 \begin_inset Index idx
39188 status collapsed
39189
39190 \begin_layout Plain Layout
39191 Toolbar ! View / Update
39192 \end_layout
39193
39194 \end_inset
39195
39196
39197 \end_layout
39198
39199 \begin_layout Standard
39200 \begin_inset Graphics
39201         filename clipart/ViewToolbar.png
39202
39203 \end_inset
39204
39205
39206 \end_layout
39207
39208 \begin_layout Standard
39209 \begin_inset VSpace defskip
39210 \end_inset
39211
39212
39213 \end_layout
39214
39215 \begin_layout Standard
39216 The view/update toolbar as shown above contains from left to right the following
39217  buttons:
39218 \end_layout
39219
39220 \begin_layout Standard
39221 \begin_inset VSpace defskip
39222 \end_inset
39223
39224
39225 \end_layout
39226
39227 \begin_layout Standard
39228 \begin_inset Tabular
39229 <lyxtabular version="3" rows="7" columns="2">
39230 <features rotate="0" islongtable="true" longtabularalignment="center">
39231 <column alignment="left" valignment="top">
39232 <column alignment="left" valignment="top">
39233 <row interlinespace="2.5mm">
39234 <cell alignment="center" valignment="top" usebox="none">
39235 \begin_inset Text
39236
39237 \begin_layout Plain Layout
39238
39239 \family sans
39240 \begin_inset Info
39241 type  "icon"
39242 arg   "buffer-view"
39243 \end_inset
39244
39245
39246 \end_layout
39247
39248 \end_inset
39249 </cell>
39250 <cell alignment="center" valignment="top" usebox="none">
39251 \begin_inset Text
39252
39253 \begin_layout Plain Layout
39254
39255 \family sans
39256 View\SpecialChar \menuseparator
39257 View
39258 \end_layout
39259
39260 \end_inset
39261 </cell>
39262 </row>
39263 <row interlinespace="2.5mm">
39264 <cell alignment="center" valignment="top" usebox="none">
39265 \begin_inset Text
39266
39267 \begin_layout Plain Layout
39268
39269 \family sans
39270 \begin_inset Info
39271 type  "icon"
39272 arg   "buffer-update"
39273 \end_inset
39274
39275
39276 \end_layout
39277
39278 \end_inset
39279 </cell>
39280 <cell alignment="center" valignment="top" usebox="none">
39281 \begin_inset Text
39282
39283 \begin_layout Plain Layout
39284
39285 \family sans
39286 View\SpecialChar \menuseparator
39287 Update
39288 \end_layout
39289
39290 \end_inset
39291 </cell>
39292 </row>
39293 <row interlinespace="2.5mm">
39294 <cell alignment="center" valignment="top" usebox="none">
39295 \begin_inset Text
39296
39297 \begin_layout Plain Layout
39298
39299 \family sans
39300 \begin_inset Info
39301 type  "icon"
39302 arg   "master-buffer-view"
39303 \end_inset
39304
39305
39306 \end_layout
39307
39308 \end_inset
39309 </cell>
39310 <cell alignment="center" valignment="top" usebox="none">
39311 \begin_inset Text
39312
39313 \begin_layout Plain Layout
39314
39315 \family sans
39316 View\SpecialChar \menuseparator
39317 Master
39318 \begin_inset space ~
39319 \end_inset
39320
39321 Document
39322 \end_layout
39323
39324 \end_inset
39325 </cell>
39326 </row>
39327 <row interlinespace="2.5mm">
39328 <cell alignment="center" valignment="top" usebox="none">
39329 \begin_inset Text
39330
39331 \begin_layout Plain Layout
39332
39333 \family sans
39334 \begin_inset Info
39335 type  "icon"
39336 arg   "master-buffer-update"
39337 \end_inset
39338
39339
39340 \end_layout
39341
39342 \end_inset
39343 </cell>
39344 <cell alignment="center" valignment="top" usebox="none">
39345 \begin_inset Text
39346
39347 \begin_layout Plain Layout
39348
39349 \family sans
39350 View\SpecialChar \menuseparator
39351 Update
39352 \begin_inset space ~
39353 \end_inset
39354
39355 Master
39356 \begin_inset space ~
39357 \end_inset
39358
39359 Document
39360 \end_layout
39361
39362 \end_inset
39363 </cell>
39364 </row>
39365 <row interlinespace="2.5mm">
39366 <cell alignment="center" valignment="top" usebox="none">
39367 \begin_inset Text
39368
39369 \begin_layout Plain Layout
39370
39371 \family sans
39372 \begin_inset Info
39373 type  "icon"
39374 arg   "buffer-toggle-output-sync"
39375 \end_inset
39376
39377
39378 \end_layout
39379
39380 \end_inset
39381 </cell>
39382 <cell alignment="center" valignment="top" usebox="none">
39383 \begin_inset Text
39384
39385 \begin_layout Plain Layout
39386
39387 \family sans
39388 Document\SpecialChar \menuseparator
39389 Settings\SpecialChar \menuseparator
39390 Output\SpecialChar \menuseparator
39391 Synchronize with Output
39392 \end_layout
39393
39394 \end_inset
39395 </cell>
39396 </row>
39397 <row interlinespace="2.5mm">
39398 <cell alignment="center" valignment="top" usebox="none">
39399 \begin_inset Text
39400
39401 \begin_layout Plain Layout
39402 \begin_inset Graphics
39403         filename ../images/view-others.png
39404         scale 85
39405         groupId toolbarbuttons
39406
39407 \end_inset
39408
39409
39410 \family sans
39411 *
39412 \end_layout
39413
39414 \end_inset
39415 </cell>
39416 <cell alignment="center" valignment="top" usebox="none">
39417 \begin_inset Text
39418
39419 \begin_layout Plain Layout
39420
39421 \family sans
39422 View\SpecialChar \menuseparator
39423 View (Other Formats)
39424 \end_layout
39425
39426 \end_inset
39427 </cell>
39428 </row>
39429 <row interlinespace="2.5mm">
39430 <cell alignment="center" valignment="top" usebox="none">
39431 \begin_inset Text
39432
39433 \begin_layout Plain Layout
39434 \begin_inset Graphics
39435         filename ../images/update-others.png
39436         scale 85
39437         groupId toolbarbuttons
39438
39439 \end_inset
39440
39441 *
39442 \end_layout
39443
39444 \end_inset
39445 </cell>
39446 <cell alignment="center" valignment="top" usebox="none">
39447 \begin_inset Text
39448
39449 \begin_layout Plain Layout
39450
39451 \family sans
39452 View\SpecialChar \menuseparator
39453 Update (Other Formats)
39454 \end_layout
39455
39456 \end_inset
39457 </cell>
39458 </row>
39459 </lyxtabular>
39460
39461 \end_inset
39462
39463
39464 \end_layout
39465
39466 \begin_layout Standard
39467 * These icons might look different for you if you do not use the default
39468  icon set.
39469 \end_layout
39470
39471 \begin_layout Subsection
39472 Other Toolbars
39473 \end_layout
39474
39475 \begin_layout Standard
39476 The change tracking toolbar is explained in section
39477 \begin_inset space ~
39478 \end_inset
39479
39480
39481 \begin_inset CommandInset ref
39482 LatexCommand ref
39483 reference "sec:Change-Tracking"
39484
39485 \end_inset
39486
39487 , the table toolbar
39488 \begin_inset Index idx
39489 status collapsed
39490
39491 \begin_layout Plain Layout
39492 Toolbar ! Table
39493 \end_layout
39494
39495 \end_inset
39496
39497  in the 
39498 \emph on
39499 Embedded
39500 \begin_inset space ~
39501 \end_inset
39502
39503 Objects
39504 \emph default
39505  manual and the math macro toolbar
39506 \begin_inset Index idx
39507 status collapsed
39508
39509 \begin_layout Plain Layout
39510 Toolbar ! Macro
39511 \end_layout
39512
39513 \end_inset
39514
39515  in the 
39516 \emph on
39517 Math
39518 \emph default
39519  manual.
39520 \end_layout
39521
39522 \begin_layout Chapter
39523 The Document Settings
39524 \begin_inset CommandInset label
39525 LatexCommand label
39526 name "chap:The-Document-Settings"
39527
39528 \end_inset
39529
39530
39531 \begin_inset Index idx
39532 status collapsed
39533
39534 \begin_layout Plain Layout
39535 Document ! Settings
39536 \end_layout
39537
39538 \end_inset
39539
39540
39541 \end_layout
39542
39543 \begin_layout Standard
39544 The 
39545 \family sans
39546 Document
39547 \begin_inset space ~
39548 \end_inset
39549
39550 Setting
39551 \family default
39552 s dialog contains submenus to set properties for the whole document and
39553  is called with the menu
39554 \family sans
39555  Document\SpecialChar \menuseparator
39556 Settings
39557 \family default
39558 .
39559  You can save your document settings as default with the
39560 \family sans
39561  Save as Document Defaults
39562 \family default
39563  button in any dialog.
39564  This will create a template named 
39565 \family typewriter
39566 defaults.lyx
39567 \family default
39568  which is automatically loaded by LyX when you create a new document without
39569  using a template.
39570 \end_layout
39571
39572 \begin_layout Standard
39573 The button 
39574 \family sans
39575 Use Class Defaults
39576 \family default
39577  resets the document settings to the default of the document class.
39578  This affects mostly class options, the page layout and Numbering & TOC.
39579 \end_layout
39580
39581 \begin_layout Standard
39582 The different submenus of the dialog are explained in the following sections.
39583 \end_layout
39584
39585 \begin_layout Standard
39586 There are so many document settings available that it might take a while
39587  to find the one you are looking for.
39588  To find a setting quicker, you can sue the search field which is above
39589  the submenus of the dialog.
39590  If you search e.
39591 \begin_inset space \thinspace{}
39592 \end_inset
39593
39594 g.
39595 \begin_inset space \space{}
39596 \end_inset
39597
39598 for 
39599 \begin_inset Quotes eld
39600 \end_inset
39601
39602 page
39603 \begin_inset Quotes erd
39604 \end_inset
39605
39606 , you will see that some submenus will be grayed-out and disabled.
39607  Only the submenus with page settings stay enabled.
39608  The found page settings are labeled red in these submenus.
39609 \end_layout
39610
39611 \begin_layout Section
39612 Document Class
39613 \end_layout
39614
39615 \begin_layout Standard
39616 Here you set the document class, class options, a graphics driver, and a
39617  master document.
39618  Document classes are described in section
39619 \begin_inset space ~
39620 \end_inset
39621
39622
39623 \begin_inset CommandInset ref
39624 LatexCommand ref
39625 reference "sec:Document-Classes"
39626
39627 \end_inset
39628
39629 .
39630  
39631 \end_layout
39632
39633 \begin_layout Standard
39634 With the button 
39635 \family sans
39636 Local
39637 \begin_inset space ~
39638 \end_inset
39639
39640 Layout
39641 \family default
39642  you can load you own layout-file, that is not in LyX's 
39643 \emph on
39644 layouts
39645 \emph default
39646  folder and thus not recognized by LyX as a layout for a document class.
39647  For more about layout-files, see the chapter 
39648 \emph on
39649 Installing New Document Classes, Types of Layout Files
39650 \emph default
39651  of the 
39652 \emph on
39653 Customization
39654 \emph default
39655  Handbook.
39656 \end_layout
39657
39658 \begin_layout Standard
39659 Some classes use special class options by default.
39660  If this is the case, they are listed in the field 
39661 \family sans
39662 Predefined
39663 \family default
39664  and you can decide to use them or not.
39665  If you do not know exactly what the default class options are for, it is
39666  recommended you leave them untouched.
39667  The 
39668 \family sans
39669 Graphics driver
39670 \family default
39671  is used for LaTeX's graphics, color and page layout packages.
39672  If using 
39673 \family sans
39674 Default
39675 \family default
39676 , the default driver for the LaTeX-packages is used.
39677  It is recommended that you use the default unless you know what you are
39678  doing.
39679 \begin_inset Foot
39680 status collapsed
39681
39682 \begin_layout Plain Layout
39683 When you want to use one of the following drivers
39684 \begin_inset Newline newline
39685 \end_inset
39686
39687
39688 \family sans
39689 dvi2ps, dvialw, dvilaser, dvitops, psprint, pubps, ln
39690 \family default
39691
39692 \begin_inset Newline newline
39693 \end_inset
39694
39695 you first have to activate them in your LaTeX distribution, see section
39696  
39697 \emph on
39698 Driver support
39699 \emph default
39700  in 
39701 \begin_inset CommandInset href
39702 LatexCommand href
39703 target "http://mirrors.ctan.org/macros/latex/required/graphics/grfguide.pdf"
39704
39705 \end_inset
39706
39707 .
39708 \end_layout
39709
39710 \end_inset
39711
39712
39713 \end_layout
39714
39715 \begin_layout Standard
39716 Specifying a 
39717 \family sans
39718 Master
39719 \family default
39720  document is necessary if the current document is a child or subdocument.
39721  The master document will be used by LyX in the background if the child
39722  document is opened without its master.
39723  This way child documents are always compilable.
39724  More about master and child documents is explained in the section 
39725 \emph on
39726 Child Documents
39727 \emph default
39728  of the 
39729 \emph on
39730 Embedded
39731 \begin_inset space ~
39732 \end_inset
39733
39734 Objects
39735 \emph default
39736  manual.
39737 \end_layout
39738
39739 \begin_layout Standard
39740 There is also an option to suppress the date and one to use the LaTeX-package
39741  
39742 \series bold
39743 refstyle
39744 \series default
39745  instead of 
39746 \series bold
39747 prettyref
39748 \series default
39749
39750 \begin_inset Index idx
39751 status collapsed
39752
39753 \begin_layout Plain Layout
39754 LaTeX-packages ! prettyref
39755 \end_layout
39756
39757 \end_inset
39758
39759
39760 \begin_inset Index idx
39761 status collapsed
39762
39763 \begin_layout Plain Layout
39764 LaTeX-packages ! refstyle
39765 \end_layout
39766
39767 \end_inset
39768
39769  for cross-references, see section
39770 \begin_inset space ~
39771 \end_inset
39772
39773
39774 \begin_inset CommandInset ref
39775 LatexCommand ref
39776 reference "sec:Cross-References"
39777
39778 \end_inset
39779
39780 .
39781 \end_layout
39782
39783 \begin_layout Section
39784 Child Documents
39785 \end_layout
39786
39787 \begin_layout Standard
39788 This submenu is only visible when your document includes child documents.
39789  Please refer to the section 
39790 \emph on
39791 Child
39792 \begin_inset space ~
39793 \end_inset
39794
39795 Documents
39796 \emph default
39797  of the 
39798 \emph on
39799 Embedded
39800 \begin_inset space ~
39801 \end_inset
39802
39803 Objects
39804 \emph default
39805  manual for details.
39806 \end_layout
39807
39808 \begin_layout Section
39809 Modules
39810 \end_layout
39811
39812 \begin_layout Standard
39813 Modules are explained in section
39814 \begin_inset space ~
39815 \end_inset
39816
39817
39818 \begin_inset CommandInset ref
39819 LatexCommand ref
39820 reference "sub:Modules"
39821
39822 \end_inset
39823
39824 .
39825 \end_layout
39826
39827 \begin_layout Section
39828 Local Layout
39829 \end_layout
39830
39831 \begin_layout Standard
39832 See section
39833 \begin_inset space ~
39834 \end_inset
39835
39836
39837 \begin_inset CommandInset ref
39838 LatexCommand ref
39839 reference "sub:Local-Layout"
39840
39841 \end_inset
39842
39843  for a description.
39844 \end_layout
39845
39846 \begin_layout Section
39847 Fonts
39848 \end_layout
39849
39850 \begin_layout Standard
39851 The document font settings are described in section
39852 \begin_inset space ~
39853 \end_inset
39854
39855
39856 \begin_inset CommandInset ref
39857 LatexCommand ref
39858 reference "sec:Fonts-and-Text"
39859
39860 \end_inset
39861
39862 .
39863 \end_layout
39864
39865 \begin_layout Section
39866 Text Layout
39867 \end_layout
39868
39869 \begin_layout Standard
39870 You can specify if paragraphs should be separated by 
39871 \family sans
39872 Indentation
39873 \family default
39874  or by 
39875 \family sans
39876 Vertical space
39877 \family default
39878 .
39879  The 
39880 \family sans
39881 Line
39882 \begin_inset space ~
39883 \end_inset
39884
39885 spacing
39886 \family default
39887  and whether it should be a 
39888 \family sans
39889 Two-column
39890 \begin_inset space ~
39891 \end_inset
39892
39893 document
39894 \family default
39895  can also be specified here.
39896 \end_layout
39897
39898 \begin_layout Standard
39899 Note that LyX will not show two columns or the specified line spacing on
39900  screen.
39901  That would be impractical, often unreadable, and is not part of the WYSIWYM
39902  concept.
39903  However, it will be as you specified in the output.
39904 \end_layout
39905
39906 \begin_layout Section
39907 Page Layout
39908 \end_layout
39909
39910 \begin_layout Standard
39911 This dialog is described in sections
39912 \begin_inset space ~
39913 \end_inset
39914
39915
39916 \begin_inset CommandInset ref
39917 LatexCommand ref
39918 reference "sub:Paper-Size,-Orientation"
39919
39920 \end_inset
39921
39922  and 
39923 \begin_inset CommandInset ref
39924 LatexCommand ref
39925 reference "sub:Document-Layout"
39926
39927 \end_inset
39928
39929 .
39930 \end_layout
39931
39932 \begin_layout Section
39933 Page Margins
39934 \end_layout
39935
39936 \begin_layout Standard
39937 Here you can adjust the page margins as described in section
39938 \begin_inset space ~
39939 \end_inset
39940
39941
39942 \begin_inset CommandInset ref
39943 LatexCommand ref
39944 reference "sub:Margins"
39945
39946 \end_inset
39947
39948 .
39949 \end_layout
39950
39951 \begin_layout Section
39952 Language
39953 \begin_inset CommandInset label
39954 LatexCommand label
39955 name "sec:Language-encodings"
39956
39957 \end_inset
39958
39959
39960 \begin_inset Index idx
39961 status collapsed
39962
39963 \begin_layout Plain Layout
39964 Language ! Encoding
39965 \end_layout
39966
39967 \end_inset
39968
39969
39970 \end_layout
39971
39972 \begin_layout Standard
39973 The document language and quote styles are set here.
39974  The encoding specifies how the document content is exported to LaTeX (the
39975  LyX file is always encoded in utf8).
39976  All characters that cannot be encoded using the specified encoding will
39977  be exported as LaTeX-commands (this can fail if a LaTeX-command is not
39978  known for a particular character).
39979 \begin_inset Foot
39980 status collapsed
39981
39982 \begin_layout Plain Layout
39983 The known commands are defined in a text file (
39984 \emph on
39985 unicodesymbols
39986 \emph default
39987 ).
39988  You can add commands for unknown symbols to that file yourself, see the
39989  
39990 \emph on
39991 Customization
39992 \emph default
39993  manual for details.
39994 \end_layout
39995
39996 \end_inset
39997
39998
39999 \end_layout
40000
40001 \begin_layout Standard
40002 If you use the option 
40003 \family sans
40004 Language Default
40005 \family default
40006 , LyX determines the encoding of a text part from the language of this text.
40007  If the document contains text in more than one language you may get more
40008  than one encoding in the LaTeX file.
40009  If you do not use this option then the complete document will always use
40010  exactly one encoding.
40011  Checking this option is the preferred setting.
40012 \end_layout
40013
40014 \begin_layout Standard
40015 LyX also supports Unicode output, which is particularly useful if you need
40016  lots of special symbols or non-alphabetic scripts, respectively.
40017  If you want to use this (and your LaTeX installation supports Unicode),
40018  choose one of the four utf8 variants from the list below.
40019  Unfortunately the Unicode support of standard LaTeX is quite incomplete,
40020  so it is not uncommon that a file with lots of Unicode symbols works fine
40021  with 
40022 \family sans
40023 Language Default
40024 \family default
40025  (when LyX uses its list of known LaTeX-commands), but does not work with
40026  a fixed utf8 encoding (when the list of known LaTeX-commands is not used,
40027  because all Unicode symbols can be encoded in utf8).
40028  The situation is much better with XeTeX and LuaTeX, two new alternative
40029  engines to standard LaTeX.
40030  Both engines support Unicode natively.
40031  LyX now also supports these two engines (via the output formats 
40032 \family sans
40033 PDF
40034 \begin_inset space ~
40035 \end_inset
40036
40037 (XeTe
40038 \begin_inset ERT
40039 status collapsed
40040
40041 \begin_layout Plain Layout
40042
40043 {}
40044 \end_layout
40045
40046 \end_inset
40047
40048 X)
40049 \family default
40050
40051 \family sans
40052 PDF
40053 \begin_inset space ~
40054 \end_inset
40055
40056 (LuaTe
40057 \begin_inset ERT
40058 status collapsed
40059
40060 \begin_layout Plain Layout
40061
40062 {}
40063 \end_layout
40064
40065 \end_inset
40066
40067 X)
40068 \family default
40069  and 
40070 \family sans
40071 DVI
40072 \begin_inset space ~
40073 \end_inset
40074
40075 (LuaTeX)
40076 \family default
40077 , see section
40078 \begin_inset space ~
40079 \end_inset
40080
40081
40082 \begin_inset CommandInset ref
40083 LatexCommand ref
40084 reference "sub:Output-file-formats"
40085
40086 \end_inset
40087
40088 ).
40089  So if you are using many special or accented characters and 
40090 \family sans
40091 Language Default
40092 \family default
40093  fails, you might try out one of these new engines.
40094 \end_layout
40095
40096 \begin_layout Standard
40097 The 
40098 \family sans
40099 Language
40100 \begin_inset space ~
40101 \end_inset
40102
40103 package
40104 \family default
40105  determines the LaTeX-package that is used for hyphenation and the translation
40106  of strings like 
40107 \begin_inset Quotes eld
40108 \end_inset
40109
40110 Part
40111 \begin_inset Quotes erd
40112 \end_inset
40113
40114 .
40115  The possible settings are:
40116 \end_layout
40117
40118 \begin_layout Description
40119 Default uses the language package that is selected in
40120 \family sans
40121  Tools\SpecialChar \menuseparator
40122 Preferences\SpecialChar \menuseparator
40123 Language Settings
40124 \family default
40125  (see section
40126 \begin_inset space ~
40127 \end_inset
40128
40129
40130 \begin_inset CommandInset ref
40131 LatexCommand ref
40132 reference "sub:Prefs-Language"
40133
40134 \end_inset
40135
40136 ).
40137 \end_layout
40138
40139 \begin_layout Description
40140 Automatic selects the most suitable language package for the view/export
40141  format you will use.
40142  In many cases this will be 
40143 \series bold
40144 babel
40145 \series default
40146
40147 \begin_inset Index idx
40148 status collapsed
40149
40150 \begin_layout Plain Layout
40151 LaTeX-packages ! babel
40152 \end_layout
40153
40154 \end_inset
40155
40156 .
40157  If the newer package 
40158 \series bold
40159 polyglossia
40160 \series default
40161
40162 \begin_inset Index idx
40163 status collapsed
40164
40165 \begin_layout Plain Layout
40166 LaTeX-packages ! polyglossia
40167 \end_layout
40168
40169 \end_inset
40170
40171  is more appropriate (is the case when using XeTeX and/or non-TeX fonts),
40172  this package will be used instead of 
40173 \series bold
40174 babel
40175 \series default
40176 .
40177 \end_layout
40178
40179 \begin_layout Description
40180 Always
40181 \begin_inset space ~
40182 \end_inset
40183
40184 Babel uses 
40185 \series bold
40186 babel
40187 \series default
40188  even if 
40189 \series bold
40190 polyglossia
40191 \series default
40192  would be more appropriate.
40193 \end_layout
40194
40195 \begin_layout Description
40196 Custom allows you to specify a language package command of your choice.
40197  For example if you want to use a language-specific package like 
40198 \series bold
40199 ngerman
40200 \series default
40201  (for German texts), type in
40202 \series bold
40203
40204 \begin_inset Newline newline
40205 \end_inset
40206
40207
40208 \backslash
40209 usepackage{ngerman}
40210 \end_layout
40211
40212 \begin_layout Description
40213 None will not use a language package.
40214  This is necessary for some document classes for scientific articles.
40215 \end_layout
40216
40217 \begin_layout Standard
40218 Here is a list with the important encodings:
40219 \end_layout
40220
40221 \begin_layout Description
40222 Language
40223 \begin_inset space ~
40224 \end_inset
40225
40226 Default
40227 \begin_inset space ~
40228 \end_inset
40229
40230 (no
40231 \begin_inset space ~
40232 \end_inset
40233
40234 inputenc) Same as 
40235 \family sans
40236 Language Default
40237 \family default
40238 , but the LaTeX-package 
40239 \series bold
40240 inputenc
40241 \series default
40242
40243 \begin_inset Index idx
40244 status collapsed
40245
40246 \begin_layout Plain Layout
40247 LaTeX-packages ! inputenc
40248 \end_layout
40249
40250 \end_inset
40251
40252  is not used.
40253  When using this, you probably need to load some additional packages manually
40254  in the preamble and specify the used encoding for text parts in foreign
40255  languages in TeX code.
40256 \end_layout
40257
40258 \begin_layout Description
40259 ASCII the ASCII encoding, covers only plain English (7-bit ASCII).
40260  LyX converts all other characters into LaTeX commands, which may result
40261  in a big file when lots of LaTeX-commands are needed.
40262 \end_layout
40263
40264 \begin_layout Description
40265 Arabic
40266 \begin_inset space ~
40267 \end_inset
40268
40269 (CP
40270 \begin_inset space ~
40271 \end_inset
40272
40273 1256) MS Windows code page for Arabic and Farsi
40274 \end_layout
40275
40276 \begin_layout Description
40277 Arabic
40278 \begin_inset space ~
40279 \end_inset
40280
40281 (ISO
40282 \begin_inset space ~
40283 \end_inset
40284
40285 8859-6) for Arabic and Farsi
40286 \end_layout
40287
40288 \begin_layout Description
40289 Armenian
40290 \begin_inset space ~
40291 \end_inset
40292
40293 (ArmSCII8) for Armenian
40294 \end_layout
40295
40296 \begin_layout Description
40297 Baltic
40298 \begin_inset space ~
40299 \end_inset
40300
40301 (CP
40302 \begin_inset space ~
40303 \end_inset
40304
40305 1257) MS Windows code page for Estonian, Latvian and Lithuanian, the same
40306  as the ISO-8859-13 encoding
40307 \end_layout
40308
40309 \begin_layout Description
40310 Baltic
40311 \begin_inset space ~
40312 \end_inset
40313
40314 (ISO
40315 \begin_inset space ~
40316 \end_inset
40317
40318 8859-13) for Estonian, Latvian and Lithuanian, a superset of the ISO-8859-4
40319  encoding
40320 \end_layout
40321
40322 \begin_layout Description
40323 Baltic
40324 \begin_inset space ~
40325 \end_inset
40326
40327 (ISO
40328 \begin_inset space ~
40329 \end_inset
40330
40331 8859-4) (latin 4) for Estonian, Latvian and Lithuanian, a subset of the
40332  ISO-8859-13 encoding
40333 \end_layout
40334
40335 \begin_layout Description
40336 Central
40337 \begin_inset space ~
40338 \end_inset
40339
40340 European
40341 \begin_inset space ~
40342 \end_inset
40343
40344 (CP
40345 \begin_inset space ~
40346 \end_inset
40347
40348 1250) MS Windows code page for ISO
40349 \begin_inset space ~
40350 \end_inset
40351
40352 8859-2 (latin2)
40353 \end_layout
40354
40355 \begin_layout Description
40356 Central
40357 \begin_inset space ~
40358 \end_inset
40359
40360 European
40361 \begin_inset space ~
40362 \end_inset
40363
40364 (ISO
40365 \begin_inset space ~
40366 \end_inset
40367
40368 8859-2) (latin 2) covers Albanian, Croatian, Czech, German, Hungarian, Polish,
40369  Romanian, Slovak and Slovenian
40370 \end_layout
40371
40372 \begin_layout Description
40373 Chinese
40374 \begin_inset space ~
40375 \end_inset
40376
40377 (simplified)
40378 \begin_inset space ~
40379 \end_inset
40380
40381 (EUC-CN) for simplified Chinese, used especially on UNIX OSes, since 2001
40382  this encoding is officially replaced by the encoding GB18030, as GB18030
40383  is not available for LaTeX you should try to use the encoding Unicode
40384 \begin_inset space ~
40385 \end_inset
40386
40387 (CJK)
40388 \begin_inset space ~
40389 \end_inset
40390
40391 (utf8)
40392 \end_layout
40393
40394 \begin_layout Description
40395 Chinese
40396 \begin_inset space ~
40397 \end_inset
40398
40399 (simplified)
40400 \begin_inset space ~
40401 \end_inset
40402
40403 (GBK) for simplified Chinese, is the same as the Windows code page CP 936
40404  except for the Euro currency sign, since 2001 this encoding is officially
40405  replaced by the encoding GB18030, as GB18030 is not available for LaTeX
40406  you should try to use the encoding Unicode
40407 \begin_inset space ~
40408 \end_inset
40409
40410 (CJK)
40411 \begin_inset space ~
40412 \end_inset
40413
40414 (utf8)
40415 \end_layout
40416
40417 \begin_layout Description
40418 Chinese
40419 \begin_inset space ~
40420 \end_inset
40421
40422 (traditional)
40423 \begin_inset space ~
40424 \end_inset
40425
40426 (EUC-TW) for traditional Chinese
40427 \end_layout
40428
40429 \begin_layout Description
40430 Cyrillic
40431 \begin_inset space ~
40432 \end_inset
40433
40434 (CP
40435 \begin_inset space ~
40436 \end_inset
40437
40438 1251) MS Windows code page for Cyrillic
40439 \end_layout
40440
40441 \begin_layout Description
40442 Cyrillic
40443 \begin_inset space ~
40444 \end_inset
40445
40446 (ISO
40447 \begin_inset space ~
40448 \end_inset
40449
40450 8859-5) covers Belorussian, Bulgarian, Macedonian, Serbian and Ukrainian
40451 \end_layout
40452
40453 \begin_layout Description
40454 Cyrillic
40455 \begin_inset space ~
40456 \end_inset
40457
40458 (KOI8-R) standard Cyrillic especially for Russian
40459 \end_layout
40460
40461 \begin_layout Description
40462 Cyrillic
40463 \begin_inset space ~
40464 \end_inset
40465
40466 (KOI8-U) Cyrillic for Ukrainian
40467 \end_layout
40468
40469 \begin_layout Description
40470 Cyrillic
40471 \begin_inset space ~
40472 \end_inset
40473
40474 (pt
40475 \begin_inset space ~
40476 \end_inset
40477
40478 154) Cyrillic for Kazakh
40479 \end_layout
40480
40481 \begin_layout Description
40482 Greek
40483 \begin_inset space ~
40484 \end_inset
40485
40486 (ISO
40487 \begin_inset space ~
40488 \end_inset
40489
40490 8859-7) for Greek
40491 \end_layout
40492
40493 \begin_layout Description
40494 Hebrew
40495 \begin_inset space ~
40496 \end_inset
40497
40498 (CP
40499 \begin_inset space ~
40500 \end_inset
40501
40502 1255) MS Windows code page for Hebrew, a superset of the ISO-8859-8 encoding
40503 \end_layout
40504
40505 \begin_layout Description
40506 Hebrew
40507 \begin_inset space ~
40508 \end_inset
40509
40510 (ISO
40511 \begin_inset space ~
40512 \end_inset
40513
40514 8859-8) for Hebrew
40515 \end_layout
40516
40517 \begin_layout Description
40518 Japanese
40519 \begin_inset space ~
40520 \end_inset
40521
40522 (CJK)
40523 \begin_inset space ~
40524 \end_inset
40525
40526 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
40527 \series bold
40528 CJK
40529 \series default
40530
40531 \begin_inset Index idx
40532 status collapsed
40533
40534 \begin_layout Plain Layout
40535 LaTeX-packages ! CJK
40536 \end_layout
40537
40538 \end_inset
40539
40540 , when using this, set the document language to 
40541 \family sans
40542 Japanese (CJK)
40543 \end_layout
40544
40545 \begin_layout Description
40546 Japanese
40547 \begin_inset space ~
40548 \end_inset
40549
40550 (CJK)
40551 \begin_inset space ~
40552 \end_inset
40553
40554 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
40555 \series bold
40556 CJK
40557 \series default
40558 , when using this, set the document language to 
40559 \family sans
40560 Japanese
40561 \begin_inset space ~
40562 \end_inset
40563
40564 (CJK)
40565 \end_layout
40566
40567 \begin_layout Description
40568 Japanese
40569 \begin_inset space ~
40570 \end_inset
40571
40572 (non-CJK)
40573 \begin_inset space ~
40574 \end_inset
40575
40576 (EUC-JP) EUC-JP encoding for Japanese, uses the LaTeX-package 
40577 \series bold
40578 japanese
40579 \series default
40580
40581 \begin_inset Index idx
40582 status collapsed
40583
40584 \begin_layout Plain Layout
40585 LaTeX-packages ! japanese
40586 \end_layout
40587
40588 \end_inset
40589
40590 , when using this, set the document language to 
40591 \family sans
40592 Japanese
40593 \end_layout
40594
40595 \begin_layout Description
40596 Japanese
40597 \begin_inset space ~
40598 \end_inset
40599
40600 (non-CJK)
40601 \begin_inset space ~
40602 \end_inset
40603
40604 (JIS) JIS encoding for Japanese, uses the LaTeX-package 
40605 \series bold
40606 japanese
40607 \series default
40608 , when using this, set the document language to 
40609 \family sans
40610 Japanese
40611 \end_layout
40612
40613 \begin_layout Description
40614 Japanese
40615 \begin_inset space ~
40616 \end_inset
40617
40618 (non-CJK)
40619 \begin_inset space ~
40620 \end_inset
40621
40622 (SJIS) SJIS encoding for Japanese, uses the LaTeX-package 
40623 \series bold
40624 japanese
40625 \series default
40626 , when using this, set the document language to 
40627 \family sans
40628 Japanese
40629 \end_layout
40630
40631 \begin_layout Description
40632 Korean
40633 \begin_inset space ~
40634 \end_inset
40635
40636 (EUC-KR) for Korean
40637 \end_layout
40638
40639 \begin_layout Description
40640 Southern
40641 \begin_inset space ~
40642 \end_inset
40643
40644 European
40645 \begin_inset space ~
40646 \end_inset
40647
40648 (ISO
40649 \begin_inset space ~
40650 \end_inset
40651
40652 8859-3) (latin 3) covers Esperanto, Galician, Maltese and Turkish
40653 \end_layout
40654
40655 \begin_layout Description
40656 South-Eastern
40657 \begin_inset space ~
40658 \end_inset
40659
40660 European
40661 \begin_inset space ~
40662 \end_inset
40663
40664 (ISO
40665 \begin_inset space ~
40666 \end_inset
40667
40668 8859-16) (latin 10) covers Albanian, Croatian, Finnish, French, German,
40669  Hungarian, Irish Gaelic, Italian, Polish, Romanian and Slovenian, is designed
40670  to cover many languages and characters with diacritics
40671 \end_layout
40672
40673 \begin_layout Description
40674 Thai
40675 \begin_inset space ~
40676 \end_inset
40677
40678 (TIS
40679 \begin_inset space ~
40680 \end_inset
40681
40682 620-0) for Thai
40683 \end_layout
40684
40685 \begin_layout Description
40686 Turkish
40687 \begin_inset space ~
40688 \end_inset
40689
40690 (ISO
40691 \begin_inset space ~
40692 \end_inset
40693
40694 8859-9) (latin 5) for Turkish, is like the ISO-8859-1 encoding where the
40695  Icelandic letters are replaced by Turkish ones
40696 \end_layout
40697
40698 \begin_layout Description
40699 Unicode
40700 \begin_inset space ~
40701 \end_inset
40702
40703 (CJK)
40704 \begin_inset space ~
40705 \end_inset
40706
40707 (utf8) Unicode utf8 with the LaTeX-package 
40708 \series bold
40709 CJK
40710 \series default
40711
40712 \begin_inset Index idx
40713 status collapsed
40714
40715 \begin_layout Plain Layout
40716 LaTeX-packages ! CJK
40717 \end_layout
40718
40719 \end_inset
40720
40721  (for the languages Chinese, Japanese and Korean)
40722 \end_layout
40723
40724 \begin_layout Description
40725 Unicode
40726 \begin_inset space ~
40727 \end_inset
40728
40729 (XeTeX)
40730 \begin_inset space ~
40731 \end_inset
40732
40733 (utf8) Unicode utf8 to be used with 
40734 \family sans
40735 XeTeX
40736 \family default
40737  and 
40738 \family sans
40739 LuaTeX
40740 \family default
40741 , which use Unicode directly, without the help of the LaTeX-package 
40742 \series bold
40743 inputenc
40744 \series default
40745 .
40746  LyX automatically selects this encoding if you export or preview XeTeX
40747  or LuaTeX.
40748  Normally you do not need to set this encoding manually.
40749 \end_layout
40750
40751 \begin_layout Description
40752 Unicode
40753 \begin_inset space ~
40754 \end_inset
40755
40756 (ucs-extended)
40757 \begin_inset space ~
40758 \end_inset
40759
40760 (utf8x) Unicode utf8 based on the LaTeX-package 
40761 \series bold
40762 ucs
40763 \series default
40764
40765 \begin_inset Index idx
40766 status collapsed
40767
40768 \begin_layout Plain Layout
40769 LaTeX-packages ! ucs
40770 \end_layout
40771
40772 \end_inset
40773
40774  (comprehensive, including Latin, Greek, Cyrillic and CJK scripts).
40775 \end_layout
40776
40777 \begin_layout Description
40778 Unicode
40779 \begin_inset space ~
40780 \end_inset
40781
40782 (utf8) Unicode utf8 based on the LaTeX-package 
40783 \series bold
40784 inputenc
40785 \series default
40786
40787 \begin_inset Index idx
40788 status collapsed
40789
40790 \begin_layout Plain Layout
40791 LaTeX-packages ! inputenc
40792 \end_layout
40793
40794 \end_inset
40795
40796 .
40797  Currently only a limited range of characters (mainly for Latin scripts)
40798  is supported.
40799 \end_layout
40800
40801 \begin_layout Description
40802 Western
40803 \begin_inset space ~
40804 \end_inset
40805
40806 European
40807 \begin_inset space ~
40808 \end_inset
40809
40810 (CP
40811 \begin_inset space ~
40812 \end_inset
40813
40814 1252) MS Windows code page for ISO
40815 \begin_inset space ~
40816 \end_inset
40817
40818 8859-1 (latin1)
40819 \end_layout
40820
40821 \begin_layout Description
40822 Western
40823 \begin_inset space ~
40824 \end_inset
40825
40826 European
40827 \begin_inset space ~
40828 \end_inset
40829
40830 (ISO
40831 \begin_inset space ~
40832 \end_inset
40833
40834 8859-1) (latin 1) covers the languages Albanian, Catalan, Danish, Dutch,
40835  English, Faroese, Finnish, French, Galician, German, Icelandic, Irish,
40836  Italian, Norwegian, Portuguese, Spanish and Swedish; better use the ISO-8859-15
40837  encoding instead
40838 \end_layout
40839
40840 \begin_layout Description
40841 Western
40842 \begin_inset space ~
40843 \end_inset
40844
40845 European
40846 \begin_inset space ~
40847 \end_inset
40848
40849 (ISO
40850 \begin_inset space ~
40851 \end_inset
40852
40853 8859-15) (latin 9) like the ISO-8859-1 encoding, but with the Euro currency
40854  sign, the œ-ligature and some characters used for French and Finnish
40855 \end_layout
40856
40857 \begin_layout Section
40858 Colors
40859 \begin_inset Index idx
40860 status collapsed
40861
40862 \begin_layout Plain Layout
40863 Color ! main text
40864 \end_layout
40865
40866 \end_inset
40867
40868
40869 \begin_inset Index idx
40870 status collapsed
40871
40872 \begin_layout Plain Layout
40873 Color ! background
40874 \end_layout
40875
40876 \end_inset
40877
40878
40879 \begin_inset Index idx
40880 status collapsed
40881
40882 \begin_layout Plain Layout
40883 Color ! Shaded boxes
40884 \end_layout
40885
40886 \end_inset
40887
40888
40889 \begin_inset Index idx
40890 status collapsed
40891
40892 \begin_layout Plain Layout
40893 Color ! Greyed-out notes
40894 \end_layout
40895
40896 \end_inset
40897
40898
40899 \end_layout
40900
40901 \begin_layout Standard
40902 Here you can alter the font color for the 
40903 \family sans
40904 Main text
40905 \family default
40906  (default: black), for 
40907 \family sans
40908 Greyed
40909 \begin_inset space ~
40910 \end_inset
40911
40912 out notes
40913 \family default
40914  (default: light grey)for the background color for the 
40915 \family sans
40916 Page
40917 \family default
40918  (default: white) and for 
40919 \family sans
40920 Shaded
40921 \begin_inset space ~
40922 \end_inset
40923
40924 boxes
40925 \family default
40926  (default: red).
40927  The button 
40928 \family sans
40929 Reset
40930 \family default
40931  sets the color back to the default.
40932 \end_layout
40933
40934 \begin_layout Standard
40935 Clicking any button showing 
40936 \family sans
40937 Default
40938 \family default
40939  or 
40940 \family sans
40941 Change
40942 \family default
40943  opens a dialog enabling you to choose from a selection of colors or from
40944  a color-picker or to specify a color using HSL or RGB values.
40945  In the dialog you can add any color to the custom colors to select them
40946  later more quickly.
40947 \end_layout
40948
40949 \begin_layout Standard
40950 \begin_inset Note Greyedout
40951 status open
40952
40953 \begin_layout Plain Layout
40954 The colors are not shown within LyX, only in the output.
40955  (This Greyed
40956 \begin_inset space ~
40957 \end_inset
40958
40959 out note appears blue in the output.)
40960 \end_layout
40961
40962 \end_inset
40963
40964
40965 \end_layout
40966
40967 \begin_layout Standard
40968 Note, if you change the 
40969 \family sans
40970 Main
40971 \begin_inset space ~
40972 \end_inset
40973
40974 text
40975 \family default
40976  font color and use the option 
40977 \family sans
40978 Color
40979 \begin_inset space ~
40980 \end_inset
40981
40982 links
40983 \family default
40984  in the document settings under 
40985 \family sans
40986 PDF
40987 \begin_inset space ~
40988 \end_inset
40989
40990 properties
40991 \family default
40992 , you probably also need to change the link font color as described in section
40993 \begin_inset space ~
40994 \end_inset
40995
40996
40997 \begin_inset CommandInset ref
40998 LatexCommand ref
40999 reference "sec:PDF-Properties"
41000
41001 \end_inset
41002
41003 .
41004 \end_layout
41005
41006 \begin_layout Standard
41007 \begin_inset VSpace bigskip
41008 \end_inset
41009
41010
41011 \end_layout
41012
41013 \begin_layout Standard
41014 You can adapt the 
41015 \family sans
41016 Main
41017 \begin_inset space ~
41018 \end_inset
41019
41020 text
41021 \family default
41022  font color and the 
41023 \family sans
41024 Page
41025 \family default
41026  background for every page in your document if you use these commands as
41027  TeX
41028 \begin_inset space ~
41029 \end_inset
41030
41031 Code after a forced page break:
41032 \end_layout
41033
41034 \begin_layout Itemize
41035 For the page color:
41036 \begin_inset Newline newline
41037 \end_inset
41038
41039
41040 \series bold
41041
41042 \backslash
41043 pagecolor{color name}
41044 \end_layout
41045
41046 \begin_layout Itemize
41047 For the text color:
41048 \begin_inset Newline newline
41049 \end_inset
41050
41051
41052 \series bold
41053
41054 \backslash
41055 color{color name}
41056 \end_layout
41057
41058 \begin_layout Standard
41059 You are restricted to one of 
41060 \series bold
41061 black
41062 \series default
41063
41064 \series bold
41065 blue
41066 \series default
41067
41068 \series bold
41069 cyan
41070 \series default
41071
41072 \series bold
41073 green
41074 \series default
41075
41076 \series bold
41077 magenta
41078 \series default
41079
41080 \series bold
41081 red
41082 \series default
41083
41084 \series bold
41085 white
41086 \series default
41087  or 
41088 \series bold
41089 yellow
41090 \series default
41091  for the 
41092 \series bold
41093 color name
41094 \series default
41095  unless you have defined your own color (see the 
41096 \emph on
41097 Colored Tables
41098 \emph default
41099  section of the 
41100 \emph on
41101 Embedded
41102 \begin_inset space ~
41103 \end_inset
41104
41105 Objects
41106 \emph default
41107  Manual).
41108 \begin_inset Newline newline
41109 \end_inset
41110
41111 If you have changed a text or background color, you can use the following
41112  names to refer to them:
41113 \end_layout
41114
41115 \begin_layout Itemize
41116 For the 
41117 \family sans
41118 Page
41119 \family default
41120  background color:
41121 \begin_inset Newline newline
41122 \end_inset
41123
41124
41125 \series bold
41126 page_backgroundcolor
41127 \end_layout
41128
41129 \begin_layout Itemize
41130 For the 
41131 \family sans
41132 Main
41133 \begin_inset space ~
41134 \end_inset
41135
41136 text
41137 \family default
41138  color:
41139 \begin_inset Newline newline
41140 \end_inset
41141
41142
41143 \series bold
41144 document_fontcolor
41145 \end_layout
41146
41147 \begin_layout Itemize
41148 For the 
41149 \family sans
41150 Shaded
41151 \begin_inset space ~
41152 \end_inset
41153
41154 boxes
41155 \family default
41156  background color:
41157 \begin_inset Newline newline
41158 \end_inset
41159
41160
41161 \series bold
41162 shadecolor
41163 \end_layout
41164
41165 \begin_layout Itemize
41166 For the 
41167 \family sans
41168 Greyed
41169 \begin_inset space ~
41170 \end_inset
41171
41172 out notes
41173 \family default
41174  text color:
41175 \begin_inset Newline newline
41176 \end_inset
41177
41178
41179 \series bold
41180 note_fontcolor
41181 \end_layout
41182
41183 \begin_layout Standard
41184 To see how to define and use custom colors, see section Colored
41185 \begin_inset space ~
41186 \end_inset
41187
41188 Cells of the Embedded
41189 \begin_inset space ~
41190 \end_inset
41191
41192 Objects manual.
41193 \end_layout
41194
41195 \begin_layout Section
41196 Numbering & TOC
41197 \end_layout
41198
41199 \begin_layout Standard
41200 Here you can adjust the 
41201 \family sans
41202 Numbering
41203 \family default
41204  depth of section headings and the section depth in the 
41205 \family sans
41206 Table of Contents
41207 \family default
41208  as described in section
41209 \begin_inset space ~
41210 \end_inset
41211
41212
41213 \begin_inset CommandInset ref
41214 LatexCommand ref
41215 reference "sub:Numbering-depth"
41216
41217 \end_inset
41218
41219 .
41220 \end_layout
41221
41222 \begin_layout Section
41223 Bibliography
41224 \end_layout
41225
41226 \begin_layout Standard
41227 Here you can specify if a citation style using the LaTeX packages 
41228 \series bold
41229 natbib
41230 \series default
41231
41232 \begin_inset Index idx
41233 status collapsed
41234
41235 \begin_layout Plain Layout
41236 LaTeX-packages ! natbib
41237 \end_layout
41238
41239 \end_inset
41240
41241  or 
41242 \series bold
41243 jurabib
41244 \series default
41245
41246 \begin_inset Index idx
41247 status collapsed
41248
41249 \begin_layout Plain Layout
41250 LaTeX-packages ! jurabib
41251 \end_layout
41252
41253 \end_inset
41254
41255  should be used.
41256  You can enable a 
41257 \family sans
41258 Sectioned bibliography
41259 \family default
41260  using the LaTeX package 
41261 \series bold
41262 bibtopic
41263 \series default
41264
41265 \begin_inset Index idx
41266 status collapsed
41267
41268 \begin_layout Plain Layout
41269 LaTeX-packages ! bibtopic
41270 \end_layout
41271
41272 \end_inset
41273
41274  and you can select a 
41275 \family sans
41276 Processor
41277 \family default
41278  for the generation of the bibliography.
41279  For a further description see section
41280 \begin_inset space ~
41281 \end_inset
41282
41283
41284 \begin_inset CommandInset ref
41285 LatexCommand ref
41286 reference "sec:Bibliography"
41287
41288 \end_inset
41289
41290 .
41291 \end_layout
41292
41293 \begin_layout Section
41294 Indexes
41295 \end_layout
41296
41297 \begin_layout Standard
41298 Here you can define the 
41299 \family sans
41300 Processor
41301 \family default
41302  that will generate your index and you can define additional indexes (see
41303  section
41304 \begin_inset space ~
41305 \end_inset
41306
41307
41308 \begin_inset CommandInset ref
41309 LatexCommand ref
41310 reference "sec:Index"
41311
41312 \end_inset
41313
41314  for details).
41315 \end_layout
41316
41317 \begin_layout Section
41318 PDF Properties
41319 \end_layout
41320
41321 \begin_layout Standard
41322 The PDF properties are explained in section
41323 \begin_inset space ~
41324 \end_inset
41325
41326
41327 \begin_inset CommandInset ref
41328 LatexCommand ref
41329 reference "sec:PDF-Properties"
41330
41331 \end_inset
41332
41333 .
41334 \end_layout
41335
41336 \begin_layout Section
41337 Math Options
41338 \end_layout
41339
41340 \begin_layout Standard
41341 These options will force LyX to use the LaTeX-packages 
41342 \series bold
41343 amsmath
41344 \series default
41345
41346 \begin_inset Index idx
41347 status collapsed
41348
41349 \begin_layout Plain Layout
41350 LaTeX-packages ! amsmath
41351 \end_layout
41352
41353 \end_inset
41354
41355
41356 \series bold
41357 esint
41358 \series default
41359
41360 \begin_inset Index idx
41361 status collapsed
41362
41363 \begin_layout Plain Layout
41364 LaTeX-packages ! esint
41365 \end_layout
41366
41367 \end_inset
41368
41369
41370 \series bold
41371 mathdots
41372 \series default
41373
41374 \begin_inset Index idx
41375 status collapsed
41376
41377 \begin_layout Plain Layout
41378 LaTeX-packages ! mathdots
41379 \end_layout
41380
41381 \end_inset
41382
41383  und 
41384 \series bold
41385 mhchem
41386 \series default
41387
41388 \begin_inset Index idx
41389 status collapsed
41390
41391 \begin_layout Plain Layout
41392 LaTeX-packages ! mhchem
41393 \end_layout
41394
41395 \end_inset
41396
41397  or to use them automatically when they are needed.
41398 \end_layout
41399
41400 \begin_layout Description
41401 amsmath is needed for many constructs, so when you get LaTeX-errors in formulas,
41402  ensure that you have enabled 
41403 \family sans
41404 AMS
41405 \begin_inset space ~
41406 \end_inset
41407
41408 math
41409 \family default
41410 .
41411 \end_layout
41412
41413 \begin_layout Description
41414 esint is used for special integral characters, see section 
41415 \emph on
41416 Big
41417 \begin_inset space ~
41418 \end_inset
41419
41420 Operators
41421 \emph default
41422  of the 
41423 \emph on
41424 Math
41425 \emph default
41426  manual.
41427 \end_layout
41428
41429 \begin_layout Description
41430 mathdots is used for special ellipses, see section 
41431 \emph on
41432 Ellipses
41433 \emph default
41434  of the 
41435 \emph on
41436 Math
41437 \emph default
41438  manual.
41439 \end_layout
41440
41441 \begin_layout Description
41442 mhchem is used for chemical equations, see section 
41443 \emph on
41444 Chemical Symbols and Equations
41445 \emph default
41446  of the 
41447 \emph on
41448 Math
41449 \emph default
41450  manual.
41451 \end_layout
41452
41453 \begin_layout Section
41454 Float Placement
41455 \end_layout
41456
41457 \begin_layout Standard
41458 The float placement options are described in the section 
41459 \emph on
41460 Float
41461 \begin_inset space ~
41462 \end_inset
41463
41464 Placement
41465 \emph default
41466  of the 
41467 \emph on
41468 Embedded
41469 \begin_inset space ~
41470 \end_inset
41471
41472 Objects
41473 \emph default
41474  manual.
41475 \end_layout
41476
41477 \begin_layout Section
41478 Listings
41479 \end_layout
41480
41481 \begin_layout Standard
41482 The listings settings are explained in the chapter 
41483 \emph on
41484 Program Code Listings
41485 \emph default
41486  of the 
41487 \emph on
41488 Embedded
41489 \begin_inset space ~
41490 \end_inset
41491
41492 Objects
41493 \emph default
41494  manual.
41495 \end_layout
41496
41497 \begin_layout Section
41498 Bullets
41499 \end_layout
41500
41501 \begin_layout Standard
41502 Here you can adjust the characters used for the itemize 
41503 \family sans
41504 Level
41505 \family default
41506 s, specify the 
41507 \family sans
41508 Font
41509 \family default
41510  set to be used and set the 
41511 \family sans
41512 Size
41513 \family default
41514  of the bullets.
41515  The itemize environment is described in section
41516 \begin_inset space ~
41517 \end_inset
41518
41519
41520 \begin_inset CommandInset ref
41521 LatexCommand ref
41522 reference "sec:Itemize"
41523
41524 \end_inset
41525
41526 .
41527 \end_layout
41528
41529 \begin_layout Standard
41530 You can furthermore specify a 
41531 \family sans
41532 Custom
41533 \begin_inset space ~
41534 \end_inset
41535
41536 Bullet
41537 \family default
41538  by inserting in this field the LaTeX command of the desired character.
41539  For example to use the € sign, you have to insert the command 
41540 \series bold
41541
41542 \backslash
41543 texteuro
41544 \series default
41545 .
41546  For math symbols you additionally need to enclose the command with $ signs.
41547  To use e.
41548 \begin_inset space \thinspace{}
41549 \end_inset
41550
41551 g.
41552 \begin_inset space \space{}
41553 \end_inset
41554
41555 the symbol 
41556 \begin_inset Formula $\circlearrowright$
41557 \end_inset
41558
41559  you need to enter 
41560 \series bold
41561 $
41562 \backslash
41563 circlearrowright$
41564 \series default
41565 .
41566  To find the command for a math symbol, create a formula and hover the mouse
41567  over the desired symbol in the math toolbar.
41568 \end_layout
41569
41570 \begin_layout Standard
41571 \begin_inset Note Greyedout
41572 status open
41573
41574 \begin_layout Plain Layout
41575
41576 \series bold
41577 Note:
41578 \series default
41579  Some characters require to load special LaTeX-packages in the preamble
41580  (menu 
41581 \family sans
41582 Document\SpecialChar \menuseparator
41583 Settings\SpecialChar \menuseparator
41584 LaTeX
41585 \begin_inset space ~
41586 \end_inset
41587
41588 Preamble
41589 \family default
41590 ).
41591  For example for the € sign one needs to add the line 
41592 \series bold
41593
41594 \backslash
41595 usepackage{textcomp}
41596 \series default
41597  to the preamble.
41598  For most math symbols it is sufficient to add the line 
41599 \series bold
41600
41601 \backslash
41602 usepackage{amssymb}
41603 \series default
41604 .
41605 \end_layout
41606
41607 \end_inset
41608
41609
41610 \end_layout
41611
41612 \begin_layout Section
41613 Branches
41614 \end_layout
41615
41616 \begin_layout Standard
41617 Branches are described in section
41618 \begin_inset space ~
41619 \end_inset
41620
41621
41622 \begin_inset CommandInset ref
41623 LatexCommand ref
41624 reference "sec:Branches"
41625
41626 \end_inset
41627
41628 .
41629 \end_layout
41630
41631 \begin_layout Section
41632 Output
41633 \begin_inset CommandInset label
41634 LatexCommand label
41635 name "sec:Doc-Output"
41636
41637 \end_inset
41638
41639
41640 \end_layout
41641
41642 \begin_layout Standard
41643 Here you can define some output specifics for the current document:
41644 \end_layout
41645
41646 \begin_layout Description
41647 Default
41648 \begin_inset space ~
41649 \end_inset
41650
41651 Output
41652 \begin_inset space ~
41653 \end_inset
41654
41655 Format: The format that is used when you enter 
41656 \begin_inset Quotes eld
41657 \end_inset
41658
41659 View
41660 \begin_inset Quotes erd
41661 \end_inset
41662
41663
41664 \begin_inset Quotes eld
41665 \end_inset
41666
41667 Update
41668 \begin_inset Quotes erd
41669 \end_inset
41670
41671
41672 \begin_inset Quotes eld
41673 \end_inset
41674
41675 View Master Document
41676 \begin_inset Quotes erd
41677 \end_inset
41678
41679  and 
41680 \begin_inset Quotes eld
41681 \end_inset
41682
41683 Update Master Document
41684 \begin_inset Quotes erd
41685 \end_inset
41686
41687  in the 
41688 \family sans
41689 Document
41690 \family default
41691  menu or the toolbar.
41692  The default is set in 
41693 \family sans
41694 Tools\SpecialChar \menuseparator
41695 Preferences\SpecialChar \menuseparator
41696 File
41697 \begin_inset space ~
41698 \end_inset
41699
41700 Handling\SpecialChar \menuseparator
41701 File Formats
41702 \family default
41703 , see section
41704 \begin_inset space ~
41705 \end_inset
41706
41707
41708 \begin_inset CommandInset ref
41709 LatexCommand ref
41710 reference "sec:File-Formats"
41711
41712 \end_inset
41713
41714 .
41715 \end_layout
41716
41717 \begin_layout Description
41718 Synchronize
41719 \begin_inset space ~
41720 \end_inset
41721
41722 with
41723 \begin_inset space ~
41724 \end_inset
41725
41726 Output settings for the menu 
41727 \family sans
41728 Navigate\SpecialChar \menuseparator
41729 Forward
41730 \begin_inset space ~
41731 \end_inset
41732
41733 search
41734 \family default
41735 .
41736  For a detailed description see section 
41737 \emph on
41738 Reverse DVI/PDF search
41739 \emph default
41740  of the 
41741 \emph on
41742 Additional
41743 \begin_inset space ~
41744 \end_inset
41745
41746 Features
41747 \emph default
41748  manual.
41749 \end_layout
41750
41751 \begin_layout Description
41752 XHTML
41753 \begin_inset space ~
41754 \end_inset
41755
41756 Output
41757 \begin_inset space ~
41758 \end_inset
41759
41760 Options offers settings for the export format 
41761 \family sans
41762 Ly
41763 \begin_inset ERT
41764 status collapsed
41765
41766 \begin_layout Plain Layout
41767
41768 {}
41769 \end_layout
41770
41771 \end_inset
41772
41773 XHTML
41774 \family default
41775 .
41776  
41777 \family sans
41778 Strict XHTML
41779 \begin_inset space ~
41780 \end_inset
41781
41782 1.1
41783 \family default
41784  will assure that the output follows exactly version
41785 \begin_inset space ~
41786 \end_inset
41787
41788 1.1 of the XHTML standard.
41789  The different 
41790 \family sans
41791 Math
41792 \begin_inset space ~
41793 \end_inset
41794
41795 output
41796 \family default
41797  settings are described in detail in section 
41798 \emph on
41799 Math Output in XHTML
41800 \emph default
41801  of the 
41802 \emph on
41803 Additional
41804 \begin_inset space ~
41805 \end_inset
41806
41807 Features
41808 \emph default
41809  manual.
41810  
41811 \family sans
41812 Math
41813 \begin_inset space ~
41814 \end_inset
41815
41816 image
41817 \begin_inset space ~
41818 \end_inset
41819
41820 scaling
41821 \family default
41822  is used for the size of equations in the output.
41823 \end_layout
41824
41825 \begin_layout Section
41826 LaT
41827 \begin_inset ERT
41828 status collapsed
41829
41830 \begin_layout Plain Layout
41831
41832 {}
41833 \end_layout
41834
41835 \end_inset
41836
41837 eX Preamble
41838 \end_layout
41839
41840 \begin_layout Standard
41841 In this text field you can enter commands to load special LaTeX-packages
41842  or to define LaTeX-commands.
41843  The preamble is a thing for LaTeX-experts.
41844  You should not enter commands here until you know exactly what you are
41845  doing.
41846 \end_layout
41847
41848 \begin_layout Standard
41849 An introduction to the LaTeX-syntax is given in section
41850 \begin_inset space ~
41851 \end_inset
41852
41853
41854 \begin_inset CommandInset ref
41855 LatexCommand ref
41856 reference "sub:LaTeX-Syntax"
41857
41858 \end_inset
41859
41860 .
41861 \end_layout
41862
41863 \begin_layout Section
41864 LaT
41865 \begin_inset ERT
41866 status collapsed
41867
41868 \begin_layout Plain Layout
41869
41870 {}
41871 \end_layout
41872
41873 \end_inset
41874
41875 eX Preamble
41876 \end_layout
41877
41878 \begin_layout Standard
41879 In this text field you can enter commands to load special LaTeX-packages
41880  or to define LaTeX-commands.
41881  The preamble is a thing for LaTeX-experts.
41882  You should not enter commands here until you exactly know what you are
41883  doing.
41884 \end_layout
41885
41886 \begin_layout Standard
41887 An introduction to the LaTeX-syntax is given in section
41888 \begin_inset space ~
41889 \end_inset
41890
41891
41892 \begin_inset CommandInset ref
41893 LatexCommand ref
41894 reference "sub:LaTeX-Syntax"
41895
41896 \end_inset
41897
41898 .
41899 \end_layout
41900
41901 \begin_layout Chapter
41902 The 
41903 \family sans
41904 Preferences
41905 \family default
41906  Dialog
41907 \begin_inset CommandInset label
41908 LatexCommand label
41909 name "chap:The-Preferences-dialog"
41910
41911 \end_inset
41912
41913
41914 \begin_inset Index idx
41915 status collapsed
41916
41917 \begin_layout Plain Layout
41918 Preferences
41919 \end_layout
41920
41921 \end_inset
41922
41923
41924 \end_layout
41925
41926 \begin_layout Standard
41927 The preferences dialog is called with the menu 
41928 \family sans
41929 Tools\SpecialChar \menuseparator
41930 Preferences
41931 \family default
41932 .
41933  It has the following submenus.
41934 \end_layout
41935
41936 \begin_layout Section
41937 Look and Feel
41938 \end_layout
41939
41940 \begin_layout Subsection
41941 User Interface
41942 \end_layout
41943
41944 \begin_layout Subsubsection
41945 User Interface File
41946 \begin_inset Index idx
41947 status collapsed
41948
41949 \begin_layout Plain Layout
41950 Customization ! of toolbars
41951 \end_layout
41952
41953 \end_inset
41954
41955
41956 \begin_inset Index idx
41957 status collapsed
41958
41959 \begin_layout Plain Layout
41960 Customization ! of menus
41961 \end_layout
41962
41963 \end_inset
41964
41965
41966 \end_layout
41967
41968 \begin_layout Standard
41969 The appearance of the menus and toolbars can be changed by choosing a user
41970  interface (ui) file.
41971  A ui-file is a text file where the toolbars and menus are listed.
41972  The file 
41973 \emph on
41974 default.ui
41975 \emph default
41976  loads three files:
41977 \end_layout
41978
41979 \begin_layout Description
41980 stdmenus.inc
41981 \shape italic
41982  
41983 \emph on
41984 specifies the menu entries for the standard menus
41985 \end_layout
41986
41987 \begin_layout Description
41988 stdcontext.inc 
41989 \shape italic
41990 \emph on
41991 specifies
41992 \shape default
41993 \emph default
41994  the menu entries in popup context menus
41995 \end_layout
41996
41997 \begin_layout Description
41998 stdtoolbars.inc
41999 \shape italic
42000  
42001 \emph on
42002 specifies the toolbar buttons
42003 \end_layout
42004
42005 \begin_layout Standard
42006 To create your own menu and toolbar layout, start with a copy of these files
42007  and edit the entries.
42008 \end_layout
42009
42010 \begin_layout Standard
42011 The syntax of the .inc-files is straightforward: the 
42012 \family sans
42013 Menubar
42014 \family default
42015
42016 \family sans
42017 Menu
42018 \family default
42019  and 
42020 \family sans
42021 Toolbar
42022 \family default
42023  entries must be finished with an explicit 
42024 \family sans
42025 End
42026 \family default
42027 .
42028  They may contain 
42029 \family sans
42030 Submenu
42031 \family default
42032
42033 \family sans
42034 Item
42035 \family default
42036
42037 \family sans
42038 OptItem
42039 \family default
42040
42041 \family sans
42042 Separator
42043 \family default
42044
42045 \family sans
42046 Icon,
42047 \family default
42048  and in the case of the 
42049 \begin_inset Quotes eld
42050 \end_inset
42051
42052 file_lastfiles
42053 \begin_inset Quotes erd
42054 \end_inset
42055
42056  menu a 
42057 \family sans
42058 Lastfiles
42059 \family default
42060  entry.
42061  The syntax for the entries is:
42062 \end_layout
42063
42064 \begin_layout Standard
42065 \begin_inset VSpace smallskip*
42066 \end_inset
42067
42068
42069 \series bold
42070 Item 
42071 \begin_inset Quotes eld
42072 \end_inset
42073
42074 menu 
42075 \series default
42076 or
42077 \series bold
42078  button name
42079 \begin_inset Quotes erd
42080 \end_inset
42081
42082  
42083 \begin_inset Quotes eld
42084 \end_inset
42085
42086 LyX-function
42087 \begin_inset Quotes erd
42088 \end_inset
42089
42090
42091 \end_layout
42092
42093 \begin_layout Standard
42094 \noindent
42095 \begin_inset VSpace smallskip*
42096 \end_inset
42097
42098 All the LyX-functions are listed in the menu 
42099 \family sans
42100 Help\SpecialChar \menuseparator
42101 Ly
42102 \begin_inset ERT
42103 status collapsed
42104
42105 \begin_layout Plain Layout
42106
42107 {}
42108 \end_layout
42109
42110 \end_inset
42111
42112 X
42113 \begin_inset space ~
42114 \end_inset
42115
42116 Functions
42117 \family default
42118 .
42119 \end_layout
42120
42121 \begin_layout Standard
42122 \begin_inset VSpace medskip
42123 \end_inset
42124
42125
42126 \end_layout
42127
42128 \begin_layout Standard
42129 For example, assuming you use the menu 
42130 \family sans
42131 Navigate\SpecialChar \menuseparator
42132 Bookmarks
42133 \family default
42134  quite often and therefore want six available bookmarks, you can add the
42135  line
42136 \end_layout
42137
42138 \begin_layout Standard
42139 \begin_inset VSpace smallskip*
42140 \end_inset
42141
42142
42143 \series bold
42144 Item 
42145 \begin_inset Quotes eld
42146 \end_inset
42147
42148 Save Bookmark 6
42149 \begin_inset Quotes erd
42150 \end_inset
42151
42152  
42153 \begin_inset Quotes eld
42154 \end_inset
42155
42156 bookmark-save 6
42157 \begin_inset Quotes erd
42158 \end_inset
42159
42160
42161 \end_layout
42162
42163 \begin_layout Standard
42164 \noindent
42165 \begin_inset VSpace smallskip*
42166 \end_inset
42167
42168 to the 
42169 \begin_inset Quotes eld
42170 \end_inset
42171
42172 navigate_bookmarks
42173 \begin_inset Quotes erd
42174 \end_inset
42175
42176  menu in 
42177 \emph on
42178 stdmenus.inc
42179 \emph default
42180  to have the sixth bookmark.
42181 \end_layout
42182
42183 \begin_layout Standard
42184
42185 \family sans
42186 Icon
42187 \begin_inset space ~
42188 \end_inset
42189
42190 Set
42191 \family default
42192  allows you to change the appearance of LyX's toolbar buttons.
42193  The currently available icon sets are compared in 
42194 \begin_inset CommandInset href
42195 LatexCommand href
42196 name "this image"
42197 target "http://wiki.lyx.org/uploads/LyX/NewInLyX20/themes.png"
42198
42199 \end_inset
42200
42201 .
42202 \end_layout
42203
42204 \begin_layout Subsubsection
42205 Automatic help
42206 \end_layout
42207
42208 \begin_layout Standard
42209 The option 
42210 \family sans
42211 Enable tool tips in main work area
42212 \family default
42213  enables tool tips showing the content of closed insets like index entries
42214  or footnotes.
42215 \end_layout
42216
42217 \begin_layout Subsubsection
42218 Session
42219 \end_layout
42220
42221 \begin_layout Standard
42222 With the option 
42223 \family sans
42224 Restore window layouts and geometries
42225 \family default
42226  LyX's main window will be opened with the size and layout that was used
42227  in the last LyX session.
42228 \end_layout
42229
42230 \begin_layout Standard
42231 The option 
42232 \family sans
42233 Restore cursor positions
42234 \family default
42235  sets the cursor to the position in the file where it was at the end of
42236  the last session.
42237 \end_layout
42238
42239 \begin_layout Standard
42240 The option 
42241 \family sans
42242 Load opened files from last session
42243 \family default
42244  opens all files that were opened in the last LyX session.
42245 \end_layout
42246
42247 \begin_layout Standard
42248 The button 
42249 \family sans
42250 Clear all session information
42251 \family default
42252  deletes all information from previous LyX sessions (cursor positions, names
42253  of last opened documents, etc.).
42254 \end_layout
42255
42256 \begin_layout Subsubsection
42257 Documents
42258 \begin_inset CommandInset label
42259 LatexCommand label
42260 name "sub:Backup documents"
42261
42262 \end_inset
42263
42264
42265 \begin_inset Index idx
42266 status collapsed
42267
42268 \begin_layout Plain Layout
42269 Backup ! Documents
42270 \end_layout
42271
42272 \end_inset
42273
42274
42275 \end_layout
42276
42277 \begin_layout Standard
42278
42279 \family sans
42280 Backup original documents when saving
42281 \family default
42282  creates a backup copy of the file in the state when it was opened or when
42283  it was saved the last time.
42284  It is stored in the 
42285 \family sans
42286 Backup
42287 \begin_inset space ~
42288 \end_inset
42289
42290 directory
42291 \family default
42292  (see section
42293 \begin_inset space ~
42294 \end_inset
42295
42296
42297 \begin_inset CommandInset ref
42298 LatexCommand ref
42299 reference "sec:Paths"
42300
42301 \end_inset
42302
42303 ) or in the same folder as your document if no 
42304 \family sans
42305 Backup
42306 \begin_inset space ~
42307 \end_inset
42308
42309 directory
42310 \family default
42311  is specified.
42312  The backup file has the file extension 
42313 \begin_inset Quotes eld
42314 \end_inset
42315
42316
42317 \family sans
42318 .lyx~
42319 \family default
42320
42321 \begin_inset Quotes erd
42322 \end_inset
42323
42324 .
42325 \end_layout
42326
42327 \begin_layout Standard
42328 With the option 
42329 \family sans
42330 Backup documents, every
42331 \family default
42332 , you can specify the time between backup saves.
42333 \end_layout
42334
42335 \begin_layout Standard
42336
42337 \family sans
42338 Save documents compressed by default
42339 \family default
42340  always saves files in a compressed format.
42341 \end_layout
42342
42343 \begin_layout Standard
42344
42345 \family sans
42346 Maximum last files
42347 \family default
42348  is the number of last opened files that LyX should display in the menu
42349  
42350 \family sans
42351 File\SpecialChar \menuseparator
42352 Open
42353 \begin_inset space ~
42354 \end_inset
42355
42356 Recent
42357 \family default
42358 .
42359 \end_layout
42360
42361 \begin_layout Standard
42362 If the option 
42363 \family sans
42364 Open documents in tabs
42365 \family default
42366  is not checked, every file will be opened in its own new instance of LyX.
42367 \end_layout
42368
42369 \begin_layout Standard
42370 The option 
42371 \family sans
42372 Single instance
42373 \family default
42374  is only active if a LyXServer pipe
42375 \begin_inset Foot
42376 status collapsed
42377
42378 \begin_layout Plain Layout
42379 See sec.
42380 \begin_inset space \thinspace{}
42381 \end_inset
42382
42383
42384 \begin_inset CommandInset ref
42385 LatexCommand ref
42386 reference "sec:Paths"
42387
42388 \end_inset
42389
42390  for information about LyXServer pipes.
42391 \end_layout
42392
42393 \end_inset
42394
42395  is specified.
42396  If it is checked, LyX documents will be opened in the same running instance
42397  of LyX.
42398  Otherwise a new LyX instance is created for each file.
42399 \end_layout
42400
42401 \begin_layout Standard
42402 If the option 
42403 \family sans
42404 Single close-tab button
42405 \family default
42406  is checked, there will only be one close button (
42407 \family sans
42408
42409 \begin_inset Graphics
42410         filename ../images/closetab.png
42411         scale 75
42412
42413 \end_inset
42414
42415
42416 \family default
42417 ) at the right side of the tab bar to close tabs.
42418  Otherwise every document tab has its own close button.
42419 \end_layout
42420
42421 \begin_layout Standard
42422 \begin_inset Note Greyedout
42423 status open
42424
42425 \begin_layout Plain Layout
42426
42427 \series bold
42428 Note:
42429 \series default
42430  For the last option you have to restart LyX before the change takes effect.
42431 \end_layout
42432
42433 \end_inset
42434
42435
42436 \end_layout
42437
42438 \begin_layout Subsection
42439 Screen Fonts
42440 \begin_inset Index idx
42441 status collapsed
42442
42443 \begin_layout Plain Layout
42444 Font ! Screen
42445 \end_layout
42446
42447 \end_inset
42448
42449
42450 \begin_inset CommandInset label
42451 LatexCommand label
42452 name "sub:Screen-Fonts"
42453
42454 \end_inset
42455
42456
42457 \end_layout
42458
42459 \begin_layout Standard
42460 These fonts are used to display your documents within LyX.
42461 \end_layout
42462
42463 \begin_layout Standard
42464 \begin_inset Note Greyedout
42465 status open
42466
42467 \begin_layout Plain Layout
42468
42469 \series bold
42470 Note:
42471 \series default
42472  This section only deals with the fonts 
42473 \emph on
42474 inside
42475 \emph default
42476  the LyX window.
42477  The fonts that appear in the output are independent of these fonts, and
42478  set in the menu 
42479 \family sans
42480 Document\SpecialChar \menuseparator
42481 Settings\SpecialChar \menuseparator
42482 Fonts
42483 \family default
42484 .
42485 \end_layout
42486
42487 \end_inset
42488
42489
42490 \end_layout
42491
42492 \begin_layout Standard
42493 By default, LyX uses 
42494 \family typewriter
42495 Times
42496 \family default
42497  as its 
42498 \family sans
42499 Roman
42500 \family default
42501  (serif) font, 
42502 \family typewriter
42503 Arial
42504 \family default
42505  or 
42506 \family typewriter
42507 Helvetica
42508 \family default
42509  (depends on the system) as its 
42510 \family sans
42511 Sans
42512 \begin_inset space ~
42513 \end_inset
42514
42515 Serif
42516 \family default
42517  font and 
42518 \family typewriter
42519 Courier
42520 \family default
42521  as its 
42522 \family typewriter
42523 Typewriter
42524 \family default
42525  font.
42526 \end_layout
42527
42528 \begin_layout Standard
42529 You can change the font size with the 
42530 \family sans
42531 Zoom
42532 \family default
42533  setting.
42534 \end_layout
42535
42536 \begin_layout Standard
42537 The 
42538 \family sans
42539 Font Sizes
42540 \family default
42541  are calculated as letter height in units of points.
42542  72.27
42543 \begin_inset space \thinspace{}
42544 \end_inset
42545
42546 points have the size of 1
42547 \begin_inset space \thinspace{}
42548 \end_inset
42549
42550 inch, see Appendix
42551 \begin_inset space ~
42552 \end_inset
42553
42554
42555 \begin_inset CommandInset ref
42556 LatexCommand ref
42557 reference "chap:Units-available-in"
42558
42559 \end_inset
42560
42561 .
42562  The default font sizes are the same as if a document font size of 10
42563 \begin_inset space \thinspace{}
42564 \end_inset
42565
42566 pt were used.
42567  The sizes are explained in detail in section
42568 \begin_inset space ~
42569 \end_inset
42570
42571
42572 \begin_inset CommandInset ref
42573 LatexCommand ref
42574 reference "sub:Document-Font"
42575
42576 \end_inset
42577
42578 .
42579 \end_layout
42580
42581 \begin_layout Standard
42582 With the option 
42583 \family sans
42584 Use pixmap cache to speed up font rendering
42585 \family default
42586  enabled, LyX needs to redraw the screen less often.
42587  This results in better performance, especially on slow systems.
42588  On the other hand, the characters might look more fuzzy on screen.
42589  So whether you enable this or not depends on whether you prefer speed over
42590  aesthetics.
42591  Note that the Pixmap Cache is only available and useful under Mac
42592 \begin_inset space ~
42593 \end_inset
42594
42595 OS and Windows.
42596 \end_layout
42597
42598 \begin_layout Subsection
42599 Colors
42600 \begin_inset Index idx
42601 status collapsed
42602
42603 \begin_layout Plain Layout
42604 Color ! LyX screen
42605 \end_layout
42606
42607 \end_inset
42608
42609
42610 \begin_inset Index idx
42611 status collapsed
42612
42613 \begin_layout Plain Layout
42614 Settings ! Color
42615 \end_layout
42616
42617 \end_inset
42618
42619
42620 \end_layout
42621
42622 \begin_layout Standard
42623 Here you can change the screen colors used by LyX by choosing an item in
42624  the list and selecting the 
42625 \family sans
42626 Alter
42627 \family default
42628  button.
42629 \end_layout
42630
42631 \begin_layout Standard
42632 By checking the option 
42633 \family sans
42634 Use system colors
42635 \family default
42636  the color scheme of your OS or window manager is used.
42637  The colors 
42638 \family sans
42639 cursor, selection, table line, text, URL
42640 \begin_inset space ~
42641 \end_inset
42642
42643 label and URL
42644 \begin_inset space ~
42645 \end_inset
42646
42647 text
42648 \family default
42649  are then not customizable and thus not listed.
42650 \end_layout
42651
42652 \begin_layout Subsection
42653 Display
42654 \begin_inset Index idx
42655 status collapsed
42656
42657 \begin_layout Plain Layout
42658 Settings ! Display
42659 \end_layout
42660
42661 \end_inset
42662
42663
42664 \end_layout
42665
42666 \begin_layout Standard
42667 Here you can specify if graphics are displayed inside LyX.
42668 \end_layout
42669
42670 \begin_layout Standard
42671
42672 \family sans
42673 Instant Preview
42674 \family default
42675  enables previewing snippets of your document.
42676  This feature is described in section
42677 \begin_inset space ~
42678 \end_inset
42679
42680
42681 \begin_inset CommandInset ref
42682 LatexCommand ref
42683 reference "sec:Previewing-snippets-of"
42684
42685 \end_inset
42686
42687 .
42688 \end_layout
42689
42690 \begin_layout Standard
42691 Checking the option 
42692 \family sans
42693 Mark
42694 \begin_inset space ~
42695 \end_inset
42696
42697 end
42698 \begin_inset space ~
42699 \end_inset
42700
42701 of
42702 \begin_inset space ~
42703 \end_inset
42704
42705 paragraphs
42706 \family default
42707  displays a pilcrow (¶) at the end of every paragraph.
42708 \end_layout
42709
42710 \begin_layout Section
42711 Editing
42712 \begin_inset Index idx
42713 status collapsed
42714
42715 \begin_layout Plain Layout
42716 Settings ! Editing
42717 \end_layout
42718
42719 \end_inset
42720
42721
42722 \end_layout
42723
42724 \begin_layout Subsection
42725 Control
42726 \end_layout
42727
42728 \begin_layout Subsubsection
42729 Editing
42730 \end_layout
42731
42732 \begin_layout Standard
42733 The option 
42734 \family sans
42735 Cursor follows scrollbar
42736 \family default
42737  sets the cursor to the top of the currently displayed document part when
42738  scrolling.
42739 \end_layout
42740
42741 \begin_layout Standard
42742 You can adjust the width of the cursor.
42743  If you set the value to zero, the thickness of the cursor scales relative
42744  to the zoom value you choose for the screen fonts.
42745 \end_layout
42746
42747 \begin_layout Standard
42748
42749 \family sans
42750 Scroll below end of document
42751 \family default
42752  is self-explanatory.
42753 \end_layout
42754
42755 \begin_layout Standard
42756 In LyX one can jump from word to word by pressing 
42757 \family sans
42758 Ctrl+arrow key
42759 \family default
42760 .
42761  With the option
42762 \family sans
42763  Use Mac-style for cursor moving between words
42764 \family default
42765  the cursor jumps from the end of a word to the end of the next word.
42766  Normally it jumps from the beginning to the beginning.
42767 \end_layout
42768
42769 \begin_layout Standard
42770 The option 
42771 \family sans
42772 Sort environments alphabetically
42773 \family default
42774  sorts the entries in the pull-down box for the paragraph environments.
42775 \end_layout
42776
42777 \begin_layout Standard
42778 The option 
42779 \family sans
42780 Group environments by their category
42781 \family default
42782  groups the entries in the pull-down box for the paragraph environments.
42783 \end_layout
42784
42785 \begin_layout Standard
42786 The 
42787 \family sans
42788 Edit math macros
42789 \family default
42790  options determine the editing style for math macros, see the section 
42791 \emph on
42792 Math Macros
42793 \emph default
42794  of the 
42795 \emph on
42796 Math
42797 \emph default
42798  manual.
42799 \end_layout
42800
42801 \begin_layout Subsubsection
42802 Fullscreen
42803 \end_layout
42804
42805 \begin_layout Standard
42806 Here you can specify what is hidden in the fullscreen mode.
42807  With the option 
42808 \family sans
42809 Limit text width
42810 \family default
42811  you can specify the width of the text in fullscreen mode.
42812  This way you can display the text smaller than the screen; the text then
42813  appears centered.
42814 \end_layout
42815
42816 \begin_layout Subsection
42817 Shortcuts
42818 \begin_inset Index idx
42819 status collapsed
42820
42821 \begin_layout Plain Layout
42822 Key Bindings
42823 \end_layout
42824
42825 \end_inset
42826
42827
42828 \begin_inset Index idx
42829 status collapsed
42830
42831 \begin_layout Plain Layout
42832 Settings ! Shortcuts
42833 \end_layout
42834
42835 \end_inset
42836
42837
42838 \end_layout
42839
42840 \begin_layout Standard
42841
42842 \family sans
42843 Bind File
42844 \family default
42845  specifies the file to be used to bind a LyX-function to a key.
42846  Several binding files are available, among them:
42847 \end_layout
42848
42849 \begin_layout Description
42850 cua.bind a typical set of PC keyboard shortcuts
42851 \end_layout
42852
42853 \begin_layout Description
42854 (x)emacs.bind a set of bindings similar to those used in the editor programs
42855  
42856 \family sans
42857 Emacs
42858 \family default
42859  (
42860 \family sans
42861 XEmacs
42862 \family default
42863 )
42864 \end_layout
42865
42866 \begin_layout Description
42867 mac.bind a set of bindings for 
42868 \family sans
42869 Mac
42870 \begin_inset space \thinspace{}
42871 \end_inset
42872
42873 OS
42874 \family default
42875  systems.
42876 \end_layout
42877
42878 \begin_layout Standard
42879 There are also binding files designed for special document classes, like
42880  
42881 \shape italic
42882 broadway.bind
42883 \shape default
42884 , and binding files for special languages.
42885  The names of language binding files begin with a language code, e.
42886 \begin_inset space \thinspace{}
42887 \end_inset
42888
42889 g.
42890 \begin_inset space \space{}
42891 \end_inset
42892
42893
42894 \begin_inset Quotes eld
42895 \end_inset
42896
42897 pt
42898 \begin_inset Quotes erd
42899 \end_inset
42900
42901  for Portuguese.
42902  If you use LyX in a certain language, LyX will try to use the appropriate
42903  binding file.
42904 \end_layout
42905
42906 \begin_layout Standard
42907 Some binding files, like 
42908 \shape italic
42909 math.bind
42910 \shape default
42911 , only have a limited scope.
42912  When looking at the end of the file 
42913 \shape italic
42914 cua.bind
42915 \shape default
42916 , you can see that they are included to keep the overview in the bind-file.
42917 \end_layout
42918
42919 \begin_layout Standard
42920 The field 
42921 \family sans
42922 Show
42923 \begin_inset space ~
42924 \end_inset
42925
42926 key-bindings
42927 \begin_inset space ~
42928 \end_inset
42929
42930 containing
42931 \family default
42932  allows you to search for the shortcut provided for a particular function
42933  in the selected key binding file.
42934 \end_layout
42935
42936 \begin_layout Subsubsection
42937 Editing Shortcuts
42938 \begin_inset CommandInset label
42939 LatexCommand label
42940 name "sub:Editing-Shortcuts"
42941
42942 \end_inset
42943
42944
42945 \begin_inset Index idx
42946 status collapsed
42947
42948 \begin_layout Plain Layout
42949 Key Bindings ! Editing
42950 \end_layout
42951
42952 \end_inset
42953
42954
42955 \end_layout
42956
42957 \begin_layout Standard
42958 To add new or modify existing keybindings to your own taste you can use
42959  the table in the dialog that lists all LyX-functions and the bound shortcuts.
42960  To find functions easily, they are grouped by categories and the dialog
42961  provides the field 
42962 \family sans
42963 Show key-bindings containing
42964 \family default
42965 .
42966  In this field you can insert a keyword for a function you want to edit.
42967  Insert there for example as keyword 
42968 \begin_inset Quotes eld
42969 \end_inset
42970
42971 paste
42972 \begin_inset Quotes erd
42973 \end_inset
42974
42975  and you get the four different existing shortcuts for the three different
42976  functions that contain 
42977 \begin_inset Quotes eld
42978 \end_inset
42979
42980 paste
42981 \begin_inset Quotes erd
42982 \end_inset
42983
42984  in their name.
42985  As you can see, one function can have more than one shortcut.
42986  All LyX-functions are also listed in the file 
42987 \family sans
42988 LyX Functions
42989 \family default
42990  that you will find in the 
42991 \family sans
42992 Help
42993 \family default
42994  menu.
42995 \end_layout
42996
42997 \begin_layout Standard
42998 For example, to add the shortcut 
42999 \family sans
43000 Alt+Q
43001 \family default
43002  for the function 
43003 \family sans
43004 textstyle-apply
43005 \family default
43006 , select the function and press the 
43007 \family sans
43008 Modify
43009 \family default
43010  button.
43011  A dialog pops up where you can add the shortcut by using it.
43012  So press Alt+Q to define the shortcut.
43013 \end_layout
43014
43015 \begin_layout Standard
43016 Modifying an existing shortcut is done the same way.
43017  You can also bind multiple functions to one shortcut by starting the LyX
43018  Function definition with “command alternatives” and following it with the
43019  different function names as a semicolon separated list.
43020  LyX will then use the first function that is enabled in the current document
43021  part.
43022  
43023 \end_layout
43024
43025 \begin_layout Standard
43026 If you don't like a particular shortcut, you can remove it.
43027 \end_layout
43028
43029 \begin_layout Standard
43030 Alternatively you can also edit shortcuts by modifying binding files with
43031  a text editor.
43032  The syntax of the entries is:
43033 \end_layout
43034
43035 \begin_layout Standard
43036
43037 \series bold
43038
43039 \backslash
43040 bind 
43041 \begin_inset Quotes eld
43042 \end_inset
43043
43044 key combination
43045 \begin_inset Quotes erd
43046 \end_inset
43047
43048  
43049 \begin_inset Quotes eld
43050 \end_inset
43051
43052 LyX-function
43053 \begin_inset Quotes erd
43054 \end_inset
43055
43056
43057 \end_layout
43058
43059 \begin_layout Subsection
43060 Keyboard/Mouse
43061 \begin_inset CommandInset label
43062 LatexCommand label
43063 name "sub:Keyboard-Map"
43064
43065 \end_inset
43066
43067
43068 \begin_inset Index idx
43069 status collapsed
43070
43071 \begin_layout Plain Layout
43072 Keyboard Map
43073 \end_layout
43074
43075 \end_inset
43076
43077
43078 \begin_inset Index idx
43079 status collapsed
43080
43081 \begin_layout Plain Layout
43082 Settings ! Keyboard Map
43083 \end_layout
43084
43085 \end_inset
43086
43087
43088 \end_layout
43089
43090 \begin_layout Standard
43091 Normally keyboard settings are made in a menu of your operating system.
43092  For the case thatWhere this is not possible, LyX provides keyboard maps.
43093  If, for example, you have a Czech keyboard but want to use it as if it
43094  is a Romanian one, you can enable 
43095 \family sans
43096 Use
43097 \begin_inset space ~
43098 \end_inset
43099
43100 keyboard
43101 \begin_inset space ~
43102 \end_inset
43103
43104 map
43105 \family default
43106  and select the keyboard map file named 
43107 \shape italic
43108 romanian.kmap
43109 \shape default
43110 .
43111 \end_layout
43112
43113 \begin_layout Standard
43114 You can specify a 
43115 \family sans
43116 First
43117 \family default
43118  and a 
43119 \family sans
43120 Second
43121 \family default
43122  keyboard map and, if you use the 
43123 \emph on
43124 cua
43125 \emph default
43126  bindings, you can select the first and second with 
43127 \begin_inset Info
43128 type  "shortcut"
43129 arg   "keymap-primary"
43130 \end_inset
43131
43132  and 
43133 \begin_inset Info
43134 type  "shortcut"
43135 arg   "keymap-secondary"
43136 \end_inset
43137
43138  respectively or toggle between them with 
43139 \begin_inset Info
43140 type  "shortcut"
43141 arg   "keymap-toggle"
43142 \end_inset
43143
43144 .
43145 \end_layout
43146
43147 \begin_layout Standard
43148 \begin_inset Note Greyedout
43149 status open
43150
43151 \begin_layout Plain Layout
43152
43153 \series bold
43154 Note:
43155 \series default
43156  Keyboard maps can only provide a makeshift solution and don't work on all
43157  systems.
43158 \end_layout
43159
43160 \end_inset
43161
43162
43163 \end_layout
43164
43165 \begin_layout Standard
43166 You can also specify the mouse 
43167 \family sans
43168 Wheel scrolling speed
43169 \family default
43170 .
43171  The standard value is 1.0; higher values speed up the scrolling, lower ones
43172  slow it down.
43173 \end_layout
43174
43175 \begin_layout Standard
43176 If you 
43177 \family sans
43178 Enable
43179 \family default
43180  
43181 \family sans
43182 Scroll
43183 \begin_inset space ~
43184 \end_inset
43185
43186 wheel
43187 \begin_inset space ~
43188 \end_inset
43189
43190 zoom,
43191 \family default
43192  you can select a key for zooming.
43193  When this key is pressed and the mouse wheel is rotated, the text is zoomed.
43194 \end_layout
43195
43196 \begin_layout Subsection
43197 Input Completion
43198 \end_layout
43199
43200 \begin_layout Standard
43201 Input completion is described in section
43202 \begin_inset space ~
43203 \end_inset
43204
43205
43206 \begin_inset CommandInset ref
43207 LatexCommand ref
43208 reference "sec:Input-Completion"
43209
43210 \end_inset
43211
43212 .
43213 \end_layout
43214
43215 \begin_layout Section
43216 Paths
43217 \begin_inset CommandInset label
43218 LatexCommand label
43219 name "sec:Paths"
43220
43221 \end_inset
43222
43223
43224 \begin_inset Index idx
43225 status collapsed
43226
43227 \begin_layout Plain Layout
43228 Paths
43229 \end_layout
43230
43231 \end_inset
43232
43233
43234 \begin_inset Index idx
43235 status collapsed
43236
43237 \begin_layout Plain Layout
43238 Settings ! Paths
43239 \end_layout
43240
43241 \end_inset
43242
43243
43244 \end_layout
43245
43246 \begin_layout Standard
43247 The paths to the various resources used by LyX are normally determined during
43248  the installation.
43249  But there may be reasons why you might want to modify them.
43250 \end_layout
43251
43252 \begin_layout Description
43253 Working
43254 \begin_inset space ~
43255 \end_inset
43256
43257 directory This is LyX's working directory.
43258  It is the default when you 
43259 \family sans
43260 Open
43261 \family default
43262
43263 \family sans
43264 Save
43265 \family default
43266  or 
43267 \family sans
43268 Save
43269 \begin_inset space ~
43270 \end_inset
43271
43272 As
43273 \family default
43274  files.
43275 \end_layout
43276
43277 \begin_layout Description
43278 Document
43279 \begin_inset space ~
43280 \end_inset
43281
43282 templates This directory will be opened when you use the menu 
43283 \family sans
43284 File\SpecialChar \menuseparator
43285 New
43286 \begin_inset space ~
43287 \end_inset
43288
43289 from
43290 \begin_inset space ~
43291 \end_inset
43292
43293 Template
43294 \family default
43295 .
43296 \end_layout
43297
43298 \begin_layout Description
43299 Example
43300 \begin_inset space ~
43301 \end_inset
43302
43303 files This directory will be opened when you use the button 
43304 \family sans
43305 Examples
43306 \family default
43307  in the 
43308 \family sans
43309 File\SpecialChar \menuseparator
43310 Open
43311 \family default
43312  dialog.
43313 \begin_inset Newline newline
43314 \end_inset
43315
43316
43317 \begin_inset Note Greyedout
43318 status open
43319
43320 \begin_layout Plain Layout
43321
43322 \series bold
43323 Note:
43324 \series default
43325  The 
43326 \family sans
43327 Examples
43328 \family default
43329  button does not exist when using LyX on Mac OS and Windows systems.
43330 \end_layout
43331
43332 \end_inset
43333
43334
43335 \end_layout
43336
43337 \begin_layout Description
43338 Backup
43339 \begin_inset space ~
43340 \end_inset
43341
43342 directory
43343 \begin_inset Index idx
43344 status collapsed
43345
43346 \begin_layout Plain Layout
43347 Backup ! Directory
43348 \end_layout
43349
43350 \end_inset
43351
43352  Backup copies will be saved to this directory.
43353  If no directory is given but backups are enabled as described in section
43354 \begin_inset space ~
43355 \end_inset
43356
43357
43358 \begin_inset CommandInset ref
43359 LatexCommand ref
43360 reference "sub:Backup documents"
43361
43362 \end_inset
43363
43364 , the 
43365 \family sans
43366 Working directory
43367 \family default
43368  will be used to save the backups.
43369 \begin_inset Newline newline
43370 \end_inset
43371
43372 Backup files have the ending 
43373 \begin_inset Quotes eld
43374 \end_inset
43375
43376 .lyx~
43377 \begin_inset Quotes erd
43378 \end_inset
43379
43380 .
43381 \end_layout
43382
43383 \begin_layout Description
43384 Ly
43385 \begin_inset ERT
43386 status collapsed
43387
43388 \begin_layout Plain Layout
43389
43390 {}
43391 \end_layout
43392
43393 \end_inset
43394
43395 XServer
43396 \begin_inset space ~
43397 \end_inset
43398
43399 pipe Here you can enter the name of a so-called UNIX-pipe.
43400  This pipe is used to send data from external programs to LyX.
43401 \begin_inset Newline newline
43402 \end_inset
43403
43404
43405 \series bold
43406 Example:
43407 \series default
43408  You add a BibTeX-database 
43409 \emph on
43410 test.bib
43411 \emph default
43412  to your document.
43413  You can edit this file with the program 
43414 \family typewriter
43415 JabRef
43416 \family default
43417 .
43418  In 
43419 \family typewriter
43420 JabRef
43421 \family default
43422  you have to use the same Unix-Pipe for LyX in its preferences under 
43423 \family sans
43424 External
43425 \begin_inset space ~
43426 \end_inset
43427
43428 programs
43429 \family default
43430 .
43431  If you want to get one entry of the database as citation, select it in
43432  
43433 \family typewriter
43434 JabRef
43435 \family default
43436  and click on the LyX-symbol.
43437  The entry will now be inserted as a citation at the current cursor position
43438  in your LyX file.
43439  Of course, 
43440 \family typewriter
43441 JabRef
43442 \family default
43443  and LyX need to be running the same time.
43444 \begin_inset Newline newline
43445 \end_inset
43446
43447 The pipe is also used for the 
43448 \family sans
43449 Single instance
43450 \family default
43451  feature, see sec.
43452 \begin_inset space \thinspace{}
43453 \end_inset
43454
43455
43456 \begin_inset CommandInset ref
43457 LatexCommand ref
43458 reference "sub:Backup documents"
43459
43460 \end_inset
43461
43462 .
43463 \begin_inset Newline newline
43464 \end_inset
43465
43466 To use the LyXServer-Pipe on Windows, you must use this pipe name:
43467 \begin_inset Newline newline
43468 \end_inset
43469
43470
43471 \series bold
43472
43473 \backslash
43474
43475 \backslash
43476 .
43477 \backslash
43478 pipe
43479 \backslash
43480 lyxpipe
43481 \end_layout
43482
43483 \begin_layout Description
43484 Temporary
43485 \begin_inset space ~
43486 \end_inset
43487
43488 directory Temporary files will be saved in this directory.
43489 \end_layout
43490
43491 \begin_layout Description
43492 Thesaurus
43493 \begin_inset space ~
43494 \end_inset
43495
43496 dictionary Directory where the thesaurus dictionaries are located.
43497  You only need to specify it if the thesaurus does not work or if you want
43498  to use custom/alternative dictionaries.
43499 \end_layout
43500
43501 \begin_layout Description
43502 Hunspell
43503 \begin_inset space ~
43504 \end_inset
43505
43506 dictionary Directory where the dictionaries of the spell checker program
43507  
43508 \family typewriter
43509 Hunspell
43510 \family default
43511  are located.
43512  You only need to specify it if you are using 
43513 \family typewriter
43514 Hunspell
43515 \family default
43516  and spell checking does not work or if you want to use custom/alternative
43517  dictionaries.
43518  For LyX on Windows 
43519 \family typewriter
43520 Hunspell
43521 \family default
43522  is the only available spell checker and should work without specifying
43523  a directory.
43524 \end_layout
43525
43526 \begin_layout Description
43527 PATH
43528 \begin_inset space ~
43529 \end_inset
43530
43531 prefix This field contains a list of paths to external programs.
43532  When LyX needs to use an external program, it looks in this list to see
43533  where to find it on the system.
43534  The path list is automatically set up on Windows and Mac systems when LyX
43535  is configured; so you normally don't have to modify it.
43536  On Unix
43537 \begin_inset space \thinspace{}
43538 \end_inset
43539
43540 /
43541 \begin_inset space \thinspace{}
43542 \end_inset
43543
43544 Linux systems, the path list will need to be set only if there are external
43545  programs you wish to use that are not in your normal system path ($PATH).
43546 \end_layout
43547
43548 \begin_layout Description
43549 TEXINPUTS
43550 \begin_inset space ~
43551 \end_inset
43552
43553 prefix The TEXINPUTS environment variable allows you to use external files
43554  which are included in a LyX document via commands in TeX code or in the
43555  document preamble.
43556  This prefix includes by default the document directory (represented by
43557  a single dot '.').
43558  The prefix can contain any list of paths separated by the default separator
43559  of the OS (':' on UNIX like systems and ';' on Windows).
43560  If files are included, the paths listed in the TEXINPUTS prefix will be
43561  scanned for the input files.
43562  Note that any non-absolute path listed in the TEXINPUTS prefix is considered
43563  to be relative to the directory of your LyX file.
43564  It is recommended that you always include ‘.' as one of the paths; otherwise
43565  compilation may fail for some documents.
43566 \end_layout
43567
43568 \begin_layout Section
43569 Identity
43570 \end_layout
43571
43572 \begin_layout Standard
43573 Here you can insert your 
43574 \family sans
43575 Name
43576 \family default
43577  and 
43578 \family sans
43579 E-mail
43580 \family default
43581  address.
43582  These will be used when you have enabled change tracking, as described
43583  in section
43584 \begin_inset space ~
43585 \end_inset
43586
43587
43588 \begin_inset CommandInset ref
43589 LatexCommand ref
43590 reference "sec:Change-Tracking"
43591
43592 \end_inset
43593
43594 , to mark changes you make as yours.
43595 \end_layout
43596
43597 \begin_layout Section
43598 Language Settings
43599 \begin_inset Index idx
43600 status collapsed
43601
43602 \begin_layout Plain Layout
43603 Language ! Settings
43604 \end_layout
43605
43606 \end_inset
43607
43608
43609 \begin_inset Index idx
43610 status collapsed
43611
43612 \begin_layout Plain Layout
43613 Settings ! Language
43614 \end_layout
43615
43616 \end_inset
43617
43618
43619 \end_layout
43620
43621 \begin_layout Subsection
43622 Language
43623 \begin_inset CommandInset label
43624 LatexCommand label
43625 name "sub:Prefs-Language"
43626
43627 \end_inset
43628
43629
43630 \end_layout
43631
43632 \begin_layout Description
43633 User
43634 \begin_inset space ~
43635 \end_inset
43636
43637 interface
43638 \begin_inset space ~
43639 \end_inset
43640
43641 language Here you can select the language for LyX's menus.
43642  You can find its actual translation status here: 
43643 \begin_inset CommandInset href
43644 LatexCommand href
43645 target "http://www.lyx.org/I18n"
43646
43647 \end_inset
43648
43649
43650 \end_layout
43651
43652 \begin_layout Description
43653 Language
43654 \begin_inset space ~
43655 \end_inset
43656
43657 package determines which LaTeX package should be loaded to handle language
43658  issues.
43659  Language issues that are handled by this package include proper hyphenation
43660  as well as localization of dates and text strings such as 
43661 \begin_inset Quotes eld
43662 \end_inset
43663
43664 Chapter
43665 \begin_inset Quotes erd
43666 \end_inset
43667
43668  and 
43669 \begin_inset Quotes eld
43670 \end_inset
43671
43672 Table
43673 \begin_inset Quotes erd
43674 \end_inset
43675
43676 .
43677  The most widespread language package is 
43678 \series bold
43679 babel
43680 \series default
43681
43682 \begin_inset Index idx
43683 status collapsed
43684
43685 \begin_layout Plain Layout
43686 LaTeX-packages ! babel
43687 \end_layout
43688
43689 \end_inset
43690
43691 ; it is the default language package in classic LaTeX.
43692  More recent typesetting engines such as XeTeX and LuaTeX come with the
43693  alternative language package 
43694 \series bold
43695 polyglossia
43696 \series default
43697
43698 \begin_inset Index idx
43699 status collapsed
43700
43701 \begin_layout Plain Layout
43702 LaTeX-packages ! polyglossia
43703 \end_layout
43704
43705 \end_inset
43706
43707  that is more suited to the multi-script support of these engines.
43708  Furthermore, there are also specific language packages for languages not
43709  covered by 
43710 \series bold
43711 babel
43712 \series default
43713 .
43714  The available selections are described in section
43715 \begin_inset space ~
43716 \end_inset
43717
43718
43719 \begin_inset CommandInset ref
43720 LatexCommand ref
43721 reference "sec:Language-encodings"
43722
43723 \end_inset
43724
43725 .
43726 \end_layout
43727
43728 \begin_layout Description
43729 Command
43730 \begin_inset space ~
43731 \end_inset
43732
43733 start If a special LaTeX-package is needed to write in a certain document
43734  language, you can here specify the command to start the package.
43735  An example is the start command 
43736 \family sans
43737
43738 \backslash
43739 begin{arabtext}
43740 \family default
43741  that is needed to write Arabic using the package 
43742 \series bold
43743 ArabTeX
43744 \series default
43745 , see 
43746 \begin_inset CommandInset citation
43747 LatexCommand cite
43748 key "Arabic"
43749
43750 \end_inset
43751
43752 .
43753  The default is the 
43754 \series bold
43755 babel
43756 \series default
43757  command 
43758 \family sans
43759
43760 \backslash
43761 selectlanguage{$$lang}
43762 \family default
43763 .
43764 \end_layout
43765
43766 \begin_layout Description
43767 Command
43768 \begin_inset space ~
43769 \end_inset
43770
43771 end Counterpart to 
43772 \family sans
43773 Command start
43774 \family default
43775 .
43776  Some packages, like the default, don't have an end command since the start
43777  command toggles the package on and off.
43778 \end_layout
43779
43780 \begin_layout Description
43781 Default
43782 \begin_inset space ~
43783 \end_inset
43784
43785 Decimal
43786 \begin_inset space ~
43787 \end_inset
43788
43789 Point Define the default decimal point for use in tables (decimal point
43790  alignment).
43791 \end_layout
43792
43793 \begin_layout Description
43794 Set
43795 \begin_inset space ~
43796 \end_inset
43797
43798 languages
43799 \begin_inset space ~
43800 \end_inset
43801
43802 globally When this option is set, the languages used in the document will
43803  be added as options to the document class options, so that they can be
43804  used by all LaTeX-packages.
43805  Otherwise they will only be used as options for the 
43806 \series bold
43807 babel
43808 \series default
43809  package.
43810 \end_layout
43811
43812 \begin_layout Description
43813 Auto
43814 \begin_inset space ~
43815 \end_inset
43816
43817 begin When this option is set, documents start with the chosen document
43818  language.
43819  When this option is not set, the 
43820 \family sans
43821 Command
43822 \begin_inset space ~
43823 \end_inset
43824
43825 start
43826 \family default
43827  is explicitly set to the beginning of the document in the LaTeX-output.
43828  This assures that the correct language is used when you use another 
43829 \family sans
43830 Command
43831 \begin_inset space ~
43832 \end_inset
43833
43834 start
43835 \family default
43836  than the default.
43837 \end_layout
43838
43839 \begin_layout Description
43840 Auto
43841 \begin_inset space ~
43842 \end_inset
43843
43844 end Counterpart to 
43845 \family sans
43846 Auto
43847 \begin_inset space ~
43848 \end_inset
43849
43850 begin
43851 \family default
43852 .
43853  When it is not set, the 
43854 \family sans
43855 Command
43856 \begin_inset space ~
43857 \end_inset
43858
43859 end
43860 \family default
43861  is set to the end of the document.
43862 \end_layout
43863
43864 \begin_layout Description
43865 Mark
43866 \begin_inset space ~
43867 \end_inset
43868
43869 foreign
43870 \begin_inset space ~
43871 \end_inset
43872
43873 languages Text marked formatted in a language different from the document
43874  language will be underlined in blue.
43875 \end_layout
43876
43877 \begin_layout Description
43878 Enable
43879 \begin_inset space ~
43880 \end_inset
43881
43882 RTL
43883 \begin_inset space ~
43884 \end_inset
43885
43886 support Enables the use of languages, written from right to left (RTL),
43887  like Arabic, Hebrew or Farsi.
43888 \end_layout
43889
43890 \begin_layout Description
43891 Cursor
43892 \begin_inset space ~
43893 \end_inset
43894
43895 movement When writing RTL, you can define if the left and right arrow keys
43896  move the cursor visually to the left or right, respectively, or logically.
43897  Logical means that the cursor is moved to the left when pressing the right
43898  arrow key and the cursor is inside text in an RTL language.
43899 \end_layout
43900
43901 \begin_layout Subsection
43902 Spellchecker
43903 \end_layout
43904
43905 \begin_layout Standard
43906 The spellchecker settings are explained in section
43907 \begin_inset space ~
43908 \end_inset
43909
43910
43911 \begin_inset CommandInset ref
43912 LatexCommand ref
43913 reference "sec:Spellchecking"
43914
43915 \end_inset
43916
43917 .
43918 \end_layout
43919
43920 \begin_layout Section
43921 Outputs
43922 \end_layout
43923
43924 \begin_layout Subsection
43925 General
43926 \end_layout
43927
43928 \begin_layout Description
43929 Output
43930 \begin_inset space ~
43931 \end_inset
43932
43933 line
43934 \begin_inset space ~
43935 \end_inset
43936
43937 length sets the maximum number of characters printed in one line when using
43938  the menu 
43939 \family sans
43940 File\SpecialChar \menuseparator
43941 Export\SpecialChar \menuseparator
43942 Plain
43943 \begin_inset space ~
43944 \end_inset
43945
43946 text
43947 \family default
43948 .
43949  Setting the line length to 0 means all text is printed in one endless line.
43950 \end_layout
43951
43952 \begin_layout Description
43953 Date
43954 \begin_inset space ~
43955 \end_inset
43956
43957 format
43958 \begin_inset Index idx
43959 status collapsed
43960
43961 \begin_layout Plain Layout
43962 Date Format
43963 \end_layout
43964
43965 \end_inset
43966
43967
43968 \begin_inset Index idx
43969 status collapsed
43970
43971 \begin_layout Plain Layout
43972 Settings ! Date format
43973 \end_layout
43974
43975 \end_inset
43976
43977  The date format can be one or a mixture of the formats listed here:
43978 \begin_inset Newline newline
43979 \end_inset
43980
43981
43982 \begin_inset Flex URL
43983 status collapsed
43984
43985 \begin_layout Plain Layout
43986
43987 http://unixhelp.ed.ac.uk/CGI/man-cgi?date
43988 \end_layout
43989
43990 \end_inset
43991
43992
43993 \begin_inset Newline newline
43994 \end_inset
43995
43996 For example the format
43997 \begin_inset Newline newline
43998 \end_inset
43999
44000 %d/%m/%y
44001 \begin_inset Newline newline
44002 \end_inset
44003
44004 prints the date as day/month/year.
44005 \end_layout
44006
44007 \begin_layout Description
44008 Overwrite
44009 \begin_inset space ~
44010 \end_inset
44011
44012 on
44013 \begin_inset space ~
44014 \end_inset
44015
44016 export Setting what LyX is allowed to overwrite on export.
44017 \end_layout
44018
44019 \begin_layout Description
44020 Forward
44021 \begin_inset space ~
44022 \end_inset
44023
44024 search Commands that will be used for the menu 
44025 \family sans
44026 Navigate\SpecialChar \menuseparator
44027 Forward
44028 \begin_inset space ~
44029 \end_inset
44030
44031 search
44032 \family default
44033 .
44034  For a detailed description see section 
44035 \emph on
44036 Reverse DVI/PDF search
44037 \emph default
44038  of the 
44039 \emph on
44040 Additional
44041 \begin_inset space ~
44042 \end_inset
44043
44044 Features
44045 \emph default
44046  manual.
44047 \end_layout
44048
44049 \begin_layout Subsection
44050 Printer
44051 \begin_inset CommandInset label
44052 LatexCommand label
44053 name "sub:Printer"
44054
44055 \end_inset
44056
44057
44058 \begin_inset Index idx
44059 status collapsed
44060
44061 \begin_layout Plain Layout
44062 Printer
44063 \end_layout
44064
44065 \end_inset
44066
44067
44068 \begin_inset Index idx
44069 status collapsed
44070
44071 \begin_layout Plain Layout
44072 Settings ! Printer
44073 \end_layout
44074
44075 \end_inset
44076
44077
44078 \end_layout
44079
44080 \begin_layout Description
44081 Default
44082 \begin_inset space ~
44083 \end_inset
44084
44085 printer Here you can specify the name of your 
44086 \family sans
44087 Default printer
44088 \family default
44089 .
44090  The name will be used when the 
44091 \family sans
44092 Printer command
44093 \family default
44094  is executed.
44095 \begin_inset Newline newline
44096 \end_inset
44097
44098
44099 \begin_inset Note Greyedout
44100 status open
44101
44102 \begin_layout Plain Layout
44103
44104 \series bold
44105 Note:
44106 \series default
44107  You can leave this field empty on Windows systems because it has no effect.
44108 \end_layout
44109
44110 \end_inset
44111
44112
44113 \end_layout
44114
44115 \begin_layout Description
44116 Printer
44117 \begin_inset space ~
44118 \end_inset
44119
44120 command is the command LyX
44121 \begin_inset space \thinspace{}
44122 \end_inset
44123
44124 /
44125 \begin_inset space \thinspace{}
44126 \end_inset
44127
44128 LaTeX uses for printing.
44129  The default is 
44130 \family sans
44131 dvips
44132 \family default
44133  on most systems.
44134 \end_layout
44135
44136 \begin_layout Description
44137 Printer
44138 \begin_inset space ~
44139 \end_inset
44140
44141 Command
44142 \begin_inset space ~
44143 \end_inset
44144
44145 Options Here you can specify printer options.
44146  A list of printer options with explanations can be found in the documentation
44147  of the program that provides the 
44148 \family sans
44149 Printer command
44150 \family default
44151  you are using.
44152 \end_layout
44153
44154 \begin_layout Description
44155 Adapt
44156 \begin_inset space ~
44157 \end_inset
44158
44159 output
44160 \begin_inset space ~
44161 \end_inset
44162
44163 to
44164 \begin_inset space ~
44165 \end_inset
44166
44167 printer This option works only for the 
44168 \family sans
44169 Printer command
44170 \family default
44171  
44172 \begin_inset Quotes eld
44173 \end_inset
44174
44175
44176 \family sans
44177 dvips
44178 \family default
44179
44180 \begin_inset Quotes erd
44181 \end_inset
44182
44183 .
44184  It activates a configuration file for dvips.
44185  This is an option only for dvips experts.
44186 \end_layout
44187
44188 \begin_layout Subsection
44189 LaT
44190 \begin_inset ERT
44191 status collapsed
44192
44193 \begin_layout Plain Layout
44194
44195 {}
44196 \end_layout
44197
44198 \end_inset
44199
44200 eX
44201 \begin_inset CommandInset label
44202 LatexCommand label
44203 name "sub:LaTeX-settings"
44204
44205 \end_inset
44206
44207
44208 \begin_inset Index idx
44209 status collapsed
44210
44211 \begin_layout Plain Layout
44212 Settings ! LaTeX
44213 \end_layout
44214
44215 \end_inset
44216
44217
44218 \end_layout
44219
44220 \begin_layout Description
44221 Use
44222 \begin_inset space ~
44223 \end_inset
44224
44225 LaTe
44226 \begin_inset ERT
44227 status collapsed
44228
44229 \begin_layout Plain Layout
44230
44231 {}
44232 \end_layout
44233
44234 \end_inset
44235
44236 X
44237 \begin_inset space ~
44238 \end_inset
44239
44240 font
44241 \begin_inset space ~
44242 \end_inset
44243
44244 encoding This is the default encoding of the document font.
44245  
44246 \family sans
44247 T1
44248 \family default
44249  is the default and covers western languages and symbols.
44250  
44251 \family sans
44252 T2A
44253 \family default
44254
44255 \family sans
44256 T2B
44257 \family default
44258
44259 \family sans
44260 T2C
44261 \family default
44262
44263 \family sans
44264 LCY
44265 \family default
44266  and 
44267 \family sans
44268 X2
44269 \family default
44270  are used for Cyrillic.
44271  Combinations of the encodings are possible, like 
44272 \begin_inset Quotes eld
44273 \end_inset
44274
44275
44276 \family sans
44277 T1, T2B
44278 \family default
44279
44280 \begin_inset Quotes erd
44281 \end_inset
44282
44283 .
44284  The font encoding is normally automatically loaded by the language packages
44285  LyX sets up in the background.
44286  So there is no need to change the default encoding.
44287 \end_layout
44288
44289 \begin_layout Description
44290 Default
44291 \begin_inset space ~
44292 \end_inset
44293
44294 paper
44295 \begin_inset space ~
44296 \end_inset
44297
44298 size This is the paper size that is used for new documents.
44299  The 
44300 \family sans
44301 Default
44302 \family default
44303  value depends on your LaTeX-system setup.
44304 \end_layout
44305
44306 \begin_layout Description
44307 DVI
44308 \begin_inset space ~
44309 \end_inset
44310
44311 viewer
44312 \begin_inset space ~
44313 \end_inset
44314
44315 paper
44316 \begin_inset space ~
44317 \end_inset
44318
44319 size
44320 \begin_inset space ~
44321 \end_inset
44322
44323 options They only have an effect when the program 
44324 \family sans
44325 xdvi
44326 \family default
44327  is used as DVI-viewer, read its manual to find out more.
44328 \end_layout
44329
44330 \begin_layout Standard
44331 Here you can also specify options and commands with parameters for processors.
44332  But before you change something, it is strongly recommended to read the
44333  manuals of the applications.
44334 \end_layout
44335
44336 \begin_layout Description
44337 Bibliography
44338 \begin_inset space ~
44339 \end_inset
44340
44341 generation Settings for the generation of the bibliography, see section
44342 \begin_inset space ~
44343 \end_inset
44344
44345
44346 \begin_inset CommandInset ref
44347 LatexCommand ref
44348 reference "sub:Bibliography-databases"
44349
44350 \end_inset
44351
44352 .
44353 \end_layout
44354
44355 \begin_layout Description
44356 Index
44357 \begin_inset space ~
44358 \end_inset
44359
44360 generation Settings for the generation of the index, see section
44361 \begin_inset space ~
44362 \end_inset
44363
44364
44365 \begin_inset CommandInset ref
44366 LatexCommand ref
44367 reference "sub:Index-Program"
44368
44369 \end_inset
44370
44371 .
44372 \end_layout
44373
44374 \begin_layout Description
44375 Nomenclature
44376 \begin_inset space ~
44377 \end_inset
44378
44379 command Command for the program that generates the nomenclature, see section
44380 \begin_inset space ~
44381 \end_inset
44382
44383
44384 \begin_inset CommandInset ref
44385 LatexCommand ref
44386 reference "sub:Nomenclature-Program"
44387
44388 \end_inset
44389
44390 .
44391 \end_layout
44392
44393 \begin_layout Description
44394 CheckTe
44395 \begin_inset ERT
44396 status collapsed
44397
44398 \begin_layout Plain Layout
44399
44400 {}
44401 \end_layout
44402
44403 \end_inset
44404
44405 X
44406 \begin_inset space ~
44407 \end_inset
44408
44409 command Command for the program 
44410 \family sans
44411 CheckTeX
44412 \family default
44413  that is described in the section 
44414 \emph on
44415 Checking TeX
44416 \emph default
44417  of the 
44418 \emph on
44419 Additional Features
44420 \emph default
44421  manual.
44422 \end_layout
44423
44424 \begin_layout Standard
44425 There are additionally the following options:
44426 \end_layout
44427
44428 \begin_layout Description
44429 Use
44430 \begin_inset space ~
44431 \end_inset
44432
44433 Windows-style
44434 \begin_inset space ~
44435 \end_inset
44436
44437 paths
44438 \begin_inset space ~
44439 \end_inset
44440
44441 in
44442 \begin_inset space ~
44443 \end_inset
44444
44445 LaTeX
44446 \begin_inset space ~
44447 \end_inset
44448
44449 files Uses paths in the notation of Windows, that means that 
44450 \begin_inset Quotes eld
44451 \end_inset
44452
44453
44454 \backslash
44455
44456 \begin_inset Quotes erd
44457 \end_inset
44458
44459  is used instead of 
44460 \begin_inset Quotes eld
44461 \end_inset
44462
44463 /
44464 \begin_inset Quotes erd
44465 \end_inset
44466
44467  to separate folders.
44468  This option is enabled by default when you use LyX on Windows.
44469 \begin_inset Index idx
44470 status collapsed
44471
44472 \begin_layout Plain Layout
44473 Paths
44474 \end_layout
44475
44476 \end_inset
44477
44478
44479 \begin_inset Index idx
44480 status collapsed
44481
44482 \begin_layout Plain Layout
44483 Settings ! Paths
44484 \end_layout
44485
44486 \end_inset
44487
44488
44489 \end_layout
44490
44491 \begin_layout Description
44492 Reset
44493 \begin_inset space ~
44494 \end_inset
44495
44496 class
44497 \begin_inset space ~
44498 \end_inset
44499
44500 options
44501 \begin_inset space ~
44502 \end_inset
44503
44504 when
44505 \begin_inset space ~
44506 \end_inset
44507
44508 document
44509 \begin_inset space ~
44510 \end_inset
44511
44512 class
44513 \begin_inset space ~
44514 \end_inset
44515
44516 changes Removes all manually set 
44517 \family sans
44518 Class options
44519 \family default
44520  in the 
44521 \family sans
44522 Document\SpecialChar \menuseparator
44523 Settings\SpecialChar \menuseparator
44524 Document
44525 \begin_inset space ~
44526 \end_inset
44527
44528 Class
44529 \family default
44530  dialog when changing the document class.
44531 \end_layout
44532
44533 \begin_layout Section
44534 File
44535 \begin_inset space ~
44536 \end_inset
44537
44538 Handling
44539 \begin_inset Index idx
44540 status collapsed
44541
44542 \begin_layout Plain Layout
44543 File handling
44544 \end_layout
44545
44546 \end_inset
44547
44548
44549 \end_layout
44550
44551 \begin_layout Subsection
44552 Converters
44553 \begin_inset CommandInset label
44554 LatexCommand label
44555 name "sub:Converters"
44556
44557 \end_inset
44558
44559
44560 \begin_inset Index idx
44561 status collapsed
44562
44563 \begin_layout Plain Layout
44564 Converters
44565 \end_layout
44566
44567 \end_inset
44568
44569
44570 \end_layout
44571
44572 \begin_layout Standard
44573 Here you find the list of defined converter commands to convert material
44574  from one format to another.
44575  You can modify converters or create new ones.
44576  To modify a converter, select it, change the entry of the 
44577 \family sans
44578 Converter
44579 \family default
44580  and/or 
44581 \family sans
44582 Extra
44583 \begin_inset space ~
44584 \end_inset
44585
44586 flag
44587 \family default
44588  field and press the 
44589 \family sans
44590 Modify
44591 \family default
44592  button.
44593  To create a new converter, select an existing one, select a different format
44594  in the 
44595 \family sans
44596 To
44597 \begin_inset space ~
44598 \end_inset
44599
44600 format
44601 \family default
44602  drop-down list, modify the 
44603 \family sans
44604 Converter
44605 \family default
44606  field and press the 
44607 \family sans
44608 Add
44609 \family default
44610  button.
44611 \end_layout
44612
44613 \begin_layout Standard
44614 If the 
44615 \family sans
44616 Converter File Cache
44617 \family default
44618  is 
44619 \family sans
44620 Enabled
44621 \family default
44622 , conversions will be cached as long as specified in the field 
44623 \family sans
44624 Maximum Age (in days
44625 \family default
44626 ).
44627  This means that images don't need to be converted again when you reopen
44628  a document; the converted images from the cache will be used instead.
44629 \end_layout
44630
44631 \begin_layout Standard
44632 More about converters, like the flags that can be used in the converter
44633  definition, is described in the section 
44634 \emph on
44635 Converters
44636 \emph default
44637  of the 
44638 \emph on
44639 Customization
44640 \emph default
44641  manual.
44642 \end_layout
44643
44644 \begin_layout Subsection
44645 File Formats
44646 \begin_inset CommandInset label
44647 LatexCommand label
44648 name "sec:File-Formats"
44649
44650 \end_inset
44651
44652
44653 \begin_inset Index idx
44654 status collapsed
44655
44656 \begin_layout Plain Layout
44657 File formats
44658 \end_layout
44659
44660 \end_inset
44661
44662
44663 \begin_inset Index idx
44664 status collapsed
44665
44666 \begin_layout Plain Layout
44667 Copiers
44668 \end_layout
44669
44670 \end_inset
44671
44672
44673 \end_layout
44674
44675 \begin_layout Standard
44676 Here you find the list of defined file formats that LyX can handle.
44677  You can modify the 
44678 \family sans
44679 Editor
44680 \family default
44681  and 
44682 \family sans
44683 Viewer
44684 \family default
44685  programs that should be used for certain formats.
44686 \end_layout
44687
44688 \begin_layout Standard
44689 You can also define the 
44690 \family sans
44691 Default output format
44692 \family default
44693  that is used when you use 
44694 \family sans
44695 View, Update, View Master Document
44696 \family default
44697  or 
44698 \family sans
44699 Update Master Document
44700 \family default
44701  in the 
44702 \family sans
44703 Document
44704 \family default
44705  menu or the toolbar.
44706 \end_layout
44707
44708 \begin_layout Standard
44709 More about formats and their options is described in the section 
44710 \emph on
44711 Formats
44712 \emph default
44713  of the 
44714 \emph on
44715 Customization
44716 \emph default
44717  manual.
44718 \end_layout
44719
44720 \begin_layout Standard
44721 Since all conversions from one format to another take place in LyX's temporary
44722  directory, it is sometimes necessary to modify a file before copying it
44723  to the temporary directory so that the conversion may be performed.
44724  This is done by specifying a 
44725 \family sans
44726 Copier
44727 \family default
44728 .
44729  More about this is described in the section 
44730 \emph on
44731 Copiers
44732 \emph default
44733  of the 
44734 \emph on
44735 Customization
44736 \emph default
44737  manual.
44738 \end_layout
44739
44740 \begin_layout Chapter
44741 Units available in LyX
44742 \begin_inset Index idx
44743 status collapsed
44744
44745 \begin_layout Plain Layout
44746 Units
44747 \end_layout
44748
44749 \end_inset
44750
44751
44752 \begin_inset CommandInset label
44753 LatexCommand label
44754 name "chap:Units-available-in"
44755
44756 \end_inset
44757
44758
44759 \end_layout
44760
44761 \begin_layout Standard
44762 Table
44763 \begin_inset space ~
44764 \end_inset
44765
44766
44767 \begin_inset CommandInset ref
44768 LatexCommand ref
44769 reference "tab:Units"
44770
44771 \end_inset
44772
44773  explains all the units available in LyX and used in this documentation.
44774 \end_layout
44775
44776 \begin_layout Standard
44777 \begin_inset Float table
44778 placement h
44779 wide false
44780 sideways false
44781 status open
44782
44783 \begin_layout Plain Layout
44784 \begin_inset Caption Standard
44785
44786 \begin_layout Plain Layout
44787 \begin_inset CommandInset label
44788 LatexCommand label
44789 name "tab:Units"
44790
44791 \end_inset
44792
44793 Units
44794 \end_layout
44795
44796 \end_inset
44797
44798
44799 \end_layout
44800
44801 \begin_layout Plain Layout
44802 \begin_inset VSpace medskip
44803 \end_inset
44804
44805
44806 \end_layout
44807
44808 \begin_layout Plain Layout
44809 \align center
44810 \begin_inset Tabular
44811 <lyxtabular version="3" rows="20" columns="2">
44812 <features rotate="0" tabularvalignment="middle">
44813 <column alignment="center" valignment="top">
44814 <column alignment="center" valignment="top">
44815 <row>
44816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44817 \begin_inset Text
44818
44819 \begin_layout Plain Layout
44820 unit
44821 \end_layout
44822
44823 \end_inset
44824 </cell>
44825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
44826 \begin_inset Text
44827
44828 \begin_layout Plain Layout
44829 name/description
44830 \end_layout
44831
44832 \end_inset
44833 </cell>
44834 </row>
44835 <row>
44836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44837 \begin_inset Text
44838
44839 \begin_layout Plain Layout
44840 mm
44841 \end_layout
44842
44843 \end_inset
44844 </cell>
44845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44846 \begin_inset Text
44847
44848 \begin_layout Plain Layout
44849 millimeter
44850 \end_layout
44851
44852 \end_inset
44853 </cell>
44854 </row>
44855 <row>
44856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44857 \begin_inset Text
44858
44859 \begin_layout Plain Layout
44860 cm
44861 \end_layout
44862
44863 \end_inset
44864 </cell>
44865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44866 \begin_inset Text
44867
44868 \begin_layout Plain Layout
44869 centimeter
44870 \end_layout
44871
44872 \end_inset
44873 </cell>
44874 </row>
44875 <row>
44876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44877 \begin_inset Text
44878
44879 \begin_layout Plain Layout
44880 in
44881 \end_layout
44882
44883 \end_inset
44884 </cell>
44885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44886 \begin_inset Text
44887
44888 \begin_layout Plain Layout
44889 inch
44890 \end_layout
44891
44892 \end_inset
44893 </cell>
44894 </row>
44895 <row>
44896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44897 \begin_inset Text
44898
44899 \begin_layout Plain Layout
44900 pt
44901 \end_layout
44902
44903 \end_inset
44904 </cell>
44905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44906 \begin_inset Text
44907
44908 \begin_layout Plain Layout
44909 point (72.27
44910 \begin_inset space \thinspace{}
44911 \end_inset
44912
44913 pt = 1
44914 \begin_inset space \thinspace{}
44915 \end_inset
44916
44917 in)
44918 \end_layout
44919
44920 \end_inset
44921 </cell>
44922 </row>
44923 <row>
44924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44925 \begin_inset Text
44926
44927 \begin_layout Plain Layout
44928 pc
44929 \end_layout
44930
44931 \end_inset
44932 </cell>
44933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44934 \begin_inset Text
44935
44936 \begin_layout Plain Layout
44937 pica (1
44938 \begin_inset space \thinspace{}
44939 \end_inset
44940
44941 pc = 12
44942 \begin_inset space \thinspace{}
44943 \end_inset
44944
44945 pt)
44946 \end_layout
44947
44948 \end_inset
44949 </cell>
44950 </row>
44951 <row>
44952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44953 \begin_inset Text
44954
44955 \begin_layout Plain Layout
44956 sp
44957 \end_layout
44958
44959 \end_inset
44960 </cell>
44961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44962 \begin_inset Text
44963
44964 \begin_layout Plain Layout
44965 scaled point (65536
44966 \begin_inset space \thinspace{}
44967 \end_inset
44968
44969 sp = 1
44970 \begin_inset space \thinspace{}
44971 \end_inset
44972
44973 pt)
44974 \end_layout
44975
44976 \end_inset
44977 </cell>
44978 </row>
44979 <row>
44980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44981 \begin_inset Text
44982
44983 \begin_layout Plain Layout
44984 bp
44985 \end_layout
44986
44987 \end_inset
44988 </cell>
44989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44990 \begin_inset Text
44991
44992 \begin_layout Plain Layout
44993 big point (72
44994 \begin_inset space \thinspace{}
44995 \end_inset
44996
44997 bp = 1
44998 \begin_inset space \thinspace{}
44999 \end_inset
45000
45001 in)
45002 \end_layout
45003
45004 \end_inset
45005 </cell>
45006 </row>
45007 <row>
45008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45009 \begin_inset Text
45010
45011 \begin_layout Plain Layout
45012 dd
45013 \end_layout
45014
45015 \end_inset
45016 </cell>
45017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45018 \begin_inset Text
45019
45020 \begin_layout Plain Layout
45021 didot (72
45022 \begin_inset space \thinspace{}
45023 \end_inset
45024
45025 dd 
45026 \begin_inset Formula $\approx$
45027 \end_inset
45028
45029  37.6
45030 \begin_inset space \thinspace{}
45031 \end_inset
45032
45033 mm)
45034 \end_layout
45035
45036 \end_inset
45037 </cell>
45038 </row>
45039 <row>
45040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45041 \begin_inset Text
45042
45043 \begin_layout Plain Layout
45044 cc
45045 \end_layout
45046
45047 \end_inset
45048 </cell>
45049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45050 \begin_inset Text
45051
45052 \begin_layout Plain Layout
45053 cicero (1
45054 \begin_inset space \thinspace{}
45055 \end_inset
45056
45057 cc = 12
45058 \begin_inset space \thinspace{}
45059 \end_inset
45060
45061 dd)
45062 \end_layout
45063
45064 \end_inset
45065 </cell>
45066 </row>
45067 <row>
45068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45069 \begin_inset Text
45070
45071 \begin_layout Plain Layout
45072 Scale%
45073 \end_layout
45074
45075 \end_inset
45076 </cell>
45077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45078 \begin_inset Text
45079
45080 \begin_layout Plain Layout
45081 % of original image width
45082 \end_layout
45083
45084 \end_inset
45085 </cell>
45086 </row>
45087 <row>
45088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45089 \begin_inset Text
45090
45091 \begin_layout Plain Layout
45092 text%
45093 \end_layout
45094
45095 \end_inset
45096 </cell>
45097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45098 \begin_inset Text
45099
45100 \begin_layout Plain Layout
45101 % of text width
45102 \end_layout
45103
45104 \end_inset
45105 </cell>
45106 </row>
45107 <row>
45108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45109 \begin_inset Text
45110
45111 \begin_layout Plain Layout
45112 col%
45113 \end_layout
45114
45115 \end_inset
45116 </cell>
45117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45118 \begin_inset Text
45119
45120 \begin_layout Plain Layout
45121 % of column width
45122 \end_layout
45123
45124 \end_inset
45125 </cell>
45126 </row>
45127 <row>
45128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45129 \begin_inset Text
45130
45131 \begin_layout Plain Layout
45132 page%
45133 \end_layout
45134
45135 \end_inset
45136 </cell>
45137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45138 \begin_inset Text
45139
45140 \begin_layout Plain Layout
45141 % of paper width
45142 \end_layout
45143
45144 \end_inset
45145 </cell>
45146 </row>
45147 <row>
45148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45149 \begin_inset Text
45150
45151 \begin_layout Plain Layout
45152 line%
45153 \end_layout
45154
45155 \end_inset
45156 </cell>
45157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45158 \begin_inset Text
45159
45160 \begin_layout Plain Layout
45161 % of line width
45162 \end_layout
45163
45164 \end_inset
45165 </cell>
45166 </row>
45167 <row>
45168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45169 \begin_inset Text
45170
45171 \begin_layout Plain Layout
45172 theight%
45173 \end_layout
45174
45175 \end_inset
45176 </cell>
45177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45178 \begin_inset Text
45179
45180 \begin_layout Plain Layout
45181 % of text height
45182 \end_layout
45183
45184 \end_inset
45185 </cell>
45186 </row>
45187 <row>
45188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45189 \begin_inset Text
45190
45191 \begin_layout Plain Layout
45192 pheight%
45193 \end_layout
45194
45195 \end_inset
45196 </cell>
45197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45198 \begin_inset Text
45199
45200 \begin_layout Plain Layout
45201 % of paper height
45202 \end_layout
45203
45204 \end_inset
45205 </cell>
45206 </row>
45207 <row>
45208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45209 \begin_inset Text
45210
45211 \begin_layout Plain Layout
45212 ex
45213 \end_layout
45214
45215 \end_inset
45216 </cell>
45217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45218 \begin_inset Text
45219
45220 \begin_layout Plain Layout
45221 height of letter 
45222 \emph on
45223 x
45224 \emph default
45225  in current font
45226 \end_layout
45227
45228 \end_inset
45229 </cell>
45230 </row>
45231 <row>
45232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45233 \begin_inset Text
45234
45235 \begin_layout Plain Layout
45236 em
45237 \end_layout
45238
45239 \end_inset
45240 </cell>
45241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45242 \begin_inset Text
45243
45244 \begin_layout Plain Layout
45245 width of letter 
45246 \emph on
45247 M
45248 \emph default
45249  in current font
45250 \end_layout
45251
45252 \end_inset
45253 </cell>
45254 </row>
45255 <row>
45256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45257 \begin_inset Text
45258
45259 \begin_layout Plain Layout
45260 mu
45261 \end_layout
45262
45263 \end_inset
45264 </cell>
45265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
45266 \begin_inset Text
45267
45268 \begin_layout Plain Layout
45269 math unit (1
45270 \begin_inset space \thinspace{}
45271 \end_inset
45272
45273 mu = 1/18
45274 \begin_inset space \thinspace{}
45275 \end_inset
45276
45277 em)
45278 \end_layout
45279
45280 \end_inset
45281 </cell>
45282 </row>
45283 </lyxtabular>
45284
45285 \end_inset
45286
45287
45288 \end_layout
45289
45290 \end_inset
45291
45292
45293 \end_layout
45294
45295 \begin_layout Chapter
45296 Credits
45297 \begin_inset CommandInset label
45298 LatexCommand label
45299 name "chap:Credits"
45300
45301 \end_inset
45302
45303
45304 \end_layout
45305
45306 \begin_layout Standard
45307 The documentation is a collaborative effort between many different people
45308  (and we would encourage people to contribute!).
45309 \end_layout
45310
45311 \begin_layout Itemize
45312
45313 \noun on
45314 Alejandro Aguilar Sierra
45315 \end_layout
45316
45317 \begin_layout Itemize
45318
45319 \noun on
45320 Amir Karger
45321 \end_layout
45322
45323 \begin_layout Itemize
45324
45325 \noun on
45326 David Johnson
45327 \end_layout
45328
45329 \begin_layout Itemize
45330
45331 \noun on
45332 Hartmut Haase
45333 \end_layout
45334
45335 \begin_layout Itemize
45336
45337 \noun on
45338 Ignacio García
45339 \end_layout
45340
45341 \begin_layout Itemize
45342
45343 \noun on
45344 Ivan Schreter
45345 \end_layout
45346
45347 \begin_layout Itemize
45348
45349 \noun on
45350 John Raithel
45351 \end_layout
45352
45353 \begin_layout Itemize
45354
45355 \noun on
45356 John Weiss
45357 \end_layout
45358
45359 \begin_layout Itemize
45360
45361 \noun on
45362 Lars Gullik Bjønnes
45363 \end_layout
45364
45365 \begin_layout Itemize
45366
45367 \noun on
45368 Matthias Ettrich
45369 \end_layout
45370
45371 \begin_layout Itemize
45372
45373 \noun on
45374 Matthias Zenker
45375 \end_layout
45376
45377 \begin_layout Itemize
45378
45379 \noun on
45380 Rich Fields
45381 \end_layout
45382
45383 \begin_layout Itemize
45384
45385 \noun on
45386 Pascal André
45387 \end_layout
45388
45389 \begin_layout Itemize
45390
45391 \noun on
45392 Paul Evans
45393 \end_layout
45394
45395 \begin_layout Itemize
45396
45397 \noun on
45398 Paul Russel
45399 \end_layout
45400
45401 \begin_layout Itemize
45402
45403 \noun on
45404 Robin Socha
45405 \end_layout
45406
45407 \begin_layout Itemize
45408
45409 \noun on
45410 Uwe Stöhr
45411 \end_layout
45412
45413 \begin_layout Itemize
45414 The LyX Team: 
45415 \begin_inset CommandInset citation
45416 LatexCommand cite
45417 key "lyxcredit"
45418
45419 \end_inset
45420
45421
45422 \end_layout
45423
45424 \begin_layout Standard
45425 \begin_inset Newpage newpage
45426 \end_inset
45427
45428 The bibliography on the following page was created with the 
45429 \family sans
45430 Bibliography
45431 \family default
45432  environment.
45433 \end_layout
45434
45435 \begin_layout Bibliography
45436 \begin_inset CommandInset bibitem
45437 LatexCommand bibitem
45438 label "Credits"
45439 key "lyxcredit"
45440
45441 \end_inset
45442
45443 The LyX Team: 
45444 \begin_inset CommandInset href
45445 LatexCommand href
45446 name "Credits"
45447 target "http://www.lyx.org/Credits"
45448
45449 \end_inset
45450
45451 :
45452 \begin_inset Newline newline
45453 \end_inset
45454
45455
45456 \begin_inset Flex URL
45457 status collapsed
45458
45459 \begin_layout Plain Layout
45460
45461 http://www.lyx.org/Credits
45462 \end_layout
45463
45464 \end_inset
45465
45466
45467 \end_layout
45468
45469 \begin_layout Bibliography
45470 \begin_inset CommandInset bibitem
45471 LatexCommand bibitem
45472 key "latexcompanion"
45473
45474 \end_inset
45475
45476 Frank Mittelbach and Michel Goossens: 
45477 \emph on
45478 The LaTeX Companion Second Edition.
45479
45480 \emph default
45481  Addison-Wesley, 2004
45482 \end_layout
45483
45484 \begin_layout Bibliography
45485 \begin_inset CommandInset bibitem
45486 LatexCommand bibitem
45487 key "latexguide"
45488
45489 \end_inset
45490
45491 Helmut Kopka and Patrick W.
45492  Daly: 
45493 \emph on
45494 A Guide to LaTeX Fourth Edition.
45495
45496 \emph default
45497  Addison-Wesley, 2003
45498 \end_layout
45499
45500 \begin_layout Bibliography
45501 \begin_inset CommandInset bibitem
45502 LatexCommand bibitem
45503 key "latexbook"
45504
45505 \end_inset
45506
45507 Leslie Lamport: 
45508 \emph on
45509 LaTeX: A Document Preparation System.
45510
45511 \emph default
45512  Addison-Wesley, second edition, 1994
45513 \end_layout
45514
45515 \begin_layout Bibliography
45516 \begin_inset CommandInset bibitem
45517 LatexCommand bibitem
45518 key "texbook"
45519
45520 \end_inset
45521
45522 Donald E.
45523  Knuth.
45524  
45525 \emph on
45526 The TeXbook.
45527
45528 \emph default
45529  Addison-Wesley, 1984
45530 \end_layout
45531
45532 \begin_layout Bibliography
45533 \begin_inset CommandInset bibitem
45534 LatexCommand bibitem
45535 key "TeXCatalogue"
45536
45537 \end_inset
45538
45539 The TeX Catalogue:
45540 \begin_inset Newline newline
45541 \end_inset
45542
45543
45544 \begin_inset Flex URL
45545 status collapsed
45546
45547 \begin_layout Plain Layout
45548
45549 http://mirrors.ctan.org/help/Catalogue/bytopic.html
45550 \end_layout
45551
45552 \end_inset
45553
45554
45555 \end_layout
45556
45557 \begin_layout Bibliography
45558 \begin_inset CommandInset bibitem
45559 LatexCommand bibitem
45560 key "LaTeXFAQ"
45561
45562 \end_inset
45563
45564 The LaTeX FAQ:
45565 \begin_inset Newline newline
45566 \end_inset
45567
45568
45569 \begin_inset Flex URL
45570 status collapsed
45571
45572 \begin_layout Plain Layout
45573
45574 http://www.tex.ac.uk/cgi-bin/texfaq2html
45575 \end_layout
45576
45577 \end_inset
45578
45579
45580 \end_layout
45581
45582 \begin_layout Bibliography
45583 \begin_inset CommandInset bibitem
45584 LatexCommand bibitem
45585 key "BibTeX"
45586
45587 \end_inset
45588
45589
45590 \begin_inset CommandInset href
45591 LatexCommand href
45592 name "Documentation"
45593 target "http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf"
45594
45595 \end_inset
45596
45597  of the program 
45598 \family sans
45599 BibTeX
45600 \family default
45601 :
45602 \begin_inset Newline newline
45603 \end_inset
45604
45605
45606 \begin_inset Flex URL
45607 status collapsed
45608
45609 \begin_layout Plain Layout
45610
45611 http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxdoc.pdf
45612 \end_layout
45613
45614 \end_inset
45615
45616
45617 \end_layout
45618
45619 \begin_layout Bibliography
45620 \begin_inset CommandInset bibitem
45621 LatexCommand bibitem
45622 key "BibTeX-2"
45623
45624 \end_inset
45625
45626
45627 \begin_inset CommandInset href
45628 LatexCommand href
45629 name "Documentation"
45630 target "http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf"
45631
45632 \end_inset
45633
45634  how to use the program 
45635 \family sans
45636 BibTeX
45637 \family default
45638 :
45639 \begin_inset Newline newline
45640 \end_inset
45641
45642
45643 \begin_inset Flex URL
45644 status collapsed
45645
45646 \begin_layout Plain Layout
45647
45648 http://www.ctan.org/tex-archive/info/bibtex/tamethebeast/ttb_en.pdf
45649 \end_layout
45650
45651 \end_inset
45652
45653
45654 \end_layout
45655
45656 \begin_layout Bibliography
45657 \begin_inset CommandInset bibitem
45658 LatexCommand bibitem
45659 key "makeindex"
45660
45661 \end_inset
45662
45663
45664 \begin_inset CommandInset href
45665 LatexCommand href
45666 name "Documentation"
45667 target "http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf"
45668
45669 \end_inset
45670
45671  of the program 
45672 \family sans
45673 makeindex
45674 \family default
45675 :
45676 \begin_inset Newline newline
45677 \end_inset
45678
45679
45680 \begin_inset Flex URL
45681 status collapsed
45682
45683 \begin_layout Plain Layout
45684
45685 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
45686 \end_layout
45687
45688 \end_inset
45689
45690
45691 \end_layout
45692
45693 \begin_layout Bibliography
45694 \begin_inset CommandInset bibitem
45695 LatexCommand bibitem
45696 key "xindy"
45697
45698 \end_inset
45699
45700
45701 \begin_inset CommandInset href
45702 LatexCommand href
45703 name "Documentation"
45704 target "http://www.xindy.org/documentation.html"
45705
45706 \end_inset
45707
45708  of the program 
45709 \family sans
45710 xindy
45711 \family default
45712 :
45713 \begin_inset Newline newline
45714 \end_inset
45715
45716
45717 \begin_inset Flex URL
45718 status collapsed
45719
45720 \begin_layout Plain Layout
45721
45722 http://www.xindy.org/documentation.html
45723 \end_layout
45724
45725 \end_inset
45726
45727
45728 \end_layout
45729
45730 \begin_layout Bibliography
45731 \begin_inset CommandInset bibitem
45732 LatexCommand bibitem
45733 key "AMS"
45734
45735 \end_inset
45736
45737
45738 \begin_inset CommandInset href
45739 LatexCommand href
45740 name "Documentation"
45741 target "http://www.ams.org/publications/authors/tex/amslatex"
45742
45743 \end_inset
45744
45745  of the AMS LaTeX-packages:
45746 \begin_inset Newline newline
45747 \end_inset
45748
45749
45750 \begin_inset Flex URL
45751 status collapsed
45752
45753 \begin_layout Plain Layout
45754
45755 http://www.ams.org/publications/authors/tex/amslatex
45756 \end_layout
45757
45758 \end_inset
45759
45760
45761 \end_layout
45762
45763 \begin_layout Bibliography
45764 \begin_inset CommandInset bibitem
45765 LatexCommand bibitem
45766 key "caption"
45767
45768 \end_inset
45769
45770
45771 \begin_inset CommandInset href
45772 LatexCommand href
45773 name "Documentation"
45774 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
45775
45776 \end_inset
45777
45778  of the LaTeX-package 
45779 \series bold
45780 caption
45781 \series default
45782
45783 \begin_inset Index idx
45784 status collapsed
45785
45786 \begin_layout Plain Layout
45787 LaTeX-packages ! caption
45788 \end_layout
45789
45790 \end_inset
45791
45792 :
45793 \begin_inset Newline newline
45794 \end_inset
45795
45796
45797 \begin_inset Flex URL
45798 status collapsed
45799
45800 \begin_layout Plain Layout
45801
45802 http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf
45803 \end_layout
45804
45805 \end_inset
45806
45807
45808 \end_layout
45809
45810 \begin_layout Bibliography
45811 \begin_inset CommandInset bibitem
45812 LatexCommand bibitem
45813 key "enumitem"
45814
45815 \end_inset
45816
45817
45818 \begin_inset CommandInset href
45819 LatexCommand href
45820 name "Documentation"
45821 target "http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf"
45822
45823 \end_inset
45824
45825  of the LaTeX-package 
45826 \series bold
45827 enumitem
45828 \series default
45829
45830 \begin_inset Index idx
45831 status collapsed
45832
45833 \begin_layout Plain Layout
45834 LaTeX-packages ! enumitem
45835 \end_layout
45836
45837 \end_inset
45838
45839 :
45840 \begin_inset Newline newline
45841 \end_inset
45842
45843
45844 \begin_inset Flex URL
45845 status collapsed
45846
45847 \begin_layout Plain Layout
45848
45849 http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.pdf
45850 \end_layout
45851
45852 \end_inset
45853
45854
45855 \end_layout
45856
45857 \begin_layout Bibliography
45858 \begin_inset CommandInset bibitem
45859 LatexCommand bibitem
45860 key "fancyhdr"
45861
45862 \end_inset
45863
45864
45865 \begin_inset CommandInset href
45866 LatexCommand href
45867 name "Documentation"
45868 target "http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf"
45869
45870 \end_inset
45871
45872  of the LaTeX-package 
45873 \series bold
45874 fancyhdr
45875 \series default
45876
45877 \begin_inset Index idx
45878 status collapsed
45879
45880 \begin_layout Plain Layout
45881 LaTeX-packages ! fancyhdr
45882 \end_layout
45883
45884 \end_inset
45885
45886 :
45887 \begin_inset Newline newline
45888 \end_inset
45889
45890
45891 \begin_inset Flex URL
45892 status collapsed
45893
45894 \begin_layout Plain Layout
45895
45896 http://mirrors.ctan.org/macros/latex/contrib/fancyhdr/fancyhdr.pdf
45897 \end_layout
45898
45899 \end_inset
45900
45901
45902 \end_layout
45903
45904 \begin_layout Bibliography
45905 \begin_inset CommandInset bibitem
45906 LatexCommand bibitem
45907 key "hyperref"
45908
45909 \end_inset
45910
45911
45912 \begin_inset CommandInset href
45913 LatexCommand href
45914 name "Documentation"
45915 target "http://www.ctan.org/pkg/hyperref"
45916
45917 \end_inset
45918
45919  of the LaTeX-package 
45920 \series bold
45921 hyperref
45922 \series default
45923
45924 \begin_inset Index idx
45925 status collapsed
45926
45927 \begin_layout Plain Layout
45928 LaTeX-packages ! hyperref
45929 \end_layout
45930
45931 \end_inset
45932
45933 :
45934 \begin_inset Newline newline
45935 \end_inset
45936
45937
45938 \begin_inset Flex URL
45939 status collapsed
45940
45941 \begin_layout Plain Layout
45942
45943 http://www.ctan.org/pkg/hyperref
45944 \end_layout
45945
45946 \end_inset
45947
45948
45949 \end_layout
45950
45951 \begin_layout Bibliography
45952 \begin_inset CommandInset bibitem
45953 LatexCommand bibitem
45954 key "nomencl"
45955
45956 \end_inset
45957
45958
45959 \begin_inset CommandInset href
45960 LatexCommand href
45961 name "Documentation"
45962 target "http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf"
45963
45964 \end_inset
45965
45966  of the LaTeX-package 
45967 \series bold
45968 nomencl
45969 \series default
45970
45971 \begin_inset Index idx
45972 status collapsed
45973
45974 \begin_layout Plain Layout
45975 LaTeX-packages ! nomencl
45976 \end_layout
45977
45978 \end_inset
45979
45980 :
45981 \begin_inset Newline newline
45982 \end_inset
45983
45984
45985 \begin_inset Flex URL
45986 status collapsed
45987
45988 \begin_layout Plain Layout
45989
45990 http://mirrors.ctan.org/macros/latex/contrib/nomencl/nomencl.pdf
45991 \end_layout
45992
45993 \end_inset
45994
45995
45996 \end_layout
45997
45998 \begin_layout Bibliography
45999 \begin_inset CommandInset bibitem
46000 LatexCommand bibitem
46001 key "prettyref"
46002
46003 \end_inset
46004
46005
46006 \begin_inset CommandInset href
46007 LatexCommand href
46008 name "Documentation"
46009 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
46010
46011 \end_inset
46012
46013  of the LaTeX-package 
46014 \series bold
46015 prettyref
46016 \series default
46017
46018 \begin_inset Index idx
46019 status collapsed
46020
46021 \begin_layout Plain Layout
46022 LaTeX-packages ! prettyref
46023 \end_layout
46024
46025 \end_inset
46026
46027 :
46028 \begin_inset Newline newline
46029 \end_inset
46030
46031
46032 \begin_inset Flex URL
46033 status collapsed
46034
46035 \begin_layout Plain Layout
46036
46037 http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf
46038 \end_layout
46039
46040 \end_inset
46041
46042
46043 \end_layout
46044
46045 \begin_layout Bibliography
46046 \begin_inset CommandInset bibitem
46047 LatexCommand bibitem
46048 key "refstyle"
46049
46050 \end_inset
46051
46052
46053 \begin_inset CommandInset href
46054 LatexCommand href
46055 name "Documentation"
46056 target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
46057
46058 \end_inset
46059
46060  of the LaTeX-package 
46061 \series bold
46062 refstyle
46063 \series default
46064
46065 \begin_inset Index idx
46066 status collapsed
46067
46068 \begin_layout Plain Layout
46069 LaTeX-packages ! refstyle
46070 \end_layout
46071
46072 \end_inset
46073
46074 :
46075 \begin_inset Newline newline
46076 \end_inset
46077
46078
46079 \begin_inset Flex URL
46080 status collapsed
46081
46082 \begin_layout Plain Layout
46083
46084 http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf
46085 \end_layout
46086
46087 \end_inset
46088
46089
46090 \end_layout
46091
46092 \begin_layout Bibliography
46093 \begin_inset CommandInset bibitem
46094 LatexCommand bibitem
46095 key "Arabic"
46096
46097 \end_inset
46098
46099
46100 \begin_inset CommandInset href
46101 LatexCommand href
46102 name "Wiki-page"
46103 target "http://wiki.lyx.org/Windows/Arabic"
46104
46105 \end_inset
46106
46107  how to set up LyX for Arabic:
46108 \begin_inset Newline newline
46109 \end_inset
46110
46111
46112 \begin_inset Flex URL
46113 status collapsed
46114
46115 \begin_layout Plain Layout
46116
46117 http://wiki.lyx.org/Windows/Arabic
46118 \end_layout
46119
46120 \end_inset
46121
46122
46123 \end_layout
46124
46125 \begin_layout Bibliography
46126 \begin_inset CommandInset bibitem
46127 LatexCommand bibitem
46128 key "Armenian"
46129
46130 \end_inset
46131
46132
46133 \begin_inset CommandInset href
46134 LatexCommand href
46135 name "Wiki-page"
46136 target "http://wiki.lyx.org/Windows/Armenian"
46137
46138 \end_inset
46139
46140  how to set up LyX for Armenian:
46141 \begin_inset Newline newline
46142 \end_inset
46143
46144
46145 \begin_inset Flex URL
46146 status collapsed
46147
46148 \begin_layout Plain Layout
46149
46150 http://wiki.lyx.org/Windows/Armenian
46151 \end_layout
46152
46153 \end_inset
46154
46155
46156 \end_layout
46157
46158 \begin_layout Bibliography
46159 \begin_inset CommandInset bibitem
46160 LatexCommand bibitem
46161 key "Cyrillic"
46162
46163 \end_inset
46164
46165
46166 \begin_inset CommandInset href
46167 LatexCommand href
46168 name "Wiki-page"
46169 target "http://wiki.lyx.org/Windows/Cyrillic"
46170
46171 \end_inset
46172
46173  how to set up LyX for Cyrillic languages:
46174 \begin_inset Newline newline
46175 \end_inset
46176
46177
46178 \begin_inset Flex URL
46179 status collapsed
46180
46181 \begin_layout Plain Layout
46182
46183 http://wiki.lyx.org/Windows/Cyrillic
46184 \end_layout
46185
46186 \end_inset
46187
46188
46189 \end_layout
46190
46191 \begin_layout Bibliography
46192 \begin_inset CommandInset bibitem
46193 LatexCommand bibitem
46194 key "Farsi"
46195
46196 \end_inset
46197
46198
46199 \begin_inset CommandInset href
46200 LatexCommand href
46201 name "Wiki-page"
46202 target "http://wiki.lyx.org/Windows/Farsi"
46203
46204 \end_inset
46205
46206  how to set up LyX for Farsi:
46207 \begin_inset Newline newline
46208 \end_inset
46209
46210
46211 \begin_inset Flex URL
46212 status collapsed
46213
46214 \begin_layout Plain Layout
46215
46216 http://wiki.lyx.org/Windows/Farsi
46217 \end_layout
46218
46219 \end_inset
46220
46221
46222 \end_layout
46223
46224 \begin_layout Bibliography
46225 \begin_inset CommandInset bibitem
46226 LatexCommand bibitem
46227 key "Hebrew"
46228
46229 \end_inset
46230
46231
46232 \begin_inset CommandInset href
46233 LatexCommand href
46234 name "Wiki-page"
46235 target "http://wiki.lyx.org/Windows/Hebrew"
46236
46237 \end_inset
46238
46239  how to set up LyX for Hebrew:
46240 \begin_inset Newline newline
46241 \end_inset
46242
46243
46244 \begin_inset Flex URL
46245 status collapsed
46246
46247 \begin_layout Plain Layout
46248
46249 http://wiki.lyx.org/Windows/Hebrew
46250 \end_layout
46251
46252 \end_inset
46253
46254
46255 \end_layout
46256
46257 \begin_layout Bibliography
46258 \begin_inset CommandInset bibitem
46259 LatexCommand bibitem
46260 key "Japanese"
46261
46262 \end_inset
46263
46264
46265 \begin_inset CommandInset href
46266 LatexCommand href
46267 name "Wiki-page"
46268 target "http://wiki.lyx.org/Windows/Japanese"
46269
46270 \end_inset
46271
46272  how to set up LyX for Japanese:
46273 \begin_inset Newline newline
46274 \end_inset
46275
46276
46277 \begin_inset Flex URL
46278 status collapsed
46279
46280 \begin_layout Plain Layout
46281
46282 http://wiki.lyx.org/Windows/Japanese
46283 \end_layout
46284
46285 \end_inset
46286
46287
46288 \end_layout
46289
46290 \begin_layout Bibliography
46291 \begin_inset CommandInset bibitem
46292 LatexCommand bibitem
46293 key "Latvian"
46294
46295 \end_inset
46296
46297
46298 \begin_inset CommandInset href
46299 LatexCommand href
46300 name "Wiki-page"
46301 target "http://wiki.lyx.org/Windows/Latvian"
46302
46303 \end_inset
46304
46305  how to set up LyX for Latvian:
46306 \begin_inset Newline newline
46307 \end_inset
46308
46309
46310 \begin_inset Flex URL
46311 status collapsed
46312
46313 \begin_layout Plain Layout
46314
46315 http://wiki.lyx.org/Windows/Latvian
46316 \end_layout
46317
46318 \end_inset
46319
46320
46321 \end_layout
46322
46323 \begin_layout Bibliography
46324 \begin_inset CommandInset bibitem
46325 LatexCommand bibitem
46326 key "Lithuanian"
46327
46328 \end_inset
46329
46330
46331 \begin_inset CommandInset href
46332 LatexCommand href
46333 name "Wiki-page"
46334 target "http://wiki.lyx.org/Windows/Lithuanian"
46335
46336 \end_inset
46337
46338  how to set up LyX for Lithuanian:
46339 \begin_inset Newline newline
46340 \end_inset
46341
46342
46343 \begin_inset Flex URL
46344 status collapsed
46345
46346 \begin_layout Plain Layout
46347
46348 http://wiki.lyx.org/Windows/Lithuanian
46349 \end_layout
46350
46351 \end_inset
46352
46353
46354 \end_layout
46355
46356 \begin_layout Bibliography
46357 \begin_inset CommandInset bibitem
46358 LatexCommand bibitem
46359 key "Mongolian"
46360
46361 \end_inset
46362
46363
46364 \begin_inset CommandInset href
46365 LatexCommand href
46366 name "Wiki-page"
46367 target "http://wiki.lyx.org/Windows/Mongolian"
46368
46369 \end_inset
46370
46371  how to set up LyX for Mongolian:
46372 \begin_inset Newline newline
46373 \end_inset
46374
46375
46376 \begin_inset Flex URL
46377 status collapsed
46378
46379 \begin_layout Plain Layout
46380
46381 http://wiki.lyx.org/Windows/Mongolian
46382 \end_layout
46383
46384 \end_inset
46385
46386
46387 \end_layout
46388
46389 \begin_layout Bibliography
46390 \begin_inset CommandInset bibitem
46391 LatexCommand bibitem
46392 key "Vietnamese"
46393
46394 \end_inset
46395
46396
46397 \begin_inset CommandInset href
46398 LatexCommand href
46399 name "Wiki-page"
46400 target "http://wiki.lyx.org/Windows/Vietnamese"
46401
46402 \end_inset
46403
46404  how to set up LyX for Vietnamese:
46405 \begin_inset Newline newline
46406 \end_inset
46407
46408
46409 \begin_inset Flex URL
46410 status collapsed
46411
46412 \begin_layout Plain Layout
46413
46414 http://wiki.lyx.org/Windows/Vietnamese
46415 \end_layout
46416
46417 \end_inset
46418
46419
46420 \end_layout
46421
46422 \begin_layout Bibliography
46423 \begin_inset CommandInset bibitem
46424 LatexCommand bibitem
46425 key "NewInLyX20"
46426
46427 \end_inset
46428
46429
46430 \begin_inset CommandInset href
46431 LatexCommand href
46432 name "Wiki-page"
46433 target "http://wiki.lyx.org/LyX/NewInLyX20"
46434
46435 \end_inset
46436
46437  about new features in 
46438 \family sans
46439 LyX 2.0
46440 \family default
46441 :
46442 \begin_inset Newline newline
46443 \end_inset
46444
46445
46446 \begin_inset Flex URL
46447 status collapsed
46448
46449 \begin_layout Plain Layout
46450
46451 http://wiki.lyx.org/LyX/NewInLyX20
46452 \end_layout
46453
46454 \end_inset
46455
46456
46457 \end_layout
46458
46459 \begin_layout Standard
46460 \begin_inset Newpage newpage
46461 \end_inset
46462
46463
46464 \begin_inset ERT
46465 status collapsed
46466
46467 \begin_layout Plain Layout
46468
46469
46470 \backslash
46471 let
46472 \backslash
46473 mybibname
46474 \backslash
46475 bibname
46476 \end_layout
46477
46478 \begin_layout Plain Layout
46479
46480
46481 \backslash
46482 renewcommand{
46483 \backslash
46484 bibname}{
46485 \backslash
46486 mybibname
46487 \backslash
46488 ; 2}
46489 \end_layout
46490
46491 \end_inset
46492
46493
46494 \begin_inset Note Note
46495 status collapsed
46496
46497 \begin_layout Plain Layout
46498 The command 
46499 \series bold
46500
46501 \backslash
46502 bibname
46503 \series default
46504  is the name of the bibliography in the current document language.
46505  It is redefined here with the number 2 at the end to state that the following
46506  bibliography is the second one:
46507 \end_layout
46508
46509 \end_inset
46510
46511
46512 \end_layout
46513
46514 \begin_layout Standard
46515 \begin_inset CommandInset bibtex
46516 LatexCommand bibtex
46517 bibfiles "biblio/LyXDocs"
46518 options "biblio/alphadin"
46519
46520 \end_inset
46521
46522
46523 \end_layout
46524
46525 \begin_layout Standard
46526 The above bibliography is created from a BibTeX-database.
46527 \end_layout
46528
46529 \begin_layout Standard
46530 \begin_inset CommandInset nomencl_print
46531 LatexCommand printnomenclature
46532 set_width "auto"
46533
46534 \end_inset
46535
46536
46537 \begin_inset CommandInset index_print
46538 LatexCommand printindex
46539 type "idx"
46540
46541 \end_inset
46542
46543
46544 \end_layout
46545
46546 \end_body
46547 \end_document